Use `declare' in `lambda' and mis minor changes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a179e3f7
SM
12012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (lambda): Use declare.
4 * emacs-lisp/lisp-mode.el (lambda):
5 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6
34a008d9
AH
72012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8
9 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10
0a3b289f
GM
112012-05-26 Glenn Morris <rgm@gnu.org>
12
13 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14
758c81e8
GM
152012-05-25 Glenn Morris <rgm@gnu.org>
16
f9f334f0
GM
17 * paths.el: Remove no-byte-compile.
18 * loadup.el: No need to load paths.el uncompiled.
19
87eb79c2
GM
20 * image.el (imagemagick-types-inhibit): Doc fix.
21
758c81e8
GM
22 * version.el: Remove no-byte-compile and associated formatting.
23 * loadup.el: No need to load version.el uncompiled. AFAICS, this
24 is ancient code from when there was an "inc-vers.el".
25
e7e85dc0
SM
262012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * progmodes/gdb-mi.el: Minor style changes.
29 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
30 Turn into minor modes.
31 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
32 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
33 (gdb-shell): Remove unneeded let-binding.
34 (gdb-get-many-fields): Eliminate O(n²) behavior.
35
f31237a4
EZ
362012-05-25 Eli Zaretskii <eliz@gnu.org>
37
38 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
39 platforms that don't link in fontset.c.
40
bc1b21bb
JL
412012-05-25 Juri Linkov <juri@jurta.org>
42
43 Use the same diff color scheme as in modern VCSes (bug#10181).
44
45 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
46 to avoid confusion with `diff-added' that now uses green colors.
47 (diff-removed): Use shades of red.
48 (diff-added): Use shades of green.
49 (diff-changed): Leave just the yellow color.
50 (diff-use-changed-face): New variable.
51 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
52 how to highlight context diff changes.
53 (diff-refine-change): Use shades of yellow.
54 (diff-refine-removed): New face that uses shades of red.
55 (diff-refine-added): New face that uses shades of green.
56 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
57 `diff-refine-removed' in the call to `smerge-refine-subst'
58 depending on the value of `diff-use-changed-face'.
59
60 * vc/smerge-mode.el (smerge-mine): Use shades of red.
61 (smerge-other): Use shades of green.
62 (smerge-base): Use shades of yellow.
63 (smerge-refined-change): Empty face.
64 (smerge-refined-removed): New face that uses shades of red.
65 (smerge-refined-added): New face that uses shades of green.
66 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
67 args `props-r' and `props-a', and use them. Doc fix.
68 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
69 on its value use different faces `smerge-refined-change',
70 `smerge-refined-removed', `smerge-refined-added' in the call to
71 `smerge-refine-subst'.
72
73 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
74 Add face condition `min-colors 88' with shades of red.
75 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
76 `min-colors 88' with shades of green.
77 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
78 `min-colors 88' with shades of yellow.
79
6df9112c
GM
802012-05-24 Glenn Morris <rgm@gnu.org>
81
ead5edc0
GM
82 * paths.el (prune-directory-list, remote-shell-program): Move to...
83 * files.el (prune-directory-list, remote-shell-program): ...here.
84 For the latter, delay initialization, prefer ssh, just search PATH.
85
f18b81e6
GM
86 * paths.el (term-file-prefix): Move to faces.el (the only user).
87 * faces.el (term-file-prefix): Move here, make it a defcustom.
88
ee2f89a6
GM
89 * paths.el (news-directory, news-path, news-inews-program):
90 Move to gnus/nnspool.el.
61a583ca 91
f8815e4c
GM
92 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
93
c8f3b42c
GM
94 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
95 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
96 Make the latter a defcustom, with a delayed initialization.
97
6df9112c
GM
98 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
99 These were deleted from Gnus itself late 2010.
100
5dadff36
JB
1012012-05-22 Juanma Barranquero <lekktu@gmail.com>
102
9e1701c6
JB
103 * progmodes/which-func.el (which-func-ff-hook):
104 Check against user-error, not error.
105
bd7239f5 106 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
107 cl-specs.el, which no longer exists.
108
3290526d
GM
1092012-05-22 Glenn Morris <rgm@gnu.org>
110
111 * info.el (info-emacs-bug): New command.
112 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
113 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
114
ff0c3cfb
GM
1152012-05-21 Glenn Morris <rgm@gnu.org>
116
117 * makefile.w32-in (update-subdirs-SH):
118 * Makefile.in (update-subdirs): Update for moved update-subdirs.
119
5814f126
SM
1202012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
121
a52c0aa0
SM
122 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
123
5814f126
SM
124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
125 Simplify Maven regexp, and make sure the file can't start with a space
126 (bug#11517).
127
b847032c
GM
1282012-05-21 Glenn Morris <rgm@gnu.org>
129
130 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
131 Scrap superfluous subshells.
132
3858bfe7
SM
1332012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
136 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
137
d14b0029
JB
1382012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
139
140 * calc/calc.el (calc-ensure-consistent-units): New variable.
141
a52c0aa0
SM
142 * calc/calc-units.el (math-consistent-units-p)
143 (math-check-unit-consistency): New functions.
144 (calc-quick-units, calc-convert-units):
145 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
146 is non-nil.
d14b0029
JB
147 (calc-extract-units): Fix typo.
148
60c4db3a
SM
1492012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
150
77f3b62e
SM
151 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
152
60c4db3a
SM
153 * textmodes/flyspell.el: Commenting style, plus code simplifications.
154 (flyspell-default-deplacement-commands): Don't spell check after
155 repeated window/frame switches (e.g. triggered by mouse-movement).
156 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
157 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
158 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
159 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
160 Remove unused vars.
161 (flyspell-get-casechars, flyspell-get-not-casechars):
162 Simplify; Don't bother removing a ] just to add it back.
163 * textmodes/ispell.el (ispell-program-name): Use executable-find.
164
b1a10716
RS
1652012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
166
167 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
168 New functions.
bd7239f5 169 (math-function-table): Add support for more C functions.
b1a10716 170
3f1b25b5
AM
1712012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
172
173 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
174 (flyspell-debug-signal-word-checked): Protect delay handling for
175 otherchars against empty otherchars.
176
b581bb5c
SM
1772012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
180 their respective macro declarations.
181 * skeleton.el (define-skeleton):
182 * progmodes/compile.el (define-compilation-mode):
183 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
184 (define-ibuffer-filter):
185 * emacs-lisp/generic.el (define-generic-mode):
186 * emacs-lisp/easy-mmode.el (define-minor-mode)
187 (define-globalized-minor-mode):
188 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
189 * emacs-lisp/byte-run.el (defsubst):
190 * custom.el (deftheme): Add doc-string metadata.
191
70b8ef8f
SM
1922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
195
b1198e17
SM
1962012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
197
9abdc45d
SM
198 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
199
b1198e17
SM
200 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
201 * emacs-lisp/cl-macs.el: Idem.
202 * emacs-lisp/cl-specs.el: Remove.
203
4735906a
SM
2042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 Minor renaming of internal CL functions and variables.
207 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
208 (cl--position): Rename from cl-position.
209 (cl--delete-duplicates): Rename from cl-delete-duplicates.
210 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
211 (cl--random-state): Rename from *random-state*.
212
ac348012
SM
2132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
216 parens around the arg list (bug#11499).
217
a0a79cde
JL
2182012-05-17 Juri Linkov <juri@jurta.org>
219
220 * isearch.el (word-search-regexp, word-search-backward)
221 (word-search-forward, word-search-backward-lax)
222 (word-search-forward-lax): Move functions from search.c
223 (bug#10145, bug#11381).
224
65034a51
AM
2252012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
226
227 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
228 (flyspell-debug-signal-word-checked): Delay for otherchars as for
229 normal word components.
230
1a72a195
SM
2312012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * minibuffer.el (completion--sifn-requote): Fix last change.
234 (minibuffer-local-must-match-filename-map):
235 Move define-obsolete-variable-alias before its var.
236
fdb058c2
SM
2372012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
238
c41045e6
SM
239 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
240
036dfb8b
SM
241 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
242 behavior.
243 (completion--string-equal-p): New function.
244 (completion--twq-all): Use it to get better assertion failure data.
245
2473256d
SM
246 Only handle ".." and '..' quoting in shell-mode (bug#11466).
247 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
248 (shell--requote-argument): New functions.
249 (shell-completion-vars): Use them.
250 (shell--parse-pcomplete-arguments): Rename from
251 shell-parse-pcomplete-arguments.
252 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
253 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
254 Obey comint-file-name-quote-list.
255
fdb058c2
SM
256 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
257 (smie-indent-keyword): Use it.
258
51fa99f1
SM
2592012-05-14 Stefan Merten <smerten@oekonux.de>
260
261 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
262
e18afed7 2632012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
264
265 * net/rlogin.el (rlogin-mode-map): Fix last change.
266
e18afed7 2672012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
268
269 * mail/smtpmail.el (smtpmail-send-command): Send the command and
270 the following \r\n using a single `process-send-string', since the
271 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 272 with two `process-send-string's (Bug#11444).
8633b1f4 273
e18afed7 2742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 275
fdb058c2
SM
276 * shell.el (shell-parse-pcomplete-arguments):
277 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 278
2d21d7f6
WJ
2792012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
280
e18afed7 281 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
282 (image-transform-scale, image-transform-right-angle-fudge): New vars.
283 (image-transform-width, image-transform-fit-width): New functions.
284 (image-transform-properties): Use them.
285 (image-transform-check-size): New function.
286 (image-toggle-display-image): Use it (for testing).
287 (image-transform-set-rotation): Reduce angle mod 360.
288 Delete obsolete comment.
289
7102e6d0
WJ
2902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
291
292 * image-mode.el: Fix scaling (bug#11399).
293 (image-transform-resize): Doc fix.
294 (image-transform-properties): Default scale is 1 and height should
295 be an integer.
296
06bc5e6e
SM
2972012-05-13 Johan Bockgård <bojohan@gnu.org>
298
299 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
300 than hard-coding `car', to fix misbehavior when moving forward.
301
0ae03b6a
CY
3022012-05-13 Chong Yidong <cyd@gnu.org>
303
304 * emacs-lisp/tabulated-list.el (tabulated-list-format)
305 (tabulated-list-entries, tabulated-list-padding)
306 (tabulated-list-sort-key): Make permanent-local.
307
308 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
309 (electric-buffer-list): Put electric buffer menu
310 command descriptions in this docstring, instead of the docstring
311 of electric-buffer-menu-mode. Code cleanups.
312 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
313 Electric-buffer-menu-mode.
314 (electric-buffer-update-highlight): Minor code cleanup.
315
205a7391
MA
3162012-05-13 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
319 (Bug#11447)
320
e5bd0a28
SM
3212012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 Move define-obsolete-variable-alias before the var's definition.
324 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
325 * tooltip.el (tooltip-hook):
326 * textmodes/reftex-toc.el (reftex-toc-map):
327 * textmodes/reftex-sel.el (reftex-select-label-map)
328 (reftex-select-bib-map):
329 * textmodes/reftex-index.el (reftex-index-map)
330 (reftex-index-phrases-map):
331 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
332 * progmodes/meta-mode.el (meta-mode-map):
333 * novice.el (disabled-command-hook):
334 * loadhist.el (unload-hook-features-list):
335 * frame.el (blink-cursor):
336 * files.el (find-file-not-found-hooks, write-file-hooks)
337 (write-contents-hooks):
338 * emulation/tpu-edt.el (GOLD-map):
339 * emacs-lock.el (emacs-lock-from-exiting):
340 * emacs-lisp/generic.el (generic-font-lock-defaults):
341 * emacs-lisp/chart.el (chart-map):
342 * dos-fns.el (register-name-alist):
343 * dired-x.el (dired-omit-files-p):
344 * desktop.el (desktop-enable):
345 * cus-edit.el (custom-mode-hook):
346 * buff-menu.el (buffer-menu-mode-hook):
347 * bookmark.el (bookmark-read-annotation-text-func)
348 (bookmark-exit-hooks):
349 * allout.el (allout-mode-deactivate-hook)
350 (allout-exposure-change-hook, allout-structure-added-hook)
351 (allout-structure-deleted-hook, allout-structure-shifted-hook):
352 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
353 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
354 comes before the corresponding variable's definition.
355
ac59c2f6
CY
3562012-05-12 Chong Yidong <cyd@gnu.org>
357
358 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
359 (Buffer-menu-mouse-select): Restore function (Bug#11459).
360 (Buffer-menu-mode-map): Bind it.
361 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 362
dee6c9a3
SM
3632012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
364
2171cea5
SM
365 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
366 (prolog-upper-case-string, prolog-lower-case-string)
367 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
368 (prolog-use-smie, prolog-smie-grammar): New vars.
369 (prolog-smie-forward-token, prolog-smie-backward-token)
370 (prolog-smie-rules): New funs.
371 (prolog-comment-indent): Remove.
372 (prolog-mode-variables): Use default comment indentation instead.
373 Setup SMIE.
374 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
375 (prolog-mode): Don't call them any more.
376 (prolog-electric-colon, prolog-electric-dash)
377 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
378
aa0382bd
SM
379 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
380
dbacb4bd
SM
381 * minibuffer.el (completion--twq-all): Again, allow case differences.
382
13bdd94c
SM
383 * term.el: Move keymap initialization code to be more idiomatic.
384 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
385 (term-terminal-menu): Move initialization into declaration.
386 (term-escape-char): Let the user set it in her .emacs.
387
ff46c759
SM
388 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
389 Provide SMIE-based indentation (not enabled by default yet).
390 (sh-mode-map): Don't bind electric keys.
391 Use electric-pair-mode instead of skeleton-pair.
392 (sh-assignment-regexp): Fit within 80 columns.
393 (sh-indent-supported): Specify actual shell name instead of boolean.
394 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
395 (sh-maybe-here-document): Use it. Make obsolete.
396 (sh-electric-here-document-mode) New minor mode.
397 (sh-mode): Use it. Don't set sh-indent-supported-here here.
398 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
399 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
400 (sh-smie-rc-grammar, sh-use-smie): New vars.
401 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
402 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
403 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
404 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
405 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
406 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
407 (sh-set-shell): Use smie-setup if requested.
408
dee6c9a3
SM
409 * term.el (term-set-escape-char): Properly set term-escape-char.
410 See http://stackoverflow.com/questions/10524656.
411
9f9aa044
CY
4122012-05-10 Chong Yidong <cyd@gnu.org>
413
414 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
415 Use url-generic-parse-url, and handle host names and Windows
416 filenames properly.
417 (ffap-url-unwrap-remote): Use url-generic-parse-url.
418 (ffap-url-unwrap-remote): Accept list values, specifying a list of
419 URL schemes to work on.
420 (ffap--toggle-read-only): New function.
421 (ffap-read-only, ffap-read-only-other-window)
422 (ffap-read-only-other-frame): Use it.
423 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
424 necessary for ffap-url-unwrap-remote.
425
836d29b3
DA
4262012-05-10 Dave Abrahams <dave@boostpro.com>
427
428 * cus-start.el (create-lockfiles): Add it.
429
00fd78ed
CY
4302012-05-09 Chong Yidong <cyd@gnu.org>
431
432 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
433 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
434
666b903b 4352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
436
437 * shell.el (shell-completion-vars): Fix last change (bug#11348).
438
666b903b 4392012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
440
441 * ansi-color.el (ansi-color-process-output): Check for validity of
442 comint-last-output-start before using it. This avoids a bad
443 interaction with gdb-mi's input/output buffer.
444
666b903b 4452012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
446
447 * files.el (dir-locals-read-from-file):
448 Mention dir-locals in any error message.
449
666b903b 4502012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
451
452 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
453 package (Bug#11410).
454
f677562b
CY
455 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
456 variables into description.
457
666b903b 4582012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
459
460 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
461 shell-delimiter-argument-list (bug#11348).
462 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
463
b499d8d0
JB
4642012-05-09 Juanma Barranquero <lekktu@gmail.com>
465
8f6b6da8
JB
466 * textmodes/rst.el: Silence byte-compiler warnings.
467 (rst-re-alist, rst-reset-section-caches): Move around.
468 (rst-re): Use `characterp', not `char-valid-p'.
469 (font-lock-beg, font-lock-end): Declare.
470
4824146a
JB
471 * progmodes/idlw-shell.el (specs): Remove reference to deleted
472 variable `idlwave-shell-activate-alt-keybindings' and simplify.
473
b499d8d0
JB
474 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
475
ad89bb83
GM
4762012-05-08 Glenn Morris <rgm@gnu.org>
477
478 * files.el (auto-mode-alist): Treat ".make" like ".mk".
479
8bba5a75
SM
4802012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
481
49ed9c8e
SM
482 * vc/log-edit.el: Add GNU coding standards highlighting.
483 (log-edit-font-lock-gnu-style)
484 (log-edit-font-lock-gnu-keywords): New vars.
485 (log-edit-font-lock-keywords): New fun.
486 (log-edit-mode): Don't fold case in font-lock.
487 (log-edit-font-lock-keywords): Do not assume case-folding.
488
07d00b56
SM
489 * imenu.el: Misc cleanup. Make docstrings out of comments.
490 Use lexical-binding.
491 (imenu--index-alist, imenu--last-menubar-index-alist)
492 (imenu-menubar-modified-tick): Use defvar-local.
493 (imenu--split-menu): Remove unused var.
494 (imenu--cleanup-seen): Declare as global.
495 (imenu--cleanup): Use dolist.
496
8bba5a75
SM
497 * subr.el (defvar-local): Add debug spec and doc-string position.
498
5075bdb5
GM
4992012-05-08 Glenn Morris <rgm@gnu.org>
500
c052c904
GM
501 * lisp/language/burmese.el, language/cham.el, language/czech.el:
502 * language/english.el, language/georgian.el, language/greek.el:
503 * language/japanese.el, language/khmer.el, language/korean.el:
504 * language/lao.el, language/misc-lang.el, language/romanian.el:
505 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
506 * language/thai.el, language/utf-8-lang.el:
507 Remove no-byte-compile setting.
508
5075bdb5
GM
509 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
510
06f679a7
AH
5112012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
512
513 * progmodes/make-mode.el (makefile-browse):
514 Remove unnecessary interactive. (Bug#11324)
515
03794570
GM
5162012-05-07 Glenn Morris <rgm@gnu.org>
517
af8630f4
GM
518 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
519
03794570
GM
520 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
521
f0809a9d
SM
5222012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
523
28be5ce7
SM
524 * loadup.el: Preload newcomment.el.
525 * newcomment.el: Move autoload-only code to toplevel.
526
f0809a9d
SM
527 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
528 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
529 Handle new :right-align column property.
530 (tabulated-list-print-col): Idem, plus use `display' text-property to
531 try and preserve alignment for variable pitch fonts.
532
1241b724
CY
5332012-05-07 Chong Yidong <cyd@gnu.org>
534
535 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
536 (tabulated-list-use-header-line): New var.
537 (tabulated-list-init-header): Use it.
538 (tabulated-list-print-fake-header): New function.
539 (tabulated-list-print): Use it.
540 (tabulated-list-sort-button-map): Add non-header-line commands.
541 (tabulated-list-init-header): Add column name property to basic
542 labels as well.
543 (tabulated-list-col-sort): Handle non-header-line button case.
544 (tabulated-list--sort-by-column-name): Fix a corner case.
545
f0809a9d
SM
546 * buff-menu.el (list-buffers--refresh):
547 Handle Buffer-menu-use-header-line.
1241b724 548
e5f9458f
CY
5492012-05-06 Chong Yidong <cyd@gnu.org>
550
551 * buff-menu.el: Convert to Tabulated List mode.
552 (Buffer-menu-buffer+size-width): Make obsolete.
553 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
554 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
555 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
556 documentation into docstring of buffer-menu.
557 (Buffer-menu-toggle-files-only): Add an informative message.
558 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
559 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
560 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
561 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
562 (Buffer-menu-execute, Buffer-menu-select)
563 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
564 (Buffer-menu-bury): Use Tabulated List machinery.
565 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
566 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 567 Delete.
e5f9458f
CY
568 (list-buffers--refresh): New function.
569 (list-buffers-noselect): Use it.
570 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
571 (Buffer-menu--pretty-file-name): New helper functions.
572
573 * loadup.el: Preload tabulated-list.
574
575 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
576 tabulated-list-sort-column.
577 (tabulated-list-init-header): Add the initial aligning space even
578 if tabulated-list-padding is zero.
579
e129292c
CS
5802012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
581
582 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
583 whose cdr is not a cons cell correctly (bug#11038).
584
6632d361
CY
5852012-05-06 Chong Yidong <cyd@gnu.org>
586
e129292c
CS
587 * emacs-lisp/tabulated-list.el (tabulated-list-format):
588 Accept additional plist in column descriptors.
6632d361
CY
589 (tabulated-list-init-header): Obey it.
590 (tabulated-list-get-entry): New function.
591 (tabulated-list-put-tag): Use it. Use string-width instead of
592 length.
593 (tabulated-list--column-number): New function.
594 (tabulated-list-print): Use it.
e129292c
CS
595 (tabulated-list-print-col): New function.
596 Set `tabulated-list-column-name' property on each column's text.
6632d361 597 (tabulated-list-print-entry): Use it.
e129292c
CS
598 (tabulated-list-delete-entry, tabulated-list-set-col):
599 New functions.
6632d361
CY
600 (tabulated-list-sort-column): New command (Bug#11337).
601
3cc99f68
CY
602 * buff-menu.el (list-buffers): Move C-x C-b binding from
603 buff-menu.el to bindings.el.
604
605 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
606 :advertised-binding feature.
607
52b61776
TN
6082012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
609
610 * progmodes/compile.el (compilation-internal-error-properties):
611 Calculate start position correctly when end-col is set but
612 end-line is not (Bug#11382).
613
ebfe2597
WJ
6142012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
615
616 * man.el (Man-unindent): Use text-property-default-nonsticky to
617 prevent untabify from inheriting face properties (Bug#11408).
618
a43f98b3
GM
6192012-05-05 Glenn Morris <rgm@gnu.org>
620
48176e8b
GM
621 * calendar/cal-html.el: Optionally include holidays in the output.
622 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
623 (cal-html-holidays): New option.
624 (cal-html-css-default): Add holiday entry.
625 (holiday-in-range): Autoload it.
626 (cal-html-htmlify-entry): Add optional class argument.
627 (cal-html-htmlify-list): Add optional holidays argument.
628 (cal-html-insert-agenda-days): Include holidays in the output.
629 (cal-html-one-month): Maybe include holidays.
630
a43f98b3
GM
631 * calendar/holidays.el (holiday-in-range):
632 Move here from cal-tex-list-holidays.
633 * calendar/cal-tex.el (cal-tex-list-holidays):
634 Make it an obsolete alias for holiday-in-range. Update all callers.
635
fef9d149 6362012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
637
638 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
639 Nextstep.
640
248da2f4
RW
6412012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
642
643 * files.el (file-auto-mode-skip): New var.
644 (set-auto-mode-1): Use it.
645
f95e9344
SM
6462012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
647
df96ab1e
SM
648 * repeat.el: Use lexical-binding.
649 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
650 (repeat-undo-count): Remove.
651 (repeat):
652 * progmodes/octave-mod.el (octave-abbrev-start):
653 * progmodes/f90.el (f90-abbrev-start):
654 * face-remap.el (text-scale-adjust):
655 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
656
5342bb06
SM
657 * emacs-lisp/pcase.el (pcase--let*): New function.
658 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
659 a bit more.
660 (pcase--split-pred): Be more clever about ruling out overlap between
661 a predicate and some constant pattern.
662 (pcase--q1): Use `null' instead of (eq foo nil).
663
f95e9344
SM
664 * subr.el (setq-local, defvar-local): New macros.
665 (kbd): Redefine as an alias.
666 (with-selected-window): Leave unrelated frames alone.
667 (set-temporary-overlay-map): New function.
668
71873e2b
SM
6692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * subr.el (user-error): New function.
672 * window.el (switch-to-buffer):
673 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
674 (smerge-match-conflict):
675 * simple.el (previous-matching-history-element)
676 (next-matching-history-element, goto-history-element, undo-more)
677 (undo-start):
678 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
679 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
680 (next-file, tags-loop-scan, list-tags, complete-tag):
681 * progmodes/compile.el (compilation-loop):
682 * mouse.el (mouse-minibuffer-check):
683 * man.el (Man-bgproc-sentinel, Man-goto-page):
684 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
685 (Info-history-forward, Info-follow-reference, Info-menu)
686 (Info-extract-menu-item, Info-extract-menu-counting)
687 (Info-forward-node, Info-backward-node, Info-next-menu-item)
688 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
689 (Info-next-reference, Info-prev-reference, Info-index)
690 (Info-index-next, Info-follow-nearest-node)
691 (Info-copy-current-node-name):
692 * imenu.el (imenu--make-index-alist)
693 (imenu-default-create-index-function, imenu-add-to-menubar):
694 * files.el (basic-save-buffer, recover-file):
695 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
696 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
697 (checkdoc-message-text, checkdoc-defun):
698 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
699 * cus-edit.el (customize-changed-options, customize-rogue)
700 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
701 (custom-variable-mark-to-reset-standard)
702 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
703 (custom-file):
704 * completion.el (check-completion-length):
705 * comint.el (comint-search-arg)
706 (comint-previous-matching-input-string-position)
707 (comint-previous-matching-input)
708 (comint-replace-by-expanded-history-before-point, comint-send-input)
709 (comint-copy-old-input, comint-backward-matching-input)
710 (comint-goto-process-mark, comint-set-process-mark):
711 * calendar/calendar.el (calendar-cursor-to-date): Use it.
712 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
713
8a61ee22
SM
7142012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
715
66408d1e
SM
716 * dabbrev.el (dabbrev--ignore-case-p): New function.
717 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
718 Use it.
719
8a61ee22
SM
720 * files.el (automount-dir-prefix): Mark as obsolete.
721
3c74813a
GM
7222012-05-04 Glenn Morris <rgm@gnu.org>
723
724 * patcomp.el, play/bruce.el: Move to obsolete/.
725
0bfcf5c5
PE
7262012-05-04 Paul Eggert <eggert@cs.ucla.edu>
727
728 Fix minor Y10k bugs.
729 * arc-mode.el (archive-unixdate):
730 * autoinsert.el (auto-insert-alist):
731 * calc/calc-forms.el (math-this-year):
732 * emacs-lisp/copyright.el (copyright-current-year)
733 (copyright-update-year, copyright):
734 * tar-mode.el (tar-clip-time-string):
735 * time.el (display-time-update):
736 Don't assume years have 4 digits.
737
78f3273a
CY
7382012-05-04 Chong Yidong <cyd@gnu.org>
739
740 * dos-w32.el (file-name-buffer-file-type-alist)
741 (direct-print-region-use-command-dot-com):
742 * ffap.el (ffap-menu-regexp):
743 * find-file.el (ff-special-constructs):
744 * follow.el (follow-debug):
745 * forms.el (forms--debug):
746 * iswitchb.el (iswitchb-all-frames):
747 * ido.el (ido-all-frames):
748 * emacs-lisp/timer.el (timer-max-repeats):
749 * mail/feedmail.el (feedmail-mail-send-hook)
750 (feedmail-mail-send-hook-queued):
751 * mail/footnote.el (footnote-signature-separator):
752 * mail/mailabbrev.el (mail-alias-separator-string)
753 (mail-abbrev-mode-regexp):
754 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
755 * progmodes/idlwave.el (idlwave-libinfo-file)
756 (idlwave-default-completion-case-is-down)
757 (idlwave-library-routines): Convert defvars to defcustoms.
758
759 * mail/rmail.el (rmail-decode-mime-charset):
760 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
761 (idlwave-shell-fix-inserted-breaks)
762 (idlwave-shell-activate-alt-keybindings)
763 (idlwave-shell-use-breakpoint-glyph):
764 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
765
f7ae6719
SM
7662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
769
47086495
WS
7702012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
771
772 * progmodes/verilog-mode.el (font-lock-keywords):
773 Fix mis-highligting auto. Reported by Craig Barner.
774 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
775 defines from global name space. Reported by Dan Dever.
776 (verilog-auto-reset, verilog-auto-reset-widths)
777 (verilog-auto-tieoff): Support using unbased numbers for
778 AUTORESET and AUTOTIEOFF.
779 (verilog-submit-bug-report): Update variable list.
780 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
781 parenthesis from not matching. Reported by Michael Rytting.
782 (verilog-auto-template-lint): Fix hash error when linting modules
783 with no used templates.
784 (verilog-warn, verilog-warn-error)
785 (verilog-warn-fatal): When non-interactive report multiple
786 warnings before exiting. Suggested by Brad Dobbie.
787 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
788 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
789 to report unused template errors. Reported by Brad Dobbie.
790 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
791 nets, bug438. Reported by Vns Blore.
792 (verilog-auto-inout-module, verilog-auto-reg)
793 (verilog-read-decls, verilog-read-sub-decls-sig)
794 (verilog-signals-edit-wire-reg, verilog-signals-with):
795 Fix passing of Verilog data types in ANSI input/output ports
796 such as "output logic" into the AUTOs. Special case "wire" and
797 "reg" for backwards compatibility presuming Verilog 2001.
798 (verilog-auto-ascii-enum): Add "auto enum" as alias.
799 (verilog-preprocess): Fix replication of preprocess output.
800 Reported by Brad Dobbie.
801 (verilog-auto-inst-interfaced-ports):
802 Create verilog-auto-inst-interfaced-ports, bug429.
803 Reported by Julian Gorfajn.
804 (verilog-after-save-font-hook)
805 (verilog-before-save-font-hook): New variable.
806 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
807 (verilog-save-font-mods): Wrap disabling fontification, reported
808 by David Rogoff.
809 (verilog-do-indent, verilog-pretty-declarations-auto)
810 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
811 Reported by Pierre-David Pfister.
812 (verilog-set-auto-endcomments): Fix endtask auto comments outside
813 of class declarations, bug292. Reported by Kevin Heilman.
814 (verilog-read-decls): Fix 'parameter type' not appearing in
815 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
816 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
817 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
818 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
819 Reported by David Kravitz.
820
8212012-05-03 Michael McNamara <mac@mail.brushroad.com>
822
823 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
824 assignment with tests in ifs and for loops.
825 (verilog-extended-complete-re, verilog-complete-reg): Change so
826 that DPI inport functions don't look like fuction declarations.
827 (verilog-pretty-expr): Don't line up assignment
828 operations to the test and increment in if and for loops
829 (verilog-extended-complete-re, verilog-complete-reg): Change so
830 that DPI inport functions don't look like fuction declarations
831
2e51d4b5
KH
8322012-05-03 Kenichi Handa <handa@m17n.org>
833
834 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
835 decoding, and show a warning message without signalling an error
836 (Bug#11282).
837
2bd785a2
SM
8382012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * emacs-lisp/bytecomp.el
841 (byte-compile-file-form-custom-declare-variable): Compile all elements,
842 since cconv.el might have introduced :fun-body, internal-make-closure,
843 and friends for bytecomp to handle (bug#11391).
844 * custom.el (defcustom): Avoid ((λ ..) ..).
845
99d27583
SM
8462012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
849
55a71479
JB
8502012-05-02 Juanma Barranquero <lekktu@gmail.com>
851
852 * notifications.el (dbus-debug):
853 * term/linux.el (gpm-mouse-enable):
854 * term/screen.el (xterm-register-default-colors): Declare.
855
7b97c764
CY
8562012-05-02 Chong Yidong <cyd@gnu.org>
857
2bc356d7
CY
858 * cus-start.el (gc-cons-percentage, exec-suffixes)
859 (dos-display-scancodes, dos-hyper-key, dos-super-key)
860 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
861 (make-cursor-line-fully-visible, void-text-area-pointer)
862 (font-list-limit): Add customization data.
863
7b97c764
CY
864 * allout.el (allout-exposure-change-functions)
865 (allout-structure-added-functions)
866 (allout-structure-deleted-functions)
867 (allout-structure-shifted-functions): Rename abnormal hooks from
868 *-hook, and convert to defcustoms.
5d3385a0
JB
869 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
870 Convert to defcustoms.
7b97c764
CY
871 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
872
873 * allout-widgets.el: Hook callers changed.
874
90207a15 8752012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
876
877 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
878 the yanked message in preference to the default value of
879 buffer-file-coding-system.
880
90207a15 8812012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 882
5d3385a0
JB
883 * window.el (display-buffer--action-function-custom-type):
884 Fix entry.
d9558cad 885
90207a15 8862012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
887
888 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
889
d80ac57b
GM
8902012-05-01 Glenn Morris <rgm@gnu.org>
891
976f7668
GM
892 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
893
beb83b5a
GM
894 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
895
d80ac57b
GM
896 * cus-edit.el (custom-variable-documentation): Simplify with format.
897
b593d6a9
AH
8982012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
899 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * simple.el (suggest-key-bindings, execute-extended-command):
902 Move from keyboard.c.
903
782fbf2a
CY
9042012-05-01 Chong Yidong <cyd@gnu.org>
905
906 * follow.el: Eliminate advice.
907 (set-process-filter, process-filter, sit-for): Advice deleted.
908 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
909 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
910 Vars deleted.
782fbf2a
CY
911 (follow-auto): Use a :set function.
912 (follow-mode): Rewritten. Don't advise process filters.
913 (follow-switch-to-current-buffer-all, follow-scroll-up)
914 (follow-scroll-down): Assume follow-mode is bound.
915 (follow-comint-scroll-to-bottom)
916 (follow-align-compilation-windows): New functions.
917 (follow--window-sorter): New function.
918 (follow-all-followers): Use it to explicitly sort windows by their
919 positions; don't make assumptions about next-window order.
920 (follow-windows-start-end, follow-delete-other-windows-and-split)
921 (follow-calc-win-start): Doc fix.
922 (follow-windows-aligned-p, follow-select-if-visible): Don't call
923 vertical-motion unnecessarily.
924 (follow-adjust-window): New function.
925 (follow-post-command-hook): Use it.
926 (follow-call-set-process-filter, follow-call-process-filter)
927 (follow-intercept-process-output, follow-tidy-process-filter-alist)
928 (follow-stop-intercept-process-output, follow-generic-filter):
929 Functions deleted.
930 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
931 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
932 New functions, replacing advice on scroll-bar-* commands.
87233a14 933 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
934
935 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
936 (comint-postoutput-scroll-to-bottom): Use it.
937 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 938
290af740
GM
9392012-05-01 Glenn Morris <rgm@gnu.org>
940
941 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
942 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
943 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
944 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
945 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
946 Remove no-byte-compile setting.
947
6eac8dc9
SM
9482012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * minibuffer.el (completion-table-with-quoting): Fix compatibility
951 all-completions code to not return a number in the last cdr.
952
9cc7819c
LL
9532012-04-30 Leo Liu <sdl.web@gmail.com>
954
955 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
956 read-only error.
957
c93b886f
CY
9582012-04-29 Chong Yidong <cyd@gnu.org>
959
960 * follow.el (follow-calc-win-end): Rewrite to handle partial
961 screen lines correctly (Bug#8390).
962 (follow-avoid-tail-recenter): Minor cleanup.
963
8b6c19f4
SM
9642012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 Avoid the obsolete `assoc' package.
967 * speedbar.el (speedbar-refresh): Avoid adelete.
968 (speedbar-file-lists): Simplify and avoid aput.
969 * man.el (Man--sections, Man--refpages): New vars, replacing
970 Man-sections-alist and Man-refpages-alist.
971 (Man-build-section-alist, Man-build-references-alist):
972 Use them; avoid aput.
973 (Man--last-section, Man--last-refpage): New vars.
974 (Man-follow-manual-reference): Use them.
975 Use the `default' arg of completing-read.
976 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
977
c5bb7569
CY
9782012-04-27 Chong Yidong <cyd@gnu.org>
979
d1d2e2e8
CY
980 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
981
15cd8efd
CY
982 * startup.el (x-apply-session-resources): New function.
983
984 * term/ns-win.el (ns-initialize-window-system):
985 * term/w32-win.el (w32-initialize-window-system):
986 * term/x-win.el (x-initialize-window-system): Use it to properly
987 set menu-bar-mode and other vars from X resources, even if the
988 initial frame is not a window-system frame (Bug#2299).
989
c5bb7569
CY
990 * subr.el (read-key): Avoid running filter function when setting
991 up temporary tool bar entries (Bug#9922).
992
a8e7d6d7 9932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
994
995 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
996 (Bug#11344)
997
a8e7d6d7 9982012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
999
1000 * select.el (xselect--encode-string): New function, split from
1001 xselect-convert-to-string.
1002 (xselect-convert-to-string): Use it.
1003 (xselect-convert-to-filename, xselect-convert-to-os)
1004 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1005 returned strings are properly encoded (Bug#11315).
1006
a8e7d6d7 10072012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1008
1009 * simple.el (delete-active-region): Move to killing custom group.
1010
a8e7d6d7 10112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1012
1013 * progmodes/which-func.el (which-func-current): Quote %
1014 characters for mode-line processing.
1015
578c1d4b 10162012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1017
1018 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1019 reaching eob (Bug#11286).
1020
a8e7d6d7 10212012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1022
1023 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1024 (gdb): Make it buffer-local and init to zero.
1025 (gdb-control-commands-regexp): New variable.
1026 (gdb-send): Don't wrap in "-interpreter-exec console" if
1027 gdb-control-level is positive. Increment gdb-control-level
1028 whenever the command matches gdb-control-commands-regexp, and
1029 decrement it each time the command is "end". (Bug#11279)
1030
a8e7d6d7 10312012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1032
1033 * window.el (adjust-window-trailing-edge, enlarge-window)
1034 (shrink-window, window-resize):
1035 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1036 windows (Bug#11276).
1037
b3608390
CY
10382012-04-27 Chong Yidong <cyd@gnu.org>
1039
1040 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1041 fix "missing prefix" warning. All callers changed.
b3608390 1042
797e6e88
SM
10432012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * emacs-lisp/assoc.el: Move to obsolete/.
1046
e95a67dc
SM
10472012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1048
657c21e4 1049 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1050
1051 * term/ns-win.el (ns-define-service):
1052 * progmodes/pascal.el (pascal-goto-defun):
1053 * progmodes/js.el (js--read-tab):
1054 * progmodes/etags.el (tags-lazy-completion-table):
1055 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1056 * emacs-lisp/ewoc.el (ewoc--wrap):
1057 * emacs-lisp/assoc.el (aput, adelete, amake):
1058 * doc-view.el (doc-view-convert-current-doc):
1059 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1060
cb3e7ae0
CY
10612012-04-26 Chong Yidong <cyd@gnu.org>
1062
dce04f7f
CY
1063 * image.el (image-type-from-buffer): Only return supported image
1064 type (Bug#9045).
1065
cb3e7ae0
CY
1066 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1067 value, for symmetry with diff-end-of-hunk.
1068 (diff-split-hunk, diff-find-source-location)
1069 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1070 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1071 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1072 compute the relevant hunk or file properly (Bug#6005).
1073 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1074
0d42eb3e
SM
10752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * vc/vc-mtn.el:
1078 * vc/vc-hg.el:
1079 * vc/vc-git.el:
1080 * vc/vc-dir.el:
1081 * vc/vc-cvs.el:
1082 * vc/vc-bzr.el:
1083 * vc/vc-arch.el:
1084 * vc/vc.el: Replace lexical-let by lexical-binding.
1085 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1086 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1087 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1088
f08ae1c9
CY
10892012-04-26 Chong Yidong <cyd@gnu.org>
1090
8b71081d
CY
1091 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1092 (diff-mode-shared-map): Bind it to / and [remap undo].
1093
f08ae1c9
CY
1094 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1095 (ediff-window-setup-function): Use it as the default, to set up
1096 windows based on whether the current frame is graphical (Bug#2138).
1097 (ediff-choose-window-setup-function-automatically): Make obsolete.
1098
1099 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1100
ef24141c
SM
11012012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1102
cc356a5d
SM
1103 * ffap.el: Remove old code for obsolete package.
1104 (ffap-complete-as-file-p): Remove.
1105
b4ff4f1f
SM
1106 Use completion-table-with-quoting for comint and pcomplete.
1107 * comint.el (comint--unquote&requote-argument)
1108 (comint--unquote-argument, comint--requote-argument): New functions.
1109 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1110 (comint-quote-filename): Use regexp-opt-charset.
1111 (comint--common-suffix, comint--common-quoted-suffix)
1112 (comint--table-subvert): Remove.
1113 (comint-unquote-function, comint-requote-function): New vars.
1114 (comint--complete-file-name-data): Use them with
1115 completion-table-with-quoting.
1116 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1117 * pcomplete.el (pcomplete-arg-quote-list)
1118 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1119 (pcomplete-unquote-argument-function): Default to non-nil.
1120 (pcomplete-unquote-argument): Simplify.
1121 (pcomplete--common-quoted-suffix): Remove.
1122 (pcomplete-requote-argument-function): New var.
1123 (pcomplete--common-suffix): New function.
1124 (pcomplete-completions-at-point): Use completion-table-with-quoting
1125 and completion-table-subvert.
1126
79c4eeb4
SM
1127 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1128 (minibuffer--double-dollars): Preserve properties.
1129 (completion--sifn-requote): New function.
1130 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1131
ef24141c
SM
1132 * minibuffer.el: Add support for completion of quoted/escaped data.
1133 (completion-table-with-quoting, completion-table-subvert): New funs.
1134 (completion--twq-try, completion--twq-all): New functions.
1135 (completion--nth-completion): New function.
1136 (completion-try-completion, completion-all-completions): Use it.
1137
784e7d6e
LL
11382012-04-25 Leo Liu <sdl.web@gmail.com>
1139
dd2ac746
SM
1140 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1141 Use compilation-message if available to find real filename.
784e7d6e 1142
07875ee7
CY
11432012-04-25 Chong Yidong <cyd@gnu.org>
1144
1145 * vc/diff-mode.el (diff-setup-whitespace): New function.
1146 (diff-mode): Use it.
1147
1148 * vc/diff.el (diff-sentinel):
1149 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1150 Whitespace mode variables based on diff style (Bug#8612).
1151
5055880d
LL
11522012-04-25 Leo Liu <sdl.web@gmail.com>
1153
daf75653
LL
1154 * progmodes/python.el (python-send-region): Add suffix .py to the
1155 temp file.
1156
5055880d
LL
1157 * files.el (auto-mode-alist): Use javascript-mode instead.
1158
db9b177b
AH
11592012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1160
ef24141c 1161 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1162
1163 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1164 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1165 references, see Bug#9.
ef24141c 1166 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1167 when receiving a fault reply.
ef24141c 1168 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1169
1170 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1171 (soap-inspect-simple-type): New function.
db9b177b 1172
ef24141c 1173 * soap-client.el (soap-simple-type): New struct.
db9b177b 1174 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1175 (soap-decode-basic-type, soap-encode-basic-type):
1176 support unsignedInt and double basic types.
db9b177b 1177 (soap-resolve-references-for-simple-type)
ef24141c
SM
1178 (soap-parse-simple-type, soap-encode-simple-type): New function.
1179 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1180
1181 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1182 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1183 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1184 the local name of "soapenc:Array".
1185 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1186 decoding integer, byte and anyURI xsd types.
1187
1fc6097b
CY
11882012-04-25 Chong Yidong <cyd@gnu.org>
1189
1190 * cus-edit.el (custom-buffer-create-internal): Update header text.
1191
afc6df87
EZ
11922012-04-25 Eli Zaretskii <eliz@gnu.org>
1193
1194 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1195 settings on 'system-type', not on 'window-system'. On MS-Windows,
1196 set interactive-mode on in GDB.
1197
dfbd787f
SM
11982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1201 (ruby-syntax-propertize-regexp): Remove.
1202 (ruby-syntax-propertize-function): Split regexp into chunks.
1203 Match following code directly.
1204
85222d44
DG
12052012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1206
51a8ea2a
DG
1207 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1208 (ruby-syntax-propertize-regexp): New function.
1209 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1210 by a special keyword.
1211
85222d44
DG
1212 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1213 (ruby-syntax-general-delimiters-goto-beg)
1214 (ruby-syntax-propertize-general-delimiters): New functions.
1215 (ruby-syntax-propertize-function): Use them to handle GDL.
1216 (ruby-font-lock-keywords): Move old handling of GDL...
1217 (ruby-font-lock-syntactic-keywords): .. to here.
1218 (ruby-calculate-indent): Adjust indentation for GDL.
1219
b613912b
MA
12202012-04-24 Michael Albinus <michael.albinus@gmx.de>
1221
b5380639
MA
1222 * notifications.el (top): Remove unneeded declarations.
1223 (notifications-specification-version): Change to "1.2".
e43042fe 1224 (notifications-interface, notifications-notify-method)
b613912b
MA
1225 (notifications-close-notification-method): Fix docstring.
1226 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1227 (notifications-notify): Add :action-items, :resident and
1228 :transient hints. Change "image_data" to "image-data" and
1229 "image_path" to "image-path".
b613912b
MA
1230 (notifications-get-capabilities): New defun.
1231
257440aa
LL
12322012-04-24 Leo Liu <sdl.web@gmail.com>
1233
1234 * progmodes/python.el: Move hideshow setup to the end.
1235
b1bac16e
MR
12362012-04-24 Martin Rudalics <rudalics@gmx.at>
1237
1238 * window.el (handle-select-window): Clear echo area since this is
1239 no more done by read_char (Bug#11304).
1240
d81bd059
SM
12412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1244 and `/ M' to filter-derived-mode.
1245 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1246 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1247 (ibuffer-mark-by-mode): Use default rather than initial-input.
1248 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1249
c4cf6d91
IA
12502012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1251
1252 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1253 (ibuffer-filter-by-derived-mode): New filter.
1254 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1255
7511ded8
CY
12562012-04-23 Andreas Politz <politza@fh-trier.de>
1257
1258 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1259
775c916b
CY
12602012-04-23 Chong Yidong <cyd@gnu.org>
1261
1262 * cus-edit.el (customize-apropos, customize-apropos-options):
1263 Disable matching of non-option variables (Bug#11176).
1264 (customize-option, customize-option-other-window)
1265 (customize-changed-options): Doc fix.
1266 (customize-apropos-options, customize-apropos-faces)
1267 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1268
1269 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1270 Fix word list splitting (Bug#11132).
46c71e23
CY
1271 (apropos-symbol, apropos-keybinding, apropos-label)
1272 (apropos-property, apropos-function-button)
1273 (apropos-variable-button, apropos-misc-button): New faces.
1274 (apropos-symbol-face, apropos-keybinding-face)
1275 (apropos-label-face, apropos-property-face, apropos-match-face):
1276 Variables removed (Bug#8396).
1277 (apropos-library-button, apropos-format-plist, apropos-print)
1278 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1279
2df41f9c
MA
12802012-04-23 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/xesam.el (xesam-mode-map): Use let-bound map in
1283 initialization. (Bug#11292)
1284
da00640a
AM
12852012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1286
1287 Preserve ispell session localwords when switching back to
1288 original buffer.
1289
1290 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1291 variable to hold buffer session localwords.
1292 (ispell-kill-ispell): add option 'clear to delete session
1293 localwords.
1294 (ispell-command-loop, ispell-change-dictionary)
1295 (ispell-buffer-local-words): Preserve session localwords when
1296 needed.
1297
1298 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1299 Preserve session localwords when needed.
1300
f621ccf5
AM
13012012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1302
1303 * ispell.el (ispell-insert-word) Remove unneeded function using
1304 obsolete `translation-table-for-input'.
ef24141c
SM
1305 (ispell-word, ispell-process-line, ispell-complete-word):
1306 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1307
c2d1019e
CY
13082012-04-22 Chong Yidong <cyd@gnu.org>
1309
1310 * cus-edit.el (custom-variable-menu)
1311 (custom-variable-reset-saved, custom-face-menu)
1312 (custom-face-reset-saved): If there is no saved value, make the
1313 "reset-saved" operation bring back the default (Bug#9509).
1314 (custom-face-state): Properly detect themed faces.
1315
eeddc531
CY
1316 * faces.el (face-spec-set): Stop supporting deprecated form of
1317 third arg.
1318
dcbf5805
MA
13192012-04-22 Michael Albinus <michael.albinus@gmx.de>
1320
1321 Move functions from C to Lisp. Make non-blocking method calls
1322 the default. Implement further D-Bus standard interfaces.
1323
ef24141c
SM
1324 * net/dbus.el (dbus-message-internal): Declare function.
1325 Remove unneeded function declarations.
dcbf5805
MA
1326 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1327 (dbus-message-type-method-return, dbus-message-type-error)
1328 (dbus-message-type-signal): Declare variables. Remove local
1329 definitions.
1330 (dbus-interface-dbus, dbus-interface-peer)
1331 (dbus-interface-introspectable, dbus-interface-properties)
1332 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1333 Adapt docstring.
1334 (dbus-interface-objectmanager): New defconst.
1335 (dbus-call-method, dbus-call-method-asynchronously)
1336 (dbus-send-signal, dbus-method-return-internal)
1337 (dbus-method-error-internal, dbus-register-service)
1338 (dbus-register-signal, dbus-register-method): New defuns, moved
1339 from dbusbind.c
1340 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1341 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1342 New defuns.
dcbf5805
MA
1343 (dbus-call-method-non-blocking): Make it an obsolete function.
1344 (dbus-unregister-object, dbus-unregister-service)
1345 (dbus-handle-event, dbus-register-property)
1346 (dbus-property-handler): Obey the new structure of
1347 `bus-registered-objects'.
1348 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1349 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1350 Use `dbus-call-method'.
1351
cf20dee0
CY
13522012-04-22 Chong Yidong <cyd@gnu.org>
1353
1354 * cus-edit.el (custom-commands, custom-reset-menu)
1355 (Custom-reset-standard): Tweak labels.
1356 (custom-reset-button-menu): Change default to t.
1357 (custom-buffer-create-internal): For the custom-reset-button-menu
1358 case, put the revert button first.
1359 (custom-group-subtitle): New face.
1360 (custom-group-value-create): Align docstring to a specific column.
1361
1362 * wid-edit.el (widget-documentation-link-add): Don't handle
1363 indentation in this function.
1364 (widget-documentation-string-indent-to): New function.
1365 (widget-documentation-string-value-create): Use it.
1366
1367 * autorevert.el (auto-revert):
1368 * epg-config.el (epg):
1369 * ibuffer.el (ibuffer):
1370 * mpc.el (mpc):
1371 * ses.el (ses):
1372 * eshell/eshell.el (eshell):
1373 * net/ange-ftp.el (ange-ftp):
1374 * progmodes/ebnf2ps.el (postscript):
1375 * progmodes/flymake.el (flymake):
1376 * progmodes/prolog.el (prolog):
1377 * progmodes/verilog-mode.el (verilog-mode):
1378 * progmodes/which-func.el (which-func):
1379 * term/xterm.el (xterm):
1380 * textmodes/picture.el (picture):
1381 * textmodes/tildify.el (tildify):
1382 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1383 customization buffers.
1384
583e23bd
AM
13852012-04-22 Alan Mackenzie <acm@muc.de>
1386
1387 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1388 Adding a ) can hide the resulting (..) from searches. Fix it.
1389 Bound the backward search to the position of the existing (.
1390
7dd51bf1
JB
13912012-04-21 Juanma Barranquero <lekktu@gmail.com>
1392
1393 * progmodes/verilog-mode.el (verilog-mode): Check whether
1394 which-func-modes is t before adding verilog-mode.
1395 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1396
d64a438f
LL
13972012-04-21 Leo Liu <sdl.web@gmail.com>
1398
7dd51bf1 1399 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1400
081e8d65
MV
14012012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1402
1403 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1404 filling of the last column of a table (Bug#5635).
1405 (woman-find-next-control-line): New arg, specifying an additional
1406 regexp component for the control line.
1407 (woman2-roff-buffer): Use it.
1408 (woman-break-table): New function.
1409 (woman2-TS): Use it.
1410
14112012-04-21 Chong Yidong <cyd@gnu.org>
1412
1413 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1414 (woman-horizontal-escapes, woman-negative-vertical-space)
1415 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1416 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1417
ed571ccb
SM
14182012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * minibuffer.el (completion-file-name-table): Complete user names.
1421
39773899
LL
14222012-04-20 Leo Liu <sdl.web@gmail.com>
1423
1424 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1425 and pcase-let*.
1426
de6ff46d
CY
14272012-04-20 Chong Yidong <cyd@gnu.org>
1428
1429 * server.el (server-execute): Respect initial-buffer-choice if it
1430 is a string and there are no files to open (Bug#2825).
1431 (server-create-window-system-frame, server-create-tty-frame):
1432 Don't switch buffers here.
2d0e8e61
CY
1433 (server-process-filter): Only try to open a window system frame if
1434 compiled with graphical support (Bug#8314).
de6ff46d 1435
54071013
DN
14362012-04-20 Dan Nicolaescu <dann@gnu.org>
1437
1438 * battery.el (battery-echo-area-format): Display remaining time
1439 for sysfs backend too (Bug#11269).
1440 (battery-linux-sysfs): Fix conditional for the charge.
1441
f30d612a
CY
14422012-04-20 Chong Yidong <cyd@gnu.org>
1443
c07a4c0b 1444 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1445 (gdb-inferior-io--init-proc): New function.
1446 (gdb-init-1): Use it.
1447 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1448 responsible for allocating a new pty and hooking it to gdb when
1449 the old pty gets an EIO due to process exit.
1450 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1451 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1452 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1453
2116e93c
EZ
14542012-04-20 Eli Zaretskii <eliz@gnu.org>
1455
1456 * window.el (window-min-size, window-sizable, window-min-delta)
1457 (window-max-delta, window--resizable, window-resizable)
1458 (window-total-size, window-full-height-p, window-full-width-p)
1459 (window-in-direction, window--resize-mini-window, window-resize)
1460 (window--resize-child-windows-normal)
1461 (window--resize-child-windows, window--resize-siblings)
1462 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1463 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1464
c07a4c0b 14652012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1466
ef24141c
SM
1467 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1468 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1469 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1470 pty process (Bug#11273).
1471 (gdb-update): New arg to suppress talking to the gdb process.
1472 (gdb-done-or-error): Use it.
1473 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1474 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1475 sentinel not being called.
1476
1477 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1478
d02766ab
CY
1479 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1480
c07a4c0b 14812012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1482
1483 * net/network-stream.el (open-network-stream): Doc fix.
1484
c07a4c0b 14852012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1486
1487 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1488
c07a4c0b 14892012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1490
1491 Ensure searching for keywords is case sensitive.
1492
1493 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1494 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1495 (c-defun-name, c-mark-function, c-cpp-define-name)
1496 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1497 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1498
ef24141c
SM
1499 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1500 Bind case-fold-search to nil.
f0f6bc35 1501
c07a4c0b 15022012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1503
1504 * mail/sendmail.el (mail-bury): Call return action with the right
1505 Rmail buffer (Bug#11242).
1506
9a864fa2
CY
1507 * server.el (server-process-filter): Handle corner case where both
1508 tty and nowait options are present (Bug#11102).
1509
539aa513
EZ
15102012-04-20 Eli Zaretskii <eliz@gnu.org>
1511
1512 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1513 (top level): Put into the executable the ident-style '$Id:' tag on
1514 windows-nt as well.
539aa513 1515
cfc7d5da
SM
15162012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * electric.el (electric-indent-post-self-insert-function): Check that
1519 electric-indent-mode is enabled in current buffer.
1520
5b01685c
JB
15212012-04-19 Juanma Barranquero <lekktu@gmail.com>
1522
1523 * imenu.el (imenu-progress-message): Restore; it is "used" in
1524 erc/erc-imenu.el and net/snmp-mode.el.
1525
4d6769e1
JB
15262012-04-19 Juanma Barranquero <lekktu@gmail.com>
1527
1528 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1529 (mouse-avoidance-nudge-mouse): Remove unused binding.
1530
1531 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1532
1533 * descr-text.el (describe-char):
1534 * progmodes/python.el (python-describe-symbol):
1535 Don't call `toggle-read-only', set `buffer-read-only'.
1536
1537 * imenu.el (imenu-default-goto-function): Mark unused args.
1538 (imenu-progress-message): Remove obsolete macro; all callers changed.
1539
1540 * subr.el (keymap-canonicalize): Remove unused binding.
1541 (read-passwd): Mark unused arg.
1542
1543 * tutorial.el (tutorial--display-changes): Remove unused binding.
1544 (tutorial--save-tutorial-to): Remove unused variable.
1545
1546 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1547 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1548 (package-generate-autoloads, package-menu--generate)
1549 (package-menu--find-upgrades): Remove unused bindings.
1550
1551 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1552 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1553 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1554 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1555 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1556 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1557 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1558 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1559 (cua-delete-char-rectangle): Mark unused args.
1560 (cua-align-rectangle): Remove unused binding.
1561
1562 * mail/rmail.el (compilation--message->loc)
1563 (epa--find-coding-system-for-mime-charset): Declare.
1564
1565 * net/dbus.el (dbus-register-service): Declare.
1566 (dbus-name-owner-changed-handler): Remove unused binding.
1567
1568 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1569 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1570 (nxml-scan-backward-within): Mark unused arg.
1571 (nxml-dynamic-markup-word): Remove unused binding.
1572
1573 * mouse.el (mouse-menu-major-mode-map):
1574 * emacs-lisp/authors.el (authors-scan-change-log)
1575 (authors-add-to-author-list):
1576 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1577 * emacs-lisp/smie.el (smie-auto-fill):
1578 * mail/sendmail.el (mail-bury):
1579 * mail/unrmail.el (unrmail):
1580 * net/tls.el (open-tls-stream):
1581 * textmodes/picture.el (picture-mouse-set-point):
1582 Remove unused bindings.
1583
8c8fc5df
MA
15842012-04-19 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/tramp.el (tramp-action-password): Let-bind
1587 `enable-recursive-minibuffers' to t.
1588
a77b0ac9
SS
15892012-04-18 Sam Steingold <sds@gnu.org>
1590
1591 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1592 instead of 'string to accommodate values like [f11].
1593 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1594 * progmodes/gdb-mi.el: Likewise.
1595
12a106a9
LL
15962012-04-18 Leo Liu <sdl.web@gmail.com>
1597
1598 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1599 current buffer.
1600 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1601 LOCAL is nil.
1602
bc6494ef
CY
16032012-04-18 Chong Yidong <cyd@gnu.org>
1604
1605 * simple.el (line-move): Use forward-line if in batch mode
1606 (Bug#11053).
1607
c09c46b2
CS
16082012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1609
1610 * files.el (after-find-file): Do not try to add a final newline if
1611 the buffer is read-only (Bug#11156).
1612
5f6530ea
RS
16132012-04-17 Richard Stallman <rms@gnu.org>
1614
1615 * mail/rmail.el (rmail-start-mail):
1616 Pass (rmail-mail-return...) for the return-action.
1617 Pass (rmail-yank-current-message...) for the yank-action.
1618 (rmail-yank-current-message): New function.
1619 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1620 (rmail-reply): Likewise.
1621 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1622
1623 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1624 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1625 buffer, not newbuf.
1626
197b6f3c
JB
16272012-04-17 Juanma Barranquero <lekktu@gmail.com>
1628
1629 * server.el (server-ensure-safe-dir): Simplify.
1630
2311d8e5 16312012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1632
2311d8e5
GM
1633 * emacs-lisp/smie.el: Provide smarter auto-filling.
1634 (smie-auto-fill): New function.
1635 (smie-setup): Use it.
98fb480e 1636
2311d8e5
GM
1637 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1638
16392012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1640
1641 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1642 (comment-indent): Use it.
1643
2311d8e5 16442012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1645
1646 * ses.el: The overall change is to add cell renaming, that is
1647 setting fancy names for cell symbols other than name matching
1648 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1649 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1650 (ses-create-cell-variable): New defun.
2311d8e5 1651 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1652 (ses-relocate-formula): Relocate formulas only for cells the
1653 symbols of which are not renamed, i.e. symbols whose names do not
1654 match regexp "\\`[A-Z]+[0-9]+\\'".
1655 (ses-relocate-all): Relocate values only for cells the symbols of
1656 which are not renamed.
1657 (ses-load): Create cells variables as the (ses-cell ...) are read,
1658 in order to check row col consistency with cell symbol name only
1659 for cells that are not renamed.
1660 (ses-replace-name-in-formula): New defun.
1661 (ses-rename-cell): New defun.
4bdf2ad2 1662
fc72b15c
PO
16632012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1664
1665 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1666 New option (bug#11118).
1667 (perl-calculate-indent): Respect it.
1668
12e10e61
GM
16692012-04-17 Glenn Morris <rgm@gnu.org>
1670
1671 * dired-aux.el (dired-mark-read-string): Doc fix.
1672
30009afd
DA
16732012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1674
1675 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1676 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1677
41f03f4d
GM
16782012-04-17 Glenn Morris <rgm@gnu.org>
1679
1680 * mouse.el (mouse-drag-track):
1681 * speedbar.el (speedbar-frame-mode):
1682 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1683
f45f90f3
LL
16842012-04-16 Leo Liu <sdl.web@gmail.com>
1685
1686 * progmodes/python.el: Trivial cleanup.
1687
94ee8db5
GM
16882012-04-16 Glenn Morris <rgm@gnu.org>
1689
121b8917
GM
1690 * vc/vc.el (vc-string-prefix-p):
1691 * vc/pcvs-util.el (cvs-string-prefix-p):
1692 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1693 * mpc.el (mpc-string-prefix-p):
1694 Make all of these into obsolete aliases for string-prefix-p.
1695 Update callers.
1696 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1697
1197ecfa
GM
1698 * textmodes/two-column.el: Move custom options to the start.
1699 (frame-width): Remove compat definition.
1700 (2C-associate-buffer, 2C-dissociate):
1701 Use with-current-buffer rather than save-excursion.
1702 (2C-dissociate): Force a mode-line update.
1703 (2C-autoscroll): Use ignore-errors.
1704
099e7202
GM
1705 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1706 Autoload trivia.
1707
bf350d6a
GM
1708 * emacs-lisp/cl-extra.el (*random-state*):
1709 Remove unnecessary declaration.
1710
0e829eab
GM
1711 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1712
e3ad7552
GM
1713 * play/cookie1.el (cookie-snarf):
1714 Give an explicit error if input file cannot be read.
1715
68892d27
GM
1716 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1717
20f0c46d
GM
1718 * progmodes/perl-mode.el (c-macro-expand):
1719 Remove unnecessary autoload (it is in loaddefs.el).
1720
5a0978ce
GM
1721 * textmodes/picture.el (picture-desired-column)
1722 (picture-update-desired-column): Convert comments to doc-strings.
1723 (picture-substitute): Remove function.
1724 (picture-mode-map): Initialize in the defvar.
1725
6b955486
GM
1726 * woman.el: Remove eval-after-load for tar-mode.
1727 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1728 (woman-tar-extract-file): Autoload it.
1729
94ee8db5
GM
1730 * frame.el (automatic-hscrolling): Make this alias obsolete.
1731
177eca34
AM
17322012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1733
1734 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1735 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1736 (ispell-dictionary-base-alist): Revert to original XEmacs
1737 friendly version for default. [:alpha:] will be added in
1738 `ispell-set-spellchecker-params' if needed
177eca34 1739
c505aaeb
CY
17402012-04-16 Chong Yidong <cyd@gnu.org>
1741
1742 * image.el (imagemagick--extension-regexp): New variable.
1743 (imagemagick-register-types): Use it.
1744 (imagemagick-types-inhibit): Add :set function. Allow new value
1745 of t to inhibit all types.
1746
1747 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1748 so we can preload it.
1749
1750 * loadup.el (fboundp): Preload regexp-opt, needed by
1751 imagemagick-register-types.
1752
60efac0f
CY
17532012-04-15 Chong Yidong <cyd@gnu.org>
1754
1755 * frame.el (scrolling): Remove nearly unused customization group.
1756
1757 * scroll-all.el (scroll-all-mode): Move to windows group.
1758
5dd1713e
CY
17592012-04-15 Chong Yidong <cyd@gnu.org>
1760
1761 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1762
e6fd457e
CY
17632012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1766 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1767
e153c136
GM
17682012-04-15 Glenn Morris <rgm@gnu.org>
1769
1770 * simple.el (process-file-side-effects): Doc fix.
1771
e6fd457e 17722012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1773
1774 * international/mule-cmds.el (set-language-environment): Doc fix.
1775
3603c3b1
JB
17762012-04-14 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * server.el (server-auth-key, server-generate-key): Doc fixes.
1779 (server-get-auth-key): Doc fix. Use `string-match-p'.
1780 (server-start): Reflow docstring.
1781
e6de100c
LI
17822012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1783
1784 * server.el (server-generate-key): `called-interactively-p'
1785 requires a parameter.
1786
29734c21
MN
17872012-04-14 Michal Nazarewicz <mina86@mina86.com>
1788
1789 * server.el (server-auth-key): New variable.
75f1671a 1790 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1791 (server-start): Use the new variable and functions to allow
1792 setting a permanent server key (bug#9423).
1793
d65c9521
LL
17942012-04-14 Leo Liu <sdl.web@gmail.com>
1795
1796 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1797
5ae255c7
PE
17982012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1799
1800 Spelling fixes.
1801 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1802 Emacs uses American spelling.
1803
d5e6342e
JB
18042012-04-14 Juanma Barranquero <lekktu@gmail.com>
1805
1806 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1807 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1808 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1809 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1810
ab036cd7
SM
18112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * progmodes/which-func.el (which-func-modes): Change default.
1814
35dc09a1 18152012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1816
1817 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1818 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1819
35dc09a1 18202012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1821
1822 * custom.el (custom-theme-set-variables): Doc fix.
1823
35dc09a1 18242012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1825
1826 * international/mule.el (set-auto-coding-for-load): Doc fix.
1827
35dc09a1 18282012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1829
35dc09a1
GM
1830 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1831 imenu work again for Objective C Mode. Correct the *-index values,
1832 these having been disturbed by a previous change in 2011-08.
57f845ee 1833
0de3da9f
AM
1834 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1835 Correct two search limits.
1836
35dc09a1 18372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1838
1839 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1840
35dc09a1 18412012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1842
1843 * international/characters.el: Fix sorting.
1844
35dc09a1 18452012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1846
1847 * international/characters.el: Add more missing Latin case pairs.
1848
35dc09a1 18492012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1850
1851 * files.el (dir-locals-set-class-variables): Doc fix.
1852
35dc09a1 18532012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1854
3f1b5bf8
EZ
1855 * international/characters.el: Add set-case-syntax-pair call for
1856 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1857 counterpart. (Bug#11209)
1858
9f847f41
EZ
1859 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1860
35dc09a1 18612012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1862
1863 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1864
35dc09a1 18652012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1866
35dc09a1
GM
1867 * textmodes/ispell.el (ispell-dictionary-base-alist):
1868 Add data for Hebrew.
e2627d21 1869
35dc09a1 18702012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1871
35dc09a1
GM
1872 * net/rcirc.el (rcirc-cmd-quit):
1873 Revert 2012-03-18 change (Bug#11192).
5c14e333 1874
35dc09a1 18752012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1876
1877 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1878
35dc09a1 18792012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1880
4517fe3a
SM
1881 * minibuffer.el (completion-in-region-mode-map):
1882 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1883
b472a594
VD
18842012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1885
1886 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1887
09b95ce3
MY
18882012-04-13 Masatake YAMATO <yamato@redhat.com>
1889
1890 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1891 to allow `C-M-f' and `C-M-b' to move to the nearest path
1892 separator (bug#9511).
1893
4b63a9ca
LI
18942012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1895
1896 * avoid.el: Require cl when compiling. And also move the
1897 `provide' to the end.
1898
7b55b8bf
TV
18992012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1900
1901 * avoid.el (mouse-avoidance-banish-position): New variable.
1902 (mouse-avoidance-banish-destination): Use it (bug#10165).
1903
adedaa1f
LL
19042012-04-13 Leo Liu <sdl.web@gmail.com>
1905
1906 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1907
70e74021
KB
19082012-04-13 Ken Brown <kbrown@cornell.edu>
1909
1910 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1911 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1912 (browse-url-filename-alist): For the same reason, don't modify
1913 file:// URLs on Cygwin.
1914
e75e89ba
SM
19152012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1918 the region on shift if the binding is already shifted (bug#11221).
1919
82f289a4
GM
19202012-04-12 Glenn Morris <rgm@gnu.org>
1921
1922 * mail/mailpost.el: Move to obsolete/.
1923
d333dc4c
DA
19242012-04-12 Drew Adams <drew.adams@oracle.com>
1925
1926 * imenu.el (imenu--generic-function): Ignore invisible definitions
1927 (bug#10123).
1928
0d15b5ba
VD
19292012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1930
1931 * hexl.el (hexl-bits): New variable.
1932 (hexl-options): Mention the variable in the doc string.
75f1671a 1933 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1934 (hexl-mode): Mention the new variable.
75f1671a
JB
1935 (hexl-mode, hexl-current-address, hexl-current-address):
1936 Use the displen.
0d15b5ba
VD
1937 (hexl-ascii-start-column): New function.
1938 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1939 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1940
64a440db
AM
19412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1942
1943 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1944 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1945 the encoding, as expected by hunspell.
1946
6decb6c2
SM
19472012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * battery.el (battery--linux-sysfs-regexp): New const.
1950 (battery-status-function): Use it. Remove yeeloong special case.
1951 (battery-yeeloong-sysfs): Remove.
1952 (battery-echo-area-format): Remove yeeloong special case.
1953
088be6fb
SM
19542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1955
6622e416
SM
1956 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1957 Reported by Noah Friedman.
1958
088be6fb
SM
1959 * subr.el (read-passwd): Use read-string.
1960
b49f886e
LMI
19612012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1962
1963 * vcursor.el (vcursor-move): Increase the priority of the overlay
1964 (bug#9663).
1965
a63067fc
DD
19662012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1967
1968 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1969 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1970
ac3cf14a
WS
19712012-04-11 William Stevenson <yhvh2000@gmail.com>
1972
1973 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1974 define-minor-mode (bug#10760).
1975
c4fc691b 19762012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1977
4d6769e1 1978 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1979 that directories matching `grep-find-ignored-files' won't be
1980 pruned (bug#10351).
1981
af23e2e5
CY
19822012-04-11 Chong Yidong <cyd@gnu.org>
1983
1984 * startup.el (command-line): Remove support for long-obsolete
1985 variable font-lock-face-attributes.
1986
ab7ce8c1
GM
19872012-04-11 Glenn Morris <rgm@gnu.org>
1988
1989 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1990
de8c03dc
SM
19912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * window.el (window--state-get-1): Obey window-point-insertion-type.
1994
050cc68b
LB
19952012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1996
1997 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1998 to previous function when point is on the first character of a
75f1671a 1999 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2000
a38c310c
GM
20012012-04-11 Glenn Morris <rgm@gnu.org>
2002
effed0c2
GM
2003 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2004 not just file-errors.
2005
a38c310c
GM
2006 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2007 (vc-bzr-sha1): Use internal sha1.
2008
0221e323
SM
20092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2012
43956923
SG
20132012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2014
2015 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2016 that start in the middle of the line (bug#10496).
2017
6a8c9eaf
DN
20182012-04-10 Dan Nicolaescu <dann@gnu.org>
2019
2020 * battery.el (battery-linux-proc-acpi): Only one battery is
2021 discharged at a time, but that seems to confuse battery.el when
2022 computing `rate-type' for the battery not being discharged
2023 (bug#10332).
2024
1930bf5d
SM
20252012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2a718f6f
SM
2027 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2028
599430d0
SM
2029 * international/quail.el: Use dolist and simplify.
2030 (quail-define-package, quail-update-keyboard-layout)
2031 (quail-define-rules): Use dolist.
2032 (quail-insert-kbd-layout, quail-get-translation): CSE.
2033
a2754b6c
SM
2034 * tmm.el: Use dolist, remove left over hook.
2035 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2036 Use dolist.
2037 (calendar-load-hook): Don't mess with it.
2038
1930bf5d
SM
2039 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2040 Use derived-mode-p. Run the diff asynchronously.
2041
9f67961c
LMI
20422012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2043
2044 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2045
2a8ce227
JB
20462012-04-10 Juanma Barranquero <lekktu@gmail.com>
2047
2048 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2049 (list-dynamic-libraries--loaded): New function.
2050 (list-dynamic-libraries--refresh): Use it.
2051
8f33b5f8
NW
20522012-04-10 Nathan Weizenbaum <nweiz@google.com>
2053
1930bf5d
SM
2054 * progmodes/python.el (python-fill-paragraph):
2055 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2056 disabled (bug#7018).
2057
b12f0439
L
20582012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2059
1930bf5d 2060 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2061 DOS/MS Windows for the Baltic languages. There are still plenty
2062 of texts written in this encoding/codepage (bug#6519).
b12f0439 2063
57c3bd01
GM
20642012-04-10 Glenn Morris <rgm@gnu.org>
2065
2066 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2067 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2068
6c3eab30
FA
20692012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2070
1930bf5d 2071 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2072 next-line "n" and previous-line "p" in order to make recentf more
2073 consistent with ibuffer, dired or org-mode (bug#9387).
2074
24d78a88
LMI
20752012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2076
bc72b5d9
LMI
2077 * image.el (put-image): Return the overlay created instead of the
2078 optional input string (bug#7834). Note that this may break code
2079 that is (for some reason or other) depending on `put-image'
2080 returning the string.
2081
bd2dba5a
LMI
2082 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2083
74beb59f
LMI
2084 * simple.el (zap-to-char): Allow zapping using input methods
2085 (bug#1580).
2086
24d78a88
LMI
2087 * textmodes/fill.el (fill-region): Leave point and mark where they
2088 were before filling (bug#5399).
2089
263f20cd
GM
20902012-04-09 Glenn Morris <rgm@gnu.org>
2091
2092 * version.el (emacs-bzr-get-version):
2093 Handle lightweight checkouts of local branches.
2094
58d1f797
AS
20952012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2096
263f20cd 2097 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2098
b4d3bc10
CY
20992012-04-09 Chong Yidong <cyd@gnu.org>
2100
2101 * custom.el (custom-variable-p): Return nil for non-symbol
2102 arguments instead of signaling an error.
2103 (user-variable-p): Obsolete alias for custom-variable-p.
2104
2105 * apropos.el (apropos-variable):
2106 * files-x.el (read-file-local-variable):
2107 * simple.el (set-variable):
2108 * woman.el (woman-mini-help):
2109 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2110
fd06db5d
GM
21112012-04-09 Glenn Morris <rgm@gnu.org>
2112
e5fcdb5e
GM
2113 * startup.el (normal-top-level): Don't look for leim-list.el
2114 in places where it will not be found. (Bug#910)
2115
fd06db5d
GM
2116 * international/mule-cmds.el (set-default-coding-systems):
2117 * files.el (normal-mode):
2118 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2119 This function was removed with ucs-tables.el in 2008.
2120
b39bb7e1
EZ
21212012-04-08 Eli Zaretskii <eliz@gnu.org>
2122
2123 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2124 ispell-encoding8-command to "-i", without a trailing space.
2125 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2126 separate command-line arguments, to specify the encoding, since
2127 that's how hunspell expects it.
2128
5c5b8e23
GM
21292012-04-08 Glenn Morris <rgm@gnu.org>
2130
2131 * loadup.el: Load bindings before cus-start.
2132 This reduces somewhat the number of "rogue" settings in emacs -Q.
2133
a1ed8b05
GM
21342012-04-07 Glenn Morris <rgm@gnu.org>
2135
2136 * version.el (emacs-bzr-get-version): New function.
dfae128a 2137 (emacs-bzr-version): New variable.
a1ed8b05
GM
2138 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2139 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2140
b142f158
EZ
21412012-04-07 Eli Zaretskii <eliz@gnu.org>
2142
dfae128a
GM
2143 * international/uni-bidi.el, international/uni-category.el:
2144 * international/uni-combining.el, international/uni-decimal.el:
2145 * international/uni-decomposition.el, international/uni-digit.el:
2146 * international/uni-lowercase.el, international/uni-mirrored.el:
2147 * international/uni-name.el, international/uni-numeric.el:
2148 * international/uni-titlecase.el, international/uni-uppercase.el:
2149 Update for Unicode 6.1.
b142f158 2150
9078ead6
EZ
21512012-04-07 Eli Zaretskii <eliz@gnu.org>
2152
2153 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2154
f23d2c7d
LMI
21552012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2156
2157 * window.el (shrink-window): Mention the `window-min-height'
2158 variable in the doc string.
2159
0a0a3573
BG
21602012-04-05 Bastien Guerry <bzg@altern.org>
2161
2162 * color.el (color-lighten-name): Fix typo.
2163
e5248ac9
SM
21642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * server.el (server--on-display-p): New function.
2167 (server--on-display-p): Use it.
2168
b4243e22
GV
21692012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2170
2171 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2172 (bug#11145).
2173
305d9f44
SM
21742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * comint.el (comint--common-quoted-suffix): Check string boundary
2177 before comparing (bug#11158).
2178 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2179
3d439cd1
CY
21802012-04-04 Chong Yidong <cyd@gnu.org>
2181
321cc491
CY
2182 * minibuffer.el (completion-extra-properties): Doc fix.
2183
3d439cd1
CY
2184 * subr.el (delayed-warnings-hook): Doc fix.
2185
2d562c0f
DU
21862012-04-04 Daiki Ueno <ueno@unixuser.org>
2187
2188 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2189 selection (Bug#11159).
2190 (epa-insert-keys): Inform that the default public key will be
2191 exported if no key is selected.
2192
4443f204
RS
21932012-04-04 Richard Stallman <rms@gnu.org>
2194
2195 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2196
529c06b6
CY
21972012-04-03 Chong Yidong <cyd@gnu.org>
2198
2199 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2200 mail-insert-file, not its obsolete alias mail-attach-file.
2201
66b907dc
MA
22022012-04-03 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * notifications.el (notifications-notify): Fix docstring.
2205
c0ea195d
GM
22062012-04-02 Glenn Morris <rgm@gnu.org>
2207
2208 * emacs-lisp/authors.el (authors-aliases): Another addition.
2209
5ca64e00
MA
22102012-04-02 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2213 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2214 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2215
42ee526b
CY
22162012-04-01 Chong Yidong <cyd@gnu.org>
2217
2218 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2219 Handle root directory properly.
2220 (copy-directory): Caller changed.
2221
2222 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2223 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2224
0b021094
GM
22252012-03-31 Glenn Morris <rgm@gnu.org>
2226
40f86458
GM
2227 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2228
7019c177
GM
2229 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2230
a1daddd6
GM
2231 * calendar/calendar.el (calendar-window-list)
2232 (calendar-hide-window): Restore. (Bug#11140)
2233 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2234
0b021094
GM
2235 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2236
40311efc
TV
22372012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2238
2239 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2240 Check if file is a symlink (Bug#10489).
2241
2242 * files.el (copy-directory): Likewise.
2243
5319014e
CY
22442012-03-30 Chong Yidong <cyd@gnu.org>
2245
2246 * image.el (imagemagick-types-inhibit)
2247 (imagemagick-register-types): Doc fix.
2248
935d1290
AM
22492012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2250
ef24141c
SM
2251 * ispell.el (ispell-get-extended-character-mode):
2252 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2253 and treats ~word as ordinary words in pipe mode.
935d1290 2254
61c6e8fd
GM
22552012-03-30 Glenn Morris <rgm@gnu.org>
2256
2257 * tutorial.el (help-with-tutorial): Ensure local variables don't
2258 happen to make the buffer read-only. (Bug#11127)
2259
81fdff00
SM
22602012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2263 (perl-calculate-indent): Return `noindent' in strings.
2264
6e7a6ec0
SS
22652012-03-28 Sam Steingold <sds@gnu.org>
2266
2267 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2268 instead of the broken adhockery which does not prevent calendar
2269 buffers from being displayed at random after exit.
2270 (calendar-window-list, calendar-hide-window): Remove the broken
2271 adhockery.
2272
fee88ca0
GM
22732012-03-28 Glenn Morris <rgm@gnu.org>
2274
2275 * replace.el (query-replace-map): Doc fix.
2276
38de3354
AS
22772012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2278
2279 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2280 contents. (Bug#11109)
2281
b973155e
SM
22822012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2285 (bug#11077).
2286 (avl-tree--check, avl-tree--check-node): New funs.
2287
dcb6e7b3
MR
22882012-03-27 Martin Rudalics <rudalics@gmx.at>
2289
2290 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2291 (switch-to-prev-buffer, switch-to-next-buffer):
2292 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2293 showing a buffer already is done on the same frame.
2294
b4fa35fa
GM
22952012-03-27 Glenn Morris <rgm@gnu.org>
2296
2297 * startup.el (mail-host-address): Doc fix.
2298
f9210e18
SM
22992012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2300
2301 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2302 than 197 variables.
2303
c0bf7753
AF
23042012-03-26 Ami Fischman <ami@fischman.org>
2305
2306 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2307
33da7b16
GM
23082012-03-26 Glenn Morris <rgm@gnu.org>
2309
02243d9d
GM
2310 * files.el (save-buffers-kill-emacs): Doc fix.
2311
33da7b16
GM
2312 * startup.el (normal-top-level, command-line, command-line-1):
2313 Give them doc strings.
2314
e5a69fd0
EZ
23152012-03-25 Eli Zaretskii <eliz@gnu.org>
2316
2317 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2318 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2319
9a69676a
CY
23202012-03-25 Chong Yidong <cyd@gnu.org>
2321
4125cb8b
CY
2322 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2323 theme if it was previously enabled before (Bug#11031).
2324
dd470960
CY
2325 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2326 spec with custom-face-get-current-spec if its :shown-value is not
2327 determined yet (Bug#9337).
4125cb8b 2328 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2329
9a69676a
CY
2330 * button.el (button-at): Minor addition to docstring.
2331
6e7e90fa
SL
23322012-03-24 Simon Leinen <simon.leinen@gmail.com>
2333
2334 * vc/vc.el (vc-merge): Fix a prompt.
2335
f06e2758
CY
23362012-03-24 Chong Yidong <cyd@gnu.org>
2337
2338 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2339 point (Bug#9623).
2340
6e7e90fa
SL
2341 * button.el (button-at): Minor addition to docstring.
2342
b9d0879b
SM
23432012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * newcomment.el (comment-choose-indent): No space after BOL.
2346
e71cebb3
SS
23472012-03-22 Sam Steingold <sds@gnu.org>
2348
2349 * window.el (switch-to-prev-buffer): Revert last patch because the
2350 bug turned out to be an advertised feature (Elisp manual 28.14).
2351
335aff35
GM
23522012-03-22 Glenn Morris <rgm@gnu.org>
2353
2354 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2355 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2356
c676576a
LMI
23572012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2358
2359 * net/network-stream.el (network-stream-open-starttls): Make error
2360 message under Windows be less misleading.
2361
126f3d39
LW
23622012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2363
2364 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2365 understands (bug#9942).
2366
64fee311
CY
23672012-03-22 Chong Yidong <cyd@gnu.org>
2368
2369 * simple.el (end-of-visible-line): Handle return value of
2370 next-single-property-change properly (Bug#9371).
2371
a640d29a
KH
23722012-03-22 Kenichi Handa <handa@m17n.org>
2373
2374 * international/quail.el (quail-insert-kbd-layout): Fix previous
2375 change. To avoid unwanted bidi reordering, use
2376 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2377
39675016
DG
23782012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2379
2380 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2381 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2382 (ruby-beginning-of-indent): Be more careful with the difference
2383 between word-boundary and symbol boundary.
2384 (ruby-mode-syntax-table): Make : a symbol constituent.
2385
0a6934fc 23862012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2387
3d008e4f
SM
2388 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2389
0a6934fc
SM
23902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2391
af67c9d7
SM
2392 * progmodes/etags.el (tags-completion-at-point-function):
2393 Improve last fix.
2394
1acad97c
SM
2395 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2396
e298b5da
SS
23972012-03-21 Sam Steingold <sds@gnu.org>
2398
2399 * progmodes/etags.el (tags-completion-at-point-function):
2400 Avoid the error when point is inside the pattern.
2401
91d82a70
JY
24022012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2403
2404 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2405 line (Bug#10855).
2406
69188b79
CY
24072012-03-21 Drew Adams <drew.adams@oracle.com>
2408
2409 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2410
99fc91fe
AK
24112012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2412
2413 * ido.el (ido-set-current-directory, ido-read-internal)
2414 (ido-choose-completion-string, ido-completion-help): Handle nil
2415 value of ido-completion-buffer (Bug#11008).
2416
087bbb4c
SS
24172012-03-21 Sam Steingold <sds@gnu.org>
2418
2419 * window.el (switch-to-prev-buffer): Do not switch to a visible
2420 window previous buffer, just like with the frame previous buffers.
2421
fb5b8aca
CY
24222012-03-21 Chong Yidong <cyd@gnu.org>
2423
2424 * faces.el (make-face, make-empty-face, copy-face):
2425 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2426 Doc fixes.
2427
dc9924b8
SM
24282012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2431 (widget-complete): Remove broken use of it.
2432
f0bcceb9
CY
24332012-03-20 Chong Yidong <cyd@gnu.org>
2434
dc9924b8
SM
2435 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2436 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2437 characters.
2438
ee52ebf3
TH
24392012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2440
2441 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2442 to draw rectangles, not squares. (Regression introduced by revno
2443 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2444
4c5779ab
CY
24452012-03-18 Chong Yidong <cyd@gnu.org>
2446
2447 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2448 it is not yet defined (for temacs).
2449
15360934
LL
24502012-03-18 Leo Liu <sdl.web@gmail.com>
2451
dc9924b8 2452 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2453
d9a8eb66
EZ
24542012-03-17 Eli Zaretskii <eliz@gnu.org>
2455
2456 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2457 (ispell-choices-win-default-height, ispell-silently-savep)
2458 (ispell-dictionary-alist, ispell-encoding8-command)
2459 (ispell-check-version, ispell-aspell-find-dictionary)
2460 (ispell-valid-dictionary-list, ispell-words-keyword)
2461 (ispell-get-word, ispell-internal-change-dictionary)
2462 (ispell-region, ispell-skip-region-list)
2463 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2464 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2465 (ispell-message-text-end, ispell-message)
2466 (ispell-buffer-local-parsing): Doc fix.
2467
f02ff80d
J
24682012-03-13 Jambunathan K <kjambunathan@gmail.com>
2469
2470 * htmlfontify.el: Add support for code block fontification for ODT
2471 export (Bug #9914).
2472 (hfy-optimisations): Define new option
2473 `body-text-only'
2474 (hfy-fontify-buffer): Honor above setting.
2475 (hfy-begin-span, hfy-end-span): New routines factored out form
2476 `hfy-fontify-buffer'.
2477 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2478 that permit insertion of custom tags.
2479 (hfy-fontify-buffer): Use above handlers.
2480 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2481 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2482 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2483 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2484 bind a special variable `hfy-user-sheet-assoc'.
2485 (htmlfontify-string): New defun.
2486 (hfy-compile-face-map): Make sure that the last char in the
2487 buffer is correctly fontified.
2488 (hfy-face-resolve-face): Whitespace only change.
2489
9ac7a13f
EZ
24902012-03-17 Eli Zaretskii <eliz@gnu.org>
2491
2492 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2493 message more clear.
2494
e2b5bdd7
LL
24952012-03-16 Leo Liu <sdl.web@gmail.com>
2496
2497 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2498
2e492df3
AM
24992012-03-16 Alan Mackenzie <acm@muc.de>
2500
2501 Further optimise the handling of large macros.
2502
2503 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2504 limit to a call of `c-literal-limits'.
2505 (c-determine-+ve-limit): New function.
dc9924b8
SM
2506 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2507 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2508 In CASE 5B, restrict a search limit to 500.
2509 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2510
2511 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2512 Restrict macro bounds to +-500 from after-change's BEG END.
2513
50e94f0c
LL
25142012-03-16 Leo Liu <sdl.web@gmail.com>
2515
2516 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2517
6f09f6ed
AH
25182012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2519
2520 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2521 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2522
c7e73d51
GM
25232012-03-16 Glenn Morris <rgm@gnu.org>
2524
da986230
GM
2525 * view.el (view-buffer, view-buffer-other-window)
2526 (view-buffer-other-frame): Doc fixes re special mode-class.
2527
0835f01e
GM
2528 * subr.el (eval-after-load): If named feature is provided not from
2529 a file, run after-load forms. (Bug#10946)
2530
c7e73d51
GM
2531 * calendar/calendar.el (calendar-insert-at-column):
2532 Handle non-unit-width characters a bit better. (Bug#10978)
2533
3f2eafd1
CY
25342012-03-15 Chong Yidong <cyd@gnu.org>
2535
2536 * emacs-lisp/ring.el (ring-extend): New function.
2537 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2538
2539 * comint.el (comint-read-input-ring)
2540 (comint-add-to-input-history): Grow comint-input-ring lazily.
2541
103af3fe
SM
25422012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2543
663b1677
SM
2544 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2545 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2546
103af3fe
SM
2547 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2548 (imenu-add-to-menubar): Don't add a redundant index.
2549 (imenu-update-menubar): Handle a dynamically composed keymap.
2550
899cb7cb
KY
25512012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2552
2553 * mail/sendmail.el (mail-encode-header):
2554 Bind rfc2047-encode-encoded-words to nil.
2555
3809f91d
GM
25562012-03-13 Glenn Morris <rgm@gnu.org>
2557
2558 * calendar/calendar.el (calendar-string-spread):
2559 Handle non-unit-width characters a bit better. (Bug#10978)
2560
9e345a01
LL
25612012-03-13 Leo Liu <sdl.web@gmail.com>
2562
2563 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2564 directory and file as argument (Bug#10822).
2565
4a07df36
KS
25662012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2567
2568 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2569 For dynamically generated code, follow $PC.
2570 (gdb-disassembly-handler-custom): Handle no function name case.
2571
4aaa9356
TL
25722012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2573
2574 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2575 * emulation/ws-mode.el (ws-query-replace):
2576 * sort.el (sort-regexp-fields):
2577 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2578
225979da
SM
25792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * dabbrev.el: Fix cycle completion order (bug#10963).
2582 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2583 (dabbrev-completion): Don't use an obarray; provide
2584 a cycle-sort-function.
2585
e2f1fdab
LL
25862012-03-12 Leo Liu <sdl.web@gmail.com>
2587
dc9924b8 2588 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2589 (kill-do-not-save-duplicates): Doc fix.
2590
b19490ed
SM
25912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * dabbrev.el: Fix cycle completion (bug#10963).
2594 Use lexical binding and wrap to 80 columns.
2595 (dabbrev-completion): Delay computing the list of completions.
2596
4b05d722
KH
25972012-03-12 Kenichi Handa <handa@m17n.org>
2598
2599 * international/quail.el (quail-insert-kbd-layout): Surround each
2600 row by LRO and PDF instead of inserting many LRMs. Pad the left
2601 and right of each non-spacing marks. Insert invisible space
2602 between lower and upper characters to prevent composition.
2603
dbbc2e69
SM
26042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * minibuffer.el (minibuffer-complete): Don't get confused when the
2607 function is run twice via different commands (bug#10958).
2608 (complete-with-action): Fix docstring.
2609
292112ed
CY
26102012-03-12 Chong Yidong <cyd@gnu.org>
2611
5d1ac394
CY
2612 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2613 (nxml-completion-at-point-function): New function.
2614 (nxml-mode): Use it.
2615 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2616
292112ed
CY
2617 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2618 Load generated autoloads file before byte compiling (Bug#10970).
2619 (package--make-autoloads-and-compile): New helper fun.
2620
4098f8f7
CS
26212012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2622
2623 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2624
8f754691
MA
26252012-03-11 Michael Albinus <michael.albinus@gmx.de>
2626
2627 * autorevert.el (auto-revert-handler): Ensure, that
2628 file-readable-p is applied only for local files or in
2629 auto-revert-tail-mode.
2630
e29ab36b
AS
26312012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2632
dbbc2e69
SM
2633 * server.el (server-eval-at): Handle non-tcp connections.
2634 Decode result string.
ad0bf5b6 2635
e29ab36b
AS
2636 * server.el (server-msg-size): New constant.
2637 (server-reply-print): New function.
2638 (server-eval-and-print): Use it.
2639 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2640 Handle -print-nonl.
2641
de5939ba
CS
26422012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2643
2644 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2645 (Bug#10987).
2646
0c93eabf
CY
26472012-03-11 Chong Yidong <cyd@gnu.org>
2648
397a688f
CY
2649 * simple.el (goto-line): Doc fix (Bug#9938).
2650
2cc775f9
CY
2651 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2652
0c93eabf
CY
2653 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2654 when finished (Bug#10963).
2655
c491fa41
MR
26562012-03-11 Martin Rudalics <rudalics@gmx.at>
2657
2658 * window.el (split-window-below): Fix bug in case where
2659 split-window-keep-point is nil (Bug#10971).
2660
300e8fa5
JL
26612012-03-11 Juri Linkov <juri@jurta.org>
2662
2663 * replace.el (replace-highlight): Set isearch-word to nil
2664 unconditionally. (Bug#10887)
2665
dbf6c5a1
EZ
26662012-03-10 Eli Zaretskii <eliz@gnu.org>
2667
2668 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2669 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2670 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2671 (mairix-widget-create-query): Add usage information about mairix
2672 search forms: negating words, searching for substrings, etc.
2673
b9e501de
JP
26742012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2675
2676 * international/fontset.el (font-encoding-alist): Add an entry for
2677 ksx1001 (Bug#5667).
2678
92795c91
RS
26792012-03-10 Richard Stallman <rms@gnu.org>
2680
1694e6c1
RS
2681 * mail/sendmail.el (mail-encode-header):
2682 Set rfc2047-encode-encoded-words.
2683
607e8555
RS
2684 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2685
de3bc99a
RS
2686 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2687 view buffer means not swapped.
2688 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2689 (rmail-write-region-annotate): Error if real text has disappeared.
2690
92795c91
RS
2691 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2692
699bd04e
CY
26932012-03-10 Chong Yidong <cyd@gnu.org>
2694
2695 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2696 * emulation/cua-base.el (cua--init-keymaps):
2697 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2698
570a1714
MR
26992012-03-10 Martin Rudalics <rudalics@gmx.at>
2700
dbbc2e69
SM
2701 * speedbar.el (speedbar-unhighlight-one-tag-line):
2702 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2703
82dcf4e4
CY
27042012-03-10 Chong Yidong <cyd@gnu.org>
2705
7a2c7ca7
CY
2706 * minibuffer.el (completion-in-region, completion-help-at-point):
2707 Give the completion field overlay a high priority (Bug#6830).
2708
82dcf4e4
CY
2709 * dired.el (dired-goto-file): Recognize absolute file name
2710 listings (Bug#7126).
2711 (dired-goto-file-1): New helper function.
2712 (dired-toggle-read-only): Inhibit warnings.
2713
052e28ac
MA
27142012-03-09 Michael Albinus <michael.albinus@gmx.de>
2715
75f1671a 2716 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2717 there are no properties.
2718
95d5e396
LL
27192012-03-09 Leo Liu <sdl.web@gmail.com>
2720
2721 * savehist.el (savehist-printable): Stricter check for string
2722 value (Bug#10937).
2723
3f018d6d
EZ
27242012-03-09 Eli Zaretskii <eliz@gnu.org>
2725
dbbc2e69
SM
2726 * mail/smtpmail.el (smtpmail-send-it):
2727 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2728 valid mbox format.
2729
f7fd3d79
GM
27302012-03-09 Glenn Morris <rgm@gnu.org>
2731
2732 * files.el (dir-locals-find-file):
2733 Don't check result is regular, readable.
2734 (dir-locals-read-from-file): Demote errors.
2735
6ff6e72f
EZ
27362012-03-08 Eli Zaretskii <eliz@gnu.org>
2737
dbbc2e69
SM
2738 * international/quail.el (quail-insert-kbd-layout):
2739 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2740 layout cell, to prevent their reordering by bidi display engine.
2741 For details, see the discussion in
2742 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2743
9cec7834
AM
27442012-03-08 Alan Mackenzie <acm@muc.de>
2745
2746 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2747 the starting position; make it extend the marked region when
2748 invoked repeatedly - all under appropriate circumstances.
2749 Fixes bugs #5525, #10906.
2750
9a40b8d4
GM
27512012-03-08 Glenn Morris <rgm@gnu.org>
2752
2753 * files.el (locate-dominating-file, dir-locals-find-file):
2754 Undo 2012-03-06 change.
2755
7a08ed35
EZ
27562012-03-07 Eli Zaretskii <eliz@gnu.org>
2757
dbbc2e69
SM
2758 * international/quail.el (quail-help):
2759 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2760 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2761 for the reason.
2762
5aca4f71 27632012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2764
2765 Avoid superfluous registering of signals. (Bug#10807)
2766
2767 * notifications.el (notifications-on-action-object)
2768 (notifications-on-close-object): New defvars.
2769 (notifications-on-action-signal, notifications-on-closed-signal):
2770 Unregister the signal if not needed any longer.
2771 (notifications-notify): Register `notifications-action-signal' or
2772 `notifications-closed-signal', if :on-action or :on-close has been
2773 passed as argument.
2774
78e8b10a
CY
27752012-03-07 Chong Yidong <cyd@gnu.org>
2776
2777 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2778 non-X platforms.
2779
69481eb8
GM
27802012-03-06 Glenn Morris <rgm@gnu.org>
2781
2782 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2783 (x-disown-selection-internal, x-get-selection-internal):
2784 Doc fix (add arglist signatures). (Bug#10783)
2785
133b8e11
KS
27862012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2787
2788 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2789 Handle breakpoints with no "type".
2790
99a83064
GM
27912012-03-06 Glenn Morris <rgm@gnu.org>
2792
2793 * files.el (locate-dominating-file): Add optional predicate argument.
2794 (dir-locals-find-file): Make use of above change.
2795
17798e78
TTN
27962012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2797
2798 * info.el (Info-insert-dir): Also try "dir.gz".
2799
eb182446
GM
28002012-03-06 Glenn Morris <rgm@gnu.org>
2801
8f2114ee
GM
2802 * files.el (dir-locals-find-file):
2803 Ignore non-readable or non-regular files. (Bug#10928)
2804
eb182446
GM
2805 * files.el (locate-dominating-file): Doc fix.
2806
24679323
AS
28072012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2808
2809 * calendar/calendar.el (calendar-set-mode-line):
2810 `getenv' returns a string. (Bug#10951)
2811
01d972a9
LL
28122012-03-05 Leo Liu <sdl.web@gmail.com>
2813
109aa8a9
LL
2814 * simple.el (backward-delete-char-untabify): Constrain point to
2815 field (Bug#10939).
2816
01d972a9
LL
2817 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2818
10607bea
CY
28192012-03-05 Chong Yidong <cyd@gnu.org>
2820
2821 * simple.el (count-words): If called from Lisp, return the word
2822 count, for symmetry with `count-lines'. Arglist changed.
2823 (count-words--message): Args changed. Consolidate counting code
2824 from count-words and count-words-region.
2825 (count-words-region): Caller changed.
2826 (count-lines-region): Make it an obsolete alias.
2827
5dd11cfe
TH
28282012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2829
2830 * saveplace.el (save-place-to-alist)
2831 (save-place-ignore-files-regexp): Allow value nil to disable this
2832 feature.
2833
c349f4e6
CY
28342012-03-04 Chong Yidong <cyd@gnu.org>
2835
2836 * faces.el (face-spec-reset-face): For the default face, reset the
2837 attributes to default values (Bug#10748).
2838
e627be4c
LMI
28392012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2840
2841 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2842 previous patch: Check `message-send-mail-function', and not the
2843 default function (bug#10897).
2844
ebeabff4
MA
28452012-03-04 Michael Albinus <michael.albinus@gmx.de>
2846
a41a6cf4
MA
2847 * notifications.el (notifications-on-action-signal)
2848 (notifications-on-closed-signal): Check for unique service name of
2849 incoming event. Fix error in removing entry.
ebeabff4 2850 (top): Register for signals with wildcard service name.
a41a6cf4 2851 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2852
c1ca42b4
CY
28532012-03-04 Chong Yidong <cyd@gnu.org>
2854
dc9924b8 2855 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2856
ea16568d
GM
28572012-03-04 Glenn Morris <rgm@gnu.org>
2858
2859 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2860 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2861 (expand-abbrev, define-abbrev-table): Doc fixes.
2862
fbae4637
LMI
28632012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2864
2865 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2866 `message-default-send-mail-function' and not `send-mail-function'
2867 when doing the prompting for `sendmail-query-once' before sending
2868 in Message buffers (bug#10897).
2869
a1e7225c
LMI
2870 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2871 This is inconsistent with all the other stream functions, which leave
2872 the setting up to the higher levels (if so wanted) (bug#10931).
2873
56d093a9
AM
28742012-03-02 Alan Mackenzie <acm@muc.de>
2875
2876 Depessimize the handling of very large macros.
2877
2878 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2879 (c-macro-cache-syntactic): New variables to implement a one
2880 element macro cache.
2881 (c-invalidate-macro-cache): New function.
2882 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2883 Adapt to use the new cache.
2884 (c-state-safe-place): Use better the cache of safe positions.
2885 (c-state-semi-nonlit-pos-cache)
2886 (c-state-semi-nonlit-pos-cache-limit):
2887 New variables for...
2888 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2889 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2890 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2891 Use c-state-semi-safe-place.
56d093a9 2892
dbbc2e69
SM
2893 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2894 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2895
817e5c3d
MA
28962012-03-02 Michael Albinus <michael.albinus@gmx.de>
2897
dbbc2e69
SM
2898 * jka-compr.el (jka-compr-call-process):
2899 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2900 not remote.
2901
a032a702
MA
29022012-03-01 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2905 access of FILE2, if FILE1 does not exist.
2906
99a54f21
MA
2907 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2908 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2909
2910 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2911 Add "PAGER=" to `process-environment'.
2912
f6561e1f
MM
29132012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2914
2915 * progmodes/sql.el: Bug fix
2916 (sql-get-login-ext): Save login values in globals.
2917 (sql-get-login): Use new version of `sql-get-login-ext'.
2918 (sql-interactive-mode): Set global `sql-connection' to nil.
2919 (sql-connect): Set global values for connection.
2920 (sql-product-interactive): Save global values as buffer local.
2921
2d44d9cc
LL
29222012-02-29 Leo Liu <sdl.web@gmail.com>
2923
2924 * abbrev.el (define-abbrevs): Reset sys to nil.
2925
96b49301 29262012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2927
bf7f9bc5
JB
2928 * files.el (file-equal-p): Rename from `files-equal-p'.
2929 Return nil when one or both files don't exist.
96b49301 2930 (file-subdir-of-p): Now only top directory must exists,
2931 return nil if it doesn't.
bf7f9bc5
JB
2932 (copy-directory): No need to test with `file-subdir-of-p' after
2933 creating dir.
2934 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2935 to `file-equal-p'.
96b49301 2936
44e97401
GM
29372012-02-28 Glenn Morris <rgm@gnu.org>
2938
2939 * shell.el (shell-mode):
2940 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2941 * play/landmark.el (landmark-font-lock-face-O):
2942 * play/handwrite.el (handwrite):
2943 * play/gomoku.el (gomoku-O):
2944 * net/browse-url.el (browse-url-browser-display):
2945 * international/mule.el (define-charset):
2946 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2947 * filesets.el (filesets-find-file-delay):
2948 * eshell/em-xtra.el (eshell-xtra):
2949 * eshell/em-unix.el (eshell-grep):
2950 * emulation/viper.el (viper-mode):
2951 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2952 * emacs-lisp/easymenu.el (easy-menu-define):
2953 * calendar/timeclock.el (timeclock-use-display-time):
2954 * bs.el (bs-mode):
2955 * bookmark.el (bookmark-save-flag):
2956 Doc fix (standardize possessive apostrophe usage).
2957
c98c6276
CY
29582012-02-27 Chong Yidong <cyd@gnu.org>
2959
bf7f9bc5
JB
2960 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2961 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2962
c98c6276
CY
2963 * font-lock.el (font-lock-specified-p): Rename from
2964 font-lock-spec-present. Callers changed.
2965
9c62cd04 29662012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2967
bf7f9bc5
JB
2968 * emacs-lisp/package.el (package-compute-transaction):
2969 Handle holding a package version to t in package-load-list.
8ac9e529 2970
530739c9
MA
29712012-02-26 Michael Albinus <michael.albinus@gmx.de>
2972
2973 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2974 (tramp-get-inode, tramp-get-device): Use cached values.
2975
487915d7
AM
29762012-02-26 Alan Mackenzie <acm@muc.de>
2977
2978 Check there is a font-lock specification before doing initial
2979 fontification.
2980
2981 * font-core.el (font-lock-mode): Move the conditional from
2982 :after-hook to font-lock-initial-fontify.
2983 (font-lock-default-function): Move the check for a specification
2984 to font-lock-spec-present.
2985
dc9924b8 2986 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2987 (font-lock-spec-present): New function.
2988
4fd96557
JB
29892012-02-26 Jim Blandy <jimb@red-bean.com>
2990
2991 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2992 (gdb-send): Apply it to the operand of the '-interpreter-exec
2993 console' command, so that we can pass arguments with (say) quotes
2994 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2995
9a4888c0
CY
29962012-02-26 Chong Yidong <cyd@gnu.org>
2997
07498861
CY
2998 * help-fns.el (describe-function-1): Clarify description of
2999 remapping (Bug#10844).
3000
9a4888c0
CY
3001 * files.el (files-equal-p): Doc fix.
3002 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3003 and quit the loop once a mismatch is found.
3004
ea8fb88d
JB
30052012-02-25 Juanma Barranquero <lekktu@gmail.com>
3006
3007 * bs.el (bs--show-with-configuration): Don't throw an error
3008 if the window cannot be split; otherwise, subsequent calls to
3009 bs-show fail, restoring a stale window config. (Bug#10882)
3010
525795c1
JD
30112012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3012
3013 * term/ns-win.el (global-map): Bind ns-drag-file to
3014 ns-find-file (Bug#5855, Bug#10050).
3015
f008086f
AS
30162012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3017
3018 * calendar/parse-time.el (parse-time-string): Allow extractor to
3019 return nil.
3020
a3fcfa99
MA
30212012-02-25 Michael Albinus <michael.albinus@gmx.de>
3022
91027d08
JB
3023 * net/tramp.el (tramp-file-name-for-operation):
3024 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3025
3026 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3027 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3028 Add COPY-CONTENTS argument.
a3fcfa99 3029
67b0de11
CY
30302012-02-25 Chong Yidong <cyd@gnu.org>
3031
3032 Add custom groups for VC backends, for consistency with vc-bzr.
3033
3034 * vc/vc-arch.el (vc-arch):
3035 * vc/vc-cvs.el (vc-cvs):
3036 * vc/vc-git.el (vc-git):
3037 * vc/vc-hg.el (vc-hg):
3038 * vc/vc-mtn.el (vc-mtn):
3039 * vc/vc-rcs.el (vc-rcs):
3040 * vc/vc-sccs.el (vc-sccs):
3041 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3042 All relevant defcustoms reassigned.
3043
3c9dfce6
CY
30442012-02-25 Chong Yidong <cyd@gnu.org>
3045
1339bf43
CY
3046 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3047
3c9dfce6
CY
3048 * term/x-win.el (x-initialize-window-system): Reduce default for
3049 x-selection-timeout to 5 seconds (Bug#8869).
3050
25b2e303 30512012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3052
ec70a47d
GM
3053 * files.el (files-equal-p, file-subdir-of-p): New functions.
3054 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3055 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3056 * dired-aux.el (dired-copy-file-recursive): Same.
3057 (dired-create-files): Modify destination when source is equal to
3058 dest when copying files.
53a46cd0 3059 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3060
914260cd
MA
30612012-02-24 Michael Albinus <michael.albinus@gmx.de>
3062
3063 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3064 (Bug#10874)
3065
2cb228f7
AM
30662012-02-23 Alan Mackenzie <acm@muc.de>
3067
3068 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3069 parameter "after-hook:" to allow the expansion to run code after
3070 the execution of the mode hooks.
3071
3072 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3073 from font-lock-mode-internal.
2cb228f7 3074
91027d08 3075 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3076 :after-hook.
3077
8f0fde21
SM
30782012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3e88618b
SM
3080 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3081 (completion--cache-all-sorted-completions): New function.
3082 (completion-all-sorted-completions): Use it.
3083 (completion--do-completion, minibuffer-force-complete):
3084 Use it to re-instate the flush hook.
3085
8f0fde21
SM
3086 * icomplete.el (icomplete-completions): Replace last fix with a better
3087 one (bug#10850).
3088
8e911f6f
DG
30892012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3092 when it might call us back infinitely (bug#10797).
3093
49fe4321
GM
30942012-02-23 Glenn Morris <rgm@gnu.org>
3095
3096 * minibuffer.el (completion-category-overrides): Doc fix.
3097
b291b572
SM
30982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3101 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3102
31a9ef2e
GM
31032012-02-23 Glenn Morris <rgm@gnu.org>
3104
5e6e6794 3105 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3106 (authors-obsolete-files-regexps, authors-ignored-files)
3107 (authors-ambiguous-files, authors-renamed-files-alist):
3108 Add more entries.
3109
0bd1e074
JL
31102012-02-23 Juri Linkov <juri@jurta.org>
3111
3112 * isearch.el (isearch-occur): Sync interactive spec with occur's
3113 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3114
b617673c
JL
3115 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3116
19e9789e
JL
31172012-02-22 Juri Linkov <juri@jurta.org>
3118
3119 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3120 (ucs-insert): Doc fix. Check for hex digits in the string.
3121 Don't display `nil' in the error message. (Bug#10857)
3122
f41ce09d
AM
31232012-02-22 Alan Mackenzie <acm@muc.de>
3124
7a71b18d 3125 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3126
ac2eceee
GM
31272012-02-22 Glenn Morris <rgm@gnu.org>
3128
3129 * ffap.el (ffap-c-path):
3130 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3131
abd1f678
CY
31322012-02-22 Chong Yidong <cyd@gnu.org>
3133
3134 * custom.el (load-theme): Doc fix.
3135
f25aef2e
GM
31362012-02-22 Glenn Morris <rgm@gnu.org>
3137
3138 * dired-x.el (dired-guess-shell-alist-default):
3139 Remove escape sequences from nroff output. (Bug#172)
3140
5f8dc2ca
GM
31412012-02-21 Glenn Morris <rgm@gnu.org>
3142
6ff86ec4
GM
3143 * vc/emerge.el (emerge-defvar-local):
3144 Set `permanent-local' property rather than unused `preserved'.
3145
be3223a3 3146 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3147 (picture-mode-map): Use it. (Bug#10860)
3148 (picture-mode): Doc fix.
3149
3fe58f4f
JB
31502012-02-21 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * newcomment.el (uncomment-region-default): Remove unused binding.
3153
f9a998c3
GM
31542012-02-21 Glenn Morris <rgm@gnu.org>
3155
3156 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3157 (picture-self-insert, picture-tab-chars): Doc fix.
3158 (picture-mode-map): Fix C-a, C-e.
3159
c6029348
GM
31602012-02-20 Glenn Morris <rgm@gnu.org>
3161
3162 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3163
ab1ce9d7
LL
31642012-02-20 Leo Liu <sdl.web@gmail.com>
3165
3166 * icomplete.el (icomplete-completions): Check FROM arg before
3167 passing to substring (Bug#10850).
3168
0fd40f89
CY
31692012-02-19 Chong Yidong <cyd@gnu.org>
3170
3171 * comint.el: Require ansi-color.
3172 (comint-output-filter-functions): Add ansi-color-process-output.
3173
3174 * ansi-color.el: Don't set comint-output-filter-functions; it is
3175 now in the initial value defined in comint.el.
3176 (ansi-color-apply-face-function): New variable.
3177 (ansi-color-apply-on-region): Use it.
3178 (ansi-color-apply-overlay-face): New function.
3179
3180 * shell.el (shell): No need to require ansi-color.
3181 (shell-mode): Use ansi-color-apply-face-function to highlight
3182 color escapes using font-lock-face property (Bug#10835).
3183
20af2394
CY
31842012-02-19 Chong Yidong <cyd@gnu.org>
3185
3186 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3187 mode-line formats (Bug#10839).
3188
e23a3fbe
GM
31892012-02-18 Glenn Morris <rgm@gnu.org>
3190
b474519e
GM
3191 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3192
3193 * mail/undigest.el (unforward-rmail-message): Doc fix.
3194
e23a3fbe
GM
3195 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3196
57939ff4
EZ
31972012-02-18 Eli Zaretskii <eliz@gnu.org>
3198
3199 * international/characters.el (script-list): Sync with the latest
3200 Unicode Character Database.
3201
0c23686e
AS
32022012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3203
3204 * international/titdic-cnv.el: Remove duplicate coding tag.
3205 * language/cham.el: Likewise.
3206 * language/tai-viet.el: Likewise.
3207
6818b449
GM
32082012-02-18 Glenn Morris <rgm@gnu.org>
3209
3210 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3211 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3212 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3213 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3214 * calendar/holidays.el (holiday-bahai-holidays)
3215 (calendar-holidays, list-holidays):
3216 Use utf-8 Bahá'í in doc-strings, menus, etc.
3217
0311a3fc
TH
32182012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3219
3220 * saveplace.el (save-place-ignore-files-regexp): New variable
3221 allowing for excluding files from saving their location of point.
3222 The default value matches the temporary commit message editing
3223 files from Git, SVN, Bazaar, and Mercurial.
3224 (save-place-to-alist): Use it.
3225
eb864a71
LM
32262012-02-17 Lawrence Mitchell <wence@gmx.li>
3227 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * newcomment.el (uncomment-region-default): Don't leave extra space
3230 when an arg is provided (bug#8150).
3231
ee0ce425
TZ
32322012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3233
eb864a71 3234 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3235
95ddf442
GM
32362012-02-17 Glenn Morris <rgm@gnu.org>
3237
3238 * net/socks.el: Require network-stream. (Bug#10599)
3239
48dd1e39 32402012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3241
3242 * international/charprop.el:
3243 * international/uni-name.el:
3244 * international/uni-old-name.el:
3245 * international/uni-comment.el: Regenerate.
3246
d68cd087
GM
32472012-02-16 Glenn Morris <rgm@gnu.org>
3248
3249 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3250 Interactively in calendar buffer, give an error if not on a date.
3251
13932042
GM
32522012-02-15 Glenn Morris <rgm@gnu.org>
3253
3254 * shell.el (shell-delimiter-argument-list):
3255 Revert 2011-02-17 change. (Bug#8027)
3256
c3a70e2b
CY
32572012-02-15 Chong Yidong <cyd@gnu.org>
3258
60236b0d
CY
3259 * minibuffer.el (completion-at-point-functions): Doc fix.
3260
c3a70e2b
CY
3261 * custom.el (defcustom): Doc fix; note use of defvar.
3262
9f26dc24
GM
32632012-02-15 Glenn Morris <rgm@gnu.org>
3264
3265 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3266 Doc fixes.
3267
6546b134
GM
32682012-02-14 Glenn Morris <rgm@gnu.org>
3269
3270 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3271
d29b2b4c
LI
32722012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3273
3274 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3275 way the ports list is computed.
835bdcba
LI
3276 (smtpmail-query-smtp-server): Prompt the user for a port number if
3277 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3278
08dcdbc9
TZ
32792012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3280
3281 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3282
2605051a
GM
32832012-02-13 Glenn Morris <rgm@gnu.org>
3284
3285 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3286
7ee99f32
TZ
32872012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3288
3289 * net/gnutls.el (gnutls-trustfiles): New variable.
3290 (gnutls-negotiate): Use it.
3291
5f0af64f
LI
32922012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3293
3294 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3295 does its stuff if Gnus is running.
3296
c14fcc95
AM
32972012-02-13 Alan Mackenzie <acm@muc.de>
3298
3299 Fix a loop in c-set-fl-decl-start.
3300
7a71b18d 3301 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3302 c-backward-syntactic-ws actually moves backwards.
3303
142b4d90
LL
33042012-02-13 Leo Liu <sdl.web@gmail.com>
3305
3306 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3307 beginning so that all \C-o chars are removed.
3308
fa9958a6
TZ
33092012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3310
dc9924b8 3311 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3312
0bc5886a
AM
33132012-02-12 Alan Mackenzie <acm@muc.de>
3314
3315 Fix infinite loop with long macros.
4d6769e1 3316 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3317
d4bd55e7
CY
33182012-02-12 Chong Yidong <cyd@gnu.org>
3319
3320 * window.el (display-buffer): Doc fix (Bug#10785).
3321
66f3fe22
GM
33222012-02-12 Glenn Morris <rgm@gnu.org>
3323
bd7da63e
GM
3324 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3325 (x-disown-selection-internal, x-get-selection-internal):
3326 Sync docs with the xselect.c versions.
3327
66f3fe22
GM
3328 * allout-widgets.el: Add missing license notice.
3329
3e0d2fa7
GM
33302012-02-11 Glenn Morris <rgm@gnu.org>
3331
cfecdf09
GM
3332 * select.el (x-get-selection-internal, x-own-selection-internal)
3333 (x-disown-selection-internal):
3334 * x-dnd.el (x-get-selection-internal): Update declarations.
3335
6d216d7f
GM
3336 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3337
2bed3f04
GM
3338 * window.el (window-sides-slots):
3339 * tool-bar.el (tool-bar-position):
3340 * term/xterm.el (xterm-extra-capabilities):
3341 * ses.el (ses-self-reference-early-detection):
3342 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3343 (verilog-auto-wire-type)
3344 (verilog-auto-delete-trailing-whitespace)
3345 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3346 (verilog-auto-tieoff-declaration):
3347 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3348 (sql-oracle-statement-starters, sql-oracle-scan-on):
3349 * progmodes/prolog.el (prolog-align-comments-flag)
3350 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3351 (prolog-left-indent-regexp, prolog-paren-indent-p)
3352 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3353 (prolog-types, prolog-mode-specificators)
3354 (prolog-determinism-specificators, prolog-directives)
3355 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3356 (prolog-electric-dot-flag)
3357 (prolog-electric-dot-full-predicate-template)
3358 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3359 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3360 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3361 (prolog-program-switches, prolog-prompt-regexp)
3362 (prolog-debug-on-string, prolog-debug-off-string)
3363 (prolog-trace-on-string, prolog-trace-off-string)
3364 (prolog-zip-on-string, prolog-zip-off-string)
3365 (prolog-use-standard-consult-compile-method-flag)
3366 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3367 (prolog-imenu-max-lines, prolog-info-predicate-index)
3368 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3369 (prolog-char-quote-workaround):
3370 * progmodes/cc-vars.el (c-defun-tactic):
3371 * net/tramp.el (tramp-encoding-command-interactive)
3372 (tramp-local-end-of-line):
3373 * net/soap-client.el (soap-client):
3374 * net/netrc.el (netrc-file):
3375 * net/gnutls.el (gnutls):
3376 * minibuffer.el (completion-category-overrides)
3377 (completion-cycle-threshold)
3378 (completion-pcm-complete-word-inserts-delimiters):
3379 * man.el (Man-name-local-regexp):
3380 * mail/feedmail.el (feedmail-display-full-frame):
3381 * international/characters.el (glyphless-char-display-control):
3382 * eshell/em-ls.el (eshell-ls-date-format):
3383 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3384 (lisp-lambda-list-keyword-parameter-indentation)
3385 (lisp-lambda-list-keyword-parameter-alignment):
3386 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3387 * dired-x.el (dired-omit-verbose):
3388 * cus-theme.el (custom-theme-allow-multiple-selections):
3389 * calc/calc.el (calc-highlight-selections-with-faces)
3390 (calc-lu-field-reference, calc-lu-power-reference)
3391 (calc-note-threshold):
3392 * battery.el (battery-mode-line-limit):
3393 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3394 (archive-7z-update):
3395 * allout.el (allout-prefixed-keybindings)
3396 (allout-unprefixed-keybindings)
3397 (allout-inhibit-auto-fill-on-headline)
3398 (allout-flattened-numbering-abbreviation):
3399 * allout-widgets.el (allout-widgets-auto-activation)
3400 (allout-widgets-icons-dark-subdir)
3401 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3402 (allout-widgets-theme-dark-background)
3403 (allout-widgets-theme-light-background)
3404 (allout-widgets-item-image-properties-emacs)
3405 (allout-widgets-item-image-properties-xemacs)
3406 (allout-widgets-run-unit-tests-on-load)
3407 (allout-widgets-time-decoration-activity)
3408 (allout-widgets-hook-error-post-time)
3409 (allout-widgets-track-decoration):
3410 Add missing :version tags to new defcustoms and defgroups.
3411
5fec1b8e
GM
3412 * progmodes/sql.el (sql-ansi-statement-starters)
3413 (sql-oracle-statement-starters): Add custom type.
3414
3e0d2fa7
GM
3415 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3416 (prolog-system-version): Give it a type.
3417
90b671e2
EZ
34182012-02-11 Eli Zaretskii <eliz@gnu.org>
3419
3420 * term/pc-win.el (x-select-text, x-selection-owner-p)
3421 (x-own-selection-internal, x-disown-selection-internal)
3422 (x-get-selection-internal): Sync doc strings and argument lists
3423 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3424
5eac0c02
LL
34252012-02-11 Leo Liu <sdl.web@gmail.com>
3426
3427 * progmodes/python.el (python-end-of-statement): Fix infinite
3428 loop. (Bug#10788)
3429
f82cb659
GM
34302012-02-10 Glenn Morris <rgm@gnu.org>
3431
3432 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3433 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3434
cc26d239
LI
34352012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3436
3437 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3438 about SMTP before checking the From header.
3439
91027d08 3440 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3441 into own function for reuse by emacsbug.el.
3442
1be3ca5a
LL
34432012-02-10 Leo Liu <sdl.web@gmail.com>
3444
3445 * subr.el (condition-case-unless-debug): Rename from
3446 condition-case-no-debug. All callers changed.
3447 (with-demoted-errors): Fix caller.
3448
3449 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3450 * nxml/rng-valid.el (rng-do-some-validation):
3451 * emacs-lisp/package.el (package-refresh-contents)
3452 (package-menu-execute):
3453 * desktop.el (desktop-create-buffer):
91027d08 3454 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3455
b011fbfe
GM
34562012-02-10 Glenn Morris <rgm@gnu.org>
3457
b2096d72
GM
3458 * textmodes/bibtex.el:
3459 Add missing :version tags for new/changed defcustoms.
3460
b011fbfe
GM
3461 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3462
4c7e65bf
LI
34632012-02-09 Lars Ingebrigtsen <larsi@rusty>
3464
3465 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3466 (smtpmail-via-smtp): Use it, or fall back on the From address.
3467 (smtpmail-send-it): Ditto.
3468
f3934f6f
SM
34692012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3472 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3473 (byte-compile-tmp-var): New const.
3474 (byte-compile-defvar): Use it to minimize .elc size.
3475 Just use `defvar' rather than simulate it (bug#10761).
3476
a075a2c5
GM
34772012-02-09 Glenn Morris <rgm@gnu.org>
3478
cf3aa21b
GM
3479 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3480
354998cd
GM
3481 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3482 Add :version tags.
3483
dc9924b8
SM
3484 * progmodes/compile.el (compilation-error-screen-columns)
3485 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3486
dab3703d
GM
3487 * vc/log-view.el (log-view-toggle-entry-display):
3488 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3489
3f88cd72
GM
3490 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3491 (report-emacs-bug-can-use-xdg-email):
3492 (report-emacs-bug-insert-to-mailer): Doc fixes.
3493 (report-emacs-bug): Message fix.
3494
d95b247d
GM
3495 * net/browse-url.el (browse-url-can-use-xdg-open)
3496 (browse-url-xdg-open): Doc fixes.
3497
a075a2c5
GM
3498 * electric.el (electric-indent-mode, electric-pair-mode)
3499 (electric-layout-rules, electric-layout-mode): Doc fixes.
3500 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3501
ffb6157e
MR
35022012-02-08 Martin Rudalics <rudalics@gmx.at>
3503
3504 * server.el (server-unselect-display): Don't inadvertently kill
3505 the current buffer. (Bug#10729)
3506
e1ac4066
GM
35072012-02-08 Glenn Morris <rgm@gnu.org>
3508
34e8a2da
GM
3509 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3510 (sql-list-table): Doc fixes.
3511
b4ac6e8c
GM
3512 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3513 Comment out (does nothing).
3514
e1ac4066
GM
3515 * completion.el (dynamic-completion-mode):
3516 * dirtrack.el (dirtrack-debug-mode):
3517 * electric.el (electric-layout-mode):
3518 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3519 * face-remap.el (text-scale-mode, buffer-face-mode):
3520 * iimage.el (iimage-mode):
3521 * image-mode.el (image-transform-mode):
3522 * minibuffer.el (completion-in-region-mode):
3523 * scroll-lock.el (scroll-lock-mode):
3524 * simple.el (next-error-follow-minor-mode):
3525 * tar-mode.el (tar-subfile-mode):
3526 * tooltip.el (tooltip-mode):
3527 * vcursor.el (vcursor-use-vcursor-map):
3528 * wid-browse.el (widget-minor-mode):
3529 * emulation/tpu-edt.el (tpu-edt-mode):
3530 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3531 * international/iso-ascii.el (iso-ascii-mode):
3532 * language/thai-util.el (thai-word-mode):
3533 * mail/supercite.el (sc-minor-mode):
3534 * net/goto-addr.el (goto-address-mode):
3535 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3536 * progmodes/cwarn.el (cwarn-mode):
3537 * progmodes/flymake.el (flymake-mode):
3538 * progmodes/glasses.el (glasses-mode):
3539 * progmodes/hideshow.el (hs-minor-mode):
3540 * progmodes/pascal.el (pascal-outline-mode):
3541 * textmodes/enriched.el (enriched-mode):
3542 * vc/smerge-mode.el (smerge-mode):
3543 Doc fixes (minor mode argument).
3544
5e0d957f
EZ
35452012-02-07 Eli Zaretskii <eliz@gnu.org>
3546
3547 * ls-lisp.el (ls-lisp-sanitize): New function.
3548 (ls-lisp-insert-directory): Use it to fix or remove any elements
3549 in file-alist with missing attributes. (Bug#4673)
3550
98d7371e
AM
35512012-02-07 Alan Mackenzie <acm@muc.de>
3552
3553 Fix spurious recognition of c-in-knr-argdecl.
3554
3555 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3556 putative K&R region.
3557
667ced3a
AM
35582012-02-07 Alan Mackenzie <acm@muc.de>
3559
eb864a71
LM
3560 * progmodes/cc-engine.el (c-forward-objc-directive):
3561 Prevent looping in "#pragma mark @implementation".
667ced3a 3562
5b77774d
MA
35632012-02-07 Michael Albinus <michael.albinus@gmx.de>
3564
3565 * notifications.el (notifications-on-closed-signal): Make `reason'
3566 optional. (Bug#10744)
3567
af008560
GM
35682012-02-07 Glenn Morris <rgm@gnu.org>
3569
60d47423
GM
3570 * emacs-lisp/easy-mmode.el (define-minor-mode):
3571 Doc fixes for the macro and the mode it defines.
3572
dd605cc4
GM
3573 * image.el (imagemagick-types-inhibit): Doc fix.
3574
af008560
GM
3575 * cus-start.el (imagemagick-render-type): Add it.
3576
5cc59a37
LI
35772012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3578
4d6769e1
JB
3579 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3580 Set the default at load time, too, so that `font-lock-fontify-buffer'
3581 can be called without setting up the entire mode first. This fixes
3582 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3583
9a6dd747
CY
35842012-02-06 Chong Yidong <cyd@gnu.org>
3585
2d16b285
CY
3586 * simple.el (list-processes--refresh): Delete exited processes
3587 (Bug#8094).
3588
171e9b6e
CY
3589 * comint.el (comint-next-prompt): next-single-char-property-change
3590 and prev-single-char-property-change never return nil (Bug#8657).
3591
9a6dd747
CY
3592 * custom.el (defcustom): Doc fix (Bug#9711).
3593
aa4589a7
CY
35942012-02-05 Chong Yidong <cyd@gnu.org>
3595
5c2a252f
CY
3596 * cus-edit.el (custom-variable-reset-backup): Quote the value
3597 before storing it in the customized-value property (Bug#6712).
4aab9006 3598 (custom-display): Add a customization type tag.
983b9602 3599 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3600
aa4589a7
CY
3601 * wid-edit.el (widget-field-value-get): New optional arg to
3602 suppress trailing whitespace truncation.
3603 (character): Use it (Bug#2689).
3604
1ff980ae
AS
36052012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3606
3607 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3608 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3609
03988c98
CY
36102012-02-05 Chong Yidong <cyd@gnu.org>
3611
eeb6cc88
CY
3612 * cus-edit.el (custom-variable-value-create): For mismatched
3613 types, show the current value (Bug#7600).
3614
03988c98
CY
3615 * custom.el (defcustom): Doc fix.
3616
f8cdeef0
GM
36172012-02-05 Glenn Morris <rgm@gnu.org>
3618
3619 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3620
0696d255
JB
36212012-02-05 Juanma Barranquero <lekktu@gmail.com>
3622
3623 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3624 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3625 (pp-last-sexp): Use `looking-at-p'.
3626
34c99998
GM
36272012-02-04 Glenn Morris <rgm@gnu.org>
3628
8f05da42
GM
3629 * files.el (revert-buffer):
3630 Doc fix (mention revert-buffer-in-progress-p).
3631
f160676e
GM
3632 * emacs-lisp/ert-x.el (ert-simulate-command):
3633 Check deferred-action-list (which is obsolete) is bound.
3634
c7291ad9
GM
3635 * subr.el (with-wrapper-hook): Doc fixes.
3636
34c99998
GM
3637 * simple.el (filter-buffer-substring-functions)
3638 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3639
6283a7d3
LL
36402012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3641
3642 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3643 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3644
e96e3013
LL
36452012-02-04 Leo Liu <sdl.web@gmail.com>
3646
3647 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3648
8ded50f2
GM
36492012-02-04 Glenn Morris <rgm@gnu.org>
3650
82ff1d13
GM
3651 * image.el (image-extension-data): Add obsolete alias.
3652
987a0a16
GM
3653 * isearch.el (isearch-update): Doc fix.
3654
ea32ef46
GM
3655 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3656
8ded50f2
GM
3657 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3658
eea14f31
GM
36592012-02-03 Glenn Morris <rgm@gnu.org>
3660
3661 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3662 (image-animate-timeout): Doc fix.
3663
3664 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3665
12f381b7
GM
36662012-02-02 Glenn Morris <rgm@gnu.org>
3667
953cebf5
GM
3668 * server.el (server-auth-dir): Doc fix.
3669 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3670
12f381b7
GM
3671 * subr.el (run-mode-hooks): Doc fix.
3672
953a8c3b
JL
36732012-02-02 Juri Linkov <juri@jurta.org>
3674
3675 * image-mode.el (image-toggle-display-image): Remove tautological
3676 `major-mode' from the `derived-mode-p' test.
3677
c5d3843c
KH
36782012-02-02 Kenichi Handa <handa@m17n.org>
3679
9f6e692e 3680 * composite.el (compose-region): Cancel previous change.
c5d3843c 3681
159462d4 36822012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3683
3684 * composite.el (compose-region, compose-string): Signal error for
3685 a null string component (Bug#6988).
3686
9f562668
CY
36872012-02-01 Chong Yidong <cyd@gnu.org>
3688
e2cef717
CY
3689 * view.el (view-buffer-other-window, view-buffer-other-frame):
3690 Handle special modes like view-buffer (Bug#10650).
3691 (view-buffer): Simplify.
3692
9f562668
CY
3693 * frame.el (set-frame-font): Tweak meaning of third argument.
3694
9f6e692e
JB
3695 * dynamic-setting.el (font-setting-change-default-font):
3696 Use set-frame-font (Bug#9982).
9f562668 3697
781acb9f
GM
36982012-02-01 Glenn Morris <rgm@gnu.org>
3699
6035be52
GM
3700 * progmodes/compile.el (compilation-internal-error-properties):
3701 Respect compilation-first-column in the "*compilation*" buffer.
3702
781acb9f
GM
3703 * emacs-lisp/easy-mmode.el (define-minor-mode):
3704 Relax :variable's test for a named function.
3705
abbceb00
AM
37062012-01-31 Alan Mackenzie <acm@muc.de>
3707
3708 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3709 off by one error.
3710
fce3fdeb
CY
37112012-01-31 Chong Yidong <cyd@gnu.org>
3712
3713 * frame.el (set-frame-font): New arg ALL-FRAMES.
3714
3715 * menu-bar.el (menu-set-font): Use set-frame-font.
3716
3717 * faces.el (face-spec-reset-face): Don't apply unspecified
3718 attribute values to the default face.
3719
47893581
JB
37202012-01-31 Juanma Barranquero <lekktu@gmail.com>
3721
3722 * progmodes/cwarn.el (cwarn): Remove dead link.
3723 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3724 Remove * from defcustom docstrings.
3725 (turn-on-cwarn-mode): Make obsolete.
3726 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3727 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3728
e58e988a
GM
37292012-01-31 Glenn Morris <rgm@gnu.org>
3730
60dc2671 3731 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3732 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3733 Allow named functions to be used as the cdr of :variable.
e58e988a 3734
7a3f511d
GM
37352012-01-30 Glenn Morris <rgm@gnu.org>
3736
3737 * emacs-lisp/authors.el (authors-fixed-entries):
3738 Remove reference to deleted file rnewspost.el.
3739
cb882333
JB
37402012-01-29 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * window.el (window-with-parameter): Remove unused variable `windows'.
3743 (window--side-check): Remove unused variable `code'.
3744 (window--resize-siblings): Remove unused variable `first'.
3745 (adjust-window-trailing-edge): Remove unused variable `failed'.
3746 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3747 Use `let', not `let*'.
3748 (balance-windows-2): Remove unused variable `found'.
3749 (window--state-put-2): Remove unused variable `splits'.
3750 (window-state-put): Remove unused variable `selected'.
3751 (same-window-p): Use `string-match-p'.
3752 (display-buffer-assq-regexp): Remove unused variable `value'.
3753 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3754 Mark argument ALIST as ignored.
3755 (pop-to-buffer): Remove unused variable `old-window'.
3756
907201af
EZ
37572012-01-29 Eli Zaretskii <eliz@gnu.org>
3758
3759 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3760 and .lzma compressed files.
3761
ea162670
CY
37622012-01-29 Chong Yidong <cyd@gnu.org>
3763
5b95ee8a
CY
3764 * frame.el (window-system-default-frame-alist): Doc fix.
3765
ea162670
CY
3766 * dynamic-setting.el (font-setting-change-default-font): Don't
3767 change the default face if SET-FONT argument is non-nil (Bug#9982).
3768
d6e6f4b1
SB
37692012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3770
3771 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3772
0f29fa41 37732012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3774
3775 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3776 breakpoints in files outside current directory (Bug#6098).
3777
db174434
CY
37782012-01-29 Chong Yidong <cyd@gnu.org>
3779
6b25e4e2
SE
3780 * progmodes/python.el: Require ansi-color at top-level.
3781
6df6ae42
JB
3782 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3783 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3784 (lisp-mode-abbrev-table): Add doc.
3785 (lisp-mode-variables): Don't set local-abbrev-table.
3786 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3787
e70ee681
RW
37882012-01-28 Roland Winkler <winkler@gnu.org>
3789
3790 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3791
ace88aa2
RW
37922012-01-28 Roland Winkler <winkler@gnu.org>
3793
3794 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3795 (bibtex-set-dialect): Use it. Either set global values of
3796 dialect-dependent variables or bind these variables buffer-locally
3797 (Bug#10254).
3798 (bibtex-mode): Call bibtex-set-dialect via
3799 hack-local-variables-hook.
eb864a71
LM
3800 (bibtex-dialect): Update docstring.
3801 Add safe-local-variable predicate.
ace88aa2
RW
3802 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3803 bibtex-set-dialect.
3804 (bibtex-mode-map): Define menu for each dialect.
3805 (bibtex-entry): Fix docstring.
3806
93376c5b
CY
38072012-01-28 Chong Yidong <cyd@gnu.org>
3808
3809 * eshell/esh-arg.el (eshell-quote-argument): New function.
3810
3811 * eshell/esh-ext.el (eshell-invoke-batch-file):
3812 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3813 first arg to eshell-parse-command (Bug#10523).
3814
4372494f
DA
38152012-01-28 Drew Adams <drew.adams@oracle.com>
3816
3817 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3818 `default-directory' is non-nil.
3819
4d4ec1f8
EZ
38202012-01-28 Eli Zaretskii <eliz@gnu.org>
3821
3822 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3823 line that displays system-configuration-options. (Bug#9924)
3824
7c188927
DA
38252012-01-28 Drew Adams <drew.adams@oracle.com>
3826
3827 * descr-text.el (describe-char): Show information about POS, in
3828 addition to information about the character at POS. Improve and
3829 update the doc string. Change "code point" to "code point in
3830 charset", to avoid confusion with the character's Unicode code
3831 point shown above that. (Bug#10129)
3832
e0da685a
EZ
38332012-01-28 Eli Zaretskii <eliz@gnu.org>
3834
3835 * descr-text.el (describe-char): Show the raw character, not only
3836 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3837 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3838 for the reasons.
3839
70550acf
PH
38402012-01-28 Phil Hagelberg <phil@hagelb.org>
3841
eb864a71
LM
3842 * emacs-lisp/package.el (package-install):
3843 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3844
0ce8e868
CY
38452012-01-28 Chong Yidong <cyd@gnu.org>
3846
cb882333
JB
3847 * emacs-lisp/package.el (package-maybe-load-descriptor):
3848 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3849 (package-maybe-load-descriptor): Use it.
3850 (package-download-transaction): Fully load required packages
3851 inside the loop, so that `require' calls work (Bug#10593).
3852 (package-install): No need to call package-initialize now.
3853
2e7f3bea
CY
38542012-01-28 Chong Yidong <cyd@gnu.org>
3855
6e9bad14
CY
3856 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3857
f823b8ca
CY
3858 * tooltip.el (tooltip-mode): Doc fix.
3859 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3860
2680c309
CY
3861 * frame.el (set-cursor-color): Doc fix (Bug#352).
3862
d7a9e63b
CY
3863 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3864 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3865
2e7f3bea
CY
3866 * cus-edit.el (custom-buffer-create-internal): Fix search button
3867 action (Bug#10542).
2ae01800 3868 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3869
fc4f7a23
EW
38702012-01-27 Eduard Wiebe <usenet@pusto.de>
3871
3872 * dired.el (dired-mark-files-regexp):
3873 Include any subdirectory components. (Bug#10445)
3874
7dd37071
ML
38752012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3876
3877 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3878 Handle [host]:port syntax. (Bug#10533)
3879
a268160b
AH
38802012-01-27 Alex Harsanyi <harsanyi@mac.com>
3881
3882 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3883
e43273ef
GM
38842012-01-26 Glenn Morris <rgm@gnu.org>
3885
3886 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3887 * term.el (term-raw-escape-map): Use Control-X-prefix.
3888 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3889
1edf595d
MR
38902012-01-25 Martin Rudalics <rudalics@gmx.at>
3891
3892 * window.el (window-state-get, window--state-get-1): Don't deal
3893 with fixed-sizeness of windows. Simplify code.
3894
fa8eafef
JC
38952012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3896
6df6ae42
JB
3897 * window.el (window--state-get-1, window--state-put-2):
3898 Don't save and restore the mark.
fa8eafef 3899
0b21c100
CY
39002012-01-25 Chong Yidong <cyd@gnu.org>
3901
3902 * custom.el (custom-variable-p): Doc fix.
3903
5ae1a6c8
GM
39042012-01-25 Glenn Morris <rgm@gnu.org>
3905
40047858
GM
3906 * dired.el (dired-goto-file): Handle some of the more common
3907 characters that `ls -b' escapes. (Bug#10596)
3908
5ddce96c
GM
3909 * progmodes/compile.el (compilation-next-error-function):
3910 Respect compilation-first-column in the "*compilation*" buffer.
3911 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3912
5ae1a6c8
GM
3913 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3914
b559f1a9
GM
39152012-01-24 Glenn Morris <rgm@gnu.org>
3916
3917 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3918
6725d21a
JD
39192012-01-24 Julien Danjou <julien@danjou.info>
3920
3921 * color.el (color-rgb-to-hsl): Fix value computing.
3922 (color-hue-to-rgb): New function.
3923 (color-hsl-to-rgb): New function.
3924 (color-clamp, color-saturate-hsl, color-saturate-name)
3925 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3926 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3927
70df4bbe
GM
39282012-01-24 Glenn Morris <rgm@gnu.org>
3929
3930 * vc/vc-rcs.el (vc-rcs-create-tag):
3931 * vc/vc-sccs.el (vc-sccs-create-tag):
3932 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3933
802a2ae2
ML
39342012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3935
3936 * eshell/esh-util.el (eshell-read-hosts-file):
3937 Skip comment lines. (Bug#10549)
3938
d7128bb1
ML
3939 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3940
d1a5c3b4
JB
39412012-01-23 Juanma Barranquero <lekktu@gmail.com>
3942
2724d9c7
JB
3943 * subr.el (display-delayed-warnings): Doc fix.
3944 (collapse-delayed-warnings): New function to collapse identical
3945 adjacent warnings.
3946 (delayed-warnings-hook): Add it.
d1a5c3b4 3947
a5509865
MA
39482012-01-22 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3951
3952 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3953 properties, when "login-as" is set.
3954
3955 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3956 (tramp-default-user-alist): Don't add "pscp".
3957 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3958 property "login-as", if set. (Bug#10530)
3959
cc6d5805
MA
39602012-01-21 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3963 "plink1" and "psftp". (Bug#10530)
3964
39652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3966
3967 * international/mule-cmds.el (prefer-coding-system): Show a
3968 warning message if the default value of file-name-coding-system
3969 was not changed.
3970
f0960428
JC
39712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3972
cb882333
JB
3973 * windmove.el (windmove-reference-loc):
3974 Fix windmove-reference-loc miscalculation.
f0960428 3975
dd6f2a63
JB
39762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3977
3978 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3979 default unit.
3980
7b447e9b
GM
39812012-01-21 Glenn Morris <rgm@gnu.org>
3982
117a9ea1
GM
3983 * international/mule.el (auto-coding-alist): Add .tbz.
3984
7b447e9b
GM
3985 * files.el (local-enable-local-variables): Doc fix.
3986 (inhibit-local-variables-regexps): Rename from
3987 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3988 Doc fix. Add some extensions from auto-coding-alist.
3989 (inhibit-local-variables-suffixes):
3990 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3991 (inhibit-local-variables-p):
3992 New function, extracted from set-auto-mode-1.
3993 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3994 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3995 (hack-local-variables): Doc fix. Make the mode-only case
3996 respect enable-local-variables and friends.
3997 Respect inhibit-local-variables-regexps for file-locals, but
3998 not for directory-locals.
3999 (set-visited-file-name):
4000 Take account of inhibit-local-variables-regexps.
4001 Whether it applies may change as the file name is changed.
4002 * jka-cmpr-hook.el (jka-compr-install):
4003 * jka-compr.el (jka-compr-uninstall):
4004 Update for inhibit-first-line-modes-suffixes name change.
4005
dd6e3cdd
MR
40062012-01-20 Martin Rudalics <rudalics@gmx.at>
4007
4008 * help-macro.el (make-help-screen): Temporarily restore original
4009 binding for minor-mode-map-alist (Bug#10454).
4010
0d0deb38
JD
40112012-01-19 Julien Danjou <julien@danjou.info>
4012
4013 * color.el (color-name-to-rgb): Use the white color to find the max
4014 color component value and return correctly computed values.
4015 (color-name-to-rgb): Add missing float conversion for max value.
4016
34a02f46
MR
40172012-01-19 Martin Rudalics <rudalics@gmx.at>
4018
4019 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4020 special state value for window-persistent-parameters.
4021 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4022 (window--state-put-2): Reset all window parameters to nil before
4023 assigning values of persistent parameters.
4024
606c44c4
AM
40252012-01-18 Alan Mackenzie <acm@muc.de>
4026
4027 Eliminate sluggishness and hangs in fontification of "semicolon
4028 deserts".
4029
cb882333
JB
4030 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4031 Change value 10000 -> 3000.
606c44c4
AM
4032 (c-state-safe-place): Reformulate so it doesn't stack up an
4033 infinite number of wrong entries in c-state-nonlit-pos-cache.
4034 (c-determine-limit-get-base, c-determine-limit): New functions to
4035 determine backward search limits disregarding literals.
4036 (c-find-decl-spots): Amend commenting.
4037 (c-cheap-inside-bracelist-p): New function which detects "={".
4038
4039 * progmodes/cc-fonts.el
4040 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4041 backward search.
4042 (c-font-lock-declarations): Fix an occurrence of point being
4043 undefined. Check additionally for point being in a bracelist or
4044 near a macro invocation without a semicolon so as to avoid a
4045 fruitless time consuming search for a declarator. Give a more
4046 precise search limit for declarators using the new
4047 c-determine-limit.
4048
f3860cea
GM
40492012-01-18 Glenn Morris <rgm@gnu.org>
4050
4051 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4052 (set-auto-mode): Doc fixes.
4053
1db03b16
GM
40542012-01-17 Glenn Morris <rgm@gnu.org>
4055
0e6038be
GM
4056 * isearch.el (search-nonincremental-instead): Fix doc typo.
4057
1db03b16
GM
4058 * dired.el (dired-insert-directory): Handle newlines in directory name.
4059 (dired-build-subdir-alist): Unescape newlines in directory name.
4060
4cb0aa75
MA
40612012-01-17 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4064 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4065 (tramp-action-terminal): Use it. (Bug#10530)
4066
1d00653d
SM
40672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4070
6a6ee00d
MR
40712012-01-16 Martin Rudalics <rudalics@gmx.at>
4072
4073 * window.el (window-state-ignored-parameters): Remove variable.
4074 (window--state-get-1): Rename argument MARKERS to IGNORE.
4075 Handle persistent window parameters. Make copy of clone-of
4076 parameter only if requested. (Bug#10348)
4077 (window--state-put-2): Install a window parameter only if it has
4078 a non-nil value or an existing parameter shall be overwritten.
4079
97912def
MA
40802012-01-15 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4083
688070a5
EZ
40842012-01-14 Eli Zaretskii <eliz@gnu.org>
4085
4086 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4087 don't pass the (nil) value of `upnode' to string-match.
4088
301afadc
CY
40892012-01-14 Chong Yidong <cyd@gnu.org>
4090
4091 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4092 Fix values recognized by the cursorBlink resource.
301afadc 4093
9e5788aa
PE
40942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4095
4096 * epg.el (epg--make-temp-file): Avoid permission race condition
4097 when running on old Emacs versions (bug#10403).
4098
3cdb7f5a
GM
40992012-01-14 Glenn Morris <rgm@gnu.org>
4100
4101 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4102
8c82b1b4
AM
41032012-01-13 Alan Mackenzie <acm@muc.de>
4104
4105 Fix filling for when filladapt mode is enabled.
4106
4107 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4108 c-mask-paragraph, pass in `fill-paragraph' rather than
4109 `fill-region-as-paragraph'. (This is a reversion of a previous
4110 change.)
eb864a71
LM
4111 * progmodes/cc-mode.el (c-basic-common-init):
4112 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4113
e517eda4
GM
41142012-01-13 Glenn Morris <rgm@gnu.org>
4115
1498536e
GM
4116 * dired.el (dired-switches-escape-p): New function.
4117 (dired-insert-directory): Use dired-switches-escape-p.
4118 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4119
e517eda4
GM
4120 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4121
328f984d
GM
41222012-01-12 Glenn Morris <rgm@gnu.org>
4123
4124 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4125 changes in adaptive-fill-regexp. (Bug#10276)
4126
2cc769a8
AM
41272012-01-11 Alan Mackenzie <acm@muc.de>
4128
4129 Fix Emacs bug #10463 - put `widen's around the critical spots.
4130
1d00653d 4131 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4132 widen around each invocation of c-state-pp-to-literal. Remove an
4133 unused let variable.
4134
e52c37fa
GM
41352012-01-11 Glenn Morris <rgm@gnu.org>
4136
4137 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4138 Doc fix.
e52c37fa 4139
96f8741e
CY
41402012-01-10 Chong Yidong <cyd@gnu.org>
4141
1d00653d
SM
4142 * net/network-stream.el (network-stream-open-starttls):
4143 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4144 response to the capability command.
4145
b09a806e
GM
41462012-01-10 Glenn Morris <rgm@gnu.org>
4147
4148 * mail/unrmail.el (unrmail): Tweak previous change.
4149
7655cb66
CY
41502012-01-09 Chong Yidong <cyd@gnu.org>
4151
4152 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4153
9d5a8f0b
AM
41542012-01-08 Alan Mackenzie <acm@muc.de>
4155
4156 Optimise font locking in long enum definitions.
4157
4158 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4159 arm to a cond form to handle enums.
4160 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4161 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4162
9a0115ab 41632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4164
4165 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4166 (Bug#10401)
6bb72cbd 4167
f186bb95
LMI
41682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169
29232a68
LMI
4170 * faces.el (set-face-attribute): Clarify the meaning of the nil
4171 frame (bug#10294).
4172
4e5d086d
LMI
4173 * subr.el (with-selected-frame): Mention that the selected frame
4174 is restored (bug#9980).
4175
8e66aebe
LMI
4176 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4177 (bug#9759).
4178
cd394be1 4179 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4180 (password-read): Don't autoload unused function.
4181
adf4e762
JB
41822012-01-07 Juanma Barranquero <lekktu@gmail.com>
4183
4184 * progmodes/which-func.el (which-func-mode): Turn into a
4185 non-interactive function and mark as obsolete (bug#10428).
4186
89bd9ccd
CY
41872012-01-06 Chong Yidong <cyd@gnu.org>
4188
4189 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4190 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4191 functions, along with 1 and -1.
4192
4afee9d5
EZ
41932012-01-06 Eli Zaretskii <eliz@gnu.org>
4194
4195 * time.el (display-time-load-average)
4196 (display-time-default-load-average): Doc fixes. See the thread
4197 starting at
4198 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4199 for the details.
4200
536aea70
GM
42012012-01-06 Glenn Morris <rgm@gnu.org>
4202
665ae865
GM
4203 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4204 has no messages. (Bug#10377)
4205
c869783d
GM
4206 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4207 than Info-edit. (Bug#10385)
4208
2bb4227e
GM
4209 * time.el (display-time-load-average, display-time-next-load-average):
4210 Doc fixes.
4211
7d5944b9
GM
4212 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4213 local setting of buffer-read-only to the input buffer. (Bug#10419)
4214
536aea70
GM
4215 * calendar/calendar.el (calendar-mode):
4216 Locally set scroll-margin to 0. (Bug#10379)
4217
7dccca16
UM
42182012-01-06 Ulrich Mueller <ulm@gentoo.org>
4219
4220 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4221
afbb7930
GM
42222012-01-05 Glenn Morris <rgm@gnu.org>
4223
4224 * eshell/em-unix.el (diff-no-select): Autoload it.
4225 (eshell/diff): Use diff-no-select. (Bug#10420)
4226
04482335
CY
42272012-01-05 Chong Yidong <cyd@gnu.org>
4228
7baca3bc
CY
4229 * shell.el (shell-dynamic-complete-functions): Revert last change.
4230 (shell-command-completion-function): New function.
4231 (shell-completion-vars): Use it to implement
4232 shell-completion-execonly (Bug#10417).
4233
04482335
CY
4234 * custom.el (enable-theme): Don't set custom-safe-themes.
4235
1d00653d
SM
4236 * cus-theme.el (custom-theme-merge-theme):
4237 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4238
bb5aa5d6
MM
42392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4240
4241 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4242 first prompt in `sql-interacive-mode'.
4243 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4244 keywords.
6df6ae42 4245 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4246 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4247 context of original buffer. Invoke `sql-login-hook'.
4248
a7183d7c
EZ
42492012-01-04 Eli Zaretskii <eliz@gnu.org>
4250
4251 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4252 letters in cite-prefix.
4253
a1eacd1e
LMI
42542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4255
4256 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4257
787cdb34
CY
42582012-01-03 Chong Yidong <cyd@gnu.org>
4259
1d00653d
SM
4260 * shell.el (shell-dynamic-complete-functions):
4261 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4262 comint-filename-completion first (Bug#10417).
4263
30710442
RS
42642012-01-02 Richard Stallman <rms@gnu.org>
4265
4266 * battery.el (battery-status-function):
4267 Detect when to use battery-yeeloong-sysfs.
4268 (battery-echo-area-format): Add string for Yeeloong.
4269 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4270 (battery-yeeloong-sysfs): New function.
4271
f75bfc33
CY
42722012-01-02 Chong Yidong <cyd@gnu.org>
4273
4274 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4275 (dirtrack): Merge code for handling relative filenames in prompt
4276 from shell-dir-cookie-watcher.
4277 (dirtrack-debug-message): New arg to avoid excess format calls.
4278
4279 * shell.el (shell-dir-cookie-re): Variable deleted.
4280 (shell-dir-cookie-watcher): Function deleted.
4281 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4282 with dirtrack-mode.
4283
651e947e
EZ
42842012-01-01 Eli Zaretskii <eliz@gnu.org>
4285
1d00653d
SM
4286 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4287 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4288 libgnutls-26.dll.
4289
94d4c7dc
AS
42902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4291
4292 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4293
8d43f3cd
EZ
42942011-12-31 Eli Zaretskii <eliz@gnu.org>
4295
4296 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4297 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4298
98c8795a
MA
42992011-12-29 Michael Albinus <michael.albinus@gmx.de>
4300
4301 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4302 also for alternative shells.
4303 (tramp-open-connection-setup-interactive-shell): Check, whether
4304 the shell is a busybox.
4305 (tramp-send-command): Don't suppress multiple prompts for
4306 busyboxes, it hurts.
4307
51281b32
CY
43082011-12-28 Chong Yidong <cyd@gnu.org>
4309
4310 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4311 (gdb-get-source-file): Move mode line update to
4312 gdb-get-source-file (Bug#10087).
4313
2170cb53
CY
43142011-12-25 Chong Yidong <cyd@gnu.org>
4315
4316 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4317 gud-gdb-marker-filter without taking it as an argument.
4318 (gud-gdb-run-command-fetch-lines): Caller changed.
4319 (gud-gdb-completion-function): New variable.
4320 (gud-gdb-completion-at-point): Use it.
4321 (gud-gdb-completions-1): Split from gud-gdb-completions.
4322
4323 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4324 function as separate arguments.
4325 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4326 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4327 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4328 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4329 (gdb-stopped, def-gdb-auto-update-trigger)
4330 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4331 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4332 Callers changed.
2170cb53
CY
4333 (gud-gdbmi-completions): New function.
4334 (gdb): Use it for generating the completion table.
4335
be8b11bb
AM
43362011-12-24 Alan Mackenzie <acm@muc.de>
4337
4338 Introduce a mechanism to widen the region used in context font
1d00653d 4339 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4340
1d00653d
SM
4341 * progmodes/cc-langs.el (c-before-font-lock-functions):
4342 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4343 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4344 functions to be run just before context (etc.) font locking.
4345
4346 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4347 New, functionality extracted from
be8b11bb 4348 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4349 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4350 (c-after-change): Set c-in-after-change-fontification.
4351 (c-set-fl-decl-start): Rejig its interface, so it can be called
4352 from both after-change and context fontifying.
b81d40f0
JB
4353 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4354 New functions.
4355 (c-standard-font-lock-fontify-region-function): New variable.
4356 (c-font-lock-fontify-region): New function.
be8b11bb 4357
341cf6ac
JL
43582011-12-24 Juri Linkov <juri@jurta.org>
4359
4360 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4361 (Bug#10348)
4362
bffcee0a
MA
43632011-12-23 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4366 existence of source file. (Bug#10325)
4367
cb5e207c
AM
43682011-12-23 Alan Mackenzie <acm@muc.de>
4369
4370 Fix unstable fontification inside templates.
4371
b81d40f0
JB
4372 * progmodes/cc-langs.el (c-before-font-lock-functions):
4373 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4374 additionally has c-set-fl-decl-start. The other languages (apart
4375 from AWK) have that as a single entry.
4376
b81d40f0
JB
4377 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4378 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4379 c-set-fl-decl-start.
4380
b81d40f0
JB
4381 * progmodes/cc-mode.el (c-common-init, c-after-change):
4382 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4383 (c-set-fl-decl-start): New function, extracted from
4384 c-font-lock-enclosing-decls and enhanced.
4385
60ff536c
JB
43862011-12-23 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4389
1c4757d6
JL
43902011-12-22 Juri Linkov <juri@jurta.org>
4391
4392 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4393
d031f2c7
CY
43942011-12-22 Chong Yidong <cyd@gnu.org>
4395
4396 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4397
bace743a
DA
43982011-12-21 Drew Adams <drew.adams@oracle.com>
4399
4400 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4401
728a1f2b
JC
44022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4403
4404 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4405
0d373f73
TZ
44062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4407
fec0aaa4
TZ
4408 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4409 highlighting and support. Fix up comments for capitalization.
4410 (cfengine-mode-debug): New var.
4411 (cfengine3-mode): Change the modeline indicator to "CFE3".
4412 (cfengine3-font-lock-keywords): Improve defun highlighting.
4413 (cfengine2-actions): Rename from `cfengine-actions'.
4414 (cfengine2-font-lock-keywords): Rename from
4415 `cfengine-font-lock-keywords'.
4416 (cfengine2-imenu-expression): Rename from
4417 `cfengine-imenu-expression'.
4418 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4419 (cfengine2-beginning-of-defun): Rename from
4420 `cfengine-beginning-of-defun'.
4421 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4422 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4423 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4424 modeline indicator to "CFE2".
4425 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4426 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4427
bc86f573
CY
44282011-12-21 Chong Yidong <cyd@gnu.org>
4429
4430 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4431 filename argument.
4432
d45ba96b
MR
44332011-12-20 Martin Rudalics <rudalics@gmx.at>
4434
4435 * window.el (window-normalize-buffer-to-display): Remove.
4436 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4437
a6198c90
CY
44382011-12-19 Chong Yidong <cyd@gnu.org>
4439
4440 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4441 Don't signal an error in a predicate function; return non-nil.
4442 (vc-dir-mark-file): Move the error here.
4443 (vc-dir-mark-unmark): If acting on the region, keep going if one
4444 of the entries cannot be marked/unmarked.
4445 (vc-dir-mark-all-files): If current entry is a directory, mark
4446 only child files, as documented.
4447
34c5fb55
VB
44482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4449
4450 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4451 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4452 addition.
4453
c803b2b7
JD
44542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4455
4456 * term/ns-win.el (ns-get-selection-internal)
4457 (ns-store-selection-internal): Declare.
1154d12e
JB
4458 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4459 Declare as obsolete.
4460 (ns-get-pasteboard, ns-paste-secondary):
4461 Use ns-get-selection-internal.
4462 (ns-set-pasteboard, ns-copy-including-secondary):
4463 Use ns-store-selection-internal.
c803b2b7 4464
9cff91f8 44652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4466
4467 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4468 (vc-deduce-fileset): Doc fix.
99a289d9 4469
f16c898a
AS
44702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4471
4472 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4473
763237c4
SS
44742011-12-13 Sam Steingold <sds@gnu.org>
4475
4476 * man.el (Man-getpage-in-background): When running under a
4477 window-system, ignore $MANWIDTH and $COLUMNS.
4478
5fc1c122
KH
44792011-12-15 Kenichi Handa <handa@m17n.org>
4480
4481 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4482 (setup-ethiopic-environment-internal): Comment out key-binding for
4483 ethio-toggle-punctuation.
4484
13d49cbb
AM
44852011-12-13 Alan Mackenzie <acm@muc.de>
4486
898169a2
AM
4487 Add the switch statement to AWK Mode.
4488
7a71b18d 4489 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4490 "default" to the keywords regexp.
4491
7a71b18d 4492 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4493 expression as the rest.
1d00653d
SM
4494 (c-nonlabel-token-key): Allow string literals for AWK.
4495 Refactor for the other modes.
898169a2 4496
13d49cbb 4497 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4498 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4499 routines. Limit backward searching in c-font-lock-enclosing.decl.
4500
4501 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4502 pp-state and literal type in addition to the limits.
1d00653d 4503 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4504 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4505 (c-slow-in-literal, c-fast-in-literal): Remove.
4506 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4507
4508 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4509 being in a literal. Add a limit for backward searching.
4510
4511 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4512 c-slow-in-literal.
4513
15e0efc7
SM
45142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4517
454592a6
MR
45182011-12-13 Martin Rudalics <rudalics@gmx.at>
4519
4520 * window.el (delete-other-windows): Use correct frame in call to
4521 window-with-parameter.
4522
87393f26
DP
45232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4524
4525 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4526 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4527 (makefile-gmake-statements, makefile-makepp-statements):
4528 Use it and add new makepp keywords.
4529 (makefile-makepp-font-lock-keywords): Add new patterns.
4530 (makefile-match-function-end): Match new [...] and [[...]].
4531
11636b22
JB
45322011-12-11 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * ses.el (ses-call-printer-return, ses-cell-property-get)
4535 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4536 (ses-create-cell-variable, ses-reset-header-string)
4537 (ses-cell-set-formula, ses-repair-cell-reference-all)
4538 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4539 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4540 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4541 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4542 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4543 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4544 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4545 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4546 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4547 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4548 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4549 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4550
cf018193
VB
45512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4552
4553 * ses.el: The overall change is to add cell renaming, that is
4554 setting fancy names for cell symbols other than name matching
4555 "\\`[A-Z]+[0-9]+\\'" regexp .
4556 (ses-create-cell-variable): New defun.
4557 (ses-relocate-formula): Relocate formulas only for cells the
4558 symbols of which are not renamed, i.e. symbols whose names do not
4559 match regexp "\\`[A-Z]+[0-9]+\\'".
4560 (ses-relocate-all): Relocate values only for cells the symbols of
4561 which are not renamed.
4562 (ses-load): Create cells variables as the (ses-cell ...) are read,
4563 in order to check row col consistency with cell symbol name only
4564 for cells that are not renamed.
4565 (ses-replace-name-in-formula): New defun.
4566 (ses-rename-cell): New defun.
4567
ee957461
CY
45682011-12-11 Chong Yidong <cyd@gnu.org>
4569
4570 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4571 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4572
9a9e9ef0
MR
45732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4574
4575 * window.el (other-window): Fix docstring.
4576
92a8eba5
EZ
45772011-12-10 Eli Zaretskii <eliz@gnu.org>
4578
4579 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4580 `from' or `to' address before taking its substring.
4581 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4582 encoded name is chopped in the middle of the encoded string, and
4583 thus displayed encoded.
4584
e152e577
JB
45852011-12-10 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4588
e5d84bfe
EZ
45892011-12-10 Eli Zaretskii <eliz@gnu.org>
4590
4591 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4592 to use texinfo-update-node and commands that call it if the
4593 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4594 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4595 (texinfo-all-menus-update, texinfo-master-menu)
4596 (texinfo-update-node, texinfo-every-node-update)
4597 (texinfo-multiple-files-update): Doc fix. Warn against updating
4598 all the @node lines.
4599 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4600 argument is numeric. Explain better in the doc string what the
4601 function really does.
4602 (texinfo-insert-master-menu-list): Improve the error message
4603 displayed if there's no menu in the Top node.
4604 (Bug#2975) See also this thread:
e5d84bfe
EZ
4605 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4606
1d84e9bb
MG
46072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4608
4609 * speedbar.el (speedbar-supported-extension-expressions):
4610 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4611
382c953b
JB
46122011-12-09 Juanma Barranquero <lekktu@gmail.com>
4613
4614 * printing.el (pr-mode-alist):
4615 * simple.el (filter-buffer-substring-functions)
4616 (completion-list-insert-choice-function):
4617 * window.el (window-with-parameter, window-atom-root)
4618 (window-sides-slots, window-size-fixed, window-min-delta)
4619 (window-max-delta, window--resize-mini-window)
4620 (window--resize-child-windows-normal, window-tree)
4621 (delete-other-windows, quit-window, split-window)
4622 (display-buffer-record-window, special-display-buffer-names)
4623 (special-display-regexps, special-display-popup-frame)
4624 (same-window-p, split-window-sensibly)
4625 (display-buffer-overriding-action, display-buffer-alist)
4626 (display-buffer-base-action, display-buffer, switch-to-buffer)
4627 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4628 (fit-window-to-buffer, recenter-positions)
4629 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4630 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4631 and remove unneeded backslashes in docstrings.
4632
39c9faef
SM
46332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4634
98449af8
SM
4635 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4636
39c9faef
SM
4637 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4638 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4639 end in ".mk".
4640 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4641 when reading the makefile (bug#10116).
4642
86ed9fdc
SM
46432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4646 (bug#10116).
4647
5580f89d
GM
46482011-12-06 Glenn Morris <rgm@gnu.org>
4649
4650 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4651
28d3917c
CY
46522011-12-06 Chong Yidong <cyd@gnu.org>
4653
4654 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4655
a98edce9
JB
46562011-12-06 Juanma Barranquero <lekktu@gmail.com>
4657
4658 * textmodes/table.el (table-shorten-cell): Fix typo.
4659
e65adfac
CG
46602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4661
4662 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4663
71cc0b74
EZ
46642011-12-05 Eli Zaretskii <eliz@gnu.org>
4665
4666 * descr-text.el (describe-char): Fix display of strong
4667 right-to-left characters and directional embeddings and overrides.
4668
4669 * simple.el (what-cursor-position): Fix display of codepoints of
4670 strong right-to-left characters.
4671
315bc30d
CY
46722011-12-05 Chong Yidong <cyd@gnu.org>
4673
4674 * faces.el (read-color): Doc fix.
4675
58a70b94
GM
46762011-12-05 Glenn Morris <rgm@gnu.org>
4677
4678 * align.el (align--set-marker): Add doc-string.
4679 Don't try to move something that is not a marker. (Bug#10216)
4680
5158face
GM
46812011-12-04 Glenn Morris <rgm@gnu.org>
4682
4683 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4684 overly zealous deletion of trailing whitespace.
4685
520fca41
JB
46862011-12-04 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * server.el (server-delete-client): On Windows, do not try to delete
4689 the only terminal.
4690 (server-process-filter): On Windows, treat requests for a tty frame as
4691 if they were for a GUI frame if the running server is in GUI mode.
4692
5e605a2e
GM
46932011-12-03 Glenn Morris <rgm@gnu.org>
4694
4695 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4696
5c3fe83f
SM
46972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4698
6f5e57e7
SM
4699 * electric.el: Streamline electric-indent's hook.
4700 (electric-indent-chars): Revert to simple list.
4701 (electric-indent-functions): New var.
4702 (electric-indent-post-self-insert-function): Use it.
4703
5c3fe83f
SM
4704 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4705 there's no inferior buffer (bug#10196).
4706 (prolog-consult-compile): Don't use toggle-read-only.
4707
6bdac736
MA
47082011-12-02 Michael Albinus <michael.albinus@gmx.de>
4709
4710 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4711 interrupt. (Bug#10187)
4712
6131ba7f
SM
47132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4714
99c79fee
SM
4715 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4716 (bug#9160).
4717
6131ba7f
SM
4718 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4719 (bug#10191).
4720
cb0a02ea
JL
47212011-12-02 Juri Linkov <juri@jurta.org>
4722
4723 * info.el (Info-search): Display "end of manual" when Isearch
4724 reaches the end of single-file Info manual. (Bug#9918)
4725
66e0570c
EZ
47262011-12-02 Eli Zaretskii <eliz@gnu.org>
4727
4728 * isearch.el (isearch-message-prefix): Run the input method part
4729 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4730
02b16839
JL
47312011-12-02 Juri Linkov <juri@jurta.org>
4732
4733 * isearch.el (isearch-occur): Use `word-search-regexp' for
4734 `isearch-word'.
4735 (isearch-search-and-update): Add condition for `isearch-word' and
4736 call `word-search-regexp'. (Bug#10145)
4737
0b950688
GM
47382011-12-01 Glenn Morris <rgm@gnu.org>
4739
4740 * eshell/em-hist.el (eshell-hist-initialize):
4741 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4742 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4743
9505c3c7
SM
47442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4747
1bbe96b2 47482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4749
a1beca85
SM
4750 * progmodes/verilog-mode.el (verilog-pretty-expr):
4751 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4752 verilog, such as += *= and the like.
4753 (verilog-assignment-operator-re): Regular expression to find the
4754 assigment operator in a verilog assignment.
4755 (verilog-assignment-operation-re): Regular expression to find an
4756 assignment statement for pretty-expr.
4757 (verilog-in-attribute-p): Query returns true if point is in an
4758 attribute context; used to skip these for expression line up from
4759 pretty-expr.
4760 (verilog-in-parameter-p): Query returns true if point is in an
4761 parameter definition context; used to skip these for expression
4762 line up from pretty-expr.
4763 (verilog-in-parenthesis-p): Query returns true if point is in a
4764 parenthetical expression, specifically ( ) but not [ ] or { };
4765 used by pretty-expr.
4766 (verilog-just-one-space): If there is no space, don't add one.
4767 (verilog-get-lineup-indent-2): Specifically skip just attribute
4768 contexts for expression lineup, rather than skipping all
4769 parenthetical expressions.
4770 (verilog-calculate-indent): Fix comment, and fix indent.
4771 (verilog-do-indent): Indent declarations in lists (suggested by
4772 Joachim Lechner).
4773 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4774 skeleton items.
4775 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4776 by Alain Mellan).
4777
1bbe96b2 47782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4779
4780 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4781 parameters with embedded comments. Reported by Ray Stevens.
4782 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4783 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4784 Reported by Tim Holt.
4785 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4786 instantiated by upper module causing wrong expansion until AUTOed a
4787 second time. Reported by K C Buckenmaier.
4788 (verilog-diff-auto): Fix showing .* as a difference when
4789 `verilog-auto-star-save' off. Reported by Dan Dever.
4790 (verilog-auto-reset, verilog-read-always-signals)
4791 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4792 temporary signals in reset list if
4793 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4794 style to each signal's assignment type, bug381.
4795 Reported by Thomas Esposito.
6288f0ca
WS
4796 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4797 (verilog-uvm-statement-re): Support UVM indentation and
4798 highlighting, with old OVM keywords only.
a1beca85 4799 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4800 Support AUTOTIEOFF creating non-wire data types.
4801 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4802 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4803 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4804 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4805 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4806 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4807 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4808 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4809 non-numeric vector width. Reported by Alex Reed.
4810 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4811 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4812 (verilog-auto-delete-trailing-whitespace):
4813 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4814 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4815 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4816 Fix verilog-scan-cache corruption when running user AUTO expansion
4817 hooks that call indentation routines.
4818 (verilog-simplify-range-expression): Fix typo ignoring lower case
4819 identifiers.
4820 (verilog-delete-auto): Fix delete-autos to also remove user created
4821 automatics, as long as they start with AUTO.
4822 (verilog-batch-diff-auto, verilog-diff-auto)
4823 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4824 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4825 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4826 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4827 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4828 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4829 is disabled and its cache will get corrupt, causing AUTOS not to
4830 expand. Instead use only -quick functions.
4831 (verilog-scan-region): Fix scanning over escaped quotes.
4832 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4833 (verilog-re-search-backward-quick)
4834 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4835 related functions now ignore strings, to fix misparsing of strings
4836 with magic comments embedded in them.
a1beca85
SM
4837 (verilog-read-auto-template):
4838 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4839 Reported by Brad Dobbie.
4840 (verilog-read-auto-template):
4841 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4842 Reported by Brad Dobbie.
6288f0ca
WS
4843 (verilog-auto-inst, verilog-auto-inst-param)
4844 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4845 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4846 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4847 debugging templates without merge conflicts, bug357.
4848 Reported by Brad Dobbie.
4849 (verilog-read-auto-template):
4850 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4851 Reported by Brad Dobbie.
4852 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4853 abbrevs so user won't be asked to save.
4854 (verilog-read-auto-lisp-present): Fix to start at beginning of
4855 buffer in case called outside of verilog-auto.
4856 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4857 to "X-2". Reported by Matthew Myers.
4858 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4859 all inputs from module templates. Reported by Leith Johnson.
4860 (verilog-module-inside-filename-p): Fix locating programs as with
4861 modules.
4862 (verilog-auto-inst-port): Fix vl-width expressions when using
4863 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4864 (verilog-decls-get-regs, verilog-decls-get-signals,
4865 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4866 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4867 verilog-read-decls): Combine reg and wire structures into one var
4868 structure to represent SystemVerilog concepts.
4869 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4870 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4871 (verilog-auto-wire-type, verilog-insert-definition):
4872 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4873 SystemVerilog "logic" keyword instead of "wire"/"reg".
4874 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4875 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4876 ifdef or generate if so there's not a driver conflict).
4877 Reported by Matthew Myers.
4878 (verilog-auto-declare-nettype, verilog-insert-definition):
4879 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4880 `default_nettype none. Reported by Julian Gorfajn.
4881 (verilog-read-always-signals-recurse, verilog-read-decls)
4882 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4883 malformed end statement, bug325. Reported by Joshua Wise and
4884 Andrew Drake.
4885 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4886 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4887 when expanding .* in interfaces, bug320.
4888 Reported by Pierre-David Pfister.
6288f0ca 4889 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4890 name and open parenthesis, bug317.
4891 Reported by Pierre-David Pfister.
6288f0ca
WS
4892 (verilog-simplify-range-expression): Fix simplification of
4893 multiplications inside AUTOWIRE connections, bug303.
4894 (verilog-auto-inst-port): Support parameter expansion in
4895 multidimensional arrays.
4896 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4897 after "assert property". Reported by Julian Gorfajn.
4898 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4899 with multiplication, bug303.
4900 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4901 Reported by Jan Frode Lonnum.
4902
1bbe96b2
GM
49032011-11-30 Juanma Barranquero <lekktu@gmail.com>
4904
4905 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4906 (hfy-shell-file-name, hfy-shell):
4907 * international/fontset.el (x-decompose-font-name): Fix typos.
4908
49092011-11-29 Ken Brown <kbrown@cornell.edu>
4910
4911 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4912 (gdb-version): Remove defvar.
4913 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4914 (gdb-gud-context-command, gdb-non-stop-handler)
4915 (gdb-current-context-command, gdb-stopped): Use it.
4916 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4917 (gdb-non-stop-handler): Don't enable pretty-printing here.
4918 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4919 non-stop mode. Use the following.
4920 (gdb-check-target-async): New defun.
4921 (gud-watch, gdb-stopped): Fix whitespace.
4922 (gdb-get-source-file): Don't try to display the source file if
4923 `gdb-main-file' is nil.
4924
49252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * align.el: Try to generate fewer markers (bug#10047).
4928 (align--set-marker): New macro.
4929 (align-region): Use it.
4930
c935221f
SM
49312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4934
e70b5064
CY
49352011-11-29 Chong Yidong <cyd@gnu.org>
4936
4937 * indent.el (indent-for-tab-command, indent-according-to-mode):
4938 Doc fix.
4939 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4940
f3af92b7
MA
49412011-11-29 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4944 aware of remote file names. (Bug#10124)
4945
ed472be9
CY
49462011-11-29 Chong Yidong <cyd@gnu.org>
4947
4948 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4949
24510c22
SM
49502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * files.el (find-file): Don't use force-same-window (bug#10144).
4953 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4954 use pop-to-buffer if the selected window can't be used.
4955 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4956
c60c3703
EZ
49572011-11-28 Eli Zaretskii <eliz@gnu.org>
4958
4959 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4960 special-mode-map.
4961
e95def75
CY
49622011-11-28 Chong Yidong <cyd@gnu.org>
4963
4964 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4965
c3f1c606
NR
49662011-11-27 Nick Roberts <nickrob@snap.net.nz>
4967
4968 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4969 gdb-get-source-file-list on gdb-create-source-file-list.
4970
00db469c
EZ
49712011-11-26 Eli Zaretskii <eliz@gnu.org>
4972
4973 * whitespace.el (whitespace-newline): Use a different foreground
4974 color for 16-color light-background displays.
4975
4ad3bc2a
CY
49762011-11-24 Chong Yidong <cyd@gnu.org>
4977
4978 * window.el (display-buffer--special-action): Doc fix.
4979
e9fce1ac
JB
49802011-11-25 Juanma Barranquero <lekktu@gmail.com>
4981
4982 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4983 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4984 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4985 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4986 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4987 (avl-tree-stack-first):
4988 * emacs-lisp/cconv.el (cconv--analyse-use):
4989 * net/gnutls.el (gnutls-negotiate): Fix typos.
4990
cb825e5d
GM
49912011-11-24 Glenn Morris <rgm@gnu.org>
4992
3adbe224
GM
4993 * lpr.el (lpr-windows-system, lpr-lp-system):
4994 * mail/binhex.el (binhex-begin-line):
4995 * progmodes/grep.el (grep-history, grep-find-history):
4996 * textmodes/flyspell.el:
4997 * vc/pcvs-defs.el (cvs-global-menu):
4998 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4999 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5000 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5001
321decc8
GM
5002 * net/tls.el: Fix case of "GnuTLS".
5003
420b63ad
GM
5004 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5005
cb825e5d
GM
5006 * version.el (emacs-build-system): Give it a doc-string.
5007
a0649f08
JL
50082011-11-24 Juri Linkov <juri@jurta.org>
5009
5010 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5011
c0bc0fd4
GM
50122011-11-24 Glenn Morris <rgm@gnu.org>
5013
5014 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5015 if called on a non-mime message just toggle the headers. (Bug#8006)
5016
20db1522
JB
50172011-11-24 Juanma Barranquero <lekktu@gmail.com>
5018
5019 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5020 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5021 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5022 (allout-rebullet-heading, allout-open-sibtopic)
5023 (allout-toggle-current-subtree-encryption)
5024 (allout-toggle-subtree-encryption, allout-encrypt-string)
5025 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5026 (allout-distinctive-bullets-string, allout-auto-activation):
5027 * window.el (window-normalize-buffer-to-display):
5028 * progmodes/verilog-mode.el (verilog-batch-indent):
5029 * textmodes/bibtex.el (bibtex-field-braces-opt)
5030 (bibtex-field-strings-opt):
5031 * vc/cvs-status.el (cvs-tree-merge):
5032 Fix typos.
5033
7262a87c
MA
50342011-11-23 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5037 `non-essential' to t, in order to avoid remote connections.
5038
283430a1
EZ
50392011-11-23 Eli Zaretskii <eliz@gnu.org>
5040
a1beca85
SM
5041 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5042 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5043 case-insensitively.
5044
d2992a38
ML
50452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5046
5047 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5048
50419064
GM
50492011-11-23 Glenn Morris <rgm@gnu.org>
5050
da94eca1
GM
5051 * paths.el (rmail-file-name): Reformat the doc-string so that it
5052 is picked up.
5053
9aac4de2
GM
5054 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5055 (rmail-auto-file): Ignore case in the "special" field names,
5056 as mail-fetch-field does for all others.
5057
8038d2d2
GM
5058 * mail/rmail.el (rmail-forward):
5059 * mail/rmailkwd.el (rmail-set-label):
5060 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5061 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5062
f3fe222a
GM
5063 * mail/rmail.el (rmail-current-message): Doc fix.
5064
50419064
GM
5065 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5066
28109f49
SM
50672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5070
394c65f1
GM
50712011-11-22 Glenn Morris <rgm@gnu.org>
5072
5073 * mail/rmailmm.el (test-rmail-mime-handler)
5074 (test-rmail-mime-bulk-handler)
5075 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5076
f2a0aa3a
JL
50772011-11-21 Juri Linkov <juri@jurta.org>
5078
1154d12e
JB
5079 * calc/calc.el (calc-read-key-sequence):
5080 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5081
9c34a344
LMI
50822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5083
5084 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5085 Tell the caller that the next line needs recomputation, even
5086 though it doesn't start a sexp (bug#10094).
5087
f04a3be9
SM
50882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5091
7978747f
SM
50922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5093
f04a3be9
SM
5094 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5095 Use force-same-window.
7978747f 5096
fe7a3057
JB
50972011-11-20 Juanma Barranquero <lekktu@gmail.com>
5098
5099 * descr-text.el (describe-char-unicode-data):
5100 * json.el (json-string-escape):
5101 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5102 (Footnote-unicode, Footnote-style-p):
5103 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5104
24901d61
CY
51052011-11-20 Chong Yidong <cyd@gnu.org>
5106
5107 * window.el (replace-buffer-in-windows): Restore interactive spec.
5108
bac7ff22
SM
51092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5110
24f3d7b9
SM
5111 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5112
bac7ff22
SM
5113 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5114 (byte-compile-global-not-obsolete-vars): New var.
5115 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5116 Use it.
5117 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5118
cd1181db
JB
51192011-11-20 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5122 * progmodes/pascal.el (electric-pascal-equal):
5123 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5124 * xml.el (xml-substitute-special): Fix typos.
5125
7fb18e9e
GM
51262011-11-20 Glenn Morris <rgm@gnu.org>
5127
5128 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5129 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5130 Doc fixes.
5131 (rmail-decode-mime-charset): Mark as obsolete.
5132
5133 * mail/rmailsum.el (rmail-message-regexp-p-1):
5134 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5135 Before using mime functions, check they are set. (Bug#10077)
5136
d5a6b3ba
JL
51372011-11-19 Juri Linkov <juri@jurta.org>
5138
5139 * info.el (Info-finder-find-node): Use `package--builtins' instead
5140 of `package-alist'. Use node names formed by the pattern "Keyword "
5141 and the keyword name.
5142
e981b61f
AS
51432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5144
1d00653d 5145 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5146
3ffbc301
JL
51472011-11-19 Juri Linkov <juri@jurta.org>
5148
5149 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5150 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5151 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5152 `old-history', `old-history-forward'. Add let-binding
5153 `window-selected'. Remove calls to `kill-buffer',
5154 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5155 before calling `Info-find-node', so `Info-find-node-2' will reread
5156 the Info file. Restore window positions only when `window-selected'
5157 is non-nil.
5158
30c62133
JL
51592011-11-19 Juri Linkov <juri@jurta.org>
5160
5161 * isearch.el (isearch-lazy-highlight-new-loop):
5162 Remove condition `(not isearch-error)'. (Bug#9918)
5163
5164 * misearch.el (multi-isearch-search-fun): Add condition
5165 `(not bound)' to ignore lazy-highlighting search.
5166 Add the search-failed message "end of multi" when the end of
5167 multi-sequence is reached. Uncapitalize the search-failed
5168 message "Repeat for next buffer".
5169
5170 * info.el (Info-search): Add the search-failed message
5171 "end of the manual" when the end of the manual is reached
5172 in Isearch mode.
5173
645ca9cf
JL
51742011-11-19 Juri Linkov <juri@jurta.org>
5175
5176 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5177 Use non-destructive `remove' instead of `delete' because
5178 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5179 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5180
df754f66
JL
51812011-11-19 Juri Linkov <juri@jurta.org>
5182
5183 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5184 to nil instead of binding `search-ring' and `regexp-search-ring'.
5185 (Bug#9185)
5186
0e23d96a
EZ
51872011-11-19 Eli Zaretskii <eliz@gnu.org>
5188
5189 * simple.el (line-move): Force movement by logical lines for any
5190 hscrolled window, not only when auto-hscroll-mode is on.
5191 (line-move-visual): Update doc string to that effect. (Bug#10076)
5192
8a6ccb66
AS
51932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 * language/european.el (macintosh): Define as alias for mac-roman.
5196
49ae5b39
EZ
51972011-11-19 Eli Zaretskii <eliz@gnu.org>
5198
5199 * mail/rmailmm.el (rmail-mime-display-header)
5200 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5201 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5202 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5203 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5204 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5205 of a raw aref.
5206 (rmail-mime-entity-segment): To get past the tagline, move forward
5207 2 more lines, to account for the 2 empty lines that precede and
5208 follow the line with the buttons.
5209 (rmail-mime-update-tagline): Move one more line, to get past the
5210 empty line that follows the buttons in the tagline. (Bug#9520)
5211
c56cad4a
MR
52122011-11-19 Martin Rudalics <rudalics@gmx.at>
5213
5214 * window.el (window-max-delta-1, window-min-delta-1)
5215 (window-min-size-1, window-state-get-1, window-state-put-1)
5216 (window-state-put-2): Use "window--" prefix.
5217
cbe71af3
SM
52182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5219
2ad52c60
SM
5220 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5221 (smie-warning-count): New var.
5222 (smie-set-prec2tab): Use it.
5223 (smie-bnf->prec2): Improve warnings. Add docstring.
5224 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5225 (smie-bnf--set-class): New function.
5226 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5227 corner case.
5228
6944dbc1
SM
5229 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5230 (compilation-error-properties, compilation-move-to-column):
5231 Handle compilation-first-column while in the target buffer.
5232
c400c4d7
SM
5233 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5234 Don't hardcode point-min==1.
5235
6dbe3e96
SM
5236 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5237 (eshell-rewrite-for-command): Remove workaround.
5238 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5239 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5240 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5241
cbe71af3
SM
5242 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5243
a8e1496d
GM
52442011-11-17 Glenn Morris <rgm@gnu.org>
5245
5246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5247 Ignore buffer-local generated-autoload-file if it is the same
5248 as the global value. (Bug#10049)
5249
df85d315
JB
52502011-11-17 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5253 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5254 (reftex-toc-previous-heading, reftex-toc-max-level)
5255 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5256 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5257 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5258 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5259 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5260 (reftex-toc-rename-label, reftex-toc-visit-location)
5261 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5262 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5263 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5264 leaving "*toc*" only for references to the buffer.
5265
a0c2d0ae
MR
52662011-11-17 Martin Rudalics <rudalics@gmx.at>
5267
5268 * window.el (window-resize, delete-window, split-window):
5269 Replace window-splits by window-combination-resize.
1d00653d 5270 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5271
35c0bac8
GM
52722011-11-17 Glenn Morris <rgm@gnu.org>
5273
5274 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5275 Make bash entry derive from sh entry, not shell entry.
5276
d0c8fc8a
MA
52772011-11-16 Michael Albinus <michael.albinus@gmx.de>
5278
d0c8fc8a
MA
5279 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5280 properties of linked files. (Bug#9879)
5281
7262a87c
MA
5282 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5283 local file name.
5284
7877f373
JB
52852011-11-16 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * menu-bar.el (menu-bar-file-menu):
5288 * printing.el (pr-ps-utility):
5289 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5290 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5291 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5292 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5293 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5294 (icalendar--convert-cyclic-to-ical)
5295 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5296 (icalendar--convert-ical-to-diary)
5297 (icalendar--convert-recurring-to-diary)
5298 (icalendar--convert-non-recurring-all-day-to-diary)
5299 (icalendar-import-format-sample):
5300 * progmodes/idlw-shell.el (idlwave-shell-mode):
5301 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5302 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5303 (vhdl-ps-print-init): Fix typos.
5304
10649b82
KM
53052011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5306
9d0cfcd6
GM
5307 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5308 FSF and collapse date sequence, obscure author/maintainer email address
5309 better, remove extra version line, track relocation of author's webpage.
10649b82 5310
9d0cfcd6
GM
5311 * progmodes/python.el (python-pdbtrack-input-prompt)
5312 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5313 regular python pdb prompts. Adjustments shamelessly taken exactly as
5314 suggested in EmacsWiki page (tiny change):
5315 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5316
58179cce
JB
53172011-11-16 Juanma Barranquero <lekktu@gmail.com>
5318
5319 * expand.el (expand-pos, expand-index, expand-point):
5320 Remove redundant info from docstring.
5321 (expand-add-abbrevs): Doc fix.
5322 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5323 (expand-sample-perl-mode-expand-list): Fix typos.
5324
5325 * net/dbus.el (dbus-event-member-name):
5326 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5327 * term/pc-win.el (msdos-create-frame-with-faces):
5328 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5329
b6f67890
MR
53302011-11-16 Martin Rudalics <rudalics@gmx.at>
5331
5332 * window.el (split-window, window-state-get-1)
5333 (window-state-put-1, window-state-put-2): Rename occurrences of
5334 window-nest to window-combination-limit.
1d00653d 5335 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5336
ce7ddba0
CY
53372011-11-16 Chong Yidong <cyd@gnu.org>
5338
5339 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5340 regexp (Bug#10033).
5341
3ae704f4
SM
53422011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5345 `completing-read' will remove *Completions* and will preserve
5346 current-buffer for us.
5347 (tmm-add-prompt): Users of *Completions* will always (re)set its
5348 major mode.
5349 (tmm-old-comp-map): Remove.
5350
6ad1cdde
GM
53512011-11-16 Glenn Morris <rgm@gnu.org>
5352
5353 * mail/rmailedit.el: Require rmailmm when compiling.
5354 (rmail-old-mime-state): New declaration.
5355 (rmail-edit-current-message): If editing a mime message,
5356 edit the "raw" message from the mbox buffer.
5357 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5358
d20faa20
GM
53592011-11-15 Glenn Morris <rgm@gnu.org>
5360
5361 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5362 which wasn't being used. Add optional arg to force given state.
5363 (rmail-mime): Add optional arg to force given state.
5364
c7015153
JB
53652011-11-15 Juanma Barranquero <lekktu@gmail.com>
5366
5367 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5368 * frame.el (display-mm-dimensions-alist):
5369 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5370 (outline-move-subtree-down):
5371 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5372 (newsticker--treeview-do-get-node):
5373 * net/quickurl.el (quickurl-list-buffer-name):
5374 * progmodes/dcl-mode.el (dcl-mode):
5375 * progmodes/gdb-mi.el (gdb-mapcar*):
5376 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5377
45261b50
GM
53782011-11-15 Glenn Morris <rgm@gnu.org>
5379
5380 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5381 in a boolean sense, so just make it a boolean, and fix the doc.
5382 (rmail-show-mime-function, rmail-mime-feature)
5383 (rmail-require-mime-maybe): Doc fixes.
5384 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5385
5386 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5387
0d26e0b6
JB
53882011-11-15 Juanma Barranquero <lekktu@gmail.com>
5389
5390 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5391 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5392 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5393 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5394
447f30f6
GM
53952011-11-15 Glenn Morris <rgm@gnu.org>
5396
672b871d
GM
5397 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5398 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5399 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5400 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5401 (rmail-mime, rmail-show-mime): Doc fixes.
5402
f6aa5bb1
GM
5403 * term/ns-win.el (mode-line-frame-identification):
5404 Leave it alone. (Bug#10051)
5405
947cd66b
GM
5406 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5407
447f30f6
GM
5408 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5409 Handle empty buffers. (Bug#9978)
5410
0b381c7e
JB
54112011-11-14 Juanma Barranquero <lekktu@gmail.com>
5412
5413 * international/mule.el (define-charset):
5414 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5415 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5416 * progmodes/verilog-mode.el (verilog-backward-token):
5417 * textmodes/ispell.el (lookup-words):
5418 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5419
71e027ac
GM
54202011-11-14 Glenn Morris <rgm@gnu.org>
5421
56632ce4
GM
5422 * progmodes/executable.el
5423 (executable-make-buffer-file-executable-if-script-p):
5424 Handle file-modes returning nil.
5425
40500957
GM
5426 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5427 message - not necessary, and causes problems. (Bug#9831)
5428
071c2340
GM
5429 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5430
d3cfca60
GM
5431 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5432
71e027ac
GM
5433 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5434 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5435 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5436
89d61221
MR
54372011-11-12 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (window-resize, delete-window): Use window-splits
5440 variable instead of function.
5441 (window-state-get-1, window-state-put-2, window-state-put):
5442 Don't deal with windows' splits status.
5443
98282f6f
GM
54442011-11-12 Glenn Morris <rgm@gnu.org>
5445
5446 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5447 (apropos-documentation): Doc fixes.
5448
40a8bdf6
JB
54492011-11-11 Juanma Barranquero <lekktu@gmail.com>
5450
5451 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5452 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5453
65bd19ff
SM
54542011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * electric.el (electric-indent-post-self-insert-function): Make it
5457 possible for a char to only indent in some circumstances.
5458 (electric-indent-mode): Simplify.
5459
54f9154c
MR
54602011-11-11 Martin Rudalics <rudalics@gmx.at>
5461
5462 * window.el (windows-with-parameter): Remove unused function.
5463 (windows-at-side): Rename to window-at-side-list.
5464 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5465 (window-side-check, window-size-ignore, window-size-fixed-1)
5466 (window-in-direction-2): Prefix with "window--".
5467 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5468
68cbc58b
GM
54692011-11-11 Glenn Morris <rgm@gnu.org>
5470
5471 * subr.el (eval-after-load): If FILE is already loaded,
5472 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5473
b2621720
GM
54742011-11-10 Glenn Morris <rgm@gnu.org>
5475
9a4de110
GM
5476 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5477 Call svn via vc-svn-command rather than vc-do-command.
5478 (vc-svn-command): Add --non-interactive. (Bug#9993)
5479 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5480
b2621720
GM
5481 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5482 Add toggle-read-only. (Bug#7292)
5483 * files.el (toggle-read-only): Mention that it should only
5484 be used interactively. (Bug#10006)
5485
1dce7193
SM
54862011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5487
d9ac1a1e
SM
5488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5489 Adjust regexp for OCaml warnings.
5490
0c325082
SM
5491 * electric.el (electric-pair-post-self-insert-function): Let user
5492 turn it off buffer-locally (bug#9932).
5493
90132c14
SM
5494 * progmodes/python.el (python-beginning-of-statement):
5495 Rewrite (bug#2703).
5496
1dce7193
SM
5497 * progmodes/compile.el: Better handle TABs (bug#9749).
5498 (compilation-internal-error-properties)
5499 (compilation-next-error-function): Obey the target buffer's
5500 compilation-error-screen-columns.
5501
c4e7c63a
JB
55022011-11-09 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * progmodes/meta-mode.el: Remove obsolete comments.
5505 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5506 Fix typos in docstrings.
5507
2cffd681
MR
55082011-11-09 Martin Rudalics <rudalics@gmx.at>
5509
5510 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5511 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5512 (window--resizable): New function. Make all callers of
5513 window-resizable call window--resizable instead.
5514 (window-resizable): Rewrite in terms of window--resizable.
5515
0edcba87
GM
55162011-11-08 Glenn Morris <rgm@gnu.org>
5517
5518 * progmodes/delphi.el (delphi-mode-syntax-table):
5519 Let define-derived-mode define a proper syntax table. (Bug#9994)
5520
4b0d61e3
SM
55212011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * window.el: Stay away from defsubst.
5524 (window-list-no-nils): Remove.
5525 (window-state-get-1, window-state-get): Use backquote instead.
5526
cd394be1 55272011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5528
4b0d61e3 5529 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5530 Fix incorrect use of default argument in `completing-read'.
5531
e1c2c6f2
MR
55322011-11-08 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (display-buffer-function, special-display-function):
5535 Mention display-buffer-record-window but do not mention
5536 help-setup parameter in doc-strings.
b3f4a882 5537 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5538
105216ed
CY
55392011-11-08 Chong Yidong <cyd@gnu.org>
5540
5541 * window.el (window-total-height, window-total-width): Doc fix.
5542 (window-body-size): Move from C.
5543 (window-body-height, window-body-width): Move to C.
5544
0a9f9ab5
SM
55452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * window.el: Make special-display like display-buffer-alist (bug#9532).
5548 (display-buffer--special-action): New function, morphed
5549 from display-buffer--special.
5550 (display-buffer): Use it to handle special-display-buffers at higher
5551 priority (just after display-buffer-alist).
5552 (display-buffer-fallback-action, display-buffer--other-frame-action)
5553 (pop-to-buffer-same-window): Remove display-buffer--special.
5554
a769dd15
GM
55552011-11-07 Glenn Morris <rgm@gnu.org>
5556
5557 * calendar/cal-menu.el (cal-menu-set-date-title):
5558 Do nothing if not in a calendar. (Bug#9976)
5559
05a61ee3
SM
55602011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * files.el (find-file): Always use selected-window.
5563
be7f5545
MR
55642011-11-07 Martin Rudalics <rudalics@gmx.at>
5565
5566 * window.el (window-combinations): Make WINDOW argument
5567 mandatory. Rewrite doc-string.
5568 (walk-window-subtree, window-atom-check, window-min-delta)
5569 (window-max-delta, window--resize-this-window)
5570 (window--resize-root-window-vertically, window-tree)
5571 (balance-windows, window-state-put): Rewrite doc-strings as to
5572 not mention the term "subwindow".
5573 (window--resize-subwindows-skip-p): Rename to
5574 window--resize-child-windows-skip-p.
5575 (window--resize-subwindows-normal): Rename to
5576 window--resize-child-windows-normal.
5577 (window--resize-subwindows): Rename to
5578 window--resize-child-windows.
5579 (window-or-subwindow-p): Rename to window--in-subtree-p.
5580
3c6702ef
ML
55812011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5582
5583 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5584 Ensure that mbox format messages end in two newlines (Bug#9974).
5585
49745b39
CY
55862011-11-06 Chong Yidong <cyd@gnu.org>
5587
5588 * window.el (window-combination-p): Function deleted; its
5589 side-effect is not used in any existing code.
5590 (window-combinations, window-combined-p): Call window-*-child
5591 directly.
5592
24300f5f
CY
55932011-11-05 Chong Yidong <cyd@gnu.org>
5594
5595 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5596 (window-size-ignore, window-state-get): Callers changed.
5597 (window-normalize-window): Rename from window-normalize-any-window.
5598 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5599 (window-normalize-live-window): Delete.
447f16b8
CY
5600 (window-combination-p, window-combined-p, window-combinations)
5601 (walk-window-subtree, window-atom-root, window-min-size)
5602 (window-sizable, window-sizable-p, window-size-fixed-p)
5603 (window-min-delta, window-max-delta, window-resizable)
5604 (window-resizable-p, window-full-height-p, window-full-width-p)
5605 (window-current-scroll-bars, window-point-1, set-window-point-1)
5606 (window-at-side-p, window-in-direction, window-resize)
5607 (adjust-window-trailing-edge, maximize-window, minimize-window)
5608 (window-deletable-p, delete-window, delete-other-windows)
5609 (record-window-buffer, unrecord-window-buffer)
5610 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5611 (quit-window, split-window, window-state-put)
5612 (set-window-text-height, fit-window-to-buffer)
5613 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5614
89bd5ee1
EZ
56152011-11-04 Eli Zaretskii <eliz@gnu.org>
5616
53479029
EZ
5617 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5618 rfc2047-decode-string.
5619 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5620 warnings.
5621
89bd5ee1
EZ
5622 * window.el (window-body-height, window-body-width): Mention in
5623 the doc string that the return values are in frame's canonical
5624 units. (Bug#9949)
5625
bd17fdee
AM
56262011-11-03 Alan Mackenzie <acm@muc.de>
5627
5628 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5629 change in cc-engine.el.
5630
acc825c5
SM
56312011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5634
1885e5b8
MR
56352011-11-02 Martin Rudalics <rudalics@gmx.at>
5636
5637 * window.el (quit-window): Call unrecord-window-buffer after
5638 showing another buffer in the window. (Bug#9937)
acc825c5 5639 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5640
ebe06da9
JB
56412011-11-02 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5644 Accept status with more than 9 shelves. (Bug#9935)
5645 Reported by Colin D Bennett <colin@gibibit.com>.
5646
4ee88440
MR
56472011-11-01 Martin Rudalics <rudalics@gmx.at>
5648
5649 * help.el (with-help-window): Don't reference
5650 temp-buffer-show-specifiers in doc-string.
5651
08e1d82c
AS
56522011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5653
5654 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5655 menu-item.
5656
84bd6e9e
VJL
56572011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5658
5659 * whitespace.el: New version 13.2.2.
5660 (whitespace-newline-mode): Disable properly. Reported by Sarah
5661 <EmacsWiki>.
5662
dba0634a
UJ
56632011-10-30 Ulf Jasper <ulf.jasper@web.de>
5664
5665 * net/newst-treeview.el: Remove "Time-stamp".
5666 (newsticker--group-manage-orphan-feeds): Do not call
5667 newsticker--treeview-tree-update.
db22a3c2
JB
5668 (newsticker-treeview-update, newsticker-treeview):
5669 Call newsticker--treeview-tree-update if necessary.
dba0634a 5670
3d8daefe
MR
56712011-10-30 Martin Rudalics <rudalics@gmx.at>
5672
5673 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5674 (window-iso-combinations): Remove "iso-" infix.
5675 Suggested by Chong Yidong.
3d8daefe
MR
5676 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5677 (window-max-delta-1, window-resize, window--resize-siblings)
5678 (window--resize-this-window, adjust-window-trailing-edge)
5679 (split-window, balance-windows-1)
5680 (shrink-window-if-larger-than-buffer):
5681 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5682 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5683
1bc4c3ae
SM
56842011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5687 in place (bug#9907).
5688 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5689 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5690 (eshell-structure-basic-command, eshell-rewrite-while-command)
5691 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5692 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5693 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5694 (eshell-do-pipelines-synchronously, eshell-eval-command):
5695 Use backquotes and prefer setq to set.
5696 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5697 (eshell-macrop): Use functionp.
c1e2f5fa 5698 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5699
30b65d9c
CY
57002011-10-30 Chong Yidong <cyd@gnu.org>
5701
5702 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5703 instead of set-mark (Bug#9810).
5704
2d197ffb
CY
57052011-10-30 Chong Yidong <cyd@gnu.org>
5706
5707 * window.el (split-window-below, split-window-right): Rename from
5708 split-window-above-each-other and split-window-side-by-side
5709 respectively. All callers changed.
5710 (split-window-sensibly, split-window-sensibly): Use them.
5711 (split-window-keep-point): Doc fix.
5712
5713 * isearch.el: Add isearch-scroll property to split-window-below
5714 and split-window-right.
5715
5716 * follow.el (follow-mode):
5717 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5718 * progmodes/ada-xref.el (ada-gdb-application):
5719 * emulation/vip.el (vip-buffer-in-two-windows):
5720 * image-dired.el (image-dired-dired-with-window-configuration):
5721 * dired-x.el (dired-do-find-marked-files):
5722 * dired.el (dired-pop-to-buffer):
5723 * bs.el (bs--show-with-configuration):
5724 * vc/emerge.el (emerge-setup-windows):
5725 * textmodes/two-column.el (2C-two-columns):
5726 * textmodes/reftex-toc.el (reftex-toc):
5727 * progmodes/gdb-mi.el (gdb-setup-windows):
5728 * progmodes/fortran.el (fortran-window-create):
5729 * net/newst-treeview.el (newsticker--treeview-window-init):
5730 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5731 * emulation/tpu-edt.el (tpu-gold-map):
5732 * emulation/crisp.el (crisp-mode-map):
5733 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5734
38bb2ca8
CY
57352011-10-29 Chong Yidong <cyd@gnu.org>
5736
aa4de341
CY
5737 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5738
e1eb5385
CY
5739 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5740
5d2ece3c
CY
5741 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5742 forged Ispell output (Bug#7904).
5743
38bb2ca8
CY
5744 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5745
d0af9f77
SM
57462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * doc-view.el: Avoid ugly errors about not finding nil.
5749 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5750 (doc-view-dvipdf-program, doc-view-unoconv-program)
5751 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5752 Avoid nil or absolute file name as default value.
5753 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5754
52bedd34
AM
57552011-10-28 Alan Mackenzie <acm@muc.de>
5756
db22a3c2 5757 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5758
7e43cfa5
AM
57592011-10-28 Alan Mackenzie <acm@muc.de>
5760
5761 Amend the handling of c-beginning/end-of-defun in nested declaration
5762 scopes.
5763
52bedd34
AM
5764 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5765 cc-langs.el. Change it to a defcustom.
7e43cfa5 5766
52bedd34
AM
5767 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5768 cc-vars.el.
7e43cfa5 5769
d0af9f77
SM
5770 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5771 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5772
52bedd34 5773 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5774 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5775 (c-widen-to-enclosing-decl-scope): New function.
5776 (c-while-widening-to-decl-block): New macro.
5777 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5778 outward for defun boundaries, and correspondingly change symbol
5779 `respect-enclosure' to `go-outward'.
5780 (c-declaration-limits): Change algorithm to report only the "innermost"
5781 defun's boundaries.
5782
1a2ce9ee
DD
57832011-10-28 Deniz Dogan <deniz@dogan.se>
5784
5785 * net/rcirc.el (rcirc-mode): Use hard newlines.
5786
bc97a826
AM
57872011-10-28 Alan Mackenzie <acm@muc.de>
5788
5789 Amend to indent and fontify macros "which include their own semicolon"
5790 correctly, using the "virtual semicolon" mechanism.
5791
52bedd34 5792 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5793
d0af9f77 5794 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5795 Recode to scan one line at a time rather than having \n and \r
58179cce 5796 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5797 (c-forward-label): Amend for virtual semicolons.
58179cce 5798 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5799
52bedd34
AM
5800 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5801 of the new C macros.
bc97a826 5802
52bedd34 5803 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5804 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5805 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5806 (c-opt-cpp-macro-define): Make into a full language variable.
5807 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5808 AWK Mode (including \n, \r) removed, no longer needed.
5809
d0af9f77
SM
5810 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5811 Invoke c-make-macro-with-semi-re.
bc97a826 5812
52bedd34
AM
5813 * progmodes/cc-vars.el (c-macro-with-semi-re):
5814 (c-macro-names-with-semicolon): New variables.
58179cce 5815 (c-make-macro-with-semi-re): New function.
bc97a826 5816
7a6c0941
SM
58172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * vc/log-edit.el: Fill empty field rather than adding new one.
5820 (log-edit-add-field): New function.
5821 (log-edit-insert-changelog): Use it.
5822
b0c4cdcf
ML
58232011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5824
5825 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5826
ee1f1da9
SM
58272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5830 (gdb--check-interpreter): New function.
5831 (gdb): Use it.
5832
51bc5f8b
GM
58332011-10-27 Glenn Morris <rgm@gnu.org>
5834
416a2c45
GM
5835 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5836 (least-positive-float, least-negative-float)
5837 (least-positive-normalized-float, least-negative-normalized-float)
5838 (float-epsilon, float-negative-epsilon):
5839 Remove unnecessary declarations.
5840
5841 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5842 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5843 (least-positive-float, least-negative-float)
5844 (least-positive-normalized-float, least-negative-normalized-float)
5845 (float-epsilon, float-negative-epsilon): Add doc-strings,
5846 based on those in cl.texi.
5847
51bc5f8b
GM
5848 * files.el (set-visited-file-name): If the major-mode changed,
5849 reload the local variables. (Bug#9796)
5850
15de15c6
CY
58512011-10-27 Chong Yidong <cyd@gnu.org>
5852
5853 * subr.el (change-major-mode-after-body-hook): New hook.
5854 (run-mode-hooks): Run it.
5855
ee1f1da9
SM
5856 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5857 Use change-major-mode-before-body-hook.
15de15c6
CY
5858
5859 * simple.el (fundamental-mode):
5860 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5861 change introducing fundamental-mode-hook.
5862
5430d399
JB
58632011-10-26 Juanma Barranquero <lekktu@gmail.com>
5864
acc825c5 5865 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5866
ad74a69e
MA
58672011-10-26 Michael Albinus <michael.albinus@gmx.de>
5868
5869 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5870 tramp.el explicitly. (Bug#7583)
ad74a69e 5871
71d4c2a5
SM
58722011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * progmodes/octave-mod.el:
5875 * progmodes/octave-inf.el: Update maintainer.
5876
b1f6fa26
CY
58772011-10-26 Chong Yidong <cyd@gnu.org>
5878
5879 * subr.el (with-wrapper-hook): Rewrite doc.
5880
3f04efd6
MA
58812011-10-25 Michael Albinus <michael.albinus@gmx.de>
5882
5883 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5884 filenames "/method:foo:". (Bug#9793)
3f04efd6 5885
410488d3
SM
58862011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5889 (bug#9865).
5890
c1ebb47e
GM
58912011-10-24 Glenn Morris <rgm@gnu.org>
5892
5893 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5894
7f5c46c7
MA
58952011-10-24 Michael Albinus <michael.albinus@gmx.de>
5896
5897 * notifications.el: Add the requirement of a running D-Bus session
5898 bus to the Commentary.
5899
db2440b6
JL
59002011-10-24 Juri Linkov <juri@jurta.org>
5901
5902 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5903 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5904 (Bug#9364)
5905
feecf435
JL
59062011-10-24 Juri Linkov <juri@jurta.org>
5907
5908 * info.el (Info-following-node-name-re): Add newline to the list
5909 of allowed characters for leading space. (Bug#9824)
5910
a3839de2
SM
59112011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5912
acc825c5
SM
5913 * progmodes/octave-inf.el (inferior-octave-mode-map):
5914 Fix C-c C-h binding.
a3839de2
SM
5915 * progmodes/octave-mod.el (octave-help): Remove.
5916
09388e76
MA
59172011-10-23 Michael Albinus <michael.albinus@gmx.de>
5918
5919 Sync with Tramp 2.2.3.
5920
5921 * net/tramp-cache.el (top): Pacify byte-compiler using
5922 `init-file-user' and `site-run-file'.
5923
5924 * net/trampver.el: Update release number.
5925
86c60681
CY
59262011-10-23 Chong Yidong <cyd@gnu.org>
5927
5928 * files.el (toggle-read-only): Remove obsolete comment about
5929 version control.
5930
5931 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5932 for toggle-read-only. Note that this hasn't called vc-next-action
5933 since 2008-05-02, though it wasn't documented at the time.
5934
a3839de2
SM
5935 * vc/ediff-init.el (ediff-toggle-read-only-function):
5936 Use toggle-read-only.
86c60681 5937
cd5495ff
AM
59382011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5939
5940 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5941 of c-parse-state.
5942
00b77525 5943 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5944 correct faulty logical expression.
cd5495ff
AM
5945 (c-parse-state-state, c-record-parse-state-state):
5946 (c-replay-parse-state-state): New defvar/defuns.
5947 (c-debug-parse-state): Use new functions.
5948
42ee24ed
MR
59492011-10-22 Martin Rudalics <rudalics@gmx.at>
5950
5951 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5952 last fix. Use window-in-direction correctly.
42ee24ed 5953
a7dee7e7
CY
59542011-10-21 Chong Yidong <cyd@gnu.org>
5955
5956 * progmodes/idlwave.el (idlwave-mode):
5957 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5958 require-final-newline; that's done in prog-mode.
5959 Suggested by Stefan Monnier.
a7dee7e7 5960
e07b9a6d
MR
59612011-10-21 Martin Rudalics <rudalics@gmx.at>
5962
5963 * mouse.el (mouse-drag-window-above)
5964 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5965 (mouse-drag-mode-line-1, mouse-drag-header-line)
5966 (mouse-drag-vertical-line-rightward-window): Remove.
5967 (mouse-drag-line): New function.
5968 (mouse-drag-mode-line, mouse-drag-header-line)
5969 (mouse-drag-vertical-line): Call mouse-drag-line.
5970 * window.el (window-at-side-p, windows-at-side): New functions.
5971
7e1361d9
UM
59722011-10-21 Ulrich Mueller <ulm@gentoo.org>
5973
5974 * tar-mode.el (tar-grind-file-mode):
5975 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5976
30fcaf3a
CY
59772011-10-21 Chong Yidong <cyd@gnu.org>
5978
5979 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5980 * progmodes/vera-mode.el (vera-mode):
5981 Use mode-require-final-newline.
30fcaf3a 5982
516eddb0
GM
59832011-10-20 Glenn Morris <rgm@gnu.org>
5984
db22a3c2 5985 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5986
10d5f513
CS
59872011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5988
5989 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5990
ac6c8639
CY
59912011-10-20 Chong Yidong <cyd@gnu.org>
5992
5993 * emulation/cua-base.el (cua-mode):
5994 * mail/footnote.el (footnote-mode):
5995 * mail/mailabbrev.el (mail-abbrevs-mode):
5996 * net/xesam.el (xesam-minor-mode):
5997 * progmodes/bug-reference.el (bug-reference-mode):
5998 * progmodes/cap-words.el (capitalized-words-mode):
5999 * progmodes/compile.el (compilation-minor-mode)
6000 (compilation-shell-minor-mode):
6001 * progmodes/gud.el (gud-tooltip-mode):
6002 * progmodes/hideif.el (hide-ifdef-mode):
6003 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6004 * progmodes/subword.el (subword-mode):
6005 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6006 * progmodes/which-func.el (which-function-mode):
6007 * term/tvi970.el (tvi970-set-keypad-mode):
6008 * term/vt100.el (vt100-wide-mode):
6009 * textmodes/flyspell.el (flyspell-mode):
6010 * textmodes/ispell.el (ispell-minor-mode):
6011 * textmodes/nroff-mode.el (nroff-electric-mode):
6012 * textmodes/paragraphs.el (use-hard-newlines):
6013 * textmodes/refill.el (refill-mode):
6014 * textmodes/reftex.el (reftex-mode):
6015 * textmodes/rst.el (rst-minor-mode):
6016 * textmodes/sgml-mode.el (html-autoview-mode)
6017 (sgml-electric-tag-pair-mode):
6018 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6019 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6020 * emulation/crisp.el (crisp-mode):
6021 * emacs-lisp/eldoc.el (eldoc-mode):
6022 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6023 minor mode behavior.
6024
aa42ab43
JL
60252011-10-19 Juri Linkov <juri@jurta.org>
6026
6027 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6028 the list of hard-coded chars with escape-glyph face.
6029
89400f1d
SM
60302011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6033
305c07f6
MA
60342011-10-19 Michael Albinus <michael.albinus@gmx.de>
6035
6036 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6037 running process.
6038
13754b54
GM
60392011-10-19 Glenn Morris <rgm@gnu.org>
6040
6041 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6042 Ignore ignored files. (Bug#9726)
6043
06e21633
CY
60442011-10-19 Chong Yidong <cyd@gnu.org>
6045
6046 Doc fix for minor modes, stating that an omitted argument enables
6047 the mode unconditionally when called from Lisp.
6048
6049 * abbrev.el (abbrev-mode):
6050 * allout.el (allout-mode):
6051 * autoinsert.el (auto-insert-mode):
6052 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6053 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6054 (global-auto-revert-mode):
6055 * battery.el (display-battery-mode):
6056 * composite.el (global-auto-composition-mode)
6057 (auto-composition-mode):
6058 * delsel.el (delete-selection-mode):
6059 * desktop.el (desktop-save-mode):
6060 * dired-x.el (dired-omit-mode):
6061 * dirtrack.el (dirtrack-mode):
6062 * doc-view.el (doc-view-minor-mode):
6063 * double.el (double-mode):
6064 * electric.el (electric-indent-mode, electric-pair-mode):
6065 * emacs-lock.el (emacs-lock-mode):
6066 * epa-hook.el (auto-encryption-mode):
6067 * follow.el (follow-mode):
6068 * font-core.el (font-lock-mode):
6069 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6070 * help.el (temp-buffer-resize-mode):
6071 * hilit-chg.el (highlight-changes-mode)
6072 (highlight-changes-visible-mode):
6073 * hi-lock.el (hi-lock-mode):
6074 * hl-line.el (hl-line-mode, global-hl-line-mode):
6075 * icomplete.el (icomplete-mode):
6076 * ido.el (ido-everywhere):
6077 * image-file.el (auto-image-file-mode):
6078 * image-mode.el (image-minor-mode):
6079 * iswitchb.el (iswitchb-mode):
6080 * jka-cmpr-hook.el (auto-compression-mode):
6081 * linum.el (linum-mode):
6082 * longlines.el (longlines-mode):
6083 * master.el (master-mode):
6084 * mb-depth.el (minibuffer-depth-indicate-mode):
6085 * menu-bar.el (menu-bar-mode):
6086 * minibuf-eldef.el (minibuffer-electric-default-mode):
6087 * mouse-sel.el (mouse-sel-mode):
6088 * msb.el (msb-mode):
6089 * mwheel.el (mouse-wheel-mode):
6090 * outline.el (outline-minor-mode):
6091 * paren.el (show-paren-mode):
6092 * recentf.el (recentf-mode):
6093 * reveal.el (reveal-mode, global-reveal-mode):
6094 * rfn-eshadow.el (file-name-shadow-mode):
6095 * ruler-mode.el (ruler-mode):
6096 * savehist.el (savehist-mode):
6097 * scroll-all.el (scroll-all-mode):
6098 * scroll-bar.el (scroll-bar-mode):
6099 * server.el (server-mode):
6100 * shell.el (shell-dirtrack-mode):
6101 * simple.el (auto-fill-mode, transient-mark-mode)
6102 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6103 (line-number-mode, column-number-mode, size-indication-mode)
6104 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6105 * strokes.el (strokes-mode):
6106 * time.el (display-time-mode):
6107 * t-mouse.el (gpm-mouse-mode):
6108 * tool-bar.el (tool-bar-mode):
6109 * tooltip.el (tooltip-mode):
6110 * type-break.el (type-break-mode-line-message-mode)
6111 (type-break-query-mode):
6112 * view.el (view-mode):
6113 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6114 (global-whitespace-mode, global-whitespace-newline-mode):
6115 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6116
a3839de2
SM
6117 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6118 Fix autogenerated docstring.
06e21633 6119
5214e501
JL
61202011-10-19 Juri Linkov <juri@jurta.org>
6121
6122 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6123 by checking environment variables "DESKTOP_SESSION" and
6124 "XDG_CURRENT_DESKTOP". (Bug#9779)
6125
195f8db9
JL
61262011-10-19 Juri Linkov <juri@jurta.org>
6127
6128 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6129 (browse-url-chromium-program, browse-url-chromium-arguments):
6130 New defcustoms.
6131 (browse-url-default-browser): Check for `browse-url-chromium' and
6132 call `browse-url-chromium-program'.
6133 (browse-url-chromium): New command. (Bug#9779)
6134
343a34ff
JB
61352011-10-18 Juanma Barranquero <lekktu@gmail.com>
6136
6137 * facemenu.el (list-colors-duplicates): On Windows, detect more
6138 duplicates by assuming that only colors matching "^System" are
6139 special "system colors". (Bug#9722)
6140
6978a151
SM
61412011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6144 to distinguish the author from the committer.
6145
6a80b297
MA
61462011-10-18 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6149
b31a5677
JK
61502011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6151
6152 * international/mule.el (sgml-html-meta-auto-coding-function):
6153 Add support for detecting encoding in HTML5 specified only as
6154 <meta charset="UTF-8">. Implementation just makes http-equiv and
6155 content-type parts from HTML4 encoding string optional. (Bug#9716)
6156
80c6d77f
GM
61572011-10-18 Glenn Morris <rgm@gnu.org>
6158
6159 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6160
08b0fee8
CY
61612011-10-18 Chong Yidong <cyd@gnu.org>
6162
6163 * faces.el (cursor): Doc fix.
6164
67e729a5
CY
61652011-10-17 Chong Yidong <cyd@gnu.org>
6166
6167 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6168
343a34ff 61692011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6170
6171 * dirtrack.el (dirtrack): Support shell buffers with path
6172 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6173
0bc06380
TZ
61742011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6175
6176 * json.el: Bump version to 1.3 and note change in History.
6177 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6178
8b79f3e0
SM
61792011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6180
5a7c536b
SM
6181 * comint.el (comint-insert-input, comint-send-input)
6182 (comint-get-old-input-default, comint-backward-matching-input)
6183 (comint-next-prompt): Use nil instead of `input' for field property of
6184 past user input (bug#114).
6185
96a8a0df
SM
6186 * minibuffer.el (completion--replace): Inherit surrounding properties
6187 (bug#114).
6188 (minibuffer-complete-and-exit): Use it.
6189
8b79f3e0
SM
6190 * comint.el (comint--table-subvert): Quote the all-completions output
6191 (bug#9160).
6192
b8f7ff0d
MR
61932011-10-17 Martin Rudalics <rudalics@gmx.at>
6194
8b79f3e0 6195 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6196
b8f7ff0d 6197 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6198 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6199 entries and separate them from frame entries.
6200
c235b555
GM
62012011-10-15 Glenn Morris <rgm@gnu.org>
6202
6203 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6204 Doc fixes.
6205
6bbfa6e1
CY
62062011-10-15 Chong Yidong <cyd@stupidchicken.com>
6207
8b79f3e0
SM
6208 * net/network-stream.el (network-stream-open-starttls):
6209 Improve detection of failure due to lack of TLS support.
ec5c990d 6210
6bbfa6e1
CY
6211 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6212 putting the input text in front and in bold.
6213
98488977
SM
62142011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6215
3d1337be
SM
6216 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6217
ee0b45e4
SM
6218 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6219 empty buffer.
6220
98488977
SM
6221 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6222 unread-command-events rather than pushing yet-another event.
6223
186f4720
EZ
62242011-10-14 Eli Zaretskii <eliz@gnu.org>
6225
6226 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6227 the explanation of the possible choices. Make the options passed
6228 to completing-read shorter.
6229
8b7a997c
AM
62302011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6231
6232 * textmodes/flyspell.el (flyspell-large-region): Make sure
6233 extended character mode is used if defined (Bug#1339).
6234
12587bbb
EZ
62352011-10-13 Eli Zaretskii <eliz@gnu.org>
6236
6237 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6238 character info for LRE, LRO, RLE, and RLO characters by appending
6239 an invisible PDF.
12587bbb 6240
bad41229
SM
62412011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6244 even in case of error; add debug spec; simplify data flow.
6245 (with-timeout-handler): Remove.
6246
28dbc92f
MA
62472011-10-12 Michael Albinus <michael.albinus@gmx.de>
6248
6249 Fix Bug#6019, Bug#9315.
6250
6251 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6252 complete `buffer-file-name', the local file name part could look
6253 remotely (for example on VMS).
6254
6255 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6256 `tramp-run-real-handler'.
6257 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6258 already quoted by '"'.
6259
6260 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6261 Let `file-name-handler-alist' be nil, the local file name part
6262 could look remotely (for example on VMS).
6263
e1b0b23a
SM
62642011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6267 from here...
6268 (flyspell-post-command-hook): ...to here.
6269
a120bde9
SM
62702011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6273 if not needed.
6274 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6275 using completion. Protect against "slow" callers.
6276 Remove the "message hack".
6277
7ce7717b
JL
62782011-10-11 Juri Linkov <juri@jurta.org>
6279
6280 * isearch.el (isearch-lazy-highlight-word): New variable.
6281 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6282 Use it. (Bug#9727)
6283
c02ee9d6
GM
62842011-10-11 Glenn Morris <rgm@gnu.org>
6285
6286 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6287 like f90-previous-statement does.
6288
93e616fd 62892011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6290
1f190e73 6291 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6292 only in interactive use, to avoid error.
6293
af7b6078
SM
62942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * minibuffer.el (completion-file-name-table): Fix last change,
6297 i.e. ignore normal errors but not the other ones.
6298
0563dae9
MR
62992011-10-10 Martin Rudalics <rudalics@gmx.at>
6300
6301 * window.el (special-display-buffer-names)
6302 (special-display-regexps): Remove some remnants of earlier
6303 changes from doc-strings.
366ca7f3
MR
6304 (quit-windows-on): New function.
6305
6306 * vc/vc.el (vc-revert, vc-rollback):
6307 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6308 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6309 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6310
49677495
MR
63112011-10-09 Martin Rudalics <rudalics@gmx.at>
6312
6313 * window.el (frame-auto-hide-function): Add version tag.
6314 (Bug#9699)
6315
56f2d1e1
MA
63162011-10-09 Michael Albinus <michael.albinus@gmx.de>
6317
6318 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6319 condition.
6320
112a6592
LL
63212011-10-09 Leo Liu <sdl.web@gmail.com>
6322
6323 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6324 (Bug#9701)
6325
0812589b
GM
63262011-10-08 Glenn Morris <rgm@gnu.org>
6327
6328 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6329 before the first code statement zero indent. (Bug#9690)
6330
b2b0776e
CY
63312011-10-08 Chong Yidong <cyd@stupidchicken.com>
6332
6333 * simple.el (count-words-region): Always count in the region.
6334 Report the number of lines and characters too.
6335 (count-words): New command, which counts in the buffer if the
6336 region is inactive, as count-words-region used to.
6337 (count-words--message): New function. Handle plurals.
6338 (count-lines-region): Make it an alias for count-words-region.
6339
6340 * bindings.el (esc-map): Replace count-lines-region with
6341 count-words-region.
6342
c557cd6b
MR
63432011-10-08 Martin Rudalics <rudalics@gmx.at>
6344
6345 * window.el (window--delete): Delete dedicated frame
6346 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6347 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6348
61a57ef4 63492011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6350
3a7d293b 6351 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6352
c3833279
CY
63532011-10-07 Chong Yidong <cyd@stupidchicken.com>
6354
6355 * bindings.el ([M-left],[M-right]): Bind to left-word and
6356 right-word respectively.
6357
21ce8245
GM
63582011-10-07 Glenn Morris <rgm@gnu.org>
6359
6360 * cus-start.el (debug-on-quit): Fix custom type.
6361
6d823bb2
LMI
63622011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6363
0181e193
LMI
6364 * subr.el (define-key-after): Clarify that the function is not
6365 useful for non-menu keymaps.
6366
6d823bb2
LMI
6367 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6368
8e3459ce 63692011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6370
21ce8245 6371 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6372 in current minibuffer (Fix bug with recursive minibuffers).
6373
a1c2d21e
CY
63742011-10-06 Chong Yidong <cyd@stupidchicken.com>
6375
6376 * progmodes/gdb-mi.el (gdb): Doc fix.
6377
5a4cf282
MR
63782011-10-05 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (frame-auto-hide-function): New option replacing
6381 frame-auto-delete. Suggested by Stefan Monnier.
6382 (window--delete): Call frame-auto-hide-function instead of
6383 investigating frame-auto-delete.
c96111ea
MR
6384 (window-point-1, set-window-point-1): New functions.
6385 (window-in-direction, record-window-buffer, window-state-get-1)
6386 (display-buffer-record-window): Use window-point-1 instead of
6387 window-point.
6388 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6389
9854542e
SM
63902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6393
8943cfb0
GM
63942011-10-05 Glenn Morris <rgm@gnu.org>
6395
6396 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6397 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6398
647ab967
LL
63992011-10-05 Leo Liu <sdl.web@gmail.com>
6400
6401 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6402 works with buffer object.
6403
3ddfbced
SM
64042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * mpc.el (mpc-tool-bar-map): Add labels.
6407
bdfa5dd2
GM
64082011-10-04 Glenn Morris <rgm@gnu.org>
6409
6410 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6411
0e2070b5
MR
64122011-10-04 Martin Rudalics <rudalics@gmx.at>
6413
6414 * window.el (window--delete): New function.
6415 (frame-auto-delete): Resuscitate option.
6416 (bury-buffer, replace-buffer-in-windows)
6417 (quit-window): Rewrite using window--delete.
6418 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6419 Pass display-buffer-mark-dedicated to window--display-buffer-2
6420 (Bug#9639).
6421
3dc61a09
SM
64222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6423
915a9b64
SM
6424 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6425 returns a list (bug#9554). Add remote file name completion.
6426 * comint.el (comint--table-subvert): Curry and get quote&unquote
6427 functions as arguments.
6428 (comint--complete-file-name-data): Adjust call accordingly.
6429 * pcomplete.el (pcomplete--table-subvert): Remove.
6430 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6431
3dc61a09
SM
6432 * minibuffer.el (completion-table-case-fold): Use currying.
6433 (completion--styles-type, completion--cycling-threshold-type):
6434 New constants.
6435 (completion-styles, completion-category-overrides)
6436 (completion-cycle-threshold): Use them.
6437 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6438 completion-table-case-fold.
6439
8ea0a993
SB
64402011-10-03 Stephen Berman <stephen.berman@gmx.net>
6441
6442 * minibuffer.el (completion-category-overrides): Fix type of styles
6443 and add more user friendly tags (bug#9660).
6444
8c24b7f6
SM
64452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6448 (mule-input-method-string): New widget.
6449 (default-input-method, language-info-custom-alist): Use it.
6450
428fe61a
SM
64512011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6452
32c1fffd
SM
6453 * pcomplete.el: Require comint.
6454 (pcomplete--common-suffix): Remove.
6455 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6456 (pcomplete--table-subvert): Sync with comint--table-subvert.
6457 (pcomplete--entries): Use comint-completion-file-name-table.
6458 * comint.el (comint-unquote-filename): Simplify.
6459 (comint-completion-file-name-table): New function (bug#9616).
6460 (comint--complete-file-name-data): Use it.
6461
428fe61a
SM
6462 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6463 (pcmpl-gnu-tar-buffer): Remove.
6464 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6465 around. Make sure pcomplete-suffix-list is only changed temporarily.
6466 Don't look inside the tar's file if it's too large.
428fe61a 6467
04c52e2f
CY
64682011-10-01 Chong Yidong <cyd@stupidchicken.com>
6469
ce3cefcc
CY
6470 * cus-edit.el (custom-mode-map):
6471 * epa.el (epa-key-list-mode-map):
6472 * man.el (Man-mode-map):
6473 * startup.el (splash-screen-keymap):
6474 * simple.el (special-mode-map): Use scroll-up-command and
6475 scroll-down-command.
6476
6477 * progmodes/idlw-help.el (idlwave-help-mode-map):
6478 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6479 * net/newst-plainview.el (newsticker-mode-map):
6480 * emulation/ws-mode.el (wordstar-mode-map):
6481 * emulation/vi.el (vi-com-map):
6482 * calc/calc-graph.el (calc-graph-show-dumb):
6483 * term/sun.el (terminal-init-sun):
6484 * term/ns-win.el (global-map):
6485 * progmodes/grep.el (grep-mode-map):
6486 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6487 * mail/rmail.el (rmail-mode-map):
6488 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6489
04c52e2f
CY
6490 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6491 custom-safe-themes as special.
6492
79adf8c8
JD
64932011-10-01 Julien Danjou <julien@danjou.info>
6494
6495 * notifications.el (notifications-notify): Fix docstring.
6496
63bd50d3
PS
64972011-10-01 Per Starbäck <per@starback.se>
6498
6499 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6500
199e4c7e
MR
65012011-09-30 Martin Rudalics <rudalics@gmx.at>
6502
6503 * startup.el (command-line-1): Fix last fix by inserting
6504 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6505 (Bug#9605) and (Bug#9636)
199e4c7e 6506
fe5f08dd
EZ
65072011-09-29 Eli Zaretskii <eliz@gnu.org>
6508
6509 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6510 window is hscrolled, move by logical lines. (Bug#9607)
6511 (line-move-visual): Update the doc string to the above effect.
6512
b5516bbd
MR
65132011-09-29 Martin Rudalics <rudalics@gmx.at>
6514
ccee00c0
MR
6515 * window.el (display-buffer-record-window): When WINDOW is the
6516 selected window use `point' instead of `window-point'. (Bug#9626)
6517
b5516bbd
MR
6518 * startup.el (command-line-1): Use insert-before-markers when
6519 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6520
b5516bbd
MR
6521 * help.el (help-window): Remove variable.
6522
52aa0014
GM
65232011-09-29 Glenn Morris <rgm@gnu.org>
6524
6525 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6526
df9a7357
JB
65272011-09-29 Juanma Barranquero <lekktu@gmail.com>
6528
6529 * descr-text.el (describe-char-categories): Accept category
6530 descriptions more than one line long.
6531
a8406c20
SM
65322011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6533
88d9610c
SM
6534 * simple.el (delete-trailing-whitespace): Fix last change.
6535
a5daf810
SM
6536 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6537 Don't confuse "y => 3" as the beginning of a `y' operation.
6538
a8406c20
SM
6539 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6540 object has more than 4 slots (bug#9613).
6541
a239d4e9
JB
65422011-09-28 Juanma Barranquero <lekktu@gmail.com>
6543
6544 * subr.el (with-output-to-temp-buffer):
6545 * net/quickurl.el (quickurl, quickurl-browse-url):
6546 Fix typos in docstrings.
6547
693fbdb6
EZ
65482011-09-27 Eli Zaretskii <eliz@gnu.org>
6549
6550 * minibuffer.el (completion-styles)
6551 (completion-category-overrides): Cross reference each other in doc
6552 strings.
6553
8b457e28
GM
65542011-09-27 Glenn Morris <rgm@gnu.org>
6555
6556 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6557 to split-string. (Bug#9606)
6558
85a16208
LMI
65592011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6560
6561 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6562 (bug#9615).
6563
502f9ebd
CY
65642011-09-27 Chong Yidong <cyd@stupidchicken.com>
6565
6566 * emacs-lisp/package.el (list-packages): Fix echo area message.
6567
7690bdea
LL
65682011-09-27 Leo Liu <sdl.web@gmail.com>
6569
6570 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6571
e2ee6f30
MA
65722011-09-25 Michael Albinus <michael.albinus@gmx.de>
6573
6574 * net/dbus.el (dbus-unregister-object): Don't release services for
6575 registered signals. (Bug#9581)
6576
f3f98342
TZ
65772011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6578
6579 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6580 function that picks between cfengine 2 and 3 support
6581 automatically. Update docs accordingly.
6582
dd7aa8dd
KH
65832011-09-22 Kenichi Handa <handa@m17n.org>
6584
6585 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6586 ZERO.
6587 (indian-itrans-v5-table-for-tamil): New variable.
6588 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6589
3f2b07f8
KM
65902011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6591
6592 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6593 that's true if the current command involved collapsing of text.
6594 It's reset to false at the beginning of the next command.
6595 (allout-post-command-business): Move the cursor to the beginning
6596 of entry if the cursor is hidden and collapsing activity just
6597 happened.
6598
371d6a61
CY
65992011-09-24 Chong Yidong <cyd@stupidchicken.com>
6600
6601 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6602 tracking (Bug#9541).
6603
2ac2721a
UJ
66042011-09-24 Ulf Jasper <ulf.jasper@web.de>
6605
6606 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6607 (newsticker-show-news): Automatically load html rendering package
6608 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6609 because w3m-fill-column is let-bound" and the error "Symbol's value
6610 as variable is void: w3m-fill-column".
2ac2721a 6611
fac7ae53
MA
66122011-09-24 Michael Albinus <michael.albinus@gmx.de>
6613
6614 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6615 Release services only if they are defined. (Bug#9581)
6616
e08b633b
RS
66172011-09-23 Richard Stallman <rms@gnu.org>
6618
e488d29c
RS
6619 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6620 distinguish start of paragraph from start of its text.
6621
19c38752
RS
6622 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6623
e08b633b
RS
6624 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6625 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6626 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6627
0a39f27e
AS
66282011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6629
6630 * international/mule-diag.el (mule-diag): Insert a newline after
6631 each fontset description.
6632
db4e950d
SM
66332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * simple.el (delete-trailing-whitespace):
6636 Document last change; simplify.
6637
eca3f3ea
PW
66382011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6639
d68e189a
PW
6640 * simple.el (delete-trailing-whitespace): Also delete
6641 extra newlines at the end of the buffer.
6642
eca3f3ea
PW
6643 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6644 (picture-newline): Use forward-line so as to ignore fields.
6645
01c157cc
SM
66462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * subr.el (with-wrapper-hook): Fix edebug spec.
6649
022de23e
LMI
66502011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6651
6652 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6653 (bug#4538).
6654
91683089
MA
66552011-09-23 Michael Albinus <michael.albinus@gmx.de>
6656
eca3f3ea
PW
6657 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6658 Fix nasty bug using wrong cached values.
91683089 6659
5bdd6fa4
AM
66602011-09-23 Alan Mackenzie <acm@muc.de>
6661
6662 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6663
97adfb97
CY
66642011-09-23 Chong Yidong <cyd@stupidchicken.com>
6665
6666 * window.el (pop-to-buffer): Ensure right window is selected if we
6667 chose another frame.
6668
d4ef2b50
EZ
66692011-09-22 Eli Zaretskii <eliz@gnu.org>
6670
6671 * simple.el (what-cursor-position): Use get-char-property-change
6672 and next-single-char-property-change, to be able to show display
6673 properties that come from overlays as well as text properties.
6674
72258fe5
CY
66752011-09-22 Chong Yidong <cyd@stupidchicken.com>
6676
6677 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6678
6679 * cmuscheme.el (run-scheme, switch-to-scheme):
6680 * cus-edit.el (customize-group, custom-buffer-create)
6681 (customize-browse):
6682 * info.el (info):
6683 * shell.el (shell):
6684 * mail/sendmail.el (mail):
6685 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6686
8f098516
RS
66872011-09-22 Richard Stallman <rms@gnu.org>
6688
6689 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6690 move back only to line beg, don't move back over blank lines.
6691
e74f1bb6
MA
66922011-09-22 Michael Albinus <michael.albinus@gmx.de>
6693
6694 * files.el (copy-directory): Set directory attributes only in case
6695 they could be retrieved from the source directory. (Bug#9565)
6696
bfeef8b6
DK
66972011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6698
6699 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6700 (hs-find-block-beginning, hs-hide-level-recursive):
6701 Ignore strings as well as comments. (Bug#9502)
6702
7e423bb8
AS
67032011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6704
6705 * progmodes/sql.el (sql-comint-postgres):
6706 Convert port number to a string. (Bug#9566)
6707
b4d72fcf
MR
67082011-09-22 Martin Rudalics <rudalics@gmx.at>
6709
6710 * window.el (quit-window): Undedicate window when switching to
6711 previous buffer. Reported by Thierry Volpiatto
6712 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6713 (special-display-popup-frame): When popping up a new frame reset
6714 its previous buffers to nil. Simplify code.
b4d72fcf 6715
a7b88dc6
MA
67162011-09-21 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6719 and process filter, as done also in `shell-command'.
6720
cf4eacfd
MR
67212011-09-21 Martin Rudalics <rudalics@gmx.at>
6722
eca3f3ea 6723 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6724 Call set-window-start with NOFORCE argument t.
6725 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6726 (quit-window): Reword doc-string. Handle new format of
6727 quit-restore parameter. Don't delete window if it has a
6728 previous buffer we can show instead of the present one.
6729 (display-buffer-record-window): Rewrite using a new format for
6730 the quit-restore window parameter
6731 (special-display-popup-frame, display-buffer-same-window)
6732 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6733 (display-buffer-pop-up-window, display-buffer-use-some-window):
6734 Adapt symbol passed to display-buffer-record-window.
6735 * help.el (help-window-setup): Handle new format of quit-restore
6736 parameter.
6737
8d28cb95
SM
67382011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6739
94ab793f
SM
6740 * faces.el (face-list): Fix docstring (bug#9564).
6741
8d28cb95
SM
6742 * window.el (display-buffer--action-function-custom-type):
6743 Don't include internal functions in the Custom interface.
6744
3820edeb
JL
67452011-09-20 Juri Linkov <juri@jurta.org>
6746
6747 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6748 (Info-forward-node, Info-backward-node, Info-next-preorder)
6749 (Info-last-preorder): Use it. (Bug#9528)
6750
5147931d
JL
67512011-09-20 Juri Linkov <juri@jurta.org>
6752
6753 * info.el (Info-last-preorder): Visit last menu item only when
6754 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6755
cf499a1a
JD
67562011-09-20 Julien Danjou <julien@danjou.info>
6757
6758 * password-cache.el (password-cache-remove): Remove entries even if the
6759 value is nil, so that password with a nil value (negative caching) is
6760 possible to invalidate.
6761
f84e2fe2
LM
67622011-09-20 Lawrence Mitchell <wence@gmx.li>
6763
6764 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6765 all whitespace around breakpoint. (Bug#9553)
6766 (f90-find-breakpoint): Only break at whitespace inside a comment.
6767
78054a46
SM
67682011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * minibuffer.el (completion-file-name-table): Keep track of errors.
6771 (completion-table-with-predicate): Handle the case where pred1 is nil.
6772 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6773
345083b2
SM
67742011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6775
e24e27be
SM
6776 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6777 (debugger-return-value): Signal an error if the debugging context does
6778 not await any return value.
6779
345083b2
SM
6780 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6781 * image-mode.el (image-toggle-display-text)
6782 (image-toggle-display-image): Stay away from evil `intangible'.
6783
08d355e3
LL
67842011-09-19 Leo Liu <sdl.web@gmail.com>
6785
6786 * replace.el (occur-revert-arguments): Make it permanent-local.
6787 (occur-mode): Don't call font-lock-defontify.
6788
f01da43f
CY
67892011-09-19 Chong Yidong <cyd@stupidchicken.com>
6790
6791 * net/ldap.el (ldap-search-internal): Don't push empty search
6792 result (Bug#9508).
6793
b6072fa6
SM
67942011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6797
443d6696
MA
67982011-09-19 Michael Albinus <michael.albinus@gmx.de>
6799
6800 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6801 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6802
7cc6e154
JL
68032011-09-18 Juri Linkov <juri@jurta.org>
6804
6805 * buff-menu.el (Buffer-menu-mode-map):
6806 * dired.el (dired-mode-map):
6807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6808 (lisp-interaction-mode-map):
6809 * emacs-lisp/package.el (package-menu-mode-map):
6810 * epa.el (epa-key-list-mode-map):
6811 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6812 (menu-bar-options-menu):
6813 * outline.el (outline-mode-menu-bar-map):
6814 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6815 * vc/vc-dir.el (vc-dir-menu-map):
6816 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6817 Capitalize non-function content words in menu item strings.
6818
6819 * dired.el (dired-mode-map): Add menu item for
6820 `image-dired-dired-toggle-marked-thumbs'.
6821
80302a81
JL
68222011-09-18 Juri Linkov <juri@jurta.org>
6823
6824 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6825 to `isearch-case-fold-search' and restore its original value
6826 after the `isearch-mode' call.
6827
46c5cf66
JL
68282011-09-18 Juri Linkov <juri@jurta.org>
6829
6830 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6831 because `zgrep' returns 1 for successful matches (bug#9226).
6832
d18b513b
JL
68332011-09-18 Juri Linkov <juri@jurta.org>
6834
6835 * info.el (Info-extract-menu-node-name): Check the second match
6836 for empty string (second test-case of bug#9528).
6837 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6838 intermediate nodes to the history (first test-case of bug#9528).
6839
72753f87
JL
68402011-09-18 Juri Linkov <juri@jurta.org>
6841
6842 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6843 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6844
c9384295
JL
68452011-09-18 Juri Linkov <juri@jurta.org>
6846
1154d12e
JB
6847 * info.el (Info-file-supports-index-cookies):
6848 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6849 outputs one more line for long file names (bug#4142).
c9384295 6850
d473dce8
CY
68512011-09-18 Chong Yidong <cyd@stupidchicken.com>
6852
6853 * newcomment.el (comment-normalize-vars): If prompting for
6854 comment-start, set comment-start-skip too (Bug#8424).
6855
2176854d
JB
68562011-09-18 Johan Bockgård <bojohan@gnu.org>
6857
6858 * icomplete.el: Fix previous fix of Bug#5849.
6859 (icomplete-mode): Don't set completion-show-inline-help.
6860 (icomplete-minibuffer-setup): Set completion-show-inline-help
6861 locally during icompletion.
6862
3aace4e4
CY
68632011-09-18 Chong Yidong <cyd@stupidchicken.com>
6864
c940224f
CY
6865 * woman.el (woman2-process-escapes): Don't delete unrecognized
6866 escapes (Bug#7843).
6867
3aace4e4
CY
6868 * files.el (inhibit-first-line-modes-regexps): Add image files.
6869 (hack-local-variables-prop-line): Return nil for malformed
6870 prop-lines (Bug#9044).
6871
710dec63
MA
68722011-09-18 Michael Albinus <michael.albinus@gmx.de>
6873
6874 * net/tramp.el (top): Don't require 'shell.
6875 (tramp-methods): Fix docstring.
6876 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6877 Return complete remote file name. Handle "smb" case.
6878 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6879 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6880
6881 * net/tramp-compat.el (top): Require 'shell.
6882
6883 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6884 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6885 `tramp-current-host'.
6886 (tramp-get-remote-tmpdir): Remove.
6887
6888 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6889 `tramp-tmpdir' entries.
6890 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6891 (tramp-smb-handle-file-attributes): Ignore errors.
6892 (tramp-smb-wait-for-output): Check also for process end.
6893
5d5ac8ec
LMI
68942011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895
6896 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6897 when sending QUIT (bug#9312).
6898
8c0f49f0
CY
68992011-09-17 Chong Yidong <cyd@stupidchicken.com>
6900
6901 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6902 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6903 occur-mode-display-occurrence.
6904 (occur-edit-mode): Add usage message.
6905 (occur-cease-edit): New command.
6906 (occur-after-change-function): Use text properties to find the
6907 position of the prefix text.
6908 (occur-engine): Set stickiness of prefix text properties.
6909
8f1383f7
GM
69102011-09-17 Glenn Morris <rgm@gnu.org>
6911
6912 * progmodes/etags.el (complete-tag):
6913 Fix call to completion-in-region. (Bug#9526)
6914
744ba0e3
JL
69152011-09-17 Juri Linkov <juri@jurta.org>
6916
6917 * textmodes/ispell.el (ispell-word): Add to the error message
6918 the word, ispell program name and current dictionary (bug#9121).
6919 (ispell-tex-arg-end): Capitalize "error" in the error message.
6920
d9bbf400
AS
69212011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6922
6923 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6924 check. (Bug#4251)
6925
8da11505
JL
69262011-09-17 Juri Linkov <juri@jurta.org>
6927
6928 * window.el (window-safe-min-height, window-safe-min-width):
6929 Fix typos (followup to bug#9522).
6930
a91adc7e
SJ
69312011-09-17 Sven Joachim <svenjoac@gmx.de>
6932
6933 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6934
064f328a
EZ
69352011-09-16 Eli Zaretskii <eliz@gnu.org>
6936
6937 * simple.el (line-move): If goal-column is set, move by logical
6938 lines, not by display lines. (Bug#971)
6939 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6940 to reflect the above change.
6941
e69df516
SM
69422011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * image.el (imagemagick-register-types): Use regexp-opt.
6945
cbb0f9ab
CY
69462011-09-15 Chong Yidong <cyd@stupidchicken.com>
6947
6948 * window.el (display-buffer-base-action): Rename from
6949 display-buffer-default-action. Make default value empty.
6950 (display-buffer-overriding-action): Convert to defvar.
6951 (display-buffer-fallback-action): New var.
6952
25322144
CY
69532011-09-15 Chong Yidong <cyd@stupidchicken.com>
6954
6955 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6956 declaration.
6957 (package--add-to-archive-contents): If there is a duplicate entry
6958 with an older version, remove it.
6959 (package-menu-mark-delete, package-menu-mark-install)
6960 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6961 (package-menu-mark-obsolete-for-deletion):
6962 Use package-menu-get-status instead of a regexp search.
25322144
CY
6963 (package-menu-get-status): Use tabulated-list-entry.
6964 (package-menu-mark-upgrades): New command.
d770725a 6965 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6966 (package-menu-execute): Do installation before deletion.
6967 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6968 instead of checking major-mode.
6969 (package-menu--find-upgrades): New function.
6970
7520339c
LMI
69712011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6972
6973 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6974 passwords in the log buffer.
65a046c4
LMI
6975 (smtpmail-process-filter): Update the process marker so that the
6976 "broken by peer" status message is inserted in the right place.
7520339c 6977
d3c30954
SM
69782011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6979
3fe48822
SM
6980 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6981 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6982 bibtex-completion-at-point-function.
6983 (bibtex-completion-at-point-function): Use them.
6984
1b8b3954
SM
6985 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6986
d3c30954
SM
6987 * mpc.el (mpc-constraints-tag-lookup): New function.
6988 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6989 also to browser "album|playlist".
6990
72779976
JL
69912011-09-14 Juri Linkov <juri@jurta.org>
6992
6993 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6994 (isearch-edit-string): Use length of `isearch-string' when
6995 `isearch-fail-pos' returns nil.
6996 (isearch-message): Remove duplicate code and call
6997 `isearch-fail-pos' with arg `t'.
6998
a0bf2bcd
CY
69992011-09-14 Chong Yidong <cyd@stupidchicken.com>
7000
17bb0a2d
CY
7001 * replace.el (occur-mode-goto-occurrence): Don't force using other
7002 window (Bug#9499).
7003
a0bf2bcd
CY
7004 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7005
f678e0b6
MR
70062011-09-14 Martin Rudalics <rudalics@gmx.at>
7007
7008 * window.el (display-buffer-window): Remove.
7009 (display-buffer-record-window): Use help-setup window parameter
7010 instead of variable display-buffer-window.
7011 (display-buffer-function, special-display-buffer-names)
7012 (special-display-function): Mention help-setup parameter instead
7013 of display-buffer-window in doc-string.
d3c30954
SM
7014 * help.el (help-window-setup): New argument help-window.
7015 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7016 Reword some messages.
7017 (with-help-window): Pass window used for displaying the buffer
7018 to help-window-setup. Don't set display-buffer-window.
7019
8e39b2e8
GM
70202011-09-13 Glenn Morris <rgm@gnu.org>
7021
7022 * emacs-lisp/debug.el (debugger-make-xrefs):
7023 Preserve point. (Bug#9462)
7024
85e9c04b
CY
70252011-09-13 Chong Yidong <cyd@stupidchicken.com>
7026
7027 * window.el (window-deletable-p): Use next-frame.
7028
1b36ed6a
MR
70292011-09-13 Martin Rudalics <rudalics@gmx.at>
7030
7031 * window.el (window-auto-delete): Remove.
7032 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7033 dedication and previous buffers.
1b36ed6a
MR
7034 (switch-to-prev-buffer): Don't delete window.
7035 (delete-windows-on): Delete a window's frame if and only if the
7036 window is dedicated.
7037 (replace-buffer-in-windows): Delete buffer's window or frame if
7038 and only if window is dedicated.
7039 (quit-window): Handle quit-restore as before last change.
4d61f28d 7040 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7041
ef8ef9fb
CY
70422011-09-13 Chong Yidong <cyd@stupidchicken.com>
7043
7044 * window.el (window-deletable-p): Never delete the last frame on a
7045 given terminal.
7046
b2cba41e
GM
70472011-09-13 Glenn Morris <rgm@gnu.org>
7048
7049 * help.el (describe-key-briefly): Copy previous standard-output change.
7050
51553db6 70512011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7052
7053 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7054
b7556719
GM
70552011-09-13 Glenn Morris <rgm@gnu.org>
7056
7057 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7058 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7059
64b51947
CY
70602011-09-12 Chong Yidong <cyd@stupidchicken.com>
7061
7062 * dired-aux.el (dired-mark-read-string): Don't return default
7063 value on empty input (Bug#9361).
7064 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7065 Omit initial minibuffer contents.
7066 (dired-do-chmod): Signal an error on empty input.
7067 (dired-mark-read-string): Don't return default on empty input.
7068
7069 * files.el (file-modes-symbolic-to-number): Doc fix.
7070
393a301e
SM
70712011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * international/mule-cmds.el (ucs-completions): Remove.
7074 (read-char-by-name): Use complete-with-action instead; add metadata.
7075
fa5660f9
CY
70762011-09-11 Chong Yidong <cyd@stupidchicken.com>
7077
7078 * window.el (display-buffer--action-function-custom-type)
7079 (display-buffer--action-custom-type): New vars.
7080 (display-buffer-alist, display-buffer-default-action)
7081 (display-buffer-overriding-action): Add defcustom types.
7082
4a592f66
CY
7083 * frame.el (delete-other-frames): Doc fix (Bug#276).
7084
73d56dbd
LMI
70852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
7087 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7088
37ac18a3
CY
70892011-09-11 Chong Yidong <cyd@stupidchicken.com>
7090
7091 Change modes that used same-window-* vars to use switch-to-buffer.
7092
7093 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7094 Use switch-to-buffer.
7095
7096 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7097 (customize-browse, custom-buffer-create-other-window):
7098 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7099
7100 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7101 (Info-prev, Info-up, Info-speedbar-goto-node)
7102 (info-display-manual): Use switch-to-buffer.
7103 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7104
7105 * mail/sendmail.el (mail): Use switch-to-buffer.
7106 (mail-recover): Use switch-to-buffer-other-window.
7107
7108 * cmuscheme.el (run-scheme, switch-to-scheme):
7109 * ielm.el (ielm):
7110 * shell.el (shell):
7111 * net/rlogin.el (rlogin):
7112 * net/telnet.el (telnet, rsh):
7113 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7114
10195bd6
AS
71152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7116
7117 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7118
b322f63a
LMI
71192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120
39d7fed6
LMI
7121 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7122 so don't mention it (bug#9301).
ba5a81f1 7123 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7124
ee0e9f11
LMI
7125 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7126 match `x', `w32' and `ns', like the manual says (bug#9029).
7127
0b1c89c1 7128 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7129 (process-kill-buffer-query-function): Mention the buffer name in
7130 the query.
0b1c89c1 7131
77549ea8
LMI
7132 * image-mode.el (image-next-line): The line parameter is mandatory
7133 (bug#9258).
7134
803ef892
LMI
7135 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7136 which can be useful (bug#9301).
7137
12980837
LMI
7138 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7139
91054f8f
LMI
7140 * subr.el (match-string): Mention that the current buffer should
7141 be the same as the search was done in (bug#9282).
7142
b322f63a
LMI
7143 * facemenu.el: Disable the remove-* commands if the mark isn't
7144 active (bug#9162).
7145
3199b96f
CY
71462011-09-10 Chong Yidong <cyd@stupidchicken.com>
7147
7148 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7149 of display-buffer.
7150 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7151
7152 * replace.el (occur-mode-goto-occurrence)
7153 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7154 and display-buffer.
7155
7156 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7157 display-buffer.
7158
7159 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7160 special-display and same-window variables.
7161 (mail-other-window): Use switch-to-buffer-other-window.
7162 (mail-other-frame): USe switch-to-buffer-other-frame.
7163
393a301e
SM
7164 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7165 Use display-buffer-other-frame.
3199b96f
CY
7166 (gdb-display-gdb-buffer): Use pop-to-buffer.
7167
7168 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7169
7170 * progmodes/python.el: Don't set same-window-buffer-names.
7171
7172 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7173
7174 * window.el (display-buffer-alist): Add *Python*.
7175
8319e0bf
CY
71762011-09-10 Chong Yidong <cyd@stupidchicken.com>
7177
7178 * window.el (display-buffer-alist): Add entry for buffers
7179 previously handled same-window-*.
7180 (display-buffer-alist, display-buffer-default-action)
7181 (display-buffer-overriding-action): Mark as risky.
7182 (display-buffer-alist): Document action function changes.
7183 (display-buffer--same-window-action)
7184 (display-buffer--other-frame-action): New variables.
7185 (switch-to-buffer, display-buffer-other-frame): Use them.
7186 (display-buffer): Rename reuse-frame entry to reusable-frames.
7187 (display-buffer-reuse-selected-window): Function deleted.
7188 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7189 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7190 (display-buffer-special): New function.
7191 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7192 display-buffer-reuse-or-pop-window. Split off special-display
7193 part into display-buffer-special.
7194 (display-buffer-use-some-window): Don't perform any special
7195 pop-up-frames handling.
7196 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7197 (display-buffer--maybe-same-window): Rename from
0d3ff375 7198 display-buffer-maybe-same-window.
8319e0bf 7199
919a69aa
CY
7200 * info.el: Don't set same-window-regexps.
7201 (info-setup): New function.
7202 (info-other-window, info): Call it.
7203
7204 * cus-edit.el: Don't set same-window-regexps.
7205 (customize-group): New argument.
7206 (customize-group-other-window): Use it.
7207 (customize-face, customize-face-other-window): Likewise.
7208 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7209
8319e0bf
CY
7210 * net/rlogin.el:
7211 * net/telnet.el:
7212 * progmodes/gud.el: Don't set same-window-regexps.
7213
7214 * cmuscheme.el:
7215 * ielm.el:
7216 * shell.el:
7217 * mail/sendmail.el:
7218 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7219
25173000
JL
72202011-09-10 Juri Linkov <juri@jurta.org>
7221
7222 * isearch.el (isearch-edit-string): Remove obsolete mention of
7223 `C-w' (`isearch-yank-word-or-char') from docstring.
7224 (isearch-query-replace): Fix typo in docstring (bug#9466).
7225
056e44ef
JL
72262011-09-10 Juri Linkov <juri@jurta.org>
7227
7228 * paren.el (show-paren-function): Don't show escaped parens.
7229 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7230
c3760c17
EZ
72312011-09-10 Eli Zaretskii <eliz@gnu.org>
7232
7233 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7234 (mm-default-file-encoding): Remove autoload forms, they are
7235 replaced with autoload cookies in mml.el and mm-encode.el.
7236 (mail-add-attachment): New command.
7237 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7238 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7239 the doc string.
7240 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7241
fece895e
RT
72422011-09-10 Reuben Thomas <rrt@sc3d.org>
7243
e69df516
SM
7244 * simple.el (count-words-region): Use buffer if there's no region
7245 (bug#9429).
fece895e 7246
5e68ce4a
JL
72472011-09-09 Juri Linkov <juri@jurta.org>
7248
7249 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7250 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7251 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7252
0a6b9622
AM
72532011-09-09 Alan Mackenzie <acm@muc.de>
7254
7255 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7256 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7257
14a29deb
EZ
72582011-09-09 Eli Zaretskii <eliz@gnu.org>
7259
7260 Fix for Savannah bug#9392.
7261 * simple.el (mail-encode-mml): New defvar.
7262
7263 * mail/rmail.el (mail-encode-mml): Add a defvar.
7264 (rmail-enable-mime-composing): Default to t.
7265 (rmail-forward): Use MIME method of forwarding only if both
7266 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7267 Set mail-encode-mml non-nil if the MIME method was used.
7268
7269 * mail/sendmail.el (mml-to-mime): Add autoload form.
7270 (mail-encode-mml): Add a defvar.
7271 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7272 to nil.
7273 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7274 message through mml-to-mime, and reset mail-encode-mml to nil.
7275
28c45130
GM
72762011-09-09 Glenn Morris <rgm@gnu.org>
7277
7278 * woman.el (woman-if-body): When processing an .el block,
7279 do not delete the next .el block as well. (Bug#9447)
69f4b618 7280 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7281
9b1c252e
MR
72822011-09-08 Martin Rudalics <rudalics@gmx.at>
7283
7284 * window.el (window-deletable-p): Make sure window is live before
7285 invoking window-prev-buffers.
7286
567457e3
LL
72872011-09-08 Leo Liu <sdl.web@gmail.com>
7288
7289 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7290
97f05794
JL
72912011-09-08 Juri Linkov <juri@jurta.org>
7292
7293 * progmodes/compile.el (compilation-environment): Make it
7294 a defcustom (bug#8340).
7295
8b0874b5
MR
72962011-09-08 Martin Rudalics <rudalics@gmx.at>
7297
7298 * window.el (frame-auto-delete): Rename to window-auto-delete.
7299 Make it control auto-deletion of windows and/or frames.
7300 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7301 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7302 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7303 Rewrite handling of case when window/frame can be deleted.
7304 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7305 argument t. (Bug#9456)
8b0874b5 7306
4feb6e73
CY
73072011-09-07 Chong Yidong <cyd@stupidchicken.com>
7308
7309 * help-mode.el (help-mode): Restore autoload.
7310
91ab9c13
JL
73112011-09-07 Juri Linkov <juri@jurta.org>
7312
7313 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7314 `compilation-environment'. Set buffer-local
7315 `compilation-environment' to `thisenv' later after (funcall mode).
7316 (Bug#8340)
7317
7318 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7319 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7320 instead of replacing its value. (Bug#8340)
7321
0527e251
JL
73222011-09-07 Juri Linkov <juri@jurta.org>
7323
7324 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7325 based on text properties put by `grep-filter' instead of matching
7326 escape sequences.
7327 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7328 to the value of `grep-error-screen-columns' (bug#9438).
7329
249f792c
JL
73302011-09-07 Juri Linkov <juri@jurta.org>
7331
7332 * simple.el (next-error-highlight, next-error-highlight-no-select):
7333 Doc fix (bug#9432).
7334
ff7271b9
OT
73352011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7336
7337 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7338 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7339
183fc730
LL
73402011-09-07 Leo Liu <sdl.web@gmail.com>
7341
7342 * net/rcirc.el (rcirc-mode): Conditionally initialize
7343 rcirc-input-ring.
7344
77694924
SM
73452011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * emacs-lisp/find-func.el (find-function-C-source): Only set
7348 find-function-C-source-directory after checking that we found a source
7349 file there (bug#9440).
7350
d809b8eb
AM
73512011-09-06 Alan Mackenzie <acm@muc.de>
7352
7353 * isearch.el (isearch-other-meta-char): Wherever a key list is
7354 unread, "unread" the prefix arg, too. This fixes bug #8901.
7355
453de99f
OG
73562011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7357
7358 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7359
90439906
JL
73602011-09-05 Juri Linkov <juri@jurta.org>
7361
7362 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7363
f62bd846
JL
73642011-09-05 Juri Linkov <juri@jurta.org>
7365
7366 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7367 keeping point where processing of grep matches begins, and
7368 continue to delete remaining escape sequences from the same point.
7369 (grep-filter): Make leading zero optional in "0?1;31m" because
7370 git-grep emits "\033[1;31m" escape sequences unlike expected
7371 "\033[01;31m" as GNU Grep does (bug#9408).
7372 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7373
045820ec
JL
73742011-09-05 Juri Linkov <juri@jurta.org>
7375
7376 * subr.el (y-or-n-p): Capitalize "yes".
7377
f5e29b9b
MA
73782011-09-04 Michael Albinus <michael.albinus@gmx.de>
7379
7380 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7381 `tramp-cache-unload-hook' where appropriate.
7382 (tramp-methods): Rename `tramp-remote-sh' to
7383 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7384 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7385
7386 * net/tramp-sh.el (top): Don't require 'shell.
7387 (tramp-methods): Add `tramp-remote-shell' and
7388 `tramp-remote-shell-args' entries.
7389 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7390 (tramp-sh-handle-shell-command): Remove.
7391 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7392 Use `tramp-remote-shell'.
7393
2784c434
CY
73942011-09-03 Chong Yidong <cyd@stupidchicken.com>
7395
393a301e 7396 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7397 (sendmail-query-once): Save directly to send-mail-function.
7398 Update message-send-mail-function too.
7399
7400 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7401
464cdf56
CS
74022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7403
7404 * progmodes/python.el (python-mode-map): Use correct function to
7405 start python interpreter from menu-bar (as reported by Geert
7406 Kloosterman).
7407 (inferior-python-mode-map): Fix typo.
393a301e 7408 (python-shell-map): Remove.
464cdf56 7409
d37e5c87
DD
74102011-09-03 Deniz Dogan <deniz@dogan.se>
7411
7412 * net/rcirc.el (rcirc-print): Simplify code for
7413 rcirc-scroll-show-maximum-output. There is no need to walk
7414 through all windows to find the right one.
7415
f3ada0ee
CS
74162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7417
7418 * help.el (help-return-method): Doc fix.
7419
1f3c99ca
MR
74202011-09-03 Martin Rudalics <rudalics@gmx.at>
7421
7422 * window.el (window-deletable-p): Don't return a non-nil value
7423 when there's a buffer that was shown in the window before.
7424 (Bug#9419)
393a301e
SM
7425 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7426 Set window's previous buffers to nil.
1f3c99ca 7427
a3cf097f
EZ
74282011-09-03 Eli Zaretskii <eliz@gnu.org>
7429
7430 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7431 newline before and after the tag line, so it doesn't interfere
7432 with determining the paragraph direction of bidirectional text.
7433
3d03de90
LL
74342011-09-03 Leo Liu <sdl.web@gmail.com>
7435
7436 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7437
c3313451
CY
74382011-09-02 Chong Yidong <cyd@stupidchicken.com>
7439
393a301e 7440 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7441 (pop-to-buffer): Change interactive spec. Pass second argument
7442 directly to display-buffer.
7443 (display-buffer): Fix interactive spec. Use functionp to
7444 distinguish between a function and a list of functions.
7445
7446 * abbrev.el (edit-abbrevs):
7447 * arc-mode.el (archive-extract):
7448 * autoinsert.el (auto-insert):
7449 * bookmark.el (bookmark-bmenu-list):
7450 * files.el (find-file):
7451 * view.el (view-buffer):
7452 * progmodes/compile.el (compilation-goto-locus):
7453 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7454
89894cd8
CY
74552011-09-02 Chong Yidong <cyd@stupidchicken.com>
7456
7457 * window.el (display-buffer-alist): Doc fix.
7458 (display-buffer): Add docstring. Don't treat
7459 display-buffer-default specially.
7460 (display-buffer-reuse-selected-window)
7461 (display-buffer-same-window, display-buffer-maybe-same-window)
7462 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7463 (display-buffer-pop-up-window)
7464 (display-buffer-reuse-or-pop-window)
7465 (display-buffer-use-some-window): New functions.
7466 (display-buffer-default-action): Use them.
393a301e 7467 (display-buffer-default): Delete.
89894cd8
CY
7468 (pop-to-buffer-1): Fix choice of actions.
7469
ae0bc9fb
SM
74702011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * minibuffer.el (completion--insert-strings): Don't get confused by
7473 completion entries that end with an LF char.
7474
e9d90883
EZ
74752011-09-01 Eli Zaretskii <eliz@gnu.org>
7476
7477 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7478
437014c8
CY
74792011-09-01 Chong Yidong <cyd@stupidchicken.com>
7480
7481 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7482 (display-buffer-same-window, display-buffer-other-window):
7483 New functions.
437014c8
CY
7484 (pop-to-buffer-1): New function. Use the above.
7485 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7486 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7487
7488 * view.el (view-buffer-other-window, view-buffer-other-frame):
7489 Just use pop-to-buffer.
7490
a5e063d5
TV
74912011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7492
7493 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7494
793d32bb
WH
74952011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7496
7497 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7498
d65e4c15
RS
74992011-08-31 Richard Stallman <rms@gnu.org>
7500
7501 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7502 of the separation of rmail-view-buffer from rmail-buffer.
7503 If you say no to "replace original", the decrypt is in the
7504 view buffer. If you say yes, the decrypt goes into the
7505 rmail buffer also.
7506
f818cd2a
MR
75072011-08-31 Martin Rudalics <rudalics@gmx.at>
7508
7509 * window.el (display-buffer-window): Rewrite doc-string.
7510 (display-buffer-record-window): New function.
7511 (display-buffer-macro-specifiers)
7512 (display-buffer-even-window-sizes, display-buffer-set-height)
7513 (display-buffer-set-width, display-buffer-in-window)
7514 (display-buffer-reuse-window, display-buffer-split-specifiers)
7515 (display-buffer-side-specifiers, display-buffer-split-window-1)
7516 (display-buffer-split-window, display-buffer-split-atom-window)
7517 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7518 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7519 (display-buffer-other-window-means-other-frame)
7520 (display-buffer-normalize-special)
7521 (display-buffer-normalize-default)
7522 (display-buffer-normalize-argument)
7523 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7524 (display-buffer-normalize-specifiers, display-buffer-frame)
7525 (display-buffer-same-window, display-buffer-same-frame)
7526 (display-buffer-other-window)
7527 (display-buffer-same-frame-other-window)
7528 (display-buffer-other-frame, pop-to-buffer-same-window)
7529 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7530 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7531 (switch-to-buffer-same-frame)
7532 (switch-to-buffer-other-window-same-frame)
7533 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7534 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7535 (display-buffer-alist-set): Remove.
7536 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7537 (special-display-regexps, special-display-function):
7538 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7539 parameter.
7540 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7541 (special-display-frame-alist, special-display-popup-frame)
7542 (same-window-buffer-names, same-window-regexps, same-window-p)
7543 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7544 (split-window-preferred-function, split-height-threshold)
7545 (split-width-threshold, window-splittable-p)
7546 (split-window-sensibly, window--try-to-split-window)
7547 (window--frame-usable-p, even-window-heights)
7548 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7549 (window--display-buffer-2, display-buffer-other-frame):
7550 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7551 (display-buffer-default, display-buffer-assq-regexp): New functions.
7552 (display-buffer-alist): Rewrite doc-string.
7553 (display-buffer-default-action)
7554 (display-buffer-overriding-action): New variables.
7555 (display-buffer, switch-to-buffer): Rewrite.
7556 (pop-to-buffer): Restore Emacs 23 behavior but use
7557 window-normalize-buffer-to-display.
7558 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7559 Restore Emacs 23 behavior but use
7560 window-normalize-buffer-to-switch-to.
7561 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7562 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7563 Rewrite using Emacs 23 options.
f818cd2a 7564
5bc3b51d
MA
75652011-08-31 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * net/tramp.el (tramp-root-regexp): Remove.
7568 (tramp-completion-file-name-regexp-unified)
7569 (tramp-completion-file-name-regexp-separate)
7570 (tramp-completion-file-name-regexp-url): Don't use leading volume
7571 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7572 (tramp-drop-volume-letter): Simplify definition.
7573 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7574
b1a4f8e1
SM
75752011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7578 (bug#9356).
7579
5664fa7b
RT
75802011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7581
b1a4f8e1 7582 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7583
9a45d6c3
JL
75842011-08-29 Juri Linkov <juri@jurta.org>
7585
7586 * isearch.el (isearch-done): Don't display message "Mark saved"
7587 when arg `edit' is non-nil to prevent its flicker in the echo area.
7588
fb87e0fb
CY
75892011-08-28 Chong Yidong <cyd@stupidchicken.com>
7590
7591 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7592 obsolete packages for deletion.
7593
09ac1c2a
CS
75942011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7595
7596 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7597 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7598 view-mode from help-mode.
7599 (help-xref-override-view-map): Remove.
7600 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7601 view-mode is not used anymore.
7602
7a1ff57f
CY
76032011-08-28 Chong Yidong <cyd@stupidchicken.com>
7604
7605 * server.el (server-port): Doc fix.
7606
b9696605
CY
7607 * cus-theme.el (custom-theme-choose-mode): Inherit from
7608 special-mode (Bug#9124).
7609 (custom-theme-choose-mode-map): Add special-mode to parent.
7610
ef8cdf8c
AM
76112011-08-28 Alan Mackenzie <acm@muc.de>
7612
7613 * progmodes/cc-fonts.el
7614 (c-make-font-lock-BO-decl-search-function): New function.
7615 (c-basic-matchers-after - "Fontify the clauses after various
7616 keywords"): Extract the three keyword lists for the 3 erroneous
7617 constructs from the list of four, and use the new function above
7618 in place of an old one.
7619
27de4e20
DD
76202011-08-28 Deniz Dogan <deniz@dogan.se>
7621
7622 * net/rcirc.el (rcirc-insert-prev-input)
7623 (rcirc-insert-next-input): Remove unused argument.
7624
356a3681
SM
76252011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7628
3fc9b218
AM
76292011-08-27 Alan Mackenzie <acm@muc.de>
7630
7631 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7632 handle function pointer parameters properly.
7633
538a061c
MR
76342011-08-27 Martin Rudalics <rudalics@gmx.at>
7635
7636 * window.el (display-buffer-reuse-window): Fix case where
7637 selected window was reused with non-nil OTHER-WINDOW argument.
7638 (Bug#9381)
7639
35b1c40c
DD
76402011-08-27 Deniz Dogan <deniz@dogan.se>
7641
7642 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7643 oftc's NickServ messages.
7644
2f6a3e79
GM
76452011-08-27 Glenn Morris <rgm@gnu.org>
7646
7647 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7648
7254299e
CY
76492011-08-26 Chong Yidong <cyd@stupidchicken.com>
7650
7651 * emacs-lisp/package.el (package-install): Call package-initialize
7652 if called interactively.
7653
f8ccf167
LL
76542011-08-26 Leo Liu <sdl.web@gmail.com>
7655
7656 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7657
3e8cd5ce
JL
76582011-08-25 Juri Linkov <juri@jurta.org>
7659
7660 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7661 `search-whitespace-regexp' (bug#9364).
7662
93eb7113
JL
76632011-08-25 Juri Linkov <juri@jurta.org>
7664
7665 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7666 `regexp-search-ring' to their global values to protect from
7667 updating by `read-from-minibuffer' (bug#9185).
7668
f65d1611
JL
76692011-08-25 Juri Linkov <juri@jurta.org>
7670
7671 * textmodes/ispell.el (ispell-command-loop): Add newline
7672 at the end of the "Use option `i'..." line.
7673
f1cf7a31
JL
76742011-08-25 Juri Linkov <juri@jurta.org>
7675
7676 * battery.el (display-battery-mode): If `battery-status-function'
7677 or `battery-mode-line-format' is nil, display the message and set
7678 `display-battery-mode' to nil (bug#9363).
7679
0c95fcf7
EZ
76802011-08-25 Eli Zaretskii <eliz@gnu.org>
7681
7682 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7683 bidi-string-mark-left-to-right; they are unnecessary now.
7684
a2ebe600
DD
76852011-08-25 Deniz Dogan <deniz@dogan.se>
7686
7687 * net/quickurl.el: Documentation typo fixes.
7688
e4ed06f1
CY
76892011-08-25 Chong Yidong <cyd@stupidchicken.com>
7690
7691 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7692
e5f1c99e
GM
76932011-08-25 Glenn Morris <rgm@gnu.org>
7694
b2948976
GM
7695 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7696
e5f1c99e
GM
7697 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7698 (smtpmail-via-smtp): Handle nil response from smtp.
7699
f22f4808
JL
77002011-08-24 Juri Linkov <juri@jurta.org>
7701
7702 * proced.el (proced-marked): Inherit from `error' instead of
7703 `font-lock-warning-face'.
7704
7705 * ibuffer.el (ibuffer-marked-face): Change default face from
7706 `font-lock-warning-face' to `warning'.
7707 (ibuffer-deletion-face): Change default face from
7708 `font-lock-type-face' to `error'.
7709
7710 * battery.el (battery-update): Use the face `error' instead of
7711 `font-lock-warning-face' (bug#6117).
7712
6a93965e
JL
77132011-08-24 Juri Linkov <juri@jurta.org>
7714
7715 * faces.el (success): Change face color from "Green3" to
7716 "ForestGreen" on light background (bug#9353).
7717
1ed43b09
CY
77182011-08-24 Chong Yidong <cyd@stupidchicken.com>
7719
5664fa7b
RT
7720 * window.el (quit-window): Rename from quit-restore-window.
7721 Use same arglist as old quit-window.
1ed43b09
CY
7722 (frame-auto-delete): Doc fix.
7723
7724 * view.el (view-mode-exit): Use quit-window.
7725
11dcdbb2
JL
77262011-08-24 Juri Linkov <juri@jurta.org>
7727
7728 * isearch.el (isearch-ring-adjust1): Start visiting previous
7729 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7730 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7731 for empty search string (when the last search string is reused
7732 automatically) to adjust the isearch ring to the last element and
7733 prepare the correct index for further M-p commands (bug#9185).
7734
de62b4df
KH
77352011-08-24 Kenichi Handa <handa@m17n.org>
7736
7737 * international/ucs-normalize.el: If decomposition property of
7738 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7739 nil.
7740 (nfd, nfkd): Likewise.
7741
963b492b
SM
77422011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7745 from process filters aren't reliably transmitted to the surrounding
7746 accept-process-output.
7747 (mpc-proc-check): New function.
7748 (mpc-proc-sync): Use it (bug#8293)
7749
93b6b5e1
SM
77502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7753 Add compatibility functions (bug#9313).
7754
bca633fb
EZ
77552011-08-23 Eli Zaretskii <eliz@gnu.org>
7756
b177498a
EZ
7757 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7758
6df6ae42 7759 * international/uni-bidi.el: Regenerate.
bca633fb 7760
0902a04e
KH
77612011-08-23 Kenichi Handa <handa@m17n.org>
7762
7763 * international/charprop.el:
7764 * international/uni-bidi.el:
7765 * international/uni-category.el:
7766 * international/uni-combining.el:
7767 * international/uni-comment.el:
7768 * international/uni-decimal.el:
7769 * international/uni-decomposition.el:
7770 * international/uni-digit.el:
7771 * international/uni-lowercase.el:
7772 * international/uni-mirrored.el:
7773 * international/uni-name.el:
7774 * international/uni-numeric.el:
7775 * international/uni-old-name.el:
7776 * international/uni-titlecase.el:
7777 * international/uni-uppercase.el: Regenerate.
7778
3bbf23bc
MR
77792011-08-23 Martin Rudalics <rudalics@gmx.at>
7780
7781 * help.el (help-window-setup): Fix message displayed when other
7782 window is reused. (Bug#9341)
7783
b3fd59bd
SM
77842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7785
1802e444
SM
7786 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7787 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7788
b3fd59bd
SM
7789 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7790 Mark obsolete.
7791 * shell.el (shell-parse-pcomplete-arguments): New function.
7792 (shell-completion-vars): Use it instead (bug#9160).
7793
4eb61348
SM
77942011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7795
867cab74
SM
7796 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7797 strings and comments (bug#9333).
7798
4eb61348
SM
7799 * emacs-lisp/debug.el (debug-arglist): New function.
7800 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7801 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7802
262a1439
JL
78032011-08-22 Juri Linkov <juri@jurta.org>
7804
56ee679c
JL
7805 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7806 Revert regexp that highlights output switches to its old
7807 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7808
262a1439
JL
7809 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7810 to check for empty output (bug#9226).
7811
f13f86fb
CY
78122011-08-22 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7815 symbol-constituent as the default, as that stops font-lock from
7816 working properly (Bug#8843).
7817
c65c9622
LMI
78182011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7819
7820 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7821 `coding-system-for-*' around the process open call to avoid
7822 auth-source side effects.
e7f2c178 7823 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7824 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7825 probe hangs.
c65c9622 7826
23a8a5ab
CY
78272011-08-21 Chong Yidong <cyd@stupidchicken.com>
7828
ff98b2dd
CY
7829 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7830
23a8a5ab
CY
7831 * emacs-lisp/find-func.el (find-function-noselect): New arg
7832 lisp-only.
7833
7834 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7835 signal an error for built-in functions (Bug#6664).
7836
f5e3c598
LMI
78372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838
7839 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7840 (smtpmail-try-auth-methods): Use it.
7841
a3f2468a
CY
78422011-08-21 Chong Yidong <cyd@stupidchicken.com>
7843
2c34e8da
CY
7844 * font-lock.el (font-lock-fontify-region)
7845 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7846 (font-lock-default-unfontify-buffer)
7847 (font-lock-default-fontify-region)
7848 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7849
b3fd59bd
SM
7850 * progmodes/compile.el (compilation-error-properties):
7851 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7852 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7853 `ant' regexp.
ee31aabc 7854
a3f2468a
CY
7855 * net/browse-url.el (browse-url-firefox): Don't call
7856 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7857
8e999f70
GM
78582011-08-20 Glenn Morris <rgm@gnu.org>
7859
c21a496a
GM
7860 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7861
59ee0542
GM
7862 * tutorial.el (tutorial--default-keys): Update some default bindings.
7863
8e999f70
GM
7864 * files.el (hack-local-variables): Fully ignore case for "mode:".
7865
e3715033
AM
78662011-08-20 Alan Mackenzie <acm@muc.de>
7867
7868 Resolve invalid use of a regexp in regexp-opt.
7869
4d61f28d
JB
7870 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7871 detection for a java annotation.
e3715033 7872
4d61f28d 7873 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7874 detection for a java annotation.
7875
4d61f28d
JB
7876 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7877 handling for java.
e3715033
AM
7878 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7879
04ed2e9c
CY
78802011-08-20 Chong Yidong <cyd@stupidchicken.com>
7881
7882 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7883 (Bug#9274).
7884
826cee64
AM
78852011-08-20 Alan Mackenzie <acm@muc.de>
7886
58179cce 7887 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7888 such a construct. Mainly for when jit-lock etc. starts a chunk
7889 here.
7890
58179cce 7891 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7892 variable.
58179cce 7893 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7894 c-make-font-lock-search-function.
7895 (c-make-font-lock-search-function): Use the above function.
7896 (c-make-font-lock-context-search-function): New function.
7897 (c-cpp-matchers): Enhance the preprocessor expression case with
7898 the above function
7899 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7900 which takes an expression.
7901
7902 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7903
13009bd8
MR
79042011-08-20 Martin Rudalics <rudalics@gmx.at>
7905
7906 * window.el (display-buffer-reuse-window)
7907 (display-buffer-pop-up-window): Don't reuse or split a side
7908 window.
7909
9234ff7f
GM
79102011-08-19 Glenn Morris <rgm@gnu.org>
7911
7912 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7913 Downcase "Mode:". (Bug#9331)
9234ff7f 7914
f635daa1
CY
79152011-08-18 Chong Yidong <cyd@stupidchicken.com>
7916
7917 * international/characters.el: Add L and R categories.
7918
7919 * subr.el (bidi-string-mark-left-to-right): Rename from
7920 string-mark-left-to-right. Use category search.
7921
7922 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7923
bc987f8b
JL
79242011-08-18 Juri Linkov <juri@jurta.org>
7925
7926 * faces.el (error, warning, success): New faces with definitions
7927 copied from old default values of `font-lock-warning-face',
7928 `compilation-warning', `compilation-info' (bug#6117).
7929
7930 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7931
7932 * progmodes/compile.el (compilation-error): Inherit from `error'.
7933 (compilation-warning): Inherit from `warning'.
7934 (compilation-info): Inherit from `success'.
7935
7936 * dired.el (dired-marked): Inherit from `warning'.
7937 (dired-flagged): Inherit from `error'.
7938
57173b96
LMI
79392011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940
3e79eb87
LMI
7941 * mail/smtpmail.el (auth-source): Require to avoid problems with
7942 binding variables (bug#9298). Also clean up some unused
7943 autoloads.
7944
b3fd59bd
SM
7945 * net/network-stream.el (network-stream-open-starttls):
7946 Support using starttls.el without using gnutls-cli.
57173b96 7947
02b404de
JL
79482011-08-17 Juri Linkov <juri@jurta.org>
7949
7950 * progmodes/grep.el (rgrep): Handle the case when
7951 `grep-find-command' is a cons cell (bug#9278).
7952
8c9177f2
MR
79532011-08-17 Martin Rudalics <rudalics@gmx.at>
7954
7955 * window.el (display-buffer-pop-up-frame): Run frame creation
7956 function with BUFFER current (as special-display-popup-frame
7957 does). Reported by Drew Adams.
7958
3644a0ab
DU
79592011-08-17 Daiki Ueno <ueno@unixuser.org>
7960
7961 * epa-mail.el: Simplify GnuPG group expansion using
7962 epg-expand-group.
7963 (epa-mail-group-alist, epa-mail-group-modtime)
7964 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7965 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7966 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7967 Remove.
7968
5e617bc2 79692011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7970
7971 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7972
9c4aeabf
AM
79732011-08-16 Alan Mackenzie <acm@muc.de>
7974
7975 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7976 Correct, to avoid the inside of macros.
7977
3a99bf64
RS
79782011-08-16 Richard Stallman <rms@gnu.org>
7979
04963aa8
RS
7980 * epa-mail.el: Handle GnuPG group definitions.
7981 (epa-mail-group-alist, epa-mail-group-modtime)
7982 (epa-mail-gnupg-conf-file): New variables.
7983 (epa-mail-parse-groups, epa-mail-sync-groups)
7984 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7985 (epa-mail-expand-recipients): New functions.
7986 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7987
177549d0
RS
7988 * mail/rmail.el (rmail-epa-decrypt): New command.
7989
fe38beef
RS
7990 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7991 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7992 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7993 (epa-decrypt-armor-in-region): Make error message clearer.
7994
934eacb9
SM
79952011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7998 and "a2b" to "ab" for `prefix'.
7999
d024fb4e
CY
80002011-08-14 Chong Yidong <cyd@stupidchicken.com>
8001
8002 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8003 filter groups.
de148fee
CY
8004 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8005 Fourquet (Bug#8804).
d024fb4e 8006
62f1ca49
JB
80072011-08-12 Juanma Barranquero <lekktu@gmail.com>
8008
8009 * startup.el (argi): Declare as global variable (bug#9275).
8010
9ccaaa4b
CY
80112011-08-12 Chong Yidong <cyd@stupidchicken.com>
8012
8013 * subr.el (string-mark-left-to-right): Search the entire string
8014 for RTL script, not just the terminating character. Doc fix.
8015
a3dae87a
SM
80162011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8017
6cd18349
SM
8018 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8019 New function.
8020 (js--regexp-literal, js-syntax-propertize-function): Remove.
8021 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8022 (js-mode-map): Don't rebind electric keys.
8023 (js-insert-and-indent): Remove.
8024 (js-mode): Setup electric-layout and electric-indent instead.
8025
a3dae87a
SM
8026 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8027
9d5cb631
DU
80282011-08-12 Daiki Ueno <ueno@unixuser.org>
8029
8030 * epa.el (epa-progress-callback-function): Fix the logic of
8031 displaying progress.
8032 * epa-file.el (epa-file-insert-file-contents): Make progress
8033 display more user-friendly.
8034 (epa-file-write-region): Ditto.
8035
3e26a4a2
CY
80362011-08-10 Chong Yidong <cyd@stupidchicken.com>
8037
8038 * subr.el (string-mark-left-to-right): New function.
8039
8040 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8041 Use string-mark-left-to-right.
8042 (list-buffers-noselect): Caller changed.
8043
a3dae87a
SM
8044 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8045 Use string-mark-left-to-right.
3e26a4a2
CY
8046 (tabulated-list-print): Recenter after moving point.
8047
ac8cf6e6
JL
80482011-08-10 Juri Linkov <juri@jurta.org>
8049
8050 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8051 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8052 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8053
8d96c9a4
CY
80542011-08-09 Chong Yidong <cyd@stupidchicken.com>
8055
8056 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8057 (Bug#7554).
8058
7be1c708 80592011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8060
8061 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8062 character. (Bug#6594)
8063
37e11a63
CY
80642011-08-08 Chong Yidong <cyd@stupidchicken.com>
8065
839dde57
CY
8066 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8067 (image-dired--with-db-file): New macro.
8068 (image-dired-write-tags, image-dired-remove-tag)
8069 (image-dired-create-gallery-lists, image-dired-write-comments)
8070 (image-dired-get-comment, image-dired-mark-tagged-files)
8071 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8072 (image-dired-gallery-generate): Use insert-file-contents.
8073
37e11a63
CY
8074 * time.el (display-time-world-list, display-time-world-display):
8075 * time-stamp.el (time-stamp-string):
8076 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8077 set-time-zone-rule (Bug#7337).
8078
0b4946c4
DU
80792011-08-08 Daiki Ueno <ueno@unixuser.org>
8080
8081 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8082 (epg-error-to-string, epg-errors-to-string): New function.
8083 (epg-wait-for-completion): Reverse errors list.
8084 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8085 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8086 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8087 (epg-sign-keys, epg-generate-key-from-file)
8088 (epg-generate-key-from-string): Format errors by using
8089 epg-errors-to-string (bug#9255).
8090 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8091
75bfc667
JL
80922011-08-07 Juri Linkov <juri@jurta.org>
8093
8094 * faces.el (list-faces-display): Remove extra angle bracket
8095 from `help-mode-map'.
8096
8097 * info.el (Info-history-toc-nodes): Doc fix.
8098
8099 * longlines.el (longlines-mode): Doc fix.
8100
673e08bb
SM
81012011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8102
4640dd88
SM
8103 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8104 of statements and in a few more cases (bug#9183).
8105
673e08bb
SM
8106 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8107 New functions.
8108 (cl-transform-lambda): Use them (bug#9239).
8109
89b3f019
MR
81102011-08-05 Martin Rudalics <rudalics@gmx.at>
8111
8112 * window.el (display-buffer-same-window)
8113 (display-buffer-same-frame, display-buffer-other-window)
8114 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8115 (pop-to-buffer-other-window)
8116 (pop-to-buffer-same-frame-other-window)
8117 (pop-to-buffer-other-frame): Make them defuns.
8118 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8119
640c8776
SM
81202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * subr.el (make-composed-keymap): Move from C. Change calling
8123 convention, and improve docstring to bring attention to a subtle point.
8124 * minibuffer.el (completing-read-default): Adjust accordingly.
8125
63648a95
MA
81262011-08-03 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8129 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8130
8131 * net/trampver.el: Update release number.
8132
b796c9b7
SM
81332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8136 "in" (bug#9190).
8137
2239d7d5
LMI
81382011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139
e07dd7c3
LMI
8140 * mail/sendmail.el (sendmail-query-once): Restore the current
8141 buffer after querying (bug#9074).
8142
0e6a2bd7
LMI
8143 * dired.el (dired-flagged): Use different faces for marked and
8144 flagged files (bug#6117).
8145
ce887515
LMI
8146 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8147 (bug#4433).
8148
92f2affc
LMI
8149 * ido.el (ido-mode): Switch off the message if called
8150 non-interactively.
8151
57d5aff0
LMI
8152 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8153 before 587, since it appears that that's more likely to work for
8154 more people.
8155
98cd6c18 8156 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8157 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8158 exist.
8159
b96dec83
LMI
8160 * info.el: Remove the `Info-beginning-of-buffer' function
8161 (bug#8325).
8162
b796c9b7
SM
8163 * net/network-stream.el (network-stream-open-starttls):
8164 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8165
d90e2ea0
MR
81662011-08-01 Martin Rudalics <rudalics@gmx.at>
8167
8168 * window.el (display-buffer-in-window): Don't set dedicated status
8169 of window here (Bug#9215).
8170 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8171 (display-buffer-pop-up-side-window)
b796c9b7 8172 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8173
cca09170
SM
81742011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8177 before binding generated-autoload-file.
8178
027b979c
DD
81792011-08-01 Deniz Dogan <deniz@dogan.se>
8180
8181 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8182
3c7ee4f3
MA
81832011-07-30 Michael Albinus <michael.albinus@gmx.de>
8184
8185 Sync with Tramp 2.2.2.
8186
8187 * net/trampver.el: Update release number.
8188
2cc8e51a
JL
81892011-07-30 Juri Linkov <juri@jurta.org>
8190
8191 * dired-aux.el (dired-touch-initial): Remove function.
8192 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8193 current time, and `default' to the last modification time of the
8194 current marked file (bug#6887).
8195
a514d856
JM
81962011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8197
8198 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8199 numeric argument to read-number (bug#9163).
a514d856 8200
8a7eddd7
MA
82012011-07-27 Michael Albinus <michael.albinus@gmx.de>
8202
8203 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8204 connection process, it could be nil.
8205
1ddd96f5
LL
82062011-07-27 Leo Liu <sdl.web@gmail.com>
8207
8208 Simplify url handling in rcirc-mode.
8209
8210 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8211 (rcirc-browse-url-at-mouse): Remove.
8212 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8213
b248a85d
AM
82142011-07-26 Alan Mackenzie <acm@muc.de>
8215
8216 Fontify bitfield declarations properly.
8217
8218 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8219 (c-symbol-chars): Now exported as a lang variable.
8220 (c-not-primitive-type-keywords): New lang variable.
8221
8222 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8223 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8224 parsed as a bitfield declaration.
b248a85d 8225
b796c9b7
SM
8226 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8227 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8228 (c-punctuation-in): New function.
8229 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8230 declarations properly.
8231
68575ab0
UJ
82322011-07-26 Ulf Jasper <ulf.jasper@web.de>
8233
8234 * calendar/icalendar.el (icalendar--all-events): Take care of
8235 multiple vcalendars in a single file.
b796c9b7 8236 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8237
0f0a88b9
DD
82382011-07-25 Deniz Dogan <deniz@dogan.se>
8239
8240 * image.el (insert-image): Clarifying docstring.
8241
0b3f36df
MA
82422011-07-24 Michael Albinus <michael.albinus@gmx.de>
8243
8244 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8245 `tramp-send-command-and-check' if there is no error.
8246 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8247
a9901f61
AM
82482011-07-22 Alan Mackenzie <acm@muc.de>
8249
8250 Prevent cc-langs.elc being loaded at run time.
8251
8252 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8253 cc-langs.
8254
4d61f28d 8255 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8256 "(require 'cc-langs)". Quote a form so it will evaluate at
8257 (cc-mode's) compilation time.
8258
11d074b2
MA
82592011-07-22 Michael Albinus <michael.albinus@gmx.de>
8260
8261 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8262 loading. (Bug#9114)
8263
938b94c8
MR
82642011-07-21 Martin Rudalics <rudalics@gmx.at>
8265
8266 * window.el (display-buffer-pop-up-window)
8267 (display-buffer-pop-up-side-window)
8268 (display-buffer-in-side-window): Call display-buffer-set-height
8269 and display-buffer-set-width after setting the new window's
b796c9b7 8270 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8271
bfa4f190
SS
82722011-07-20 Sam Steingold <sds@gnu.org>
8273
8274 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8275 (etags-tags-included-tables): Call `convert-standard-filename' on
8276 the file names contained in TAGS so that windows Emacs can handle
8277 TAGS files created by cygwin ctags.
8278
8ca42262
LMI
82792011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280
8281 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8282 which apparently didn't work.
8283
5db2afd2 82842011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8285
5db2afd2
RW
8286 * proced.el (proced-send-signal): For *Marked Processes* buffer
8287 put point at beginning of buffer.
8288
92e15d10
SB
82892011-07-19 Stephen Berman <stephen.berman@gmx.net>
8290
8291 * proced.el (proced-format): Make header lines align with the text
8292 (bug#1779).
8293
1bfd59e5
LMI
82942011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8295
8296 * view.el (view-buffer): Allow running in `special' modes if we're
8297 visiting a file (bug#8615).
8298
f5aae37c
MR
82992011-07-19 Martin Rudalics <rudalics@gmx.at>
8300
8301 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8302 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8303 New functions.
f5aae37c
MR
8304 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8305 more accurately.
8306
bf2c1571
AM
83072011-07-18 Alan Mackenzie <acm@muc.de>
8308
8309 Fontify declarators properly when, e.g., a jit-lock chunk begins
8310 inside a declaration.
8311
8312 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8313
b796c9b7
SM
8314 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8315 New function.
bf2c1571
AM
8316 (c-complex-decl-matchers): Insert reference to
8317 c-font-lock-enclosing-decls.
8318
8319 * progmodes/cc-engine.el (c-backward-single-comment):
8320 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8321 to nil around calls to (forward-comment -1).
8322
4e190b80
LMI
83232011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8324
12dc863d
LMI
8325 * image.el (put-image): Doc typo fix.
8326
a762e966
LMI
8327 * progmodes/etags.el (tags-search): Doc typo fix.
8328
4e190b80
LMI
8329 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8330 password if we get errors 550 to 554.
8331
f019fb21
LMI
83322011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
b796c9b7 8334 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8335
81746738
LMI
8336 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8337 indentation character (bug#6380).
8338
3ee3a1b5
LMI
8339 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8340
c82f64de
LMI
8341 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8342 to clarify what the problem is (bug#4291).
8343
f019fb21
LMI
8344 * simple.el (current-kill): Clarify what
8345 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8346 (auto-fill-mode): Document `auto-fill-function' in relation to
8347 `auto-fill-mode' (bug#2470).
f019fb21 8348
0794775d
LM
83492011-07-16 Lawrence Mitchell <wence@gmx.li>
8350
8351 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8352 method if slot is read-only (bug#9035).
8353
be39b8cc
MR
83542011-07-16 Martin Rudalics <rudalics@gmx.at>
8355
b796c9b7 8356 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8357 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8358 selected before, see discussion of (Bug#8615), (Bug#6954).
8359 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8360
6ccf7859
GM
83612011-07-15 Glenn Morris <rgm@gnu.org>
8362
8363 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8364 Respect help-form.
6ccf7859 8365
87e86684
LM
83662011-07-09 Lawrence Mitchell <wence@gmx.li>
8367
8368 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8369 (gnutls-negotiate): Use it.
8370
d6066239
LMI
83712011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372
b796c9b7
SM
8373 * net/gnutls.el (gnutls-negotiate):
8374 Upcase `gnutls-algorithm-priority'.
d6066239 8375
bd23ebc0
GM
83762011-07-15 Glenn Morris <rgm@gnu.org>
8377
c65bca65
GM
8378 * jka-compr.el (jka-compr-verbose): Move from here...
8379 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8380 Add missing :version tag.
8381 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8382
478615cc
LMI
83832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
7b41decb
LMI
8385 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8386 (gnutls-negotiate): Use it.
8387
dbc44fcd
LMI
8388 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8389
06789f97
LMI
8390 * info.el (Info-beginning-of-buffer): New command.
8391 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8392 announcing `b' as the key (bug#8325).
ab896c37 8393 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8394
c39da690
LMI
8395 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8396
3aa5f34b
LMI
8397 * international/mule-cmds.el
8398 (describe-specified-language-support): Make the error message
8399 clearer (bug#8905).
8400
4bf0979f
LMI
8401 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8402
478615cc
LMI
8403 * isearch.el (isearch-barrier): Add a doc string, since it's
8404 mentioned in a function doc string (bug#8678).
8405
75c68aa1
MR
84062011-07-15 Martin Rudalics <rudalics@gmx.at>
8407
8408 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8409 buffer argument (Bug#9083) and self-identifying label argument.
8410
a7c33da2
GM
84112011-07-15 Glenn Morris <rgm@gnu.org>
8412
8413 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8414
2f5c6024
LMI
84152011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8416
8417 * man.el (Man-fontify-manpage): Fix message when formatting the
8418 man page (bug#7929).
8419
0bb23927 84202011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8421
8422 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8423 argument LRM; if non-nil, append an invisible LRM character to the
8424 buffer name.
8425 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8426 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8427 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8428 paragraph direction.
cce4b0a7 8429
621ef9ab
LMI
84302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8431
d1583c48
LMI
8432 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8433 the man page name (bug#7929).
8434
6a57fb5f
LMI
8435 * image.el (put-image): Mention the `put-image' overlay property
8436 (bug#7834).
8437
d7956b14
LMI
8438 * scroll-bar.el (set-scroll-bar-mode): Mention that
8439 `scroll-bar-mode' lists the values (bug#7772).
8440
5b2d4a66
LMI
8441 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8442 command (bug#7729).
8443
7509a874
LMI
8444 * rect.el (apply-on-rectangle): Return the point after the last
8445 operation.
8446 (string-rectangle): Go to the point after the last operation
8447 (bug#7522).
8448
4fe74b19
LMI
8449 * printing.el (pr-toggle-region): Clarify the documentation
8450 slightly (bug#7493).
8451
b796c9b7
SM
8452 * time.el (display-time-update):
8453 Allow `display-time-mail-function' to return nil (bug#7158).
8454 Fix suggested by Detlev Zundel.
ab283561 8455
fc233c9d
LMI
8456 * vc/diff.el (diff): Clarify the order the file names are read
8457 (bug#7111).
8458
43f5740b
LMI
8459 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8460 the doc string (bug#7015).
8461
f2182a76
LMI
8462 * font-lock.el (font-lock-maximum-decoration): Mention what
8463 numeric levels mean (bug#6935).
8464
621ef9ab
LMI
8465 * startup.el (initial-buffer-choice): Don't mention the `none'
8466 selection, which is against policy.
8467
adc47434
MR
84682011-07-14 Martin Rudalics <rudalics@gmx.at>
8469
b796c9b7
SM
8470 * window.el (display-buffer-normalize-special):
8471 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8472
7e5bfb8f
EZ
84732011-07-14 Eli Zaretskii <eliz@gnu.org>
8474
8475 * subr.el (version<, version<=, version=): Mention "-CVS" and
8476 "-12345" alpha version numbers.
8477
27fa387a
CY
84782011-07-14 Chong Yidong <cyd@stupidchicken.com>
8479
8480 * bindings.el: Add advertised binding for set-mark-command
8481 (Bug#5772).
8482
8bdfa064
CY
84832011-07-14 Chong Yidong <cyd@stupidchicken.com>
8484
8485 * bindings.el (mode-line-other-buffer):
8486 * bookmark.el (bookmark-bmenu-2-window):
8487 * bs.el (bs-cycle-next, bs-cycle-previous):
8488 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8489 switch-to-buffer.
8490
8491 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8492 Delete.
8bdfa064 8493
5eba16a3
JB
84942011-07-14 Juanma Barranquero <lekktu@gmail.com>
8495
8496 * follow.el (follow-debug-message, follow-redisplay):
8497 * jka-cmpr-hook.el (with-auto-compression-mode):
8498 Fix typos in docstrings.
8499
15853710
LMI
85002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8501
a28e4607
LMI
8502 * subr.el (with-silent-modifications): Clarify somewhat what the
8503 macro inhibits (bug#6525).
8504
15853710
LMI
8505 * simple.el (eval-expression): Note what it does if called
8506 interactively (bug#6495).
8507
bee0fcef
CY
85082011-07-13 Chong Yidong <cyd@stupidchicken.com>
8509
b796c9b7
SM
8510 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8511 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8512
8513 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8514 Remove switch-to-buffer.
8515
58274504
LMI
85162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8517
bd2fcc8d
LMI
8518 * files.el (make-directory): Clarify that an error will be raised
8519 if there's an error (bug#6397).
8520
0f04b32c
LMI
8521 * startup.el (initial-buffer-choice): Add `none' as a choice
8522 (bug#6234).
8523
465c5fc8
LMI
8524 * subr.el (add-hook): Clarify section about buffer-local hooks
8525 (bug#6218).
8526
58274504
LMI
8527 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8528
bead9a43
JB
85292011-07-13 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * tabify.el (untabify): Preserve the current column so that point
8532 doesn't move (bug#6032).
8533
3af98a7b
LMI
85342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8535
b796c9b7
SM
8536 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8537 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8538
6240145a
GM
85392011-07-13 Glenn Morris <rgm@gnu.org>
8540
8541 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8542 (dired-insert-directory): Give a message the first time
8543 if ls is found not to support --dired.
8544
1d8c2ccc
LMI
85452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8546
8547 * simple.el (toggle-truncate-lines): Clarify what is toggled
8548 (bug#5580). Text by Drew Adams.
8549
5fc4038e
CY
85502011-07-13 Chong Yidong <cyd@stupidchicken.com>
8551
8552 * simple.el (blink-matching-open): Make the error message from the
8553 last change less verbose.
8554
bf6012e5
DN
85552011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8556
8557 * font-lock.el (font-lock-comment-face): Use the high contrast
8558 "yellow" color for font-lock-comment-face on low color terminals
8559 using a dark background color (bug#4221).
8560
343c3b5a
LMI
85612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562
7e9505c5
LMI
8563 * dired.el (dired-insert-set-properties): Make the doc string
8564 reflect what it does now (bug#5325).
8565
c26fdcf5
LMI
8566 * simple.el (blink-matching-open): Say that we were unable to find
8567 the match within the limit, if we're limited (bug#5122).
8568
bb388cc5
LMI
8569 * international/mule-cmds.el (prefer-coding-system): Add an
8570 example (bug#4869).
8571
343c3b5a
LMI
8572 * progmodes/etags.el (tags-search): Document `file-list-form'
8573 (bug#4731).
8574
2a517d45
LM
85752011-07-13 Lawrence Mitchell <wence@gmx.li>
8576
8577 * net/browse-url.el (browse-url-default-browser)
8578 (browse-url-browser-function): Make the default browser choice a
8579 bit more logical (bug#4300). Also clean up the doc string.
8580
b6c78ef2
JB
85812011-07-13 Juanma Barranquero <lekktu@gmail.com>
8582
8583 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8584 binary endings (bug#4440).
8585
1c4dd947
LMI
85862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587
a2014063
LMI
8588 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8589 which can be pretty annoying (bug#8971).
8590
9c9c2d88
LMI
8591 * jka-compr.el (jka-compr-verbose): New variable, and use
8592 throughout (bug#8971).
8593
1c4dd947
LMI
8594 * info.el (Info-find-file): Fall back on the installation
8595 directory if we can't find the info node anywhere else.
8596
a1c9f41b
SO
85972011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8598
8599 * vc/vc.el (vc-revert-file):
8600 Don't set file time-stamp in the past. (Bug#5181)
8601
536f3d36
LMI
86022011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8603
7152b011
LMI
8604 * files.el (after-find-file): Give a better error message when
8605 trying to find a symlink that points to a file that doesn't exist
8606 (bug#4398).
8607
536f3d36
LMI
8608 * progmodes/cc-vars.el: Remove (probably) misleading comment
8609 (bug#4396).
8610
460c0fba
JB
86112011-07-12 Johan Bockgård <bojohan@gnu.org>
8612
8613 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8614
7a6bda45
CY
86152011-07-12 Chong Yidong <cyd@stupidchicken.com>
8616
8617 * mouse-sel.el: Hack restoring functionality, while keeping
8618 compatibility with 2010-07-03 changes to mouse selection.
8619 (mouse-sel-primary-overlay): New var.
8620 (mouse-sel-selection-alist): Use it.
8621 (mouse-sel-mode): Doc fix; remove points that are default features
8622 of mouse.el.
8623
c79598ef
JB
86242011-07-12 Johan Bockgård <bojohan@gnu.org>
8625
8626 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8627 Fix previous fix (bug#2490).
8628
ff8be6ef
RW
86292011-07-12 Roland Winkler <winkler@gnu.org>
8630
b796c9b7
SM
8631 * textmodes/bibtex.el (bibtex-initialize):
8632 Use pop-to-buffer-same-window.
ff8be6ef
RW
8633 (bibtex-search-entries): Fix interactive call.
8634
296ba3ee
LMI
86352011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636
f5242a02 8637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8638 Fontise bytecomp Error lines more correctly (bug#2490).
8639 Fix suggested by Johan Bockgård.
f5242a02 8640
296ba3ee
LMI
8641 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8642
8643 * dired-x.el (dired-guess-default): Use `delete-dups'.
8644
f69fd0d2
CY
86452011-07-12 Chong Yidong <cyd@stupidchicken.com>
8646
8647 * dired.el (dired-mark-prompt):
8648 * dired-aux.el (dired-read-shell-command): Doc fix.
8649
eab5dc07
LMI
86502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651
b796c9b7
SM
8652 * mail/sendmail.el (sendmail-query-once):
8653 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8654 emacs -Q.
8655
8656 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8657
eab5dc07
LMI
8658 * cus-edit.el (custom-file): Take an optional no-error variable.
8659 (customize-save-variable): Set the variable, and give a warning if
8660 running under "emacs -q".
8661
a1e65d42
JB
86622011-07-11 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * loadhist.el (unload-feature-special-hooks):
8665 Add `auto-coding-functions', `fill-nobreak-predicate' and
8666 `find-directory-functions' (bug#5327).
8667
1d52da10
LMI
86682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
be958f1d
LMI
8670 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8671
5bedb26c
LMI
8672 * cus-edit.el (custom-guess-name-alist): -alist variables should
8673 use the `alist' type (bug#3120). Suggested by Drew Adams.
8674
1d52da10
LMI
8675 * printing.el: Add documentation to all the `pr-toggle-' commands.
8676
cd394be1 86772011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8678
8679 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8680 backends where it makes sense (bug#2623).
8681
dcc88d8a
LMI
86822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
c3de9feb
LMI
8684 * dired-x.el (dired-guess-default): Remove duplicate shell command
8685 entries (bug#2028).
8a93078b 8686 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8687 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8688
dcc88d8a
LMI
8689 * subr.el (remove-duplicates): New conveniency function.
8690
505e3645
LMI
86912011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
8693 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8694 (bug#1526).
8695
86962011-07-10 Martin Rudalics <rudalics@gmx.at>
8697
8698 * window.el (display-buffer-normalize-default): Don't invert
8699 meaning of even-window-heights. Reported by Eli Zaretskii
8700 <eliz@gnu.org>.
8701
455e4fa1
BR
87022011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8703
8704 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8705
8e0bc3e9
CY
87062011-07-10 Chong Yidong <cyd@stupidchicken.com>
8707
8708 * window.el (display-buffer): Fix arguments to
8709 display-buffer-reuse-window in last change.
8710
fa7c3228
CY
8711 * faces.el (link): Use a less saturated blue on light backgrounds.
8712
8713 * startup.el (fancy-startup-text, fancy-about-text)
8714 (fancy-startup-tail): Use font-lock faces, for background safety.
8715
c0a7f300
BN
87162011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8717
b796c9b7
SM
8718 * emulation/viper-cmd.el (viper-change-state-to-vi):
8719 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8720
4dc2a129
MR
87212011-07-09 Martin Rudalics <rudalics@gmx.at>
8722
8723 * window.el (display-buffer-default-specifiers): Remove.
8724 (display-buffer-macro-specifiers): Remove default specifiers.
8725 (display-buffer-alist): Default to nil.
b796c9b7 8726 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8727 (display-buffer-pop-up-window): Allow splitting internal
8728 windows. Check whether a live window was created.
8729 (display-buffer-other-window-means-other-frame)
8730 (display-buffer-normalize-arguments): Rename to
8731 display-buffer-normalize-argument and rewrite. Set the
8732 other-window specifier.
8733 (display-buffer-normalize-special): New function.
8734 (display-buffer-normalize-options): Rename to
8735 display-buffer-normalize-default and rewrite.
8736 (display-buffer-normalize-options-inhibit): Remove.
8737 (display-buffer-normalize-specifiers): Rewrite.
8738 (display-buffer): Process other-window specifier and call
8739 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8740 more faithfully.
b796c9b7 8741 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8742 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8743 (display-buffer-in-window, display-buffer-alist-set):
8744 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8745 <tassilo@member.fsf.org>.
8746
2d43b8c9
LL
87472011-07-09 Leo Liu <sdl.web@gmail.com>
8748
8749 * register.el (insert-register): Restore accidental change on
8750 2011-06-26. (Bug#9028)
8751
7f9b7c53
GM
87522011-07-09 Glenn Morris <rgm@gnu.org>
8753
8754 * subr.el (remq): Handle the empty list. (Bug#9024)
8755
f042cfd8
AS
87562011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8757
8758 * mail/sendmail.el (send-mail-function): No longer delay custom
8759 initialization.
8760 * custom.el (custom-initialize-delay): Doc fix.
8761
856b2f11
SM
87622011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8765
afae1d68
MA
87662011-07-08 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8769 human-friendly prompt.
8770
0757af94
SM
87712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8774 provided by a particular plugin.
8775
d760b731
LMI
87762011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8777
8778 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8779 save customizations (with "emacs -Q"), just set the variable
8780 instead of erroring out.
8781
8782 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8783
cd79ce90
JL
87842011-07-08 Juri Linkov <juri@jurta.org>
8785
8786 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8787 (archive-zip-update-case): Use 7z if found by `executable-find'.
8788 The order of searching the available programs is the same as in
8789 `archive-zip-extract' (bug#8968).
8790
14cc04aa
CY
87912011-07-07 Chong Yidong <cyd@stupidchicken.com>
8792
8793 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8794 (menu-bar-options-menu): Tweak descriptions.
8795
0a1848ec
LMI
87962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8797
8798 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8799 menu items into verb phrases (bug#1421). Also refill to fit under
8800 80 columns.
8801
f5bd0689
CY
88022011-07-07 Chong Yidong <cyd@stupidchicken.com>
8803
538e85c6
CY
8804 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8805 (Info-read-node-name): Doc fix (Bug#1084).
8806
f5bd0689
CY
8807 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8808 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8809 (end-of-sexp, beginning-of-sexp)
8810 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8811 (forward-symbol, forward-same-syntax, word-at-point)
8812 (sentence-at-point): Doc fix (Bug#1144).
8813
56ec5115
LMI
88142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
f3f8e37f
LMI
8816 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8817 should cover it (bug#1281).
8818
0757af94 8819 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8820
e9fce1ac 8821 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8822 negotiation fails, then possibly try again with a non-encrypted
8823 connection (bug#9017).
8824
56ec5115
LMI
8825 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8826 be used.
8827
c2f9aec8
RS
88282011-07-07 Richard Stallman <rms@gnu.org>
8829
8830 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8831 property, and handle its changed format.
8832 Look for the correct line number.
8833 Use file's line contents (but not past first =) to find
8834 correct line in message.
8835
ef7b981d 88362011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8837
8838 * international/characters.el (build-unicode-category-table):
8839 Delete it.
0757af94 8840 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8841
0757af94 8842 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8843 to src/chartab.c.
8844 (get-char-code-property): Call unicode-property-table-internal to
8845 load a file. Call get-unicode-property-internal where necessary.
8846 (put-char-code-property): Call unicode-property-table-internal to
8847 load a file. Call put-unicode-property-internal where necessary.
8848 put-unicode-property-internal where necessary.
0757af94
SM
8849 (char-code-property-description):
8850 Call unicode-property-table-internal to load a file.
c805dec0
KH
8851
8852 * international/charprop.el:
8853 * international/uni-bidi.el:
8854 * international/uni-category.el:
8855 * international/uni-combining.el:
8856 * international/uni-comment.el:
8857 * international/uni-decimal.el:
8858 * international/uni-decomposition.el:
8859 * international/uni-digit.el:
8860 * international/uni-lowercase.el:
8861 * international/uni-mirrored.el:
8862 * international/uni-name.el:
8863 * international/uni-numeric.el:
8864 * international/uni-old-name.el:
8865 * international/uni-titlecase.el:
8866 * international/uni-uppercase.el: Regenerate.
8867
8868 * loadup.el: Load international/charprop.el before
8869 international/characters.
8870
e14b388a
CY
88712011-07-07 Chong Yidong <cyd@stupidchicken.com>
8872
8873 * window.el (next-buffer, previous-buffer): Signal an error if
8874 called from a minibuffer window.
8875
8876 * bindings.el: Revert 2011-07-04 change.
8877
354cf0ba
RS
88782011-07-06 Richard Stallman <rms@gnu.org>
8879
8880 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8881 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8882 Treat markers like ints.
8883 (rmail-mime-entity): Doc fix.
8884
a48868a7
LMI
88852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
4906cd3d
LMI
8887 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8888 defcustom again for backwards compatibility.
8889
e0457abe
LMI
8890 * simple.el (shell-command-on-region): Fill.
8891
d67f7e1f
LMI
8892 * dired-aux.el (dired-kill-line): Add a doc string.
8893
fe204702
LMI
8894 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8895 to "\\sw\\|\\s_" (bug#358).
8896
a48868a7
LMI
8897 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8898 (dired-unmark-backward): Ditto.
8899 (dired-flag-backup-files): Ditto.
8900
8901 * dired-x.el (dired-mark-sexp): Ditto.
8902
aa8a705c
RS
89032011-07-06 Richard Stallman <rms@gnu.org>
8904
8905 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8906 (rmail-mime-entity): New arg TRUNCATED.
8907 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8908 New functions.
8909 (rmail-mime-save): Warn if entity is truncated.
8910 (rmail-mime-toggle-hidden): Likewise, for showing.
8911 (rmail-mime-process-multipart): Record when an entity is truncated.
8912
a9a936b9
RS
8913 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8914 if ENTITY is a string.
8915
1f2b92cb
LMI
89162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8917
f4f73198 8918 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8919 of faces when `M-C-x'-ing their definitions (bug#8378).
8920 Also clean up the code slightly.
f4f73198 8921
12b16734 8922 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8923 because that makes the colors go away.
12b16734 8924
f0691d22
LMI
8925 * mail/sendmail.el (send-mail-function): Change the default to
8926 `sendmail-query-once'.
9e87df06 8927 (sendmail-query-once): Add an autoload cookie.
f0691d22 8928
1f2b92cb
LMI
8929 * net/network-stream.el (network-stream-open-starttls): Try using
8930 a plain connection even if the server offered STARTTLS, and we
8931 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8932 capability. This should make smtpmail.el work in slightly more
8933 configurations.
8934
1cdd2a1b
MA
89352011-07-06 Michael Albinus <michael.albinus@gmx.de>
8936
8937 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8938 New defun.
8939 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8940
fbcc67e2
MM
89412011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8942
8943 * progmodes/sql.el: Version 3.0
0757af94 8944 (sql-product-alist): Add product :completion-object,
fbcc67e2 8945 :completion-column, and :statement attributes.
0757af94 8946 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8947 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8948 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8949 ansi keywords.
8950 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8951 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8952 (sql-oracle-show-reserved-words): New function for development.
8953 (sql-product-font-lock): Simplify for source code buffers.
8954 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8955 New functions.
8956 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8957 (sql-mode-map): Add statement movement functions.
8958 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8959 New variable.
fbcc67e2
MM
8960 (sql-statement-regexp, sql-beginning-of-statement)
8961 (sql-end-of-statement, sql-signum): New functions.
0757af94 8962 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8963 (sql-show-sqli-buffer): Bug fix.
8964 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8965 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8966 with sql-interactive-mode.
8967 (sql-save-connection): Save buffer local settings.
0757af94 8968 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8969 (sql-product-interactive): Bug fix.
8970 (sql-preoutput-hold): New variable.
8971 (sql-interactive-remove-continuation-prompt): Bug fixes.
8972 (sql-debug-redirect): New variable.
8973 (sql-str-literal): New function.
8974 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8975 Redesign.
fbcc67e2
MM
8976 (sql-oracle-save-settings, sql-oracle-restore-settings)
8977 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8978 (sql-completion-object, sql-completion-column)
8979 (sql-completion-sqlbuf): New variables.
8980 (sql-build-completions-1, sql-build-completions)
8981 (sql-try-completion): New functions.
8982 (sql-read-table-name): Use them.
8983 (sql-contains-names): New buffer local variable.
8984 (sql-list-all, sql-list-table): Use it.
8985 (sql-oracle-completion-types): New variable.
8986 (sql-oracle-completion-object, sql-sqlite-completion-object)
8987 (sql-postgres-completion-object): New functions.
8988
d4eaeab1
GM
89892011-07-06 Glenn Morris <rgm@gnu.org>
8990
8991 * window.el (pop-to-buffer): Doc fix.
8992
322b7dab 89932011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8994
8995 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8996
322b7dab 89972011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8998
322b7dab 8999 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9000
322b7dab 9001 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9002
605dd5bf
CY
90032011-07-05 Chong Yidong <cyd@stupidchicken.com>
9004
9005 * button.el (button): Inherit from link face. Suggested by Dan
9006 Nicolaescu.
9007
7dbfa719
SM
90082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9009
3db614b0
SM
9010 * progmodes/gdb-mi.el: Fit in 80 columns.
9011 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9012 switch-to-buffer.
9013
7dbfa719
SM
9014 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9015 if imenu is simply not configured (bug#8941).
9016
919d884a
KM
90172011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9018
9019 * allout.el (allout-post-undo-hook): New allout outline-change
9020 event hook to signal undo activity.
9021 (allout-post-command-business): Run allout-post-undo-hook if an
9022 undo just occurred.
7dbfa719
SM
9023 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9024 * allout-widgets.el (allout-widgets-after-undo-function):
9025 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9026 in the vicinity of an undo.
9027 (allout-widgets-mode): Include allout-widgets-after-undo-function
9028 on the new allout-post-undo-hook.
9029
450a0f09
SM
90302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9033 Let define-derived-mode define it.
9034 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9035 cycles of abbrev-table inheritance (bug#8998).
9036
2de69e00
RW
90372011-07-05 Roland Winkler <winkler@gnu.org>
9038
9039 * textmodes/bibtex.el: Add support for biblatex.
9040 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9041 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9042 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9043 (bibtex-entry-alist, bibtex-field-alist): New variables.
9044 (bibtex-entry-field-alist): Obsolete alias for
9045 bibtex-BibTeX-entry-alist.
9046 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9047 (bibtex-set-dialect): New command.
9048 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9049 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9050 Bind via bibtex-set-dialect.
2de69e00
RW
9051 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9052 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9053 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9054 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9055 Define via bibtex-set-dialect.
450a0f09
SM
9056 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9057 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9058 (bibtex-vec-push, bibtex-vec-incr): New functions.
9059 (bibtex-format-entry, bibtex-field-list)
9060 (bibtex-print-help-message, bibtex-validate)
9061 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9062
2dcdbdd9
SM
90632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * progmodes/compile.el (compilation-goto-locus):
9066 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9067 * bs.el (bs-cycle-next, bs-cycle-previous):
9068 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9069 * bindings.el (mode-line-other-buffer):
9070 * autoinsert.el (auto-insert):
9071 * arc-mode.el (archive-extract):
9072 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9073
b27640fe
JB
90742011-07-05 Juanma Barranquero <lekktu@gmail.com>
9075
9076 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9077 Fix check of `emacs-lock-unlockable-modes'.
9078 Coerce true values of `emacs-lock--try-unlocking' to t.
9079
53bbe3ad
JB
90802011-07-05 Juanma Barranquero <lekktu@gmail.com>
9081
9082 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9083 * emacs-lock.el: New file.
9084
1d3cdbc7
JD
90852011-07-05 Julien Danjou <julien@danjou.info>
9086
9087 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9088 than `boundp' to check if face is set.
9089
9173deec
JB
90902011-07-05 Juanma Barranquero <lekktu@gmail.com>
9091
9092 * register.el (registerv-make):
9093 * window.el (window-min-height): Fix typos in docstrings.
9094
869795d6
JD
90952011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9096
9173deec 9097 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9098 Update doc string.
9099
b768cdcd
JB
91002011-07-04 Juanma Barranquero <lekktu@gmail.com>
9101
9102 * server.el (server-execute): Catch quit and call
9103 `server-return-error' to pass the error back to emacsclient and
9104 close the connection (bug#8942).
9105
13aa217b
KM
91062011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9107
9108 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9109 insecure exception for current topic. Also note that auto-saves
9110 are handled differently.
9111
5d3385a0 9112 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9113 State variables for tracking auto-save inhibition situation.
9114
9115 (allout-write-contents-hook-handler): Rename from
9116 'allout-write-file-hook-handler', and describe how it depends on
9117 write-contents-functions sensitivity to non-nil value to prevent
9118 file write.
9119
9120 (allout-auto-save-hook-handler): Remove. auto-save does not check
9121 this in individual buffers, only in the starting buffer, so this
9122 is not the right way for us to inhibit auto-save in a buffer
9123 according to its condition.
9124
9125 (allout-mode): Use new allout-write-contents-hook-handler, and
9126 only with write-contents-functions. Remove auto-save provisions -
9127 they're implemented elsewhere.
9128
9129 (allout-before-change-handler): If undo is in progress, note that
9130 for attention of allout-post-command-business.
9131
9132 (allout-post-command-business): If the command we're following was
9133 an undo, check for change in the status of encrypted items and
9134 adjust auto-save inhibitions accordingly.
9135
9136 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9137 according to whether there are or aren't any plain-text topics
9138 pending encryption.
9139
2dcdbdd9 9140 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9141 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9142 if there are plain-text topics pending encryption.
13aa217b
KM
9143
9144 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9145 buffer-saved-size and some allout state to not inhibit auto-saves
9146 if there are no longer any plain-text topics pending encryption.
9147
0757af94
SM
9148 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9149 No longer provide for exemption of the current topic.
13aa217b 9150
ac89b32c
JL
91512011-07-04 Juri Linkov <juri@jurta.org>
9152
9153 Add 7z operations to delete and save changed members (bug#8968).
9154 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9155 New defcustoms.
9156 (archive-7z-write-file-member): New function.
9157 (archive-7z-summarize): Fix the number of dashes in the
9158 listing output.
9159
8fa39615
SM
91602011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9163 (bug#8958).
9164
2f11b3f1
CY
91652011-07-04 Chong Yidong <cyd@stupidchicken.com>
9166
d66fef2b
CY
9167 * bindings.el: Ignore next-buffer and previous-buffer in
9168 minibuffer-local-map.
9169
2f11b3f1
CY
9170 * font-lock.el (font-lock-builtin-face): Change light background
9171 color to dark slate blue (Bug#6693).
9172
f932a347
WD
91732011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9174
9175 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9176
c8af70e1
SM
91772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9180 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9181 Add switch-to-buffer.
9182
f158badc
LMI
91832011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9184
9185 * isearch.el (isearch-search-fun-function): Clarify further the
9186 meaning of the function returned.
9187
6d95bd46
MA
91882011-07-04 Michael Albinus <michael.albinus@gmx.de>
9189
9190 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9191
9192 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9193 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9194 Use it.
9195 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9196 `tramp-default-remote-path' does not exist.
9197 (tramp-send-command-and-read): New optional argument NOERROR.
9198 (tramp-open-connection-setup-interactive-shell)
9199 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9200 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9201 (tramp-process-sentinel): Flush also process' connection property.
9202 (tramp-sh-handle-start-file-process): Do not set process
9203 sentinel. It is done now ...
9204 (tramp-maybe-open-connection): ... here. (Bug#8929)
9205
909e6b67
MK
92062011-07-04 MON KEY <monkey@sandpframing.com>
9207
9208 * play/animate.el (animate-string): Doc fixes and allow changing
9209 the buffer name (bug#5417).
9210
92112011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9212
c8af70e1 9213 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9214
f34755dc
PE
92152011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9216
396cec72
PE
9217 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9218 This is simpler and helps future-proof the code.
9219 (timer-until): Use time-subtract and float-time.
08235028 9220 (timer--time-less-p): Use time-less-p.
f34755dc 9221
56e6cc31
JB
92222011-07-04 Juanma Barranquero <lekktu@gmail.com>
9223
3abb79e5
JB
9224 * type-break.el (timep): Use the value of `float-time' to avoid a
9225 byte-compiler warning.
9226
56e6cc31
JB
9227 * server.el (server-eval-and-print): Return any result, even nil.
9228
7b9430b4
PE
92292011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9230
9231 * type-break.el: Accept time formats that the builtins accept.
9232 (timep, type-break-time-difference): Accept any format that
9233 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9234 This is simpler and helps future-proof the code.
9235 (type-break-time-difference): Round rather than ignoring
9236 subseconds components.
9237
3034e9e7
LMI
92382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9239
9240 * info.el (Info-apropos-matches): Make non-interactive, since it
9241 doesn't seem to do anything useful as a command (bug#8829).
9242
1485f4c0
CY
92432011-07-03 Chong Yidong <cyd@stupidchicken.com>
9244
9245 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9246 Move from faces.el.
1485f4c0
CY
9247 (frame-default-terminal-background): New function.
9248
9249 * custom.el (custom-push-theme): Don't record faces in `changed'
9250 theme; this doesn't work correctly for per-frame face settings.
9251 (disable-theme): Use face-set-after-frame-default to reset faces.
9252 (custom--frame-color-default): New function.
9253
9fa3dd45
LMI
92542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9255
c8af70e1 9256 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9257 (bug#8769).
9258
6cbbc20c
KR
92592011-03-29 Kevin Ryde <user42@zip.com.au>
9260
9261 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9262 `perl-Test2' extend to match possible "fail #N" rep count
9263 (bug#8377).
9264
c7f98048
LMI
92652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266
65676592
LMI
9267 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9268 `smtpmail-via-smtp' now returns the error instead of nil.
9269
c7f98048
LMI
9270 * isearch.el (isearch-search-fun-function): Clarify the doc string
9271 (bug#8101).
9272
56e6cc31 92732011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9274
9275 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9276 unnecessary spaces (bug#8987).
9277
2b216704
LMI
92782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9279
9280 * net/network-stream.el (open-network-stream): Use the
9281 :end-of-capability command thoughout.
9282
92832011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9284
9285 * net/network-stream.el (open-network-stream): Add the
9286 :end-of-capability command parameter, used by pop3.el.
9287
36adf6ce
LMI
92882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9289
1ca0da0e
LMI
9290 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9291
fc00f69c
LMI
9292 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9293 for list)" (bug#6475).
9294
28fd8759 9295 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9296 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9297 an error (bug#6297).
9298
0dd8b6da
LMI
9299 * man.el (Man-reference-regexp): Allow matching possible
9300 word-wrapped references (bug#6289).
9301
ce1438d6
LMI
9302 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9303 for consistency with the other vc buffers (bug#6197).
9304 (vc-checkin): Ditto.
9305
9306 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9307
36adf6ce
LMI
9308 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9309
e83cc1f7
LMI
93102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
8a20ca4c
LMI
9312 * custom.el (defcustom): Clarify that :set is only used in the
9313 Customize user interface (bug#6089).
9314
83319045
LMI
9315 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9316 associated with a file, refuse to run instead of erroring out
9317 (bug#6084).
9318
a8392169
LMI
9319 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9320 the doc string, since it appears that using `fill-column' always
9321 controls the width (bug#7845).
9322
e83cc1f7
LMI
9323 * simple.el (shell-command-on-region): Say where the error output
9324 went if `shell-command-default-error-buffer' is set (bug#6857).
9325
e47ca23b
KM
93262011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9327
9328 * allout.el (allout-yank-processing): Adjust cursor position for
9329 backwards-deleted space.
9330
9331 (allout-rebullet-heading): Register changes with
9332 allout-exposure-changed-hook, so the modified topic is properly
9333 decorated.
9334
5cf56143
LMI
93352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
08549772
LMI
9337 * minibuffer.el (completion-in-region): Document PREDICATE
9338 (bug#7136).
9339
48e96771
LMI
9340 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9341 of keyword/argument pairs (bug#6904).
9342
c8af70e1
SM
9343 * replace.el (multi-occur):
9344 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9345
e17d05e2
LMI
93462011-07-02 Drew Adams <drew.adams@oracle.com>
9347
9348 * dired.el (dired-mark-if): Make the message about whether it's
9349 marking or unmarking clearer (bug#8523).
9350
063b0e45
LMI
93512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9352
9353 * disp-table.el (display-table-print-array): New function.
9354 (describe-display-table): Use it to print the vectors more pretty
9355 (Bug#8859).
9356
28545e04
MR
93572011-07-02 Martin Rudalics <rudalics@gmx.at>
9358
9359 * window.el (window-state-get-1): Don't assign clone numbers.
9360 Add clone-of item to list of window parameters.
9361 (window-state-put-2): Don't process clone numbers.
9362 (display-buffer-alist): Fix doc-string.
9363
3349e122
SM
93642011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * subr.el (remq): Don't allocate if it's not needed.
9367 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9368 (keymap--merge-bindings): New functions.
9369 (keymap-canonicalize): Use them to refine the canonicalization.
9370 * minibuffer.el (minibuffer-local-completion-map)
9371 (minibuffer-local-must-match-map): Move initialization from C.
9372 (minibuffer-local-filename-completion-map): Move initialization from C;
9373 don't inherit from anything here.
9374 (minibuffer-local-filename-must-match-map): Make obsolete.
9375 (completing-read-default): Use make-composed-keymap to combine
9376 minibuffer-local-filename-completion-map with either
9377 minibuffer-local-must-match-map or
9378 minibuffer-local-filename-completion-map.
9379
d224ac83
GM
93802011-07-01 Glenn Morris <rgm@gnu.org>
9381
3de63bf8
GM
9382 * type-break.el (type-break-time-sum): Use dolist.
9383
d224ac83
GM
9384 * textmodes/flyspell.el (flyspell-word-search-backward):
9385 Replace CL function.
9386
1a1e3f32
SM
93872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9388
fe3f64d5
SM
9389 * mouse.el (mouse--strip-first-event): New function.
9390 (function-key-map): Use it to map fringe clicks to normal clicks
9391 by default.
9392
eb604e34
SM
9393 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9394 (vc-bzr-revision-completion-table): Add support for annotate and date.
9395
1a1e3f32
SM
9396 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9397 inherit from parent.
9398
5bd35902
LMI
93992011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
ace6c69c 9401 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9402 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9403
191e2bed
LMI
9404 * dired.el (dired-mode): Fix up the doc string as suggested by
9405 Drew Adams (bug#8817).
9406
5bd35902
LMI
9407 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9408 cookie, since the manual says that it should be possible to add
9409 this function to `find-file-hook' (bug#8709).
9410
eee8207a
TZ
94112011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9412
9413 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9414 here. Noted Ted Zlatanov as the maintainer.
9415 (cfengine-common-settings, cfengine-common-syntax): New functions
9416 to set up common things between `cfengine-mode' and
9417 `cfengine3-mode'.
9418 (cfengine3-mode): New mode.
9419 (cfengine3-defuns cfengine3-defuns-regex
9420 (cfengine3-class-selector-regex cfengine3-category-regex)
9421 (cfengine3-vartypes cfengine3-font-lock-keywords)
9422 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9423 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9424
36b148cf
MA
94252011-07-01 Michael Albinus <michael.albinus@gmx.de>
9426
9427 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9428
9429 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9430
0bf4ba9a
MR
94312011-07-01 Martin Rudalics <rudalics@gmx.at>
9432
9433 * window.el (same-window-buffer-names, same-window-regexps)
9434 (same-window-p, special-display-frame-alist)
9435 (special-display-popup-frame, special-display-function)
9436 (special-display-buffer-names, special-display-regexps)
9437 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9438 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9439 (split-window-preferred-function, split-height-threshold)
9440 (split-width-threshold, even-window-heights)
9441 (display-buffer-mark-dedicated, window-splittable-p)
9442 (split-window-sensibly, window-safely-shrinkable-p):
9443 Un-obsolete.
9444 (display-buffer): Don't spread args with function specifier
9445 because special-display-popup-frame won't like it.
9446
35837f51
PE
94472011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9448
d0672f86
PE
9449 Time-stamp simplifications and fixes.
9450 These improve accuracy slightly, and future-proof the code
9451 against some potential changes to current-time format.
9452
b9444d97
PE
9453 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9454 by using time-since and float-time.
9455
0ef923dc
PE
9456 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9457 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9458 + NNN microseconds".
9459
2f81380d
PE
9460 * type-break.el (type-break-time-sum): Rewrite using time-add.
9461
845b5c3e
PE
9462 * play/hanoi.el (hanoi-current-time-float): Remove.
9463 All uses replaced by float-time.
9464
ee6f1be0
PE
9465 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9466 This yields a more-accurate answer.
9467 (rng-time-to-float): Remove; no longer needed.
9468
fe955043
PE
9469 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9470
5777162a
PE
9471 * calendar/timeclock.el (timeclock-seconds-to-time):
9472 Defalias to seconds-to-time, since they're the same thing.
9473
3103f8b6 9474 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9475 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9476 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9477
0e61a35f
SM
94782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * window.el (bury-buffer): Don't iconify the only frame.
9481 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9482 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9483
ddd63a1e
CY
94842011-07-01 Chong Yidong <cyd@stupidchicken.com>
9485
0e61a35f
SM
9486 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9487 Add mouse-yank-primary.
ddd63a1e 9488
055f4923
TZ
94892011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9490
9491 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9492
6a2fb145
SM
94932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9496 (find-library-name): Use it to find relative load names when provided
9497 absolute file name (bug#8803).
9498
fd4983f2
LMI
94992011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
887d14ad
LMI
9501 * textmodes/flyspell.el (flyspell-word): Consider words that
9502 differ only in case as potential doublons (bug#5687).
9503
c53dc7fc
LMI
9504 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9505 Remove two rather uninteresting debugging-like messages to make
9506 debbugs.el more silent.
9507
fd4983f2
LMI
9508 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9509 a password-like phrase.
9510
7a71b18d 95112011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9512
9513 * progmodes/cc-guess.el: New file.
9514
6a2fb145 9515 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9516
9517 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9518 derived from `c-basic-common-init'.
9519
9520 * progmodes/cc-mode.el (top-level): Require cc-guess.
9521 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9522
1fa280a3
LM
95232011-06-30 Lawrence Mitchell <wence@gmx.li>
9524
9525 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9526
e6597158
AM
95272011-06-30 Alan Mackenzie <acm@muc.de>
9528
1fa280a3
LM
9529 * progmodes/cc-engine.el (c-guess-continued-construct):
9530 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9531 lock is disabled. Name this case as "CASE G".
9532
68ba37fb
KM
95332011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9534
9535 * allout.el (allout-yank-processing): Fix injection of extra space
9536 between bullet and non-whitespace character in first topic when
9537 pasting, ensuring that the actual spacing in the pasted topic
9538 following the bullet char is preserved. This extra space was
9539 causing pasted encrypted topics to get a decrypted status even
9540 when the content was actually still encrypted. Now the decryption
9541 status from before the paste is preserved.
9542
9543 (allout-flag-region): Set all allout overlays so they evaporate
9544 when reduced to zero length (evanescent), to prevent overlay
9545 leakage.
9546
887a0b34
GM
95472011-06-30 Glenn Morris <rgm@gnu.org>
9548
94b9acce
GM
9549 * w32-fns.el (w32-charset-info-alist): Declare.
9550
1d9b46d4
GM
9551 * find-dired.el (find-grep-options): Simplify.
9552
cc232200
GM
9553 * term/ns-win.el (ns-set-resource): Declare.
9554
28e77c46
GM
9555 * ses.el (row, col): Declare dynamic variables honestly.
9556
887a0b34
GM
9557 * textmodes/reftex-parse.el (index-tags): Declare.
9558
658d8eb8
CY
95592011-06-30 Chong Yidong <cyd@stupidchicken.com>
9560
9561 * cus-edit.el (customize-push-and-save): New function.
9562
9563 * files.el (hack-local-variables-confirm): Use it.
9564
1fa280a3
LM
9565 * custom.el (load-theme): New arg NO-CONFIRM.
9566 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9567 (custom-enabled-themes): Doc fix.
9568
9569 * cus-theme.el (customize-create-theme)
9570 (custom-theme-merge-theme): Callers to load-theme changed.
9571
bb617717
LMI
95722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9573
d61bdd5d
LMI
9574 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9575 short URLs have at least one dot in them (bug #7614).
9576
bb617717
LMI
9577 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9578 nil, because using a pty is apparently too slow (bug #895).
9579
2f31f37a
LMI
95802011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
9582 * mail/sendmail.el (sendmail-query-once): New function.
9583 (sendmail-query-once-function): New variable.
9584
3076b24e
GM
95852011-06-29 Glenn Morris <rgm@gnu.org>
9586
faf2a174
GM
9587 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9588
3076b24e
GM
9589 * ses.el (top-level): Require cl when compiling.
9590 (ses-set-localvars): Fix error statement.
9591 Call it at compile time to silence a storm of warnings.
9592
5386012d
MR
95932011-06-29 Martin Rudalics <rudalics@gmx.at>
9594
9595 * window.el (normalize-live-buffer): Rename to
9596 window-normalize-buffer.
9597 (normalize-live-frame): Rename to window-normalize-frame.
9598 (normalize-any-window): Rename to window-normalize-any-window.
9599 (normalize-live-window): Rename to window-normalize-live-window.
9600 (make-window-atom): Rename to window-make-atom.
9601 (window-resize-reset): Rename to window--resize-reset.
9602 (window-resize-reset-1): Rename to window--resize-reset-1.
9603 (resize-mini-window): Rename to window--resize-mini-window.
9604 (resize-subwindows-skip-p): Rename to
9605 window--resize-subwindows-skip-p.
9606 (resize-subwindows-normal): Rename to
9607 window--resize-subwindows-normal.
9608 (resize-subwindows): Rename to window--resize-subwindows.
9609 (resize-other-windows): Rename to window--resize-siblings.
9610 (resize-this-window): Rename to window--resize-this-window.
9611 (resize-root-window): Rename to window--resize-root-window.
9612 (resize-root-window-vertically): Rename to
9613 window--resize-root-window-vertically.
9614 (normalize-buffer-to-display): Rename to
9615 window-normalize-buffer-to-display.
9616 (normalize-buffer-to-switch-to): Rename to
9617 window-normalize-buffer-to-switch-to.
9618 Correspondingly update all callers of the functions listed
9619 above.
9620 (display-buffer-alist, display-buffer-normalize-arguments)
9621 (display-buffer-normalize-options, display-buffer)
9622 (display-buffer-alist-set): Use "function" instead of
9623 "fun-with-args".
9624
1176868d
CY
96252011-06-28 Chong Yidong <cyd@stupidchicken.com>
9626
9627 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9628 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9629 debbugs.gnu.org. Mention acknowledgment email.
9630
20a7a65f
LMI
96312011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9632
9633 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9634 buffer multibyteness, since it shouldn't matter.
9635
5f45cca5
MR
96362011-06-28 Martin Rudalics <rudalics@gmx.at>
9637
9638 * window.el (display-buffer-in-side-window): Handle dedicated
9639 windows as in display-buffer-reuse-window.
9640 (display-buffer-normalize-alist): Use value of override
9641 specifier.
9642 (display-buffer-normalize-specifiers): Use value of
9643 other-window-means-other-frame specifier.
9644 (display-buffer-alist): Rewrite some texts in widgets.
9645 (display-buffer): Spread arguments when calling function
9646 specified by fun-with-args.
9647
ad85fe1f
DD
96482011-06-28 Deniz Dogan <deniz@dogan.se>
9649
1fa280a3
LM
9650 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9651 Unnest `let'.
da68c4c8 9652
ad85fe1f
DD
9653 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9654 selectors (Bug#5732).
ec49bd31 9655 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9656
a08cc025
JA
96572011-06-27 Jari Aalto <jari.aalto@cante.net>
9658
9659 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9660 (eshell-ls-date-format): New defcustom.
9661 (eshell-ls-file): Use it.
9662
e2b551c5
SM
96632011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9666
8982b231
KY
96672011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9668
9669 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9670 (ange-ftp-make-tmp-name): New arg.
9671 (ange-ftp-file-local-copy): Use it.
9672
36c9fa27
J
96732011-06-27 Jambunathan K <kjambunathan@gmail.com>
9674
9675 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9676 no-conversion (Bug#8870).
9677
d68443dc
MR
96782011-06-27 Martin Rudalics <rudalics@gmx.at>
9679
9680 * window.el (window-right, window-left, window-child)
9681 (window-child-count, window-last-child)
9682 (window-iso-combination-p, walk-window-tree-1)
9683 (window-atom-check-1, window-tree-1, delete-window)
9684 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9685 new naming conventions - window-vchild, window-hchild,
9686 window-next and window-prev are now called window-top-child,
9687 window-left-child, window-next-sibling and window-prev-sibling
9688 respectively.
d615d6d2
MR
9689 (resize-window-reset): Rename to window-resize-reset.
9690 (resize-window-reset-1): Rename to window-resize-reset-1.
9691 (resize-window): Rename to window-resize.
9692 (window-min-height, window-min-width)
9693 (resize-mini-window, resize-this-window, resize-root-window)
9694 (resize-root-window-vertically, adjust-window-trailing-edge)
9695 (enlarge-window, shrink-window, maximize-window)
9696 (minimize-window, delete-window, quit-restore-window)
9697 (split-window, balance-windows, balance-windows-area-adjust)
9698 (balance-windows-area, window-state-put-2)
9699 (display-buffer-even-window-sizes, display-buffer-set-height)
9700 (display-buffer-set-width, set-window-text-height)
9701 (fit-window-to-buffer): Rename all "resize-window" prefixed
9702 calls to use the "window-resize" prefix convention.
9703 (display-buffer-alist): Fix symbol for label specifier.
9704 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9705 corresponding specifier.
9706 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9707
b6458526
VB
97082011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9709
9710 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9711 convention.
9712 (ses-call-printer): Does not pass an empty string to formatter when the
9713 cell is empty to keep from barking printer Calc math-format-value.
9714
d31fd9ac
RS
97152011-06-27 Richard Stallman <rms@gnu.org>
9716
43d5bf84
RS
9717 * battery.el (battery-mode-line-limit): New variable.
9718 (battery-update): Handle it.
9719
d31fd9ac
RS
9720 * mail/rmailmm.el (rmail-mime-process-multipart):
9721 Handle truncated messages.
9722
819a6054
GM
97232011-06-27 Glenn Morris <rgm@gnu.org>
9724
9725 * progmodes/flymake.el (flymake-err-line-patterns):
9726 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9727
cedc73f2
VB
97282011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9729
819a6054 9730 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9731 (ses--clean-!, ses--clean-_): New functions.
9732 (ses-range): Add configurability of readout order, and conversion
9733 to Calc vector.
9734
5e5d49b6
VB
9735 * ses.el (ses-repair-cell-reference-all): New function.
9736 (ses-cell-symbol): Set macro as safe, so that it can be used in
9737 formulas.
9738
56e6cc31 9739 * ses.el: Update cycle detection algorithm.
90ca8b49 9740 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9741 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9742 (ses-set-localvars): New function.
9743 (ses-make-cell): Add property-list as a cell element.
9744 (ses-cell-property-get-fun, ses-cell-property-get)
9745 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9746 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9747 New functions.
90ca8b49
VB
9748 (ses-cell-property-set, ses-cell-property-pop)
9749 (ses-cell-property-get-handle): New macro.
9750 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9751 New aliases, used for code readability.
9752 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9753 cycle detection.
9754 (ses-self-reference-early-detection): New defcustom.
fac916bf 9755 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9756 (ses-mode): Use ses-set-localvars.
9757 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9758 before lauching the update processing.
9759 (ses-initialize-Dijkstra-attempt): New function.
9760 (ses-recalculate-cell): Update for cycle detection based on
9761 Dijkstra algorithm.
9762
2bb63e81
VB
9763 * ses.el: Fix commenting and indenting convention.
9764
c9d29fb8
SM
97652011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * bs.el (bs-cycle-next): Complete last change.
9768
d8e4b68b
JB
97692011-06-27 Drew Adams <drew.adams@oracle.com>
9770
9771 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9772
40098786
LMI
97732011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9774
c9d29fb8
SM
9775 * net/network-stream.el (network-stream-open-starttls):
9776 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9777 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9778
40098786
LMI
9779 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9780 to binary to possibly avoid line encoding issues on Windows (among
9781 other things).
9782
468d09d4
LMI
97832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
9785 * net/network-stream.el (open-network-stream): Return an :error
9786 saying what the problem was, if possible.
9787
9788 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9789 server.
9790
9791 * net/network-stream.el (network-stream-open-starttls): If we
9792 wanted to use STARTTLS, and the server offered it, but we weren't
9793 able to because we had no STARTTLS support, then close the connection.
9794 (open-network-stream): Return an :error element, if present.
9795
16f07dd7
CY
97962011-06-26 Chong Yidong <cyd@stupidchicken.com>
9797
88821ca0
CY
9798 * hl-line.el (hl-line-sticky-flag): Doc fix.
9799 (global-hl-line-sticky-flag): New option (Bug#8323).
9800 (global-hl-line-highlight): Obey it.
9801
16f07dd7
CY
9802 * vc/vc.el (vc-revert-show-diff): Default to t.
9803
6b5ccddf
KM
98042011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9805
c9d29fb8
SM
9806 * allout-widgets.el (allout-widgets-post-command-business):
9807 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9808 undecorated when an isearch is continued past, and isearch
9809 automatically collapses them. This leads to "widget leaks", where
9810 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9811 hidden widgets can slow down cursor travel, substantially.
9812 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9813 so we're doing without this nicety.
9814
9815 (allout-widgets-tally-string): Don't try to do a hash-table-count
9816 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9817 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9818 *Messages* when allout-widgets-maintain-tally is t.
9819
355f2e07
MR
98202011-06-26 Martin Rudalics <rudalics@gmx.at>
9821
9822 * window.el (display-buffer-normalize-argument): Rename to
9823 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9824 LABEL argument. Respect special-display-function when popping up
9825 a new frame. Fix code searching for a window showing the buffer
9826 on another frame.
c9d29fb8
SM
9827 (display-buffer-normalize-specifiers):
9828 Call display-buffer-normalize-arguments.
355f2e07
MR
9829 (display-buffer-in-window): Don't undedicate the window if its
9830 buffer remains the same.
9831 Reported by Drew Adams <drew.adams@oracle.com>.
9832 (display-buffer-alist): Add choice for same-window macro
9833 specfier.
9834 (display-buffer): Mention special meaning of LABEL argument in
9835 doc-string. Fix quoting. Don't pop up a new frame even as
9836 fallback.
9837
7ca8fc42
JB
98382011-06-26 Juanma Barranquero <lekktu@gmail.com>
9839
9840 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9841 avoid deleting the current window in some cases (bug#8911).
9842
bc312254
AS
98432011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9844
9845 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9846 (Bug#8934)
9847
2db18f3f
LMI
98482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9849
c9d29fb8
SM
9850 * net/network-stream.el (network-stream-open-starttls):
9851 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9852 (network-stream-open-tls): Ditto.
9853
6302e0d3
LL
98542011-06-26 Leo Liu <sdl.web@gmail.com>
9855
9856 * register.el (registerv): New struct.
9857 (registerv-make): New function.
c9d29fb8
SM
9858 (jump-to-register, describe-register-1, insert-register):
9859 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9860 struct. (Bug#8415)
9861
5fdd4046
CY
98622011-06-26 Chong Yidong <cyd@stupidchicken.com>
9863
2afef60a
CY
9864 * vc/vc.el (vc-revert-show-diff): New defcustom.
9865 (vc-diff-internal): New arg specifying diff buffer.
9866 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9867 reuse an existing *vc-diff* buffer (Bug#8927).
9868
5fdd4046
CY
9869 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9870
e93db24a
GM
98712011-06-26 Glenn Morris <rgm@gnu.org>
9872
9873 * progmodes/f90.el (f90-critical-indent): New option.
9874 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9875 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9876 (f90-mode): Doc fix.
9877 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9878 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9879 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9880 (f90-match-end): Handle block, critical.
9881
eefff499
GM
98822011-06-25 Glenn Morris <rgm@gnu.org>
9883
f6ba4cc9
GM
9884 * calendar/diary-lib.el (diary-included-files): Doc fix.
9885 (diary-include-files): New function, extracted from
9886 diary-include-other-diary-files and diary-mark-included-diary-files.
9887 (diary-include-other-diary-files, diary-mark-included-diary-files):
9888 Just call diary-include-files.
9889 (diary-mark-entries): Reset diary-included-files on first call.
9890
16712304
GM
9891 * calendar/diary-lib.el (diary-mark-entries)
9892 (diary-mark-included-diary-files):
9893 Visit included diary-files in temp buffers.
9894
5d8e0d43
GM
9895 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9896 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9897 (f90-start-block-re, f90-imenu-generic-expression)
9898 (f90-looking-at-program-block-start, f90-no-block-limit):
9899 Add support for submodules.
9900
ccf7a5d5
GM
9901 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9902 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9903
11fdef7d 99042011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9905
9906 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9907 buffer-file-type before setting its value, to avoid disastrous
eefff499 9908 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9909
74f53697
JB
99102011-06-25 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9913
9914 * ses.el (ses-unload-function):
9915 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9916
9917 * proced.el (proced-unload-function):
9918 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9919
18a4ce5e
AR
99202011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9921
9922 * server.el (server-create-window-system-frame): Add parameters arg.
9923 (server-process-filter): Doc fix. Handle frame-parameters.
9924
519d22cc
JB
99252011-06-25 Juanma Barranquero <lekktu@gmail.com>
9926
9927 Fix bug#8730, bug#8781.
9928
9929 * loadhist.el (unload--set-major-mode): New function.
9930 (unload-feature): Use it.
9931
9932 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9933 (python-unload-function): New function.
9934
c206f5b0
SM
99352011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9938
f9ad64f3
GS
99392011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9940
9941 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9942 the candidates list.
9943
7d0da90e
JB
99442011-06-24 Juanma Barranquero <lekktu@gmail.com>
9945
9946 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9947
14b4e83d
RS
99482011-06-23 Richard Stallman <rms@gnu.org>
9949
9950 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9951 (rmail-variables): Set next-error-move-function.
9952 (rmail-what-message): Take argument POS.
9953 (rmail-next-error-move): New function.
9954
273d2baf
SM
99552011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9958 messages for adjacent non-terminals.
9959
56c2cc9a
RS
99602011-06-23 Richard Stallman <rms@gnu.org>
9961
9962 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9963 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9964 (rmail-start-mail): Don't specify use of rmail-mail-return;
9965 that's done by mail-bury now.
9966 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9967
d59eb518
MA
99682011-06-23 Michael Albinus <michael.albinus@gmx.de>
9969
9970 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9971 SIZE is a number.
9972
02cfc6d6
MR
99732011-06-23 Martin Rudalics <rudalics@gmx.at>
9974
9975 * window.el (get-lru-window, get-mru-window)
9976 (get-largest-window): Never return a minibuffer window.
9977 (display-buffer-pop-up-window): Fix a bug that could lead to
9978 reusing the minibuffer window.
9979 (display-buffer): Pass original specifier argument to
9980 display-buffer-function instead of the normalized one.
9981 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9982
4e323265
LL
99832011-06-22 Leo Liu <sdl.web@gmail.com>
9984
9985 * minibuffer.el (completing-read-function)
9986 (completing-read-default): Move from minibuf.c
9987
7a70468f
RS
99882011-06-22 Richard Stallman <rms@gnu.org>
9989
50718fc2
RS
9990 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9991 to Rmail even if not started by a special Rmail command.
9992
7a70468f
RS
9993 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9994 Copy the buffer currently showing just one message.
9995
297dde5a
RW
99962011-06-22 Roland Winkler <winkler@gnu.org>
9997
9998 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9999 (bibtex-clean-entry): First delete the old key so that a
10000 customized algorithm for generating the new key does not get
10001 confused by the old key.
10002 (bibtex-url): Obey regexp of first step.
10003 (bibtex-search-entries): Do not use add-to-list with local
10004 list-var.
10005
97bb1093
LMI
100062011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10007
10008 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10009 stored a user name, then query for the password first, instead of
10010 waiting for SMTP to give an error message and the trying again.
10011
1c0f1a19
JD
100122011-06-22 Lawrence Mitchell <wence@gmx.li>
10013
10014 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10015 BUFFER in call-process.
10016
396f7c9d
LMI
100172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018
10019 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10020 QUIT twice.
ddb7ffee
LMI
10021 (smtpmail-try-auth-methods): Require user name and password from
10022 auth-source.
396f7c9d 10023
8998d1b3
MR
100242011-06-22 Martin Rudalics <rudalics@gmx.at>
10025
10026 * window.el (display-buffer-default-specifiers)
10027 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10028 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10029 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10030
10031 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10032 (special-display-frame-alist, special-display-popup-frame):
10033 Remove duplicate declarations. These are now in window.el.
10034
4ea31e07
LMI
100352011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10036
c9d29fb8
SM
10037 * mail/smtpmail.el (smtpmail-via-smtp):
10038 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10039 server supports it. SMTP servers that support STARTTLS commonly
10040 require it.
10041
10042 * net/network-stream.el (network-stream-open-starttls): Support
10043 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10044 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10045
95f41d9a
LMI
10046 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10047 upgrades with `open-network-stream', and rely solely on
10048 auth-source for all credentials. Big changes throughout the file,
10049 but in particular:
c9d29fb8
SM
10050 (smtpmail-auth-credentials): Remove.
10051 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10052 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10053 MAIL FROM, too.
95f41d9a 10054
c9d29fb8
SM
10055 * net/network-stream.el (network-stream-open-starttls):
10056 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10057 STARTTLS.
10058 (auth-source): Require.
10059 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10060 (network-stream-certificate): Change cert-cert to cert and
10061 cert-key to key.
4ea31e07 10062
065ec2c7
MA
100632011-06-21 Michael Albinus <michael.albinus@gmx.de>
10064
10065 * net/tramp-cache.el (top): Don't load the persistency file when
10066 "emacs -Q" has been called.
10067
cd93b359
DR
100682011-06-21 Tim Harper <timcharper@gmail.com>
10069
d8e4b68b
JB
10070 * term/ns-win.el (ns-initialize-window-system):
10071 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10072 resource to NO as it is not yet supported by the NS port.
10073
ae9c0411
JB
100742011-06-21 Juanma Barranquero <lekktu@gmail.com>
10075
10076 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10077 (list-dynamic-libraries): ...not here.
10078
7f3f739f
LL
100792011-06-21 Leo Liu <sdl.web@gmail.com>
10080
10081 * subr.el (sha1): Implement sha1 using secure-hash.
10082
327c8fb1
MR
100832011-06-21 Martin Rudalics <rudalics@gmx.at>
10084
10085 * window.el (display-buffer-alist): In default value do not
10086 enforce searching a window on any but the selected frame.
10087 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10088 (display-buffer-select-window): Remove function.
10089 (display-buffer-in-window): When a window on another frame gets
10090 reused, do not select it any more but just raise its frame if
10091 necessary (Bug#8851) and (Bug#8856).
10092 (display-buffer-normalize-options): Handle pop-up-frames related
10093 options more faithfully.
10094 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10095 window if it is on another frame.
c9d29fb8
SM
10096 (display-buffer-alist, display-buffer-default-specifiers):
10097 Don't make new frame unsplittable by default.
9e9de014
MR
10098 (display-buffer-normalize-argument): Fix doc-string typo and use
10099 'same-frame-other-window instead of 'other-window when associating
10100 with display-buffer-macro-specifiers.
327c8fb1 10101
7cf3f556
VB
101022011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10103
10104 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10105 New functions.
10106 (5x5-mode-map, 5x5-mode-menu): Bind them.
10107 (5x5-draw-grid): Tweak the solver's rendering.
10108
60a406cf
SM
101092011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10112 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10113
d8e4b68b 101142011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10115
10116 * menu-bar.el: Use function variable instead of switch-to-buffer.
10117 (menu-bar-select-buffer-function): New variable.
60a406cf 10118 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10119
478d6f95
SM
101202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10123 variable's status.
10124
ca530739
JD
101252011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10126
10127 * x-dnd.el (x-dnd-version-from-flags)
10128 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10129 and long as number (Bug#8899).
10130 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10131
bcd70d97
SM
101322011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10133
60a406cf 10134 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10135 (completion-try-completion, completion-all-completions): Compute the
10136 metadata argument if it's missing; make it optional (bug#8795).
10137
60a406cf 10138 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10139 (widget-complete): Use new :completion-function property.
10140 (widget-completions-at-point): New function.
10141 (default): Use :completion-function instead of :complete.
60a406cf
SM
10142 (widget-default-completions): Rename from widget-default-complete;
10143 Rewrite.
bcd70d97
SM
10144 (widget-string-complete, widget-file-complete, widget-color-complete):
10145 Remove functions.
10146 (file, symbol, function, variable, coding-system, color):
10147 * international/mule-cmds.el (default-input-method, charset)
10148 (language-info-custom-alist):
10149 * cus-edit.el (face): Use new property :completions.
10150
10151 * progmodes/pascal.el (pascal-completions-at-point): New function.
10152 (pascal-mode): Use it.
10153 (pascal-mode-map): Use completion-at-point.
10154 (pascal-toggle-completions): Make obsolete.
10155 (pascal-complete-word, pascal-show-completions):
10156 * progmodes/octave-mod.el (octave-complete-symbol):
10157 Redefine as obsolete alias.
10158 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10159 Signal absence of completion info for old Octave,
10160 (inferior-octave-complete): Redefine as obsolete alias.
10161 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10162 (meta-completions-at-point): Rename from meta-complete-symbol and
10163 adapt it for use on completion-at-point-functions.
10164 (meta-common-mode): Use it.
10165 (meta-looking-at-backward, meta-match-buffer): Remove.
10166 (meta-complete-symbol): Redefine as obsolete alias.
10167 (meta-common-mode-map): Use completion-at-point.
10168 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10169 (makefile-mode-map): Use completion-at-point.
10170 (makefile-completions-at-point): Rename from makefile-complete and
10171 adapt it for use on completion-at-point-functions.
10172 (makefile-mode): Use it.
10173 (makefile-complete): Redefine as obsolete alias.
10174
aebf69c8
DD
101752011-06-20 Deniz Dogan <deniz@dogan.se>
10176
10177 * net/rcirc.el: Delete trailing whitespaces once and for all.
10178
bfbbb27d
DC
101792011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10180
10181 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10182
d264a46b
CY
101832011-06-19 Chong Yidong <cyd@stupidchicken.com>
10184
4ca009e5
CY
10185 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10186
d264a46b
CY
10187 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10188
fbf5b3ce
MR
101892011-06-19 Martin Rudalics <rudalics@gmx.at>
10190
10191 * window.el (display-buffer-other-window-means-other-frame):
10192 Call display-buffer-normalize-alist.
10193 (display-buffer-normalize-specifiers-1): Rename to
10194 display-buffer-normalize-argument. New argument other-frame.
10195 Rewrite.
10196 (display-buffer-normalize-specifiers-2): Rename to
10197 display-buffer-normalize-options.
10198 (display-buffer-normalize-alist-1): New function.
10199 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10200 display-buffer-normalize-alist.
10201 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10202 (display-buffer-normalize-options-inhibit): New variable.
10203 (display-buffer-normalize-specifiers): Rewrite calling
10204 display-buffer-normalize-alist,
10205 display-buffer-normalize-argument, and
10206 display-buffer-normalize-options. Don't call the latter if
10207 display-buffer-normalize-options-inhibit is non-nil.
10208 (frame-auto-delete): New option.
10209 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10210 (window-list-no-nils, window-state-ignored-parameters)
10211 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10212 (window-state-put-1, window-state-put-2, window-state-put):
10213 New functions.
9a028c23
MR
10214 (display-buffer-normalize-options): Move special-display-p group
10215 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10216
6d10d800
CY
102172011-06-18 Chong Yidong <cyd@stupidchicken.com>
10218
6420d28b
CY
10219 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10220 groups (Bug#8776).
10221 (rx-submatch-n): New function.
10222 (rx): Document it.
10223
ddb8b596
CY
10224 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10225 (Bug#8768).
10226
10227 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10228
77080289
CY
10229 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10230
61dfb316
CY
10231 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10232 anytime existing face settings are present (Bug#8889).
10233
6d10d800
CY
10234 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10235 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10236 Remove unused argument.
10237
be3fb2b8
MR
102382011-06-18 Martin Rudalics <rudalics@gmx.at>
10239
bcd70d97
SM
10240 * window.el (display-buffer-default-specifiers):
10241 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10242 pop-up-window-min-width, and another reuse-window specifier
10243 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10244 (display-buffer-normalize-specifiers-2):
10245 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10246 pop-up-windows is unset. Add a reuse-window specifier for the
10247 case popping up a new window fails.
10248 (special-display-popup-frame): Remove double quoting.
28dec25a 10249 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10250
1c6d8c76
SM
102512011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10254 according to comint-completion-addsuffix.
10255
10256 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10257 (pcomplete-suffix-list): Mark as obsolete.
10258 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10259 pcomplete-seen in the closure.
10260 (pcomplete-comint-setup): Setup completion-at-point as well.
10261 (pcomplete--entries): New function.
10262 (pcomplete--env-regexp): New var.
10263 (pcomplete-entries): Rewrite to work with partial-completion and
10264 without relying on pcomplete-suffix-list.
10265 (pcomplete-pare-list): Remove, unused.
10266
25aef8b8
MR
102672011-06-17 Martin Rudalics <rudalics@gmx.at>
10268
10269 * window.el (display-buffer-alist): Set pop-up-window-min-height
10270 and pop-up-window-min-width in default value. Reported by
10271 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10272 other-window-means-other-frame.
10273 (display-buffer-macro-specifiers): Comment out entry for
10274 other-window specifier.
10275 (display-buffer-other-window-means-other-frame): New function.
10276 (display-buffer-normalize-specifiers-1): New arguments
10277 buffer-name and label. Treat other-window case specially.
10278 (display-buffer-normalize-specifiers-2): Treat other-window case
10279 specially.
10280 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10281 (display-buffer-normalize-specifiers):
10282 Call display-buffer-normalize-specifiers-3.
25aef8b8 10283
dbad4f69
MR
102842011-06-17 Martin Rudalics <rudalics@gmx.at>
10285
10286 * window.el (same-window-p): Fix two typos introduced when
10287 adding with-no-warnings.
d1067961
MR
10288 (display-buffer-normalize-specifiers-1): Don't check
10289 pop-up-frames for 'unset initialization.
10290 (display-buffer-normalize-specifiers-2): Major rewrite using
10291 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10292 (pop-up-frames, display-buffer-reuse-frames)
10293 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10294 Suggested by David Engster <deng@randomsample.de>.
10295 (even-window-heights): Initialize to 'unset.
10296 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10297 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10298 other window case.
dbad4f69 10299
9b9c9e3a
MR
103002011-06-16 Martin Rudalics <rudalics@gmx.at>
10301
bcd70d97
SM
10302 * window.el (display-buffer-normalize-specifiers-1):
10303 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10304 second argument of display-buffer (Bug#8865).
981d5c09
MR
10305 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10306 (switch-to-buffer-other-window-same-frame)
10307 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10308 Adams (Bug#8875).
9c2755e9
MR
10309 (display-buffer): Don't check noninteractive when calling
10310 display-buffer-pop-up-frame.
10311 (display-buffer-pop-up-frame): Never pop up a frame in
10312 noninteractive mode (Bug#8857).
67222e1d
MR
10313 (enlarge-window, shrink-window): Don't report an error when the
10314 window can't be resized as requested (Bug#8862).
9b9c9e3a 10315
2b75be67
SM
103162011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10317
9ffdd3ba
SM
10318 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10319
cb581a67
SM
10320 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10321
2b75be67
SM
10322 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10323
8c0e3589
AM
103242011-06-15 Alan Mackenzie <acm@muc.de>
10325
cb581a67
SM
10326 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10327 for declarators, disable knr checking to speed up for normal files.
10328 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10329
b96e6cde
LMI
103302011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331
4bba86e6
LMI
10332 * net/network-stream.el (open-network-stream): Add the keyword
10333 :always-query-capabilities for the case where you want to force a
10334 `plain' network connection, but the protocol still requires the
10335 capabilitiy command (i.e., SMTP and EHLO).
10336
2b75be67 10337 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10338 consistency with other `-live-p' functions.
10339
efdcdbf8
SM
103402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * window.el (same-window-buffer-names, same-window-regexps)
10343 (special-display-frame-alist, special-display-popup-frame)
10344 (special-display-function, special-display-buffer-names)
10345 (special-display-regexps, pop-up-frame-alist)
10346 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10347 (pop-up-windows, split-window-preferred-function)
10348 (split-height-threshold, split-width-threshold, even-window-heights)
10349 (display-buffer-mark-dedicated): Don't encourage the use of
10350 display-buffer-alist from Elisp code.
10351
c5cde042
DN
103522011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10353
10354 * progmodes/python.el (python-mode): Derive from prog-mode.
10355 * progmodes/ps-mode.el (ps-mode):
10356 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10357 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10358 * progmodes/ld-script.el (ld-script-mode): Likewise.
10359
baa1c9ab
MR
103602011-06-15 Martin Rudalics <rudalics@gmx.at>
10361
10362 * window.el (display-buffer-alist): Trim default value to avoid
10363 popping up a new frame (Bug#8857) or reusing an arbitrary window
10364 on another frame.
10365 (display-buffer): Do not fall back on popping up a new frame in
10366 batch mode (Bug#8857).
10367
c5dd5a51
CY
103682011-06-14 Chong Yidong <cyd@stupidchicken.com>
10369
10370 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10371 (custom-theme-summary): New function.
10372 (customize-themes): Use it.
10373
d647b7c4
GM
103742011-06-13 Glenn Morris <rgm@gnu.org>
10375
10376 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10377
9481c002
MR
103782011-06-13 Martin Rudalics <rudalics@gmx.at>
10379
357f93d2
MR
10380 * help.el (help-window): Remove variable.
10381 (help-window-point-marker, temp-buffer-max-height)
10382 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10383 (help-print-return-message): Don't set help-window.
10384 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10385 (help-window-setup-finish): Remove.
10386 (help-window-display-message, help-window-setup)
10387 (with-help-window): Major rewrite based on new
10388 display-buffer-window variable.
10389
10390 * help-mode.el (help-mode-finish): Remove help-window related
10391 code.
10392
10393 * view.el (view-exits-all-viewing-windows): Remove reference to
10394 view-return-to-alist in doc-string.
10395 (view-return-to-alist): Make obsolete.
10396 (view-buffer): Call pop-to-buffer-same-window and remove
10397 undo-window code.
10398 (view-buffer-other-window): Call pop-to-buffer-other-window and
10399 simplify code. Ignore second argument.
10400 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10401 simplify code. Ignore second argument.
10402 (view-return-to-alist-update): Make obsolete.
10403 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10404 Rewrite using quit-restore window parameters.
2b75be67
SM
10405 (view-mode-exit): Rename second argument to EXIT-ONLY.
10406 Rewrite using quit-restore-window.
357f93d2
MR
10407 (View-exit, View-exit-and-edit, View-leave, View-quit)
10408 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10409 appropriate arguments.
10410 (view-end-message): Use quit-restore window parameter.
10411
9481c002
MR
10412 * window.el (display-buffer-function): Rewrite doc-string.
10413 (display-buffer-window, display-buffer-alist): New variables.
10414 (display-buffer-split-specifiers)
10415 (display-buffer-side-specifiers)
10416 (display-buffer-macro-specifiers): New constants.
10417 (display-buffer-even-window-sizes, display-buffer-set-height)
10418 (display-buffer-set-width, display-buffer-select-window)
10419 (display-buffer-in-window, display-buffer-reuse-window)
10420 (display-buffer-split-window-1, display-buffer-split-window)
10421 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10422 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10423 (display-buffer-in-side-window, normalize-buffer-to-display)
10424 (display-buffer-normalize-specifiers-1)
10425 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10426 (display-buffer-normalize-specifiers, display-buffer-frame):
10427 New functions.
9481c002
MR
10428 (display-buffer): Major rewrite.
10429 (display-buffer-other-window, display-buffer-other-frame)
10430 (pop-to-buffer, switch-to-buffer-other-window)
10431 (switch-to-buffer-other-frame): Rewrite.
10432 (display-buffer-same-window, display-buffer-same-frame)
10433 (display-buffer-same-frame-other-window)
10434 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10435 (pop-to-buffer-other-window)
10436 (pop-to-buffer-same-frame-other-window)
10437 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10438 (switch-to-buffer-other-window-same-frame): New functions.
10439 (same-window-p, special-display-p): Rewrite disabling warnings.
10440 Make obsolete.
10441 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10442 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10443 Make obsolete
10444 (same-window-buffer-names, same-window-regexps)
10445 (special-display-frame-alist, special-display-popup-frame)
10446 (special-display-function, special-display-buffer-names)
10447 (special-display-regexps, pop-up-frame-alist)
10448 (pop-up-frame-function, split-window-preferred-function)
10449 (split-height-threshold, split-width-threshold)
10450 (even-window-heights): Make obsolete.
10451
9db51aca
GM
104522011-06-12 Glenn Morris <rgm@gnu.org>
10453
10454 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10455 Misc simplifications.
9db51aca 10456
39cffb44
MR
104572011-06-12 Martin Rudalics <rudalics@gmx.at>
10458
10459 * window.el (window-safely-shrinkable-p): Restore function which
10460 was inadvertently removed in change from 2011-06-11. Declare as
10461 obsolete.
10462
2b75be67
SM
10463 * calendar/calendar.el (calendar-generate-window):
10464 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10465 window-safely-shrinkable-p.
10466
a8955be7
GM
104672011-06-12 Glenn Morris <rgm@gnu.org>
10468
10469 * progmodes/fortran.el (fortran-mode-syntax-table):
10470 * progmodes/f90.el (f90-mode-syntax-table):
10471 Set % to punctuation. (Bug#8820)
10472 (f90-find-tag-default): Remove, no longer needed.
10473
f0d4059d
DC
104742011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10475
10476 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10477
1100a63c
CY
104782011-06-11 Chong Yidong <cyd@stupidchicken.com>
10479
10480 * image.el (image-animated-p): Return animation delay in seconds.
10481 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10482 (image-animate-timeout): Remove DELAY argument. Don't assume
10483 every subimage has the same delay; get it from image-animated-p.
10484 (image-animate): Caller changed.
10485
def722bf
MA
104862011-06-11 Michael Albinus <michael.albinus@gmx.de>
10487
10488 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10489 to ignored backtrace functions.
10490
0a2bb1a9
GM
104912011-06-11 Glenn Morris <rgm@gnu.org>
10492
10493 * calendar/appt.el (appt-disp-window-function): Doc fix.
10494 (appt-check): Handle overlapping appointments. (Bug#8337)
10495
6198ccd0
MR
104962011-06-11 Martin Rudalics <rudalics@gmx.at>
10497
10498 * window.el (window-tree-1, window-tree): New functions, moving
10499 the latter to window.el.
10500 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10501 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10502 (bw-refresh-edges): Remove.
10503 (balance-windows-1, balance-windows-2): New functions.
10504 (balance-windows): Rewrite in terms of window tree functions,
10505 balance-windows-1 and balance-windows-2.
10506 (bw-adjust-window): Remove.
10507 (balance-windows-area-adjust): New function with functionality of
10508 bw-adjust-window but using resize-window.
2b75be67
SM
10509 (set-window-text-height): Rewrite doc-string.
10510 Use normalize-live-window and resize-window.
10511 (enlarge-window-horizontally, shrink-window-horizontally):
10512 Rename argument to DELTA.
6198ccd0
MR
10513 (window-buffer-height): New function.
10514 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10515 Rewrite using new window resize routines.
2b75be67
SM
10516 (kill-buffer-and-window, mouse-autoselect-window-select):
10517 Use ignore-errors instead of condition-case.
6198ccd0
MR
10518 (quit-window): Call delete-frame instead of delete-windows-on
10519 for the only buffer on frame.
10520
9397e56f
MR
105212011-06-10 Martin Rudalics <rudalics@gmx.at>
10522
10523 * loadup.el (top-level): Load window before files for the sake
10524 of replace-buffer-in-windows.
10525
10526 * files.el (read-buffer-to-switch)
10527 (switch-to-buffer-other-window)
2b75be67
SM
10528 (switch-to-buffer-other-frame, display-buffer-other-frame):
10529 Move to window.el.
9397e56f
MR
10530
10531 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10532 (previous-buffer): Move to window.el.
10533
10534 * bindings.el (unbury-buffer): Move to window.el.
10535
10536 * window.el (delete-other-windows-vertically): Move after
10537 definition of delete-other-windows.
10538 (other-window, delete-windows-on, replace-buffer-in-windows):
10539 Move here from window.c.
10540 (record-window-buffer, unrecord-window-buffer)
10541 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10542 (switch-to-next-buffer): New functions.
10543 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10544 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10545 (previous-buffer): Move here from simple.el.
10546 Call switch-to-prev-buffer.
9397e56f
MR
10547 (bury-buffer): Move here from buffer.c. Switch to previous
10548 buffer when window cannot be deleted.
10549 (unbury-buffer): Move here from bindings.el.
10550 (ctl-x-map): Move binding for other-window from window.c to
10551 here.
10552 (read-buffer-to-switch, switch-to-buffer-other-window)
10553 (switch-to-buffer-other-frame): Move here from files.el.
10554 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10555 (switch-to-buffer): Move here from buffer.c.
10556 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10557
562dd5e9
MR
105582011-06-10 Martin Rudalics <rudalics@gmx.at>
10559
10560 * window.el (window-min-height, window-min-width): Move here
10561 from window.c. Add defcustoms and rewrite doc-strings.
10562 (resize-mini-window, resize-window): New functions.
10563 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10564 Move here from window.c.
10565 (maximize-window, minimize-window): New functions.
10566 (delete-window, delete-other-windows, split-window): Move here
10567 from window.c.
10568 (window-split-min-size): New function.
10569 (split-window-keep-point): Mention split-window-above-each-other
10570 instead of split-window-vertically.
2b75be67 10571 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10572 Rename split-window-vertically to split-window-above-each-other
10573 and provide defalias for old definition.
10574 (split-window-side-by-side, split-window-horizontally):
10575 Rename split-window-horizontally to split-window-side-by-side
10576 and provide defalias for the old definition.
562dd5e9
MR
10577 (ctl-x-map): Move bindings for delete-window,
10578 delete-other-windows and enlarge-window here from window.c.
10579 Replace bindings for split-window-vertically and
10580 split-window-horizontally by bindings for
10581 split-window-above-each-other and split-window-side-by-side.
10582
10583 * cus-start.el (all): Remove entries for window-min-height and
10584 window-min-width. Add entries for window-splits and
10585 window-nest.
10586
f0da764a
GM
105872011-06-09 Glenn Morris <rgm@gnu.org>
10588
80675c21
GM
10589 * calendar/appt.el (appt-mode-line): New function.
10590 (appt-check, appt-disp-window): Use it.
10591
f0da764a
GM
10592 * files.el (hack-one-local-variable-eval-safep):
10593 Allow minor-modes with explicit +/-1 arguments.
10594
59f623b7
TZ
105952011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10596
10597 * term/xterm.el (xterm): Add defgroup.
10598 (xterm-extra-capabilities): Add defcustom to supply known xterm
10599 capabilities, skip querying them, or query them (default).
10600 (terminal-init-xterm): Use it.
10601 (terminal-init-xterm-modify-other-keys): New function to set up
10602 modifyOtherKeys support to simplify `terminal-init-xterm'.
10603
9aab8e0d
MR
106042011-06-09 Martin Rudalics <rudalics@gmx.at>
10605
10606 * window.el (resize-window-reset, resize-window-reset-1)
10607 (resize-subwindows-skip-p, resize-subwindows-normal)
10608 (resize-subwindows, resize-other-windows, resize-this-window)
10609 (resize-root-window, resize-root-window-vertically)
10610 (window-deletable-p, window-or-subwindow-p)
10611 (frame-root-window-p): New functions.
10612
e8b08aee
GM
106132011-06-09 Glenn Morris <rgm@gnu.org>
10614
10615 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10616 (ange-ftp-get-files): Use it.
10617
254c37a5
AK
106182011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10619
10620 * mail/sendmail.el (mail-recover-1, mail-recover):
10621 * files.el (recover-file, recover-session):
10622 Handle dired-listing-switches not being just a single short option.
10623
35d7dbd3
GM
106242011-06-09 Glenn Morris <rgm@gnu.org>
10625
10626 * calendar/appt.el (appt-display-message, appt-disp-window):
10627 Handle lists of appointments.
10628
387522b2
MR
106292011-06-08 Martin Rudalics <rudalics@gmx.at>
10630
2b75be67
SM
10631 * window.el (one-window-p): Move down in code.
10632 Rewrite doc-string.
10633 (window-current-scroll-bars): Rewrite doc-string.
10634 Normalize live window argument.
387522b2
MR
10635 (walk-windows, get-window-with-predicate, count-windows):
10636 Rewrite doc-string. Use window-list-1.
10637 (window-in-direction-2, window-in-direction, get-mru-window):
10638 New functions.
10639
d8e4b68b 106402011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10641
10642 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10643 Doc fix (Bug#8713).
10644
106452011-06-08 Chong Yidong <cyd@stupidchicken.com>
10646
10647 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10648
106492011-06-08 Juanma Barranquero <lekktu@gmail.com>
10650
10651 * loadhist.el (unload-feature-special-hooks):
10652 Add `comint-output-filter-functions'.
10653
0de12c52
IK
106542011-06-08 Ivan Kanis <gnu@kanis.fr>
10655
10656 * calendar/appt.el (appt-check): Move some initializations into the let.
10657
f3d1777e
MR
106582011-06-08 Martin Rudalics <rudalics@gmx.at>
10659
10660 * window.el (window-height): Defalias to window-total-height.
10661 (window-width): Defalias to window-body-width.
10662
18af70d0
CY
106632011-06-07 Chong Yidong <cyd@stupidchicken.com>
10664
10665 * image-mode.el (image-toggle-animation): New command.
10666 (image-mode-map): Bind it to RET.
10667 (image-mode): Update message.
10668 (image-toggle-display-image): Avoid a spurious cache flush.
10669 (image-transform-rotation): Doc fix.
10670 (image-transform-properties): Return quickly in the normal case.
10671 (image-animate-loop): Rename from image-animate-max-time.
10672
2b75be67 10673 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10674 (create-animated-image): Remove unnecessary function.
10675 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10676 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10677 (image-animate-timer): Use car-safe.
10678 (image-animate-timeout): Rename argument.
10679
190b47e6
MR
106802011-06-07 Martin Rudalics <rudalics@gmx.at>
10681
10682 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10683 window.c. Rename first argument to ALL-FRAMES.
10684 Rephrase doc-strings.
10685 (get-buffer-window-list): Rewrite using window-list-1.
10686 Rephrase doc-string.
a1511caf
MR
10687 (window-safe-min-height, window-safe-min-width): New constants.
10688 (window-size-ignore, window-min-size, window-min-size-1)
10689 (window-sizable, window-sizable-p, window-size-fixed-1)
10690 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10691 (window-max-delta-1, window-max-delta, window-resizable)
10692 (window-resizable-p, window-total-height, window-total-width)
10693 (window-body-width): New functions.
10694 (window-full-height-p, window-full-width-p): Rewrite using
10695 window-total-size.
10696 (window-body-height): Rewrite using window-body-size.
190b47e6 10697
85cc1f11
MR
106982011-06-06 Martin Rudalics <rudalics@gmx.at>
10699
10700 * window.el (window-right, window-left, window-child)
10701 (window-child-count, window-last-child, window-any-p)
10702 (normalize-live-buffer, normalize-live-frame)
10703 (normalize-any-window, normalize-live-window)
10704 (window-iso-combination-p, window-iso-combined-p)
10705 (window-iso-combinations)
10706 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10707 (windows-with-parameter, window-with-parameter)
10708 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10709 (window-atom-check, window-side-check, window-check):
10710 New functions.
85cc1f11
MR
10711 (ignore-window-parameters, window-sides, window-sides-vertical)
10712 (window-sides-slots): New variables.
10713 (window-size-fixed): Move down in code. Minor doc-string fix.
10714
e7156492
AS
107152011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10716
10717 * comint.el (comint-dynamic-complete-as-filename)
10718 (comint-dynamic-complete-filename): Correctly call
10719 completion-in-region.
10720
7e821d0d
DD
107212011-06-05 Deniz Dogan <deniz@dogan.se>
10722
10723 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10724 in last change.
10725
ac09b8a1
DD
107262011-06-05 Deniz Dogan <deniz@dogan.se>
10727
10728 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10729 (rcirc): Use it to prompt for encryption.
10730
34699b85
RW
107312011-06-05 Roland Winkler <winkler@gnu.org>
10732
10733 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10734 (bibtex-search-entries): New command bound to C-c C-a.
10735 (bibtex-display-entries): New function.
10736
004dedd3
RW
107372011-06-05 Roland Winkler <winkler@gnu.org>
10738
10739 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10740 (bibtex-insert-kill): After yanking insert newline if necessary.
10741 (bibtex-initialize): Call bibtex-string-files-init only once.
10742 (bibtex-mode): Do not call easy-menu-add.
10743 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10744 (bibtex-yank): Set arg properly if nil.
10745
022fe7ce
RW
107462011-06-05 Roland Winkler <winkler@gnu.org>
10747
2b75be67
SM
10748 * textmodes/bibtex.el (bibtex-search-entry-globally):
10749 New variable.
022fe7ce
RW
10750 (bibtex-search-entry): Use it.
10751
b7c3692a
RW
107522011-06-05 Roland Winkler <winkler@gnu.org>
10753
10754 * textmodes/bibtex.el (bibtex-entry-format): New option
10755 sort-fields.
10756 (bibtex-format-entry, bibtex-reformat): Honor this option.
10757 (bibtex-parse-entry): Return fields in proper order.
10758
8eda563d
JB
107592011-06-05 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * doc-view.el (doc-view-remove-if): Move computation of result out
10762 of `dolist' to silence misleading lexical-binding warning.
10763
7dbe3dbc
CY
107642011-06-04 Chong Yidong <cyd@stupidchicken.com>
10765
10766 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10767 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10768
0c33dd17
MA
107692011-06-04 Michael Albinus <michael.albinus@gmx.de>
10770
10771 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10772 "SunOS 5.10".
10773
f8f91c2b
MA
107742011-06-04 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10777 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10778 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10779 (tramp-parse-putty):
10780 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10781 (tramp-completion-function-alist-ssh)
10782 (tramp-completion-function-alist-telnet)
10783 (tramp-completion-function-alist-su)
10784 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10785 cookie.
10786
10787 * net/tramp-ftp.el:
10788 * net/tramp-sh.el:
10789 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10790 load "tramp.el" `tramp-set-completion-function'.
10791
e17d9003
SM
107922011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * shell.el: Require and use pcomplete.
10795 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10796 (shell-completion-vars): Set pcomplete-default-completion-function.
10797
6c4cab03
DD
107982011-06-04 Deniz Dogan <deniz@dogan.se>
10799
10800 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10801 `memq' (Bug#8799).
10802
ea9fafe0
SM
108032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10806
b3e945d3
JB
108072011-06-02 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10810 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10811 * vc/log-view.el (log-view-beginning-of-defun):
10812 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10813 (smerge-refine-forward, smerge-refine-chopup-region):
10814 Silence warning for unused `dotimes' counter variables.
10815
7d520089
SM
108162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 * net/tramp.el (tramp-with-progress-reporter): Rename from
10819 with-progress-reporter. Use `declare'.
10820 * net/tramp-smb.el:
10821 * net/tramp-sh.el:
10822 * net/tramp-gvfs.el: Update all uses.
10823
a1c2400f
JB
108242011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10825
10826 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10827 buffer isn't killed before making it current.
10828
2403c841
SM
108292011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 Silence various byte-compiler warnings.
10832 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10833 `access-type' and new obsolescence format.
10834 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10835 new format.
10836 (byte-compile-check-variable): New `access-type' argument.
10837 Only warn if the access-type is obsolete.
10838 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10839 (byte-compile-variable-set): Adjust callers.
10840 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10841 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10842 setting it as obsolete.
10843 * simple.el (minibuffer-completing-symbol):
10844 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10845 access as obsolete.
10846 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10847 obsolete yet.
10848 * international/quail.el (quail-mouse-choose-completion): Remove unused
10849 code referring to obsolete var.
10850 (quail-choose-completion-string): Remove.
10851 * server.el (server-clients-with, server-kill-buffer-query-function)
10852 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10853 * proced.el (proced-send-signal):
10854 * emacs-lisp/lisp.el (lisp-complete-symbol):
10855 Replace completion-annotate-function with completion-extra-properties.
10856
2462470b
SM
108572011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10858
fb5b2591
SM
10859 * simple.el (goto-line): Use read-number.
10860 (overriding-map-is-bound): Remove.
10861 (saved-overriding-map): Change default.
10862 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10863 Take the map as argument.
10864 (universal-argument, negative-argument, digit-argument): Use it.
10865 (restore-overriding-map): Adjust.
10866 (do-auto-fill): Use fill-forward-paragraph.
10867 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10868
fd6fa53f
SM
10869 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10870 (minibuffer-inactive-mode): New major mode.
10871 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10872 the *Messages* buffer" hack.
10873 (mouse-popup-menubar): Don't burp if the event is a normal key.
10874
2462470b
SM
10875 Miscellaneous tweaks.
10876 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10877 lexical scoping as in subr.el's dolist and dotimes.
10878 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10879 Silence compiler warning.
10880 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10881 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10882 * international/ccl.el (ccl-compile): Trivial simplification.
10883 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10884 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10885 `printflag' argument.
10886 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10887 Purecopy the whole obsolescence data.
10888
108bf785
LL
108892011-06-01 Leo Liu <sdl.web@gmail.com>
10890
10891 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10892 improve doc-string as suggested by Marco Pessotto
10893 <melmothx@gmail.com>.
10894 (rcirc-print): Fix last change.
10895
30a23501
SM
108962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * minibuffer.el (complete-with-action): Return nil for the metadata and
10899 boundaries of non-functional tables.
10900 (completion-table-dynamic): Return nil for the metadata.
10901 (completion-table-with-terminator): Add default case, using
10902 complete-with-action.
10903 (completion--metadata): New function.
10904 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10905 to try and avoid pathological performance problems.
10906 (completion--embedded-envvar-table): Return `category' metadata.
10907
bcd54f83
LMI
109082011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10909
10910 * subr.el (process-alive-p): New tiny convenience function.
10911
e227544d
SM
109122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10915 content but also its previous major mode.
10916
e8296fdc
HE
109172011-05-31 Helmut Eller <eller.helmut@gmail.com>
10918
4d61f28d 10919 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10920 *Backtrace* buffer when we exit with C-M-c.
10921
620c53a6
SM
109222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * minibuffer.el: Add metadata method to completion tables.
10925 (completion-category-overrides): New defcustom.
10926 (completion-metadata, completion--field-metadata)
10927 (completion-metadata-get, completion--styles)
10928 (completion--cycle-threshold): New functions.
10929 (completion-try-completion, completion-all-completions):
10930 Add `metadata' argument to choose completion-styles.
10931 (completion--do-completion): Use metadata to choose cycling.
10932 (completion-all-sorted-completions): Use metadata for sorting.
10933 Remove :completion-cycle-penalty which is not needed any more.
10934 (completion--try-word-completion): Add `metadata' argument.
10935 (minibuffer-completion-help): Check metadata for annotation function
10936 and sorting.
10937 (completion-file-name-table): Return `category' metadata.
10938 (minibuffer-completing-file-name): Make obsolete.
10939 * simple.el (minibuffer-completing-symbol): Make obsolete.
10940 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10941 completion-try-completion.
10942
1257e755
SM
109432011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10946
3767e706
LL
109472011-05-30 Leo Liu <sdl.web@gmail.com>
10948
10949 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10950 (rcirc-print): Decode all incoming messages (bug#8744).
10951 (rcirc-decode-coding-system): Allow value nil for automatic coding
10952 system detection.
3767e706 10953
d1a5d56a
GM
109542011-06-01 Glenn Morris <rgm@gnu.org>
10955
10956 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10957
e8cbec34
CY
109582011-05-29 Chong Yidong <cyd@stupidchicken.com>
10959
10960 * image.el (image-animate-max-time): Allow nil and t values.
10961 Default to nil.
10962 (create-animated-image): Doc fix.
10963 (image-animate-start): Remove second arg; just use
10964 image-animate-max-time.
10965 (image-animate-timeout): Doc fix. Args changed.
10966
10967 * image-mode.el (image-toggle-display-image): Ensure that the
10968 image spec passed to the animate timer is the same object as in
58179cce 10969 the buffer's display property (Bug#6981).
e8cbec34
CY
10970 (image-transform-properties): Doc fix.
10971
10972 * image.el (image-animate-max-time): Default to nil.
10973
159daf87
MR
109742011-05-29 Martin Rudalics <rudalics@gmx.at>
10975
10976 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10977 entire buffer list (Bug#8184).
10978
d66c4c7c
CY
109792011-05-29 Chong Yidong <cyd@stupidchicken.com>
10980
10981 * image.el (imagemagick-types-inhibit)
10982 (imagemagick-register-types): Doc fix.
10983
80aec780
DD
109842011-05-29 Deniz Dogan <deniz@dogan.se>
10985
10986 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10987 default.
10988
1dd3c2d9
CY
109892011-05-29 Chong Yidong <cyd@stupidchicken.com>
10990
10991 * select.el: Don't perform clipboard-manager saving in hooks;
10992 leave the hooks empty.
10993
60e56523
LL
109942011-05-28 Leo Liu <sdl.web@gmail.com>
10995
10996 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10997 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10998 (occur-edit-mode): New major mode (Bug#8463).
10999 (occur-after-change-function): New function.
11000 (occur-engine): Give Occur tags a read-only property.
11001
2b1e1a22
KR
110022011-05-28 Kevin Ryde <user42@zip.com.au>
11003
11004 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11005
5d344e88
CY
110062011-05-28 Chong Yidong <cyd@stupidchicken.com>
11007
8e6ca83d
CY
11008 * bindings.el (help-echo): Make the initial non-indicator dash
11009 empty on graphical terminals (Bug#7295).
11010
5d344e88
CY
11011 * files.el (auto-mode-alist): Move config rule after the
11012 in-stripping one (Bug#8547).
11013
bfbbace7
CY
11014 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11015
fbeba6e2
CY
11016 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11017 setting (Bug#8740).
11018
60ed8c72
AA
110192011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11020
4ac619f0
AA
11021 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11022 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11023 (Bug#8539).
60ed8c72 11024
23db196e
CY
110252011-05-28 Chong Yidong <cyd@stupidchicken.com>
11026
11027 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11028
5012f24c
DK
110292011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11030
11031 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11032 (hs-hide-block-at-point, hs-find-block-beginning)
11033 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11034 (Bug#8279).
11035
6a639b16
GM
110362011-05-28 Glenn Morris <rgm@gnu.org>
11037
11038 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11039
d43eaf2c
CY
110402011-05-28 Chong Yidong <cyd@stupidchicken.com>
11041
5199bde1
CY
11042 * help-fns.el (describe-function-1): If the function is a derived
11043 major mode, print the parent mode.
11044
d43eaf2c
CY
11045 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11046 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11047
423428a8
SM
110482011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11049
0ff8e1ba 11050 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11051 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11052 * progmodes/etags.el (tags-completion-at-point-function):
11053 * info-look.el (info-lookup-completions-at-point): Mark as
11054 non-exclusive.
11055 (info-complete): Adjust accordingly.
11056
423428a8
SM
11057 * info-look.el: Convert to lexical-binding and completion-at-point.
11058 (info-lookup-completions-at-point): New function.
11059 (info-complete): Use it and completion-in-region.
11060
b74aa22b
DA
110612011-05-28 Drew Adams <drew.adams@oracle.com>
11062
11063 * isearch.el: Let M-e start with point at the first mismatched char.
11064 (isearch-fail-pos): New function.
11065 (isearch-edit-string): Use it.
11066
66e2e71d
DK
110672011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11068
11069 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11070
b1890b0f 110712011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11072
11073 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11074 traversal functions for avl-trees.
11075 (avl-tree--stack): New struct.
11076 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11077 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11078 (avl-tree--do-enter): Add optional `updatefun' arg.
11079 Change return value.
eb95d01d 11080 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11081 (avl-tree--do-delete): Add `test' and `nilflag' args.
11082 Change return value.
eb95d01d
TC
11083 (avl-tree-member): Add optional `nilflag'
11084 (avl-tree-member-p): New function.
11085 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11086 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11087 (avl-tree-stack-empty-p): New functions.
11088
3769ddcf
TC
11089 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11090 avl-tree--del-balance1 and make it work both ways.
11091 (avl-tree--del-balance2): Remove.
11092 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11093 make it work both ways.
11094 (avl-tree--enter-balance2): Remove.
11095 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11096 New macros.
11097 (avl-tree--mapc, avl-tree-map): Add direction argument.
11098
eb95d01d 110992011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11100
11101 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11102
a9f737ee
CY
111032011-05-27 Chong Yidong <cyd@stupidchicken.com>
11104
11105 * select.el: Support clipboard managers with built-in function
11106 x-clipboard-manager-save, via delete-frame-functions and
11107 kill-emacs-hook.
11108 (xselect-convert-to-targets): Add MULTIPLE target to list.
11109 (xselect-convert-to-save-targets): New function.
11110
c92a1e54
KH
111112011-05-27 Kenichi Handa <handa@m17n.org>
11112
11113 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11114 let-binding rfc2047-encode-encoded-words to nil.
11115
e145f188
GM
111162011-05-27 Glenn Morris <rgm@gnu.org>
11117
5ec8a862
GM
11118 * mail/emacsbug.el: Don't require url-util.
11119
4b29d9fb
GM
11120 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11121
e145f188
GM
11122 * files.el (set-auto-mode):
11123 Also respect mode: entries at the end of the file. (Bug#8586)
11124
7d15102b
GM
111252011-05-26 Glenn Morris <rgm@gnu.org>
11126
98f593b8
GM
11127 * files.el (hack-local-variables-prop-line, hack-local-variables):
11128 Downcase mode names, as seems to be traditional.
27b48e63 11129 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11130
7d15102b
GM
11131 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11132 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11133
51d5b4ec
JD
111342011-05-25 Julien Danjou <julien@danjou.info>
11135
11136 * textmodes/rst.el (rst-define-level-faces): Do not define face
11137 symbol if it is already defined.
11138
91513f63
VB
111392011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11140
11141 * play/5x5.el (5x5-new-game, 5x5-randomize):
11142 Reset 5x5-solver-output to nil when a new grid is cast.
11143 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11144 these debugging traces, as defmacro breaks the compiled code.
11145
4d90d6d0
DK
111462011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11147
11148 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11149
e1b90ef6
LL
111502011-05-24 Leo Liu <sdl.web@gmail.com>
11151
11152 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11153 (vc-bzr-sha1): Adapt.
11154
d8e4b68b 11155 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11156
11157 * bindings.el: Provide sha1 feature.
11158
db0406bb 111592011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11160
11161 * mail/sendmail.el: Require `rfc2047'.
11162 (mail-insert-from-field): Do not perform RFC2047 encoding.
11163 (mail-encode-header): New function.
11164 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11165 buffer to the return value of select-message-coding-system.
11166 Call mail-encode-header.
b8d747b9
KH
11167
11168 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11169
db0406bb 111702011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11171
4d90d6d0
DK
11172 * mail/supercite.el (sc-default-cite-frame):
11173 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11174
eb8a5e9b
GM
111752011-05-24 Glenn Morris <rgm@gnu.org>
11176
f8630703
GM
11177 * progmodes/python.el (brm-menu): Declare.
11178
8831bbed
GM
11179 * emulation/viper.el (viper-set-hooks): Declare.
11180
eb8a5e9b
GM
11181 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11182 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11183 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11184 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11185 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11186 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11187
a2a25d24
SM
111882011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 Add an :exit-function for completion-at-point.
11191
11192 * minibuffer.el (completion--done): New fun.
11193 (completion--do-completion): Use it. New arg `expect-exact'.
11194 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11195 since completion--do-completion does it for us now.
11196 (minibuffer-force-complete): Use completion--done and
11197 completion--replace. Handle sole-completion case with more care.
11198 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11199 (completion-extra-properties): New var.
11200 (completion-annotate-function): Make obsolete.
11201 (minibuffer-completion-help): Adjust accordingly.
11202 Use completion-list-insert-choice-function.
11203 (completion-at-point, completion-help-at-point):
11204 Bind completion-extra-properties.
11205 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11206 * simple.el (completion-list-insert-choice-function): New var.
11207 (completion-setup-function): Preserve it.
11208 (choose-completion): Pay attention to it, shuffle the code a bit.
11209 (choose-completion-string): New arg `insert-function'.
11210
11211 * textmodes/bibtex.el: Convert to lexical binding.
11212 (bibtex-mode-map): Use completion-at-point.
11213 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11214 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11215 (bibtex-complete): Define as obsolete alias.
11216 (bibtex-complete-internal): Remove.
11217 (bibtex-format-entry): Remove unused sub-group in regexp.
11218 * shell.el (shell--command-completion-data)
11219 (shell-environment-variable-completion):
11220 * pcomplete.el (pcomplete-completions-at-point):
11221 * comint.el (comint--complete-file-name-data): Use :exit-function
11222 instead of completion-table-with-terminator so it also works for
11223 choose-completion.
11224
e44e373d
SM
112252011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11226
4f91a816
SM
11227 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11228
782fc819
SM
11229 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11230 (bug#8710).
11231
e44e373d
SM
11232 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11233
381987c3
KM
112342011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11235
11236 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11237 customization variable and implement: If non-nil, auto-fill will
11238 be inhibited while on topic's header line.
11239
b776bc70
VB
112402011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11241
11242 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11243 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11244 always have a solution in grid size = 5 cases.
11245 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11246 (5x5-solver-output, 5x5-log-buffer): New vars.
11247 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11248 Make these variables buffer local to achieve 5x5 multi-session-ness.
11249 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11250 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11251 (5x5-solve-suggest): New funs.
11252 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11253 randomize a grid so that we ensure that there is always a solution.
11254 (5x5-make-random-grid): Allow other movement than flipping.
11255
7de88b6e
KR
112562011-05-23 Kevin Ryde <user42@zip.com.au>
11257
11258 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11259 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11260 advice and passes PREDICATE.
11261
b1ef1257
SM
112622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11263
bbca48fe
SM
11264 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11265 byte-compile-lambda if it's actually a lambda.
11266
b1ef1257
SM
11267 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11268 Fix function quoting. Use backquote better.
11269
92a9cc65
YS
112702011-05-22 Yuanle Song <sylecn@gmail.com>
11271
11272 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11273 matching (Bug#8516).
11274
f0fb8059
JA
112752011-01-22 Jari Aalto <jari.aalto@cante.net>
11276
11277 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11278 different face (Bug#8178).
11279
d5b44c93
CY
112802011-05-22 Chong Yidong <cyd@stupidchicken.com>
11281
11282 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11283 defface (Bug#8144).
11284
79106a44
SM
112852011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11286
9c848d8a
SM
11287 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11288 funcall as well (bug#8712). Warn when performing those conversions.
11289 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11290
79106a44
SM
11291 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11292
88dfa756
GM
112932011-05-22 Glenn Morris <rgm@gnu.org>
11294
11295 * files.el (hack-local-variables-prop-line): Small simplifications.
11296 (hack-local-variables, hack-local-variables-prop-line):
11297 If MODE-ONLY, return the mode, rather than just `t'.
11298
b7cf2c79
SM
112992011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11302
3f1a8558
GM
113032011-05-21 Glenn Morris <rgm@gnu.org>
11304
7e4ccca3
GM
11305 * files.el (hack-local-variables-prop-line, hack-local-variables):
11306 If only interested in the mode, don't bother doing the other stuff.
11307
637d46ca
GM
11308 * image-mode.el (image-after-revert-hook):
11309 Redraw all frames on which the image is visible. (Bug#8567)
11310
973d955b
GM
11311 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11312
3f1a8558
GM
11313 * wid-edit.el (widget-checklist-match-inline):
11314 Fix 2011-04-19 change. (Bug#8649)
11315
96479927
SM
113162011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11317
1dcf791f
SM
11318 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11319 Also allow singlespace after single-letter capitals followed by a dot.
11320
96479927
SM
11321 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11322 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11323
35fd0881
N
113242011-05-20 Nix <nix@esperi.org.uk>
11325
11326 * files.el (basic-save-buffer-2):
11327 Fix handling of break-hardlink-on-save with non-existent files.
11328
82745640
DD
113292011-05-19 Deniz Dogan <deniz@dogan.se>
11330
11331 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11332 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11333
4a720484
GM
113342011-05-19 Glenn Morris <rgm@gnu.org>
11335
d1f21341
GM
11336 * progmodes/f90.el (f90-type-def-re):
11337 Handle "type, bind(c)". (Bug#8691)
11338
4a720484
GM
11339 * emacs-lisp/autoload.el (batch-update-autoloads):
11340 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11341
2fb0a219
MA
113422011-05-18 Michael Albinus <michael.albinus@gmx.de>
11343
11344 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11345 property for the correct connection in case of multihops.
11346
e565dd37
GM
113472011-05-18 Glenn Morris <rgm@gnu.org>
11348
c2571358 11349 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11350 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11351
e565dd37
GM
11352 Rationalize calendar handling of day and month abbrev-arrays.
11353 * calendar/calendar.el (calendar-customized-p): New function.
11354 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11355 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11356 Add :set function.
11357 (calendar-abbrev-length, calendar-day-abbrev-array)
11358 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11359 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11360 Elements may no longer be nil.
11361 (calendar-day-name, calendar-month-name):
11362 Update for changed nature of abbrev arrays.
11363 * calendar/diary-lib.el (diary-name-pattern):
11364 Update for changed nature of abbrev arrays.
11365 (diary-mark-entries-1): Update calendar-make-alist calls.
11366 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11367 * calendar/cal-html.el (cal-html-day-abbrev-array):
11368 Simply inherit from calendar-day-abbrev-array.
11369
1d99a745
SM
113702011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * progmodes/grep.el (grep-mode): Disable default
11373 compilation-directory-matcher setting (bug#8684).
11374
7c1d9aa0
MA
113752011-05-17 Michael Albinus <michael.albinus@gmx.de>
11376
11377 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11378 instead of "head" and "tail". There were problems with SunOS 5.9,
11379 and it performs better.
11380
3952e9d8
GM
113812011-05-17 Glenn Morris <rgm@gnu.org>
11382
2dd12e7f
GM
11383 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11384
e4157b9c
GM
11385 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11386 Replace obsolete function.
11387
8e249bbd
GM
11388 * shell.el (pcomplete-parse-arguments-function): Declare.
11389
3952e9d8
GM
11390 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11391 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11392 (appt-check): Doc fixes.
11393 (appt-disp-window-function, appt-delete-window-function):
11394 Remove needless special case in custom :type.
11395 (appt-display-count): Default to 0, not nil.
11396 (appt-check): Reset appt-display-count to 0, not nil.
11397
c71a0d48 113982011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11399
c71a0d48
GM
11400 * progmodes/python.el (python-font-lock-keywords):
11401 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11402
31d55be9
SM
114032011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11406
3bfacb2f
KR
114072011-05-16 Kevin Ryde <user42@zip.com.au>
11408
11409 * info-look.el (makefile-automake-mode): New setups, looking in
11410 automake manual, then makefile-mode.
11411 (makefile-mode): Remove automake manual, have it just in
11412 makefile-automake-mode since there's various things different or
11413 not relevant to plain make.
11414 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11415 believe a hypothetical automake-mode would go to makefile-mode,
11416 not the other way around.
11417
c8e83751
CY
114182011-05-15 Chong Yidong <cyd@stupidchicken.com>
11419
5e9e35cd
CY
11420 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11421 hunk-end tags (Bug#8672).
11422
c8e83751
CY
11423 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11424 vc-annotate-show-diff-revision-at-line (Bug#8671).
11425
50b23e5a
GM
114262011-05-14 Glenn Morris <rgm@gnu.org>
11427
7210a739
GM
11428 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11429 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11430 (change-log-font-lock-keywords): Also handle multiple author lines
11431 with leading tabs. (Bug#8644)
7210a739 11432
4691905a
GM
11433 * calendar/appt.el (appt-check): Rename some local variables.
11434 Some simplification/reordering.
11435
50b23e5a
GM
11436 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11437 (feedmail-sendmail-f-doesnt-sell-me-out)
11438 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11439 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11440 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11441 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11442 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11443 (feedmail-binmail-gnulinuxish-template):
11444 Rename from feedmail-binmail-linuxish-template.
11445 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11446 Use insert-buffer-substring.
11447
215cda7c
BC
114482011-05-14 Bill Carpenter <bill@carpenter.org>
11449
11450 * mail/feedmail.el (feedmail-patch-level): Increase.
11451 (feedmail-debug): New custom group.
11452 (feedmail-confirm-outgoing-timeout)
11453 (feedmail-sendmail-f-doesnt-sell-me-out)
11454 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11455 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11456 (feedmail-sender-line, feedmail-from-line)
11457 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11458 (feedmail-spray-this-address)
215cda7c
BC
11459 (feedmail-spray-address-fiddle-plex-list)
11460 (feedmail-queue-use-send-time-for-date)
11461 (feedmail-queue-use-send-time-for-message-id)
11462 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11463 (feedmail-buffer-eating-function):
11464 Doc fixes.
11465 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11466 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11467 (feedmail-message-action-scroll-down): New functions.
11468 (feedmail-queue-directory, feedmail-queue-draft-directory):
11469 Use expand-file-name.
11470 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11471 Remove C-v help entry.
11472 (feedmail-queue-buffer-file-name): New variable.
11473 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11474 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11475 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11476 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11477 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11478 (feedmail-message-action-toggle-spray)
11479 (feedmail-run-the-queue-no-prompts)
11480 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11481 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11482 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11483 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11484 (feedmail-envelope-deducer, feedmail-fiddle-from)
11485 (feedmail-fiddle-sender, feedmail-default-date-generator)
11486 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11487 (feedmail-fiddle-spray-address)
11488 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11489 (feedmail-fiddle-list-of-fiddle-plexes)
11490 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11491 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11492 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11493 Change default. Doc fix.
11494 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11495 (feedmail-binmail-linuxish-template): New constant.
11496 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11497 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11498 (feedmail-send-it): Add debug call.
11499 Use feedmail-queue-buffer-file-name, and
11500 feedmail-send-it-immediately-wrapper.
11501 (feedmail-message-action-send): Add debug call.
11502 Use feedmail-send-it-immediately-wrapper.
11503 (feedmail-queue-express-to-queue): Add debug call.
11504 Run feedmail-queue-express-hook.
11505 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11506 (feedmail-message-action-help-blat):
11507 Rename from feedmail-queue-send-edit-prompt-help-first.
11508 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11509 Check line-endings. Handle errors better.
11510 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11511 Doc fix. Add debug call.
11512 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11513 Use feedmail-queue-send-edit-prompt-inner.
11514 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11515 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11516 from feedmail-queue-send-edit-prompt.
11517 (feedmail-queue-send-edit-prompt-help)
11518 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11519 (feedmail-tidy-up-slug): Add debug call.
11520 Respect feedmail-queue-slug-suspect-regexp.
11521 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11522 (feedmail-dump-message-to-queue): Add debug call.
11523 Expand queue-directory.
11524 (feedmail-dump-message-to-queue): Change message slightly.
11525 Use feedmail-say-chatter.
11526 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11527 (feedmail-send-it-immediately-wrapper): New function.
11528 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11529 Insert empty string rather than newline. Handle full-frame case.
11530 Use catch/throw. Use feedmail-say-chatter.
11531 (feedmail-fiddle-from): Try mail-host-address.
11532 (feedmail-default-message-id-generator): Doc fix.
11533 Bind system-time-locale. Handle missing end.
11534 (feedmail-fiddle-x-mailer): Add debug call.
11535 Handle feedmail-x-mailer-line being nil.
11536 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11537 Add debug call. Use buffer-substring-no-properties.
11538 (feedmail-say-debug, feedmail-say-chatter): New functions.
11539 (feedmail-find-eoh): Give an explicit error.
11540
42c7e61e
UJ
115412011-05-13 Ulf Jasper <ulf.jasper@web.de>
11542
c2571358 11543 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11544 family from helvetica to sans.
c2571358 11545 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11546 etc/images/newsticker.
11547
c2571358 11548 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11549 family from helvetica to sans.
11550
11551 * net/newst-plainview.el (newsticker-new-item-face)
11552 (newsticker-old-item-face, newsticker-immortal-item-face)
11553 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11554 (newsticker-statistics-face): Change default family from
42c7e61e 11555 helvetica to sans.
c2571358 11556 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11557 etc/images/newsticker.
11558
5d3385a0
JB
11559 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11560 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11561 auto-marking.
11562
8497a297
DV
115632011-05-13 Didier Verna <didier@xemacs.org>
11564
11565 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11566 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11567 TODO entries.
8497a297
DV
11568 (lisp-lambda-list-keyword-parameter-indentation)
11569 (lisp-lambda-list-keyword-parameter-alignment)
11570 (lisp-lambda-list-keyword-alignment): New customizable user options.
11571 (lisp-indent-defun-method): Improve docstring.
11572 (extended-loop-p): Fix comment.
11573 (lisp-indent-lambda-list-keywords-regexp): New variable.
11574 (lisp-indent-lambda-list): New function.
11575 (lisp-indent-259): Use it.
11576 (lisp-indent-defmethod): Support for more than one
11577 method qualifier and properly indent methods lambda-lists.
11578 (defgeneric): Provide a missing common-lisp-indent-function property.
11579
f278f87f
SM
115802011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11583 bounds for the empty string (bug#8667).
11584
5233edd7
GM
115852011-05-13 Glenn Morris <rgm@gnu.org>
11586
5237a44f
GM
11587 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11588
8340026c 11589 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11590 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11591
5233edd7 11592 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11593 (appt-time-msg-list): Doc fix.
a5464014 11594 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11595
92d10796
AS
115962011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11597
11598 * progmodes/ld-script.el (ld-script-keywords)
11599 (ld-script-builtins): Update keywords list.
11600
914a0ae1
SM
116012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11602
c89be45f
SM
11603 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11604
914a0ae1
SM
11605 * shell.el (shell-completion-vars): New function.
11606 (shell-mode):
11607 * simple.el (read-shell-command): Use it.
11608 (blink-matching-open): No need for " [...]" in minibuffer-message.
11609
98dc3df3
GM
116102011-05-12 Glenn Morris <rgm@gnu.org>
11611
11612 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11613 (appt-check): Simplify.
11614
d2fc7e3d 116152011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11616
4d61f28d 11617 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11618 literal "/dev/null".
11619
d2fc7e3d 116202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11621
11622 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11623 Fix typo.
11624
d2fc7e3d 116252011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11626
3f254caa
SM
11627 * progmodes/which-func.el (which-function):
11628 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11629 which might not be defined (Bug#8260).
11630
d45885f7
GM
116312011-05-12 Glenn Morris <rgm@gnu.org>
11632
11633 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11634 Let byte-compile-initial-macro-environment always take precedence.
11635
488086f4
SM
116362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * net/rcirc.el: Add support for SSL/TLS connections.
11639 (rcirc-server-alist): New field `encryption'.
11640 (rcirc): Check `encryption' settings.
11641 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11642 Merge make-local-variable into `set'.
11643 (rcirc--connection-open-p): New function.
11644 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11645 the process is not a network process (e.g. running gnutls-cli).
11646 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11647 Make rcirc-(en|de)code-coding-system local here.
11648 (rcirc-mode): Merge make-local-variable into `set'.
11649 (rcirc-parent-buffer): Make permanent buffer-local.
11650 (rcirc-multiline-minor-mode): Don't do it here.
11651 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11652 there's no server buffer.
11653
7d3b9d44
GM
116542011-05-11 Glenn Morris <rgm@gnu.org>
11655
f64049c6
GM
11656 * newcomment.el (comment-kill): Prefix "unused" local.
11657
93c9df73
GM
11658 * term/w32console.el (get-screen-color): Declare.
11659
7d3b9d44
GM
11660 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11661 Handle symbol elements of byte-compile-initial-macro-environment.
11662
9e2dd53f
LL
116632011-05-10 Leo Liu <sdl.web@gmail.com>
11664
488086f4
SM
11665 * bookmark.el (bookmark-bmenu-mode-map):
11666 Bind bookmark-bmenu-search to `/'.
8b340240 11667
9e2dd53f 11668 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11669 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11670 (Footnote-unicode): New function.
11671 (footnote-style-alist): Add unicode style to the list.
11672 (footnote-style): Doc fix.
9e2dd53f 11673
79b70037
GM
116742011-05-10 Jim Meyering <meyering@redhat.com>
11675
11676 Fix doubled-word typos.
11677 * international/quail.el (quail-insert-kbd-layout): and and -> and
11678 * kermit.el: and and -> and
11679 * net/ldap.el (ldap-search-internal): to to -> to
11680 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11681 * progmodes/js.el (js-mode): and and -> and
11682 * textmodes/artist.el (artist-move-to-xy): at at -> at
11683 (artist-draw-region-trim-line-endings): if if -> if
11684 And Safetyc -> Safety.
11685 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11686
b8f82dc1 116872011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11688 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11689
11690 * files.el (hack-one-local-variable-eval-safep):
11691 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11692
4f99f44b
GM
116932011-05-10 Glenn Morris <rgm@gnu.org>
11694
11695 * calendar/diary-lib.el (diary-list-entries-hook)
11696 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11697 (diary-nongregorian-marking-hook, diary-list-entries)
11698 (diary-include-other-diary-files, diary-mark-entries)
11699 (diary-mark-included-diary-files): Doc fixes.
11700
84f29e6b
JB
117012011-05-09 Juanma Barranquero <lekktu@gmail.com>
11702
11703 * misc.el: Require tabulated-list.el during compilation.
11704
9bedd73a
CY
117052011-05-09 Chong Yidong <cyd@stupidchicken.com>
11706
488086f4
SM
11707 * progmodes/compile.el (compilation-start):
11708 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11709 (compilation-filter-hook): Doc fix.
11710
797c735c
DD
117112011-05-09 Deniz Dogan <deniz@dogan.se>
11712
11713 * wdired.el: Remove outdated installation comment. Fix usage
11714 comment.
11715
5f4b1dfe
JB
117162011-05-09 Juanma Barranquero <lekktu@gmail.com>
11717
11718 * misc.el: Implement new command `list-dynamic-libraries'.
11719 (list-dynamic-libraries--loaded-only-p): New variable.
11720 (list-dynamic-libraries--refresh): New function.
11721 (list-dynamic-libraries): New command.
11722
4c44026c
CY
117232011-05-09 Chong Yidong <cyd@stupidchicken.com>
11724
488086f4
SM
11725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11726 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11727 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11728 higher priority to avoid clobbering by gnu.
11729
027f966d
CY
117302011-05-08 Chong Yidong <cyd@stupidchicken.com>
11731
11732 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11733 if the face has existing theme settings (Bug#8454).
11734
085f5d7d
CY
117352011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11736
488086f4
SM
11737 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11738 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11739
2a86a00c
RS
11740 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11741 special file names `.' and `..' (Bug#8259).
11742
d9c54a06
CY
117432011-05-08 Chong Yidong <cyd@stupidchicken.com>
11744
488086f4
SM
11745 * progmodes/grep.el (grep-mode-font-lock-keywords):
11746 Remove buffer-changing entries.
d9c54a06
CY
11747 (grep-filter): New function.
11748 (grep-mode): Add it to compilation-filter-hook.
11749
11750 * progmodes/compile.el (compilation-filter-hook)
11751 (compilation-filter-start): New defvars.
11752 (compilation-filter): Call compilation-filter-hook prior to
11753 updating the process mark.
11754
c4662635
SM
117552011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11758
b0512a1d
EZ
117592011-05-07 Eli Zaretskii <eliz@gnu.org>
11760
605c9376
EZ
11761 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11762 mailclient-send-it even if window-system is nil. (Bug#8595)
11763
c4662635
SM
11764 * term/w32console.el (terminal-init-w32console):
11765 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11766 background-mode. (Bug#8597)
11767
d1dc2cc2
SM
117682011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11771 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11772 New functions.
11773 (defgeneric, eieio--defmethod): Use them.
11774 (eieio-defgeneric): Remove.
11775 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11776
915d1300
GM
117772011-05-07 Glenn Morris <rgm@gnu.org>
11778
a3961c3e
GM
11779 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11780 Use let rather than let*.
11781 (timeclock-find-discrep): Remove unused local.
11782
314347b9
GM
11783 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11784
915d1300
GM
11785 * calendar/appt.el (appt-time-msg-list): Doc fix.
11786
275b59b0
NF
117872011-05-06 Noah Friedman <friedman@splode.com>
11788
11789 * apropos.el (apropos-print-doc): Only use
11790 emacs-lisp-docstring-fill-column when it is bound to an integer,
11791 per that variable's documentation.
11792
6c19f744
SM
117932011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11796 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11797
60f884b2
GM
117982011-05-06 Glenn Morris <rgm@gnu.org>
11799
5006e634
GM
11800 * calendar/appt.el (appt-message-warning-time): Doc fix.
11801 (appt-warning-time-regexp): New option.
11802 (appt-make-list): Respect appt-message-warning-time.
11803
548d0a63
GM
11804 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11805 New options.
11806 (diary-add-to-list): Strip comments from the displayed string.
11807 (diary-mode): Set comment-start and comment-end.
11808
60f884b2
GM
11809 * vc/diff-mode.el (smerge-refine-subst): Declare.
11810 (diff-refine-hunk): Don't require smerge-mode when compiling.
11811
989681bb
JB
118122011-05-06 Juanma Barranquero <lekktu@gmail.com>
11813
11814 * simple.el (list-processes): Return nil as the docstring says.
11815
a6bc05e1
MA
118162011-05-05 Michael Albinus <michael.albinus@gmx.de>
11817
11818 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11819 to "".
11820 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11821 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11822 determining of binary transfer. (Bug#7383)
11823
23c22e9a
MA
118242011-05-05 Michael Albinus <michael.albinus@gmx.de>
11825
c4662635
SM
11826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11827 Fix port computation bug. (Bug#8618)
23c22e9a 11828
0bff894f
GM
118292011-05-05 Glenn Morris <rgm@gnu.org>
11830
b8296902
GM
11831 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11832
1f522ce8
GM
11833 * simple.el (shell-dynamic-complete-functions)
11834 (comint-dynamic-complete-functions): Declare.
11835
cf5bee67
GM
11836 * net/network-stream.el (gnutls-negotiate):
11837 * simple.el (tabulated-list-print): Fix declarations.
11838
11839 * progmodes/gud.el (syntax-symbol, syntax-point):
11840 Remove unnecessary and incorrect declarations.
11841
0bff894f
GM
11842 * emacs-lisp/check-declare.el (check-declare-scan):
11843 Handle byte-compile-initial-macro-environment in bytecomp.el
11844
9869b3ae
SM
118452011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 Fix earlier half-done eieio-defmethod change (bug#8338).
11848 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11849 Streamline and change calling convention.
11850 (defmethod): Adjust accordingly and simplify.
11851 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11852 new eieio--defmethod.
11853 (slot-boundp): Minor CSE simplification.
11854
9c1d5ac5
MZ
118552011-05-05 Milan Zamazal <pdm@zamazal.org>
11856
11857 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11858 (glasses-make-readable): Use glasses-separate-capital-groups.
11859
455c834e
JB
118602011-05-05 Juanma Barranquero <lekktu@gmail.com>
11861
11862 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11863 (warning-series): Doc fix.
11864 (display-warning): Don't try to create the buffer if we just found it.
11865
9ed7c8cb
CY
118662011-05-04 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11869 (autoload-find-generated-file): New function.
11870 (generate-file-autoloads): Bind generated-autoload-file to
11871 buffer-file-name.
9869b3ae
SM
11872 (update-file-autoloads, update-directory-autoloads):
11873 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11874 output file (Bug#7989).
11875 (batch-update-autoloads): Doc fix.
11876
0898ca10
JB
118772011-05-04 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11880
31dfb76c
GM
118812011-05-04 Glenn Morris <rgm@gnu.org>
11882
f330b642
GM
11883 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11884 function, so it follows changes in calendar-date-style.
11885 (diary-fancy-date-matcher): New function.
11886 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11887 (diary-fancy-font-lock-fontify-region-function):
11888 Use diary-fancy-date-pattern as a function.
11889
31dfb76c
GM
11890 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11891 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11892
48e79d6a
TZ
118932011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11894
11895 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11896 instead of positional arguments. Allow :keylist and :crlfiles
11897 arguments.
11898 (open-gnutls-stream): Call it.
11899
11900 * net/network-stream.el (network-stream-open-starttls): Adjust to
11901 call `gnutls-negotiate' with :process and :hostname arguments.
11902
dd5a5ee0
SM
119032011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11904
ef80fc09
SM
11905 * minibuffer.el (completion--message): New function.
11906 (completion--do-completion, minibuffer-complete)
11907 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11908 (completion--do-completion): Don't ignore completion-auto-help when in
11909 icomplete-mode.
11910
dd5a5ee0
SM
11911 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11912 internal encoding (e.g. tibetan zero is not whitespace).
11913 (global-whitespace-mode): Prefer save-current-buffer.
11914 (whitespace-trailing-regexp): Remove useless save-match-data.
11915 (whitespace-empty-at-bob-regexp): Minor simplification.
11916
b7d22a83
CY
119172011-05-03 Chong Yidong <cyd@stupidchicken.com>
11918
11919 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11920
5192af46
AM
119212011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11922
11923 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11924 Use `concat' to create string for insertion.
5192af46 11925
5767d190
SM
119262011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11929 Avoid open-line which runs post-self-insert-hook.
11930 (bibtex-fill-entry): Remove unused `end' var.
11931
bf242939
AM
119322011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11933
5767d190
SM
11934 * textmodes/ispell.el (ispell-add-per-file-word-list):
11935 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11936
25666126
LL
119372011-05-03 Leo Liu <sdl.web@gmail.com>
11938
11939 * isearch.el (isearch-yank-pop): New command.
5767d190 11940 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11941 (isearch-forward): Mention it.
11942
52d3c2d0
SM
119432011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11944
1bcace58
SM
11945 * simple.el (minibuffer-complete-shell-command): Remove.
11946 (minibuffer-local-shell-command-map): Use completion-at-point.
11947 (read-shell-command): Setup completion vars here instead.
11948 (read-expression-map): Bind TAB to symbol completion.
11949
52d3c2d0
SM
11950 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11951 error directly rather via storing it into `results'.
11952
35813471
LL
119532011-05-02 Leo Liu <sdl.web@gmail.com>
11954
11955 * vc/diff.el: Fix description.
11956
e793a940
LMI
119572011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958
11959 * server.el (server-eval-at): New function.
11960
8de66e05
LMI
119612011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11962
11963 * net/network-stream.el (open-network-stream): Take a :nowait
11964 parameter and pass it on to `make-network-process'.
11965 (network-stream-open-plain): Ditto.
11966
dcb79f20
AS
119672011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11968
11969 * faces.el (face-spec-set-match-display): Don't match toolkit
11970 options on terminal frames.
11971
14a7fbd8
SM
119722011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11973
7eabc1be
SM
11974 * progmodes/pascal.el: Use lexical binding.
11975 (pascal-mode-map): Remove author preferences.
11976
14a7fbd8
SM
11977 * pcomplete.el (pcomplete-std-complete): Don't abuse
11978 completion-at-point.
11979
50f84510
JB
119802011-04-28 Juanma Barranquero <lekktu@gmail.com>
11981
6e087a44
JB
11982 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11983 removing code that has been dead since 1991 or so.
11984
50f84510
JB
11985 * startup.el (command-line): When warning about "_emacs", use a
11986 delayed warning to allow the user to filter it out.
11987
0ba690bd
DD
119882011-04-28 Deniz Dogan <deniz@dogan.se>
11989
11990 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11991 user has not joined.
11992
08abfaad
SM
119932011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11996 aren't any completions at point.
11997
638f053a
JB
119982011-04-28 Juanma Barranquero <lekktu@gmail.com>
11999
12000 * subr.el (display-delayed-warnings): New function.
12001 (delayed-warnings-hook): New variable.
12002
8fff8daa
SM
120032011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12004
08abfaad
SM
12005 * minibuffer.el (completion-at-point, completion-help-at-point):
12006 Don't presume that a given completion-at-point-function will always
12007 use the same calling convention.
12008
8fff8daa
SM
12009 * pcomplete.el (pcomplete-completions-at-point):
12010 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12011 pcomplete-seen is non-nil.
12012 (pcomplete-comint-setup): Also recognize the new comint/shell
12013 completion functions.
12014 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12015 pcomplete-seen is non-nil.
12016
841a1577 120172011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12018
841a1577 12019 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12020 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12021 the first character in the entry. This allows for code to add its
211ec907
UJ
12022 own uid to the entry.
12023 (icalendar--convert-float-to-ical): Add export of
12024 `diary-float'-entries save for those with the optional DAY
12025 argument.
12026
2a782793
DC
120272011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12028
12029 * subr.el (shell-quote-argument): Use alternate escaping strategy
12030 when we spot a variable reference in a string.
12031
0438ce91
DC
120322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12033
12034 * cus-start.el (all): Define customization for debug-on-event.
12035
841a1577 120362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12037
12038 * subr.el (shell-quote-argument): Escape correctly under Windows.
12039
d090ed6c
SM
120402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12043
bfd31217
MA
120442011-04-25 Michael Albinus <michael.albinus@gmx.de>
12045
d090ed6c
SM
12046 * net/tramp.el (tramp-process-actions): Add POS argument.
12047 Delete region between POS and (pos).
bfd31217 12048
d090ed6c
SM
12049 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12050 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12051 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12052
12053 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12054 position in `tramp-process-actions' call.
12055
12056 * net/trampver.el: Update release number.
12057
e92f3bd3
SM
120582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12059
850256b5
SM
12060 * custom.el (defcustom): Obey lexical-binding.
12061
e92f3bd3
SM
12062 Fix octave-inf completion problems reported by Alexander Klimov.
12063 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12064 Inherit from octave-mode-syntax-table.
12065 (inferior-octave-mode): Set info-lookup-mode.
12066 (inferior-octave-completion-at-point): New function.
12067 (inferior-octave-complete): Use it and completion-in-region.
12068 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12069 comint-filename-completion.
12070 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12071 symbol elements which shouldn't be word elements.
12072 (octave-font-lock-keywords, octave-beginning-of-defun)
12073 (octave-function-header-regexp): Adjust regexps accordingly.
12074 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12075
cd22b309
JB
120762011-04-25 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * net/gnutls.el (gnutls-errorp): Declare before first use.
12079
8b492194
TZ
120802011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12081
12082 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12083 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12084 default trustfile exists before going to use it. Add missing
5a5fa834 12085 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12086 Reported by Claudio Bley <claudio.bley@gmail.com>.
12087 (open-gnutls-stream): Add usage example.
12088
12089 * net/network-stream.el (network-stream-open-starttls): Give host
12090 parameter to `gnutls-negotiate'.
12091 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12092 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12093
841a1577 120942011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12095
cd22b309
JB
12096 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12097 Use correct match group (bug#8438).
05842630 12098
3ba7869c
CY
120992011-04-24 Chong Yidong <cyd@stupidchicken.com>
12100
512e3ae1
CY
12101 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12102 (package-menu--generate): New arg specifying packages to show.
12103 (package-menu-refresh, package-menu-execute, list-packages):
12104 Callers changed.
12105 (package-show-package-list): New function, replacing deleted
12106 package--list-packages (renamed because it is non-internal).
12107
12108 * finder.el (finder-list-matches): Use package-show-package-list
12109 instead of deleted package--list-packages.
12110
e92f3bd3
SM
12111 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12112 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12113 (vc-annotate-mode-map): Bind it to RET.
12114
7031be6d
UR
121152011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12116
12117 * progmodes/etags.el (next-file): Don't use set-buffer to change
12118 buffers (Bug#8478).
12119
4ef177aa
CY
121202011-04-24 Chong Yidong <cyd@stupidchicken.com>
12121
c8d173eb
CY
12122 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12123
4ef177aa
CY
12124 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12125 (apropos-accumulator): Doc fix.
12126 (apropos-function, apropos-macro, apropos-command)
12127 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12128 (apropos-plist): Add face property.
12129 (apropos-symbols-internal): Fix indentation.
12130 (apropos-print): Simplify help, and recognize apropos-multi-type.
12131 (apropos-print-doc): Use button-type-get to extract the button's
12132 face property. Fill docstring (Bug#8352).
12133
4ffd0d6b 121342011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12135
12136 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12137
c6c32125 12138 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12139 (mpuz-mode-map): Use mapc.
c6c32125
JB
12140 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12141 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12142 Fix typos in docstrings.
12143
58d468b4
JB
12144 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12145 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12146
6470c3c6
JB
12147 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12148
4ffd0d6b 121492011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12150
12151 * minibuffer.el (completion--do-completion): Avoid the "Next char
12152 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12153
3ad8bad0
CY
12154 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12155 mouse-2 into unread-command-events, it is interpreted correctly.
12156
71d73c9c 12157 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12158 (image-toggle-display): Doc fix.
71d73c9c 12159
841a1577 121602011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12161
4ffd0d6b
GM
12162 * textmodes/page.el (what-page): Use line-number-at-pos to
12163 calculate line number (Bug#6825).
6e1dbaa9 12164
c2fb1b60
JB
121652011-04-22 Juanma Barranquero <lekktu@gmail.com>
12166
12167 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12168 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12169 Pass argument NO-DEFAULT to `find-tag-interactive'.
12170
e02f48d7
JB
121712011-04-22 Juanma Barranquero <lekktu@gmail.com>
12172
12173 Lexical-binding cleanup.
12174
12175 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12176 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12177 * progmodes/ada-prj.el (ada-prj-initialize-values)
12178 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12179 (ada-prj-show-value):
12180 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12181 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12182 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12183 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12184 * progmodes/bug-reference.el (bug-reference-push-button):
12185 * progmodes/fortran.el (fortran-line-length):
12186 * progmodes/glasses.el (glasses-change):
12187 * progmodes/octave-mod.el (octave-fill-paragraph):
12188 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12189 (python-pdbtrack-grub-for-buffer, python-sentinel):
12190 * progmodes/sql.el (sql-save-connection):
12191 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12192 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12193 Mark unused parameters.
12194
12195 * progmodes/compile.el (compilation--flush-directory-cache)
12196 (compilation--flush-parse, compile-internal): Mark unused parameters.
12197 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12198 (compilation-next-error-function): Remove unused variable `timestamp'.
12199
12200 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12201 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12202
12203 * progmodes/dcl-mode.el (dcl-end-of-command):
12204 Remove unused variable `start'.
12205 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12206 (dcl-option-value-basic, dcl-option-value-offset)
12207 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12208 Mark unused parameters.
12209 (dcl-save-local-variable): Remove unused variable `val'.
12210 (mode): Declare.
12211
12212 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12213 Mark unused parameters.
12214 (delphi-ignore-changes): Move before first use.
12215 (delphi-charset-token-at): Remove unused variable `start'.
12216 (delphi-else-start): Remove unused variable `if-count'.
12217 (delphi-comment-block-start, delphi-comment-block-end):
12218 Remove unused variable `kind'.
12219 (delphi-indent-line): Remove unused variable `new-point'.
12220
12221 * progmodes/ebrowse.el (ebrowse-files-list)
12222 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12223 Mark unused parameters. Don't quote `lambda'.
12224 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12225 Don't quote `lambda'.
12226 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12227 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12228 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12229 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12230 Use `ignore-errors'.
12231 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12232 (ebrowse-view/find-file-and-search-pattern)
12233 (ebrowse-view/find-member-declaration/definition):
12234 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12235 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12236 Rename parameter PREFIX-ARG to PREFIX.
12237 (ebrowse-tags-read-name): Remove unused variables `start' and
12238 `member-info'.
12239 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12240 to `tags-file'.
12241
12242 * progmodes/etags.el (local-find-tag-hook): Declare.
12243 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12244 Mark unused parameters.
12245
12246 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12247 (executable-interpret): Mark unused parameter.
12248
12249 * progmodes/flymake.el (flymake-process-sentinel)
12250 (flymake-after-change-function)
12251 (flymake-create-temp-with-folder-structure)
12252 (flymake-get-include-dirs-dot): Mark unused parameters.
12253 (flymake-safe-delete-directory): Remove unused variable `err'.
12254
12255 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12256 (speedbar-timer-fn, speedbar-line-text)
12257 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12258 (speedbar-center-buffer-smartly): Declare functions.
12259 (gdb-find-watch-expression): Remove unused variable `array'.
12260 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12261 (gdb-starting): Mark unused parameters.
12262 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12263 (gdb-table-string): Remove unused variable `res'.
12264 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12265 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12266 (gdb-display-buffer): Remove unused variable `cur-size'.
12267
12268 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12269 allow lexical-binding compilation.
12270 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12271 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12272 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12273 Mark unused parameters.
12274 (gud-gdb-marker-filter): Remove unused variable `match'.
12275 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12276 lambda expressions and funcall them, instead of using `fset'.
12277
12278 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12279 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12280
12281 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12282 variable `header-beg'; use `let'.
12283
12284 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12285 `restart', `last-sexp' and `at-do'.
12286
12287 * progmodes/js.el (js--debug): Mark unused parameter.
12288 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12289 (js--splice-into-items): Remove unused variable `item'.
12290 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12291
12292 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12293 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12294 (makefile-complete): Remove unused variable `try'.
12295 (makefile-fill-paragraph, makefile-match-function-end):
12296 Mark unused parameters.
12297
12298 * progmodes/octave-inf.el (inferior-octave-complete):
12299 Remove unused variable `proc'.
12300 (inferior-octave-output-digest): Mark unused parameter.
12301
12302 * progmodes/perl-mode.el (perl-calculate-indent):
12303 Remove unused variable `err'.
12304
12305 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12306 (prolog-indent-line): Mark unused parameters.
12307 (prolog-indent-line): Remove unused variable `beg'.
12308
12309 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12310 (reporter-dont-compact-list): Declare.
12311
12312 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12313 Remove unused variable `char'.
12314 (sh-debug): Mark unused parameter.
12315 (sh-get-indent-info): Remove unused variable `start'.
12316 (sh-calculate-indent): Remove unused variable `var'.
12317
12318 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12319 (simula-electric-keyword): Remove unused variable `null'.
12320 (simula-search-backward, simula-search-forward): Remove unused
12321 variables `begin' and `end'.
12322
12323 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12324 Remove unused variable `pos'.
12325 (vera-electric-tab, vera-comment-uncomment-region):
12326 Mark unused parameters.
12327 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12328
7ede3b65
CY
123292011-04-22 Chong Yidong <cyd@stupidchicken.com>
12330
12331 * emacs-lisp/package.el (package--builtins, package-alist)
12332 (package-load-descriptor, package-built-in-p, package-activate)
12333 (define-package, package-installed-p)
12334 (package-compute-transaction, package-buffer-info)
12335 (package--push): Doc fix. Distinguish more clearly between
12336 version strings and version lists.
12337
121656e9
JB
123382011-04-21 Juanma Barranquero <lekktu@gmail.com>
12339
12340 Lexical-binding cleanup.
12341
12342 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12343 (5x5-make-mutate-best):
12344 * play/fortune.el (fortune-in-buffer):
12345 * play/gomoku.el (gomoku-init-display):
12346 * play/solitaire.el (solitaire, solitaire-do-check):
12347 * play/tetris.el (tetris-default-update-speed-function):
12348 Mark unused parameters.
12349
12350 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12351 (bubbles--shift): Remove unused variable `char-org'.
12352 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12353 (bubbles--show-images): Remove unused variable `char'.
12354
12355 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12356 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12357 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12358 (decipher-analyze-buffer): Use ?\s.
12359 (decipher-make-checkpoint): Remove unused variable `mapping'.
12360
12361 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12362
12363 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12364 Remove unused variable `result'; use `let'.
12365
12366 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12367 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12368 (gametree-children-shown-p, gametree-compute-reduced-score):
12369 Use `ignore-errors'.
12370
12371 * play/handwrite.el (ps-lpr-switches): Declare.
12372 (handwrite): Remove unused variables `pmin' and `lastp'.
12373
12374 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12375
12376 * play/landmark.el (landmark-init-display)
12377 (landmark-update-naught-weights): Mark unused parameters.
12378 (landmark-y): Remove unused variable `noise'. Simplify.
12379 (landmark-human-plays): Remove unused variable `score'.
12380
12381 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12382 (mpuz-try-proposal): Remove unused variable `game'.
12383
12384 * play/zone.el (life-patterns): Declare.
12385
80f499c7
JB
123862011-04-20 Juanma Barranquero <lekktu@gmail.com>
12387
12388 * vc/vc.el (ediff-vc-internal): Declare function.
12389
024ff170
SM
123902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12391
c0a193ea
SM
12392 * shell.el: Use lexical-binding and std completion UI.
12393 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12394 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12395 comint-preoutput-filter-functions rather than on
12396 comint-output-filter-functions.
12397 (shell-command-completion, shell--command-completion-data)
12398 (shell-filename-completion, shell-environment-variable-completion)
12399 (shell-c-a-p-replace-by-expanded-directory): New functions.
12400 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12401 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12402 (shell-dynamic-complete-environment-variable): Use them.
12403 (shell-dynamic-complete-as-environment-variable)
12404 (shell-dynamic-complete-as-command): Remove.
12405 (shell-match-partial-variable): Match past point.
12406 * comint.el: Clean up use of completion-at-point-functions.
12407 (comint-completion-at-point): New function.
12408 (comint-mode): Use it completion-at-point-functions.
12409 (comint-dynamic-complete): Make it obsolete.
12410 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12411 (comint-c-a-p-replace-by-expanded-history): New function.
12412 (comint-dynamic-complete-functions)
12413 (comint-replace-by-expanded-history): Use it.
12414 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12415 termination strings. Try harder to avoid second try-completion.
12416 (completion-in-region-mode-map): Disable bindings that don't work yet.
12417
2dbaa080
SM
12418 * comint.el: Use lexical-binding. Require CL.
12419 (comint-dynamic-complete-functions): Use comint-filename-completion.
12420 (comint-completion-addsuffix): Tweak custom type.
12421 (comint-filename-completion, comint--common-suffix)
12422 (comint--common-quoted-suffix, comint--table-subvert)
12423 (comint--complete-file-name-data): New functions.
12424 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12425 (comint-dynamic-list-filename-completions): Use them.
12426 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12427
2dbaa080
SM
12428 * minibuffer.el (completion-in-region-mode):
12429 Keep completion-in-region-mode--predicate global.
12430 (completion-in-region--postch):
12431 Assume completion-in-region-mode--predicate is not null.
12432
c79a6f38
SM
12433 * progmodes/flymake.el (flymake-start-syntax-check-process):
12434 Obey `dir'. Simplify.
12435
024ff170
SM
12436 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12437 we're in VC after all.
12438
1c6c854e
CS
124392011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12440
12441 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12442 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12443 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12444
bed7f140
SM
124452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12446
332e62ab
SM
12447 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12448 add sanity check.
12449
bed7f140
SM
12450 * obsolete/erc-hecomplete.el: Make obsolete.
12451 * obsolete/: Standardize obsolescence info in the header.
12452
f195c582
GM
124532011-04-20 Glenn Morris <rgm@gnu.org>
12454
12455 * calendar/solar.el (solar-horizontal-coordinates):
12456 Use the longitude argument rather than `calendar-longitude'.
12457 (solar-date-next-longitude): Remove unused locals.
12458
cb79b8c0
VJL
124592011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12460
12461 * whitespace.el: New version 13.2.1.
12462
124632011-04-20 felix <EmacsWiki> (tiny change)
12464
d8e4b68b 12465 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12466 switching between major modes on a file.
12467
602ea69d
SM
124682011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12471 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12472 multi-line comments as well.
12473
06b60517
JB
124742011-04-19 Juanma Barranquero <lekktu@gmail.com>
12475
12476 Lexical-binding cleanup.
12477
12478 * arc-mode.el (archive-mode-revert):
12479 * cmuscheme.el (scheme-interactively-start-process):
12480 * custom.el (custom-initialize-delay):
12481 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12482 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12483 * emacs-lock.el (emacs-lock-clear-sentinel):
12484 * ezimage.el (defezimage):
12485 * follow.el (follow-avoid-tail-recenter):
12486 * fringe.el (set-fringe-mode-1):
12487 * generic-x.el (bat-generic-mode-compile):
12488 * help-mode.el (help-info-variable, help-do-xref)
12489 (help-mode-revert-buffer):
12490 * help.el (view-emacs-todo):
12491 * iswitchb.el (iswitchb-completion-help):
12492 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12493 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12494 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12495 * locate.el (locate-update):
12496 * longlines.el (longlines-encode-region)
12497 (longlines-after-change-function):
12498 * outline.el (outline-isearch-open-invisible):
12499 * ps-def.el (declare-function, charset-dimension, char-width)
12500 (encode-char):
12501 * ps-mule.el (ps-mule-plot-string):
12502 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12503 (recentf-edit-list-select, recentf-edit-list-validate)
12504 (recentf-open-files-action):
12505 * rect.el (delete-whitespace-rectangle-line)
12506 (rectangle-number-line-callback):
12507 * register.el (window-configuration-to-register)
12508 (frame-configuration-to-register):
12509 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12510 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12511 (xselect-convert-to-targets, xselect-convert-to-delete)
12512 (xselect-convert-to-filename, xselect-convert-to-charpos)
12513 (xselect-convert-to-lineno, xselect-convert-to-colno)
12514 (xselect-convert-to-os, xselect-convert-to-host)
12515 (xselect-convert-to-user, xselect-convert-to-class)
12516 (xselect-convert-to-name, xselect-convert-to-integer)
12517 (xselect-convert-to-atom, xselect-convert-to-identity):
12518 * subr.el (declare, ignore, process-kill-without-query)
12519 (text-clone-maintain):
12520 * terminal.el (te-get-char, te-tic-sentinel):
12521 * tool-bar.el (tool-bar-make-keymap):
12522 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12523 * type-break.el (type-break-mode, type-break-noninteractive-query):
12524 * view.el (View-back-to-mark):
12525 * wid-browse.el (widget-browse-action, widget-browse-widget)
12526 (widget-browse-widgets, widget-browse-sexp):
12527 * widget.el (define-widget-keywords):
12528 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12529 Mark unused parameters.
12530
12531 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12532 (align-areas): Remove unused variable `look'.
12533 (align-region): Remove unused variables `real-end' and `pos-list'.
12534
12535 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12536
12537 * bindings.el (mode-line-modified, mode-line-remote):
12538 Mark unused parameters.
12539 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12540
12541 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12542 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12543
12544 * comint.el (comint-history-isearch-pop-state)
12545 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12546 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12547 (comint-substitute-in-file-name): Doc fix.
12548
12549 * completion.el (cmpl-statistics-block): Mark unused parameter.
12550 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12551 (save-completions-to-file, load-completions-from-file):
12552 Remove unused local variable `e'.
12553
12554 * composite.el (compose-chars): Remove unused variable `len'.
12555 (lgstring-insert-glyph): Remove unused variable `g'.
12556 (compose-glyph-string): Remove unused variables `ascent',
12557 `descent', `lbearing' and `rbearing'.
12558 (compose-glyph-string-relative): Remove unused variables
12559 `lbearing', `rbearing' and `wadjust'.
12560 (compose-gstring-for-graphic): Remove unused variables `header',
12561 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12562 (compose-gstring-for-terminal): Remove unused variables `header'
12563 and `nchars'. Use `let', not `let*'.
12564
12565 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12566 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12567 (Custom-buffer-done, custom-buffer-create-internal)
12568 (custom-browse-visibility-action, custom-browse-group-tag-action)
12569 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12570 (widget-magic-mouse-down-action, custom-toggle-parent)
12571 (custom-add-parent-links, custom-toggle-hide-variable)
12572 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12573 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12574 (custom-face-menu-create, custom-variable-menu-create, get)
12575 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12576 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12577 (customize-apropos): Remove unused variable `tests'.
12578 (custom-group-value-create): Remove unused variable `hidden-p'.
12579 (sort-fold-case): Declare.
12580
12581 * cus-theme.el (custom-reset-standard-faces-list)
12582 (custom-reset-standard-variables-list): Declare.
12583 (customize-create-theme, custom-theme-revert, custom-theme-write)
12584 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12585 Mark unused parameters.
12586
12587 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12588
12589 * delim-col.el (delimit-columns-max): Move defvar before first use.
12590
12591 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12592 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12593
12594 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12595 (auto-insert): Declare.
12596 (desktop-restore-file-buffer): Rename desktop-* parameters;
12597 mark unused ones.
12598 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12599 (desktop-buffer): Rename desktop-* parameters.
12600
12601 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12602 (dframe-reposition-frame-xemacs, dframe-help-echo)
12603 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12604 Mark unused parameters.
12605
12606 * dired-aux.el (backup-extract-version-start, overwrite-query)
12607 (overwrite-backup-query, rename-regexp-query)
12608 (rename-non-directory-query): Declare.
12609 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12610 (dired-add-entry): Remove unused variable `orig-file-name'.
12611 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12612 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12613 `dired-copy-preserve-time' directly.
12614 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12615 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12616
12617 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12618 (dired-virtual-revert, dired-make-relative-symlink):
12619 Mark unused parameters.
12620 (manual-program): Declare.
12621 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12622 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12623 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12624
12625 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12626
12627 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12628
12629 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12630 Declare.
12631
12632 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12633
12634 * electric.el (Electric-command-loop): Rename parameter
12635 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12636
12637 * expand.el (expand-in-literal): Remove unused variable `here'.
12638
12639 * facemenu.el (facemenu-add-new-color):
12640 Remove unused variable `docstring'.
12641
12642 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12643 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12644 (face-attr-construct): Mark unused parameter. Doc fix.
12645 (read-color): Remove unused variable `hex-string'.
12646
12647 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12648 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12649 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12650 (display-buffer-other-frame): Remove unused variable `old-window'.
12651 (kill-buffer-hook): Declare.
12652 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12653 Mark unused parameters.
12654 (after-find-file): Pass 1 to `auto-save-mode', not t.
12655
12656 * files-x.el (auto-insert): Declare.
12657 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12658
12659 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12660 variable `buf'. Mark unused parameter.
06b60517
JB
12661 (find-lisp-insert-directory): Mark unused parameter.
12662
12663 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12664 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12665 (format-common-tail): Remove, unused.
12666 (format-deannotate-region): Remove unused variable `loc'.
12667 (format-annotate-region): Remove unused variable `p'.
12668 (format-annotate-single-property-change): Remove unused variables
12669 `default' and `tail'.
12670
12671 * forms.el (read-file-filter): Declare.
12672 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12673
12674 * frame.el (frame-creation-function-alist): Mark unused parameter.
12675 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12676
12677 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12678 Remove unused parameters.
12679 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12680 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12681
12682 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12683 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12684 (hfy-prepare-tag-map): Mark unused parameters.
12685 (htmlfontify-buffer): Use `called-interactively-p'.
12686
12687 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12688 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12689 (ibuffer-do-occur): Mark unused parameters.
12690 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12691 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12692
12693 * ibuffer.el: Don't quote `lambda'.
12694 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12695 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12696 Mark unused parameters.
12697
12698 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12699 (ido-completing-read): Mark unused parameters.
12700 (ido-copy-current-word): Mark unused parameters;
12701 remove unused variable `name'.
12702 (ido-sort-merged-list): Remove unused parameter `dirs'.
12703
12704 * ielm.el (ielm-input-sender): Mark unused parameter.
12705 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12706 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12707 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12708 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12709 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12710
12711 * image-dired.el (image-dired-display-thumbs): Remove unused
12712 variables `curr-file' and `count'.
12713 (image-dired-remove-tag): Remove unused variable `start'.
12714 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12715 variable `curr-file'
12716 (image-dired-rotate-original): Remove unused variable `temp-file'.
12717 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12718 Remove unused variable `file'.
12719 (image-dired-gallery-generate): Remove unused variable `curr'.
12720 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12721
12722 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12723
12724 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12725
12726 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12727
12728 * isearch.el (minibuffer-history-symbol): Declare.
12729 (isearch-edit-string): Remove unused variable `err'.
12730 (isearch-message-prefix, isearch-message-suffix):
12731 Mark unused parameters.
12732
12733 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12734
12735 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12736
12737 * makesum.el (double-column): Remove unused variable `cnt'.
12738
12739 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12740 (ido-ignore-item-temp-list): Declare.
12741
12742 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12743 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12744 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12745 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12746 `mouse-col-delta'.
12747
12748 * mouse-sel.el (mouse-extend-internal):
12749 Remove unused variable `orig-window-frame'.
12750
12751 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12752 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12753 Move declarations before first use.
12754 (pcomplete-opt): Mark unused parameters; doc fix.
12755
12756 * proced.el (proced-revert): Mark unused parameter.
12757 (proced-send-signal): Remove unused variable `err'.
12758
12759 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12760 Rename parameter PREFIX-ARG to ARG.
12761 (ps-basic-plot-string, ps-basic-plot-whitespace):
12762 Mark unused parameters.
12763
12764 * replace.el (replace-count): Define.
12765 (occur-revert-function): Mark unused parameters.
12766 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12767 (isearch-case-fold-search, isearch-string): Declare.
12768 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12769 bind `case-fold-search'. Remove unused variables `beg' and `end',
12770 and simplify.
12771 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12772 COUNT and bind `replace-count'.
12773 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12774 to COUNT.
12775
12776 * savehist.el (print-readably, print-string-length): Declare.
12777
12778 * shadowfile.el (shadow-expand-cluster-in-file-name):
12779 Remove unused variable `cluster'.
12780 (shadow-copy-file): Remove unused variable `i'.
12781 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12782 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12783 (shadow-define-literal-group, shadow-define-regexp-group)
12784 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12785
12786 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12787 (shell): Use `called-interactively-p'.
12788 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12789
12790 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12791 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12792 (delete-backward-char): Remove unused variable `ocol'.
12793 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12794 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12795 (event-apply-hyper-modifier, event-apply-shift-modifier)
12796 (event-apply-control-modifier, event-apply-meta-modifier):
12797 Mark unused parameters.
12798 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12799 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12800
12801 * speedbar.el (speedbar-ignored-directory-expressions)
12802 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12803 (speedbar-find-file, speedbar-dir-follow)
12804 (speedbar-directory-buttons-follow, speedbar-tag-find)
12805 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12806 (speedbar-buffers-line-directory, speedbar-buffer-click):
12807 Mark unused parameters.
12808 (speedbar-tag-file): Remove unused variable `mode'.
12809 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12810
12811 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12812
12813 * talk.el (talk): Remove unused variable `display'.
12814
12815 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12816 (tar-write-region-annotate): Mark unused parameter.
12817
12818 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12819 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12820 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12821 warning by another.
12822
12823 * time-stamp.el (time-stamp-string-preprocess):
12824 Remove unused variable `require-padding'.
12825
12826 * tree-widget.el (widget-glyph-enable): Declare.
12827 (tree-widget-action): Mark unused parameter.
12828
12829 * w32-fns.el (x-get-selection): Mark unused parameter.
12830 (autoload-make-program, generated-autoload-file): Declare.
12831
12832 * wdired.el (wdired-revert): Mark unused parameters.
12833 (wdired-xcase-word): Remove unused variable `err'.
12834
12835 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12836 (whitespace-help-scroll): Remove unused variable `data-help'.
12837
12838 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12839 (widget-image-insert, widget-after-change, default)
12840 (widget-default-format-handler, widget-default-notify)
12841 (widget-default-prompt-value, widget-info-link-action)
12842 (widget-url-link-action, widget-function-link-action)
12843 (widget-variable-link-action, widget-file-link-action)
12844 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12845 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12846 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12847 (widget-insert-button-action, widget-delete-button-action, visibility)
12848 (widget-documentation-link-action, widget-documentation-string-action)
12849 (widget-const-prompt-value, widget-regexp-match, symbol)
12850 (widget-coding-system-prompt-value)
12851 (widget-key-sequence-value-to-external, sexp)
12852 (widget-sexp-value-to-internal, character, vector, cons)
12853 (widget-choice-prompt-value, widget-boolean-prompt-value)
12854 (widget-color--choose-action): Mark unused parameters.
12855 (widget-item-match-inline, widget-choice-match-inline)
12856 (widget-checklist-match, widget-checklist-match-inline)
12857 (widget-group-match): Rename parameter VALUES to VALS.
12858 (widget-field-value-set): Remove unused variable `size'.
12859 (widget-color-action): Remove unused variables `value' and `start'.
12860
12861 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12862 variable `dir'. Doc fix.
06b60517
JB
12863 (windmove-find-other-window): Don't pass it.
12864
12865 * window.el (count-windows): Mark unused parameter.
12866 (bw-adjust-window): Remove unused variable `err'.
12867
12868 * woman.el (woman-file-name): Remove unused variable `default'.
12869 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12870 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12871 (global-font-lock-mode): Declare.
12872 (woman-decode-region): Mark unused parameter.
12873 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12874
12875 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12876 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12877 (x-dnd-handle-moz-url): Remove unused variable `title'.
12878 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12879
12880 * xml.el (xml-parse-tag, xml-parse-attlist):
12881 Remove unused variable `pos'.
12882
bc4f7f3d
GM
128832011-04-19 Glenn Morris <rgm@gnu.org>
12884
12885 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12886 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12887 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12888 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12889 * calendar/cal-html.el (cal-html-insert-minical):
12890 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12891 (calendar-mark-date-pattern):
12892 Prefix "unused" locals.
12893
12894 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12895 optional argument `style'.
12896
12897 * calendar/appt.el (appt-make-list):
12898 * calendar/cal-china.el (calendar-chinese-date-string):
12899 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12900 (diary-hebrew-yahrzeit):
12901 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12902 * calendar/calendar.el (calendar-generate-window):
12903 * calendar/time-date.el (time-to-days):
12904 Remove unused local variables.
12905
16a43933
CY
129062011-04-18 Chong Yidong <cyd@stupidchicken.com>
12907
12908 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12909 glyphless-char-display table.
12910 (tabulated-list-glyphless-char-display): New var.
12911
7eed1860
SS
129122011-04-18 Sam Steingold <sds@gnu.org>
12913
12914 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12915 to acknowledgments.
12916
4d2d1ccd
GM
129172011-04-17 Glenn Morris <rgm@gnu.org>
12918
12919 * calendar/diary-lib.el (diary-sexp-entry):
12920 * calendar/holidays.el (holiday-sexp):
12921 Set debug-on-error rather than the removed stack-trace-on-error.
12922
239da61d
GM
129232011-04-16 Glenn Morris <rgm@gnu.org>
12924
12925 * progmodes/f90.el: Use lexical-binding.
12926 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12927
8b05752a
SM
129282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12929
daca8ba5
SM
12930 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12931 (mail-mode): Setup mailalias completion here instead.
12932 * mail/mailalias.el: Use lexical-binding.
12933 (pattern, mailalias-done): Declare dynamic.
12934 (mail-completion-at-point-function): New function, from mail-complete.
12935 (mail-complete): Use it.
12936 (mail-completion-expand): New function.
12937 (mail-get-names): Use it.
12938 (mail-directory, mail-directory-process, mail-directory-stream):
12939 Don't use `pattern' for lexically bound arg.
12940
6f542485
SM
12941 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12942
037e7c3f
SM
12943 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12944 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12945 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12946
8b05752a
SM
12947 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12948 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12949 (byte-interactive-p): Define them again, for use when inlining
12950 old code.
12951
49093f60
JB
129522011-04-15 Juanma Barranquero <lekktu@gmail.com>
12953
12954 * loadup.el: Use `string-to-number', not `string-to-int'.
12955
b5b8e7de
SM
129562011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12959 gud-gdb-complete-command.
12960 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12961 (gud-gdb-completion-at-point): New function.
12962 (gud-gdb-completions): Remove.
12963
f42efeb5
MA
129642011-04-14 Michael Albinus <michael.albinus@gmx.de>
12965
49093f60
JB
12966 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12967 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12968 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12969 whether `executable-find' is bound.
f42efeb5
MA
12970
12971 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12972
e240cc21
SM
129732011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * minibuffer.el (completion-in-region-mode-predicate)
12976 (completion-in-region-mode--predicate): New vars.
12977 (completion-in-region, completion-in-region--postch)
12978 (completion-in-region-mode): Use them.
12979 (completion--capf-wrapper): Also return the hook function.
12980 (completion-at-point, completion-help-at-point):
12981 Adjust and provide a predicate.
c2bd2ab0
SM
12982
12983 Preserve arg names for advice of subr and lexical functions (bug#8457).
12984 * help-fns.el (help-function-arglist): Consolidate the subr and
12985 new-byte-code cases. Add argument `preserve-names' to extract names
12986 from the docstring when needed.
12987 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12988 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12989 (ad-arglist): Use help-function-arglist's new arg.
12990 (ad-definition-type): Use cond.
12991
c183f693
JB
129922011-04-13 Juanma Barranquero <lekktu@gmail.com>
12993
06641a47
JB
12994 * autorevert.el (auto-revert-handler):
12995 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12996 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12997 Don't quote lambda.
12998
c183f693
JB
12999 * image-mode.el (image-transform-set-scale):
13000 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13001
1e3b6001
G
130022011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13003
13004 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13005 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13006 Upgrades via gnutls-cli are too slow to be done opportunistically.
13007
2d6af8dd
JB
130082011-04-12 Juanma Barranquero <lekktu@gmail.com>
13009
13010 * dframe.el (dframe-current-frame): Remove spurious quote.
13011
c0749a51
GM
130122011-04-12 Glenn Morris <rgm@gnu.org>
13013
088d0d61
GM
13014 * calendar/cal-tex.el (cal-tex-end-document):
13015 Try to automatically use latin1 input if needed.
13016
c0749a51
GM
13017 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13018 Don't try to cons a mark onto an empty element.
13019
5c90fde0
LL
130202011-04-11 Leo Liu <sdl.web@gmail.com>
13021
13022 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13023 buffers.
13024 (ido-kill-buffer-at-head): Support killing virtual buffers.
13025
369e974d
CY
130262011-04-10 Chong Yidong <cyd@stupidchicken.com>
13027
13028 * minibuffer.el (completion-show-inline-help): New var.
13029 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13030 (minibuffer-force-complete, minibuffer-complete-word):
13031 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13032
13033 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13034 to avoid interference from inline help (Bug#5849).
13035
37f1c930
LL
130362011-04-10 Leo Liu <sdl.web@gmail.com>
13037
099c39a4
JB
13038 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13039 Fix typo.
37f1c930 13040
a32d4040
CY
130412011-04-09 Chong Yidong <cyd@stupidchicken.com>
13042
13043 * image-mode.el (image-toggle-display-image): Signal an error if
13044 not in Image mode.
13045 (image-transform-mode, image-transform-resize)
13046 (image-transform-set-rotation): Doc fix.
daca8ba5 13047 (image-transform-set-resize): Delete.
a32d4040
CY
13048 (image-transform-set-scale, image-transform-fit-to-height)
13049 (image-transform-fit-to-width): Handle image-toggle-display-image
13050 and image-transform-resize directly.
13051
099c39a4 130522011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13053
13054 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13055 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13056 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13057 (doc-view-mode-map): Add bindings for the new functions.
13058
099c39a4 130592011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13060
4d61f28d 13061 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13062 Fix typo in docstring.
13063
3726838a
EZ
130642011-04-08 Eli Zaretskii <eliz@gnu.org>
13065
04f33f1e
EZ
13066 * files.el (file-size-human-readable): Produce one digit after
13067 decimal, like "ls -lh" does.
13068
13069 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13070 the file size representation.
13071
3726838a
EZ
13072 * simple.el (list-processes): If async subprocesses are not
13073 available, error out with a clear error message.
13074
cbb59342
CY
130752011-04-08 Chong Yidong <cyd@stupidchicken.com>
13076
13077 * help.el (help-form-show): New function, to be called from C.
13078 Put help-form output in a buffer named differently than *Help*.
13079
e3971c44
EZ
130802011-04-08 Eli Zaretskii <eliz@gnu.org>
13081
13082 * files.el (file-size-human-readable): New function.
13083
13084 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13085 computing the representation inline. Don't require `cl'.
13086
12544bbe
GM
130872011-04-08 Glenn Morris <rgm@gnu.org>
13088
a1de6c6a
GM
13089 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13090
3c4671f4
GM
13091 * net/browse-url.el (browse-url-firefox):
13092 Test system-type, not system-configuration.
13093
b605679c
GM
13094 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13095 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13096 Use log-edit-empty-buffer-p. (Bug#7598)
13097
56442f0c
GM
13098 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13099 (rlogin-mode-map): Initialize in the defvar.
13100 (rlogin): Use ignore-errors.
13101
12544bbe
GM
13102 * replace.el (occur-mode-map): Some fixes for menu items.
13103
eb237b0f
AH
131042011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13105
13106 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13107
7d668f2c
CY
131082011-04-06 Chong Yidong <cyd@stupidchicken.com>
13109
e67a13ab
CY
13110 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13111 issuing unused warnings.
13112
13113 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13114 macro directly.
13115
7d668f2c
CY
13116 * simple.el: Lisp reimplement of list-processes. Based on an
13117 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13118 (process-menu-mode): New major mode.
13119 (list-processes--refresh, list-processes):
13120 (process-menu-visit-buffer): New functions.
13121
13122 * files.el (save-buffers-kill-emacs): Don't assume any return
13123 value of list-processes, which is undocumented anyway.
13124
a83ec3c9
CY
131252011-04-06 Chong Yidong <cyd@stupidchicken.com>
13126
13127 * emacs-lisp/tabulated-list.el: New file.
13128
e91a96fe
CY
13129 * emacs-lisp/package.el: Use Tabulated List mode.
13130 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13131 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13132 table format using Tabulated List mode variables.
13133 (package--push): New macro, replacing package-list-maybe-add.
13134 (package-menu--generate): Use package--push. Renamed from
13135 package--generate-package-list.
13136 (package-menu-refresh, list-packages): Use it.
daca8ba5 13137 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13138 Return insertion data instead of inserting it directly.
099c39a4
JB
13139 (package-menu-describe-package, package-menu-execute):
13140 Use tabulated-list-get-id.
e91a96fe
CY
13141 (package-menu-mark-delete, package-menu-mark-install)
13142 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13143 (package-menu-mark-obsolete-for-deletion):
13144 Use tabulated-list-put-tag.
e91a96fe
CY
13145 (package--list-packages, package-menu-revert)
13146 (package-menu-get-package, package-menu-get-version)
13147 (package-menu-sort-by-column): Functions deleted.
13148 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13149 (package-menu--status-predicate, package-menu--version-predicate)
13150 (package-menu--name-predicate)
13151 (package-menu--description-predicate): Handle arguments in the
13152 Tabulated List format.
13153 (package-list-packages-no-fetch): Call list-packages.
13154
3e214b50
JB
131552011-04-06 Juanma Barranquero <lekktu@gmail.com>
13156
13157 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13158 (after-find-file): Don't bind it.
3e214b50
JB
13159 (revert-buffer-in-progress-p): New variable.
13160 (revert-buffer): Bind it.
13161 Pass nil for `after-find-file-from-revert-buffer'.
13162
13163 * saveplace.el (save-place-find-file-hook): Use new variable
13164 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13165
3f0f1700
GM
131662011-04-06 Glenn Morris <rgm@gnu.org>
13167
c0274801
GM
13168 * Makefile.in (AUTOGEN_VCS): New variable.
13169 (autoloads): Use $AUTOGEN_VCS.
13170
3f0f1700
GM
13171 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13172 * calendar/calendar.el (calendar-mode-map):
13173 Check for toolkit scroll bars. (Bug#8305)
13174
41ea9e48
CY
131752011-04-05 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * minibuffer.el (completion-in-region--postch)
13178 (completion-in-region-mode): Remove unnecessary messages.
13179
6194c800
JB
131802011-04-05 Juanma Barranquero <lekktu@gmail.com>
13181
33256f14
JB
13182 * font-lock.el (font-lock-refresh-defaults):
13183 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13184 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13185
6194c800
JB
13186 * info.el (Info-directory-list, Info-read-node-name-2)
13187 (Info-split-parameter-string): Doc fixes.
13188 (Info-virtual-nodes): Reflow docstring.
13189 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13190 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13191 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13192 Fix typos in docstrings.
13193 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13194 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13195 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13196 (Info-restore-desktop-buffer): Mark unused parameters.
13197 (Info-directory-find-file, Info-directory-find-node)
13198 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13199 (Info-virtual-index-find-node, Info-apropos-find-file)
13200 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13201 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13202 (Info-virtual-index): Remove unused local variable `nodename'.
13203
b87a8200 132042011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13205
b87a8200
DD
13206 * net/rcirc.el: Update my e-mail address.
13207 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13208
3b2ff876
CY
132092011-04-05 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * startup.el (command-line): Save the cursor's theme-face
13212 directly, instead of using face-override-spec.
13213
13214 * custom.el (load-theme): Minor optimization in assigning faces.
13215
8d17e7ca
JB
132162011-04-04 Juanma Barranquero <lekktu@gmail.com>
13217
13218 * help-fns.el (describe-variable): Complete all variables having
13219 documentation, including keywords.
13220 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13221
2fbc1934
JB
132222011-04-04 Juanma Barranquero <lekktu@gmail.com>
13223
13224 Convert to lexical-binding.
13225
13226 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13227 (bs--get-marked-string, bs--get-modified-string)
13228 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13229 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13230 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13231
13232 * ehelp.el (electric-help-execute-extended)
13233 (electric-help-ctrl-x-prefix):
13234 * hexl.el (hexl-revert-buffer-function):
13235 * linum.el (linum-after-change, linum-after-scroll):
13236 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13237
13238 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13239
74f50695
DU
132402011-04-04 Daiki Ueno <ueno@unixuser.org>
13241
13242 * epa-dired.el:
13243 * epa-mail.el:
13244 * epa-hook.el:
13245 * epa-file.el:
13246 * epa.el:
13247 * epg.el: Use lexical binding.
13248
c11325f7
CY
132492011-04-03 Chong Yidong <cyd@stupidchicken.com>
13250
0d9e9a12
CY
13251 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13252
c11325f7 13253 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13254 dictionary case for flyspell-mark-duplications-exceptions.
13255 Use regexp matching for languages.
c11325f7
CY
13256 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13257 default dictionary (Bug#7926).
13258
da91b5f2
CY
132592011-04-02 Chong Yidong <cyd@stupidchicken.com>
13260
099c39a4
JB
13261 * emacs-lisp/package.el (package--with-work-buffer):
13262 Recognize https URLs.
da91b5f2 13263
099c39a4
JB
13264 * net/network-stream.el: Move from gnus/proto-stream.el.
13265 Change prefix to network-stream throughout.
da91b5f2
CY
13266 (open-protocol-stream): Merge into open-network-stream, leaving
13267 open-protocol-stream as an alias. Handle nil BUFFER args.
13268
13269 * subr.el (open-network-stream): Move to net/network-stream.el.
13270
afa8e9f6
GM
132712011-04-02 Glenn Morris <rgm@gnu.org>
13272
1d2e369d
GM
13273 * find-dired.el (find-exec-terminator): New option.
13274 (find-ls-option): Test for -ls support.
13275 (find-ls-subdir-switches): Test for -b in find-ls-option.
13276 (find-dired, find-grep-dired): Doc fixes.
13277 (find-dired): Use find-exec-terminator.
13278
8abb7da8 13279 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13280 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13281 (find-name-arg): Remove purecopy.
8abb7da8 13282
f3ca7378
GM
13283 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13284 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13285 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13286 accordingly. Don't add the null-device if not needed.
13287
afa8e9f6
GM
13288 * files.el (save-some-buffers): Doc fix.
13289
35eae264
EZ
132902011-04-02 Eli Zaretskii <eliz@gnu.org>
13291
13292 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13293
26b51db5
JB
132942011-04-01 Juanma Barranquero <lekktu@gmail.com>
13295
13296 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13297 Use `dolist' rather than `mapcar'.
13298
7200d79c
SM
132992011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13300
03408648 13301 Add lexical binding.
7200d79c 13302
03408648
SM
13303 * subr.el (apply-partially): Use new closures rather than CL.
13304 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13305 (dolist, dotimes): Use slightly different expansion for lexical code.
13306 (functionp): Move to C.
13307 (letrec): New macro.
13308 (with-wrapper-hook): Use it and apply-partially instead of CL.
13309 (eval-after-load): Preserve lexical-binding.
13310 (save-window-excursion, with-output-to-temp-buffer): Turn them
13311 into macros.
7200d79c 13312
03408648
SM
13313 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13314
13315 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13316 than the arglist.
13317 (help-add-fundoc-usage): Don't add `Not documented'.
13318 (help-function-arglist): Handle closures, subroutines, and new
13319 byte-code-functions.
13320 (help-make-usage): Remove leading underscores.
13321 (describe-function-1): Handle closures.
13322 (describe-variable): Use special-variable-p for completion.
13323
13324 * files.el (lexical-binding): Declare safe.
f488fb65 13325
03408648
SM
13326 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13327 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13328 (pcase): Add `let' pattern.
13329 Change memoization so it actually works.
13330 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13331 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13332 <let>: New case.
f488fb65 13333
03408648
SM
13334 * emacs-lisp/macroexp.el: Use lexical binding.
13335 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13336 Don't convert ' to #' without checking that it's indeed quoting
13337 a lambda.
13338
13339 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13340 Use eval-sexp-add-defvars.
03408648
SM
13341 (eval-sexp-add-defvars): New fun.
13342
13343 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13344
13345 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13346 Don't autoload.
13347 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13348 than the internal `byte-compile-lambda'.
13349 (defmethod): Don't hide code under quotes.
13350 (eieio-defmethod): New `code' argument.
13351
13352 * emacs-lisp/eieio-comp.el: Remove.
13353
13354 * emacs-lisp/edebug.el (edebug-eval-defun)
13355 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13356 (edebug-toggle): Avoid `eval'.
13357
13358 * emacs-lisp/disass.el (disassemble-internal): Handle new
13359 `closure' objects.
13360 (disassemble-1): Handle new byte codes.
13361
13362 * emacs-lisp/cl.el (pushnew): Silence warning.
13363
13364 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13365 (cl-byte-compile-throw): Remove.
13366 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13367
13368 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13369 closures.
13370
13371 * emacs-lisp/cconv.el: New file.
13372
13373 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13374 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13375 (byte-compile-initial-macro-environment):
13376 Handle declare-function here.
13377 (byte-compile--lexical-environment): New var.
13378 (byte-stack-ref, byte-stack-set, byte-discardN)
13379 (byte-discardN-preserve-tos): New lap codes.
13380 (byte-interactive-p): Don't use any more.
13381 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13382 New macros.
13383 (byte-compile-lapcode): Use them and handle new lap codes.
13384 (byte-compile-obsolete): Remove.
13385 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13386 (byte-compile-arglist-warn): Check late def of inlinable funs.
13387 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13388 since they should have been expanded by now.
13389 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13390 (byte-compile-from-buffer): Remove unused second arg.
13391 (byte-compile-preprocess): New function.
13392 (byte-compile-toplevel-file-form): New function to distinguish
13393 file-form calls from outside from file-form calls from hunk-handlers.
13394 (byte-compile-file-form): Simplify.
13395 (byte-compile-file-form-defsubst): Remove.
13396 (byte-compile-file-form-defmumble): Simplify now that
13397 byte-compile-lambda always returns a byte-code-function.
13398 (byte-compile): Preprocess.
13399 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13400 Remove, not used any more.
13401 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13402 (byte-compile-make-args-desc): New funs.
13403 (byte-compile-lambda): Handle lexical functions. Always return
13404 a byte-code-function.
13405 (byte-compile-reserved-constants): New var, to make up room for
13406 closed-over variables.
13407 (byte-compile-constants-vector): Obey it.
13408 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13409 (byte-compile-macroexpand-declare-function): New function.
13410 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13411 byte-code-functions.
13412 (byte-compile-form): Check obsolescence here.
13413 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13414 (byte-compile-variable-ref): Remove.
13415 (byte-compile-dynamic-variable-op): New fun.
13416 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13417 (byte-compile-variable-set): New funs.
13418 (byte-compile-discard): Add 2 args.
13419 (byte-compile-stack-ref, byte-compile-stack-set)
13420 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13421 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13422 macroexpand-all instead.
13423 (byte-compile-quote-form): Remove.
13424 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13425 (byte-compile-bind, byte-compile-unbind): New funs.
13426 (byte-compile-let): Handle let* and lexical binding.
13427 (byte-compile-let*): Remove.
13428 (byte-compile-catch, byte-compile-unwind-protect)
13429 (byte-compile-track-mouse, byte-compile-condition-case):
13430 Handle a new :fun-body form, used for lexical scoping.
13431 (byte-compile-save-window-excursion)
13432 (byte-compile-with-output-to-temp-buffer): Remove.
13433 (byte-compile-defun): Simplify.
13434 (byte-compile-stack-adjustment): New fun.
13435 (byte-compile-out): Use it.
13436 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13437
13438 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13439 handler any more.
13440
13441 * emacs-lisp/byte-opt.el: Use lexical binding.
13442 (byte-inline-lapcode): Remove (to bytecomp).
13443 (byte-compile-inline-expand): Pay attention to inlining to/from
13444 lexically bound code.
13445 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13446 any more.
13447 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13448 any more and don't call compiler-macros.
13449 (byte-compile-splice-in-already-compiled-code): Remove.
13450 (byte-code): Don't inline any more.
13451 (disassemble-offset): Receive `bytes' as argument rather than via
13452 dynamic scoping.
13453 (byte-compile-tag-number): Declare before first use.
13454 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13455 `return' even if make-spliceable.
13456 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13457 obsolete interactive-p.
13458 (byte-optimize-lapcode): Optimize new lap-codes.
13459 Don't trip up on new form of `byte-constant' lap code.
13460
13461 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13462
13463 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13464
13465 * custom.el (custom-initialize-default, custom-declare-variable):
13466 Use `defvar'.
13467
13468 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13469 New variables.
13470 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13471 (COMPILE_FIRST): Add macroexp and cconv.
13472 * makefile.w32-in: Mirror changes in Makefile.in.
13473
13474 * vc/cvs-status.el:
13475 * vc/diff-mode.el:
13476 * vc/log-edit.el:
13477 * vc/log-view.el:
13478 * vc/smerge-mode.el:
13479 * textmodes/bibtex-style.el:
13480 * textmodes/css.el:
13481 * startup.el:
13482 * uniquify.el:
da91b5f2
CY
13483 * minibuffer.el:
13484 * newcomment.el:
13485 * reveal.el:
13486 * server.el:
13487 * mpc.el:
13488 * emacs-lisp/smie.el:
13489 * doc-view.el:
13490 * dired.el:
03408648
SM
13491 * abbrev.el: Use lexical binding.
13492
0f0c1f27
EZ
134932011-04-01 Eli Zaretskii <eliz@gnu.org>
13494
13495 * info.el (info-display-manual): New function.
13496
c82b2579
SM
134972011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13498
13499 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13500
221ddf68
TH
135012011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13502
13503 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13504 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13505
cba6e77e
GM
135062011-03-31 Glenn Morris <rgm@gnu.org>
13507
e040639f
GM
13508 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13509
cba6e77e
GM
13510 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13511
6d0f1c9e
CS
135122011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13513
13514 * progmodes/python.el (python-default-interpreter)
13515 (python-python-command-args, python-jython-command-args)
13516 (python-which-shell, python-which-args, python-which-bufname)
13517 (python-file-queue, python-comint-output-filter-function)
13518 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13519 variables and functions.
13520
3e2d70fd
SM
135212011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13522
13523 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13524 (completion-in-region-mode): New minor mode.
13525 (completion-in-region): Use it.
13526 (completion-in-region--data, completion-in-region-mode-map): New vars.
13527 (completion-in-region--postch): New function.
13528 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13529 New vars.
13530 (completion--capf-wrapper): New function.
13531 (completion-at-point): Use it to track well-behavedness of
13532 hook functions.
13533 (completion-help-at-point): New command.
13534
f3e4086c
JM
135352011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13536
13537 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13538 syntax class to search for whitespace on a single line
13539 (Message-ID: <4D938140.4030905@redhat.com>).
13540
eb7ffc14
LL
135412011-03-30 Leo Liu <sdl.web@gmail.com>
13542
13543 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13544 New commands.
13545 (edit-abbrevs-map): Bind them here.
13546 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13547
d806ab68
KM
135482011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13549
13550 * allout.el (allout-hide-by-annotation, allout-flag-region):
13551 Reduce possibility of overlay leakage by making them volatile.
13552
13553 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13554 hash is not shared between buffers. Mode initialization is
13555 responsible for giving it a useful starting value.
13556 (allout-item-span): Reduce possibility of overlay leakage by
13557 making them volatile.
13558 (allout-widgets-count-buttons-in-region): Add diagnostic function
13559 for tracking down button overlay leaks.
13560
ea622834
LL
135612011-03-29 Leo Liu <sdl.web@gmail.com>
13562
13563 * ido.el (ido-read-internal): Use the default history var
13564 minibuffer-history if no HISTORY is specified.
13565
b62f8267
G
135662011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13567
03408648
SM
13568 * net/imap.el (imap-shell-open, imap-process-connection-type):
13569 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13570 Kerberos, SSL, other subprocesses.
13571
947b6566
LL
135722011-03-28 Leo Liu <sdl.web@gmail.com>
13573
13574 * abbrev.el (abbrev-table-empty-p): New function.
13575 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13576 nonempty ones. (Bug#5937)
13577
5ffb62aa
JD
135782011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13579
13580 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13581
7a097943
LL
135822011-03-27 Leo Liu <sdl.web@gmail.com>
13583
13584 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13585 for foreground and background colors.
13586 (ansi-color-make-color-map): Adapt.
13587
c5b40130
LL
135882011-03-25 Leo Liu <sdl.web@gmail.com>
13589
1f48f7d2
LL
13590 * midnight.el (midnight-time-float): Remove. Note it calculates
13591 the microsecond component incorrectly and seconds-to-time does the
13592 same job.
625897ec 13593 Remove redundant (require 'timer).
1f48f7d2 13594
c5b40130
LL
13595 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13596 (ido-completions): Remove unused arguments. (Bug#8329)
13597
d86d2721
SM
135982011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * minibuffer.el (completion--flush-all-sorted-completions):
13601 Remove itself from hook.
13602 (completion-at-point): Let the functions perform the completion
13603 immediately and return nil or t.
13604 * comint.el (comint-dynamic-complete-functions): Now identical to
13605 completion-at-point-functions.
13606 (comint-dynamic-list-input-ring): Remove unused var `index'.
13607 (comint--match-partial-filename, comint--unquote&expand-filename):
13608 New funs, split from comint-match-partial-filename.
13609 (comint-dynamic-complete): Use completion-at-point.
13610 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13611
e8974c48
DA
136122011-03-24 Drew Adams <drew.adams@oracle.com>
13613
13614 * thingatpt.el: Support `defun'.
13615
def71b5e
LL
136162011-03-23 Leo Liu <sdl.web@gmail.com>
13617
cb5af48e
LL
13618 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13619
def71b5e
LL
13620 * help-mode.el (help-mode-finish): Tweak regexp.
13621
927c53e7
GM
136222011-03-23 Glenn Morris <rgm@gnu.org>
13623
18d05bed
GM
13624 * eshell/esh-opt.el (eshell-eval-using-options):
13625 Do not bind unused local variable `eshell-option-stub'.
13626
927c53e7
GM
13627 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13628
9d0da923
JB
136292011-03-22 Juanma Barranquero <lekktu@gmail.com>
13630
13631 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13632 keymap variable in `with-no-warnings' to avoid a warning when the
13633 keymap has been already `defconst'ed.
13634
4b978a67
LL
136352011-03-22 Leo Liu <sdl.web@gmail.com>
13636
13637 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13638 encode all chars in abbrevs; otherwise use emacs-mule or
13639 utf-8-emacs. (Bug#8308)
13640
5fd62452
JB
136412011-03-22 Juanma Barranquero <lekktu@gmail.com>
13642
0b1596c6
JB
13643 * simple.el (backward-delete-char-untabify):
13644 Avoid warning about using `delete-backward-char'.
13645
5fd62452
JB
13646 * image.el (image-type-file-name-regexps): Make it variable.
13647 `imagemagick-register-types' modifies it, and the user may want
13648 to add new extensions for known image types.
13649 (imagemagick-register-types): Throw error if not using ImageMagick.
13650
0b4e93f1
LL
136512011-03-22 Leo Liu <sdl.web@gmail.com>
13652
13653 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13654 located before rcirc-prompt-end-marker.
13655 (rcirc-complete): Error if point is not after rcirc prompt.
13656 Handle the case when table is nil.
9882e214 13657 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13658
fccee4ab
CY
136592011-03-22 Chong Yidong <cyd@stupidchicken.com>
13660
13661 * custom.el (custom--inhibit-theme-enable): Make it affect only
13662 custom-theme-set-variables and custom-theme-set-faces.
13663 (provide-theme): Ignore custom--inhibit-theme-enable.
13664 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13665 (custom-enabling-themes): Delete variable.
d86d2721
SM
13666 (enable-theme): Accept only loaded themes as arguments.
13667 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13668 (custom-enabled-themes): Forbid themes from setting this.
13669 Eliminate use of custom-enabling-themes.
13670 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13671
af896da6
LL
136722011-03-21 Leo Liu <sdl.web@gmail.com>
13673
13674 * ido.el (ido-read-internal): Add ido-selected to history instead
13675 of user input.
13676
78f64af0
SM
136772011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * subr.el (deferred-action-list, deferred-action-function):
13680 Mark obsolete.
13681
b16ac1ec
LL
136822011-03-21 Leo Liu <sdl.web@gmail.com>
13683
810f7698
LL
13684 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13685 change on 2011-02-13 (bug#8309).
13686
b16ac1ec
LL
13687 * minibuffer.el (read-file-name-function): Change default value.
13688 (read-file-name--defaults): Rename from read-file-name-defaults.
13689 (read-file-name-default): Rename from read-file-name.
13690 (read-file-name): Call read-file-name-function.
13691
4e05e67e
GM
136922011-03-21 Glenn Morris <rgm@gnu.org>
13693
13694 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13695 Doc fixes.
13696
4359915b
CY
136972011-03-21 Chong Yidong <cyd@stupidchicken.com>
13698
13699 * cus-theme.el: Add missing provide statement.
13700 (customize-create-theme): Extract theme value correctly.
13701 (custom-theme-visit-theme): Autoload.
13702 (customize-create-theme): Prompt before inserting default faces.
13703
1fe275ee
JB
137042011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13705
13706 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13707 units and musical notes.
13708
cd394be1 137092011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13710
13711 * ido.el (ido-read-internal): Use completing-read-default.
13712 (ido-completing-read): Fix compatibility with completing-read.
13713
7d476bde
CO
137142011-03-20 Christian Ohler <ohler@gnu.org>
13715
13716 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13717 (ert-delete-all-tests): Use `called-interactively-p' rather than
13718 `interactive-p'.
13719 (ert--make-xrefs-region): Respect END.
13720
fe0fb33e
CY
137212011-03-19 Chong Yidong <cyd@stupidchicken.com>
13722
ff854b0b
CY
13723 * dired-aux.el (dired-create-directory): Signal an error if the
13724 directory already exists (Bug#8246).
13725
fe0fb33e
CY
13726 * facemenu.el (list-colors-display): Call list-faces-display
13727 inside with-help-window.
13728 (list-colors-print): Use display property to align the final
13729 column, instead of checking window-width.
13730
576bce32
EZ
137312011-03-19 Eli Zaretskii <eliz@gnu.org>
13732
4d61f28d 13733 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13734 windows-nt systems.
13735 (emerge-protect-metachars): Quote correctly for ms-dos and
13736 windows-nt systems.
13737
89c41d68 137382011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13739
13740 * info.el (info-initialize): Replace all uses of `:' with
13741 path-separator for compatibility with non-Unix systems.
13742 Cache quoting of path-separator. (Bug#8258)
13743
b14e3e21 137442011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13745
13746 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13747 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13748 (mouse-avoidance-mode): Fix typos in docstrings.
13749
4525ce3e
CY
137502011-03-19 Chong Yidong <cyd@stupidchicken.com>
13751
13752 * startup.el (package-subdirectory-regexp): Move from package.el.
13753 Omit \\` and \\', and let callers add them.
13754
13755 * emacs-lisp/package.el (package-strip-version)
13756 (package-load-all-descriptors): Add \\` and \\' to
13757 package-subdirectory-regexp before using it.
13758 (package-untar-buffer): New arg DIR; ensure that file untars only
13759 into this expected directory. Remove superfluous delete-region.
13760 (package-unpack): Caller changed.
13761 (package-tar-file-info): Use package-subdirectory-regexp.
13762
a904a09a 137632011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13764
a904a09a
SM
13765 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13766 diff-mode-shared-map (bug#8284).
13767 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13768
137692011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13770
13771 * calendar/time-date.el (format-seconds): Use assoc instead of
13772 assoc-string, since assoc-string doesn't exist in XEmacs.
13773
171fc304
JB
137742011-03-17 Juanma Barranquero <lekktu@gmail.com>
13775
13776 * custom.el (custom-known-themes): Reflow docstring.
13777 (custom-theme-load-path): Fix typo in docstring.
13778 (load-theme): Fix typo in error message.
13779 (custom-available-themes, custom-variable-theme-value):
13780 Use `let', not `let*'.
13781
d71990a1
JB
137822011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13783
13784 * calc/README: Mention inclusion of musical notes.
13785
13786 * calc/calc-units.el (calc-lu-quant): Rename from
13787 `calc-logunits-quantity'.
13788 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13789 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13790 (calc-db): Rename from `calc-dblevel'.
13791 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13792 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13793 (calc-np): Rename from `calc-nplevel'.
13794 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13795 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13796 (calc-lu-plus): Rename from `calc-logunits-add'.
13797 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13798 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13799 (calc-lu-minus): Rename from `calc-logunits-sub'.
13800 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13801 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13802 (calc-lu-times): Rename from `calc-logunits-mul'.
13803 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13804 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13805 (calc-lu-divide): Rename from `calc-logunits-div'.
13806 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13807 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13808
13809 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13810 functions being autoloaded.
13811
13812 * calc/calc.el (calc-lu-power-reference): Rename from
13813 `calc-logunits-power-reference'.
13814 (calc-lu-field-reference): Rename from
13815 `calc-logunits-field-reference'.
13816
7a71b18d
GM
13817 * calc/calc-help.el (calc-l-prefix-help):
13818 Mention musical note functions.
d71990a1 13819
40c2934b
SM
138202011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * minibuffer.el (completion-all-sorted-completions):
13823 Use :completion-cycle-penalty text property if present.
13824
b0911414
KM
138252011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13826
13827 * allout.el (allout-yank-processing): Adjust for new rebulleting
13828 regime so bullet being yanked is used without prompting the user
13829 for a choice.
13830
8a05b668
JB
138312011-03-16 Juanma Barranquero <lekktu@gmail.com>
13832
13833 * startup.el (command-line): Warn the user that _emacs is deprecated.
13834
5ba5fb81
JB
138352011-03-16 Juanma Barranquero <lekktu@gmail.com>
13836
13837 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13838 (delphi-verbose, delphi-comment-face, delphi-string-face)
13839 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13840 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13841 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13842 (delphi-new-comment-line, delphi-font-lock-defaults)
13843 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13844 Fix typos in docstrings.
13845
2dab465b
KM
138462011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13847
5ba5fb81 13848 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13849 Invert the roles of character and string values for INSTEAD, so a
13850 string is used for the more common case of a defaulting prompt.
13851
0adf5618
SM
138522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * progmodes/ruby-mode.el (ruby-backward-sexp):
13855 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13856 * play/gamegrid.el (gamegrid-make-face):
13857 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13858 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13859 * notifications.el (notifications-notify):
13860 * net/xesam.el (xesam-search-engines):
13861 * net/quickurl.el (quickurl-list-insert):
13862 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13863
d72700e5
CY
138642011-03-15 Chong Yidong <cyd@stupidchicken.com>
13865
13866 * startup.el (command-line): Update package subdirectory regexp.
13867
49c5410a
SM
138682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13869
c6eee9aa
SM
13870 * allout.el (allout-abbreviate-flattened-numbering)
13871 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13872
49c5410a
SM
13873 * subr.el (read-char-choice): Only show the cursor after the prompt,
13874 not after the answer.
13875
047b2bb9
KR
138762011-03-15 Kevin Ryde <user42@zip.com.au>
13877
13878 * help-fns.el (variable-at-point): Skip leading quotes, if any
13879 (bug#8253).
13880
0a57d256
SM
138812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13884 warning message.
13885
77c992bc
MA
138862011-03-14 Michael Albinus <michael.albinus@gmx.de>
13887
13888 * shell.el (shell): When called interactively, offer to change the
13889 shell file name on remote hosts.
13890
eebc475d
TZ
138912011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13892
13893 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13894 integration for LDAP parameters. The host, base, user or binddn,
13895 and secret tokens can be specified in a netrc file, for instance.
13896 This is optional because an `auth-source' parameter must be
13897 specified in the search attributes.
13898
9d05d1ba
JB
138992011-03-13 Juanma Barranquero <lekktu@gmail.com>
13900
13901 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13902
09d9db2c
GM
139032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13906 into declaration. Remove redundant and harmful binding.
13907
139082011-03-12 Eli Zaretskii <eliz@gnu.org>
13909
13910 * files.el (file-ownership-preserved-p): Pass `integer' as an
13911 explicit 2nd argument to `file-attributes'. If the file's owner
13912 is the Administrators group on Windows, and the current user is
13913 Administrator, consider that a match.
13914
13915 * server.el (server-ensure-safe-dir): Consider server directory
13916 safe on MS-Windows if its owner is the Administrators group while
13917 the current Emacs user is Administrator. Use `=' to compare
13918 numerical UIDs, since they could be integers or floats.
13919
219bd536
JB
139202011-03-12 Juanma Barranquero <lekktu@gmail.com>
13921
13922 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13923
f3afd36b
MA
139242011-03-12 Michael Albinus <michael.albinus@gmx.de>
13925
13926 Sync with Tramp 2.2.1.
13927
13928 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13929
13930 * net/trampver.el: Update release number.
13931
3aaaa6f1
SM
139322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13933
94642599
SM
13934 * progmodes/compile.el (compilation--previous-directory): Fix up
13935 various nil/dead-marker mismatches (bug#8014).
13936 (compilation-directory-properties, compilation-error-properties):
13937 Don't call it at a position past the one we're about to change.
13938
3aaaa6f1
SM
13939 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13940 Disable obsolescence warnings in the file that declares it.
13941
14239447
KM
139422011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13943
099c39a4
JB
13944 * allout-widgets.el (allout-widgets-tally):
13945 Initialize allout-widgets-tally as a hash table rather than nil to
13946 prevent mode-line redisplay warnings. Also, clarify the module
13947 description and fix a comment typo.
14239447 13948
135e287c
JB
139492011-03-11 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * help-fns.el (describe-variable): Don't complete keywords.
13952 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13953
ffbf300e
CY
139542011-03-10 Chong Yidong <cyd@stupidchicken.com>
13955
ba08b241
CY
13956 * emacs-lisp/package.el (package-version-join): Impose a standard
13957 string representation for pre/alpha/beta version lists.
13958 (package-unpack-single): Standardize the directory name by passing
13959 it through package-version-join.
13960 (package-strip-rcs-id): Accept any version string that does not
13961 signal an error in version-to-list.
ffbf300e 13962
f346fd6b
MA
139632011-03-10 Michael Albinus <michael.albinus@gmx.de>
13964
13965 * simple.el (delete-trailing-whitespace): Return nil for the
13966 benefit of `write-file-functions'.
13967
ccb55d27
GM
139682011-03-10 Glenn Morris <rgm@gnu.org>
13969
5ceaac0c
GM
13970 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13971
02da65ff
GM
13972 * vc/vc-git.el (vc-git-program): New option.
13973 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13974 (vc-git--call): Use it.
13975
b2f603cc
GM
13976 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13977
5772caab
GM
13978 * cus-edit.el (Custom-newline): If no button at point, look
13979 for a subgroup button at start-of-line. (Bug#2298)
13980
ccb55d27
GM
13981 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13982
ec6ecaed
JD
139832011-03-10 Julien Danjou <julien@danjou.info>
13984
13985 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13986 `cursor-type' is nil.
13987
9d5aa01d
JB
139882011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13989
13990 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13991
b6a5875b
KM
139922011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13993
7a71b18d 13994 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13995 preserves the existing header prefix, rebulleting it if necessary,
13996 rather than replacing it. This is necessary for proper operation
13997 of cooperative addons like allout-widgets.
1154d12e
JB
13998 (allout-make-topic-prefix, allout-rebullet-heading):
13999 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14000 value as alternate bullet to be used, instead of prompting the user
14001 for a bullet character.
b6a5875b 14002
ee545c35
MA
140032011-03-09 Michael Albinus <michael.albinus@gmx.de>
14004
d86d2721
SM
14005 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14006 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14007 `tramp-default-port'.
14008
c47971d7
DD
140092011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14010
14011 * net/rcirc.el (rcirc-handler-001): Remove useless
14012 with-rcirc-process-buffer.
14013 (rcirc-check-auth-status): Swap arguments to string-match.
14014
13522cb4
GM
140152011-03-09 Glenn Morris <rgm@gnu.org>
14016
0be6f4f1
GM
14017 * shell.el (shell-mode):
14018 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14019
13522cb4
GM
14020 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14021 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14022
515de2e3
CY
140232011-03-08 Chong Yidong <cyd@stupidchicken.com>
14024
14025 * emacs-lisp/package.el (package-refresh-contents)
14026 (package-menu-execute): Use condition-case-no-debug.
14027
b511b994
MA
140282011-03-08 Michael Albinus <michael.albinus@gmx.de>
14029
14030 * simple.el (shell-command-to-string): Use `process-file'.
14031
14032 * emacs-lisp/package.el (package-tar-file-info): Handle also
14033 remote files.
14034
d86d2721
SM
14035 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14036 Use `equal' for upload base check.
b511b994 14037
25bbfb31
AM
140382011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14039
14040 * textmodes/texinfo.el (texinfo-environments):
14041 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14042
be996521
GM
140432011-03-08 Glenn Morris <rgm@gnu.org>
14044
e9c8529f
GM
14045 * cus-start.el (cursor-in-non-selected-windows):
14046 Fix :set quoting oddness. (Bug#8192)
14047
be996521
GM
14048 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14049 in some setf expressions. (Bug#2159)
14050
2bb5649e
CY
140512011-03-08 Chong Yidong <cyd@stupidchicken.com>
14052
14053 * custom.el (custom-available-themes): Return themes in
14054 alphabetical order.
14055
33383987 14056See ChangeLog.15 for earlier changes.
e3d51b27
MR
14057
14058;; Local Variables:
14059;; coding: utf-8
e3d51b27
MR
14060;; End:
14061
acaf905b 14062 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14063
14064 This file is part of GNU Emacs.
14065
14066 GNU Emacs is free software: you can redistribute it and/or modify
14067 it under the terms of the GNU General Public License as published by
14068 the Free Software Foundation, either version 3 of the License, or
14069 (at your option) any later version.
14070
14071 GNU Emacs is distributed in the hope that it will be useful,
14072 but WITHOUT ANY WARRANTY; without even the implied warranty of
14073 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14074 GNU General Public License for more details.
14075
14076 You should have received a copy of the GNU General Public License
14077 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.