* src/lread.c: Remove `read_pure' which makes no difference.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e7e85dc0
SM
12012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/gdb-mi.el: Minor style changes.
4 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5 Turn into minor modes.
6 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8 (gdb-shell): Remove unneeded let-binding.
9 (gdb-get-many-fields): Eliminate O(n²) behavior.
10
f31237a4
EZ
112012-05-25 Eli Zaretskii <eliz@gnu.org>
12
13 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14 platforms that don't link in fontset.c.
15
bc1b21bb
JL
162012-05-25 Juri Linkov <juri@jurta.org>
17
18 Use the same diff color scheme as in modern VCSes (bug#10181).
19
20 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
21 to avoid confusion with `diff-added' that now uses green colors.
22 (diff-removed): Use shades of red.
23 (diff-added): Use shades of green.
24 (diff-changed): Leave just the yellow color.
25 (diff-use-changed-face): New variable.
26 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
27 how to highlight context diff changes.
28 (diff-refine-change): Use shades of yellow.
29 (diff-refine-removed): New face that uses shades of red.
30 (diff-refine-added): New face that uses shades of green.
31 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
32 `diff-refine-removed' in the call to `smerge-refine-subst'
33 depending on the value of `diff-use-changed-face'.
34
35 * vc/smerge-mode.el (smerge-mine): Use shades of red.
36 (smerge-other): Use shades of green.
37 (smerge-base): Use shades of yellow.
38 (smerge-refined-change): Empty face.
39 (smerge-refined-removed): New face that uses shades of red.
40 (smerge-refined-added): New face that uses shades of green.
41 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
42 args `props-r' and `props-a', and use them. Doc fix.
43 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
44 on its value use different faces `smerge-refined-change',
45 `smerge-refined-removed', `smerge-refined-added' in the call to
46 `smerge-refine-subst'.
47
48 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
49 Add face condition `min-colors 88' with shades of red.
50 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
51 `min-colors 88' with shades of green.
52 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
53 `min-colors 88' with shades of yellow.
54
6df9112c
GM
552012-05-24 Glenn Morris <rgm@gnu.org>
56
ead5edc0
GM
57 * paths.el (prune-directory-list, remote-shell-program): Move to...
58 * files.el (prune-directory-list, remote-shell-program): ...here.
59 For the latter, delay initialization, prefer ssh, just search PATH.
60
f18b81e6
GM
61 * paths.el (term-file-prefix): Move to faces.el (the only user).
62 * faces.el (term-file-prefix): Move here, make it a defcustom.
63
ee2f89a6
GM
64 * paths.el (news-directory, news-path, news-inews-program):
65 Move to gnus/nnspool.el.
61a583ca 66
f8815e4c
GM
67 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
68
c8f3b42c
GM
69 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
70 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
71 Make the latter a defcustom, with a delayed initialization.
72
6df9112c
GM
73 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
74 These were deleted from Gnus itself late 2010.
75
5dadff36
JB
762012-05-22 Juanma Barranquero <lekktu@gmail.com>
77
9e1701c6
JB
78 * progmodes/which-func.el (which-func-ff-hook):
79 Check against user-error, not error.
80
bd7239f5 81 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
82 cl-specs.el, which no longer exists.
83
3290526d
GM
842012-05-22 Glenn Morris <rgm@gnu.org>
85
86 * info.el (info-emacs-bug): New command.
87 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
88 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
89
ff0c3cfb
GM
902012-05-21 Glenn Morris <rgm@gnu.org>
91
92 * makefile.w32-in (update-subdirs-SH):
93 * Makefile.in (update-subdirs): Update for moved update-subdirs.
94
5814f126
SM
952012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
96
a52c0aa0
SM
97 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
98
5814f126
SM
99 * progmodes/compile.el (compilation-error-regexp-alist-alist):
100 Simplify Maven regexp, and make sure the file can't start with a space
101 (bug#11517).
102
b847032c
GM
1032012-05-21 Glenn Morris <rgm@gnu.org>
104
105 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
106 Scrap superfluous subshells.
107
3858bfe7
SM
1082012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
111 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
112
d14b0029
JB
1132012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
114
115 * calc/calc.el (calc-ensure-consistent-units): New variable.
116
a52c0aa0
SM
117 * calc/calc-units.el (math-consistent-units-p)
118 (math-check-unit-consistency): New functions.
119 (calc-quick-units, calc-convert-units):
120 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
121 is non-nil.
d14b0029
JB
122 (calc-extract-units): Fix typo.
123
60c4db3a
SM
1242012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
125
77f3b62e
SM
126 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
127
60c4db3a
SM
128 * textmodes/flyspell.el: Commenting style, plus code simplifications.
129 (flyspell-default-deplacement-commands): Don't spell check after
130 repeated window/frame switches (e.g. triggered by mouse-movement).
131 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
132 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
133 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
134 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
135 Remove unused vars.
136 (flyspell-get-casechars, flyspell-get-not-casechars):
137 Simplify; Don't bother removing a ] just to add it back.
138 * textmodes/ispell.el (ispell-program-name): Use executable-find.
139
b1a10716
RS
1402012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
141
142 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
143 New functions.
bd7239f5 144 (math-function-table): Add support for more C functions.
b1a10716 145
3f1b25b5
AM
1462012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
147
148 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
149 (flyspell-debug-signal-word-checked): Protect delay handling for
150 otherchars against empty otherchars.
151
b581bb5c
SM
1522012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
155 their respective macro declarations.
156 * skeleton.el (define-skeleton):
157 * progmodes/compile.el (define-compilation-mode):
158 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
159 (define-ibuffer-filter):
160 * emacs-lisp/generic.el (define-generic-mode):
161 * emacs-lisp/easy-mmode.el (define-minor-mode)
162 (define-globalized-minor-mode):
163 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
164 * emacs-lisp/byte-run.el (defsubst):
165 * custom.el (deftheme): Add doc-string metadata.
166
70b8ef8f
SM
1672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
170
b1198e17
SM
1712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
172
9abdc45d
SM
173 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
174
b1198e17
SM
175 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
176 * emacs-lisp/cl-macs.el: Idem.
177 * emacs-lisp/cl-specs.el: Remove.
178
4735906a
SM
1792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 Minor renaming of internal CL functions and variables.
182 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
183 (cl--position): Rename from cl-position.
184 (cl--delete-duplicates): Rename from cl-delete-duplicates.
185 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
186 (cl--random-state): Rename from *random-state*.
187
ac348012
SM
1882012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
191 parens around the arg list (bug#11499).
192
a0a79cde
JL
1932012-05-17 Juri Linkov <juri@jurta.org>
194
195 * isearch.el (word-search-regexp, word-search-backward)
196 (word-search-forward, word-search-backward-lax)
197 (word-search-forward-lax): Move functions from search.c
198 (bug#10145, bug#11381).
199
65034a51
AM
2002012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
201
202 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
203 (flyspell-debug-signal-word-checked): Delay for otherchars as for
204 normal word components.
205
1a72a195
SM
2062012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * minibuffer.el (completion--sifn-requote): Fix last change.
209 (minibuffer-local-must-match-filename-map):
210 Move define-obsolete-variable-alias before its var.
211
fdb058c2
SM
2122012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
213
c41045e6
SM
214 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
215
036dfb8b
SM
216 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
217 behavior.
218 (completion--string-equal-p): New function.
219 (completion--twq-all): Use it to get better assertion failure data.
220
2473256d
SM
221 Only handle ".." and '..' quoting in shell-mode (bug#11466).
222 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
223 (shell--requote-argument): New functions.
224 (shell-completion-vars): Use them.
225 (shell--parse-pcomplete-arguments): Rename from
226 shell-parse-pcomplete-arguments.
227 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
228 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
229 Obey comint-file-name-quote-list.
230
fdb058c2
SM
231 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
232 (smie-indent-keyword): Use it.
233
51fa99f1
SM
2342012-05-14 Stefan Merten <smerten@oekonux.de>
235
236 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
237
e18afed7 2382012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
239
240 * net/rlogin.el (rlogin-mode-map): Fix last change.
241
e18afed7 2422012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
243
244 * mail/smtpmail.el (smtpmail-send-command): Send the command and
245 the following \r\n using a single `process-send-string', since the
246 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 247 with two `process-send-string's (Bug#11444).
8633b1f4 248
e18afed7 2492012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 250
fdb058c2
SM
251 * shell.el (shell-parse-pcomplete-arguments):
252 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 253
2d21d7f6
WJ
2542012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
255
e18afed7 256 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
257 (image-transform-scale, image-transform-right-angle-fudge): New vars.
258 (image-transform-width, image-transform-fit-width): New functions.
259 (image-transform-properties): Use them.
260 (image-transform-check-size): New function.
261 (image-toggle-display-image): Use it (for testing).
262 (image-transform-set-rotation): Reduce angle mod 360.
263 Delete obsolete comment.
264
7102e6d0
WJ
2652012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
266
267 * image-mode.el: Fix scaling (bug#11399).
268 (image-transform-resize): Doc fix.
269 (image-transform-properties): Default scale is 1 and height should
270 be an integer.
271
06bc5e6e
SM
2722012-05-13 Johan Bockgård <bojohan@gnu.org>
273
274 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
275 than hard-coding `car', to fix misbehavior when moving forward.
276
0ae03b6a
CY
2772012-05-13 Chong Yidong <cyd@gnu.org>
278
279 * emacs-lisp/tabulated-list.el (tabulated-list-format)
280 (tabulated-list-entries, tabulated-list-padding)
281 (tabulated-list-sort-key): Make permanent-local.
282
283 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
284 (electric-buffer-list): Put electric buffer menu
285 command descriptions in this docstring, instead of the docstring
286 of electric-buffer-menu-mode. Code cleanups.
287 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
288 Electric-buffer-menu-mode.
289 (electric-buffer-update-highlight): Minor code cleanup.
290
205a7391
MA
2912012-05-13 Michael Albinus <michael.albinus@gmx.de>
292
293 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
294 (Bug#11447)
295
e5bd0a28
SM
2962012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 Move define-obsolete-variable-alias before the var's definition.
299 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
300 * tooltip.el (tooltip-hook):
301 * textmodes/reftex-toc.el (reftex-toc-map):
302 * textmodes/reftex-sel.el (reftex-select-label-map)
303 (reftex-select-bib-map):
304 * textmodes/reftex-index.el (reftex-index-map)
305 (reftex-index-phrases-map):
306 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
307 * progmodes/meta-mode.el (meta-mode-map):
308 * novice.el (disabled-command-hook):
309 * loadhist.el (unload-hook-features-list):
310 * frame.el (blink-cursor):
311 * files.el (find-file-not-found-hooks, write-file-hooks)
312 (write-contents-hooks):
313 * emulation/tpu-edt.el (GOLD-map):
314 * emacs-lock.el (emacs-lock-from-exiting):
315 * emacs-lisp/generic.el (generic-font-lock-defaults):
316 * emacs-lisp/chart.el (chart-map):
317 * dos-fns.el (register-name-alist):
318 * dired-x.el (dired-omit-files-p):
319 * desktop.el (desktop-enable):
320 * cus-edit.el (custom-mode-hook):
321 * buff-menu.el (buffer-menu-mode-hook):
322 * bookmark.el (bookmark-read-annotation-text-func)
323 (bookmark-exit-hooks):
324 * allout.el (allout-mode-deactivate-hook)
325 (allout-exposure-change-hook, allout-structure-added-hook)
326 (allout-structure-deleted-hook, allout-structure-shifted-hook):
327 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
328 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
329 comes before the corresponding variable's definition.
330
ac59c2f6
CY
3312012-05-12 Chong Yidong <cyd@gnu.org>
332
333 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
334 (Buffer-menu-mouse-select): Restore function (Bug#11459).
335 (Buffer-menu-mode-map): Bind it.
336 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 337
dee6c9a3
SM
3382012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
339
2171cea5
SM
340 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
341 (prolog-upper-case-string, prolog-lower-case-string)
342 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
343 (prolog-use-smie, prolog-smie-grammar): New vars.
344 (prolog-smie-forward-token, prolog-smie-backward-token)
345 (prolog-smie-rules): New funs.
346 (prolog-comment-indent): Remove.
347 (prolog-mode-variables): Use default comment indentation instead.
348 Setup SMIE.
349 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
350 (prolog-mode): Don't call them any more.
351 (prolog-electric-colon, prolog-electric-dash)
352 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
353
aa0382bd
SM
354 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
355
dbacb4bd
SM
356 * minibuffer.el (completion--twq-all): Again, allow case differences.
357
13bdd94c
SM
358 * term.el: Move keymap initialization code to be more idiomatic.
359 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
360 (term-terminal-menu): Move initialization into declaration.
361 (term-escape-char): Let the user set it in her .emacs.
362
ff46c759
SM
363 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
364 Provide SMIE-based indentation (not enabled by default yet).
365 (sh-mode-map): Don't bind electric keys.
366 Use electric-pair-mode instead of skeleton-pair.
367 (sh-assignment-regexp): Fit within 80 columns.
368 (sh-indent-supported): Specify actual shell name instead of boolean.
369 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
370 (sh-maybe-here-document): Use it. Make obsolete.
371 (sh-electric-here-document-mode) New minor mode.
372 (sh-mode): Use it. Don't set sh-indent-supported-here here.
373 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
374 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
375 (sh-smie-rc-grammar, sh-use-smie): New vars.
376 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
377 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
378 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
379 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
380 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
381 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
382 (sh-set-shell): Use smie-setup if requested.
383
dee6c9a3
SM
384 * term.el (term-set-escape-char): Properly set term-escape-char.
385 See http://stackoverflow.com/questions/10524656.
386
9f9aa044
CY
3872012-05-10 Chong Yidong <cyd@gnu.org>
388
389 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
390 Use url-generic-parse-url, and handle host names and Windows
391 filenames properly.
392 (ffap-url-unwrap-remote): Use url-generic-parse-url.
393 (ffap-url-unwrap-remote): Accept list values, specifying a list of
394 URL schemes to work on.
395 (ffap--toggle-read-only): New function.
396 (ffap-read-only, ffap-read-only-other-window)
397 (ffap-read-only-other-frame): Use it.
398 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
399 necessary for ffap-url-unwrap-remote.
400
836d29b3
DA
4012012-05-10 Dave Abrahams <dave@boostpro.com>
402
403 * cus-start.el (create-lockfiles): Add it.
404
00fd78ed
CY
4052012-05-09 Chong Yidong <cyd@gnu.org>
406
407 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
408 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
409
666b903b 4102012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
411
412 * shell.el (shell-completion-vars): Fix last change (bug#11348).
413
666b903b 4142012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
415
416 * ansi-color.el (ansi-color-process-output): Check for validity of
417 comint-last-output-start before using it. This avoids a bad
418 interaction with gdb-mi's input/output buffer.
419
666b903b 4202012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
421
422 * files.el (dir-locals-read-from-file):
423 Mention dir-locals in any error message.
424
666b903b 4252012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
426
427 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
428 package (Bug#11410).
429
f677562b
CY
430 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
431 variables into description.
432
666b903b 4332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
434
435 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
436 shell-delimiter-argument-list (bug#11348).
437 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
438
b499d8d0
JB
4392012-05-09 Juanma Barranquero <lekktu@gmail.com>
440
8f6b6da8
JB
441 * textmodes/rst.el: Silence byte-compiler warnings.
442 (rst-re-alist, rst-reset-section-caches): Move around.
443 (rst-re): Use `characterp', not `char-valid-p'.
444 (font-lock-beg, font-lock-end): Declare.
445
4824146a
JB
446 * progmodes/idlw-shell.el (specs): Remove reference to deleted
447 variable `idlwave-shell-activate-alt-keybindings' and simplify.
448
b499d8d0
JB
449 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
450
ad89bb83
GM
4512012-05-08 Glenn Morris <rgm@gnu.org>
452
453 * files.el (auto-mode-alist): Treat ".make" like ".mk".
454
8bba5a75
SM
4552012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
456
49ed9c8e
SM
457 * vc/log-edit.el: Add GNU coding standards highlighting.
458 (log-edit-font-lock-gnu-style)
459 (log-edit-font-lock-gnu-keywords): New vars.
460 (log-edit-font-lock-keywords): New fun.
461 (log-edit-mode): Don't fold case in font-lock.
462 (log-edit-font-lock-keywords): Do not assume case-folding.
463
07d00b56
SM
464 * imenu.el: Misc cleanup. Make docstrings out of comments.
465 Use lexical-binding.
466 (imenu--index-alist, imenu--last-menubar-index-alist)
467 (imenu-menubar-modified-tick): Use defvar-local.
468 (imenu--split-menu): Remove unused var.
469 (imenu--cleanup-seen): Declare as global.
470 (imenu--cleanup): Use dolist.
471
8bba5a75
SM
472 * subr.el (defvar-local): Add debug spec and doc-string position.
473
5075bdb5
GM
4742012-05-08 Glenn Morris <rgm@gnu.org>
475
c052c904
GM
476 * lisp/language/burmese.el, language/cham.el, language/czech.el:
477 * language/english.el, language/georgian.el, language/greek.el:
478 * language/japanese.el, language/khmer.el, language/korean.el:
479 * language/lao.el, language/misc-lang.el, language/romanian.el:
480 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
481 * language/thai.el, language/utf-8-lang.el:
482 Remove no-byte-compile setting.
483
5075bdb5
GM
484 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
485
06f679a7
AH
4862012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
487
488 * progmodes/make-mode.el (makefile-browse):
489 Remove unnecessary interactive. (Bug#11324)
490
03794570
GM
4912012-05-07 Glenn Morris <rgm@gnu.org>
492
af8630f4
GM
493 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
494
03794570
GM
495 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
496
f0809a9d
SM
4972012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
498
28be5ce7
SM
499 * loadup.el: Preload newcomment.el.
500 * newcomment.el: Move autoload-only code to toplevel.
501
f0809a9d
SM
502 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
503 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
504 Handle new :right-align column property.
505 (tabulated-list-print-col): Idem, plus use `display' text-property to
506 try and preserve alignment for variable pitch fonts.
507
1241b724
CY
5082012-05-07 Chong Yidong <cyd@gnu.org>
509
510 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
511 (tabulated-list-use-header-line): New var.
512 (tabulated-list-init-header): Use it.
513 (tabulated-list-print-fake-header): New function.
514 (tabulated-list-print): Use it.
515 (tabulated-list-sort-button-map): Add non-header-line commands.
516 (tabulated-list-init-header): Add column name property to basic
517 labels as well.
518 (tabulated-list-col-sort): Handle non-header-line button case.
519 (tabulated-list--sort-by-column-name): Fix a corner case.
520
f0809a9d
SM
521 * buff-menu.el (list-buffers--refresh):
522 Handle Buffer-menu-use-header-line.
1241b724 523
e5f9458f
CY
5242012-05-06 Chong Yidong <cyd@gnu.org>
525
526 * buff-menu.el: Convert to Tabulated List mode.
527 (Buffer-menu-buffer+size-width): Make obsolete.
528 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
529 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
530 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
531 documentation into docstring of buffer-menu.
532 (Buffer-menu-toggle-files-only): Add an informative message.
533 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
534 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
535 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
536 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
537 (Buffer-menu-execute, Buffer-menu-select)
538 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
539 (Buffer-menu-bury): Use Tabulated List machinery.
540 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
541 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 542 Delete.
e5f9458f
CY
543 (list-buffers--refresh): New function.
544 (list-buffers-noselect): Use it.
545 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
546 (Buffer-menu--pretty-file-name): New helper functions.
547
548 * loadup.el: Preload tabulated-list.
549
550 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
551 tabulated-list-sort-column.
552 (tabulated-list-init-header): Add the initial aligning space even
553 if tabulated-list-padding is zero.
554
e129292c
CS
5552012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
556
557 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
558 whose cdr is not a cons cell correctly (bug#11038).
559
6632d361
CY
5602012-05-06 Chong Yidong <cyd@gnu.org>
561
e129292c
CS
562 * emacs-lisp/tabulated-list.el (tabulated-list-format):
563 Accept additional plist in column descriptors.
6632d361
CY
564 (tabulated-list-init-header): Obey it.
565 (tabulated-list-get-entry): New function.
566 (tabulated-list-put-tag): Use it. Use string-width instead of
567 length.
568 (tabulated-list--column-number): New function.
569 (tabulated-list-print): Use it.
e129292c
CS
570 (tabulated-list-print-col): New function.
571 Set `tabulated-list-column-name' property on each column's text.
6632d361 572 (tabulated-list-print-entry): Use it.
e129292c
CS
573 (tabulated-list-delete-entry, tabulated-list-set-col):
574 New functions.
6632d361
CY
575 (tabulated-list-sort-column): New command (Bug#11337).
576
3cc99f68
CY
577 * buff-menu.el (list-buffers): Move C-x C-b binding from
578 buff-menu.el to bindings.el.
579
580 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
581 :advertised-binding feature.
582
52b61776
TN
5832012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
584
585 * progmodes/compile.el (compilation-internal-error-properties):
586 Calculate start position correctly when end-col is set but
587 end-line is not (Bug#11382).
588
ebfe2597
WJ
5892012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
590
591 * man.el (Man-unindent): Use text-property-default-nonsticky to
592 prevent untabify from inheriting face properties (Bug#11408).
593
a43f98b3
GM
5942012-05-05 Glenn Morris <rgm@gnu.org>
595
48176e8b
GM
596 * calendar/cal-html.el: Optionally include holidays in the output.
597 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
598 (cal-html-holidays): New option.
599 (cal-html-css-default): Add holiday entry.
600 (holiday-in-range): Autoload it.
601 (cal-html-htmlify-entry): Add optional class argument.
602 (cal-html-htmlify-list): Add optional holidays argument.
603 (cal-html-insert-agenda-days): Include holidays in the output.
604 (cal-html-one-month): Maybe include holidays.
605
a43f98b3
GM
606 * calendar/holidays.el (holiday-in-range):
607 Move here from cal-tex-list-holidays.
608 * calendar/cal-tex.el (cal-tex-list-holidays):
609 Make it an obsolete alias for holiday-in-range. Update all callers.
610
fef9d149 6112012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
612
613 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
614 Nextstep.
615
248da2f4
RW
6162012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
617
618 * files.el (file-auto-mode-skip): New var.
619 (set-auto-mode-1): Use it.
620
f95e9344
SM
6212012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
622
df96ab1e
SM
623 * repeat.el: Use lexical-binding.
624 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
625 (repeat-undo-count): Remove.
626 (repeat):
627 * progmodes/octave-mod.el (octave-abbrev-start):
628 * progmodes/f90.el (f90-abbrev-start):
629 * face-remap.el (text-scale-adjust):
630 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
631
5342bb06
SM
632 * emacs-lisp/pcase.el (pcase--let*): New function.
633 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
634 a bit more.
635 (pcase--split-pred): Be more clever about ruling out overlap between
636 a predicate and some constant pattern.
637 (pcase--q1): Use `null' instead of (eq foo nil).
638
f95e9344
SM
639 * subr.el (setq-local, defvar-local): New macros.
640 (kbd): Redefine as an alias.
641 (with-selected-window): Leave unrelated frames alone.
642 (set-temporary-overlay-map): New function.
643
71873e2b
SM
6442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * subr.el (user-error): New function.
647 * window.el (switch-to-buffer):
648 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
649 (smerge-match-conflict):
650 * simple.el (previous-matching-history-element)
651 (next-matching-history-element, goto-history-element, undo-more)
652 (undo-start):
653 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
654 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
655 (next-file, tags-loop-scan, list-tags, complete-tag):
656 * progmodes/compile.el (compilation-loop):
657 * mouse.el (mouse-minibuffer-check):
658 * man.el (Man-bgproc-sentinel, Man-goto-page):
659 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
660 (Info-history-forward, Info-follow-reference, Info-menu)
661 (Info-extract-menu-item, Info-extract-menu-counting)
662 (Info-forward-node, Info-backward-node, Info-next-menu-item)
663 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
664 (Info-next-reference, Info-prev-reference, Info-index)
665 (Info-index-next, Info-follow-nearest-node)
666 (Info-copy-current-node-name):
667 * imenu.el (imenu--make-index-alist)
668 (imenu-default-create-index-function, imenu-add-to-menubar):
669 * files.el (basic-save-buffer, recover-file):
670 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
671 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
672 (checkdoc-message-text, checkdoc-defun):
673 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
674 * cus-edit.el (customize-changed-options, customize-rogue)
675 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
676 (custom-variable-mark-to-reset-standard)
677 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
678 (custom-file):
679 * completion.el (check-completion-length):
680 * comint.el (comint-search-arg)
681 (comint-previous-matching-input-string-position)
682 (comint-previous-matching-input)
683 (comint-replace-by-expanded-history-before-point, comint-send-input)
684 (comint-copy-old-input, comint-backward-matching-input)
685 (comint-goto-process-mark, comint-set-process-mark):
686 * calendar/calendar.el (calendar-cursor-to-date): Use it.
687 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
688
8a61ee22
SM
6892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
690
66408d1e
SM
691 * dabbrev.el (dabbrev--ignore-case-p): New function.
692 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
693 Use it.
694
8a61ee22
SM
695 * files.el (automount-dir-prefix): Mark as obsolete.
696
3c74813a
GM
6972012-05-04 Glenn Morris <rgm@gnu.org>
698
699 * patcomp.el, play/bruce.el: Move to obsolete/.
700
0bfcf5c5
PE
7012012-05-04 Paul Eggert <eggert@cs.ucla.edu>
702
703 Fix minor Y10k bugs.
704 * arc-mode.el (archive-unixdate):
705 * autoinsert.el (auto-insert-alist):
706 * calc/calc-forms.el (math-this-year):
707 * emacs-lisp/copyright.el (copyright-current-year)
708 (copyright-update-year, copyright):
709 * tar-mode.el (tar-clip-time-string):
710 * time.el (display-time-update):
711 Don't assume years have 4 digits.
712
78f3273a
CY
7132012-05-04 Chong Yidong <cyd@gnu.org>
714
715 * dos-w32.el (file-name-buffer-file-type-alist)
716 (direct-print-region-use-command-dot-com):
717 * ffap.el (ffap-menu-regexp):
718 * find-file.el (ff-special-constructs):
719 * follow.el (follow-debug):
720 * forms.el (forms--debug):
721 * iswitchb.el (iswitchb-all-frames):
722 * ido.el (ido-all-frames):
723 * emacs-lisp/timer.el (timer-max-repeats):
724 * mail/feedmail.el (feedmail-mail-send-hook)
725 (feedmail-mail-send-hook-queued):
726 * mail/footnote.el (footnote-signature-separator):
727 * mail/mailabbrev.el (mail-alias-separator-string)
728 (mail-abbrev-mode-regexp):
729 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
730 * progmodes/idlwave.el (idlwave-libinfo-file)
731 (idlwave-default-completion-case-is-down)
732 (idlwave-library-routines): Convert defvars to defcustoms.
733
734 * mail/rmail.el (rmail-decode-mime-charset):
735 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
736 (idlwave-shell-fix-inserted-breaks)
737 (idlwave-shell-activate-alt-keybindings)
738 (idlwave-shell-use-breakpoint-glyph):
739 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
740
f7ae6719
SM
7412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
744
47086495
WS
7452012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
746
747 * progmodes/verilog-mode.el (font-lock-keywords):
748 Fix mis-highligting auto. Reported by Craig Barner.
749 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
750 defines from global name space. Reported by Dan Dever.
751 (verilog-auto-reset, verilog-auto-reset-widths)
752 (verilog-auto-tieoff): Support using unbased numbers for
753 AUTORESET and AUTOTIEOFF.
754 (verilog-submit-bug-report): Update variable list.
755 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
756 parenthesis from not matching. Reported by Michael Rytting.
757 (verilog-auto-template-lint): Fix hash error when linting modules
758 with no used templates.
759 (verilog-warn, verilog-warn-error)
760 (verilog-warn-fatal): When non-interactive report multiple
761 warnings before exiting. Suggested by Brad Dobbie.
762 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
763 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
764 to report unused template errors. Reported by Brad Dobbie.
765 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
766 nets, bug438. Reported by Vns Blore.
767 (verilog-auto-inout-module, verilog-auto-reg)
768 (verilog-read-decls, verilog-read-sub-decls-sig)
769 (verilog-signals-edit-wire-reg, verilog-signals-with):
770 Fix passing of Verilog data types in ANSI input/output ports
771 such as "output logic" into the AUTOs. Special case "wire" and
772 "reg" for backwards compatibility presuming Verilog 2001.
773 (verilog-auto-ascii-enum): Add "auto enum" as alias.
774 (verilog-preprocess): Fix replication of preprocess output.
775 Reported by Brad Dobbie.
776 (verilog-auto-inst-interfaced-ports):
777 Create verilog-auto-inst-interfaced-ports, bug429.
778 Reported by Julian Gorfajn.
779 (verilog-after-save-font-hook)
780 (verilog-before-save-font-hook): New variable.
781 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
782 (verilog-save-font-mods): Wrap disabling fontification, reported
783 by David Rogoff.
784 (verilog-do-indent, verilog-pretty-declarations-auto)
785 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
786 Reported by Pierre-David Pfister.
787 (verilog-set-auto-endcomments): Fix endtask auto comments outside
788 of class declarations, bug292. Reported by Kevin Heilman.
789 (verilog-read-decls): Fix 'parameter type' not appearing in
790 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
791 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
792 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
793 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
794 Reported by David Kravitz.
795
7962012-05-03 Michael McNamara <mac@mail.brushroad.com>
797
798 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
799 assignment with tests in ifs and for loops.
800 (verilog-extended-complete-re, verilog-complete-reg): Change so
801 that DPI inport functions don't look like fuction declarations.
802 (verilog-pretty-expr): Don't line up assignment
803 operations to the test and increment in if and for loops
804 (verilog-extended-complete-re, verilog-complete-reg): Change so
805 that DPI inport functions don't look like fuction declarations
806
2e51d4b5
KH
8072012-05-03 Kenichi Handa <handa@m17n.org>
808
809 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
810 decoding, and show a warning message without signalling an error
811 (Bug#11282).
812
2bd785a2
SM
8132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/bytecomp.el
816 (byte-compile-file-form-custom-declare-variable): Compile all elements,
817 since cconv.el might have introduced :fun-body, internal-make-closure,
818 and friends for bytecomp to handle (bug#11391).
819 * custom.el (defcustom): Avoid ((λ ..) ..).
820
99d27583
SM
8212012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
824
55a71479
JB
8252012-05-02 Juanma Barranquero <lekktu@gmail.com>
826
827 * notifications.el (dbus-debug):
828 * term/linux.el (gpm-mouse-enable):
829 * term/screen.el (xterm-register-default-colors): Declare.
830
7b97c764
CY
8312012-05-02 Chong Yidong <cyd@gnu.org>
832
2bc356d7
CY
833 * cus-start.el (gc-cons-percentage, exec-suffixes)
834 (dos-display-scancodes, dos-hyper-key, dos-super-key)
835 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
836 (make-cursor-line-fully-visible, void-text-area-pointer)
837 (font-list-limit): Add customization data.
838
7b97c764
CY
839 * allout.el (allout-exposure-change-functions)
840 (allout-structure-added-functions)
841 (allout-structure-deleted-functions)
842 (allout-structure-shifted-functions): Rename abnormal hooks from
843 *-hook, and convert to defcustoms.
5d3385a0
JB
844 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
845 Convert to defcustoms.
7b97c764
CY
846 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
847
848 * allout-widgets.el: Hook callers changed.
849
90207a15 8502012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
851
852 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
853 the yanked message in preference to the default value of
854 buffer-file-coding-system.
855
90207a15 8562012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 857
5d3385a0
JB
858 * window.el (display-buffer--action-function-custom-type):
859 Fix entry.
d9558cad 860
90207a15 8612012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
862
863 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
864
d80ac57b
GM
8652012-05-01 Glenn Morris <rgm@gnu.org>
866
976f7668
GM
867 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
868
beb83b5a
GM
869 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
870
d80ac57b
GM
871 * cus-edit.el (custom-variable-documentation): Simplify with format.
872
b593d6a9
AH
8732012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
874 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * simple.el (suggest-key-bindings, execute-extended-command):
877 Move from keyboard.c.
878
782fbf2a
CY
8792012-05-01 Chong Yidong <cyd@gnu.org>
880
881 * follow.el: Eliminate advice.
882 (set-process-filter, process-filter, sit-for): Advice deleted.
883 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
884 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
885 Vars deleted.
782fbf2a
CY
886 (follow-auto): Use a :set function.
887 (follow-mode): Rewritten. Don't advise process filters.
888 (follow-switch-to-current-buffer-all, follow-scroll-up)
889 (follow-scroll-down): Assume follow-mode is bound.
890 (follow-comint-scroll-to-bottom)
891 (follow-align-compilation-windows): New functions.
892 (follow--window-sorter): New function.
893 (follow-all-followers): Use it to explicitly sort windows by their
894 positions; don't make assumptions about next-window order.
895 (follow-windows-start-end, follow-delete-other-windows-and-split)
896 (follow-calc-win-start): Doc fix.
897 (follow-windows-aligned-p, follow-select-if-visible): Don't call
898 vertical-motion unnecessarily.
899 (follow-adjust-window): New function.
900 (follow-post-command-hook): Use it.
901 (follow-call-set-process-filter, follow-call-process-filter)
902 (follow-intercept-process-output, follow-tidy-process-filter-alist)
903 (follow-stop-intercept-process-output, follow-generic-filter):
904 Functions deleted.
905 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
906 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
907 New functions, replacing advice on scroll-bar-* commands.
87233a14 908 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
909
910 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
911 (comint-postoutput-scroll-to-bottom): Use it.
912 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 913
290af740
GM
9142012-05-01 Glenn Morris <rgm@gnu.org>
915
916 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
917 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
918 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
919 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
920 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
921 Remove no-byte-compile setting.
922
6eac8dc9
SM
9232012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * minibuffer.el (completion-table-with-quoting): Fix compatibility
926 all-completions code to not return a number in the last cdr.
927
9cc7819c
LL
9282012-04-30 Leo Liu <sdl.web@gmail.com>
929
930 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
931 read-only error.
932
c93b886f
CY
9332012-04-29 Chong Yidong <cyd@gnu.org>
934
935 * follow.el (follow-calc-win-end): Rewrite to handle partial
936 screen lines correctly (Bug#8390).
937 (follow-avoid-tail-recenter): Minor cleanup.
938
8b6c19f4
SM
9392012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 Avoid the obsolete `assoc' package.
942 * speedbar.el (speedbar-refresh): Avoid adelete.
943 (speedbar-file-lists): Simplify and avoid aput.
944 * man.el (Man--sections, Man--refpages): New vars, replacing
945 Man-sections-alist and Man-refpages-alist.
946 (Man-build-section-alist, Man-build-references-alist):
947 Use them; avoid aput.
948 (Man--last-section, Man--last-refpage): New vars.
949 (Man-follow-manual-reference): Use them.
950 Use the `default' arg of completing-read.
951 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
952
c5bb7569
CY
9532012-04-27 Chong Yidong <cyd@gnu.org>
954
d1d2e2e8
CY
955 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
956
15cd8efd
CY
957 * startup.el (x-apply-session-resources): New function.
958
959 * term/ns-win.el (ns-initialize-window-system):
960 * term/w32-win.el (w32-initialize-window-system):
961 * term/x-win.el (x-initialize-window-system): Use it to properly
962 set menu-bar-mode and other vars from X resources, even if the
963 initial frame is not a window-system frame (Bug#2299).
964
c5bb7569
CY
965 * subr.el (read-key): Avoid running filter function when setting
966 up temporary tool bar entries (Bug#9922).
967
a8e7d6d7 9682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
969
970 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
971 (Bug#11344)
972
a8e7d6d7 9732012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
974
975 * select.el (xselect--encode-string): New function, split from
976 xselect-convert-to-string.
977 (xselect-convert-to-string): Use it.
978 (xselect-convert-to-filename, xselect-convert-to-os)
979 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
980 returned strings are properly encoded (Bug#11315).
981
a8e7d6d7 9822012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
983
984 * simple.el (delete-active-region): Move to killing custom group.
985
a8e7d6d7 9862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
987
988 * progmodes/which-func.el (which-func-current): Quote %
989 characters for mode-line processing.
990
578c1d4b 9912012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
992
993 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
994 reaching eob (Bug#11286).
995
a8e7d6d7 9962012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
997
998 * progmodes/gdb-mi.el (gdb-control-level): New variable.
999 (gdb): Make it buffer-local and init to zero.
1000 (gdb-control-commands-regexp): New variable.
1001 (gdb-send): Don't wrap in "-interpreter-exec console" if
1002 gdb-control-level is positive. Increment gdb-control-level
1003 whenever the command matches gdb-control-commands-regexp, and
1004 decrement it each time the command is "end". (Bug#11279)
1005
a8e7d6d7 10062012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1007
1008 * window.el (adjust-window-trailing-edge, enlarge-window)
1009 (shrink-window, window-resize):
1010 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1011 windows (Bug#11276).
1012
b3608390
CY
10132012-04-27 Chong Yidong <cyd@gnu.org>
1014
1015 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1016 fix "missing prefix" warning. All callers changed.
b3608390 1017
797e6e88
SM
10182012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * emacs-lisp/assoc.el: Move to obsolete/.
1021
e95a67dc
SM
10222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1023
657c21e4 1024 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1025
1026 * term/ns-win.el (ns-define-service):
1027 * progmodes/pascal.el (pascal-goto-defun):
1028 * progmodes/js.el (js--read-tab):
1029 * progmodes/etags.el (tags-lazy-completion-table):
1030 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1031 * emacs-lisp/ewoc.el (ewoc--wrap):
1032 * emacs-lisp/assoc.el (aput, adelete, amake):
1033 * doc-view.el (doc-view-convert-current-doc):
1034 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1035
cb3e7ae0
CY
10362012-04-26 Chong Yidong <cyd@gnu.org>
1037
dce04f7f
CY
1038 * image.el (image-type-from-buffer): Only return supported image
1039 type (Bug#9045).
1040
cb3e7ae0
CY
1041 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1042 value, for symmetry with diff-end-of-hunk.
1043 (diff-split-hunk, diff-find-source-location)
1044 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1045 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1046 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1047 compute the relevant hunk or file properly (Bug#6005).
1048 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1049
0d42eb3e
SM
10502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * vc/vc-mtn.el:
1053 * vc/vc-hg.el:
1054 * vc/vc-git.el:
1055 * vc/vc-dir.el:
1056 * vc/vc-cvs.el:
1057 * vc/vc-bzr.el:
1058 * vc/vc-arch.el:
1059 * vc/vc.el: Replace lexical-let by lexical-binding.
1060 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1061 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1062 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1063
f08ae1c9
CY
10642012-04-26 Chong Yidong <cyd@gnu.org>
1065
8b71081d
CY
1066 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1067 (diff-mode-shared-map): Bind it to / and [remap undo].
1068
f08ae1c9
CY
1069 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1070 (ediff-window-setup-function): Use it as the default, to set up
1071 windows based on whether the current frame is graphical (Bug#2138).
1072 (ediff-choose-window-setup-function-automatically): Make obsolete.
1073
1074 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1075
ef24141c
SM
10762012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1077
cc356a5d
SM
1078 * ffap.el: Remove old code for obsolete package.
1079 (ffap-complete-as-file-p): Remove.
1080
b4ff4f1f
SM
1081 Use completion-table-with-quoting for comint and pcomplete.
1082 * comint.el (comint--unquote&requote-argument)
1083 (comint--unquote-argument, comint--requote-argument): New functions.
1084 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1085 (comint-quote-filename): Use regexp-opt-charset.
1086 (comint--common-suffix, comint--common-quoted-suffix)
1087 (comint--table-subvert): Remove.
1088 (comint-unquote-function, comint-requote-function): New vars.
1089 (comint--complete-file-name-data): Use them with
1090 completion-table-with-quoting.
1091 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1092 * pcomplete.el (pcomplete-arg-quote-list)
1093 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1094 (pcomplete-unquote-argument-function): Default to non-nil.
1095 (pcomplete-unquote-argument): Simplify.
1096 (pcomplete--common-quoted-suffix): Remove.
1097 (pcomplete-requote-argument-function): New var.
1098 (pcomplete--common-suffix): New function.
1099 (pcomplete-completions-at-point): Use completion-table-with-quoting
1100 and completion-table-subvert.
1101
79c4eeb4
SM
1102 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1103 (minibuffer--double-dollars): Preserve properties.
1104 (completion--sifn-requote): New function.
1105 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1106
ef24141c
SM
1107 * minibuffer.el: Add support for completion of quoted/escaped data.
1108 (completion-table-with-quoting, completion-table-subvert): New funs.
1109 (completion--twq-try, completion--twq-all): New functions.
1110 (completion--nth-completion): New function.
1111 (completion-try-completion, completion-all-completions): Use it.
1112
784e7d6e
LL
11132012-04-25 Leo Liu <sdl.web@gmail.com>
1114
dd2ac746
SM
1115 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1116 Use compilation-message if available to find real filename.
784e7d6e 1117
07875ee7
CY
11182012-04-25 Chong Yidong <cyd@gnu.org>
1119
1120 * vc/diff-mode.el (diff-setup-whitespace): New function.
1121 (diff-mode): Use it.
1122
1123 * vc/diff.el (diff-sentinel):
1124 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1125 Whitespace mode variables based on diff style (Bug#8612).
1126
5055880d
LL
11272012-04-25 Leo Liu <sdl.web@gmail.com>
1128
daf75653
LL
1129 * progmodes/python.el (python-send-region): Add suffix .py to the
1130 temp file.
1131
5055880d
LL
1132 * files.el (auto-mode-alist): Use javascript-mode instead.
1133
db9b177b
AH
11342012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1135
ef24141c 1136 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1137
1138 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1139 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1140 references, see Bug#9.
ef24141c 1141 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1142 when receiving a fault reply.
ef24141c 1143 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1144
1145 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1146 (soap-inspect-simple-type): New function.
db9b177b 1147
ef24141c 1148 * soap-client.el (soap-simple-type): New struct.
db9b177b 1149 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1150 (soap-decode-basic-type, soap-encode-basic-type):
1151 support unsignedInt and double basic types.
db9b177b 1152 (soap-resolve-references-for-simple-type)
ef24141c
SM
1153 (soap-parse-simple-type, soap-encode-simple-type): New function.
1154 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1155
1156 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1157 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1158 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1159 the local name of "soapenc:Array".
1160 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1161 decoding integer, byte and anyURI xsd types.
1162
1fc6097b
CY
11632012-04-25 Chong Yidong <cyd@gnu.org>
1164
1165 * cus-edit.el (custom-buffer-create-internal): Update header text.
1166
afc6df87
EZ
11672012-04-25 Eli Zaretskii <eliz@gnu.org>
1168
1169 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1170 settings on 'system-type', not on 'window-system'. On MS-Windows,
1171 set interactive-mode on in GDB.
1172
dfbd787f
SM
11732012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1176 (ruby-syntax-propertize-regexp): Remove.
1177 (ruby-syntax-propertize-function): Split regexp into chunks.
1178 Match following code directly.
1179
85222d44
DG
11802012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1181
51a8ea2a
DG
1182 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1183 (ruby-syntax-propertize-regexp): New function.
1184 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1185 by a special keyword.
1186
85222d44
DG
1187 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1188 (ruby-syntax-general-delimiters-goto-beg)
1189 (ruby-syntax-propertize-general-delimiters): New functions.
1190 (ruby-syntax-propertize-function): Use them to handle GDL.
1191 (ruby-font-lock-keywords): Move old handling of GDL...
1192 (ruby-font-lock-syntactic-keywords): .. to here.
1193 (ruby-calculate-indent): Adjust indentation for GDL.
1194
b613912b
MA
11952012-04-24 Michael Albinus <michael.albinus@gmx.de>
1196
b5380639
MA
1197 * notifications.el (top): Remove unneeded declarations.
1198 (notifications-specification-version): Change to "1.2".
e43042fe 1199 (notifications-interface, notifications-notify-method)
b613912b
MA
1200 (notifications-close-notification-method): Fix docstring.
1201 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1202 (notifications-notify): Add :action-items, :resident and
1203 :transient hints. Change "image_data" to "image-data" and
1204 "image_path" to "image-path".
b613912b
MA
1205 (notifications-get-capabilities): New defun.
1206
257440aa
LL
12072012-04-24 Leo Liu <sdl.web@gmail.com>
1208
1209 * progmodes/python.el: Move hideshow setup to the end.
1210
b1bac16e
MR
12112012-04-24 Martin Rudalics <rudalics@gmx.at>
1212
1213 * window.el (handle-select-window): Clear echo area since this is
1214 no more done by read_char (Bug#11304).
1215
d81bd059
SM
12162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1219 and `/ M' to filter-derived-mode.
1220 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1221 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1222 (ibuffer-mark-by-mode): Use default rather than initial-input.
1223 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1224
c4cf6d91
IA
12252012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1226
1227 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1228 (ibuffer-filter-by-derived-mode): New filter.
1229 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1230
7511ded8
CY
12312012-04-23 Andreas Politz <politza@fh-trier.de>
1232
1233 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1234
775c916b
CY
12352012-04-23 Chong Yidong <cyd@gnu.org>
1236
1237 * cus-edit.el (customize-apropos, customize-apropos-options):
1238 Disable matching of non-option variables (Bug#11176).
1239 (customize-option, customize-option-other-window)
1240 (customize-changed-options): Doc fix.
1241 (customize-apropos-options, customize-apropos-faces)
1242 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1243
1244 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1245 Fix word list splitting (Bug#11132).
46c71e23
CY
1246 (apropos-symbol, apropos-keybinding, apropos-label)
1247 (apropos-property, apropos-function-button)
1248 (apropos-variable-button, apropos-misc-button): New faces.
1249 (apropos-symbol-face, apropos-keybinding-face)
1250 (apropos-label-face, apropos-property-face, apropos-match-face):
1251 Variables removed (Bug#8396).
1252 (apropos-library-button, apropos-format-plist, apropos-print)
1253 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1254
2df41f9c
MA
12552012-04-23 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * net/xesam.el (xesam-mode-map): Use let-bound map in
1258 initialization. (Bug#11292)
1259
da00640a
AM
12602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1261
1262 Preserve ispell session localwords when switching back to
1263 original buffer.
1264
1265 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1266 variable to hold buffer session localwords.
1267 (ispell-kill-ispell): add option 'clear to delete session
1268 localwords.
1269 (ispell-command-loop, ispell-change-dictionary)
1270 (ispell-buffer-local-words): Preserve session localwords when
1271 needed.
1272
1273 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1274 Preserve session localwords when needed.
1275
f621ccf5
AM
12762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1277
1278 * ispell.el (ispell-insert-word) Remove unneeded function using
1279 obsolete `translation-table-for-input'.
ef24141c
SM
1280 (ispell-word, ispell-process-line, ispell-complete-word):
1281 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1282
c2d1019e
CY
12832012-04-22 Chong Yidong <cyd@gnu.org>
1284
1285 * cus-edit.el (custom-variable-menu)
1286 (custom-variable-reset-saved, custom-face-menu)
1287 (custom-face-reset-saved): If there is no saved value, make the
1288 "reset-saved" operation bring back the default (Bug#9509).
1289 (custom-face-state): Properly detect themed faces.
1290
eeddc531
CY
1291 * faces.el (face-spec-set): Stop supporting deprecated form of
1292 third arg.
1293
dcbf5805
MA
12942012-04-22 Michael Albinus <michael.albinus@gmx.de>
1295
1296 Move functions from C to Lisp. Make non-blocking method calls
1297 the default. Implement further D-Bus standard interfaces.
1298
ef24141c
SM
1299 * net/dbus.el (dbus-message-internal): Declare function.
1300 Remove unneeded function declarations.
dcbf5805
MA
1301 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1302 (dbus-message-type-method-return, dbus-message-type-error)
1303 (dbus-message-type-signal): Declare variables. Remove local
1304 definitions.
1305 (dbus-interface-dbus, dbus-interface-peer)
1306 (dbus-interface-introspectable, dbus-interface-properties)
1307 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1308 Adapt docstring.
1309 (dbus-interface-objectmanager): New defconst.
1310 (dbus-call-method, dbus-call-method-asynchronously)
1311 (dbus-send-signal, dbus-method-return-internal)
1312 (dbus-method-error-internal, dbus-register-service)
1313 (dbus-register-signal, dbus-register-method): New defuns, moved
1314 from dbusbind.c
1315 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1316 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1317 New defuns.
dcbf5805
MA
1318 (dbus-call-method-non-blocking): Make it an obsolete function.
1319 (dbus-unregister-object, dbus-unregister-service)
1320 (dbus-handle-event, dbus-register-property)
1321 (dbus-property-handler): Obey the new structure of
1322 `bus-registered-objects'.
1323 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1324 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1325 Use `dbus-call-method'.
1326
cf20dee0
CY
13272012-04-22 Chong Yidong <cyd@gnu.org>
1328
1329 * cus-edit.el (custom-commands, custom-reset-menu)
1330 (Custom-reset-standard): Tweak labels.
1331 (custom-reset-button-menu): Change default to t.
1332 (custom-buffer-create-internal): For the custom-reset-button-menu
1333 case, put the revert button first.
1334 (custom-group-subtitle): New face.
1335 (custom-group-value-create): Align docstring to a specific column.
1336
1337 * wid-edit.el (widget-documentation-link-add): Don't handle
1338 indentation in this function.
1339 (widget-documentation-string-indent-to): New function.
1340 (widget-documentation-string-value-create): Use it.
1341
1342 * autorevert.el (auto-revert):
1343 * epg-config.el (epg):
1344 * ibuffer.el (ibuffer):
1345 * mpc.el (mpc):
1346 * ses.el (ses):
1347 * eshell/eshell.el (eshell):
1348 * net/ange-ftp.el (ange-ftp):
1349 * progmodes/ebnf2ps.el (postscript):
1350 * progmodes/flymake.el (flymake):
1351 * progmodes/prolog.el (prolog):
1352 * progmodes/verilog-mode.el (verilog-mode):
1353 * progmodes/which-func.el (which-func):
1354 * term/xterm.el (xterm):
1355 * textmodes/picture.el (picture):
1356 * textmodes/tildify.el (tildify):
1357 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1358 customization buffers.
1359
583e23bd
AM
13602012-04-22 Alan Mackenzie <acm@muc.de>
1361
1362 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1363 Adding a ) can hide the resulting (..) from searches. Fix it.
1364 Bound the backward search to the position of the existing (.
1365
7dd51bf1
JB
13662012-04-21 Juanma Barranquero <lekktu@gmail.com>
1367
1368 * progmodes/verilog-mode.el (verilog-mode): Check whether
1369 which-func-modes is t before adding verilog-mode.
1370 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1371
d64a438f
LL
13722012-04-21 Leo Liu <sdl.web@gmail.com>
1373
7dd51bf1 1374 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1375
081e8d65
MV
13762012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1377
1378 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1379 filling of the last column of a table (Bug#5635).
1380 (woman-find-next-control-line): New arg, specifying an additional
1381 regexp component for the control line.
1382 (woman2-roff-buffer): Use it.
1383 (woman-break-table): New function.
1384 (woman2-TS): Use it.
1385
13862012-04-21 Chong Yidong <cyd@gnu.org>
1387
1388 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1389 (woman-horizontal-escapes, woman-negative-vertical-space)
1390 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1391 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1392
ed571ccb
SM
13932012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * minibuffer.el (completion-file-name-table): Complete user names.
1396
39773899
LL
13972012-04-20 Leo Liu <sdl.web@gmail.com>
1398
1399 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1400 and pcase-let*.
1401
de6ff46d
CY
14022012-04-20 Chong Yidong <cyd@gnu.org>
1403
1404 * server.el (server-execute): Respect initial-buffer-choice if it
1405 is a string and there are no files to open (Bug#2825).
1406 (server-create-window-system-frame, server-create-tty-frame):
1407 Don't switch buffers here.
2d0e8e61
CY
1408 (server-process-filter): Only try to open a window system frame if
1409 compiled with graphical support (Bug#8314).
de6ff46d 1410
54071013
DN
14112012-04-20 Dan Nicolaescu <dann@gnu.org>
1412
1413 * battery.el (battery-echo-area-format): Display remaining time
1414 for sysfs backend too (Bug#11269).
1415 (battery-linux-sysfs): Fix conditional for the charge.
1416
f30d612a
CY
14172012-04-20 Chong Yidong <cyd@gnu.org>
1418
c07a4c0b 1419 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1420 (gdb-inferior-io--init-proc): New function.
1421 (gdb-init-1): Use it.
1422 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1423 responsible for allocating a new pty and hooking it to gdb when
1424 the old pty gets an EIO due to process exit.
1425 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1426 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1427 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1428
2116e93c
EZ
14292012-04-20 Eli Zaretskii <eliz@gnu.org>
1430
1431 * window.el (window-min-size, window-sizable, window-min-delta)
1432 (window-max-delta, window--resizable, window-resizable)
1433 (window-total-size, window-full-height-p, window-full-width-p)
1434 (window-in-direction, window--resize-mini-window, window-resize)
1435 (window--resize-child-windows-normal)
1436 (window--resize-child-windows, window--resize-siblings)
1437 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1438 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1439
c07a4c0b 14402012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1441
ef24141c
SM
1442 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1443 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1444 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1445 pty process (Bug#11273).
1446 (gdb-update): New arg to suppress talking to the gdb process.
1447 (gdb-done-or-error): Use it.
1448 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1449 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1450 sentinel not being called.
1451
1452 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1453
d02766ab
CY
1454 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1455
c07a4c0b 14562012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1457
1458 * net/network-stream.el (open-network-stream): Doc fix.
1459
c07a4c0b 14602012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1461
1462 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1463
c07a4c0b 14642012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1465
1466 Ensure searching for keywords is case sensitive.
1467
1468 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1469 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1470 (c-defun-name, c-mark-function, c-cpp-define-name)
1471 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1472 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1473
ef24141c
SM
1474 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1475 Bind case-fold-search to nil.
f0f6bc35 1476
c07a4c0b 14772012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1478
1479 * mail/sendmail.el (mail-bury): Call return action with the right
1480 Rmail buffer (Bug#11242).
1481
9a864fa2
CY
1482 * server.el (server-process-filter): Handle corner case where both
1483 tty and nowait options are present (Bug#11102).
1484
539aa513
EZ
14852012-04-20 Eli Zaretskii <eliz@gnu.org>
1486
1487 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1488 (top level): Put into the executable the ident-style '$Id:' tag on
1489 windows-nt as well.
539aa513 1490
cfc7d5da
SM
14912012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * electric.el (electric-indent-post-self-insert-function): Check that
1494 electric-indent-mode is enabled in current buffer.
1495
5b01685c
JB
14962012-04-19 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * imenu.el (imenu-progress-message): Restore; it is "used" in
1499 erc/erc-imenu.el and net/snmp-mode.el.
1500
4d6769e1
JB
15012012-04-19 Juanma Barranquero <lekktu@gmail.com>
1502
1503 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1504 (mouse-avoidance-nudge-mouse): Remove unused binding.
1505
1506 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1507
1508 * descr-text.el (describe-char):
1509 * progmodes/python.el (python-describe-symbol):
1510 Don't call `toggle-read-only', set `buffer-read-only'.
1511
1512 * imenu.el (imenu-default-goto-function): Mark unused args.
1513 (imenu-progress-message): Remove obsolete macro; all callers changed.
1514
1515 * subr.el (keymap-canonicalize): Remove unused binding.
1516 (read-passwd): Mark unused arg.
1517
1518 * tutorial.el (tutorial--display-changes): Remove unused binding.
1519 (tutorial--save-tutorial-to): Remove unused variable.
1520
1521 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1522 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1523 (package-generate-autoloads, package-menu--generate)
1524 (package-menu--find-upgrades): Remove unused bindings.
1525
1526 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1527 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1528 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1529 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1530 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1531 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1532 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1533 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1534 (cua-delete-char-rectangle): Mark unused args.
1535 (cua-align-rectangle): Remove unused binding.
1536
1537 * mail/rmail.el (compilation--message->loc)
1538 (epa--find-coding-system-for-mime-charset): Declare.
1539
1540 * net/dbus.el (dbus-register-service): Declare.
1541 (dbus-name-owner-changed-handler): Remove unused binding.
1542
1543 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1544 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1545 (nxml-scan-backward-within): Mark unused arg.
1546 (nxml-dynamic-markup-word): Remove unused binding.
1547
1548 * mouse.el (mouse-menu-major-mode-map):
1549 * emacs-lisp/authors.el (authors-scan-change-log)
1550 (authors-add-to-author-list):
1551 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1552 * emacs-lisp/smie.el (smie-auto-fill):
1553 * mail/sendmail.el (mail-bury):
1554 * mail/unrmail.el (unrmail):
1555 * net/tls.el (open-tls-stream):
1556 * textmodes/picture.el (picture-mouse-set-point):
1557 Remove unused bindings.
1558
8c8fc5df
MA
15592012-04-19 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp.el (tramp-action-password): Let-bind
1562 `enable-recursive-minibuffers' to t.
1563
a77b0ac9
SS
15642012-04-18 Sam Steingold <sds@gnu.org>
1565
1566 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1567 instead of 'string to accommodate values like [f11].
1568 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1569 * progmodes/gdb-mi.el: Likewise.
1570
12a106a9
LL
15712012-04-18 Leo Liu <sdl.web@gmail.com>
1572
1573 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1574 current buffer.
1575 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1576 LOCAL is nil.
1577
bc6494ef
CY
15782012-04-18 Chong Yidong <cyd@gnu.org>
1579
1580 * simple.el (line-move): Use forward-line if in batch mode
1581 (Bug#11053).
1582
c09c46b2
CS
15832012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1584
1585 * files.el (after-find-file): Do not try to add a final newline if
1586 the buffer is read-only (Bug#11156).
1587
5f6530ea
RS
15882012-04-17 Richard Stallman <rms@gnu.org>
1589
1590 * mail/rmail.el (rmail-start-mail):
1591 Pass (rmail-mail-return...) for the return-action.
1592 Pass (rmail-yank-current-message...) for the yank-action.
1593 (rmail-yank-current-message): New function.
1594 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1595 (rmail-reply): Likewise.
1596 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1597
1598 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1599 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1600 buffer, not newbuf.
1601
197b6f3c
JB
16022012-04-17 Juanma Barranquero <lekktu@gmail.com>
1603
1604 * server.el (server-ensure-safe-dir): Simplify.
1605
2311d8e5 16062012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1607
2311d8e5
GM
1608 * emacs-lisp/smie.el: Provide smarter auto-filling.
1609 (smie-auto-fill): New function.
1610 (smie-setup): Use it.
98fb480e 1611
2311d8e5
GM
1612 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1613
16142012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1615
1616 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1617 (comment-indent): Use it.
1618
2311d8e5 16192012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1620
1621 * ses.el: The overall change is to add cell renaming, that is
1622 setting fancy names for cell symbols other than name matching
1623 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1624 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1625 (ses-create-cell-variable): New defun.
2311d8e5 1626 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1627 (ses-relocate-formula): Relocate formulas only for cells the
1628 symbols of which are not renamed, i.e. symbols whose names do not
1629 match regexp "\\`[A-Z]+[0-9]+\\'".
1630 (ses-relocate-all): Relocate values only for cells the symbols of
1631 which are not renamed.
1632 (ses-load): Create cells variables as the (ses-cell ...) are read,
1633 in order to check row col consistency with cell symbol name only
1634 for cells that are not renamed.
1635 (ses-replace-name-in-formula): New defun.
1636 (ses-rename-cell): New defun.
4bdf2ad2 1637
fc72b15c
PO
16382012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1639
1640 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1641 New option (bug#11118).
1642 (perl-calculate-indent): Respect it.
1643
12e10e61
GM
16442012-04-17 Glenn Morris <rgm@gnu.org>
1645
1646 * dired-aux.el (dired-mark-read-string): Doc fix.
1647
30009afd
DA
16482012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1649
1650 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1651 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1652
41f03f4d
GM
16532012-04-17 Glenn Morris <rgm@gnu.org>
1654
1655 * mouse.el (mouse-drag-track):
1656 * speedbar.el (speedbar-frame-mode):
1657 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1658
f45f90f3
LL
16592012-04-16 Leo Liu <sdl.web@gmail.com>
1660
1661 * progmodes/python.el: Trivial cleanup.
1662
94ee8db5
GM
16632012-04-16 Glenn Morris <rgm@gnu.org>
1664
121b8917
GM
1665 * vc/vc.el (vc-string-prefix-p):
1666 * vc/pcvs-util.el (cvs-string-prefix-p):
1667 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1668 * mpc.el (mpc-string-prefix-p):
1669 Make all of these into obsolete aliases for string-prefix-p.
1670 Update callers.
1671 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1672
1197ecfa
GM
1673 * textmodes/two-column.el: Move custom options to the start.
1674 (frame-width): Remove compat definition.
1675 (2C-associate-buffer, 2C-dissociate):
1676 Use with-current-buffer rather than save-excursion.
1677 (2C-dissociate): Force a mode-line update.
1678 (2C-autoscroll): Use ignore-errors.
1679
099e7202
GM
1680 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1681 Autoload trivia.
1682
bf350d6a
GM
1683 * emacs-lisp/cl-extra.el (*random-state*):
1684 Remove unnecessary declaration.
1685
0e829eab
GM
1686 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1687
e3ad7552
GM
1688 * play/cookie1.el (cookie-snarf):
1689 Give an explicit error if input file cannot be read.
1690
68892d27
GM
1691 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1692
20f0c46d
GM
1693 * progmodes/perl-mode.el (c-macro-expand):
1694 Remove unnecessary autoload (it is in loaddefs.el).
1695
5a0978ce
GM
1696 * textmodes/picture.el (picture-desired-column)
1697 (picture-update-desired-column): Convert comments to doc-strings.
1698 (picture-substitute): Remove function.
1699 (picture-mode-map): Initialize in the defvar.
1700
6b955486
GM
1701 * woman.el: Remove eval-after-load for tar-mode.
1702 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1703 (woman-tar-extract-file): Autoload it.
1704
94ee8db5
GM
1705 * frame.el (automatic-hscrolling): Make this alias obsolete.
1706
177eca34
AM
17072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1708
1709 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1710 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1711 (ispell-dictionary-base-alist): Revert to original XEmacs
1712 friendly version for default. [:alpha:] will be added in
1713 `ispell-set-spellchecker-params' if needed
177eca34 1714
c505aaeb
CY
17152012-04-16 Chong Yidong <cyd@gnu.org>
1716
1717 * image.el (imagemagick--extension-regexp): New variable.
1718 (imagemagick-register-types): Use it.
1719 (imagemagick-types-inhibit): Add :set function. Allow new value
1720 of t to inhibit all types.
1721
1722 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1723 so we can preload it.
1724
1725 * loadup.el (fboundp): Preload regexp-opt, needed by
1726 imagemagick-register-types.
1727
60efac0f
CY
17282012-04-15 Chong Yidong <cyd@gnu.org>
1729
1730 * frame.el (scrolling): Remove nearly unused customization group.
1731
1732 * scroll-all.el (scroll-all-mode): Move to windows group.
1733
5dd1713e
CY
17342012-04-15 Chong Yidong <cyd@gnu.org>
1735
1736 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1737
e6fd457e
CY
17382012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1741 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1742
e153c136
GM
17432012-04-15 Glenn Morris <rgm@gnu.org>
1744
1745 * simple.el (process-file-side-effects): Doc fix.
1746
e6fd457e 17472012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1748
1749 * international/mule-cmds.el (set-language-environment): Doc fix.
1750
3603c3b1
JB
17512012-04-14 Juanma Barranquero <lekktu@gmail.com>
1752
1753 * server.el (server-auth-key, server-generate-key): Doc fixes.
1754 (server-get-auth-key): Doc fix. Use `string-match-p'.
1755 (server-start): Reflow docstring.
1756
e6de100c
LI
17572012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1758
1759 * server.el (server-generate-key): `called-interactively-p'
1760 requires a parameter.
1761
29734c21
MN
17622012-04-14 Michal Nazarewicz <mina86@mina86.com>
1763
1764 * server.el (server-auth-key): New variable.
75f1671a 1765 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1766 (server-start): Use the new variable and functions to allow
1767 setting a permanent server key (bug#9423).
1768
d65c9521
LL
17692012-04-14 Leo Liu <sdl.web@gmail.com>
1770
1771 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1772
5ae255c7
PE
17732012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1774
1775 Spelling fixes.
1776 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1777 Emacs uses American spelling.
1778
d5e6342e
JB
17792012-04-14 Juanma Barranquero <lekktu@gmail.com>
1780
1781 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1782 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1783 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1784 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1785
ab036cd7
SM
17862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * progmodes/which-func.el (which-func-modes): Change default.
1789
35dc09a1 17902012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1791
1792 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1793 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1794
35dc09a1 17952012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1796
1797 * custom.el (custom-theme-set-variables): Doc fix.
1798
35dc09a1 17992012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1800
1801 * international/mule.el (set-auto-coding-for-load): Doc fix.
1802
35dc09a1 18032012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1804
35dc09a1
GM
1805 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1806 imenu work again for Objective C Mode. Correct the *-index values,
1807 these having been disturbed by a previous change in 2011-08.
57f845ee 1808
0de3da9f
AM
1809 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1810 Correct two search limits.
1811
35dc09a1 18122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1813
1814 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1815
35dc09a1 18162012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1817
1818 * international/characters.el: Fix sorting.
1819
35dc09a1 18202012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1821
1822 * international/characters.el: Add more missing Latin case pairs.
1823
35dc09a1 18242012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1825
1826 * files.el (dir-locals-set-class-variables): Doc fix.
1827
35dc09a1 18282012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1829
3f1b5bf8
EZ
1830 * international/characters.el: Add set-case-syntax-pair call for
1831 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1832 counterpart. (Bug#11209)
1833
9f847f41
EZ
1834 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1835
35dc09a1 18362012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1837
1838 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1839
35dc09a1 18402012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1841
35dc09a1
GM
1842 * textmodes/ispell.el (ispell-dictionary-base-alist):
1843 Add data for Hebrew.
e2627d21 1844
35dc09a1 18452012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1846
35dc09a1
GM
1847 * net/rcirc.el (rcirc-cmd-quit):
1848 Revert 2012-03-18 change (Bug#11192).
5c14e333 1849
35dc09a1 18502012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1851
1852 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1853
35dc09a1 18542012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1855
4517fe3a
SM
1856 * minibuffer.el (completion-in-region-mode-map):
1857 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1858
b472a594
VD
18592012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1860
1861 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1862
09b95ce3
MY
18632012-04-13 Masatake YAMATO <yamato@redhat.com>
1864
1865 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1866 to allow `C-M-f' and `C-M-b' to move to the nearest path
1867 separator (bug#9511).
1868
4b63a9ca
LI
18692012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1870
1871 * avoid.el: Require cl when compiling. And also move the
1872 `provide' to the end.
1873
7b55b8bf
TV
18742012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1875
1876 * avoid.el (mouse-avoidance-banish-position): New variable.
1877 (mouse-avoidance-banish-destination): Use it (bug#10165).
1878
adedaa1f
LL
18792012-04-13 Leo Liu <sdl.web@gmail.com>
1880
1881 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1882
70e74021
KB
18832012-04-13 Ken Brown <kbrown@cornell.edu>
1884
1885 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1886 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1887 (browse-url-filename-alist): For the same reason, don't modify
1888 file:// URLs on Cygwin.
1889
e75e89ba
SM
18902012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1893 the region on shift if the binding is already shifted (bug#11221).
1894
82f289a4
GM
18952012-04-12 Glenn Morris <rgm@gnu.org>
1896
1897 * mail/mailpost.el: Move to obsolete/.
1898
d333dc4c
DA
18992012-04-12 Drew Adams <drew.adams@oracle.com>
1900
1901 * imenu.el (imenu--generic-function): Ignore invisible definitions
1902 (bug#10123).
1903
0d15b5ba
VD
19042012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1905
1906 * hexl.el (hexl-bits): New variable.
1907 (hexl-options): Mention the variable in the doc string.
75f1671a 1908 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1909 (hexl-mode): Mention the new variable.
75f1671a
JB
1910 (hexl-mode, hexl-current-address, hexl-current-address):
1911 Use the displen.
0d15b5ba
VD
1912 (hexl-ascii-start-column): New function.
1913 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1914 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1915
64a440db
AM
19162012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1917
1918 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1919 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1920 the encoding, as expected by hunspell.
1921
6decb6c2
SM
19222012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * battery.el (battery--linux-sysfs-regexp): New const.
1925 (battery-status-function): Use it. Remove yeeloong special case.
1926 (battery-yeeloong-sysfs): Remove.
1927 (battery-echo-area-format): Remove yeeloong special case.
1928
088be6fb
SM
19292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1930
6622e416
SM
1931 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1932 Reported by Noah Friedman.
1933
088be6fb
SM
1934 * subr.el (read-passwd): Use read-string.
1935
b49f886e
LMI
19362012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1937
1938 * vcursor.el (vcursor-move): Increase the priority of the overlay
1939 (bug#9663).
1940
a63067fc
DD
19412012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1942
1943 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1944 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1945
ac3cf14a
WS
19462012-04-11 William Stevenson <yhvh2000@gmail.com>
1947
1948 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1949 define-minor-mode (bug#10760).
1950
c4fc691b 19512012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1952
4d6769e1 1953 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1954 that directories matching `grep-find-ignored-files' won't be
1955 pruned (bug#10351).
1956
af23e2e5
CY
19572012-04-11 Chong Yidong <cyd@gnu.org>
1958
1959 * startup.el (command-line): Remove support for long-obsolete
1960 variable font-lock-face-attributes.
1961
ab7ce8c1
GM
19622012-04-11 Glenn Morris <rgm@gnu.org>
1963
1964 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1965
de8c03dc
SM
19662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * window.el (window--state-get-1): Obey window-point-insertion-type.
1969
050cc68b
LB
19702012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1971
1972 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1973 to previous function when point is on the first character of a
75f1671a 1974 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1975
a38c310c
GM
19762012-04-11 Glenn Morris <rgm@gnu.org>
1977
effed0c2
GM
1978 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1979 not just file-errors.
1980
a38c310c
GM
1981 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1982 (vc-bzr-sha1): Use internal sha1.
1983
0221e323
SM
19842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1987
43956923
SG
19882012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1989
1990 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1991 that start in the middle of the line (bug#10496).
1992
6a8c9eaf
DN
19932012-04-10 Dan Nicolaescu <dann@gnu.org>
1994
1995 * battery.el (battery-linux-proc-acpi): Only one battery is
1996 discharged at a time, but that seems to confuse battery.el when
1997 computing `rate-type' for the battery not being discharged
1998 (bug#10332).
1999
1930bf5d
SM
20002012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2a718f6f
SM
2002 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2003
599430d0
SM
2004 * international/quail.el: Use dolist and simplify.
2005 (quail-define-package, quail-update-keyboard-layout)
2006 (quail-define-rules): Use dolist.
2007 (quail-insert-kbd-layout, quail-get-translation): CSE.
2008
a2754b6c
SM
2009 * tmm.el: Use dolist, remove left over hook.
2010 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2011 Use dolist.
2012 (calendar-load-hook): Don't mess with it.
2013
1930bf5d
SM
2014 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2015 Use derived-mode-p. Run the diff asynchronously.
2016
9f67961c
LMI
20172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2018
2019 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2020
2a8ce227
JB
20212012-04-10 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2024 (list-dynamic-libraries--loaded): New function.
2025 (list-dynamic-libraries--refresh): Use it.
2026
8f33b5f8
NW
20272012-04-10 Nathan Weizenbaum <nweiz@google.com>
2028
1930bf5d
SM
2029 * progmodes/python.el (python-fill-paragraph):
2030 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2031 disabled (bug#7018).
2032
b12f0439
L
20332012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2034
1930bf5d 2035 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2036 DOS/MS Windows for the Baltic languages. There are still plenty
2037 of texts written in this encoding/codepage (bug#6519).
b12f0439 2038
57c3bd01
GM
20392012-04-10 Glenn Morris <rgm@gnu.org>
2040
2041 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2042 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2043
6c3eab30
FA
20442012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2045
1930bf5d 2046 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2047 next-line "n" and previous-line "p" in order to make recentf more
2048 consistent with ibuffer, dired or org-mode (bug#9387).
2049
24d78a88
LMI
20502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051
bc72b5d9
LMI
2052 * image.el (put-image): Return the overlay created instead of the
2053 optional input string (bug#7834). Note that this may break code
2054 that is (for some reason or other) depending on `put-image'
2055 returning the string.
2056
bd2dba5a
LMI
2057 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2058
74beb59f
LMI
2059 * simple.el (zap-to-char): Allow zapping using input methods
2060 (bug#1580).
2061
24d78a88
LMI
2062 * textmodes/fill.el (fill-region): Leave point and mark where they
2063 were before filling (bug#5399).
2064
263f20cd
GM
20652012-04-09 Glenn Morris <rgm@gnu.org>
2066
2067 * version.el (emacs-bzr-get-version):
2068 Handle lightweight checkouts of local branches.
2069
58d1f797
AS
20702012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2071
263f20cd 2072 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2073
b4d3bc10
CY
20742012-04-09 Chong Yidong <cyd@gnu.org>
2075
2076 * custom.el (custom-variable-p): Return nil for non-symbol
2077 arguments instead of signaling an error.
2078 (user-variable-p): Obsolete alias for custom-variable-p.
2079
2080 * apropos.el (apropos-variable):
2081 * files-x.el (read-file-local-variable):
2082 * simple.el (set-variable):
2083 * woman.el (woman-mini-help):
2084 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2085
fd06db5d
GM
20862012-04-09 Glenn Morris <rgm@gnu.org>
2087
e5fcdb5e
GM
2088 * startup.el (normal-top-level): Don't look for leim-list.el
2089 in places where it will not be found. (Bug#910)
2090
fd06db5d
GM
2091 * international/mule-cmds.el (set-default-coding-systems):
2092 * files.el (normal-mode):
2093 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2094 This function was removed with ucs-tables.el in 2008.
2095
b39bb7e1
EZ
20962012-04-08 Eli Zaretskii <eliz@gnu.org>
2097
2098 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2099 ispell-encoding8-command to "-i", without a trailing space.
2100 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2101 separate command-line arguments, to specify the encoding, since
2102 that's how hunspell expects it.
2103
5c5b8e23
GM
21042012-04-08 Glenn Morris <rgm@gnu.org>
2105
2106 * loadup.el: Load bindings before cus-start.
2107 This reduces somewhat the number of "rogue" settings in emacs -Q.
2108
a1ed8b05
GM
21092012-04-07 Glenn Morris <rgm@gnu.org>
2110
2111 * version.el (emacs-bzr-get-version): New function.
dfae128a 2112 (emacs-bzr-version): New variable.
a1ed8b05
GM
2113 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2114 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2115
b142f158
EZ
21162012-04-07 Eli Zaretskii <eliz@gnu.org>
2117
dfae128a
GM
2118 * international/uni-bidi.el, international/uni-category.el:
2119 * international/uni-combining.el, international/uni-decimal.el:
2120 * international/uni-decomposition.el, international/uni-digit.el:
2121 * international/uni-lowercase.el, international/uni-mirrored.el:
2122 * international/uni-name.el, international/uni-numeric.el:
2123 * international/uni-titlecase.el, international/uni-uppercase.el:
2124 Update for Unicode 6.1.
b142f158 2125
9078ead6
EZ
21262012-04-07 Eli Zaretskii <eliz@gnu.org>
2127
2128 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2129
f23d2c7d
LMI
21302012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2131
2132 * window.el (shrink-window): Mention the `window-min-height'
2133 variable in the doc string.
2134
0a0a3573
BG
21352012-04-05 Bastien Guerry <bzg@altern.org>
2136
2137 * color.el (color-lighten-name): Fix typo.
2138
e5248ac9
SM
21392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * server.el (server--on-display-p): New function.
2142 (server--on-display-p): Use it.
2143
b4243e22
GV
21442012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2145
2146 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2147 (bug#11145).
2148
305d9f44
SM
21492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * comint.el (comint--common-quoted-suffix): Check string boundary
2152 before comparing (bug#11158).
2153 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2154
3d439cd1
CY
21552012-04-04 Chong Yidong <cyd@gnu.org>
2156
321cc491
CY
2157 * minibuffer.el (completion-extra-properties): Doc fix.
2158
3d439cd1
CY
2159 * subr.el (delayed-warnings-hook): Doc fix.
2160
2d562c0f
DU
21612012-04-04 Daiki Ueno <ueno@unixuser.org>
2162
2163 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2164 selection (Bug#11159).
2165 (epa-insert-keys): Inform that the default public key will be
2166 exported if no key is selected.
2167
4443f204
RS
21682012-04-04 Richard Stallman <rms@gnu.org>
2169
2170 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2171
529c06b6
CY
21722012-04-03 Chong Yidong <cyd@gnu.org>
2173
2174 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2175 mail-insert-file, not its obsolete alias mail-attach-file.
2176
66b907dc
MA
21772012-04-03 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * notifications.el (notifications-notify): Fix docstring.
2180
c0ea195d
GM
21812012-04-02 Glenn Morris <rgm@gnu.org>
2182
2183 * emacs-lisp/authors.el (authors-aliases): Another addition.
2184
5ca64e00
MA
21852012-04-02 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2188 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2189 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2190
42ee526b
CY
21912012-04-01 Chong Yidong <cyd@gnu.org>
2192
2193 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2194 Handle root directory properly.
2195 (copy-directory): Caller changed.
2196
2197 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2198 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2199
0b021094
GM
22002012-03-31 Glenn Morris <rgm@gnu.org>
2201
40f86458
GM
2202 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2203
7019c177
GM
2204 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2205
a1daddd6
GM
2206 * calendar/calendar.el (calendar-window-list)
2207 (calendar-hide-window): Restore. (Bug#11140)
2208 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2209
0b021094
GM
2210 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2211
40311efc
TV
22122012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2213
2214 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2215 Check if file is a symlink (Bug#10489).
2216
2217 * files.el (copy-directory): Likewise.
2218
5319014e
CY
22192012-03-30 Chong Yidong <cyd@gnu.org>
2220
2221 * image.el (imagemagick-types-inhibit)
2222 (imagemagick-register-types): Doc fix.
2223
935d1290
AM
22242012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2225
ef24141c
SM
2226 * ispell.el (ispell-get-extended-character-mode):
2227 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2228 and treats ~word as ordinary words in pipe mode.
935d1290 2229
61c6e8fd
GM
22302012-03-30 Glenn Morris <rgm@gnu.org>
2231
2232 * tutorial.el (help-with-tutorial): Ensure local variables don't
2233 happen to make the buffer read-only. (Bug#11127)
2234
81fdff00
SM
22352012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2238 (perl-calculate-indent): Return `noindent' in strings.
2239
6e7a6ec0
SS
22402012-03-28 Sam Steingold <sds@gnu.org>
2241
2242 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2243 instead of the broken adhockery which does not prevent calendar
2244 buffers from being displayed at random after exit.
2245 (calendar-window-list, calendar-hide-window): Remove the broken
2246 adhockery.
2247
fee88ca0
GM
22482012-03-28 Glenn Morris <rgm@gnu.org>
2249
2250 * replace.el (query-replace-map): Doc fix.
2251
38de3354
AS
22522012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2253
2254 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2255 contents. (Bug#11109)
2256
b973155e
SM
22572012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2260 (bug#11077).
2261 (avl-tree--check, avl-tree--check-node): New funs.
2262
dcb6e7b3
MR
22632012-03-27 Martin Rudalics <rudalics@gmx.at>
2264
2265 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2266 (switch-to-prev-buffer, switch-to-next-buffer):
2267 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2268 showing a buffer already is done on the same frame.
2269
b4fa35fa
GM
22702012-03-27 Glenn Morris <rgm@gnu.org>
2271
2272 * startup.el (mail-host-address): Doc fix.
2273
f9210e18
SM
22742012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2277 than 197 variables.
2278
c0bf7753
AF
22792012-03-26 Ami Fischman <ami@fischman.org>
2280
2281 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2282
33da7b16
GM
22832012-03-26 Glenn Morris <rgm@gnu.org>
2284
02243d9d
GM
2285 * files.el (save-buffers-kill-emacs): Doc fix.
2286
33da7b16
GM
2287 * startup.el (normal-top-level, command-line, command-line-1):
2288 Give them doc strings.
2289
e5a69fd0
EZ
22902012-03-25 Eli Zaretskii <eliz@gnu.org>
2291
2292 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2293 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2294
9a69676a
CY
22952012-03-25 Chong Yidong <cyd@gnu.org>
2296
4125cb8b
CY
2297 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2298 theme if it was previously enabled before (Bug#11031).
2299
dd470960
CY
2300 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2301 spec with custom-face-get-current-spec if its :shown-value is not
2302 determined yet (Bug#9337).
4125cb8b 2303 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2304
9a69676a
CY
2305 * button.el (button-at): Minor addition to docstring.
2306
6e7e90fa
SL
23072012-03-24 Simon Leinen <simon.leinen@gmail.com>
2308
2309 * vc/vc.el (vc-merge): Fix a prompt.
2310
f06e2758
CY
23112012-03-24 Chong Yidong <cyd@gnu.org>
2312
2313 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2314 point (Bug#9623).
2315
6e7e90fa
SL
2316 * button.el (button-at): Minor addition to docstring.
2317
b9d0879b
SM
23182012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * newcomment.el (comment-choose-indent): No space after BOL.
2321
e71cebb3
SS
23222012-03-22 Sam Steingold <sds@gnu.org>
2323
2324 * window.el (switch-to-prev-buffer): Revert last patch because the
2325 bug turned out to be an advertised feature (Elisp manual 28.14).
2326
335aff35
GM
23272012-03-22 Glenn Morris <rgm@gnu.org>
2328
2329 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2330 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2331
c676576a
LMI
23322012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2333
2334 * net/network-stream.el (network-stream-open-starttls): Make error
2335 message under Windows be less misleading.
2336
126f3d39
LW
23372012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2338
2339 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2340 understands (bug#9942).
2341
64fee311
CY
23422012-03-22 Chong Yidong <cyd@gnu.org>
2343
2344 * simple.el (end-of-visible-line): Handle return value of
2345 next-single-property-change properly (Bug#9371).
2346
a640d29a
KH
23472012-03-22 Kenichi Handa <handa@m17n.org>
2348
2349 * international/quail.el (quail-insert-kbd-layout): Fix previous
2350 change. To avoid unwanted bidi reordering, use
2351 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2352
39675016
DG
23532012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2354
2355 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2356 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2357 (ruby-beginning-of-indent): Be more careful with the difference
2358 between word-boundary and symbol boundary.
2359 (ruby-mode-syntax-table): Make : a symbol constituent.
2360
0a6934fc 23612012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2362
3d008e4f
SM
2363 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2364
0a6934fc
SM
23652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2366
af67c9d7
SM
2367 * progmodes/etags.el (tags-completion-at-point-function):
2368 Improve last fix.
2369
1acad97c
SM
2370 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2371
e298b5da
SS
23722012-03-21 Sam Steingold <sds@gnu.org>
2373
2374 * progmodes/etags.el (tags-completion-at-point-function):
2375 Avoid the error when point is inside the pattern.
2376
91d82a70
JY
23772012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2378
2379 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2380 line (Bug#10855).
2381
69188b79
CY
23822012-03-21 Drew Adams <drew.adams@oracle.com>
2383
2384 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2385
99fc91fe
AK
23862012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2387
2388 * ido.el (ido-set-current-directory, ido-read-internal)
2389 (ido-choose-completion-string, ido-completion-help): Handle nil
2390 value of ido-completion-buffer (Bug#11008).
2391
087bbb4c
SS
23922012-03-21 Sam Steingold <sds@gnu.org>
2393
2394 * window.el (switch-to-prev-buffer): Do not switch to a visible
2395 window previous buffer, just like with the frame previous buffers.
2396
fb5b8aca
CY
23972012-03-21 Chong Yidong <cyd@gnu.org>
2398
2399 * faces.el (make-face, make-empty-face, copy-face):
2400 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2401 Doc fixes.
2402
dc9924b8
SM
24032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2406 (widget-complete): Remove broken use of it.
2407
f0bcceb9
CY
24082012-03-20 Chong Yidong <cyd@gnu.org>
2409
dc9924b8
SM
2410 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2411 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2412 characters.
2413
ee52ebf3
TH
24142012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2415
2416 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2417 to draw rectangles, not squares. (Regression introduced by revno
2418 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2419
4c5779ab
CY
24202012-03-18 Chong Yidong <cyd@gnu.org>
2421
2422 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2423 it is not yet defined (for temacs).
2424
15360934
LL
24252012-03-18 Leo Liu <sdl.web@gmail.com>
2426
dc9924b8 2427 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2428
d9a8eb66
EZ
24292012-03-17 Eli Zaretskii <eliz@gnu.org>
2430
2431 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2432 (ispell-choices-win-default-height, ispell-silently-savep)
2433 (ispell-dictionary-alist, ispell-encoding8-command)
2434 (ispell-check-version, ispell-aspell-find-dictionary)
2435 (ispell-valid-dictionary-list, ispell-words-keyword)
2436 (ispell-get-word, ispell-internal-change-dictionary)
2437 (ispell-region, ispell-skip-region-list)
2438 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2439 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2440 (ispell-message-text-end, ispell-message)
2441 (ispell-buffer-local-parsing): Doc fix.
2442
f02ff80d
J
24432012-03-13 Jambunathan K <kjambunathan@gmail.com>
2444
2445 * htmlfontify.el: Add support for code block fontification for ODT
2446 export (Bug #9914).
2447 (hfy-optimisations): Define new option
2448 `body-text-only'
2449 (hfy-fontify-buffer): Honor above setting.
2450 (hfy-begin-span, hfy-end-span): New routines factored out form
2451 `hfy-fontify-buffer'.
2452 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2453 that permit insertion of custom tags.
2454 (hfy-fontify-buffer): Use above handlers.
2455 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2456 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2457 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2458 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2459 bind a special variable `hfy-user-sheet-assoc'.
2460 (htmlfontify-string): New defun.
2461 (hfy-compile-face-map): Make sure that the last char in the
2462 buffer is correctly fontified.
2463 (hfy-face-resolve-face): Whitespace only change.
2464
9ac7a13f
EZ
24652012-03-17 Eli Zaretskii <eliz@gnu.org>
2466
2467 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2468 message more clear.
2469
e2b5bdd7
LL
24702012-03-16 Leo Liu <sdl.web@gmail.com>
2471
2472 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2473
2e492df3
AM
24742012-03-16 Alan Mackenzie <acm@muc.de>
2475
2476 Further optimise the handling of large macros.
2477
2478 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2479 limit to a call of `c-literal-limits'.
2480 (c-determine-+ve-limit): New function.
dc9924b8
SM
2481 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2482 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2483 In CASE 5B, restrict a search limit to 500.
2484 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2485
2486 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2487 Restrict macro bounds to +-500 from after-change's BEG END.
2488
50e94f0c
LL
24892012-03-16 Leo Liu <sdl.web@gmail.com>
2490
2491 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2492
6f09f6ed
AH
24932012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2494
2495 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2496 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2497
c7e73d51
GM
24982012-03-16 Glenn Morris <rgm@gnu.org>
2499
da986230
GM
2500 * view.el (view-buffer, view-buffer-other-window)
2501 (view-buffer-other-frame): Doc fixes re special mode-class.
2502
0835f01e
GM
2503 * subr.el (eval-after-load): If named feature is provided not from
2504 a file, run after-load forms. (Bug#10946)
2505
c7e73d51
GM
2506 * calendar/calendar.el (calendar-insert-at-column):
2507 Handle non-unit-width characters a bit better. (Bug#10978)
2508
3f2eafd1
CY
25092012-03-15 Chong Yidong <cyd@gnu.org>
2510
2511 * emacs-lisp/ring.el (ring-extend): New function.
2512 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2513
2514 * comint.el (comint-read-input-ring)
2515 (comint-add-to-input-history): Grow comint-input-ring lazily.
2516
103af3fe
SM
25172012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2518
663b1677
SM
2519 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2520 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2521
103af3fe
SM
2522 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2523 (imenu-add-to-menubar): Don't add a redundant index.
2524 (imenu-update-menubar): Handle a dynamically composed keymap.
2525
899cb7cb
KY
25262012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2527
2528 * mail/sendmail.el (mail-encode-header):
2529 Bind rfc2047-encode-encoded-words to nil.
2530
3809f91d
GM
25312012-03-13 Glenn Morris <rgm@gnu.org>
2532
2533 * calendar/calendar.el (calendar-string-spread):
2534 Handle non-unit-width characters a bit better. (Bug#10978)
2535
9e345a01
LL
25362012-03-13 Leo Liu <sdl.web@gmail.com>
2537
2538 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2539 directory and file as argument (Bug#10822).
2540
4a07df36
KS
25412012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2542
2543 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2544 For dynamically generated code, follow $PC.
2545 (gdb-disassembly-handler-custom): Handle no function name case.
2546
4aaa9356
TL
25472012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2548
2549 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2550 * emulation/ws-mode.el (ws-query-replace):
2551 * sort.el (sort-regexp-fields):
2552 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2553
225979da
SM
25542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * dabbrev.el: Fix cycle completion order (bug#10963).
2557 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2558 (dabbrev-completion): Don't use an obarray; provide
2559 a cycle-sort-function.
2560
e2f1fdab
LL
25612012-03-12 Leo Liu <sdl.web@gmail.com>
2562
dc9924b8 2563 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2564 (kill-do-not-save-duplicates): Doc fix.
2565
b19490ed
SM
25662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * dabbrev.el: Fix cycle completion (bug#10963).
2569 Use lexical binding and wrap to 80 columns.
2570 (dabbrev-completion): Delay computing the list of completions.
2571
4b05d722
KH
25722012-03-12 Kenichi Handa <handa@m17n.org>
2573
2574 * international/quail.el (quail-insert-kbd-layout): Surround each
2575 row by LRO and PDF instead of inserting many LRMs. Pad the left
2576 and right of each non-spacing marks. Insert invisible space
2577 between lower and upper characters to prevent composition.
2578
dbbc2e69
SM
25792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * minibuffer.el (minibuffer-complete): Don't get confused when the
2582 function is run twice via different commands (bug#10958).
2583 (complete-with-action): Fix docstring.
2584
292112ed
CY
25852012-03-12 Chong Yidong <cyd@gnu.org>
2586
5d1ac394
CY
2587 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2588 (nxml-completion-at-point-function): New function.
2589 (nxml-mode): Use it.
2590 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2591
292112ed
CY
2592 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2593 Load generated autoloads file before byte compiling (Bug#10970).
2594 (package--make-autoloads-and-compile): New helper fun.
2595
4098f8f7
CS
25962012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2597
2598 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2599
8f754691
MA
26002012-03-11 Michael Albinus <michael.albinus@gmx.de>
2601
2602 * autorevert.el (auto-revert-handler): Ensure, that
2603 file-readable-p is applied only for local files or in
2604 auto-revert-tail-mode.
2605
e29ab36b
AS
26062012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2607
dbbc2e69
SM
2608 * server.el (server-eval-at): Handle non-tcp connections.
2609 Decode result string.
ad0bf5b6 2610
e29ab36b
AS
2611 * server.el (server-msg-size): New constant.
2612 (server-reply-print): New function.
2613 (server-eval-and-print): Use it.
2614 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2615 Handle -print-nonl.
2616
de5939ba
CS
26172012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2618
2619 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2620 (Bug#10987).
2621
0c93eabf
CY
26222012-03-11 Chong Yidong <cyd@gnu.org>
2623
397a688f
CY
2624 * simple.el (goto-line): Doc fix (Bug#9938).
2625
2cc775f9
CY
2626 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2627
0c93eabf
CY
2628 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2629 when finished (Bug#10963).
2630
c491fa41
MR
26312012-03-11 Martin Rudalics <rudalics@gmx.at>
2632
2633 * window.el (split-window-below): Fix bug in case where
2634 split-window-keep-point is nil (Bug#10971).
2635
300e8fa5
JL
26362012-03-11 Juri Linkov <juri@jurta.org>
2637
2638 * replace.el (replace-highlight): Set isearch-word to nil
2639 unconditionally. (Bug#10887)
2640
dbf6c5a1
EZ
26412012-03-10 Eli Zaretskii <eliz@gnu.org>
2642
2643 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2644 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2645 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2646 (mairix-widget-create-query): Add usage information about mairix
2647 search forms: negating words, searching for substrings, etc.
2648
b9e501de
JP
26492012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2650
2651 * international/fontset.el (font-encoding-alist): Add an entry for
2652 ksx1001 (Bug#5667).
2653
92795c91
RS
26542012-03-10 Richard Stallman <rms@gnu.org>
2655
1694e6c1
RS
2656 * mail/sendmail.el (mail-encode-header):
2657 Set rfc2047-encode-encoded-words.
2658
607e8555
RS
2659 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2660
de3bc99a
RS
2661 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2662 view buffer means not swapped.
2663 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2664 (rmail-write-region-annotate): Error if real text has disappeared.
2665
92795c91
RS
2666 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2667
699bd04e
CY
26682012-03-10 Chong Yidong <cyd@gnu.org>
2669
2670 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2671 * emulation/cua-base.el (cua--init-keymaps):
2672 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2673
570a1714
MR
26742012-03-10 Martin Rudalics <rudalics@gmx.at>
2675
dbbc2e69
SM
2676 * speedbar.el (speedbar-unhighlight-one-tag-line):
2677 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2678
82dcf4e4
CY
26792012-03-10 Chong Yidong <cyd@gnu.org>
2680
7a2c7ca7
CY
2681 * minibuffer.el (completion-in-region, completion-help-at-point):
2682 Give the completion field overlay a high priority (Bug#6830).
2683
82dcf4e4
CY
2684 * dired.el (dired-goto-file): Recognize absolute file name
2685 listings (Bug#7126).
2686 (dired-goto-file-1): New helper function.
2687 (dired-toggle-read-only): Inhibit warnings.
2688
052e28ac
MA
26892012-03-09 Michael Albinus <michael.albinus@gmx.de>
2690
75f1671a 2691 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2692 there are no properties.
2693
95d5e396
LL
26942012-03-09 Leo Liu <sdl.web@gmail.com>
2695
2696 * savehist.el (savehist-printable): Stricter check for string
2697 value (Bug#10937).
2698
3f018d6d
EZ
26992012-03-09 Eli Zaretskii <eliz@gnu.org>
2700
dbbc2e69
SM
2701 * mail/smtpmail.el (smtpmail-send-it):
2702 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2703 valid mbox format.
2704
f7fd3d79
GM
27052012-03-09 Glenn Morris <rgm@gnu.org>
2706
2707 * files.el (dir-locals-find-file):
2708 Don't check result is regular, readable.
2709 (dir-locals-read-from-file): Demote errors.
2710
6ff6e72f
EZ
27112012-03-08 Eli Zaretskii <eliz@gnu.org>
2712
dbbc2e69
SM
2713 * international/quail.el (quail-insert-kbd-layout):
2714 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2715 layout cell, to prevent their reordering by bidi display engine.
2716 For details, see the discussion in
2717 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2718
9cec7834
AM
27192012-03-08 Alan Mackenzie <acm@muc.de>
2720
2721 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2722 the starting position; make it extend the marked region when
2723 invoked repeatedly - all under appropriate circumstances.
2724 Fixes bugs #5525, #10906.
2725
9a40b8d4
GM
27262012-03-08 Glenn Morris <rgm@gnu.org>
2727
2728 * files.el (locate-dominating-file, dir-locals-find-file):
2729 Undo 2012-03-06 change.
2730
7a08ed35
EZ
27312012-03-07 Eli Zaretskii <eliz@gnu.org>
2732
dbbc2e69
SM
2733 * international/quail.el (quail-help):
2734 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2735 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2736 for the reason.
2737
5aca4f71 27382012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2739
2740 Avoid superfluous registering of signals. (Bug#10807)
2741
2742 * notifications.el (notifications-on-action-object)
2743 (notifications-on-close-object): New defvars.
2744 (notifications-on-action-signal, notifications-on-closed-signal):
2745 Unregister the signal if not needed any longer.
2746 (notifications-notify): Register `notifications-action-signal' or
2747 `notifications-closed-signal', if :on-action or :on-close has been
2748 passed as argument.
2749
78e8b10a
CY
27502012-03-07 Chong Yidong <cyd@gnu.org>
2751
2752 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2753 non-X platforms.
2754
69481eb8
GM
27552012-03-06 Glenn Morris <rgm@gnu.org>
2756
2757 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2758 (x-disown-selection-internal, x-get-selection-internal):
2759 Doc fix (add arglist signatures). (Bug#10783)
2760
133b8e11
KS
27612012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2762
2763 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2764 Handle breakpoints with no "type".
2765
99a83064
GM
27662012-03-06 Glenn Morris <rgm@gnu.org>
2767
2768 * files.el (locate-dominating-file): Add optional predicate argument.
2769 (dir-locals-find-file): Make use of above change.
2770
17798e78
TTN
27712012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2772
2773 * info.el (Info-insert-dir): Also try "dir.gz".
2774
eb182446
GM
27752012-03-06 Glenn Morris <rgm@gnu.org>
2776
8f2114ee
GM
2777 * files.el (dir-locals-find-file):
2778 Ignore non-readable or non-regular files. (Bug#10928)
2779
eb182446
GM
2780 * files.el (locate-dominating-file): Doc fix.
2781
24679323
AS
27822012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2783
2784 * calendar/calendar.el (calendar-set-mode-line):
2785 `getenv' returns a string. (Bug#10951)
2786
01d972a9
LL
27872012-03-05 Leo Liu <sdl.web@gmail.com>
2788
109aa8a9
LL
2789 * simple.el (backward-delete-char-untabify): Constrain point to
2790 field (Bug#10939).
2791
01d972a9
LL
2792 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2793
10607bea
CY
27942012-03-05 Chong Yidong <cyd@gnu.org>
2795
2796 * simple.el (count-words): If called from Lisp, return the word
2797 count, for symmetry with `count-lines'. Arglist changed.
2798 (count-words--message): Args changed. Consolidate counting code
2799 from count-words and count-words-region.
2800 (count-words-region): Caller changed.
2801 (count-lines-region): Make it an obsolete alias.
2802
5dd11cfe
TH
28032012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2804
2805 * saveplace.el (save-place-to-alist)
2806 (save-place-ignore-files-regexp): Allow value nil to disable this
2807 feature.
2808
c349f4e6
CY
28092012-03-04 Chong Yidong <cyd@gnu.org>
2810
2811 * faces.el (face-spec-reset-face): For the default face, reset the
2812 attributes to default values (Bug#10748).
2813
e627be4c
LMI
28142012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2815
2816 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2817 previous patch: Check `message-send-mail-function', and not the
2818 default function (bug#10897).
2819
ebeabff4
MA
28202012-03-04 Michael Albinus <michael.albinus@gmx.de>
2821
a41a6cf4
MA
2822 * notifications.el (notifications-on-action-signal)
2823 (notifications-on-closed-signal): Check for unique service name of
2824 incoming event. Fix error in removing entry.
ebeabff4 2825 (top): Register for signals with wildcard service name.
a41a6cf4 2826 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2827
c1ca42b4
CY
28282012-03-04 Chong Yidong <cyd@gnu.org>
2829
dc9924b8 2830 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2831
ea16568d
GM
28322012-03-04 Glenn Morris <rgm@gnu.org>
2833
2834 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2835 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2836 (expand-abbrev, define-abbrev-table): Doc fixes.
2837
fbae4637
LMI
28382012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2839
2840 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2841 `message-default-send-mail-function' and not `send-mail-function'
2842 when doing the prompting for `sendmail-query-once' before sending
2843 in Message buffers (bug#10897).
2844
a1e7225c
LMI
2845 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2846 This is inconsistent with all the other stream functions, which leave
2847 the setting up to the higher levels (if so wanted) (bug#10931).
2848
56d093a9
AM
28492012-03-02 Alan Mackenzie <acm@muc.de>
2850
2851 Depessimize the handling of very large macros.
2852
2853 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2854 (c-macro-cache-syntactic): New variables to implement a one
2855 element macro cache.
2856 (c-invalidate-macro-cache): New function.
2857 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2858 Adapt to use the new cache.
2859 (c-state-safe-place): Use better the cache of safe positions.
2860 (c-state-semi-nonlit-pos-cache)
2861 (c-state-semi-nonlit-pos-cache-limit):
2862 New variables for...
2863 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2864 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2865 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2866 Use c-state-semi-safe-place.
56d093a9 2867
dbbc2e69
SM
2868 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2869 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2870
817e5c3d
MA
28712012-03-02 Michael Albinus <michael.albinus@gmx.de>
2872
dbbc2e69
SM
2873 * jka-compr.el (jka-compr-call-process):
2874 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2875 not remote.
2876
a032a702
MA
28772012-03-01 Michael Albinus <michael.albinus@gmx.de>
2878
2879 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2880 access of FILE2, if FILE1 does not exist.
2881
99a54f21
MA
2882 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2883 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2884
2885 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2886 Add "PAGER=" to `process-environment'.
2887
f6561e1f
MM
28882012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2889
2890 * progmodes/sql.el: Bug fix
2891 (sql-get-login-ext): Save login values in globals.
2892 (sql-get-login): Use new version of `sql-get-login-ext'.
2893 (sql-interactive-mode): Set global `sql-connection' to nil.
2894 (sql-connect): Set global values for connection.
2895 (sql-product-interactive): Save global values as buffer local.
2896
2d44d9cc
LL
28972012-02-29 Leo Liu <sdl.web@gmail.com>
2898
2899 * abbrev.el (define-abbrevs): Reset sys to nil.
2900
96b49301 29012012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2902
bf7f9bc5
JB
2903 * files.el (file-equal-p): Rename from `files-equal-p'.
2904 Return nil when one or both files don't exist.
96b49301 2905 (file-subdir-of-p): Now only top directory must exists,
2906 return nil if it doesn't.
bf7f9bc5
JB
2907 (copy-directory): No need to test with `file-subdir-of-p' after
2908 creating dir.
2909 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2910 to `file-equal-p'.
96b49301 2911
44e97401
GM
29122012-02-28 Glenn Morris <rgm@gnu.org>
2913
2914 * shell.el (shell-mode):
2915 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2916 * play/landmark.el (landmark-font-lock-face-O):
2917 * play/handwrite.el (handwrite):
2918 * play/gomoku.el (gomoku-O):
2919 * net/browse-url.el (browse-url-browser-display):
2920 * international/mule.el (define-charset):
2921 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2922 * filesets.el (filesets-find-file-delay):
2923 * eshell/em-xtra.el (eshell-xtra):
2924 * eshell/em-unix.el (eshell-grep):
2925 * emulation/viper.el (viper-mode):
2926 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2927 * emacs-lisp/easymenu.el (easy-menu-define):
2928 * calendar/timeclock.el (timeclock-use-display-time):
2929 * bs.el (bs-mode):
2930 * bookmark.el (bookmark-save-flag):
2931 Doc fix (standardize possessive apostrophe usage).
2932
c98c6276
CY
29332012-02-27 Chong Yidong <cyd@gnu.org>
2934
bf7f9bc5
JB
2935 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2936 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2937
c98c6276
CY
2938 * font-lock.el (font-lock-specified-p): Rename from
2939 font-lock-spec-present. Callers changed.
2940
9c62cd04 29412012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2942
bf7f9bc5
JB
2943 * emacs-lisp/package.el (package-compute-transaction):
2944 Handle holding a package version to t in package-load-list.
8ac9e529 2945
530739c9
MA
29462012-02-26 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2949 (tramp-get-inode, tramp-get-device): Use cached values.
2950
487915d7
AM
29512012-02-26 Alan Mackenzie <acm@muc.de>
2952
2953 Check there is a font-lock specification before doing initial
2954 fontification.
2955
2956 * font-core.el (font-lock-mode): Move the conditional from
2957 :after-hook to font-lock-initial-fontify.
2958 (font-lock-default-function): Move the check for a specification
2959 to font-lock-spec-present.
2960
dc9924b8 2961 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2962 (font-lock-spec-present): New function.
2963
4fd96557
JB
29642012-02-26 Jim Blandy <jimb@red-bean.com>
2965
2966 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2967 (gdb-send): Apply it to the operand of the '-interpreter-exec
2968 console' command, so that we can pass arguments with (say) quotes
2969 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2970
9a4888c0
CY
29712012-02-26 Chong Yidong <cyd@gnu.org>
2972
07498861
CY
2973 * help-fns.el (describe-function-1): Clarify description of
2974 remapping (Bug#10844).
2975
9a4888c0
CY
2976 * files.el (files-equal-p): Doc fix.
2977 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2978 and quit the loop once a mismatch is found.
2979
ea8fb88d
JB
29802012-02-25 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * bs.el (bs--show-with-configuration): Don't throw an error
2983 if the window cannot be split; otherwise, subsequent calls to
2984 bs-show fail, restoring a stale window config. (Bug#10882)
2985
525795c1
JD
29862012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2987
2988 * term/ns-win.el (global-map): Bind ns-drag-file to
2989 ns-find-file (Bug#5855, Bug#10050).
2990
f008086f
AS
29912012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2992
2993 * calendar/parse-time.el (parse-time-string): Allow extractor to
2994 return nil.
2995
a3fcfa99
MA
29962012-02-25 Michael Albinus <michael.albinus@gmx.de>
2997
91027d08
JB
2998 * net/tramp.el (tramp-file-name-for-operation):
2999 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3000
3001 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3002 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3003 Add COPY-CONTENTS argument.
a3fcfa99 3004
67b0de11
CY
30052012-02-25 Chong Yidong <cyd@gnu.org>
3006
3007 Add custom groups for VC backends, for consistency with vc-bzr.
3008
3009 * vc/vc-arch.el (vc-arch):
3010 * vc/vc-cvs.el (vc-cvs):
3011 * vc/vc-git.el (vc-git):
3012 * vc/vc-hg.el (vc-hg):
3013 * vc/vc-mtn.el (vc-mtn):
3014 * vc/vc-rcs.el (vc-rcs):
3015 * vc/vc-sccs.el (vc-sccs):
3016 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3017 All relevant defcustoms reassigned.
3018
3c9dfce6
CY
30192012-02-25 Chong Yidong <cyd@gnu.org>
3020
1339bf43
CY
3021 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3022
3c9dfce6
CY
3023 * term/x-win.el (x-initialize-window-system): Reduce default for
3024 x-selection-timeout to 5 seconds (Bug#8869).
3025
25b2e303 30262012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3027
ec70a47d
GM
3028 * files.el (files-equal-p, file-subdir-of-p): New functions.
3029 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3030 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3031 * dired-aux.el (dired-copy-file-recursive): Same.
3032 (dired-create-files): Modify destination when source is equal to
3033 dest when copying files.
53a46cd0 3034 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3035
914260cd
MA
30362012-02-24 Michael Albinus <michael.albinus@gmx.de>
3037
3038 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3039 (Bug#10874)
3040
2cb228f7
AM
30412012-02-23 Alan Mackenzie <acm@muc.de>
3042
3043 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3044 parameter "after-hook:" to allow the expansion to run code after
3045 the execution of the mode hooks.
3046
3047 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3048 from font-lock-mode-internal.
2cb228f7 3049
91027d08 3050 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3051 :after-hook.
3052
8f0fde21
SM
30532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3e88618b
SM
3055 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3056 (completion--cache-all-sorted-completions): New function.
3057 (completion-all-sorted-completions): Use it.
3058 (completion--do-completion, minibuffer-force-complete):
3059 Use it to re-instate the flush hook.
3060
8f0fde21
SM
3061 * icomplete.el (icomplete-completions): Replace last fix with a better
3062 one (bug#10850).
3063
8e911f6f
DG
30642012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3065
3066 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3067 when it might call us back infinitely (bug#10797).
3068
49fe4321
GM
30692012-02-23 Glenn Morris <rgm@gnu.org>
3070
3071 * minibuffer.el (completion-category-overrides): Doc fix.
3072
b291b572
SM
30732012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3076 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3077
31a9ef2e
GM
30782012-02-23 Glenn Morris <rgm@gnu.org>
3079
5e6e6794 3080 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3081 (authors-obsolete-files-regexps, authors-ignored-files)
3082 (authors-ambiguous-files, authors-renamed-files-alist):
3083 Add more entries.
3084
0bd1e074
JL
30852012-02-23 Juri Linkov <juri@jurta.org>
3086
3087 * isearch.el (isearch-occur): Sync interactive spec with occur's
3088 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3089
b617673c
JL
3090 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3091
19e9789e
JL
30922012-02-22 Juri Linkov <juri@jurta.org>
3093
3094 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3095 (ucs-insert): Doc fix. Check for hex digits in the string.
3096 Don't display `nil' in the error message. (Bug#10857)
3097
f41ce09d
AM
30982012-02-22 Alan Mackenzie <acm@muc.de>
3099
7a71b18d 3100 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3101
ac2eceee
GM
31022012-02-22 Glenn Morris <rgm@gnu.org>
3103
3104 * ffap.el (ffap-c-path):
3105 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3106
abd1f678
CY
31072012-02-22 Chong Yidong <cyd@gnu.org>
3108
3109 * custom.el (load-theme): Doc fix.
3110
f25aef2e
GM
31112012-02-22 Glenn Morris <rgm@gnu.org>
3112
3113 * dired-x.el (dired-guess-shell-alist-default):
3114 Remove escape sequences from nroff output. (Bug#172)
3115
5f8dc2ca
GM
31162012-02-21 Glenn Morris <rgm@gnu.org>
3117
6ff86ec4
GM
3118 * vc/emerge.el (emerge-defvar-local):
3119 Set `permanent-local' property rather than unused `preserved'.
3120
be3223a3 3121 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3122 (picture-mode-map): Use it. (Bug#10860)
3123 (picture-mode): Doc fix.
3124
3fe58f4f
JB
31252012-02-21 Juanma Barranquero <lekktu@gmail.com>
3126
3127 * newcomment.el (uncomment-region-default): Remove unused binding.
3128
f9a998c3
GM
31292012-02-21 Glenn Morris <rgm@gnu.org>
3130
3131 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3132 (picture-self-insert, picture-tab-chars): Doc fix.
3133 (picture-mode-map): Fix C-a, C-e.
3134
c6029348
GM
31352012-02-20 Glenn Morris <rgm@gnu.org>
3136
3137 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3138
ab1ce9d7
LL
31392012-02-20 Leo Liu <sdl.web@gmail.com>
3140
3141 * icomplete.el (icomplete-completions): Check FROM arg before
3142 passing to substring (Bug#10850).
3143
0fd40f89
CY
31442012-02-19 Chong Yidong <cyd@gnu.org>
3145
3146 * comint.el: Require ansi-color.
3147 (comint-output-filter-functions): Add ansi-color-process-output.
3148
3149 * ansi-color.el: Don't set comint-output-filter-functions; it is
3150 now in the initial value defined in comint.el.
3151 (ansi-color-apply-face-function): New variable.
3152 (ansi-color-apply-on-region): Use it.
3153 (ansi-color-apply-overlay-face): New function.
3154
3155 * shell.el (shell): No need to require ansi-color.
3156 (shell-mode): Use ansi-color-apply-face-function to highlight
3157 color escapes using font-lock-face property (Bug#10835).
3158
20af2394
CY
31592012-02-19 Chong Yidong <cyd@gnu.org>
3160
3161 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3162 mode-line formats (Bug#10839).
3163
e23a3fbe
GM
31642012-02-18 Glenn Morris <rgm@gnu.org>
3165
b474519e
GM
3166 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3167
3168 * mail/undigest.el (unforward-rmail-message): Doc fix.
3169
e23a3fbe
GM
3170 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3171
57939ff4
EZ
31722012-02-18 Eli Zaretskii <eliz@gnu.org>
3173
3174 * international/characters.el (script-list): Sync with the latest
3175 Unicode Character Database.
3176
0c23686e
AS
31772012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 * international/titdic-cnv.el: Remove duplicate coding tag.
3180 * language/cham.el: Likewise.
3181 * language/tai-viet.el: Likewise.
3182
6818b449
GM
31832012-02-18 Glenn Morris <rgm@gnu.org>
3184
3185 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3186 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3187 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3188 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3189 * calendar/holidays.el (holiday-bahai-holidays)
3190 (calendar-holidays, list-holidays):
3191 Use utf-8 Bahá'í in doc-strings, menus, etc.
3192
0311a3fc
TH
31932012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3194
3195 * saveplace.el (save-place-ignore-files-regexp): New variable
3196 allowing for excluding files from saving their location of point.
3197 The default value matches the temporary commit message editing
3198 files from Git, SVN, Bazaar, and Mercurial.
3199 (save-place-to-alist): Use it.
3200
eb864a71
LM
32012012-02-17 Lawrence Mitchell <wence@gmx.li>
3202 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * newcomment.el (uncomment-region-default): Don't leave extra space
3205 when an arg is provided (bug#8150).
3206
ee0ce425
TZ
32072012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3208
eb864a71 3209 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3210
95ddf442
GM
32112012-02-17 Glenn Morris <rgm@gnu.org>
3212
3213 * net/socks.el: Require network-stream. (Bug#10599)
3214
48dd1e39 32152012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3216
3217 * international/charprop.el:
3218 * international/uni-name.el:
3219 * international/uni-old-name.el:
3220 * international/uni-comment.el: Regenerate.
3221
d68cd087
GM
32222012-02-16 Glenn Morris <rgm@gnu.org>
3223
3224 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3225 Interactively in calendar buffer, give an error if not on a date.
3226
13932042
GM
32272012-02-15 Glenn Morris <rgm@gnu.org>
3228
3229 * shell.el (shell-delimiter-argument-list):
3230 Revert 2011-02-17 change. (Bug#8027)
3231
c3a70e2b
CY
32322012-02-15 Chong Yidong <cyd@gnu.org>
3233
60236b0d
CY
3234 * minibuffer.el (completion-at-point-functions): Doc fix.
3235
c3a70e2b
CY
3236 * custom.el (defcustom): Doc fix; note use of defvar.
3237
9f26dc24
GM
32382012-02-15 Glenn Morris <rgm@gnu.org>
3239
3240 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3241 Doc fixes.
3242
6546b134
GM
32432012-02-14 Glenn Morris <rgm@gnu.org>
3244
3245 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3246
d29b2b4c
LI
32472012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3248
3249 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3250 way the ports list is computed.
835bdcba
LI
3251 (smtpmail-query-smtp-server): Prompt the user for a port number if
3252 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3253
08dcdbc9
TZ
32542012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3255
3256 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3257
2605051a
GM
32582012-02-13 Glenn Morris <rgm@gnu.org>
3259
3260 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3261
7ee99f32
TZ
32622012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3263
3264 * net/gnutls.el (gnutls-trustfiles): New variable.
3265 (gnutls-negotiate): Use it.
3266
5f0af64f
LI
32672012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3268
3269 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3270 does its stuff if Gnus is running.
3271
c14fcc95
AM
32722012-02-13 Alan Mackenzie <acm@muc.de>
3273
3274 Fix a loop in c-set-fl-decl-start.
3275
7a71b18d 3276 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3277 c-backward-syntactic-ws actually moves backwards.
3278
142b4d90
LL
32792012-02-13 Leo Liu <sdl.web@gmail.com>
3280
3281 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3282 beginning so that all \C-o chars are removed.
3283
fa9958a6
TZ
32842012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3285
dc9924b8 3286 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3287
0bc5886a
AM
32882012-02-12 Alan Mackenzie <acm@muc.de>
3289
3290 Fix infinite loop with long macros.
4d6769e1 3291 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3292
d4bd55e7
CY
32932012-02-12 Chong Yidong <cyd@gnu.org>
3294
3295 * window.el (display-buffer): Doc fix (Bug#10785).
3296
66f3fe22
GM
32972012-02-12 Glenn Morris <rgm@gnu.org>
3298
bd7da63e
GM
3299 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3300 (x-disown-selection-internal, x-get-selection-internal):
3301 Sync docs with the xselect.c versions.
3302
66f3fe22
GM
3303 * allout-widgets.el: Add missing license notice.
3304
3e0d2fa7
GM
33052012-02-11 Glenn Morris <rgm@gnu.org>
3306
cfecdf09
GM
3307 * select.el (x-get-selection-internal, x-own-selection-internal)
3308 (x-disown-selection-internal):
3309 * x-dnd.el (x-get-selection-internal): Update declarations.
3310
6d216d7f
GM
3311 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3312
2bed3f04
GM
3313 * window.el (window-sides-slots):
3314 * tool-bar.el (tool-bar-position):
3315 * term/xterm.el (xterm-extra-capabilities):
3316 * ses.el (ses-self-reference-early-detection):
3317 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3318 (verilog-auto-wire-type)
3319 (verilog-auto-delete-trailing-whitespace)
3320 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3321 (verilog-auto-tieoff-declaration):
3322 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3323 (sql-oracle-statement-starters, sql-oracle-scan-on):
3324 * progmodes/prolog.el (prolog-align-comments-flag)
3325 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3326 (prolog-left-indent-regexp, prolog-paren-indent-p)
3327 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3328 (prolog-types, prolog-mode-specificators)
3329 (prolog-determinism-specificators, prolog-directives)
3330 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3331 (prolog-electric-dot-flag)
3332 (prolog-electric-dot-full-predicate-template)
3333 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3334 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3335 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3336 (prolog-program-switches, prolog-prompt-regexp)
3337 (prolog-debug-on-string, prolog-debug-off-string)
3338 (prolog-trace-on-string, prolog-trace-off-string)
3339 (prolog-zip-on-string, prolog-zip-off-string)
3340 (prolog-use-standard-consult-compile-method-flag)
3341 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3342 (prolog-imenu-max-lines, prolog-info-predicate-index)
3343 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3344 (prolog-char-quote-workaround):
3345 * progmodes/cc-vars.el (c-defun-tactic):
3346 * net/tramp.el (tramp-encoding-command-interactive)
3347 (tramp-local-end-of-line):
3348 * net/soap-client.el (soap-client):
3349 * net/netrc.el (netrc-file):
3350 * net/gnutls.el (gnutls):
3351 * minibuffer.el (completion-category-overrides)
3352 (completion-cycle-threshold)
3353 (completion-pcm-complete-word-inserts-delimiters):
3354 * man.el (Man-name-local-regexp):
3355 * mail/feedmail.el (feedmail-display-full-frame):
3356 * international/characters.el (glyphless-char-display-control):
3357 * eshell/em-ls.el (eshell-ls-date-format):
3358 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3359 (lisp-lambda-list-keyword-parameter-indentation)
3360 (lisp-lambda-list-keyword-parameter-alignment):
3361 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3362 * dired-x.el (dired-omit-verbose):
3363 * cus-theme.el (custom-theme-allow-multiple-selections):
3364 * calc/calc.el (calc-highlight-selections-with-faces)
3365 (calc-lu-field-reference, calc-lu-power-reference)
3366 (calc-note-threshold):
3367 * battery.el (battery-mode-line-limit):
3368 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3369 (archive-7z-update):
3370 * allout.el (allout-prefixed-keybindings)
3371 (allout-unprefixed-keybindings)
3372 (allout-inhibit-auto-fill-on-headline)
3373 (allout-flattened-numbering-abbreviation):
3374 * allout-widgets.el (allout-widgets-auto-activation)
3375 (allout-widgets-icons-dark-subdir)
3376 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3377 (allout-widgets-theme-dark-background)
3378 (allout-widgets-theme-light-background)
3379 (allout-widgets-item-image-properties-emacs)
3380 (allout-widgets-item-image-properties-xemacs)
3381 (allout-widgets-run-unit-tests-on-load)
3382 (allout-widgets-time-decoration-activity)
3383 (allout-widgets-hook-error-post-time)
3384 (allout-widgets-track-decoration):
3385 Add missing :version tags to new defcustoms and defgroups.
3386
5fec1b8e
GM
3387 * progmodes/sql.el (sql-ansi-statement-starters)
3388 (sql-oracle-statement-starters): Add custom type.
3389
3e0d2fa7
GM
3390 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3391 (prolog-system-version): Give it a type.
3392
90b671e2
EZ
33932012-02-11 Eli Zaretskii <eliz@gnu.org>
3394
3395 * term/pc-win.el (x-select-text, x-selection-owner-p)
3396 (x-own-selection-internal, x-disown-selection-internal)
3397 (x-get-selection-internal): Sync doc strings and argument lists
3398 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3399
5eac0c02
LL
34002012-02-11 Leo Liu <sdl.web@gmail.com>
3401
3402 * progmodes/python.el (python-end-of-statement): Fix infinite
3403 loop. (Bug#10788)
3404
f82cb659
GM
34052012-02-10 Glenn Morris <rgm@gnu.org>
3406
3407 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3408 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3409
cc26d239
LI
34102012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3411
3412 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3413 about SMTP before checking the From header.
3414
91027d08 3415 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3416 into own function for reuse by emacsbug.el.
3417
1be3ca5a
LL
34182012-02-10 Leo Liu <sdl.web@gmail.com>
3419
3420 * subr.el (condition-case-unless-debug): Rename from
3421 condition-case-no-debug. All callers changed.
3422 (with-demoted-errors): Fix caller.
3423
3424 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3425 * nxml/rng-valid.el (rng-do-some-validation):
3426 * emacs-lisp/package.el (package-refresh-contents)
3427 (package-menu-execute):
3428 * desktop.el (desktop-create-buffer):
91027d08 3429 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3430
b011fbfe
GM
34312012-02-10 Glenn Morris <rgm@gnu.org>
3432
b2096d72
GM
3433 * textmodes/bibtex.el:
3434 Add missing :version tags for new/changed defcustoms.
3435
b011fbfe
GM
3436 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3437
4c7e65bf
LI
34382012-02-09 Lars Ingebrigtsen <larsi@rusty>
3439
3440 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3441 (smtpmail-via-smtp): Use it, or fall back on the From address.
3442 (smtpmail-send-it): Ditto.
3443
f3934f6f
SM
34442012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3447 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3448 (byte-compile-tmp-var): New const.
3449 (byte-compile-defvar): Use it to minimize .elc size.
3450 Just use `defvar' rather than simulate it (bug#10761).
3451
a075a2c5
GM
34522012-02-09 Glenn Morris <rgm@gnu.org>
3453
cf3aa21b
GM
3454 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3455
354998cd
GM
3456 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3457 Add :version tags.
3458
dc9924b8
SM
3459 * progmodes/compile.el (compilation-error-screen-columns)
3460 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3461
dab3703d
GM
3462 * vc/log-view.el (log-view-toggle-entry-display):
3463 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3464
3f88cd72
GM
3465 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3466 (report-emacs-bug-can-use-xdg-email):
3467 (report-emacs-bug-insert-to-mailer): Doc fixes.
3468 (report-emacs-bug): Message fix.
3469
d95b247d
GM
3470 * net/browse-url.el (browse-url-can-use-xdg-open)
3471 (browse-url-xdg-open): Doc fixes.
3472
a075a2c5
GM
3473 * electric.el (electric-indent-mode, electric-pair-mode)
3474 (electric-layout-rules, electric-layout-mode): Doc fixes.
3475 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3476
ffb6157e
MR
34772012-02-08 Martin Rudalics <rudalics@gmx.at>
3478
3479 * server.el (server-unselect-display): Don't inadvertently kill
3480 the current buffer. (Bug#10729)
3481
e1ac4066
GM
34822012-02-08 Glenn Morris <rgm@gnu.org>
3483
34e8a2da
GM
3484 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3485 (sql-list-table): Doc fixes.
3486
b4ac6e8c
GM
3487 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3488 Comment out (does nothing).
3489
e1ac4066
GM
3490 * completion.el (dynamic-completion-mode):
3491 * dirtrack.el (dirtrack-debug-mode):
3492 * electric.el (electric-layout-mode):
3493 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3494 * face-remap.el (text-scale-mode, buffer-face-mode):
3495 * iimage.el (iimage-mode):
3496 * image-mode.el (image-transform-mode):
3497 * minibuffer.el (completion-in-region-mode):
3498 * scroll-lock.el (scroll-lock-mode):
3499 * simple.el (next-error-follow-minor-mode):
3500 * tar-mode.el (tar-subfile-mode):
3501 * tooltip.el (tooltip-mode):
3502 * vcursor.el (vcursor-use-vcursor-map):
3503 * wid-browse.el (widget-minor-mode):
3504 * emulation/tpu-edt.el (tpu-edt-mode):
3505 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3506 * international/iso-ascii.el (iso-ascii-mode):
3507 * language/thai-util.el (thai-word-mode):
3508 * mail/supercite.el (sc-minor-mode):
3509 * net/goto-addr.el (goto-address-mode):
3510 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3511 * progmodes/cwarn.el (cwarn-mode):
3512 * progmodes/flymake.el (flymake-mode):
3513 * progmodes/glasses.el (glasses-mode):
3514 * progmodes/hideshow.el (hs-minor-mode):
3515 * progmodes/pascal.el (pascal-outline-mode):
3516 * textmodes/enriched.el (enriched-mode):
3517 * vc/smerge-mode.el (smerge-mode):
3518 Doc fixes (minor mode argument).
3519
5e0d957f
EZ
35202012-02-07 Eli Zaretskii <eliz@gnu.org>
3521
3522 * ls-lisp.el (ls-lisp-sanitize): New function.
3523 (ls-lisp-insert-directory): Use it to fix or remove any elements
3524 in file-alist with missing attributes. (Bug#4673)
3525
98d7371e
AM
35262012-02-07 Alan Mackenzie <acm@muc.de>
3527
3528 Fix spurious recognition of c-in-knr-argdecl.
3529
3530 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3531 putative K&R region.
3532
667ced3a
AM
35332012-02-07 Alan Mackenzie <acm@muc.de>
3534
eb864a71
LM
3535 * progmodes/cc-engine.el (c-forward-objc-directive):
3536 Prevent looping in "#pragma mark @implementation".
667ced3a 3537
5b77774d
MA
35382012-02-07 Michael Albinus <michael.albinus@gmx.de>
3539
3540 * notifications.el (notifications-on-closed-signal): Make `reason'
3541 optional. (Bug#10744)
3542
af008560
GM
35432012-02-07 Glenn Morris <rgm@gnu.org>
3544
60d47423
GM
3545 * emacs-lisp/easy-mmode.el (define-minor-mode):
3546 Doc fixes for the macro and the mode it defines.
3547
dd605cc4
GM
3548 * image.el (imagemagick-types-inhibit): Doc fix.
3549
af008560
GM
3550 * cus-start.el (imagemagick-render-type): Add it.
3551
5cc59a37
LI
35522012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3553
4d6769e1
JB
3554 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3555 Set the default at load time, too, so that `font-lock-fontify-buffer'
3556 can be called without setting up the entire mode first. This fixes
3557 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3558
9a6dd747
CY
35592012-02-06 Chong Yidong <cyd@gnu.org>
3560
2d16b285
CY
3561 * simple.el (list-processes--refresh): Delete exited processes
3562 (Bug#8094).
3563
171e9b6e
CY
3564 * comint.el (comint-next-prompt): next-single-char-property-change
3565 and prev-single-char-property-change never return nil (Bug#8657).
3566
9a6dd747
CY
3567 * custom.el (defcustom): Doc fix (Bug#9711).
3568
aa4589a7
CY
35692012-02-05 Chong Yidong <cyd@gnu.org>
3570
5c2a252f
CY
3571 * cus-edit.el (custom-variable-reset-backup): Quote the value
3572 before storing it in the customized-value property (Bug#6712).
4aab9006 3573 (custom-display): Add a customization type tag.
983b9602 3574 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3575
aa4589a7
CY
3576 * wid-edit.el (widget-field-value-get): New optional arg to
3577 suppress trailing whitespace truncation.
3578 (character): Use it (Bug#2689).
3579
1ff980ae
AS
35802012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3581
3582 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3583 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3584
03988c98
CY
35852012-02-05 Chong Yidong <cyd@gnu.org>
3586
eeb6cc88
CY
3587 * cus-edit.el (custom-variable-value-create): For mismatched
3588 types, show the current value (Bug#7600).
3589
03988c98
CY
3590 * custom.el (defcustom): Doc fix.
3591
f8cdeef0
GM
35922012-02-05 Glenn Morris <rgm@gnu.org>
3593
3594 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3595
0696d255
JB
35962012-02-05 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3599 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3600 (pp-last-sexp): Use `looking-at-p'.
3601
34c99998
GM
36022012-02-04 Glenn Morris <rgm@gnu.org>
3603
8f05da42
GM
3604 * files.el (revert-buffer):
3605 Doc fix (mention revert-buffer-in-progress-p).
3606
f160676e
GM
3607 * emacs-lisp/ert-x.el (ert-simulate-command):
3608 Check deferred-action-list (which is obsolete) is bound.
3609
c7291ad9
GM
3610 * subr.el (with-wrapper-hook): Doc fixes.
3611
34c99998
GM
3612 * simple.el (filter-buffer-substring-functions)
3613 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3614
6283a7d3
LL
36152012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3616
3617 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3618 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3619
e96e3013
LL
36202012-02-04 Leo Liu <sdl.web@gmail.com>
3621
3622 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3623
8ded50f2
GM
36242012-02-04 Glenn Morris <rgm@gnu.org>
3625
82ff1d13
GM
3626 * image.el (image-extension-data): Add obsolete alias.
3627
987a0a16
GM
3628 * isearch.el (isearch-update): Doc fix.
3629
ea32ef46
GM
3630 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3631
8ded50f2
GM
3632 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3633
eea14f31
GM
36342012-02-03 Glenn Morris <rgm@gnu.org>
3635
3636 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3637 (image-animate-timeout): Doc fix.
3638
3639 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3640
12f381b7
GM
36412012-02-02 Glenn Morris <rgm@gnu.org>
3642
953cebf5
GM
3643 * server.el (server-auth-dir): Doc fix.
3644 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3645
12f381b7
GM
3646 * subr.el (run-mode-hooks): Doc fix.
3647
953a8c3b
JL
36482012-02-02 Juri Linkov <juri@jurta.org>
3649
3650 * image-mode.el (image-toggle-display-image): Remove tautological
3651 `major-mode' from the `derived-mode-p' test.
3652
c5d3843c
KH
36532012-02-02 Kenichi Handa <handa@m17n.org>
3654
9f6e692e 3655 * composite.el (compose-region): Cancel previous change.
c5d3843c 3656
159462d4 36572012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3658
3659 * composite.el (compose-region, compose-string): Signal error for
3660 a null string component (Bug#6988).
3661
9f562668
CY
36622012-02-01 Chong Yidong <cyd@gnu.org>
3663
e2cef717
CY
3664 * view.el (view-buffer-other-window, view-buffer-other-frame):
3665 Handle special modes like view-buffer (Bug#10650).
3666 (view-buffer): Simplify.
3667
9f562668
CY
3668 * frame.el (set-frame-font): Tweak meaning of third argument.
3669
9f6e692e
JB
3670 * dynamic-setting.el (font-setting-change-default-font):
3671 Use set-frame-font (Bug#9982).
9f562668 3672
781acb9f
GM
36732012-02-01 Glenn Morris <rgm@gnu.org>
3674
6035be52
GM
3675 * progmodes/compile.el (compilation-internal-error-properties):
3676 Respect compilation-first-column in the "*compilation*" buffer.
3677
781acb9f
GM
3678 * emacs-lisp/easy-mmode.el (define-minor-mode):
3679 Relax :variable's test for a named function.
3680
abbceb00
AM
36812012-01-31 Alan Mackenzie <acm@muc.de>
3682
3683 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3684 off by one error.
3685
fce3fdeb
CY
36862012-01-31 Chong Yidong <cyd@gnu.org>
3687
3688 * frame.el (set-frame-font): New arg ALL-FRAMES.
3689
3690 * menu-bar.el (menu-set-font): Use set-frame-font.
3691
3692 * faces.el (face-spec-reset-face): Don't apply unspecified
3693 attribute values to the default face.
3694
47893581
JB
36952012-01-31 Juanma Barranquero <lekktu@gmail.com>
3696
3697 * progmodes/cwarn.el (cwarn): Remove dead link.
3698 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3699 Remove * from defcustom docstrings.
3700 (turn-on-cwarn-mode): Make obsolete.
3701 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3702 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3703
e58e988a
GM
37042012-01-31 Glenn Morris <rgm@gnu.org>
3705
60dc2671 3706 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3707 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3708 Allow named functions to be used as the cdr of :variable.
e58e988a 3709
7a3f511d
GM
37102012-01-30 Glenn Morris <rgm@gnu.org>
3711
3712 * emacs-lisp/authors.el (authors-fixed-entries):
3713 Remove reference to deleted file rnewspost.el.
3714
cb882333
JB
37152012-01-29 Juanma Barranquero <lekktu@gmail.com>
3716
3717 * window.el (window-with-parameter): Remove unused variable `windows'.
3718 (window--side-check): Remove unused variable `code'.
3719 (window--resize-siblings): Remove unused variable `first'.
3720 (adjust-window-trailing-edge): Remove unused variable `failed'.
3721 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3722 Use `let', not `let*'.
3723 (balance-windows-2): Remove unused variable `found'.
3724 (window--state-put-2): Remove unused variable `splits'.
3725 (window-state-put): Remove unused variable `selected'.
3726 (same-window-p): Use `string-match-p'.
3727 (display-buffer-assq-regexp): Remove unused variable `value'.
3728 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3729 Mark argument ALIST as ignored.
3730 (pop-to-buffer): Remove unused variable `old-window'.
3731
907201af
EZ
37322012-01-29 Eli Zaretskii <eliz@gnu.org>
3733
3734 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3735 and .lzma compressed files.
3736
ea162670
CY
37372012-01-29 Chong Yidong <cyd@gnu.org>
3738
5b95ee8a
CY
3739 * frame.el (window-system-default-frame-alist): Doc fix.
3740
ea162670
CY
3741 * dynamic-setting.el (font-setting-change-default-font): Don't
3742 change the default face if SET-FONT argument is non-nil (Bug#9982).
3743
d6e6f4b1
SB
37442012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3745
3746 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3747
0f29fa41 37482012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3749
3750 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3751 breakpoints in files outside current directory (Bug#6098).
3752
db174434
CY
37532012-01-29 Chong Yidong <cyd@gnu.org>
3754
6b25e4e2
SE
3755 * progmodes/python.el: Require ansi-color at top-level.
3756
6df6ae42
JB
3757 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3758 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3759 (lisp-mode-abbrev-table): Add doc.
3760 (lisp-mode-variables): Don't set local-abbrev-table.
3761 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3762
e70ee681
RW
37632012-01-28 Roland Winkler <winkler@gnu.org>
3764
3765 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3766
ace88aa2
RW
37672012-01-28 Roland Winkler <winkler@gnu.org>
3768
3769 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3770 (bibtex-set-dialect): Use it. Either set global values of
3771 dialect-dependent variables or bind these variables buffer-locally
3772 (Bug#10254).
3773 (bibtex-mode): Call bibtex-set-dialect via
3774 hack-local-variables-hook.
eb864a71
LM
3775 (bibtex-dialect): Update docstring.
3776 Add safe-local-variable predicate.
ace88aa2
RW
3777 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3778 bibtex-set-dialect.
3779 (bibtex-mode-map): Define menu for each dialect.
3780 (bibtex-entry): Fix docstring.
3781
93376c5b
CY
37822012-01-28 Chong Yidong <cyd@gnu.org>
3783
3784 * eshell/esh-arg.el (eshell-quote-argument): New function.
3785
3786 * eshell/esh-ext.el (eshell-invoke-batch-file):
3787 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3788 first arg to eshell-parse-command (Bug#10523).
3789
4372494f
DA
37902012-01-28 Drew Adams <drew.adams@oracle.com>
3791
3792 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3793 `default-directory' is non-nil.
3794
4d4ec1f8
EZ
37952012-01-28 Eli Zaretskii <eliz@gnu.org>
3796
3797 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3798 line that displays system-configuration-options. (Bug#9924)
3799
7c188927
DA
38002012-01-28 Drew Adams <drew.adams@oracle.com>
3801
3802 * descr-text.el (describe-char): Show information about POS, in
3803 addition to information about the character at POS. Improve and
3804 update the doc string. Change "code point" to "code point in
3805 charset", to avoid confusion with the character's Unicode code
3806 point shown above that. (Bug#10129)
3807
e0da685a
EZ
38082012-01-28 Eli Zaretskii <eliz@gnu.org>
3809
3810 * descr-text.el (describe-char): Show the raw character, not only
3811 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3812 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3813 for the reasons.
3814
70550acf
PH
38152012-01-28 Phil Hagelberg <phil@hagelb.org>
3816
eb864a71
LM
3817 * emacs-lisp/package.el (package-install):
3818 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3819
0ce8e868
CY
38202012-01-28 Chong Yidong <cyd@gnu.org>
3821
cb882333
JB
3822 * emacs-lisp/package.el (package-maybe-load-descriptor):
3823 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3824 (package-maybe-load-descriptor): Use it.
3825 (package-download-transaction): Fully load required packages
3826 inside the loop, so that `require' calls work (Bug#10593).
3827 (package-install): No need to call package-initialize now.
3828
2e7f3bea
CY
38292012-01-28 Chong Yidong <cyd@gnu.org>
3830
6e9bad14
CY
3831 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3832
f823b8ca
CY
3833 * tooltip.el (tooltip-mode): Doc fix.
3834 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3835
2680c309
CY
3836 * frame.el (set-cursor-color): Doc fix (Bug#352).
3837
d7a9e63b
CY
3838 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3839 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3840
2e7f3bea
CY
3841 * cus-edit.el (custom-buffer-create-internal): Fix search button
3842 action (Bug#10542).
2ae01800 3843 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3844
fc4f7a23
EW
38452012-01-27 Eduard Wiebe <usenet@pusto.de>
3846
3847 * dired.el (dired-mark-files-regexp):
3848 Include any subdirectory components. (Bug#10445)
3849
7dd37071
ML
38502012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3851
3852 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3853 Handle [host]:port syntax. (Bug#10533)
3854
a268160b
AH
38552012-01-27 Alex Harsanyi <harsanyi@mac.com>
3856
3857 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3858
e43273ef
GM
38592012-01-26 Glenn Morris <rgm@gnu.org>
3860
3861 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3862 * term.el (term-raw-escape-map): Use Control-X-prefix.
3863 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3864
1edf595d
MR
38652012-01-25 Martin Rudalics <rudalics@gmx.at>
3866
3867 * window.el (window-state-get, window--state-get-1): Don't deal
3868 with fixed-sizeness of windows. Simplify code.
3869
fa8eafef
JC
38702012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3871
6df6ae42
JB
3872 * window.el (window--state-get-1, window--state-put-2):
3873 Don't save and restore the mark.
fa8eafef 3874
0b21c100
CY
38752012-01-25 Chong Yidong <cyd@gnu.org>
3876
3877 * custom.el (custom-variable-p): Doc fix.
3878
5ae1a6c8
GM
38792012-01-25 Glenn Morris <rgm@gnu.org>
3880
40047858
GM
3881 * dired.el (dired-goto-file): Handle some of the more common
3882 characters that `ls -b' escapes. (Bug#10596)
3883
5ddce96c
GM
3884 * progmodes/compile.el (compilation-next-error-function):
3885 Respect compilation-first-column in the "*compilation*" buffer.
3886 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3887
5ae1a6c8
GM
3888 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3889
b559f1a9
GM
38902012-01-24 Glenn Morris <rgm@gnu.org>
3891
3892 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3893
6725d21a
JD
38942012-01-24 Julien Danjou <julien@danjou.info>
3895
3896 * color.el (color-rgb-to-hsl): Fix value computing.
3897 (color-hue-to-rgb): New function.
3898 (color-hsl-to-rgb): New function.
3899 (color-clamp, color-saturate-hsl, color-saturate-name)
3900 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3901 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3902
70df4bbe
GM
39032012-01-24 Glenn Morris <rgm@gnu.org>
3904
3905 * vc/vc-rcs.el (vc-rcs-create-tag):
3906 * vc/vc-sccs.el (vc-sccs-create-tag):
3907 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3908
802a2ae2
ML
39092012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3910
3911 * eshell/esh-util.el (eshell-read-hosts-file):
3912 Skip comment lines. (Bug#10549)
3913
d7128bb1
ML
3914 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3915
d1a5c3b4
JB
39162012-01-23 Juanma Barranquero <lekktu@gmail.com>
3917
2724d9c7
JB
3918 * subr.el (display-delayed-warnings): Doc fix.
3919 (collapse-delayed-warnings): New function to collapse identical
3920 adjacent warnings.
3921 (delayed-warnings-hook): Add it.
d1a5c3b4 3922
a5509865
MA
39232012-01-22 Michael Albinus <michael.albinus@gmx.de>
3924
3925 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3926
3927 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3928 properties, when "login-as" is set.
3929
3930 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3931 (tramp-default-user-alist): Don't add "pscp".
3932 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3933 property "login-as", if set. (Bug#10530)
3934
cc6d5805
MA
39352012-01-21 Michael Albinus <michael.albinus@gmx.de>
3936
3937 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3938 "plink1" and "psftp". (Bug#10530)
3939
39402012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3941
3942 * international/mule-cmds.el (prefer-coding-system): Show a
3943 warning message if the default value of file-name-coding-system
3944 was not changed.
3945
f0960428
JC
39462012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3947
cb882333
JB
3948 * windmove.el (windmove-reference-loc):
3949 Fix windmove-reference-loc miscalculation.
f0960428 3950
dd6f2a63
JB
39512012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3952
3953 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3954 default unit.
3955
7b447e9b
GM
39562012-01-21 Glenn Morris <rgm@gnu.org>
3957
117a9ea1
GM
3958 * international/mule.el (auto-coding-alist): Add .tbz.
3959
7b447e9b
GM
3960 * files.el (local-enable-local-variables): Doc fix.
3961 (inhibit-local-variables-regexps): Rename from
3962 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3963 Doc fix. Add some extensions from auto-coding-alist.
3964 (inhibit-local-variables-suffixes):
3965 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3966 (inhibit-local-variables-p):
3967 New function, extracted from set-auto-mode-1.
3968 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3969 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3970 (hack-local-variables): Doc fix. Make the mode-only case
3971 respect enable-local-variables and friends.
3972 Respect inhibit-local-variables-regexps for file-locals, but
3973 not for directory-locals.
3974 (set-visited-file-name):
3975 Take account of inhibit-local-variables-regexps.
3976 Whether it applies may change as the file name is changed.
3977 * jka-cmpr-hook.el (jka-compr-install):
3978 * jka-compr.el (jka-compr-uninstall):
3979 Update for inhibit-first-line-modes-suffixes name change.
3980
dd6e3cdd
MR
39812012-01-20 Martin Rudalics <rudalics@gmx.at>
3982
3983 * help-macro.el (make-help-screen): Temporarily restore original
3984 binding for minor-mode-map-alist (Bug#10454).
3985
0d0deb38
JD
39862012-01-19 Julien Danjou <julien@danjou.info>
3987
3988 * color.el (color-name-to-rgb): Use the white color to find the max
3989 color component value and return correctly computed values.
3990 (color-name-to-rgb): Add missing float conversion for max value.
3991
34a02f46
MR
39922012-01-19 Martin Rudalics <rudalics@gmx.at>
3993
3994 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3995 special state value for window-persistent-parameters.
3996 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3997 (window--state-put-2): Reset all window parameters to nil before
3998 assigning values of persistent parameters.
3999
606c44c4
AM
40002012-01-18 Alan Mackenzie <acm@muc.de>
4001
4002 Eliminate sluggishness and hangs in fontification of "semicolon
4003 deserts".
4004
cb882333
JB
4005 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4006 Change value 10000 -> 3000.
606c44c4
AM
4007 (c-state-safe-place): Reformulate so it doesn't stack up an
4008 infinite number of wrong entries in c-state-nonlit-pos-cache.
4009 (c-determine-limit-get-base, c-determine-limit): New functions to
4010 determine backward search limits disregarding literals.
4011 (c-find-decl-spots): Amend commenting.
4012 (c-cheap-inside-bracelist-p): New function which detects "={".
4013
4014 * progmodes/cc-fonts.el
4015 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4016 backward search.
4017 (c-font-lock-declarations): Fix an occurrence of point being
4018 undefined. Check additionally for point being in a bracelist or
4019 near a macro invocation without a semicolon so as to avoid a
4020 fruitless time consuming search for a declarator. Give a more
4021 precise search limit for declarators using the new
4022 c-determine-limit.
4023
f3860cea
GM
40242012-01-18 Glenn Morris <rgm@gnu.org>
4025
4026 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4027 (set-auto-mode): Doc fixes.
4028
1db03b16
GM
40292012-01-17 Glenn Morris <rgm@gnu.org>
4030
0e6038be
GM
4031 * isearch.el (search-nonincremental-instead): Fix doc typo.
4032
1db03b16
GM
4033 * dired.el (dired-insert-directory): Handle newlines in directory name.
4034 (dired-build-subdir-alist): Unescape newlines in directory name.
4035
4cb0aa75
MA
40362012-01-17 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4039 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4040 (tramp-action-terminal): Use it. (Bug#10530)
4041
1d00653d
SM
40422012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4043
4044 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4045
6a6ee00d
MR
40462012-01-16 Martin Rudalics <rudalics@gmx.at>
4047
4048 * window.el (window-state-ignored-parameters): Remove variable.
4049 (window--state-get-1): Rename argument MARKERS to IGNORE.
4050 Handle persistent window parameters. Make copy of clone-of
4051 parameter only if requested. (Bug#10348)
4052 (window--state-put-2): Install a window parameter only if it has
4053 a non-nil value or an existing parameter shall be overwritten.
4054
97912def
MA
40552012-01-15 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4058
688070a5
EZ
40592012-01-14 Eli Zaretskii <eliz@gnu.org>
4060
4061 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4062 don't pass the (nil) value of `upnode' to string-match.
4063
301afadc
CY
40642012-01-14 Chong Yidong <cyd@gnu.org>
4065
4066 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4067 Fix values recognized by the cursorBlink resource.
301afadc 4068
9e5788aa
PE
40692012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4070
4071 * epg.el (epg--make-temp-file): Avoid permission race condition
4072 when running on old Emacs versions (bug#10403).
4073
3cdb7f5a
GM
40742012-01-14 Glenn Morris <rgm@gnu.org>
4075
4076 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4077
8c82b1b4
AM
40782012-01-13 Alan Mackenzie <acm@muc.de>
4079
4080 Fix filling for when filladapt mode is enabled.
4081
4082 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4083 c-mask-paragraph, pass in `fill-paragraph' rather than
4084 `fill-region-as-paragraph'. (This is a reversion of a previous
4085 change.)
eb864a71
LM
4086 * progmodes/cc-mode.el (c-basic-common-init):
4087 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4088
e517eda4
GM
40892012-01-13 Glenn Morris <rgm@gnu.org>
4090
1498536e
GM
4091 * dired.el (dired-switches-escape-p): New function.
4092 (dired-insert-directory): Use dired-switches-escape-p.
4093 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4094
e517eda4
GM
4095 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4096
328f984d
GM
40972012-01-12 Glenn Morris <rgm@gnu.org>
4098
4099 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4100 changes in adaptive-fill-regexp. (Bug#10276)
4101
2cc769a8
AM
41022012-01-11 Alan Mackenzie <acm@muc.de>
4103
4104 Fix Emacs bug #10463 - put `widen's around the critical spots.
4105
1d00653d 4106 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4107 widen around each invocation of c-state-pp-to-literal. Remove an
4108 unused let variable.
4109
e52c37fa
GM
41102012-01-11 Glenn Morris <rgm@gnu.org>
4111
4112 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4113 Doc fix.
e52c37fa 4114
96f8741e
CY
41152012-01-10 Chong Yidong <cyd@gnu.org>
4116
1d00653d
SM
4117 * net/network-stream.el (network-stream-open-starttls):
4118 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4119 response to the capability command.
4120
b09a806e
GM
41212012-01-10 Glenn Morris <rgm@gnu.org>
4122
4123 * mail/unrmail.el (unrmail): Tweak previous change.
4124
7655cb66
CY
41252012-01-09 Chong Yidong <cyd@gnu.org>
4126
4127 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4128
9d5a8f0b
AM
41292012-01-08 Alan Mackenzie <acm@muc.de>
4130
4131 Optimise font locking in long enum definitions.
4132
4133 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4134 arm to a cond form to handle enums.
4135 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4136 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4137
9a0115ab 41382012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4139
4140 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4141 (Bug#10401)
6bb72cbd 4142
f186bb95
LMI
41432012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4144
29232a68
LMI
4145 * faces.el (set-face-attribute): Clarify the meaning of the nil
4146 frame (bug#10294).
4147
4e5d086d
LMI
4148 * subr.el (with-selected-frame): Mention that the selected frame
4149 is restored (bug#9980).
4150
8e66aebe
LMI
4151 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4152 (bug#9759).
4153
cd394be1 4154 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4155 (password-read): Don't autoload unused function.
4156
adf4e762
JB
41572012-01-07 Juanma Barranquero <lekktu@gmail.com>
4158
4159 * progmodes/which-func.el (which-func-mode): Turn into a
4160 non-interactive function and mark as obsolete (bug#10428).
4161
89bd9ccd
CY
41622012-01-06 Chong Yidong <cyd@gnu.org>
4163
4164 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4165 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4166 functions, along with 1 and -1.
4167
4afee9d5
EZ
41682012-01-06 Eli Zaretskii <eliz@gnu.org>
4169
4170 * time.el (display-time-load-average)
4171 (display-time-default-load-average): Doc fixes. See the thread
4172 starting at
4173 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4174 for the details.
4175
536aea70
GM
41762012-01-06 Glenn Morris <rgm@gnu.org>
4177
665ae865
GM
4178 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4179 has no messages. (Bug#10377)
4180
c869783d
GM
4181 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4182 than Info-edit. (Bug#10385)
4183
2bb4227e
GM
4184 * time.el (display-time-load-average, display-time-next-load-average):
4185 Doc fixes.
4186
7d5944b9
GM
4187 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4188 local setting of buffer-read-only to the input buffer. (Bug#10419)
4189
536aea70
GM
4190 * calendar/calendar.el (calendar-mode):
4191 Locally set scroll-margin to 0. (Bug#10379)
4192
7dccca16
UM
41932012-01-06 Ulrich Mueller <ulm@gentoo.org>
4194
4195 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4196
afbb7930
GM
41972012-01-05 Glenn Morris <rgm@gnu.org>
4198
4199 * eshell/em-unix.el (diff-no-select): Autoload it.
4200 (eshell/diff): Use diff-no-select. (Bug#10420)
4201
04482335
CY
42022012-01-05 Chong Yidong <cyd@gnu.org>
4203
7baca3bc
CY
4204 * shell.el (shell-dynamic-complete-functions): Revert last change.
4205 (shell-command-completion-function): New function.
4206 (shell-completion-vars): Use it to implement
4207 shell-completion-execonly (Bug#10417).
4208
04482335
CY
4209 * custom.el (enable-theme): Don't set custom-safe-themes.
4210
1d00653d
SM
4211 * cus-theme.el (custom-theme-merge-theme):
4212 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4213
bb5aa5d6
MM
42142012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4215
4216 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4217 first prompt in `sql-interacive-mode'.
4218 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4219 keywords.
6df6ae42 4220 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4221 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4222 context of original buffer. Invoke `sql-login-hook'.
4223
a7183d7c
EZ
42242012-01-04 Eli Zaretskii <eliz@gnu.org>
4225
4226 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4227 letters in cite-prefix.
4228
a1eacd1e
LMI
42292012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4230
4231 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4232
787cdb34
CY
42332012-01-03 Chong Yidong <cyd@gnu.org>
4234
1d00653d
SM
4235 * shell.el (shell-dynamic-complete-functions):
4236 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4237 comint-filename-completion first (Bug#10417).
4238
30710442
RS
42392012-01-02 Richard Stallman <rms@gnu.org>
4240
4241 * battery.el (battery-status-function):
4242 Detect when to use battery-yeeloong-sysfs.
4243 (battery-echo-area-format): Add string for Yeeloong.
4244 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4245 (battery-yeeloong-sysfs): New function.
4246
f75bfc33
CY
42472012-01-02 Chong Yidong <cyd@gnu.org>
4248
4249 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4250 (dirtrack): Merge code for handling relative filenames in prompt
4251 from shell-dir-cookie-watcher.
4252 (dirtrack-debug-message): New arg to avoid excess format calls.
4253
4254 * shell.el (shell-dir-cookie-re): Variable deleted.
4255 (shell-dir-cookie-watcher): Function deleted.
4256 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4257 with dirtrack-mode.
4258
651e947e
EZ
42592012-01-01 Eli Zaretskii <eliz@gnu.org>
4260
1d00653d
SM
4261 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4262 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4263 libgnutls-26.dll.
4264
94d4c7dc
AS
42652011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4266
4267 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4268
8d43f3cd
EZ
42692011-12-31 Eli Zaretskii <eliz@gnu.org>
4270
4271 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4272 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4273
98c8795a
MA
42742011-12-29 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4277 also for alternative shells.
4278 (tramp-open-connection-setup-interactive-shell): Check, whether
4279 the shell is a busybox.
4280 (tramp-send-command): Don't suppress multiple prompts for
4281 busyboxes, it hurts.
4282
51281b32
CY
42832011-12-28 Chong Yidong <cyd@gnu.org>
4284
4285 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4286 (gdb-get-source-file): Move mode line update to
4287 gdb-get-source-file (Bug#10087).
4288
2170cb53
CY
42892011-12-25 Chong Yidong <cyd@gnu.org>
4290
4291 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4292 gud-gdb-marker-filter without taking it as an argument.
4293 (gud-gdb-run-command-fetch-lines): Caller changed.
4294 (gud-gdb-completion-function): New variable.
4295 (gud-gdb-completion-at-point): Use it.
4296 (gud-gdb-completions-1): Split from gud-gdb-completions.
4297
4298 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4299 function as separate arguments.
4300 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4301 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4302 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4303 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4304 (gdb-stopped, def-gdb-auto-update-trigger)
4305 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4306 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4307 Callers changed.
2170cb53
CY
4308 (gud-gdbmi-completions): New function.
4309 (gdb): Use it for generating the completion table.
4310
be8b11bb
AM
43112011-12-24 Alan Mackenzie <acm@muc.de>
4312
4313 Introduce a mechanism to widen the region used in context font
1d00653d 4314 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4315
1d00653d
SM
4316 * progmodes/cc-langs.el (c-before-font-lock-functions):
4317 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4318 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4319 functions to be run just before context (etc.) font locking.
4320
4321 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4322 New, functionality extracted from
be8b11bb 4323 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4324 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4325 (c-after-change): Set c-in-after-change-fontification.
4326 (c-set-fl-decl-start): Rejig its interface, so it can be called
4327 from both after-change and context fontifying.
b81d40f0
JB
4328 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4329 New functions.
4330 (c-standard-font-lock-fontify-region-function): New variable.
4331 (c-font-lock-fontify-region): New function.
be8b11bb 4332
341cf6ac
JL
43332011-12-24 Juri Linkov <juri@jurta.org>
4334
4335 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4336 (Bug#10348)
4337
bffcee0a
MA
43382011-12-23 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4341 existence of source file. (Bug#10325)
4342
cb5e207c
AM
43432011-12-23 Alan Mackenzie <acm@muc.de>
4344
4345 Fix unstable fontification inside templates.
4346
b81d40f0
JB
4347 * progmodes/cc-langs.el (c-before-font-lock-functions):
4348 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4349 additionally has c-set-fl-decl-start. The other languages (apart
4350 from AWK) have that as a single entry.
4351
b81d40f0
JB
4352 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4353 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4354 c-set-fl-decl-start.
4355
b81d40f0
JB
4356 * progmodes/cc-mode.el (c-common-init, c-after-change):
4357 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4358 (c-set-fl-decl-start): New function, extracted from
4359 c-font-lock-enclosing-decls and enhanced.
4360
60ff536c
JB
43612011-12-23 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4364
1c4757d6
JL
43652011-12-22 Juri Linkov <juri@jurta.org>
4366
4367 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4368
d031f2c7
CY
43692011-12-22 Chong Yidong <cyd@gnu.org>
4370
4371 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4372
bace743a
DA
43732011-12-21 Drew Adams <drew.adams@oracle.com>
4374
4375 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4376
728a1f2b
JC
43772011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4378
4379 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4380
0d373f73
TZ
43812011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4382
fec0aaa4
TZ
4383 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4384 highlighting and support. Fix up comments for capitalization.
4385 (cfengine-mode-debug): New var.
4386 (cfengine3-mode): Change the modeline indicator to "CFE3".
4387 (cfengine3-font-lock-keywords): Improve defun highlighting.
4388 (cfengine2-actions): Rename from `cfengine-actions'.
4389 (cfengine2-font-lock-keywords): Rename from
4390 `cfengine-font-lock-keywords'.
4391 (cfengine2-imenu-expression): Rename from
4392 `cfengine-imenu-expression'.
4393 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4394 (cfengine2-beginning-of-defun): Rename from
4395 `cfengine-beginning-of-defun'.
4396 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4397 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4398 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4399 modeline indicator to "CFE2".
4400 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4401 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4402
bc86f573
CY
44032011-12-21 Chong Yidong <cyd@gnu.org>
4404
4405 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4406 filename argument.
4407
d45ba96b
MR
44082011-12-20 Martin Rudalics <rudalics@gmx.at>
4409
4410 * window.el (window-normalize-buffer-to-display): Remove.
4411 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4412
a6198c90
CY
44132011-12-19 Chong Yidong <cyd@gnu.org>
4414
4415 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4416 Don't signal an error in a predicate function; return non-nil.
4417 (vc-dir-mark-file): Move the error here.
4418 (vc-dir-mark-unmark): If acting on the region, keep going if one
4419 of the entries cannot be marked/unmarked.
4420 (vc-dir-mark-all-files): If current entry is a directory, mark
4421 only child files, as documented.
4422
34c5fb55
VB
44232011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4424
4425 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4426 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4427 addition.
4428
c803b2b7
JD
44292011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4430
4431 * term/ns-win.el (ns-get-selection-internal)
4432 (ns-store-selection-internal): Declare.
1154d12e
JB
4433 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4434 Declare as obsolete.
4435 (ns-get-pasteboard, ns-paste-secondary):
4436 Use ns-get-selection-internal.
4437 (ns-set-pasteboard, ns-copy-including-secondary):
4438 Use ns-store-selection-internal.
c803b2b7 4439
9cff91f8 44402011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4441
4442 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4443 (vc-deduce-fileset): Doc fix.
99a289d9 4444
f16c898a
AS
44452011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4446
4447 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4448
763237c4
SS
44492011-12-13 Sam Steingold <sds@gnu.org>
4450
4451 * man.el (Man-getpage-in-background): When running under a
4452 window-system, ignore $MANWIDTH and $COLUMNS.
4453
5fc1c122
KH
44542011-12-15 Kenichi Handa <handa@m17n.org>
4455
4456 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4457 (setup-ethiopic-environment-internal): Comment out key-binding for
4458 ethio-toggle-punctuation.
4459
13d49cbb
AM
44602011-12-13 Alan Mackenzie <acm@muc.de>
4461
898169a2
AM
4462 Add the switch statement to AWK Mode.
4463
7a71b18d 4464 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4465 "default" to the keywords regexp.
4466
7a71b18d 4467 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4468 expression as the rest.
1d00653d
SM
4469 (c-nonlabel-token-key): Allow string literals for AWK.
4470 Refactor for the other modes.
898169a2 4471
13d49cbb 4472 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4473 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4474 routines. Limit backward searching in c-font-lock-enclosing.decl.
4475
4476 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4477 pp-state and literal type in addition to the limits.
1d00653d 4478 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4479 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4480 (c-slow-in-literal, c-fast-in-literal): Remove.
4481 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4482
4483 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4484 being in a literal. Add a limit for backward searching.
4485
4486 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4487 c-slow-in-literal.
4488
15e0efc7
SM
44892011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4492
454592a6
MR
44932011-12-13 Martin Rudalics <rudalics@gmx.at>
4494
4495 * window.el (delete-other-windows): Use correct frame in call to
4496 window-with-parameter.
4497
87393f26
DP
44982011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4499
4500 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4501 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4502 (makefile-gmake-statements, makefile-makepp-statements):
4503 Use it and add new makepp keywords.
4504 (makefile-makepp-font-lock-keywords): Add new patterns.
4505 (makefile-match-function-end): Match new [...] and [[...]].
4506
11636b22
JB
45072011-12-11 Juanma Barranquero <lekktu@gmail.com>
4508
4509 * ses.el (ses-call-printer-return, ses-cell-property-get)
4510 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4511 (ses-create-cell-variable, ses-reset-header-string)
4512 (ses-cell-set-formula, ses-repair-cell-reference-all)
4513 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4514 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4515 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4516 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4517 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4518 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4519 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4520 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4521 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4522 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4523 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4524 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4525
cf018193
VB
45262011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4527
4528 * ses.el: The overall change is to add cell renaming, that is
4529 setting fancy names for cell symbols other than name matching
4530 "\\`[A-Z]+[0-9]+\\'" regexp .
4531 (ses-create-cell-variable): New defun.
4532 (ses-relocate-formula): Relocate formulas only for cells the
4533 symbols of which are not renamed, i.e. symbols whose names do not
4534 match regexp "\\`[A-Z]+[0-9]+\\'".
4535 (ses-relocate-all): Relocate values only for cells the symbols of
4536 which are not renamed.
4537 (ses-load): Create cells variables as the (ses-cell ...) are read,
4538 in order to check row col consistency with cell symbol name only
4539 for cells that are not renamed.
4540 (ses-replace-name-in-formula): New defun.
4541 (ses-rename-cell): New defun.
4542
ee957461
CY
45432011-12-11 Chong Yidong <cyd@gnu.org>
4544
4545 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4546 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4547
9a9e9ef0
MR
45482011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4549
4550 * window.el (other-window): Fix docstring.
4551
92a8eba5
EZ
45522011-12-10 Eli Zaretskii <eliz@gnu.org>
4553
4554 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4555 `from' or `to' address before taking its substring.
4556 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4557 encoded name is chopped in the middle of the encoded string, and
4558 thus displayed encoded.
4559
e152e577
JB
45602011-12-10 Juanma Barranquero <lekktu@gmail.com>
4561
4562 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4563
e5d84bfe
EZ
45642011-12-10 Eli Zaretskii <eliz@gnu.org>
4565
4566 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4567 to use texinfo-update-node and commands that call it if the
4568 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4569 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4570 (texinfo-all-menus-update, texinfo-master-menu)
4571 (texinfo-update-node, texinfo-every-node-update)
4572 (texinfo-multiple-files-update): Doc fix. Warn against updating
4573 all the @node lines.
4574 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4575 argument is numeric. Explain better in the doc string what the
4576 function really does.
4577 (texinfo-insert-master-menu-list): Improve the error message
4578 displayed if there's no menu in the Top node.
4579 (Bug#2975) See also this thread:
e5d84bfe
EZ
4580 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4581
1d84e9bb
MG
45822011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4583
4584 * speedbar.el (speedbar-supported-extension-expressions):
4585 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4586
382c953b
JB
45872011-12-09 Juanma Barranquero <lekktu@gmail.com>
4588
4589 * printing.el (pr-mode-alist):
4590 * simple.el (filter-buffer-substring-functions)
4591 (completion-list-insert-choice-function):
4592 * window.el (window-with-parameter, window-atom-root)
4593 (window-sides-slots, window-size-fixed, window-min-delta)
4594 (window-max-delta, window--resize-mini-window)
4595 (window--resize-child-windows-normal, window-tree)
4596 (delete-other-windows, quit-window, split-window)
4597 (display-buffer-record-window, special-display-buffer-names)
4598 (special-display-regexps, special-display-popup-frame)
4599 (same-window-p, split-window-sensibly)
4600 (display-buffer-overriding-action, display-buffer-alist)
4601 (display-buffer-base-action, display-buffer, switch-to-buffer)
4602 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4603 (fit-window-to-buffer, recenter-positions)
4604 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4605 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4606 and remove unneeded backslashes in docstrings.
4607
39c9faef
SM
46082011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4609
98449af8
SM
4610 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4611
39c9faef
SM
4612 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4613 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4614 end in ".mk".
4615 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4616 when reading the makefile (bug#10116).
4617
86ed9fdc
SM
46182011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4621 (bug#10116).
4622
5580f89d
GM
46232011-12-06 Glenn Morris <rgm@gnu.org>
4624
4625 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4626
28d3917c
CY
46272011-12-06 Chong Yidong <cyd@gnu.org>
4628
4629 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4630
a98edce9
JB
46312011-12-06 Juanma Barranquero <lekktu@gmail.com>
4632
4633 * textmodes/table.el (table-shorten-cell): Fix typo.
4634
e65adfac
CG
46352011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4636
4637 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4638
71cc0b74
EZ
46392011-12-05 Eli Zaretskii <eliz@gnu.org>
4640
4641 * descr-text.el (describe-char): Fix display of strong
4642 right-to-left characters and directional embeddings and overrides.
4643
4644 * simple.el (what-cursor-position): Fix display of codepoints of
4645 strong right-to-left characters.
4646
315bc30d
CY
46472011-12-05 Chong Yidong <cyd@gnu.org>
4648
4649 * faces.el (read-color): Doc fix.
4650
58a70b94
GM
46512011-12-05 Glenn Morris <rgm@gnu.org>
4652
4653 * align.el (align--set-marker): Add doc-string.
4654 Don't try to move something that is not a marker. (Bug#10216)
4655
5158face
GM
46562011-12-04 Glenn Morris <rgm@gnu.org>
4657
4658 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4659 overly zealous deletion of trailing whitespace.
4660
520fca41
JB
46612011-12-04 Juanma Barranquero <lekktu@gmail.com>
4662
4663 * server.el (server-delete-client): On Windows, do not try to delete
4664 the only terminal.
4665 (server-process-filter): On Windows, treat requests for a tty frame as
4666 if they were for a GUI frame if the running server is in GUI mode.
4667
5e605a2e
GM
46682011-12-03 Glenn Morris <rgm@gnu.org>
4669
4670 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4671
5c3fe83f
SM
46722011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4673
6f5e57e7
SM
4674 * electric.el: Streamline electric-indent's hook.
4675 (electric-indent-chars): Revert to simple list.
4676 (electric-indent-functions): New var.
4677 (electric-indent-post-self-insert-function): Use it.
4678
5c3fe83f
SM
4679 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4680 there's no inferior buffer (bug#10196).
4681 (prolog-consult-compile): Don't use toggle-read-only.
4682
6bdac736
MA
46832011-12-02 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4686 interrupt. (Bug#10187)
4687
6131ba7f
SM
46882011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4689
99c79fee
SM
4690 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4691 (bug#9160).
4692
6131ba7f
SM
4693 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4694 (bug#10191).
4695
cb0a02ea
JL
46962011-12-02 Juri Linkov <juri@jurta.org>
4697
4698 * info.el (Info-search): Display "end of manual" when Isearch
4699 reaches the end of single-file Info manual. (Bug#9918)
4700
66e0570c
EZ
47012011-12-02 Eli Zaretskii <eliz@gnu.org>
4702
4703 * isearch.el (isearch-message-prefix): Run the input method part
4704 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4705
02b16839
JL
47062011-12-02 Juri Linkov <juri@jurta.org>
4707
4708 * isearch.el (isearch-occur): Use `word-search-regexp' for
4709 `isearch-word'.
4710 (isearch-search-and-update): Add condition for `isearch-word' and
4711 call `word-search-regexp'. (Bug#10145)
4712
0b950688
GM
47132011-12-01 Glenn Morris <rgm@gnu.org>
4714
4715 * eshell/em-hist.el (eshell-hist-initialize):
4716 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4717 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4718
9505c3c7
SM
47192011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4722
1bbe96b2 47232011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4724
a1beca85
SM
4725 * progmodes/verilog-mode.el (verilog-pretty-expr):
4726 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4727 verilog, such as += *= and the like.
4728 (verilog-assignment-operator-re): Regular expression to find the
4729 assigment operator in a verilog assignment.
4730 (verilog-assignment-operation-re): Regular expression to find an
4731 assignment statement for pretty-expr.
4732 (verilog-in-attribute-p): Query returns true if point is in an
4733 attribute context; used to skip these for expression line up from
4734 pretty-expr.
4735 (verilog-in-parameter-p): Query returns true if point is in an
4736 parameter definition context; used to skip these for expression
4737 line up from pretty-expr.
4738 (verilog-in-parenthesis-p): Query returns true if point is in a
4739 parenthetical expression, specifically ( ) but not [ ] or { };
4740 used by pretty-expr.
4741 (verilog-just-one-space): If there is no space, don't add one.
4742 (verilog-get-lineup-indent-2): Specifically skip just attribute
4743 contexts for expression lineup, rather than skipping all
4744 parenthetical expressions.
4745 (verilog-calculate-indent): Fix comment, and fix indent.
4746 (verilog-do-indent): Indent declarations in lists (suggested by
4747 Joachim Lechner).
4748 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4749 skeleton items.
4750 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4751 by Alain Mellan).
4752
1bbe96b2 47532011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4754
4755 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4756 parameters with embedded comments. Reported by Ray Stevens.
4757 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4758 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4759 Reported by Tim Holt.
4760 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4761 instantiated by upper module causing wrong expansion until AUTOed a
4762 second time. Reported by K C Buckenmaier.
4763 (verilog-diff-auto): Fix showing .* as a difference when
4764 `verilog-auto-star-save' off. Reported by Dan Dever.
4765 (verilog-auto-reset, verilog-read-always-signals)
4766 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4767 temporary signals in reset list if
4768 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4769 style to each signal's assignment type, bug381.
4770 Reported by Thomas Esposito.
6288f0ca
WS
4771 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4772 (verilog-uvm-statement-re): Support UVM indentation and
4773 highlighting, with old OVM keywords only.
a1beca85 4774 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4775 Support AUTOTIEOFF creating non-wire data types.
4776 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4777 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4778 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4779 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4780 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4781 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4782 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4783 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4784 non-numeric vector width. Reported by Alex Reed.
4785 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4786 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4787 (verilog-auto-delete-trailing-whitespace):
4788 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4789 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4790 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4791 Fix verilog-scan-cache corruption when running user AUTO expansion
4792 hooks that call indentation routines.
4793 (verilog-simplify-range-expression): Fix typo ignoring lower case
4794 identifiers.
4795 (verilog-delete-auto): Fix delete-autos to also remove user created
4796 automatics, as long as they start with AUTO.
4797 (verilog-batch-diff-auto, verilog-diff-auto)
4798 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4799 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4800 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4801 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4802 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4803 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4804 is disabled and its cache will get corrupt, causing AUTOS not to
4805 expand. Instead use only -quick functions.
4806 (verilog-scan-region): Fix scanning over escaped quotes.
4807 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4808 (verilog-re-search-backward-quick)
4809 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4810 related functions now ignore strings, to fix misparsing of strings
4811 with magic comments embedded in them.
a1beca85
SM
4812 (verilog-read-auto-template):
4813 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4814 Reported by Brad Dobbie.
4815 (verilog-read-auto-template):
4816 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4817 Reported by Brad Dobbie.
6288f0ca
WS
4818 (verilog-auto-inst, verilog-auto-inst-param)
4819 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4820 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4821 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4822 debugging templates without merge conflicts, bug357.
4823 Reported by Brad Dobbie.
4824 (verilog-read-auto-template):
4825 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4826 Reported by Brad Dobbie.
4827 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4828 abbrevs so user won't be asked to save.
4829 (verilog-read-auto-lisp-present): Fix to start at beginning of
4830 buffer in case called outside of verilog-auto.
4831 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4832 to "X-2". Reported by Matthew Myers.
4833 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4834 all inputs from module templates. Reported by Leith Johnson.
4835 (verilog-module-inside-filename-p): Fix locating programs as with
4836 modules.
4837 (verilog-auto-inst-port): Fix vl-width expressions when using
4838 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4839 (verilog-decls-get-regs, verilog-decls-get-signals,
4840 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4841 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4842 verilog-read-decls): Combine reg and wire structures into one var
4843 structure to represent SystemVerilog concepts.
4844 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4845 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4846 (verilog-auto-wire-type, verilog-insert-definition):
4847 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4848 SystemVerilog "logic" keyword instead of "wire"/"reg".
4849 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4850 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4851 ifdef or generate if so there's not a driver conflict).
4852 Reported by Matthew Myers.
4853 (verilog-auto-declare-nettype, verilog-insert-definition):
4854 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4855 `default_nettype none. Reported by Julian Gorfajn.
4856 (verilog-read-always-signals-recurse, verilog-read-decls)
4857 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4858 malformed end statement, bug325. Reported by Joshua Wise and
4859 Andrew Drake.
4860 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4861 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4862 when expanding .* in interfaces, bug320.
4863 Reported by Pierre-David Pfister.
6288f0ca 4864 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4865 name and open parenthesis, bug317.
4866 Reported by Pierre-David Pfister.
6288f0ca
WS
4867 (verilog-simplify-range-expression): Fix simplification of
4868 multiplications inside AUTOWIRE connections, bug303.
4869 (verilog-auto-inst-port): Support parameter expansion in
4870 multidimensional arrays.
4871 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4872 after "assert property". Reported by Julian Gorfajn.
4873 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4874 with multiplication, bug303.
4875 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4876 Reported by Jan Frode Lonnum.
4877
1bbe96b2
GM
48782011-11-30 Juanma Barranquero <lekktu@gmail.com>
4879
4880 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4881 (hfy-shell-file-name, hfy-shell):
4882 * international/fontset.el (x-decompose-font-name): Fix typos.
4883
48842011-11-29 Ken Brown <kbrown@cornell.edu>
4885
4886 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4887 (gdb-version): Remove defvar.
4888 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4889 (gdb-gud-context-command, gdb-non-stop-handler)
4890 (gdb-current-context-command, gdb-stopped): Use it.
4891 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4892 (gdb-non-stop-handler): Don't enable pretty-printing here.
4893 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4894 non-stop mode. Use the following.
4895 (gdb-check-target-async): New defun.
4896 (gud-watch, gdb-stopped): Fix whitespace.
4897 (gdb-get-source-file): Don't try to display the source file if
4898 `gdb-main-file' is nil.
4899
49002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * align.el: Try to generate fewer markers (bug#10047).
4903 (align--set-marker): New macro.
4904 (align-region): Use it.
4905
c935221f
SM
49062011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4909
e70b5064
CY
49102011-11-29 Chong Yidong <cyd@gnu.org>
4911
4912 * indent.el (indent-for-tab-command, indent-according-to-mode):
4913 Doc fix.
4914 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4915
f3af92b7
MA
49162011-11-29 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4919 aware of remote file names. (Bug#10124)
4920
ed472be9
CY
49212011-11-29 Chong Yidong <cyd@gnu.org>
4922
4923 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4924
24510c22
SM
49252011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * files.el (find-file): Don't use force-same-window (bug#10144).
4928 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4929 use pop-to-buffer if the selected window can't be used.
4930 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4931
c60c3703
EZ
49322011-11-28 Eli Zaretskii <eliz@gnu.org>
4933
4934 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4935 special-mode-map.
4936
e95def75
CY
49372011-11-28 Chong Yidong <cyd@gnu.org>
4938
4939 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4940
c3f1c606
NR
49412011-11-27 Nick Roberts <nickrob@snap.net.nz>
4942
4943 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4944 gdb-get-source-file-list on gdb-create-source-file-list.
4945
00db469c
EZ
49462011-11-26 Eli Zaretskii <eliz@gnu.org>
4947
4948 * whitespace.el (whitespace-newline): Use a different foreground
4949 color for 16-color light-background displays.
4950
4ad3bc2a
CY
49512011-11-24 Chong Yidong <cyd@gnu.org>
4952
4953 * window.el (display-buffer--special-action): Doc fix.
4954
e9fce1ac
JB
49552011-11-25 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4958 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4959 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4960 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4961 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4962 (avl-tree-stack-first):
4963 * emacs-lisp/cconv.el (cconv--analyse-use):
4964 * net/gnutls.el (gnutls-negotiate): Fix typos.
4965
cb825e5d
GM
49662011-11-24 Glenn Morris <rgm@gnu.org>
4967
3adbe224
GM
4968 * lpr.el (lpr-windows-system, lpr-lp-system):
4969 * mail/binhex.el (binhex-begin-line):
4970 * progmodes/grep.el (grep-history, grep-find-history):
4971 * textmodes/flyspell.el:
4972 * vc/pcvs-defs.el (cvs-global-menu):
4973 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4974 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4975 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4976
321decc8
GM
4977 * net/tls.el: Fix case of "GnuTLS".
4978
420b63ad
GM
4979 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4980
cb825e5d
GM
4981 * version.el (emacs-build-system): Give it a doc-string.
4982
a0649f08
JL
49832011-11-24 Juri Linkov <juri@jurta.org>
4984
4985 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4986
c0bc0fd4
GM
49872011-11-24 Glenn Morris <rgm@gnu.org>
4988
4989 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4990 if called on a non-mime message just toggle the headers. (Bug#8006)
4991
20db1522
JB
49922011-11-24 Juanma Barranquero <lekktu@gmail.com>
4993
4994 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4995 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4996 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4997 (allout-rebullet-heading, allout-open-sibtopic)
4998 (allout-toggle-current-subtree-encryption)
4999 (allout-toggle-subtree-encryption, allout-encrypt-string)
5000 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5001 (allout-distinctive-bullets-string, allout-auto-activation):
5002 * window.el (window-normalize-buffer-to-display):
5003 * progmodes/verilog-mode.el (verilog-batch-indent):
5004 * textmodes/bibtex.el (bibtex-field-braces-opt)
5005 (bibtex-field-strings-opt):
5006 * vc/cvs-status.el (cvs-tree-merge):
5007 Fix typos.
5008
7262a87c
MA
50092011-11-23 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5012 `non-essential' to t, in order to avoid remote connections.
5013
283430a1
EZ
50142011-11-23 Eli Zaretskii <eliz@gnu.org>
5015
a1beca85
SM
5016 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5017 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5018 case-insensitively.
5019
d2992a38
ML
50202011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5021
5022 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5023
50419064
GM
50242011-11-23 Glenn Morris <rgm@gnu.org>
5025
da94eca1
GM
5026 * paths.el (rmail-file-name): Reformat the doc-string so that it
5027 is picked up.
5028
9aac4de2
GM
5029 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5030 (rmail-auto-file): Ignore case in the "special" field names,
5031 as mail-fetch-field does for all others.
5032
8038d2d2
GM
5033 * mail/rmail.el (rmail-forward):
5034 * mail/rmailkwd.el (rmail-set-label):
5035 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5036 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5037
f3fe222a
GM
5038 * mail/rmail.el (rmail-current-message): Doc fix.
5039
50419064
GM
5040 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5041
28109f49
SM
50422011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5045
394c65f1
GM
50462011-11-22 Glenn Morris <rgm@gnu.org>
5047
5048 * mail/rmailmm.el (test-rmail-mime-handler)
5049 (test-rmail-mime-bulk-handler)
5050 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5051
f2a0aa3a
JL
50522011-11-21 Juri Linkov <juri@jurta.org>
5053
1154d12e
JB
5054 * calc/calc.el (calc-read-key-sequence):
5055 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5056
9c34a344
LMI
50572011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5058
5059 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5060 Tell the caller that the next line needs recomputation, even
5061 though it doesn't start a sexp (bug#10094).
5062
f04a3be9
SM
50632011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5066
7978747f
SM
50672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5068
f04a3be9
SM
5069 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5070 Use force-same-window.
7978747f 5071
fe7a3057
JB
50722011-11-20 Juanma Barranquero <lekktu@gmail.com>
5073
5074 * descr-text.el (describe-char-unicode-data):
5075 * json.el (json-string-escape):
5076 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5077 (Footnote-unicode, Footnote-style-p):
5078 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5079
24901d61
CY
50802011-11-20 Chong Yidong <cyd@gnu.org>
5081
5082 * window.el (replace-buffer-in-windows): Restore interactive spec.
5083
bac7ff22
SM
50842011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5085
24f3d7b9
SM
5086 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5087
bac7ff22
SM
5088 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5089 (byte-compile-global-not-obsolete-vars): New var.
5090 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5091 Use it.
5092 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5093
cd1181db
JB
50942011-11-20 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5097 * progmodes/pascal.el (electric-pascal-equal):
5098 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5099 * xml.el (xml-substitute-special): Fix typos.
5100
7fb18e9e
GM
51012011-11-20 Glenn Morris <rgm@gnu.org>
5102
5103 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5104 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5105 Doc fixes.
5106 (rmail-decode-mime-charset): Mark as obsolete.
5107
5108 * mail/rmailsum.el (rmail-message-regexp-p-1):
5109 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5110 Before using mime functions, check they are set. (Bug#10077)
5111
d5a6b3ba
JL
51122011-11-19 Juri Linkov <juri@jurta.org>
5113
5114 * info.el (Info-finder-find-node): Use `package--builtins' instead
5115 of `package-alist'. Use node names formed by the pattern "Keyword "
5116 and the keyword name.
5117
e981b61f
AS
51182011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5119
1d00653d 5120 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5121
3ffbc301
JL
51222011-11-19 Juri Linkov <juri@jurta.org>
5123
5124 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5125 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5126 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5127 `old-history', `old-history-forward'. Add let-binding
5128 `window-selected'. Remove calls to `kill-buffer',
5129 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5130 before calling `Info-find-node', so `Info-find-node-2' will reread
5131 the Info file. Restore window positions only when `window-selected'
5132 is non-nil.
5133
30c62133
JL
51342011-11-19 Juri Linkov <juri@jurta.org>
5135
5136 * isearch.el (isearch-lazy-highlight-new-loop):
5137 Remove condition `(not isearch-error)'. (Bug#9918)
5138
5139 * misearch.el (multi-isearch-search-fun): Add condition
5140 `(not bound)' to ignore lazy-highlighting search.
5141 Add the search-failed message "end of multi" when the end of
5142 multi-sequence is reached. Uncapitalize the search-failed
5143 message "Repeat for next buffer".
5144
5145 * info.el (Info-search): Add the search-failed message
5146 "end of the manual" when the end of the manual is reached
5147 in Isearch mode.
5148
645ca9cf
JL
51492011-11-19 Juri Linkov <juri@jurta.org>
5150
5151 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5152 Use non-destructive `remove' instead of `delete' because
5153 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5154 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5155
df754f66
JL
51562011-11-19 Juri Linkov <juri@jurta.org>
5157
5158 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5159 to nil instead of binding `search-ring' and `regexp-search-ring'.
5160 (Bug#9185)
5161
0e23d96a
EZ
51622011-11-19 Eli Zaretskii <eliz@gnu.org>
5163
5164 * simple.el (line-move): Force movement by logical lines for any
5165 hscrolled window, not only when auto-hscroll-mode is on.
5166 (line-move-visual): Update doc string to that effect. (Bug#10076)
5167
8a6ccb66
AS
51682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * language/european.el (macintosh): Define as alias for mac-roman.
5171
49ae5b39
EZ
51722011-11-19 Eli Zaretskii <eliz@gnu.org>
5173
5174 * mail/rmailmm.el (rmail-mime-display-header)
5175 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5176 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5177 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5178 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5179 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5180 of a raw aref.
5181 (rmail-mime-entity-segment): To get past the tagline, move forward
5182 2 more lines, to account for the 2 empty lines that precede and
5183 follow the line with the buttons.
5184 (rmail-mime-update-tagline): Move one more line, to get past the
5185 empty line that follows the buttons in the tagline. (Bug#9520)
5186
c56cad4a
MR
51872011-11-19 Martin Rudalics <rudalics@gmx.at>
5188
5189 * window.el (window-max-delta-1, window-min-delta-1)
5190 (window-min-size-1, window-state-get-1, window-state-put-1)
5191 (window-state-put-2): Use "window--" prefix.
5192
cbe71af3
SM
51932011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5194
2ad52c60
SM
5195 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5196 (smie-warning-count): New var.
5197 (smie-set-prec2tab): Use it.
5198 (smie-bnf->prec2): Improve warnings. Add docstring.
5199 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5200 (smie-bnf--set-class): New function.
5201 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5202 corner case.
5203
6944dbc1
SM
5204 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5205 (compilation-error-properties, compilation-move-to-column):
5206 Handle compilation-first-column while in the target buffer.
5207
c400c4d7
SM
5208 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5209 Don't hardcode point-min==1.
5210
6dbe3e96
SM
5211 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5212 (eshell-rewrite-for-command): Remove workaround.
5213 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5214 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5215 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5216
cbe71af3
SM
5217 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5218
a8e1496d
GM
52192011-11-17 Glenn Morris <rgm@gnu.org>
5220
5221 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5222 Ignore buffer-local generated-autoload-file if it is the same
5223 as the global value. (Bug#10049)
5224
df85d315
JB
52252011-11-17 Juanma Barranquero <lekktu@gmail.com>
5226
5227 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5228 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5229 (reftex-toc-previous-heading, reftex-toc-max-level)
5230 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5231 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5232 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5233 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5234 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5235 (reftex-toc-rename-label, reftex-toc-visit-location)
5236 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5237 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5238 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5239 leaving "*toc*" only for references to the buffer.
5240
a0c2d0ae
MR
52412011-11-17 Martin Rudalics <rudalics@gmx.at>
5242
5243 * window.el (window-resize, delete-window, split-window):
5244 Replace window-splits by window-combination-resize.
1d00653d 5245 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5246
35c0bac8
GM
52472011-11-17 Glenn Morris <rgm@gnu.org>
5248
5249 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5250 Make bash entry derive from sh entry, not shell entry.
5251
d0c8fc8a
MA
52522011-11-16 Michael Albinus <michael.albinus@gmx.de>
5253
d0c8fc8a
MA
5254 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5255 properties of linked files. (Bug#9879)
5256
7262a87c
MA
5257 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5258 local file name.
5259
7877f373
JB
52602011-11-16 Juanma Barranquero <lekktu@gmail.com>
5261
5262 * menu-bar.el (menu-bar-file-menu):
5263 * printing.el (pr-ps-utility):
5264 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5265 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5266 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5267 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5268 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5269 (icalendar--convert-cyclic-to-ical)
5270 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5271 (icalendar--convert-ical-to-diary)
5272 (icalendar--convert-recurring-to-diary)
5273 (icalendar--convert-non-recurring-all-day-to-diary)
5274 (icalendar-import-format-sample):
5275 * progmodes/idlw-shell.el (idlwave-shell-mode):
5276 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5277 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5278 (vhdl-ps-print-init): Fix typos.
5279
10649b82
KM
52802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5281
9d0cfcd6
GM
5282 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5283 FSF and collapse date sequence, obscure author/maintainer email address
5284 better, remove extra version line, track relocation of author's webpage.
10649b82 5285
9d0cfcd6
GM
5286 * progmodes/python.el (python-pdbtrack-input-prompt)
5287 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5288 regular python pdb prompts. Adjustments shamelessly taken exactly as
5289 suggested in EmacsWiki page (tiny change):
5290 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5291
58179cce
JB
52922011-11-16 Juanma Barranquero <lekktu@gmail.com>
5293
5294 * expand.el (expand-pos, expand-index, expand-point):
5295 Remove redundant info from docstring.
5296 (expand-add-abbrevs): Doc fix.
5297 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5298 (expand-sample-perl-mode-expand-list): Fix typos.
5299
5300 * net/dbus.el (dbus-event-member-name):
5301 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5302 * term/pc-win.el (msdos-create-frame-with-faces):
5303 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5304
b6f67890
MR
53052011-11-16 Martin Rudalics <rudalics@gmx.at>
5306
5307 * window.el (split-window, window-state-get-1)
5308 (window-state-put-1, window-state-put-2): Rename occurrences of
5309 window-nest to window-combination-limit.
1d00653d 5310 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5311
ce7ddba0
CY
53122011-11-16 Chong Yidong <cyd@gnu.org>
5313
5314 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5315 regexp (Bug#10033).
5316
3ae704f4
SM
53172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5320 `completing-read' will remove *Completions* and will preserve
5321 current-buffer for us.
5322 (tmm-add-prompt): Users of *Completions* will always (re)set its
5323 major mode.
5324 (tmm-old-comp-map): Remove.
5325
6ad1cdde
GM
53262011-11-16 Glenn Morris <rgm@gnu.org>
5327
5328 * mail/rmailedit.el: Require rmailmm when compiling.
5329 (rmail-old-mime-state): New declaration.
5330 (rmail-edit-current-message): If editing a mime message,
5331 edit the "raw" message from the mbox buffer.
5332 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5333
d20faa20
GM
53342011-11-15 Glenn Morris <rgm@gnu.org>
5335
5336 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5337 which wasn't being used. Add optional arg to force given state.
5338 (rmail-mime): Add optional arg to force given state.
5339
c7015153
JB
53402011-11-15 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5343 * frame.el (display-mm-dimensions-alist):
5344 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5345 (outline-move-subtree-down):
5346 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5347 (newsticker--treeview-do-get-node):
5348 * net/quickurl.el (quickurl-list-buffer-name):
5349 * progmodes/dcl-mode.el (dcl-mode):
5350 * progmodes/gdb-mi.el (gdb-mapcar*):
5351 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5352
45261b50
GM
53532011-11-15 Glenn Morris <rgm@gnu.org>
5354
5355 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5356 in a boolean sense, so just make it a boolean, and fix the doc.
5357 (rmail-show-mime-function, rmail-mime-feature)
5358 (rmail-require-mime-maybe): Doc fixes.
5359 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5360
5361 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5362
0d26e0b6
JB
53632011-11-15 Juanma Barranquero <lekktu@gmail.com>
5364
5365 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5366 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5367 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5368 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5369
447f30f6
GM
53702011-11-15 Glenn Morris <rgm@gnu.org>
5371
672b871d
GM
5372 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5373 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5374 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5375 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5376 (rmail-mime, rmail-show-mime): Doc fixes.
5377
f6aa5bb1
GM
5378 * term/ns-win.el (mode-line-frame-identification):
5379 Leave it alone. (Bug#10051)
5380
947cd66b
GM
5381 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5382
447f30f6
GM
5383 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5384 Handle empty buffers. (Bug#9978)
5385
0b381c7e
JB
53862011-11-14 Juanma Barranquero <lekktu@gmail.com>
5387
5388 * international/mule.el (define-charset):
5389 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5390 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5391 * progmodes/verilog-mode.el (verilog-backward-token):
5392 * textmodes/ispell.el (lookup-words):
5393 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5394
71e027ac
GM
53952011-11-14 Glenn Morris <rgm@gnu.org>
5396
56632ce4
GM
5397 * progmodes/executable.el
5398 (executable-make-buffer-file-executable-if-script-p):
5399 Handle file-modes returning nil.
5400
40500957
GM
5401 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5402 message - not necessary, and causes problems. (Bug#9831)
5403
071c2340
GM
5404 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5405
d3cfca60
GM
5406 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5407
71e027ac
GM
5408 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5409 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5410 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5411
89d61221
MR
54122011-11-12 Martin Rudalics <rudalics@gmx.at>
5413
5414 * window.el (window-resize, delete-window): Use window-splits
5415 variable instead of function.
5416 (window-state-get-1, window-state-put-2, window-state-put):
5417 Don't deal with windows' splits status.
5418
98282f6f
GM
54192011-11-12 Glenn Morris <rgm@gnu.org>
5420
5421 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5422 (apropos-documentation): Doc fixes.
5423
40a8bdf6
JB
54242011-11-11 Juanma Barranquero <lekktu@gmail.com>
5425
5426 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5427 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5428
65bd19ff
SM
54292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * electric.el (electric-indent-post-self-insert-function): Make it
5432 possible for a char to only indent in some circumstances.
5433 (electric-indent-mode): Simplify.
5434
54f9154c
MR
54352011-11-11 Martin Rudalics <rudalics@gmx.at>
5436
5437 * window.el (windows-with-parameter): Remove unused function.
5438 (windows-at-side): Rename to window-at-side-list.
5439 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5440 (window-side-check, window-size-ignore, window-size-fixed-1)
5441 (window-in-direction-2): Prefix with "window--".
5442 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5443
68cbc58b
GM
54442011-11-11 Glenn Morris <rgm@gnu.org>
5445
5446 * subr.el (eval-after-load): If FILE is already loaded,
5447 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5448
b2621720
GM
54492011-11-10 Glenn Morris <rgm@gnu.org>
5450
9a4de110
GM
5451 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5452 Call svn via vc-svn-command rather than vc-do-command.
5453 (vc-svn-command): Add --non-interactive. (Bug#9993)
5454 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5455
b2621720
GM
5456 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5457 Add toggle-read-only. (Bug#7292)
5458 * files.el (toggle-read-only): Mention that it should only
5459 be used interactively. (Bug#10006)
5460
1dce7193
SM
54612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5462
d9ac1a1e
SM
5463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5464 Adjust regexp for OCaml warnings.
5465
0c325082
SM
5466 * electric.el (electric-pair-post-self-insert-function): Let user
5467 turn it off buffer-locally (bug#9932).
5468
90132c14
SM
5469 * progmodes/python.el (python-beginning-of-statement):
5470 Rewrite (bug#2703).
5471
1dce7193
SM
5472 * progmodes/compile.el: Better handle TABs (bug#9749).
5473 (compilation-internal-error-properties)
5474 (compilation-next-error-function): Obey the target buffer's
5475 compilation-error-screen-columns.
5476
c4e7c63a
JB
54772011-11-09 Juanma Barranquero <lekktu@gmail.com>
5478
5479 * progmodes/meta-mode.el: Remove obsolete comments.
5480 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5481 Fix typos in docstrings.
5482
2cffd681
MR
54832011-11-09 Martin Rudalics <rudalics@gmx.at>
5484
5485 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5486 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5487 (window--resizable): New function. Make all callers of
5488 window-resizable call window--resizable instead.
5489 (window-resizable): Rewrite in terms of window--resizable.
5490
0edcba87
GM
54912011-11-08 Glenn Morris <rgm@gnu.org>
5492
5493 * progmodes/delphi.el (delphi-mode-syntax-table):
5494 Let define-derived-mode define a proper syntax table. (Bug#9994)
5495
4b0d61e3
SM
54962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * window.el: Stay away from defsubst.
5499 (window-list-no-nils): Remove.
5500 (window-state-get-1, window-state-get): Use backquote instead.
5501
cd394be1 55022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5503
4b0d61e3 5504 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5505 Fix incorrect use of default argument in `completing-read'.
5506
e1c2c6f2
MR
55072011-11-08 Martin Rudalics <rudalics@gmx.at>
5508
5509 * window.el (display-buffer-function, special-display-function):
5510 Mention display-buffer-record-window but do not mention
5511 help-setup parameter in doc-strings.
b3f4a882 5512 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5513
105216ed
CY
55142011-11-08 Chong Yidong <cyd@gnu.org>
5515
5516 * window.el (window-total-height, window-total-width): Doc fix.
5517 (window-body-size): Move from C.
5518 (window-body-height, window-body-width): Move to C.
5519
0a9f9ab5
SM
55202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * window.el: Make special-display like display-buffer-alist (bug#9532).
5523 (display-buffer--special-action): New function, morphed
5524 from display-buffer--special.
5525 (display-buffer): Use it to handle special-display-buffers at higher
5526 priority (just after display-buffer-alist).
5527 (display-buffer-fallback-action, display-buffer--other-frame-action)
5528 (pop-to-buffer-same-window): Remove display-buffer--special.
5529
a769dd15
GM
55302011-11-07 Glenn Morris <rgm@gnu.org>
5531
5532 * calendar/cal-menu.el (cal-menu-set-date-title):
5533 Do nothing if not in a calendar. (Bug#9976)
5534
05a61ee3
SM
55352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * files.el (find-file): Always use selected-window.
5538
be7f5545
MR
55392011-11-07 Martin Rudalics <rudalics@gmx.at>
5540
5541 * window.el (window-combinations): Make WINDOW argument
5542 mandatory. Rewrite doc-string.
5543 (walk-window-subtree, window-atom-check, window-min-delta)
5544 (window-max-delta, window--resize-this-window)
5545 (window--resize-root-window-vertically, window-tree)
5546 (balance-windows, window-state-put): Rewrite doc-strings as to
5547 not mention the term "subwindow".
5548 (window--resize-subwindows-skip-p): Rename to
5549 window--resize-child-windows-skip-p.
5550 (window--resize-subwindows-normal): Rename to
5551 window--resize-child-windows-normal.
5552 (window--resize-subwindows): Rename to
5553 window--resize-child-windows.
5554 (window-or-subwindow-p): Rename to window--in-subtree-p.
5555
3c6702ef
ML
55562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5557
5558 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5559 Ensure that mbox format messages end in two newlines (Bug#9974).
5560
49745b39
CY
55612011-11-06 Chong Yidong <cyd@gnu.org>
5562
5563 * window.el (window-combination-p): Function deleted; its
5564 side-effect is not used in any existing code.
5565 (window-combinations, window-combined-p): Call window-*-child
5566 directly.
5567
24300f5f
CY
55682011-11-05 Chong Yidong <cyd@gnu.org>
5569
5570 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5571 (window-size-ignore, window-state-get): Callers changed.
5572 (window-normalize-window): Rename from window-normalize-any-window.
5573 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5574 (window-normalize-live-window): Delete.
447f16b8
CY
5575 (window-combination-p, window-combined-p, window-combinations)
5576 (walk-window-subtree, window-atom-root, window-min-size)
5577 (window-sizable, window-sizable-p, window-size-fixed-p)
5578 (window-min-delta, window-max-delta, window-resizable)
5579 (window-resizable-p, window-full-height-p, window-full-width-p)
5580 (window-current-scroll-bars, window-point-1, set-window-point-1)
5581 (window-at-side-p, window-in-direction, window-resize)
5582 (adjust-window-trailing-edge, maximize-window, minimize-window)
5583 (window-deletable-p, delete-window, delete-other-windows)
5584 (record-window-buffer, unrecord-window-buffer)
5585 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5586 (quit-window, split-window, window-state-put)
5587 (set-window-text-height, fit-window-to-buffer)
5588 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5589
89bd5ee1
EZ
55902011-11-04 Eli Zaretskii <eliz@gnu.org>
5591
53479029
EZ
5592 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5593 rfc2047-decode-string.
5594 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5595 warnings.
5596
89bd5ee1
EZ
5597 * window.el (window-body-height, window-body-width): Mention in
5598 the doc string that the return values are in frame's canonical
5599 units. (Bug#9949)
5600
bd17fdee
AM
56012011-11-03 Alan Mackenzie <acm@muc.de>
5602
5603 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5604 change in cc-engine.el.
5605
acc825c5
SM
56062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5609
1885e5b8
MR
56102011-11-02 Martin Rudalics <rudalics@gmx.at>
5611
5612 * window.el (quit-window): Call unrecord-window-buffer after
5613 showing another buffer in the window. (Bug#9937)
acc825c5 5614 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5615
ebe06da9
JB
56162011-11-02 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5619 Accept status with more than 9 shelves. (Bug#9935)
5620 Reported by Colin D Bennett <colin@gibibit.com>.
5621
4ee88440
MR
56222011-11-01 Martin Rudalics <rudalics@gmx.at>
5623
5624 * help.el (with-help-window): Don't reference
5625 temp-buffer-show-specifiers in doc-string.
5626
08e1d82c
AS
56272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5630 menu-item.
5631
84bd6e9e
VJL
56322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5633
5634 * whitespace.el: New version 13.2.2.
5635 (whitespace-newline-mode): Disable properly. Reported by Sarah
5636 <EmacsWiki>.
5637
dba0634a
UJ
56382011-10-30 Ulf Jasper <ulf.jasper@web.de>
5639
5640 * net/newst-treeview.el: Remove "Time-stamp".
5641 (newsticker--group-manage-orphan-feeds): Do not call
5642 newsticker--treeview-tree-update.
db22a3c2
JB
5643 (newsticker-treeview-update, newsticker-treeview):
5644 Call newsticker--treeview-tree-update if necessary.
dba0634a 5645
3d8daefe
MR
56462011-10-30 Martin Rudalics <rudalics@gmx.at>
5647
5648 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5649 (window-iso-combinations): Remove "iso-" infix.
5650 Suggested by Chong Yidong.
3d8daefe
MR
5651 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5652 (window-max-delta-1, window-resize, window--resize-siblings)
5653 (window--resize-this-window, adjust-window-trailing-edge)
5654 (split-window, balance-windows-1)
5655 (shrink-window-if-larger-than-buffer):
5656 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5657 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5658
1bc4c3ae
SM
56592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5662 in place (bug#9907).
5663 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5664 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5665 (eshell-structure-basic-command, eshell-rewrite-while-command)
5666 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5667 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5668 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5669 (eshell-do-pipelines-synchronously, eshell-eval-command):
5670 Use backquotes and prefer setq to set.
5671 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5672 (eshell-macrop): Use functionp.
c1e2f5fa 5673 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5674
30b65d9c
CY
56752011-10-30 Chong Yidong <cyd@gnu.org>
5676
5677 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5678 instead of set-mark (Bug#9810).
5679
2d197ffb
CY
56802011-10-30 Chong Yidong <cyd@gnu.org>
5681
5682 * window.el (split-window-below, split-window-right): Rename from
5683 split-window-above-each-other and split-window-side-by-side
5684 respectively. All callers changed.
5685 (split-window-sensibly, split-window-sensibly): Use them.
5686 (split-window-keep-point): Doc fix.
5687
5688 * isearch.el: Add isearch-scroll property to split-window-below
5689 and split-window-right.
5690
5691 * follow.el (follow-mode):
5692 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5693 * progmodes/ada-xref.el (ada-gdb-application):
5694 * emulation/vip.el (vip-buffer-in-two-windows):
5695 * image-dired.el (image-dired-dired-with-window-configuration):
5696 * dired-x.el (dired-do-find-marked-files):
5697 * dired.el (dired-pop-to-buffer):
5698 * bs.el (bs--show-with-configuration):
5699 * vc/emerge.el (emerge-setup-windows):
5700 * textmodes/two-column.el (2C-two-columns):
5701 * textmodes/reftex-toc.el (reftex-toc):
5702 * progmodes/gdb-mi.el (gdb-setup-windows):
5703 * progmodes/fortran.el (fortran-window-create):
5704 * net/newst-treeview.el (newsticker--treeview-window-init):
5705 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5706 * emulation/tpu-edt.el (tpu-gold-map):
5707 * emulation/crisp.el (crisp-mode-map):
5708 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5709
38bb2ca8
CY
57102011-10-29 Chong Yidong <cyd@gnu.org>
5711
aa4de341
CY
5712 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5713
e1eb5385
CY
5714 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5715
5d2ece3c
CY
5716 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5717 forged Ispell output (Bug#7904).
5718
38bb2ca8
CY
5719 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5720
d0af9f77
SM
57212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * doc-view.el: Avoid ugly errors about not finding nil.
5724 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5725 (doc-view-dvipdf-program, doc-view-unoconv-program)
5726 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5727 Avoid nil or absolute file name as default value.
5728 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5729
52bedd34
AM
57302011-10-28 Alan Mackenzie <acm@muc.de>
5731
db22a3c2 5732 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5733
7e43cfa5
AM
57342011-10-28 Alan Mackenzie <acm@muc.de>
5735
5736 Amend the handling of c-beginning/end-of-defun in nested declaration
5737 scopes.
5738
52bedd34
AM
5739 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5740 cc-langs.el. Change it to a defcustom.
7e43cfa5 5741
52bedd34
AM
5742 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5743 cc-vars.el.
7e43cfa5 5744
d0af9f77
SM
5745 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5746 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5747
52bedd34 5748 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5749 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5750 (c-widen-to-enclosing-decl-scope): New function.
5751 (c-while-widening-to-decl-block): New macro.
5752 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5753 outward for defun boundaries, and correspondingly change symbol
5754 `respect-enclosure' to `go-outward'.
5755 (c-declaration-limits): Change algorithm to report only the "innermost"
5756 defun's boundaries.
5757
1a2ce9ee
DD
57582011-10-28 Deniz Dogan <deniz@dogan.se>
5759
5760 * net/rcirc.el (rcirc-mode): Use hard newlines.
5761
bc97a826
AM
57622011-10-28 Alan Mackenzie <acm@muc.de>
5763
5764 Amend to indent and fontify macros "which include their own semicolon"
5765 correctly, using the "virtual semicolon" mechanism.
5766
52bedd34 5767 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5768
d0af9f77 5769 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5770 Recode to scan one line at a time rather than having \n and \r
58179cce 5771 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5772 (c-forward-label): Amend for virtual semicolons.
58179cce 5773 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5774
52bedd34
AM
5775 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5776 of the new C macros.
bc97a826 5777
52bedd34 5778 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5779 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5780 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5781 (c-opt-cpp-macro-define): Make into a full language variable.
5782 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5783 AWK Mode (including \n, \r) removed, no longer needed.
5784
d0af9f77
SM
5785 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5786 Invoke c-make-macro-with-semi-re.
bc97a826 5787
52bedd34
AM
5788 * progmodes/cc-vars.el (c-macro-with-semi-re):
5789 (c-macro-names-with-semicolon): New variables.
58179cce 5790 (c-make-macro-with-semi-re): New function.
bc97a826 5791
7a6c0941
SM
57922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 * vc/log-edit.el: Fill empty field rather than adding new one.
5795 (log-edit-add-field): New function.
5796 (log-edit-insert-changelog): Use it.
5797
b0c4cdcf
ML
57982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5799
5800 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5801
ee1f1da9
SM
58022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5805 (gdb--check-interpreter): New function.
5806 (gdb): Use it.
5807
51bc5f8b
GM
58082011-10-27 Glenn Morris <rgm@gnu.org>
5809
416a2c45
GM
5810 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5811 (least-positive-float, least-negative-float)
5812 (least-positive-normalized-float, least-negative-normalized-float)
5813 (float-epsilon, float-negative-epsilon):
5814 Remove unnecessary declarations.
5815
5816 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5817 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5818 (least-positive-float, least-negative-float)
5819 (least-positive-normalized-float, least-negative-normalized-float)
5820 (float-epsilon, float-negative-epsilon): Add doc-strings,
5821 based on those in cl.texi.
5822
51bc5f8b
GM
5823 * files.el (set-visited-file-name): If the major-mode changed,
5824 reload the local variables. (Bug#9796)
5825
15de15c6
CY
58262011-10-27 Chong Yidong <cyd@gnu.org>
5827
5828 * subr.el (change-major-mode-after-body-hook): New hook.
5829 (run-mode-hooks): Run it.
5830
ee1f1da9
SM
5831 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5832 Use change-major-mode-before-body-hook.
15de15c6
CY
5833
5834 * simple.el (fundamental-mode):
5835 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5836 change introducing fundamental-mode-hook.
5837
5430d399
JB
58382011-10-26 Juanma Barranquero <lekktu@gmail.com>
5839
acc825c5 5840 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5841
ad74a69e
MA
58422011-10-26 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5845 tramp.el explicitly. (Bug#7583)
ad74a69e 5846
71d4c2a5
SM
58472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * progmodes/octave-mod.el:
5850 * progmodes/octave-inf.el: Update maintainer.
5851
b1f6fa26
CY
58522011-10-26 Chong Yidong <cyd@gnu.org>
5853
5854 * subr.el (with-wrapper-hook): Rewrite doc.
5855
3f04efd6
MA
58562011-10-25 Michael Albinus <michael.albinus@gmx.de>
5857
5858 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5859 filenames "/method:foo:". (Bug#9793)
3f04efd6 5860
410488d3
SM
58612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5864 (bug#9865).
5865
c1ebb47e
GM
58662011-10-24 Glenn Morris <rgm@gnu.org>
5867
5868 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5869
7f5c46c7
MA
58702011-10-24 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * notifications.el: Add the requirement of a running D-Bus session
5873 bus to the Commentary.
5874
db2440b6
JL
58752011-10-24 Juri Linkov <juri@jurta.org>
5876
5877 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5878 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5879 (Bug#9364)
5880
feecf435
JL
58812011-10-24 Juri Linkov <juri@jurta.org>
5882
5883 * info.el (Info-following-node-name-re): Add newline to the list
5884 of allowed characters for leading space. (Bug#9824)
5885
a3839de2
SM
58862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5887
acc825c5
SM
5888 * progmodes/octave-inf.el (inferior-octave-mode-map):
5889 Fix C-c C-h binding.
a3839de2
SM
5890 * progmodes/octave-mod.el (octave-help): Remove.
5891
09388e76
MA
58922011-10-23 Michael Albinus <michael.albinus@gmx.de>
5893
5894 Sync with Tramp 2.2.3.
5895
5896 * net/tramp-cache.el (top): Pacify byte-compiler using
5897 `init-file-user' and `site-run-file'.
5898
5899 * net/trampver.el: Update release number.
5900
86c60681
CY
59012011-10-23 Chong Yidong <cyd@gnu.org>
5902
5903 * files.el (toggle-read-only): Remove obsolete comment about
5904 version control.
5905
5906 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5907 for toggle-read-only. Note that this hasn't called vc-next-action
5908 since 2008-05-02, though it wasn't documented at the time.
5909
a3839de2
SM
5910 * vc/ediff-init.el (ediff-toggle-read-only-function):
5911 Use toggle-read-only.
86c60681 5912
cd5495ff
AM
59132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5914
5915 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5916 of c-parse-state.
5917
00b77525 5918 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5919 correct faulty logical expression.
cd5495ff
AM
5920 (c-parse-state-state, c-record-parse-state-state):
5921 (c-replay-parse-state-state): New defvar/defuns.
5922 (c-debug-parse-state): Use new functions.
5923
42ee24ed
MR
59242011-10-22 Martin Rudalics <rudalics@gmx.at>
5925
5926 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5927 last fix. Use window-in-direction correctly.
42ee24ed 5928
a7dee7e7
CY
59292011-10-21 Chong Yidong <cyd@gnu.org>
5930
5931 * progmodes/idlwave.el (idlwave-mode):
5932 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5933 require-final-newline; that's done in prog-mode.
5934 Suggested by Stefan Monnier.
a7dee7e7 5935
e07b9a6d
MR
59362011-10-21 Martin Rudalics <rudalics@gmx.at>
5937
5938 * mouse.el (mouse-drag-window-above)
5939 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5940 (mouse-drag-mode-line-1, mouse-drag-header-line)
5941 (mouse-drag-vertical-line-rightward-window): Remove.
5942 (mouse-drag-line): New function.
5943 (mouse-drag-mode-line, mouse-drag-header-line)
5944 (mouse-drag-vertical-line): Call mouse-drag-line.
5945 * window.el (window-at-side-p, windows-at-side): New functions.
5946
7e1361d9
UM
59472011-10-21 Ulrich Mueller <ulm@gentoo.org>
5948
5949 * tar-mode.el (tar-grind-file-mode):
5950 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5951
30fcaf3a
CY
59522011-10-21 Chong Yidong <cyd@gnu.org>
5953
5954 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5955 * progmodes/vera-mode.el (vera-mode):
5956 Use mode-require-final-newline.
30fcaf3a 5957
516eddb0
GM
59582011-10-20 Glenn Morris <rgm@gnu.org>
5959
db22a3c2 5960 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5961
10d5f513
CS
59622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5963
5964 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5965
ac6c8639
CY
59662011-10-20 Chong Yidong <cyd@gnu.org>
5967
5968 * emulation/cua-base.el (cua-mode):
5969 * mail/footnote.el (footnote-mode):
5970 * mail/mailabbrev.el (mail-abbrevs-mode):
5971 * net/xesam.el (xesam-minor-mode):
5972 * progmodes/bug-reference.el (bug-reference-mode):
5973 * progmodes/cap-words.el (capitalized-words-mode):
5974 * progmodes/compile.el (compilation-minor-mode)
5975 (compilation-shell-minor-mode):
5976 * progmodes/gud.el (gud-tooltip-mode):
5977 * progmodes/hideif.el (hide-ifdef-mode):
5978 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5979 * progmodes/subword.el (subword-mode):
5980 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5981 * progmodes/which-func.el (which-function-mode):
5982 * term/tvi970.el (tvi970-set-keypad-mode):
5983 * term/vt100.el (vt100-wide-mode):
5984 * textmodes/flyspell.el (flyspell-mode):
5985 * textmodes/ispell.el (ispell-minor-mode):
5986 * textmodes/nroff-mode.el (nroff-electric-mode):
5987 * textmodes/paragraphs.el (use-hard-newlines):
5988 * textmodes/refill.el (refill-mode):
5989 * textmodes/reftex.el (reftex-mode):
5990 * textmodes/rst.el (rst-minor-mode):
5991 * textmodes/sgml-mode.el (html-autoview-mode)
5992 (sgml-electric-tag-pair-mode):
5993 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5994 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5995 * emulation/crisp.el (crisp-mode):
5996 * emacs-lisp/eldoc.el (eldoc-mode):
5997 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5998 minor mode behavior.
5999
aa42ab43
JL
60002011-10-19 Juri Linkov <juri@jurta.org>
6001
6002 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6003 the list of hard-coded chars with escape-glyph face.
6004
89400f1d
SM
60052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6006
6007 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6008
305c07f6
MA
60092011-10-19 Michael Albinus <michael.albinus@gmx.de>
6010
6011 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6012 running process.
6013
13754b54
GM
60142011-10-19 Glenn Morris <rgm@gnu.org>
6015
6016 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6017 Ignore ignored files. (Bug#9726)
6018
06e21633
CY
60192011-10-19 Chong Yidong <cyd@gnu.org>
6020
6021 Doc fix for minor modes, stating that an omitted argument enables
6022 the mode unconditionally when called from Lisp.
6023
6024 * abbrev.el (abbrev-mode):
6025 * allout.el (allout-mode):
6026 * autoinsert.el (auto-insert-mode):
6027 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6028 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6029 (global-auto-revert-mode):
6030 * battery.el (display-battery-mode):
6031 * composite.el (global-auto-composition-mode)
6032 (auto-composition-mode):
6033 * delsel.el (delete-selection-mode):
6034 * desktop.el (desktop-save-mode):
6035 * dired-x.el (dired-omit-mode):
6036 * dirtrack.el (dirtrack-mode):
6037 * doc-view.el (doc-view-minor-mode):
6038 * double.el (double-mode):
6039 * electric.el (electric-indent-mode, electric-pair-mode):
6040 * emacs-lock.el (emacs-lock-mode):
6041 * epa-hook.el (auto-encryption-mode):
6042 * follow.el (follow-mode):
6043 * font-core.el (font-lock-mode):
6044 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6045 * help.el (temp-buffer-resize-mode):
6046 * hilit-chg.el (highlight-changes-mode)
6047 (highlight-changes-visible-mode):
6048 * hi-lock.el (hi-lock-mode):
6049 * hl-line.el (hl-line-mode, global-hl-line-mode):
6050 * icomplete.el (icomplete-mode):
6051 * ido.el (ido-everywhere):
6052 * image-file.el (auto-image-file-mode):
6053 * image-mode.el (image-minor-mode):
6054 * iswitchb.el (iswitchb-mode):
6055 * jka-cmpr-hook.el (auto-compression-mode):
6056 * linum.el (linum-mode):
6057 * longlines.el (longlines-mode):
6058 * master.el (master-mode):
6059 * mb-depth.el (minibuffer-depth-indicate-mode):
6060 * menu-bar.el (menu-bar-mode):
6061 * minibuf-eldef.el (minibuffer-electric-default-mode):
6062 * mouse-sel.el (mouse-sel-mode):
6063 * msb.el (msb-mode):
6064 * mwheel.el (mouse-wheel-mode):
6065 * outline.el (outline-minor-mode):
6066 * paren.el (show-paren-mode):
6067 * recentf.el (recentf-mode):
6068 * reveal.el (reveal-mode, global-reveal-mode):
6069 * rfn-eshadow.el (file-name-shadow-mode):
6070 * ruler-mode.el (ruler-mode):
6071 * savehist.el (savehist-mode):
6072 * scroll-all.el (scroll-all-mode):
6073 * scroll-bar.el (scroll-bar-mode):
6074 * server.el (server-mode):
6075 * shell.el (shell-dirtrack-mode):
6076 * simple.el (auto-fill-mode, transient-mark-mode)
6077 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6078 (line-number-mode, column-number-mode, size-indication-mode)
6079 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6080 * strokes.el (strokes-mode):
6081 * time.el (display-time-mode):
6082 * t-mouse.el (gpm-mouse-mode):
6083 * tool-bar.el (tool-bar-mode):
6084 * tooltip.el (tooltip-mode):
6085 * type-break.el (type-break-mode-line-message-mode)
6086 (type-break-query-mode):
6087 * view.el (view-mode):
6088 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6089 (global-whitespace-mode, global-whitespace-newline-mode):
6090 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6091
a3839de2
SM
6092 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6093 Fix autogenerated docstring.
06e21633 6094
5214e501
JL
60952011-10-19 Juri Linkov <juri@jurta.org>
6096
6097 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6098 by checking environment variables "DESKTOP_SESSION" and
6099 "XDG_CURRENT_DESKTOP". (Bug#9779)
6100
195f8db9
JL
61012011-10-19 Juri Linkov <juri@jurta.org>
6102
6103 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6104 (browse-url-chromium-program, browse-url-chromium-arguments):
6105 New defcustoms.
6106 (browse-url-default-browser): Check for `browse-url-chromium' and
6107 call `browse-url-chromium-program'.
6108 (browse-url-chromium): New command. (Bug#9779)
6109
343a34ff
JB
61102011-10-18 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * facemenu.el (list-colors-duplicates): On Windows, detect more
6113 duplicates by assuming that only colors matching "^System" are
6114 special "system colors". (Bug#9722)
6115
6978a151
SM
61162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6119 to distinguish the author from the committer.
6120
6a80b297
MA
61212011-10-18 Michael Albinus <michael.albinus@gmx.de>
6122
6123 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6124
b31a5677
JK
61252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6126
6127 * international/mule.el (sgml-html-meta-auto-coding-function):
6128 Add support for detecting encoding in HTML5 specified only as
6129 <meta charset="UTF-8">. Implementation just makes http-equiv and
6130 content-type parts from HTML4 encoding string optional. (Bug#9716)
6131
80c6d77f
GM
61322011-10-18 Glenn Morris <rgm@gnu.org>
6133
6134 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6135
08b0fee8
CY
61362011-10-18 Chong Yidong <cyd@gnu.org>
6137
6138 * faces.el (cursor): Doc fix.
6139
67e729a5
CY
61402011-10-17 Chong Yidong <cyd@gnu.org>
6141
6142 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6143
343a34ff 61442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6145
6146 * dirtrack.el (dirtrack): Support shell buffers with path
6147 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6148
0bc06380
TZ
61492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6150
6151 * json.el: Bump version to 1.3 and note change in History.
6152 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6153
8b79f3e0
SM
61542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6155
5a7c536b
SM
6156 * comint.el (comint-insert-input, comint-send-input)
6157 (comint-get-old-input-default, comint-backward-matching-input)
6158 (comint-next-prompt): Use nil instead of `input' for field property of
6159 past user input (bug#114).
6160
96a8a0df
SM
6161 * minibuffer.el (completion--replace): Inherit surrounding properties
6162 (bug#114).
6163 (minibuffer-complete-and-exit): Use it.
6164
8b79f3e0
SM
6165 * comint.el (comint--table-subvert): Quote the all-completions output
6166 (bug#9160).
6167
b8f7ff0d
MR
61682011-10-17 Martin Rudalics <rudalics@gmx.at>
6169
8b79f3e0 6170 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6171
b8f7ff0d 6172 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6173 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6174 entries and separate them from frame entries.
6175
c235b555
GM
61762011-10-15 Glenn Morris <rgm@gnu.org>
6177
6178 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6179 Doc fixes.
6180
6bbfa6e1
CY
61812011-10-15 Chong Yidong <cyd@stupidchicken.com>
6182
8b79f3e0
SM
6183 * net/network-stream.el (network-stream-open-starttls):
6184 Improve detection of failure due to lack of TLS support.
ec5c990d 6185
6bbfa6e1
CY
6186 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6187 putting the input text in front and in bold.
6188
98488977
SM
61892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6190
3d1337be
SM
6191 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6192
ee0b45e4
SM
6193 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6194 empty buffer.
6195
98488977
SM
6196 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6197 unread-command-events rather than pushing yet-another event.
6198
186f4720
EZ
61992011-10-14 Eli Zaretskii <eliz@gnu.org>
6200
6201 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6202 the explanation of the possible choices. Make the options passed
6203 to completing-read shorter.
6204
8b7a997c
AM
62052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6206
6207 * textmodes/flyspell.el (flyspell-large-region): Make sure
6208 extended character mode is used if defined (Bug#1339).
6209
12587bbb
EZ
62102011-10-13 Eli Zaretskii <eliz@gnu.org>
6211
6212 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6213 character info for LRE, LRO, RLE, and RLO characters by appending
6214 an invisible PDF.
12587bbb 6215
bad41229
SM
62162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6219 even in case of error; add debug spec; simplify data flow.
6220 (with-timeout-handler): Remove.
6221
28dbc92f
MA
62222011-10-12 Michael Albinus <michael.albinus@gmx.de>
6223
6224 Fix Bug#6019, Bug#9315.
6225
6226 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6227 complete `buffer-file-name', the local file name part could look
6228 remotely (for example on VMS).
6229
6230 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6231 `tramp-run-real-handler'.
6232 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6233 already quoted by '"'.
6234
6235 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6236 Let `file-name-handler-alist' be nil, the local file name part
6237 could look remotely (for example on VMS).
6238
e1b0b23a
SM
62392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6242 from here...
6243 (flyspell-post-command-hook): ...to here.
6244
a120bde9
SM
62452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6248 if not needed.
6249 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6250 using completion. Protect against "slow" callers.
6251 Remove the "message hack".
6252
7ce7717b
JL
62532011-10-11 Juri Linkov <juri@jurta.org>
6254
6255 * isearch.el (isearch-lazy-highlight-word): New variable.
6256 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6257 Use it. (Bug#9727)
6258
c02ee9d6
GM
62592011-10-11 Glenn Morris <rgm@gnu.org>
6260
6261 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6262 like f90-previous-statement does.
6263
93e616fd 62642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6265
1f190e73 6266 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6267 only in interactive use, to avoid error.
6268
af7b6078
SM
62692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * minibuffer.el (completion-file-name-table): Fix last change,
6272 i.e. ignore normal errors but not the other ones.
6273
0563dae9
MR
62742011-10-10 Martin Rudalics <rudalics@gmx.at>
6275
6276 * window.el (special-display-buffer-names)
6277 (special-display-regexps): Remove some remnants of earlier
6278 changes from doc-strings.
366ca7f3
MR
6279 (quit-windows-on): New function.
6280
6281 * vc/vc.el (vc-revert, vc-rollback):
6282 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6283 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6284 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6285
49677495
MR
62862011-10-09 Martin Rudalics <rudalics@gmx.at>
6287
6288 * window.el (frame-auto-hide-function): Add version tag.
6289 (Bug#9699)
6290
56f2d1e1
MA
62912011-10-09 Michael Albinus <michael.albinus@gmx.de>
6292
6293 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6294 condition.
6295
112a6592
LL
62962011-10-09 Leo Liu <sdl.web@gmail.com>
6297
6298 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6299 (Bug#9701)
6300
0812589b
GM
63012011-10-08 Glenn Morris <rgm@gnu.org>
6302
6303 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6304 before the first code statement zero indent. (Bug#9690)
6305
b2b0776e
CY
63062011-10-08 Chong Yidong <cyd@stupidchicken.com>
6307
6308 * simple.el (count-words-region): Always count in the region.
6309 Report the number of lines and characters too.
6310 (count-words): New command, which counts in the buffer if the
6311 region is inactive, as count-words-region used to.
6312 (count-words--message): New function. Handle plurals.
6313 (count-lines-region): Make it an alias for count-words-region.
6314
6315 * bindings.el (esc-map): Replace count-lines-region with
6316 count-words-region.
6317
c557cd6b
MR
63182011-10-08 Martin Rudalics <rudalics@gmx.at>
6319
6320 * window.el (window--delete): Delete dedicated frame
6321 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6322 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6323
61a57ef4 63242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6325
3a7d293b 6326 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6327
c3833279
CY
63282011-10-07 Chong Yidong <cyd@stupidchicken.com>
6329
6330 * bindings.el ([M-left],[M-right]): Bind to left-word and
6331 right-word respectively.
6332
21ce8245
GM
63332011-10-07 Glenn Morris <rgm@gnu.org>
6334
6335 * cus-start.el (debug-on-quit): Fix custom type.
6336
6d823bb2
LMI
63372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6338
0181e193
LMI
6339 * subr.el (define-key-after): Clarify that the function is not
6340 useful for non-menu keymaps.
6341
6d823bb2
LMI
6342 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6343
8e3459ce 63442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6345
21ce8245 6346 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6347 in current minibuffer (Fix bug with recursive minibuffers).
6348
a1c2d21e
CY
63492011-10-06 Chong Yidong <cyd@stupidchicken.com>
6350
6351 * progmodes/gdb-mi.el (gdb): Doc fix.
6352
5a4cf282
MR
63532011-10-05 Martin Rudalics <rudalics@gmx.at>
6354
6355 * window.el (frame-auto-hide-function): New option replacing
6356 frame-auto-delete. Suggested by Stefan Monnier.
6357 (window--delete): Call frame-auto-hide-function instead of
6358 investigating frame-auto-delete.
c96111ea
MR
6359 (window-point-1, set-window-point-1): New functions.
6360 (window-in-direction, record-window-buffer, window-state-get-1)
6361 (display-buffer-record-window): Use window-point-1 instead of
6362 window-point.
6363 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6364
9854542e
SM
63652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6368
8943cfb0
GM
63692011-10-05 Glenn Morris <rgm@gnu.org>
6370
6371 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6372 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6373
647ab967
LL
63742011-10-05 Leo Liu <sdl.web@gmail.com>
6375
6376 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6377 works with buffer object.
6378
3ddfbced
SM
63792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * mpc.el (mpc-tool-bar-map): Add labels.
6382
bdfa5dd2
GM
63832011-10-04 Glenn Morris <rgm@gnu.org>
6384
6385 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6386
0e2070b5
MR
63872011-10-04 Martin Rudalics <rudalics@gmx.at>
6388
6389 * window.el (window--delete): New function.
6390 (frame-auto-delete): Resuscitate option.
6391 (bury-buffer, replace-buffer-in-windows)
6392 (quit-window): Rewrite using window--delete.
6393 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6394 Pass display-buffer-mark-dedicated to window--display-buffer-2
6395 (Bug#9639).
6396
3dc61a09
SM
63972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6398
915a9b64
SM
6399 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6400 returns a list (bug#9554). Add remote file name completion.
6401 * comint.el (comint--table-subvert): Curry and get quote&unquote
6402 functions as arguments.
6403 (comint--complete-file-name-data): Adjust call accordingly.
6404 * pcomplete.el (pcomplete--table-subvert): Remove.
6405 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6406
3dc61a09
SM
6407 * minibuffer.el (completion-table-case-fold): Use currying.
6408 (completion--styles-type, completion--cycling-threshold-type):
6409 New constants.
6410 (completion-styles, completion-category-overrides)
6411 (completion-cycle-threshold): Use them.
6412 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6413 completion-table-case-fold.
6414
8ea0a993
SB
64152011-10-03 Stephen Berman <stephen.berman@gmx.net>
6416
6417 * minibuffer.el (completion-category-overrides): Fix type of styles
6418 and add more user friendly tags (bug#9660).
6419
8c24b7f6
SM
64202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6423 (mule-input-method-string): New widget.
6424 (default-input-method, language-info-custom-alist): Use it.
6425
428fe61a
SM
64262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6427
32c1fffd
SM
6428 * pcomplete.el: Require comint.
6429 (pcomplete--common-suffix): Remove.
6430 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6431 (pcomplete--table-subvert): Sync with comint--table-subvert.
6432 (pcomplete--entries): Use comint-completion-file-name-table.
6433 * comint.el (comint-unquote-filename): Simplify.
6434 (comint-completion-file-name-table): New function (bug#9616).
6435 (comint--complete-file-name-data): Use it.
6436
428fe61a
SM
6437 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6438 (pcmpl-gnu-tar-buffer): Remove.
6439 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6440 around. Make sure pcomplete-suffix-list is only changed temporarily.
6441 Don't look inside the tar's file if it's too large.
428fe61a 6442
04c52e2f
CY
64432011-10-01 Chong Yidong <cyd@stupidchicken.com>
6444
ce3cefcc
CY
6445 * cus-edit.el (custom-mode-map):
6446 * epa.el (epa-key-list-mode-map):
6447 * man.el (Man-mode-map):
6448 * startup.el (splash-screen-keymap):
6449 * simple.el (special-mode-map): Use scroll-up-command and
6450 scroll-down-command.
6451
6452 * progmodes/idlw-help.el (idlwave-help-mode-map):
6453 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6454 * net/newst-plainview.el (newsticker-mode-map):
6455 * emulation/ws-mode.el (wordstar-mode-map):
6456 * emulation/vi.el (vi-com-map):
6457 * calc/calc-graph.el (calc-graph-show-dumb):
6458 * term/sun.el (terminal-init-sun):
6459 * term/ns-win.el (global-map):
6460 * progmodes/grep.el (grep-mode-map):
6461 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6462 * mail/rmail.el (rmail-mode-map):
6463 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6464
04c52e2f
CY
6465 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6466 custom-safe-themes as special.
6467
79adf8c8
JD
64682011-10-01 Julien Danjou <julien@danjou.info>
6469
6470 * notifications.el (notifications-notify): Fix docstring.
6471
63bd50d3
PS
64722011-10-01 Per Starbäck <per@starback.se>
6473
6474 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6475
199e4c7e
MR
64762011-09-30 Martin Rudalics <rudalics@gmx.at>
6477
6478 * startup.el (command-line-1): Fix last fix by inserting
6479 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6480 (Bug#9605) and (Bug#9636)
199e4c7e 6481
fe5f08dd
EZ
64822011-09-29 Eli Zaretskii <eliz@gnu.org>
6483
6484 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6485 window is hscrolled, move by logical lines. (Bug#9607)
6486 (line-move-visual): Update the doc string to the above effect.
6487
b5516bbd
MR
64882011-09-29 Martin Rudalics <rudalics@gmx.at>
6489
ccee00c0
MR
6490 * window.el (display-buffer-record-window): When WINDOW is the
6491 selected window use `point' instead of `window-point'. (Bug#9626)
6492
b5516bbd
MR
6493 * startup.el (command-line-1): Use insert-before-markers when
6494 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6495
b5516bbd
MR
6496 * help.el (help-window): Remove variable.
6497
52aa0014
GM
64982011-09-29 Glenn Morris <rgm@gnu.org>
6499
6500 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6501
df9a7357
JB
65022011-09-29 Juanma Barranquero <lekktu@gmail.com>
6503
6504 * descr-text.el (describe-char-categories): Accept category
6505 descriptions more than one line long.
6506
a8406c20
SM
65072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6508
88d9610c
SM
6509 * simple.el (delete-trailing-whitespace): Fix last change.
6510
a5daf810
SM
6511 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6512 Don't confuse "y => 3" as the beginning of a `y' operation.
6513
a8406c20
SM
6514 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6515 object has more than 4 slots (bug#9613).
6516
a239d4e9
JB
65172011-09-28 Juanma Barranquero <lekktu@gmail.com>
6518
6519 * subr.el (with-output-to-temp-buffer):
6520 * net/quickurl.el (quickurl, quickurl-browse-url):
6521 Fix typos in docstrings.
6522
693fbdb6
EZ
65232011-09-27 Eli Zaretskii <eliz@gnu.org>
6524
6525 * minibuffer.el (completion-styles)
6526 (completion-category-overrides): Cross reference each other in doc
6527 strings.
6528
8b457e28
GM
65292011-09-27 Glenn Morris <rgm@gnu.org>
6530
6531 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6532 to split-string. (Bug#9606)
6533
85a16208
LMI
65342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
6536 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6537 (bug#9615).
6538
502f9ebd
CY
65392011-09-27 Chong Yidong <cyd@stupidchicken.com>
6540
6541 * emacs-lisp/package.el (list-packages): Fix echo area message.
6542
7690bdea
LL
65432011-09-27 Leo Liu <sdl.web@gmail.com>
6544
6545 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6546
e2ee6f30
MA
65472011-09-25 Michael Albinus <michael.albinus@gmx.de>
6548
6549 * net/dbus.el (dbus-unregister-object): Don't release services for
6550 registered signals. (Bug#9581)
6551
f3f98342
TZ
65522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6553
6554 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6555 function that picks between cfengine 2 and 3 support
6556 automatically. Update docs accordingly.
6557
dd7aa8dd
KH
65582011-09-22 Kenichi Handa <handa@m17n.org>
6559
6560 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6561 ZERO.
6562 (indian-itrans-v5-table-for-tamil): New variable.
6563 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6564
3f2b07f8
KM
65652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6566
6567 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6568 that's true if the current command involved collapsing of text.
6569 It's reset to false at the beginning of the next command.
6570 (allout-post-command-business): Move the cursor to the beginning
6571 of entry if the cursor is hidden and collapsing activity just
6572 happened.
6573
371d6a61
CY
65742011-09-24 Chong Yidong <cyd@stupidchicken.com>
6575
6576 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6577 tracking (Bug#9541).
6578
2ac2721a
UJ
65792011-09-24 Ulf Jasper <ulf.jasper@web.de>
6580
6581 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6582 (newsticker-show-news): Automatically load html rendering package
6583 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6584 because w3m-fill-column is let-bound" and the error "Symbol's value
6585 as variable is void: w3m-fill-column".
2ac2721a 6586
fac7ae53
MA
65872011-09-24 Michael Albinus <michael.albinus@gmx.de>
6588
6589 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6590 Release services only if they are defined. (Bug#9581)
6591
e08b633b
RS
65922011-09-23 Richard Stallman <rms@gnu.org>
6593
e488d29c
RS
6594 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6595 distinguish start of paragraph from start of its text.
6596
19c38752
RS
6597 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6598
e08b633b
RS
6599 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6600 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6601 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6602
0a39f27e
AS
66032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6604
6605 * international/mule-diag.el (mule-diag): Insert a newline after
6606 each fontset description.
6607
db4e950d
SM
66082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * simple.el (delete-trailing-whitespace):
6611 Document last change; simplify.
6612
eca3f3ea
PW
66132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6614
d68e189a
PW
6615 * simple.el (delete-trailing-whitespace): Also delete
6616 extra newlines at the end of the buffer.
6617
eca3f3ea
PW
6618 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6619 (picture-newline): Use forward-line so as to ignore fields.
6620
01c157cc
SM
66212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * subr.el (with-wrapper-hook): Fix edebug spec.
6624
022de23e
LMI
66252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626
6627 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6628 (bug#4538).
6629
91683089
MA
66302011-09-23 Michael Albinus <michael.albinus@gmx.de>
6631
eca3f3ea
PW
6632 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6633 Fix nasty bug using wrong cached values.
91683089 6634
5bdd6fa4
AM
66352011-09-23 Alan Mackenzie <acm@muc.de>
6636
6637 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6638
97adfb97
CY
66392011-09-23 Chong Yidong <cyd@stupidchicken.com>
6640
6641 * window.el (pop-to-buffer): Ensure right window is selected if we
6642 chose another frame.
6643
d4ef2b50
EZ
66442011-09-22 Eli Zaretskii <eliz@gnu.org>
6645
6646 * simple.el (what-cursor-position): Use get-char-property-change
6647 and next-single-char-property-change, to be able to show display
6648 properties that come from overlays as well as text properties.
6649
72258fe5
CY
66502011-09-22 Chong Yidong <cyd@stupidchicken.com>
6651
6652 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6653
6654 * cmuscheme.el (run-scheme, switch-to-scheme):
6655 * cus-edit.el (customize-group, custom-buffer-create)
6656 (customize-browse):
6657 * info.el (info):
6658 * shell.el (shell):
6659 * mail/sendmail.el (mail):
6660 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6661
8f098516
RS
66622011-09-22 Richard Stallman <rms@gnu.org>
6663
6664 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6665 move back only to line beg, don't move back over blank lines.
6666
e74f1bb6
MA
66672011-09-22 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * files.el (copy-directory): Set directory attributes only in case
6670 they could be retrieved from the source directory. (Bug#9565)
6671
bfeef8b6
DK
66722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6673
6674 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6675 (hs-find-block-beginning, hs-hide-level-recursive):
6676 Ignore strings as well as comments. (Bug#9502)
6677
7e423bb8
AS
66782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6679
6680 * progmodes/sql.el (sql-comint-postgres):
6681 Convert port number to a string. (Bug#9566)
6682
b4d72fcf
MR
66832011-09-22 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (quit-window): Undedicate window when switching to
6686 previous buffer. Reported by Thierry Volpiatto
6687 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6688 (special-display-popup-frame): When popping up a new frame reset
6689 its previous buffers to nil. Simplify code.
b4d72fcf 6690
a7b88dc6
MA
66912011-09-21 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6694 and process filter, as done also in `shell-command'.
6695
cf4eacfd
MR
66962011-09-21 Martin Rudalics <rudalics@gmx.at>
6697
eca3f3ea 6698 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6699 Call set-window-start with NOFORCE argument t.
6700 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6701 (quit-window): Reword doc-string. Handle new format of
6702 quit-restore parameter. Don't delete window if it has a
6703 previous buffer we can show instead of the present one.
6704 (display-buffer-record-window): Rewrite using a new format for
6705 the quit-restore window parameter
6706 (special-display-popup-frame, display-buffer-same-window)
6707 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6708 (display-buffer-pop-up-window, display-buffer-use-some-window):
6709 Adapt symbol passed to display-buffer-record-window.
6710 * help.el (help-window-setup): Handle new format of quit-restore
6711 parameter.
6712
8d28cb95
SM
67132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6714
94ab793f
SM
6715 * faces.el (face-list): Fix docstring (bug#9564).
6716
8d28cb95
SM
6717 * window.el (display-buffer--action-function-custom-type):
6718 Don't include internal functions in the Custom interface.
6719
3820edeb
JL
67202011-09-20 Juri Linkov <juri@jurta.org>
6721
6722 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6723 (Info-forward-node, Info-backward-node, Info-next-preorder)
6724 (Info-last-preorder): Use it. (Bug#9528)
6725
5147931d
JL
67262011-09-20 Juri Linkov <juri@jurta.org>
6727
6728 * info.el (Info-last-preorder): Visit last menu item only when
6729 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6730
cf499a1a
JD
67312011-09-20 Julien Danjou <julien@danjou.info>
6732
6733 * password-cache.el (password-cache-remove): Remove entries even if the
6734 value is nil, so that password with a nil value (negative caching) is
6735 possible to invalidate.
6736
f84e2fe2
LM
67372011-09-20 Lawrence Mitchell <wence@gmx.li>
6738
6739 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6740 all whitespace around breakpoint. (Bug#9553)
6741 (f90-find-breakpoint): Only break at whitespace inside a comment.
6742
78054a46
SM
67432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * minibuffer.el (completion-file-name-table): Keep track of errors.
6746 (completion-table-with-predicate): Handle the case where pred1 is nil.
6747 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6748
345083b2
SM
67492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6750
e24e27be
SM
6751 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6752 (debugger-return-value): Signal an error if the debugging context does
6753 not await any return value.
6754
345083b2
SM
6755 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6756 * image-mode.el (image-toggle-display-text)
6757 (image-toggle-display-image): Stay away from evil `intangible'.
6758
08d355e3
LL
67592011-09-19 Leo Liu <sdl.web@gmail.com>
6760
6761 * replace.el (occur-revert-arguments): Make it permanent-local.
6762 (occur-mode): Don't call font-lock-defontify.
6763
f01da43f
CY
67642011-09-19 Chong Yidong <cyd@stupidchicken.com>
6765
6766 * net/ldap.el (ldap-search-internal): Don't push empty search
6767 result (Bug#9508).
6768
b6072fa6
SM
67692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6772
443d6696
MA
67732011-09-19 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6776 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6777
7cc6e154
JL
67782011-09-18 Juri Linkov <juri@jurta.org>
6779
6780 * buff-menu.el (Buffer-menu-mode-map):
6781 * dired.el (dired-mode-map):
6782 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6783 (lisp-interaction-mode-map):
6784 * emacs-lisp/package.el (package-menu-mode-map):
6785 * epa.el (epa-key-list-mode-map):
6786 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6787 (menu-bar-options-menu):
6788 * outline.el (outline-mode-menu-bar-map):
6789 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6790 * vc/vc-dir.el (vc-dir-menu-map):
6791 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6792 Capitalize non-function content words in menu item strings.
6793
6794 * dired.el (dired-mode-map): Add menu item for
6795 `image-dired-dired-toggle-marked-thumbs'.
6796
80302a81
JL
67972011-09-18 Juri Linkov <juri@jurta.org>
6798
6799 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6800 to `isearch-case-fold-search' and restore its original value
6801 after the `isearch-mode' call.
6802
46c5cf66
JL
68032011-09-18 Juri Linkov <juri@jurta.org>
6804
6805 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6806 because `zgrep' returns 1 for successful matches (bug#9226).
6807
d18b513b
JL
68082011-09-18 Juri Linkov <juri@jurta.org>
6809
6810 * info.el (Info-extract-menu-node-name): Check the second match
6811 for empty string (second test-case of bug#9528).
6812 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6813 intermediate nodes to the history (first test-case of bug#9528).
6814
72753f87
JL
68152011-09-18 Juri Linkov <juri@jurta.org>
6816
6817 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6818 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6819
c9384295
JL
68202011-09-18 Juri Linkov <juri@jurta.org>
6821
1154d12e
JB
6822 * info.el (Info-file-supports-index-cookies):
6823 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6824 outputs one more line for long file names (bug#4142).
c9384295 6825
d473dce8
CY
68262011-09-18 Chong Yidong <cyd@stupidchicken.com>
6827
6828 * newcomment.el (comment-normalize-vars): If prompting for
6829 comment-start, set comment-start-skip too (Bug#8424).
6830
2176854d
JB
68312011-09-18 Johan Bockgård <bojohan@gnu.org>
6832
6833 * icomplete.el: Fix previous fix of Bug#5849.
6834 (icomplete-mode): Don't set completion-show-inline-help.
6835 (icomplete-minibuffer-setup): Set completion-show-inline-help
6836 locally during icompletion.
6837
3aace4e4
CY
68382011-09-18 Chong Yidong <cyd@stupidchicken.com>
6839
c940224f
CY
6840 * woman.el (woman2-process-escapes): Don't delete unrecognized
6841 escapes (Bug#7843).
6842
3aace4e4
CY
6843 * files.el (inhibit-first-line-modes-regexps): Add image files.
6844 (hack-local-variables-prop-line): Return nil for malformed
6845 prop-lines (Bug#9044).
6846
710dec63
MA
68472011-09-18 Michael Albinus <michael.albinus@gmx.de>
6848
6849 * net/tramp.el (top): Don't require 'shell.
6850 (tramp-methods): Fix docstring.
6851 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6852 Return complete remote file name. Handle "smb" case.
6853 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6854 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6855
6856 * net/tramp-compat.el (top): Require 'shell.
6857
6858 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6859 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6860 `tramp-current-host'.
6861 (tramp-get-remote-tmpdir): Remove.
6862
6863 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6864 `tramp-tmpdir' entries.
6865 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6866 (tramp-smb-handle-file-attributes): Ignore errors.
6867 (tramp-smb-wait-for-output): Check also for process end.
6868
5d5ac8ec
LMI
68692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6870
6871 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6872 when sending QUIT (bug#9312).
6873
8c0f49f0
CY
68742011-09-17 Chong Yidong <cyd@stupidchicken.com>
6875
6876 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6877 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6878 occur-mode-display-occurrence.
6879 (occur-edit-mode): Add usage message.
6880 (occur-cease-edit): New command.
6881 (occur-after-change-function): Use text properties to find the
6882 position of the prefix text.
6883 (occur-engine): Set stickiness of prefix text properties.
6884
8f1383f7
GM
68852011-09-17 Glenn Morris <rgm@gnu.org>
6886
6887 * progmodes/etags.el (complete-tag):
6888 Fix call to completion-in-region. (Bug#9526)
6889
744ba0e3
JL
68902011-09-17 Juri Linkov <juri@jurta.org>
6891
6892 * textmodes/ispell.el (ispell-word): Add to the error message
6893 the word, ispell program name and current dictionary (bug#9121).
6894 (ispell-tex-arg-end): Capitalize "error" in the error message.
6895
d9bbf400
AS
68962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6897
6898 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6899 check. (Bug#4251)
6900
8da11505
JL
69012011-09-17 Juri Linkov <juri@jurta.org>
6902
6903 * window.el (window-safe-min-height, window-safe-min-width):
6904 Fix typos (followup to bug#9522).
6905
a91adc7e
SJ
69062011-09-17 Sven Joachim <svenjoac@gmx.de>
6907
6908 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6909
064f328a
EZ
69102011-09-16 Eli Zaretskii <eliz@gnu.org>
6911
6912 * simple.el (line-move): If goal-column is set, move by logical
6913 lines, not by display lines. (Bug#971)
6914 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6915 to reflect the above change.
6916
e69df516
SM
69172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * image.el (imagemagick-register-types): Use regexp-opt.
6920
cbb0f9ab
CY
69212011-09-15 Chong Yidong <cyd@stupidchicken.com>
6922
6923 * window.el (display-buffer-base-action): Rename from
6924 display-buffer-default-action. Make default value empty.
6925 (display-buffer-overriding-action): Convert to defvar.
6926 (display-buffer-fallback-action): New var.
6927
25322144
CY
69282011-09-15 Chong Yidong <cyd@stupidchicken.com>
6929
6930 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6931 declaration.
6932 (package--add-to-archive-contents): If there is a duplicate entry
6933 with an older version, remove it.
6934 (package-menu-mark-delete, package-menu-mark-install)
6935 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6936 (package-menu-mark-obsolete-for-deletion):
6937 Use package-menu-get-status instead of a regexp search.
25322144
CY
6938 (package-menu-get-status): Use tabulated-list-entry.
6939 (package-menu-mark-upgrades): New command.
d770725a 6940 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6941 (package-menu-execute): Do installation before deletion.
6942 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6943 instead of checking major-mode.
6944 (package-menu--find-upgrades): New function.
6945
7520339c
LMI
69462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947
6948 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6949 passwords in the log buffer.
65a046c4
LMI
6950 (smtpmail-process-filter): Update the process marker so that the
6951 "broken by peer" status message is inserted in the right place.
7520339c 6952
d3c30954
SM
69532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6954
3fe48822
SM
6955 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6956 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6957 bibtex-completion-at-point-function.
6958 (bibtex-completion-at-point-function): Use them.
6959
1b8b3954
SM
6960 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6961
d3c30954
SM
6962 * mpc.el (mpc-constraints-tag-lookup): New function.
6963 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6964 also to browser "album|playlist".
6965
72779976
JL
69662011-09-14 Juri Linkov <juri@jurta.org>
6967
6968 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6969 (isearch-edit-string): Use length of `isearch-string' when
6970 `isearch-fail-pos' returns nil.
6971 (isearch-message): Remove duplicate code and call
6972 `isearch-fail-pos' with arg `t'.
6973
a0bf2bcd
CY
69742011-09-14 Chong Yidong <cyd@stupidchicken.com>
6975
17bb0a2d
CY
6976 * replace.el (occur-mode-goto-occurrence): Don't force using other
6977 window (Bug#9499).
6978
a0bf2bcd
CY
6979 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6980
f678e0b6
MR
69812011-09-14 Martin Rudalics <rudalics@gmx.at>
6982
6983 * window.el (display-buffer-window): Remove.
6984 (display-buffer-record-window): Use help-setup window parameter
6985 instead of variable display-buffer-window.
6986 (display-buffer-function, special-display-buffer-names)
6987 (special-display-function): Mention help-setup parameter instead
6988 of display-buffer-window in doc-string.
d3c30954
SM
6989 * help.el (help-window-setup): New argument help-window.
6990 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6991 Reword some messages.
6992 (with-help-window): Pass window used for displaying the buffer
6993 to help-window-setup. Don't set display-buffer-window.
6994
8e39b2e8
GM
69952011-09-13 Glenn Morris <rgm@gnu.org>
6996
6997 * emacs-lisp/debug.el (debugger-make-xrefs):
6998 Preserve point. (Bug#9462)
6999
85e9c04b
CY
70002011-09-13 Chong Yidong <cyd@stupidchicken.com>
7001
7002 * window.el (window-deletable-p): Use next-frame.
7003
1b36ed6a
MR
70042011-09-13 Martin Rudalics <rudalics@gmx.at>
7005
7006 * window.el (window-auto-delete): Remove.
7007 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7008 dedication and previous buffers.
1b36ed6a
MR
7009 (switch-to-prev-buffer): Don't delete window.
7010 (delete-windows-on): Delete a window's frame if and only if the
7011 window is dedicated.
7012 (replace-buffer-in-windows): Delete buffer's window or frame if
7013 and only if window is dedicated.
7014 (quit-window): Handle quit-restore as before last change.
4d61f28d 7015 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7016
ef8ef9fb
CY
70172011-09-13 Chong Yidong <cyd@stupidchicken.com>
7018
7019 * window.el (window-deletable-p): Never delete the last frame on a
7020 given terminal.
7021
b2cba41e
GM
70222011-09-13 Glenn Morris <rgm@gnu.org>
7023
7024 * help.el (describe-key-briefly): Copy previous standard-output change.
7025
51553db6 70262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7027
7028 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7029
b7556719
GM
70302011-09-13 Glenn Morris <rgm@gnu.org>
7031
7032 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7033 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7034
64b51947
CY
70352011-09-12 Chong Yidong <cyd@stupidchicken.com>
7036
7037 * dired-aux.el (dired-mark-read-string): Don't return default
7038 value on empty input (Bug#9361).
7039 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7040 Omit initial minibuffer contents.
7041 (dired-do-chmod): Signal an error on empty input.
7042 (dired-mark-read-string): Don't return default on empty input.
7043
7044 * files.el (file-modes-symbolic-to-number): Doc fix.
7045
393a301e
SM
70462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * international/mule-cmds.el (ucs-completions): Remove.
7049 (read-char-by-name): Use complete-with-action instead; add metadata.
7050
fa5660f9
CY
70512011-09-11 Chong Yidong <cyd@stupidchicken.com>
7052
7053 * window.el (display-buffer--action-function-custom-type)
7054 (display-buffer--action-custom-type): New vars.
7055 (display-buffer-alist, display-buffer-default-action)
7056 (display-buffer-overriding-action): Add defcustom types.
7057
4a592f66
CY
7058 * frame.el (delete-other-frames): Doc fix (Bug#276).
7059
73d56dbd
LMI
70602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7061
7062 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7063
37ac18a3
CY
70642011-09-11 Chong Yidong <cyd@stupidchicken.com>
7065
7066 Change modes that used same-window-* vars to use switch-to-buffer.
7067
7068 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7069 Use switch-to-buffer.
7070
7071 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7072 (customize-browse, custom-buffer-create-other-window):
7073 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7074
7075 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7076 (Info-prev, Info-up, Info-speedbar-goto-node)
7077 (info-display-manual): Use switch-to-buffer.
7078 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7079
7080 * mail/sendmail.el (mail): Use switch-to-buffer.
7081 (mail-recover): Use switch-to-buffer-other-window.
7082
7083 * cmuscheme.el (run-scheme, switch-to-scheme):
7084 * ielm.el (ielm):
7085 * shell.el (shell):
7086 * net/rlogin.el (rlogin):
7087 * net/telnet.el (telnet, rsh):
7088 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7089
10195bd6
AS
70902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7091
7092 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7093
b322f63a
LMI
70942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7095
39d7fed6
LMI
7096 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7097 so don't mention it (bug#9301).
ba5a81f1 7098 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7099
ee0e9f11
LMI
7100 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7101 match `x', `w32' and `ns', like the manual says (bug#9029).
7102
0b1c89c1 7103 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7104 (process-kill-buffer-query-function): Mention the buffer name in
7105 the query.
0b1c89c1 7106
77549ea8
LMI
7107 * image-mode.el (image-next-line): The line parameter is mandatory
7108 (bug#9258).
7109
803ef892
LMI
7110 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7111 which can be useful (bug#9301).
7112
12980837
LMI
7113 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7114
91054f8f
LMI
7115 * subr.el (match-string): Mention that the current buffer should
7116 be the same as the search was done in (bug#9282).
7117
b322f63a
LMI
7118 * facemenu.el: Disable the remove-* commands if the mark isn't
7119 active (bug#9162).
7120
3199b96f
CY
71212011-09-10 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7124 of display-buffer.
7125 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7126
7127 * replace.el (occur-mode-goto-occurrence)
7128 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7129 and display-buffer.
7130
7131 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7132 display-buffer.
7133
7134 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7135 special-display and same-window variables.
7136 (mail-other-window): Use switch-to-buffer-other-window.
7137 (mail-other-frame): USe switch-to-buffer-other-frame.
7138
393a301e
SM
7139 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7140 Use display-buffer-other-frame.
3199b96f
CY
7141 (gdb-display-gdb-buffer): Use pop-to-buffer.
7142
7143 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7144
7145 * progmodes/python.el: Don't set same-window-buffer-names.
7146
7147 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7148
7149 * window.el (display-buffer-alist): Add *Python*.
7150
8319e0bf
CY
71512011-09-10 Chong Yidong <cyd@stupidchicken.com>
7152
7153 * window.el (display-buffer-alist): Add entry for buffers
7154 previously handled same-window-*.
7155 (display-buffer-alist, display-buffer-default-action)
7156 (display-buffer-overriding-action): Mark as risky.
7157 (display-buffer-alist): Document action function changes.
7158 (display-buffer--same-window-action)
7159 (display-buffer--other-frame-action): New variables.
7160 (switch-to-buffer, display-buffer-other-frame): Use them.
7161 (display-buffer): Rename reuse-frame entry to reusable-frames.
7162 (display-buffer-reuse-selected-window): Function deleted.
7163 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7164 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7165 (display-buffer-special): New function.
7166 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7167 display-buffer-reuse-or-pop-window. Split off special-display
7168 part into display-buffer-special.
7169 (display-buffer-use-some-window): Don't perform any special
7170 pop-up-frames handling.
7171 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7172 (display-buffer--maybe-same-window): Rename from
0d3ff375 7173 display-buffer-maybe-same-window.
8319e0bf 7174
919a69aa
CY
7175 * info.el: Don't set same-window-regexps.
7176 (info-setup): New function.
7177 (info-other-window, info): Call it.
7178
7179 * cus-edit.el: Don't set same-window-regexps.
7180 (customize-group): New argument.
7181 (customize-group-other-window): Use it.
7182 (customize-face, customize-face-other-window): Likewise.
7183 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7184
8319e0bf
CY
7185 * net/rlogin.el:
7186 * net/telnet.el:
7187 * progmodes/gud.el: Don't set same-window-regexps.
7188
7189 * cmuscheme.el:
7190 * ielm.el:
7191 * shell.el:
7192 * mail/sendmail.el:
7193 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7194
25173000
JL
71952011-09-10 Juri Linkov <juri@jurta.org>
7196
7197 * isearch.el (isearch-edit-string): Remove obsolete mention of
7198 `C-w' (`isearch-yank-word-or-char') from docstring.
7199 (isearch-query-replace): Fix typo in docstring (bug#9466).
7200
056e44ef
JL
72012011-09-10 Juri Linkov <juri@jurta.org>
7202
7203 * paren.el (show-paren-function): Don't show escaped parens.
7204 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7205
c3760c17
EZ
72062011-09-10 Eli Zaretskii <eliz@gnu.org>
7207
7208 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7209 (mm-default-file-encoding): Remove autoload forms, they are
7210 replaced with autoload cookies in mml.el and mm-encode.el.
7211 (mail-add-attachment): New command.
7212 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7213 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7214 the doc string.
7215 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7216
fece895e
RT
72172011-09-10 Reuben Thomas <rrt@sc3d.org>
7218
e69df516
SM
7219 * simple.el (count-words-region): Use buffer if there's no region
7220 (bug#9429).
fece895e 7221
5e68ce4a
JL
72222011-09-09 Juri Linkov <juri@jurta.org>
7223
7224 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7225 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7226 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7227
0a6b9622
AM
72282011-09-09 Alan Mackenzie <acm@muc.de>
7229
7230 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7231 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7232
14a29deb
EZ
72332011-09-09 Eli Zaretskii <eliz@gnu.org>
7234
7235 Fix for Savannah bug#9392.
7236 * simple.el (mail-encode-mml): New defvar.
7237
7238 * mail/rmail.el (mail-encode-mml): Add a defvar.
7239 (rmail-enable-mime-composing): Default to t.
7240 (rmail-forward): Use MIME method of forwarding only if both
7241 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7242 Set mail-encode-mml non-nil if the MIME method was used.
7243
7244 * mail/sendmail.el (mml-to-mime): Add autoload form.
7245 (mail-encode-mml): Add a defvar.
7246 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7247 to nil.
7248 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7249 message through mml-to-mime, and reset mail-encode-mml to nil.
7250
28c45130
GM
72512011-09-09 Glenn Morris <rgm@gnu.org>
7252
7253 * woman.el (woman-if-body): When processing an .el block,
7254 do not delete the next .el block as well. (Bug#9447)
69f4b618 7255 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7256
9b1c252e
MR
72572011-09-08 Martin Rudalics <rudalics@gmx.at>
7258
7259 * window.el (window-deletable-p): Make sure window is live before
7260 invoking window-prev-buffers.
7261
567457e3
LL
72622011-09-08 Leo Liu <sdl.web@gmail.com>
7263
7264 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7265
97f05794
JL
72662011-09-08 Juri Linkov <juri@jurta.org>
7267
7268 * progmodes/compile.el (compilation-environment): Make it
7269 a defcustom (bug#8340).
7270
8b0874b5
MR
72712011-09-08 Martin Rudalics <rudalics@gmx.at>
7272
7273 * window.el (frame-auto-delete): Rename to window-auto-delete.
7274 Make it control auto-deletion of windows and/or frames.
7275 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7276 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7277 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7278 Rewrite handling of case when window/frame can be deleted.
7279 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7280 argument t. (Bug#9456)
8b0874b5 7281
4feb6e73
CY
72822011-09-07 Chong Yidong <cyd@stupidchicken.com>
7283
7284 * help-mode.el (help-mode): Restore autoload.
7285
91ab9c13
JL
72862011-09-07 Juri Linkov <juri@jurta.org>
7287
7288 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7289 `compilation-environment'. Set buffer-local
7290 `compilation-environment' to `thisenv' later after (funcall mode).
7291 (Bug#8340)
7292
7293 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7294 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7295 instead of replacing its value. (Bug#8340)
7296
0527e251
JL
72972011-09-07 Juri Linkov <juri@jurta.org>
7298
7299 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7300 based on text properties put by `grep-filter' instead of matching
7301 escape sequences.
7302 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7303 to the value of `grep-error-screen-columns' (bug#9438).
7304
249f792c
JL
73052011-09-07 Juri Linkov <juri@jurta.org>
7306
7307 * simple.el (next-error-highlight, next-error-highlight-no-select):
7308 Doc fix (bug#9432).
7309
ff7271b9
OT
73102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7311
7312 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7313 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7314
183fc730
LL
73152011-09-07 Leo Liu <sdl.web@gmail.com>
7316
7317 * net/rcirc.el (rcirc-mode): Conditionally initialize
7318 rcirc-input-ring.
7319
77694924
SM
73202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/find-func.el (find-function-C-source): Only set
7323 find-function-C-source-directory after checking that we found a source
7324 file there (bug#9440).
7325
d809b8eb
AM
73262011-09-06 Alan Mackenzie <acm@muc.de>
7327
7328 * isearch.el (isearch-other-meta-char): Wherever a key list is
7329 unread, "unread" the prefix arg, too. This fixes bug #8901.
7330
453de99f
OG
73312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7332
7333 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7334
90439906
JL
73352011-09-05 Juri Linkov <juri@jurta.org>
7336
7337 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7338
f62bd846
JL
73392011-09-05 Juri Linkov <juri@jurta.org>
7340
7341 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7342 keeping point where processing of grep matches begins, and
7343 continue to delete remaining escape sequences from the same point.
7344 (grep-filter): Make leading zero optional in "0?1;31m" because
7345 git-grep emits "\033[1;31m" escape sequences unlike expected
7346 "\033[01;31m" as GNU Grep does (bug#9408).
7347 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7348
045820ec
JL
73492011-09-05 Juri Linkov <juri@jurta.org>
7350
7351 * subr.el (y-or-n-p): Capitalize "yes".
7352
f5e29b9b
MA
73532011-09-04 Michael Albinus <michael.albinus@gmx.de>
7354
7355 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7356 `tramp-cache-unload-hook' where appropriate.
7357 (tramp-methods): Rename `tramp-remote-sh' to
7358 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7359 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7360
7361 * net/tramp-sh.el (top): Don't require 'shell.
7362 (tramp-methods): Add `tramp-remote-shell' and
7363 `tramp-remote-shell-args' entries.
7364 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7365 (tramp-sh-handle-shell-command): Remove.
7366 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7367 Use `tramp-remote-shell'.
7368
2784c434
CY
73692011-09-03 Chong Yidong <cyd@stupidchicken.com>
7370
393a301e 7371 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7372 (sendmail-query-once): Save directly to send-mail-function.
7373 Update message-send-mail-function too.
7374
7375 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7376
464cdf56
CS
73772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7378
7379 * progmodes/python.el (python-mode-map): Use correct function to
7380 start python interpreter from menu-bar (as reported by Geert
7381 Kloosterman).
7382 (inferior-python-mode-map): Fix typo.
393a301e 7383 (python-shell-map): Remove.
464cdf56 7384
d37e5c87
DD
73852011-09-03 Deniz Dogan <deniz@dogan.se>
7386
7387 * net/rcirc.el (rcirc-print): Simplify code for
7388 rcirc-scroll-show-maximum-output. There is no need to walk
7389 through all windows to find the right one.
7390
f3ada0ee
CS
73912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7392
7393 * help.el (help-return-method): Doc fix.
7394
1f3c99ca
MR
73952011-09-03 Martin Rudalics <rudalics@gmx.at>
7396
7397 * window.el (window-deletable-p): Don't return a non-nil value
7398 when there's a buffer that was shown in the window before.
7399 (Bug#9419)
393a301e
SM
7400 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7401 Set window's previous buffers to nil.
1f3c99ca 7402
a3cf097f
EZ
74032011-09-03 Eli Zaretskii <eliz@gnu.org>
7404
7405 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7406 newline before and after the tag line, so it doesn't interfere
7407 with determining the paragraph direction of bidirectional text.
7408
3d03de90
LL
74092011-09-03 Leo Liu <sdl.web@gmail.com>
7410
7411 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7412
c3313451
CY
74132011-09-02 Chong Yidong <cyd@stupidchicken.com>
7414
393a301e 7415 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7416 (pop-to-buffer): Change interactive spec. Pass second argument
7417 directly to display-buffer.
7418 (display-buffer): Fix interactive spec. Use functionp to
7419 distinguish between a function and a list of functions.
7420
7421 * abbrev.el (edit-abbrevs):
7422 * arc-mode.el (archive-extract):
7423 * autoinsert.el (auto-insert):
7424 * bookmark.el (bookmark-bmenu-list):
7425 * files.el (find-file):
7426 * view.el (view-buffer):
7427 * progmodes/compile.el (compilation-goto-locus):
7428 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7429
89894cd8
CY
74302011-09-02 Chong Yidong <cyd@stupidchicken.com>
7431
7432 * window.el (display-buffer-alist): Doc fix.
7433 (display-buffer): Add docstring. Don't treat
7434 display-buffer-default specially.
7435 (display-buffer-reuse-selected-window)
7436 (display-buffer-same-window, display-buffer-maybe-same-window)
7437 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7438 (display-buffer-pop-up-window)
7439 (display-buffer-reuse-or-pop-window)
7440 (display-buffer-use-some-window): New functions.
7441 (display-buffer-default-action): Use them.
393a301e 7442 (display-buffer-default): Delete.
89894cd8
CY
7443 (pop-to-buffer-1): Fix choice of actions.
7444
ae0bc9fb
SM
74452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * minibuffer.el (completion--insert-strings): Don't get confused by
7448 completion entries that end with an LF char.
7449
e9d90883
EZ
74502011-09-01 Eli Zaretskii <eliz@gnu.org>
7451
7452 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7453
437014c8
CY
74542011-09-01 Chong Yidong <cyd@stupidchicken.com>
7455
7456 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7457 (display-buffer-same-window, display-buffer-other-window):
7458 New functions.
437014c8
CY
7459 (pop-to-buffer-1): New function. Use the above.
7460 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7461 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7462
7463 * view.el (view-buffer-other-window, view-buffer-other-frame):
7464 Just use pop-to-buffer.
7465
a5e063d5
TV
74662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7467
7468 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7469
793d32bb
WH
74702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7471
7472 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7473
d65e4c15
RS
74742011-08-31 Richard Stallman <rms@gnu.org>
7475
7476 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7477 of the separation of rmail-view-buffer from rmail-buffer.
7478 If you say no to "replace original", the decrypt is in the
7479 view buffer. If you say yes, the decrypt goes into the
7480 rmail buffer also.
7481
f818cd2a
MR
74822011-08-31 Martin Rudalics <rudalics@gmx.at>
7483
7484 * window.el (display-buffer-window): Rewrite doc-string.
7485 (display-buffer-record-window): New function.
7486 (display-buffer-macro-specifiers)
7487 (display-buffer-even-window-sizes, display-buffer-set-height)
7488 (display-buffer-set-width, display-buffer-in-window)
7489 (display-buffer-reuse-window, display-buffer-split-specifiers)
7490 (display-buffer-side-specifiers, display-buffer-split-window-1)
7491 (display-buffer-split-window, display-buffer-split-atom-window)
7492 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7493 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7494 (display-buffer-other-window-means-other-frame)
7495 (display-buffer-normalize-special)
7496 (display-buffer-normalize-default)
7497 (display-buffer-normalize-argument)
7498 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7499 (display-buffer-normalize-specifiers, display-buffer-frame)
7500 (display-buffer-same-window, display-buffer-same-frame)
7501 (display-buffer-other-window)
7502 (display-buffer-same-frame-other-window)
7503 (display-buffer-other-frame, pop-to-buffer-same-window)
7504 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7505 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7506 (switch-to-buffer-same-frame)
7507 (switch-to-buffer-other-window-same-frame)
7508 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7509 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7510 (display-buffer-alist-set): Remove.
7511 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7512 (special-display-regexps, special-display-function):
7513 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7514 parameter.
7515 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7516 (special-display-frame-alist, special-display-popup-frame)
7517 (same-window-buffer-names, same-window-regexps, same-window-p)
7518 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7519 (split-window-preferred-function, split-height-threshold)
7520 (split-width-threshold, window-splittable-p)
7521 (split-window-sensibly, window--try-to-split-window)
7522 (window--frame-usable-p, even-window-heights)
7523 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7524 (window--display-buffer-2, display-buffer-other-frame):
7525 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7526 (display-buffer-default, display-buffer-assq-regexp): New functions.
7527 (display-buffer-alist): Rewrite doc-string.
7528 (display-buffer-default-action)
7529 (display-buffer-overriding-action): New variables.
7530 (display-buffer, switch-to-buffer): Rewrite.
7531 (pop-to-buffer): Restore Emacs 23 behavior but use
7532 window-normalize-buffer-to-display.
7533 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7534 Restore Emacs 23 behavior but use
7535 window-normalize-buffer-to-switch-to.
7536 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7537 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7538 Rewrite using Emacs 23 options.
f818cd2a 7539
5bc3b51d
MA
75402011-08-31 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * net/tramp.el (tramp-root-regexp): Remove.
7543 (tramp-completion-file-name-regexp-unified)
7544 (tramp-completion-file-name-regexp-separate)
7545 (tramp-completion-file-name-regexp-url): Don't use leading volume
7546 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7547 (tramp-drop-volume-letter): Simplify definition.
7548 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7549
b1a4f8e1
SM
75502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7553 (bug#9356).
7554
5664fa7b
RT
75552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7556
b1a4f8e1 7557 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7558
9a45d6c3
JL
75592011-08-29 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-done): Don't display message "Mark saved"
7562 when arg `edit' is non-nil to prevent its flicker in the echo area.
7563
fb87e0fb
CY
75642011-08-28 Chong Yidong <cyd@stupidchicken.com>
7565
7566 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7567 obsolete packages for deletion.
7568
09ac1c2a
CS
75692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7570
7571 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7572 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7573 view-mode from help-mode.
7574 (help-xref-override-view-map): Remove.
7575 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7576 view-mode is not used anymore.
7577
7a1ff57f
CY
75782011-08-28 Chong Yidong <cyd@stupidchicken.com>
7579
7580 * server.el (server-port): Doc fix.
7581
b9696605
CY
7582 * cus-theme.el (custom-theme-choose-mode): Inherit from
7583 special-mode (Bug#9124).
7584 (custom-theme-choose-mode-map): Add special-mode to parent.
7585
ef8cdf8c
AM
75862011-08-28 Alan Mackenzie <acm@muc.de>
7587
7588 * progmodes/cc-fonts.el
7589 (c-make-font-lock-BO-decl-search-function): New function.
7590 (c-basic-matchers-after - "Fontify the clauses after various
7591 keywords"): Extract the three keyword lists for the 3 erroneous
7592 constructs from the list of four, and use the new function above
7593 in place of an old one.
7594
27de4e20
DD
75952011-08-28 Deniz Dogan <deniz@dogan.se>
7596
7597 * net/rcirc.el (rcirc-insert-prev-input)
7598 (rcirc-insert-next-input): Remove unused argument.
7599
356a3681
SM
76002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7603
3fc9b218
AM
76042011-08-27 Alan Mackenzie <acm@muc.de>
7605
7606 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7607 handle function pointer parameters properly.
7608
538a061c
MR
76092011-08-27 Martin Rudalics <rudalics@gmx.at>
7610
7611 * window.el (display-buffer-reuse-window): Fix case where
7612 selected window was reused with non-nil OTHER-WINDOW argument.
7613 (Bug#9381)
7614
35b1c40c
DD
76152011-08-27 Deniz Dogan <deniz@dogan.se>
7616
7617 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7618 oftc's NickServ messages.
7619
2f6a3e79
GM
76202011-08-27 Glenn Morris <rgm@gnu.org>
7621
7622 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7623
7254299e
CY
76242011-08-26 Chong Yidong <cyd@stupidchicken.com>
7625
7626 * emacs-lisp/package.el (package-install): Call package-initialize
7627 if called interactively.
7628
f8ccf167
LL
76292011-08-26 Leo Liu <sdl.web@gmail.com>
7630
7631 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7632
3e8cd5ce
JL
76332011-08-25 Juri Linkov <juri@jurta.org>
7634
7635 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7636 `search-whitespace-regexp' (bug#9364).
7637
93eb7113
JL
76382011-08-25 Juri Linkov <juri@jurta.org>
7639
7640 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7641 `regexp-search-ring' to their global values to protect from
7642 updating by `read-from-minibuffer' (bug#9185).
7643
f65d1611
JL
76442011-08-25 Juri Linkov <juri@jurta.org>
7645
7646 * textmodes/ispell.el (ispell-command-loop): Add newline
7647 at the end of the "Use option `i'..." line.
7648
f1cf7a31
JL
76492011-08-25 Juri Linkov <juri@jurta.org>
7650
7651 * battery.el (display-battery-mode): If `battery-status-function'
7652 or `battery-mode-line-format' is nil, display the message and set
7653 `display-battery-mode' to nil (bug#9363).
7654
0c95fcf7
EZ
76552011-08-25 Eli Zaretskii <eliz@gnu.org>
7656
7657 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7658 bidi-string-mark-left-to-right; they are unnecessary now.
7659
a2ebe600
DD
76602011-08-25 Deniz Dogan <deniz@dogan.se>
7661
7662 * net/quickurl.el: Documentation typo fixes.
7663
e4ed06f1
CY
76642011-08-25 Chong Yidong <cyd@stupidchicken.com>
7665
7666 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7667
e5f1c99e
GM
76682011-08-25 Glenn Morris <rgm@gnu.org>
7669
b2948976
GM
7670 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7671
e5f1c99e
GM
7672 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7673 (smtpmail-via-smtp): Handle nil response from smtp.
7674
f22f4808
JL
76752011-08-24 Juri Linkov <juri@jurta.org>
7676
7677 * proced.el (proced-marked): Inherit from `error' instead of
7678 `font-lock-warning-face'.
7679
7680 * ibuffer.el (ibuffer-marked-face): Change default face from
7681 `font-lock-warning-face' to `warning'.
7682 (ibuffer-deletion-face): Change default face from
7683 `font-lock-type-face' to `error'.
7684
7685 * battery.el (battery-update): Use the face `error' instead of
7686 `font-lock-warning-face' (bug#6117).
7687
6a93965e
JL
76882011-08-24 Juri Linkov <juri@jurta.org>
7689
7690 * faces.el (success): Change face color from "Green3" to
7691 "ForestGreen" on light background (bug#9353).
7692
1ed43b09
CY
76932011-08-24 Chong Yidong <cyd@stupidchicken.com>
7694
5664fa7b
RT
7695 * window.el (quit-window): Rename from quit-restore-window.
7696 Use same arglist as old quit-window.
1ed43b09
CY
7697 (frame-auto-delete): Doc fix.
7698
7699 * view.el (view-mode-exit): Use quit-window.
7700
11dcdbb2
JL
77012011-08-24 Juri Linkov <juri@jurta.org>
7702
7703 * isearch.el (isearch-ring-adjust1): Start visiting previous
7704 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7705 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7706 for empty search string (when the last search string is reused
7707 automatically) to adjust the isearch ring to the last element and
7708 prepare the correct index for further M-p commands (bug#9185).
7709
de62b4df
KH
77102011-08-24 Kenichi Handa <handa@m17n.org>
7711
7712 * international/ucs-normalize.el: If decomposition property of
7713 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7714 nil.
7715 (nfd, nfkd): Likewise.
7716
963b492b
SM
77172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7720 from process filters aren't reliably transmitted to the surrounding
7721 accept-process-output.
7722 (mpc-proc-check): New function.
7723 (mpc-proc-sync): Use it (bug#8293)
7724
93b6b5e1
SM
77252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7728 Add compatibility functions (bug#9313).
7729
bca633fb
EZ
77302011-08-23 Eli Zaretskii <eliz@gnu.org>
7731
b177498a
EZ
7732 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7733
6df6ae42 7734 * international/uni-bidi.el: Regenerate.
bca633fb 7735
0902a04e
KH
77362011-08-23 Kenichi Handa <handa@m17n.org>
7737
7738 * international/charprop.el:
7739 * international/uni-bidi.el:
7740 * international/uni-category.el:
7741 * international/uni-combining.el:
7742 * international/uni-comment.el:
7743 * international/uni-decimal.el:
7744 * international/uni-decomposition.el:
7745 * international/uni-digit.el:
7746 * international/uni-lowercase.el:
7747 * international/uni-mirrored.el:
7748 * international/uni-name.el:
7749 * international/uni-numeric.el:
7750 * international/uni-old-name.el:
7751 * international/uni-titlecase.el:
7752 * international/uni-uppercase.el: Regenerate.
7753
3bbf23bc
MR
77542011-08-23 Martin Rudalics <rudalics@gmx.at>
7755
7756 * help.el (help-window-setup): Fix message displayed when other
7757 window is reused. (Bug#9341)
7758
b3fd59bd
SM
77592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7760
1802e444
SM
7761 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7762 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7763
b3fd59bd
SM
7764 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7765 Mark obsolete.
7766 * shell.el (shell-parse-pcomplete-arguments): New function.
7767 (shell-completion-vars): Use it instead (bug#9160).
7768
4eb61348
SM
77692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7770
867cab74
SM
7771 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7772 strings and comments (bug#9333).
7773
4eb61348
SM
7774 * emacs-lisp/debug.el (debug-arglist): New function.
7775 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7776 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7777
262a1439
JL
77782011-08-22 Juri Linkov <juri@jurta.org>
7779
56ee679c
JL
7780 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7781 Revert regexp that highlights output switches to its old
7782 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7783
262a1439
JL
7784 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7785 to check for empty output (bug#9226).
7786
f13f86fb
CY
77872011-08-22 Chong Yidong <cyd@stupidchicken.com>
7788
7789 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7790 symbol-constituent as the default, as that stops font-lock from
7791 working properly (Bug#8843).
7792
c65c9622
LMI
77932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7796 `coding-system-for-*' around the process open call to avoid
7797 auth-source side effects.
e7f2c178 7798 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7799 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7800 probe hangs.
c65c9622 7801
23a8a5ab
CY
78022011-08-21 Chong Yidong <cyd@stupidchicken.com>
7803
ff98b2dd
CY
7804 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7805
23a8a5ab
CY
7806 * emacs-lisp/find-func.el (find-function-noselect): New arg
7807 lisp-only.
7808
7809 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7810 signal an error for built-in functions (Bug#6664).
7811
f5e3c598
LMI
78122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813
7814 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7815 (smtpmail-try-auth-methods): Use it.
7816
a3f2468a
CY
78172011-08-21 Chong Yidong <cyd@stupidchicken.com>
7818
2c34e8da
CY
7819 * font-lock.el (font-lock-fontify-region)
7820 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7821 (font-lock-default-unfontify-buffer)
7822 (font-lock-default-fontify-region)
7823 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7824
b3fd59bd
SM
7825 * progmodes/compile.el (compilation-error-properties):
7826 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7827 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7828 `ant' regexp.
ee31aabc 7829
a3f2468a
CY
7830 * net/browse-url.el (browse-url-firefox): Don't call
7831 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7832
8e999f70
GM
78332011-08-20 Glenn Morris <rgm@gnu.org>
7834
c21a496a
GM
7835 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7836
59ee0542
GM
7837 * tutorial.el (tutorial--default-keys): Update some default bindings.
7838
8e999f70
GM
7839 * files.el (hack-local-variables): Fully ignore case for "mode:".
7840
e3715033
AM
78412011-08-20 Alan Mackenzie <acm@muc.de>
7842
7843 Resolve invalid use of a regexp in regexp-opt.
7844
4d61f28d
JB
7845 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7846 detection for a java annotation.
e3715033 7847
4d61f28d 7848 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7849 detection for a java annotation.
7850
4d61f28d
JB
7851 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7852 handling for java.
e3715033
AM
7853 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7854
04ed2e9c
CY
78552011-08-20 Chong Yidong <cyd@stupidchicken.com>
7856
7857 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7858 (Bug#9274).
7859
826cee64
AM
78602011-08-20 Alan Mackenzie <acm@muc.de>
7861
58179cce 7862 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7863 such a construct. Mainly for when jit-lock etc. starts a chunk
7864 here.
7865
58179cce 7866 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7867 variable.
58179cce 7868 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7869 c-make-font-lock-search-function.
7870 (c-make-font-lock-search-function): Use the above function.
7871 (c-make-font-lock-context-search-function): New function.
7872 (c-cpp-matchers): Enhance the preprocessor expression case with
7873 the above function
7874 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7875 which takes an expression.
7876
7877 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7878
13009bd8
MR
78792011-08-20 Martin Rudalics <rudalics@gmx.at>
7880
7881 * window.el (display-buffer-reuse-window)
7882 (display-buffer-pop-up-window): Don't reuse or split a side
7883 window.
7884
9234ff7f
GM
78852011-08-19 Glenn Morris <rgm@gnu.org>
7886
7887 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7888 Downcase "Mode:". (Bug#9331)
9234ff7f 7889
f635daa1
CY
78902011-08-18 Chong Yidong <cyd@stupidchicken.com>
7891
7892 * international/characters.el: Add L and R categories.
7893
7894 * subr.el (bidi-string-mark-left-to-right): Rename from
7895 string-mark-left-to-right. Use category search.
7896
7897 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7898
bc987f8b
JL
78992011-08-18 Juri Linkov <juri@jurta.org>
7900
7901 * faces.el (error, warning, success): New faces with definitions
7902 copied from old default values of `font-lock-warning-face',
7903 `compilation-warning', `compilation-info' (bug#6117).
7904
7905 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7906
7907 * progmodes/compile.el (compilation-error): Inherit from `error'.
7908 (compilation-warning): Inherit from `warning'.
7909 (compilation-info): Inherit from `success'.
7910
7911 * dired.el (dired-marked): Inherit from `warning'.
7912 (dired-flagged): Inherit from `error'.
7913
57173b96
LMI
79142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
3e79eb87
LMI
7916 * mail/smtpmail.el (auth-source): Require to avoid problems with
7917 binding variables (bug#9298). Also clean up some unused
7918 autoloads.
7919
b3fd59bd
SM
7920 * net/network-stream.el (network-stream-open-starttls):
7921 Support using starttls.el without using gnutls-cli.
57173b96 7922
02b404de
JL
79232011-08-17 Juri Linkov <juri@jurta.org>
7924
7925 * progmodes/grep.el (rgrep): Handle the case when
7926 `grep-find-command' is a cons cell (bug#9278).
7927
8c9177f2
MR
79282011-08-17 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (display-buffer-pop-up-frame): Run frame creation
7931 function with BUFFER current (as special-display-popup-frame
7932 does). Reported by Drew Adams.
7933
3644a0ab
DU
79342011-08-17 Daiki Ueno <ueno@unixuser.org>
7935
7936 * epa-mail.el: Simplify GnuPG group expansion using
7937 epg-expand-group.
7938 (epa-mail-group-alist, epa-mail-group-modtime)
7939 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7940 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7941 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7942 Remove.
7943
5e617bc2 79442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7945
7946 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7947
9c4aeabf
AM
79482011-08-16 Alan Mackenzie <acm@muc.de>
7949
7950 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7951 Correct, to avoid the inside of macros.
7952
3a99bf64
RS
79532011-08-16 Richard Stallman <rms@gnu.org>
7954
04963aa8
RS
7955 * epa-mail.el: Handle GnuPG group definitions.
7956 (epa-mail-group-alist, epa-mail-group-modtime)
7957 (epa-mail-gnupg-conf-file): New variables.
7958 (epa-mail-parse-groups, epa-mail-sync-groups)
7959 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7960 (epa-mail-expand-recipients): New functions.
7961 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7962
177549d0
RS
7963 * mail/rmail.el (rmail-epa-decrypt): New command.
7964
fe38beef
RS
7965 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7966 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7967 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7968 (epa-decrypt-armor-in-region): Make error message clearer.
7969
934eacb9
SM
79702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7973 and "a2b" to "ab" for `prefix'.
7974
d024fb4e
CY
79752011-08-14 Chong Yidong <cyd@stupidchicken.com>
7976
7977 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7978 filter groups.
de148fee
CY
7979 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7980 Fourquet (Bug#8804).
d024fb4e 7981
62f1ca49
JB
79822011-08-12 Juanma Barranquero <lekktu@gmail.com>
7983
7984 * startup.el (argi): Declare as global variable (bug#9275).
7985
9ccaaa4b
CY
79862011-08-12 Chong Yidong <cyd@stupidchicken.com>
7987
7988 * subr.el (string-mark-left-to-right): Search the entire string
7989 for RTL script, not just the terminating character. Doc fix.
7990
a3dae87a
SM
79912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7992
6cd18349
SM
7993 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7994 New function.
7995 (js--regexp-literal, js-syntax-propertize-function): Remove.
7996 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7997 (js-mode-map): Don't rebind electric keys.
7998 (js-insert-and-indent): Remove.
7999 (js-mode): Setup electric-layout and electric-indent instead.
8000
a3dae87a
SM
8001 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8002
9d5cb631
DU
80032011-08-12 Daiki Ueno <ueno@unixuser.org>
8004
8005 * epa.el (epa-progress-callback-function): Fix the logic of
8006 displaying progress.
8007 * epa-file.el (epa-file-insert-file-contents): Make progress
8008 display more user-friendly.
8009 (epa-file-write-region): Ditto.
8010
3e26a4a2
CY
80112011-08-10 Chong Yidong <cyd@stupidchicken.com>
8012
8013 * subr.el (string-mark-left-to-right): New function.
8014
8015 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8016 Use string-mark-left-to-right.
8017 (list-buffers-noselect): Caller changed.
8018
a3dae87a
SM
8019 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8020 Use string-mark-left-to-right.
3e26a4a2
CY
8021 (tabulated-list-print): Recenter after moving point.
8022
ac8cf6e6
JL
80232011-08-10 Juri Linkov <juri@jurta.org>
8024
8025 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8026 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8027 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8028
8d96c9a4
CY
80292011-08-09 Chong Yidong <cyd@stupidchicken.com>
8030
8031 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8032 (Bug#7554).
8033
7be1c708 80342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8035
8036 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8037 character. (Bug#6594)
8038
37e11a63
CY
80392011-08-08 Chong Yidong <cyd@stupidchicken.com>
8040
839dde57
CY
8041 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8042 (image-dired--with-db-file): New macro.
8043 (image-dired-write-tags, image-dired-remove-tag)
8044 (image-dired-create-gallery-lists, image-dired-write-comments)
8045 (image-dired-get-comment, image-dired-mark-tagged-files)
8046 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8047 (image-dired-gallery-generate): Use insert-file-contents.
8048
37e11a63
CY
8049 * time.el (display-time-world-list, display-time-world-display):
8050 * time-stamp.el (time-stamp-string):
8051 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8052 set-time-zone-rule (Bug#7337).
8053
0b4946c4
DU
80542011-08-08 Daiki Ueno <ueno@unixuser.org>
8055
8056 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8057 (epg-error-to-string, epg-errors-to-string): New function.
8058 (epg-wait-for-completion): Reverse errors list.
8059 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8060 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8061 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8062 (epg-sign-keys, epg-generate-key-from-file)
8063 (epg-generate-key-from-string): Format errors by using
8064 epg-errors-to-string (bug#9255).
8065 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8066
75bfc667
JL
80672011-08-07 Juri Linkov <juri@jurta.org>
8068
8069 * faces.el (list-faces-display): Remove extra angle bracket
8070 from `help-mode-map'.
8071
8072 * info.el (Info-history-toc-nodes): Doc fix.
8073
8074 * longlines.el (longlines-mode): Doc fix.
8075
673e08bb
SM
80762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8077
4640dd88
SM
8078 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8079 of statements and in a few more cases (bug#9183).
8080
673e08bb
SM
8081 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8082 New functions.
8083 (cl-transform-lambda): Use them (bug#9239).
8084
89b3f019
MR
80852011-08-05 Martin Rudalics <rudalics@gmx.at>
8086
8087 * window.el (display-buffer-same-window)
8088 (display-buffer-same-frame, display-buffer-other-window)
8089 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8090 (pop-to-buffer-other-window)
8091 (pop-to-buffer-same-frame-other-window)
8092 (pop-to-buffer-other-frame): Make them defuns.
8093 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8094
640c8776
SM
80952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * subr.el (make-composed-keymap): Move from C. Change calling
8098 convention, and improve docstring to bring attention to a subtle point.
8099 * minibuffer.el (completing-read-default): Adjust accordingly.
8100
63648a95
MA
81012011-08-03 Michael Albinus <michael.albinus@gmx.de>
8102
8103 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8104 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8105
8106 * net/trampver.el: Update release number.
8107
b796c9b7
SM
81082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8111 "in" (bug#9190).
8112
2239d7d5
LMI
81132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8114
e07dd7c3
LMI
8115 * mail/sendmail.el (sendmail-query-once): Restore the current
8116 buffer after querying (bug#9074).
8117
0e6a2bd7
LMI
8118 * dired.el (dired-flagged): Use different faces for marked and
8119 flagged files (bug#6117).
8120
ce887515
LMI
8121 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8122 (bug#4433).
8123
92f2affc
LMI
8124 * ido.el (ido-mode): Switch off the message if called
8125 non-interactively.
8126
57d5aff0
LMI
8127 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8128 before 587, since it appears that that's more likely to work for
8129 more people.
8130
98cd6c18 8131 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8132 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8133 exist.
8134
b96dec83
LMI
8135 * info.el: Remove the `Info-beginning-of-buffer' function
8136 (bug#8325).
8137
b796c9b7
SM
8138 * net/network-stream.el (network-stream-open-starttls):
8139 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8140
d90e2ea0
MR
81412011-08-01 Martin Rudalics <rudalics@gmx.at>
8142
8143 * window.el (display-buffer-in-window): Don't set dedicated status
8144 of window here (Bug#9215).
8145 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8146 (display-buffer-pop-up-side-window)
b796c9b7 8147 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8148
cca09170
SM
81492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8152 before binding generated-autoload-file.
8153
027b979c
DD
81542011-08-01 Deniz Dogan <deniz@dogan.se>
8155
8156 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8157
3c7ee4f3
MA
81582011-07-30 Michael Albinus <michael.albinus@gmx.de>
8159
8160 Sync with Tramp 2.2.2.
8161
8162 * net/trampver.el: Update release number.
8163
2cc8e51a
JL
81642011-07-30 Juri Linkov <juri@jurta.org>
8165
8166 * dired-aux.el (dired-touch-initial): Remove function.
8167 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8168 current time, and `default' to the last modification time of the
8169 current marked file (bug#6887).
8170
a514d856
JM
81712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8172
8173 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8174 numeric argument to read-number (bug#9163).
a514d856 8175
8a7eddd7
MA
81762011-07-27 Michael Albinus <michael.albinus@gmx.de>
8177
8178 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8179 connection process, it could be nil.
8180
1ddd96f5
LL
81812011-07-27 Leo Liu <sdl.web@gmail.com>
8182
8183 Simplify url handling in rcirc-mode.
8184
8185 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8186 (rcirc-browse-url-at-mouse): Remove.
8187 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8188
b248a85d
AM
81892011-07-26 Alan Mackenzie <acm@muc.de>
8190
8191 Fontify bitfield declarations properly.
8192
8193 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8194 (c-symbol-chars): Now exported as a lang variable.
8195 (c-not-primitive-type-keywords): New lang variable.
8196
8197 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8198 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8199 parsed as a bitfield declaration.
b248a85d 8200
b796c9b7
SM
8201 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8202 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8203 (c-punctuation-in): New function.
8204 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8205 declarations properly.
8206
68575ab0
UJ
82072011-07-26 Ulf Jasper <ulf.jasper@web.de>
8208
8209 * calendar/icalendar.el (icalendar--all-events): Take care of
8210 multiple vcalendars in a single file.
b796c9b7 8211 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8212
0f0a88b9
DD
82132011-07-25 Deniz Dogan <deniz@dogan.se>
8214
8215 * image.el (insert-image): Clarifying docstring.
8216
0b3f36df
MA
82172011-07-24 Michael Albinus <michael.albinus@gmx.de>
8218
8219 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8220 `tramp-send-command-and-check' if there is no error.
8221 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8222
a9901f61
AM
82232011-07-22 Alan Mackenzie <acm@muc.de>
8224
8225 Prevent cc-langs.elc being loaded at run time.
8226
8227 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8228 cc-langs.
8229
4d61f28d 8230 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8231 "(require 'cc-langs)". Quote a form so it will evaluate at
8232 (cc-mode's) compilation time.
8233
11d074b2
MA
82342011-07-22 Michael Albinus <michael.albinus@gmx.de>
8235
8236 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8237 loading. (Bug#9114)
8238
938b94c8
MR
82392011-07-21 Martin Rudalics <rudalics@gmx.at>
8240
8241 * window.el (display-buffer-pop-up-window)
8242 (display-buffer-pop-up-side-window)
8243 (display-buffer-in-side-window): Call display-buffer-set-height
8244 and display-buffer-set-width after setting the new window's
b796c9b7 8245 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8246
bfa4f190
SS
82472011-07-20 Sam Steingold <sds@gnu.org>
8248
8249 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8250 (etags-tags-included-tables): Call `convert-standard-filename' on
8251 the file names contained in TAGS so that windows Emacs can handle
8252 TAGS files created by cygwin ctags.
8253
8ca42262
LMI
82542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8255
8256 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8257 which apparently didn't work.
8258
5db2afd2 82592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8260
5db2afd2
RW
8261 * proced.el (proced-send-signal): For *Marked Processes* buffer
8262 put point at beginning of buffer.
8263
92e15d10
SB
82642011-07-19 Stephen Berman <stephen.berman@gmx.net>
8265
8266 * proced.el (proced-format): Make header lines align with the text
8267 (bug#1779).
8268
1bfd59e5
LMI
82692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8270
8271 * view.el (view-buffer): Allow running in `special' modes if we're
8272 visiting a file (bug#8615).
8273
f5aae37c
MR
82742011-07-19 Martin Rudalics <rudalics@gmx.at>
8275
8276 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8277 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8278 New functions.
f5aae37c
MR
8279 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8280 more accurately.
8281
bf2c1571
AM
82822011-07-18 Alan Mackenzie <acm@muc.de>
8283
8284 Fontify declarators properly when, e.g., a jit-lock chunk begins
8285 inside a declaration.
8286
8287 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8288
b796c9b7
SM
8289 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8290 New function.
bf2c1571
AM
8291 (c-complex-decl-matchers): Insert reference to
8292 c-font-lock-enclosing-decls.
8293
8294 * progmodes/cc-engine.el (c-backward-single-comment):
8295 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8296 to nil around calls to (forward-comment -1).
8297
4e190b80
LMI
82982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299
12dc863d
LMI
8300 * image.el (put-image): Doc typo fix.
8301
a762e966
LMI
8302 * progmodes/etags.el (tags-search): Doc typo fix.
8303
4e190b80
LMI
8304 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8305 password if we get errors 550 to 554.
8306
f019fb21
LMI
83072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8308
b796c9b7 8309 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8310
81746738
LMI
8311 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8312 indentation character (bug#6380).
8313
3ee3a1b5
LMI
8314 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8315
c82f64de
LMI
8316 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8317 to clarify what the problem is (bug#4291).
8318
f019fb21
LMI
8319 * simple.el (current-kill): Clarify what
8320 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8321 (auto-fill-mode): Document `auto-fill-function' in relation to
8322 `auto-fill-mode' (bug#2470).
f019fb21 8323
0794775d
LM
83242011-07-16 Lawrence Mitchell <wence@gmx.li>
8325
8326 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8327 method if slot is read-only (bug#9035).
8328
be39b8cc
MR
83292011-07-16 Martin Rudalics <rudalics@gmx.at>
8330
b796c9b7 8331 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8332 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8333 selected before, see discussion of (Bug#8615), (Bug#6954).
8334 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8335
6ccf7859
GM
83362011-07-15 Glenn Morris <rgm@gnu.org>
8337
8338 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8339 Respect help-form.
6ccf7859 8340
87e86684
LM
83412011-07-09 Lawrence Mitchell <wence@gmx.li>
8342
8343 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8344 (gnutls-negotiate): Use it.
8345
d6066239
LMI
83462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
b796c9b7
SM
8348 * net/gnutls.el (gnutls-negotiate):
8349 Upcase `gnutls-algorithm-priority'.
d6066239 8350
bd23ebc0
GM
83512011-07-15 Glenn Morris <rgm@gnu.org>
8352
c65bca65
GM
8353 * jka-compr.el (jka-compr-verbose): Move from here...
8354 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8355 Add missing :version tag.
8356 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8357
478615cc
LMI
83582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8359
7b41decb
LMI
8360 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8361 (gnutls-negotiate): Use it.
8362
dbc44fcd
LMI
8363 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8364
06789f97
LMI
8365 * info.el (Info-beginning-of-buffer): New command.
8366 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8367 announcing `b' as the key (bug#8325).
ab896c37 8368 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8369
c39da690
LMI
8370 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8371
3aa5f34b
LMI
8372 * international/mule-cmds.el
8373 (describe-specified-language-support): Make the error message
8374 clearer (bug#8905).
8375
4bf0979f
LMI
8376 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8377
478615cc
LMI
8378 * isearch.el (isearch-barrier): Add a doc string, since it's
8379 mentioned in a function doc string (bug#8678).
8380
75c68aa1
MR
83812011-07-15 Martin Rudalics <rudalics@gmx.at>
8382
8383 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8384 buffer argument (Bug#9083) and self-identifying label argument.
8385
a7c33da2
GM
83862011-07-15 Glenn Morris <rgm@gnu.org>
8387
8388 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8389
2f5c6024
LMI
83902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * man.el (Man-fontify-manpage): Fix message when formatting the
8393 man page (bug#7929).
8394
0bb23927 83952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8396
8397 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8398 argument LRM; if non-nil, append an invisible LRM character to the
8399 buffer name.
8400 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8401 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8402 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8403 paragraph direction.
cce4b0a7 8404
621ef9ab
LMI
84052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8406
d1583c48
LMI
8407 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8408 the man page name (bug#7929).
8409
6a57fb5f
LMI
8410 * image.el (put-image): Mention the `put-image' overlay property
8411 (bug#7834).
8412
d7956b14
LMI
8413 * scroll-bar.el (set-scroll-bar-mode): Mention that
8414 `scroll-bar-mode' lists the values (bug#7772).
8415
5b2d4a66
LMI
8416 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8417 command (bug#7729).
8418
7509a874
LMI
8419 * rect.el (apply-on-rectangle): Return the point after the last
8420 operation.
8421 (string-rectangle): Go to the point after the last operation
8422 (bug#7522).
8423
4fe74b19
LMI
8424 * printing.el (pr-toggle-region): Clarify the documentation
8425 slightly (bug#7493).
8426
b796c9b7
SM
8427 * time.el (display-time-update):
8428 Allow `display-time-mail-function' to return nil (bug#7158).
8429 Fix suggested by Detlev Zundel.
ab283561 8430
fc233c9d
LMI
8431 * vc/diff.el (diff): Clarify the order the file names are read
8432 (bug#7111).
8433
43f5740b
LMI
8434 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8435 the doc string (bug#7015).
8436
f2182a76
LMI
8437 * font-lock.el (font-lock-maximum-decoration): Mention what
8438 numeric levels mean (bug#6935).
8439
621ef9ab
LMI
8440 * startup.el (initial-buffer-choice): Don't mention the `none'
8441 selection, which is against policy.
8442
adc47434
MR
84432011-07-14 Martin Rudalics <rudalics@gmx.at>
8444
b796c9b7
SM
8445 * window.el (display-buffer-normalize-special):
8446 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8447
7e5bfb8f
EZ
84482011-07-14 Eli Zaretskii <eliz@gnu.org>
8449
8450 * subr.el (version<, version<=, version=): Mention "-CVS" and
8451 "-12345" alpha version numbers.
8452
27fa387a
CY
84532011-07-14 Chong Yidong <cyd@stupidchicken.com>
8454
8455 * bindings.el: Add advertised binding for set-mark-command
8456 (Bug#5772).
8457
8bdfa064
CY
84582011-07-14 Chong Yidong <cyd@stupidchicken.com>
8459
8460 * bindings.el (mode-line-other-buffer):
8461 * bookmark.el (bookmark-bmenu-2-window):
8462 * bs.el (bs-cycle-next, bs-cycle-previous):
8463 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8464 switch-to-buffer.
8465
8466 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8467 Delete.
8bdfa064 8468
5eba16a3
JB
84692011-07-14 Juanma Barranquero <lekktu@gmail.com>
8470
8471 * follow.el (follow-debug-message, follow-redisplay):
8472 * jka-cmpr-hook.el (with-auto-compression-mode):
8473 Fix typos in docstrings.
8474
15853710
LMI
84752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
a28e4607
LMI
8477 * subr.el (with-silent-modifications): Clarify somewhat what the
8478 macro inhibits (bug#6525).
8479
15853710
LMI
8480 * simple.el (eval-expression): Note what it does if called
8481 interactively (bug#6495).
8482
bee0fcef
CY
84832011-07-13 Chong Yidong <cyd@stupidchicken.com>
8484
b796c9b7
SM
8485 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8486 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8487
8488 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8489 Remove switch-to-buffer.
8490
58274504
LMI
84912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8492
bd2fcc8d
LMI
8493 * files.el (make-directory): Clarify that an error will be raised
8494 if there's an error (bug#6397).
8495
0f04b32c
LMI
8496 * startup.el (initial-buffer-choice): Add `none' as a choice
8497 (bug#6234).
8498
465c5fc8
LMI
8499 * subr.el (add-hook): Clarify section about buffer-local hooks
8500 (bug#6218).
8501
58274504
LMI
8502 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8503
bead9a43
JB
85042011-07-13 Juanma Barranquero <lekktu@gmail.com>
8505
8506 * tabify.el (untabify): Preserve the current column so that point
8507 doesn't move (bug#6032).
8508
3af98a7b
LMI
85092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8510
b796c9b7
SM
8511 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8512 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8513
6240145a
GM
85142011-07-13 Glenn Morris <rgm@gnu.org>
8515
8516 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8517 (dired-insert-directory): Give a message the first time
8518 if ls is found not to support --dired.
8519
1d8c2ccc
LMI
85202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
8522 * simple.el (toggle-truncate-lines): Clarify what is toggled
8523 (bug#5580). Text by Drew Adams.
8524
5fc4038e
CY
85252011-07-13 Chong Yidong <cyd@stupidchicken.com>
8526
8527 * simple.el (blink-matching-open): Make the error message from the
8528 last change less verbose.
8529
bf6012e5
DN
85302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8531
8532 * font-lock.el (font-lock-comment-face): Use the high contrast
8533 "yellow" color for font-lock-comment-face on low color terminals
8534 using a dark background color (bug#4221).
8535
343c3b5a
LMI
85362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
7e9505c5
LMI
8538 * dired.el (dired-insert-set-properties): Make the doc string
8539 reflect what it does now (bug#5325).
8540
c26fdcf5
LMI
8541 * simple.el (blink-matching-open): Say that we were unable to find
8542 the match within the limit, if we're limited (bug#5122).
8543
bb388cc5
LMI
8544 * international/mule-cmds.el (prefer-coding-system): Add an
8545 example (bug#4869).
8546
343c3b5a
LMI
8547 * progmodes/etags.el (tags-search): Document `file-list-form'
8548 (bug#4731).
8549
2a517d45
LM
85502011-07-13 Lawrence Mitchell <wence@gmx.li>
8551
8552 * net/browse-url.el (browse-url-default-browser)
8553 (browse-url-browser-function): Make the default browser choice a
8554 bit more logical (bug#4300). Also clean up the doc string.
8555
b6c78ef2
JB
85562011-07-13 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8559 binary endings (bug#4440).
8560
1c4dd947
LMI
85612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562
a2014063
LMI
8563 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8564 which can be pretty annoying (bug#8971).
8565
9c9c2d88
LMI
8566 * jka-compr.el (jka-compr-verbose): New variable, and use
8567 throughout (bug#8971).
8568
1c4dd947
LMI
8569 * info.el (Info-find-file): Fall back on the installation
8570 directory if we can't find the info node anywhere else.
8571
a1c9f41b
SO
85722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8573
8574 * vc/vc.el (vc-revert-file):
8575 Don't set file time-stamp in the past. (Bug#5181)
8576
536f3d36
LMI
85772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8578
7152b011
LMI
8579 * files.el (after-find-file): Give a better error message when
8580 trying to find a symlink that points to a file that doesn't exist
8581 (bug#4398).
8582
536f3d36
LMI
8583 * progmodes/cc-vars.el: Remove (probably) misleading comment
8584 (bug#4396).
8585
460c0fba
JB
85862011-07-12 Johan Bockgård <bojohan@gnu.org>
8587
8588 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8589
7a6bda45
CY
85902011-07-12 Chong Yidong <cyd@stupidchicken.com>
8591
8592 * mouse-sel.el: Hack restoring functionality, while keeping
8593 compatibility with 2010-07-03 changes to mouse selection.
8594 (mouse-sel-primary-overlay): New var.
8595 (mouse-sel-selection-alist): Use it.
8596 (mouse-sel-mode): Doc fix; remove points that are default features
8597 of mouse.el.
8598
c79598ef
JB
85992011-07-12 Johan Bockgård <bojohan@gnu.org>
8600
8601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8602 Fix previous fix (bug#2490).
8603
ff8be6ef
RW
86042011-07-12 Roland Winkler <winkler@gnu.org>
8605
b796c9b7
SM
8606 * textmodes/bibtex.el (bibtex-initialize):
8607 Use pop-to-buffer-same-window.
ff8be6ef
RW
8608 (bibtex-search-entries): Fix interactive call.
8609
296ba3ee
LMI
86102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
f5242a02 8612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8613 Fontise bytecomp Error lines more correctly (bug#2490).
8614 Fix suggested by Johan Bockgård.
f5242a02 8615
296ba3ee
LMI
8616 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8617
8618 * dired-x.el (dired-guess-default): Use `delete-dups'.
8619
f69fd0d2
CY
86202011-07-12 Chong Yidong <cyd@stupidchicken.com>
8621
8622 * dired.el (dired-mark-prompt):
8623 * dired-aux.el (dired-read-shell-command): Doc fix.
8624
eab5dc07
LMI
86252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626
b796c9b7
SM
8627 * mail/sendmail.el (sendmail-query-once):
8628 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8629 emacs -Q.
8630
8631 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8632
eab5dc07
LMI
8633 * cus-edit.el (custom-file): Take an optional no-error variable.
8634 (customize-save-variable): Set the variable, and give a warning if
8635 running under "emacs -q".
8636
a1e65d42
JB
86372011-07-11 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * loadhist.el (unload-feature-special-hooks):
8640 Add `auto-coding-functions', `fill-nobreak-predicate' and
8641 `find-directory-functions' (bug#5327).
8642
1d52da10
LMI
86432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
be958f1d
LMI
8645 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8646
5bedb26c
LMI
8647 * cus-edit.el (custom-guess-name-alist): -alist variables should
8648 use the `alist' type (bug#3120). Suggested by Drew Adams.
8649
1d52da10
LMI
8650 * printing.el: Add documentation to all the `pr-toggle-' commands.
8651
cd394be1 86522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8653
8654 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8655 backends where it makes sense (bug#2623).
8656
dcc88d8a
LMI
86572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8658
c3de9feb
LMI
8659 * dired-x.el (dired-guess-default): Remove duplicate shell command
8660 entries (bug#2028).
8a93078b 8661 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8662 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8663
dcc88d8a
LMI
8664 * subr.el (remove-duplicates): New conveniency function.
8665
505e3645
LMI
86662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8667
8668 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8669 (bug#1526).
8670
86712011-07-10 Martin Rudalics <rudalics@gmx.at>
8672
8673 * window.el (display-buffer-normalize-default): Don't invert
8674 meaning of even-window-heights. Reported by Eli Zaretskii
8675 <eliz@gnu.org>.
8676
455e4fa1
BR
86772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8678
8679 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8680
8e0bc3e9
CY
86812011-07-10 Chong Yidong <cyd@stupidchicken.com>
8682
8683 * window.el (display-buffer): Fix arguments to
8684 display-buffer-reuse-window in last change.
8685
fa7c3228
CY
8686 * faces.el (link): Use a less saturated blue on light backgrounds.
8687
8688 * startup.el (fancy-startup-text, fancy-about-text)
8689 (fancy-startup-tail): Use font-lock faces, for background safety.
8690
c0a7f300
BN
86912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8692
b796c9b7
SM
8693 * emulation/viper-cmd.el (viper-change-state-to-vi):
8694 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8695
4dc2a129
MR
86962011-07-09 Martin Rudalics <rudalics@gmx.at>
8697
8698 * window.el (display-buffer-default-specifiers): Remove.
8699 (display-buffer-macro-specifiers): Remove default specifiers.
8700 (display-buffer-alist): Default to nil.
b796c9b7 8701 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8702 (display-buffer-pop-up-window): Allow splitting internal
8703 windows. Check whether a live window was created.
8704 (display-buffer-other-window-means-other-frame)
8705 (display-buffer-normalize-arguments): Rename to
8706 display-buffer-normalize-argument and rewrite. Set the
8707 other-window specifier.
8708 (display-buffer-normalize-special): New function.
8709 (display-buffer-normalize-options): Rename to
8710 display-buffer-normalize-default and rewrite.
8711 (display-buffer-normalize-options-inhibit): Remove.
8712 (display-buffer-normalize-specifiers): Rewrite.
8713 (display-buffer): Process other-window specifier and call
8714 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8715 more faithfully.
b796c9b7 8716 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8717 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8718 (display-buffer-in-window, display-buffer-alist-set):
8719 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8720 <tassilo@member.fsf.org>.
8721
2d43b8c9
LL
87222011-07-09 Leo Liu <sdl.web@gmail.com>
8723
8724 * register.el (insert-register): Restore accidental change on
8725 2011-06-26. (Bug#9028)
8726
7f9b7c53
GM
87272011-07-09 Glenn Morris <rgm@gnu.org>
8728
8729 * subr.el (remq): Handle the empty list. (Bug#9024)
8730
f042cfd8
AS
87312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8732
8733 * mail/sendmail.el (send-mail-function): No longer delay custom
8734 initialization.
8735 * custom.el (custom-initialize-delay): Doc fix.
8736
856b2f11
SM
87372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8740
afae1d68
MA
87412011-07-08 Michael Albinus <michael.albinus@gmx.de>
8742
8743 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8744 human-friendly prompt.
8745
0757af94
SM
87462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8749 provided by a particular plugin.
8750
d760b731
LMI
87512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8752
8753 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8754 save customizations (with "emacs -Q"), just set the variable
8755 instead of erroring out.
8756
8757 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8758
cd79ce90
JL
87592011-07-08 Juri Linkov <juri@jurta.org>
8760
8761 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8762 (archive-zip-update-case): Use 7z if found by `executable-find'.
8763 The order of searching the available programs is the same as in
8764 `archive-zip-extract' (bug#8968).
8765
14cc04aa
CY
87662011-07-07 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8769 (menu-bar-options-menu): Tweak descriptions.
8770
0a1848ec
LMI
87712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8772
8773 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8774 menu items into verb phrases (bug#1421). Also refill to fit under
8775 80 columns.
8776
f5bd0689
CY
87772011-07-07 Chong Yidong <cyd@stupidchicken.com>
8778
538e85c6
CY
8779 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8780 (Info-read-node-name): Doc fix (Bug#1084).
8781
f5bd0689
CY
8782 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8783 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8784 (end-of-sexp, beginning-of-sexp)
8785 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8786 (forward-symbol, forward-same-syntax, word-at-point)
8787 (sentence-at-point): Doc fix (Bug#1144).
8788
56ec5115
LMI
87892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8790
f3f8e37f
LMI
8791 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8792 should cover it (bug#1281).
8793
0757af94 8794 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8795
e9fce1ac 8796 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8797 negotiation fails, then possibly try again with a non-encrypted
8798 connection (bug#9017).
8799
56ec5115
LMI
8800 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8801 be used.
8802
c2f9aec8
RS
88032011-07-07 Richard Stallman <rms@gnu.org>
8804
8805 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8806 property, and handle its changed format.
8807 Look for the correct line number.
8808 Use file's line contents (but not past first =) to find
8809 correct line in message.
8810
ef7b981d 88112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8812
8813 * international/characters.el (build-unicode-category-table):
8814 Delete it.
0757af94 8815 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8816
0757af94 8817 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8818 to src/chartab.c.
8819 (get-char-code-property): Call unicode-property-table-internal to
8820 load a file. Call get-unicode-property-internal where necessary.
8821 (put-char-code-property): Call unicode-property-table-internal to
8822 load a file. Call put-unicode-property-internal where necessary.
8823 put-unicode-property-internal where necessary.
0757af94
SM
8824 (char-code-property-description):
8825 Call unicode-property-table-internal to load a file.
c805dec0
KH
8826
8827 * international/charprop.el:
8828 * international/uni-bidi.el:
8829 * international/uni-category.el:
8830 * international/uni-combining.el:
8831 * international/uni-comment.el:
8832 * international/uni-decimal.el:
8833 * international/uni-decomposition.el:
8834 * international/uni-digit.el:
8835 * international/uni-lowercase.el:
8836 * international/uni-mirrored.el:
8837 * international/uni-name.el:
8838 * international/uni-numeric.el:
8839 * international/uni-old-name.el:
8840 * international/uni-titlecase.el:
8841 * international/uni-uppercase.el: Regenerate.
8842
8843 * loadup.el: Load international/charprop.el before
8844 international/characters.
8845
e14b388a
CY
88462011-07-07 Chong Yidong <cyd@stupidchicken.com>
8847
8848 * window.el (next-buffer, previous-buffer): Signal an error if
8849 called from a minibuffer window.
8850
8851 * bindings.el: Revert 2011-07-04 change.
8852
354cf0ba
RS
88532011-07-06 Richard Stallman <rms@gnu.org>
8854
8855 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8856 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8857 Treat markers like ints.
8858 (rmail-mime-entity): Doc fix.
8859
a48868a7
LMI
88602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8861
4906cd3d
LMI
8862 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8863 defcustom again for backwards compatibility.
8864
e0457abe
LMI
8865 * simple.el (shell-command-on-region): Fill.
8866
d67f7e1f
LMI
8867 * dired-aux.el (dired-kill-line): Add a doc string.
8868
fe204702
LMI
8869 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8870 to "\\sw\\|\\s_" (bug#358).
8871
a48868a7
LMI
8872 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8873 (dired-unmark-backward): Ditto.
8874 (dired-flag-backup-files): Ditto.
8875
8876 * dired-x.el (dired-mark-sexp): Ditto.
8877
aa8a705c
RS
88782011-07-06 Richard Stallman <rms@gnu.org>
8879
8880 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8881 (rmail-mime-entity): New arg TRUNCATED.
8882 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8883 New functions.
8884 (rmail-mime-save): Warn if entity is truncated.
8885 (rmail-mime-toggle-hidden): Likewise, for showing.
8886 (rmail-mime-process-multipart): Record when an entity is truncated.
8887
a9a936b9
RS
8888 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8889 if ENTITY is a string.
8890
1f2b92cb
LMI
88912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8892
f4f73198 8893 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8894 of faces when `M-C-x'-ing their definitions (bug#8378).
8895 Also clean up the code slightly.
f4f73198 8896
12b16734 8897 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8898 because that makes the colors go away.
12b16734 8899
f0691d22
LMI
8900 * mail/sendmail.el (send-mail-function): Change the default to
8901 `sendmail-query-once'.
9e87df06 8902 (sendmail-query-once): Add an autoload cookie.
f0691d22 8903
1f2b92cb
LMI
8904 * net/network-stream.el (network-stream-open-starttls): Try using
8905 a plain connection even if the server offered STARTTLS, and we
8906 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8907 capability. This should make smtpmail.el work in slightly more
8908 configurations.
8909
1cdd2a1b
MA
89102011-07-06 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8913 New defun.
8914 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8915
fbcc67e2
MM
89162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8917
8918 * progmodes/sql.el: Version 3.0
0757af94 8919 (sql-product-alist): Add product :completion-object,
fbcc67e2 8920 :completion-column, and :statement attributes.
0757af94 8921 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8922 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8923 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8924 ansi keywords.
8925 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8926 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8927 (sql-oracle-show-reserved-words): New function for development.
8928 (sql-product-font-lock): Simplify for source code buffers.
8929 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8930 New functions.
8931 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8932 (sql-mode-map): Add statement movement functions.
8933 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8934 New variable.
fbcc67e2
MM
8935 (sql-statement-regexp, sql-beginning-of-statement)
8936 (sql-end-of-statement, sql-signum): New functions.
0757af94 8937 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8938 (sql-show-sqli-buffer): Bug fix.
8939 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8940 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8941 with sql-interactive-mode.
8942 (sql-save-connection): Save buffer local settings.
0757af94 8943 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8944 (sql-product-interactive): Bug fix.
8945 (sql-preoutput-hold): New variable.
8946 (sql-interactive-remove-continuation-prompt): Bug fixes.
8947 (sql-debug-redirect): New variable.
8948 (sql-str-literal): New function.
8949 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8950 Redesign.
fbcc67e2
MM
8951 (sql-oracle-save-settings, sql-oracle-restore-settings)
8952 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8953 (sql-completion-object, sql-completion-column)
8954 (sql-completion-sqlbuf): New variables.
8955 (sql-build-completions-1, sql-build-completions)
8956 (sql-try-completion): New functions.
8957 (sql-read-table-name): Use them.
8958 (sql-contains-names): New buffer local variable.
8959 (sql-list-all, sql-list-table): Use it.
8960 (sql-oracle-completion-types): New variable.
8961 (sql-oracle-completion-object, sql-sqlite-completion-object)
8962 (sql-postgres-completion-object): New functions.
8963
d4eaeab1
GM
89642011-07-06 Glenn Morris <rgm@gnu.org>
8965
8966 * window.el (pop-to-buffer): Doc fix.
8967
322b7dab 89682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8969
8970 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8971
322b7dab 89722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8973
322b7dab 8974 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8975
322b7dab 8976 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8977
605dd5bf
CY
89782011-07-05 Chong Yidong <cyd@stupidchicken.com>
8979
8980 * button.el (button): Inherit from link face. Suggested by Dan
8981 Nicolaescu.
8982
7dbfa719
SM
89832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8984
3db614b0
SM
8985 * progmodes/gdb-mi.el: Fit in 80 columns.
8986 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8987 switch-to-buffer.
8988
7dbfa719
SM
8989 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8990 if imenu is simply not configured (bug#8941).
8991
919d884a
KM
89922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8993
8994 * allout.el (allout-post-undo-hook): New allout outline-change
8995 event hook to signal undo activity.
8996 (allout-post-command-business): Run allout-post-undo-hook if an
8997 undo just occurred.
7dbfa719
SM
8998 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8999 * allout-widgets.el (allout-widgets-after-undo-function):
9000 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9001 in the vicinity of an undo.
9002 (allout-widgets-mode): Include allout-widgets-after-undo-function
9003 on the new allout-post-undo-hook.
9004
450a0f09
SM
90052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9008 Let define-derived-mode define it.
9009 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9010 cycles of abbrev-table inheritance (bug#8998).
9011
2de69e00
RW
90122011-07-05 Roland Winkler <winkler@gnu.org>
9013
9014 * textmodes/bibtex.el: Add support for biblatex.
9015 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9016 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9017 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9018 (bibtex-entry-alist, bibtex-field-alist): New variables.
9019 (bibtex-entry-field-alist): Obsolete alias for
9020 bibtex-BibTeX-entry-alist.
9021 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9022 (bibtex-set-dialect): New command.
9023 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9024 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9025 Bind via bibtex-set-dialect.
2de69e00
RW
9026 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9027 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9028 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9029 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9030 Define via bibtex-set-dialect.
450a0f09
SM
9031 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9032 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9033 (bibtex-vec-push, bibtex-vec-incr): New functions.
9034 (bibtex-format-entry, bibtex-field-list)
9035 (bibtex-print-help-message, bibtex-validate)
9036 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9037
2dcdbdd9
SM
90382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * progmodes/compile.el (compilation-goto-locus):
9041 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9042 * bs.el (bs-cycle-next, bs-cycle-previous):
9043 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9044 * bindings.el (mode-line-other-buffer):
9045 * autoinsert.el (auto-insert):
9046 * arc-mode.el (archive-extract):
9047 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9048
b27640fe
JB
90492011-07-05 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9052 Fix check of `emacs-lock-unlockable-modes'.
9053 Coerce true values of `emacs-lock--try-unlocking' to t.
9054
53bbe3ad
JB
90552011-07-05 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9058 * emacs-lock.el: New file.
9059
1d3cdbc7
JD
90602011-07-05 Julien Danjou <julien@danjou.info>
9061
9062 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9063 than `boundp' to check if face is set.
9064
9173deec
JB
90652011-07-05 Juanma Barranquero <lekktu@gmail.com>
9066
9067 * register.el (registerv-make):
9068 * window.el (window-min-height): Fix typos in docstrings.
9069
869795d6
JD
90702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9071
9173deec 9072 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9073 Update doc string.
9074
b768cdcd
JB
90752011-07-04 Juanma Barranquero <lekktu@gmail.com>
9076
9077 * server.el (server-execute): Catch quit and call
9078 `server-return-error' to pass the error back to emacsclient and
9079 close the connection (bug#8942).
9080
13aa217b
KM
90812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9082
9083 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9084 insecure exception for current topic. Also note that auto-saves
9085 are handled differently.
9086
5d3385a0 9087 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9088 State variables for tracking auto-save inhibition situation.
9089
9090 (allout-write-contents-hook-handler): Rename from
9091 'allout-write-file-hook-handler', and describe how it depends on
9092 write-contents-functions sensitivity to non-nil value to prevent
9093 file write.
9094
9095 (allout-auto-save-hook-handler): Remove. auto-save does not check
9096 this in individual buffers, only in the starting buffer, so this
9097 is not the right way for us to inhibit auto-save in a buffer
9098 according to its condition.
9099
9100 (allout-mode): Use new allout-write-contents-hook-handler, and
9101 only with write-contents-functions. Remove auto-save provisions -
9102 they're implemented elsewhere.
9103
9104 (allout-before-change-handler): If undo is in progress, note that
9105 for attention of allout-post-command-business.
9106
9107 (allout-post-command-business): If the command we're following was
9108 an undo, check for change in the status of encrypted items and
9109 adjust auto-save inhibitions accordingly.
9110
9111 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9112 according to whether there are or aren't any plain-text topics
9113 pending encryption.
9114
2dcdbdd9 9115 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9116 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9117 if there are plain-text topics pending encryption.
13aa217b
KM
9118
9119 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9120 buffer-saved-size and some allout state to not inhibit auto-saves
9121 if there are no longer any plain-text topics pending encryption.
9122
0757af94
SM
9123 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9124 No longer provide for exemption of the current topic.
13aa217b 9125
ac89b32c
JL
91262011-07-04 Juri Linkov <juri@jurta.org>
9127
9128 Add 7z operations to delete and save changed members (bug#8968).
9129 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9130 New defcustoms.
9131 (archive-7z-write-file-member): New function.
9132 (archive-7z-summarize): Fix the number of dashes in the
9133 listing output.
9134
8fa39615
SM
91352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9138 (bug#8958).
9139
2f11b3f1
CY
91402011-07-04 Chong Yidong <cyd@stupidchicken.com>
9141
d66fef2b
CY
9142 * bindings.el: Ignore next-buffer and previous-buffer in
9143 minibuffer-local-map.
9144
2f11b3f1
CY
9145 * font-lock.el (font-lock-builtin-face): Change light background
9146 color to dark slate blue (Bug#6693).
9147
f932a347
WD
91482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9149
9150 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9151
c8af70e1
SM
91522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9156 Add switch-to-buffer.
9157
f158badc
LMI
91582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9159
9160 * isearch.el (isearch-search-fun-function): Clarify further the
9161 meaning of the function returned.
9162
6d95bd46
MA
91632011-07-04 Michael Albinus <michael.albinus@gmx.de>
9164
9165 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9166
9167 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9168 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9169 Use it.
9170 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9171 `tramp-default-remote-path' does not exist.
9172 (tramp-send-command-and-read): New optional argument NOERROR.
9173 (tramp-open-connection-setup-interactive-shell)
9174 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9175 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9176 (tramp-process-sentinel): Flush also process' connection property.
9177 (tramp-sh-handle-start-file-process): Do not set process
9178 sentinel. It is done now ...
9179 (tramp-maybe-open-connection): ... here. (Bug#8929)
9180
909e6b67
MK
91812011-07-04 MON KEY <monkey@sandpframing.com>
9182
9183 * play/animate.el (animate-string): Doc fixes and allow changing
9184 the buffer name (bug#5417).
9185
91862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9187
c8af70e1 9188 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9189
f34755dc
PE
91902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9191
396cec72
PE
9192 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9193 This is simpler and helps future-proof the code.
9194 (timer-until): Use time-subtract and float-time.
08235028 9195 (timer--time-less-p): Use time-less-p.
f34755dc 9196
56e6cc31
JB
91972011-07-04 Juanma Barranquero <lekktu@gmail.com>
9198
3abb79e5
JB
9199 * type-break.el (timep): Use the value of `float-time' to avoid a
9200 byte-compiler warning.
9201
56e6cc31
JB
9202 * server.el (server-eval-and-print): Return any result, even nil.
9203
7b9430b4
PE
92042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9205
9206 * type-break.el: Accept time formats that the builtins accept.
9207 (timep, type-break-time-difference): Accept any format that
9208 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9209 This is simpler and helps future-proof the code.
9210 (type-break-time-difference): Round rather than ignoring
9211 subseconds components.
9212
3034e9e7
LMI
92132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9214
9215 * info.el (Info-apropos-matches): Make non-interactive, since it
9216 doesn't seem to do anything useful as a command (bug#8829).
9217
1485f4c0
CY
92182011-07-03 Chong Yidong <cyd@stupidchicken.com>
9219
9220 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9221 Move from faces.el.
1485f4c0
CY
9222 (frame-default-terminal-background): New function.
9223
9224 * custom.el (custom-push-theme): Don't record faces in `changed'
9225 theme; this doesn't work correctly for per-frame face settings.
9226 (disable-theme): Use face-set-after-frame-default to reset faces.
9227 (custom--frame-color-default): New function.
9228
9fa3dd45
LMI
92292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
c8af70e1 9231 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9232 (bug#8769).
9233
6cbbc20c
KR
92342011-03-29 Kevin Ryde <user42@zip.com.au>
9235
9236 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9237 `perl-Test2' extend to match possible "fail #N" rep count
9238 (bug#8377).
9239
c7f98048
LMI
92402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241
65676592
LMI
9242 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9243 `smtpmail-via-smtp' now returns the error instead of nil.
9244
c7f98048
LMI
9245 * isearch.el (isearch-search-fun-function): Clarify the doc string
9246 (bug#8101).
9247
56e6cc31 92482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9249
9250 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9251 unnecessary spaces (bug#8987).
9252
2b216704
LMI
92532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
9255 * net/network-stream.el (open-network-stream): Use the
9256 :end-of-capability command thoughout.
9257
92582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9259
9260 * net/network-stream.el (open-network-stream): Add the
9261 :end-of-capability command parameter, used by pop3.el.
9262
36adf6ce
LMI
92632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9264
1ca0da0e
LMI
9265 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9266
fc00f69c
LMI
9267 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9268 for list)" (bug#6475).
9269
28fd8759 9270 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9271 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9272 an error (bug#6297).
9273
0dd8b6da
LMI
9274 * man.el (Man-reference-regexp): Allow matching possible
9275 word-wrapped references (bug#6289).
9276
ce1438d6
LMI
9277 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9278 for consistency with the other vc buffers (bug#6197).
9279 (vc-checkin): Ditto.
9280
9281 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9282
36adf6ce
LMI
9283 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9284
e83cc1f7
LMI
92852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286
8a20ca4c
LMI
9287 * custom.el (defcustom): Clarify that :set is only used in the
9288 Customize user interface (bug#6089).
9289
83319045
LMI
9290 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9291 associated with a file, refuse to run instead of erroring out
9292 (bug#6084).
9293
a8392169
LMI
9294 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9295 the doc string, since it appears that using `fill-column' always
9296 controls the width (bug#7845).
9297
e83cc1f7
LMI
9298 * simple.el (shell-command-on-region): Say where the error output
9299 went if `shell-command-default-error-buffer' is set (bug#6857).
9300
e47ca23b
KM
93012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9302
9303 * allout.el (allout-yank-processing): Adjust cursor position for
9304 backwards-deleted space.
9305
9306 (allout-rebullet-heading): Register changes with
9307 allout-exposure-changed-hook, so the modified topic is properly
9308 decorated.
9309
5cf56143
LMI
93102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
08549772
LMI
9312 * minibuffer.el (completion-in-region): Document PREDICATE
9313 (bug#7136).
9314
48e96771
LMI
9315 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9316 of keyword/argument pairs (bug#6904).
9317
c8af70e1
SM
9318 * replace.el (multi-occur):
9319 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9320
e17d05e2
LMI
93212011-07-02 Drew Adams <drew.adams@oracle.com>
9322
9323 * dired.el (dired-mark-if): Make the message about whether it's
9324 marking or unmarking clearer (bug#8523).
9325
063b0e45
LMI
93262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * disp-table.el (display-table-print-array): New function.
9329 (describe-display-table): Use it to print the vectors more pretty
9330 (Bug#8859).
9331
28545e04
MR
93322011-07-02 Martin Rudalics <rudalics@gmx.at>
9333
9334 * window.el (window-state-get-1): Don't assign clone numbers.
9335 Add clone-of item to list of window parameters.
9336 (window-state-put-2): Don't process clone numbers.
9337 (display-buffer-alist): Fix doc-string.
9338
3349e122
SM
93392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * subr.el (remq): Don't allocate if it's not needed.
9342 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9343 (keymap--merge-bindings): New functions.
9344 (keymap-canonicalize): Use them to refine the canonicalization.
9345 * minibuffer.el (minibuffer-local-completion-map)
9346 (minibuffer-local-must-match-map): Move initialization from C.
9347 (minibuffer-local-filename-completion-map): Move initialization from C;
9348 don't inherit from anything here.
9349 (minibuffer-local-filename-must-match-map): Make obsolete.
9350 (completing-read-default): Use make-composed-keymap to combine
9351 minibuffer-local-filename-completion-map with either
9352 minibuffer-local-must-match-map or
9353 minibuffer-local-filename-completion-map.
9354
d224ac83
GM
93552011-07-01 Glenn Morris <rgm@gnu.org>
9356
3de63bf8
GM
9357 * type-break.el (type-break-time-sum): Use dolist.
9358
d224ac83
GM
9359 * textmodes/flyspell.el (flyspell-word-search-backward):
9360 Replace CL function.
9361
1a1e3f32
SM
93622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9363
fe3f64d5
SM
9364 * mouse.el (mouse--strip-first-event): New function.
9365 (function-key-map): Use it to map fringe clicks to normal clicks
9366 by default.
9367
eb604e34
SM
9368 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9369 (vc-bzr-revision-completion-table): Add support for annotate and date.
9370
1a1e3f32
SM
9371 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9372 inherit from parent.
9373
5bd35902
LMI
93742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375
ace6c69c 9376 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9377 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9378
191e2bed
LMI
9379 * dired.el (dired-mode): Fix up the doc string as suggested by
9380 Drew Adams (bug#8817).
9381
5bd35902
LMI
9382 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9383 cookie, since the manual says that it should be possible to add
9384 this function to `find-file-hook' (bug#8709).
9385
eee8207a
TZ
93862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9387
9388 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9389 here. Noted Ted Zlatanov as the maintainer.
9390 (cfengine-common-settings, cfengine-common-syntax): New functions
9391 to set up common things between `cfengine-mode' and
9392 `cfengine3-mode'.
9393 (cfengine3-mode): New mode.
9394 (cfengine3-defuns cfengine3-defuns-regex
9395 (cfengine3-class-selector-regex cfengine3-category-regex)
9396 (cfengine3-vartypes cfengine3-font-lock-keywords)
9397 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9398 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9399
36b148cf
MA
94002011-07-01 Michael Albinus <michael.albinus@gmx.de>
9401
9402 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9403
9404 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9405
0bf4ba9a
MR
94062011-07-01 Martin Rudalics <rudalics@gmx.at>
9407
9408 * window.el (same-window-buffer-names, same-window-regexps)
9409 (same-window-p, special-display-frame-alist)
9410 (special-display-popup-frame, special-display-function)
9411 (special-display-buffer-names, special-display-regexps)
9412 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9413 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9414 (split-window-preferred-function, split-height-threshold)
9415 (split-width-threshold, even-window-heights)
9416 (display-buffer-mark-dedicated, window-splittable-p)
9417 (split-window-sensibly, window-safely-shrinkable-p):
9418 Un-obsolete.
9419 (display-buffer): Don't spread args with function specifier
9420 because special-display-popup-frame won't like it.
9421
35837f51
PE
94222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9423
d0672f86
PE
9424 Time-stamp simplifications and fixes.
9425 These improve accuracy slightly, and future-proof the code
9426 against some potential changes to current-time format.
9427
b9444d97
PE
9428 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9429 by using time-since and float-time.
9430
0ef923dc
PE
9431 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9432 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9433 + NNN microseconds".
9434
2f81380d
PE
9435 * type-break.el (type-break-time-sum): Rewrite using time-add.
9436
845b5c3e
PE
9437 * play/hanoi.el (hanoi-current-time-float): Remove.
9438 All uses replaced by float-time.
9439
ee6f1be0
PE
9440 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9441 This yields a more-accurate answer.
9442 (rng-time-to-float): Remove; no longer needed.
9443
fe955043
PE
9444 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9445
5777162a
PE
9446 * calendar/timeclock.el (timeclock-seconds-to-time):
9447 Defalias to seconds-to-time, since they're the same thing.
9448
3103f8b6 9449 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9450 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9451 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9452
0e61a35f
SM
94532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * window.el (bury-buffer): Don't iconify the only frame.
9456 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9457 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9458
ddd63a1e
CY
94592011-07-01 Chong Yidong <cyd@stupidchicken.com>
9460
0e61a35f
SM
9461 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9462 Add mouse-yank-primary.
ddd63a1e 9463
055f4923
TZ
94642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9465
9466 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9467
6a2fb145
SM
94682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9471 (find-library-name): Use it to find relative load names when provided
9472 absolute file name (bug#8803).
9473
fd4983f2
LMI
94742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9475
887d14ad
LMI
9476 * textmodes/flyspell.el (flyspell-word): Consider words that
9477 differ only in case as potential doublons (bug#5687).
9478
c53dc7fc
LMI
9479 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9480 Remove two rather uninteresting debugging-like messages to make
9481 debbugs.el more silent.
9482
fd4983f2
LMI
9483 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9484 a password-like phrase.
9485
7a71b18d 94862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9487
9488 * progmodes/cc-guess.el: New file.
9489
6a2fb145 9490 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9491
9492 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9493 derived from `c-basic-common-init'.
9494
9495 * progmodes/cc-mode.el (top-level): Require cc-guess.
9496 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9497
1fa280a3
LM
94982011-06-30 Lawrence Mitchell <wence@gmx.li>
9499
9500 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9501
e6597158
AM
95022011-06-30 Alan Mackenzie <acm@muc.de>
9503
1fa280a3
LM
9504 * progmodes/cc-engine.el (c-guess-continued-construct):
9505 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9506 lock is disabled. Name this case as "CASE G".
9507
68ba37fb
KM
95082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9509
9510 * allout.el (allout-yank-processing): Fix injection of extra space
9511 between bullet and non-whitespace character in first topic when
9512 pasting, ensuring that the actual spacing in the pasted topic
9513 following the bullet char is preserved. This extra space was
9514 causing pasted encrypted topics to get a decrypted status even
9515 when the content was actually still encrypted. Now the decryption
9516 status from before the paste is preserved.
9517
9518 (allout-flag-region): Set all allout overlays so they evaporate
9519 when reduced to zero length (evanescent), to prevent overlay
9520 leakage.
9521
887a0b34
GM
95222011-06-30 Glenn Morris <rgm@gnu.org>
9523
94b9acce
GM
9524 * w32-fns.el (w32-charset-info-alist): Declare.
9525
1d9b46d4
GM
9526 * find-dired.el (find-grep-options): Simplify.
9527
cc232200
GM
9528 * term/ns-win.el (ns-set-resource): Declare.
9529
28e77c46
GM
9530 * ses.el (row, col): Declare dynamic variables honestly.
9531
887a0b34
GM
9532 * textmodes/reftex-parse.el (index-tags): Declare.
9533
658d8eb8
CY
95342011-06-30 Chong Yidong <cyd@stupidchicken.com>
9535
9536 * cus-edit.el (customize-push-and-save): New function.
9537
9538 * files.el (hack-local-variables-confirm): Use it.
9539
1fa280a3
LM
9540 * custom.el (load-theme): New arg NO-CONFIRM.
9541 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9542 (custom-enabled-themes): Doc fix.
9543
9544 * cus-theme.el (customize-create-theme)
9545 (custom-theme-merge-theme): Callers to load-theme changed.
9546
bb617717
LMI
95472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9548
d61bdd5d
LMI
9549 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9550 short URLs have at least one dot in them (bug #7614).
9551
bb617717
LMI
9552 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9553 nil, because using a pty is apparently too slow (bug #895).
9554
2f31f37a
LMI
95552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9556
9557 * mail/sendmail.el (sendmail-query-once): New function.
9558 (sendmail-query-once-function): New variable.
9559
3076b24e
GM
95602011-06-29 Glenn Morris <rgm@gnu.org>
9561
faf2a174
GM
9562 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9563
3076b24e
GM
9564 * ses.el (top-level): Require cl when compiling.
9565 (ses-set-localvars): Fix error statement.
9566 Call it at compile time to silence a storm of warnings.
9567
5386012d
MR
95682011-06-29 Martin Rudalics <rudalics@gmx.at>
9569
9570 * window.el (normalize-live-buffer): Rename to
9571 window-normalize-buffer.
9572 (normalize-live-frame): Rename to window-normalize-frame.
9573 (normalize-any-window): Rename to window-normalize-any-window.
9574 (normalize-live-window): Rename to window-normalize-live-window.
9575 (make-window-atom): Rename to window-make-atom.
9576 (window-resize-reset): Rename to window--resize-reset.
9577 (window-resize-reset-1): Rename to window--resize-reset-1.
9578 (resize-mini-window): Rename to window--resize-mini-window.
9579 (resize-subwindows-skip-p): Rename to
9580 window--resize-subwindows-skip-p.
9581 (resize-subwindows-normal): Rename to
9582 window--resize-subwindows-normal.
9583 (resize-subwindows): Rename to window--resize-subwindows.
9584 (resize-other-windows): Rename to window--resize-siblings.
9585 (resize-this-window): Rename to window--resize-this-window.
9586 (resize-root-window): Rename to window--resize-root-window.
9587 (resize-root-window-vertically): Rename to
9588 window--resize-root-window-vertically.
9589 (normalize-buffer-to-display): Rename to
9590 window-normalize-buffer-to-display.
9591 (normalize-buffer-to-switch-to): Rename to
9592 window-normalize-buffer-to-switch-to.
9593 Correspondingly update all callers of the functions listed
9594 above.
9595 (display-buffer-alist, display-buffer-normalize-arguments)
9596 (display-buffer-normalize-options, display-buffer)
9597 (display-buffer-alist-set): Use "function" instead of
9598 "fun-with-args".
9599
1176868d
CY
96002011-06-28 Chong Yidong <cyd@stupidchicken.com>
9601
9602 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9603 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9604 debbugs.gnu.org. Mention acknowledgment email.
9605
20a7a65f
LMI
96062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607
9608 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9609 buffer multibyteness, since it shouldn't matter.
9610
5f45cca5
MR
96112011-06-28 Martin Rudalics <rudalics@gmx.at>
9612
9613 * window.el (display-buffer-in-side-window): Handle dedicated
9614 windows as in display-buffer-reuse-window.
9615 (display-buffer-normalize-alist): Use value of override
9616 specifier.
9617 (display-buffer-normalize-specifiers): Use value of
9618 other-window-means-other-frame specifier.
9619 (display-buffer-alist): Rewrite some texts in widgets.
9620 (display-buffer): Spread arguments when calling function
9621 specified by fun-with-args.
9622
ad85fe1f
DD
96232011-06-28 Deniz Dogan <deniz@dogan.se>
9624
1fa280a3
LM
9625 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9626 Unnest `let'.
da68c4c8 9627
ad85fe1f
DD
9628 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9629 selectors (Bug#5732).
ec49bd31 9630 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9631
a08cc025
JA
96322011-06-27 Jari Aalto <jari.aalto@cante.net>
9633
9634 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9635 (eshell-ls-date-format): New defcustom.
9636 (eshell-ls-file): Use it.
9637
e2b551c5
SM
96382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9641
8982b231
KY
96422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9643
9644 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9645 (ange-ftp-make-tmp-name): New arg.
9646 (ange-ftp-file-local-copy): Use it.
9647
36c9fa27
J
96482011-06-27 Jambunathan K <kjambunathan@gmail.com>
9649
9650 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9651 no-conversion (Bug#8870).
9652
d68443dc
MR
96532011-06-27 Martin Rudalics <rudalics@gmx.at>
9654
9655 * window.el (window-right, window-left, window-child)
9656 (window-child-count, window-last-child)
9657 (window-iso-combination-p, walk-window-tree-1)
9658 (window-atom-check-1, window-tree-1, delete-window)
9659 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9660 new naming conventions - window-vchild, window-hchild,
9661 window-next and window-prev are now called window-top-child,
9662 window-left-child, window-next-sibling and window-prev-sibling
9663 respectively.
d615d6d2
MR
9664 (resize-window-reset): Rename to window-resize-reset.
9665 (resize-window-reset-1): Rename to window-resize-reset-1.
9666 (resize-window): Rename to window-resize.
9667 (window-min-height, window-min-width)
9668 (resize-mini-window, resize-this-window, resize-root-window)
9669 (resize-root-window-vertically, adjust-window-trailing-edge)
9670 (enlarge-window, shrink-window, maximize-window)
9671 (minimize-window, delete-window, quit-restore-window)
9672 (split-window, balance-windows, balance-windows-area-adjust)
9673 (balance-windows-area, window-state-put-2)
9674 (display-buffer-even-window-sizes, display-buffer-set-height)
9675 (display-buffer-set-width, set-window-text-height)
9676 (fit-window-to-buffer): Rename all "resize-window" prefixed
9677 calls to use the "window-resize" prefix convention.
9678 (display-buffer-alist): Fix symbol for label specifier.
9679 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9680 corresponding specifier.
9681 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9682
b6458526
VB
96832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9684
9685 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9686 convention.
9687 (ses-call-printer): Does not pass an empty string to formatter when the
9688 cell is empty to keep from barking printer Calc math-format-value.
9689
d31fd9ac
RS
96902011-06-27 Richard Stallman <rms@gnu.org>
9691
43d5bf84
RS
9692 * battery.el (battery-mode-line-limit): New variable.
9693 (battery-update): Handle it.
9694
d31fd9ac
RS
9695 * mail/rmailmm.el (rmail-mime-process-multipart):
9696 Handle truncated messages.
9697
819a6054
GM
96982011-06-27 Glenn Morris <rgm@gnu.org>
9699
9700 * progmodes/flymake.el (flymake-err-line-patterns):
9701 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9702
cedc73f2
VB
97032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9704
819a6054 9705 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9706 (ses--clean-!, ses--clean-_): New functions.
9707 (ses-range): Add configurability of readout order, and conversion
9708 to Calc vector.
9709
5e5d49b6
VB
9710 * ses.el (ses-repair-cell-reference-all): New function.
9711 (ses-cell-symbol): Set macro as safe, so that it can be used in
9712 formulas.
9713
56e6cc31 9714 * ses.el: Update cycle detection algorithm.
90ca8b49 9715 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9716 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9717 (ses-set-localvars): New function.
9718 (ses-make-cell): Add property-list as a cell element.
9719 (ses-cell-property-get-fun, ses-cell-property-get)
9720 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9721 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9722 New functions.
90ca8b49
VB
9723 (ses-cell-property-set, ses-cell-property-pop)
9724 (ses-cell-property-get-handle): New macro.
9725 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9726 New aliases, used for code readability.
9727 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9728 cycle detection.
9729 (ses-self-reference-early-detection): New defcustom.
fac916bf 9730 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9731 (ses-mode): Use ses-set-localvars.
9732 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9733 before lauching the update processing.
9734 (ses-initialize-Dijkstra-attempt): New function.
9735 (ses-recalculate-cell): Update for cycle detection based on
9736 Dijkstra algorithm.
9737
2bb63e81
VB
9738 * ses.el: Fix commenting and indenting convention.
9739
c9d29fb8
SM
97402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * bs.el (bs-cycle-next): Complete last change.
9743
d8e4b68b
JB
97442011-06-27 Drew Adams <drew.adams@oracle.com>
9745
9746 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9747
40098786
LMI
97482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9749
c9d29fb8
SM
9750 * net/network-stream.el (network-stream-open-starttls):
9751 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9752 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9753
40098786
LMI
9754 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9755 to binary to possibly avoid line encoding issues on Windows (among
9756 other things).
9757
468d09d4
LMI
97582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9759
9760 * net/network-stream.el (open-network-stream): Return an :error
9761 saying what the problem was, if possible.
9762
9763 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9764 server.
9765
9766 * net/network-stream.el (network-stream-open-starttls): If we
9767 wanted to use STARTTLS, and the server offered it, but we weren't
9768 able to because we had no STARTTLS support, then close the connection.
9769 (open-network-stream): Return an :error element, if present.
9770
16f07dd7
CY
97712011-06-26 Chong Yidong <cyd@stupidchicken.com>
9772
88821ca0
CY
9773 * hl-line.el (hl-line-sticky-flag): Doc fix.
9774 (global-hl-line-sticky-flag): New option (Bug#8323).
9775 (global-hl-line-highlight): Obey it.
9776
16f07dd7
CY
9777 * vc/vc.el (vc-revert-show-diff): Default to t.
9778
6b5ccddf
KM
97792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9780
c9d29fb8
SM
9781 * allout-widgets.el (allout-widgets-post-command-business):
9782 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9783 undecorated when an isearch is continued past, and isearch
9784 automatically collapses them. This leads to "widget leaks", where
9785 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9786 hidden widgets can slow down cursor travel, substantially.
9787 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9788 so we're doing without this nicety.
9789
9790 (allout-widgets-tally-string): Don't try to do a hash-table-count
9791 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9792 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9793 *Messages* when allout-widgets-maintain-tally is t.
9794
355f2e07
MR
97952011-06-26 Martin Rudalics <rudalics@gmx.at>
9796
9797 * window.el (display-buffer-normalize-argument): Rename to
9798 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9799 LABEL argument. Respect special-display-function when popping up
9800 a new frame. Fix code searching for a window showing the buffer
9801 on another frame.
c9d29fb8
SM
9802 (display-buffer-normalize-specifiers):
9803 Call display-buffer-normalize-arguments.
355f2e07
MR
9804 (display-buffer-in-window): Don't undedicate the window if its
9805 buffer remains the same.
9806 Reported by Drew Adams <drew.adams@oracle.com>.
9807 (display-buffer-alist): Add choice for same-window macro
9808 specfier.
9809 (display-buffer): Mention special meaning of LABEL argument in
9810 doc-string. Fix quoting. Don't pop up a new frame even as
9811 fallback.
9812
7ca8fc42
JB
98132011-06-26 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9816 avoid deleting the current window in some cases (bug#8911).
9817
bc312254
AS
98182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9819
9820 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9821 (Bug#8934)
9822
2db18f3f
LMI
98232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9824
c9d29fb8
SM
9825 * net/network-stream.el (network-stream-open-starttls):
9826 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9827 (network-stream-open-tls): Ditto.
9828
6302e0d3
LL
98292011-06-26 Leo Liu <sdl.web@gmail.com>
9830
9831 * register.el (registerv): New struct.
9832 (registerv-make): New function.
c9d29fb8
SM
9833 (jump-to-register, describe-register-1, insert-register):
9834 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9835 struct. (Bug#8415)
9836
5fdd4046
CY
98372011-06-26 Chong Yidong <cyd@stupidchicken.com>
9838
2afef60a
CY
9839 * vc/vc.el (vc-revert-show-diff): New defcustom.
9840 (vc-diff-internal): New arg specifying diff buffer.
9841 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9842 reuse an existing *vc-diff* buffer (Bug#8927).
9843
5fdd4046
CY
9844 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9845
e93db24a
GM
98462011-06-26 Glenn Morris <rgm@gnu.org>
9847
9848 * progmodes/f90.el (f90-critical-indent): New option.
9849 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9850 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9851 (f90-mode): Doc fix.
9852 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9853 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9854 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9855 (f90-match-end): Handle block, critical.
9856
eefff499
GM
98572011-06-25 Glenn Morris <rgm@gnu.org>
9858
f6ba4cc9
GM
9859 * calendar/diary-lib.el (diary-included-files): Doc fix.
9860 (diary-include-files): New function, extracted from
9861 diary-include-other-diary-files and diary-mark-included-diary-files.
9862 (diary-include-other-diary-files, diary-mark-included-diary-files):
9863 Just call diary-include-files.
9864 (diary-mark-entries): Reset diary-included-files on first call.
9865
16712304
GM
9866 * calendar/diary-lib.el (diary-mark-entries)
9867 (diary-mark-included-diary-files):
9868 Visit included diary-files in temp buffers.
9869
5d8e0d43
GM
9870 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9871 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9872 (f90-start-block-re, f90-imenu-generic-expression)
9873 (f90-looking-at-program-block-start, f90-no-block-limit):
9874 Add support for submodules.
9875
ccf7a5d5
GM
9876 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9877 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9878
11fdef7d 98792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9880
9881 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9882 buffer-file-type before setting its value, to avoid disastrous
eefff499 9883 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9884
74f53697
JB
98852011-06-25 Juanma Barranquero <lekktu@gmail.com>
9886
9887 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9888
9889 * ses.el (ses-unload-function):
9890 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9891
9892 * proced.el (proced-unload-function):
9893 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9894
18a4ce5e
AR
98952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9896
9897 * server.el (server-create-window-system-frame): Add parameters arg.
9898 (server-process-filter): Doc fix. Handle frame-parameters.
9899
519d22cc
JB
99002011-06-25 Juanma Barranquero <lekktu@gmail.com>
9901
9902 Fix bug#8730, bug#8781.
9903
9904 * loadhist.el (unload--set-major-mode): New function.
9905 (unload-feature): Use it.
9906
9907 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9908 (python-unload-function): New function.
9909
c206f5b0
SM
99102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9913
f9ad64f3
GS
99142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9915
9916 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9917 the candidates list.
9918
7d0da90e
JB
99192011-06-24 Juanma Barranquero <lekktu@gmail.com>
9920
9921 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9922
14b4e83d
RS
99232011-06-23 Richard Stallman <rms@gnu.org>
9924
9925 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9926 (rmail-variables): Set next-error-move-function.
9927 (rmail-what-message): Take argument POS.
9928 (rmail-next-error-move): New function.
9929
273d2baf
SM
99302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9933 messages for adjacent non-terminals.
9934
56c2cc9a
RS
99352011-06-23 Richard Stallman <rms@gnu.org>
9936
9937 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9938 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9939 (rmail-start-mail): Don't specify use of rmail-mail-return;
9940 that's done by mail-bury now.
9941 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9942
d59eb518
MA
99432011-06-23 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9946 SIZE is a number.
9947
02cfc6d6
MR
99482011-06-23 Martin Rudalics <rudalics@gmx.at>
9949
9950 * window.el (get-lru-window, get-mru-window)
9951 (get-largest-window): Never return a minibuffer window.
9952 (display-buffer-pop-up-window): Fix a bug that could lead to
9953 reusing the minibuffer window.
9954 (display-buffer): Pass original specifier argument to
9955 display-buffer-function instead of the normalized one.
9956 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9957
4e323265
LL
99582011-06-22 Leo Liu <sdl.web@gmail.com>
9959
9960 * minibuffer.el (completing-read-function)
9961 (completing-read-default): Move from minibuf.c
9962
7a70468f
RS
99632011-06-22 Richard Stallman <rms@gnu.org>
9964
50718fc2
RS
9965 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9966 to Rmail even if not started by a special Rmail command.
9967
7a70468f
RS
9968 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9969 Copy the buffer currently showing just one message.
9970
297dde5a
RW
99712011-06-22 Roland Winkler <winkler@gnu.org>
9972
9973 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9974 (bibtex-clean-entry): First delete the old key so that a
9975 customized algorithm for generating the new key does not get
9976 confused by the old key.
9977 (bibtex-url): Obey regexp of first step.
9978 (bibtex-search-entries): Do not use add-to-list with local
9979 list-var.
9980
97bb1093
LMI
99812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9982
9983 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9984 stored a user name, then query for the password first, instead of
9985 waiting for SMTP to give an error message and the trying again.
9986
1c0f1a19
JD
99872011-06-22 Lawrence Mitchell <wence@gmx.li>
9988
9989 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9990 BUFFER in call-process.
9991
396f7c9d
LMI
99922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9993
9994 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9995 QUIT twice.
ddb7ffee
LMI
9996 (smtpmail-try-auth-methods): Require user name and password from
9997 auth-source.
396f7c9d 9998
8998d1b3
MR
99992011-06-22 Martin Rudalics <rudalics@gmx.at>
10000
10001 * window.el (display-buffer-default-specifiers)
10002 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10003 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10004 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10005
10006 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10007 (special-display-frame-alist, special-display-popup-frame):
10008 Remove duplicate declarations. These are now in window.el.
10009
4ea31e07
LMI
100102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10011
c9d29fb8
SM
10012 * mail/smtpmail.el (smtpmail-via-smtp):
10013 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10014 server supports it. SMTP servers that support STARTTLS commonly
10015 require it.
10016
10017 * net/network-stream.el (network-stream-open-starttls): Support
10018 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10019 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10020
95f41d9a
LMI
10021 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10022 upgrades with `open-network-stream', and rely solely on
10023 auth-source for all credentials. Big changes throughout the file,
10024 but in particular:
c9d29fb8
SM
10025 (smtpmail-auth-credentials): Remove.
10026 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10027 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10028 MAIL FROM, too.
95f41d9a 10029
c9d29fb8
SM
10030 * net/network-stream.el (network-stream-open-starttls):
10031 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10032 STARTTLS.
10033 (auth-source): Require.
10034 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10035 (network-stream-certificate): Change cert-cert to cert and
10036 cert-key to key.
4ea31e07 10037
065ec2c7
MA
100382011-06-21 Michael Albinus <michael.albinus@gmx.de>
10039
10040 * net/tramp-cache.el (top): Don't load the persistency file when
10041 "emacs -Q" has been called.
10042
cd93b359
DR
100432011-06-21 Tim Harper <timcharper@gmail.com>
10044
d8e4b68b
JB
10045 * term/ns-win.el (ns-initialize-window-system):
10046 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10047 resource to NO as it is not yet supported by the NS port.
10048
ae9c0411
JB
100492011-06-21 Juanma Barranquero <lekktu@gmail.com>
10050
10051 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10052 (list-dynamic-libraries): ...not here.
10053
7f3f739f
LL
100542011-06-21 Leo Liu <sdl.web@gmail.com>
10055
10056 * subr.el (sha1): Implement sha1 using secure-hash.
10057
327c8fb1
MR
100582011-06-21 Martin Rudalics <rudalics@gmx.at>
10059
10060 * window.el (display-buffer-alist): In default value do not
10061 enforce searching a window on any but the selected frame.
10062 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10063 (display-buffer-select-window): Remove function.
10064 (display-buffer-in-window): When a window on another frame gets
10065 reused, do not select it any more but just raise its frame if
10066 necessary (Bug#8851) and (Bug#8856).
10067 (display-buffer-normalize-options): Handle pop-up-frames related
10068 options more faithfully.
10069 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10070 window if it is on another frame.
c9d29fb8
SM
10071 (display-buffer-alist, display-buffer-default-specifiers):
10072 Don't make new frame unsplittable by default.
9e9de014
MR
10073 (display-buffer-normalize-argument): Fix doc-string typo and use
10074 'same-frame-other-window instead of 'other-window when associating
10075 with display-buffer-macro-specifiers.
327c8fb1 10076
7cf3f556
VB
100772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10078
10079 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10080 New functions.
10081 (5x5-mode-map, 5x5-mode-menu): Bind them.
10082 (5x5-draw-grid): Tweak the solver's rendering.
10083
60a406cf
SM
100842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10087 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10088
d8e4b68b 100892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10090
10091 * menu-bar.el: Use function variable instead of switch-to-buffer.
10092 (menu-bar-select-buffer-function): New variable.
60a406cf 10093 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10094
478d6f95
SM
100952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10098 variable's status.
10099
ca530739
JD
101002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10101
10102 * x-dnd.el (x-dnd-version-from-flags)
10103 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10104 and long as number (Bug#8899).
10105 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10106
bcd70d97
SM
101072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10108
60a406cf 10109 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10110 (completion-try-completion, completion-all-completions): Compute the
10111 metadata argument if it's missing; make it optional (bug#8795).
10112
60a406cf 10113 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10114 (widget-complete): Use new :completion-function property.
10115 (widget-completions-at-point): New function.
10116 (default): Use :completion-function instead of :complete.
60a406cf
SM
10117 (widget-default-completions): Rename from widget-default-complete;
10118 Rewrite.
bcd70d97
SM
10119 (widget-string-complete, widget-file-complete, widget-color-complete):
10120 Remove functions.
10121 (file, symbol, function, variable, coding-system, color):
10122 * international/mule-cmds.el (default-input-method, charset)
10123 (language-info-custom-alist):
10124 * cus-edit.el (face): Use new property :completions.
10125
10126 * progmodes/pascal.el (pascal-completions-at-point): New function.
10127 (pascal-mode): Use it.
10128 (pascal-mode-map): Use completion-at-point.
10129 (pascal-toggle-completions): Make obsolete.
10130 (pascal-complete-word, pascal-show-completions):
10131 * progmodes/octave-mod.el (octave-complete-symbol):
10132 Redefine as obsolete alias.
10133 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10134 Signal absence of completion info for old Octave,
10135 (inferior-octave-complete): Redefine as obsolete alias.
10136 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10137 (meta-completions-at-point): Rename from meta-complete-symbol and
10138 adapt it for use on completion-at-point-functions.
10139 (meta-common-mode): Use it.
10140 (meta-looking-at-backward, meta-match-buffer): Remove.
10141 (meta-complete-symbol): Redefine as obsolete alias.
10142 (meta-common-mode-map): Use completion-at-point.
10143 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10144 (makefile-mode-map): Use completion-at-point.
10145 (makefile-completions-at-point): Rename from makefile-complete and
10146 adapt it for use on completion-at-point-functions.
10147 (makefile-mode): Use it.
10148 (makefile-complete): Redefine as obsolete alias.
10149
aebf69c8
DD
101502011-06-20 Deniz Dogan <deniz@dogan.se>
10151
10152 * net/rcirc.el: Delete trailing whitespaces once and for all.
10153
bfbbb27d
DC
101542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10155
10156 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10157
d264a46b
CY
101582011-06-19 Chong Yidong <cyd@stupidchicken.com>
10159
4ca009e5
CY
10160 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10161
d264a46b
CY
10162 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10163
fbf5b3ce
MR
101642011-06-19 Martin Rudalics <rudalics@gmx.at>
10165
10166 * window.el (display-buffer-other-window-means-other-frame):
10167 Call display-buffer-normalize-alist.
10168 (display-buffer-normalize-specifiers-1): Rename to
10169 display-buffer-normalize-argument. New argument other-frame.
10170 Rewrite.
10171 (display-buffer-normalize-specifiers-2): Rename to
10172 display-buffer-normalize-options.
10173 (display-buffer-normalize-alist-1): New function.
10174 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10175 display-buffer-normalize-alist.
10176 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10177 (display-buffer-normalize-options-inhibit): New variable.
10178 (display-buffer-normalize-specifiers): Rewrite calling
10179 display-buffer-normalize-alist,
10180 display-buffer-normalize-argument, and
10181 display-buffer-normalize-options. Don't call the latter if
10182 display-buffer-normalize-options-inhibit is non-nil.
10183 (frame-auto-delete): New option.
10184 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10185 (window-list-no-nils, window-state-ignored-parameters)
10186 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10187 (window-state-put-1, window-state-put-2, window-state-put):
10188 New functions.
9a028c23
MR
10189 (display-buffer-normalize-options): Move special-display-p group
10190 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10191
6d10d800
CY
101922011-06-18 Chong Yidong <cyd@stupidchicken.com>
10193
6420d28b
CY
10194 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10195 groups (Bug#8776).
10196 (rx-submatch-n): New function.
10197 (rx): Document it.
10198
ddb8b596
CY
10199 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10200 (Bug#8768).
10201
10202 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10203
77080289
CY
10204 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10205
61dfb316
CY
10206 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10207 anytime existing face settings are present (Bug#8889).
10208
6d10d800
CY
10209 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10210 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10211 Remove unused argument.
10212
be3fb2b8
MR
102132011-06-18 Martin Rudalics <rudalics@gmx.at>
10214
bcd70d97
SM
10215 * window.el (display-buffer-default-specifiers):
10216 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10217 pop-up-window-min-width, and another reuse-window specifier
10218 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10219 (display-buffer-normalize-specifiers-2):
10220 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10221 pop-up-windows is unset. Add a reuse-window specifier for the
10222 case popping up a new window fails.
10223 (special-display-popup-frame): Remove double quoting.
28dec25a 10224 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10225
1c6d8c76
SM
102262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10229 according to comint-completion-addsuffix.
10230
10231 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10232 (pcomplete-suffix-list): Mark as obsolete.
10233 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10234 pcomplete-seen in the closure.
10235 (pcomplete-comint-setup): Setup completion-at-point as well.
10236 (pcomplete--entries): New function.
10237 (pcomplete--env-regexp): New var.
10238 (pcomplete-entries): Rewrite to work with partial-completion and
10239 without relying on pcomplete-suffix-list.
10240 (pcomplete-pare-list): Remove, unused.
10241
25aef8b8
MR
102422011-06-17 Martin Rudalics <rudalics@gmx.at>
10243
10244 * window.el (display-buffer-alist): Set pop-up-window-min-height
10245 and pop-up-window-min-width in default value. Reported by
10246 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10247 other-window-means-other-frame.
10248 (display-buffer-macro-specifiers): Comment out entry for
10249 other-window specifier.
10250 (display-buffer-other-window-means-other-frame): New function.
10251 (display-buffer-normalize-specifiers-1): New arguments
10252 buffer-name and label. Treat other-window case specially.
10253 (display-buffer-normalize-specifiers-2): Treat other-window case
10254 specially.
10255 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10256 (display-buffer-normalize-specifiers):
10257 Call display-buffer-normalize-specifiers-3.
25aef8b8 10258
dbad4f69
MR
102592011-06-17 Martin Rudalics <rudalics@gmx.at>
10260
10261 * window.el (same-window-p): Fix two typos introduced when
10262 adding with-no-warnings.
d1067961
MR
10263 (display-buffer-normalize-specifiers-1): Don't check
10264 pop-up-frames for 'unset initialization.
10265 (display-buffer-normalize-specifiers-2): Major rewrite using
10266 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10267 (pop-up-frames, display-buffer-reuse-frames)
10268 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10269 Suggested by David Engster <deng@randomsample.de>.
10270 (even-window-heights): Initialize to 'unset.
10271 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10272 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10273 other window case.
dbad4f69 10274
9b9c9e3a
MR
102752011-06-16 Martin Rudalics <rudalics@gmx.at>
10276
bcd70d97
SM
10277 * window.el (display-buffer-normalize-specifiers-1):
10278 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10279 second argument of display-buffer (Bug#8865).
981d5c09
MR
10280 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10281 (switch-to-buffer-other-window-same-frame)
10282 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10283 Adams (Bug#8875).
9c2755e9
MR
10284 (display-buffer): Don't check noninteractive when calling
10285 display-buffer-pop-up-frame.
10286 (display-buffer-pop-up-frame): Never pop up a frame in
10287 noninteractive mode (Bug#8857).
67222e1d
MR
10288 (enlarge-window, shrink-window): Don't report an error when the
10289 window can't be resized as requested (Bug#8862).
9b9c9e3a 10290
2b75be67
SM
102912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10292
9ffdd3ba
SM
10293 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10294
cb581a67
SM
10295 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10296
2b75be67
SM
10297 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10298
8c0e3589
AM
102992011-06-15 Alan Mackenzie <acm@muc.de>
10300
cb581a67
SM
10301 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10302 for declarators, disable knr checking to speed up for normal files.
10303 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10304
b96e6cde
LMI
103052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10306
4bba86e6
LMI
10307 * net/network-stream.el (open-network-stream): Add the keyword
10308 :always-query-capabilities for the case where you want to force a
10309 `plain' network connection, but the protocol still requires the
10310 capabilitiy command (i.e., SMTP and EHLO).
10311
2b75be67 10312 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10313 consistency with other `-live-p' functions.
10314
efdcdbf8
SM
103152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * window.el (same-window-buffer-names, same-window-regexps)
10318 (special-display-frame-alist, special-display-popup-frame)
10319 (special-display-function, special-display-buffer-names)
10320 (special-display-regexps, pop-up-frame-alist)
10321 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10322 (pop-up-windows, split-window-preferred-function)
10323 (split-height-threshold, split-width-threshold, even-window-heights)
10324 (display-buffer-mark-dedicated): Don't encourage the use of
10325 display-buffer-alist from Elisp code.
10326
c5cde042
DN
103272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10328
10329 * progmodes/python.el (python-mode): Derive from prog-mode.
10330 * progmodes/ps-mode.el (ps-mode):
10331 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10332 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10333 * progmodes/ld-script.el (ld-script-mode): Likewise.
10334
baa1c9ab
MR
103352011-06-15 Martin Rudalics <rudalics@gmx.at>
10336
10337 * window.el (display-buffer-alist): Trim default value to avoid
10338 popping up a new frame (Bug#8857) or reusing an arbitrary window
10339 on another frame.
10340 (display-buffer): Do not fall back on popping up a new frame in
10341 batch mode (Bug#8857).
10342
c5dd5a51
CY
103432011-06-14 Chong Yidong <cyd@stupidchicken.com>
10344
10345 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10346 (custom-theme-summary): New function.
10347 (customize-themes): Use it.
10348
d647b7c4
GM
103492011-06-13 Glenn Morris <rgm@gnu.org>
10350
10351 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10352
9481c002
MR
103532011-06-13 Martin Rudalics <rudalics@gmx.at>
10354
357f93d2
MR
10355 * help.el (help-window): Remove variable.
10356 (help-window-point-marker, temp-buffer-max-height)
10357 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10358 (help-print-return-message): Don't set help-window.
10359 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10360 (help-window-setup-finish): Remove.
10361 (help-window-display-message, help-window-setup)
10362 (with-help-window): Major rewrite based on new
10363 display-buffer-window variable.
10364
10365 * help-mode.el (help-mode-finish): Remove help-window related
10366 code.
10367
10368 * view.el (view-exits-all-viewing-windows): Remove reference to
10369 view-return-to-alist in doc-string.
10370 (view-return-to-alist): Make obsolete.
10371 (view-buffer): Call pop-to-buffer-same-window and remove
10372 undo-window code.
10373 (view-buffer-other-window): Call pop-to-buffer-other-window and
10374 simplify code. Ignore second argument.
10375 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10376 simplify code. Ignore second argument.
10377 (view-return-to-alist-update): Make obsolete.
10378 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10379 Rewrite using quit-restore window parameters.
2b75be67
SM
10380 (view-mode-exit): Rename second argument to EXIT-ONLY.
10381 Rewrite using quit-restore-window.
357f93d2
MR
10382 (View-exit, View-exit-and-edit, View-leave, View-quit)
10383 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10384 appropriate arguments.
10385 (view-end-message): Use quit-restore window parameter.
10386
9481c002
MR
10387 * window.el (display-buffer-function): Rewrite doc-string.
10388 (display-buffer-window, display-buffer-alist): New variables.
10389 (display-buffer-split-specifiers)
10390 (display-buffer-side-specifiers)
10391 (display-buffer-macro-specifiers): New constants.
10392 (display-buffer-even-window-sizes, display-buffer-set-height)
10393 (display-buffer-set-width, display-buffer-select-window)
10394 (display-buffer-in-window, display-buffer-reuse-window)
10395 (display-buffer-split-window-1, display-buffer-split-window)
10396 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10397 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10398 (display-buffer-in-side-window, normalize-buffer-to-display)
10399 (display-buffer-normalize-specifiers-1)
10400 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10401 (display-buffer-normalize-specifiers, display-buffer-frame):
10402 New functions.
9481c002
MR
10403 (display-buffer): Major rewrite.
10404 (display-buffer-other-window, display-buffer-other-frame)
10405 (pop-to-buffer, switch-to-buffer-other-window)
10406 (switch-to-buffer-other-frame): Rewrite.
10407 (display-buffer-same-window, display-buffer-same-frame)
10408 (display-buffer-same-frame-other-window)
10409 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10410 (pop-to-buffer-other-window)
10411 (pop-to-buffer-same-frame-other-window)
10412 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10413 (switch-to-buffer-other-window-same-frame): New functions.
10414 (same-window-p, special-display-p): Rewrite disabling warnings.
10415 Make obsolete.
10416 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10417 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10418 Make obsolete
10419 (same-window-buffer-names, same-window-regexps)
10420 (special-display-frame-alist, special-display-popup-frame)
10421 (special-display-function, special-display-buffer-names)
10422 (special-display-regexps, pop-up-frame-alist)
10423 (pop-up-frame-function, split-window-preferred-function)
10424 (split-height-threshold, split-width-threshold)
10425 (even-window-heights): Make obsolete.
10426
9db51aca
GM
104272011-06-12 Glenn Morris <rgm@gnu.org>
10428
10429 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10430 Misc simplifications.
9db51aca 10431
39cffb44
MR
104322011-06-12 Martin Rudalics <rudalics@gmx.at>
10433
10434 * window.el (window-safely-shrinkable-p): Restore function which
10435 was inadvertently removed in change from 2011-06-11. Declare as
10436 obsolete.
10437
2b75be67
SM
10438 * calendar/calendar.el (calendar-generate-window):
10439 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10440 window-safely-shrinkable-p.
10441
a8955be7
GM
104422011-06-12 Glenn Morris <rgm@gnu.org>
10443
10444 * progmodes/fortran.el (fortran-mode-syntax-table):
10445 * progmodes/f90.el (f90-mode-syntax-table):
10446 Set % to punctuation. (Bug#8820)
10447 (f90-find-tag-default): Remove, no longer needed.
10448
f0d4059d
DC
104492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10450
10451 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10452
1100a63c
CY
104532011-06-11 Chong Yidong <cyd@stupidchicken.com>
10454
10455 * image.el (image-animated-p): Return animation delay in seconds.
10456 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10457 (image-animate-timeout): Remove DELAY argument. Don't assume
10458 every subimage has the same delay; get it from image-animated-p.
10459 (image-animate): Caller changed.
10460
def722bf
MA
104612011-06-11 Michael Albinus <michael.albinus@gmx.de>
10462
10463 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10464 to ignored backtrace functions.
10465
0a2bb1a9
GM
104662011-06-11 Glenn Morris <rgm@gnu.org>
10467
10468 * calendar/appt.el (appt-disp-window-function): Doc fix.
10469 (appt-check): Handle overlapping appointments. (Bug#8337)
10470
6198ccd0
MR
104712011-06-11 Martin Rudalics <rudalics@gmx.at>
10472
10473 * window.el (window-tree-1, window-tree): New functions, moving
10474 the latter to window.el.
10475 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10476 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10477 (bw-refresh-edges): Remove.
10478 (balance-windows-1, balance-windows-2): New functions.
10479 (balance-windows): Rewrite in terms of window tree functions,
10480 balance-windows-1 and balance-windows-2.
10481 (bw-adjust-window): Remove.
10482 (balance-windows-area-adjust): New function with functionality of
10483 bw-adjust-window but using resize-window.
2b75be67
SM
10484 (set-window-text-height): Rewrite doc-string.
10485 Use normalize-live-window and resize-window.
10486 (enlarge-window-horizontally, shrink-window-horizontally):
10487 Rename argument to DELTA.
6198ccd0
MR
10488 (window-buffer-height): New function.
10489 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10490 Rewrite using new window resize routines.
2b75be67
SM
10491 (kill-buffer-and-window, mouse-autoselect-window-select):
10492 Use ignore-errors instead of condition-case.
6198ccd0
MR
10493 (quit-window): Call delete-frame instead of delete-windows-on
10494 for the only buffer on frame.
10495
9397e56f
MR
104962011-06-10 Martin Rudalics <rudalics@gmx.at>
10497
10498 * loadup.el (top-level): Load window before files for the sake
10499 of replace-buffer-in-windows.
10500
10501 * files.el (read-buffer-to-switch)
10502 (switch-to-buffer-other-window)
2b75be67
SM
10503 (switch-to-buffer-other-frame, display-buffer-other-frame):
10504 Move to window.el.
9397e56f
MR
10505
10506 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10507 (previous-buffer): Move to window.el.
10508
10509 * bindings.el (unbury-buffer): Move to window.el.
10510
10511 * window.el (delete-other-windows-vertically): Move after
10512 definition of delete-other-windows.
10513 (other-window, delete-windows-on, replace-buffer-in-windows):
10514 Move here from window.c.
10515 (record-window-buffer, unrecord-window-buffer)
10516 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10517 (switch-to-next-buffer): New functions.
10518 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10519 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10520 (previous-buffer): Move here from simple.el.
10521 Call switch-to-prev-buffer.
9397e56f
MR
10522 (bury-buffer): Move here from buffer.c. Switch to previous
10523 buffer when window cannot be deleted.
10524 (unbury-buffer): Move here from bindings.el.
10525 (ctl-x-map): Move binding for other-window from window.c to
10526 here.
10527 (read-buffer-to-switch, switch-to-buffer-other-window)
10528 (switch-to-buffer-other-frame): Move here from files.el.
10529 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10530 (switch-to-buffer): Move here from buffer.c.
10531 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10532
562dd5e9
MR
105332011-06-10 Martin Rudalics <rudalics@gmx.at>
10534
10535 * window.el (window-min-height, window-min-width): Move here
10536 from window.c. Add defcustoms and rewrite doc-strings.
10537 (resize-mini-window, resize-window): New functions.
10538 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10539 Move here from window.c.
10540 (maximize-window, minimize-window): New functions.
10541 (delete-window, delete-other-windows, split-window): Move here
10542 from window.c.
10543 (window-split-min-size): New function.
10544 (split-window-keep-point): Mention split-window-above-each-other
10545 instead of split-window-vertically.
2b75be67 10546 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10547 Rename split-window-vertically to split-window-above-each-other
10548 and provide defalias for old definition.
10549 (split-window-side-by-side, split-window-horizontally):
10550 Rename split-window-horizontally to split-window-side-by-side
10551 and provide defalias for the old definition.
562dd5e9
MR
10552 (ctl-x-map): Move bindings for delete-window,
10553 delete-other-windows and enlarge-window here from window.c.
10554 Replace bindings for split-window-vertically and
10555 split-window-horizontally by bindings for
10556 split-window-above-each-other and split-window-side-by-side.
10557
10558 * cus-start.el (all): Remove entries for window-min-height and
10559 window-min-width. Add entries for window-splits and
10560 window-nest.
10561
f0da764a
GM
105622011-06-09 Glenn Morris <rgm@gnu.org>
10563
80675c21
GM
10564 * calendar/appt.el (appt-mode-line): New function.
10565 (appt-check, appt-disp-window): Use it.
10566
f0da764a
GM
10567 * files.el (hack-one-local-variable-eval-safep):
10568 Allow minor-modes with explicit +/-1 arguments.
10569
59f623b7
TZ
105702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10571
10572 * term/xterm.el (xterm): Add defgroup.
10573 (xterm-extra-capabilities): Add defcustom to supply known xterm
10574 capabilities, skip querying them, or query them (default).
10575 (terminal-init-xterm): Use it.
10576 (terminal-init-xterm-modify-other-keys): New function to set up
10577 modifyOtherKeys support to simplify `terminal-init-xterm'.
10578
9aab8e0d
MR
105792011-06-09 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (resize-window-reset, resize-window-reset-1)
10582 (resize-subwindows-skip-p, resize-subwindows-normal)
10583 (resize-subwindows, resize-other-windows, resize-this-window)
10584 (resize-root-window, resize-root-window-vertically)
10585 (window-deletable-p, window-or-subwindow-p)
10586 (frame-root-window-p): New functions.
10587
e8b08aee
GM
105882011-06-09 Glenn Morris <rgm@gnu.org>
10589
10590 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10591 (ange-ftp-get-files): Use it.
10592
254c37a5
AK
105932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10594
10595 * mail/sendmail.el (mail-recover-1, mail-recover):
10596 * files.el (recover-file, recover-session):
10597 Handle dired-listing-switches not being just a single short option.
10598
35d7dbd3
GM
105992011-06-09 Glenn Morris <rgm@gnu.org>
10600
10601 * calendar/appt.el (appt-display-message, appt-disp-window):
10602 Handle lists of appointments.
10603
387522b2
MR
106042011-06-08 Martin Rudalics <rudalics@gmx.at>
10605
2b75be67
SM
10606 * window.el (one-window-p): Move down in code.
10607 Rewrite doc-string.
10608 (window-current-scroll-bars): Rewrite doc-string.
10609 Normalize live window argument.
387522b2
MR
10610 (walk-windows, get-window-with-predicate, count-windows):
10611 Rewrite doc-string. Use window-list-1.
10612 (window-in-direction-2, window-in-direction, get-mru-window):
10613 New functions.
10614
d8e4b68b 106152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10616
10617 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10618 Doc fix (Bug#8713).
10619
106202011-06-08 Chong Yidong <cyd@stupidchicken.com>
10621
10622 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10623
106242011-06-08 Juanma Barranquero <lekktu@gmail.com>
10625
10626 * loadhist.el (unload-feature-special-hooks):
10627 Add `comint-output-filter-functions'.
10628
0de12c52
IK
106292011-06-08 Ivan Kanis <gnu@kanis.fr>
10630
10631 * calendar/appt.el (appt-check): Move some initializations into the let.
10632
f3d1777e
MR
106332011-06-08 Martin Rudalics <rudalics@gmx.at>
10634
10635 * window.el (window-height): Defalias to window-total-height.
10636 (window-width): Defalias to window-body-width.
10637
18af70d0
CY
106382011-06-07 Chong Yidong <cyd@stupidchicken.com>
10639
10640 * image-mode.el (image-toggle-animation): New command.
10641 (image-mode-map): Bind it to RET.
10642 (image-mode): Update message.
10643 (image-toggle-display-image): Avoid a spurious cache flush.
10644 (image-transform-rotation): Doc fix.
10645 (image-transform-properties): Return quickly in the normal case.
10646 (image-animate-loop): Rename from image-animate-max-time.
10647
2b75be67 10648 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10649 (create-animated-image): Remove unnecessary function.
10650 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10651 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10652 (image-animate-timer): Use car-safe.
10653 (image-animate-timeout): Rename argument.
10654
190b47e6
MR
106552011-06-07 Martin Rudalics <rudalics@gmx.at>
10656
10657 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10658 window.c. Rename first argument to ALL-FRAMES.
10659 Rephrase doc-strings.
10660 (get-buffer-window-list): Rewrite using window-list-1.
10661 Rephrase doc-string.
a1511caf
MR
10662 (window-safe-min-height, window-safe-min-width): New constants.
10663 (window-size-ignore, window-min-size, window-min-size-1)
10664 (window-sizable, window-sizable-p, window-size-fixed-1)
10665 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10666 (window-max-delta-1, window-max-delta, window-resizable)
10667 (window-resizable-p, window-total-height, window-total-width)
10668 (window-body-width): New functions.
10669 (window-full-height-p, window-full-width-p): Rewrite using
10670 window-total-size.
10671 (window-body-height): Rewrite using window-body-size.
190b47e6 10672
85cc1f11
MR
106732011-06-06 Martin Rudalics <rudalics@gmx.at>
10674
10675 * window.el (window-right, window-left, window-child)
10676 (window-child-count, window-last-child, window-any-p)
10677 (normalize-live-buffer, normalize-live-frame)
10678 (normalize-any-window, normalize-live-window)
10679 (window-iso-combination-p, window-iso-combined-p)
10680 (window-iso-combinations)
10681 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10682 (windows-with-parameter, window-with-parameter)
10683 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10684 (window-atom-check, window-side-check, window-check):
10685 New functions.
85cc1f11
MR
10686 (ignore-window-parameters, window-sides, window-sides-vertical)
10687 (window-sides-slots): New variables.
10688 (window-size-fixed): Move down in code. Minor doc-string fix.
10689
e7156492
AS
106902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * comint.el (comint-dynamic-complete-as-filename)
10693 (comint-dynamic-complete-filename): Correctly call
10694 completion-in-region.
10695
7e821d0d
DD
106962011-06-05 Deniz Dogan <deniz@dogan.se>
10697
10698 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10699 in last change.
10700
ac09b8a1
DD
107012011-06-05 Deniz Dogan <deniz@dogan.se>
10702
10703 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10704 (rcirc): Use it to prompt for encryption.
10705
34699b85
RW
107062011-06-05 Roland Winkler <winkler@gnu.org>
10707
10708 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10709 (bibtex-search-entries): New command bound to C-c C-a.
10710 (bibtex-display-entries): New function.
10711
004dedd3
RW
107122011-06-05 Roland Winkler <winkler@gnu.org>
10713
10714 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10715 (bibtex-insert-kill): After yanking insert newline if necessary.
10716 (bibtex-initialize): Call bibtex-string-files-init only once.
10717 (bibtex-mode): Do not call easy-menu-add.
10718 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10719 (bibtex-yank): Set arg properly if nil.
10720
022fe7ce
RW
107212011-06-05 Roland Winkler <winkler@gnu.org>
10722
2b75be67
SM
10723 * textmodes/bibtex.el (bibtex-search-entry-globally):
10724 New variable.
022fe7ce
RW
10725 (bibtex-search-entry): Use it.
10726
b7c3692a
RW
107272011-06-05 Roland Winkler <winkler@gnu.org>
10728
10729 * textmodes/bibtex.el (bibtex-entry-format): New option
10730 sort-fields.
10731 (bibtex-format-entry, bibtex-reformat): Honor this option.
10732 (bibtex-parse-entry): Return fields in proper order.
10733
8eda563d
JB
107342011-06-05 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * doc-view.el (doc-view-remove-if): Move computation of result out
10737 of `dolist' to silence misleading lexical-binding warning.
10738
7dbe3dbc
CY
107392011-06-04 Chong Yidong <cyd@stupidchicken.com>
10740
10741 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10742 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10743
0c33dd17
MA
107442011-06-04 Michael Albinus <michael.albinus@gmx.de>
10745
10746 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10747 "SunOS 5.10".
10748
f8f91c2b
MA
107492011-06-04 Michael Albinus <michael.albinus@gmx.de>
10750
10751 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10752 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10753 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10754 (tramp-parse-putty):
10755 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10756 (tramp-completion-function-alist-ssh)
10757 (tramp-completion-function-alist-telnet)
10758 (tramp-completion-function-alist-su)
10759 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10760 cookie.
10761
10762 * net/tramp-ftp.el:
10763 * net/tramp-sh.el:
10764 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10765 load "tramp.el" `tramp-set-completion-function'.
10766
e17d9003
SM
107672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * shell.el: Require and use pcomplete.
10770 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10771 (shell-completion-vars): Set pcomplete-default-completion-function.
10772
6c4cab03
DD
107732011-06-04 Deniz Dogan <deniz@dogan.se>
10774
10775 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10776 `memq' (Bug#8799).
10777
ea9fafe0
SM
107782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10781
b3e945d3
JB
107822011-06-02 Juanma Barranquero <lekktu@gmail.com>
10783
10784 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10785 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10786 * vc/log-view.el (log-view-beginning-of-defun):
10787 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10788 (smerge-refine-forward, smerge-refine-chopup-region):
10789 Silence warning for unused `dotimes' counter variables.
10790
7d520089
SM
107912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * net/tramp.el (tramp-with-progress-reporter): Rename from
10794 with-progress-reporter. Use `declare'.
10795 * net/tramp-smb.el:
10796 * net/tramp-sh.el:
10797 * net/tramp-gvfs.el: Update all uses.
10798
a1c2400f
JB
107992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10800
10801 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10802 buffer isn't killed before making it current.
10803
2403c841
SM
108042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 Silence various byte-compiler warnings.
10807 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10808 `access-type' and new obsolescence format.
10809 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10810 new format.
10811 (byte-compile-check-variable): New `access-type' argument.
10812 Only warn if the access-type is obsolete.
10813 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10814 (byte-compile-variable-set): Adjust callers.
10815 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10816 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10817 setting it as obsolete.
10818 * simple.el (minibuffer-completing-symbol):
10819 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10820 access as obsolete.
10821 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10822 obsolete yet.
10823 * international/quail.el (quail-mouse-choose-completion): Remove unused
10824 code referring to obsolete var.
10825 (quail-choose-completion-string): Remove.
10826 * server.el (server-clients-with, server-kill-buffer-query-function)
10827 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10828 * proced.el (proced-send-signal):
10829 * emacs-lisp/lisp.el (lisp-complete-symbol):
10830 Replace completion-annotate-function with completion-extra-properties.
10831
2462470b
SM
108322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10833
fb5b2591
SM
10834 * simple.el (goto-line): Use read-number.
10835 (overriding-map-is-bound): Remove.
10836 (saved-overriding-map): Change default.
10837 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10838 Take the map as argument.
10839 (universal-argument, negative-argument, digit-argument): Use it.
10840 (restore-overriding-map): Adjust.
10841 (do-auto-fill): Use fill-forward-paragraph.
10842 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10843
fd6fa53f
SM
10844 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10845 (minibuffer-inactive-mode): New major mode.
10846 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10847 the *Messages* buffer" hack.
10848 (mouse-popup-menubar): Don't burp if the event is a normal key.
10849
2462470b
SM
10850 Miscellaneous tweaks.
10851 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10852 lexical scoping as in subr.el's dolist and dotimes.
10853 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10854 Silence compiler warning.
10855 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10856 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10857 * international/ccl.el (ccl-compile): Trivial simplification.
10858 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10859 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10860 `printflag' argument.
10861 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10862 Purecopy the whole obsolescence data.
10863
108bf785
LL
108642011-06-01 Leo Liu <sdl.web@gmail.com>
10865
10866 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10867 improve doc-string as suggested by Marco Pessotto
10868 <melmothx@gmail.com>.
10869 (rcirc-print): Fix last change.
10870
30a23501
SM
108712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 * minibuffer.el (complete-with-action): Return nil for the metadata and
10874 boundaries of non-functional tables.
10875 (completion-table-dynamic): Return nil for the metadata.
10876 (completion-table-with-terminator): Add default case, using
10877 complete-with-action.
10878 (completion--metadata): New function.
10879 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10880 to try and avoid pathological performance problems.
10881 (completion--embedded-envvar-table): Return `category' metadata.
10882
bcd54f83
LMI
108832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884
10885 * subr.el (process-alive-p): New tiny convenience function.
10886
e227544d
SM
108872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10890 content but also its previous major mode.
10891
e8296fdc
HE
108922011-05-31 Helmut Eller <eller.helmut@gmail.com>
10893
4d61f28d 10894 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10895 *Backtrace* buffer when we exit with C-M-c.
10896
620c53a6
SM
108972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * minibuffer.el: Add metadata method to completion tables.
10900 (completion-category-overrides): New defcustom.
10901 (completion-metadata, completion--field-metadata)
10902 (completion-metadata-get, completion--styles)
10903 (completion--cycle-threshold): New functions.
10904 (completion-try-completion, completion-all-completions):
10905 Add `metadata' argument to choose completion-styles.
10906 (completion--do-completion): Use metadata to choose cycling.
10907 (completion-all-sorted-completions): Use metadata for sorting.
10908 Remove :completion-cycle-penalty which is not needed any more.
10909 (completion--try-word-completion): Add `metadata' argument.
10910 (minibuffer-completion-help): Check metadata for annotation function
10911 and sorting.
10912 (completion-file-name-table): Return `category' metadata.
10913 (minibuffer-completing-file-name): Make obsolete.
10914 * simple.el (minibuffer-completing-symbol): Make obsolete.
10915 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10916 completion-try-completion.
10917
1257e755
SM
109182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10921
3767e706
LL
109222011-05-30 Leo Liu <sdl.web@gmail.com>
10923
10924 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10925 (rcirc-print): Decode all incoming messages (bug#8744).
10926 (rcirc-decode-coding-system): Allow value nil for automatic coding
10927 system detection.
3767e706 10928
d1a5d56a
GM
109292011-06-01 Glenn Morris <rgm@gnu.org>
10930
10931 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10932
e8cbec34
CY
109332011-05-29 Chong Yidong <cyd@stupidchicken.com>
10934
10935 * image.el (image-animate-max-time): Allow nil and t values.
10936 Default to nil.
10937 (create-animated-image): Doc fix.
10938 (image-animate-start): Remove second arg; just use
10939 image-animate-max-time.
10940 (image-animate-timeout): Doc fix. Args changed.
10941
10942 * image-mode.el (image-toggle-display-image): Ensure that the
10943 image spec passed to the animate timer is the same object as in
58179cce 10944 the buffer's display property (Bug#6981).
e8cbec34
CY
10945 (image-transform-properties): Doc fix.
10946
10947 * image.el (image-animate-max-time): Default to nil.
10948
159daf87
MR
109492011-05-29 Martin Rudalics <rudalics@gmx.at>
10950
10951 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10952 entire buffer list (Bug#8184).
10953
d66c4c7c
CY
109542011-05-29 Chong Yidong <cyd@stupidchicken.com>
10955
10956 * image.el (imagemagick-types-inhibit)
10957 (imagemagick-register-types): Doc fix.
10958
80aec780
DD
109592011-05-29 Deniz Dogan <deniz@dogan.se>
10960
10961 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10962 default.
10963
1dd3c2d9
CY
109642011-05-29 Chong Yidong <cyd@stupidchicken.com>
10965
10966 * select.el: Don't perform clipboard-manager saving in hooks;
10967 leave the hooks empty.
10968
60e56523
LL
109692011-05-28 Leo Liu <sdl.web@gmail.com>
10970
10971 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10972 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10973 (occur-edit-mode): New major mode (Bug#8463).
10974 (occur-after-change-function): New function.
10975 (occur-engine): Give Occur tags a read-only property.
10976
2b1e1a22
KR
109772011-05-28 Kevin Ryde <user42@zip.com.au>
10978
10979 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10980
5d344e88
CY
109812011-05-28 Chong Yidong <cyd@stupidchicken.com>
10982
8e6ca83d
CY
10983 * bindings.el (help-echo): Make the initial non-indicator dash
10984 empty on graphical terminals (Bug#7295).
10985
5d344e88
CY
10986 * files.el (auto-mode-alist): Move config rule after the
10987 in-stripping one (Bug#8547).
10988
bfbbace7
CY
10989 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10990
fbeba6e2
CY
10991 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10992 setting (Bug#8740).
10993
60ed8c72
AA
109942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10995
4ac619f0
AA
10996 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10997 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10998 (Bug#8539).
60ed8c72 10999
23db196e
CY
110002011-05-28 Chong Yidong <cyd@stupidchicken.com>
11001
11002 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11003
5012f24c
DK
110042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11005
11006 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11007 (hs-hide-block-at-point, hs-find-block-beginning)
11008 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11009 (Bug#8279).
11010
6a639b16
GM
110112011-05-28 Glenn Morris <rgm@gnu.org>
11012
11013 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11014
d43eaf2c
CY
110152011-05-28 Chong Yidong <cyd@stupidchicken.com>
11016
5199bde1
CY
11017 * help-fns.el (describe-function-1): If the function is a derived
11018 major mode, print the parent mode.
11019
d43eaf2c
CY
11020 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11021 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11022
423428a8
SM
110232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11024
0ff8e1ba 11025 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11026 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11027 * progmodes/etags.el (tags-completion-at-point-function):
11028 * info-look.el (info-lookup-completions-at-point): Mark as
11029 non-exclusive.
11030 (info-complete): Adjust accordingly.
11031
423428a8
SM
11032 * info-look.el: Convert to lexical-binding and completion-at-point.
11033 (info-lookup-completions-at-point): New function.
11034 (info-complete): Use it and completion-in-region.
11035
b74aa22b
DA
110362011-05-28 Drew Adams <drew.adams@oracle.com>
11037
11038 * isearch.el: Let M-e start with point at the first mismatched char.
11039 (isearch-fail-pos): New function.
11040 (isearch-edit-string): Use it.
11041
66e2e71d
DK
110422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11043
11044 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11045
b1890b0f 110462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11047
11048 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11049 traversal functions for avl-trees.
11050 (avl-tree--stack): New struct.
11051 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11052 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11053 (avl-tree--do-enter): Add optional `updatefun' arg.
11054 Change return value.
eb95d01d 11055 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11056 (avl-tree--do-delete): Add `test' and `nilflag' args.
11057 Change return value.
eb95d01d
TC
11058 (avl-tree-member): Add optional `nilflag'
11059 (avl-tree-member-p): New function.
11060 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11061 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11062 (avl-tree-stack-empty-p): New functions.
11063
3769ddcf
TC
11064 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11065 avl-tree--del-balance1 and make it work both ways.
11066 (avl-tree--del-balance2): Remove.
11067 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11068 make it work both ways.
11069 (avl-tree--enter-balance2): Remove.
11070 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11071 New macros.
11072 (avl-tree--mapc, avl-tree-map): Add direction argument.
11073
eb95d01d 110742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11075
11076 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11077
a9f737ee
CY
110782011-05-27 Chong Yidong <cyd@stupidchicken.com>
11079
11080 * select.el: Support clipboard managers with built-in function
11081 x-clipboard-manager-save, via delete-frame-functions and
11082 kill-emacs-hook.
11083 (xselect-convert-to-targets): Add MULTIPLE target to list.
11084 (xselect-convert-to-save-targets): New function.
11085
c92a1e54
KH
110862011-05-27 Kenichi Handa <handa@m17n.org>
11087
11088 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11089 let-binding rfc2047-encode-encoded-words to nil.
11090
e145f188
GM
110912011-05-27 Glenn Morris <rgm@gnu.org>
11092
5ec8a862
GM
11093 * mail/emacsbug.el: Don't require url-util.
11094
4b29d9fb
GM
11095 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11096
e145f188
GM
11097 * files.el (set-auto-mode):
11098 Also respect mode: entries at the end of the file. (Bug#8586)
11099
7d15102b
GM
111002011-05-26 Glenn Morris <rgm@gnu.org>
11101
98f593b8
GM
11102 * files.el (hack-local-variables-prop-line, hack-local-variables):
11103 Downcase mode names, as seems to be traditional.
27b48e63 11104 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11105
7d15102b
GM
11106 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11107 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11108
51d5b4ec
JD
111092011-05-25 Julien Danjou <julien@danjou.info>
11110
11111 * textmodes/rst.el (rst-define-level-faces): Do not define face
11112 symbol if it is already defined.
11113
91513f63
VB
111142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11115
11116 * play/5x5.el (5x5-new-game, 5x5-randomize):
11117 Reset 5x5-solver-output to nil when a new grid is cast.
11118 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11119 these debugging traces, as defmacro breaks the compiled code.
11120
4d90d6d0
DK
111212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11122
11123 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11124
e1b90ef6
LL
111252011-05-24 Leo Liu <sdl.web@gmail.com>
11126
11127 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11128 (vc-bzr-sha1): Adapt.
11129
d8e4b68b 11130 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11131
11132 * bindings.el: Provide sha1 feature.
11133
db0406bb 111342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11135
11136 * mail/sendmail.el: Require `rfc2047'.
11137 (mail-insert-from-field): Do not perform RFC2047 encoding.
11138 (mail-encode-header): New function.
11139 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11140 buffer to the return value of select-message-coding-system.
11141 Call mail-encode-header.
b8d747b9
KH
11142
11143 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11144
db0406bb 111452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11146
4d90d6d0
DK
11147 * mail/supercite.el (sc-default-cite-frame):
11148 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11149
eb8a5e9b
GM
111502011-05-24 Glenn Morris <rgm@gnu.org>
11151
f8630703
GM
11152 * progmodes/python.el (brm-menu): Declare.
11153
8831bbed
GM
11154 * emulation/viper.el (viper-set-hooks): Declare.
11155
eb8a5e9b
GM
11156 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11157 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11158 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11159 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11160 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11161 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11162
a2a25d24
SM
111632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 Add an :exit-function for completion-at-point.
11166
11167 * minibuffer.el (completion--done): New fun.
11168 (completion--do-completion): Use it. New arg `expect-exact'.
11169 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11170 since completion--do-completion does it for us now.
11171 (minibuffer-force-complete): Use completion--done and
11172 completion--replace. Handle sole-completion case with more care.
11173 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11174 (completion-extra-properties): New var.
11175 (completion-annotate-function): Make obsolete.
11176 (minibuffer-completion-help): Adjust accordingly.
11177 Use completion-list-insert-choice-function.
11178 (completion-at-point, completion-help-at-point):
11179 Bind completion-extra-properties.
11180 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11181 * simple.el (completion-list-insert-choice-function): New var.
11182 (completion-setup-function): Preserve it.
11183 (choose-completion): Pay attention to it, shuffle the code a bit.
11184 (choose-completion-string): New arg `insert-function'.
11185
11186 * textmodes/bibtex.el: Convert to lexical binding.
11187 (bibtex-mode-map): Use completion-at-point.
11188 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11189 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11190 (bibtex-complete): Define as obsolete alias.
11191 (bibtex-complete-internal): Remove.
11192 (bibtex-format-entry): Remove unused sub-group in regexp.
11193 * shell.el (shell--command-completion-data)
11194 (shell-environment-variable-completion):
11195 * pcomplete.el (pcomplete-completions-at-point):
11196 * comint.el (comint--complete-file-name-data): Use :exit-function
11197 instead of completion-table-with-terminator so it also works for
11198 choose-completion.
11199
e44e373d
SM
112002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11201
4f91a816
SM
11202 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11203
782fc819
SM
11204 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11205 (bug#8710).
11206
e44e373d
SM
11207 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11208
381987c3
KM
112092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11210
11211 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11212 customization variable and implement: If non-nil, auto-fill will
11213 be inhibited while on topic's header line.
11214
b776bc70
VB
112152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11216
11217 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11218 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11219 always have a solution in grid size = 5 cases.
11220 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11221 (5x5-solver-output, 5x5-log-buffer): New vars.
11222 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11223 Make these variables buffer local to achieve 5x5 multi-session-ness.
11224 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11225 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11226 (5x5-solve-suggest): New funs.
11227 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11228 randomize a grid so that we ensure that there is always a solution.
11229 (5x5-make-random-grid): Allow other movement than flipping.
11230
7de88b6e
KR
112312011-05-23 Kevin Ryde <user42@zip.com.au>
11232
11233 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11234 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11235 advice and passes PREDICATE.
11236
b1ef1257
SM
112372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11238
bbca48fe
SM
11239 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11240 byte-compile-lambda if it's actually a lambda.
11241
b1ef1257
SM
11242 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11243 Fix function quoting. Use backquote better.
11244
92a9cc65
YS
112452011-05-22 Yuanle Song <sylecn@gmail.com>
11246
11247 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11248 matching (Bug#8516).
11249
f0fb8059
JA
112502011-01-22 Jari Aalto <jari.aalto@cante.net>
11251
11252 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11253 different face (Bug#8178).
11254
d5b44c93
CY
112552011-05-22 Chong Yidong <cyd@stupidchicken.com>
11256
11257 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11258 defface (Bug#8144).
11259
79106a44
SM
112602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11261
9c848d8a
SM
11262 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11263 funcall as well (bug#8712). Warn when performing those conversions.
11264 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11265
79106a44
SM
11266 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11267
88dfa756
GM
112682011-05-22 Glenn Morris <rgm@gnu.org>
11269
11270 * files.el (hack-local-variables-prop-line): Small simplifications.
11271 (hack-local-variables, hack-local-variables-prop-line):
11272 If MODE-ONLY, return the mode, rather than just `t'.
11273
b7cf2c79
SM
112742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11277
3f1a8558
GM
112782011-05-21 Glenn Morris <rgm@gnu.org>
11279
7e4ccca3
GM
11280 * files.el (hack-local-variables-prop-line, hack-local-variables):
11281 If only interested in the mode, don't bother doing the other stuff.
11282
637d46ca
GM
11283 * image-mode.el (image-after-revert-hook):
11284 Redraw all frames on which the image is visible. (Bug#8567)
11285
973d955b
GM
11286 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11287
3f1a8558
GM
11288 * wid-edit.el (widget-checklist-match-inline):
11289 Fix 2011-04-19 change. (Bug#8649)
11290
96479927
SM
112912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11292
1dcf791f
SM
11293 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11294 Also allow singlespace after single-letter capitals followed by a dot.
11295
96479927
SM
11296 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11297 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11298
35fd0881
N
112992011-05-20 Nix <nix@esperi.org.uk>
11300
11301 * files.el (basic-save-buffer-2):
11302 Fix handling of break-hardlink-on-save with non-existent files.
11303
82745640
DD
113042011-05-19 Deniz Dogan <deniz@dogan.se>
11305
11306 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11307 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11308
4a720484
GM
113092011-05-19 Glenn Morris <rgm@gnu.org>
11310
d1f21341
GM
11311 * progmodes/f90.el (f90-type-def-re):
11312 Handle "type, bind(c)". (Bug#8691)
11313
4a720484
GM
11314 * emacs-lisp/autoload.el (batch-update-autoloads):
11315 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11316
2fb0a219
MA
113172011-05-18 Michael Albinus <michael.albinus@gmx.de>
11318
11319 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11320 property for the correct connection in case of multihops.
11321
e565dd37
GM
113222011-05-18 Glenn Morris <rgm@gnu.org>
11323
c2571358 11324 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11325 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11326
e565dd37
GM
11327 Rationalize calendar handling of day and month abbrev-arrays.
11328 * calendar/calendar.el (calendar-customized-p): New function.
11329 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11330 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11331 Add :set function.
11332 (calendar-abbrev-length, calendar-day-abbrev-array)
11333 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11334 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11335 Elements may no longer be nil.
11336 (calendar-day-name, calendar-month-name):
11337 Update for changed nature of abbrev arrays.
11338 * calendar/diary-lib.el (diary-name-pattern):
11339 Update for changed nature of abbrev arrays.
11340 (diary-mark-entries-1): Update calendar-make-alist calls.
11341 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11342 * calendar/cal-html.el (cal-html-day-abbrev-array):
11343 Simply inherit from calendar-day-abbrev-array.
11344
1d99a745
SM
113452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11346
11347 * progmodes/grep.el (grep-mode): Disable default
11348 compilation-directory-matcher setting (bug#8684).
11349
7c1d9aa0
MA
113502011-05-17 Michael Albinus <michael.albinus@gmx.de>
11351
11352 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11353 instead of "head" and "tail". There were problems with SunOS 5.9,
11354 and it performs better.
11355
3952e9d8
GM
113562011-05-17 Glenn Morris <rgm@gnu.org>
11357
2dd12e7f
GM
11358 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11359
e4157b9c
GM
11360 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11361 Replace obsolete function.
11362
8e249bbd
GM
11363 * shell.el (pcomplete-parse-arguments-function): Declare.
11364
3952e9d8
GM
11365 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11366 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11367 (appt-check): Doc fixes.
11368 (appt-disp-window-function, appt-delete-window-function):
11369 Remove needless special case in custom :type.
11370 (appt-display-count): Default to 0, not nil.
11371 (appt-check): Reset appt-display-count to 0, not nil.
11372
c71a0d48 113732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11374
c71a0d48
GM
11375 * progmodes/python.el (python-font-lock-keywords):
11376 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11377
31d55be9
SM
113782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11381
3bfacb2f
KR
113822011-05-16 Kevin Ryde <user42@zip.com.au>
11383
11384 * info-look.el (makefile-automake-mode): New setups, looking in
11385 automake manual, then makefile-mode.
11386 (makefile-mode): Remove automake manual, have it just in
11387 makefile-automake-mode since there's various things different or
11388 not relevant to plain make.
11389 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11390 believe a hypothetical automake-mode would go to makefile-mode,
11391 not the other way around.
11392
c8e83751
CY
113932011-05-15 Chong Yidong <cyd@stupidchicken.com>
11394
5e9e35cd
CY
11395 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11396 hunk-end tags (Bug#8672).
11397
c8e83751
CY
11398 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11399 vc-annotate-show-diff-revision-at-line (Bug#8671).
11400
50b23e5a
GM
114012011-05-14 Glenn Morris <rgm@gnu.org>
11402
7210a739
GM
11403 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11404 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11405 (change-log-font-lock-keywords): Also handle multiple author lines
11406 with leading tabs. (Bug#8644)
7210a739 11407
4691905a
GM
11408 * calendar/appt.el (appt-check): Rename some local variables.
11409 Some simplification/reordering.
11410
50b23e5a
GM
11411 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11412 (feedmail-sendmail-f-doesnt-sell-me-out)
11413 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11414 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11415 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11416 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11417 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11418 (feedmail-binmail-gnulinuxish-template):
11419 Rename from feedmail-binmail-linuxish-template.
11420 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11421 Use insert-buffer-substring.
11422
215cda7c
BC
114232011-05-14 Bill Carpenter <bill@carpenter.org>
11424
11425 * mail/feedmail.el (feedmail-patch-level): Increase.
11426 (feedmail-debug): New custom group.
11427 (feedmail-confirm-outgoing-timeout)
11428 (feedmail-sendmail-f-doesnt-sell-me-out)
11429 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11430 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11431 (feedmail-sender-line, feedmail-from-line)
11432 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11433 (feedmail-spray-this-address)
215cda7c
BC
11434 (feedmail-spray-address-fiddle-plex-list)
11435 (feedmail-queue-use-send-time-for-date)
11436 (feedmail-queue-use-send-time-for-message-id)
11437 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11438 (feedmail-buffer-eating-function):
11439 Doc fixes.
11440 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11441 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11442 (feedmail-message-action-scroll-down): New functions.
11443 (feedmail-queue-directory, feedmail-queue-draft-directory):
11444 Use expand-file-name.
11445 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11446 Remove C-v help entry.
11447 (feedmail-queue-buffer-file-name): New variable.
11448 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11449 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11450 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11451 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11452 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11453 (feedmail-message-action-toggle-spray)
11454 (feedmail-run-the-queue-no-prompts)
11455 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11456 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11457 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11458 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11459 (feedmail-envelope-deducer, feedmail-fiddle-from)
11460 (feedmail-fiddle-sender, feedmail-default-date-generator)
11461 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11462 (feedmail-fiddle-spray-address)
11463 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11464 (feedmail-fiddle-list-of-fiddle-plexes)
11465 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11466 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11467 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11468 Change default. Doc fix.
11469 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11470 (feedmail-binmail-linuxish-template): New constant.
11471 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11472 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11473 (feedmail-send-it): Add debug call.
11474 Use feedmail-queue-buffer-file-name, and
11475 feedmail-send-it-immediately-wrapper.
11476 (feedmail-message-action-send): Add debug call.
11477 Use feedmail-send-it-immediately-wrapper.
11478 (feedmail-queue-express-to-queue): Add debug call.
11479 Run feedmail-queue-express-hook.
11480 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11481 (feedmail-message-action-help-blat):
11482 Rename from feedmail-queue-send-edit-prompt-help-first.
11483 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11484 Check line-endings. Handle errors better.
11485 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11486 Doc fix. Add debug call.
11487 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11488 Use feedmail-queue-send-edit-prompt-inner.
11489 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11490 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11491 from feedmail-queue-send-edit-prompt.
11492 (feedmail-queue-send-edit-prompt-help)
11493 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11494 (feedmail-tidy-up-slug): Add debug call.
11495 Respect feedmail-queue-slug-suspect-regexp.
11496 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11497 (feedmail-dump-message-to-queue): Add debug call.
11498 Expand queue-directory.
11499 (feedmail-dump-message-to-queue): Change message slightly.
11500 Use feedmail-say-chatter.
11501 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11502 (feedmail-send-it-immediately-wrapper): New function.
11503 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11504 Insert empty string rather than newline. Handle full-frame case.
11505 Use catch/throw. Use feedmail-say-chatter.
11506 (feedmail-fiddle-from): Try mail-host-address.
11507 (feedmail-default-message-id-generator): Doc fix.
11508 Bind system-time-locale. Handle missing end.
11509 (feedmail-fiddle-x-mailer): Add debug call.
11510 Handle feedmail-x-mailer-line being nil.
11511 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11512 Add debug call. Use buffer-substring-no-properties.
11513 (feedmail-say-debug, feedmail-say-chatter): New functions.
11514 (feedmail-find-eoh): Give an explicit error.
11515
42c7e61e
UJ
115162011-05-13 Ulf Jasper <ulf.jasper@web.de>
11517
c2571358 11518 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11519 family from helvetica to sans.
c2571358 11520 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11521 etc/images/newsticker.
11522
c2571358 11523 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11524 family from helvetica to sans.
11525
11526 * net/newst-plainview.el (newsticker-new-item-face)
11527 (newsticker-old-item-face, newsticker-immortal-item-face)
11528 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11529 (newsticker-statistics-face): Change default family from
42c7e61e 11530 helvetica to sans.
c2571358 11531 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11532 etc/images/newsticker.
11533
5d3385a0
JB
11534 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11535 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11536 auto-marking.
11537
8497a297
DV
115382011-05-13 Didier Verna <didier@xemacs.org>
11539
11540 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11541 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11542 TODO entries.
8497a297
DV
11543 (lisp-lambda-list-keyword-parameter-indentation)
11544 (lisp-lambda-list-keyword-parameter-alignment)
11545 (lisp-lambda-list-keyword-alignment): New customizable user options.
11546 (lisp-indent-defun-method): Improve docstring.
11547 (extended-loop-p): Fix comment.
11548 (lisp-indent-lambda-list-keywords-regexp): New variable.
11549 (lisp-indent-lambda-list): New function.
11550 (lisp-indent-259): Use it.
11551 (lisp-indent-defmethod): Support for more than one
11552 method qualifier and properly indent methods lambda-lists.
11553 (defgeneric): Provide a missing common-lisp-indent-function property.
11554
f278f87f
SM
115552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11558 bounds for the empty string (bug#8667).
11559
5233edd7
GM
115602011-05-13 Glenn Morris <rgm@gnu.org>
11561
5237a44f
GM
11562 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11563
8340026c 11564 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11565 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11566
5233edd7 11567 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11568 (appt-time-msg-list): Doc fix.
a5464014 11569 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11570
92d10796
AS
115712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11572
11573 * progmodes/ld-script.el (ld-script-keywords)
11574 (ld-script-builtins): Update keywords list.
11575
914a0ae1
SM
115762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11577
c89be45f
SM
11578 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11579
914a0ae1
SM
11580 * shell.el (shell-completion-vars): New function.
11581 (shell-mode):
11582 * simple.el (read-shell-command): Use it.
11583 (blink-matching-open): No need for " [...]" in minibuffer-message.
11584
98dc3df3
GM
115852011-05-12 Glenn Morris <rgm@gnu.org>
11586
11587 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11588 (appt-check): Simplify.
11589
d2fc7e3d 115902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11591
4d61f28d 11592 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11593 literal "/dev/null".
11594
d2fc7e3d 115952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11596
11597 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11598 Fix typo.
11599
d2fc7e3d 116002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11601
3f254caa
SM
11602 * progmodes/which-func.el (which-function):
11603 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11604 which might not be defined (Bug#8260).
11605
d45885f7
GM
116062011-05-12 Glenn Morris <rgm@gnu.org>
11607
11608 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11609 Let byte-compile-initial-macro-environment always take precedence.
11610
488086f4
SM
116112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * net/rcirc.el: Add support for SSL/TLS connections.
11614 (rcirc-server-alist): New field `encryption'.
11615 (rcirc): Check `encryption' settings.
11616 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11617 Merge make-local-variable into `set'.
11618 (rcirc--connection-open-p): New function.
11619 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11620 the process is not a network process (e.g. running gnutls-cli).
11621 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11622 Make rcirc-(en|de)code-coding-system local here.
11623 (rcirc-mode): Merge make-local-variable into `set'.
11624 (rcirc-parent-buffer): Make permanent buffer-local.
11625 (rcirc-multiline-minor-mode): Don't do it here.
11626 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11627 there's no server buffer.
11628
7d3b9d44
GM
116292011-05-11 Glenn Morris <rgm@gnu.org>
11630
f64049c6
GM
11631 * newcomment.el (comment-kill): Prefix "unused" local.
11632
93c9df73
GM
11633 * term/w32console.el (get-screen-color): Declare.
11634
7d3b9d44
GM
11635 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11636 Handle symbol elements of byte-compile-initial-macro-environment.
11637
9e2dd53f
LL
116382011-05-10 Leo Liu <sdl.web@gmail.com>
11639
488086f4
SM
11640 * bookmark.el (bookmark-bmenu-mode-map):
11641 Bind bookmark-bmenu-search to `/'.
8b340240 11642
9e2dd53f 11643 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11644 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11645 (Footnote-unicode): New function.
11646 (footnote-style-alist): Add unicode style to the list.
11647 (footnote-style): Doc fix.
9e2dd53f 11648
79b70037
GM
116492011-05-10 Jim Meyering <meyering@redhat.com>
11650
11651 Fix doubled-word typos.
11652 * international/quail.el (quail-insert-kbd-layout): and and -> and
11653 * kermit.el: and and -> and
11654 * net/ldap.el (ldap-search-internal): to to -> to
11655 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11656 * progmodes/js.el (js-mode): and and -> and
11657 * textmodes/artist.el (artist-move-to-xy): at at -> at
11658 (artist-draw-region-trim-line-endings): if if -> if
11659 And Safetyc -> Safety.
11660 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11661
b8f82dc1 116622011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11663 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11664
11665 * files.el (hack-one-local-variable-eval-safep):
11666 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11667
4f99f44b
GM
116682011-05-10 Glenn Morris <rgm@gnu.org>
11669
11670 * calendar/diary-lib.el (diary-list-entries-hook)
11671 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11672 (diary-nongregorian-marking-hook, diary-list-entries)
11673 (diary-include-other-diary-files, diary-mark-entries)
11674 (diary-mark-included-diary-files): Doc fixes.
11675
84f29e6b
JB
116762011-05-09 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * misc.el: Require tabulated-list.el during compilation.
11679
9bedd73a
CY
116802011-05-09 Chong Yidong <cyd@stupidchicken.com>
11681
488086f4
SM
11682 * progmodes/compile.el (compilation-start):
11683 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11684 (compilation-filter-hook): Doc fix.
11685
797c735c
DD
116862011-05-09 Deniz Dogan <deniz@dogan.se>
11687
11688 * wdired.el: Remove outdated installation comment. Fix usage
11689 comment.
11690
5f4b1dfe
JB
116912011-05-09 Juanma Barranquero <lekktu@gmail.com>
11692
11693 * misc.el: Implement new command `list-dynamic-libraries'.
11694 (list-dynamic-libraries--loaded-only-p): New variable.
11695 (list-dynamic-libraries--refresh): New function.
11696 (list-dynamic-libraries): New command.
11697
4c44026c
CY
116982011-05-09 Chong Yidong <cyd@stupidchicken.com>
11699
488086f4
SM
11700 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11701 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11702 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11703 higher priority to avoid clobbering by gnu.
11704
027f966d
CY
117052011-05-08 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11708 if the face has existing theme settings (Bug#8454).
11709
085f5d7d
CY
117102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11711
488086f4
SM
11712 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11713 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11714
2a86a00c
RS
11715 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11716 special file names `.' and `..' (Bug#8259).
11717
d9c54a06
CY
117182011-05-08 Chong Yidong <cyd@stupidchicken.com>
11719
488086f4
SM
11720 * progmodes/grep.el (grep-mode-font-lock-keywords):
11721 Remove buffer-changing entries.
d9c54a06
CY
11722 (grep-filter): New function.
11723 (grep-mode): Add it to compilation-filter-hook.
11724
11725 * progmodes/compile.el (compilation-filter-hook)
11726 (compilation-filter-start): New defvars.
11727 (compilation-filter): Call compilation-filter-hook prior to
11728 updating the process mark.
11729
c4662635
SM
117302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11733
b0512a1d
EZ
117342011-05-07 Eli Zaretskii <eliz@gnu.org>
11735
605c9376
EZ
11736 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11737 mailclient-send-it even if window-system is nil. (Bug#8595)
11738
c4662635
SM
11739 * term/w32console.el (terminal-init-w32console):
11740 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11741 background-mode. (Bug#8597)
11742
d1dc2cc2
SM
117432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11744
11745 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11746 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11747 New functions.
11748 (defgeneric, eieio--defmethod): Use them.
11749 (eieio-defgeneric): Remove.
11750 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11751
915d1300
GM
117522011-05-07 Glenn Morris <rgm@gnu.org>
11753
a3961c3e
GM
11754 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11755 Use let rather than let*.
11756 (timeclock-find-discrep): Remove unused local.
11757
314347b9
GM
11758 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11759
915d1300
GM
11760 * calendar/appt.el (appt-time-msg-list): Doc fix.
11761
275b59b0
NF
117622011-05-06 Noah Friedman <friedman@splode.com>
11763
11764 * apropos.el (apropos-print-doc): Only use
11765 emacs-lisp-docstring-fill-column when it is bound to an integer,
11766 per that variable's documentation.
11767
6c19f744
SM
117682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11771 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11772
60f884b2
GM
117732011-05-06 Glenn Morris <rgm@gnu.org>
11774
5006e634
GM
11775 * calendar/appt.el (appt-message-warning-time): Doc fix.
11776 (appt-warning-time-regexp): New option.
11777 (appt-make-list): Respect appt-message-warning-time.
11778
548d0a63
GM
11779 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11780 New options.
11781 (diary-add-to-list): Strip comments from the displayed string.
11782 (diary-mode): Set comment-start and comment-end.
11783
60f884b2
GM
11784 * vc/diff-mode.el (smerge-refine-subst): Declare.
11785 (diff-refine-hunk): Don't require smerge-mode when compiling.
11786
989681bb
JB
117872011-05-06 Juanma Barranquero <lekktu@gmail.com>
11788
11789 * simple.el (list-processes): Return nil as the docstring says.
11790
a6bc05e1
MA
117912011-05-05 Michael Albinus <michael.albinus@gmx.de>
11792
11793 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11794 to "".
11795 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11796 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11797 determining of binary transfer. (Bug#7383)
11798
23c22e9a
MA
117992011-05-05 Michael Albinus <michael.albinus@gmx.de>
11800
c4662635
SM
11801 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11802 Fix port computation bug. (Bug#8618)
23c22e9a 11803
0bff894f
GM
118042011-05-05 Glenn Morris <rgm@gnu.org>
11805
b8296902
GM
11806 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11807
1f522ce8
GM
11808 * simple.el (shell-dynamic-complete-functions)
11809 (comint-dynamic-complete-functions): Declare.
11810
cf5bee67
GM
11811 * net/network-stream.el (gnutls-negotiate):
11812 * simple.el (tabulated-list-print): Fix declarations.
11813
11814 * progmodes/gud.el (syntax-symbol, syntax-point):
11815 Remove unnecessary and incorrect declarations.
11816
0bff894f
GM
11817 * emacs-lisp/check-declare.el (check-declare-scan):
11818 Handle byte-compile-initial-macro-environment in bytecomp.el
11819
9869b3ae
SM
118202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 Fix earlier half-done eieio-defmethod change (bug#8338).
11823 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11824 Streamline and change calling convention.
11825 (defmethod): Adjust accordingly and simplify.
11826 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11827 new eieio--defmethod.
11828 (slot-boundp): Minor CSE simplification.
11829
9c1d5ac5
MZ
118302011-05-05 Milan Zamazal <pdm@zamazal.org>
11831
11832 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11833 (glasses-make-readable): Use glasses-separate-capital-groups.
11834
455c834e
JB
118352011-05-05 Juanma Barranquero <lekktu@gmail.com>
11836
11837 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11838 (warning-series): Doc fix.
11839 (display-warning): Don't try to create the buffer if we just found it.
11840
9ed7c8cb
CY
118412011-05-04 Chong Yidong <cyd@stupidchicken.com>
11842
11843 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11844 (autoload-find-generated-file): New function.
11845 (generate-file-autoloads): Bind generated-autoload-file to
11846 buffer-file-name.
9869b3ae
SM
11847 (update-file-autoloads, update-directory-autoloads):
11848 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11849 output file (Bug#7989).
11850 (batch-update-autoloads): Doc fix.
11851
0898ca10
JB
118522011-05-04 Juanma Barranquero <lekktu@gmail.com>
11853
11854 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11855
31dfb76c
GM
118562011-05-04 Glenn Morris <rgm@gnu.org>
11857
f330b642
GM
11858 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11859 function, so it follows changes in calendar-date-style.
11860 (diary-fancy-date-matcher): New function.
11861 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11862 (diary-fancy-font-lock-fontify-region-function):
11863 Use diary-fancy-date-pattern as a function.
11864
31dfb76c
GM
11865 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11866 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11867
48e79d6a
TZ
118682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11869
11870 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11871 instead of positional arguments. Allow :keylist and :crlfiles
11872 arguments.
11873 (open-gnutls-stream): Call it.
11874
11875 * net/network-stream.el (network-stream-open-starttls): Adjust to
11876 call `gnutls-negotiate' with :process and :hostname arguments.
11877
dd5a5ee0
SM
118782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11879
ef80fc09
SM
11880 * minibuffer.el (completion--message): New function.
11881 (completion--do-completion, minibuffer-complete)
11882 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11883 (completion--do-completion): Don't ignore completion-auto-help when in
11884 icomplete-mode.
11885
dd5a5ee0
SM
11886 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11887 internal encoding (e.g. tibetan zero is not whitespace).
11888 (global-whitespace-mode): Prefer save-current-buffer.
11889 (whitespace-trailing-regexp): Remove useless save-match-data.
11890 (whitespace-empty-at-bob-regexp): Minor simplification.
11891
b7d22a83
CY
118922011-05-03 Chong Yidong <cyd@stupidchicken.com>
11893
11894 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11895
5192af46
AM
118962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11897
11898 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11899 Use `concat' to create string for insertion.
5192af46 11900
5767d190
SM
119012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11904 Avoid open-line which runs post-self-insert-hook.
11905 (bibtex-fill-entry): Remove unused `end' var.
11906
bf242939
AM
119072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11908
5767d190
SM
11909 * textmodes/ispell.el (ispell-add-per-file-word-list):
11910 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11911
25666126
LL
119122011-05-03 Leo Liu <sdl.web@gmail.com>
11913
11914 * isearch.el (isearch-yank-pop): New command.
5767d190 11915 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11916 (isearch-forward): Mention it.
11917
52d3c2d0
SM
119182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11919
1bcace58
SM
11920 * simple.el (minibuffer-complete-shell-command): Remove.
11921 (minibuffer-local-shell-command-map): Use completion-at-point.
11922 (read-shell-command): Setup completion vars here instead.
11923 (read-expression-map): Bind TAB to symbol completion.
11924
52d3c2d0
SM
11925 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11926 error directly rather via storing it into `results'.
11927
35813471
LL
119282011-05-02 Leo Liu <sdl.web@gmail.com>
11929
11930 * vc/diff.el: Fix description.
11931
e793a940
LMI
119322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11933
11934 * server.el (server-eval-at): New function.
11935
8de66e05
LMI
119362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11937
11938 * net/network-stream.el (open-network-stream): Take a :nowait
11939 parameter and pass it on to `make-network-process'.
11940 (network-stream-open-plain): Ditto.
11941
dcb79f20
AS
119422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11943
11944 * faces.el (face-spec-set-match-display): Don't match toolkit
11945 options on terminal frames.
11946
14a7fbd8
SM
119472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11948
7eabc1be
SM
11949 * progmodes/pascal.el: Use lexical binding.
11950 (pascal-mode-map): Remove author preferences.
11951
14a7fbd8
SM
11952 * pcomplete.el (pcomplete-std-complete): Don't abuse
11953 completion-at-point.
11954
50f84510
JB
119552011-04-28 Juanma Barranquero <lekktu@gmail.com>
11956
6e087a44
JB
11957 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11958 removing code that has been dead since 1991 or so.
11959
50f84510
JB
11960 * startup.el (command-line): When warning about "_emacs", use a
11961 delayed warning to allow the user to filter it out.
11962
0ba690bd
DD
119632011-04-28 Deniz Dogan <deniz@dogan.se>
11964
11965 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11966 user has not joined.
11967
08abfaad
SM
119682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11971 aren't any completions at point.
11972
638f053a
JB
119732011-04-28 Juanma Barranquero <lekktu@gmail.com>
11974
11975 * subr.el (display-delayed-warnings): New function.
11976 (delayed-warnings-hook): New variable.
11977
8fff8daa
SM
119782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11979
08abfaad
SM
11980 * minibuffer.el (completion-at-point, completion-help-at-point):
11981 Don't presume that a given completion-at-point-function will always
11982 use the same calling convention.
11983
8fff8daa
SM
11984 * pcomplete.el (pcomplete-completions-at-point):
11985 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11986 pcomplete-seen is non-nil.
11987 (pcomplete-comint-setup): Also recognize the new comint/shell
11988 completion functions.
11989 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11990 pcomplete-seen is non-nil.
11991
841a1577 119922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11993
841a1577 11994 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11995 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11996 the first character in the entry. This allows for code to add its
211ec907
UJ
11997 own uid to the entry.
11998 (icalendar--convert-float-to-ical): Add export of
11999 `diary-float'-entries save for those with the optional DAY
12000 argument.
12001
2a782793
DC
120022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12003
12004 * subr.el (shell-quote-argument): Use alternate escaping strategy
12005 when we spot a variable reference in a string.
12006
0438ce91
DC
120072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12008
12009 * cus-start.el (all): Define customization for debug-on-event.
12010
841a1577 120112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12012
12013 * subr.el (shell-quote-argument): Escape correctly under Windows.
12014
d090ed6c
SM
120152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12018
bfd31217
MA
120192011-04-25 Michael Albinus <michael.albinus@gmx.de>
12020
d090ed6c
SM
12021 * net/tramp.el (tramp-process-actions): Add POS argument.
12022 Delete region between POS and (pos).
bfd31217 12023
d090ed6c
SM
12024 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12025 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12026 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12027
12028 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12029 position in `tramp-process-actions' call.
12030
12031 * net/trampver.el: Update release number.
12032
e92f3bd3
SM
120332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12034
850256b5
SM
12035 * custom.el (defcustom): Obey lexical-binding.
12036
e92f3bd3
SM
12037 Fix octave-inf completion problems reported by Alexander Klimov.
12038 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12039 Inherit from octave-mode-syntax-table.
12040 (inferior-octave-mode): Set info-lookup-mode.
12041 (inferior-octave-completion-at-point): New function.
12042 (inferior-octave-complete): Use it and completion-in-region.
12043 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12044 comint-filename-completion.
12045 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12046 symbol elements which shouldn't be word elements.
12047 (octave-font-lock-keywords, octave-beginning-of-defun)
12048 (octave-function-header-regexp): Adjust regexps accordingly.
12049 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12050
cd22b309
JB
120512011-04-25 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * net/gnutls.el (gnutls-errorp): Declare before first use.
12054
8b492194
TZ
120552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12056
12057 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12058 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12059 default trustfile exists before going to use it. Add missing
5a5fa834 12060 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12061 Reported by Claudio Bley <claudio.bley@gmail.com>.
12062 (open-gnutls-stream): Add usage example.
12063
12064 * net/network-stream.el (network-stream-open-starttls): Give host
12065 parameter to `gnutls-negotiate'.
12066 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12067 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12068
841a1577 120692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12070
cd22b309
JB
12071 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12072 Use correct match group (bug#8438).
05842630 12073
3ba7869c
CY
120742011-04-24 Chong Yidong <cyd@stupidchicken.com>
12075
512e3ae1
CY
12076 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12077 (package-menu--generate): New arg specifying packages to show.
12078 (package-menu-refresh, package-menu-execute, list-packages):
12079 Callers changed.
12080 (package-show-package-list): New function, replacing deleted
12081 package--list-packages (renamed because it is non-internal).
12082
12083 * finder.el (finder-list-matches): Use package-show-package-list
12084 instead of deleted package--list-packages.
12085
e92f3bd3
SM
12086 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12087 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12088 (vc-annotate-mode-map): Bind it to RET.
12089
7031be6d
UR
120902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12091
12092 * progmodes/etags.el (next-file): Don't use set-buffer to change
12093 buffers (Bug#8478).
12094
4ef177aa
CY
120952011-04-24 Chong Yidong <cyd@stupidchicken.com>
12096
c8d173eb
CY
12097 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12098
4ef177aa
CY
12099 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12100 (apropos-accumulator): Doc fix.
12101 (apropos-function, apropos-macro, apropos-command)
12102 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12103 (apropos-plist): Add face property.
12104 (apropos-symbols-internal): Fix indentation.
12105 (apropos-print): Simplify help, and recognize apropos-multi-type.
12106 (apropos-print-doc): Use button-type-get to extract the button's
12107 face property. Fill docstring (Bug#8352).
12108
4ffd0d6b 121092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12110
12111 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12112
c6c32125 12113 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12114 (mpuz-mode-map): Use mapc.
c6c32125
JB
12115 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12116 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12117 Fix typos in docstrings.
12118
58d468b4
JB
12119 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12120 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12121
6470c3c6
JB
12122 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12123
4ffd0d6b 121242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12125
12126 * minibuffer.el (completion--do-completion): Avoid the "Next char
12127 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12128
3ad8bad0
CY
12129 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12130 mouse-2 into unread-command-events, it is interpreted correctly.
12131
71d73c9c 12132 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12133 (image-toggle-display): Doc fix.
71d73c9c 12134
841a1577 121352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12136
4ffd0d6b
GM
12137 * textmodes/page.el (what-page): Use line-number-at-pos to
12138 calculate line number (Bug#6825).
6e1dbaa9 12139
c2fb1b60
JB
121402011-04-22 Juanma Barranquero <lekktu@gmail.com>
12141
12142 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12143 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12144 Pass argument NO-DEFAULT to `find-tag-interactive'.
12145
e02f48d7
JB
121462011-04-22 Juanma Barranquero <lekktu@gmail.com>
12147
12148 Lexical-binding cleanup.
12149
12150 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12151 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12152 * progmodes/ada-prj.el (ada-prj-initialize-values)
12153 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12154 (ada-prj-show-value):
12155 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12156 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12157 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12158 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12159 * progmodes/bug-reference.el (bug-reference-push-button):
12160 * progmodes/fortran.el (fortran-line-length):
12161 * progmodes/glasses.el (glasses-change):
12162 * progmodes/octave-mod.el (octave-fill-paragraph):
12163 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12164 (python-pdbtrack-grub-for-buffer, python-sentinel):
12165 * progmodes/sql.el (sql-save-connection):
12166 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12167 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12168 Mark unused parameters.
12169
12170 * progmodes/compile.el (compilation--flush-directory-cache)
12171 (compilation--flush-parse, compile-internal): Mark unused parameters.
12172 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12173 (compilation-next-error-function): Remove unused variable `timestamp'.
12174
12175 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12176 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12177
12178 * progmodes/dcl-mode.el (dcl-end-of-command):
12179 Remove unused variable `start'.
12180 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12181 (dcl-option-value-basic, dcl-option-value-offset)
12182 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12183 Mark unused parameters.
12184 (dcl-save-local-variable): Remove unused variable `val'.
12185 (mode): Declare.
12186
12187 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12188 Mark unused parameters.
12189 (delphi-ignore-changes): Move before first use.
12190 (delphi-charset-token-at): Remove unused variable `start'.
12191 (delphi-else-start): Remove unused variable `if-count'.
12192 (delphi-comment-block-start, delphi-comment-block-end):
12193 Remove unused variable `kind'.
12194 (delphi-indent-line): Remove unused variable `new-point'.
12195
12196 * progmodes/ebrowse.el (ebrowse-files-list)
12197 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12198 Mark unused parameters. Don't quote `lambda'.
12199 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12200 Don't quote `lambda'.
12201 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12202 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12203 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12204 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12205 Use `ignore-errors'.
12206 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12207 (ebrowse-view/find-file-and-search-pattern)
12208 (ebrowse-view/find-member-declaration/definition):
12209 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12210 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12211 Rename parameter PREFIX-ARG to PREFIX.
12212 (ebrowse-tags-read-name): Remove unused variables `start' and
12213 `member-info'.
12214 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12215 to `tags-file'.
12216
12217 * progmodes/etags.el (local-find-tag-hook): Declare.
12218 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12219 Mark unused parameters.
12220
12221 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12222 (executable-interpret): Mark unused parameter.
12223
12224 * progmodes/flymake.el (flymake-process-sentinel)
12225 (flymake-after-change-function)
12226 (flymake-create-temp-with-folder-structure)
12227 (flymake-get-include-dirs-dot): Mark unused parameters.
12228 (flymake-safe-delete-directory): Remove unused variable `err'.
12229
12230 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12231 (speedbar-timer-fn, speedbar-line-text)
12232 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12233 (speedbar-center-buffer-smartly): Declare functions.
12234 (gdb-find-watch-expression): Remove unused variable `array'.
12235 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12236 (gdb-starting): Mark unused parameters.
12237 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12238 (gdb-table-string): Remove unused variable `res'.
12239 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12240 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12241 (gdb-display-buffer): Remove unused variable `cur-size'.
12242
12243 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12244 allow lexical-binding compilation.
12245 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12246 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12247 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12248 Mark unused parameters.
12249 (gud-gdb-marker-filter): Remove unused variable `match'.
12250 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12251 lambda expressions and funcall them, instead of using `fset'.
12252
12253 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12254 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12255
12256 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12257 variable `header-beg'; use `let'.
12258
12259 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12260 `restart', `last-sexp' and `at-do'.
12261
12262 * progmodes/js.el (js--debug): Mark unused parameter.
12263 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12264 (js--splice-into-items): Remove unused variable `item'.
12265 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12266
12267 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12268 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12269 (makefile-complete): Remove unused variable `try'.
12270 (makefile-fill-paragraph, makefile-match-function-end):
12271 Mark unused parameters.
12272
12273 * progmodes/octave-inf.el (inferior-octave-complete):
12274 Remove unused variable `proc'.
12275 (inferior-octave-output-digest): Mark unused parameter.
12276
12277 * progmodes/perl-mode.el (perl-calculate-indent):
12278 Remove unused variable `err'.
12279
12280 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12281 (prolog-indent-line): Mark unused parameters.
12282 (prolog-indent-line): Remove unused variable `beg'.
12283
12284 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12285 (reporter-dont-compact-list): Declare.
12286
12287 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12288 Remove unused variable `char'.
12289 (sh-debug): Mark unused parameter.
12290 (sh-get-indent-info): Remove unused variable `start'.
12291 (sh-calculate-indent): Remove unused variable `var'.
12292
12293 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12294 (simula-electric-keyword): Remove unused variable `null'.
12295 (simula-search-backward, simula-search-forward): Remove unused
12296 variables `begin' and `end'.
12297
12298 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12299 Remove unused variable `pos'.
12300 (vera-electric-tab, vera-comment-uncomment-region):
12301 Mark unused parameters.
12302 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12303
7ede3b65
CY
123042011-04-22 Chong Yidong <cyd@stupidchicken.com>
12305
12306 * emacs-lisp/package.el (package--builtins, package-alist)
12307 (package-load-descriptor, package-built-in-p, package-activate)
12308 (define-package, package-installed-p)
12309 (package-compute-transaction, package-buffer-info)
12310 (package--push): Doc fix. Distinguish more clearly between
12311 version strings and version lists.
12312
121656e9
JB
123132011-04-21 Juanma Barranquero <lekktu@gmail.com>
12314
12315 Lexical-binding cleanup.
12316
12317 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12318 (5x5-make-mutate-best):
12319 * play/fortune.el (fortune-in-buffer):
12320 * play/gomoku.el (gomoku-init-display):
12321 * play/solitaire.el (solitaire, solitaire-do-check):
12322 * play/tetris.el (tetris-default-update-speed-function):
12323 Mark unused parameters.
12324
12325 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12326 (bubbles--shift): Remove unused variable `char-org'.
12327 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12328 (bubbles--show-images): Remove unused variable `char'.
12329
12330 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12331 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12332 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12333 (decipher-analyze-buffer): Use ?\s.
12334 (decipher-make-checkpoint): Remove unused variable `mapping'.
12335
12336 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12337
12338 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12339 Remove unused variable `result'; use `let'.
12340
12341 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12342 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12343 (gametree-children-shown-p, gametree-compute-reduced-score):
12344 Use `ignore-errors'.
12345
12346 * play/handwrite.el (ps-lpr-switches): Declare.
12347 (handwrite): Remove unused variables `pmin' and `lastp'.
12348
12349 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12350
12351 * play/landmark.el (landmark-init-display)
12352 (landmark-update-naught-weights): Mark unused parameters.
12353 (landmark-y): Remove unused variable `noise'. Simplify.
12354 (landmark-human-plays): Remove unused variable `score'.
12355
12356 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12357 (mpuz-try-proposal): Remove unused variable `game'.
12358
12359 * play/zone.el (life-patterns): Declare.
12360
80f499c7
JB
123612011-04-20 Juanma Barranquero <lekktu@gmail.com>
12362
12363 * vc/vc.el (ediff-vc-internal): Declare function.
12364
024ff170
SM
123652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12366
c0a193ea
SM
12367 * shell.el: Use lexical-binding and std completion UI.
12368 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12369 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12370 comint-preoutput-filter-functions rather than on
12371 comint-output-filter-functions.
12372 (shell-command-completion, shell--command-completion-data)
12373 (shell-filename-completion, shell-environment-variable-completion)
12374 (shell-c-a-p-replace-by-expanded-directory): New functions.
12375 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12376 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12377 (shell-dynamic-complete-environment-variable): Use them.
12378 (shell-dynamic-complete-as-environment-variable)
12379 (shell-dynamic-complete-as-command): Remove.
12380 (shell-match-partial-variable): Match past point.
12381 * comint.el: Clean up use of completion-at-point-functions.
12382 (comint-completion-at-point): New function.
12383 (comint-mode): Use it completion-at-point-functions.
12384 (comint-dynamic-complete): Make it obsolete.
12385 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12386 (comint-c-a-p-replace-by-expanded-history): New function.
12387 (comint-dynamic-complete-functions)
12388 (comint-replace-by-expanded-history): Use it.
12389 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12390 termination strings. Try harder to avoid second try-completion.
12391 (completion-in-region-mode-map): Disable bindings that don't work yet.
12392
2dbaa080
SM
12393 * comint.el: Use lexical-binding. Require CL.
12394 (comint-dynamic-complete-functions): Use comint-filename-completion.
12395 (comint-completion-addsuffix): Tweak custom type.
12396 (comint-filename-completion, comint--common-suffix)
12397 (comint--common-quoted-suffix, comint--table-subvert)
12398 (comint--complete-file-name-data): New functions.
12399 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12400 (comint-dynamic-list-filename-completions): Use them.
12401 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12402
2dbaa080
SM
12403 * minibuffer.el (completion-in-region-mode):
12404 Keep completion-in-region-mode--predicate global.
12405 (completion-in-region--postch):
12406 Assume completion-in-region-mode--predicate is not null.
12407
c79a6f38
SM
12408 * progmodes/flymake.el (flymake-start-syntax-check-process):
12409 Obey `dir'. Simplify.
12410
024ff170
SM
12411 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12412 we're in VC after all.
12413
1c6c854e
CS
124142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12415
12416 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12417 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12418 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12419
bed7f140
SM
124202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12421
332e62ab
SM
12422 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12423 add sanity check.
12424
bed7f140
SM
12425 * obsolete/erc-hecomplete.el: Make obsolete.
12426 * obsolete/: Standardize obsolescence info in the header.
12427
f195c582
GM
124282011-04-20 Glenn Morris <rgm@gnu.org>
12429
12430 * calendar/solar.el (solar-horizontal-coordinates):
12431 Use the longitude argument rather than `calendar-longitude'.
12432 (solar-date-next-longitude): Remove unused locals.
12433
cb79b8c0
VJL
124342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12435
12436 * whitespace.el: New version 13.2.1.
12437
124382011-04-20 felix <EmacsWiki> (tiny change)
12439
d8e4b68b 12440 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12441 switching between major modes on a file.
12442
602ea69d
SM
124432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12446 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12447 multi-line comments as well.
12448
06b60517
JB
124492011-04-19 Juanma Barranquero <lekktu@gmail.com>
12450
12451 Lexical-binding cleanup.
12452
12453 * arc-mode.el (archive-mode-revert):
12454 * cmuscheme.el (scheme-interactively-start-process):
12455 * custom.el (custom-initialize-delay):
12456 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12457 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12458 * emacs-lock.el (emacs-lock-clear-sentinel):
12459 * ezimage.el (defezimage):
12460 * follow.el (follow-avoid-tail-recenter):
12461 * fringe.el (set-fringe-mode-1):
12462 * generic-x.el (bat-generic-mode-compile):
12463 * help-mode.el (help-info-variable, help-do-xref)
12464 (help-mode-revert-buffer):
12465 * help.el (view-emacs-todo):
12466 * iswitchb.el (iswitchb-completion-help):
12467 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12468 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12469 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12470 * locate.el (locate-update):
12471 * longlines.el (longlines-encode-region)
12472 (longlines-after-change-function):
12473 * outline.el (outline-isearch-open-invisible):
12474 * ps-def.el (declare-function, charset-dimension, char-width)
12475 (encode-char):
12476 * ps-mule.el (ps-mule-plot-string):
12477 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12478 (recentf-edit-list-select, recentf-edit-list-validate)
12479 (recentf-open-files-action):
12480 * rect.el (delete-whitespace-rectangle-line)
12481 (rectangle-number-line-callback):
12482 * register.el (window-configuration-to-register)
12483 (frame-configuration-to-register):
12484 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12485 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12486 (xselect-convert-to-targets, xselect-convert-to-delete)
12487 (xselect-convert-to-filename, xselect-convert-to-charpos)
12488 (xselect-convert-to-lineno, xselect-convert-to-colno)
12489 (xselect-convert-to-os, xselect-convert-to-host)
12490 (xselect-convert-to-user, xselect-convert-to-class)
12491 (xselect-convert-to-name, xselect-convert-to-integer)
12492 (xselect-convert-to-atom, xselect-convert-to-identity):
12493 * subr.el (declare, ignore, process-kill-without-query)
12494 (text-clone-maintain):
12495 * terminal.el (te-get-char, te-tic-sentinel):
12496 * tool-bar.el (tool-bar-make-keymap):
12497 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12498 * type-break.el (type-break-mode, type-break-noninteractive-query):
12499 * view.el (View-back-to-mark):
12500 * wid-browse.el (widget-browse-action, widget-browse-widget)
12501 (widget-browse-widgets, widget-browse-sexp):
12502 * widget.el (define-widget-keywords):
12503 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12504 Mark unused parameters.
12505
12506 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12507 (align-areas): Remove unused variable `look'.
12508 (align-region): Remove unused variables `real-end' and `pos-list'.
12509
12510 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12511
12512 * bindings.el (mode-line-modified, mode-line-remote):
12513 Mark unused parameters.
12514 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12515
12516 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12517 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12518
12519 * comint.el (comint-history-isearch-pop-state)
12520 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12521 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12522 (comint-substitute-in-file-name): Doc fix.
12523
12524 * completion.el (cmpl-statistics-block): Mark unused parameter.
12525 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12526 (save-completions-to-file, load-completions-from-file):
12527 Remove unused local variable `e'.
12528
12529 * composite.el (compose-chars): Remove unused variable `len'.
12530 (lgstring-insert-glyph): Remove unused variable `g'.
12531 (compose-glyph-string): Remove unused variables `ascent',
12532 `descent', `lbearing' and `rbearing'.
12533 (compose-glyph-string-relative): Remove unused variables
12534 `lbearing', `rbearing' and `wadjust'.
12535 (compose-gstring-for-graphic): Remove unused variables `header',
12536 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12537 (compose-gstring-for-terminal): Remove unused variables `header'
12538 and `nchars'. Use `let', not `let*'.
12539
12540 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12541 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12542 (Custom-buffer-done, custom-buffer-create-internal)
12543 (custom-browse-visibility-action, custom-browse-group-tag-action)
12544 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12545 (widget-magic-mouse-down-action, custom-toggle-parent)
12546 (custom-add-parent-links, custom-toggle-hide-variable)
12547 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12548 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12549 (custom-face-menu-create, custom-variable-menu-create, get)
12550 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12551 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12552 (customize-apropos): Remove unused variable `tests'.
12553 (custom-group-value-create): Remove unused variable `hidden-p'.
12554 (sort-fold-case): Declare.
12555
12556 * cus-theme.el (custom-reset-standard-faces-list)
12557 (custom-reset-standard-variables-list): Declare.
12558 (customize-create-theme, custom-theme-revert, custom-theme-write)
12559 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12560 Mark unused parameters.
12561
12562 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12563
12564 * delim-col.el (delimit-columns-max): Move defvar before first use.
12565
12566 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12567 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12568
12569 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12570 (auto-insert): Declare.
12571 (desktop-restore-file-buffer): Rename desktop-* parameters;
12572 mark unused ones.
12573 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12574 (desktop-buffer): Rename desktop-* parameters.
12575
12576 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12577 (dframe-reposition-frame-xemacs, dframe-help-echo)
12578 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12579 Mark unused parameters.
12580
12581 * dired-aux.el (backup-extract-version-start, overwrite-query)
12582 (overwrite-backup-query, rename-regexp-query)
12583 (rename-non-directory-query): Declare.
12584 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12585 (dired-add-entry): Remove unused variable `orig-file-name'.
12586 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12587 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12588 `dired-copy-preserve-time' directly.
12589 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12590 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12591
12592 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12593 (dired-virtual-revert, dired-make-relative-symlink):
12594 Mark unused parameters.
12595 (manual-program): Declare.
12596 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12597 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12598 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12599
12600 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12601
12602 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12603
12604 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12605 Declare.
12606
12607 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12608
12609 * electric.el (Electric-command-loop): Rename parameter
12610 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12611
12612 * expand.el (expand-in-literal): Remove unused variable `here'.
12613
12614 * facemenu.el (facemenu-add-new-color):
12615 Remove unused variable `docstring'.
12616
12617 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12618 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12619 (face-attr-construct): Mark unused parameter. Doc fix.
12620 (read-color): Remove unused variable `hex-string'.
12621
12622 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12623 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12624 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12625 (display-buffer-other-frame): Remove unused variable `old-window'.
12626 (kill-buffer-hook): Declare.
12627 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12628 Mark unused parameters.
12629 (after-find-file): Pass 1 to `auto-save-mode', not t.
12630
12631 * files-x.el (auto-insert): Declare.
12632 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12633
12634 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12635 variable `buf'. Mark unused parameter.
06b60517
JB
12636 (find-lisp-insert-directory): Mark unused parameter.
12637
12638 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12639 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12640 (format-common-tail): Remove, unused.
12641 (format-deannotate-region): Remove unused variable `loc'.
12642 (format-annotate-region): Remove unused variable `p'.
12643 (format-annotate-single-property-change): Remove unused variables
12644 `default' and `tail'.
12645
12646 * forms.el (read-file-filter): Declare.
12647 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12648
12649 * frame.el (frame-creation-function-alist): Mark unused parameter.
12650 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12651
12652 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12653 Remove unused parameters.
12654 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12655 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12656
12657 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12658 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12659 (hfy-prepare-tag-map): Mark unused parameters.
12660 (htmlfontify-buffer): Use `called-interactively-p'.
12661
12662 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12663 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12664 (ibuffer-do-occur): Mark unused parameters.
12665 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12666 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12667
12668 * ibuffer.el: Don't quote `lambda'.
12669 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12670 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12671 Mark unused parameters.
12672
12673 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12674 (ido-completing-read): Mark unused parameters.
12675 (ido-copy-current-word): Mark unused parameters;
12676 remove unused variable `name'.
12677 (ido-sort-merged-list): Remove unused parameter `dirs'.
12678
12679 * ielm.el (ielm-input-sender): Mark unused parameter.
12680 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12681 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12682 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12683 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12684 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12685
12686 * image-dired.el (image-dired-display-thumbs): Remove unused
12687 variables `curr-file' and `count'.
12688 (image-dired-remove-tag): Remove unused variable `start'.
12689 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12690 variable `curr-file'
12691 (image-dired-rotate-original): Remove unused variable `temp-file'.
12692 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12693 Remove unused variable `file'.
12694 (image-dired-gallery-generate): Remove unused variable `curr'.
12695 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12696
12697 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12698
12699 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12700
12701 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12702
12703 * isearch.el (minibuffer-history-symbol): Declare.
12704 (isearch-edit-string): Remove unused variable `err'.
12705 (isearch-message-prefix, isearch-message-suffix):
12706 Mark unused parameters.
12707
12708 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12709
12710 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12711
12712 * makesum.el (double-column): Remove unused variable `cnt'.
12713
12714 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12715 (ido-ignore-item-temp-list): Declare.
12716
12717 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12718 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12719 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12720 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12721 `mouse-col-delta'.
12722
12723 * mouse-sel.el (mouse-extend-internal):
12724 Remove unused variable `orig-window-frame'.
12725
12726 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12727 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12728 Move declarations before first use.
12729 (pcomplete-opt): Mark unused parameters; doc fix.
12730
12731 * proced.el (proced-revert): Mark unused parameter.
12732 (proced-send-signal): Remove unused variable `err'.
12733
12734 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12735 Rename parameter PREFIX-ARG to ARG.
12736 (ps-basic-plot-string, ps-basic-plot-whitespace):
12737 Mark unused parameters.
12738
12739 * replace.el (replace-count): Define.
12740 (occur-revert-function): Mark unused parameters.
12741 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12742 (isearch-case-fold-search, isearch-string): Declare.
12743 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12744 bind `case-fold-search'. Remove unused variables `beg' and `end',
12745 and simplify.
12746 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12747 COUNT and bind `replace-count'.
12748 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12749 to COUNT.
12750
12751 * savehist.el (print-readably, print-string-length): Declare.
12752
12753 * shadowfile.el (shadow-expand-cluster-in-file-name):
12754 Remove unused variable `cluster'.
12755 (shadow-copy-file): Remove unused variable `i'.
12756 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12757 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12758 (shadow-define-literal-group, shadow-define-regexp-group)
12759 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12760
12761 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12762 (shell): Use `called-interactively-p'.
12763 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12764
12765 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12766 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12767 (delete-backward-char): Remove unused variable `ocol'.
12768 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12769 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12770 (event-apply-hyper-modifier, event-apply-shift-modifier)
12771 (event-apply-control-modifier, event-apply-meta-modifier):
12772 Mark unused parameters.
12773 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12774 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12775
12776 * speedbar.el (speedbar-ignored-directory-expressions)
12777 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12778 (speedbar-find-file, speedbar-dir-follow)
12779 (speedbar-directory-buttons-follow, speedbar-tag-find)
12780 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12781 (speedbar-buffers-line-directory, speedbar-buffer-click):
12782 Mark unused parameters.
12783 (speedbar-tag-file): Remove unused variable `mode'.
12784 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12785
12786 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12787
12788 * talk.el (talk): Remove unused variable `display'.
12789
12790 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12791 (tar-write-region-annotate): Mark unused parameter.
12792
12793 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12794 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12795 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12796 warning by another.
12797
12798 * time-stamp.el (time-stamp-string-preprocess):
12799 Remove unused variable `require-padding'.
12800
12801 * tree-widget.el (widget-glyph-enable): Declare.
12802 (tree-widget-action): Mark unused parameter.
12803
12804 * w32-fns.el (x-get-selection): Mark unused parameter.
12805 (autoload-make-program, generated-autoload-file): Declare.
12806
12807 * wdired.el (wdired-revert): Mark unused parameters.
12808 (wdired-xcase-word): Remove unused variable `err'.
12809
12810 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12811 (whitespace-help-scroll): Remove unused variable `data-help'.
12812
12813 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12814 (widget-image-insert, widget-after-change, default)
12815 (widget-default-format-handler, widget-default-notify)
12816 (widget-default-prompt-value, widget-info-link-action)
12817 (widget-url-link-action, widget-function-link-action)
12818 (widget-variable-link-action, widget-file-link-action)
12819 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12820 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12821 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12822 (widget-insert-button-action, widget-delete-button-action, visibility)
12823 (widget-documentation-link-action, widget-documentation-string-action)
12824 (widget-const-prompt-value, widget-regexp-match, symbol)
12825 (widget-coding-system-prompt-value)
12826 (widget-key-sequence-value-to-external, sexp)
12827 (widget-sexp-value-to-internal, character, vector, cons)
12828 (widget-choice-prompt-value, widget-boolean-prompt-value)
12829 (widget-color--choose-action): Mark unused parameters.
12830 (widget-item-match-inline, widget-choice-match-inline)
12831 (widget-checklist-match, widget-checklist-match-inline)
12832 (widget-group-match): Rename parameter VALUES to VALS.
12833 (widget-field-value-set): Remove unused variable `size'.
12834 (widget-color-action): Remove unused variables `value' and `start'.
12835
12836 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12837 variable `dir'. Doc fix.
06b60517
JB
12838 (windmove-find-other-window): Don't pass it.
12839
12840 * window.el (count-windows): Mark unused parameter.
12841 (bw-adjust-window): Remove unused variable `err'.
12842
12843 * woman.el (woman-file-name): Remove unused variable `default'.
12844 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12845 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12846 (global-font-lock-mode): Declare.
12847 (woman-decode-region): Mark unused parameter.
12848 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12849
12850 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12851 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12852 (x-dnd-handle-moz-url): Remove unused variable `title'.
12853 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12854
12855 * xml.el (xml-parse-tag, xml-parse-attlist):
12856 Remove unused variable `pos'.
12857
bc4f7f3d
GM
128582011-04-19 Glenn Morris <rgm@gnu.org>
12859
12860 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12861 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12862 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12863 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12864 * calendar/cal-html.el (cal-html-insert-minical):
12865 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12866 (calendar-mark-date-pattern):
12867 Prefix "unused" locals.
12868
12869 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12870 optional argument `style'.
12871
12872 * calendar/appt.el (appt-make-list):
12873 * calendar/cal-china.el (calendar-chinese-date-string):
12874 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12875 (diary-hebrew-yahrzeit):
12876 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12877 * calendar/calendar.el (calendar-generate-window):
12878 * calendar/time-date.el (time-to-days):
12879 Remove unused local variables.
12880
16a43933
CY
128812011-04-18 Chong Yidong <cyd@stupidchicken.com>
12882
12883 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12884 glyphless-char-display table.
12885 (tabulated-list-glyphless-char-display): New var.
12886
7eed1860
SS
128872011-04-18 Sam Steingold <sds@gnu.org>
12888
12889 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12890 to acknowledgments.
12891
4d2d1ccd
GM
128922011-04-17 Glenn Morris <rgm@gnu.org>
12893
12894 * calendar/diary-lib.el (diary-sexp-entry):
12895 * calendar/holidays.el (holiday-sexp):
12896 Set debug-on-error rather than the removed stack-trace-on-error.
12897
239da61d
GM
128982011-04-16 Glenn Morris <rgm@gnu.org>
12899
12900 * progmodes/f90.el: Use lexical-binding.
12901 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12902
8b05752a
SM
129032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12904
daca8ba5
SM
12905 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12906 (mail-mode): Setup mailalias completion here instead.
12907 * mail/mailalias.el: Use lexical-binding.
12908 (pattern, mailalias-done): Declare dynamic.
12909 (mail-completion-at-point-function): New function, from mail-complete.
12910 (mail-complete): Use it.
12911 (mail-completion-expand): New function.
12912 (mail-get-names): Use it.
12913 (mail-directory, mail-directory-process, mail-directory-stream):
12914 Don't use `pattern' for lexically bound arg.
12915
6f542485
SM
12916 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12917
037e7c3f
SM
12918 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12919 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12920 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12921
8b05752a
SM
12922 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12923 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12924 (byte-interactive-p): Define them again, for use when inlining
12925 old code.
12926
49093f60
JB
129272011-04-15 Juanma Barranquero <lekktu@gmail.com>
12928
12929 * loadup.el: Use `string-to-number', not `string-to-int'.
12930
b5b8e7de
SM
129312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12932
12933 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12934 gud-gdb-complete-command.
12935 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12936 (gud-gdb-completion-at-point): New function.
12937 (gud-gdb-completions): Remove.
12938
f42efeb5
MA
129392011-04-14 Michael Albinus <michael.albinus@gmx.de>
12940
49093f60
JB
12941 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12942 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12943 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12944 whether `executable-find' is bound.
f42efeb5
MA
12945
12946 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12947
e240cc21
SM
129482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * minibuffer.el (completion-in-region-mode-predicate)
12951 (completion-in-region-mode--predicate): New vars.
12952 (completion-in-region, completion-in-region--postch)
12953 (completion-in-region-mode): Use them.
12954 (completion--capf-wrapper): Also return the hook function.
12955 (completion-at-point, completion-help-at-point):
12956 Adjust and provide a predicate.
c2bd2ab0
SM
12957
12958 Preserve arg names for advice of subr and lexical functions (bug#8457).
12959 * help-fns.el (help-function-arglist): Consolidate the subr and
12960 new-byte-code cases. Add argument `preserve-names' to extract names
12961 from the docstring when needed.
12962 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12963 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12964 (ad-arglist): Use help-function-arglist's new arg.
12965 (ad-definition-type): Use cond.
12966
c183f693
JB
129672011-04-13 Juanma Barranquero <lekktu@gmail.com>
12968
06641a47
JB
12969 * autorevert.el (auto-revert-handler):
12970 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12971 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12972 Don't quote lambda.
12973
c183f693
JB
12974 * image-mode.el (image-transform-set-scale):
12975 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12976
1e3b6001
G
129772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12978
12979 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12980 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12981 Upgrades via gnutls-cli are too slow to be done opportunistically.
12982
2d6af8dd
JB
129832011-04-12 Juanma Barranquero <lekktu@gmail.com>
12984
12985 * dframe.el (dframe-current-frame): Remove spurious quote.
12986
c0749a51
GM
129872011-04-12 Glenn Morris <rgm@gnu.org>
12988
088d0d61
GM
12989 * calendar/cal-tex.el (cal-tex-end-document):
12990 Try to automatically use latin1 input if needed.
12991
c0749a51
GM
12992 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12993 Don't try to cons a mark onto an empty element.
12994
5c90fde0
LL
129952011-04-11 Leo Liu <sdl.web@gmail.com>
12996
12997 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12998 buffers.
12999 (ido-kill-buffer-at-head): Support killing virtual buffers.
13000
369e974d
CY
130012011-04-10 Chong Yidong <cyd@stupidchicken.com>
13002
13003 * minibuffer.el (completion-show-inline-help): New var.
13004 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13005 (minibuffer-force-complete, minibuffer-complete-word):
13006 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13007
13008 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13009 to avoid interference from inline help (Bug#5849).
13010
37f1c930
LL
130112011-04-10 Leo Liu <sdl.web@gmail.com>
13012
099c39a4
JB
13013 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13014 Fix typo.
37f1c930 13015
a32d4040
CY
130162011-04-09 Chong Yidong <cyd@stupidchicken.com>
13017
13018 * image-mode.el (image-toggle-display-image): Signal an error if
13019 not in Image mode.
13020 (image-transform-mode, image-transform-resize)
13021 (image-transform-set-rotation): Doc fix.
daca8ba5 13022 (image-transform-set-resize): Delete.
a32d4040
CY
13023 (image-transform-set-scale, image-transform-fit-to-height)
13024 (image-transform-fit-to-width): Handle image-toggle-display-image
13025 and image-transform-resize directly.
13026
099c39a4 130272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13028
13029 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13030 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13031 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13032 (doc-view-mode-map): Add bindings for the new functions.
13033
099c39a4 130342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13035
4d61f28d 13036 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13037 Fix typo in docstring.
13038
3726838a
EZ
130392011-04-08 Eli Zaretskii <eliz@gnu.org>
13040
04f33f1e
EZ
13041 * files.el (file-size-human-readable): Produce one digit after
13042 decimal, like "ls -lh" does.
13043
13044 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13045 the file size representation.
13046
3726838a
EZ
13047 * simple.el (list-processes): If async subprocesses are not
13048 available, error out with a clear error message.
13049
cbb59342
CY
130502011-04-08 Chong Yidong <cyd@stupidchicken.com>
13051
13052 * help.el (help-form-show): New function, to be called from C.
13053 Put help-form output in a buffer named differently than *Help*.
13054
e3971c44
EZ
130552011-04-08 Eli Zaretskii <eliz@gnu.org>
13056
13057 * files.el (file-size-human-readable): New function.
13058
13059 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13060 computing the representation inline. Don't require `cl'.
13061
12544bbe
GM
130622011-04-08 Glenn Morris <rgm@gnu.org>
13063
a1de6c6a
GM
13064 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13065
3c4671f4
GM
13066 * net/browse-url.el (browse-url-firefox):
13067 Test system-type, not system-configuration.
13068
b605679c
GM
13069 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13070 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13071 Use log-edit-empty-buffer-p. (Bug#7598)
13072
56442f0c
GM
13073 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13074 (rlogin-mode-map): Initialize in the defvar.
13075 (rlogin): Use ignore-errors.
13076
12544bbe
GM
13077 * replace.el (occur-mode-map): Some fixes for menu items.
13078
eb237b0f
AH
130792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13080
13081 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13082
7d668f2c
CY
130832011-04-06 Chong Yidong <cyd@stupidchicken.com>
13084
e67a13ab
CY
13085 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13086 issuing unused warnings.
13087
13088 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13089 macro directly.
13090
7d668f2c
CY
13091 * simple.el: Lisp reimplement of list-processes. Based on an
13092 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13093 (process-menu-mode): New major mode.
13094 (list-processes--refresh, list-processes):
13095 (process-menu-visit-buffer): New functions.
13096
13097 * files.el (save-buffers-kill-emacs): Don't assume any return
13098 value of list-processes, which is undocumented anyway.
13099
a83ec3c9
CY
131002011-04-06 Chong Yidong <cyd@stupidchicken.com>
13101
13102 * emacs-lisp/tabulated-list.el: New file.
13103
e91a96fe
CY
13104 * emacs-lisp/package.el: Use Tabulated List mode.
13105 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13106 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13107 table format using Tabulated List mode variables.
13108 (package--push): New macro, replacing package-list-maybe-add.
13109 (package-menu--generate): Use package--push. Renamed from
13110 package--generate-package-list.
13111 (package-menu-refresh, list-packages): Use it.
daca8ba5 13112 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13113 Return insertion data instead of inserting it directly.
099c39a4
JB
13114 (package-menu-describe-package, package-menu-execute):
13115 Use tabulated-list-get-id.
e91a96fe
CY
13116 (package-menu-mark-delete, package-menu-mark-install)
13117 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13118 (package-menu-mark-obsolete-for-deletion):
13119 Use tabulated-list-put-tag.
e91a96fe
CY
13120 (package--list-packages, package-menu-revert)
13121 (package-menu-get-package, package-menu-get-version)
13122 (package-menu-sort-by-column): Functions deleted.
13123 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13124 (package-menu--status-predicate, package-menu--version-predicate)
13125 (package-menu--name-predicate)
13126 (package-menu--description-predicate): Handle arguments in the
13127 Tabulated List format.
13128 (package-list-packages-no-fetch): Call list-packages.
13129
3e214b50
JB
131302011-04-06 Juanma Barranquero <lekktu@gmail.com>
13131
13132 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13133 (after-find-file): Don't bind it.
3e214b50
JB
13134 (revert-buffer-in-progress-p): New variable.
13135 (revert-buffer): Bind it.
13136 Pass nil for `after-find-file-from-revert-buffer'.
13137
13138 * saveplace.el (save-place-find-file-hook): Use new variable
13139 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13140
3f0f1700
GM
131412011-04-06 Glenn Morris <rgm@gnu.org>
13142
c0274801
GM
13143 * Makefile.in (AUTOGEN_VCS): New variable.
13144 (autoloads): Use $AUTOGEN_VCS.
13145
3f0f1700
GM
13146 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13147 * calendar/calendar.el (calendar-mode-map):
13148 Check for toolkit scroll bars. (Bug#8305)
13149
41ea9e48
CY
131502011-04-05 Chong Yidong <cyd@stupidchicken.com>
13151
13152 * minibuffer.el (completion-in-region--postch)
13153 (completion-in-region-mode): Remove unnecessary messages.
13154
6194c800
JB
131552011-04-05 Juanma Barranquero <lekktu@gmail.com>
13156
33256f14
JB
13157 * font-lock.el (font-lock-refresh-defaults):
13158 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13159 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13160
6194c800
JB
13161 * info.el (Info-directory-list, Info-read-node-name-2)
13162 (Info-split-parameter-string): Doc fixes.
13163 (Info-virtual-nodes): Reflow docstring.
13164 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13165 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13166 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13167 Fix typos in docstrings.
13168 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13169 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13170 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13171 (Info-restore-desktop-buffer): Mark unused parameters.
13172 (Info-directory-find-file, Info-directory-find-node)
13173 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13174 (Info-virtual-index-find-node, Info-apropos-find-file)
13175 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13176 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13177 (Info-virtual-index): Remove unused local variable `nodename'.
13178
b87a8200 131792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13180
b87a8200
DD
13181 * net/rcirc.el: Update my e-mail address.
13182 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13183
3b2ff876
CY
131842011-04-05 Chong Yidong <cyd@stupidchicken.com>
13185
13186 * startup.el (command-line): Save the cursor's theme-face
13187 directly, instead of using face-override-spec.
13188
13189 * custom.el (load-theme): Minor optimization in assigning faces.
13190
8d17e7ca
JB
131912011-04-04 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * help-fns.el (describe-variable): Complete all variables having
13194 documentation, including keywords.
13195 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13196
2fbc1934
JB
131972011-04-04 Juanma Barranquero <lekktu@gmail.com>
13198
13199 Convert to lexical-binding.
13200
13201 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13202 (bs--get-marked-string, bs--get-modified-string)
13203 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13204 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13205 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13206
13207 * ehelp.el (electric-help-execute-extended)
13208 (electric-help-ctrl-x-prefix):
13209 * hexl.el (hexl-revert-buffer-function):
13210 * linum.el (linum-after-change, linum-after-scroll):
13211 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13212
13213 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13214
74f50695
DU
132152011-04-04 Daiki Ueno <ueno@unixuser.org>
13216
13217 * epa-dired.el:
13218 * epa-mail.el:
13219 * epa-hook.el:
13220 * epa-file.el:
13221 * epa.el:
13222 * epg.el: Use lexical binding.
13223
c11325f7
CY
132242011-04-03 Chong Yidong <cyd@stupidchicken.com>
13225
0d9e9a12
CY
13226 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13227
c11325f7 13228 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13229 dictionary case for flyspell-mark-duplications-exceptions.
13230 Use regexp matching for languages.
c11325f7
CY
13231 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13232 default dictionary (Bug#7926).
13233
da91b5f2
CY
132342011-04-02 Chong Yidong <cyd@stupidchicken.com>
13235
099c39a4
JB
13236 * emacs-lisp/package.el (package--with-work-buffer):
13237 Recognize https URLs.
da91b5f2 13238
099c39a4
JB
13239 * net/network-stream.el: Move from gnus/proto-stream.el.
13240 Change prefix to network-stream throughout.
da91b5f2
CY
13241 (open-protocol-stream): Merge into open-network-stream, leaving
13242 open-protocol-stream as an alias. Handle nil BUFFER args.
13243
13244 * subr.el (open-network-stream): Move to net/network-stream.el.
13245
afa8e9f6
GM
132462011-04-02 Glenn Morris <rgm@gnu.org>
13247
1d2e369d
GM
13248 * find-dired.el (find-exec-terminator): New option.
13249 (find-ls-option): Test for -ls support.
13250 (find-ls-subdir-switches): Test for -b in find-ls-option.
13251 (find-dired, find-grep-dired): Doc fixes.
13252 (find-dired): Use find-exec-terminator.
13253
8abb7da8 13254 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13255 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13256 (find-name-arg): Remove purecopy.
8abb7da8 13257
f3ca7378
GM
13258 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13259 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13260 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13261 accordingly. Don't add the null-device if not needed.
13262
afa8e9f6
GM
13263 * files.el (save-some-buffers): Doc fix.
13264
35eae264
EZ
132652011-04-02 Eli Zaretskii <eliz@gnu.org>
13266
13267 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13268
26b51db5
JB
132692011-04-01 Juanma Barranquero <lekktu@gmail.com>
13270
13271 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13272 Use `dolist' rather than `mapcar'.
13273
7200d79c
SM
132742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13275
03408648 13276 Add lexical binding.
7200d79c 13277
03408648
SM
13278 * subr.el (apply-partially): Use new closures rather than CL.
13279 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13280 (dolist, dotimes): Use slightly different expansion for lexical code.
13281 (functionp): Move to C.
13282 (letrec): New macro.
13283 (with-wrapper-hook): Use it and apply-partially instead of CL.
13284 (eval-after-load): Preserve lexical-binding.
13285 (save-window-excursion, with-output-to-temp-buffer): Turn them
13286 into macros.
7200d79c 13287
03408648
SM
13288 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13289
13290 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13291 than the arglist.
13292 (help-add-fundoc-usage): Don't add `Not documented'.
13293 (help-function-arglist): Handle closures, subroutines, and new
13294 byte-code-functions.
13295 (help-make-usage): Remove leading underscores.
13296 (describe-function-1): Handle closures.
13297 (describe-variable): Use special-variable-p for completion.
13298
13299 * files.el (lexical-binding): Declare safe.
f488fb65 13300
03408648
SM
13301 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13302 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13303 (pcase): Add `let' pattern.
13304 Change memoization so it actually works.
13305 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13306 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13307 <let>: New case.
f488fb65 13308
03408648
SM
13309 * emacs-lisp/macroexp.el: Use lexical binding.
13310 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13311 Don't convert ' to #' without checking that it's indeed quoting
13312 a lambda.
13313
13314 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13315 Use eval-sexp-add-defvars.
03408648
SM
13316 (eval-sexp-add-defvars): New fun.
13317
13318 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13319
13320 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13321 Don't autoload.
13322 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13323 than the internal `byte-compile-lambda'.
13324 (defmethod): Don't hide code under quotes.
13325 (eieio-defmethod): New `code' argument.
13326
13327 * emacs-lisp/eieio-comp.el: Remove.
13328
13329 * emacs-lisp/edebug.el (edebug-eval-defun)
13330 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13331 (edebug-toggle): Avoid `eval'.
13332
13333 * emacs-lisp/disass.el (disassemble-internal): Handle new
13334 `closure' objects.
13335 (disassemble-1): Handle new byte codes.
13336
13337 * emacs-lisp/cl.el (pushnew): Silence warning.
13338
13339 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13340 (cl-byte-compile-throw): Remove.
13341 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13342
13343 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13344 closures.
13345
13346 * emacs-lisp/cconv.el: New file.
13347
13348 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13349 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13350 (byte-compile-initial-macro-environment):
13351 Handle declare-function here.
13352 (byte-compile--lexical-environment): New var.
13353 (byte-stack-ref, byte-stack-set, byte-discardN)
13354 (byte-discardN-preserve-tos): New lap codes.
13355 (byte-interactive-p): Don't use any more.
13356 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13357 New macros.
13358 (byte-compile-lapcode): Use them and handle new lap codes.
13359 (byte-compile-obsolete): Remove.
13360 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13361 (byte-compile-arglist-warn): Check late def of inlinable funs.
13362 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13363 since they should have been expanded by now.
13364 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13365 (byte-compile-from-buffer): Remove unused second arg.
13366 (byte-compile-preprocess): New function.
13367 (byte-compile-toplevel-file-form): New function to distinguish
13368 file-form calls from outside from file-form calls from hunk-handlers.
13369 (byte-compile-file-form): Simplify.
13370 (byte-compile-file-form-defsubst): Remove.
13371 (byte-compile-file-form-defmumble): Simplify now that
13372 byte-compile-lambda always returns a byte-code-function.
13373 (byte-compile): Preprocess.
13374 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13375 Remove, not used any more.
13376 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13377 (byte-compile-make-args-desc): New funs.
13378 (byte-compile-lambda): Handle lexical functions. Always return
13379 a byte-code-function.
13380 (byte-compile-reserved-constants): New var, to make up room for
13381 closed-over variables.
13382 (byte-compile-constants-vector): Obey it.
13383 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13384 (byte-compile-macroexpand-declare-function): New function.
13385 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13386 byte-code-functions.
13387 (byte-compile-form): Check obsolescence here.
13388 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13389 (byte-compile-variable-ref): Remove.
13390 (byte-compile-dynamic-variable-op): New fun.
13391 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13392 (byte-compile-variable-set): New funs.
13393 (byte-compile-discard): Add 2 args.
13394 (byte-compile-stack-ref, byte-compile-stack-set)
13395 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13396 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13397 macroexpand-all instead.
13398 (byte-compile-quote-form): Remove.
13399 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13400 (byte-compile-bind, byte-compile-unbind): New funs.
13401 (byte-compile-let): Handle let* and lexical binding.
13402 (byte-compile-let*): Remove.
13403 (byte-compile-catch, byte-compile-unwind-protect)
13404 (byte-compile-track-mouse, byte-compile-condition-case):
13405 Handle a new :fun-body form, used for lexical scoping.
13406 (byte-compile-save-window-excursion)
13407 (byte-compile-with-output-to-temp-buffer): Remove.
13408 (byte-compile-defun): Simplify.
13409 (byte-compile-stack-adjustment): New fun.
13410 (byte-compile-out): Use it.
13411 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13412
13413 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13414 handler any more.
13415
13416 * emacs-lisp/byte-opt.el: Use lexical binding.
13417 (byte-inline-lapcode): Remove (to bytecomp).
13418 (byte-compile-inline-expand): Pay attention to inlining to/from
13419 lexically bound code.
13420 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13421 any more.
13422 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13423 any more and don't call compiler-macros.
13424 (byte-compile-splice-in-already-compiled-code): Remove.
13425 (byte-code): Don't inline any more.
13426 (disassemble-offset): Receive `bytes' as argument rather than via
13427 dynamic scoping.
13428 (byte-compile-tag-number): Declare before first use.
13429 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13430 `return' even if make-spliceable.
13431 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13432 obsolete interactive-p.
13433 (byte-optimize-lapcode): Optimize new lap-codes.
13434 Don't trip up on new form of `byte-constant' lap code.
13435
13436 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13437
13438 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13439
13440 * custom.el (custom-initialize-default, custom-declare-variable):
13441 Use `defvar'.
13442
13443 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13444 New variables.
13445 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13446 (COMPILE_FIRST): Add macroexp and cconv.
13447 * makefile.w32-in: Mirror changes in Makefile.in.
13448
13449 * vc/cvs-status.el:
13450 * vc/diff-mode.el:
13451 * vc/log-edit.el:
13452 * vc/log-view.el:
13453 * vc/smerge-mode.el:
13454 * textmodes/bibtex-style.el:
13455 * textmodes/css.el:
13456 * startup.el:
13457 * uniquify.el:
da91b5f2
CY
13458 * minibuffer.el:
13459 * newcomment.el:
13460 * reveal.el:
13461 * server.el:
13462 * mpc.el:
13463 * emacs-lisp/smie.el:
13464 * doc-view.el:
13465 * dired.el:
03408648
SM
13466 * abbrev.el: Use lexical binding.
13467
0f0c1f27
EZ
134682011-04-01 Eli Zaretskii <eliz@gnu.org>
13469
13470 * info.el (info-display-manual): New function.
13471
c82b2579
SM
134722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13475
221ddf68
TH
134762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13477
13478 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13479 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13480
cba6e77e
GM
134812011-03-31 Glenn Morris <rgm@gnu.org>
13482
e040639f
GM
13483 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13484
cba6e77e
GM
13485 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13486
6d0f1c9e
CS
134872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13488
13489 * progmodes/python.el (python-default-interpreter)
13490 (python-python-command-args, python-jython-command-args)
13491 (python-which-shell, python-which-args, python-which-bufname)
13492 (python-file-queue, python-comint-output-filter-function)
13493 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13494 variables and functions.
13495
3e2d70fd
SM
134962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13499 (completion-in-region-mode): New minor mode.
13500 (completion-in-region): Use it.
13501 (completion-in-region--data, completion-in-region-mode-map): New vars.
13502 (completion-in-region--postch): New function.
13503 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13504 New vars.
13505 (completion--capf-wrapper): New function.
13506 (completion-at-point): Use it to track well-behavedness of
13507 hook functions.
13508 (completion-help-at-point): New command.
13509
f3e4086c
JM
135102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13511
13512 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13513 syntax class to search for whitespace on a single line
13514 (Message-ID: <4D938140.4030905@redhat.com>).
13515
eb7ffc14
LL
135162011-03-30 Leo Liu <sdl.web@gmail.com>
13517
13518 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13519 New commands.
13520 (edit-abbrevs-map): Bind them here.
13521 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13522
d806ab68
KM
135232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13524
13525 * allout.el (allout-hide-by-annotation, allout-flag-region):
13526 Reduce possibility of overlay leakage by making them volatile.
13527
13528 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13529 hash is not shared between buffers. Mode initialization is
13530 responsible for giving it a useful starting value.
13531 (allout-item-span): Reduce possibility of overlay leakage by
13532 making them volatile.
13533 (allout-widgets-count-buttons-in-region): Add diagnostic function
13534 for tracking down button overlay leaks.
13535
ea622834
LL
135362011-03-29 Leo Liu <sdl.web@gmail.com>
13537
13538 * ido.el (ido-read-internal): Use the default history var
13539 minibuffer-history if no HISTORY is specified.
13540
b62f8267
G
135412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13542
03408648
SM
13543 * net/imap.el (imap-shell-open, imap-process-connection-type):
13544 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13545 Kerberos, SSL, other subprocesses.
13546
947b6566
LL
135472011-03-28 Leo Liu <sdl.web@gmail.com>
13548
13549 * abbrev.el (abbrev-table-empty-p): New function.
13550 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13551 nonempty ones. (Bug#5937)
13552
5ffb62aa
JD
135532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13554
13555 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13556
7a097943
LL
135572011-03-27 Leo Liu <sdl.web@gmail.com>
13558
13559 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13560 for foreground and background colors.
13561 (ansi-color-make-color-map): Adapt.
13562
c5b40130
LL
135632011-03-25 Leo Liu <sdl.web@gmail.com>
13564
1f48f7d2
LL
13565 * midnight.el (midnight-time-float): Remove. Note it calculates
13566 the microsecond component incorrectly and seconds-to-time does the
13567 same job.
625897ec 13568 Remove redundant (require 'timer).
1f48f7d2 13569
c5b40130
LL
13570 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13571 (ido-completions): Remove unused arguments. (Bug#8329)
13572
d86d2721
SM
135732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * minibuffer.el (completion--flush-all-sorted-completions):
13576 Remove itself from hook.
13577 (completion-at-point): Let the functions perform the completion
13578 immediately and return nil or t.
13579 * comint.el (comint-dynamic-complete-functions): Now identical to
13580 completion-at-point-functions.
13581 (comint-dynamic-list-input-ring): Remove unused var `index'.
13582 (comint--match-partial-filename, comint--unquote&expand-filename):
13583 New funs, split from comint-match-partial-filename.
13584 (comint-dynamic-complete): Use completion-at-point.
13585 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13586
e8974c48
DA
135872011-03-24 Drew Adams <drew.adams@oracle.com>
13588
13589 * thingatpt.el: Support `defun'.
13590
def71b5e
LL
135912011-03-23 Leo Liu <sdl.web@gmail.com>
13592
cb5af48e
LL
13593 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13594
def71b5e
LL
13595 * help-mode.el (help-mode-finish): Tweak regexp.
13596
927c53e7
GM
135972011-03-23 Glenn Morris <rgm@gnu.org>
13598
18d05bed
GM
13599 * eshell/esh-opt.el (eshell-eval-using-options):
13600 Do not bind unused local variable `eshell-option-stub'.
13601
927c53e7
GM
13602 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13603
9d0da923
JB
136042011-03-22 Juanma Barranquero <lekktu@gmail.com>
13605
13606 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13607 keymap variable in `with-no-warnings' to avoid a warning when the
13608 keymap has been already `defconst'ed.
13609
4b978a67
LL
136102011-03-22 Leo Liu <sdl.web@gmail.com>
13611
13612 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13613 encode all chars in abbrevs; otherwise use emacs-mule or
13614 utf-8-emacs. (Bug#8308)
13615
5fd62452
JB
136162011-03-22 Juanma Barranquero <lekktu@gmail.com>
13617
0b1596c6
JB
13618 * simple.el (backward-delete-char-untabify):
13619 Avoid warning about using `delete-backward-char'.
13620
5fd62452
JB
13621 * image.el (image-type-file-name-regexps): Make it variable.
13622 `imagemagick-register-types' modifies it, and the user may want
13623 to add new extensions for known image types.
13624 (imagemagick-register-types): Throw error if not using ImageMagick.
13625
0b4e93f1
LL
136262011-03-22 Leo Liu <sdl.web@gmail.com>
13627
13628 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13629 located before rcirc-prompt-end-marker.
13630 (rcirc-complete): Error if point is not after rcirc prompt.
13631 Handle the case when table is nil.
9882e214 13632 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13633
fccee4ab
CY
136342011-03-22 Chong Yidong <cyd@stupidchicken.com>
13635
13636 * custom.el (custom--inhibit-theme-enable): Make it affect only
13637 custom-theme-set-variables and custom-theme-set-faces.
13638 (provide-theme): Ignore custom--inhibit-theme-enable.
13639 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13640 (custom-enabling-themes): Delete variable.
d86d2721
SM
13641 (enable-theme): Accept only loaded themes as arguments.
13642 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13643 (custom-enabled-themes): Forbid themes from setting this.
13644 Eliminate use of custom-enabling-themes.
13645 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13646
af896da6
LL
136472011-03-21 Leo Liu <sdl.web@gmail.com>
13648
13649 * ido.el (ido-read-internal): Add ido-selected to history instead
13650 of user input.
13651
78f64af0
SM
136522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * subr.el (deferred-action-list, deferred-action-function):
13655 Mark obsolete.
13656
b16ac1ec
LL
136572011-03-21 Leo Liu <sdl.web@gmail.com>
13658
810f7698
LL
13659 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13660 change on 2011-02-13 (bug#8309).
13661
b16ac1ec
LL
13662 * minibuffer.el (read-file-name-function): Change default value.
13663 (read-file-name--defaults): Rename from read-file-name-defaults.
13664 (read-file-name-default): Rename from read-file-name.
13665 (read-file-name): Call read-file-name-function.
13666
4e05e67e
GM
136672011-03-21 Glenn Morris <rgm@gnu.org>
13668
13669 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13670 Doc fixes.
13671
4359915b
CY
136722011-03-21 Chong Yidong <cyd@stupidchicken.com>
13673
13674 * cus-theme.el: Add missing provide statement.
13675 (customize-create-theme): Extract theme value correctly.
13676 (custom-theme-visit-theme): Autoload.
13677 (customize-create-theme): Prompt before inserting default faces.
13678
1fe275ee
JB
136792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13680
13681 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13682 units and musical notes.
13683
cd394be1 136842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13685
13686 * ido.el (ido-read-internal): Use completing-read-default.
13687 (ido-completing-read): Fix compatibility with completing-read.
13688
7d476bde
CO
136892011-03-20 Christian Ohler <ohler@gnu.org>
13690
13691 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13692 (ert-delete-all-tests): Use `called-interactively-p' rather than
13693 `interactive-p'.
13694 (ert--make-xrefs-region): Respect END.
13695
fe0fb33e
CY
136962011-03-19 Chong Yidong <cyd@stupidchicken.com>
13697
ff854b0b
CY
13698 * dired-aux.el (dired-create-directory): Signal an error if the
13699 directory already exists (Bug#8246).
13700
fe0fb33e
CY
13701 * facemenu.el (list-colors-display): Call list-faces-display
13702 inside with-help-window.
13703 (list-colors-print): Use display property to align the final
13704 column, instead of checking window-width.
13705
576bce32
EZ
137062011-03-19 Eli Zaretskii <eliz@gnu.org>
13707
4d61f28d 13708 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13709 windows-nt systems.
13710 (emerge-protect-metachars): Quote correctly for ms-dos and
13711 windows-nt systems.
13712
89c41d68 137132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13714
13715 * info.el (info-initialize): Replace all uses of `:' with
13716 path-separator for compatibility with non-Unix systems.
13717 Cache quoting of path-separator. (Bug#8258)
13718
b14e3e21 137192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13720
13721 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13722 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13723 (mouse-avoidance-mode): Fix typos in docstrings.
13724
4525ce3e
CY
137252011-03-19 Chong Yidong <cyd@stupidchicken.com>
13726
13727 * startup.el (package-subdirectory-regexp): Move from package.el.
13728 Omit \\` and \\', and let callers add them.
13729
13730 * emacs-lisp/package.el (package-strip-version)
13731 (package-load-all-descriptors): Add \\` and \\' to
13732 package-subdirectory-regexp before using it.
13733 (package-untar-buffer): New arg DIR; ensure that file untars only
13734 into this expected directory. Remove superfluous delete-region.
13735 (package-unpack): Caller changed.
13736 (package-tar-file-info): Use package-subdirectory-regexp.
13737
a904a09a 137382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13739
a904a09a
SM
13740 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13741 diff-mode-shared-map (bug#8284).
13742 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13743
137442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13745
13746 * calendar/time-date.el (format-seconds): Use assoc instead of
13747 assoc-string, since assoc-string doesn't exist in XEmacs.
13748
171fc304
JB
137492011-03-17 Juanma Barranquero <lekktu@gmail.com>
13750
13751 * custom.el (custom-known-themes): Reflow docstring.
13752 (custom-theme-load-path): Fix typo in docstring.
13753 (load-theme): Fix typo in error message.
13754 (custom-available-themes, custom-variable-theme-value):
13755 Use `let', not `let*'.
13756
d71990a1
JB
137572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13758
13759 * calc/README: Mention inclusion of musical notes.
13760
13761 * calc/calc-units.el (calc-lu-quant): Rename from
13762 `calc-logunits-quantity'.
13763 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13764 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13765 (calc-db): Rename from `calc-dblevel'.
13766 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13767 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13768 (calc-np): Rename from `calc-nplevel'.
13769 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13770 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13771 (calc-lu-plus): Rename from `calc-logunits-add'.
13772 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13773 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13774 (calc-lu-minus): Rename from `calc-logunits-sub'.
13775 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13776 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13777 (calc-lu-times): Rename from `calc-logunits-mul'.
13778 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13779 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13780 (calc-lu-divide): Rename from `calc-logunits-div'.
13781 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13782 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13783
13784 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13785 functions being autoloaded.
13786
13787 * calc/calc.el (calc-lu-power-reference): Rename from
13788 `calc-logunits-power-reference'.
13789 (calc-lu-field-reference): Rename from
13790 `calc-logunits-field-reference'.
13791
7a71b18d
GM
13792 * calc/calc-help.el (calc-l-prefix-help):
13793 Mention musical note functions.
d71990a1 13794
40c2934b
SM
137952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * minibuffer.el (completion-all-sorted-completions):
13798 Use :completion-cycle-penalty text property if present.
13799
b0911414
KM
138002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13801
13802 * allout.el (allout-yank-processing): Adjust for new rebulleting
13803 regime so bullet being yanked is used without prompting the user
13804 for a choice.
13805
8a05b668
JB
138062011-03-16 Juanma Barranquero <lekktu@gmail.com>
13807
13808 * startup.el (command-line): Warn the user that _emacs is deprecated.
13809
5ba5fb81
JB
138102011-03-16 Juanma Barranquero <lekktu@gmail.com>
13811
13812 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13813 (delphi-verbose, delphi-comment-face, delphi-string-face)
13814 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13815 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13816 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13817 (delphi-new-comment-line, delphi-font-lock-defaults)
13818 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13819 Fix typos in docstrings.
13820
2dab465b
KM
138212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13822
5ba5fb81 13823 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13824 Invert the roles of character and string values for INSTEAD, so a
13825 string is used for the more common case of a defaulting prompt.
13826
0adf5618
SM
138272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * progmodes/ruby-mode.el (ruby-backward-sexp):
13830 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13831 * play/gamegrid.el (gamegrid-make-face):
13832 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13833 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13834 * notifications.el (notifications-notify):
13835 * net/xesam.el (xesam-search-engines):
13836 * net/quickurl.el (quickurl-list-insert):
13837 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13838
d72700e5
CY
138392011-03-15 Chong Yidong <cyd@stupidchicken.com>
13840
13841 * startup.el (command-line): Update package subdirectory regexp.
13842
49c5410a
SM
138432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13844
c6eee9aa
SM
13845 * allout.el (allout-abbreviate-flattened-numbering)
13846 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13847
49c5410a
SM
13848 * subr.el (read-char-choice): Only show the cursor after the prompt,
13849 not after the answer.
13850
047b2bb9
KR
138512011-03-15 Kevin Ryde <user42@zip.com.au>
13852
13853 * help-fns.el (variable-at-point): Skip leading quotes, if any
13854 (bug#8253).
13855
0a57d256
SM
138562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13859 warning message.
13860
77c992bc
MA
138612011-03-14 Michael Albinus <michael.albinus@gmx.de>
13862
13863 * shell.el (shell): When called interactively, offer to change the
13864 shell file name on remote hosts.
13865
eebc475d
TZ
138662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13867
13868 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13869 integration for LDAP parameters. The host, base, user or binddn,
13870 and secret tokens can be specified in a netrc file, for instance.
13871 This is optional because an `auth-source' parameter must be
13872 specified in the search attributes.
13873
9d05d1ba
JB
138742011-03-13 Juanma Barranquero <lekktu@gmail.com>
13875
13876 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13877
09d9db2c
GM
138782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13881 into declaration. Remove redundant and harmful binding.
13882
138832011-03-12 Eli Zaretskii <eliz@gnu.org>
13884
13885 * files.el (file-ownership-preserved-p): Pass `integer' as an
13886 explicit 2nd argument to `file-attributes'. If the file's owner
13887 is the Administrators group on Windows, and the current user is
13888 Administrator, consider that a match.
13889
13890 * server.el (server-ensure-safe-dir): Consider server directory
13891 safe on MS-Windows if its owner is the Administrators group while
13892 the current Emacs user is Administrator. Use `=' to compare
13893 numerical UIDs, since they could be integers or floats.
13894
219bd536
JB
138952011-03-12 Juanma Barranquero <lekktu@gmail.com>
13896
13897 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13898
f3afd36b
MA
138992011-03-12 Michael Albinus <michael.albinus@gmx.de>
13900
13901 Sync with Tramp 2.2.1.
13902
13903 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13904
13905 * net/trampver.el: Update release number.
13906
3aaaa6f1
SM
139072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13908
94642599
SM
13909 * progmodes/compile.el (compilation--previous-directory): Fix up
13910 various nil/dead-marker mismatches (bug#8014).
13911 (compilation-directory-properties, compilation-error-properties):
13912 Don't call it at a position past the one we're about to change.
13913
3aaaa6f1
SM
13914 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13915 Disable obsolescence warnings in the file that declares it.
13916
14239447
KM
139172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13918
099c39a4
JB
13919 * allout-widgets.el (allout-widgets-tally):
13920 Initialize allout-widgets-tally as a hash table rather than nil to
13921 prevent mode-line redisplay warnings. Also, clarify the module
13922 description and fix a comment typo.
14239447 13923
135e287c
JB
139242011-03-11 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * help-fns.el (describe-variable): Don't complete keywords.
13927 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13928
ffbf300e
CY
139292011-03-10 Chong Yidong <cyd@stupidchicken.com>
13930
ba08b241
CY
13931 * emacs-lisp/package.el (package-version-join): Impose a standard
13932 string representation for pre/alpha/beta version lists.
13933 (package-unpack-single): Standardize the directory name by passing
13934 it through package-version-join.
13935 (package-strip-rcs-id): Accept any version string that does not
13936 signal an error in version-to-list.
ffbf300e 13937
f346fd6b
MA
139382011-03-10 Michael Albinus <michael.albinus@gmx.de>
13939
13940 * simple.el (delete-trailing-whitespace): Return nil for the
13941 benefit of `write-file-functions'.
13942
ccb55d27
GM
139432011-03-10 Glenn Morris <rgm@gnu.org>
13944
5ceaac0c
GM
13945 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13946
02da65ff
GM
13947 * vc/vc-git.el (vc-git-program): New option.
13948 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13949 (vc-git--call): Use it.
13950
b2f603cc
GM
13951 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13952
5772caab
GM
13953 * cus-edit.el (Custom-newline): If no button at point, look
13954 for a subgroup button at start-of-line. (Bug#2298)
13955
ccb55d27
GM
13956 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13957
ec6ecaed
JD
139582011-03-10 Julien Danjou <julien@danjou.info>
13959
13960 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13961 `cursor-type' is nil.
13962
9d5aa01d
JB
139632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13964
13965 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13966
b6a5875b
KM
139672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13968
7a71b18d 13969 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13970 preserves the existing header prefix, rebulleting it if necessary,
13971 rather than replacing it. This is necessary for proper operation
13972 of cooperative addons like allout-widgets.
1154d12e
JB
13973 (allout-make-topic-prefix, allout-rebullet-heading):
13974 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13975 value as alternate bullet to be used, instead of prompting the user
13976 for a bullet character.
b6a5875b 13977
ee545c35
MA
139782011-03-09 Michael Albinus <michael.albinus@gmx.de>
13979
d86d2721
SM
13980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13981 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13982 `tramp-default-port'.
13983
c47971d7
DD
139842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13985
13986 * net/rcirc.el (rcirc-handler-001): Remove useless
13987 with-rcirc-process-buffer.
13988 (rcirc-check-auth-status): Swap arguments to string-match.
13989
13522cb4
GM
139902011-03-09 Glenn Morris <rgm@gnu.org>
13991
0be6f4f1
GM
13992 * shell.el (shell-mode):
13993 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13994
13522cb4
GM
13995 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13996 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13997
515de2e3
CY
139982011-03-08 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * emacs-lisp/package.el (package-refresh-contents)
14001 (package-menu-execute): Use condition-case-no-debug.
14002
b511b994
MA
140032011-03-08 Michael Albinus <michael.albinus@gmx.de>
14004
14005 * simple.el (shell-command-to-string): Use `process-file'.
14006
14007 * emacs-lisp/package.el (package-tar-file-info): Handle also
14008 remote files.
14009
d86d2721
SM
14010 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14011 Use `equal' for upload base check.
b511b994 14012
25bbfb31
AM
140132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14014
14015 * textmodes/texinfo.el (texinfo-environments):
14016 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14017
be996521
GM
140182011-03-08 Glenn Morris <rgm@gnu.org>
14019
e9c8529f
GM
14020 * cus-start.el (cursor-in-non-selected-windows):
14021 Fix :set quoting oddness. (Bug#8192)
14022
be996521
GM
14023 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14024 in some setf expressions. (Bug#2159)
14025
2bb5649e
CY
140262011-03-08 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * custom.el (custom-available-themes): Return themes in
14029 alphabetical order.
14030
33383987 14031See ChangeLog.15 for earlier changes.
e3d51b27
MR
14032
14033;; Local Variables:
14034;; coding: utf-8
e3d51b27
MR
14035;; End:
14036
acaf905b 14037 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14038
14039 This file is part of GNU Emacs.
14040
14041 GNU Emacs is free software: you can redistribute it and/or modify
14042 it under the terms of the GNU General Public License as published by
14043 the Free Software Foundation, either version 3 of the License, or
14044 (at your option) any later version.
14045
14046 GNU Emacs is distributed in the hope that it will be useful,
14047 but WITHOUT ANY WARRANTY; without even the implied warranty of
14048 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14049 GNU General Public License for more details.
14050
14051 You should have received a copy of the GNU General Public License
14052 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.