Merge from gnulib.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
04188bb9
GM
12012-05-26 Glenn Morris <rgm@gnu.org>
2
38264cc9
GM
3 * w32-fns.el (w32-init-info): Remove.
4 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5
eb7afdad
GM
6 * info.el (info-initialize): For self-contained NS builds, put the
7 included info/ directory at the front. (Bug#2791)
8
04188bb9
GM
9 * paths.el (Info-default-directory-list): Make it a defcustom,
10 mainly so that we can use custom-initialize-delay.
11
a179e3f7
SM
122012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13
43416392
SM
14 * subr.el (buffer-has-markers-at): Mark obsolete.
15
a179e3f7 16 * subr.el (lambda): Use declare.
43416392 17
a179e3f7
SM
18 * emacs-lisp/lisp-mode.el (lambda):
19 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
20
34a008d9
AH
212012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22
23 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
24
0a3b289f
GM
252012-05-26 Glenn Morris <rgm@gnu.org>
26
27 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
28
758c81e8
GM
292012-05-25 Glenn Morris <rgm@gnu.org>
30
f9f334f0
GM
31 * paths.el: Remove no-byte-compile.
32 * loadup.el: No need to load paths.el uncompiled.
33
87eb79c2
GM
34 * image.el (imagemagick-types-inhibit): Doc fix.
35
758c81e8
GM
36 * version.el: Remove no-byte-compile and associated formatting.
37 * loadup.el: No need to load version.el uncompiled. AFAICS, this
38 is ancient code from when there was an "inc-vers.el".
39
e7e85dc0
SM
402012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * progmodes/gdb-mi.el: Minor style changes.
43 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
44 Turn into minor modes.
45 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
46 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
47 (gdb-shell): Remove unneeded let-binding.
48 (gdb-get-many-fields): Eliminate O(n²) behavior.
49
f31237a4
EZ
502012-05-25 Eli Zaretskii <eliz@gnu.org>
51
52 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
53 platforms that don't link in fontset.c.
54
bc1b21bb
JL
552012-05-25 Juri Linkov <juri@jurta.org>
56
57 Use the same diff color scheme as in modern VCSes (bug#10181).
58
59 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
60 to avoid confusion with `diff-added' that now uses green colors.
61 (diff-removed): Use shades of red.
62 (diff-added): Use shades of green.
63 (diff-changed): Leave just the yellow color.
64 (diff-use-changed-face): New variable.
65 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
66 how to highlight context diff changes.
67 (diff-refine-change): Use shades of yellow.
68 (diff-refine-removed): New face that uses shades of red.
69 (diff-refine-added): New face that uses shades of green.
70 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
71 `diff-refine-removed' in the call to `smerge-refine-subst'
72 depending on the value of `diff-use-changed-face'.
73
74 * vc/smerge-mode.el (smerge-mine): Use shades of red.
75 (smerge-other): Use shades of green.
76 (smerge-base): Use shades of yellow.
77 (smerge-refined-change): Empty face.
78 (smerge-refined-removed): New face that uses shades of red.
79 (smerge-refined-added): New face that uses shades of green.
80 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
81 args `props-r' and `props-a', and use them. Doc fix.
82 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
83 on its value use different faces `smerge-refined-change',
84 `smerge-refined-removed', `smerge-refined-added' in the call to
85 `smerge-refine-subst'.
86
87 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
88 Add face condition `min-colors 88' with shades of red.
89 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
90 `min-colors 88' with shades of green.
91 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
92 `min-colors 88' with shades of yellow.
93
6df9112c
GM
942012-05-24 Glenn Morris <rgm@gnu.org>
95
ead5edc0
GM
96 * paths.el (prune-directory-list, remote-shell-program): Move to...
97 * files.el (prune-directory-list, remote-shell-program): ...here.
98 For the latter, delay initialization, prefer ssh, just search PATH.
99
f18b81e6
GM
100 * paths.el (term-file-prefix): Move to faces.el (the only user).
101 * faces.el (term-file-prefix): Move here, make it a defcustom.
102
ee2f89a6
GM
103 * paths.el (news-directory, news-path, news-inews-program):
104 Move to gnus/nnspool.el.
61a583ca 105
f8815e4c
GM
106 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
107
c8f3b42c
GM
108 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
109 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
110 Make the latter a defcustom, with a delayed initialization.
111
6df9112c
GM
112 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
113 These were deleted from Gnus itself late 2010.
114
5dadff36
JB
1152012-05-22 Juanma Barranquero <lekktu@gmail.com>
116
9e1701c6
JB
117 * progmodes/which-func.el (which-func-ff-hook):
118 Check against user-error, not error.
119
bd7239f5 120 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
121 cl-specs.el, which no longer exists.
122
3290526d
GM
1232012-05-22 Glenn Morris <rgm@gnu.org>
124
125 * info.el (info-emacs-bug): New command.
126 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
127 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
128
ff0c3cfb
GM
1292012-05-21 Glenn Morris <rgm@gnu.org>
130
131 * makefile.w32-in (update-subdirs-SH):
132 * Makefile.in (update-subdirs): Update for moved update-subdirs.
133
5814f126
SM
1342012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
135
a52c0aa0
SM
136 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
137
5814f126
SM
138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
139 Simplify Maven regexp, and make sure the file can't start with a space
140 (bug#11517).
141
b847032c
GM
1422012-05-21 Glenn Morris <rgm@gnu.org>
143
144 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
145 Scrap superfluous subshells.
146
3858bfe7
SM
1472012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
150 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
151
d14b0029
JB
1522012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
153
154 * calc/calc.el (calc-ensure-consistent-units): New variable.
155
a52c0aa0
SM
156 * calc/calc-units.el (math-consistent-units-p)
157 (math-check-unit-consistency): New functions.
158 (calc-quick-units, calc-convert-units):
159 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
160 is non-nil.
d14b0029
JB
161 (calc-extract-units): Fix typo.
162
60c4db3a
SM
1632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
164
77f3b62e
SM
165 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
166
60c4db3a
SM
167 * textmodes/flyspell.el: Commenting style, plus code simplifications.
168 (flyspell-default-deplacement-commands): Don't spell check after
169 repeated window/frame switches (e.g. triggered by mouse-movement).
170 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
171 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
172 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
173 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
174 Remove unused vars.
175 (flyspell-get-casechars, flyspell-get-not-casechars):
176 Simplify; Don't bother removing a ] just to add it back.
177 * textmodes/ispell.el (ispell-program-name): Use executable-find.
178
b1a10716
RS
1792012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
180
181 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
182 New functions.
bd7239f5 183 (math-function-table): Add support for more C functions.
b1a10716 184
3f1b25b5
AM
1852012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
186
187 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
188 (flyspell-debug-signal-word-checked): Protect delay handling for
189 otherchars against empty otherchars.
190
b581bb5c
SM
1912012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
194 their respective macro declarations.
195 * skeleton.el (define-skeleton):
196 * progmodes/compile.el (define-compilation-mode):
197 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
198 (define-ibuffer-filter):
199 * emacs-lisp/generic.el (define-generic-mode):
200 * emacs-lisp/easy-mmode.el (define-minor-mode)
201 (define-globalized-minor-mode):
202 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
203 * emacs-lisp/byte-run.el (defsubst):
204 * custom.el (deftheme): Add doc-string metadata.
205
70b8ef8f
SM
2062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
209
b1198e17
SM
2102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
211
9abdc45d
SM
212 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
213
b1198e17
SM
214 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
215 * emacs-lisp/cl-macs.el: Idem.
216 * emacs-lisp/cl-specs.el: Remove.
217
4735906a
SM
2182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 Minor renaming of internal CL functions and variables.
221 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
222 (cl--position): Rename from cl-position.
223 (cl--delete-duplicates): Rename from cl-delete-duplicates.
224 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
225 (cl--random-state): Rename from *random-state*.
226
ac348012
SM
2272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
230 parens around the arg list (bug#11499).
231
a0a79cde
JL
2322012-05-17 Juri Linkov <juri@jurta.org>
233
234 * isearch.el (word-search-regexp, word-search-backward)
235 (word-search-forward, word-search-backward-lax)
236 (word-search-forward-lax): Move functions from search.c
237 (bug#10145, bug#11381).
238
65034a51
AM
2392012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
240
241 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
242 (flyspell-debug-signal-word-checked): Delay for otherchars as for
243 normal word components.
244
1a72a195
SM
2452012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * minibuffer.el (completion--sifn-requote): Fix last change.
248 (minibuffer-local-must-match-filename-map):
249 Move define-obsolete-variable-alias before its var.
250
fdb058c2
SM
2512012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
252
c41045e6
SM
253 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
254
036dfb8b
SM
255 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
256 behavior.
257 (completion--string-equal-p): New function.
258 (completion--twq-all): Use it to get better assertion failure data.
259
2473256d
SM
260 Only handle ".." and '..' quoting in shell-mode (bug#11466).
261 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
262 (shell--requote-argument): New functions.
263 (shell-completion-vars): Use them.
264 (shell--parse-pcomplete-arguments): Rename from
265 shell-parse-pcomplete-arguments.
266 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
267 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
268 Obey comint-file-name-quote-list.
269
fdb058c2
SM
270 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
271 (smie-indent-keyword): Use it.
272
51fa99f1
SM
2732012-05-14 Stefan Merten <smerten@oekonux.de>
274
275 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
276
e18afed7 2772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
278
279 * net/rlogin.el (rlogin-mode-map): Fix last change.
280
e18afed7 2812012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
282
283 * mail/smtpmail.el (smtpmail-send-command): Send the command and
284 the following \r\n using a single `process-send-string', since the
285 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 286 with two `process-send-string's (Bug#11444).
8633b1f4 287
e18afed7 2882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 289
fdb058c2
SM
290 * shell.el (shell-parse-pcomplete-arguments):
291 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 292
2d21d7f6
WJ
2932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
294
e18afed7 295 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
296 (image-transform-scale, image-transform-right-angle-fudge): New vars.
297 (image-transform-width, image-transform-fit-width): New functions.
298 (image-transform-properties): Use them.
299 (image-transform-check-size): New function.
300 (image-toggle-display-image): Use it (for testing).
301 (image-transform-set-rotation): Reduce angle mod 360.
302 Delete obsolete comment.
303
7102e6d0
WJ
3042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
305
306 * image-mode.el: Fix scaling (bug#11399).
307 (image-transform-resize): Doc fix.
308 (image-transform-properties): Default scale is 1 and height should
309 be an integer.
310
06bc5e6e
SM
3112012-05-13 Johan Bockgård <bojohan@gnu.org>
312
313 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
314 than hard-coding `car', to fix misbehavior when moving forward.
315
0ae03b6a
CY
3162012-05-13 Chong Yidong <cyd@gnu.org>
317
318 * emacs-lisp/tabulated-list.el (tabulated-list-format)
319 (tabulated-list-entries, tabulated-list-padding)
320 (tabulated-list-sort-key): Make permanent-local.
321
322 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
323 (electric-buffer-list): Put electric buffer menu
324 command descriptions in this docstring, instead of the docstring
325 of electric-buffer-menu-mode. Code cleanups.
326 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
327 Electric-buffer-menu-mode.
328 (electric-buffer-update-highlight): Minor code cleanup.
329
205a7391
MA
3302012-05-13 Michael Albinus <michael.albinus@gmx.de>
331
332 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
333 (Bug#11447)
334
e5bd0a28
SM
3352012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 Move define-obsolete-variable-alias before the var's definition.
338 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
339 * tooltip.el (tooltip-hook):
340 * textmodes/reftex-toc.el (reftex-toc-map):
341 * textmodes/reftex-sel.el (reftex-select-label-map)
342 (reftex-select-bib-map):
343 * textmodes/reftex-index.el (reftex-index-map)
344 (reftex-index-phrases-map):
345 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
346 * progmodes/meta-mode.el (meta-mode-map):
347 * novice.el (disabled-command-hook):
348 * loadhist.el (unload-hook-features-list):
349 * frame.el (blink-cursor):
350 * files.el (find-file-not-found-hooks, write-file-hooks)
351 (write-contents-hooks):
352 * emulation/tpu-edt.el (GOLD-map):
353 * emacs-lock.el (emacs-lock-from-exiting):
354 * emacs-lisp/generic.el (generic-font-lock-defaults):
355 * emacs-lisp/chart.el (chart-map):
356 * dos-fns.el (register-name-alist):
357 * dired-x.el (dired-omit-files-p):
358 * desktop.el (desktop-enable):
359 * cus-edit.el (custom-mode-hook):
360 * buff-menu.el (buffer-menu-mode-hook):
361 * bookmark.el (bookmark-read-annotation-text-func)
362 (bookmark-exit-hooks):
363 * allout.el (allout-mode-deactivate-hook)
364 (allout-exposure-change-hook, allout-structure-added-hook)
365 (allout-structure-deleted-hook, allout-structure-shifted-hook):
366 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
367 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
368 comes before the corresponding variable's definition.
369
ac59c2f6
CY
3702012-05-12 Chong Yidong <cyd@gnu.org>
371
372 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
373 (Buffer-menu-mouse-select): Restore function (Bug#11459).
374 (Buffer-menu-mode-map): Bind it.
375 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 376
dee6c9a3
SM
3772012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
378
2171cea5
SM
379 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
380 (prolog-upper-case-string, prolog-lower-case-string)
381 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
382 (prolog-use-smie, prolog-smie-grammar): New vars.
383 (prolog-smie-forward-token, prolog-smie-backward-token)
384 (prolog-smie-rules): New funs.
385 (prolog-comment-indent): Remove.
386 (prolog-mode-variables): Use default comment indentation instead.
387 Setup SMIE.
388 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
389 (prolog-mode): Don't call them any more.
390 (prolog-electric-colon, prolog-electric-dash)
391 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
392
aa0382bd
SM
393 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
394
dbacb4bd
SM
395 * minibuffer.el (completion--twq-all): Again, allow case differences.
396
13bdd94c
SM
397 * term.el: Move keymap initialization code to be more idiomatic.
398 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
399 (term-terminal-menu): Move initialization into declaration.
400 (term-escape-char): Let the user set it in her .emacs.
401
ff46c759
SM
402 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
403 Provide SMIE-based indentation (not enabled by default yet).
404 (sh-mode-map): Don't bind electric keys.
405 Use electric-pair-mode instead of skeleton-pair.
406 (sh-assignment-regexp): Fit within 80 columns.
407 (sh-indent-supported): Specify actual shell name instead of boolean.
408 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
409 (sh-maybe-here-document): Use it. Make obsolete.
410 (sh-electric-here-document-mode) New minor mode.
411 (sh-mode): Use it. Don't set sh-indent-supported-here here.
412 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
413 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
414 (sh-smie-rc-grammar, sh-use-smie): New vars.
415 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
416 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
417 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
418 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
419 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
420 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
421 (sh-set-shell): Use smie-setup if requested.
422
dee6c9a3
SM
423 * term.el (term-set-escape-char): Properly set term-escape-char.
424 See http://stackoverflow.com/questions/10524656.
425
9f9aa044
CY
4262012-05-10 Chong Yidong <cyd@gnu.org>
427
428 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
429 Use url-generic-parse-url, and handle host names and Windows
430 filenames properly.
431 (ffap-url-unwrap-remote): Use url-generic-parse-url.
432 (ffap-url-unwrap-remote): Accept list values, specifying a list of
433 URL schemes to work on.
434 (ffap--toggle-read-only): New function.
435 (ffap-read-only, ffap-read-only-other-window)
436 (ffap-read-only-other-frame): Use it.
437 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
438 necessary for ffap-url-unwrap-remote.
439
836d29b3
DA
4402012-05-10 Dave Abrahams <dave@boostpro.com>
441
442 * cus-start.el (create-lockfiles): Add it.
443
00fd78ed
CY
4442012-05-09 Chong Yidong <cyd@gnu.org>
445
446 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
447 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
448
666b903b 4492012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
450
451 * shell.el (shell-completion-vars): Fix last change (bug#11348).
452
666b903b 4532012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
454
455 * ansi-color.el (ansi-color-process-output): Check for validity of
456 comint-last-output-start before using it. This avoids a bad
457 interaction with gdb-mi's input/output buffer.
458
666b903b 4592012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
460
461 * files.el (dir-locals-read-from-file):
462 Mention dir-locals in any error message.
463
666b903b 4642012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
465
466 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
467 package (Bug#11410).
468
f677562b
CY
469 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
470 variables into description.
471
666b903b 4722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
473
474 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
475 shell-delimiter-argument-list (bug#11348).
476 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
477
b499d8d0
JB
4782012-05-09 Juanma Barranquero <lekktu@gmail.com>
479
8f6b6da8
JB
480 * textmodes/rst.el: Silence byte-compiler warnings.
481 (rst-re-alist, rst-reset-section-caches): Move around.
482 (rst-re): Use `characterp', not `char-valid-p'.
483 (font-lock-beg, font-lock-end): Declare.
484
4824146a
JB
485 * progmodes/idlw-shell.el (specs): Remove reference to deleted
486 variable `idlwave-shell-activate-alt-keybindings' and simplify.
487
b499d8d0
JB
488 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
489
ad89bb83
GM
4902012-05-08 Glenn Morris <rgm@gnu.org>
491
492 * files.el (auto-mode-alist): Treat ".make" like ".mk".
493
8bba5a75
SM
4942012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
495
49ed9c8e
SM
496 * vc/log-edit.el: Add GNU coding standards highlighting.
497 (log-edit-font-lock-gnu-style)
498 (log-edit-font-lock-gnu-keywords): New vars.
499 (log-edit-font-lock-keywords): New fun.
500 (log-edit-mode): Don't fold case in font-lock.
501 (log-edit-font-lock-keywords): Do not assume case-folding.
502
07d00b56
SM
503 * imenu.el: Misc cleanup. Make docstrings out of comments.
504 Use lexical-binding.
505 (imenu--index-alist, imenu--last-menubar-index-alist)
506 (imenu-menubar-modified-tick): Use defvar-local.
507 (imenu--split-menu): Remove unused var.
508 (imenu--cleanup-seen): Declare as global.
509 (imenu--cleanup): Use dolist.
510
8bba5a75
SM
511 * subr.el (defvar-local): Add debug spec and doc-string position.
512
5075bdb5
GM
5132012-05-08 Glenn Morris <rgm@gnu.org>
514
c052c904
GM
515 * lisp/language/burmese.el, language/cham.el, language/czech.el:
516 * language/english.el, language/georgian.el, language/greek.el:
517 * language/japanese.el, language/khmer.el, language/korean.el:
518 * language/lao.el, language/misc-lang.el, language/romanian.el:
519 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
520 * language/thai.el, language/utf-8-lang.el:
521 Remove no-byte-compile setting.
522
5075bdb5
GM
523 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
524
06f679a7
AH
5252012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
526
527 * progmodes/make-mode.el (makefile-browse):
528 Remove unnecessary interactive. (Bug#11324)
529
03794570
GM
5302012-05-07 Glenn Morris <rgm@gnu.org>
531
af8630f4
GM
532 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
533
03794570
GM
534 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
535
f0809a9d
SM
5362012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
537
28be5ce7
SM
538 * loadup.el: Preload newcomment.el.
539 * newcomment.el: Move autoload-only code to toplevel.
540
f0809a9d
SM
541 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
542 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
543 Handle new :right-align column property.
544 (tabulated-list-print-col): Idem, plus use `display' text-property to
545 try and preserve alignment for variable pitch fonts.
546
1241b724
CY
5472012-05-07 Chong Yidong <cyd@gnu.org>
548
549 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
550 (tabulated-list-use-header-line): New var.
551 (tabulated-list-init-header): Use it.
552 (tabulated-list-print-fake-header): New function.
553 (tabulated-list-print): Use it.
554 (tabulated-list-sort-button-map): Add non-header-line commands.
555 (tabulated-list-init-header): Add column name property to basic
556 labels as well.
557 (tabulated-list-col-sort): Handle non-header-line button case.
558 (tabulated-list--sort-by-column-name): Fix a corner case.
559
f0809a9d
SM
560 * buff-menu.el (list-buffers--refresh):
561 Handle Buffer-menu-use-header-line.
1241b724 562
e5f9458f
CY
5632012-05-06 Chong Yidong <cyd@gnu.org>
564
565 * buff-menu.el: Convert to Tabulated List mode.
566 (Buffer-menu-buffer+size-width): Make obsolete.
567 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
568 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
569 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
570 documentation into docstring of buffer-menu.
571 (Buffer-menu-toggle-files-only): Add an informative message.
572 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
573 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
574 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
575 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
576 (Buffer-menu-execute, Buffer-menu-select)
577 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
578 (Buffer-menu-bury): Use Tabulated List machinery.
579 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
580 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 581 Delete.
e5f9458f
CY
582 (list-buffers--refresh): New function.
583 (list-buffers-noselect): Use it.
584 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
585 (Buffer-menu--pretty-file-name): New helper functions.
586
587 * loadup.el: Preload tabulated-list.
588
589 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
590 tabulated-list-sort-column.
591 (tabulated-list-init-header): Add the initial aligning space even
592 if tabulated-list-padding is zero.
593
e129292c
CS
5942012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
595
596 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
597 whose cdr is not a cons cell correctly (bug#11038).
598
6632d361
CY
5992012-05-06 Chong Yidong <cyd@gnu.org>
600
e129292c
CS
601 * emacs-lisp/tabulated-list.el (tabulated-list-format):
602 Accept additional plist in column descriptors.
6632d361
CY
603 (tabulated-list-init-header): Obey it.
604 (tabulated-list-get-entry): New function.
605 (tabulated-list-put-tag): Use it. Use string-width instead of
606 length.
607 (tabulated-list--column-number): New function.
608 (tabulated-list-print): Use it.
e129292c
CS
609 (tabulated-list-print-col): New function.
610 Set `tabulated-list-column-name' property on each column's text.
6632d361 611 (tabulated-list-print-entry): Use it.
e129292c
CS
612 (tabulated-list-delete-entry, tabulated-list-set-col):
613 New functions.
6632d361
CY
614 (tabulated-list-sort-column): New command (Bug#11337).
615
3cc99f68
CY
616 * buff-menu.el (list-buffers): Move C-x C-b binding from
617 buff-menu.el to bindings.el.
618
619 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
620 :advertised-binding feature.
621
52b61776
TN
6222012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
623
624 * progmodes/compile.el (compilation-internal-error-properties):
625 Calculate start position correctly when end-col is set but
626 end-line is not (Bug#11382).
627
ebfe2597
WJ
6282012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
629
630 * man.el (Man-unindent): Use text-property-default-nonsticky to
631 prevent untabify from inheriting face properties (Bug#11408).
632
a43f98b3
GM
6332012-05-05 Glenn Morris <rgm@gnu.org>
634
48176e8b
GM
635 * calendar/cal-html.el: Optionally include holidays in the output.
636 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
637 (cal-html-holidays): New option.
638 (cal-html-css-default): Add holiday entry.
639 (holiday-in-range): Autoload it.
640 (cal-html-htmlify-entry): Add optional class argument.
641 (cal-html-htmlify-list): Add optional holidays argument.
642 (cal-html-insert-agenda-days): Include holidays in the output.
643 (cal-html-one-month): Maybe include holidays.
644
a43f98b3
GM
645 * calendar/holidays.el (holiday-in-range):
646 Move here from cal-tex-list-holidays.
647 * calendar/cal-tex.el (cal-tex-list-holidays):
648 Make it an obsolete alias for holiday-in-range. Update all callers.
649
fef9d149 6502012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
651
652 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
653 Nextstep.
654
248da2f4
RW
6552012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
656
657 * files.el (file-auto-mode-skip): New var.
658 (set-auto-mode-1): Use it.
659
f95e9344
SM
6602012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
661
df96ab1e
SM
662 * repeat.el: Use lexical-binding.
663 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
664 (repeat-undo-count): Remove.
665 (repeat):
666 * progmodes/octave-mod.el (octave-abbrev-start):
667 * progmodes/f90.el (f90-abbrev-start):
668 * face-remap.el (text-scale-adjust):
669 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
670
5342bb06
SM
671 * emacs-lisp/pcase.el (pcase--let*): New function.
672 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
673 a bit more.
674 (pcase--split-pred): Be more clever about ruling out overlap between
675 a predicate and some constant pattern.
676 (pcase--q1): Use `null' instead of (eq foo nil).
677
f95e9344
SM
678 * subr.el (setq-local, defvar-local): New macros.
679 (kbd): Redefine as an alias.
680 (with-selected-window): Leave unrelated frames alone.
681 (set-temporary-overlay-map): New function.
682
71873e2b
SM
6832012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * subr.el (user-error): New function.
686 * window.el (switch-to-buffer):
687 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
688 (smerge-match-conflict):
689 * simple.el (previous-matching-history-element)
690 (next-matching-history-element, goto-history-element, undo-more)
691 (undo-start):
692 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
693 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
694 (next-file, tags-loop-scan, list-tags, complete-tag):
695 * progmodes/compile.el (compilation-loop):
696 * mouse.el (mouse-minibuffer-check):
697 * man.el (Man-bgproc-sentinel, Man-goto-page):
698 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
699 (Info-history-forward, Info-follow-reference, Info-menu)
700 (Info-extract-menu-item, Info-extract-menu-counting)
701 (Info-forward-node, Info-backward-node, Info-next-menu-item)
702 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
703 (Info-next-reference, Info-prev-reference, Info-index)
704 (Info-index-next, Info-follow-nearest-node)
705 (Info-copy-current-node-name):
706 * imenu.el (imenu--make-index-alist)
707 (imenu-default-create-index-function, imenu-add-to-menubar):
708 * files.el (basic-save-buffer, recover-file):
709 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
710 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
711 (checkdoc-message-text, checkdoc-defun):
712 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
713 * cus-edit.el (customize-changed-options, customize-rogue)
714 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
715 (custom-variable-mark-to-reset-standard)
716 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
717 (custom-file):
718 * completion.el (check-completion-length):
719 * comint.el (comint-search-arg)
720 (comint-previous-matching-input-string-position)
721 (comint-previous-matching-input)
722 (comint-replace-by-expanded-history-before-point, comint-send-input)
723 (comint-copy-old-input, comint-backward-matching-input)
724 (comint-goto-process-mark, comint-set-process-mark):
725 * calendar/calendar.el (calendar-cursor-to-date): Use it.
726 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
727
8a61ee22
SM
7282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
729
66408d1e
SM
730 * dabbrev.el (dabbrev--ignore-case-p): New function.
731 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
732 Use it.
733
8a61ee22
SM
734 * files.el (automount-dir-prefix): Mark as obsolete.
735
3c74813a
GM
7362012-05-04 Glenn Morris <rgm@gnu.org>
737
738 * patcomp.el, play/bruce.el: Move to obsolete/.
739
0bfcf5c5
PE
7402012-05-04 Paul Eggert <eggert@cs.ucla.edu>
741
742 Fix minor Y10k bugs.
743 * arc-mode.el (archive-unixdate):
744 * autoinsert.el (auto-insert-alist):
745 * calc/calc-forms.el (math-this-year):
746 * emacs-lisp/copyright.el (copyright-current-year)
747 (copyright-update-year, copyright):
748 * tar-mode.el (tar-clip-time-string):
749 * time.el (display-time-update):
750 Don't assume years have 4 digits.
751
78f3273a
CY
7522012-05-04 Chong Yidong <cyd@gnu.org>
753
754 * dos-w32.el (file-name-buffer-file-type-alist)
755 (direct-print-region-use-command-dot-com):
756 * ffap.el (ffap-menu-regexp):
757 * find-file.el (ff-special-constructs):
758 * follow.el (follow-debug):
759 * forms.el (forms--debug):
760 * iswitchb.el (iswitchb-all-frames):
761 * ido.el (ido-all-frames):
762 * emacs-lisp/timer.el (timer-max-repeats):
763 * mail/feedmail.el (feedmail-mail-send-hook)
764 (feedmail-mail-send-hook-queued):
765 * mail/footnote.el (footnote-signature-separator):
766 * mail/mailabbrev.el (mail-alias-separator-string)
767 (mail-abbrev-mode-regexp):
768 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
769 * progmodes/idlwave.el (idlwave-libinfo-file)
770 (idlwave-default-completion-case-is-down)
771 (idlwave-library-routines): Convert defvars to defcustoms.
772
773 * mail/rmail.el (rmail-decode-mime-charset):
774 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
775 (idlwave-shell-fix-inserted-breaks)
776 (idlwave-shell-activate-alt-keybindings)
777 (idlwave-shell-use-breakpoint-glyph):
778 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
779
f7ae6719
SM
7802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
783
47086495
WS
7842012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
785
786 * progmodes/verilog-mode.el (font-lock-keywords):
787 Fix mis-highligting auto. Reported by Craig Barner.
788 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
789 defines from global name space. Reported by Dan Dever.
790 (verilog-auto-reset, verilog-auto-reset-widths)
791 (verilog-auto-tieoff): Support using unbased numbers for
792 AUTORESET and AUTOTIEOFF.
793 (verilog-submit-bug-report): Update variable list.
794 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
795 parenthesis from not matching. Reported by Michael Rytting.
796 (verilog-auto-template-lint): Fix hash error when linting modules
797 with no used templates.
798 (verilog-warn, verilog-warn-error)
799 (verilog-warn-fatal): When non-interactive report multiple
800 warnings before exiting. Suggested by Brad Dobbie.
801 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
802 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
803 to report unused template errors. Reported by Brad Dobbie.
804 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
805 nets, bug438. Reported by Vns Blore.
806 (verilog-auto-inout-module, verilog-auto-reg)
807 (verilog-read-decls, verilog-read-sub-decls-sig)
808 (verilog-signals-edit-wire-reg, verilog-signals-with):
809 Fix passing of Verilog data types in ANSI input/output ports
810 such as "output logic" into the AUTOs. Special case "wire" and
811 "reg" for backwards compatibility presuming Verilog 2001.
812 (verilog-auto-ascii-enum): Add "auto enum" as alias.
813 (verilog-preprocess): Fix replication of preprocess output.
814 Reported by Brad Dobbie.
815 (verilog-auto-inst-interfaced-ports):
816 Create verilog-auto-inst-interfaced-ports, bug429.
817 Reported by Julian Gorfajn.
818 (verilog-after-save-font-hook)
819 (verilog-before-save-font-hook): New variable.
820 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
821 (verilog-save-font-mods): Wrap disabling fontification, reported
822 by David Rogoff.
823 (verilog-do-indent, verilog-pretty-declarations-auto)
824 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
825 Reported by Pierre-David Pfister.
826 (verilog-set-auto-endcomments): Fix endtask auto comments outside
827 of class declarations, bug292. Reported by Kevin Heilman.
828 (verilog-read-decls): Fix 'parameter type' not appearing in
829 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
830 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
831 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
832 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
833 Reported by David Kravitz.
834
8352012-05-03 Michael McNamara <mac@mail.brushroad.com>
836
837 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
838 assignment with tests in ifs and for loops.
839 (verilog-extended-complete-re, verilog-complete-reg): Change so
840 that DPI inport functions don't look like fuction declarations.
841 (verilog-pretty-expr): Don't line up assignment
842 operations to the test and increment in if and for loops
843 (verilog-extended-complete-re, verilog-complete-reg): Change so
844 that DPI inport functions don't look like fuction declarations
845
2e51d4b5
KH
8462012-05-03 Kenichi Handa <handa@m17n.org>
847
848 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
849 decoding, and show a warning message without signalling an error
850 (Bug#11282).
851
2bd785a2
SM
8522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * emacs-lisp/bytecomp.el
855 (byte-compile-file-form-custom-declare-variable): Compile all elements,
856 since cconv.el might have introduced :fun-body, internal-make-closure,
857 and friends for bytecomp to handle (bug#11391).
858 * custom.el (defcustom): Avoid ((λ ..) ..).
859
99d27583
SM
8602012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
863
55a71479
JB
8642012-05-02 Juanma Barranquero <lekktu@gmail.com>
865
866 * notifications.el (dbus-debug):
867 * term/linux.el (gpm-mouse-enable):
868 * term/screen.el (xterm-register-default-colors): Declare.
869
7b97c764
CY
8702012-05-02 Chong Yidong <cyd@gnu.org>
871
2bc356d7
CY
872 * cus-start.el (gc-cons-percentage, exec-suffixes)
873 (dos-display-scancodes, dos-hyper-key, dos-super-key)
874 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
875 (make-cursor-line-fully-visible, void-text-area-pointer)
876 (font-list-limit): Add customization data.
877
7b97c764
CY
878 * allout.el (allout-exposure-change-functions)
879 (allout-structure-added-functions)
880 (allout-structure-deleted-functions)
881 (allout-structure-shifted-functions): Rename abnormal hooks from
882 *-hook, and convert to defcustoms.
5d3385a0
JB
883 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
884 Convert to defcustoms.
7b97c764
CY
885 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
886
887 * allout-widgets.el: Hook callers changed.
888
90207a15 8892012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
890
891 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
892 the yanked message in preference to the default value of
893 buffer-file-coding-system.
894
90207a15 8952012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 896
5d3385a0
JB
897 * window.el (display-buffer--action-function-custom-type):
898 Fix entry.
d9558cad 899
90207a15 9002012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
901
902 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
903
d80ac57b
GM
9042012-05-01 Glenn Morris <rgm@gnu.org>
905
976f7668
GM
906 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
907
beb83b5a
GM
908 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
909
d80ac57b
GM
910 * cus-edit.el (custom-variable-documentation): Simplify with format.
911
b593d6a9
AH
9122012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
913 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * simple.el (suggest-key-bindings, execute-extended-command):
916 Move from keyboard.c.
917
782fbf2a
CY
9182012-05-01 Chong Yidong <cyd@gnu.org>
919
920 * follow.el: Eliminate advice.
921 (set-process-filter, process-filter, sit-for): Advice deleted.
922 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
923 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
924 Vars deleted.
782fbf2a
CY
925 (follow-auto): Use a :set function.
926 (follow-mode): Rewritten. Don't advise process filters.
927 (follow-switch-to-current-buffer-all, follow-scroll-up)
928 (follow-scroll-down): Assume follow-mode is bound.
929 (follow-comint-scroll-to-bottom)
930 (follow-align-compilation-windows): New functions.
931 (follow--window-sorter): New function.
932 (follow-all-followers): Use it to explicitly sort windows by their
933 positions; don't make assumptions about next-window order.
934 (follow-windows-start-end, follow-delete-other-windows-and-split)
935 (follow-calc-win-start): Doc fix.
936 (follow-windows-aligned-p, follow-select-if-visible): Don't call
937 vertical-motion unnecessarily.
938 (follow-adjust-window): New function.
939 (follow-post-command-hook): Use it.
940 (follow-call-set-process-filter, follow-call-process-filter)
941 (follow-intercept-process-output, follow-tidy-process-filter-alist)
942 (follow-stop-intercept-process-output, follow-generic-filter):
943 Functions deleted.
944 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
945 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
946 New functions, replacing advice on scroll-bar-* commands.
87233a14 947 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
948
949 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
950 (comint-postoutput-scroll-to-bottom): Use it.
951 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 952
290af740
GM
9532012-05-01 Glenn Morris <rgm@gnu.org>
954
955 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
956 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
957 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
958 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
959 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
960 Remove no-byte-compile setting.
961
6eac8dc9
SM
9622012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * minibuffer.el (completion-table-with-quoting): Fix compatibility
965 all-completions code to not return a number in the last cdr.
966
9cc7819c
LL
9672012-04-30 Leo Liu <sdl.web@gmail.com>
968
969 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
970 read-only error.
971
c93b886f
CY
9722012-04-29 Chong Yidong <cyd@gnu.org>
973
974 * follow.el (follow-calc-win-end): Rewrite to handle partial
975 screen lines correctly (Bug#8390).
976 (follow-avoid-tail-recenter): Minor cleanup.
977
8b6c19f4
SM
9782012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 Avoid the obsolete `assoc' package.
981 * speedbar.el (speedbar-refresh): Avoid adelete.
982 (speedbar-file-lists): Simplify and avoid aput.
983 * man.el (Man--sections, Man--refpages): New vars, replacing
984 Man-sections-alist and Man-refpages-alist.
985 (Man-build-section-alist, Man-build-references-alist):
986 Use them; avoid aput.
987 (Man--last-section, Man--last-refpage): New vars.
988 (Man-follow-manual-reference): Use them.
989 Use the `default' arg of completing-read.
990 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
991
c5bb7569
CY
9922012-04-27 Chong Yidong <cyd@gnu.org>
993
d1d2e2e8
CY
994 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
995
15cd8efd
CY
996 * startup.el (x-apply-session-resources): New function.
997
998 * term/ns-win.el (ns-initialize-window-system):
999 * term/w32-win.el (w32-initialize-window-system):
1000 * term/x-win.el (x-initialize-window-system): Use it to properly
1001 set menu-bar-mode and other vars from X resources, even if the
1002 initial frame is not a window-system frame (Bug#2299).
1003
c5bb7569
CY
1004 * subr.el (read-key): Avoid running filter function when setting
1005 up temporary tool bar entries (Bug#9922).
1006
a8e7d6d7 10072012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1008
1009 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1010 (Bug#11344)
1011
a8e7d6d7 10122012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1013
1014 * select.el (xselect--encode-string): New function, split from
1015 xselect-convert-to-string.
1016 (xselect-convert-to-string): Use it.
1017 (xselect-convert-to-filename, xselect-convert-to-os)
1018 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1019 returned strings are properly encoded (Bug#11315).
1020
a8e7d6d7 10212012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1022
1023 * simple.el (delete-active-region): Move to killing custom group.
1024
a8e7d6d7 10252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1026
1027 * progmodes/which-func.el (which-func-current): Quote %
1028 characters for mode-line processing.
1029
578c1d4b 10302012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1031
1032 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1033 reaching eob (Bug#11286).
1034
a8e7d6d7 10352012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1036
1037 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1038 (gdb): Make it buffer-local and init to zero.
1039 (gdb-control-commands-regexp): New variable.
1040 (gdb-send): Don't wrap in "-interpreter-exec console" if
1041 gdb-control-level is positive. Increment gdb-control-level
1042 whenever the command matches gdb-control-commands-regexp, and
1043 decrement it each time the command is "end". (Bug#11279)
1044
a8e7d6d7 10452012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1046
1047 * window.el (adjust-window-trailing-edge, enlarge-window)
1048 (shrink-window, window-resize):
1049 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1050 windows (Bug#11276).
1051
b3608390
CY
10522012-04-27 Chong Yidong <cyd@gnu.org>
1053
1054 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1055 fix "missing prefix" warning. All callers changed.
b3608390 1056
797e6e88
SM
10572012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/assoc.el: Move to obsolete/.
1060
e95a67dc
SM
10612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1062
657c21e4 1063 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1064
1065 * term/ns-win.el (ns-define-service):
1066 * progmodes/pascal.el (pascal-goto-defun):
1067 * progmodes/js.el (js--read-tab):
1068 * progmodes/etags.el (tags-lazy-completion-table):
1069 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1070 * emacs-lisp/ewoc.el (ewoc--wrap):
1071 * emacs-lisp/assoc.el (aput, adelete, amake):
1072 * doc-view.el (doc-view-convert-current-doc):
1073 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1074
cb3e7ae0
CY
10752012-04-26 Chong Yidong <cyd@gnu.org>
1076
dce04f7f
CY
1077 * image.el (image-type-from-buffer): Only return supported image
1078 type (Bug#9045).
1079
cb3e7ae0
CY
1080 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1081 value, for symmetry with diff-end-of-hunk.
1082 (diff-split-hunk, diff-find-source-location)
1083 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1084 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1085 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1086 compute the relevant hunk or file properly (Bug#6005).
1087 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1088
0d42eb3e
SM
10892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * vc/vc-mtn.el:
1092 * vc/vc-hg.el:
1093 * vc/vc-git.el:
1094 * vc/vc-dir.el:
1095 * vc/vc-cvs.el:
1096 * vc/vc-bzr.el:
1097 * vc/vc-arch.el:
1098 * vc/vc.el: Replace lexical-let by lexical-binding.
1099 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1100 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1101 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1102
f08ae1c9
CY
11032012-04-26 Chong Yidong <cyd@gnu.org>
1104
8b71081d
CY
1105 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1106 (diff-mode-shared-map): Bind it to / and [remap undo].
1107
f08ae1c9
CY
1108 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1109 (ediff-window-setup-function): Use it as the default, to set up
1110 windows based on whether the current frame is graphical (Bug#2138).
1111 (ediff-choose-window-setup-function-automatically): Make obsolete.
1112
1113 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1114
ef24141c
SM
11152012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1116
cc356a5d
SM
1117 * ffap.el: Remove old code for obsolete package.
1118 (ffap-complete-as-file-p): Remove.
1119
b4ff4f1f
SM
1120 Use completion-table-with-quoting for comint and pcomplete.
1121 * comint.el (comint--unquote&requote-argument)
1122 (comint--unquote-argument, comint--requote-argument): New functions.
1123 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1124 (comint-quote-filename): Use regexp-opt-charset.
1125 (comint--common-suffix, comint--common-quoted-suffix)
1126 (comint--table-subvert): Remove.
1127 (comint-unquote-function, comint-requote-function): New vars.
1128 (comint--complete-file-name-data): Use them with
1129 completion-table-with-quoting.
1130 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1131 * pcomplete.el (pcomplete-arg-quote-list)
1132 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1133 (pcomplete-unquote-argument-function): Default to non-nil.
1134 (pcomplete-unquote-argument): Simplify.
1135 (pcomplete--common-quoted-suffix): Remove.
1136 (pcomplete-requote-argument-function): New var.
1137 (pcomplete--common-suffix): New function.
1138 (pcomplete-completions-at-point): Use completion-table-with-quoting
1139 and completion-table-subvert.
1140
79c4eeb4
SM
1141 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1142 (minibuffer--double-dollars): Preserve properties.
1143 (completion--sifn-requote): New function.
1144 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1145
ef24141c
SM
1146 * minibuffer.el: Add support for completion of quoted/escaped data.
1147 (completion-table-with-quoting, completion-table-subvert): New funs.
1148 (completion--twq-try, completion--twq-all): New functions.
1149 (completion--nth-completion): New function.
1150 (completion-try-completion, completion-all-completions): Use it.
1151
784e7d6e
LL
11522012-04-25 Leo Liu <sdl.web@gmail.com>
1153
dd2ac746
SM
1154 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1155 Use compilation-message if available to find real filename.
784e7d6e 1156
07875ee7
CY
11572012-04-25 Chong Yidong <cyd@gnu.org>
1158
1159 * vc/diff-mode.el (diff-setup-whitespace): New function.
1160 (diff-mode): Use it.
1161
1162 * vc/diff.el (diff-sentinel):
1163 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1164 Whitespace mode variables based on diff style (Bug#8612).
1165
5055880d
LL
11662012-04-25 Leo Liu <sdl.web@gmail.com>
1167
daf75653
LL
1168 * progmodes/python.el (python-send-region): Add suffix .py to the
1169 temp file.
1170
5055880d
LL
1171 * files.el (auto-mode-alist): Use javascript-mode instead.
1172
db9b177b
AH
11732012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1174
ef24141c 1175 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1176
1177 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1178 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1179 references, see Bug#9.
ef24141c 1180 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1181 when receiving a fault reply.
ef24141c 1182 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1183
1184 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1185 (soap-inspect-simple-type): New function.
db9b177b 1186
ef24141c 1187 * soap-client.el (soap-simple-type): New struct.
db9b177b 1188 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1189 (soap-decode-basic-type, soap-encode-basic-type):
1190 support unsignedInt and double basic types.
db9b177b 1191 (soap-resolve-references-for-simple-type)
ef24141c
SM
1192 (soap-parse-simple-type, soap-encode-simple-type): New function.
1193 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1194
1195 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1196 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1197 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1198 the local name of "soapenc:Array".
1199 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1200 decoding integer, byte and anyURI xsd types.
1201
1fc6097b
CY
12022012-04-25 Chong Yidong <cyd@gnu.org>
1203
1204 * cus-edit.el (custom-buffer-create-internal): Update header text.
1205
afc6df87
EZ
12062012-04-25 Eli Zaretskii <eliz@gnu.org>
1207
1208 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1209 settings on 'system-type', not on 'window-system'. On MS-Windows,
1210 set interactive-mode on in GDB.
1211
dfbd787f
SM
12122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1215 (ruby-syntax-propertize-regexp): Remove.
1216 (ruby-syntax-propertize-function): Split regexp into chunks.
1217 Match following code directly.
1218
85222d44
DG
12192012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1220
51a8ea2a
DG
1221 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1222 (ruby-syntax-propertize-regexp): New function.
1223 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1224 by a special keyword.
1225
85222d44
DG
1226 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1227 (ruby-syntax-general-delimiters-goto-beg)
1228 (ruby-syntax-propertize-general-delimiters): New functions.
1229 (ruby-syntax-propertize-function): Use them to handle GDL.
1230 (ruby-font-lock-keywords): Move old handling of GDL...
1231 (ruby-font-lock-syntactic-keywords): .. to here.
1232 (ruby-calculate-indent): Adjust indentation for GDL.
1233
b613912b
MA
12342012-04-24 Michael Albinus <michael.albinus@gmx.de>
1235
b5380639
MA
1236 * notifications.el (top): Remove unneeded declarations.
1237 (notifications-specification-version): Change to "1.2".
e43042fe 1238 (notifications-interface, notifications-notify-method)
b613912b
MA
1239 (notifications-close-notification-method): Fix docstring.
1240 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1241 (notifications-notify): Add :action-items, :resident and
1242 :transient hints. Change "image_data" to "image-data" and
1243 "image_path" to "image-path".
b613912b
MA
1244 (notifications-get-capabilities): New defun.
1245
257440aa
LL
12462012-04-24 Leo Liu <sdl.web@gmail.com>
1247
1248 * progmodes/python.el: Move hideshow setup to the end.
1249
b1bac16e
MR
12502012-04-24 Martin Rudalics <rudalics@gmx.at>
1251
1252 * window.el (handle-select-window): Clear echo area since this is
1253 no more done by read_char (Bug#11304).
1254
d81bd059
SM
12552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1258 and `/ M' to filter-derived-mode.
1259 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1260 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1261 (ibuffer-mark-by-mode): Use default rather than initial-input.
1262 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1263
c4cf6d91
IA
12642012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1265
1266 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1267 (ibuffer-filter-by-derived-mode): New filter.
1268 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1269
7511ded8
CY
12702012-04-23 Andreas Politz <politza@fh-trier.de>
1271
1272 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1273
775c916b
CY
12742012-04-23 Chong Yidong <cyd@gnu.org>
1275
1276 * cus-edit.el (customize-apropos, customize-apropos-options):
1277 Disable matching of non-option variables (Bug#11176).
1278 (customize-option, customize-option-other-window)
1279 (customize-changed-options): Doc fix.
1280 (customize-apropos-options, customize-apropos-faces)
1281 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1282
1283 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1284 Fix word list splitting (Bug#11132).
46c71e23
CY
1285 (apropos-symbol, apropos-keybinding, apropos-label)
1286 (apropos-property, apropos-function-button)
1287 (apropos-variable-button, apropos-misc-button): New faces.
1288 (apropos-symbol-face, apropos-keybinding-face)
1289 (apropos-label-face, apropos-property-face, apropos-match-face):
1290 Variables removed (Bug#8396).
1291 (apropos-library-button, apropos-format-plist, apropos-print)
1292 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1293
2df41f9c
MA
12942012-04-23 Michael Albinus <michael.albinus@gmx.de>
1295
1296 * net/xesam.el (xesam-mode-map): Use let-bound map in
1297 initialization. (Bug#11292)
1298
da00640a
AM
12992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1300
1301 Preserve ispell session localwords when switching back to
1302 original buffer.
1303
1304 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1305 variable to hold buffer session localwords.
1306 (ispell-kill-ispell): add option 'clear to delete session
1307 localwords.
1308 (ispell-command-loop, ispell-change-dictionary)
1309 (ispell-buffer-local-words): Preserve session localwords when
1310 needed.
1311
1312 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1313 Preserve session localwords when needed.
1314
f621ccf5
AM
13152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1316
1317 * ispell.el (ispell-insert-word) Remove unneeded function using
1318 obsolete `translation-table-for-input'.
ef24141c
SM
1319 (ispell-word, ispell-process-line, ispell-complete-word):
1320 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1321
c2d1019e
CY
13222012-04-22 Chong Yidong <cyd@gnu.org>
1323
1324 * cus-edit.el (custom-variable-menu)
1325 (custom-variable-reset-saved, custom-face-menu)
1326 (custom-face-reset-saved): If there is no saved value, make the
1327 "reset-saved" operation bring back the default (Bug#9509).
1328 (custom-face-state): Properly detect themed faces.
1329
eeddc531
CY
1330 * faces.el (face-spec-set): Stop supporting deprecated form of
1331 third arg.
1332
dcbf5805
MA
13332012-04-22 Michael Albinus <michael.albinus@gmx.de>
1334
1335 Move functions from C to Lisp. Make non-blocking method calls
1336 the default. Implement further D-Bus standard interfaces.
1337
ef24141c
SM
1338 * net/dbus.el (dbus-message-internal): Declare function.
1339 Remove unneeded function declarations.
dcbf5805
MA
1340 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1341 (dbus-message-type-method-return, dbus-message-type-error)
1342 (dbus-message-type-signal): Declare variables. Remove local
1343 definitions.
1344 (dbus-interface-dbus, dbus-interface-peer)
1345 (dbus-interface-introspectable, dbus-interface-properties)
1346 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1347 Adapt docstring.
1348 (dbus-interface-objectmanager): New defconst.
1349 (dbus-call-method, dbus-call-method-asynchronously)
1350 (dbus-send-signal, dbus-method-return-internal)
1351 (dbus-method-error-internal, dbus-register-service)
1352 (dbus-register-signal, dbus-register-method): New defuns, moved
1353 from dbusbind.c
1354 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1355 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1356 New defuns.
dcbf5805
MA
1357 (dbus-call-method-non-blocking): Make it an obsolete function.
1358 (dbus-unregister-object, dbus-unregister-service)
1359 (dbus-handle-event, dbus-register-property)
1360 (dbus-property-handler): Obey the new structure of
1361 `bus-registered-objects'.
1362 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1363 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1364 Use `dbus-call-method'.
1365
cf20dee0
CY
13662012-04-22 Chong Yidong <cyd@gnu.org>
1367
1368 * cus-edit.el (custom-commands, custom-reset-menu)
1369 (Custom-reset-standard): Tweak labels.
1370 (custom-reset-button-menu): Change default to t.
1371 (custom-buffer-create-internal): For the custom-reset-button-menu
1372 case, put the revert button first.
1373 (custom-group-subtitle): New face.
1374 (custom-group-value-create): Align docstring to a specific column.
1375
1376 * wid-edit.el (widget-documentation-link-add): Don't handle
1377 indentation in this function.
1378 (widget-documentation-string-indent-to): New function.
1379 (widget-documentation-string-value-create): Use it.
1380
1381 * autorevert.el (auto-revert):
1382 * epg-config.el (epg):
1383 * ibuffer.el (ibuffer):
1384 * mpc.el (mpc):
1385 * ses.el (ses):
1386 * eshell/eshell.el (eshell):
1387 * net/ange-ftp.el (ange-ftp):
1388 * progmodes/ebnf2ps.el (postscript):
1389 * progmodes/flymake.el (flymake):
1390 * progmodes/prolog.el (prolog):
1391 * progmodes/verilog-mode.el (verilog-mode):
1392 * progmodes/which-func.el (which-func):
1393 * term/xterm.el (xterm):
1394 * textmodes/picture.el (picture):
1395 * textmodes/tildify.el (tildify):
1396 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1397 customization buffers.
1398
583e23bd
AM
13992012-04-22 Alan Mackenzie <acm@muc.de>
1400
1401 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1402 Adding a ) can hide the resulting (..) from searches. Fix it.
1403 Bound the backward search to the position of the existing (.
1404
7dd51bf1
JB
14052012-04-21 Juanma Barranquero <lekktu@gmail.com>
1406
1407 * progmodes/verilog-mode.el (verilog-mode): Check whether
1408 which-func-modes is t before adding verilog-mode.
1409 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1410
d64a438f
LL
14112012-04-21 Leo Liu <sdl.web@gmail.com>
1412
7dd51bf1 1413 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1414
081e8d65
MV
14152012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1416
1417 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1418 filling of the last column of a table (Bug#5635).
1419 (woman-find-next-control-line): New arg, specifying an additional
1420 regexp component for the control line.
1421 (woman2-roff-buffer): Use it.
1422 (woman-break-table): New function.
1423 (woman2-TS): Use it.
1424
14252012-04-21 Chong Yidong <cyd@gnu.org>
1426
1427 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1428 (woman-horizontal-escapes, woman-negative-vertical-space)
1429 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1430 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1431
ed571ccb
SM
14322012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * minibuffer.el (completion-file-name-table): Complete user names.
1435
39773899
LL
14362012-04-20 Leo Liu <sdl.web@gmail.com>
1437
1438 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1439 and pcase-let*.
1440
de6ff46d
CY
14412012-04-20 Chong Yidong <cyd@gnu.org>
1442
1443 * server.el (server-execute): Respect initial-buffer-choice if it
1444 is a string and there are no files to open (Bug#2825).
1445 (server-create-window-system-frame, server-create-tty-frame):
1446 Don't switch buffers here.
2d0e8e61
CY
1447 (server-process-filter): Only try to open a window system frame if
1448 compiled with graphical support (Bug#8314).
de6ff46d 1449
54071013
DN
14502012-04-20 Dan Nicolaescu <dann@gnu.org>
1451
1452 * battery.el (battery-echo-area-format): Display remaining time
1453 for sysfs backend too (Bug#11269).
1454 (battery-linux-sysfs): Fix conditional for the charge.
1455
f30d612a
CY
14562012-04-20 Chong Yidong <cyd@gnu.org>
1457
c07a4c0b 1458 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1459 (gdb-inferior-io--init-proc): New function.
1460 (gdb-init-1): Use it.
1461 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1462 responsible for allocating a new pty and hooking it to gdb when
1463 the old pty gets an EIO due to process exit.
1464 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1465 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1466 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1467
2116e93c
EZ
14682012-04-20 Eli Zaretskii <eliz@gnu.org>
1469
1470 * window.el (window-min-size, window-sizable, window-min-delta)
1471 (window-max-delta, window--resizable, window-resizable)
1472 (window-total-size, window-full-height-p, window-full-width-p)
1473 (window-in-direction, window--resize-mini-window, window-resize)
1474 (window--resize-child-windows-normal)
1475 (window--resize-child-windows, window--resize-siblings)
1476 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1477 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1478
c07a4c0b 14792012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1480
ef24141c
SM
1481 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1482 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1483 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1484 pty process (Bug#11273).
1485 (gdb-update): New arg to suppress talking to the gdb process.
1486 (gdb-done-or-error): Use it.
1487 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1488 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1489 sentinel not being called.
1490
1491 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1492
d02766ab
CY
1493 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1494
c07a4c0b 14952012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1496
1497 * net/network-stream.el (open-network-stream): Doc fix.
1498
c07a4c0b 14992012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1500
1501 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1502
c07a4c0b 15032012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1504
1505 Ensure searching for keywords is case sensitive.
1506
1507 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1508 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1509 (c-defun-name, c-mark-function, c-cpp-define-name)
1510 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1511 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1512
ef24141c
SM
1513 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1514 Bind case-fold-search to nil.
f0f6bc35 1515
c07a4c0b 15162012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1517
1518 * mail/sendmail.el (mail-bury): Call return action with the right
1519 Rmail buffer (Bug#11242).
1520
9a864fa2
CY
1521 * server.el (server-process-filter): Handle corner case where both
1522 tty and nowait options are present (Bug#11102).
1523
539aa513
EZ
15242012-04-20 Eli Zaretskii <eliz@gnu.org>
1525
1526 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1527 (top level): Put into the executable the ident-style '$Id:' tag on
1528 windows-nt as well.
539aa513 1529
cfc7d5da
SM
15302012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * electric.el (electric-indent-post-self-insert-function): Check that
1533 electric-indent-mode is enabled in current buffer.
1534
5b01685c
JB
15352012-04-19 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * imenu.el (imenu-progress-message): Restore; it is "used" in
1538 erc/erc-imenu.el and net/snmp-mode.el.
1539
4d6769e1
JB
15402012-04-19 Juanma Barranquero <lekktu@gmail.com>
1541
1542 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1543 (mouse-avoidance-nudge-mouse): Remove unused binding.
1544
1545 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1546
1547 * descr-text.el (describe-char):
1548 * progmodes/python.el (python-describe-symbol):
1549 Don't call `toggle-read-only', set `buffer-read-only'.
1550
1551 * imenu.el (imenu-default-goto-function): Mark unused args.
1552 (imenu-progress-message): Remove obsolete macro; all callers changed.
1553
1554 * subr.el (keymap-canonicalize): Remove unused binding.
1555 (read-passwd): Mark unused arg.
1556
1557 * tutorial.el (tutorial--display-changes): Remove unused binding.
1558 (tutorial--save-tutorial-to): Remove unused variable.
1559
1560 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1561 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1562 (package-generate-autoloads, package-menu--generate)
1563 (package-menu--find-upgrades): Remove unused bindings.
1564
1565 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1566 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1567 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1568 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1569 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1570 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1571 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1572 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1573 (cua-delete-char-rectangle): Mark unused args.
1574 (cua-align-rectangle): Remove unused binding.
1575
1576 * mail/rmail.el (compilation--message->loc)
1577 (epa--find-coding-system-for-mime-charset): Declare.
1578
1579 * net/dbus.el (dbus-register-service): Declare.
1580 (dbus-name-owner-changed-handler): Remove unused binding.
1581
1582 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1583 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1584 (nxml-scan-backward-within): Mark unused arg.
1585 (nxml-dynamic-markup-word): Remove unused binding.
1586
1587 * mouse.el (mouse-menu-major-mode-map):
1588 * emacs-lisp/authors.el (authors-scan-change-log)
1589 (authors-add-to-author-list):
1590 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1591 * emacs-lisp/smie.el (smie-auto-fill):
1592 * mail/sendmail.el (mail-bury):
1593 * mail/unrmail.el (unrmail):
1594 * net/tls.el (open-tls-stream):
1595 * textmodes/picture.el (picture-mouse-set-point):
1596 Remove unused bindings.
1597
8c8fc5df
MA
15982012-04-19 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * net/tramp.el (tramp-action-password): Let-bind
1601 `enable-recursive-minibuffers' to t.
1602
a77b0ac9
SS
16032012-04-18 Sam Steingold <sds@gnu.org>
1604
1605 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1606 instead of 'string to accommodate values like [f11].
1607 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1608 * progmodes/gdb-mi.el: Likewise.
1609
12a106a9
LL
16102012-04-18 Leo Liu <sdl.web@gmail.com>
1611
1612 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1613 current buffer.
1614 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1615 LOCAL is nil.
1616
bc6494ef
CY
16172012-04-18 Chong Yidong <cyd@gnu.org>
1618
1619 * simple.el (line-move): Use forward-line if in batch mode
1620 (Bug#11053).
1621
c09c46b2
CS
16222012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1623
1624 * files.el (after-find-file): Do not try to add a final newline if
1625 the buffer is read-only (Bug#11156).
1626
5f6530ea
RS
16272012-04-17 Richard Stallman <rms@gnu.org>
1628
1629 * mail/rmail.el (rmail-start-mail):
1630 Pass (rmail-mail-return...) for the return-action.
1631 Pass (rmail-yank-current-message...) for the yank-action.
1632 (rmail-yank-current-message): New function.
1633 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1634 (rmail-reply): Likewise.
1635 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1636
1637 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1638 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1639 buffer, not newbuf.
1640
197b6f3c
JB
16412012-04-17 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * server.el (server-ensure-safe-dir): Simplify.
1644
2311d8e5 16452012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1646
2311d8e5
GM
1647 * emacs-lisp/smie.el: Provide smarter auto-filling.
1648 (smie-auto-fill): New function.
1649 (smie-setup): Use it.
98fb480e 1650
2311d8e5
GM
1651 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1652
16532012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1654
1655 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1656 (comment-indent): Use it.
1657
2311d8e5 16582012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1659
1660 * ses.el: The overall change is to add cell renaming, that is
1661 setting fancy names for cell symbols other than name matching
1662 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1663 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1664 (ses-create-cell-variable): New defun.
2311d8e5 1665 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1666 (ses-relocate-formula): Relocate formulas only for cells the
1667 symbols of which are not renamed, i.e. symbols whose names do not
1668 match regexp "\\`[A-Z]+[0-9]+\\'".
1669 (ses-relocate-all): Relocate values only for cells the symbols of
1670 which are not renamed.
1671 (ses-load): Create cells variables as the (ses-cell ...) are read,
1672 in order to check row col consistency with cell symbol name only
1673 for cells that are not renamed.
1674 (ses-replace-name-in-formula): New defun.
1675 (ses-rename-cell): New defun.
4bdf2ad2 1676
fc72b15c
PO
16772012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1678
1679 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1680 New option (bug#11118).
1681 (perl-calculate-indent): Respect it.
1682
12e10e61
GM
16832012-04-17 Glenn Morris <rgm@gnu.org>
1684
1685 * dired-aux.el (dired-mark-read-string): Doc fix.
1686
30009afd
DA
16872012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1688
1689 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1690 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1691
41f03f4d
GM
16922012-04-17 Glenn Morris <rgm@gnu.org>
1693
1694 * mouse.el (mouse-drag-track):
1695 * speedbar.el (speedbar-frame-mode):
1696 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1697
f45f90f3
LL
16982012-04-16 Leo Liu <sdl.web@gmail.com>
1699
1700 * progmodes/python.el: Trivial cleanup.
1701
94ee8db5
GM
17022012-04-16 Glenn Morris <rgm@gnu.org>
1703
121b8917
GM
1704 * vc/vc.el (vc-string-prefix-p):
1705 * vc/pcvs-util.el (cvs-string-prefix-p):
1706 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1707 * mpc.el (mpc-string-prefix-p):
1708 Make all of these into obsolete aliases for string-prefix-p.
1709 Update callers.
1710 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1711
1197ecfa
GM
1712 * textmodes/two-column.el: Move custom options to the start.
1713 (frame-width): Remove compat definition.
1714 (2C-associate-buffer, 2C-dissociate):
1715 Use with-current-buffer rather than save-excursion.
1716 (2C-dissociate): Force a mode-line update.
1717 (2C-autoscroll): Use ignore-errors.
1718
099e7202
GM
1719 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1720 Autoload trivia.
1721
bf350d6a
GM
1722 * emacs-lisp/cl-extra.el (*random-state*):
1723 Remove unnecessary declaration.
1724
0e829eab
GM
1725 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1726
e3ad7552
GM
1727 * play/cookie1.el (cookie-snarf):
1728 Give an explicit error if input file cannot be read.
1729
68892d27
GM
1730 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1731
20f0c46d
GM
1732 * progmodes/perl-mode.el (c-macro-expand):
1733 Remove unnecessary autoload (it is in loaddefs.el).
1734
5a0978ce
GM
1735 * textmodes/picture.el (picture-desired-column)
1736 (picture-update-desired-column): Convert comments to doc-strings.
1737 (picture-substitute): Remove function.
1738 (picture-mode-map): Initialize in the defvar.
1739
6b955486
GM
1740 * woman.el: Remove eval-after-load for tar-mode.
1741 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1742 (woman-tar-extract-file): Autoload it.
1743
94ee8db5
GM
1744 * frame.el (automatic-hscrolling): Make this alias obsolete.
1745
177eca34
AM
17462012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1747
1748 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1749 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1750 (ispell-dictionary-base-alist): Revert to original XEmacs
1751 friendly version for default. [:alpha:] will be added in
1752 `ispell-set-spellchecker-params' if needed
177eca34 1753
c505aaeb
CY
17542012-04-16 Chong Yidong <cyd@gnu.org>
1755
1756 * image.el (imagemagick--extension-regexp): New variable.
1757 (imagemagick-register-types): Use it.
1758 (imagemagick-types-inhibit): Add :set function. Allow new value
1759 of t to inhibit all types.
1760
1761 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1762 so we can preload it.
1763
1764 * loadup.el (fboundp): Preload regexp-opt, needed by
1765 imagemagick-register-types.
1766
60efac0f
CY
17672012-04-15 Chong Yidong <cyd@gnu.org>
1768
1769 * frame.el (scrolling): Remove nearly unused customization group.
1770
1771 * scroll-all.el (scroll-all-mode): Move to windows group.
1772
5dd1713e
CY
17732012-04-15 Chong Yidong <cyd@gnu.org>
1774
1775 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1776
e6fd457e
CY
17772012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1780 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1781
e153c136
GM
17822012-04-15 Glenn Morris <rgm@gnu.org>
1783
1784 * simple.el (process-file-side-effects): Doc fix.
1785
e6fd457e 17862012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1787
1788 * international/mule-cmds.el (set-language-environment): Doc fix.
1789
3603c3b1
JB
17902012-04-14 Juanma Barranquero <lekktu@gmail.com>
1791
1792 * server.el (server-auth-key, server-generate-key): Doc fixes.
1793 (server-get-auth-key): Doc fix. Use `string-match-p'.
1794 (server-start): Reflow docstring.
1795
e6de100c
LI
17962012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1797
1798 * server.el (server-generate-key): `called-interactively-p'
1799 requires a parameter.
1800
29734c21
MN
18012012-04-14 Michal Nazarewicz <mina86@mina86.com>
1802
1803 * server.el (server-auth-key): New variable.
75f1671a 1804 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1805 (server-start): Use the new variable and functions to allow
1806 setting a permanent server key (bug#9423).
1807
d65c9521
LL
18082012-04-14 Leo Liu <sdl.web@gmail.com>
1809
1810 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1811
5ae255c7
PE
18122012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1813
1814 Spelling fixes.
1815 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1816 Emacs uses American spelling.
1817
d5e6342e
JB
18182012-04-14 Juanma Barranquero <lekktu@gmail.com>
1819
1820 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1821 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1822 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1823 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1824
ab036cd7
SM
18252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * progmodes/which-func.el (which-func-modes): Change default.
1828
35dc09a1 18292012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1830
1831 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1832 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1833
35dc09a1 18342012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1835
1836 * custom.el (custom-theme-set-variables): Doc fix.
1837
35dc09a1 18382012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1839
1840 * international/mule.el (set-auto-coding-for-load): Doc fix.
1841
35dc09a1 18422012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1843
35dc09a1
GM
1844 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1845 imenu work again for Objective C Mode. Correct the *-index values,
1846 these having been disturbed by a previous change in 2011-08.
57f845ee 1847
0de3da9f
AM
1848 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1849 Correct two search limits.
1850
35dc09a1 18512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1852
1853 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1854
35dc09a1 18552012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1856
1857 * international/characters.el: Fix sorting.
1858
35dc09a1 18592012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1860
1861 * international/characters.el: Add more missing Latin case pairs.
1862
35dc09a1 18632012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1864
1865 * files.el (dir-locals-set-class-variables): Doc fix.
1866
35dc09a1 18672012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1868
3f1b5bf8
EZ
1869 * international/characters.el: Add set-case-syntax-pair call for
1870 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1871 counterpart. (Bug#11209)
1872
9f847f41
EZ
1873 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1874
35dc09a1 18752012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1876
1877 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1878
35dc09a1 18792012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1880
35dc09a1
GM
1881 * textmodes/ispell.el (ispell-dictionary-base-alist):
1882 Add data for Hebrew.
e2627d21 1883
35dc09a1 18842012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1885
35dc09a1
GM
1886 * net/rcirc.el (rcirc-cmd-quit):
1887 Revert 2012-03-18 change (Bug#11192).
5c14e333 1888
35dc09a1 18892012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1890
1891 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1892
35dc09a1 18932012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1894
4517fe3a
SM
1895 * minibuffer.el (completion-in-region-mode-map):
1896 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1897
b472a594
VD
18982012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1899
1900 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1901
09b95ce3
MY
19022012-04-13 Masatake YAMATO <yamato@redhat.com>
1903
1904 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1905 to allow `C-M-f' and `C-M-b' to move to the nearest path
1906 separator (bug#9511).
1907
4b63a9ca
LI
19082012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1909
1910 * avoid.el: Require cl when compiling. And also move the
1911 `provide' to the end.
1912
7b55b8bf
TV
19132012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1914
1915 * avoid.el (mouse-avoidance-banish-position): New variable.
1916 (mouse-avoidance-banish-destination): Use it (bug#10165).
1917
adedaa1f
LL
19182012-04-13 Leo Liu <sdl.web@gmail.com>
1919
1920 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1921
70e74021
KB
19222012-04-13 Ken Brown <kbrown@cornell.edu>
1923
1924 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1925 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1926 (browse-url-filename-alist): For the same reason, don't modify
1927 file:// URLs on Cygwin.
1928
e75e89ba
SM
19292012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1932 the region on shift if the binding is already shifted (bug#11221).
1933
82f289a4
GM
19342012-04-12 Glenn Morris <rgm@gnu.org>
1935
1936 * mail/mailpost.el: Move to obsolete/.
1937
d333dc4c
DA
19382012-04-12 Drew Adams <drew.adams@oracle.com>
1939
1940 * imenu.el (imenu--generic-function): Ignore invisible definitions
1941 (bug#10123).
1942
0d15b5ba
VD
19432012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1944
1945 * hexl.el (hexl-bits): New variable.
1946 (hexl-options): Mention the variable in the doc string.
75f1671a 1947 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1948 (hexl-mode): Mention the new variable.
75f1671a
JB
1949 (hexl-mode, hexl-current-address, hexl-current-address):
1950 Use the displen.
0d15b5ba
VD
1951 (hexl-ascii-start-column): New function.
1952 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1953 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1954
64a440db
AM
19552012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1956
1957 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1958 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1959 the encoding, as expected by hunspell.
1960
6decb6c2
SM
19612012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * battery.el (battery--linux-sysfs-regexp): New const.
1964 (battery-status-function): Use it. Remove yeeloong special case.
1965 (battery-yeeloong-sysfs): Remove.
1966 (battery-echo-area-format): Remove yeeloong special case.
1967
088be6fb
SM
19682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1969
6622e416
SM
1970 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1971 Reported by Noah Friedman.
1972
088be6fb
SM
1973 * subr.el (read-passwd): Use read-string.
1974
b49f886e
LMI
19752012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1976
1977 * vcursor.el (vcursor-move): Increase the priority of the overlay
1978 (bug#9663).
1979
a63067fc
DD
19802012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1981
1982 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1983 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1984
ac3cf14a
WS
19852012-04-11 William Stevenson <yhvh2000@gmail.com>
1986
1987 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1988 define-minor-mode (bug#10760).
1989
c4fc691b 19902012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1991
4d6769e1 1992 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1993 that directories matching `grep-find-ignored-files' won't be
1994 pruned (bug#10351).
1995
af23e2e5
CY
19962012-04-11 Chong Yidong <cyd@gnu.org>
1997
1998 * startup.el (command-line): Remove support for long-obsolete
1999 variable font-lock-face-attributes.
2000
ab7ce8c1
GM
20012012-04-11 Glenn Morris <rgm@gnu.org>
2002
2003 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2004
de8c03dc
SM
20052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * window.el (window--state-get-1): Obey window-point-insertion-type.
2008
050cc68b
LB
20092012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2010
2011 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2012 to previous function when point is on the first character of a
75f1671a 2013 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2014
a38c310c
GM
20152012-04-11 Glenn Morris <rgm@gnu.org>
2016
effed0c2
GM
2017 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2018 not just file-errors.
2019
a38c310c
GM
2020 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2021 (vc-bzr-sha1): Use internal sha1.
2022
0221e323
SM
20232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2026
43956923
SG
20272012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2028
2029 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2030 that start in the middle of the line (bug#10496).
2031
6a8c9eaf
DN
20322012-04-10 Dan Nicolaescu <dann@gnu.org>
2033
2034 * battery.el (battery-linux-proc-acpi): Only one battery is
2035 discharged at a time, but that seems to confuse battery.el when
2036 computing `rate-type' for the battery not being discharged
2037 (bug#10332).
2038
1930bf5d
SM
20392012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2a718f6f
SM
2041 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2042
599430d0
SM
2043 * international/quail.el: Use dolist and simplify.
2044 (quail-define-package, quail-update-keyboard-layout)
2045 (quail-define-rules): Use dolist.
2046 (quail-insert-kbd-layout, quail-get-translation): CSE.
2047
a2754b6c
SM
2048 * tmm.el: Use dolist, remove left over hook.
2049 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2050 Use dolist.
2051 (calendar-load-hook): Don't mess with it.
2052
1930bf5d
SM
2053 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2054 Use derived-mode-p. Run the diff asynchronously.
2055
9f67961c
LMI
20562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2057
2058 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2059
2a8ce227
JB
20602012-04-10 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2063 (list-dynamic-libraries--loaded): New function.
2064 (list-dynamic-libraries--refresh): Use it.
2065
8f33b5f8
NW
20662012-04-10 Nathan Weizenbaum <nweiz@google.com>
2067
1930bf5d
SM
2068 * progmodes/python.el (python-fill-paragraph):
2069 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2070 disabled (bug#7018).
2071
b12f0439
L
20722012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2073
1930bf5d 2074 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2075 DOS/MS Windows for the Baltic languages. There are still plenty
2076 of texts written in this encoding/codepage (bug#6519).
b12f0439 2077
57c3bd01
GM
20782012-04-10 Glenn Morris <rgm@gnu.org>
2079
2080 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2081 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2082
6c3eab30
FA
20832012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2084
1930bf5d 2085 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2086 next-line "n" and previous-line "p" in order to make recentf more
2087 consistent with ibuffer, dired or org-mode (bug#9387).
2088
24d78a88
LMI
20892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2090
bc72b5d9
LMI
2091 * image.el (put-image): Return the overlay created instead of the
2092 optional input string (bug#7834). Note that this may break code
2093 that is (for some reason or other) depending on `put-image'
2094 returning the string.
2095
bd2dba5a
LMI
2096 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2097
74beb59f
LMI
2098 * simple.el (zap-to-char): Allow zapping using input methods
2099 (bug#1580).
2100
24d78a88
LMI
2101 * textmodes/fill.el (fill-region): Leave point and mark where they
2102 were before filling (bug#5399).
2103
263f20cd
GM
21042012-04-09 Glenn Morris <rgm@gnu.org>
2105
2106 * version.el (emacs-bzr-get-version):
2107 Handle lightweight checkouts of local branches.
2108
58d1f797
AS
21092012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2110
263f20cd 2111 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2112
b4d3bc10
CY
21132012-04-09 Chong Yidong <cyd@gnu.org>
2114
2115 * custom.el (custom-variable-p): Return nil for non-symbol
2116 arguments instead of signaling an error.
2117 (user-variable-p): Obsolete alias for custom-variable-p.
2118
2119 * apropos.el (apropos-variable):
2120 * files-x.el (read-file-local-variable):
2121 * simple.el (set-variable):
2122 * woman.el (woman-mini-help):
2123 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2124
fd06db5d
GM
21252012-04-09 Glenn Morris <rgm@gnu.org>
2126
e5fcdb5e
GM
2127 * startup.el (normal-top-level): Don't look for leim-list.el
2128 in places where it will not be found. (Bug#910)
2129
fd06db5d
GM
2130 * international/mule-cmds.el (set-default-coding-systems):
2131 * files.el (normal-mode):
2132 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2133 This function was removed with ucs-tables.el in 2008.
2134
b39bb7e1
EZ
21352012-04-08 Eli Zaretskii <eliz@gnu.org>
2136
2137 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2138 ispell-encoding8-command to "-i", without a trailing space.
2139 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2140 separate command-line arguments, to specify the encoding, since
2141 that's how hunspell expects it.
2142
5c5b8e23
GM
21432012-04-08 Glenn Morris <rgm@gnu.org>
2144
2145 * loadup.el: Load bindings before cus-start.
2146 This reduces somewhat the number of "rogue" settings in emacs -Q.
2147
a1ed8b05
GM
21482012-04-07 Glenn Morris <rgm@gnu.org>
2149
2150 * version.el (emacs-bzr-get-version): New function.
dfae128a 2151 (emacs-bzr-version): New variable.
a1ed8b05
GM
2152 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2153 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2154
b142f158
EZ
21552012-04-07 Eli Zaretskii <eliz@gnu.org>
2156
dfae128a
GM
2157 * international/uni-bidi.el, international/uni-category.el:
2158 * international/uni-combining.el, international/uni-decimal.el:
2159 * international/uni-decomposition.el, international/uni-digit.el:
2160 * international/uni-lowercase.el, international/uni-mirrored.el:
2161 * international/uni-name.el, international/uni-numeric.el:
2162 * international/uni-titlecase.el, international/uni-uppercase.el:
2163 Update for Unicode 6.1.
b142f158 2164
9078ead6
EZ
21652012-04-07 Eli Zaretskii <eliz@gnu.org>
2166
2167 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2168
f23d2c7d
LMI
21692012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2170
2171 * window.el (shrink-window): Mention the `window-min-height'
2172 variable in the doc string.
2173
0a0a3573
BG
21742012-04-05 Bastien Guerry <bzg@altern.org>
2175
2176 * color.el (color-lighten-name): Fix typo.
2177
e5248ac9
SM
21782012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * server.el (server--on-display-p): New function.
2181 (server--on-display-p): Use it.
2182
b4243e22
GV
21832012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2184
2185 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2186 (bug#11145).
2187
305d9f44
SM
21882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * comint.el (comint--common-quoted-suffix): Check string boundary
2191 before comparing (bug#11158).
2192 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2193
3d439cd1
CY
21942012-04-04 Chong Yidong <cyd@gnu.org>
2195
321cc491
CY
2196 * minibuffer.el (completion-extra-properties): Doc fix.
2197
3d439cd1
CY
2198 * subr.el (delayed-warnings-hook): Doc fix.
2199
2d562c0f
DU
22002012-04-04 Daiki Ueno <ueno@unixuser.org>
2201
2202 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2203 selection (Bug#11159).
2204 (epa-insert-keys): Inform that the default public key will be
2205 exported if no key is selected.
2206
4443f204
RS
22072012-04-04 Richard Stallman <rms@gnu.org>
2208
2209 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2210
529c06b6
CY
22112012-04-03 Chong Yidong <cyd@gnu.org>
2212
2213 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2214 mail-insert-file, not its obsolete alias mail-attach-file.
2215
66b907dc
MA
22162012-04-03 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * notifications.el (notifications-notify): Fix docstring.
2219
c0ea195d
GM
22202012-04-02 Glenn Morris <rgm@gnu.org>
2221
2222 * emacs-lisp/authors.el (authors-aliases): Another addition.
2223
5ca64e00
MA
22242012-04-02 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2227 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2228 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2229
42ee526b
CY
22302012-04-01 Chong Yidong <cyd@gnu.org>
2231
2232 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2233 Handle root directory properly.
2234 (copy-directory): Caller changed.
2235
2236 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2237 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2238
0b021094
GM
22392012-03-31 Glenn Morris <rgm@gnu.org>
2240
40f86458
GM
2241 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2242
7019c177
GM
2243 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2244
a1daddd6
GM
2245 * calendar/calendar.el (calendar-window-list)
2246 (calendar-hide-window): Restore. (Bug#11140)
2247 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2248
0b021094
GM
2249 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2250
40311efc
TV
22512012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2252
2253 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2254 Check if file is a symlink (Bug#10489).
2255
2256 * files.el (copy-directory): Likewise.
2257
5319014e
CY
22582012-03-30 Chong Yidong <cyd@gnu.org>
2259
2260 * image.el (imagemagick-types-inhibit)
2261 (imagemagick-register-types): Doc fix.
2262
935d1290
AM
22632012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2264
ef24141c
SM
2265 * ispell.el (ispell-get-extended-character-mode):
2266 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2267 and treats ~word as ordinary words in pipe mode.
935d1290 2268
61c6e8fd
GM
22692012-03-30 Glenn Morris <rgm@gnu.org>
2270
2271 * tutorial.el (help-with-tutorial): Ensure local variables don't
2272 happen to make the buffer read-only. (Bug#11127)
2273
81fdff00
SM
22742012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2277 (perl-calculate-indent): Return `noindent' in strings.
2278
6e7a6ec0
SS
22792012-03-28 Sam Steingold <sds@gnu.org>
2280
2281 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2282 instead of the broken adhockery which does not prevent calendar
2283 buffers from being displayed at random after exit.
2284 (calendar-window-list, calendar-hide-window): Remove the broken
2285 adhockery.
2286
fee88ca0
GM
22872012-03-28 Glenn Morris <rgm@gnu.org>
2288
2289 * replace.el (query-replace-map): Doc fix.
2290
38de3354
AS
22912012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2292
2293 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2294 contents. (Bug#11109)
2295
b973155e
SM
22962012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2299 (bug#11077).
2300 (avl-tree--check, avl-tree--check-node): New funs.
2301
dcb6e7b3
MR
23022012-03-27 Martin Rudalics <rudalics@gmx.at>
2303
2304 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2305 (switch-to-prev-buffer, switch-to-next-buffer):
2306 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2307 showing a buffer already is done on the same frame.
2308
b4fa35fa
GM
23092012-03-27 Glenn Morris <rgm@gnu.org>
2310
2311 * startup.el (mail-host-address): Doc fix.
2312
f9210e18
SM
23132012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2316 than 197 variables.
2317
c0bf7753
AF
23182012-03-26 Ami Fischman <ami@fischman.org>
2319
2320 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2321
33da7b16
GM
23222012-03-26 Glenn Morris <rgm@gnu.org>
2323
02243d9d
GM
2324 * files.el (save-buffers-kill-emacs): Doc fix.
2325
33da7b16
GM
2326 * startup.el (normal-top-level, command-line, command-line-1):
2327 Give them doc strings.
2328
e5a69fd0
EZ
23292012-03-25 Eli Zaretskii <eliz@gnu.org>
2330
2331 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2332 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2333
9a69676a
CY
23342012-03-25 Chong Yidong <cyd@gnu.org>
2335
4125cb8b
CY
2336 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2337 theme if it was previously enabled before (Bug#11031).
2338
dd470960
CY
2339 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2340 spec with custom-face-get-current-spec if its :shown-value is not
2341 determined yet (Bug#9337).
4125cb8b 2342 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2343
9a69676a
CY
2344 * button.el (button-at): Minor addition to docstring.
2345
6e7e90fa
SL
23462012-03-24 Simon Leinen <simon.leinen@gmail.com>
2347
2348 * vc/vc.el (vc-merge): Fix a prompt.
2349
f06e2758
CY
23502012-03-24 Chong Yidong <cyd@gnu.org>
2351
2352 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2353 point (Bug#9623).
2354
6e7e90fa
SL
2355 * button.el (button-at): Minor addition to docstring.
2356
b9d0879b
SM
23572012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * newcomment.el (comment-choose-indent): No space after BOL.
2360
e71cebb3
SS
23612012-03-22 Sam Steingold <sds@gnu.org>
2362
2363 * window.el (switch-to-prev-buffer): Revert last patch because the
2364 bug turned out to be an advertised feature (Elisp manual 28.14).
2365
335aff35
GM
23662012-03-22 Glenn Morris <rgm@gnu.org>
2367
2368 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2369 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2370
c676576a
LMI
23712012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2372
2373 * net/network-stream.el (network-stream-open-starttls): Make error
2374 message under Windows be less misleading.
2375
126f3d39
LW
23762012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2377
2378 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2379 understands (bug#9942).
2380
64fee311
CY
23812012-03-22 Chong Yidong <cyd@gnu.org>
2382
2383 * simple.el (end-of-visible-line): Handle return value of
2384 next-single-property-change properly (Bug#9371).
2385
a640d29a
KH
23862012-03-22 Kenichi Handa <handa@m17n.org>
2387
2388 * international/quail.el (quail-insert-kbd-layout): Fix previous
2389 change. To avoid unwanted bidi reordering, use
2390 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2391
39675016
DG
23922012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2395 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2396 (ruby-beginning-of-indent): Be more careful with the difference
2397 between word-boundary and symbol boundary.
2398 (ruby-mode-syntax-table): Make : a symbol constituent.
2399
0a6934fc 24002012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2401
3d008e4f
SM
2402 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2403
0a6934fc
SM
24042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2405
af67c9d7
SM
2406 * progmodes/etags.el (tags-completion-at-point-function):
2407 Improve last fix.
2408
1acad97c
SM
2409 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2410
e298b5da
SS
24112012-03-21 Sam Steingold <sds@gnu.org>
2412
2413 * progmodes/etags.el (tags-completion-at-point-function):
2414 Avoid the error when point is inside the pattern.
2415
91d82a70
JY
24162012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2417
2418 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2419 line (Bug#10855).
2420
69188b79
CY
24212012-03-21 Drew Adams <drew.adams@oracle.com>
2422
2423 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2424
99fc91fe
AK
24252012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2426
2427 * ido.el (ido-set-current-directory, ido-read-internal)
2428 (ido-choose-completion-string, ido-completion-help): Handle nil
2429 value of ido-completion-buffer (Bug#11008).
2430
087bbb4c
SS
24312012-03-21 Sam Steingold <sds@gnu.org>
2432
2433 * window.el (switch-to-prev-buffer): Do not switch to a visible
2434 window previous buffer, just like with the frame previous buffers.
2435
fb5b8aca
CY
24362012-03-21 Chong Yidong <cyd@gnu.org>
2437
2438 * faces.el (make-face, make-empty-face, copy-face):
2439 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2440 Doc fixes.
2441
dc9924b8
SM
24422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2445 (widget-complete): Remove broken use of it.
2446
f0bcceb9
CY
24472012-03-20 Chong Yidong <cyd@gnu.org>
2448
dc9924b8
SM
2449 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2450 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2451 characters.
2452
ee52ebf3
TH
24532012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2454
2455 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2456 to draw rectangles, not squares. (Regression introduced by revno
2457 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2458
4c5779ab
CY
24592012-03-18 Chong Yidong <cyd@gnu.org>
2460
2461 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2462 it is not yet defined (for temacs).
2463
15360934
LL
24642012-03-18 Leo Liu <sdl.web@gmail.com>
2465
dc9924b8 2466 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2467
d9a8eb66
EZ
24682012-03-17 Eli Zaretskii <eliz@gnu.org>
2469
2470 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2471 (ispell-choices-win-default-height, ispell-silently-savep)
2472 (ispell-dictionary-alist, ispell-encoding8-command)
2473 (ispell-check-version, ispell-aspell-find-dictionary)
2474 (ispell-valid-dictionary-list, ispell-words-keyword)
2475 (ispell-get-word, ispell-internal-change-dictionary)
2476 (ispell-region, ispell-skip-region-list)
2477 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2478 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2479 (ispell-message-text-end, ispell-message)
2480 (ispell-buffer-local-parsing): Doc fix.
2481
f02ff80d
J
24822012-03-13 Jambunathan K <kjambunathan@gmail.com>
2483
2484 * htmlfontify.el: Add support for code block fontification for ODT
2485 export (Bug #9914).
2486 (hfy-optimisations): Define new option
2487 `body-text-only'
2488 (hfy-fontify-buffer): Honor above setting.
2489 (hfy-begin-span, hfy-end-span): New routines factored out form
2490 `hfy-fontify-buffer'.
2491 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2492 that permit insertion of custom tags.
2493 (hfy-fontify-buffer): Use above handlers.
2494 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2495 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2496 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2497 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2498 bind a special variable `hfy-user-sheet-assoc'.
2499 (htmlfontify-string): New defun.
2500 (hfy-compile-face-map): Make sure that the last char in the
2501 buffer is correctly fontified.
2502 (hfy-face-resolve-face): Whitespace only change.
2503
9ac7a13f
EZ
25042012-03-17 Eli Zaretskii <eliz@gnu.org>
2505
2506 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2507 message more clear.
2508
e2b5bdd7
LL
25092012-03-16 Leo Liu <sdl.web@gmail.com>
2510
2511 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2512
2e492df3
AM
25132012-03-16 Alan Mackenzie <acm@muc.de>
2514
2515 Further optimise the handling of large macros.
2516
2517 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2518 limit to a call of `c-literal-limits'.
2519 (c-determine-+ve-limit): New function.
dc9924b8
SM
2520 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2521 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2522 In CASE 5B, restrict a search limit to 500.
2523 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2524
2525 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2526 Restrict macro bounds to +-500 from after-change's BEG END.
2527
50e94f0c
LL
25282012-03-16 Leo Liu <sdl.web@gmail.com>
2529
2530 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2531
6f09f6ed
AH
25322012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2533
2534 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2535 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2536
c7e73d51
GM
25372012-03-16 Glenn Morris <rgm@gnu.org>
2538
da986230
GM
2539 * view.el (view-buffer, view-buffer-other-window)
2540 (view-buffer-other-frame): Doc fixes re special mode-class.
2541
0835f01e
GM
2542 * subr.el (eval-after-load): If named feature is provided not from
2543 a file, run after-load forms. (Bug#10946)
2544
c7e73d51
GM
2545 * calendar/calendar.el (calendar-insert-at-column):
2546 Handle non-unit-width characters a bit better. (Bug#10978)
2547
3f2eafd1
CY
25482012-03-15 Chong Yidong <cyd@gnu.org>
2549
2550 * emacs-lisp/ring.el (ring-extend): New function.
2551 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2552
2553 * comint.el (comint-read-input-ring)
2554 (comint-add-to-input-history): Grow comint-input-ring lazily.
2555
103af3fe
SM
25562012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2557
663b1677
SM
2558 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2559 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2560
103af3fe
SM
2561 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2562 (imenu-add-to-menubar): Don't add a redundant index.
2563 (imenu-update-menubar): Handle a dynamically composed keymap.
2564
899cb7cb
KY
25652012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2566
2567 * mail/sendmail.el (mail-encode-header):
2568 Bind rfc2047-encode-encoded-words to nil.
2569
3809f91d
GM
25702012-03-13 Glenn Morris <rgm@gnu.org>
2571
2572 * calendar/calendar.el (calendar-string-spread):
2573 Handle non-unit-width characters a bit better. (Bug#10978)
2574
9e345a01
LL
25752012-03-13 Leo Liu <sdl.web@gmail.com>
2576
2577 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2578 directory and file as argument (Bug#10822).
2579
4a07df36
KS
25802012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2581
2582 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2583 For dynamically generated code, follow $PC.
2584 (gdb-disassembly-handler-custom): Handle no function name case.
2585
4aaa9356
TL
25862012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2587
2588 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2589 * emulation/ws-mode.el (ws-query-replace):
2590 * sort.el (sort-regexp-fields):
2591 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2592
225979da
SM
25932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * dabbrev.el: Fix cycle completion order (bug#10963).
2596 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2597 (dabbrev-completion): Don't use an obarray; provide
2598 a cycle-sort-function.
2599
e2f1fdab
LL
26002012-03-12 Leo Liu <sdl.web@gmail.com>
2601
dc9924b8 2602 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2603 (kill-do-not-save-duplicates): Doc fix.
2604
b19490ed
SM
26052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * dabbrev.el: Fix cycle completion (bug#10963).
2608 Use lexical binding and wrap to 80 columns.
2609 (dabbrev-completion): Delay computing the list of completions.
2610
4b05d722
KH
26112012-03-12 Kenichi Handa <handa@m17n.org>
2612
2613 * international/quail.el (quail-insert-kbd-layout): Surround each
2614 row by LRO and PDF instead of inserting many LRMs. Pad the left
2615 and right of each non-spacing marks. Insert invisible space
2616 between lower and upper characters to prevent composition.
2617
dbbc2e69
SM
26182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * minibuffer.el (minibuffer-complete): Don't get confused when the
2621 function is run twice via different commands (bug#10958).
2622 (complete-with-action): Fix docstring.
2623
292112ed
CY
26242012-03-12 Chong Yidong <cyd@gnu.org>
2625
5d1ac394
CY
2626 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2627 (nxml-completion-at-point-function): New function.
2628 (nxml-mode): Use it.
2629 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2630
292112ed
CY
2631 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2632 Load generated autoloads file before byte compiling (Bug#10970).
2633 (package--make-autoloads-and-compile): New helper fun.
2634
4098f8f7
CS
26352012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2636
2637 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2638
8f754691
MA
26392012-03-11 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * autorevert.el (auto-revert-handler): Ensure, that
2642 file-readable-p is applied only for local files or in
2643 auto-revert-tail-mode.
2644
e29ab36b
AS
26452012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2646
dbbc2e69
SM
2647 * server.el (server-eval-at): Handle non-tcp connections.
2648 Decode result string.
ad0bf5b6 2649
e29ab36b
AS
2650 * server.el (server-msg-size): New constant.
2651 (server-reply-print): New function.
2652 (server-eval-and-print): Use it.
2653 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2654 Handle -print-nonl.
2655
de5939ba
CS
26562012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2657
2658 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2659 (Bug#10987).
2660
0c93eabf
CY
26612012-03-11 Chong Yidong <cyd@gnu.org>
2662
397a688f
CY
2663 * simple.el (goto-line): Doc fix (Bug#9938).
2664
2cc775f9
CY
2665 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2666
0c93eabf
CY
2667 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2668 when finished (Bug#10963).
2669
c491fa41
MR
26702012-03-11 Martin Rudalics <rudalics@gmx.at>
2671
2672 * window.el (split-window-below): Fix bug in case where
2673 split-window-keep-point is nil (Bug#10971).
2674
300e8fa5
JL
26752012-03-11 Juri Linkov <juri@jurta.org>
2676
2677 * replace.el (replace-highlight): Set isearch-word to nil
2678 unconditionally. (Bug#10887)
2679
dbf6c5a1
EZ
26802012-03-10 Eli Zaretskii <eliz@gnu.org>
2681
2682 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2683 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2684 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2685 (mairix-widget-create-query): Add usage information about mairix
2686 search forms: negating words, searching for substrings, etc.
2687
b9e501de
JP
26882012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2689
2690 * international/fontset.el (font-encoding-alist): Add an entry for
2691 ksx1001 (Bug#5667).
2692
92795c91
RS
26932012-03-10 Richard Stallman <rms@gnu.org>
2694
1694e6c1
RS
2695 * mail/sendmail.el (mail-encode-header):
2696 Set rfc2047-encode-encoded-words.
2697
607e8555
RS
2698 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2699
de3bc99a
RS
2700 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2701 view buffer means not swapped.
2702 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2703 (rmail-write-region-annotate): Error if real text has disappeared.
2704
92795c91
RS
2705 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2706
699bd04e
CY
27072012-03-10 Chong Yidong <cyd@gnu.org>
2708
2709 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2710 * emulation/cua-base.el (cua--init-keymaps):
2711 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2712
570a1714
MR
27132012-03-10 Martin Rudalics <rudalics@gmx.at>
2714
dbbc2e69
SM
2715 * speedbar.el (speedbar-unhighlight-one-tag-line):
2716 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2717
82dcf4e4
CY
27182012-03-10 Chong Yidong <cyd@gnu.org>
2719
7a2c7ca7
CY
2720 * minibuffer.el (completion-in-region, completion-help-at-point):
2721 Give the completion field overlay a high priority (Bug#6830).
2722
82dcf4e4
CY
2723 * dired.el (dired-goto-file): Recognize absolute file name
2724 listings (Bug#7126).
2725 (dired-goto-file-1): New helper function.
2726 (dired-toggle-read-only): Inhibit warnings.
2727
052e28ac
MA
27282012-03-09 Michael Albinus <michael.albinus@gmx.de>
2729
75f1671a 2730 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2731 there are no properties.
2732
95d5e396
LL
27332012-03-09 Leo Liu <sdl.web@gmail.com>
2734
2735 * savehist.el (savehist-printable): Stricter check for string
2736 value (Bug#10937).
2737
3f018d6d
EZ
27382012-03-09 Eli Zaretskii <eliz@gnu.org>
2739
dbbc2e69
SM
2740 * mail/smtpmail.el (smtpmail-send-it):
2741 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2742 valid mbox format.
2743
f7fd3d79
GM
27442012-03-09 Glenn Morris <rgm@gnu.org>
2745
2746 * files.el (dir-locals-find-file):
2747 Don't check result is regular, readable.
2748 (dir-locals-read-from-file): Demote errors.
2749
6ff6e72f
EZ
27502012-03-08 Eli Zaretskii <eliz@gnu.org>
2751
dbbc2e69
SM
2752 * international/quail.el (quail-insert-kbd-layout):
2753 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2754 layout cell, to prevent their reordering by bidi display engine.
2755 For details, see the discussion in
2756 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2757
9cec7834
AM
27582012-03-08 Alan Mackenzie <acm@muc.de>
2759
2760 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2761 the starting position; make it extend the marked region when
2762 invoked repeatedly - all under appropriate circumstances.
2763 Fixes bugs #5525, #10906.
2764
9a40b8d4
GM
27652012-03-08 Glenn Morris <rgm@gnu.org>
2766
2767 * files.el (locate-dominating-file, dir-locals-find-file):
2768 Undo 2012-03-06 change.
2769
7a08ed35
EZ
27702012-03-07 Eli Zaretskii <eliz@gnu.org>
2771
dbbc2e69
SM
2772 * international/quail.el (quail-help):
2773 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2774 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2775 for the reason.
2776
5aca4f71 27772012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2778
2779 Avoid superfluous registering of signals. (Bug#10807)
2780
2781 * notifications.el (notifications-on-action-object)
2782 (notifications-on-close-object): New defvars.
2783 (notifications-on-action-signal, notifications-on-closed-signal):
2784 Unregister the signal if not needed any longer.
2785 (notifications-notify): Register `notifications-action-signal' or
2786 `notifications-closed-signal', if :on-action or :on-close has been
2787 passed as argument.
2788
78e8b10a
CY
27892012-03-07 Chong Yidong <cyd@gnu.org>
2790
2791 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2792 non-X platforms.
2793
69481eb8
GM
27942012-03-06 Glenn Morris <rgm@gnu.org>
2795
2796 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2797 (x-disown-selection-internal, x-get-selection-internal):
2798 Doc fix (add arglist signatures). (Bug#10783)
2799
133b8e11
KS
28002012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2801
2802 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2803 Handle breakpoints with no "type".
2804
99a83064
GM
28052012-03-06 Glenn Morris <rgm@gnu.org>
2806
2807 * files.el (locate-dominating-file): Add optional predicate argument.
2808 (dir-locals-find-file): Make use of above change.
2809
17798e78
TTN
28102012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2811
2812 * info.el (Info-insert-dir): Also try "dir.gz".
2813
eb182446
GM
28142012-03-06 Glenn Morris <rgm@gnu.org>
2815
8f2114ee
GM
2816 * files.el (dir-locals-find-file):
2817 Ignore non-readable or non-regular files. (Bug#10928)
2818
eb182446
GM
2819 * files.el (locate-dominating-file): Doc fix.
2820
24679323
AS
28212012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2822
2823 * calendar/calendar.el (calendar-set-mode-line):
2824 `getenv' returns a string. (Bug#10951)
2825
01d972a9
LL
28262012-03-05 Leo Liu <sdl.web@gmail.com>
2827
109aa8a9
LL
2828 * simple.el (backward-delete-char-untabify): Constrain point to
2829 field (Bug#10939).
2830
01d972a9
LL
2831 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2832
10607bea
CY
28332012-03-05 Chong Yidong <cyd@gnu.org>
2834
2835 * simple.el (count-words): If called from Lisp, return the word
2836 count, for symmetry with `count-lines'. Arglist changed.
2837 (count-words--message): Args changed. Consolidate counting code
2838 from count-words and count-words-region.
2839 (count-words-region): Caller changed.
2840 (count-lines-region): Make it an obsolete alias.
2841
5dd11cfe
TH
28422012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2843
2844 * saveplace.el (save-place-to-alist)
2845 (save-place-ignore-files-regexp): Allow value nil to disable this
2846 feature.
2847
c349f4e6
CY
28482012-03-04 Chong Yidong <cyd@gnu.org>
2849
2850 * faces.el (face-spec-reset-face): For the default face, reset the
2851 attributes to default values (Bug#10748).
2852
e627be4c
LMI
28532012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2854
2855 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2856 previous patch: Check `message-send-mail-function', and not the
2857 default function (bug#10897).
2858
ebeabff4
MA
28592012-03-04 Michael Albinus <michael.albinus@gmx.de>
2860
a41a6cf4
MA
2861 * notifications.el (notifications-on-action-signal)
2862 (notifications-on-closed-signal): Check for unique service name of
2863 incoming event. Fix error in removing entry.
ebeabff4 2864 (top): Register for signals with wildcard service name.
a41a6cf4 2865 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2866
c1ca42b4
CY
28672012-03-04 Chong Yidong <cyd@gnu.org>
2868
dc9924b8 2869 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2870
ea16568d
GM
28712012-03-04 Glenn Morris <rgm@gnu.org>
2872
2873 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2874 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2875 (expand-abbrev, define-abbrev-table): Doc fixes.
2876
fbae4637
LMI
28772012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878
2879 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2880 `message-default-send-mail-function' and not `send-mail-function'
2881 when doing the prompting for `sendmail-query-once' before sending
2882 in Message buffers (bug#10897).
2883
a1e7225c
LMI
2884 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2885 This is inconsistent with all the other stream functions, which leave
2886 the setting up to the higher levels (if so wanted) (bug#10931).
2887
56d093a9
AM
28882012-03-02 Alan Mackenzie <acm@muc.de>
2889
2890 Depessimize the handling of very large macros.
2891
2892 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2893 (c-macro-cache-syntactic): New variables to implement a one
2894 element macro cache.
2895 (c-invalidate-macro-cache): New function.
2896 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2897 Adapt to use the new cache.
2898 (c-state-safe-place): Use better the cache of safe positions.
2899 (c-state-semi-nonlit-pos-cache)
2900 (c-state-semi-nonlit-pos-cache-limit):
2901 New variables for...
2902 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2903 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2904 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2905 Use c-state-semi-safe-place.
56d093a9 2906
dbbc2e69
SM
2907 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2908 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2909
817e5c3d
MA
29102012-03-02 Michael Albinus <michael.albinus@gmx.de>
2911
dbbc2e69
SM
2912 * jka-compr.el (jka-compr-call-process):
2913 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2914 not remote.
2915
a032a702
MA
29162012-03-01 Michael Albinus <michael.albinus@gmx.de>
2917
2918 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2919 access of FILE2, if FILE1 does not exist.
2920
99a54f21
MA
2921 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2922 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2923
2924 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2925 Add "PAGER=" to `process-environment'.
2926
f6561e1f
MM
29272012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2928
2929 * progmodes/sql.el: Bug fix
2930 (sql-get-login-ext): Save login values in globals.
2931 (sql-get-login): Use new version of `sql-get-login-ext'.
2932 (sql-interactive-mode): Set global `sql-connection' to nil.
2933 (sql-connect): Set global values for connection.
2934 (sql-product-interactive): Save global values as buffer local.
2935
2d44d9cc
LL
29362012-02-29 Leo Liu <sdl.web@gmail.com>
2937
2938 * abbrev.el (define-abbrevs): Reset sys to nil.
2939
96b49301 29402012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2941
bf7f9bc5
JB
2942 * files.el (file-equal-p): Rename from `files-equal-p'.
2943 Return nil when one or both files don't exist.
96b49301 2944 (file-subdir-of-p): Now only top directory must exists,
2945 return nil if it doesn't.
bf7f9bc5
JB
2946 (copy-directory): No need to test with `file-subdir-of-p' after
2947 creating dir.
2948 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2949 to `file-equal-p'.
96b49301 2950
44e97401
GM
29512012-02-28 Glenn Morris <rgm@gnu.org>
2952
2953 * shell.el (shell-mode):
2954 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2955 * play/landmark.el (landmark-font-lock-face-O):
2956 * play/handwrite.el (handwrite):
2957 * play/gomoku.el (gomoku-O):
2958 * net/browse-url.el (browse-url-browser-display):
2959 * international/mule.el (define-charset):
2960 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2961 * filesets.el (filesets-find-file-delay):
2962 * eshell/em-xtra.el (eshell-xtra):
2963 * eshell/em-unix.el (eshell-grep):
2964 * emulation/viper.el (viper-mode):
2965 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2966 * emacs-lisp/easymenu.el (easy-menu-define):
2967 * calendar/timeclock.el (timeclock-use-display-time):
2968 * bs.el (bs-mode):
2969 * bookmark.el (bookmark-save-flag):
2970 Doc fix (standardize possessive apostrophe usage).
2971
c98c6276
CY
29722012-02-27 Chong Yidong <cyd@gnu.org>
2973
bf7f9bc5
JB
2974 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2975 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2976
c98c6276
CY
2977 * font-lock.el (font-lock-specified-p): Rename from
2978 font-lock-spec-present. Callers changed.
2979
9c62cd04 29802012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2981
bf7f9bc5
JB
2982 * emacs-lisp/package.el (package-compute-transaction):
2983 Handle holding a package version to t in package-load-list.
8ac9e529 2984
530739c9
MA
29852012-02-26 Michael Albinus <michael.albinus@gmx.de>
2986
2987 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2988 (tramp-get-inode, tramp-get-device): Use cached values.
2989
487915d7
AM
29902012-02-26 Alan Mackenzie <acm@muc.de>
2991
2992 Check there is a font-lock specification before doing initial
2993 fontification.
2994
2995 * font-core.el (font-lock-mode): Move the conditional from
2996 :after-hook to font-lock-initial-fontify.
2997 (font-lock-default-function): Move the check for a specification
2998 to font-lock-spec-present.
2999
dc9924b8 3000 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3001 (font-lock-spec-present): New function.
3002
4fd96557
JB
30032012-02-26 Jim Blandy <jimb@red-bean.com>
3004
3005 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3006 (gdb-send): Apply it to the operand of the '-interpreter-exec
3007 console' command, so that we can pass arguments with (say) quotes
3008 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3009
9a4888c0
CY
30102012-02-26 Chong Yidong <cyd@gnu.org>
3011
07498861
CY
3012 * help-fns.el (describe-function-1): Clarify description of
3013 remapping (Bug#10844).
3014
9a4888c0
CY
3015 * files.el (files-equal-p): Doc fix.
3016 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3017 and quit the loop once a mismatch is found.
3018
ea8fb88d
JB
30192012-02-25 Juanma Barranquero <lekktu@gmail.com>
3020
3021 * bs.el (bs--show-with-configuration): Don't throw an error
3022 if the window cannot be split; otherwise, subsequent calls to
3023 bs-show fail, restoring a stale window config. (Bug#10882)
3024
525795c1
JD
30252012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3026
3027 * term/ns-win.el (global-map): Bind ns-drag-file to
3028 ns-find-file (Bug#5855, Bug#10050).
3029
f008086f
AS
30302012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3031
3032 * calendar/parse-time.el (parse-time-string): Allow extractor to
3033 return nil.
3034
a3fcfa99
MA
30352012-02-25 Michael Albinus <michael.albinus@gmx.de>
3036
91027d08
JB
3037 * net/tramp.el (tramp-file-name-for-operation):
3038 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3039
3040 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3041 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3042 Add COPY-CONTENTS argument.
a3fcfa99 3043
67b0de11
CY
30442012-02-25 Chong Yidong <cyd@gnu.org>
3045
3046 Add custom groups for VC backends, for consistency with vc-bzr.
3047
3048 * vc/vc-arch.el (vc-arch):
3049 * vc/vc-cvs.el (vc-cvs):
3050 * vc/vc-git.el (vc-git):
3051 * vc/vc-hg.el (vc-hg):
3052 * vc/vc-mtn.el (vc-mtn):
3053 * vc/vc-rcs.el (vc-rcs):
3054 * vc/vc-sccs.el (vc-sccs):
3055 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3056 All relevant defcustoms reassigned.
3057
3c9dfce6
CY
30582012-02-25 Chong Yidong <cyd@gnu.org>
3059
1339bf43
CY
3060 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3061
3c9dfce6
CY
3062 * term/x-win.el (x-initialize-window-system): Reduce default for
3063 x-selection-timeout to 5 seconds (Bug#8869).
3064
25b2e303 30652012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3066
ec70a47d
GM
3067 * files.el (files-equal-p, file-subdir-of-p): New functions.
3068 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3069 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3070 * dired-aux.el (dired-copy-file-recursive): Same.
3071 (dired-create-files): Modify destination when source is equal to
3072 dest when copying files.
53a46cd0 3073 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3074
914260cd
MA
30752012-02-24 Michael Albinus <michael.albinus@gmx.de>
3076
3077 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3078 (Bug#10874)
3079
2cb228f7
AM
30802012-02-23 Alan Mackenzie <acm@muc.de>
3081
3082 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3083 parameter "after-hook:" to allow the expansion to run code after
3084 the execution of the mode hooks.
3085
3086 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3087 from font-lock-mode-internal.
2cb228f7 3088
91027d08 3089 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3090 :after-hook.
3091
8f0fde21
SM
30922012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3e88618b
SM
3094 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3095 (completion--cache-all-sorted-completions): New function.
3096 (completion-all-sorted-completions): Use it.
3097 (completion--do-completion, minibuffer-force-complete):
3098 Use it to re-instate the flush hook.
3099
8f0fde21
SM
3100 * icomplete.el (icomplete-completions): Replace last fix with a better
3101 one (bug#10850).
3102
8e911f6f
DG
31032012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3104
3105 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3106 when it might call us back infinitely (bug#10797).
3107
49fe4321
GM
31082012-02-23 Glenn Morris <rgm@gnu.org>
3109
3110 * minibuffer.el (completion-category-overrides): Doc fix.
3111
b291b572
SM
31122012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3115 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3116
31a9ef2e
GM
31172012-02-23 Glenn Morris <rgm@gnu.org>
3118
5e6e6794 3119 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3120 (authors-obsolete-files-regexps, authors-ignored-files)
3121 (authors-ambiguous-files, authors-renamed-files-alist):
3122 Add more entries.
3123
0bd1e074
JL
31242012-02-23 Juri Linkov <juri@jurta.org>
3125
3126 * isearch.el (isearch-occur): Sync interactive spec with occur's
3127 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3128
b617673c
JL
3129 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3130
19e9789e
JL
31312012-02-22 Juri Linkov <juri@jurta.org>
3132
3133 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3134 (ucs-insert): Doc fix. Check for hex digits in the string.
3135 Don't display `nil' in the error message. (Bug#10857)
3136
f41ce09d
AM
31372012-02-22 Alan Mackenzie <acm@muc.de>
3138
7a71b18d 3139 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3140
ac2eceee
GM
31412012-02-22 Glenn Morris <rgm@gnu.org>
3142
3143 * ffap.el (ffap-c-path):
3144 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3145
abd1f678
CY
31462012-02-22 Chong Yidong <cyd@gnu.org>
3147
3148 * custom.el (load-theme): Doc fix.
3149
f25aef2e
GM
31502012-02-22 Glenn Morris <rgm@gnu.org>
3151
3152 * dired-x.el (dired-guess-shell-alist-default):
3153 Remove escape sequences from nroff output. (Bug#172)
3154
5f8dc2ca
GM
31552012-02-21 Glenn Morris <rgm@gnu.org>
3156
6ff86ec4
GM
3157 * vc/emerge.el (emerge-defvar-local):
3158 Set `permanent-local' property rather than unused `preserved'.
3159
be3223a3 3160 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3161 (picture-mode-map): Use it. (Bug#10860)
3162 (picture-mode): Doc fix.
3163
3fe58f4f
JB
31642012-02-21 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * newcomment.el (uncomment-region-default): Remove unused binding.
3167
f9a998c3
GM
31682012-02-21 Glenn Morris <rgm@gnu.org>
3169
3170 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3171 (picture-self-insert, picture-tab-chars): Doc fix.
3172 (picture-mode-map): Fix C-a, C-e.
3173
c6029348
GM
31742012-02-20 Glenn Morris <rgm@gnu.org>
3175
3176 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3177
ab1ce9d7
LL
31782012-02-20 Leo Liu <sdl.web@gmail.com>
3179
3180 * icomplete.el (icomplete-completions): Check FROM arg before
3181 passing to substring (Bug#10850).
3182
0fd40f89
CY
31832012-02-19 Chong Yidong <cyd@gnu.org>
3184
3185 * comint.el: Require ansi-color.
3186 (comint-output-filter-functions): Add ansi-color-process-output.
3187
3188 * ansi-color.el: Don't set comint-output-filter-functions; it is
3189 now in the initial value defined in comint.el.
3190 (ansi-color-apply-face-function): New variable.
3191 (ansi-color-apply-on-region): Use it.
3192 (ansi-color-apply-overlay-face): New function.
3193
3194 * shell.el (shell): No need to require ansi-color.
3195 (shell-mode): Use ansi-color-apply-face-function to highlight
3196 color escapes using font-lock-face property (Bug#10835).
3197
20af2394
CY
31982012-02-19 Chong Yidong <cyd@gnu.org>
3199
3200 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3201 mode-line formats (Bug#10839).
3202
e23a3fbe
GM
32032012-02-18 Glenn Morris <rgm@gnu.org>
3204
b474519e
GM
3205 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3206
3207 * mail/undigest.el (unforward-rmail-message): Doc fix.
3208
e23a3fbe
GM
3209 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3210
57939ff4
EZ
32112012-02-18 Eli Zaretskii <eliz@gnu.org>
3212
3213 * international/characters.el (script-list): Sync with the latest
3214 Unicode Character Database.
3215
0c23686e
AS
32162012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3217
3218 * international/titdic-cnv.el: Remove duplicate coding tag.
3219 * language/cham.el: Likewise.
3220 * language/tai-viet.el: Likewise.
3221
6818b449
GM
32222012-02-18 Glenn Morris <rgm@gnu.org>
3223
3224 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3225 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3226 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3227 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3228 * calendar/holidays.el (holiday-bahai-holidays)
3229 (calendar-holidays, list-holidays):
3230 Use utf-8 Bahá'í in doc-strings, menus, etc.
3231
0311a3fc
TH
32322012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3233
3234 * saveplace.el (save-place-ignore-files-regexp): New variable
3235 allowing for excluding files from saving their location of point.
3236 The default value matches the temporary commit message editing
3237 files from Git, SVN, Bazaar, and Mercurial.
3238 (save-place-to-alist): Use it.
3239
eb864a71
LM
32402012-02-17 Lawrence Mitchell <wence@gmx.li>
3241 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * newcomment.el (uncomment-region-default): Don't leave extra space
3244 when an arg is provided (bug#8150).
3245
ee0ce425
TZ
32462012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3247
eb864a71 3248 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3249
95ddf442
GM
32502012-02-17 Glenn Morris <rgm@gnu.org>
3251
3252 * net/socks.el: Require network-stream. (Bug#10599)
3253
48dd1e39 32542012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3255
3256 * international/charprop.el:
3257 * international/uni-name.el:
3258 * international/uni-old-name.el:
3259 * international/uni-comment.el: Regenerate.
3260
d68cd087
GM
32612012-02-16 Glenn Morris <rgm@gnu.org>
3262
3263 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3264 Interactively in calendar buffer, give an error if not on a date.
3265
13932042
GM
32662012-02-15 Glenn Morris <rgm@gnu.org>
3267
3268 * shell.el (shell-delimiter-argument-list):
3269 Revert 2011-02-17 change. (Bug#8027)
3270
c3a70e2b
CY
32712012-02-15 Chong Yidong <cyd@gnu.org>
3272
60236b0d
CY
3273 * minibuffer.el (completion-at-point-functions): Doc fix.
3274
c3a70e2b
CY
3275 * custom.el (defcustom): Doc fix; note use of defvar.
3276
9f26dc24
GM
32772012-02-15 Glenn Morris <rgm@gnu.org>
3278
3279 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3280 Doc fixes.
3281
6546b134
GM
32822012-02-14 Glenn Morris <rgm@gnu.org>
3283
3284 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3285
d29b2b4c
LI
32862012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3287
3288 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3289 way the ports list is computed.
835bdcba
LI
3290 (smtpmail-query-smtp-server): Prompt the user for a port number if
3291 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3292
08dcdbc9
TZ
32932012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3294
3295 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3296
2605051a
GM
32972012-02-13 Glenn Morris <rgm@gnu.org>
3298
3299 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3300
7ee99f32
TZ
33012012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3302
3303 * net/gnutls.el (gnutls-trustfiles): New variable.
3304 (gnutls-negotiate): Use it.
3305
5f0af64f
LI
33062012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3307
3308 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3309 does its stuff if Gnus is running.
3310
c14fcc95
AM
33112012-02-13 Alan Mackenzie <acm@muc.de>
3312
3313 Fix a loop in c-set-fl-decl-start.
3314
7a71b18d 3315 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3316 c-backward-syntactic-ws actually moves backwards.
3317
142b4d90
LL
33182012-02-13 Leo Liu <sdl.web@gmail.com>
3319
3320 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3321 beginning so that all \C-o chars are removed.
3322
fa9958a6
TZ
33232012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3324
dc9924b8 3325 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3326
0bc5886a
AM
33272012-02-12 Alan Mackenzie <acm@muc.de>
3328
3329 Fix infinite loop with long macros.
4d6769e1 3330 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3331
d4bd55e7
CY
33322012-02-12 Chong Yidong <cyd@gnu.org>
3333
3334 * window.el (display-buffer): Doc fix (Bug#10785).
3335
66f3fe22
GM
33362012-02-12 Glenn Morris <rgm@gnu.org>
3337
bd7da63e
GM
3338 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3339 (x-disown-selection-internal, x-get-selection-internal):
3340 Sync docs with the xselect.c versions.
3341
66f3fe22
GM
3342 * allout-widgets.el: Add missing license notice.
3343
3e0d2fa7
GM
33442012-02-11 Glenn Morris <rgm@gnu.org>
3345
cfecdf09
GM
3346 * select.el (x-get-selection-internal, x-own-selection-internal)
3347 (x-disown-selection-internal):
3348 * x-dnd.el (x-get-selection-internal): Update declarations.
3349
6d216d7f
GM
3350 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3351
2bed3f04
GM
3352 * window.el (window-sides-slots):
3353 * tool-bar.el (tool-bar-position):
3354 * term/xterm.el (xterm-extra-capabilities):
3355 * ses.el (ses-self-reference-early-detection):
3356 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3357 (verilog-auto-wire-type)
3358 (verilog-auto-delete-trailing-whitespace)
3359 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3360 (verilog-auto-tieoff-declaration):
3361 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3362 (sql-oracle-statement-starters, sql-oracle-scan-on):
3363 * progmodes/prolog.el (prolog-align-comments-flag)
3364 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3365 (prolog-left-indent-regexp, prolog-paren-indent-p)
3366 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3367 (prolog-types, prolog-mode-specificators)
3368 (prolog-determinism-specificators, prolog-directives)
3369 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3370 (prolog-electric-dot-flag)
3371 (prolog-electric-dot-full-predicate-template)
3372 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3373 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3374 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3375 (prolog-program-switches, prolog-prompt-regexp)
3376 (prolog-debug-on-string, prolog-debug-off-string)
3377 (prolog-trace-on-string, prolog-trace-off-string)
3378 (prolog-zip-on-string, prolog-zip-off-string)
3379 (prolog-use-standard-consult-compile-method-flag)
3380 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3381 (prolog-imenu-max-lines, prolog-info-predicate-index)
3382 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3383 (prolog-char-quote-workaround):
3384 * progmodes/cc-vars.el (c-defun-tactic):
3385 * net/tramp.el (tramp-encoding-command-interactive)
3386 (tramp-local-end-of-line):
3387 * net/soap-client.el (soap-client):
3388 * net/netrc.el (netrc-file):
3389 * net/gnutls.el (gnutls):
3390 * minibuffer.el (completion-category-overrides)
3391 (completion-cycle-threshold)
3392 (completion-pcm-complete-word-inserts-delimiters):
3393 * man.el (Man-name-local-regexp):
3394 * mail/feedmail.el (feedmail-display-full-frame):
3395 * international/characters.el (glyphless-char-display-control):
3396 * eshell/em-ls.el (eshell-ls-date-format):
3397 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3398 (lisp-lambda-list-keyword-parameter-indentation)
3399 (lisp-lambda-list-keyword-parameter-alignment):
3400 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3401 * dired-x.el (dired-omit-verbose):
3402 * cus-theme.el (custom-theme-allow-multiple-selections):
3403 * calc/calc.el (calc-highlight-selections-with-faces)
3404 (calc-lu-field-reference, calc-lu-power-reference)
3405 (calc-note-threshold):
3406 * battery.el (battery-mode-line-limit):
3407 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3408 (archive-7z-update):
3409 * allout.el (allout-prefixed-keybindings)
3410 (allout-unprefixed-keybindings)
3411 (allout-inhibit-auto-fill-on-headline)
3412 (allout-flattened-numbering-abbreviation):
3413 * allout-widgets.el (allout-widgets-auto-activation)
3414 (allout-widgets-icons-dark-subdir)
3415 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3416 (allout-widgets-theme-dark-background)
3417 (allout-widgets-theme-light-background)
3418 (allout-widgets-item-image-properties-emacs)
3419 (allout-widgets-item-image-properties-xemacs)
3420 (allout-widgets-run-unit-tests-on-load)
3421 (allout-widgets-time-decoration-activity)
3422 (allout-widgets-hook-error-post-time)
3423 (allout-widgets-track-decoration):
3424 Add missing :version tags to new defcustoms and defgroups.
3425
5fec1b8e
GM
3426 * progmodes/sql.el (sql-ansi-statement-starters)
3427 (sql-oracle-statement-starters): Add custom type.
3428
3e0d2fa7
GM
3429 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3430 (prolog-system-version): Give it a type.
3431
90b671e2
EZ
34322012-02-11 Eli Zaretskii <eliz@gnu.org>
3433
3434 * term/pc-win.el (x-select-text, x-selection-owner-p)
3435 (x-own-selection-internal, x-disown-selection-internal)
3436 (x-get-selection-internal): Sync doc strings and argument lists
3437 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3438
5eac0c02
LL
34392012-02-11 Leo Liu <sdl.web@gmail.com>
3440
3441 * progmodes/python.el (python-end-of-statement): Fix infinite
3442 loop. (Bug#10788)
3443
f82cb659
GM
34442012-02-10 Glenn Morris <rgm@gnu.org>
3445
3446 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3447 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3448
cc26d239
LI
34492012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3450
3451 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3452 about SMTP before checking the From header.
3453
91027d08 3454 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3455 into own function for reuse by emacsbug.el.
3456
1be3ca5a
LL
34572012-02-10 Leo Liu <sdl.web@gmail.com>
3458
3459 * subr.el (condition-case-unless-debug): Rename from
3460 condition-case-no-debug. All callers changed.
3461 (with-demoted-errors): Fix caller.
3462
3463 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3464 * nxml/rng-valid.el (rng-do-some-validation):
3465 * emacs-lisp/package.el (package-refresh-contents)
3466 (package-menu-execute):
3467 * desktop.el (desktop-create-buffer):
91027d08 3468 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3469
b011fbfe
GM
34702012-02-10 Glenn Morris <rgm@gnu.org>
3471
b2096d72
GM
3472 * textmodes/bibtex.el:
3473 Add missing :version tags for new/changed defcustoms.
3474
b011fbfe
GM
3475 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3476
4c7e65bf
LI
34772012-02-09 Lars Ingebrigtsen <larsi@rusty>
3478
3479 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3480 (smtpmail-via-smtp): Use it, or fall back on the From address.
3481 (smtpmail-send-it): Ditto.
3482
f3934f6f
SM
34832012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3486 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3487 (byte-compile-tmp-var): New const.
3488 (byte-compile-defvar): Use it to minimize .elc size.
3489 Just use `defvar' rather than simulate it (bug#10761).
3490
a075a2c5
GM
34912012-02-09 Glenn Morris <rgm@gnu.org>
3492
cf3aa21b
GM
3493 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3494
354998cd
GM
3495 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3496 Add :version tags.
3497
dc9924b8
SM
3498 * progmodes/compile.el (compilation-error-screen-columns)
3499 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3500
dab3703d
GM
3501 * vc/log-view.el (log-view-toggle-entry-display):
3502 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3503
3f88cd72
GM
3504 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3505 (report-emacs-bug-can-use-xdg-email):
3506 (report-emacs-bug-insert-to-mailer): Doc fixes.
3507 (report-emacs-bug): Message fix.
3508
d95b247d
GM
3509 * net/browse-url.el (browse-url-can-use-xdg-open)
3510 (browse-url-xdg-open): Doc fixes.
3511
a075a2c5
GM
3512 * electric.el (electric-indent-mode, electric-pair-mode)
3513 (electric-layout-rules, electric-layout-mode): Doc fixes.
3514 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3515
ffb6157e
MR
35162012-02-08 Martin Rudalics <rudalics@gmx.at>
3517
3518 * server.el (server-unselect-display): Don't inadvertently kill
3519 the current buffer. (Bug#10729)
3520
e1ac4066
GM
35212012-02-08 Glenn Morris <rgm@gnu.org>
3522
34e8a2da
GM
3523 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3524 (sql-list-table): Doc fixes.
3525
b4ac6e8c
GM
3526 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3527 Comment out (does nothing).
3528
e1ac4066
GM
3529 * completion.el (dynamic-completion-mode):
3530 * dirtrack.el (dirtrack-debug-mode):
3531 * electric.el (electric-layout-mode):
3532 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3533 * face-remap.el (text-scale-mode, buffer-face-mode):
3534 * iimage.el (iimage-mode):
3535 * image-mode.el (image-transform-mode):
3536 * minibuffer.el (completion-in-region-mode):
3537 * scroll-lock.el (scroll-lock-mode):
3538 * simple.el (next-error-follow-minor-mode):
3539 * tar-mode.el (tar-subfile-mode):
3540 * tooltip.el (tooltip-mode):
3541 * vcursor.el (vcursor-use-vcursor-map):
3542 * wid-browse.el (widget-minor-mode):
3543 * emulation/tpu-edt.el (tpu-edt-mode):
3544 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3545 * international/iso-ascii.el (iso-ascii-mode):
3546 * language/thai-util.el (thai-word-mode):
3547 * mail/supercite.el (sc-minor-mode):
3548 * net/goto-addr.el (goto-address-mode):
3549 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3550 * progmodes/cwarn.el (cwarn-mode):
3551 * progmodes/flymake.el (flymake-mode):
3552 * progmodes/glasses.el (glasses-mode):
3553 * progmodes/hideshow.el (hs-minor-mode):
3554 * progmodes/pascal.el (pascal-outline-mode):
3555 * textmodes/enriched.el (enriched-mode):
3556 * vc/smerge-mode.el (smerge-mode):
3557 Doc fixes (minor mode argument).
3558
5e0d957f
EZ
35592012-02-07 Eli Zaretskii <eliz@gnu.org>
3560
3561 * ls-lisp.el (ls-lisp-sanitize): New function.
3562 (ls-lisp-insert-directory): Use it to fix or remove any elements
3563 in file-alist with missing attributes. (Bug#4673)
3564
98d7371e
AM
35652012-02-07 Alan Mackenzie <acm@muc.de>
3566
3567 Fix spurious recognition of c-in-knr-argdecl.
3568
3569 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3570 putative K&R region.
3571
667ced3a
AM
35722012-02-07 Alan Mackenzie <acm@muc.de>
3573
eb864a71
LM
3574 * progmodes/cc-engine.el (c-forward-objc-directive):
3575 Prevent looping in "#pragma mark @implementation".
667ced3a 3576
5b77774d
MA
35772012-02-07 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * notifications.el (notifications-on-closed-signal): Make `reason'
3580 optional. (Bug#10744)
3581
af008560
GM
35822012-02-07 Glenn Morris <rgm@gnu.org>
3583
60d47423
GM
3584 * emacs-lisp/easy-mmode.el (define-minor-mode):
3585 Doc fixes for the macro and the mode it defines.
3586
dd605cc4
GM
3587 * image.el (imagemagick-types-inhibit): Doc fix.
3588
af008560
GM
3589 * cus-start.el (imagemagick-render-type): Add it.
3590
5cc59a37
LI
35912012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3592
4d6769e1
JB
3593 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3594 Set the default at load time, too, so that `font-lock-fontify-buffer'
3595 can be called without setting up the entire mode first. This fixes
3596 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3597
9a6dd747
CY
35982012-02-06 Chong Yidong <cyd@gnu.org>
3599
2d16b285
CY
3600 * simple.el (list-processes--refresh): Delete exited processes
3601 (Bug#8094).
3602
171e9b6e
CY
3603 * comint.el (comint-next-prompt): next-single-char-property-change
3604 and prev-single-char-property-change never return nil (Bug#8657).
3605
9a6dd747
CY
3606 * custom.el (defcustom): Doc fix (Bug#9711).
3607
aa4589a7
CY
36082012-02-05 Chong Yidong <cyd@gnu.org>
3609
5c2a252f
CY
3610 * cus-edit.el (custom-variable-reset-backup): Quote the value
3611 before storing it in the customized-value property (Bug#6712).
4aab9006 3612 (custom-display): Add a customization type tag.
983b9602 3613 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3614
aa4589a7
CY
3615 * wid-edit.el (widget-field-value-get): New optional arg to
3616 suppress trailing whitespace truncation.
3617 (character): Use it (Bug#2689).
3618
1ff980ae
AS
36192012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3620
3621 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3622 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3623
03988c98
CY
36242012-02-05 Chong Yidong <cyd@gnu.org>
3625
eeb6cc88
CY
3626 * cus-edit.el (custom-variable-value-create): For mismatched
3627 types, show the current value (Bug#7600).
3628
03988c98
CY
3629 * custom.el (defcustom): Doc fix.
3630
f8cdeef0
GM
36312012-02-05 Glenn Morris <rgm@gnu.org>
3632
3633 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3634
0696d255
JB
36352012-02-05 Juanma Barranquero <lekktu@gmail.com>
3636
3637 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3638 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3639 (pp-last-sexp): Use `looking-at-p'.
3640
34c99998
GM
36412012-02-04 Glenn Morris <rgm@gnu.org>
3642
8f05da42
GM
3643 * files.el (revert-buffer):
3644 Doc fix (mention revert-buffer-in-progress-p).
3645
f160676e
GM
3646 * emacs-lisp/ert-x.el (ert-simulate-command):
3647 Check deferred-action-list (which is obsolete) is bound.
3648
c7291ad9
GM
3649 * subr.el (with-wrapper-hook): Doc fixes.
3650
34c99998
GM
3651 * simple.el (filter-buffer-substring-functions)
3652 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3653
6283a7d3
LL
36542012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3655
3656 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3657 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3658
e96e3013
LL
36592012-02-04 Leo Liu <sdl.web@gmail.com>
3660
3661 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3662
8ded50f2
GM
36632012-02-04 Glenn Morris <rgm@gnu.org>
3664
82ff1d13
GM
3665 * image.el (image-extension-data): Add obsolete alias.
3666
987a0a16
GM
3667 * isearch.el (isearch-update): Doc fix.
3668
ea32ef46
GM
3669 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3670
8ded50f2
GM
3671 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3672
eea14f31
GM
36732012-02-03 Glenn Morris <rgm@gnu.org>
3674
3675 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3676 (image-animate-timeout): Doc fix.
3677
3678 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3679
12f381b7
GM
36802012-02-02 Glenn Morris <rgm@gnu.org>
3681
953cebf5
GM
3682 * server.el (server-auth-dir): Doc fix.
3683 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3684
12f381b7
GM
3685 * subr.el (run-mode-hooks): Doc fix.
3686
953a8c3b
JL
36872012-02-02 Juri Linkov <juri@jurta.org>
3688
3689 * image-mode.el (image-toggle-display-image): Remove tautological
3690 `major-mode' from the `derived-mode-p' test.
3691
c5d3843c
KH
36922012-02-02 Kenichi Handa <handa@m17n.org>
3693
9f6e692e 3694 * composite.el (compose-region): Cancel previous change.
c5d3843c 3695
159462d4 36962012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3697
3698 * composite.el (compose-region, compose-string): Signal error for
3699 a null string component (Bug#6988).
3700
9f562668
CY
37012012-02-01 Chong Yidong <cyd@gnu.org>
3702
e2cef717
CY
3703 * view.el (view-buffer-other-window, view-buffer-other-frame):
3704 Handle special modes like view-buffer (Bug#10650).
3705 (view-buffer): Simplify.
3706
9f562668
CY
3707 * frame.el (set-frame-font): Tweak meaning of third argument.
3708
9f6e692e
JB
3709 * dynamic-setting.el (font-setting-change-default-font):
3710 Use set-frame-font (Bug#9982).
9f562668 3711
781acb9f
GM
37122012-02-01 Glenn Morris <rgm@gnu.org>
3713
6035be52
GM
3714 * progmodes/compile.el (compilation-internal-error-properties):
3715 Respect compilation-first-column in the "*compilation*" buffer.
3716
781acb9f
GM
3717 * emacs-lisp/easy-mmode.el (define-minor-mode):
3718 Relax :variable's test for a named function.
3719
abbceb00
AM
37202012-01-31 Alan Mackenzie <acm@muc.de>
3721
3722 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3723 off by one error.
3724
fce3fdeb
CY
37252012-01-31 Chong Yidong <cyd@gnu.org>
3726
3727 * frame.el (set-frame-font): New arg ALL-FRAMES.
3728
3729 * menu-bar.el (menu-set-font): Use set-frame-font.
3730
3731 * faces.el (face-spec-reset-face): Don't apply unspecified
3732 attribute values to the default face.
3733
47893581
JB
37342012-01-31 Juanma Barranquero <lekktu@gmail.com>
3735
3736 * progmodes/cwarn.el (cwarn): Remove dead link.
3737 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3738 Remove * from defcustom docstrings.
3739 (turn-on-cwarn-mode): Make obsolete.
3740 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3741 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3742
e58e988a
GM
37432012-01-31 Glenn Morris <rgm@gnu.org>
3744
60dc2671 3745 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3746 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3747 Allow named functions to be used as the cdr of :variable.
e58e988a 3748
7a3f511d
GM
37492012-01-30 Glenn Morris <rgm@gnu.org>
3750
3751 * emacs-lisp/authors.el (authors-fixed-entries):
3752 Remove reference to deleted file rnewspost.el.
3753
cb882333
JB
37542012-01-29 Juanma Barranquero <lekktu@gmail.com>
3755
3756 * window.el (window-with-parameter): Remove unused variable `windows'.
3757 (window--side-check): Remove unused variable `code'.
3758 (window--resize-siblings): Remove unused variable `first'.
3759 (adjust-window-trailing-edge): Remove unused variable `failed'.
3760 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3761 Use `let', not `let*'.
3762 (balance-windows-2): Remove unused variable `found'.
3763 (window--state-put-2): Remove unused variable `splits'.
3764 (window-state-put): Remove unused variable `selected'.
3765 (same-window-p): Use `string-match-p'.
3766 (display-buffer-assq-regexp): Remove unused variable `value'.
3767 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3768 Mark argument ALIST as ignored.
3769 (pop-to-buffer): Remove unused variable `old-window'.
3770
907201af
EZ
37712012-01-29 Eli Zaretskii <eliz@gnu.org>
3772
3773 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3774 and .lzma compressed files.
3775
ea162670
CY
37762012-01-29 Chong Yidong <cyd@gnu.org>
3777
5b95ee8a
CY
3778 * frame.el (window-system-default-frame-alist): Doc fix.
3779
ea162670
CY
3780 * dynamic-setting.el (font-setting-change-default-font): Don't
3781 change the default face if SET-FONT argument is non-nil (Bug#9982).
3782
d6e6f4b1
SB
37832012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3784
3785 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3786
0f29fa41 37872012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3788
3789 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3790 breakpoints in files outside current directory (Bug#6098).
3791
db174434
CY
37922012-01-29 Chong Yidong <cyd@gnu.org>
3793
6b25e4e2
SE
3794 * progmodes/python.el: Require ansi-color at top-level.
3795
6df6ae42
JB
3796 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3797 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3798 (lisp-mode-abbrev-table): Add doc.
3799 (lisp-mode-variables): Don't set local-abbrev-table.
3800 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3801
e70ee681
RW
38022012-01-28 Roland Winkler <winkler@gnu.org>
3803
3804 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3805
ace88aa2
RW
38062012-01-28 Roland Winkler <winkler@gnu.org>
3807
3808 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3809 (bibtex-set-dialect): Use it. Either set global values of
3810 dialect-dependent variables or bind these variables buffer-locally
3811 (Bug#10254).
3812 (bibtex-mode): Call bibtex-set-dialect via
3813 hack-local-variables-hook.
eb864a71
LM
3814 (bibtex-dialect): Update docstring.
3815 Add safe-local-variable predicate.
ace88aa2
RW
3816 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3817 bibtex-set-dialect.
3818 (bibtex-mode-map): Define menu for each dialect.
3819 (bibtex-entry): Fix docstring.
3820
93376c5b
CY
38212012-01-28 Chong Yidong <cyd@gnu.org>
3822
3823 * eshell/esh-arg.el (eshell-quote-argument): New function.
3824
3825 * eshell/esh-ext.el (eshell-invoke-batch-file):
3826 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3827 first arg to eshell-parse-command (Bug#10523).
3828
4372494f
DA
38292012-01-28 Drew Adams <drew.adams@oracle.com>
3830
3831 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3832 `default-directory' is non-nil.
3833
4d4ec1f8
EZ
38342012-01-28 Eli Zaretskii <eliz@gnu.org>
3835
3836 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3837 line that displays system-configuration-options. (Bug#9924)
3838
7c188927
DA
38392012-01-28 Drew Adams <drew.adams@oracle.com>
3840
3841 * descr-text.el (describe-char): Show information about POS, in
3842 addition to information about the character at POS. Improve and
3843 update the doc string. Change "code point" to "code point in
3844 charset", to avoid confusion with the character's Unicode code
3845 point shown above that. (Bug#10129)
3846
e0da685a
EZ
38472012-01-28 Eli Zaretskii <eliz@gnu.org>
3848
3849 * descr-text.el (describe-char): Show the raw character, not only
3850 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3851 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3852 for the reasons.
3853
70550acf
PH
38542012-01-28 Phil Hagelberg <phil@hagelb.org>
3855
eb864a71
LM
3856 * emacs-lisp/package.el (package-install):
3857 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3858
0ce8e868
CY
38592012-01-28 Chong Yidong <cyd@gnu.org>
3860
cb882333
JB
3861 * emacs-lisp/package.el (package-maybe-load-descriptor):
3862 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3863 (package-maybe-load-descriptor): Use it.
3864 (package-download-transaction): Fully load required packages
3865 inside the loop, so that `require' calls work (Bug#10593).
3866 (package-install): No need to call package-initialize now.
3867
2e7f3bea
CY
38682012-01-28 Chong Yidong <cyd@gnu.org>
3869
6e9bad14
CY
3870 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3871
f823b8ca
CY
3872 * tooltip.el (tooltip-mode): Doc fix.
3873 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3874
2680c309
CY
3875 * frame.el (set-cursor-color): Doc fix (Bug#352).
3876
d7a9e63b
CY
3877 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3878 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3879
2e7f3bea
CY
3880 * cus-edit.el (custom-buffer-create-internal): Fix search button
3881 action (Bug#10542).
2ae01800 3882 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3883
fc4f7a23
EW
38842012-01-27 Eduard Wiebe <usenet@pusto.de>
3885
3886 * dired.el (dired-mark-files-regexp):
3887 Include any subdirectory components. (Bug#10445)
3888
7dd37071
ML
38892012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3890
3891 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3892 Handle [host]:port syntax. (Bug#10533)
3893
a268160b
AH
38942012-01-27 Alex Harsanyi <harsanyi@mac.com>
3895
3896 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3897
e43273ef
GM
38982012-01-26 Glenn Morris <rgm@gnu.org>
3899
3900 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3901 * term.el (term-raw-escape-map): Use Control-X-prefix.
3902 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3903
1edf595d
MR
39042012-01-25 Martin Rudalics <rudalics@gmx.at>
3905
3906 * window.el (window-state-get, window--state-get-1): Don't deal
3907 with fixed-sizeness of windows. Simplify code.
3908
fa8eafef
JC
39092012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3910
6df6ae42
JB
3911 * window.el (window--state-get-1, window--state-put-2):
3912 Don't save and restore the mark.
fa8eafef 3913
0b21c100
CY
39142012-01-25 Chong Yidong <cyd@gnu.org>
3915
3916 * custom.el (custom-variable-p): Doc fix.
3917
5ae1a6c8
GM
39182012-01-25 Glenn Morris <rgm@gnu.org>
3919
40047858
GM
3920 * dired.el (dired-goto-file): Handle some of the more common
3921 characters that `ls -b' escapes. (Bug#10596)
3922
5ddce96c
GM
3923 * progmodes/compile.el (compilation-next-error-function):
3924 Respect compilation-first-column in the "*compilation*" buffer.
3925 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3926
5ae1a6c8
GM
3927 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3928
b559f1a9
GM
39292012-01-24 Glenn Morris <rgm@gnu.org>
3930
3931 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3932
6725d21a
JD
39332012-01-24 Julien Danjou <julien@danjou.info>
3934
3935 * color.el (color-rgb-to-hsl): Fix value computing.
3936 (color-hue-to-rgb): New function.
3937 (color-hsl-to-rgb): New function.
3938 (color-clamp, color-saturate-hsl, color-saturate-name)
3939 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3940 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3941
70df4bbe
GM
39422012-01-24 Glenn Morris <rgm@gnu.org>
3943
3944 * vc/vc-rcs.el (vc-rcs-create-tag):
3945 * vc/vc-sccs.el (vc-sccs-create-tag):
3946 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3947
802a2ae2
ML
39482012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3949
3950 * eshell/esh-util.el (eshell-read-hosts-file):
3951 Skip comment lines. (Bug#10549)
3952
d7128bb1
ML
3953 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3954
d1a5c3b4
JB
39552012-01-23 Juanma Barranquero <lekktu@gmail.com>
3956
2724d9c7
JB
3957 * subr.el (display-delayed-warnings): Doc fix.
3958 (collapse-delayed-warnings): New function to collapse identical
3959 adjacent warnings.
3960 (delayed-warnings-hook): Add it.
d1a5c3b4 3961
a5509865
MA
39622012-01-22 Michael Albinus <michael.albinus@gmx.de>
3963
3964 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3965
3966 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3967 properties, when "login-as" is set.
3968
3969 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3970 (tramp-default-user-alist): Don't add "pscp".
3971 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3972 property "login-as", if set. (Bug#10530)
3973
cc6d5805
MA
39742012-01-21 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3977 "plink1" and "psftp". (Bug#10530)
3978
39792012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3980
3981 * international/mule-cmds.el (prefer-coding-system): Show a
3982 warning message if the default value of file-name-coding-system
3983 was not changed.
3984
f0960428
JC
39852012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3986
cb882333
JB
3987 * windmove.el (windmove-reference-loc):
3988 Fix windmove-reference-loc miscalculation.
f0960428 3989
dd6f2a63
JB
39902012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3991
3992 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3993 default unit.
3994
7b447e9b
GM
39952012-01-21 Glenn Morris <rgm@gnu.org>
3996
117a9ea1
GM
3997 * international/mule.el (auto-coding-alist): Add .tbz.
3998
7b447e9b
GM
3999 * files.el (local-enable-local-variables): Doc fix.
4000 (inhibit-local-variables-regexps): Rename from
4001 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4002 Doc fix. Add some extensions from auto-coding-alist.
4003 (inhibit-local-variables-suffixes):
4004 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4005 (inhibit-local-variables-p):
4006 New function, extracted from set-auto-mode-1.
4007 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4008 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4009 (hack-local-variables): Doc fix. Make the mode-only case
4010 respect enable-local-variables and friends.
4011 Respect inhibit-local-variables-regexps for file-locals, but
4012 not for directory-locals.
4013 (set-visited-file-name):
4014 Take account of inhibit-local-variables-regexps.
4015 Whether it applies may change as the file name is changed.
4016 * jka-cmpr-hook.el (jka-compr-install):
4017 * jka-compr.el (jka-compr-uninstall):
4018 Update for inhibit-first-line-modes-suffixes name change.
4019
dd6e3cdd
MR
40202012-01-20 Martin Rudalics <rudalics@gmx.at>
4021
4022 * help-macro.el (make-help-screen): Temporarily restore original
4023 binding for minor-mode-map-alist (Bug#10454).
4024
0d0deb38
JD
40252012-01-19 Julien Danjou <julien@danjou.info>
4026
4027 * color.el (color-name-to-rgb): Use the white color to find the max
4028 color component value and return correctly computed values.
4029 (color-name-to-rgb): Add missing float conversion for max value.
4030
34a02f46
MR
40312012-01-19 Martin Rudalics <rudalics@gmx.at>
4032
4033 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4034 special state value for window-persistent-parameters.
4035 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4036 (window--state-put-2): Reset all window parameters to nil before
4037 assigning values of persistent parameters.
4038
606c44c4
AM
40392012-01-18 Alan Mackenzie <acm@muc.de>
4040
4041 Eliminate sluggishness and hangs in fontification of "semicolon
4042 deserts".
4043
cb882333
JB
4044 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4045 Change value 10000 -> 3000.
606c44c4
AM
4046 (c-state-safe-place): Reformulate so it doesn't stack up an
4047 infinite number of wrong entries in c-state-nonlit-pos-cache.
4048 (c-determine-limit-get-base, c-determine-limit): New functions to
4049 determine backward search limits disregarding literals.
4050 (c-find-decl-spots): Amend commenting.
4051 (c-cheap-inside-bracelist-p): New function which detects "={".
4052
4053 * progmodes/cc-fonts.el
4054 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4055 backward search.
4056 (c-font-lock-declarations): Fix an occurrence of point being
4057 undefined. Check additionally for point being in a bracelist or
4058 near a macro invocation without a semicolon so as to avoid a
4059 fruitless time consuming search for a declarator. Give a more
4060 precise search limit for declarators using the new
4061 c-determine-limit.
4062
f3860cea
GM
40632012-01-18 Glenn Morris <rgm@gnu.org>
4064
4065 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4066 (set-auto-mode): Doc fixes.
4067
1db03b16
GM
40682012-01-17 Glenn Morris <rgm@gnu.org>
4069
0e6038be
GM
4070 * isearch.el (search-nonincremental-instead): Fix doc typo.
4071
1db03b16
GM
4072 * dired.el (dired-insert-directory): Handle newlines in directory name.
4073 (dired-build-subdir-alist): Unescape newlines in directory name.
4074
4cb0aa75
MA
40752012-01-17 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4078 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4079 (tramp-action-terminal): Use it. (Bug#10530)
4080
1d00653d
SM
40812012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4084
6a6ee00d
MR
40852012-01-16 Martin Rudalics <rudalics@gmx.at>
4086
4087 * window.el (window-state-ignored-parameters): Remove variable.
4088 (window--state-get-1): Rename argument MARKERS to IGNORE.
4089 Handle persistent window parameters. Make copy of clone-of
4090 parameter only if requested. (Bug#10348)
4091 (window--state-put-2): Install a window parameter only if it has
4092 a non-nil value or an existing parameter shall be overwritten.
4093
97912def
MA
40942012-01-15 Michael Albinus <michael.albinus@gmx.de>
4095
4096 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4097
688070a5
EZ
40982012-01-14 Eli Zaretskii <eliz@gnu.org>
4099
4100 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4101 don't pass the (nil) value of `upnode' to string-match.
4102
301afadc
CY
41032012-01-14 Chong Yidong <cyd@gnu.org>
4104
4105 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4106 Fix values recognized by the cursorBlink resource.
301afadc 4107
9e5788aa
PE
41082012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4109
4110 * epg.el (epg--make-temp-file): Avoid permission race condition
4111 when running on old Emacs versions (bug#10403).
4112
3cdb7f5a
GM
41132012-01-14 Glenn Morris <rgm@gnu.org>
4114
4115 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4116
8c82b1b4
AM
41172012-01-13 Alan Mackenzie <acm@muc.de>
4118
4119 Fix filling for when filladapt mode is enabled.
4120
4121 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4122 c-mask-paragraph, pass in `fill-paragraph' rather than
4123 `fill-region-as-paragraph'. (This is a reversion of a previous
4124 change.)
eb864a71
LM
4125 * progmodes/cc-mode.el (c-basic-common-init):
4126 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4127
e517eda4
GM
41282012-01-13 Glenn Morris <rgm@gnu.org>
4129
1498536e
GM
4130 * dired.el (dired-switches-escape-p): New function.
4131 (dired-insert-directory): Use dired-switches-escape-p.
4132 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4133
e517eda4
GM
4134 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4135
328f984d
GM
41362012-01-12 Glenn Morris <rgm@gnu.org>
4137
4138 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4139 changes in adaptive-fill-regexp. (Bug#10276)
4140
2cc769a8
AM
41412012-01-11 Alan Mackenzie <acm@muc.de>
4142
4143 Fix Emacs bug #10463 - put `widen's around the critical spots.
4144
1d00653d 4145 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4146 widen around each invocation of c-state-pp-to-literal. Remove an
4147 unused let variable.
4148
e52c37fa
GM
41492012-01-11 Glenn Morris <rgm@gnu.org>
4150
4151 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4152 Doc fix.
e52c37fa 4153
96f8741e
CY
41542012-01-10 Chong Yidong <cyd@gnu.org>
4155
1d00653d
SM
4156 * net/network-stream.el (network-stream-open-starttls):
4157 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4158 response to the capability command.
4159
b09a806e
GM
41602012-01-10 Glenn Morris <rgm@gnu.org>
4161
4162 * mail/unrmail.el (unrmail): Tweak previous change.
4163
7655cb66
CY
41642012-01-09 Chong Yidong <cyd@gnu.org>
4165
4166 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4167
9d5a8f0b
AM
41682012-01-08 Alan Mackenzie <acm@muc.de>
4169
4170 Optimise font locking in long enum definitions.
4171
4172 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4173 arm to a cond form to handle enums.
4174 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4175 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4176
9a0115ab 41772012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4178
4179 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4180 (Bug#10401)
6bb72cbd 4181
f186bb95
LMI
41822012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4183
29232a68
LMI
4184 * faces.el (set-face-attribute): Clarify the meaning of the nil
4185 frame (bug#10294).
4186
4e5d086d
LMI
4187 * subr.el (with-selected-frame): Mention that the selected frame
4188 is restored (bug#9980).
4189
8e66aebe
LMI
4190 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4191 (bug#9759).
4192
cd394be1 4193 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4194 (password-read): Don't autoload unused function.
4195
adf4e762
JB
41962012-01-07 Juanma Barranquero <lekktu@gmail.com>
4197
4198 * progmodes/which-func.el (which-func-mode): Turn into a
4199 non-interactive function and mark as obsolete (bug#10428).
4200
89bd9ccd
CY
42012012-01-06 Chong Yidong <cyd@gnu.org>
4202
4203 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4204 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4205 functions, along with 1 and -1.
4206
4afee9d5
EZ
42072012-01-06 Eli Zaretskii <eliz@gnu.org>
4208
4209 * time.el (display-time-load-average)
4210 (display-time-default-load-average): Doc fixes. See the thread
4211 starting at
4212 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4213 for the details.
4214
536aea70
GM
42152012-01-06 Glenn Morris <rgm@gnu.org>
4216
665ae865
GM
4217 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4218 has no messages. (Bug#10377)
4219
c869783d
GM
4220 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4221 than Info-edit. (Bug#10385)
4222
2bb4227e
GM
4223 * time.el (display-time-load-average, display-time-next-load-average):
4224 Doc fixes.
4225
7d5944b9
GM
4226 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4227 local setting of buffer-read-only to the input buffer. (Bug#10419)
4228
536aea70
GM
4229 * calendar/calendar.el (calendar-mode):
4230 Locally set scroll-margin to 0. (Bug#10379)
4231
7dccca16
UM
42322012-01-06 Ulrich Mueller <ulm@gentoo.org>
4233
4234 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4235
afbb7930
GM
42362012-01-05 Glenn Morris <rgm@gnu.org>
4237
4238 * eshell/em-unix.el (diff-no-select): Autoload it.
4239 (eshell/diff): Use diff-no-select. (Bug#10420)
4240
04482335
CY
42412012-01-05 Chong Yidong <cyd@gnu.org>
4242
7baca3bc
CY
4243 * shell.el (shell-dynamic-complete-functions): Revert last change.
4244 (shell-command-completion-function): New function.
4245 (shell-completion-vars): Use it to implement
4246 shell-completion-execonly (Bug#10417).
4247
04482335
CY
4248 * custom.el (enable-theme): Don't set custom-safe-themes.
4249
1d00653d
SM
4250 * cus-theme.el (custom-theme-merge-theme):
4251 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4252
bb5aa5d6
MM
42532012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4254
4255 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4256 first prompt in `sql-interacive-mode'.
4257 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4258 keywords.
6df6ae42 4259 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4260 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4261 context of original buffer. Invoke `sql-login-hook'.
4262
a7183d7c
EZ
42632012-01-04 Eli Zaretskii <eliz@gnu.org>
4264
4265 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4266 letters in cite-prefix.
4267
a1eacd1e
LMI
42682012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4271
787cdb34
CY
42722012-01-03 Chong Yidong <cyd@gnu.org>
4273
1d00653d
SM
4274 * shell.el (shell-dynamic-complete-functions):
4275 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4276 comint-filename-completion first (Bug#10417).
4277
30710442
RS
42782012-01-02 Richard Stallman <rms@gnu.org>
4279
4280 * battery.el (battery-status-function):
4281 Detect when to use battery-yeeloong-sysfs.
4282 (battery-echo-area-format): Add string for Yeeloong.
4283 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4284 (battery-yeeloong-sysfs): New function.
4285
f75bfc33
CY
42862012-01-02 Chong Yidong <cyd@gnu.org>
4287
4288 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4289 (dirtrack): Merge code for handling relative filenames in prompt
4290 from shell-dir-cookie-watcher.
4291 (dirtrack-debug-message): New arg to avoid excess format calls.
4292
4293 * shell.el (shell-dir-cookie-re): Variable deleted.
4294 (shell-dir-cookie-watcher): Function deleted.
4295 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4296 with dirtrack-mode.
4297
651e947e
EZ
42982012-01-01 Eli Zaretskii <eliz@gnu.org>
4299
1d00653d
SM
4300 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4301 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4302 libgnutls-26.dll.
4303
94d4c7dc
AS
43042011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4307
8d43f3cd
EZ
43082011-12-31 Eli Zaretskii <eliz@gnu.org>
4309
4310 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4311 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4312
98c8795a
MA
43132011-12-29 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4316 also for alternative shells.
4317 (tramp-open-connection-setup-interactive-shell): Check, whether
4318 the shell is a busybox.
4319 (tramp-send-command): Don't suppress multiple prompts for
4320 busyboxes, it hurts.
4321
51281b32
CY
43222011-12-28 Chong Yidong <cyd@gnu.org>
4323
4324 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4325 (gdb-get-source-file): Move mode line update to
4326 gdb-get-source-file (Bug#10087).
4327
2170cb53
CY
43282011-12-25 Chong Yidong <cyd@gnu.org>
4329
4330 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4331 gud-gdb-marker-filter without taking it as an argument.
4332 (gud-gdb-run-command-fetch-lines): Caller changed.
4333 (gud-gdb-completion-function): New variable.
4334 (gud-gdb-completion-at-point): Use it.
4335 (gud-gdb-completions-1): Split from gud-gdb-completions.
4336
4337 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4338 function as separate arguments.
4339 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4340 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4341 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4342 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4343 (gdb-stopped, def-gdb-auto-update-trigger)
4344 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4345 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4346 Callers changed.
2170cb53
CY
4347 (gud-gdbmi-completions): New function.
4348 (gdb): Use it for generating the completion table.
4349
be8b11bb
AM
43502011-12-24 Alan Mackenzie <acm@muc.de>
4351
4352 Introduce a mechanism to widen the region used in context font
1d00653d 4353 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4354
1d00653d
SM
4355 * progmodes/cc-langs.el (c-before-font-lock-functions):
4356 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4357 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4358 functions to be run just before context (etc.) font locking.
4359
4360 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4361 New, functionality extracted from
be8b11bb 4362 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4363 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4364 (c-after-change): Set c-in-after-change-fontification.
4365 (c-set-fl-decl-start): Rejig its interface, so it can be called
4366 from both after-change and context fontifying.
b81d40f0
JB
4367 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4368 New functions.
4369 (c-standard-font-lock-fontify-region-function): New variable.
4370 (c-font-lock-fontify-region): New function.
be8b11bb 4371
341cf6ac
JL
43722011-12-24 Juri Linkov <juri@jurta.org>
4373
4374 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4375 (Bug#10348)
4376
bffcee0a
MA
43772011-12-23 Michael Albinus <michael.albinus@gmx.de>
4378
4379 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4380 existence of source file. (Bug#10325)
4381
cb5e207c
AM
43822011-12-23 Alan Mackenzie <acm@muc.de>
4383
4384 Fix unstable fontification inside templates.
4385
b81d40f0
JB
4386 * progmodes/cc-langs.el (c-before-font-lock-functions):
4387 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4388 additionally has c-set-fl-decl-start. The other languages (apart
4389 from AWK) have that as a single entry.
4390
b81d40f0
JB
4391 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4392 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4393 c-set-fl-decl-start.
4394
b81d40f0
JB
4395 * progmodes/cc-mode.el (c-common-init, c-after-change):
4396 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4397 (c-set-fl-decl-start): New function, extracted from
4398 c-font-lock-enclosing-decls and enhanced.
4399
60ff536c
JB
44002011-12-23 Juanma Barranquero <lekktu@gmail.com>
4401
4402 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4403
1c4757d6
JL
44042011-12-22 Juri Linkov <juri@jurta.org>
4405
4406 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4407
d031f2c7
CY
44082011-12-22 Chong Yidong <cyd@gnu.org>
4409
4410 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4411
bace743a
DA
44122011-12-21 Drew Adams <drew.adams@oracle.com>
4413
4414 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4415
728a1f2b
JC
44162011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4417
4418 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4419
0d373f73
TZ
44202011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4421
fec0aaa4
TZ
4422 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4423 highlighting and support. Fix up comments for capitalization.
4424 (cfengine-mode-debug): New var.
4425 (cfengine3-mode): Change the modeline indicator to "CFE3".
4426 (cfengine3-font-lock-keywords): Improve defun highlighting.
4427 (cfengine2-actions): Rename from `cfengine-actions'.
4428 (cfengine2-font-lock-keywords): Rename from
4429 `cfengine-font-lock-keywords'.
4430 (cfengine2-imenu-expression): Rename from
4431 `cfengine-imenu-expression'.
4432 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4433 (cfengine2-beginning-of-defun): Rename from
4434 `cfengine-beginning-of-defun'.
4435 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4436 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4437 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4438 modeline indicator to "CFE2".
4439 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4440 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4441
bc86f573
CY
44422011-12-21 Chong Yidong <cyd@gnu.org>
4443
4444 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4445 filename argument.
4446
d45ba96b
MR
44472011-12-20 Martin Rudalics <rudalics@gmx.at>
4448
4449 * window.el (window-normalize-buffer-to-display): Remove.
4450 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4451
a6198c90
CY
44522011-12-19 Chong Yidong <cyd@gnu.org>
4453
4454 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4455 Don't signal an error in a predicate function; return non-nil.
4456 (vc-dir-mark-file): Move the error here.
4457 (vc-dir-mark-unmark): If acting on the region, keep going if one
4458 of the entries cannot be marked/unmarked.
4459 (vc-dir-mark-all-files): If current entry is a directory, mark
4460 only child files, as documented.
4461
34c5fb55
VB
44622011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4463
4464 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4465 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4466 addition.
4467
c803b2b7
JD
44682011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4469
4470 * term/ns-win.el (ns-get-selection-internal)
4471 (ns-store-selection-internal): Declare.
1154d12e
JB
4472 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4473 Declare as obsolete.
4474 (ns-get-pasteboard, ns-paste-secondary):
4475 Use ns-get-selection-internal.
4476 (ns-set-pasteboard, ns-copy-including-secondary):
4477 Use ns-store-selection-internal.
c803b2b7 4478
9cff91f8 44792011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4480
4481 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4482 (vc-deduce-fileset): Doc fix.
99a289d9 4483
f16c898a
AS
44842011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4485
4486 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4487
763237c4
SS
44882011-12-13 Sam Steingold <sds@gnu.org>
4489
4490 * man.el (Man-getpage-in-background): When running under a
4491 window-system, ignore $MANWIDTH and $COLUMNS.
4492
5fc1c122
KH
44932011-12-15 Kenichi Handa <handa@m17n.org>
4494
4495 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4496 (setup-ethiopic-environment-internal): Comment out key-binding for
4497 ethio-toggle-punctuation.
4498
13d49cbb
AM
44992011-12-13 Alan Mackenzie <acm@muc.de>
4500
898169a2
AM
4501 Add the switch statement to AWK Mode.
4502
7a71b18d 4503 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4504 "default" to the keywords regexp.
4505
7a71b18d 4506 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4507 expression as the rest.
1d00653d
SM
4508 (c-nonlabel-token-key): Allow string literals for AWK.
4509 Refactor for the other modes.
898169a2 4510
13d49cbb 4511 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4512 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4513 routines. Limit backward searching in c-font-lock-enclosing.decl.
4514
4515 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4516 pp-state and literal type in addition to the limits.
1d00653d 4517 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4518 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4519 (c-slow-in-literal, c-fast-in-literal): Remove.
4520 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4521
4522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4523 being in a literal. Add a limit for backward searching.
4524
4525 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4526 c-slow-in-literal.
4527
15e0efc7
SM
45282011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4531
454592a6
MR
45322011-12-13 Martin Rudalics <rudalics@gmx.at>
4533
4534 * window.el (delete-other-windows): Use correct frame in call to
4535 window-with-parameter.
4536
87393f26
DP
45372011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4538
4539 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4540 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4541 (makefile-gmake-statements, makefile-makepp-statements):
4542 Use it and add new makepp keywords.
4543 (makefile-makepp-font-lock-keywords): Add new patterns.
4544 (makefile-match-function-end): Match new [...] and [[...]].
4545
11636b22
JB
45462011-12-11 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * ses.el (ses-call-printer-return, ses-cell-property-get)
4549 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4550 (ses-create-cell-variable, ses-reset-header-string)
4551 (ses-cell-set-formula, ses-repair-cell-reference-all)
4552 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4553 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4554 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4555 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4556 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4557 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4558 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4559 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4560 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4561 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4562 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4563 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4564
cf018193
VB
45652011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4566
4567 * ses.el: The overall change is to add cell renaming, that is
4568 setting fancy names for cell symbols other than name matching
4569 "\\`[A-Z]+[0-9]+\\'" regexp .
4570 (ses-create-cell-variable): New defun.
4571 (ses-relocate-formula): Relocate formulas only for cells the
4572 symbols of which are not renamed, i.e. symbols whose names do not
4573 match regexp "\\`[A-Z]+[0-9]+\\'".
4574 (ses-relocate-all): Relocate values only for cells the symbols of
4575 which are not renamed.
4576 (ses-load): Create cells variables as the (ses-cell ...) are read,
4577 in order to check row col consistency with cell symbol name only
4578 for cells that are not renamed.
4579 (ses-replace-name-in-formula): New defun.
4580 (ses-rename-cell): New defun.
4581
ee957461
CY
45822011-12-11 Chong Yidong <cyd@gnu.org>
4583
4584 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4585 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4586
9a9e9ef0
MR
45872011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4588
4589 * window.el (other-window): Fix docstring.
4590
92a8eba5
EZ
45912011-12-10 Eli Zaretskii <eliz@gnu.org>
4592
4593 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4594 `from' or `to' address before taking its substring.
4595 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4596 encoded name is chopped in the middle of the encoded string, and
4597 thus displayed encoded.
4598
e152e577
JB
45992011-12-10 Juanma Barranquero <lekktu@gmail.com>
4600
4601 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4602
e5d84bfe
EZ
46032011-12-10 Eli Zaretskii <eliz@gnu.org>
4604
4605 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4606 to use texinfo-update-node and commands that call it if the
4607 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4608 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4609 (texinfo-all-menus-update, texinfo-master-menu)
4610 (texinfo-update-node, texinfo-every-node-update)
4611 (texinfo-multiple-files-update): Doc fix. Warn against updating
4612 all the @node lines.
4613 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4614 argument is numeric. Explain better in the doc string what the
4615 function really does.
4616 (texinfo-insert-master-menu-list): Improve the error message
4617 displayed if there's no menu in the Top node.
4618 (Bug#2975) See also this thread:
e5d84bfe
EZ
4619 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4620
1d84e9bb
MG
46212011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4622
4623 * speedbar.el (speedbar-supported-extension-expressions):
4624 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4625
382c953b
JB
46262011-12-09 Juanma Barranquero <lekktu@gmail.com>
4627
4628 * printing.el (pr-mode-alist):
4629 * simple.el (filter-buffer-substring-functions)
4630 (completion-list-insert-choice-function):
4631 * window.el (window-with-parameter, window-atom-root)
4632 (window-sides-slots, window-size-fixed, window-min-delta)
4633 (window-max-delta, window--resize-mini-window)
4634 (window--resize-child-windows-normal, window-tree)
4635 (delete-other-windows, quit-window, split-window)
4636 (display-buffer-record-window, special-display-buffer-names)
4637 (special-display-regexps, special-display-popup-frame)
4638 (same-window-p, split-window-sensibly)
4639 (display-buffer-overriding-action, display-buffer-alist)
4640 (display-buffer-base-action, display-buffer, switch-to-buffer)
4641 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4642 (fit-window-to-buffer, recenter-positions)
4643 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4644 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4645 and remove unneeded backslashes in docstrings.
4646
39c9faef
SM
46472011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4648
98449af8
SM
4649 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4650
39c9faef
SM
4651 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4652 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4653 end in ".mk".
4654 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4655 when reading the makefile (bug#10116).
4656
86ed9fdc
SM
46572011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4660 (bug#10116).
4661
5580f89d
GM
46622011-12-06 Glenn Morris <rgm@gnu.org>
4663
4664 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4665
28d3917c
CY
46662011-12-06 Chong Yidong <cyd@gnu.org>
4667
4668 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4669
a98edce9
JB
46702011-12-06 Juanma Barranquero <lekktu@gmail.com>
4671
4672 * textmodes/table.el (table-shorten-cell): Fix typo.
4673
e65adfac
CG
46742011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4675
4676 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4677
71cc0b74
EZ
46782011-12-05 Eli Zaretskii <eliz@gnu.org>
4679
4680 * descr-text.el (describe-char): Fix display of strong
4681 right-to-left characters and directional embeddings and overrides.
4682
4683 * simple.el (what-cursor-position): Fix display of codepoints of
4684 strong right-to-left characters.
4685
315bc30d
CY
46862011-12-05 Chong Yidong <cyd@gnu.org>
4687
4688 * faces.el (read-color): Doc fix.
4689
58a70b94
GM
46902011-12-05 Glenn Morris <rgm@gnu.org>
4691
4692 * align.el (align--set-marker): Add doc-string.
4693 Don't try to move something that is not a marker. (Bug#10216)
4694
5158face
GM
46952011-12-04 Glenn Morris <rgm@gnu.org>
4696
4697 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4698 overly zealous deletion of trailing whitespace.
4699
520fca41
JB
47002011-12-04 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * server.el (server-delete-client): On Windows, do not try to delete
4703 the only terminal.
4704 (server-process-filter): On Windows, treat requests for a tty frame as
4705 if they were for a GUI frame if the running server is in GUI mode.
4706
5e605a2e
GM
47072011-12-03 Glenn Morris <rgm@gnu.org>
4708
4709 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4710
5c3fe83f
SM
47112011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4712
6f5e57e7
SM
4713 * electric.el: Streamline electric-indent's hook.
4714 (electric-indent-chars): Revert to simple list.
4715 (electric-indent-functions): New var.
4716 (electric-indent-post-self-insert-function): Use it.
4717
5c3fe83f
SM
4718 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4719 there's no inferior buffer (bug#10196).
4720 (prolog-consult-compile): Don't use toggle-read-only.
4721
6bdac736
MA
47222011-12-02 Michael Albinus <michael.albinus@gmx.de>
4723
4724 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4725 interrupt. (Bug#10187)
4726
6131ba7f
SM
47272011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4728
99c79fee
SM
4729 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4730 (bug#9160).
4731
6131ba7f
SM
4732 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4733 (bug#10191).
4734
cb0a02ea
JL
47352011-12-02 Juri Linkov <juri@jurta.org>
4736
4737 * info.el (Info-search): Display "end of manual" when Isearch
4738 reaches the end of single-file Info manual. (Bug#9918)
4739
66e0570c
EZ
47402011-12-02 Eli Zaretskii <eliz@gnu.org>
4741
4742 * isearch.el (isearch-message-prefix): Run the input method part
4743 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4744
02b16839
JL
47452011-12-02 Juri Linkov <juri@jurta.org>
4746
4747 * isearch.el (isearch-occur): Use `word-search-regexp' for
4748 `isearch-word'.
4749 (isearch-search-and-update): Add condition for `isearch-word' and
4750 call `word-search-regexp'. (Bug#10145)
4751
0b950688
GM
47522011-12-01 Glenn Morris <rgm@gnu.org>
4753
4754 * eshell/em-hist.el (eshell-hist-initialize):
4755 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4756 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4757
9505c3c7
SM
47582011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4761
1bbe96b2 47622011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4763
a1beca85
SM
4764 * progmodes/verilog-mode.el (verilog-pretty-expr):
4765 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4766 verilog, such as += *= and the like.
4767 (verilog-assignment-operator-re): Regular expression to find the
4768 assigment operator in a verilog assignment.
4769 (verilog-assignment-operation-re): Regular expression to find an
4770 assignment statement for pretty-expr.
4771 (verilog-in-attribute-p): Query returns true if point is in an
4772 attribute context; used to skip these for expression line up from
4773 pretty-expr.
4774 (verilog-in-parameter-p): Query returns true if point is in an
4775 parameter definition context; used to skip these for expression
4776 line up from pretty-expr.
4777 (verilog-in-parenthesis-p): Query returns true if point is in a
4778 parenthetical expression, specifically ( ) but not [ ] or { };
4779 used by pretty-expr.
4780 (verilog-just-one-space): If there is no space, don't add one.
4781 (verilog-get-lineup-indent-2): Specifically skip just attribute
4782 contexts for expression lineup, rather than skipping all
4783 parenthetical expressions.
4784 (verilog-calculate-indent): Fix comment, and fix indent.
4785 (verilog-do-indent): Indent declarations in lists (suggested by
4786 Joachim Lechner).
4787 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4788 skeleton items.
4789 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4790 by Alain Mellan).
4791
1bbe96b2 47922011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4793
4794 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4795 parameters with embedded comments. Reported by Ray Stevens.
4796 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4797 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4798 Reported by Tim Holt.
4799 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4800 instantiated by upper module causing wrong expansion until AUTOed a
4801 second time. Reported by K C Buckenmaier.
4802 (verilog-diff-auto): Fix showing .* as a difference when
4803 `verilog-auto-star-save' off. Reported by Dan Dever.
4804 (verilog-auto-reset, verilog-read-always-signals)
4805 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4806 temporary signals in reset list if
4807 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4808 style to each signal's assignment type, bug381.
4809 Reported by Thomas Esposito.
6288f0ca
WS
4810 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4811 (verilog-uvm-statement-re): Support UVM indentation and
4812 highlighting, with old OVM keywords only.
a1beca85 4813 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4814 Support AUTOTIEOFF creating non-wire data types.
4815 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4816 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4817 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4818 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4819 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4820 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4821 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4822 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4823 non-numeric vector width. Reported by Alex Reed.
4824 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4825 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4826 (verilog-auto-delete-trailing-whitespace):
4827 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4828 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4829 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4830 Fix verilog-scan-cache corruption when running user AUTO expansion
4831 hooks that call indentation routines.
4832 (verilog-simplify-range-expression): Fix typo ignoring lower case
4833 identifiers.
4834 (verilog-delete-auto): Fix delete-autos to also remove user created
4835 automatics, as long as they start with AUTO.
4836 (verilog-batch-diff-auto, verilog-diff-auto)
4837 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4838 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4839 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4840 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4841 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4842 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4843 is disabled and its cache will get corrupt, causing AUTOS not to
4844 expand. Instead use only -quick functions.
4845 (verilog-scan-region): Fix scanning over escaped quotes.
4846 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4847 (verilog-re-search-backward-quick)
4848 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4849 related functions now ignore strings, to fix misparsing of strings
4850 with magic comments embedded in them.
a1beca85
SM
4851 (verilog-read-auto-template):
4852 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4853 Reported by Brad Dobbie.
4854 (verilog-read-auto-template):
4855 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4856 Reported by Brad Dobbie.
6288f0ca
WS
4857 (verilog-auto-inst, verilog-auto-inst-param)
4858 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4859 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4860 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4861 debugging templates without merge conflicts, bug357.
4862 Reported by Brad Dobbie.
4863 (verilog-read-auto-template):
4864 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4865 Reported by Brad Dobbie.
4866 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4867 abbrevs so user won't be asked to save.
4868 (verilog-read-auto-lisp-present): Fix to start at beginning of
4869 buffer in case called outside of verilog-auto.
4870 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4871 to "X-2". Reported by Matthew Myers.
4872 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4873 all inputs from module templates. Reported by Leith Johnson.
4874 (verilog-module-inside-filename-p): Fix locating programs as with
4875 modules.
4876 (verilog-auto-inst-port): Fix vl-width expressions when using
4877 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4878 (verilog-decls-get-regs, verilog-decls-get-signals,
4879 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4880 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4881 verilog-read-decls): Combine reg and wire structures into one var
4882 structure to represent SystemVerilog concepts.
4883 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4884 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4885 (verilog-auto-wire-type, verilog-insert-definition):
4886 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4887 SystemVerilog "logic" keyword instead of "wire"/"reg".
4888 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4889 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4890 ifdef or generate if so there's not a driver conflict).
4891 Reported by Matthew Myers.
4892 (verilog-auto-declare-nettype, verilog-insert-definition):
4893 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4894 `default_nettype none. Reported by Julian Gorfajn.
4895 (verilog-read-always-signals-recurse, verilog-read-decls)
4896 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4897 malformed end statement, bug325. Reported by Joshua Wise and
4898 Andrew Drake.
4899 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4900 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4901 when expanding .* in interfaces, bug320.
4902 Reported by Pierre-David Pfister.
6288f0ca 4903 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4904 name and open parenthesis, bug317.
4905 Reported by Pierre-David Pfister.
6288f0ca
WS
4906 (verilog-simplify-range-expression): Fix simplification of
4907 multiplications inside AUTOWIRE connections, bug303.
4908 (verilog-auto-inst-port): Support parameter expansion in
4909 multidimensional arrays.
4910 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4911 after "assert property". Reported by Julian Gorfajn.
4912 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4913 with multiplication, bug303.
4914 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4915 Reported by Jan Frode Lonnum.
4916
1bbe96b2
GM
49172011-11-30 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4920 (hfy-shell-file-name, hfy-shell):
4921 * international/fontset.el (x-decompose-font-name): Fix typos.
4922
49232011-11-29 Ken Brown <kbrown@cornell.edu>
4924
4925 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4926 (gdb-version): Remove defvar.
4927 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4928 (gdb-gud-context-command, gdb-non-stop-handler)
4929 (gdb-current-context-command, gdb-stopped): Use it.
4930 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4931 (gdb-non-stop-handler): Don't enable pretty-printing here.
4932 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4933 non-stop mode. Use the following.
4934 (gdb-check-target-async): New defun.
4935 (gud-watch, gdb-stopped): Fix whitespace.
4936 (gdb-get-source-file): Don't try to display the source file if
4937 `gdb-main-file' is nil.
4938
49392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * align.el: Try to generate fewer markers (bug#10047).
4942 (align--set-marker): New macro.
4943 (align-region): Use it.
4944
c935221f
SM
49452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4948
e70b5064
CY
49492011-11-29 Chong Yidong <cyd@gnu.org>
4950
4951 * indent.el (indent-for-tab-command, indent-according-to-mode):
4952 Doc fix.
4953 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4954
f3af92b7
MA
49552011-11-29 Michael Albinus <michael.albinus@gmx.de>
4956
4957 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4958 aware of remote file names. (Bug#10124)
4959
ed472be9
CY
49602011-11-29 Chong Yidong <cyd@gnu.org>
4961
4962 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4963
24510c22
SM
49642011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * files.el (find-file): Don't use force-same-window (bug#10144).
4967 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4968 use pop-to-buffer if the selected window can't be used.
4969 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4970
c60c3703
EZ
49712011-11-28 Eli Zaretskii <eliz@gnu.org>
4972
4973 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4974 special-mode-map.
4975
e95def75
CY
49762011-11-28 Chong Yidong <cyd@gnu.org>
4977
4978 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4979
c3f1c606
NR
49802011-11-27 Nick Roberts <nickrob@snap.net.nz>
4981
4982 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4983 gdb-get-source-file-list on gdb-create-source-file-list.
4984
00db469c
EZ
49852011-11-26 Eli Zaretskii <eliz@gnu.org>
4986
4987 * whitespace.el (whitespace-newline): Use a different foreground
4988 color for 16-color light-background displays.
4989
4ad3bc2a
CY
49902011-11-24 Chong Yidong <cyd@gnu.org>
4991
4992 * window.el (display-buffer--special-action): Doc fix.
4993
e9fce1ac
JB
49942011-11-25 Juanma Barranquero <lekktu@gmail.com>
4995
4996 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4997 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4998 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4999 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5000 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5001 (avl-tree-stack-first):
5002 * emacs-lisp/cconv.el (cconv--analyse-use):
5003 * net/gnutls.el (gnutls-negotiate): Fix typos.
5004
cb825e5d
GM
50052011-11-24 Glenn Morris <rgm@gnu.org>
5006
3adbe224
GM
5007 * lpr.el (lpr-windows-system, lpr-lp-system):
5008 * mail/binhex.el (binhex-begin-line):
5009 * progmodes/grep.el (grep-history, grep-find-history):
5010 * textmodes/flyspell.el:
5011 * vc/pcvs-defs.el (cvs-global-menu):
5012 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5013 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5014 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5015
321decc8
GM
5016 * net/tls.el: Fix case of "GnuTLS".
5017
420b63ad
GM
5018 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5019
cb825e5d
GM
5020 * version.el (emacs-build-system): Give it a doc-string.
5021
a0649f08
JL
50222011-11-24 Juri Linkov <juri@jurta.org>
5023
5024 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5025
c0bc0fd4
GM
50262011-11-24 Glenn Morris <rgm@gnu.org>
5027
5028 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5029 if called on a non-mime message just toggle the headers. (Bug#8006)
5030
20db1522
JB
50312011-11-24 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5034 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5035 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5036 (allout-rebullet-heading, allout-open-sibtopic)
5037 (allout-toggle-current-subtree-encryption)
5038 (allout-toggle-subtree-encryption, allout-encrypt-string)
5039 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5040 (allout-distinctive-bullets-string, allout-auto-activation):
5041 * window.el (window-normalize-buffer-to-display):
5042 * progmodes/verilog-mode.el (verilog-batch-indent):
5043 * textmodes/bibtex.el (bibtex-field-braces-opt)
5044 (bibtex-field-strings-opt):
5045 * vc/cvs-status.el (cvs-tree-merge):
5046 Fix typos.
5047
7262a87c
MA
50482011-11-23 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5051 `non-essential' to t, in order to avoid remote connections.
5052
283430a1
EZ
50532011-11-23 Eli Zaretskii <eliz@gnu.org>
5054
a1beca85
SM
5055 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5056 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5057 case-insensitively.
5058
d2992a38
ML
50592011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5060
5061 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5062
50419064
GM
50632011-11-23 Glenn Morris <rgm@gnu.org>
5064
da94eca1
GM
5065 * paths.el (rmail-file-name): Reformat the doc-string so that it
5066 is picked up.
5067
9aac4de2
GM
5068 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5069 (rmail-auto-file): Ignore case in the "special" field names,
5070 as mail-fetch-field does for all others.
5071
8038d2d2
GM
5072 * mail/rmail.el (rmail-forward):
5073 * mail/rmailkwd.el (rmail-set-label):
5074 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5075 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5076
f3fe222a
GM
5077 * mail/rmail.el (rmail-current-message): Doc fix.
5078
50419064
GM
5079 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5080
28109f49
SM
50812011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5084
394c65f1
GM
50852011-11-22 Glenn Morris <rgm@gnu.org>
5086
5087 * mail/rmailmm.el (test-rmail-mime-handler)
5088 (test-rmail-mime-bulk-handler)
5089 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5090
f2a0aa3a
JL
50912011-11-21 Juri Linkov <juri@jurta.org>
5092
1154d12e
JB
5093 * calc/calc.el (calc-read-key-sequence):
5094 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5095
9c34a344
LMI
50962011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5097
5098 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5099 Tell the caller that the next line needs recomputation, even
5100 though it doesn't start a sexp (bug#10094).
5101
f04a3be9
SM
51022011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5105
7978747f
SM
51062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5107
f04a3be9
SM
5108 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5109 Use force-same-window.
7978747f 5110
fe7a3057
JB
51112011-11-20 Juanma Barranquero <lekktu@gmail.com>
5112
5113 * descr-text.el (describe-char-unicode-data):
5114 * json.el (json-string-escape):
5115 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5116 (Footnote-unicode, Footnote-style-p):
5117 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5118
24901d61
CY
51192011-11-20 Chong Yidong <cyd@gnu.org>
5120
5121 * window.el (replace-buffer-in-windows): Restore interactive spec.
5122
bac7ff22
SM
51232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5124
24f3d7b9
SM
5125 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5126
bac7ff22
SM
5127 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5128 (byte-compile-global-not-obsolete-vars): New var.
5129 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5130 Use it.
5131 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5132
cd1181db
JB
51332011-11-20 Juanma Barranquero <lekktu@gmail.com>
5134
5135 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5136 * progmodes/pascal.el (electric-pascal-equal):
5137 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5138 * xml.el (xml-substitute-special): Fix typos.
5139
7fb18e9e
GM
51402011-11-20 Glenn Morris <rgm@gnu.org>
5141
5142 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5143 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5144 Doc fixes.
5145 (rmail-decode-mime-charset): Mark as obsolete.
5146
5147 * mail/rmailsum.el (rmail-message-regexp-p-1):
5148 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5149 Before using mime functions, check they are set. (Bug#10077)
5150
d5a6b3ba
JL
51512011-11-19 Juri Linkov <juri@jurta.org>
5152
5153 * info.el (Info-finder-find-node): Use `package--builtins' instead
5154 of `package-alist'. Use node names formed by the pattern "Keyword "
5155 and the keyword name.
5156
e981b61f
AS
51572011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5158
1d00653d 5159 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5160
3ffbc301
JL
51612011-11-19 Juri Linkov <juri@jurta.org>
5162
5163 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5164 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5165 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5166 `old-history', `old-history-forward'. Add let-binding
5167 `window-selected'. Remove calls to `kill-buffer',
5168 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5169 before calling `Info-find-node', so `Info-find-node-2' will reread
5170 the Info file. Restore window positions only when `window-selected'
5171 is non-nil.
5172
30c62133
JL
51732011-11-19 Juri Linkov <juri@jurta.org>
5174
5175 * isearch.el (isearch-lazy-highlight-new-loop):
5176 Remove condition `(not isearch-error)'. (Bug#9918)
5177
5178 * misearch.el (multi-isearch-search-fun): Add condition
5179 `(not bound)' to ignore lazy-highlighting search.
5180 Add the search-failed message "end of multi" when the end of
5181 multi-sequence is reached. Uncapitalize the search-failed
5182 message "Repeat for next buffer".
5183
5184 * info.el (Info-search): Add the search-failed message
5185 "end of the manual" when the end of the manual is reached
5186 in Isearch mode.
5187
645ca9cf
JL
51882011-11-19 Juri Linkov <juri@jurta.org>
5189
5190 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5191 Use non-destructive `remove' instead of `delete' because
5192 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5193 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5194
df754f66
JL
51952011-11-19 Juri Linkov <juri@jurta.org>
5196
5197 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5198 to nil instead of binding `search-ring' and `regexp-search-ring'.
5199 (Bug#9185)
5200
0e23d96a
EZ
52012011-11-19 Eli Zaretskii <eliz@gnu.org>
5202
5203 * simple.el (line-move): Force movement by logical lines for any
5204 hscrolled window, not only when auto-hscroll-mode is on.
5205 (line-move-visual): Update doc string to that effect. (Bug#10076)
5206
8a6ccb66
AS
52072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5208
5209 * language/european.el (macintosh): Define as alias for mac-roman.
5210
49ae5b39
EZ
52112011-11-19 Eli Zaretskii <eliz@gnu.org>
5212
5213 * mail/rmailmm.el (rmail-mime-display-header)
5214 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5215 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5216 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5217 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5218 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5219 of a raw aref.
5220 (rmail-mime-entity-segment): To get past the tagline, move forward
5221 2 more lines, to account for the 2 empty lines that precede and
5222 follow the line with the buttons.
5223 (rmail-mime-update-tagline): Move one more line, to get past the
5224 empty line that follows the buttons in the tagline. (Bug#9520)
5225
c56cad4a
MR
52262011-11-19 Martin Rudalics <rudalics@gmx.at>
5227
5228 * window.el (window-max-delta-1, window-min-delta-1)
5229 (window-min-size-1, window-state-get-1, window-state-put-1)
5230 (window-state-put-2): Use "window--" prefix.
5231
cbe71af3
SM
52322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5233
2ad52c60
SM
5234 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5235 (smie-warning-count): New var.
5236 (smie-set-prec2tab): Use it.
5237 (smie-bnf->prec2): Improve warnings. Add docstring.
5238 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5239 (smie-bnf--set-class): New function.
5240 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5241 corner case.
5242
6944dbc1
SM
5243 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5244 (compilation-error-properties, compilation-move-to-column):
5245 Handle compilation-first-column while in the target buffer.
5246
c400c4d7
SM
5247 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5248 Don't hardcode point-min==1.
5249
6dbe3e96
SM
5250 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5251 (eshell-rewrite-for-command): Remove workaround.
5252 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5253 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5254 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5255
cbe71af3
SM
5256 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5257
a8e1496d
GM
52582011-11-17 Glenn Morris <rgm@gnu.org>
5259
5260 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5261 Ignore buffer-local generated-autoload-file if it is the same
5262 as the global value. (Bug#10049)
5263
df85d315
JB
52642011-11-17 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5267 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5268 (reftex-toc-previous-heading, reftex-toc-max-level)
5269 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5270 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5271 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5272 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5273 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5274 (reftex-toc-rename-label, reftex-toc-visit-location)
5275 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5276 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5277 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5278 leaving "*toc*" only for references to the buffer.
5279
a0c2d0ae
MR
52802011-11-17 Martin Rudalics <rudalics@gmx.at>
5281
5282 * window.el (window-resize, delete-window, split-window):
5283 Replace window-splits by window-combination-resize.
1d00653d 5284 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5285
35c0bac8
GM
52862011-11-17 Glenn Morris <rgm@gnu.org>
5287
5288 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5289 Make bash entry derive from sh entry, not shell entry.
5290
d0c8fc8a
MA
52912011-11-16 Michael Albinus <michael.albinus@gmx.de>
5292
d0c8fc8a
MA
5293 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5294 properties of linked files. (Bug#9879)
5295
7262a87c
MA
5296 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5297 local file name.
5298
7877f373
JB
52992011-11-16 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * menu-bar.el (menu-bar-file-menu):
5302 * printing.el (pr-ps-utility):
5303 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5304 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5305 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5306 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5307 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5308 (icalendar--convert-cyclic-to-ical)
5309 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5310 (icalendar--convert-ical-to-diary)
5311 (icalendar--convert-recurring-to-diary)
5312 (icalendar--convert-non-recurring-all-day-to-diary)
5313 (icalendar-import-format-sample):
5314 * progmodes/idlw-shell.el (idlwave-shell-mode):
5315 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5316 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5317 (vhdl-ps-print-init): Fix typos.
5318
10649b82
KM
53192011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5320
9d0cfcd6
GM
5321 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5322 FSF and collapse date sequence, obscure author/maintainer email address
5323 better, remove extra version line, track relocation of author's webpage.
10649b82 5324
9d0cfcd6
GM
5325 * progmodes/python.el (python-pdbtrack-input-prompt)
5326 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5327 regular python pdb prompts. Adjustments shamelessly taken exactly as
5328 suggested in EmacsWiki page (tiny change):
5329 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5330
58179cce
JB
53312011-11-16 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * expand.el (expand-pos, expand-index, expand-point):
5334 Remove redundant info from docstring.
5335 (expand-add-abbrevs): Doc fix.
5336 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5337 (expand-sample-perl-mode-expand-list): Fix typos.
5338
5339 * net/dbus.el (dbus-event-member-name):
5340 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5341 * term/pc-win.el (msdos-create-frame-with-faces):
5342 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5343
b6f67890
MR
53442011-11-16 Martin Rudalics <rudalics@gmx.at>
5345
5346 * window.el (split-window, window-state-get-1)
5347 (window-state-put-1, window-state-put-2): Rename occurrences of
5348 window-nest to window-combination-limit.
1d00653d 5349 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5350
ce7ddba0
CY
53512011-11-16 Chong Yidong <cyd@gnu.org>
5352
5353 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5354 regexp (Bug#10033).
5355
3ae704f4
SM
53562011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5359 `completing-read' will remove *Completions* and will preserve
5360 current-buffer for us.
5361 (tmm-add-prompt): Users of *Completions* will always (re)set its
5362 major mode.
5363 (tmm-old-comp-map): Remove.
5364
6ad1cdde
GM
53652011-11-16 Glenn Morris <rgm@gnu.org>
5366
5367 * mail/rmailedit.el: Require rmailmm when compiling.
5368 (rmail-old-mime-state): New declaration.
5369 (rmail-edit-current-message): If editing a mime message,
5370 edit the "raw" message from the mbox buffer.
5371 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5372
d20faa20
GM
53732011-11-15 Glenn Morris <rgm@gnu.org>
5374
5375 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5376 which wasn't being used. Add optional arg to force given state.
5377 (rmail-mime): Add optional arg to force given state.
5378
c7015153
JB
53792011-11-15 Juanma Barranquero <lekktu@gmail.com>
5380
5381 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5382 * frame.el (display-mm-dimensions-alist):
5383 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5384 (outline-move-subtree-down):
5385 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5386 (newsticker--treeview-do-get-node):
5387 * net/quickurl.el (quickurl-list-buffer-name):
5388 * progmodes/dcl-mode.el (dcl-mode):
5389 * progmodes/gdb-mi.el (gdb-mapcar*):
5390 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5391
45261b50
GM
53922011-11-15 Glenn Morris <rgm@gnu.org>
5393
5394 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5395 in a boolean sense, so just make it a boolean, and fix the doc.
5396 (rmail-show-mime-function, rmail-mime-feature)
5397 (rmail-require-mime-maybe): Doc fixes.
5398 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5399
5400 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5401
0d26e0b6
JB
54022011-11-15 Juanma Barranquero <lekktu@gmail.com>
5403
5404 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5405 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5406 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5407 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5408
447f30f6
GM
54092011-11-15 Glenn Morris <rgm@gnu.org>
5410
672b871d
GM
5411 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5412 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5413 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5414 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5415 (rmail-mime, rmail-show-mime): Doc fixes.
5416
f6aa5bb1
GM
5417 * term/ns-win.el (mode-line-frame-identification):
5418 Leave it alone. (Bug#10051)
5419
947cd66b
GM
5420 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5421
447f30f6
GM
5422 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5423 Handle empty buffers. (Bug#9978)
5424
0b381c7e
JB
54252011-11-14 Juanma Barranquero <lekktu@gmail.com>
5426
5427 * international/mule.el (define-charset):
5428 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5429 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5430 * progmodes/verilog-mode.el (verilog-backward-token):
5431 * textmodes/ispell.el (lookup-words):
5432 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5433
71e027ac
GM
54342011-11-14 Glenn Morris <rgm@gnu.org>
5435
56632ce4
GM
5436 * progmodes/executable.el
5437 (executable-make-buffer-file-executable-if-script-p):
5438 Handle file-modes returning nil.
5439
40500957
GM
5440 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5441 message - not necessary, and causes problems. (Bug#9831)
5442
071c2340
GM
5443 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5444
d3cfca60
GM
5445 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5446
71e027ac
GM
5447 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5448 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5449 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5450
89d61221
MR
54512011-11-12 Martin Rudalics <rudalics@gmx.at>
5452
5453 * window.el (window-resize, delete-window): Use window-splits
5454 variable instead of function.
5455 (window-state-get-1, window-state-put-2, window-state-put):
5456 Don't deal with windows' splits status.
5457
98282f6f
GM
54582011-11-12 Glenn Morris <rgm@gnu.org>
5459
5460 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5461 (apropos-documentation): Doc fixes.
5462
40a8bdf6
JB
54632011-11-11 Juanma Barranquero <lekktu@gmail.com>
5464
5465 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5466 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5467
65bd19ff
SM
54682011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * electric.el (electric-indent-post-self-insert-function): Make it
5471 possible for a char to only indent in some circumstances.
5472 (electric-indent-mode): Simplify.
5473
54f9154c
MR
54742011-11-11 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (windows-with-parameter): Remove unused function.
5477 (windows-at-side): Rename to window-at-side-list.
5478 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5479 (window-side-check, window-size-ignore, window-size-fixed-1)
5480 (window-in-direction-2): Prefix with "window--".
5481 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5482
68cbc58b
GM
54832011-11-11 Glenn Morris <rgm@gnu.org>
5484
5485 * subr.el (eval-after-load): If FILE is already loaded,
5486 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5487
b2621720
GM
54882011-11-10 Glenn Morris <rgm@gnu.org>
5489
9a4de110
GM
5490 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5491 Call svn via vc-svn-command rather than vc-do-command.
5492 (vc-svn-command): Add --non-interactive. (Bug#9993)
5493 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5494
b2621720
GM
5495 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5496 Add toggle-read-only. (Bug#7292)
5497 * files.el (toggle-read-only): Mention that it should only
5498 be used interactively. (Bug#10006)
5499
1dce7193
SM
55002011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5501
d9ac1a1e
SM
5502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5503 Adjust regexp for OCaml warnings.
5504
0c325082
SM
5505 * electric.el (electric-pair-post-self-insert-function): Let user
5506 turn it off buffer-locally (bug#9932).
5507
90132c14
SM
5508 * progmodes/python.el (python-beginning-of-statement):
5509 Rewrite (bug#2703).
5510
1dce7193
SM
5511 * progmodes/compile.el: Better handle TABs (bug#9749).
5512 (compilation-internal-error-properties)
5513 (compilation-next-error-function): Obey the target buffer's
5514 compilation-error-screen-columns.
5515
c4e7c63a
JB
55162011-11-09 Juanma Barranquero <lekktu@gmail.com>
5517
5518 * progmodes/meta-mode.el: Remove obsolete comments.
5519 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5520 Fix typos in docstrings.
5521
2cffd681
MR
55222011-11-09 Martin Rudalics <rudalics@gmx.at>
5523
5524 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5525 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5526 (window--resizable): New function. Make all callers of
5527 window-resizable call window--resizable instead.
5528 (window-resizable): Rewrite in terms of window--resizable.
5529
0edcba87
GM
55302011-11-08 Glenn Morris <rgm@gnu.org>
5531
5532 * progmodes/delphi.el (delphi-mode-syntax-table):
5533 Let define-derived-mode define a proper syntax table. (Bug#9994)
5534
4b0d61e3
SM
55352011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * window.el: Stay away from defsubst.
5538 (window-list-no-nils): Remove.
5539 (window-state-get-1, window-state-get): Use backquote instead.
5540
cd394be1 55412011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5542
4b0d61e3 5543 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5544 Fix incorrect use of default argument in `completing-read'.
5545
e1c2c6f2
MR
55462011-11-08 Martin Rudalics <rudalics@gmx.at>
5547
5548 * window.el (display-buffer-function, special-display-function):
5549 Mention display-buffer-record-window but do not mention
5550 help-setup parameter in doc-strings.
b3f4a882 5551 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5552
105216ed
CY
55532011-11-08 Chong Yidong <cyd@gnu.org>
5554
5555 * window.el (window-total-height, window-total-width): Doc fix.
5556 (window-body-size): Move from C.
5557 (window-body-height, window-body-width): Move to C.
5558
0a9f9ab5
SM
55592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * window.el: Make special-display like display-buffer-alist (bug#9532).
5562 (display-buffer--special-action): New function, morphed
5563 from display-buffer--special.
5564 (display-buffer): Use it to handle special-display-buffers at higher
5565 priority (just after display-buffer-alist).
5566 (display-buffer-fallback-action, display-buffer--other-frame-action)
5567 (pop-to-buffer-same-window): Remove display-buffer--special.
5568
a769dd15
GM
55692011-11-07 Glenn Morris <rgm@gnu.org>
5570
5571 * calendar/cal-menu.el (cal-menu-set-date-title):
5572 Do nothing if not in a calendar. (Bug#9976)
5573
05a61ee3
SM
55742011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * files.el (find-file): Always use selected-window.
5577
be7f5545
MR
55782011-11-07 Martin Rudalics <rudalics@gmx.at>
5579
5580 * window.el (window-combinations): Make WINDOW argument
5581 mandatory. Rewrite doc-string.
5582 (walk-window-subtree, window-atom-check, window-min-delta)
5583 (window-max-delta, window--resize-this-window)
5584 (window--resize-root-window-vertically, window-tree)
5585 (balance-windows, window-state-put): Rewrite doc-strings as to
5586 not mention the term "subwindow".
5587 (window--resize-subwindows-skip-p): Rename to
5588 window--resize-child-windows-skip-p.
5589 (window--resize-subwindows-normal): Rename to
5590 window--resize-child-windows-normal.
5591 (window--resize-subwindows): Rename to
5592 window--resize-child-windows.
5593 (window-or-subwindow-p): Rename to window--in-subtree-p.
5594
3c6702ef
ML
55952011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5596
5597 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5598 Ensure that mbox format messages end in two newlines (Bug#9974).
5599
49745b39
CY
56002011-11-06 Chong Yidong <cyd@gnu.org>
5601
5602 * window.el (window-combination-p): Function deleted; its
5603 side-effect is not used in any existing code.
5604 (window-combinations, window-combined-p): Call window-*-child
5605 directly.
5606
24300f5f
CY
56072011-11-05 Chong Yidong <cyd@gnu.org>
5608
5609 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5610 (window-size-ignore, window-state-get): Callers changed.
5611 (window-normalize-window): Rename from window-normalize-any-window.
5612 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5613 (window-normalize-live-window): Delete.
447f16b8
CY
5614 (window-combination-p, window-combined-p, window-combinations)
5615 (walk-window-subtree, window-atom-root, window-min-size)
5616 (window-sizable, window-sizable-p, window-size-fixed-p)
5617 (window-min-delta, window-max-delta, window-resizable)
5618 (window-resizable-p, window-full-height-p, window-full-width-p)
5619 (window-current-scroll-bars, window-point-1, set-window-point-1)
5620 (window-at-side-p, window-in-direction, window-resize)
5621 (adjust-window-trailing-edge, maximize-window, minimize-window)
5622 (window-deletable-p, delete-window, delete-other-windows)
5623 (record-window-buffer, unrecord-window-buffer)
5624 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5625 (quit-window, split-window, window-state-put)
5626 (set-window-text-height, fit-window-to-buffer)
5627 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5628
89bd5ee1
EZ
56292011-11-04 Eli Zaretskii <eliz@gnu.org>
5630
53479029
EZ
5631 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5632 rfc2047-decode-string.
5633 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5634 warnings.
5635
89bd5ee1
EZ
5636 * window.el (window-body-height, window-body-width): Mention in
5637 the doc string that the return values are in frame's canonical
5638 units. (Bug#9949)
5639
bd17fdee
AM
56402011-11-03 Alan Mackenzie <acm@muc.de>
5641
5642 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5643 change in cc-engine.el.
5644
acc825c5
SM
56452011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5648
1885e5b8
MR
56492011-11-02 Martin Rudalics <rudalics@gmx.at>
5650
5651 * window.el (quit-window): Call unrecord-window-buffer after
5652 showing another buffer in the window. (Bug#9937)
acc825c5 5653 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5654
ebe06da9
JB
56552011-11-02 Juanma Barranquero <lekktu@gmail.com>
5656
5657 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5658 Accept status with more than 9 shelves. (Bug#9935)
5659 Reported by Colin D Bennett <colin@gibibit.com>.
5660
4ee88440
MR
56612011-11-01 Martin Rudalics <rudalics@gmx.at>
5662
5663 * help.el (with-help-window): Don't reference
5664 temp-buffer-show-specifiers in doc-string.
5665
08e1d82c
AS
56662011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5667
5668 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5669 menu-item.
5670
84bd6e9e
VJL
56712011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5672
5673 * whitespace.el: New version 13.2.2.
5674 (whitespace-newline-mode): Disable properly. Reported by Sarah
5675 <EmacsWiki>.
5676
dba0634a
UJ
56772011-10-30 Ulf Jasper <ulf.jasper@web.de>
5678
5679 * net/newst-treeview.el: Remove "Time-stamp".
5680 (newsticker--group-manage-orphan-feeds): Do not call
5681 newsticker--treeview-tree-update.
db22a3c2
JB
5682 (newsticker-treeview-update, newsticker-treeview):
5683 Call newsticker--treeview-tree-update if necessary.
dba0634a 5684
3d8daefe
MR
56852011-10-30 Martin Rudalics <rudalics@gmx.at>
5686
5687 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5688 (window-iso-combinations): Remove "iso-" infix.
5689 Suggested by Chong Yidong.
3d8daefe
MR
5690 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5691 (window-max-delta-1, window-resize, window--resize-siblings)
5692 (window--resize-this-window, adjust-window-trailing-edge)
5693 (split-window, balance-windows-1)
5694 (shrink-window-if-larger-than-buffer):
5695 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5696 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5697
1bc4c3ae
SM
56982011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5701 in place (bug#9907).
5702 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5703 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5704 (eshell-structure-basic-command, eshell-rewrite-while-command)
5705 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5706 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5707 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5708 (eshell-do-pipelines-synchronously, eshell-eval-command):
5709 Use backquotes and prefer setq to set.
5710 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5711 (eshell-macrop): Use functionp.
c1e2f5fa 5712 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5713
30b65d9c
CY
57142011-10-30 Chong Yidong <cyd@gnu.org>
5715
5716 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5717 instead of set-mark (Bug#9810).
5718
2d197ffb
CY
57192011-10-30 Chong Yidong <cyd@gnu.org>
5720
5721 * window.el (split-window-below, split-window-right): Rename from
5722 split-window-above-each-other and split-window-side-by-side
5723 respectively. All callers changed.
5724 (split-window-sensibly, split-window-sensibly): Use them.
5725 (split-window-keep-point): Doc fix.
5726
5727 * isearch.el: Add isearch-scroll property to split-window-below
5728 and split-window-right.
5729
5730 * follow.el (follow-mode):
5731 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5732 * progmodes/ada-xref.el (ada-gdb-application):
5733 * emulation/vip.el (vip-buffer-in-two-windows):
5734 * image-dired.el (image-dired-dired-with-window-configuration):
5735 * dired-x.el (dired-do-find-marked-files):
5736 * dired.el (dired-pop-to-buffer):
5737 * bs.el (bs--show-with-configuration):
5738 * vc/emerge.el (emerge-setup-windows):
5739 * textmodes/two-column.el (2C-two-columns):
5740 * textmodes/reftex-toc.el (reftex-toc):
5741 * progmodes/gdb-mi.el (gdb-setup-windows):
5742 * progmodes/fortran.el (fortran-window-create):
5743 * net/newst-treeview.el (newsticker--treeview-window-init):
5744 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5745 * emulation/tpu-edt.el (tpu-gold-map):
5746 * emulation/crisp.el (crisp-mode-map):
5747 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5748
38bb2ca8
CY
57492011-10-29 Chong Yidong <cyd@gnu.org>
5750
aa4de341
CY
5751 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5752
e1eb5385
CY
5753 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5754
5d2ece3c
CY
5755 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5756 forged Ispell output (Bug#7904).
5757
38bb2ca8
CY
5758 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5759
d0af9f77
SM
57602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * doc-view.el: Avoid ugly errors about not finding nil.
5763 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5764 (doc-view-dvipdf-program, doc-view-unoconv-program)
5765 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5766 Avoid nil or absolute file name as default value.
5767 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5768
52bedd34
AM
57692011-10-28 Alan Mackenzie <acm@muc.de>
5770
db22a3c2 5771 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5772
7e43cfa5
AM
57732011-10-28 Alan Mackenzie <acm@muc.de>
5774
5775 Amend the handling of c-beginning/end-of-defun in nested declaration
5776 scopes.
5777
52bedd34
AM
5778 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5779 cc-langs.el. Change it to a defcustom.
7e43cfa5 5780
52bedd34
AM
5781 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5782 cc-vars.el.
7e43cfa5 5783
d0af9f77
SM
5784 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5785 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5786
52bedd34 5787 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5788 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5789 (c-widen-to-enclosing-decl-scope): New function.
5790 (c-while-widening-to-decl-block): New macro.
5791 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5792 outward for defun boundaries, and correspondingly change symbol
5793 `respect-enclosure' to `go-outward'.
5794 (c-declaration-limits): Change algorithm to report only the "innermost"
5795 defun's boundaries.
5796
1a2ce9ee
DD
57972011-10-28 Deniz Dogan <deniz@dogan.se>
5798
5799 * net/rcirc.el (rcirc-mode): Use hard newlines.
5800
bc97a826
AM
58012011-10-28 Alan Mackenzie <acm@muc.de>
5802
5803 Amend to indent and fontify macros "which include their own semicolon"
5804 correctly, using the "virtual semicolon" mechanism.
5805
52bedd34 5806 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5807
d0af9f77 5808 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5809 Recode to scan one line at a time rather than having \n and \r
58179cce 5810 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5811 (c-forward-label): Amend for virtual semicolons.
58179cce 5812 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5813
52bedd34
AM
5814 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5815 of the new C macros.
bc97a826 5816
52bedd34 5817 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5818 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5819 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5820 (c-opt-cpp-macro-define): Make into a full language variable.
5821 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5822 AWK Mode (including \n, \r) removed, no longer needed.
5823
d0af9f77
SM
5824 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5825 Invoke c-make-macro-with-semi-re.
bc97a826 5826
52bedd34
AM
5827 * progmodes/cc-vars.el (c-macro-with-semi-re):
5828 (c-macro-names-with-semicolon): New variables.
58179cce 5829 (c-make-macro-with-semi-re): New function.
bc97a826 5830
7a6c0941
SM
58312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * vc/log-edit.el: Fill empty field rather than adding new one.
5834 (log-edit-add-field): New function.
5835 (log-edit-insert-changelog): Use it.
5836
b0c4cdcf
ML
58372011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5838
5839 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5840
ee1f1da9
SM
58412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5844 (gdb--check-interpreter): New function.
5845 (gdb): Use it.
5846
51bc5f8b
GM
58472011-10-27 Glenn Morris <rgm@gnu.org>
5848
416a2c45
GM
5849 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5850 (least-positive-float, least-negative-float)
5851 (least-positive-normalized-float, least-negative-normalized-float)
5852 (float-epsilon, float-negative-epsilon):
5853 Remove unnecessary declarations.
5854
5855 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5856 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5857 (least-positive-float, least-negative-float)
5858 (least-positive-normalized-float, least-negative-normalized-float)
5859 (float-epsilon, float-negative-epsilon): Add doc-strings,
5860 based on those in cl.texi.
5861
51bc5f8b
GM
5862 * files.el (set-visited-file-name): If the major-mode changed,
5863 reload the local variables. (Bug#9796)
5864
15de15c6
CY
58652011-10-27 Chong Yidong <cyd@gnu.org>
5866
5867 * subr.el (change-major-mode-after-body-hook): New hook.
5868 (run-mode-hooks): Run it.
5869
ee1f1da9
SM
5870 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5871 Use change-major-mode-before-body-hook.
15de15c6
CY
5872
5873 * simple.el (fundamental-mode):
5874 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5875 change introducing fundamental-mode-hook.
5876
5430d399
JB
58772011-10-26 Juanma Barranquero <lekktu@gmail.com>
5878
acc825c5 5879 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5880
ad74a69e
MA
58812011-10-26 Michael Albinus <michael.albinus@gmx.de>
5882
5883 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5884 tramp.el explicitly. (Bug#7583)
ad74a69e 5885
71d4c2a5
SM
58862011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * progmodes/octave-mod.el:
5889 * progmodes/octave-inf.el: Update maintainer.
5890
b1f6fa26
CY
58912011-10-26 Chong Yidong <cyd@gnu.org>
5892
5893 * subr.el (with-wrapper-hook): Rewrite doc.
5894
3f04efd6
MA
58952011-10-25 Michael Albinus <michael.albinus@gmx.de>
5896
5897 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5898 filenames "/method:foo:". (Bug#9793)
3f04efd6 5899
410488d3
SM
59002011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5903 (bug#9865).
5904
c1ebb47e
GM
59052011-10-24 Glenn Morris <rgm@gnu.org>
5906
5907 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5908
7f5c46c7
MA
59092011-10-24 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * notifications.el: Add the requirement of a running D-Bus session
5912 bus to the Commentary.
5913
db2440b6
JL
59142011-10-24 Juri Linkov <juri@jurta.org>
5915
5916 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5917 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5918 (Bug#9364)
5919
feecf435
JL
59202011-10-24 Juri Linkov <juri@jurta.org>
5921
5922 * info.el (Info-following-node-name-re): Add newline to the list
5923 of allowed characters for leading space. (Bug#9824)
5924
a3839de2
SM
59252011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5926
acc825c5
SM
5927 * progmodes/octave-inf.el (inferior-octave-mode-map):
5928 Fix C-c C-h binding.
a3839de2
SM
5929 * progmodes/octave-mod.el (octave-help): Remove.
5930
09388e76
MA
59312011-10-23 Michael Albinus <michael.albinus@gmx.de>
5932
5933 Sync with Tramp 2.2.3.
5934
5935 * net/tramp-cache.el (top): Pacify byte-compiler using
5936 `init-file-user' and `site-run-file'.
5937
5938 * net/trampver.el: Update release number.
5939
86c60681
CY
59402011-10-23 Chong Yidong <cyd@gnu.org>
5941
5942 * files.el (toggle-read-only): Remove obsolete comment about
5943 version control.
5944
5945 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5946 for toggle-read-only. Note that this hasn't called vc-next-action
5947 since 2008-05-02, though it wasn't documented at the time.
5948
a3839de2
SM
5949 * vc/ediff-init.el (ediff-toggle-read-only-function):
5950 Use toggle-read-only.
86c60681 5951
cd5495ff
AM
59522011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5953
5954 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5955 of c-parse-state.
5956
00b77525 5957 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5958 correct faulty logical expression.
cd5495ff
AM
5959 (c-parse-state-state, c-record-parse-state-state):
5960 (c-replay-parse-state-state): New defvar/defuns.
5961 (c-debug-parse-state): Use new functions.
5962
42ee24ed
MR
59632011-10-22 Martin Rudalics <rudalics@gmx.at>
5964
5965 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5966 last fix. Use window-in-direction correctly.
42ee24ed 5967
a7dee7e7
CY
59682011-10-21 Chong Yidong <cyd@gnu.org>
5969
5970 * progmodes/idlwave.el (idlwave-mode):
5971 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5972 require-final-newline; that's done in prog-mode.
5973 Suggested by Stefan Monnier.
a7dee7e7 5974
e07b9a6d
MR
59752011-10-21 Martin Rudalics <rudalics@gmx.at>
5976
5977 * mouse.el (mouse-drag-window-above)
5978 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5979 (mouse-drag-mode-line-1, mouse-drag-header-line)
5980 (mouse-drag-vertical-line-rightward-window): Remove.
5981 (mouse-drag-line): New function.
5982 (mouse-drag-mode-line, mouse-drag-header-line)
5983 (mouse-drag-vertical-line): Call mouse-drag-line.
5984 * window.el (window-at-side-p, windows-at-side): New functions.
5985
7e1361d9
UM
59862011-10-21 Ulrich Mueller <ulm@gentoo.org>
5987
5988 * tar-mode.el (tar-grind-file-mode):
5989 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5990
30fcaf3a
CY
59912011-10-21 Chong Yidong <cyd@gnu.org>
5992
5993 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5994 * progmodes/vera-mode.el (vera-mode):
5995 Use mode-require-final-newline.
30fcaf3a 5996
516eddb0
GM
59972011-10-20 Glenn Morris <rgm@gnu.org>
5998
db22a3c2 5999 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6000
10d5f513
CS
60012011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6002
6003 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6004
ac6c8639
CY
60052011-10-20 Chong Yidong <cyd@gnu.org>
6006
6007 * emulation/cua-base.el (cua-mode):
6008 * mail/footnote.el (footnote-mode):
6009 * mail/mailabbrev.el (mail-abbrevs-mode):
6010 * net/xesam.el (xesam-minor-mode):
6011 * progmodes/bug-reference.el (bug-reference-mode):
6012 * progmodes/cap-words.el (capitalized-words-mode):
6013 * progmodes/compile.el (compilation-minor-mode)
6014 (compilation-shell-minor-mode):
6015 * progmodes/gud.el (gud-tooltip-mode):
6016 * progmodes/hideif.el (hide-ifdef-mode):
6017 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6018 * progmodes/subword.el (subword-mode):
6019 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6020 * progmodes/which-func.el (which-function-mode):
6021 * term/tvi970.el (tvi970-set-keypad-mode):
6022 * term/vt100.el (vt100-wide-mode):
6023 * textmodes/flyspell.el (flyspell-mode):
6024 * textmodes/ispell.el (ispell-minor-mode):
6025 * textmodes/nroff-mode.el (nroff-electric-mode):
6026 * textmodes/paragraphs.el (use-hard-newlines):
6027 * textmodes/refill.el (refill-mode):
6028 * textmodes/reftex.el (reftex-mode):
6029 * textmodes/rst.el (rst-minor-mode):
6030 * textmodes/sgml-mode.el (html-autoview-mode)
6031 (sgml-electric-tag-pair-mode):
6032 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6033 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6034 * emulation/crisp.el (crisp-mode):
6035 * emacs-lisp/eldoc.el (eldoc-mode):
6036 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6037 minor mode behavior.
6038
aa42ab43
JL
60392011-10-19 Juri Linkov <juri@jurta.org>
6040
6041 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6042 the list of hard-coded chars with escape-glyph face.
6043
89400f1d
SM
60442011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6047
305c07f6
MA
60482011-10-19 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6051 running process.
6052
13754b54
GM
60532011-10-19 Glenn Morris <rgm@gnu.org>
6054
6055 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6056 Ignore ignored files. (Bug#9726)
6057
06e21633
CY
60582011-10-19 Chong Yidong <cyd@gnu.org>
6059
6060 Doc fix for minor modes, stating that an omitted argument enables
6061 the mode unconditionally when called from Lisp.
6062
6063 * abbrev.el (abbrev-mode):
6064 * allout.el (allout-mode):
6065 * autoinsert.el (auto-insert-mode):
6066 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6067 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6068 (global-auto-revert-mode):
6069 * battery.el (display-battery-mode):
6070 * composite.el (global-auto-composition-mode)
6071 (auto-composition-mode):
6072 * delsel.el (delete-selection-mode):
6073 * desktop.el (desktop-save-mode):
6074 * dired-x.el (dired-omit-mode):
6075 * dirtrack.el (dirtrack-mode):
6076 * doc-view.el (doc-view-minor-mode):
6077 * double.el (double-mode):
6078 * electric.el (electric-indent-mode, electric-pair-mode):
6079 * emacs-lock.el (emacs-lock-mode):
6080 * epa-hook.el (auto-encryption-mode):
6081 * follow.el (follow-mode):
6082 * font-core.el (font-lock-mode):
6083 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6084 * help.el (temp-buffer-resize-mode):
6085 * hilit-chg.el (highlight-changes-mode)
6086 (highlight-changes-visible-mode):
6087 * hi-lock.el (hi-lock-mode):
6088 * hl-line.el (hl-line-mode, global-hl-line-mode):
6089 * icomplete.el (icomplete-mode):
6090 * ido.el (ido-everywhere):
6091 * image-file.el (auto-image-file-mode):
6092 * image-mode.el (image-minor-mode):
6093 * iswitchb.el (iswitchb-mode):
6094 * jka-cmpr-hook.el (auto-compression-mode):
6095 * linum.el (linum-mode):
6096 * longlines.el (longlines-mode):
6097 * master.el (master-mode):
6098 * mb-depth.el (minibuffer-depth-indicate-mode):
6099 * menu-bar.el (menu-bar-mode):
6100 * minibuf-eldef.el (minibuffer-electric-default-mode):
6101 * mouse-sel.el (mouse-sel-mode):
6102 * msb.el (msb-mode):
6103 * mwheel.el (mouse-wheel-mode):
6104 * outline.el (outline-minor-mode):
6105 * paren.el (show-paren-mode):
6106 * recentf.el (recentf-mode):
6107 * reveal.el (reveal-mode, global-reveal-mode):
6108 * rfn-eshadow.el (file-name-shadow-mode):
6109 * ruler-mode.el (ruler-mode):
6110 * savehist.el (savehist-mode):
6111 * scroll-all.el (scroll-all-mode):
6112 * scroll-bar.el (scroll-bar-mode):
6113 * server.el (server-mode):
6114 * shell.el (shell-dirtrack-mode):
6115 * simple.el (auto-fill-mode, transient-mark-mode)
6116 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6117 (line-number-mode, column-number-mode, size-indication-mode)
6118 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6119 * strokes.el (strokes-mode):
6120 * time.el (display-time-mode):
6121 * t-mouse.el (gpm-mouse-mode):
6122 * tool-bar.el (tool-bar-mode):
6123 * tooltip.el (tooltip-mode):
6124 * type-break.el (type-break-mode-line-message-mode)
6125 (type-break-query-mode):
6126 * view.el (view-mode):
6127 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6128 (global-whitespace-mode, global-whitespace-newline-mode):
6129 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6130
a3839de2
SM
6131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6132 Fix autogenerated docstring.
06e21633 6133
5214e501
JL
61342011-10-19 Juri Linkov <juri@jurta.org>
6135
6136 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6137 by checking environment variables "DESKTOP_SESSION" and
6138 "XDG_CURRENT_DESKTOP". (Bug#9779)
6139
195f8db9
JL
61402011-10-19 Juri Linkov <juri@jurta.org>
6141
6142 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6143 (browse-url-chromium-program, browse-url-chromium-arguments):
6144 New defcustoms.
6145 (browse-url-default-browser): Check for `browse-url-chromium' and
6146 call `browse-url-chromium-program'.
6147 (browse-url-chromium): New command. (Bug#9779)
6148
343a34ff
JB
61492011-10-18 Juanma Barranquero <lekktu@gmail.com>
6150
6151 * facemenu.el (list-colors-duplicates): On Windows, detect more
6152 duplicates by assuming that only colors matching "^System" are
6153 special "system colors". (Bug#9722)
6154
6978a151
SM
61552011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6158 to distinguish the author from the committer.
6159
6a80b297
MA
61602011-10-18 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6163
b31a5677
JK
61642011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6165
6166 * international/mule.el (sgml-html-meta-auto-coding-function):
6167 Add support for detecting encoding in HTML5 specified only as
6168 <meta charset="UTF-8">. Implementation just makes http-equiv and
6169 content-type parts from HTML4 encoding string optional. (Bug#9716)
6170
80c6d77f
GM
61712011-10-18 Glenn Morris <rgm@gnu.org>
6172
6173 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6174
08b0fee8
CY
61752011-10-18 Chong Yidong <cyd@gnu.org>
6176
6177 * faces.el (cursor): Doc fix.
6178
67e729a5
CY
61792011-10-17 Chong Yidong <cyd@gnu.org>
6180
6181 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6182
343a34ff 61832011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6184
6185 * dirtrack.el (dirtrack): Support shell buffers with path
6186 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6187
0bc06380
TZ
61882011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6189
6190 * json.el: Bump version to 1.3 and note change in History.
6191 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6192
8b79f3e0
SM
61932011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6194
5a7c536b
SM
6195 * comint.el (comint-insert-input, comint-send-input)
6196 (comint-get-old-input-default, comint-backward-matching-input)
6197 (comint-next-prompt): Use nil instead of `input' for field property of
6198 past user input (bug#114).
6199
96a8a0df
SM
6200 * minibuffer.el (completion--replace): Inherit surrounding properties
6201 (bug#114).
6202 (minibuffer-complete-and-exit): Use it.
6203
8b79f3e0
SM
6204 * comint.el (comint--table-subvert): Quote the all-completions output
6205 (bug#9160).
6206
b8f7ff0d
MR
62072011-10-17 Martin Rudalics <rudalics@gmx.at>
6208
8b79f3e0 6209 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6210
b8f7ff0d 6211 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6212 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6213 entries and separate them from frame entries.
6214
c235b555
GM
62152011-10-15 Glenn Morris <rgm@gnu.org>
6216
6217 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6218 Doc fixes.
6219
6bbfa6e1
CY
62202011-10-15 Chong Yidong <cyd@stupidchicken.com>
6221
8b79f3e0
SM
6222 * net/network-stream.el (network-stream-open-starttls):
6223 Improve detection of failure due to lack of TLS support.
ec5c990d 6224
6bbfa6e1
CY
6225 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6226 putting the input text in front and in bold.
6227
98488977
SM
62282011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6229
3d1337be
SM
6230 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6231
ee0b45e4
SM
6232 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6233 empty buffer.
6234
98488977
SM
6235 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6236 unread-command-events rather than pushing yet-another event.
6237
186f4720
EZ
62382011-10-14 Eli Zaretskii <eliz@gnu.org>
6239
6240 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6241 the explanation of the possible choices. Make the options passed
6242 to completing-read shorter.
6243
8b7a997c
AM
62442011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6245
6246 * textmodes/flyspell.el (flyspell-large-region): Make sure
6247 extended character mode is used if defined (Bug#1339).
6248
12587bbb
EZ
62492011-10-13 Eli Zaretskii <eliz@gnu.org>
6250
6251 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6252 character info for LRE, LRO, RLE, and RLO characters by appending
6253 an invisible PDF.
12587bbb 6254
bad41229
SM
62552011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6258 even in case of error; add debug spec; simplify data flow.
6259 (with-timeout-handler): Remove.
6260
28dbc92f
MA
62612011-10-12 Michael Albinus <michael.albinus@gmx.de>
6262
6263 Fix Bug#6019, Bug#9315.
6264
6265 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6266 complete `buffer-file-name', the local file name part could look
6267 remotely (for example on VMS).
6268
6269 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6270 `tramp-run-real-handler'.
6271 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6272 already quoted by '"'.
6273
6274 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6275 Let `file-name-handler-alist' be nil, the local file name part
6276 could look remotely (for example on VMS).
6277
e1b0b23a
SM
62782011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6281 from here...
6282 (flyspell-post-command-hook): ...to here.
6283
a120bde9
SM
62842011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6287 if not needed.
6288 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6289 using completion. Protect against "slow" callers.
6290 Remove the "message hack".
6291
7ce7717b
JL
62922011-10-11 Juri Linkov <juri@jurta.org>
6293
6294 * isearch.el (isearch-lazy-highlight-word): New variable.
6295 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6296 Use it. (Bug#9727)
6297
c02ee9d6
GM
62982011-10-11 Glenn Morris <rgm@gnu.org>
6299
6300 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6301 like f90-previous-statement does.
6302
93e616fd 63032011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6304
1f190e73 6305 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6306 only in interactive use, to avoid error.
6307
af7b6078
SM
63082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * minibuffer.el (completion-file-name-table): Fix last change,
6311 i.e. ignore normal errors but not the other ones.
6312
0563dae9
MR
63132011-10-10 Martin Rudalics <rudalics@gmx.at>
6314
6315 * window.el (special-display-buffer-names)
6316 (special-display-regexps): Remove some remnants of earlier
6317 changes from doc-strings.
366ca7f3
MR
6318 (quit-windows-on): New function.
6319
6320 * vc/vc.el (vc-revert, vc-rollback):
6321 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6322 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6323 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6324
49677495
MR
63252011-10-09 Martin Rudalics <rudalics@gmx.at>
6326
6327 * window.el (frame-auto-hide-function): Add version tag.
6328 (Bug#9699)
6329
56f2d1e1
MA
63302011-10-09 Michael Albinus <michael.albinus@gmx.de>
6331
6332 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6333 condition.
6334
112a6592
LL
63352011-10-09 Leo Liu <sdl.web@gmail.com>
6336
6337 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6338 (Bug#9701)
6339
0812589b
GM
63402011-10-08 Glenn Morris <rgm@gnu.org>
6341
6342 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6343 before the first code statement zero indent. (Bug#9690)
6344
b2b0776e
CY
63452011-10-08 Chong Yidong <cyd@stupidchicken.com>
6346
6347 * simple.el (count-words-region): Always count in the region.
6348 Report the number of lines and characters too.
6349 (count-words): New command, which counts in the buffer if the
6350 region is inactive, as count-words-region used to.
6351 (count-words--message): New function. Handle plurals.
6352 (count-lines-region): Make it an alias for count-words-region.
6353
6354 * bindings.el (esc-map): Replace count-lines-region with
6355 count-words-region.
6356
c557cd6b
MR
63572011-10-08 Martin Rudalics <rudalics@gmx.at>
6358
6359 * window.el (window--delete): Delete dedicated frame
6360 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6361 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6362
61a57ef4 63632011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6364
3a7d293b 6365 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6366
c3833279
CY
63672011-10-07 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * bindings.el ([M-left],[M-right]): Bind to left-word and
6370 right-word respectively.
6371
21ce8245
GM
63722011-10-07 Glenn Morris <rgm@gnu.org>
6373
6374 * cus-start.el (debug-on-quit): Fix custom type.
6375
6d823bb2
LMI
63762011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377
0181e193
LMI
6378 * subr.el (define-key-after): Clarify that the function is not
6379 useful for non-menu keymaps.
6380
6d823bb2
LMI
6381 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6382
8e3459ce 63832011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6384
21ce8245 6385 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6386 in current minibuffer (Fix bug with recursive minibuffers).
6387
a1c2d21e
CY
63882011-10-06 Chong Yidong <cyd@stupidchicken.com>
6389
6390 * progmodes/gdb-mi.el (gdb): Doc fix.
6391
5a4cf282
MR
63922011-10-05 Martin Rudalics <rudalics@gmx.at>
6393
6394 * window.el (frame-auto-hide-function): New option replacing
6395 frame-auto-delete. Suggested by Stefan Monnier.
6396 (window--delete): Call frame-auto-hide-function instead of
6397 investigating frame-auto-delete.
c96111ea
MR
6398 (window-point-1, set-window-point-1): New functions.
6399 (window-in-direction, record-window-buffer, window-state-get-1)
6400 (display-buffer-record-window): Use window-point-1 instead of
6401 window-point.
6402 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6403
9854542e
SM
64042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6407
8943cfb0
GM
64082011-10-05 Glenn Morris <rgm@gnu.org>
6409
6410 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6411 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6412
647ab967
LL
64132011-10-05 Leo Liu <sdl.web@gmail.com>
6414
6415 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6416 works with buffer object.
6417
3ddfbced
SM
64182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * mpc.el (mpc-tool-bar-map): Add labels.
6421
bdfa5dd2
GM
64222011-10-04 Glenn Morris <rgm@gnu.org>
6423
6424 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6425
0e2070b5
MR
64262011-10-04 Martin Rudalics <rudalics@gmx.at>
6427
6428 * window.el (window--delete): New function.
6429 (frame-auto-delete): Resuscitate option.
6430 (bury-buffer, replace-buffer-in-windows)
6431 (quit-window): Rewrite using window--delete.
6432 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6433 Pass display-buffer-mark-dedicated to window--display-buffer-2
6434 (Bug#9639).
6435
3dc61a09
SM
64362011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6437
915a9b64
SM
6438 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6439 returns a list (bug#9554). Add remote file name completion.
6440 * comint.el (comint--table-subvert): Curry and get quote&unquote
6441 functions as arguments.
6442 (comint--complete-file-name-data): Adjust call accordingly.
6443 * pcomplete.el (pcomplete--table-subvert): Remove.
6444 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6445
3dc61a09
SM
6446 * minibuffer.el (completion-table-case-fold): Use currying.
6447 (completion--styles-type, completion--cycling-threshold-type):
6448 New constants.
6449 (completion-styles, completion-category-overrides)
6450 (completion-cycle-threshold): Use them.
6451 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6452 completion-table-case-fold.
6453
8ea0a993
SB
64542011-10-03 Stephen Berman <stephen.berman@gmx.net>
6455
6456 * minibuffer.el (completion-category-overrides): Fix type of styles
6457 and add more user friendly tags (bug#9660).
6458
8c24b7f6
SM
64592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6460
6461 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6462 (mule-input-method-string): New widget.
6463 (default-input-method, language-info-custom-alist): Use it.
6464
428fe61a
SM
64652011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6466
32c1fffd
SM
6467 * pcomplete.el: Require comint.
6468 (pcomplete--common-suffix): Remove.
6469 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6470 (pcomplete--table-subvert): Sync with comint--table-subvert.
6471 (pcomplete--entries): Use comint-completion-file-name-table.
6472 * comint.el (comint-unquote-filename): Simplify.
6473 (comint-completion-file-name-table): New function (bug#9616).
6474 (comint--complete-file-name-data): Use it.
6475
428fe61a
SM
6476 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6477 (pcmpl-gnu-tar-buffer): Remove.
6478 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6479 around. Make sure pcomplete-suffix-list is only changed temporarily.
6480 Don't look inside the tar's file if it's too large.
428fe61a 6481
04c52e2f
CY
64822011-10-01 Chong Yidong <cyd@stupidchicken.com>
6483
ce3cefcc
CY
6484 * cus-edit.el (custom-mode-map):
6485 * epa.el (epa-key-list-mode-map):
6486 * man.el (Man-mode-map):
6487 * startup.el (splash-screen-keymap):
6488 * simple.el (special-mode-map): Use scroll-up-command and
6489 scroll-down-command.
6490
6491 * progmodes/idlw-help.el (idlwave-help-mode-map):
6492 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6493 * net/newst-plainview.el (newsticker-mode-map):
6494 * emulation/ws-mode.el (wordstar-mode-map):
6495 * emulation/vi.el (vi-com-map):
6496 * calc/calc-graph.el (calc-graph-show-dumb):
6497 * term/sun.el (terminal-init-sun):
6498 * term/ns-win.el (global-map):
6499 * progmodes/grep.el (grep-mode-map):
6500 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6501 * mail/rmail.el (rmail-mode-map):
6502 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6503
04c52e2f
CY
6504 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6505 custom-safe-themes as special.
6506
79adf8c8
JD
65072011-10-01 Julien Danjou <julien@danjou.info>
6508
6509 * notifications.el (notifications-notify): Fix docstring.
6510
63bd50d3
PS
65112011-10-01 Per Starbäck <per@starback.se>
6512
6513 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6514
199e4c7e
MR
65152011-09-30 Martin Rudalics <rudalics@gmx.at>
6516
6517 * startup.el (command-line-1): Fix last fix by inserting
6518 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6519 (Bug#9605) and (Bug#9636)
199e4c7e 6520
fe5f08dd
EZ
65212011-09-29 Eli Zaretskii <eliz@gnu.org>
6522
6523 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6524 window is hscrolled, move by logical lines. (Bug#9607)
6525 (line-move-visual): Update the doc string to the above effect.
6526
b5516bbd
MR
65272011-09-29 Martin Rudalics <rudalics@gmx.at>
6528
ccee00c0
MR
6529 * window.el (display-buffer-record-window): When WINDOW is the
6530 selected window use `point' instead of `window-point'. (Bug#9626)
6531
b5516bbd
MR
6532 * startup.el (command-line-1): Use insert-before-markers when
6533 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6534
b5516bbd
MR
6535 * help.el (help-window): Remove variable.
6536
52aa0014
GM
65372011-09-29 Glenn Morris <rgm@gnu.org>
6538
6539 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6540
df9a7357
JB
65412011-09-29 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * descr-text.el (describe-char-categories): Accept category
6544 descriptions more than one line long.
6545
a8406c20
SM
65462011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6547
88d9610c
SM
6548 * simple.el (delete-trailing-whitespace): Fix last change.
6549
a5daf810
SM
6550 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6551 Don't confuse "y => 3" as the beginning of a `y' operation.
6552
a8406c20
SM
6553 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6554 object has more than 4 slots (bug#9613).
6555
a239d4e9
JB
65562011-09-28 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * subr.el (with-output-to-temp-buffer):
6559 * net/quickurl.el (quickurl, quickurl-browse-url):
6560 Fix typos in docstrings.
6561
693fbdb6
EZ
65622011-09-27 Eli Zaretskii <eliz@gnu.org>
6563
6564 * minibuffer.el (completion-styles)
6565 (completion-category-overrides): Cross reference each other in doc
6566 strings.
6567
8b457e28
GM
65682011-09-27 Glenn Morris <rgm@gnu.org>
6569
6570 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6571 to split-string. (Bug#9606)
6572
85a16208
LMI
65732011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574
6575 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6576 (bug#9615).
6577
502f9ebd
CY
65782011-09-27 Chong Yidong <cyd@stupidchicken.com>
6579
6580 * emacs-lisp/package.el (list-packages): Fix echo area message.
6581
7690bdea
LL
65822011-09-27 Leo Liu <sdl.web@gmail.com>
6583
6584 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6585
e2ee6f30
MA
65862011-09-25 Michael Albinus <michael.albinus@gmx.de>
6587
6588 * net/dbus.el (dbus-unregister-object): Don't release services for
6589 registered signals. (Bug#9581)
6590
f3f98342
TZ
65912011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6592
6593 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6594 function that picks between cfengine 2 and 3 support
6595 automatically. Update docs accordingly.
6596
dd7aa8dd
KH
65972011-09-22 Kenichi Handa <handa@m17n.org>
6598
6599 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6600 ZERO.
6601 (indian-itrans-v5-table-for-tamil): New variable.
6602 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6603
3f2b07f8
KM
66042011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6605
6606 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6607 that's true if the current command involved collapsing of text.
6608 It's reset to false at the beginning of the next command.
6609 (allout-post-command-business): Move the cursor to the beginning
6610 of entry if the cursor is hidden and collapsing activity just
6611 happened.
6612
371d6a61
CY
66132011-09-24 Chong Yidong <cyd@stupidchicken.com>
6614
6615 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6616 tracking (Bug#9541).
6617
2ac2721a
UJ
66182011-09-24 Ulf Jasper <ulf.jasper@web.de>
6619
6620 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6621 (newsticker-show-news): Automatically load html rendering package
6622 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6623 because w3m-fill-column is let-bound" and the error "Symbol's value
6624 as variable is void: w3m-fill-column".
2ac2721a 6625
fac7ae53
MA
66262011-09-24 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6629 Release services only if they are defined. (Bug#9581)
6630
e08b633b
RS
66312011-09-23 Richard Stallman <rms@gnu.org>
6632
e488d29c
RS
6633 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6634 distinguish start of paragraph from start of its text.
6635
19c38752
RS
6636 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6637
e08b633b
RS
6638 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6639 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6640 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6641
0a39f27e
AS
66422011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * international/mule-diag.el (mule-diag): Insert a newline after
6645 each fontset description.
6646
db4e950d
SM
66472011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * simple.el (delete-trailing-whitespace):
6650 Document last change; simplify.
6651
eca3f3ea
PW
66522011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6653
d68e189a
PW
6654 * simple.el (delete-trailing-whitespace): Also delete
6655 extra newlines at the end of the buffer.
6656
eca3f3ea
PW
6657 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6658 (picture-newline): Use forward-line so as to ignore fields.
6659
01c157cc
SM
66602011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * subr.el (with-wrapper-hook): Fix edebug spec.
6663
022de23e
LMI
66642011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6665
6666 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6667 (bug#4538).
6668
91683089
MA
66692011-09-23 Michael Albinus <michael.albinus@gmx.de>
6670
eca3f3ea
PW
6671 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6672 Fix nasty bug using wrong cached values.
91683089 6673
5bdd6fa4
AM
66742011-09-23 Alan Mackenzie <acm@muc.de>
6675
6676 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6677
97adfb97
CY
66782011-09-23 Chong Yidong <cyd@stupidchicken.com>
6679
6680 * window.el (pop-to-buffer): Ensure right window is selected if we
6681 chose another frame.
6682
d4ef2b50
EZ
66832011-09-22 Eli Zaretskii <eliz@gnu.org>
6684
6685 * simple.el (what-cursor-position): Use get-char-property-change
6686 and next-single-char-property-change, to be able to show display
6687 properties that come from overlays as well as text properties.
6688
72258fe5
CY
66892011-09-22 Chong Yidong <cyd@stupidchicken.com>
6690
6691 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6692
6693 * cmuscheme.el (run-scheme, switch-to-scheme):
6694 * cus-edit.el (customize-group, custom-buffer-create)
6695 (customize-browse):
6696 * info.el (info):
6697 * shell.el (shell):
6698 * mail/sendmail.el (mail):
6699 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6700
8f098516
RS
67012011-09-22 Richard Stallman <rms@gnu.org>
6702
6703 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6704 move back only to line beg, don't move back over blank lines.
6705
e74f1bb6
MA
67062011-09-22 Michael Albinus <michael.albinus@gmx.de>
6707
6708 * files.el (copy-directory): Set directory attributes only in case
6709 they could be retrieved from the source directory. (Bug#9565)
6710
bfeef8b6
DK
67112011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6712
6713 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6714 (hs-find-block-beginning, hs-hide-level-recursive):
6715 Ignore strings as well as comments. (Bug#9502)
6716
7e423bb8
AS
67172011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6718
6719 * progmodes/sql.el (sql-comint-postgres):
6720 Convert port number to a string. (Bug#9566)
6721
b4d72fcf
MR
67222011-09-22 Martin Rudalics <rudalics@gmx.at>
6723
6724 * window.el (quit-window): Undedicate window when switching to
6725 previous buffer. Reported by Thierry Volpiatto
6726 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6727 (special-display-popup-frame): When popping up a new frame reset
6728 its previous buffers to nil. Simplify code.
b4d72fcf 6729
a7b88dc6
MA
67302011-09-21 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6733 and process filter, as done also in `shell-command'.
6734
cf4eacfd
MR
67352011-09-21 Martin Rudalics <rudalics@gmx.at>
6736
eca3f3ea 6737 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6738 Call set-window-start with NOFORCE argument t.
6739 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6740 (quit-window): Reword doc-string. Handle new format of
6741 quit-restore parameter. Don't delete window if it has a
6742 previous buffer we can show instead of the present one.
6743 (display-buffer-record-window): Rewrite using a new format for
6744 the quit-restore window parameter
6745 (special-display-popup-frame, display-buffer-same-window)
6746 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6747 (display-buffer-pop-up-window, display-buffer-use-some-window):
6748 Adapt symbol passed to display-buffer-record-window.
6749 * help.el (help-window-setup): Handle new format of quit-restore
6750 parameter.
6751
8d28cb95
SM
67522011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6753
94ab793f
SM
6754 * faces.el (face-list): Fix docstring (bug#9564).
6755
8d28cb95
SM
6756 * window.el (display-buffer--action-function-custom-type):
6757 Don't include internal functions in the Custom interface.
6758
3820edeb
JL
67592011-09-20 Juri Linkov <juri@jurta.org>
6760
6761 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6762 (Info-forward-node, Info-backward-node, Info-next-preorder)
6763 (Info-last-preorder): Use it. (Bug#9528)
6764
5147931d
JL
67652011-09-20 Juri Linkov <juri@jurta.org>
6766
6767 * info.el (Info-last-preorder): Visit last menu item only when
6768 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6769
cf499a1a
JD
67702011-09-20 Julien Danjou <julien@danjou.info>
6771
6772 * password-cache.el (password-cache-remove): Remove entries even if the
6773 value is nil, so that password with a nil value (negative caching) is
6774 possible to invalidate.
6775
f84e2fe2
LM
67762011-09-20 Lawrence Mitchell <wence@gmx.li>
6777
6778 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6779 all whitespace around breakpoint. (Bug#9553)
6780 (f90-find-breakpoint): Only break at whitespace inside a comment.
6781
78054a46
SM
67822011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * minibuffer.el (completion-file-name-table): Keep track of errors.
6785 (completion-table-with-predicate): Handle the case where pred1 is nil.
6786 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6787
345083b2
SM
67882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6789
e24e27be
SM
6790 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6791 (debugger-return-value): Signal an error if the debugging context does
6792 not await any return value.
6793
345083b2
SM
6794 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6795 * image-mode.el (image-toggle-display-text)
6796 (image-toggle-display-image): Stay away from evil `intangible'.
6797
08d355e3
LL
67982011-09-19 Leo Liu <sdl.web@gmail.com>
6799
6800 * replace.el (occur-revert-arguments): Make it permanent-local.
6801 (occur-mode): Don't call font-lock-defontify.
6802
f01da43f
CY
68032011-09-19 Chong Yidong <cyd@stupidchicken.com>
6804
6805 * net/ldap.el (ldap-search-internal): Don't push empty search
6806 result (Bug#9508).
6807
b6072fa6
SM
68082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6811
443d6696
MA
68122011-09-19 Michael Albinus <michael.albinus@gmx.de>
6813
6814 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6815 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6816
7cc6e154
JL
68172011-09-18 Juri Linkov <juri@jurta.org>
6818
6819 * buff-menu.el (Buffer-menu-mode-map):
6820 * dired.el (dired-mode-map):
6821 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6822 (lisp-interaction-mode-map):
6823 * emacs-lisp/package.el (package-menu-mode-map):
6824 * epa.el (epa-key-list-mode-map):
6825 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6826 (menu-bar-options-menu):
6827 * outline.el (outline-mode-menu-bar-map):
6828 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6829 * vc/vc-dir.el (vc-dir-menu-map):
6830 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6831 Capitalize non-function content words in menu item strings.
6832
6833 * dired.el (dired-mode-map): Add menu item for
6834 `image-dired-dired-toggle-marked-thumbs'.
6835
80302a81
JL
68362011-09-18 Juri Linkov <juri@jurta.org>
6837
6838 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6839 to `isearch-case-fold-search' and restore its original value
6840 after the `isearch-mode' call.
6841
46c5cf66
JL
68422011-09-18 Juri Linkov <juri@jurta.org>
6843
6844 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6845 because `zgrep' returns 1 for successful matches (bug#9226).
6846
d18b513b
JL
68472011-09-18 Juri Linkov <juri@jurta.org>
6848
6849 * info.el (Info-extract-menu-node-name): Check the second match
6850 for empty string (second test-case of bug#9528).
6851 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6852 intermediate nodes to the history (first test-case of bug#9528).
6853
72753f87
JL
68542011-09-18 Juri Linkov <juri@jurta.org>
6855
6856 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6857 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6858
c9384295
JL
68592011-09-18 Juri Linkov <juri@jurta.org>
6860
1154d12e
JB
6861 * info.el (Info-file-supports-index-cookies):
6862 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6863 outputs one more line for long file names (bug#4142).
c9384295 6864
d473dce8
CY
68652011-09-18 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * newcomment.el (comment-normalize-vars): If prompting for
6868 comment-start, set comment-start-skip too (Bug#8424).
6869
2176854d
JB
68702011-09-18 Johan Bockgård <bojohan@gnu.org>
6871
6872 * icomplete.el: Fix previous fix of Bug#5849.
6873 (icomplete-mode): Don't set completion-show-inline-help.
6874 (icomplete-minibuffer-setup): Set completion-show-inline-help
6875 locally during icompletion.
6876
3aace4e4
CY
68772011-09-18 Chong Yidong <cyd@stupidchicken.com>
6878
c940224f
CY
6879 * woman.el (woman2-process-escapes): Don't delete unrecognized
6880 escapes (Bug#7843).
6881
3aace4e4
CY
6882 * files.el (inhibit-first-line-modes-regexps): Add image files.
6883 (hack-local-variables-prop-line): Return nil for malformed
6884 prop-lines (Bug#9044).
6885
710dec63
MA
68862011-09-18 Michael Albinus <michael.albinus@gmx.de>
6887
6888 * net/tramp.el (top): Don't require 'shell.
6889 (tramp-methods): Fix docstring.
6890 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6891 Return complete remote file name. Handle "smb" case.
6892 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6893 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6894
6895 * net/tramp-compat.el (top): Require 'shell.
6896
6897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6898 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6899 `tramp-current-host'.
6900 (tramp-get-remote-tmpdir): Remove.
6901
6902 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6903 `tramp-tmpdir' entries.
6904 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6905 (tramp-smb-handle-file-attributes): Ignore errors.
6906 (tramp-smb-wait-for-output): Check also for process end.
6907
5d5ac8ec
LMI
69082011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6909
6910 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6911 when sending QUIT (bug#9312).
6912
8c0f49f0
CY
69132011-09-17 Chong Yidong <cyd@stupidchicken.com>
6914
6915 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6916 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6917 occur-mode-display-occurrence.
6918 (occur-edit-mode): Add usage message.
6919 (occur-cease-edit): New command.
6920 (occur-after-change-function): Use text properties to find the
6921 position of the prefix text.
6922 (occur-engine): Set stickiness of prefix text properties.
6923
8f1383f7
GM
69242011-09-17 Glenn Morris <rgm@gnu.org>
6925
6926 * progmodes/etags.el (complete-tag):
6927 Fix call to completion-in-region. (Bug#9526)
6928
744ba0e3
JL
69292011-09-17 Juri Linkov <juri@jurta.org>
6930
6931 * textmodes/ispell.el (ispell-word): Add to the error message
6932 the word, ispell program name and current dictionary (bug#9121).
6933 (ispell-tex-arg-end): Capitalize "error" in the error message.
6934
d9bbf400
AS
69352011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6936
6937 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6938 check. (Bug#4251)
6939
8da11505
JL
69402011-09-17 Juri Linkov <juri@jurta.org>
6941
6942 * window.el (window-safe-min-height, window-safe-min-width):
6943 Fix typos (followup to bug#9522).
6944
a91adc7e
SJ
69452011-09-17 Sven Joachim <svenjoac@gmx.de>
6946
6947 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6948
064f328a
EZ
69492011-09-16 Eli Zaretskii <eliz@gnu.org>
6950
6951 * simple.el (line-move): If goal-column is set, move by logical
6952 lines, not by display lines. (Bug#971)
6953 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6954 to reflect the above change.
6955
e69df516
SM
69562011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * image.el (imagemagick-register-types): Use regexp-opt.
6959
cbb0f9ab
CY
69602011-09-15 Chong Yidong <cyd@stupidchicken.com>
6961
6962 * window.el (display-buffer-base-action): Rename from
6963 display-buffer-default-action. Make default value empty.
6964 (display-buffer-overriding-action): Convert to defvar.
6965 (display-buffer-fallback-action): New var.
6966
25322144
CY
69672011-09-15 Chong Yidong <cyd@stupidchicken.com>
6968
6969 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6970 declaration.
6971 (package--add-to-archive-contents): If there is a duplicate entry
6972 with an older version, remove it.
6973 (package-menu-mark-delete, package-menu-mark-install)
6974 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6975 (package-menu-mark-obsolete-for-deletion):
6976 Use package-menu-get-status instead of a regexp search.
25322144
CY
6977 (package-menu-get-status): Use tabulated-list-entry.
6978 (package-menu-mark-upgrades): New command.
d770725a 6979 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6980 (package-menu-execute): Do installation before deletion.
6981 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6982 instead of checking major-mode.
6983 (package-menu--find-upgrades): New function.
6984
7520339c
LMI
69852011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6986
6987 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6988 passwords in the log buffer.
65a046c4
LMI
6989 (smtpmail-process-filter): Update the process marker so that the
6990 "broken by peer" status message is inserted in the right place.
7520339c 6991
d3c30954
SM
69922011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6993
3fe48822
SM
6994 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6995 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6996 bibtex-completion-at-point-function.
6997 (bibtex-completion-at-point-function): Use them.
6998
1b8b3954
SM
6999 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7000
d3c30954
SM
7001 * mpc.el (mpc-constraints-tag-lookup): New function.
7002 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7003 also to browser "album|playlist".
7004
72779976
JL
70052011-09-14 Juri Linkov <juri@jurta.org>
7006
7007 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7008 (isearch-edit-string): Use length of `isearch-string' when
7009 `isearch-fail-pos' returns nil.
7010 (isearch-message): Remove duplicate code and call
7011 `isearch-fail-pos' with arg `t'.
7012
a0bf2bcd
CY
70132011-09-14 Chong Yidong <cyd@stupidchicken.com>
7014
17bb0a2d
CY
7015 * replace.el (occur-mode-goto-occurrence): Don't force using other
7016 window (Bug#9499).
7017
a0bf2bcd
CY
7018 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7019
f678e0b6
MR
70202011-09-14 Martin Rudalics <rudalics@gmx.at>
7021
7022 * window.el (display-buffer-window): Remove.
7023 (display-buffer-record-window): Use help-setup window parameter
7024 instead of variable display-buffer-window.
7025 (display-buffer-function, special-display-buffer-names)
7026 (special-display-function): Mention help-setup parameter instead
7027 of display-buffer-window in doc-string.
d3c30954
SM
7028 * help.el (help-window-setup): New argument help-window.
7029 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7030 Reword some messages.
7031 (with-help-window): Pass window used for displaying the buffer
7032 to help-window-setup. Don't set display-buffer-window.
7033
8e39b2e8
GM
70342011-09-13 Glenn Morris <rgm@gnu.org>
7035
7036 * emacs-lisp/debug.el (debugger-make-xrefs):
7037 Preserve point. (Bug#9462)
7038
85e9c04b
CY
70392011-09-13 Chong Yidong <cyd@stupidchicken.com>
7040
7041 * window.el (window-deletable-p): Use next-frame.
7042
1b36ed6a
MR
70432011-09-13 Martin Rudalics <rudalics@gmx.at>
7044
7045 * window.el (window-auto-delete): Remove.
7046 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7047 dedication and previous buffers.
1b36ed6a
MR
7048 (switch-to-prev-buffer): Don't delete window.
7049 (delete-windows-on): Delete a window's frame if and only if the
7050 window is dedicated.
7051 (replace-buffer-in-windows): Delete buffer's window or frame if
7052 and only if window is dedicated.
7053 (quit-window): Handle quit-restore as before last change.
4d61f28d 7054 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7055
ef8ef9fb
CY
70562011-09-13 Chong Yidong <cyd@stupidchicken.com>
7057
7058 * window.el (window-deletable-p): Never delete the last frame on a
7059 given terminal.
7060
b2cba41e
GM
70612011-09-13 Glenn Morris <rgm@gnu.org>
7062
7063 * help.el (describe-key-briefly): Copy previous standard-output change.
7064
51553db6 70652011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7066
7067 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7068
b7556719
GM
70692011-09-13 Glenn Morris <rgm@gnu.org>
7070
7071 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7072 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7073
64b51947
CY
70742011-09-12 Chong Yidong <cyd@stupidchicken.com>
7075
7076 * dired-aux.el (dired-mark-read-string): Don't return default
7077 value on empty input (Bug#9361).
7078 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7079 Omit initial minibuffer contents.
7080 (dired-do-chmod): Signal an error on empty input.
7081 (dired-mark-read-string): Don't return default on empty input.
7082
7083 * files.el (file-modes-symbolic-to-number): Doc fix.
7084
393a301e
SM
70852011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * international/mule-cmds.el (ucs-completions): Remove.
7088 (read-char-by-name): Use complete-with-action instead; add metadata.
7089
fa5660f9
CY
70902011-09-11 Chong Yidong <cyd@stupidchicken.com>
7091
7092 * window.el (display-buffer--action-function-custom-type)
7093 (display-buffer--action-custom-type): New vars.
7094 (display-buffer-alist, display-buffer-default-action)
7095 (display-buffer-overriding-action): Add defcustom types.
7096
4a592f66
CY
7097 * frame.el (delete-other-frames): Doc fix (Bug#276).
7098
73d56dbd
LMI
70992011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
7101 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7102
37ac18a3
CY
71032011-09-11 Chong Yidong <cyd@stupidchicken.com>
7104
7105 Change modes that used same-window-* vars to use switch-to-buffer.
7106
7107 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7108 Use switch-to-buffer.
7109
7110 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7111 (customize-browse, custom-buffer-create-other-window):
7112 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7113
7114 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7115 (Info-prev, Info-up, Info-speedbar-goto-node)
7116 (info-display-manual): Use switch-to-buffer.
7117 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7118
7119 * mail/sendmail.el (mail): Use switch-to-buffer.
7120 (mail-recover): Use switch-to-buffer-other-window.
7121
7122 * cmuscheme.el (run-scheme, switch-to-scheme):
7123 * ielm.el (ielm):
7124 * shell.el (shell):
7125 * net/rlogin.el (rlogin):
7126 * net/telnet.el (telnet, rsh):
7127 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7128
10195bd6
AS
71292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7130
7131 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7132
b322f63a
LMI
71332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134
39d7fed6
LMI
7135 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7136 so don't mention it (bug#9301).
ba5a81f1 7137 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7138
ee0e9f11
LMI
7139 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7140 match `x', `w32' and `ns', like the manual says (bug#9029).
7141
0b1c89c1 7142 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7143 (process-kill-buffer-query-function): Mention the buffer name in
7144 the query.
0b1c89c1 7145
77549ea8
LMI
7146 * image-mode.el (image-next-line): The line parameter is mandatory
7147 (bug#9258).
7148
803ef892
LMI
7149 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7150 which can be useful (bug#9301).
7151
12980837
LMI
7152 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7153
91054f8f
LMI
7154 * subr.el (match-string): Mention that the current buffer should
7155 be the same as the search was done in (bug#9282).
7156
b322f63a
LMI
7157 * facemenu.el: Disable the remove-* commands if the mark isn't
7158 active (bug#9162).
7159
3199b96f
CY
71602011-09-10 Chong Yidong <cyd@stupidchicken.com>
7161
7162 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7163 of display-buffer.
7164 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7165
7166 * replace.el (occur-mode-goto-occurrence)
7167 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7168 and display-buffer.
7169
7170 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7171 display-buffer.
7172
7173 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7174 special-display and same-window variables.
7175 (mail-other-window): Use switch-to-buffer-other-window.
7176 (mail-other-frame): USe switch-to-buffer-other-frame.
7177
393a301e
SM
7178 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7179 Use display-buffer-other-frame.
3199b96f
CY
7180 (gdb-display-gdb-buffer): Use pop-to-buffer.
7181
7182 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7183
7184 * progmodes/python.el: Don't set same-window-buffer-names.
7185
7186 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7187
7188 * window.el (display-buffer-alist): Add *Python*.
7189
8319e0bf
CY
71902011-09-10 Chong Yidong <cyd@stupidchicken.com>
7191
7192 * window.el (display-buffer-alist): Add entry for buffers
7193 previously handled same-window-*.
7194 (display-buffer-alist, display-buffer-default-action)
7195 (display-buffer-overriding-action): Mark as risky.
7196 (display-buffer-alist): Document action function changes.
7197 (display-buffer--same-window-action)
7198 (display-buffer--other-frame-action): New variables.
7199 (switch-to-buffer, display-buffer-other-frame): Use them.
7200 (display-buffer): Rename reuse-frame entry to reusable-frames.
7201 (display-buffer-reuse-selected-window): Function deleted.
7202 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7203 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7204 (display-buffer-special): New function.
7205 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7206 display-buffer-reuse-or-pop-window. Split off special-display
7207 part into display-buffer-special.
7208 (display-buffer-use-some-window): Don't perform any special
7209 pop-up-frames handling.
7210 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7211 (display-buffer--maybe-same-window): Rename from
0d3ff375 7212 display-buffer-maybe-same-window.
8319e0bf 7213
919a69aa
CY
7214 * info.el: Don't set same-window-regexps.
7215 (info-setup): New function.
7216 (info-other-window, info): Call it.
7217
7218 * cus-edit.el: Don't set same-window-regexps.
7219 (customize-group): New argument.
7220 (customize-group-other-window): Use it.
7221 (customize-face, customize-face-other-window): Likewise.
7222 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7223
8319e0bf
CY
7224 * net/rlogin.el:
7225 * net/telnet.el:
7226 * progmodes/gud.el: Don't set same-window-regexps.
7227
7228 * cmuscheme.el:
7229 * ielm.el:
7230 * shell.el:
7231 * mail/sendmail.el:
7232 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7233
25173000
JL
72342011-09-10 Juri Linkov <juri@jurta.org>
7235
7236 * isearch.el (isearch-edit-string): Remove obsolete mention of
7237 `C-w' (`isearch-yank-word-or-char') from docstring.
7238 (isearch-query-replace): Fix typo in docstring (bug#9466).
7239
056e44ef
JL
72402011-09-10 Juri Linkov <juri@jurta.org>
7241
7242 * paren.el (show-paren-function): Don't show escaped parens.
7243 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7244
c3760c17
EZ
72452011-09-10 Eli Zaretskii <eliz@gnu.org>
7246
7247 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7248 (mm-default-file-encoding): Remove autoload forms, they are
7249 replaced with autoload cookies in mml.el and mm-encode.el.
7250 (mail-add-attachment): New command.
7251 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7252 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7253 the doc string.
7254 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7255
fece895e
RT
72562011-09-10 Reuben Thomas <rrt@sc3d.org>
7257
e69df516
SM
7258 * simple.el (count-words-region): Use buffer if there's no region
7259 (bug#9429).
fece895e 7260
5e68ce4a
JL
72612011-09-09 Juri Linkov <juri@jurta.org>
7262
7263 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7264 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7265 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7266
0a6b9622
AM
72672011-09-09 Alan Mackenzie <acm@muc.de>
7268
7269 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7270 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7271
14a29deb
EZ
72722011-09-09 Eli Zaretskii <eliz@gnu.org>
7273
7274 Fix for Savannah bug#9392.
7275 * simple.el (mail-encode-mml): New defvar.
7276
7277 * mail/rmail.el (mail-encode-mml): Add a defvar.
7278 (rmail-enable-mime-composing): Default to t.
7279 (rmail-forward): Use MIME method of forwarding only if both
7280 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7281 Set mail-encode-mml non-nil if the MIME method was used.
7282
7283 * mail/sendmail.el (mml-to-mime): Add autoload form.
7284 (mail-encode-mml): Add a defvar.
7285 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7286 to nil.
7287 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7288 message through mml-to-mime, and reset mail-encode-mml to nil.
7289
28c45130
GM
72902011-09-09 Glenn Morris <rgm@gnu.org>
7291
7292 * woman.el (woman-if-body): When processing an .el block,
7293 do not delete the next .el block as well. (Bug#9447)
69f4b618 7294 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7295
9b1c252e
MR
72962011-09-08 Martin Rudalics <rudalics@gmx.at>
7297
7298 * window.el (window-deletable-p): Make sure window is live before
7299 invoking window-prev-buffers.
7300
567457e3
LL
73012011-09-08 Leo Liu <sdl.web@gmail.com>
7302
7303 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7304
97f05794
JL
73052011-09-08 Juri Linkov <juri@jurta.org>
7306
7307 * progmodes/compile.el (compilation-environment): Make it
7308 a defcustom (bug#8340).
7309
8b0874b5
MR
73102011-09-08 Martin Rudalics <rudalics@gmx.at>
7311
7312 * window.el (frame-auto-delete): Rename to window-auto-delete.
7313 Make it control auto-deletion of windows and/or frames.
7314 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7315 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7316 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7317 Rewrite handling of case when window/frame can be deleted.
7318 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7319 argument t. (Bug#9456)
8b0874b5 7320
4feb6e73
CY
73212011-09-07 Chong Yidong <cyd@stupidchicken.com>
7322
7323 * help-mode.el (help-mode): Restore autoload.
7324
91ab9c13
JL
73252011-09-07 Juri Linkov <juri@jurta.org>
7326
7327 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7328 `compilation-environment'. Set buffer-local
7329 `compilation-environment' to `thisenv' later after (funcall mode).
7330 (Bug#8340)
7331
7332 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7333 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7334 instead of replacing its value. (Bug#8340)
7335
0527e251
JL
73362011-09-07 Juri Linkov <juri@jurta.org>
7337
7338 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7339 based on text properties put by `grep-filter' instead of matching
7340 escape sequences.
7341 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7342 to the value of `grep-error-screen-columns' (bug#9438).
7343
249f792c
JL
73442011-09-07 Juri Linkov <juri@jurta.org>
7345
7346 * simple.el (next-error-highlight, next-error-highlight-no-select):
7347 Doc fix (bug#9432).
7348
ff7271b9
OT
73492011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7350
7351 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7352 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7353
183fc730
LL
73542011-09-07 Leo Liu <sdl.web@gmail.com>
7355
7356 * net/rcirc.el (rcirc-mode): Conditionally initialize
7357 rcirc-input-ring.
7358
77694924
SM
73592011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/find-func.el (find-function-C-source): Only set
7362 find-function-C-source-directory after checking that we found a source
7363 file there (bug#9440).
7364
d809b8eb
AM
73652011-09-06 Alan Mackenzie <acm@muc.de>
7366
7367 * isearch.el (isearch-other-meta-char): Wherever a key list is
7368 unread, "unread" the prefix arg, too. This fixes bug #8901.
7369
453de99f
OG
73702011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7371
7372 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7373
90439906
JL
73742011-09-05 Juri Linkov <juri@jurta.org>
7375
7376 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7377
f62bd846
JL
73782011-09-05 Juri Linkov <juri@jurta.org>
7379
7380 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7381 keeping point where processing of grep matches begins, and
7382 continue to delete remaining escape sequences from the same point.
7383 (grep-filter): Make leading zero optional in "0?1;31m" because
7384 git-grep emits "\033[1;31m" escape sequences unlike expected
7385 "\033[01;31m" as GNU Grep does (bug#9408).
7386 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7387
045820ec
JL
73882011-09-05 Juri Linkov <juri@jurta.org>
7389
7390 * subr.el (y-or-n-p): Capitalize "yes".
7391
f5e29b9b
MA
73922011-09-04 Michael Albinus <michael.albinus@gmx.de>
7393
7394 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7395 `tramp-cache-unload-hook' where appropriate.
7396 (tramp-methods): Rename `tramp-remote-sh' to
7397 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7398 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7399
7400 * net/tramp-sh.el (top): Don't require 'shell.
7401 (tramp-methods): Add `tramp-remote-shell' and
7402 `tramp-remote-shell-args' entries.
7403 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7404 (tramp-sh-handle-shell-command): Remove.
7405 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7406 Use `tramp-remote-shell'.
7407
2784c434
CY
74082011-09-03 Chong Yidong <cyd@stupidchicken.com>
7409
393a301e 7410 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7411 (sendmail-query-once): Save directly to send-mail-function.
7412 Update message-send-mail-function too.
7413
7414 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7415
464cdf56
CS
74162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7417
7418 * progmodes/python.el (python-mode-map): Use correct function to
7419 start python interpreter from menu-bar (as reported by Geert
7420 Kloosterman).
7421 (inferior-python-mode-map): Fix typo.
393a301e 7422 (python-shell-map): Remove.
464cdf56 7423
d37e5c87
DD
74242011-09-03 Deniz Dogan <deniz@dogan.se>
7425
7426 * net/rcirc.el (rcirc-print): Simplify code for
7427 rcirc-scroll-show-maximum-output. There is no need to walk
7428 through all windows to find the right one.
7429
f3ada0ee
CS
74302011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7431
7432 * help.el (help-return-method): Doc fix.
7433
1f3c99ca
MR
74342011-09-03 Martin Rudalics <rudalics@gmx.at>
7435
7436 * window.el (window-deletable-p): Don't return a non-nil value
7437 when there's a buffer that was shown in the window before.
7438 (Bug#9419)
393a301e
SM
7439 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7440 Set window's previous buffers to nil.
1f3c99ca 7441
a3cf097f
EZ
74422011-09-03 Eli Zaretskii <eliz@gnu.org>
7443
7444 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7445 newline before and after the tag line, so it doesn't interfere
7446 with determining the paragraph direction of bidirectional text.
7447
3d03de90
LL
74482011-09-03 Leo Liu <sdl.web@gmail.com>
7449
7450 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7451
c3313451
CY
74522011-09-02 Chong Yidong <cyd@stupidchicken.com>
7453
393a301e 7454 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7455 (pop-to-buffer): Change interactive spec. Pass second argument
7456 directly to display-buffer.
7457 (display-buffer): Fix interactive spec. Use functionp to
7458 distinguish between a function and a list of functions.
7459
7460 * abbrev.el (edit-abbrevs):
7461 * arc-mode.el (archive-extract):
7462 * autoinsert.el (auto-insert):
7463 * bookmark.el (bookmark-bmenu-list):
7464 * files.el (find-file):
7465 * view.el (view-buffer):
7466 * progmodes/compile.el (compilation-goto-locus):
7467 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7468
89894cd8
CY
74692011-09-02 Chong Yidong <cyd@stupidchicken.com>
7470
7471 * window.el (display-buffer-alist): Doc fix.
7472 (display-buffer): Add docstring. Don't treat
7473 display-buffer-default specially.
7474 (display-buffer-reuse-selected-window)
7475 (display-buffer-same-window, display-buffer-maybe-same-window)
7476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7477 (display-buffer-pop-up-window)
7478 (display-buffer-reuse-or-pop-window)
7479 (display-buffer-use-some-window): New functions.
7480 (display-buffer-default-action): Use them.
393a301e 7481 (display-buffer-default): Delete.
89894cd8
CY
7482 (pop-to-buffer-1): Fix choice of actions.
7483
ae0bc9fb
SM
74842011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * minibuffer.el (completion--insert-strings): Don't get confused by
7487 completion entries that end with an LF char.
7488
e9d90883
EZ
74892011-09-01 Eli Zaretskii <eliz@gnu.org>
7490
7491 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7492
437014c8
CY
74932011-09-01 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7496 (display-buffer-same-window, display-buffer-other-window):
7497 New functions.
437014c8
CY
7498 (pop-to-buffer-1): New function. Use the above.
7499 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7500 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7501
7502 * view.el (view-buffer-other-window, view-buffer-other-frame):
7503 Just use pop-to-buffer.
7504
a5e063d5
TV
75052011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7506
7507 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7508
793d32bb
WH
75092011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7510
7511 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7512
d65e4c15
RS
75132011-08-31 Richard Stallman <rms@gnu.org>
7514
7515 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7516 of the separation of rmail-view-buffer from rmail-buffer.
7517 If you say no to "replace original", the decrypt is in the
7518 view buffer. If you say yes, the decrypt goes into the
7519 rmail buffer also.
7520
f818cd2a
MR
75212011-08-31 Martin Rudalics <rudalics@gmx.at>
7522
7523 * window.el (display-buffer-window): Rewrite doc-string.
7524 (display-buffer-record-window): New function.
7525 (display-buffer-macro-specifiers)
7526 (display-buffer-even-window-sizes, display-buffer-set-height)
7527 (display-buffer-set-width, display-buffer-in-window)
7528 (display-buffer-reuse-window, display-buffer-split-specifiers)
7529 (display-buffer-side-specifiers, display-buffer-split-window-1)
7530 (display-buffer-split-window, display-buffer-split-atom-window)
7531 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7532 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7533 (display-buffer-other-window-means-other-frame)
7534 (display-buffer-normalize-special)
7535 (display-buffer-normalize-default)
7536 (display-buffer-normalize-argument)
7537 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7538 (display-buffer-normalize-specifiers, display-buffer-frame)
7539 (display-buffer-same-window, display-buffer-same-frame)
7540 (display-buffer-other-window)
7541 (display-buffer-same-frame-other-window)
7542 (display-buffer-other-frame, pop-to-buffer-same-window)
7543 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7544 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7545 (switch-to-buffer-same-frame)
7546 (switch-to-buffer-other-window-same-frame)
7547 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7548 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7549 (display-buffer-alist-set): Remove.
7550 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7551 (special-display-regexps, special-display-function):
7552 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7553 parameter.
7554 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7555 (special-display-frame-alist, special-display-popup-frame)
7556 (same-window-buffer-names, same-window-regexps, same-window-p)
7557 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7558 (split-window-preferred-function, split-height-threshold)
7559 (split-width-threshold, window-splittable-p)
7560 (split-window-sensibly, window--try-to-split-window)
7561 (window--frame-usable-p, even-window-heights)
7562 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7563 (window--display-buffer-2, display-buffer-other-frame):
7564 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7565 (display-buffer-default, display-buffer-assq-regexp): New functions.
7566 (display-buffer-alist): Rewrite doc-string.
7567 (display-buffer-default-action)
7568 (display-buffer-overriding-action): New variables.
7569 (display-buffer, switch-to-buffer): Rewrite.
7570 (pop-to-buffer): Restore Emacs 23 behavior but use
7571 window-normalize-buffer-to-display.
7572 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7573 Restore Emacs 23 behavior but use
7574 window-normalize-buffer-to-switch-to.
7575 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7576 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7577 Rewrite using Emacs 23 options.
f818cd2a 7578
5bc3b51d
MA
75792011-08-31 Michael Albinus <michael.albinus@gmx.de>
7580
7581 * net/tramp.el (tramp-root-regexp): Remove.
7582 (tramp-completion-file-name-regexp-unified)
7583 (tramp-completion-file-name-regexp-separate)
7584 (tramp-completion-file-name-regexp-url): Don't use leading volume
7585 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7586 (tramp-drop-volume-letter): Simplify definition.
7587 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7588
b1a4f8e1
SM
75892011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7592 (bug#9356).
7593
5664fa7b
RT
75942011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7595
b1a4f8e1 7596 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7597
9a45d6c3
JL
75982011-08-29 Juri Linkov <juri@jurta.org>
7599
7600 * isearch.el (isearch-done): Don't display message "Mark saved"
7601 when arg `edit' is non-nil to prevent its flicker in the echo area.
7602
fb87e0fb
CY
76032011-08-28 Chong Yidong <cyd@stupidchicken.com>
7604
7605 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7606 obsolete packages for deletion.
7607
09ac1c2a
CS
76082011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7609
7610 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7611 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7612 view-mode from help-mode.
7613 (help-xref-override-view-map): Remove.
7614 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7615 view-mode is not used anymore.
7616
7a1ff57f
CY
76172011-08-28 Chong Yidong <cyd@stupidchicken.com>
7618
7619 * server.el (server-port): Doc fix.
7620
b9696605
CY
7621 * cus-theme.el (custom-theme-choose-mode): Inherit from
7622 special-mode (Bug#9124).
7623 (custom-theme-choose-mode-map): Add special-mode to parent.
7624
ef8cdf8c
AM
76252011-08-28 Alan Mackenzie <acm@muc.de>
7626
7627 * progmodes/cc-fonts.el
7628 (c-make-font-lock-BO-decl-search-function): New function.
7629 (c-basic-matchers-after - "Fontify the clauses after various
7630 keywords"): Extract the three keyword lists for the 3 erroneous
7631 constructs from the list of four, and use the new function above
7632 in place of an old one.
7633
27de4e20
DD
76342011-08-28 Deniz Dogan <deniz@dogan.se>
7635
7636 * net/rcirc.el (rcirc-insert-prev-input)
7637 (rcirc-insert-next-input): Remove unused argument.
7638
356a3681
SM
76392011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7642
3fc9b218
AM
76432011-08-27 Alan Mackenzie <acm@muc.de>
7644
7645 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7646 handle function pointer parameters properly.
7647
538a061c
MR
76482011-08-27 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (display-buffer-reuse-window): Fix case where
7651 selected window was reused with non-nil OTHER-WINDOW argument.
7652 (Bug#9381)
7653
35b1c40c
DD
76542011-08-27 Deniz Dogan <deniz@dogan.se>
7655
7656 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7657 oftc's NickServ messages.
7658
2f6a3e79
GM
76592011-08-27 Glenn Morris <rgm@gnu.org>
7660
7661 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7662
7254299e
CY
76632011-08-26 Chong Yidong <cyd@stupidchicken.com>
7664
7665 * emacs-lisp/package.el (package-install): Call package-initialize
7666 if called interactively.
7667
f8ccf167
LL
76682011-08-26 Leo Liu <sdl.web@gmail.com>
7669
7670 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7671
3e8cd5ce
JL
76722011-08-25 Juri Linkov <juri@jurta.org>
7673
7674 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7675 `search-whitespace-regexp' (bug#9364).
7676
93eb7113
JL
76772011-08-25 Juri Linkov <juri@jurta.org>
7678
7679 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7680 `regexp-search-ring' to their global values to protect from
7681 updating by `read-from-minibuffer' (bug#9185).
7682
f65d1611
JL
76832011-08-25 Juri Linkov <juri@jurta.org>
7684
7685 * textmodes/ispell.el (ispell-command-loop): Add newline
7686 at the end of the "Use option `i'..." line.
7687
f1cf7a31
JL
76882011-08-25 Juri Linkov <juri@jurta.org>
7689
7690 * battery.el (display-battery-mode): If `battery-status-function'
7691 or `battery-mode-line-format' is nil, display the message and set
7692 `display-battery-mode' to nil (bug#9363).
7693
0c95fcf7
EZ
76942011-08-25 Eli Zaretskii <eliz@gnu.org>
7695
7696 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7697 bidi-string-mark-left-to-right; they are unnecessary now.
7698
a2ebe600
DD
76992011-08-25 Deniz Dogan <deniz@dogan.se>
7700
7701 * net/quickurl.el: Documentation typo fixes.
7702
e4ed06f1
CY
77032011-08-25 Chong Yidong <cyd@stupidchicken.com>
7704
7705 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7706
e5f1c99e
GM
77072011-08-25 Glenn Morris <rgm@gnu.org>
7708
b2948976
GM
7709 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7710
e5f1c99e
GM
7711 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7712 (smtpmail-via-smtp): Handle nil response from smtp.
7713
f22f4808
JL
77142011-08-24 Juri Linkov <juri@jurta.org>
7715
7716 * proced.el (proced-marked): Inherit from `error' instead of
7717 `font-lock-warning-face'.
7718
7719 * ibuffer.el (ibuffer-marked-face): Change default face from
7720 `font-lock-warning-face' to `warning'.
7721 (ibuffer-deletion-face): Change default face from
7722 `font-lock-type-face' to `error'.
7723
7724 * battery.el (battery-update): Use the face `error' instead of
7725 `font-lock-warning-face' (bug#6117).
7726
6a93965e
JL
77272011-08-24 Juri Linkov <juri@jurta.org>
7728
7729 * faces.el (success): Change face color from "Green3" to
7730 "ForestGreen" on light background (bug#9353).
7731
1ed43b09
CY
77322011-08-24 Chong Yidong <cyd@stupidchicken.com>
7733
5664fa7b
RT
7734 * window.el (quit-window): Rename from quit-restore-window.
7735 Use same arglist as old quit-window.
1ed43b09
CY
7736 (frame-auto-delete): Doc fix.
7737
7738 * view.el (view-mode-exit): Use quit-window.
7739
11dcdbb2
JL
77402011-08-24 Juri Linkov <juri@jurta.org>
7741
7742 * isearch.el (isearch-ring-adjust1): Start visiting previous
7743 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7744 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7745 for empty search string (when the last search string is reused
7746 automatically) to adjust the isearch ring to the last element and
7747 prepare the correct index for further M-p commands (bug#9185).
7748
de62b4df
KH
77492011-08-24 Kenichi Handa <handa@m17n.org>
7750
7751 * international/ucs-normalize.el: If decomposition property of
7752 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7753 nil.
7754 (nfd, nfkd): Likewise.
7755
963b492b
SM
77562011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7759 from process filters aren't reliably transmitted to the surrounding
7760 accept-process-output.
7761 (mpc-proc-check): New function.
7762 (mpc-proc-sync): Use it (bug#8293)
7763
93b6b5e1
SM
77642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7767 Add compatibility functions (bug#9313).
7768
bca633fb
EZ
77692011-08-23 Eli Zaretskii <eliz@gnu.org>
7770
b177498a
EZ
7771 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7772
6df6ae42 7773 * international/uni-bidi.el: Regenerate.
bca633fb 7774
0902a04e
KH
77752011-08-23 Kenichi Handa <handa@m17n.org>
7776
7777 * international/charprop.el:
7778 * international/uni-bidi.el:
7779 * international/uni-category.el:
7780 * international/uni-combining.el:
7781 * international/uni-comment.el:
7782 * international/uni-decimal.el:
7783 * international/uni-decomposition.el:
7784 * international/uni-digit.el:
7785 * international/uni-lowercase.el:
7786 * international/uni-mirrored.el:
7787 * international/uni-name.el:
7788 * international/uni-numeric.el:
7789 * international/uni-old-name.el:
7790 * international/uni-titlecase.el:
7791 * international/uni-uppercase.el: Regenerate.
7792
3bbf23bc
MR
77932011-08-23 Martin Rudalics <rudalics@gmx.at>
7794
7795 * help.el (help-window-setup): Fix message displayed when other
7796 window is reused. (Bug#9341)
7797
b3fd59bd
SM
77982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7799
1802e444
SM
7800 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7801 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7802
b3fd59bd
SM
7803 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7804 Mark obsolete.
7805 * shell.el (shell-parse-pcomplete-arguments): New function.
7806 (shell-completion-vars): Use it instead (bug#9160).
7807
4eb61348
SM
78082011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7809
867cab74
SM
7810 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7811 strings and comments (bug#9333).
7812
4eb61348
SM
7813 * emacs-lisp/debug.el (debug-arglist): New function.
7814 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7815 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7816
262a1439
JL
78172011-08-22 Juri Linkov <juri@jurta.org>
7818
56ee679c
JL
7819 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7820 Revert regexp that highlights output switches to its old
7821 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7822
262a1439
JL
7823 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7824 to check for empty output (bug#9226).
7825
f13f86fb
CY
78262011-08-22 Chong Yidong <cyd@stupidchicken.com>
7827
7828 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7829 symbol-constituent as the default, as that stops font-lock from
7830 working properly (Bug#8843).
7831
c65c9622
LMI
78322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7835 `coding-system-for-*' around the process open call to avoid
7836 auth-source side effects.
e7f2c178 7837 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7838 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7839 probe hangs.
c65c9622 7840
23a8a5ab
CY
78412011-08-21 Chong Yidong <cyd@stupidchicken.com>
7842
ff98b2dd
CY
7843 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7844
23a8a5ab
CY
7845 * emacs-lisp/find-func.el (find-function-noselect): New arg
7846 lisp-only.
7847
7848 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7849 signal an error for built-in functions (Bug#6664).
7850
f5e3c598
LMI
78512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852
7853 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7854 (smtpmail-try-auth-methods): Use it.
7855
a3f2468a
CY
78562011-08-21 Chong Yidong <cyd@stupidchicken.com>
7857
2c34e8da
CY
7858 * font-lock.el (font-lock-fontify-region)
7859 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7860 (font-lock-default-unfontify-buffer)
7861 (font-lock-default-fontify-region)
7862 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7863
b3fd59bd
SM
7864 * progmodes/compile.el (compilation-error-properties):
7865 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7866 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7867 `ant' regexp.
ee31aabc 7868
a3f2468a
CY
7869 * net/browse-url.el (browse-url-firefox): Don't call
7870 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7871
8e999f70
GM
78722011-08-20 Glenn Morris <rgm@gnu.org>
7873
c21a496a
GM
7874 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7875
59ee0542
GM
7876 * tutorial.el (tutorial--default-keys): Update some default bindings.
7877
8e999f70
GM
7878 * files.el (hack-local-variables): Fully ignore case for "mode:".
7879
e3715033
AM
78802011-08-20 Alan Mackenzie <acm@muc.de>
7881
7882 Resolve invalid use of a regexp in regexp-opt.
7883
4d61f28d
JB
7884 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7885 detection for a java annotation.
e3715033 7886
4d61f28d 7887 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7888 detection for a java annotation.
7889
4d61f28d
JB
7890 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7891 handling for java.
e3715033
AM
7892 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7893
04ed2e9c
CY
78942011-08-20 Chong Yidong <cyd@stupidchicken.com>
7895
7896 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7897 (Bug#9274).
7898
826cee64
AM
78992011-08-20 Alan Mackenzie <acm@muc.de>
7900
58179cce 7901 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7902 such a construct. Mainly for when jit-lock etc. starts a chunk
7903 here.
7904
58179cce 7905 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7906 variable.
58179cce 7907 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7908 c-make-font-lock-search-function.
7909 (c-make-font-lock-search-function): Use the above function.
7910 (c-make-font-lock-context-search-function): New function.
7911 (c-cpp-matchers): Enhance the preprocessor expression case with
7912 the above function
7913 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7914 which takes an expression.
7915
7916 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7917
13009bd8
MR
79182011-08-20 Martin Rudalics <rudalics@gmx.at>
7919
7920 * window.el (display-buffer-reuse-window)
7921 (display-buffer-pop-up-window): Don't reuse or split a side
7922 window.
7923
9234ff7f
GM
79242011-08-19 Glenn Morris <rgm@gnu.org>
7925
7926 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7927 Downcase "Mode:". (Bug#9331)
9234ff7f 7928
f635daa1
CY
79292011-08-18 Chong Yidong <cyd@stupidchicken.com>
7930
7931 * international/characters.el: Add L and R categories.
7932
7933 * subr.el (bidi-string-mark-left-to-right): Rename from
7934 string-mark-left-to-right. Use category search.
7935
7936 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7937
bc987f8b
JL
79382011-08-18 Juri Linkov <juri@jurta.org>
7939
7940 * faces.el (error, warning, success): New faces with definitions
7941 copied from old default values of `font-lock-warning-face',
7942 `compilation-warning', `compilation-info' (bug#6117).
7943
7944 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7945
7946 * progmodes/compile.el (compilation-error): Inherit from `error'.
7947 (compilation-warning): Inherit from `warning'.
7948 (compilation-info): Inherit from `success'.
7949
7950 * dired.el (dired-marked): Inherit from `warning'.
7951 (dired-flagged): Inherit from `error'.
7952
57173b96
LMI
79532011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7954
3e79eb87
LMI
7955 * mail/smtpmail.el (auth-source): Require to avoid problems with
7956 binding variables (bug#9298). Also clean up some unused
7957 autoloads.
7958
b3fd59bd
SM
7959 * net/network-stream.el (network-stream-open-starttls):
7960 Support using starttls.el without using gnutls-cli.
57173b96 7961
02b404de
JL
79622011-08-17 Juri Linkov <juri@jurta.org>
7963
7964 * progmodes/grep.el (rgrep): Handle the case when
7965 `grep-find-command' is a cons cell (bug#9278).
7966
8c9177f2
MR
79672011-08-17 Martin Rudalics <rudalics@gmx.at>
7968
7969 * window.el (display-buffer-pop-up-frame): Run frame creation
7970 function with BUFFER current (as special-display-popup-frame
7971 does). Reported by Drew Adams.
7972
3644a0ab
DU
79732011-08-17 Daiki Ueno <ueno@unixuser.org>
7974
7975 * epa-mail.el: Simplify GnuPG group expansion using
7976 epg-expand-group.
7977 (epa-mail-group-alist, epa-mail-group-modtime)
7978 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7979 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7980 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7981 Remove.
7982
5e617bc2 79832011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7984
7985 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7986
9c4aeabf
AM
79872011-08-16 Alan Mackenzie <acm@muc.de>
7988
7989 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7990 Correct, to avoid the inside of macros.
7991
3a99bf64
RS
79922011-08-16 Richard Stallman <rms@gnu.org>
7993
04963aa8
RS
7994 * epa-mail.el: Handle GnuPG group definitions.
7995 (epa-mail-group-alist, epa-mail-group-modtime)
7996 (epa-mail-gnupg-conf-file): New variables.
7997 (epa-mail-parse-groups, epa-mail-sync-groups)
7998 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7999 (epa-mail-expand-recipients): New functions.
8000 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8001
177549d0
RS
8002 * mail/rmail.el (rmail-epa-decrypt): New command.
8003
fe38beef
RS
8004 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8005 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8006 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8007 (epa-decrypt-armor-in-region): Make error message clearer.
8008
934eacb9
SM
80092011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8012 and "a2b" to "ab" for `prefix'.
8013
d024fb4e
CY
80142011-08-14 Chong Yidong <cyd@stupidchicken.com>
8015
8016 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8017 filter groups.
de148fee
CY
8018 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8019 Fourquet (Bug#8804).
d024fb4e 8020
62f1ca49
JB
80212011-08-12 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * startup.el (argi): Declare as global variable (bug#9275).
8024
9ccaaa4b
CY
80252011-08-12 Chong Yidong <cyd@stupidchicken.com>
8026
8027 * subr.el (string-mark-left-to-right): Search the entire string
8028 for RTL script, not just the terminating character. Doc fix.
8029
a3dae87a
SM
80302011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8031
6cd18349
SM
8032 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8033 New function.
8034 (js--regexp-literal, js-syntax-propertize-function): Remove.
8035 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8036 (js-mode-map): Don't rebind electric keys.
8037 (js-insert-and-indent): Remove.
8038 (js-mode): Setup electric-layout and electric-indent instead.
8039
a3dae87a
SM
8040 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8041
9d5cb631
DU
80422011-08-12 Daiki Ueno <ueno@unixuser.org>
8043
8044 * epa.el (epa-progress-callback-function): Fix the logic of
8045 displaying progress.
8046 * epa-file.el (epa-file-insert-file-contents): Make progress
8047 display more user-friendly.
8048 (epa-file-write-region): Ditto.
8049
3e26a4a2
CY
80502011-08-10 Chong Yidong <cyd@stupidchicken.com>
8051
8052 * subr.el (string-mark-left-to-right): New function.
8053
8054 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8055 Use string-mark-left-to-right.
8056 (list-buffers-noselect): Caller changed.
8057
a3dae87a
SM
8058 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8059 Use string-mark-left-to-right.
3e26a4a2
CY
8060 (tabulated-list-print): Recenter after moving point.
8061
ac8cf6e6
JL
80622011-08-10 Juri Linkov <juri@jurta.org>
8063
8064 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8065 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8066 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8067
8d96c9a4
CY
80682011-08-09 Chong Yidong <cyd@stupidchicken.com>
8069
8070 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8071 (Bug#7554).
8072
7be1c708 80732011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8074
8075 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8076 character. (Bug#6594)
8077
37e11a63
CY
80782011-08-08 Chong Yidong <cyd@stupidchicken.com>
8079
839dde57
CY
8080 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8081 (image-dired--with-db-file): New macro.
8082 (image-dired-write-tags, image-dired-remove-tag)
8083 (image-dired-create-gallery-lists, image-dired-write-comments)
8084 (image-dired-get-comment, image-dired-mark-tagged-files)
8085 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8086 (image-dired-gallery-generate): Use insert-file-contents.
8087
37e11a63
CY
8088 * time.el (display-time-world-list, display-time-world-display):
8089 * time-stamp.el (time-stamp-string):
8090 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8091 set-time-zone-rule (Bug#7337).
8092
0b4946c4
DU
80932011-08-08 Daiki Ueno <ueno@unixuser.org>
8094
8095 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8096 (epg-error-to-string, epg-errors-to-string): New function.
8097 (epg-wait-for-completion): Reverse errors list.
8098 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8099 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8100 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8101 (epg-sign-keys, epg-generate-key-from-file)
8102 (epg-generate-key-from-string): Format errors by using
8103 epg-errors-to-string (bug#9255).
8104 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8105
75bfc667
JL
81062011-08-07 Juri Linkov <juri@jurta.org>
8107
8108 * faces.el (list-faces-display): Remove extra angle bracket
8109 from `help-mode-map'.
8110
8111 * info.el (Info-history-toc-nodes): Doc fix.
8112
8113 * longlines.el (longlines-mode): Doc fix.
8114
673e08bb
SM
81152011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8116
4640dd88
SM
8117 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8118 of statements and in a few more cases (bug#9183).
8119
673e08bb
SM
8120 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8121 New functions.
8122 (cl-transform-lambda): Use them (bug#9239).
8123
89b3f019
MR
81242011-08-05 Martin Rudalics <rudalics@gmx.at>
8125
8126 * window.el (display-buffer-same-window)
8127 (display-buffer-same-frame, display-buffer-other-window)
8128 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8129 (pop-to-buffer-other-window)
8130 (pop-to-buffer-same-frame-other-window)
8131 (pop-to-buffer-other-frame): Make them defuns.
8132 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8133
640c8776
SM
81342011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * subr.el (make-composed-keymap): Move from C. Change calling
8137 convention, and improve docstring to bring attention to a subtle point.
8138 * minibuffer.el (completing-read-default): Adjust accordingly.
8139
63648a95
MA
81402011-08-03 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8143 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8144
8145 * net/trampver.el: Update release number.
8146
b796c9b7
SM
81472011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8150 "in" (bug#9190).
8151
2239d7d5
LMI
81522011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153
e07dd7c3
LMI
8154 * mail/sendmail.el (sendmail-query-once): Restore the current
8155 buffer after querying (bug#9074).
8156
0e6a2bd7
LMI
8157 * dired.el (dired-flagged): Use different faces for marked and
8158 flagged files (bug#6117).
8159
ce887515
LMI
8160 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8161 (bug#4433).
8162
92f2affc
LMI
8163 * ido.el (ido-mode): Switch off the message if called
8164 non-interactively.
8165
57d5aff0
LMI
8166 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8167 before 587, since it appears that that's more likely to work for
8168 more people.
8169
98cd6c18 8170 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8171 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8172 exist.
8173
b96dec83
LMI
8174 * info.el: Remove the `Info-beginning-of-buffer' function
8175 (bug#8325).
8176
b796c9b7
SM
8177 * net/network-stream.el (network-stream-open-starttls):
8178 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8179
d90e2ea0
MR
81802011-08-01 Martin Rudalics <rudalics@gmx.at>
8181
8182 * window.el (display-buffer-in-window): Don't set dedicated status
8183 of window here (Bug#9215).
8184 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8185 (display-buffer-pop-up-side-window)
b796c9b7 8186 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8187
cca09170
SM
81882011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8191 before binding generated-autoload-file.
8192
027b979c
DD
81932011-08-01 Deniz Dogan <deniz@dogan.se>
8194
8195 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8196
3c7ee4f3
MA
81972011-07-30 Michael Albinus <michael.albinus@gmx.de>
8198
8199 Sync with Tramp 2.2.2.
8200
8201 * net/trampver.el: Update release number.
8202
2cc8e51a
JL
82032011-07-30 Juri Linkov <juri@jurta.org>
8204
8205 * dired-aux.el (dired-touch-initial): Remove function.
8206 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8207 current time, and `default' to the last modification time of the
8208 current marked file (bug#6887).
8209
a514d856
JM
82102011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8211
8212 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8213 numeric argument to read-number (bug#9163).
a514d856 8214
8a7eddd7
MA
82152011-07-27 Michael Albinus <michael.albinus@gmx.de>
8216
8217 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8218 connection process, it could be nil.
8219
1ddd96f5
LL
82202011-07-27 Leo Liu <sdl.web@gmail.com>
8221
8222 Simplify url handling in rcirc-mode.
8223
8224 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8225 (rcirc-browse-url-at-mouse): Remove.
8226 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8227
b248a85d
AM
82282011-07-26 Alan Mackenzie <acm@muc.de>
8229
8230 Fontify bitfield declarations properly.
8231
8232 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8233 (c-symbol-chars): Now exported as a lang variable.
8234 (c-not-primitive-type-keywords): New lang variable.
8235
8236 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8237 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8238 parsed as a bitfield declaration.
b248a85d 8239
b796c9b7
SM
8240 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8241 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8242 (c-punctuation-in): New function.
8243 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8244 declarations properly.
8245
68575ab0
UJ
82462011-07-26 Ulf Jasper <ulf.jasper@web.de>
8247
8248 * calendar/icalendar.el (icalendar--all-events): Take care of
8249 multiple vcalendars in a single file.
b796c9b7 8250 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8251
0f0a88b9
DD
82522011-07-25 Deniz Dogan <deniz@dogan.se>
8253
8254 * image.el (insert-image): Clarifying docstring.
8255
0b3f36df
MA
82562011-07-24 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8259 `tramp-send-command-and-check' if there is no error.
8260 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8261
a9901f61
AM
82622011-07-22 Alan Mackenzie <acm@muc.de>
8263
8264 Prevent cc-langs.elc being loaded at run time.
8265
8266 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8267 cc-langs.
8268
4d61f28d 8269 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8270 "(require 'cc-langs)". Quote a form so it will evaluate at
8271 (cc-mode's) compilation time.
8272
11d074b2
MA
82732011-07-22 Michael Albinus <michael.albinus@gmx.de>
8274
8275 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8276 loading. (Bug#9114)
8277
938b94c8
MR
82782011-07-21 Martin Rudalics <rudalics@gmx.at>
8279
8280 * window.el (display-buffer-pop-up-window)
8281 (display-buffer-pop-up-side-window)
8282 (display-buffer-in-side-window): Call display-buffer-set-height
8283 and display-buffer-set-width after setting the new window's
b796c9b7 8284 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8285
bfa4f190
SS
82862011-07-20 Sam Steingold <sds@gnu.org>
8287
8288 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8289 (etags-tags-included-tables): Call `convert-standard-filename' on
8290 the file names contained in TAGS so that windows Emacs can handle
8291 TAGS files created by cygwin ctags.
8292
8ca42262
LMI
82932011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294
8295 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8296 which apparently didn't work.
8297
5db2afd2 82982011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8299
5db2afd2
RW
8300 * proced.el (proced-send-signal): For *Marked Processes* buffer
8301 put point at beginning of buffer.
8302
92e15d10
SB
83032011-07-19 Stephen Berman <stephen.berman@gmx.net>
8304
8305 * proced.el (proced-format): Make header lines align with the text
8306 (bug#1779).
8307
1bfd59e5
LMI
83082011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8309
8310 * view.el (view-buffer): Allow running in `special' modes if we're
8311 visiting a file (bug#8615).
8312
f5aae37c
MR
83132011-07-19 Martin Rudalics <rudalics@gmx.at>
8314
8315 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8316 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8317 New functions.
f5aae37c
MR
8318 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8319 more accurately.
8320
bf2c1571
AM
83212011-07-18 Alan Mackenzie <acm@muc.de>
8322
8323 Fontify declarators properly when, e.g., a jit-lock chunk begins
8324 inside a declaration.
8325
8326 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8327
b796c9b7
SM
8328 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8329 New function.
bf2c1571
AM
8330 (c-complex-decl-matchers): Insert reference to
8331 c-font-lock-enclosing-decls.
8332
8333 * progmodes/cc-engine.el (c-backward-single-comment):
8334 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8335 to nil around calls to (forward-comment -1).
8336
4e190b80
LMI
83372011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8338
12dc863d
LMI
8339 * image.el (put-image): Doc typo fix.
8340
a762e966
LMI
8341 * progmodes/etags.el (tags-search): Doc typo fix.
8342
4e190b80
LMI
8343 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8344 password if we get errors 550 to 554.
8345
f019fb21
LMI
83462011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
b796c9b7 8348 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8349
81746738
LMI
8350 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8351 indentation character (bug#6380).
8352
3ee3a1b5
LMI
8353 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8354
c82f64de
LMI
8355 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8356 to clarify what the problem is (bug#4291).
8357
f019fb21
LMI
8358 * simple.el (current-kill): Clarify what
8359 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8360 (auto-fill-mode): Document `auto-fill-function' in relation to
8361 `auto-fill-mode' (bug#2470).
f019fb21 8362
0794775d
LM
83632011-07-16 Lawrence Mitchell <wence@gmx.li>
8364
8365 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8366 method if slot is read-only (bug#9035).
8367
be39b8cc
MR
83682011-07-16 Martin Rudalics <rudalics@gmx.at>
8369
b796c9b7 8370 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8371 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8372 selected before, see discussion of (Bug#8615), (Bug#6954).
8373 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8374
6ccf7859
GM
83752011-07-15 Glenn Morris <rgm@gnu.org>
8376
8377 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8378 Respect help-form.
6ccf7859 8379
87e86684
LM
83802011-07-09 Lawrence Mitchell <wence@gmx.li>
8381
8382 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8383 (gnutls-negotiate): Use it.
8384
d6066239
LMI
83852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8386
b796c9b7
SM
8387 * net/gnutls.el (gnutls-negotiate):
8388 Upcase `gnutls-algorithm-priority'.
d6066239 8389
bd23ebc0
GM
83902011-07-15 Glenn Morris <rgm@gnu.org>
8391
c65bca65
GM
8392 * jka-compr.el (jka-compr-verbose): Move from here...
8393 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8394 Add missing :version tag.
8395 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8396
478615cc
LMI
83972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8398
7b41decb
LMI
8399 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8400 (gnutls-negotiate): Use it.
8401
dbc44fcd
LMI
8402 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8403
06789f97
LMI
8404 * info.el (Info-beginning-of-buffer): New command.
8405 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8406 announcing `b' as the key (bug#8325).
ab896c37 8407 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8408
c39da690
LMI
8409 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8410
3aa5f34b
LMI
8411 * international/mule-cmds.el
8412 (describe-specified-language-support): Make the error message
8413 clearer (bug#8905).
8414
4bf0979f
LMI
8415 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8416
478615cc
LMI
8417 * isearch.el (isearch-barrier): Add a doc string, since it's
8418 mentioned in a function doc string (bug#8678).
8419
75c68aa1
MR
84202011-07-15 Martin Rudalics <rudalics@gmx.at>
8421
8422 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8423 buffer argument (Bug#9083) and self-identifying label argument.
8424
a7c33da2
GM
84252011-07-15 Glenn Morris <rgm@gnu.org>
8426
8427 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8428
2f5c6024
LMI
84292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8430
8431 * man.el (Man-fontify-manpage): Fix message when formatting the
8432 man page (bug#7929).
8433
0bb23927 84342011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8435
8436 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8437 argument LRM; if non-nil, append an invisible LRM character to the
8438 buffer name.
8439 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8440 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8441 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8442 paragraph direction.
cce4b0a7 8443
621ef9ab
LMI
84442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
d1583c48
LMI
8446 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8447 the man page name (bug#7929).
8448
6a57fb5f
LMI
8449 * image.el (put-image): Mention the `put-image' overlay property
8450 (bug#7834).
8451
d7956b14
LMI
8452 * scroll-bar.el (set-scroll-bar-mode): Mention that
8453 `scroll-bar-mode' lists the values (bug#7772).
8454
5b2d4a66
LMI
8455 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8456 command (bug#7729).
8457
7509a874
LMI
8458 * rect.el (apply-on-rectangle): Return the point after the last
8459 operation.
8460 (string-rectangle): Go to the point after the last operation
8461 (bug#7522).
8462
4fe74b19
LMI
8463 * printing.el (pr-toggle-region): Clarify the documentation
8464 slightly (bug#7493).
8465
b796c9b7
SM
8466 * time.el (display-time-update):
8467 Allow `display-time-mail-function' to return nil (bug#7158).
8468 Fix suggested by Detlev Zundel.
ab283561 8469
fc233c9d
LMI
8470 * vc/diff.el (diff): Clarify the order the file names are read
8471 (bug#7111).
8472
43f5740b
LMI
8473 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8474 the doc string (bug#7015).
8475
f2182a76
LMI
8476 * font-lock.el (font-lock-maximum-decoration): Mention what
8477 numeric levels mean (bug#6935).
8478
621ef9ab
LMI
8479 * startup.el (initial-buffer-choice): Don't mention the `none'
8480 selection, which is against policy.
8481
adc47434
MR
84822011-07-14 Martin Rudalics <rudalics@gmx.at>
8483
b796c9b7
SM
8484 * window.el (display-buffer-normalize-special):
8485 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8486
7e5bfb8f
EZ
84872011-07-14 Eli Zaretskii <eliz@gnu.org>
8488
8489 * subr.el (version<, version<=, version=): Mention "-CVS" and
8490 "-12345" alpha version numbers.
8491
27fa387a
CY
84922011-07-14 Chong Yidong <cyd@stupidchicken.com>
8493
8494 * bindings.el: Add advertised binding for set-mark-command
8495 (Bug#5772).
8496
8bdfa064
CY
84972011-07-14 Chong Yidong <cyd@stupidchicken.com>
8498
8499 * bindings.el (mode-line-other-buffer):
8500 * bookmark.el (bookmark-bmenu-2-window):
8501 * bs.el (bs-cycle-next, bs-cycle-previous):
8502 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8503 switch-to-buffer.
8504
8505 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8506 Delete.
8bdfa064 8507
5eba16a3
JB
85082011-07-14 Juanma Barranquero <lekktu@gmail.com>
8509
8510 * follow.el (follow-debug-message, follow-redisplay):
8511 * jka-cmpr-hook.el (with-auto-compression-mode):
8512 Fix typos in docstrings.
8513
15853710
LMI
85142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8515
a28e4607
LMI
8516 * subr.el (with-silent-modifications): Clarify somewhat what the
8517 macro inhibits (bug#6525).
8518
15853710
LMI
8519 * simple.el (eval-expression): Note what it does if called
8520 interactively (bug#6495).
8521
bee0fcef
CY
85222011-07-13 Chong Yidong <cyd@stupidchicken.com>
8523
b796c9b7
SM
8524 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8525 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8526
8527 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8528 Remove switch-to-buffer.
8529
58274504
LMI
85302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
bd2fcc8d
LMI
8532 * files.el (make-directory): Clarify that an error will be raised
8533 if there's an error (bug#6397).
8534
0f04b32c
LMI
8535 * startup.el (initial-buffer-choice): Add `none' as a choice
8536 (bug#6234).
8537
465c5fc8
LMI
8538 * subr.el (add-hook): Clarify section about buffer-local hooks
8539 (bug#6218).
8540
58274504
LMI
8541 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8542
bead9a43
JB
85432011-07-13 Juanma Barranquero <lekktu@gmail.com>
8544
8545 * tabify.el (untabify): Preserve the current column so that point
8546 doesn't move (bug#6032).
8547
3af98a7b
LMI
85482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8549
b796c9b7
SM
8550 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8551 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8552
6240145a
GM
85532011-07-13 Glenn Morris <rgm@gnu.org>
8554
8555 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8556 (dired-insert-directory): Give a message the first time
8557 if ls is found not to support --dired.
8558
1d8c2ccc
LMI
85592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8560
8561 * simple.el (toggle-truncate-lines): Clarify what is toggled
8562 (bug#5580). Text by Drew Adams.
8563
5fc4038e
CY
85642011-07-13 Chong Yidong <cyd@stupidchicken.com>
8565
8566 * simple.el (blink-matching-open): Make the error message from the
8567 last change less verbose.
8568
bf6012e5
DN
85692011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8570
8571 * font-lock.el (font-lock-comment-face): Use the high contrast
8572 "yellow" color for font-lock-comment-face on low color terminals
8573 using a dark background color (bug#4221).
8574
343c3b5a
LMI
85752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8576
7e9505c5
LMI
8577 * dired.el (dired-insert-set-properties): Make the doc string
8578 reflect what it does now (bug#5325).
8579
c26fdcf5
LMI
8580 * simple.el (blink-matching-open): Say that we were unable to find
8581 the match within the limit, if we're limited (bug#5122).
8582
bb388cc5
LMI
8583 * international/mule-cmds.el (prefer-coding-system): Add an
8584 example (bug#4869).
8585
343c3b5a
LMI
8586 * progmodes/etags.el (tags-search): Document `file-list-form'
8587 (bug#4731).
8588
2a517d45
LM
85892011-07-13 Lawrence Mitchell <wence@gmx.li>
8590
8591 * net/browse-url.el (browse-url-default-browser)
8592 (browse-url-browser-function): Make the default browser choice a
8593 bit more logical (bug#4300). Also clean up the doc string.
8594
b6c78ef2
JB
85952011-07-13 Juanma Barranquero <lekktu@gmail.com>
8596
8597 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8598 binary endings (bug#4440).
8599
1c4dd947
LMI
86002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
a2014063
LMI
8602 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8603 which can be pretty annoying (bug#8971).
8604
9c9c2d88
LMI
8605 * jka-compr.el (jka-compr-verbose): New variable, and use
8606 throughout (bug#8971).
8607
1c4dd947
LMI
8608 * info.el (Info-find-file): Fall back on the installation
8609 directory if we can't find the info node anywhere else.
8610
a1c9f41b
SO
86112011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8612
8613 * vc/vc.el (vc-revert-file):
8614 Don't set file time-stamp in the past. (Bug#5181)
8615
536f3d36
LMI
86162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8617
7152b011
LMI
8618 * files.el (after-find-file): Give a better error message when
8619 trying to find a symlink that points to a file that doesn't exist
8620 (bug#4398).
8621
536f3d36
LMI
8622 * progmodes/cc-vars.el: Remove (probably) misleading comment
8623 (bug#4396).
8624
460c0fba
JB
86252011-07-12 Johan Bockgård <bojohan@gnu.org>
8626
8627 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8628
7a6bda45
CY
86292011-07-12 Chong Yidong <cyd@stupidchicken.com>
8630
8631 * mouse-sel.el: Hack restoring functionality, while keeping
8632 compatibility with 2010-07-03 changes to mouse selection.
8633 (mouse-sel-primary-overlay): New var.
8634 (mouse-sel-selection-alist): Use it.
8635 (mouse-sel-mode): Doc fix; remove points that are default features
8636 of mouse.el.
8637
c79598ef
JB
86382011-07-12 Johan Bockgård <bojohan@gnu.org>
8639
8640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8641 Fix previous fix (bug#2490).
8642
ff8be6ef
RW
86432011-07-12 Roland Winkler <winkler@gnu.org>
8644
b796c9b7
SM
8645 * textmodes/bibtex.el (bibtex-initialize):
8646 Use pop-to-buffer-same-window.
ff8be6ef
RW
8647 (bibtex-search-entries): Fix interactive call.
8648
296ba3ee
LMI
86492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650
f5242a02 8651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8652 Fontise bytecomp Error lines more correctly (bug#2490).
8653 Fix suggested by Johan Bockgård.
f5242a02 8654
296ba3ee
LMI
8655 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8656
8657 * dired-x.el (dired-guess-default): Use `delete-dups'.
8658
f69fd0d2
CY
86592011-07-12 Chong Yidong <cyd@stupidchicken.com>
8660
8661 * dired.el (dired-mark-prompt):
8662 * dired-aux.el (dired-read-shell-command): Doc fix.
8663
eab5dc07
LMI
86642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8665
b796c9b7
SM
8666 * mail/sendmail.el (sendmail-query-once):
8667 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8668 emacs -Q.
8669
8670 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8671
eab5dc07
LMI
8672 * cus-edit.el (custom-file): Take an optional no-error variable.
8673 (customize-save-variable): Set the variable, and give a warning if
8674 running under "emacs -q".
8675
a1e65d42
JB
86762011-07-11 Juanma Barranquero <lekktu@gmail.com>
8677
8678 * loadhist.el (unload-feature-special-hooks):
8679 Add `auto-coding-functions', `fill-nobreak-predicate' and
8680 `find-directory-functions' (bug#5327).
8681
1d52da10
LMI
86822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
be958f1d
LMI
8684 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8685
5bedb26c
LMI
8686 * cus-edit.el (custom-guess-name-alist): -alist variables should
8687 use the `alist' type (bug#3120). Suggested by Drew Adams.
8688
1d52da10
LMI
8689 * printing.el: Add documentation to all the `pr-toggle-' commands.
8690
cd394be1 86912011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8692
8693 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8694 backends where it makes sense (bug#2623).
8695
dcc88d8a
LMI
86962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8697
c3de9feb
LMI
8698 * dired-x.el (dired-guess-default): Remove duplicate shell command
8699 entries (bug#2028).
8a93078b 8700 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8701 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8702
dcc88d8a
LMI
8703 * subr.el (remove-duplicates): New conveniency function.
8704
505e3645
LMI
87052011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
8707 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8708 (bug#1526).
8709
87102011-07-10 Martin Rudalics <rudalics@gmx.at>
8711
8712 * window.el (display-buffer-normalize-default): Don't invert
8713 meaning of even-window-heights. Reported by Eli Zaretskii
8714 <eliz@gnu.org>.
8715
455e4fa1
BR
87162011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8717
8718 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8719
8e0bc3e9
CY
87202011-07-10 Chong Yidong <cyd@stupidchicken.com>
8721
8722 * window.el (display-buffer): Fix arguments to
8723 display-buffer-reuse-window in last change.
8724
fa7c3228
CY
8725 * faces.el (link): Use a less saturated blue on light backgrounds.
8726
8727 * startup.el (fancy-startup-text, fancy-about-text)
8728 (fancy-startup-tail): Use font-lock faces, for background safety.
8729
c0a7f300
BN
87302011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8731
b796c9b7
SM
8732 * emulation/viper-cmd.el (viper-change-state-to-vi):
8733 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8734
4dc2a129
MR
87352011-07-09 Martin Rudalics <rudalics@gmx.at>
8736
8737 * window.el (display-buffer-default-specifiers): Remove.
8738 (display-buffer-macro-specifiers): Remove default specifiers.
8739 (display-buffer-alist): Default to nil.
b796c9b7 8740 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8741 (display-buffer-pop-up-window): Allow splitting internal
8742 windows. Check whether a live window was created.
8743 (display-buffer-other-window-means-other-frame)
8744 (display-buffer-normalize-arguments): Rename to
8745 display-buffer-normalize-argument and rewrite. Set the
8746 other-window specifier.
8747 (display-buffer-normalize-special): New function.
8748 (display-buffer-normalize-options): Rename to
8749 display-buffer-normalize-default and rewrite.
8750 (display-buffer-normalize-options-inhibit): Remove.
8751 (display-buffer-normalize-specifiers): Rewrite.
8752 (display-buffer): Process other-window specifier and call
8753 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8754 more faithfully.
b796c9b7 8755 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8756 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8757 (display-buffer-in-window, display-buffer-alist-set):
8758 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8759 <tassilo@member.fsf.org>.
8760
2d43b8c9
LL
87612011-07-09 Leo Liu <sdl.web@gmail.com>
8762
8763 * register.el (insert-register): Restore accidental change on
8764 2011-06-26. (Bug#9028)
8765
7f9b7c53
GM
87662011-07-09 Glenn Morris <rgm@gnu.org>
8767
8768 * subr.el (remq): Handle the empty list. (Bug#9024)
8769
f042cfd8
AS
87702011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8771
8772 * mail/sendmail.el (send-mail-function): No longer delay custom
8773 initialization.
8774 * custom.el (custom-initialize-delay): Doc fix.
8775
856b2f11
SM
87762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8779
afae1d68
MA
87802011-07-08 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8783 human-friendly prompt.
8784
0757af94
SM
87852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8788 provided by a particular plugin.
8789
d760b731
LMI
87902011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8791
8792 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8793 save customizations (with "emacs -Q"), just set the variable
8794 instead of erroring out.
8795
8796 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8797
cd79ce90
JL
87982011-07-08 Juri Linkov <juri@jurta.org>
8799
8800 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8801 (archive-zip-update-case): Use 7z if found by `executable-find'.
8802 The order of searching the available programs is the same as in
8803 `archive-zip-extract' (bug#8968).
8804
14cc04aa
CY
88052011-07-07 Chong Yidong <cyd@stupidchicken.com>
8806
8807 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8808 (menu-bar-options-menu): Tweak descriptions.
8809
0a1848ec
LMI
88102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811
8812 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8813 menu items into verb phrases (bug#1421). Also refill to fit under
8814 80 columns.
8815
f5bd0689
CY
88162011-07-07 Chong Yidong <cyd@stupidchicken.com>
8817
538e85c6
CY
8818 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8819 (Info-read-node-name): Doc fix (Bug#1084).
8820
f5bd0689
CY
8821 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8822 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8823 (end-of-sexp, beginning-of-sexp)
8824 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8825 (forward-symbol, forward-same-syntax, word-at-point)
8826 (sentence-at-point): Doc fix (Bug#1144).
8827
56ec5115
LMI
88282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8829
f3f8e37f
LMI
8830 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8831 should cover it (bug#1281).
8832
0757af94 8833 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8834
e9fce1ac 8835 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8836 negotiation fails, then possibly try again with a non-encrypted
8837 connection (bug#9017).
8838
56ec5115
LMI
8839 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8840 be used.
8841
c2f9aec8
RS
88422011-07-07 Richard Stallman <rms@gnu.org>
8843
8844 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8845 property, and handle its changed format.
8846 Look for the correct line number.
8847 Use file's line contents (but not past first =) to find
8848 correct line in message.
8849
ef7b981d 88502011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8851
8852 * international/characters.el (build-unicode-category-table):
8853 Delete it.
0757af94 8854 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8855
0757af94 8856 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8857 to src/chartab.c.
8858 (get-char-code-property): Call unicode-property-table-internal to
8859 load a file. Call get-unicode-property-internal where necessary.
8860 (put-char-code-property): Call unicode-property-table-internal to
8861 load a file. Call put-unicode-property-internal where necessary.
8862 put-unicode-property-internal where necessary.
0757af94
SM
8863 (char-code-property-description):
8864 Call unicode-property-table-internal to load a file.
c805dec0
KH
8865
8866 * international/charprop.el:
8867 * international/uni-bidi.el:
8868 * international/uni-category.el:
8869 * international/uni-combining.el:
8870 * international/uni-comment.el:
8871 * international/uni-decimal.el:
8872 * international/uni-decomposition.el:
8873 * international/uni-digit.el:
8874 * international/uni-lowercase.el:
8875 * international/uni-mirrored.el:
8876 * international/uni-name.el:
8877 * international/uni-numeric.el:
8878 * international/uni-old-name.el:
8879 * international/uni-titlecase.el:
8880 * international/uni-uppercase.el: Regenerate.
8881
8882 * loadup.el: Load international/charprop.el before
8883 international/characters.
8884
e14b388a
CY
88852011-07-07 Chong Yidong <cyd@stupidchicken.com>
8886
8887 * window.el (next-buffer, previous-buffer): Signal an error if
8888 called from a minibuffer window.
8889
8890 * bindings.el: Revert 2011-07-04 change.
8891
354cf0ba
RS
88922011-07-06 Richard Stallman <rms@gnu.org>
8893
8894 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8895 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8896 Treat markers like ints.
8897 (rmail-mime-entity): Doc fix.
8898
a48868a7
LMI
88992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
4906cd3d
LMI
8901 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8902 defcustom again for backwards compatibility.
8903
e0457abe
LMI
8904 * simple.el (shell-command-on-region): Fill.
8905
d67f7e1f
LMI
8906 * dired-aux.el (dired-kill-line): Add a doc string.
8907
fe204702
LMI
8908 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8909 to "\\sw\\|\\s_" (bug#358).
8910
a48868a7
LMI
8911 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8912 (dired-unmark-backward): Ditto.
8913 (dired-flag-backup-files): Ditto.
8914
8915 * dired-x.el (dired-mark-sexp): Ditto.
8916
aa8a705c
RS
89172011-07-06 Richard Stallman <rms@gnu.org>
8918
8919 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8920 (rmail-mime-entity): New arg TRUNCATED.
8921 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8922 New functions.
8923 (rmail-mime-save): Warn if entity is truncated.
8924 (rmail-mime-toggle-hidden): Likewise, for showing.
8925 (rmail-mime-process-multipart): Record when an entity is truncated.
8926
a9a936b9
RS
8927 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8928 if ENTITY is a string.
8929
1f2b92cb
LMI
89302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931
f4f73198 8932 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8933 of faces when `M-C-x'-ing their definitions (bug#8378).
8934 Also clean up the code slightly.
f4f73198 8935
12b16734 8936 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8937 because that makes the colors go away.
12b16734 8938
f0691d22
LMI
8939 * mail/sendmail.el (send-mail-function): Change the default to
8940 `sendmail-query-once'.
9e87df06 8941 (sendmail-query-once): Add an autoload cookie.
f0691d22 8942
1f2b92cb
LMI
8943 * net/network-stream.el (network-stream-open-starttls): Try using
8944 a plain connection even if the server offered STARTTLS, and we
8945 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8946 capability. This should make smtpmail.el work in slightly more
8947 configurations.
8948
1cdd2a1b
MA
89492011-07-06 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8952 New defun.
8953 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8954
fbcc67e2
MM
89552011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8956
8957 * progmodes/sql.el: Version 3.0
0757af94 8958 (sql-product-alist): Add product :completion-object,
fbcc67e2 8959 :completion-column, and :statement attributes.
0757af94 8960 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8961 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8962 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8963 ansi keywords.
8964 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8965 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8966 (sql-oracle-show-reserved-words): New function for development.
8967 (sql-product-font-lock): Simplify for source code buffers.
8968 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8969 New functions.
8970 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8971 (sql-mode-map): Add statement movement functions.
8972 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8973 New variable.
fbcc67e2
MM
8974 (sql-statement-regexp, sql-beginning-of-statement)
8975 (sql-end-of-statement, sql-signum): New functions.
0757af94 8976 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8977 (sql-show-sqli-buffer): Bug fix.
8978 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8979 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8980 with sql-interactive-mode.
8981 (sql-save-connection): Save buffer local settings.
0757af94 8982 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8983 (sql-product-interactive): Bug fix.
8984 (sql-preoutput-hold): New variable.
8985 (sql-interactive-remove-continuation-prompt): Bug fixes.
8986 (sql-debug-redirect): New variable.
8987 (sql-str-literal): New function.
8988 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8989 Redesign.
fbcc67e2
MM
8990 (sql-oracle-save-settings, sql-oracle-restore-settings)
8991 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8992 (sql-completion-object, sql-completion-column)
8993 (sql-completion-sqlbuf): New variables.
8994 (sql-build-completions-1, sql-build-completions)
8995 (sql-try-completion): New functions.
8996 (sql-read-table-name): Use them.
8997 (sql-contains-names): New buffer local variable.
8998 (sql-list-all, sql-list-table): Use it.
8999 (sql-oracle-completion-types): New variable.
9000 (sql-oracle-completion-object, sql-sqlite-completion-object)
9001 (sql-postgres-completion-object): New functions.
9002
d4eaeab1
GM
90032011-07-06 Glenn Morris <rgm@gnu.org>
9004
9005 * window.el (pop-to-buffer): Doc fix.
9006
322b7dab 90072011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9008
9009 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9010
322b7dab 90112011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9012
322b7dab 9013 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9014
322b7dab 9015 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9016
605dd5bf
CY
90172011-07-05 Chong Yidong <cyd@stupidchicken.com>
9018
9019 * button.el (button): Inherit from link face. Suggested by Dan
9020 Nicolaescu.
9021
7dbfa719
SM
90222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9023
3db614b0
SM
9024 * progmodes/gdb-mi.el: Fit in 80 columns.
9025 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9026 switch-to-buffer.
9027
7dbfa719
SM
9028 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9029 if imenu is simply not configured (bug#8941).
9030
919d884a
KM
90312011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9032
9033 * allout.el (allout-post-undo-hook): New allout outline-change
9034 event hook to signal undo activity.
9035 (allout-post-command-business): Run allout-post-undo-hook if an
9036 undo just occurred.
7dbfa719
SM
9037 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9038 * allout-widgets.el (allout-widgets-after-undo-function):
9039 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9040 in the vicinity of an undo.
9041 (allout-widgets-mode): Include allout-widgets-after-undo-function
9042 on the new allout-post-undo-hook.
9043
450a0f09
SM
90442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9047 Let define-derived-mode define it.
9048 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9049 cycles of abbrev-table inheritance (bug#8998).
9050
2de69e00
RW
90512011-07-05 Roland Winkler <winkler@gnu.org>
9052
9053 * textmodes/bibtex.el: Add support for biblatex.
9054 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9055 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9056 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9057 (bibtex-entry-alist, bibtex-field-alist): New variables.
9058 (bibtex-entry-field-alist): Obsolete alias for
9059 bibtex-BibTeX-entry-alist.
9060 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9061 (bibtex-set-dialect): New command.
9062 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9063 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9064 Bind via bibtex-set-dialect.
2de69e00
RW
9065 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9066 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9067 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9068 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9069 Define via bibtex-set-dialect.
450a0f09
SM
9070 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9071 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9072 (bibtex-vec-push, bibtex-vec-incr): New functions.
9073 (bibtex-format-entry, bibtex-field-list)
9074 (bibtex-print-help-message, bibtex-validate)
9075 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9076
2dcdbdd9
SM
90772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * progmodes/compile.el (compilation-goto-locus):
9080 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9081 * bs.el (bs-cycle-next, bs-cycle-previous):
9082 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9083 * bindings.el (mode-line-other-buffer):
9084 * autoinsert.el (auto-insert):
9085 * arc-mode.el (archive-extract):
9086 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9087
b27640fe
JB
90882011-07-05 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9091 Fix check of `emacs-lock-unlockable-modes'.
9092 Coerce true values of `emacs-lock--try-unlocking' to t.
9093
53bbe3ad
JB
90942011-07-05 Juanma Barranquero <lekktu@gmail.com>
9095
9096 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9097 * emacs-lock.el: New file.
9098
1d3cdbc7
JD
90992011-07-05 Julien Danjou <julien@danjou.info>
9100
9101 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9102 than `boundp' to check if face is set.
9103
9173deec
JB
91042011-07-05 Juanma Barranquero <lekktu@gmail.com>
9105
9106 * register.el (registerv-make):
9107 * window.el (window-min-height): Fix typos in docstrings.
9108
869795d6
JD
91092011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9110
9173deec 9111 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9112 Update doc string.
9113
b768cdcd
JB
91142011-07-04 Juanma Barranquero <lekktu@gmail.com>
9115
9116 * server.el (server-execute): Catch quit and call
9117 `server-return-error' to pass the error back to emacsclient and
9118 close the connection (bug#8942).
9119
13aa217b
KM
91202011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9121
9122 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9123 insecure exception for current topic. Also note that auto-saves
9124 are handled differently.
9125
5d3385a0 9126 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9127 State variables for tracking auto-save inhibition situation.
9128
9129 (allout-write-contents-hook-handler): Rename from
9130 'allout-write-file-hook-handler', and describe how it depends on
9131 write-contents-functions sensitivity to non-nil value to prevent
9132 file write.
9133
9134 (allout-auto-save-hook-handler): Remove. auto-save does not check
9135 this in individual buffers, only in the starting buffer, so this
9136 is not the right way for us to inhibit auto-save in a buffer
9137 according to its condition.
9138
9139 (allout-mode): Use new allout-write-contents-hook-handler, and
9140 only with write-contents-functions. Remove auto-save provisions -
9141 they're implemented elsewhere.
9142
9143 (allout-before-change-handler): If undo is in progress, note that
9144 for attention of allout-post-command-business.
9145
9146 (allout-post-command-business): If the command we're following was
9147 an undo, check for change in the status of encrypted items and
9148 adjust auto-save inhibitions accordingly.
9149
9150 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9151 according to whether there are or aren't any plain-text topics
9152 pending encryption.
9153
2dcdbdd9 9154 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9155 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9156 if there are plain-text topics pending encryption.
13aa217b
KM
9157
9158 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9159 buffer-saved-size and some allout state to not inhibit auto-saves
9160 if there are no longer any plain-text topics pending encryption.
9161
0757af94
SM
9162 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9163 No longer provide for exemption of the current topic.
13aa217b 9164
ac89b32c
JL
91652011-07-04 Juri Linkov <juri@jurta.org>
9166
9167 Add 7z operations to delete and save changed members (bug#8968).
9168 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9169 New defcustoms.
9170 (archive-7z-write-file-member): New function.
9171 (archive-7z-summarize): Fix the number of dashes in the
9172 listing output.
9173
8fa39615
SM
91742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9177 (bug#8958).
9178
2f11b3f1
CY
91792011-07-04 Chong Yidong <cyd@stupidchicken.com>
9180
d66fef2b
CY
9181 * bindings.el: Ignore next-buffer and previous-buffer in
9182 minibuffer-local-map.
9183
2f11b3f1
CY
9184 * font-lock.el (font-lock-builtin-face): Change light background
9185 color to dark slate blue (Bug#6693).
9186
f932a347
WD
91872011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9188
9189 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9190
c8af70e1
SM
91912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9194 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9195 Add switch-to-buffer.
9196
f158badc
LMI
91972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198
9199 * isearch.el (isearch-search-fun-function): Clarify further the
9200 meaning of the function returned.
9201
6d95bd46
MA
92022011-07-04 Michael Albinus <michael.albinus@gmx.de>
9203
9204 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9205
9206 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9207 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9208 Use it.
9209 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9210 `tramp-default-remote-path' does not exist.
9211 (tramp-send-command-and-read): New optional argument NOERROR.
9212 (tramp-open-connection-setup-interactive-shell)
9213 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9214 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9215 (tramp-process-sentinel): Flush also process' connection property.
9216 (tramp-sh-handle-start-file-process): Do not set process
9217 sentinel. It is done now ...
9218 (tramp-maybe-open-connection): ... here. (Bug#8929)
9219
909e6b67
MK
92202011-07-04 MON KEY <monkey@sandpframing.com>
9221
9222 * play/animate.el (animate-string): Doc fixes and allow changing
9223 the buffer name (bug#5417).
9224
92252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9226
c8af70e1 9227 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9228
f34755dc
PE
92292011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9230
396cec72
PE
9231 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9232 This is simpler and helps future-proof the code.
9233 (timer-until): Use time-subtract and float-time.
08235028 9234 (timer--time-less-p): Use time-less-p.
f34755dc 9235
56e6cc31
JB
92362011-07-04 Juanma Barranquero <lekktu@gmail.com>
9237
3abb79e5
JB
9238 * type-break.el (timep): Use the value of `float-time' to avoid a
9239 byte-compiler warning.
9240
56e6cc31
JB
9241 * server.el (server-eval-and-print): Return any result, even nil.
9242
7b9430b4
PE
92432011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9244
9245 * type-break.el: Accept time formats that the builtins accept.
9246 (timep, type-break-time-difference): Accept any format that
9247 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9248 This is simpler and helps future-proof the code.
9249 (type-break-time-difference): Round rather than ignoring
9250 subseconds components.
9251
3034e9e7
LMI
92522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9253
9254 * info.el (Info-apropos-matches): Make non-interactive, since it
9255 doesn't seem to do anything useful as a command (bug#8829).
9256
1485f4c0
CY
92572011-07-03 Chong Yidong <cyd@stupidchicken.com>
9258
9259 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9260 Move from faces.el.
1485f4c0
CY
9261 (frame-default-terminal-background): New function.
9262
9263 * custom.el (custom-push-theme): Don't record faces in `changed'
9264 theme; this doesn't work correctly for per-frame face settings.
9265 (disable-theme): Use face-set-after-frame-default to reset faces.
9266 (custom--frame-color-default): New function.
9267
9fa3dd45
LMI
92682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9269
c8af70e1 9270 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9271 (bug#8769).
9272
6cbbc20c
KR
92732011-03-29 Kevin Ryde <user42@zip.com.au>
9274
9275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9276 `perl-Test2' extend to match possible "fail #N" rep count
9277 (bug#8377).
9278
c7f98048
LMI
92792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
65676592
LMI
9281 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9282 `smtpmail-via-smtp' now returns the error instead of nil.
9283
c7f98048
LMI
9284 * isearch.el (isearch-search-fun-function): Clarify the doc string
9285 (bug#8101).
9286
56e6cc31 92872011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9288
9289 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9290 unnecessary spaces (bug#8987).
9291
2b216704
LMI
92922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293
9294 * net/network-stream.el (open-network-stream): Use the
9295 :end-of-capability command thoughout.
9296
92972011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9298
9299 * net/network-stream.el (open-network-stream): Add the
9300 :end-of-capability command parameter, used by pop3.el.
9301
36adf6ce
LMI
93022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
1ca0da0e
LMI
9304 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9305
fc00f69c
LMI
9306 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9307 for list)" (bug#6475).
9308
28fd8759 9309 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9310 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9311 an error (bug#6297).
9312
0dd8b6da
LMI
9313 * man.el (Man-reference-regexp): Allow matching possible
9314 word-wrapped references (bug#6289).
9315
ce1438d6
LMI
9316 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9317 for consistency with the other vc buffers (bug#6197).
9318 (vc-checkin): Ditto.
9319
9320 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9321
36adf6ce
LMI
9322 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9323
e83cc1f7
LMI
93242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9325
8a20ca4c
LMI
9326 * custom.el (defcustom): Clarify that :set is only used in the
9327 Customize user interface (bug#6089).
9328
83319045
LMI
9329 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9330 associated with a file, refuse to run instead of erroring out
9331 (bug#6084).
9332
a8392169
LMI
9333 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9334 the doc string, since it appears that using `fill-column' always
9335 controls the width (bug#7845).
9336
e83cc1f7
LMI
9337 * simple.el (shell-command-on-region): Say where the error output
9338 went if `shell-command-default-error-buffer' is set (bug#6857).
9339
e47ca23b
KM
93402011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9341
9342 * allout.el (allout-yank-processing): Adjust cursor position for
9343 backwards-deleted space.
9344
9345 (allout-rebullet-heading): Register changes with
9346 allout-exposure-changed-hook, so the modified topic is properly
9347 decorated.
9348
5cf56143
LMI
93492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
08549772
LMI
9351 * minibuffer.el (completion-in-region): Document PREDICATE
9352 (bug#7136).
9353
48e96771
LMI
9354 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9355 of keyword/argument pairs (bug#6904).
9356
c8af70e1
SM
9357 * replace.el (multi-occur):
9358 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9359
e17d05e2
LMI
93602011-07-02 Drew Adams <drew.adams@oracle.com>
9361
9362 * dired.el (dired-mark-if): Make the message about whether it's
9363 marking or unmarking clearer (bug#8523).
9364
063b0e45
LMI
93652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9366
9367 * disp-table.el (display-table-print-array): New function.
9368 (describe-display-table): Use it to print the vectors more pretty
9369 (Bug#8859).
9370
28545e04
MR
93712011-07-02 Martin Rudalics <rudalics@gmx.at>
9372
9373 * window.el (window-state-get-1): Don't assign clone numbers.
9374 Add clone-of item to list of window parameters.
9375 (window-state-put-2): Don't process clone numbers.
9376 (display-buffer-alist): Fix doc-string.
9377
3349e122
SM
93782011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * subr.el (remq): Don't allocate if it's not needed.
9381 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9382 (keymap--merge-bindings): New functions.
9383 (keymap-canonicalize): Use them to refine the canonicalization.
9384 * minibuffer.el (minibuffer-local-completion-map)
9385 (minibuffer-local-must-match-map): Move initialization from C.
9386 (minibuffer-local-filename-completion-map): Move initialization from C;
9387 don't inherit from anything here.
9388 (minibuffer-local-filename-must-match-map): Make obsolete.
9389 (completing-read-default): Use make-composed-keymap to combine
9390 minibuffer-local-filename-completion-map with either
9391 minibuffer-local-must-match-map or
9392 minibuffer-local-filename-completion-map.
9393
d224ac83
GM
93942011-07-01 Glenn Morris <rgm@gnu.org>
9395
3de63bf8
GM
9396 * type-break.el (type-break-time-sum): Use dolist.
9397
d224ac83
GM
9398 * textmodes/flyspell.el (flyspell-word-search-backward):
9399 Replace CL function.
9400
1a1e3f32
SM
94012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9402
fe3f64d5
SM
9403 * mouse.el (mouse--strip-first-event): New function.
9404 (function-key-map): Use it to map fringe clicks to normal clicks
9405 by default.
9406
eb604e34
SM
9407 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9408 (vc-bzr-revision-completion-table): Add support for annotate and date.
9409
1a1e3f32
SM
9410 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9411 inherit from parent.
9412
5bd35902
LMI
94132011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9414
ace6c69c 9415 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9416 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9417
191e2bed
LMI
9418 * dired.el (dired-mode): Fix up the doc string as suggested by
9419 Drew Adams (bug#8817).
9420
5bd35902
LMI
9421 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9422 cookie, since the manual says that it should be possible to add
9423 this function to `find-file-hook' (bug#8709).
9424
eee8207a
TZ
94252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9426
9427 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9428 here. Noted Ted Zlatanov as the maintainer.
9429 (cfengine-common-settings, cfengine-common-syntax): New functions
9430 to set up common things between `cfengine-mode' and
9431 `cfengine3-mode'.
9432 (cfengine3-mode): New mode.
9433 (cfengine3-defuns cfengine3-defuns-regex
9434 (cfengine3-class-selector-regex cfengine3-category-regex)
9435 (cfengine3-vartypes cfengine3-font-lock-keywords)
9436 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9437 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9438
36b148cf
MA
94392011-07-01 Michael Albinus <michael.albinus@gmx.de>
9440
9441 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9442
9443 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9444
0bf4ba9a
MR
94452011-07-01 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (same-window-buffer-names, same-window-regexps)
9448 (same-window-p, special-display-frame-alist)
9449 (special-display-popup-frame, special-display-function)
9450 (special-display-buffer-names, special-display-regexps)
9451 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9453 (split-window-preferred-function, split-height-threshold)
9454 (split-width-threshold, even-window-heights)
9455 (display-buffer-mark-dedicated, window-splittable-p)
9456 (split-window-sensibly, window-safely-shrinkable-p):
9457 Un-obsolete.
9458 (display-buffer): Don't spread args with function specifier
9459 because special-display-popup-frame won't like it.
9460
35837f51
PE
94612011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9462
d0672f86
PE
9463 Time-stamp simplifications and fixes.
9464 These improve accuracy slightly, and future-proof the code
9465 against some potential changes to current-time format.
9466
b9444d97
PE
9467 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9468 by using time-since and float-time.
9469
0ef923dc
PE
9470 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9471 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9472 + NNN microseconds".
9473
2f81380d
PE
9474 * type-break.el (type-break-time-sum): Rewrite using time-add.
9475
845b5c3e
PE
9476 * play/hanoi.el (hanoi-current-time-float): Remove.
9477 All uses replaced by float-time.
9478
ee6f1be0
PE
9479 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9480 This yields a more-accurate answer.
9481 (rng-time-to-float): Remove; no longer needed.
9482
fe955043
PE
9483 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9484
5777162a
PE
9485 * calendar/timeclock.el (timeclock-seconds-to-time):
9486 Defalias to seconds-to-time, since they're the same thing.
9487
3103f8b6 9488 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9489 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9490 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9491
0e61a35f
SM
94922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * window.el (bury-buffer): Don't iconify the only frame.
9495 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9496 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9497
ddd63a1e
CY
94982011-07-01 Chong Yidong <cyd@stupidchicken.com>
9499
0e61a35f
SM
9500 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9501 Add mouse-yank-primary.
ddd63a1e 9502
055f4923
TZ
95032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9504
9505 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9506
6a2fb145
SM
95072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9510 (find-library-name): Use it to find relative load names when provided
9511 absolute file name (bug#8803).
9512
fd4983f2
LMI
95132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514
887d14ad
LMI
9515 * textmodes/flyspell.el (flyspell-word): Consider words that
9516 differ only in case as potential doublons (bug#5687).
9517
c53dc7fc
LMI
9518 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9519 Remove two rather uninteresting debugging-like messages to make
9520 debbugs.el more silent.
9521
fd4983f2
LMI
9522 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9523 a password-like phrase.
9524
7a71b18d 95252011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9526
9527 * progmodes/cc-guess.el: New file.
9528
6a2fb145 9529 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9530
9531 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9532 derived from `c-basic-common-init'.
9533
9534 * progmodes/cc-mode.el (top-level): Require cc-guess.
9535 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9536
1fa280a3
LM
95372011-06-30 Lawrence Mitchell <wence@gmx.li>
9538
9539 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9540
e6597158
AM
95412011-06-30 Alan Mackenzie <acm@muc.de>
9542
1fa280a3
LM
9543 * progmodes/cc-engine.el (c-guess-continued-construct):
9544 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9545 lock is disabled. Name this case as "CASE G".
9546
68ba37fb
KM
95472011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9548
9549 * allout.el (allout-yank-processing): Fix injection of extra space
9550 between bullet and non-whitespace character in first topic when
9551 pasting, ensuring that the actual spacing in the pasted topic
9552 following the bullet char is preserved. This extra space was
9553 causing pasted encrypted topics to get a decrypted status even
9554 when the content was actually still encrypted. Now the decryption
9555 status from before the paste is preserved.
9556
9557 (allout-flag-region): Set all allout overlays so they evaporate
9558 when reduced to zero length (evanescent), to prevent overlay
9559 leakage.
9560
887a0b34
GM
95612011-06-30 Glenn Morris <rgm@gnu.org>
9562
94b9acce
GM
9563 * w32-fns.el (w32-charset-info-alist): Declare.
9564
1d9b46d4
GM
9565 * find-dired.el (find-grep-options): Simplify.
9566
cc232200
GM
9567 * term/ns-win.el (ns-set-resource): Declare.
9568
28e77c46
GM
9569 * ses.el (row, col): Declare dynamic variables honestly.
9570
887a0b34
GM
9571 * textmodes/reftex-parse.el (index-tags): Declare.
9572
658d8eb8
CY
95732011-06-30 Chong Yidong <cyd@stupidchicken.com>
9574
9575 * cus-edit.el (customize-push-and-save): New function.
9576
9577 * files.el (hack-local-variables-confirm): Use it.
9578
1fa280a3
LM
9579 * custom.el (load-theme): New arg NO-CONFIRM.
9580 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9581 (custom-enabled-themes): Doc fix.
9582
9583 * cus-theme.el (customize-create-theme)
9584 (custom-theme-merge-theme): Callers to load-theme changed.
9585
bb617717
LMI
95862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
d61bdd5d
LMI
9588 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9589 short URLs have at least one dot in them (bug #7614).
9590
bb617717
LMI
9591 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9592 nil, because using a pty is apparently too slow (bug #895).
9593
2f31f37a
LMI
95942011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9595
9596 * mail/sendmail.el (sendmail-query-once): New function.
9597 (sendmail-query-once-function): New variable.
9598
3076b24e
GM
95992011-06-29 Glenn Morris <rgm@gnu.org>
9600
faf2a174
GM
9601 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9602
3076b24e
GM
9603 * ses.el (top-level): Require cl when compiling.
9604 (ses-set-localvars): Fix error statement.
9605 Call it at compile time to silence a storm of warnings.
9606
5386012d
MR
96072011-06-29 Martin Rudalics <rudalics@gmx.at>
9608
9609 * window.el (normalize-live-buffer): Rename to
9610 window-normalize-buffer.
9611 (normalize-live-frame): Rename to window-normalize-frame.
9612 (normalize-any-window): Rename to window-normalize-any-window.
9613 (normalize-live-window): Rename to window-normalize-live-window.
9614 (make-window-atom): Rename to window-make-atom.
9615 (window-resize-reset): Rename to window--resize-reset.
9616 (window-resize-reset-1): Rename to window--resize-reset-1.
9617 (resize-mini-window): Rename to window--resize-mini-window.
9618 (resize-subwindows-skip-p): Rename to
9619 window--resize-subwindows-skip-p.
9620 (resize-subwindows-normal): Rename to
9621 window--resize-subwindows-normal.
9622 (resize-subwindows): Rename to window--resize-subwindows.
9623 (resize-other-windows): Rename to window--resize-siblings.
9624 (resize-this-window): Rename to window--resize-this-window.
9625 (resize-root-window): Rename to window--resize-root-window.
9626 (resize-root-window-vertically): Rename to
9627 window--resize-root-window-vertically.
9628 (normalize-buffer-to-display): Rename to
9629 window-normalize-buffer-to-display.
9630 (normalize-buffer-to-switch-to): Rename to
9631 window-normalize-buffer-to-switch-to.
9632 Correspondingly update all callers of the functions listed
9633 above.
9634 (display-buffer-alist, display-buffer-normalize-arguments)
9635 (display-buffer-normalize-options, display-buffer)
9636 (display-buffer-alist-set): Use "function" instead of
9637 "fun-with-args".
9638
1176868d
CY
96392011-06-28 Chong Yidong <cyd@stupidchicken.com>
9640
9641 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9642 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9643 debbugs.gnu.org. Mention acknowledgment email.
9644
20a7a65f
LMI
96452011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9648 buffer multibyteness, since it shouldn't matter.
9649
5f45cca5
MR
96502011-06-28 Martin Rudalics <rudalics@gmx.at>
9651
9652 * window.el (display-buffer-in-side-window): Handle dedicated
9653 windows as in display-buffer-reuse-window.
9654 (display-buffer-normalize-alist): Use value of override
9655 specifier.
9656 (display-buffer-normalize-specifiers): Use value of
9657 other-window-means-other-frame specifier.
9658 (display-buffer-alist): Rewrite some texts in widgets.
9659 (display-buffer): Spread arguments when calling function
9660 specified by fun-with-args.
9661
ad85fe1f
DD
96622011-06-28 Deniz Dogan <deniz@dogan.se>
9663
1fa280a3
LM
9664 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9665 Unnest `let'.
da68c4c8 9666
ad85fe1f
DD
9667 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9668 selectors (Bug#5732).
ec49bd31 9669 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9670
a08cc025
JA
96712011-06-27 Jari Aalto <jari.aalto@cante.net>
9672
9673 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9674 (eshell-ls-date-format): New defcustom.
9675 (eshell-ls-file): Use it.
9676
e2b551c5
SM
96772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9680
8982b231
KY
96812011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9682
9683 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9684 (ange-ftp-make-tmp-name): New arg.
9685 (ange-ftp-file-local-copy): Use it.
9686
36c9fa27
J
96872011-06-27 Jambunathan K <kjambunathan@gmail.com>
9688
9689 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9690 no-conversion (Bug#8870).
9691
d68443dc
MR
96922011-06-27 Martin Rudalics <rudalics@gmx.at>
9693
9694 * window.el (window-right, window-left, window-child)
9695 (window-child-count, window-last-child)
9696 (window-iso-combination-p, walk-window-tree-1)
9697 (window-atom-check-1, window-tree-1, delete-window)
9698 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9699 new naming conventions - window-vchild, window-hchild,
9700 window-next and window-prev are now called window-top-child,
9701 window-left-child, window-next-sibling and window-prev-sibling
9702 respectively.
d615d6d2
MR
9703 (resize-window-reset): Rename to window-resize-reset.
9704 (resize-window-reset-1): Rename to window-resize-reset-1.
9705 (resize-window): Rename to window-resize.
9706 (window-min-height, window-min-width)
9707 (resize-mini-window, resize-this-window, resize-root-window)
9708 (resize-root-window-vertically, adjust-window-trailing-edge)
9709 (enlarge-window, shrink-window, maximize-window)
9710 (minimize-window, delete-window, quit-restore-window)
9711 (split-window, balance-windows, balance-windows-area-adjust)
9712 (balance-windows-area, window-state-put-2)
9713 (display-buffer-even-window-sizes, display-buffer-set-height)
9714 (display-buffer-set-width, set-window-text-height)
9715 (fit-window-to-buffer): Rename all "resize-window" prefixed
9716 calls to use the "window-resize" prefix convention.
9717 (display-buffer-alist): Fix symbol for label specifier.
9718 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9719 corresponding specifier.
9720 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9721
b6458526
VB
97222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9723
9724 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9725 convention.
9726 (ses-call-printer): Does not pass an empty string to formatter when the
9727 cell is empty to keep from barking printer Calc math-format-value.
9728
d31fd9ac
RS
97292011-06-27 Richard Stallman <rms@gnu.org>
9730
43d5bf84
RS
9731 * battery.el (battery-mode-line-limit): New variable.
9732 (battery-update): Handle it.
9733
d31fd9ac
RS
9734 * mail/rmailmm.el (rmail-mime-process-multipart):
9735 Handle truncated messages.
9736
819a6054
GM
97372011-06-27 Glenn Morris <rgm@gnu.org>
9738
9739 * progmodes/flymake.el (flymake-err-line-patterns):
9740 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9741
cedc73f2
VB
97422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9743
819a6054 9744 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9745 (ses--clean-!, ses--clean-_): New functions.
9746 (ses-range): Add configurability of readout order, and conversion
9747 to Calc vector.
9748
5e5d49b6
VB
9749 * ses.el (ses-repair-cell-reference-all): New function.
9750 (ses-cell-symbol): Set macro as safe, so that it can be used in
9751 formulas.
9752
56e6cc31 9753 * ses.el: Update cycle detection algorithm.
90ca8b49 9754 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9755 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9756 (ses-set-localvars): New function.
9757 (ses-make-cell): Add property-list as a cell element.
9758 (ses-cell-property-get-fun, ses-cell-property-get)
9759 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9760 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9761 New functions.
90ca8b49
VB
9762 (ses-cell-property-set, ses-cell-property-pop)
9763 (ses-cell-property-get-handle): New macro.
9764 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9765 New aliases, used for code readability.
9766 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9767 cycle detection.
9768 (ses-self-reference-early-detection): New defcustom.
fac916bf 9769 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9770 (ses-mode): Use ses-set-localvars.
9771 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9772 before lauching the update processing.
9773 (ses-initialize-Dijkstra-attempt): New function.
9774 (ses-recalculate-cell): Update for cycle detection based on
9775 Dijkstra algorithm.
9776
2bb63e81
VB
9777 * ses.el: Fix commenting and indenting convention.
9778
c9d29fb8
SM
97792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * bs.el (bs-cycle-next): Complete last change.
9782
d8e4b68b
JB
97832011-06-27 Drew Adams <drew.adams@oracle.com>
9784
9785 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9786
40098786
LMI
97872011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9788
c9d29fb8
SM
9789 * net/network-stream.el (network-stream-open-starttls):
9790 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9791 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9792
40098786
LMI
9793 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9794 to binary to possibly avoid line encoding issues on Windows (among
9795 other things).
9796
468d09d4
LMI
97972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9798
9799 * net/network-stream.el (open-network-stream): Return an :error
9800 saying what the problem was, if possible.
9801
9802 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9803 server.
9804
9805 * net/network-stream.el (network-stream-open-starttls): If we
9806 wanted to use STARTTLS, and the server offered it, but we weren't
9807 able to because we had no STARTTLS support, then close the connection.
9808 (open-network-stream): Return an :error element, if present.
9809
16f07dd7
CY
98102011-06-26 Chong Yidong <cyd@stupidchicken.com>
9811
88821ca0
CY
9812 * hl-line.el (hl-line-sticky-flag): Doc fix.
9813 (global-hl-line-sticky-flag): New option (Bug#8323).
9814 (global-hl-line-highlight): Obey it.
9815
16f07dd7
CY
9816 * vc/vc.el (vc-revert-show-diff): Default to t.
9817
6b5ccddf
KM
98182011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9819
c9d29fb8
SM
9820 * allout-widgets.el (allout-widgets-post-command-business):
9821 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9822 undecorated when an isearch is continued past, and isearch
9823 automatically collapses them. This leads to "widget leaks", where
9824 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9825 hidden widgets can slow down cursor travel, substantially.
9826 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9827 so we're doing without this nicety.
9828
9829 (allout-widgets-tally-string): Don't try to do a hash-table-count
9830 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9831 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9832 *Messages* when allout-widgets-maintain-tally is t.
9833
355f2e07
MR
98342011-06-26 Martin Rudalics <rudalics@gmx.at>
9835
9836 * window.el (display-buffer-normalize-argument): Rename to
9837 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9838 LABEL argument. Respect special-display-function when popping up
9839 a new frame. Fix code searching for a window showing the buffer
9840 on another frame.
c9d29fb8
SM
9841 (display-buffer-normalize-specifiers):
9842 Call display-buffer-normalize-arguments.
355f2e07
MR
9843 (display-buffer-in-window): Don't undedicate the window if its
9844 buffer remains the same.
9845 Reported by Drew Adams <drew.adams@oracle.com>.
9846 (display-buffer-alist): Add choice for same-window macro
9847 specfier.
9848 (display-buffer): Mention special meaning of LABEL argument in
9849 doc-string. Fix quoting. Don't pop up a new frame even as
9850 fallback.
9851
7ca8fc42
JB
98522011-06-26 Juanma Barranquero <lekktu@gmail.com>
9853
9854 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9855 avoid deleting the current window in some cases (bug#8911).
9856
bc312254
AS
98572011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9858
9859 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9860 (Bug#8934)
9861
2db18f3f
LMI
98622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9863
c9d29fb8
SM
9864 * net/network-stream.el (network-stream-open-starttls):
9865 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9866 (network-stream-open-tls): Ditto.
9867
6302e0d3
LL
98682011-06-26 Leo Liu <sdl.web@gmail.com>
9869
9870 * register.el (registerv): New struct.
9871 (registerv-make): New function.
c9d29fb8
SM
9872 (jump-to-register, describe-register-1, insert-register):
9873 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9874 struct. (Bug#8415)
9875
5fdd4046
CY
98762011-06-26 Chong Yidong <cyd@stupidchicken.com>
9877
2afef60a
CY
9878 * vc/vc.el (vc-revert-show-diff): New defcustom.
9879 (vc-diff-internal): New arg specifying diff buffer.
9880 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9881 reuse an existing *vc-diff* buffer (Bug#8927).
9882
5fdd4046
CY
9883 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9884
e93db24a
GM
98852011-06-26 Glenn Morris <rgm@gnu.org>
9886
9887 * progmodes/f90.el (f90-critical-indent): New option.
9888 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9889 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9890 (f90-mode): Doc fix.
9891 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9892 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9893 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9894 (f90-match-end): Handle block, critical.
9895
eefff499
GM
98962011-06-25 Glenn Morris <rgm@gnu.org>
9897
f6ba4cc9
GM
9898 * calendar/diary-lib.el (diary-included-files): Doc fix.
9899 (diary-include-files): New function, extracted from
9900 diary-include-other-diary-files and diary-mark-included-diary-files.
9901 (diary-include-other-diary-files, diary-mark-included-diary-files):
9902 Just call diary-include-files.
9903 (diary-mark-entries): Reset diary-included-files on first call.
9904
16712304
GM
9905 * calendar/diary-lib.el (diary-mark-entries)
9906 (diary-mark-included-diary-files):
9907 Visit included diary-files in temp buffers.
9908
5d8e0d43
GM
9909 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9910 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9911 (f90-start-block-re, f90-imenu-generic-expression)
9912 (f90-looking-at-program-block-start, f90-no-block-limit):
9913 Add support for submodules.
9914
ccf7a5d5
GM
9915 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9916 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9917
11fdef7d 99182011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9919
9920 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9921 buffer-file-type before setting its value, to avoid disastrous
eefff499 9922 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9923
74f53697
JB
99242011-06-25 Juanma Barranquero <lekktu@gmail.com>
9925
9926 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9927
9928 * ses.el (ses-unload-function):
9929 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9930
9931 * proced.el (proced-unload-function):
9932 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9933
18a4ce5e
AR
99342011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9935
9936 * server.el (server-create-window-system-frame): Add parameters arg.
9937 (server-process-filter): Doc fix. Handle frame-parameters.
9938
519d22cc
JB
99392011-06-25 Juanma Barranquero <lekktu@gmail.com>
9940
9941 Fix bug#8730, bug#8781.
9942
9943 * loadhist.el (unload--set-major-mode): New function.
9944 (unload-feature): Use it.
9945
9946 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9947 (python-unload-function): New function.
9948
c206f5b0
SM
99492011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9952
f9ad64f3
GS
99532011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9954
9955 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9956 the candidates list.
9957
7d0da90e
JB
99582011-06-24 Juanma Barranquero <lekktu@gmail.com>
9959
9960 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9961
14b4e83d
RS
99622011-06-23 Richard Stallman <rms@gnu.org>
9963
9964 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9965 (rmail-variables): Set next-error-move-function.
9966 (rmail-what-message): Take argument POS.
9967 (rmail-next-error-move): New function.
9968
273d2baf
SM
99692011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9972 messages for adjacent non-terminals.
9973
56c2cc9a
RS
99742011-06-23 Richard Stallman <rms@gnu.org>
9975
9976 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9977 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9978 (rmail-start-mail): Don't specify use of rmail-mail-return;
9979 that's done by mail-bury now.
9980 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9981
d59eb518
MA
99822011-06-23 Michael Albinus <michael.albinus@gmx.de>
9983
9984 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9985 SIZE is a number.
9986
02cfc6d6
MR
99872011-06-23 Martin Rudalics <rudalics@gmx.at>
9988
9989 * window.el (get-lru-window, get-mru-window)
9990 (get-largest-window): Never return a minibuffer window.
9991 (display-buffer-pop-up-window): Fix a bug that could lead to
9992 reusing the minibuffer window.
9993 (display-buffer): Pass original specifier argument to
9994 display-buffer-function instead of the normalized one.
9995 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9996
4e323265
LL
99972011-06-22 Leo Liu <sdl.web@gmail.com>
9998
9999 * minibuffer.el (completing-read-function)
10000 (completing-read-default): Move from minibuf.c
10001
7a70468f
RS
100022011-06-22 Richard Stallman <rms@gnu.org>
10003
50718fc2
RS
10004 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10005 to Rmail even if not started by a special Rmail command.
10006
7a70468f
RS
10007 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10008 Copy the buffer currently showing just one message.
10009
297dde5a
RW
100102011-06-22 Roland Winkler <winkler@gnu.org>
10011
10012 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10013 (bibtex-clean-entry): First delete the old key so that a
10014 customized algorithm for generating the new key does not get
10015 confused by the old key.
10016 (bibtex-url): Obey regexp of first step.
10017 (bibtex-search-entries): Do not use add-to-list with local
10018 list-var.
10019
97bb1093
LMI
100202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021
10022 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10023 stored a user name, then query for the password first, instead of
10024 waiting for SMTP to give an error message and the trying again.
10025
1c0f1a19
JD
100262011-06-22 Lawrence Mitchell <wence@gmx.li>
10027
10028 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10029 BUFFER in call-process.
10030
396f7c9d
LMI
100312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10032
10033 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10034 QUIT twice.
ddb7ffee
LMI
10035 (smtpmail-try-auth-methods): Require user name and password from
10036 auth-source.
396f7c9d 10037
8998d1b3
MR
100382011-06-22 Martin Rudalics <rudalics@gmx.at>
10039
10040 * window.el (display-buffer-default-specifiers)
10041 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10042 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10043 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10044
10045 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10046 (special-display-frame-alist, special-display-popup-frame):
10047 Remove duplicate declarations. These are now in window.el.
10048
4ea31e07
LMI
100492011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10050
c9d29fb8
SM
10051 * mail/smtpmail.el (smtpmail-via-smtp):
10052 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10053 server supports it. SMTP servers that support STARTTLS commonly
10054 require it.
10055
10056 * net/network-stream.el (network-stream-open-starttls): Support
10057 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10058 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10059
95f41d9a
LMI
10060 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10061 upgrades with `open-network-stream', and rely solely on
10062 auth-source for all credentials. Big changes throughout the file,
10063 but in particular:
c9d29fb8
SM
10064 (smtpmail-auth-credentials): Remove.
10065 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10066 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10067 MAIL FROM, too.
95f41d9a 10068
c9d29fb8
SM
10069 * net/network-stream.el (network-stream-open-starttls):
10070 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10071 STARTTLS.
10072 (auth-source): Require.
10073 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10074 (network-stream-certificate): Change cert-cert to cert and
10075 cert-key to key.
4ea31e07 10076
065ec2c7
MA
100772011-06-21 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * net/tramp-cache.el (top): Don't load the persistency file when
10080 "emacs -Q" has been called.
10081
cd93b359
DR
100822011-06-21 Tim Harper <timcharper@gmail.com>
10083
d8e4b68b
JB
10084 * term/ns-win.el (ns-initialize-window-system):
10085 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10086 resource to NO as it is not yet supported by the NS port.
10087
ae9c0411
JB
100882011-06-21 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10091 (list-dynamic-libraries): ...not here.
10092
7f3f739f
LL
100932011-06-21 Leo Liu <sdl.web@gmail.com>
10094
10095 * subr.el (sha1): Implement sha1 using secure-hash.
10096
327c8fb1
MR
100972011-06-21 Martin Rudalics <rudalics@gmx.at>
10098
10099 * window.el (display-buffer-alist): In default value do not
10100 enforce searching a window on any but the selected frame.
10101 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10102 (display-buffer-select-window): Remove function.
10103 (display-buffer-in-window): When a window on another frame gets
10104 reused, do not select it any more but just raise its frame if
10105 necessary (Bug#8851) and (Bug#8856).
10106 (display-buffer-normalize-options): Handle pop-up-frames related
10107 options more faithfully.
10108 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10109 window if it is on another frame.
c9d29fb8
SM
10110 (display-buffer-alist, display-buffer-default-specifiers):
10111 Don't make new frame unsplittable by default.
9e9de014
MR
10112 (display-buffer-normalize-argument): Fix doc-string typo and use
10113 'same-frame-other-window instead of 'other-window when associating
10114 with display-buffer-macro-specifiers.
327c8fb1 10115
7cf3f556
VB
101162011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10117
10118 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10119 New functions.
10120 (5x5-mode-map, 5x5-mode-menu): Bind them.
10121 (5x5-draw-grid): Tweak the solver's rendering.
10122
60a406cf
SM
101232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10126 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10127
d8e4b68b 101282011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10129
10130 * menu-bar.el: Use function variable instead of switch-to-buffer.
10131 (menu-bar-select-buffer-function): New variable.
60a406cf 10132 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10133
478d6f95
SM
101342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10137 variable's status.
10138
ca530739
JD
101392011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10140
10141 * x-dnd.el (x-dnd-version-from-flags)
10142 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10143 and long as number (Bug#8899).
10144 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10145
bcd70d97
SM
101462011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10147
60a406cf 10148 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10149 (completion-try-completion, completion-all-completions): Compute the
10150 metadata argument if it's missing; make it optional (bug#8795).
10151
60a406cf 10152 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10153 (widget-complete): Use new :completion-function property.
10154 (widget-completions-at-point): New function.
10155 (default): Use :completion-function instead of :complete.
60a406cf
SM
10156 (widget-default-completions): Rename from widget-default-complete;
10157 Rewrite.
bcd70d97
SM
10158 (widget-string-complete, widget-file-complete, widget-color-complete):
10159 Remove functions.
10160 (file, symbol, function, variable, coding-system, color):
10161 * international/mule-cmds.el (default-input-method, charset)
10162 (language-info-custom-alist):
10163 * cus-edit.el (face): Use new property :completions.
10164
10165 * progmodes/pascal.el (pascal-completions-at-point): New function.
10166 (pascal-mode): Use it.
10167 (pascal-mode-map): Use completion-at-point.
10168 (pascal-toggle-completions): Make obsolete.
10169 (pascal-complete-word, pascal-show-completions):
10170 * progmodes/octave-mod.el (octave-complete-symbol):
10171 Redefine as obsolete alias.
10172 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10173 Signal absence of completion info for old Octave,
10174 (inferior-octave-complete): Redefine as obsolete alias.
10175 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10176 (meta-completions-at-point): Rename from meta-complete-symbol and
10177 adapt it for use on completion-at-point-functions.
10178 (meta-common-mode): Use it.
10179 (meta-looking-at-backward, meta-match-buffer): Remove.
10180 (meta-complete-symbol): Redefine as obsolete alias.
10181 (meta-common-mode-map): Use completion-at-point.
10182 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10183 (makefile-mode-map): Use completion-at-point.
10184 (makefile-completions-at-point): Rename from makefile-complete and
10185 adapt it for use on completion-at-point-functions.
10186 (makefile-mode): Use it.
10187 (makefile-complete): Redefine as obsolete alias.
10188
aebf69c8
DD
101892011-06-20 Deniz Dogan <deniz@dogan.se>
10190
10191 * net/rcirc.el: Delete trailing whitespaces once and for all.
10192
bfbbb27d
DC
101932011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10194
10195 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10196
d264a46b
CY
101972011-06-19 Chong Yidong <cyd@stupidchicken.com>
10198
4ca009e5
CY
10199 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10200
d264a46b
CY
10201 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10202
fbf5b3ce
MR
102032011-06-19 Martin Rudalics <rudalics@gmx.at>
10204
10205 * window.el (display-buffer-other-window-means-other-frame):
10206 Call display-buffer-normalize-alist.
10207 (display-buffer-normalize-specifiers-1): Rename to
10208 display-buffer-normalize-argument. New argument other-frame.
10209 Rewrite.
10210 (display-buffer-normalize-specifiers-2): Rename to
10211 display-buffer-normalize-options.
10212 (display-buffer-normalize-alist-1): New function.
10213 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10214 display-buffer-normalize-alist.
10215 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10216 (display-buffer-normalize-options-inhibit): New variable.
10217 (display-buffer-normalize-specifiers): Rewrite calling
10218 display-buffer-normalize-alist,
10219 display-buffer-normalize-argument, and
10220 display-buffer-normalize-options. Don't call the latter if
10221 display-buffer-normalize-options-inhibit is non-nil.
10222 (frame-auto-delete): New option.
10223 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10224 (window-list-no-nils, window-state-ignored-parameters)
10225 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10226 (window-state-put-1, window-state-put-2, window-state-put):
10227 New functions.
9a028c23
MR
10228 (display-buffer-normalize-options): Move special-display-p group
10229 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10230
6d10d800
CY
102312011-06-18 Chong Yidong <cyd@stupidchicken.com>
10232
6420d28b
CY
10233 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10234 groups (Bug#8776).
10235 (rx-submatch-n): New function.
10236 (rx): Document it.
10237
ddb8b596
CY
10238 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10239 (Bug#8768).
10240
10241 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10242
77080289
CY
10243 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10244
61dfb316
CY
10245 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10246 anytime existing face settings are present (Bug#8889).
10247
6d10d800
CY
10248 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10249 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10250 Remove unused argument.
10251
be3fb2b8
MR
102522011-06-18 Martin Rudalics <rudalics@gmx.at>
10253
bcd70d97
SM
10254 * window.el (display-buffer-default-specifiers):
10255 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10256 pop-up-window-min-width, and another reuse-window specifier
10257 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10258 (display-buffer-normalize-specifiers-2):
10259 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10260 pop-up-windows is unset. Add a reuse-window specifier for the
10261 case popping up a new window fails.
10262 (special-display-popup-frame): Remove double quoting.
28dec25a 10263 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10264
1c6d8c76
SM
102652011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10268 according to comint-completion-addsuffix.
10269
10270 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10271 (pcomplete-suffix-list): Mark as obsolete.
10272 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10273 pcomplete-seen in the closure.
10274 (pcomplete-comint-setup): Setup completion-at-point as well.
10275 (pcomplete--entries): New function.
10276 (pcomplete--env-regexp): New var.
10277 (pcomplete-entries): Rewrite to work with partial-completion and
10278 without relying on pcomplete-suffix-list.
10279 (pcomplete-pare-list): Remove, unused.
10280
25aef8b8
MR
102812011-06-17 Martin Rudalics <rudalics@gmx.at>
10282
10283 * window.el (display-buffer-alist): Set pop-up-window-min-height
10284 and pop-up-window-min-width in default value. Reported by
10285 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10286 other-window-means-other-frame.
10287 (display-buffer-macro-specifiers): Comment out entry for
10288 other-window specifier.
10289 (display-buffer-other-window-means-other-frame): New function.
10290 (display-buffer-normalize-specifiers-1): New arguments
10291 buffer-name and label. Treat other-window case specially.
10292 (display-buffer-normalize-specifiers-2): Treat other-window case
10293 specially.
10294 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10295 (display-buffer-normalize-specifiers):
10296 Call display-buffer-normalize-specifiers-3.
25aef8b8 10297
dbad4f69
MR
102982011-06-17 Martin Rudalics <rudalics@gmx.at>
10299
10300 * window.el (same-window-p): Fix two typos introduced when
10301 adding with-no-warnings.
d1067961
MR
10302 (display-buffer-normalize-specifiers-1): Don't check
10303 pop-up-frames for 'unset initialization.
10304 (display-buffer-normalize-specifiers-2): Major rewrite using
10305 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10306 (pop-up-frames, display-buffer-reuse-frames)
10307 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10308 Suggested by David Engster <deng@randomsample.de>.
10309 (even-window-heights): Initialize to 'unset.
10310 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10311 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10312 other window case.
dbad4f69 10313
9b9c9e3a
MR
103142011-06-16 Martin Rudalics <rudalics@gmx.at>
10315
bcd70d97
SM
10316 * window.el (display-buffer-normalize-specifiers-1):
10317 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10318 second argument of display-buffer (Bug#8865).
981d5c09
MR
10319 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10320 (switch-to-buffer-other-window-same-frame)
10321 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10322 Adams (Bug#8875).
9c2755e9
MR
10323 (display-buffer): Don't check noninteractive when calling
10324 display-buffer-pop-up-frame.
10325 (display-buffer-pop-up-frame): Never pop up a frame in
10326 noninteractive mode (Bug#8857).
67222e1d
MR
10327 (enlarge-window, shrink-window): Don't report an error when the
10328 window can't be resized as requested (Bug#8862).
9b9c9e3a 10329
2b75be67
SM
103302011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10331
9ffdd3ba
SM
10332 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10333
cb581a67
SM
10334 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10335
2b75be67
SM
10336 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10337
8c0e3589
AM
103382011-06-15 Alan Mackenzie <acm@muc.de>
10339
cb581a67
SM
10340 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10341 for declarators, disable knr checking to speed up for normal files.
10342 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10343
b96e6cde
LMI
103442011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10345
4bba86e6
LMI
10346 * net/network-stream.el (open-network-stream): Add the keyword
10347 :always-query-capabilities for the case where you want to force a
10348 `plain' network connection, but the protocol still requires the
10349 capabilitiy command (i.e., SMTP and EHLO).
10350
2b75be67 10351 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10352 consistency with other `-live-p' functions.
10353
efdcdbf8
SM
103542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * window.el (same-window-buffer-names, same-window-regexps)
10357 (special-display-frame-alist, special-display-popup-frame)
10358 (special-display-function, special-display-buffer-names)
10359 (special-display-regexps, pop-up-frame-alist)
10360 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10361 (pop-up-windows, split-window-preferred-function)
10362 (split-height-threshold, split-width-threshold, even-window-heights)
10363 (display-buffer-mark-dedicated): Don't encourage the use of
10364 display-buffer-alist from Elisp code.
10365
c5cde042
DN
103662011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10367
10368 * progmodes/python.el (python-mode): Derive from prog-mode.
10369 * progmodes/ps-mode.el (ps-mode):
10370 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10371 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10372 * progmodes/ld-script.el (ld-script-mode): Likewise.
10373
baa1c9ab
MR
103742011-06-15 Martin Rudalics <rudalics@gmx.at>
10375
10376 * window.el (display-buffer-alist): Trim default value to avoid
10377 popping up a new frame (Bug#8857) or reusing an arbitrary window
10378 on another frame.
10379 (display-buffer): Do not fall back on popping up a new frame in
10380 batch mode (Bug#8857).
10381
c5dd5a51
CY
103822011-06-14 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10385 (custom-theme-summary): New function.
10386 (customize-themes): Use it.
10387
d647b7c4
GM
103882011-06-13 Glenn Morris <rgm@gnu.org>
10389
10390 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10391
9481c002
MR
103922011-06-13 Martin Rudalics <rudalics@gmx.at>
10393
357f93d2
MR
10394 * help.el (help-window): Remove variable.
10395 (help-window-point-marker, temp-buffer-max-height)
10396 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10397 (help-print-return-message): Don't set help-window.
10398 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10399 (help-window-setup-finish): Remove.
10400 (help-window-display-message, help-window-setup)
10401 (with-help-window): Major rewrite based on new
10402 display-buffer-window variable.
10403
10404 * help-mode.el (help-mode-finish): Remove help-window related
10405 code.
10406
10407 * view.el (view-exits-all-viewing-windows): Remove reference to
10408 view-return-to-alist in doc-string.
10409 (view-return-to-alist): Make obsolete.
10410 (view-buffer): Call pop-to-buffer-same-window and remove
10411 undo-window code.
10412 (view-buffer-other-window): Call pop-to-buffer-other-window and
10413 simplify code. Ignore second argument.
10414 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10415 simplify code. Ignore second argument.
10416 (view-return-to-alist-update): Make obsolete.
10417 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10418 Rewrite using quit-restore window parameters.
2b75be67
SM
10419 (view-mode-exit): Rename second argument to EXIT-ONLY.
10420 Rewrite using quit-restore-window.
357f93d2
MR
10421 (View-exit, View-exit-and-edit, View-leave, View-quit)
10422 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10423 appropriate arguments.
10424 (view-end-message): Use quit-restore window parameter.
10425
9481c002
MR
10426 * window.el (display-buffer-function): Rewrite doc-string.
10427 (display-buffer-window, display-buffer-alist): New variables.
10428 (display-buffer-split-specifiers)
10429 (display-buffer-side-specifiers)
10430 (display-buffer-macro-specifiers): New constants.
10431 (display-buffer-even-window-sizes, display-buffer-set-height)
10432 (display-buffer-set-width, display-buffer-select-window)
10433 (display-buffer-in-window, display-buffer-reuse-window)
10434 (display-buffer-split-window-1, display-buffer-split-window)
10435 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10436 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10437 (display-buffer-in-side-window, normalize-buffer-to-display)
10438 (display-buffer-normalize-specifiers-1)
10439 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10440 (display-buffer-normalize-specifiers, display-buffer-frame):
10441 New functions.
9481c002
MR
10442 (display-buffer): Major rewrite.
10443 (display-buffer-other-window, display-buffer-other-frame)
10444 (pop-to-buffer, switch-to-buffer-other-window)
10445 (switch-to-buffer-other-frame): Rewrite.
10446 (display-buffer-same-window, display-buffer-same-frame)
10447 (display-buffer-same-frame-other-window)
10448 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10449 (pop-to-buffer-other-window)
10450 (pop-to-buffer-same-frame-other-window)
10451 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10452 (switch-to-buffer-other-window-same-frame): New functions.
10453 (same-window-p, special-display-p): Rewrite disabling warnings.
10454 Make obsolete.
10455 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10456 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10457 Make obsolete
10458 (same-window-buffer-names, same-window-regexps)
10459 (special-display-frame-alist, special-display-popup-frame)
10460 (special-display-function, special-display-buffer-names)
10461 (special-display-regexps, pop-up-frame-alist)
10462 (pop-up-frame-function, split-window-preferred-function)
10463 (split-height-threshold, split-width-threshold)
10464 (even-window-heights): Make obsolete.
10465
9db51aca
GM
104662011-06-12 Glenn Morris <rgm@gnu.org>
10467
10468 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10469 Misc simplifications.
9db51aca 10470
39cffb44
MR
104712011-06-12 Martin Rudalics <rudalics@gmx.at>
10472
10473 * window.el (window-safely-shrinkable-p): Restore function which
10474 was inadvertently removed in change from 2011-06-11. Declare as
10475 obsolete.
10476
2b75be67
SM
10477 * calendar/calendar.el (calendar-generate-window):
10478 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10479 window-safely-shrinkable-p.
10480
a8955be7
GM
104812011-06-12 Glenn Morris <rgm@gnu.org>
10482
10483 * progmodes/fortran.el (fortran-mode-syntax-table):
10484 * progmodes/f90.el (f90-mode-syntax-table):
10485 Set % to punctuation. (Bug#8820)
10486 (f90-find-tag-default): Remove, no longer needed.
10487
f0d4059d
DC
104882011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10489
10490 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10491
1100a63c
CY
104922011-06-11 Chong Yidong <cyd@stupidchicken.com>
10493
10494 * image.el (image-animated-p): Return animation delay in seconds.
10495 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10496 (image-animate-timeout): Remove DELAY argument. Don't assume
10497 every subimage has the same delay; get it from image-animated-p.
10498 (image-animate): Caller changed.
10499
def722bf
MA
105002011-06-11 Michael Albinus <michael.albinus@gmx.de>
10501
10502 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10503 to ignored backtrace functions.
10504
0a2bb1a9
GM
105052011-06-11 Glenn Morris <rgm@gnu.org>
10506
10507 * calendar/appt.el (appt-disp-window-function): Doc fix.
10508 (appt-check): Handle overlapping appointments. (Bug#8337)
10509
6198ccd0
MR
105102011-06-11 Martin Rudalics <rudalics@gmx.at>
10511
10512 * window.el (window-tree-1, window-tree): New functions, moving
10513 the latter to window.el.
10514 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10515 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10516 (bw-refresh-edges): Remove.
10517 (balance-windows-1, balance-windows-2): New functions.
10518 (balance-windows): Rewrite in terms of window tree functions,
10519 balance-windows-1 and balance-windows-2.
10520 (bw-adjust-window): Remove.
10521 (balance-windows-area-adjust): New function with functionality of
10522 bw-adjust-window but using resize-window.
2b75be67
SM
10523 (set-window-text-height): Rewrite doc-string.
10524 Use normalize-live-window and resize-window.
10525 (enlarge-window-horizontally, shrink-window-horizontally):
10526 Rename argument to DELTA.
6198ccd0
MR
10527 (window-buffer-height): New function.
10528 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10529 Rewrite using new window resize routines.
2b75be67
SM
10530 (kill-buffer-and-window, mouse-autoselect-window-select):
10531 Use ignore-errors instead of condition-case.
6198ccd0
MR
10532 (quit-window): Call delete-frame instead of delete-windows-on
10533 for the only buffer on frame.
10534
9397e56f
MR
105352011-06-10 Martin Rudalics <rudalics@gmx.at>
10536
10537 * loadup.el (top-level): Load window before files for the sake
10538 of replace-buffer-in-windows.
10539
10540 * files.el (read-buffer-to-switch)
10541 (switch-to-buffer-other-window)
2b75be67
SM
10542 (switch-to-buffer-other-frame, display-buffer-other-frame):
10543 Move to window.el.
9397e56f
MR
10544
10545 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10546 (previous-buffer): Move to window.el.
10547
10548 * bindings.el (unbury-buffer): Move to window.el.
10549
10550 * window.el (delete-other-windows-vertically): Move after
10551 definition of delete-other-windows.
10552 (other-window, delete-windows-on, replace-buffer-in-windows):
10553 Move here from window.c.
10554 (record-window-buffer, unrecord-window-buffer)
10555 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10556 (switch-to-next-buffer): New functions.
10557 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10558 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10559 (previous-buffer): Move here from simple.el.
10560 Call switch-to-prev-buffer.
9397e56f
MR
10561 (bury-buffer): Move here from buffer.c. Switch to previous
10562 buffer when window cannot be deleted.
10563 (unbury-buffer): Move here from bindings.el.
10564 (ctl-x-map): Move binding for other-window from window.c to
10565 here.
10566 (read-buffer-to-switch, switch-to-buffer-other-window)
10567 (switch-to-buffer-other-frame): Move here from files.el.
10568 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10569 (switch-to-buffer): Move here from buffer.c.
10570 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10571
562dd5e9
MR
105722011-06-10 Martin Rudalics <rudalics@gmx.at>
10573
10574 * window.el (window-min-height, window-min-width): Move here
10575 from window.c. Add defcustoms and rewrite doc-strings.
10576 (resize-mini-window, resize-window): New functions.
10577 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10578 Move here from window.c.
10579 (maximize-window, minimize-window): New functions.
10580 (delete-window, delete-other-windows, split-window): Move here
10581 from window.c.
10582 (window-split-min-size): New function.
10583 (split-window-keep-point): Mention split-window-above-each-other
10584 instead of split-window-vertically.
2b75be67 10585 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10586 Rename split-window-vertically to split-window-above-each-other
10587 and provide defalias for old definition.
10588 (split-window-side-by-side, split-window-horizontally):
10589 Rename split-window-horizontally to split-window-side-by-side
10590 and provide defalias for the old definition.
562dd5e9
MR
10591 (ctl-x-map): Move bindings for delete-window,
10592 delete-other-windows and enlarge-window here from window.c.
10593 Replace bindings for split-window-vertically and
10594 split-window-horizontally by bindings for
10595 split-window-above-each-other and split-window-side-by-side.
10596
10597 * cus-start.el (all): Remove entries for window-min-height and
10598 window-min-width. Add entries for window-splits and
10599 window-nest.
10600
f0da764a
GM
106012011-06-09 Glenn Morris <rgm@gnu.org>
10602
80675c21
GM
10603 * calendar/appt.el (appt-mode-line): New function.
10604 (appt-check, appt-disp-window): Use it.
10605
f0da764a
GM
10606 * files.el (hack-one-local-variable-eval-safep):
10607 Allow minor-modes with explicit +/-1 arguments.
10608
59f623b7
TZ
106092011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10610
10611 * term/xterm.el (xterm): Add defgroup.
10612 (xterm-extra-capabilities): Add defcustom to supply known xterm
10613 capabilities, skip querying them, or query them (default).
10614 (terminal-init-xterm): Use it.
10615 (terminal-init-xterm-modify-other-keys): New function to set up
10616 modifyOtherKeys support to simplify `terminal-init-xterm'.
10617
9aab8e0d
MR
106182011-06-09 Martin Rudalics <rudalics@gmx.at>
10619
10620 * window.el (resize-window-reset, resize-window-reset-1)
10621 (resize-subwindows-skip-p, resize-subwindows-normal)
10622 (resize-subwindows, resize-other-windows, resize-this-window)
10623 (resize-root-window, resize-root-window-vertically)
10624 (window-deletable-p, window-or-subwindow-p)
10625 (frame-root-window-p): New functions.
10626
e8b08aee
GM
106272011-06-09 Glenn Morris <rgm@gnu.org>
10628
10629 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10630 (ange-ftp-get-files): Use it.
10631
254c37a5
AK
106322011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10633
10634 * mail/sendmail.el (mail-recover-1, mail-recover):
10635 * files.el (recover-file, recover-session):
10636 Handle dired-listing-switches not being just a single short option.
10637
35d7dbd3
GM
106382011-06-09 Glenn Morris <rgm@gnu.org>
10639
10640 * calendar/appt.el (appt-display-message, appt-disp-window):
10641 Handle lists of appointments.
10642
387522b2
MR
106432011-06-08 Martin Rudalics <rudalics@gmx.at>
10644
2b75be67
SM
10645 * window.el (one-window-p): Move down in code.
10646 Rewrite doc-string.
10647 (window-current-scroll-bars): Rewrite doc-string.
10648 Normalize live window argument.
387522b2
MR
10649 (walk-windows, get-window-with-predicate, count-windows):
10650 Rewrite doc-string. Use window-list-1.
10651 (window-in-direction-2, window-in-direction, get-mru-window):
10652 New functions.
10653
d8e4b68b 106542011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10655
10656 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10657 Doc fix (Bug#8713).
10658
106592011-06-08 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10662
106632011-06-08 Juanma Barranquero <lekktu@gmail.com>
10664
10665 * loadhist.el (unload-feature-special-hooks):
10666 Add `comint-output-filter-functions'.
10667
0de12c52
IK
106682011-06-08 Ivan Kanis <gnu@kanis.fr>
10669
10670 * calendar/appt.el (appt-check): Move some initializations into the let.
10671
f3d1777e
MR
106722011-06-08 Martin Rudalics <rudalics@gmx.at>
10673
10674 * window.el (window-height): Defalias to window-total-height.
10675 (window-width): Defalias to window-body-width.
10676
18af70d0
CY
106772011-06-07 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * image-mode.el (image-toggle-animation): New command.
10680 (image-mode-map): Bind it to RET.
10681 (image-mode): Update message.
10682 (image-toggle-display-image): Avoid a spurious cache flush.
10683 (image-transform-rotation): Doc fix.
10684 (image-transform-properties): Return quickly in the normal case.
10685 (image-animate-loop): Rename from image-animate-max-time.
10686
2b75be67 10687 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10688 (create-animated-image): Remove unnecessary function.
10689 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10690 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10691 (image-animate-timer): Use car-safe.
10692 (image-animate-timeout): Rename argument.
10693
190b47e6
MR
106942011-06-07 Martin Rudalics <rudalics@gmx.at>
10695
10696 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10697 window.c. Rename first argument to ALL-FRAMES.
10698 Rephrase doc-strings.
10699 (get-buffer-window-list): Rewrite using window-list-1.
10700 Rephrase doc-string.
a1511caf
MR
10701 (window-safe-min-height, window-safe-min-width): New constants.
10702 (window-size-ignore, window-min-size, window-min-size-1)
10703 (window-sizable, window-sizable-p, window-size-fixed-1)
10704 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10705 (window-max-delta-1, window-max-delta, window-resizable)
10706 (window-resizable-p, window-total-height, window-total-width)
10707 (window-body-width): New functions.
10708 (window-full-height-p, window-full-width-p): Rewrite using
10709 window-total-size.
10710 (window-body-height): Rewrite using window-body-size.
190b47e6 10711
85cc1f11
MR
107122011-06-06 Martin Rudalics <rudalics@gmx.at>
10713
10714 * window.el (window-right, window-left, window-child)
10715 (window-child-count, window-last-child, window-any-p)
10716 (normalize-live-buffer, normalize-live-frame)
10717 (normalize-any-window, normalize-live-window)
10718 (window-iso-combination-p, window-iso-combined-p)
10719 (window-iso-combinations)
10720 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10721 (windows-with-parameter, window-with-parameter)
10722 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10723 (window-atom-check, window-side-check, window-check):
10724 New functions.
85cc1f11
MR
10725 (ignore-window-parameters, window-sides, window-sides-vertical)
10726 (window-sides-slots): New variables.
10727 (window-size-fixed): Move down in code. Minor doc-string fix.
10728
e7156492
AS
107292011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10730
10731 * comint.el (comint-dynamic-complete-as-filename)
10732 (comint-dynamic-complete-filename): Correctly call
10733 completion-in-region.
10734
7e821d0d
DD
107352011-06-05 Deniz Dogan <deniz@dogan.se>
10736
10737 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10738 in last change.
10739
ac09b8a1
DD
107402011-06-05 Deniz Dogan <deniz@dogan.se>
10741
10742 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10743 (rcirc): Use it to prompt for encryption.
10744
34699b85
RW
107452011-06-05 Roland Winkler <winkler@gnu.org>
10746
10747 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10748 (bibtex-search-entries): New command bound to C-c C-a.
10749 (bibtex-display-entries): New function.
10750
004dedd3
RW
107512011-06-05 Roland Winkler <winkler@gnu.org>
10752
10753 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10754 (bibtex-insert-kill): After yanking insert newline if necessary.
10755 (bibtex-initialize): Call bibtex-string-files-init only once.
10756 (bibtex-mode): Do not call easy-menu-add.
10757 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10758 (bibtex-yank): Set arg properly if nil.
10759
022fe7ce
RW
107602011-06-05 Roland Winkler <winkler@gnu.org>
10761
2b75be67
SM
10762 * textmodes/bibtex.el (bibtex-search-entry-globally):
10763 New variable.
022fe7ce
RW
10764 (bibtex-search-entry): Use it.
10765
b7c3692a
RW
107662011-06-05 Roland Winkler <winkler@gnu.org>
10767
10768 * textmodes/bibtex.el (bibtex-entry-format): New option
10769 sort-fields.
10770 (bibtex-format-entry, bibtex-reformat): Honor this option.
10771 (bibtex-parse-entry): Return fields in proper order.
10772
8eda563d
JB
107732011-06-05 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * doc-view.el (doc-view-remove-if): Move computation of result out
10776 of `dolist' to silence misleading lexical-binding warning.
10777
7dbe3dbc
CY
107782011-06-04 Chong Yidong <cyd@stupidchicken.com>
10779
10780 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10781 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10782
0c33dd17
MA
107832011-06-04 Michael Albinus <michael.albinus@gmx.de>
10784
10785 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10786 "SunOS 5.10".
10787
f8f91c2b
MA
107882011-06-04 Michael Albinus <michael.albinus@gmx.de>
10789
10790 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10791 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10792 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10793 (tramp-parse-putty):
10794 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10795 (tramp-completion-function-alist-ssh)
10796 (tramp-completion-function-alist-telnet)
10797 (tramp-completion-function-alist-su)
10798 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10799 cookie.
10800
10801 * net/tramp-ftp.el:
10802 * net/tramp-sh.el:
10803 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10804 load "tramp.el" `tramp-set-completion-function'.
10805
e17d9003
SM
108062011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * shell.el: Require and use pcomplete.
10809 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10810 (shell-completion-vars): Set pcomplete-default-completion-function.
10811
6c4cab03
DD
108122011-06-04 Deniz Dogan <deniz@dogan.se>
10813
10814 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10815 `memq' (Bug#8799).
10816
ea9fafe0
SM
108172011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10820
b3e945d3
JB
108212011-06-02 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10824 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10825 * vc/log-view.el (log-view-beginning-of-defun):
10826 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10827 (smerge-refine-forward, smerge-refine-chopup-region):
10828 Silence warning for unused `dotimes' counter variables.
10829
7d520089
SM
108302011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * net/tramp.el (tramp-with-progress-reporter): Rename from
10833 with-progress-reporter. Use `declare'.
10834 * net/tramp-smb.el:
10835 * net/tramp-sh.el:
10836 * net/tramp-gvfs.el: Update all uses.
10837
a1c2400f
JB
108382011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10839
10840 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10841 buffer isn't killed before making it current.
10842
2403c841
SM
108432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 Silence various byte-compiler warnings.
10846 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10847 `access-type' and new obsolescence format.
10848 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10849 new format.
10850 (byte-compile-check-variable): New `access-type' argument.
10851 Only warn if the access-type is obsolete.
10852 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10853 (byte-compile-variable-set): Adjust callers.
10854 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10855 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10856 setting it as obsolete.
10857 * simple.el (minibuffer-completing-symbol):
10858 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10859 access as obsolete.
10860 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10861 obsolete yet.
10862 * international/quail.el (quail-mouse-choose-completion): Remove unused
10863 code referring to obsolete var.
10864 (quail-choose-completion-string): Remove.
10865 * server.el (server-clients-with, server-kill-buffer-query-function)
10866 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10867 * proced.el (proced-send-signal):
10868 * emacs-lisp/lisp.el (lisp-complete-symbol):
10869 Replace completion-annotate-function with completion-extra-properties.
10870
2462470b
SM
108712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10872
fb5b2591
SM
10873 * simple.el (goto-line): Use read-number.
10874 (overriding-map-is-bound): Remove.
10875 (saved-overriding-map): Change default.
10876 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10877 Take the map as argument.
10878 (universal-argument, negative-argument, digit-argument): Use it.
10879 (restore-overriding-map): Adjust.
10880 (do-auto-fill): Use fill-forward-paragraph.
10881 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10882
fd6fa53f
SM
10883 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10884 (minibuffer-inactive-mode): New major mode.
10885 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10886 the *Messages* buffer" hack.
10887 (mouse-popup-menubar): Don't burp if the event is a normal key.
10888
2462470b
SM
10889 Miscellaneous tweaks.
10890 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10891 lexical scoping as in subr.el's dolist and dotimes.
10892 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10893 Silence compiler warning.
10894 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10895 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10896 * international/ccl.el (ccl-compile): Trivial simplification.
10897 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10898 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10899 `printflag' argument.
10900 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10901 Purecopy the whole obsolescence data.
10902
108bf785
LL
109032011-06-01 Leo Liu <sdl.web@gmail.com>
10904
10905 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10906 improve doc-string as suggested by Marco Pessotto
10907 <melmothx@gmail.com>.
10908 (rcirc-print): Fix last change.
10909
30a23501
SM
109102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * minibuffer.el (complete-with-action): Return nil for the metadata and
10913 boundaries of non-functional tables.
10914 (completion-table-dynamic): Return nil for the metadata.
10915 (completion-table-with-terminator): Add default case, using
10916 complete-with-action.
10917 (completion--metadata): New function.
10918 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10919 to try and avoid pathological performance problems.
10920 (completion--embedded-envvar-table): Return `category' metadata.
10921
bcd54f83
LMI
109222011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10923
10924 * subr.el (process-alive-p): New tiny convenience function.
10925
e227544d
SM
109262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10929 content but also its previous major mode.
10930
e8296fdc
HE
109312011-05-31 Helmut Eller <eller.helmut@gmail.com>
10932
4d61f28d 10933 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10934 *Backtrace* buffer when we exit with C-M-c.
10935
620c53a6
SM
109362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * minibuffer.el: Add metadata method to completion tables.
10939 (completion-category-overrides): New defcustom.
10940 (completion-metadata, completion--field-metadata)
10941 (completion-metadata-get, completion--styles)
10942 (completion--cycle-threshold): New functions.
10943 (completion-try-completion, completion-all-completions):
10944 Add `metadata' argument to choose completion-styles.
10945 (completion--do-completion): Use metadata to choose cycling.
10946 (completion-all-sorted-completions): Use metadata for sorting.
10947 Remove :completion-cycle-penalty which is not needed any more.
10948 (completion--try-word-completion): Add `metadata' argument.
10949 (minibuffer-completion-help): Check metadata for annotation function
10950 and sorting.
10951 (completion-file-name-table): Return `category' metadata.
10952 (minibuffer-completing-file-name): Make obsolete.
10953 * simple.el (minibuffer-completing-symbol): Make obsolete.
10954 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10955 completion-try-completion.
10956
1257e755
SM
109572011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10960
3767e706
LL
109612011-05-30 Leo Liu <sdl.web@gmail.com>
10962
10963 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10964 (rcirc-print): Decode all incoming messages (bug#8744).
10965 (rcirc-decode-coding-system): Allow value nil for automatic coding
10966 system detection.
3767e706 10967
d1a5d56a
GM
109682011-06-01 Glenn Morris <rgm@gnu.org>
10969
10970 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10971
e8cbec34
CY
109722011-05-29 Chong Yidong <cyd@stupidchicken.com>
10973
10974 * image.el (image-animate-max-time): Allow nil and t values.
10975 Default to nil.
10976 (create-animated-image): Doc fix.
10977 (image-animate-start): Remove second arg; just use
10978 image-animate-max-time.
10979 (image-animate-timeout): Doc fix. Args changed.
10980
10981 * image-mode.el (image-toggle-display-image): Ensure that the
10982 image spec passed to the animate timer is the same object as in
58179cce 10983 the buffer's display property (Bug#6981).
e8cbec34
CY
10984 (image-transform-properties): Doc fix.
10985
10986 * image.el (image-animate-max-time): Default to nil.
10987
159daf87
MR
109882011-05-29 Martin Rudalics <rudalics@gmx.at>
10989
10990 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10991 entire buffer list (Bug#8184).
10992
d66c4c7c
CY
109932011-05-29 Chong Yidong <cyd@stupidchicken.com>
10994
10995 * image.el (imagemagick-types-inhibit)
10996 (imagemagick-register-types): Doc fix.
10997
80aec780
DD
109982011-05-29 Deniz Dogan <deniz@dogan.se>
10999
11000 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11001 default.
11002
1dd3c2d9
CY
110032011-05-29 Chong Yidong <cyd@stupidchicken.com>
11004
11005 * select.el: Don't perform clipboard-manager saving in hooks;
11006 leave the hooks empty.
11007
60e56523
LL
110082011-05-28 Leo Liu <sdl.web@gmail.com>
11009
11010 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11011 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11012 (occur-edit-mode): New major mode (Bug#8463).
11013 (occur-after-change-function): New function.
11014 (occur-engine): Give Occur tags a read-only property.
11015
2b1e1a22
KR
110162011-05-28 Kevin Ryde <user42@zip.com.au>
11017
11018 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11019
5d344e88
CY
110202011-05-28 Chong Yidong <cyd@stupidchicken.com>
11021
8e6ca83d
CY
11022 * bindings.el (help-echo): Make the initial non-indicator dash
11023 empty on graphical terminals (Bug#7295).
11024
5d344e88
CY
11025 * files.el (auto-mode-alist): Move config rule after the
11026 in-stripping one (Bug#8547).
11027
bfbbace7
CY
11028 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11029
fbeba6e2
CY
11030 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11031 setting (Bug#8740).
11032
60ed8c72
AA
110332011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11034
4ac619f0
AA
11035 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11036 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11037 (Bug#8539).
60ed8c72 11038
23db196e
CY
110392011-05-28 Chong Yidong <cyd@stupidchicken.com>
11040
11041 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11042
5012f24c
DK
110432011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11044
11045 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11046 (hs-hide-block-at-point, hs-find-block-beginning)
11047 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11048 (Bug#8279).
11049
6a639b16
GM
110502011-05-28 Glenn Morris <rgm@gnu.org>
11051
11052 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11053
d43eaf2c
CY
110542011-05-28 Chong Yidong <cyd@stupidchicken.com>
11055
5199bde1
CY
11056 * help-fns.el (describe-function-1): If the function is a derived
11057 major mode, print the parent mode.
11058
d43eaf2c
CY
11059 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11060 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11061
423428a8
SM
110622011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11063
0ff8e1ba 11064 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11065 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11066 * progmodes/etags.el (tags-completion-at-point-function):
11067 * info-look.el (info-lookup-completions-at-point): Mark as
11068 non-exclusive.
11069 (info-complete): Adjust accordingly.
11070
423428a8
SM
11071 * info-look.el: Convert to lexical-binding and completion-at-point.
11072 (info-lookup-completions-at-point): New function.
11073 (info-complete): Use it and completion-in-region.
11074
b74aa22b
DA
110752011-05-28 Drew Adams <drew.adams@oracle.com>
11076
11077 * isearch.el: Let M-e start with point at the first mismatched char.
11078 (isearch-fail-pos): New function.
11079 (isearch-edit-string): Use it.
11080
66e2e71d
DK
110812011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11082
11083 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11084
b1890b0f 110852011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11086
11087 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11088 traversal functions for avl-trees.
11089 (avl-tree--stack): New struct.
11090 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11091 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11092 (avl-tree--do-enter): Add optional `updatefun' arg.
11093 Change return value.
eb95d01d 11094 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11095 (avl-tree--do-delete): Add `test' and `nilflag' args.
11096 Change return value.
eb95d01d
TC
11097 (avl-tree-member): Add optional `nilflag'
11098 (avl-tree-member-p): New function.
11099 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11100 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11101 (avl-tree-stack-empty-p): New functions.
11102
3769ddcf
TC
11103 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11104 avl-tree--del-balance1 and make it work both ways.
11105 (avl-tree--del-balance2): Remove.
11106 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11107 make it work both ways.
11108 (avl-tree--enter-balance2): Remove.
11109 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11110 New macros.
11111 (avl-tree--mapc, avl-tree-map): Add direction argument.
11112
eb95d01d 111132011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11114
11115 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11116
a9f737ee
CY
111172011-05-27 Chong Yidong <cyd@stupidchicken.com>
11118
11119 * select.el: Support clipboard managers with built-in function
11120 x-clipboard-manager-save, via delete-frame-functions and
11121 kill-emacs-hook.
11122 (xselect-convert-to-targets): Add MULTIPLE target to list.
11123 (xselect-convert-to-save-targets): New function.
11124
c92a1e54
KH
111252011-05-27 Kenichi Handa <handa@m17n.org>
11126
11127 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11128 let-binding rfc2047-encode-encoded-words to nil.
11129
e145f188
GM
111302011-05-27 Glenn Morris <rgm@gnu.org>
11131
5ec8a862
GM
11132 * mail/emacsbug.el: Don't require url-util.
11133
4b29d9fb
GM
11134 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11135
e145f188
GM
11136 * files.el (set-auto-mode):
11137 Also respect mode: entries at the end of the file. (Bug#8586)
11138
7d15102b
GM
111392011-05-26 Glenn Morris <rgm@gnu.org>
11140
98f593b8
GM
11141 * files.el (hack-local-variables-prop-line, hack-local-variables):
11142 Downcase mode names, as seems to be traditional.
27b48e63 11143 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11144
7d15102b
GM
11145 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11146 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11147
51d5b4ec
JD
111482011-05-25 Julien Danjou <julien@danjou.info>
11149
11150 * textmodes/rst.el (rst-define-level-faces): Do not define face
11151 symbol if it is already defined.
11152
91513f63
VB
111532011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11154
11155 * play/5x5.el (5x5-new-game, 5x5-randomize):
11156 Reset 5x5-solver-output to nil when a new grid is cast.
11157 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11158 these debugging traces, as defmacro breaks the compiled code.
11159
4d90d6d0
DK
111602011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11161
11162 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11163
e1b90ef6
LL
111642011-05-24 Leo Liu <sdl.web@gmail.com>
11165
11166 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11167 (vc-bzr-sha1): Adapt.
11168
d8e4b68b 11169 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11170
11171 * bindings.el: Provide sha1 feature.
11172
db0406bb 111732011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11174
11175 * mail/sendmail.el: Require `rfc2047'.
11176 (mail-insert-from-field): Do not perform RFC2047 encoding.
11177 (mail-encode-header): New function.
11178 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11179 buffer to the return value of select-message-coding-system.
11180 Call mail-encode-header.
b8d747b9
KH
11181
11182 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11183
db0406bb 111842011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11185
4d90d6d0
DK
11186 * mail/supercite.el (sc-default-cite-frame):
11187 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11188
eb8a5e9b
GM
111892011-05-24 Glenn Morris <rgm@gnu.org>
11190
f8630703
GM
11191 * progmodes/python.el (brm-menu): Declare.
11192
8831bbed
GM
11193 * emulation/viper.el (viper-set-hooks): Declare.
11194
eb8a5e9b
GM
11195 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11196 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11197 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11198 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11199 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11200 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11201
a2a25d24
SM
112022011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 Add an :exit-function for completion-at-point.
11205
11206 * minibuffer.el (completion--done): New fun.
11207 (completion--do-completion): Use it. New arg `expect-exact'.
11208 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11209 since completion--do-completion does it for us now.
11210 (minibuffer-force-complete): Use completion--done and
11211 completion--replace. Handle sole-completion case with more care.
11212 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11213 (completion-extra-properties): New var.
11214 (completion-annotate-function): Make obsolete.
11215 (minibuffer-completion-help): Adjust accordingly.
11216 Use completion-list-insert-choice-function.
11217 (completion-at-point, completion-help-at-point):
11218 Bind completion-extra-properties.
11219 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11220 * simple.el (completion-list-insert-choice-function): New var.
11221 (completion-setup-function): Preserve it.
11222 (choose-completion): Pay attention to it, shuffle the code a bit.
11223 (choose-completion-string): New arg `insert-function'.
11224
11225 * textmodes/bibtex.el: Convert to lexical binding.
11226 (bibtex-mode-map): Use completion-at-point.
11227 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11228 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11229 (bibtex-complete): Define as obsolete alias.
11230 (bibtex-complete-internal): Remove.
11231 (bibtex-format-entry): Remove unused sub-group in regexp.
11232 * shell.el (shell--command-completion-data)
11233 (shell-environment-variable-completion):
11234 * pcomplete.el (pcomplete-completions-at-point):
11235 * comint.el (comint--complete-file-name-data): Use :exit-function
11236 instead of completion-table-with-terminator so it also works for
11237 choose-completion.
11238
e44e373d
SM
112392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11240
4f91a816
SM
11241 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11242
782fc819
SM
11243 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11244 (bug#8710).
11245
e44e373d
SM
11246 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11247
381987c3
KM
112482011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11249
11250 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11251 customization variable and implement: If non-nil, auto-fill will
11252 be inhibited while on topic's header line.
11253
b776bc70
VB
112542011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11255
11256 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11257 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11258 always have a solution in grid size = 5 cases.
11259 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11260 (5x5-solver-output, 5x5-log-buffer): New vars.
11261 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11262 Make these variables buffer local to achieve 5x5 multi-session-ness.
11263 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11264 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11265 (5x5-solve-suggest): New funs.
11266 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11267 randomize a grid so that we ensure that there is always a solution.
11268 (5x5-make-random-grid): Allow other movement than flipping.
11269
7de88b6e
KR
112702011-05-23 Kevin Ryde <user42@zip.com.au>
11271
11272 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11273 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11274 advice and passes PREDICATE.
11275
b1ef1257
SM
112762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11277
bbca48fe
SM
11278 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11279 byte-compile-lambda if it's actually a lambda.
11280
b1ef1257
SM
11281 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11282 Fix function quoting. Use backquote better.
11283
92a9cc65
YS
112842011-05-22 Yuanle Song <sylecn@gmail.com>
11285
11286 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11287 matching (Bug#8516).
11288
f0fb8059
JA
112892011-01-22 Jari Aalto <jari.aalto@cante.net>
11290
11291 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11292 different face (Bug#8178).
11293
d5b44c93
CY
112942011-05-22 Chong Yidong <cyd@stupidchicken.com>
11295
11296 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11297 defface (Bug#8144).
11298
79106a44
SM
112992011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11300
9c848d8a
SM
11301 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11302 funcall as well (bug#8712). Warn when performing those conversions.
11303 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11304
79106a44
SM
11305 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11306
88dfa756
GM
113072011-05-22 Glenn Morris <rgm@gnu.org>
11308
11309 * files.el (hack-local-variables-prop-line): Small simplifications.
11310 (hack-local-variables, hack-local-variables-prop-line):
11311 If MODE-ONLY, return the mode, rather than just `t'.
11312
b7cf2c79
SM
113132011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11316
3f1a8558
GM
113172011-05-21 Glenn Morris <rgm@gnu.org>
11318
7e4ccca3
GM
11319 * files.el (hack-local-variables-prop-line, hack-local-variables):
11320 If only interested in the mode, don't bother doing the other stuff.
11321
637d46ca
GM
11322 * image-mode.el (image-after-revert-hook):
11323 Redraw all frames on which the image is visible. (Bug#8567)
11324
973d955b
GM
11325 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11326
3f1a8558
GM
11327 * wid-edit.el (widget-checklist-match-inline):
11328 Fix 2011-04-19 change. (Bug#8649)
11329
96479927
SM
113302011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11331
1dcf791f
SM
11332 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11333 Also allow singlespace after single-letter capitals followed by a dot.
11334
96479927
SM
11335 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11336 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11337
35fd0881
N
113382011-05-20 Nix <nix@esperi.org.uk>
11339
11340 * files.el (basic-save-buffer-2):
11341 Fix handling of break-hardlink-on-save with non-existent files.
11342
82745640
DD
113432011-05-19 Deniz Dogan <deniz@dogan.se>
11344
11345 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11346 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11347
4a720484
GM
113482011-05-19 Glenn Morris <rgm@gnu.org>
11349
d1f21341
GM
11350 * progmodes/f90.el (f90-type-def-re):
11351 Handle "type, bind(c)". (Bug#8691)
11352
4a720484
GM
11353 * emacs-lisp/autoload.el (batch-update-autoloads):
11354 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11355
2fb0a219
MA
113562011-05-18 Michael Albinus <michael.albinus@gmx.de>
11357
11358 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11359 property for the correct connection in case of multihops.
11360
e565dd37
GM
113612011-05-18 Glenn Morris <rgm@gnu.org>
11362
c2571358 11363 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11364 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11365
e565dd37
GM
11366 Rationalize calendar handling of day and month abbrev-arrays.
11367 * calendar/calendar.el (calendar-customized-p): New function.
11368 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11369 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11370 Add :set function.
11371 (calendar-abbrev-length, calendar-day-abbrev-array)
11372 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11373 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11374 Elements may no longer be nil.
11375 (calendar-day-name, calendar-month-name):
11376 Update for changed nature of abbrev arrays.
11377 * calendar/diary-lib.el (diary-name-pattern):
11378 Update for changed nature of abbrev arrays.
11379 (diary-mark-entries-1): Update calendar-make-alist calls.
11380 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11381 * calendar/cal-html.el (cal-html-day-abbrev-array):
11382 Simply inherit from calendar-day-abbrev-array.
11383
1d99a745
SM
113842011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * progmodes/grep.el (grep-mode): Disable default
11387 compilation-directory-matcher setting (bug#8684).
11388
7c1d9aa0
MA
113892011-05-17 Michael Albinus <michael.albinus@gmx.de>
11390
11391 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11392 instead of "head" and "tail". There were problems with SunOS 5.9,
11393 and it performs better.
11394
3952e9d8
GM
113952011-05-17 Glenn Morris <rgm@gnu.org>
11396
2dd12e7f
GM
11397 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11398
e4157b9c
GM
11399 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11400 Replace obsolete function.
11401
8e249bbd
GM
11402 * shell.el (pcomplete-parse-arguments-function): Declare.
11403
3952e9d8
GM
11404 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11405 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11406 (appt-check): Doc fixes.
11407 (appt-disp-window-function, appt-delete-window-function):
11408 Remove needless special case in custom :type.
11409 (appt-display-count): Default to 0, not nil.
11410 (appt-check): Reset appt-display-count to 0, not nil.
11411
c71a0d48 114122011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11413
c71a0d48
GM
11414 * progmodes/python.el (python-font-lock-keywords):
11415 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11416
31d55be9
SM
114172011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11418
11419 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11420
3bfacb2f
KR
114212011-05-16 Kevin Ryde <user42@zip.com.au>
11422
11423 * info-look.el (makefile-automake-mode): New setups, looking in
11424 automake manual, then makefile-mode.
11425 (makefile-mode): Remove automake manual, have it just in
11426 makefile-automake-mode since there's various things different or
11427 not relevant to plain make.
11428 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11429 believe a hypothetical automake-mode would go to makefile-mode,
11430 not the other way around.
11431
c8e83751
CY
114322011-05-15 Chong Yidong <cyd@stupidchicken.com>
11433
5e9e35cd
CY
11434 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11435 hunk-end tags (Bug#8672).
11436
c8e83751
CY
11437 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11438 vc-annotate-show-diff-revision-at-line (Bug#8671).
11439
50b23e5a
GM
114402011-05-14 Glenn Morris <rgm@gnu.org>
11441
7210a739
GM
11442 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11443 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11444 (change-log-font-lock-keywords): Also handle multiple author lines
11445 with leading tabs. (Bug#8644)
7210a739 11446
4691905a
GM
11447 * calendar/appt.el (appt-check): Rename some local variables.
11448 Some simplification/reordering.
11449
50b23e5a
GM
11450 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11451 (feedmail-sendmail-f-doesnt-sell-me-out)
11452 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11453 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11454 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11455 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11456 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11457 (feedmail-binmail-gnulinuxish-template):
11458 Rename from feedmail-binmail-linuxish-template.
11459 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11460 Use insert-buffer-substring.
11461
215cda7c
BC
114622011-05-14 Bill Carpenter <bill@carpenter.org>
11463
11464 * mail/feedmail.el (feedmail-patch-level): Increase.
11465 (feedmail-debug): New custom group.
11466 (feedmail-confirm-outgoing-timeout)
11467 (feedmail-sendmail-f-doesnt-sell-me-out)
11468 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11469 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11470 (feedmail-sender-line, feedmail-from-line)
11471 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11472 (feedmail-spray-this-address)
215cda7c
BC
11473 (feedmail-spray-address-fiddle-plex-list)
11474 (feedmail-queue-use-send-time-for-date)
11475 (feedmail-queue-use-send-time-for-message-id)
11476 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11477 (feedmail-buffer-eating-function):
11478 Doc fixes.
11479 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11480 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11481 (feedmail-message-action-scroll-down): New functions.
11482 (feedmail-queue-directory, feedmail-queue-draft-directory):
11483 Use expand-file-name.
11484 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11485 Remove C-v help entry.
11486 (feedmail-queue-buffer-file-name): New variable.
11487 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11488 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11489 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11490 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11491 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11492 (feedmail-message-action-toggle-spray)
11493 (feedmail-run-the-queue-no-prompts)
11494 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11495 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11496 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11497 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11498 (feedmail-envelope-deducer, feedmail-fiddle-from)
11499 (feedmail-fiddle-sender, feedmail-default-date-generator)
11500 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11501 (feedmail-fiddle-spray-address)
11502 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11503 (feedmail-fiddle-list-of-fiddle-plexes)
11504 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11505 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11506 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11507 Change default. Doc fix.
11508 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11509 (feedmail-binmail-linuxish-template): New constant.
11510 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11511 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11512 (feedmail-send-it): Add debug call.
11513 Use feedmail-queue-buffer-file-name, and
11514 feedmail-send-it-immediately-wrapper.
11515 (feedmail-message-action-send): Add debug call.
11516 Use feedmail-send-it-immediately-wrapper.
11517 (feedmail-queue-express-to-queue): Add debug call.
11518 Run feedmail-queue-express-hook.
11519 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11520 (feedmail-message-action-help-blat):
11521 Rename from feedmail-queue-send-edit-prompt-help-first.
11522 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11523 Check line-endings. Handle errors better.
11524 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11525 Doc fix. Add debug call.
11526 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11527 Use feedmail-queue-send-edit-prompt-inner.
11528 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11529 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11530 from feedmail-queue-send-edit-prompt.
11531 (feedmail-queue-send-edit-prompt-help)
11532 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11533 (feedmail-tidy-up-slug): Add debug call.
11534 Respect feedmail-queue-slug-suspect-regexp.
11535 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11536 (feedmail-dump-message-to-queue): Add debug call.
11537 Expand queue-directory.
11538 (feedmail-dump-message-to-queue): Change message slightly.
11539 Use feedmail-say-chatter.
11540 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11541 (feedmail-send-it-immediately-wrapper): New function.
11542 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11543 Insert empty string rather than newline. Handle full-frame case.
11544 Use catch/throw. Use feedmail-say-chatter.
11545 (feedmail-fiddle-from): Try mail-host-address.
11546 (feedmail-default-message-id-generator): Doc fix.
11547 Bind system-time-locale. Handle missing end.
11548 (feedmail-fiddle-x-mailer): Add debug call.
11549 Handle feedmail-x-mailer-line being nil.
11550 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11551 Add debug call. Use buffer-substring-no-properties.
11552 (feedmail-say-debug, feedmail-say-chatter): New functions.
11553 (feedmail-find-eoh): Give an explicit error.
11554
42c7e61e
UJ
115552011-05-13 Ulf Jasper <ulf.jasper@web.de>
11556
c2571358 11557 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11558 family from helvetica to sans.
c2571358 11559 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11560 etc/images/newsticker.
11561
c2571358 11562 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11563 family from helvetica to sans.
11564
11565 * net/newst-plainview.el (newsticker-new-item-face)
11566 (newsticker-old-item-face, newsticker-immortal-item-face)
11567 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11568 (newsticker-statistics-face): Change default family from
42c7e61e 11569 helvetica to sans.
c2571358 11570 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11571 etc/images/newsticker.
11572
5d3385a0
JB
11573 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11574 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11575 auto-marking.
11576
8497a297
DV
115772011-05-13 Didier Verna <didier@xemacs.org>
11578
11579 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11580 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11581 TODO entries.
8497a297
DV
11582 (lisp-lambda-list-keyword-parameter-indentation)
11583 (lisp-lambda-list-keyword-parameter-alignment)
11584 (lisp-lambda-list-keyword-alignment): New customizable user options.
11585 (lisp-indent-defun-method): Improve docstring.
11586 (extended-loop-p): Fix comment.
11587 (lisp-indent-lambda-list-keywords-regexp): New variable.
11588 (lisp-indent-lambda-list): New function.
11589 (lisp-indent-259): Use it.
11590 (lisp-indent-defmethod): Support for more than one
11591 method qualifier and properly indent methods lambda-lists.
11592 (defgeneric): Provide a missing common-lisp-indent-function property.
11593
f278f87f
SM
115942011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11595
11596 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11597 bounds for the empty string (bug#8667).
11598
5233edd7
GM
115992011-05-13 Glenn Morris <rgm@gnu.org>
11600
5237a44f
GM
11601 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11602
8340026c 11603 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11604 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11605
5233edd7 11606 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11607 (appt-time-msg-list): Doc fix.
a5464014 11608 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11609
92d10796
AS
116102011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11611
11612 * progmodes/ld-script.el (ld-script-keywords)
11613 (ld-script-builtins): Update keywords list.
11614
914a0ae1
SM
116152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11616
c89be45f
SM
11617 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11618
914a0ae1
SM
11619 * shell.el (shell-completion-vars): New function.
11620 (shell-mode):
11621 * simple.el (read-shell-command): Use it.
11622 (blink-matching-open): No need for " [...]" in minibuffer-message.
11623
98dc3df3
GM
116242011-05-12 Glenn Morris <rgm@gnu.org>
11625
11626 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11627 (appt-check): Simplify.
11628
d2fc7e3d 116292011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11630
4d61f28d 11631 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11632 literal "/dev/null".
11633
d2fc7e3d 116342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11635
11636 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11637 Fix typo.
11638
d2fc7e3d 116392011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11640
3f254caa
SM
11641 * progmodes/which-func.el (which-function):
11642 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11643 which might not be defined (Bug#8260).
11644
d45885f7
GM
116452011-05-12 Glenn Morris <rgm@gnu.org>
11646
11647 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11648 Let byte-compile-initial-macro-environment always take precedence.
11649
488086f4
SM
116502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * net/rcirc.el: Add support for SSL/TLS connections.
11653 (rcirc-server-alist): New field `encryption'.
11654 (rcirc): Check `encryption' settings.
11655 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11656 Merge make-local-variable into `set'.
11657 (rcirc--connection-open-p): New function.
11658 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11659 the process is not a network process (e.g. running gnutls-cli).
11660 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11661 Make rcirc-(en|de)code-coding-system local here.
11662 (rcirc-mode): Merge make-local-variable into `set'.
11663 (rcirc-parent-buffer): Make permanent buffer-local.
11664 (rcirc-multiline-minor-mode): Don't do it here.
11665 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11666 there's no server buffer.
11667
7d3b9d44
GM
116682011-05-11 Glenn Morris <rgm@gnu.org>
11669
f64049c6
GM
11670 * newcomment.el (comment-kill): Prefix "unused" local.
11671
93c9df73
GM
11672 * term/w32console.el (get-screen-color): Declare.
11673
7d3b9d44
GM
11674 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11675 Handle symbol elements of byte-compile-initial-macro-environment.
11676
9e2dd53f
LL
116772011-05-10 Leo Liu <sdl.web@gmail.com>
11678
488086f4
SM
11679 * bookmark.el (bookmark-bmenu-mode-map):
11680 Bind bookmark-bmenu-search to `/'.
8b340240 11681
9e2dd53f 11682 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11683 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11684 (Footnote-unicode): New function.
11685 (footnote-style-alist): Add unicode style to the list.
11686 (footnote-style): Doc fix.
9e2dd53f 11687
79b70037
GM
116882011-05-10 Jim Meyering <meyering@redhat.com>
11689
11690 Fix doubled-word typos.
11691 * international/quail.el (quail-insert-kbd-layout): and and -> and
11692 * kermit.el: and and -> and
11693 * net/ldap.el (ldap-search-internal): to to -> to
11694 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11695 * progmodes/js.el (js-mode): and and -> and
11696 * textmodes/artist.el (artist-move-to-xy): at at -> at
11697 (artist-draw-region-trim-line-endings): if if -> if
11698 And Safetyc -> Safety.
11699 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11700
b8f82dc1 117012011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11702 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11703
11704 * files.el (hack-one-local-variable-eval-safep):
11705 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11706
4f99f44b
GM
117072011-05-10 Glenn Morris <rgm@gnu.org>
11708
11709 * calendar/diary-lib.el (diary-list-entries-hook)
11710 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11711 (diary-nongregorian-marking-hook, diary-list-entries)
11712 (diary-include-other-diary-files, diary-mark-entries)
11713 (diary-mark-included-diary-files): Doc fixes.
11714
84f29e6b
JB
117152011-05-09 Juanma Barranquero <lekktu@gmail.com>
11716
11717 * misc.el: Require tabulated-list.el during compilation.
11718
9bedd73a
CY
117192011-05-09 Chong Yidong <cyd@stupidchicken.com>
11720
488086f4
SM
11721 * progmodes/compile.el (compilation-start):
11722 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11723 (compilation-filter-hook): Doc fix.
11724
797c735c
DD
117252011-05-09 Deniz Dogan <deniz@dogan.se>
11726
11727 * wdired.el: Remove outdated installation comment. Fix usage
11728 comment.
11729
5f4b1dfe
JB
117302011-05-09 Juanma Barranquero <lekktu@gmail.com>
11731
11732 * misc.el: Implement new command `list-dynamic-libraries'.
11733 (list-dynamic-libraries--loaded-only-p): New variable.
11734 (list-dynamic-libraries--refresh): New function.
11735 (list-dynamic-libraries): New command.
11736
4c44026c
CY
117372011-05-09 Chong Yidong <cyd@stupidchicken.com>
11738
488086f4
SM
11739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11740 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11741 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11742 higher priority to avoid clobbering by gnu.
11743
027f966d
CY
117442011-05-08 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11747 if the face has existing theme settings (Bug#8454).
11748
085f5d7d
CY
117492011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11750
488086f4
SM
11751 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11752 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11753
2a86a00c
RS
11754 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11755 special file names `.' and `..' (Bug#8259).
11756
d9c54a06
CY
117572011-05-08 Chong Yidong <cyd@stupidchicken.com>
11758
488086f4
SM
11759 * progmodes/grep.el (grep-mode-font-lock-keywords):
11760 Remove buffer-changing entries.
d9c54a06
CY
11761 (grep-filter): New function.
11762 (grep-mode): Add it to compilation-filter-hook.
11763
11764 * progmodes/compile.el (compilation-filter-hook)
11765 (compilation-filter-start): New defvars.
11766 (compilation-filter): Call compilation-filter-hook prior to
11767 updating the process mark.
11768
c4662635
SM
117692011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11772
b0512a1d
EZ
117732011-05-07 Eli Zaretskii <eliz@gnu.org>
11774
605c9376
EZ
11775 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11776 mailclient-send-it even if window-system is nil. (Bug#8595)
11777
c4662635
SM
11778 * term/w32console.el (terminal-init-w32console):
11779 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11780 background-mode. (Bug#8597)
11781
d1dc2cc2
SM
117822011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11785 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11786 New functions.
11787 (defgeneric, eieio--defmethod): Use them.
11788 (eieio-defgeneric): Remove.
11789 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11790
915d1300
GM
117912011-05-07 Glenn Morris <rgm@gnu.org>
11792
a3961c3e
GM
11793 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11794 Use let rather than let*.
11795 (timeclock-find-discrep): Remove unused local.
11796
314347b9
GM
11797 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11798
915d1300
GM
11799 * calendar/appt.el (appt-time-msg-list): Doc fix.
11800
275b59b0
NF
118012011-05-06 Noah Friedman <friedman@splode.com>
11802
11803 * apropos.el (apropos-print-doc): Only use
11804 emacs-lisp-docstring-fill-column when it is bound to an integer,
11805 per that variable's documentation.
11806
6c19f744
SM
118072011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11810 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11811
60f884b2
GM
118122011-05-06 Glenn Morris <rgm@gnu.org>
11813
5006e634
GM
11814 * calendar/appt.el (appt-message-warning-time): Doc fix.
11815 (appt-warning-time-regexp): New option.
11816 (appt-make-list): Respect appt-message-warning-time.
11817
548d0a63
GM
11818 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11819 New options.
11820 (diary-add-to-list): Strip comments from the displayed string.
11821 (diary-mode): Set comment-start and comment-end.
11822
60f884b2
GM
11823 * vc/diff-mode.el (smerge-refine-subst): Declare.
11824 (diff-refine-hunk): Don't require smerge-mode when compiling.
11825
989681bb
JB
118262011-05-06 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * simple.el (list-processes): Return nil as the docstring says.
11829
a6bc05e1
MA
118302011-05-05 Michael Albinus <michael.albinus@gmx.de>
11831
11832 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11833 to "".
11834 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11835 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11836 determining of binary transfer. (Bug#7383)
11837
23c22e9a
MA
118382011-05-05 Michael Albinus <michael.albinus@gmx.de>
11839
c4662635
SM
11840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11841 Fix port computation bug. (Bug#8618)
23c22e9a 11842
0bff894f
GM
118432011-05-05 Glenn Morris <rgm@gnu.org>
11844
b8296902
GM
11845 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11846
1f522ce8
GM
11847 * simple.el (shell-dynamic-complete-functions)
11848 (comint-dynamic-complete-functions): Declare.
11849
cf5bee67
GM
11850 * net/network-stream.el (gnutls-negotiate):
11851 * simple.el (tabulated-list-print): Fix declarations.
11852
11853 * progmodes/gud.el (syntax-symbol, syntax-point):
11854 Remove unnecessary and incorrect declarations.
11855
0bff894f
GM
11856 * emacs-lisp/check-declare.el (check-declare-scan):
11857 Handle byte-compile-initial-macro-environment in bytecomp.el
11858
9869b3ae
SM
118592011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 Fix earlier half-done eieio-defmethod change (bug#8338).
11862 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11863 Streamline and change calling convention.
11864 (defmethod): Adjust accordingly and simplify.
11865 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11866 new eieio--defmethod.
11867 (slot-boundp): Minor CSE simplification.
11868
9c1d5ac5
MZ
118692011-05-05 Milan Zamazal <pdm@zamazal.org>
11870
11871 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11872 (glasses-make-readable): Use glasses-separate-capital-groups.
11873
455c834e
JB
118742011-05-05 Juanma Barranquero <lekktu@gmail.com>
11875
11876 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11877 (warning-series): Doc fix.
11878 (display-warning): Don't try to create the buffer if we just found it.
11879
9ed7c8cb
CY
118802011-05-04 Chong Yidong <cyd@stupidchicken.com>
11881
11882 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11883 (autoload-find-generated-file): New function.
11884 (generate-file-autoloads): Bind generated-autoload-file to
11885 buffer-file-name.
9869b3ae
SM
11886 (update-file-autoloads, update-directory-autoloads):
11887 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11888 output file (Bug#7989).
11889 (batch-update-autoloads): Doc fix.
11890
0898ca10
JB
118912011-05-04 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11894
31dfb76c
GM
118952011-05-04 Glenn Morris <rgm@gnu.org>
11896
f330b642
GM
11897 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11898 function, so it follows changes in calendar-date-style.
11899 (diary-fancy-date-matcher): New function.
11900 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11901 (diary-fancy-font-lock-fontify-region-function):
11902 Use diary-fancy-date-pattern as a function.
11903
31dfb76c
GM
11904 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11905 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11906
48e79d6a
TZ
119072011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11908
11909 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11910 instead of positional arguments. Allow :keylist and :crlfiles
11911 arguments.
11912 (open-gnutls-stream): Call it.
11913
11914 * net/network-stream.el (network-stream-open-starttls): Adjust to
11915 call `gnutls-negotiate' with :process and :hostname arguments.
11916
dd5a5ee0
SM
119172011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11918
ef80fc09
SM
11919 * minibuffer.el (completion--message): New function.
11920 (completion--do-completion, minibuffer-complete)
11921 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11922 (completion--do-completion): Don't ignore completion-auto-help when in
11923 icomplete-mode.
11924
dd5a5ee0
SM
11925 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11926 internal encoding (e.g. tibetan zero is not whitespace).
11927 (global-whitespace-mode): Prefer save-current-buffer.
11928 (whitespace-trailing-regexp): Remove useless save-match-data.
11929 (whitespace-empty-at-bob-regexp): Minor simplification.
11930
b7d22a83
CY
119312011-05-03 Chong Yidong <cyd@stupidchicken.com>
11932
11933 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11934
5192af46
AM
119352011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11936
11937 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11938 Use `concat' to create string for insertion.
5192af46 11939
5767d190
SM
119402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11943 Avoid open-line which runs post-self-insert-hook.
11944 (bibtex-fill-entry): Remove unused `end' var.
11945
bf242939
AM
119462011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11947
5767d190
SM
11948 * textmodes/ispell.el (ispell-add-per-file-word-list):
11949 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11950
25666126
LL
119512011-05-03 Leo Liu <sdl.web@gmail.com>
11952
11953 * isearch.el (isearch-yank-pop): New command.
5767d190 11954 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11955 (isearch-forward): Mention it.
11956
52d3c2d0
SM
119572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11958
1bcace58
SM
11959 * simple.el (minibuffer-complete-shell-command): Remove.
11960 (minibuffer-local-shell-command-map): Use completion-at-point.
11961 (read-shell-command): Setup completion vars here instead.
11962 (read-expression-map): Bind TAB to symbol completion.
11963
52d3c2d0
SM
11964 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11965 error directly rather via storing it into `results'.
11966
35813471
LL
119672011-05-02 Leo Liu <sdl.web@gmail.com>
11968
11969 * vc/diff.el: Fix description.
11970
e793a940
LMI
119712011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11972
11973 * server.el (server-eval-at): New function.
11974
8de66e05
LMI
119752011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11976
11977 * net/network-stream.el (open-network-stream): Take a :nowait
11978 parameter and pass it on to `make-network-process'.
11979 (network-stream-open-plain): Ditto.
11980
dcb79f20
AS
119812011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11982
11983 * faces.el (face-spec-set-match-display): Don't match toolkit
11984 options on terminal frames.
11985
14a7fbd8
SM
119862011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11987
7eabc1be
SM
11988 * progmodes/pascal.el: Use lexical binding.
11989 (pascal-mode-map): Remove author preferences.
11990
14a7fbd8
SM
11991 * pcomplete.el (pcomplete-std-complete): Don't abuse
11992 completion-at-point.
11993
50f84510
JB
119942011-04-28 Juanma Barranquero <lekktu@gmail.com>
11995
6e087a44
JB
11996 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11997 removing code that has been dead since 1991 or so.
11998
50f84510
JB
11999 * startup.el (command-line): When warning about "_emacs", use a
12000 delayed warning to allow the user to filter it out.
12001
0ba690bd
DD
120022011-04-28 Deniz Dogan <deniz@dogan.se>
12003
12004 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12005 user has not joined.
12006
08abfaad
SM
120072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12010 aren't any completions at point.
12011
638f053a
JB
120122011-04-28 Juanma Barranquero <lekktu@gmail.com>
12013
12014 * subr.el (display-delayed-warnings): New function.
12015 (delayed-warnings-hook): New variable.
12016
8fff8daa
SM
120172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12018
08abfaad
SM
12019 * minibuffer.el (completion-at-point, completion-help-at-point):
12020 Don't presume that a given completion-at-point-function will always
12021 use the same calling convention.
12022
8fff8daa
SM
12023 * pcomplete.el (pcomplete-completions-at-point):
12024 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12025 pcomplete-seen is non-nil.
12026 (pcomplete-comint-setup): Also recognize the new comint/shell
12027 completion functions.
12028 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12029 pcomplete-seen is non-nil.
12030
841a1577 120312011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12032
841a1577 12033 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12034 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12035 the first character in the entry. This allows for code to add its
211ec907
UJ
12036 own uid to the entry.
12037 (icalendar--convert-float-to-ical): Add export of
12038 `diary-float'-entries save for those with the optional DAY
12039 argument.
12040
2a782793
DC
120412011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12042
12043 * subr.el (shell-quote-argument): Use alternate escaping strategy
12044 when we spot a variable reference in a string.
12045
0438ce91
DC
120462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12047
12048 * cus-start.el (all): Define customization for debug-on-event.
12049
841a1577 120502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12051
12052 * subr.el (shell-quote-argument): Escape correctly under Windows.
12053
d090ed6c
SM
120542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12057
bfd31217
MA
120582011-04-25 Michael Albinus <michael.albinus@gmx.de>
12059
d090ed6c
SM
12060 * net/tramp.el (tramp-process-actions): Add POS argument.
12061 Delete region between POS and (pos).
bfd31217 12062
d090ed6c
SM
12063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12064 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12065 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12066
12067 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12068 position in `tramp-process-actions' call.
12069
12070 * net/trampver.el: Update release number.
12071
e92f3bd3
SM
120722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12073
850256b5
SM
12074 * custom.el (defcustom): Obey lexical-binding.
12075
e92f3bd3
SM
12076 Fix octave-inf completion problems reported by Alexander Klimov.
12077 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12078 Inherit from octave-mode-syntax-table.
12079 (inferior-octave-mode): Set info-lookup-mode.
12080 (inferior-octave-completion-at-point): New function.
12081 (inferior-octave-complete): Use it and completion-in-region.
12082 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12083 comint-filename-completion.
12084 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12085 symbol elements which shouldn't be word elements.
12086 (octave-font-lock-keywords, octave-beginning-of-defun)
12087 (octave-function-header-regexp): Adjust regexps accordingly.
12088 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12089
cd22b309
JB
120902011-04-25 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * net/gnutls.el (gnutls-errorp): Declare before first use.
12093
8b492194
TZ
120942011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12095
12096 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12097 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12098 default trustfile exists before going to use it. Add missing
5a5fa834 12099 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12100 Reported by Claudio Bley <claudio.bley@gmail.com>.
12101 (open-gnutls-stream): Add usage example.
12102
12103 * net/network-stream.el (network-stream-open-starttls): Give host
12104 parameter to `gnutls-negotiate'.
12105 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12106 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12107
841a1577 121082011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12109
cd22b309
JB
12110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12111 Use correct match group (bug#8438).
05842630 12112
3ba7869c
CY
121132011-04-24 Chong Yidong <cyd@stupidchicken.com>
12114
512e3ae1
CY
12115 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12116 (package-menu--generate): New arg specifying packages to show.
12117 (package-menu-refresh, package-menu-execute, list-packages):
12118 Callers changed.
12119 (package-show-package-list): New function, replacing deleted
12120 package--list-packages (renamed because it is non-internal).
12121
12122 * finder.el (finder-list-matches): Use package-show-package-list
12123 instead of deleted package--list-packages.
12124
e92f3bd3
SM
12125 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12126 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12127 (vc-annotate-mode-map): Bind it to RET.
12128
7031be6d
UR
121292011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12130
12131 * progmodes/etags.el (next-file): Don't use set-buffer to change
12132 buffers (Bug#8478).
12133
4ef177aa
CY
121342011-04-24 Chong Yidong <cyd@stupidchicken.com>
12135
c8d173eb
CY
12136 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12137
4ef177aa
CY
12138 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12139 (apropos-accumulator): Doc fix.
12140 (apropos-function, apropos-macro, apropos-command)
12141 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12142 (apropos-plist): Add face property.
12143 (apropos-symbols-internal): Fix indentation.
12144 (apropos-print): Simplify help, and recognize apropos-multi-type.
12145 (apropos-print-doc): Use button-type-get to extract the button's
12146 face property. Fill docstring (Bug#8352).
12147
4ffd0d6b 121482011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12149
12150 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12151
c6c32125 12152 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12153 (mpuz-mode-map): Use mapc.
c6c32125
JB
12154 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12155 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12156 Fix typos in docstrings.
12157
58d468b4
JB
12158 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12159 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12160
6470c3c6
JB
12161 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12162
4ffd0d6b 121632011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12164
12165 * minibuffer.el (completion--do-completion): Avoid the "Next char
12166 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12167
3ad8bad0
CY
12168 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12169 mouse-2 into unread-command-events, it is interpreted correctly.
12170
71d73c9c 12171 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12172 (image-toggle-display): Doc fix.
71d73c9c 12173
841a1577 121742011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12175
4ffd0d6b
GM
12176 * textmodes/page.el (what-page): Use line-number-at-pos to
12177 calculate line number (Bug#6825).
6e1dbaa9 12178
c2fb1b60
JB
121792011-04-22 Juanma Barranquero <lekktu@gmail.com>
12180
12181 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12182 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12183 Pass argument NO-DEFAULT to `find-tag-interactive'.
12184
e02f48d7
JB
121852011-04-22 Juanma Barranquero <lekktu@gmail.com>
12186
12187 Lexical-binding cleanup.
12188
12189 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12190 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12191 * progmodes/ada-prj.el (ada-prj-initialize-values)
12192 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12193 (ada-prj-show-value):
12194 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12195 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12196 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12197 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12198 * progmodes/bug-reference.el (bug-reference-push-button):
12199 * progmodes/fortran.el (fortran-line-length):
12200 * progmodes/glasses.el (glasses-change):
12201 * progmodes/octave-mod.el (octave-fill-paragraph):
12202 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12203 (python-pdbtrack-grub-for-buffer, python-sentinel):
12204 * progmodes/sql.el (sql-save-connection):
12205 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12206 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12207 Mark unused parameters.
12208
12209 * progmodes/compile.el (compilation--flush-directory-cache)
12210 (compilation--flush-parse, compile-internal): Mark unused parameters.
12211 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12212 (compilation-next-error-function): Remove unused variable `timestamp'.
12213
12214 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12215 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12216
12217 * progmodes/dcl-mode.el (dcl-end-of-command):
12218 Remove unused variable `start'.
12219 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12220 (dcl-option-value-basic, dcl-option-value-offset)
12221 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12222 Mark unused parameters.
12223 (dcl-save-local-variable): Remove unused variable `val'.
12224 (mode): Declare.
12225
12226 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12227 Mark unused parameters.
12228 (delphi-ignore-changes): Move before first use.
12229 (delphi-charset-token-at): Remove unused variable `start'.
12230 (delphi-else-start): Remove unused variable `if-count'.
12231 (delphi-comment-block-start, delphi-comment-block-end):
12232 Remove unused variable `kind'.
12233 (delphi-indent-line): Remove unused variable `new-point'.
12234
12235 * progmodes/ebrowse.el (ebrowse-files-list)
12236 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12237 Mark unused parameters. Don't quote `lambda'.
12238 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12239 Don't quote `lambda'.
12240 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12241 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12242 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12243 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12244 Use `ignore-errors'.
12245 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12246 (ebrowse-view/find-file-and-search-pattern)
12247 (ebrowse-view/find-member-declaration/definition):
12248 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12249 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12250 Rename parameter PREFIX-ARG to PREFIX.
12251 (ebrowse-tags-read-name): Remove unused variables `start' and
12252 `member-info'.
12253 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12254 to `tags-file'.
12255
12256 * progmodes/etags.el (local-find-tag-hook): Declare.
12257 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12258 Mark unused parameters.
12259
12260 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12261 (executable-interpret): Mark unused parameter.
12262
12263 * progmodes/flymake.el (flymake-process-sentinel)
12264 (flymake-after-change-function)
12265 (flymake-create-temp-with-folder-structure)
12266 (flymake-get-include-dirs-dot): Mark unused parameters.
12267 (flymake-safe-delete-directory): Remove unused variable `err'.
12268
12269 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12270 (speedbar-timer-fn, speedbar-line-text)
12271 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12272 (speedbar-center-buffer-smartly): Declare functions.
12273 (gdb-find-watch-expression): Remove unused variable `array'.
12274 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12275 (gdb-starting): Mark unused parameters.
12276 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12277 (gdb-table-string): Remove unused variable `res'.
12278 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12279 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12280 (gdb-display-buffer): Remove unused variable `cur-size'.
12281
12282 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12283 allow lexical-binding compilation.
12284 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12285 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12286 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12287 Mark unused parameters.
12288 (gud-gdb-marker-filter): Remove unused variable `match'.
12289 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12290 lambda expressions and funcall them, instead of using `fset'.
12291
12292 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12293 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12294
12295 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12296 variable `header-beg'; use `let'.
12297
12298 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12299 `restart', `last-sexp' and `at-do'.
12300
12301 * progmodes/js.el (js--debug): Mark unused parameter.
12302 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12303 (js--splice-into-items): Remove unused variable `item'.
12304 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12305
12306 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12307 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12308 (makefile-complete): Remove unused variable `try'.
12309 (makefile-fill-paragraph, makefile-match-function-end):
12310 Mark unused parameters.
12311
12312 * progmodes/octave-inf.el (inferior-octave-complete):
12313 Remove unused variable `proc'.
12314 (inferior-octave-output-digest): Mark unused parameter.
12315
12316 * progmodes/perl-mode.el (perl-calculate-indent):
12317 Remove unused variable `err'.
12318
12319 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12320 (prolog-indent-line): Mark unused parameters.
12321 (prolog-indent-line): Remove unused variable `beg'.
12322
12323 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12324 (reporter-dont-compact-list): Declare.
12325
12326 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12327 Remove unused variable `char'.
12328 (sh-debug): Mark unused parameter.
12329 (sh-get-indent-info): Remove unused variable `start'.
12330 (sh-calculate-indent): Remove unused variable `var'.
12331
12332 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12333 (simula-electric-keyword): Remove unused variable `null'.
12334 (simula-search-backward, simula-search-forward): Remove unused
12335 variables `begin' and `end'.
12336
12337 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12338 Remove unused variable `pos'.
12339 (vera-electric-tab, vera-comment-uncomment-region):
12340 Mark unused parameters.
12341 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12342
7ede3b65
CY
123432011-04-22 Chong Yidong <cyd@stupidchicken.com>
12344
12345 * emacs-lisp/package.el (package--builtins, package-alist)
12346 (package-load-descriptor, package-built-in-p, package-activate)
12347 (define-package, package-installed-p)
12348 (package-compute-transaction, package-buffer-info)
12349 (package--push): Doc fix. Distinguish more clearly between
12350 version strings and version lists.
12351
121656e9
JB
123522011-04-21 Juanma Barranquero <lekktu@gmail.com>
12353
12354 Lexical-binding cleanup.
12355
12356 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12357 (5x5-make-mutate-best):
12358 * play/fortune.el (fortune-in-buffer):
12359 * play/gomoku.el (gomoku-init-display):
12360 * play/solitaire.el (solitaire, solitaire-do-check):
12361 * play/tetris.el (tetris-default-update-speed-function):
12362 Mark unused parameters.
12363
12364 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12365 (bubbles--shift): Remove unused variable `char-org'.
12366 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12367 (bubbles--show-images): Remove unused variable `char'.
12368
12369 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12370 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12371 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12372 (decipher-analyze-buffer): Use ?\s.
12373 (decipher-make-checkpoint): Remove unused variable `mapping'.
12374
12375 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12376
12377 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12378 Remove unused variable `result'; use `let'.
12379
12380 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12381 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12382 (gametree-children-shown-p, gametree-compute-reduced-score):
12383 Use `ignore-errors'.
12384
12385 * play/handwrite.el (ps-lpr-switches): Declare.
12386 (handwrite): Remove unused variables `pmin' and `lastp'.
12387
12388 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12389
12390 * play/landmark.el (landmark-init-display)
12391 (landmark-update-naught-weights): Mark unused parameters.
12392 (landmark-y): Remove unused variable `noise'. Simplify.
12393 (landmark-human-plays): Remove unused variable `score'.
12394
12395 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12396 (mpuz-try-proposal): Remove unused variable `game'.
12397
12398 * play/zone.el (life-patterns): Declare.
12399
80f499c7
JB
124002011-04-20 Juanma Barranquero <lekktu@gmail.com>
12401
12402 * vc/vc.el (ediff-vc-internal): Declare function.
12403
024ff170
SM
124042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12405
c0a193ea
SM
12406 * shell.el: Use lexical-binding and std completion UI.
12407 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12408 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12409 comint-preoutput-filter-functions rather than on
12410 comint-output-filter-functions.
12411 (shell-command-completion, shell--command-completion-data)
12412 (shell-filename-completion, shell-environment-variable-completion)
12413 (shell-c-a-p-replace-by-expanded-directory): New functions.
12414 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12415 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12416 (shell-dynamic-complete-environment-variable): Use them.
12417 (shell-dynamic-complete-as-environment-variable)
12418 (shell-dynamic-complete-as-command): Remove.
12419 (shell-match-partial-variable): Match past point.
12420 * comint.el: Clean up use of completion-at-point-functions.
12421 (comint-completion-at-point): New function.
12422 (comint-mode): Use it completion-at-point-functions.
12423 (comint-dynamic-complete): Make it obsolete.
12424 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12425 (comint-c-a-p-replace-by-expanded-history): New function.
12426 (comint-dynamic-complete-functions)
12427 (comint-replace-by-expanded-history): Use it.
12428 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12429 termination strings. Try harder to avoid second try-completion.
12430 (completion-in-region-mode-map): Disable bindings that don't work yet.
12431
2dbaa080
SM
12432 * comint.el: Use lexical-binding. Require CL.
12433 (comint-dynamic-complete-functions): Use comint-filename-completion.
12434 (comint-completion-addsuffix): Tweak custom type.
12435 (comint-filename-completion, comint--common-suffix)
12436 (comint--common-quoted-suffix, comint--table-subvert)
12437 (comint--complete-file-name-data): New functions.
12438 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12439 (comint-dynamic-list-filename-completions): Use them.
12440 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12441
2dbaa080
SM
12442 * minibuffer.el (completion-in-region-mode):
12443 Keep completion-in-region-mode--predicate global.
12444 (completion-in-region--postch):
12445 Assume completion-in-region-mode--predicate is not null.
12446
c79a6f38
SM
12447 * progmodes/flymake.el (flymake-start-syntax-check-process):
12448 Obey `dir'. Simplify.
12449
024ff170
SM
12450 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12451 we're in VC after all.
12452
1c6c854e
CS
124532011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12454
12455 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12456 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12457 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12458
bed7f140
SM
124592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12460
332e62ab
SM
12461 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12462 add sanity check.
12463
bed7f140
SM
12464 * obsolete/erc-hecomplete.el: Make obsolete.
12465 * obsolete/: Standardize obsolescence info in the header.
12466
f195c582
GM
124672011-04-20 Glenn Morris <rgm@gnu.org>
12468
12469 * calendar/solar.el (solar-horizontal-coordinates):
12470 Use the longitude argument rather than `calendar-longitude'.
12471 (solar-date-next-longitude): Remove unused locals.
12472
cb79b8c0
VJL
124732011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12474
12475 * whitespace.el: New version 13.2.1.
12476
124772011-04-20 felix <EmacsWiki> (tiny change)
12478
d8e4b68b 12479 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12480 switching between major modes on a file.
12481
602ea69d
SM
124822011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12485 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12486 multi-line comments as well.
12487
06b60517
JB
124882011-04-19 Juanma Barranquero <lekktu@gmail.com>
12489
12490 Lexical-binding cleanup.
12491
12492 * arc-mode.el (archive-mode-revert):
12493 * cmuscheme.el (scheme-interactively-start-process):
12494 * custom.el (custom-initialize-delay):
12495 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12496 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12497 * emacs-lock.el (emacs-lock-clear-sentinel):
12498 * ezimage.el (defezimage):
12499 * follow.el (follow-avoid-tail-recenter):
12500 * fringe.el (set-fringe-mode-1):
12501 * generic-x.el (bat-generic-mode-compile):
12502 * help-mode.el (help-info-variable, help-do-xref)
12503 (help-mode-revert-buffer):
12504 * help.el (view-emacs-todo):
12505 * iswitchb.el (iswitchb-completion-help):
12506 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12507 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12508 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12509 * locate.el (locate-update):
12510 * longlines.el (longlines-encode-region)
12511 (longlines-after-change-function):
12512 * outline.el (outline-isearch-open-invisible):
12513 * ps-def.el (declare-function, charset-dimension, char-width)
12514 (encode-char):
12515 * ps-mule.el (ps-mule-plot-string):
12516 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12517 (recentf-edit-list-select, recentf-edit-list-validate)
12518 (recentf-open-files-action):
12519 * rect.el (delete-whitespace-rectangle-line)
12520 (rectangle-number-line-callback):
12521 * register.el (window-configuration-to-register)
12522 (frame-configuration-to-register):
12523 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12524 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12525 (xselect-convert-to-targets, xselect-convert-to-delete)
12526 (xselect-convert-to-filename, xselect-convert-to-charpos)
12527 (xselect-convert-to-lineno, xselect-convert-to-colno)
12528 (xselect-convert-to-os, xselect-convert-to-host)
12529 (xselect-convert-to-user, xselect-convert-to-class)
12530 (xselect-convert-to-name, xselect-convert-to-integer)
12531 (xselect-convert-to-atom, xselect-convert-to-identity):
12532 * subr.el (declare, ignore, process-kill-without-query)
12533 (text-clone-maintain):
12534 * terminal.el (te-get-char, te-tic-sentinel):
12535 * tool-bar.el (tool-bar-make-keymap):
12536 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12537 * type-break.el (type-break-mode, type-break-noninteractive-query):
12538 * view.el (View-back-to-mark):
12539 * wid-browse.el (widget-browse-action, widget-browse-widget)
12540 (widget-browse-widgets, widget-browse-sexp):
12541 * widget.el (define-widget-keywords):
12542 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12543 Mark unused parameters.
12544
12545 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12546 (align-areas): Remove unused variable `look'.
12547 (align-region): Remove unused variables `real-end' and `pos-list'.
12548
12549 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12550
12551 * bindings.el (mode-line-modified, mode-line-remote):
12552 Mark unused parameters.
12553 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12554
12555 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12556 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12557
12558 * comint.el (comint-history-isearch-pop-state)
12559 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12560 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12561 (comint-substitute-in-file-name): Doc fix.
12562
12563 * completion.el (cmpl-statistics-block): Mark unused parameter.
12564 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12565 (save-completions-to-file, load-completions-from-file):
12566 Remove unused local variable `e'.
12567
12568 * composite.el (compose-chars): Remove unused variable `len'.
12569 (lgstring-insert-glyph): Remove unused variable `g'.
12570 (compose-glyph-string): Remove unused variables `ascent',
12571 `descent', `lbearing' and `rbearing'.
12572 (compose-glyph-string-relative): Remove unused variables
12573 `lbearing', `rbearing' and `wadjust'.
12574 (compose-gstring-for-graphic): Remove unused variables `header',
12575 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12576 (compose-gstring-for-terminal): Remove unused variables `header'
12577 and `nchars'. Use `let', not `let*'.
12578
12579 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12580 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12581 (Custom-buffer-done, custom-buffer-create-internal)
12582 (custom-browse-visibility-action, custom-browse-group-tag-action)
12583 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12584 (widget-magic-mouse-down-action, custom-toggle-parent)
12585 (custom-add-parent-links, custom-toggle-hide-variable)
12586 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12587 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12588 (custom-face-menu-create, custom-variable-menu-create, get)
12589 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12590 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12591 (customize-apropos): Remove unused variable `tests'.
12592 (custom-group-value-create): Remove unused variable `hidden-p'.
12593 (sort-fold-case): Declare.
12594
12595 * cus-theme.el (custom-reset-standard-faces-list)
12596 (custom-reset-standard-variables-list): Declare.
12597 (customize-create-theme, custom-theme-revert, custom-theme-write)
12598 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12599 Mark unused parameters.
12600
12601 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12602
12603 * delim-col.el (delimit-columns-max): Move defvar before first use.
12604
12605 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12606 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12607
12608 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12609 (auto-insert): Declare.
12610 (desktop-restore-file-buffer): Rename desktop-* parameters;
12611 mark unused ones.
12612 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12613 (desktop-buffer): Rename desktop-* parameters.
12614
12615 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12616 (dframe-reposition-frame-xemacs, dframe-help-echo)
12617 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12618 Mark unused parameters.
12619
12620 * dired-aux.el (backup-extract-version-start, overwrite-query)
12621 (overwrite-backup-query, rename-regexp-query)
12622 (rename-non-directory-query): Declare.
12623 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12624 (dired-add-entry): Remove unused variable `orig-file-name'.
12625 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12626 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12627 `dired-copy-preserve-time' directly.
12628 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12629 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12630
12631 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12632 (dired-virtual-revert, dired-make-relative-symlink):
12633 Mark unused parameters.
12634 (manual-program): Declare.
12635 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12636 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12637 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12638
12639 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12640
12641 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12642
12643 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12644 Declare.
12645
12646 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12647
12648 * electric.el (Electric-command-loop): Rename parameter
12649 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12650
12651 * expand.el (expand-in-literal): Remove unused variable `here'.
12652
12653 * facemenu.el (facemenu-add-new-color):
12654 Remove unused variable `docstring'.
12655
12656 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12657 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12658 (face-attr-construct): Mark unused parameter. Doc fix.
12659 (read-color): Remove unused variable `hex-string'.
12660
12661 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12662 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12663 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12664 (display-buffer-other-frame): Remove unused variable `old-window'.
12665 (kill-buffer-hook): Declare.
12666 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12667 Mark unused parameters.
12668 (after-find-file): Pass 1 to `auto-save-mode', not t.
12669
12670 * files-x.el (auto-insert): Declare.
12671 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12672
12673 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12674 variable `buf'. Mark unused parameter.
06b60517
JB
12675 (find-lisp-insert-directory): Mark unused parameter.
12676
12677 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12678 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12679 (format-common-tail): Remove, unused.
12680 (format-deannotate-region): Remove unused variable `loc'.
12681 (format-annotate-region): Remove unused variable `p'.
12682 (format-annotate-single-property-change): Remove unused variables
12683 `default' and `tail'.
12684
12685 * forms.el (read-file-filter): Declare.
12686 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12687
12688 * frame.el (frame-creation-function-alist): Mark unused parameter.
12689 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12690
12691 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12692 Remove unused parameters.
12693 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12694 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12695
12696 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12697 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12698 (hfy-prepare-tag-map): Mark unused parameters.
12699 (htmlfontify-buffer): Use `called-interactively-p'.
12700
12701 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12702 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12703 (ibuffer-do-occur): Mark unused parameters.
12704 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12705 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12706
12707 * ibuffer.el: Don't quote `lambda'.
12708 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12709 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12710 Mark unused parameters.
12711
12712 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12713 (ido-completing-read): Mark unused parameters.
12714 (ido-copy-current-word): Mark unused parameters;
12715 remove unused variable `name'.
12716 (ido-sort-merged-list): Remove unused parameter `dirs'.
12717
12718 * ielm.el (ielm-input-sender): Mark unused parameter.
12719 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12720 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12721 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12722 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12723 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12724
12725 * image-dired.el (image-dired-display-thumbs): Remove unused
12726 variables `curr-file' and `count'.
12727 (image-dired-remove-tag): Remove unused variable `start'.
12728 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12729 variable `curr-file'
12730 (image-dired-rotate-original): Remove unused variable `temp-file'.
12731 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12732 Remove unused variable `file'.
12733 (image-dired-gallery-generate): Remove unused variable `curr'.
12734 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12735
12736 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12737
12738 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12739
12740 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12741
12742 * isearch.el (minibuffer-history-symbol): Declare.
12743 (isearch-edit-string): Remove unused variable `err'.
12744 (isearch-message-prefix, isearch-message-suffix):
12745 Mark unused parameters.
12746
12747 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12748
12749 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12750
12751 * makesum.el (double-column): Remove unused variable `cnt'.
12752
12753 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12754 (ido-ignore-item-temp-list): Declare.
12755
12756 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12757 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12758 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12759 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12760 `mouse-col-delta'.
12761
12762 * mouse-sel.el (mouse-extend-internal):
12763 Remove unused variable `orig-window-frame'.
12764
12765 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12766 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12767 Move declarations before first use.
12768 (pcomplete-opt): Mark unused parameters; doc fix.
12769
12770 * proced.el (proced-revert): Mark unused parameter.
12771 (proced-send-signal): Remove unused variable `err'.
12772
12773 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12774 Rename parameter PREFIX-ARG to ARG.
12775 (ps-basic-plot-string, ps-basic-plot-whitespace):
12776 Mark unused parameters.
12777
12778 * replace.el (replace-count): Define.
12779 (occur-revert-function): Mark unused parameters.
12780 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12781 (isearch-case-fold-search, isearch-string): Declare.
12782 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12783 bind `case-fold-search'. Remove unused variables `beg' and `end',
12784 and simplify.
12785 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12786 COUNT and bind `replace-count'.
12787 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12788 to COUNT.
12789
12790 * savehist.el (print-readably, print-string-length): Declare.
12791
12792 * shadowfile.el (shadow-expand-cluster-in-file-name):
12793 Remove unused variable `cluster'.
12794 (shadow-copy-file): Remove unused variable `i'.
12795 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12796 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12797 (shadow-define-literal-group, shadow-define-regexp-group)
12798 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12799
12800 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12801 (shell): Use `called-interactively-p'.
12802 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12803
12804 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12805 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12806 (delete-backward-char): Remove unused variable `ocol'.
12807 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12808 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12809 (event-apply-hyper-modifier, event-apply-shift-modifier)
12810 (event-apply-control-modifier, event-apply-meta-modifier):
12811 Mark unused parameters.
12812 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12813 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12814
12815 * speedbar.el (speedbar-ignored-directory-expressions)
12816 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12817 (speedbar-find-file, speedbar-dir-follow)
12818 (speedbar-directory-buttons-follow, speedbar-tag-find)
12819 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12820 (speedbar-buffers-line-directory, speedbar-buffer-click):
12821 Mark unused parameters.
12822 (speedbar-tag-file): Remove unused variable `mode'.
12823 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12824
12825 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12826
12827 * talk.el (talk): Remove unused variable `display'.
12828
12829 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12830 (tar-write-region-annotate): Mark unused parameter.
12831
12832 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12833 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12834 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12835 warning by another.
12836
12837 * time-stamp.el (time-stamp-string-preprocess):
12838 Remove unused variable `require-padding'.
12839
12840 * tree-widget.el (widget-glyph-enable): Declare.
12841 (tree-widget-action): Mark unused parameter.
12842
12843 * w32-fns.el (x-get-selection): Mark unused parameter.
12844 (autoload-make-program, generated-autoload-file): Declare.
12845
12846 * wdired.el (wdired-revert): Mark unused parameters.
12847 (wdired-xcase-word): Remove unused variable `err'.
12848
12849 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12850 (whitespace-help-scroll): Remove unused variable `data-help'.
12851
12852 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12853 (widget-image-insert, widget-after-change, default)
12854 (widget-default-format-handler, widget-default-notify)
12855 (widget-default-prompt-value, widget-info-link-action)
12856 (widget-url-link-action, widget-function-link-action)
12857 (widget-variable-link-action, widget-file-link-action)
12858 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12859 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12860 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12861 (widget-insert-button-action, widget-delete-button-action, visibility)
12862 (widget-documentation-link-action, widget-documentation-string-action)
12863 (widget-const-prompt-value, widget-regexp-match, symbol)
12864 (widget-coding-system-prompt-value)
12865 (widget-key-sequence-value-to-external, sexp)
12866 (widget-sexp-value-to-internal, character, vector, cons)
12867 (widget-choice-prompt-value, widget-boolean-prompt-value)
12868 (widget-color--choose-action): Mark unused parameters.
12869 (widget-item-match-inline, widget-choice-match-inline)
12870 (widget-checklist-match, widget-checklist-match-inline)
12871 (widget-group-match): Rename parameter VALUES to VALS.
12872 (widget-field-value-set): Remove unused variable `size'.
12873 (widget-color-action): Remove unused variables `value' and `start'.
12874
12875 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12876 variable `dir'. Doc fix.
06b60517
JB
12877 (windmove-find-other-window): Don't pass it.
12878
12879 * window.el (count-windows): Mark unused parameter.
12880 (bw-adjust-window): Remove unused variable `err'.
12881
12882 * woman.el (woman-file-name): Remove unused variable `default'.
12883 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12884 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12885 (global-font-lock-mode): Declare.
12886 (woman-decode-region): Mark unused parameter.
12887 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12888
12889 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12890 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12891 (x-dnd-handle-moz-url): Remove unused variable `title'.
12892 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12893
12894 * xml.el (xml-parse-tag, xml-parse-attlist):
12895 Remove unused variable `pos'.
12896
bc4f7f3d
GM
128972011-04-19 Glenn Morris <rgm@gnu.org>
12898
12899 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12900 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12901 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12902 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12903 * calendar/cal-html.el (cal-html-insert-minical):
12904 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12905 (calendar-mark-date-pattern):
12906 Prefix "unused" locals.
12907
12908 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12909 optional argument `style'.
12910
12911 * calendar/appt.el (appt-make-list):
12912 * calendar/cal-china.el (calendar-chinese-date-string):
12913 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12914 (diary-hebrew-yahrzeit):
12915 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12916 * calendar/calendar.el (calendar-generate-window):
12917 * calendar/time-date.el (time-to-days):
12918 Remove unused local variables.
12919
16a43933
CY
129202011-04-18 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12923 glyphless-char-display table.
12924 (tabulated-list-glyphless-char-display): New var.
12925
7eed1860
SS
129262011-04-18 Sam Steingold <sds@gnu.org>
12927
12928 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12929 to acknowledgments.
12930
4d2d1ccd
GM
129312011-04-17 Glenn Morris <rgm@gnu.org>
12932
12933 * calendar/diary-lib.el (diary-sexp-entry):
12934 * calendar/holidays.el (holiday-sexp):
12935 Set debug-on-error rather than the removed stack-trace-on-error.
12936
239da61d
GM
129372011-04-16 Glenn Morris <rgm@gnu.org>
12938
12939 * progmodes/f90.el: Use lexical-binding.
12940 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12941
8b05752a
SM
129422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12943
daca8ba5
SM
12944 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12945 (mail-mode): Setup mailalias completion here instead.
12946 * mail/mailalias.el: Use lexical-binding.
12947 (pattern, mailalias-done): Declare dynamic.
12948 (mail-completion-at-point-function): New function, from mail-complete.
12949 (mail-complete): Use it.
12950 (mail-completion-expand): New function.
12951 (mail-get-names): Use it.
12952 (mail-directory, mail-directory-process, mail-directory-stream):
12953 Don't use `pattern' for lexically bound arg.
12954
6f542485
SM
12955 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12956
037e7c3f
SM
12957 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12958 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12959 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12960
8b05752a
SM
12961 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12962 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12963 (byte-interactive-p): Define them again, for use when inlining
12964 old code.
12965
49093f60
JB
129662011-04-15 Juanma Barranquero <lekktu@gmail.com>
12967
12968 * loadup.el: Use `string-to-number', not `string-to-int'.
12969
b5b8e7de
SM
129702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12973 gud-gdb-complete-command.
12974 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12975 (gud-gdb-completion-at-point): New function.
12976 (gud-gdb-completions): Remove.
12977
f42efeb5
MA
129782011-04-14 Michael Albinus <michael.albinus@gmx.de>
12979
49093f60
JB
12980 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12981 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12982 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12983 whether `executable-find' is bound.
f42efeb5
MA
12984
12985 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12986
e240cc21
SM
129872011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12988
12989 * minibuffer.el (completion-in-region-mode-predicate)
12990 (completion-in-region-mode--predicate): New vars.
12991 (completion-in-region, completion-in-region--postch)
12992 (completion-in-region-mode): Use them.
12993 (completion--capf-wrapper): Also return the hook function.
12994 (completion-at-point, completion-help-at-point):
12995 Adjust and provide a predicate.
c2bd2ab0
SM
12996
12997 Preserve arg names for advice of subr and lexical functions (bug#8457).
12998 * help-fns.el (help-function-arglist): Consolidate the subr and
12999 new-byte-code cases. Add argument `preserve-names' to extract names
13000 from the docstring when needed.
13001 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13002 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13003 (ad-arglist): Use help-function-arglist's new arg.
13004 (ad-definition-type): Use cond.
13005
c183f693
JB
130062011-04-13 Juanma Barranquero <lekktu@gmail.com>
13007
06641a47
JB
13008 * autorevert.el (auto-revert-handler):
13009 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13010 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13011 Don't quote lambda.
13012
c183f693
JB
13013 * image-mode.el (image-transform-set-scale):
13014 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13015
1e3b6001
G
130162011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13017
13018 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13019 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13020 Upgrades via gnutls-cli are too slow to be done opportunistically.
13021
2d6af8dd
JB
130222011-04-12 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * dframe.el (dframe-current-frame): Remove spurious quote.
13025
c0749a51
GM
130262011-04-12 Glenn Morris <rgm@gnu.org>
13027
088d0d61
GM
13028 * calendar/cal-tex.el (cal-tex-end-document):
13029 Try to automatically use latin1 input if needed.
13030
c0749a51
GM
13031 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13032 Don't try to cons a mark onto an empty element.
13033
5c90fde0
LL
130342011-04-11 Leo Liu <sdl.web@gmail.com>
13035
13036 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13037 buffers.
13038 (ido-kill-buffer-at-head): Support killing virtual buffers.
13039
369e974d
CY
130402011-04-10 Chong Yidong <cyd@stupidchicken.com>
13041
13042 * minibuffer.el (completion-show-inline-help): New var.
13043 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13044 (minibuffer-force-complete, minibuffer-complete-word):
13045 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13046
13047 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13048 to avoid interference from inline help (Bug#5849).
13049
37f1c930
LL
130502011-04-10 Leo Liu <sdl.web@gmail.com>
13051
099c39a4
JB
13052 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13053 Fix typo.
37f1c930 13054
a32d4040
CY
130552011-04-09 Chong Yidong <cyd@stupidchicken.com>
13056
13057 * image-mode.el (image-toggle-display-image): Signal an error if
13058 not in Image mode.
13059 (image-transform-mode, image-transform-resize)
13060 (image-transform-set-rotation): Doc fix.
daca8ba5 13061 (image-transform-set-resize): Delete.
a32d4040
CY
13062 (image-transform-set-scale, image-transform-fit-to-height)
13063 (image-transform-fit-to-width): Handle image-toggle-display-image
13064 and image-transform-resize directly.
13065
099c39a4 130662011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13067
13068 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13069 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13070 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13071 (doc-view-mode-map): Add bindings for the new functions.
13072
099c39a4 130732011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13074
4d61f28d 13075 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13076 Fix typo in docstring.
13077
3726838a
EZ
130782011-04-08 Eli Zaretskii <eliz@gnu.org>
13079
04f33f1e
EZ
13080 * files.el (file-size-human-readable): Produce one digit after
13081 decimal, like "ls -lh" does.
13082
13083 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13084 the file size representation.
13085
3726838a
EZ
13086 * simple.el (list-processes): If async subprocesses are not
13087 available, error out with a clear error message.
13088
cbb59342
CY
130892011-04-08 Chong Yidong <cyd@stupidchicken.com>
13090
13091 * help.el (help-form-show): New function, to be called from C.
13092 Put help-form output in a buffer named differently than *Help*.
13093
e3971c44
EZ
130942011-04-08 Eli Zaretskii <eliz@gnu.org>
13095
13096 * files.el (file-size-human-readable): New function.
13097
13098 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13099 computing the representation inline. Don't require `cl'.
13100
12544bbe
GM
131012011-04-08 Glenn Morris <rgm@gnu.org>
13102
a1de6c6a
GM
13103 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13104
3c4671f4
GM
13105 * net/browse-url.el (browse-url-firefox):
13106 Test system-type, not system-configuration.
13107
b605679c
GM
13108 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13109 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13110 Use log-edit-empty-buffer-p. (Bug#7598)
13111
56442f0c
GM
13112 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13113 (rlogin-mode-map): Initialize in the defvar.
13114 (rlogin): Use ignore-errors.
13115
12544bbe
GM
13116 * replace.el (occur-mode-map): Some fixes for menu items.
13117
eb237b0f
AH
131182011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13119
13120 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13121
7d668f2c
CY
131222011-04-06 Chong Yidong <cyd@stupidchicken.com>
13123
e67a13ab
CY
13124 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13125 issuing unused warnings.
13126
13127 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13128 macro directly.
13129
7d668f2c
CY
13130 * simple.el: Lisp reimplement of list-processes. Based on an
13131 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13132 (process-menu-mode): New major mode.
13133 (list-processes--refresh, list-processes):
13134 (process-menu-visit-buffer): New functions.
13135
13136 * files.el (save-buffers-kill-emacs): Don't assume any return
13137 value of list-processes, which is undocumented anyway.
13138
a83ec3c9
CY
131392011-04-06 Chong Yidong <cyd@stupidchicken.com>
13140
13141 * emacs-lisp/tabulated-list.el: New file.
13142
e91a96fe
CY
13143 * emacs-lisp/package.el: Use Tabulated List mode.
13144 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13145 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13146 table format using Tabulated List mode variables.
13147 (package--push): New macro, replacing package-list-maybe-add.
13148 (package-menu--generate): Use package--push. Renamed from
13149 package--generate-package-list.
13150 (package-menu-refresh, list-packages): Use it.
daca8ba5 13151 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13152 Return insertion data instead of inserting it directly.
099c39a4
JB
13153 (package-menu-describe-package, package-menu-execute):
13154 Use tabulated-list-get-id.
e91a96fe
CY
13155 (package-menu-mark-delete, package-menu-mark-install)
13156 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13157 (package-menu-mark-obsolete-for-deletion):
13158 Use tabulated-list-put-tag.
e91a96fe
CY
13159 (package--list-packages, package-menu-revert)
13160 (package-menu-get-package, package-menu-get-version)
13161 (package-menu-sort-by-column): Functions deleted.
13162 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13163 (package-menu--status-predicate, package-menu--version-predicate)
13164 (package-menu--name-predicate)
13165 (package-menu--description-predicate): Handle arguments in the
13166 Tabulated List format.
13167 (package-list-packages-no-fetch): Call list-packages.
13168
3e214b50
JB
131692011-04-06 Juanma Barranquero <lekktu@gmail.com>
13170
13171 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13172 (after-find-file): Don't bind it.
3e214b50
JB
13173 (revert-buffer-in-progress-p): New variable.
13174 (revert-buffer): Bind it.
13175 Pass nil for `after-find-file-from-revert-buffer'.
13176
13177 * saveplace.el (save-place-find-file-hook): Use new variable
13178 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13179
3f0f1700
GM
131802011-04-06 Glenn Morris <rgm@gnu.org>
13181
c0274801
GM
13182 * Makefile.in (AUTOGEN_VCS): New variable.
13183 (autoloads): Use $AUTOGEN_VCS.
13184
3f0f1700
GM
13185 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13186 * calendar/calendar.el (calendar-mode-map):
13187 Check for toolkit scroll bars. (Bug#8305)
13188
41ea9e48
CY
131892011-04-05 Chong Yidong <cyd@stupidchicken.com>
13190
13191 * minibuffer.el (completion-in-region--postch)
13192 (completion-in-region-mode): Remove unnecessary messages.
13193
6194c800
JB
131942011-04-05 Juanma Barranquero <lekktu@gmail.com>
13195
33256f14
JB
13196 * font-lock.el (font-lock-refresh-defaults):
13197 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13198 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13199
6194c800
JB
13200 * info.el (Info-directory-list, Info-read-node-name-2)
13201 (Info-split-parameter-string): Doc fixes.
13202 (Info-virtual-nodes): Reflow docstring.
13203 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13204 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13205 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13206 Fix typos in docstrings.
13207 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13208 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13209 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13210 (Info-restore-desktop-buffer): Mark unused parameters.
13211 (Info-directory-find-file, Info-directory-find-node)
13212 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13213 (Info-virtual-index-find-node, Info-apropos-find-file)
13214 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13215 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13216 (Info-virtual-index): Remove unused local variable `nodename'.
13217
b87a8200 132182011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13219
b87a8200
DD
13220 * net/rcirc.el: Update my e-mail address.
13221 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13222
3b2ff876
CY
132232011-04-05 Chong Yidong <cyd@stupidchicken.com>
13224
13225 * startup.el (command-line): Save the cursor's theme-face
13226 directly, instead of using face-override-spec.
13227
13228 * custom.el (load-theme): Minor optimization in assigning faces.
13229
8d17e7ca
JB
132302011-04-04 Juanma Barranquero <lekktu@gmail.com>
13231
13232 * help-fns.el (describe-variable): Complete all variables having
13233 documentation, including keywords.
13234 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13235
2fbc1934
JB
132362011-04-04 Juanma Barranquero <lekktu@gmail.com>
13237
13238 Convert to lexical-binding.
13239
13240 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13241 (bs--get-marked-string, bs--get-modified-string)
13242 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13243 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13244 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13245
13246 * ehelp.el (electric-help-execute-extended)
13247 (electric-help-ctrl-x-prefix):
13248 * hexl.el (hexl-revert-buffer-function):
13249 * linum.el (linum-after-change, linum-after-scroll):
13250 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13251
13252 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13253
74f50695
DU
132542011-04-04 Daiki Ueno <ueno@unixuser.org>
13255
13256 * epa-dired.el:
13257 * epa-mail.el:
13258 * epa-hook.el:
13259 * epa-file.el:
13260 * epa.el:
13261 * epg.el: Use lexical binding.
13262
c11325f7
CY
132632011-04-03 Chong Yidong <cyd@stupidchicken.com>
13264
0d9e9a12
CY
13265 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13266
c11325f7 13267 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13268 dictionary case for flyspell-mark-duplications-exceptions.
13269 Use regexp matching for languages.
c11325f7
CY
13270 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13271 default dictionary (Bug#7926).
13272
da91b5f2
CY
132732011-04-02 Chong Yidong <cyd@stupidchicken.com>
13274
099c39a4
JB
13275 * emacs-lisp/package.el (package--with-work-buffer):
13276 Recognize https URLs.
da91b5f2 13277
099c39a4
JB
13278 * net/network-stream.el: Move from gnus/proto-stream.el.
13279 Change prefix to network-stream throughout.
da91b5f2
CY
13280 (open-protocol-stream): Merge into open-network-stream, leaving
13281 open-protocol-stream as an alias. Handle nil BUFFER args.
13282
13283 * subr.el (open-network-stream): Move to net/network-stream.el.
13284
afa8e9f6
GM
132852011-04-02 Glenn Morris <rgm@gnu.org>
13286
1d2e369d
GM
13287 * find-dired.el (find-exec-terminator): New option.
13288 (find-ls-option): Test for -ls support.
13289 (find-ls-subdir-switches): Test for -b in find-ls-option.
13290 (find-dired, find-grep-dired): Doc fixes.
13291 (find-dired): Use find-exec-terminator.
13292
8abb7da8 13293 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13294 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13295 (find-name-arg): Remove purecopy.
8abb7da8 13296
f3ca7378
GM
13297 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13298 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13299 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13300 accordingly. Don't add the null-device if not needed.
13301
afa8e9f6
GM
13302 * files.el (save-some-buffers): Doc fix.
13303
35eae264
EZ
133042011-04-02 Eli Zaretskii <eliz@gnu.org>
13305
13306 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13307
26b51db5
JB
133082011-04-01 Juanma Barranquero <lekktu@gmail.com>
13309
13310 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13311 Use `dolist' rather than `mapcar'.
13312
7200d79c
SM
133132011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13314
03408648 13315 Add lexical binding.
7200d79c 13316
03408648
SM
13317 * subr.el (apply-partially): Use new closures rather than CL.
13318 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13319 (dolist, dotimes): Use slightly different expansion for lexical code.
13320 (functionp): Move to C.
13321 (letrec): New macro.
13322 (with-wrapper-hook): Use it and apply-partially instead of CL.
13323 (eval-after-load): Preserve lexical-binding.
13324 (save-window-excursion, with-output-to-temp-buffer): Turn them
13325 into macros.
7200d79c 13326
03408648
SM
13327 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13328
13329 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13330 than the arglist.
13331 (help-add-fundoc-usage): Don't add `Not documented'.
13332 (help-function-arglist): Handle closures, subroutines, and new
13333 byte-code-functions.
13334 (help-make-usage): Remove leading underscores.
13335 (describe-function-1): Handle closures.
13336 (describe-variable): Use special-variable-p for completion.
13337
13338 * files.el (lexical-binding): Declare safe.
f488fb65 13339
03408648
SM
13340 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13341 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13342 (pcase): Add `let' pattern.
13343 Change memoization so it actually works.
13344 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13345 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13346 <let>: New case.
f488fb65 13347
03408648
SM
13348 * emacs-lisp/macroexp.el: Use lexical binding.
13349 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13350 Don't convert ' to #' without checking that it's indeed quoting
13351 a lambda.
13352
13353 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13354 Use eval-sexp-add-defvars.
03408648
SM
13355 (eval-sexp-add-defvars): New fun.
13356
13357 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13358
13359 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13360 Don't autoload.
13361 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13362 than the internal `byte-compile-lambda'.
13363 (defmethod): Don't hide code under quotes.
13364 (eieio-defmethod): New `code' argument.
13365
13366 * emacs-lisp/eieio-comp.el: Remove.
13367
13368 * emacs-lisp/edebug.el (edebug-eval-defun)
13369 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13370 (edebug-toggle): Avoid `eval'.
13371
13372 * emacs-lisp/disass.el (disassemble-internal): Handle new
13373 `closure' objects.
13374 (disassemble-1): Handle new byte codes.
13375
13376 * emacs-lisp/cl.el (pushnew): Silence warning.
13377
13378 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13379 (cl-byte-compile-throw): Remove.
13380 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13381
13382 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13383 closures.
13384
13385 * emacs-lisp/cconv.el: New file.
13386
13387 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13388 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13389 (byte-compile-initial-macro-environment):
13390 Handle declare-function here.
13391 (byte-compile--lexical-environment): New var.
13392 (byte-stack-ref, byte-stack-set, byte-discardN)
13393 (byte-discardN-preserve-tos): New lap codes.
13394 (byte-interactive-p): Don't use any more.
13395 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13396 New macros.
13397 (byte-compile-lapcode): Use them and handle new lap codes.
13398 (byte-compile-obsolete): Remove.
13399 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13400 (byte-compile-arglist-warn): Check late def of inlinable funs.
13401 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13402 since they should have been expanded by now.
13403 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13404 (byte-compile-from-buffer): Remove unused second arg.
13405 (byte-compile-preprocess): New function.
13406 (byte-compile-toplevel-file-form): New function to distinguish
13407 file-form calls from outside from file-form calls from hunk-handlers.
13408 (byte-compile-file-form): Simplify.
13409 (byte-compile-file-form-defsubst): Remove.
13410 (byte-compile-file-form-defmumble): Simplify now that
13411 byte-compile-lambda always returns a byte-code-function.
13412 (byte-compile): Preprocess.
13413 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13414 Remove, not used any more.
13415 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13416 (byte-compile-make-args-desc): New funs.
13417 (byte-compile-lambda): Handle lexical functions. Always return
13418 a byte-code-function.
13419 (byte-compile-reserved-constants): New var, to make up room for
13420 closed-over variables.
13421 (byte-compile-constants-vector): Obey it.
13422 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13423 (byte-compile-macroexpand-declare-function): New function.
13424 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13425 byte-code-functions.
13426 (byte-compile-form): Check obsolescence here.
13427 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13428 (byte-compile-variable-ref): Remove.
13429 (byte-compile-dynamic-variable-op): New fun.
13430 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13431 (byte-compile-variable-set): New funs.
13432 (byte-compile-discard): Add 2 args.
13433 (byte-compile-stack-ref, byte-compile-stack-set)
13434 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13435 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13436 macroexpand-all instead.
13437 (byte-compile-quote-form): Remove.
13438 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13439 (byte-compile-bind, byte-compile-unbind): New funs.
13440 (byte-compile-let): Handle let* and lexical binding.
13441 (byte-compile-let*): Remove.
13442 (byte-compile-catch, byte-compile-unwind-protect)
13443 (byte-compile-track-mouse, byte-compile-condition-case):
13444 Handle a new :fun-body form, used for lexical scoping.
13445 (byte-compile-save-window-excursion)
13446 (byte-compile-with-output-to-temp-buffer): Remove.
13447 (byte-compile-defun): Simplify.
13448 (byte-compile-stack-adjustment): New fun.
13449 (byte-compile-out): Use it.
13450 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13451
13452 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13453 handler any more.
13454
13455 * emacs-lisp/byte-opt.el: Use lexical binding.
13456 (byte-inline-lapcode): Remove (to bytecomp).
13457 (byte-compile-inline-expand): Pay attention to inlining to/from
13458 lexically bound code.
13459 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13460 any more.
13461 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13462 any more and don't call compiler-macros.
13463 (byte-compile-splice-in-already-compiled-code): Remove.
13464 (byte-code): Don't inline any more.
13465 (disassemble-offset): Receive `bytes' as argument rather than via
13466 dynamic scoping.
13467 (byte-compile-tag-number): Declare before first use.
13468 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13469 `return' even if make-spliceable.
13470 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13471 obsolete interactive-p.
13472 (byte-optimize-lapcode): Optimize new lap-codes.
13473 Don't trip up on new form of `byte-constant' lap code.
13474
13475 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13476
13477 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13478
13479 * custom.el (custom-initialize-default, custom-declare-variable):
13480 Use `defvar'.
13481
13482 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13483 New variables.
13484 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13485 (COMPILE_FIRST): Add macroexp and cconv.
13486 * makefile.w32-in: Mirror changes in Makefile.in.
13487
13488 * vc/cvs-status.el:
13489 * vc/diff-mode.el:
13490 * vc/log-edit.el:
13491 * vc/log-view.el:
13492 * vc/smerge-mode.el:
13493 * textmodes/bibtex-style.el:
13494 * textmodes/css.el:
13495 * startup.el:
13496 * uniquify.el:
da91b5f2
CY
13497 * minibuffer.el:
13498 * newcomment.el:
13499 * reveal.el:
13500 * server.el:
13501 * mpc.el:
13502 * emacs-lisp/smie.el:
13503 * doc-view.el:
13504 * dired.el:
03408648
SM
13505 * abbrev.el: Use lexical binding.
13506
0f0c1f27
EZ
135072011-04-01 Eli Zaretskii <eliz@gnu.org>
13508
13509 * info.el (info-display-manual): New function.
13510
c82b2579
SM
135112011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13514
221ddf68
TH
135152011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13516
13517 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13518 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13519
cba6e77e
GM
135202011-03-31 Glenn Morris <rgm@gnu.org>
13521
e040639f
GM
13522 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13523
cba6e77e
GM
13524 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13525
6d0f1c9e
CS
135262011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13527
13528 * progmodes/python.el (python-default-interpreter)
13529 (python-python-command-args, python-jython-command-args)
13530 (python-which-shell, python-which-args, python-which-bufname)
13531 (python-file-queue, python-comint-output-filter-function)
13532 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13533 variables and functions.
13534
3e2d70fd
SM
135352011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13538 (completion-in-region-mode): New minor mode.
13539 (completion-in-region): Use it.
13540 (completion-in-region--data, completion-in-region-mode-map): New vars.
13541 (completion-in-region--postch): New function.
13542 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13543 New vars.
13544 (completion--capf-wrapper): New function.
13545 (completion-at-point): Use it to track well-behavedness of
13546 hook functions.
13547 (completion-help-at-point): New command.
13548
f3e4086c
JM
135492011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13550
13551 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13552 syntax class to search for whitespace on a single line
13553 (Message-ID: <4D938140.4030905@redhat.com>).
13554
eb7ffc14
LL
135552011-03-30 Leo Liu <sdl.web@gmail.com>
13556
13557 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13558 New commands.
13559 (edit-abbrevs-map): Bind them here.
13560 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13561
d806ab68
KM
135622011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13563
13564 * allout.el (allout-hide-by-annotation, allout-flag-region):
13565 Reduce possibility of overlay leakage by making them volatile.
13566
13567 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13568 hash is not shared between buffers. Mode initialization is
13569 responsible for giving it a useful starting value.
13570 (allout-item-span): Reduce possibility of overlay leakage by
13571 making them volatile.
13572 (allout-widgets-count-buttons-in-region): Add diagnostic function
13573 for tracking down button overlay leaks.
13574
ea622834
LL
135752011-03-29 Leo Liu <sdl.web@gmail.com>
13576
13577 * ido.el (ido-read-internal): Use the default history var
13578 minibuffer-history if no HISTORY is specified.
13579
b62f8267
G
135802011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13581
03408648
SM
13582 * net/imap.el (imap-shell-open, imap-process-connection-type):
13583 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13584 Kerberos, SSL, other subprocesses.
13585
947b6566
LL
135862011-03-28 Leo Liu <sdl.web@gmail.com>
13587
13588 * abbrev.el (abbrev-table-empty-p): New function.
13589 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13590 nonempty ones. (Bug#5937)
13591
5ffb62aa
JD
135922011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13593
13594 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13595
7a097943
LL
135962011-03-27 Leo Liu <sdl.web@gmail.com>
13597
13598 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13599 for foreground and background colors.
13600 (ansi-color-make-color-map): Adapt.
13601
c5b40130
LL
136022011-03-25 Leo Liu <sdl.web@gmail.com>
13603
1f48f7d2
LL
13604 * midnight.el (midnight-time-float): Remove. Note it calculates
13605 the microsecond component incorrectly and seconds-to-time does the
13606 same job.
625897ec 13607 Remove redundant (require 'timer).
1f48f7d2 13608
c5b40130
LL
13609 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13610 (ido-completions): Remove unused arguments. (Bug#8329)
13611
d86d2721
SM
136122011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * minibuffer.el (completion--flush-all-sorted-completions):
13615 Remove itself from hook.
13616 (completion-at-point): Let the functions perform the completion
13617 immediately and return nil or t.
13618 * comint.el (comint-dynamic-complete-functions): Now identical to
13619 completion-at-point-functions.
13620 (comint-dynamic-list-input-ring): Remove unused var `index'.
13621 (comint--match-partial-filename, comint--unquote&expand-filename):
13622 New funs, split from comint-match-partial-filename.
13623 (comint-dynamic-complete): Use completion-at-point.
13624 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13625
e8974c48
DA
136262011-03-24 Drew Adams <drew.adams@oracle.com>
13627
13628 * thingatpt.el: Support `defun'.
13629
def71b5e
LL
136302011-03-23 Leo Liu <sdl.web@gmail.com>
13631
cb5af48e
LL
13632 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13633
def71b5e
LL
13634 * help-mode.el (help-mode-finish): Tweak regexp.
13635
927c53e7
GM
136362011-03-23 Glenn Morris <rgm@gnu.org>
13637
18d05bed
GM
13638 * eshell/esh-opt.el (eshell-eval-using-options):
13639 Do not bind unused local variable `eshell-option-stub'.
13640
927c53e7
GM
13641 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13642
9d0da923
JB
136432011-03-22 Juanma Barranquero <lekktu@gmail.com>
13644
13645 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13646 keymap variable in `with-no-warnings' to avoid a warning when the
13647 keymap has been already `defconst'ed.
13648
4b978a67
LL
136492011-03-22 Leo Liu <sdl.web@gmail.com>
13650
13651 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13652 encode all chars in abbrevs; otherwise use emacs-mule or
13653 utf-8-emacs. (Bug#8308)
13654
5fd62452
JB
136552011-03-22 Juanma Barranquero <lekktu@gmail.com>
13656
0b1596c6
JB
13657 * simple.el (backward-delete-char-untabify):
13658 Avoid warning about using `delete-backward-char'.
13659
5fd62452
JB
13660 * image.el (image-type-file-name-regexps): Make it variable.
13661 `imagemagick-register-types' modifies it, and the user may want
13662 to add new extensions for known image types.
13663 (imagemagick-register-types): Throw error if not using ImageMagick.
13664
0b4e93f1
LL
136652011-03-22 Leo Liu <sdl.web@gmail.com>
13666
13667 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13668 located before rcirc-prompt-end-marker.
13669 (rcirc-complete): Error if point is not after rcirc prompt.
13670 Handle the case when table is nil.
9882e214 13671 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13672
fccee4ab
CY
136732011-03-22 Chong Yidong <cyd@stupidchicken.com>
13674
13675 * custom.el (custom--inhibit-theme-enable): Make it affect only
13676 custom-theme-set-variables and custom-theme-set-faces.
13677 (provide-theme): Ignore custom--inhibit-theme-enable.
13678 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13679 (custom-enabling-themes): Delete variable.
d86d2721
SM
13680 (enable-theme): Accept only loaded themes as arguments.
13681 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13682 (custom-enabled-themes): Forbid themes from setting this.
13683 Eliminate use of custom-enabling-themes.
13684 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13685
af896da6
LL
136862011-03-21 Leo Liu <sdl.web@gmail.com>
13687
13688 * ido.el (ido-read-internal): Add ido-selected to history instead
13689 of user input.
13690
78f64af0
SM
136912011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13692
13693 * subr.el (deferred-action-list, deferred-action-function):
13694 Mark obsolete.
13695
b16ac1ec
LL
136962011-03-21 Leo Liu <sdl.web@gmail.com>
13697
810f7698
LL
13698 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13699 change on 2011-02-13 (bug#8309).
13700
b16ac1ec
LL
13701 * minibuffer.el (read-file-name-function): Change default value.
13702 (read-file-name--defaults): Rename from read-file-name-defaults.
13703 (read-file-name-default): Rename from read-file-name.
13704 (read-file-name): Call read-file-name-function.
13705
4e05e67e
GM
137062011-03-21 Glenn Morris <rgm@gnu.org>
13707
13708 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13709 Doc fixes.
13710
4359915b
CY
137112011-03-21 Chong Yidong <cyd@stupidchicken.com>
13712
13713 * cus-theme.el: Add missing provide statement.
13714 (customize-create-theme): Extract theme value correctly.
13715 (custom-theme-visit-theme): Autoload.
13716 (customize-create-theme): Prompt before inserting default faces.
13717
1fe275ee
JB
137182011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13719
13720 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13721 units and musical notes.
13722
cd394be1 137232011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13724
13725 * ido.el (ido-read-internal): Use completing-read-default.
13726 (ido-completing-read): Fix compatibility with completing-read.
13727
7d476bde
CO
137282011-03-20 Christian Ohler <ohler@gnu.org>
13729
13730 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13731 (ert-delete-all-tests): Use `called-interactively-p' rather than
13732 `interactive-p'.
13733 (ert--make-xrefs-region): Respect END.
13734
fe0fb33e
CY
137352011-03-19 Chong Yidong <cyd@stupidchicken.com>
13736
ff854b0b
CY
13737 * dired-aux.el (dired-create-directory): Signal an error if the
13738 directory already exists (Bug#8246).
13739
fe0fb33e
CY
13740 * facemenu.el (list-colors-display): Call list-faces-display
13741 inside with-help-window.
13742 (list-colors-print): Use display property to align the final
13743 column, instead of checking window-width.
13744
576bce32
EZ
137452011-03-19 Eli Zaretskii <eliz@gnu.org>
13746
4d61f28d 13747 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13748 windows-nt systems.
13749 (emerge-protect-metachars): Quote correctly for ms-dos and
13750 windows-nt systems.
13751
89c41d68 137522011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13753
13754 * info.el (info-initialize): Replace all uses of `:' with
13755 path-separator for compatibility with non-Unix systems.
13756 Cache quoting of path-separator. (Bug#8258)
13757
b14e3e21 137582011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13759
13760 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13761 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13762 (mouse-avoidance-mode): Fix typos in docstrings.
13763
4525ce3e
CY
137642011-03-19 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * startup.el (package-subdirectory-regexp): Move from package.el.
13767 Omit \\` and \\', and let callers add them.
13768
13769 * emacs-lisp/package.el (package-strip-version)
13770 (package-load-all-descriptors): Add \\` and \\' to
13771 package-subdirectory-regexp before using it.
13772 (package-untar-buffer): New arg DIR; ensure that file untars only
13773 into this expected directory. Remove superfluous delete-region.
13774 (package-unpack): Caller changed.
13775 (package-tar-file-info): Use package-subdirectory-regexp.
13776
a904a09a 137772011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13778
a904a09a
SM
13779 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13780 diff-mode-shared-map (bug#8284).
13781 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13782
137832011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13784
13785 * calendar/time-date.el (format-seconds): Use assoc instead of
13786 assoc-string, since assoc-string doesn't exist in XEmacs.
13787
171fc304
JB
137882011-03-17 Juanma Barranquero <lekktu@gmail.com>
13789
13790 * custom.el (custom-known-themes): Reflow docstring.
13791 (custom-theme-load-path): Fix typo in docstring.
13792 (load-theme): Fix typo in error message.
13793 (custom-available-themes, custom-variable-theme-value):
13794 Use `let', not `let*'.
13795
d71990a1
JB
137962011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13797
13798 * calc/README: Mention inclusion of musical notes.
13799
13800 * calc/calc-units.el (calc-lu-quant): Rename from
13801 `calc-logunits-quantity'.
13802 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13803 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13804 (calc-db): Rename from `calc-dblevel'.
13805 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13806 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13807 (calc-np): Rename from `calc-nplevel'.
13808 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13809 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13810 (calc-lu-plus): Rename from `calc-logunits-add'.
13811 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13812 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13813 (calc-lu-minus): Rename from `calc-logunits-sub'.
13814 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13815 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13816 (calc-lu-times): Rename from `calc-logunits-mul'.
13817 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13818 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13819 (calc-lu-divide): Rename from `calc-logunits-div'.
13820 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13821 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13822
13823 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13824 functions being autoloaded.
13825
13826 * calc/calc.el (calc-lu-power-reference): Rename from
13827 `calc-logunits-power-reference'.
13828 (calc-lu-field-reference): Rename from
13829 `calc-logunits-field-reference'.
13830
7a71b18d
GM
13831 * calc/calc-help.el (calc-l-prefix-help):
13832 Mention musical note functions.
d71990a1 13833
40c2934b
SM
138342011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * minibuffer.el (completion-all-sorted-completions):
13837 Use :completion-cycle-penalty text property if present.
13838
b0911414
KM
138392011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13840
13841 * allout.el (allout-yank-processing): Adjust for new rebulleting
13842 regime so bullet being yanked is used without prompting the user
13843 for a choice.
13844
8a05b668
JB
138452011-03-16 Juanma Barranquero <lekktu@gmail.com>
13846
13847 * startup.el (command-line): Warn the user that _emacs is deprecated.
13848
5ba5fb81
JB
138492011-03-16 Juanma Barranquero <lekktu@gmail.com>
13850
13851 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13852 (delphi-verbose, delphi-comment-face, delphi-string-face)
13853 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13854 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13855 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13856 (delphi-new-comment-line, delphi-font-lock-defaults)
13857 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13858 Fix typos in docstrings.
13859
2dab465b
KM
138602011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13861
5ba5fb81 13862 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13863 Invert the roles of character and string values for INSTEAD, so a
13864 string is used for the more common case of a defaulting prompt.
13865
0adf5618
SM
138662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * progmodes/ruby-mode.el (ruby-backward-sexp):
13869 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13870 * play/gamegrid.el (gamegrid-make-face):
13871 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13872 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13873 * notifications.el (notifications-notify):
13874 * net/xesam.el (xesam-search-engines):
13875 * net/quickurl.el (quickurl-list-insert):
13876 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13877
d72700e5
CY
138782011-03-15 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * startup.el (command-line): Update package subdirectory regexp.
13881
49c5410a
SM
138822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13883
c6eee9aa
SM
13884 * allout.el (allout-abbreviate-flattened-numbering)
13885 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13886
49c5410a
SM
13887 * subr.el (read-char-choice): Only show the cursor after the prompt,
13888 not after the answer.
13889
047b2bb9
KR
138902011-03-15 Kevin Ryde <user42@zip.com.au>
13891
13892 * help-fns.el (variable-at-point): Skip leading quotes, if any
13893 (bug#8253).
13894
0a57d256
SM
138952011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13898 warning message.
13899
77c992bc
MA
139002011-03-14 Michael Albinus <michael.albinus@gmx.de>
13901
13902 * shell.el (shell): When called interactively, offer to change the
13903 shell file name on remote hosts.
13904
eebc475d
TZ
139052011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13906
13907 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13908 integration for LDAP parameters. The host, base, user or binddn,
13909 and secret tokens can be specified in a netrc file, for instance.
13910 This is optional because an `auth-source' parameter must be
13911 specified in the search attributes.
13912
9d05d1ba
JB
139132011-03-13 Juanma Barranquero <lekktu@gmail.com>
13914
13915 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13916
09d9db2c
GM
139172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13920 into declaration. Remove redundant and harmful binding.
13921
139222011-03-12 Eli Zaretskii <eliz@gnu.org>
13923
13924 * files.el (file-ownership-preserved-p): Pass `integer' as an
13925 explicit 2nd argument to `file-attributes'. If the file's owner
13926 is the Administrators group on Windows, and the current user is
13927 Administrator, consider that a match.
13928
13929 * server.el (server-ensure-safe-dir): Consider server directory
13930 safe on MS-Windows if its owner is the Administrators group while
13931 the current Emacs user is Administrator. Use `=' to compare
13932 numerical UIDs, since they could be integers or floats.
13933
219bd536
JB
139342011-03-12 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13937
f3afd36b
MA
139382011-03-12 Michael Albinus <michael.albinus@gmx.de>
13939
13940 Sync with Tramp 2.2.1.
13941
13942 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13943
13944 * net/trampver.el: Update release number.
13945
3aaaa6f1
SM
139462011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13947
94642599
SM
13948 * progmodes/compile.el (compilation--previous-directory): Fix up
13949 various nil/dead-marker mismatches (bug#8014).
13950 (compilation-directory-properties, compilation-error-properties):
13951 Don't call it at a position past the one we're about to change.
13952
3aaaa6f1
SM
13953 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13954 Disable obsolescence warnings in the file that declares it.
13955
14239447
KM
139562011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13957
099c39a4
JB
13958 * allout-widgets.el (allout-widgets-tally):
13959 Initialize allout-widgets-tally as a hash table rather than nil to
13960 prevent mode-line redisplay warnings. Also, clarify the module
13961 description and fix a comment typo.
14239447 13962
135e287c
JB
139632011-03-11 Juanma Barranquero <lekktu@gmail.com>
13964
13965 * help-fns.el (describe-variable): Don't complete keywords.
13966 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13967
ffbf300e
CY
139682011-03-10 Chong Yidong <cyd@stupidchicken.com>
13969
ba08b241
CY
13970 * emacs-lisp/package.el (package-version-join): Impose a standard
13971 string representation for pre/alpha/beta version lists.
13972 (package-unpack-single): Standardize the directory name by passing
13973 it through package-version-join.
13974 (package-strip-rcs-id): Accept any version string that does not
13975 signal an error in version-to-list.
ffbf300e 13976
f346fd6b
MA
139772011-03-10 Michael Albinus <michael.albinus@gmx.de>
13978
13979 * simple.el (delete-trailing-whitespace): Return nil for the
13980 benefit of `write-file-functions'.
13981
ccb55d27
GM
139822011-03-10 Glenn Morris <rgm@gnu.org>
13983
5ceaac0c
GM
13984 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13985
02da65ff
GM
13986 * vc/vc-git.el (vc-git-program): New option.
13987 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13988 (vc-git--call): Use it.
13989
b2f603cc
GM
13990 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13991
5772caab
GM
13992 * cus-edit.el (Custom-newline): If no button at point, look
13993 for a subgroup button at start-of-line. (Bug#2298)
13994
ccb55d27
GM
13995 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13996
ec6ecaed
JD
139972011-03-10 Julien Danjou <julien@danjou.info>
13998
13999 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14000 `cursor-type' is nil.
14001
9d5aa01d
JB
140022011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14003
14004 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14005
b6a5875b
KM
140062011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14007
7a71b18d 14008 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14009 preserves the existing header prefix, rebulleting it if necessary,
14010 rather than replacing it. This is necessary for proper operation
14011 of cooperative addons like allout-widgets.
1154d12e
JB
14012 (allout-make-topic-prefix, allout-rebullet-heading):
14013 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14014 value as alternate bullet to be used, instead of prompting the user
14015 for a bullet character.
b6a5875b 14016
ee545c35
MA
140172011-03-09 Michael Albinus <michael.albinus@gmx.de>
14018
d86d2721
SM
14019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14020 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14021 `tramp-default-port'.
14022
c47971d7
DD
140232011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14024
14025 * net/rcirc.el (rcirc-handler-001): Remove useless
14026 with-rcirc-process-buffer.
14027 (rcirc-check-auth-status): Swap arguments to string-match.
14028
13522cb4
GM
140292011-03-09 Glenn Morris <rgm@gnu.org>
14030
0be6f4f1
GM
14031 * shell.el (shell-mode):
14032 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14033
13522cb4
GM
14034 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14035 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14036
515de2e3
CY
140372011-03-08 Chong Yidong <cyd@stupidchicken.com>
14038
14039 * emacs-lisp/package.el (package-refresh-contents)
14040 (package-menu-execute): Use condition-case-no-debug.
14041
b511b994
MA
140422011-03-08 Michael Albinus <michael.albinus@gmx.de>
14043
14044 * simple.el (shell-command-to-string): Use `process-file'.
14045
14046 * emacs-lisp/package.el (package-tar-file-info): Handle also
14047 remote files.
14048
d86d2721
SM
14049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14050 Use `equal' for upload base check.
b511b994 14051
25bbfb31
AM
140522011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14053
14054 * textmodes/texinfo.el (texinfo-environments):
14055 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14056
be996521
GM
140572011-03-08 Glenn Morris <rgm@gnu.org>
14058
e9c8529f
GM
14059 * cus-start.el (cursor-in-non-selected-windows):
14060 Fix :set quoting oddness. (Bug#8192)
14061
be996521
GM
14062 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14063 in some setf expressions. (Bug#2159)
14064
2bb5649e
CY
140652011-03-08 Chong Yidong <cyd@stupidchicken.com>
14066
14067 * custom.el (custom-available-themes): Return themes in
14068 alphabetical order.
14069
33383987 14070See ChangeLog.15 for earlier changes.
e3d51b27
MR
14071
14072;; Local Variables:
14073;; coding: utf-8
e3d51b27
MR
14074;; End:
14075
acaf905b 14076 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14077
14078 This file is part of GNU Emacs.
14079
14080 GNU Emacs is free software: you can redistribute it and/or modify
14081 it under the terms of the GNU General Public License as published by
14082 the Free Software Foundation, either version 3 of the License, or
14083 (at your option) any later version.
14084
14085 GNU Emacs is distributed in the hope that it will be useful,
14086 but WITHOUT ANY WARRANTY; without even the implied warranty of
14087 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14088 GNU General Public License for more details.
14089
14090 You should have received a copy of the GNU General Public License
14091 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.