Don't mess with INFOPATH in ns builds
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
04188bb9
GM
12012-05-26 Glenn Morris <rgm@gnu.org>
2
eb7afdad
GM
3 * paths.el (Info-default-directory-list):
4 * info.el (info-initialize): For self-contained NS builds, put the
5 included info/ directory at the front. (Bug#2791)
6
04188bb9
GM
7 * paths.el (Info-default-directory-list): Make it a defcustom,
8 mainly so that we can use custom-initialize-delay.
9
a179e3f7
SM
102012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11
43416392
SM
12 * subr.el (buffer-has-markers-at): Mark obsolete.
13
a179e3f7 14 * subr.el (lambda): Use declare.
43416392 15
a179e3f7
SM
16 * emacs-lisp/lisp-mode.el (lambda):
17 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
18
34a008d9
AH
192012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20
21 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
22
0a3b289f
GM
232012-05-26 Glenn Morris <rgm@gnu.org>
24
25 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
26
758c81e8
GM
272012-05-25 Glenn Morris <rgm@gnu.org>
28
f9f334f0
GM
29 * paths.el: Remove no-byte-compile.
30 * loadup.el: No need to load paths.el uncompiled.
31
87eb79c2
GM
32 * image.el (imagemagick-types-inhibit): Doc fix.
33
758c81e8
GM
34 * version.el: Remove no-byte-compile and associated formatting.
35 * loadup.el: No need to load version.el uncompiled. AFAICS, this
36 is ancient code from when there was an "inc-vers.el".
37
e7e85dc0
SM
382012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * progmodes/gdb-mi.el: Minor style changes.
41 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
42 Turn into minor modes.
43 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
44 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
45 (gdb-shell): Remove unneeded let-binding.
46 (gdb-get-many-fields): Eliminate O(n²) behavior.
47
f31237a4
EZ
482012-05-25 Eli Zaretskii <eliz@gnu.org>
49
50 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
51 platforms that don't link in fontset.c.
52
bc1b21bb
JL
532012-05-25 Juri Linkov <juri@jurta.org>
54
55 Use the same diff color scheme as in modern VCSes (bug#10181).
56
57 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
58 to avoid confusion with `diff-added' that now uses green colors.
59 (diff-removed): Use shades of red.
60 (diff-added): Use shades of green.
61 (diff-changed): Leave just the yellow color.
62 (diff-use-changed-face): New variable.
63 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
64 how to highlight context diff changes.
65 (diff-refine-change): Use shades of yellow.
66 (diff-refine-removed): New face that uses shades of red.
67 (diff-refine-added): New face that uses shades of green.
68 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
69 `diff-refine-removed' in the call to `smerge-refine-subst'
70 depending on the value of `diff-use-changed-face'.
71
72 * vc/smerge-mode.el (smerge-mine): Use shades of red.
73 (smerge-other): Use shades of green.
74 (smerge-base): Use shades of yellow.
75 (smerge-refined-change): Empty face.
76 (smerge-refined-removed): New face that uses shades of red.
77 (smerge-refined-added): New face that uses shades of green.
78 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
79 args `props-r' and `props-a', and use them. Doc fix.
80 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
81 on its value use different faces `smerge-refined-change',
82 `smerge-refined-removed', `smerge-refined-added' in the call to
83 `smerge-refine-subst'.
84
85 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
86 Add face condition `min-colors 88' with shades of red.
87 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
88 `min-colors 88' with shades of green.
89 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
90 `min-colors 88' with shades of yellow.
91
6df9112c
GM
922012-05-24 Glenn Morris <rgm@gnu.org>
93
ead5edc0
GM
94 * paths.el (prune-directory-list, remote-shell-program): Move to...
95 * files.el (prune-directory-list, remote-shell-program): ...here.
96 For the latter, delay initialization, prefer ssh, just search PATH.
97
f18b81e6
GM
98 * paths.el (term-file-prefix): Move to faces.el (the only user).
99 * faces.el (term-file-prefix): Move here, make it a defcustom.
100
ee2f89a6
GM
101 * paths.el (news-directory, news-path, news-inews-program):
102 Move to gnus/nnspool.el.
61a583ca 103
f8815e4c
GM
104 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
105
c8f3b42c
GM
106 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
107 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
108 Make the latter a defcustom, with a delayed initialization.
109
6df9112c
GM
110 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
111 These were deleted from Gnus itself late 2010.
112
5dadff36
JB
1132012-05-22 Juanma Barranquero <lekktu@gmail.com>
114
9e1701c6
JB
115 * progmodes/which-func.el (which-func-ff-hook):
116 Check against user-error, not error.
117
bd7239f5 118 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
119 cl-specs.el, which no longer exists.
120
3290526d
GM
1212012-05-22 Glenn Morris <rgm@gnu.org>
122
123 * info.el (info-emacs-bug): New command.
124 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
125 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
126
ff0c3cfb
GM
1272012-05-21 Glenn Morris <rgm@gnu.org>
128
129 * makefile.w32-in (update-subdirs-SH):
130 * Makefile.in (update-subdirs): Update for moved update-subdirs.
131
5814f126
SM
1322012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
133
a52c0aa0
SM
134 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
135
5814f126
SM
136 * progmodes/compile.el (compilation-error-regexp-alist-alist):
137 Simplify Maven regexp, and make sure the file can't start with a space
138 (bug#11517).
139
b847032c
GM
1402012-05-21 Glenn Morris <rgm@gnu.org>
141
142 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
143 Scrap superfluous subshells.
144
3858bfe7
SM
1452012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
148 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
149
d14b0029
JB
1502012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
151
152 * calc/calc.el (calc-ensure-consistent-units): New variable.
153
a52c0aa0
SM
154 * calc/calc-units.el (math-consistent-units-p)
155 (math-check-unit-consistency): New functions.
156 (calc-quick-units, calc-convert-units):
157 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
158 is non-nil.
d14b0029
JB
159 (calc-extract-units): Fix typo.
160
60c4db3a
SM
1612012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
162
77f3b62e
SM
163 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
164
60c4db3a
SM
165 * textmodes/flyspell.el: Commenting style, plus code simplifications.
166 (flyspell-default-deplacement-commands): Don't spell check after
167 repeated window/frame switches (e.g. triggered by mouse-movement).
168 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
169 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
170 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
171 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
172 Remove unused vars.
173 (flyspell-get-casechars, flyspell-get-not-casechars):
174 Simplify; Don't bother removing a ] just to add it back.
175 * textmodes/ispell.el (ispell-program-name): Use executable-find.
176
b1a10716
RS
1772012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
178
179 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
180 New functions.
bd7239f5 181 (math-function-table): Add support for more C functions.
b1a10716 182
3f1b25b5
AM
1832012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
184
185 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
186 (flyspell-debug-signal-word-checked): Protect delay handling for
187 otherchars against empty otherchars.
188
b581bb5c
SM
1892012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
192 their respective macro declarations.
193 * skeleton.el (define-skeleton):
194 * progmodes/compile.el (define-compilation-mode):
195 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
196 (define-ibuffer-filter):
197 * emacs-lisp/generic.el (define-generic-mode):
198 * emacs-lisp/easy-mmode.el (define-minor-mode)
199 (define-globalized-minor-mode):
200 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
201 * emacs-lisp/byte-run.el (defsubst):
202 * custom.el (deftheme): Add doc-string metadata.
203
70b8ef8f
SM
2042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
207
b1198e17
SM
2082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
209
9abdc45d
SM
210 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
211
b1198e17
SM
212 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
213 * emacs-lisp/cl-macs.el: Idem.
214 * emacs-lisp/cl-specs.el: Remove.
215
4735906a
SM
2162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 Minor renaming of internal CL functions and variables.
219 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
220 (cl--position): Rename from cl-position.
221 (cl--delete-duplicates): Rename from cl-delete-duplicates.
222 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
223 (cl--random-state): Rename from *random-state*.
224
ac348012
SM
2252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
228 parens around the arg list (bug#11499).
229
a0a79cde
JL
2302012-05-17 Juri Linkov <juri@jurta.org>
231
232 * isearch.el (word-search-regexp, word-search-backward)
233 (word-search-forward, word-search-backward-lax)
234 (word-search-forward-lax): Move functions from search.c
235 (bug#10145, bug#11381).
236
65034a51
AM
2372012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
238
239 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
240 (flyspell-debug-signal-word-checked): Delay for otherchars as for
241 normal word components.
242
1a72a195
SM
2432012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * minibuffer.el (completion--sifn-requote): Fix last change.
246 (minibuffer-local-must-match-filename-map):
247 Move define-obsolete-variable-alias before its var.
248
fdb058c2
SM
2492012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
250
c41045e6
SM
251 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
252
036dfb8b
SM
253 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
254 behavior.
255 (completion--string-equal-p): New function.
256 (completion--twq-all): Use it to get better assertion failure data.
257
2473256d
SM
258 Only handle ".." and '..' quoting in shell-mode (bug#11466).
259 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
260 (shell--requote-argument): New functions.
261 (shell-completion-vars): Use them.
262 (shell--parse-pcomplete-arguments): Rename from
263 shell-parse-pcomplete-arguments.
264 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
265 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
266 Obey comint-file-name-quote-list.
267
fdb058c2
SM
268 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
269 (smie-indent-keyword): Use it.
270
51fa99f1
SM
2712012-05-14 Stefan Merten <smerten@oekonux.de>
272
273 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
274
e18afed7 2752012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
276
277 * net/rlogin.el (rlogin-mode-map): Fix last change.
278
e18afed7 2792012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
280
281 * mail/smtpmail.el (smtpmail-send-command): Send the command and
282 the following \r\n using a single `process-send-string', since the
283 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 284 with two `process-send-string's (Bug#11444).
8633b1f4 285
e18afed7 2862012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 287
fdb058c2
SM
288 * shell.el (shell-parse-pcomplete-arguments):
289 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 290
2d21d7f6
WJ
2912012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
292
e18afed7 293 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
294 (image-transform-scale, image-transform-right-angle-fudge): New vars.
295 (image-transform-width, image-transform-fit-width): New functions.
296 (image-transform-properties): Use them.
297 (image-transform-check-size): New function.
298 (image-toggle-display-image): Use it (for testing).
299 (image-transform-set-rotation): Reduce angle mod 360.
300 Delete obsolete comment.
301
7102e6d0
WJ
3022012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
303
304 * image-mode.el: Fix scaling (bug#11399).
305 (image-transform-resize): Doc fix.
306 (image-transform-properties): Default scale is 1 and height should
307 be an integer.
308
06bc5e6e
SM
3092012-05-13 Johan Bockgård <bojohan@gnu.org>
310
311 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
312 than hard-coding `car', to fix misbehavior when moving forward.
313
0ae03b6a
CY
3142012-05-13 Chong Yidong <cyd@gnu.org>
315
316 * emacs-lisp/tabulated-list.el (tabulated-list-format)
317 (tabulated-list-entries, tabulated-list-padding)
318 (tabulated-list-sort-key): Make permanent-local.
319
320 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
321 (electric-buffer-list): Put electric buffer menu
322 command descriptions in this docstring, instead of the docstring
323 of electric-buffer-menu-mode. Code cleanups.
324 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
325 Electric-buffer-menu-mode.
326 (electric-buffer-update-highlight): Minor code cleanup.
327
205a7391
MA
3282012-05-13 Michael Albinus <michael.albinus@gmx.de>
329
330 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
331 (Bug#11447)
332
e5bd0a28
SM
3332012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 Move define-obsolete-variable-alias before the var's definition.
336 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
337 * tooltip.el (tooltip-hook):
338 * textmodes/reftex-toc.el (reftex-toc-map):
339 * textmodes/reftex-sel.el (reftex-select-label-map)
340 (reftex-select-bib-map):
341 * textmodes/reftex-index.el (reftex-index-map)
342 (reftex-index-phrases-map):
343 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
344 * progmodes/meta-mode.el (meta-mode-map):
345 * novice.el (disabled-command-hook):
346 * loadhist.el (unload-hook-features-list):
347 * frame.el (blink-cursor):
348 * files.el (find-file-not-found-hooks, write-file-hooks)
349 (write-contents-hooks):
350 * emulation/tpu-edt.el (GOLD-map):
351 * emacs-lock.el (emacs-lock-from-exiting):
352 * emacs-lisp/generic.el (generic-font-lock-defaults):
353 * emacs-lisp/chart.el (chart-map):
354 * dos-fns.el (register-name-alist):
355 * dired-x.el (dired-omit-files-p):
356 * desktop.el (desktop-enable):
357 * cus-edit.el (custom-mode-hook):
358 * buff-menu.el (buffer-menu-mode-hook):
359 * bookmark.el (bookmark-read-annotation-text-func)
360 (bookmark-exit-hooks):
361 * allout.el (allout-mode-deactivate-hook)
362 (allout-exposure-change-hook, allout-structure-added-hook)
363 (allout-structure-deleted-hook, allout-structure-shifted-hook):
364 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
365 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
366 comes before the corresponding variable's definition.
367
ac59c2f6
CY
3682012-05-12 Chong Yidong <cyd@gnu.org>
369
370 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
371 (Buffer-menu-mouse-select): Restore function (Bug#11459).
372 (Buffer-menu-mode-map): Bind it.
373 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 374
dee6c9a3
SM
3752012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
376
2171cea5
SM
377 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
378 (prolog-upper-case-string, prolog-lower-case-string)
379 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
380 (prolog-use-smie, prolog-smie-grammar): New vars.
381 (prolog-smie-forward-token, prolog-smie-backward-token)
382 (prolog-smie-rules): New funs.
383 (prolog-comment-indent): Remove.
384 (prolog-mode-variables): Use default comment indentation instead.
385 Setup SMIE.
386 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
387 (prolog-mode): Don't call them any more.
388 (prolog-electric-colon, prolog-electric-dash)
389 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
390
aa0382bd
SM
391 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
392
dbacb4bd
SM
393 * minibuffer.el (completion--twq-all): Again, allow case differences.
394
13bdd94c
SM
395 * term.el: Move keymap initialization code to be more idiomatic.
396 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
397 (term-terminal-menu): Move initialization into declaration.
398 (term-escape-char): Let the user set it in her .emacs.
399
ff46c759
SM
400 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
401 Provide SMIE-based indentation (not enabled by default yet).
402 (sh-mode-map): Don't bind electric keys.
403 Use electric-pair-mode instead of skeleton-pair.
404 (sh-assignment-regexp): Fit within 80 columns.
405 (sh-indent-supported): Specify actual shell name instead of boolean.
406 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
407 (sh-maybe-here-document): Use it. Make obsolete.
408 (sh-electric-here-document-mode) New minor mode.
409 (sh-mode): Use it. Don't set sh-indent-supported-here here.
410 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
411 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
412 (sh-smie-rc-grammar, sh-use-smie): New vars.
413 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
414 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
415 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
416 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
417 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
418 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
419 (sh-set-shell): Use smie-setup if requested.
420
dee6c9a3
SM
421 * term.el (term-set-escape-char): Properly set term-escape-char.
422 See http://stackoverflow.com/questions/10524656.
423
9f9aa044
CY
4242012-05-10 Chong Yidong <cyd@gnu.org>
425
426 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
427 Use url-generic-parse-url, and handle host names and Windows
428 filenames properly.
429 (ffap-url-unwrap-remote): Use url-generic-parse-url.
430 (ffap-url-unwrap-remote): Accept list values, specifying a list of
431 URL schemes to work on.
432 (ffap--toggle-read-only): New function.
433 (ffap-read-only, ffap-read-only-other-window)
434 (ffap-read-only-other-frame): Use it.
435 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
436 necessary for ffap-url-unwrap-remote.
437
836d29b3
DA
4382012-05-10 Dave Abrahams <dave@boostpro.com>
439
440 * cus-start.el (create-lockfiles): Add it.
441
00fd78ed
CY
4422012-05-09 Chong Yidong <cyd@gnu.org>
443
444 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
445 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
446
666b903b 4472012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
448
449 * shell.el (shell-completion-vars): Fix last change (bug#11348).
450
666b903b 4512012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
452
453 * ansi-color.el (ansi-color-process-output): Check for validity of
454 comint-last-output-start before using it. This avoids a bad
455 interaction with gdb-mi's input/output buffer.
456
666b903b 4572012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
458
459 * files.el (dir-locals-read-from-file):
460 Mention dir-locals in any error message.
461
666b903b 4622012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
463
464 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
465 package (Bug#11410).
466
f677562b
CY
467 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
468 variables into description.
469
666b903b 4702012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
471
472 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
473 shell-delimiter-argument-list (bug#11348).
474 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
475
b499d8d0
JB
4762012-05-09 Juanma Barranquero <lekktu@gmail.com>
477
8f6b6da8
JB
478 * textmodes/rst.el: Silence byte-compiler warnings.
479 (rst-re-alist, rst-reset-section-caches): Move around.
480 (rst-re): Use `characterp', not `char-valid-p'.
481 (font-lock-beg, font-lock-end): Declare.
482
4824146a
JB
483 * progmodes/idlw-shell.el (specs): Remove reference to deleted
484 variable `idlwave-shell-activate-alt-keybindings' and simplify.
485
b499d8d0
JB
486 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
487
ad89bb83
GM
4882012-05-08 Glenn Morris <rgm@gnu.org>
489
490 * files.el (auto-mode-alist): Treat ".make" like ".mk".
491
8bba5a75
SM
4922012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
493
49ed9c8e
SM
494 * vc/log-edit.el: Add GNU coding standards highlighting.
495 (log-edit-font-lock-gnu-style)
496 (log-edit-font-lock-gnu-keywords): New vars.
497 (log-edit-font-lock-keywords): New fun.
498 (log-edit-mode): Don't fold case in font-lock.
499 (log-edit-font-lock-keywords): Do not assume case-folding.
500
07d00b56
SM
501 * imenu.el: Misc cleanup. Make docstrings out of comments.
502 Use lexical-binding.
503 (imenu--index-alist, imenu--last-menubar-index-alist)
504 (imenu-menubar-modified-tick): Use defvar-local.
505 (imenu--split-menu): Remove unused var.
506 (imenu--cleanup-seen): Declare as global.
507 (imenu--cleanup): Use dolist.
508
8bba5a75
SM
509 * subr.el (defvar-local): Add debug spec and doc-string position.
510
5075bdb5
GM
5112012-05-08 Glenn Morris <rgm@gnu.org>
512
c052c904
GM
513 * lisp/language/burmese.el, language/cham.el, language/czech.el:
514 * language/english.el, language/georgian.el, language/greek.el:
515 * language/japanese.el, language/khmer.el, language/korean.el:
516 * language/lao.el, language/misc-lang.el, language/romanian.el:
517 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
518 * language/thai.el, language/utf-8-lang.el:
519 Remove no-byte-compile setting.
520
5075bdb5
GM
521 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
522
06f679a7
AH
5232012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
524
525 * progmodes/make-mode.el (makefile-browse):
526 Remove unnecessary interactive. (Bug#11324)
527
03794570
GM
5282012-05-07 Glenn Morris <rgm@gnu.org>
529
af8630f4
GM
530 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
531
03794570
GM
532 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
533
f0809a9d
SM
5342012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
535
28be5ce7
SM
536 * loadup.el: Preload newcomment.el.
537 * newcomment.el: Move autoload-only code to toplevel.
538
f0809a9d
SM
539 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
540 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
541 Handle new :right-align column property.
542 (tabulated-list-print-col): Idem, plus use `display' text-property to
543 try and preserve alignment for variable pitch fonts.
544
1241b724
CY
5452012-05-07 Chong Yidong <cyd@gnu.org>
546
547 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
548 (tabulated-list-use-header-line): New var.
549 (tabulated-list-init-header): Use it.
550 (tabulated-list-print-fake-header): New function.
551 (tabulated-list-print): Use it.
552 (tabulated-list-sort-button-map): Add non-header-line commands.
553 (tabulated-list-init-header): Add column name property to basic
554 labels as well.
555 (tabulated-list-col-sort): Handle non-header-line button case.
556 (tabulated-list--sort-by-column-name): Fix a corner case.
557
f0809a9d
SM
558 * buff-menu.el (list-buffers--refresh):
559 Handle Buffer-menu-use-header-line.
1241b724 560
e5f9458f
CY
5612012-05-06 Chong Yidong <cyd@gnu.org>
562
563 * buff-menu.el: Convert to Tabulated List mode.
564 (Buffer-menu-buffer+size-width): Make obsolete.
565 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
566 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
567 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
568 documentation into docstring of buffer-menu.
569 (Buffer-menu-toggle-files-only): Add an informative message.
570 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
571 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
572 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
573 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
574 (Buffer-menu-execute, Buffer-menu-select)
575 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
576 (Buffer-menu-bury): Use Tabulated List machinery.
577 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
578 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 579 Delete.
e5f9458f
CY
580 (list-buffers--refresh): New function.
581 (list-buffers-noselect): Use it.
582 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
583 (Buffer-menu--pretty-file-name): New helper functions.
584
585 * loadup.el: Preload tabulated-list.
586
587 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
588 tabulated-list-sort-column.
589 (tabulated-list-init-header): Add the initial aligning space even
590 if tabulated-list-padding is zero.
591
e129292c
CS
5922012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
593
594 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
595 whose cdr is not a cons cell correctly (bug#11038).
596
6632d361
CY
5972012-05-06 Chong Yidong <cyd@gnu.org>
598
e129292c
CS
599 * emacs-lisp/tabulated-list.el (tabulated-list-format):
600 Accept additional plist in column descriptors.
6632d361
CY
601 (tabulated-list-init-header): Obey it.
602 (tabulated-list-get-entry): New function.
603 (tabulated-list-put-tag): Use it. Use string-width instead of
604 length.
605 (tabulated-list--column-number): New function.
606 (tabulated-list-print): Use it.
e129292c
CS
607 (tabulated-list-print-col): New function.
608 Set `tabulated-list-column-name' property on each column's text.
6632d361 609 (tabulated-list-print-entry): Use it.
e129292c
CS
610 (tabulated-list-delete-entry, tabulated-list-set-col):
611 New functions.
6632d361
CY
612 (tabulated-list-sort-column): New command (Bug#11337).
613
3cc99f68
CY
614 * buff-menu.el (list-buffers): Move C-x C-b binding from
615 buff-menu.el to bindings.el.
616
617 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
618 :advertised-binding feature.
619
52b61776
TN
6202012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
621
622 * progmodes/compile.el (compilation-internal-error-properties):
623 Calculate start position correctly when end-col is set but
624 end-line is not (Bug#11382).
625
ebfe2597
WJ
6262012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
627
628 * man.el (Man-unindent): Use text-property-default-nonsticky to
629 prevent untabify from inheriting face properties (Bug#11408).
630
a43f98b3
GM
6312012-05-05 Glenn Morris <rgm@gnu.org>
632
48176e8b
GM
633 * calendar/cal-html.el: Optionally include holidays in the output.
634 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
635 (cal-html-holidays): New option.
636 (cal-html-css-default): Add holiday entry.
637 (holiday-in-range): Autoload it.
638 (cal-html-htmlify-entry): Add optional class argument.
639 (cal-html-htmlify-list): Add optional holidays argument.
640 (cal-html-insert-agenda-days): Include holidays in the output.
641 (cal-html-one-month): Maybe include holidays.
642
a43f98b3
GM
643 * calendar/holidays.el (holiday-in-range):
644 Move here from cal-tex-list-holidays.
645 * calendar/cal-tex.el (cal-tex-list-holidays):
646 Make it an obsolete alias for holiday-in-range. Update all callers.
647
fef9d149 6482012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
649
650 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
651 Nextstep.
652
248da2f4
RW
6532012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
654
655 * files.el (file-auto-mode-skip): New var.
656 (set-auto-mode-1): Use it.
657
f95e9344
SM
6582012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
659
df96ab1e
SM
660 * repeat.el: Use lexical-binding.
661 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
662 (repeat-undo-count): Remove.
663 (repeat):
664 * progmodes/octave-mod.el (octave-abbrev-start):
665 * progmodes/f90.el (f90-abbrev-start):
666 * face-remap.el (text-scale-adjust):
667 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
668
5342bb06
SM
669 * emacs-lisp/pcase.el (pcase--let*): New function.
670 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
671 a bit more.
672 (pcase--split-pred): Be more clever about ruling out overlap between
673 a predicate and some constant pattern.
674 (pcase--q1): Use `null' instead of (eq foo nil).
675
f95e9344
SM
676 * subr.el (setq-local, defvar-local): New macros.
677 (kbd): Redefine as an alias.
678 (with-selected-window): Leave unrelated frames alone.
679 (set-temporary-overlay-map): New function.
680
71873e2b
SM
6812012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * subr.el (user-error): New function.
684 * window.el (switch-to-buffer):
685 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
686 (smerge-match-conflict):
687 * simple.el (previous-matching-history-element)
688 (next-matching-history-element, goto-history-element, undo-more)
689 (undo-start):
690 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
691 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
692 (next-file, tags-loop-scan, list-tags, complete-tag):
693 * progmodes/compile.el (compilation-loop):
694 * mouse.el (mouse-minibuffer-check):
695 * man.el (Man-bgproc-sentinel, Man-goto-page):
696 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
697 (Info-history-forward, Info-follow-reference, Info-menu)
698 (Info-extract-menu-item, Info-extract-menu-counting)
699 (Info-forward-node, Info-backward-node, Info-next-menu-item)
700 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
701 (Info-next-reference, Info-prev-reference, Info-index)
702 (Info-index-next, Info-follow-nearest-node)
703 (Info-copy-current-node-name):
704 * imenu.el (imenu--make-index-alist)
705 (imenu-default-create-index-function, imenu-add-to-menubar):
706 * files.el (basic-save-buffer, recover-file):
707 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
708 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
709 (checkdoc-message-text, checkdoc-defun):
710 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
711 * cus-edit.el (customize-changed-options, customize-rogue)
712 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
713 (custom-variable-mark-to-reset-standard)
714 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
715 (custom-file):
716 * completion.el (check-completion-length):
717 * comint.el (comint-search-arg)
718 (comint-previous-matching-input-string-position)
719 (comint-previous-matching-input)
720 (comint-replace-by-expanded-history-before-point, comint-send-input)
721 (comint-copy-old-input, comint-backward-matching-input)
722 (comint-goto-process-mark, comint-set-process-mark):
723 * calendar/calendar.el (calendar-cursor-to-date): Use it.
724 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
725
8a61ee22
SM
7262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
727
66408d1e
SM
728 * dabbrev.el (dabbrev--ignore-case-p): New function.
729 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
730 Use it.
731
8a61ee22
SM
732 * files.el (automount-dir-prefix): Mark as obsolete.
733
3c74813a
GM
7342012-05-04 Glenn Morris <rgm@gnu.org>
735
736 * patcomp.el, play/bruce.el: Move to obsolete/.
737
0bfcf5c5
PE
7382012-05-04 Paul Eggert <eggert@cs.ucla.edu>
739
740 Fix minor Y10k bugs.
741 * arc-mode.el (archive-unixdate):
742 * autoinsert.el (auto-insert-alist):
743 * calc/calc-forms.el (math-this-year):
744 * emacs-lisp/copyright.el (copyright-current-year)
745 (copyright-update-year, copyright):
746 * tar-mode.el (tar-clip-time-string):
747 * time.el (display-time-update):
748 Don't assume years have 4 digits.
749
78f3273a
CY
7502012-05-04 Chong Yidong <cyd@gnu.org>
751
752 * dos-w32.el (file-name-buffer-file-type-alist)
753 (direct-print-region-use-command-dot-com):
754 * ffap.el (ffap-menu-regexp):
755 * find-file.el (ff-special-constructs):
756 * follow.el (follow-debug):
757 * forms.el (forms--debug):
758 * iswitchb.el (iswitchb-all-frames):
759 * ido.el (ido-all-frames):
760 * emacs-lisp/timer.el (timer-max-repeats):
761 * mail/feedmail.el (feedmail-mail-send-hook)
762 (feedmail-mail-send-hook-queued):
763 * mail/footnote.el (footnote-signature-separator):
764 * mail/mailabbrev.el (mail-alias-separator-string)
765 (mail-abbrev-mode-regexp):
766 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
767 * progmodes/idlwave.el (idlwave-libinfo-file)
768 (idlwave-default-completion-case-is-down)
769 (idlwave-library-routines): Convert defvars to defcustoms.
770
771 * mail/rmail.el (rmail-decode-mime-charset):
772 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
773 (idlwave-shell-fix-inserted-breaks)
774 (idlwave-shell-activate-alt-keybindings)
775 (idlwave-shell-use-breakpoint-glyph):
776 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
777
f7ae6719
SM
7782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
781
47086495
WS
7822012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
783
784 * progmodes/verilog-mode.el (font-lock-keywords):
785 Fix mis-highligting auto. Reported by Craig Barner.
786 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
787 defines from global name space. Reported by Dan Dever.
788 (verilog-auto-reset, verilog-auto-reset-widths)
789 (verilog-auto-tieoff): Support using unbased numbers for
790 AUTORESET and AUTOTIEOFF.
791 (verilog-submit-bug-report): Update variable list.
792 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
793 parenthesis from not matching. Reported by Michael Rytting.
794 (verilog-auto-template-lint): Fix hash error when linting modules
795 with no used templates.
796 (verilog-warn, verilog-warn-error)
797 (verilog-warn-fatal): When non-interactive report multiple
798 warnings before exiting. Suggested by Brad Dobbie.
799 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
800 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
801 to report unused template errors. Reported by Brad Dobbie.
802 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
803 nets, bug438. Reported by Vns Blore.
804 (verilog-auto-inout-module, verilog-auto-reg)
805 (verilog-read-decls, verilog-read-sub-decls-sig)
806 (verilog-signals-edit-wire-reg, verilog-signals-with):
807 Fix passing of Verilog data types in ANSI input/output ports
808 such as "output logic" into the AUTOs. Special case "wire" and
809 "reg" for backwards compatibility presuming Verilog 2001.
810 (verilog-auto-ascii-enum): Add "auto enum" as alias.
811 (verilog-preprocess): Fix replication of preprocess output.
812 Reported by Brad Dobbie.
813 (verilog-auto-inst-interfaced-ports):
814 Create verilog-auto-inst-interfaced-ports, bug429.
815 Reported by Julian Gorfajn.
816 (verilog-after-save-font-hook)
817 (verilog-before-save-font-hook): New variable.
818 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
819 (verilog-save-font-mods): Wrap disabling fontification, reported
820 by David Rogoff.
821 (verilog-do-indent, verilog-pretty-declarations-auto)
822 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
823 Reported by Pierre-David Pfister.
824 (verilog-set-auto-endcomments): Fix endtask auto comments outside
825 of class declarations, bug292. Reported by Kevin Heilman.
826 (verilog-read-decls): Fix 'parameter type' not appearing in
827 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
828 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
829 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
830 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
831 Reported by David Kravitz.
832
8332012-05-03 Michael McNamara <mac@mail.brushroad.com>
834
835 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
836 assignment with tests in ifs and for loops.
837 (verilog-extended-complete-re, verilog-complete-reg): Change so
838 that DPI inport functions don't look like fuction declarations.
839 (verilog-pretty-expr): Don't line up assignment
840 operations to the test and increment in if and for loops
841 (verilog-extended-complete-re, verilog-complete-reg): Change so
842 that DPI inport functions don't look like fuction declarations
843
2e51d4b5
KH
8442012-05-03 Kenichi Handa <handa@m17n.org>
845
846 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
847 decoding, and show a warning message without signalling an error
848 (Bug#11282).
849
2bd785a2
SM
8502012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * emacs-lisp/bytecomp.el
853 (byte-compile-file-form-custom-declare-variable): Compile all elements,
854 since cconv.el might have introduced :fun-body, internal-make-closure,
855 and friends for bytecomp to handle (bug#11391).
856 * custom.el (defcustom): Avoid ((λ ..) ..).
857
99d27583
SM
8582012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
861
55a71479
JB
8622012-05-02 Juanma Barranquero <lekktu@gmail.com>
863
864 * notifications.el (dbus-debug):
865 * term/linux.el (gpm-mouse-enable):
866 * term/screen.el (xterm-register-default-colors): Declare.
867
7b97c764
CY
8682012-05-02 Chong Yidong <cyd@gnu.org>
869
2bc356d7
CY
870 * cus-start.el (gc-cons-percentage, exec-suffixes)
871 (dos-display-scancodes, dos-hyper-key, dos-super-key)
872 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
873 (make-cursor-line-fully-visible, void-text-area-pointer)
874 (font-list-limit): Add customization data.
875
7b97c764
CY
876 * allout.el (allout-exposure-change-functions)
877 (allout-structure-added-functions)
878 (allout-structure-deleted-functions)
879 (allout-structure-shifted-functions): Rename abnormal hooks from
880 *-hook, and convert to defcustoms.
5d3385a0
JB
881 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
882 Convert to defcustoms.
7b97c764
CY
883 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
884
885 * allout-widgets.el: Hook callers changed.
886
90207a15 8872012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
888
889 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
890 the yanked message in preference to the default value of
891 buffer-file-coding-system.
892
90207a15 8932012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 894
5d3385a0
JB
895 * window.el (display-buffer--action-function-custom-type):
896 Fix entry.
d9558cad 897
90207a15 8982012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
899
900 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
901
d80ac57b
GM
9022012-05-01 Glenn Morris <rgm@gnu.org>
903
976f7668
GM
904 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
905
beb83b5a
GM
906 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
907
d80ac57b
GM
908 * cus-edit.el (custom-variable-documentation): Simplify with format.
909
b593d6a9
AH
9102012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
911 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * simple.el (suggest-key-bindings, execute-extended-command):
914 Move from keyboard.c.
915
782fbf2a
CY
9162012-05-01 Chong Yidong <cyd@gnu.org>
917
918 * follow.el: Eliminate advice.
919 (set-process-filter, process-filter, sit-for): Advice deleted.
920 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
921 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
922 Vars deleted.
782fbf2a
CY
923 (follow-auto): Use a :set function.
924 (follow-mode): Rewritten. Don't advise process filters.
925 (follow-switch-to-current-buffer-all, follow-scroll-up)
926 (follow-scroll-down): Assume follow-mode is bound.
927 (follow-comint-scroll-to-bottom)
928 (follow-align-compilation-windows): New functions.
929 (follow--window-sorter): New function.
930 (follow-all-followers): Use it to explicitly sort windows by their
931 positions; don't make assumptions about next-window order.
932 (follow-windows-start-end, follow-delete-other-windows-and-split)
933 (follow-calc-win-start): Doc fix.
934 (follow-windows-aligned-p, follow-select-if-visible): Don't call
935 vertical-motion unnecessarily.
936 (follow-adjust-window): New function.
937 (follow-post-command-hook): Use it.
938 (follow-call-set-process-filter, follow-call-process-filter)
939 (follow-intercept-process-output, follow-tidy-process-filter-alist)
940 (follow-stop-intercept-process-output, follow-generic-filter):
941 Functions deleted.
942 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
943 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
944 New functions, replacing advice on scroll-bar-* commands.
87233a14 945 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
946
947 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
948 (comint-postoutput-scroll-to-bottom): Use it.
949 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 950
290af740
GM
9512012-05-01 Glenn Morris <rgm@gnu.org>
952
953 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
954 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
955 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
956 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
957 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
958 Remove no-byte-compile setting.
959
6eac8dc9
SM
9602012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * minibuffer.el (completion-table-with-quoting): Fix compatibility
963 all-completions code to not return a number in the last cdr.
964
9cc7819c
LL
9652012-04-30 Leo Liu <sdl.web@gmail.com>
966
967 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
968 read-only error.
969
c93b886f
CY
9702012-04-29 Chong Yidong <cyd@gnu.org>
971
972 * follow.el (follow-calc-win-end): Rewrite to handle partial
973 screen lines correctly (Bug#8390).
974 (follow-avoid-tail-recenter): Minor cleanup.
975
8b6c19f4
SM
9762012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 Avoid the obsolete `assoc' package.
979 * speedbar.el (speedbar-refresh): Avoid adelete.
980 (speedbar-file-lists): Simplify and avoid aput.
981 * man.el (Man--sections, Man--refpages): New vars, replacing
982 Man-sections-alist and Man-refpages-alist.
983 (Man-build-section-alist, Man-build-references-alist):
984 Use them; avoid aput.
985 (Man--last-section, Man--last-refpage): New vars.
986 (Man-follow-manual-reference): Use them.
987 Use the `default' arg of completing-read.
988 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
989
c5bb7569
CY
9902012-04-27 Chong Yidong <cyd@gnu.org>
991
d1d2e2e8
CY
992 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
993
15cd8efd
CY
994 * startup.el (x-apply-session-resources): New function.
995
996 * term/ns-win.el (ns-initialize-window-system):
997 * term/w32-win.el (w32-initialize-window-system):
998 * term/x-win.el (x-initialize-window-system): Use it to properly
999 set menu-bar-mode and other vars from X resources, even if the
1000 initial frame is not a window-system frame (Bug#2299).
1001
c5bb7569
CY
1002 * subr.el (read-key): Avoid running filter function when setting
1003 up temporary tool bar entries (Bug#9922).
1004
a8e7d6d7 10052012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1006
1007 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1008 (Bug#11344)
1009
a8e7d6d7 10102012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1011
1012 * select.el (xselect--encode-string): New function, split from
1013 xselect-convert-to-string.
1014 (xselect-convert-to-string): Use it.
1015 (xselect-convert-to-filename, xselect-convert-to-os)
1016 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1017 returned strings are properly encoded (Bug#11315).
1018
a8e7d6d7 10192012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1020
1021 * simple.el (delete-active-region): Move to killing custom group.
1022
a8e7d6d7 10232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1024
1025 * progmodes/which-func.el (which-func-current): Quote %
1026 characters for mode-line processing.
1027
578c1d4b 10282012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1029
1030 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1031 reaching eob (Bug#11286).
1032
a8e7d6d7 10332012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1034
1035 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1036 (gdb): Make it buffer-local and init to zero.
1037 (gdb-control-commands-regexp): New variable.
1038 (gdb-send): Don't wrap in "-interpreter-exec console" if
1039 gdb-control-level is positive. Increment gdb-control-level
1040 whenever the command matches gdb-control-commands-regexp, and
1041 decrement it each time the command is "end". (Bug#11279)
1042
a8e7d6d7 10432012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1044
1045 * window.el (adjust-window-trailing-edge, enlarge-window)
1046 (shrink-window, window-resize):
1047 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1048 windows (Bug#11276).
1049
b3608390
CY
10502012-04-27 Chong Yidong <cyd@gnu.org>
1051
1052 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1053 fix "missing prefix" warning. All callers changed.
b3608390 1054
797e6e88
SM
10552012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * emacs-lisp/assoc.el: Move to obsolete/.
1058
e95a67dc
SM
10592012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1060
657c21e4 1061 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1062
1063 * term/ns-win.el (ns-define-service):
1064 * progmodes/pascal.el (pascal-goto-defun):
1065 * progmodes/js.el (js--read-tab):
1066 * progmodes/etags.el (tags-lazy-completion-table):
1067 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1068 * emacs-lisp/ewoc.el (ewoc--wrap):
1069 * emacs-lisp/assoc.el (aput, adelete, amake):
1070 * doc-view.el (doc-view-convert-current-doc):
1071 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1072
cb3e7ae0
CY
10732012-04-26 Chong Yidong <cyd@gnu.org>
1074
dce04f7f
CY
1075 * image.el (image-type-from-buffer): Only return supported image
1076 type (Bug#9045).
1077
cb3e7ae0
CY
1078 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1079 value, for symmetry with diff-end-of-hunk.
1080 (diff-split-hunk, diff-find-source-location)
1081 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1082 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1083 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1084 compute the relevant hunk or file properly (Bug#6005).
1085 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1086
0d42eb3e
SM
10872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * vc/vc-mtn.el:
1090 * vc/vc-hg.el:
1091 * vc/vc-git.el:
1092 * vc/vc-dir.el:
1093 * vc/vc-cvs.el:
1094 * vc/vc-bzr.el:
1095 * vc/vc-arch.el:
1096 * vc/vc.el: Replace lexical-let by lexical-binding.
1097 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1098 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1099 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1100
f08ae1c9
CY
11012012-04-26 Chong Yidong <cyd@gnu.org>
1102
8b71081d
CY
1103 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1104 (diff-mode-shared-map): Bind it to / and [remap undo].
1105
f08ae1c9
CY
1106 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1107 (ediff-window-setup-function): Use it as the default, to set up
1108 windows based on whether the current frame is graphical (Bug#2138).
1109 (ediff-choose-window-setup-function-automatically): Make obsolete.
1110
1111 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1112
ef24141c
SM
11132012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1114
cc356a5d
SM
1115 * ffap.el: Remove old code for obsolete package.
1116 (ffap-complete-as-file-p): Remove.
1117
b4ff4f1f
SM
1118 Use completion-table-with-quoting for comint and pcomplete.
1119 * comint.el (comint--unquote&requote-argument)
1120 (comint--unquote-argument, comint--requote-argument): New functions.
1121 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1122 (comint-quote-filename): Use regexp-opt-charset.
1123 (comint--common-suffix, comint--common-quoted-suffix)
1124 (comint--table-subvert): Remove.
1125 (comint-unquote-function, comint-requote-function): New vars.
1126 (comint--complete-file-name-data): Use them with
1127 completion-table-with-quoting.
1128 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1129 * pcomplete.el (pcomplete-arg-quote-list)
1130 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1131 (pcomplete-unquote-argument-function): Default to non-nil.
1132 (pcomplete-unquote-argument): Simplify.
1133 (pcomplete--common-quoted-suffix): Remove.
1134 (pcomplete-requote-argument-function): New var.
1135 (pcomplete--common-suffix): New function.
1136 (pcomplete-completions-at-point): Use completion-table-with-quoting
1137 and completion-table-subvert.
1138
79c4eeb4
SM
1139 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1140 (minibuffer--double-dollars): Preserve properties.
1141 (completion--sifn-requote): New function.
1142 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1143
ef24141c
SM
1144 * minibuffer.el: Add support for completion of quoted/escaped data.
1145 (completion-table-with-quoting, completion-table-subvert): New funs.
1146 (completion--twq-try, completion--twq-all): New functions.
1147 (completion--nth-completion): New function.
1148 (completion-try-completion, completion-all-completions): Use it.
1149
784e7d6e
LL
11502012-04-25 Leo Liu <sdl.web@gmail.com>
1151
dd2ac746
SM
1152 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1153 Use compilation-message if available to find real filename.
784e7d6e 1154
07875ee7
CY
11552012-04-25 Chong Yidong <cyd@gnu.org>
1156
1157 * vc/diff-mode.el (diff-setup-whitespace): New function.
1158 (diff-mode): Use it.
1159
1160 * vc/diff.el (diff-sentinel):
1161 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1162 Whitespace mode variables based on diff style (Bug#8612).
1163
5055880d
LL
11642012-04-25 Leo Liu <sdl.web@gmail.com>
1165
daf75653
LL
1166 * progmodes/python.el (python-send-region): Add suffix .py to the
1167 temp file.
1168
5055880d
LL
1169 * files.el (auto-mode-alist): Use javascript-mode instead.
1170
db9b177b
AH
11712012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1172
ef24141c 1173 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1174
1175 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1176 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1177 references, see Bug#9.
ef24141c 1178 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1179 when receiving a fault reply.
ef24141c 1180 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1181
1182 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1183 (soap-inspect-simple-type): New function.
db9b177b 1184
ef24141c 1185 * soap-client.el (soap-simple-type): New struct.
db9b177b 1186 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1187 (soap-decode-basic-type, soap-encode-basic-type):
1188 support unsignedInt and double basic types.
db9b177b 1189 (soap-resolve-references-for-simple-type)
ef24141c
SM
1190 (soap-parse-simple-type, soap-encode-simple-type): New function.
1191 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1192
1193 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1194 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1195 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1196 the local name of "soapenc:Array".
1197 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1198 decoding integer, byte and anyURI xsd types.
1199
1fc6097b
CY
12002012-04-25 Chong Yidong <cyd@gnu.org>
1201
1202 * cus-edit.el (custom-buffer-create-internal): Update header text.
1203
afc6df87
EZ
12042012-04-25 Eli Zaretskii <eliz@gnu.org>
1205
1206 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1207 settings on 'system-type', not on 'window-system'. On MS-Windows,
1208 set interactive-mode on in GDB.
1209
dfbd787f
SM
12102012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1213 (ruby-syntax-propertize-regexp): Remove.
1214 (ruby-syntax-propertize-function): Split regexp into chunks.
1215 Match following code directly.
1216
85222d44
DG
12172012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1218
51a8ea2a
DG
1219 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1220 (ruby-syntax-propertize-regexp): New function.
1221 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1222 by a special keyword.
1223
85222d44
DG
1224 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1225 (ruby-syntax-general-delimiters-goto-beg)
1226 (ruby-syntax-propertize-general-delimiters): New functions.
1227 (ruby-syntax-propertize-function): Use them to handle GDL.
1228 (ruby-font-lock-keywords): Move old handling of GDL...
1229 (ruby-font-lock-syntactic-keywords): .. to here.
1230 (ruby-calculate-indent): Adjust indentation for GDL.
1231
b613912b
MA
12322012-04-24 Michael Albinus <michael.albinus@gmx.de>
1233
b5380639
MA
1234 * notifications.el (top): Remove unneeded declarations.
1235 (notifications-specification-version): Change to "1.2".
e43042fe 1236 (notifications-interface, notifications-notify-method)
b613912b
MA
1237 (notifications-close-notification-method): Fix docstring.
1238 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1239 (notifications-notify): Add :action-items, :resident and
1240 :transient hints. Change "image_data" to "image-data" and
1241 "image_path" to "image-path".
b613912b
MA
1242 (notifications-get-capabilities): New defun.
1243
257440aa
LL
12442012-04-24 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/python.el: Move hideshow setup to the end.
1247
b1bac16e
MR
12482012-04-24 Martin Rudalics <rudalics@gmx.at>
1249
1250 * window.el (handle-select-window): Clear echo area since this is
1251 no more done by read_char (Bug#11304).
1252
d81bd059
SM
12532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1256 and `/ M' to filter-derived-mode.
1257 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1258 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1259 (ibuffer-mark-by-mode): Use default rather than initial-input.
1260 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1261
c4cf6d91
IA
12622012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1263
1264 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1265 (ibuffer-filter-by-derived-mode): New filter.
1266 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1267
7511ded8
CY
12682012-04-23 Andreas Politz <politza@fh-trier.de>
1269
1270 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1271
775c916b
CY
12722012-04-23 Chong Yidong <cyd@gnu.org>
1273
1274 * cus-edit.el (customize-apropos, customize-apropos-options):
1275 Disable matching of non-option variables (Bug#11176).
1276 (customize-option, customize-option-other-window)
1277 (customize-changed-options): Doc fix.
1278 (customize-apropos-options, customize-apropos-faces)
1279 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1280
1281 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1282 Fix word list splitting (Bug#11132).
46c71e23
CY
1283 (apropos-symbol, apropos-keybinding, apropos-label)
1284 (apropos-property, apropos-function-button)
1285 (apropos-variable-button, apropos-misc-button): New faces.
1286 (apropos-symbol-face, apropos-keybinding-face)
1287 (apropos-label-face, apropos-property-face, apropos-match-face):
1288 Variables removed (Bug#8396).
1289 (apropos-library-button, apropos-format-plist, apropos-print)
1290 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1291
2df41f9c
MA
12922012-04-23 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/xesam.el (xesam-mode-map): Use let-bound map in
1295 initialization. (Bug#11292)
1296
da00640a
AM
12972012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1298
1299 Preserve ispell session localwords when switching back to
1300 original buffer.
1301
1302 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1303 variable to hold buffer session localwords.
1304 (ispell-kill-ispell): add option 'clear to delete session
1305 localwords.
1306 (ispell-command-loop, ispell-change-dictionary)
1307 (ispell-buffer-local-words): Preserve session localwords when
1308 needed.
1309
1310 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1311 Preserve session localwords when needed.
1312
f621ccf5
AM
13132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1314
1315 * ispell.el (ispell-insert-word) Remove unneeded function using
1316 obsolete `translation-table-for-input'.
ef24141c
SM
1317 (ispell-word, ispell-process-line, ispell-complete-word):
1318 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1319
c2d1019e
CY
13202012-04-22 Chong Yidong <cyd@gnu.org>
1321
1322 * cus-edit.el (custom-variable-menu)
1323 (custom-variable-reset-saved, custom-face-menu)
1324 (custom-face-reset-saved): If there is no saved value, make the
1325 "reset-saved" operation bring back the default (Bug#9509).
1326 (custom-face-state): Properly detect themed faces.
1327
eeddc531
CY
1328 * faces.el (face-spec-set): Stop supporting deprecated form of
1329 third arg.
1330
dcbf5805
MA
13312012-04-22 Michael Albinus <michael.albinus@gmx.de>
1332
1333 Move functions from C to Lisp. Make non-blocking method calls
1334 the default. Implement further D-Bus standard interfaces.
1335
ef24141c
SM
1336 * net/dbus.el (dbus-message-internal): Declare function.
1337 Remove unneeded function declarations.
dcbf5805
MA
1338 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1339 (dbus-message-type-method-return, dbus-message-type-error)
1340 (dbus-message-type-signal): Declare variables. Remove local
1341 definitions.
1342 (dbus-interface-dbus, dbus-interface-peer)
1343 (dbus-interface-introspectable, dbus-interface-properties)
1344 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1345 Adapt docstring.
1346 (dbus-interface-objectmanager): New defconst.
1347 (dbus-call-method, dbus-call-method-asynchronously)
1348 (dbus-send-signal, dbus-method-return-internal)
1349 (dbus-method-error-internal, dbus-register-service)
1350 (dbus-register-signal, dbus-register-method): New defuns, moved
1351 from dbusbind.c
1352 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1353 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1354 New defuns.
dcbf5805
MA
1355 (dbus-call-method-non-blocking): Make it an obsolete function.
1356 (dbus-unregister-object, dbus-unregister-service)
1357 (dbus-handle-event, dbus-register-property)
1358 (dbus-property-handler): Obey the new structure of
1359 `bus-registered-objects'.
1360 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1361 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1362 Use `dbus-call-method'.
1363
cf20dee0
CY
13642012-04-22 Chong Yidong <cyd@gnu.org>
1365
1366 * cus-edit.el (custom-commands, custom-reset-menu)
1367 (Custom-reset-standard): Tweak labels.
1368 (custom-reset-button-menu): Change default to t.
1369 (custom-buffer-create-internal): For the custom-reset-button-menu
1370 case, put the revert button first.
1371 (custom-group-subtitle): New face.
1372 (custom-group-value-create): Align docstring to a specific column.
1373
1374 * wid-edit.el (widget-documentation-link-add): Don't handle
1375 indentation in this function.
1376 (widget-documentation-string-indent-to): New function.
1377 (widget-documentation-string-value-create): Use it.
1378
1379 * autorevert.el (auto-revert):
1380 * epg-config.el (epg):
1381 * ibuffer.el (ibuffer):
1382 * mpc.el (mpc):
1383 * ses.el (ses):
1384 * eshell/eshell.el (eshell):
1385 * net/ange-ftp.el (ange-ftp):
1386 * progmodes/ebnf2ps.el (postscript):
1387 * progmodes/flymake.el (flymake):
1388 * progmodes/prolog.el (prolog):
1389 * progmodes/verilog-mode.el (verilog-mode):
1390 * progmodes/which-func.el (which-func):
1391 * term/xterm.el (xterm):
1392 * textmodes/picture.el (picture):
1393 * textmodes/tildify.el (tildify):
1394 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1395 customization buffers.
1396
583e23bd
AM
13972012-04-22 Alan Mackenzie <acm@muc.de>
1398
1399 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1400 Adding a ) can hide the resulting (..) from searches. Fix it.
1401 Bound the backward search to the position of the existing (.
1402
7dd51bf1
JB
14032012-04-21 Juanma Barranquero <lekktu@gmail.com>
1404
1405 * progmodes/verilog-mode.el (verilog-mode): Check whether
1406 which-func-modes is t before adding verilog-mode.
1407 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1408
d64a438f
LL
14092012-04-21 Leo Liu <sdl.web@gmail.com>
1410
7dd51bf1 1411 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1412
081e8d65
MV
14132012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1414
1415 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1416 filling of the last column of a table (Bug#5635).
1417 (woman-find-next-control-line): New arg, specifying an additional
1418 regexp component for the control line.
1419 (woman2-roff-buffer): Use it.
1420 (woman-break-table): New function.
1421 (woman2-TS): Use it.
1422
14232012-04-21 Chong Yidong <cyd@gnu.org>
1424
1425 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1426 (woman-horizontal-escapes, woman-negative-vertical-space)
1427 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1428 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1429
ed571ccb
SM
14302012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * minibuffer.el (completion-file-name-table): Complete user names.
1433
39773899
LL
14342012-04-20 Leo Liu <sdl.web@gmail.com>
1435
1436 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1437 and pcase-let*.
1438
de6ff46d
CY
14392012-04-20 Chong Yidong <cyd@gnu.org>
1440
1441 * server.el (server-execute): Respect initial-buffer-choice if it
1442 is a string and there are no files to open (Bug#2825).
1443 (server-create-window-system-frame, server-create-tty-frame):
1444 Don't switch buffers here.
2d0e8e61
CY
1445 (server-process-filter): Only try to open a window system frame if
1446 compiled with graphical support (Bug#8314).
de6ff46d 1447
54071013
DN
14482012-04-20 Dan Nicolaescu <dann@gnu.org>
1449
1450 * battery.el (battery-echo-area-format): Display remaining time
1451 for sysfs backend too (Bug#11269).
1452 (battery-linux-sysfs): Fix conditional for the charge.
1453
f30d612a
CY
14542012-04-20 Chong Yidong <cyd@gnu.org>
1455
c07a4c0b 1456 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1457 (gdb-inferior-io--init-proc): New function.
1458 (gdb-init-1): Use it.
1459 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1460 responsible for allocating a new pty and hooking it to gdb when
1461 the old pty gets an EIO due to process exit.
1462 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1463 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1464 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1465
2116e93c
EZ
14662012-04-20 Eli Zaretskii <eliz@gnu.org>
1467
1468 * window.el (window-min-size, window-sizable, window-min-delta)
1469 (window-max-delta, window--resizable, window-resizable)
1470 (window-total-size, window-full-height-p, window-full-width-p)
1471 (window-in-direction, window--resize-mini-window, window-resize)
1472 (window--resize-child-windows-normal)
1473 (window--resize-child-windows, window--resize-siblings)
1474 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1475 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1476
c07a4c0b 14772012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1478
ef24141c
SM
1479 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1480 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1481 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1482 pty process (Bug#11273).
1483 (gdb-update): New arg to suppress talking to the gdb process.
1484 (gdb-done-or-error): Use it.
1485 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1486 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1487 sentinel not being called.
1488
1489 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1490
d02766ab
CY
1491 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1492
c07a4c0b 14932012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1494
1495 * net/network-stream.el (open-network-stream): Doc fix.
1496
c07a4c0b 14972012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1498
1499 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1500
c07a4c0b 15012012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1502
1503 Ensure searching for keywords is case sensitive.
1504
1505 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1506 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1507 (c-defun-name, c-mark-function, c-cpp-define-name)
1508 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1509 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1510
ef24141c
SM
1511 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1512 Bind case-fold-search to nil.
f0f6bc35 1513
c07a4c0b 15142012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1515
1516 * mail/sendmail.el (mail-bury): Call return action with the right
1517 Rmail buffer (Bug#11242).
1518
9a864fa2
CY
1519 * server.el (server-process-filter): Handle corner case where both
1520 tty and nowait options are present (Bug#11102).
1521
539aa513
EZ
15222012-04-20 Eli Zaretskii <eliz@gnu.org>
1523
1524 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1525 (top level): Put into the executable the ident-style '$Id:' tag on
1526 windows-nt as well.
539aa513 1527
cfc7d5da
SM
15282012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * electric.el (electric-indent-post-self-insert-function): Check that
1531 electric-indent-mode is enabled in current buffer.
1532
5b01685c
JB
15332012-04-19 Juanma Barranquero <lekktu@gmail.com>
1534
1535 * imenu.el (imenu-progress-message): Restore; it is "used" in
1536 erc/erc-imenu.el and net/snmp-mode.el.
1537
4d6769e1
JB
15382012-04-19 Juanma Barranquero <lekktu@gmail.com>
1539
1540 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1541 (mouse-avoidance-nudge-mouse): Remove unused binding.
1542
1543 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1544
1545 * descr-text.el (describe-char):
1546 * progmodes/python.el (python-describe-symbol):
1547 Don't call `toggle-read-only', set `buffer-read-only'.
1548
1549 * imenu.el (imenu-default-goto-function): Mark unused args.
1550 (imenu-progress-message): Remove obsolete macro; all callers changed.
1551
1552 * subr.el (keymap-canonicalize): Remove unused binding.
1553 (read-passwd): Mark unused arg.
1554
1555 * tutorial.el (tutorial--display-changes): Remove unused binding.
1556 (tutorial--save-tutorial-to): Remove unused variable.
1557
1558 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1559 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1560 (package-generate-autoloads, package-menu--generate)
1561 (package-menu--find-upgrades): Remove unused bindings.
1562
1563 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1564 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1565 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1566 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1567 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1568 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1569 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1570 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1571 (cua-delete-char-rectangle): Mark unused args.
1572 (cua-align-rectangle): Remove unused binding.
1573
1574 * mail/rmail.el (compilation--message->loc)
1575 (epa--find-coding-system-for-mime-charset): Declare.
1576
1577 * net/dbus.el (dbus-register-service): Declare.
1578 (dbus-name-owner-changed-handler): Remove unused binding.
1579
1580 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1581 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1582 (nxml-scan-backward-within): Mark unused arg.
1583 (nxml-dynamic-markup-word): Remove unused binding.
1584
1585 * mouse.el (mouse-menu-major-mode-map):
1586 * emacs-lisp/authors.el (authors-scan-change-log)
1587 (authors-add-to-author-list):
1588 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1589 * emacs-lisp/smie.el (smie-auto-fill):
1590 * mail/sendmail.el (mail-bury):
1591 * mail/unrmail.el (unrmail):
1592 * net/tls.el (open-tls-stream):
1593 * textmodes/picture.el (picture-mouse-set-point):
1594 Remove unused bindings.
1595
8c8fc5df
MA
15962012-04-19 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * net/tramp.el (tramp-action-password): Let-bind
1599 `enable-recursive-minibuffers' to t.
1600
a77b0ac9
SS
16012012-04-18 Sam Steingold <sds@gnu.org>
1602
1603 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1604 instead of 'string to accommodate values like [f11].
1605 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1606 * progmodes/gdb-mi.el: Likewise.
1607
12a106a9
LL
16082012-04-18 Leo Liu <sdl.web@gmail.com>
1609
1610 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1611 current buffer.
1612 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1613 LOCAL is nil.
1614
bc6494ef
CY
16152012-04-18 Chong Yidong <cyd@gnu.org>
1616
1617 * simple.el (line-move): Use forward-line if in batch mode
1618 (Bug#11053).
1619
c09c46b2
CS
16202012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1621
1622 * files.el (after-find-file): Do not try to add a final newline if
1623 the buffer is read-only (Bug#11156).
1624
5f6530ea
RS
16252012-04-17 Richard Stallman <rms@gnu.org>
1626
1627 * mail/rmail.el (rmail-start-mail):
1628 Pass (rmail-mail-return...) for the return-action.
1629 Pass (rmail-yank-current-message...) for the yank-action.
1630 (rmail-yank-current-message): New function.
1631 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1632 (rmail-reply): Likewise.
1633 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1634
1635 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1636 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1637 buffer, not newbuf.
1638
197b6f3c
JB
16392012-04-17 Juanma Barranquero <lekktu@gmail.com>
1640
1641 * server.el (server-ensure-safe-dir): Simplify.
1642
2311d8e5 16432012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1644
2311d8e5
GM
1645 * emacs-lisp/smie.el: Provide smarter auto-filling.
1646 (smie-auto-fill): New function.
1647 (smie-setup): Use it.
98fb480e 1648
2311d8e5
GM
1649 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1650
16512012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1652
1653 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1654 (comment-indent): Use it.
1655
2311d8e5 16562012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1657
1658 * ses.el: The overall change is to add cell renaming, that is
1659 setting fancy names for cell symbols other than name matching
1660 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1661 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1662 (ses-create-cell-variable): New defun.
2311d8e5 1663 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1664 (ses-relocate-formula): Relocate formulas only for cells the
1665 symbols of which are not renamed, i.e. symbols whose names do not
1666 match regexp "\\`[A-Z]+[0-9]+\\'".
1667 (ses-relocate-all): Relocate values only for cells the symbols of
1668 which are not renamed.
1669 (ses-load): Create cells variables as the (ses-cell ...) are read,
1670 in order to check row col consistency with cell symbol name only
1671 for cells that are not renamed.
1672 (ses-replace-name-in-formula): New defun.
1673 (ses-rename-cell): New defun.
4bdf2ad2 1674
fc72b15c
PO
16752012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1676
1677 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1678 New option (bug#11118).
1679 (perl-calculate-indent): Respect it.
1680
12e10e61
GM
16812012-04-17 Glenn Morris <rgm@gnu.org>
1682
1683 * dired-aux.el (dired-mark-read-string): Doc fix.
1684
30009afd
DA
16852012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1686
1687 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1688 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1689
41f03f4d
GM
16902012-04-17 Glenn Morris <rgm@gnu.org>
1691
1692 * mouse.el (mouse-drag-track):
1693 * speedbar.el (speedbar-frame-mode):
1694 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1695
f45f90f3
LL
16962012-04-16 Leo Liu <sdl.web@gmail.com>
1697
1698 * progmodes/python.el: Trivial cleanup.
1699
94ee8db5
GM
17002012-04-16 Glenn Morris <rgm@gnu.org>
1701
121b8917
GM
1702 * vc/vc.el (vc-string-prefix-p):
1703 * vc/pcvs-util.el (cvs-string-prefix-p):
1704 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1705 * mpc.el (mpc-string-prefix-p):
1706 Make all of these into obsolete aliases for string-prefix-p.
1707 Update callers.
1708 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1709
1197ecfa
GM
1710 * textmodes/two-column.el: Move custom options to the start.
1711 (frame-width): Remove compat definition.
1712 (2C-associate-buffer, 2C-dissociate):
1713 Use with-current-buffer rather than save-excursion.
1714 (2C-dissociate): Force a mode-line update.
1715 (2C-autoscroll): Use ignore-errors.
1716
099e7202
GM
1717 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1718 Autoload trivia.
1719
bf350d6a
GM
1720 * emacs-lisp/cl-extra.el (*random-state*):
1721 Remove unnecessary declaration.
1722
0e829eab
GM
1723 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1724
e3ad7552
GM
1725 * play/cookie1.el (cookie-snarf):
1726 Give an explicit error if input file cannot be read.
1727
68892d27
GM
1728 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1729
20f0c46d
GM
1730 * progmodes/perl-mode.el (c-macro-expand):
1731 Remove unnecessary autoload (it is in loaddefs.el).
1732
5a0978ce
GM
1733 * textmodes/picture.el (picture-desired-column)
1734 (picture-update-desired-column): Convert comments to doc-strings.
1735 (picture-substitute): Remove function.
1736 (picture-mode-map): Initialize in the defvar.
1737
6b955486
GM
1738 * woman.el: Remove eval-after-load for tar-mode.
1739 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1740 (woman-tar-extract-file): Autoload it.
1741
94ee8db5
GM
1742 * frame.el (automatic-hscrolling): Make this alias obsolete.
1743
177eca34
AM
17442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1745
1746 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1747 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1748 (ispell-dictionary-base-alist): Revert to original XEmacs
1749 friendly version for default. [:alpha:] will be added in
1750 `ispell-set-spellchecker-params' if needed
177eca34 1751
c505aaeb
CY
17522012-04-16 Chong Yidong <cyd@gnu.org>
1753
1754 * image.el (imagemagick--extension-regexp): New variable.
1755 (imagemagick-register-types): Use it.
1756 (imagemagick-types-inhibit): Add :set function. Allow new value
1757 of t to inhibit all types.
1758
1759 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1760 so we can preload it.
1761
1762 * loadup.el (fboundp): Preload regexp-opt, needed by
1763 imagemagick-register-types.
1764
60efac0f
CY
17652012-04-15 Chong Yidong <cyd@gnu.org>
1766
1767 * frame.el (scrolling): Remove nearly unused customization group.
1768
1769 * scroll-all.el (scroll-all-mode): Move to windows group.
1770
5dd1713e
CY
17712012-04-15 Chong Yidong <cyd@gnu.org>
1772
1773 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1774
e6fd457e
CY
17752012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1778 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1779
e153c136
GM
17802012-04-15 Glenn Morris <rgm@gnu.org>
1781
1782 * simple.el (process-file-side-effects): Doc fix.
1783
e6fd457e 17842012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1785
1786 * international/mule-cmds.el (set-language-environment): Doc fix.
1787
3603c3b1
JB
17882012-04-14 Juanma Barranquero <lekktu@gmail.com>
1789
1790 * server.el (server-auth-key, server-generate-key): Doc fixes.
1791 (server-get-auth-key): Doc fix. Use `string-match-p'.
1792 (server-start): Reflow docstring.
1793
e6de100c
LI
17942012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1795
1796 * server.el (server-generate-key): `called-interactively-p'
1797 requires a parameter.
1798
29734c21
MN
17992012-04-14 Michal Nazarewicz <mina86@mina86.com>
1800
1801 * server.el (server-auth-key): New variable.
75f1671a 1802 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1803 (server-start): Use the new variable and functions to allow
1804 setting a permanent server key (bug#9423).
1805
d65c9521
LL
18062012-04-14 Leo Liu <sdl.web@gmail.com>
1807
1808 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1809
5ae255c7
PE
18102012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1811
1812 Spelling fixes.
1813 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1814 Emacs uses American spelling.
1815
d5e6342e
JB
18162012-04-14 Juanma Barranquero <lekktu@gmail.com>
1817
1818 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1819 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1820 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1821 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1822
ab036cd7
SM
18232012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * progmodes/which-func.el (which-func-modes): Change default.
1826
35dc09a1 18272012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1828
1829 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1830 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1831
35dc09a1 18322012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1833
1834 * custom.el (custom-theme-set-variables): Doc fix.
1835
35dc09a1 18362012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1837
1838 * international/mule.el (set-auto-coding-for-load): Doc fix.
1839
35dc09a1 18402012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1841
35dc09a1
GM
1842 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1843 imenu work again for Objective C Mode. Correct the *-index values,
1844 these having been disturbed by a previous change in 2011-08.
57f845ee 1845
0de3da9f
AM
1846 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1847 Correct two search limits.
1848
35dc09a1 18492012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1850
1851 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1852
35dc09a1 18532012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1854
1855 * international/characters.el: Fix sorting.
1856
35dc09a1 18572012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1858
1859 * international/characters.el: Add more missing Latin case pairs.
1860
35dc09a1 18612012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1862
1863 * files.el (dir-locals-set-class-variables): Doc fix.
1864
35dc09a1 18652012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1866
3f1b5bf8
EZ
1867 * international/characters.el: Add set-case-syntax-pair call for
1868 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1869 counterpart. (Bug#11209)
1870
9f847f41
EZ
1871 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1872
35dc09a1 18732012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1874
1875 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1876
35dc09a1 18772012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1878
35dc09a1
GM
1879 * textmodes/ispell.el (ispell-dictionary-base-alist):
1880 Add data for Hebrew.
e2627d21 1881
35dc09a1 18822012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1883
35dc09a1
GM
1884 * net/rcirc.el (rcirc-cmd-quit):
1885 Revert 2012-03-18 change (Bug#11192).
5c14e333 1886
35dc09a1 18872012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1888
1889 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1890
35dc09a1 18912012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1892
4517fe3a
SM
1893 * minibuffer.el (completion-in-region-mode-map):
1894 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1895
b472a594
VD
18962012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1897
1898 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1899
09b95ce3
MY
19002012-04-13 Masatake YAMATO <yamato@redhat.com>
1901
1902 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1903 to allow `C-M-f' and `C-M-b' to move to the nearest path
1904 separator (bug#9511).
1905
4b63a9ca
LI
19062012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1907
1908 * avoid.el: Require cl when compiling. And also move the
1909 `provide' to the end.
1910
7b55b8bf
TV
19112012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1912
1913 * avoid.el (mouse-avoidance-banish-position): New variable.
1914 (mouse-avoidance-banish-destination): Use it (bug#10165).
1915
adedaa1f
LL
19162012-04-13 Leo Liu <sdl.web@gmail.com>
1917
1918 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1919
70e74021
KB
19202012-04-13 Ken Brown <kbrown@cornell.edu>
1921
1922 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1923 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1924 (browse-url-filename-alist): For the same reason, don't modify
1925 file:// URLs on Cygwin.
1926
e75e89ba
SM
19272012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1930 the region on shift if the binding is already shifted (bug#11221).
1931
82f289a4
GM
19322012-04-12 Glenn Morris <rgm@gnu.org>
1933
1934 * mail/mailpost.el: Move to obsolete/.
1935
d333dc4c
DA
19362012-04-12 Drew Adams <drew.adams@oracle.com>
1937
1938 * imenu.el (imenu--generic-function): Ignore invisible definitions
1939 (bug#10123).
1940
0d15b5ba
VD
19412012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1942
1943 * hexl.el (hexl-bits): New variable.
1944 (hexl-options): Mention the variable in the doc string.
75f1671a 1945 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1946 (hexl-mode): Mention the new variable.
75f1671a
JB
1947 (hexl-mode, hexl-current-address, hexl-current-address):
1948 Use the displen.
0d15b5ba
VD
1949 (hexl-ascii-start-column): New function.
1950 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1951 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1952
64a440db
AM
19532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1954
1955 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1956 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1957 the encoding, as expected by hunspell.
1958
6decb6c2
SM
19592012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * battery.el (battery--linux-sysfs-regexp): New const.
1962 (battery-status-function): Use it. Remove yeeloong special case.
1963 (battery-yeeloong-sysfs): Remove.
1964 (battery-echo-area-format): Remove yeeloong special case.
1965
088be6fb
SM
19662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1967
6622e416
SM
1968 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1969 Reported by Noah Friedman.
1970
088be6fb
SM
1971 * subr.el (read-passwd): Use read-string.
1972
b49f886e
LMI
19732012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1974
1975 * vcursor.el (vcursor-move): Increase the priority of the overlay
1976 (bug#9663).
1977
a63067fc
DD
19782012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1979
1980 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1981 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1982
ac3cf14a
WS
19832012-04-11 William Stevenson <yhvh2000@gmail.com>
1984
1985 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1986 define-minor-mode (bug#10760).
1987
c4fc691b 19882012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1989
4d6769e1 1990 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1991 that directories matching `grep-find-ignored-files' won't be
1992 pruned (bug#10351).
1993
af23e2e5
CY
19942012-04-11 Chong Yidong <cyd@gnu.org>
1995
1996 * startup.el (command-line): Remove support for long-obsolete
1997 variable font-lock-face-attributes.
1998
ab7ce8c1
GM
19992012-04-11 Glenn Morris <rgm@gnu.org>
2000
2001 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2002
de8c03dc
SM
20032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * window.el (window--state-get-1): Obey window-point-insertion-type.
2006
050cc68b
LB
20072012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2008
2009 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2010 to previous function when point is on the first character of a
75f1671a 2011 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2012
a38c310c
GM
20132012-04-11 Glenn Morris <rgm@gnu.org>
2014
effed0c2
GM
2015 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2016 not just file-errors.
2017
a38c310c
GM
2018 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2019 (vc-bzr-sha1): Use internal sha1.
2020
0221e323
SM
20212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2024
43956923
SG
20252012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2026
2027 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2028 that start in the middle of the line (bug#10496).
2029
6a8c9eaf
DN
20302012-04-10 Dan Nicolaescu <dann@gnu.org>
2031
2032 * battery.el (battery-linux-proc-acpi): Only one battery is
2033 discharged at a time, but that seems to confuse battery.el when
2034 computing `rate-type' for the battery not being discharged
2035 (bug#10332).
2036
1930bf5d
SM
20372012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2a718f6f
SM
2039 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2040
599430d0
SM
2041 * international/quail.el: Use dolist and simplify.
2042 (quail-define-package, quail-update-keyboard-layout)
2043 (quail-define-rules): Use dolist.
2044 (quail-insert-kbd-layout, quail-get-translation): CSE.
2045
a2754b6c
SM
2046 * tmm.el: Use dolist, remove left over hook.
2047 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2048 Use dolist.
2049 (calendar-load-hook): Don't mess with it.
2050
1930bf5d
SM
2051 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2052 Use derived-mode-p. Run the diff asynchronously.
2053
9f67961c
LMI
20542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2055
2056 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2057
2a8ce227
JB
20582012-04-10 Juanma Barranquero <lekktu@gmail.com>
2059
2060 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2061 (list-dynamic-libraries--loaded): New function.
2062 (list-dynamic-libraries--refresh): Use it.
2063
8f33b5f8
NW
20642012-04-10 Nathan Weizenbaum <nweiz@google.com>
2065
1930bf5d
SM
2066 * progmodes/python.el (python-fill-paragraph):
2067 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2068 disabled (bug#7018).
2069
b12f0439
L
20702012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2071
1930bf5d 2072 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2073 DOS/MS Windows for the Baltic languages. There are still plenty
2074 of texts written in this encoding/codepage (bug#6519).
b12f0439 2075
57c3bd01
GM
20762012-04-10 Glenn Morris <rgm@gnu.org>
2077
2078 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2079 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2080
6c3eab30
FA
20812012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2082
1930bf5d 2083 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2084 next-line "n" and previous-line "p" in order to make recentf more
2085 consistent with ibuffer, dired or org-mode (bug#9387).
2086
24d78a88
LMI
20872012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2088
bc72b5d9
LMI
2089 * image.el (put-image): Return the overlay created instead of the
2090 optional input string (bug#7834). Note that this may break code
2091 that is (for some reason or other) depending on `put-image'
2092 returning the string.
2093
bd2dba5a
LMI
2094 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2095
74beb59f
LMI
2096 * simple.el (zap-to-char): Allow zapping using input methods
2097 (bug#1580).
2098
24d78a88
LMI
2099 * textmodes/fill.el (fill-region): Leave point and mark where they
2100 were before filling (bug#5399).
2101
263f20cd
GM
21022012-04-09 Glenn Morris <rgm@gnu.org>
2103
2104 * version.el (emacs-bzr-get-version):
2105 Handle lightweight checkouts of local branches.
2106
58d1f797
AS
21072012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2108
263f20cd 2109 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2110
b4d3bc10
CY
21112012-04-09 Chong Yidong <cyd@gnu.org>
2112
2113 * custom.el (custom-variable-p): Return nil for non-symbol
2114 arguments instead of signaling an error.
2115 (user-variable-p): Obsolete alias for custom-variable-p.
2116
2117 * apropos.el (apropos-variable):
2118 * files-x.el (read-file-local-variable):
2119 * simple.el (set-variable):
2120 * woman.el (woman-mini-help):
2121 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2122
fd06db5d
GM
21232012-04-09 Glenn Morris <rgm@gnu.org>
2124
e5fcdb5e
GM
2125 * startup.el (normal-top-level): Don't look for leim-list.el
2126 in places where it will not be found. (Bug#910)
2127
fd06db5d
GM
2128 * international/mule-cmds.el (set-default-coding-systems):
2129 * files.el (normal-mode):
2130 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2131 This function was removed with ucs-tables.el in 2008.
2132
b39bb7e1
EZ
21332012-04-08 Eli Zaretskii <eliz@gnu.org>
2134
2135 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2136 ispell-encoding8-command to "-i", without a trailing space.
2137 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2138 separate command-line arguments, to specify the encoding, since
2139 that's how hunspell expects it.
2140
5c5b8e23
GM
21412012-04-08 Glenn Morris <rgm@gnu.org>
2142
2143 * loadup.el: Load bindings before cus-start.
2144 This reduces somewhat the number of "rogue" settings in emacs -Q.
2145
a1ed8b05
GM
21462012-04-07 Glenn Morris <rgm@gnu.org>
2147
2148 * version.el (emacs-bzr-get-version): New function.
dfae128a 2149 (emacs-bzr-version): New variable.
a1ed8b05
GM
2150 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2151 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2152
b142f158
EZ
21532012-04-07 Eli Zaretskii <eliz@gnu.org>
2154
dfae128a
GM
2155 * international/uni-bidi.el, international/uni-category.el:
2156 * international/uni-combining.el, international/uni-decimal.el:
2157 * international/uni-decomposition.el, international/uni-digit.el:
2158 * international/uni-lowercase.el, international/uni-mirrored.el:
2159 * international/uni-name.el, international/uni-numeric.el:
2160 * international/uni-titlecase.el, international/uni-uppercase.el:
2161 Update for Unicode 6.1.
b142f158 2162
9078ead6
EZ
21632012-04-07 Eli Zaretskii <eliz@gnu.org>
2164
2165 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2166
f23d2c7d
LMI
21672012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2168
2169 * window.el (shrink-window): Mention the `window-min-height'
2170 variable in the doc string.
2171
0a0a3573
BG
21722012-04-05 Bastien Guerry <bzg@altern.org>
2173
2174 * color.el (color-lighten-name): Fix typo.
2175
e5248ac9
SM
21762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * server.el (server--on-display-p): New function.
2179 (server--on-display-p): Use it.
2180
b4243e22
GV
21812012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2182
2183 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2184 (bug#11145).
2185
305d9f44
SM
21862012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * comint.el (comint--common-quoted-suffix): Check string boundary
2189 before comparing (bug#11158).
2190 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2191
3d439cd1
CY
21922012-04-04 Chong Yidong <cyd@gnu.org>
2193
321cc491
CY
2194 * minibuffer.el (completion-extra-properties): Doc fix.
2195
3d439cd1
CY
2196 * subr.el (delayed-warnings-hook): Doc fix.
2197
2d562c0f
DU
21982012-04-04 Daiki Ueno <ueno@unixuser.org>
2199
2200 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2201 selection (Bug#11159).
2202 (epa-insert-keys): Inform that the default public key will be
2203 exported if no key is selected.
2204
4443f204
RS
22052012-04-04 Richard Stallman <rms@gnu.org>
2206
2207 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2208
529c06b6
CY
22092012-04-03 Chong Yidong <cyd@gnu.org>
2210
2211 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2212 mail-insert-file, not its obsolete alias mail-attach-file.
2213
66b907dc
MA
22142012-04-03 Michael Albinus <michael.albinus@gmx.de>
2215
2216 * notifications.el (notifications-notify): Fix docstring.
2217
c0ea195d
GM
22182012-04-02 Glenn Morris <rgm@gnu.org>
2219
2220 * emacs-lisp/authors.el (authors-aliases): Another addition.
2221
5ca64e00
MA
22222012-04-02 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2225 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2226 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2227
42ee526b
CY
22282012-04-01 Chong Yidong <cyd@gnu.org>
2229
2230 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2231 Handle root directory properly.
2232 (copy-directory): Caller changed.
2233
2234 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2235 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2236
0b021094
GM
22372012-03-31 Glenn Morris <rgm@gnu.org>
2238
40f86458
GM
2239 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2240
7019c177
GM
2241 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2242
a1daddd6
GM
2243 * calendar/calendar.el (calendar-window-list)
2244 (calendar-hide-window): Restore. (Bug#11140)
2245 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2246
0b021094
GM
2247 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2248
40311efc
TV
22492012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2250
2251 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2252 Check if file is a symlink (Bug#10489).
2253
2254 * files.el (copy-directory): Likewise.
2255
5319014e
CY
22562012-03-30 Chong Yidong <cyd@gnu.org>
2257
2258 * image.el (imagemagick-types-inhibit)
2259 (imagemagick-register-types): Doc fix.
2260
935d1290
AM
22612012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2262
ef24141c
SM
2263 * ispell.el (ispell-get-extended-character-mode):
2264 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2265 and treats ~word as ordinary words in pipe mode.
935d1290 2266
61c6e8fd
GM
22672012-03-30 Glenn Morris <rgm@gnu.org>
2268
2269 * tutorial.el (help-with-tutorial): Ensure local variables don't
2270 happen to make the buffer read-only. (Bug#11127)
2271
81fdff00
SM
22722012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2275 (perl-calculate-indent): Return `noindent' in strings.
2276
6e7a6ec0
SS
22772012-03-28 Sam Steingold <sds@gnu.org>
2278
2279 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2280 instead of the broken adhockery which does not prevent calendar
2281 buffers from being displayed at random after exit.
2282 (calendar-window-list, calendar-hide-window): Remove the broken
2283 adhockery.
2284
fee88ca0
GM
22852012-03-28 Glenn Morris <rgm@gnu.org>
2286
2287 * replace.el (query-replace-map): Doc fix.
2288
38de3354
AS
22892012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2290
2291 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2292 contents. (Bug#11109)
2293
b973155e
SM
22942012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2297 (bug#11077).
2298 (avl-tree--check, avl-tree--check-node): New funs.
2299
dcb6e7b3
MR
23002012-03-27 Martin Rudalics <rudalics@gmx.at>
2301
2302 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2303 (switch-to-prev-buffer, switch-to-next-buffer):
2304 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2305 showing a buffer already is done on the same frame.
2306
b4fa35fa
GM
23072012-03-27 Glenn Morris <rgm@gnu.org>
2308
2309 * startup.el (mail-host-address): Doc fix.
2310
f9210e18
SM
23112012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2314 than 197 variables.
2315
c0bf7753
AF
23162012-03-26 Ami Fischman <ami@fischman.org>
2317
2318 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2319
33da7b16
GM
23202012-03-26 Glenn Morris <rgm@gnu.org>
2321
02243d9d
GM
2322 * files.el (save-buffers-kill-emacs): Doc fix.
2323
33da7b16
GM
2324 * startup.el (normal-top-level, command-line, command-line-1):
2325 Give them doc strings.
2326
e5a69fd0
EZ
23272012-03-25 Eli Zaretskii <eliz@gnu.org>
2328
2329 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2330 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2331
9a69676a
CY
23322012-03-25 Chong Yidong <cyd@gnu.org>
2333
4125cb8b
CY
2334 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2335 theme if it was previously enabled before (Bug#11031).
2336
dd470960
CY
2337 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2338 spec with custom-face-get-current-spec if its :shown-value is not
2339 determined yet (Bug#9337).
4125cb8b 2340 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2341
9a69676a
CY
2342 * button.el (button-at): Minor addition to docstring.
2343
6e7e90fa
SL
23442012-03-24 Simon Leinen <simon.leinen@gmail.com>
2345
2346 * vc/vc.el (vc-merge): Fix a prompt.
2347
f06e2758
CY
23482012-03-24 Chong Yidong <cyd@gnu.org>
2349
2350 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2351 point (Bug#9623).
2352
6e7e90fa
SL
2353 * button.el (button-at): Minor addition to docstring.
2354
b9d0879b
SM
23552012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * newcomment.el (comment-choose-indent): No space after BOL.
2358
e71cebb3
SS
23592012-03-22 Sam Steingold <sds@gnu.org>
2360
2361 * window.el (switch-to-prev-buffer): Revert last patch because the
2362 bug turned out to be an advertised feature (Elisp manual 28.14).
2363
335aff35
GM
23642012-03-22 Glenn Morris <rgm@gnu.org>
2365
2366 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2367 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2368
c676576a
LMI
23692012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2370
2371 * net/network-stream.el (network-stream-open-starttls): Make error
2372 message under Windows be less misleading.
2373
126f3d39
LW
23742012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2375
2376 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2377 understands (bug#9942).
2378
64fee311
CY
23792012-03-22 Chong Yidong <cyd@gnu.org>
2380
2381 * simple.el (end-of-visible-line): Handle return value of
2382 next-single-property-change properly (Bug#9371).
2383
a640d29a
KH
23842012-03-22 Kenichi Handa <handa@m17n.org>
2385
2386 * international/quail.el (quail-insert-kbd-layout): Fix previous
2387 change. To avoid unwanted bidi reordering, use
2388 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2389
39675016
DG
23902012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2393 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2394 (ruby-beginning-of-indent): Be more careful with the difference
2395 between word-boundary and symbol boundary.
2396 (ruby-mode-syntax-table): Make : a symbol constituent.
2397
0a6934fc 23982012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2399
3d008e4f
SM
2400 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2401
0a6934fc
SM
24022012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2403
af67c9d7
SM
2404 * progmodes/etags.el (tags-completion-at-point-function):
2405 Improve last fix.
2406
1acad97c
SM
2407 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2408
e298b5da
SS
24092012-03-21 Sam Steingold <sds@gnu.org>
2410
2411 * progmodes/etags.el (tags-completion-at-point-function):
2412 Avoid the error when point is inside the pattern.
2413
91d82a70
JY
24142012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2415
2416 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2417 line (Bug#10855).
2418
69188b79
CY
24192012-03-21 Drew Adams <drew.adams@oracle.com>
2420
2421 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2422
99fc91fe
AK
24232012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2424
2425 * ido.el (ido-set-current-directory, ido-read-internal)
2426 (ido-choose-completion-string, ido-completion-help): Handle nil
2427 value of ido-completion-buffer (Bug#11008).
2428
087bbb4c
SS
24292012-03-21 Sam Steingold <sds@gnu.org>
2430
2431 * window.el (switch-to-prev-buffer): Do not switch to a visible
2432 window previous buffer, just like with the frame previous buffers.
2433
fb5b8aca
CY
24342012-03-21 Chong Yidong <cyd@gnu.org>
2435
2436 * faces.el (make-face, make-empty-face, copy-face):
2437 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2438 Doc fixes.
2439
dc9924b8
SM
24402012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2443 (widget-complete): Remove broken use of it.
2444
f0bcceb9
CY
24452012-03-20 Chong Yidong <cyd@gnu.org>
2446
dc9924b8
SM
2447 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2448 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2449 characters.
2450
ee52ebf3
TH
24512012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2452
2453 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2454 to draw rectangles, not squares. (Regression introduced by revno
2455 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2456
4c5779ab
CY
24572012-03-18 Chong Yidong <cyd@gnu.org>
2458
2459 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2460 it is not yet defined (for temacs).
2461
15360934
LL
24622012-03-18 Leo Liu <sdl.web@gmail.com>
2463
dc9924b8 2464 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2465
d9a8eb66
EZ
24662012-03-17 Eli Zaretskii <eliz@gnu.org>
2467
2468 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2469 (ispell-choices-win-default-height, ispell-silently-savep)
2470 (ispell-dictionary-alist, ispell-encoding8-command)
2471 (ispell-check-version, ispell-aspell-find-dictionary)
2472 (ispell-valid-dictionary-list, ispell-words-keyword)
2473 (ispell-get-word, ispell-internal-change-dictionary)
2474 (ispell-region, ispell-skip-region-list)
2475 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2476 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2477 (ispell-message-text-end, ispell-message)
2478 (ispell-buffer-local-parsing): Doc fix.
2479
f02ff80d
J
24802012-03-13 Jambunathan K <kjambunathan@gmail.com>
2481
2482 * htmlfontify.el: Add support for code block fontification for ODT
2483 export (Bug #9914).
2484 (hfy-optimisations): Define new option
2485 `body-text-only'
2486 (hfy-fontify-buffer): Honor above setting.
2487 (hfy-begin-span, hfy-end-span): New routines factored out form
2488 `hfy-fontify-buffer'.
2489 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2490 that permit insertion of custom tags.
2491 (hfy-fontify-buffer): Use above handlers.
2492 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2493 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2494 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2495 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2496 bind a special variable `hfy-user-sheet-assoc'.
2497 (htmlfontify-string): New defun.
2498 (hfy-compile-face-map): Make sure that the last char in the
2499 buffer is correctly fontified.
2500 (hfy-face-resolve-face): Whitespace only change.
2501
9ac7a13f
EZ
25022012-03-17 Eli Zaretskii <eliz@gnu.org>
2503
2504 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2505 message more clear.
2506
e2b5bdd7
LL
25072012-03-16 Leo Liu <sdl.web@gmail.com>
2508
2509 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2510
2e492df3
AM
25112012-03-16 Alan Mackenzie <acm@muc.de>
2512
2513 Further optimise the handling of large macros.
2514
2515 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2516 limit to a call of `c-literal-limits'.
2517 (c-determine-+ve-limit): New function.
dc9924b8
SM
2518 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2519 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2520 In CASE 5B, restrict a search limit to 500.
2521 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2522
2523 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2524 Restrict macro bounds to +-500 from after-change's BEG END.
2525
50e94f0c
LL
25262012-03-16 Leo Liu <sdl.web@gmail.com>
2527
2528 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2529
6f09f6ed
AH
25302012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2531
2532 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2533 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2534
c7e73d51
GM
25352012-03-16 Glenn Morris <rgm@gnu.org>
2536
da986230
GM
2537 * view.el (view-buffer, view-buffer-other-window)
2538 (view-buffer-other-frame): Doc fixes re special mode-class.
2539
0835f01e
GM
2540 * subr.el (eval-after-load): If named feature is provided not from
2541 a file, run after-load forms. (Bug#10946)
2542
c7e73d51
GM
2543 * calendar/calendar.el (calendar-insert-at-column):
2544 Handle non-unit-width characters a bit better. (Bug#10978)
2545
3f2eafd1
CY
25462012-03-15 Chong Yidong <cyd@gnu.org>
2547
2548 * emacs-lisp/ring.el (ring-extend): New function.
2549 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2550
2551 * comint.el (comint-read-input-ring)
2552 (comint-add-to-input-history): Grow comint-input-ring lazily.
2553
103af3fe
SM
25542012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2555
663b1677
SM
2556 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2557 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2558
103af3fe
SM
2559 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2560 (imenu-add-to-menubar): Don't add a redundant index.
2561 (imenu-update-menubar): Handle a dynamically composed keymap.
2562
899cb7cb
KY
25632012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2564
2565 * mail/sendmail.el (mail-encode-header):
2566 Bind rfc2047-encode-encoded-words to nil.
2567
3809f91d
GM
25682012-03-13 Glenn Morris <rgm@gnu.org>
2569
2570 * calendar/calendar.el (calendar-string-spread):
2571 Handle non-unit-width characters a bit better. (Bug#10978)
2572
9e345a01
LL
25732012-03-13 Leo Liu <sdl.web@gmail.com>
2574
2575 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2576 directory and file as argument (Bug#10822).
2577
4a07df36
KS
25782012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2579
2580 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2581 For dynamically generated code, follow $PC.
2582 (gdb-disassembly-handler-custom): Handle no function name case.
2583
4aaa9356
TL
25842012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2585
2586 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2587 * emulation/ws-mode.el (ws-query-replace):
2588 * sort.el (sort-regexp-fields):
2589 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2590
225979da
SM
25912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * dabbrev.el: Fix cycle completion order (bug#10963).
2594 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2595 (dabbrev-completion): Don't use an obarray; provide
2596 a cycle-sort-function.
2597
e2f1fdab
LL
25982012-03-12 Leo Liu <sdl.web@gmail.com>
2599
dc9924b8 2600 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2601 (kill-do-not-save-duplicates): Doc fix.
2602
b19490ed
SM
26032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * dabbrev.el: Fix cycle completion (bug#10963).
2606 Use lexical binding and wrap to 80 columns.
2607 (dabbrev-completion): Delay computing the list of completions.
2608
4b05d722
KH
26092012-03-12 Kenichi Handa <handa@m17n.org>
2610
2611 * international/quail.el (quail-insert-kbd-layout): Surround each
2612 row by LRO and PDF instead of inserting many LRMs. Pad the left
2613 and right of each non-spacing marks. Insert invisible space
2614 between lower and upper characters to prevent composition.
2615
dbbc2e69
SM
26162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * minibuffer.el (minibuffer-complete): Don't get confused when the
2619 function is run twice via different commands (bug#10958).
2620 (complete-with-action): Fix docstring.
2621
292112ed
CY
26222012-03-12 Chong Yidong <cyd@gnu.org>
2623
5d1ac394
CY
2624 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2625 (nxml-completion-at-point-function): New function.
2626 (nxml-mode): Use it.
2627 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2628
292112ed
CY
2629 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2630 Load generated autoloads file before byte compiling (Bug#10970).
2631 (package--make-autoloads-and-compile): New helper fun.
2632
4098f8f7
CS
26332012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2634
2635 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2636
8f754691
MA
26372012-03-11 Michael Albinus <michael.albinus@gmx.de>
2638
2639 * autorevert.el (auto-revert-handler): Ensure, that
2640 file-readable-p is applied only for local files or in
2641 auto-revert-tail-mode.
2642
e29ab36b
AS
26432012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2644
dbbc2e69
SM
2645 * server.el (server-eval-at): Handle non-tcp connections.
2646 Decode result string.
ad0bf5b6 2647
e29ab36b
AS
2648 * server.el (server-msg-size): New constant.
2649 (server-reply-print): New function.
2650 (server-eval-and-print): Use it.
2651 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2652 Handle -print-nonl.
2653
de5939ba
CS
26542012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2655
2656 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2657 (Bug#10987).
2658
0c93eabf
CY
26592012-03-11 Chong Yidong <cyd@gnu.org>
2660
397a688f
CY
2661 * simple.el (goto-line): Doc fix (Bug#9938).
2662
2cc775f9
CY
2663 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2664
0c93eabf
CY
2665 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2666 when finished (Bug#10963).
2667
c491fa41
MR
26682012-03-11 Martin Rudalics <rudalics@gmx.at>
2669
2670 * window.el (split-window-below): Fix bug in case where
2671 split-window-keep-point is nil (Bug#10971).
2672
300e8fa5
JL
26732012-03-11 Juri Linkov <juri@jurta.org>
2674
2675 * replace.el (replace-highlight): Set isearch-word to nil
2676 unconditionally. (Bug#10887)
2677
dbf6c5a1
EZ
26782012-03-10 Eli Zaretskii <eliz@gnu.org>
2679
2680 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2681 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2682 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2683 (mairix-widget-create-query): Add usage information about mairix
2684 search forms: negating words, searching for substrings, etc.
2685
b9e501de
JP
26862012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2687
2688 * international/fontset.el (font-encoding-alist): Add an entry for
2689 ksx1001 (Bug#5667).
2690
92795c91
RS
26912012-03-10 Richard Stallman <rms@gnu.org>
2692
1694e6c1
RS
2693 * mail/sendmail.el (mail-encode-header):
2694 Set rfc2047-encode-encoded-words.
2695
607e8555
RS
2696 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2697
de3bc99a
RS
2698 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2699 view buffer means not swapped.
2700 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2701 (rmail-write-region-annotate): Error if real text has disappeared.
2702
92795c91
RS
2703 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2704
699bd04e
CY
27052012-03-10 Chong Yidong <cyd@gnu.org>
2706
2707 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2708 * emulation/cua-base.el (cua--init-keymaps):
2709 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2710
570a1714
MR
27112012-03-10 Martin Rudalics <rudalics@gmx.at>
2712
dbbc2e69
SM
2713 * speedbar.el (speedbar-unhighlight-one-tag-line):
2714 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2715
82dcf4e4
CY
27162012-03-10 Chong Yidong <cyd@gnu.org>
2717
7a2c7ca7
CY
2718 * minibuffer.el (completion-in-region, completion-help-at-point):
2719 Give the completion field overlay a high priority (Bug#6830).
2720
82dcf4e4
CY
2721 * dired.el (dired-goto-file): Recognize absolute file name
2722 listings (Bug#7126).
2723 (dired-goto-file-1): New helper function.
2724 (dired-toggle-read-only): Inhibit warnings.
2725
052e28ac
MA
27262012-03-09 Michael Albinus <michael.albinus@gmx.de>
2727
75f1671a 2728 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2729 there are no properties.
2730
95d5e396
LL
27312012-03-09 Leo Liu <sdl.web@gmail.com>
2732
2733 * savehist.el (savehist-printable): Stricter check for string
2734 value (Bug#10937).
2735
3f018d6d
EZ
27362012-03-09 Eli Zaretskii <eliz@gnu.org>
2737
dbbc2e69
SM
2738 * mail/smtpmail.el (smtpmail-send-it):
2739 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2740 valid mbox format.
2741
f7fd3d79
GM
27422012-03-09 Glenn Morris <rgm@gnu.org>
2743
2744 * files.el (dir-locals-find-file):
2745 Don't check result is regular, readable.
2746 (dir-locals-read-from-file): Demote errors.
2747
6ff6e72f
EZ
27482012-03-08 Eli Zaretskii <eliz@gnu.org>
2749
dbbc2e69
SM
2750 * international/quail.el (quail-insert-kbd-layout):
2751 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2752 layout cell, to prevent their reordering by bidi display engine.
2753 For details, see the discussion in
2754 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2755
9cec7834
AM
27562012-03-08 Alan Mackenzie <acm@muc.de>
2757
2758 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2759 the starting position; make it extend the marked region when
2760 invoked repeatedly - all under appropriate circumstances.
2761 Fixes bugs #5525, #10906.
2762
9a40b8d4
GM
27632012-03-08 Glenn Morris <rgm@gnu.org>
2764
2765 * files.el (locate-dominating-file, dir-locals-find-file):
2766 Undo 2012-03-06 change.
2767
7a08ed35
EZ
27682012-03-07 Eli Zaretskii <eliz@gnu.org>
2769
dbbc2e69
SM
2770 * international/quail.el (quail-help):
2771 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2772 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2773 for the reason.
2774
5aca4f71 27752012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2776
2777 Avoid superfluous registering of signals. (Bug#10807)
2778
2779 * notifications.el (notifications-on-action-object)
2780 (notifications-on-close-object): New defvars.
2781 (notifications-on-action-signal, notifications-on-closed-signal):
2782 Unregister the signal if not needed any longer.
2783 (notifications-notify): Register `notifications-action-signal' or
2784 `notifications-closed-signal', if :on-action or :on-close has been
2785 passed as argument.
2786
78e8b10a
CY
27872012-03-07 Chong Yidong <cyd@gnu.org>
2788
2789 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2790 non-X platforms.
2791
69481eb8
GM
27922012-03-06 Glenn Morris <rgm@gnu.org>
2793
2794 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2795 (x-disown-selection-internal, x-get-selection-internal):
2796 Doc fix (add arglist signatures). (Bug#10783)
2797
133b8e11
KS
27982012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2799
2800 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2801 Handle breakpoints with no "type".
2802
99a83064
GM
28032012-03-06 Glenn Morris <rgm@gnu.org>
2804
2805 * files.el (locate-dominating-file): Add optional predicate argument.
2806 (dir-locals-find-file): Make use of above change.
2807
17798e78
TTN
28082012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2809
2810 * info.el (Info-insert-dir): Also try "dir.gz".
2811
eb182446
GM
28122012-03-06 Glenn Morris <rgm@gnu.org>
2813
8f2114ee
GM
2814 * files.el (dir-locals-find-file):
2815 Ignore non-readable or non-regular files. (Bug#10928)
2816
eb182446
GM
2817 * files.el (locate-dominating-file): Doc fix.
2818
24679323
AS
28192012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2820
2821 * calendar/calendar.el (calendar-set-mode-line):
2822 `getenv' returns a string. (Bug#10951)
2823
01d972a9
LL
28242012-03-05 Leo Liu <sdl.web@gmail.com>
2825
109aa8a9
LL
2826 * simple.el (backward-delete-char-untabify): Constrain point to
2827 field (Bug#10939).
2828
01d972a9
LL
2829 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2830
10607bea
CY
28312012-03-05 Chong Yidong <cyd@gnu.org>
2832
2833 * simple.el (count-words): If called from Lisp, return the word
2834 count, for symmetry with `count-lines'. Arglist changed.
2835 (count-words--message): Args changed. Consolidate counting code
2836 from count-words and count-words-region.
2837 (count-words-region): Caller changed.
2838 (count-lines-region): Make it an obsolete alias.
2839
5dd11cfe
TH
28402012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2841
2842 * saveplace.el (save-place-to-alist)
2843 (save-place-ignore-files-regexp): Allow value nil to disable this
2844 feature.
2845
c349f4e6
CY
28462012-03-04 Chong Yidong <cyd@gnu.org>
2847
2848 * faces.el (face-spec-reset-face): For the default face, reset the
2849 attributes to default values (Bug#10748).
2850
e627be4c
LMI
28512012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2852
2853 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2854 previous patch: Check `message-send-mail-function', and not the
2855 default function (bug#10897).
2856
ebeabff4
MA
28572012-03-04 Michael Albinus <michael.albinus@gmx.de>
2858
a41a6cf4
MA
2859 * notifications.el (notifications-on-action-signal)
2860 (notifications-on-closed-signal): Check for unique service name of
2861 incoming event. Fix error in removing entry.
ebeabff4 2862 (top): Register for signals with wildcard service name.
a41a6cf4 2863 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2864
c1ca42b4
CY
28652012-03-04 Chong Yidong <cyd@gnu.org>
2866
dc9924b8 2867 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2868
ea16568d
GM
28692012-03-04 Glenn Morris <rgm@gnu.org>
2870
2871 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2872 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2873 (expand-abbrev, define-abbrev-table): Doc fixes.
2874
fbae4637
LMI
28752012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2876
2877 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2878 `message-default-send-mail-function' and not `send-mail-function'
2879 when doing the prompting for `sendmail-query-once' before sending
2880 in Message buffers (bug#10897).
2881
a1e7225c
LMI
2882 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2883 This is inconsistent with all the other stream functions, which leave
2884 the setting up to the higher levels (if so wanted) (bug#10931).
2885
56d093a9
AM
28862012-03-02 Alan Mackenzie <acm@muc.de>
2887
2888 Depessimize the handling of very large macros.
2889
2890 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2891 (c-macro-cache-syntactic): New variables to implement a one
2892 element macro cache.
2893 (c-invalidate-macro-cache): New function.
2894 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2895 Adapt to use the new cache.
2896 (c-state-safe-place): Use better the cache of safe positions.
2897 (c-state-semi-nonlit-pos-cache)
2898 (c-state-semi-nonlit-pos-cache-limit):
2899 New variables for...
2900 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2901 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2902 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2903 Use c-state-semi-safe-place.
56d093a9 2904
dbbc2e69
SM
2905 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2906 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2907
817e5c3d
MA
29082012-03-02 Michael Albinus <michael.albinus@gmx.de>
2909
dbbc2e69
SM
2910 * jka-compr.el (jka-compr-call-process):
2911 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2912 not remote.
2913
a032a702
MA
29142012-03-01 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2917 access of FILE2, if FILE1 does not exist.
2918
99a54f21
MA
2919 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2920 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2921
2922 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2923 Add "PAGER=" to `process-environment'.
2924
f6561e1f
MM
29252012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2926
2927 * progmodes/sql.el: Bug fix
2928 (sql-get-login-ext): Save login values in globals.
2929 (sql-get-login): Use new version of `sql-get-login-ext'.
2930 (sql-interactive-mode): Set global `sql-connection' to nil.
2931 (sql-connect): Set global values for connection.
2932 (sql-product-interactive): Save global values as buffer local.
2933
2d44d9cc
LL
29342012-02-29 Leo Liu <sdl.web@gmail.com>
2935
2936 * abbrev.el (define-abbrevs): Reset sys to nil.
2937
96b49301 29382012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2939
bf7f9bc5
JB
2940 * files.el (file-equal-p): Rename from `files-equal-p'.
2941 Return nil when one or both files don't exist.
96b49301 2942 (file-subdir-of-p): Now only top directory must exists,
2943 return nil if it doesn't.
bf7f9bc5
JB
2944 (copy-directory): No need to test with `file-subdir-of-p' after
2945 creating dir.
2946 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2947 to `file-equal-p'.
96b49301 2948
44e97401
GM
29492012-02-28 Glenn Morris <rgm@gnu.org>
2950
2951 * shell.el (shell-mode):
2952 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2953 * play/landmark.el (landmark-font-lock-face-O):
2954 * play/handwrite.el (handwrite):
2955 * play/gomoku.el (gomoku-O):
2956 * net/browse-url.el (browse-url-browser-display):
2957 * international/mule.el (define-charset):
2958 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2959 * filesets.el (filesets-find-file-delay):
2960 * eshell/em-xtra.el (eshell-xtra):
2961 * eshell/em-unix.el (eshell-grep):
2962 * emulation/viper.el (viper-mode):
2963 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2964 * emacs-lisp/easymenu.el (easy-menu-define):
2965 * calendar/timeclock.el (timeclock-use-display-time):
2966 * bs.el (bs-mode):
2967 * bookmark.el (bookmark-save-flag):
2968 Doc fix (standardize possessive apostrophe usage).
2969
c98c6276
CY
29702012-02-27 Chong Yidong <cyd@gnu.org>
2971
bf7f9bc5
JB
2972 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2973 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2974
c98c6276
CY
2975 * font-lock.el (font-lock-specified-p): Rename from
2976 font-lock-spec-present. Callers changed.
2977
9c62cd04 29782012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2979
bf7f9bc5
JB
2980 * emacs-lisp/package.el (package-compute-transaction):
2981 Handle holding a package version to t in package-load-list.
8ac9e529 2982
530739c9
MA
29832012-02-26 Michael Albinus <michael.albinus@gmx.de>
2984
2985 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2986 (tramp-get-inode, tramp-get-device): Use cached values.
2987
487915d7
AM
29882012-02-26 Alan Mackenzie <acm@muc.de>
2989
2990 Check there is a font-lock specification before doing initial
2991 fontification.
2992
2993 * font-core.el (font-lock-mode): Move the conditional from
2994 :after-hook to font-lock-initial-fontify.
2995 (font-lock-default-function): Move the check for a specification
2996 to font-lock-spec-present.
2997
dc9924b8 2998 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2999 (font-lock-spec-present): New function.
3000
4fd96557
JB
30012012-02-26 Jim Blandy <jimb@red-bean.com>
3002
3003 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3004 (gdb-send): Apply it to the operand of the '-interpreter-exec
3005 console' command, so that we can pass arguments with (say) quotes
3006 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3007
9a4888c0
CY
30082012-02-26 Chong Yidong <cyd@gnu.org>
3009
07498861
CY
3010 * help-fns.el (describe-function-1): Clarify description of
3011 remapping (Bug#10844).
3012
9a4888c0
CY
3013 * files.el (files-equal-p): Doc fix.
3014 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3015 and quit the loop once a mismatch is found.
3016
ea8fb88d
JB
30172012-02-25 Juanma Barranquero <lekktu@gmail.com>
3018
3019 * bs.el (bs--show-with-configuration): Don't throw an error
3020 if the window cannot be split; otherwise, subsequent calls to
3021 bs-show fail, restoring a stale window config. (Bug#10882)
3022
525795c1
JD
30232012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3024
3025 * term/ns-win.el (global-map): Bind ns-drag-file to
3026 ns-find-file (Bug#5855, Bug#10050).
3027
f008086f
AS
30282012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3029
3030 * calendar/parse-time.el (parse-time-string): Allow extractor to
3031 return nil.
3032
a3fcfa99
MA
30332012-02-25 Michael Albinus <michael.albinus@gmx.de>
3034
91027d08
JB
3035 * net/tramp.el (tramp-file-name-for-operation):
3036 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3037
3038 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3039 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3040 Add COPY-CONTENTS argument.
a3fcfa99 3041
67b0de11
CY
30422012-02-25 Chong Yidong <cyd@gnu.org>
3043
3044 Add custom groups for VC backends, for consistency with vc-bzr.
3045
3046 * vc/vc-arch.el (vc-arch):
3047 * vc/vc-cvs.el (vc-cvs):
3048 * vc/vc-git.el (vc-git):
3049 * vc/vc-hg.el (vc-hg):
3050 * vc/vc-mtn.el (vc-mtn):
3051 * vc/vc-rcs.el (vc-rcs):
3052 * vc/vc-sccs.el (vc-sccs):
3053 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3054 All relevant defcustoms reassigned.
3055
3c9dfce6
CY
30562012-02-25 Chong Yidong <cyd@gnu.org>
3057
1339bf43
CY
3058 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3059
3c9dfce6
CY
3060 * term/x-win.el (x-initialize-window-system): Reduce default for
3061 x-selection-timeout to 5 seconds (Bug#8869).
3062
25b2e303 30632012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3064
ec70a47d
GM
3065 * files.el (files-equal-p, file-subdir-of-p): New functions.
3066 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3067 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3068 * dired-aux.el (dired-copy-file-recursive): Same.
3069 (dired-create-files): Modify destination when source is equal to
3070 dest when copying files.
53a46cd0 3071 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3072
914260cd
MA
30732012-02-24 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3076 (Bug#10874)
3077
2cb228f7
AM
30782012-02-23 Alan Mackenzie <acm@muc.de>
3079
3080 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3081 parameter "after-hook:" to allow the expansion to run code after
3082 the execution of the mode hooks.
3083
3084 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3085 from font-lock-mode-internal.
2cb228f7 3086
91027d08 3087 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3088 :after-hook.
3089
8f0fde21
SM
30902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3e88618b
SM
3092 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3093 (completion--cache-all-sorted-completions): New function.
3094 (completion-all-sorted-completions): Use it.
3095 (completion--do-completion, minibuffer-force-complete):
3096 Use it to re-instate the flush hook.
3097
8f0fde21
SM
3098 * icomplete.el (icomplete-completions): Replace last fix with a better
3099 one (bug#10850).
3100
8e911f6f
DG
31012012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3102
3103 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3104 when it might call us back infinitely (bug#10797).
3105
49fe4321
GM
31062012-02-23 Glenn Morris <rgm@gnu.org>
3107
3108 * minibuffer.el (completion-category-overrides): Doc fix.
3109
b291b572
SM
31102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3113 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3114
31a9ef2e
GM
31152012-02-23 Glenn Morris <rgm@gnu.org>
3116
5e6e6794 3117 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3118 (authors-obsolete-files-regexps, authors-ignored-files)
3119 (authors-ambiguous-files, authors-renamed-files-alist):
3120 Add more entries.
3121
0bd1e074
JL
31222012-02-23 Juri Linkov <juri@jurta.org>
3123
3124 * isearch.el (isearch-occur): Sync interactive spec with occur's
3125 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3126
b617673c
JL
3127 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3128
19e9789e
JL
31292012-02-22 Juri Linkov <juri@jurta.org>
3130
3131 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3132 (ucs-insert): Doc fix. Check for hex digits in the string.
3133 Don't display `nil' in the error message. (Bug#10857)
3134
f41ce09d
AM
31352012-02-22 Alan Mackenzie <acm@muc.de>
3136
7a71b18d 3137 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3138
ac2eceee
GM
31392012-02-22 Glenn Morris <rgm@gnu.org>
3140
3141 * ffap.el (ffap-c-path):
3142 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3143
abd1f678
CY
31442012-02-22 Chong Yidong <cyd@gnu.org>
3145
3146 * custom.el (load-theme): Doc fix.
3147
f25aef2e
GM
31482012-02-22 Glenn Morris <rgm@gnu.org>
3149
3150 * dired-x.el (dired-guess-shell-alist-default):
3151 Remove escape sequences from nroff output. (Bug#172)
3152
5f8dc2ca
GM
31532012-02-21 Glenn Morris <rgm@gnu.org>
3154
6ff86ec4
GM
3155 * vc/emerge.el (emerge-defvar-local):
3156 Set `permanent-local' property rather than unused `preserved'.
3157
be3223a3 3158 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3159 (picture-mode-map): Use it. (Bug#10860)
3160 (picture-mode): Doc fix.
3161
3fe58f4f
JB
31622012-02-21 Juanma Barranquero <lekktu@gmail.com>
3163
3164 * newcomment.el (uncomment-region-default): Remove unused binding.
3165
f9a998c3
GM
31662012-02-21 Glenn Morris <rgm@gnu.org>
3167
3168 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3169 (picture-self-insert, picture-tab-chars): Doc fix.
3170 (picture-mode-map): Fix C-a, C-e.
3171
c6029348
GM
31722012-02-20 Glenn Morris <rgm@gnu.org>
3173
3174 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3175
ab1ce9d7
LL
31762012-02-20 Leo Liu <sdl.web@gmail.com>
3177
3178 * icomplete.el (icomplete-completions): Check FROM arg before
3179 passing to substring (Bug#10850).
3180
0fd40f89
CY
31812012-02-19 Chong Yidong <cyd@gnu.org>
3182
3183 * comint.el: Require ansi-color.
3184 (comint-output-filter-functions): Add ansi-color-process-output.
3185
3186 * ansi-color.el: Don't set comint-output-filter-functions; it is
3187 now in the initial value defined in comint.el.
3188 (ansi-color-apply-face-function): New variable.
3189 (ansi-color-apply-on-region): Use it.
3190 (ansi-color-apply-overlay-face): New function.
3191
3192 * shell.el (shell): No need to require ansi-color.
3193 (shell-mode): Use ansi-color-apply-face-function to highlight
3194 color escapes using font-lock-face property (Bug#10835).
3195
20af2394
CY
31962012-02-19 Chong Yidong <cyd@gnu.org>
3197
3198 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3199 mode-line formats (Bug#10839).
3200
e23a3fbe
GM
32012012-02-18 Glenn Morris <rgm@gnu.org>
3202
b474519e
GM
3203 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3204
3205 * mail/undigest.el (unforward-rmail-message): Doc fix.
3206
e23a3fbe
GM
3207 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3208
57939ff4
EZ
32092012-02-18 Eli Zaretskii <eliz@gnu.org>
3210
3211 * international/characters.el (script-list): Sync with the latest
3212 Unicode Character Database.
3213
0c23686e
AS
32142012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3215
3216 * international/titdic-cnv.el: Remove duplicate coding tag.
3217 * language/cham.el: Likewise.
3218 * language/tai-viet.el: Likewise.
3219
6818b449
GM
32202012-02-18 Glenn Morris <rgm@gnu.org>
3221
3222 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3223 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3224 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3225 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3226 * calendar/holidays.el (holiday-bahai-holidays)
3227 (calendar-holidays, list-holidays):
3228 Use utf-8 Bahá'í in doc-strings, menus, etc.
3229
0311a3fc
TH
32302012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3231
3232 * saveplace.el (save-place-ignore-files-regexp): New variable
3233 allowing for excluding files from saving their location of point.
3234 The default value matches the temporary commit message editing
3235 files from Git, SVN, Bazaar, and Mercurial.
3236 (save-place-to-alist): Use it.
3237
eb864a71
LM
32382012-02-17 Lawrence Mitchell <wence@gmx.li>
3239 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * newcomment.el (uncomment-region-default): Don't leave extra space
3242 when an arg is provided (bug#8150).
3243
ee0ce425
TZ
32442012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3245
eb864a71 3246 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3247
95ddf442
GM
32482012-02-17 Glenn Morris <rgm@gnu.org>
3249
3250 * net/socks.el: Require network-stream. (Bug#10599)
3251
48dd1e39 32522012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3253
3254 * international/charprop.el:
3255 * international/uni-name.el:
3256 * international/uni-old-name.el:
3257 * international/uni-comment.el: Regenerate.
3258
d68cd087
GM
32592012-02-16 Glenn Morris <rgm@gnu.org>
3260
3261 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3262 Interactively in calendar buffer, give an error if not on a date.
3263
13932042
GM
32642012-02-15 Glenn Morris <rgm@gnu.org>
3265
3266 * shell.el (shell-delimiter-argument-list):
3267 Revert 2011-02-17 change. (Bug#8027)
3268
c3a70e2b
CY
32692012-02-15 Chong Yidong <cyd@gnu.org>
3270
60236b0d
CY
3271 * minibuffer.el (completion-at-point-functions): Doc fix.
3272
c3a70e2b
CY
3273 * custom.el (defcustom): Doc fix; note use of defvar.
3274
9f26dc24
GM
32752012-02-15 Glenn Morris <rgm@gnu.org>
3276
3277 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3278 Doc fixes.
3279
6546b134
GM
32802012-02-14 Glenn Morris <rgm@gnu.org>
3281
3282 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3283
d29b2b4c
LI
32842012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3285
3286 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3287 way the ports list is computed.
835bdcba
LI
3288 (smtpmail-query-smtp-server): Prompt the user for a port number if
3289 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3290
08dcdbc9
TZ
32912012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3292
3293 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3294
2605051a
GM
32952012-02-13 Glenn Morris <rgm@gnu.org>
3296
3297 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3298
7ee99f32
TZ
32992012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3300
3301 * net/gnutls.el (gnutls-trustfiles): New variable.
3302 (gnutls-negotiate): Use it.
3303
5f0af64f
LI
33042012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3305
3306 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3307 does its stuff if Gnus is running.
3308
c14fcc95
AM
33092012-02-13 Alan Mackenzie <acm@muc.de>
3310
3311 Fix a loop in c-set-fl-decl-start.
3312
7a71b18d 3313 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3314 c-backward-syntactic-ws actually moves backwards.
3315
142b4d90
LL
33162012-02-13 Leo Liu <sdl.web@gmail.com>
3317
3318 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3319 beginning so that all \C-o chars are removed.
3320
fa9958a6
TZ
33212012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3322
dc9924b8 3323 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3324
0bc5886a
AM
33252012-02-12 Alan Mackenzie <acm@muc.de>
3326
3327 Fix infinite loop with long macros.
4d6769e1 3328 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3329
d4bd55e7
CY
33302012-02-12 Chong Yidong <cyd@gnu.org>
3331
3332 * window.el (display-buffer): Doc fix (Bug#10785).
3333
66f3fe22
GM
33342012-02-12 Glenn Morris <rgm@gnu.org>
3335
bd7da63e
GM
3336 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3337 (x-disown-selection-internal, x-get-selection-internal):
3338 Sync docs with the xselect.c versions.
3339
66f3fe22
GM
3340 * allout-widgets.el: Add missing license notice.
3341
3e0d2fa7
GM
33422012-02-11 Glenn Morris <rgm@gnu.org>
3343
cfecdf09
GM
3344 * select.el (x-get-selection-internal, x-own-selection-internal)
3345 (x-disown-selection-internal):
3346 * x-dnd.el (x-get-selection-internal): Update declarations.
3347
6d216d7f
GM
3348 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3349
2bed3f04
GM
3350 * window.el (window-sides-slots):
3351 * tool-bar.el (tool-bar-position):
3352 * term/xterm.el (xterm-extra-capabilities):
3353 * ses.el (ses-self-reference-early-detection):
3354 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3355 (verilog-auto-wire-type)
3356 (verilog-auto-delete-trailing-whitespace)
3357 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3358 (verilog-auto-tieoff-declaration):
3359 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3360 (sql-oracle-statement-starters, sql-oracle-scan-on):
3361 * progmodes/prolog.el (prolog-align-comments-flag)
3362 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3363 (prolog-left-indent-regexp, prolog-paren-indent-p)
3364 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3365 (prolog-types, prolog-mode-specificators)
3366 (prolog-determinism-specificators, prolog-directives)
3367 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3368 (prolog-electric-dot-flag)
3369 (prolog-electric-dot-full-predicate-template)
3370 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3371 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3372 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3373 (prolog-program-switches, prolog-prompt-regexp)
3374 (prolog-debug-on-string, prolog-debug-off-string)
3375 (prolog-trace-on-string, prolog-trace-off-string)
3376 (prolog-zip-on-string, prolog-zip-off-string)
3377 (prolog-use-standard-consult-compile-method-flag)
3378 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3379 (prolog-imenu-max-lines, prolog-info-predicate-index)
3380 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3381 (prolog-char-quote-workaround):
3382 * progmodes/cc-vars.el (c-defun-tactic):
3383 * net/tramp.el (tramp-encoding-command-interactive)
3384 (tramp-local-end-of-line):
3385 * net/soap-client.el (soap-client):
3386 * net/netrc.el (netrc-file):
3387 * net/gnutls.el (gnutls):
3388 * minibuffer.el (completion-category-overrides)
3389 (completion-cycle-threshold)
3390 (completion-pcm-complete-word-inserts-delimiters):
3391 * man.el (Man-name-local-regexp):
3392 * mail/feedmail.el (feedmail-display-full-frame):
3393 * international/characters.el (glyphless-char-display-control):
3394 * eshell/em-ls.el (eshell-ls-date-format):
3395 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3396 (lisp-lambda-list-keyword-parameter-indentation)
3397 (lisp-lambda-list-keyword-parameter-alignment):
3398 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3399 * dired-x.el (dired-omit-verbose):
3400 * cus-theme.el (custom-theme-allow-multiple-selections):
3401 * calc/calc.el (calc-highlight-selections-with-faces)
3402 (calc-lu-field-reference, calc-lu-power-reference)
3403 (calc-note-threshold):
3404 * battery.el (battery-mode-line-limit):
3405 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3406 (archive-7z-update):
3407 * allout.el (allout-prefixed-keybindings)
3408 (allout-unprefixed-keybindings)
3409 (allout-inhibit-auto-fill-on-headline)
3410 (allout-flattened-numbering-abbreviation):
3411 * allout-widgets.el (allout-widgets-auto-activation)
3412 (allout-widgets-icons-dark-subdir)
3413 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3414 (allout-widgets-theme-dark-background)
3415 (allout-widgets-theme-light-background)
3416 (allout-widgets-item-image-properties-emacs)
3417 (allout-widgets-item-image-properties-xemacs)
3418 (allout-widgets-run-unit-tests-on-load)
3419 (allout-widgets-time-decoration-activity)
3420 (allout-widgets-hook-error-post-time)
3421 (allout-widgets-track-decoration):
3422 Add missing :version tags to new defcustoms and defgroups.
3423
5fec1b8e
GM
3424 * progmodes/sql.el (sql-ansi-statement-starters)
3425 (sql-oracle-statement-starters): Add custom type.
3426
3e0d2fa7
GM
3427 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3428 (prolog-system-version): Give it a type.
3429
90b671e2
EZ
34302012-02-11 Eli Zaretskii <eliz@gnu.org>
3431
3432 * term/pc-win.el (x-select-text, x-selection-owner-p)
3433 (x-own-selection-internal, x-disown-selection-internal)
3434 (x-get-selection-internal): Sync doc strings and argument lists
3435 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3436
5eac0c02
LL
34372012-02-11 Leo Liu <sdl.web@gmail.com>
3438
3439 * progmodes/python.el (python-end-of-statement): Fix infinite
3440 loop. (Bug#10788)
3441
f82cb659
GM
34422012-02-10 Glenn Morris <rgm@gnu.org>
3443
3444 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3445 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3446
cc26d239
LI
34472012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3448
3449 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3450 about SMTP before checking the From header.
3451
91027d08 3452 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3453 into own function for reuse by emacsbug.el.
3454
1be3ca5a
LL
34552012-02-10 Leo Liu <sdl.web@gmail.com>
3456
3457 * subr.el (condition-case-unless-debug): Rename from
3458 condition-case-no-debug. All callers changed.
3459 (with-demoted-errors): Fix caller.
3460
3461 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3462 * nxml/rng-valid.el (rng-do-some-validation):
3463 * emacs-lisp/package.el (package-refresh-contents)
3464 (package-menu-execute):
3465 * desktop.el (desktop-create-buffer):
91027d08 3466 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3467
b011fbfe
GM
34682012-02-10 Glenn Morris <rgm@gnu.org>
3469
b2096d72
GM
3470 * textmodes/bibtex.el:
3471 Add missing :version tags for new/changed defcustoms.
3472
b011fbfe
GM
3473 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3474
4c7e65bf
LI
34752012-02-09 Lars Ingebrigtsen <larsi@rusty>
3476
3477 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3478 (smtpmail-via-smtp): Use it, or fall back on the From address.
3479 (smtpmail-send-it): Ditto.
3480
f3934f6f
SM
34812012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3484 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3485 (byte-compile-tmp-var): New const.
3486 (byte-compile-defvar): Use it to minimize .elc size.
3487 Just use `defvar' rather than simulate it (bug#10761).
3488
a075a2c5
GM
34892012-02-09 Glenn Morris <rgm@gnu.org>
3490
cf3aa21b
GM
3491 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3492
354998cd
GM
3493 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3494 Add :version tags.
3495
dc9924b8
SM
3496 * progmodes/compile.el (compilation-error-screen-columns)
3497 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3498
dab3703d
GM
3499 * vc/log-view.el (log-view-toggle-entry-display):
3500 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3501
3f88cd72
GM
3502 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3503 (report-emacs-bug-can-use-xdg-email):
3504 (report-emacs-bug-insert-to-mailer): Doc fixes.
3505 (report-emacs-bug): Message fix.
3506
d95b247d
GM
3507 * net/browse-url.el (browse-url-can-use-xdg-open)
3508 (browse-url-xdg-open): Doc fixes.
3509
a075a2c5
GM
3510 * electric.el (electric-indent-mode, electric-pair-mode)
3511 (electric-layout-rules, electric-layout-mode): Doc fixes.
3512 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3513
ffb6157e
MR
35142012-02-08 Martin Rudalics <rudalics@gmx.at>
3515
3516 * server.el (server-unselect-display): Don't inadvertently kill
3517 the current buffer. (Bug#10729)
3518
e1ac4066
GM
35192012-02-08 Glenn Morris <rgm@gnu.org>
3520
34e8a2da
GM
3521 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3522 (sql-list-table): Doc fixes.
3523
b4ac6e8c
GM
3524 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3525 Comment out (does nothing).
3526
e1ac4066
GM
3527 * completion.el (dynamic-completion-mode):
3528 * dirtrack.el (dirtrack-debug-mode):
3529 * electric.el (electric-layout-mode):
3530 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3531 * face-remap.el (text-scale-mode, buffer-face-mode):
3532 * iimage.el (iimage-mode):
3533 * image-mode.el (image-transform-mode):
3534 * minibuffer.el (completion-in-region-mode):
3535 * scroll-lock.el (scroll-lock-mode):
3536 * simple.el (next-error-follow-minor-mode):
3537 * tar-mode.el (tar-subfile-mode):
3538 * tooltip.el (tooltip-mode):
3539 * vcursor.el (vcursor-use-vcursor-map):
3540 * wid-browse.el (widget-minor-mode):
3541 * emulation/tpu-edt.el (tpu-edt-mode):
3542 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3543 * international/iso-ascii.el (iso-ascii-mode):
3544 * language/thai-util.el (thai-word-mode):
3545 * mail/supercite.el (sc-minor-mode):
3546 * net/goto-addr.el (goto-address-mode):
3547 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3548 * progmodes/cwarn.el (cwarn-mode):
3549 * progmodes/flymake.el (flymake-mode):
3550 * progmodes/glasses.el (glasses-mode):
3551 * progmodes/hideshow.el (hs-minor-mode):
3552 * progmodes/pascal.el (pascal-outline-mode):
3553 * textmodes/enriched.el (enriched-mode):
3554 * vc/smerge-mode.el (smerge-mode):
3555 Doc fixes (minor mode argument).
3556
5e0d957f
EZ
35572012-02-07 Eli Zaretskii <eliz@gnu.org>
3558
3559 * ls-lisp.el (ls-lisp-sanitize): New function.
3560 (ls-lisp-insert-directory): Use it to fix or remove any elements
3561 in file-alist with missing attributes. (Bug#4673)
3562
98d7371e
AM
35632012-02-07 Alan Mackenzie <acm@muc.de>
3564
3565 Fix spurious recognition of c-in-knr-argdecl.
3566
3567 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3568 putative K&R region.
3569
667ced3a
AM
35702012-02-07 Alan Mackenzie <acm@muc.de>
3571
eb864a71
LM
3572 * progmodes/cc-engine.el (c-forward-objc-directive):
3573 Prevent looping in "#pragma mark @implementation".
667ced3a 3574
5b77774d
MA
35752012-02-07 Michael Albinus <michael.albinus@gmx.de>
3576
3577 * notifications.el (notifications-on-closed-signal): Make `reason'
3578 optional. (Bug#10744)
3579
af008560
GM
35802012-02-07 Glenn Morris <rgm@gnu.org>
3581
60d47423
GM
3582 * emacs-lisp/easy-mmode.el (define-minor-mode):
3583 Doc fixes for the macro and the mode it defines.
3584
dd605cc4
GM
3585 * image.el (imagemagick-types-inhibit): Doc fix.
3586
af008560
GM
3587 * cus-start.el (imagemagick-render-type): Add it.
3588
5cc59a37
LI
35892012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3590
4d6769e1
JB
3591 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3592 Set the default at load time, too, so that `font-lock-fontify-buffer'
3593 can be called without setting up the entire mode first. This fixes
3594 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3595
9a6dd747
CY
35962012-02-06 Chong Yidong <cyd@gnu.org>
3597
2d16b285
CY
3598 * simple.el (list-processes--refresh): Delete exited processes
3599 (Bug#8094).
3600
171e9b6e
CY
3601 * comint.el (comint-next-prompt): next-single-char-property-change
3602 and prev-single-char-property-change never return nil (Bug#8657).
3603
9a6dd747
CY
3604 * custom.el (defcustom): Doc fix (Bug#9711).
3605
aa4589a7
CY
36062012-02-05 Chong Yidong <cyd@gnu.org>
3607
5c2a252f
CY
3608 * cus-edit.el (custom-variable-reset-backup): Quote the value
3609 before storing it in the customized-value property (Bug#6712).
4aab9006 3610 (custom-display): Add a customization type tag.
983b9602 3611 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3612
aa4589a7
CY
3613 * wid-edit.el (widget-field-value-get): New optional arg to
3614 suppress trailing whitespace truncation.
3615 (character): Use it (Bug#2689).
3616
1ff980ae
AS
36172012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3618
3619 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3620 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3621
03988c98
CY
36222012-02-05 Chong Yidong <cyd@gnu.org>
3623
eeb6cc88
CY
3624 * cus-edit.el (custom-variable-value-create): For mismatched
3625 types, show the current value (Bug#7600).
3626
03988c98
CY
3627 * custom.el (defcustom): Doc fix.
3628
f8cdeef0
GM
36292012-02-05 Glenn Morris <rgm@gnu.org>
3630
3631 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3632
0696d255
JB
36332012-02-05 Juanma Barranquero <lekktu@gmail.com>
3634
3635 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3636 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3637 (pp-last-sexp): Use `looking-at-p'.
3638
34c99998
GM
36392012-02-04 Glenn Morris <rgm@gnu.org>
3640
8f05da42
GM
3641 * files.el (revert-buffer):
3642 Doc fix (mention revert-buffer-in-progress-p).
3643
f160676e
GM
3644 * emacs-lisp/ert-x.el (ert-simulate-command):
3645 Check deferred-action-list (which is obsolete) is bound.
3646
c7291ad9
GM
3647 * subr.el (with-wrapper-hook): Doc fixes.
3648
34c99998
GM
3649 * simple.el (filter-buffer-substring-functions)
3650 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3651
6283a7d3
LL
36522012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3653
3654 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3655 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3656
e96e3013
LL
36572012-02-04 Leo Liu <sdl.web@gmail.com>
3658
3659 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3660
8ded50f2
GM
36612012-02-04 Glenn Morris <rgm@gnu.org>
3662
82ff1d13
GM
3663 * image.el (image-extension-data): Add obsolete alias.
3664
987a0a16
GM
3665 * isearch.el (isearch-update): Doc fix.
3666
ea32ef46
GM
3667 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3668
8ded50f2
GM
3669 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3670
eea14f31
GM
36712012-02-03 Glenn Morris <rgm@gnu.org>
3672
3673 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3674 (image-animate-timeout): Doc fix.
3675
3676 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3677
12f381b7
GM
36782012-02-02 Glenn Morris <rgm@gnu.org>
3679
953cebf5
GM
3680 * server.el (server-auth-dir): Doc fix.
3681 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3682
12f381b7
GM
3683 * subr.el (run-mode-hooks): Doc fix.
3684
953a8c3b
JL
36852012-02-02 Juri Linkov <juri@jurta.org>
3686
3687 * image-mode.el (image-toggle-display-image): Remove tautological
3688 `major-mode' from the `derived-mode-p' test.
3689
c5d3843c
KH
36902012-02-02 Kenichi Handa <handa@m17n.org>
3691
9f6e692e 3692 * composite.el (compose-region): Cancel previous change.
c5d3843c 3693
159462d4 36942012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3695
3696 * composite.el (compose-region, compose-string): Signal error for
3697 a null string component (Bug#6988).
3698
9f562668
CY
36992012-02-01 Chong Yidong <cyd@gnu.org>
3700
e2cef717
CY
3701 * view.el (view-buffer-other-window, view-buffer-other-frame):
3702 Handle special modes like view-buffer (Bug#10650).
3703 (view-buffer): Simplify.
3704
9f562668
CY
3705 * frame.el (set-frame-font): Tweak meaning of third argument.
3706
9f6e692e
JB
3707 * dynamic-setting.el (font-setting-change-default-font):
3708 Use set-frame-font (Bug#9982).
9f562668 3709
781acb9f
GM
37102012-02-01 Glenn Morris <rgm@gnu.org>
3711
6035be52
GM
3712 * progmodes/compile.el (compilation-internal-error-properties):
3713 Respect compilation-first-column in the "*compilation*" buffer.
3714
781acb9f
GM
3715 * emacs-lisp/easy-mmode.el (define-minor-mode):
3716 Relax :variable's test for a named function.
3717
abbceb00
AM
37182012-01-31 Alan Mackenzie <acm@muc.de>
3719
3720 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3721 off by one error.
3722
fce3fdeb
CY
37232012-01-31 Chong Yidong <cyd@gnu.org>
3724
3725 * frame.el (set-frame-font): New arg ALL-FRAMES.
3726
3727 * menu-bar.el (menu-set-font): Use set-frame-font.
3728
3729 * faces.el (face-spec-reset-face): Don't apply unspecified
3730 attribute values to the default face.
3731
47893581
JB
37322012-01-31 Juanma Barranquero <lekktu@gmail.com>
3733
3734 * progmodes/cwarn.el (cwarn): Remove dead link.
3735 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3736 Remove * from defcustom docstrings.
3737 (turn-on-cwarn-mode): Make obsolete.
3738 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3739 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3740
e58e988a
GM
37412012-01-31 Glenn Morris <rgm@gnu.org>
3742
60dc2671 3743 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3744 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3745 Allow named functions to be used as the cdr of :variable.
e58e988a 3746
7a3f511d
GM
37472012-01-30 Glenn Morris <rgm@gnu.org>
3748
3749 * emacs-lisp/authors.el (authors-fixed-entries):
3750 Remove reference to deleted file rnewspost.el.
3751
cb882333
JB
37522012-01-29 Juanma Barranquero <lekktu@gmail.com>
3753
3754 * window.el (window-with-parameter): Remove unused variable `windows'.
3755 (window--side-check): Remove unused variable `code'.
3756 (window--resize-siblings): Remove unused variable `first'.
3757 (adjust-window-trailing-edge): Remove unused variable `failed'.
3758 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3759 Use `let', not `let*'.
3760 (balance-windows-2): Remove unused variable `found'.
3761 (window--state-put-2): Remove unused variable `splits'.
3762 (window-state-put): Remove unused variable `selected'.
3763 (same-window-p): Use `string-match-p'.
3764 (display-buffer-assq-regexp): Remove unused variable `value'.
3765 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3766 Mark argument ALIST as ignored.
3767 (pop-to-buffer): Remove unused variable `old-window'.
3768
907201af
EZ
37692012-01-29 Eli Zaretskii <eliz@gnu.org>
3770
3771 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3772 and .lzma compressed files.
3773
ea162670
CY
37742012-01-29 Chong Yidong <cyd@gnu.org>
3775
5b95ee8a
CY
3776 * frame.el (window-system-default-frame-alist): Doc fix.
3777
ea162670
CY
3778 * dynamic-setting.el (font-setting-change-default-font): Don't
3779 change the default face if SET-FONT argument is non-nil (Bug#9982).
3780
d6e6f4b1
SB
37812012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3782
3783 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3784
0f29fa41 37852012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3786
3787 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3788 breakpoints in files outside current directory (Bug#6098).
3789
db174434
CY
37902012-01-29 Chong Yidong <cyd@gnu.org>
3791
6b25e4e2
SE
3792 * progmodes/python.el: Require ansi-color at top-level.
3793
6df6ae42
JB
3794 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3795 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3796 (lisp-mode-abbrev-table): Add doc.
3797 (lisp-mode-variables): Don't set local-abbrev-table.
3798 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3799
e70ee681
RW
38002012-01-28 Roland Winkler <winkler@gnu.org>
3801
3802 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3803
ace88aa2
RW
38042012-01-28 Roland Winkler <winkler@gnu.org>
3805
3806 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3807 (bibtex-set-dialect): Use it. Either set global values of
3808 dialect-dependent variables or bind these variables buffer-locally
3809 (Bug#10254).
3810 (bibtex-mode): Call bibtex-set-dialect via
3811 hack-local-variables-hook.
eb864a71
LM
3812 (bibtex-dialect): Update docstring.
3813 Add safe-local-variable predicate.
ace88aa2
RW
3814 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3815 bibtex-set-dialect.
3816 (bibtex-mode-map): Define menu for each dialect.
3817 (bibtex-entry): Fix docstring.
3818
93376c5b
CY
38192012-01-28 Chong Yidong <cyd@gnu.org>
3820
3821 * eshell/esh-arg.el (eshell-quote-argument): New function.
3822
3823 * eshell/esh-ext.el (eshell-invoke-batch-file):
3824 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3825 first arg to eshell-parse-command (Bug#10523).
3826
4372494f
DA
38272012-01-28 Drew Adams <drew.adams@oracle.com>
3828
3829 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3830 `default-directory' is non-nil.
3831
4d4ec1f8
EZ
38322012-01-28 Eli Zaretskii <eliz@gnu.org>
3833
3834 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3835 line that displays system-configuration-options. (Bug#9924)
3836
7c188927
DA
38372012-01-28 Drew Adams <drew.adams@oracle.com>
3838
3839 * descr-text.el (describe-char): Show information about POS, in
3840 addition to information about the character at POS. Improve and
3841 update the doc string. Change "code point" to "code point in
3842 charset", to avoid confusion with the character's Unicode code
3843 point shown above that. (Bug#10129)
3844
e0da685a
EZ
38452012-01-28 Eli Zaretskii <eliz@gnu.org>
3846
3847 * descr-text.el (describe-char): Show the raw character, not only
3848 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3849 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3850 for the reasons.
3851
70550acf
PH
38522012-01-28 Phil Hagelberg <phil@hagelb.org>
3853
eb864a71
LM
3854 * emacs-lisp/package.el (package-install):
3855 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3856
0ce8e868
CY
38572012-01-28 Chong Yidong <cyd@gnu.org>
3858
cb882333
JB
3859 * emacs-lisp/package.el (package-maybe-load-descriptor):
3860 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3861 (package-maybe-load-descriptor): Use it.
3862 (package-download-transaction): Fully load required packages
3863 inside the loop, so that `require' calls work (Bug#10593).
3864 (package-install): No need to call package-initialize now.
3865
2e7f3bea
CY
38662012-01-28 Chong Yidong <cyd@gnu.org>
3867
6e9bad14
CY
3868 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3869
f823b8ca
CY
3870 * tooltip.el (tooltip-mode): Doc fix.
3871 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3872
2680c309
CY
3873 * frame.el (set-cursor-color): Doc fix (Bug#352).
3874
d7a9e63b
CY
3875 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3876 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3877
2e7f3bea
CY
3878 * cus-edit.el (custom-buffer-create-internal): Fix search button
3879 action (Bug#10542).
2ae01800 3880 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3881
fc4f7a23
EW
38822012-01-27 Eduard Wiebe <usenet@pusto.de>
3883
3884 * dired.el (dired-mark-files-regexp):
3885 Include any subdirectory components. (Bug#10445)
3886
7dd37071
ML
38872012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3888
3889 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3890 Handle [host]:port syntax. (Bug#10533)
3891
a268160b
AH
38922012-01-27 Alex Harsanyi <harsanyi@mac.com>
3893
3894 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3895
e43273ef
GM
38962012-01-26 Glenn Morris <rgm@gnu.org>
3897
3898 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3899 * term.el (term-raw-escape-map): Use Control-X-prefix.
3900 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3901
1edf595d
MR
39022012-01-25 Martin Rudalics <rudalics@gmx.at>
3903
3904 * window.el (window-state-get, window--state-get-1): Don't deal
3905 with fixed-sizeness of windows. Simplify code.
3906
fa8eafef
JC
39072012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3908
6df6ae42
JB
3909 * window.el (window--state-get-1, window--state-put-2):
3910 Don't save and restore the mark.
fa8eafef 3911
0b21c100
CY
39122012-01-25 Chong Yidong <cyd@gnu.org>
3913
3914 * custom.el (custom-variable-p): Doc fix.
3915
5ae1a6c8
GM
39162012-01-25 Glenn Morris <rgm@gnu.org>
3917
40047858
GM
3918 * dired.el (dired-goto-file): Handle some of the more common
3919 characters that `ls -b' escapes. (Bug#10596)
3920
5ddce96c
GM
3921 * progmodes/compile.el (compilation-next-error-function):
3922 Respect compilation-first-column in the "*compilation*" buffer.
3923 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3924
5ae1a6c8
GM
3925 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3926
b559f1a9
GM
39272012-01-24 Glenn Morris <rgm@gnu.org>
3928
3929 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3930
6725d21a
JD
39312012-01-24 Julien Danjou <julien@danjou.info>
3932
3933 * color.el (color-rgb-to-hsl): Fix value computing.
3934 (color-hue-to-rgb): New function.
3935 (color-hsl-to-rgb): New function.
3936 (color-clamp, color-saturate-hsl, color-saturate-name)
3937 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3938 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3939
70df4bbe
GM
39402012-01-24 Glenn Morris <rgm@gnu.org>
3941
3942 * vc/vc-rcs.el (vc-rcs-create-tag):
3943 * vc/vc-sccs.el (vc-sccs-create-tag):
3944 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3945
802a2ae2
ML
39462012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3947
3948 * eshell/esh-util.el (eshell-read-hosts-file):
3949 Skip comment lines. (Bug#10549)
3950
d7128bb1
ML
3951 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3952
d1a5c3b4
JB
39532012-01-23 Juanma Barranquero <lekktu@gmail.com>
3954
2724d9c7
JB
3955 * subr.el (display-delayed-warnings): Doc fix.
3956 (collapse-delayed-warnings): New function to collapse identical
3957 adjacent warnings.
3958 (delayed-warnings-hook): Add it.
d1a5c3b4 3959
a5509865
MA
39602012-01-22 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3963
3964 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3965 properties, when "login-as" is set.
3966
3967 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3968 (tramp-default-user-alist): Don't add "pscp".
3969 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3970 property "login-as", if set. (Bug#10530)
3971
cc6d5805
MA
39722012-01-21 Michael Albinus <michael.albinus@gmx.de>
3973
3974 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3975 "plink1" and "psftp". (Bug#10530)
3976
39772012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3978
3979 * international/mule-cmds.el (prefer-coding-system): Show a
3980 warning message if the default value of file-name-coding-system
3981 was not changed.
3982
f0960428
JC
39832012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3984
cb882333
JB
3985 * windmove.el (windmove-reference-loc):
3986 Fix windmove-reference-loc miscalculation.
f0960428 3987
dd6f2a63
JB
39882012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3989
3990 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3991 default unit.
3992
7b447e9b
GM
39932012-01-21 Glenn Morris <rgm@gnu.org>
3994
117a9ea1
GM
3995 * international/mule.el (auto-coding-alist): Add .tbz.
3996
7b447e9b
GM
3997 * files.el (local-enable-local-variables): Doc fix.
3998 (inhibit-local-variables-regexps): Rename from
3999 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4000 Doc fix. Add some extensions from auto-coding-alist.
4001 (inhibit-local-variables-suffixes):
4002 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4003 (inhibit-local-variables-p):
4004 New function, extracted from set-auto-mode-1.
4005 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4006 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4007 (hack-local-variables): Doc fix. Make the mode-only case
4008 respect enable-local-variables and friends.
4009 Respect inhibit-local-variables-regexps for file-locals, but
4010 not for directory-locals.
4011 (set-visited-file-name):
4012 Take account of inhibit-local-variables-regexps.
4013 Whether it applies may change as the file name is changed.
4014 * jka-cmpr-hook.el (jka-compr-install):
4015 * jka-compr.el (jka-compr-uninstall):
4016 Update for inhibit-first-line-modes-suffixes name change.
4017
dd6e3cdd
MR
40182012-01-20 Martin Rudalics <rudalics@gmx.at>
4019
4020 * help-macro.el (make-help-screen): Temporarily restore original
4021 binding for minor-mode-map-alist (Bug#10454).
4022
0d0deb38
JD
40232012-01-19 Julien Danjou <julien@danjou.info>
4024
4025 * color.el (color-name-to-rgb): Use the white color to find the max
4026 color component value and return correctly computed values.
4027 (color-name-to-rgb): Add missing float conversion for max value.
4028
34a02f46
MR
40292012-01-19 Martin Rudalics <rudalics@gmx.at>
4030
4031 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4032 special state value for window-persistent-parameters.
4033 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4034 (window--state-put-2): Reset all window parameters to nil before
4035 assigning values of persistent parameters.
4036
606c44c4
AM
40372012-01-18 Alan Mackenzie <acm@muc.de>
4038
4039 Eliminate sluggishness and hangs in fontification of "semicolon
4040 deserts".
4041
cb882333
JB
4042 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4043 Change value 10000 -> 3000.
606c44c4
AM
4044 (c-state-safe-place): Reformulate so it doesn't stack up an
4045 infinite number of wrong entries in c-state-nonlit-pos-cache.
4046 (c-determine-limit-get-base, c-determine-limit): New functions to
4047 determine backward search limits disregarding literals.
4048 (c-find-decl-spots): Amend commenting.
4049 (c-cheap-inside-bracelist-p): New function which detects "={".
4050
4051 * progmodes/cc-fonts.el
4052 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4053 backward search.
4054 (c-font-lock-declarations): Fix an occurrence of point being
4055 undefined. Check additionally for point being in a bracelist or
4056 near a macro invocation without a semicolon so as to avoid a
4057 fruitless time consuming search for a declarator. Give a more
4058 precise search limit for declarators using the new
4059 c-determine-limit.
4060
f3860cea
GM
40612012-01-18 Glenn Morris <rgm@gnu.org>
4062
4063 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4064 (set-auto-mode): Doc fixes.
4065
1db03b16
GM
40662012-01-17 Glenn Morris <rgm@gnu.org>
4067
0e6038be
GM
4068 * isearch.el (search-nonincremental-instead): Fix doc typo.
4069
1db03b16
GM
4070 * dired.el (dired-insert-directory): Handle newlines in directory name.
4071 (dired-build-subdir-alist): Unescape newlines in directory name.
4072
4cb0aa75
MA
40732012-01-17 Michael Albinus <michael.albinus@gmx.de>
4074
4075 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4076 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4077 (tramp-action-terminal): Use it. (Bug#10530)
4078
1d00653d
SM
40792012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4082
6a6ee00d
MR
40832012-01-16 Martin Rudalics <rudalics@gmx.at>
4084
4085 * window.el (window-state-ignored-parameters): Remove variable.
4086 (window--state-get-1): Rename argument MARKERS to IGNORE.
4087 Handle persistent window parameters. Make copy of clone-of
4088 parameter only if requested. (Bug#10348)
4089 (window--state-put-2): Install a window parameter only if it has
4090 a non-nil value or an existing parameter shall be overwritten.
4091
97912def
MA
40922012-01-15 Michael Albinus <michael.albinus@gmx.de>
4093
4094 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4095
688070a5
EZ
40962012-01-14 Eli Zaretskii <eliz@gnu.org>
4097
4098 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4099 don't pass the (nil) value of `upnode' to string-match.
4100
301afadc
CY
41012012-01-14 Chong Yidong <cyd@gnu.org>
4102
4103 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4104 Fix values recognized by the cursorBlink resource.
301afadc 4105
9e5788aa
PE
41062012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4107
4108 * epg.el (epg--make-temp-file): Avoid permission race condition
4109 when running on old Emacs versions (bug#10403).
4110
3cdb7f5a
GM
41112012-01-14 Glenn Morris <rgm@gnu.org>
4112
4113 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4114
8c82b1b4
AM
41152012-01-13 Alan Mackenzie <acm@muc.de>
4116
4117 Fix filling for when filladapt mode is enabled.
4118
4119 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4120 c-mask-paragraph, pass in `fill-paragraph' rather than
4121 `fill-region-as-paragraph'. (This is a reversion of a previous
4122 change.)
eb864a71
LM
4123 * progmodes/cc-mode.el (c-basic-common-init):
4124 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4125
e517eda4
GM
41262012-01-13 Glenn Morris <rgm@gnu.org>
4127
1498536e
GM
4128 * dired.el (dired-switches-escape-p): New function.
4129 (dired-insert-directory): Use dired-switches-escape-p.
4130 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4131
e517eda4
GM
4132 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4133
328f984d
GM
41342012-01-12 Glenn Morris <rgm@gnu.org>
4135
4136 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4137 changes in adaptive-fill-regexp. (Bug#10276)
4138
2cc769a8
AM
41392012-01-11 Alan Mackenzie <acm@muc.de>
4140
4141 Fix Emacs bug #10463 - put `widen's around the critical spots.
4142
1d00653d 4143 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4144 widen around each invocation of c-state-pp-to-literal. Remove an
4145 unused let variable.
4146
e52c37fa
GM
41472012-01-11 Glenn Morris <rgm@gnu.org>
4148
4149 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4150 Doc fix.
e52c37fa 4151
96f8741e
CY
41522012-01-10 Chong Yidong <cyd@gnu.org>
4153
1d00653d
SM
4154 * net/network-stream.el (network-stream-open-starttls):
4155 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4156 response to the capability command.
4157
b09a806e
GM
41582012-01-10 Glenn Morris <rgm@gnu.org>
4159
4160 * mail/unrmail.el (unrmail): Tweak previous change.
4161
7655cb66
CY
41622012-01-09 Chong Yidong <cyd@gnu.org>
4163
4164 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4165
9d5a8f0b
AM
41662012-01-08 Alan Mackenzie <acm@muc.de>
4167
4168 Optimise font locking in long enum definitions.
4169
4170 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4171 arm to a cond form to handle enums.
4172 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4173 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4174
9a0115ab 41752012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4176
4177 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4178 (Bug#10401)
6bb72cbd 4179
f186bb95
LMI
41802012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4181
29232a68
LMI
4182 * faces.el (set-face-attribute): Clarify the meaning of the nil
4183 frame (bug#10294).
4184
4e5d086d
LMI
4185 * subr.el (with-selected-frame): Mention that the selected frame
4186 is restored (bug#9980).
4187
8e66aebe
LMI
4188 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4189 (bug#9759).
4190
cd394be1 4191 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4192 (password-read): Don't autoload unused function.
4193
adf4e762
JB
41942012-01-07 Juanma Barranquero <lekktu@gmail.com>
4195
4196 * progmodes/which-func.el (which-func-mode): Turn into a
4197 non-interactive function and mark as obsolete (bug#10428).
4198
89bd9ccd
CY
41992012-01-06 Chong Yidong <cyd@gnu.org>
4200
4201 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4202 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4203 functions, along with 1 and -1.
4204
4afee9d5
EZ
42052012-01-06 Eli Zaretskii <eliz@gnu.org>
4206
4207 * time.el (display-time-load-average)
4208 (display-time-default-load-average): Doc fixes. See the thread
4209 starting at
4210 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4211 for the details.
4212
536aea70
GM
42132012-01-06 Glenn Morris <rgm@gnu.org>
4214
665ae865
GM
4215 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4216 has no messages. (Bug#10377)
4217
c869783d
GM
4218 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4219 than Info-edit. (Bug#10385)
4220
2bb4227e
GM
4221 * time.el (display-time-load-average, display-time-next-load-average):
4222 Doc fixes.
4223
7d5944b9
GM
4224 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4225 local setting of buffer-read-only to the input buffer. (Bug#10419)
4226
536aea70
GM
4227 * calendar/calendar.el (calendar-mode):
4228 Locally set scroll-margin to 0. (Bug#10379)
4229
7dccca16
UM
42302012-01-06 Ulrich Mueller <ulm@gentoo.org>
4231
4232 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4233
afbb7930
GM
42342012-01-05 Glenn Morris <rgm@gnu.org>
4235
4236 * eshell/em-unix.el (diff-no-select): Autoload it.
4237 (eshell/diff): Use diff-no-select. (Bug#10420)
4238
04482335
CY
42392012-01-05 Chong Yidong <cyd@gnu.org>
4240
7baca3bc
CY
4241 * shell.el (shell-dynamic-complete-functions): Revert last change.
4242 (shell-command-completion-function): New function.
4243 (shell-completion-vars): Use it to implement
4244 shell-completion-execonly (Bug#10417).
4245
04482335
CY
4246 * custom.el (enable-theme): Don't set custom-safe-themes.
4247
1d00653d
SM
4248 * cus-theme.el (custom-theme-merge-theme):
4249 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4250
bb5aa5d6
MM
42512012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4252
4253 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4254 first prompt in `sql-interacive-mode'.
4255 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4256 keywords.
6df6ae42 4257 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4258 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4259 context of original buffer. Invoke `sql-login-hook'.
4260
a7183d7c
EZ
42612012-01-04 Eli Zaretskii <eliz@gnu.org>
4262
4263 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4264 letters in cite-prefix.
4265
a1eacd1e
LMI
42662012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267
4268 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4269
787cdb34
CY
42702012-01-03 Chong Yidong <cyd@gnu.org>
4271
1d00653d
SM
4272 * shell.el (shell-dynamic-complete-functions):
4273 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4274 comint-filename-completion first (Bug#10417).
4275
30710442
RS
42762012-01-02 Richard Stallman <rms@gnu.org>
4277
4278 * battery.el (battery-status-function):
4279 Detect when to use battery-yeeloong-sysfs.
4280 (battery-echo-area-format): Add string for Yeeloong.
4281 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4282 (battery-yeeloong-sysfs): New function.
4283
f75bfc33
CY
42842012-01-02 Chong Yidong <cyd@gnu.org>
4285
4286 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4287 (dirtrack): Merge code for handling relative filenames in prompt
4288 from shell-dir-cookie-watcher.
4289 (dirtrack-debug-message): New arg to avoid excess format calls.
4290
4291 * shell.el (shell-dir-cookie-re): Variable deleted.
4292 (shell-dir-cookie-watcher): Function deleted.
4293 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4294 with dirtrack-mode.
4295
651e947e
EZ
42962012-01-01 Eli Zaretskii <eliz@gnu.org>
4297
1d00653d
SM
4298 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4299 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4300 libgnutls-26.dll.
4301
94d4c7dc
AS
43022011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4303
4304 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4305
8d43f3cd
EZ
43062011-12-31 Eli Zaretskii <eliz@gnu.org>
4307
4308 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4309 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4310
98c8795a
MA
43112011-12-29 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4314 also for alternative shells.
4315 (tramp-open-connection-setup-interactive-shell): Check, whether
4316 the shell is a busybox.
4317 (tramp-send-command): Don't suppress multiple prompts for
4318 busyboxes, it hurts.
4319
51281b32
CY
43202011-12-28 Chong Yidong <cyd@gnu.org>
4321
4322 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4323 (gdb-get-source-file): Move mode line update to
4324 gdb-get-source-file (Bug#10087).
4325
2170cb53
CY
43262011-12-25 Chong Yidong <cyd@gnu.org>
4327
4328 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4329 gud-gdb-marker-filter without taking it as an argument.
4330 (gud-gdb-run-command-fetch-lines): Caller changed.
4331 (gud-gdb-completion-function): New variable.
4332 (gud-gdb-completion-at-point): Use it.
4333 (gud-gdb-completions-1): Split from gud-gdb-completions.
4334
4335 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4336 function as separate arguments.
4337 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4338 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4339 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4340 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4341 (gdb-stopped, def-gdb-auto-update-trigger)
4342 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4343 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4344 Callers changed.
2170cb53
CY
4345 (gud-gdbmi-completions): New function.
4346 (gdb): Use it for generating the completion table.
4347
be8b11bb
AM
43482011-12-24 Alan Mackenzie <acm@muc.de>
4349
4350 Introduce a mechanism to widen the region used in context font
1d00653d 4351 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4352
1d00653d
SM
4353 * progmodes/cc-langs.el (c-before-font-lock-functions):
4354 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4355 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4356 functions to be run just before context (etc.) font locking.
4357
4358 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4359 New, functionality extracted from
be8b11bb 4360 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4361 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4362 (c-after-change): Set c-in-after-change-fontification.
4363 (c-set-fl-decl-start): Rejig its interface, so it can be called
4364 from both after-change and context fontifying.
b81d40f0
JB
4365 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4366 New functions.
4367 (c-standard-font-lock-fontify-region-function): New variable.
4368 (c-font-lock-fontify-region): New function.
be8b11bb 4369
341cf6ac
JL
43702011-12-24 Juri Linkov <juri@jurta.org>
4371
4372 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4373 (Bug#10348)
4374
bffcee0a
MA
43752011-12-23 Michael Albinus <michael.albinus@gmx.de>
4376
4377 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4378 existence of source file. (Bug#10325)
4379
cb5e207c
AM
43802011-12-23 Alan Mackenzie <acm@muc.de>
4381
4382 Fix unstable fontification inside templates.
4383
b81d40f0
JB
4384 * progmodes/cc-langs.el (c-before-font-lock-functions):
4385 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4386 additionally has c-set-fl-decl-start. The other languages (apart
4387 from AWK) have that as a single entry.
4388
b81d40f0
JB
4389 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4390 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4391 c-set-fl-decl-start.
4392
b81d40f0
JB
4393 * progmodes/cc-mode.el (c-common-init, c-after-change):
4394 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4395 (c-set-fl-decl-start): New function, extracted from
4396 c-font-lock-enclosing-decls and enhanced.
4397
60ff536c
JB
43982011-12-23 Juanma Barranquero <lekktu@gmail.com>
4399
4400 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4401
1c4757d6
JL
44022011-12-22 Juri Linkov <juri@jurta.org>
4403
4404 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4405
d031f2c7
CY
44062011-12-22 Chong Yidong <cyd@gnu.org>
4407
4408 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4409
bace743a
DA
44102011-12-21 Drew Adams <drew.adams@oracle.com>
4411
4412 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4413
728a1f2b
JC
44142011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4415
4416 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4417
0d373f73
TZ
44182011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4419
fec0aaa4
TZ
4420 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4421 highlighting and support. Fix up comments for capitalization.
4422 (cfengine-mode-debug): New var.
4423 (cfengine3-mode): Change the modeline indicator to "CFE3".
4424 (cfengine3-font-lock-keywords): Improve defun highlighting.
4425 (cfengine2-actions): Rename from `cfengine-actions'.
4426 (cfengine2-font-lock-keywords): Rename from
4427 `cfengine-font-lock-keywords'.
4428 (cfengine2-imenu-expression): Rename from
4429 `cfengine-imenu-expression'.
4430 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4431 (cfengine2-beginning-of-defun): Rename from
4432 `cfengine-beginning-of-defun'.
4433 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4434 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4435 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4436 modeline indicator to "CFE2".
4437 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4438 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4439
bc86f573
CY
44402011-12-21 Chong Yidong <cyd@gnu.org>
4441
4442 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4443 filename argument.
4444
d45ba96b
MR
44452011-12-20 Martin Rudalics <rudalics@gmx.at>
4446
4447 * window.el (window-normalize-buffer-to-display): Remove.
4448 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4449
a6198c90
CY
44502011-12-19 Chong Yidong <cyd@gnu.org>
4451
4452 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4453 Don't signal an error in a predicate function; return non-nil.
4454 (vc-dir-mark-file): Move the error here.
4455 (vc-dir-mark-unmark): If acting on the region, keep going if one
4456 of the entries cannot be marked/unmarked.
4457 (vc-dir-mark-all-files): If current entry is a directory, mark
4458 only child files, as documented.
4459
34c5fb55
VB
44602011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4461
4462 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4463 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4464 addition.
4465
c803b2b7
JD
44662011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4467
4468 * term/ns-win.el (ns-get-selection-internal)
4469 (ns-store-selection-internal): Declare.
1154d12e
JB
4470 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4471 Declare as obsolete.
4472 (ns-get-pasteboard, ns-paste-secondary):
4473 Use ns-get-selection-internal.
4474 (ns-set-pasteboard, ns-copy-including-secondary):
4475 Use ns-store-selection-internal.
c803b2b7 4476
9cff91f8 44772011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4478
4479 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4480 (vc-deduce-fileset): Doc fix.
99a289d9 4481
f16c898a
AS
44822011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4483
4484 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4485
763237c4
SS
44862011-12-13 Sam Steingold <sds@gnu.org>
4487
4488 * man.el (Man-getpage-in-background): When running under a
4489 window-system, ignore $MANWIDTH and $COLUMNS.
4490
5fc1c122
KH
44912011-12-15 Kenichi Handa <handa@m17n.org>
4492
4493 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4494 (setup-ethiopic-environment-internal): Comment out key-binding for
4495 ethio-toggle-punctuation.
4496
13d49cbb
AM
44972011-12-13 Alan Mackenzie <acm@muc.de>
4498
898169a2
AM
4499 Add the switch statement to AWK Mode.
4500
7a71b18d 4501 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4502 "default" to the keywords regexp.
4503
7a71b18d 4504 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4505 expression as the rest.
1d00653d
SM
4506 (c-nonlabel-token-key): Allow string literals for AWK.
4507 Refactor for the other modes.
898169a2 4508
13d49cbb 4509 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4510 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4511 routines. Limit backward searching in c-font-lock-enclosing.decl.
4512
4513 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4514 pp-state and literal type in addition to the limits.
1d00653d 4515 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4516 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4517 (c-slow-in-literal, c-fast-in-literal): Remove.
4518 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4519
4520 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4521 being in a literal. Add a limit for backward searching.
4522
4523 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4524 c-slow-in-literal.
4525
15e0efc7
SM
45262011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4529
454592a6
MR
45302011-12-13 Martin Rudalics <rudalics@gmx.at>
4531
4532 * window.el (delete-other-windows): Use correct frame in call to
4533 window-with-parameter.
4534
87393f26
DP
45352011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4536
4537 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4538 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4539 (makefile-gmake-statements, makefile-makepp-statements):
4540 Use it and add new makepp keywords.
4541 (makefile-makepp-font-lock-keywords): Add new patterns.
4542 (makefile-match-function-end): Match new [...] and [[...]].
4543
11636b22
JB
45442011-12-11 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * ses.el (ses-call-printer-return, ses-cell-property-get)
4547 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4548 (ses-create-cell-variable, ses-reset-header-string)
4549 (ses-cell-set-formula, ses-repair-cell-reference-all)
4550 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4551 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4552 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4553 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4554 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4555 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4556 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4557 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4558 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4559 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4560 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4561 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4562
cf018193
VB
45632011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4564
4565 * ses.el: The overall change is to add cell renaming, that is
4566 setting fancy names for cell symbols other than name matching
4567 "\\`[A-Z]+[0-9]+\\'" regexp .
4568 (ses-create-cell-variable): New defun.
4569 (ses-relocate-formula): Relocate formulas only for cells the
4570 symbols of which are not renamed, i.e. symbols whose names do not
4571 match regexp "\\`[A-Z]+[0-9]+\\'".
4572 (ses-relocate-all): Relocate values only for cells the symbols of
4573 which are not renamed.
4574 (ses-load): Create cells variables as the (ses-cell ...) are read,
4575 in order to check row col consistency with cell symbol name only
4576 for cells that are not renamed.
4577 (ses-replace-name-in-formula): New defun.
4578 (ses-rename-cell): New defun.
4579
ee957461
CY
45802011-12-11 Chong Yidong <cyd@gnu.org>
4581
4582 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4583 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4584
9a9e9ef0
MR
45852011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4586
4587 * window.el (other-window): Fix docstring.
4588
92a8eba5
EZ
45892011-12-10 Eli Zaretskii <eliz@gnu.org>
4590
4591 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4592 `from' or `to' address before taking its substring.
4593 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4594 encoded name is chopped in the middle of the encoded string, and
4595 thus displayed encoded.
4596
e152e577
JB
45972011-12-10 Juanma Barranquero <lekktu@gmail.com>
4598
4599 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4600
e5d84bfe
EZ
46012011-12-10 Eli Zaretskii <eliz@gnu.org>
4602
4603 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4604 to use texinfo-update-node and commands that call it if the
4605 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4606 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4607 (texinfo-all-menus-update, texinfo-master-menu)
4608 (texinfo-update-node, texinfo-every-node-update)
4609 (texinfo-multiple-files-update): Doc fix. Warn against updating
4610 all the @node lines.
4611 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4612 argument is numeric. Explain better in the doc string what the
4613 function really does.
4614 (texinfo-insert-master-menu-list): Improve the error message
4615 displayed if there's no menu in the Top node.
4616 (Bug#2975) See also this thread:
e5d84bfe
EZ
4617 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4618
1d84e9bb
MG
46192011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4620
4621 * speedbar.el (speedbar-supported-extension-expressions):
4622 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4623
382c953b
JB
46242011-12-09 Juanma Barranquero <lekktu@gmail.com>
4625
4626 * printing.el (pr-mode-alist):
4627 * simple.el (filter-buffer-substring-functions)
4628 (completion-list-insert-choice-function):
4629 * window.el (window-with-parameter, window-atom-root)
4630 (window-sides-slots, window-size-fixed, window-min-delta)
4631 (window-max-delta, window--resize-mini-window)
4632 (window--resize-child-windows-normal, window-tree)
4633 (delete-other-windows, quit-window, split-window)
4634 (display-buffer-record-window, special-display-buffer-names)
4635 (special-display-regexps, special-display-popup-frame)
4636 (same-window-p, split-window-sensibly)
4637 (display-buffer-overriding-action, display-buffer-alist)
4638 (display-buffer-base-action, display-buffer, switch-to-buffer)
4639 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4640 (fit-window-to-buffer, recenter-positions)
4641 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4642 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4643 and remove unneeded backslashes in docstrings.
4644
39c9faef
SM
46452011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4646
98449af8
SM
4647 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4648
39c9faef
SM
4649 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4650 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4651 end in ".mk".
4652 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4653 when reading the makefile (bug#10116).
4654
86ed9fdc
SM
46552011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4658 (bug#10116).
4659
5580f89d
GM
46602011-12-06 Glenn Morris <rgm@gnu.org>
4661
4662 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4663
28d3917c
CY
46642011-12-06 Chong Yidong <cyd@gnu.org>
4665
4666 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4667
a98edce9
JB
46682011-12-06 Juanma Barranquero <lekktu@gmail.com>
4669
4670 * textmodes/table.el (table-shorten-cell): Fix typo.
4671
e65adfac
CG
46722011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4673
4674 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4675
71cc0b74
EZ
46762011-12-05 Eli Zaretskii <eliz@gnu.org>
4677
4678 * descr-text.el (describe-char): Fix display of strong
4679 right-to-left characters and directional embeddings and overrides.
4680
4681 * simple.el (what-cursor-position): Fix display of codepoints of
4682 strong right-to-left characters.
4683
315bc30d
CY
46842011-12-05 Chong Yidong <cyd@gnu.org>
4685
4686 * faces.el (read-color): Doc fix.
4687
58a70b94
GM
46882011-12-05 Glenn Morris <rgm@gnu.org>
4689
4690 * align.el (align--set-marker): Add doc-string.
4691 Don't try to move something that is not a marker. (Bug#10216)
4692
5158face
GM
46932011-12-04 Glenn Morris <rgm@gnu.org>
4694
4695 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4696 overly zealous deletion of trailing whitespace.
4697
520fca41
JB
46982011-12-04 Juanma Barranquero <lekktu@gmail.com>
4699
4700 * server.el (server-delete-client): On Windows, do not try to delete
4701 the only terminal.
4702 (server-process-filter): On Windows, treat requests for a tty frame as
4703 if they were for a GUI frame if the running server is in GUI mode.
4704
5e605a2e
GM
47052011-12-03 Glenn Morris <rgm@gnu.org>
4706
4707 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4708
5c3fe83f
SM
47092011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4710
6f5e57e7
SM
4711 * electric.el: Streamline electric-indent's hook.
4712 (electric-indent-chars): Revert to simple list.
4713 (electric-indent-functions): New var.
4714 (electric-indent-post-self-insert-function): Use it.
4715
5c3fe83f
SM
4716 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4717 there's no inferior buffer (bug#10196).
4718 (prolog-consult-compile): Don't use toggle-read-only.
4719
6bdac736
MA
47202011-12-02 Michael Albinus <michael.albinus@gmx.de>
4721
4722 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4723 interrupt. (Bug#10187)
4724
6131ba7f
SM
47252011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4726
99c79fee
SM
4727 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4728 (bug#9160).
4729
6131ba7f
SM
4730 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4731 (bug#10191).
4732
cb0a02ea
JL
47332011-12-02 Juri Linkov <juri@jurta.org>
4734
4735 * info.el (Info-search): Display "end of manual" when Isearch
4736 reaches the end of single-file Info manual. (Bug#9918)
4737
66e0570c
EZ
47382011-12-02 Eli Zaretskii <eliz@gnu.org>
4739
4740 * isearch.el (isearch-message-prefix): Run the input method part
4741 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4742
02b16839
JL
47432011-12-02 Juri Linkov <juri@jurta.org>
4744
4745 * isearch.el (isearch-occur): Use `word-search-regexp' for
4746 `isearch-word'.
4747 (isearch-search-and-update): Add condition for `isearch-word' and
4748 call `word-search-regexp'. (Bug#10145)
4749
0b950688
GM
47502011-12-01 Glenn Morris <rgm@gnu.org>
4751
4752 * eshell/em-hist.el (eshell-hist-initialize):
4753 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4754 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4755
9505c3c7
SM
47562011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4759
1bbe96b2 47602011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4761
a1beca85
SM
4762 * progmodes/verilog-mode.el (verilog-pretty-expr):
4763 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4764 verilog, such as += *= and the like.
4765 (verilog-assignment-operator-re): Regular expression to find the
4766 assigment operator in a verilog assignment.
4767 (verilog-assignment-operation-re): Regular expression to find an
4768 assignment statement for pretty-expr.
4769 (verilog-in-attribute-p): Query returns true if point is in an
4770 attribute context; used to skip these for expression line up from
4771 pretty-expr.
4772 (verilog-in-parameter-p): Query returns true if point is in an
4773 parameter definition context; used to skip these for expression
4774 line up from pretty-expr.
4775 (verilog-in-parenthesis-p): Query returns true if point is in a
4776 parenthetical expression, specifically ( ) but not [ ] or { };
4777 used by pretty-expr.
4778 (verilog-just-one-space): If there is no space, don't add one.
4779 (verilog-get-lineup-indent-2): Specifically skip just attribute
4780 contexts for expression lineup, rather than skipping all
4781 parenthetical expressions.
4782 (verilog-calculate-indent): Fix comment, and fix indent.
4783 (verilog-do-indent): Indent declarations in lists (suggested by
4784 Joachim Lechner).
4785 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4786 skeleton items.
4787 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4788 by Alain Mellan).
4789
1bbe96b2 47902011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4791
4792 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4793 parameters with embedded comments. Reported by Ray Stevens.
4794 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4795 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4796 Reported by Tim Holt.
4797 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4798 instantiated by upper module causing wrong expansion until AUTOed a
4799 second time. Reported by K C Buckenmaier.
4800 (verilog-diff-auto): Fix showing .* as a difference when
4801 `verilog-auto-star-save' off. Reported by Dan Dever.
4802 (verilog-auto-reset, verilog-read-always-signals)
4803 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4804 temporary signals in reset list if
4805 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4806 style to each signal's assignment type, bug381.
4807 Reported by Thomas Esposito.
6288f0ca
WS
4808 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4809 (verilog-uvm-statement-re): Support UVM indentation and
4810 highlighting, with old OVM keywords only.
a1beca85 4811 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4812 Support AUTOTIEOFF creating non-wire data types.
4813 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4814 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4815 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4816 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4817 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4818 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4819 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4820 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4821 non-numeric vector width. Reported by Alex Reed.
4822 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4823 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4824 (verilog-auto-delete-trailing-whitespace):
4825 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4826 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4827 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4828 Fix verilog-scan-cache corruption when running user AUTO expansion
4829 hooks that call indentation routines.
4830 (verilog-simplify-range-expression): Fix typo ignoring lower case
4831 identifiers.
4832 (verilog-delete-auto): Fix delete-autos to also remove user created
4833 automatics, as long as they start with AUTO.
4834 (verilog-batch-diff-auto, verilog-diff-auto)
4835 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4836 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4837 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4838 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4839 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4840 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4841 is disabled and its cache will get corrupt, causing AUTOS not to
4842 expand. Instead use only -quick functions.
4843 (verilog-scan-region): Fix scanning over escaped quotes.
4844 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4845 (verilog-re-search-backward-quick)
4846 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4847 related functions now ignore strings, to fix misparsing of strings
4848 with magic comments embedded in them.
a1beca85
SM
4849 (verilog-read-auto-template):
4850 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4851 Reported by Brad Dobbie.
4852 (verilog-read-auto-template):
4853 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4854 Reported by Brad Dobbie.
6288f0ca
WS
4855 (verilog-auto-inst, verilog-auto-inst-param)
4856 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4857 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4858 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4859 debugging templates without merge conflicts, bug357.
4860 Reported by Brad Dobbie.
4861 (verilog-read-auto-template):
4862 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4863 Reported by Brad Dobbie.
4864 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4865 abbrevs so user won't be asked to save.
4866 (verilog-read-auto-lisp-present): Fix to start at beginning of
4867 buffer in case called outside of verilog-auto.
4868 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4869 to "X-2". Reported by Matthew Myers.
4870 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4871 all inputs from module templates. Reported by Leith Johnson.
4872 (verilog-module-inside-filename-p): Fix locating programs as with
4873 modules.
4874 (verilog-auto-inst-port): Fix vl-width expressions when using
4875 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4876 (verilog-decls-get-regs, verilog-decls-get-signals,
4877 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4878 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4879 verilog-read-decls): Combine reg and wire structures into one var
4880 structure to represent SystemVerilog concepts.
4881 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4882 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4883 (verilog-auto-wire-type, verilog-insert-definition):
4884 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4885 SystemVerilog "logic" keyword instead of "wire"/"reg".
4886 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4887 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4888 ifdef or generate if so there's not a driver conflict).
4889 Reported by Matthew Myers.
4890 (verilog-auto-declare-nettype, verilog-insert-definition):
4891 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4892 `default_nettype none. Reported by Julian Gorfajn.
4893 (verilog-read-always-signals-recurse, verilog-read-decls)
4894 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4895 malformed end statement, bug325. Reported by Joshua Wise and
4896 Andrew Drake.
4897 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4898 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4899 when expanding .* in interfaces, bug320.
4900 Reported by Pierre-David Pfister.
6288f0ca 4901 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4902 name and open parenthesis, bug317.
4903 Reported by Pierre-David Pfister.
6288f0ca
WS
4904 (verilog-simplify-range-expression): Fix simplification of
4905 multiplications inside AUTOWIRE connections, bug303.
4906 (verilog-auto-inst-port): Support parameter expansion in
4907 multidimensional arrays.
4908 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4909 after "assert property". Reported by Julian Gorfajn.
4910 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4911 with multiplication, bug303.
4912 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4913 Reported by Jan Frode Lonnum.
4914
1bbe96b2
GM
49152011-11-30 Juanma Barranquero <lekktu@gmail.com>
4916
4917 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4918 (hfy-shell-file-name, hfy-shell):
4919 * international/fontset.el (x-decompose-font-name): Fix typos.
4920
49212011-11-29 Ken Brown <kbrown@cornell.edu>
4922
4923 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4924 (gdb-version): Remove defvar.
4925 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4926 (gdb-gud-context-command, gdb-non-stop-handler)
4927 (gdb-current-context-command, gdb-stopped): Use it.
4928 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4929 (gdb-non-stop-handler): Don't enable pretty-printing here.
4930 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4931 non-stop mode. Use the following.
4932 (gdb-check-target-async): New defun.
4933 (gud-watch, gdb-stopped): Fix whitespace.
4934 (gdb-get-source-file): Don't try to display the source file if
4935 `gdb-main-file' is nil.
4936
49372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * align.el: Try to generate fewer markers (bug#10047).
4940 (align--set-marker): New macro.
4941 (align-region): Use it.
4942
c935221f
SM
49432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4946
e70b5064
CY
49472011-11-29 Chong Yidong <cyd@gnu.org>
4948
4949 * indent.el (indent-for-tab-command, indent-according-to-mode):
4950 Doc fix.
4951 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4952
f3af92b7
MA
49532011-11-29 Michael Albinus <michael.albinus@gmx.de>
4954
4955 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4956 aware of remote file names. (Bug#10124)
4957
ed472be9
CY
49582011-11-29 Chong Yidong <cyd@gnu.org>
4959
4960 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4961
24510c22
SM
49622011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * files.el (find-file): Don't use force-same-window (bug#10144).
4965 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4966 use pop-to-buffer if the selected window can't be used.
4967 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4968
c60c3703
EZ
49692011-11-28 Eli Zaretskii <eliz@gnu.org>
4970
4971 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4972 special-mode-map.
4973
e95def75
CY
49742011-11-28 Chong Yidong <cyd@gnu.org>
4975
4976 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4977
c3f1c606
NR
49782011-11-27 Nick Roberts <nickrob@snap.net.nz>
4979
4980 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4981 gdb-get-source-file-list on gdb-create-source-file-list.
4982
00db469c
EZ
49832011-11-26 Eli Zaretskii <eliz@gnu.org>
4984
4985 * whitespace.el (whitespace-newline): Use a different foreground
4986 color for 16-color light-background displays.
4987
4ad3bc2a
CY
49882011-11-24 Chong Yidong <cyd@gnu.org>
4989
4990 * window.el (display-buffer--special-action): Doc fix.
4991
e9fce1ac
JB
49922011-11-25 Juanma Barranquero <lekktu@gmail.com>
4993
4994 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4995 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4996 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4997 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4998 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4999 (avl-tree-stack-first):
5000 * emacs-lisp/cconv.el (cconv--analyse-use):
5001 * net/gnutls.el (gnutls-negotiate): Fix typos.
5002
cb825e5d
GM
50032011-11-24 Glenn Morris <rgm@gnu.org>
5004
3adbe224
GM
5005 * lpr.el (lpr-windows-system, lpr-lp-system):
5006 * mail/binhex.el (binhex-begin-line):
5007 * progmodes/grep.el (grep-history, grep-find-history):
5008 * textmodes/flyspell.el:
5009 * vc/pcvs-defs.el (cvs-global-menu):
5010 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5011 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5012 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5013
321decc8
GM
5014 * net/tls.el: Fix case of "GnuTLS".
5015
420b63ad
GM
5016 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5017
cb825e5d
GM
5018 * version.el (emacs-build-system): Give it a doc-string.
5019
a0649f08
JL
50202011-11-24 Juri Linkov <juri@jurta.org>
5021
5022 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5023
c0bc0fd4
GM
50242011-11-24 Glenn Morris <rgm@gnu.org>
5025
5026 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5027 if called on a non-mime message just toggle the headers. (Bug#8006)
5028
20db1522
JB
50292011-11-24 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5032 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5033 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5034 (allout-rebullet-heading, allout-open-sibtopic)
5035 (allout-toggle-current-subtree-encryption)
5036 (allout-toggle-subtree-encryption, allout-encrypt-string)
5037 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5038 (allout-distinctive-bullets-string, allout-auto-activation):
5039 * window.el (window-normalize-buffer-to-display):
5040 * progmodes/verilog-mode.el (verilog-batch-indent):
5041 * textmodes/bibtex.el (bibtex-field-braces-opt)
5042 (bibtex-field-strings-opt):
5043 * vc/cvs-status.el (cvs-tree-merge):
5044 Fix typos.
5045
7262a87c
MA
50462011-11-23 Michael Albinus <michael.albinus@gmx.de>
5047
5048 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5049 `non-essential' to t, in order to avoid remote connections.
5050
283430a1
EZ
50512011-11-23 Eli Zaretskii <eliz@gnu.org>
5052
a1beca85
SM
5053 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5054 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5055 case-insensitively.
5056
d2992a38
ML
50572011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5058
5059 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5060
50419064
GM
50612011-11-23 Glenn Morris <rgm@gnu.org>
5062
da94eca1
GM
5063 * paths.el (rmail-file-name): Reformat the doc-string so that it
5064 is picked up.
5065
9aac4de2
GM
5066 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5067 (rmail-auto-file): Ignore case in the "special" field names,
5068 as mail-fetch-field does for all others.
5069
8038d2d2
GM
5070 * mail/rmail.el (rmail-forward):
5071 * mail/rmailkwd.el (rmail-set-label):
5072 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5073 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5074
f3fe222a
GM
5075 * mail/rmail.el (rmail-current-message): Doc fix.
5076
50419064
GM
5077 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5078
28109f49
SM
50792011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5082
394c65f1
GM
50832011-11-22 Glenn Morris <rgm@gnu.org>
5084
5085 * mail/rmailmm.el (test-rmail-mime-handler)
5086 (test-rmail-mime-bulk-handler)
5087 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5088
f2a0aa3a
JL
50892011-11-21 Juri Linkov <juri@jurta.org>
5090
1154d12e
JB
5091 * calc/calc.el (calc-read-key-sequence):
5092 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5093
9c34a344
LMI
50942011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
5096 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5097 Tell the caller that the next line needs recomputation, even
5098 though it doesn't start a sexp (bug#10094).
5099
f04a3be9
SM
51002011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5103
7978747f
SM
51042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5105
f04a3be9
SM
5106 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5107 Use force-same-window.
7978747f 5108
fe7a3057
JB
51092011-11-20 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * descr-text.el (describe-char-unicode-data):
5112 * json.el (json-string-escape):
5113 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5114 (Footnote-unicode, Footnote-style-p):
5115 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5116
24901d61
CY
51172011-11-20 Chong Yidong <cyd@gnu.org>
5118
5119 * window.el (replace-buffer-in-windows): Restore interactive spec.
5120
bac7ff22
SM
51212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5122
24f3d7b9
SM
5123 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5124
bac7ff22
SM
5125 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5126 (byte-compile-global-not-obsolete-vars): New var.
5127 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5128 Use it.
5129 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5130
cd1181db
JB
51312011-11-20 Juanma Barranquero <lekktu@gmail.com>
5132
5133 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5134 * progmodes/pascal.el (electric-pascal-equal):
5135 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5136 * xml.el (xml-substitute-special): Fix typos.
5137
7fb18e9e
GM
51382011-11-20 Glenn Morris <rgm@gnu.org>
5139
5140 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5141 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5142 Doc fixes.
5143 (rmail-decode-mime-charset): Mark as obsolete.
5144
5145 * mail/rmailsum.el (rmail-message-regexp-p-1):
5146 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5147 Before using mime functions, check they are set. (Bug#10077)
5148
d5a6b3ba
JL
51492011-11-19 Juri Linkov <juri@jurta.org>
5150
5151 * info.el (Info-finder-find-node): Use `package--builtins' instead
5152 of `package-alist'. Use node names formed by the pattern "Keyword "
5153 and the keyword name.
5154
e981b61f
AS
51552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5156
1d00653d 5157 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5158
3ffbc301
JL
51592011-11-19 Juri Linkov <juri@jurta.org>
5160
5161 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5162 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5163 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5164 `old-history', `old-history-forward'. Add let-binding
5165 `window-selected'. Remove calls to `kill-buffer',
5166 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5167 before calling `Info-find-node', so `Info-find-node-2' will reread
5168 the Info file. Restore window positions only when `window-selected'
5169 is non-nil.
5170
30c62133
JL
51712011-11-19 Juri Linkov <juri@jurta.org>
5172
5173 * isearch.el (isearch-lazy-highlight-new-loop):
5174 Remove condition `(not isearch-error)'. (Bug#9918)
5175
5176 * misearch.el (multi-isearch-search-fun): Add condition
5177 `(not bound)' to ignore lazy-highlighting search.
5178 Add the search-failed message "end of multi" when the end of
5179 multi-sequence is reached. Uncapitalize the search-failed
5180 message "Repeat for next buffer".
5181
5182 * info.el (Info-search): Add the search-failed message
5183 "end of the manual" when the end of the manual is reached
5184 in Isearch mode.
5185
645ca9cf
JL
51862011-11-19 Juri Linkov <juri@jurta.org>
5187
5188 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5189 Use non-destructive `remove' instead of `delete' because
5190 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5191 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5192
df754f66
JL
51932011-11-19 Juri Linkov <juri@jurta.org>
5194
5195 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5196 to nil instead of binding `search-ring' and `regexp-search-ring'.
5197 (Bug#9185)
5198
0e23d96a
EZ
51992011-11-19 Eli Zaretskii <eliz@gnu.org>
5200
5201 * simple.el (line-move): Force movement by logical lines for any
5202 hscrolled window, not only when auto-hscroll-mode is on.
5203 (line-move-visual): Update doc string to that effect. (Bug#10076)
5204
8a6ccb66
AS
52052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5206
5207 * language/european.el (macintosh): Define as alias for mac-roman.
5208
49ae5b39
EZ
52092011-11-19 Eli Zaretskii <eliz@gnu.org>
5210
5211 * mail/rmailmm.el (rmail-mime-display-header)
5212 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5213 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5214 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5215 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5216 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5217 of a raw aref.
5218 (rmail-mime-entity-segment): To get past the tagline, move forward
5219 2 more lines, to account for the 2 empty lines that precede and
5220 follow the line with the buttons.
5221 (rmail-mime-update-tagline): Move one more line, to get past the
5222 empty line that follows the buttons in the tagline. (Bug#9520)
5223
c56cad4a
MR
52242011-11-19 Martin Rudalics <rudalics@gmx.at>
5225
5226 * window.el (window-max-delta-1, window-min-delta-1)
5227 (window-min-size-1, window-state-get-1, window-state-put-1)
5228 (window-state-put-2): Use "window--" prefix.
5229
cbe71af3
SM
52302011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5231
2ad52c60
SM
5232 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5233 (smie-warning-count): New var.
5234 (smie-set-prec2tab): Use it.
5235 (smie-bnf->prec2): Improve warnings. Add docstring.
5236 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5237 (smie-bnf--set-class): New function.
5238 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5239 corner case.
5240
6944dbc1
SM
5241 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5242 (compilation-error-properties, compilation-move-to-column):
5243 Handle compilation-first-column while in the target buffer.
5244
c400c4d7
SM
5245 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5246 Don't hardcode point-min==1.
5247
6dbe3e96
SM
5248 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5249 (eshell-rewrite-for-command): Remove workaround.
5250 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5251 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5252 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5253
cbe71af3
SM
5254 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5255
a8e1496d
GM
52562011-11-17 Glenn Morris <rgm@gnu.org>
5257
5258 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5259 Ignore buffer-local generated-autoload-file if it is the same
5260 as the global value. (Bug#10049)
5261
df85d315
JB
52622011-11-17 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5265 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5266 (reftex-toc-previous-heading, reftex-toc-max-level)
5267 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5268 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5269 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5270 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5271 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5272 (reftex-toc-rename-label, reftex-toc-visit-location)
5273 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5274 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5275 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5276 leaving "*toc*" only for references to the buffer.
5277
a0c2d0ae
MR
52782011-11-17 Martin Rudalics <rudalics@gmx.at>
5279
5280 * window.el (window-resize, delete-window, split-window):
5281 Replace window-splits by window-combination-resize.
1d00653d 5282 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5283
35c0bac8
GM
52842011-11-17 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5287 Make bash entry derive from sh entry, not shell entry.
5288
d0c8fc8a
MA
52892011-11-16 Michael Albinus <michael.albinus@gmx.de>
5290
d0c8fc8a
MA
5291 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5292 properties of linked files. (Bug#9879)
5293
7262a87c
MA
5294 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5295 local file name.
5296
7877f373
JB
52972011-11-16 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * menu-bar.el (menu-bar-file-menu):
5300 * printing.el (pr-ps-utility):
5301 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5302 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5303 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5304 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5305 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5306 (icalendar--convert-cyclic-to-ical)
5307 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5308 (icalendar--convert-ical-to-diary)
5309 (icalendar--convert-recurring-to-diary)
5310 (icalendar--convert-non-recurring-all-day-to-diary)
5311 (icalendar-import-format-sample):
5312 * progmodes/idlw-shell.el (idlwave-shell-mode):
5313 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5314 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5315 (vhdl-ps-print-init): Fix typos.
5316
10649b82
KM
53172011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5318
9d0cfcd6
GM
5319 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5320 FSF and collapse date sequence, obscure author/maintainer email address
5321 better, remove extra version line, track relocation of author's webpage.
10649b82 5322
9d0cfcd6
GM
5323 * progmodes/python.el (python-pdbtrack-input-prompt)
5324 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5325 regular python pdb prompts. Adjustments shamelessly taken exactly as
5326 suggested in EmacsWiki page (tiny change):
5327 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5328
58179cce
JB
53292011-11-16 Juanma Barranquero <lekktu@gmail.com>
5330
5331 * expand.el (expand-pos, expand-index, expand-point):
5332 Remove redundant info from docstring.
5333 (expand-add-abbrevs): Doc fix.
5334 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5335 (expand-sample-perl-mode-expand-list): Fix typos.
5336
5337 * net/dbus.el (dbus-event-member-name):
5338 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5339 * term/pc-win.el (msdos-create-frame-with-faces):
5340 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5341
b6f67890
MR
53422011-11-16 Martin Rudalics <rudalics@gmx.at>
5343
5344 * window.el (split-window, window-state-get-1)
5345 (window-state-put-1, window-state-put-2): Rename occurrences of
5346 window-nest to window-combination-limit.
1d00653d 5347 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5348
ce7ddba0
CY
53492011-11-16 Chong Yidong <cyd@gnu.org>
5350
5351 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5352 regexp (Bug#10033).
5353
3ae704f4
SM
53542011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5357 `completing-read' will remove *Completions* and will preserve
5358 current-buffer for us.
5359 (tmm-add-prompt): Users of *Completions* will always (re)set its
5360 major mode.
5361 (tmm-old-comp-map): Remove.
5362
6ad1cdde
GM
53632011-11-16 Glenn Morris <rgm@gnu.org>
5364
5365 * mail/rmailedit.el: Require rmailmm when compiling.
5366 (rmail-old-mime-state): New declaration.
5367 (rmail-edit-current-message): If editing a mime message,
5368 edit the "raw" message from the mbox buffer.
5369 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5370
d20faa20
GM
53712011-11-15 Glenn Morris <rgm@gnu.org>
5372
5373 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5374 which wasn't being used. Add optional arg to force given state.
5375 (rmail-mime): Add optional arg to force given state.
5376
c7015153
JB
53772011-11-15 Juanma Barranquero <lekktu@gmail.com>
5378
5379 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5380 * frame.el (display-mm-dimensions-alist):
5381 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5382 (outline-move-subtree-down):
5383 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5384 (newsticker--treeview-do-get-node):
5385 * net/quickurl.el (quickurl-list-buffer-name):
5386 * progmodes/dcl-mode.el (dcl-mode):
5387 * progmodes/gdb-mi.el (gdb-mapcar*):
5388 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5389
45261b50
GM
53902011-11-15 Glenn Morris <rgm@gnu.org>
5391
5392 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5393 in a boolean sense, so just make it a boolean, and fix the doc.
5394 (rmail-show-mime-function, rmail-mime-feature)
5395 (rmail-require-mime-maybe): Doc fixes.
5396 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5397
5398 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5399
0d26e0b6
JB
54002011-11-15 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5403 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5404 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5405 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5406
447f30f6
GM
54072011-11-15 Glenn Morris <rgm@gnu.org>
5408
672b871d
GM
5409 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5410 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5411 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5412 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5413 (rmail-mime, rmail-show-mime): Doc fixes.
5414
f6aa5bb1
GM
5415 * term/ns-win.el (mode-line-frame-identification):
5416 Leave it alone. (Bug#10051)
5417
947cd66b
GM
5418 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5419
447f30f6
GM
5420 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5421 Handle empty buffers. (Bug#9978)
5422
0b381c7e
JB
54232011-11-14 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * international/mule.el (define-charset):
5426 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5427 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5428 * progmodes/verilog-mode.el (verilog-backward-token):
5429 * textmodes/ispell.el (lookup-words):
5430 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5431
71e027ac
GM
54322011-11-14 Glenn Morris <rgm@gnu.org>
5433
56632ce4
GM
5434 * progmodes/executable.el
5435 (executable-make-buffer-file-executable-if-script-p):
5436 Handle file-modes returning nil.
5437
40500957
GM
5438 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5439 message - not necessary, and causes problems. (Bug#9831)
5440
071c2340
GM
5441 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5442
d3cfca60
GM
5443 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5444
71e027ac
GM
5445 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5446 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5447 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5448
89d61221
MR
54492011-11-12 Martin Rudalics <rudalics@gmx.at>
5450
5451 * window.el (window-resize, delete-window): Use window-splits
5452 variable instead of function.
5453 (window-state-get-1, window-state-put-2, window-state-put):
5454 Don't deal with windows' splits status.
5455
98282f6f
GM
54562011-11-12 Glenn Morris <rgm@gnu.org>
5457
5458 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5459 (apropos-documentation): Doc fixes.
5460
40a8bdf6
JB
54612011-11-11 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5464 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5465
65bd19ff
SM
54662011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * electric.el (electric-indent-post-self-insert-function): Make it
5469 possible for a char to only indent in some circumstances.
5470 (electric-indent-mode): Simplify.
5471
54f9154c
MR
54722011-11-11 Martin Rudalics <rudalics@gmx.at>
5473
5474 * window.el (windows-with-parameter): Remove unused function.
5475 (windows-at-side): Rename to window-at-side-list.
5476 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5477 (window-side-check, window-size-ignore, window-size-fixed-1)
5478 (window-in-direction-2): Prefix with "window--".
5479 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5480
68cbc58b
GM
54812011-11-11 Glenn Morris <rgm@gnu.org>
5482
5483 * subr.el (eval-after-load): If FILE is already loaded,
5484 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5485
b2621720
GM
54862011-11-10 Glenn Morris <rgm@gnu.org>
5487
9a4de110
GM
5488 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5489 Call svn via vc-svn-command rather than vc-do-command.
5490 (vc-svn-command): Add --non-interactive. (Bug#9993)
5491 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5492
b2621720
GM
5493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5494 Add toggle-read-only. (Bug#7292)
5495 * files.el (toggle-read-only): Mention that it should only
5496 be used interactively. (Bug#10006)
5497
1dce7193
SM
54982011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5499
d9ac1a1e
SM
5500 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5501 Adjust regexp for OCaml warnings.
5502
0c325082
SM
5503 * electric.el (electric-pair-post-self-insert-function): Let user
5504 turn it off buffer-locally (bug#9932).
5505
90132c14
SM
5506 * progmodes/python.el (python-beginning-of-statement):
5507 Rewrite (bug#2703).
5508
1dce7193
SM
5509 * progmodes/compile.el: Better handle TABs (bug#9749).
5510 (compilation-internal-error-properties)
5511 (compilation-next-error-function): Obey the target buffer's
5512 compilation-error-screen-columns.
5513
c4e7c63a
JB
55142011-11-09 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * progmodes/meta-mode.el: Remove obsolete comments.
5517 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5518 Fix typos in docstrings.
5519
2cffd681
MR
55202011-11-09 Martin Rudalics <rudalics@gmx.at>
5521
5522 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5523 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5524 (window--resizable): New function. Make all callers of
5525 window-resizable call window--resizable instead.
5526 (window-resizable): Rewrite in terms of window--resizable.
5527
0edcba87
GM
55282011-11-08 Glenn Morris <rgm@gnu.org>
5529
5530 * progmodes/delphi.el (delphi-mode-syntax-table):
5531 Let define-derived-mode define a proper syntax table. (Bug#9994)
5532
4b0d61e3
SM
55332011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * window.el: Stay away from defsubst.
5536 (window-list-no-nils): Remove.
5537 (window-state-get-1, window-state-get): Use backquote instead.
5538
cd394be1 55392011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5540
4b0d61e3 5541 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5542 Fix incorrect use of default argument in `completing-read'.
5543
e1c2c6f2
MR
55442011-11-08 Martin Rudalics <rudalics@gmx.at>
5545
5546 * window.el (display-buffer-function, special-display-function):
5547 Mention display-buffer-record-window but do not mention
5548 help-setup parameter in doc-strings.
b3f4a882 5549 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5550
105216ed
CY
55512011-11-08 Chong Yidong <cyd@gnu.org>
5552
5553 * window.el (window-total-height, window-total-width): Doc fix.
5554 (window-body-size): Move from C.
5555 (window-body-height, window-body-width): Move to C.
5556
0a9f9ab5
SM
55572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * window.el: Make special-display like display-buffer-alist (bug#9532).
5560 (display-buffer--special-action): New function, morphed
5561 from display-buffer--special.
5562 (display-buffer): Use it to handle special-display-buffers at higher
5563 priority (just after display-buffer-alist).
5564 (display-buffer-fallback-action, display-buffer--other-frame-action)
5565 (pop-to-buffer-same-window): Remove display-buffer--special.
5566
a769dd15
GM
55672011-11-07 Glenn Morris <rgm@gnu.org>
5568
5569 * calendar/cal-menu.el (cal-menu-set-date-title):
5570 Do nothing if not in a calendar. (Bug#9976)
5571
05a61ee3
SM
55722011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * files.el (find-file): Always use selected-window.
5575
be7f5545
MR
55762011-11-07 Martin Rudalics <rudalics@gmx.at>
5577
5578 * window.el (window-combinations): Make WINDOW argument
5579 mandatory. Rewrite doc-string.
5580 (walk-window-subtree, window-atom-check, window-min-delta)
5581 (window-max-delta, window--resize-this-window)
5582 (window--resize-root-window-vertically, window-tree)
5583 (balance-windows, window-state-put): Rewrite doc-strings as to
5584 not mention the term "subwindow".
5585 (window--resize-subwindows-skip-p): Rename to
5586 window--resize-child-windows-skip-p.
5587 (window--resize-subwindows-normal): Rename to
5588 window--resize-child-windows-normal.
5589 (window--resize-subwindows): Rename to
5590 window--resize-child-windows.
5591 (window-or-subwindow-p): Rename to window--in-subtree-p.
5592
3c6702ef
ML
55932011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5594
5595 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5596 Ensure that mbox format messages end in two newlines (Bug#9974).
5597
49745b39
CY
55982011-11-06 Chong Yidong <cyd@gnu.org>
5599
5600 * window.el (window-combination-p): Function deleted; its
5601 side-effect is not used in any existing code.
5602 (window-combinations, window-combined-p): Call window-*-child
5603 directly.
5604
24300f5f
CY
56052011-11-05 Chong Yidong <cyd@gnu.org>
5606
5607 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5608 (window-size-ignore, window-state-get): Callers changed.
5609 (window-normalize-window): Rename from window-normalize-any-window.
5610 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5611 (window-normalize-live-window): Delete.
447f16b8
CY
5612 (window-combination-p, window-combined-p, window-combinations)
5613 (walk-window-subtree, window-atom-root, window-min-size)
5614 (window-sizable, window-sizable-p, window-size-fixed-p)
5615 (window-min-delta, window-max-delta, window-resizable)
5616 (window-resizable-p, window-full-height-p, window-full-width-p)
5617 (window-current-scroll-bars, window-point-1, set-window-point-1)
5618 (window-at-side-p, window-in-direction, window-resize)
5619 (adjust-window-trailing-edge, maximize-window, minimize-window)
5620 (window-deletable-p, delete-window, delete-other-windows)
5621 (record-window-buffer, unrecord-window-buffer)
5622 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5623 (quit-window, split-window, window-state-put)
5624 (set-window-text-height, fit-window-to-buffer)
5625 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5626
89bd5ee1
EZ
56272011-11-04 Eli Zaretskii <eliz@gnu.org>
5628
53479029
EZ
5629 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5630 rfc2047-decode-string.
5631 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5632 warnings.
5633
89bd5ee1
EZ
5634 * window.el (window-body-height, window-body-width): Mention in
5635 the doc string that the return values are in frame's canonical
5636 units. (Bug#9949)
5637
bd17fdee
AM
56382011-11-03 Alan Mackenzie <acm@muc.de>
5639
5640 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5641 change in cc-engine.el.
5642
acc825c5
SM
56432011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5646
1885e5b8
MR
56472011-11-02 Martin Rudalics <rudalics@gmx.at>
5648
5649 * window.el (quit-window): Call unrecord-window-buffer after
5650 showing another buffer in the window. (Bug#9937)
acc825c5 5651 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5652
ebe06da9
JB
56532011-11-02 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5656 Accept status with more than 9 shelves. (Bug#9935)
5657 Reported by Colin D Bennett <colin@gibibit.com>.
5658
4ee88440
MR
56592011-11-01 Martin Rudalics <rudalics@gmx.at>
5660
5661 * help.el (with-help-window): Don't reference
5662 temp-buffer-show-specifiers in doc-string.
5663
08e1d82c
AS
56642011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5665
5666 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5667 menu-item.
5668
84bd6e9e
VJL
56692011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5670
5671 * whitespace.el: New version 13.2.2.
5672 (whitespace-newline-mode): Disable properly. Reported by Sarah
5673 <EmacsWiki>.
5674
dba0634a
UJ
56752011-10-30 Ulf Jasper <ulf.jasper@web.de>
5676
5677 * net/newst-treeview.el: Remove "Time-stamp".
5678 (newsticker--group-manage-orphan-feeds): Do not call
5679 newsticker--treeview-tree-update.
db22a3c2
JB
5680 (newsticker-treeview-update, newsticker-treeview):
5681 Call newsticker--treeview-tree-update if necessary.
dba0634a 5682
3d8daefe
MR
56832011-10-30 Martin Rudalics <rudalics@gmx.at>
5684
5685 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5686 (window-iso-combinations): Remove "iso-" infix.
5687 Suggested by Chong Yidong.
3d8daefe
MR
5688 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5689 (window-max-delta-1, window-resize, window--resize-siblings)
5690 (window--resize-this-window, adjust-window-trailing-edge)
5691 (split-window, balance-windows-1)
5692 (shrink-window-if-larger-than-buffer):
5693 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5694 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5695
1bc4c3ae
SM
56962011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5699 in place (bug#9907).
5700 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5701 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5702 (eshell-structure-basic-command, eshell-rewrite-while-command)
5703 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5704 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5705 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5706 (eshell-do-pipelines-synchronously, eshell-eval-command):
5707 Use backquotes and prefer setq to set.
5708 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5709 (eshell-macrop): Use functionp.
c1e2f5fa 5710 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5711
30b65d9c
CY
57122011-10-30 Chong Yidong <cyd@gnu.org>
5713
5714 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5715 instead of set-mark (Bug#9810).
5716
2d197ffb
CY
57172011-10-30 Chong Yidong <cyd@gnu.org>
5718
5719 * window.el (split-window-below, split-window-right): Rename from
5720 split-window-above-each-other and split-window-side-by-side
5721 respectively. All callers changed.
5722 (split-window-sensibly, split-window-sensibly): Use them.
5723 (split-window-keep-point): Doc fix.
5724
5725 * isearch.el: Add isearch-scroll property to split-window-below
5726 and split-window-right.
5727
5728 * follow.el (follow-mode):
5729 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5730 * progmodes/ada-xref.el (ada-gdb-application):
5731 * emulation/vip.el (vip-buffer-in-two-windows):
5732 * image-dired.el (image-dired-dired-with-window-configuration):
5733 * dired-x.el (dired-do-find-marked-files):
5734 * dired.el (dired-pop-to-buffer):
5735 * bs.el (bs--show-with-configuration):
5736 * vc/emerge.el (emerge-setup-windows):
5737 * textmodes/two-column.el (2C-two-columns):
5738 * textmodes/reftex-toc.el (reftex-toc):
5739 * progmodes/gdb-mi.el (gdb-setup-windows):
5740 * progmodes/fortran.el (fortran-window-create):
5741 * net/newst-treeview.el (newsticker--treeview-window-init):
5742 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5743 * emulation/tpu-edt.el (tpu-gold-map):
5744 * emulation/crisp.el (crisp-mode-map):
5745 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5746
38bb2ca8
CY
57472011-10-29 Chong Yidong <cyd@gnu.org>
5748
aa4de341
CY
5749 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5750
e1eb5385
CY
5751 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5752
5d2ece3c
CY
5753 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5754 forged Ispell output (Bug#7904).
5755
38bb2ca8
CY
5756 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5757
d0af9f77
SM
57582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * doc-view.el: Avoid ugly errors about not finding nil.
5761 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5762 (doc-view-dvipdf-program, doc-view-unoconv-program)
5763 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5764 Avoid nil or absolute file name as default value.
5765 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5766
52bedd34
AM
57672011-10-28 Alan Mackenzie <acm@muc.de>
5768
db22a3c2 5769 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5770
7e43cfa5
AM
57712011-10-28 Alan Mackenzie <acm@muc.de>
5772
5773 Amend the handling of c-beginning/end-of-defun in nested declaration
5774 scopes.
5775
52bedd34
AM
5776 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5777 cc-langs.el. Change it to a defcustom.
7e43cfa5 5778
52bedd34
AM
5779 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5780 cc-vars.el.
7e43cfa5 5781
d0af9f77
SM
5782 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5783 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5784
52bedd34 5785 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5786 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5787 (c-widen-to-enclosing-decl-scope): New function.
5788 (c-while-widening-to-decl-block): New macro.
5789 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5790 outward for defun boundaries, and correspondingly change symbol
5791 `respect-enclosure' to `go-outward'.
5792 (c-declaration-limits): Change algorithm to report only the "innermost"
5793 defun's boundaries.
5794
1a2ce9ee
DD
57952011-10-28 Deniz Dogan <deniz@dogan.se>
5796
5797 * net/rcirc.el (rcirc-mode): Use hard newlines.
5798
bc97a826
AM
57992011-10-28 Alan Mackenzie <acm@muc.de>
5800
5801 Amend to indent and fontify macros "which include their own semicolon"
5802 correctly, using the "virtual semicolon" mechanism.
5803
52bedd34 5804 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5805
d0af9f77 5806 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5807 Recode to scan one line at a time rather than having \n and \r
58179cce 5808 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5809 (c-forward-label): Amend for virtual semicolons.
58179cce 5810 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5811
52bedd34
AM
5812 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5813 of the new C macros.
bc97a826 5814
52bedd34 5815 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5816 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5817 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5818 (c-opt-cpp-macro-define): Make into a full language variable.
5819 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5820 AWK Mode (including \n, \r) removed, no longer needed.
5821
d0af9f77
SM
5822 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5823 Invoke c-make-macro-with-semi-re.
bc97a826 5824
52bedd34
AM
5825 * progmodes/cc-vars.el (c-macro-with-semi-re):
5826 (c-macro-names-with-semicolon): New variables.
58179cce 5827 (c-make-macro-with-semi-re): New function.
bc97a826 5828
7a6c0941
SM
58292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * vc/log-edit.el: Fill empty field rather than adding new one.
5832 (log-edit-add-field): New function.
5833 (log-edit-insert-changelog): Use it.
5834
b0c4cdcf
ML
58352011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5836
5837 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5838
ee1f1da9
SM
58392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5842 (gdb--check-interpreter): New function.
5843 (gdb): Use it.
5844
51bc5f8b
GM
58452011-10-27 Glenn Morris <rgm@gnu.org>
5846
416a2c45
GM
5847 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5848 (least-positive-float, least-negative-float)
5849 (least-positive-normalized-float, least-negative-normalized-float)
5850 (float-epsilon, float-negative-epsilon):
5851 Remove unnecessary declarations.
5852
5853 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5854 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5855 (least-positive-float, least-negative-float)
5856 (least-positive-normalized-float, least-negative-normalized-float)
5857 (float-epsilon, float-negative-epsilon): Add doc-strings,
5858 based on those in cl.texi.
5859
51bc5f8b
GM
5860 * files.el (set-visited-file-name): If the major-mode changed,
5861 reload the local variables. (Bug#9796)
5862
15de15c6
CY
58632011-10-27 Chong Yidong <cyd@gnu.org>
5864
5865 * subr.el (change-major-mode-after-body-hook): New hook.
5866 (run-mode-hooks): Run it.
5867
ee1f1da9
SM
5868 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5869 Use change-major-mode-before-body-hook.
15de15c6
CY
5870
5871 * simple.el (fundamental-mode):
5872 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5873 change introducing fundamental-mode-hook.
5874
5430d399
JB
58752011-10-26 Juanma Barranquero <lekktu@gmail.com>
5876
acc825c5 5877 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5878
ad74a69e
MA
58792011-10-26 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5882 tramp.el explicitly. (Bug#7583)
ad74a69e 5883
71d4c2a5
SM
58842011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * progmodes/octave-mod.el:
5887 * progmodes/octave-inf.el: Update maintainer.
5888
b1f6fa26
CY
58892011-10-26 Chong Yidong <cyd@gnu.org>
5890
5891 * subr.el (with-wrapper-hook): Rewrite doc.
5892
3f04efd6
MA
58932011-10-25 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5896 filenames "/method:foo:". (Bug#9793)
3f04efd6 5897
410488d3
SM
58982011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5901 (bug#9865).
5902
c1ebb47e
GM
59032011-10-24 Glenn Morris <rgm@gnu.org>
5904
5905 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5906
7f5c46c7
MA
59072011-10-24 Michael Albinus <michael.albinus@gmx.de>
5908
5909 * notifications.el: Add the requirement of a running D-Bus session
5910 bus to the Commentary.
5911
db2440b6
JL
59122011-10-24 Juri Linkov <juri@jurta.org>
5913
5914 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5915 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5916 (Bug#9364)
5917
feecf435
JL
59182011-10-24 Juri Linkov <juri@jurta.org>
5919
5920 * info.el (Info-following-node-name-re): Add newline to the list
5921 of allowed characters for leading space. (Bug#9824)
5922
a3839de2
SM
59232011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5924
acc825c5
SM
5925 * progmodes/octave-inf.el (inferior-octave-mode-map):
5926 Fix C-c C-h binding.
a3839de2
SM
5927 * progmodes/octave-mod.el (octave-help): Remove.
5928
09388e76
MA
59292011-10-23 Michael Albinus <michael.albinus@gmx.de>
5930
5931 Sync with Tramp 2.2.3.
5932
5933 * net/tramp-cache.el (top): Pacify byte-compiler using
5934 `init-file-user' and `site-run-file'.
5935
5936 * net/trampver.el: Update release number.
5937
86c60681
CY
59382011-10-23 Chong Yidong <cyd@gnu.org>
5939
5940 * files.el (toggle-read-only): Remove obsolete comment about
5941 version control.
5942
5943 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5944 for toggle-read-only. Note that this hasn't called vc-next-action
5945 since 2008-05-02, though it wasn't documented at the time.
5946
a3839de2
SM
5947 * vc/ediff-init.el (ediff-toggle-read-only-function):
5948 Use toggle-read-only.
86c60681 5949
cd5495ff
AM
59502011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5951
5952 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5953 of c-parse-state.
5954
00b77525 5955 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5956 correct faulty logical expression.
cd5495ff
AM
5957 (c-parse-state-state, c-record-parse-state-state):
5958 (c-replay-parse-state-state): New defvar/defuns.
5959 (c-debug-parse-state): Use new functions.
5960
42ee24ed
MR
59612011-10-22 Martin Rudalics <rudalics@gmx.at>
5962
5963 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5964 last fix. Use window-in-direction correctly.
42ee24ed 5965
a7dee7e7
CY
59662011-10-21 Chong Yidong <cyd@gnu.org>
5967
5968 * progmodes/idlwave.el (idlwave-mode):
5969 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5970 require-final-newline; that's done in prog-mode.
5971 Suggested by Stefan Monnier.
a7dee7e7 5972
e07b9a6d
MR
59732011-10-21 Martin Rudalics <rudalics@gmx.at>
5974
5975 * mouse.el (mouse-drag-window-above)
5976 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5977 (mouse-drag-mode-line-1, mouse-drag-header-line)
5978 (mouse-drag-vertical-line-rightward-window): Remove.
5979 (mouse-drag-line): New function.
5980 (mouse-drag-mode-line, mouse-drag-header-line)
5981 (mouse-drag-vertical-line): Call mouse-drag-line.
5982 * window.el (window-at-side-p, windows-at-side): New functions.
5983
7e1361d9
UM
59842011-10-21 Ulrich Mueller <ulm@gentoo.org>
5985
5986 * tar-mode.el (tar-grind-file-mode):
5987 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5988
30fcaf3a
CY
59892011-10-21 Chong Yidong <cyd@gnu.org>
5990
5991 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5992 * progmodes/vera-mode.el (vera-mode):
5993 Use mode-require-final-newline.
30fcaf3a 5994
516eddb0
GM
59952011-10-20 Glenn Morris <rgm@gnu.org>
5996
db22a3c2 5997 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5998
10d5f513
CS
59992011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6000
6001 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6002
ac6c8639
CY
60032011-10-20 Chong Yidong <cyd@gnu.org>
6004
6005 * emulation/cua-base.el (cua-mode):
6006 * mail/footnote.el (footnote-mode):
6007 * mail/mailabbrev.el (mail-abbrevs-mode):
6008 * net/xesam.el (xesam-minor-mode):
6009 * progmodes/bug-reference.el (bug-reference-mode):
6010 * progmodes/cap-words.el (capitalized-words-mode):
6011 * progmodes/compile.el (compilation-minor-mode)
6012 (compilation-shell-minor-mode):
6013 * progmodes/gud.el (gud-tooltip-mode):
6014 * progmodes/hideif.el (hide-ifdef-mode):
6015 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6016 * progmodes/subword.el (subword-mode):
6017 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6018 * progmodes/which-func.el (which-function-mode):
6019 * term/tvi970.el (tvi970-set-keypad-mode):
6020 * term/vt100.el (vt100-wide-mode):
6021 * textmodes/flyspell.el (flyspell-mode):
6022 * textmodes/ispell.el (ispell-minor-mode):
6023 * textmodes/nroff-mode.el (nroff-electric-mode):
6024 * textmodes/paragraphs.el (use-hard-newlines):
6025 * textmodes/refill.el (refill-mode):
6026 * textmodes/reftex.el (reftex-mode):
6027 * textmodes/rst.el (rst-minor-mode):
6028 * textmodes/sgml-mode.el (html-autoview-mode)
6029 (sgml-electric-tag-pair-mode):
6030 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6031 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6032 * emulation/crisp.el (crisp-mode):
6033 * emacs-lisp/eldoc.el (eldoc-mode):
6034 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6035 minor mode behavior.
6036
aa42ab43
JL
60372011-10-19 Juri Linkov <juri@jurta.org>
6038
6039 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6040 the list of hard-coded chars with escape-glyph face.
6041
89400f1d
SM
60422011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6045
305c07f6
MA
60462011-10-19 Michael Albinus <michael.albinus@gmx.de>
6047
6048 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6049 running process.
6050
13754b54
GM
60512011-10-19 Glenn Morris <rgm@gnu.org>
6052
6053 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6054 Ignore ignored files. (Bug#9726)
6055
06e21633
CY
60562011-10-19 Chong Yidong <cyd@gnu.org>
6057
6058 Doc fix for minor modes, stating that an omitted argument enables
6059 the mode unconditionally when called from Lisp.
6060
6061 * abbrev.el (abbrev-mode):
6062 * allout.el (allout-mode):
6063 * autoinsert.el (auto-insert-mode):
6064 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6065 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6066 (global-auto-revert-mode):
6067 * battery.el (display-battery-mode):
6068 * composite.el (global-auto-composition-mode)
6069 (auto-composition-mode):
6070 * delsel.el (delete-selection-mode):
6071 * desktop.el (desktop-save-mode):
6072 * dired-x.el (dired-omit-mode):
6073 * dirtrack.el (dirtrack-mode):
6074 * doc-view.el (doc-view-minor-mode):
6075 * double.el (double-mode):
6076 * electric.el (electric-indent-mode, electric-pair-mode):
6077 * emacs-lock.el (emacs-lock-mode):
6078 * epa-hook.el (auto-encryption-mode):
6079 * follow.el (follow-mode):
6080 * font-core.el (font-lock-mode):
6081 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6082 * help.el (temp-buffer-resize-mode):
6083 * hilit-chg.el (highlight-changes-mode)
6084 (highlight-changes-visible-mode):
6085 * hi-lock.el (hi-lock-mode):
6086 * hl-line.el (hl-line-mode, global-hl-line-mode):
6087 * icomplete.el (icomplete-mode):
6088 * ido.el (ido-everywhere):
6089 * image-file.el (auto-image-file-mode):
6090 * image-mode.el (image-minor-mode):
6091 * iswitchb.el (iswitchb-mode):
6092 * jka-cmpr-hook.el (auto-compression-mode):
6093 * linum.el (linum-mode):
6094 * longlines.el (longlines-mode):
6095 * master.el (master-mode):
6096 * mb-depth.el (minibuffer-depth-indicate-mode):
6097 * menu-bar.el (menu-bar-mode):
6098 * minibuf-eldef.el (minibuffer-electric-default-mode):
6099 * mouse-sel.el (mouse-sel-mode):
6100 * msb.el (msb-mode):
6101 * mwheel.el (mouse-wheel-mode):
6102 * outline.el (outline-minor-mode):
6103 * paren.el (show-paren-mode):
6104 * recentf.el (recentf-mode):
6105 * reveal.el (reveal-mode, global-reveal-mode):
6106 * rfn-eshadow.el (file-name-shadow-mode):
6107 * ruler-mode.el (ruler-mode):
6108 * savehist.el (savehist-mode):
6109 * scroll-all.el (scroll-all-mode):
6110 * scroll-bar.el (scroll-bar-mode):
6111 * server.el (server-mode):
6112 * shell.el (shell-dirtrack-mode):
6113 * simple.el (auto-fill-mode, transient-mark-mode)
6114 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6115 (line-number-mode, column-number-mode, size-indication-mode)
6116 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6117 * strokes.el (strokes-mode):
6118 * time.el (display-time-mode):
6119 * t-mouse.el (gpm-mouse-mode):
6120 * tool-bar.el (tool-bar-mode):
6121 * tooltip.el (tooltip-mode):
6122 * type-break.el (type-break-mode-line-message-mode)
6123 (type-break-query-mode):
6124 * view.el (view-mode):
6125 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6126 (global-whitespace-mode, global-whitespace-newline-mode):
6127 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6128
a3839de2
SM
6129 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6130 Fix autogenerated docstring.
06e21633 6131
5214e501
JL
61322011-10-19 Juri Linkov <juri@jurta.org>
6133
6134 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6135 by checking environment variables "DESKTOP_SESSION" and
6136 "XDG_CURRENT_DESKTOP". (Bug#9779)
6137
195f8db9
JL
61382011-10-19 Juri Linkov <juri@jurta.org>
6139
6140 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6141 (browse-url-chromium-program, browse-url-chromium-arguments):
6142 New defcustoms.
6143 (browse-url-default-browser): Check for `browse-url-chromium' and
6144 call `browse-url-chromium-program'.
6145 (browse-url-chromium): New command. (Bug#9779)
6146
343a34ff
JB
61472011-10-18 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * facemenu.el (list-colors-duplicates): On Windows, detect more
6150 duplicates by assuming that only colors matching "^System" are
6151 special "system colors". (Bug#9722)
6152
6978a151
SM
61532011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6156 to distinguish the author from the committer.
6157
6a80b297
MA
61582011-10-18 Michael Albinus <michael.albinus@gmx.de>
6159
6160 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6161
b31a5677
JK
61622011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6163
6164 * international/mule.el (sgml-html-meta-auto-coding-function):
6165 Add support for detecting encoding in HTML5 specified only as
6166 <meta charset="UTF-8">. Implementation just makes http-equiv and
6167 content-type parts from HTML4 encoding string optional. (Bug#9716)
6168
80c6d77f
GM
61692011-10-18 Glenn Morris <rgm@gnu.org>
6170
6171 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6172
08b0fee8
CY
61732011-10-18 Chong Yidong <cyd@gnu.org>
6174
6175 * faces.el (cursor): Doc fix.
6176
67e729a5
CY
61772011-10-17 Chong Yidong <cyd@gnu.org>
6178
6179 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6180
343a34ff 61812011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6182
6183 * dirtrack.el (dirtrack): Support shell buffers with path
6184 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6185
0bc06380
TZ
61862011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6187
6188 * json.el: Bump version to 1.3 and note change in History.
6189 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6190
8b79f3e0
SM
61912011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6192
5a7c536b
SM
6193 * comint.el (comint-insert-input, comint-send-input)
6194 (comint-get-old-input-default, comint-backward-matching-input)
6195 (comint-next-prompt): Use nil instead of `input' for field property of
6196 past user input (bug#114).
6197
96a8a0df
SM
6198 * minibuffer.el (completion--replace): Inherit surrounding properties
6199 (bug#114).
6200 (minibuffer-complete-and-exit): Use it.
6201
8b79f3e0
SM
6202 * comint.el (comint--table-subvert): Quote the all-completions output
6203 (bug#9160).
6204
b8f7ff0d
MR
62052011-10-17 Martin Rudalics <rudalics@gmx.at>
6206
8b79f3e0 6207 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6208
b8f7ff0d 6209 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6210 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6211 entries and separate them from frame entries.
6212
c235b555
GM
62132011-10-15 Glenn Morris <rgm@gnu.org>
6214
6215 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6216 Doc fixes.
6217
6bbfa6e1
CY
62182011-10-15 Chong Yidong <cyd@stupidchicken.com>
6219
8b79f3e0
SM
6220 * net/network-stream.el (network-stream-open-starttls):
6221 Improve detection of failure due to lack of TLS support.
ec5c990d 6222
6bbfa6e1
CY
6223 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6224 putting the input text in front and in bold.
6225
98488977
SM
62262011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6227
3d1337be
SM
6228 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6229
ee0b45e4
SM
6230 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6231 empty buffer.
6232
98488977
SM
6233 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6234 unread-command-events rather than pushing yet-another event.
6235
186f4720
EZ
62362011-10-14 Eli Zaretskii <eliz@gnu.org>
6237
6238 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6239 the explanation of the possible choices. Make the options passed
6240 to completing-read shorter.
6241
8b7a997c
AM
62422011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6243
6244 * textmodes/flyspell.el (flyspell-large-region): Make sure
6245 extended character mode is used if defined (Bug#1339).
6246
12587bbb
EZ
62472011-10-13 Eli Zaretskii <eliz@gnu.org>
6248
6249 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6250 character info for LRE, LRO, RLE, and RLO characters by appending
6251 an invisible PDF.
12587bbb 6252
bad41229
SM
62532011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6256 even in case of error; add debug spec; simplify data flow.
6257 (with-timeout-handler): Remove.
6258
28dbc92f
MA
62592011-10-12 Michael Albinus <michael.albinus@gmx.de>
6260
6261 Fix Bug#6019, Bug#9315.
6262
6263 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6264 complete `buffer-file-name', the local file name part could look
6265 remotely (for example on VMS).
6266
6267 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6268 `tramp-run-real-handler'.
6269 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6270 already quoted by '"'.
6271
6272 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6273 Let `file-name-handler-alist' be nil, the local file name part
6274 could look remotely (for example on VMS).
6275
e1b0b23a
SM
62762011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6279 from here...
6280 (flyspell-post-command-hook): ...to here.
6281
a120bde9
SM
62822011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6285 if not needed.
6286 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6287 using completion. Protect against "slow" callers.
6288 Remove the "message hack".
6289
7ce7717b
JL
62902011-10-11 Juri Linkov <juri@jurta.org>
6291
6292 * isearch.el (isearch-lazy-highlight-word): New variable.
6293 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6294 Use it. (Bug#9727)
6295
c02ee9d6
GM
62962011-10-11 Glenn Morris <rgm@gnu.org>
6297
6298 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6299 like f90-previous-statement does.
6300
93e616fd 63012011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6302
1f190e73 6303 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6304 only in interactive use, to avoid error.
6305
af7b6078
SM
63062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * minibuffer.el (completion-file-name-table): Fix last change,
6309 i.e. ignore normal errors but not the other ones.
6310
0563dae9
MR
63112011-10-10 Martin Rudalics <rudalics@gmx.at>
6312
6313 * window.el (special-display-buffer-names)
6314 (special-display-regexps): Remove some remnants of earlier
6315 changes from doc-strings.
366ca7f3
MR
6316 (quit-windows-on): New function.
6317
6318 * vc/vc.el (vc-revert, vc-rollback):
6319 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6320 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6321 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6322
49677495
MR
63232011-10-09 Martin Rudalics <rudalics@gmx.at>
6324
6325 * window.el (frame-auto-hide-function): Add version tag.
6326 (Bug#9699)
6327
56f2d1e1
MA
63282011-10-09 Michael Albinus <michael.albinus@gmx.de>
6329
6330 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6331 condition.
6332
112a6592
LL
63332011-10-09 Leo Liu <sdl.web@gmail.com>
6334
6335 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6336 (Bug#9701)
6337
0812589b
GM
63382011-10-08 Glenn Morris <rgm@gnu.org>
6339
6340 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6341 before the first code statement zero indent. (Bug#9690)
6342
b2b0776e
CY
63432011-10-08 Chong Yidong <cyd@stupidchicken.com>
6344
6345 * simple.el (count-words-region): Always count in the region.
6346 Report the number of lines and characters too.
6347 (count-words): New command, which counts in the buffer if the
6348 region is inactive, as count-words-region used to.
6349 (count-words--message): New function. Handle plurals.
6350 (count-lines-region): Make it an alias for count-words-region.
6351
6352 * bindings.el (esc-map): Replace count-lines-region with
6353 count-words-region.
6354
c557cd6b
MR
63552011-10-08 Martin Rudalics <rudalics@gmx.at>
6356
6357 * window.el (window--delete): Delete dedicated frame
6358 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6359 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6360
61a57ef4 63612011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6362
3a7d293b 6363 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6364
c3833279
CY
63652011-10-07 Chong Yidong <cyd@stupidchicken.com>
6366
6367 * bindings.el ([M-left],[M-right]): Bind to left-word and
6368 right-word respectively.
6369
21ce8245
GM
63702011-10-07 Glenn Morris <rgm@gnu.org>
6371
6372 * cus-start.el (debug-on-quit): Fix custom type.
6373
6d823bb2
LMI
63742011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6375
0181e193
LMI
6376 * subr.el (define-key-after): Clarify that the function is not
6377 useful for non-menu keymaps.
6378
6d823bb2
LMI
6379 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6380
8e3459ce 63812011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6382
21ce8245 6383 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6384 in current minibuffer (Fix bug with recursive minibuffers).
6385
a1c2d21e
CY
63862011-10-06 Chong Yidong <cyd@stupidchicken.com>
6387
6388 * progmodes/gdb-mi.el (gdb): Doc fix.
6389
5a4cf282
MR
63902011-10-05 Martin Rudalics <rudalics@gmx.at>
6391
6392 * window.el (frame-auto-hide-function): New option replacing
6393 frame-auto-delete. Suggested by Stefan Monnier.
6394 (window--delete): Call frame-auto-hide-function instead of
6395 investigating frame-auto-delete.
c96111ea
MR
6396 (window-point-1, set-window-point-1): New functions.
6397 (window-in-direction, record-window-buffer, window-state-get-1)
6398 (display-buffer-record-window): Use window-point-1 instead of
6399 window-point.
6400 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6401
9854542e
SM
64022011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6405
8943cfb0
GM
64062011-10-05 Glenn Morris <rgm@gnu.org>
6407
6408 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6409 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6410
647ab967
LL
64112011-10-05 Leo Liu <sdl.web@gmail.com>
6412
6413 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6414 works with buffer object.
6415
3ddfbced
SM
64162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * mpc.el (mpc-tool-bar-map): Add labels.
6419
bdfa5dd2
GM
64202011-10-04 Glenn Morris <rgm@gnu.org>
6421
6422 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6423
0e2070b5
MR
64242011-10-04 Martin Rudalics <rudalics@gmx.at>
6425
6426 * window.el (window--delete): New function.
6427 (frame-auto-delete): Resuscitate option.
6428 (bury-buffer, replace-buffer-in-windows)
6429 (quit-window): Rewrite using window--delete.
6430 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6431 Pass display-buffer-mark-dedicated to window--display-buffer-2
6432 (Bug#9639).
6433
3dc61a09
SM
64342011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6435
915a9b64
SM
6436 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6437 returns a list (bug#9554). Add remote file name completion.
6438 * comint.el (comint--table-subvert): Curry and get quote&unquote
6439 functions as arguments.
6440 (comint--complete-file-name-data): Adjust call accordingly.
6441 * pcomplete.el (pcomplete--table-subvert): Remove.
6442 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6443
3dc61a09
SM
6444 * minibuffer.el (completion-table-case-fold): Use currying.
6445 (completion--styles-type, completion--cycling-threshold-type):
6446 New constants.
6447 (completion-styles, completion-category-overrides)
6448 (completion-cycle-threshold): Use them.
6449 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6450 completion-table-case-fold.
6451
8ea0a993
SB
64522011-10-03 Stephen Berman <stephen.berman@gmx.net>
6453
6454 * minibuffer.el (completion-category-overrides): Fix type of styles
6455 and add more user friendly tags (bug#9660).
6456
8c24b7f6
SM
64572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6460 (mule-input-method-string): New widget.
6461 (default-input-method, language-info-custom-alist): Use it.
6462
428fe61a
SM
64632011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6464
32c1fffd
SM
6465 * pcomplete.el: Require comint.
6466 (pcomplete--common-suffix): Remove.
6467 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6468 (pcomplete--table-subvert): Sync with comint--table-subvert.
6469 (pcomplete--entries): Use comint-completion-file-name-table.
6470 * comint.el (comint-unquote-filename): Simplify.
6471 (comint-completion-file-name-table): New function (bug#9616).
6472 (comint--complete-file-name-data): Use it.
6473
428fe61a
SM
6474 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6475 (pcmpl-gnu-tar-buffer): Remove.
6476 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6477 around. Make sure pcomplete-suffix-list is only changed temporarily.
6478 Don't look inside the tar's file if it's too large.
428fe61a 6479
04c52e2f
CY
64802011-10-01 Chong Yidong <cyd@stupidchicken.com>
6481
ce3cefcc
CY
6482 * cus-edit.el (custom-mode-map):
6483 * epa.el (epa-key-list-mode-map):
6484 * man.el (Man-mode-map):
6485 * startup.el (splash-screen-keymap):
6486 * simple.el (special-mode-map): Use scroll-up-command and
6487 scroll-down-command.
6488
6489 * progmodes/idlw-help.el (idlwave-help-mode-map):
6490 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6491 * net/newst-plainview.el (newsticker-mode-map):
6492 * emulation/ws-mode.el (wordstar-mode-map):
6493 * emulation/vi.el (vi-com-map):
6494 * calc/calc-graph.el (calc-graph-show-dumb):
6495 * term/sun.el (terminal-init-sun):
6496 * term/ns-win.el (global-map):
6497 * progmodes/grep.el (grep-mode-map):
6498 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6499 * mail/rmail.el (rmail-mode-map):
6500 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6501
04c52e2f
CY
6502 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6503 custom-safe-themes as special.
6504
79adf8c8
JD
65052011-10-01 Julien Danjou <julien@danjou.info>
6506
6507 * notifications.el (notifications-notify): Fix docstring.
6508
63bd50d3
PS
65092011-10-01 Per Starbäck <per@starback.se>
6510
6511 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6512
199e4c7e
MR
65132011-09-30 Martin Rudalics <rudalics@gmx.at>
6514
6515 * startup.el (command-line-1): Fix last fix by inserting
6516 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6517 (Bug#9605) and (Bug#9636)
199e4c7e 6518
fe5f08dd
EZ
65192011-09-29 Eli Zaretskii <eliz@gnu.org>
6520
6521 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6522 window is hscrolled, move by logical lines. (Bug#9607)
6523 (line-move-visual): Update the doc string to the above effect.
6524
b5516bbd
MR
65252011-09-29 Martin Rudalics <rudalics@gmx.at>
6526
ccee00c0
MR
6527 * window.el (display-buffer-record-window): When WINDOW is the
6528 selected window use `point' instead of `window-point'. (Bug#9626)
6529
b5516bbd
MR
6530 * startup.el (command-line-1): Use insert-before-markers when
6531 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6532
b5516bbd
MR
6533 * help.el (help-window): Remove variable.
6534
52aa0014
GM
65352011-09-29 Glenn Morris <rgm@gnu.org>
6536
6537 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6538
df9a7357
JB
65392011-09-29 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * descr-text.el (describe-char-categories): Accept category
6542 descriptions more than one line long.
6543
a8406c20
SM
65442011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6545
88d9610c
SM
6546 * simple.el (delete-trailing-whitespace): Fix last change.
6547
a5daf810
SM
6548 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6549 Don't confuse "y => 3" as the beginning of a `y' operation.
6550
a8406c20
SM
6551 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6552 object has more than 4 slots (bug#9613).
6553
a239d4e9
JB
65542011-09-28 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * subr.el (with-output-to-temp-buffer):
6557 * net/quickurl.el (quickurl, quickurl-browse-url):
6558 Fix typos in docstrings.
6559
693fbdb6
EZ
65602011-09-27 Eli Zaretskii <eliz@gnu.org>
6561
6562 * minibuffer.el (completion-styles)
6563 (completion-category-overrides): Cross reference each other in doc
6564 strings.
6565
8b457e28
GM
65662011-09-27 Glenn Morris <rgm@gnu.org>
6567
6568 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6569 to split-string. (Bug#9606)
6570
85a16208
LMI
65712011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6572
6573 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6574 (bug#9615).
6575
502f9ebd
CY
65762011-09-27 Chong Yidong <cyd@stupidchicken.com>
6577
6578 * emacs-lisp/package.el (list-packages): Fix echo area message.
6579
7690bdea
LL
65802011-09-27 Leo Liu <sdl.web@gmail.com>
6581
6582 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6583
e2ee6f30
MA
65842011-09-25 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/dbus.el (dbus-unregister-object): Don't release services for
6587 registered signals. (Bug#9581)
6588
f3f98342
TZ
65892011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6590
6591 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6592 function that picks between cfengine 2 and 3 support
6593 automatically. Update docs accordingly.
6594
dd7aa8dd
KH
65952011-09-22 Kenichi Handa <handa@m17n.org>
6596
6597 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6598 ZERO.
6599 (indian-itrans-v5-table-for-tamil): New variable.
6600 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6601
3f2b07f8
KM
66022011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6603
6604 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6605 that's true if the current command involved collapsing of text.
6606 It's reset to false at the beginning of the next command.
6607 (allout-post-command-business): Move the cursor to the beginning
6608 of entry if the cursor is hidden and collapsing activity just
6609 happened.
6610
371d6a61
CY
66112011-09-24 Chong Yidong <cyd@stupidchicken.com>
6612
6613 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6614 tracking (Bug#9541).
6615
2ac2721a
UJ
66162011-09-24 Ulf Jasper <ulf.jasper@web.de>
6617
6618 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6619 (newsticker-show-news): Automatically load html rendering package
6620 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6621 because w3m-fill-column is let-bound" and the error "Symbol's value
6622 as variable is void: w3m-fill-column".
2ac2721a 6623
fac7ae53
MA
66242011-09-24 Michael Albinus <michael.albinus@gmx.de>
6625
6626 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6627 Release services only if they are defined. (Bug#9581)
6628
e08b633b
RS
66292011-09-23 Richard Stallman <rms@gnu.org>
6630
e488d29c
RS
6631 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6632 distinguish start of paragraph from start of its text.
6633
19c38752
RS
6634 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6635
e08b633b
RS
6636 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6637 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6638 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6639
0a39f27e
AS
66402011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6641
6642 * international/mule-diag.el (mule-diag): Insert a newline after
6643 each fontset description.
6644
db4e950d
SM
66452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * simple.el (delete-trailing-whitespace):
6648 Document last change; simplify.
6649
eca3f3ea
PW
66502011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6651
d68e189a
PW
6652 * simple.el (delete-trailing-whitespace): Also delete
6653 extra newlines at the end of the buffer.
6654
eca3f3ea
PW
6655 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6656 (picture-newline): Use forward-line so as to ignore fields.
6657
01c157cc
SM
66582011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * subr.el (with-wrapper-hook): Fix edebug spec.
6661
022de23e
LMI
66622011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6663
6664 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6665 (bug#4538).
6666
91683089
MA
66672011-09-23 Michael Albinus <michael.albinus@gmx.de>
6668
eca3f3ea
PW
6669 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6670 Fix nasty bug using wrong cached values.
91683089 6671
5bdd6fa4
AM
66722011-09-23 Alan Mackenzie <acm@muc.de>
6673
6674 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6675
97adfb97
CY
66762011-09-23 Chong Yidong <cyd@stupidchicken.com>
6677
6678 * window.el (pop-to-buffer): Ensure right window is selected if we
6679 chose another frame.
6680
d4ef2b50
EZ
66812011-09-22 Eli Zaretskii <eliz@gnu.org>
6682
6683 * simple.el (what-cursor-position): Use get-char-property-change
6684 and next-single-char-property-change, to be able to show display
6685 properties that come from overlays as well as text properties.
6686
72258fe5
CY
66872011-09-22 Chong Yidong <cyd@stupidchicken.com>
6688
6689 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6690
6691 * cmuscheme.el (run-scheme, switch-to-scheme):
6692 * cus-edit.el (customize-group, custom-buffer-create)
6693 (customize-browse):
6694 * info.el (info):
6695 * shell.el (shell):
6696 * mail/sendmail.el (mail):
6697 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6698
8f098516
RS
66992011-09-22 Richard Stallman <rms@gnu.org>
6700
6701 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6702 move back only to line beg, don't move back over blank lines.
6703
e74f1bb6
MA
67042011-09-22 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * files.el (copy-directory): Set directory attributes only in case
6707 they could be retrieved from the source directory. (Bug#9565)
6708
bfeef8b6
DK
67092011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6710
6711 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6712 (hs-find-block-beginning, hs-hide-level-recursive):
6713 Ignore strings as well as comments. (Bug#9502)
6714
7e423bb8
AS
67152011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6716
6717 * progmodes/sql.el (sql-comint-postgres):
6718 Convert port number to a string. (Bug#9566)
6719
b4d72fcf
MR
67202011-09-22 Martin Rudalics <rudalics@gmx.at>
6721
6722 * window.el (quit-window): Undedicate window when switching to
6723 previous buffer. Reported by Thierry Volpiatto
6724 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6725 (special-display-popup-frame): When popping up a new frame reset
6726 its previous buffers to nil. Simplify code.
b4d72fcf 6727
a7b88dc6
MA
67282011-09-21 Michael Albinus <michael.albinus@gmx.de>
6729
6730 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6731 and process filter, as done also in `shell-command'.
6732
cf4eacfd
MR
67332011-09-21 Martin Rudalics <rudalics@gmx.at>
6734
eca3f3ea 6735 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6736 Call set-window-start with NOFORCE argument t.
6737 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6738 (quit-window): Reword doc-string. Handle new format of
6739 quit-restore parameter. Don't delete window if it has a
6740 previous buffer we can show instead of the present one.
6741 (display-buffer-record-window): Rewrite using a new format for
6742 the quit-restore window parameter
6743 (special-display-popup-frame, display-buffer-same-window)
6744 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6745 (display-buffer-pop-up-window, display-buffer-use-some-window):
6746 Adapt symbol passed to display-buffer-record-window.
6747 * help.el (help-window-setup): Handle new format of quit-restore
6748 parameter.
6749
8d28cb95
SM
67502011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6751
94ab793f
SM
6752 * faces.el (face-list): Fix docstring (bug#9564).
6753
8d28cb95
SM
6754 * window.el (display-buffer--action-function-custom-type):
6755 Don't include internal functions in the Custom interface.
6756
3820edeb
JL
67572011-09-20 Juri Linkov <juri@jurta.org>
6758
6759 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6760 (Info-forward-node, Info-backward-node, Info-next-preorder)
6761 (Info-last-preorder): Use it. (Bug#9528)
6762
5147931d
JL
67632011-09-20 Juri Linkov <juri@jurta.org>
6764
6765 * info.el (Info-last-preorder): Visit last menu item only when
6766 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6767
cf499a1a
JD
67682011-09-20 Julien Danjou <julien@danjou.info>
6769
6770 * password-cache.el (password-cache-remove): Remove entries even if the
6771 value is nil, so that password with a nil value (negative caching) is
6772 possible to invalidate.
6773
f84e2fe2
LM
67742011-09-20 Lawrence Mitchell <wence@gmx.li>
6775
6776 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6777 all whitespace around breakpoint. (Bug#9553)
6778 (f90-find-breakpoint): Only break at whitespace inside a comment.
6779
78054a46
SM
67802011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * minibuffer.el (completion-file-name-table): Keep track of errors.
6783 (completion-table-with-predicate): Handle the case where pred1 is nil.
6784 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6785
345083b2
SM
67862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6787
e24e27be
SM
6788 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6789 (debugger-return-value): Signal an error if the debugging context does
6790 not await any return value.
6791
345083b2
SM
6792 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6793 * image-mode.el (image-toggle-display-text)
6794 (image-toggle-display-image): Stay away from evil `intangible'.
6795
08d355e3
LL
67962011-09-19 Leo Liu <sdl.web@gmail.com>
6797
6798 * replace.el (occur-revert-arguments): Make it permanent-local.
6799 (occur-mode): Don't call font-lock-defontify.
6800
f01da43f
CY
68012011-09-19 Chong Yidong <cyd@stupidchicken.com>
6802
6803 * net/ldap.el (ldap-search-internal): Don't push empty search
6804 result (Bug#9508).
6805
b6072fa6
SM
68062011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6809
443d6696
MA
68102011-09-19 Michael Albinus <michael.albinus@gmx.de>
6811
6812 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6813 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6814
7cc6e154
JL
68152011-09-18 Juri Linkov <juri@jurta.org>
6816
6817 * buff-menu.el (Buffer-menu-mode-map):
6818 * dired.el (dired-mode-map):
6819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6820 (lisp-interaction-mode-map):
6821 * emacs-lisp/package.el (package-menu-mode-map):
6822 * epa.el (epa-key-list-mode-map):
6823 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6824 (menu-bar-options-menu):
6825 * outline.el (outline-mode-menu-bar-map):
6826 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6827 * vc/vc-dir.el (vc-dir-menu-map):
6828 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6829 Capitalize non-function content words in menu item strings.
6830
6831 * dired.el (dired-mode-map): Add menu item for
6832 `image-dired-dired-toggle-marked-thumbs'.
6833
80302a81
JL
68342011-09-18 Juri Linkov <juri@jurta.org>
6835
6836 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6837 to `isearch-case-fold-search' and restore its original value
6838 after the `isearch-mode' call.
6839
46c5cf66
JL
68402011-09-18 Juri Linkov <juri@jurta.org>
6841
6842 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6843 because `zgrep' returns 1 for successful matches (bug#9226).
6844
d18b513b
JL
68452011-09-18 Juri Linkov <juri@jurta.org>
6846
6847 * info.el (Info-extract-menu-node-name): Check the second match
6848 for empty string (second test-case of bug#9528).
6849 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6850 intermediate nodes to the history (first test-case of bug#9528).
6851
72753f87
JL
68522011-09-18 Juri Linkov <juri@jurta.org>
6853
6854 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6855 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6856
c9384295
JL
68572011-09-18 Juri Linkov <juri@jurta.org>
6858
1154d12e
JB
6859 * info.el (Info-file-supports-index-cookies):
6860 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6861 outputs one more line for long file names (bug#4142).
c9384295 6862
d473dce8
CY
68632011-09-18 Chong Yidong <cyd@stupidchicken.com>
6864
6865 * newcomment.el (comment-normalize-vars): If prompting for
6866 comment-start, set comment-start-skip too (Bug#8424).
6867
2176854d
JB
68682011-09-18 Johan Bockgård <bojohan@gnu.org>
6869
6870 * icomplete.el: Fix previous fix of Bug#5849.
6871 (icomplete-mode): Don't set completion-show-inline-help.
6872 (icomplete-minibuffer-setup): Set completion-show-inline-help
6873 locally during icompletion.
6874
3aace4e4
CY
68752011-09-18 Chong Yidong <cyd@stupidchicken.com>
6876
c940224f
CY
6877 * woman.el (woman2-process-escapes): Don't delete unrecognized
6878 escapes (Bug#7843).
6879
3aace4e4
CY
6880 * files.el (inhibit-first-line-modes-regexps): Add image files.
6881 (hack-local-variables-prop-line): Return nil for malformed
6882 prop-lines (Bug#9044).
6883
710dec63
MA
68842011-09-18 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp.el (top): Don't require 'shell.
6887 (tramp-methods): Fix docstring.
6888 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6889 Return complete remote file name. Handle "smb" case.
6890 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6891 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6892
6893 * net/tramp-compat.el (top): Require 'shell.
6894
6895 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6896 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6897 `tramp-current-host'.
6898 (tramp-get-remote-tmpdir): Remove.
6899
6900 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6901 `tramp-tmpdir' entries.
6902 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6903 (tramp-smb-handle-file-attributes): Ignore errors.
6904 (tramp-smb-wait-for-output): Check also for process end.
6905
5d5ac8ec
LMI
69062011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6907
6908 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6909 when sending QUIT (bug#9312).
6910
8c0f49f0
CY
69112011-09-17 Chong Yidong <cyd@stupidchicken.com>
6912
6913 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6914 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6915 occur-mode-display-occurrence.
6916 (occur-edit-mode): Add usage message.
6917 (occur-cease-edit): New command.
6918 (occur-after-change-function): Use text properties to find the
6919 position of the prefix text.
6920 (occur-engine): Set stickiness of prefix text properties.
6921
8f1383f7
GM
69222011-09-17 Glenn Morris <rgm@gnu.org>
6923
6924 * progmodes/etags.el (complete-tag):
6925 Fix call to completion-in-region. (Bug#9526)
6926
744ba0e3
JL
69272011-09-17 Juri Linkov <juri@jurta.org>
6928
6929 * textmodes/ispell.el (ispell-word): Add to the error message
6930 the word, ispell program name and current dictionary (bug#9121).
6931 (ispell-tex-arg-end): Capitalize "error" in the error message.
6932
d9bbf400
AS
69332011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6934
6935 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6936 check. (Bug#4251)
6937
8da11505
JL
69382011-09-17 Juri Linkov <juri@jurta.org>
6939
6940 * window.el (window-safe-min-height, window-safe-min-width):
6941 Fix typos (followup to bug#9522).
6942
a91adc7e
SJ
69432011-09-17 Sven Joachim <svenjoac@gmx.de>
6944
6945 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6946
064f328a
EZ
69472011-09-16 Eli Zaretskii <eliz@gnu.org>
6948
6949 * simple.el (line-move): If goal-column is set, move by logical
6950 lines, not by display lines. (Bug#971)
6951 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6952 to reflect the above change.
6953
e69df516
SM
69542011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * image.el (imagemagick-register-types): Use regexp-opt.
6957
cbb0f9ab
CY
69582011-09-15 Chong Yidong <cyd@stupidchicken.com>
6959
6960 * window.el (display-buffer-base-action): Rename from
6961 display-buffer-default-action. Make default value empty.
6962 (display-buffer-overriding-action): Convert to defvar.
6963 (display-buffer-fallback-action): New var.
6964
25322144
CY
69652011-09-15 Chong Yidong <cyd@stupidchicken.com>
6966
6967 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6968 declaration.
6969 (package--add-to-archive-contents): If there is a duplicate entry
6970 with an older version, remove it.
6971 (package-menu-mark-delete, package-menu-mark-install)
6972 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6973 (package-menu-mark-obsolete-for-deletion):
6974 Use package-menu-get-status instead of a regexp search.
25322144
CY
6975 (package-menu-get-status): Use tabulated-list-entry.
6976 (package-menu-mark-upgrades): New command.
d770725a 6977 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6978 (package-menu-execute): Do installation before deletion.
6979 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6980 instead of checking major-mode.
6981 (package-menu--find-upgrades): New function.
6982
7520339c
LMI
69832011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6984
6985 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6986 passwords in the log buffer.
65a046c4
LMI
6987 (smtpmail-process-filter): Update the process marker so that the
6988 "broken by peer" status message is inserted in the right place.
7520339c 6989
d3c30954
SM
69902011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6991
3fe48822
SM
6992 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6993 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6994 bibtex-completion-at-point-function.
6995 (bibtex-completion-at-point-function): Use them.
6996
1b8b3954
SM
6997 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6998
d3c30954
SM
6999 * mpc.el (mpc-constraints-tag-lookup): New function.
7000 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7001 also to browser "album|playlist".
7002
72779976
JL
70032011-09-14 Juri Linkov <juri@jurta.org>
7004
7005 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7006 (isearch-edit-string): Use length of `isearch-string' when
7007 `isearch-fail-pos' returns nil.
7008 (isearch-message): Remove duplicate code and call
7009 `isearch-fail-pos' with arg `t'.
7010
a0bf2bcd
CY
70112011-09-14 Chong Yidong <cyd@stupidchicken.com>
7012
17bb0a2d
CY
7013 * replace.el (occur-mode-goto-occurrence): Don't force using other
7014 window (Bug#9499).
7015
a0bf2bcd
CY
7016 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7017
f678e0b6
MR
70182011-09-14 Martin Rudalics <rudalics@gmx.at>
7019
7020 * window.el (display-buffer-window): Remove.
7021 (display-buffer-record-window): Use help-setup window parameter
7022 instead of variable display-buffer-window.
7023 (display-buffer-function, special-display-buffer-names)
7024 (special-display-function): Mention help-setup parameter instead
7025 of display-buffer-window in doc-string.
d3c30954
SM
7026 * help.el (help-window-setup): New argument help-window.
7027 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7028 Reword some messages.
7029 (with-help-window): Pass window used for displaying the buffer
7030 to help-window-setup. Don't set display-buffer-window.
7031
8e39b2e8
GM
70322011-09-13 Glenn Morris <rgm@gnu.org>
7033
7034 * emacs-lisp/debug.el (debugger-make-xrefs):
7035 Preserve point. (Bug#9462)
7036
85e9c04b
CY
70372011-09-13 Chong Yidong <cyd@stupidchicken.com>
7038
7039 * window.el (window-deletable-p): Use next-frame.
7040
1b36ed6a
MR
70412011-09-13 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (window-auto-delete): Remove.
7044 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7045 dedication and previous buffers.
1b36ed6a
MR
7046 (switch-to-prev-buffer): Don't delete window.
7047 (delete-windows-on): Delete a window's frame if and only if the
7048 window is dedicated.
7049 (replace-buffer-in-windows): Delete buffer's window or frame if
7050 and only if window is dedicated.
7051 (quit-window): Handle quit-restore as before last change.
4d61f28d 7052 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7053
ef8ef9fb
CY
70542011-09-13 Chong Yidong <cyd@stupidchicken.com>
7055
7056 * window.el (window-deletable-p): Never delete the last frame on a
7057 given terminal.
7058
b2cba41e
GM
70592011-09-13 Glenn Morris <rgm@gnu.org>
7060
7061 * help.el (describe-key-briefly): Copy previous standard-output change.
7062
51553db6 70632011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7064
7065 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7066
b7556719
GM
70672011-09-13 Glenn Morris <rgm@gnu.org>
7068
7069 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7070 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7071
64b51947
CY
70722011-09-12 Chong Yidong <cyd@stupidchicken.com>
7073
7074 * dired-aux.el (dired-mark-read-string): Don't return default
7075 value on empty input (Bug#9361).
7076 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7077 Omit initial minibuffer contents.
7078 (dired-do-chmod): Signal an error on empty input.
7079 (dired-mark-read-string): Don't return default on empty input.
7080
7081 * files.el (file-modes-symbolic-to-number): Doc fix.
7082
393a301e
SM
70832011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * international/mule-cmds.el (ucs-completions): Remove.
7086 (read-char-by-name): Use complete-with-action instead; add metadata.
7087
fa5660f9
CY
70882011-09-11 Chong Yidong <cyd@stupidchicken.com>
7089
7090 * window.el (display-buffer--action-function-custom-type)
7091 (display-buffer--action-custom-type): New vars.
7092 (display-buffer-alist, display-buffer-default-action)
7093 (display-buffer-overriding-action): Add defcustom types.
7094
4a592f66
CY
7095 * frame.el (delete-other-frames): Doc fix (Bug#276).
7096
73d56dbd
LMI
70972011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7098
7099 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7100
37ac18a3
CY
71012011-09-11 Chong Yidong <cyd@stupidchicken.com>
7102
7103 Change modes that used same-window-* vars to use switch-to-buffer.
7104
7105 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7106 Use switch-to-buffer.
7107
7108 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7109 (customize-browse, custom-buffer-create-other-window):
7110 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7111
7112 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7113 (Info-prev, Info-up, Info-speedbar-goto-node)
7114 (info-display-manual): Use switch-to-buffer.
7115 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7116
7117 * mail/sendmail.el (mail): Use switch-to-buffer.
7118 (mail-recover): Use switch-to-buffer-other-window.
7119
7120 * cmuscheme.el (run-scheme, switch-to-scheme):
7121 * ielm.el (ielm):
7122 * shell.el (shell):
7123 * net/rlogin.el (rlogin):
7124 * net/telnet.el (telnet, rsh):
7125 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7126
10195bd6
AS
71272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7128
7129 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7130
b322f63a
LMI
71312011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7132
39d7fed6
LMI
7133 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7134 so don't mention it (bug#9301).
ba5a81f1 7135 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7136
ee0e9f11
LMI
7137 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7138 match `x', `w32' and `ns', like the manual says (bug#9029).
7139
0b1c89c1 7140 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7141 (process-kill-buffer-query-function): Mention the buffer name in
7142 the query.
0b1c89c1 7143
77549ea8
LMI
7144 * image-mode.el (image-next-line): The line parameter is mandatory
7145 (bug#9258).
7146
803ef892
LMI
7147 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7148 which can be useful (bug#9301).
7149
12980837
LMI
7150 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7151
91054f8f
LMI
7152 * subr.el (match-string): Mention that the current buffer should
7153 be the same as the search was done in (bug#9282).
7154
b322f63a
LMI
7155 * facemenu.el: Disable the remove-* commands if the mark isn't
7156 active (bug#9162).
7157
3199b96f
CY
71582011-09-10 Chong Yidong <cyd@stupidchicken.com>
7159
7160 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7161 of display-buffer.
7162 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7163
7164 * replace.el (occur-mode-goto-occurrence)
7165 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7166 and display-buffer.
7167
7168 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7169 display-buffer.
7170
7171 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7172 special-display and same-window variables.
7173 (mail-other-window): Use switch-to-buffer-other-window.
7174 (mail-other-frame): USe switch-to-buffer-other-frame.
7175
393a301e
SM
7176 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7177 Use display-buffer-other-frame.
3199b96f
CY
7178 (gdb-display-gdb-buffer): Use pop-to-buffer.
7179
7180 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7181
7182 * progmodes/python.el: Don't set same-window-buffer-names.
7183
7184 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7185
7186 * window.el (display-buffer-alist): Add *Python*.
7187
8319e0bf
CY
71882011-09-10 Chong Yidong <cyd@stupidchicken.com>
7189
7190 * window.el (display-buffer-alist): Add entry for buffers
7191 previously handled same-window-*.
7192 (display-buffer-alist, display-buffer-default-action)
7193 (display-buffer-overriding-action): Mark as risky.
7194 (display-buffer-alist): Document action function changes.
7195 (display-buffer--same-window-action)
7196 (display-buffer--other-frame-action): New variables.
7197 (switch-to-buffer, display-buffer-other-frame): Use them.
7198 (display-buffer): Rename reuse-frame entry to reusable-frames.
7199 (display-buffer-reuse-selected-window): Function deleted.
7200 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7201 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7202 (display-buffer-special): New function.
7203 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7204 display-buffer-reuse-or-pop-window. Split off special-display
7205 part into display-buffer-special.
7206 (display-buffer-use-some-window): Don't perform any special
7207 pop-up-frames handling.
7208 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7209 (display-buffer--maybe-same-window): Rename from
0d3ff375 7210 display-buffer-maybe-same-window.
8319e0bf 7211
919a69aa
CY
7212 * info.el: Don't set same-window-regexps.
7213 (info-setup): New function.
7214 (info-other-window, info): Call it.
7215
7216 * cus-edit.el: Don't set same-window-regexps.
7217 (customize-group): New argument.
7218 (customize-group-other-window): Use it.
7219 (customize-face, customize-face-other-window): Likewise.
7220 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7221
8319e0bf
CY
7222 * net/rlogin.el:
7223 * net/telnet.el:
7224 * progmodes/gud.el: Don't set same-window-regexps.
7225
7226 * cmuscheme.el:
7227 * ielm.el:
7228 * shell.el:
7229 * mail/sendmail.el:
7230 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7231
25173000
JL
72322011-09-10 Juri Linkov <juri@jurta.org>
7233
7234 * isearch.el (isearch-edit-string): Remove obsolete mention of
7235 `C-w' (`isearch-yank-word-or-char') from docstring.
7236 (isearch-query-replace): Fix typo in docstring (bug#9466).
7237
056e44ef
JL
72382011-09-10 Juri Linkov <juri@jurta.org>
7239
7240 * paren.el (show-paren-function): Don't show escaped parens.
7241 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7242
c3760c17
EZ
72432011-09-10 Eli Zaretskii <eliz@gnu.org>
7244
7245 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7246 (mm-default-file-encoding): Remove autoload forms, they are
7247 replaced with autoload cookies in mml.el and mm-encode.el.
7248 (mail-add-attachment): New command.
7249 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7250 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7251 the doc string.
7252 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7253
fece895e
RT
72542011-09-10 Reuben Thomas <rrt@sc3d.org>
7255
e69df516
SM
7256 * simple.el (count-words-region): Use buffer if there's no region
7257 (bug#9429).
fece895e 7258
5e68ce4a
JL
72592011-09-09 Juri Linkov <juri@jurta.org>
7260
7261 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7262 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7263 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7264
0a6b9622
AM
72652011-09-09 Alan Mackenzie <acm@muc.de>
7266
7267 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7268 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7269
14a29deb
EZ
72702011-09-09 Eli Zaretskii <eliz@gnu.org>
7271
7272 Fix for Savannah bug#9392.
7273 * simple.el (mail-encode-mml): New defvar.
7274
7275 * mail/rmail.el (mail-encode-mml): Add a defvar.
7276 (rmail-enable-mime-composing): Default to t.
7277 (rmail-forward): Use MIME method of forwarding only if both
7278 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7279 Set mail-encode-mml non-nil if the MIME method was used.
7280
7281 * mail/sendmail.el (mml-to-mime): Add autoload form.
7282 (mail-encode-mml): Add a defvar.
7283 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7284 to nil.
7285 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7286 message through mml-to-mime, and reset mail-encode-mml to nil.
7287
28c45130
GM
72882011-09-09 Glenn Morris <rgm@gnu.org>
7289
7290 * woman.el (woman-if-body): When processing an .el block,
7291 do not delete the next .el block as well. (Bug#9447)
69f4b618 7292 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7293
9b1c252e
MR
72942011-09-08 Martin Rudalics <rudalics@gmx.at>
7295
7296 * window.el (window-deletable-p): Make sure window is live before
7297 invoking window-prev-buffers.
7298
567457e3
LL
72992011-09-08 Leo Liu <sdl.web@gmail.com>
7300
7301 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7302
97f05794
JL
73032011-09-08 Juri Linkov <juri@jurta.org>
7304
7305 * progmodes/compile.el (compilation-environment): Make it
7306 a defcustom (bug#8340).
7307
8b0874b5
MR
73082011-09-08 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (frame-auto-delete): Rename to window-auto-delete.
7311 Make it control auto-deletion of windows and/or frames.
7312 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7313 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7314 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7315 Rewrite handling of case when window/frame can be deleted.
7316 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7317 argument t. (Bug#9456)
8b0874b5 7318
4feb6e73
CY
73192011-09-07 Chong Yidong <cyd@stupidchicken.com>
7320
7321 * help-mode.el (help-mode): Restore autoload.
7322
91ab9c13
JL
73232011-09-07 Juri Linkov <juri@jurta.org>
7324
7325 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7326 `compilation-environment'. Set buffer-local
7327 `compilation-environment' to `thisenv' later after (funcall mode).
7328 (Bug#8340)
7329
7330 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7331 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7332 instead of replacing its value. (Bug#8340)
7333
0527e251
JL
73342011-09-07 Juri Linkov <juri@jurta.org>
7335
7336 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7337 based on text properties put by `grep-filter' instead of matching
7338 escape sequences.
7339 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7340 to the value of `grep-error-screen-columns' (bug#9438).
7341
249f792c
JL
73422011-09-07 Juri Linkov <juri@jurta.org>
7343
7344 * simple.el (next-error-highlight, next-error-highlight-no-select):
7345 Doc fix (bug#9432).
7346
ff7271b9
OT
73472011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7348
7349 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7350 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7351
183fc730
LL
73522011-09-07 Leo Liu <sdl.web@gmail.com>
7353
7354 * net/rcirc.el (rcirc-mode): Conditionally initialize
7355 rcirc-input-ring.
7356
77694924
SM
73572011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/find-func.el (find-function-C-source): Only set
7360 find-function-C-source-directory after checking that we found a source
7361 file there (bug#9440).
7362
d809b8eb
AM
73632011-09-06 Alan Mackenzie <acm@muc.de>
7364
7365 * isearch.el (isearch-other-meta-char): Wherever a key list is
7366 unread, "unread" the prefix arg, too. This fixes bug #8901.
7367
453de99f
OG
73682011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7369
7370 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7371
90439906
JL
73722011-09-05 Juri Linkov <juri@jurta.org>
7373
7374 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7375
f62bd846
JL
73762011-09-05 Juri Linkov <juri@jurta.org>
7377
7378 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7379 keeping point where processing of grep matches begins, and
7380 continue to delete remaining escape sequences from the same point.
7381 (grep-filter): Make leading zero optional in "0?1;31m" because
7382 git-grep emits "\033[1;31m" escape sequences unlike expected
7383 "\033[01;31m" as GNU Grep does (bug#9408).
7384 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7385
045820ec
JL
73862011-09-05 Juri Linkov <juri@jurta.org>
7387
7388 * subr.el (y-or-n-p): Capitalize "yes".
7389
f5e29b9b
MA
73902011-09-04 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7393 `tramp-cache-unload-hook' where appropriate.
7394 (tramp-methods): Rename `tramp-remote-sh' to
7395 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7396 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7397
7398 * net/tramp-sh.el (top): Don't require 'shell.
7399 (tramp-methods): Add `tramp-remote-shell' and
7400 `tramp-remote-shell-args' entries.
7401 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7402 (tramp-sh-handle-shell-command): Remove.
7403 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7404 Use `tramp-remote-shell'.
7405
2784c434
CY
74062011-09-03 Chong Yidong <cyd@stupidchicken.com>
7407
393a301e 7408 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7409 (sendmail-query-once): Save directly to send-mail-function.
7410 Update message-send-mail-function too.
7411
7412 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7413
464cdf56
CS
74142011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7415
7416 * progmodes/python.el (python-mode-map): Use correct function to
7417 start python interpreter from menu-bar (as reported by Geert
7418 Kloosterman).
7419 (inferior-python-mode-map): Fix typo.
393a301e 7420 (python-shell-map): Remove.
464cdf56 7421
d37e5c87
DD
74222011-09-03 Deniz Dogan <deniz@dogan.se>
7423
7424 * net/rcirc.el (rcirc-print): Simplify code for
7425 rcirc-scroll-show-maximum-output. There is no need to walk
7426 through all windows to find the right one.
7427
f3ada0ee
CS
74282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7429
7430 * help.el (help-return-method): Doc fix.
7431
1f3c99ca
MR
74322011-09-03 Martin Rudalics <rudalics@gmx.at>
7433
7434 * window.el (window-deletable-p): Don't return a non-nil value
7435 when there's a buffer that was shown in the window before.
7436 (Bug#9419)
393a301e
SM
7437 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7438 Set window's previous buffers to nil.
1f3c99ca 7439
a3cf097f
EZ
74402011-09-03 Eli Zaretskii <eliz@gnu.org>
7441
7442 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7443 newline before and after the tag line, so it doesn't interfere
7444 with determining the paragraph direction of bidirectional text.
7445
3d03de90
LL
74462011-09-03 Leo Liu <sdl.web@gmail.com>
7447
7448 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7449
c3313451
CY
74502011-09-02 Chong Yidong <cyd@stupidchicken.com>
7451
393a301e 7452 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7453 (pop-to-buffer): Change interactive spec. Pass second argument
7454 directly to display-buffer.
7455 (display-buffer): Fix interactive spec. Use functionp to
7456 distinguish between a function and a list of functions.
7457
7458 * abbrev.el (edit-abbrevs):
7459 * arc-mode.el (archive-extract):
7460 * autoinsert.el (auto-insert):
7461 * bookmark.el (bookmark-bmenu-list):
7462 * files.el (find-file):
7463 * view.el (view-buffer):
7464 * progmodes/compile.el (compilation-goto-locus):
7465 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7466
89894cd8
CY
74672011-09-02 Chong Yidong <cyd@stupidchicken.com>
7468
7469 * window.el (display-buffer-alist): Doc fix.
7470 (display-buffer): Add docstring. Don't treat
7471 display-buffer-default specially.
7472 (display-buffer-reuse-selected-window)
7473 (display-buffer-same-window, display-buffer-maybe-same-window)
7474 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7475 (display-buffer-pop-up-window)
7476 (display-buffer-reuse-or-pop-window)
7477 (display-buffer-use-some-window): New functions.
7478 (display-buffer-default-action): Use them.
393a301e 7479 (display-buffer-default): Delete.
89894cd8
CY
7480 (pop-to-buffer-1): Fix choice of actions.
7481
ae0bc9fb
SM
74822011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * minibuffer.el (completion--insert-strings): Don't get confused by
7485 completion entries that end with an LF char.
7486
e9d90883
EZ
74872011-09-01 Eli Zaretskii <eliz@gnu.org>
7488
7489 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7490
437014c8
CY
74912011-09-01 Chong Yidong <cyd@stupidchicken.com>
7492
7493 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7494 (display-buffer-same-window, display-buffer-other-window):
7495 New functions.
437014c8
CY
7496 (pop-to-buffer-1): New function. Use the above.
7497 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7498 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7499
7500 * view.el (view-buffer-other-window, view-buffer-other-frame):
7501 Just use pop-to-buffer.
7502
a5e063d5
TV
75032011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7504
7505 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7506
793d32bb
WH
75072011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7508
7509 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7510
d65e4c15
RS
75112011-08-31 Richard Stallman <rms@gnu.org>
7512
7513 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7514 of the separation of rmail-view-buffer from rmail-buffer.
7515 If you say no to "replace original", the decrypt is in the
7516 view buffer. If you say yes, the decrypt goes into the
7517 rmail buffer also.
7518
f818cd2a
MR
75192011-08-31 Martin Rudalics <rudalics@gmx.at>
7520
7521 * window.el (display-buffer-window): Rewrite doc-string.
7522 (display-buffer-record-window): New function.
7523 (display-buffer-macro-specifiers)
7524 (display-buffer-even-window-sizes, display-buffer-set-height)
7525 (display-buffer-set-width, display-buffer-in-window)
7526 (display-buffer-reuse-window, display-buffer-split-specifiers)
7527 (display-buffer-side-specifiers, display-buffer-split-window-1)
7528 (display-buffer-split-window, display-buffer-split-atom-window)
7529 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7530 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7531 (display-buffer-other-window-means-other-frame)
7532 (display-buffer-normalize-special)
7533 (display-buffer-normalize-default)
7534 (display-buffer-normalize-argument)
7535 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7536 (display-buffer-normalize-specifiers, display-buffer-frame)
7537 (display-buffer-same-window, display-buffer-same-frame)
7538 (display-buffer-other-window)
7539 (display-buffer-same-frame-other-window)
7540 (display-buffer-other-frame, pop-to-buffer-same-window)
7541 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7542 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7543 (switch-to-buffer-same-frame)
7544 (switch-to-buffer-other-window-same-frame)
7545 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7546 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7547 (display-buffer-alist-set): Remove.
7548 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7549 (special-display-regexps, special-display-function):
7550 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7551 parameter.
7552 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7553 (special-display-frame-alist, special-display-popup-frame)
7554 (same-window-buffer-names, same-window-regexps, same-window-p)
7555 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7556 (split-window-preferred-function, split-height-threshold)
7557 (split-width-threshold, window-splittable-p)
7558 (split-window-sensibly, window--try-to-split-window)
7559 (window--frame-usable-p, even-window-heights)
7560 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7561 (window--display-buffer-2, display-buffer-other-frame):
7562 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7563 (display-buffer-default, display-buffer-assq-regexp): New functions.
7564 (display-buffer-alist): Rewrite doc-string.
7565 (display-buffer-default-action)
7566 (display-buffer-overriding-action): New variables.
7567 (display-buffer, switch-to-buffer): Rewrite.
7568 (pop-to-buffer): Restore Emacs 23 behavior but use
7569 window-normalize-buffer-to-display.
7570 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7571 Restore Emacs 23 behavior but use
7572 window-normalize-buffer-to-switch-to.
7573 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7574 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7575 Rewrite using Emacs 23 options.
f818cd2a 7576
5bc3b51d
MA
75772011-08-31 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * net/tramp.el (tramp-root-regexp): Remove.
7580 (tramp-completion-file-name-regexp-unified)
7581 (tramp-completion-file-name-regexp-separate)
7582 (tramp-completion-file-name-regexp-url): Don't use leading volume
7583 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7584 (tramp-drop-volume-letter): Simplify definition.
7585 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7586
b1a4f8e1
SM
75872011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7590 (bug#9356).
7591
5664fa7b
RT
75922011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7593
b1a4f8e1 7594 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7595
9a45d6c3
JL
75962011-08-29 Juri Linkov <juri@jurta.org>
7597
7598 * isearch.el (isearch-done): Don't display message "Mark saved"
7599 when arg `edit' is non-nil to prevent its flicker in the echo area.
7600
fb87e0fb
CY
76012011-08-28 Chong Yidong <cyd@stupidchicken.com>
7602
7603 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7604 obsolete packages for deletion.
7605
09ac1c2a
CS
76062011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7607
7608 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7609 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7610 view-mode from help-mode.
7611 (help-xref-override-view-map): Remove.
7612 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7613 view-mode is not used anymore.
7614
7a1ff57f
CY
76152011-08-28 Chong Yidong <cyd@stupidchicken.com>
7616
7617 * server.el (server-port): Doc fix.
7618
b9696605
CY
7619 * cus-theme.el (custom-theme-choose-mode): Inherit from
7620 special-mode (Bug#9124).
7621 (custom-theme-choose-mode-map): Add special-mode to parent.
7622
ef8cdf8c
AM
76232011-08-28 Alan Mackenzie <acm@muc.de>
7624
7625 * progmodes/cc-fonts.el
7626 (c-make-font-lock-BO-decl-search-function): New function.
7627 (c-basic-matchers-after - "Fontify the clauses after various
7628 keywords"): Extract the three keyword lists for the 3 erroneous
7629 constructs from the list of four, and use the new function above
7630 in place of an old one.
7631
27de4e20
DD
76322011-08-28 Deniz Dogan <deniz@dogan.se>
7633
7634 * net/rcirc.el (rcirc-insert-prev-input)
7635 (rcirc-insert-next-input): Remove unused argument.
7636
356a3681
SM
76372011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7640
3fc9b218
AM
76412011-08-27 Alan Mackenzie <acm@muc.de>
7642
7643 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7644 handle function pointer parameters properly.
7645
538a061c
MR
76462011-08-27 Martin Rudalics <rudalics@gmx.at>
7647
7648 * window.el (display-buffer-reuse-window): Fix case where
7649 selected window was reused with non-nil OTHER-WINDOW argument.
7650 (Bug#9381)
7651
35b1c40c
DD
76522011-08-27 Deniz Dogan <deniz@dogan.se>
7653
7654 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7655 oftc's NickServ messages.
7656
2f6a3e79
GM
76572011-08-27 Glenn Morris <rgm@gnu.org>
7658
7659 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7660
7254299e
CY
76612011-08-26 Chong Yidong <cyd@stupidchicken.com>
7662
7663 * emacs-lisp/package.el (package-install): Call package-initialize
7664 if called interactively.
7665
f8ccf167
LL
76662011-08-26 Leo Liu <sdl.web@gmail.com>
7667
7668 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7669
3e8cd5ce
JL
76702011-08-25 Juri Linkov <juri@jurta.org>
7671
7672 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7673 `search-whitespace-regexp' (bug#9364).
7674
93eb7113
JL
76752011-08-25 Juri Linkov <juri@jurta.org>
7676
7677 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7678 `regexp-search-ring' to their global values to protect from
7679 updating by `read-from-minibuffer' (bug#9185).
7680
f65d1611
JL
76812011-08-25 Juri Linkov <juri@jurta.org>
7682
7683 * textmodes/ispell.el (ispell-command-loop): Add newline
7684 at the end of the "Use option `i'..." line.
7685
f1cf7a31
JL
76862011-08-25 Juri Linkov <juri@jurta.org>
7687
7688 * battery.el (display-battery-mode): If `battery-status-function'
7689 or `battery-mode-line-format' is nil, display the message and set
7690 `display-battery-mode' to nil (bug#9363).
7691
0c95fcf7
EZ
76922011-08-25 Eli Zaretskii <eliz@gnu.org>
7693
7694 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7695 bidi-string-mark-left-to-right; they are unnecessary now.
7696
a2ebe600
DD
76972011-08-25 Deniz Dogan <deniz@dogan.se>
7698
7699 * net/quickurl.el: Documentation typo fixes.
7700
e4ed06f1
CY
77012011-08-25 Chong Yidong <cyd@stupidchicken.com>
7702
7703 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7704
e5f1c99e
GM
77052011-08-25 Glenn Morris <rgm@gnu.org>
7706
b2948976
GM
7707 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7708
e5f1c99e
GM
7709 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7710 (smtpmail-via-smtp): Handle nil response from smtp.
7711
f22f4808
JL
77122011-08-24 Juri Linkov <juri@jurta.org>
7713
7714 * proced.el (proced-marked): Inherit from `error' instead of
7715 `font-lock-warning-face'.
7716
7717 * ibuffer.el (ibuffer-marked-face): Change default face from
7718 `font-lock-warning-face' to `warning'.
7719 (ibuffer-deletion-face): Change default face from
7720 `font-lock-type-face' to `error'.
7721
7722 * battery.el (battery-update): Use the face `error' instead of
7723 `font-lock-warning-face' (bug#6117).
7724
6a93965e
JL
77252011-08-24 Juri Linkov <juri@jurta.org>
7726
7727 * faces.el (success): Change face color from "Green3" to
7728 "ForestGreen" on light background (bug#9353).
7729
1ed43b09
CY
77302011-08-24 Chong Yidong <cyd@stupidchicken.com>
7731
5664fa7b
RT
7732 * window.el (quit-window): Rename from quit-restore-window.
7733 Use same arglist as old quit-window.
1ed43b09
CY
7734 (frame-auto-delete): Doc fix.
7735
7736 * view.el (view-mode-exit): Use quit-window.
7737
11dcdbb2
JL
77382011-08-24 Juri Linkov <juri@jurta.org>
7739
7740 * isearch.el (isearch-ring-adjust1): Start visiting previous
7741 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7742 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7743 for empty search string (when the last search string is reused
7744 automatically) to adjust the isearch ring to the last element and
7745 prepare the correct index for further M-p commands (bug#9185).
7746
de62b4df
KH
77472011-08-24 Kenichi Handa <handa@m17n.org>
7748
7749 * international/ucs-normalize.el: If decomposition property of
7750 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7751 nil.
7752 (nfd, nfkd): Likewise.
7753
963b492b
SM
77542011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7757 from process filters aren't reliably transmitted to the surrounding
7758 accept-process-output.
7759 (mpc-proc-check): New function.
7760 (mpc-proc-sync): Use it (bug#8293)
7761
93b6b5e1
SM
77622011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7765 Add compatibility functions (bug#9313).
7766
bca633fb
EZ
77672011-08-23 Eli Zaretskii <eliz@gnu.org>
7768
b177498a
EZ
7769 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7770
6df6ae42 7771 * international/uni-bidi.el: Regenerate.
bca633fb 7772
0902a04e
KH
77732011-08-23 Kenichi Handa <handa@m17n.org>
7774
7775 * international/charprop.el:
7776 * international/uni-bidi.el:
7777 * international/uni-category.el:
7778 * international/uni-combining.el:
7779 * international/uni-comment.el:
7780 * international/uni-decimal.el:
7781 * international/uni-decomposition.el:
7782 * international/uni-digit.el:
7783 * international/uni-lowercase.el:
7784 * international/uni-mirrored.el:
7785 * international/uni-name.el:
7786 * international/uni-numeric.el:
7787 * international/uni-old-name.el:
7788 * international/uni-titlecase.el:
7789 * international/uni-uppercase.el: Regenerate.
7790
3bbf23bc
MR
77912011-08-23 Martin Rudalics <rudalics@gmx.at>
7792
7793 * help.el (help-window-setup): Fix message displayed when other
7794 window is reused. (Bug#9341)
7795
b3fd59bd
SM
77962011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7797
1802e444
SM
7798 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7799 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7800
b3fd59bd
SM
7801 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7802 Mark obsolete.
7803 * shell.el (shell-parse-pcomplete-arguments): New function.
7804 (shell-completion-vars): Use it instead (bug#9160).
7805
4eb61348
SM
78062011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7807
867cab74
SM
7808 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7809 strings and comments (bug#9333).
7810
4eb61348
SM
7811 * emacs-lisp/debug.el (debug-arglist): New function.
7812 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7813 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7814
262a1439
JL
78152011-08-22 Juri Linkov <juri@jurta.org>
7816
56ee679c
JL
7817 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7818 Revert regexp that highlights output switches to its old
7819 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7820
262a1439
JL
7821 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7822 to check for empty output (bug#9226).
7823
f13f86fb
CY
78242011-08-22 Chong Yidong <cyd@stupidchicken.com>
7825
7826 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7827 symbol-constituent as the default, as that stops font-lock from
7828 working properly (Bug#8843).
7829
c65c9622
LMI
78302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7831
7832 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7833 `coding-system-for-*' around the process open call to avoid
7834 auth-source side effects.
e7f2c178 7835 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7836 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7837 probe hangs.
c65c9622 7838
23a8a5ab
CY
78392011-08-21 Chong Yidong <cyd@stupidchicken.com>
7840
ff98b2dd
CY
7841 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7842
23a8a5ab
CY
7843 * emacs-lisp/find-func.el (find-function-noselect): New arg
7844 lisp-only.
7845
7846 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7847 signal an error for built-in functions (Bug#6664).
7848
f5e3c598
LMI
78492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850
7851 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7852 (smtpmail-try-auth-methods): Use it.
7853
a3f2468a
CY
78542011-08-21 Chong Yidong <cyd@stupidchicken.com>
7855
2c34e8da
CY
7856 * font-lock.el (font-lock-fontify-region)
7857 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7858 (font-lock-default-unfontify-buffer)
7859 (font-lock-default-fontify-region)
7860 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7861
b3fd59bd
SM
7862 * progmodes/compile.el (compilation-error-properties):
7863 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7864 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7865 `ant' regexp.
ee31aabc 7866
a3f2468a
CY
7867 * net/browse-url.el (browse-url-firefox): Don't call
7868 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7869
8e999f70
GM
78702011-08-20 Glenn Morris <rgm@gnu.org>
7871
c21a496a
GM
7872 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7873
59ee0542
GM
7874 * tutorial.el (tutorial--default-keys): Update some default bindings.
7875
8e999f70
GM
7876 * files.el (hack-local-variables): Fully ignore case for "mode:".
7877
e3715033
AM
78782011-08-20 Alan Mackenzie <acm@muc.de>
7879
7880 Resolve invalid use of a regexp in regexp-opt.
7881
4d61f28d
JB
7882 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7883 detection for a java annotation.
e3715033 7884
4d61f28d 7885 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7886 detection for a java annotation.
7887
4d61f28d
JB
7888 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7889 handling for java.
e3715033
AM
7890 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7891
04ed2e9c
CY
78922011-08-20 Chong Yidong <cyd@stupidchicken.com>
7893
7894 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7895 (Bug#9274).
7896
826cee64
AM
78972011-08-20 Alan Mackenzie <acm@muc.de>
7898
58179cce 7899 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7900 such a construct. Mainly for when jit-lock etc. starts a chunk
7901 here.
7902
58179cce 7903 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7904 variable.
58179cce 7905 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7906 c-make-font-lock-search-function.
7907 (c-make-font-lock-search-function): Use the above function.
7908 (c-make-font-lock-context-search-function): New function.
7909 (c-cpp-matchers): Enhance the preprocessor expression case with
7910 the above function
7911 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7912 which takes an expression.
7913
7914 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7915
13009bd8
MR
79162011-08-20 Martin Rudalics <rudalics@gmx.at>
7917
7918 * window.el (display-buffer-reuse-window)
7919 (display-buffer-pop-up-window): Don't reuse or split a side
7920 window.
7921
9234ff7f
GM
79222011-08-19 Glenn Morris <rgm@gnu.org>
7923
7924 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7925 Downcase "Mode:". (Bug#9331)
9234ff7f 7926
f635daa1
CY
79272011-08-18 Chong Yidong <cyd@stupidchicken.com>
7928
7929 * international/characters.el: Add L and R categories.
7930
7931 * subr.el (bidi-string-mark-left-to-right): Rename from
7932 string-mark-left-to-right. Use category search.
7933
7934 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7935
bc987f8b
JL
79362011-08-18 Juri Linkov <juri@jurta.org>
7937
7938 * faces.el (error, warning, success): New faces with definitions
7939 copied from old default values of `font-lock-warning-face',
7940 `compilation-warning', `compilation-info' (bug#6117).
7941
7942 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7943
7944 * progmodes/compile.el (compilation-error): Inherit from `error'.
7945 (compilation-warning): Inherit from `warning'.
7946 (compilation-info): Inherit from `success'.
7947
7948 * dired.el (dired-marked): Inherit from `warning'.
7949 (dired-flagged): Inherit from `error'.
7950
57173b96
LMI
79512011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7952
3e79eb87
LMI
7953 * mail/smtpmail.el (auth-source): Require to avoid problems with
7954 binding variables (bug#9298). Also clean up some unused
7955 autoloads.
7956
b3fd59bd
SM
7957 * net/network-stream.el (network-stream-open-starttls):
7958 Support using starttls.el without using gnutls-cli.
57173b96 7959
02b404de
JL
79602011-08-17 Juri Linkov <juri@jurta.org>
7961
7962 * progmodes/grep.el (rgrep): Handle the case when
7963 `grep-find-command' is a cons cell (bug#9278).
7964
8c9177f2
MR
79652011-08-17 Martin Rudalics <rudalics@gmx.at>
7966
7967 * window.el (display-buffer-pop-up-frame): Run frame creation
7968 function with BUFFER current (as special-display-popup-frame
7969 does). Reported by Drew Adams.
7970
3644a0ab
DU
79712011-08-17 Daiki Ueno <ueno@unixuser.org>
7972
7973 * epa-mail.el: Simplify GnuPG group expansion using
7974 epg-expand-group.
7975 (epa-mail-group-alist, epa-mail-group-modtime)
7976 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7977 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7978 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7979 Remove.
7980
5e617bc2 79812011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7982
7983 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7984
9c4aeabf
AM
79852011-08-16 Alan Mackenzie <acm@muc.de>
7986
7987 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7988 Correct, to avoid the inside of macros.
7989
3a99bf64
RS
79902011-08-16 Richard Stallman <rms@gnu.org>
7991
04963aa8
RS
7992 * epa-mail.el: Handle GnuPG group definitions.
7993 (epa-mail-group-alist, epa-mail-group-modtime)
7994 (epa-mail-gnupg-conf-file): New variables.
7995 (epa-mail-parse-groups, epa-mail-sync-groups)
7996 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7997 (epa-mail-expand-recipients): New functions.
7998 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7999
177549d0
RS
8000 * mail/rmail.el (rmail-epa-decrypt): New command.
8001
fe38beef
RS
8002 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8003 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8004 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8005 (epa-decrypt-armor-in-region): Make error message clearer.
8006
934eacb9
SM
80072011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8010 and "a2b" to "ab" for `prefix'.
8011
d024fb4e
CY
80122011-08-14 Chong Yidong <cyd@stupidchicken.com>
8013
8014 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8015 filter groups.
de148fee
CY
8016 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8017 Fourquet (Bug#8804).
d024fb4e 8018
62f1ca49
JB
80192011-08-12 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * startup.el (argi): Declare as global variable (bug#9275).
8022
9ccaaa4b
CY
80232011-08-12 Chong Yidong <cyd@stupidchicken.com>
8024
8025 * subr.el (string-mark-left-to-right): Search the entire string
8026 for RTL script, not just the terminating character. Doc fix.
8027
a3dae87a
SM
80282011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8029
6cd18349
SM
8030 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8031 New function.
8032 (js--regexp-literal, js-syntax-propertize-function): Remove.
8033 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8034 (js-mode-map): Don't rebind electric keys.
8035 (js-insert-and-indent): Remove.
8036 (js-mode): Setup electric-layout and electric-indent instead.
8037
a3dae87a
SM
8038 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8039
9d5cb631
DU
80402011-08-12 Daiki Ueno <ueno@unixuser.org>
8041
8042 * epa.el (epa-progress-callback-function): Fix the logic of
8043 displaying progress.
8044 * epa-file.el (epa-file-insert-file-contents): Make progress
8045 display more user-friendly.
8046 (epa-file-write-region): Ditto.
8047
3e26a4a2
CY
80482011-08-10 Chong Yidong <cyd@stupidchicken.com>
8049
8050 * subr.el (string-mark-left-to-right): New function.
8051
8052 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8053 Use string-mark-left-to-right.
8054 (list-buffers-noselect): Caller changed.
8055
a3dae87a
SM
8056 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8057 Use string-mark-left-to-right.
3e26a4a2
CY
8058 (tabulated-list-print): Recenter after moving point.
8059
ac8cf6e6
JL
80602011-08-10 Juri Linkov <juri@jurta.org>
8061
8062 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8063 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8064 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8065
8d96c9a4
CY
80662011-08-09 Chong Yidong <cyd@stupidchicken.com>
8067
8068 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8069 (Bug#7554).
8070
7be1c708 80712011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8072
8073 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8074 character. (Bug#6594)
8075
37e11a63
CY
80762011-08-08 Chong Yidong <cyd@stupidchicken.com>
8077
839dde57
CY
8078 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8079 (image-dired--with-db-file): New macro.
8080 (image-dired-write-tags, image-dired-remove-tag)
8081 (image-dired-create-gallery-lists, image-dired-write-comments)
8082 (image-dired-get-comment, image-dired-mark-tagged-files)
8083 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8084 (image-dired-gallery-generate): Use insert-file-contents.
8085
37e11a63
CY
8086 * time.el (display-time-world-list, display-time-world-display):
8087 * time-stamp.el (time-stamp-string):
8088 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8089 set-time-zone-rule (Bug#7337).
8090
0b4946c4
DU
80912011-08-08 Daiki Ueno <ueno@unixuser.org>
8092
8093 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8094 (epg-error-to-string, epg-errors-to-string): New function.
8095 (epg-wait-for-completion): Reverse errors list.
8096 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8097 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8098 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8099 (epg-sign-keys, epg-generate-key-from-file)
8100 (epg-generate-key-from-string): Format errors by using
8101 epg-errors-to-string (bug#9255).
8102 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8103
75bfc667
JL
81042011-08-07 Juri Linkov <juri@jurta.org>
8105
8106 * faces.el (list-faces-display): Remove extra angle bracket
8107 from `help-mode-map'.
8108
8109 * info.el (Info-history-toc-nodes): Doc fix.
8110
8111 * longlines.el (longlines-mode): Doc fix.
8112
673e08bb
SM
81132011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8114
4640dd88
SM
8115 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8116 of statements and in a few more cases (bug#9183).
8117
673e08bb
SM
8118 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8119 New functions.
8120 (cl-transform-lambda): Use them (bug#9239).
8121
89b3f019
MR
81222011-08-05 Martin Rudalics <rudalics@gmx.at>
8123
8124 * window.el (display-buffer-same-window)
8125 (display-buffer-same-frame, display-buffer-other-window)
8126 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8127 (pop-to-buffer-other-window)
8128 (pop-to-buffer-same-frame-other-window)
8129 (pop-to-buffer-other-frame): Make them defuns.
8130 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8131
640c8776
SM
81322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * subr.el (make-composed-keymap): Move from C. Change calling
8135 convention, and improve docstring to bring attention to a subtle point.
8136 * minibuffer.el (completing-read-default): Adjust accordingly.
8137
63648a95
MA
81382011-08-03 Michael Albinus <michael.albinus@gmx.de>
8139
8140 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8141 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8142
8143 * net/trampver.el: Update release number.
8144
b796c9b7
SM
81452011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8148 "in" (bug#9190).
8149
2239d7d5
LMI
81502011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8151
e07dd7c3
LMI
8152 * mail/sendmail.el (sendmail-query-once): Restore the current
8153 buffer after querying (bug#9074).
8154
0e6a2bd7
LMI
8155 * dired.el (dired-flagged): Use different faces for marked and
8156 flagged files (bug#6117).
8157
ce887515
LMI
8158 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8159 (bug#4433).
8160
92f2affc
LMI
8161 * ido.el (ido-mode): Switch off the message if called
8162 non-interactively.
8163
57d5aff0
LMI
8164 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8165 before 587, since it appears that that's more likely to work for
8166 more people.
8167
98cd6c18 8168 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8169 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8170 exist.
8171
b96dec83
LMI
8172 * info.el: Remove the `Info-beginning-of-buffer' function
8173 (bug#8325).
8174
b796c9b7
SM
8175 * net/network-stream.el (network-stream-open-starttls):
8176 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8177
d90e2ea0
MR
81782011-08-01 Martin Rudalics <rudalics@gmx.at>
8179
8180 * window.el (display-buffer-in-window): Don't set dedicated status
8181 of window here (Bug#9215).
8182 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8183 (display-buffer-pop-up-side-window)
b796c9b7 8184 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8185
cca09170
SM
81862011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8189 before binding generated-autoload-file.
8190
027b979c
DD
81912011-08-01 Deniz Dogan <deniz@dogan.se>
8192
8193 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8194
3c7ee4f3
MA
81952011-07-30 Michael Albinus <michael.albinus@gmx.de>
8196
8197 Sync with Tramp 2.2.2.
8198
8199 * net/trampver.el: Update release number.
8200
2cc8e51a
JL
82012011-07-30 Juri Linkov <juri@jurta.org>
8202
8203 * dired-aux.el (dired-touch-initial): Remove function.
8204 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8205 current time, and `default' to the last modification time of the
8206 current marked file (bug#6887).
8207
a514d856
JM
82082011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8209
8210 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8211 numeric argument to read-number (bug#9163).
a514d856 8212
8a7eddd7
MA
82132011-07-27 Michael Albinus <michael.albinus@gmx.de>
8214
8215 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8216 connection process, it could be nil.
8217
1ddd96f5
LL
82182011-07-27 Leo Liu <sdl.web@gmail.com>
8219
8220 Simplify url handling in rcirc-mode.
8221
8222 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8223 (rcirc-browse-url-at-mouse): Remove.
8224 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8225
b248a85d
AM
82262011-07-26 Alan Mackenzie <acm@muc.de>
8227
8228 Fontify bitfield declarations properly.
8229
8230 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8231 (c-symbol-chars): Now exported as a lang variable.
8232 (c-not-primitive-type-keywords): New lang variable.
8233
8234 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8235 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8236 parsed as a bitfield declaration.
b248a85d 8237
b796c9b7
SM
8238 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8239 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8240 (c-punctuation-in): New function.
8241 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8242 declarations properly.
8243
68575ab0
UJ
82442011-07-26 Ulf Jasper <ulf.jasper@web.de>
8245
8246 * calendar/icalendar.el (icalendar--all-events): Take care of
8247 multiple vcalendars in a single file.
b796c9b7 8248 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8249
0f0a88b9
DD
82502011-07-25 Deniz Dogan <deniz@dogan.se>
8251
8252 * image.el (insert-image): Clarifying docstring.
8253
0b3f36df
MA
82542011-07-24 Michael Albinus <michael.albinus@gmx.de>
8255
8256 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8257 `tramp-send-command-and-check' if there is no error.
8258 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8259
a9901f61
AM
82602011-07-22 Alan Mackenzie <acm@muc.de>
8261
8262 Prevent cc-langs.elc being loaded at run time.
8263
8264 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8265 cc-langs.
8266
4d61f28d 8267 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8268 "(require 'cc-langs)". Quote a form so it will evaluate at
8269 (cc-mode's) compilation time.
8270
11d074b2
MA
82712011-07-22 Michael Albinus <michael.albinus@gmx.de>
8272
8273 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8274 loading. (Bug#9114)
8275
938b94c8
MR
82762011-07-21 Martin Rudalics <rudalics@gmx.at>
8277
8278 * window.el (display-buffer-pop-up-window)
8279 (display-buffer-pop-up-side-window)
8280 (display-buffer-in-side-window): Call display-buffer-set-height
8281 and display-buffer-set-width after setting the new window's
b796c9b7 8282 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8283
bfa4f190
SS
82842011-07-20 Sam Steingold <sds@gnu.org>
8285
8286 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8287 (etags-tags-included-tables): Call `convert-standard-filename' on
8288 the file names contained in TAGS so that windows Emacs can handle
8289 TAGS files created by cygwin ctags.
8290
8ca42262
LMI
82912011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8292
8293 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8294 which apparently didn't work.
8295
5db2afd2 82962011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8297
5db2afd2
RW
8298 * proced.el (proced-send-signal): For *Marked Processes* buffer
8299 put point at beginning of buffer.
8300
92e15d10
SB
83012011-07-19 Stephen Berman <stephen.berman@gmx.net>
8302
8303 * proced.el (proced-format): Make header lines align with the text
8304 (bug#1779).
8305
1bfd59e5
LMI
83062011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8307
8308 * view.el (view-buffer): Allow running in `special' modes if we're
8309 visiting a file (bug#8615).
8310
f5aae37c
MR
83112011-07-19 Martin Rudalics <rudalics@gmx.at>
8312
8313 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8314 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8315 New functions.
f5aae37c
MR
8316 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8317 more accurately.
8318
bf2c1571
AM
83192011-07-18 Alan Mackenzie <acm@muc.de>
8320
8321 Fontify declarators properly when, e.g., a jit-lock chunk begins
8322 inside a declaration.
8323
8324 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8325
b796c9b7
SM
8326 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8327 New function.
bf2c1571
AM
8328 (c-complex-decl-matchers): Insert reference to
8329 c-font-lock-enclosing-decls.
8330
8331 * progmodes/cc-engine.el (c-backward-single-comment):
8332 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8333 to nil around calls to (forward-comment -1).
8334
4e190b80
LMI
83352011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8336
12dc863d
LMI
8337 * image.el (put-image): Doc typo fix.
8338
a762e966
LMI
8339 * progmodes/etags.el (tags-search): Doc typo fix.
8340
4e190b80
LMI
8341 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8342 password if we get errors 550 to 554.
8343
f019fb21
LMI
83442011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8345
b796c9b7 8346 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8347
81746738
LMI
8348 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8349 indentation character (bug#6380).
8350
3ee3a1b5
LMI
8351 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8352
c82f64de
LMI
8353 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8354 to clarify what the problem is (bug#4291).
8355
f019fb21
LMI
8356 * simple.el (current-kill): Clarify what
8357 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8358 (auto-fill-mode): Document `auto-fill-function' in relation to
8359 `auto-fill-mode' (bug#2470).
f019fb21 8360
0794775d
LM
83612011-07-16 Lawrence Mitchell <wence@gmx.li>
8362
8363 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8364 method if slot is read-only (bug#9035).
8365
be39b8cc
MR
83662011-07-16 Martin Rudalics <rudalics@gmx.at>
8367
b796c9b7 8368 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8369 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8370 selected before, see discussion of (Bug#8615), (Bug#6954).
8371 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8372
6ccf7859
GM
83732011-07-15 Glenn Morris <rgm@gnu.org>
8374
8375 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8376 Respect help-form.
6ccf7859 8377
87e86684
LM
83782011-07-09 Lawrence Mitchell <wence@gmx.li>
8379
8380 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8381 (gnutls-negotiate): Use it.
8382
d6066239
LMI
83832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
b796c9b7
SM
8385 * net/gnutls.el (gnutls-negotiate):
8386 Upcase `gnutls-algorithm-priority'.
d6066239 8387
bd23ebc0
GM
83882011-07-15 Glenn Morris <rgm@gnu.org>
8389
c65bca65
GM
8390 * jka-compr.el (jka-compr-verbose): Move from here...
8391 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8392 Add missing :version tag.
8393 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8394
478615cc
LMI
83952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8396
7b41decb
LMI
8397 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8398 (gnutls-negotiate): Use it.
8399
dbc44fcd
LMI
8400 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8401
06789f97
LMI
8402 * info.el (Info-beginning-of-buffer): New command.
8403 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8404 announcing `b' as the key (bug#8325).
ab896c37 8405 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8406
c39da690
LMI
8407 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8408
3aa5f34b
LMI
8409 * international/mule-cmds.el
8410 (describe-specified-language-support): Make the error message
8411 clearer (bug#8905).
8412
4bf0979f
LMI
8413 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8414
478615cc
LMI
8415 * isearch.el (isearch-barrier): Add a doc string, since it's
8416 mentioned in a function doc string (bug#8678).
8417
75c68aa1
MR
84182011-07-15 Martin Rudalics <rudalics@gmx.at>
8419
8420 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8421 buffer argument (Bug#9083) and self-identifying label argument.
8422
a7c33da2
GM
84232011-07-15 Glenn Morris <rgm@gnu.org>
8424
8425 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8426
2f5c6024
LMI
84272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8428
8429 * man.el (Man-fontify-manpage): Fix message when formatting the
8430 man page (bug#7929).
8431
0bb23927 84322011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8433
8434 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8435 argument LRM; if non-nil, append an invisible LRM character to the
8436 buffer name.
8437 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8438 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8439 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8440 paragraph direction.
cce4b0a7 8441
621ef9ab
LMI
84422011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443
d1583c48
LMI
8444 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8445 the man page name (bug#7929).
8446
6a57fb5f
LMI
8447 * image.el (put-image): Mention the `put-image' overlay property
8448 (bug#7834).
8449
d7956b14
LMI
8450 * scroll-bar.el (set-scroll-bar-mode): Mention that
8451 `scroll-bar-mode' lists the values (bug#7772).
8452
5b2d4a66
LMI
8453 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8454 command (bug#7729).
8455
7509a874
LMI
8456 * rect.el (apply-on-rectangle): Return the point after the last
8457 operation.
8458 (string-rectangle): Go to the point after the last operation
8459 (bug#7522).
8460
4fe74b19
LMI
8461 * printing.el (pr-toggle-region): Clarify the documentation
8462 slightly (bug#7493).
8463
b796c9b7
SM
8464 * time.el (display-time-update):
8465 Allow `display-time-mail-function' to return nil (bug#7158).
8466 Fix suggested by Detlev Zundel.
ab283561 8467
fc233c9d
LMI
8468 * vc/diff.el (diff): Clarify the order the file names are read
8469 (bug#7111).
8470
43f5740b
LMI
8471 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8472 the doc string (bug#7015).
8473
f2182a76
LMI
8474 * font-lock.el (font-lock-maximum-decoration): Mention what
8475 numeric levels mean (bug#6935).
8476
621ef9ab
LMI
8477 * startup.el (initial-buffer-choice): Don't mention the `none'
8478 selection, which is against policy.
8479
adc47434
MR
84802011-07-14 Martin Rudalics <rudalics@gmx.at>
8481
b796c9b7
SM
8482 * window.el (display-buffer-normalize-special):
8483 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8484
7e5bfb8f
EZ
84852011-07-14 Eli Zaretskii <eliz@gnu.org>
8486
8487 * subr.el (version<, version<=, version=): Mention "-CVS" and
8488 "-12345" alpha version numbers.
8489
27fa387a
CY
84902011-07-14 Chong Yidong <cyd@stupidchicken.com>
8491
8492 * bindings.el: Add advertised binding for set-mark-command
8493 (Bug#5772).
8494
8bdfa064
CY
84952011-07-14 Chong Yidong <cyd@stupidchicken.com>
8496
8497 * bindings.el (mode-line-other-buffer):
8498 * bookmark.el (bookmark-bmenu-2-window):
8499 * bs.el (bs-cycle-next, bs-cycle-previous):
8500 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8501 switch-to-buffer.
8502
8503 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8504 Delete.
8bdfa064 8505
5eba16a3
JB
85062011-07-14 Juanma Barranquero <lekktu@gmail.com>
8507
8508 * follow.el (follow-debug-message, follow-redisplay):
8509 * jka-cmpr-hook.el (with-auto-compression-mode):
8510 Fix typos in docstrings.
8511
15853710
LMI
85122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513
a28e4607
LMI
8514 * subr.el (with-silent-modifications): Clarify somewhat what the
8515 macro inhibits (bug#6525).
8516
15853710
LMI
8517 * simple.el (eval-expression): Note what it does if called
8518 interactively (bug#6495).
8519
bee0fcef
CY
85202011-07-13 Chong Yidong <cyd@stupidchicken.com>
8521
b796c9b7
SM
8522 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8523 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8524
8525 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8526 Remove switch-to-buffer.
8527
58274504
LMI
85282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8529
bd2fcc8d
LMI
8530 * files.el (make-directory): Clarify that an error will be raised
8531 if there's an error (bug#6397).
8532
0f04b32c
LMI
8533 * startup.el (initial-buffer-choice): Add `none' as a choice
8534 (bug#6234).
8535
465c5fc8
LMI
8536 * subr.el (add-hook): Clarify section about buffer-local hooks
8537 (bug#6218).
8538
58274504
LMI
8539 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8540
bead9a43
JB
85412011-07-13 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * tabify.el (untabify): Preserve the current column so that point
8544 doesn't move (bug#6032).
8545
3af98a7b
LMI
85462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
b796c9b7
SM
8548 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8549 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8550
6240145a
GM
85512011-07-13 Glenn Morris <rgm@gnu.org>
8552
8553 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8554 (dired-insert-directory): Give a message the first time
8555 if ls is found not to support --dired.
8556
1d8c2ccc
LMI
85572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8558
8559 * simple.el (toggle-truncate-lines): Clarify what is toggled
8560 (bug#5580). Text by Drew Adams.
8561
5fc4038e
CY
85622011-07-13 Chong Yidong <cyd@stupidchicken.com>
8563
8564 * simple.el (blink-matching-open): Make the error message from the
8565 last change less verbose.
8566
bf6012e5
DN
85672011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8568
8569 * font-lock.el (font-lock-comment-face): Use the high contrast
8570 "yellow" color for font-lock-comment-face on low color terminals
8571 using a dark background color (bug#4221).
8572
343c3b5a
LMI
85732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
7e9505c5
LMI
8575 * dired.el (dired-insert-set-properties): Make the doc string
8576 reflect what it does now (bug#5325).
8577
c26fdcf5
LMI
8578 * simple.el (blink-matching-open): Say that we were unable to find
8579 the match within the limit, if we're limited (bug#5122).
8580
bb388cc5
LMI
8581 * international/mule-cmds.el (prefer-coding-system): Add an
8582 example (bug#4869).
8583
343c3b5a
LMI
8584 * progmodes/etags.el (tags-search): Document `file-list-form'
8585 (bug#4731).
8586
2a517d45
LM
85872011-07-13 Lawrence Mitchell <wence@gmx.li>
8588
8589 * net/browse-url.el (browse-url-default-browser)
8590 (browse-url-browser-function): Make the default browser choice a
8591 bit more logical (bug#4300). Also clean up the doc string.
8592
b6c78ef2
JB
85932011-07-13 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8596 binary endings (bug#4440).
8597
1c4dd947
LMI
85982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
a2014063
LMI
8600 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8601 which can be pretty annoying (bug#8971).
8602
9c9c2d88
LMI
8603 * jka-compr.el (jka-compr-verbose): New variable, and use
8604 throughout (bug#8971).
8605
1c4dd947
LMI
8606 * info.el (Info-find-file): Fall back on the installation
8607 directory if we can't find the info node anywhere else.
8608
a1c9f41b
SO
86092011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8610
8611 * vc/vc.el (vc-revert-file):
8612 Don't set file time-stamp in the past. (Bug#5181)
8613
536f3d36
LMI
86142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
7152b011
LMI
8616 * files.el (after-find-file): Give a better error message when
8617 trying to find a symlink that points to a file that doesn't exist
8618 (bug#4398).
8619
536f3d36
LMI
8620 * progmodes/cc-vars.el: Remove (probably) misleading comment
8621 (bug#4396).
8622
460c0fba
JB
86232011-07-12 Johan Bockgård <bojohan@gnu.org>
8624
8625 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8626
7a6bda45
CY
86272011-07-12 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * mouse-sel.el: Hack restoring functionality, while keeping
8630 compatibility with 2010-07-03 changes to mouse selection.
8631 (mouse-sel-primary-overlay): New var.
8632 (mouse-sel-selection-alist): Use it.
8633 (mouse-sel-mode): Doc fix; remove points that are default features
8634 of mouse.el.
8635
c79598ef
JB
86362011-07-12 Johan Bockgård <bojohan@gnu.org>
8637
8638 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8639 Fix previous fix (bug#2490).
8640
ff8be6ef
RW
86412011-07-12 Roland Winkler <winkler@gnu.org>
8642
b796c9b7
SM
8643 * textmodes/bibtex.el (bibtex-initialize):
8644 Use pop-to-buffer-same-window.
ff8be6ef
RW
8645 (bibtex-search-entries): Fix interactive call.
8646
296ba3ee
LMI
86472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
f5242a02 8649 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8650 Fontise bytecomp Error lines more correctly (bug#2490).
8651 Fix suggested by Johan Bockgård.
f5242a02 8652
296ba3ee
LMI
8653 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8654
8655 * dired-x.el (dired-guess-default): Use `delete-dups'.
8656
f69fd0d2
CY
86572011-07-12 Chong Yidong <cyd@stupidchicken.com>
8658
8659 * dired.el (dired-mark-prompt):
8660 * dired-aux.el (dired-read-shell-command): Doc fix.
8661
eab5dc07
LMI
86622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8663
b796c9b7
SM
8664 * mail/sendmail.el (sendmail-query-once):
8665 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8666 emacs -Q.
8667
8668 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8669
eab5dc07
LMI
8670 * cus-edit.el (custom-file): Take an optional no-error variable.
8671 (customize-save-variable): Set the variable, and give a warning if
8672 running under "emacs -q".
8673
a1e65d42
JB
86742011-07-11 Juanma Barranquero <lekktu@gmail.com>
8675
8676 * loadhist.el (unload-feature-special-hooks):
8677 Add `auto-coding-functions', `fill-nobreak-predicate' and
8678 `find-directory-functions' (bug#5327).
8679
1d52da10
LMI
86802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8681
be958f1d
LMI
8682 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8683
5bedb26c
LMI
8684 * cus-edit.el (custom-guess-name-alist): -alist variables should
8685 use the `alist' type (bug#3120). Suggested by Drew Adams.
8686
1d52da10
LMI
8687 * printing.el: Add documentation to all the `pr-toggle-' commands.
8688
cd394be1 86892011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8690
8691 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8692 backends where it makes sense (bug#2623).
8693
dcc88d8a
LMI
86942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8695
c3de9feb
LMI
8696 * dired-x.el (dired-guess-default): Remove duplicate shell command
8697 entries (bug#2028).
8a93078b 8698 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8699 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8700
dcc88d8a
LMI
8701 * subr.el (remove-duplicates): New conveniency function.
8702
505e3645
LMI
87032011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8705 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8706 (bug#1526).
8707
87082011-07-10 Martin Rudalics <rudalics@gmx.at>
8709
8710 * window.el (display-buffer-normalize-default): Don't invert
8711 meaning of even-window-heights. Reported by Eli Zaretskii
8712 <eliz@gnu.org>.
8713
455e4fa1
BR
87142011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8715
8716 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8717
8e0bc3e9
CY
87182011-07-10 Chong Yidong <cyd@stupidchicken.com>
8719
8720 * window.el (display-buffer): Fix arguments to
8721 display-buffer-reuse-window in last change.
8722
fa7c3228
CY
8723 * faces.el (link): Use a less saturated blue on light backgrounds.
8724
8725 * startup.el (fancy-startup-text, fancy-about-text)
8726 (fancy-startup-tail): Use font-lock faces, for background safety.
8727
c0a7f300
BN
87282011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8729
b796c9b7
SM
8730 * emulation/viper-cmd.el (viper-change-state-to-vi):
8731 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8732
4dc2a129
MR
87332011-07-09 Martin Rudalics <rudalics@gmx.at>
8734
8735 * window.el (display-buffer-default-specifiers): Remove.
8736 (display-buffer-macro-specifiers): Remove default specifiers.
8737 (display-buffer-alist): Default to nil.
b796c9b7 8738 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8739 (display-buffer-pop-up-window): Allow splitting internal
8740 windows. Check whether a live window was created.
8741 (display-buffer-other-window-means-other-frame)
8742 (display-buffer-normalize-arguments): Rename to
8743 display-buffer-normalize-argument and rewrite. Set the
8744 other-window specifier.
8745 (display-buffer-normalize-special): New function.
8746 (display-buffer-normalize-options): Rename to
8747 display-buffer-normalize-default and rewrite.
8748 (display-buffer-normalize-options-inhibit): Remove.
8749 (display-buffer-normalize-specifiers): Rewrite.
8750 (display-buffer): Process other-window specifier and call
8751 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8752 more faithfully.
b796c9b7 8753 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8754 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8755 (display-buffer-in-window, display-buffer-alist-set):
8756 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8757 <tassilo@member.fsf.org>.
8758
2d43b8c9
LL
87592011-07-09 Leo Liu <sdl.web@gmail.com>
8760
8761 * register.el (insert-register): Restore accidental change on
8762 2011-06-26. (Bug#9028)
8763
7f9b7c53
GM
87642011-07-09 Glenn Morris <rgm@gnu.org>
8765
8766 * subr.el (remq): Handle the empty list. (Bug#9024)
8767
f042cfd8
AS
87682011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8769
8770 * mail/sendmail.el (send-mail-function): No longer delay custom
8771 initialization.
8772 * custom.el (custom-initialize-delay): Doc fix.
8773
856b2f11
SM
87742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8775
8776 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8777
afae1d68
MA
87782011-07-08 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8781 human-friendly prompt.
8782
0757af94
SM
87832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8786 provided by a particular plugin.
8787
d760b731
LMI
87882011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8789
8790 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8791 save customizations (with "emacs -Q"), just set the variable
8792 instead of erroring out.
8793
8794 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8795
cd79ce90
JL
87962011-07-08 Juri Linkov <juri@jurta.org>
8797
8798 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8799 (archive-zip-update-case): Use 7z if found by `executable-find'.
8800 The order of searching the available programs is the same as in
8801 `archive-zip-extract' (bug#8968).
8802
14cc04aa
CY
88032011-07-07 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8806 (menu-bar-options-menu): Tweak descriptions.
8807
0a1848ec
LMI
88082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8809
8810 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8811 menu items into verb phrases (bug#1421). Also refill to fit under
8812 80 columns.
8813
f5bd0689
CY
88142011-07-07 Chong Yidong <cyd@stupidchicken.com>
8815
538e85c6
CY
8816 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8817 (Info-read-node-name): Doc fix (Bug#1084).
8818
f5bd0689
CY
8819 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8820 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8821 (end-of-sexp, beginning-of-sexp)
8822 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8823 (forward-symbol, forward-same-syntax, word-at-point)
8824 (sentence-at-point): Doc fix (Bug#1144).
8825
56ec5115
LMI
88262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8827
f3f8e37f
LMI
8828 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8829 should cover it (bug#1281).
8830
0757af94 8831 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8832
e9fce1ac 8833 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8834 negotiation fails, then possibly try again with a non-encrypted
8835 connection (bug#9017).
8836
56ec5115
LMI
8837 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8838 be used.
8839
c2f9aec8
RS
88402011-07-07 Richard Stallman <rms@gnu.org>
8841
8842 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8843 property, and handle its changed format.
8844 Look for the correct line number.
8845 Use file's line contents (but not past first =) to find
8846 correct line in message.
8847
ef7b981d 88482011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8849
8850 * international/characters.el (build-unicode-category-table):
8851 Delete it.
0757af94 8852 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8853
0757af94 8854 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8855 to src/chartab.c.
8856 (get-char-code-property): Call unicode-property-table-internal to
8857 load a file. Call get-unicode-property-internal where necessary.
8858 (put-char-code-property): Call unicode-property-table-internal to
8859 load a file. Call put-unicode-property-internal where necessary.
8860 put-unicode-property-internal where necessary.
0757af94
SM
8861 (char-code-property-description):
8862 Call unicode-property-table-internal to load a file.
c805dec0
KH
8863
8864 * international/charprop.el:
8865 * international/uni-bidi.el:
8866 * international/uni-category.el:
8867 * international/uni-combining.el:
8868 * international/uni-comment.el:
8869 * international/uni-decimal.el:
8870 * international/uni-decomposition.el:
8871 * international/uni-digit.el:
8872 * international/uni-lowercase.el:
8873 * international/uni-mirrored.el:
8874 * international/uni-name.el:
8875 * international/uni-numeric.el:
8876 * international/uni-old-name.el:
8877 * international/uni-titlecase.el:
8878 * international/uni-uppercase.el: Regenerate.
8879
8880 * loadup.el: Load international/charprop.el before
8881 international/characters.
8882
e14b388a
CY
88832011-07-07 Chong Yidong <cyd@stupidchicken.com>
8884
8885 * window.el (next-buffer, previous-buffer): Signal an error if
8886 called from a minibuffer window.
8887
8888 * bindings.el: Revert 2011-07-04 change.
8889
354cf0ba
RS
88902011-07-06 Richard Stallman <rms@gnu.org>
8891
8892 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8893 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8894 Treat markers like ints.
8895 (rmail-mime-entity): Doc fix.
8896
a48868a7
LMI
88972011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8898
4906cd3d
LMI
8899 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8900 defcustom again for backwards compatibility.
8901
e0457abe
LMI
8902 * simple.el (shell-command-on-region): Fill.
8903
d67f7e1f
LMI
8904 * dired-aux.el (dired-kill-line): Add a doc string.
8905
fe204702
LMI
8906 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8907 to "\\sw\\|\\s_" (bug#358).
8908
a48868a7
LMI
8909 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8910 (dired-unmark-backward): Ditto.
8911 (dired-flag-backup-files): Ditto.
8912
8913 * dired-x.el (dired-mark-sexp): Ditto.
8914
aa8a705c
RS
89152011-07-06 Richard Stallman <rms@gnu.org>
8916
8917 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8918 (rmail-mime-entity): New arg TRUNCATED.
8919 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8920 New functions.
8921 (rmail-mime-save): Warn if entity is truncated.
8922 (rmail-mime-toggle-hidden): Likewise, for showing.
8923 (rmail-mime-process-multipart): Record when an entity is truncated.
8924
a9a936b9
RS
8925 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8926 if ENTITY is a string.
8927
1f2b92cb
LMI
89282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
f4f73198 8930 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8931 of faces when `M-C-x'-ing their definitions (bug#8378).
8932 Also clean up the code slightly.
f4f73198 8933
12b16734 8934 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8935 because that makes the colors go away.
12b16734 8936
f0691d22
LMI
8937 * mail/sendmail.el (send-mail-function): Change the default to
8938 `sendmail-query-once'.
9e87df06 8939 (sendmail-query-once): Add an autoload cookie.
f0691d22 8940
1f2b92cb
LMI
8941 * net/network-stream.el (network-stream-open-starttls): Try using
8942 a plain connection even if the server offered STARTTLS, and we
8943 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8944 capability. This should make smtpmail.el work in slightly more
8945 configurations.
8946
1cdd2a1b
MA
89472011-07-06 Michael Albinus <michael.albinus@gmx.de>
8948
8949 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8950 New defun.
8951 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8952
fbcc67e2
MM
89532011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8954
8955 * progmodes/sql.el: Version 3.0
0757af94 8956 (sql-product-alist): Add product :completion-object,
fbcc67e2 8957 :completion-column, and :statement attributes.
0757af94 8958 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8959 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8960 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8961 ansi keywords.
8962 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8963 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8964 (sql-oracle-show-reserved-words): New function for development.
8965 (sql-product-font-lock): Simplify for source code buffers.
8966 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8967 New functions.
8968 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8969 (sql-mode-map): Add statement movement functions.
8970 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8971 New variable.
fbcc67e2
MM
8972 (sql-statement-regexp, sql-beginning-of-statement)
8973 (sql-end-of-statement, sql-signum): New functions.
0757af94 8974 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8975 (sql-show-sqli-buffer): Bug fix.
8976 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8977 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8978 with sql-interactive-mode.
8979 (sql-save-connection): Save buffer local settings.
0757af94 8980 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8981 (sql-product-interactive): Bug fix.
8982 (sql-preoutput-hold): New variable.
8983 (sql-interactive-remove-continuation-prompt): Bug fixes.
8984 (sql-debug-redirect): New variable.
8985 (sql-str-literal): New function.
8986 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8987 Redesign.
fbcc67e2
MM
8988 (sql-oracle-save-settings, sql-oracle-restore-settings)
8989 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8990 (sql-completion-object, sql-completion-column)
8991 (sql-completion-sqlbuf): New variables.
8992 (sql-build-completions-1, sql-build-completions)
8993 (sql-try-completion): New functions.
8994 (sql-read-table-name): Use them.
8995 (sql-contains-names): New buffer local variable.
8996 (sql-list-all, sql-list-table): Use it.
8997 (sql-oracle-completion-types): New variable.
8998 (sql-oracle-completion-object, sql-sqlite-completion-object)
8999 (sql-postgres-completion-object): New functions.
9000
d4eaeab1
GM
90012011-07-06 Glenn Morris <rgm@gnu.org>
9002
9003 * window.el (pop-to-buffer): Doc fix.
9004
322b7dab 90052011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9006
9007 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9008
322b7dab 90092011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9010
322b7dab 9011 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9012
322b7dab 9013 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9014
605dd5bf
CY
90152011-07-05 Chong Yidong <cyd@stupidchicken.com>
9016
9017 * button.el (button): Inherit from link face. Suggested by Dan
9018 Nicolaescu.
9019
7dbfa719
SM
90202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9021
3db614b0
SM
9022 * progmodes/gdb-mi.el: Fit in 80 columns.
9023 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9024 switch-to-buffer.
9025
7dbfa719
SM
9026 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9027 if imenu is simply not configured (bug#8941).
9028
919d884a
KM
90292011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9030
9031 * allout.el (allout-post-undo-hook): New allout outline-change
9032 event hook to signal undo activity.
9033 (allout-post-command-business): Run allout-post-undo-hook if an
9034 undo just occurred.
7dbfa719
SM
9035 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9036 * allout-widgets.el (allout-widgets-after-undo-function):
9037 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9038 in the vicinity of an undo.
9039 (allout-widgets-mode): Include allout-widgets-after-undo-function
9040 on the new allout-post-undo-hook.
9041
450a0f09
SM
90422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9045 Let define-derived-mode define it.
9046 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9047 cycles of abbrev-table inheritance (bug#8998).
9048
2de69e00
RW
90492011-07-05 Roland Winkler <winkler@gnu.org>
9050
9051 * textmodes/bibtex.el: Add support for biblatex.
9052 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9053 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9054 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9055 (bibtex-entry-alist, bibtex-field-alist): New variables.
9056 (bibtex-entry-field-alist): Obsolete alias for
9057 bibtex-BibTeX-entry-alist.
9058 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9059 (bibtex-set-dialect): New command.
9060 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9061 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9062 Bind via bibtex-set-dialect.
2de69e00
RW
9063 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9064 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9065 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9066 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9067 Define via bibtex-set-dialect.
450a0f09
SM
9068 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9069 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9070 (bibtex-vec-push, bibtex-vec-incr): New functions.
9071 (bibtex-format-entry, bibtex-field-list)
9072 (bibtex-print-help-message, bibtex-validate)
9073 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9074
2dcdbdd9
SM
90752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * progmodes/compile.el (compilation-goto-locus):
9078 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9079 * bs.el (bs-cycle-next, bs-cycle-previous):
9080 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9081 * bindings.el (mode-line-other-buffer):
9082 * autoinsert.el (auto-insert):
9083 * arc-mode.el (archive-extract):
9084 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9085
b27640fe
JB
90862011-07-05 Juanma Barranquero <lekktu@gmail.com>
9087
9088 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9089 Fix check of `emacs-lock-unlockable-modes'.
9090 Coerce true values of `emacs-lock--try-unlocking' to t.
9091
53bbe3ad
JB
90922011-07-05 Juanma Barranquero <lekktu@gmail.com>
9093
9094 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9095 * emacs-lock.el: New file.
9096
1d3cdbc7
JD
90972011-07-05 Julien Danjou <julien@danjou.info>
9098
9099 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9100 than `boundp' to check if face is set.
9101
9173deec
JB
91022011-07-05 Juanma Barranquero <lekktu@gmail.com>
9103
9104 * register.el (registerv-make):
9105 * window.el (window-min-height): Fix typos in docstrings.
9106
869795d6
JD
91072011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9108
9173deec 9109 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9110 Update doc string.
9111
b768cdcd
JB
91122011-07-04 Juanma Barranquero <lekktu@gmail.com>
9113
9114 * server.el (server-execute): Catch quit and call
9115 `server-return-error' to pass the error back to emacsclient and
9116 close the connection (bug#8942).
9117
13aa217b
KM
91182011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9119
9120 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9121 insecure exception for current topic. Also note that auto-saves
9122 are handled differently.
9123
5d3385a0 9124 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9125 State variables for tracking auto-save inhibition situation.
9126
9127 (allout-write-contents-hook-handler): Rename from
9128 'allout-write-file-hook-handler', and describe how it depends on
9129 write-contents-functions sensitivity to non-nil value to prevent
9130 file write.
9131
9132 (allout-auto-save-hook-handler): Remove. auto-save does not check
9133 this in individual buffers, only in the starting buffer, so this
9134 is not the right way for us to inhibit auto-save in a buffer
9135 according to its condition.
9136
9137 (allout-mode): Use new allout-write-contents-hook-handler, and
9138 only with write-contents-functions. Remove auto-save provisions -
9139 they're implemented elsewhere.
9140
9141 (allout-before-change-handler): If undo is in progress, note that
9142 for attention of allout-post-command-business.
9143
9144 (allout-post-command-business): If the command we're following was
9145 an undo, check for change in the status of encrypted items and
9146 adjust auto-save inhibitions accordingly.
9147
9148 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9149 according to whether there are or aren't any plain-text topics
9150 pending encryption.
9151
2dcdbdd9 9152 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9153 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9154 if there are plain-text topics pending encryption.
13aa217b
KM
9155
9156 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9157 buffer-saved-size and some allout state to not inhibit auto-saves
9158 if there are no longer any plain-text topics pending encryption.
9159
0757af94
SM
9160 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9161 No longer provide for exemption of the current topic.
13aa217b 9162
ac89b32c
JL
91632011-07-04 Juri Linkov <juri@jurta.org>
9164
9165 Add 7z operations to delete and save changed members (bug#8968).
9166 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9167 New defcustoms.
9168 (archive-7z-write-file-member): New function.
9169 (archive-7z-summarize): Fix the number of dashes in the
9170 listing output.
9171
8fa39615
SM
91722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9175 (bug#8958).
9176
2f11b3f1
CY
91772011-07-04 Chong Yidong <cyd@stupidchicken.com>
9178
d66fef2b
CY
9179 * bindings.el: Ignore next-buffer and previous-buffer in
9180 minibuffer-local-map.
9181
2f11b3f1
CY
9182 * font-lock.el (font-lock-builtin-face): Change light background
9183 color to dark slate blue (Bug#6693).
9184
f932a347
WD
91852011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9186
9187 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9188
c8af70e1
SM
91892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9192 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9193 Add switch-to-buffer.
9194
f158badc
LMI
91952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9196
9197 * isearch.el (isearch-search-fun-function): Clarify further the
9198 meaning of the function returned.
9199
6d95bd46
MA
92002011-07-04 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9203
9204 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9205 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9206 Use it.
9207 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9208 `tramp-default-remote-path' does not exist.
9209 (tramp-send-command-and-read): New optional argument NOERROR.
9210 (tramp-open-connection-setup-interactive-shell)
9211 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9212 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9213 (tramp-process-sentinel): Flush also process' connection property.
9214 (tramp-sh-handle-start-file-process): Do not set process
9215 sentinel. It is done now ...
9216 (tramp-maybe-open-connection): ... here. (Bug#8929)
9217
909e6b67
MK
92182011-07-04 MON KEY <monkey@sandpframing.com>
9219
9220 * play/animate.el (animate-string): Doc fixes and allow changing
9221 the buffer name (bug#5417).
9222
92232011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9224
c8af70e1 9225 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9226
f34755dc
PE
92272011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9228
396cec72
PE
9229 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9230 This is simpler and helps future-proof the code.
9231 (timer-until): Use time-subtract and float-time.
08235028 9232 (timer--time-less-p): Use time-less-p.
f34755dc 9233
56e6cc31
JB
92342011-07-04 Juanma Barranquero <lekktu@gmail.com>
9235
3abb79e5
JB
9236 * type-break.el (timep): Use the value of `float-time' to avoid a
9237 byte-compiler warning.
9238
56e6cc31
JB
9239 * server.el (server-eval-and-print): Return any result, even nil.
9240
7b9430b4
PE
92412011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9242
9243 * type-break.el: Accept time formats that the builtins accept.
9244 (timep, type-break-time-difference): Accept any format that
9245 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9246 This is simpler and helps future-proof the code.
9247 (type-break-time-difference): Round rather than ignoring
9248 subseconds components.
9249
3034e9e7
LMI
92502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9251
9252 * info.el (Info-apropos-matches): Make non-interactive, since it
9253 doesn't seem to do anything useful as a command (bug#8829).
9254
1485f4c0
CY
92552011-07-03 Chong Yidong <cyd@stupidchicken.com>
9256
9257 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9258 Move from faces.el.
1485f4c0
CY
9259 (frame-default-terminal-background): New function.
9260
9261 * custom.el (custom-push-theme): Don't record faces in `changed'
9262 theme; this doesn't work correctly for per-frame face settings.
9263 (disable-theme): Use face-set-after-frame-default to reset faces.
9264 (custom--frame-color-default): New function.
9265
9fa3dd45
LMI
92662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9267
c8af70e1 9268 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9269 (bug#8769).
9270
6cbbc20c
KR
92712011-03-29 Kevin Ryde <user42@zip.com.au>
9272
9273 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9274 `perl-Test2' extend to match possible "fail #N" rep count
9275 (bug#8377).
9276
c7f98048
LMI
92772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9278
65676592
LMI
9279 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9280 `smtpmail-via-smtp' now returns the error instead of nil.
9281
c7f98048
LMI
9282 * isearch.el (isearch-search-fun-function): Clarify the doc string
9283 (bug#8101).
9284
56e6cc31 92852011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9286
9287 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9288 unnecessary spaces (bug#8987).
9289
2b216704
LMI
92902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9291
9292 * net/network-stream.el (open-network-stream): Use the
9293 :end-of-capability command thoughout.
9294
92952011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9296
9297 * net/network-stream.el (open-network-stream): Add the
9298 :end-of-capability command parameter, used by pop3.el.
9299
36adf6ce
LMI
93002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9301
1ca0da0e
LMI
9302 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9303
fc00f69c
LMI
9304 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9305 for list)" (bug#6475).
9306
28fd8759 9307 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9308 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9309 an error (bug#6297).
9310
0dd8b6da
LMI
9311 * man.el (Man-reference-regexp): Allow matching possible
9312 word-wrapped references (bug#6289).
9313
ce1438d6
LMI
9314 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9315 for consistency with the other vc buffers (bug#6197).
9316 (vc-checkin): Ditto.
9317
9318 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9319
36adf6ce
LMI
9320 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9321
e83cc1f7
LMI
93222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9323
8a20ca4c
LMI
9324 * custom.el (defcustom): Clarify that :set is only used in the
9325 Customize user interface (bug#6089).
9326
83319045
LMI
9327 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9328 associated with a file, refuse to run instead of erroring out
9329 (bug#6084).
9330
a8392169
LMI
9331 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9332 the doc string, since it appears that using `fill-column' always
9333 controls the width (bug#7845).
9334
e83cc1f7
LMI
9335 * simple.el (shell-command-on-region): Say where the error output
9336 went if `shell-command-default-error-buffer' is set (bug#6857).
9337
e47ca23b
KM
93382011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9339
9340 * allout.el (allout-yank-processing): Adjust cursor position for
9341 backwards-deleted space.
9342
9343 (allout-rebullet-heading): Register changes with
9344 allout-exposure-changed-hook, so the modified topic is properly
9345 decorated.
9346
5cf56143
LMI
93472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9348
08549772
LMI
9349 * minibuffer.el (completion-in-region): Document PREDICATE
9350 (bug#7136).
9351
48e96771
LMI
9352 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9353 of keyword/argument pairs (bug#6904).
9354
c8af70e1
SM
9355 * replace.el (multi-occur):
9356 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9357
e17d05e2
LMI
93582011-07-02 Drew Adams <drew.adams@oracle.com>
9359
9360 * dired.el (dired-mark-if): Make the message about whether it's
9361 marking or unmarking clearer (bug#8523).
9362
063b0e45
LMI
93632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9364
9365 * disp-table.el (display-table-print-array): New function.
9366 (describe-display-table): Use it to print the vectors more pretty
9367 (Bug#8859).
9368
28545e04
MR
93692011-07-02 Martin Rudalics <rudalics@gmx.at>
9370
9371 * window.el (window-state-get-1): Don't assign clone numbers.
9372 Add clone-of item to list of window parameters.
9373 (window-state-put-2): Don't process clone numbers.
9374 (display-buffer-alist): Fix doc-string.
9375
3349e122
SM
93762011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * subr.el (remq): Don't allocate if it's not needed.
9379 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9380 (keymap--merge-bindings): New functions.
9381 (keymap-canonicalize): Use them to refine the canonicalization.
9382 * minibuffer.el (minibuffer-local-completion-map)
9383 (minibuffer-local-must-match-map): Move initialization from C.
9384 (minibuffer-local-filename-completion-map): Move initialization from C;
9385 don't inherit from anything here.
9386 (minibuffer-local-filename-must-match-map): Make obsolete.
9387 (completing-read-default): Use make-composed-keymap to combine
9388 minibuffer-local-filename-completion-map with either
9389 minibuffer-local-must-match-map or
9390 minibuffer-local-filename-completion-map.
9391
d224ac83
GM
93922011-07-01 Glenn Morris <rgm@gnu.org>
9393
3de63bf8
GM
9394 * type-break.el (type-break-time-sum): Use dolist.
9395
d224ac83
GM
9396 * textmodes/flyspell.el (flyspell-word-search-backward):
9397 Replace CL function.
9398
1a1e3f32
SM
93992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9400
fe3f64d5
SM
9401 * mouse.el (mouse--strip-first-event): New function.
9402 (function-key-map): Use it to map fringe clicks to normal clicks
9403 by default.
9404
eb604e34
SM
9405 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9406 (vc-bzr-revision-completion-table): Add support for annotate and date.
9407
1a1e3f32
SM
9408 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9409 inherit from parent.
9410
5bd35902
LMI
94112011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9412
ace6c69c 9413 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9414 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9415
191e2bed
LMI
9416 * dired.el (dired-mode): Fix up the doc string as suggested by
9417 Drew Adams (bug#8817).
9418
5bd35902
LMI
9419 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9420 cookie, since the manual says that it should be possible to add
9421 this function to `find-file-hook' (bug#8709).
9422
eee8207a
TZ
94232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9424
9425 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9426 here. Noted Ted Zlatanov as the maintainer.
9427 (cfengine-common-settings, cfengine-common-syntax): New functions
9428 to set up common things between `cfengine-mode' and
9429 `cfengine3-mode'.
9430 (cfengine3-mode): New mode.
9431 (cfengine3-defuns cfengine3-defuns-regex
9432 (cfengine3-class-selector-regex cfengine3-category-regex)
9433 (cfengine3-vartypes cfengine3-font-lock-keywords)
9434 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9435 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9436
36b148cf
MA
94372011-07-01 Michael Albinus <michael.albinus@gmx.de>
9438
9439 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9440
9441 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9442
0bf4ba9a
MR
94432011-07-01 Martin Rudalics <rudalics@gmx.at>
9444
9445 * window.el (same-window-buffer-names, same-window-regexps)
9446 (same-window-p, special-display-frame-alist)
9447 (special-display-popup-frame, special-display-function)
9448 (special-display-buffer-names, special-display-regexps)
9449 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9450 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9451 (split-window-preferred-function, split-height-threshold)
9452 (split-width-threshold, even-window-heights)
9453 (display-buffer-mark-dedicated, window-splittable-p)
9454 (split-window-sensibly, window-safely-shrinkable-p):
9455 Un-obsolete.
9456 (display-buffer): Don't spread args with function specifier
9457 because special-display-popup-frame won't like it.
9458
35837f51
PE
94592011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9460
d0672f86
PE
9461 Time-stamp simplifications and fixes.
9462 These improve accuracy slightly, and future-proof the code
9463 against some potential changes to current-time format.
9464
b9444d97
PE
9465 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9466 by using time-since and float-time.
9467
0ef923dc
PE
9468 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9469 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9470 + NNN microseconds".
9471
2f81380d
PE
9472 * type-break.el (type-break-time-sum): Rewrite using time-add.
9473
845b5c3e
PE
9474 * play/hanoi.el (hanoi-current-time-float): Remove.
9475 All uses replaced by float-time.
9476
ee6f1be0
PE
9477 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9478 This yields a more-accurate answer.
9479 (rng-time-to-float): Remove; no longer needed.
9480
fe955043
PE
9481 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9482
5777162a
PE
9483 * calendar/timeclock.el (timeclock-seconds-to-time):
9484 Defalias to seconds-to-time, since they're the same thing.
9485
3103f8b6 9486 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9487 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9488 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9489
0e61a35f
SM
94902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * window.el (bury-buffer): Don't iconify the only frame.
9493 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9494 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9495
ddd63a1e
CY
94962011-07-01 Chong Yidong <cyd@stupidchicken.com>
9497
0e61a35f
SM
9498 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9499 Add mouse-yank-primary.
ddd63a1e 9500
055f4923
TZ
95012011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9502
9503 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9504
6a2fb145
SM
95052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9508 (find-library-name): Use it to find relative load names when provided
9509 absolute file name (bug#8803).
9510
fd4983f2
LMI
95112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9512
887d14ad
LMI
9513 * textmodes/flyspell.el (flyspell-word): Consider words that
9514 differ only in case as potential doublons (bug#5687).
9515
c53dc7fc
LMI
9516 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9517 Remove two rather uninteresting debugging-like messages to make
9518 debbugs.el more silent.
9519
fd4983f2
LMI
9520 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9521 a password-like phrase.
9522
7a71b18d 95232011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9524
9525 * progmodes/cc-guess.el: New file.
9526
6a2fb145 9527 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9528
9529 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9530 derived from `c-basic-common-init'.
9531
9532 * progmodes/cc-mode.el (top-level): Require cc-guess.
9533 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9534
1fa280a3
LM
95352011-06-30 Lawrence Mitchell <wence@gmx.li>
9536
9537 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9538
e6597158
AM
95392011-06-30 Alan Mackenzie <acm@muc.de>
9540
1fa280a3
LM
9541 * progmodes/cc-engine.el (c-guess-continued-construct):
9542 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9543 lock is disabled. Name this case as "CASE G".
9544
68ba37fb
KM
95452011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9546
9547 * allout.el (allout-yank-processing): Fix injection of extra space
9548 between bullet and non-whitespace character in first topic when
9549 pasting, ensuring that the actual spacing in the pasted topic
9550 following the bullet char is preserved. This extra space was
9551 causing pasted encrypted topics to get a decrypted status even
9552 when the content was actually still encrypted. Now the decryption
9553 status from before the paste is preserved.
9554
9555 (allout-flag-region): Set all allout overlays so they evaporate
9556 when reduced to zero length (evanescent), to prevent overlay
9557 leakage.
9558
887a0b34
GM
95592011-06-30 Glenn Morris <rgm@gnu.org>
9560
94b9acce
GM
9561 * w32-fns.el (w32-charset-info-alist): Declare.
9562
1d9b46d4
GM
9563 * find-dired.el (find-grep-options): Simplify.
9564
cc232200
GM
9565 * term/ns-win.el (ns-set-resource): Declare.
9566
28e77c46
GM
9567 * ses.el (row, col): Declare dynamic variables honestly.
9568
887a0b34
GM
9569 * textmodes/reftex-parse.el (index-tags): Declare.
9570
658d8eb8
CY
95712011-06-30 Chong Yidong <cyd@stupidchicken.com>
9572
9573 * cus-edit.el (customize-push-and-save): New function.
9574
9575 * files.el (hack-local-variables-confirm): Use it.
9576
1fa280a3
LM
9577 * custom.el (load-theme): New arg NO-CONFIRM.
9578 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9579 (custom-enabled-themes): Doc fix.
9580
9581 * cus-theme.el (customize-create-theme)
9582 (custom-theme-merge-theme): Callers to load-theme changed.
9583
bb617717
LMI
95842011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9585
d61bdd5d
LMI
9586 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9587 short URLs have at least one dot in them (bug #7614).
9588
bb617717
LMI
9589 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9590 nil, because using a pty is apparently too slow (bug #895).
9591
2f31f37a
LMI
95922011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9593
9594 * mail/sendmail.el (sendmail-query-once): New function.
9595 (sendmail-query-once-function): New variable.
9596
3076b24e
GM
95972011-06-29 Glenn Morris <rgm@gnu.org>
9598
faf2a174
GM
9599 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9600
3076b24e
GM
9601 * ses.el (top-level): Require cl when compiling.
9602 (ses-set-localvars): Fix error statement.
9603 Call it at compile time to silence a storm of warnings.
9604
5386012d
MR
96052011-06-29 Martin Rudalics <rudalics@gmx.at>
9606
9607 * window.el (normalize-live-buffer): Rename to
9608 window-normalize-buffer.
9609 (normalize-live-frame): Rename to window-normalize-frame.
9610 (normalize-any-window): Rename to window-normalize-any-window.
9611 (normalize-live-window): Rename to window-normalize-live-window.
9612 (make-window-atom): Rename to window-make-atom.
9613 (window-resize-reset): Rename to window--resize-reset.
9614 (window-resize-reset-1): Rename to window--resize-reset-1.
9615 (resize-mini-window): Rename to window--resize-mini-window.
9616 (resize-subwindows-skip-p): Rename to
9617 window--resize-subwindows-skip-p.
9618 (resize-subwindows-normal): Rename to
9619 window--resize-subwindows-normal.
9620 (resize-subwindows): Rename to window--resize-subwindows.
9621 (resize-other-windows): Rename to window--resize-siblings.
9622 (resize-this-window): Rename to window--resize-this-window.
9623 (resize-root-window): Rename to window--resize-root-window.
9624 (resize-root-window-vertically): Rename to
9625 window--resize-root-window-vertically.
9626 (normalize-buffer-to-display): Rename to
9627 window-normalize-buffer-to-display.
9628 (normalize-buffer-to-switch-to): Rename to
9629 window-normalize-buffer-to-switch-to.
9630 Correspondingly update all callers of the functions listed
9631 above.
9632 (display-buffer-alist, display-buffer-normalize-arguments)
9633 (display-buffer-normalize-options, display-buffer)
9634 (display-buffer-alist-set): Use "function" instead of
9635 "fun-with-args".
9636
1176868d
CY
96372011-06-28 Chong Yidong <cyd@stupidchicken.com>
9638
9639 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9640 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9641 debbugs.gnu.org. Mention acknowledgment email.
9642
20a7a65f
LMI
96432011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9644
9645 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9646 buffer multibyteness, since it shouldn't matter.
9647
5f45cca5
MR
96482011-06-28 Martin Rudalics <rudalics@gmx.at>
9649
9650 * window.el (display-buffer-in-side-window): Handle dedicated
9651 windows as in display-buffer-reuse-window.
9652 (display-buffer-normalize-alist): Use value of override
9653 specifier.
9654 (display-buffer-normalize-specifiers): Use value of
9655 other-window-means-other-frame specifier.
9656 (display-buffer-alist): Rewrite some texts in widgets.
9657 (display-buffer): Spread arguments when calling function
9658 specified by fun-with-args.
9659
ad85fe1f
DD
96602011-06-28 Deniz Dogan <deniz@dogan.se>
9661
1fa280a3
LM
9662 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9663 Unnest `let'.
da68c4c8 9664
ad85fe1f
DD
9665 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9666 selectors (Bug#5732).
ec49bd31 9667 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9668
a08cc025
JA
96692011-06-27 Jari Aalto <jari.aalto@cante.net>
9670
9671 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9672 (eshell-ls-date-format): New defcustom.
9673 (eshell-ls-file): Use it.
9674
e2b551c5
SM
96752011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9678
8982b231
KY
96792011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9680
9681 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9682 (ange-ftp-make-tmp-name): New arg.
9683 (ange-ftp-file-local-copy): Use it.
9684
36c9fa27
J
96852011-06-27 Jambunathan K <kjambunathan@gmail.com>
9686
9687 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9688 no-conversion (Bug#8870).
9689
d68443dc
MR
96902011-06-27 Martin Rudalics <rudalics@gmx.at>
9691
9692 * window.el (window-right, window-left, window-child)
9693 (window-child-count, window-last-child)
9694 (window-iso-combination-p, walk-window-tree-1)
9695 (window-atom-check-1, window-tree-1, delete-window)
9696 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9697 new naming conventions - window-vchild, window-hchild,
9698 window-next and window-prev are now called window-top-child,
9699 window-left-child, window-next-sibling and window-prev-sibling
9700 respectively.
d615d6d2
MR
9701 (resize-window-reset): Rename to window-resize-reset.
9702 (resize-window-reset-1): Rename to window-resize-reset-1.
9703 (resize-window): Rename to window-resize.
9704 (window-min-height, window-min-width)
9705 (resize-mini-window, resize-this-window, resize-root-window)
9706 (resize-root-window-vertically, adjust-window-trailing-edge)
9707 (enlarge-window, shrink-window, maximize-window)
9708 (minimize-window, delete-window, quit-restore-window)
9709 (split-window, balance-windows, balance-windows-area-adjust)
9710 (balance-windows-area, window-state-put-2)
9711 (display-buffer-even-window-sizes, display-buffer-set-height)
9712 (display-buffer-set-width, set-window-text-height)
9713 (fit-window-to-buffer): Rename all "resize-window" prefixed
9714 calls to use the "window-resize" prefix convention.
9715 (display-buffer-alist): Fix symbol for label specifier.
9716 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9717 corresponding specifier.
9718 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9719
b6458526
VB
97202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9721
9722 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9723 convention.
9724 (ses-call-printer): Does not pass an empty string to formatter when the
9725 cell is empty to keep from barking printer Calc math-format-value.
9726
d31fd9ac
RS
97272011-06-27 Richard Stallman <rms@gnu.org>
9728
43d5bf84
RS
9729 * battery.el (battery-mode-line-limit): New variable.
9730 (battery-update): Handle it.
9731
d31fd9ac
RS
9732 * mail/rmailmm.el (rmail-mime-process-multipart):
9733 Handle truncated messages.
9734
819a6054
GM
97352011-06-27 Glenn Morris <rgm@gnu.org>
9736
9737 * progmodes/flymake.el (flymake-err-line-patterns):
9738 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9739
cedc73f2
VB
97402011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9741
819a6054 9742 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9743 (ses--clean-!, ses--clean-_): New functions.
9744 (ses-range): Add configurability of readout order, and conversion
9745 to Calc vector.
9746
5e5d49b6
VB
9747 * ses.el (ses-repair-cell-reference-all): New function.
9748 (ses-cell-symbol): Set macro as safe, so that it can be used in
9749 formulas.
9750
56e6cc31 9751 * ses.el: Update cycle detection algorithm.
90ca8b49 9752 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9753 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9754 (ses-set-localvars): New function.
9755 (ses-make-cell): Add property-list as a cell element.
9756 (ses-cell-property-get-fun, ses-cell-property-get)
9757 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9758 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9759 New functions.
90ca8b49
VB
9760 (ses-cell-property-set, ses-cell-property-pop)
9761 (ses-cell-property-get-handle): New macro.
9762 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9763 New aliases, used for code readability.
9764 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9765 cycle detection.
9766 (ses-self-reference-early-detection): New defcustom.
fac916bf 9767 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9768 (ses-mode): Use ses-set-localvars.
9769 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9770 before lauching the update processing.
9771 (ses-initialize-Dijkstra-attempt): New function.
9772 (ses-recalculate-cell): Update for cycle detection based on
9773 Dijkstra algorithm.
9774
2bb63e81
VB
9775 * ses.el: Fix commenting and indenting convention.
9776
c9d29fb8
SM
97772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * bs.el (bs-cycle-next): Complete last change.
9780
d8e4b68b
JB
97812011-06-27 Drew Adams <drew.adams@oracle.com>
9782
9783 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9784
40098786
LMI
97852011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9786
c9d29fb8
SM
9787 * net/network-stream.el (network-stream-open-starttls):
9788 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9789 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9790
40098786
LMI
9791 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9792 to binary to possibly avoid line encoding issues on Windows (among
9793 other things).
9794
468d09d4
LMI
97952011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9796
9797 * net/network-stream.el (open-network-stream): Return an :error
9798 saying what the problem was, if possible.
9799
9800 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9801 server.
9802
9803 * net/network-stream.el (network-stream-open-starttls): If we
9804 wanted to use STARTTLS, and the server offered it, but we weren't
9805 able to because we had no STARTTLS support, then close the connection.
9806 (open-network-stream): Return an :error element, if present.
9807
16f07dd7
CY
98082011-06-26 Chong Yidong <cyd@stupidchicken.com>
9809
88821ca0
CY
9810 * hl-line.el (hl-line-sticky-flag): Doc fix.
9811 (global-hl-line-sticky-flag): New option (Bug#8323).
9812 (global-hl-line-highlight): Obey it.
9813
16f07dd7
CY
9814 * vc/vc.el (vc-revert-show-diff): Default to t.
9815
6b5ccddf
KM
98162011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9817
c9d29fb8
SM
9818 * allout-widgets.el (allout-widgets-post-command-business):
9819 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9820 undecorated when an isearch is continued past, and isearch
9821 automatically collapses them. This leads to "widget leaks", where
9822 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9823 hidden widgets can slow down cursor travel, substantially.
9824 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9825 so we're doing without this nicety.
9826
9827 (allout-widgets-tally-string): Don't try to do a hash-table-count
9828 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9829 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9830 *Messages* when allout-widgets-maintain-tally is t.
9831
355f2e07
MR
98322011-06-26 Martin Rudalics <rudalics@gmx.at>
9833
9834 * window.el (display-buffer-normalize-argument): Rename to
9835 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9836 LABEL argument. Respect special-display-function when popping up
9837 a new frame. Fix code searching for a window showing the buffer
9838 on another frame.
c9d29fb8
SM
9839 (display-buffer-normalize-specifiers):
9840 Call display-buffer-normalize-arguments.
355f2e07
MR
9841 (display-buffer-in-window): Don't undedicate the window if its
9842 buffer remains the same.
9843 Reported by Drew Adams <drew.adams@oracle.com>.
9844 (display-buffer-alist): Add choice for same-window macro
9845 specfier.
9846 (display-buffer): Mention special meaning of LABEL argument in
9847 doc-string. Fix quoting. Don't pop up a new frame even as
9848 fallback.
9849
7ca8fc42
JB
98502011-06-26 Juanma Barranquero <lekktu@gmail.com>
9851
9852 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9853 avoid deleting the current window in some cases (bug#8911).
9854
bc312254
AS
98552011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9856
9857 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9858 (Bug#8934)
9859
2db18f3f
LMI
98602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9861
c9d29fb8
SM
9862 * net/network-stream.el (network-stream-open-starttls):
9863 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9864 (network-stream-open-tls): Ditto.
9865
6302e0d3
LL
98662011-06-26 Leo Liu <sdl.web@gmail.com>
9867
9868 * register.el (registerv): New struct.
9869 (registerv-make): New function.
c9d29fb8
SM
9870 (jump-to-register, describe-register-1, insert-register):
9871 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9872 struct. (Bug#8415)
9873
5fdd4046
CY
98742011-06-26 Chong Yidong <cyd@stupidchicken.com>
9875
2afef60a
CY
9876 * vc/vc.el (vc-revert-show-diff): New defcustom.
9877 (vc-diff-internal): New arg specifying diff buffer.
9878 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9879 reuse an existing *vc-diff* buffer (Bug#8927).
9880
5fdd4046
CY
9881 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9882
e93db24a
GM
98832011-06-26 Glenn Morris <rgm@gnu.org>
9884
9885 * progmodes/f90.el (f90-critical-indent): New option.
9886 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9887 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9888 (f90-mode): Doc fix.
9889 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9890 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9891 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9892 (f90-match-end): Handle block, critical.
9893
eefff499
GM
98942011-06-25 Glenn Morris <rgm@gnu.org>
9895
f6ba4cc9
GM
9896 * calendar/diary-lib.el (diary-included-files): Doc fix.
9897 (diary-include-files): New function, extracted from
9898 diary-include-other-diary-files and diary-mark-included-diary-files.
9899 (diary-include-other-diary-files, diary-mark-included-diary-files):
9900 Just call diary-include-files.
9901 (diary-mark-entries): Reset diary-included-files on first call.
9902
16712304
GM
9903 * calendar/diary-lib.el (diary-mark-entries)
9904 (diary-mark-included-diary-files):
9905 Visit included diary-files in temp buffers.
9906
5d8e0d43
GM
9907 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9908 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9909 (f90-start-block-re, f90-imenu-generic-expression)
9910 (f90-looking-at-program-block-start, f90-no-block-limit):
9911 Add support for submodules.
9912
ccf7a5d5
GM
9913 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9914 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9915
11fdef7d 99162011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9917
9918 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9919 buffer-file-type before setting its value, to avoid disastrous
eefff499 9920 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9921
74f53697
JB
99222011-06-25 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9925
9926 * ses.el (ses-unload-function):
9927 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9928
9929 * proced.el (proced-unload-function):
9930 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9931
18a4ce5e
AR
99322011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9933
9934 * server.el (server-create-window-system-frame): Add parameters arg.
9935 (server-process-filter): Doc fix. Handle frame-parameters.
9936
519d22cc
JB
99372011-06-25 Juanma Barranquero <lekktu@gmail.com>
9938
9939 Fix bug#8730, bug#8781.
9940
9941 * loadhist.el (unload--set-major-mode): New function.
9942 (unload-feature): Use it.
9943
9944 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9945 (python-unload-function): New function.
9946
c206f5b0
SM
99472011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9950
f9ad64f3
GS
99512011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9952
9953 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9954 the candidates list.
9955
7d0da90e
JB
99562011-06-24 Juanma Barranquero <lekktu@gmail.com>
9957
9958 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9959
14b4e83d
RS
99602011-06-23 Richard Stallman <rms@gnu.org>
9961
9962 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9963 (rmail-variables): Set next-error-move-function.
9964 (rmail-what-message): Take argument POS.
9965 (rmail-next-error-move): New function.
9966
273d2baf
SM
99672011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9970 messages for adjacent non-terminals.
9971
56c2cc9a
RS
99722011-06-23 Richard Stallman <rms@gnu.org>
9973
9974 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9975 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9976 (rmail-start-mail): Don't specify use of rmail-mail-return;
9977 that's done by mail-bury now.
9978 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9979
d59eb518
MA
99802011-06-23 Michael Albinus <michael.albinus@gmx.de>
9981
9982 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9983 SIZE is a number.
9984
02cfc6d6
MR
99852011-06-23 Martin Rudalics <rudalics@gmx.at>
9986
9987 * window.el (get-lru-window, get-mru-window)
9988 (get-largest-window): Never return a minibuffer window.
9989 (display-buffer-pop-up-window): Fix a bug that could lead to
9990 reusing the minibuffer window.
9991 (display-buffer): Pass original specifier argument to
9992 display-buffer-function instead of the normalized one.
9993 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9994
4e323265
LL
99952011-06-22 Leo Liu <sdl.web@gmail.com>
9996
9997 * minibuffer.el (completing-read-function)
9998 (completing-read-default): Move from minibuf.c
9999
7a70468f
RS
100002011-06-22 Richard Stallman <rms@gnu.org>
10001
50718fc2
RS
10002 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10003 to Rmail even if not started by a special Rmail command.
10004
7a70468f
RS
10005 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10006 Copy the buffer currently showing just one message.
10007
297dde5a
RW
100082011-06-22 Roland Winkler <winkler@gnu.org>
10009
10010 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10011 (bibtex-clean-entry): First delete the old key so that a
10012 customized algorithm for generating the new key does not get
10013 confused by the old key.
10014 (bibtex-url): Obey regexp of first step.
10015 (bibtex-search-entries): Do not use add-to-list with local
10016 list-var.
10017
97bb1093
LMI
100182011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10019
10020 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10021 stored a user name, then query for the password first, instead of
10022 waiting for SMTP to give an error message and the trying again.
10023
1c0f1a19
JD
100242011-06-22 Lawrence Mitchell <wence@gmx.li>
10025
10026 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10027 BUFFER in call-process.
10028
396f7c9d
LMI
100292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10030
10031 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10032 QUIT twice.
ddb7ffee
LMI
10033 (smtpmail-try-auth-methods): Require user name and password from
10034 auth-source.
396f7c9d 10035
8998d1b3
MR
100362011-06-22 Martin Rudalics <rudalics@gmx.at>
10037
10038 * window.el (display-buffer-default-specifiers)
10039 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10040 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10041 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10042
10043 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10044 (special-display-frame-alist, special-display-popup-frame):
10045 Remove duplicate declarations. These are now in window.el.
10046
4ea31e07
LMI
100472011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10048
c9d29fb8
SM
10049 * mail/smtpmail.el (smtpmail-via-smtp):
10050 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10051 server supports it. SMTP servers that support STARTTLS commonly
10052 require it.
10053
10054 * net/network-stream.el (network-stream-open-starttls): Support
10055 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10056 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10057
95f41d9a
LMI
10058 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10059 upgrades with `open-network-stream', and rely solely on
10060 auth-source for all credentials. Big changes throughout the file,
10061 but in particular:
c9d29fb8
SM
10062 (smtpmail-auth-credentials): Remove.
10063 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10064 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10065 MAIL FROM, too.
95f41d9a 10066
c9d29fb8
SM
10067 * net/network-stream.el (network-stream-open-starttls):
10068 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10069 STARTTLS.
10070 (auth-source): Require.
10071 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10072 (network-stream-certificate): Change cert-cert to cert and
10073 cert-key to key.
4ea31e07 10074
065ec2c7
MA
100752011-06-21 Michael Albinus <michael.albinus@gmx.de>
10076
10077 * net/tramp-cache.el (top): Don't load the persistency file when
10078 "emacs -Q" has been called.
10079
cd93b359
DR
100802011-06-21 Tim Harper <timcharper@gmail.com>
10081
d8e4b68b
JB
10082 * term/ns-win.el (ns-initialize-window-system):
10083 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10084 resource to NO as it is not yet supported by the NS port.
10085
ae9c0411
JB
100862011-06-21 Juanma Barranquero <lekktu@gmail.com>
10087
10088 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10089 (list-dynamic-libraries): ...not here.
10090
7f3f739f
LL
100912011-06-21 Leo Liu <sdl.web@gmail.com>
10092
10093 * subr.el (sha1): Implement sha1 using secure-hash.
10094
327c8fb1
MR
100952011-06-21 Martin Rudalics <rudalics@gmx.at>
10096
10097 * window.el (display-buffer-alist): In default value do not
10098 enforce searching a window on any but the selected frame.
10099 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10100 (display-buffer-select-window): Remove function.
10101 (display-buffer-in-window): When a window on another frame gets
10102 reused, do not select it any more but just raise its frame if
10103 necessary (Bug#8851) and (Bug#8856).
10104 (display-buffer-normalize-options): Handle pop-up-frames related
10105 options more faithfully.
10106 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10107 window if it is on another frame.
c9d29fb8
SM
10108 (display-buffer-alist, display-buffer-default-specifiers):
10109 Don't make new frame unsplittable by default.
9e9de014
MR
10110 (display-buffer-normalize-argument): Fix doc-string typo and use
10111 'same-frame-other-window instead of 'other-window when associating
10112 with display-buffer-macro-specifiers.
327c8fb1 10113
7cf3f556
VB
101142011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10115
10116 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10117 New functions.
10118 (5x5-mode-map, 5x5-mode-menu): Bind them.
10119 (5x5-draw-grid): Tweak the solver's rendering.
10120
60a406cf
SM
101212011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10124 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10125
d8e4b68b 101262011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10127
10128 * menu-bar.el: Use function variable instead of switch-to-buffer.
10129 (menu-bar-select-buffer-function): New variable.
60a406cf 10130 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10131
478d6f95
SM
101322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10135 variable's status.
10136
ca530739
JD
101372011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10138
10139 * x-dnd.el (x-dnd-version-from-flags)
10140 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10141 and long as number (Bug#8899).
10142 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10143
bcd70d97
SM
101442011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10145
60a406cf 10146 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10147 (completion-try-completion, completion-all-completions): Compute the
10148 metadata argument if it's missing; make it optional (bug#8795).
10149
60a406cf 10150 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10151 (widget-complete): Use new :completion-function property.
10152 (widget-completions-at-point): New function.
10153 (default): Use :completion-function instead of :complete.
60a406cf
SM
10154 (widget-default-completions): Rename from widget-default-complete;
10155 Rewrite.
bcd70d97
SM
10156 (widget-string-complete, widget-file-complete, widget-color-complete):
10157 Remove functions.
10158 (file, symbol, function, variable, coding-system, color):
10159 * international/mule-cmds.el (default-input-method, charset)
10160 (language-info-custom-alist):
10161 * cus-edit.el (face): Use new property :completions.
10162
10163 * progmodes/pascal.el (pascal-completions-at-point): New function.
10164 (pascal-mode): Use it.
10165 (pascal-mode-map): Use completion-at-point.
10166 (pascal-toggle-completions): Make obsolete.
10167 (pascal-complete-word, pascal-show-completions):
10168 * progmodes/octave-mod.el (octave-complete-symbol):
10169 Redefine as obsolete alias.
10170 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10171 Signal absence of completion info for old Octave,
10172 (inferior-octave-complete): Redefine as obsolete alias.
10173 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10174 (meta-completions-at-point): Rename from meta-complete-symbol and
10175 adapt it for use on completion-at-point-functions.
10176 (meta-common-mode): Use it.
10177 (meta-looking-at-backward, meta-match-buffer): Remove.
10178 (meta-complete-symbol): Redefine as obsolete alias.
10179 (meta-common-mode-map): Use completion-at-point.
10180 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10181 (makefile-mode-map): Use completion-at-point.
10182 (makefile-completions-at-point): Rename from makefile-complete and
10183 adapt it for use on completion-at-point-functions.
10184 (makefile-mode): Use it.
10185 (makefile-complete): Redefine as obsolete alias.
10186
aebf69c8
DD
101872011-06-20 Deniz Dogan <deniz@dogan.se>
10188
10189 * net/rcirc.el: Delete trailing whitespaces once and for all.
10190
bfbbb27d
DC
101912011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10192
10193 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10194
d264a46b
CY
101952011-06-19 Chong Yidong <cyd@stupidchicken.com>
10196
4ca009e5
CY
10197 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10198
d264a46b
CY
10199 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10200
fbf5b3ce
MR
102012011-06-19 Martin Rudalics <rudalics@gmx.at>
10202
10203 * window.el (display-buffer-other-window-means-other-frame):
10204 Call display-buffer-normalize-alist.
10205 (display-buffer-normalize-specifiers-1): Rename to
10206 display-buffer-normalize-argument. New argument other-frame.
10207 Rewrite.
10208 (display-buffer-normalize-specifiers-2): Rename to
10209 display-buffer-normalize-options.
10210 (display-buffer-normalize-alist-1): New function.
10211 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10212 display-buffer-normalize-alist.
10213 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10214 (display-buffer-normalize-options-inhibit): New variable.
10215 (display-buffer-normalize-specifiers): Rewrite calling
10216 display-buffer-normalize-alist,
10217 display-buffer-normalize-argument, and
10218 display-buffer-normalize-options. Don't call the latter if
10219 display-buffer-normalize-options-inhibit is non-nil.
10220 (frame-auto-delete): New option.
10221 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10222 (window-list-no-nils, window-state-ignored-parameters)
10223 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10224 (window-state-put-1, window-state-put-2, window-state-put):
10225 New functions.
9a028c23
MR
10226 (display-buffer-normalize-options): Move special-display-p group
10227 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10228
6d10d800
CY
102292011-06-18 Chong Yidong <cyd@stupidchicken.com>
10230
6420d28b
CY
10231 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10232 groups (Bug#8776).
10233 (rx-submatch-n): New function.
10234 (rx): Document it.
10235
ddb8b596
CY
10236 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10237 (Bug#8768).
10238
10239 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10240
77080289
CY
10241 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10242
61dfb316
CY
10243 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10244 anytime existing face settings are present (Bug#8889).
10245
6d10d800
CY
10246 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10247 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10248 Remove unused argument.
10249
be3fb2b8
MR
102502011-06-18 Martin Rudalics <rudalics@gmx.at>
10251
bcd70d97
SM
10252 * window.el (display-buffer-default-specifiers):
10253 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10254 pop-up-window-min-width, and another reuse-window specifier
10255 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10256 (display-buffer-normalize-specifiers-2):
10257 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10258 pop-up-windows is unset. Add a reuse-window specifier for the
10259 case popping up a new window fails.
10260 (special-display-popup-frame): Remove double quoting.
28dec25a 10261 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10262
1c6d8c76
SM
102632011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10266 according to comint-completion-addsuffix.
10267
10268 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10269 (pcomplete-suffix-list): Mark as obsolete.
10270 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10271 pcomplete-seen in the closure.
10272 (pcomplete-comint-setup): Setup completion-at-point as well.
10273 (pcomplete--entries): New function.
10274 (pcomplete--env-regexp): New var.
10275 (pcomplete-entries): Rewrite to work with partial-completion and
10276 without relying on pcomplete-suffix-list.
10277 (pcomplete-pare-list): Remove, unused.
10278
25aef8b8
MR
102792011-06-17 Martin Rudalics <rudalics@gmx.at>
10280
10281 * window.el (display-buffer-alist): Set pop-up-window-min-height
10282 and pop-up-window-min-width in default value. Reported by
10283 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10284 other-window-means-other-frame.
10285 (display-buffer-macro-specifiers): Comment out entry for
10286 other-window specifier.
10287 (display-buffer-other-window-means-other-frame): New function.
10288 (display-buffer-normalize-specifiers-1): New arguments
10289 buffer-name and label. Treat other-window case specially.
10290 (display-buffer-normalize-specifiers-2): Treat other-window case
10291 specially.
10292 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10293 (display-buffer-normalize-specifiers):
10294 Call display-buffer-normalize-specifiers-3.
25aef8b8 10295
dbad4f69
MR
102962011-06-17 Martin Rudalics <rudalics@gmx.at>
10297
10298 * window.el (same-window-p): Fix two typos introduced when
10299 adding with-no-warnings.
d1067961
MR
10300 (display-buffer-normalize-specifiers-1): Don't check
10301 pop-up-frames for 'unset initialization.
10302 (display-buffer-normalize-specifiers-2): Major rewrite using
10303 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10304 (pop-up-frames, display-buffer-reuse-frames)
10305 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10306 Suggested by David Engster <deng@randomsample.de>.
10307 (even-window-heights): Initialize to 'unset.
10308 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10309 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10310 other window case.
dbad4f69 10311
9b9c9e3a
MR
103122011-06-16 Martin Rudalics <rudalics@gmx.at>
10313
bcd70d97
SM
10314 * window.el (display-buffer-normalize-specifiers-1):
10315 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10316 second argument of display-buffer (Bug#8865).
981d5c09
MR
10317 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10318 (switch-to-buffer-other-window-same-frame)
10319 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10320 Adams (Bug#8875).
9c2755e9
MR
10321 (display-buffer): Don't check noninteractive when calling
10322 display-buffer-pop-up-frame.
10323 (display-buffer-pop-up-frame): Never pop up a frame in
10324 noninteractive mode (Bug#8857).
67222e1d
MR
10325 (enlarge-window, shrink-window): Don't report an error when the
10326 window can't be resized as requested (Bug#8862).
9b9c9e3a 10327
2b75be67
SM
103282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10329
9ffdd3ba
SM
10330 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10331
cb581a67
SM
10332 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10333
2b75be67
SM
10334 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10335
8c0e3589
AM
103362011-06-15 Alan Mackenzie <acm@muc.de>
10337
cb581a67
SM
10338 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10339 for declarators, disable knr checking to speed up for normal files.
10340 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10341
b96e6cde
LMI
103422011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10343
4bba86e6
LMI
10344 * net/network-stream.el (open-network-stream): Add the keyword
10345 :always-query-capabilities for the case where you want to force a
10346 `plain' network connection, but the protocol still requires the
10347 capabilitiy command (i.e., SMTP and EHLO).
10348
2b75be67 10349 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10350 consistency with other `-live-p' functions.
10351
efdcdbf8
SM
103522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * window.el (same-window-buffer-names, same-window-regexps)
10355 (special-display-frame-alist, special-display-popup-frame)
10356 (special-display-function, special-display-buffer-names)
10357 (special-display-regexps, pop-up-frame-alist)
10358 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10359 (pop-up-windows, split-window-preferred-function)
10360 (split-height-threshold, split-width-threshold, even-window-heights)
10361 (display-buffer-mark-dedicated): Don't encourage the use of
10362 display-buffer-alist from Elisp code.
10363
c5cde042
DN
103642011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10365
10366 * progmodes/python.el (python-mode): Derive from prog-mode.
10367 * progmodes/ps-mode.el (ps-mode):
10368 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10369 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10370 * progmodes/ld-script.el (ld-script-mode): Likewise.
10371
baa1c9ab
MR
103722011-06-15 Martin Rudalics <rudalics@gmx.at>
10373
10374 * window.el (display-buffer-alist): Trim default value to avoid
10375 popping up a new frame (Bug#8857) or reusing an arbitrary window
10376 on another frame.
10377 (display-buffer): Do not fall back on popping up a new frame in
10378 batch mode (Bug#8857).
10379
c5dd5a51
CY
103802011-06-14 Chong Yidong <cyd@stupidchicken.com>
10381
10382 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10383 (custom-theme-summary): New function.
10384 (customize-themes): Use it.
10385
d647b7c4
GM
103862011-06-13 Glenn Morris <rgm@gnu.org>
10387
10388 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10389
9481c002
MR
103902011-06-13 Martin Rudalics <rudalics@gmx.at>
10391
357f93d2
MR
10392 * help.el (help-window): Remove variable.
10393 (help-window-point-marker, temp-buffer-max-height)
10394 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10395 (help-print-return-message): Don't set help-window.
10396 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10397 (help-window-setup-finish): Remove.
10398 (help-window-display-message, help-window-setup)
10399 (with-help-window): Major rewrite based on new
10400 display-buffer-window variable.
10401
10402 * help-mode.el (help-mode-finish): Remove help-window related
10403 code.
10404
10405 * view.el (view-exits-all-viewing-windows): Remove reference to
10406 view-return-to-alist in doc-string.
10407 (view-return-to-alist): Make obsolete.
10408 (view-buffer): Call pop-to-buffer-same-window and remove
10409 undo-window code.
10410 (view-buffer-other-window): Call pop-to-buffer-other-window and
10411 simplify code. Ignore second argument.
10412 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10413 simplify code. Ignore second argument.
10414 (view-return-to-alist-update): Make obsolete.
10415 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10416 Rewrite using quit-restore window parameters.
2b75be67
SM
10417 (view-mode-exit): Rename second argument to EXIT-ONLY.
10418 Rewrite using quit-restore-window.
357f93d2
MR
10419 (View-exit, View-exit-and-edit, View-leave, View-quit)
10420 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10421 appropriate arguments.
10422 (view-end-message): Use quit-restore window parameter.
10423
9481c002
MR
10424 * window.el (display-buffer-function): Rewrite doc-string.
10425 (display-buffer-window, display-buffer-alist): New variables.
10426 (display-buffer-split-specifiers)
10427 (display-buffer-side-specifiers)
10428 (display-buffer-macro-specifiers): New constants.
10429 (display-buffer-even-window-sizes, display-buffer-set-height)
10430 (display-buffer-set-width, display-buffer-select-window)
10431 (display-buffer-in-window, display-buffer-reuse-window)
10432 (display-buffer-split-window-1, display-buffer-split-window)
10433 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10434 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10435 (display-buffer-in-side-window, normalize-buffer-to-display)
10436 (display-buffer-normalize-specifiers-1)
10437 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10438 (display-buffer-normalize-specifiers, display-buffer-frame):
10439 New functions.
9481c002
MR
10440 (display-buffer): Major rewrite.
10441 (display-buffer-other-window, display-buffer-other-frame)
10442 (pop-to-buffer, switch-to-buffer-other-window)
10443 (switch-to-buffer-other-frame): Rewrite.
10444 (display-buffer-same-window, display-buffer-same-frame)
10445 (display-buffer-same-frame-other-window)
10446 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10447 (pop-to-buffer-other-window)
10448 (pop-to-buffer-same-frame-other-window)
10449 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10450 (switch-to-buffer-other-window-same-frame): New functions.
10451 (same-window-p, special-display-p): Rewrite disabling warnings.
10452 Make obsolete.
10453 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10454 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10455 Make obsolete
10456 (same-window-buffer-names, same-window-regexps)
10457 (special-display-frame-alist, special-display-popup-frame)
10458 (special-display-function, special-display-buffer-names)
10459 (special-display-regexps, pop-up-frame-alist)
10460 (pop-up-frame-function, split-window-preferred-function)
10461 (split-height-threshold, split-width-threshold)
10462 (even-window-heights): Make obsolete.
10463
9db51aca
GM
104642011-06-12 Glenn Morris <rgm@gnu.org>
10465
10466 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10467 Misc simplifications.
9db51aca 10468
39cffb44
MR
104692011-06-12 Martin Rudalics <rudalics@gmx.at>
10470
10471 * window.el (window-safely-shrinkable-p): Restore function which
10472 was inadvertently removed in change from 2011-06-11. Declare as
10473 obsolete.
10474
2b75be67
SM
10475 * calendar/calendar.el (calendar-generate-window):
10476 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10477 window-safely-shrinkable-p.
10478
a8955be7
GM
104792011-06-12 Glenn Morris <rgm@gnu.org>
10480
10481 * progmodes/fortran.el (fortran-mode-syntax-table):
10482 * progmodes/f90.el (f90-mode-syntax-table):
10483 Set % to punctuation. (Bug#8820)
10484 (f90-find-tag-default): Remove, no longer needed.
10485
f0d4059d
DC
104862011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10487
10488 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10489
1100a63c
CY
104902011-06-11 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * image.el (image-animated-p): Return animation delay in seconds.
10493 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10494 (image-animate-timeout): Remove DELAY argument. Don't assume
10495 every subimage has the same delay; get it from image-animated-p.
10496 (image-animate): Caller changed.
10497
def722bf
MA
104982011-06-11 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10501 to ignored backtrace functions.
10502
0a2bb1a9
GM
105032011-06-11 Glenn Morris <rgm@gnu.org>
10504
10505 * calendar/appt.el (appt-disp-window-function): Doc fix.
10506 (appt-check): Handle overlapping appointments. (Bug#8337)
10507
6198ccd0
MR
105082011-06-11 Martin Rudalics <rudalics@gmx.at>
10509
10510 * window.el (window-tree-1, window-tree): New functions, moving
10511 the latter to window.el.
10512 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10513 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10514 (bw-refresh-edges): Remove.
10515 (balance-windows-1, balance-windows-2): New functions.
10516 (balance-windows): Rewrite in terms of window tree functions,
10517 balance-windows-1 and balance-windows-2.
10518 (bw-adjust-window): Remove.
10519 (balance-windows-area-adjust): New function with functionality of
10520 bw-adjust-window but using resize-window.
2b75be67
SM
10521 (set-window-text-height): Rewrite doc-string.
10522 Use normalize-live-window and resize-window.
10523 (enlarge-window-horizontally, shrink-window-horizontally):
10524 Rename argument to DELTA.
6198ccd0
MR
10525 (window-buffer-height): New function.
10526 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10527 Rewrite using new window resize routines.
2b75be67
SM
10528 (kill-buffer-and-window, mouse-autoselect-window-select):
10529 Use ignore-errors instead of condition-case.
6198ccd0
MR
10530 (quit-window): Call delete-frame instead of delete-windows-on
10531 for the only buffer on frame.
10532
9397e56f
MR
105332011-06-10 Martin Rudalics <rudalics@gmx.at>
10534
10535 * loadup.el (top-level): Load window before files for the sake
10536 of replace-buffer-in-windows.
10537
10538 * files.el (read-buffer-to-switch)
10539 (switch-to-buffer-other-window)
2b75be67
SM
10540 (switch-to-buffer-other-frame, display-buffer-other-frame):
10541 Move to window.el.
9397e56f
MR
10542
10543 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10544 (previous-buffer): Move to window.el.
10545
10546 * bindings.el (unbury-buffer): Move to window.el.
10547
10548 * window.el (delete-other-windows-vertically): Move after
10549 definition of delete-other-windows.
10550 (other-window, delete-windows-on, replace-buffer-in-windows):
10551 Move here from window.c.
10552 (record-window-buffer, unrecord-window-buffer)
10553 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10554 (switch-to-next-buffer): New functions.
10555 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10556 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10557 (previous-buffer): Move here from simple.el.
10558 Call switch-to-prev-buffer.
9397e56f
MR
10559 (bury-buffer): Move here from buffer.c. Switch to previous
10560 buffer when window cannot be deleted.
10561 (unbury-buffer): Move here from bindings.el.
10562 (ctl-x-map): Move binding for other-window from window.c to
10563 here.
10564 (read-buffer-to-switch, switch-to-buffer-other-window)
10565 (switch-to-buffer-other-frame): Move here from files.el.
10566 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10567 (switch-to-buffer): Move here from buffer.c.
10568 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10569
562dd5e9
MR
105702011-06-10 Martin Rudalics <rudalics@gmx.at>
10571
10572 * window.el (window-min-height, window-min-width): Move here
10573 from window.c. Add defcustoms and rewrite doc-strings.
10574 (resize-mini-window, resize-window): New functions.
10575 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10576 Move here from window.c.
10577 (maximize-window, minimize-window): New functions.
10578 (delete-window, delete-other-windows, split-window): Move here
10579 from window.c.
10580 (window-split-min-size): New function.
10581 (split-window-keep-point): Mention split-window-above-each-other
10582 instead of split-window-vertically.
2b75be67 10583 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10584 Rename split-window-vertically to split-window-above-each-other
10585 and provide defalias for old definition.
10586 (split-window-side-by-side, split-window-horizontally):
10587 Rename split-window-horizontally to split-window-side-by-side
10588 and provide defalias for the old definition.
562dd5e9
MR
10589 (ctl-x-map): Move bindings for delete-window,
10590 delete-other-windows and enlarge-window here from window.c.
10591 Replace bindings for split-window-vertically and
10592 split-window-horizontally by bindings for
10593 split-window-above-each-other and split-window-side-by-side.
10594
10595 * cus-start.el (all): Remove entries for window-min-height and
10596 window-min-width. Add entries for window-splits and
10597 window-nest.
10598
f0da764a
GM
105992011-06-09 Glenn Morris <rgm@gnu.org>
10600
80675c21
GM
10601 * calendar/appt.el (appt-mode-line): New function.
10602 (appt-check, appt-disp-window): Use it.
10603
f0da764a
GM
10604 * files.el (hack-one-local-variable-eval-safep):
10605 Allow minor-modes with explicit +/-1 arguments.
10606
59f623b7
TZ
106072011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10608
10609 * term/xterm.el (xterm): Add defgroup.
10610 (xterm-extra-capabilities): Add defcustom to supply known xterm
10611 capabilities, skip querying them, or query them (default).
10612 (terminal-init-xterm): Use it.
10613 (terminal-init-xterm-modify-other-keys): New function to set up
10614 modifyOtherKeys support to simplify `terminal-init-xterm'.
10615
9aab8e0d
MR
106162011-06-09 Martin Rudalics <rudalics@gmx.at>
10617
10618 * window.el (resize-window-reset, resize-window-reset-1)
10619 (resize-subwindows-skip-p, resize-subwindows-normal)
10620 (resize-subwindows, resize-other-windows, resize-this-window)
10621 (resize-root-window, resize-root-window-vertically)
10622 (window-deletable-p, window-or-subwindow-p)
10623 (frame-root-window-p): New functions.
10624
e8b08aee
GM
106252011-06-09 Glenn Morris <rgm@gnu.org>
10626
10627 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10628 (ange-ftp-get-files): Use it.
10629
254c37a5
AK
106302011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10631
10632 * mail/sendmail.el (mail-recover-1, mail-recover):
10633 * files.el (recover-file, recover-session):
10634 Handle dired-listing-switches not being just a single short option.
10635
35d7dbd3
GM
106362011-06-09 Glenn Morris <rgm@gnu.org>
10637
10638 * calendar/appt.el (appt-display-message, appt-disp-window):
10639 Handle lists of appointments.
10640
387522b2
MR
106412011-06-08 Martin Rudalics <rudalics@gmx.at>
10642
2b75be67
SM
10643 * window.el (one-window-p): Move down in code.
10644 Rewrite doc-string.
10645 (window-current-scroll-bars): Rewrite doc-string.
10646 Normalize live window argument.
387522b2
MR
10647 (walk-windows, get-window-with-predicate, count-windows):
10648 Rewrite doc-string. Use window-list-1.
10649 (window-in-direction-2, window-in-direction, get-mru-window):
10650 New functions.
10651
d8e4b68b 106522011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10653
10654 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10655 Doc fix (Bug#8713).
10656
106572011-06-08 Chong Yidong <cyd@stupidchicken.com>
10658
10659 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10660
106612011-06-08 Juanma Barranquero <lekktu@gmail.com>
10662
10663 * loadhist.el (unload-feature-special-hooks):
10664 Add `comint-output-filter-functions'.
10665
0de12c52
IK
106662011-06-08 Ivan Kanis <gnu@kanis.fr>
10667
10668 * calendar/appt.el (appt-check): Move some initializations into the let.
10669
f3d1777e
MR
106702011-06-08 Martin Rudalics <rudalics@gmx.at>
10671
10672 * window.el (window-height): Defalias to window-total-height.
10673 (window-width): Defalias to window-body-width.
10674
18af70d0
CY
106752011-06-07 Chong Yidong <cyd@stupidchicken.com>
10676
10677 * image-mode.el (image-toggle-animation): New command.
10678 (image-mode-map): Bind it to RET.
10679 (image-mode): Update message.
10680 (image-toggle-display-image): Avoid a spurious cache flush.
10681 (image-transform-rotation): Doc fix.
10682 (image-transform-properties): Return quickly in the normal case.
10683 (image-animate-loop): Rename from image-animate-max-time.
10684
2b75be67 10685 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10686 (create-animated-image): Remove unnecessary function.
10687 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10688 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10689 (image-animate-timer): Use car-safe.
10690 (image-animate-timeout): Rename argument.
10691
190b47e6
MR
106922011-06-07 Martin Rudalics <rudalics@gmx.at>
10693
10694 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10695 window.c. Rename first argument to ALL-FRAMES.
10696 Rephrase doc-strings.
10697 (get-buffer-window-list): Rewrite using window-list-1.
10698 Rephrase doc-string.
a1511caf
MR
10699 (window-safe-min-height, window-safe-min-width): New constants.
10700 (window-size-ignore, window-min-size, window-min-size-1)
10701 (window-sizable, window-sizable-p, window-size-fixed-1)
10702 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10703 (window-max-delta-1, window-max-delta, window-resizable)
10704 (window-resizable-p, window-total-height, window-total-width)
10705 (window-body-width): New functions.
10706 (window-full-height-p, window-full-width-p): Rewrite using
10707 window-total-size.
10708 (window-body-height): Rewrite using window-body-size.
190b47e6 10709
85cc1f11
MR
107102011-06-06 Martin Rudalics <rudalics@gmx.at>
10711
10712 * window.el (window-right, window-left, window-child)
10713 (window-child-count, window-last-child, window-any-p)
10714 (normalize-live-buffer, normalize-live-frame)
10715 (normalize-any-window, normalize-live-window)
10716 (window-iso-combination-p, window-iso-combined-p)
10717 (window-iso-combinations)
10718 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10719 (windows-with-parameter, window-with-parameter)
10720 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10721 (window-atom-check, window-side-check, window-check):
10722 New functions.
85cc1f11
MR
10723 (ignore-window-parameters, window-sides, window-sides-vertical)
10724 (window-sides-slots): New variables.
10725 (window-size-fixed): Move down in code. Minor doc-string fix.
10726
e7156492
AS
107272011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10728
10729 * comint.el (comint-dynamic-complete-as-filename)
10730 (comint-dynamic-complete-filename): Correctly call
10731 completion-in-region.
10732
7e821d0d
DD
107332011-06-05 Deniz Dogan <deniz@dogan.se>
10734
10735 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10736 in last change.
10737
ac09b8a1
DD
107382011-06-05 Deniz Dogan <deniz@dogan.se>
10739
10740 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10741 (rcirc): Use it to prompt for encryption.
10742
34699b85
RW
107432011-06-05 Roland Winkler <winkler@gnu.org>
10744
10745 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10746 (bibtex-search-entries): New command bound to C-c C-a.
10747 (bibtex-display-entries): New function.
10748
004dedd3
RW
107492011-06-05 Roland Winkler <winkler@gnu.org>
10750
10751 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10752 (bibtex-insert-kill): After yanking insert newline if necessary.
10753 (bibtex-initialize): Call bibtex-string-files-init only once.
10754 (bibtex-mode): Do not call easy-menu-add.
10755 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10756 (bibtex-yank): Set arg properly if nil.
10757
022fe7ce
RW
107582011-06-05 Roland Winkler <winkler@gnu.org>
10759
2b75be67
SM
10760 * textmodes/bibtex.el (bibtex-search-entry-globally):
10761 New variable.
022fe7ce
RW
10762 (bibtex-search-entry): Use it.
10763
b7c3692a
RW
107642011-06-05 Roland Winkler <winkler@gnu.org>
10765
10766 * textmodes/bibtex.el (bibtex-entry-format): New option
10767 sort-fields.
10768 (bibtex-format-entry, bibtex-reformat): Honor this option.
10769 (bibtex-parse-entry): Return fields in proper order.
10770
8eda563d
JB
107712011-06-05 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * doc-view.el (doc-view-remove-if): Move computation of result out
10774 of `dolist' to silence misleading lexical-binding warning.
10775
7dbe3dbc
CY
107762011-06-04 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10779 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10780
0c33dd17
MA
107812011-06-04 Michael Albinus <michael.albinus@gmx.de>
10782
10783 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10784 "SunOS 5.10".
10785
f8f91c2b
MA
107862011-06-04 Michael Albinus <michael.albinus@gmx.de>
10787
10788 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10789 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10790 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10791 (tramp-parse-putty):
10792 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10793 (tramp-completion-function-alist-ssh)
10794 (tramp-completion-function-alist-telnet)
10795 (tramp-completion-function-alist-su)
10796 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10797 cookie.
10798
10799 * net/tramp-ftp.el:
10800 * net/tramp-sh.el:
10801 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10802 load "tramp.el" `tramp-set-completion-function'.
10803
e17d9003
SM
108042011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * shell.el: Require and use pcomplete.
10807 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10808 (shell-completion-vars): Set pcomplete-default-completion-function.
10809
6c4cab03
DD
108102011-06-04 Deniz Dogan <deniz@dogan.se>
10811
10812 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10813 `memq' (Bug#8799).
10814
ea9fafe0
SM
108152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10818
b3e945d3
JB
108192011-06-02 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10822 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10823 * vc/log-view.el (log-view-beginning-of-defun):
10824 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10825 (smerge-refine-forward, smerge-refine-chopup-region):
10826 Silence warning for unused `dotimes' counter variables.
10827
7d520089
SM
108282011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * net/tramp.el (tramp-with-progress-reporter): Rename from
10831 with-progress-reporter. Use `declare'.
10832 * net/tramp-smb.el:
10833 * net/tramp-sh.el:
10834 * net/tramp-gvfs.el: Update all uses.
10835
a1c2400f
JB
108362011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10837
10838 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10839 buffer isn't killed before making it current.
10840
2403c841
SM
108412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 Silence various byte-compiler warnings.
10844 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10845 `access-type' and new obsolescence format.
10846 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10847 new format.
10848 (byte-compile-check-variable): New `access-type' argument.
10849 Only warn if the access-type is obsolete.
10850 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10851 (byte-compile-variable-set): Adjust callers.
10852 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10853 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10854 setting it as obsolete.
10855 * simple.el (minibuffer-completing-symbol):
10856 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10857 access as obsolete.
10858 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10859 obsolete yet.
10860 * international/quail.el (quail-mouse-choose-completion): Remove unused
10861 code referring to obsolete var.
10862 (quail-choose-completion-string): Remove.
10863 * server.el (server-clients-with, server-kill-buffer-query-function)
10864 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10865 * proced.el (proced-send-signal):
10866 * emacs-lisp/lisp.el (lisp-complete-symbol):
10867 Replace completion-annotate-function with completion-extra-properties.
10868
2462470b
SM
108692011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10870
fb5b2591
SM
10871 * simple.el (goto-line): Use read-number.
10872 (overriding-map-is-bound): Remove.
10873 (saved-overriding-map): Change default.
10874 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10875 Take the map as argument.
10876 (universal-argument, negative-argument, digit-argument): Use it.
10877 (restore-overriding-map): Adjust.
10878 (do-auto-fill): Use fill-forward-paragraph.
10879 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10880
fd6fa53f
SM
10881 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10882 (minibuffer-inactive-mode): New major mode.
10883 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10884 the *Messages* buffer" hack.
10885 (mouse-popup-menubar): Don't burp if the event is a normal key.
10886
2462470b
SM
10887 Miscellaneous tweaks.
10888 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10889 lexical scoping as in subr.el's dolist and dotimes.
10890 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10891 Silence compiler warning.
10892 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10893 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10894 * international/ccl.el (ccl-compile): Trivial simplification.
10895 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10896 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10897 `printflag' argument.
10898 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10899 Purecopy the whole obsolescence data.
10900
108bf785
LL
109012011-06-01 Leo Liu <sdl.web@gmail.com>
10902
10903 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10904 improve doc-string as suggested by Marco Pessotto
10905 <melmothx@gmail.com>.
10906 (rcirc-print): Fix last change.
10907
30a23501
SM
109082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * minibuffer.el (complete-with-action): Return nil for the metadata and
10911 boundaries of non-functional tables.
10912 (completion-table-dynamic): Return nil for the metadata.
10913 (completion-table-with-terminator): Add default case, using
10914 complete-with-action.
10915 (completion--metadata): New function.
10916 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10917 to try and avoid pathological performance problems.
10918 (completion--embedded-envvar-table): Return `category' metadata.
10919
bcd54f83
LMI
109202011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10921
10922 * subr.el (process-alive-p): New tiny convenience function.
10923
e227544d
SM
109242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10925
10926 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10927 content but also its previous major mode.
10928
e8296fdc
HE
109292011-05-31 Helmut Eller <eller.helmut@gmail.com>
10930
4d61f28d 10931 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10932 *Backtrace* buffer when we exit with C-M-c.
10933
620c53a6
SM
109342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * minibuffer.el: Add metadata method to completion tables.
10937 (completion-category-overrides): New defcustom.
10938 (completion-metadata, completion--field-metadata)
10939 (completion-metadata-get, completion--styles)
10940 (completion--cycle-threshold): New functions.
10941 (completion-try-completion, completion-all-completions):
10942 Add `metadata' argument to choose completion-styles.
10943 (completion--do-completion): Use metadata to choose cycling.
10944 (completion-all-sorted-completions): Use metadata for sorting.
10945 Remove :completion-cycle-penalty which is not needed any more.
10946 (completion--try-word-completion): Add `metadata' argument.
10947 (minibuffer-completion-help): Check metadata for annotation function
10948 and sorting.
10949 (completion-file-name-table): Return `category' metadata.
10950 (minibuffer-completing-file-name): Make obsolete.
10951 * simple.el (minibuffer-completing-symbol): Make obsolete.
10952 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10953 completion-try-completion.
10954
1257e755
SM
109552011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10958
3767e706
LL
109592011-05-30 Leo Liu <sdl.web@gmail.com>
10960
10961 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10962 (rcirc-print): Decode all incoming messages (bug#8744).
10963 (rcirc-decode-coding-system): Allow value nil for automatic coding
10964 system detection.
3767e706 10965
d1a5d56a
GM
109662011-06-01 Glenn Morris <rgm@gnu.org>
10967
10968 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10969
e8cbec34
CY
109702011-05-29 Chong Yidong <cyd@stupidchicken.com>
10971
10972 * image.el (image-animate-max-time): Allow nil and t values.
10973 Default to nil.
10974 (create-animated-image): Doc fix.
10975 (image-animate-start): Remove second arg; just use
10976 image-animate-max-time.
10977 (image-animate-timeout): Doc fix. Args changed.
10978
10979 * image-mode.el (image-toggle-display-image): Ensure that the
10980 image spec passed to the animate timer is the same object as in
58179cce 10981 the buffer's display property (Bug#6981).
e8cbec34
CY
10982 (image-transform-properties): Doc fix.
10983
10984 * image.el (image-animate-max-time): Default to nil.
10985
159daf87
MR
109862011-05-29 Martin Rudalics <rudalics@gmx.at>
10987
10988 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10989 entire buffer list (Bug#8184).
10990
d66c4c7c
CY
109912011-05-29 Chong Yidong <cyd@stupidchicken.com>
10992
10993 * image.el (imagemagick-types-inhibit)
10994 (imagemagick-register-types): Doc fix.
10995
80aec780
DD
109962011-05-29 Deniz Dogan <deniz@dogan.se>
10997
10998 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10999 default.
11000
1dd3c2d9
CY
110012011-05-29 Chong Yidong <cyd@stupidchicken.com>
11002
11003 * select.el: Don't perform clipboard-manager saving in hooks;
11004 leave the hooks empty.
11005
60e56523
LL
110062011-05-28 Leo Liu <sdl.web@gmail.com>
11007
11008 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11009 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11010 (occur-edit-mode): New major mode (Bug#8463).
11011 (occur-after-change-function): New function.
11012 (occur-engine): Give Occur tags a read-only property.
11013
2b1e1a22
KR
110142011-05-28 Kevin Ryde <user42@zip.com.au>
11015
11016 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11017
5d344e88
CY
110182011-05-28 Chong Yidong <cyd@stupidchicken.com>
11019
8e6ca83d
CY
11020 * bindings.el (help-echo): Make the initial non-indicator dash
11021 empty on graphical terminals (Bug#7295).
11022
5d344e88
CY
11023 * files.el (auto-mode-alist): Move config rule after the
11024 in-stripping one (Bug#8547).
11025
bfbbace7
CY
11026 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11027
fbeba6e2
CY
11028 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11029 setting (Bug#8740).
11030
60ed8c72
AA
110312011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11032
4ac619f0
AA
11033 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11034 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11035 (Bug#8539).
60ed8c72 11036
23db196e
CY
110372011-05-28 Chong Yidong <cyd@stupidchicken.com>
11038
11039 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11040
5012f24c
DK
110412011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11042
11043 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11044 (hs-hide-block-at-point, hs-find-block-beginning)
11045 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11046 (Bug#8279).
11047
6a639b16
GM
110482011-05-28 Glenn Morris <rgm@gnu.org>
11049
11050 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11051
d43eaf2c
CY
110522011-05-28 Chong Yidong <cyd@stupidchicken.com>
11053
5199bde1
CY
11054 * help-fns.el (describe-function-1): If the function is a derived
11055 major mode, print the parent mode.
11056
d43eaf2c
CY
11057 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11058 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11059
423428a8
SM
110602011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11061
0ff8e1ba 11062 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11063 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11064 * progmodes/etags.el (tags-completion-at-point-function):
11065 * info-look.el (info-lookup-completions-at-point): Mark as
11066 non-exclusive.
11067 (info-complete): Adjust accordingly.
11068
423428a8
SM
11069 * info-look.el: Convert to lexical-binding and completion-at-point.
11070 (info-lookup-completions-at-point): New function.
11071 (info-complete): Use it and completion-in-region.
11072
b74aa22b
DA
110732011-05-28 Drew Adams <drew.adams@oracle.com>
11074
11075 * isearch.el: Let M-e start with point at the first mismatched char.
11076 (isearch-fail-pos): New function.
11077 (isearch-edit-string): Use it.
11078
66e2e71d
DK
110792011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11080
11081 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11082
b1890b0f 110832011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11084
11085 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11086 traversal functions for avl-trees.
11087 (avl-tree--stack): New struct.
11088 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11089 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11090 (avl-tree--do-enter): Add optional `updatefun' arg.
11091 Change return value.
eb95d01d 11092 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11093 (avl-tree--do-delete): Add `test' and `nilflag' args.
11094 Change return value.
eb95d01d
TC
11095 (avl-tree-member): Add optional `nilflag'
11096 (avl-tree-member-p): New function.
11097 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11098 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11099 (avl-tree-stack-empty-p): New functions.
11100
3769ddcf
TC
11101 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11102 avl-tree--del-balance1 and make it work both ways.
11103 (avl-tree--del-balance2): Remove.
11104 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11105 make it work both ways.
11106 (avl-tree--enter-balance2): Remove.
11107 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11108 New macros.
11109 (avl-tree--mapc, avl-tree-map): Add direction argument.
11110
eb95d01d 111112011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11112
11113 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11114
a9f737ee
CY
111152011-05-27 Chong Yidong <cyd@stupidchicken.com>
11116
11117 * select.el: Support clipboard managers with built-in function
11118 x-clipboard-manager-save, via delete-frame-functions and
11119 kill-emacs-hook.
11120 (xselect-convert-to-targets): Add MULTIPLE target to list.
11121 (xselect-convert-to-save-targets): New function.
11122
c92a1e54
KH
111232011-05-27 Kenichi Handa <handa@m17n.org>
11124
11125 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11126 let-binding rfc2047-encode-encoded-words to nil.
11127
e145f188
GM
111282011-05-27 Glenn Morris <rgm@gnu.org>
11129
5ec8a862
GM
11130 * mail/emacsbug.el: Don't require url-util.
11131
4b29d9fb
GM
11132 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11133
e145f188
GM
11134 * files.el (set-auto-mode):
11135 Also respect mode: entries at the end of the file. (Bug#8586)
11136
7d15102b
GM
111372011-05-26 Glenn Morris <rgm@gnu.org>
11138
98f593b8
GM
11139 * files.el (hack-local-variables-prop-line, hack-local-variables):
11140 Downcase mode names, as seems to be traditional.
27b48e63 11141 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11142
7d15102b
GM
11143 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11144 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11145
51d5b4ec
JD
111462011-05-25 Julien Danjou <julien@danjou.info>
11147
11148 * textmodes/rst.el (rst-define-level-faces): Do not define face
11149 symbol if it is already defined.
11150
91513f63
VB
111512011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11152
11153 * play/5x5.el (5x5-new-game, 5x5-randomize):
11154 Reset 5x5-solver-output to nil when a new grid is cast.
11155 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11156 these debugging traces, as defmacro breaks the compiled code.
11157
4d90d6d0
DK
111582011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11159
11160 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11161
e1b90ef6
LL
111622011-05-24 Leo Liu <sdl.web@gmail.com>
11163
11164 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11165 (vc-bzr-sha1): Adapt.
11166
d8e4b68b 11167 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11168
11169 * bindings.el: Provide sha1 feature.
11170
db0406bb 111712011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11172
11173 * mail/sendmail.el: Require `rfc2047'.
11174 (mail-insert-from-field): Do not perform RFC2047 encoding.
11175 (mail-encode-header): New function.
11176 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11177 buffer to the return value of select-message-coding-system.
11178 Call mail-encode-header.
b8d747b9
KH
11179
11180 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11181
db0406bb 111822011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11183
4d90d6d0
DK
11184 * mail/supercite.el (sc-default-cite-frame):
11185 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11186
eb8a5e9b
GM
111872011-05-24 Glenn Morris <rgm@gnu.org>
11188
f8630703
GM
11189 * progmodes/python.el (brm-menu): Declare.
11190
8831bbed
GM
11191 * emulation/viper.el (viper-set-hooks): Declare.
11192
eb8a5e9b
GM
11193 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11194 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11195 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11196 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11197 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11198 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11199
a2a25d24
SM
112002011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 Add an :exit-function for completion-at-point.
11203
11204 * minibuffer.el (completion--done): New fun.
11205 (completion--do-completion): Use it. New arg `expect-exact'.
11206 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11207 since completion--do-completion does it for us now.
11208 (minibuffer-force-complete): Use completion--done and
11209 completion--replace. Handle sole-completion case with more care.
11210 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11211 (completion-extra-properties): New var.
11212 (completion-annotate-function): Make obsolete.
11213 (minibuffer-completion-help): Adjust accordingly.
11214 Use completion-list-insert-choice-function.
11215 (completion-at-point, completion-help-at-point):
11216 Bind completion-extra-properties.
11217 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11218 * simple.el (completion-list-insert-choice-function): New var.
11219 (completion-setup-function): Preserve it.
11220 (choose-completion): Pay attention to it, shuffle the code a bit.
11221 (choose-completion-string): New arg `insert-function'.
11222
11223 * textmodes/bibtex.el: Convert to lexical binding.
11224 (bibtex-mode-map): Use completion-at-point.
11225 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11226 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11227 (bibtex-complete): Define as obsolete alias.
11228 (bibtex-complete-internal): Remove.
11229 (bibtex-format-entry): Remove unused sub-group in regexp.
11230 * shell.el (shell--command-completion-data)
11231 (shell-environment-variable-completion):
11232 * pcomplete.el (pcomplete-completions-at-point):
11233 * comint.el (comint--complete-file-name-data): Use :exit-function
11234 instead of completion-table-with-terminator so it also works for
11235 choose-completion.
11236
e44e373d
SM
112372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11238
4f91a816
SM
11239 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11240
782fc819
SM
11241 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11242 (bug#8710).
11243
e44e373d
SM
11244 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11245
381987c3
KM
112462011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11247
11248 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11249 customization variable and implement: If non-nil, auto-fill will
11250 be inhibited while on topic's header line.
11251
b776bc70
VB
112522011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11253
11254 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11255 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11256 always have a solution in grid size = 5 cases.
11257 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11258 (5x5-solver-output, 5x5-log-buffer): New vars.
11259 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11260 Make these variables buffer local to achieve 5x5 multi-session-ness.
11261 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11262 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11263 (5x5-solve-suggest): New funs.
11264 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11265 randomize a grid so that we ensure that there is always a solution.
11266 (5x5-make-random-grid): Allow other movement than flipping.
11267
7de88b6e
KR
112682011-05-23 Kevin Ryde <user42@zip.com.au>
11269
11270 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11271 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11272 advice and passes PREDICATE.
11273
b1ef1257
SM
112742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11275
bbca48fe
SM
11276 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11277 byte-compile-lambda if it's actually a lambda.
11278
b1ef1257
SM
11279 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11280 Fix function quoting. Use backquote better.
11281
92a9cc65
YS
112822011-05-22 Yuanle Song <sylecn@gmail.com>
11283
11284 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11285 matching (Bug#8516).
11286
f0fb8059
JA
112872011-01-22 Jari Aalto <jari.aalto@cante.net>
11288
11289 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11290 different face (Bug#8178).
11291
d5b44c93
CY
112922011-05-22 Chong Yidong <cyd@stupidchicken.com>
11293
11294 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11295 defface (Bug#8144).
11296
79106a44
SM
112972011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11298
9c848d8a
SM
11299 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11300 funcall as well (bug#8712). Warn when performing those conversions.
11301 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11302
79106a44
SM
11303 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11304
88dfa756
GM
113052011-05-22 Glenn Morris <rgm@gnu.org>
11306
11307 * files.el (hack-local-variables-prop-line): Small simplifications.
11308 (hack-local-variables, hack-local-variables-prop-line):
11309 If MODE-ONLY, return the mode, rather than just `t'.
11310
b7cf2c79
SM
113112011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11314
3f1a8558
GM
113152011-05-21 Glenn Morris <rgm@gnu.org>
11316
7e4ccca3
GM
11317 * files.el (hack-local-variables-prop-line, hack-local-variables):
11318 If only interested in the mode, don't bother doing the other stuff.
11319
637d46ca
GM
11320 * image-mode.el (image-after-revert-hook):
11321 Redraw all frames on which the image is visible. (Bug#8567)
11322
973d955b
GM
11323 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11324
3f1a8558
GM
11325 * wid-edit.el (widget-checklist-match-inline):
11326 Fix 2011-04-19 change. (Bug#8649)
11327
96479927
SM
113282011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11329
1dcf791f
SM
11330 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11331 Also allow singlespace after single-letter capitals followed by a dot.
11332
96479927
SM
11333 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11334 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11335
35fd0881
N
113362011-05-20 Nix <nix@esperi.org.uk>
11337
11338 * files.el (basic-save-buffer-2):
11339 Fix handling of break-hardlink-on-save with non-existent files.
11340
82745640
DD
113412011-05-19 Deniz Dogan <deniz@dogan.se>
11342
11343 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11344 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11345
4a720484
GM
113462011-05-19 Glenn Morris <rgm@gnu.org>
11347
d1f21341
GM
11348 * progmodes/f90.el (f90-type-def-re):
11349 Handle "type, bind(c)". (Bug#8691)
11350
4a720484
GM
11351 * emacs-lisp/autoload.el (batch-update-autoloads):
11352 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11353
2fb0a219
MA
113542011-05-18 Michael Albinus <michael.albinus@gmx.de>
11355
11356 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11357 property for the correct connection in case of multihops.
11358
e565dd37
GM
113592011-05-18 Glenn Morris <rgm@gnu.org>
11360
c2571358 11361 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11362 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11363
e565dd37
GM
11364 Rationalize calendar handling of day and month abbrev-arrays.
11365 * calendar/calendar.el (calendar-customized-p): New function.
11366 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11367 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11368 Add :set function.
11369 (calendar-abbrev-length, calendar-day-abbrev-array)
11370 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11371 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11372 Elements may no longer be nil.
11373 (calendar-day-name, calendar-month-name):
11374 Update for changed nature of abbrev arrays.
11375 * calendar/diary-lib.el (diary-name-pattern):
11376 Update for changed nature of abbrev arrays.
11377 (diary-mark-entries-1): Update calendar-make-alist calls.
11378 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11379 * calendar/cal-html.el (cal-html-day-abbrev-array):
11380 Simply inherit from calendar-day-abbrev-array.
11381
1d99a745
SM
113822011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * progmodes/grep.el (grep-mode): Disable default
11385 compilation-directory-matcher setting (bug#8684).
11386
7c1d9aa0
MA
113872011-05-17 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11390 instead of "head" and "tail". There were problems with SunOS 5.9,
11391 and it performs better.
11392
3952e9d8
GM
113932011-05-17 Glenn Morris <rgm@gnu.org>
11394
2dd12e7f
GM
11395 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11396
e4157b9c
GM
11397 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11398 Replace obsolete function.
11399
8e249bbd
GM
11400 * shell.el (pcomplete-parse-arguments-function): Declare.
11401
3952e9d8
GM
11402 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11403 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11404 (appt-check): Doc fixes.
11405 (appt-disp-window-function, appt-delete-window-function):
11406 Remove needless special case in custom :type.
11407 (appt-display-count): Default to 0, not nil.
11408 (appt-check): Reset appt-display-count to 0, not nil.
11409
c71a0d48 114102011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11411
c71a0d48
GM
11412 * progmodes/python.el (python-font-lock-keywords):
11413 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11414
31d55be9
SM
114152011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11418
3bfacb2f
KR
114192011-05-16 Kevin Ryde <user42@zip.com.au>
11420
11421 * info-look.el (makefile-automake-mode): New setups, looking in
11422 automake manual, then makefile-mode.
11423 (makefile-mode): Remove automake manual, have it just in
11424 makefile-automake-mode since there's various things different or
11425 not relevant to plain make.
11426 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11427 believe a hypothetical automake-mode would go to makefile-mode,
11428 not the other way around.
11429
c8e83751
CY
114302011-05-15 Chong Yidong <cyd@stupidchicken.com>
11431
5e9e35cd
CY
11432 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11433 hunk-end tags (Bug#8672).
11434
c8e83751
CY
11435 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11436 vc-annotate-show-diff-revision-at-line (Bug#8671).
11437
50b23e5a
GM
114382011-05-14 Glenn Morris <rgm@gnu.org>
11439
7210a739
GM
11440 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11441 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11442 (change-log-font-lock-keywords): Also handle multiple author lines
11443 with leading tabs. (Bug#8644)
7210a739 11444
4691905a
GM
11445 * calendar/appt.el (appt-check): Rename some local variables.
11446 Some simplification/reordering.
11447
50b23e5a
GM
11448 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11449 (feedmail-sendmail-f-doesnt-sell-me-out)
11450 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11451 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11452 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11453 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11454 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11455 (feedmail-binmail-gnulinuxish-template):
11456 Rename from feedmail-binmail-linuxish-template.
11457 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11458 Use insert-buffer-substring.
11459
215cda7c
BC
114602011-05-14 Bill Carpenter <bill@carpenter.org>
11461
11462 * mail/feedmail.el (feedmail-patch-level): Increase.
11463 (feedmail-debug): New custom group.
11464 (feedmail-confirm-outgoing-timeout)
11465 (feedmail-sendmail-f-doesnt-sell-me-out)
11466 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11467 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11468 (feedmail-sender-line, feedmail-from-line)
11469 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11470 (feedmail-spray-this-address)
215cda7c
BC
11471 (feedmail-spray-address-fiddle-plex-list)
11472 (feedmail-queue-use-send-time-for-date)
11473 (feedmail-queue-use-send-time-for-message-id)
11474 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11475 (feedmail-buffer-eating-function):
11476 Doc fixes.
11477 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11478 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11479 (feedmail-message-action-scroll-down): New functions.
11480 (feedmail-queue-directory, feedmail-queue-draft-directory):
11481 Use expand-file-name.
11482 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11483 Remove C-v help entry.
11484 (feedmail-queue-buffer-file-name): New variable.
11485 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11486 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11487 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11488 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11489 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11490 (feedmail-message-action-toggle-spray)
11491 (feedmail-run-the-queue-no-prompts)
11492 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11493 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11494 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11495 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11496 (feedmail-envelope-deducer, feedmail-fiddle-from)
11497 (feedmail-fiddle-sender, feedmail-default-date-generator)
11498 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11499 (feedmail-fiddle-spray-address)
11500 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11501 (feedmail-fiddle-list-of-fiddle-plexes)
11502 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11503 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11504 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11505 Change default. Doc fix.
11506 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11507 (feedmail-binmail-linuxish-template): New constant.
11508 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11509 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11510 (feedmail-send-it): Add debug call.
11511 Use feedmail-queue-buffer-file-name, and
11512 feedmail-send-it-immediately-wrapper.
11513 (feedmail-message-action-send): Add debug call.
11514 Use feedmail-send-it-immediately-wrapper.
11515 (feedmail-queue-express-to-queue): Add debug call.
11516 Run feedmail-queue-express-hook.
11517 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11518 (feedmail-message-action-help-blat):
11519 Rename from feedmail-queue-send-edit-prompt-help-first.
11520 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11521 Check line-endings. Handle errors better.
11522 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11523 Doc fix. Add debug call.
11524 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11525 Use feedmail-queue-send-edit-prompt-inner.
11526 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11527 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11528 from feedmail-queue-send-edit-prompt.
11529 (feedmail-queue-send-edit-prompt-help)
11530 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11531 (feedmail-tidy-up-slug): Add debug call.
11532 Respect feedmail-queue-slug-suspect-regexp.
11533 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11534 (feedmail-dump-message-to-queue): Add debug call.
11535 Expand queue-directory.
11536 (feedmail-dump-message-to-queue): Change message slightly.
11537 Use feedmail-say-chatter.
11538 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11539 (feedmail-send-it-immediately-wrapper): New function.
11540 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11541 Insert empty string rather than newline. Handle full-frame case.
11542 Use catch/throw. Use feedmail-say-chatter.
11543 (feedmail-fiddle-from): Try mail-host-address.
11544 (feedmail-default-message-id-generator): Doc fix.
11545 Bind system-time-locale. Handle missing end.
11546 (feedmail-fiddle-x-mailer): Add debug call.
11547 Handle feedmail-x-mailer-line being nil.
11548 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11549 Add debug call. Use buffer-substring-no-properties.
11550 (feedmail-say-debug, feedmail-say-chatter): New functions.
11551 (feedmail-find-eoh): Give an explicit error.
11552
42c7e61e
UJ
115532011-05-13 Ulf Jasper <ulf.jasper@web.de>
11554
c2571358 11555 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11556 family from helvetica to sans.
c2571358 11557 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11558 etc/images/newsticker.
11559
c2571358 11560 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11561 family from helvetica to sans.
11562
11563 * net/newst-plainview.el (newsticker-new-item-face)
11564 (newsticker-old-item-face, newsticker-immortal-item-face)
11565 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11566 (newsticker-statistics-face): Change default family from
42c7e61e 11567 helvetica to sans.
c2571358 11568 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11569 etc/images/newsticker.
11570
5d3385a0
JB
11571 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11572 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11573 auto-marking.
11574
8497a297
DV
115752011-05-13 Didier Verna <didier@xemacs.org>
11576
11577 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11578 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11579 TODO entries.
8497a297
DV
11580 (lisp-lambda-list-keyword-parameter-indentation)
11581 (lisp-lambda-list-keyword-parameter-alignment)
11582 (lisp-lambda-list-keyword-alignment): New customizable user options.
11583 (lisp-indent-defun-method): Improve docstring.
11584 (extended-loop-p): Fix comment.
11585 (lisp-indent-lambda-list-keywords-regexp): New variable.
11586 (lisp-indent-lambda-list): New function.
11587 (lisp-indent-259): Use it.
11588 (lisp-indent-defmethod): Support for more than one
11589 method qualifier and properly indent methods lambda-lists.
11590 (defgeneric): Provide a missing common-lisp-indent-function property.
11591
f278f87f
SM
115922011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11595 bounds for the empty string (bug#8667).
11596
5233edd7
GM
115972011-05-13 Glenn Morris <rgm@gnu.org>
11598
5237a44f
GM
11599 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11600
8340026c 11601 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11602 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11603
5233edd7 11604 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11605 (appt-time-msg-list): Doc fix.
a5464014 11606 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11607
92d10796
AS
116082011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11609
11610 * progmodes/ld-script.el (ld-script-keywords)
11611 (ld-script-builtins): Update keywords list.
11612
914a0ae1
SM
116132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11614
c89be45f
SM
11615 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11616
914a0ae1
SM
11617 * shell.el (shell-completion-vars): New function.
11618 (shell-mode):
11619 * simple.el (read-shell-command): Use it.
11620 (blink-matching-open): No need for " [...]" in minibuffer-message.
11621
98dc3df3
GM
116222011-05-12 Glenn Morris <rgm@gnu.org>
11623
11624 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11625 (appt-check): Simplify.
11626
d2fc7e3d 116272011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11628
4d61f28d 11629 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11630 literal "/dev/null".
11631
d2fc7e3d 116322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11633
11634 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11635 Fix typo.
11636
d2fc7e3d 116372011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11638
3f254caa
SM
11639 * progmodes/which-func.el (which-function):
11640 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11641 which might not be defined (Bug#8260).
11642
d45885f7
GM
116432011-05-12 Glenn Morris <rgm@gnu.org>
11644
11645 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11646 Let byte-compile-initial-macro-environment always take precedence.
11647
488086f4
SM
116482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * net/rcirc.el: Add support for SSL/TLS connections.
11651 (rcirc-server-alist): New field `encryption'.
11652 (rcirc): Check `encryption' settings.
11653 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11654 Merge make-local-variable into `set'.
11655 (rcirc--connection-open-p): New function.
11656 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11657 the process is not a network process (e.g. running gnutls-cli).
11658 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11659 Make rcirc-(en|de)code-coding-system local here.
11660 (rcirc-mode): Merge make-local-variable into `set'.
11661 (rcirc-parent-buffer): Make permanent buffer-local.
11662 (rcirc-multiline-minor-mode): Don't do it here.
11663 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11664 there's no server buffer.
11665
7d3b9d44
GM
116662011-05-11 Glenn Morris <rgm@gnu.org>
11667
f64049c6
GM
11668 * newcomment.el (comment-kill): Prefix "unused" local.
11669
93c9df73
GM
11670 * term/w32console.el (get-screen-color): Declare.
11671
7d3b9d44
GM
11672 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11673 Handle symbol elements of byte-compile-initial-macro-environment.
11674
9e2dd53f
LL
116752011-05-10 Leo Liu <sdl.web@gmail.com>
11676
488086f4
SM
11677 * bookmark.el (bookmark-bmenu-mode-map):
11678 Bind bookmark-bmenu-search to `/'.
8b340240 11679
9e2dd53f 11680 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11681 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11682 (Footnote-unicode): New function.
11683 (footnote-style-alist): Add unicode style to the list.
11684 (footnote-style): Doc fix.
9e2dd53f 11685
79b70037
GM
116862011-05-10 Jim Meyering <meyering@redhat.com>
11687
11688 Fix doubled-word typos.
11689 * international/quail.el (quail-insert-kbd-layout): and and -> and
11690 * kermit.el: and and -> and
11691 * net/ldap.el (ldap-search-internal): to to -> to
11692 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11693 * progmodes/js.el (js-mode): and and -> and
11694 * textmodes/artist.el (artist-move-to-xy): at at -> at
11695 (artist-draw-region-trim-line-endings): if if -> if
11696 And Safetyc -> Safety.
11697 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11698
b8f82dc1 116992011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11700 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11701
11702 * files.el (hack-one-local-variable-eval-safep):
11703 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11704
4f99f44b
GM
117052011-05-10 Glenn Morris <rgm@gnu.org>
11706
11707 * calendar/diary-lib.el (diary-list-entries-hook)
11708 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11709 (diary-nongregorian-marking-hook, diary-list-entries)
11710 (diary-include-other-diary-files, diary-mark-entries)
11711 (diary-mark-included-diary-files): Doc fixes.
11712
84f29e6b
JB
117132011-05-09 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * misc.el: Require tabulated-list.el during compilation.
11716
9bedd73a
CY
117172011-05-09 Chong Yidong <cyd@stupidchicken.com>
11718
488086f4
SM
11719 * progmodes/compile.el (compilation-start):
11720 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11721 (compilation-filter-hook): Doc fix.
11722
797c735c
DD
117232011-05-09 Deniz Dogan <deniz@dogan.se>
11724
11725 * wdired.el: Remove outdated installation comment. Fix usage
11726 comment.
11727
5f4b1dfe
JB
117282011-05-09 Juanma Barranquero <lekktu@gmail.com>
11729
11730 * misc.el: Implement new command `list-dynamic-libraries'.
11731 (list-dynamic-libraries--loaded-only-p): New variable.
11732 (list-dynamic-libraries--refresh): New function.
11733 (list-dynamic-libraries): New command.
11734
4c44026c
CY
117352011-05-09 Chong Yidong <cyd@stupidchicken.com>
11736
488086f4
SM
11737 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11738 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11739 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11740 higher priority to avoid clobbering by gnu.
11741
027f966d
CY
117422011-05-08 Chong Yidong <cyd@stupidchicken.com>
11743
11744 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11745 if the face has existing theme settings (Bug#8454).
11746
085f5d7d
CY
117472011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11748
488086f4
SM
11749 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11750 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11751
2a86a00c
RS
11752 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11753 special file names `.' and `..' (Bug#8259).
11754
d9c54a06
CY
117552011-05-08 Chong Yidong <cyd@stupidchicken.com>
11756
488086f4
SM
11757 * progmodes/grep.el (grep-mode-font-lock-keywords):
11758 Remove buffer-changing entries.
d9c54a06
CY
11759 (grep-filter): New function.
11760 (grep-mode): Add it to compilation-filter-hook.
11761
11762 * progmodes/compile.el (compilation-filter-hook)
11763 (compilation-filter-start): New defvars.
11764 (compilation-filter): Call compilation-filter-hook prior to
11765 updating the process mark.
11766
c4662635
SM
117672011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11770
b0512a1d
EZ
117712011-05-07 Eli Zaretskii <eliz@gnu.org>
11772
605c9376
EZ
11773 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11774 mailclient-send-it even if window-system is nil. (Bug#8595)
11775
c4662635
SM
11776 * term/w32console.el (terminal-init-w32console):
11777 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11778 background-mode. (Bug#8597)
11779
d1dc2cc2
SM
117802011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11783 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11784 New functions.
11785 (defgeneric, eieio--defmethod): Use them.
11786 (eieio-defgeneric): Remove.
11787 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11788
915d1300
GM
117892011-05-07 Glenn Morris <rgm@gnu.org>
11790
a3961c3e
GM
11791 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11792 Use let rather than let*.
11793 (timeclock-find-discrep): Remove unused local.
11794
314347b9
GM
11795 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11796
915d1300
GM
11797 * calendar/appt.el (appt-time-msg-list): Doc fix.
11798
275b59b0
NF
117992011-05-06 Noah Friedman <friedman@splode.com>
11800
11801 * apropos.el (apropos-print-doc): Only use
11802 emacs-lisp-docstring-fill-column when it is bound to an integer,
11803 per that variable's documentation.
11804
6c19f744
SM
118052011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11808 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11809
60f884b2
GM
118102011-05-06 Glenn Morris <rgm@gnu.org>
11811
5006e634
GM
11812 * calendar/appt.el (appt-message-warning-time): Doc fix.
11813 (appt-warning-time-regexp): New option.
11814 (appt-make-list): Respect appt-message-warning-time.
11815
548d0a63
GM
11816 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11817 New options.
11818 (diary-add-to-list): Strip comments from the displayed string.
11819 (diary-mode): Set comment-start and comment-end.
11820
60f884b2
GM
11821 * vc/diff-mode.el (smerge-refine-subst): Declare.
11822 (diff-refine-hunk): Don't require smerge-mode when compiling.
11823
989681bb
JB
118242011-05-06 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * simple.el (list-processes): Return nil as the docstring says.
11827
a6bc05e1
MA
118282011-05-05 Michael Albinus <michael.albinus@gmx.de>
11829
11830 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11831 to "".
11832 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11833 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11834 determining of binary transfer. (Bug#7383)
11835
23c22e9a
MA
118362011-05-05 Michael Albinus <michael.albinus@gmx.de>
11837
c4662635
SM
11838 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11839 Fix port computation bug. (Bug#8618)
23c22e9a 11840
0bff894f
GM
118412011-05-05 Glenn Morris <rgm@gnu.org>
11842
b8296902
GM
11843 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11844
1f522ce8
GM
11845 * simple.el (shell-dynamic-complete-functions)
11846 (comint-dynamic-complete-functions): Declare.
11847
cf5bee67
GM
11848 * net/network-stream.el (gnutls-negotiate):
11849 * simple.el (tabulated-list-print): Fix declarations.
11850
11851 * progmodes/gud.el (syntax-symbol, syntax-point):
11852 Remove unnecessary and incorrect declarations.
11853
0bff894f
GM
11854 * emacs-lisp/check-declare.el (check-declare-scan):
11855 Handle byte-compile-initial-macro-environment in bytecomp.el
11856
9869b3ae
SM
118572011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 Fix earlier half-done eieio-defmethod change (bug#8338).
11860 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11861 Streamline and change calling convention.
11862 (defmethod): Adjust accordingly and simplify.
11863 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11864 new eieio--defmethod.
11865 (slot-boundp): Minor CSE simplification.
11866
9c1d5ac5
MZ
118672011-05-05 Milan Zamazal <pdm@zamazal.org>
11868
11869 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11870 (glasses-make-readable): Use glasses-separate-capital-groups.
11871
455c834e
JB
118722011-05-05 Juanma Barranquero <lekktu@gmail.com>
11873
11874 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11875 (warning-series): Doc fix.
11876 (display-warning): Don't try to create the buffer if we just found it.
11877
9ed7c8cb
CY
118782011-05-04 Chong Yidong <cyd@stupidchicken.com>
11879
11880 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11881 (autoload-find-generated-file): New function.
11882 (generate-file-autoloads): Bind generated-autoload-file to
11883 buffer-file-name.
9869b3ae
SM
11884 (update-file-autoloads, update-directory-autoloads):
11885 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11886 output file (Bug#7989).
11887 (batch-update-autoloads): Doc fix.
11888
0898ca10
JB
118892011-05-04 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11892
31dfb76c
GM
118932011-05-04 Glenn Morris <rgm@gnu.org>
11894
f330b642
GM
11895 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11896 function, so it follows changes in calendar-date-style.
11897 (diary-fancy-date-matcher): New function.
11898 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11899 (diary-fancy-font-lock-fontify-region-function):
11900 Use diary-fancy-date-pattern as a function.
11901
31dfb76c
GM
11902 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11903 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11904
48e79d6a
TZ
119052011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11906
11907 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11908 instead of positional arguments. Allow :keylist and :crlfiles
11909 arguments.
11910 (open-gnutls-stream): Call it.
11911
11912 * net/network-stream.el (network-stream-open-starttls): Adjust to
11913 call `gnutls-negotiate' with :process and :hostname arguments.
11914
dd5a5ee0
SM
119152011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11916
ef80fc09
SM
11917 * minibuffer.el (completion--message): New function.
11918 (completion--do-completion, minibuffer-complete)
11919 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11920 (completion--do-completion): Don't ignore completion-auto-help when in
11921 icomplete-mode.
11922
dd5a5ee0
SM
11923 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11924 internal encoding (e.g. tibetan zero is not whitespace).
11925 (global-whitespace-mode): Prefer save-current-buffer.
11926 (whitespace-trailing-regexp): Remove useless save-match-data.
11927 (whitespace-empty-at-bob-regexp): Minor simplification.
11928
b7d22a83
CY
119292011-05-03 Chong Yidong <cyd@stupidchicken.com>
11930
11931 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11932
5192af46
AM
119332011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11934
11935 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11936 Use `concat' to create string for insertion.
5192af46 11937
5767d190
SM
119382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11941 Avoid open-line which runs post-self-insert-hook.
11942 (bibtex-fill-entry): Remove unused `end' var.
11943
bf242939
AM
119442011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11945
5767d190
SM
11946 * textmodes/ispell.el (ispell-add-per-file-word-list):
11947 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11948
25666126
LL
119492011-05-03 Leo Liu <sdl.web@gmail.com>
11950
11951 * isearch.el (isearch-yank-pop): New command.
5767d190 11952 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11953 (isearch-forward): Mention it.
11954
52d3c2d0
SM
119552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11956
1bcace58
SM
11957 * simple.el (minibuffer-complete-shell-command): Remove.
11958 (minibuffer-local-shell-command-map): Use completion-at-point.
11959 (read-shell-command): Setup completion vars here instead.
11960 (read-expression-map): Bind TAB to symbol completion.
11961
52d3c2d0
SM
11962 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11963 error directly rather via storing it into `results'.
11964
35813471
LL
119652011-05-02 Leo Liu <sdl.web@gmail.com>
11966
11967 * vc/diff.el: Fix description.
11968
e793a940
LMI
119692011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * server.el (server-eval-at): New function.
11972
8de66e05
LMI
119732011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11974
11975 * net/network-stream.el (open-network-stream): Take a :nowait
11976 parameter and pass it on to `make-network-process'.
11977 (network-stream-open-plain): Ditto.
11978
dcb79f20
AS
119792011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11980
11981 * faces.el (face-spec-set-match-display): Don't match toolkit
11982 options on terminal frames.
11983
14a7fbd8
SM
119842011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11985
7eabc1be
SM
11986 * progmodes/pascal.el: Use lexical binding.
11987 (pascal-mode-map): Remove author preferences.
11988
14a7fbd8
SM
11989 * pcomplete.el (pcomplete-std-complete): Don't abuse
11990 completion-at-point.
11991
50f84510
JB
119922011-04-28 Juanma Barranquero <lekktu@gmail.com>
11993
6e087a44
JB
11994 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11995 removing code that has been dead since 1991 or so.
11996
50f84510
JB
11997 * startup.el (command-line): When warning about "_emacs", use a
11998 delayed warning to allow the user to filter it out.
11999
0ba690bd
DD
120002011-04-28 Deniz Dogan <deniz@dogan.se>
12001
12002 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12003 user has not joined.
12004
08abfaad
SM
120052011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12008 aren't any completions at point.
12009
638f053a
JB
120102011-04-28 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * subr.el (display-delayed-warnings): New function.
12013 (delayed-warnings-hook): New variable.
12014
8fff8daa
SM
120152011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12016
08abfaad
SM
12017 * minibuffer.el (completion-at-point, completion-help-at-point):
12018 Don't presume that a given completion-at-point-function will always
12019 use the same calling convention.
12020
8fff8daa
SM
12021 * pcomplete.el (pcomplete-completions-at-point):
12022 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12023 pcomplete-seen is non-nil.
12024 (pcomplete-comint-setup): Also recognize the new comint/shell
12025 completion functions.
12026 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12027 pcomplete-seen is non-nil.
12028
841a1577 120292011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12030
841a1577 12031 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12032 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12033 the first character in the entry. This allows for code to add its
211ec907
UJ
12034 own uid to the entry.
12035 (icalendar--convert-float-to-ical): Add export of
12036 `diary-float'-entries save for those with the optional DAY
12037 argument.
12038
2a782793
DC
120392011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12040
12041 * subr.el (shell-quote-argument): Use alternate escaping strategy
12042 when we spot a variable reference in a string.
12043
0438ce91
DC
120442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12045
12046 * cus-start.el (all): Define customization for debug-on-event.
12047
841a1577 120482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12049
12050 * subr.el (shell-quote-argument): Escape correctly under Windows.
12051
d090ed6c
SM
120522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12055
bfd31217
MA
120562011-04-25 Michael Albinus <michael.albinus@gmx.de>
12057
d090ed6c
SM
12058 * net/tramp.el (tramp-process-actions): Add POS argument.
12059 Delete region between POS and (pos).
bfd31217 12060
d090ed6c
SM
12061 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12062 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12063 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12064
12065 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12066 position in `tramp-process-actions' call.
12067
12068 * net/trampver.el: Update release number.
12069
e92f3bd3
SM
120702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12071
850256b5
SM
12072 * custom.el (defcustom): Obey lexical-binding.
12073
e92f3bd3
SM
12074 Fix octave-inf completion problems reported by Alexander Klimov.
12075 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12076 Inherit from octave-mode-syntax-table.
12077 (inferior-octave-mode): Set info-lookup-mode.
12078 (inferior-octave-completion-at-point): New function.
12079 (inferior-octave-complete): Use it and completion-in-region.
12080 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12081 comint-filename-completion.
12082 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12083 symbol elements which shouldn't be word elements.
12084 (octave-font-lock-keywords, octave-beginning-of-defun)
12085 (octave-function-header-regexp): Adjust regexps accordingly.
12086 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12087
cd22b309
JB
120882011-04-25 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * net/gnutls.el (gnutls-errorp): Declare before first use.
12091
8b492194
TZ
120922011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12093
12094 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12095 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12096 default trustfile exists before going to use it. Add missing
5a5fa834 12097 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12098 Reported by Claudio Bley <claudio.bley@gmail.com>.
12099 (open-gnutls-stream): Add usage example.
12100
12101 * net/network-stream.el (network-stream-open-starttls): Give host
12102 parameter to `gnutls-negotiate'.
12103 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12104 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12105
841a1577 121062011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12107
cd22b309
JB
12108 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12109 Use correct match group (bug#8438).
05842630 12110
3ba7869c
CY
121112011-04-24 Chong Yidong <cyd@stupidchicken.com>
12112
512e3ae1
CY
12113 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12114 (package-menu--generate): New arg specifying packages to show.
12115 (package-menu-refresh, package-menu-execute, list-packages):
12116 Callers changed.
12117 (package-show-package-list): New function, replacing deleted
12118 package--list-packages (renamed because it is non-internal).
12119
12120 * finder.el (finder-list-matches): Use package-show-package-list
12121 instead of deleted package--list-packages.
12122
e92f3bd3
SM
12123 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12124 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12125 (vc-annotate-mode-map): Bind it to RET.
12126
7031be6d
UR
121272011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12128
12129 * progmodes/etags.el (next-file): Don't use set-buffer to change
12130 buffers (Bug#8478).
12131
4ef177aa
CY
121322011-04-24 Chong Yidong <cyd@stupidchicken.com>
12133
c8d173eb
CY
12134 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12135
4ef177aa
CY
12136 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12137 (apropos-accumulator): Doc fix.
12138 (apropos-function, apropos-macro, apropos-command)
12139 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12140 (apropos-plist): Add face property.
12141 (apropos-symbols-internal): Fix indentation.
12142 (apropos-print): Simplify help, and recognize apropos-multi-type.
12143 (apropos-print-doc): Use button-type-get to extract the button's
12144 face property. Fill docstring (Bug#8352).
12145
4ffd0d6b 121462011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12147
12148 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12149
c6c32125 12150 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12151 (mpuz-mode-map): Use mapc.
c6c32125
JB
12152 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12153 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12154 Fix typos in docstrings.
12155
58d468b4
JB
12156 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12157 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12158
6470c3c6
JB
12159 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12160
4ffd0d6b 121612011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12162
12163 * minibuffer.el (completion--do-completion): Avoid the "Next char
12164 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12165
3ad8bad0
CY
12166 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12167 mouse-2 into unread-command-events, it is interpreted correctly.
12168
71d73c9c 12169 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12170 (image-toggle-display): Doc fix.
71d73c9c 12171
841a1577 121722011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12173
4ffd0d6b
GM
12174 * textmodes/page.el (what-page): Use line-number-at-pos to
12175 calculate line number (Bug#6825).
6e1dbaa9 12176
c2fb1b60
JB
121772011-04-22 Juanma Barranquero <lekktu@gmail.com>
12178
12179 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12180 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12181 Pass argument NO-DEFAULT to `find-tag-interactive'.
12182
e02f48d7
JB
121832011-04-22 Juanma Barranquero <lekktu@gmail.com>
12184
12185 Lexical-binding cleanup.
12186
12187 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12188 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12189 * progmodes/ada-prj.el (ada-prj-initialize-values)
12190 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12191 (ada-prj-show-value):
12192 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12193 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12194 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12195 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12196 * progmodes/bug-reference.el (bug-reference-push-button):
12197 * progmodes/fortran.el (fortran-line-length):
12198 * progmodes/glasses.el (glasses-change):
12199 * progmodes/octave-mod.el (octave-fill-paragraph):
12200 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12201 (python-pdbtrack-grub-for-buffer, python-sentinel):
12202 * progmodes/sql.el (sql-save-connection):
12203 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12204 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12205 Mark unused parameters.
12206
12207 * progmodes/compile.el (compilation--flush-directory-cache)
12208 (compilation--flush-parse, compile-internal): Mark unused parameters.
12209 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12210 (compilation-next-error-function): Remove unused variable `timestamp'.
12211
12212 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12213 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12214
12215 * progmodes/dcl-mode.el (dcl-end-of-command):
12216 Remove unused variable `start'.
12217 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12218 (dcl-option-value-basic, dcl-option-value-offset)
12219 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12220 Mark unused parameters.
12221 (dcl-save-local-variable): Remove unused variable `val'.
12222 (mode): Declare.
12223
12224 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12225 Mark unused parameters.
12226 (delphi-ignore-changes): Move before first use.
12227 (delphi-charset-token-at): Remove unused variable `start'.
12228 (delphi-else-start): Remove unused variable `if-count'.
12229 (delphi-comment-block-start, delphi-comment-block-end):
12230 Remove unused variable `kind'.
12231 (delphi-indent-line): Remove unused variable `new-point'.
12232
12233 * progmodes/ebrowse.el (ebrowse-files-list)
12234 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12235 Mark unused parameters. Don't quote `lambda'.
12236 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12237 Don't quote `lambda'.
12238 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12239 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12240 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12241 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12242 Use `ignore-errors'.
12243 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12244 (ebrowse-view/find-file-and-search-pattern)
12245 (ebrowse-view/find-member-declaration/definition):
12246 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12247 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12248 Rename parameter PREFIX-ARG to PREFIX.
12249 (ebrowse-tags-read-name): Remove unused variables `start' and
12250 `member-info'.
12251 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12252 to `tags-file'.
12253
12254 * progmodes/etags.el (local-find-tag-hook): Declare.
12255 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12256 Mark unused parameters.
12257
12258 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12259 (executable-interpret): Mark unused parameter.
12260
12261 * progmodes/flymake.el (flymake-process-sentinel)
12262 (flymake-after-change-function)
12263 (flymake-create-temp-with-folder-structure)
12264 (flymake-get-include-dirs-dot): Mark unused parameters.
12265 (flymake-safe-delete-directory): Remove unused variable `err'.
12266
12267 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12268 (speedbar-timer-fn, speedbar-line-text)
12269 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12270 (speedbar-center-buffer-smartly): Declare functions.
12271 (gdb-find-watch-expression): Remove unused variable `array'.
12272 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12273 (gdb-starting): Mark unused parameters.
12274 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12275 (gdb-table-string): Remove unused variable `res'.
12276 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12277 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12278 (gdb-display-buffer): Remove unused variable `cur-size'.
12279
12280 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12281 allow lexical-binding compilation.
12282 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12283 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12284 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12285 Mark unused parameters.
12286 (gud-gdb-marker-filter): Remove unused variable `match'.
12287 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12288 lambda expressions and funcall them, instead of using `fset'.
12289
12290 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12291 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12292
12293 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12294 variable `header-beg'; use `let'.
12295
12296 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12297 `restart', `last-sexp' and `at-do'.
12298
12299 * progmodes/js.el (js--debug): Mark unused parameter.
12300 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12301 (js--splice-into-items): Remove unused variable `item'.
12302 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12303
12304 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12305 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12306 (makefile-complete): Remove unused variable `try'.
12307 (makefile-fill-paragraph, makefile-match-function-end):
12308 Mark unused parameters.
12309
12310 * progmodes/octave-inf.el (inferior-octave-complete):
12311 Remove unused variable `proc'.
12312 (inferior-octave-output-digest): Mark unused parameter.
12313
12314 * progmodes/perl-mode.el (perl-calculate-indent):
12315 Remove unused variable `err'.
12316
12317 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12318 (prolog-indent-line): Mark unused parameters.
12319 (prolog-indent-line): Remove unused variable `beg'.
12320
12321 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12322 (reporter-dont-compact-list): Declare.
12323
12324 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12325 Remove unused variable `char'.
12326 (sh-debug): Mark unused parameter.
12327 (sh-get-indent-info): Remove unused variable `start'.
12328 (sh-calculate-indent): Remove unused variable `var'.
12329
12330 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12331 (simula-electric-keyword): Remove unused variable `null'.
12332 (simula-search-backward, simula-search-forward): Remove unused
12333 variables `begin' and `end'.
12334
12335 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12336 Remove unused variable `pos'.
12337 (vera-electric-tab, vera-comment-uncomment-region):
12338 Mark unused parameters.
12339 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12340
7ede3b65
CY
123412011-04-22 Chong Yidong <cyd@stupidchicken.com>
12342
12343 * emacs-lisp/package.el (package--builtins, package-alist)
12344 (package-load-descriptor, package-built-in-p, package-activate)
12345 (define-package, package-installed-p)
12346 (package-compute-transaction, package-buffer-info)
12347 (package--push): Doc fix. Distinguish more clearly between
12348 version strings and version lists.
12349
121656e9
JB
123502011-04-21 Juanma Barranquero <lekktu@gmail.com>
12351
12352 Lexical-binding cleanup.
12353
12354 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12355 (5x5-make-mutate-best):
12356 * play/fortune.el (fortune-in-buffer):
12357 * play/gomoku.el (gomoku-init-display):
12358 * play/solitaire.el (solitaire, solitaire-do-check):
12359 * play/tetris.el (tetris-default-update-speed-function):
12360 Mark unused parameters.
12361
12362 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12363 (bubbles--shift): Remove unused variable `char-org'.
12364 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12365 (bubbles--show-images): Remove unused variable `char'.
12366
12367 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12368 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12369 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12370 (decipher-analyze-buffer): Use ?\s.
12371 (decipher-make-checkpoint): Remove unused variable `mapping'.
12372
12373 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12374
12375 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12376 Remove unused variable `result'; use `let'.
12377
12378 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12379 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12380 (gametree-children-shown-p, gametree-compute-reduced-score):
12381 Use `ignore-errors'.
12382
12383 * play/handwrite.el (ps-lpr-switches): Declare.
12384 (handwrite): Remove unused variables `pmin' and `lastp'.
12385
12386 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12387
12388 * play/landmark.el (landmark-init-display)
12389 (landmark-update-naught-weights): Mark unused parameters.
12390 (landmark-y): Remove unused variable `noise'. Simplify.
12391 (landmark-human-plays): Remove unused variable `score'.
12392
12393 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12394 (mpuz-try-proposal): Remove unused variable `game'.
12395
12396 * play/zone.el (life-patterns): Declare.
12397
80f499c7
JB
123982011-04-20 Juanma Barranquero <lekktu@gmail.com>
12399
12400 * vc/vc.el (ediff-vc-internal): Declare function.
12401
024ff170
SM
124022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12403
c0a193ea
SM
12404 * shell.el: Use lexical-binding and std completion UI.
12405 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12406 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12407 comint-preoutput-filter-functions rather than on
12408 comint-output-filter-functions.
12409 (shell-command-completion, shell--command-completion-data)
12410 (shell-filename-completion, shell-environment-variable-completion)
12411 (shell-c-a-p-replace-by-expanded-directory): New functions.
12412 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12413 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12414 (shell-dynamic-complete-environment-variable): Use them.
12415 (shell-dynamic-complete-as-environment-variable)
12416 (shell-dynamic-complete-as-command): Remove.
12417 (shell-match-partial-variable): Match past point.
12418 * comint.el: Clean up use of completion-at-point-functions.
12419 (comint-completion-at-point): New function.
12420 (comint-mode): Use it completion-at-point-functions.
12421 (comint-dynamic-complete): Make it obsolete.
12422 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12423 (comint-c-a-p-replace-by-expanded-history): New function.
12424 (comint-dynamic-complete-functions)
12425 (comint-replace-by-expanded-history): Use it.
12426 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12427 termination strings. Try harder to avoid second try-completion.
12428 (completion-in-region-mode-map): Disable bindings that don't work yet.
12429
2dbaa080
SM
12430 * comint.el: Use lexical-binding. Require CL.
12431 (comint-dynamic-complete-functions): Use comint-filename-completion.
12432 (comint-completion-addsuffix): Tweak custom type.
12433 (comint-filename-completion, comint--common-suffix)
12434 (comint--common-quoted-suffix, comint--table-subvert)
12435 (comint--complete-file-name-data): New functions.
12436 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12437 (comint-dynamic-list-filename-completions): Use them.
12438 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12439
2dbaa080
SM
12440 * minibuffer.el (completion-in-region-mode):
12441 Keep completion-in-region-mode--predicate global.
12442 (completion-in-region--postch):
12443 Assume completion-in-region-mode--predicate is not null.
12444
c79a6f38
SM
12445 * progmodes/flymake.el (flymake-start-syntax-check-process):
12446 Obey `dir'. Simplify.
12447
024ff170
SM
12448 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12449 we're in VC after all.
12450
1c6c854e
CS
124512011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12452
12453 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12454 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12455 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12456
bed7f140
SM
124572011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12458
332e62ab
SM
12459 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12460 add sanity check.
12461
bed7f140
SM
12462 * obsolete/erc-hecomplete.el: Make obsolete.
12463 * obsolete/: Standardize obsolescence info in the header.
12464
f195c582
GM
124652011-04-20 Glenn Morris <rgm@gnu.org>
12466
12467 * calendar/solar.el (solar-horizontal-coordinates):
12468 Use the longitude argument rather than `calendar-longitude'.
12469 (solar-date-next-longitude): Remove unused locals.
12470
cb79b8c0
VJL
124712011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12472
12473 * whitespace.el: New version 13.2.1.
12474
124752011-04-20 felix <EmacsWiki> (tiny change)
12476
d8e4b68b 12477 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12478 switching between major modes on a file.
12479
602ea69d
SM
124802011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12483 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12484 multi-line comments as well.
12485
06b60517
JB
124862011-04-19 Juanma Barranquero <lekktu@gmail.com>
12487
12488 Lexical-binding cleanup.
12489
12490 * arc-mode.el (archive-mode-revert):
12491 * cmuscheme.el (scheme-interactively-start-process):
12492 * custom.el (custom-initialize-delay):
12493 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12494 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12495 * emacs-lock.el (emacs-lock-clear-sentinel):
12496 * ezimage.el (defezimage):
12497 * follow.el (follow-avoid-tail-recenter):
12498 * fringe.el (set-fringe-mode-1):
12499 * generic-x.el (bat-generic-mode-compile):
12500 * help-mode.el (help-info-variable, help-do-xref)
12501 (help-mode-revert-buffer):
12502 * help.el (view-emacs-todo):
12503 * iswitchb.el (iswitchb-completion-help):
12504 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12505 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12506 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12507 * locate.el (locate-update):
12508 * longlines.el (longlines-encode-region)
12509 (longlines-after-change-function):
12510 * outline.el (outline-isearch-open-invisible):
12511 * ps-def.el (declare-function, charset-dimension, char-width)
12512 (encode-char):
12513 * ps-mule.el (ps-mule-plot-string):
12514 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12515 (recentf-edit-list-select, recentf-edit-list-validate)
12516 (recentf-open-files-action):
12517 * rect.el (delete-whitespace-rectangle-line)
12518 (rectangle-number-line-callback):
12519 * register.el (window-configuration-to-register)
12520 (frame-configuration-to-register):
12521 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12522 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12523 (xselect-convert-to-targets, xselect-convert-to-delete)
12524 (xselect-convert-to-filename, xselect-convert-to-charpos)
12525 (xselect-convert-to-lineno, xselect-convert-to-colno)
12526 (xselect-convert-to-os, xselect-convert-to-host)
12527 (xselect-convert-to-user, xselect-convert-to-class)
12528 (xselect-convert-to-name, xselect-convert-to-integer)
12529 (xselect-convert-to-atom, xselect-convert-to-identity):
12530 * subr.el (declare, ignore, process-kill-without-query)
12531 (text-clone-maintain):
12532 * terminal.el (te-get-char, te-tic-sentinel):
12533 * tool-bar.el (tool-bar-make-keymap):
12534 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12535 * type-break.el (type-break-mode, type-break-noninteractive-query):
12536 * view.el (View-back-to-mark):
12537 * wid-browse.el (widget-browse-action, widget-browse-widget)
12538 (widget-browse-widgets, widget-browse-sexp):
12539 * widget.el (define-widget-keywords):
12540 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12541 Mark unused parameters.
12542
12543 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12544 (align-areas): Remove unused variable `look'.
12545 (align-region): Remove unused variables `real-end' and `pos-list'.
12546
12547 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12548
12549 * bindings.el (mode-line-modified, mode-line-remote):
12550 Mark unused parameters.
12551 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12552
12553 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12554 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12555
12556 * comint.el (comint-history-isearch-pop-state)
12557 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12558 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12559 (comint-substitute-in-file-name): Doc fix.
12560
12561 * completion.el (cmpl-statistics-block): Mark unused parameter.
12562 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12563 (save-completions-to-file, load-completions-from-file):
12564 Remove unused local variable `e'.
12565
12566 * composite.el (compose-chars): Remove unused variable `len'.
12567 (lgstring-insert-glyph): Remove unused variable `g'.
12568 (compose-glyph-string): Remove unused variables `ascent',
12569 `descent', `lbearing' and `rbearing'.
12570 (compose-glyph-string-relative): Remove unused variables
12571 `lbearing', `rbearing' and `wadjust'.
12572 (compose-gstring-for-graphic): Remove unused variables `header',
12573 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12574 (compose-gstring-for-terminal): Remove unused variables `header'
12575 and `nchars'. Use `let', not `let*'.
12576
12577 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12578 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12579 (Custom-buffer-done, custom-buffer-create-internal)
12580 (custom-browse-visibility-action, custom-browse-group-tag-action)
12581 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12582 (widget-magic-mouse-down-action, custom-toggle-parent)
12583 (custom-add-parent-links, custom-toggle-hide-variable)
12584 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12585 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12586 (custom-face-menu-create, custom-variable-menu-create, get)
12587 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12588 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12589 (customize-apropos): Remove unused variable `tests'.
12590 (custom-group-value-create): Remove unused variable `hidden-p'.
12591 (sort-fold-case): Declare.
12592
12593 * cus-theme.el (custom-reset-standard-faces-list)
12594 (custom-reset-standard-variables-list): Declare.
12595 (customize-create-theme, custom-theme-revert, custom-theme-write)
12596 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12597 Mark unused parameters.
12598
12599 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12600
12601 * delim-col.el (delimit-columns-max): Move defvar before first use.
12602
12603 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12604 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12605
12606 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12607 (auto-insert): Declare.
12608 (desktop-restore-file-buffer): Rename desktop-* parameters;
12609 mark unused ones.
12610 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12611 (desktop-buffer): Rename desktop-* parameters.
12612
12613 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12614 (dframe-reposition-frame-xemacs, dframe-help-echo)
12615 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12616 Mark unused parameters.
12617
12618 * dired-aux.el (backup-extract-version-start, overwrite-query)
12619 (overwrite-backup-query, rename-regexp-query)
12620 (rename-non-directory-query): Declare.
12621 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12622 (dired-add-entry): Remove unused variable `orig-file-name'.
12623 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12624 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12625 `dired-copy-preserve-time' directly.
12626 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12627 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12628
12629 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12630 (dired-virtual-revert, dired-make-relative-symlink):
12631 Mark unused parameters.
12632 (manual-program): Declare.
12633 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12634 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12635 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12636
12637 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12638
12639 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12640
12641 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12642 Declare.
12643
12644 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12645
12646 * electric.el (Electric-command-loop): Rename parameter
12647 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12648
12649 * expand.el (expand-in-literal): Remove unused variable `here'.
12650
12651 * facemenu.el (facemenu-add-new-color):
12652 Remove unused variable `docstring'.
12653
12654 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12655 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12656 (face-attr-construct): Mark unused parameter. Doc fix.
12657 (read-color): Remove unused variable `hex-string'.
12658
12659 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12660 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12661 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12662 (display-buffer-other-frame): Remove unused variable `old-window'.
12663 (kill-buffer-hook): Declare.
12664 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12665 Mark unused parameters.
12666 (after-find-file): Pass 1 to `auto-save-mode', not t.
12667
12668 * files-x.el (auto-insert): Declare.
12669 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12670
12671 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12672 variable `buf'. Mark unused parameter.
06b60517
JB
12673 (find-lisp-insert-directory): Mark unused parameter.
12674
12675 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12676 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12677 (format-common-tail): Remove, unused.
12678 (format-deannotate-region): Remove unused variable `loc'.
12679 (format-annotate-region): Remove unused variable `p'.
12680 (format-annotate-single-property-change): Remove unused variables
12681 `default' and `tail'.
12682
12683 * forms.el (read-file-filter): Declare.
12684 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12685
12686 * frame.el (frame-creation-function-alist): Mark unused parameter.
12687 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12688
12689 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12690 Remove unused parameters.
12691 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12692 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12693
12694 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12695 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12696 (hfy-prepare-tag-map): Mark unused parameters.
12697 (htmlfontify-buffer): Use `called-interactively-p'.
12698
12699 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12700 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12701 (ibuffer-do-occur): Mark unused parameters.
12702 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12703 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12704
12705 * ibuffer.el: Don't quote `lambda'.
12706 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12707 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12708 Mark unused parameters.
12709
12710 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12711 (ido-completing-read): Mark unused parameters.
12712 (ido-copy-current-word): Mark unused parameters;
12713 remove unused variable `name'.
12714 (ido-sort-merged-list): Remove unused parameter `dirs'.
12715
12716 * ielm.el (ielm-input-sender): Mark unused parameter.
12717 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12718 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12719 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12720 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12721 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12722
12723 * image-dired.el (image-dired-display-thumbs): Remove unused
12724 variables `curr-file' and `count'.
12725 (image-dired-remove-tag): Remove unused variable `start'.
12726 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12727 variable `curr-file'
12728 (image-dired-rotate-original): Remove unused variable `temp-file'.
12729 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12730 Remove unused variable `file'.
12731 (image-dired-gallery-generate): Remove unused variable `curr'.
12732 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12733
12734 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12735
12736 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12737
12738 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12739
12740 * isearch.el (minibuffer-history-symbol): Declare.
12741 (isearch-edit-string): Remove unused variable `err'.
12742 (isearch-message-prefix, isearch-message-suffix):
12743 Mark unused parameters.
12744
12745 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12746
12747 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12748
12749 * makesum.el (double-column): Remove unused variable `cnt'.
12750
12751 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12752 (ido-ignore-item-temp-list): Declare.
12753
12754 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12755 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12756 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12757 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12758 `mouse-col-delta'.
12759
12760 * mouse-sel.el (mouse-extend-internal):
12761 Remove unused variable `orig-window-frame'.
12762
12763 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12764 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12765 Move declarations before first use.
12766 (pcomplete-opt): Mark unused parameters; doc fix.
12767
12768 * proced.el (proced-revert): Mark unused parameter.
12769 (proced-send-signal): Remove unused variable `err'.
12770
12771 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12772 Rename parameter PREFIX-ARG to ARG.
12773 (ps-basic-plot-string, ps-basic-plot-whitespace):
12774 Mark unused parameters.
12775
12776 * replace.el (replace-count): Define.
12777 (occur-revert-function): Mark unused parameters.
12778 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12779 (isearch-case-fold-search, isearch-string): Declare.
12780 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12781 bind `case-fold-search'. Remove unused variables `beg' and `end',
12782 and simplify.
12783 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12784 COUNT and bind `replace-count'.
12785 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12786 to COUNT.
12787
12788 * savehist.el (print-readably, print-string-length): Declare.
12789
12790 * shadowfile.el (shadow-expand-cluster-in-file-name):
12791 Remove unused variable `cluster'.
12792 (shadow-copy-file): Remove unused variable `i'.
12793 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12794 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12795 (shadow-define-literal-group, shadow-define-regexp-group)
12796 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12797
12798 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12799 (shell): Use `called-interactively-p'.
12800 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12801
12802 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12803 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12804 (delete-backward-char): Remove unused variable `ocol'.
12805 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12806 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12807 (event-apply-hyper-modifier, event-apply-shift-modifier)
12808 (event-apply-control-modifier, event-apply-meta-modifier):
12809 Mark unused parameters.
12810 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12811 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12812
12813 * speedbar.el (speedbar-ignored-directory-expressions)
12814 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12815 (speedbar-find-file, speedbar-dir-follow)
12816 (speedbar-directory-buttons-follow, speedbar-tag-find)
12817 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12818 (speedbar-buffers-line-directory, speedbar-buffer-click):
12819 Mark unused parameters.
12820 (speedbar-tag-file): Remove unused variable `mode'.
12821 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12822
12823 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12824
12825 * talk.el (talk): Remove unused variable `display'.
12826
12827 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12828 (tar-write-region-annotate): Mark unused parameter.
12829
12830 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12831 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12832 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12833 warning by another.
12834
12835 * time-stamp.el (time-stamp-string-preprocess):
12836 Remove unused variable `require-padding'.
12837
12838 * tree-widget.el (widget-glyph-enable): Declare.
12839 (tree-widget-action): Mark unused parameter.
12840
12841 * w32-fns.el (x-get-selection): Mark unused parameter.
12842 (autoload-make-program, generated-autoload-file): Declare.
12843
12844 * wdired.el (wdired-revert): Mark unused parameters.
12845 (wdired-xcase-word): Remove unused variable `err'.
12846
12847 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12848 (whitespace-help-scroll): Remove unused variable `data-help'.
12849
12850 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12851 (widget-image-insert, widget-after-change, default)
12852 (widget-default-format-handler, widget-default-notify)
12853 (widget-default-prompt-value, widget-info-link-action)
12854 (widget-url-link-action, widget-function-link-action)
12855 (widget-variable-link-action, widget-file-link-action)
12856 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12857 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12858 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12859 (widget-insert-button-action, widget-delete-button-action, visibility)
12860 (widget-documentation-link-action, widget-documentation-string-action)
12861 (widget-const-prompt-value, widget-regexp-match, symbol)
12862 (widget-coding-system-prompt-value)
12863 (widget-key-sequence-value-to-external, sexp)
12864 (widget-sexp-value-to-internal, character, vector, cons)
12865 (widget-choice-prompt-value, widget-boolean-prompt-value)
12866 (widget-color--choose-action): Mark unused parameters.
12867 (widget-item-match-inline, widget-choice-match-inline)
12868 (widget-checklist-match, widget-checklist-match-inline)
12869 (widget-group-match): Rename parameter VALUES to VALS.
12870 (widget-field-value-set): Remove unused variable `size'.
12871 (widget-color-action): Remove unused variables `value' and `start'.
12872
12873 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12874 variable `dir'. Doc fix.
06b60517
JB
12875 (windmove-find-other-window): Don't pass it.
12876
12877 * window.el (count-windows): Mark unused parameter.
12878 (bw-adjust-window): Remove unused variable `err'.
12879
12880 * woman.el (woman-file-name): Remove unused variable `default'.
12881 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12882 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12883 (global-font-lock-mode): Declare.
12884 (woman-decode-region): Mark unused parameter.
12885 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12886
12887 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12888 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12889 (x-dnd-handle-moz-url): Remove unused variable `title'.
12890 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12891
12892 * xml.el (xml-parse-tag, xml-parse-attlist):
12893 Remove unused variable `pos'.
12894
bc4f7f3d
GM
128952011-04-19 Glenn Morris <rgm@gnu.org>
12896
12897 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12898 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12899 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12900 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12901 * calendar/cal-html.el (cal-html-insert-minical):
12902 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12903 (calendar-mark-date-pattern):
12904 Prefix "unused" locals.
12905
12906 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12907 optional argument `style'.
12908
12909 * calendar/appt.el (appt-make-list):
12910 * calendar/cal-china.el (calendar-chinese-date-string):
12911 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12912 (diary-hebrew-yahrzeit):
12913 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12914 * calendar/calendar.el (calendar-generate-window):
12915 * calendar/time-date.el (time-to-days):
12916 Remove unused local variables.
12917
16a43933
CY
129182011-04-18 Chong Yidong <cyd@stupidchicken.com>
12919
12920 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12921 glyphless-char-display table.
12922 (tabulated-list-glyphless-char-display): New var.
12923
7eed1860
SS
129242011-04-18 Sam Steingold <sds@gnu.org>
12925
12926 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12927 to acknowledgments.
12928
4d2d1ccd
GM
129292011-04-17 Glenn Morris <rgm@gnu.org>
12930
12931 * calendar/diary-lib.el (diary-sexp-entry):
12932 * calendar/holidays.el (holiday-sexp):
12933 Set debug-on-error rather than the removed stack-trace-on-error.
12934
239da61d
GM
129352011-04-16 Glenn Morris <rgm@gnu.org>
12936
12937 * progmodes/f90.el: Use lexical-binding.
12938 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12939
8b05752a
SM
129402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12941
daca8ba5
SM
12942 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12943 (mail-mode): Setup mailalias completion here instead.
12944 * mail/mailalias.el: Use lexical-binding.
12945 (pattern, mailalias-done): Declare dynamic.
12946 (mail-completion-at-point-function): New function, from mail-complete.
12947 (mail-complete): Use it.
12948 (mail-completion-expand): New function.
12949 (mail-get-names): Use it.
12950 (mail-directory, mail-directory-process, mail-directory-stream):
12951 Don't use `pattern' for lexically bound arg.
12952
6f542485
SM
12953 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12954
037e7c3f
SM
12955 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12956 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12957 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12958
8b05752a
SM
12959 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12960 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12961 (byte-interactive-p): Define them again, for use when inlining
12962 old code.
12963
49093f60
JB
129642011-04-15 Juanma Barranquero <lekktu@gmail.com>
12965
12966 * loadup.el: Use `string-to-number', not `string-to-int'.
12967
b5b8e7de
SM
129682011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12971 gud-gdb-complete-command.
12972 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12973 (gud-gdb-completion-at-point): New function.
12974 (gud-gdb-completions): Remove.
12975
f42efeb5
MA
129762011-04-14 Michael Albinus <michael.albinus@gmx.de>
12977
49093f60
JB
12978 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12979 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12980 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12981 whether `executable-find' is bound.
f42efeb5
MA
12982
12983 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12984
e240cc21
SM
129852011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * minibuffer.el (completion-in-region-mode-predicate)
12988 (completion-in-region-mode--predicate): New vars.
12989 (completion-in-region, completion-in-region--postch)
12990 (completion-in-region-mode): Use them.
12991 (completion--capf-wrapper): Also return the hook function.
12992 (completion-at-point, completion-help-at-point):
12993 Adjust and provide a predicate.
c2bd2ab0
SM
12994
12995 Preserve arg names for advice of subr and lexical functions (bug#8457).
12996 * help-fns.el (help-function-arglist): Consolidate the subr and
12997 new-byte-code cases. Add argument `preserve-names' to extract names
12998 from the docstring when needed.
12999 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13000 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13001 (ad-arglist): Use help-function-arglist's new arg.
13002 (ad-definition-type): Use cond.
13003
c183f693
JB
130042011-04-13 Juanma Barranquero <lekktu@gmail.com>
13005
06641a47
JB
13006 * autorevert.el (auto-revert-handler):
13007 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13008 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13009 Don't quote lambda.
13010
c183f693
JB
13011 * image-mode.el (image-transform-set-scale):
13012 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13013
1e3b6001
G
130142011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13015
13016 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13017 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13018 Upgrades via gnutls-cli are too slow to be done opportunistically.
13019
2d6af8dd
JB
130202011-04-12 Juanma Barranquero <lekktu@gmail.com>
13021
13022 * dframe.el (dframe-current-frame): Remove spurious quote.
13023
c0749a51
GM
130242011-04-12 Glenn Morris <rgm@gnu.org>
13025
088d0d61
GM
13026 * calendar/cal-tex.el (cal-tex-end-document):
13027 Try to automatically use latin1 input if needed.
13028
c0749a51
GM
13029 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13030 Don't try to cons a mark onto an empty element.
13031
5c90fde0
LL
130322011-04-11 Leo Liu <sdl.web@gmail.com>
13033
13034 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13035 buffers.
13036 (ido-kill-buffer-at-head): Support killing virtual buffers.
13037
369e974d
CY
130382011-04-10 Chong Yidong <cyd@stupidchicken.com>
13039
13040 * minibuffer.el (completion-show-inline-help): New var.
13041 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13042 (minibuffer-force-complete, minibuffer-complete-word):
13043 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13044
13045 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13046 to avoid interference from inline help (Bug#5849).
13047
37f1c930
LL
130482011-04-10 Leo Liu <sdl.web@gmail.com>
13049
099c39a4
JB
13050 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13051 Fix typo.
37f1c930 13052
a32d4040
CY
130532011-04-09 Chong Yidong <cyd@stupidchicken.com>
13054
13055 * image-mode.el (image-toggle-display-image): Signal an error if
13056 not in Image mode.
13057 (image-transform-mode, image-transform-resize)
13058 (image-transform-set-rotation): Doc fix.
daca8ba5 13059 (image-transform-set-resize): Delete.
a32d4040
CY
13060 (image-transform-set-scale, image-transform-fit-to-height)
13061 (image-transform-fit-to-width): Handle image-toggle-display-image
13062 and image-transform-resize directly.
13063
099c39a4 130642011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13065
13066 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13067 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13068 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13069 (doc-view-mode-map): Add bindings for the new functions.
13070
099c39a4 130712011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13072
4d61f28d 13073 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13074 Fix typo in docstring.
13075
3726838a
EZ
130762011-04-08 Eli Zaretskii <eliz@gnu.org>
13077
04f33f1e
EZ
13078 * files.el (file-size-human-readable): Produce one digit after
13079 decimal, like "ls -lh" does.
13080
13081 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13082 the file size representation.
13083
3726838a
EZ
13084 * simple.el (list-processes): If async subprocesses are not
13085 available, error out with a clear error message.
13086
cbb59342
CY
130872011-04-08 Chong Yidong <cyd@stupidchicken.com>
13088
13089 * help.el (help-form-show): New function, to be called from C.
13090 Put help-form output in a buffer named differently than *Help*.
13091
e3971c44
EZ
130922011-04-08 Eli Zaretskii <eliz@gnu.org>
13093
13094 * files.el (file-size-human-readable): New function.
13095
13096 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13097 computing the representation inline. Don't require `cl'.
13098
12544bbe
GM
130992011-04-08 Glenn Morris <rgm@gnu.org>
13100
a1de6c6a
GM
13101 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13102
3c4671f4
GM
13103 * net/browse-url.el (browse-url-firefox):
13104 Test system-type, not system-configuration.
13105
b605679c
GM
13106 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13107 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13108 Use log-edit-empty-buffer-p. (Bug#7598)
13109
56442f0c
GM
13110 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13111 (rlogin-mode-map): Initialize in the defvar.
13112 (rlogin): Use ignore-errors.
13113
12544bbe
GM
13114 * replace.el (occur-mode-map): Some fixes for menu items.
13115
eb237b0f
AH
131162011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13117
13118 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13119
7d668f2c
CY
131202011-04-06 Chong Yidong <cyd@stupidchicken.com>
13121
e67a13ab
CY
13122 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13123 issuing unused warnings.
13124
13125 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13126 macro directly.
13127
7d668f2c
CY
13128 * simple.el: Lisp reimplement of list-processes. Based on an
13129 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13130 (process-menu-mode): New major mode.
13131 (list-processes--refresh, list-processes):
13132 (process-menu-visit-buffer): New functions.
13133
13134 * files.el (save-buffers-kill-emacs): Don't assume any return
13135 value of list-processes, which is undocumented anyway.
13136
a83ec3c9
CY
131372011-04-06 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * emacs-lisp/tabulated-list.el: New file.
13140
e91a96fe
CY
13141 * emacs-lisp/package.el: Use Tabulated List mode.
13142 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13143 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13144 table format using Tabulated List mode variables.
13145 (package--push): New macro, replacing package-list-maybe-add.
13146 (package-menu--generate): Use package--push. Renamed from
13147 package--generate-package-list.
13148 (package-menu-refresh, list-packages): Use it.
daca8ba5 13149 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13150 Return insertion data instead of inserting it directly.
099c39a4
JB
13151 (package-menu-describe-package, package-menu-execute):
13152 Use tabulated-list-get-id.
e91a96fe
CY
13153 (package-menu-mark-delete, package-menu-mark-install)
13154 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13155 (package-menu-mark-obsolete-for-deletion):
13156 Use tabulated-list-put-tag.
e91a96fe
CY
13157 (package--list-packages, package-menu-revert)
13158 (package-menu-get-package, package-menu-get-version)
13159 (package-menu-sort-by-column): Functions deleted.
13160 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13161 (package-menu--status-predicate, package-menu--version-predicate)
13162 (package-menu--name-predicate)
13163 (package-menu--description-predicate): Handle arguments in the
13164 Tabulated List format.
13165 (package-list-packages-no-fetch): Call list-packages.
13166
3e214b50
JB
131672011-04-06 Juanma Barranquero <lekktu@gmail.com>
13168
13169 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13170 (after-find-file): Don't bind it.
3e214b50
JB
13171 (revert-buffer-in-progress-p): New variable.
13172 (revert-buffer): Bind it.
13173 Pass nil for `after-find-file-from-revert-buffer'.
13174
13175 * saveplace.el (save-place-find-file-hook): Use new variable
13176 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13177
3f0f1700
GM
131782011-04-06 Glenn Morris <rgm@gnu.org>
13179
c0274801
GM
13180 * Makefile.in (AUTOGEN_VCS): New variable.
13181 (autoloads): Use $AUTOGEN_VCS.
13182
3f0f1700
GM
13183 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13184 * calendar/calendar.el (calendar-mode-map):
13185 Check for toolkit scroll bars. (Bug#8305)
13186
41ea9e48
CY
131872011-04-05 Chong Yidong <cyd@stupidchicken.com>
13188
13189 * minibuffer.el (completion-in-region--postch)
13190 (completion-in-region-mode): Remove unnecessary messages.
13191
6194c800
JB
131922011-04-05 Juanma Barranquero <lekktu@gmail.com>
13193
33256f14
JB
13194 * font-lock.el (font-lock-refresh-defaults):
13195 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13196 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13197
6194c800
JB
13198 * info.el (Info-directory-list, Info-read-node-name-2)
13199 (Info-split-parameter-string): Doc fixes.
13200 (Info-virtual-nodes): Reflow docstring.
13201 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13202 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13203 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13204 Fix typos in docstrings.
13205 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13206 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13207 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13208 (Info-restore-desktop-buffer): Mark unused parameters.
13209 (Info-directory-find-file, Info-directory-find-node)
13210 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13211 (Info-virtual-index-find-node, Info-apropos-find-file)
13212 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13213 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13214 (Info-virtual-index): Remove unused local variable `nodename'.
13215
b87a8200 132162011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13217
b87a8200
DD
13218 * net/rcirc.el: Update my e-mail address.
13219 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13220
3b2ff876
CY
132212011-04-05 Chong Yidong <cyd@stupidchicken.com>
13222
13223 * startup.el (command-line): Save the cursor's theme-face
13224 directly, instead of using face-override-spec.
13225
13226 * custom.el (load-theme): Minor optimization in assigning faces.
13227
8d17e7ca
JB
132282011-04-04 Juanma Barranquero <lekktu@gmail.com>
13229
13230 * help-fns.el (describe-variable): Complete all variables having
13231 documentation, including keywords.
13232 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13233
2fbc1934
JB
132342011-04-04 Juanma Barranquero <lekktu@gmail.com>
13235
13236 Convert to lexical-binding.
13237
13238 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13239 (bs--get-marked-string, bs--get-modified-string)
13240 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13241 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13242 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13243
13244 * ehelp.el (electric-help-execute-extended)
13245 (electric-help-ctrl-x-prefix):
13246 * hexl.el (hexl-revert-buffer-function):
13247 * linum.el (linum-after-change, linum-after-scroll):
13248 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13249
13250 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13251
74f50695
DU
132522011-04-04 Daiki Ueno <ueno@unixuser.org>
13253
13254 * epa-dired.el:
13255 * epa-mail.el:
13256 * epa-hook.el:
13257 * epa-file.el:
13258 * epa.el:
13259 * epg.el: Use lexical binding.
13260
c11325f7
CY
132612011-04-03 Chong Yidong <cyd@stupidchicken.com>
13262
0d9e9a12
CY
13263 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13264
c11325f7 13265 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13266 dictionary case for flyspell-mark-duplications-exceptions.
13267 Use regexp matching for languages.
c11325f7
CY
13268 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13269 default dictionary (Bug#7926).
13270
da91b5f2
CY
132712011-04-02 Chong Yidong <cyd@stupidchicken.com>
13272
099c39a4
JB
13273 * emacs-lisp/package.el (package--with-work-buffer):
13274 Recognize https URLs.
da91b5f2 13275
099c39a4
JB
13276 * net/network-stream.el: Move from gnus/proto-stream.el.
13277 Change prefix to network-stream throughout.
da91b5f2
CY
13278 (open-protocol-stream): Merge into open-network-stream, leaving
13279 open-protocol-stream as an alias. Handle nil BUFFER args.
13280
13281 * subr.el (open-network-stream): Move to net/network-stream.el.
13282
afa8e9f6
GM
132832011-04-02 Glenn Morris <rgm@gnu.org>
13284
1d2e369d
GM
13285 * find-dired.el (find-exec-terminator): New option.
13286 (find-ls-option): Test for -ls support.
13287 (find-ls-subdir-switches): Test for -b in find-ls-option.
13288 (find-dired, find-grep-dired): Doc fixes.
13289 (find-dired): Use find-exec-terminator.
13290
8abb7da8 13291 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13292 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13293 (find-name-arg): Remove purecopy.
8abb7da8 13294
f3ca7378
GM
13295 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13296 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13297 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13298 accordingly. Don't add the null-device if not needed.
13299
afa8e9f6
GM
13300 * files.el (save-some-buffers): Doc fix.
13301
35eae264
EZ
133022011-04-02 Eli Zaretskii <eliz@gnu.org>
13303
13304 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13305
26b51db5
JB
133062011-04-01 Juanma Barranquero <lekktu@gmail.com>
13307
13308 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13309 Use `dolist' rather than `mapcar'.
13310
7200d79c
SM
133112011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13312
03408648 13313 Add lexical binding.
7200d79c 13314
03408648
SM
13315 * subr.el (apply-partially): Use new closures rather than CL.
13316 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13317 (dolist, dotimes): Use slightly different expansion for lexical code.
13318 (functionp): Move to C.
13319 (letrec): New macro.
13320 (with-wrapper-hook): Use it and apply-partially instead of CL.
13321 (eval-after-load): Preserve lexical-binding.
13322 (save-window-excursion, with-output-to-temp-buffer): Turn them
13323 into macros.
7200d79c 13324
03408648
SM
13325 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13326
13327 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13328 than the arglist.
13329 (help-add-fundoc-usage): Don't add `Not documented'.
13330 (help-function-arglist): Handle closures, subroutines, and new
13331 byte-code-functions.
13332 (help-make-usage): Remove leading underscores.
13333 (describe-function-1): Handle closures.
13334 (describe-variable): Use special-variable-p for completion.
13335
13336 * files.el (lexical-binding): Declare safe.
f488fb65 13337
03408648
SM
13338 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13339 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13340 (pcase): Add `let' pattern.
13341 Change memoization so it actually works.
13342 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13343 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13344 <let>: New case.
f488fb65 13345
03408648
SM
13346 * emacs-lisp/macroexp.el: Use lexical binding.
13347 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13348 Don't convert ' to #' without checking that it's indeed quoting
13349 a lambda.
13350
13351 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13352 Use eval-sexp-add-defvars.
03408648
SM
13353 (eval-sexp-add-defvars): New fun.
13354
13355 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13356
13357 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13358 Don't autoload.
13359 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13360 than the internal `byte-compile-lambda'.
13361 (defmethod): Don't hide code under quotes.
13362 (eieio-defmethod): New `code' argument.
13363
13364 * emacs-lisp/eieio-comp.el: Remove.
13365
13366 * emacs-lisp/edebug.el (edebug-eval-defun)
13367 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13368 (edebug-toggle): Avoid `eval'.
13369
13370 * emacs-lisp/disass.el (disassemble-internal): Handle new
13371 `closure' objects.
13372 (disassemble-1): Handle new byte codes.
13373
13374 * emacs-lisp/cl.el (pushnew): Silence warning.
13375
13376 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13377 (cl-byte-compile-throw): Remove.
13378 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13379
13380 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13381 closures.
13382
13383 * emacs-lisp/cconv.el: New file.
13384
13385 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13386 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13387 (byte-compile-initial-macro-environment):
13388 Handle declare-function here.
13389 (byte-compile--lexical-environment): New var.
13390 (byte-stack-ref, byte-stack-set, byte-discardN)
13391 (byte-discardN-preserve-tos): New lap codes.
13392 (byte-interactive-p): Don't use any more.
13393 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13394 New macros.
13395 (byte-compile-lapcode): Use them and handle new lap codes.
13396 (byte-compile-obsolete): Remove.
13397 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13398 (byte-compile-arglist-warn): Check late def of inlinable funs.
13399 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13400 since they should have been expanded by now.
13401 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13402 (byte-compile-from-buffer): Remove unused second arg.
13403 (byte-compile-preprocess): New function.
13404 (byte-compile-toplevel-file-form): New function to distinguish
13405 file-form calls from outside from file-form calls from hunk-handlers.
13406 (byte-compile-file-form): Simplify.
13407 (byte-compile-file-form-defsubst): Remove.
13408 (byte-compile-file-form-defmumble): Simplify now that
13409 byte-compile-lambda always returns a byte-code-function.
13410 (byte-compile): Preprocess.
13411 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13412 Remove, not used any more.
13413 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13414 (byte-compile-make-args-desc): New funs.
13415 (byte-compile-lambda): Handle lexical functions. Always return
13416 a byte-code-function.
13417 (byte-compile-reserved-constants): New var, to make up room for
13418 closed-over variables.
13419 (byte-compile-constants-vector): Obey it.
13420 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13421 (byte-compile-macroexpand-declare-function): New function.
13422 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13423 byte-code-functions.
13424 (byte-compile-form): Check obsolescence here.
13425 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13426 (byte-compile-variable-ref): Remove.
13427 (byte-compile-dynamic-variable-op): New fun.
13428 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13429 (byte-compile-variable-set): New funs.
13430 (byte-compile-discard): Add 2 args.
13431 (byte-compile-stack-ref, byte-compile-stack-set)
13432 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13433 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13434 macroexpand-all instead.
13435 (byte-compile-quote-form): Remove.
13436 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13437 (byte-compile-bind, byte-compile-unbind): New funs.
13438 (byte-compile-let): Handle let* and lexical binding.
13439 (byte-compile-let*): Remove.
13440 (byte-compile-catch, byte-compile-unwind-protect)
13441 (byte-compile-track-mouse, byte-compile-condition-case):
13442 Handle a new :fun-body form, used for lexical scoping.
13443 (byte-compile-save-window-excursion)
13444 (byte-compile-with-output-to-temp-buffer): Remove.
13445 (byte-compile-defun): Simplify.
13446 (byte-compile-stack-adjustment): New fun.
13447 (byte-compile-out): Use it.
13448 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13449
13450 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13451 handler any more.
13452
13453 * emacs-lisp/byte-opt.el: Use lexical binding.
13454 (byte-inline-lapcode): Remove (to bytecomp).
13455 (byte-compile-inline-expand): Pay attention to inlining to/from
13456 lexically bound code.
13457 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13458 any more.
13459 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13460 any more and don't call compiler-macros.
13461 (byte-compile-splice-in-already-compiled-code): Remove.
13462 (byte-code): Don't inline any more.
13463 (disassemble-offset): Receive `bytes' as argument rather than via
13464 dynamic scoping.
13465 (byte-compile-tag-number): Declare before first use.
13466 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13467 `return' even if make-spliceable.
13468 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13469 obsolete interactive-p.
13470 (byte-optimize-lapcode): Optimize new lap-codes.
13471 Don't trip up on new form of `byte-constant' lap code.
13472
13473 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13474
13475 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13476
13477 * custom.el (custom-initialize-default, custom-declare-variable):
13478 Use `defvar'.
13479
13480 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13481 New variables.
13482 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13483 (COMPILE_FIRST): Add macroexp and cconv.
13484 * makefile.w32-in: Mirror changes in Makefile.in.
13485
13486 * vc/cvs-status.el:
13487 * vc/diff-mode.el:
13488 * vc/log-edit.el:
13489 * vc/log-view.el:
13490 * vc/smerge-mode.el:
13491 * textmodes/bibtex-style.el:
13492 * textmodes/css.el:
13493 * startup.el:
13494 * uniquify.el:
da91b5f2
CY
13495 * minibuffer.el:
13496 * newcomment.el:
13497 * reveal.el:
13498 * server.el:
13499 * mpc.el:
13500 * emacs-lisp/smie.el:
13501 * doc-view.el:
13502 * dired.el:
03408648
SM
13503 * abbrev.el: Use lexical binding.
13504
0f0c1f27
EZ
135052011-04-01 Eli Zaretskii <eliz@gnu.org>
13506
13507 * info.el (info-display-manual): New function.
13508
c82b2579
SM
135092011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13512
221ddf68
TH
135132011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13514
13515 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13516 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13517
cba6e77e
GM
135182011-03-31 Glenn Morris <rgm@gnu.org>
13519
e040639f
GM
13520 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13521
cba6e77e
GM
13522 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13523
6d0f1c9e
CS
135242011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13525
13526 * progmodes/python.el (python-default-interpreter)
13527 (python-python-command-args, python-jython-command-args)
13528 (python-which-shell, python-which-args, python-which-bufname)
13529 (python-file-queue, python-comint-output-filter-function)
13530 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13531 variables and functions.
13532
3e2d70fd
SM
135332011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13536 (completion-in-region-mode): New minor mode.
13537 (completion-in-region): Use it.
13538 (completion-in-region--data, completion-in-region-mode-map): New vars.
13539 (completion-in-region--postch): New function.
13540 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13541 New vars.
13542 (completion--capf-wrapper): New function.
13543 (completion-at-point): Use it to track well-behavedness of
13544 hook functions.
13545 (completion-help-at-point): New command.
13546
f3e4086c
JM
135472011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13548
13549 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13550 syntax class to search for whitespace on a single line
13551 (Message-ID: <4D938140.4030905@redhat.com>).
13552
eb7ffc14
LL
135532011-03-30 Leo Liu <sdl.web@gmail.com>
13554
13555 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13556 New commands.
13557 (edit-abbrevs-map): Bind them here.
13558 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13559
d806ab68
KM
135602011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13561
13562 * allout.el (allout-hide-by-annotation, allout-flag-region):
13563 Reduce possibility of overlay leakage by making them volatile.
13564
13565 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13566 hash is not shared between buffers. Mode initialization is
13567 responsible for giving it a useful starting value.
13568 (allout-item-span): Reduce possibility of overlay leakage by
13569 making them volatile.
13570 (allout-widgets-count-buttons-in-region): Add diagnostic function
13571 for tracking down button overlay leaks.
13572
ea622834
LL
135732011-03-29 Leo Liu <sdl.web@gmail.com>
13574
13575 * ido.el (ido-read-internal): Use the default history var
13576 minibuffer-history if no HISTORY is specified.
13577
b62f8267
G
135782011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13579
03408648
SM
13580 * net/imap.el (imap-shell-open, imap-process-connection-type):
13581 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13582 Kerberos, SSL, other subprocesses.
13583
947b6566
LL
135842011-03-28 Leo Liu <sdl.web@gmail.com>
13585
13586 * abbrev.el (abbrev-table-empty-p): New function.
13587 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13588 nonempty ones. (Bug#5937)
13589
5ffb62aa
JD
135902011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13591
13592 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13593
7a097943
LL
135942011-03-27 Leo Liu <sdl.web@gmail.com>
13595
13596 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13597 for foreground and background colors.
13598 (ansi-color-make-color-map): Adapt.
13599
c5b40130
LL
136002011-03-25 Leo Liu <sdl.web@gmail.com>
13601
1f48f7d2
LL
13602 * midnight.el (midnight-time-float): Remove. Note it calculates
13603 the microsecond component incorrectly and seconds-to-time does the
13604 same job.
625897ec 13605 Remove redundant (require 'timer).
1f48f7d2 13606
c5b40130
LL
13607 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13608 (ido-completions): Remove unused arguments. (Bug#8329)
13609
d86d2721
SM
136102011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * minibuffer.el (completion--flush-all-sorted-completions):
13613 Remove itself from hook.
13614 (completion-at-point): Let the functions perform the completion
13615 immediately and return nil or t.
13616 * comint.el (comint-dynamic-complete-functions): Now identical to
13617 completion-at-point-functions.
13618 (comint-dynamic-list-input-ring): Remove unused var `index'.
13619 (comint--match-partial-filename, comint--unquote&expand-filename):
13620 New funs, split from comint-match-partial-filename.
13621 (comint-dynamic-complete): Use completion-at-point.
13622 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13623
e8974c48
DA
136242011-03-24 Drew Adams <drew.adams@oracle.com>
13625
13626 * thingatpt.el: Support `defun'.
13627
def71b5e
LL
136282011-03-23 Leo Liu <sdl.web@gmail.com>
13629
cb5af48e
LL
13630 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13631
def71b5e
LL
13632 * help-mode.el (help-mode-finish): Tweak regexp.
13633
927c53e7
GM
136342011-03-23 Glenn Morris <rgm@gnu.org>
13635
18d05bed
GM
13636 * eshell/esh-opt.el (eshell-eval-using-options):
13637 Do not bind unused local variable `eshell-option-stub'.
13638
927c53e7
GM
13639 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13640
9d0da923
JB
136412011-03-22 Juanma Barranquero <lekktu@gmail.com>
13642
13643 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13644 keymap variable in `with-no-warnings' to avoid a warning when the
13645 keymap has been already `defconst'ed.
13646
4b978a67
LL
136472011-03-22 Leo Liu <sdl.web@gmail.com>
13648
13649 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13650 encode all chars in abbrevs; otherwise use emacs-mule or
13651 utf-8-emacs. (Bug#8308)
13652
5fd62452
JB
136532011-03-22 Juanma Barranquero <lekktu@gmail.com>
13654
0b1596c6
JB
13655 * simple.el (backward-delete-char-untabify):
13656 Avoid warning about using `delete-backward-char'.
13657
5fd62452
JB
13658 * image.el (image-type-file-name-regexps): Make it variable.
13659 `imagemagick-register-types' modifies it, and the user may want
13660 to add new extensions for known image types.
13661 (imagemagick-register-types): Throw error if not using ImageMagick.
13662
0b4e93f1
LL
136632011-03-22 Leo Liu <sdl.web@gmail.com>
13664
13665 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13666 located before rcirc-prompt-end-marker.
13667 (rcirc-complete): Error if point is not after rcirc prompt.
13668 Handle the case when table is nil.
9882e214 13669 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13670
fccee4ab
CY
136712011-03-22 Chong Yidong <cyd@stupidchicken.com>
13672
13673 * custom.el (custom--inhibit-theme-enable): Make it affect only
13674 custom-theme-set-variables and custom-theme-set-faces.
13675 (provide-theme): Ignore custom--inhibit-theme-enable.
13676 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13677 (custom-enabling-themes): Delete variable.
d86d2721
SM
13678 (enable-theme): Accept only loaded themes as arguments.
13679 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13680 (custom-enabled-themes): Forbid themes from setting this.
13681 Eliminate use of custom-enabling-themes.
13682 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13683
af896da6
LL
136842011-03-21 Leo Liu <sdl.web@gmail.com>
13685
13686 * ido.el (ido-read-internal): Add ido-selected to history instead
13687 of user input.
13688
78f64af0
SM
136892011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * subr.el (deferred-action-list, deferred-action-function):
13692 Mark obsolete.
13693
b16ac1ec
LL
136942011-03-21 Leo Liu <sdl.web@gmail.com>
13695
810f7698
LL
13696 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13697 change on 2011-02-13 (bug#8309).
13698
b16ac1ec
LL
13699 * minibuffer.el (read-file-name-function): Change default value.
13700 (read-file-name--defaults): Rename from read-file-name-defaults.
13701 (read-file-name-default): Rename from read-file-name.
13702 (read-file-name): Call read-file-name-function.
13703
4e05e67e
GM
137042011-03-21 Glenn Morris <rgm@gnu.org>
13705
13706 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13707 Doc fixes.
13708
4359915b
CY
137092011-03-21 Chong Yidong <cyd@stupidchicken.com>
13710
13711 * cus-theme.el: Add missing provide statement.
13712 (customize-create-theme): Extract theme value correctly.
13713 (custom-theme-visit-theme): Autoload.
13714 (customize-create-theme): Prompt before inserting default faces.
13715
1fe275ee
JB
137162011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13717
13718 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13719 units and musical notes.
13720
cd394be1 137212011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13722
13723 * ido.el (ido-read-internal): Use completing-read-default.
13724 (ido-completing-read): Fix compatibility with completing-read.
13725
7d476bde
CO
137262011-03-20 Christian Ohler <ohler@gnu.org>
13727
13728 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13729 (ert-delete-all-tests): Use `called-interactively-p' rather than
13730 `interactive-p'.
13731 (ert--make-xrefs-region): Respect END.
13732
fe0fb33e
CY
137332011-03-19 Chong Yidong <cyd@stupidchicken.com>
13734
ff854b0b
CY
13735 * dired-aux.el (dired-create-directory): Signal an error if the
13736 directory already exists (Bug#8246).
13737
fe0fb33e
CY
13738 * facemenu.el (list-colors-display): Call list-faces-display
13739 inside with-help-window.
13740 (list-colors-print): Use display property to align the final
13741 column, instead of checking window-width.
13742
576bce32
EZ
137432011-03-19 Eli Zaretskii <eliz@gnu.org>
13744
4d61f28d 13745 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13746 windows-nt systems.
13747 (emerge-protect-metachars): Quote correctly for ms-dos and
13748 windows-nt systems.
13749
89c41d68 137502011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13751
13752 * info.el (info-initialize): Replace all uses of `:' with
13753 path-separator for compatibility with non-Unix systems.
13754 Cache quoting of path-separator. (Bug#8258)
13755
b14e3e21 137562011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13757
13758 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13759 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13760 (mouse-avoidance-mode): Fix typos in docstrings.
13761
4525ce3e
CY
137622011-03-19 Chong Yidong <cyd@stupidchicken.com>
13763
13764 * startup.el (package-subdirectory-regexp): Move from package.el.
13765 Omit \\` and \\', and let callers add them.
13766
13767 * emacs-lisp/package.el (package-strip-version)
13768 (package-load-all-descriptors): Add \\` and \\' to
13769 package-subdirectory-regexp before using it.
13770 (package-untar-buffer): New arg DIR; ensure that file untars only
13771 into this expected directory. Remove superfluous delete-region.
13772 (package-unpack): Caller changed.
13773 (package-tar-file-info): Use package-subdirectory-regexp.
13774
a904a09a 137752011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13776
a904a09a
SM
13777 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13778 diff-mode-shared-map (bug#8284).
13779 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13780
137812011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13782
13783 * calendar/time-date.el (format-seconds): Use assoc instead of
13784 assoc-string, since assoc-string doesn't exist in XEmacs.
13785
171fc304
JB
137862011-03-17 Juanma Barranquero <lekktu@gmail.com>
13787
13788 * custom.el (custom-known-themes): Reflow docstring.
13789 (custom-theme-load-path): Fix typo in docstring.
13790 (load-theme): Fix typo in error message.
13791 (custom-available-themes, custom-variable-theme-value):
13792 Use `let', not `let*'.
13793
d71990a1
JB
137942011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13795
13796 * calc/README: Mention inclusion of musical notes.
13797
13798 * calc/calc-units.el (calc-lu-quant): Rename from
13799 `calc-logunits-quantity'.
13800 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13801 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13802 (calc-db): Rename from `calc-dblevel'.
13803 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13804 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13805 (calc-np): Rename from `calc-nplevel'.
13806 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13807 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13808 (calc-lu-plus): Rename from `calc-logunits-add'.
13809 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13810 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13811 (calc-lu-minus): Rename from `calc-logunits-sub'.
13812 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13813 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13814 (calc-lu-times): Rename from `calc-logunits-mul'.
13815 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13816 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13817 (calc-lu-divide): Rename from `calc-logunits-div'.
13818 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13819 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13820
13821 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13822 functions being autoloaded.
13823
13824 * calc/calc.el (calc-lu-power-reference): Rename from
13825 `calc-logunits-power-reference'.
13826 (calc-lu-field-reference): Rename from
13827 `calc-logunits-field-reference'.
13828
7a71b18d
GM
13829 * calc/calc-help.el (calc-l-prefix-help):
13830 Mention musical note functions.
d71990a1 13831
40c2934b
SM
138322011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * minibuffer.el (completion-all-sorted-completions):
13835 Use :completion-cycle-penalty text property if present.
13836
b0911414
KM
138372011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13838
13839 * allout.el (allout-yank-processing): Adjust for new rebulleting
13840 regime so bullet being yanked is used without prompting the user
13841 for a choice.
13842
8a05b668
JB
138432011-03-16 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * startup.el (command-line): Warn the user that _emacs is deprecated.
13846
5ba5fb81
JB
138472011-03-16 Juanma Barranquero <lekktu@gmail.com>
13848
13849 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13850 (delphi-verbose, delphi-comment-face, delphi-string-face)
13851 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13852 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13853 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13854 (delphi-new-comment-line, delphi-font-lock-defaults)
13855 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13856 Fix typos in docstrings.
13857
2dab465b
KM
138582011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13859
5ba5fb81 13860 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13861 Invert the roles of character and string values for INSTEAD, so a
13862 string is used for the more common case of a defaulting prompt.
13863
0adf5618
SM
138642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * progmodes/ruby-mode.el (ruby-backward-sexp):
13867 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13868 * play/gamegrid.el (gamegrid-make-face):
13869 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13870 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13871 * notifications.el (notifications-notify):
13872 * net/xesam.el (xesam-search-engines):
13873 * net/quickurl.el (quickurl-list-insert):
13874 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13875
d72700e5
CY
138762011-03-15 Chong Yidong <cyd@stupidchicken.com>
13877
13878 * startup.el (command-line): Update package subdirectory regexp.
13879
49c5410a
SM
138802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13881
c6eee9aa
SM
13882 * allout.el (allout-abbreviate-flattened-numbering)
13883 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13884
49c5410a
SM
13885 * subr.el (read-char-choice): Only show the cursor after the prompt,
13886 not after the answer.
13887
047b2bb9
KR
138882011-03-15 Kevin Ryde <user42@zip.com.au>
13889
13890 * help-fns.el (variable-at-point): Skip leading quotes, if any
13891 (bug#8253).
13892
0a57d256
SM
138932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13896 warning message.
13897
77c992bc
MA
138982011-03-14 Michael Albinus <michael.albinus@gmx.de>
13899
13900 * shell.el (shell): When called interactively, offer to change the
13901 shell file name on remote hosts.
13902
eebc475d
TZ
139032011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13904
13905 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13906 integration for LDAP parameters. The host, base, user or binddn,
13907 and secret tokens can be specified in a netrc file, for instance.
13908 This is optional because an `auth-source' parameter must be
13909 specified in the search attributes.
13910
9d05d1ba
JB
139112011-03-13 Juanma Barranquero <lekktu@gmail.com>
13912
13913 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13914
09d9db2c
GM
139152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13918 into declaration. Remove redundant and harmful binding.
13919
139202011-03-12 Eli Zaretskii <eliz@gnu.org>
13921
13922 * files.el (file-ownership-preserved-p): Pass `integer' as an
13923 explicit 2nd argument to `file-attributes'. If the file's owner
13924 is the Administrators group on Windows, and the current user is
13925 Administrator, consider that a match.
13926
13927 * server.el (server-ensure-safe-dir): Consider server directory
13928 safe on MS-Windows if its owner is the Administrators group while
13929 the current Emacs user is Administrator. Use `=' to compare
13930 numerical UIDs, since they could be integers or floats.
13931
219bd536
JB
139322011-03-12 Juanma Barranquero <lekktu@gmail.com>
13933
13934 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13935
f3afd36b
MA
139362011-03-12 Michael Albinus <michael.albinus@gmx.de>
13937
13938 Sync with Tramp 2.2.1.
13939
13940 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13941
13942 * net/trampver.el: Update release number.
13943
3aaaa6f1
SM
139442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13945
94642599
SM
13946 * progmodes/compile.el (compilation--previous-directory): Fix up
13947 various nil/dead-marker mismatches (bug#8014).
13948 (compilation-directory-properties, compilation-error-properties):
13949 Don't call it at a position past the one we're about to change.
13950
3aaaa6f1
SM
13951 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13952 Disable obsolescence warnings in the file that declares it.
13953
14239447
KM
139542011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13955
099c39a4
JB
13956 * allout-widgets.el (allout-widgets-tally):
13957 Initialize allout-widgets-tally as a hash table rather than nil to
13958 prevent mode-line redisplay warnings. Also, clarify the module
13959 description and fix a comment typo.
14239447 13960
135e287c
JB
139612011-03-11 Juanma Barranquero <lekktu@gmail.com>
13962
13963 * help-fns.el (describe-variable): Don't complete keywords.
13964 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13965
ffbf300e
CY
139662011-03-10 Chong Yidong <cyd@stupidchicken.com>
13967
ba08b241
CY
13968 * emacs-lisp/package.el (package-version-join): Impose a standard
13969 string representation for pre/alpha/beta version lists.
13970 (package-unpack-single): Standardize the directory name by passing
13971 it through package-version-join.
13972 (package-strip-rcs-id): Accept any version string that does not
13973 signal an error in version-to-list.
ffbf300e 13974
f346fd6b
MA
139752011-03-10 Michael Albinus <michael.albinus@gmx.de>
13976
13977 * simple.el (delete-trailing-whitespace): Return nil for the
13978 benefit of `write-file-functions'.
13979
ccb55d27
GM
139802011-03-10 Glenn Morris <rgm@gnu.org>
13981
5ceaac0c
GM
13982 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13983
02da65ff
GM
13984 * vc/vc-git.el (vc-git-program): New option.
13985 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13986 (vc-git--call): Use it.
13987
b2f603cc
GM
13988 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13989
5772caab
GM
13990 * cus-edit.el (Custom-newline): If no button at point, look
13991 for a subgroup button at start-of-line. (Bug#2298)
13992
ccb55d27
GM
13993 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13994
ec6ecaed
JD
139952011-03-10 Julien Danjou <julien@danjou.info>
13996
13997 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13998 `cursor-type' is nil.
13999
9d5aa01d
JB
140002011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14001
14002 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14003
b6a5875b
KM
140042011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14005
7a71b18d 14006 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14007 preserves the existing header prefix, rebulleting it if necessary,
14008 rather than replacing it. This is necessary for proper operation
14009 of cooperative addons like allout-widgets.
1154d12e
JB
14010 (allout-make-topic-prefix, allout-rebullet-heading):
14011 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14012 value as alternate bullet to be used, instead of prompting the user
14013 for a bullet character.
b6a5875b 14014
ee545c35
MA
140152011-03-09 Michael Albinus <michael.albinus@gmx.de>
14016
d86d2721
SM
14017 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14018 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14019 `tramp-default-port'.
14020
c47971d7
DD
140212011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14022
14023 * net/rcirc.el (rcirc-handler-001): Remove useless
14024 with-rcirc-process-buffer.
14025 (rcirc-check-auth-status): Swap arguments to string-match.
14026
13522cb4
GM
140272011-03-09 Glenn Morris <rgm@gnu.org>
14028
0be6f4f1
GM
14029 * shell.el (shell-mode):
14030 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14031
13522cb4
GM
14032 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14033 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14034
515de2e3
CY
140352011-03-08 Chong Yidong <cyd@stupidchicken.com>
14036
14037 * emacs-lisp/package.el (package-refresh-contents)
14038 (package-menu-execute): Use condition-case-no-debug.
14039
b511b994
MA
140402011-03-08 Michael Albinus <michael.albinus@gmx.de>
14041
14042 * simple.el (shell-command-to-string): Use `process-file'.
14043
14044 * emacs-lisp/package.el (package-tar-file-info): Handle also
14045 remote files.
14046
d86d2721
SM
14047 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14048 Use `equal' for upload base check.
b511b994 14049
25bbfb31
AM
140502011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14051
14052 * textmodes/texinfo.el (texinfo-environments):
14053 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14054
be996521
GM
140552011-03-08 Glenn Morris <rgm@gnu.org>
14056
e9c8529f
GM
14057 * cus-start.el (cursor-in-non-selected-windows):
14058 Fix :set quoting oddness. (Bug#8192)
14059
be996521
GM
14060 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14061 in some setf expressions. (Bug#2159)
14062
2bb5649e
CY
140632011-03-08 Chong Yidong <cyd@stupidchicken.com>
14064
14065 * custom.el (custom-available-themes): Return themes in
14066 alphabetical order.
14067
33383987 14068See ChangeLog.15 for earlier changes.
e3d51b27
MR
14069
14070;; Local Variables:
14071;; coding: utf-8
e3d51b27
MR
14072;; End:
14073
acaf905b 14074 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14075
14076 This file is part of GNU Emacs.
14077
14078 GNU Emacs is free software: you can redistribute it and/or modify
14079 it under the terms of the GNU General Public License as published by
14080 the Free Software Foundation, either version 3 of the License, or
14081 (at your option) any later version.
14082
14083 GNU Emacs is distributed in the hope that it will be useful,
14084 but WITHOUT ANY WARRANTY; without even the implied warranty of
14085 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14086 GNU General Public License for more details.
14087
14088 You should have received a copy of the GNU General Public License
14089 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.