* lisp/paths.el (Info-default-directory-list): Make it a defcustom.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
04188bb9
GM
12012-05-26 Glenn Morris <rgm@gnu.org>
2
3 * paths.el (Info-default-directory-list): Make it a defcustom,
4 mainly so that we can use custom-initialize-delay.
5
a179e3f7
SM
62012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7
43416392
SM
8 * subr.el (buffer-has-markers-at): Mark obsolete.
9
a179e3f7 10 * subr.el (lambda): Use declare.
43416392 11
a179e3f7
SM
12 * emacs-lisp/lisp-mode.el (lambda):
13 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14
34a008d9
AH
152012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16
17 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
18
0a3b289f
GM
192012-05-26 Glenn Morris <rgm@gnu.org>
20
21 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
22
758c81e8
GM
232012-05-25 Glenn Morris <rgm@gnu.org>
24
f9f334f0
GM
25 * paths.el: Remove no-byte-compile.
26 * loadup.el: No need to load paths.el uncompiled.
27
87eb79c2
GM
28 * image.el (imagemagick-types-inhibit): Doc fix.
29
758c81e8
GM
30 * version.el: Remove no-byte-compile and associated formatting.
31 * loadup.el: No need to load version.el uncompiled. AFAICS, this
32 is ancient code from when there was an "inc-vers.el".
33
e7e85dc0
SM
342012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * progmodes/gdb-mi.el: Minor style changes.
37 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
38 Turn into minor modes.
39 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
40 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
41 (gdb-shell): Remove unneeded let-binding.
42 (gdb-get-many-fields): Eliminate O(n²) behavior.
43
f31237a4
EZ
442012-05-25 Eli Zaretskii <eliz@gnu.org>
45
46 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
47 platforms that don't link in fontset.c.
48
bc1b21bb
JL
492012-05-25 Juri Linkov <juri@jurta.org>
50
51 Use the same diff color scheme as in modern VCSes (bug#10181).
52
53 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
54 to avoid confusion with `diff-added' that now uses green colors.
55 (diff-removed): Use shades of red.
56 (diff-added): Use shades of green.
57 (diff-changed): Leave just the yellow color.
58 (diff-use-changed-face): New variable.
59 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
60 how to highlight context diff changes.
61 (diff-refine-change): Use shades of yellow.
62 (diff-refine-removed): New face that uses shades of red.
63 (diff-refine-added): New face that uses shades of green.
64 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
65 `diff-refine-removed' in the call to `smerge-refine-subst'
66 depending on the value of `diff-use-changed-face'.
67
68 * vc/smerge-mode.el (smerge-mine): Use shades of red.
69 (smerge-other): Use shades of green.
70 (smerge-base): Use shades of yellow.
71 (smerge-refined-change): Empty face.
72 (smerge-refined-removed): New face that uses shades of red.
73 (smerge-refined-added): New face that uses shades of green.
74 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
75 args `props-r' and `props-a', and use them. Doc fix.
76 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
77 on its value use different faces `smerge-refined-change',
78 `smerge-refined-removed', `smerge-refined-added' in the call to
79 `smerge-refine-subst'.
80
81 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
82 Add face condition `min-colors 88' with shades of red.
83 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
84 `min-colors 88' with shades of green.
85 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
86 `min-colors 88' with shades of yellow.
87
6df9112c
GM
882012-05-24 Glenn Morris <rgm@gnu.org>
89
ead5edc0
GM
90 * paths.el (prune-directory-list, remote-shell-program): Move to...
91 * files.el (prune-directory-list, remote-shell-program): ...here.
92 For the latter, delay initialization, prefer ssh, just search PATH.
93
f18b81e6
GM
94 * paths.el (term-file-prefix): Move to faces.el (the only user).
95 * faces.el (term-file-prefix): Move here, make it a defcustom.
96
ee2f89a6
GM
97 * paths.el (news-directory, news-path, news-inews-program):
98 Move to gnus/nnspool.el.
61a583ca 99
f8815e4c
GM
100 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
101
c8f3b42c
GM
102 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
103 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
104 Make the latter a defcustom, with a delayed initialization.
105
6df9112c
GM
106 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
107 These were deleted from Gnus itself late 2010.
108
5dadff36
JB
1092012-05-22 Juanma Barranquero <lekktu@gmail.com>
110
9e1701c6
JB
111 * progmodes/which-func.el (which-func-ff-hook):
112 Check against user-error, not error.
113
bd7239f5 114 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
115 cl-specs.el, which no longer exists.
116
3290526d
GM
1172012-05-22 Glenn Morris <rgm@gnu.org>
118
119 * info.el (info-emacs-bug): New command.
120 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
121 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
122
ff0c3cfb
GM
1232012-05-21 Glenn Morris <rgm@gnu.org>
124
125 * makefile.w32-in (update-subdirs-SH):
126 * Makefile.in (update-subdirs): Update for moved update-subdirs.
127
5814f126
SM
1282012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
129
a52c0aa0
SM
130 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
131
5814f126
SM
132 * progmodes/compile.el (compilation-error-regexp-alist-alist):
133 Simplify Maven regexp, and make sure the file can't start with a space
134 (bug#11517).
135
b847032c
GM
1362012-05-21 Glenn Morris <rgm@gnu.org>
137
138 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
139 Scrap superfluous subshells.
140
3858bfe7
SM
1412012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
144 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
145
d14b0029
JB
1462012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
147
148 * calc/calc.el (calc-ensure-consistent-units): New variable.
149
a52c0aa0
SM
150 * calc/calc-units.el (math-consistent-units-p)
151 (math-check-unit-consistency): New functions.
152 (calc-quick-units, calc-convert-units):
153 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
154 is non-nil.
d14b0029
JB
155 (calc-extract-units): Fix typo.
156
60c4db3a
SM
1572012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
158
77f3b62e
SM
159 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
160
60c4db3a
SM
161 * textmodes/flyspell.el: Commenting style, plus code simplifications.
162 (flyspell-default-deplacement-commands): Don't spell check after
163 repeated window/frame switches (e.g. triggered by mouse-movement).
164 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
165 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
166 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
167 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
168 Remove unused vars.
169 (flyspell-get-casechars, flyspell-get-not-casechars):
170 Simplify; Don't bother removing a ] just to add it back.
171 * textmodes/ispell.el (ispell-program-name): Use executable-find.
172
b1a10716
RS
1732012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
174
175 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
176 New functions.
bd7239f5 177 (math-function-table): Add support for more C functions.
b1a10716 178
3f1b25b5
AM
1792012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
180
181 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
182 (flyspell-debug-signal-word-checked): Protect delay handling for
183 otherchars against empty otherchars.
184
b581bb5c
SM
1852012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
188 their respective macro declarations.
189 * skeleton.el (define-skeleton):
190 * progmodes/compile.el (define-compilation-mode):
191 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
192 (define-ibuffer-filter):
193 * emacs-lisp/generic.el (define-generic-mode):
194 * emacs-lisp/easy-mmode.el (define-minor-mode)
195 (define-globalized-minor-mode):
196 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
197 * emacs-lisp/byte-run.el (defsubst):
198 * custom.el (deftheme): Add doc-string metadata.
199
70b8ef8f
SM
2002012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
203
b1198e17
SM
2042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
205
9abdc45d
SM
206 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
207
b1198e17
SM
208 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
209 * emacs-lisp/cl-macs.el: Idem.
210 * emacs-lisp/cl-specs.el: Remove.
211
4735906a
SM
2122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 Minor renaming of internal CL functions and variables.
215 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
216 (cl--position): Rename from cl-position.
217 (cl--delete-duplicates): Rename from cl-delete-duplicates.
218 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
219 (cl--random-state): Rename from *random-state*.
220
ac348012
SM
2212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
224 parens around the arg list (bug#11499).
225
a0a79cde
JL
2262012-05-17 Juri Linkov <juri@jurta.org>
227
228 * isearch.el (word-search-regexp, word-search-backward)
229 (word-search-forward, word-search-backward-lax)
230 (word-search-forward-lax): Move functions from search.c
231 (bug#10145, bug#11381).
232
65034a51
AM
2332012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
234
235 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
236 (flyspell-debug-signal-word-checked): Delay for otherchars as for
237 normal word components.
238
1a72a195
SM
2392012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * minibuffer.el (completion--sifn-requote): Fix last change.
242 (minibuffer-local-must-match-filename-map):
243 Move define-obsolete-variable-alias before its var.
244
fdb058c2
SM
2452012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
246
c41045e6
SM
247 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
248
036dfb8b
SM
249 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
250 behavior.
251 (completion--string-equal-p): New function.
252 (completion--twq-all): Use it to get better assertion failure data.
253
2473256d
SM
254 Only handle ".." and '..' quoting in shell-mode (bug#11466).
255 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
256 (shell--requote-argument): New functions.
257 (shell-completion-vars): Use them.
258 (shell--parse-pcomplete-arguments): Rename from
259 shell-parse-pcomplete-arguments.
260 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
261 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
262 Obey comint-file-name-quote-list.
263
fdb058c2
SM
264 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
265 (smie-indent-keyword): Use it.
266
51fa99f1
SM
2672012-05-14 Stefan Merten <smerten@oekonux.de>
268
269 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
270
e18afed7 2712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
272
273 * net/rlogin.el (rlogin-mode-map): Fix last change.
274
e18afed7 2752012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
276
277 * mail/smtpmail.el (smtpmail-send-command): Send the command and
278 the following \r\n using a single `process-send-string', since the
279 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 280 with two `process-send-string's (Bug#11444).
8633b1f4 281
e18afed7 2822012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 283
fdb058c2
SM
284 * shell.el (shell-parse-pcomplete-arguments):
285 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 286
2d21d7f6
WJ
2872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
288
e18afed7 289 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
290 (image-transform-scale, image-transform-right-angle-fudge): New vars.
291 (image-transform-width, image-transform-fit-width): New functions.
292 (image-transform-properties): Use them.
293 (image-transform-check-size): New function.
294 (image-toggle-display-image): Use it (for testing).
295 (image-transform-set-rotation): Reduce angle mod 360.
296 Delete obsolete comment.
297
7102e6d0
WJ
2982012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
299
300 * image-mode.el: Fix scaling (bug#11399).
301 (image-transform-resize): Doc fix.
302 (image-transform-properties): Default scale is 1 and height should
303 be an integer.
304
06bc5e6e
SM
3052012-05-13 Johan Bockgård <bojohan@gnu.org>
306
307 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
308 than hard-coding `car', to fix misbehavior when moving forward.
309
0ae03b6a
CY
3102012-05-13 Chong Yidong <cyd@gnu.org>
311
312 * emacs-lisp/tabulated-list.el (tabulated-list-format)
313 (tabulated-list-entries, tabulated-list-padding)
314 (tabulated-list-sort-key): Make permanent-local.
315
316 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
317 (electric-buffer-list): Put electric buffer menu
318 command descriptions in this docstring, instead of the docstring
319 of electric-buffer-menu-mode. Code cleanups.
320 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
321 Electric-buffer-menu-mode.
322 (electric-buffer-update-highlight): Minor code cleanup.
323
205a7391
MA
3242012-05-13 Michael Albinus <michael.albinus@gmx.de>
325
326 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
327 (Bug#11447)
328
e5bd0a28
SM
3292012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 Move define-obsolete-variable-alias before the var's definition.
332 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
333 * tooltip.el (tooltip-hook):
334 * textmodes/reftex-toc.el (reftex-toc-map):
335 * textmodes/reftex-sel.el (reftex-select-label-map)
336 (reftex-select-bib-map):
337 * textmodes/reftex-index.el (reftex-index-map)
338 (reftex-index-phrases-map):
339 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
340 * progmodes/meta-mode.el (meta-mode-map):
341 * novice.el (disabled-command-hook):
342 * loadhist.el (unload-hook-features-list):
343 * frame.el (blink-cursor):
344 * files.el (find-file-not-found-hooks, write-file-hooks)
345 (write-contents-hooks):
346 * emulation/tpu-edt.el (GOLD-map):
347 * emacs-lock.el (emacs-lock-from-exiting):
348 * emacs-lisp/generic.el (generic-font-lock-defaults):
349 * emacs-lisp/chart.el (chart-map):
350 * dos-fns.el (register-name-alist):
351 * dired-x.el (dired-omit-files-p):
352 * desktop.el (desktop-enable):
353 * cus-edit.el (custom-mode-hook):
354 * buff-menu.el (buffer-menu-mode-hook):
355 * bookmark.el (bookmark-read-annotation-text-func)
356 (bookmark-exit-hooks):
357 * allout.el (allout-mode-deactivate-hook)
358 (allout-exposure-change-hook, allout-structure-added-hook)
359 (allout-structure-deleted-hook, allout-structure-shifted-hook):
360 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
361 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
362 comes before the corresponding variable's definition.
363
ac59c2f6
CY
3642012-05-12 Chong Yidong <cyd@gnu.org>
365
366 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
367 (Buffer-menu-mouse-select): Restore function (Bug#11459).
368 (Buffer-menu-mode-map): Bind it.
369 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 370
dee6c9a3
SM
3712012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
372
2171cea5
SM
373 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
374 (prolog-upper-case-string, prolog-lower-case-string)
375 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
376 (prolog-use-smie, prolog-smie-grammar): New vars.
377 (prolog-smie-forward-token, prolog-smie-backward-token)
378 (prolog-smie-rules): New funs.
379 (prolog-comment-indent): Remove.
380 (prolog-mode-variables): Use default comment indentation instead.
381 Setup SMIE.
382 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
383 (prolog-mode): Don't call them any more.
384 (prolog-electric-colon, prolog-electric-dash)
385 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
386
aa0382bd
SM
387 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
388
dbacb4bd
SM
389 * minibuffer.el (completion--twq-all): Again, allow case differences.
390
13bdd94c
SM
391 * term.el: Move keymap initialization code to be more idiomatic.
392 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
393 (term-terminal-menu): Move initialization into declaration.
394 (term-escape-char): Let the user set it in her .emacs.
395
ff46c759
SM
396 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
397 Provide SMIE-based indentation (not enabled by default yet).
398 (sh-mode-map): Don't bind electric keys.
399 Use electric-pair-mode instead of skeleton-pair.
400 (sh-assignment-regexp): Fit within 80 columns.
401 (sh-indent-supported): Specify actual shell name instead of boolean.
402 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
403 (sh-maybe-here-document): Use it. Make obsolete.
404 (sh-electric-here-document-mode) New minor mode.
405 (sh-mode): Use it. Don't set sh-indent-supported-here here.
406 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
407 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
408 (sh-smie-rc-grammar, sh-use-smie): New vars.
409 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
410 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
411 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
412 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
413 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
414 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
415 (sh-set-shell): Use smie-setup if requested.
416
dee6c9a3
SM
417 * term.el (term-set-escape-char): Properly set term-escape-char.
418 See http://stackoverflow.com/questions/10524656.
419
9f9aa044
CY
4202012-05-10 Chong Yidong <cyd@gnu.org>
421
422 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
423 Use url-generic-parse-url, and handle host names and Windows
424 filenames properly.
425 (ffap-url-unwrap-remote): Use url-generic-parse-url.
426 (ffap-url-unwrap-remote): Accept list values, specifying a list of
427 URL schemes to work on.
428 (ffap--toggle-read-only): New function.
429 (ffap-read-only, ffap-read-only-other-window)
430 (ffap-read-only-other-frame): Use it.
431 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
432 necessary for ffap-url-unwrap-remote.
433
836d29b3
DA
4342012-05-10 Dave Abrahams <dave@boostpro.com>
435
436 * cus-start.el (create-lockfiles): Add it.
437
00fd78ed
CY
4382012-05-09 Chong Yidong <cyd@gnu.org>
439
440 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
441 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
442
666b903b 4432012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
444
445 * shell.el (shell-completion-vars): Fix last change (bug#11348).
446
666b903b 4472012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
448
449 * ansi-color.el (ansi-color-process-output): Check for validity of
450 comint-last-output-start before using it. This avoids a bad
451 interaction with gdb-mi's input/output buffer.
452
666b903b 4532012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
454
455 * files.el (dir-locals-read-from-file):
456 Mention dir-locals in any error message.
457
666b903b 4582012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
459
460 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
461 package (Bug#11410).
462
f677562b
CY
463 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
464 variables into description.
465
666b903b 4662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
467
468 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
469 shell-delimiter-argument-list (bug#11348).
470 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
471
b499d8d0
JB
4722012-05-09 Juanma Barranquero <lekktu@gmail.com>
473
8f6b6da8
JB
474 * textmodes/rst.el: Silence byte-compiler warnings.
475 (rst-re-alist, rst-reset-section-caches): Move around.
476 (rst-re): Use `characterp', not `char-valid-p'.
477 (font-lock-beg, font-lock-end): Declare.
478
4824146a
JB
479 * progmodes/idlw-shell.el (specs): Remove reference to deleted
480 variable `idlwave-shell-activate-alt-keybindings' and simplify.
481
b499d8d0
JB
482 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
483
ad89bb83
GM
4842012-05-08 Glenn Morris <rgm@gnu.org>
485
486 * files.el (auto-mode-alist): Treat ".make" like ".mk".
487
8bba5a75
SM
4882012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
489
49ed9c8e
SM
490 * vc/log-edit.el: Add GNU coding standards highlighting.
491 (log-edit-font-lock-gnu-style)
492 (log-edit-font-lock-gnu-keywords): New vars.
493 (log-edit-font-lock-keywords): New fun.
494 (log-edit-mode): Don't fold case in font-lock.
495 (log-edit-font-lock-keywords): Do not assume case-folding.
496
07d00b56
SM
497 * imenu.el: Misc cleanup. Make docstrings out of comments.
498 Use lexical-binding.
499 (imenu--index-alist, imenu--last-menubar-index-alist)
500 (imenu-menubar-modified-tick): Use defvar-local.
501 (imenu--split-menu): Remove unused var.
502 (imenu--cleanup-seen): Declare as global.
503 (imenu--cleanup): Use dolist.
504
8bba5a75
SM
505 * subr.el (defvar-local): Add debug spec and doc-string position.
506
5075bdb5
GM
5072012-05-08 Glenn Morris <rgm@gnu.org>
508
c052c904
GM
509 * lisp/language/burmese.el, language/cham.el, language/czech.el:
510 * language/english.el, language/georgian.el, language/greek.el:
511 * language/japanese.el, language/khmer.el, language/korean.el:
512 * language/lao.el, language/misc-lang.el, language/romanian.el:
513 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
514 * language/thai.el, language/utf-8-lang.el:
515 Remove no-byte-compile setting.
516
5075bdb5
GM
517 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
518
06f679a7
AH
5192012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
520
521 * progmodes/make-mode.el (makefile-browse):
522 Remove unnecessary interactive. (Bug#11324)
523
03794570
GM
5242012-05-07 Glenn Morris <rgm@gnu.org>
525
af8630f4
GM
526 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
527
03794570
GM
528 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
529
f0809a9d
SM
5302012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
531
28be5ce7
SM
532 * loadup.el: Preload newcomment.el.
533 * newcomment.el: Move autoload-only code to toplevel.
534
f0809a9d
SM
535 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
536 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
537 Handle new :right-align column property.
538 (tabulated-list-print-col): Idem, plus use `display' text-property to
539 try and preserve alignment for variable pitch fonts.
540
1241b724
CY
5412012-05-07 Chong Yidong <cyd@gnu.org>
542
543 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
544 (tabulated-list-use-header-line): New var.
545 (tabulated-list-init-header): Use it.
546 (tabulated-list-print-fake-header): New function.
547 (tabulated-list-print): Use it.
548 (tabulated-list-sort-button-map): Add non-header-line commands.
549 (tabulated-list-init-header): Add column name property to basic
550 labels as well.
551 (tabulated-list-col-sort): Handle non-header-line button case.
552 (tabulated-list--sort-by-column-name): Fix a corner case.
553
f0809a9d
SM
554 * buff-menu.el (list-buffers--refresh):
555 Handle Buffer-menu-use-header-line.
1241b724 556
e5f9458f
CY
5572012-05-06 Chong Yidong <cyd@gnu.org>
558
559 * buff-menu.el: Convert to Tabulated List mode.
560 (Buffer-menu-buffer+size-width): Make obsolete.
561 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
562 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
563 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
564 documentation into docstring of buffer-menu.
565 (Buffer-menu-toggle-files-only): Add an informative message.
566 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
567 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
568 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
569 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
570 (Buffer-menu-execute, Buffer-menu-select)
571 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
572 (Buffer-menu-bury): Use Tabulated List machinery.
573 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
574 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 575 Delete.
e5f9458f
CY
576 (list-buffers--refresh): New function.
577 (list-buffers-noselect): Use it.
578 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
579 (Buffer-menu--pretty-file-name): New helper functions.
580
581 * loadup.el: Preload tabulated-list.
582
583 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
584 tabulated-list-sort-column.
585 (tabulated-list-init-header): Add the initial aligning space even
586 if tabulated-list-padding is zero.
587
e129292c
CS
5882012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
589
590 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
591 whose cdr is not a cons cell correctly (bug#11038).
592
6632d361
CY
5932012-05-06 Chong Yidong <cyd@gnu.org>
594
e129292c
CS
595 * emacs-lisp/tabulated-list.el (tabulated-list-format):
596 Accept additional plist in column descriptors.
6632d361
CY
597 (tabulated-list-init-header): Obey it.
598 (tabulated-list-get-entry): New function.
599 (tabulated-list-put-tag): Use it. Use string-width instead of
600 length.
601 (tabulated-list--column-number): New function.
602 (tabulated-list-print): Use it.
e129292c
CS
603 (tabulated-list-print-col): New function.
604 Set `tabulated-list-column-name' property on each column's text.
6632d361 605 (tabulated-list-print-entry): Use it.
e129292c
CS
606 (tabulated-list-delete-entry, tabulated-list-set-col):
607 New functions.
6632d361
CY
608 (tabulated-list-sort-column): New command (Bug#11337).
609
3cc99f68
CY
610 * buff-menu.el (list-buffers): Move C-x C-b binding from
611 buff-menu.el to bindings.el.
612
613 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
614 :advertised-binding feature.
615
52b61776
TN
6162012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
617
618 * progmodes/compile.el (compilation-internal-error-properties):
619 Calculate start position correctly when end-col is set but
620 end-line is not (Bug#11382).
621
ebfe2597
WJ
6222012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
623
624 * man.el (Man-unindent): Use text-property-default-nonsticky to
625 prevent untabify from inheriting face properties (Bug#11408).
626
a43f98b3
GM
6272012-05-05 Glenn Morris <rgm@gnu.org>
628
48176e8b
GM
629 * calendar/cal-html.el: Optionally include holidays in the output.
630 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
631 (cal-html-holidays): New option.
632 (cal-html-css-default): Add holiday entry.
633 (holiday-in-range): Autoload it.
634 (cal-html-htmlify-entry): Add optional class argument.
635 (cal-html-htmlify-list): Add optional holidays argument.
636 (cal-html-insert-agenda-days): Include holidays in the output.
637 (cal-html-one-month): Maybe include holidays.
638
a43f98b3
GM
639 * calendar/holidays.el (holiday-in-range):
640 Move here from cal-tex-list-holidays.
641 * calendar/cal-tex.el (cal-tex-list-holidays):
642 Make it an obsolete alias for holiday-in-range. Update all callers.
643
fef9d149 6442012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
645
646 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
647 Nextstep.
648
248da2f4
RW
6492012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
650
651 * files.el (file-auto-mode-skip): New var.
652 (set-auto-mode-1): Use it.
653
f95e9344
SM
6542012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
655
df96ab1e
SM
656 * repeat.el: Use lexical-binding.
657 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
658 (repeat-undo-count): Remove.
659 (repeat):
660 * progmodes/octave-mod.el (octave-abbrev-start):
661 * progmodes/f90.el (f90-abbrev-start):
662 * face-remap.el (text-scale-adjust):
663 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
664
5342bb06
SM
665 * emacs-lisp/pcase.el (pcase--let*): New function.
666 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
667 a bit more.
668 (pcase--split-pred): Be more clever about ruling out overlap between
669 a predicate and some constant pattern.
670 (pcase--q1): Use `null' instead of (eq foo nil).
671
f95e9344
SM
672 * subr.el (setq-local, defvar-local): New macros.
673 (kbd): Redefine as an alias.
674 (with-selected-window): Leave unrelated frames alone.
675 (set-temporary-overlay-map): New function.
676
71873e2b
SM
6772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * subr.el (user-error): New function.
680 * window.el (switch-to-buffer):
681 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
682 (smerge-match-conflict):
683 * simple.el (previous-matching-history-element)
684 (next-matching-history-element, goto-history-element, undo-more)
685 (undo-start):
686 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
687 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
688 (next-file, tags-loop-scan, list-tags, complete-tag):
689 * progmodes/compile.el (compilation-loop):
690 * mouse.el (mouse-minibuffer-check):
691 * man.el (Man-bgproc-sentinel, Man-goto-page):
692 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
693 (Info-history-forward, Info-follow-reference, Info-menu)
694 (Info-extract-menu-item, Info-extract-menu-counting)
695 (Info-forward-node, Info-backward-node, Info-next-menu-item)
696 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
697 (Info-next-reference, Info-prev-reference, Info-index)
698 (Info-index-next, Info-follow-nearest-node)
699 (Info-copy-current-node-name):
700 * imenu.el (imenu--make-index-alist)
701 (imenu-default-create-index-function, imenu-add-to-menubar):
702 * files.el (basic-save-buffer, recover-file):
703 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
704 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
705 (checkdoc-message-text, checkdoc-defun):
706 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
707 * cus-edit.el (customize-changed-options, customize-rogue)
708 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
709 (custom-variable-mark-to-reset-standard)
710 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
711 (custom-file):
712 * completion.el (check-completion-length):
713 * comint.el (comint-search-arg)
714 (comint-previous-matching-input-string-position)
715 (comint-previous-matching-input)
716 (comint-replace-by-expanded-history-before-point, comint-send-input)
717 (comint-copy-old-input, comint-backward-matching-input)
718 (comint-goto-process-mark, comint-set-process-mark):
719 * calendar/calendar.el (calendar-cursor-to-date): Use it.
720 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
721
8a61ee22
SM
7222012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
723
66408d1e
SM
724 * dabbrev.el (dabbrev--ignore-case-p): New function.
725 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
726 Use it.
727
8a61ee22
SM
728 * files.el (automount-dir-prefix): Mark as obsolete.
729
3c74813a
GM
7302012-05-04 Glenn Morris <rgm@gnu.org>
731
732 * patcomp.el, play/bruce.el: Move to obsolete/.
733
0bfcf5c5
PE
7342012-05-04 Paul Eggert <eggert@cs.ucla.edu>
735
736 Fix minor Y10k bugs.
737 * arc-mode.el (archive-unixdate):
738 * autoinsert.el (auto-insert-alist):
739 * calc/calc-forms.el (math-this-year):
740 * emacs-lisp/copyright.el (copyright-current-year)
741 (copyright-update-year, copyright):
742 * tar-mode.el (tar-clip-time-string):
743 * time.el (display-time-update):
744 Don't assume years have 4 digits.
745
78f3273a
CY
7462012-05-04 Chong Yidong <cyd@gnu.org>
747
748 * dos-w32.el (file-name-buffer-file-type-alist)
749 (direct-print-region-use-command-dot-com):
750 * ffap.el (ffap-menu-regexp):
751 * find-file.el (ff-special-constructs):
752 * follow.el (follow-debug):
753 * forms.el (forms--debug):
754 * iswitchb.el (iswitchb-all-frames):
755 * ido.el (ido-all-frames):
756 * emacs-lisp/timer.el (timer-max-repeats):
757 * mail/feedmail.el (feedmail-mail-send-hook)
758 (feedmail-mail-send-hook-queued):
759 * mail/footnote.el (footnote-signature-separator):
760 * mail/mailabbrev.el (mail-alias-separator-string)
761 (mail-abbrev-mode-regexp):
762 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
763 * progmodes/idlwave.el (idlwave-libinfo-file)
764 (idlwave-default-completion-case-is-down)
765 (idlwave-library-routines): Convert defvars to defcustoms.
766
767 * mail/rmail.el (rmail-decode-mime-charset):
768 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
769 (idlwave-shell-fix-inserted-breaks)
770 (idlwave-shell-activate-alt-keybindings)
771 (idlwave-shell-use-breakpoint-glyph):
772 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
773
f7ae6719
SM
7742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
777
47086495
WS
7782012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
779
780 * progmodes/verilog-mode.el (font-lock-keywords):
781 Fix mis-highligting auto. Reported by Craig Barner.
782 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
783 defines from global name space. Reported by Dan Dever.
784 (verilog-auto-reset, verilog-auto-reset-widths)
785 (verilog-auto-tieoff): Support using unbased numbers for
786 AUTORESET and AUTOTIEOFF.
787 (verilog-submit-bug-report): Update variable list.
788 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
789 parenthesis from not matching. Reported by Michael Rytting.
790 (verilog-auto-template-lint): Fix hash error when linting modules
791 with no used templates.
792 (verilog-warn, verilog-warn-error)
793 (verilog-warn-fatal): When non-interactive report multiple
794 warnings before exiting. Suggested by Brad Dobbie.
795 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
796 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
797 to report unused template errors. Reported by Brad Dobbie.
798 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
799 nets, bug438. Reported by Vns Blore.
800 (verilog-auto-inout-module, verilog-auto-reg)
801 (verilog-read-decls, verilog-read-sub-decls-sig)
802 (verilog-signals-edit-wire-reg, verilog-signals-with):
803 Fix passing of Verilog data types in ANSI input/output ports
804 such as "output logic" into the AUTOs. Special case "wire" and
805 "reg" for backwards compatibility presuming Verilog 2001.
806 (verilog-auto-ascii-enum): Add "auto enum" as alias.
807 (verilog-preprocess): Fix replication of preprocess output.
808 Reported by Brad Dobbie.
809 (verilog-auto-inst-interfaced-ports):
810 Create verilog-auto-inst-interfaced-ports, bug429.
811 Reported by Julian Gorfajn.
812 (verilog-after-save-font-hook)
813 (verilog-before-save-font-hook): New variable.
814 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
815 (verilog-save-font-mods): Wrap disabling fontification, reported
816 by David Rogoff.
817 (verilog-do-indent, verilog-pretty-declarations-auto)
818 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
819 Reported by Pierre-David Pfister.
820 (verilog-set-auto-endcomments): Fix endtask auto comments outside
821 of class declarations, bug292. Reported by Kevin Heilman.
822 (verilog-read-decls): Fix 'parameter type' not appearing in
823 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
824 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
825 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
826 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
827 Reported by David Kravitz.
828
8292012-05-03 Michael McNamara <mac@mail.brushroad.com>
830
831 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
832 assignment with tests in ifs and for loops.
833 (verilog-extended-complete-re, verilog-complete-reg): Change so
834 that DPI inport functions don't look like fuction declarations.
835 (verilog-pretty-expr): Don't line up assignment
836 operations to the test and increment in if and for loops
837 (verilog-extended-complete-re, verilog-complete-reg): Change so
838 that DPI inport functions don't look like fuction declarations
839
2e51d4b5
KH
8402012-05-03 Kenichi Handa <handa@m17n.org>
841
842 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
843 decoding, and show a warning message without signalling an error
844 (Bug#11282).
845
2bd785a2
SM
8462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/bytecomp.el
849 (byte-compile-file-form-custom-declare-variable): Compile all elements,
850 since cconv.el might have introduced :fun-body, internal-make-closure,
851 and friends for bytecomp to handle (bug#11391).
852 * custom.el (defcustom): Avoid ((λ ..) ..).
853
99d27583
SM
8542012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
857
55a71479
JB
8582012-05-02 Juanma Barranquero <lekktu@gmail.com>
859
860 * notifications.el (dbus-debug):
861 * term/linux.el (gpm-mouse-enable):
862 * term/screen.el (xterm-register-default-colors): Declare.
863
7b97c764
CY
8642012-05-02 Chong Yidong <cyd@gnu.org>
865
2bc356d7
CY
866 * cus-start.el (gc-cons-percentage, exec-suffixes)
867 (dos-display-scancodes, dos-hyper-key, dos-super-key)
868 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
869 (make-cursor-line-fully-visible, void-text-area-pointer)
870 (font-list-limit): Add customization data.
871
7b97c764
CY
872 * allout.el (allout-exposure-change-functions)
873 (allout-structure-added-functions)
874 (allout-structure-deleted-functions)
875 (allout-structure-shifted-functions): Rename abnormal hooks from
876 *-hook, and convert to defcustoms.
5d3385a0
JB
877 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
878 Convert to defcustoms.
7b97c764
CY
879 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
880
881 * allout-widgets.el: Hook callers changed.
882
90207a15 8832012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
884
885 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
886 the yanked message in preference to the default value of
887 buffer-file-coding-system.
888
90207a15 8892012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 890
5d3385a0
JB
891 * window.el (display-buffer--action-function-custom-type):
892 Fix entry.
d9558cad 893
90207a15 8942012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
895
896 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
897
d80ac57b
GM
8982012-05-01 Glenn Morris <rgm@gnu.org>
899
976f7668
GM
900 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
901
beb83b5a
GM
902 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
903
d80ac57b
GM
904 * cus-edit.el (custom-variable-documentation): Simplify with format.
905
b593d6a9
AH
9062012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
907 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * simple.el (suggest-key-bindings, execute-extended-command):
910 Move from keyboard.c.
911
782fbf2a
CY
9122012-05-01 Chong Yidong <cyd@gnu.org>
913
914 * follow.el: Eliminate advice.
915 (set-process-filter, process-filter, sit-for): Advice deleted.
916 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
917 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
918 Vars deleted.
782fbf2a
CY
919 (follow-auto): Use a :set function.
920 (follow-mode): Rewritten. Don't advise process filters.
921 (follow-switch-to-current-buffer-all, follow-scroll-up)
922 (follow-scroll-down): Assume follow-mode is bound.
923 (follow-comint-scroll-to-bottom)
924 (follow-align-compilation-windows): New functions.
925 (follow--window-sorter): New function.
926 (follow-all-followers): Use it to explicitly sort windows by their
927 positions; don't make assumptions about next-window order.
928 (follow-windows-start-end, follow-delete-other-windows-and-split)
929 (follow-calc-win-start): Doc fix.
930 (follow-windows-aligned-p, follow-select-if-visible): Don't call
931 vertical-motion unnecessarily.
932 (follow-adjust-window): New function.
933 (follow-post-command-hook): Use it.
934 (follow-call-set-process-filter, follow-call-process-filter)
935 (follow-intercept-process-output, follow-tidy-process-filter-alist)
936 (follow-stop-intercept-process-output, follow-generic-filter):
937 Functions deleted.
938 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
939 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
940 New functions, replacing advice on scroll-bar-* commands.
87233a14 941 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
942
943 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
944 (comint-postoutput-scroll-to-bottom): Use it.
945 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 946
290af740
GM
9472012-05-01 Glenn Morris <rgm@gnu.org>
948
949 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
950 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
951 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
952 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
953 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
954 Remove no-byte-compile setting.
955
6eac8dc9
SM
9562012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * minibuffer.el (completion-table-with-quoting): Fix compatibility
959 all-completions code to not return a number in the last cdr.
960
9cc7819c
LL
9612012-04-30 Leo Liu <sdl.web@gmail.com>
962
963 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
964 read-only error.
965
c93b886f
CY
9662012-04-29 Chong Yidong <cyd@gnu.org>
967
968 * follow.el (follow-calc-win-end): Rewrite to handle partial
969 screen lines correctly (Bug#8390).
970 (follow-avoid-tail-recenter): Minor cleanup.
971
8b6c19f4
SM
9722012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 Avoid the obsolete `assoc' package.
975 * speedbar.el (speedbar-refresh): Avoid adelete.
976 (speedbar-file-lists): Simplify and avoid aput.
977 * man.el (Man--sections, Man--refpages): New vars, replacing
978 Man-sections-alist and Man-refpages-alist.
979 (Man-build-section-alist, Man-build-references-alist):
980 Use them; avoid aput.
981 (Man--last-section, Man--last-refpage): New vars.
982 (Man-follow-manual-reference): Use them.
983 Use the `default' arg of completing-read.
984 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
985
c5bb7569
CY
9862012-04-27 Chong Yidong <cyd@gnu.org>
987
d1d2e2e8
CY
988 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
989
15cd8efd
CY
990 * startup.el (x-apply-session-resources): New function.
991
992 * term/ns-win.el (ns-initialize-window-system):
993 * term/w32-win.el (w32-initialize-window-system):
994 * term/x-win.el (x-initialize-window-system): Use it to properly
995 set menu-bar-mode and other vars from X resources, even if the
996 initial frame is not a window-system frame (Bug#2299).
997
c5bb7569
CY
998 * subr.el (read-key): Avoid running filter function when setting
999 up temporary tool bar entries (Bug#9922).
1000
a8e7d6d7 10012012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1002
1003 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1004 (Bug#11344)
1005
a8e7d6d7 10062012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1007
1008 * select.el (xselect--encode-string): New function, split from
1009 xselect-convert-to-string.
1010 (xselect-convert-to-string): Use it.
1011 (xselect-convert-to-filename, xselect-convert-to-os)
1012 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1013 returned strings are properly encoded (Bug#11315).
1014
a8e7d6d7 10152012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1016
1017 * simple.el (delete-active-region): Move to killing custom group.
1018
a8e7d6d7 10192012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1020
1021 * progmodes/which-func.el (which-func-current): Quote %
1022 characters for mode-line processing.
1023
578c1d4b 10242012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1025
1026 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1027 reaching eob (Bug#11286).
1028
a8e7d6d7 10292012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1030
1031 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1032 (gdb): Make it buffer-local and init to zero.
1033 (gdb-control-commands-regexp): New variable.
1034 (gdb-send): Don't wrap in "-interpreter-exec console" if
1035 gdb-control-level is positive. Increment gdb-control-level
1036 whenever the command matches gdb-control-commands-regexp, and
1037 decrement it each time the command is "end". (Bug#11279)
1038
a8e7d6d7 10392012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1040
1041 * window.el (adjust-window-trailing-edge, enlarge-window)
1042 (shrink-window, window-resize):
1043 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1044 windows (Bug#11276).
1045
b3608390
CY
10462012-04-27 Chong Yidong <cyd@gnu.org>
1047
1048 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1049 fix "missing prefix" warning. All callers changed.
b3608390 1050
797e6e88
SM
10512012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * emacs-lisp/assoc.el: Move to obsolete/.
1054
e95a67dc
SM
10552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1056
657c21e4 1057 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1058
1059 * term/ns-win.el (ns-define-service):
1060 * progmodes/pascal.el (pascal-goto-defun):
1061 * progmodes/js.el (js--read-tab):
1062 * progmodes/etags.el (tags-lazy-completion-table):
1063 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1064 * emacs-lisp/ewoc.el (ewoc--wrap):
1065 * emacs-lisp/assoc.el (aput, adelete, amake):
1066 * doc-view.el (doc-view-convert-current-doc):
1067 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1068
cb3e7ae0
CY
10692012-04-26 Chong Yidong <cyd@gnu.org>
1070
dce04f7f
CY
1071 * image.el (image-type-from-buffer): Only return supported image
1072 type (Bug#9045).
1073
cb3e7ae0
CY
1074 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1075 value, for symmetry with diff-end-of-hunk.
1076 (diff-split-hunk, diff-find-source-location)
1077 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1078 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1079 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1080 compute the relevant hunk or file properly (Bug#6005).
1081 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1082
0d42eb3e
SM
10832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * vc/vc-mtn.el:
1086 * vc/vc-hg.el:
1087 * vc/vc-git.el:
1088 * vc/vc-dir.el:
1089 * vc/vc-cvs.el:
1090 * vc/vc-bzr.el:
1091 * vc/vc-arch.el:
1092 * vc/vc.el: Replace lexical-let by lexical-binding.
1093 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1094 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1095 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1096
f08ae1c9
CY
10972012-04-26 Chong Yidong <cyd@gnu.org>
1098
8b71081d
CY
1099 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1100 (diff-mode-shared-map): Bind it to / and [remap undo].
1101
f08ae1c9
CY
1102 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1103 (ediff-window-setup-function): Use it as the default, to set up
1104 windows based on whether the current frame is graphical (Bug#2138).
1105 (ediff-choose-window-setup-function-automatically): Make obsolete.
1106
1107 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1108
ef24141c
SM
11092012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1110
cc356a5d
SM
1111 * ffap.el: Remove old code for obsolete package.
1112 (ffap-complete-as-file-p): Remove.
1113
b4ff4f1f
SM
1114 Use completion-table-with-quoting for comint and pcomplete.
1115 * comint.el (comint--unquote&requote-argument)
1116 (comint--unquote-argument, comint--requote-argument): New functions.
1117 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1118 (comint-quote-filename): Use regexp-opt-charset.
1119 (comint--common-suffix, comint--common-quoted-suffix)
1120 (comint--table-subvert): Remove.
1121 (comint-unquote-function, comint-requote-function): New vars.
1122 (comint--complete-file-name-data): Use them with
1123 completion-table-with-quoting.
1124 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1125 * pcomplete.el (pcomplete-arg-quote-list)
1126 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1127 (pcomplete-unquote-argument-function): Default to non-nil.
1128 (pcomplete-unquote-argument): Simplify.
1129 (pcomplete--common-quoted-suffix): Remove.
1130 (pcomplete-requote-argument-function): New var.
1131 (pcomplete--common-suffix): New function.
1132 (pcomplete-completions-at-point): Use completion-table-with-quoting
1133 and completion-table-subvert.
1134
79c4eeb4
SM
1135 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1136 (minibuffer--double-dollars): Preserve properties.
1137 (completion--sifn-requote): New function.
1138 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1139
ef24141c
SM
1140 * minibuffer.el: Add support for completion of quoted/escaped data.
1141 (completion-table-with-quoting, completion-table-subvert): New funs.
1142 (completion--twq-try, completion--twq-all): New functions.
1143 (completion--nth-completion): New function.
1144 (completion-try-completion, completion-all-completions): Use it.
1145
784e7d6e
LL
11462012-04-25 Leo Liu <sdl.web@gmail.com>
1147
dd2ac746
SM
1148 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1149 Use compilation-message if available to find real filename.
784e7d6e 1150
07875ee7
CY
11512012-04-25 Chong Yidong <cyd@gnu.org>
1152
1153 * vc/diff-mode.el (diff-setup-whitespace): New function.
1154 (diff-mode): Use it.
1155
1156 * vc/diff.el (diff-sentinel):
1157 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1158 Whitespace mode variables based on diff style (Bug#8612).
1159
5055880d
LL
11602012-04-25 Leo Liu <sdl.web@gmail.com>
1161
daf75653
LL
1162 * progmodes/python.el (python-send-region): Add suffix .py to the
1163 temp file.
1164
5055880d
LL
1165 * files.el (auto-mode-alist): Use javascript-mode instead.
1166
db9b177b
AH
11672012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1168
ef24141c 1169 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1170
1171 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1172 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1173 references, see Bug#9.
ef24141c 1174 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1175 when receiving a fault reply.
ef24141c 1176 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1177
1178 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1179 (soap-inspect-simple-type): New function.
db9b177b 1180
ef24141c 1181 * soap-client.el (soap-simple-type): New struct.
db9b177b 1182 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1183 (soap-decode-basic-type, soap-encode-basic-type):
1184 support unsignedInt and double basic types.
db9b177b 1185 (soap-resolve-references-for-simple-type)
ef24141c
SM
1186 (soap-parse-simple-type, soap-encode-simple-type): New function.
1187 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1188
1189 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1190 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1191 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1192 the local name of "soapenc:Array".
1193 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1194 decoding integer, byte and anyURI xsd types.
1195
1fc6097b
CY
11962012-04-25 Chong Yidong <cyd@gnu.org>
1197
1198 * cus-edit.el (custom-buffer-create-internal): Update header text.
1199
afc6df87
EZ
12002012-04-25 Eli Zaretskii <eliz@gnu.org>
1201
1202 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1203 settings on 'system-type', not on 'window-system'. On MS-Windows,
1204 set interactive-mode on in GDB.
1205
dfbd787f
SM
12062012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1209 (ruby-syntax-propertize-regexp): Remove.
1210 (ruby-syntax-propertize-function): Split regexp into chunks.
1211 Match following code directly.
1212
85222d44
DG
12132012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1214
51a8ea2a
DG
1215 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1216 (ruby-syntax-propertize-regexp): New function.
1217 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1218 by a special keyword.
1219
85222d44
DG
1220 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1221 (ruby-syntax-general-delimiters-goto-beg)
1222 (ruby-syntax-propertize-general-delimiters): New functions.
1223 (ruby-syntax-propertize-function): Use them to handle GDL.
1224 (ruby-font-lock-keywords): Move old handling of GDL...
1225 (ruby-font-lock-syntactic-keywords): .. to here.
1226 (ruby-calculate-indent): Adjust indentation for GDL.
1227
b613912b
MA
12282012-04-24 Michael Albinus <michael.albinus@gmx.de>
1229
b5380639
MA
1230 * notifications.el (top): Remove unneeded declarations.
1231 (notifications-specification-version): Change to "1.2".
e43042fe 1232 (notifications-interface, notifications-notify-method)
b613912b
MA
1233 (notifications-close-notification-method): Fix docstring.
1234 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1235 (notifications-notify): Add :action-items, :resident and
1236 :transient hints. Change "image_data" to "image-data" and
1237 "image_path" to "image-path".
b613912b
MA
1238 (notifications-get-capabilities): New defun.
1239
257440aa
LL
12402012-04-24 Leo Liu <sdl.web@gmail.com>
1241
1242 * progmodes/python.el: Move hideshow setup to the end.
1243
b1bac16e
MR
12442012-04-24 Martin Rudalics <rudalics@gmx.at>
1245
1246 * window.el (handle-select-window): Clear echo area since this is
1247 no more done by read_char (Bug#11304).
1248
d81bd059
SM
12492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1252 and `/ M' to filter-derived-mode.
1253 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1254 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1255 (ibuffer-mark-by-mode): Use default rather than initial-input.
1256 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1257
c4cf6d91
IA
12582012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1259
1260 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1261 (ibuffer-filter-by-derived-mode): New filter.
1262 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1263
7511ded8
CY
12642012-04-23 Andreas Politz <politza@fh-trier.de>
1265
1266 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1267
775c916b
CY
12682012-04-23 Chong Yidong <cyd@gnu.org>
1269
1270 * cus-edit.el (customize-apropos, customize-apropos-options):
1271 Disable matching of non-option variables (Bug#11176).
1272 (customize-option, customize-option-other-window)
1273 (customize-changed-options): Doc fix.
1274 (customize-apropos-options, customize-apropos-faces)
1275 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1276
1277 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1278 Fix word list splitting (Bug#11132).
46c71e23
CY
1279 (apropos-symbol, apropos-keybinding, apropos-label)
1280 (apropos-property, apropos-function-button)
1281 (apropos-variable-button, apropos-misc-button): New faces.
1282 (apropos-symbol-face, apropos-keybinding-face)
1283 (apropos-label-face, apropos-property-face, apropos-match-face):
1284 Variables removed (Bug#8396).
1285 (apropos-library-button, apropos-format-plist, apropos-print)
1286 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1287
2df41f9c
MA
12882012-04-23 Michael Albinus <michael.albinus@gmx.de>
1289
1290 * net/xesam.el (xesam-mode-map): Use let-bound map in
1291 initialization. (Bug#11292)
1292
da00640a
AM
12932012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1294
1295 Preserve ispell session localwords when switching back to
1296 original buffer.
1297
1298 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1299 variable to hold buffer session localwords.
1300 (ispell-kill-ispell): add option 'clear to delete session
1301 localwords.
1302 (ispell-command-loop, ispell-change-dictionary)
1303 (ispell-buffer-local-words): Preserve session localwords when
1304 needed.
1305
1306 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1307 Preserve session localwords when needed.
1308
f621ccf5
AM
13092012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1310
1311 * ispell.el (ispell-insert-word) Remove unneeded function using
1312 obsolete `translation-table-for-input'.
ef24141c
SM
1313 (ispell-word, ispell-process-line, ispell-complete-word):
1314 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1315
c2d1019e
CY
13162012-04-22 Chong Yidong <cyd@gnu.org>
1317
1318 * cus-edit.el (custom-variable-menu)
1319 (custom-variable-reset-saved, custom-face-menu)
1320 (custom-face-reset-saved): If there is no saved value, make the
1321 "reset-saved" operation bring back the default (Bug#9509).
1322 (custom-face-state): Properly detect themed faces.
1323
eeddc531
CY
1324 * faces.el (face-spec-set): Stop supporting deprecated form of
1325 third arg.
1326
dcbf5805
MA
13272012-04-22 Michael Albinus <michael.albinus@gmx.de>
1328
1329 Move functions from C to Lisp. Make non-blocking method calls
1330 the default. Implement further D-Bus standard interfaces.
1331
ef24141c
SM
1332 * net/dbus.el (dbus-message-internal): Declare function.
1333 Remove unneeded function declarations.
dcbf5805
MA
1334 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1335 (dbus-message-type-method-return, dbus-message-type-error)
1336 (dbus-message-type-signal): Declare variables. Remove local
1337 definitions.
1338 (dbus-interface-dbus, dbus-interface-peer)
1339 (dbus-interface-introspectable, dbus-interface-properties)
1340 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1341 Adapt docstring.
1342 (dbus-interface-objectmanager): New defconst.
1343 (dbus-call-method, dbus-call-method-asynchronously)
1344 (dbus-send-signal, dbus-method-return-internal)
1345 (dbus-method-error-internal, dbus-register-service)
1346 (dbus-register-signal, dbus-register-method): New defuns, moved
1347 from dbusbind.c
1348 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1349 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1350 New defuns.
dcbf5805
MA
1351 (dbus-call-method-non-blocking): Make it an obsolete function.
1352 (dbus-unregister-object, dbus-unregister-service)
1353 (dbus-handle-event, dbus-register-property)
1354 (dbus-property-handler): Obey the new structure of
1355 `bus-registered-objects'.
1356 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1357 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1358 Use `dbus-call-method'.
1359
cf20dee0
CY
13602012-04-22 Chong Yidong <cyd@gnu.org>
1361
1362 * cus-edit.el (custom-commands, custom-reset-menu)
1363 (Custom-reset-standard): Tweak labels.
1364 (custom-reset-button-menu): Change default to t.
1365 (custom-buffer-create-internal): For the custom-reset-button-menu
1366 case, put the revert button first.
1367 (custom-group-subtitle): New face.
1368 (custom-group-value-create): Align docstring to a specific column.
1369
1370 * wid-edit.el (widget-documentation-link-add): Don't handle
1371 indentation in this function.
1372 (widget-documentation-string-indent-to): New function.
1373 (widget-documentation-string-value-create): Use it.
1374
1375 * autorevert.el (auto-revert):
1376 * epg-config.el (epg):
1377 * ibuffer.el (ibuffer):
1378 * mpc.el (mpc):
1379 * ses.el (ses):
1380 * eshell/eshell.el (eshell):
1381 * net/ange-ftp.el (ange-ftp):
1382 * progmodes/ebnf2ps.el (postscript):
1383 * progmodes/flymake.el (flymake):
1384 * progmodes/prolog.el (prolog):
1385 * progmodes/verilog-mode.el (verilog-mode):
1386 * progmodes/which-func.el (which-func):
1387 * term/xterm.el (xterm):
1388 * textmodes/picture.el (picture):
1389 * textmodes/tildify.el (tildify):
1390 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1391 customization buffers.
1392
583e23bd
AM
13932012-04-22 Alan Mackenzie <acm@muc.de>
1394
1395 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1396 Adding a ) can hide the resulting (..) from searches. Fix it.
1397 Bound the backward search to the position of the existing (.
1398
7dd51bf1
JB
13992012-04-21 Juanma Barranquero <lekktu@gmail.com>
1400
1401 * progmodes/verilog-mode.el (verilog-mode): Check whether
1402 which-func-modes is t before adding verilog-mode.
1403 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1404
d64a438f
LL
14052012-04-21 Leo Liu <sdl.web@gmail.com>
1406
7dd51bf1 1407 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1408
081e8d65
MV
14092012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1410
1411 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1412 filling of the last column of a table (Bug#5635).
1413 (woman-find-next-control-line): New arg, specifying an additional
1414 regexp component for the control line.
1415 (woman2-roff-buffer): Use it.
1416 (woman-break-table): New function.
1417 (woman2-TS): Use it.
1418
14192012-04-21 Chong Yidong <cyd@gnu.org>
1420
1421 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1422 (woman-horizontal-escapes, woman-negative-vertical-space)
1423 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1424 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1425
ed571ccb
SM
14262012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * minibuffer.el (completion-file-name-table): Complete user names.
1429
39773899
LL
14302012-04-20 Leo Liu <sdl.web@gmail.com>
1431
1432 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1433 and pcase-let*.
1434
de6ff46d
CY
14352012-04-20 Chong Yidong <cyd@gnu.org>
1436
1437 * server.el (server-execute): Respect initial-buffer-choice if it
1438 is a string and there are no files to open (Bug#2825).
1439 (server-create-window-system-frame, server-create-tty-frame):
1440 Don't switch buffers here.
2d0e8e61
CY
1441 (server-process-filter): Only try to open a window system frame if
1442 compiled with graphical support (Bug#8314).
de6ff46d 1443
54071013
DN
14442012-04-20 Dan Nicolaescu <dann@gnu.org>
1445
1446 * battery.el (battery-echo-area-format): Display remaining time
1447 for sysfs backend too (Bug#11269).
1448 (battery-linux-sysfs): Fix conditional for the charge.
1449
f30d612a
CY
14502012-04-20 Chong Yidong <cyd@gnu.org>
1451
c07a4c0b 1452 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1453 (gdb-inferior-io--init-proc): New function.
1454 (gdb-init-1): Use it.
1455 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1456 responsible for allocating a new pty and hooking it to gdb when
1457 the old pty gets an EIO due to process exit.
1458 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1459 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1460 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1461
2116e93c
EZ
14622012-04-20 Eli Zaretskii <eliz@gnu.org>
1463
1464 * window.el (window-min-size, window-sizable, window-min-delta)
1465 (window-max-delta, window--resizable, window-resizable)
1466 (window-total-size, window-full-height-p, window-full-width-p)
1467 (window-in-direction, window--resize-mini-window, window-resize)
1468 (window--resize-child-windows-normal)
1469 (window--resize-child-windows, window--resize-siblings)
1470 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1471 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1472
c07a4c0b 14732012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1474
ef24141c
SM
1475 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1476 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1477 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1478 pty process (Bug#11273).
1479 (gdb-update): New arg to suppress talking to the gdb process.
1480 (gdb-done-or-error): Use it.
1481 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1482 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1483 sentinel not being called.
1484
1485 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1486
d02766ab
CY
1487 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1488
c07a4c0b 14892012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1490
1491 * net/network-stream.el (open-network-stream): Doc fix.
1492
c07a4c0b 14932012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1494
1495 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1496
c07a4c0b 14972012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1498
1499 Ensure searching for keywords is case sensitive.
1500
1501 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1502 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1503 (c-defun-name, c-mark-function, c-cpp-define-name)
1504 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1505 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1506
ef24141c
SM
1507 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1508 Bind case-fold-search to nil.
f0f6bc35 1509
c07a4c0b 15102012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1511
1512 * mail/sendmail.el (mail-bury): Call return action with the right
1513 Rmail buffer (Bug#11242).
1514
9a864fa2
CY
1515 * server.el (server-process-filter): Handle corner case where both
1516 tty and nowait options are present (Bug#11102).
1517
539aa513
EZ
15182012-04-20 Eli Zaretskii <eliz@gnu.org>
1519
1520 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1521 (top level): Put into the executable the ident-style '$Id:' tag on
1522 windows-nt as well.
539aa513 1523
cfc7d5da
SM
15242012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * electric.el (electric-indent-post-self-insert-function): Check that
1527 electric-indent-mode is enabled in current buffer.
1528
5b01685c
JB
15292012-04-19 Juanma Barranquero <lekktu@gmail.com>
1530
1531 * imenu.el (imenu-progress-message): Restore; it is "used" in
1532 erc/erc-imenu.el and net/snmp-mode.el.
1533
4d6769e1
JB
15342012-04-19 Juanma Barranquero <lekktu@gmail.com>
1535
1536 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1537 (mouse-avoidance-nudge-mouse): Remove unused binding.
1538
1539 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1540
1541 * descr-text.el (describe-char):
1542 * progmodes/python.el (python-describe-symbol):
1543 Don't call `toggle-read-only', set `buffer-read-only'.
1544
1545 * imenu.el (imenu-default-goto-function): Mark unused args.
1546 (imenu-progress-message): Remove obsolete macro; all callers changed.
1547
1548 * subr.el (keymap-canonicalize): Remove unused binding.
1549 (read-passwd): Mark unused arg.
1550
1551 * tutorial.el (tutorial--display-changes): Remove unused binding.
1552 (tutorial--save-tutorial-to): Remove unused variable.
1553
1554 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1555 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1556 (package-generate-autoloads, package-menu--generate)
1557 (package-menu--find-upgrades): Remove unused bindings.
1558
1559 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1560 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1561 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1562 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1563 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1564 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1565 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1566 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1567 (cua-delete-char-rectangle): Mark unused args.
1568 (cua-align-rectangle): Remove unused binding.
1569
1570 * mail/rmail.el (compilation--message->loc)
1571 (epa--find-coding-system-for-mime-charset): Declare.
1572
1573 * net/dbus.el (dbus-register-service): Declare.
1574 (dbus-name-owner-changed-handler): Remove unused binding.
1575
1576 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1577 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1578 (nxml-scan-backward-within): Mark unused arg.
1579 (nxml-dynamic-markup-word): Remove unused binding.
1580
1581 * mouse.el (mouse-menu-major-mode-map):
1582 * emacs-lisp/authors.el (authors-scan-change-log)
1583 (authors-add-to-author-list):
1584 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1585 * emacs-lisp/smie.el (smie-auto-fill):
1586 * mail/sendmail.el (mail-bury):
1587 * mail/unrmail.el (unrmail):
1588 * net/tls.el (open-tls-stream):
1589 * textmodes/picture.el (picture-mouse-set-point):
1590 Remove unused bindings.
1591
8c8fc5df
MA
15922012-04-19 Michael Albinus <michael.albinus@gmx.de>
1593
1594 * net/tramp.el (tramp-action-password): Let-bind
1595 `enable-recursive-minibuffers' to t.
1596
a77b0ac9
SS
15972012-04-18 Sam Steingold <sds@gnu.org>
1598
1599 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1600 instead of 'string to accommodate values like [f11].
1601 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1602 * progmodes/gdb-mi.el: Likewise.
1603
12a106a9
LL
16042012-04-18 Leo Liu <sdl.web@gmail.com>
1605
1606 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1607 current buffer.
1608 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1609 LOCAL is nil.
1610
bc6494ef
CY
16112012-04-18 Chong Yidong <cyd@gnu.org>
1612
1613 * simple.el (line-move): Use forward-line if in batch mode
1614 (Bug#11053).
1615
c09c46b2
CS
16162012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1617
1618 * files.el (after-find-file): Do not try to add a final newline if
1619 the buffer is read-only (Bug#11156).
1620
5f6530ea
RS
16212012-04-17 Richard Stallman <rms@gnu.org>
1622
1623 * mail/rmail.el (rmail-start-mail):
1624 Pass (rmail-mail-return...) for the return-action.
1625 Pass (rmail-yank-current-message...) for the yank-action.
1626 (rmail-yank-current-message): New function.
1627 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1628 (rmail-reply): Likewise.
1629 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1630
1631 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1632 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1633 buffer, not newbuf.
1634
197b6f3c
JB
16352012-04-17 Juanma Barranquero <lekktu@gmail.com>
1636
1637 * server.el (server-ensure-safe-dir): Simplify.
1638
2311d8e5 16392012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1640
2311d8e5
GM
1641 * emacs-lisp/smie.el: Provide smarter auto-filling.
1642 (smie-auto-fill): New function.
1643 (smie-setup): Use it.
98fb480e 1644
2311d8e5
GM
1645 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1646
16472012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1648
1649 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1650 (comment-indent): Use it.
1651
2311d8e5 16522012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1653
1654 * ses.el: The overall change is to add cell renaming, that is
1655 setting fancy names for cell symbols other than name matching
1656 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1657 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1658 (ses-create-cell-variable): New defun.
2311d8e5 1659 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1660 (ses-relocate-formula): Relocate formulas only for cells the
1661 symbols of which are not renamed, i.e. symbols whose names do not
1662 match regexp "\\`[A-Z]+[0-9]+\\'".
1663 (ses-relocate-all): Relocate values only for cells the symbols of
1664 which are not renamed.
1665 (ses-load): Create cells variables as the (ses-cell ...) are read,
1666 in order to check row col consistency with cell symbol name only
1667 for cells that are not renamed.
1668 (ses-replace-name-in-formula): New defun.
1669 (ses-rename-cell): New defun.
4bdf2ad2 1670
fc72b15c
PO
16712012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1672
1673 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1674 New option (bug#11118).
1675 (perl-calculate-indent): Respect it.
1676
12e10e61
GM
16772012-04-17 Glenn Morris <rgm@gnu.org>
1678
1679 * dired-aux.el (dired-mark-read-string): Doc fix.
1680
30009afd
DA
16812012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1682
1683 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1684 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1685
41f03f4d
GM
16862012-04-17 Glenn Morris <rgm@gnu.org>
1687
1688 * mouse.el (mouse-drag-track):
1689 * speedbar.el (speedbar-frame-mode):
1690 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1691
f45f90f3
LL
16922012-04-16 Leo Liu <sdl.web@gmail.com>
1693
1694 * progmodes/python.el: Trivial cleanup.
1695
94ee8db5
GM
16962012-04-16 Glenn Morris <rgm@gnu.org>
1697
121b8917
GM
1698 * vc/vc.el (vc-string-prefix-p):
1699 * vc/pcvs-util.el (cvs-string-prefix-p):
1700 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1701 * mpc.el (mpc-string-prefix-p):
1702 Make all of these into obsolete aliases for string-prefix-p.
1703 Update callers.
1704 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1705
1197ecfa
GM
1706 * textmodes/two-column.el: Move custom options to the start.
1707 (frame-width): Remove compat definition.
1708 (2C-associate-buffer, 2C-dissociate):
1709 Use with-current-buffer rather than save-excursion.
1710 (2C-dissociate): Force a mode-line update.
1711 (2C-autoscroll): Use ignore-errors.
1712
099e7202
GM
1713 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1714 Autoload trivia.
1715
bf350d6a
GM
1716 * emacs-lisp/cl-extra.el (*random-state*):
1717 Remove unnecessary declaration.
1718
0e829eab
GM
1719 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1720
e3ad7552
GM
1721 * play/cookie1.el (cookie-snarf):
1722 Give an explicit error if input file cannot be read.
1723
68892d27
GM
1724 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1725
20f0c46d
GM
1726 * progmodes/perl-mode.el (c-macro-expand):
1727 Remove unnecessary autoload (it is in loaddefs.el).
1728
5a0978ce
GM
1729 * textmodes/picture.el (picture-desired-column)
1730 (picture-update-desired-column): Convert comments to doc-strings.
1731 (picture-substitute): Remove function.
1732 (picture-mode-map): Initialize in the defvar.
1733
6b955486
GM
1734 * woman.el: Remove eval-after-load for tar-mode.
1735 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1736 (woman-tar-extract-file): Autoload it.
1737
94ee8db5
GM
1738 * frame.el (automatic-hscrolling): Make this alias obsolete.
1739
177eca34
AM
17402012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1741
1742 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1743 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1744 (ispell-dictionary-base-alist): Revert to original XEmacs
1745 friendly version for default. [:alpha:] will be added in
1746 `ispell-set-spellchecker-params' if needed
177eca34 1747
c505aaeb
CY
17482012-04-16 Chong Yidong <cyd@gnu.org>
1749
1750 * image.el (imagemagick--extension-regexp): New variable.
1751 (imagemagick-register-types): Use it.
1752 (imagemagick-types-inhibit): Add :set function. Allow new value
1753 of t to inhibit all types.
1754
1755 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1756 so we can preload it.
1757
1758 * loadup.el (fboundp): Preload regexp-opt, needed by
1759 imagemagick-register-types.
1760
60efac0f
CY
17612012-04-15 Chong Yidong <cyd@gnu.org>
1762
1763 * frame.el (scrolling): Remove nearly unused customization group.
1764
1765 * scroll-all.el (scroll-all-mode): Move to windows group.
1766
5dd1713e
CY
17672012-04-15 Chong Yidong <cyd@gnu.org>
1768
1769 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1770
e6fd457e
CY
17712012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1774 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1775
e153c136
GM
17762012-04-15 Glenn Morris <rgm@gnu.org>
1777
1778 * simple.el (process-file-side-effects): Doc fix.
1779
e6fd457e 17802012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1781
1782 * international/mule-cmds.el (set-language-environment): Doc fix.
1783
3603c3b1
JB
17842012-04-14 Juanma Barranquero <lekktu@gmail.com>
1785
1786 * server.el (server-auth-key, server-generate-key): Doc fixes.
1787 (server-get-auth-key): Doc fix. Use `string-match-p'.
1788 (server-start): Reflow docstring.
1789
e6de100c
LI
17902012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1791
1792 * server.el (server-generate-key): `called-interactively-p'
1793 requires a parameter.
1794
29734c21
MN
17952012-04-14 Michal Nazarewicz <mina86@mina86.com>
1796
1797 * server.el (server-auth-key): New variable.
75f1671a 1798 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1799 (server-start): Use the new variable and functions to allow
1800 setting a permanent server key (bug#9423).
1801
d65c9521
LL
18022012-04-14 Leo Liu <sdl.web@gmail.com>
1803
1804 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1805
5ae255c7
PE
18062012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1807
1808 Spelling fixes.
1809 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1810 Emacs uses American spelling.
1811
d5e6342e
JB
18122012-04-14 Juanma Barranquero <lekktu@gmail.com>
1813
1814 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1815 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1816 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1817 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1818
ab036cd7
SM
18192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * progmodes/which-func.el (which-func-modes): Change default.
1822
35dc09a1 18232012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1824
1825 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1826 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1827
35dc09a1 18282012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1829
1830 * custom.el (custom-theme-set-variables): Doc fix.
1831
35dc09a1 18322012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1833
1834 * international/mule.el (set-auto-coding-for-load): Doc fix.
1835
35dc09a1 18362012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1837
35dc09a1
GM
1838 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1839 imenu work again for Objective C Mode. Correct the *-index values,
1840 these having been disturbed by a previous change in 2011-08.
57f845ee 1841
0de3da9f
AM
1842 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1843 Correct two search limits.
1844
35dc09a1 18452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1846
1847 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1848
35dc09a1 18492012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1850
1851 * international/characters.el: Fix sorting.
1852
35dc09a1 18532012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1854
1855 * international/characters.el: Add more missing Latin case pairs.
1856
35dc09a1 18572012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1858
1859 * files.el (dir-locals-set-class-variables): Doc fix.
1860
35dc09a1 18612012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1862
3f1b5bf8
EZ
1863 * international/characters.el: Add set-case-syntax-pair call for
1864 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1865 counterpart. (Bug#11209)
1866
9f847f41
EZ
1867 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1868
35dc09a1 18692012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1870
1871 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1872
35dc09a1 18732012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1874
35dc09a1
GM
1875 * textmodes/ispell.el (ispell-dictionary-base-alist):
1876 Add data for Hebrew.
e2627d21 1877
35dc09a1 18782012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1879
35dc09a1
GM
1880 * net/rcirc.el (rcirc-cmd-quit):
1881 Revert 2012-03-18 change (Bug#11192).
5c14e333 1882
35dc09a1 18832012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1884
1885 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1886
35dc09a1 18872012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1888
4517fe3a
SM
1889 * minibuffer.el (completion-in-region-mode-map):
1890 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1891
b472a594
VD
18922012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1893
1894 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1895
09b95ce3
MY
18962012-04-13 Masatake YAMATO <yamato@redhat.com>
1897
1898 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1899 to allow `C-M-f' and `C-M-b' to move to the nearest path
1900 separator (bug#9511).
1901
4b63a9ca
LI
19022012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1903
1904 * avoid.el: Require cl when compiling. And also move the
1905 `provide' to the end.
1906
7b55b8bf
TV
19072012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1908
1909 * avoid.el (mouse-avoidance-banish-position): New variable.
1910 (mouse-avoidance-banish-destination): Use it (bug#10165).
1911
adedaa1f
LL
19122012-04-13 Leo Liu <sdl.web@gmail.com>
1913
1914 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1915
70e74021
KB
19162012-04-13 Ken Brown <kbrown@cornell.edu>
1917
1918 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1919 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1920 (browse-url-filename-alist): For the same reason, don't modify
1921 file:// URLs on Cygwin.
1922
e75e89ba
SM
19232012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1926 the region on shift if the binding is already shifted (bug#11221).
1927
82f289a4
GM
19282012-04-12 Glenn Morris <rgm@gnu.org>
1929
1930 * mail/mailpost.el: Move to obsolete/.
1931
d333dc4c
DA
19322012-04-12 Drew Adams <drew.adams@oracle.com>
1933
1934 * imenu.el (imenu--generic-function): Ignore invisible definitions
1935 (bug#10123).
1936
0d15b5ba
VD
19372012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1938
1939 * hexl.el (hexl-bits): New variable.
1940 (hexl-options): Mention the variable in the doc string.
75f1671a 1941 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1942 (hexl-mode): Mention the new variable.
75f1671a
JB
1943 (hexl-mode, hexl-current-address, hexl-current-address):
1944 Use the displen.
0d15b5ba
VD
1945 (hexl-ascii-start-column): New function.
1946 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1947 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1948
64a440db
AM
19492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1950
1951 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1952 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1953 the encoding, as expected by hunspell.
1954
6decb6c2
SM
19552012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * battery.el (battery--linux-sysfs-regexp): New const.
1958 (battery-status-function): Use it. Remove yeeloong special case.
1959 (battery-yeeloong-sysfs): Remove.
1960 (battery-echo-area-format): Remove yeeloong special case.
1961
088be6fb
SM
19622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1963
6622e416
SM
1964 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1965 Reported by Noah Friedman.
1966
088be6fb
SM
1967 * subr.el (read-passwd): Use read-string.
1968
b49f886e
LMI
19692012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970
1971 * vcursor.el (vcursor-move): Increase the priority of the overlay
1972 (bug#9663).
1973
a63067fc
DD
19742012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1975
1976 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1977 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1978
ac3cf14a
WS
19792012-04-11 William Stevenson <yhvh2000@gmail.com>
1980
1981 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1982 define-minor-mode (bug#10760).
1983
c4fc691b 19842012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1985
4d6769e1 1986 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1987 that directories matching `grep-find-ignored-files' won't be
1988 pruned (bug#10351).
1989
af23e2e5
CY
19902012-04-11 Chong Yidong <cyd@gnu.org>
1991
1992 * startup.el (command-line): Remove support for long-obsolete
1993 variable font-lock-face-attributes.
1994
ab7ce8c1
GM
19952012-04-11 Glenn Morris <rgm@gnu.org>
1996
1997 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1998
de8c03dc
SM
19992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * window.el (window--state-get-1): Obey window-point-insertion-type.
2002
050cc68b
LB
20032012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2004
2005 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2006 to previous function when point is on the first character of a
75f1671a 2007 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2008
a38c310c
GM
20092012-04-11 Glenn Morris <rgm@gnu.org>
2010
effed0c2
GM
2011 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2012 not just file-errors.
2013
a38c310c
GM
2014 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2015 (vc-bzr-sha1): Use internal sha1.
2016
0221e323
SM
20172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2020
43956923
SG
20212012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2022
2023 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2024 that start in the middle of the line (bug#10496).
2025
6a8c9eaf
DN
20262012-04-10 Dan Nicolaescu <dann@gnu.org>
2027
2028 * battery.el (battery-linux-proc-acpi): Only one battery is
2029 discharged at a time, but that seems to confuse battery.el when
2030 computing `rate-type' for the battery not being discharged
2031 (bug#10332).
2032
1930bf5d
SM
20332012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2a718f6f
SM
2035 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2036
599430d0
SM
2037 * international/quail.el: Use dolist and simplify.
2038 (quail-define-package, quail-update-keyboard-layout)
2039 (quail-define-rules): Use dolist.
2040 (quail-insert-kbd-layout, quail-get-translation): CSE.
2041
a2754b6c
SM
2042 * tmm.el: Use dolist, remove left over hook.
2043 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2044 Use dolist.
2045 (calendar-load-hook): Don't mess with it.
2046
1930bf5d
SM
2047 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2048 Use derived-mode-p. Run the diff asynchronously.
2049
9f67961c
LMI
20502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051
2052 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2053
2a8ce227
JB
20542012-04-10 Juanma Barranquero <lekktu@gmail.com>
2055
2056 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2057 (list-dynamic-libraries--loaded): New function.
2058 (list-dynamic-libraries--refresh): Use it.
2059
8f33b5f8
NW
20602012-04-10 Nathan Weizenbaum <nweiz@google.com>
2061
1930bf5d
SM
2062 * progmodes/python.el (python-fill-paragraph):
2063 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2064 disabled (bug#7018).
2065
b12f0439
L
20662012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2067
1930bf5d 2068 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2069 DOS/MS Windows for the Baltic languages. There are still plenty
2070 of texts written in this encoding/codepage (bug#6519).
b12f0439 2071
57c3bd01
GM
20722012-04-10 Glenn Morris <rgm@gnu.org>
2073
2074 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2075 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2076
6c3eab30
FA
20772012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2078
1930bf5d 2079 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2080 next-line "n" and previous-line "p" in order to make recentf more
2081 consistent with ibuffer, dired or org-mode (bug#9387).
2082
24d78a88
LMI
20832012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2084
bc72b5d9
LMI
2085 * image.el (put-image): Return the overlay created instead of the
2086 optional input string (bug#7834). Note that this may break code
2087 that is (for some reason or other) depending on `put-image'
2088 returning the string.
2089
bd2dba5a
LMI
2090 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2091
74beb59f
LMI
2092 * simple.el (zap-to-char): Allow zapping using input methods
2093 (bug#1580).
2094
24d78a88
LMI
2095 * textmodes/fill.el (fill-region): Leave point and mark where they
2096 were before filling (bug#5399).
2097
263f20cd
GM
20982012-04-09 Glenn Morris <rgm@gnu.org>
2099
2100 * version.el (emacs-bzr-get-version):
2101 Handle lightweight checkouts of local branches.
2102
58d1f797
AS
21032012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2104
263f20cd 2105 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2106
b4d3bc10
CY
21072012-04-09 Chong Yidong <cyd@gnu.org>
2108
2109 * custom.el (custom-variable-p): Return nil for non-symbol
2110 arguments instead of signaling an error.
2111 (user-variable-p): Obsolete alias for custom-variable-p.
2112
2113 * apropos.el (apropos-variable):
2114 * files-x.el (read-file-local-variable):
2115 * simple.el (set-variable):
2116 * woman.el (woman-mini-help):
2117 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2118
fd06db5d
GM
21192012-04-09 Glenn Morris <rgm@gnu.org>
2120
e5fcdb5e
GM
2121 * startup.el (normal-top-level): Don't look for leim-list.el
2122 in places where it will not be found. (Bug#910)
2123
fd06db5d
GM
2124 * international/mule-cmds.el (set-default-coding-systems):
2125 * files.el (normal-mode):
2126 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2127 This function was removed with ucs-tables.el in 2008.
2128
b39bb7e1
EZ
21292012-04-08 Eli Zaretskii <eliz@gnu.org>
2130
2131 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2132 ispell-encoding8-command to "-i", without a trailing space.
2133 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2134 separate command-line arguments, to specify the encoding, since
2135 that's how hunspell expects it.
2136
5c5b8e23
GM
21372012-04-08 Glenn Morris <rgm@gnu.org>
2138
2139 * loadup.el: Load bindings before cus-start.
2140 This reduces somewhat the number of "rogue" settings in emacs -Q.
2141
a1ed8b05
GM
21422012-04-07 Glenn Morris <rgm@gnu.org>
2143
2144 * version.el (emacs-bzr-get-version): New function.
dfae128a 2145 (emacs-bzr-version): New variable.
a1ed8b05
GM
2146 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2147 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2148
b142f158
EZ
21492012-04-07 Eli Zaretskii <eliz@gnu.org>
2150
dfae128a
GM
2151 * international/uni-bidi.el, international/uni-category.el:
2152 * international/uni-combining.el, international/uni-decimal.el:
2153 * international/uni-decomposition.el, international/uni-digit.el:
2154 * international/uni-lowercase.el, international/uni-mirrored.el:
2155 * international/uni-name.el, international/uni-numeric.el:
2156 * international/uni-titlecase.el, international/uni-uppercase.el:
2157 Update for Unicode 6.1.
b142f158 2158
9078ead6
EZ
21592012-04-07 Eli Zaretskii <eliz@gnu.org>
2160
2161 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2162
f23d2c7d
LMI
21632012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164
2165 * window.el (shrink-window): Mention the `window-min-height'
2166 variable in the doc string.
2167
0a0a3573
BG
21682012-04-05 Bastien Guerry <bzg@altern.org>
2169
2170 * color.el (color-lighten-name): Fix typo.
2171
e5248ac9
SM
21722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * server.el (server--on-display-p): New function.
2175 (server--on-display-p): Use it.
2176
b4243e22
GV
21772012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2178
2179 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2180 (bug#11145).
2181
305d9f44
SM
21822012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * comint.el (comint--common-quoted-suffix): Check string boundary
2185 before comparing (bug#11158).
2186 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2187
3d439cd1
CY
21882012-04-04 Chong Yidong <cyd@gnu.org>
2189
321cc491
CY
2190 * minibuffer.el (completion-extra-properties): Doc fix.
2191
3d439cd1
CY
2192 * subr.el (delayed-warnings-hook): Doc fix.
2193
2d562c0f
DU
21942012-04-04 Daiki Ueno <ueno@unixuser.org>
2195
2196 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2197 selection (Bug#11159).
2198 (epa-insert-keys): Inform that the default public key will be
2199 exported if no key is selected.
2200
4443f204
RS
22012012-04-04 Richard Stallman <rms@gnu.org>
2202
2203 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2204
529c06b6
CY
22052012-04-03 Chong Yidong <cyd@gnu.org>
2206
2207 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2208 mail-insert-file, not its obsolete alias mail-attach-file.
2209
66b907dc
MA
22102012-04-03 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * notifications.el (notifications-notify): Fix docstring.
2213
c0ea195d
GM
22142012-04-02 Glenn Morris <rgm@gnu.org>
2215
2216 * emacs-lisp/authors.el (authors-aliases): Another addition.
2217
5ca64e00
MA
22182012-04-02 Michael Albinus <michael.albinus@gmx.de>
2219
2220 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2221 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2222 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2223
42ee526b
CY
22242012-04-01 Chong Yidong <cyd@gnu.org>
2225
2226 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2227 Handle root directory properly.
2228 (copy-directory): Caller changed.
2229
2230 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2231 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2232
0b021094
GM
22332012-03-31 Glenn Morris <rgm@gnu.org>
2234
40f86458
GM
2235 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2236
7019c177
GM
2237 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2238
a1daddd6
GM
2239 * calendar/calendar.el (calendar-window-list)
2240 (calendar-hide-window): Restore. (Bug#11140)
2241 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2242
0b021094
GM
2243 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2244
40311efc
TV
22452012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2246
2247 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2248 Check if file is a symlink (Bug#10489).
2249
2250 * files.el (copy-directory): Likewise.
2251
5319014e
CY
22522012-03-30 Chong Yidong <cyd@gnu.org>
2253
2254 * image.el (imagemagick-types-inhibit)
2255 (imagemagick-register-types): Doc fix.
2256
935d1290
AM
22572012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2258
ef24141c
SM
2259 * ispell.el (ispell-get-extended-character-mode):
2260 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2261 and treats ~word as ordinary words in pipe mode.
935d1290 2262
61c6e8fd
GM
22632012-03-30 Glenn Morris <rgm@gnu.org>
2264
2265 * tutorial.el (help-with-tutorial): Ensure local variables don't
2266 happen to make the buffer read-only. (Bug#11127)
2267
81fdff00
SM
22682012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2271 (perl-calculate-indent): Return `noindent' in strings.
2272
6e7a6ec0
SS
22732012-03-28 Sam Steingold <sds@gnu.org>
2274
2275 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2276 instead of the broken adhockery which does not prevent calendar
2277 buffers from being displayed at random after exit.
2278 (calendar-window-list, calendar-hide-window): Remove the broken
2279 adhockery.
2280
fee88ca0
GM
22812012-03-28 Glenn Morris <rgm@gnu.org>
2282
2283 * replace.el (query-replace-map): Doc fix.
2284
38de3354
AS
22852012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2286
2287 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2288 contents. (Bug#11109)
2289
b973155e
SM
22902012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2293 (bug#11077).
2294 (avl-tree--check, avl-tree--check-node): New funs.
2295
dcb6e7b3
MR
22962012-03-27 Martin Rudalics <rudalics@gmx.at>
2297
2298 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2299 (switch-to-prev-buffer, switch-to-next-buffer):
2300 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2301 showing a buffer already is done on the same frame.
2302
b4fa35fa
GM
23032012-03-27 Glenn Morris <rgm@gnu.org>
2304
2305 * startup.el (mail-host-address): Doc fix.
2306
f9210e18
SM
23072012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2310 than 197 variables.
2311
c0bf7753
AF
23122012-03-26 Ami Fischman <ami@fischman.org>
2313
2314 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2315
33da7b16
GM
23162012-03-26 Glenn Morris <rgm@gnu.org>
2317
02243d9d
GM
2318 * files.el (save-buffers-kill-emacs): Doc fix.
2319
33da7b16
GM
2320 * startup.el (normal-top-level, command-line, command-line-1):
2321 Give them doc strings.
2322
e5a69fd0
EZ
23232012-03-25 Eli Zaretskii <eliz@gnu.org>
2324
2325 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2326 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2327
9a69676a
CY
23282012-03-25 Chong Yidong <cyd@gnu.org>
2329
4125cb8b
CY
2330 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2331 theme if it was previously enabled before (Bug#11031).
2332
dd470960
CY
2333 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2334 spec with custom-face-get-current-spec if its :shown-value is not
2335 determined yet (Bug#9337).
4125cb8b 2336 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2337
9a69676a
CY
2338 * button.el (button-at): Minor addition to docstring.
2339
6e7e90fa
SL
23402012-03-24 Simon Leinen <simon.leinen@gmail.com>
2341
2342 * vc/vc.el (vc-merge): Fix a prompt.
2343
f06e2758
CY
23442012-03-24 Chong Yidong <cyd@gnu.org>
2345
2346 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2347 point (Bug#9623).
2348
6e7e90fa
SL
2349 * button.el (button-at): Minor addition to docstring.
2350
b9d0879b
SM
23512012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * newcomment.el (comment-choose-indent): No space after BOL.
2354
e71cebb3
SS
23552012-03-22 Sam Steingold <sds@gnu.org>
2356
2357 * window.el (switch-to-prev-buffer): Revert last patch because the
2358 bug turned out to be an advertised feature (Elisp manual 28.14).
2359
335aff35
GM
23602012-03-22 Glenn Morris <rgm@gnu.org>
2361
2362 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2363 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2364
c676576a
LMI
23652012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2366
2367 * net/network-stream.el (network-stream-open-starttls): Make error
2368 message under Windows be less misleading.
2369
126f3d39
LW
23702012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2371
2372 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2373 understands (bug#9942).
2374
64fee311
CY
23752012-03-22 Chong Yidong <cyd@gnu.org>
2376
2377 * simple.el (end-of-visible-line): Handle return value of
2378 next-single-property-change properly (Bug#9371).
2379
a640d29a
KH
23802012-03-22 Kenichi Handa <handa@m17n.org>
2381
2382 * international/quail.el (quail-insert-kbd-layout): Fix previous
2383 change. To avoid unwanted bidi reordering, use
2384 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2385
39675016
DG
23862012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2387
2388 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2389 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2390 (ruby-beginning-of-indent): Be more careful with the difference
2391 between word-boundary and symbol boundary.
2392 (ruby-mode-syntax-table): Make : a symbol constituent.
2393
0a6934fc 23942012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2395
3d008e4f
SM
2396 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2397
0a6934fc
SM
23982012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2399
af67c9d7
SM
2400 * progmodes/etags.el (tags-completion-at-point-function):
2401 Improve last fix.
2402
1acad97c
SM
2403 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2404
e298b5da
SS
24052012-03-21 Sam Steingold <sds@gnu.org>
2406
2407 * progmodes/etags.el (tags-completion-at-point-function):
2408 Avoid the error when point is inside the pattern.
2409
91d82a70
JY
24102012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2411
2412 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2413 line (Bug#10855).
2414
69188b79
CY
24152012-03-21 Drew Adams <drew.adams@oracle.com>
2416
2417 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2418
99fc91fe
AK
24192012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2420
2421 * ido.el (ido-set-current-directory, ido-read-internal)
2422 (ido-choose-completion-string, ido-completion-help): Handle nil
2423 value of ido-completion-buffer (Bug#11008).
2424
087bbb4c
SS
24252012-03-21 Sam Steingold <sds@gnu.org>
2426
2427 * window.el (switch-to-prev-buffer): Do not switch to a visible
2428 window previous buffer, just like with the frame previous buffers.
2429
fb5b8aca
CY
24302012-03-21 Chong Yidong <cyd@gnu.org>
2431
2432 * faces.el (make-face, make-empty-face, copy-face):
2433 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2434 Doc fixes.
2435
dc9924b8
SM
24362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2439 (widget-complete): Remove broken use of it.
2440
f0bcceb9
CY
24412012-03-20 Chong Yidong <cyd@gnu.org>
2442
dc9924b8
SM
2443 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2444 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2445 characters.
2446
ee52ebf3
TH
24472012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2448
2449 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2450 to draw rectangles, not squares. (Regression introduced by revno
2451 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2452
4c5779ab
CY
24532012-03-18 Chong Yidong <cyd@gnu.org>
2454
2455 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2456 it is not yet defined (for temacs).
2457
15360934
LL
24582012-03-18 Leo Liu <sdl.web@gmail.com>
2459
dc9924b8 2460 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2461
d9a8eb66
EZ
24622012-03-17 Eli Zaretskii <eliz@gnu.org>
2463
2464 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2465 (ispell-choices-win-default-height, ispell-silently-savep)
2466 (ispell-dictionary-alist, ispell-encoding8-command)
2467 (ispell-check-version, ispell-aspell-find-dictionary)
2468 (ispell-valid-dictionary-list, ispell-words-keyword)
2469 (ispell-get-word, ispell-internal-change-dictionary)
2470 (ispell-region, ispell-skip-region-list)
2471 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2472 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2473 (ispell-message-text-end, ispell-message)
2474 (ispell-buffer-local-parsing): Doc fix.
2475
f02ff80d
J
24762012-03-13 Jambunathan K <kjambunathan@gmail.com>
2477
2478 * htmlfontify.el: Add support for code block fontification for ODT
2479 export (Bug #9914).
2480 (hfy-optimisations): Define new option
2481 `body-text-only'
2482 (hfy-fontify-buffer): Honor above setting.
2483 (hfy-begin-span, hfy-end-span): New routines factored out form
2484 `hfy-fontify-buffer'.
2485 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2486 that permit insertion of custom tags.
2487 (hfy-fontify-buffer): Use above handlers.
2488 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2489 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2490 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2491 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2492 bind a special variable `hfy-user-sheet-assoc'.
2493 (htmlfontify-string): New defun.
2494 (hfy-compile-face-map): Make sure that the last char in the
2495 buffer is correctly fontified.
2496 (hfy-face-resolve-face): Whitespace only change.
2497
9ac7a13f
EZ
24982012-03-17 Eli Zaretskii <eliz@gnu.org>
2499
2500 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2501 message more clear.
2502
e2b5bdd7
LL
25032012-03-16 Leo Liu <sdl.web@gmail.com>
2504
2505 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2506
2e492df3
AM
25072012-03-16 Alan Mackenzie <acm@muc.de>
2508
2509 Further optimise the handling of large macros.
2510
2511 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2512 limit to a call of `c-literal-limits'.
2513 (c-determine-+ve-limit): New function.
dc9924b8
SM
2514 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2515 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2516 In CASE 5B, restrict a search limit to 500.
2517 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2518
2519 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2520 Restrict macro bounds to +-500 from after-change's BEG END.
2521
50e94f0c
LL
25222012-03-16 Leo Liu <sdl.web@gmail.com>
2523
2524 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2525
6f09f6ed
AH
25262012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2527
2528 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2529 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2530
c7e73d51
GM
25312012-03-16 Glenn Morris <rgm@gnu.org>
2532
da986230
GM
2533 * view.el (view-buffer, view-buffer-other-window)
2534 (view-buffer-other-frame): Doc fixes re special mode-class.
2535
0835f01e
GM
2536 * subr.el (eval-after-load): If named feature is provided not from
2537 a file, run after-load forms. (Bug#10946)
2538
c7e73d51
GM
2539 * calendar/calendar.el (calendar-insert-at-column):
2540 Handle non-unit-width characters a bit better. (Bug#10978)
2541
3f2eafd1
CY
25422012-03-15 Chong Yidong <cyd@gnu.org>
2543
2544 * emacs-lisp/ring.el (ring-extend): New function.
2545 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2546
2547 * comint.el (comint-read-input-ring)
2548 (comint-add-to-input-history): Grow comint-input-ring lazily.
2549
103af3fe
SM
25502012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2551
663b1677
SM
2552 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2553 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2554
103af3fe
SM
2555 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2556 (imenu-add-to-menubar): Don't add a redundant index.
2557 (imenu-update-menubar): Handle a dynamically composed keymap.
2558
899cb7cb
KY
25592012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2560
2561 * mail/sendmail.el (mail-encode-header):
2562 Bind rfc2047-encode-encoded-words to nil.
2563
3809f91d
GM
25642012-03-13 Glenn Morris <rgm@gnu.org>
2565
2566 * calendar/calendar.el (calendar-string-spread):
2567 Handle non-unit-width characters a bit better. (Bug#10978)
2568
9e345a01
LL
25692012-03-13 Leo Liu <sdl.web@gmail.com>
2570
2571 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2572 directory and file as argument (Bug#10822).
2573
4a07df36
KS
25742012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2575
2576 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2577 For dynamically generated code, follow $PC.
2578 (gdb-disassembly-handler-custom): Handle no function name case.
2579
4aaa9356
TL
25802012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2581
2582 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2583 * emulation/ws-mode.el (ws-query-replace):
2584 * sort.el (sort-regexp-fields):
2585 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2586
225979da
SM
25872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * dabbrev.el: Fix cycle completion order (bug#10963).
2590 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2591 (dabbrev-completion): Don't use an obarray; provide
2592 a cycle-sort-function.
2593
e2f1fdab
LL
25942012-03-12 Leo Liu <sdl.web@gmail.com>
2595
dc9924b8 2596 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2597 (kill-do-not-save-duplicates): Doc fix.
2598
b19490ed
SM
25992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * dabbrev.el: Fix cycle completion (bug#10963).
2602 Use lexical binding and wrap to 80 columns.
2603 (dabbrev-completion): Delay computing the list of completions.
2604
4b05d722
KH
26052012-03-12 Kenichi Handa <handa@m17n.org>
2606
2607 * international/quail.el (quail-insert-kbd-layout): Surround each
2608 row by LRO and PDF instead of inserting many LRMs. Pad the left
2609 and right of each non-spacing marks. Insert invisible space
2610 between lower and upper characters to prevent composition.
2611
dbbc2e69
SM
26122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * minibuffer.el (minibuffer-complete): Don't get confused when the
2615 function is run twice via different commands (bug#10958).
2616 (complete-with-action): Fix docstring.
2617
292112ed
CY
26182012-03-12 Chong Yidong <cyd@gnu.org>
2619
5d1ac394
CY
2620 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2621 (nxml-completion-at-point-function): New function.
2622 (nxml-mode): Use it.
2623 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2624
292112ed
CY
2625 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2626 Load generated autoloads file before byte compiling (Bug#10970).
2627 (package--make-autoloads-and-compile): New helper fun.
2628
4098f8f7
CS
26292012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2630
2631 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2632
8f754691
MA
26332012-03-11 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * autorevert.el (auto-revert-handler): Ensure, that
2636 file-readable-p is applied only for local files or in
2637 auto-revert-tail-mode.
2638
e29ab36b
AS
26392012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2640
dbbc2e69
SM
2641 * server.el (server-eval-at): Handle non-tcp connections.
2642 Decode result string.
ad0bf5b6 2643
e29ab36b
AS
2644 * server.el (server-msg-size): New constant.
2645 (server-reply-print): New function.
2646 (server-eval-and-print): Use it.
2647 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2648 Handle -print-nonl.
2649
de5939ba
CS
26502012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2651
2652 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2653 (Bug#10987).
2654
0c93eabf
CY
26552012-03-11 Chong Yidong <cyd@gnu.org>
2656
397a688f
CY
2657 * simple.el (goto-line): Doc fix (Bug#9938).
2658
2cc775f9
CY
2659 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2660
0c93eabf
CY
2661 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2662 when finished (Bug#10963).
2663
c491fa41
MR
26642012-03-11 Martin Rudalics <rudalics@gmx.at>
2665
2666 * window.el (split-window-below): Fix bug in case where
2667 split-window-keep-point is nil (Bug#10971).
2668
300e8fa5
JL
26692012-03-11 Juri Linkov <juri@jurta.org>
2670
2671 * replace.el (replace-highlight): Set isearch-word to nil
2672 unconditionally. (Bug#10887)
2673
dbf6c5a1
EZ
26742012-03-10 Eli Zaretskii <eliz@gnu.org>
2675
2676 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2677 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2678 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2679 (mairix-widget-create-query): Add usage information about mairix
2680 search forms: negating words, searching for substrings, etc.
2681
b9e501de
JP
26822012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2683
2684 * international/fontset.el (font-encoding-alist): Add an entry for
2685 ksx1001 (Bug#5667).
2686
92795c91
RS
26872012-03-10 Richard Stallman <rms@gnu.org>
2688
1694e6c1
RS
2689 * mail/sendmail.el (mail-encode-header):
2690 Set rfc2047-encode-encoded-words.
2691
607e8555
RS
2692 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2693
de3bc99a
RS
2694 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2695 view buffer means not swapped.
2696 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2697 (rmail-write-region-annotate): Error if real text has disappeared.
2698
92795c91
RS
2699 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2700
699bd04e
CY
27012012-03-10 Chong Yidong <cyd@gnu.org>
2702
2703 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2704 * emulation/cua-base.el (cua--init-keymaps):
2705 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2706
570a1714
MR
27072012-03-10 Martin Rudalics <rudalics@gmx.at>
2708
dbbc2e69
SM
2709 * speedbar.el (speedbar-unhighlight-one-tag-line):
2710 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2711
82dcf4e4
CY
27122012-03-10 Chong Yidong <cyd@gnu.org>
2713
7a2c7ca7
CY
2714 * minibuffer.el (completion-in-region, completion-help-at-point):
2715 Give the completion field overlay a high priority (Bug#6830).
2716
82dcf4e4
CY
2717 * dired.el (dired-goto-file): Recognize absolute file name
2718 listings (Bug#7126).
2719 (dired-goto-file-1): New helper function.
2720 (dired-toggle-read-only): Inhibit warnings.
2721
052e28ac
MA
27222012-03-09 Michael Albinus <michael.albinus@gmx.de>
2723
75f1671a 2724 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2725 there are no properties.
2726
95d5e396
LL
27272012-03-09 Leo Liu <sdl.web@gmail.com>
2728
2729 * savehist.el (savehist-printable): Stricter check for string
2730 value (Bug#10937).
2731
3f018d6d
EZ
27322012-03-09 Eli Zaretskii <eliz@gnu.org>
2733
dbbc2e69
SM
2734 * mail/smtpmail.el (smtpmail-send-it):
2735 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2736 valid mbox format.
2737
f7fd3d79
GM
27382012-03-09 Glenn Morris <rgm@gnu.org>
2739
2740 * files.el (dir-locals-find-file):
2741 Don't check result is regular, readable.
2742 (dir-locals-read-from-file): Demote errors.
2743
6ff6e72f
EZ
27442012-03-08 Eli Zaretskii <eliz@gnu.org>
2745
dbbc2e69
SM
2746 * international/quail.el (quail-insert-kbd-layout):
2747 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2748 layout cell, to prevent their reordering by bidi display engine.
2749 For details, see the discussion in
2750 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2751
9cec7834
AM
27522012-03-08 Alan Mackenzie <acm@muc.de>
2753
2754 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2755 the starting position; make it extend the marked region when
2756 invoked repeatedly - all under appropriate circumstances.
2757 Fixes bugs #5525, #10906.
2758
9a40b8d4
GM
27592012-03-08 Glenn Morris <rgm@gnu.org>
2760
2761 * files.el (locate-dominating-file, dir-locals-find-file):
2762 Undo 2012-03-06 change.
2763
7a08ed35
EZ
27642012-03-07 Eli Zaretskii <eliz@gnu.org>
2765
dbbc2e69
SM
2766 * international/quail.el (quail-help):
2767 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2768 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2769 for the reason.
2770
5aca4f71 27712012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2772
2773 Avoid superfluous registering of signals. (Bug#10807)
2774
2775 * notifications.el (notifications-on-action-object)
2776 (notifications-on-close-object): New defvars.
2777 (notifications-on-action-signal, notifications-on-closed-signal):
2778 Unregister the signal if not needed any longer.
2779 (notifications-notify): Register `notifications-action-signal' or
2780 `notifications-closed-signal', if :on-action or :on-close has been
2781 passed as argument.
2782
78e8b10a
CY
27832012-03-07 Chong Yidong <cyd@gnu.org>
2784
2785 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2786 non-X platforms.
2787
69481eb8
GM
27882012-03-06 Glenn Morris <rgm@gnu.org>
2789
2790 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2791 (x-disown-selection-internal, x-get-selection-internal):
2792 Doc fix (add arglist signatures). (Bug#10783)
2793
133b8e11
KS
27942012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2795
2796 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2797 Handle breakpoints with no "type".
2798
99a83064
GM
27992012-03-06 Glenn Morris <rgm@gnu.org>
2800
2801 * files.el (locate-dominating-file): Add optional predicate argument.
2802 (dir-locals-find-file): Make use of above change.
2803
17798e78
TTN
28042012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2805
2806 * info.el (Info-insert-dir): Also try "dir.gz".
2807
eb182446
GM
28082012-03-06 Glenn Morris <rgm@gnu.org>
2809
8f2114ee
GM
2810 * files.el (dir-locals-find-file):
2811 Ignore non-readable or non-regular files. (Bug#10928)
2812
eb182446
GM
2813 * files.el (locate-dominating-file): Doc fix.
2814
24679323
AS
28152012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2816
2817 * calendar/calendar.el (calendar-set-mode-line):
2818 `getenv' returns a string. (Bug#10951)
2819
01d972a9
LL
28202012-03-05 Leo Liu <sdl.web@gmail.com>
2821
109aa8a9
LL
2822 * simple.el (backward-delete-char-untabify): Constrain point to
2823 field (Bug#10939).
2824
01d972a9
LL
2825 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2826
10607bea
CY
28272012-03-05 Chong Yidong <cyd@gnu.org>
2828
2829 * simple.el (count-words): If called from Lisp, return the word
2830 count, for symmetry with `count-lines'. Arglist changed.
2831 (count-words--message): Args changed. Consolidate counting code
2832 from count-words and count-words-region.
2833 (count-words-region): Caller changed.
2834 (count-lines-region): Make it an obsolete alias.
2835
5dd11cfe
TH
28362012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2837
2838 * saveplace.el (save-place-to-alist)
2839 (save-place-ignore-files-regexp): Allow value nil to disable this
2840 feature.
2841
c349f4e6
CY
28422012-03-04 Chong Yidong <cyd@gnu.org>
2843
2844 * faces.el (face-spec-reset-face): For the default face, reset the
2845 attributes to default values (Bug#10748).
2846
e627be4c
LMI
28472012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2848
2849 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2850 previous patch: Check `message-send-mail-function', and not the
2851 default function (bug#10897).
2852
ebeabff4
MA
28532012-03-04 Michael Albinus <michael.albinus@gmx.de>
2854
a41a6cf4
MA
2855 * notifications.el (notifications-on-action-signal)
2856 (notifications-on-closed-signal): Check for unique service name of
2857 incoming event. Fix error in removing entry.
ebeabff4 2858 (top): Register for signals with wildcard service name.
a41a6cf4 2859 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2860
c1ca42b4
CY
28612012-03-04 Chong Yidong <cyd@gnu.org>
2862
dc9924b8 2863 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2864
ea16568d
GM
28652012-03-04 Glenn Morris <rgm@gnu.org>
2866
2867 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2868 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2869 (expand-abbrev, define-abbrev-table): Doc fixes.
2870
fbae4637
LMI
28712012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2872
2873 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2874 `message-default-send-mail-function' and not `send-mail-function'
2875 when doing the prompting for `sendmail-query-once' before sending
2876 in Message buffers (bug#10897).
2877
a1e7225c
LMI
2878 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2879 This is inconsistent with all the other stream functions, which leave
2880 the setting up to the higher levels (if so wanted) (bug#10931).
2881
56d093a9
AM
28822012-03-02 Alan Mackenzie <acm@muc.de>
2883
2884 Depessimize the handling of very large macros.
2885
2886 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2887 (c-macro-cache-syntactic): New variables to implement a one
2888 element macro cache.
2889 (c-invalidate-macro-cache): New function.
2890 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2891 Adapt to use the new cache.
2892 (c-state-safe-place): Use better the cache of safe positions.
2893 (c-state-semi-nonlit-pos-cache)
2894 (c-state-semi-nonlit-pos-cache-limit):
2895 New variables for...
2896 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2897 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2898 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2899 Use c-state-semi-safe-place.
56d093a9 2900
dbbc2e69
SM
2901 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2902 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2903
817e5c3d
MA
29042012-03-02 Michael Albinus <michael.albinus@gmx.de>
2905
dbbc2e69
SM
2906 * jka-compr.el (jka-compr-call-process):
2907 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2908 not remote.
2909
a032a702
MA
29102012-03-01 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2913 access of FILE2, if FILE1 does not exist.
2914
99a54f21
MA
2915 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2916 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2917
2918 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2919 Add "PAGER=" to `process-environment'.
2920
f6561e1f
MM
29212012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2922
2923 * progmodes/sql.el: Bug fix
2924 (sql-get-login-ext): Save login values in globals.
2925 (sql-get-login): Use new version of `sql-get-login-ext'.
2926 (sql-interactive-mode): Set global `sql-connection' to nil.
2927 (sql-connect): Set global values for connection.
2928 (sql-product-interactive): Save global values as buffer local.
2929
2d44d9cc
LL
29302012-02-29 Leo Liu <sdl.web@gmail.com>
2931
2932 * abbrev.el (define-abbrevs): Reset sys to nil.
2933
96b49301 29342012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2935
bf7f9bc5
JB
2936 * files.el (file-equal-p): Rename from `files-equal-p'.
2937 Return nil when one or both files don't exist.
96b49301 2938 (file-subdir-of-p): Now only top directory must exists,
2939 return nil if it doesn't.
bf7f9bc5
JB
2940 (copy-directory): No need to test with `file-subdir-of-p' after
2941 creating dir.
2942 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2943 to `file-equal-p'.
96b49301 2944
44e97401
GM
29452012-02-28 Glenn Morris <rgm@gnu.org>
2946
2947 * shell.el (shell-mode):
2948 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2949 * play/landmark.el (landmark-font-lock-face-O):
2950 * play/handwrite.el (handwrite):
2951 * play/gomoku.el (gomoku-O):
2952 * net/browse-url.el (browse-url-browser-display):
2953 * international/mule.el (define-charset):
2954 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2955 * filesets.el (filesets-find-file-delay):
2956 * eshell/em-xtra.el (eshell-xtra):
2957 * eshell/em-unix.el (eshell-grep):
2958 * emulation/viper.el (viper-mode):
2959 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2960 * emacs-lisp/easymenu.el (easy-menu-define):
2961 * calendar/timeclock.el (timeclock-use-display-time):
2962 * bs.el (bs-mode):
2963 * bookmark.el (bookmark-save-flag):
2964 Doc fix (standardize possessive apostrophe usage).
2965
c98c6276
CY
29662012-02-27 Chong Yidong <cyd@gnu.org>
2967
bf7f9bc5
JB
2968 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2969 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2970
c98c6276
CY
2971 * font-lock.el (font-lock-specified-p): Rename from
2972 font-lock-spec-present. Callers changed.
2973
9c62cd04 29742012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2975
bf7f9bc5
JB
2976 * emacs-lisp/package.el (package-compute-transaction):
2977 Handle holding a package version to t in package-load-list.
8ac9e529 2978
530739c9
MA
29792012-02-26 Michael Albinus <michael.albinus@gmx.de>
2980
2981 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2982 (tramp-get-inode, tramp-get-device): Use cached values.
2983
487915d7
AM
29842012-02-26 Alan Mackenzie <acm@muc.de>
2985
2986 Check there is a font-lock specification before doing initial
2987 fontification.
2988
2989 * font-core.el (font-lock-mode): Move the conditional from
2990 :after-hook to font-lock-initial-fontify.
2991 (font-lock-default-function): Move the check for a specification
2992 to font-lock-spec-present.
2993
dc9924b8 2994 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2995 (font-lock-spec-present): New function.
2996
4fd96557
JB
29972012-02-26 Jim Blandy <jimb@red-bean.com>
2998
2999 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3000 (gdb-send): Apply it to the operand of the '-interpreter-exec
3001 console' command, so that we can pass arguments with (say) quotes
3002 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3003
9a4888c0
CY
30042012-02-26 Chong Yidong <cyd@gnu.org>
3005
07498861
CY
3006 * help-fns.el (describe-function-1): Clarify description of
3007 remapping (Bug#10844).
3008
9a4888c0
CY
3009 * files.el (files-equal-p): Doc fix.
3010 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3011 and quit the loop once a mismatch is found.
3012
ea8fb88d
JB
30132012-02-25 Juanma Barranquero <lekktu@gmail.com>
3014
3015 * bs.el (bs--show-with-configuration): Don't throw an error
3016 if the window cannot be split; otherwise, subsequent calls to
3017 bs-show fail, restoring a stale window config. (Bug#10882)
3018
525795c1
JD
30192012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3020
3021 * term/ns-win.el (global-map): Bind ns-drag-file to
3022 ns-find-file (Bug#5855, Bug#10050).
3023
f008086f
AS
30242012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3025
3026 * calendar/parse-time.el (parse-time-string): Allow extractor to
3027 return nil.
3028
a3fcfa99
MA
30292012-02-25 Michael Albinus <michael.albinus@gmx.de>
3030
91027d08
JB
3031 * net/tramp.el (tramp-file-name-for-operation):
3032 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3033
3034 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3035 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3036 Add COPY-CONTENTS argument.
a3fcfa99 3037
67b0de11
CY
30382012-02-25 Chong Yidong <cyd@gnu.org>
3039
3040 Add custom groups for VC backends, for consistency with vc-bzr.
3041
3042 * vc/vc-arch.el (vc-arch):
3043 * vc/vc-cvs.el (vc-cvs):
3044 * vc/vc-git.el (vc-git):
3045 * vc/vc-hg.el (vc-hg):
3046 * vc/vc-mtn.el (vc-mtn):
3047 * vc/vc-rcs.el (vc-rcs):
3048 * vc/vc-sccs.el (vc-sccs):
3049 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3050 All relevant defcustoms reassigned.
3051
3c9dfce6
CY
30522012-02-25 Chong Yidong <cyd@gnu.org>
3053
1339bf43
CY
3054 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3055
3c9dfce6
CY
3056 * term/x-win.el (x-initialize-window-system): Reduce default for
3057 x-selection-timeout to 5 seconds (Bug#8869).
3058
25b2e303 30592012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3060
ec70a47d
GM
3061 * files.el (files-equal-p, file-subdir-of-p): New functions.
3062 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3063 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3064 * dired-aux.el (dired-copy-file-recursive): Same.
3065 (dired-create-files): Modify destination when source is equal to
3066 dest when copying files.
53a46cd0 3067 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3068
914260cd
MA
30692012-02-24 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3072 (Bug#10874)
3073
2cb228f7
AM
30742012-02-23 Alan Mackenzie <acm@muc.de>
3075
3076 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3077 parameter "after-hook:" to allow the expansion to run code after
3078 the execution of the mode hooks.
3079
3080 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3081 from font-lock-mode-internal.
2cb228f7 3082
91027d08 3083 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3084 :after-hook.
3085
8f0fde21
SM
30862012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3e88618b
SM
3088 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3089 (completion--cache-all-sorted-completions): New function.
3090 (completion-all-sorted-completions): Use it.
3091 (completion--do-completion, minibuffer-force-complete):
3092 Use it to re-instate the flush hook.
3093
8f0fde21
SM
3094 * icomplete.el (icomplete-completions): Replace last fix with a better
3095 one (bug#10850).
3096
8e911f6f
DG
30972012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3098
3099 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3100 when it might call us back infinitely (bug#10797).
3101
49fe4321
GM
31022012-02-23 Glenn Morris <rgm@gnu.org>
3103
3104 * minibuffer.el (completion-category-overrides): Doc fix.
3105
b291b572
SM
31062012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3109 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3110
31a9ef2e
GM
31112012-02-23 Glenn Morris <rgm@gnu.org>
3112
5e6e6794 3113 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3114 (authors-obsolete-files-regexps, authors-ignored-files)
3115 (authors-ambiguous-files, authors-renamed-files-alist):
3116 Add more entries.
3117
0bd1e074
JL
31182012-02-23 Juri Linkov <juri@jurta.org>
3119
3120 * isearch.el (isearch-occur): Sync interactive spec with occur's
3121 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3122
b617673c
JL
3123 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3124
19e9789e
JL
31252012-02-22 Juri Linkov <juri@jurta.org>
3126
3127 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3128 (ucs-insert): Doc fix. Check for hex digits in the string.
3129 Don't display `nil' in the error message. (Bug#10857)
3130
f41ce09d
AM
31312012-02-22 Alan Mackenzie <acm@muc.de>
3132
7a71b18d 3133 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3134
ac2eceee
GM
31352012-02-22 Glenn Morris <rgm@gnu.org>
3136
3137 * ffap.el (ffap-c-path):
3138 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3139
abd1f678
CY
31402012-02-22 Chong Yidong <cyd@gnu.org>
3141
3142 * custom.el (load-theme): Doc fix.
3143
f25aef2e
GM
31442012-02-22 Glenn Morris <rgm@gnu.org>
3145
3146 * dired-x.el (dired-guess-shell-alist-default):
3147 Remove escape sequences from nroff output. (Bug#172)
3148
5f8dc2ca
GM
31492012-02-21 Glenn Morris <rgm@gnu.org>
3150
6ff86ec4
GM
3151 * vc/emerge.el (emerge-defvar-local):
3152 Set `permanent-local' property rather than unused `preserved'.
3153
be3223a3 3154 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3155 (picture-mode-map): Use it. (Bug#10860)
3156 (picture-mode): Doc fix.
3157
3fe58f4f
JB
31582012-02-21 Juanma Barranquero <lekktu@gmail.com>
3159
3160 * newcomment.el (uncomment-region-default): Remove unused binding.
3161
f9a998c3
GM
31622012-02-21 Glenn Morris <rgm@gnu.org>
3163
3164 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3165 (picture-self-insert, picture-tab-chars): Doc fix.
3166 (picture-mode-map): Fix C-a, C-e.
3167
c6029348
GM
31682012-02-20 Glenn Morris <rgm@gnu.org>
3169
3170 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3171
ab1ce9d7
LL
31722012-02-20 Leo Liu <sdl.web@gmail.com>
3173
3174 * icomplete.el (icomplete-completions): Check FROM arg before
3175 passing to substring (Bug#10850).
3176
0fd40f89
CY
31772012-02-19 Chong Yidong <cyd@gnu.org>
3178
3179 * comint.el: Require ansi-color.
3180 (comint-output-filter-functions): Add ansi-color-process-output.
3181
3182 * ansi-color.el: Don't set comint-output-filter-functions; it is
3183 now in the initial value defined in comint.el.
3184 (ansi-color-apply-face-function): New variable.
3185 (ansi-color-apply-on-region): Use it.
3186 (ansi-color-apply-overlay-face): New function.
3187
3188 * shell.el (shell): No need to require ansi-color.
3189 (shell-mode): Use ansi-color-apply-face-function to highlight
3190 color escapes using font-lock-face property (Bug#10835).
3191
20af2394
CY
31922012-02-19 Chong Yidong <cyd@gnu.org>
3193
3194 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3195 mode-line formats (Bug#10839).
3196
e23a3fbe
GM
31972012-02-18 Glenn Morris <rgm@gnu.org>
3198
b474519e
GM
3199 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3200
3201 * mail/undigest.el (unforward-rmail-message): Doc fix.
3202
e23a3fbe
GM
3203 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3204
57939ff4
EZ
32052012-02-18 Eli Zaretskii <eliz@gnu.org>
3206
3207 * international/characters.el (script-list): Sync with the latest
3208 Unicode Character Database.
3209
0c23686e
AS
32102012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3211
3212 * international/titdic-cnv.el: Remove duplicate coding tag.
3213 * language/cham.el: Likewise.
3214 * language/tai-viet.el: Likewise.
3215
6818b449
GM
32162012-02-18 Glenn Morris <rgm@gnu.org>
3217
3218 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3219 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3220 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3221 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3222 * calendar/holidays.el (holiday-bahai-holidays)
3223 (calendar-holidays, list-holidays):
3224 Use utf-8 Bahá'í in doc-strings, menus, etc.
3225
0311a3fc
TH
32262012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3227
3228 * saveplace.el (save-place-ignore-files-regexp): New variable
3229 allowing for excluding files from saving their location of point.
3230 The default value matches the temporary commit message editing
3231 files from Git, SVN, Bazaar, and Mercurial.
3232 (save-place-to-alist): Use it.
3233
eb864a71
LM
32342012-02-17 Lawrence Mitchell <wence@gmx.li>
3235 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * newcomment.el (uncomment-region-default): Don't leave extra space
3238 when an arg is provided (bug#8150).
3239
ee0ce425
TZ
32402012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3241
eb864a71 3242 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3243
95ddf442
GM
32442012-02-17 Glenn Morris <rgm@gnu.org>
3245
3246 * net/socks.el: Require network-stream. (Bug#10599)
3247
48dd1e39 32482012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3249
3250 * international/charprop.el:
3251 * international/uni-name.el:
3252 * international/uni-old-name.el:
3253 * international/uni-comment.el: Regenerate.
3254
d68cd087
GM
32552012-02-16 Glenn Morris <rgm@gnu.org>
3256
3257 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3258 Interactively in calendar buffer, give an error if not on a date.
3259
13932042
GM
32602012-02-15 Glenn Morris <rgm@gnu.org>
3261
3262 * shell.el (shell-delimiter-argument-list):
3263 Revert 2011-02-17 change. (Bug#8027)
3264
c3a70e2b
CY
32652012-02-15 Chong Yidong <cyd@gnu.org>
3266
60236b0d
CY
3267 * minibuffer.el (completion-at-point-functions): Doc fix.
3268
c3a70e2b
CY
3269 * custom.el (defcustom): Doc fix; note use of defvar.
3270
9f26dc24
GM
32712012-02-15 Glenn Morris <rgm@gnu.org>
3272
3273 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3274 Doc fixes.
3275
6546b134
GM
32762012-02-14 Glenn Morris <rgm@gnu.org>
3277
3278 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3279
d29b2b4c
LI
32802012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3281
3282 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3283 way the ports list is computed.
835bdcba
LI
3284 (smtpmail-query-smtp-server): Prompt the user for a port number if
3285 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3286
08dcdbc9
TZ
32872012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3288
3289 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3290
2605051a
GM
32912012-02-13 Glenn Morris <rgm@gnu.org>
3292
3293 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3294
7ee99f32
TZ
32952012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3296
3297 * net/gnutls.el (gnutls-trustfiles): New variable.
3298 (gnutls-negotiate): Use it.
3299
5f0af64f
LI
33002012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3301
3302 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3303 does its stuff if Gnus is running.
3304
c14fcc95
AM
33052012-02-13 Alan Mackenzie <acm@muc.de>
3306
3307 Fix a loop in c-set-fl-decl-start.
3308
7a71b18d 3309 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3310 c-backward-syntactic-ws actually moves backwards.
3311
142b4d90
LL
33122012-02-13 Leo Liu <sdl.web@gmail.com>
3313
3314 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3315 beginning so that all \C-o chars are removed.
3316
fa9958a6
TZ
33172012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3318
dc9924b8 3319 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3320
0bc5886a
AM
33212012-02-12 Alan Mackenzie <acm@muc.de>
3322
3323 Fix infinite loop with long macros.
4d6769e1 3324 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3325
d4bd55e7
CY
33262012-02-12 Chong Yidong <cyd@gnu.org>
3327
3328 * window.el (display-buffer): Doc fix (Bug#10785).
3329
66f3fe22
GM
33302012-02-12 Glenn Morris <rgm@gnu.org>
3331
bd7da63e
GM
3332 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3333 (x-disown-selection-internal, x-get-selection-internal):
3334 Sync docs with the xselect.c versions.
3335
66f3fe22
GM
3336 * allout-widgets.el: Add missing license notice.
3337
3e0d2fa7
GM
33382012-02-11 Glenn Morris <rgm@gnu.org>
3339
cfecdf09
GM
3340 * select.el (x-get-selection-internal, x-own-selection-internal)
3341 (x-disown-selection-internal):
3342 * x-dnd.el (x-get-selection-internal): Update declarations.
3343
6d216d7f
GM
3344 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3345
2bed3f04
GM
3346 * window.el (window-sides-slots):
3347 * tool-bar.el (tool-bar-position):
3348 * term/xterm.el (xterm-extra-capabilities):
3349 * ses.el (ses-self-reference-early-detection):
3350 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3351 (verilog-auto-wire-type)
3352 (verilog-auto-delete-trailing-whitespace)
3353 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3354 (verilog-auto-tieoff-declaration):
3355 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3356 (sql-oracle-statement-starters, sql-oracle-scan-on):
3357 * progmodes/prolog.el (prolog-align-comments-flag)
3358 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3359 (prolog-left-indent-regexp, prolog-paren-indent-p)
3360 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3361 (prolog-types, prolog-mode-specificators)
3362 (prolog-determinism-specificators, prolog-directives)
3363 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3364 (prolog-electric-dot-flag)
3365 (prolog-electric-dot-full-predicate-template)
3366 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3367 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3368 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3369 (prolog-program-switches, prolog-prompt-regexp)
3370 (prolog-debug-on-string, prolog-debug-off-string)
3371 (prolog-trace-on-string, prolog-trace-off-string)
3372 (prolog-zip-on-string, prolog-zip-off-string)
3373 (prolog-use-standard-consult-compile-method-flag)
3374 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3375 (prolog-imenu-max-lines, prolog-info-predicate-index)
3376 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3377 (prolog-char-quote-workaround):
3378 * progmodes/cc-vars.el (c-defun-tactic):
3379 * net/tramp.el (tramp-encoding-command-interactive)
3380 (tramp-local-end-of-line):
3381 * net/soap-client.el (soap-client):
3382 * net/netrc.el (netrc-file):
3383 * net/gnutls.el (gnutls):
3384 * minibuffer.el (completion-category-overrides)
3385 (completion-cycle-threshold)
3386 (completion-pcm-complete-word-inserts-delimiters):
3387 * man.el (Man-name-local-regexp):
3388 * mail/feedmail.el (feedmail-display-full-frame):
3389 * international/characters.el (glyphless-char-display-control):
3390 * eshell/em-ls.el (eshell-ls-date-format):
3391 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3392 (lisp-lambda-list-keyword-parameter-indentation)
3393 (lisp-lambda-list-keyword-parameter-alignment):
3394 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3395 * dired-x.el (dired-omit-verbose):
3396 * cus-theme.el (custom-theme-allow-multiple-selections):
3397 * calc/calc.el (calc-highlight-selections-with-faces)
3398 (calc-lu-field-reference, calc-lu-power-reference)
3399 (calc-note-threshold):
3400 * battery.el (battery-mode-line-limit):
3401 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3402 (archive-7z-update):
3403 * allout.el (allout-prefixed-keybindings)
3404 (allout-unprefixed-keybindings)
3405 (allout-inhibit-auto-fill-on-headline)
3406 (allout-flattened-numbering-abbreviation):
3407 * allout-widgets.el (allout-widgets-auto-activation)
3408 (allout-widgets-icons-dark-subdir)
3409 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3410 (allout-widgets-theme-dark-background)
3411 (allout-widgets-theme-light-background)
3412 (allout-widgets-item-image-properties-emacs)
3413 (allout-widgets-item-image-properties-xemacs)
3414 (allout-widgets-run-unit-tests-on-load)
3415 (allout-widgets-time-decoration-activity)
3416 (allout-widgets-hook-error-post-time)
3417 (allout-widgets-track-decoration):
3418 Add missing :version tags to new defcustoms and defgroups.
3419
5fec1b8e
GM
3420 * progmodes/sql.el (sql-ansi-statement-starters)
3421 (sql-oracle-statement-starters): Add custom type.
3422
3e0d2fa7
GM
3423 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3424 (prolog-system-version): Give it a type.
3425
90b671e2
EZ
34262012-02-11 Eli Zaretskii <eliz@gnu.org>
3427
3428 * term/pc-win.el (x-select-text, x-selection-owner-p)
3429 (x-own-selection-internal, x-disown-selection-internal)
3430 (x-get-selection-internal): Sync doc strings and argument lists
3431 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3432
5eac0c02
LL
34332012-02-11 Leo Liu <sdl.web@gmail.com>
3434
3435 * progmodes/python.el (python-end-of-statement): Fix infinite
3436 loop. (Bug#10788)
3437
f82cb659
GM
34382012-02-10 Glenn Morris <rgm@gnu.org>
3439
3440 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3441 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3442
cc26d239
LI
34432012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3444
3445 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3446 about SMTP before checking the From header.
3447
91027d08 3448 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3449 into own function for reuse by emacsbug.el.
3450
1be3ca5a
LL
34512012-02-10 Leo Liu <sdl.web@gmail.com>
3452
3453 * subr.el (condition-case-unless-debug): Rename from
3454 condition-case-no-debug. All callers changed.
3455 (with-demoted-errors): Fix caller.
3456
3457 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3458 * nxml/rng-valid.el (rng-do-some-validation):
3459 * emacs-lisp/package.el (package-refresh-contents)
3460 (package-menu-execute):
3461 * desktop.el (desktop-create-buffer):
91027d08 3462 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3463
b011fbfe
GM
34642012-02-10 Glenn Morris <rgm@gnu.org>
3465
b2096d72
GM
3466 * textmodes/bibtex.el:
3467 Add missing :version tags for new/changed defcustoms.
3468
b011fbfe
GM
3469 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3470
4c7e65bf
LI
34712012-02-09 Lars Ingebrigtsen <larsi@rusty>
3472
3473 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3474 (smtpmail-via-smtp): Use it, or fall back on the From address.
3475 (smtpmail-send-it): Ditto.
3476
f3934f6f
SM
34772012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3480 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3481 (byte-compile-tmp-var): New const.
3482 (byte-compile-defvar): Use it to minimize .elc size.
3483 Just use `defvar' rather than simulate it (bug#10761).
3484
a075a2c5
GM
34852012-02-09 Glenn Morris <rgm@gnu.org>
3486
cf3aa21b
GM
3487 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3488
354998cd
GM
3489 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3490 Add :version tags.
3491
dc9924b8
SM
3492 * progmodes/compile.el (compilation-error-screen-columns)
3493 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3494
dab3703d
GM
3495 * vc/log-view.el (log-view-toggle-entry-display):
3496 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3497
3f88cd72
GM
3498 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3499 (report-emacs-bug-can-use-xdg-email):
3500 (report-emacs-bug-insert-to-mailer): Doc fixes.
3501 (report-emacs-bug): Message fix.
3502
d95b247d
GM
3503 * net/browse-url.el (browse-url-can-use-xdg-open)
3504 (browse-url-xdg-open): Doc fixes.
3505
a075a2c5
GM
3506 * electric.el (electric-indent-mode, electric-pair-mode)
3507 (electric-layout-rules, electric-layout-mode): Doc fixes.
3508 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3509
ffb6157e
MR
35102012-02-08 Martin Rudalics <rudalics@gmx.at>
3511
3512 * server.el (server-unselect-display): Don't inadvertently kill
3513 the current buffer. (Bug#10729)
3514
e1ac4066
GM
35152012-02-08 Glenn Morris <rgm@gnu.org>
3516
34e8a2da
GM
3517 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3518 (sql-list-table): Doc fixes.
3519
b4ac6e8c
GM
3520 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3521 Comment out (does nothing).
3522
e1ac4066
GM
3523 * completion.el (dynamic-completion-mode):
3524 * dirtrack.el (dirtrack-debug-mode):
3525 * electric.el (electric-layout-mode):
3526 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3527 * face-remap.el (text-scale-mode, buffer-face-mode):
3528 * iimage.el (iimage-mode):
3529 * image-mode.el (image-transform-mode):
3530 * minibuffer.el (completion-in-region-mode):
3531 * scroll-lock.el (scroll-lock-mode):
3532 * simple.el (next-error-follow-minor-mode):
3533 * tar-mode.el (tar-subfile-mode):
3534 * tooltip.el (tooltip-mode):
3535 * vcursor.el (vcursor-use-vcursor-map):
3536 * wid-browse.el (widget-minor-mode):
3537 * emulation/tpu-edt.el (tpu-edt-mode):
3538 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3539 * international/iso-ascii.el (iso-ascii-mode):
3540 * language/thai-util.el (thai-word-mode):
3541 * mail/supercite.el (sc-minor-mode):
3542 * net/goto-addr.el (goto-address-mode):
3543 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3544 * progmodes/cwarn.el (cwarn-mode):
3545 * progmodes/flymake.el (flymake-mode):
3546 * progmodes/glasses.el (glasses-mode):
3547 * progmodes/hideshow.el (hs-minor-mode):
3548 * progmodes/pascal.el (pascal-outline-mode):
3549 * textmodes/enriched.el (enriched-mode):
3550 * vc/smerge-mode.el (smerge-mode):
3551 Doc fixes (minor mode argument).
3552
5e0d957f
EZ
35532012-02-07 Eli Zaretskii <eliz@gnu.org>
3554
3555 * ls-lisp.el (ls-lisp-sanitize): New function.
3556 (ls-lisp-insert-directory): Use it to fix or remove any elements
3557 in file-alist with missing attributes. (Bug#4673)
3558
98d7371e
AM
35592012-02-07 Alan Mackenzie <acm@muc.de>
3560
3561 Fix spurious recognition of c-in-knr-argdecl.
3562
3563 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3564 putative K&R region.
3565
667ced3a
AM
35662012-02-07 Alan Mackenzie <acm@muc.de>
3567
eb864a71
LM
3568 * progmodes/cc-engine.el (c-forward-objc-directive):
3569 Prevent looping in "#pragma mark @implementation".
667ced3a 3570
5b77774d
MA
35712012-02-07 Michael Albinus <michael.albinus@gmx.de>
3572
3573 * notifications.el (notifications-on-closed-signal): Make `reason'
3574 optional. (Bug#10744)
3575
af008560
GM
35762012-02-07 Glenn Morris <rgm@gnu.org>
3577
60d47423
GM
3578 * emacs-lisp/easy-mmode.el (define-minor-mode):
3579 Doc fixes for the macro and the mode it defines.
3580
dd605cc4
GM
3581 * image.el (imagemagick-types-inhibit): Doc fix.
3582
af008560
GM
3583 * cus-start.el (imagemagick-render-type): Add it.
3584
5cc59a37
LI
35852012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3586
4d6769e1
JB
3587 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3588 Set the default at load time, too, so that `font-lock-fontify-buffer'
3589 can be called without setting up the entire mode first. This fixes
3590 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3591
9a6dd747
CY
35922012-02-06 Chong Yidong <cyd@gnu.org>
3593
2d16b285
CY
3594 * simple.el (list-processes--refresh): Delete exited processes
3595 (Bug#8094).
3596
171e9b6e
CY
3597 * comint.el (comint-next-prompt): next-single-char-property-change
3598 and prev-single-char-property-change never return nil (Bug#8657).
3599
9a6dd747
CY
3600 * custom.el (defcustom): Doc fix (Bug#9711).
3601
aa4589a7
CY
36022012-02-05 Chong Yidong <cyd@gnu.org>
3603
5c2a252f
CY
3604 * cus-edit.el (custom-variable-reset-backup): Quote the value
3605 before storing it in the customized-value property (Bug#6712).
4aab9006 3606 (custom-display): Add a customization type tag.
983b9602 3607 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3608
aa4589a7
CY
3609 * wid-edit.el (widget-field-value-get): New optional arg to
3610 suppress trailing whitespace truncation.
3611 (character): Use it (Bug#2689).
3612
1ff980ae
AS
36132012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3614
3615 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3616 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3617
03988c98
CY
36182012-02-05 Chong Yidong <cyd@gnu.org>
3619
eeb6cc88
CY
3620 * cus-edit.el (custom-variable-value-create): For mismatched
3621 types, show the current value (Bug#7600).
3622
03988c98
CY
3623 * custom.el (defcustom): Doc fix.
3624
f8cdeef0
GM
36252012-02-05 Glenn Morris <rgm@gnu.org>
3626
3627 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3628
0696d255
JB
36292012-02-05 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3632 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3633 (pp-last-sexp): Use `looking-at-p'.
3634
34c99998
GM
36352012-02-04 Glenn Morris <rgm@gnu.org>
3636
8f05da42
GM
3637 * files.el (revert-buffer):
3638 Doc fix (mention revert-buffer-in-progress-p).
3639
f160676e
GM
3640 * emacs-lisp/ert-x.el (ert-simulate-command):
3641 Check deferred-action-list (which is obsolete) is bound.
3642
c7291ad9
GM
3643 * subr.el (with-wrapper-hook): Doc fixes.
3644
34c99998
GM
3645 * simple.el (filter-buffer-substring-functions)
3646 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3647
6283a7d3
LL
36482012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3649
3650 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3651 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3652
e96e3013
LL
36532012-02-04 Leo Liu <sdl.web@gmail.com>
3654
3655 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3656
8ded50f2
GM
36572012-02-04 Glenn Morris <rgm@gnu.org>
3658
82ff1d13
GM
3659 * image.el (image-extension-data): Add obsolete alias.
3660
987a0a16
GM
3661 * isearch.el (isearch-update): Doc fix.
3662
ea32ef46
GM
3663 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3664
8ded50f2
GM
3665 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3666
eea14f31
GM
36672012-02-03 Glenn Morris <rgm@gnu.org>
3668
3669 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3670 (image-animate-timeout): Doc fix.
3671
3672 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3673
12f381b7
GM
36742012-02-02 Glenn Morris <rgm@gnu.org>
3675
953cebf5
GM
3676 * server.el (server-auth-dir): Doc fix.
3677 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3678
12f381b7
GM
3679 * subr.el (run-mode-hooks): Doc fix.
3680
953a8c3b
JL
36812012-02-02 Juri Linkov <juri@jurta.org>
3682
3683 * image-mode.el (image-toggle-display-image): Remove tautological
3684 `major-mode' from the `derived-mode-p' test.
3685
c5d3843c
KH
36862012-02-02 Kenichi Handa <handa@m17n.org>
3687
9f6e692e 3688 * composite.el (compose-region): Cancel previous change.
c5d3843c 3689
159462d4 36902012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3691
3692 * composite.el (compose-region, compose-string): Signal error for
3693 a null string component (Bug#6988).
3694
9f562668
CY
36952012-02-01 Chong Yidong <cyd@gnu.org>
3696
e2cef717
CY
3697 * view.el (view-buffer-other-window, view-buffer-other-frame):
3698 Handle special modes like view-buffer (Bug#10650).
3699 (view-buffer): Simplify.
3700
9f562668
CY
3701 * frame.el (set-frame-font): Tweak meaning of third argument.
3702
9f6e692e
JB
3703 * dynamic-setting.el (font-setting-change-default-font):
3704 Use set-frame-font (Bug#9982).
9f562668 3705
781acb9f
GM
37062012-02-01 Glenn Morris <rgm@gnu.org>
3707
6035be52
GM
3708 * progmodes/compile.el (compilation-internal-error-properties):
3709 Respect compilation-first-column in the "*compilation*" buffer.
3710
781acb9f
GM
3711 * emacs-lisp/easy-mmode.el (define-minor-mode):
3712 Relax :variable's test for a named function.
3713
abbceb00
AM
37142012-01-31 Alan Mackenzie <acm@muc.de>
3715
3716 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3717 off by one error.
3718
fce3fdeb
CY
37192012-01-31 Chong Yidong <cyd@gnu.org>
3720
3721 * frame.el (set-frame-font): New arg ALL-FRAMES.
3722
3723 * menu-bar.el (menu-set-font): Use set-frame-font.
3724
3725 * faces.el (face-spec-reset-face): Don't apply unspecified
3726 attribute values to the default face.
3727
47893581
JB
37282012-01-31 Juanma Barranquero <lekktu@gmail.com>
3729
3730 * progmodes/cwarn.el (cwarn): Remove dead link.
3731 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3732 Remove * from defcustom docstrings.
3733 (turn-on-cwarn-mode): Make obsolete.
3734 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3735 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3736
e58e988a
GM
37372012-01-31 Glenn Morris <rgm@gnu.org>
3738
60dc2671 3739 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3740 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3741 Allow named functions to be used as the cdr of :variable.
e58e988a 3742
7a3f511d
GM
37432012-01-30 Glenn Morris <rgm@gnu.org>
3744
3745 * emacs-lisp/authors.el (authors-fixed-entries):
3746 Remove reference to deleted file rnewspost.el.
3747
cb882333
JB
37482012-01-29 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * window.el (window-with-parameter): Remove unused variable `windows'.
3751 (window--side-check): Remove unused variable `code'.
3752 (window--resize-siblings): Remove unused variable `first'.
3753 (adjust-window-trailing-edge): Remove unused variable `failed'.
3754 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3755 Use `let', not `let*'.
3756 (balance-windows-2): Remove unused variable `found'.
3757 (window--state-put-2): Remove unused variable `splits'.
3758 (window-state-put): Remove unused variable `selected'.
3759 (same-window-p): Use `string-match-p'.
3760 (display-buffer-assq-regexp): Remove unused variable `value'.
3761 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3762 Mark argument ALIST as ignored.
3763 (pop-to-buffer): Remove unused variable `old-window'.
3764
907201af
EZ
37652012-01-29 Eli Zaretskii <eliz@gnu.org>
3766
3767 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3768 and .lzma compressed files.
3769
ea162670
CY
37702012-01-29 Chong Yidong <cyd@gnu.org>
3771
5b95ee8a
CY
3772 * frame.el (window-system-default-frame-alist): Doc fix.
3773
ea162670
CY
3774 * dynamic-setting.el (font-setting-change-default-font): Don't
3775 change the default face if SET-FONT argument is non-nil (Bug#9982).
3776
d6e6f4b1
SB
37772012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3778
3779 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3780
0f29fa41 37812012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3782
3783 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3784 breakpoints in files outside current directory (Bug#6098).
3785
db174434
CY
37862012-01-29 Chong Yidong <cyd@gnu.org>
3787
6b25e4e2
SE
3788 * progmodes/python.el: Require ansi-color at top-level.
3789
6df6ae42
JB
3790 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3791 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3792 (lisp-mode-abbrev-table): Add doc.
3793 (lisp-mode-variables): Don't set local-abbrev-table.
3794 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3795
e70ee681
RW
37962012-01-28 Roland Winkler <winkler@gnu.org>
3797
3798 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3799
ace88aa2
RW
38002012-01-28 Roland Winkler <winkler@gnu.org>
3801
3802 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3803 (bibtex-set-dialect): Use it. Either set global values of
3804 dialect-dependent variables or bind these variables buffer-locally
3805 (Bug#10254).
3806 (bibtex-mode): Call bibtex-set-dialect via
3807 hack-local-variables-hook.
eb864a71
LM
3808 (bibtex-dialect): Update docstring.
3809 Add safe-local-variable predicate.
ace88aa2
RW
3810 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3811 bibtex-set-dialect.
3812 (bibtex-mode-map): Define menu for each dialect.
3813 (bibtex-entry): Fix docstring.
3814
93376c5b
CY
38152012-01-28 Chong Yidong <cyd@gnu.org>
3816
3817 * eshell/esh-arg.el (eshell-quote-argument): New function.
3818
3819 * eshell/esh-ext.el (eshell-invoke-batch-file):
3820 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3821 first arg to eshell-parse-command (Bug#10523).
3822
4372494f
DA
38232012-01-28 Drew Adams <drew.adams@oracle.com>
3824
3825 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3826 `default-directory' is non-nil.
3827
4d4ec1f8
EZ
38282012-01-28 Eli Zaretskii <eliz@gnu.org>
3829
3830 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3831 line that displays system-configuration-options. (Bug#9924)
3832
7c188927
DA
38332012-01-28 Drew Adams <drew.adams@oracle.com>
3834
3835 * descr-text.el (describe-char): Show information about POS, in
3836 addition to information about the character at POS. Improve and
3837 update the doc string. Change "code point" to "code point in
3838 charset", to avoid confusion with the character's Unicode code
3839 point shown above that. (Bug#10129)
3840
e0da685a
EZ
38412012-01-28 Eli Zaretskii <eliz@gnu.org>
3842
3843 * descr-text.el (describe-char): Show the raw character, not only
3844 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3845 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3846 for the reasons.
3847
70550acf
PH
38482012-01-28 Phil Hagelberg <phil@hagelb.org>
3849
eb864a71
LM
3850 * emacs-lisp/package.el (package-install):
3851 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3852
0ce8e868
CY
38532012-01-28 Chong Yidong <cyd@gnu.org>
3854
cb882333
JB
3855 * emacs-lisp/package.el (package-maybe-load-descriptor):
3856 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3857 (package-maybe-load-descriptor): Use it.
3858 (package-download-transaction): Fully load required packages
3859 inside the loop, so that `require' calls work (Bug#10593).
3860 (package-install): No need to call package-initialize now.
3861
2e7f3bea
CY
38622012-01-28 Chong Yidong <cyd@gnu.org>
3863
6e9bad14
CY
3864 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3865
f823b8ca
CY
3866 * tooltip.el (tooltip-mode): Doc fix.
3867 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3868
2680c309
CY
3869 * frame.el (set-cursor-color): Doc fix (Bug#352).
3870
d7a9e63b
CY
3871 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3872 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3873
2e7f3bea
CY
3874 * cus-edit.el (custom-buffer-create-internal): Fix search button
3875 action (Bug#10542).
2ae01800 3876 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3877
fc4f7a23
EW
38782012-01-27 Eduard Wiebe <usenet@pusto.de>
3879
3880 * dired.el (dired-mark-files-regexp):
3881 Include any subdirectory components. (Bug#10445)
3882
7dd37071
ML
38832012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3884
3885 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3886 Handle [host]:port syntax. (Bug#10533)
3887
a268160b
AH
38882012-01-27 Alex Harsanyi <harsanyi@mac.com>
3889
3890 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3891
e43273ef
GM
38922012-01-26 Glenn Morris <rgm@gnu.org>
3893
3894 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3895 * term.el (term-raw-escape-map): Use Control-X-prefix.
3896 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3897
1edf595d
MR
38982012-01-25 Martin Rudalics <rudalics@gmx.at>
3899
3900 * window.el (window-state-get, window--state-get-1): Don't deal
3901 with fixed-sizeness of windows. Simplify code.
3902
fa8eafef
JC
39032012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3904
6df6ae42
JB
3905 * window.el (window--state-get-1, window--state-put-2):
3906 Don't save and restore the mark.
fa8eafef 3907
0b21c100
CY
39082012-01-25 Chong Yidong <cyd@gnu.org>
3909
3910 * custom.el (custom-variable-p): Doc fix.
3911
5ae1a6c8
GM
39122012-01-25 Glenn Morris <rgm@gnu.org>
3913
40047858
GM
3914 * dired.el (dired-goto-file): Handle some of the more common
3915 characters that `ls -b' escapes. (Bug#10596)
3916
5ddce96c
GM
3917 * progmodes/compile.el (compilation-next-error-function):
3918 Respect compilation-first-column in the "*compilation*" buffer.
3919 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3920
5ae1a6c8
GM
3921 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3922
b559f1a9
GM
39232012-01-24 Glenn Morris <rgm@gnu.org>
3924
3925 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3926
6725d21a
JD
39272012-01-24 Julien Danjou <julien@danjou.info>
3928
3929 * color.el (color-rgb-to-hsl): Fix value computing.
3930 (color-hue-to-rgb): New function.
3931 (color-hsl-to-rgb): New function.
3932 (color-clamp, color-saturate-hsl, color-saturate-name)
3933 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3934 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3935
70df4bbe
GM
39362012-01-24 Glenn Morris <rgm@gnu.org>
3937
3938 * vc/vc-rcs.el (vc-rcs-create-tag):
3939 * vc/vc-sccs.el (vc-sccs-create-tag):
3940 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3941
802a2ae2
ML
39422012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3943
3944 * eshell/esh-util.el (eshell-read-hosts-file):
3945 Skip comment lines. (Bug#10549)
3946
d7128bb1
ML
3947 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3948
d1a5c3b4
JB
39492012-01-23 Juanma Barranquero <lekktu@gmail.com>
3950
2724d9c7
JB
3951 * subr.el (display-delayed-warnings): Doc fix.
3952 (collapse-delayed-warnings): New function to collapse identical
3953 adjacent warnings.
3954 (delayed-warnings-hook): Add it.
d1a5c3b4 3955
a5509865
MA
39562012-01-22 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3959
3960 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3961 properties, when "login-as" is set.
3962
3963 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3964 (tramp-default-user-alist): Don't add "pscp".
3965 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3966 property "login-as", if set. (Bug#10530)
3967
cc6d5805
MA
39682012-01-21 Michael Albinus <michael.albinus@gmx.de>
3969
3970 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3971 "plink1" and "psftp". (Bug#10530)
3972
39732012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3974
3975 * international/mule-cmds.el (prefer-coding-system): Show a
3976 warning message if the default value of file-name-coding-system
3977 was not changed.
3978
f0960428
JC
39792012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3980
cb882333
JB
3981 * windmove.el (windmove-reference-loc):
3982 Fix windmove-reference-loc miscalculation.
f0960428 3983
dd6f2a63
JB
39842012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3985
3986 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3987 default unit.
3988
7b447e9b
GM
39892012-01-21 Glenn Morris <rgm@gnu.org>
3990
117a9ea1
GM
3991 * international/mule.el (auto-coding-alist): Add .tbz.
3992
7b447e9b
GM
3993 * files.el (local-enable-local-variables): Doc fix.
3994 (inhibit-local-variables-regexps): Rename from
3995 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3996 Doc fix. Add some extensions from auto-coding-alist.
3997 (inhibit-local-variables-suffixes):
3998 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3999 (inhibit-local-variables-p):
4000 New function, extracted from set-auto-mode-1.
4001 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4002 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4003 (hack-local-variables): Doc fix. Make the mode-only case
4004 respect enable-local-variables and friends.
4005 Respect inhibit-local-variables-regexps for file-locals, but
4006 not for directory-locals.
4007 (set-visited-file-name):
4008 Take account of inhibit-local-variables-regexps.
4009 Whether it applies may change as the file name is changed.
4010 * jka-cmpr-hook.el (jka-compr-install):
4011 * jka-compr.el (jka-compr-uninstall):
4012 Update for inhibit-first-line-modes-suffixes name change.
4013
dd6e3cdd
MR
40142012-01-20 Martin Rudalics <rudalics@gmx.at>
4015
4016 * help-macro.el (make-help-screen): Temporarily restore original
4017 binding for minor-mode-map-alist (Bug#10454).
4018
0d0deb38
JD
40192012-01-19 Julien Danjou <julien@danjou.info>
4020
4021 * color.el (color-name-to-rgb): Use the white color to find the max
4022 color component value and return correctly computed values.
4023 (color-name-to-rgb): Add missing float conversion for max value.
4024
34a02f46
MR
40252012-01-19 Martin Rudalics <rudalics@gmx.at>
4026
4027 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4028 special state value for window-persistent-parameters.
4029 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4030 (window--state-put-2): Reset all window parameters to nil before
4031 assigning values of persistent parameters.
4032
606c44c4
AM
40332012-01-18 Alan Mackenzie <acm@muc.de>
4034
4035 Eliminate sluggishness and hangs in fontification of "semicolon
4036 deserts".
4037
cb882333
JB
4038 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4039 Change value 10000 -> 3000.
606c44c4
AM
4040 (c-state-safe-place): Reformulate so it doesn't stack up an
4041 infinite number of wrong entries in c-state-nonlit-pos-cache.
4042 (c-determine-limit-get-base, c-determine-limit): New functions to
4043 determine backward search limits disregarding literals.
4044 (c-find-decl-spots): Amend commenting.
4045 (c-cheap-inside-bracelist-p): New function which detects "={".
4046
4047 * progmodes/cc-fonts.el
4048 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4049 backward search.
4050 (c-font-lock-declarations): Fix an occurrence of point being
4051 undefined. Check additionally for point being in a bracelist or
4052 near a macro invocation without a semicolon so as to avoid a
4053 fruitless time consuming search for a declarator. Give a more
4054 precise search limit for declarators using the new
4055 c-determine-limit.
4056
f3860cea
GM
40572012-01-18 Glenn Morris <rgm@gnu.org>
4058
4059 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4060 (set-auto-mode): Doc fixes.
4061
1db03b16
GM
40622012-01-17 Glenn Morris <rgm@gnu.org>
4063
0e6038be
GM
4064 * isearch.el (search-nonincremental-instead): Fix doc typo.
4065
1db03b16
GM
4066 * dired.el (dired-insert-directory): Handle newlines in directory name.
4067 (dired-build-subdir-alist): Unescape newlines in directory name.
4068
4cb0aa75
MA
40692012-01-17 Michael Albinus <michael.albinus@gmx.de>
4070
4071 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4072 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4073 (tramp-action-terminal): Use it. (Bug#10530)
4074
1d00653d
SM
40752012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4078
6a6ee00d
MR
40792012-01-16 Martin Rudalics <rudalics@gmx.at>
4080
4081 * window.el (window-state-ignored-parameters): Remove variable.
4082 (window--state-get-1): Rename argument MARKERS to IGNORE.
4083 Handle persistent window parameters. Make copy of clone-of
4084 parameter only if requested. (Bug#10348)
4085 (window--state-put-2): Install a window parameter only if it has
4086 a non-nil value or an existing parameter shall be overwritten.
4087
97912def
MA
40882012-01-15 Michael Albinus <michael.albinus@gmx.de>
4089
4090 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4091
688070a5
EZ
40922012-01-14 Eli Zaretskii <eliz@gnu.org>
4093
4094 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4095 don't pass the (nil) value of `upnode' to string-match.
4096
301afadc
CY
40972012-01-14 Chong Yidong <cyd@gnu.org>
4098
4099 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4100 Fix values recognized by the cursorBlink resource.
301afadc 4101
9e5788aa
PE
41022012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4103
4104 * epg.el (epg--make-temp-file): Avoid permission race condition
4105 when running on old Emacs versions (bug#10403).
4106
3cdb7f5a
GM
41072012-01-14 Glenn Morris <rgm@gnu.org>
4108
4109 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4110
8c82b1b4
AM
41112012-01-13 Alan Mackenzie <acm@muc.de>
4112
4113 Fix filling for when filladapt mode is enabled.
4114
4115 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4116 c-mask-paragraph, pass in `fill-paragraph' rather than
4117 `fill-region-as-paragraph'. (This is a reversion of a previous
4118 change.)
eb864a71
LM
4119 * progmodes/cc-mode.el (c-basic-common-init):
4120 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4121
e517eda4
GM
41222012-01-13 Glenn Morris <rgm@gnu.org>
4123
1498536e
GM
4124 * dired.el (dired-switches-escape-p): New function.
4125 (dired-insert-directory): Use dired-switches-escape-p.
4126 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4127
e517eda4
GM
4128 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4129
328f984d
GM
41302012-01-12 Glenn Morris <rgm@gnu.org>
4131
4132 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4133 changes in adaptive-fill-regexp. (Bug#10276)
4134
2cc769a8
AM
41352012-01-11 Alan Mackenzie <acm@muc.de>
4136
4137 Fix Emacs bug #10463 - put `widen's around the critical spots.
4138
1d00653d 4139 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4140 widen around each invocation of c-state-pp-to-literal. Remove an
4141 unused let variable.
4142
e52c37fa
GM
41432012-01-11 Glenn Morris <rgm@gnu.org>
4144
4145 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4146 Doc fix.
e52c37fa 4147
96f8741e
CY
41482012-01-10 Chong Yidong <cyd@gnu.org>
4149
1d00653d
SM
4150 * net/network-stream.el (network-stream-open-starttls):
4151 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4152 response to the capability command.
4153
b09a806e
GM
41542012-01-10 Glenn Morris <rgm@gnu.org>
4155
4156 * mail/unrmail.el (unrmail): Tweak previous change.
4157
7655cb66
CY
41582012-01-09 Chong Yidong <cyd@gnu.org>
4159
4160 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4161
9d5a8f0b
AM
41622012-01-08 Alan Mackenzie <acm@muc.de>
4163
4164 Optimise font locking in long enum definitions.
4165
4166 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4167 arm to a cond form to handle enums.
4168 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4169 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4170
9a0115ab 41712012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4172
4173 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4174 (Bug#10401)
6bb72cbd 4175
f186bb95
LMI
41762012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177
29232a68
LMI
4178 * faces.el (set-face-attribute): Clarify the meaning of the nil
4179 frame (bug#10294).
4180
4e5d086d
LMI
4181 * subr.el (with-selected-frame): Mention that the selected frame
4182 is restored (bug#9980).
4183
8e66aebe
LMI
4184 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4185 (bug#9759).
4186
cd394be1 4187 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4188 (password-read): Don't autoload unused function.
4189
adf4e762
JB
41902012-01-07 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * progmodes/which-func.el (which-func-mode): Turn into a
4193 non-interactive function and mark as obsolete (bug#10428).
4194
89bd9ccd
CY
41952012-01-06 Chong Yidong <cyd@gnu.org>
4196
4197 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4198 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4199 functions, along with 1 and -1.
4200
4afee9d5
EZ
42012012-01-06 Eli Zaretskii <eliz@gnu.org>
4202
4203 * time.el (display-time-load-average)
4204 (display-time-default-load-average): Doc fixes. See the thread
4205 starting at
4206 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4207 for the details.
4208
536aea70
GM
42092012-01-06 Glenn Morris <rgm@gnu.org>
4210
665ae865
GM
4211 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4212 has no messages. (Bug#10377)
4213
c869783d
GM
4214 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4215 than Info-edit. (Bug#10385)
4216
2bb4227e
GM
4217 * time.el (display-time-load-average, display-time-next-load-average):
4218 Doc fixes.
4219
7d5944b9
GM
4220 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4221 local setting of buffer-read-only to the input buffer. (Bug#10419)
4222
536aea70
GM
4223 * calendar/calendar.el (calendar-mode):
4224 Locally set scroll-margin to 0. (Bug#10379)
4225
7dccca16
UM
42262012-01-06 Ulrich Mueller <ulm@gentoo.org>
4227
4228 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4229
afbb7930
GM
42302012-01-05 Glenn Morris <rgm@gnu.org>
4231
4232 * eshell/em-unix.el (diff-no-select): Autoload it.
4233 (eshell/diff): Use diff-no-select. (Bug#10420)
4234
04482335
CY
42352012-01-05 Chong Yidong <cyd@gnu.org>
4236
7baca3bc
CY
4237 * shell.el (shell-dynamic-complete-functions): Revert last change.
4238 (shell-command-completion-function): New function.
4239 (shell-completion-vars): Use it to implement
4240 shell-completion-execonly (Bug#10417).
4241
04482335
CY
4242 * custom.el (enable-theme): Don't set custom-safe-themes.
4243
1d00653d
SM
4244 * cus-theme.el (custom-theme-merge-theme):
4245 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4246
bb5aa5d6
MM
42472012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4248
4249 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4250 first prompt in `sql-interacive-mode'.
4251 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4252 keywords.
6df6ae42 4253 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4254 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4255 context of original buffer. Invoke `sql-login-hook'.
4256
a7183d7c
EZ
42572012-01-04 Eli Zaretskii <eliz@gnu.org>
4258
4259 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4260 letters in cite-prefix.
4261
a1eacd1e
LMI
42622012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4263
4264 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4265
787cdb34
CY
42662012-01-03 Chong Yidong <cyd@gnu.org>
4267
1d00653d
SM
4268 * shell.el (shell-dynamic-complete-functions):
4269 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4270 comint-filename-completion first (Bug#10417).
4271
30710442
RS
42722012-01-02 Richard Stallman <rms@gnu.org>
4273
4274 * battery.el (battery-status-function):
4275 Detect when to use battery-yeeloong-sysfs.
4276 (battery-echo-area-format): Add string for Yeeloong.
4277 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4278 (battery-yeeloong-sysfs): New function.
4279
f75bfc33
CY
42802012-01-02 Chong Yidong <cyd@gnu.org>
4281
4282 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4283 (dirtrack): Merge code for handling relative filenames in prompt
4284 from shell-dir-cookie-watcher.
4285 (dirtrack-debug-message): New arg to avoid excess format calls.
4286
4287 * shell.el (shell-dir-cookie-re): Variable deleted.
4288 (shell-dir-cookie-watcher): Function deleted.
4289 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4290 with dirtrack-mode.
4291
651e947e
EZ
42922012-01-01 Eli Zaretskii <eliz@gnu.org>
4293
1d00653d
SM
4294 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4295 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4296 libgnutls-26.dll.
4297
94d4c7dc
AS
42982011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4299
4300 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4301
8d43f3cd
EZ
43022011-12-31 Eli Zaretskii <eliz@gnu.org>
4303
4304 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4305 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4306
98c8795a
MA
43072011-12-29 Michael Albinus <michael.albinus@gmx.de>
4308
4309 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4310 also for alternative shells.
4311 (tramp-open-connection-setup-interactive-shell): Check, whether
4312 the shell is a busybox.
4313 (tramp-send-command): Don't suppress multiple prompts for
4314 busyboxes, it hurts.
4315
51281b32
CY
43162011-12-28 Chong Yidong <cyd@gnu.org>
4317
4318 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4319 (gdb-get-source-file): Move mode line update to
4320 gdb-get-source-file (Bug#10087).
4321
2170cb53
CY
43222011-12-25 Chong Yidong <cyd@gnu.org>
4323
4324 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4325 gud-gdb-marker-filter without taking it as an argument.
4326 (gud-gdb-run-command-fetch-lines): Caller changed.
4327 (gud-gdb-completion-function): New variable.
4328 (gud-gdb-completion-at-point): Use it.
4329 (gud-gdb-completions-1): Split from gud-gdb-completions.
4330
4331 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4332 function as separate arguments.
4333 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4334 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4335 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4336 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4337 (gdb-stopped, def-gdb-auto-update-trigger)
4338 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4339 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4340 Callers changed.
2170cb53
CY
4341 (gud-gdbmi-completions): New function.
4342 (gdb): Use it for generating the completion table.
4343
be8b11bb
AM
43442011-12-24 Alan Mackenzie <acm@muc.de>
4345
4346 Introduce a mechanism to widen the region used in context font
1d00653d 4347 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4348
1d00653d
SM
4349 * progmodes/cc-langs.el (c-before-font-lock-functions):
4350 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4351 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4352 functions to be run just before context (etc.) font locking.
4353
4354 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4355 New, functionality extracted from
be8b11bb 4356 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4357 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4358 (c-after-change): Set c-in-after-change-fontification.
4359 (c-set-fl-decl-start): Rejig its interface, so it can be called
4360 from both after-change and context fontifying.
b81d40f0
JB
4361 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4362 New functions.
4363 (c-standard-font-lock-fontify-region-function): New variable.
4364 (c-font-lock-fontify-region): New function.
be8b11bb 4365
341cf6ac
JL
43662011-12-24 Juri Linkov <juri@jurta.org>
4367
4368 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4369 (Bug#10348)
4370
bffcee0a
MA
43712011-12-23 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4374 existence of source file. (Bug#10325)
4375
cb5e207c
AM
43762011-12-23 Alan Mackenzie <acm@muc.de>
4377
4378 Fix unstable fontification inside templates.
4379
b81d40f0
JB
4380 * progmodes/cc-langs.el (c-before-font-lock-functions):
4381 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4382 additionally has c-set-fl-decl-start. The other languages (apart
4383 from AWK) have that as a single entry.
4384
b81d40f0
JB
4385 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4386 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4387 c-set-fl-decl-start.
4388
b81d40f0
JB
4389 * progmodes/cc-mode.el (c-common-init, c-after-change):
4390 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4391 (c-set-fl-decl-start): New function, extracted from
4392 c-font-lock-enclosing-decls and enhanced.
4393
60ff536c
JB
43942011-12-23 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4397
1c4757d6
JL
43982011-12-22 Juri Linkov <juri@jurta.org>
4399
4400 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4401
d031f2c7
CY
44022011-12-22 Chong Yidong <cyd@gnu.org>
4403
4404 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4405
bace743a
DA
44062011-12-21 Drew Adams <drew.adams@oracle.com>
4407
4408 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4409
728a1f2b
JC
44102011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4411
4412 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4413
0d373f73
TZ
44142011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4415
fec0aaa4
TZ
4416 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4417 highlighting and support. Fix up comments for capitalization.
4418 (cfengine-mode-debug): New var.
4419 (cfengine3-mode): Change the modeline indicator to "CFE3".
4420 (cfengine3-font-lock-keywords): Improve defun highlighting.
4421 (cfengine2-actions): Rename from `cfengine-actions'.
4422 (cfengine2-font-lock-keywords): Rename from
4423 `cfengine-font-lock-keywords'.
4424 (cfengine2-imenu-expression): Rename from
4425 `cfengine-imenu-expression'.
4426 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4427 (cfengine2-beginning-of-defun): Rename from
4428 `cfengine-beginning-of-defun'.
4429 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4430 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4431 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4432 modeline indicator to "CFE2".
4433 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4434 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4435
bc86f573
CY
44362011-12-21 Chong Yidong <cyd@gnu.org>
4437
4438 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4439 filename argument.
4440
d45ba96b
MR
44412011-12-20 Martin Rudalics <rudalics@gmx.at>
4442
4443 * window.el (window-normalize-buffer-to-display): Remove.
4444 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4445
a6198c90
CY
44462011-12-19 Chong Yidong <cyd@gnu.org>
4447
4448 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4449 Don't signal an error in a predicate function; return non-nil.
4450 (vc-dir-mark-file): Move the error here.
4451 (vc-dir-mark-unmark): If acting on the region, keep going if one
4452 of the entries cannot be marked/unmarked.
4453 (vc-dir-mark-all-files): If current entry is a directory, mark
4454 only child files, as documented.
4455
34c5fb55
VB
44562011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4457
4458 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4459 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4460 addition.
4461
c803b2b7
JD
44622011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4463
4464 * term/ns-win.el (ns-get-selection-internal)
4465 (ns-store-selection-internal): Declare.
1154d12e
JB
4466 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4467 Declare as obsolete.
4468 (ns-get-pasteboard, ns-paste-secondary):
4469 Use ns-get-selection-internal.
4470 (ns-set-pasteboard, ns-copy-including-secondary):
4471 Use ns-store-selection-internal.
c803b2b7 4472
9cff91f8 44732011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4474
4475 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4476 (vc-deduce-fileset): Doc fix.
99a289d9 4477
f16c898a
AS
44782011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4479
4480 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4481
763237c4
SS
44822011-12-13 Sam Steingold <sds@gnu.org>
4483
4484 * man.el (Man-getpage-in-background): When running under a
4485 window-system, ignore $MANWIDTH and $COLUMNS.
4486
5fc1c122
KH
44872011-12-15 Kenichi Handa <handa@m17n.org>
4488
4489 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4490 (setup-ethiopic-environment-internal): Comment out key-binding for
4491 ethio-toggle-punctuation.
4492
13d49cbb
AM
44932011-12-13 Alan Mackenzie <acm@muc.de>
4494
898169a2
AM
4495 Add the switch statement to AWK Mode.
4496
7a71b18d 4497 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4498 "default" to the keywords regexp.
4499
7a71b18d 4500 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4501 expression as the rest.
1d00653d
SM
4502 (c-nonlabel-token-key): Allow string literals for AWK.
4503 Refactor for the other modes.
898169a2 4504
13d49cbb 4505 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4506 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4507 routines. Limit backward searching in c-font-lock-enclosing.decl.
4508
4509 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4510 pp-state and literal type in addition to the limits.
1d00653d 4511 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4512 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4513 (c-slow-in-literal, c-fast-in-literal): Remove.
4514 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4515
4516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4517 being in a literal. Add a limit for backward searching.
4518
4519 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4520 c-slow-in-literal.
4521
15e0efc7
SM
45222011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4525
454592a6
MR
45262011-12-13 Martin Rudalics <rudalics@gmx.at>
4527
4528 * window.el (delete-other-windows): Use correct frame in call to
4529 window-with-parameter.
4530
87393f26
DP
45312011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4532
4533 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4534 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4535 (makefile-gmake-statements, makefile-makepp-statements):
4536 Use it and add new makepp keywords.
4537 (makefile-makepp-font-lock-keywords): Add new patterns.
4538 (makefile-match-function-end): Match new [...] and [[...]].
4539
11636b22
JB
45402011-12-11 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * ses.el (ses-call-printer-return, ses-cell-property-get)
4543 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4544 (ses-create-cell-variable, ses-reset-header-string)
4545 (ses-cell-set-formula, ses-repair-cell-reference-all)
4546 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4547 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4548 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4549 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4550 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4551 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4552 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4553 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4554 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4555 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4556 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4557 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4558
cf018193
VB
45592011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4560
4561 * ses.el: The overall change is to add cell renaming, that is
4562 setting fancy names for cell symbols other than name matching
4563 "\\`[A-Z]+[0-9]+\\'" regexp .
4564 (ses-create-cell-variable): New defun.
4565 (ses-relocate-formula): Relocate formulas only for cells the
4566 symbols of which are not renamed, i.e. symbols whose names do not
4567 match regexp "\\`[A-Z]+[0-9]+\\'".
4568 (ses-relocate-all): Relocate values only for cells the symbols of
4569 which are not renamed.
4570 (ses-load): Create cells variables as the (ses-cell ...) are read,
4571 in order to check row col consistency with cell symbol name only
4572 for cells that are not renamed.
4573 (ses-replace-name-in-formula): New defun.
4574 (ses-rename-cell): New defun.
4575
ee957461
CY
45762011-12-11 Chong Yidong <cyd@gnu.org>
4577
4578 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4579 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4580
9a9e9ef0
MR
45812011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4582
4583 * window.el (other-window): Fix docstring.
4584
92a8eba5
EZ
45852011-12-10 Eli Zaretskii <eliz@gnu.org>
4586
4587 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4588 `from' or `to' address before taking its substring.
4589 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4590 encoded name is chopped in the middle of the encoded string, and
4591 thus displayed encoded.
4592
e152e577
JB
45932011-12-10 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4596
e5d84bfe
EZ
45972011-12-10 Eli Zaretskii <eliz@gnu.org>
4598
4599 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4600 to use texinfo-update-node and commands that call it if the
4601 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4602 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4603 (texinfo-all-menus-update, texinfo-master-menu)
4604 (texinfo-update-node, texinfo-every-node-update)
4605 (texinfo-multiple-files-update): Doc fix. Warn against updating
4606 all the @node lines.
4607 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4608 argument is numeric. Explain better in the doc string what the
4609 function really does.
4610 (texinfo-insert-master-menu-list): Improve the error message
4611 displayed if there's no menu in the Top node.
4612 (Bug#2975) See also this thread:
e5d84bfe
EZ
4613 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4614
1d84e9bb
MG
46152011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4616
4617 * speedbar.el (speedbar-supported-extension-expressions):
4618 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4619
382c953b
JB
46202011-12-09 Juanma Barranquero <lekktu@gmail.com>
4621
4622 * printing.el (pr-mode-alist):
4623 * simple.el (filter-buffer-substring-functions)
4624 (completion-list-insert-choice-function):
4625 * window.el (window-with-parameter, window-atom-root)
4626 (window-sides-slots, window-size-fixed, window-min-delta)
4627 (window-max-delta, window--resize-mini-window)
4628 (window--resize-child-windows-normal, window-tree)
4629 (delete-other-windows, quit-window, split-window)
4630 (display-buffer-record-window, special-display-buffer-names)
4631 (special-display-regexps, special-display-popup-frame)
4632 (same-window-p, split-window-sensibly)
4633 (display-buffer-overriding-action, display-buffer-alist)
4634 (display-buffer-base-action, display-buffer, switch-to-buffer)
4635 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4636 (fit-window-to-buffer, recenter-positions)
4637 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4638 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4639 and remove unneeded backslashes in docstrings.
4640
39c9faef
SM
46412011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4642
98449af8
SM
4643 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4644
39c9faef
SM
4645 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4646 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4647 end in ".mk".
4648 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4649 when reading the makefile (bug#10116).
4650
86ed9fdc
SM
46512011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4654 (bug#10116).
4655
5580f89d
GM
46562011-12-06 Glenn Morris <rgm@gnu.org>
4657
4658 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4659
28d3917c
CY
46602011-12-06 Chong Yidong <cyd@gnu.org>
4661
4662 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4663
a98edce9
JB
46642011-12-06 Juanma Barranquero <lekktu@gmail.com>
4665
4666 * textmodes/table.el (table-shorten-cell): Fix typo.
4667
e65adfac
CG
46682011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4669
4670 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4671
71cc0b74
EZ
46722011-12-05 Eli Zaretskii <eliz@gnu.org>
4673
4674 * descr-text.el (describe-char): Fix display of strong
4675 right-to-left characters and directional embeddings and overrides.
4676
4677 * simple.el (what-cursor-position): Fix display of codepoints of
4678 strong right-to-left characters.
4679
315bc30d
CY
46802011-12-05 Chong Yidong <cyd@gnu.org>
4681
4682 * faces.el (read-color): Doc fix.
4683
58a70b94
GM
46842011-12-05 Glenn Morris <rgm@gnu.org>
4685
4686 * align.el (align--set-marker): Add doc-string.
4687 Don't try to move something that is not a marker. (Bug#10216)
4688
5158face
GM
46892011-12-04 Glenn Morris <rgm@gnu.org>
4690
4691 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4692 overly zealous deletion of trailing whitespace.
4693
520fca41
JB
46942011-12-04 Juanma Barranquero <lekktu@gmail.com>
4695
4696 * server.el (server-delete-client): On Windows, do not try to delete
4697 the only terminal.
4698 (server-process-filter): On Windows, treat requests for a tty frame as
4699 if they were for a GUI frame if the running server is in GUI mode.
4700
5e605a2e
GM
47012011-12-03 Glenn Morris <rgm@gnu.org>
4702
4703 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4704
5c3fe83f
SM
47052011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4706
6f5e57e7
SM
4707 * electric.el: Streamline electric-indent's hook.
4708 (electric-indent-chars): Revert to simple list.
4709 (electric-indent-functions): New var.
4710 (electric-indent-post-self-insert-function): Use it.
4711
5c3fe83f
SM
4712 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4713 there's no inferior buffer (bug#10196).
4714 (prolog-consult-compile): Don't use toggle-read-only.
4715
6bdac736
MA
47162011-12-02 Michael Albinus <michael.albinus@gmx.de>
4717
4718 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4719 interrupt. (Bug#10187)
4720
6131ba7f
SM
47212011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4722
99c79fee
SM
4723 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4724 (bug#9160).
4725
6131ba7f
SM
4726 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4727 (bug#10191).
4728
cb0a02ea
JL
47292011-12-02 Juri Linkov <juri@jurta.org>
4730
4731 * info.el (Info-search): Display "end of manual" when Isearch
4732 reaches the end of single-file Info manual. (Bug#9918)
4733
66e0570c
EZ
47342011-12-02 Eli Zaretskii <eliz@gnu.org>
4735
4736 * isearch.el (isearch-message-prefix): Run the input method part
4737 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4738
02b16839
JL
47392011-12-02 Juri Linkov <juri@jurta.org>
4740
4741 * isearch.el (isearch-occur): Use `word-search-regexp' for
4742 `isearch-word'.
4743 (isearch-search-and-update): Add condition for `isearch-word' and
4744 call `word-search-regexp'. (Bug#10145)
4745
0b950688
GM
47462011-12-01 Glenn Morris <rgm@gnu.org>
4747
4748 * eshell/em-hist.el (eshell-hist-initialize):
4749 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4750 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4751
9505c3c7
SM
47522011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4755
1bbe96b2 47562011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4757
a1beca85
SM
4758 * progmodes/verilog-mode.el (verilog-pretty-expr):
4759 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4760 verilog, such as += *= and the like.
4761 (verilog-assignment-operator-re): Regular expression to find the
4762 assigment operator in a verilog assignment.
4763 (verilog-assignment-operation-re): Regular expression to find an
4764 assignment statement for pretty-expr.
4765 (verilog-in-attribute-p): Query returns true if point is in an
4766 attribute context; used to skip these for expression line up from
4767 pretty-expr.
4768 (verilog-in-parameter-p): Query returns true if point is in an
4769 parameter definition context; used to skip these for expression
4770 line up from pretty-expr.
4771 (verilog-in-parenthesis-p): Query returns true if point is in a
4772 parenthetical expression, specifically ( ) but not [ ] or { };
4773 used by pretty-expr.
4774 (verilog-just-one-space): If there is no space, don't add one.
4775 (verilog-get-lineup-indent-2): Specifically skip just attribute
4776 contexts for expression lineup, rather than skipping all
4777 parenthetical expressions.
4778 (verilog-calculate-indent): Fix comment, and fix indent.
4779 (verilog-do-indent): Indent declarations in lists (suggested by
4780 Joachim Lechner).
4781 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4782 skeleton items.
4783 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4784 by Alain Mellan).
4785
1bbe96b2 47862011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4787
4788 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4789 parameters with embedded comments. Reported by Ray Stevens.
4790 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4791 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4792 Reported by Tim Holt.
4793 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4794 instantiated by upper module causing wrong expansion until AUTOed a
4795 second time. Reported by K C Buckenmaier.
4796 (verilog-diff-auto): Fix showing .* as a difference when
4797 `verilog-auto-star-save' off. Reported by Dan Dever.
4798 (verilog-auto-reset, verilog-read-always-signals)
4799 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4800 temporary signals in reset list if
4801 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4802 style to each signal's assignment type, bug381.
4803 Reported by Thomas Esposito.
6288f0ca
WS
4804 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4805 (verilog-uvm-statement-re): Support UVM indentation and
4806 highlighting, with old OVM keywords only.
a1beca85 4807 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4808 Support AUTOTIEOFF creating non-wire data types.
4809 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4810 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4811 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4812 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4813 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4814 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4815 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4816 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4817 non-numeric vector width. Reported by Alex Reed.
4818 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4819 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4820 (verilog-auto-delete-trailing-whitespace):
4821 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4822 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4823 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4824 Fix verilog-scan-cache corruption when running user AUTO expansion
4825 hooks that call indentation routines.
4826 (verilog-simplify-range-expression): Fix typo ignoring lower case
4827 identifiers.
4828 (verilog-delete-auto): Fix delete-autos to also remove user created
4829 automatics, as long as they start with AUTO.
4830 (verilog-batch-diff-auto, verilog-diff-auto)
4831 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4832 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4833 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4834 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4835 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4836 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4837 is disabled and its cache will get corrupt, causing AUTOS not to
4838 expand. Instead use only -quick functions.
4839 (verilog-scan-region): Fix scanning over escaped quotes.
4840 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4841 (verilog-re-search-backward-quick)
4842 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4843 related functions now ignore strings, to fix misparsing of strings
4844 with magic comments embedded in them.
a1beca85
SM
4845 (verilog-read-auto-template):
4846 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4847 Reported by Brad Dobbie.
4848 (verilog-read-auto-template):
4849 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4850 Reported by Brad Dobbie.
6288f0ca
WS
4851 (verilog-auto-inst, verilog-auto-inst-param)
4852 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4853 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4854 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4855 debugging templates without merge conflicts, bug357.
4856 Reported by Brad Dobbie.
4857 (verilog-read-auto-template):
4858 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4859 Reported by Brad Dobbie.
4860 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4861 abbrevs so user won't be asked to save.
4862 (verilog-read-auto-lisp-present): Fix to start at beginning of
4863 buffer in case called outside of verilog-auto.
4864 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4865 to "X-2". Reported by Matthew Myers.
4866 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4867 all inputs from module templates. Reported by Leith Johnson.
4868 (verilog-module-inside-filename-p): Fix locating programs as with
4869 modules.
4870 (verilog-auto-inst-port): Fix vl-width expressions when using
4871 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4872 (verilog-decls-get-regs, verilog-decls-get-signals,
4873 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4874 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4875 verilog-read-decls): Combine reg and wire structures into one var
4876 structure to represent SystemVerilog concepts.
4877 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4878 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4879 (verilog-auto-wire-type, verilog-insert-definition):
4880 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4881 SystemVerilog "logic" keyword instead of "wire"/"reg".
4882 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4883 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4884 ifdef or generate if so there's not a driver conflict).
4885 Reported by Matthew Myers.
4886 (verilog-auto-declare-nettype, verilog-insert-definition):
4887 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4888 `default_nettype none. Reported by Julian Gorfajn.
4889 (verilog-read-always-signals-recurse, verilog-read-decls)
4890 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4891 malformed end statement, bug325. Reported by Joshua Wise and
4892 Andrew Drake.
4893 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4894 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4895 when expanding .* in interfaces, bug320.
4896 Reported by Pierre-David Pfister.
6288f0ca 4897 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4898 name and open parenthesis, bug317.
4899 Reported by Pierre-David Pfister.
6288f0ca
WS
4900 (verilog-simplify-range-expression): Fix simplification of
4901 multiplications inside AUTOWIRE connections, bug303.
4902 (verilog-auto-inst-port): Support parameter expansion in
4903 multidimensional arrays.
4904 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4905 after "assert property". Reported by Julian Gorfajn.
4906 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4907 with multiplication, bug303.
4908 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4909 Reported by Jan Frode Lonnum.
4910
1bbe96b2
GM
49112011-11-30 Juanma Barranquero <lekktu@gmail.com>
4912
4913 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4914 (hfy-shell-file-name, hfy-shell):
4915 * international/fontset.el (x-decompose-font-name): Fix typos.
4916
49172011-11-29 Ken Brown <kbrown@cornell.edu>
4918
4919 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4920 (gdb-version): Remove defvar.
4921 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4922 (gdb-gud-context-command, gdb-non-stop-handler)
4923 (gdb-current-context-command, gdb-stopped): Use it.
4924 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4925 (gdb-non-stop-handler): Don't enable pretty-printing here.
4926 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4927 non-stop mode. Use the following.
4928 (gdb-check-target-async): New defun.
4929 (gud-watch, gdb-stopped): Fix whitespace.
4930 (gdb-get-source-file): Don't try to display the source file if
4931 `gdb-main-file' is nil.
4932
49332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * align.el: Try to generate fewer markers (bug#10047).
4936 (align--set-marker): New macro.
4937 (align-region): Use it.
4938
c935221f
SM
49392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4942
e70b5064
CY
49432011-11-29 Chong Yidong <cyd@gnu.org>
4944
4945 * indent.el (indent-for-tab-command, indent-according-to-mode):
4946 Doc fix.
4947 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4948
f3af92b7
MA
49492011-11-29 Michael Albinus <michael.albinus@gmx.de>
4950
4951 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4952 aware of remote file names. (Bug#10124)
4953
ed472be9
CY
49542011-11-29 Chong Yidong <cyd@gnu.org>
4955
4956 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4957
24510c22
SM
49582011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * files.el (find-file): Don't use force-same-window (bug#10144).
4961 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4962 use pop-to-buffer if the selected window can't be used.
4963 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4964
c60c3703
EZ
49652011-11-28 Eli Zaretskii <eliz@gnu.org>
4966
4967 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4968 special-mode-map.
4969
e95def75
CY
49702011-11-28 Chong Yidong <cyd@gnu.org>
4971
4972 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4973
c3f1c606
NR
49742011-11-27 Nick Roberts <nickrob@snap.net.nz>
4975
4976 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4977 gdb-get-source-file-list on gdb-create-source-file-list.
4978
00db469c
EZ
49792011-11-26 Eli Zaretskii <eliz@gnu.org>
4980
4981 * whitespace.el (whitespace-newline): Use a different foreground
4982 color for 16-color light-background displays.
4983
4ad3bc2a
CY
49842011-11-24 Chong Yidong <cyd@gnu.org>
4985
4986 * window.el (display-buffer--special-action): Doc fix.
4987
e9fce1ac
JB
49882011-11-25 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4991 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4992 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4993 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4994 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4995 (avl-tree-stack-first):
4996 * emacs-lisp/cconv.el (cconv--analyse-use):
4997 * net/gnutls.el (gnutls-negotiate): Fix typos.
4998
cb825e5d
GM
49992011-11-24 Glenn Morris <rgm@gnu.org>
5000
3adbe224
GM
5001 * lpr.el (lpr-windows-system, lpr-lp-system):
5002 * mail/binhex.el (binhex-begin-line):
5003 * progmodes/grep.el (grep-history, grep-find-history):
5004 * textmodes/flyspell.el:
5005 * vc/pcvs-defs.el (cvs-global-menu):
5006 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5007 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5008 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5009
321decc8
GM
5010 * net/tls.el: Fix case of "GnuTLS".
5011
420b63ad
GM
5012 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5013
cb825e5d
GM
5014 * version.el (emacs-build-system): Give it a doc-string.
5015
a0649f08
JL
50162011-11-24 Juri Linkov <juri@jurta.org>
5017
5018 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5019
c0bc0fd4
GM
50202011-11-24 Glenn Morris <rgm@gnu.org>
5021
5022 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5023 if called on a non-mime message just toggle the headers. (Bug#8006)
5024
20db1522
JB
50252011-11-24 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5028 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5029 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5030 (allout-rebullet-heading, allout-open-sibtopic)
5031 (allout-toggle-current-subtree-encryption)
5032 (allout-toggle-subtree-encryption, allout-encrypt-string)
5033 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5034 (allout-distinctive-bullets-string, allout-auto-activation):
5035 * window.el (window-normalize-buffer-to-display):
5036 * progmodes/verilog-mode.el (verilog-batch-indent):
5037 * textmodes/bibtex.el (bibtex-field-braces-opt)
5038 (bibtex-field-strings-opt):
5039 * vc/cvs-status.el (cvs-tree-merge):
5040 Fix typos.
5041
7262a87c
MA
50422011-11-23 Michael Albinus <michael.albinus@gmx.de>
5043
5044 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5045 `non-essential' to t, in order to avoid remote connections.
5046
283430a1
EZ
50472011-11-23 Eli Zaretskii <eliz@gnu.org>
5048
a1beca85
SM
5049 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5050 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5051 case-insensitively.
5052
d2992a38
ML
50532011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5054
5055 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5056
50419064
GM
50572011-11-23 Glenn Morris <rgm@gnu.org>
5058
da94eca1
GM
5059 * paths.el (rmail-file-name): Reformat the doc-string so that it
5060 is picked up.
5061
9aac4de2
GM
5062 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5063 (rmail-auto-file): Ignore case in the "special" field names,
5064 as mail-fetch-field does for all others.
5065
8038d2d2
GM
5066 * mail/rmail.el (rmail-forward):
5067 * mail/rmailkwd.el (rmail-set-label):
5068 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5069 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5070
f3fe222a
GM
5071 * mail/rmail.el (rmail-current-message): Doc fix.
5072
50419064
GM
5073 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5074
28109f49
SM
50752011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5078
394c65f1
GM
50792011-11-22 Glenn Morris <rgm@gnu.org>
5080
5081 * mail/rmailmm.el (test-rmail-mime-handler)
5082 (test-rmail-mime-bulk-handler)
5083 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5084
f2a0aa3a
JL
50852011-11-21 Juri Linkov <juri@jurta.org>
5086
1154d12e
JB
5087 * calc/calc.el (calc-read-key-sequence):
5088 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5089
9c34a344
LMI
50902011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091
5092 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5093 Tell the caller that the next line needs recomputation, even
5094 though it doesn't start a sexp (bug#10094).
5095
f04a3be9
SM
50962011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5099
7978747f
SM
51002011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5101
f04a3be9
SM
5102 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5103 Use force-same-window.
7978747f 5104
fe7a3057
JB
51052011-11-20 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * descr-text.el (describe-char-unicode-data):
5108 * json.el (json-string-escape):
5109 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5110 (Footnote-unicode, Footnote-style-p):
5111 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5112
24901d61
CY
51132011-11-20 Chong Yidong <cyd@gnu.org>
5114
5115 * window.el (replace-buffer-in-windows): Restore interactive spec.
5116
bac7ff22
SM
51172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5118
24f3d7b9
SM
5119 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5120
bac7ff22
SM
5121 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5122 (byte-compile-global-not-obsolete-vars): New var.
5123 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5124 Use it.
5125 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5126
cd1181db
JB
51272011-11-20 Juanma Barranquero <lekktu@gmail.com>
5128
5129 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5130 * progmodes/pascal.el (electric-pascal-equal):
5131 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5132 * xml.el (xml-substitute-special): Fix typos.
5133
7fb18e9e
GM
51342011-11-20 Glenn Morris <rgm@gnu.org>
5135
5136 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5137 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5138 Doc fixes.
5139 (rmail-decode-mime-charset): Mark as obsolete.
5140
5141 * mail/rmailsum.el (rmail-message-regexp-p-1):
5142 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5143 Before using mime functions, check they are set. (Bug#10077)
5144
d5a6b3ba
JL
51452011-11-19 Juri Linkov <juri@jurta.org>
5146
5147 * info.el (Info-finder-find-node): Use `package--builtins' instead
5148 of `package-alist'. Use node names formed by the pattern "Keyword "
5149 and the keyword name.
5150
e981b61f
AS
51512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5152
1d00653d 5153 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5154
3ffbc301
JL
51552011-11-19 Juri Linkov <juri@jurta.org>
5156
5157 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5158 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5159 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5160 `old-history', `old-history-forward'. Add let-binding
5161 `window-selected'. Remove calls to `kill-buffer',
5162 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5163 before calling `Info-find-node', so `Info-find-node-2' will reread
5164 the Info file. Restore window positions only when `window-selected'
5165 is non-nil.
5166
30c62133
JL
51672011-11-19 Juri Linkov <juri@jurta.org>
5168
5169 * isearch.el (isearch-lazy-highlight-new-loop):
5170 Remove condition `(not isearch-error)'. (Bug#9918)
5171
5172 * misearch.el (multi-isearch-search-fun): Add condition
5173 `(not bound)' to ignore lazy-highlighting search.
5174 Add the search-failed message "end of multi" when the end of
5175 multi-sequence is reached. Uncapitalize the search-failed
5176 message "Repeat for next buffer".
5177
5178 * info.el (Info-search): Add the search-failed message
5179 "end of the manual" when the end of the manual is reached
5180 in Isearch mode.
5181
645ca9cf
JL
51822011-11-19 Juri Linkov <juri@jurta.org>
5183
5184 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5185 Use non-destructive `remove' instead of `delete' because
5186 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5187 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5188
df754f66
JL
51892011-11-19 Juri Linkov <juri@jurta.org>
5190
5191 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5192 to nil instead of binding `search-ring' and `regexp-search-ring'.
5193 (Bug#9185)
5194
0e23d96a
EZ
51952011-11-19 Eli Zaretskii <eliz@gnu.org>
5196
5197 * simple.el (line-move): Force movement by logical lines for any
5198 hscrolled window, not only when auto-hscroll-mode is on.
5199 (line-move-visual): Update doc string to that effect. (Bug#10076)
5200
8a6ccb66
AS
52012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5202
5203 * language/european.el (macintosh): Define as alias for mac-roman.
5204
49ae5b39
EZ
52052011-11-19 Eli Zaretskii <eliz@gnu.org>
5206
5207 * mail/rmailmm.el (rmail-mime-display-header)
5208 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5209 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5210 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5211 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5212 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5213 of a raw aref.
5214 (rmail-mime-entity-segment): To get past the tagline, move forward
5215 2 more lines, to account for the 2 empty lines that precede and
5216 follow the line with the buttons.
5217 (rmail-mime-update-tagline): Move one more line, to get past the
5218 empty line that follows the buttons in the tagline. (Bug#9520)
5219
c56cad4a
MR
52202011-11-19 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (window-max-delta-1, window-min-delta-1)
5223 (window-min-size-1, window-state-get-1, window-state-put-1)
5224 (window-state-put-2): Use "window--" prefix.
5225
cbe71af3
SM
52262011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5227
2ad52c60
SM
5228 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5229 (smie-warning-count): New var.
5230 (smie-set-prec2tab): Use it.
5231 (smie-bnf->prec2): Improve warnings. Add docstring.
5232 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5233 (smie-bnf--set-class): New function.
5234 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5235 corner case.
5236
6944dbc1
SM
5237 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5238 (compilation-error-properties, compilation-move-to-column):
5239 Handle compilation-first-column while in the target buffer.
5240
c400c4d7
SM
5241 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5242 Don't hardcode point-min==1.
5243
6dbe3e96
SM
5244 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5245 (eshell-rewrite-for-command): Remove workaround.
5246 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5247 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5248 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5249
cbe71af3
SM
5250 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5251
a8e1496d
GM
52522011-11-17 Glenn Morris <rgm@gnu.org>
5253
5254 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5255 Ignore buffer-local generated-autoload-file if it is the same
5256 as the global value. (Bug#10049)
5257
df85d315
JB
52582011-11-17 Juanma Barranquero <lekktu@gmail.com>
5259
5260 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5261 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5262 (reftex-toc-previous-heading, reftex-toc-max-level)
5263 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5264 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5265 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5266 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5267 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5268 (reftex-toc-rename-label, reftex-toc-visit-location)
5269 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5270 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5271 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5272 leaving "*toc*" only for references to the buffer.
5273
a0c2d0ae
MR
52742011-11-17 Martin Rudalics <rudalics@gmx.at>
5275
5276 * window.el (window-resize, delete-window, split-window):
5277 Replace window-splits by window-combination-resize.
1d00653d 5278 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5279
35c0bac8
GM
52802011-11-17 Glenn Morris <rgm@gnu.org>
5281
5282 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5283 Make bash entry derive from sh entry, not shell entry.
5284
d0c8fc8a
MA
52852011-11-16 Michael Albinus <michael.albinus@gmx.de>
5286
d0c8fc8a
MA
5287 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5288 properties of linked files. (Bug#9879)
5289
7262a87c
MA
5290 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5291 local file name.
5292
7877f373
JB
52932011-11-16 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * menu-bar.el (menu-bar-file-menu):
5296 * printing.el (pr-ps-utility):
5297 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5298 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5299 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5300 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5301 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5302 (icalendar--convert-cyclic-to-ical)
5303 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5304 (icalendar--convert-ical-to-diary)
5305 (icalendar--convert-recurring-to-diary)
5306 (icalendar--convert-non-recurring-all-day-to-diary)
5307 (icalendar-import-format-sample):
5308 * progmodes/idlw-shell.el (idlwave-shell-mode):
5309 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5310 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5311 (vhdl-ps-print-init): Fix typos.
5312
10649b82
KM
53132011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5314
9d0cfcd6
GM
5315 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5316 FSF and collapse date sequence, obscure author/maintainer email address
5317 better, remove extra version line, track relocation of author's webpage.
10649b82 5318
9d0cfcd6
GM
5319 * progmodes/python.el (python-pdbtrack-input-prompt)
5320 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5321 regular python pdb prompts. Adjustments shamelessly taken exactly as
5322 suggested in EmacsWiki page (tiny change):
5323 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5324
58179cce
JB
53252011-11-16 Juanma Barranquero <lekktu@gmail.com>
5326
5327 * expand.el (expand-pos, expand-index, expand-point):
5328 Remove redundant info from docstring.
5329 (expand-add-abbrevs): Doc fix.
5330 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5331 (expand-sample-perl-mode-expand-list): Fix typos.
5332
5333 * net/dbus.el (dbus-event-member-name):
5334 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5335 * term/pc-win.el (msdos-create-frame-with-faces):
5336 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5337
b6f67890
MR
53382011-11-16 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (split-window, window-state-get-1)
5341 (window-state-put-1, window-state-put-2): Rename occurrences of
5342 window-nest to window-combination-limit.
1d00653d 5343 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5344
ce7ddba0
CY
53452011-11-16 Chong Yidong <cyd@gnu.org>
5346
5347 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5348 regexp (Bug#10033).
5349
3ae704f4
SM
53502011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5353 `completing-read' will remove *Completions* and will preserve
5354 current-buffer for us.
5355 (tmm-add-prompt): Users of *Completions* will always (re)set its
5356 major mode.
5357 (tmm-old-comp-map): Remove.
5358
6ad1cdde
GM
53592011-11-16 Glenn Morris <rgm@gnu.org>
5360
5361 * mail/rmailedit.el: Require rmailmm when compiling.
5362 (rmail-old-mime-state): New declaration.
5363 (rmail-edit-current-message): If editing a mime message,
5364 edit the "raw" message from the mbox buffer.
5365 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5366
d20faa20
GM
53672011-11-15 Glenn Morris <rgm@gnu.org>
5368
5369 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5370 which wasn't being used. Add optional arg to force given state.
5371 (rmail-mime): Add optional arg to force given state.
5372
c7015153
JB
53732011-11-15 Juanma Barranquero <lekktu@gmail.com>
5374
5375 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5376 * frame.el (display-mm-dimensions-alist):
5377 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5378 (outline-move-subtree-down):
5379 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5380 (newsticker--treeview-do-get-node):
5381 * net/quickurl.el (quickurl-list-buffer-name):
5382 * progmodes/dcl-mode.el (dcl-mode):
5383 * progmodes/gdb-mi.el (gdb-mapcar*):
5384 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5385
45261b50
GM
53862011-11-15 Glenn Morris <rgm@gnu.org>
5387
5388 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5389 in a boolean sense, so just make it a boolean, and fix the doc.
5390 (rmail-show-mime-function, rmail-mime-feature)
5391 (rmail-require-mime-maybe): Doc fixes.
5392 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5393
5394 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5395
0d26e0b6
JB
53962011-11-15 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5399 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5400 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5401 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5402
447f30f6
GM
54032011-11-15 Glenn Morris <rgm@gnu.org>
5404
672b871d
GM
5405 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5406 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5407 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5408 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5409 (rmail-mime, rmail-show-mime): Doc fixes.
5410
f6aa5bb1
GM
5411 * term/ns-win.el (mode-line-frame-identification):
5412 Leave it alone. (Bug#10051)
5413
947cd66b
GM
5414 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5415
447f30f6
GM
5416 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5417 Handle empty buffers. (Bug#9978)
5418
0b381c7e
JB
54192011-11-14 Juanma Barranquero <lekktu@gmail.com>
5420
5421 * international/mule.el (define-charset):
5422 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5423 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5424 * progmodes/verilog-mode.el (verilog-backward-token):
5425 * textmodes/ispell.el (lookup-words):
5426 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5427
71e027ac
GM
54282011-11-14 Glenn Morris <rgm@gnu.org>
5429
56632ce4
GM
5430 * progmodes/executable.el
5431 (executable-make-buffer-file-executable-if-script-p):
5432 Handle file-modes returning nil.
5433
40500957
GM
5434 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5435 message - not necessary, and causes problems. (Bug#9831)
5436
071c2340
GM
5437 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5438
d3cfca60
GM
5439 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5440
71e027ac
GM
5441 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5442 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5443 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5444
89d61221
MR
54452011-11-12 Martin Rudalics <rudalics@gmx.at>
5446
5447 * window.el (window-resize, delete-window): Use window-splits
5448 variable instead of function.
5449 (window-state-get-1, window-state-put-2, window-state-put):
5450 Don't deal with windows' splits status.
5451
98282f6f
GM
54522011-11-12 Glenn Morris <rgm@gnu.org>
5453
5454 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5455 (apropos-documentation): Doc fixes.
5456
40a8bdf6
JB
54572011-11-11 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5460 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5461
65bd19ff
SM
54622011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * electric.el (electric-indent-post-self-insert-function): Make it
5465 possible for a char to only indent in some circumstances.
5466 (electric-indent-mode): Simplify.
5467
54f9154c
MR
54682011-11-11 Martin Rudalics <rudalics@gmx.at>
5469
5470 * window.el (windows-with-parameter): Remove unused function.
5471 (windows-at-side): Rename to window-at-side-list.
5472 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5473 (window-side-check, window-size-ignore, window-size-fixed-1)
5474 (window-in-direction-2): Prefix with "window--".
5475 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5476
68cbc58b
GM
54772011-11-11 Glenn Morris <rgm@gnu.org>
5478
5479 * subr.el (eval-after-load): If FILE is already loaded,
5480 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5481
b2621720
GM
54822011-11-10 Glenn Morris <rgm@gnu.org>
5483
9a4de110
GM
5484 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5485 Call svn via vc-svn-command rather than vc-do-command.
5486 (vc-svn-command): Add --non-interactive. (Bug#9993)
5487 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5488
b2621720
GM
5489 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5490 Add toggle-read-only. (Bug#7292)
5491 * files.el (toggle-read-only): Mention that it should only
5492 be used interactively. (Bug#10006)
5493
1dce7193
SM
54942011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5495
d9ac1a1e
SM
5496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5497 Adjust regexp for OCaml warnings.
5498
0c325082
SM
5499 * electric.el (electric-pair-post-self-insert-function): Let user
5500 turn it off buffer-locally (bug#9932).
5501
90132c14
SM
5502 * progmodes/python.el (python-beginning-of-statement):
5503 Rewrite (bug#2703).
5504
1dce7193
SM
5505 * progmodes/compile.el: Better handle TABs (bug#9749).
5506 (compilation-internal-error-properties)
5507 (compilation-next-error-function): Obey the target buffer's
5508 compilation-error-screen-columns.
5509
c4e7c63a
JB
55102011-11-09 Juanma Barranquero <lekktu@gmail.com>
5511
5512 * progmodes/meta-mode.el: Remove obsolete comments.
5513 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5514 Fix typos in docstrings.
5515
2cffd681
MR
55162011-11-09 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5519 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5520 (window--resizable): New function. Make all callers of
5521 window-resizable call window--resizable instead.
5522 (window-resizable): Rewrite in terms of window--resizable.
5523
0edcba87
GM
55242011-11-08 Glenn Morris <rgm@gnu.org>
5525
5526 * progmodes/delphi.el (delphi-mode-syntax-table):
5527 Let define-derived-mode define a proper syntax table. (Bug#9994)
5528
4b0d61e3
SM
55292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * window.el: Stay away from defsubst.
5532 (window-list-no-nils): Remove.
5533 (window-state-get-1, window-state-get): Use backquote instead.
5534
cd394be1 55352011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5536
4b0d61e3 5537 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5538 Fix incorrect use of default argument in `completing-read'.
5539
e1c2c6f2
MR
55402011-11-08 Martin Rudalics <rudalics@gmx.at>
5541
5542 * window.el (display-buffer-function, special-display-function):
5543 Mention display-buffer-record-window but do not mention
5544 help-setup parameter in doc-strings.
b3f4a882 5545 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5546
105216ed
CY
55472011-11-08 Chong Yidong <cyd@gnu.org>
5548
5549 * window.el (window-total-height, window-total-width): Doc fix.
5550 (window-body-size): Move from C.
5551 (window-body-height, window-body-width): Move to C.
5552
0a9f9ab5
SM
55532011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * window.el: Make special-display like display-buffer-alist (bug#9532).
5556 (display-buffer--special-action): New function, morphed
5557 from display-buffer--special.
5558 (display-buffer): Use it to handle special-display-buffers at higher
5559 priority (just after display-buffer-alist).
5560 (display-buffer-fallback-action, display-buffer--other-frame-action)
5561 (pop-to-buffer-same-window): Remove display-buffer--special.
5562
a769dd15
GM
55632011-11-07 Glenn Morris <rgm@gnu.org>
5564
5565 * calendar/cal-menu.el (cal-menu-set-date-title):
5566 Do nothing if not in a calendar. (Bug#9976)
5567
05a61ee3
SM
55682011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * files.el (find-file): Always use selected-window.
5571
be7f5545
MR
55722011-11-07 Martin Rudalics <rudalics@gmx.at>
5573
5574 * window.el (window-combinations): Make WINDOW argument
5575 mandatory. Rewrite doc-string.
5576 (walk-window-subtree, window-atom-check, window-min-delta)
5577 (window-max-delta, window--resize-this-window)
5578 (window--resize-root-window-vertically, window-tree)
5579 (balance-windows, window-state-put): Rewrite doc-strings as to
5580 not mention the term "subwindow".
5581 (window--resize-subwindows-skip-p): Rename to
5582 window--resize-child-windows-skip-p.
5583 (window--resize-subwindows-normal): Rename to
5584 window--resize-child-windows-normal.
5585 (window--resize-subwindows): Rename to
5586 window--resize-child-windows.
5587 (window-or-subwindow-p): Rename to window--in-subtree-p.
5588
3c6702ef
ML
55892011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5590
5591 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5592 Ensure that mbox format messages end in two newlines (Bug#9974).
5593
49745b39
CY
55942011-11-06 Chong Yidong <cyd@gnu.org>
5595
5596 * window.el (window-combination-p): Function deleted; its
5597 side-effect is not used in any existing code.
5598 (window-combinations, window-combined-p): Call window-*-child
5599 directly.
5600
24300f5f
CY
56012011-11-05 Chong Yidong <cyd@gnu.org>
5602
5603 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5604 (window-size-ignore, window-state-get): Callers changed.
5605 (window-normalize-window): Rename from window-normalize-any-window.
5606 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5607 (window-normalize-live-window): Delete.
447f16b8
CY
5608 (window-combination-p, window-combined-p, window-combinations)
5609 (walk-window-subtree, window-atom-root, window-min-size)
5610 (window-sizable, window-sizable-p, window-size-fixed-p)
5611 (window-min-delta, window-max-delta, window-resizable)
5612 (window-resizable-p, window-full-height-p, window-full-width-p)
5613 (window-current-scroll-bars, window-point-1, set-window-point-1)
5614 (window-at-side-p, window-in-direction, window-resize)
5615 (adjust-window-trailing-edge, maximize-window, minimize-window)
5616 (window-deletable-p, delete-window, delete-other-windows)
5617 (record-window-buffer, unrecord-window-buffer)
5618 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5619 (quit-window, split-window, window-state-put)
5620 (set-window-text-height, fit-window-to-buffer)
5621 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5622
89bd5ee1
EZ
56232011-11-04 Eli Zaretskii <eliz@gnu.org>
5624
53479029
EZ
5625 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5626 rfc2047-decode-string.
5627 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5628 warnings.
5629
89bd5ee1
EZ
5630 * window.el (window-body-height, window-body-width): Mention in
5631 the doc string that the return values are in frame's canonical
5632 units. (Bug#9949)
5633
bd17fdee
AM
56342011-11-03 Alan Mackenzie <acm@muc.de>
5635
5636 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5637 change in cc-engine.el.
5638
acc825c5
SM
56392011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5642
1885e5b8
MR
56432011-11-02 Martin Rudalics <rudalics@gmx.at>
5644
5645 * window.el (quit-window): Call unrecord-window-buffer after
5646 showing another buffer in the window. (Bug#9937)
acc825c5 5647 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5648
ebe06da9
JB
56492011-11-02 Juanma Barranquero <lekktu@gmail.com>
5650
5651 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5652 Accept status with more than 9 shelves. (Bug#9935)
5653 Reported by Colin D Bennett <colin@gibibit.com>.
5654
4ee88440
MR
56552011-11-01 Martin Rudalics <rudalics@gmx.at>
5656
5657 * help.el (with-help-window): Don't reference
5658 temp-buffer-show-specifiers in doc-string.
5659
08e1d82c
AS
56602011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5661
5662 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5663 menu-item.
5664
84bd6e9e
VJL
56652011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5666
5667 * whitespace.el: New version 13.2.2.
5668 (whitespace-newline-mode): Disable properly. Reported by Sarah
5669 <EmacsWiki>.
5670
dba0634a
UJ
56712011-10-30 Ulf Jasper <ulf.jasper@web.de>
5672
5673 * net/newst-treeview.el: Remove "Time-stamp".
5674 (newsticker--group-manage-orphan-feeds): Do not call
5675 newsticker--treeview-tree-update.
db22a3c2
JB
5676 (newsticker-treeview-update, newsticker-treeview):
5677 Call newsticker--treeview-tree-update if necessary.
dba0634a 5678
3d8daefe
MR
56792011-10-30 Martin Rudalics <rudalics@gmx.at>
5680
5681 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5682 (window-iso-combinations): Remove "iso-" infix.
5683 Suggested by Chong Yidong.
3d8daefe
MR
5684 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5685 (window-max-delta-1, window-resize, window--resize-siblings)
5686 (window--resize-this-window, adjust-window-trailing-edge)
5687 (split-window, balance-windows-1)
5688 (shrink-window-if-larger-than-buffer):
5689 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5690 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5691
1bc4c3ae
SM
56922011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5693
5694 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5695 in place (bug#9907).
5696 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5697 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5698 (eshell-structure-basic-command, eshell-rewrite-while-command)
5699 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5700 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5701 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5702 (eshell-do-pipelines-synchronously, eshell-eval-command):
5703 Use backquotes and prefer setq to set.
5704 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5705 (eshell-macrop): Use functionp.
c1e2f5fa 5706 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5707
30b65d9c
CY
57082011-10-30 Chong Yidong <cyd@gnu.org>
5709
5710 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5711 instead of set-mark (Bug#9810).
5712
2d197ffb
CY
57132011-10-30 Chong Yidong <cyd@gnu.org>
5714
5715 * window.el (split-window-below, split-window-right): Rename from
5716 split-window-above-each-other and split-window-side-by-side
5717 respectively. All callers changed.
5718 (split-window-sensibly, split-window-sensibly): Use them.
5719 (split-window-keep-point): Doc fix.
5720
5721 * isearch.el: Add isearch-scroll property to split-window-below
5722 and split-window-right.
5723
5724 * follow.el (follow-mode):
5725 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5726 * progmodes/ada-xref.el (ada-gdb-application):
5727 * emulation/vip.el (vip-buffer-in-two-windows):
5728 * image-dired.el (image-dired-dired-with-window-configuration):
5729 * dired-x.el (dired-do-find-marked-files):
5730 * dired.el (dired-pop-to-buffer):
5731 * bs.el (bs--show-with-configuration):
5732 * vc/emerge.el (emerge-setup-windows):
5733 * textmodes/two-column.el (2C-two-columns):
5734 * textmodes/reftex-toc.el (reftex-toc):
5735 * progmodes/gdb-mi.el (gdb-setup-windows):
5736 * progmodes/fortran.el (fortran-window-create):
5737 * net/newst-treeview.el (newsticker--treeview-window-init):
5738 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5739 * emulation/tpu-edt.el (tpu-gold-map):
5740 * emulation/crisp.el (crisp-mode-map):
5741 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5742
38bb2ca8
CY
57432011-10-29 Chong Yidong <cyd@gnu.org>
5744
aa4de341
CY
5745 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5746
e1eb5385
CY
5747 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5748
5d2ece3c
CY
5749 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5750 forged Ispell output (Bug#7904).
5751
38bb2ca8
CY
5752 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5753
d0af9f77
SM
57542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * doc-view.el: Avoid ugly errors about not finding nil.
5757 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5758 (doc-view-dvipdf-program, doc-view-unoconv-program)
5759 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5760 Avoid nil or absolute file name as default value.
5761 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5762
52bedd34
AM
57632011-10-28 Alan Mackenzie <acm@muc.de>
5764
db22a3c2 5765 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5766
7e43cfa5
AM
57672011-10-28 Alan Mackenzie <acm@muc.de>
5768
5769 Amend the handling of c-beginning/end-of-defun in nested declaration
5770 scopes.
5771
52bedd34
AM
5772 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5773 cc-langs.el. Change it to a defcustom.
7e43cfa5 5774
52bedd34
AM
5775 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5776 cc-vars.el.
7e43cfa5 5777
d0af9f77
SM
5778 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5779 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5780
52bedd34 5781 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5782 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5783 (c-widen-to-enclosing-decl-scope): New function.
5784 (c-while-widening-to-decl-block): New macro.
5785 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5786 outward for defun boundaries, and correspondingly change symbol
5787 `respect-enclosure' to `go-outward'.
5788 (c-declaration-limits): Change algorithm to report only the "innermost"
5789 defun's boundaries.
5790
1a2ce9ee
DD
57912011-10-28 Deniz Dogan <deniz@dogan.se>
5792
5793 * net/rcirc.el (rcirc-mode): Use hard newlines.
5794
bc97a826
AM
57952011-10-28 Alan Mackenzie <acm@muc.de>
5796
5797 Amend to indent and fontify macros "which include their own semicolon"
5798 correctly, using the "virtual semicolon" mechanism.
5799
52bedd34 5800 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5801
d0af9f77 5802 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5803 Recode to scan one line at a time rather than having \n and \r
58179cce 5804 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5805 (c-forward-label): Amend for virtual semicolons.
58179cce 5806 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5807
52bedd34
AM
5808 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5809 of the new C macros.
bc97a826 5810
52bedd34 5811 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5812 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5813 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5814 (c-opt-cpp-macro-define): Make into a full language variable.
5815 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5816 AWK Mode (including \n, \r) removed, no longer needed.
5817
d0af9f77
SM
5818 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5819 Invoke c-make-macro-with-semi-re.
bc97a826 5820
52bedd34
AM
5821 * progmodes/cc-vars.el (c-macro-with-semi-re):
5822 (c-macro-names-with-semicolon): New variables.
58179cce 5823 (c-make-macro-with-semi-re): New function.
bc97a826 5824
7a6c0941
SM
58252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * vc/log-edit.el: Fill empty field rather than adding new one.
5828 (log-edit-add-field): New function.
5829 (log-edit-insert-changelog): Use it.
5830
b0c4cdcf
ML
58312011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5832
5833 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5834
ee1f1da9
SM
58352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5838 (gdb--check-interpreter): New function.
5839 (gdb): Use it.
5840
51bc5f8b
GM
58412011-10-27 Glenn Morris <rgm@gnu.org>
5842
416a2c45
GM
5843 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5844 (least-positive-float, least-negative-float)
5845 (least-positive-normalized-float, least-negative-normalized-float)
5846 (float-epsilon, float-negative-epsilon):
5847 Remove unnecessary declarations.
5848
5849 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5850 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5851 (least-positive-float, least-negative-float)
5852 (least-positive-normalized-float, least-negative-normalized-float)
5853 (float-epsilon, float-negative-epsilon): Add doc-strings,
5854 based on those in cl.texi.
5855
51bc5f8b
GM
5856 * files.el (set-visited-file-name): If the major-mode changed,
5857 reload the local variables. (Bug#9796)
5858
15de15c6
CY
58592011-10-27 Chong Yidong <cyd@gnu.org>
5860
5861 * subr.el (change-major-mode-after-body-hook): New hook.
5862 (run-mode-hooks): Run it.
5863
ee1f1da9
SM
5864 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5865 Use change-major-mode-before-body-hook.
15de15c6
CY
5866
5867 * simple.el (fundamental-mode):
5868 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5869 change introducing fundamental-mode-hook.
5870
5430d399
JB
58712011-10-26 Juanma Barranquero <lekktu@gmail.com>
5872
acc825c5 5873 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5874
ad74a69e
MA
58752011-10-26 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5878 tramp.el explicitly. (Bug#7583)
ad74a69e 5879
71d4c2a5
SM
58802011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * progmodes/octave-mod.el:
5883 * progmodes/octave-inf.el: Update maintainer.
5884
b1f6fa26
CY
58852011-10-26 Chong Yidong <cyd@gnu.org>
5886
5887 * subr.el (with-wrapper-hook): Rewrite doc.
5888
3f04efd6
MA
58892011-10-25 Michael Albinus <michael.albinus@gmx.de>
5890
5891 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5892 filenames "/method:foo:". (Bug#9793)
3f04efd6 5893
410488d3
SM
58942011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5897 (bug#9865).
5898
c1ebb47e
GM
58992011-10-24 Glenn Morris <rgm@gnu.org>
5900
5901 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5902
7f5c46c7
MA
59032011-10-24 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * notifications.el: Add the requirement of a running D-Bus session
5906 bus to the Commentary.
5907
db2440b6
JL
59082011-10-24 Juri Linkov <juri@jurta.org>
5909
5910 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5911 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5912 (Bug#9364)
5913
feecf435
JL
59142011-10-24 Juri Linkov <juri@jurta.org>
5915
5916 * info.el (Info-following-node-name-re): Add newline to the list
5917 of allowed characters for leading space. (Bug#9824)
5918
a3839de2
SM
59192011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5920
acc825c5
SM
5921 * progmodes/octave-inf.el (inferior-octave-mode-map):
5922 Fix C-c C-h binding.
a3839de2
SM
5923 * progmodes/octave-mod.el (octave-help): Remove.
5924
09388e76
MA
59252011-10-23 Michael Albinus <michael.albinus@gmx.de>
5926
5927 Sync with Tramp 2.2.3.
5928
5929 * net/tramp-cache.el (top): Pacify byte-compiler using
5930 `init-file-user' and `site-run-file'.
5931
5932 * net/trampver.el: Update release number.
5933
86c60681
CY
59342011-10-23 Chong Yidong <cyd@gnu.org>
5935
5936 * files.el (toggle-read-only): Remove obsolete comment about
5937 version control.
5938
5939 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5940 for toggle-read-only. Note that this hasn't called vc-next-action
5941 since 2008-05-02, though it wasn't documented at the time.
5942
a3839de2
SM
5943 * vc/ediff-init.el (ediff-toggle-read-only-function):
5944 Use toggle-read-only.
86c60681 5945
cd5495ff
AM
59462011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5947
5948 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5949 of c-parse-state.
5950
00b77525 5951 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5952 correct faulty logical expression.
cd5495ff
AM
5953 (c-parse-state-state, c-record-parse-state-state):
5954 (c-replay-parse-state-state): New defvar/defuns.
5955 (c-debug-parse-state): Use new functions.
5956
42ee24ed
MR
59572011-10-22 Martin Rudalics <rudalics@gmx.at>
5958
5959 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5960 last fix. Use window-in-direction correctly.
42ee24ed 5961
a7dee7e7
CY
59622011-10-21 Chong Yidong <cyd@gnu.org>
5963
5964 * progmodes/idlwave.el (idlwave-mode):
5965 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5966 require-final-newline; that's done in prog-mode.
5967 Suggested by Stefan Monnier.
a7dee7e7 5968
e07b9a6d
MR
59692011-10-21 Martin Rudalics <rudalics@gmx.at>
5970
5971 * mouse.el (mouse-drag-window-above)
5972 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5973 (mouse-drag-mode-line-1, mouse-drag-header-line)
5974 (mouse-drag-vertical-line-rightward-window): Remove.
5975 (mouse-drag-line): New function.
5976 (mouse-drag-mode-line, mouse-drag-header-line)
5977 (mouse-drag-vertical-line): Call mouse-drag-line.
5978 * window.el (window-at-side-p, windows-at-side): New functions.
5979
7e1361d9
UM
59802011-10-21 Ulrich Mueller <ulm@gentoo.org>
5981
5982 * tar-mode.el (tar-grind-file-mode):
5983 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5984
30fcaf3a
CY
59852011-10-21 Chong Yidong <cyd@gnu.org>
5986
5987 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5988 * progmodes/vera-mode.el (vera-mode):
5989 Use mode-require-final-newline.
30fcaf3a 5990
516eddb0
GM
59912011-10-20 Glenn Morris <rgm@gnu.org>
5992
db22a3c2 5993 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5994
10d5f513
CS
59952011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5996
5997 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5998
ac6c8639
CY
59992011-10-20 Chong Yidong <cyd@gnu.org>
6000
6001 * emulation/cua-base.el (cua-mode):
6002 * mail/footnote.el (footnote-mode):
6003 * mail/mailabbrev.el (mail-abbrevs-mode):
6004 * net/xesam.el (xesam-minor-mode):
6005 * progmodes/bug-reference.el (bug-reference-mode):
6006 * progmodes/cap-words.el (capitalized-words-mode):
6007 * progmodes/compile.el (compilation-minor-mode)
6008 (compilation-shell-minor-mode):
6009 * progmodes/gud.el (gud-tooltip-mode):
6010 * progmodes/hideif.el (hide-ifdef-mode):
6011 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6012 * progmodes/subword.el (subword-mode):
6013 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6014 * progmodes/which-func.el (which-function-mode):
6015 * term/tvi970.el (tvi970-set-keypad-mode):
6016 * term/vt100.el (vt100-wide-mode):
6017 * textmodes/flyspell.el (flyspell-mode):
6018 * textmodes/ispell.el (ispell-minor-mode):
6019 * textmodes/nroff-mode.el (nroff-electric-mode):
6020 * textmodes/paragraphs.el (use-hard-newlines):
6021 * textmodes/refill.el (refill-mode):
6022 * textmodes/reftex.el (reftex-mode):
6023 * textmodes/rst.el (rst-minor-mode):
6024 * textmodes/sgml-mode.el (html-autoview-mode)
6025 (sgml-electric-tag-pair-mode):
6026 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6027 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6028 * emulation/crisp.el (crisp-mode):
6029 * emacs-lisp/eldoc.el (eldoc-mode):
6030 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6031 minor mode behavior.
6032
aa42ab43
JL
60332011-10-19 Juri Linkov <juri@jurta.org>
6034
6035 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6036 the list of hard-coded chars with escape-glyph face.
6037
89400f1d
SM
60382011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6041
305c07f6
MA
60422011-10-19 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6045 running process.
6046
13754b54
GM
60472011-10-19 Glenn Morris <rgm@gnu.org>
6048
6049 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6050 Ignore ignored files. (Bug#9726)
6051
06e21633
CY
60522011-10-19 Chong Yidong <cyd@gnu.org>
6053
6054 Doc fix for minor modes, stating that an omitted argument enables
6055 the mode unconditionally when called from Lisp.
6056
6057 * abbrev.el (abbrev-mode):
6058 * allout.el (allout-mode):
6059 * autoinsert.el (auto-insert-mode):
6060 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6061 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6062 (global-auto-revert-mode):
6063 * battery.el (display-battery-mode):
6064 * composite.el (global-auto-composition-mode)
6065 (auto-composition-mode):
6066 * delsel.el (delete-selection-mode):
6067 * desktop.el (desktop-save-mode):
6068 * dired-x.el (dired-omit-mode):
6069 * dirtrack.el (dirtrack-mode):
6070 * doc-view.el (doc-view-minor-mode):
6071 * double.el (double-mode):
6072 * electric.el (electric-indent-mode, electric-pair-mode):
6073 * emacs-lock.el (emacs-lock-mode):
6074 * epa-hook.el (auto-encryption-mode):
6075 * follow.el (follow-mode):
6076 * font-core.el (font-lock-mode):
6077 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6078 * help.el (temp-buffer-resize-mode):
6079 * hilit-chg.el (highlight-changes-mode)
6080 (highlight-changes-visible-mode):
6081 * hi-lock.el (hi-lock-mode):
6082 * hl-line.el (hl-line-mode, global-hl-line-mode):
6083 * icomplete.el (icomplete-mode):
6084 * ido.el (ido-everywhere):
6085 * image-file.el (auto-image-file-mode):
6086 * image-mode.el (image-minor-mode):
6087 * iswitchb.el (iswitchb-mode):
6088 * jka-cmpr-hook.el (auto-compression-mode):
6089 * linum.el (linum-mode):
6090 * longlines.el (longlines-mode):
6091 * master.el (master-mode):
6092 * mb-depth.el (minibuffer-depth-indicate-mode):
6093 * menu-bar.el (menu-bar-mode):
6094 * minibuf-eldef.el (minibuffer-electric-default-mode):
6095 * mouse-sel.el (mouse-sel-mode):
6096 * msb.el (msb-mode):
6097 * mwheel.el (mouse-wheel-mode):
6098 * outline.el (outline-minor-mode):
6099 * paren.el (show-paren-mode):
6100 * recentf.el (recentf-mode):
6101 * reveal.el (reveal-mode, global-reveal-mode):
6102 * rfn-eshadow.el (file-name-shadow-mode):
6103 * ruler-mode.el (ruler-mode):
6104 * savehist.el (savehist-mode):
6105 * scroll-all.el (scroll-all-mode):
6106 * scroll-bar.el (scroll-bar-mode):
6107 * server.el (server-mode):
6108 * shell.el (shell-dirtrack-mode):
6109 * simple.el (auto-fill-mode, transient-mark-mode)
6110 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6111 (line-number-mode, column-number-mode, size-indication-mode)
6112 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6113 * strokes.el (strokes-mode):
6114 * time.el (display-time-mode):
6115 * t-mouse.el (gpm-mouse-mode):
6116 * tool-bar.el (tool-bar-mode):
6117 * tooltip.el (tooltip-mode):
6118 * type-break.el (type-break-mode-line-message-mode)
6119 (type-break-query-mode):
6120 * view.el (view-mode):
6121 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6122 (global-whitespace-mode, global-whitespace-newline-mode):
6123 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6124
a3839de2
SM
6125 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6126 Fix autogenerated docstring.
06e21633 6127
5214e501
JL
61282011-10-19 Juri Linkov <juri@jurta.org>
6129
6130 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6131 by checking environment variables "DESKTOP_SESSION" and
6132 "XDG_CURRENT_DESKTOP". (Bug#9779)
6133
195f8db9
JL
61342011-10-19 Juri Linkov <juri@jurta.org>
6135
6136 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6137 (browse-url-chromium-program, browse-url-chromium-arguments):
6138 New defcustoms.
6139 (browse-url-default-browser): Check for `browse-url-chromium' and
6140 call `browse-url-chromium-program'.
6141 (browse-url-chromium): New command. (Bug#9779)
6142
343a34ff
JB
61432011-10-18 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * facemenu.el (list-colors-duplicates): On Windows, detect more
6146 duplicates by assuming that only colors matching "^System" are
6147 special "system colors". (Bug#9722)
6148
6978a151
SM
61492011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6152 to distinguish the author from the committer.
6153
6a80b297
MA
61542011-10-18 Michael Albinus <michael.albinus@gmx.de>
6155
6156 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6157
b31a5677
JK
61582011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6159
6160 * international/mule.el (sgml-html-meta-auto-coding-function):
6161 Add support for detecting encoding in HTML5 specified only as
6162 <meta charset="UTF-8">. Implementation just makes http-equiv and
6163 content-type parts from HTML4 encoding string optional. (Bug#9716)
6164
80c6d77f
GM
61652011-10-18 Glenn Morris <rgm@gnu.org>
6166
6167 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6168
08b0fee8
CY
61692011-10-18 Chong Yidong <cyd@gnu.org>
6170
6171 * faces.el (cursor): Doc fix.
6172
67e729a5
CY
61732011-10-17 Chong Yidong <cyd@gnu.org>
6174
6175 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6176
343a34ff 61772011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6178
6179 * dirtrack.el (dirtrack): Support shell buffers with path
6180 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6181
0bc06380
TZ
61822011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6183
6184 * json.el: Bump version to 1.3 and note change in History.
6185 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6186
8b79f3e0
SM
61872011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6188
5a7c536b
SM
6189 * comint.el (comint-insert-input, comint-send-input)
6190 (comint-get-old-input-default, comint-backward-matching-input)
6191 (comint-next-prompt): Use nil instead of `input' for field property of
6192 past user input (bug#114).
6193
96a8a0df
SM
6194 * minibuffer.el (completion--replace): Inherit surrounding properties
6195 (bug#114).
6196 (minibuffer-complete-and-exit): Use it.
6197
8b79f3e0
SM
6198 * comint.el (comint--table-subvert): Quote the all-completions output
6199 (bug#9160).
6200
b8f7ff0d
MR
62012011-10-17 Martin Rudalics <rudalics@gmx.at>
6202
8b79f3e0 6203 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6204
b8f7ff0d 6205 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6206 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6207 entries and separate them from frame entries.
6208
c235b555
GM
62092011-10-15 Glenn Morris <rgm@gnu.org>
6210
6211 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6212 Doc fixes.
6213
6bbfa6e1
CY
62142011-10-15 Chong Yidong <cyd@stupidchicken.com>
6215
8b79f3e0
SM
6216 * net/network-stream.el (network-stream-open-starttls):
6217 Improve detection of failure due to lack of TLS support.
ec5c990d 6218
6bbfa6e1
CY
6219 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6220 putting the input text in front and in bold.
6221
98488977
SM
62222011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6223
3d1337be
SM
6224 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6225
ee0b45e4
SM
6226 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6227 empty buffer.
6228
98488977
SM
6229 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6230 unread-command-events rather than pushing yet-another event.
6231
186f4720
EZ
62322011-10-14 Eli Zaretskii <eliz@gnu.org>
6233
6234 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6235 the explanation of the possible choices. Make the options passed
6236 to completing-read shorter.
6237
8b7a997c
AM
62382011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6239
6240 * textmodes/flyspell.el (flyspell-large-region): Make sure
6241 extended character mode is used if defined (Bug#1339).
6242
12587bbb
EZ
62432011-10-13 Eli Zaretskii <eliz@gnu.org>
6244
6245 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6246 character info for LRE, LRO, RLE, and RLO characters by appending
6247 an invisible PDF.
12587bbb 6248
bad41229
SM
62492011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6252 even in case of error; add debug spec; simplify data flow.
6253 (with-timeout-handler): Remove.
6254
28dbc92f
MA
62552011-10-12 Michael Albinus <michael.albinus@gmx.de>
6256
6257 Fix Bug#6019, Bug#9315.
6258
6259 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6260 complete `buffer-file-name', the local file name part could look
6261 remotely (for example on VMS).
6262
6263 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6264 `tramp-run-real-handler'.
6265 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6266 already quoted by '"'.
6267
6268 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6269 Let `file-name-handler-alist' be nil, the local file name part
6270 could look remotely (for example on VMS).
6271
e1b0b23a
SM
62722011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6275 from here...
6276 (flyspell-post-command-hook): ...to here.
6277
a120bde9
SM
62782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6281 if not needed.
6282 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6283 using completion. Protect against "slow" callers.
6284 Remove the "message hack".
6285
7ce7717b
JL
62862011-10-11 Juri Linkov <juri@jurta.org>
6287
6288 * isearch.el (isearch-lazy-highlight-word): New variable.
6289 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6290 Use it. (Bug#9727)
6291
c02ee9d6
GM
62922011-10-11 Glenn Morris <rgm@gnu.org>
6293
6294 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6295 like f90-previous-statement does.
6296
93e616fd 62972011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6298
1f190e73 6299 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6300 only in interactive use, to avoid error.
6301
af7b6078
SM
63022011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * minibuffer.el (completion-file-name-table): Fix last change,
6305 i.e. ignore normal errors but not the other ones.
6306
0563dae9
MR
63072011-10-10 Martin Rudalics <rudalics@gmx.at>
6308
6309 * window.el (special-display-buffer-names)
6310 (special-display-regexps): Remove some remnants of earlier
6311 changes from doc-strings.
366ca7f3
MR
6312 (quit-windows-on): New function.
6313
6314 * vc/vc.el (vc-revert, vc-rollback):
6315 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6316 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6317 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6318
49677495
MR
63192011-10-09 Martin Rudalics <rudalics@gmx.at>
6320
6321 * window.el (frame-auto-hide-function): Add version tag.
6322 (Bug#9699)
6323
56f2d1e1
MA
63242011-10-09 Michael Albinus <michael.albinus@gmx.de>
6325
6326 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6327 condition.
6328
112a6592
LL
63292011-10-09 Leo Liu <sdl.web@gmail.com>
6330
6331 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6332 (Bug#9701)
6333
0812589b
GM
63342011-10-08 Glenn Morris <rgm@gnu.org>
6335
6336 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6337 before the first code statement zero indent. (Bug#9690)
6338
b2b0776e
CY
63392011-10-08 Chong Yidong <cyd@stupidchicken.com>
6340
6341 * simple.el (count-words-region): Always count in the region.
6342 Report the number of lines and characters too.
6343 (count-words): New command, which counts in the buffer if the
6344 region is inactive, as count-words-region used to.
6345 (count-words--message): New function. Handle plurals.
6346 (count-lines-region): Make it an alias for count-words-region.
6347
6348 * bindings.el (esc-map): Replace count-lines-region with
6349 count-words-region.
6350
c557cd6b
MR
63512011-10-08 Martin Rudalics <rudalics@gmx.at>
6352
6353 * window.el (window--delete): Delete dedicated frame
6354 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6355 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6356
61a57ef4 63572011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6358
3a7d293b 6359 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6360
c3833279
CY
63612011-10-07 Chong Yidong <cyd@stupidchicken.com>
6362
6363 * bindings.el ([M-left],[M-right]): Bind to left-word and
6364 right-word respectively.
6365
21ce8245
GM
63662011-10-07 Glenn Morris <rgm@gnu.org>
6367
6368 * cus-start.el (debug-on-quit): Fix custom type.
6369
6d823bb2
LMI
63702011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
0181e193
LMI
6372 * subr.el (define-key-after): Clarify that the function is not
6373 useful for non-menu keymaps.
6374
6d823bb2
LMI
6375 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6376
8e3459ce 63772011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6378
21ce8245 6379 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6380 in current minibuffer (Fix bug with recursive minibuffers).
6381
a1c2d21e
CY
63822011-10-06 Chong Yidong <cyd@stupidchicken.com>
6383
6384 * progmodes/gdb-mi.el (gdb): Doc fix.
6385
5a4cf282
MR
63862011-10-05 Martin Rudalics <rudalics@gmx.at>
6387
6388 * window.el (frame-auto-hide-function): New option replacing
6389 frame-auto-delete. Suggested by Stefan Monnier.
6390 (window--delete): Call frame-auto-hide-function instead of
6391 investigating frame-auto-delete.
c96111ea
MR
6392 (window-point-1, set-window-point-1): New functions.
6393 (window-in-direction, record-window-buffer, window-state-get-1)
6394 (display-buffer-record-window): Use window-point-1 instead of
6395 window-point.
6396 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6397
9854542e
SM
63982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6401
8943cfb0
GM
64022011-10-05 Glenn Morris <rgm@gnu.org>
6403
6404 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6405 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6406
647ab967
LL
64072011-10-05 Leo Liu <sdl.web@gmail.com>
6408
6409 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6410 works with buffer object.
6411
3ddfbced
SM
64122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * mpc.el (mpc-tool-bar-map): Add labels.
6415
bdfa5dd2
GM
64162011-10-04 Glenn Morris <rgm@gnu.org>
6417
6418 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6419
0e2070b5
MR
64202011-10-04 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (window--delete): New function.
6423 (frame-auto-delete): Resuscitate option.
6424 (bury-buffer, replace-buffer-in-windows)
6425 (quit-window): Rewrite using window--delete.
6426 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6427 Pass display-buffer-mark-dedicated to window--display-buffer-2
6428 (Bug#9639).
6429
3dc61a09
SM
64302011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6431
915a9b64
SM
6432 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6433 returns a list (bug#9554). Add remote file name completion.
6434 * comint.el (comint--table-subvert): Curry and get quote&unquote
6435 functions as arguments.
6436 (comint--complete-file-name-data): Adjust call accordingly.
6437 * pcomplete.el (pcomplete--table-subvert): Remove.
6438 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6439
3dc61a09
SM
6440 * minibuffer.el (completion-table-case-fold): Use currying.
6441 (completion--styles-type, completion--cycling-threshold-type):
6442 New constants.
6443 (completion-styles, completion-category-overrides)
6444 (completion-cycle-threshold): Use them.
6445 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6446 completion-table-case-fold.
6447
8ea0a993
SB
64482011-10-03 Stephen Berman <stephen.berman@gmx.net>
6449
6450 * minibuffer.el (completion-category-overrides): Fix type of styles
6451 and add more user friendly tags (bug#9660).
6452
8c24b7f6
SM
64532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6456 (mule-input-method-string): New widget.
6457 (default-input-method, language-info-custom-alist): Use it.
6458
428fe61a
SM
64592011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6460
32c1fffd
SM
6461 * pcomplete.el: Require comint.
6462 (pcomplete--common-suffix): Remove.
6463 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6464 (pcomplete--table-subvert): Sync with comint--table-subvert.
6465 (pcomplete--entries): Use comint-completion-file-name-table.
6466 * comint.el (comint-unquote-filename): Simplify.
6467 (comint-completion-file-name-table): New function (bug#9616).
6468 (comint--complete-file-name-data): Use it.
6469
428fe61a
SM
6470 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6471 (pcmpl-gnu-tar-buffer): Remove.
6472 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6473 around. Make sure pcomplete-suffix-list is only changed temporarily.
6474 Don't look inside the tar's file if it's too large.
428fe61a 6475
04c52e2f
CY
64762011-10-01 Chong Yidong <cyd@stupidchicken.com>
6477
ce3cefcc
CY
6478 * cus-edit.el (custom-mode-map):
6479 * epa.el (epa-key-list-mode-map):
6480 * man.el (Man-mode-map):
6481 * startup.el (splash-screen-keymap):
6482 * simple.el (special-mode-map): Use scroll-up-command and
6483 scroll-down-command.
6484
6485 * progmodes/idlw-help.el (idlwave-help-mode-map):
6486 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6487 * net/newst-plainview.el (newsticker-mode-map):
6488 * emulation/ws-mode.el (wordstar-mode-map):
6489 * emulation/vi.el (vi-com-map):
6490 * calc/calc-graph.el (calc-graph-show-dumb):
6491 * term/sun.el (terminal-init-sun):
6492 * term/ns-win.el (global-map):
6493 * progmodes/grep.el (grep-mode-map):
6494 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6495 * mail/rmail.el (rmail-mode-map):
6496 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6497
04c52e2f
CY
6498 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6499 custom-safe-themes as special.
6500
79adf8c8
JD
65012011-10-01 Julien Danjou <julien@danjou.info>
6502
6503 * notifications.el (notifications-notify): Fix docstring.
6504
63bd50d3
PS
65052011-10-01 Per Starbäck <per@starback.se>
6506
6507 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6508
199e4c7e
MR
65092011-09-30 Martin Rudalics <rudalics@gmx.at>
6510
6511 * startup.el (command-line-1): Fix last fix by inserting
6512 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6513 (Bug#9605) and (Bug#9636)
199e4c7e 6514
fe5f08dd
EZ
65152011-09-29 Eli Zaretskii <eliz@gnu.org>
6516
6517 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6518 window is hscrolled, move by logical lines. (Bug#9607)
6519 (line-move-visual): Update the doc string to the above effect.
6520
b5516bbd
MR
65212011-09-29 Martin Rudalics <rudalics@gmx.at>
6522
ccee00c0
MR
6523 * window.el (display-buffer-record-window): When WINDOW is the
6524 selected window use `point' instead of `window-point'. (Bug#9626)
6525
b5516bbd
MR
6526 * startup.el (command-line-1): Use insert-before-markers when
6527 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6528
b5516bbd
MR
6529 * help.el (help-window): Remove variable.
6530
52aa0014
GM
65312011-09-29 Glenn Morris <rgm@gnu.org>
6532
6533 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6534
df9a7357
JB
65352011-09-29 Juanma Barranquero <lekktu@gmail.com>
6536
6537 * descr-text.el (describe-char-categories): Accept category
6538 descriptions more than one line long.
6539
a8406c20
SM
65402011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6541
88d9610c
SM
6542 * simple.el (delete-trailing-whitespace): Fix last change.
6543
a5daf810
SM
6544 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6545 Don't confuse "y => 3" as the beginning of a `y' operation.
6546
a8406c20
SM
6547 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6548 object has more than 4 slots (bug#9613).
6549
a239d4e9
JB
65502011-09-28 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * subr.el (with-output-to-temp-buffer):
6553 * net/quickurl.el (quickurl, quickurl-browse-url):
6554 Fix typos in docstrings.
6555
693fbdb6
EZ
65562011-09-27 Eli Zaretskii <eliz@gnu.org>
6557
6558 * minibuffer.el (completion-styles)
6559 (completion-category-overrides): Cross reference each other in doc
6560 strings.
6561
8b457e28
GM
65622011-09-27 Glenn Morris <rgm@gnu.org>
6563
6564 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6565 to split-string. (Bug#9606)
6566
85a16208
LMI
65672011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6568
6569 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6570 (bug#9615).
6571
502f9ebd
CY
65722011-09-27 Chong Yidong <cyd@stupidchicken.com>
6573
6574 * emacs-lisp/package.el (list-packages): Fix echo area message.
6575
7690bdea
LL
65762011-09-27 Leo Liu <sdl.web@gmail.com>
6577
6578 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6579
e2ee6f30
MA
65802011-09-25 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * net/dbus.el (dbus-unregister-object): Don't release services for
6583 registered signals. (Bug#9581)
6584
f3f98342
TZ
65852011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6586
6587 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6588 function that picks between cfengine 2 and 3 support
6589 automatically. Update docs accordingly.
6590
dd7aa8dd
KH
65912011-09-22 Kenichi Handa <handa@m17n.org>
6592
6593 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6594 ZERO.
6595 (indian-itrans-v5-table-for-tamil): New variable.
6596 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6597
3f2b07f8
KM
65982011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6599
6600 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6601 that's true if the current command involved collapsing of text.
6602 It's reset to false at the beginning of the next command.
6603 (allout-post-command-business): Move the cursor to the beginning
6604 of entry if the cursor is hidden and collapsing activity just
6605 happened.
6606
371d6a61
CY
66072011-09-24 Chong Yidong <cyd@stupidchicken.com>
6608
6609 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6610 tracking (Bug#9541).
6611
2ac2721a
UJ
66122011-09-24 Ulf Jasper <ulf.jasper@web.de>
6613
6614 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6615 (newsticker-show-news): Automatically load html rendering package
6616 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6617 because w3m-fill-column is let-bound" and the error "Symbol's value
6618 as variable is void: w3m-fill-column".
2ac2721a 6619
fac7ae53
MA
66202011-09-24 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6623 Release services only if they are defined. (Bug#9581)
6624
e08b633b
RS
66252011-09-23 Richard Stallman <rms@gnu.org>
6626
e488d29c
RS
6627 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6628 distinguish start of paragraph from start of its text.
6629
19c38752
RS
6630 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6631
e08b633b
RS
6632 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6633 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6634 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6635
0a39f27e
AS
66362011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * international/mule-diag.el (mule-diag): Insert a newline after
6639 each fontset description.
6640
db4e950d
SM
66412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * simple.el (delete-trailing-whitespace):
6644 Document last change; simplify.
6645
eca3f3ea
PW
66462011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6647
d68e189a
PW
6648 * simple.el (delete-trailing-whitespace): Also delete
6649 extra newlines at the end of the buffer.
6650
eca3f3ea
PW
6651 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6652 (picture-newline): Use forward-line so as to ignore fields.
6653
01c157cc
SM
66542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * subr.el (with-wrapper-hook): Fix edebug spec.
6657
022de23e
LMI
66582011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6659
6660 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6661 (bug#4538).
6662
91683089
MA
66632011-09-23 Michael Albinus <michael.albinus@gmx.de>
6664
eca3f3ea
PW
6665 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6666 Fix nasty bug using wrong cached values.
91683089 6667
5bdd6fa4
AM
66682011-09-23 Alan Mackenzie <acm@muc.de>
6669
6670 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6671
97adfb97
CY
66722011-09-23 Chong Yidong <cyd@stupidchicken.com>
6673
6674 * window.el (pop-to-buffer): Ensure right window is selected if we
6675 chose another frame.
6676
d4ef2b50
EZ
66772011-09-22 Eli Zaretskii <eliz@gnu.org>
6678
6679 * simple.el (what-cursor-position): Use get-char-property-change
6680 and next-single-char-property-change, to be able to show display
6681 properties that come from overlays as well as text properties.
6682
72258fe5
CY
66832011-09-22 Chong Yidong <cyd@stupidchicken.com>
6684
6685 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6686
6687 * cmuscheme.el (run-scheme, switch-to-scheme):
6688 * cus-edit.el (customize-group, custom-buffer-create)
6689 (customize-browse):
6690 * info.el (info):
6691 * shell.el (shell):
6692 * mail/sendmail.el (mail):
6693 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6694
8f098516
RS
66952011-09-22 Richard Stallman <rms@gnu.org>
6696
6697 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6698 move back only to line beg, don't move back over blank lines.
6699
e74f1bb6
MA
67002011-09-22 Michael Albinus <michael.albinus@gmx.de>
6701
6702 * files.el (copy-directory): Set directory attributes only in case
6703 they could be retrieved from the source directory. (Bug#9565)
6704
bfeef8b6
DK
67052011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6706
6707 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6708 (hs-find-block-beginning, hs-hide-level-recursive):
6709 Ignore strings as well as comments. (Bug#9502)
6710
7e423bb8
AS
67112011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6712
6713 * progmodes/sql.el (sql-comint-postgres):
6714 Convert port number to a string. (Bug#9566)
6715
b4d72fcf
MR
67162011-09-22 Martin Rudalics <rudalics@gmx.at>
6717
6718 * window.el (quit-window): Undedicate window when switching to
6719 previous buffer. Reported by Thierry Volpiatto
6720 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6721 (special-display-popup-frame): When popping up a new frame reset
6722 its previous buffers to nil. Simplify code.
b4d72fcf 6723
a7b88dc6
MA
67242011-09-21 Michael Albinus <michael.albinus@gmx.de>
6725
6726 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6727 and process filter, as done also in `shell-command'.
6728
cf4eacfd
MR
67292011-09-21 Martin Rudalics <rudalics@gmx.at>
6730
eca3f3ea 6731 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6732 Call set-window-start with NOFORCE argument t.
6733 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6734 (quit-window): Reword doc-string. Handle new format of
6735 quit-restore parameter. Don't delete window if it has a
6736 previous buffer we can show instead of the present one.
6737 (display-buffer-record-window): Rewrite using a new format for
6738 the quit-restore window parameter
6739 (special-display-popup-frame, display-buffer-same-window)
6740 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6741 (display-buffer-pop-up-window, display-buffer-use-some-window):
6742 Adapt symbol passed to display-buffer-record-window.
6743 * help.el (help-window-setup): Handle new format of quit-restore
6744 parameter.
6745
8d28cb95
SM
67462011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6747
94ab793f
SM
6748 * faces.el (face-list): Fix docstring (bug#9564).
6749
8d28cb95
SM
6750 * window.el (display-buffer--action-function-custom-type):
6751 Don't include internal functions in the Custom interface.
6752
3820edeb
JL
67532011-09-20 Juri Linkov <juri@jurta.org>
6754
6755 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6756 (Info-forward-node, Info-backward-node, Info-next-preorder)
6757 (Info-last-preorder): Use it. (Bug#9528)
6758
5147931d
JL
67592011-09-20 Juri Linkov <juri@jurta.org>
6760
6761 * info.el (Info-last-preorder): Visit last menu item only when
6762 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6763
cf499a1a
JD
67642011-09-20 Julien Danjou <julien@danjou.info>
6765
6766 * password-cache.el (password-cache-remove): Remove entries even if the
6767 value is nil, so that password with a nil value (negative caching) is
6768 possible to invalidate.
6769
f84e2fe2
LM
67702011-09-20 Lawrence Mitchell <wence@gmx.li>
6771
6772 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6773 all whitespace around breakpoint. (Bug#9553)
6774 (f90-find-breakpoint): Only break at whitespace inside a comment.
6775
78054a46
SM
67762011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * minibuffer.el (completion-file-name-table): Keep track of errors.
6779 (completion-table-with-predicate): Handle the case where pred1 is nil.
6780 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6781
345083b2
SM
67822011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6783
e24e27be
SM
6784 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6785 (debugger-return-value): Signal an error if the debugging context does
6786 not await any return value.
6787
345083b2
SM
6788 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6789 * image-mode.el (image-toggle-display-text)
6790 (image-toggle-display-image): Stay away from evil `intangible'.
6791
08d355e3
LL
67922011-09-19 Leo Liu <sdl.web@gmail.com>
6793
6794 * replace.el (occur-revert-arguments): Make it permanent-local.
6795 (occur-mode): Don't call font-lock-defontify.
6796
f01da43f
CY
67972011-09-19 Chong Yidong <cyd@stupidchicken.com>
6798
6799 * net/ldap.el (ldap-search-internal): Don't push empty search
6800 result (Bug#9508).
6801
b6072fa6
SM
68022011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6805
443d6696
MA
68062011-09-19 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6809 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6810
7cc6e154
JL
68112011-09-18 Juri Linkov <juri@jurta.org>
6812
6813 * buff-menu.el (Buffer-menu-mode-map):
6814 * dired.el (dired-mode-map):
6815 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6816 (lisp-interaction-mode-map):
6817 * emacs-lisp/package.el (package-menu-mode-map):
6818 * epa.el (epa-key-list-mode-map):
6819 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6820 (menu-bar-options-menu):
6821 * outline.el (outline-mode-menu-bar-map):
6822 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6823 * vc/vc-dir.el (vc-dir-menu-map):
6824 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6825 Capitalize non-function content words in menu item strings.
6826
6827 * dired.el (dired-mode-map): Add menu item for
6828 `image-dired-dired-toggle-marked-thumbs'.
6829
80302a81
JL
68302011-09-18 Juri Linkov <juri@jurta.org>
6831
6832 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6833 to `isearch-case-fold-search' and restore its original value
6834 after the `isearch-mode' call.
6835
46c5cf66
JL
68362011-09-18 Juri Linkov <juri@jurta.org>
6837
6838 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6839 because `zgrep' returns 1 for successful matches (bug#9226).
6840
d18b513b
JL
68412011-09-18 Juri Linkov <juri@jurta.org>
6842
6843 * info.el (Info-extract-menu-node-name): Check the second match
6844 for empty string (second test-case of bug#9528).
6845 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6846 intermediate nodes to the history (first test-case of bug#9528).
6847
72753f87
JL
68482011-09-18 Juri Linkov <juri@jurta.org>
6849
6850 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6851 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6852
c9384295
JL
68532011-09-18 Juri Linkov <juri@jurta.org>
6854
1154d12e
JB
6855 * info.el (Info-file-supports-index-cookies):
6856 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6857 outputs one more line for long file names (bug#4142).
c9384295 6858
d473dce8
CY
68592011-09-18 Chong Yidong <cyd@stupidchicken.com>
6860
6861 * newcomment.el (comment-normalize-vars): If prompting for
6862 comment-start, set comment-start-skip too (Bug#8424).
6863
2176854d
JB
68642011-09-18 Johan Bockgård <bojohan@gnu.org>
6865
6866 * icomplete.el: Fix previous fix of Bug#5849.
6867 (icomplete-mode): Don't set completion-show-inline-help.
6868 (icomplete-minibuffer-setup): Set completion-show-inline-help
6869 locally during icompletion.
6870
3aace4e4
CY
68712011-09-18 Chong Yidong <cyd@stupidchicken.com>
6872
c940224f
CY
6873 * woman.el (woman2-process-escapes): Don't delete unrecognized
6874 escapes (Bug#7843).
6875
3aace4e4
CY
6876 * files.el (inhibit-first-line-modes-regexps): Add image files.
6877 (hack-local-variables-prop-line): Return nil for malformed
6878 prop-lines (Bug#9044).
6879
710dec63
MA
68802011-09-18 Michael Albinus <michael.albinus@gmx.de>
6881
6882 * net/tramp.el (top): Don't require 'shell.
6883 (tramp-methods): Fix docstring.
6884 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6885 Return complete remote file name. Handle "smb" case.
6886 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6887 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6888
6889 * net/tramp-compat.el (top): Require 'shell.
6890
6891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6892 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6893 `tramp-current-host'.
6894 (tramp-get-remote-tmpdir): Remove.
6895
6896 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6897 `tramp-tmpdir' entries.
6898 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6899 (tramp-smb-handle-file-attributes): Ignore errors.
6900 (tramp-smb-wait-for-output): Check also for process end.
6901
5d5ac8ec
LMI
69022011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
6904 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6905 when sending QUIT (bug#9312).
6906
8c0f49f0
CY
69072011-09-17 Chong Yidong <cyd@stupidchicken.com>
6908
6909 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6910 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6911 occur-mode-display-occurrence.
6912 (occur-edit-mode): Add usage message.
6913 (occur-cease-edit): New command.
6914 (occur-after-change-function): Use text properties to find the
6915 position of the prefix text.
6916 (occur-engine): Set stickiness of prefix text properties.
6917
8f1383f7
GM
69182011-09-17 Glenn Morris <rgm@gnu.org>
6919
6920 * progmodes/etags.el (complete-tag):
6921 Fix call to completion-in-region. (Bug#9526)
6922
744ba0e3
JL
69232011-09-17 Juri Linkov <juri@jurta.org>
6924
6925 * textmodes/ispell.el (ispell-word): Add to the error message
6926 the word, ispell program name and current dictionary (bug#9121).
6927 (ispell-tex-arg-end): Capitalize "error" in the error message.
6928
d9bbf400
AS
69292011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6930
6931 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6932 check. (Bug#4251)
6933
8da11505
JL
69342011-09-17 Juri Linkov <juri@jurta.org>
6935
6936 * window.el (window-safe-min-height, window-safe-min-width):
6937 Fix typos (followup to bug#9522).
6938
a91adc7e
SJ
69392011-09-17 Sven Joachim <svenjoac@gmx.de>
6940
6941 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6942
064f328a
EZ
69432011-09-16 Eli Zaretskii <eliz@gnu.org>
6944
6945 * simple.el (line-move): If goal-column is set, move by logical
6946 lines, not by display lines. (Bug#971)
6947 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6948 to reflect the above change.
6949
e69df516
SM
69502011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * image.el (imagemagick-register-types): Use regexp-opt.
6953
cbb0f9ab
CY
69542011-09-15 Chong Yidong <cyd@stupidchicken.com>
6955
6956 * window.el (display-buffer-base-action): Rename from
6957 display-buffer-default-action. Make default value empty.
6958 (display-buffer-overriding-action): Convert to defvar.
6959 (display-buffer-fallback-action): New var.
6960
25322144
CY
69612011-09-15 Chong Yidong <cyd@stupidchicken.com>
6962
6963 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6964 declaration.
6965 (package--add-to-archive-contents): If there is a duplicate entry
6966 with an older version, remove it.
6967 (package-menu-mark-delete, package-menu-mark-install)
6968 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6969 (package-menu-mark-obsolete-for-deletion):
6970 Use package-menu-get-status instead of a regexp search.
25322144
CY
6971 (package-menu-get-status): Use tabulated-list-entry.
6972 (package-menu-mark-upgrades): New command.
d770725a 6973 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6974 (package-menu-execute): Do installation before deletion.
6975 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6976 instead of checking major-mode.
6977 (package-menu--find-upgrades): New function.
6978
7520339c
LMI
69792011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6980
6981 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6982 passwords in the log buffer.
65a046c4
LMI
6983 (smtpmail-process-filter): Update the process marker so that the
6984 "broken by peer" status message is inserted in the right place.
7520339c 6985
d3c30954
SM
69862011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6987
3fe48822
SM
6988 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6989 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6990 bibtex-completion-at-point-function.
6991 (bibtex-completion-at-point-function): Use them.
6992
1b8b3954
SM
6993 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6994
d3c30954
SM
6995 * mpc.el (mpc-constraints-tag-lookup): New function.
6996 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6997 also to browser "album|playlist".
6998
72779976
JL
69992011-09-14 Juri Linkov <juri@jurta.org>
7000
7001 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7002 (isearch-edit-string): Use length of `isearch-string' when
7003 `isearch-fail-pos' returns nil.
7004 (isearch-message): Remove duplicate code and call
7005 `isearch-fail-pos' with arg `t'.
7006
a0bf2bcd
CY
70072011-09-14 Chong Yidong <cyd@stupidchicken.com>
7008
17bb0a2d
CY
7009 * replace.el (occur-mode-goto-occurrence): Don't force using other
7010 window (Bug#9499).
7011
a0bf2bcd
CY
7012 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7013
f678e0b6
MR
70142011-09-14 Martin Rudalics <rudalics@gmx.at>
7015
7016 * window.el (display-buffer-window): Remove.
7017 (display-buffer-record-window): Use help-setup window parameter
7018 instead of variable display-buffer-window.
7019 (display-buffer-function, special-display-buffer-names)
7020 (special-display-function): Mention help-setup parameter instead
7021 of display-buffer-window in doc-string.
d3c30954
SM
7022 * help.el (help-window-setup): New argument help-window.
7023 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7024 Reword some messages.
7025 (with-help-window): Pass window used for displaying the buffer
7026 to help-window-setup. Don't set display-buffer-window.
7027
8e39b2e8
GM
70282011-09-13 Glenn Morris <rgm@gnu.org>
7029
7030 * emacs-lisp/debug.el (debugger-make-xrefs):
7031 Preserve point. (Bug#9462)
7032
85e9c04b
CY
70332011-09-13 Chong Yidong <cyd@stupidchicken.com>
7034
7035 * window.el (window-deletable-p): Use next-frame.
7036
1b36ed6a
MR
70372011-09-13 Martin Rudalics <rudalics@gmx.at>
7038
7039 * window.el (window-auto-delete): Remove.
7040 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7041 dedication and previous buffers.
1b36ed6a
MR
7042 (switch-to-prev-buffer): Don't delete window.
7043 (delete-windows-on): Delete a window's frame if and only if the
7044 window is dedicated.
7045 (replace-buffer-in-windows): Delete buffer's window or frame if
7046 and only if window is dedicated.
7047 (quit-window): Handle quit-restore as before last change.
4d61f28d 7048 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7049
ef8ef9fb
CY
70502011-09-13 Chong Yidong <cyd@stupidchicken.com>
7051
7052 * window.el (window-deletable-p): Never delete the last frame on a
7053 given terminal.
7054
b2cba41e
GM
70552011-09-13 Glenn Morris <rgm@gnu.org>
7056
7057 * help.el (describe-key-briefly): Copy previous standard-output change.
7058
51553db6 70592011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7060
7061 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7062
b7556719
GM
70632011-09-13 Glenn Morris <rgm@gnu.org>
7064
7065 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7066 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7067
64b51947
CY
70682011-09-12 Chong Yidong <cyd@stupidchicken.com>
7069
7070 * dired-aux.el (dired-mark-read-string): Don't return default
7071 value on empty input (Bug#9361).
7072 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7073 Omit initial minibuffer contents.
7074 (dired-do-chmod): Signal an error on empty input.
7075 (dired-mark-read-string): Don't return default on empty input.
7076
7077 * files.el (file-modes-symbolic-to-number): Doc fix.
7078
393a301e
SM
70792011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * international/mule-cmds.el (ucs-completions): Remove.
7082 (read-char-by-name): Use complete-with-action instead; add metadata.
7083
fa5660f9
CY
70842011-09-11 Chong Yidong <cyd@stupidchicken.com>
7085
7086 * window.el (display-buffer--action-function-custom-type)
7087 (display-buffer--action-custom-type): New vars.
7088 (display-buffer-alist, display-buffer-default-action)
7089 (display-buffer-overriding-action): Add defcustom types.
7090
4a592f66
CY
7091 * frame.el (delete-other-frames): Doc fix (Bug#276).
7092
73d56dbd
LMI
70932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7096
37ac18a3
CY
70972011-09-11 Chong Yidong <cyd@stupidchicken.com>
7098
7099 Change modes that used same-window-* vars to use switch-to-buffer.
7100
7101 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7102 Use switch-to-buffer.
7103
7104 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7105 (customize-browse, custom-buffer-create-other-window):
7106 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7107
7108 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7109 (Info-prev, Info-up, Info-speedbar-goto-node)
7110 (info-display-manual): Use switch-to-buffer.
7111 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7112
7113 * mail/sendmail.el (mail): Use switch-to-buffer.
7114 (mail-recover): Use switch-to-buffer-other-window.
7115
7116 * cmuscheme.el (run-scheme, switch-to-scheme):
7117 * ielm.el (ielm):
7118 * shell.el (shell):
7119 * net/rlogin.el (rlogin):
7120 * net/telnet.el (telnet, rsh):
7121 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7122
10195bd6
AS
71232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7124
7125 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7126
b322f63a
LMI
71272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7128
39d7fed6
LMI
7129 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7130 so don't mention it (bug#9301).
ba5a81f1 7131 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7132
ee0e9f11
LMI
7133 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7134 match `x', `w32' and `ns', like the manual says (bug#9029).
7135
0b1c89c1 7136 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7137 (process-kill-buffer-query-function): Mention the buffer name in
7138 the query.
0b1c89c1 7139
77549ea8
LMI
7140 * image-mode.el (image-next-line): The line parameter is mandatory
7141 (bug#9258).
7142
803ef892
LMI
7143 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7144 which can be useful (bug#9301).
7145
12980837
LMI
7146 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7147
91054f8f
LMI
7148 * subr.el (match-string): Mention that the current buffer should
7149 be the same as the search was done in (bug#9282).
7150
b322f63a
LMI
7151 * facemenu.el: Disable the remove-* commands if the mark isn't
7152 active (bug#9162).
7153
3199b96f
CY
71542011-09-10 Chong Yidong <cyd@stupidchicken.com>
7155
7156 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7157 of display-buffer.
7158 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7159
7160 * replace.el (occur-mode-goto-occurrence)
7161 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7162 and display-buffer.
7163
7164 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7165 display-buffer.
7166
7167 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7168 special-display and same-window variables.
7169 (mail-other-window): Use switch-to-buffer-other-window.
7170 (mail-other-frame): USe switch-to-buffer-other-frame.
7171
393a301e
SM
7172 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7173 Use display-buffer-other-frame.
3199b96f
CY
7174 (gdb-display-gdb-buffer): Use pop-to-buffer.
7175
7176 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7177
7178 * progmodes/python.el: Don't set same-window-buffer-names.
7179
7180 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7181
7182 * window.el (display-buffer-alist): Add *Python*.
7183
8319e0bf
CY
71842011-09-10 Chong Yidong <cyd@stupidchicken.com>
7185
7186 * window.el (display-buffer-alist): Add entry for buffers
7187 previously handled same-window-*.
7188 (display-buffer-alist, display-buffer-default-action)
7189 (display-buffer-overriding-action): Mark as risky.
7190 (display-buffer-alist): Document action function changes.
7191 (display-buffer--same-window-action)
7192 (display-buffer--other-frame-action): New variables.
7193 (switch-to-buffer, display-buffer-other-frame): Use them.
7194 (display-buffer): Rename reuse-frame entry to reusable-frames.
7195 (display-buffer-reuse-selected-window): Function deleted.
7196 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7197 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7198 (display-buffer-special): New function.
7199 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7200 display-buffer-reuse-or-pop-window. Split off special-display
7201 part into display-buffer-special.
7202 (display-buffer-use-some-window): Don't perform any special
7203 pop-up-frames handling.
7204 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7205 (display-buffer--maybe-same-window): Rename from
0d3ff375 7206 display-buffer-maybe-same-window.
8319e0bf 7207
919a69aa
CY
7208 * info.el: Don't set same-window-regexps.
7209 (info-setup): New function.
7210 (info-other-window, info): Call it.
7211
7212 * cus-edit.el: Don't set same-window-regexps.
7213 (customize-group): New argument.
7214 (customize-group-other-window): Use it.
7215 (customize-face, customize-face-other-window): Likewise.
7216 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7217
8319e0bf
CY
7218 * net/rlogin.el:
7219 * net/telnet.el:
7220 * progmodes/gud.el: Don't set same-window-regexps.
7221
7222 * cmuscheme.el:
7223 * ielm.el:
7224 * shell.el:
7225 * mail/sendmail.el:
7226 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7227
25173000
JL
72282011-09-10 Juri Linkov <juri@jurta.org>
7229
7230 * isearch.el (isearch-edit-string): Remove obsolete mention of
7231 `C-w' (`isearch-yank-word-or-char') from docstring.
7232 (isearch-query-replace): Fix typo in docstring (bug#9466).
7233
056e44ef
JL
72342011-09-10 Juri Linkov <juri@jurta.org>
7235
7236 * paren.el (show-paren-function): Don't show escaped parens.
7237 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7238
c3760c17
EZ
72392011-09-10 Eli Zaretskii <eliz@gnu.org>
7240
7241 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7242 (mm-default-file-encoding): Remove autoload forms, they are
7243 replaced with autoload cookies in mml.el and mm-encode.el.
7244 (mail-add-attachment): New command.
7245 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7246 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7247 the doc string.
7248 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7249
fece895e
RT
72502011-09-10 Reuben Thomas <rrt@sc3d.org>
7251
e69df516
SM
7252 * simple.el (count-words-region): Use buffer if there's no region
7253 (bug#9429).
fece895e 7254
5e68ce4a
JL
72552011-09-09 Juri Linkov <juri@jurta.org>
7256
7257 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7258 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7259 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7260
0a6b9622
AM
72612011-09-09 Alan Mackenzie <acm@muc.de>
7262
7263 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7264 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7265
14a29deb
EZ
72662011-09-09 Eli Zaretskii <eliz@gnu.org>
7267
7268 Fix for Savannah bug#9392.
7269 * simple.el (mail-encode-mml): New defvar.
7270
7271 * mail/rmail.el (mail-encode-mml): Add a defvar.
7272 (rmail-enable-mime-composing): Default to t.
7273 (rmail-forward): Use MIME method of forwarding only if both
7274 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7275 Set mail-encode-mml non-nil if the MIME method was used.
7276
7277 * mail/sendmail.el (mml-to-mime): Add autoload form.
7278 (mail-encode-mml): Add a defvar.
7279 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7280 to nil.
7281 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7282 message through mml-to-mime, and reset mail-encode-mml to nil.
7283
28c45130
GM
72842011-09-09 Glenn Morris <rgm@gnu.org>
7285
7286 * woman.el (woman-if-body): When processing an .el block,
7287 do not delete the next .el block as well. (Bug#9447)
69f4b618 7288 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7289
9b1c252e
MR
72902011-09-08 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (window-deletable-p): Make sure window is live before
7293 invoking window-prev-buffers.
7294
567457e3
LL
72952011-09-08 Leo Liu <sdl.web@gmail.com>
7296
7297 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7298
97f05794
JL
72992011-09-08 Juri Linkov <juri@jurta.org>
7300
7301 * progmodes/compile.el (compilation-environment): Make it
7302 a defcustom (bug#8340).
7303
8b0874b5
MR
73042011-09-08 Martin Rudalics <rudalics@gmx.at>
7305
7306 * window.el (frame-auto-delete): Rename to window-auto-delete.
7307 Make it control auto-deletion of windows and/or frames.
7308 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7309 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7310 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7311 Rewrite handling of case when window/frame can be deleted.
7312 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7313 argument t. (Bug#9456)
8b0874b5 7314
4feb6e73
CY
73152011-09-07 Chong Yidong <cyd@stupidchicken.com>
7316
7317 * help-mode.el (help-mode): Restore autoload.
7318
91ab9c13
JL
73192011-09-07 Juri Linkov <juri@jurta.org>
7320
7321 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7322 `compilation-environment'. Set buffer-local
7323 `compilation-environment' to `thisenv' later after (funcall mode).
7324 (Bug#8340)
7325
7326 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7327 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7328 instead of replacing its value. (Bug#8340)
7329
0527e251
JL
73302011-09-07 Juri Linkov <juri@jurta.org>
7331
7332 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7333 based on text properties put by `grep-filter' instead of matching
7334 escape sequences.
7335 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7336 to the value of `grep-error-screen-columns' (bug#9438).
7337
249f792c
JL
73382011-09-07 Juri Linkov <juri@jurta.org>
7339
7340 * simple.el (next-error-highlight, next-error-highlight-no-select):
7341 Doc fix (bug#9432).
7342
ff7271b9
OT
73432011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7344
7345 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7346 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7347
183fc730
LL
73482011-09-07 Leo Liu <sdl.web@gmail.com>
7349
7350 * net/rcirc.el (rcirc-mode): Conditionally initialize
7351 rcirc-input-ring.
7352
77694924
SM
73532011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/find-func.el (find-function-C-source): Only set
7356 find-function-C-source-directory after checking that we found a source
7357 file there (bug#9440).
7358
d809b8eb
AM
73592011-09-06 Alan Mackenzie <acm@muc.de>
7360
7361 * isearch.el (isearch-other-meta-char): Wherever a key list is
7362 unread, "unread" the prefix arg, too. This fixes bug #8901.
7363
453de99f
OG
73642011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7365
7366 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7367
90439906
JL
73682011-09-05 Juri Linkov <juri@jurta.org>
7369
7370 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7371
f62bd846
JL
73722011-09-05 Juri Linkov <juri@jurta.org>
7373
7374 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7375 keeping point where processing of grep matches begins, and
7376 continue to delete remaining escape sequences from the same point.
7377 (grep-filter): Make leading zero optional in "0?1;31m" because
7378 git-grep emits "\033[1;31m" escape sequences unlike expected
7379 "\033[01;31m" as GNU Grep does (bug#9408).
7380 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7381
045820ec
JL
73822011-09-05 Juri Linkov <juri@jurta.org>
7383
7384 * subr.el (y-or-n-p): Capitalize "yes".
7385
f5e29b9b
MA
73862011-09-04 Michael Albinus <michael.albinus@gmx.de>
7387
7388 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7389 `tramp-cache-unload-hook' where appropriate.
7390 (tramp-methods): Rename `tramp-remote-sh' to
7391 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7392 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7393
7394 * net/tramp-sh.el (top): Don't require 'shell.
7395 (tramp-methods): Add `tramp-remote-shell' and
7396 `tramp-remote-shell-args' entries.
7397 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7398 (tramp-sh-handle-shell-command): Remove.
7399 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7400 Use `tramp-remote-shell'.
7401
2784c434
CY
74022011-09-03 Chong Yidong <cyd@stupidchicken.com>
7403
393a301e 7404 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7405 (sendmail-query-once): Save directly to send-mail-function.
7406 Update message-send-mail-function too.
7407
7408 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7409
464cdf56
CS
74102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7411
7412 * progmodes/python.el (python-mode-map): Use correct function to
7413 start python interpreter from menu-bar (as reported by Geert
7414 Kloosterman).
7415 (inferior-python-mode-map): Fix typo.
393a301e 7416 (python-shell-map): Remove.
464cdf56 7417
d37e5c87
DD
74182011-09-03 Deniz Dogan <deniz@dogan.se>
7419
7420 * net/rcirc.el (rcirc-print): Simplify code for
7421 rcirc-scroll-show-maximum-output. There is no need to walk
7422 through all windows to find the right one.
7423
f3ada0ee
CS
74242011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7425
7426 * help.el (help-return-method): Doc fix.
7427
1f3c99ca
MR
74282011-09-03 Martin Rudalics <rudalics@gmx.at>
7429
7430 * window.el (window-deletable-p): Don't return a non-nil value
7431 when there's a buffer that was shown in the window before.
7432 (Bug#9419)
393a301e
SM
7433 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7434 Set window's previous buffers to nil.
1f3c99ca 7435
a3cf097f
EZ
74362011-09-03 Eli Zaretskii <eliz@gnu.org>
7437
7438 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7439 newline before and after the tag line, so it doesn't interfere
7440 with determining the paragraph direction of bidirectional text.
7441
3d03de90
LL
74422011-09-03 Leo Liu <sdl.web@gmail.com>
7443
7444 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7445
c3313451
CY
74462011-09-02 Chong Yidong <cyd@stupidchicken.com>
7447
393a301e 7448 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7449 (pop-to-buffer): Change interactive spec. Pass second argument
7450 directly to display-buffer.
7451 (display-buffer): Fix interactive spec. Use functionp to
7452 distinguish between a function and a list of functions.
7453
7454 * abbrev.el (edit-abbrevs):
7455 * arc-mode.el (archive-extract):
7456 * autoinsert.el (auto-insert):
7457 * bookmark.el (bookmark-bmenu-list):
7458 * files.el (find-file):
7459 * view.el (view-buffer):
7460 * progmodes/compile.el (compilation-goto-locus):
7461 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7462
89894cd8
CY
74632011-09-02 Chong Yidong <cyd@stupidchicken.com>
7464
7465 * window.el (display-buffer-alist): Doc fix.
7466 (display-buffer): Add docstring. Don't treat
7467 display-buffer-default specially.
7468 (display-buffer-reuse-selected-window)
7469 (display-buffer-same-window, display-buffer-maybe-same-window)
7470 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7471 (display-buffer-pop-up-window)
7472 (display-buffer-reuse-or-pop-window)
7473 (display-buffer-use-some-window): New functions.
7474 (display-buffer-default-action): Use them.
393a301e 7475 (display-buffer-default): Delete.
89894cd8
CY
7476 (pop-to-buffer-1): Fix choice of actions.
7477
ae0bc9fb
SM
74782011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * minibuffer.el (completion--insert-strings): Don't get confused by
7481 completion entries that end with an LF char.
7482
e9d90883
EZ
74832011-09-01 Eli Zaretskii <eliz@gnu.org>
7484
7485 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7486
437014c8
CY
74872011-09-01 Chong Yidong <cyd@stupidchicken.com>
7488
7489 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7490 (display-buffer-same-window, display-buffer-other-window):
7491 New functions.
437014c8
CY
7492 (pop-to-buffer-1): New function. Use the above.
7493 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7494 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7495
7496 * view.el (view-buffer-other-window, view-buffer-other-frame):
7497 Just use pop-to-buffer.
7498
a5e063d5
TV
74992011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7500
7501 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7502
793d32bb
WH
75032011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7504
7505 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7506
d65e4c15
RS
75072011-08-31 Richard Stallman <rms@gnu.org>
7508
7509 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7510 of the separation of rmail-view-buffer from rmail-buffer.
7511 If you say no to "replace original", the decrypt is in the
7512 view buffer. If you say yes, the decrypt goes into the
7513 rmail buffer also.
7514
f818cd2a
MR
75152011-08-31 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (display-buffer-window): Rewrite doc-string.
7518 (display-buffer-record-window): New function.
7519 (display-buffer-macro-specifiers)
7520 (display-buffer-even-window-sizes, display-buffer-set-height)
7521 (display-buffer-set-width, display-buffer-in-window)
7522 (display-buffer-reuse-window, display-buffer-split-specifiers)
7523 (display-buffer-side-specifiers, display-buffer-split-window-1)
7524 (display-buffer-split-window, display-buffer-split-atom-window)
7525 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7526 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7527 (display-buffer-other-window-means-other-frame)
7528 (display-buffer-normalize-special)
7529 (display-buffer-normalize-default)
7530 (display-buffer-normalize-argument)
7531 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7532 (display-buffer-normalize-specifiers, display-buffer-frame)
7533 (display-buffer-same-window, display-buffer-same-frame)
7534 (display-buffer-other-window)
7535 (display-buffer-same-frame-other-window)
7536 (display-buffer-other-frame, pop-to-buffer-same-window)
7537 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7538 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7539 (switch-to-buffer-same-frame)
7540 (switch-to-buffer-other-window-same-frame)
7541 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7542 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7543 (display-buffer-alist-set): Remove.
7544 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7545 (special-display-regexps, special-display-function):
7546 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7547 parameter.
7548 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7549 (special-display-frame-alist, special-display-popup-frame)
7550 (same-window-buffer-names, same-window-regexps, same-window-p)
7551 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7552 (split-window-preferred-function, split-height-threshold)
7553 (split-width-threshold, window-splittable-p)
7554 (split-window-sensibly, window--try-to-split-window)
7555 (window--frame-usable-p, even-window-heights)
7556 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7557 (window--display-buffer-2, display-buffer-other-frame):
7558 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7559 (display-buffer-default, display-buffer-assq-regexp): New functions.
7560 (display-buffer-alist): Rewrite doc-string.
7561 (display-buffer-default-action)
7562 (display-buffer-overriding-action): New variables.
7563 (display-buffer, switch-to-buffer): Rewrite.
7564 (pop-to-buffer): Restore Emacs 23 behavior but use
7565 window-normalize-buffer-to-display.
7566 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7567 Restore Emacs 23 behavior but use
7568 window-normalize-buffer-to-switch-to.
7569 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7570 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7571 Rewrite using Emacs 23 options.
f818cd2a 7572
5bc3b51d
MA
75732011-08-31 Michael Albinus <michael.albinus@gmx.de>
7574
7575 * net/tramp.el (tramp-root-regexp): Remove.
7576 (tramp-completion-file-name-regexp-unified)
7577 (tramp-completion-file-name-regexp-separate)
7578 (tramp-completion-file-name-regexp-url): Don't use leading volume
7579 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7580 (tramp-drop-volume-letter): Simplify definition.
7581 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7582
b1a4f8e1
SM
75832011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7586 (bug#9356).
7587
5664fa7b
RT
75882011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7589
b1a4f8e1 7590 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7591
9a45d6c3
JL
75922011-08-29 Juri Linkov <juri@jurta.org>
7593
7594 * isearch.el (isearch-done): Don't display message "Mark saved"
7595 when arg `edit' is non-nil to prevent its flicker in the echo area.
7596
fb87e0fb
CY
75972011-08-28 Chong Yidong <cyd@stupidchicken.com>
7598
7599 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7600 obsolete packages for deletion.
7601
09ac1c2a
CS
76022011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7603
7604 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7605 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7606 view-mode from help-mode.
7607 (help-xref-override-view-map): Remove.
7608 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7609 view-mode is not used anymore.
7610
7a1ff57f
CY
76112011-08-28 Chong Yidong <cyd@stupidchicken.com>
7612
7613 * server.el (server-port): Doc fix.
7614
b9696605
CY
7615 * cus-theme.el (custom-theme-choose-mode): Inherit from
7616 special-mode (Bug#9124).
7617 (custom-theme-choose-mode-map): Add special-mode to parent.
7618
ef8cdf8c
AM
76192011-08-28 Alan Mackenzie <acm@muc.de>
7620
7621 * progmodes/cc-fonts.el
7622 (c-make-font-lock-BO-decl-search-function): New function.
7623 (c-basic-matchers-after - "Fontify the clauses after various
7624 keywords"): Extract the three keyword lists for the 3 erroneous
7625 constructs from the list of four, and use the new function above
7626 in place of an old one.
7627
27de4e20
DD
76282011-08-28 Deniz Dogan <deniz@dogan.se>
7629
7630 * net/rcirc.el (rcirc-insert-prev-input)
7631 (rcirc-insert-next-input): Remove unused argument.
7632
356a3681
SM
76332011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7636
3fc9b218
AM
76372011-08-27 Alan Mackenzie <acm@muc.de>
7638
7639 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7640 handle function pointer parameters properly.
7641
538a061c
MR
76422011-08-27 Martin Rudalics <rudalics@gmx.at>
7643
7644 * window.el (display-buffer-reuse-window): Fix case where
7645 selected window was reused with non-nil OTHER-WINDOW argument.
7646 (Bug#9381)
7647
35b1c40c
DD
76482011-08-27 Deniz Dogan <deniz@dogan.se>
7649
7650 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7651 oftc's NickServ messages.
7652
2f6a3e79
GM
76532011-08-27 Glenn Morris <rgm@gnu.org>
7654
7655 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7656
7254299e
CY
76572011-08-26 Chong Yidong <cyd@stupidchicken.com>
7658
7659 * emacs-lisp/package.el (package-install): Call package-initialize
7660 if called interactively.
7661
f8ccf167
LL
76622011-08-26 Leo Liu <sdl.web@gmail.com>
7663
7664 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7665
3e8cd5ce
JL
76662011-08-25 Juri Linkov <juri@jurta.org>
7667
7668 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7669 `search-whitespace-regexp' (bug#9364).
7670
93eb7113
JL
76712011-08-25 Juri Linkov <juri@jurta.org>
7672
7673 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7674 `regexp-search-ring' to their global values to protect from
7675 updating by `read-from-minibuffer' (bug#9185).
7676
f65d1611
JL
76772011-08-25 Juri Linkov <juri@jurta.org>
7678
7679 * textmodes/ispell.el (ispell-command-loop): Add newline
7680 at the end of the "Use option `i'..." line.
7681
f1cf7a31
JL
76822011-08-25 Juri Linkov <juri@jurta.org>
7683
7684 * battery.el (display-battery-mode): If `battery-status-function'
7685 or `battery-mode-line-format' is nil, display the message and set
7686 `display-battery-mode' to nil (bug#9363).
7687
0c95fcf7
EZ
76882011-08-25 Eli Zaretskii <eliz@gnu.org>
7689
7690 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7691 bidi-string-mark-left-to-right; they are unnecessary now.
7692
a2ebe600
DD
76932011-08-25 Deniz Dogan <deniz@dogan.se>
7694
7695 * net/quickurl.el: Documentation typo fixes.
7696
e4ed06f1
CY
76972011-08-25 Chong Yidong <cyd@stupidchicken.com>
7698
7699 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7700
e5f1c99e
GM
77012011-08-25 Glenn Morris <rgm@gnu.org>
7702
b2948976
GM
7703 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7704
e5f1c99e
GM
7705 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7706 (smtpmail-via-smtp): Handle nil response from smtp.
7707
f22f4808
JL
77082011-08-24 Juri Linkov <juri@jurta.org>
7709
7710 * proced.el (proced-marked): Inherit from `error' instead of
7711 `font-lock-warning-face'.
7712
7713 * ibuffer.el (ibuffer-marked-face): Change default face from
7714 `font-lock-warning-face' to `warning'.
7715 (ibuffer-deletion-face): Change default face from
7716 `font-lock-type-face' to `error'.
7717
7718 * battery.el (battery-update): Use the face `error' instead of
7719 `font-lock-warning-face' (bug#6117).
7720
6a93965e
JL
77212011-08-24 Juri Linkov <juri@jurta.org>
7722
7723 * faces.el (success): Change face color from "Green3" to
7724 "ForestGreen" on light background (bug#9353).
7725
1ed43b09
CY
77262011-08-24 Chong Yidong <cyd@stupidchicken.com>
7727
5664fa7b
RT
7728 * window.el (quit-window): Rename from quit-restore-window.
7729 Use same arglist as old quit-window.
1ed43b09
CY
7730 (frame-auto-delete): Doc fix.
7731
7732 * view.el (view-mode-exit): Use quit-window.
7733
11dcdbb2
JL
77342011-08-24 Juri Linkov <juri@jurta.org>
7735
7736 * isearch.el (isearch-ring-adjust1): Start visiting previous
7737 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7738 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7739 for empty search string (when the last search string is reused
7740 automatically) to adjust the isearch ring to the last element and
7741 prepare the correct index for further M-p commands (bug#9185).
7742
de62b4df
KH
77432011-08-24 Kenichi Handa <handa@m17n.org>
7744
7745 * international/ucs-normalize.el: If decomposition property of
7746 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7747 nil.
7748 (nfd, nfkd): Likewise.
7749
963b492b
SM
77502011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7753 from process filters aren't reliably transmitted to the surrounding
7754 accept-process-output.
7755 (mpc-proc-check): New function.
7756 (mpc-proc-sync): Use it (bug#8293)
7757
93b6b5e1
SM
77582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7761 Add compatibility functions (bug#9313).
7762
bca633fb
EZ
77632011-08-23 Eli Zaretskii <eliz@gnu.org>
7764
b177498a
EZ
7765 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7766
6df6ae42 7767 * international/uni-bidi.el: Regenerate.
bca633fb 7768
0902a04e
KH
77692011-08-23 Kenichi Handa <handa@m17n.org>
7770
7771 * international/charprop.el:
7772 * international/uni-bidi.el:
7773 * international/uni-category.el:
7774 * international/uni-combining.el:
7775 * international/uni-comment.el:
7776 * international/uni-decimal.el:
7777 * international/uni-decomposition.el:
7778 * international/uni-digit.el:
7779 * international/uni-lowercase.el:
7780 * international/uni-mirrored.el:
7781 * international/uni-name.el:
7782 * international/uni-numeric.el:
7783 * international/uni-old-name.el:
7784 * international/uni-titlecase.el:
7785 * international/uni-uppercase.el: Regenerate.
7786
3bbf23bc
MR
77872011-08-23 Martin Rudalics <rudalics@gmx.at>
7788
7789 * help.el (help-window-setup): Fix message displayed when other
7790 window is reused. (Bug#9341)
7791
b3fd59bd
SM
77922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7793
1802e444
SM
7794 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7795 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7796
b3fd59bd
SM
7797 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7798 Mark obsolete.
7799 * shell.el (shell-parse-pcomplete-arguments): New function.
7800 (shell-completion-vars): Use it instead (bug#9160).
7801
4eb61348
SM
78022011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7803
867cab74
SM
7804 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7805 strings and comments (bug#9333).
7806
4eb61348
SM
7807 * emacs-lisp/debug.el (debug-arglist): New function.
7808 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7809 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7810
262a1439
JL
78112011-08-22 Juri Linkov <juri@jurta.org>
7812
56ee679c
JL
7813 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7814 Revert regexp that highlights output switches to its old
7815 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7816
262a1439
JL
7817 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7818 to check for empty output (bug#9226).
7819
f13f86fb
CY
78202011-08-22 Chong Yidong <cyd@stupidchicken.com>
7821
7822 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7823 symbol-constituent as the default, as that stops font-lock from
7824 working properly (Bug#8843).
7825
c65c9622
LMI
78262011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
7828 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7829 `coding-system-for-*' around the process open call to avoid
7830 auth-source side effects.
e7f2c178 7831 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7832 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7833 probe hangs.
c65c9622 7834
23a8a5ab
CY
78352011-08-21 Chong Yidong <cyd@stupidchicken.com>
7836
ff98b2dd
CY
7837 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7838
23a8a5ab
CY
7839 * emacs-lisp/find-func.el (find-function-noselect): New arg
7840 lisp-only.
7841
7842 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7843 signal an error for built-in functions (Bug#6664).
7844
f5e3c598
LMI
78452011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7846
7847 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7848 (smtpmail-try-auth-methods): Use it.
7849
a3f2468a
CY
78502011-08-21 Chong Yidong <cyd@stupidchicken.com>
7851
2c34e8da
CY
7852 * font-lock.el (font-lock-fontify-region)
7853 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7854 (font-lock-default-unfontify-buffer)
7855 (font-lock-default-fontify-region)
7856 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7857
b3fd59bd
SM
7858 * progmodes/compile.el (compilation-error-properties):
7859 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7860 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7861 `ant' regexp.
ee31aabc 7862
a3f2468a
CY
7863 * net/browse-url.el (browse-url-firefox): Don't call
7864 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7865
8e999f70
GM
78662011-08-20 Glenn Morris <rgm@gnu.org>
7867
c21a496a
GM
7868 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7869
59ee0542
GM
7870 * tutorial.el (tutorial--default-keys): Update some default bindings.
7871
8e999f70
GM
7872 * files.el (hack-local-variables): Fully ignore case for "mode:".
7873
e3715033
AM
78742011-08-20 Alan Mackenzie <acm@muc.de>
7875
7876 Resolve invalid use of a regexp in regexp-opt.
7877
4d61f28d
JB
7878 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7879 detection for a java annotation.
e3715033 7880
4d61f28d 7881 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7882 detection for a java annotation.
7883
4d61f28d
JB
7884 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7885 handling for java.
e3715033
AM
7886 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7887
04ed2e9c
CY
78882011-08-20 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7891 (Bug#9274).
7892
826cee64
AM
78932011-08-20 Alan Mackenzie <acm@muc.de>
7894
58179cce 7895 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7896 such a construct. Mainly for when jit-lock etc. starts a chunk
7897 here.
7898
58179cce 7899 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7900 variable.
58179cce 7901 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7902 c-make-font-lock-search-function.
7903 (c-make-font-lock-search-function): Use the above function.
7904 (c-make-font-lock-context-search-function): New function.
7905 (c-cpp-matchers): Enhance the preprocessor expression case with
7906 the above function
7907 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7908 which takes an expression.
7909
7910 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7911
13009bd8
MR
79122011-08-20 Martin Rudalics <rudalics@gmx.at>
7913
7914 * window.el (display-buffer-reuse-window)
7915 (display-buffer-pop-up-window): Don't reuse or split a side
7916 window.
7917
9234ff7f
GM
79182011-08-19 Glenn Morris <rgm@gnu.org>
7919
7920 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7921 Downcase "Mode:". (Bug#9331)
9234ff7f 7922
f635daa1
CY
79232011-08-18 Chong Yidong <cyd@stupidchicken.com>
7924
7925 * international/characters.el: Add L and R categories.
7926
7927 * subr.el (bidi-string-mark-left-to-right): Rename from
7928 string-mark-left-to-right. Use category search.
7929
7930 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7931
bc987f8b
JL
79322011-08-18 Juri Linkov <juri@jurta.org>
7933
7934 * faces.el (error, warning, success): New faces with definitions
7935 copied from old default values of `font-lock-warning-face',
7936 `compilation-warning', `compilation-info' (bug#6117).
7937
7938 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7939
7940 * progmodes/compile.el (compilation-error): Inherit from `error'.
7941 (compilation-warning): Inherit from `warning'.
7942 (compilation-info): Inherit from `success'.
7943
7944 * dired.el (dired-marked): Inherit from `warning'.
7945 (dired-flagged): Inherit from `error'.
7946
57173b96
LMI
79472011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7948
3e79eb87
LMI
7949 * mail/smtpmail.el (auth-source): Require to avoid problems with
7950 binding variables (bug#9298). Also clean up some unused
7951 autoloads.
7952
b3fd59bd
SM
7953 * net/network-stream.el (network-stream-open-starttls):
7954 Support using starttls.el without using gnutls-cli.
57173b96 7955
02b404de
JL
79562011-08-17 Juri Linkov <juri@jurta.org>
7957
7958 * progmodes/grep.el (rgrep): Handle the case when
7959 `grep-find-command' is a cons cell (bug#9278).
7960
8c9177f2
MR
79612011-08-17 Martin Rudalics <rudalics@gmx.at>
7962
7963 * window.el (display-buffer-pop-up-frame): Run frame creation
7964 function with BUFFER current (as special-display-popup-frame
7965 does). Reported by Drew Adams.
7966
3644a0ab
DU
79672011-08-17 Daiki Ueno <ueno@unixuser.org>
7968
7969 * epa-mail.el: Simplify GnuPG group expansion using
7970 epg-expand-group.
7971 (epa-mail-group-alist, epa-mail-group-modtime)
7972 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7973 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7974 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7975 Remove.
7976
5e617bc2 79772011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7978
7979 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7980
9c4aeabf
AM
79812011-08-16 Alan Mackenzie <acm@muc.de>
7982
7983 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7984 Correct, to avoid the inside of macros.
7985
3a99bf64
RS
79862011-08-16 Richard Stallman <rms@gnu.org>
7987
04963aa8
RS
7988 * epa-mail.el: Handle GnuPG group definitions.
7989 (epa-mail-group-alist, epa-mail-group-modtime)
7990 (epa-mail-gnupg-conf-file): New variables.
7991 (epa-mail-parse-groups, epa-mail-sync-groups)
7992 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7993 (epa-mail-expand-recipients): New functions.
7994 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7995
177549d0
RS
7996 * mail/rmail.el (rmail-epa-decrypt): New command.
7997
fe38beef
RS
7998 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7999 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8000 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8001 (epa-decrypt-armor-in-region): Make error message clearer.
8002
934eacb9
SM
80032011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8006 and "a2b" to "ab" for `prefix'.
8007
d024fb4e
CY
80082011-08-14 Chong Yidong <cyd@stupidchicken.com>
8009
8010 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8011 filter groups.
de148fee
CY
8012 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8013 Fourquet (Bug#8804).
d024fb4e 8014
62f1ca49
JB
80152011-08-12 Juanma Barranquero <lekktu@gmail.com>
8016
8017 * startup.el (argi): Declare as global variable (bug#9275).
8018
9ccaaa4b
CY
80192011-08-12 Chong Yidong <cyd@stupidchicken.com>
8020
8021 * subr.el (string-mark-left-to-right): Search the entire string
8022 for RTL script, not just the terminating character. Doc fix.
8023
a3dae87a
SM
80242011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8025
6cd18349
SM
8026 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8027 New function.
8028 (js--regexp-literal, js-syntax-propertize-function): Remove.
8029 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8030 (js-mode-map): Don't rebind electric keys.
8031 (js-insert-and-indent): Remove.
8032 (js-mode): Setup electric-layout and electric-indent instead.
8033
a3dae87a
SM
8034 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8035
9d5cb631
DU
80362011-08-12 Daiki Ueno <ueno@unixuser.org>
8037
8038 * epa.el (epa-progress-callback-function): Fix the logic of
8039 displaying progress.
8040 * epa-file.el (epa-file-insert-file-contents): Make progress
8041 display more user-friendly.
8042 (epa-file-write-region): Ditto.
8043
3e26a4a2
CY
80442011-08-10 Chong Yidong <cyd@stupidchicken.com>
8045
8046 * subr.el (string-mark-left-to-right): New function.
8047
8048 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8049 Use string-mark-left-to-right.
8050 (list-buffers-noselect): Caller changed.
8051
a3dae87a
SM
8052 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8053 Use string-mark-left-to-right.
3e26a4a2
CY
8054 (tabulated-list-print): Recenter after moving point.
8055
ac8cf6e6
JL
80562011-08-10 Juri Linkov <juri@jurta.org>
8057
8058 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8059 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8060 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8061
8d96c9a4
CY
80622011-08-09 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8065 (Bug#7554).
8066
7be1c708 80672011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8068
8069 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8070 character. (Bug#6594)
8071
37e11a63
CY
80722011-08-08 Chong Yidong <cyd@stupidchicken.com>
8073
839dde57
CY
8074 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8075 (image-dired--with-db-file): New macro.
8076 (image-dired-write-tags, image-dired-remove-tag)
8077 (image-dired-create-gallery-lists, image-dired-write-comments)
8078 (image-dired-get-comment, image-dired-mark-tagged-files)
8079 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8080 (image-dired-gallery-generate): Use insert-file-contents.
8081
37e11a63
CY
8082 * time.el (display-time-world-list, display-time-world-display):
8083 * time-stamp.el (time-stamp-string):
8084 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8085 set-time-zone-rule (Bug#7337).
8086
0b4946c4
DU
80872011-08-08 Daiki Ueno <ueno@unixuser.org>
8088
8089 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8090 (epg-error-to-string, epg-errors-to-string): New function.
8091 (epg-wait-for-completion): Reverse errors list.
8092 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8093 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8094 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8095 (epg-sign-keys, epg-generate-key-from-file)
8096 (epg-generate-key-from-string): Format errors by using
8097 epg-errors-to-string (bug#9255).
8098 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8099
75bfc667
JL
81002011-08-07 Juri Linkov <juri@jurta.org>
8101
8102 * faces.el (list-faces-display): Remove extra angle bracket
8103 from `help-mode-map'.
8104
8105 * info.el (Info-history-toc-nodes): Doc fix.
8106
8107 * longlines.el (longlines-mode): Doc fix.
8108
673e08bb
SM
81092011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8110
4640dd88
SM
8111 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8112 of statements and in a few more cases (bug#9183).
8113
673e08bb
SM
8114 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8115 New functions.
8116 (cl-transform-lambda): Use them (bug#9239).
8117
89b3f019
MR
81182011-08-05 Martin Rudalics <rudalics@gmx.at>
8119
8120 * window.el (display-buffer-same-window)
8121 (display-buffer-same-frame, display-buffer-other-window)
8122 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8123 (pop-to-buffer-other-window)
8124 (pop-to-buffer-same-frame-other-window)
8125 (pop-to-buffer-other-frame): Make them defuns.
8126 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8127
640c8776
SM
81282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * subr.el (make-composed-keymap): Move from C. Change calling
8131 convention, and improve docstring to bring attention to a subtle point.
8132 * minibuffer.el (completing-read-default): Adjust accordingly.
8133
63648a95
MA
81342011-08-03 Michael Albinus <michael.albinus@gmx.de>
8135
8136 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8137 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8138
8139 * net/trampver.el: Update release number.
8140
b796c9b7
SM
81412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8144 "in" (bug#9190).
8145
2239d7d5
LMI
81462011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147
e07dd7c3
LMI
8148 * mail/sendmail.el (sendmail-query-once): Restore the current
8149 buffer after querying (bug#9074).
8150
0e6a2bd7
LMI
8151 * dired.el (dired-flagged): Use different faces for marked and
8152 flagged files (bug#6117).
8153
ce887515
LMI
8154 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8155 (bug#4433).
8156
92f2affc
LMI
8157 * ido.el (ido-mode): Switch off the message if called
8158 non-interactively.
8159
57d5aff0
LMI
8160 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8161 before 587, since it appears that that's more likely to work for
8162 more people.
8163
98cd6c18 8164 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8165 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8166 exist.
8167
b96dec83
LMI
8168 * info.el: Remove the `Info-beginning-of-buffer' function
8169 (bug#8325).
8170
b796c9b7
SM
8171 * net/network-stream.el (network-stream-open-starttls):
8172 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8173
d90e2ea0
MR
81742011-08-01 Martin Rudalics <rudalics@gmx.at>
8175
8176 * window.el (display-buffer-in-window): Don't set dedicated status
8177 of window here (Bug#9215).
8178 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8179 (display-buffer-pop-up-side-window)
b796c9b7 8180 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8181
cca09170
SM
81822011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8185 before binding generated-autoload-file.
8186
027b979c
DD
81872011-08-01 Deniz Dogan <deniz@dogan.se>
8188
8189 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8190
3c7ee4f3
MA
81912011-07-30 Michael Albinus <michael.albinus@gmx.de>
8192
8193 Sync with Tramp 2.2.2.
8194
8195 * net/trampver.el: Update release number.
8196
2cc8e51a
JL
81972011-07-30 Juri Linkov <juri@jurta.org>
8198
8199 * dired-aux.el (dired-touch-initial): Remove function.
8200 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8201 current time, and `default' to the last modification time of the
8202 current marked file (bug#6887).
8203
a514d856
JM
82042011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8205
8206 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8207 numeric argument to read-number (bug#9163).
a514d856 8208
8a7eddd7
MA
82092011-07-27 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8212 connection process, it could be nil.
8213
1ddd96f5
LL
82142011-07-27 Leo Liu <sdl.web@gmail.com>
8215
8216 Simplify url handling in rcirc-mode.
8217
8218 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8219 (rcirc-browse-url-at-mouse): Remove.
8220 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8221
b248a85d
AM
82222011-07-26 Alan Mackenzie <acm@muc.de>
8223
8224 Fontify bitfield declarations properly.
8225
8226 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8227 (c-symbol-chars): Now exported as a lang variable.
8228 (c-not-primitive-type-keywords): New lang variable.
8229
8230 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8231 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8232 parsed as a bitfield declaration.
b248a85d 8233
b796c9b7
SM
8234 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8235 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8236 (c-punctuation-in): New function.
8237 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8238 declarations properly.
8239
68575ab0
UJ
82402011-07-26 Ulf Jasper <ulf.jasper@web.de>
8241
8242 * calendar/icalendar.el (icalendar--all-events): Take care of
8243 multiple vcalendars in a single file.
b796c9b7 8244 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8245
0f0a88b9
DD
82462011-07-25 Deniz Dogan <deniz@dogan.se>
8247
8248 * image.el (insert-image): Clarifying docstring.
8249
0b3f36df
MA
82502011-07-24 Michael Albinus <michael.albinus@gmx.de>
8251
8252 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8253 `tramp-send-command-and-check' if there is no error.
8254 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8255
a9901f61
AM
82562011-07-22 Alan Mackenzie <acm@muc.de>
8257
8258 Prevent cc-langs.elc being loaded at run time.
8259
8260 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8261 cc-langs.
8262
4d61f28d 8263 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8264 "(require 'cc-langs)". Quote a form so it will evaluate at
8265 (cc-mode's) compilation time.
8266
11d074b2
MA
82672011-07-22 Michael Albinus <michael.albinus@gmx.de>
8268
8269 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8270 loading. (Bug#9114)
8271
938b94c8
MR
82722011-07-21 Martin Rudalics <rudalics@gmx.at>
8273
8274 * window.el (display-buffer-pop-up-window)
8275 (display-buffer-pop-up-side-window)
8276 (display-buffer-in-side-window): Call display-buffer-set-height
8277 and display-buffer-set-width after setting the new window's
b796c9b7 8278 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8279
bfa4f190
SS
82802011-07-20 Sam Steingold <sds@gnu.org>
8281
8282 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8283 (etags-tags-included-tables): Call `convert-standard-filename' on
8284 the file names contained in TAGS so that windows Emacs can handle
8285 TAGS files created by cygwin ctags.
8286
8ca42262
LMI
82872011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8288
8289 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8290 which apparently didn't work.
8291
5db2afd2 82922011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8293
5db2afd2
RW
8294 * proced.el (proced-send-signal): For *Marked Processes* buffer
8295 put point at beginning of buffer.
8296
92e15d10
SB
82972011-07-19 Stephen Berman <stephen.berman@gmx.net>
8298
8299 * proced.el (proced-format): Make header lines align with the text
8300 (bug#1779).
8301
1bfd59e5
LMI
83022011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
8304 * view.el (view-buffer): Allow running in `special' modes if we're
8305 visiting a file (bug#8615).
8306
f5aae37c
MR
83072011-07-19 Martin Rudalics <rudalics@gmx.at>
8308
8309 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8310 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8311 New functions.
f5aae37c
MR
8312 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8313 more accurately.
8314
bf2c1571
AM
83152011-07-18 Alan Mackenzie <acm@muc.de>
8316
8317 Fontify declarators properly when, e.g., a jit-lock chunk begins
8318 inside a declaration.
8319
8320 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8321
b796c9b7
SM
8322 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8323 New function.
bf2c1571
AM
8324 (c-complex-decl-matchers): Insert reference to
8325 c-font-lock-enclosing-decls.
8326
8327 * progmodes/cc-engine.el (c-backward-single-comment):
8328 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8329 to nil around calls to (forward-comment -1).
8330
4e190b80
LMI
83312011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8332
12dc863d
LMI
8333 * image.el (put-image): Doc typo fix.
8334
a762e966
LMI
8335 * progmodes/etags.el (tags-search): Doc typo fix.
8336
4e190b80
LMI
8337 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8338 password if we get errors 550 to 554.
8339
f019fb21
LMI
83402011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8341
b796c9b7 8342 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8343
81746738
LMI
8344 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8345 indentation character (bug#6380).
8346
3ee3a1b5
LMI
8347 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8348
c82f64de
LMI
8349 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8350 to clarify what the problem is (bug#4291).
8351
f019fb21
LMI
8352 * simple.el (current-kill): Clarify what
8353 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8354 (auto-fill-mode): Document `auto-fill-function' in relation to
8355 `auto-fill-mode' (bug#2470).
f019fb21 8356
0794775d
LM
83572011-07-16 Lawrence Mitchell <wence@gmx.li>
8358
8359 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8360 method if slot is read-only (bug#9035).
8361
be39b8cc
MR
83622011-07-16 Martin Rudalics <rudalics@gmx.at>
8363
b796c9b7 8364 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8365 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8366 selected before, see discussion of (Bug#8615), (Bug#6954).
8367 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8368
6ccf7859
GM
83692011-07-15 Glenn Morris <rgm@gnu.org>
8370
8371 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8372 Respect help-form.
6ccf7859 8373
87e86684
LM
83742011-07-09 Lawrence Mitchell <wence@gmx.li>
8375
8376 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8377 (gnutls-negotiate): Use it.
8378
d6066239
LMI
83792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8380
b796c9b7
SM
8381 * net/gnutls.el (gnutls-negotiate):
8382 Upcase `gnutls-algorithm-priority'.
d6066239 8383
bd23ebc0
GM
83842011-07-15 Glenn Morris <rgm@gnu.org>
8385
c65bca65
GM
8386 * jka-compr.el (jka-compr-verbose): Move from here...
8387 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8388 Add missing :version tag.
8389 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8390
478615cc
LMI
83912011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8392
7b41decb
LMI
8393 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8394 (gnutls-negotiate): Use it.
8395
dbc44fcd
LMI
8396 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8397
06789f97
LMI
8398 * info.el (Info-beginning-of-buffer): New command.
8399 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8400 announcing `b' as the key (bug#8325).
ab896c37 8401 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8402
c39da690
LMI
8403 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8404
3aa5f34b
LMI
8405 * international/mule-cmds.el
8406 (describe-specified-language-support): Make the error message
8407 clearer (bug#8905).
8408
4bf0979f
LMI
8409 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8410
478615cc
LMI
8411 * isearch.el (isearch-barrier): Add a doc string, since it's
8412 mentioned in a function doc string (bug#8678).
8413
75c68aa1
MR
84142011-07-15 Martin Rudalics <rudalics@gmx.at>
8415
8416 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8417 buffer argument (Bug#9083) and self-identifying label argument.
8418
a7c33da2
GM
84192011-07-15 Glenn Morris <rgm@gnu.org>
8420
8421 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8422
2f5c6024
LMI
84232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * man.el (Man-fontify-manpage): Fix message when formatting the
8426 man page (bug#7929).
8427
0bb23927 84282011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8429
8430 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8431 argument LRM; if non-nil, append an invisible LRM character to the
8432 buffer name.
8433 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8434 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8435 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8436 paragraph direction.
cce4b0a7 8437
621ef9ab
LMI
84382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
d1583c48
LMI
8440 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8441 the man page name (bug#7929).
8442
6a57fb5f
LMI
8443 * image.el (put-image): Mention the `put-image' overlay property
8444 (bug#7834).
8445
d7956b14
LMI
8446 * scroll-bar.el (set-scroll-bar-mode): Mention that
8447 `scroll-bar-mode' lists the values (bug#7772).
8448
5b2d4a66
LMI
8449 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8450 command (bug#7729).
8451
7509a874
LMI
8452 * rect.el (apply-on-rectangle): Return the point after the last
8453 operation.
8454 (string-rectangle): Go to the point after the last operation
8455 (bug#7522).
8456
4fe74b19
LMI
8457 * printing.el (pr-toggle-region): Clarify the documentation
8458 slightly (bug#7493).
8459
b796c9b7
SM
8460 * time.el (display-time-update):
8461 Allow `display-time-mail-function' to return nil (bug#7158).
8462 Fix suggested by Detlev Zundel.
ab283561 8463
fc233c9d
LMI
8464 * vc/diff.el (diff): Clarify the order the file names are read
8465 (bug#7111).
8466
43f5740b
LMI
8467 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8468 the doc string (bug#7015).
8469
f2182a76
LMI
8470 * font-lock.el (font-lock-maximum-decoration): Mention what
8471 numeric levels mean (bug#6935).
8472
621ef9ab
LMI
8473 * startup.el (initial-buffer-choice): Don't mention the `none'
8474 selection, which is against policy.
8475
adc47434
MR
84762011-07-14 Martin Rudalics <rudalics@gmx.at>
8477
b796c9b7
SM
8478 * window.el (display-buffer-normalize-special):
8479 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8480
7e5bfb8f
EZ
84812011-07-14 Eli Zaretskii <eliz@gnu.org>
8482
8483 * subr.el (version<, version<=, version=): Mention "-CVS" and
8484 "-12345" alpha version numbers.
8485
27fa387a
CY
84862011-07-14 Chong Yidong <cyd@stupidchicken.com>
8487
8488 * bindings.el: Add advertised binding for set-mark-command
8489 (Bug#5772).
8490
8bdfa064
CY
84912011-07-14 Chong Yidong <cyd@stupidchicken.com>
8492
8493 * bindings.el (mode-line-other-buffer):
8494 * bookmark.el (bookmark-bmenu-2-window):
8495 * bs.el (bs-cycle-next, bs-cycle-previous):
8496 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8497 switch-to-buffer.
8498
8499 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8500 Delete.
8bdfa064 8501
5eba16a3
JB
85022011-07-14 Juanma Barranquero <lekktu@gmail.com>
8503
8504 * follow.el (follow-debug-message, follow-redisplay):
8505 * jka-cmpr-hook.el (with-auto-compression-mode):
8506 Fix typos in docstrings.
8507
15853710
LMI
85082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8509
a28e4607
LMI
8510 * subr.el (with-silent-modifications): Clarify somewhat what the
8511 macro inhibits (bug#6525).
8512
15853710
LMI
8513 * simple.el (eval-expression): Note what it does if called
8514 interactively (bug#6495).
8515
bee0fcef
CY
85162011-07-13 Chong Yidong <cyd@stupidchicken.com>
8517
b796c9b7
SM
8518 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8519 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8520
8521 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8522 Remove switch-to-buffer.
8523
58274504
LMI
85242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8525
bd2fcc8d
LMI
8526 * files.el (make-directory): Clarify that an error will be raised
8527 if there's an error (bug#6397).
8528
0f04b32c
LMI
8529 * startup.el (initial-buffer-choice): Add `none' as a choice
8530 (bug#6234).
8531
465c5fc8
LMI
8532 * subr.el (add-hook): Clarify section about buffer-local hooks
8533 (bug#6218).
8534
58274504
LMI
8535 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8536
bead9a43
JB
85372011-07-13 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * tabify.el (untabify): Preserve the current column so that point
8540 doesn't move (bug#6032).
8541
3af98a7b
LMI
85422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543
b796c9b7
SM
8544 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8545 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8546
6240145a
GM
85472011-07-13 Glenn Morris <rgm@gnu.org>
8548
8549 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8550 (dired-insert-directory): Give a message the first time
8551 if ls is found not to support --dired.
8552
1d8c2ccc
LMI
85532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8554
8555 * simple.el (toggle-truncate-lines): Clarify what is toggled
8556 (bug#5580). Text by Drew Adams.
8557
5fc4038e
CY
85582011-07-13 Chong Yidong <cyd@stupidchicken.com>
8559
8560 * simple.el (blink-matching-open): Make the error message from the
8561 last change less verbose.
8562
bf6012e5
DN
85632011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8564
8565 * font-lock.el (font-lock-comment-face): Use the high contrast
8566 "yellow" color for font-lock-comment-face on low color terminals
8567 using a dark background color (bug#4221).
8568
343c3b5a
LMI
85692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8570
7e9505c5
LMI
8571 * dired.el (dired-insert-set-properties): Make the doc string
8572 reflect what it does now (bug#5325).
8573
c26fdcf5
LMI
8574 * simple.el (blink-matching-open): Say that we were unable to find
8575 the match within the limit, if we're limited (bug#5122).
8576
bb388cc5
LMI
8577 * international/mule-cmds.el (prefer-coding-system): Add an
8578 example (bug#4869).
8579
343c3b5a
LMI
8580 * progmodes/etags.el (tags-search): Document `file-list-form'
8581 (bug#4731).
8582
2a517d45
LM
85832011-07-13 Lawrence Mitchell <wence@gmx.li>
8584
8585 * net/browse-url.el (browse-url-default-browser)
8586 (browse-url-browser-function): Make the default browser choice a
8587 bit more logical (bug#4300). Also clean up the doc string.
8588
b6c78ef2
JB
85892011-07-13 Juanma Barranquero <lekktu@gmail.com>
8590
8591 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8592 binary endings (bug#4440).
8593
1c4dd947
LMI
85942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
a2014063
LMI
8596 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8597 which can be pretty annoying (bug#8971).
8598
9c9c2d88
LMI
8599 * jka-compr.el (jka-compr-verbose): New variable, and use
8600 throughout (bug#8971).
8601
1c4dd947
LMI
8602 * info.el (Info-find-file): Fall back on the installation
8603 directory if we can't find the info node anywhere else.
8604
a1c9f41b
SO
86052011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8606
8607 * vc/vc.el (vc-revert-file):
8608 Don't set file time-stamp in the past. (Bug#5181)
8609
536f3d36
LMI
86102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
7152b011
LMI
8612 * files.el (after-find-file): Give a better error message when
8613 trying to find a symlink that points to a file that doesn't exist
8614 (bug#4398).
8615
536f3d36
LMI
8616 * progmodes/cc-vars.el: Remove (probably) misleading comment
8617 (bug#4396).
8618
460c0fba
JB
86192011-07-12 Johan Bockgård <bojohan@gnu.org>
8620
8621 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8622
7a6bda45
CY
86232011-07-12 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * mouse-sel.el: Hack restoring functionality, while keeping
8626 compatibility with 2010-07-03 changes to mouse selection.
8627 (mouse-sel-primary-overlay): New var.
8628 (mouse-sel-selection-alist): Use it.
8629 (mouse-sel-mode): Doc fix; remove points that are default features
8630 of mouse.el.
8631
c79598ef
JB
86322011-07-12 Johan Bockgård <bojohan@gnu.org>
8633
8634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8635 Fix previous fix (bug#2490).
8636
ff8be6ef
RW
86372011-07-12 Roland Winkler <winkler@gnu.org>
8638
b796c9b7
SM
8639 * textmodes/bibtex.el (bibtex-initialize):
8640 Use pop-to-buffer-same-window.
ff8be6ef
RW
8641 (bibtex-search-entries): Fix interactive call.
8642
296ba3ee
LMI
86432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
f5242a02 8645 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8646 Fontise bytecomp Error lines more correctly (bug#2490).
8647 Fix suggested by Johan Bockgård.
f5242a02 8648
296ba3ee
LMI
8649 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8650
8651 * dired-x.el (dired-guess-default): Use `delete-dups'.
8652
f69fd0d2
CY
86532011-07-12 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * dired.el (dired-mark-prompt):
8656 * dired-aux.el (dired-read-shell-command): Doc fix.
8657
eab5dc07
LMI
86582011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8659
b796c9b7
SM
8660 * mail/sendmail.el (sendmail-query-once):
8661 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8662 emacs -Q.
8663
8664 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8665
eab5dc07
LMI
8666 * cus-edit.el (custom-file): Take an optional no-error variable.
8667 (customize-save-variable): Set the variable, and give a warning if
8668 running under "emacs -q".
8669
a1e65d42
JB
86702011-07-11 Juanma Barranquero <lekktu@gmail.com>
8671
8672 * loadhist.el (unload-feature-special-hooks):
8673 Add `auto-coding-functions', `fill-nobreak-predicate' and
8674 `find-directory-functions' (bug#5327).
8675
1d52da10
LMI
86762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8677
be958f1d
LMI
8678 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8679
5bedb26c
LMI
8680 * cus-edit.el (custom-guess-name-alist): -alist variables should
8681 use the `alist' type (bug#3120). Suggested by Drew Adams.
8682
1d52da10
LMI
8683 * printing.el: Add documentation to all the `pr-toggle-' commands.
8684
cd394be1 86852011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8686
8687 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8688 backends where it makes sense (bug#2623).
8689
dcc88d8a
LMI
86902011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8691
c3de9feb
LMI
8692 * dired-x.el (dired-guess-default): Remove duplicate shell command
8693 entries (bug#2028).
8a93078b 8694 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8695 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8696
dcc88d8a
LMI
8697 * subr.el (remove-duplicates): New conveniency function.
8698
505e3645
LMI
86992011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8702 (bug#1526).
8703
87042011-07-10 Martin Rudalics <rudalics@gmx.at>
8705
8706 * window.el (display-buffer-normalize-default): Don't invert
8707 meaning of even-window-heights. Reported by Eli Zaretskii
8708 <eliz@gnu.org>.
8709
455e4fa1
BR
87102011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8711
8712 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8713
8e0bc3e9
CY
87142011-07-10 Chong Yidong <cyd@stupidchicken.com>
8715
8716 * window.el (display-buffer): Fix arguments to
8717 display-buffer-reuse-window in last change.
8718
fa7c3228
CY
8719 * faces.el (link): Use a less saturated blue on light backgrounds.
8720
8721 * startup.el (fancy-startup-text, fancy-about-text)
8722 (fancy-startup-tail): Use font-lock faces, for background safety.
8723
c0a7f300
BN
87242011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8725
b796c9b7
SM
8726 * emulation/viper-cmd.el (viper-change-state-to-vi):
8727 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8728
4dc2a129
MR
87292011-07-09 Martin Rudalics <rudalics@gmx.at>
8730
8731 * window.el (display-buffer-default-specifiers): Remove.
8732 (display-buffer-macro-specifiers): Remove default specifiers.
8733 (display-buffer-alist): Default to nil.
b796c9b7 8734 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8735 (display-buffer-pop-up-window): Allow splitting internal
8736 windows. Check whether a live window was created.
8737 (display-buffer-other-window-means-other-frame)
8738 (display-buffer-normalize-arguments): Rename to
8739 display-buffer-normalize-argument and rewrite. Set the
8740 other-window specifier.
8741 (display-buffer-normalize-special): New function.
8742 (display-buffer-normalize-options): Rename to
8743 display-buffer-normalize-default and rewrite.
8744 (display-buffer-normalize-options-inhibit): Remove.
8745 (display-buffer-normalize-specifiers): Rewrite.
8746 (display-buffer): Process other-window specifier and call
8747 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8748 more faithfully.
b796c9b7 8749 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8750 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8751 (display-buffer-in-window, display-buffer-alist-set):
8752 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8753 <tassilo@member.fsf.org>.
8754
2d43b8c9
LL
87552011-07-09 Leo Liu <sdl.web@gmail.com>
8756
8757 * register.el (insert-register): Restore accidental change on
8758 2011-06-26. (Bug#9028)
8759
7f9b7c53
GM
87602011-07-09 Glenn Morris <rgm@gnu.org>
8761
8762 * subr.el (remq): Handle the empty list. (Bug#9024)
8763
f042cfd8
AS
87642011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8765
8766 * mail/sendmail.el (send-mail-function): No longer delay custom
8767 initialization.
8768 * custom.el (custom-initialize-delay): Doc fix.
8769
856b2f11
SM
87702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8773
afae1d68
MA
87742011-07-08 Michael Albinus <michael.albinus@gmx.de>
8775
8776 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8777 human-friendly prompt.
8778
0757af94
SM
87792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8782 provided by a particular plugin.
8783
d760b731
LMI
87842011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8785
8786 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8787 save customizations (with "emacs -Q"), just set the variable
8788 instead of erroring out.
8789
8790 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8791
cd79ce90
JL
87922011-07-08 Juri Linkov <juri@jurta.org>
8793
8794 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8795 (archive-zip-update-case): Use 7z if found by `executable-find'.
8796 The order of searching the available programs is the same as in
8797 `archive-zip-extract' (bug#8968).
8798
14cc04aa
CY
87992011-07-07 Chong Yidong <cyd@stupidchicken.com>
8800
8801 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8802 (menu-bar-options-menu): Tweak descriptions.
8803
0a1848ec
LMI
88042011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805
8806 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8807 menu items into verb phrases (bug#1421). Also refill to fit under
8808 80 columns.
8809
f5bd0689
CY
88102011-07-07 Chong Yidong <cyd@stupidchicken.com>
8811
538e85c6
CY
8812 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8813 (Info-read-node-name): Doc fix (Bug#1084).
8814
f5bd0689
CY
8815 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8816 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8817 (end-of-sexp, beginning-of-sexp)
8818 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8819 (forward-symbol, forward-same-syntax, word-at-point)
8820 (sentence-at-point): Doc fix (Bug#1144).
8821
56ec5115
LMI
88222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8823
f3f8e37f
LMI
8824 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8825 should cover it (bug#1281).
8826
0757af94 8827 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8828
e9fce1ac 8829 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8830 negotiation fails, then possibly try again with a non-encrypted
8831 connection (bug#9017).
8832
56ec5115
LMI
8833 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8834 be used.
8835
c2f9aec8
RS
88362011-07-07 Richard Stallman <rms@gnu.org>
8837
8838 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8839 property, and handle its changed format.
8840 Look for the correct line number.
8841 Use file's line contents (but not past first =) to find
8842 correct line in message.
8843
ef7b981d 88442011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8845
8846 * international/characters.el (build-unicode-category-table):
8847 Delete it.
0757af94 8848 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8849
0757af94 8850 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8851 to src/chartab.c.
8852 (get-char-code-property): Call unicode-property-table-internal to
8853 load a file. Call get-unicode-property-internal where necessary.
8854 (put-char-code-property): Call unicode-property-table-internal to
8855 load a file. Call put-unicode-property-internal where necessary.
8856 put-unicode-property-internal where necessary.
0757af94
SM
8857 (char-code-property-description):
8858 Call unicode-property-table-internal to load a file.
c805dec0
KH
8859
8860 * international/charprop.el:
8861 * international/uni-bidi.el:
8862 * international/uni-category.el:
8863 * international/uni-combining.el:
8864 * international/uni-comment.el:
8865 * international/uni-decimal.el:
8866 * international/uni-decomposition.el:
8867 * international/uni-digit.el:
8868 * international/uni-lowercase.el:
8869 * international/uni-mirrored.el:
8870 * international/uni-name.el:
8871 * international/uni-numeric.el:
8872 * international/uni-old-name.el:
8873 * international/uni-titlecase.el:
8874 * international/uni-uppercase.el: Regenerate.
8875
8876 * loadup.el: Load international/charprop.el before
8877 international/characters.
8878
e14b388a
CY
88792011-07-07 Chong Yidong <cyd@stupidchicken.com>
8880
8881 * window.el (next-buffer, previous-buffer): Signal an error if
8882 called from a minibuffer window.
8883
8884 * bindings.el: Revert 2011-07-04 change.
8885
354cf0ba
RS
88862011-07-06 Richard Stallman <rms@gnu.org>
8887
8888 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8889 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8890 Treat markers like ints.
8891 (rmail-mime-entity): Doc fix.
8892
a48868a7
LMI
88932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8894
4906cd3d
LMI
8895 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8896 defcustom again for backwards compatibility.
8897
e0457abe
LMI
8898 * simple.el (shell-command-on-region): Fill.
8899
d67f7e1f
LMI
8900 * dired-aux.el (dired-kill-line): Add a doc string.
8901
fe204702
LMI
8902 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8903 to "\\sw\\|\\s_" (bug#358).
8904
a48868a7
LMI
8905 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8906 (dired-unmark-backward): Ditto.
8907 (dired-flag-backup-files): Ditto.
8908
8909 * dired-x.el (dired-mark-sexp): Ditto.
8910
aa8a705c
RS
89112011-07-06 Richard Stallman <rms@gnu.org>
8912
8913 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8914 (rmail-mime-entity): New arg TRUNCATED.
8915 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8916 New functions.
8917 (rmail-mime-save): Warn if entity is truncated.
8918 (rmail-mime-toggle-hidden): Likewise, for showing.
8919 (rmail-mime-process-multipart): Record when an entity is truncated.
8920
a9a936b9
RS
8921 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8922 if ENTITY is a string.
8923
1f2b92cb
LMI
89242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8925
f4f73198 8926 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8927 of faces when `M-C-x'-ing their definitions (bug#8378).
8928 Also clean up the code slightly.
f4f73198 8929
12b16734 8930 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8931 because that makes the colors go away.
12b16734 8932
f0691d22
LMI
8933 * mail/sendmail.el (send-mail-function): Change the default to
8934 `sendmail-query-once'.
9e87df06 8935 (sendmail-query-once): Add an autoload cookie.
f0691d22 8936
1f2b92cb
LMI
8937 * net/network-stream.el (network-stream-open-starttls): Try using
8938 a plain connection even if the server offered STARTTLS, and we
8939 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8940 capability. This should make smtpmail.el work in slightly more
8941 configurations.
8942
1cdd2a1b
MA
89432011-07-06 Michael Albinus <michael.albinus@gmx.de>
8944
8945 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8946 New defun.
8947 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8948
fbcc67e2
MM
89492011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8950
8951 * progmodes/sql.el: Version 3.0
0757af94 8952 (sql-product-alist): Add product :completion-object,
fbcc67e2 8953 :completion-column, and :statement attributes.
0757af94 8954 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8955 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8956 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8957 ansi keywords.
8958 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8959 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8960 (sql-oracle-show-reserved-words): New function for development.
8961 (sql-product-font-lock): Simplify for source code buffers.
8962 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8963 New functions.
8964 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8965 (sql-mode-map): Add statement movement functions.
8966 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8967 New variable.
fbcc67e2
MM
8968 (sql-statement-regexp, sql-beginning-of-statement)
8969 (sql-end-of-statement, sql-signum): New functions.
0757af94 8970 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8971 (sql-show-sqli-buffer): Bug fix.
8972 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8973 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8974 with sql-interactive-mode.
8975 (sql-save-connection): Save buffer local settings.
0757af94 8976 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8977 (sql-product-interactive): Bug fix.
8978 (sql-preoutput-hold): New variable.
8979 (sql-interactive-remove-continuation-prompt): Bug fixes.
8980 (sql-debug-redirect): New variable.
8981 (sql-str-literal): New function.
8982 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8983 Redesign.
fbcc67e2
MM
8984 (sql-oracle-save-settings, sql-oracle-restore-settings)
8985 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8986 (sql-completion-object, sql-completion-column)
8987 (sql-completion-sqlbuf): New variables.
8988 (sql-build-completions-1, sql-build-completions)
8989 (sql-try-completion): New functions.
8990 (sql-read-table-name): Use them.
8991 (sql-contains-names): New buffer local variable.
8992 (sql-list-all, sql-list-table): Use it.
8993 (sql-oracle-completion-types): New variable.
8994 (sql-oracle-completion-object, sql-sqlite-completion-object)
8995 (sql-postgres-completion-object): New functions.
8996
d4eaeab1
GM
89972011-07-06 Glenn Morris <rgm@gnu.org>
8998
8999 * window.el (pop-to-buffer): Doc fix.
9000
322b7dab 90012011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9002
9003 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9004
322b7dab 90052011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9006
322b7dab 9007 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9008
322b7dab 9009 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9010
605dd5bf
CY
90112011-07-05 Chong Yidong <cyd@stupidchicken.com>
9012
9013 * button.el (button): Inherit from link face. Suggested by Dan
9014 Nicolaescu.
9015
7dbfa719
SM
90162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9017
3db614b0
SM
9018 * progmodes/gdb-mi.el: Fit in 80 columns.
9019 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9020 switch-to-buffer.
9021
7dbfa719
SM
9022 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9023 if imenu is simply not configured (bug#8941).
9024
919d884a
KM
90252011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9026
9027 * allout.el (allout-post-undo-hook): New allout outline-change
9028 event hook to signal undo activity.
9029 (allout-post-command-business): Run allout-post-undo-hook if an
9030 undo just occurred.
7dbfa719
SM
9031 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9032 * allout-widgets.el (allout-widgets-after-undo-function):
9033 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9034 in the vicinity of an undo.
9035 (allout-widgets-mode): Include allout-widgets-after-undo-function
9036 on the new allout-post-undo-hook.
9037
450a0f09
SM
90382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9041 Let define-derived-mode define it.
9042 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9043 cycles of abbrev-table inheritance (bug#8998).
9044
2de69e00
RW
90452011-07-05 Roland Winkler <winkler@gnu.org>
9046
9047 * textmodes/bibtex.el: Add support for biblatex.
9048 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9049 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9050 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9051 (bibtex-entry-alist, bibtex-field-alist): New variables.
9052 (bibtex-entry-field-alist): Obsolete alias for
9053 bibtex-BibTeX-entry-alist.
9054 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9055 (bibtex-set-dialect): New command.
9056 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9057 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9058 Bind via bibtex-set-dialect.
2de69e00
RW
9059 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9060 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9061 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9062 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9063 Define via bibtex-set-dialect.
450a0f09
SM
9064 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9065 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9066 (bibtex-vec-push, bibtex-vec-incr): New functions.
9067 (bibtex-format-entry, bibtex-field-list)
9068 (bibtex-print-help-message, bibtex-validate)
9069 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9070
2dcdbdd9
SM
90712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * progmodes/compile.el (compilation-goto-locus):
9074 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9075 * bs.el (bs-cycle-next, bs-cycle-previous):
9076 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9077 * bindings.el (mode-line-other-buffer):
9078 * autoinsert.el (auto-insert):
9079 * arc-mode.el (archive-extract):
9080 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9081
b27640fe
JB
90822011-07-05 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9085 Fix check of `emacs-lock-unlockable-modes'.
9086 Coerce true values of `emacs-lock--try-unlocking' to t.
9087
53bbe3ad
JB
90882011-07-05 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9091 * emacs-lock.el: New file.
9092
1d3cdbc7
JD
90932011-07-05 Julien Danjou <julien@danjou.info>
9094
9095 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9096 than `boundp' to check if face is set.
9097
9173deec
JB
90982011-07-05 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * register.el (registerv-make):
9101 * window.el (window-min-height): Fix typos in docstrings.
9102
869795d6
JD
91032011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9104
9173deec 9105 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9106 Update doc string.
9107
b768cdcd
JB
91082011-07-04 Juanma Barranquero <lekktu@gmail.com>
9109
9110 * server.el (server-execute): Catch quit and call
9111 `server-return-error' to pass the error back to emacsclient and
9112 close the connection (bug#8942).
9113
13aa217b
KM
91142011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9115
9116 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9117 insecure exception for current topic. Also note that auto-saves
9118 are handled differently.
9119
5d3385a0 9120 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9121 State variables for tracking auto-save inhibition situation.
9122
9123 (allout-write-contents-hook-handler): Rename from
9124 'allout-write-file-hook-handler', and describe how it depends on
9125 write-contents-functions sensitivity to non-nil value to prevent
9126 file write.
9127
9128 (allout-auto-save-hook-handler): Remove. auto-save does not check
9129 this in individual buffers, only in the starting buffer, so this
9130 is not the right way for us to inhibit auto-save in a buffer
9131 according to its condition.
9132
9133 (allout-mode): Use new allout-write-contents-hook-handler, and
9134 only with write-contents-functions. Remove auto-save provisions -
9135 they're implemented elsewhere.
9136
9137 (allout-before-change-handler): If undo is in progress, note that
9138 for attention of allout-post-command-business.
9139
9140 (allout-post-command-business): If the command we're following was
9141 an undo, check for change in the status of encrypted items and
9142 adjust auto-save inhibitions accordingly.
9143
9144 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9145 according to whether there are or aren't any plain-text topics
9146 pending encryption.
9147
2dcdbdd9 9148 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9149 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9150 if there are plain-text topics pending encryption.
13aa217b
KM
9151
9152 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9153 buffer-saved-size and some allout state to not inhibit auto-saves
9154 if there are no longer any plain-text topics pending encryption.
9155
0757af94
SM
9156 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9157 No longer provide for exemption of the current topic.
13aa217b 9158
ac89b32c
JL
91592011-07-04 Juri Linkov <juri@jurta.org>
9160
9161 Add 7z operations to delete and save changed members (bug#8968).
9162 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9163 New defcustoms.
9164 (archive-7z-write-file-member): New function.
9165 (archive-7z-summarize): Fix the number of dashes in the
9166 listing output.
9167
8fa39615
SM
91682011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9171 (bug#8958).
9172
2f11b3f1
CY
91732011-07-04 Chong Yidong <cyd@stupidchicken.com>
9174
d66fef2b
CY
9175 * bindings.el: Ignore next-buffer and previous-buffer in
9176 minibuffer-local-map.
9177
2f11b3f1
CY
9178 * font-lock.el (font-lock-builtin-face): Change light background
9179 color to dark slate blue (Bug#6693).
9180
f932a347
WD
91812011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9182
9183 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9184
c8af70e1
SM
91852011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9188 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9189 Add switch-to-buffer.
9190
f158badc
LMI
91912011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9192
9193 * isearch.el (isearch-search-fun-function): Clarify further the
9194 meaning of the function returned.
9195
6d95bd46
MA
91962011-07-04 Michael Albinus <michael.albinus@gmx.de>
9197
9198 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9199
9200 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9201 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9202 Use it.
9203 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9204 `tramp-default-remote-path' does not exist.
9205 (tramp-send-command-and-read): New optional argument NOERROR.
9206 (tramp-open-connection-setup-interactive-shell)
9207 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9208 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9209 (tramp-process-sentinel): Flush also process' connection property.
9210 (tramp-sh-handle-start-file-process): Do not set process
9211 sentinel. It is done now ...
9212 (tramp-maybe-open-connection): ... here. (Bug#8929)
9213
909e6b67
MK
92142011-07-04 MON KEY <monkey@sandpframing.com>
9215
9216 * play/animate.el (animate-string): Doc fixes and allow changing
9217 the buffer name (bug#5417).
9218
92192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9220
c8af70e1 9221 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9222
f34755dc
PE
92232011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9224
396cec72
PE
9225 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9226 This is simpler and helps future-proof the code.
9227 (timer-until): Use time-subtract and float-time.
08235028 9228 (timer--time-less-p): Use time-less-p.
f34755dc 9229
56e6cc31
JB
92302011-07-04 Juanma Barranquero <lekktu@gmail.com>
9231
3abb79e5
JB
9232 * type-break.el (timep): Use the value of `float-time' to avoid a
9233 byte-compiler warning.
9234
56e6cc31
JB
9235 * server.el (server-eval-and-print): Return any result, even nil.
9236
7b9430b4
PE
92372011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9238
9239 * type-break.el: Accept time formats that the builtins accept.
9240 (timep, type-break-time-difference): Accept any format that
9241 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9242 This is simpler and helps future-proof the code.
9243 (type-break-time-difference): Round rather than ignoring
9244 subseconds components.
9245
3034e9e7
LMI
92462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9247
9248 * info.el (Info-apropos-matches): Make non-interactive, since it
9249 doesn't seem to do anything useful as a command (bug#8829).
9250
1485f4c0
CY
92512011-07-03 Chong Yidong <cyd@stupidchicken.com>
9252
9253 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9254 Move from faces.el.
1485f4c0
CY
9255 (frame-default-terminal-background): New function.
9256
9257 * custom.el (custom-push-theme): Don't record faces in `changed'
9258 theme; this doesn't work correctly for per-frame face settings.
9259 (disable-theme): Use face-set-after-frame-default to reset faces.
9260 (custom--frame-color-default): New function.
9261
9fa3dd45
LMI
92622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9263
c8af70e1 9264 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9265 (bug#8769).
9266
6cbbc20c
KR
92672011-03-29 Kevin Ryde <user42@zip.com.au>
9268
9269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9270 `perl-Test2' extend to match possible "fail #N" rep count
9271 (bug#8377).
9272
c7f98048
LMI
92732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274
65676592
LMI
9275 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9276 `smtpmail-via-smtp' now returns the error instead of nil.
9277
c7f98048
LMI
9278 * isearch.el (isearch-search-fun-function): Clarify the doc string
9279 (bug#8101).
9280
56e6cc31 92812011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9282
9283 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9284 unnecessary spaces (bug#8987).
9285
2b216704
LMI
92862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9287
9288 * net/network-stream.el (open-network-stream): Use the
9289 :end-of-capability command thoughout.
9290
92912011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9292
9293 * net/network-stream.el (open-network-stream): Add the
9294 :end-of-capability command parameter, used by pop3.el.
9295
36adf6ce
LMI
92962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297
1ca0da0e
LMI
9298 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9299
fc00f69c
LMI
9300 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9301 for list)" (bug#6475).
9302
28fd8759 9303 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9304 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9305 an error (bug#6297).
9306
0dd8b6da
LMI
9307 * man.el (Man-reference-regexp): Allow matching possible
9308 word-wrapped references (bug#6289).
9309
ce1438d6
LMI
9310 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9311 for consistency with the other vc buffers (bug#6197).
9312 (vc-checkin): Ditto.
9313
9314 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9315
36adf6ce
LMI
9316 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9317
e83cc1f7
LMI
93182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
8a20ca4c
LMI
9320 * custom.el (defcustom): Clarify that :set is only used in the
9321 Customize user interface (bug#6089).
9322
83319045
LMI
9323 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9324 associated with a file, refuse to run instead of erroring out
9325 (bug#6084).
9326
a8392169
LMI
9327 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9328 the doc string, since it appears that using `fill-column' always
9329 controls the width (bug#7845).
9330
e83cc1f7
LMI
9331 * simple.el (shell-command-on-region): Say where the error output
9332 went if `shell-command-default-error-buffer' is set (bug#6857).
9333
e47ca23b
KM
93342011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9335
9336 * allout.el (allout-yank-processing): Adjust cursor position for
9337 backwards-deleted space.
9338
9339 (allout-rebullet-heading): Register changes with
9340 allout-exposure-changed-hook, so the modified topic is properly
9341 decorated.
9342
5cf56143
LMI
93432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9344
08549772
LMI
9345 * minibuffer.el (completion-in-region): Document PREDICATE
9346 (bug#7136).
9347
48e96771
LMI
9348 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9349 of keyword/argument pairs (bug#6904).
9350
c8af70e1
SM
9351 * replace.el (multi-occur):
9352 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9353
e17d05e2
LMI
93542011-07-02 Drew Adams <drew.adams@oracle.com>
9355
9356 * dired.el (dired-mark-if): Make the message about whether it's
9357 marking or unmarking clearer (bug#8523).
9358
063b0e45
LMI
93592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9360
9361 * disp-table.el (display-table-print-array): New function.
9362 (describe-display-table): Use it to print the vectors more pretty
9363 (Bug#8859).
9364
28545e04
MR
93652011-07-02 Martin Rudalics <rudalics@gmx.at>
9366
9367 * window.el (window-state-get-1): Don't assign clone numbers.
9368 Add clone-of item to list of window parameters.
9369 (window-state-put-2): Don't process clone numbers.
9370 (display-buffer-alist): Fix doc-string.
9371
3349e122
SM
93722011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * subr.el (remq): Don't allocate if it's not needed.
9375 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9376 (keymap--merge-bindings): New functions.
9377 (keymap-canonicalize): Use them to refine the canonicalization.
9378 * minibuffer.el (minibuffer-local-completion-map)
9379 (minibuffer-local-must-match-map): Move initialization from C.
9380 (minibuffer-local-filename-completion-map): Move initialization from C;
9381 don't inherit from anything here.
9382 (minibuffer-local-filename-must-match-map): Make obsolete.
9383 (completing-read-default): Use make-composed-keymap to combine
9384 minibuffer-local-filename-completion-map with either
9385 minibuffer-local-must-match-map or
9386 minibuffer-local-filename-completion-map.
9387
d224ac83
GM
93882011-07-01 Glenn Morris <rgm@gnu.org>
9389
3de63bf8
GM
9390 * type-break.el (type-break-time-sum): Use dolist.
9391
d224ac83
GM
9392 * textmodes/flyspell.el (flyspell-word-search-backward):
9393 Replace CL function.
9394
1a1e3f32
SM
93952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9396
fe3f64d5
SM
9397 * mouse.el (mouse--strip-first-event): New function.
9398 (function-key-map): Use it to map fringe clicks to normal clicks
9399 by default.
9400
eb604e34
SM
9401 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9402 (vc-bzr-revision-completion-table): Add support for annotate and date.
9403
1a1e3f32
SM
9404 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9405 inherit from parent.
9406
5bd35902
LMI
94072011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9408
ace6c69c 9409 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9410 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9411
191e2bed
LMI
9412 * dired.el (dired-mode): Fix up the doc string as suggested by
9413 Drew Adams (bug#8817).
9414
5bd35902
LMI
9415 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9416 cookie, since the manual says that it should be possible to add
9417 this function to `find-file-hook' (bug#8709).
9418
eee8207a
TZ
94192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9420
9421 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9422 here. Noted Ted Zlatanov as the maintainer.
9423 (cfengine-common-settings, cfengine-common-syntax): New functions
9424 to set up common things between `cfengine-mode' and
9425 `cfengine3-mode'.
9426 (cfengine3-mode): New mode.
9427 (cfengine3-defuns cfengine3-defuns-regex
9428 (cfengine3-class-selector-regex cfengine3-category-regex)
9429 (cfengine3-vartypes cfengine3-font-lock-keywords)
9430 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9431 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9432
36b148cf
MA
94332011-07-01 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9436
9437 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9438
0bf4ba9a
MR
94392011-07-01 Martin Rudalics <rudalics@gmx.at>
9440
9441 * window.el (same-window-buffer-names, same-window-regexps)
9442 (same-window-p, special-display-frame-alist)
9443 (special-display-popup-frame, special-display-function)
9444 (special-display-buffer-names, special-display-regexps)
9445 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9446 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9447 (split-window-preferred-function, split-height-threshold)
9448 (split-width-threshold, even-window-heights)
9449 (display-buffer-mark-dedicated, window-splittable-p)
9450 (split-window-sensibly, window-safely-shrinkable-p):
9451 Un-obsolete.
9452 (display-buffer): Don't spread args with function specifier
9453 because special-display-popup-frame won't like it.
9454
35837f51
PE
94552011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9456
d0672f86
PE
9457 Time-stamp simplifications and fixes.
9458 These improve accuracy slightly, and future-proof the code
9459 against some potential changes to current-time format.
9460
b9444d97
PE
9461 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9462 by using time-since and float-time.
9463
0ef923dc
PE
9464 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9465 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9466 + NNN microseconds".
9467
2f81380d
PE
9468 * type-break.el (type-break-time-sum): Rewrite using time-add.
9469
845b5c3e
PE
9470 * play/hanoi.el (hanoi-current-time-float): Remove.
9471 All uses replaced by float-time.
9472
ee6f1be0
PE
9473 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9474 This yields a more-accurate answer.
9475 (rng-time-to-float): Remove; no longer needed.
9476
fe955043
PE
9477 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9478
5777162a
PE
9479 * calendar/timeclock.el (timeclock-seconds-to-time):
9480 Defalias to seconds-to-time, since they're the same thing.
9481
3103f8b6 9482 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9483 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9484 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9485
0e61a35f
SM
94862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * window.el (bury-buffer): Don't iconify the only frame.
9489 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9490 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9491
ddd63a1e
CY
94922011-07-01 Chong Yidong <cyd@stupidchicken.com>
9493
0e61a35f
SM
9494 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9495 Add mouse-yank-primary.
ddd63a1e 9496
055f4923
TZ
94972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9498
9499 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9500
6a2fb145
SM
95012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9504 (find-library-name): Use it to find relative load names when provided
9505 absolute file name (bug#8803).
9506
fd4983f2
LMI
95072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9508
887d14ad
LMI
9509 * textmodes/flyspell.el (flyspell-word): Consider words that
9510 differ only in case as potential doublons (bug#5687).
9511
c53dc7fc
LMI
9512 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9513 Remove two rather uninteresting debugging-like messages to make
9514 debbugs.el more silent.
9515
fd4983f2
LMI
9516 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9517 a password-like phrase.
9518
7a71b18d 95192011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9520
9521 * progmodes/cc-guess.el: New file.
9522
6a2fb145 9523 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9524
9525 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9526 derived from `c-basic-common-init'.
9527
9528 * progmodes/cc-mode.el (top-level): Require cc-guess.
9529 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9530
1fa280a3
LM
95312011-06-30 Lawrence Mitchell <wence@gmx.li>
9532
9533 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9534
e6597158
AM
95352011-06-30 Alan Mackenzie <acm@muc.de>
9536
1fa280a3
LM
9537 * progmodes/cc-engine.el (c-guess-continued-construct):
9538 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9539 lock is disabled. Name this case as "CASE G".
9540
68ba37fb
KM
95412011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9542
9543 * allout.el (allout-yank-processing): Fix injection of extra space
9544 between bullet and non-whitespace character in first topic when
9545 pasting, ensuring that the actual spacing in the pasted topic
9546 following the bullet char is preserved. This extra space was
9547 causing pasted encrypted topics to get a decrypted status even
9548 when the content was actually still encrypted. Now the decryption
9549 status from before the paste is preserved.
9550
9551 (allout-flag-region): Set all allout overlays so they evaporate
9552 when reduced to zero length (evanescent), to prevent overlay
9553 leakage.
9554
887a0b34
GM
95552011-06-30 Glenn Morris <rgm@gnu.org>
9556
94b9acce
GM
9557 * w32-fns.el (w32-charset-info-alist): Declare.
9558
1d9b46d4
GM
9559 * find-dired.el (find-grep-options): Simplify.
9560
cc232200
GM
9561 * term/ns-win.el (ns-set-resource): Declare.
9562
28e77c46
GM
9563 * ses.el (row, col): Declare dynamic variables honestly.
9564
887a0b34
GM
9565 * textmodes/reftex-parse.el (index-tags): Declare.
9566
658d8eb8
CY
95672011-06-30 Chong Yidong <cyd@stupidchicken.com>
9568
9569 * cus-edit.el (customize-push-and-save): New function.
9570
9571 * files.el (hack-local-variables-confirm): Use it.
9572
1fa280a3
LM
9573 * custom.el (load-theme): New arg NO-CONFIRM.
9574 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9575 (custom-enabled-themes): Doc fix.
9576
9577 * cus-theme.el (customize-create-theme)
9578 (custom-theme-merge-theme): Callers to load-theme changed.
9579
bb617717
LMI
95802011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
d61bdd5d
LMI
9582 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9583 short URLs have at least one dot in them (bug #7614).
9584
bb617717
LMI
9585 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9586 nil, because using a pty is apparently too slow (bug #895).
9587
2f31f37a
LMI
95882011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9589
9590 * mail/sendmail.el (sendmail-query-once): New function.
9591 (sendmail-query-once-function): New variable.
9592
3076b24e
GM
95932011-06-29 Glenn Morris <rgm@gnu.org>
9594
faf2a174
GM
9595 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9596
3076b24e
GM
9597 * ses.el (top-level): Require cl when compiling.
9598 (ses-set-localvars): Fix error statement.
9599 Call it at compile time to silence a storm of warnings.
9600
5386012d
MR
96012011-06-29 Martin Rudalics <rudalics@gmx.at>
9602
9603 * window.el (normalize-live-buffer): Rename to
9604 window-normalize-buffer.
9605 (normalize-live-frame): Rename to window-normalize-frame.
9606 (normalize-any-window): Rename to window-normalize-any-window.
9607 (normalize-live-window): Rename to window-normalize-live-window.
9608 (make-window-atom): Rename to window-make-atom.
9609 (window-resize-reset): Rename to window--resize-reset.
9610 (window-resize-reset-1): Rename to window--resize-reset-1.
9611 (resize-mini-window): Rename to window--resize-mini-window.
9612 (resize-subwindows-skip-p): Rename to
9613 window--resize-subwindows-skip-p.
9614 (resize-subwindows-normal): Rename to
9615 window--resize-subwindows-normal.
9616 (resize-subwindows): Rename to window--resize-subwindows.
9617 (resize-other-windows): Rename to window--resize-siblings.
9618 (resize-this-window): Rename to window--resize-this-window.
9619 (resize-root-window): Rename to window--resize-root-window.
9620 (resize-root-window-vertically): Rename to
9621 window--resize-root-window-vertically.
9622 (normalize-buffer-to-display): Rename to
9623 window-normalize-buffer-to-display.
9624 (normalize-buffer-to-switch-to): Rename to
9625 window-normalize-buffer-to-switch-to.
9626 Correspondingly update all callers of the functions listed
9627 above.
9628 (display-buffer-alist, display-buffer-normalize-arguments)
9629 (display-buffer-normalize-options, display-buffer)
9630 (display-buffer-alist-set): Use "function" instead of
9631 "fun-with-args".
9632
1176868d
CY
96332011-06-28 Chong Yidong <cyd@stupidchicken.com>
9634
9635 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9636 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9637 debbugs.gnu.org. Mention acknowledgment email.
9638
20a7a65f
LMI
96392011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9640
9641 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9642 buffer multibyteness, since it shouldn't matter.
9643
5f45cca5
MR
96442011-06-28 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (display-buffer-in-side-window): Handle dedicated
9647 windows as in display-buffer-reuse-window.
9648 (display-buffer-normalize-alist): Use value of override
9649 specifier.
9650 (display-buffer-normalize-specifiers): Use value of
9651 other-window-means-other-frame specifier.
9652 (display-buffer-alist): Rewrite some texts in widgets.
9653 (display-buffer): Spread arguments when calling function
9654 specified by fun-with-args.
9655
ad85fe1f
DD
96562011-06-28 Deniz Dogan <deniz@dogan.se>
9657
1fa280a3
LM
9658 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9659 Unnest `let'.
da68c4c8 9660
ad85fe1f
DD
9661 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9662 selectors (Bug#5732).
ec49bd31 9663 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9664
a08cc025
JA
96652011-06-27 Jari Aalto <jari.aalto@cante.net>
9666
9667 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9668 (eshell-ls-date-format): New defcustom.
9669 (eshell-ls-file): Use it.
9670
e2b551c5
SM
96712011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9674
8982b231
KY
96752011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9676
9677 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9678 (ange-ftp-make-tmp-name): New arg.
9679 (ange-ftp-file-local-copy): Use it.
9680
36c9fa27
J
96812011-06-27 Jambunathan K <kjambunathan@gmail.com>
9682
9683 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9684 no-conversion (Bug#8870).
9685
d68443dc
MR
96862011-06-27 Martin Rudalics <rudalics@gmx.at>
9687
9688 * window.el (window-right, window-left, window-child)
9689 (window-child-count, window-last-child)
9690 (window-iso-combination-p, walk-window-tree-1)
9691 (window-atom-check-1, window-tree-1, delete-window)
9692 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9693 new naming conventions - window-vchild, window-hchild,
9694 window-next and window-prev are now called window-top-child,
9695 window-left-child, window-next-sibling and window-prev-sibling
9696 respectively.
d615d6d2
MR
9697 (resize-window-reset): Rename to window-resize-reset.
9698 (resize-window-reset-1): Rename to window-resize-reset-1.
9699 (resize-window): Rename to window-resize.
9700 (window-min-height, window-min-width)
9701 (resize-mini-window, resize-this-window, resize-root-window)
9702 (resize-root-window-vertically, adjust-window-trailing-edge)
9703 (enlarge-window, shrink-window, maximize-window)
9704 (minimize-window, delete-window, quit-restore-window)
9705 (split-window, balance-windows, balance-windows-area-adjust)
9706 (balance-windows-area, window-state-put-2)
9707 (display-buffer-even-window-sizes, display-buffer-set-height)
9708 (display-buffer-set-width, set-window-text-height)
9709 (fit-window-to-buffer): Rename all "resize-window" prefixed
9710 calls to use the "window-resize" prefix convention.
9711 (display-buffer-alist): Fix symbol for label specifier.
9712 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9713 corresponding specifier.
9714 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9715
b6458526
VB
97162011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9717
9718 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9719 convention.
9720 (ses-call-printer): Does not pass an empty string to formatter when the
9721 cell is empty to keep from barking printer Calc math-format-value.
9722
d31fd9ac
RS
97232011-06-27 Richard Stallman <rms@gnu.org>
9724
43d5bf84
RS
9725 * battery.el (battery-mode-line-limit): New variable.
9726 (battery-update): Handle it.
9727
d31fd9ac
RS
9728 * mail/rmailmm.el (rmail-mime-process-multipart):
9729 Handle truncated messages.
9730
819a6054
GM
97312011-06-27 Glenn Morris <rgm@gnu.org>
9732
9733 * progmodes/flymake.el (flymake-err-line-patterns):
9734 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9735
cedc73f2
VB
97362011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9737
819a6054 9738 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9739 (ses--clean-!, ses--clean-_): New functions.
9740 (ses-range): Add configurability of readout order, and conversion
9741 to Calc vector.
9742
5e5d49b6
VB
9743 * ses.el (ses-repair-cell-reference-all): New function.
9744 (ses-cell-symbol): Set macro as safe, so that it can be used in
9745 formulas.
9746
56e6cc31 9747 * ses.el: Update cycle detection algorithm.
90ca8b49 9748 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9749 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9750 (ses-set-localvars): New function.
9751 (ses-make-cell): Add property-list as a cell element.
9752 (ses-cell-property-get-fun, ses-cell-property-get)
9753 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9754 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9755 New functions.
90ca8b49
VB
9756 (ses-cell-property-set, ses-cell-property-pop)
9757 (ses-cell-property-get-handle): New macro.
9758 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9759 New aliases, used for code readability.
9760 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9761 cycle detection.
9762 (ses-self-reference-early-detection): New defcustom.
fac916bf 9763 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9764 (ses-mode): Use ses-set-localvars.
9765 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9766 before lauching the update processing.
9767 (ses-initialize-Dijkstra-attempt): New function.
9768 (ses-recalculate-cell): Update for cycle detection based on
9769 Dijkstra algorithm.
9770
2bb63e81
VB
9771 * ses.el: Fix commenting and indenting convention.
9772
c9d29fb8
SM
97732011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * bs.el (bs-cycle-next): Complete last change.
9776
d8e4b68b
JB
97772011-06-27 Drew Adams <drew.adams@oracle.com>
9778
9779 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9780
40098786
LMI
97812011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
c9d29fb8
SM
9783 * net/network-stream.el (network-stream-open-starttls):
9784 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9785 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9786
40098786
LMI
9787 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9788 to binary to possibly avoid line encoding issues on Windows (among
9789 other things).
9790
468d09d4
LMI
97912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9792
9793 * net/network-stream.el (open-network-stream): Return an :error
9794 saying what the problem was, if possible.
9795
9796 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9797 server.
9798
9799 * net/network-stream.el (network-stream-open-starttls): If we
9800 wanted to use STARTTLS, and the server offered it, but we weren't
9801 able to because we had no STARTTLS support, then close the connection.
9802 (open-network-stream): Return an :error element, if present.
9803
16f07dd7
CY
98042011-06-26 Chong Yidong <cyd@stupidchicken.com>
9805
88821ca0
CY
9806 * hl-line.el (hl-line-sticky-flag): Doc fix.
9807 (global-hl-line-sticky-flag): New option (Bug#8323).
9808 (global-hl-line-highlight): Obey it.
9809
16f07dd7
CY
9810 * vc/vc.el (vc-revert-show-diff): Default to t.
9811
6b5ccddf
KM
98122011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9813
c9d29fb8
SM
9814 * allout-widgets.el (allout-widgets-post-command-business):
9815 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9816 undecorated when an isearch is continued past, and isearch
9817 automatically collapses them. This leads to "widget leaks", where
9818 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9819 hidden widgets can slow down cursor travel, substantially.
9820 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9821 so we're doing without this nicety.
9822
9823 (allout-widgets-tally-string): Don't try to do a hash-table-count
9824 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9825 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9826 *Messages* when allout-widgets-maintain-tally is t.
9827
355f2e07
MR
98282011-06-26 Martin Rudalics <rudalics@gmx.at>
9829
9830 * window.el (display-buffer-normalize-argument): Rename to
9831 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9832 LABEL argument. Respect special-display-function when popping up
9833 a new frame. Fix code searching for a window showing the buffer
9834 on another frame.
c9d29fb8
SM
9835 (display-buffer-normalize-specifiers):
9836 Call display-buffer-normalize-arguments.
355f2e07
MR
9837 (display-buffer-in-window): Don't undedicate the window if its
9838 buffer remains the same.
9839 Reported by Drew Adams <drew.adams@oracle.com>.
9840 (display-buffer-alist): Add choice for same-window macro
9841 specfier.
9842 (display-buffer): Mention special meaning of LABEL argument in
9843 doc-string. Fix quoting. Don't pop up a new frame even as
9844 fallback.
9845
7ca8fc42
JB
98462011-06-26 Juanma Barranquero <lekktu@gmail.com>
9847
9848 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9849 avoid deleting the current window in some cases (bug#8911).
9850
bc312254
AS
98512011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9852
9853 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9854 (Bug#8934)
9855
2db18f3f
LMI
98562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9857
c9d29fb8
SM
9858 * net/network-stream.el (network-stream-open-starttls):
9859 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9860 (network-stream-open-tls): Ditto.
9861
6302e0d3
LL
98622011-06-26 Leo Liu <sdl.web@gmail.com>
9863
9864 * register.el (registerv): New struct.
9865 (registerv-make): New function.
c9d29fb8
SM
9866 (jump-to-register, describe-register-1, insert-register):
9867 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9868 struct. (Bug#8415)
9869
5fdd4046
CY
98702011-06-26 Chong Yidong <cyd@stupidchicken.com>
9871
2afef60a
CY
9872 * vc/vc.el (vc-revert-show-diff): New defcustom.
9873 (vc-diff-internal): New arg specifying diff buffer.
9874 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9875 reuse an existing *vc-diff* buffer (Bug#8927).
9876
5fdd4046
CY
9877 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9878
e93db24a
GM
98792011-06-26 Glenn Morris <rgm@gnu.org>
9880
9881 * progmodes/f90.el (f90-critical-indent): New option.
9882 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9883 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9884 (f90-mode): Doc fix.
9885 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9886 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9887 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9888 (f90-match-end): Handle block, critical.
9889
eefff499
GM
98902011-06-25 Glenn Morris <rgm@gnu.org>
9891
f6ba4cc9
GM
9892 * calendar/diary-lib.el (diary-included-files): Doc fix.
9893 (diary-include-files): New function, extracted from
9894 diary-include-other-diary-files and diary-mark-included-diary-files.
9895 (diary-include-other-diary-files, diary-mark-included-diary-files):
9896 Just call diary-include-files.
9897 (diary-mark-entries): Reset diary-included-files on first call.
9898
16712304
GM
9899 * calendar/diary-lib.el (diary-mark-entries)
9900 (diary-mark-included-diary-files):
9901 Visit included diary-files in temp buffers.
9902
5d8e0d43
GM
9903 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9904 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9905 (f90-start-block-re, f90-imenu-generic-expression)
9906 (f90-looking-at-program-block-start, f90-no-block-limit):
9907 Add support for submodules.
9908
ccf7a5d5
GM
9909 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9910 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9911
11fdef7d 99122011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9913
9914 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9915 buffer-file-type before setting its value, to avoid disastrous
eefff499 9916 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9917
74f53697
JB
99182011-06-25 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9921
9922 * ses.el (ses-unload-function):
9923 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9924
9925 * proced.el (proced-unload-function):
9926 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9927
18a4ce5e
AR
99282011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9929
9930 * server.el (server-create-window-system-frame): Add parameters arg.
9931 (server-process-filter): Doc fix. Handle frame-parameters.
9932
519d22cc
JB
99332011-06-25 Juanma Barranquero <lekktu@gmail.com>
9934
9935 Fix bug#8730, bug#8781.
9936
9937 * loadhist.el (unload--set-major-mode): New function.
9938 (unload-feature): Use it.
9939
9940 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9941 (python-unload-function): New function.
9942
c206f5b0
SM
99432011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9946
f9ad64f3
GS
99472011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9948
9949 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9950 the candidates list.
9951
7d0da90e
JB
99522011-06-24 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9955
14b4e83d
RS
99562011-06-23 Richard Stallman <rms@gnu.org>
9957
9958 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9959 (rmail-variables): Set next-error-move-function.
9960 (rmail-what-message): Take argument POS.
9961 (rmail-next-error-move): New function.
9962
273d2baf
SM
99632011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9966 messages for adjacent non-terminals.
9967
56c2cc9a
RS
99682011-06-23 Richard Stallman <rms@gnu.org>
9969
9970 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9971 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9972 (rmail-start-mail): Don't specify use of rmail-mail-return;
9973 that's done by mail-bury now.
9974 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9975
d59eb518
MA
99762011-06-23 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9979 SIZE is a number.
9980
02cfc6d6
MR
99812011-06-23 Martin Rudalics <rudalics@gmx.at>
9982
9983 * window.el (get-lru-window, get-mru-window)
9984 (get-largest-window): Never return a minibuffer window.
9985 (display-buffer-pop-up-window): Fix a bug that could lead to
9986 reusing the minibuffer window.
9987 (display-buffer): Pass original specifier argument to
9988 display-buffer-function instead of the normalized one.
9989 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9990
4e323265
LL
99912011-06-22 Leo Liu <sdl.web@gmail.com>
9992
9993 * minibuffer.el (completing-read-function)
9994 (completing-read-default): Move from minibuf.c
9995
7a70468f
RS
99962011-06-22 Richard Stallman <rms@gnu.org>
9997
50718fc2
RS
9998 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9999 to Rmail even if not started by a special Rmail command.
10000
7a70468f
RS
10001 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10002 Copy the buffer currently showing just one message.
10003
297dde5a
RW
100042011-06-22 Roland Winkler <winkler@gnu.org>
10005
10006 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10007 (bibtex-clean-entry): First delete the old key so that a
10008 customized algorithm for generating the new key does not get
10009 confused by the old key.
10010 (bibtex-url): Obey regexp of first step.
10011 (bibtex-search-entries): Do not use add-to-list with local
10012 list-var.
10013
97bb1093
LMI
100142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10015
10016 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10017 stored a user name, then query for the password first, instead of
10018 waiting for SMTP to give an error message and the trying again.
10019
1c0f1a19
JD
100202011-06-22 Lawrence Mitchell <wence@gmx.li>
10021
10022 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10023 BUFFER in call-process.
10024
396f7c9d
LMI
100252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10026
10027 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10028 QUIT twice.
ddb7ffee
LMI
10029 (smtpmail-try-auth-methods): Require user name and password from
10030 auth-source.
396f7c9d 10031
8998d1b3
MR
100322011-06-22 Martin Rudalics <rudalics@gmx.at>
10033
10034 * window.el (display-buffer-default-specifiers)
10035 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10036 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10037 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10038
10039 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10040 (special-display-frame-alist, special-display-popup-frame):
10041 Remove duplicate declarations. These are now in window.el.
10042
4ea31e07
LMI
100432011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10044
c9d29fb8
SM
10045 * mail/smtpmail.el (smtpmail-via-smtp):
10046 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10047 server supports it. SMTP servers that support STARTTLS commonly
10048 require it.
10049
10050 * net/network-stream.el (network-stream-open-starttls): Support
10051 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10052 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10053
95f41d9a
LMI
10054 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10055 upgrades with `open-network-stream', and rely solely on
10056 auth-source for all credentials. Big changes throughout the file,
10057 but in particular:
c9d29fb8
SM
10058 (smtpmail-auth-credentials): Remove.
10059 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10060 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10061 MAIL FROM, too.
95f41d9a 10062
c9d29fb8
SM
10063 * net/network-stream.el (network-stream-open-starttls):
10064 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10065 STARTTLS.
10066 (auth-source): Require.
10067 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10068 (network-stream-certificate): Change cert-cert to cert and
10069 cert-key to key.
4ea31e07 10070
065ec2c7
MA
100712011-06-21 Michael Albinus <michael.albinus@gmx.de>
10072
10073 * net/tramp-cache.el (top): Don't load the persistency file when
10074 "emacs -Q" has been called.
10075
cd93b359
DR
100762011-06-21 Tim Harper <timcharper@gmail.com>
10077
d8e4b68b
JB
10078 * term/ns-win.el (ns-initialize-window-system):
10079 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10080 resource to NO as it is not yet supported by the NS port.
10081
ae9c0411
JB
100822011-06-21 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10085 (list-dynamic-libraries): ...not here.
10086
7f3f739f
LL
100872011-06-21 Leo Liu <sdl.web@gmail.com>
10088
10089 * subr.el (sha1): Implement sha1 using secure-hash.
10090
327c8fb1
MR
100912011-06-21 Martin Rudalics <rudalics@gmx.at>
10092
10093 * window.el (display-buffer-alist): In default value do not
10094 enforce searching a window on any but the selected frame.
10095 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10096 (display-buffer-select-window): Remove function.
10097 (display-buffer-in-window): When a window on another frame gets
10098 reused, do not select it any more but just raise its frame if
10099 necessary (Bug#8851) and (Bug#8856).
10100 (display-buffer-normalize-options): Handle pop-up-frames related
10101 options more faithfully.
10102 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10103 window if it is on another frame.
c9d29fb8
SM
10104 (display-buffer-alist, display-buffer-default-specifiers):
10105 Don't make new frame unsplittable by default.
9e9de014
MR
10106 (display-buffer-normalize-argument): Fix doc-string typo and use
10107 'same-frame-other-window instead of 'other-window when associating
10108 with display-buffer-macro-specifiers.
327c8fb1 10109
7cf3f556
VB
101102011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10111
10112 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10113 New functions.
10114 (5x5-mode-map, 5x5-mode-menu): Bind them.
10115 (5x5-draw-grid): Tweak the solver's rendering.
10116
60a406cf
SM
101172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10120 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10121
d8e4b68b 101222011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10123
10124 * menu-bar.el: Use function variable instead of switch-to-buffer.
10125 (menu-bar-select-buffer-function): New variable.
60a406cf 10126 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10127
478d6f95
SM
101282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10131 variable's status.
10132
ca530739
JD
101332011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10134
10135 * x-dnd.el (x-dnd-version-from-flags)
10136 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10137 and long as number (Bug#8899).
10138 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10139
bcd70d97
SM
101402011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10141
60a406cf 10142 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10143 (completion-try-completion, completion-all-completions): Compute the
10144 metadata argument if it's missing; make it optional (bug#8795).
10145
60a406cf 10146 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10147 (widget-complete): Use new :completion-function property.
10148 (widget-completions-at-point): New function.
10149 (default): Use :completion-function instead of :complete.
60a406cf
SM
10150 (widget-default-completions): Rename from widget-default-complete;
10151 Rewrite.
bcd70d97
SM
10152 (widget-string-complete, widget-file-complete, widget-color-complete):
10153 Remove functions.
10154 (file, symbol, function, variable, coding-system, color):
10155 * international/mule-cmds.el (default-input-method, charset)
10156 (language-info-custom-alist):
10157 * cus-edit.el (face): Use new property :completions.
10158
10159 * progmodes/pascal.el (pascal-completions-at-point): New function.
10160 (pascal-mode): Use it.
10161 (pascal-mode-map): Use completion-at-point.
10162 (pascal-toggle-completions): Make obsolete.
10163 (pascal-complete-word, pascal-show-completions):
10164 * progmodes/octave-mod.el (octave-complete-symbol):
10165 Redefine as obsolete alias.
10166 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10167 Signal absence of completion info for old Octave,
10168 (inferior-octave-complete): Redefine as obsolete alias.
10169 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10170 (meta-completions-at-point): Rename from meta-complete-symbol and
10171 adapt it for use on completion-at-point-functions.
10172 (meta-common-mode): Use it.
10173 (meta-looking-at-backward, meta-match-buffer): Remove.
10174 (meta-complete-symbol): Redefine as obsolete alias.
10175 (meta-common-mode-map): Use completion-at-point.
10176 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10177 (makefile-mode-map): Use completion-at-point.
10178 (makefile-completions-at-point): Rename from makefile-complete and
10179 adapt it for use on completion-at-point-functions.
10180 (makefile-mode): Use it.
10181 (makefile-complete): Redefine as obsolete alias.
10182
aebf69c8
DD
101832011-06-20 Deniz Dogan <deniz@dogan.se>
10184
10185 * net/rcirc.el: Delete trailing whitespaces once and for all.
10186
bfbbb27d
DC
101872011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10188
10189 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10190
d264a46b
CY
101912011-06-19 Chong Yidong <cyd@stupidchicken.com>
10192
4ca009e5
CY
10193 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10194
d264a46b
CY
10195 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10196
fbf5b3ce
MR
101972011-06-19 Martin Rudalics <rudalics@gmx.at>
10198
10199 * window.el (display-buffer-other-window-means-other-frame):
10200 Call display-buffer-normalize-alist.
10201 (display-buffer-normalize-specifiers-1): Rename to
10202 display-buffer-normalize-argument. New argument other-frame.
10203 Rewrite.
10204 (display-buffer-normalize-specifiers-2): Rename to
10205 display-buffer-normalize-options.
10206 (display-buffer-normalize-alist-1): New function.
10207 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10208 display-buffer-normalize-alist.
10209 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10210 (display-buffer-normalize-options-inhibit): New variable.
10211 (display-buffer-normalize-specifiers): Rewrite calling
10212 display-buffer-normalize-alist,
10213 display-buffer-normalize-argument, and
10214 display-buffer-normalize-options. Don't call the latter if
10215 display-buffer-normalize-options-inhibit is non-nil.
10216 (frame-auto-delete): New option.
10217 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10218 (window-list-no-nils, window-state-ignored-parameters)
10219 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10220 (window-state-put-1, window-state-put-2, window-state-put):
10221 New functions.
9a028c23
MR
10222 (display-buffer-normalize-options): Move special-display-p group
10223 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10224
6d10d800
CY
102252011-06-18 Chong Yidong <cyd@stupidchicken.com>
10226
6420d28b
CY
10227 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10228 groups (Bug#8776).
10229 (rx-submatch-n): New function.
10230 (rx): Document it.
10231
ddb8b596
CY
10232 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10233 (Bug#8768).
10234
10235 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10236
77080289
CY
10237 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10238
61dfb316
CY
10239 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10240 anytime existing face settings are present (Bug#8889).
10241
6d10d800
CY
10242 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10243 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10244 Remove unused argument.
10245
be3fb2b8
MR
102462011-06-18 Martin Rudalics <rudalics@gmx.at>
10247
bcd70d97
SM
10248 * window.el (display-buffer-default-specifiers):
10249 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10250 pop-up-window-min-width, and another reuse-window specifier
10251 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10252 (display-buffer-normalize-specifiers-2):
10253 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10254 pop-up-windows is unset. Add a reuse-window specifier for the
10255 case popping up a new window fails.
10256 (special-display-popup-frame): Remove double quoting.
28dec25a 10257 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10258
1c6d8c76
SM
102592011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10262 according to comint-completion-addsuffix.
10263
10264 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10265 (pcomplete-suffix-list): Mark as obsolete.
10266 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10267 pcomplete-seen in the closure.
10268 (pcomplete-comint-setup): Setup completion-at-point as well.
10269 (pcomplete--entries): New function.
10270 (pcomplete--env-regexp): New var.
10271 (pcomplete-entries): Rewrite to work with partial-completion and
10272 without relying on pcomplete-suffix-list.
10273 (pcomplete-pare-list): Remove, unused.
10274
25aef8b8
MR
102752011-06-17 Martin Rudalics <rudalics@gmx.at>
10276
10277 * window.el (display-buffer-alist): Set pop-up-window-min-height
10278 and pop-up-window-min-width in default value. Reported by
10279 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10280 other-window-means-other-frame.
10281 (display-buffer-macro-specifiers): Comment out entry for
10282 other-window specifier.
10283 (display-buffer-other-window-means-other-frame): New function.
10284 (display-buffer-normalize-specifiers-1): New arguments
10285 buffer-name and label. Treat other-window case specially.
10286 (display-buffer-normalize-specifiers-2): Treat other-window case
10287 specially.
10288 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10289 (display-buffer-normalize-specifiers):
10290 Call display-buffer-normalize-specifiers-3.
25aef8b8 10291
dbad4f69
MR
102922011-06-17 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (same-window-p): Fix two typos introduced when
10295 adding with-no-warnings.
d1067961
MR
10296 (display-buffer-normalize-specifiers-1): Don't check
10297 pop-up-frames for 'unset initialization.
10298 (display-buffer-normalize-specifiers-2): Major rewrite using
10299 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10300 (pop-up-frames, display-buffer-reuse-frames)
10301 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10302 Suggested by David Engster <deng@randomsample.de>.
10303 (even-window-heights): Initialize to 'unset.
10304 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10305 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10306 other window case.
dbad4f69 10307
9b9c9e3a
MR
103082011-06-16 Martin Rudalics <rudalics@gmx.at>
10309
bcd70d97
SM
10310 * window.el (display-buffer-normalize-specifiers-1):
10311 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10312 second argument of display-buffer (Bug#8865).
981d5c09
MR
10313 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10314 (switch-to-buffer-other-window-same-frame)
10315 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10316 Adams (Bug#8875).
9c2755e9
MR
10317 (display-buffer): Don't check noninteractive when calling
10318 display-buffer-pop-up-frame.
10319 (display-buffer-pop-up-frame): Never pop up a frame in
10320 noninteractive mode (Bug#8857).
67222e1d
MR
10321 (enlarge-window, shrink-window): Don't report an error when the
10322 window can't be resized as requested (Bug#8862).
9b9c9e3a 10323
2b75be67
SM
103242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10325
9ffdd3ba
SM
10326 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10327
cb581a67
SM
10328 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10329
2b75be67
SM
10330 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10331
8c0e3589
AM
103322011-06-15 Alan Mackenzie <acm@muc.de>
10333
cb581a67
SM
10334 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10335 for declarators, disable knr checking to speed up for normal files.
10336 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10337
b96e6cde
LMI
103382011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10339
4bba86e6
LMI
10340 * net/network-stream.el (open-network-stream): Add the keyword
10341 :always-query-capabilities for the case where you want to force a
10342 `plain' network connection, but the protocol still requires the
10343 capabilitiy command (i.e., SMTP and EHLO).
10344
2b75be67 10345 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10346 consistency with other `-live-p' functions.
10347
efdcdbf8
SM
103482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * window.el (same-window-buffer-names, same-window-regexps)
10351 (special-display-frame-alist, special-display-popup-frame)
10352 (special-display-function, special-display-buffer-names)
10353 (special-display-regexps, pop-up-frame-alist)
10354 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10355 (pop-up-windows, split-window-preferred-function)
10356 (split-height-threshold, split-width-threshold, even-window-heights)
10357 (display-buffer-mark-dedicated): Don't encourage the use of
10358 display-buffer-alist from Elisp code.
10359
c5cde042
DN
103602011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10361
10362 * progmodes/python.el (python-mode): Derive from prog-mode.
10363 * progmodes/ps-mode.el (ps-mode):
10364 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10365 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10366 * progmodes/ld-script.el (ld-script-mode): Likewise.
10367
baa1c9ab
MR
103682011-06-15 Martin Rudalics <rudalics@gmx.at>
10369
10370 * window.el (display-buffer-alist): Trim default value to avoid
10371 popping up a new frame (Bug#8857) or reusing an arbitrary window
10372 on another frame.
10373 (display-buffer): Do not fall back on popping up a new frame in
10374 batch mode (Bug#8857).
10375
c5dd5a51
CY
103762011-06-14 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10379 (custom-theme-summary): New function.
10380 (customize-themes): Use it.
10381
d647b7c4
GM
103822011-06-13 Glenn Morris <rgm@gnu.org>
10383
10384 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10385
9481c002
MR
103862011-06-13 Martin Rudalics <rudalics@gmx.at>
10387
357f93d2
MR
10388 * help.el (help-window): Remove variable.
10389 (help-window-point-marker, temp-buffer-max-height)
10390 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10391 (help-print-return-message): Don't set help-window.
10392 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10393 (help-window-setup-finish): Remove.
10394 (help-window-display-message, help-window-setup)
10395 (with-help-window): Major rewrite based on new
10396 display-buffer-window variable.
10397
10398 * help-mode.el (help-mode-finish): Remove help-window related
10399 code.
10400
10401 * view.el (view-exits-all-viewing-windows): Remove reference to
10402 view-return-to-alist in doc-string.
10403 (view-return-to-alist): Make obsolete.
10404 (view-buffer): Call pop-to-buffer-same-window and remove
10405 undo-window code.
10406 (view-buffer-other-window): Call pop-to-buffer-other-window and
10407 simplify code. Ignore second argument.
10408 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10409 simplify code. Ignore second argument.
10410 (view-return-to-alist-update): Make obsolete.
10411 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10412 Rewrite using quit-restore window parameters.
2b75be67
SM
10413 (view-mode-exit): Rename second argument to EXIT-ONLY.
10414 Rewrite using quit-restore-window.
357f93d2
MR
10415 (View-exit, View-exit-and-edit, View-leave, View-quit)
10416 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10417 appropriate arguments.
10418 (view-end-message): Use quit-restore window parameter.
10419
9481c002
MR
10420 * window.el (display-buffer-function): Rewrite doc-string.
10421 (display-buffer-window, display-buffer-alist): New variables.
10422 (display-buffer-split-specifiers)
10423 (display-buffer-side-specifiers)
10424 (display-buffer-macro-specifiers): New constants.
10425 (display-buffer-even-window-sizes, display-buffer-set-height)
10426 (display-buffer-set-width, display-buffer-select-window)
10427 (display-buffer-in-window, display-buffer-reuse-window)
10428 (display-buffer-split-window-1, display-buffer-split-window)
10429 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10430 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10431 (display-buffer-in-side-window, normalize-buffer-to-display)
10432 (display-buffer-normalize-specifiers-1)
10433 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10434 (display-buffer-normalize-specifiers, display-buffer-frame):
10435 New functions.
9481c002
MR
10436 (display-buffer): Major rewrite.
10437 (display-buffer-other-window, display-buffer-other-frame)
10438 (pop-to-buffer, switch-to-buffer-other-window)
10439 (switch-to-buffer-other-frame): Rewrite.
10440 (display-buffer-same-window, display-buffer-same-frame)
10441 (display-buffer-same-frame-other-window)
10442 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10443 (pop-to-buffer-other-window)
10444 (pop-to-buffer-same-frame-other-window)
10445 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10446 (switch-to-buffer-other-window-same-frame): New functions.
10447 (same-window-p, special-display-p): Rewrite disabling warnings.
10448 Make obsolete.
10449 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10450 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10451 Make obsolete
10452 (same-window-buffer-names, same-window-regexps)
10453 (special-display-frame-alist, special-display-popup-frame)
10454 (special-display-function, special-display-buffer-names)
10455 (special-display-regexps, pop-up-frame-alist)
10456 (pop-up-frame-function, split-window-preferred-function)
10457 (split-height-threshold, split-width-threshold)
10458 (even-window-heights): Make obsolete.
10459
9db51aca
GM
104602011-06-12 Glenn Morris <rgm@gnu.org>
10461
10462 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10463 Misc simplifications.
9db51aca 10464
39cffb44
MR
104652011-06-12 Martin Rudalics <rudalics@gmx.at>
10466
10467 * window.el (window-safely-shrinkable-p): Restore function which
10468 was inadvertently removed in change from 2011-06-11. Declare as
10469 obsolete.
10470
2b75be67
SM
10471 * calendar/calendar.el (calendar-generate-window):
10472 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10473 window-safely-shrinkable-p.
10474
a8955be7
GM
104752011-06-12 Glenn Morris <rgm@gnu.org>
10476
10477 * progmodes/fortran.el (fortran-mode-syntax-table):
10478 * progmodes/f90.el (f90-mode-syntax-table):
10479 Set % to punctuation. (Bug#8820)
10480 (f90-find-tag-default): Remove, no longer needed.
10481
f0d4059d
DC
104822011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10483
10484 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10485
1100a63c
CY
104862011-06-11 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * image.el (image-animated-p): Return animation delay in seconds.
10489 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10490 (image-animate-timeout): Remove DELAY argument. Don't assume
10491 every subimage has the same delay; get it from image-animated-p.
10492 (image-animate): Caller changed.
10493
def722bf
MA
104942011-06-11 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10497 to ignored backtrace functions.
10498
0a2bb1a9
GM
104992011-06-11 Glenn Morris <rgm@gnu.org>
10500
10501 * calendar/appt.el (appt-disp-window-function): Doc fix.
10502 (appt-check): Handle overlapping appointments. (Bug#8337)
10503
6198ccd0
MR
105042011-06-11 Martin Rudalics <rudalics@gmx.at>
10505
10506 * window.el (window-tree-1, window-tree): New functions, moving
10507 the latter to window.el.
10508 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10509 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10510 (bw-refresh-edges): Remove.
10511 (balance-windows-1, balance-windows-2): New functions.
10512 (balance-windows): Rewrite in terms of window tree functions,
10513 balance-windows-1 and balance-windows-2.
10514 (bw-adjust-window): Remove.
10515 (balance-windows-area-adjust): New function with functionality of
10516 bw-adjust-window but using resize-window.
2b75be67
SM
10517 (set-window-text-height): Rewrite doc-string.
10518 Use normalize-live-window and resize-window.
10519 (enlarge-window-horizontally, shrink-window-horizontally):
10520 Rename argument to DELTA.
6198ccd0
MR
10521 (window-buffer-height): New function.
10522 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10523 Rewrite using new window resize routines.
2b75be67
SM
10524 (kill-buffer-and-window, mouse-autoselect-window-select):
10525 Use ignore-errors instead of condition-case.
6198ccd0
MR
10526 (quit-window): Call delete-frame instead of delete-windows-on
10527 for the only buffer on frame.
10528
9397e56f
MR
105292011-06-10 Martin Rudalics <rudalics@gmx.at>
10530
10531 * loadup.el (top-level): Load window before files for the sake
10532 of replace-buffer-in-windows.
10533
10534 * files.el (read-buffer-to-switch)
10535 (switch-to-buffer-other-window)
2b75be67
SM
10536 (switch-to-buffer-other-frame, display-buffer-other-frame):
10537 Move to window.el.
9397e56f
MR
10538
10539 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10540 (previous-buffer): Move to window.el.
10541
10542 * bindings.el (unbury-buffer): Move to window.el.
10543
10544 * window.el (delete-other-windows-vertically): Move after
10545 definition of delete-other-windows.
10546 (other-window, delete-windows-on, replace-buffer-in-windows):
10547 Move here from window.c.
10548 (record-window-buffer, unrecord-window-buffer)
10549 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10550 (switch-to-next-buffer): New functions.
10551 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10552 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10553 (previous-buffer): Move here from simple.el.
10554 Call switch-to-prev-buffer.
9397e56f
MR
10555 (bury-buffer): Move here from buffer.c. Switch to previous
10556 buffer when window cannot be deleted.
10557 (unbury-buffer): Move here from bindings.el.
10558 (ctl-x-map): Move binding for other-window from window.c to
10559 here.
10560 (read-buffer-to-switch, switch-to-buffer-other-window)
10561 (switch-to-buffer-other-frame): Move here from files.el.
10562 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10563 (switch-to-buffer): Move here from buffer.c.
10564 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10565
562dd5e9
MR
105662011-06-10 Martin Rudalics <rudalics@gmx.at>
10567
10568 * window.el (window-min-height, window-min-width): Move here
10569 from window.c. Add defcustoms and rewrite doc-strings.
10570 (resize-mini-window, resize-window): New functions.
10571 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10572 Move here from window.c.
10573 (maximize-window, minimize-window): New functions.
10574 (delete-window, delete-other-windows, split-window): Move here
10575 from window.c.
10576 (window-split-min-size): New function.
10577 (split-window-keep-point): Mention split-window-above-each-other
10578 instead of split-window-vertically.
2b75be67 10579 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10580 Rename split-window-vertically to split-window-above-each-other
10581 and provide defalias for old definition.
10582 (split-window-side-by-side, split-window-horizontally):
10583 Rename split-window-horizontally to split-window-side-by-side
10584 and provide defalias for the old definition.
562dd5e9
MR
10585 (ctl-x-map): Move bindings for delete-window,
10586 delete-other-windows and enlarge-window here from window.c.
10587 Replace bindings for split-window-vertically and
10588 split-window-horizontally by bindings for
10589 split-window-above-each-other and split-window-side-by-side.
10590
10591 * cus-start.el (all): Remove entries for window-min-height and
10592 window-min-width. Add entries for window-splits and
10593 window-nest.
10594
f0da764a
GM
105952011-06-09 Glenn Morris <rgm@gnu.org>
10596
80675c21
GM
10597 * calendar/appt.el (appt-mode-line): New function.
10598 (appt-check, appt-disp-window): Use it.
10599
f0da764a
GM
10600 * files.el (hack-one-local-variable-eval-safep):
10601 Allow minor-modes with explicit +/-1 arguments.
10602
59f623b7
TZ
106032011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10604
10605 * term/xterm.el (xterm): Add defgroup.
10606 (xterm-extra-capabilities): Add defcustom to supply known xterm
10607 capabilities, skip querying them, or query them (default).
10608 (terminal-init-xterm): Use it.
10609 (terminal-init-xterm-modify-other-keys): New function to set up
10610 modifyOtherKeys support to simplify `terminal-init-xterm'.
10611
9aab8e0d
MR
106122011-06-09 Martin Rudalics <rudalics@gmx.at>
10613
10614 * window.el (resize-window-reset, resize-window-reset-1)
10615 (resize-subwindows-skip-p, resize-subwindows-normal)
10616 (resize-subwindows, resize-other-windows, resize-this-window)
10617 (resize-root-window, resize-root-window-vertically)
10618 (window-deletable-p, window-or-subwindow-p)
10619 (frame-root-window-p): New functions.
10620
e8b08aee
GM
106212011-06-09 Glenn Morris <rgm@gnu.org>
10622
10623 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10624 (ange-ftp-get-files): Use it.
10625
254c37a5
AK
106262011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10627
10628 * mail/sendmail.el (mail-recover-1, mail-recover):
10629 * files.el (recover-file, recover-session):
10630 Handle dired-listing-switches not being just a single short option.
10631
35d7dbd3
GM
106322011-06-09 Glenn Morris <rgm@gnu.org>
10633
10634 * calendar/appt.el (appt-display-message, appt-disp-window):
10635 Handle lists of appointments.
10636
387522b2
MR
106372011-06-08 Martin Rudalics <rudalics@gmx.at>
10638
2b75be67
SM
10639 * window.el (one-window-p): Move down in code.
10640 Rewrite doc-string.
10641 (window-current-scroll-bars): Rewrite doc-string.
10642 Normalize live window argument.
387522b2
MR
10643 (walk-windows, get-window-with-predicate, count-windows):
10644 Rewrite doc-string. Use window-list-1.
10645 (window-in-direction-2, window-in-direction, get-mru-window):
10646 New functions.
10647
d8e4b68b 106482011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10649
10650 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10651 Doc fix (Bug#8713).
10652
106532011-06-08 Chong Yidong <cyd@stupidchicken.com>
10654
10655 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10656
106572011-06-08 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * loadhist.el (unload-feature-special-hooks):
10660 Add `comint-output-filter-functions'.
10661
0de12c52
IK
106622011-06-08 Ivan Kanis <gnu@kanis.fr>
10663
10664 * calendar/appt.el (appt-check): Move some initializations into the let.
10665
f3d1777e
MR
106662011-06-08 Martin Rudalics <rudalics@gmx.at>
10667
10668 * window.el (window-height): Defalias to window-total-height.
10669 (window-width): Defalias to window-body-width.
10670
18af70d0
CY
106712011-06-07 Chong Yidong <cyd@stupidchicken.com>
10672
10673 * image-mode.el (image-toggle-animation): New command.
10674 (image-mode-map): Bind it to RET.
10675 (image-mode): Update message.
10676 (image-toggle-display-image): Avoid a spurious cache flush.
10677 (image-transform-rotation): Doc fix.
10678 (image-transform-properties): Return quickly in the normal case.
10679 (image-animate-loop): Rename from image-animate-max-time.
10680
2b75be67 10681 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10682 (create-animated-image): Remove unnecessary function.
10683 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10684 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10685 (image-animate-timer): Use car-safe.
10686 (image-animate-timeout): Rename argument.
10687
190b47e6
MR
106882011-06-07 Martin Rudalics <rudalics@gmx.at>
10689
10690 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10691 window.c. Rename first argument to ALL-FRAMES.
10692 Rephrase doc-strings.
10693 (get-buffer-window-list): Rewrite using window-list-1.
10694 Rephrase doc-string.
a1511caf
MR
10695 (window-safe-min-height, window-safe-min-width): New constants.
10696 (window-size-ignore, window-min-size, window-min-size-1)
10697 (window-sizable, window-sizable-p, window-size-fixed-1)
10698 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10699 (window-max-delta-1, window-max-delta, window-resizable)
10700 (window-resizable-p, window-total-height, window-total-width)
10701 (window-body-width): New functions.
10702 (window-full-height-p, window-full-width-p): Rewrite using
10703 window-total-size.
10704 (window-body-height): Rewrite using window-body-size.
190b47e6 10705
85cc1f11
MR
107062011-06-06 Martin Rudalics <rudalics@gmx.at>
10707
10708 * window.el (window-right, window-left, window-child)
10709 (window-child-count, window-last-child, window-any-p)
10710 (normalize-live-buffer, normalize-live-frame)
10711 (normalize-any-window, normalize-live-window)
10712 (window-iso-combination-p, window-iso-combined-p)
10713 (window-iso-combinations)
10714 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10715 (windows-with-parameter, window-with-parameter)
10716 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10717 (window-atom-check, window-side-check, window-check):
10718 New functions.
85cc1f11
MR
10719 (ignore-window-parameters, window-sides, window-sides-vertical)
10720 (window-sides-slots): New variables.
10721 (window-size-fixed): Move down in code. Minor doc-string fix.
10722
e7156492
AS
107232011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 * comint.el (comint-dynamic-complete-as-filename)
10726 (comint-dynamic-complete-filename): Correctly call
10727 completion-in-region.
10728
7e821d0d
DD
107292011-06-05 Deniz Dogan <deniz@dogan.se>
10730
10731 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10732 in last change.
10733
ac09b8a1
DD
107342011-06-05 Deniz Dogan <deniz@dogan.se>
10735
10736 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10737 (rcirc): Use it to prompt for encryption.
10738
34699b85
RW
107392011-06-05 Roland Winkler <winkler@gnu.org>
10740
10741 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10742 (bibtex-search-entries): New command bound to C-c C-a.
10743 (bibtex-display-entries): New function.
10744
004dedd3
RW
107452011-06-05 Roland Winkler <winkler@gnu.org>
10746
10747 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10748 (bibtex-insert-kill): After yanking insert newline if necessary.
10749 (bibtex-initialize): Call bibtex-string-files-init only once.
10750 (bibtex-mode): Do not call easy-menu-add.
10751 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10752 (bibtex-yank): Set arg properly if nil.
10753
022fe7ce
RW
107542011-06-05 Roland Winkler <winkler@gnu.org>
10755
2b75be67
SM
10756 * textmodes/bibtex.el (bibtex-search-entry-globally):
10757 New variable.
022fe7ce
RW
10758 (bibtex-search-entry): Use it.
10759
b7c3692a
RW
107602011-06-05 Roland Winkler <winkler@gnu.org>
10761
10762 * textmodes/bibtex.el (bibtex-entry-format): New option
10763 sort-fields.
10764 (bibtex-format-entry, bibtex-reformat): Honor this option.
10765 (bibtex-parse-entry): Return fields in proper order.
10766
8eda563d
JB
107672011-06-05 Juanma Barranquero <lekktu@gmail.com>
10768
10769 * doc-view.el (doc-view-remove-if): Move computation of result out
10770 of `dolist' to silence misleading lexical-binding warning.
10771
7dbe3dbc
CY
107722011-06-04 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10775 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10776
0c33dd17
MA
107772011-06-04 Michael Albinus <michael.albinus@gmx.de>
10778
10779 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10780 "SunOS 5.10".
10781
f8f91c2b
MA
107822011-06-04 Michael Albinus <michael.albinus@gmx.de>
10783
10784 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10785 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10786 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10787 (tramp-parse-putty):
10788 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10789 (tramp-completion-function-alist-ssh)
10790 (tramp-completion-function-alist-telnet)
10791 (tramp-completion-function-alist-su)
10792 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10793 cookie.
10794
10795 * net/tramp-ftp.el:
10796 * net/tramp-sh.el:
10797 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10798 load "tramp.el" `tramp-set-completion-function'.
10799
e17d9003
SM
108002011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * shell.el: Require and use pcomplete.
10803 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10804 (shell-completion-vars): Set pcomplete-default-completion-function.
10805
6c4cab03
DD
108062011-06-04 Deniz Dogan <deniz@dogan.se>
10807
10808 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10809 `memq' (Bug#8799).
10810
ea9fafe0
SM
108112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10814
b3e945d3
JB
108152011-06-02 Juanma Barranquero <lekktu@gmail.com>
10816
10817 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10818 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10819 * vc/log-view.el (log-view-beginning-of-defun):
10820 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10821 (smerge-refine-forward, smerge-refine-chopup-region):
10822 Silence warning for unused `dotimes' counter variables.
10823
7d520089
SM
108242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * net/tramp.el (tramp-with-progress-reporter): Rename from
10827 with-progress-reporter. Use `declare'.
10828 * net/tramp-smb.el:
10829 * net/tramp-sh.el:
10830 * net/tramp-gvfs.el: Update all uses.
10831
a1c2400f
JB
108322011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10833
10834 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10835 buffer isn't killed before making it current.
10836
2403c841
SM
108372011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10838
10839 Silence various byte-compiler warnings.
10840 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10841 `access-type' and new obsolescence format.
10842 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10843 new format.
10844 (byte-compile-check-variable): New `access-type' argument.
10845 Only warn if the access-type is obsolete.
10846 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10847 (byte-compile-variable-set): Adjust callers.
10848 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10849 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10850 setting it as obsolete.
10851 * simple.el (minibuffer-completing-symbol):
10852 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10853 access as obsolete.
10854 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10855 obsolete yet.
10856 * international/quail.el (quail-mouse-choose-completion): Remove unused
10857 code referring to obsolete var.
10858 (quail-choose-completion-string): Remove.
10859 * server.el (server-clients-with, server-kill-buffer-query-function)
10860 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10861 * proced.el (proced-send-signal):
10862 * emacs-lisp/lisp.el (lisp-complete-symbol):
10863 Replace completion-annotate-function with completion-extra-properties.
10864
2462470b
SM
108652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10866
fb5b2591
SM
10867 * simple.el (goto-line): Use read-number.
10868 (overriding-map-is-bound): Remove.
10869 (saved-overriding-map): Change default.
10870 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10871 Take the map as argument.
10872 (universal-argument, negative-argument, digit-argument): Use it.
10873 (restore-overriding-map): Adjust.
10874 (do-auto-fill): Use fill-forward-paragraph.
10875 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10876
fd6fa53f
SM
10877 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10878 (minibuffer-inactive-mode): New major mode.
10879 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10880 the *Messages* buffer" hack.
10881 (mouse-popup-menubar): Don't burp if the event is a normal key.
10882
2462470b
SM
10883 Miscellaneous tweaks.
10884 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10885 lexical scoping as in subr.el's dolist and dotimes.
10886 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10887 Silence compiler warning.
10888 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10889 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10890 * international/ccl.el (ccl-compile): Trivial simplification.
10891 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10892 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10893 `printflag' argument.
10894 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10895 Purecopy the whole obsolescence data.
10896
108bf785
LL
108972011-06-01 Leo Liu <sdl.web@gmail.com>
10898
10899 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10900 improve doc-string as suggested by Marco Pessotto
10901 <melmothx@gmail.com>.
10902 (rcirc-print): Fix last change.
10903
30a23501
SM
109042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * minibuffer.el (complete-with-action): Return nil for the metadata and
10907 boundaries of non-functional tables.
10908 (completion-table-dynamic): Return nil for the metadata.
10909 (completion-table-with-terminator): Add default case, using
10910 complete-with-action.
10911 (completion--metadata): New function.
10912 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10913 to try and avoid pathological performance problems.
10914 (completion--embedded-envvar-table): Return `category' metadata.
10915
bcd54f83
LMI
109162011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10917
10918 * subr.el (process-alive-p): New tiny convenience function.
10919
e227544d
SM
109202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10923 content but also its previous major mode.
10924
e8296fdc
HE
109252011-05-31 Helmut Eller <eller.helmut@gmail.com>
10926
4d61f28d 10927 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10928 *Backtrace* buffer when we exit with C-M-c.
10929
620c53a6
SM
109302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * minibuffer.el: Add metadata method to completion tables.
10933 (completion-category-overrides): New defcustom.
10934 (completion-metadata, completion--field-metadata)
10935 (completion-metadata-get, completion--styles)
10936 (completion--cycle-threshold): New functions.
10937 (completion-try-completion, completion-all-completions):
10938 Add `metadata' argument to choose completion-styles.
10939 (completion--do-completion): Use metadata to choose cycling.
10940 (completion-all-sorted-completions): Use metadata for sorting.
10941 Remove :completion-cycle-penalty which is not needed any more.
10942 (completion--try-word-completion): Add `metadata' argument.
10943 (minibuffer-completion-help): Check metadata for annotation function
10944 and sorting.
10945 (completion-file-name-table): Return `category' metadata.
10946 (minibuffer-completing-file-name): Make obsolete.
10947 * simple.el (minibuffer-completing-symbol): Make obsolete.
10948 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10949 completion-try-completion.
10950
1257e755
SM
109512011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10954
3767e706
LL
109552011-05-30 Leo Liu <sdl.web@gmail.com>
10956
10957 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10958 (rcirc-print): Decode all incoming messages (bug#8744).
10959 (rcirc-decode-coding-system): Allow value nil for automatic coding
10960 system detection.
3767e706 10961
d1a5d56a
GM
109622011-06-01 Glenn Morris <rgm@gnu.org>
10963
10964 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10965
e8cbec34
CY
109662011-05-29 Chong Yidong <cyd@stupidchicken.com>
10967
10968 * image.el (image-animate-max-time): Allow nil and t values.
10969 Default to nil.
10970 (create-animated-image): Doc fix.
10971 (image-animate-start): Remove second arg; just use
10972 image-animate-max-time.
10973 (image-animate-timeout): Doc fix. Args changed.
10974
10975 * image-mode.el (image-toggle-display-image): Ensure that the
10976 image spec passed to the animate timer is the same object as in
58179cce 10977 the buffer's display property (Bug#6981).
e8cbec34
CY
10978 (image-transform-properties): Doc fix.
10979
10980 * image.el (image-animate-max-time): Default to nil.
10981
159daf87
MR
109822011-05-29 Martin Rudalics <rudalics@gmx.at>
10983
10984 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10985 entire buffer list (Bug#8184).
10986
d66c4c7c
CY
109872011-05-29 Chong Yidong <cyd@stupidchicken.com>
10988
10989 * image.el (imagemagick-types-inhibit)
10990 (imagemagick-register-types): Doc fix.
10991
80aec780
DD
109922011-05-29 Deniz Dogan <deniz@dogan.se>
10993
10994 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10995 default.
10996
1dd3c2d9
CY
109972011-05-29 Chong Yidong <cyd@stupidchicken.com>
10998
10999 * select.el: Don't perform clipboard-manager saving in hooks;
11000 leave the hooks empty.
11001
60e56523
LL
110022011-05-28 Leo Liu <sdl.web@gmail.com>
11003
11004 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11005 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11006 (occur-edit-mode): New major mode (Bug#8463).
11007 (occur-after-change-function): New function.
11008 (occur-engine): Give Occur tags a read-only property.
11009
2b1e1a22
KR
110102011-05-28 Kevin Ryde <user42@zip.com.au>
11011
11012 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11013
5d344e88
CY
110142011-05-28 Chong Yidong <cyd@stupidchicken.com>
11015
8e6ca83d
CY
11016 * bindings.el (help-echo): Make the initial non-indicator dash
11017 empty on graphical terminals (Bug#7295).
11018
5d344e88
CY
11019 * files.el (auto-mode-alist): Move config rule after the
11020 in-stripping one (Bug#8547).
11021
bfbbace7
CY
11022 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11023
fbeba6e2
CY
11024 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11025 setting (Bug#8740).
11026
60ed8c72
AA
110272011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11028
4ac619f0
AA
11029 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11030 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11031 (Bug#8539).
60ed8c72 11032
23db196e
CY
110332011-05-28 Chong Yidong <cyd@stupidchicken.com>
11034
11035 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11036
5012f24c
DK
110372011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11038
11039 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11040 (hs-hide-block-at-point, hs-find-block-beginning)
11041 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11042 (Bug#8279).
11043
6a639b16
GM
110442011-05-28 Glenn Morris <rgm@gnu.org>
11045
11046 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11047
d43eaf2c
CY
110482011-05-28 Chong Yidong <cyd@stupidchicken.com>
11049
5199bde1
CY
11050 * help-fns.el (describe-function-1): If the function is a derived
11051 major mode, print the parent mode.
11052
d43eaf2c
CY
11053 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11054 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11055
423428a8
SM
110562011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11057
0ff8e1ba 11058 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11059 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11060 * progmodes/etags.el (tags-completion-at-point-function):
11061 * info-look.el (info-lookup-completions-at-point): Mark as
11062 non-exclusive.
11063 (info-complete): Adjust accordingly.
11064
423428a8
SM
11065 * info-look.el: Convert to lexical-binding and completion-at-point.
11066 (info-lookup-completions-at-point): New function.
11067 (info-complete): Use it and completion-in-region.
11068
b74aa22b
DA
110692011-05-28 Drew Adams <drew.adams@oracle.com>
11070
11071 * isearch.el: Let M-e start with point at the first mismatched char.
11072 (isearch-fail-pos): New function.
11073 (isearch-edit-string): Use it.
11074
66e2e71d
DK
110752011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11076
11077 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11078
b1890b0f 110792011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11080
11081 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11082 traversal functions for avl-trees.
11083 (avl-tree--stack): New struct.
11084 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11085 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11086 (avl-tree--do-enter): Add optional `updatefun' arg.
11087 Change return value.
eb95d01d 11088 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11089 (avl-tree--do-delete): Add `test' and `nilflag' args.
11090 Change return value.
eb95d01d
TC
11091 (avl-tree-member): Add optional `nilflag'
11092 (avl-tree-member-p): New function.
11093 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11094 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11095 (avl-tree-stack-empty-p): New functions.
11096
3769ddcf
TC
11097 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11098 avl-tree--del-balance1 and make it work both ways.
11099 (avl-tree--del-balance2): Remove.
11100 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11101 make it work both ways.
11102 (avl-tree--enter-balance2): Remove.
11103 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11104 New macros.
11105 (avl-tree--mapc, avl-tree-map): Add direction argument.
11106
eb95d01d 111072011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11108
11109 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11110
a9f737ee
CY
111112011-05-27 Chong Yidong <cyd@stupidchicken.com>
11112
11113 * select.el: Support clipboard managers with built-in function
11114 x-clipboard-manager-save, via delete-frame-functions and
11115 kill-emacs-hook.
11116 (xselect-convert-to-targets): Add MULTIPLE target to list.
11117 (xselect-convert-to-save-targets): New function.
11118
c92a1e54
KH
111192011-05-27 Kenichi Handa <handa@m17n.org>
11120
11121 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11122 let-binding rfc2047-encode-encoded-words to nil.
11123
e145f188
GM
111242011-05-27 Glenn Morris <rgm@gnu.org>
11125
5ec8a862
GM
11126 * mail/emacsbug.el: Don't require url-util.
11127
4b29d9fb
GM
11128 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11129
e145f188
GM
11130 * files.el (set-auto-mode):
11131 Also respect mode: entries at the end of the file. (Bug#8586)
11132
7d15102b
GM
111332011-05-26 Glenn Morris <rgm@gnu.org>
11134
98f593b8
GM
11135 * files.el (hack-local-variables-prop-line, hack-local-variables):
11136 Downcase mode names, as seems to be traditional.
27b48e63 11137 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11138
7d15102b
GM
11139 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11140 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11141
51d5b4ec
JD
111422011-05-25 Julien Danjou <julien@danjou.info>
11143
11144 * textmodes/rst.el (rst-define-level-faces): Do not define face
11145 symbol if it is already defined.
11146
91513f63
VB
111472011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11148
11149 * play/5x5.el (5x5-new-game, 5x5-randomize):
11150 Reset 5x5-solver-output to nil when a new grid is cast.
11151 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11152 these debugging traces, as defmacro breaks the compiled code.
11153
4d90d6d0
DK
111542011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11155
11156 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11157
e1b90ef6
LL
111582011-05-24 Leo Liu <sdl.web@gmail.com>
11159
11160 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11161 (vc-bzr-sha1): Adapt.
11162
d8e4b68b 11163 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11164
11165 * bindings.el: Provide sha1 feature.
11166
db0406bb 111672011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11168
11169 * mail/sendmail.el: Require `rfc2047'.
11170 (mail-insert-from-field): Do not perform RFC2047 encoding.
11171 (mail-encode-header): New function.
11172 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11173 buffer to the return value of select-message-coding-system.
11174 Call mail-encode-header.
b8d747b9
KH
11175
11176 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11177
db0406bb 111782011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11179
4d90d6d0
DK
11180 * mail/supercite.el (sc-default-cite-frame):
11181 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11182
eb8a5e9b
GM
111832011-05-24 Glenn Morris <rgm@gnu.org>
11184
f8630703
GM
11185 * progmodes/python.el (brm-menu): Declare.
11186
8831bbed
GM
11187 * emulation/viper.el (viper-set-hooks): Declare.
11188
eb8a5e9b
GM
11189 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11190 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11191 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11192 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11193 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11194 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11195
a2a25d24
SM
111962011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11197
11198 Add an :exit-function for completion-at-point.
11199
11200 * minibuffer.el (completion--done): New fun.
11201 (completion--do-completion): Use it. New arg `expect-exact'.
11202 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11203 since completion--do-completion does it for us now.
11204 (minibuffer-force-complete): Use completion--done and
11205 completion--replace. Handle sole-completion case with more care.
11206 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11207 (completion-extra-properties): New var.
11208 (completion-annotate-function): Make obsolete.
11209 (minibuffer-completion-help): Adjust accordingly.
11210 Use completion-list-insert-choice-function.
11211 (completion-at-point, completion-help-at-point):
11212 Bind completion-extra-properties.
11213 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11214 * simple.el (completion-list-insert-choice-function): New var.
11215 (completion-setup-function): Preserve it.
11216 (choose-completion): Pay attention to it, shuffle the code a bit.
11217 (choose-completion-string): New arg `insert-function'.
11218
11219 * textmodes/bibtex.el: Convert to lexical binding.
11220 (bibtex-mode-map): Use completion-at-point.
11221 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11222 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11223 (bibtex-complete): Define as obsolete alias.
11224 (bibtex-complete-internal): Remove.
11225 (bibtex-format-entry): Remove unused sub-group in regexp.
11226 * shell.el (shell--command-completion-data)
11227 (shell-environment-variable-completion):
11228 * pcomplete.el (pcomplete-completions-at-point):
11229 * comint.el (comint--complete-file-name-data): Use :exit-function
11230 instead of completion-table-with-terminator so it also works for
11231 choose-completion.
11232
e44e373d
SM
112332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11234
4f91a816
SM
11235 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11236
782fc819
SM
11237 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11238 (bug#8710).
11239
e44e373d
SM
11240 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11241
381987c3
KM
112422011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11243
11244 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11245 customization variable and implement: If non-nil, auto-fill will
11246 be inhibited while on topic's header line.
11247
b776bc70
VB
112482011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11249
11250 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11251 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11252 always have a solution in grid size = 5 cases.
11253 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11254 (5x5-solver-output, 5x5-log-buffer): New vars.
11255 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11256 Make these variables buffer local to achieve 5x5 multi-session-ness.
11257 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11258 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11259 (5x5-solve-suggest): New funs.
11260 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11261 randomize a grid so that we ensure that there is always a solution.
11262 (5x5-make-random-grid): Allow other movement than flipping.
11263
7de88b6e
KR
112642011-05-23 Kevin Ryde <user42@zip.com.au>
11265
11266 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11267 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11268 advice and passes PREDICATE.
11269
b1ef1257
SM
112702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11271
bbca48fe
SM
11272 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11273 byte-compile-lambda if it's actually a lambda.
11274
b1ef1257
SM
11275 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11276 Fix function quoting. Use backquote better.
11277
92a9cc65
YS
112782011-05-22 Yuanle Song <sylecn@gmail.com>
11279
11280 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11281 matching (Bug#8516).
11282
f0fb8059
JA
112832011-01-22 Jari Aalto <jari.aalto@cante.net>
11284
11285 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11286 different face (Bug#8178).
11287
d5b44c93
CY
112882011-05-22 Chong Yidong <cyd@stupidchicken.com>
11289
11290 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11291 defface (Bug#8144).
11292
79106a44
SM
112932011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11294
9c848d8a
SM
11295 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11296 funcall as well (bug#8712). Warn when performing those conversions.
11297 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11298
79106a44
SM
11299 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11300
88dfa756
GM
113012011-05-22 Glenn Morris <rgm@gnu.org>
11302
11303 * files.el (hack-local-variables-prop-line): Small simplifications.
11304 (hack-local-variables, hack-local-variables-prop-line):
11305 If MODE-ONLY, return the mode, rather than just `t'.
11306
b7cf2c79
SM
113072011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11310
3f1a8558
GM
113112011-05-21 Glenn Morris <rgm@gnu.org>
11312
7e4ccca3
GM
11313 * files.el (hack-local-variables-prop-line, hack-local-variables):
11314 If only interested in the mode, don't bother doing the other stuff.
11315
637d46ca
GM
11316 * image-mode.el (image-after-revert-hook):
11317 Redraw all frames on which the image is visible. (Bug#8567)
11318
973d955b
GM
11319 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11320
3f1a8558
GM
11321 * wid-edit.el (widget-checklist-match-inline):
11322 Fix 2011-04-19 change. (Bug#8649)
11323
96479927
SM
113242011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11325
1dcf791f
SM
11326 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11327 Also allow singlespace after single-letter capitals followed by a dot.
11328
96479927
SM
11329 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11330 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11331
35fd0881
N
113322011-05-20 Nix <nix@esperi.org.uk>
11333
11334 * files.el (basic-save-buffer-2):
11335 Fix handling of break-hardlink-on-save with non-existent files.
11336
82745640
DD
113372011-05-19 Deniz Dogan <deniz@dogan.se>
11338
11339 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11340 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11341
4a720484
GM
113422011-05-19 Glenn Morris <rgm@gnu.org>
11343
d1f21341
GM
11344 * progmodes/f90.el (f90-type-def-re):
11345 Handle "type, bind(c)". (Bug#8691)
11346
4a720484
GM
11347 * emacs-lisp/autoload.el (batch-update-autoloads):
11348 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11349
2fb0a219
MA
113502011-05-18 Michael Albinus <michael.albinus@gmx.de>
11351
11352 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11353 property for the correct connection in case of multihops.
11354
e565dd37
GM
113552011-05-18 Glenn Morris <rgm@gnu.org>
11356
c2571358 11357 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11358 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11359
e565dd37
GM
11360 Rationalize calendar handling of day and month abbrev-arrays.
11361 * calendar/calendar.el (calendar-customized-p): New function.
11362 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11363 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11364 Add :set function.
11365 (calendar-abbrev-length, calendar-day-abbrev-array)
11366 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11367 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11368 Elements may no longer be nil.
11369 (calendar-day-name, calendar-month-name):
11370 Update for changed nature of abbrev arrays.
11371 * calendar/diary-lib.el (diary-name-pattern):
11372 Update for changed nature of abbrev arrays.
11373 (diary-mark-entries-1): Update calendar-make-alist calls.
11374 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11375 * calendar/cal-html.el (cal-html-day-abbrev-array):
11376 Simply inherit from calendar-day-abbrev-array.
11377
1d99a745
SM
113782011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * progmodes/grep.el (grep-mode): Disable default
11381 compilation-directory-matcher setting (bug#8684).
11382
7c1d9aa0
MA
113832011-05-17 Michael Albinus <michael.albinus@gmx.de>
11384
11385 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11386 instead of "head" and "tail". There were problems with SunOS 5.9,
11387 and it performs better.
11388
3952e9d8
GM
113892011-05-17 Glenn Morris <rgm@gnu.org>
11390
2dd12e7f
GM
11391 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11392
e4157b9c
GM
11393 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11394 Replace obsolete function.
11395
8e249bbd
GM
11396 * shell.el (pcomplete-parse-arguments-function): Declare.
11397
3952e9d8
GM
11398 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11399 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11400 (appt-check): Doc fixes.
11401 (appt-disp-window-function, appt-delete-window-function):
11402 Remove needless special case in custom :type.
11403 (appt-display-count): Default to 0, not nil.
11404 (appt-check): Reset appt-display-count to 0, not nil.
11405
c71a0d48 114062011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11407
c71a0d48
GM
11408 * progmodes/python.el (python-font-lock-keywords):
11409 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11410
31d55be9
SM
114112011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11414
3bfacb2f
KR
114152011-05-16 Kevin Ryde <user42@zip.com.au>
11416
11417 * info-look.el (makefile-automake-mode): New setups, looking in
11418 automake manual, then makefile-mode.
11419 (makefile-mode): Remove automake manual, have it just in
11420 makefile-automake-mode since there's various things different or
11421 not relevant to plain make.
11422 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11423 believe a hypothetical automake-mode would go to makefile-mode,
11424 not the other way around.
11425
c8e83751
CY
114262011-05-15 Chong Yidong <cyd@stupidchicken.com>
11427
5e9e35cd
CY
11428 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11429 hunk-end tags (Bug#8672).
11430
c8e83751
CY
11431 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11432 vc-annotate-show-diff-revision-at-line (Bug#8671).
11433
50b23e5a
GM
114342011-05-14 Glenn Morris <rgm@gnu.org>
11435
7210a739
GM
11436 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11437 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11438 (change-log-font-lock-keywords): Also handle multiple author lines
11439 with leading tabs. (Bug#8644)
7210a739 11440
4691905a
GM
11441 * calendar/appt.el (appt-check): Rename some local variables.
11442 Some simplification/reordering.
11443
50b23e5a
GM
11444 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11445 (feedmail-sendmail-f-doesnt-sell-me-out)
11446 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11447 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11448 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11449 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11450 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11451 (feedmail-binmail-gnulinuxish-template):
11452 Rename from feedmail-binmail-linuxish-template.
11453 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11454 Use insert-buffer-substring.
11455
215cda7c
BC
114562011-05-14 Bill Carpenter <bill@carpenter.org>
11457
11458 * mail/feedmail.el (feedmail-patch-level): Increase.
11459 (feedmail-debug): New custom group.
11460 (feedmail-confirm-outgoing-timeout)
11461 (feedmail-sendmail-f-doesnt-sell-me-out)
11462 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11463 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11464 (feedmail-sender-line, feedmail-from-line)
11465 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11466 (feedmail-spray-this-address)
215cda7c
BC
11467 (feedmail-spray-address-fiddle-plex-list)
11468 (feedmail-queue-use-send-time-for-date)
11469 (feedmail-queue-use-send-time-for-message-id)
11470 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11471 (feedmail-buffer-eating-function):
11472 Doc fixes.
11473 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11474 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11475 (feedmail-message-action-scroll-down): New functions.
11476 (feedmail-queue-directory, feedmail-queue-draft-directory):
11477 Use expand-file-name.
11478 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11479 Remove C-v help entry.
11480 (feedmail-queue-buffer-file-name): New variable.
11481 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11482 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11483 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11484 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11485 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11486 (feedmail-message-action-toggle-spray)
11487 (feedmail-run-the-queue-no-prompts)
11488 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11489 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11490 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11491 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11492 (feedmail-envelope-deducer, feedmail-fiddle-from)
11493 (feedmail-fiddle-sender, feedmail-default-date-generator)
11494 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11495 (feedmail-fiddle-spray-address)
11496 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11497 (feedmail-fiddle-list-of-fiddle-plexes)
11498 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11499 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11500 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11501 Change default. Doc fix.
11502 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11503 (feedmail-binmail-linuxish-template): New constant.
11504 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11505 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11506 (feedmail-send-it): Add debug call.
11507 Use feedmail-queue-buffer-file-name, and
11508 feedmail-send-it-immediately-wrapper.
11509 (feedmail-message-action-send): Add debug call.
11510 Use feedmail-send-it-immediately-wrapper.
11511 (feedmail-queue-express-to-queue): Add debug call.
11512 Run feedmail-queue-express-hook.
11513 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11514 (feedmail-message-action-help-blat):
11515 Rename from feedmail-queue-send-edit-prompt-help-first.
11516 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11517 Check line-endings. Handle errors better.
11518 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11519 Doc fix. Add debug call.
11520 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11521 Use feedmail-queue-send-edit-prompt-inner.
11522 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11523 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11524 from feedmail-queue-send-edit-prompt.
11525 (feedmail-queue-send-edit-prompt-help)
11526 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11527 (feedmail-tidy-up-slug): Add debug call.
11528 Respect feedmail-queue-slug-suspect-regexp.
11529 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11530 (feedmail-dump-message-to-queue): Add debug call.
11531 Expand queue-directory.
11532 (feedmail-dump-message-to-queue): Change message slightly.
11533 Use feedmail-say-chatter.
11534 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11535 (feedmail-send-it-immediately-wrapper): New function.
11536 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11537 Insert empty string rather than newline. Handle full-frame case.
11538 Use catch/throw. Use feedmail-say-chatter.
11539 (feedmail-fiddle-from): Try mail-host-address.
11540 (feedmail-default-message-id-generator): Doc fix.
11541 Bind system-time-locale. Handle missing end.
11542 (feedmail-fiddle-x-mailer): Add debug call.
11543 Handle feedmail-x-mailer-line being nil.
11544 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11545 Add debug call. Use buffer-substring-no-properties.
11546 (feedmail-say-debug, feedmail-say-chatter): New functions.
11547 (feedmail-find-eoh): Give an explicit error.
11548
42c7e61e
UJ
115492011-05-13 Ulf Jasper <ulf.jasper@web.de>
11550
c2571358 11551 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11552 family from helvetica to sans.
c2571358 11553 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11554 etc/images/newsticker.
11555
c2571358 11556 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11557 family from helvetica to sans.
11558
11559 * net/newst-plainview.el (newsticker-new-item-face)
11560 (newsticker-old-item-face, newsticker-immortal-item-face)
11561 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11562 (newsticker-statistics-face): Change default family from
42c7e61e 11563 helvetica to sans.
c2571358 11564 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11565 etc/images/newsticker.
11566
5d3385a0
JB
11567 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11568 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11569 auto-marking.
11570
8497a297
DV
115712011-05-13 Didier Verna <didier@xemacs.org>
11572
11573 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11574 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11575 TODO entries.
8497a297
DV
11576 (lisp-lambda-list-keyword-parameter-indentation)
11577 (lisp-lambda-list-keyword-parameter-alignment)
11578 (lisp-lambda-list-keyword-alignment): New customizable user options.
11579 (lisp-indent-defun-method): Improve docstring.
11580 (extended-loop-p): Fix comment.
11581 (lisp-indent-lambda-list-keywords-regexp): New variable.
11582 (lisp-indent-lambda-list): New function.
11583 (lisp-indent-259): Use it.
11584 (lisp-indent-defmethod): Support for more than one
11585 method qualifier and properly indent methods lambda-lists.
11586 (defgeneric): Provide a missing common-lisp-indent-function property.
11587
f278f87f
SM
115882011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11591 bounds for the empty string (bug#8667).
11592
5233edd7
GM
115932011-05-13 Glenn Morris <rgm@gnu.org>
11594
5237a44f
GM
11595 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11596
8340026c 11597 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11598 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11599
5233edd7 11600 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11601 (appt-time-msg-list): Doc fix.
a5464014 11602 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11603
92d10796
AS
116042011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11605
11606 * progmodes/ld-script.el (ld-script-keywords)
11607 (ld-script-builtins): Update keywords list.
11608
914a0ae1
SM
116092011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11610
c89be45f
SM
11611 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11612
914a0ae1
SM
11613 * shell.el (shell-completion-vars): New function.
11614 (shell-mode):
11615 * simple.el (read-shell-command): Use it.
11616 (blink-matching-open): No need for " [...]" in minibuffer-message.
11617
98dc3df3
GM
116182011-05-12 Glenn Morris <rgm@gnu.org>
11619
11620 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11621 (appt-check): Simplify.
11622
d2fc7e3d 116232011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11624
4d61f28d 11625 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11626 literal "/dev/null".
11627
d2fc7e3d 116282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11629
11630 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11631 Fix typo.
11632
d2fc7e3d 116332011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11634
3f254caa
SM
11635 * progmodes/which-func.el (which-function):
11636 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11637 which might not be defined (Bug#8260).
11638
d45885f7
GM
116392011-05-12 Glenn Morris <rgm@gnu.org>
11640
11641 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11642 Let byte-compile-initial-macro-environment always take precedence.
11643
488086f4
SM
116442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * net/rcirc.el: Add support for SSL/TLS connections.
11647 (rcirc-server-alist): New field `encryption'.
11648 (rcirc): Check `encryption' settings.
11649 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11650 Merge make-local-variable into `set'.
11651 (rcirc--connection-open-p): New function.
11652 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11653 the process is not a network process (e.g. running gnutls-cli).
11654 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11655 Make rcirc-(en|de)code-coding-system local here.
11656 (rcirc-mode): Merge make-local-variable into `set'.
11657 (rcirc-parent-buffer): Make permanent buffer-local.
11658 (rcirc-multiline-minor-mode): Don't do it here.
11659 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11660 there's no server buffer.
11661
7d3b9d44
GM
116622011-05-11 Glenn Morris <rgm@gnu.org>
11663
f64049c6
GM
11664 * newcomment.el (comment-kill): Prefix "unused" local.
11665
93c9df73
GM
11666 * term/w32console.el (get-screen-color): Declare.
11667
7d3b9d44
GM
11668 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11669 Handle symbol elements of byte-compile-initial-macro-environment.
11670
9e2dd53f
LL
116712011-05-10 Leo Liu <sdl.web@gmail.com>
11672
488086f4
SM
11673 * bookmark.el (bookmark-bmenu-mode-map):
11674 Bind bookmark-bmenu-search to `/'.
8b340240 11675
9e2dd53f 11676 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11677 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11678 (Footnote-unicode): New function.
11679 (footnote-style-alist): Add unicode style to the list.
11680 (footnote-style): Doc fix.
9e2dd53f 11681
79b70037
GM
116822011-05-10 Jim Meyering <meyering@redhat.com>
11683
11684 Fix doubled-word typos.
11685 * international/quail.el (quail-insert-kbd-layout): and and -> and
11686 * kermit.el: and and -> and
11687 * net/ldap.el (ldap-search-internal): to to -> to
11688 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11689 * progmodes/js.el (js-mode): and and -> and
11690 * textmodes/artist.el (artist-move-to-xy): at at -> at
11691 (artist-draw-region-trim-line-endings): if if -> if
11692 And Safetyc -> Safety.
11693 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11694
b8f82dc1 116952011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11696 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11697
11698 * files.el (hack-one-local-variable-eval-safep):
11699 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11700
4f99f44b
GM
117012011-05-10 Glenn Morris <rgm@gnu.org>
11702
11703 * calendar/diary-lib.el (diary-list-entries-hook)
11704 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11705 (diary-nongregorian-marking-hook, diary-list-entries)
11706 (diary-include-other-diary-files, diary-mark-entries)
11707 (diary-mark-included-diary-files): Doc fixes.
11708
84f29e6b
JB
117092011-05-09 Juanma Barranquero <lekktu@gmail.com>
11710
11711 * misc.el: Require tabulated-list.el during compilation.
11712
9bedd73a
CY
117132011-05-09 Chong Yidong <cyd@stupidchicken.com>
11714
488086f4
SM
11715 * progmodes/compile.el (compilation-start):
11716 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11717 (compilation-filter-hook): Doc fix.
11718
797c735c
DD
117192011-05-09 Deniz Dogan <deniz@dogan.se>
11720
11721 * wdired.el: Remove outdated installation comment. Fix usage
11722 comment.
11723
5f4b1dfe
JB
117242011-05-09 Juanma Barranquero <lekktu@gmail.com>
11725
11726 * misc.el: Implement new command `list-dynamic-libraries'.
11727 (list-dynamic-libraries--loaded-only-p): New variable.
11728 (list-dynamic-libraries--refresh): New function.
11729 (list-dynamic-libraries): New command.
11730
4c44026c
CY
117312011-05-09 Chong Yidong <cyd@stupidchicken.com>
11732
488086f4
SM
11733 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11734 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11735 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11736 higher priority to avoid clobbering by gnu.
11737
027f966d
CY
117382011-05-08 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11741 if the face has existing theme settings (Bug#8454).
11742
085f5d7d
CY
117432011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11744
488086f4
SM
11745 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11746 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11747
2a86a00c
RS
11748 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11749 special file names `.' and `..' (Bug#8259).
11750
d9c54a06
CY
117512011-05-08 Chong Yidong <cyd@stupidchicken.com>
11752
488086f4
SM
11753 * progmodes/grep.el (grep-mode-font-lock-keywords):
11754 Remove buffer-changing entries.
d9c54a06
CY
11755 (grep-filter): New function.
11756 (grep-mode): Add it to compilation-filter-hook.
11757
11758 * progmodes/compile.el (compilation-filter-hook)
11759 (compilation-filter-start): New defvars.
11760 (compilation-filter): Call compilation-filter-hook prior to
11761 updating the process mark.
11762
c4662635
SM
117632011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11766
b0512a1d
EZ
117672011-05-07 Eli Zaretskii <eliz@gnu.org>
11768
605c9376
EZ
11769 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11770 mailclient-send-it even if window-system is nil. (Bug#8595)
11771
c4662635
SM
11772 * term/w32console.el (terminal-init-w32console):
11773 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11774 background-mode. (Bug#8597)
11775
d1dc2cc2
SM
117762011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11779 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11780 New functions.
11781 (defgeneric, eieio--defmethod): Use them.
11782 (eieio-defgeneric): Remove.
11783 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11784
915d1300
GM
117852011-05-07 Glenn Morris <rgm@gnu.org>
11786
a3961c3e
GM
11787 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11788 Use let rather than let*.
11789 (timeclock-find-discrep): Remove unused local.
11790
314347b9
GM
11791 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11792
915d1300
GM
11793 * calendar/appt.el (appt-time-msg-list): Doc fix.
11794
275b59b0
NF
117952011-05-06 Noah Friedman <friedman@splode.com>
11796
11797 * apropos.el (apropos-print-doc): Only use
11798 emacs-lisp-docstring-fill-column when it is bound to an integer,
11799 per that variable's documentation.
11800
6c19f744
SM
118012011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11804 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11805
60f884b2
GM
118062011-05-06 Glenn Morris <rgm@gnu.org>
11807
5006e634
GM
11808 * calendar/appt.el (appt-message-warning-time): Doc fix.
11809 (appt-warning-time-regexp): New option.
11810 (appt-make-list): Respect appt-message-warning-time.
11811
548d0a63
GM
11812 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11813 New options.
11814 (diary-add-to-list): Strip comments from the displayed string.
11815 (diary-mode): Set comment-start and comment-end.
11816
60f884b2
GM
11817 * vc/diff-mode.el (smerge-refine-subst): Declare.
11818 (diff-refine-hunk): Don't require smerge-mode when compiling.
11819
989681bb
JB
118202011-05-06 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * simple.el (list-processes): Return nil as the docstring says.
11823
a6bc05e1
MA
118242011-05-05 Michael Albinus <michael.albinus@gmx.de>
11825
11826 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11827 to "".
11828 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11829 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11830 determining of binary transfer. (Bug#7383)
11831
23c22e9a
MA
118322011-05-05 Michael Albinus <michael.albinus@gmx.de>
11833
c4662635
SM
11834 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11835 Fix port computation bug. (Bug#8618)
23c22e9a 11836
0bff894f
GM
118372011-05-05 Glenn Morris <rgm@gnu.org>
11838
b8296902
GM
11839 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11840
1f522ce8
GM
11841 * simple.el (shell-dynamic-complete-functions)
11842 (comint-dynamic-complete-functions): Declare.
11843
cf5bee67
GM
11844 * net/network-stream.el (gnutls-negotiate):
11845 * simple.el (tabulated-list-print): Fix declarations.
11846
11847 * progmodes/gud.el (syntax-symbol, syntax-point):
11848 Remove unnecessary and incorrect declarations.
11849
0bff894f
GM
11850 * emacs-lisp/check-declare.el (check-declare-scan):
11851 Handle byte-compile-initial-macro-environment in bytecomp.el
11852
9869b3ae
SM
118532011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 Fix earlier half-done eieio-defmethod change (bug#8338).
11856 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11857 Streamline and change calling convention.
11858 (defmethod): Adjust accordingly and simplify.
11859 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11860 new eieio--defmethod.
11861 (slot-boundp): Minor CSE simplification.
11862
9c1d5ac5
MZ
118632011-05-05 Milan Zamazal <pdm@zamazal.org>
11864
11865 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11866 (glasses-make-readable): Use glasses-separate-capital-groups.
11867
455c834e
JB
118682011-05-05 Juanma Barranquero <lekktu@gmail.com>
11869
11870 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11871 (warning-series): Doc fix.
11872 (display-warning): Don't try to create the buffer if we just found it.
11873
9ed7c8cb
CY
118742011-05-04 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11877 (autoload-find-generated-file): New function.
11878 (generate-file-autoloads): Bind generated-autoload-file to
11879 buffer-file-name.
9869b3ae
SM
11880 (update-file-autoloads, update-directory-autoloads):
11881 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11882 output file (Bug#7989).
11883 (batch-update-autoloads): Doc fix.
11884
0898ca10
JB
118852011-05-04 Juanma Barranquero <lekktu@gmail.com>
11886
11887 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11888
31dfb76c
GM
118892011-05-04 Glenn Morris <rgm@gnu.org>
11890
f330b642
GM
11891 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11892 function, so it follows changes in calendar-date-style.
11893 (diary-fancy-date-matcher): New function.
11894 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11895 (diary-fancy-font-lock-fontify-region-function):
11896 Use diary-fancy-date-pattern as a function.
11897
31dfb76c
GM
11898 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11899 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11900
48e79d6a
TZ
119012011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11902
11903 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11904 instead of positional arguments. Allow :keylist and :crlfiles
11905 arguments.
11906 (open-gnutls-stream): Call it.
11907
11908 * net/network-stream.el (network-stream-open-starttls): Adjust to
11909 call `gnutls-negotiate' with :process and :hostname arguments.
11910
dd5a5ee0
SM
119112011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11912
ef80fc09
SM
11913 * minibuffer.el (completion--message): New function.
11914 (completion--do-completion, minibuffer-complete)
11915 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11916 (completion--do-completion): Don't ignore completion-auto-help when in
11917 icomplete-mode.
11918
dd5a5ee0
SM
11919 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11920 internal encoding (e.g. tibetan zero is not whitespace).
11921 (global-whitespace-mode): Prefer save-current-buffer.
11922 (whitespace-trailing-regexp): Remove useless save-match-data.
11923 (whitespace-empty-at-bob-regexp): Minor simplification.
11924
b7d22a83
CY
119252011-05-03 Chong Yidong <cyd@stupidchicken.com>
11926
11927 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11928
5192af46
AM
119292011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11930
11931 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11932 Use `concat' to create string for insertion.
5192af46 11933
5767d190
SM
119342011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11937 Avoid open-line which runs post-self-insert-hook.
11938 (bibtex-fill-entry): Remove unused `end' var.
11939
bf242939
AM
119402011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11941
5767d190
SM
11942 * textmodes/ispell.el (ispell-add-per-file-word-list):
11943 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11944
25666126
LL
119452011-05-03 Leo Liu <sdl.web@gmail.com>
11946
11947 * isearch.el (isearch-yank-pop): New command.
5767d190 11948 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11949 (isearch-forward): Mention it.
11950
52d3c2d0
SM
119512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11952
1bcace58
SM
11953 * simple.el (minibuffer-complete-shell-command): Remove.
11954 (minibuffer-local-shell-command-map): Use completion-at-point.
11955 (read-shell-command): Setup completion vars here instead.
11956 (read-expression-map): Bind TAB to symbol completion.
11957
52d3c2d0
SM
11958 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11959 error directly rather via storing it into `results'.
11960
35813471
LL
119612011-05-02 Leo Liu <sdl.web@gmail.com>
11962
11963 * vc/diff.el: Fix description.
11964
e793a940
LMI
119652011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11966
11967 * server.el (server-eval-at): New function.
11968
8de66e05
LMI
119692011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * net/network-stream.el (open-network-stream): Take a :nowait
11972 parameter and pass it on to `make-network-process'.
11973 (network-stream-open-plain): Ditto.
11974
dcb79f20
AS
119752011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11976
11977 * faces.el (face-spec-set-match-display): Don't match toolkit
11978 options on terminal frames.
11979
14a7fbd8
SM
119802011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11981
7eabc1be
SM
11982 * progmodes/pascal.el: Use lexical binding.
11983 (pascal-mode-map): Remove author preferences.
11984
14a7fbd8
SM
11985 * pcomplete.el (pcomplete-std-complete): Don't abuse
11986 completion-at-point.
11987
50f84510
JB
119882011-04-28 Juanma Barranquero <lekktu@gmail.com>
11989
6e087a44
JB
11990 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11991 removing code that has been dead since 1991 or so.
11992
50f84510
JB
11993 * startup.el (command-line): When warning about "_emacs", use a
11994 delayed warning to allow the user to filter it out.
11995
0ba690bd
DD
119962011-04-28 Deniz Dogan <deniz@dogan.se>
11997
11998 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11999 user has not joined.
12000
08abfaad
SM
120012011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12002
12003 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12004 aren't any completions at point.
12005
638f053a
JB
120062011-04-28 Juanma Barranquero <lekktu@gmail.com>
12007
12008 * subr.el (display-delayed-warnings): New function.
12009 (delayed-warnings-hook): New variable.
12010
8fff8daa
SM
120112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12012
08abfaad
SM
12013 * minibuffer.el (completion-at-point, completion-help-at-point):
12014 Don't presume that a given completion-at-point-function will always
12015 use the same calling convention.
12016
8fff8daa
SM
12017 * pcomplete.el (pcomplete-completions-at-point):
12018 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12019 pcomplete-seen is non-nil.
12020 (pcomplete-comint-setup): Also recognize the new comint/shell
12021 completion functions.
12022 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12023 pcomplete-seen is non-nil.
12024
841a1577 120252011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12026
841a1577 12027 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12028 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12029 the first character in the entry. This allows for code to add its
211ec907
UJ
12030 own uid to the entry.
12031 (icalendar--convert-float-to-ical): Add export of
12032 `diary-float'-entries save for those with the optional DAY
12033 argument.
12034
2a782793
DC
120352011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12036
12037 * subr.el (shell-quote-argument): Use alternate escaping strategy
12038 when we spot a variable reference in a string.
12039
0438ce91
DC
120402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12041
12042 * cus-start.el (all): Define customization for debug-on-event.
12043
841a1577 120442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12045
12046 * subr.el (shell-quote-argument): Escape correctly under Windows.
12047
d090ed6c
SM
120482011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12051
bfd31217
MA
120522011-04-25 Michael Albinus <michael.albinus@gmx.de>
12053
d090ed6c
SM
12054 * net/tramp.el (tramp-process-actions): Add POS argument.
12055 Delete region between POS and (pos).
bfd31217 12056
d090ed6c
SM
12057 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12058 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12059 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12060
12061 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12062 position in `tramp-process-actions' call.
12063
12064 * net/trampver.el: Update release number.
12065
e92f3bd3
SM
120662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12067
850256b5
SM
12068 * custom.el (defcustom): Obey lexical-binding.
12069
e92f3bd3
SM
12070 Fix octave-inf completion problems reported by Alexander Klimov.
12071 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12072 Inherit from octave-mode-syntax-table.
12073 (inferior-octave-mode): Set info-lookup-mode.
12074 (inferior-octave-completion-at-point): New function.
12075 (inferior-octave-complete): Use it and completion-in-region.
12076 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12077 comint-filename-completion.
12078 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12079 symbol elements which shouldn't be word elements.
12080 (octave-font-lock-keywords, octave-beginning-of-defun)
12081 (octave-function-header-regexp): Adjust regexps accordingly.
12082 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12083
cd22b309
JB
120842011-04-25 Juanma Barranquero <lekktu@gmail.com>
12085
12086 * net/gnutls.el (gnutls-errorp): Declare before first use.
12087
8b492194
TZ
120882011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12089
12090 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12091 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12092 default trustfile exists before going to use it. Add missing
5a5fa834 12093 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12094 Reported by Claudio Bley <claudio.bley@gmail.com>.
12095 (open-gnutls-stream): Add usage example.
12096
12097 * net/network-stream.el (network-stream-open-starttls): Give host
12098 parameter to `gnutls-negotiate'.
12099 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12100 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12101
841a1577 121022011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12103
cd22b309
JB
12104 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12105 Use correct match group (bug#8438).
05842630 12106
3ba7869c
CY
121072011-04-24 Chong Yidong <cyd@stupidchicken.com>
12108
512e3ae1
CY
12109 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12110 (package-menu--generate): New arg specifying packages to show.
12111 (package-menu-refresh, package-menu-execute, list-packages):
12112 Callers changed.
12113 (package-show-package-list): New function, replacing deleted
12114 package--list-packages (renamed because it is non-internal).
12115
12116 * finder.el (finder-list-matches): Use package-show-package-list
12117 instead of deleted package--list-packages.
12118
e92f3bd3
SM
12119 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12120 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12121 (vc-annotate-mode-map): Bind it to RET.
12122
7031be6d
UR
121232011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12124
12125 * progmodes/etags.el (next-file): Don't use set-buffer to change
12126 buffers (Bug#8478).
12127
4ef177aa
CY
121282011-04-24 Chong Yidong <cyd@stupidchicken.com>
12129
c8d173eb
CY
12130 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12131
4ef177aa
CY
12132 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12133 (apropos-accumulator): Doc fix.
12134 (apropos-function, apropos-macro, apropos-command)
12135 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12136 (apropos-plist): Add face property.
12137 (apropos-symbols-internal): Fix indentation.
12138 (apropos-print): Simplify help, and recognize apropos-multi-type.
12139 (apropos-print-doc): Use button-type-get to extract the button's
12140 face property. Fill docstring (Bug#8352).
12141
4ffd0d6b 121422011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12143
12144 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12145
c6c32125 12146 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12147 (mpuz-mode-map): Use mapc.
c6c32125
JB
12148 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12149 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12150 Fix typos in docstrings.
12151
58d468b4
JB
12152 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12153 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12154
6470c3c6
JB
12155 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12156
4ffd0d6b 121572011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12158
12159 * minibuffer.el (completion--do-completion): Avoid the "Next char
12160 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12161
3ad8bad0
CY
12162 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12163 mouse-2 into unread-command-events, it is interpreted correctly.
12164
71d73c9c 12165 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12166 (image-toggle-display): Doc fix.
71d73c9c 12167
841a1577 121682011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12169
4ffd0d6b
GM
12170 * textmodes/page.el (what-page): Use line-number-at-pos to
12171 calculate line number (Bug#6825).
6e1dbaa9 12172
c2fb1b60
JB
121732011-04-22 Juanma Barranquero <lekktu@gmail.com>
12174
12175 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12176 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12177 Pass argument NO-DEFAULT to `find-tag-interactive'.
12178
e02f48d7
JB
121792011-04-22 Juanma Barranquero <lekktu@gmail.com>
12180
12181 Lexical-binding cleanup.
12182
12183 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12184 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12185 * progmodes/ada-prj.el (ada-prj-initialize-values)
12186 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12187 (ada-prj-show-value):
12188 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12189 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12190 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12191 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12192 * progmodes/bug-reference.el (bug-reference-push-button):
12193 * progmodes/fortran.el (fortran-line-length):
12194 * progmodes/glasses.el (glasses-change):
12195 * progmodes/octave-mod.el (octave-fill-paragraph):
12196 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12197 (python-pdbtrack-grub-for-buffer, python-sentinel):
12198 * progmodes/sql.el (sql-save-connection):
12199 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12200 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12201 Mark unused parameters.
12202
12203 * progmodes/compile.el (compilation--flush-directory-cache)
12204 (compilation--flush-parse, compile-internal): Mark unused parameters.
12205 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12206 (compilation-next-error-function): Remove unused variable `timestamp'.
12207
12208 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12209 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12210
12211 * progmodes/dcl-mode.el (dcl-end-of-command):
12212 Remove unused variable `start'.
12213 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12214 (dcl-option-value-basic, dcl-option-value-offset)
12215 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12216 Mark unused parameters.
12217 (dcl-save-local-variable): Remove unused variable `val'.
12218 (mode): Declare.
12219
12220 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12221 Mark unused parameters.
12222 (delphi-ignore-changes): Move before first use.
12223 (delphi-charset-token-at): Remove unused variable `start'.
12224 (delphi-else-start): Remove unused variable `if-count'.
12225 (delphi-comment-block-start, delphi-comment-block-end):
12226 Remove unused variable `kind'.
12227 (delphi-indent-line): Remove unused variable `new-point'.
12228
12229 * progmodes/ebrowse.el (ebrowse-files-list)
12230 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12231 Mark unused parameters. Don't quote `lambda'.
12232 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12233 Don't quote `lambda'.
12234 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12235 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12236 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12237 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12238 Use `ignore-errors'.
12239 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12240 (ebrowse-view/find-file-and-search-pattern)
12241 (ebrowse-view/find-member-declaration/definition):
12242 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12243 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12244 Rename parameter PREFIX-ARG to PREFIX.
12245 (ebrowse-tags-read-name): Remove unused variables `start' and
12246 `member-info'.
12247 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12248 to `tags-file'.
12249
12250 * progmodes/etags.el (local-find-tag-hook): Declare.
12251 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12252 Mark unused parameters.
12253
12254 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12255 (executable-interpret): Mark unused parameter.
12256
12257 * progmodes/flymake.el (flymake-process-sentinel)
12258 (flymake-after-change-function)
12259 (flymake-create-temp-with-folder-structure)
12260 (flymake-get-include-dirs-dot): Mark unused parameters.
12261 (flymake-safe-delete-directory): Remove unused variable `err'.
12262
12263 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12264 (speedbar-timer-fn, speedbar-line-text)
12265 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12266 (speedbar-center-buffer-smartly): Declare functions.
12267 (gdb-find-watch-expression): Remove unused variable `array'.
12268 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12269 (gdb-starting): Mark unused parameters.
12270 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12271 (gdb-table-string): Remove unused variable `res'.
12272 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12273 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12274 (gdb-display-buffer): Remove unused variable `cur-size'.
12275
12276 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12277 allow lexical-binding compilation.
12278 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12279 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12280 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12281 Mark unused parameters.
12282 (gud-gdb-marker-filter): Remove unused variable `match'.
12283 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12284 lambda expressions and funcall them, instead of using `fset'.
12285
12286 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12287 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12288
12289 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12290 variable `header-beg'; use `let'.
12291
12292 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12293 `restart', `last-sexp' and `at-do'.
12294
12295 * progmodes/js.el (js--debug): Mark unused parameter.
12296 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12297 (js--splice-into-items): Remove unused variable `item'.
12298 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12299
12300 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12301 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12302 (makefile-complete): Remove unused variable `try'.
12303 (makefile-fill-paragraph, makefile-match-function-end):
12304 Mark unused parameters.
12305
12306 * progmodes/octave-inf.el (inferior-octave-complete):
12307 Remove unused variable `proc'.
12308 (inferior-octave-output-digest): Mark unused parameter.
12309
12310 * progmodes/perl-mode.el (perl-calculate-indent):
12311 Remove unused variable `err'.
12312
12313 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12314 (prolog-indent-line): Mark unused parameters.
12315 (prolog-indent-line): Remove unused variable `beg'.
12316
12317 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12318 (reporter-dont-compact-list): Declare.
12319
12320 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12321 Remove unused variable `char'.
12322 (sh-debug): Mark unused parameter.
12323 (sh-get-indent-info): Remove unused variable `start'.
12324 (sh-calculate-indent): Remove unused variable `var'.
12325
12326 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12327 (simula-electric-keyword): Remove unused variable `null'.
12328 (simula-search-backward, simula-search-forward): Remove unused
12329 variables `begin' and `end'.
12330
12331 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12332 Remove unused variable `pos'.
12333 (vera-electric-tab, vera-comment-uncomment-region):
12334 Mark unused parameters.
12335 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12336
7ede3b65
CY
123372011-04-22 Chong Yidong <cyd@stupidchicken.com>
12338
12339 * emacs-lisp/package.el (package--builtins, package-alist)
12340 (package-load-descriptor, package-built-in-p, package-activate)
12341 (define-package, package-installed-p)
12342 (package-compute-transaction, package-buffer-info)
12343 (package--push): Doc fix. Distinguish more clearly between
12344 version strings and version lists.
12345
121656e9
JB
123462011-04-21 Juanma Barranquero <lekktu@gmail.com>
12347
12348 Lexical-binding cleanup.
12349
12350 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12351 (5x5-make-mutate-best):
12352 * play/fortune.el (fortune-in-buffer):
12353 * play/gomoku.el (gomoku-init-display):
12354 * play/solitaire.el (solitaire, solitaire-do-check):
12355 * play/tetris.el (tetris-default-update-speed-function):
12356 Mark unused parameters.
12357
12358 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12359 (bubbles--shift): Remove unused variable `char-org'.
12360 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12361 (bubbles--show-images): Remove unused variable `char'.
12362
12363 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12364 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12365 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12366 (decipher-analyze-buffer): Use ?\s.
12367 (decipher-make-checkpoint): Remove unused variable `mapping'.
12368
12369 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12370
12371 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12372 Remove unused variable `result'; use `let'.
12373
12374 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12375 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12376 (gametree-children-shown-p, gametree-compute-reduced-score):
12377 Use `ignore-errors'.
12378
12379 * play/handwrite.el (ps-lpr-switches): Declare.
12380 (handwrite): Remove unused variables `pmin' and `lastp'.
12381
12382 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12383
12384 * play/landmark.el (landmark-init-display)
12385 (landmark-update-naught-weights): Mark unused parameters.
12386 (landmark-y): Remove unused variable `noise'. Simplify.
12387 (landmark-human-plays): Remove unused variable `score'.
12388
12389 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12390 (mpuz-try-proposal): Remove unused variable `game'.
12391
12392 * play/zone.el (life-patterns): Declare.
12393
80f499c7
JB
123942011-04-20 Juanma Barranquero <lekktu@gmail.com>
12395
12396 * vc/vc.el (ediff-vc-internal): Declare function.
12397
024ff170
SM
123982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12399
c0a193ea
SM
12400 * shell.el: Use lexical-binding and std completion UI.
12401 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12402 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12403 comint-preoutput-filter-functions rather than on
12404 comint-output-filter-functions.
12405 (shell-command-completion, shell--command-completion-data)
12406 (shell-filename-completion, shell-environment-variable-completion)
12407 (shell-c-a-p-replace-by-expanded-directory): New functions.
12408 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12409 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12410 (shell-dynamic-complete-environment-variable): Use them.
12411 (shell-dynamic-complete-as-environment-variable)
12412 (shell-dynamic-complete-as-command): Remove.
12413 (shell-match-partial-variable): Match past point.
12414 * comint.el: Clean up use of completion-at-point-functions.
12415 (comint-completion-at-point): New function.
12416 (comint-mode): Use it completion-at-point-functions.
12417 (comint-dynamic-complete): Make it obsolete.
12418 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12419 (comint-c-a-p-replace-by-expanded-history): New function.
12420 (comint-dynamic-complete-functions)
12421 (comint-replace-by-expanded-history): Use it.
12422 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12423 termination strings. Try harder to avoid second try-completion.
12424 (completion-in-region-mode-map): Disable bindings that don't work yet.
12425
2dbaa080
SM
12426 * comint.el: Use lexical-binding. Require CL.
12427 (comint-dynamic-complete-functions): Use comint-filename-completion.
12428 (comint-completion-addsuffix): Tweak custom type.
12429 (comint-filename-completion, comint--common-suffix)
12430 (comint--common-quoted-suffix, comint--table-subvert)
12431 (comint--complete-file-name-data): New functions.
12432 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12433 (comint-dynamic-list-filename-completions): Use them.
12434 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12435
2dbaa080
SM
12436 * minibuffer.el (completion-in-region-mode):
12437 Keep completion-in-region-mode--predicate global.
12438 (completion-in-region--postch):
12439 Assume completion-in-region-mode--predicate is not null.
12440
c79a6f38
SM
12441 * progmodes/flymake.el (flymake-start-syntax-check-process):
12442 Obey `dir'. Simplify.
12443
024ff170
SM
12444 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12445 we're in VC after all.
12446
1c6c854e
CS
124472011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12448
12449 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12450 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12451 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12452
bed7f140
SM
124532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12454
332e62ab
SM
12455 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12456 add sanity check.
12457
bed7f140
SM
12458 * obsolete/erc-hecomplete.el: Make obsolete.
12459 * obsolete/: Standardize obsolescence info in the header.
12460
f195c582
GM
124612011-04-20 Glenn Morris <rgm@gnu.org>
12462
12463 * calendar/solar.el (solar-horizontal-coordinates):
12464 Use the longitude argument rather than `calendar-longitude'.
12465 (solar-date-next-longitude): Remove unused locals.
12466
cb79b8c0
VJL
124672011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12468
12469 * whitespace.el: New version 13.2.1.
12470
124712011-04-20 felix <EmacsWiki> (tiny change)
12472
d8e4b68b 12473 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12474 switching between major modes on a file.
12475
602ea69d
SM
124762011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12479 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12480 multi-line comments as well.
12481
06b60517
JB
124822011-04-19 Juanma Barranquero <lekktu@gmail.com>
12483
12484 Lexical-binding cleanup.
12485
12486 * arc-mode.el (archive-mode-revert):
12487 * cmuscheme.el (scheme-interactively-start-process):
12488 * custom.el (custom-initialize-delay):
12489 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12490 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12491 * emacs-lock.el (emacs-lock-clear-sentinel):
12492 * ezimage.el (defezimage):
12493 * follow.el (follow-avoid-tail-recenter):
12494 * fringe.el (set-fringe-mode-1):
12495 * generic-x.el (bat-generic-mode-compile):
12496 * help-mode.el (help-info-variable, help-do-xref)
12497 (help-mode-revert-buffer):
12498 * help.el (view-emacs-todo):
12499 * iswitchb.el (iswitchb-completion-help):
12500 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12501 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12502 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12503 * locate.el (locate-update):
12504 * longlines.el (longlines-encode-region)
12505 (longlines-after-change-function):
12506 * outline.el (outline-isearch-open-invisible):
12507 * ps-def.el (declare-function, charset-dimension, char-width)
12508 (encode-char):
12509 * ps-mule.el (ps-mule-plot-string):
12510 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12511 (recentf-edit-list-select, recentf-edit-list-validate)
12512 (recentf-open-files-action):
12513 * rect.el (delete-whitespace-rectangle-line)
12514 (rectangle-number-line-callback):
12515 * register.el (window-configuration-to-register)
12516 (frame-configuration-to-register):
12517 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12518 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12519 (xselect-convert-to-targets, xselect-convert-to-delete)
12520 (xselect-convert-to-filename, xselect-convert-to-charpos)
12521 (xselect-convert-to-lineno, xselect-convert-to-colno)
12522 (xselect-convert-to-os, xselect-convert-to-host)
12523 (xselect-convert-to-user, xselect-convert-to-class)
12524 (xselect-convert-to-name, xselect-convert-to-integer)
12525 (xselect-convert-to-atom, xselect-convert-to-identity):
12526 * subr.el (declare, ignore, process-kill-without-query)
12527 (text-clone-maintain):
12528 * terminal.el (te-get-char, te-tic-sentinel):
12529 * tool-bar.el (tool-bar-make-keymap):
12530 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12531 * type-break.el (type-break-mode, type-break-noninteractive-query):
12532 * view.el (View-back-to-mark):
12533 * wid-browse.el (widget-browse-action, widget-browse-widget)
12534 (widget-browse-widgets, widget-browse-sexp):
12535 * widget.el (define-widget-keywords):
12536 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12537 Mark unused parameters.
12538
12539 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12540 (align-areas): Remove unused variable `look'.
12541 (align-region): Remove unused variables `real-end' and `pos-list'.
12542
12543 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12544
12545 * bindings.el (mode-line-modified, mode-line-remote):
12546 Mark unused parameters.
12547 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12548
12549 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12550 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12551
12552 * comint.el (comint-history-isearch-pop-state)
12553 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12554 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12555 (comint-substitute-in-file-name): Doc fix.
12556
12557 * completion.el (cmpl-statistics-block): Mark unused parameter.
12558 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12559 (save-completions-to-file, load-completions-from-file):
12560 Remove unused local variable `e'.
12561
12562 * composite.el (compose-chars): Remove unused variable `len'.
12563 (lgstring-insert-glyph): Remove unused variable `g'.
12564 (compose-glyph-string): Remove unused variables `ascent',
12565 `descent', `lbearing' and `rbearing'.
12566 (compose-glyph-string-relative): Remove unused variables
12567 `lbearing', `rbearing' and `wadjust'.
12568 (compose-gstring-for-graphic): Remove unused variables `header',
12569 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12570 (compose-gstring-for-terminal): Remove unused variables `header'
12571 and `nchars'. Use `let', not `let*'.
12572
12573 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12574 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12575 (Custom-buffer-done, custom-buffer-create-internal)
12576 (custom-browse-visibility-action, custom-browse-group-tag-action)
12577 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12578 (widget-magic-mouse-down-action, custom-toggle-parent)
12579 (custom-add-parent-links, custom-toggle-hide-variable)
12580 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12581 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12582 (custom-face-menu-create, custom-variable-menu-create, get)
12583 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12584 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12585 (customize-apropos): Remove unused variable `tests'.
12586 (custom-group-value-create): Remove unused variable `hidden-p'.
12587 (sort-fold-case): Declare.
12588
12589 * cus-theme.el (custom-reset-standard-faces-list)
12590 (custom-reset-standard-variables-list): Declare.
12591 (customize-create-theme, custom-theme-revert, custom-theme-write)
12592 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12593 Mark unused parameters.
12594
12595 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12596
12597 * delim-col.el (delimit-columns-max): Move defvar before first use.
12598
12599 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12600 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12601
12602 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12603 (auto-insert): Declare.
12604 (desktop-restore-file-buffer): Rename desktop-* parameters;
12605 mark unused ones.
12606 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12607 (desktop-buffer): Rename desktop-* parameters.
12608
12609 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12610 (dframe-reposition-frame-xemacs, dframe-help-echo)
12611 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12612 Mark unused parameters.
12613
12614 * dired-aux.el (backup-extract-version-start, overwrite-query)
12615 (overwrite-backup-query, rename-regexp-query)
12616 (rename-non-directory-query): Declare.
12617 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12618 (dired-add-entry): Remove unused variable `orig-file-name'.
12619 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12620 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12621 `dired-copy-preserve-time' directly.
12622 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12623 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12624
12625 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12626 (dired-virtual-revert, dired-make-relative-symlink):
12627 Mark unused parameters.
12628 (manual-program): Declare.
12629 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12630 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12631 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12632
12633 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12634
12635 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12636
12637 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12638 Declare.
12639
12640 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12641
12642 * electric.el (Electric-command-loop): Rename parameter
12643 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12644
12645 * expand.el (expand-in-literal): Remove unused variable `here'.
12646
12647 * facemenu.el (facemenu-add-new-color):
12648 Remove unused variable `docstring'.
12649
12650 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12651 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12652 (face-attr-construct): Mark unused parameter. Doc fix.
12653 (read-color): Remove unused variable `hex-string'.
12654
12655 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12656 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12657 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12658 (display-buffer-other-frame): Remove unused variable `old-window'.
12659 (kill-buffer-hook): Declare.
12660 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12661 Mark unused parameters.
12662 (after-find-file): Pass 1 to `auto-save-mode', not t.
12663
12664 * files-x.el (auto-insert): Declare.
12665 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12666
12667 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12668 variable `buf'. Mark unused parameter.
06b60517
JB
12669 (find-lisp-insert-directory): Mark unused parameter.
12670
12671 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12672 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12673 (format-common-tail): Remove, unused.
12674 (format-deannotate-region): Remove unused variable `loc'.
12675 (format-annotate-region): Remove unused variable `p'.
12676 (format-annotate-single-property-change): Remove unused variables
12677 `default' and `tail'.
12678
12679 * forms.el (read-file-filter): Declare.
12680 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12681
12682 * frame.el (frame-creation-function-alist): Mark unused parameter.
12683 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12684
12685 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12686 Remove unused parameters.
12687 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12688 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12689
12690 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12691 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12692 (hfy-prepare-tag-map): Mark unused parameters.
12693 (htmlfontify-buffer): Use `called-interactively-p'.
12694
12695 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12696 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12697 (ibuffer-do-occur): Mark unused parameters.
12698 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12699 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12700
12701 * ibuffer.el: Don't quote `lambda'.
12702 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12703 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12704 Mark unused parameters.
12705
12706 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12707 (ido-completing-read): Mark unused parameters.
12708 (ido-copy-current-word): Mark unused parameters;
12709 remove unused variable `name'.
12710 (ido-sort-merged-list): Remove unused parameter `dirs'.
12711
12712 * ielm.el (ielm-input-sender): Mark unused parameter.
12713 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12714 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12715 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12716 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12717 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12718
12719 * image-dired.el (image-dired-display-thumbs): Remove unused
12720 variables `curr-file' and `count'.
12721 (image-dired-remove-tag): Remove unused variable `start'.
12722 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12723 variable `curr-file'
12724 (image-dired-rotate-original): Remove unused variable `temp-file'.
12725 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12726 Remove unused variable `file'.
12727 (image-dired-gallery-generate): Remove unused variable `curr'.
12728 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12729
12730 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12731
12732 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12733
12734 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12735
12736 * isearch.el (minibuffer-history-symbol): Declare.
12737 (isearch-edit-string): Remove unused variable `err'.
12738 (isearch-message-prefix, isearch-message-suffix):
12739 Mark unused parameters.
12740
12741 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12742
12743 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12744
12745 * makesum.el (double-column): Remove unused variable `cnt'.
12746
12747 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12748 (ido-ignore-item-temp-list): Declare.
12749
12750 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12751 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12752 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12753 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12754 `mouse-col-delta'.
12755
12756 * mouse-sel.el (mouse-extend-internal):
12757 Remove unused variable `orig-window-frame'.
12758
12759 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12760 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12761 Move declarations before first use.
12762 (pcomplete-opt): Mark unused parameters; doc fix.
12763
12764 * proced.el (proced-revert): Mark unused parameter.
12765 (proced-send-signal): Remove unused variable `err'.
12766
12767 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12768 Rename parameter PREFIX-ARG to ARG.
12769 (ps-basic-plot-string, ps-basic-plot-whitespace):
12770 Mark unused parameters.
12771
12772 * replace.el (replace-count): Define.
12773 (occur-revert-function): Mark unused parameters.
12774 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12775 (isearch-case-fold-search, isearch-string): Declare.
12776 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12777 bind `case-fold-search'. Remove unused variables `beg' and `end',
12778 and simplify.
12779 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12780 COUNT and bind `replace-count'.
12781 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12782 to COUNT.
12783
12784 * savehist.el (print-readably, print-string-length): Declare.
12785
12786 * shadowfile.el (shadow-expand-cluster-in-file-name):
12787 Remove unused variable `cluster'.
12788 (shadow-copy-file): Remove unused variable `i'.
12789 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12790 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12791 (shadow-define-literal-group, shadow-define-regexp-group)
12792 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12793
12794 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12795 (shell): Use `called-interactively-p'.
12796 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12797
12798 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12799 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12800 (delete-backward-char): Remove unused variable `ocol'.
12801 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12802 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12803 (event-apply-hyper-modifier, event-apply-shift-modifier)
12804 (event-apply-control-modifier, event-apply-meta-modifier):
12805 Mark unused parameters.
12806 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12807 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12808
12809 * speedbar.el (speedbar-ignored-directory-expressions)
12810 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12811 (speedbar-find-file, speedbar-dir-follow)
12812 (speedbar-directory-buttons-follow, speedbar-tag-find)
12813 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12814 (speedbar-buffers-line-directory, speedbar-buffer-click):
12815 Mark unused parameters.
12816 (speedbar-tag-file): Remove unused variable `mode'.
12817 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12818
12819 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12820
12821 * talk.el (talk): Remove unused variable `display'.
12822
12823 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12824 (tar-write-region-annotate): Mark unused parameter.
12825
12826 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12827 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12828 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12829 warning by another.
12830
12831 * time-stamp.el (time-stamp-string-preprocess):
12832 Remove unused variable `require-padding'.
12833
12834 * tree-widget.el (widget-glyph-enable): Declare.
12835 (tree-widget-action): Mark unused parameter.
12836
12837 * w32-fns.el (x-get-selection): Mark unused parameter.
12838 (autoload-make-program, generated-autoload-file): Declare.
12839
12840 * wdired.el (wdired-revert): Mark unused parameters.
12841 (wdired-xcase-word): Remove unused variable `err'.
12842
12843 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12844 (whitespace-help-scroll): Remove unused variable `data-help'.
12845
12846 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12847 (widget-image-insert, widget-after-change, default)
12848 (widget-default-format-handler, widget-default-notify)
12849 (widget-default-prompt-value, widget-info-link-action)
12850 (widget-url-link-action, widget-function-link-action)
12851 (widget-variable-link-action, widget-file-link-action)
12852 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12853 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12854 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12855 (widget-insert-button-action, widget-delete-button-action, visibility)
12856 (widget-documentation-link-action, widget-documentation-string-action)
12857 (widget-const-prompt-value, widget-regexp-match, symbol)
12858 (widget-coding-system-prompt-value)
12859 (widget-key-sequence-value-to-external, sexp)
12860 (widget-sexp-value-to-internal, character, vector, cons)
12861 (widget-choice-prompt-value, widget-boolean-prompt-value)
12862 (widget-color--choose-action): Mark unused parameters.
12863 (widget-item-match-inline, widget-choice-match-inline)
12864 (widget-checklist-match, widget-checklist-match-inline)
12865 (widget-group-match): Rename parameter VALUES to VALS.
12866 (widget-field-value-set): Remove unused variable `size'.
12867 (widget-color-action): Remove unused variables `value' and `start'.
12868
12869 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12870 variable `dir'. Doc fix.
06b60517
JB
12871 (windmove-find-other-window): Don't pass it.
12872
12873 * window.el (count-windows): Mark unused parameter.
12874 (bw-adjust-window): Remove unused variable `err'.
12875
12876 * woman.el (woman-file-name): Remove unused variable `default'.
12877 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12878 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12879 (global-font-lock-mode): Declare.
12880 (woman-decode-region): Mark unused parameter.
12881 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12882
12883 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12884 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12885 (x-dnd-handle-moz-url): Remove unused variable `title'.
12886 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12887
12888 * xml.el (xml-parse-tag, xml-parse-attlist):
12889 Remove unused variable `pos'.
12890
bc4f7f3d
GM
128912011-04-19 Glenn Morris <rgm@gnu.org>
12892
12893 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12894 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12895 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12896 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12897 * calendar/cal-html.el (cal-html-insert-minical):
12898 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12899 (calendar-mark-date-pattern):
12900 Prefix "unused" locals.
12901
12902 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12903 optional argument `style'.
12904
12905 * calendar/appt.el (appt-make-list):
12906 * calendar/cal-china.el (calendar-chinese-date-string):
12907 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12908 (diary-hebrew-yahrzeit):
12909 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12910 * calendar/calendar.el (calendar-generate-window):
12911 * calendar/time-date.el (time-to-days):
12912 Remove unused local variables.
12913
16a43933
CY
129142011-04-18 Chong Yidong <cyd@stupidchicken.com>
12915
12916 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12917 glyphless-char-display table.
12918 (tabulated-list-glyphless-char-display): New var.
12919
7eed1860
SS
129202011-04-18 Sam Steingold <sds@gnu.org>
12921
12922 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12923 to acknowledgments.
12924
4d2d1ccd
GM
129252011-04-17 Glenn Morris <rgm@gnu.org>
12926
12927 * calendar/diary-lib.el (diary-sexp-entry):
12928 * calendar/holidays.el (holiday-sexp):
12929 Set debug-on-error rather than the removed stack-trace-on-error.
12930
239da61d
GM
129312011-04-16 Glenn Morris <rgm@gnu.org>
12932
12933 * progmodes/f90.el: Use lexical-binding.
12934 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12935
8b05752a
SM
129362011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12937
daca8ba5
SM
12938 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12939 (mail-mode): Setup mailalias completion here instead.
12940 * mail/mailalias.el: Use lexical-binding.
12941 (pattern, mailalias-done): Declare dynamic.
12942 (mail-completion-at-point-function): New function, from mail-complete.
12943 (mail-complete): Use it.
12944 (mail-completion-expand): New function.
12945 (mail-get-names): Use it.
12946 (mail-directory, mail-directory-process, mail-directory-stream):
12947 Don't use `pattern' for lexically bound arg.
12948
6f542485
SM
12949 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12950
037e7c3f
SM
12951 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12952 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12953 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12954
8b05752a
SM
12955 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12956 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12957 (byte-interactive-p): Define them again, for use when inlining
12958 old code.
12959
49093f60
JB
129602011-04-15 Juanma Barranquero <lekktu@gmail.com>
12961
12962 * loadup.el: Use `string-to-number', not `string-to-int'.
12963
b5b8e7de
SM
129642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12967 gud-gdb-complete-command.
12968 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12969 (gud-gdb-completion-at-point): New function.
12970 (gud-gdb-completions): Remove.
12971
f42efeb5
MA
129722011-04-14 Michael Albinus <michael.albinus@gmx.de>
12973
49093f60
JB
12974 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12975 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12976 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12977 whether `executable-find' is bound.
f42efeb5
MA
12978
12979 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12980
e240cc21
SM
129812011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 * minibuffer.el (completion-in-region-mode-predicate)
12984 (completion-in-region-mode--predicate): New vars.
12985 (completion-in-region, completion-in-region--postch)
12986 (completion-in-region-mode): Use them.
12987 (completion--capf-wrapper): Also return the hook function.
12988 (completion-at-point, completion-help-at-point):
12989 Adjust and provide a predicate.
c2bd2ab0
SM
12990
12991 Preserve arg names for advice of subr and lexical functions (bug#8457).
12992 * help-fns.el (help-function-arglist): Consolidate the subr and
12993 new-byte-code cases. Add argument `preserve-names' to extract names
12994 from the docstring when needed.
12995 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12996 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12997 (ad-arglist): Use help-function-arglist's new arg.
12998 (ad-definition-type): Use cond.
12999
c183f693
JB
130002011-04-13 Juanma Barranquero <lekktu@gmail.com>
13001
06641a47
JB
13002 * autorevert.el (auto-revert-handler):
13003 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13004 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13005 Don't quote lambda.
13006
c183f693
JB
13007 * image-mode.el (image-transform-set-scale):
13008 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13009
1e3b6001
G
130102011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13011
13012 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13013 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13014 Upgrades via gnutls-cli are too slow to be done opportunistically.
13015
2d6af8dd
JB
130162011-04-12 Juanma Barranquero <lekktu@gmail.com>
13017
13018 * dframe.el (dframe-current-frame): Remove spurious quote.
13019
c0749a51
GM
130202011-04-12 Glenn Morris <rgm@gnu.org>
13021
088d0d61
GM
13022 * calendar/cal-tex.el (cal-tex-end-document):
13023 Try to automatically use latin1 input if needed.
13024
c0749a51
GM
13025 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13026 Don't try to cons a mark onto an empty element.
13027
5c90fde0
LL
130282011-04-11 Leo Liu <sdl.web@gmail.com>
13029
13030 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13031 buffers.
13032 (ido-kill-buffer-at-head): Support killing virtual buffers.
13033
369e974d
CY
130342011-04-10 Chong Yidong <cyd@stupidchicken.com>
13035
13036 * minibuffer.el (completion-show-inline-help): New var.
13037 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13038 (minibuffer-force-complete, minibuffer-complete-word):
13039 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13040
13041 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13042 to avoid interference from inline help (Bug#5849).
13043
37f1c930
LL
130442011-04-10 Leo Liu <sdl.web@gmail.com>
13045
099c39a4
JB
13046 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13047 Fix typo.
37f1c930 13048
a32d4040
CY
130492011-04-09 Chong Yidong <cyd@stupidchicken.com>
13050
13051 * image-mode.el (image-toggle-display-image): Signal an error if
13052 not in Image mode.
13053 (image-transform-mode, image-transform-resize)
13054 (image-transform-set-rotation): Doc fix.
daca8ba5 13055 (image-transform-set-resize): Delete.
a32d4040
CY
13056 (image-transform-set-scale, image-transform-fit-to-height)
13057 (image-transform-fit-to-width): Handle image-toggle-display-image
13058 and image-transform-resize directly.
13059
099c39a4 130602011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13061
13062 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13063 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13064 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13065 (doc-view-mode-map): Add bindings for the new functions.
13066
099c39a4 130672011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13068
4d61f28d 13069 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13070 Fix typo in docstring.
13071
3726838a
EZ
130722011-04-08 Eli Zaretskii <eliz@gnu.org>
13073
04f33f1e
EZ
13074 * files.el (file-size-human-readable): Produce one digit after
13075 decimal, like "ls -lh" does.
13076
13077 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13078 the file size representation.
13079
3726838a
EZ
13080 * simple.el (list-processes): If async subprocesses are not
13081 available, error out with a clear error message.
13082
cbb59342
CY
130832011-04-08 Chong Yidong <cyd@stupidchicken.com>
13084
13085 * help.el (help-form-show): New function, to be called from C.
13086 Put help-form output in a buffer named differently than *Help*.
13087
e3971c44
EZ
130882011-04-08 Eli Zaretskii <eliz@gnu.org>
13089
13090 * files.el (file-size-human-readable): New function.
13091
13092 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13093 computing the representation inline. Don't require `cl'.
13094
12544bbe
GM
130952011-04-08 Glenn Morris <rgm@gnu.org>
13096
a1de6c6a
GM
13097 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13098
3c4671f4
GM
13099 * net/browse-url.el (browse-url-firefox):
13100 Test system-type, not system-configuration.
13101
b605679c
GM
13102 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13103 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13104 Use log-edit-empty-buffer-p. (Bug#7598)
13105
56442f0c
GM
13106 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13107 (rlogin-mode-map): Initialize in the defvar.
13108 (rlogin): Use ignore-errors.
13109
12544bbe
GM
13110 * replace.el (occur-mode-map): Some fixes for menu items.
13111
eb237b0f
AH
131122011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13113
13114 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13115
7d668f2c
CY
131162011-04-06 Chong Yidong <cyd@stupidchicken.com>
13117
e67a13ab
CY
13118 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13119 issuing unused warnings.
13120
13121 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13122 macro directly.
13123
7d668f2c
CY
13124 * simple.el: Lisp reimplement of list-processes. Based on an
13125 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13126 (process-menu-mode): New major mode.
13127 (list-processes--refresh, list-processes):
13128 (process-menu-visit-buffer): New functions.
13129
13130 * files.el (save-buffers-kill-emacs): Don't assume any return
13131 value of list-processes, which is undocumented anyway.
13132
a83ec3c9
CY
131332011-04-06 Chong Yidong <cyd@stupidchicken.com>
13134
13135 * emacs-lisp/tabulated-list.el: New file.
13136
e91a96fe
CY
13137 * emacs-lisp/package.el: Use Tabulated List mode.
13138 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13139 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13140 table format using Tabulated List mode variables.
13141 (package--push): New macro, replacing package-list-maybe-add.
13142 (package-menu--generate): Use package--push. Renamed from
13143 package--generate-package-list.
13144 (package-menu-refresh, list-packages): Use it.
daca8ba5 13145 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13146 Return insertion data instead of inserting it directly.
099c39a4
JB
13147 (package-menu-describe-package, package-menu-execute):
13148 Use tabulated-list-get-id.
e91a96fe
CY
13149 (package-menu-mark-delete, package-menu-mark-install)
13150 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13151 (package-menu-mark-obsolete-for-deletion):
13152 Use tabulated-list-put-tag.
e91a96fe
CY
13153 (package--list-packages, package-menu-revert)
13154 (package-menu-get-package, package-menu-get-version)
13155 (package-menu-sort-by-column): Functions deleted.
13156 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13157 (package-menu--status-predicate, package-menu--version-predicate)
13158 (package-menu--name-predicate)
13159 (package-menu--description-predicate): Handle arguments in the
13160 Tabulated List format.
13161 (package-list-packages-no-fetch): Call list-packages.
13162
3e214b50
JB
131632011-04-06 Juanma Barranquero <lekktu@gmail.com>
13164
13165 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13166 (after-find-file): Don't bind it.
3e214b50
JB
13167 (revert-buffer-in-progress-p): New variable.
13168 (revert-buffer): Bind it.
13169 Pass nil for `after-find-file-from-revert-buffer'.
13170
13171 * saveplace.el (save-place-find-file-hook): Use new variable
13172 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13173
3f0f1700
GM
131742011-04-06 Glenn Morris <rgm@gnu.org>
13175
c0274801
GM
13176 * Makefile.in (AUTOGEN_VCS): New variable.
13177 (autoloads): Use $AUTOGEN_VCS.
13178
3f0f1700
GM
13179 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13180 * calendar/calendar.el (calendar-mode-map):
13181 Check for toolkit scroll bars. (Bug#8305)
13182
41ea9e48
CY
131832011-04-05 Chong Yidong <cyd@stupidchicken.com>
13184
13185 * minibuffer.el (completion-in-region--postch)
13186 (completion-in-region-mode): Remove unnecessary messages.
13187
6194c800
JB
131882011-04-05 Juanma Barranquero <lekktu@gmail.com>
13189
33256f14
JB
13190 * font-lock.el (font-lock-refresh-defaults):
13191 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13192 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13193
6194c800
JB
13194 * info.el (Info-directory-list, Info-read-node-name-2)
13195 (Info-split-parameter-string): Doc fixes.
13196 (Info-virtual-nodes): Reflow docstring.
13197 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13198 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13199 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13200 Fix typos in docstrings.
13201 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13202 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13203 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13204 (Info-restore-desktop-buffer): Mark unused parameters.
13205 (Info-directory-find-file, Info-directory-find-node)
13206 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13207 (Info-virtual-index-find-node, Info-apropos-find-file)
13208 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13209 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13210 (Info-virtual-index): Remove unused local variable `nodename'.
13211
b87a8200 132122011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13213
b87a8200
DD
13214 * net/rcirc.el: Update my e-mail address.
13215 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13216
3b2ff876
CY
132172011-04-05 Chong Yidong <cyd@stupidchicken.com>
13218
13219 * startup.el (command-line): Save the cursor's theme-face
13220 directly, instead of using face-override-spec.
13221
13222 * custom.el (load-theme): Minor optimization in assigning faces.
13223
8d17e7ca
JB
132242011-04-04 Juanma Barranquero <lekktu@gmail.com>
13225
13226 * help-fns.el (describe-variable): Complete all variables having
13227 documentation, including keywords.
13228 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13229
2fbc1934
JB
132302011-04-04 Juanma Barranquero <lekktu@gmail.com>
13231
13232 Convert to lexical-binding.
13233
13234 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13235 (bs--get-marked-string, bs--get-modified-string)
13236 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13237 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13238 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13239
13240 * ehelp.el (electric-help-execute-extended)
13241 (electric-help-ctrl-x-prefix):
13242 * hexl.el (hexl-revert-buffer-function):
13243 * linum.el (linum-after-change, linum-after-scroll):
13244 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13245
13246 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13247
74f50695
DU
132482011-04-04 Daiki Ueno <ueno@unixuser.org>
13249
13250 * epa-dired.el:
13251 * epa-mail.el:
13252 * epa-hook.el:
13253 * epa-file.el:
13254 * epa.el:
13255 * epg.el: Use lexical binding.
13256
c11325f7
CY
132572011-04-03 Chong Yidong <cyd@stupidchicken.com>
13258
0d9e9a12
CY
13259 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13260
c11325f7 13261 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13262 dictionary case for flyspell-mark-duplications-exceptions.
13263 Use regexp matching for languages.
c11325f7
CY
13264 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13265 default dictionary (Bug#7926).
13266
da91b5f2
CY
132672011-04-02 Chong Yidong <cyd@stupidchicken.com>
13268
099c39a4
JB
13269 * emacs-lisp/package.el (package--with-work-buffer):
13270 Recognize https URLs.
da91b5f2 13271
099c39a4
JB
13272 * net/network-stream.el: Move from gnus/proto-stream.el.
13273 Change prefix to network-stream throughout.
da91b5f2
CY
13274 (open-protocol-stream): Merge into open-network-stream, leaving
13275 open-protocol-stream as an alias. Handle nil BUFFER args.
13276
13277 * subr.el (open-network-stream): Move to net/network-stream.el.
13278
afa8e9f6
GM
132792011-04-02 Glenn Morris <rgm@gnu.org>
13280
1d2e369d
GM
13281 * find-dired.el (find-exec-terminator): New option.
13282 (find-ls-option): Test for -ls support.
13283 (find-ls-subdir-switches): Test for -b in find-ls-option.
13284 (find-dired, find-grep-dired): Doc fixes.
13285 (find-dired): Use find-exec-terminator.
13286
8abb7da8 13287 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13288 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13289 (find-name-arg): Remove purecopy.
8abb7da8 13290
f3ca7378
GM
13291 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13292 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13293 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13294 accordingly. Don't add the null-device if not needed.
13295
afa8e9f6
GM
13296 * files.el (save-some-buffers): Doc fix.
13297
35eae264
EZ
132982011-04-02 Eli Zaretskii <eliz@gnu.org>
13299
13300 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13301
26b51db5
JB
133022011-04-01 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13305 Use `dolist' rather than `mapcar'.
13306
7200d79c
SM
133072011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13308
03408648 13309 Add lexical binding.
7200d79c 13310
03408648
SM
13311 * subr.el (apply-partially): Use new closures rather than CL.
13312 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13313 (dolist, dotimes): Use slightly different expansion for lexical code.
13314 (functionp): Move to C.
13315 (letrec): New macro.
13316 (with-wrapper-hook): Use it and apply-partially instead of CL.
13317 (eval-after-load): Preserve lexical-binding.
13318 (save-window-excursion, with-output-to-temp-buffer): Turn them
13319 into macros.
7200d79c 13320
03408648
SM
13321 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13322
13323 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13324 than the arglist.
13325 (help-add-fundoc-usage): Don't add `Not documented'.
13326 (help-function-arglist): Handle closures, subroutines, and new
13327 byte-code-functions.
13328 (help-make-usage): Remove leading underscores.
13329 (describe-function-1): Handle closures.
13330 (describe-variable): Use special-variable-p for completion.
13331
13332 * files.el (lexical-binding): Declare safe.
f488fb65 13333
03408648
SM
13334 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13335 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13336 (pcase): Add `let' pattern.
13337 Change memoization so it actually works.
13338 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13339 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13340 <let>: New case.
f488fb65 13341
03408648
SM
13342 * emacs-lisp/macroexp.el: Use lexical binding.
13343 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13344 Don't convert ' to #' without checking that it's indeed quoting
13345 a lambda.
13346
13347 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13348 Use eval-sexp-add-defvars.
03408648
SM
13349 (eval-sexp-add-defvars): New fun.
13350
13351 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13352
13353 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13354 Don't autoload.
13355 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13356 than the internal `byte-compile-lambda'.
13357 (defmethod): Don't hide code under quotes.
13358 (eieio-defmethod): New `code' argument.
13359
13360 * emacs-lisp/eieio-comp.el: Remove.
13361
13362 * emacs-lisp/edebug.el (edebug-eval-defun)
13363 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13364 (edebug-toggle): Avoid `eval'.
13365
13366 * emacs-lisp/disass.el (disassemble-internal): Handle new
13367 `closure' objects.
13368 (disassemble-1): Handle new byte codes.
13369
13370 * emacs-lisp/cl.el (pushnew): Silence warning.
13371
13372 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13373 (cl-byte-compile-throw): Remove.
13374 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13375
13376 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13377 closures.
13378
13379 * emacs-lisp/cconv.el: New file.
13380
13381 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13382 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13383 (byte-compile-initial-macro-environment):
13384 Handle declare-function here.
13385 (byte-compile--lexical-environment): New var.
13386 (byte-stack-ref, byte-stack-set, byte-discardN)
13387 (byte-discardN-preserve-tos): New lap codes.
13388 (byte-interactive-p): Don't use any more.
13389 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13390 New macros.
13391 (byte-compile-lapcode): Use them and handle new lap codes.
13392 (byte-compile-obsolete): Remove.
13393 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13394 (byte-compile-arglist-warn): Check late def of inlinable funs.
13395 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13396 since they should have been expanded by now.
13397 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13398 (byte-compile-from-buffer): Remove unused second arg.
13399 (byte-compile-preprocess): New function.
13400 (byte-compile-toplevel-file-form): New function to distinguish
13401 file-form calls from outside from file-form calls from hunk-handlers.
13402 (byte-compile-file-form): Simplify.
13403 (byte-compile-file-form-defsubst): Remove.
13404 (byte-compile-file-form-defmumble): Simplify now that
13405 byte-compile-lambda always returns a byte-code-function.
13406 (byte-compile): Preprocess.
13407 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13408 Remove, not used any more.
13409 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13410 (byte-compile-make-args-desc): New funs.
13411 (byte-compile-lambda): Handle lexical functions. Always return
13412 a byte-code-function.
13413 (byte-compile-reserved-constants): New var, to make up room for
13414 closed-over variables.
13415 (byte-compile-constants-vector): Obey it.
13416 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13417 (byte-compile-macroexpand-declare-function): New function.
13418 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13419 byte-code-functions.
13420 (byte-compile-form): Check obsolescence here.
13421 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13422 (byte-compile-variable-ref): Remove.
13423 (byte-compile-dynamic-variable-op): New fun.
13424 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13425 (byte-compile-variable-set): New funs.
13426 (byte-compile-discard): Add 2 args.
13427 (byte-compile-stack-ref, byte-compile-stack-set)
13428 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13429 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13430 macroexpand-all instead.
13431 (byte-compile-quote-form): Remove.
13432 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13433 (byte-compile-bind, byte-compile-unbind): New funs.
13434 (byte-compile-let): Handle let* and lexical binding.
13435 (byte-compile-let*): Remove.
13436 (byte-compile-catch, byte-compile-unwind-protect)
13437 (byte-compile-track-mouse, byte-compile-condition-case):
13438 Handle a new :fun-body form, used for lexical scoping.
13439 (byte-compile-save-window-excursion)
13440 (byte-compile-with-output-to-temp-buffer): Remove.
13441 (byte-compile-defun): Simplify.
13442 (byte-compile-stack-adjustment): New fun.
13443 (byte-compile-out): Use it.
13444 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13445
13446 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13447 handler any more.
13448
13449 * emacs-lisp/byte-opt.el: Use lexical binding.
13450 (byte-inline-lapcode): Remove (to bytecomp).
13451 (byte-compile-inline-expand): Pay attention to inlining to/from
13452 lexically bound code.
13453 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13454 any more.
13455 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13456 any more and don't call compiler-macros.
13457 (byte-compile-splice-in-already-compiled-code): Remove.
13458 (byte-code): Don't inline any more.
13459 (disassemble-offset): Receive `bytes' as argument rather than via
13460 dynamic scoping.
13461 (byte-compile-tag-number): Declare before first use.
13462 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13463 `return' even if make-spliceable.
13464 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13465 obsolete interactive-p.
13466 (byte-optimize-lapcode): Optimize new lap-codes.
13467 Don't trip up on new form of `byte-constant' lap code.
13468
13469 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13470
13471 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13472
13473 * custom.el (custom-initialize-default, custom-declare-variable):
13474 Use `defvar'.
13475
13476 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13477 New variables.
13478 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13479 (COMPILE_FIRST): Add macroexp and cconv.
13480 * makefile.w32-in: Mirror changes in Makefile.in.
13481
13482 * vc/cvs-status.el:
13483 * vc/diff-mode.el:
13484 * vc/log-edit.el:
13485 * vc/log-view.el:
13486 * vc/smerge-mode.el:
13487 * textmodes/bibtex-style.el:
13488 * textmodes/css.el:
13489 * startup.el:
13490 * uniquify.el:
da91b5f2
CY
13491 * minibuffer.el:
13492 * newcomment.el:
13493 * reveal.el:
13494 * server.el:
13495 * mpc.el:
13496 * emacs-lisp/smie.el:
13497 * doc-view.el:
13498 * dired.el:
03408648
SM
13499 * abbrev.el: Use lexical binding.
13500
0f0c1f27
EZ
135012011-04-01 Eli Zaretskii <eliz@gnu.org>
13502
13503 * info.el (info-display-manual): New function.
13504
c82b2579
SM
135052011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13508
221ddf68
TH
135092011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13510
13511 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13512 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13513
cba6e77e
GM
135142011-03-31 Glenn Morris <rgm@gnu.org>
13515
e040639f
GM
13516 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13517
cba6e77e
GM
13518 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13519
6d0f1c9e
CS
135202011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13521
13522 * progmodes/python.el (python-default-interpreter)
13523 (python-python-command-args, python-jython-command-args)
13524 (python-which-shell, python-which-args, python-which-bufname)
13525 (python-file-queue, python-comint-output-filter-function)
13526 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13527 variables and functions.
13528
3e2d70fd
SM
135292011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13530
13531 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13532 (completion-in-region-mode): New minor mode.
13533 (completion-in-region): Use it.
13534 (completion-in-region--data, completion-in-region-mode-map): New vars.
13535 (completion-in-region--postch): New function.
13536 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13537 New vars.
13538 (completion--capf-wrapper): New function.
13539 (completion-at-point): Use it to track well-behavedness of
13540 hook functions.
13541 (completion-help-at-point): New command.
13542
f3e4086c
JM
135432011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13544
13545 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13546 syntax class to search for whitespace on a single line
13547 (Message-ID: <4D938140.4030905@redhat.com>).
13548
eb7ffc14
LL
135492011-03-30 Leo Liu <sdl.web@gmail.com>
13550
13551 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13552 New commands.
13553 (edit-abbrevs-map): Bind them here.
13554 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13555
d806ab68
KM
135562011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13557
13558 * allout.el (allout-hide-by-annotation, allout-flag-region):
13559 Reduce possibility of overlay leakage by making them volatile.
13560
13561 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13562 hash is not shared between buffers. Mode initialization is
13563 responsible for giving it a useful starting value.
13564 (allout-item-span): Reduce possibility of overlay leakage by
13565 making them volatile.
13566 (allout-widgets-count-buttons-in-region): Add diagnostic function
13567 for tracking down button overlay leaks.
13568
ea622834
LL
135692011-03-29 Leo Liu <sdl.web@gmail.com>
13570
13571 * ido.el (ido-read-internal): Use the default history var
13572 minibuffer-history if no HISTORY is specified.
13573
b62f8267
G
135742011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13575
03408648
SM
13576 * net/imap.el (imap-shell-open, imap-process-connection-type):
13577 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13578 Kerberos, SSL, other subprocesses.
13579
947b6566
LL
135802011-03-28 Leo Liu <sdl.web@gmail.com>
13581
13582 * abbrev.el (abbrev-table-empty-p): New function.
13583 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13584 nonempty ones. (Bug#5937)
13585
5ffb62aa
JD
135862011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13587
13588 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13589
7a097943
LL
135902011-03-27 Leo Liu <sdl.web@gmail.com>
13591
13592 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13593 for foreground and background colors.
13594 (ansi-color-make-color-map): Adapt.
13595
c5b40130
LL
135962011-03-25 Leo Liu <sdl.web@gmail.com>
13597
1f48f7d2
LL
13598 * midnight.el (midnight-time-float): Remove. Note it calculates
13599 the microsecond component incorrectly and seconds-to-time does the
13600 same job.
625897ec 13601 Remove redundant (require 'timer).
1f48f7d2 13602
c5b40130
LL
13603 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13604 (ido-completions): Remove unused arguments. (Bug#8329)
13605
d86d2721
SM
136062011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13607
13608 * minibuffer.el (completion--flush-all-sorted-completions):
13609 Remove itself from hook.
13610 (completion-at-point): Let the functions perform the completion
13611 immediately and return nil or t.
13612 * comint.el (comint-dynamic-complete-functions): Now identical to
13613 completion-at-point-functions.
13614 (comint-dynamic-list-input-ring): Remove unused var `index'.
13615 (comint--match-partial-filename, comint--unquote&expand-filename):
13616 New funs, split from comint-match-partial-filename.
13617 (comint-dynamic-complete): Use completion-at-point.
13618 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13619
e8974c48
DA
136202011-03-24 Drew Adams <drew.adams@oracle.com>
13621
13622 * thingatpt.el: Support `defun'.
13623
def71b5e
LL
136242011-03-23 Leo Liu <sdl.web@gmail.com>
13625
cb5af48e
LL
13626 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13627
def71b5e
LL
13628 * help-mode.el (help-mode-finish): Tweak regexp.
13629
927c53e7
GM
136302011-03-23 Glenn Morris <rgm@gnu.org>
13631
18d05bed
GM
13632 * eshell/esh-opt.el (eshell-eval-using-options):
13633 Do not bind unused local variable `eshell-option-stub'.
13634
927c53e7
GM
13635 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13636
9d0da923
JB
136372011-03-22 Juanma Barranquero <lekktu@gmail.com>
13638
13639 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13640 keymap variable in `with-no-warnings' to avoid a warning when the
13641 keymap has been already `defconst'ed.
13642
4b978a67
LL
136432011-03-22 Leo Liu <sdl.web@gmail.com>
13644
13645 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13646 encode all chars in abbrevs; otherwise use emacs-mule or
13647 utf-8-emacs. (Bug#8308)
13648
5fd62452
JB
136492011-03-22 Juanma Barranquero <lekktu@gmail.com>
13650
0b1596c6
JB
13651 * simple.el (backward-delete-char-untabify):
13652 Avoid warning about using `delete-backward-char'.
13653
5fd62452
JB
13654 * image.el (image-type-file-name-regexps): Make it variable.
13655 `imagemagick-register-types' modifies it, and the user may want
13656 to add new extensions for known image types.
13657 (imagemagick-register-types): Throw error if not using ImageMagick.
13658
0b4e93f1
LL
136592011-03-22 Leo Liu <sdl.web@gmail.com>
13660
13661 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13662 located before rcirc-prompt-end-marker.
13663 (rcirc-complete): Error if point is not after rcirc prompt.
13664 Handle the case when table is nil.
9882e214 13665 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13666
fccee4ab
CY
136672011-03-22 Chong Yidong <cyd@stupidchicken.com>
13668
13669 * custom.el (custom--inhibit-theme-enable): Make it affect only
13670 custom-theme-set-variables and custom-theme-set-faces.
13671 (provide-theme): Ignore custom--inhibit-theme-enable.
13672 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13673 (custom-enabling-themes): Delete variable.
d86d2721
SM
13674 (enable-theme): Accept only loaded themes as arguments.
13675 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13676 (custom-enabled-themes): Forbid themes from setting this.
13677 Eliminate use of custom-enabling-themes.
13678 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13679
af896da6
LL
136802011-03-21 Leo Liu <sdl.web@gmail.com>
13681
13682 * ido.el (ido-read-internal): Add ido-selected to history instead
13683 of user input.
13684
78f64af0
SM
136852011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13686
13687 * subr.el (deferred-action-list, deferred-action-function):
13688 Mark obsolete.
13689
b16ac1ec
LL
136902011-03-21 Leo Liu <sdl.web@gmail.com>
13691
810f7698
LL
13692 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13693 change on 2011-02-13 (bug#8309).
13694
b16ac1ec
LL
13695 * minibuffer.el (read-file-name-function): Change default value.
13696 (read-file-name--defaults): Rename from read-file-name-defaults.
13697 (read-file-name-default): Rename from read-file-name.
13698 (read-file-name): Call read-file-name-function.
13699
4e05e67e
GM
137002011-03-21 Glenn Morris <rgm@gnu.org>
13701
13702 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13703 Doc fixes.
13704
4359915b
CY
137052011-03-21 Chong Yidong <cyd@stupidchicken.com>
13706
13707 * cus-theme.el: Add missing provide statement.
13708 (customize-create-theme): Extract theme value correctly.
13709 (custom-theme-visit-theme): Autoload.
13710 (customize-create-theme): Prompt before inserting default faces.
13711
1fe275ee
JB
137122011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13713
13714 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13715 units and musical notes.
13716
cd394be1 137172011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13718
13719 * ido.el (ido-read-internal): Use completing-read-default.
13720 (ido-completing-read): Fix compatibility with completing-read.
13721
7d476bde
CO
137222011-03-20 Christian Ohler <ohler@gnu.org>
13723
13724 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13725 (ert-delete-all-tests): Use `called-interactively-p' rather than
13726 `interactive-p'.
13727 (ert--make-xrefs-region): Respect END.
13728
fe0fb33e
CY
137292011-03-19 Chong Yidong <cyd@stupidchicken.com>
13730
ff854b0b
CY
13731 * dired-aux.el (dired-create-directory): Signal an error if the
13732 directory already exists (Bug#8246).
13733
fe0fb33e
CY
13734 * facemenu.el (list-colors-display): Call list-faces-display
13735 inside with-help-window.
13736 (list-colors-print): Use display property to align the final
13737 column, instead of checking window-width.
13738
576bce32
EZ
137392011-03-19 Eli Zaretskii <eliz@gnu.org>
13740
4d61f28d 13741 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13742 windows-nt systems.
13743 (emerge-protect-metachars): Quote correctly for ms-dos and
13744 windows-nt systems.
13745
89c41d68 137462011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13747
13748 * info.el (info-initialize): Replace all uses of `:' with
13749 path-separator for compatibility with non-Unix systems.
13750 Cache quoting of path-separator. (Bug#8258)
13751
b14e3e21 137522011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13753
13754 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13755 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13756 (mouse-avoidance-mode): Fix typos in docstrings.
13757
4525ce3e
CY
137582011-03-19 Chong Yidong <cyd@stupidchicken.com>
13759
13760 * startup.el (package-subdirectory-regexp): Move from package.el.
13761 Omit \\` and \\', and let callers add them.
13762
13763 * emacs-lisp/package.el (package-strip-version)
13764 (package-load-all-descriptors): Add \\` and \\' to
13765 package-subdirectory-regexp before using it.
13766 (package-untar-buffer): New arg DIR; ensure that file untars only
13767 into this expected directory. Remove superfluous delete-region.
13768 (package-unpack): Caller changed.
13769 (package-tar-file-info): Use package-subdirectory-regexp.
13770
a904a09a 137712011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13772
a904a09a
SM
13773 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13774 diff-mode-shared-map (bug#8284).
13775 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13776
137772011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778
13779 * calendar/time-date.el (format-seconds): Use assoc instead of
13780 assoc-string, since assoc-string doesn't exist in XEmacs.
13781
171fc304
JB
137822011-03-17 Juanma Barranquero <lekktu@gmail.com>
13783
13784 * custom.el (custom-known-themes): Reflow docstring.
13785 (custom-theme-load-path): Fix typo in docstring.
13786 (load-theme): Fix typo in error message.
13787 (custom-available-themes, custom-variable-theme-value):
13788 Use `let', not `let*'.
13789
d71990a1
JB
137902011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13791
13792 * calc/README: Mention inclusion of musical notes.
13793
13794 * calc/calc-units.el (calc-lu-quant): Rename from
13795 `calc-logunits-quantity'.
13796 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13797 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13798 (calc-db): Rename from `calc-dblevel'.
13799 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13800 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13801 (calc-np): Rename from `calc-nplevel'.
13802 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13803 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13804 (calc-lu-plus): Rename from `calc-logunits-add'.
13805 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13806 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13807 (calc-lu-minus): Rename from `calc-logunits-sub'.
13808 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13809 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13810 (calc-lu-times): Rename from `calc-logunits-mul'.
13811 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13812 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13813 (calc-lu-divide): Rename from `calc-logunits-div'.
13814 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13815 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13816
13817 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13818 functions being autoloaded.
13819
13820 * calc/calc.el (calc-lu-power-reference): Rename from
13821 `calc-logunits-power-reference'.
13822 (calc-lu-field-reference): Rename from
13823 `calc-logunits-field-reference'.
13824
7a71b18d
GM
13825 * calc/calc-help.el (calc-l-prefix-help):
13826 Mention musical note functions.
d71990a1 13827
40c2934b
SM
138282011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * minibuffer.el (completion-all-sorted-completions):
13831 Use :completion-cycle-penalty text property if present.
13832
b0911414
KM
138332011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13834
13835 * allout.el (allout-yank-processing): Adjust for new rebulleting
13836 regime so bullet being yanked is used without prompting the user
13837 for a choice.
13838
8a05b668
JB
138392011-03-16 Juanma Barranquero <lekktu@gmail.com>
13840
13841 * startup.el (command-line): Warn the user that _emacs is deprecated.
13842
5ba5fb81
JB
138432011-03-16 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13846 (delphi-verbose, delphi-comment-face, delphi-string-face)
13847 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13848 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13849 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13850 (delphi-new-comment-line, delphi-font-lock-defaults)
13851 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13852 Fix typos in docstrings.
13853
2dab465b
KM
138542011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13855
5ba5fb81 13856 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13857 Invert the roles of character and string values for INSTEAD, so a
13858 string is used for the more common case of a defaulting prompt.
13859
0adf5618
SM
138602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * progmodes/ruby-mode.el (ruby-backward-sexp):
13863 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13864 * play/gamegrid.el (gamegrid-make-face):
13865 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13866 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13867 * notifications.el (notifications-notify):
13868 * net/xesam.el (xesam-search-engines):
13869 * net/quickurl.el (quickurl-list-insert):
13870 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13871
d72700e5
CY
138722011-03-15 Chong Yidong <cyd@stupidchicken.com>
13873
13874 * startup.el (command-line): Update package subdirectory regexp.
13875
49c5410a
SM
138762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13877
c6eee9aa
SM
13878 * allout.el (allout-abbreviate-flattened-numbering)
13879 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13880
49c5410a
SM
13881 * subr.el (read-char-choice): Only show the cursor after the prompt,
13882 not after the answer.
13883
047b2bb9
KR
138842011-03-15 Kevin Ryde <user42@zip.com.au>
13885
13886 * help-fns.el (variable-at-point): Skip leading quotes, if any
13887 (bug#8253).
13888
0a57d256
SM
138892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13890
13891 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13892 warning message.
13893
77c992bc
MA
138942011-03-14 Michael Albinus <michael.albinus@gmx.de>
13895
13896 * shell.el (shell): When called interactively, offer to change the
13897 shell file name on remote hosts.
13898
eebc475d
TZ
138992011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13900
13901 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13902 integration for LDAP parameters. The host, base, user or binddn,
13903 and secret tokens can be specified in a netrc file, for instance.
13904 This is optional because an `auth-source' parameter must be
13905 specified in the search attributes.
13906
9d05d1ba
JB
139072011-03-13 Juanma Barranquero <lekktu@gmail.com>
13908
13909 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13910
09d9db2c
GM
139112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13912
13913 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13914 into declaration. Remove redundant and harmful binding.
13915
139162011-03-12 Eli Zaretskii <eliz@gnu.org>
13917
13918 * files.el (file-ownership-preserved-p): Pass `integer' as an
13919 explicit 2nd argument to `file-attributes'. If the file's owner
13920 is the Administrators group on Windows, and the current user is
13921 Administrator, consider that a match.
13922
13923 * server.el (server-ensure-safe-dir): Consider server directory
13924 safe on MS-Windows if its owner is the Administrators group while
13925 the current Emacs user is Administrator. Use `=' to compare
13926 numerical UIDs, since they could be integers or floats.
13927
219bd536
JB
139282011-03-12 Juanma Barranquero <lekktu@gmail.com>
13929
13930 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13931
f3afd36b
MA
139322011-03-12 Michael Albinus <michael.albinus@gmx.de>
13933
13934 Sync with Tramp 2.2.1.
13935
13936 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13937
13938 * net/trampver.el: Update release number.
13939
3aaaa6f1
SM
139402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13941
94642599
SM
13942 * progmodes/compile.el (compilation--previous-directory): Fix up
13943 various nil/dead-marker mismatches (bug#8014).
13944 (compilation-directory-properties, compilation-error-properties):
13945 Don't call it at a position past the one we're about to change.
13946
3aaaa6f1
SM
13947 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13948 Disable obsolescence warnings in the file that declares it.
13949
14239447
KM
139502011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13951
099c39a4
JB
13952 * allout-widgets.el (allout-widgets-tally):
13953 Initialize allout-widgets-tally as a hash table rather than nil to
13954 prevent mode-line redisplay warnings. Also, clarify the module
13955 description and fix a comment typo.
14239447 13956
135e287c
JB
139572011-03-11 Juanma Barranquero <lekktu@gmail.com>
13958
13959 * help-fns.el (describe-variable): Don't complete keywords.
13960 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13961
ffbf300e
CY
139622011-03-10 Chong Yidong <cyd@stupidchicken.com>
13963
ba08b241
CY
13964 * emacs-lisp/package.el (package-version-join): Impose a standard
13965 string representation for pre/alpha/beta version lists.
13966 (package-unpack-single): Standardize the directory name by passing
13967 it through package-version-join.
13968 (package-strip-rcs-id): Accept any version string that does not
13969 signal an error in version-to-list.
ffbf300e 13970
f346fd6b
MA
139712011-03-10 Michael Albinus <michael.albinus@gmx.de>
13972
13973 * simple.el (delete-trailing-whitespace): Return nil for the
13974 benefit of `write-file-functions'.
13975
ccb55d27
GM
139762011-03-10 Glenn Morris <rgm@gnu.org>
13977
5ceaac0c
GM
13978 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13979
02da65ff
GM
13980 * vc/vc-git.el (vc-git-program): New option.
13981 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13982 (vc-git--call): Use it.
13983
b2f603cc
GM
13984 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13985
5772caab
GM
13986 * cus-edit.el (Custom-newline): If no button at point, look
13987 for a subgroup button at start-of-line. (Bug#2298)
13988
ccb55d27
GM
13989 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13990
ec6ecaed
JD
139912011-03-10 Julien Danjou <julien@danjou.info>
13992
13993 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13994 `cursor-type' is nil.
13995
9d5aa01d
JB
139962011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13997
13998 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13999
b6a5875b
KM
140002011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14001
7a71b18d 14002 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14003 preserves the existing header prefix, rebulleting it if necessary,
14004 rather than replacing it. This is necessary for proper operation
14005 of cooperative addons like allout-widgets.
1154d12e
JB
14006 (allout-make-topic-prefix, allout-rebullet-heading):
14007 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14008 value as alternate bullet to be used, instead of prompting the user
14009 for a bullet character.
b6a5875b 14010
ee545c35
MA
140112011-03-09 Michael Albinus <michael.albinus@gmx.de>
14012
d86d2721
SM
14013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14014 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14015 `tramp-default-port'.
14016
c47971d7
DD
140172011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14018
14019 * net/rcirc.el (rcirc-handler-001): Remove useless
14020 with-rcirc-process-buffer.
14021 (rcirc-check-auth-status): Swap arguments to string-match.
14022
13522cb4
GM
140232011-03-09 Glenn Morris <rgm@gnu.org>
14024
0be6f4f1
GM
14025 * shell.el (shell-mode):
14026 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14027
13522cb4
GM
14028 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14029 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14030
515de2e3
CY
140312011-03-08 Chong Yidong <cyd@stupidchicken.com>
14032
14033 * emacs-lisp/package.el (package-refresh-contents)
14034 (package-menu-execute): Use condition-case-no-debug.
14035
b511b994
MA
140362011-03-08 Michael Albinus <michael.albinus@gmx.de>
14037
14038 * simple.el (shell-command-to-string): Use `process-file'.
14039
14040 * emacs-lisp/package.el (package-tar-file-info): Handle also
14041 remote files.
14042
d86d2721
SM
14043 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14044 Use `equal' for upload base check.
b511b994 14045
25bbfb31
AM
140462011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14047
14048 * textmodes/texinfo.el (texinfo-environments):
14049 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14050
be996521
GM
140512011-03-08 Glenn Morris <rgm@gnu.org>
14052
e9c8529f
GM
14053 * cus-start.el (cursor-in-non-selected-windows):
14054 Fix :set quoting oddness. (Bug#8192)
14055
be996521
GM
14056 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14057 in some setf expressions. (Bug#2159)
14058
2bb5649e
CY
140592011-03-08 Chong Yidong <cyd@stupidchicken.com>
14060
14061 * custom.el (custom-available-themes): Return themes in
14062 alphabetical order.
14063
33383987 14064See ChangeLog.15 for earlier changes.
e3d51b27
MR
14065
14066;; Local Variables:
14067;; coding: utf-8
e3d51b27
MR
14068;; End:
14069
acaf905b 14070 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14071
14072 This file is part of GNU Emacs.
14073
14074 GNU Emacs is free software: you can redistribute it and/or modify
14075 it under the terms of the GNU General Public License as published by
14076 the Free Software Foundation, either version 3 of the License, or
14077 (at your option) any later version.
14078
14079 GNU Emacs is distributed in the hope that it will be useful,
14080 but WITHOUT ANY WARRANTY; without even the implied warranty of
14081 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14082 GNU General Public License for more details.
14083
14084 You should have received a copy of the GNU General Public License
14085 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.