Remove unused HAVE_* symbols for functions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d14b0029
JB
12012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc.el (calc-ensure-consistent-units): New variable.
4
5 * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
6 New functions.
7 (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
8 `calc-ensure-consistent-units' is non-nil.
9 (calc-extract-units): Fix typo.
10
60c4db3a
SM
112012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12
77f3b62e
SM
13 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14
60c4db3a
SM
15 * textmodes/flyspell.el: Commenting style, plus code simplifications.
16 (flyspell-default-deplacement-commands): Don't spell check after
17 repeated window/frame switches (e.g. triggered by mouse-movement).
18 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
19 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
20 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
21 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
22 Remove unused vars.
23 (flyspell-get-casechars, flyspell-get-not-casechars):
24 Simplify; Don't bother removing a ] just to add it back.
25 * textmodes/ispell.el (ispell-program-name): Use executable-find.
26
b1a10716
RS
272012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
28
29 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
30 New functions.
31 (math-function-table): Add support for more C functions.
32
3f1b25b5
AM
332012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
34
35 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
36 (flyspell-debug-signal-word-checked): Protect delay handling for
37 otherchars against empty otherchars.
38
b581bb5c
SM
392012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
42 their respective macro declarations.
43 * skeleton.el (define-skeleton):
44 * progmodes/compile.el (define-compilation-mode):
45 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
46 (define-ibuffer-filter):
47 * emacs-lisp/generic.el (define-generic-mode):
48 * emacs-lisp/easy-mmode.el (define-minor-mode)
49 (define-globalized-minor-mode):
50 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
51 * emacs-lisp/byte-run.el (defsubst):
52 * custom.el (deftheme): Add doc-string metadata.
53
70b8ef8f
SM
542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
57
b1198e17
SM
582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
59
9abdc45d
SM
60 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
61
b1198e17
SM
62 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
63 * emacs-lisp/cl-macs.el: Idem.
64 * emacs-lisp/cl-specs.el: Remove.
65
4735906a
SM
662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 Minor renaming of internal CL functions and variables.
69 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
70 (cl--position): Rename from cl-position.
71 (cl--delete-duplicates): Rename from cl-delete-duplicates.
72 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
73 (cl--random-state): Rename from *random-state*.
74
ac348012
SM
752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
78 parens around the arg list (bug#11499).
79
a0a79cde
JL
802012-05-17 Juri Linkov <juri@jurta.org>
81
82 * isearch.el (word-search-regexp, word-search-backward)
83 (word-search-forward, word-search-backward-lax)
84 (word-search-forward-lax): Move functions from search.c
85 (bug#10145, bug#11381).
86
65034a51
AM
872012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
88
89 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
90 (flyspell-debug-signal-word-checked): Delay for otherchars as for
91 normal word components.
92
1a72a195
SM
932012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * minibuffer.el (completion--sifn-requote): Fix last change.
96 (minibuffer-local-must-match-filename-map):
97 Move define-obsolete-variable-alias before its var.
98
fdb058c2
SM
992012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
100
c41045e6
SM
101 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
102
036dfb8b
SM
103 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
104 behavior.
105 (completion--string-equal-p): New function.
106 (completion--twq-all): Use it to get better assertion failure data.
107
2473256d
SM
108 Only handle ".." and '..' quoting in shell-mode (bug#11466).
109 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
110 (shell--requote-argument): New functions.
111 (shell-completion-vars): Use them.
112 (shell--parse-pcomplete-arguments): Rename from
113 shell-parse-pcomplete-arguments.
114 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
115 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
116 Obey comint-file-name-quote-list.
117
fdb058c2
SM
118 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
119 (smie-indent-keyword): Use it.
120
51fa99f1
SM
1212012-05-14 Stefan Merten <smerten@oekonux.de>
122
123 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
124
e18afed7 1252012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
126
127 * net/rlogin.el (rlogin-mode-map): Fix last change.
128
e18afed7 1292012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
130
131 * mail/smtpmail.el (smtpmail-send-command): Send the command and
132 the following \r\n using a single `process-send-string', since the
133 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 134 with two `process-send-string's (Bug#11444).
8633b1f4 135
e18afed7 1362012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 137
fdb058c2
SM
138 * shell.el (shell-parse-pcomplete-arguments):
139 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 140
2d21d7f6
WJ
1412012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
142
e18afed7 143 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
144 (image-transform-scale, image-transform-right-angle-fudge): New vars.
145 (image-transform-width, image-transform-fit-width): New functions.
146 (image-transform-properties): Use them.
147 (image-transform-check-size): New function.
148 (image-toggle-display-image): Use it (for testing).
149 (image-transform-set-rotation): Reduce angle mod 360.
150 Delete obsolete comment.
151
7102e6d0
WJ
1522012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
153
154 * image-mode.el: Fix scaling (bug#11399).
155 (image-transform-resize): Doc fix.
156 (image-transform-properties): Default scale is 1 and height should
157 be an integer.
158
06bc5e6e
SM
1592012-05-13 Johan Bockgård <bojohan@gnu.org>
160
161 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
162 than hard-coding `car', to fix misbehavior when moving forward.
163
0ae03b6a
CY
1642012-05-13 Chong Yidong <cyd@gnu.org>
165
166 * emacs-lisp/tabulated-list.el (tabulated-list-format)
167 (tabulated-list-entries, tabulated-list-padding)
168 (tabulated-list-sort-key): Make permanent-local.
169
170 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
171 (electric-buffer-list): Put electric buffer menu
172 command descriptions in this docstring, instead of the docstring
173 of electric-buffer-menu-mode. Code cleanups.
174 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
175 Electric-buffer-menu-mode.
176 (electric-buffer-update-highlight): Minor code cleanup.
177
205a7391
MA
1782012-05-13 Michael Albinus <michael.albinus@gmx.de>
179
180 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
181 (Bug#11447)
182
e5bd0a28
SM
1832012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 Move define-obsolete-variable-alias before the var's definition.
186 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
187 * tooltip.el (tooltip-hook):
188 * textmodes/reftex-toc.el (reftex-toc-map):
189 * textmodes/reftex-sel.el (reftex-select-label-map)
190 (reftex-select-bib-map):
191 * textmodes/reftex-index.el (reftex-index-map)
192 (reftex-index-phrases-map):
193 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
194 * progmodes/meta-mode.el (meta-mode-map):
195 * novice.el (disabled-command-hook):
196 * loadhist.el (unload-hook-features-list):
197 * frame.el (blink-cursor):
198 * files.el (find-file-not-found-hooks, write-file-hooks)
199 (write-contents-hooks):
200 * emulation/tpu-edt.el (GOLD-map):
201 * emacs-lock.el (emacs-lock-from-exiting):
202 * emacs-lisp/generic.el (generic-font-lock-defaults):
203 * emacs-lisp/chart.el (chart-map):
204 * dos-fns.el (register-name-alist):
205 * dired-x.el (dired-omit-files-p):
206 * desktop.el (desktop-enable):
207 * cus-edit.el (custom-mode-hook):
208 * buff-menu.el (buffer-menu-mode-hook):
209 * bookmark.el (bookmark-read-annotation-text-func)
210 (bookmark-exit-hooks):
211 * allout.el (allout-mode-deactivate-hook)
212 (allout-exposure-change-hook, allout-structure-added-hook)
213 (allout-structure-deleted-hook, allout-structure-shifted-hook):
214 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
215 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
216 comes before the corresponding variable's definition.
217
ac59c2f6
CY
2182012-05-12 Chong Yidong <cyd@gnu.org>
219
220 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
221 (Buffer-menu-mouse-select): Restore function (Bug#11459).
222 (Buffer-menu-mode-map): Bind it.
223 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 224
dee6c9a3
SM
2252012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
226
2171cea5
SM
227 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
228 (prolog-upper-case-string, prolog-lower-case-string)
229 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
230 (prolog-use-smie, prolog-smie-grammar): New vars.
231 (prolog-smie-forward-token, prolog-smie-backward-token)
232 (prolog-smie-rules): New funs.
233 (prolog-comment-indent): Remove.
234 (prolog-mode-variables): Use default comment indentation instead.
235 Setup SMIE.
236 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
237 (prolog-mode): Don't call them any more.
238 (prolog-electric-colon, prolog-electric-dash)
239 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
240
aa0382bd
SM
241 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
242
dbacb4bd
SM
243 * minibuffer.el (completion--twq-all): Again, allow case differences.
244
13bdd94c
SM
245 * term.el: Move keymap initialization code to be more idiomatic.
246 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
247 (term-terminal-menu): Move initialization into declaration.
248 (term-escape-char): Let the user set it in her .emacs.
249
ff46c759
SM
250 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
251 Provide SMIE-based indentation (not enabled by default yet).
252 (sh-mode-map): Don't bind electric keys.
253 Use electric-pair-mode instead of skeleton-pair.
254 (sh-assignment-regexp): Fit within 80 columns.
255 (sh-indent-supported): Specify actual shell name instead of boolean.
256 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
257 (sh-maybe-here-document): Use it. Make obsolete.
258 (sh-electric-here-document-mode) New minor mode.
259 (sh-mode): Use it. Don't set sh-indent-supported-here here.
260 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
261 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
262 (sh-smie-rc-grammar, sh-use-smie): New vars.
263 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
264 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
265 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
266 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
267 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
268 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
269 (sh-set-shell): Use smie-setup if requested.
270
dee6c9a3
SM
271 * term.el (term-set-escape-char): Properly set term-escape-char.
272 See http://stackoverflow.com/questions/10524656.
273
9f9aa044
CY
2742012-05-10 Chong Yidong <cyd@gnu.org>
275
276 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
277 Use url-generic-parse-url, and handle host names and Windows
278 filenames properly.
279 (ffap-url-unwrap-remote): Use url-generic-parse-url.
280 (ffap-url-unwrap-remote): Accept list values, specifying a list of
281 URL schemes to work on.
282 (ffap--toggle-read-only): New function.
283 (ffap-read-only, ffap-read-only-other-window)
284 (ffap-read-only-other-frame): Use it.
285 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
286 necessary for ffap-url-unwrap-remote.
287
836d29b3
DA
2882012-05-10 Dave Abrahams <dave@boostpro.com>
289
290 * cus-start.el (create-lockfiles): Add it.
291
00fd78ed
CY
2922012-05-09 Chong Yidong <cyd@gnu.org>
293
294 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
295 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
296
666b903b 2972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
298
299 * shell.el (shell-completion-vars): Fix last change (bug#11348).
300
666b903b 3012012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
302
303 * ansi-color.el (ansi-color-process-output): Check for validity of
304 comint-last-output-start before using it. This avoids a bad
305 interaction with gdb-mi's input/output buffer.
306
666b903b 3072012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
308
309 * files.el (dir-locals-read-from-file):
310 Mention dir-locals in any error message.
311
666b903b 3122012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
313
314 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
315 package (Bug#11410).
316
f677562b
CY
317 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
318 variables into description.
319
666b903b 3202012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
321
322 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
323 shell-delimiter-argument-list (bug#11348).
324 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
325
b499d8d0
JB
3262012-05-09 Juanma Barranquero <lekktu@gmail.com>
327
8f6b6da8
JB
328 * textmodes/rst.el: Silence byte-compiler warnings.
329 (rst-re-alist, rst-reset-section-caches): Move around.
330 (rst-re): Use `characterp', not `char-valid-p'.
331 (font-lock-beg, font-lock-end): Declare.
332
4824146a
JB
333 * progmodes/idlw-shell.el (specs): Remove reference to deleted
334 variable `idlwave-shell-activate-alt-keybindings' and simplify.
335
b499d8d0
JB
336 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
337
ad89bb83
GM
3382012-05-08 Glenn Morris <rgm@gnu.org>
339
340 * files.el (auto-mode-alist): Treat ".make" like ".mk".
341
8bba5a75
SM
3422012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
343
49ed9c8e
SM
344 * vc/log-edit.el: Add GNU coding standards highlighting.
345 (log-edit-font-lock-gnu-style)
346 (log-edit-font-lock-gnu-keywords): New vars.
347 (log-edit-font-lock-keywords): New fun.
348 (log-edit-mode): Don't fold case in font-lock.
349 (log-edit-font-lock-keywords): Do not assume case-folding.
350
07d00b56
SM
351 * imenu.el: Misc cleanup. Make docstrings out of comments.
352 Use lexical-binding.
353 (imenu--index-alist, imenu--last-menubar-index-alist)
354 (imenu-menubar-modified-tick): Use defvar-local.
355 (imenu--split-menu): Remove unused var.
356 (imenu--cleanup-seen): Declare as global.
357 (imenu--cleanup): Use dolist.
358
8bba5a75
SM
359 * subr.el (defvar-local): Add debug spec and doc-string position.
360
5075bdb5
GM
3612012-05-08 Glenn Morris <rgm@gnu.org>
362
c052c904
GM
363 * lisp/language/burmese.el, language/cham.el, language/czech.el:
364 * language/english.el, language/georgian.el, language/greek.el:
365 * language/japanese.el, language/khmer.el, language/korean.el:
366 * language/lao.el, language/misc-lang.el, language/romanian.el:
367 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
368 * language/thai.el, language/utf-8-lang.el:
369 Remove no-byte-compile setting.
370
5075bdb5
GM
371 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
372
06f679a7
AH
3732012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
374
375 * progmodes/make-mode.el (makefile-browse):
376 Remove unnecessary interactive. (Bug#11324)
377
03794570
GM
3782012-05-07 Glenn Morris <rgm@gnu.org>
379
af8630f4
GM
380 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
381
03794570
GM
382 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
383
f0809a9d
SM
3842012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
385
28be5ce7
SM
386 * loadup.el: Preload newcomment.el.
387 * newcomment.el: Move autoload-only code to toplevel.
388
f0809a9d
SM
389 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
390 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
391 Handle new :right-align column property.
392 (tabulated-list-print-col): Idem, plus use `display' text-property to
393 try and preserve alignment for variable pitch fonts.
394
1241b724
CY
3952012-05-07 Chong Yidong <cyd@gnu.org>
396
397 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
398 (tabulated-list-use-header-line): New var.
399 (tabulated-list-init-header): Use it.
400 (tabulated-list-print-fake-header): New function.
401 (tabulated-list-print): Use it.
402 (tabulated-list-sort-button-map): Add non-header-line commands.
403 (tabulated-list-init-header): Add column name property to basic
404 labels as well.
405 (tabulated-list-col-sort): Handle non-header-line button case.
406 (tabulated-list--sort-by-column-name): Fix a corner case.
407
f0809a9d
SM
408 * buff-menu.el (list-buffers--refresh):
409 Handle Buffer-menu-use-header-line.
1241b724 410
e5f9458f
CY
4112012-05-06 Chong Yidong <cyd@gnu.org>
412
413 * buff-menu.el: Convert to Tabulated List mode.
414 (Buffer-menu-buffer+size-width): Make obsolete.
415 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
416 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
417 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
418 documentation into docstring of buffer-menu.
419 (Buffer-menu-toggle-files-only): Add an informative message.
420 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
421 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
422 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
423 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
424 (Buffer-menu-execute, Buffer-menu-select)
425 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
426 (Buffer-menu-bury): Use Tabulated List machinery.
427 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
428 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 429 Delete.
e5f9458f
CY
430 (list-buffers--refresh): New function.
431 (list-buffers-noselect): Use it.
432 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
433 (Buffer-menu--pretty-file-name): New helper functions.
434
435 * loadup.el: Preload tabulated-list.
436
437 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
438 tabulated-list-sort-column.
439 (tabulated-list-init-header): Add the initial aligning space even
440 if tabulated-list-padding is zero.
441
e129292c
CS
4422012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
443
444 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
445 whose cdr is not a cons cell correctly (bug#11038).
446
6632d361
CY
4472012-05-06 Chong Yidong <cyd@gnu.org>
448
e129292c
CS
449 * emacs-lisp/tabulated-list.el (tabulated-list-format):
450 Accept additional plist in column descriptors.
6632d361
CY
451 (tabulated-list-init-header): Obey it.
452 (tabulated-list-get-entry): New function.
453 (tabulated-list-put-tag): Use it. Use string-width instead of
454 length.
455 (tabulated-list--column-number): New function.
456 (tabulated-list-print): Use it.
e129292c
CS
457 (tabulated-list-print-col): New function.
458 Set `tabulated-list-column-name' property on each column's text.
6632d361 459 (tabulated-list-print-entry): Use it.
e129292c
CS
460 (tabulated-list-delete-entry, tabulated-list-set-col):
461 New functions.
6632d361
CY
462 (tabulated-list-sort-column): New command (Bug#11337).
463
3cc99f68
CY
464 * buff-menu.el (list-buffers): Move C-x C-b binding from
465 buff-menu.el to bindings.el.
466
467 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
468 :advertised-binding feature.
469
52b61776
TN
4702012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
471
472 * progmodes/compile.el (compilation-internal-error-properties):
473 Calculate start position correctly when end-col is set but
474 end-line is not (Bug#11382).
475
ebfe2597
WJ
4762012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
477
478 * man.el (Man-unindent): Use text-property-default-nonsticky to
479 prevent untabify from inheriting face properties (Bug#11408).
480
a43f98b3
GM
4812012-05-05 Glenn Morris <rgm@gnu.org>
482
48176e8b
GM
483 * calendar/cal-html.el: Optionally include holidays in the output.
484 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
485 (cal-html-holidays): New option.
486 (cal-html-css-default): Add holiday entry.
487 (holiday-in-range): Autoload it.
488 (cal-html-htmlify-entry): Add optional class argument.
489 (cal-html-htmlify-list): Add optional holidays argument.
490 (cal-html-insert-agenda-days): Include holidays in the output.
491 (cal-html-one-month): Maybe include holidays.
492
a43f98b3
GM
493 * calendar/holidays.el (holiday-in-range):
494 Move here from cal-tex-list-holidays.
495 * calendar/cal-tex.el (cal-tex-list-holidays):
496 Make it an obsolete alias for holiday-in-range. Update all callers.
497
fef9d149 4982012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
499
500 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
501 Nextstep.
502
248da2f4
RW
5032012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
504
505 * files.el (file-auto-mode-skip): New var.
506 (set-auto-mode-1): Use it.
507
f95e9344
SM
5082012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
509
df96ab1e
SM
510 * repeat.el: Use lexical-binding.
511 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
512 (repeat-undo-count): Remove.
513 (repeat):
514 * progmodes/octave-mod.el (octave-abbrev-start):
515 * progmodes/f90.el (f90-abbrev-start):
516 * face-remap.el (text-scale-adjust):
517 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
518
5342bb06
SM
519 * emacs-lisp/pcase.el (pcase--let*): New function.
520 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
521 a bit more.
522 (pcase--split-pred): Be more clever about ruling out overlap between
523 a predicate and some constant pattern.
524 (pcase--q1): Use `null' instead of (eq foo nil).
525
f95e9344
SM
526 * subr.el (setq-local, defvar-local): New macros.
527 (kbd): Redefine as an alias.
528 (with-selected-window): Leave unrelated frames alone.
529 (set-temporary-overlay-map): New function.
530
71873e2b
SM
5312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * subr.el (user-error): New function.
534 * window.el (switch-to-buffer):
535 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
536 (smerge-match-conflict):
537 * simple.el (previous-matching-history-element)
538 (next-matching-history-element, goto-history-element, undo-more)
539 (undo-start):
540 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
541 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
542 (next-file, tags-loop-scan, list-tags, complete-tag):
543 * progmodes/compile.el (compilation-loop):
544 * mouse.el (mouse-minibuffer-check):
545 * man.el (Man-bgproc-sentinel, Man-goto-page):
546 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
547 (Info-history-forward, Info-follow-reference, Info-menu)
548 (Info-extract-menu-item, Info-extract-menu-counting)
549 (Info-forward-node, Info-backward-node, Info-next-menu-item)
550 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
551 (Info-next-reference, Info-prev-reference, Info-index)
552 (Info-index-next, Info-follow-nearest-node)
553 (Info-copy-current-node-name):
554 * imenu.el (imenu--make-index-alist)
555 (imenu-default-create-index-function, imenu-add-to-menubar):
556 * files.el (basic-save-buffer, recover-file):
557 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
558 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
559 (checkdoc-message-text, checkdoc-defun):
560 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
561 * cus-edit.el (customize-changed-options, customize-rogue)
562 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
563 (custom-variable-mark-to-reset-standard)
564 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
565 (custom-file):
566 * completion.el (check-completion-length):
567 * comint.el (comint-search-arg)
568 (comint-previous-matching-input-string-position)
569 (comint-previous-matching-input)
570 (comint-replace-by-expanded-history-before-point, comint-send-input)
571 (comint-copy-old-input, comint-backward-matching-input)
572 (comint-goto-process-mark, comint-set-process-mark):
573 * calendar/calendar.el (calendar-cursor-to-date): Use it.
574 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
575
8a61ee22
SM
5762012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
577
66408d1e
SM
578 * dabbrev.el (dabbrev--ignore-case-p): New function.
579 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
580 Use it.
581
8a61ee22
SM
582 * files.el (automount-dir-prefix): Mark as obsolete.
583
3c74813a
GM
5842012-05-04 Glenn Morris <rgm@gnu.org>
585
586 * patcomp.el, play/bruce.el: Move to obsolete/.
587
0bfcf5c5
PE
5882012-05-04 Paul Eggert <eggert@cs.ucla.edu>
589
590 Fix minor Y10k bugs.
591 * arc-mode.el (archive-unixdate):
592 * autoinsert.el (auto-insert-alist):
593 * calc/calc-forms.el (math-this-year):
594 * emacs-lisp/copyright.el (copyright-current-year)
595 (copyright-update-year, copyright):
596 * tar-mode.el (tar-clip-time-string):
597 * time.el (display-time-update):
598 Don't assume years have 4 digits.
599
78f3273a
CY
6002012-05-04 Chong Yidong <cyd@gnu.org>
601
602 * dos-w32.el (file-name-buffer-file-type-alist)
603 (direct-print-region-use-command-dot-com):
604 * ffap.el (ffap-menu-regexp):
605 * find-file.el (ff-special-constructs):
606 * follow.el (follow-debug):
607 * forms.el (forms--debug):
608 * iswitchb.el (iswitchb-all-frames):
609 * ido.el (ido-all-frames):
610 * emacs-lisp/timer.el (timer-max-repeats):
611 * mail/feedmail.el (feedmail-mail-send-hook)
612 (feedmail-mail-send-hook-queued):
613 * mail/footnote.el (footnote-signature-separator):
614 * mail/mailabbrev.el (mail-alias-separator-string)
615 (mail-abbrev-mode-regexp):
616 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
617 * progmodes/idlwave.el (idlwave-libinfo-file)
618 (idlwave-default-completion-case-is-down)
619 (idlwave-library-routines): Convert defvars to defcustoms.
620
621 * mail/rmail.el (rmail-decode-mime-charset):
622 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
623 (idlwave-shell-fix-inserted-breaks)
624 (idlwave-shell-activate-alt-keybindings)
625 (idlwave-shell-use-breakpoint-glyph):
626 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
627
f7ae6719
SM
6282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
631
47086495
WS
6322012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
633
634 * progmodes/verilog-mode.el (font-lock-keywords):
635 Fix mis-highligting auto. Reported by Craig Barner.
636 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
637 defines from global name space. Reported by Dan Dever.
638 (verilog-auto-reset, verilog-auto-reset-widths)
639 (verilog-auto-tieoff): Support using unbased numbers for
640 AUTORESET and AUTOTIEOFF.
641 (verilog-submit-bug-report): Update variable list.
642 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
643 parenthesis from not matching. Reported by Michael Rytting.
644 (verilog-auto-template-lint): Fix hash error when linting modules
645 with no used templates.
646 (verilog-warn, verilog-warn-error)
647 (verilog-warn-fatal): When non-interactive report multiple
648 warnings before exiting. Suggested by Brad Dobbie.
649 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
650 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
651 to report unused template errors. Reported by Brad Dobbie.
652 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
653 nets, bug438. Reported by Vns Blore.
654 (verilog-auto-inout-module, verilog-auto-reg)
655 (verilog-read-decls, verilog-read-sub-decls-sig)
656 (verilog-signals-edit-wire-reg, verilog-signals-with):
657 Fix passing of Verilog data types in ANSI input/output ports
658 such as "output logic" into the AUTOs. Special case "wire" and
659 "reg" for backwards compatibility presuming Verilog 2001.
660 (verilog-auto-ascii-enum): Add "auto enum" as alias.
661 (verilog-preprocess): Fix replication of preprocess output.
662 Reported by Brad Dobbie.
663 (verilog-auto-inst-interfaced-ports):
664 Create verilog-auto-inst-interfaced-ports, bug429.
665 Reported by Julian Gorfajn.
666 (verilog-after-save-font-hook)
667 (verilog-before-save-font-hook): New variable.
668 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
669 (verilog-save-font-mods): Wrap disabling fontification, reported
670 by David Rogoff.
671 (verilog-do-indent, verilog-pretty-declarations-auto)
672 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
673 Reported by Pierre-David Pfister.
674 (verilog-set-auto-endcomments): Fix endtask auto comments outside
675 of class declarations, bug292. Reported by Kevin Heilman.
676 (verilog-read-decls): Fix 'parameter type' not appearing in
677 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
678 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
679 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
680 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
681 Reported by David Kravitz.
682
6832012-05-03 Michael McNamara <mac@mail.brushroad.com>
684
685 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
686 assignment with tests in ifs and for loops.
687 (verilog-extended-complete-re, verilog-complete-reg): Change so
688 that DPI inport functions don't look like fuction declarations.
689 (verilog-pretty-expr): Don't line up assignment
690 operations to the test and increment in if and for loops
691 (verilog-extended-complete-re, verilog-complete-reg): Change so
692 that DPI inport functions don't look like fuction declarations
693
2e51d4b5
KH
6942012-05-03 Kenichi Handa <handa@m17n.org>
695
696 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
697 decoding, and show a warning message without signalling an error
698 (Bug#11282).
699
2bd785a2
SM
7002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * emacs-lisp/bytecomp.el
703 (byte-compile-file-form-custom-declare-variable): Compile all elements,
704 since cconv.el might have introduced :fun-body, internal-make-closure,
705 and friends for bytecomp to handle (bug#11391).
706 * custom.el (defcustom): Avoid ((λ ..) ..).
707
99d27583
SM
7082012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
711
55a71479
JB
7122012-05-02 Juanma Barranquero <lekktu@gmail.com>
713
714 * notifications.el (dbus-debug):
715 * term/linux.el (gpm-mouse-enable):
716 * term/screen.el (xterm-register-default-colors): Declare.
717
7b97c764
CY
7182012-05-02 Chong Yidong <cyd@gnu.org>
719
2bc356d7
CY
720 * cus-start.el (gc-cons-percentage, exec-suffixes)
721 (dos-display-scancodes, dos-hyper-key, dos-super-key)
722 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
723 (make-cursor-line-fully-visible, void-text-area-pointer)
724 (font-list-limit): Add customization data.
725
7b97c764
CY
726 * allout.el (allout-exposure-change-functions)
727 (allout-structure-added-functions)
728 (allout-structure-deleted-functions)
729 (allout-structure-shifted-functions): Rename abnormal hooks from
730 *-hook, and convert to defcustoms.
5d3385a0
JB
731 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
732 Convert to defcustoms.
7b97c764
CY
733 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
734
735 * allout-widgets.el: Hook callers changed.
736
90207a15 7372012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
738
739 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
740 the yanked message in preference to the default value of
741 buffer-file-coding-system.
742
90207a15 7432012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 744
5d3385a0
JB
745 * window.el (display-buffer--action-function-custom-type):
746 Fix entry.
d9558cad 747
90207a15 7482012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
749
750 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
751
d80ac57b
GM
7522012-05-01 Glenn Morris <rgm@gnu.org>
753
976f7668
GM
754 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
755
beb83b5a
GM
756 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
757
d80ac57b
GM
758 * cus-edit.el (custom-variable-documentation): Simplify with format.
759
b593d6a9
AH
7602012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
761 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * simple.el (suggest-key-bindings, execute-extended-command):
764 Move from keyboard.c.
765
782fbf2a
CY
7662012-05-01 Chong Yidong <cyd@gnu.org>
767
768 * follow.el: Eliminate advice.
769 (set-process-filter, process-filter, sit-for): Advice deleted.
770 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
771 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
772 Vars deleted.
782fbf2a
CY
773 (follow-auto): Use a :set function.
774 (follow-mode): Rewritten. Don't advise process filters.
775 (follow-switch-to-current-buffer-all, follow-scroll-up)
776 (follow-scroll-down): Assume follow-mode is bound.
777 (follow-comint-scroll-to-bottom)
778 (follow-align-compilation-windows): New functions.
779 (follow--window-sorter): New function.
780 (follow-all-followers): Use it to explicitly sort windows by their
781 positions; don't make assumptions about next-window order.
782 (follow-windows-start-end, follow-delete-other-windows-and-split)
783 (follow-calc-win-start): Doc fix.
784 (follow-windows-aligned-p, follow-select-if-visible): Don't call
785 vertical-motion unnecessarily.
786 (follow-adjust-window): New function.
787 (follow-post-command-hook): Use it.
788 (follow-call-set-process-filter, follow-call-process-filter)
789 (follow-intercept-process-output, follow-tidy-process-filter-alist)
790 (follow-stop-intercept-process-output, follow-generic-filter):
791 Functions deleted.
792 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
793 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
794 New functions, replacing advice on scroll-bar-* commands.
87233a14 795 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
796
797 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
798 (comint-postoutput-scroll-to-bottom): Use it.
799 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 800
290af740
GM
8012012-05-01 Glenn Morris <rgm@gnu.org>
802
803 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
804 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
805 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
806 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
807 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
808 Remove no-byte-compile setting.
809
6eac8dc9
SM
8102012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * minibuffer.el (completion-table-with-quoting): Fix compatibility
813 all-completions code to not return a number in the last cdr.
814
9cc7819c
LL
8152012-04-30 Leo Liu <sdl.web@gmail.com>
816
817 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
818 read-only error.
819
c93b886f
CY
8202012-04-29 Chong Yidong <cyd@gnu.org>
821
822 * follow.el (follow-calc-win-end): Rewrite to handle partial
823 screen lines correctly (Bug#8390).
824 (follow-avoid-tail-recenter): Minor cleanup.
825
8b6c19f4
SM
8262012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 Avoid the obsolete `assoc' package.
829 * speedbar.el (speedbar-refresh): Avoid adelete.
830 (speedbar-file-lists): Simplify and avoid aput.
831 * man.el (Man--sections, Man--refpages): New vars, replacing
832 Man-sections-alist and Man-refpages-alist.
833 (Man-build-section-alist, Man-build-references-alist):
834 Use them; avoid aput.
835 (Man--last-section, Man--last-refpage): New vars.
836 (Man-follow-manual-reference): Use them.
837 Use the `default' arg of completing-read.
838 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
839
c5bb7569
CY
8402012-04-27 Chong Yidong <cyd@gnu.org>
841
d1d2e2e8
CY
842 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
843
15cd8efd
CY
844 * startup.el (x-apply-session-resources): New function.
845
846 * term/ns-win.el (ns-initialize-window-system):
847 * term/w32-win.el (w32-initialize-window-system):
848 * term/x-win.el (x-initialize-window-system): Use it to properly
849 set menu-bar-mode and other vars from X resources, even if the
850 initial frame is not a window-system frame (Bug#2299).
851
c5bb7569
CY
852 * subr.el (read-key): Avoid running filter function when setting
853 up temporary tool bar entries (Bug#9922).
854
a8e7d6d7 8552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
856
857 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
858 (Bug#11344)
859
a8e7d6d7 8602012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
861
862 * select.el (xselect--encode-string): New function, split from
863 xselect-convert-to-string.
864 (xselect-convert-to-string): Use it.
865 (xselect-convert-to-filename, xselect-convert-to-os)
866 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
867 returned strings are properly encoded (Bug#11315).
868
a8e7d6d7 8692012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
870
871 * simple.el (delete-active-region): Move to killing custom group.
872
a8e7d6d7 8732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
874
875 * progmodes/which-func.el (which-func-current): Quote %
876 characters for mode-line processing.
877
578c1d4b 8782012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
879
880 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
881 reaching eob (Bug#11286).
882
a8e7d6d7 8832012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
884
885 * progmodes/gdb-mi.el (gdb-control-level): New variable.
886 (gdb): Make it buffer-local and init to zero.
887 (gdb-control-commands-regexp): New variable.
888 (gdb-send): Don't wrap in "-interpreter-exec console" if
889 gdb-control-level is positive. Increment gdb-control-level
890 whenever the command matches gdb-control-commands-regexp, and
891 decrement it each time the command is "end". (Bug#11279)
892
a8e7d6d7 8932012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
894
895 * window.el (adjust-window-trailing-edge, enlarge-window)
896 (shrink-window, window-resize):
897 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
898 windows (Bug#11276).
899
b3608390
CY
9002012-04-27 Chong Yidong <cyd@gnu.org>
901
902 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 903 fix "missing prefix" warning. All callers changed.
b3608390 904
797e6e88
SM
9052012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * emacs-lisp/assoc.el: Move to obsolete/.
908
e95a67dc
SM
9092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
910
657c21e4 911 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
912
913 * term/ns-win.el (ns-define-service):
914 * progmodes/pascal.el (pascal-goto-defun):
915 * progmodes/js.el (js--read-tab):
916 * progmodes/etags.el (tags-lazy-completion-table):
917 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
918 * emacs-lisp/ewoc.el (ewoc--wrap):
919 * emacs-lisp/assoc.el (aput, adelete, amake):
920 * doc-view.el (doc-view-convert-current-doc):
921 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
922
cb3e7ae0
CY
9232012-04-26 Chong Yidong <cyd@gnu.org>
924
dce04f7f
CY
925 * image.el (image-type-from-buffer): Only return supported image
926 type (Bug#9045).
927
cb3e7ae0
CY
928 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
929 value, for symmetry with diff-end-of-hunk.
930 (diff-split-hunk, diff-find-source-location)
931 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
932 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
933 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
934 compute the relevant hunk or file properly (Bug#6005).
935 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
936
0d42eb3e
SM
9372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * vc/vc-mtn.el:
940 * vc/vc-hg.el:
941 * vc/vc-git.el:
942 * vc/vc-dir.el:
943 * vc/vc-cvs.el:
944 * vc/vc-bzr.el:
945 * vc/vc-arch.el:
946 * vc/vc.el: Replace lexical-let by lexical-binding.
947 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
948 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
949 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
950
f08ae1c9
CY
9512012-04-26 Chong Yidong <cyd@gnu.org>
952
8b71081d
CY
953 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
954 (diff-mode-shared-map): Bind it to / and [remap undo].
955
f08ae1c9
CY
956 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
957 (ediff-window-setup-function): Use it as the default, to set up
958 windows based on whether the current frame is graphical (Bug#2138).
959 (ediff-choose-window-setup-function-automatically): Make obsolete.
960
961 * vc/ediff-init.el: Always define ediff-pixel-width/height.
962
ef24141c
SM
9632012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
964
cc356a5d
SM
965 * ffap.el: Remove old code for obsolete package.
966 (ffap-complete-as-file-p): Remove.
967
b4ff4f1f
SM
968 Use completion-table-with-quoting for comint and pcomplete.
969 * comint.el (comint--unquote&requote-argument)
970 (comint--unquote-argument, comint--requote-argument): New functions.
971 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
972 (comint-quote-filename): Use regexp-opt-charset.
973 (comint--common-suffix, comint--common-quoted-suffix)
974 (comint--table-subvert): Remove.
975 (comint-unquote-function, comint-requote-function): New vars.
976 (comint--complete-file-name-data): Use them with
977 completion-table-with-quoting.
978 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
979 * pcomplete.el (pcomplete-arg-quote-list)
980 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
981 (pcomplete-unquote-argument-function): Default to non-nil.
982 (pcomplete-unquote-argument): Simplify.
983 (pcomplete--common-quoted-suffix): Remove.
984 (pcomplete-requote-argument-function): New var.
985 (pcomplete--common-suffix): New function.
986 (pcomplete-completions-at-point): Use completion-table-with-quoting
987 and completion-table-subvert.
988
79c4eeb4
SM
989 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
990 (minibuffer--double-dollars): Preserve properties.
991 (completion--sifn-requote): New function.
992 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
993
ef24141c
SM
994 * minibuffer.el: Add support for completion of quoted/escaped data.
995 (completion-table-with-quoting, completion-table-subvert): New funs.
996 (completion--twq-try, completion--twq-all): New functions.
997 (completion--nth-completion): New function.
998 (completion-try-completion, completion-all-completions): Use it.
999
784e7d6e
LL
10002012-04-25 Leo Liu <sdl.web@gmail.com>
1001
dd2ac746
SM
1002 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1003 Use compilation-message if available to find real filename.
784e7d6e 1004
07875ee7
CY
10052012-04-25 Chong Yidong <cyd@gnu.org>
1006
1007 * vc/diff-mode.el (diff-setup-whitespace): New function.
1008 (diff-mode): Use it.
1009
1010 * vc/diff.el (diff-sentinel):
1011 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1012 Whitespace mode variables based on diff style (Bug#8612).
1013
5055880d
LL
10142012-04-25 Leo Liu <sdl.web@gmail.com>
1015
daf75653
LL
1016 * progmodes/python.el (python-send-region): Add suffix .py to the
1017 temp file.
1018
5055880d
LL
1019 * files.el (auto-mode-alist): Use javascript-mode instead.
1020
db9b177b
AH
10212012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1022
ef24141c 1023 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1024
1025 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1026 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1027 references, see Bug#9.
ef24141c 1028 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1029 when receiving a fault reply.
ef24141c 1030 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1031
1032 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1033 (soap-inspect-simple-type): New function.
db9b177b 1034
ef24141c 1035 * soap-client.el (soap-simple-type): New struct.
db9b177b 1036 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1037 (soap-decode-basic-type, soap-encode-basic-type):
1038 support unsignedInt and double basic types.
db9b177b 1039 (soap-resolve-references-for-simple-type)
ef24141c
SM
1040 (soap-parse-simple-type, soap-encode-simple-type): New function.
1041 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1042
1043 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1044 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1045 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1046 the local name of "soapenc:Array".
1047 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1048 decoding integer, byte and anyURI xsd types.
1049
1fc6097b
CY
10502012-04-25 Chong Yidong <cyd@gnu.org>
1051
1052 * cus-edit.el (custom-buffer-create-internal): Update header text.
1053
afc6df87
EZ
10542012-04-25 Eli Zaretskii <eliz@gnu.org>
1055
1056 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1057 settings on 'system-type', not on 'window-system'. On MS-Windows,
1058 set interactive-mode on in GDB.
1059
dfbd787f
SM
10602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1063 (ruby-syntax-propertize-regexp): Remove.
1064 (ruby-syntax-propertize-function): Split regexp into chunks.
1065 Match following code directly.
1066
85222d44
DG
10672012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1068
51a8ea2a
DG
1069 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1070 (ruby-syntax-propertize-regexp): New function.
1071 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1072 by a special keyword.
1073
85222d44
DG
1074 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1075 (ruby-syntax-general-delimiters-goto-beg)
1076 (ruby-syntax-propertize-general-delimiters): New functions.
1077 (ruby-syntax-propertize-function): Use them to handle GDL.
1078 (ruby-font-lock-keywords): Move old handling of GDL...
1079 (ruby-font-lock-syntactic-keywords): .. to here.
1080 (ruby-calculate-indent): Adjust indentation for GDL.
1081
b613912b
MA
10822012-04-24 Michael Albinus <michael.albinus@gmx.de>
1083
b5380639
MA
1084 * notifications.el (top): Remove unneeded declarations.
1085 (notifications-specification-version): Change to "1.2".
e43042fe 1086 (notifications-interface, notifications-notify-method)
b613912b
MA
1087 (notifications-close-notification-method): Fix docstring.
1088 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1089 (notifications-notify): Add :action-items, :resident and
1090 :transient hints. Change "image_data" to "image-data" and
1091 "image_path" to "image-path".
b613912b
MA
1092 (notifications-get-capabilities): New defun.
1093
257440aa
LL
10942012-04-24 Leo Liu <sdl.web@gmail.com>
1095
1096 * progmodes/python.el: Move hideshow setup to the end.
1097
b1bac16e
MR
10982012-04-24 Martin Rudalics <rudalics@gmx.at>
1099
1100 * window.el (handle-select-window): Clear echo area since this is
1101 no more done by read_char (Bug#11304).
1102
d81bd059
SM
11032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1106 and `/ M' to filter-derived-mode.
1107 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1108 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1109 (ibuffer-mark-by-mode): Use default rather than initial-input.
1110 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1111
c4cf6d91
IA
11122012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1113
1114 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1115 (ibuffer-filter-by-derived-mode): New filter.
1116 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1117
7511ded8
CY
11182012-04-23 Andreas Politz <politza@fh-trier.de>
1119
1120 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1121
775c916b
CY
11222012-04-23 Chong Yidong <cyd@gnu.org>
1123
1124 * cus-edit.el (customize-apropos, customize-apropos-options):
1125 Disable matching of non-option variables (Bug#11176).
1126 (customize-option, customize-option-other-window)
1127 (customize-changed-options): Doc fix.
1128 (customize-apropos-options, customize-apropos-faces)
1129 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1130
1131 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1132 Fix word list splitting (Bug#11132).
46c71e23
CY
1133 (apropos-symbol, apropos-keybinding, apropos-label)
1134 (apropos-property, apropos-function-button)
1135 (apropos-variable-button, apropos-misc-button): New faces.
1136 (apropos-symbol-face, apropos-keybinding-face)
1137 (apropos-label-face, apropos-property-face, apropos-match-face):
1138 Variables removed (Bug#8396).
1139 (apropos-library-button, apropos-format-plist, apropos-print)
1140 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1141
2df41f9c
MA
11422012-04-23 Michael Albinus <michael.albinus@gmx.de>
1143
1144 * net/xesam.el (xesam-mode-map): Use let-bound map in
1145 initialization. (Bug#11292)
1146
da00640a
AM
11472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1148
1149 Preserve ispell session localwords when switching back to
1150 original buffer.
1151
1152 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1153 variable to hold buffer session localwords.
1154 (ispell-kill-ispell): add option 'clear to delete session
1155 localwords.
1156 (ispell-command-loop, ispell-change-dictionary)
1157 (ispell-buffer-local-words): Preserve session localwords when
1158 needed.
1159
1160 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1161 Preserve session localwords when needed.
1162
f621ccf5
AM
11632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1164
1165 * ispell.el (ispell-insert-word) Remove unneeded function using
1166 obsolete `translation-table-for-input'.
ef24141c
SM
1167 (ispell-word, ispell-process-line, ispell-complete-word):
1168 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1169
c2d1019e
CY
11702012-04-22 Chong Yidong <cyd@gnu.org>
1171
1172 * cus-edit.el (custom-variable-menu)
1173 (custom-variable-reset-saved, custom-face-menu)
1174 (custom-face-reset-saved): If there is no saved value, make the
1175 "reset-saved" operation bring back the default (Bug#9509).
1176 (custom-face-state): Properly detect themed faces.
1177
eeddc531
CY
1178 * faces.el (face-spec-set): Stop supporting deprecated form of
1179 third arg.
1180
dcbf5805
MA
11812012-04-22 Michael Albinus <michael.albinus@gmx.de>
1182
1183 Move functions from C to Lisp. Make non-blocking method calls
1184 the default. Implement further D-Bus standard interfaces.
1185
ef24141c
SM
1186 * net/dbus.el (dbus-message-internal): Declare function.
1187 Remove unneeded function declarations.
dcbf5805
MA
1188 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1189 (dbus-message-type-method-return, dbus-message-type-error)
1190 (dbus-message-type-signal): Declare variables. Remove local
1191 definitions.
1192 (dbus-interface-dbus, dbus-interface-peer)
1193 (dbus-interface-introspectable, dbus-interface-properties)
1194 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1195 Adapt docstring.
1196 (dbus-interface-objectmanager): New defconst.
1197 (dbus-call-method, dbus-call-method-asynchronously)
1198 (dbus-send-signal, dbus-method-return-internal)
1199 (dbus-method-error-internal, dbus-register-service)
1200 (dbus-register-signal, dbus-register-method): New defuns, moved
1201 from dbusbind.c
1202 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1203 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1204 New defuns.
dcbf5805
MA
1205 (dbus-call-method-non-blocking): Make it an obsolete function.
1206 (dbus-unregister-object, dbus-unregister-service)
1207 (dbus-handle-event, dbus-register-property)
1208 (dbus-property-handler): Obey the new structure of
1209 `bus-registered-objects'.
1210 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1211 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1212 Use `dbus-call-method'.
1213
cf20dee0
CY
12142012-04-22 Chong Yidong <cyd@gnu.org>
1215
1216 * cus-edit.el (custom-commands, custom-reset-menu)
1217 (Custom-reset-standard): Tweak labels.
1218 (custom-reset-button-menu): Change default to t.
1219 (custom-buffer-create-internal): For the custom-reset-button-menu
1220 case, put the revert button first.
1221 (custom-group-subtitle): New face.
1222 (custom-group-value-create): Align docstring to a specific column.
1223
1224 * wid-edit.el (widget-documentation-link-add): Don't handle
1225 indentation in this function.
1226 (widget-documentation-string-indent-to): New function.
1227 (widget-documentation-string-value-create): Use it.
1228
1229 * autorevert.el (auto-revert):
1230 * epg-config.el (epg):
1231 * ibuffer.el (ibuffer):
1232 * mpc.el (mpc):
1233 * ses.el (ses):
1234 * eshell/eshell.el (eshell):
1235 * net/ange-ftp.el (ange-ftp):
1236 * progmodes/ebnf2ps.el (postscript):
1237 * progmodes/flymake.el (flymake):
1238 * progmodes/prolog.el (prolog):
1239 * progmodes/verilog-mode.el (verilog-mode):
1240 * progmodes/which-func.el (which-func):
1241 * term/xterm.el (xterm):
1242 * textmodes/picture.el (picture):
1243 * textmodes/tildify.el (tildify):
1244 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1245 customization buffers.
1246
583e23bd
AM
12472012-04-22 Alan Mackenzie <acm@muc.de>
1248
1249 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1250 Adding a ) can hide the resulting (..) from searches. Fix it.
1251 Bound the backward search to the position of the existing (.
1252
7dd51bf1
JB
12532012-04-21 Juanma Barranquero <lekktu@gmail.com>
1254
1255 * progmodes/verilog-mode.el (verilog-mode): Check whether
1256 which-func-modes is t before adding verilog-mode.
1257 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1258
d64a438f
LL
12592012-04-21 Leo Liu <sdl.web@gmail.com>
1260
7dd51bf1 1261 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1262
081e8d65
MV
12632012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1264
1265 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1266 filling of the last column of a table (Bug#5635).
1267 (woman-find-next-control-line): New arg, specifying an additional
1268 regexp component for the control line.
1269 (woman2-roff-buffer): Use it.
1270 (woman-break-table): New function.
1271 (woman2-TS): Use it.
1272
12732012-04-21 Chong Yidong <cyd@gnu.org>
1274
1275 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1276 (woman-horizontal-escapes, woman-negative-vertical-space)
1277 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1278 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1279
ed571ccb
SM
12802012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * minibuffer.el (completion-file-name-table): Complete user names.
1283
39773899
LL
12842012-04-20 Leo Liu <sdl.web@gmail.com>
1285
1286 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1287 and pcase-let*.
1288
de6ff46d
CY
12892012-04-20 Chong Yidong <cyd@gnu.org>
1290
1291 * server.el (server-execute): Respect initial-buffer-choice if it
1292 is a string and there are no files to open (Bug#2825).
1293 (server-create-window-system-frame, server-create-tty-frame):
1294 Don't switch buffers here.
2d0e8e61
CY
1295 (server-process-filter): Only try to open a window system frame if
1296 compiled with graphical support (Bug#8314).
de6ff46d 1297
54071013
DN
12982012-04-20 Dan Nicolaescu <dann@gnu.org>
1299
1300 * battery.el (battery-echo-area-format): Display remaining time
1301 for sysfs backend too (Bug#11269).
1302 (battery-linux-sysfs): Fix conditional for the charge.
1303
f30d612a
CY
13042012-04-20 Chong Yidong <cyd@gnu.org>
1305
c07a4c0b 1306 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1307 (gdb-inferior-io--init-proc): New function.
1308 (gdb-init-1): Use it.
1309 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1310 responsible for allocating a new pty and hooking it to gdb when
1311 the old pty gets an EIO due to process exit.
1312 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1313 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1314 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1315
2116e93c
EZ
13162012-04-20 Eli Zaretskii <eliz@gnu.org>
1317
1318 * window.el (window-min-size, window-sizable, window-min-delta)
1319 (window-max-delta, window--resizable, window-resizable)
1320 (window-total-size, window-full-height-p, window-full-width-p)
1321 (window-in-direction, window--resize-mini-window, window-resize)
1322 (window--resize-child-windows-normal)
1323 (window--resize-child-windows, window--resize-siblings)
1324 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1325 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1326
c07a4c0b 13272012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1328
ef24141c
SM
1329 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1330 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1331 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1332 pty process (Bug#11273).
1333 (gdb-update): New arg to suppress talking to the gdb process.
1334 (gdb-done-or-error): Use it.
1335 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1336 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1337 sentinel not being called.
1338
1339 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1340
d02766ab
CY
1341 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1342
c07a4c0b 13432012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1344
1345 * net/network-stream.el (open-network-stream): Doc fix.
1346
c07a4c0b 13472012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1348
1349 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1350
c07a4c0b 13512012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1352
1353 Ensure searching for keywords is case sensitive.
1354
1355 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1356 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1357 (c-defun-name, c-mark-function, c-cpp-define-name)
1358 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1359 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1360
ef24141c
SM
1361 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1362 Bind case-fold-search to nil.
f0f6bc35 1363
c07a4c0b 13642012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1365
1366 * mail/sendmail.el (mail-bury): Call return action with the right
1367 Rmail buffer (Bug#11242).
1368
9a864fa2
CY
1369 * server.el (server-process-filter): Handle corner case where both
1370 tty and nowait options are present (Bug#11102).
1371
539aa513
EZ
13722012-04-20 Eli Zaretskii <eliz@gnu.org>
1373
1374 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1375 (top level): Put into the executable the ident-style '$Id:' tag on
1376 windows-nt as well.
539aa513 1377
cfc7d5da
SM
13782012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * electric.el (electric-indent-post-self-insert-function): Check that
1381 electric-indent-mode is enabled in current buffer.
1382
5b01685c
JB
13832012-04-19 Juanma Barranquero <lekktu@gmail.com>
1384
1385 * imenu.el (imenu-progress-message): Restore; it is "used" in
1386 erc/erc-imenu.el and net/snmp-mode.el.
1387
4d6769e1
JB
13882012-04-19 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1391 (mouse-avoidance-nudge-mouse): Remove unused binding.
1392
1393 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1394
1395 * descr-text.el (describe-char):
1396 * progmodes/python.el (python-describe-symbol):
1397 Don't call `toggle-read-only', set `buffer-read-only'.
1398
1399 * imenu.el (imenu-default-goto-function): Mark unused args.
1400 (imenu-progress-message): Remove obsolete macro; all callers changed.
1401
1402 * subr.el (keymap-canonicalize): Remove unused binding.
1403 (read-passwd): Mark unused arg.
1404
1405 * tutorial.el (tutorial--display-changes): Remove unused binding.
1406 (tutorial--save-tutorial-to): Remove unused variable.
1407
1408 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1409 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1410 (package-generate-autoloads, package-menu--generate)
1411 (package-menu--find-upgrades): Remove unused bindings.
1412
1413 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1414 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1415 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1416 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1417 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1418 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1419 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1420 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1421 (cua-delete-char-rectangle): Mark unused args.
1422 (cua-align-rectangle): Remove unused binding.
1423
1424 * mail/rmail.el (compilation--message->loc)
1425 (epa--find-coding-system-for-mime-charset): Declare.
1426
1427 * net/dbus.el (dbus-register-service): Declare.
1428 (dbus-name-owner-changed-handler): Remove unused binding.
1429
1430 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1431 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1432 (nxml-scan-backward-within): Mark unused arg.
1433 (nxml-dynamic-markup-word): Remove unused binding.
1434
1435 * mouse.el (mouse-menu-major-mode-map):
1436 * emacs-lisp/authors.el (authors-scan-change-log)
1437 (authors-add-to-author-list):
1438 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1439 * emacs-lisp/smie.el (smie-auto-fill):
1440 * mail/sendmail.el (mail-bury):
1441 * mail/unrmail.el (unrmail):
1442 * net/tls.el (open-tls-stream):
1443 * textmodes/picture.el (picture-mouse-set-point):
1444 Remove unused bindings.
1445
8c8fc5df
MA
14462012-04-19 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * net/tramp.el (tramp-action-password): Let-bind
1449 `enable-recursive-minibuffers' to t.
1450
a77b0ac9
SS
14512012-04-18 Sam Steingold <sds@gnu.org>
1452
1453 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1454 instead of 'string to accommodate values like [f11].
1455 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1456 * progmodes/gdb-mi.el: Likewise.
1457
12a106a9
LL
14582012-04-18 Leo Liu <sdl.web@gmail.com>
1459
1460 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1461 current buffer.
1462 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1463 LOCAL is nil.
1464
bc6494ef
CY
14652012-04-18 Chong Yidong <cyd@gnu.org>
1466
1467 * simple.el (line-move): Use forward-line if in batch mode
1468 (Bug#11053).
1469
c09c46b2
CS
14702012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1471
1472 * files.el (after-find-file): Do not try to add a final newline if
1473 the buffer is read-only (Bug#11156).
1474
5f6530ea
RS
14752012-04-17 Richard Stallman <rms@gnu.org>
1476
1477 * mail/rmail.el (rmail-start-mail):
1478 Pass (rmail-mail-return...) for the return-action.
1479 Pass (rmail-yank-current-message...) for the yank-action.
1480 (rmail-yank-current-message): New function.
1481 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1482 (rmail-reply): Likewise.
1483 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1484
1485 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1486 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1487 buffer, not newbuf.
1488
197b6f3c
JB
14892012-04-17 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * server.el (server-ensure-safe-dir): Simplify.
1492
2311d8e5 14932012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1494
2311d8e5
GM
1495 * emacs-lisp/smie.el: Provide smarter auto-filling.
1496 (smie-auto-fill): New function.
1497 (smie-setup): Use it.
98fb480e 1498
2311d8e5
GM
1499 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1500
15012012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1502
1503 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1504 (comment-indent): Use it.
1505
2311d8e5 15062012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1507
1508 * ses.el: The overall change is to add cell renaming, that is
1509 setting fancy names for cell symbols other than name matching
1510 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1511 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1512 (ses-create-cell-variable): New defun.
2311d8e5 1513 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1514 (ses-relocate-formula): Relocate formulas only for cells the
1515 symbols of which are not renamed, i.e. symbols whose names do not
1516 match regexp "\\`[A-Z]+[0-9]+\\'".
1517 (ses-relocate-all): Relocate values only for cells the symbols of
1518 which are not renamed.
1519 (ses-load): Create cells variables as the (ses-cell ...) are read,
1520 in order to check row col consistency with cell symbol name only
1521 for cells that are not renamed.
1522 (ses-replace-name-in-formula): New defun.
1523 (ses-rename-cell): New defun.
4bdf2ad2 1524
fc72b15c
PO
15252012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1526
1527 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1528 New option (bug#11118).
1529 (perl-calculate-indent): Respect it.
1530
12e10e61
GM
15312012-04-17 Glenn Morris <rgm@gnu.org>
1532
1533 * dired-aux.el (dired-mark-read-string): Doc fix.
1534
30009afd
DA
15352012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1536
1537 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1538 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1539
41f03f4d
GM
15402012-04-17 Glenn Morris <rgm@gnu.org>
1541
1542 * mouse.el (mouse-drag-track):
1543 * speedbar.el (speedbar-frame-mode):
1544 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1545
f45f90f3
LL
15462012-04-16 Leo Liu <sdl.web@gmail.com>
1547
1548 * progmodes/python.el: Trivial cleanup.
1549
94ee8db5
GM
15502012-04-16 Glenn Morris <rgm@gnu.org>
1551
121b8917
GM
1552 * vc/vc.el (vc-string-prefix-p):
1553 * vc/pcvs-util.el (cvs-string-prefix-p):
1554 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1555 * mpc.el (mpc-string-prefix-p):
1556 Make all of these into obsolete aliases for string-prefix-p.
1557 Update callers.
1558 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1559
1197ecfa
GM
1560 * textmodes/two-column.el: Move custom options to the start.
1561 (frame-width): Remove compat definition.
1562 (2C-associate-buffer, 2C-dissociate):
1563 Use with-current-buffer rather than save-excursion.
1564 (2C-dissociate): Force a mode-line update.
1565 (2C-autoscroll): Use ignore-errors.
1566
099e7202
GM
1567 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1568 Autoload trivia.
1569
bf350d6a
GM
1570 * emacs-lisp/cl-extra.el (*random-state*):
1571 Remove unnecessary declaration.
1572
0e829eab
GM
1573 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1574
e3ad7552
GM
1575 * play/cookie1.el (cookie-snarf):
1576 Give an explicit error if input file cannot be read.
1577
68892d27
GM
1578 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1579
20f0c46d
GM
1580 * progmodes/perl-mode.el (c-macro-expand):
1581 Remove unnecessary autoload (it is in loaddefs.el).
1582
5a0978ce
GM
1583 * textmodes/picture.el (picture-desired-column)
1584 (picture-update-desired-column): Convert comments to doc-strings.
1585 (picture-substitute): Remove function.
1586 (picture-mode-map): Initialize in the defvar.
1587
6b955486
GM
1588 * woman.el: Remove eval-after-load for tar-mode.
1589 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1590 (woman-tar-extract-file): Autoload it.
1591
94ee8db5
GM
1592 * frame.el (automatic-hscrolling): Make this alias obsolete.
1593
177eca34
AM
15942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1595
1596 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1597 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1598 (ispell-dictionary-base-alist): Revert to original XEmacs
1599 friendly version for default. [:alpha:] will be added in
1600 `ispell-set-spellchecker-params' if needed
177eca34 1601
c505aaeb
CY
16022012-04-16 Chong Yidong <cyd@gnu.org>
1603
1604 * image.el (imagemagick--extension-regexp): New variable.
1605 (imagemagick-register-types): Use it.
1606 (imagemagick-types-inhibit): Add :set function. Allow new value
1607 of t to inhibit all types.
1608
1609 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1610 so we can preload it.
1611
1612 * loadup.el (fboundp): Preload regexp-opt, needed by
1613 imagemagick-register-types.
1614
60efac0f
CY
16152012-04-15 Chong Yidong <cyd@gnu.org>
1616
1617 * frame.el (scrolling): Remove nearly unused customization group.
1618
1619 * scroll-all.el (scroll-all-mode): Move to windows group.
1620
5dd1713e
CY
16212012-04-15 Chong Yidong <cyd@gnu.org>
1622
1623 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1624
e6fd457e
CY
16252012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1628 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1629
e153c136
GM
16302012-04-15 Glenn Morris <rgm@gnu.org>
1631
1632 * simple.el (process-file-side-effects): Doc fix.
1633
e6fd457e 16342012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1635
1636 * international/mule-cmds.el (set-language-environment): Doc fix.
1637
3603c3b1
JB
16382012-04-14 Juanma Barranquero <lekktu@gmail.com>
1639
1640 * server.el (server-auth-key, server-generate-key): Doc fixes.
1641 (server-get-auth-key): Doc fix. Use `string-match-p'.
1642 (server-start): Reflow docstring.
1643
e6de100c
LI
16442012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1645
1646 * server.el (server-generate-key): `called-interactively-p'
1647 requires a parameter.
1648
29734c21
MN
16492012-04-14 Michal Nazarewicz <mina86@mina86.com>
1650
1651 * server.el (server-auth-key): New variable.
75f1671a 1652 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1653 (server-start): Use the new variable and functions to allow
1654 setting a permanent server key (bug#9423).
1655
d65c9521
LL
16562012-04-14 Leo Liu <sdl.web@gmail.com>
1657
1658 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1659
5ae255c7
PE
16602012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1661
1662 Spelling fixes.
1663 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1664 Emacs uses American spelling.
1665
d5e6342e
JB
16662012-04-14 Juanma Barranquero <lekktu@gmail.com>
1667
1668 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1669 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1670 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1671 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1672
ab036cd7
SM
16732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * progmodes/which-func.el (which-func-modes): Change default.
1676
35dc09a1 16772012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1678
1679 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1680 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1681
35dc09a1 16822012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1683
1684 * custom.el (custom-theme-set-variables): Doc fix.
1685
35dc09a1 16862012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1687
1688 * international/mule.el (set-auto-coding-for-load): Doc fix.
1689
35dc09a1 16902012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1691
35dc09a1
GM
1692 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1693 imenu work again for Objective C Mode. Correct the *-index values,
1694 these having been disturbed by a previous change in 2011-08.
57f845ee 1695
0de3da9f
AM
1696 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1697 Correct two search limits.
1698
35dc09a1 16992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1700
1701 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1702
35dc09a1 17032012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1704
1705 * international/characters.el: Fix sorting.
1706
35dc09a1 17072012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1708
1709 * international/characters.el: Add more missing Latin case pairs.
1710
35dc09a1 17112012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1712
1713 * files.el (dir-locals-set-class-variables): Doc fix.
1714
35dc09a1 17152012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1716
3f1b5bf8
EZ
1717 * international/characters.el: Add set-case-syntax-pair call for
1718 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1719 counterpart. (Bug#11209)
1720
9f847f41
EZ
1721 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1722
35dc09a1 17232012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1724
1725 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1726
35dc09a1 17272012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1728
35dc09a1
GM
1729 * textmodes/ispell.el (ispell-dictionary-base-alist):
1730 Add data for Hebrew.
e2627d21 1731
35dc09a1 17322012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1733
35dc09a1
GM
1734 * net/rcirc.el (rcirc-cmd-quit):
1735 Revert 2012-03-18 change (Bug#11192).
5c14e333 1736
35dc09a1 17372012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1738
1739 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1740
35dc09a1 17412012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1742
4517fe3a
SM
1743 * minibuffer.el (completion-in-region-mode-map):
1744 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1745
b472a594
VD
17462012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1747
1748 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1749
09b95ce3
MY
17502012-04-13 Masatake YAMATO <yamato@redhat.com>
1751
1752 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1753 to allow `C-M-f' and `C-M-b' to move to the nearest path
1754 separator (bug#9511).
1755
4b63a9ca
LI
17562012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1757
1758 * avoid.el: Require cl when compiling. And also move the
1759 `provide' to the end.
1760
7b55b8bf
TV
17612012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1762
1763 * avoid.el (mouse-avoidance-banish-position): New variable.
1764 (mouse-avoidance-banish-destination): Use it (bug#10165).
1765
adedaa1f
LL
17662012-04-13 Leo Liu <sdl.web@gmail.com>
1767
1768 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1769
70e74021
KB
17702012-04-13 Ken Brown <kbrown@cornell.edu>
1771
1772 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1773 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1774 (browse-url-filename-alist): For the same reason, don't modify
1775 file:// URLs on Cygwin.
1776
e75e89ba
SM
17772012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1780 the region on shift if the binding is already shifted (bug#11221).
1781
82f289a4
GM
17822012-04-12 Glenn Morris <rgm@gnu.org>
1783
1784 * mail/mailpost.el: Move to obsolete/.
1785
d333dc4c
DA
17862012-04-12 Drew Adams <drew.adams@oracle.com>
1787
1788 * imenu.el (imenu--generic-function): Ignore invisible definitions
1789 (bug#10123).
1790
0d15b5ba
VD
17912012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1792
1793 * hexl.el (hexl-bits): New variable.
1794 (hexl-options): Mention the variable in the doc string.
75f1671a 1795 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1796 (hexl-mode): Mention the new variable.
75f1671a
JB
1797 (hexl-mode, hexl-current-address, hexl-current-address):
1798 Use the displen.
0d15b5ba
VD
1799 (hexl-ascii-start-column): New function.
1800 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1801 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1802
64a440db
AM
18032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1804
1805 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1806 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1807 the encoding, as expected by hunspell.
1808
6decb6c2
SM
18092012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * battery.el (battery--linux-sysfs-regexp): New const.
1812 (battery-status-function): Use it. Remove yeeloong special case.
1813 (battery-yeeloong-sysfs): Remove.
1814 (battery-echo-area-format): Remove yeeloong special case.
1815
088be6fb
SM
18162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1817
6622e416
SM
1818 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1819 Reported by Noah Friedman.
1820
088be6fb
SM
1821 * subr.el (read-passwd): Use read-string.
1822
b49f886e
LMI
18232012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1824
1825 * vcursor.el (vcursor-move): Increase the priority of the overlay
1826 (bug#9663).
1827
a63067fc
DD
18282012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1829
1830 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1831 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1832
ac3cf14a
WS
18332012-04-11 William Stevenson <yhvh2000@gmail.com>
1834
1835 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1836 define-minor-mode (bug#10760).
1837
c4fc691b 18382012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1839
4d6769e1 1840 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1841 that directories matching `grep-find-ignored-files' won't be
1842 pruned (bug#10351).
1843
af23e2e5
CY
18442012-04-11 Chong Yidong <cyd@gnu.org>
1845
1846 * startup.el (command-line): Remove support for long-obsolete
1847 variable font-lock-face-attributes.
1848
ab7ce8c1
GM
18492012-04-11 Glenn Morris <rgm@gnu.org>
1850
1851 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1852
de8c03dc
SM
18532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * window.el (window--state-get-1): Obey window-point-insertion-type.
1856
050cc68b
LB
18572012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1858
1859 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1860 to previous function when point is on the first character of a
75f1671a 1861 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1862
a38c310c
GM
18632012-04-11 Glenn Morris <rgm@gnu.org>
1864
effed0c2
GM
1865 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1866 not just file-errors.
1867
a38c310c
GM
1868 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1869 (vc-bzr-sha1): Use internal sha1.
1870
0221e323
SM
18712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1874
43956923
SG
18752012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1876
1877 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1878 that start in the middle of the line (bug#10496).
1879
6a8c9eaf
DN
18802012-04-10 Dan Nicolaescu <dann@gnu.org>
1881
1882 * battery.el (battery-linux-proc-acpi): Only one battery is
1883 discharged at a time, but that seems to confuse battery.el when
1884 computing `rate-type' for the battery not being discharged
1885 (bug#10332).
1886
1930bf5d
SM
18872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1888
2a718f6f
SM
1889 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1890
599430d0
SM
1891 * international/quail.el: Use dolist and simplify.
1892 (quail-define-package, quail-update-keyboard-layout)
1893 (quail-define-rules): Use dolist.
1894 (quail-insert-kbd-layout, quail-get-translation): CSE.
1895
a2754b6c
SM
1896 * tmm.el: Use dolist, remove left over hook.
1897 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1898 Use dolist.
1899 (calendar-load-hook): Don't mess with it.
1900
1930bf5d
SM
1901 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1902 Use derived-mode-p. Run the diff asynchronously.
1903
9f67961c
LMI
19042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1905
1906 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1907
2a8ce227
JB
19082012-04-10 Juanma Barranquero <lekktu@gmail.com>
1909
1910 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1911 (list-dynamic-libraries--loaded): New function.
1912 (list-dynamic-libraries--refresh): Use it.
1913
8f33b5f8
NW
19142012-04-10 Nathan Weizenbaum <nweiz@google.com>
1915
1930bf5d
SM
1916 * progmodes/python.el (python-fill-paragraph):
1917 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1918 disabled (bug#7018).
1919
b12f0439
L
19202012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1921
1930bf5d 1922 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1923 DOS/MS Windows for the Baltic languages. There are still plenty
1924 of texts written in this encoding/codepage (bug#6519).
b12f0439 1925
57c3bd01
GM
19262012-04-10 Glenn Morris <rgm@gnu.org>
1927
1928 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1929 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1930
6c3eab30
FA
19312012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1932
1930bf5d 1933 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1934 next-line "n" and previous-line "p" in order to make recentf more
1935 consistent with ibuffer, dired or org-mode (bug#9387).
1936
24d78a88
LMI
19372012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1938
bc72b5d9
LMI
1939 * image.el (put-image): Return the overlay created instead of the
1940 optional input string (bug#7834). Note that this may break code
1941 that is (for some reason or other) depending on `put-image'
1942 returning the string.
1943
bd2dba5a
LMI
1944 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1945
74beb59f
LMI
1946 * simple.el (zap-to-char): Allow zapping using input methods
1947 (bug#1580).
1948
24d78a88
LMI
1949 * textmodes/fill.el (fill-region): Leave point and mark where they
1950 were before filling (bug#5399).
1951
263f20cd
GM
19522012-04-09 Glenn Morris <rgm@gnu.org>
1953
1954 * version.el (emacs-bzr-get-version):
1955 Handle lightweight checkouts of local branches.
1956
58d1f797
AS
19572012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1958
263f20cd 1959 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1960
b4d3bc10
CY
19612012-04-09 Chong Yidong <cyd@gnu.org>
1962
1963 * custom.el (custom-variable-p): Return nil for non-symbol
1964 arguments instead of signaling an error.
1965 (user-variable-p): Obsolete alias for custom-variable-p.
1966
1967 * apropos.el (apropos-variable):
1968 * files-x.el (read-file-local-variable):
1969 * simple.el (set-variable):
1970 * woman.el (woman-mini-help):
1971 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1972
fd06db5d
GM
19732012-04-09 Glenn Morris <rgm@gnu.org>
1974
e5fcdb5e
GM
1975 * startup.el (normal-top-level): Don't look for leim-list.el
1976 in places where it will not be found. (Bug#910)
1977
fd06db5d
GM
1978 * international/mule-cmds.el (set-default-coding-systems):
1979 * files.el (normal-mode):
1980 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1981 This function was removed with ucs-tables.el in 2008.
1982
b39bb7e1
EZ
19832012-04-08 Eli Zaretskii <eliz@gnu.org>
1984
1985 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1986 ispell-encoding8-command to "-i", without a trailing space.
1987 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1988 separate command-line arguments, to specify the encoding, since
1989 that's how hunspell expects it.
1990
5c5b8e23
GM
19912012-04-08 Glenn Morris <rgm@gnu.org>
1992
1993 * loadup.el: Load bindings before cus-start.
1994 This reduces somewhat the number of "rogue" settings in emacs -Q.
1995
a1ed8b05
GM
19962012-04-07 Glenn Morris <rgm@gnu.org>
1997
1998 * version.el (emacs-bzr-get-version): New function.
dfae128a 1999 (emacs-bzr-version): New variable.
a1ed8b05
GM
2000 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2001 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2002
b142f158
EZ
20032012-04-07 Eli Zaretskii <eliz@gnu.org>
2004
dfae128a
GM
2005 * international/uni-bidi.el, international/uni-category.el:
2006 * international/uni-combining.el, international/uni-decimal.el:
2007 * international/uni-decomposition.el, international/uni-digit.el:
2008 * international/uni-lowercase.el, international/uni-mirrored.el:
2009 * international/uni-name.el, international/uni-numeric.el:
2010 * international/uni-titlecase.el, international/uni-uppercase.el:
2011 Update for Unicode 6.1.
b142f158 2012
9078ead6
EZ
20132012-04-07 Eli Zaretskii <eliz@gnu.org>
2014
2015 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2016
f23d2c7d
LMI
20172012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2018
2019 * window.el (shrink-window): Mention the `window-min-height'
2020 variable in the doc string.
2021
0a0a3573
BG
20222012-04-05 Bastien Guerry <bzg@altern.org>
2023
2024 * color.el (color-lighten-name): Fix typo.
2025
e5248ac9
SM
20262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * server.el (server--on-display-p): New function.
2029 (server--on-display-p): Use it.
2030
b4243e22
GV
20312012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2032
2033 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2034 (bug#11145).
2035
305d9f44
SM
20362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * comint.el (comint--common-quoted-suffix): Check string boundary
2039 before comparing (bug#11158).
2040 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2041
3d439cd1
CY
20422012-04-04 Chong Yidong <cyd@gnu.org>
2043
321cc491
CY
2044 * minibuffer.el (completion-extra-properties): Doc fix.
2045
3d439cd1
CY
2046 * subr.el (delayed-warnings-hook): Doc fix.
2047
2d562c0f
DU
20482012-04-04 Daiki Ueno <ueno@unixuser.org>
2049
2050 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2051 selection (Bug#11159).
2052 (epa-insert-keys): Inform that the default public key will be
2053 exported if no key is selected.
2054
4443f204
RS
20552012-04-04 Richard Stallman <rms@gnu.org>
2056
2057 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2058
529c06b6
CY
20592012-04-03 Chong Yidong <cyd@gnu.org>
2060
2061 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2062 mail-insert-file, not its obsolete alias mail-attach-file.
2063
66b907dc
MA
20642012-04-03 Michael Albinus <michael.albinus@gmx.de>
2065
2066 * notifications.el (notifications-notify): Fix docstring.
2067
c0ea195d
GM
20682012-04-02 Glenn Morris <rgm@gnu.org>
2069
2070 * emacs-lisp/authors.el (authors-aliases): Another addition.
2071
5ca64e00
MA
20722012-04-02 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2075 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2076 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2077
42ee526b
CY
20782012-04-01 Chong Yidong <cyd@gnu.org>
2079
2080 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2081 Handle root directory properly.
2082 (copy-directory): Caller changed.
2083
2084 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2085 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2086
0b021094
GM
20872012-03-31 Glenn Morris <rgm@gnu.org>
2088
40f86458
GM
2089 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2090
7019c177
GM
2091 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2092
a1daddd6
GM
2093 * calendar/calendar.el (calendar-window-list)
2094 (calendar-hide-window): Restore. (Bug#11140)
2095 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2096
0b021094
GM
2097 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2098
40311efc
TV
20992012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2100
2101 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2102 Check if file is a symlink (Bug#10489).
2103
2104 * files.el (copy-directory): Likewise.
2105
5319014e
CY
21062012-03-30 Chong Yidong <cyd@gnu.org>
2107
2108 * image.el (imagemagick-types-inhibit)
2109 (imagemagick-register-types): Doc fix.
2110
935d1290
AM
21112012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2112
ef24141c
SM
2113 * ispell.el (ispell-get-extended-character-mode):
2114 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2115 and treats ~word as ordinary words in pipe mode.
935d1290 2116
61c6e8fd
GM
21172012-03-30 Glenn Morris <rgm@gnu.org>
2118
2119 * tutorial.el (help-with-tutorial): Ensure local variables don't
2120 happen to make the buffer read-only. (Bug#11127)
2121
81fdff00
SM
21222012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2125 (perl-calculate-indent): Return `noindent' in strings.
2126
6e7a6ec0
SS
21272012-03-28 Sam Steingold <sds@gnu.org>
2128
2129 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2130 instead of the broken adhockery which does not prevent calendar
2131 buffers from being displayed at random after exit.
2132 (calendar-window-list, calendar-hide-window): Remove the broken
2133 adhockery.
2134
fee88ca0
GM
21352012-03-28 Glenn Morris <rgm@gnu.org>
2136
2137 * replace.el (query-replace-map): Doc fix.
2138
38de3354
AS
21392012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2140
2141 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2142 contents. (Bug#11109)
2143
b973155e
SM
21442012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2147 (bug#11077).
2148 (avl-tree--check, avl-tree--check-node): New funs.
2149
dcb6e7b3
MR
21502012-03-27 Martin Rudalics <rudalics@gmx.at>
2151
2152 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2153 (switch-to-prev-buffer, switch-to-next-buffer):
2154 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2155 showing a buffer already is done on the same frame.
2156
b4fa35fa
GM
21572012-03-27 Glenn Morris <rgm@gnu.org>
2158
2159 * startup.el (mail-host-address): Doc fix.
2160
f9210e18
SM
21612012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2164 than 197 variables.
2165
c0bf7753
AF
21662012-03-26 Ami Fischman <ami@fischman.org>
2167
2168 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2169
33da7b16
GM
21702012-03-26 Glenn Morris <rgm@gnu.org>
2171
02243d9d
GM
2172 * files.el (save-buffers-kill-emacs): Doc fix.
2173
33da7b16
GM
2174 * startup.el (normal-top-level, command-line, command-line-1):
2175 Give them doc strings.
2176
e5a69fd0
EZ
21772012-03-25 Eli Zaretskii <eliz@gnu.org>
2178
2179 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2180 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2181
9a69676a
CY
21822012-03-25 Chong Yidong <cyd@gnu.org>
2183
4125cb8b
CY
2184 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2185 theme if it was previously enabled before (Bug#11031).
2186
dd470960
CY
2187 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2188 spec with custom-face-get-current-spec if its :shown-value is not
2189 determined yet (Bug#9337).
4125cb8b 2190 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2191
9a69676a
CY
2192 * button.el (button-at): Minor addition to docstring.
2193
6e7e90fa
SL
21942012-03-24 Simon Leinen <simon.leinen@gmail.com>
2195
2196 * vc/vc.el (vc-merge): Fix a prompt.
2197
f06e2758
CY
21982012-03-24 Chong Yidong <cyd@gnu.org>
2199
2200 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2201 point (Bug#9623).
2202
6e7e90fa
SL
2203 * button.el (button-at): Minor addition to docstring.
2204
b9d0879b
SM
22052012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * newcomment.el (comment-choose-indent): No space after BOL.
2208
e71cebb3
SS
22092012-03-22 Sam Steingold <sds@gnu.org>
2210
2211 * window.el (switch-to-prev-buffer): Revert last patch because the
2212 bug turned out to be an advertised feature (Elisp manual 28.14).
2213
335aff35
GM
22142012-03-22 Glenn Morris <rgm@gnu.org>
2215
2216 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2217 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2218
c676576a
LMI
22192012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2220
2221 * net/network-stream.el (network-stream-open-starttls): Make error
2222 message under Windows be less misleading.
2223
126f3d39
LW
22242012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2225
2226 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2227 understands (bug#9942).
2228
64fee311
CY
22292012-03-22 Chong Yidong <cyd@gnu.org>
2230
2231 * simple.el (end-of-visible-line): Handle return value of
2232 next-single-property-change properly (Bug#9371).
2233
a640d29a
KH
22342012-03-22 Kenichi Handa <handa@m17n.org>
2235
2236 * international/quail.el (quail-insert-kbd-layout): Fix previous
2237 change. To avoid unwanted bidi reordering, use
2238 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2239
39675016
DG
22402012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2241
2242 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2243 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2244 (ruby-beginning-of-indent): Be more careful with the difference
2245 between word-boundary and symbol boundary.
2246 (ruby-mode-syntax-table): Make : a symbol constituent.
2247
0a6934fc 22482012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2249
3d008e4f
SM
2250 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2251
0a6934fc
SM
22522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2253
af67c9d7
SM
2254 * progmodes/etags.el (tags-completion-at-point-function):
2255 Improve last fix.
2256
1acad97c
SM
2257 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2258
e298b5da
SS
22592012-03-21 Sam Steingold <sds@gnu.org>
2260
2261 * progmodes/etags.el (tags-completion-at-point-function):
2262 Avoid the error when point is inside the pattern.
2263
91d82a70
JY
22642012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2265
2266 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2267 line (Bug#10855).
2268
69188b79
CY
22692012-03-21 Drew Adams <drew.adams@oracle.com>
2270
2271 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2272
99fc91fe
AK
22732012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2274
2275 * ido.el (ido-set-current-directory, ido-read-internal)
2276 (ido-choose-completion-string, ido-completion-help): Handle nil
2277 value of ido-completion-buffer (Bug#11008).
2278
087bbb4c
SS
22792012-03-21 Sam Steingold <sds@gnu.org>
2280
2281 * window.el (switch-to-prev-buffer): Do not switch to a visible
2282 window previous buffer, just like with the frame previous buffers.
2283
fb5b8aca
CY
22842012-03-21 Chong Yidong <cyd@gnu.org>
2285
2286 * faces.el (make-face, make-empty-face, copy-face):
2287 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2288 Doc fixes.
2289
dc9924b8
SM
22902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2293 (widget-complete): Remove broken use of it.
2294
f0bcceb9
CY
22952012-03-20 Chong Yidong <cyd@gnu.org>
2296
dc9924b8
SM
2297 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2298 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2299 characters.
2300
ee52ebf3
TH
23012012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2302
2303 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2304 to draw rectangles, not squares. (Regression introduced by revno
2305 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2306
4c5779ab
CY
23072012-03-18 Chong Yidong <cyd@gnu.org>
2308
2309 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2310 it is not yet defined (for temacs).
2311
15360934
LL
23122012-03-18 Leo Liu <sdl.web@gmail.com>
2313
dc9924b8 2314 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2315
d9a8eb66
EZ
23162012-03-17 Eli Zaretskii <eliz@gnu.org>
2317
2318 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2319 (ispell-choices-win-default-height, ispell-silently-savep)
2320 (ispell-dictionary-alist, ispell-encoding8-command)
2321 (ispell-check-version, ispell-aspell-find-dictionary)
2322 (ispell-valid-dictionary-list, ispell-words-keyword)
2323 (ispell-get-word, ispell-internal-change-dictionary)
2324 (ispell-region, ispell-skip-region-list)
2325 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2326 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2327 (ispell-message-text-end, ispell-message)
2328 (ispell-buffer-local-parsing): Doc fix.
2329
f02ff80d
J
23302012-03-13 Jambunathan K <kjambunathan@gmail.com>
2331
2332 * htmlfontify.el: Add support for code block fontification for ODT
2333 export (Bug #9914).
2334 (hfy-optimisations): Define new option
2335 `body-text-only'
2336 (hfy-fontify-buffer): Honor above setting.
2337 (hfy-begin-span, hfy-end-span): New routines factored out form
2338 `hfy-fontify-buffer'.
2339 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2340 that permit insertion of custom tags.
2341 (hfy-fontify-buffer): Use above handlers.
2342 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2343 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2344 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2345 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2346 bind a special variable `hfy-user-sheet-assoc'.
2347 (htmlfontify-string): New defun.
2348 (hfy-compile-face-map): Make sure that the last char in the
2349 buffer is correctly fontified.
2350 (hfy-face-resolve-face): Whitespace only change.
2351
9ac7a13f
EZ
23522012-03-17 Eli Zaretskii <eliz@gnu.org>
2353
2354 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2355 message more clear.
2356
e2b5bdd7
LL
23572012-03-16 Leo Liu <sdl.web@gmail.com>
2358
2359 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2360
2e492df3
AM
23612012-03-16 Alan Mackenzie <acm@muc.de>
2362
2363 Further optimise the handling of large macros.
2364
2365 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2366 limit to a call of `c-literal-limits'.
2367 (c-determine-+ve-limit): New function.
dc9924b8
SM
2368 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2369 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2370 In CASE 5B, restrict a search limit to 500.
2371 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2372
2373 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2374 Restrict macro bounds to +-500 from after-change's BEG END.
2375
50e94f0c
LL
23762012-03-16 Leo Liu <sdl.web@gmail.com>
2377
2378 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2379
6f09f6ed
AH
23802012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2381
2382 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2383 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2384
c7e73d51
GM
23852012-03-16 Glenn Morris <rgm@gnu.org>
2386
da986230
GM
2387 * view.el (view-buffer, view-buffer-other-window)
2388 (view-buffer-other-frame): Doc fixes re special mode-class.
2389
0835f01e
GM
2390 * subr.el (eval-after-load): If named feature is provided not from
2391 a file, run after-load forms. (Bug#10946)
2392
c7e73d51
GM
2393 * calendar/calendar.el (calendar-insert-at-column):
2394 Handle non-unit-width characters a bit better. (Bug#10978)
2395
3f2eafd1
CY
23962012-03-15 Chong Yidong <cyd@gnu.org>
2397
2398 * emacs-lisp/ring.el (ring-extend): New function.
2399 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2400
2401 * comint.el (comint-read-input-ring)
2402 (comint-add-to-input-history): Grow comint-input-ring lazily.
2403
103af3fe
SM
24042012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2405
663b1677
SM
2406 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2407 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2408
103af3fe
SM
2409 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2410 (imenu-add-to-menubar): Don't add a redundant index.
2411 (imenu-update-menubar): Handle a dynamically composed keymap.
2412
899cb7cb
KY
24132012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2414
2415 * mail/sendmail.el (mail-encode-header):
2416 Bind rfc2047-encode-encoded-words to nil.
2417
3809f91d
GM
24182012-03-13 Glenn Morris <rgm@gnu.org>
2419
2420 * calendar/calendar.el (calendar-string-spread):
2421 Handle non-unit-width characters a bit better. (Bug#10978)
2422
9e345a01
LL
24232012-03-13 Leo Liu <sdl.web@gmail.com>
2424
2425 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2426 directory and file as argument (Bug#10822).
2427
4a07df36
KS
24282012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2429
2430 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2431 For dynamically generated code, follow $PC.
2432 (gdb-disassembly-handler-custom): Handle no function name case.
2433
4aaa9356
TL
24342012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2435
2436 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2437 * emulation/ws-mode.el (ws-query-replace):
2438 * sort.el (sort-regexp-fields):
2439 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2440
225979da
SM
24412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * dabbrev.el: Fix cycle completion order (bug#10963).
2444 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2445 (dabbrev-completion): Don't use an obarray; provide
2446 a cycle-sort-function.
2447
e2f1fdab
LL
24482012-03-12 Leo Liu <sdl.web@gmail.com>
2449
dc9924b8 2450 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2451 (kill-do-not-save-duplicates): Doc fix.
2452
b19490ed
SM
24532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * dabbrev.el: Fix cycle completion (bug#10963).
2456 Use lexical binding and wrap to 80 columns.
2457 (dabbrev-completion): Delay computing the list of completions.
2458
4b05d722
KH
24592012-03-12 Kenichi Handa <handa@m17n.org>
2460
2461 * international/quail.el (quail-insert-kbd-layout): Surround each
2462 row by LRO and PDF instead of inserting many LRMs. Pad the left
2463 and right of each non-spacing marks. Insert invisible space
2464 between lower and upper characters to prevent composition.
2465
dbbc2e69
SM
24662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * minibuffer.el (minibuffer-complete): Don't get confused when the
2469 function is run twice via different commands (bug#10958).
2470 (complete-with-action): Fix docstring.
2471
292112ed
CY
24722012-03-12 Chong Yidong <cyd@gnu.org>
2473
5d1ac394
CY
2474 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2475 (nxml-completion-at-point-function): New function.
2476 (nxml-mode): Use it.
2477 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2478
292112ed
CY
2479 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2480 Load generated autoloads file before byte compiling (Bug#10970).
2481 (package--make-autoloads-and-compile): New helper fun.
2482
4098f8f7
CS
24832012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2484
2485 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2486
8f754691
MA
24872012-03-11 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * autorevert.el (auto-revert-handler): Ensure, that
2490 file-readable-p is applied only for local files or in
2491 auto-revert-tail-mode.
2492
e29ab36b
AS
24932012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2494
dbbc2e69
SM
2495 * server.el (server-eval-at): Handle non-tcp connections.
2496 Decode result string.
ad0bf5b6 2497
e29ab36b
AS
2498 * server.el (server-msg-size): New constant.
2499 (server-reply-print): New function.
2500 (server-eval-and-print): Use it.
2501 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2502 Handle -print-nonl.
2503
de5939ba
CS
25042012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2505
2506 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2507 (Bug#10987).
2508
0c93eabf
CY
25092012-03-11 Chong Yidong <cyd@gnu.org>
2510
397a688f
CY
2511 * simple.el (goto-line): Doc fix (Bug#9938).
2512
2cc775f9
CY
2513 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2514
0c93eabf
CY
2515 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2516 when finished (Bug#10963).
2517
c491fa41
MR
25182012-03-11 Martin Rudalics <rudalics@gmx.at>
2519
2520 * window.el (split-window-below): Fix bug in case where
2521 split-window-keep-point is nil (Bug#10971).
2522
300e8fa5
JL
25232012-03-11 Juri Linkov <juri@jurta.org>
2524
2525 * replace.el (replace-highlight): Set isearch-word to nil
2526 unconditionally. (Bug#10887)
2527
dbf6c5a1
EZ
25282012-03-10 Eli Zaretskii <eliz@gnu.org>
2529
2530 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2531 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2532 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2533 (mairix-widget-create-query): Add usage information about mairix
2534 search forms: negating words, searching for substrings, etc.
2535
b9e501de
JP
25362012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2537
2538 * international/fontset.el (font-encoding-alist): Add an entry for
2539 ksx1001 (Bug#5667).
2540
92795c91
RS
25412012-03-10 Richard Stallman <rms@gnu.org>
2542
1694e6c1
RS
2543 * mail/sendmail.el (mail-encode-header):
2544 Set rfc2047-encode-encoded-words.
2545
607e8555
RS
2546 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2547
de3bc99a
RS
2548 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2549 view buffer means not swapped.
2550 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2551 (rmail-write-region-annotate): Error if real text has disappeared.
2552
92795c91
RS
2553 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2554
699bd04e
CY
25552012-03-10 Chong Yidong <cyd@gnu.org>
2556
2557 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2558 * emulation/cua-base.el (cua--init-keymaps):
2559 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2560
570a1714
MR
25612012-03-10 Martin Rudalics <rudalics@gmx.at>
2562
dbbc2e69
SM
2563 * speedbar.el (speedbar-unhighlight-one-tag-line):
2564 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2565
82dcf4e4
CY
25662012-03-10 Chong Yidong <cyd@gnu.org>
2567
7a2c7ca7
CY
2568 * minibuffer.el (completion-in-region, completion-help-at-point):
2569 Give the completion field overlay a high priority (Bug#6830).
2570
82dcf4e4
CY
2571 * dired.el (dired-goto-file): Recognize absolute file name
2572 listings (Bug#7126).
2573 (dired-goto-file-1): New helper function.
2574 (dired-toggle-read-only): Inhibit warnings.
2575
052e28ac
MA
25762012-03-09 Michael Albinus <michael.albinus@gmx.de>
2577
75f1671a 2578 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2579 there are no properties.
2580
95d5e396
LL
25812012-03-09 Leo Liu <sdl.web@gmail.com>
2582
2583 * savehist.el (savehist-printable): Stricter check for string
2584 value (Bug#10937).
2585
3f018d6d
EZ
25862012-03-09 Eli Zaretskii <eliz@gnu.org>
2587
dbbc2e69
SM
2588 * mail/smtpmail.el (smtpmail-send-it):
2589 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2590 valid mbox format.
2591
f7fd3d79
GM
25922012-03-09 Glenn Morris <rgm@gnu.org>
2593
2594 * files.el (dir-locals-find-file):
2595 Don't check result is regular, readable.
2596 (dir-locals-read-from-file): Demote errors.
2597
6ff6e72f
EZ
25982012-03-08 Eli Zaretskii <eliz@gnu.org>
2599
dbbc2e69
SM
2600 * international/quail.el (quail-insert-kbd-layout):
2601 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2602 layout cell, to prevent their reordering by bidi display engine.
2603 For details, see the discussion in
2604 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2605
9cec7834
AM
26062012-03-08 Alan Mackenzie <acm@muc.de>
2607
2608 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2609 the starting position; make it extend the marked region when
2610 invoked repeatedly - all under appropriate circumstances.
2611 Fixes bugs #5525, #10906.
2612
9a40b8d4
GM
26132012-03-08 Glenn Morris <rgm@gnu.org>
2614
2615 * files.el (locate-dominating-file, dir-locals-find-file):
2616 Undo 2012-03-06 change.
2617
7a08ed35
EZ
26182012-03-07 Eli Zaretskii <eliz@gnu.org>
2619
dbbc2e69
SM
2620 * international/quail.el (quail-help):
2621 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2622 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2623 for the reason.
2624
5aca4f71 26252012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2626
2627 Avoid superfluous registering of signals. (Bug#10807)
2628
2629 * notifications.el (notifications-on-action-object)
2630 (notifications-on-close-object): New defvars.
2631 (notifications-on-action-signal, notifications-on-closed-signal):
2632 Unregister the signal if not needed any longer.
2633 (notifications-notify): Register `notifications-action-signal' or
2634 `notifications-closed-signal', if :on-action or :on-close has been
2635 passed as argument.
2636
78e8b10a
CY
26372012-03-07 Chong Yidong <cyd@gnu.org>
2638
2639 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2640 non-X platforms.
2641
69481eb8
GM
26422012-03-06 Glenn Morris <rgm@gnu.org>
2643
2644 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2645 (x-disown-selection-internal, x-get-selection-internal):
2646 Doc fix (add arglist signatures). (Bug#10783)
2647
133b8e11
KS
26482012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2649
2650 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2651 Handle breakpoints with no "type".
2652
99a83064
GM
26532012-03-06 Glenn Morris <rgm@gnu.org>
2654
2655 * files.el (locate-dominating-file): Add optional predicate argument.
2656 (dir-locals-find-file): Make use of above change.
2657
17798e78
TTN
26582012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2659
2660 * info.el (Info-insert-dir): Also try "dir.gz".
2661
eb182446
GM
26622012-03-06 Glenn Morris <rgm@gnu.org>
2663
8f2114ee
GM
2664 * files.el (dir-locals-find-file):
2665 Ignore non-readable or non-regular files. (Bug#10928)
2666
eb182446
GM
2667 * files.el (locate-dominating-file): Doc fix.
2668
24679323
AS
26692012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2670
2671 * calendar/calendar.el (calendar-set-mode-line):
2672 `getenv' returns a string. (Bug#10951)
2673
01d972a9
LL
26742012-03-05 Leo Liu <sdl.web@gmail.com>
2675
109aa8a9
LL
2676 * simple.el (backward-delete-char-untabify): Constrain point to
2677 field (Bug#10939).
2678
01d972a9
LL
2679 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2680
10607bea
CY
26812012-03-05 Chong Yidong <cyd@gnu.org>
2682
2683 * simple.el (count-words): If called from Lisp, return the word
2684 count, for symmetry with `count-lines'. Arglist changed.
2685 (count-words--message): Args changed. Consolidate counting code
2686 from count-words and count-words-region.
2687 (count-words-region): Caller changed.
2688 (count-lines-region): Make it an obsolete alias.
2689
5dd11cfe
TH
26902012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2691
2692 * saveplace.el (save-place-to-alist)
2693 (save-place-ignore-files-regexp): Allow value nil to disable this
2694 feature.
2695
c349f4e6
CY
26962012-03-04 Chong Yidong <cyd@gnu.org>
2697
2698 * faces.el (face-spec-reset-face): For the default face, reset the
2699 attributes to default values (Bug#10748).
2700
e627be4c
LMI
27012012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2702
2703 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2704 previous patch: Check `message-send-mail-function', and not the
2705 default function (bug#10897).
2706
ebeabff4
MA
27072012-03-04 Michael Albinus <michael.albinus@gmx.de>
2708
a41a6cf4
MA
2709 * notifications.el (notifications-on-action-signal)
2710 (notifications-on-closed-signal): Check for unique service name of
2711 incoming event. Fix error in removing entry.
ebeabff4 2712 (top): Register for signals with wildcard service name.
a41a6cf4 2713 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2714
c1ca42b4
CY
27152012-03-04 Chong Yidong <cyd@gnu.org>
2716
dc9924b8 2717 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2718
ea16568d
GM
27192012-03-04 Glenn Morris <rgm@gnu.org>
2720
2721 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2722 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2723 (expand-abbrev, define-abbrev-table): Doc fixes.
2724
fbae4637
LMI
27252012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2726
2727 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2728 `message-default-send-mail-function' and not `send-mail-function'
2729 when doing the prompting for `sendmail-query-once' before sending
2730 in Message buffers (bug#10897).
2731
a1e7225c
LMI
2732 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2733 This is inconsistent with all the other stream functions, which leave
2734 the setting up to the higher levels (if so wanted) (bug#10931).
2735
56d093a9
AM
27362012-03-02 Alan Mackenzie <acm@muc.de>
2737
2738 Depessimize the handling of very large macros.
2739
2740 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2741 (c-macro-cache-syntactic): New variables to implement a one
2742 element macro cache.
2743 (c-invalidate-macro-cache): New function.
2744 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2745 Adapt to use the new cache.
2746 (c-state-safe-place): Use better the cache of safe positions.
2747 (c-state-semi-nonlit-pos-cache)
2748 (c-state-semi-nonlit-pos-cache-limit):
2749 New variables for...
2750 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2751 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2752 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2753 Use c-state-semi-safe-place.
56d093a9 2754
dbbc2e69
SM
2755 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2756 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2757
817e5c3d
MA
27582012-03-02 Michael Albinus <michael.albinus@gmx.de>
2759
dbbc2e69
SM
2760 * jka-compr.el (jka-compr-call-process):
2761 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2762 not remote.
2763
a032a702
MA
27642012-03-01 Michael Albinus <michael.albinus@gmx.de>
2765
2766 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2767 access of FILE2, if FILE1 does not exist.
2768
99a54f21
MA
2769 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2770 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2771
2772 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2773 Add "PAGER=" to `process-environment'.
2774
f6561e1f
MM
27752012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2776
2777 * progmodes/sql.el: Bug fix
2778 (sql-get-login-ext): Save login values in globals.
2779 (sql-get-login): Use new version of `sql-get-login-ext'.
2780 (sql-interactive-mode): Set global `sql-connection' to nil.
2781 (sql-connect): Set global values for connection.
2782 (sql-product-interactive): Save global values as buffer local.
2783
2d44d9cc
LL
27842012-02-29 Leo Liu <sdl.web@gmail.com>
2785
2786 * abbrev.el (define-abbrevs): Reset sys to nil.
2787
96b49301 27882012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2789
bf7f9bc5
JB
2790 * files.el (file-equal-p): Rename from `files-equal-p'.
2791 Return nil when one or both files don't exist.
96b49301 2792 (file-subdir-of-p): Now only top directory must exists,
2793 return nil if it doesn't.
bf7f9bc5
JB
2794 (copy-directory): No need to test with `file-subdir-of-p' after
2795 creating dir.
2796 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2797 to `file-equal-p'.
96b49301 2798
44e97401
GM
27992012-02-28 Glenn Morris <rgm@gnu.org>
2800
2801 * shell.el (shell-mode):
2802 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2803 * play/landmark.el (landmark-font-lock-face-O):
2804 * play/handwrite.el (handwrite):
2805 * play/gomoku.el (gomoku-O):
2806 * net/browse-url.el (browse-url-browser-display):
2807 * international/mule.el (define-charset):
2808 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2809 * filesets.el (filesets-find-file-delay):
2810 * eshell/em-xtra.el (eshell-xtra):
2811 * eshell/em-unix.el (eshell-grep):
2812 * emulation/viper.el (viper-mode):
2813 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2814 * emacs-lisp/easymenu.el (easy-menu-define):
2815 * calendar/timeclock.el (timeclock-use-display-time):
2816 * bs.el (bs-mode):
2817 * bookmark.el (bookmark-save-flag):
2818 Doc fix (standardize possessive apostrophe usage).
2819
c98c6276
CY
28202012-02-27 Chong Yidong <cyd@gnu.org>
2821
bf7f9bc5
JB
2822 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2823 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2824
c98c6276
CY
2825 * font-lock.el (font-lock-specified-p): Rename from
2826 font-lock-spec-present. Callers changed.
2827
9c62cd04 28282012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2829
bf7f9bc5
JB
2830 * emacs-lisp/package.el (package-compute-transaction):
2831 Handle holding a package version to t in package-load-list.
8ac9e529 2832
530739c9
MA
28332012-02-26 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2836 (tramp-get-inode, tramp-get-device): Use cached values.
2837
487915d7
AM
28382012-02-26 Alan Mackenzie <acm@muc.de>
2839
2840 Check there is a font-lock specification before doing initial
2841 fontification.
2842
2843 * font-core.el (font-lock-mode): Move the conditional from
2844 :after-hook to font-lock-initial-fontify.
2845 (font-lock-default-function): Move the check for a specification
2846 to font-lock-spec-present.
2847
dc9924b8 2848 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2849 (font-lock-spec-present): New function.
2850
4fd96557
JB
28512012-02-26 Jim Blandy <jimb@red-bean.com>
2852
2853 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2854 (gdb-send): Apply it to the operand of the '-interpreter-exec
2855 console' command, so that we can pass arguments with (say) quotes
2856 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2857
9a4888c0
CY
28582012-02-26 Chong Yidong <cyd@gnu.org>
2859
07498861
CY
2860 * help-fns.el (describe-function-1): Clarify description of
2861 remapping (Bug#10844).
2862
9a4888c0
CY
2863 * files.el (files-equal-p): Doc fix.
2864 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2865 and quit the loop once a mismatch is found.
2866
ea8fb88d
JB
28672012-02-25 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * bs.el (bs--show-with-configuration): Don't throw an error
2870 if the window cannot be split; otherwise, subsequent calls to
2871 bs-show fail, restoring a stale window config. (Bug#10882)
2872
525795c1
JD
28732012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2874
2875 * term/ns-win.el (global-map): Bind ns-drag-file to
2876 ns-find-file (Bug#5855, Bug#10050).
2877
f008086f
AS
28782012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2879
2880 * calendar/parse-time.el (parse-time-string): Allow extractor to
2881 return nil.
2882
a3fcfa99
MA
28832012-02-25 Michael Albinus <michael.albinus@gmx.de>
2884
91027d08
JB
2885 * net/tramp.el (tramp-file-name-for-operation):
2886 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2887
2888 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2889 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2890 Add COPY-CONTENTS argument.
a3fcfa99 2891
67b0de11
CY
28922012-02-25 Chong Yidong <cyd@gnu.org>
2893
2894 Add custom groups for VC backends, for consistency with vc-bzr.
2895
2896 * vc/vc-arch.el (vc-arch):
2897 * vc/vc-cvs.el (vc-cvs):
2898 * vc/vc-git.el (vc-git):
2899 * vc/vc-hg.el (vc-hg):
2900 * vc/vc-mtn.el (vc-mtn):
2901 * vc/vc-rcs.el (vc-rcs):
2902 * vc/vc-sccs.el (vc-sccs):
2903 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2904 All relevant defcustoms reassigned.
2905
3c9dfce6
CY
29062012-02-25 Chong Yidong <cyd@gnu.org>
2907
1339bf43
CY
2908 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2909
3c9dfce6
CY
2910 * term/x-win.el (x-initialize-window-system): Reduce default for
2911 x-selection-timeout to 5 seconds (Bug#8869).
2912
25b2e303 29132012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2914
ec70a47d
GM
2915 * files.el (files-equal-p, file-subdir-of-p): New functions.
2916 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2917 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2918 * dired-aux.el (dired-copy-file-recursive): Same.
2919 (dired-create-files): Modify destination when source is equal to
2920 dest when copying files.
53a46cd0 2921 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2922
914260cd
MA
29232012-02-24 Michael Albinus <michael.albinus@gmx.de>
2924
2925 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2926 (Bug#10874)
2927
2cb228f7
AM
29282012-02-23 Alan Mackenzie <acm@muc.de>
2929
2930 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2931 parameter "after-hook:" to allow the expansion to run code after
2932 the execution of the mode hooks.
2933
2934 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2935 from font-lock-mode-internal.
2cb228f7 2936
91027d08 2937 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2938 :after-hook.
2939
8f0fde21
SM
29402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2941
3e88618b
SM
2942 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2943 (completion--cache-all-sorted-completions): New function.
2944 (completion-all-sorted-completions): Use it.
2945 (completion--do-completion, minibuffer-force-complete):
2946 Use it to re-instate the flush hook.
2947
8f0fde21
SM
2948 * icomplete.el (icomplete-completions): Replace last fix with a better
2949 one (bug#10850).
2950
8e911f6f
DG
29512012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2952
2953 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2954 when it might call us back infinitely (bug#10797).
2955
49fe4321
GM
29562012-02-23 Glenn Morris <rgm@gnu.org>
2957
2958 * minibuffer.el (completion-category-overrides): Doc fix.
2959
b291b572
SM
29602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2963 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2964
31a9ef2e
GM
29652012-02-23 Glenn Morris <rgm@gnu.org>
2966
5e6e6794 2967 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2968 (authors-obsolete-files-regexps, authors-ignored-files)
2969 (authors-ambiguous-files, authors-renamed-files-alist):
2970 Add more entries.
2971
0bd1e074
JL
29722012-02-23 Juri Linkov <juri@jurta.org>
2973
2974 * isearch.el (isearch-occur): Sync interactive spec with occur's
2975 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2976
b617673c
JL
2977 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2978
19e9789e
JL
29792012-02-22 Juri Linkov <juri@jurta.org>
2980
2981 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2982 (ucs-insert): Doc fix. Check for hex digits in the string.
2983 Don't display `nil' in the error message. (Bug#10857)
2984
f41ce09d
AM
29852012-02-22 Alan Mackenzie <acm@muc.de>
2986
7a71b18d 2987 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2988
ac2eceee
GM
29892012-02-22 Glenn Morris <rgm@gnu.org>
2990
2991 * ffap.el (ffap-c-path):
2992 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2993
abd1f678
CY
29942012-02-22 Chong Yidong <cyd@gnu.org>
2995
2996 * custom.el (load-theme): Doc fix.
2997
f25aef2e
GM
29982012-02-22 Glenn Morris <rgm@gnu.org>
2999
3000 * dired-x.el (dired-guess-shell-alist-default):
3001 Remove escape sequences from nroff output. (Bug#172)
3002
5f8dc2ca
GM
30032012-02-21 Glenn Morris <rgm@gnu.org>
3004
6ff86ec4
GM
3005 * vc/emerge.el (emerge-defvar-local):
3006 Set `permanent-local' property rather than unused `preserved'.
3007
be3223a3 3008 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3009 (picture-mode-map): Use it. (Bug#10860)
3010 (picture-mode): Doc fix.
3011
3fe58f4f
JB
30122012-02-21 Juanma Barranquero <lekktu@gmail.com>
3013
3014 * newcomment.el (uncomment-region-default): Remove unused binding.
3015
f9a998c3
GM
30162012-02-21 Glenn Morris <rgm@gnu.org>
3017
3018 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3019 (picture-self-insert, picture-tab-chars): Doc fix.
3020 (picture-mode-map): Fix C-a, C-e.
3021
c6029348
GM
30222012-02-20 Glenn Morris <rgm@gnu.org>
3023
3024 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3025
ab1ce9d7
LL
30262012-02-20 Leo Liu <sdl.web@gmail.com>
3027
3028 * icomplete.el (icomplete-completions): Check FROM arg before
3029 passing to substring (Bug#10850).
3030
0fd40f89
CY
30312012-02-19 Chong Yidong <cyd@gnu.org>
3032
3033 * comint.el: Require ansi-color.
3034 (comint-output-filter-functions): Add ansi-color-process-output.
3035
3036 * ansi-color.el: Don't set comint-output-filter-functions; it is
3037 now in the initial value defined in comint.el.
3038 (ansi-color-apply-face-function): New variable.
3039 (ansi-color-apply-on-region): Use it.
3040 (ansi-color-apply-overlay-face): New function.
3041
3042 * shell.el (shell): No need to require ansi-color.
3043 (shell-mode): Use ansi-color-apply-face-function to highlight
3044 color escapes using font-lock-face property (Bug#10835).
3045
20af2394
CY
30462012-02-19 Chong Yidong <cyd@gnu.org>
3047
3048 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3049 mode-line formats (Bug#10839).
3050
e23a3fbe
GM
30512012-02-18 Glenn Morris <rgm@gnu.org>
3052
b474519e
GM
3053 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3054
3055 * mail/undigest.el (unforward-rmail-message): Doc fix.
3056
e23a3fbe
GM
3057 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3058
57939ff4
EZ
30592012-02-18 Eli Zaretskii <eliz@gnu.org>
3060
3061 * international/characters.el (script-list): Sync with the latest
3062 Unicode Character Database.
3063
0c23686e
AS
30642012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3065
3066 * international/titdic-cnv.el: Remove duplicate coding tag.
3067 * language/cham.el: Likewise.
3068 * language/tai-viet.el: Likewise.
3069
6818b449
GM
30702012-02-18 Glenn Morris <rgm@gnu.org>
3071
3072 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3073 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3074 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3075 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3076 * calendar/holidays.el (holiday-bahai-holidays)
3077 (calendar-holidays, list-holidays):
3078 Use utf-8 Bahá'í in doc-strings, menus, etc.
3079
0311a3fc
TH
30802012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3081
3082 * saveplace.el (save-place-ignore-files-regexp): New variable
3083 allowing for excluding files from saving their location of point.
3084 The default value matches the temporary commit message editing
3085 files from Git, SVN, Bazaar, and Mercurial.
3086 (save-place-to-alist): Use it.
3087
eb864a71
LM
30882012-02-17 Lawrence Mitchell <wence@gmx.li>
3089 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * newcomment.el (uncomment-region-default): Don't leave extra space
3092 when an arg is provided (bug#8150).
3093
ee0ce425
TZ
30942012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3095
eb864a71 3096 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3097
95ddf442
GM
30982012-02-17 Glenn Morris <rgm@gnu.org>
3099
3100 * net/socks.el: Require network-stream. (Bug#10599)
3101
48dd1e39 31022012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3103
3104 * international/charprop.el:
3105 * international/uni-name.el:
3106 * international/uni-old-name.el:
3107 * international/uni-comment.el: Regenerate.
3108
d68cd087
GM
31092012-02-16 Glenn Morris <rgm@gnu.org>
3110
3111 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3112 Interactively in calendar buffer, give an error if not on a date.
3113
13932042
GM
31142012-02-15 Glenn Morris <rgm@gnu.org>
3115
3116 * shell.el (shell-delimiter-argument-list):
3117 Revert 2011-02-17 change. (Bug#8027)
3118
c3a70e2b
CY
31192012-02-15 Chong Yidong <cyd@gnu.org>
3120
60236b0d
CY
3121 * minibuffer.el (completion-at-point-functions): Doc fix.
3122
c3a70e2b
CY
3123 * custom.el (defcustom): Doc fix; note use of defvar.
3124
9f26dc24
GM
31252012-02-15 Glenn Morris <rgm@gnu.org>
3126
3127 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3128 Doc fixes.
3129
6546b134
GM
31302012-02-14 Glenn Morris <rgm@gnu.org>
3131
3132 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3133
d29b2b4c
LI
31342012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3135
3136 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3137 way the ports list is computed.
835bdcba
LI
3138 (smtpmail-query-smtp-server): Prompt the user for a port number if
3139 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3140
08dcdbc9
TZ
31412012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3142
3143 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3144
2605051a
GM
31452012-02-13 Glenn Morris <rgm@gnu.org>
3146
3147 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3148
7ee99f32
TZ
31492012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3150
3151 * net/gnutls.el (gnutls-trustfiles): New variable.
3152 (gnutls-negotiate): Use it.
3153
5f0af64f
LI
31542012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3155
3156 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3157 does its stuff if Gnus is running.
3158
c14fcc95
AM
31592012-02-13 Alan Mackenzie <acm@muc.de>
3160
3161 Fix a loop in c-set-fl-decl-start.
3162
7a71b18d 3163 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3164 c-backward-syntactic-ws actually moves backwards.
3165
142b4d90
LL
31662012-02-13 Leo Liu <sdl.web@gmail.com>
3167
3168 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3169 beginning so that all \C-o chars are removed.
3170
fa9958a6
TZ
31712012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3172
dc9924b8 3173 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3174
0bc5886a
AM
31752012-02-12 Alan Mackenzie <acm@muc.de>
3176
3177 Fix infinite loop with long macros.
4d6769e1 3178 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3179
d4bd55e7
CY
31802012-02-12 Chong Yidong <cyd@gnu.org>
3181
3182 * window.el (display-buffer): Doc fix (Bug#10785).
3183
66f3fe22
GM
31842012-02-12 Glenn Morris <rgm@gnu.org>
3185
bd7da63e
GM
3186 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3187 (x-disown-selection-internal, x-get-selection-internal):
3188 Sync docs with the xselect.c versions.
3189
66f3fe22
GM
3190 * allout-widgets.el: Add missing license notice.
3191
3e0d2fa7
GM
31922012-02-11 Glenn Morris <rgm@gnu.org>
3193
cfecdf09
GM
3194 * select.el (x-get-selection-internal, x-own-selection-internal)
3195 (x-disown-selection-internal):
3196 * x-dnd.el (x-get-selection-internal): Update declarations.
3197
6d216d7f
GM
3198 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3199
2bed3f04
GM
3200 * window.el (window-sides-slots):
3201 * tool-bar.el (tool-bar-position):
3202 * term/xterm.el (xterm-extra-capabilities):
3203 * ses.el (ses-self-reference-early-detection):
3204 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3205 (verilog-auto-wire-type)
3206 (verilog-auto-delete-trailing-whitespace)
3207 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3208 (verilog-auto-tieoff-declaration):
3209 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3210 (sql-oracle-statement-starters, sql-oracle-scan-on):
3211 * progmodes/prolog.el (prolog-align-comments-flag)
3212 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3213 (prolog-left-indent-regexp, prolog-paren-indent-p)
3214 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3215 (prolog-types, prolog-mode-specificators)
3216 (prolog-determinism-specificators, prolog-directives)
3217 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3218 (prolog-electric-dot-flag)
3219 (prolog-electric-dot-full-predicate-template)
3220 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3221 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3222 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3223 (prolog-program-switches, prolog-prompt-regexp)
3224 (prolog-debug-on-string, prolog-debug-off-string)
3225 (prolog-trace-on-string, prolog-trace-off-string)
3226 (prolog-zip-on-string, prolog-zip-off-string)
3227 (prolog-use-standard-consult-compile-method-flag)
3228 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3229 (prolog-imenu-max-lines, prolog-info-predicate-index)
3230 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3231 (prolog-char-quote-workaround):
3232 * progmodes/cc-vars.el (c-defun-tactic):
3233 * net/tramp.el (tramp-encoding-command-interactive)
3234 (tramp-local-end-of-line):
3235 * net/soap-client.el (soap-client):
3236 * net/netrc.el (netrc-file):
3237 * net/gnutls.el (gnutls):
3238 * minibuffer.el (completion-category-overrides)
3239 (completion-cycle-threshold)
3240 (completion-pcm-complete-word-inserts-delimiters):
3241 * man.el (Man-name-local-regexp):
3242 * mail/feedmail.el (feedmail-display-full-frame):
3243 * international/characters.el (glyphless-char-display-control):
3244 * eshell/em-ls.el (eshell-ls-date-format):
3245 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3246 (lisp-lambda-list-keyword-parameter-indentation)
3247 (lisp-lambda-list-keyword-parameter-alignment):
3248 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3249 * dired-x.el (dired-omit-verbose):
3250 * cus-theme.el (custom-theme-allow-multiple-selections):
3251 * calc/calc.el (calc-highlight-selections-with-faces)
3252 (calc-lu-field-reference, calc-lu-power-reference)
3253 (calc-note-threshold):
3254 * battery.el (battery-mode-line-limit):
3255 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3256 (archive-7z-update):
3257 * allout.el (allout-prefixed-keybindings)
3258 (allout-unprefixed-keybindings)
3259 (allout-inhibit-auto-fill-on-headline)
3260 (allout-flattened-numbering-abbreviation):
3261 * allout-widgets.el (allout-widgets-auto-activation)
3262 (allout-widgets-icons-dark-subdir)
3263 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3264 (allout-widgets-theme-dark-background)
3265 (allout-widgets-theme-light-background)
3266 (allout-widgets-item-image-properties-emacs)
3267 (allout-widgets-item-image-properties-xemacs)
3268 (allout-widgets-run-unit-tests-on-load)
3269 (allout-widgets-time-decoration-activity)
3270 (allout-widgets-hook-error-post-time)
3271 (allout-widgets-track-decoration):
3272 Add missing :version tags to new defcustoms and defgroups.
3273
5fec1b8e
GM
3274 * progmodes/sql.el (sql-ansi-statement-starters)
3275 (sql-oracle-statement-starters): Add custom type.
3276
3e0d2fa7
GM
3277 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3278 (prolog-system-version): Give it a type.
3279
90b671e2
EZ
32802012-02-11 Eli Zaretskii <eliz@gnu.org>
3281
3282 * term/pc-win.el (x-select-text, x-selection-owner-p)
3283 (x-own-selection-internal, x-disown-selection-internal)
3284 (x-get-selection-internal): Sync doc strings and argument lists
3285 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3286
5eac0c02
LL
32872012-02-11 Leo Liu <sdl.web@gmail.com>
3288
3289 * progmodes/python.el (python-end-of-statement): Fix infinite
3290 loop. (Bug#10788)
3291
f82cb659
GM
32922012-02-10 Glenn Morris <rgm@gnu.org>
3293
3294 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3295 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3296
cc26d239
LI
32972012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3298
3299 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3300 about SMTP before checking the From header.
3301
91027d08 3302 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3303 into own function for reuse by emacsbug.el.
3304
1be3ca5a
LL
33052012-02-10 Leo Liu <sdl.web@gmail.com>
3306
3307 * subr.el (condition-case-unless-debug): Rename from
3308 condition-case-no-debug. All callers changed.
3309 (with-demoted-errors): Fix caller.
3310
3311 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3312 * nxml/rng-valid.el (rng-do-some-validation):
3313 * emacs-lisp/package.el (package-refresh-contents)
3314 (package-menu-execute):
3315 * desktop.el (desktop-create-buffer):
91027d08 3316 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3317
b011fbfe
GM
33182012-02-10 Glenn Morris <rgm@gnu.org>
3319
b2096d72
GM
3320 * textmodes/bibtex.el:
3321 Add missing :version tags for new/changed defcustoms.
3322
b011fbfe
GM
3323 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3324
4c7e65bf
LI
33252012-02-09 Lars Ingebrigtsen <larsi@rusty>
3326
3327 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3328 (smtpmail-via-smtp): Use it, or fall back on the From address.
3329 (smtpmail-send-it): Ditto.
3330
f3934f6f
SM
33312012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3334 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3335 (byte-compile-tmp-var): New const.
3336 (byte-compile-defvar): Use it to minimize .elc size.
3337 Just use `defvar' rather than simulate it (bug#10761).
3338
a075a2c5
GM
33392012-02-09 Glenn Morris <rgm@gnu.org>
3340
cf3aa21b
GM
3341 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3342
354998cd
GM
3343 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3344 Add :version tags.
3345
dc9924b8
SM
3346 * progmodes/compile.el (compilation-error-screen-columns)
3347 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3348
dab3703d
GM
3349 * vc/log-view.el (log-view-toggle-entry-display):
3350 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3351
3f88cd72
GM
3352 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3353 (report-emacs-bug-can-use-xdg-email):
3354 (report-emacs-bug-insert-to-mailer): Doc fixes.
3355 (report-emacs-bug): Message fix.
3356
d95b247d
GM
3357 * net/browse-url.el (browse-url-can-use-xdg-open)
3358 (browse-url-xdg-open): Doc fixes.
3359
a075a2c5
GM
3360 * electric.el (electric-indent-mode, electric-pair-mode)
3361 (electric-layout-rules, electric-layout-mode): Doc fixes.
3362 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3363
ffb6157e
MR
33642012-02-08 Martin Rudalics <rudalics@gmx.at>
3365
3366 * server.el (server-unselect-display): Don't inadvertently kill
3367 the current buffer. (Bug#10729)
3368
e1ac4066
GM
33692012-02-08 Glenn Morris <rgm@gnu.org>
3370
34e8a2da
GM
3371 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3372 (sql-list-table): Doc fixes.
3373
b4ac6e8c
GM
3374 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3375 Comment out (does nothing).
3376
e1ac4066
GM
3377 * completion.el (dynamic-completion-mode):
3378 * dirtrack.el (dirtrack-debug-mode):
3379 * electric.el (electric-layout-mode):
3380 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3381 * face-remap.el (text-scale-mode, buffer-face-mode):
3382 * iimage.el (iimage-mode):
3383 * image-mode.el (image-transform-mode):
3384 * minibuffer.el (completion-in-region-mode):
3385 * scroll-lock.el (scroll-lock-mode):
3386 * simple.el (next-error-follow-minor-mode):
3387 * tar-mode.el (tar-subfile-mode):
3388 * tooltip.el (tooltip-mode):
3389 * vcursor.el (vcursor-use-vcursor-map):
3390 * wid-browse.el (widget-minor-mode):
3391 * emulation/tpu-edt.el (tpu-edt-mode):
3392 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3393 * international/iso-ascii.el (iso-ascii-mode):
3394 * language/thai-util.el (thai-word-mode):
3395 * mail/supercite.el (sc-minor-mode):
3396 * net/goto-addr.el (goto-address-mode):
3397 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3398 * progmodes/cwarn.el (cwarn-mode):
3399 * progmodes/flymake.el (flymake-mode):
3400 * progmodes/glasses.el (glasses-mode):
3401 * progmodes/hideshow.el (hs-minor-mode):
3402 * progmodes/pascal.el (pascal-outline-mode):
3403 * textmodes/enriched.el (enriched-mode):
3404 * vc/smerge-mode.el (smerge-mode):
3405 Doc fixes (minor mode argument).
3406
5e0d957f
EZ
34072012-02-07 Eli Zaretskii <eliz@gnu.org>
3408
3409 * ls-lisp.el (ls-lisp-sanitize): New function.
3410 (ls-lisp-insert-directory): Use it to fix or remove any elements
3411 in file-alist with missing attributes. (Bug#4673)
3412
98d7371e
AM
34132012-02-07 Alan Mackenzie <acm@muc.de>
3414
3415 Fix spurious recognition of c-in-knr-argdecl.
3416
3417 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3418 putative K&R region.
3419
667ced3a
AM
34202012-02-07 Alan Mackenzie <acm@muc.de>
3421
eb864a71
LM
3422 * progmodes/cc-engine.el (c-forward-objc-directive):
3423 Prevent looping in "#pragma mark @implementation".
667ced3a 3424
5b77774d
MA
34252012-02-07 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * notifications.el (notifications-on-closed-signal): Make `reason'
3428 optional. (Bug#10744)
3429
af008560
GM
34302012-02-07 Glenn Morris <rgm@gnu.org>
3431
60d47423
GM
3432 * emacs-lisp/easy-mmode.el (define-minor-mode):
3433 Doc fixes for the macro and the mode it defines.
3434
dd605cc4
GM
3435 * image.el (imagemagick-types-inhibit): Doc fix.
3436
af008560
GM
3437 * cus-start.el (imagemagick-render-type): Add it.
3438
5cc59a37
LI
34392012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3440
4d6769e1
JB
3441 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3442 Set the default at load time, too, so that `font-lock-fontify-buffer'
3443 can be called without setting up the entire mode first. This fixes
3444 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3445
9a6dd747
CY
34462012-02-06 Chong Yidong <cyd@gnu.org>
3447
2d16b285
CY
3448 * simple.el (list-processes--refresh): Delete exited processes
3449 (Bug#8094).
3450
171e9b6e
CY
3451 * comint.el (comint-next-prompt): next-single-char-property-change
3452 and prev-single-char-property-change never return nil (Bug#8657).
3453
9a6dd747
CY
3454 * custom.el (defcustom): Doc fix (Bug#9711).
3455
aa4589a7
CY
34562012-02-05 Chong Yidong <cyd@gnu.org>
3457
5c2a252f
CY
3458 * cus-edit.el (custom-variable-reset-backup): Quote the value
3459 before storing it in the customized-value property (Bug#6712).
4aab9006 3460 (custom-display): Add a customization type tag.
983b9602 3461 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3462
aa4589a7
CY
3463 * wid-edit.el (widget-field-value-get): New optional arg to
3464 suppress trailing whitespace truncation.
3465 (character): Use it (Bug#2689).
3466
1ff980ae
AS
34672012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3468
3469 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3470 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3471
03988c98
CY
34722012-02-05 Chong Yidong <cyd@gnu.org>
3473
eeb6cc88
CY
3474 * cus-edit.el (custom-variable-value-create): For mismatched
3475 types, show the current value (Bug#7600).
3476
03988c98
CY
3477 * custom.el (defcustom): Doc fix.
3478
f8cdeef0
GM
34792012-02-05 Glenn Morris <rgm@gnu.org>
3480
3481 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3482
0696d255
JB
34832012-02-05 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3486 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3487 (pp-last-sexp): Use `looking-at-p'.
3488
34c99998
GM
34892012-02-04 Glenn Morris <rgm@gnu.org>
3490
8f05da42
GM
3491 * files.el (revert-buffer):
3492 Doc fix (mention revert-buffer-in-progress-p).
3493
f160676e
GM
3494 * emacs-lisp/ert-x.el (ert-simulate-command):
3495 Check deferred-action-list (which is obsolete) is bound.
3496
c7291ad9
GM
3497 * subr.el (with-wrapper-hook): Doc fixes.
3498
34c99998
GM
3499 * simple.el (filter-buffer-substring-functions)
3500 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3501
6283a7d3
LL
35022012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3503
3504 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3505 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3506
e96e3013
LL
35072012-02-04 Leo Liu <sdl.web@gmail.com>
3508
3509 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3510
8ded50f2
GM
35112012-02-04 Glenn Morris <rgm@gnu.org>
3512
82ff1d13
GM
3513 * image.el (image-extension-data): Add obsolete alias.
3514
987a0a16
GM
3515 * isearch.el (isearch-update): Doc fix.
3516
ea32ef46
GM
3517 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3518
8ded50f2
GM
3519 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3520
eea14f31
GM
35212012-02-03 Glenn Morris <rgm@gnu.org>
3522
3523 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3524 (image-animate-timeout): Doc fix.
3525
3526 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3527
12f381b7
GM
35282012-02-02 Glenn Morris <rgm@gnu.org>
3529
953cebf5
GM
3530 * server.el (server-auth-dir): Doc fix.
3531 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3532
12f381b7
GM
3533 * subr.el (run-mode-hooks): Doc fix.
3534
953a8c3b
JL
35352012-02-02 Juri Linkov <juri@jurta.org>
3536
3537 * image-mode.el (image-toggle-display-image): Remove tautological
3538 `major-mode' from the `derived-mode-p' test.
3539
c5d3843c
KH
35402012-02-02 Kenichi Handa <handa@m17n.org>
3541
9f6e692e 3542 * composite.el (compose-region): Cancel previous change.
c5d3843c 3543
159462d4 35442012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3545
3546 * composite.el (compose-region, compose-string): Signal error for
3547 a null string component (Bug#6988).
3548
9f562668
CY
35492012-02-01 Chong Yidong <cyd@gnu.org>
3550
e2cef717
CY
3551 * view.el (view-buffer-other-window, view-buffer-other-frame):
3552 Handle special modes like view-buffer (Bug#10650).
3553 (view-buffer): Simplify.
3554
9f562668
CY
3555 * frame.el (set-frame-font): Tweak meaning of third argument.
3556
9f6e692e
JB
3557 * dynamic-setting.el (font-setting-change-default-font):
3558 Use set-frame-font (Bug#9982).
9f562668 3559
781acb9f
GM
35602012-02-01 Glenn Morris <rgm@gnu.org>
3561
6035be52
GM
3562 * progmodes/compile.el (compilation-internal-error-properties):
3563 Respect compilation-first-column in the "*compilation*" buffer.
3564
781acb9f
GM
3565 * emacs-lisp/easy-mmode.el (define-minor-mode):
3566 Relax :variable's test for a named function.
3567
abbceb00
AM
35682012-01-31 Alan Mackenzie <acm@muc.de>
3569
3570 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3571 off by one error.
3572
fce3fdeb
CY
35732012-01-31 Chong Yidong <cyd@gnu.org>
3574
3575 * frame.el (set-frame-font): New arg ALL-FRAMES.
3576
3577 * menu-bar.el (menu-set-font): Use set-frame-font.
3578
3579 * faces.el (face-spec-reset-face): Don't apply unspecified
3580 attribute values to the default face.
3581
47893581
JB
35822012-01-31 Juanma Barranquero <lekktu@gmail.com>
3583
3584 * progmodes/cwarn.el (cwarn): Remove dead link.
3585 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3586 Remove * from defcustom docstrings.
3587 (turn-on-cwarn-mode): Make obsolete.
3588 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3589 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3590
e58e988a
GM
35912012-01-31 Glenn Morris <rgm@gnu.org>
3592
60dc2671 3593 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3594 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3595 Allow named functions to be used as the cdr of :variable.
e58e988a 3596
7a3f511d
GM
35972012-01-30 Glenn Morris <rgm@gnu.org>
3598
3599 * emacs-lisp/authors.el (authors-fixed-entries):
3600 Remove reference to deleted file rnewspost.el.
3601
cb882333
JB
36022012-01-29 Juanma Barranquero <lekktu@gmail.com>
3603
3604 * window.el (window-with-parameter): Remove unused variable `windows'.
3605 (window--side-check): Remove unused variable `code'.
3606 (window--resize-siblings): Remove unused variable `first'.
3607 (adjust-window-trailing-edge): Remove unused variable `failed'.
3608 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3609 Use `let', not `let*'.
3610 (balance-windows-2): Remove unused variable `found'.
3611 (window--state-put-2): Remove unused variable `splits'.
3612 (window-state-put): Remove unused variable `selected'.
3613 (same-window-p): Use `string-match-p'.
3614 (display-buffer-assq-regexp): Remove unused variable `value'.
3615 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3616 Mark argument ALIST as ignored.
3617 (pop-to-buffer): Remove unused variable `old-window'.
3618
907201af
EZ
36192012-01-29 Eli Zaretskii <eliz@gnu.org>
3620
3621 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3622 and .lzma compressed files.
3623
ea162670
CY
36242012-01-29 Chong Yidong <cyd@gnu.org>
3625
5b95ee8a
CY
3626 * frame.el (window-system-default-frame-alist): Doc fix.
3627
ea162670
CY
3628 * dynamic-setting.el (font-setting-change-default-font): Don't
3629 change the default face if SET-FONT argument is non-nil (Bug#9982).
3630
d6e6f4b1
SB
36312012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3632
3633 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3634
0f29fa41 36352012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3636
3637 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3638 breakpoints in files outside current directory (Bug#6098).
3639
db174434
CY
36402012-01-29 Chong Yidong <cyd@gnu.org>
3641
6b25e4e2
SE
3642 * progmodes/python.el: Require ansi-color at top-level.
3643
6df6ae42
JB
3644 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3645 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3646 (lisp-mode-abbrev-table): Add doc.
3647 (lisp-mode-variables): Don't set local-abbrev-table.
3648 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3649
e70ee681
RW
36502012-01-28 Roland Winkler <winkler@gnu.org>
3651
3652 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3653
ace88aa2
RW
36542012-01-28 Roland Winkler <winkler@gnu.org>
3655
3656 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3657 (bibtex-set-dialect): Use it. Either set global values of
3658 dialect-dependent variables or bind these variables buffer-locally
3659 (Bug#10254).
3660 (bibtex-mode): Call bibtex-set-dialect via
3661 hack-local-variables-hook.
eb864a71
LM
3662 (bibtex-dialect): Update docstring.
3663 Add safe-local-variable predicate.
ace88aa2
RW
3664 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3665 bibtex-set-dialect.
3666 (bibtex-mode-map): Define menu for each dialect.
3667 (bibtex-entry): Fix docstring.
3668
93376c5b
CY
36692012-01-28 Chong Yidong <cyd@gnu.org>
3670
3671 * eshell/esh-arg.el (eshell-quote-argument): New function.
3672
3673 * eshell/esh-ext.el (eshell-invoke-batch-file):
3674 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3675 first arg to eshell-parse-command (Bug#10523).
3676
4372494f
DA
36772012-01-28 Drew Adams <drew.adams@oracle.com>
3678
3679 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3680 `default-directory' is non-nil.
3681
4d4ec1f8
EZ
36822012-01-28 Eli Zaretskii <eliz@gnu.org>
3683
3684 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3685 line that displays system-configuration-options. (Bug#9924)
3686
7c188927
DA
36872012-01-28 Drew Adams <drew.adams@oracle.com>
3688
3689 * descr-text.el (describe-char): Show information about POS, in
3690 addition to information about the character at POS. Improve and
3691 update the doc string. Change "code point" to "code point in
3692 charset", to avoid confusion with the character's Unicode code
3693 point shown above that. (Bug#10129)
3694
e0da685a
EZ
36952012-01-28 Eli Zaretskii <eliz@gnu.org>
3696
3697 * descr-text.el (describe-char): Show the raw character, not only
3698 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3699 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3700 for the reasons.
3701
70550acf
PH
37022012-01-28 Phil Hagelberg <phil@hagelb.org>
3703
eb864a71
LM
3704 * emacs-lisp/package.el (package-install):
3705 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3706
0ce8e868
CY
37072012-01-28 Chong Yidong <cyd@gnu.org>
3708
cb882333
JB
3709 * emacs-lisp/package.el (package-maybe-load-descriptor):
3710 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3711 (package-maybe-load-descriptor): Use it.
3712 (package-download-transaction): Fully load required packages
3713 inside the loop, so that `require' calls work (Bug#10593).
3714 (package-install): No need to call package-initialize now.
3715
2e7f3bea
CY
37162012-01-28 Chong Yidong <cyd@gnu.org>
3717
6e9bad14
CY
3718 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3719
f823b8ca
CY
3720 * tooltip.el (tooltip-mode): Doc fix.
3721 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3722
2680c309
CY
3723 * frame.el (set-cursor-color): Doc fix (Bug#352).
3724
d7a9e63b
CY
3725 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3726 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3727
2e7f3bea
CY
3728 * cus-edit.el (custom-buffer-create-internal): Fix search button
3729 action (Bug#10542).
2ae01800 3730 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3731
fc4f7a23
EW
37322012-01-27 Eduard Wiebe <usenet@pusto.de>
3733
3734 * dired.el (dired-mark-files-regexp):
3735 Include any subdirectory components. (Bug#10445)
3736
7dd37071
ML
37372012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3738
3739 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3740 Handle [host]:port syntax. (Bug#10533)
3741
a268160b
AH
37422012-01-27 Alex Harsanyi <harsanyi@mac.com>
3743
3744 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3745
e43273ef
GM
37462012-01-26 Glenn Morris <rgm@gnu.org>
3747
3748 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3749 * term.el (term-raw-escape-map): Use Control-X-prefix.
3750 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3751
1edf595d
MR
37522012-01-25 Martin Rudalics <rudalics@gmx.at>
3753
3754 * window.el (window-state-get, window--state-get-1): Don't deal
3755 with fixed-sizeness of windows. Simplify code.
3756
fa8eafef
JC
37572012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3758
6df6ae42
JB
3759 * window.el (window--state-get-1, window--state-put-2):
3760 Don't save and restore the mark.
fa8eafef 3761
0b21c100
CY
37622012-01-25 Chong Yidong <cyd@gnu.org>
3763
3764 * custom.el (custom-variable-p): Doc fix.
3765
5ae1a6c8
GM
37662012-01-25 Glenn Morris <rgm@gnu.org>
3767
40047858
GM
3768 * dired.el (dired-goto-file): Handle some of the more common
3769 characters that `ls -b' escapes. (Bug#10596)
3770
5ddce96c
GM
3771 * progmodes/compile.el (compilation-next-error-function):
3772 Respect compilation-first-column in the "*compilation*" buffer.
3773 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3774
5ae1a6c8
GM
3775 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3776
b559f1a9
GM
37772012-01-24 Glenn Morris <rgm@gnu.org>
3778
3779 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3780
6725d21a
JD
37812012-01-24 Julien Danjou <julien@danjou.info>
3782
3783 * color.el (color-rgb-to-hsl): Fix value computing.
3784 (color-hue-to-rgb): New function.
3785 (color-hsl-to-rgb): New function.
3786 (color-clamp, color-saturate-hsl, color-saturate-name)
3787 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3788 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3789
70df4bbe
GM
37902012-01-24 Glenn Morris <rgm@gnu.org>
3791
3792 * vc/vc-rcs.el (vc-rcs-create-tag):
3793 * vc/vc-sccs.el (vc-sccs-create-tag):
3794 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3795
802a2ae2
ML
37962012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3797
3798 * eshell/esh-util.el (eshell-read-hosts-file):
3799 Skip comment lines. (Bug#10549)
3800
d7128bb1
ML
3801 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3802
d1a5c3b4
JB
38032012-01-23 Juanma Barranquero <lekktu@gmail.com>
3804
2724d9c7
JB
3805 * subr.el (display-delayed-warnings): Doc fix.
3806 (collapse-delayed-warnings): New function to collapse identical
3807 adjacent warnings.
3808 (delayed-warnings-hook): Add it.
d1a5c3b4 3809
a5509865
MA
38102012-01-22 Michael Albinus <michael.albinus@gmx.de>
3811
3812 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3813
3814 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3815 properties, when "login-as" is set.
3816
3817 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3818 (tramp-default-user-alist): Don't add "pscp".
3819 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3820 property "login-as", if set. (Bug#10530)
3821
cc6d5805
MA
38222012-01-21 Michael Albinus <michael.albinus@gmx.de>
3823
3824 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3825 "plink1" and "psftp". (Bug#10530)
3826
38272012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3828
3829 * international/mule-cmds.el (prefer-coding-system): Show a
3830 warning message if the default value of file-name-coding-system
3831 was not changed.
3832
f0960428
JC
38332012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3834
cb882333
JB
3835 * windmove.el (windmove-reference-loc):
3836 Fix windmove-reference-loc miscalculation.
f0960428 3837
dd6f2a63
JB
38382012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3839
3840 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3841 default unit.
3842
7b447e9b
GM
38432012-01-21 Glenn Morris <rgm@gnu.org>
3844
117a9ea1
GM
3845 * international/mule.el (auto-coding-alist): Add .tbz.
3846
7b447e9b
GM
3847 * files.el (local-enable-local-variables): Doc fix.
3848 (inhibit-local-variables-regexps): Rename from
3849 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3850 Doc fix. Add some extensions from auto-coding-alist.
3851 (inhibit-local-variables-suffixes):
3852 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3853 (inhibit-local-variables-p):
3854 New function, extracted from set-auto-mode-1.
3855 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3856 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3857 (hack-local-variables): Doc fix. Make the mode-only case
3858 respect enable-local-variables and friends.
3859 Respect inhibit-local-variables-regexps for file-locals, but
3860 not for directory-locals.
3861 (set-visited-file-name):
3862 Take account of inhibit-local-variables-regexps.
3863 Whether it applies may change as the file name is changed.
3864 * jka-cmpr-hook.el (jka-compr-install):
3865 * jka-compr.el (jka-compr-uninstall):
3866 Update for inhibit-first-line-modes-suffixes name change.
3867
dd6e3cdd
MR
38682012-01-20 Martin Rudalics <rudalics@gmx.at>
3869
3870 * help-macro.el (make-help-screen): Temporarily restore original
3871 binding for minor-mode-map-alist (Bug#10454).
3872
0d0deb38
JD
38732012-01-19 Julien Danjou <julien@danjou.info>
3874
3875 * color.el (color-name-to-rgb): Use the white color to find the max
3876 color component value and return correctly computed values.
3877 (color-name-to-rgb): Add missing float conversion for max value.
3878
34a02f46
MR
38792012-01-19 Martin Rudalics <rudalics@gmx.at>
3880
3881 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3882 special state value for window-persistent-parameters.
3883 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3884 (window--state-put-2): Reset all window parameters to nil before
3885 assigning values of persistent parameters.
3886
606c44c4
AM
38872012-01-18 Alan Mackenzie <acm@muc.de>
3888
3889 Eliminate sluggishness and hangs in fontification of "semicolon
3890 deserts".
3891
cb882333
JB
3892 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3893 Change value 10000 -> 3000.
606c44c4
AM
3894 (c-state-safe-place): Reformulate so it doesn't stack up an
3895 infinite number of wrong entries in c-state-nonlit-pos-cache.
3896 (c-determine-limit-get-base, c-determine-limit): New functions to
3897 determine backward search limits disregarding literals.
3898 (c-find-decl-spots): Amend commenting.
3899 (c-cheap-inside-bracelist-p): New function which detects "={".
3900
3901 * progmodes/cc-fonts.el
3902 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3903 backward search.
3904 (c-font-lock-declarations): Fix an occurrence of point being
3905 undefined. Check additionally for point being in a bracelist or
3906 near a macro invocation without a semicolon so as to avoid a
3907 fruitless time consuming search for a declarator. Give a more
3908 precise search limit for declarators using the new
3909 c-determine-limit.
3910
f3860cea
GM
39112012-01-18 Glenn Morris <rgm@gnu.org>
3912
3913 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3914 (set-auto-mode): Doc fixes.
3915
1db03b16
GM
39162012-01-17 Glenn Morris <rgm@gnu.org>
3917
0e6038be
GM
3918 * isearch.el (search-nonincremental-instead): Fix doc typo.
3919
1db03b16
GM
3920 * dired.el (dired-insert-directory): Handle newlines in directory name.
3921 (dired-build-subdir-alist): Unescape newlines in directory name.
3922
4cb0aa75
MA
39232012-01-17 Michael Albinus <michael.albinus@gmx.de>
3924
3925 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3926 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3927 (tramp-action-terminal): Use it. (Bug#10530)
3928
1d00653d
SM
39292012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3932
6a6ee00d
MR
39332012-01-16 Martin Rudalics <rudalics@gmx.at>
3934
3935 * window.el (window-state-ignored-parameters): Remove variable.
3936 (window--state-get-1): Rename argument MARKERS to IGNORE.
3937 Handle persistent window parameters. Make copy of clone-of
3938 parameter only if requested. (Bug#10348)
3939 (window--state-put-2): Install a window parameter only if it has
3940 a non-nil value or an existing parameter shall be overwritten.
3941
97912def
MA
39422012-01-15 Michael Albinus <michael.albinus@gmx.de>
3943
3944 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3945
688070a5
EZ
39462012-01-14 Eli Zaretskii <eliz@gnu.org>
3947
3948 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3949 don't pass the (nil) value of `upnode' to string-match.
3950
301afadc
CY
39512012-01-14 Chong Yidong <cyd@gnu.org>
3952
3953 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3954 Fix values recognized by the cursorBlink resource.
301afadc 3955
9e5788aa
PE
39562012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3957
3958 * epg.el (epg--make-temp-file): Avoid permission race condition
3959 when running on old Emacs versions (bug#10403).
3960
3cdb7f5a
GM
39612012-01-14 Glenn Morris <rgm@gnu.org>
3962
3963 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3964
8c82b1b4
AM
39652012-01-13 Alan Mackenzie <acm@muc.de>
3966
3967 Fix filling for when filladapt mode is enabled.
3968
3969 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3970 c-mask-paragraph, pass in `fill-paragraph' rather than
3971 `fill-region-as-paragraph'. (This is a reversion of a previous
3972 change.)
eb864a71
LM
3973 * progmodes/cc-mode.el (c-basic-common-init):
3974 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3975
e517eda4
GM
39762012-01-13 Glenn Morris <rgm@gnu.org>
3977
1498536e
GM
3978 * dired.el (dired-switches-escape-p): New function.
3979 (dired-insert-directory): Use dired-switches-escape-p.
3980 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3981
e517eda4
GM
3982 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3983
328f984d
GM
39842012-01-12 Glenn Morris <rgm@gnu.org>
3985
3986 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3987 changes in adaptive-fill-regexp. (Bug#10276)
3988
2cc769a8
AM
39892012-01-11 Alan Mackenzie <acm@muc.de>
3990
3991 Fix Emacs bug #10463 - put `widen's around the critical spots.
3992
1d00653d 3993 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3994 widen around each invocation of c-state-pp-to-literal. Remove an
3995 unused let variable.
3996
e52c37fa
GM
39972012-01-11 Glenn Morris <rgm@gnu.org>
3998
3999 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4000 Doc fix.
e52c37fa 4001
96f8741e
CY
40022012-01-10 Chong Yidong <cyd@gnu.org>
4003
1d00653d
SM
4004 * net/network-stream.el (network-stream-open-starttls):
4005 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4006 response to the capability command.
4007
b09a806e
GM
40082012-01-10 Glenn Morris <rgm@gnu.org>
4009
4010 * mail/unrmail.el (unrmail): Tweak previous change.
4011
7655cb66
CY
40122012-01-09 Chong Yidong <cyd@gnu.org>
4013
4014 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4015
9d5a8f0b
AM
40162012-01-08 Alan Mackenzie <acm@muc.de>
4017
4018 Optimise font locking in long enum definitions.
4019
4020 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4021 arm to a cond form to handle enums.
4022 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4023 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4024
9a0115ab 40252012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4026
4027 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4028 (Bug#10401)
6bb72cbd 4029
f186bb95
LMI
40302012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4031
29232a68
LMI
4032 * faces.el (set-face-attribute): Clarify the meaning of the nil
4033 frame (bug#10294).
4034
4e5d086d
LMI
4035 * subr.el (with-selected-frame): Mention that the selected frame
4036 is restored (bug#9980).
4037
8e66aebe
LMI
4038 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4039 (bug#9759).
4040
cd394be1 4041 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4042 (password-read): Don't autoload unused function.
4043
adf4e762
JB
40442012-01-07 Juanma Barranquero <lekktu@gmail.com>
4045
4046 * progmodes/which-func.el (which-func-mode): Turn into a
4047 non-interactive function and mark as obsolete (bug#10428).
4048
89bd9ccd
CY
40492012-01-06 Chong Yidong <cyd@gnu.org>
4050
4051 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4052 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4053 functions, along with 1 and -1.
4054
4afee9d5
EZ
40552012-01-06 Eli Zaretskii <eliz@gnu.org>
4056
4057 * time.el (display-time-load-average)
4058 (display-time-default-load-average): Doc fixes. See the thread
4059 starting at
4060 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4061 for the details.
4062
536aea70
GM
40632012-01-06 Glenn Morris <rgm@gnu.org>
4064
665ae865
GM
4065 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4066 has no messages. (Bug#10377)
4067
c869783d
GM
4068 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4069 than Info-edit. (Bug#10385)
4070
2bb4227e
GM
4071 * time.el (display-time-load-average, display-time-next-load-average):
4072 Doc fixes.
4073
7d5944b9
GM
4074 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4075 local setting of buffer-read-only to the input buffer. (Bug#10419)
4076
536aea70
GM
4077 * calendar/calendar.el (calendar-mode):
4078 Locally set scroll-margin to 0. (Bug#10379)
4079
7dccca16
UM
40802012-01-06 Ulrich Mueller <ulm@gentoo.org>
4081
4082 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4083
afbb7930
GM
40842012-01-05 Glenn Morris <rgm@gnu.org>
4085
4086 * eshell/em-unix.el (diff-no-select): Autoload it.
4087 (eshell/diff): Use diff-no-select. (Bug#10420)
4088
04482335
CY
40892012-01-05 Chong Yidong <cyd@gnu.org>
4090
7baca3bc
CY
4091 * shell.el (shell-dynamic-complete-functions): Revert last change.
4092 (shell-command-completion-function): New function.
4093 (shell-completion-vars): Use it to implement
4094 shell-completion-execonly (Bug#10417).
4095
04482335
CY
4096 * custom.el (enable-theme): Don't set custom-safe-themes.
4097
1d00653d
SM
4098 * cus-theme.el (custom-theme-merge-theme):
4099 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4100
bb5aa5d6
MM
41012012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4102
4103 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4104 first prompt in `sql-interacive-mode'.
4105 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4106 keywords.
6df6ae42 4107 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4108 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4109 context of original buffer. Invoke `sql-login-hook'.
4110
a7183d7c
EZ
41112012-01-04 Eli Zaretskii <eliz@gnu.org>
4112
4113 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4114 letters in cite-prefix.
4115
a1eacd1e
LMI
41162012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117
4118 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4119
787cdb34
CY
41202012-01-03 Chong Yidong <cyd@gnu.org>
4121
1d00653d
SM
4122 * shell.el (shell-dynamic-complete-functions):
4123 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4124 comint-filename-completion first (Bug#10417).
4125
30710442
RS
41262012-01-02 Richard Stallman <rms@gnu.org>
4127
4128 * battery.el (battery-status-function):
4129 Detect when to use battery-yeeloong-sysfs.
4130 (battery-echo-area-format): Add string for Yeeloong.
4131 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4132 (battery-yeeloong-sysfs): New function.
4133
f75bfc33
CY
41342012-01-02 Chong Yidong <cyd@gnu.org>
4135
4136 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4137 (dirtrack): Merge code for handling relative filenames in prompt
4138 from shell-dir-cookie-watcher.
4139 (dirtrack-debug-message): New arg to avoid excess format calls.
4140
4141 * shell.el (shell-dir-cookie-re): Variable deleted.
4142 (shell-dir-cookie-watcher): Function deleted.
4143 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4144 with dirtrack-mode.
4145
651e947e
EZ
41462012-01-01 Eli Zaretskii <eliz@gnu.org>
4147
1d00653d
SM
4148 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4149 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4150 libgnutls-26.dll.
4151
94d4c7dc
AS
41522011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4155
8d43f3cd
EZ
41562011-12-31 Eli Zaretskii <eliz@gnu.org>
4157
4158 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4159 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4160
98c8795a
MA
41612011-12-29 Michael Albinus <michael.albinus@gmx.de>
4162
4163 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4164 also for alternative shells.
4165 (tramp-open-connection-setup-interactive-shell): Check, whether
4166 the shell is a busybox.
4167 (tramp-send-command): Don't suppress multiple prompts for
4168 busyboxes, it hurts.
4169
51281b32
CY
41702011-12-28 Chong Yidong <cyd@gnu.org>
4171
4172 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4173 (gdb-get-source-file): Move mode line update to
4174 gdb-get-source-file (Bug#10087).
4175
2170cb53
CY
41762011-12-25 Chong Yidong <cyd@gnu.org>
4177
4178 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4179 gud-gdb-marker-filter without taking it as an argument.
4180 (gud-gdb-run-command-fetch-lines): Caller changed.
4181 (gud-gdb-completion-function): New variable.
4182 (gud-gdb-completion-at-point): Use it.
4183 (gud-gdb-completions-1): Split from gud-gdb-completions.
4184
4185 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4186 function as separate arguments.
4187 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4188 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4189 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4190 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4191 (gdb-stopped, def-gdb-auto-update-trigger)
4192 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4193 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4194 Callers changed.
2170cb53
CY
4195 (gud-gdbmi-completions): New function.
4196 (gdb): Use it for generating the completion table.
4197
be8b11bb
AM
41982011-12-24 Alan Mackenzie <acm@muc.de>
4199
4200 Introduce a mechanism to widen the region used in context font
1d00653d 4201 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4202
1d00653d
SM
4203 * progmodes/cc-langs.el (c-before-font-lock-functions):
4204 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4205 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4206 functions to be run just before context (etc.) font locking.
4207
4208 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4209 New, functionality extracted from
be8b11bb 4210 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4211 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4212 (c-after-change): Set c-in-after-change-fontification.
4213 (c-set-fl-decl-start): Rejig its interface, so it can be called
4214 from both after-change and context fontifying.
b81d40f0
JB
4215 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4216 New functions.
4217 (c-standard-font-lock-fontify-region-function): New variable.
4218 (c-font-lock-fontify-region): New function.
be8b11bb 4219
341cf6ac
JL
42202011-12-24 Juri Linkov <juri@jurta.org>
4221
4222 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4223 (Bug#10348)
4224
bffcee0a
MA
42252011-12-23 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4228 existence of source file. (Bug#10325)
4229
cb5e207c
AM
42302011-12-23 Alan Mackenzie <acm@muc.de>
4231
4232 Fix unstable fontification inside templates.
4233
b81d40f0
JB
4234 * progmodes/cc-langs.el (c-before-font-lock-functions):
4235 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4236 additionally has c-set-fl-decl-start. The other languages (apart
4237 from AWK) have that as a single entry.
4238
b81d40f0
JB
4239 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4240 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4241 c-set-fl-decl-start.
4242
b81d40f0
JB
4243 * progmodes/cc-mode.el (c-common-init, c-after-change):
4244 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4245 (c-set-fl-decl-start): New function, extracted from
4246 c-font-lock-enclosing-decls and enhanced.
4247
60ff536c
JB
42482011-12-23 Juanma Barranquero <lekktu@gmail.com>
4249
4250 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4251
1c4757d6
JL
42522011-12-22 Juri Linkov <juri@jurta.org>
4253
4254 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4255
d031f2c7
CY
42562011-12-22 Chong Yidong <cyd@gnu.org>
4257
4258 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4259
bace743a
DA
42602011-12-21 Drew Adams <drew.adams@oracle.com>
4261
4262 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4263
728a1f2b
JC
42642011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4265
4266 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4267
0d373f73
TZ
42682011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4269
fec0aaa4
TZ
4270 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4271 highlighting and support. Fix up comments for capitalization.
4272 (cfengine-mode-debug): New var.
4273 (cfengine3-mode): Change the modeline indicator to "CFE3".
4274 (cfengine3-font-lock-keywords): Improve defun highlighting.
4275 (cfengine2-actions): Rename from `cfengine-actions'.
4276 (cfengine2-font-lock-keywords): Rename from
4277 `cfengine-font-lock-keywords'.
4278 (cfengine2-imenu-expression): Rename from
4279 `cfengine-imenu-expression'.
4280 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4281 (cfengine2-beginning-of-defun): Rename from
4282 `cfengine-beginning-of-defun'.
4283 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4284 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4285 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4286 modeline indicator to "CFE2".
4287 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4288 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4289
bc86f573
CY
42902011-12-21 Chong Yidong <cyd@gnu.org>
4291
4292 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4293 filename argument.
4294
d45ba96b
MR
42952011-12-20 Martin Rudalics <rudalics@gmx.at>
4296
4297 * window.el (window-normalize-buffer-to-display): Remove.
4298 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4299
a6198c90
CY
43002011-12-19 Chong Yidong <cyd@gnu.org>
4301
4302 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4303 Don't signal an error in a predicate function; return non-nil.
4304 (vc-dir-mark-file): Move the error here.
4305 (vc-dir-mark-unmark): If acting on the region, keep going if one
4306 of the entries cannot be marked/unmarked.
4307 (vc-dir-mark-all-files): If current entry is a directory, mark
4308 only child files, as documented.
4309
34c5fb55
VB
43102011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4311
4312 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4313 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4314 addition.
4315
c803b2b7
JD
43162011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4317
4318 * term/ns-win.el (ns-get-selection-internal)
4319 (ns-store-selection-internal): Declare.
1154d12e
JB
4320 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4321 Declare as obsolete.
4322 (ns-get-pasteboard, ns-paste-secondary):
4323 Use ns-get-selection-internal.
4324 (ns-set-pasteboard, ns-copy-including-secondary):
4325 Use ns-store-selection-internal.
c803b2b7 4326
9cff91f8 43272011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4328
4329 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4330 (vc-deduce-fileset): Doc fix.
99a289d9 4331
f16c898a
AS
43322011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4333
4334 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4335
763237c4
SS
43362011-12-13 Sam Steingold <sds@gnu.org>
4337
4338 * man.el (Man-getpage-in-background): When running under a
4339 window-system, ignore $MANWIDTH and $COLUMNS.
4340
5fc1c122
KH
43412011-12-15 Kenichi Handa <handa@m17n.org>
4342
4343 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4344 (setup-ethiopic-environment-internal): Comment out key-binding for
4345 ethio-toggle-punctuation.
4346
13d49cbb
AM
43472011-12-13 Alan Mackenzie <acm@muc.de>
4348
898169a2
AM
4349 Add the switch statement to AWK Mode.
4350
7a71b18d 4351 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4352 "default" to the keywords regexp.
4353
7a71b18d 4354 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4355 expression as the rest.
1d00653d
SM
4356 (c-nonlabel-token-key): Allow string literals for AWK.
4357 Refactor for the other modes.
898169a2 4358
13d49cbb 4359 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4360 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4361 routines. Limit backward searching in c-font-lock-enclosing.decl.
4362
4363 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4364 pp-state and literal type in addition to the limits.
1d00653d 4365 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4366 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4367 (c-slow-in-literal, c-fast-in-literal): Remove.
4368 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4369
4370 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4371 being in a literal. Add a limit for backward searching.
4372
4373 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4374 c-slow-in-literal.
4375
15e0efc7
SM
43762011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4379
454592a6
MR
43802011-12-13 Martin Rudalics <rudalics@gmx.at>
4381
4382 * window.el (delete-other-windows): Use correct frame in call to
4383 window-with-parameter.
4384
87393f26
DP
43852011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4386
4387 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4388 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4389 (makefile-gmake-statements, makefile-makepp-statements):
4390 Use it and add new makepp keywords.
4391 (makefile-makepp-font-lock-keywords): Add new patterns.
4392 (makefile-match-function-end): Match new [...] and [[...]].
4393
11636b22
JB
43942011-12-11 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * ses.el (ses-call-printer-return, ses-cell-property-get)
4397 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4398 (ses-create-cell-variable, ses-reset-header-string)
4399 (ses-cell-set-formula, ses-repair-cell-reference-all)
4400 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4401 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4402 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4403 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4404 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4405 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4406 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4407 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4408 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4409 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4410 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4411 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4412
cf018193
VB
44132011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4414
4415 * ses.el: The overall change is to add cell renaming, that is
4416 setting fancy names for cell symbols other than name matching
4417 "\\`[A-Z]+[0-9]+\\'" regexp .
4418 (ses-create-cell-variable): New defun.
4419 (ses-relocate-formula): Relocate formulas only for cells the
4420 symbols of which are not renamed, i.e. symbols whose names do not
4421 match regexp "\\`[A-Z]+[0-9]+\\'".
4422 (ses-relocate-all): Relocate values only for cells the symbols of
4423 which are not renamed.
4424 (ses-load): Create cells variables as the (ses-cell ...) are read,
4425 in order to check row col consistency with cell symbol name only
4426 for cells that are not renamed.
4427 (ses-replace-name-in-formula): New defun.
4428 (ses-rename-cell): New defun.
4429
ee957461
CY
44302011-12-11 Chong Yidong <cyd@gnu.org>
4431
4432 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4433 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4434
9a9e9ef0
MR
44352011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4436
4437 * window.el (other-window): Fix docstring.
4438
92a8eba5
EZ
44392011-12-10 Eli Zaretskii <eliz@gnu.org>
4440
4441 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4442 `from' or `to' address before taking its substring.
4443 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4444 encoded name is chopped in the middle of the encoded string, and
4445 thus displayed encoded.
4446
e152e577
JB
44472011-12-10 Juanma Barranquero <lekktu@gmail.com>
4448
4449 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4450
e5d84bfe
EZ
44512011-12-10 Eli Zaretskii <eliz@gnu.org>
4452
4453 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4454 to use texinfo-update-node and commands that call it if the
4455 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4456 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4457 (texinfo-all-menus-update, texinfo-master-menu)
4458 (texinfo-update-node, texinfo-every-node-update)
4459 (texinfo-multiple-files-update): Doc fix. Warn against updating
4460 all the @node lines.
4461 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4462 argument is numeric. Explain better in the doc string what the
4463 function really does.
4464 (texinfo-insert-master-menu-list): Improve the error message
4465 displayed if there's no menu in the Top node.
4466 (Bug#2975) See also this thread:
e5d84bfe
EZ
4467 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4468
1d84e9bb
MG
44692011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4470
4471 * speedbar.el (speedbar-supported-extension-expressions):
4472 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4473
382c953b
JB
44742011-12-09 Juanma Barranquero <lekktu@gmail.com>
4475
4476 * printing.el (pr-mode-alist):
4477 * simple.el (filter-buffer-substring-functions)
4478 (completion-list-insert-choice-function):
4479 * window.el (window-with-parameter, window-atom-root)
4480 (window-sides-slots, window-size-fixed, window-min-delta)
4481 (window-max-delta, window--resize-mini-window)
4482 (window--resize-child-windows-normal, window-tree)
4483 (delete-other-windows, quit-window, split-window)
4484 (display-buffer-record-window, special-display-buffer-names)
4485 (special-display-regexps, special-display-popup-frame)
4486 (same-window-p, split-window-sensibly)
4487 (display-buffer-overriding-action, display-buffer-alist)
4488 (display-buffer-base-action, display-buffer, switch-to-buffer)
4489 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4490 (fit-window-to-buffer, recenter-positions)
4491 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4492 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4493 and remove unneeded backslashes in docstrings.
4494
39c9faef
SM
44952011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4496
98449af8
SM
4497 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4498
39c9faef
SM
4499 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4500 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4501 end in ".mk".
4502 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4503 when reading the makefile (bug#10116).
4504
86ed9fdc
SM
45052011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4508 (bug#10116).
4509
5580f89d
GM
45102011-12-06 Glenn Morris <rgm@gnu.org>
4511
4512 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4513
28d3917c
CY
45142011-12-06 Chong Yidong <cyd@gnu.org>
4515
4516 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4517
a98edce9
JB
45182011-12-06 Juanma Barranquero <lekktu@gmail.com>
4519
4520 * textmodes/table.el (table-shorten-cell): Fix typo.
4521
e65adfac
CG
45222011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4523
4524 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4525
71cc0b74
EZ
45262011-12-05 Eli Zaretskii <eliz@gnu.org>
4527
4528 * descr-text.el (describe-char): Fix display of strong
4529 right-to-left characters and directional embeddings and overrides.
4530
4531 * simple.el (what-cursor-position): Fix display of codepoints of
4532 strong right-to-left characters.
4533
315bc30d
CY
45342011-12-05 Chong Yidong <cyd@gnu.org>
4535
4536 * faces.el (read-color): Doc fix.
4537
58a70b94
GM
45382011-12-05 Glenn Morris <rgm@gnu.org>
4539
4540 * align.el (align--set-marker): Add doc-string.
4541 Don't try to move something that is not a marker. (Bug#10216)
4542
5158face
GM
45432011-12-04 Glenn Morris <rgm@gnu.org>
4544
4545 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4546 overly zealous deletion of trailing whitespace.
4547
520fca41
JB
45482011-12-04 Juanma Barranquero <lekktu@gmail.com>
4549
4550 * server.el (server-delete-client): On Windows, do not try to delete
4551 the only terminal.
4552 (server-process-filter): On Windows, treat requests for a tty frame as
4553 if they were for a GUI frame if the running server is in GUI mode.
4554
5e605a2e
GM
45552011-12-03 Glenn Morris <rgm@gnu.org>
4556
4557 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4558
5c3fe83f
SM
45592011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4560
6f5e57e7
SM
4561 * electric.el: Streamline electric-indent's hook.
4562 (electric-indent-chars): Revert to simple list.
4563 (electric-indent-functions): New var.
4564 (electric-indent-post-self-insert-function): Use it.
4565
5c3fe83f
SM
4566 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4567 there's no inferior buffer (bug#10196).
4568 (prolog-consult-compile): Don't use toggle-read-only.
4569
6bdac736
MA
45702011-12-02 Michael Albinus <michael.albinus@gmx.de>
4571
4572 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4573 interrupt. (Bug#10187)
4574
6131ba7f
SM
45752011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4576
99c79fee
SM
4577 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4578 (bug#9160).
4579
6131ba7f
SM
4580 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4581 (bug#10191).
4582
cb0a02ea
JL
45832011-12-02 Juri Linkov <juri@jurta.org>
4584
4585 * info.el (Info-search): Display "end of manual" when Isearch
4586 reaches the end of single-file Info manual. (Bug#9918)
4587
66e0570c
EZ
45882011-12-02 Eli Zaretskii <eliz@gnu.org>
4589
4590 * isearch.el (isearch-message-prefix): Run the input method part
4591 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4592
02b16839
JL
45932011-12-02 Juri Linkov <juri@jurta.org>
4594
4595 * isearch.el (isearch-occur): Use `word-search-regexp' for
4596 `isearch-word'.
4597 (isearch-search-and-update): Add condition for `isearch-word' and
4598 call `word-search-regexp'. (Bug#10145)
4599
0b950688
GM
46002011-12-01 Glenn Morris <rgm@gnu.org>
4601
4602 * eshell/em-hist.el (eshell-hist-initialize):
4603 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4604 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4605
9505c3c7
SM
46062011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4609
1bbe96b2 46102011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4611
a1beca85
SM
4612 * progmodes/verilog-mode.el (verilog-pretty-expr):
4613 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4614 verilog, such as += *= and the like.
4615 (verilog-assignment-operator-re): Regular expression to find the
4616 assigment operator in a verilog assignment.
4617 (verilog-assignment-operation-re): Regular expression to find an
4618 assignment statement for pretty-expr.
4619 (verilog-in-attribute-p): Query returns true if point is in an
4620 attribute context; used to skip these for expression line up from
4621 pretty-expr.
4622 (verilog-in-parameter-p): Query returns true if point is in an
4623 parameter definition context; used to skip these for expression
4624 line up from pretty-expr.
4625 (verilog-in-parenthesis-p): Query returns true if point is in a
4626 parenthetical expression, specifically ( ) but not [ ] or { };
4627 used by pretty-expr.
4628 (verilog-just-one-space): If there is no space, don't add one.
4629 (verilog-get-lineup-indent-2): Specifically skip just attribute
4630 contexts for expression lineup, rather than skipping all
4631 parenthetical expressions.
4632 (verilog-calculate-indent): Fix comment, and fix indent.
4633 (verilog-do-indent): Indent declarations in lists (suggested by
4634 Joachim Lechner).
4635 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4636 skeleton items.
4637 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4638 by Alain Mellan).
4639
1bbe96b2 46402011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4641
4642 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4643 parameters with embedded comments. Reported by Ray Stevens.
4644 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4645 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4646 Reported by Tim Holt.
4647 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4648 instantiated by upper module causing wrong expansion until AUTOed a
4649 second time. Reported by K C Buckenmaier.
4650 (verilog-diff-auto): Fix showing .* as a difference when
4651 `verilog-auto-star-save' off. Reported by Dan Dever.
4652 (verilog-auto-reset, verilog-read-always-signals)
4653 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4654 temporary signals in reset list if
4655 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4656 style to each signal's assignment type, bug381.
4657 Reported by Thomas Esposito.
6288f0ca
WS
4658 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4659 (verilog-uvm-statement-re): Support UVM indentation and
4660 highlighting, with old OVM keywords only.
a1beca85 4661 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4662 Support AUTOTIEOFF creating non-wire data types.
4663 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4664 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4665 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4666 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4667 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4668 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4669 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4670 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4671 non-numeric vector width. Reported by Alex Reed.
4672 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4673 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4674 (verilog-auto-delete-trailing-whitespace):
4675 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4676 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4677 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4678 Fix verilog-scan-cache corruption when running user AUTO expansion
4679 hooks that call indentation routines.
4680 (verilog-simplify-range-expression): Fix typo ignoring lower case
4681 identifiers.
4682 (verilog-delete-auto): Fix delete-autos to also remove user created
4683 automatics, as long as they start with AUTO.
4684 (verilog-batch-diff-auto, verilog-diff-auto)
4685 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4686 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4687 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4688 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4689 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4690 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4691 is disabled and its cache will get corrupt, causing AUTOS not to
4692 expand. Instead use only -quick functions.
4693 (verilog-scan-region): Fix scanning over escaped quotes.
4694 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4695 (verilog-re-search-backward-quick)
4696 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4697 related functions now ignore strings, to fix misparsing of strings
4698 with magic comments embedded in them.
a1beca85
SM
4699 (verilog-read-auto-template):
4700 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4701 Reported by Brad Dobbie.
4702 (verilog-read-auto-template):
4703 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4704 Reported by Brad Dobbie.
6288f0ca
WS
4705 (verilog-auto-inst, verilog-auto-inst-param)
4706 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4707 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4708 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4709 debugging templates without merge conflicts, bug357.
4710 Reported by Brad Dobbie.
4711 (verilog-read-auto-template):
4712 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4713 Reported by Brad Dobbie.
4714 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4715 abbrevs so user won't be asked to save.
4716 (verilog-read-auto-lisp-present): Fix to start at beginning of
4717 buffer in case called outside of verilog-auto.
4718 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4719 to "X-2". Reported by Matthew Myers.
4720 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4721 all inputs from module templates. Reported by Leith Johnson.
4722 (verilog-module-inside-filename-p): Fix locating programs as with
4723 modules.
4724 (verilog-auto-inst-port): Fix vl-width expressions when using
4725 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4726 (verilog-decls-get-regs, verilog-decls-get-signals,
4727 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4728 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4729 verilog-read-decls): Combine reg and wire structures into one var
4730 structure to represent SystemVerilog concepts.
4731 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4732 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4733 (verilog-auto-wire-type, verilog-insert-definition):
4734 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4735 SystemVerilog "logic" keyword instead of "wire"/"reg".
4736 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4737 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4738 ifdef or generate if so there's not a driver conflict).
4739 Reported by Matthew Myers.
4740 (verilog-auto-declare-nettype, verilog-insert-definition):
4741 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4742 `default_nettype none. Reported by Julian Gorfajn.
4743 (verilog-read-always-signals-recurse, verilog-read-decls)
4744 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4745 malformed end statement, bug325. Reported by Joshua Wise and
4746 Andrew Drake.
4747 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4748 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4749 when expanding .* in interfaces, bug320.
4750 Reported by Pierre-David Pfister.
6288f0ca 4751 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4752 name and open parenthesis, bug317.
4753 Reported by Pierre-David Pfister.
6288f0ca
WS
4754 (verilog-simplify-range-expression): Fix simplification of
4755 multiplications inside AUTOWIRE connections, bug303.
4756 (verilog-auto-inst-port): Support parameter expansion in
4757 multidimensional arrays.
4758 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4759 after "assert property". Reported by Julian Gorfajn.
4760 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4761 with multiplication, bug303.
4762 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4763 Reported by Jan Frode Lonnum.
4764
1bbe96b2
GM
47652011-11-30 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4768 (hfy-shell-file-name, hfy-shell):
4769 * international/fontset.el (x-decompose-font-name): Fix typos.
4770
47712011-11-29 Ken Brown <kbrown@cornell.edu>
4772
4773 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4774 (gdb-version): Remove defvar.
4775 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4776 (gdb-gud-context-command, gdb-non-stop-handler)
4777 (gdb-current-context-command, gdb-stopped): Use it.
4778 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4779 (gdb-non-stop-handler): Don't enable pretty-printing here.
4780 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4781 non-stop mode. Use the following.
4782 (gdb-check-target-async): New defun.
4783 (gud-watch, gdb-stopped): Fix whitespace.
4784 (gdb-get-source-file): Don't try to display the source file if
4785 `gdb-main-file' is nil.
4786
47872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * align.el: Try to generate fewer markers (bug#10047).
4790 (align--set-marker): New macro.
4791 (align-region): Use it.
4792
c935221f
SM
47932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4796
e70b5064
CY
47972011-11-29 Chong Yidong <cyd@gnu.org>
4798
4799 * indent.el (indent-for-tab-command, indent-according-to-mode):
4800 Doc fix.
4801 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4802
f3af92b7
MA
48032011-11-29 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4806 aware of remote file names. (Bug#10124)
4807
ed472be9
CY
48082011-11-29 Chong Yidong <cyd@gnu.org>
4809
4810 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4811
24510c22
SM
48122011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * files.el (find-file): Don't use force-same-window (bug#10144).
4815 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4816 use pop-to-buffer if the selected window can't be used.
4817 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4818
c60c3703
EZ
48192011-11-28 Eli Zaretskii <eliz@gnu.org>
4820
4821 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4822 special-mode-map.
4823
e95def75
CY
48242011-11-28 Chong Yidong <cyd@gnu.org>
4825
4826 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4827
c3f1c606
NR
48282011-11-27 Nick Roberts <nickrob@snap.net.nz>
4829
4830 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4831 gdb-get-source-file-list on gdb-create-source-file-list.
4832
00db469c
EZ
48332011-11-26 Eli Zaretskii <eliz@gnu.org>
4834
4835 * whitespace.el (whitespace-newline): Use a different foreground
4836 color for 16-color light-background displays.
4837
4ad3bc2a
CY
48382011-11-24 Chong Yidong <cyd@gnu.org>
4839
4840 * window.el (display-buffer--special-action): Doc fix.
4841
e9fce1ac
JB
48422011-11-25 Juanma Barranquero <lekktu@gmail.com>
4843
4844 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4845 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4846 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4847 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4848 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4849 (avl-tree-stack-first):
4850 * emacs-lisp/cconv.el (cconv--analyse-use):
4851 * net/gnutls.el (gnutls-negotiate): Fix typos.
4852
cb825e5d
GM
48532011-11-24 Glenn Morris <rgm@gnu.org>
4854
3adbe224
GM
4855 * lpr.el (lpr-windows-system, lpr-lp-system):
4856 * mail/binhex.el (binhex-begin-line):
4857 * progmodes/grep.el (grep-history, grep-find-history):
4858 * textmodes/flyspell.el:
4859 * vc/pcvs-defs.el (cvs-global-menu):
4860 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4861 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4862 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4863
321decc8
GM
4864 * net/tls.el: Fix case of "GnuTLS".
4865
420b63ad
GM
4866 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4867
cb825e5d
GM
4868 * version.el (emacs-build-system): Give it a doc-string.
4869
a0649f08
JL
48702011-11-24 Juri Linkov <juri@jurta.org>
4871
4872 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4873
c0bc0fd4
GM
48742011-11-24 Glenn Morris <rgm@gnu.org>
4875
4876 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4877 if called on a non-mime message just toggle the headers. (Bug#8006)
4878
20db1522
JB
48792011-11-24 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4882 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4883 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4884 (allout-rebullet-heading, allout-open-sibtopic)
4885 (allout-toggle-current-subtree-encryption)
4886 (allout-toggle-subtree-encryption, allout-encrypt-string)
4887 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4888 (allout-distinctive-bullets-string, allout-auto-activation):
4889 * window.el (window-normalize-buffer-to-display):
4890 * progmodes/verilog-mode.el (verilog-batch-indent):
4891 * textmodes/bibtex.el (bibtex-field-braces-opt)
4892 (bibtex-field-strings-opt):
4893 * vc/cvs-status.el (cvs-tree-merge):
4894 Fix typos.
4895
7262a87c
MA
48962011-11-23 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4899 `non-essential' to t, in order to avoid remote connections.
4900
283430a1
EZ
49012011-11-23 Eli Zaretskii <eliz@gnu.org>
4902
a1beca85
SM
4903 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4904 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4905 case-insensitively.
4906
d2992a38
ML
49072011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4908
4909 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4910
50419064
GM
49112011-11-23 Glenn Morris <rgm@gnu.org>
4912
da94eca1
GM
4913 * paths.el (rmail-file-name): Reformat the doc-string so that it
4914 is picked up.
4915
9aac4de2
GM
4916 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4917 (rmail-auto-file): Ignore case in the "special" field names,
4918 as mail-fetch-field does for all others.
4919
8038d2d2
GM
4920 * mail/rmail.el (rmail-forward):
4921 * mail/rmailkwd.el (rmail-set-label):
4922 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4923 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4924
f3fe222a
GM
4925 * mail/rmail.el (rmail-current-message): Doc fix.
4926
50419064
GM
4927 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4928
28109f49
SM
49292011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4932
394c65f1
GM
49332011-11-22 Glenn Morris <rgm@gnu.org>
4934
4935 * mail/rmailmm.el (test-rmail-mime-handler)
4936 (test-rmail-mime-bulk-handler)
4937 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4938
f2a0aa3a
JL
49392011-11-21 Juri Linkov <juri@jurta.org>
4940
1154d12e
JB
4941 * calc/calc.el (calc-read-key-sequence):
4942 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4943
9c34a344
LMI
49442011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4945
4946 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4947 Tell the caller that the next line needs recomputation, even
4948 though it doesn't start a sexp (bug#10094).
4949
f04a3be9
SM
49502011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4953
7978747f
SM
49542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4955
f04a3be9
SM
4956 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4957 Use force-same-window.
7978747f 4958
fe7a3057
JB
49592011-11-20 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * descr-text.el (describe-char-unicode-data):
4962 * json.el (json-string-escape):
4963 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4964 (Footnote-unicode, Footnote-style-p):
4965 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4966
24901d61
CY
49672011-11-20 Chong Yidong <cyd@gnu.org>
4968
4969 * window.el (replace-buffer-in-windows): Restore interactive spec.
4970
bac7ff22
SM
49712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4972
24f3d7b9
SM
4973 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4974
bac7ff22
SM
4975 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4976 (byte-compile-global-not-obsolete-vars): New var.
4977 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4978 Use it.
4979 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4980
cd1181db
JB
49812011-11-20 Juanma Barranquero <lekktu@gmail.com>
4982
4983 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4984 * progmodes/pascal.el (electric-pascal-equal):
4985 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4986 * xml.el (xml-substitute-special): Fix typos.
4987
7fb18e9e
GM
49882011-11-20 Glenn Morris <rgm@gnu.org>
4989
4990 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4991 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4992 Doc fixes.
4993 (rmail-decode-mime-charset): Mark as obsolete.
4994
4995 * mail/rmailsum.el (rmail-message-regexp-p-1):
4996 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4997 Before using mime functions, check they are set. (Bug#10077)
4998
d5a6b3ba
JL
49992011-11-19 Juri Linkov <juri@jurta.org>
5000
5001 * info.el (Info-finder-find-node): Use `package--builtins' instead
5002 of `package-alist'. Use node names formed by the pattern "Keyword "
5003 and the keyword name.
5004
e981b61f
AS
50052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5006
1d00653d 5007 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5008
3ffbc301
JL
50092011-11-19 Juri Linkov <juri@jurta.org>
5010
5011 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5012 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5013 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5014 `old-history', `old-history-forward'. Add let-binding
5015 `window-selected'. Remove calls to `kill-buffer',
5016 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5017 before calling `Info-find-node', so `Info-find-node-2' will reread
5018 the Info file. Restore window positions only when `window-selected'
5019 is non-nil.
5020
30c62133
JL
50212011-11-19 Juri Linkov <juri@jurta.org>
5022
5023 * isearch.el (isearch-lazy-highlight-new-loop):
5024 Remove condition `(not isearch-error)'. (Bug#9918)
5025
5026 * misearch.el (multi-isearch-search-fun): Add condition
5027 `(not bound)' to ignore lazy-highlighting search.
5028 Add the search-failed message "end of multi" when the end of
5029 multi-sequence is reached. Uncapitalize the search-failed
5030 message "Repeat for next buffer".
5031
5032 * info.el (Info-search): Add the search-failed message
5033 "end of the manual" when the end of the manual is reached
5034 in Isearch mode.
5035
645ca9cf
JL
50362011-11-19 Juri Linkov <juri@jurta.org>
5037
5038 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5039 Use non-destructive `remove' instead of `delete' because
5040 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5041 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5042
df754f66
JL
50432011-11-19 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5046 to nil instead of binding `search-ring' and `regexp-search-ring'.
5047 (Bug#9185)
5048
0e23d96a
EZ
50492011-11-19 Eli Zaretskii <eliz@gnu.org>
5050
5051 * simple.el (line-move): Force movement by logical lines for any
5052 hscrolled window, not only when auto-hscroll-mode is on.
5053 (line-move-visual): Update doc string to that effect. (Bug#10076)
5054
8a6ccb66
AS
50552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * language/european.el (macintosh): Define as alias for mac-roman.
5058
49ae5b39
EZ
50592011-11-19 Eli Zaretskii <eliz@gnu.org>
5060
5061 * mail/rmailmm.el (rmail-mime-display-header)
5062 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5063 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5064 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5065 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5066 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5067 of a raw aref.
5068 (rmail-mime-entity-segment): To get past the tagline, move forward
5069 2 more lines, to account for the 2 empty lines that precede and
5070 follow the line with the buttons.
5071 (rmail-mime-update-tagline): Move one more line, to get past the
5072 empty line that follows the buttons in the tagline. (Bug#9520)
5073
c56cad4a
MR
50742011-11-19 Martin Rudalics <rudalics@gmx.at>
5075
5076 * window.el (window-max-delta-1, window-min-delta-1)
5077 (window-min-size-1, window-state-get-1, window-state-put-1)
5078 (window-state-put-2): Use "window--" prefix.
5079
cbe71af3
SM
50802011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5081
2ad52c60
SM
5082 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5083 (smie-warning-count): New var.
5084 (smie-set-prec2tab): Use it.
5085 (smie-bnf->prec2): Improve warnings. Add docstring.
5086 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5087 (smie-bnf--set-class): New function.
5088 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5089 corner case.
5090
6944dbc1
SM
5091 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5092 (compilation-error-properties, compilation-move-to-column):
5093 Handle compilation-first-column while in the target buffer.
5094
c400c4d7
SM
5095 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5096 Don't hardcode point-min==1.
5097
6dbe3e96
SM
5098 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5099 (eshell-rewrite-for-command): Remove workaround.
5100 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5101 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5102 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5103
cbe71af3
SM
5104 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5105
a8e1496d
GM
51062011-11-17 Glenn Morris <rgm@gnu.org>
5107
5108 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5109 Ignore buffer-local generated-autoload-file if it is the same
5110 as the global value. (Bug#10049)
5111
df85d315
JB
51122011-11-17 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5115 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5116 (reftex-toc-previous-heading, reftex-toc-max-level)
5117 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5118 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5119 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5120 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5121 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5122 (reftex-toc-rename-label, reftex-toc-visit-location)
5123 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5124 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5125 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5126 leaving "*toc*" only for references to the buffer.
5127
a0c2d0ae
MR
51282011-11-17 Martin Rudalics <rudalics@gmx.at>
5129
5130 * window.el (window-resize, delete-window, split-window):
5131 Replace window-splits by window-combination-resize.
1d00653d 5132 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5133
35c0bac8
GM
51342011-11-17 Glenn Morris <rgm@gnu.org>
5135
5136 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5137 Make bash entry derive from sh entry, not shell entry.
5138
d0c8fc8a
MA
51392011-11-16 Michael Albinus <michael.albinus@gmx.de>
5140
d0c8fc8a
MA
5141 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5142 properties of linked files. (Bug#9879)
5143
7262a87c
MA
5144 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5145 local file name.
5146
7877f373
JB
51472011-11-16 Juanma Barranquero <lekktu@gmail.com>
5148
5149 * menu-bar.el (menu-bar-file-menu):
5150 * printing.el (pr-ps-utility):
5151 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5152 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5153 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5154 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5155 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5156 (icalendar--convert-cyclic-to-ical)
5157 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5158 (icalendar--convert-ical-to-diary)
5159 (icalendar--convert-recurring-to-diary)
5160 (icalendar--convert-non-recurring-all-day-to-diary)
5161 (icalendar-import-format-sample):
5162 * progmodes/idlw-shell.el (idlwave-shell-mode):
5163 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5164 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5165 (vhdl-ps-print-init): Fix typos.
5166
10649b82
KM
51672011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5168
9d0cfcd6
GM
5169 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5170 FSF and collapse date sequence, obscure author/maintainer email address
5171 better, remove extra version line, track relocation of author's webpage.
10649b82 5172
9d0cfcd6
GM
5173 * progmodes/python.el (python-pdbtrack-input-prompt)
5174 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5175 regular python pdb prompts. Adjustments shamelessly taken exactly as
5176 suggested in EmacsWiki page (tiny change):
5177 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5178
58179cce
JB
51792011-11-16 Juanma Barranquero <lekktu@gmail.com>
5180
5181 * expand.el (expand-pos, expand-index, expand-point):
5182 Remove redundant info from docstring.
5183 (expand-add-abbrevs): Doc fix.
5184 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5185 (expand-sample-perl-mode-expand-list): Fix typos.
5186
5187 * net/dbus.el (dbus-event-member-name):
5188 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5189 * term/pc-win.el (msdos-create-frame-with-faces):
5190 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5191
b6f67890
MR
51922011-11-16 Martin Rudalics <rudalics@gmx.at>
5193
5194 * window.el (split-window, window-state-get-1)
5195 (window-state-put-1, window-state-put-2): Rename occurrences of
5196 window-nest to window-combination-limit.
1d00653d 5197 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5198
ce7ddba0
CY
51992011-11-16 Chong Yidong <cyd@gnu.org>
5200
5201 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5202 regexp (Bug#10033).
5203
3ae704f4
SM
52042011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5207 `completing-read' will remove *Completions* and will preserve
5208 current-buffer for us.
5209 (tmm-add-prompt): Users of *Completions* will always (re)set its
5210 major mode.
5211 (tmm-old-comp-map): Remove.
5212
6ad1cdde
GM
52132011-11-16 Glenn Morris <rgm@gnu.org>
5214
5215 * mail/rmailedit.el: Require rmailmm when compiling.
5216 (rmail-old-mime-state): New declaration.
5217 (rmail-edit-current-message): If editing a mime message,
5218 edit the "raw" message from the mbox buffer.
5219 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5220
d20faa20
GM
52212011-11-15 Glenn Morris <rgm@gnu.org>
5222
5223 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5224 which wasn't being used. Add optional arg to force given state.
5225 (rmail-mime): Add optional arg to force given state.
5226
c7015153
JB
52272011-11-15 Juanma Barranquero <lekktu@gmail.com>
5228
5229 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5230 * frame.el (display-mm-dimensions-alist):
5231 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5232 (outline-move-subtree-down):
5233 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5234 (newsticker--treeview-do-get-node):
5235 * net/quickurl.el (quickurl-list-buffer-name):
5236 * progmodes/dcl-mode.el (dcl-mode):
5237 * progmodes/gdb-mi.el (gdb-mapcar*):
5238 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5239
45261b50
GM
52402011-11-15 Glenn Morris <rgm@gnu.org>
5241
5242 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5243 in a boolean sense, so just make it a boolean, and fix the doc.
5244 (rmail-show-mime-function, rmail-mime-feature)
5245 (rmail-require-mime-maybe): Doc fixes.
5246 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5247
5248 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5249
0d26e0b6
JB
52502011-11-15 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5253 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5254 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5255 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5256
447f30f6
GM
52572011-11-15 Glenn Morris <rgm@gnu.org>
5258
672b871d
GM
5259 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5260 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5261 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5262 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5263 (rmail-mime, rmail-show-mime): Doc fixes.
5264
f6aa5bb1
GM
5265 * term/ns-win.el (mode-line-frame-identification):
5266 Leave it alone. (Bug#10051)
5267
947cd66b
GM
5268 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5269
447f30f6
GM
5270 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5271 Handle empty buffers. (Bug#9978)
5272
0b381c7e
JB
52732011-11-14 Juanma Barranquero <lekktu@gmail.com>
5274
5275 * international/mule.el (define-charset):
5276 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5277 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5278 * progmodes/verilog-mode.el (verilog-backward-token):
5279 * textmodes/ispell.el (lookup-words):
5280 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5281
71e027ac
GM
52822011-11-14 Glenn Morris <rgm@gnu.org>
5283
56632ce4
GM
5284 * progmodes/executable.el
5285 (executable-make-buffer-file-executable-if-script-p):
5286 Handle file-modes returning nil.
5287
40500957
GM
5288 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5289 message - not necessary, and causes problems. (Bug#9831)
5290
071c2340
GM
5291 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5292
d3cfca60
GM
5293 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5294
71e027ac
GM
5295 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5296 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5297 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5298
89d61221
MR
52992011-11-12 Martin Rudalics <rudalics@gmx.at>
5300
5301 * window.el (window-resize, delete-window): Use window-splits
5302 variable instead of function.
5303 (window-state-get-1, window-state-put-2, window-state-put):
5304 Don't deal with windows' splits status.
5305
98282f6f
GM
53062011-11-12 Glenn Morris <rgm@gnu.org>
5307
5308 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5309 (apropos-documentation): Doc fixes.
5310
40a8bdf6
JB
53112011-11-11 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5314 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5315
65bd19ff
SM
53162011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * electric.el (electric-indent-post-self-insert-function): Make it
5319 possible for a char to only indent in some circumstances.
5320 (electric-indent-mode): Simplify.
5321
54f9154c
MR
53222011-11-11 Martin Rudalics <rudalics@gmx.at>
5323
5324 * window.el (windows-with-parameter): Remove unused function.
5325 (windows-at-side): Rename to window-at-side-list.
5326 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5327 (window-side-check, window-size-ignore, window-size-fixed-1)
5328 (window-in-direction-2): Prefix with "window--".
5329 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5330
68cbc58b
GM
53312011-11-11 Glenn Morris <rgm@gnu.org>
5332
5333 * subr.el (eval-after-load): If FILE is already loaded,
5334 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5335
b2621720
GM
53362011-11-10 Glenn Morris <rgm@gnu.org>
5337
9a4de110
GM
5338 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5339 Call svn via vc-svn-command rather than vc-do-command.
5340 (vc-svn-command): Add --non-interactive. (Bug#9993)
5341 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5342
b2621720
GM
5343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5344 Add toggle-read-only. (Bug#7292)
5345 * files.el (toggle-read-only): Mention that it should only
5346 be used interactively. (Bug#10006)
5347
1dce7193
SM
53482011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5349
d9ac1a1e
SM
5350 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5351 Adjust regexp for OCaml warnings.
5352
0c325082
SM
5353 * electric.el (electric-pair-post-self-insert-function): Let user
5354 turn it off buffer-locally (bug#9932).
5355
90132c14
SM
5356 * progmodes/python.el (python-beginning-of-statement):
5357 Rewrite (bug#2703).
5358
1dce7193
SM
5359 * progmodes/compile.el: Better handle TABs (bug#9749).
5360 (compilation-internal-error-properties)
5361 (compilation-next-error-function): Obey the target buffer's
5362 compilation-error-screen-columns.
5363
c4e7c63a
JB
53642011-11-09 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * progmodes/meta-mode.el: Remove obsolete comments.
5367 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5368 Fix typos in docstrings.
5369
2cffd681
MR
53702011-11-09 Martin Rudalics <rudalics@gmx.at>
5371
5372 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5373 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5374 (window--resizable): New function. Make all callers of
5375 window-resizable call window--resizable instead.
5376 (window-resizable): Rewrite in terms of window--resizable.
5377
0edcba87
GM
53782011-11-08 Glenn Morris <rgm@gnu.org>
5379
5380 * progmodes/delphi.el (delphi-mode-syntax-table):
5381 Let define-derived-mode define a proper syntax table. (Bug#9994)
5382
4b0d61e3
SM
53832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * window.el: Stay away from defsubst.
5386 (window-list-no-nils): Remove.
5387 (window-state-get-1, window-state-get): Use backquote instead.
5388
cd394be1 53892011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5390
4b0d61e3 5391 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5392 Fix incorrect use of default argument in `completing-read'.
5393
e1c2c6f2
MR
53942011-11-08 Martin Rudalics <rudalics@gmx.at>
5395
5396 * window.el (display-buffer-function, special-display-function):
5397 Mention display-buffer-record-window but do not mention
5398 help-setup parameter in doc-strings.
b3f4a882 5399 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5400
105216ed
CY
54012011-11-08 Chong Yidong <cyd@gnu.org>
5402
5403 * window.el (window-total-height, window-total-width): Doc fix.
5404 (window-body-size): Move from C.
5405 (window-body-height, window-body-width): Move to C.
5406
0a9f9ab5
SM
54072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * window.el: Make special-display like display-buffer-alist (bug#9532).
5410 (display-buffer--special-action): New function, morphed
5411 from display-buffer--special.
5412 (display-buffer): Use it to handle special-display-buffers at higher
5413 priority (just after display-buffer-alist).
5414 (display-buffer-fallback-action, display-buffer--other-frame-action)
5415 (pop-to-buffer-same-window): Remove display-buffer--special.
5416
a769dd15
GM
54172011-11-07 Glenn Morris <rgm@gnu.org>
5418
5419 * calendar/cal-menu.el (cal-menu-set-date-title):
5420 Do nothing if not in a calendar. (Bug#9976)
5421
05a61ee3
SM
54222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * files.el (find-file): Always use selected-window.
5425
be7f5545
MR
54262011-11-07 Martin Rudalics <rudalics@gmx.at>
5427
5428 * window.el (window-combinations): Make WINDOW argument
5429 mandatory. Rewrite doc-string.
5430 (walk-window-subtree, window-atom-check, window-min-delta)
5431 (window-max-delta, window--resize-this-window)
5432 (window--resize-root-window-vertically, window-tree)
5433 (balance-windows, window-state-put): Rewrite doc-strings as to
5434 not mention the term "subwindow".
5435 (window--resize-subwindows-skip-p): Rename to
5436 window--resize-child-windows-skip-p.
5437 (window--resize-subwindows-normal): Rename to
5438 window--resize-child-windows-normal.
5439 (window--resize-subwindows): Rename to
5440 window--resize-child-windows.
5441 (window-or-subwindow-p): Rename to window--in-subtree-p.
5442
3c6702ef
ML
54432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5444
5445 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5446 Ensure that mbox format messages end in two newlines (Bug#9974).
5447
49745b39
CY
54482011-11-06 Chong Yidong <cyd@gnu.org>
5449
5450 * window.el (window-combination-p): Function deleted; its
5451 side-effect is not used in any existing code.
5452 (window-combinations, window-combined-p): Call window-*-child
5453 directly.
5454
24300f5f
CY
54552011-11-05 Chong Yidong <cyd@gnu.org>
5456
5457 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5458 (window-size-ignore, window-state-get): Callers changed.
5459 (window-normalize-window): Rename from window-normalize-any-window.
5460 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5461 (window-normalize-live-window): Delete.
447f16b8
CY
5462 (window-combination-p, window-combined-p, window-combinations)
5463 (walk-window-subtree, window-atom-root, window-min-size)
5464 (window-sizable, window-sizable-p, window-size-fixed-p)
5465 (window-min-delta, window-max-delta, window-resizable)
5466 (window-resizable-p, window-full-height-p, window-full-width-p)
5467 (window-current-scroll-bars, window-point-1, set-window-point-1)
5468 (window-at-side-p, window-in-direction, window-resize)
5469 (adjust-window-trailing-edge, maximize-window, minimize-window)
5470 (window-deletable-p, delete-window, delete-other-windows)
5471 (record-window-buffer, unrecord-window-buffer)
5472 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5473 (quit-window, split-window, window-state-put)
5474 (set-window-text-height, fit-window-to-buffer)
5475 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5476
89bd5ee1
EZ
54772011-11-04 Eli Zaretskii <eliz@gnu.org>
5478
53479029
EZ
5479 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5480 rfc2047-decode-string.
5481 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5482 warnings.
5483
89bd5ee1
EZ
5484 * window.el (window-body-height, window-body-width): Mention in
5485 the doc string that the return values are in frame's canonical
5486 units. (Bug#9949)
5487
bd17fdee
AM
54882011-11-03 Alan Mackenzie <acm@muc.de>
5489
5490 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5491 change in cc-engine.el.
5492
acc825c5
SM
54932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5496
1885e5b8
MR
54972011-11-02 Martin Rudalics <rudalics@gmx.at>
5498
5499 * window.el (quit-window): Call unrecord-window-buffer after
5500 showing another buffer in the window. (Bug#9937)
acc825c5 5501 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5502
ebe06da9
JB
55032011-11-02 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5506 Accept status with more than 9 shelves. (Bug#9935)
5507 Reported by Colin D Bennett <colin@gibibit.com>.
5508
4ee88440
MR
55092011-11-01 Martin Rudalics <rudalics@gmx.at>
5510
5511 * help.el (with-help-window): Don't reference
5512 temp-buffer-show-specifiers in doc-string.
5513
08e1d82c
AS
55142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5515
5516 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5517 menu-item.
5518
84bd6e9e
VJL
55192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5520
5521 * whitespace.el: New version 13.2.2.
5522 (whitespace-newline-mode): Disable properly. Reported by Sarah
5523 <EmacsWiki>.
5524
dba0634a
UJ
55252011-10-30 Ulf Jasper <ulf.jasper@web.de>
5526
5527 * net/newst-treeview.el: Remove "Time-stamp".
5528 (newsticker--group-manage-orphan-feeds): Do not call
5529 newsticker--treeview-tree-update.
db22a3c2
JB
5530 (newsticker-treeview-update, newsticker-treeview):
5531 Call newsticker--treeview-tree-update if necessary.
dba0634a 5532
3d8daefe
MR
55332011-10-30 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5536 (window-iso-combinations): Remove "iso-" infix.
5537 Suggested by Chong Yidong.
3d8daefe
MR
5538 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5539 (window-max-delta-1, window-resize, window--resize-siblings)
5540 (window--resize-this-window, adjust-window-trailing-edge)
5541 (split-window, balance-windows-1)
5542 (shrink-window-if-larger-than-buffer):
5543 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5544 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5545
1bc4c3ae
SM
55462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5549 in place (bug#9907).
5550 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5551 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5552 (eshell-structure-basic-command, eshell-rewrite-while-command)
5553 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5554 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5555 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5556 (eshell-do-pipelines-synchronously, eshell-eval-command):
5557 Use backquotes and prefer setq to set.
5558 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5559 (eshell-macrop): Use functionp.
c1e2f5fa 5560 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5561
30b65d9c
CY
55622011-10-30 Chong Yidong <cyd@gnu.org>
5563
5564 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5565 instead of set-mark (Bug#9810).
5566
2d197ffb
CY
55672011-10-30 Chong Yidong <cyd@gnu.org>
5568
5569 * window.el (split-window-below, split-window-right): Rename from
5570 split-window-above-each-other and split-window-side-by-side
5571 respectively. All callers changed.
5572 (split-window-sensibly, split-window-sensibly): Use them.
5573 (split-window-keep-point): Doc fix.
5574
5575 * isearch.el: Add isearch-scroll property to split-window-below
5576 and split-window-right.
5577
5578 * follow.el (follow-mode):
5579 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5580 * progmodes/ada-xref.el (ada-gdb-application):
5581 * emulation/vip.el (vip-buffer-in-two-windows):
5582 * image-dired.el (image-dired-dired-with-window-configuration):
5583 * dired-x.el (dired-do-find-marked-files):
5584 * dired.el (dired-pop-to-buffer):
5585 * bs.el (bs--show-with-configuration):
5586 * vc/emerge.el (emerge-setup-windows):
5587 * textmodes/two-column.el (2C-two-columns):
5588 * textmodes/reftex-toc.el (reftex-toc):
5589 * progmodes/gdb-mi.el (gdb-setup-windows):
5590 * progmodes/fortran.el (fortran-window-create):
5591 * net/newst-treeview.el (newsticker--treeview-window-init):
5592 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5593 * emulation/tpu-edt.el (tpu-gold-map):
5594 * emulation/crisp.el (crisp-mode-map):
5595 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5596
38bb2ca8
CY
55972011-10-29 Chong Yidong <cyd@gnu.org>
5598
aa4de341
CY
5599 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5600
e1eb5385
CY
5601 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5602
5d2ece3c
CY
5603 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5604 forged Ispell output (Bug#7904).
5605
38bb2ca8
CY
5606 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5607
d0af9f77
SM
56082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * doc-view.el: Avoid ugly errors about not finding nil.
5611 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5612 (doc-view-dvipdf-program, doc-view-unoconv-program)
5613 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5614 Avoid nil or absolute file name as default value.
5615 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5616
52bedd34
AM
56172011-10-28 Alan Mackenzie <acm@muc.de>
5618
db22a3c2 5619 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5620
7e43cfa5
AM
56212011-10-28 Alan Mackenzie <acm@muc.de>
5622
5623 Amend the handling of c-beginning/end-of-defun in nested declaration
5624 scopes.
5625
52bedd34
AM
5626 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5627 cc-langs.el. Change it to a defcustom.
7e43cfa5 5628
52bedd34
AM
5629 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5630 cc-vars.el.
7e43cfa5 5631
d0af9f77
SM
5632 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5633 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5634
52bedd34 5635 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5636 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5637 (c-widen-to-enclosing-decl-scope): New function.
5638 (c-while-widening-to-decl-block): New macro.
5639 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5640 outward for defun boundaries, and correspondingly change symbol
5641 `respect-enclosure' to `go-outward'.
5642 (c-declaration-limits): Change algorithm to report only the "innermost"
5643 defun's boundaries.
5644
1a2ce9ee
DD
56452011-10-28 Deniz Dogan <deniz@dogan.se>
5646
5647 * net/rcirc.el (rcirc-mode): Use hard newlines.
5648
bc97a826
AM
56492011-10-28 Alan Mackenzie <acm@muc.de>
5650
5651 Amend to indent and fontify macros "which include their own semicolon"
5652 correctly, using the "virtual semicolon" mechanism.
5653
52bedd34 5654 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5655
d0af9f77 5656 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5657 Recode to scan one line at a time rather than having \n and \r
58179cce 5658 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5659 (c-forward-label): Amend for virtual semicolons.
58179cce 5660 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5661
52bedd34
AM
5662 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5663 of the new C macros.
bc97a826 5664
52bedd34 5665 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5666 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5667 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5668 (c-opt-cpp-macro-define): Make into a full language variable.
5669 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5670 AWK Mode (including \n, \r) removed, no longer needed.
5671
d0af9f77
SM
5672 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5673 Invoke c-make-macro-with-semi-re.
bc97a826 5674
52bedd34
AM
5675 * progmodes/cc-vars.el (c-macro-with-semi-re):
5676 (c-macro-names-with-semicolon): New variables.
58179cce 5677 (c-make-macro-with-semi-re): New function.
bc97a826 5678
7a6c0941
SM
56792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * vc/log-edit.el: Fill empty field rather than adding new one.
5682 (log-edit-add-field): New function.
5683 (log-edit-insert-changelog): Use it.
5684
b0c4cdcf
ML
56852011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5686
5687 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5688
ee1f1da9
SM
56892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5692 (gdb--check-interpreter): New function.
5693 (gdb): Use it.
5694
51bc5f8b
GM
56952011-10-27 Glenn Morris <rgm@gnu.org>
5696
416a2c45
GM
5697 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5698 (least-positive-float, least-negative-float)
5699 (least-positive-normalized-float, least-negative-normalized-float)
5700 (float-epsilon, float-negative-epsilon):
5701 Remove unnecessary declarations.
5702
5703 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5704 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5705 (least-positive-float, least-negative-float)
5706 (least-positive-normalized-float, least-negative-normalized-float)
5707 (float-epsilon, float-negative-epsilon): Add doc-strings,
5708 based on those in cl.texi.
5709
51bc5f8b
GM
5710 * files.el (set-visited-file-name): If the major-mode changed,
5711 reload the local variables. (Bug#9796)
5712
15de15c6
CY
57132011-10-27 Chong Yidong <cyd@gnu.org>
5714
5715 * subr.el (change-major-mode-after-body-hook): New hook.
5716 (run-mode-hooks): Run it.
5717
ee1f1da9
SM
5718 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5719 Use change-major-mode-before-body-hook.
15de15c6
CY
5720
5721 * simple.el (fundamental-mode):
5722 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5723 change introducing fundamental-mode-hook.
5724
5430d399
JB
57252011-10-26 Juanma Barranquero <lekktu@gmail.com>
5726
acc825c5 5727 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5728
ad74a69e
MA
57292011-10-26 Michael Albinus <michael.albinus@gmx.de>
5730
5731 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5732 tramp.el explicitly. (Bug#7583)
ad74a69e 5733
71d4c2a5
SM
57342011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * progmodes/octave-mod.el:
5737 * progmodes/octave-inf.el: Update maintainer.
5738
b1f6fa26
CY
57392011-10-26 Chong Yidong <cyd@gnu.org>
5740
5741 * subr.el (with-wrapper-hook): Rewrite doc.
5742
3f04efd6
MA
57432011-10-25 Michael Albinus <michael.albinus@gmx.de>
5744
5745 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5746 filenames "/method:foo:". (Bug#9793)
3f04efd6 5747
410488d3
SM
57482011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5751 (bug#9865).
5752
c1ebb47e
GM
57532011-10-24 Glenn Morris <rgm@gnu.org>
5754
5755 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5756
7f5c46c7
MA
57572011-10-24 Michael Albinus <michael.albinus@gmx.de>
5758
5759 * notifications.el: Add the requirement of a running D-Bus session
5760 bus to the Commentary.
5761
db2440b6
JL
57622011-10-24 Juri Linkov <juri@jurta.org>
5763
5764 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5765 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5766 (Bug#9364)
5767
feecf435
JL
57682011-10-24 Juri Linkov <juri@jurta.org>
5769
5770 * info.el (Info-following-node-name-re): Add newline to the list
5771 of allowed characters for leading space. (Bug#9824)
5772
a3839de2
SM
57732011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5774
acc825c5
SM
5775 * progmodes/octave-inf.el (inferior-octave-mode-map):
5776 Fix C-c C-h binding.
a3839de2
SM
5777 * progmodes/octave-mod.el (octave-help): Remove.
5778
09388e76
MA
57792011-10-23 Michael Albinus <michael.albinus@gmx.de>
5780
5781 Sync with Tramp 2.2.3.
5782
5783 * net/tramp-cache.el (top): Pacify byte-compiler using
5784 `init-file-user' and `site-run-file'.
5785
5786 * net/trampver.el: Update release number.
5787
86c60681
CY
57882011-10-23 Chong Yidong <cyd@gnu.org>
5789
5790 * files.el (toggle-read-only): Remove obsolete comment about
5791 version control.
5792
5793 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5794 for toggle-read-only. Note that this hasn't called vc-next-action
5795 since 2008-05-02, though it wasn't documented at the time.
5796
a3839de2
SM
5797 * vc/ediff-init.el (ediff-toggle-read-only-function):
5798 Use toggle-read-only.
86c60681 5799
cd5495ff
AM
58002011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5801
5802 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5803 of c-parse-state.
5804
00b77525 5805 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5806 correct faulty logical expression.
cd5495ff
AM
5807 (c-parse-state-state, c-record-parse-state-state):
5808 (c-replay-parse-state-state): New defvar/defuns.
5809 (c-debug-parse-state): Use new functions.
5810
42ee24ed
MR
58112011-10-22 Martin Rudalics <rudalics@gmx.at>
5812
5813 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5814 last fix. Use window-in-direction correctly.
42ee24ed 5815
a7dee7e7
CY
58162011-10-21 Chong Yidong <cyd@gnu.org>
5817
5818 * progmodes/idlwave.el (idlwave-mode):
5819 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5820 require-final-newline; that's done in prog-mode.
5821 Suggested by Stefan Monnier.
a7dee7e7 5822
e07b9a6d
MR
58232011-10-21 Martin Rudalics <rudalics@gmx.at>
5824
5825 * mouse.el (mouse-drag-window-above)
5826 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5827 (mouse-drag-mode-line-1, mouse-drag-header-line)
5828 (mouse-drag-vertical-line-rightward-window): Remove.
5829 (mouse-drag-line): New function.
5830 (mouse-drag-mode-line, mouse-drag-header-line)
5831 (mouse-drag-vertical-line): Call mouse-drag-line.
5832 * window.el (window-at-side-p, windows-at-side): New functions.
5833
7e1361d9
UM
58342011-10-21 Ulrich Mueller <ulm@gentoo.org>
5835
5836 * tar-mode.el (tar-grind-file-mode):
5837 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5838
30fcaf3a
CY
58392011-10-21 Chong Yidong <cyd@gnu.org>
5840
5841 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5842 * progmodes/vera-mode.el (vera-mode):
5843 Use mode-require-final-newline.
30fcaf3a 5844
516eddb0
GM
58452011-10-20 Glenn Morris <rgm@gnu.org>
5846
db22a3c2 5847 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5848
10d5f513
CS
58492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5850
5851 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5852
ac6c8639
CY
58532011-10-20 Chong Yidong <cyd@gnu.org>
5854
5855 * emulation/cua-base.el (cua-mode):
5856 * mail/footnote.el (footnote-mode):
5857 * mail/mailabbrev.el (mail-abbrevs-mode):
5858 * net/xesam.el (xesam-minor-mode):
5859 * progmodes/bug-reference.el (bug-reference-mode):
5860 * progmodes/cap-words.el (capitalized-words-mode):
5861 * progmodes/compile.el (compilation-minor-mode)
5862 (compilation-shell-minor-mode):
5863 * progmodes/gud.el (gud-tooltip-mode):
5864 * progmodes/hideif.el (hide-ifdef-mode):
5865 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5866 * progmodes/subword.el (subword-mode):
5867 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5868 * progmodes/which-func.el (which-function-mode):
5869 * term/tvi970.el (tvi970-set-keypad-mode):
5870 * term/vt100.el (vt100-wide-mode):
5871 * textmodes/flyspell.el (flyspell-mode):
5872 * textmodes/ispell.el (ispell-minor-mode):
5873 * textmodes/nroff-mode.el (nroff-electric-mode):
5874 * textmodes/paragraphs.el (use-hard-newlines):
5875 * textmodes/refill.el (refill-mode):
5876 * textmodes/reftex.el (reftex-mode):
5877 * textmodes/rst.el (rst-minor-mode):
5878 * textmodes/sgml-mode.el (html-autoview-mode)
5879 (sgml-electric-tag-pair-mode):
5880 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5881 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5882 * emulation/crisp.el (crisp-mode):
5883 * emacs-lisp/eldoc.el (eldoc-mode):
5884 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5885 minor mode behavior.
5886
aa42ab43
JL
58872011-10-19 Juri Linkov <juri@jurta.org>
5888
5889 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5890 the list of hard-coded chars with escape-glyph face.
5891
89400f1d
SM
58922011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5893
5894 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5895
305c07f6
MA
58962011-10-19 Michael Albinus <michael.albinus@gmx.de>
5897
5898 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5899 running process.
5900
13754b54
GM
59012011-10-19 Glenn Morris <rgm@gnu.org>
5902
5903 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5904 Ignore ignored files. (Bug#9726)
5905
06e21633
CY
59062011-10-19 Chong Yidong <cyd@gnu.org>
5907
5908 Doc fix for minor modes, stating that an omitted argument enables
5909 the mode unconditionally when called from Lisp.
5910
5911 * abbrev.el (abbrev-mode):
5912 * allout.el (allout-mode):
5913 * autoinsert.el (auto-insert-mode):
5914 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5915 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5916 (global-auto-revert-mode):
5917 * battery.el (display-battery-mode):
5918 * composite.el (global-auto-composition-mode)
5919 (auto-composition-mode):
5920 * delsel.el (delete-selection-mode):
5921 * desktop.el (desktop-save-mode):
5922 * dired-x.el (dired-omit-mode):
5923 * dirtrack.el (dirtrack-mode):
5924 * doc-view.el (doc-view-minor-mode):
5925 * double.el (double-mode):
5926 * electric.el (electric-indent-mode, electric-pair-mode):
5927 * emacs-lock.el (emacs-lock-mode):
5928 * epa-hook.el (auto-encryption-mode):
5929 * follow.el (follow-mode):
5930 * font-core.el (font-lock-mode):
5931 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5932 * help.el (temp-buffer-resize-mode):
5933 * hilit-chg.el (highlight-changes-mode)
5934 (highlight-changes-visible-mode):
5935 * hi-lock.el (hi-lock-mode):
5936 * hl-line.el (hl-line-mode, global-hl-line-mode):
5937 * icomplete.el (icomplete-mode):
5938 * ido.el (ido-everywhere):
5939 * image-file.el (auto-image-file-mode):
5940 * image-mode.el (image-minor-mode):
5941 * iswitchb.el (iswitchb-mode):
5942 * jka-cmpr-hook.el (auto-compression-mode):
5943 * linum.el (linum-mode):
5944 * longlines.el (longlines-mode):
5945 * master.el (master-mode):
5946 * mb-depth.el (minibuffer-depth-indicate-mode):
5947 * menu-bar.el (menu-bar-mode):
5948 * minibuf-eldef.el (minibuffer-electric-default-mode):
5949 * mouse-sel.el (mouse-sel-mode):
5950 * msb.el (msb-mode):
5951 * mwheel.el (mouse-wheel-mode):
5952 * outline.el (outline-minor-mode):
5953 * paren.el (show-paren-mode):
5954 * recentf.el (recentf-mode):
5955 * reveal.el (reveal-mode, global-reveal-mode):
5956 * rfn-eshadow.el (file-name-shadow-mode):
5957 * ruler-mode.el (ruler-mode):
5958 * savehist.el (savehist-mode):
5959 * scroll-all.el (scroll-all-mode):
5960 * scroll-bar.el (scroll-bar-mode):
5961 * server.el (server-mode):
5962 * shell.el (shell-dirtrack-mode):
5963 * simple.el (auto-fill-mode, transient-mark-mode)
5964 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5965 (line-number-mode, column-number-mode, size-indication-mode)
5966 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5967 * strokes.el (strokes-mode):
5968 * time.el (display-time-mode):
5969 * t-mouse.el (gpm-mouse-mode):
5970 * tool-bar.el (tool-bar-mode):
5971 * tooltip.el (tooltip-mode):
5972 * type-break.el (type-break-mode-line-message-mode)
5973 (type-break-query-mode):
5974 * view.el (view-mode):
5975 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5976 (global-whitespace-mode, global-whitespace-newline-mode):
5977 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5978
a3839de2
SM
5979 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5980 Fix autogenerated docstring.
06e21633 5981
5214e501
JL
59822011-10-19 Juri Linkov <juri@jurta.org>
5983
5984 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5985 by checking environment variables "DESKTOP_SESSION" and
5986 "XDG_CURRENT_DESKTOP". (Bug#9779)
5987
195f8db9
JL
59882011-10-19 Juri Linkov <juri@jurta.org>
5989
5990 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5991 (browse-url-chromium-program, browse-url-chromium-arguments):
5992 New defcustoms.
5993 (browse-url-default-browser): Check for `browse-url-chromium' and
5994 call `browse-url-chromium-program'.
5995 (browse-url-chromium): New command. (Bug#9779)
5996
343a34ff
JB
59972011-10-18 Juanma Barranquero <lekktu@gmail.com>
5998
5999 * facemenu.el (list-colors-duplicates): On Windows, detect more
6000 duplicates by assuming that only colors matching "^System" are
6001 special "system colors". (Bug#9722)
6002
6978a151
SM
60032011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6006 to distinguish the author from the committer.
6007
6a80b297
MA
60082011-10-18 Michael Albinus <michael.albinus@gmx.de>
6009
6010 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6011
b31a5677
JK
60122011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6013
6014 * international/mule.el (sgml-html-meta-auto-coding-function):
6015 Add support for detecting encoding in HTML5 specified only as
6016 <meta charset="UTF-8">. Implementation just makes http-equiv and
6017 content-type parts from HTML4 encoding string optional. (Bug#9716)
6018
80c6d77f
GM
60192011-10-18 Glenn Morris <rgm@gnu.org>
6020
6021 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6022
08b0fee8
CY
60232011-10-18 Chong Yidong <cyd@gnu.org>
6024
6025 * faces.el (cursor): Doc fix.
6026
67e729a5
CY
60272011-10-17 Chong Yidong <cyd@gnu.org>
6028
6029 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6030
343a34ff 60312011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6032
6033 * dirtrack.el (dirtrack): Support shell buffers with path
6034 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6035
0bc06380
TZ
60362011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6037
6038 * json.el: Bump version to 1.3 and note change in History.
6039 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6040
8b79f3e0
SM
60412011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6042
5a7c536b
SM
6043 * comint.el (comint-insert-input, comint-send-input)
6044 (comint-get-old-input-default, comint-backward-matching-input)
6045 (comint-next-prompt): Use nil instead of `input' for field property of
6046 past user input (bug#114).
6047
96a8a0df
SM
6048 * minibuffer.el (completion--replace): Inherit surrounding properties
6049 (bug#114).
6050 (minibuffer-complete-and-exit): Use it.
6051
8b79f3e0
SM
6052 * comint.el (comint--table-subvert): Quote the all-completions output
6053 (bug#9160).
6054
b8f7ff0d
MR
60552011-10-17 Martin Rudalics <rudalics@gmx.at>
6056
8b79f3e0 6057 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6058
b8f7ff0d 6059 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6060 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6061 entries and separate them from frame entries.
6062
c235b555
GM
60632011-10-15 Glenn Morris <rgm@gnu.org>
6064
6065 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6066 Doc fixes.
6067
6bbfa6e1
CY
60682011-10-15 Chong Yidong <cyd@stupidchicken.com>
6069
8b79f3e0
SM
6070 * net/network-stream.el (network-stream-open-starttls):
6071 Improve detection of failure due to lack of TLS support.
ec5c990d 6072
6bbfa6e1
CY
6073 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6074 putting the input text in front and in bold.
6075
98488977
SM
60762011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6077
3d1337be
SM
6078 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6079
ee0b45e4
SM
6080 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6081 empty buffer.
6082
98488977
SM
6083 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6084 unread-command-events rather than pushing yet-another event.
6085
186f4720
EZ
60862011-10-14 Eli Zaretskii <eliz@gnu.org>
6087
6088 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6089 the explanation of the possible choices. Make the options passed
6090 to completing-read shorter.
6091
8b7a997c
AM
60922011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6093
6094 * textmodes/flyspell.el (flyspell-large-region): Make sure
6095 extended character mode is used if defined (Bug#1339).
6096
12587bbb
EZ
60972011-10-13 Eli Zaretskii <eliz@gnu.org>
6098
6099 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6100 character info for LRE, LRO, RLE, and RLO characters by appending
6101 an invisible PDF.
12587bbb 6102
bad41229
SM
61032011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6106 even in case of error; add debug spec; simplify data flow.
6107 (with-timeout-handler): Remove.
6108
28dbc92f
MA
61092011-10-12 Michael Albinus <michael.albinus@gmx.de>
6110
6111 Fix Bug#6019, Bug#9315.
6112
6113 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6114 complete `buffer-file-name', the local file name part could look
6115 remotely (for example on VMS).
6116
6117 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6118 `tramp-run-real-handler'.
6119 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6120 already quoted by '"'.
6121
6122 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6123 Let `file-name-handler-alist' be nil, the local file name part
6124 could look remotely (for example on VMS).
6125
e1b0b23a
SM
61262011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6129 from here...
6130 (flyspell-post-command-hook): ...to here.
6131
a120bde9
SM
61322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6135 if not needed.
6136 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6137 using completion. Protect against "slow" callers.
6138 Remove the "message hack".
6139
7ce7717b
JL
61402011-10-11 Juri Linkov <juri@jurta.org>
6141
6142 * isearch.el (isearch-lazy-highlight-word): New variable.
6143 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6144 Use it. (Bug#9727)
6145
c02ee9d6
GM
61462011-10-11 Glenn Morris <rgm@gnu.org>
6147
6148 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6149 like f90-previous-statement does.
6150
93e616fd 61512011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6152
1f190e73 6153 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6154 only in interactive use, to avoid error.
6155
af7b6078
SM
61562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * minibuffer.el (completion-file-name-table): Fix last change,
6159 i.e. ignore normal errors but not the other ones.
6160
0563dae9
MR
61612011-10-10 Martin Rudalics <rudalics@gmx.at>
6162
6163 * window.el (special-display-buffer-names)
6164 (special-display-regexps): Remove some remnants of earlier
6165 changes from doc-strings.
366ca7f3
MR
6166 (quit-windows-on): New function.
6167
6168 * vc/vc.el (vc-revert, vc-rollback):
6169 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6170 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6171 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6172
49677495
MR
61732011-10-09 Martin Rudalics <rudalics@gmx.at>
6174
6175 * window.el (frame-auto-hide-function): Add version tag.
6176 (Bug#9699)
6177
56f2d1e1
MA
61782011-10-09 Michael Albinus <michael.albinus@gmx.de>
6179
6180 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6181 condition.
6182
112a6592
LL
61832011-10-09 Leo Liu <sdl.web@gmail.com>
6184
6185 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6186 (Bug#9701)
6187
0812589b
GM
61882011-10-08 Glenn Morris <rgm@gnu.org>
6189
6190 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6191 before the first code statement zero indent. (Bug#9690)
6192
b2b0776e
CY
61932011-10-08 Chong Yidong <cyd@stupidchicken.com>
6194
6195 * simple.el (count-words-region): Always count in the region.
6196 Report the number of lines and characters too.
6197 (count-words): New command, which counts in the buffer if the
6198 region is inactive, as count-words-region used to.
6199 (count-words--message): New function. Handle plurals.
6200 (count-lines-region): Make it an alias for count-words-region.
6201
6202 * bindings.el (esc-map): Replace count-lines-region with
6203 count-words-region.
6204
c557cd6b
MR
62052011-10-08 Martin Rudalics <rudalics@gmx.at>
6206
6207 * window.el (window--delete): Delete dedicated frame
6208 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6209 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6210
61a57ef4 62112011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6212
3a7d293b 6213 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6214
c3833279
CY
62152011-10-07 Chong Yidong <cyd@stupidchicken.com>
6216
6217 * bindings.el ([M-left],[M-right]): Bind to left-word and
6218 right-word respectively.
6219
21ce8245
GM
62202011-10-07 Glenn Morris <rgm@gnu.org>
6221
6222 * cus-start.el (debug-on-quit): Fix custom type.
6223
6d823bb2
LMI
62242011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225
0181e193
LMI
6226 * subr.el (define-key-after): Clarify that the function is not
6227 useful for non-menu keymaps.
6228
6d823bb2
LMI
6229 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6230
8e3459ce 62312011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6232
21ce8245 6233 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6234 in current minibuffer (Fix bug with recursive minibuffers).
6235
a1c2d21e
CY
62362011-10-06 Chong Yidong <cyd@stupidchicken.com>
6237
6238 * progmodes/gdb-mi.el (gdb): Doc fix.
6239
5a4cf282
MR
62402011-10-05 Martin Rudalics <rudalics@gmx.at>
6241
6242 * window.el (frame-auto-hide-function): New option replacing
6243 frame-auto-delete. Suggested by Stefan Monnier.
6244 (window--delete): Call frame-auto-hide-function instead of
6245 investigating frame-auto-delete.
c96111ea
MR
6246 (window-point-1, set-window-point-1): New functions.
6247 (window-in-direction, record-window-buffer, window-state-get-1)
6248 (display-buffer-record-window): Use window-point-1 instead of
6249 window-point.
6250 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6251
9854542e
SM
62522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6255
8943cfb0
GM
62562011-10-05 Glenn Morris <rgm@gnu.org>
6257
6258 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6259 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6260
647ab967
LL
62612011-10-05 Leo Liu <sdl.web@gmail.com>
6262
6263 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6264 works with buffer object.
6265
3ddfbced
SM
62662011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * mpc.el (mpc-tool-bar-map): Add labels.
6269
bdfa5dd2
GM
62702011-10-04 Glenn Morris <rgm@gnu.org>
6271
6272 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6273
0e2070b5
MR
62742011-10-04 Martin Rudalics <rudalics@gmx.at>
6275
6276 * window.el (window--delete): New function.
6277 (frame-auto-delete): Resuscitate option.
6278 (bury-buffer, replace-buffer-in-windows)
6279 (quit-window): Rewrite using window--delete.
6280 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6281 Pass display-buffer-mark-dedicated to window--display-buffer-2
6282 (Bug#9639).
6283
3dc61a09
SM
62842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6285
915a9b64
SM
6286 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6287 returns a list (bug#9554). Add remote file name completion.
6288 * comint.el (comint--table-subvert): Curry and get quote&unquote
6289 functions as arguments.
6290 (comint--complete-file-name-data): Adjust call accordingly.
6291 * pcomplete.el (pcomplete--table-subvert): Remove.
6292 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6293
3dc61a09
SM
6294 * minibuffer.el (completion-table-case-fold): Use currying.
6295 (completion--styles-type, completion--cycling-threshold-type):
6296 New constants.
6297 (completion-styles, completion-category-overrides)
6298 (completion-cycle-threshold): Use them.
6299 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6300 completion-table-case-fold.
6301
8ea0a993
SB
63022011-10-03 Stephen Berman <stephen.berman@gmx.net>
6303
6304 * minibuffer.el (completion-category-overrides): Fix type of styles
6305 and add more user friendly tags (bug#9660).
6306
8c24b7f6
SM
63072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6310 (mule-input-method-string): New widget.
6311 (default-input-method, language-info-custom-alist): Use it.
6312
428fe61a
SM
63132011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6314
32c1fffd
SM
6315 * pcomplete.el: Require comint.
6316 (pcomplete--common-suffix): Remove.
6317 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6318 (pcomplete--table-subvert): Sync with comint--table-subvert.
6319 (pcomplete--entries): Use comint-completion-file-name-table.
6320 * comint.el (comint-unquote-filename): Simplify.
6321 (comint-completion-file-name-table): New function (bug#9616).
6322 (comint--complete-file-name-data): Use it.
6323
428fe61a
SM
6324 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6325 (pcmpl-gnu-tar-buffer): Remove.
6326 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6327 around. Make sure pcomplete-suffix-list is only changed temporarily.
6328 Don't look inside the tar's file if it's too large.
428fe61a 6329
04c52e2f
CY
63302011-10-01 Chong Yidong <cyd@stupidchicken.com>
6331
ce3cefcc
CY
6332 * cus-edit.el (custom-mode-map):
6333 * epa.el (epa-key-list-mode-map):
6334 * man.el (Man-mode-map):
6335 * startup.el (splash-screen-keymap):
6336 * simple.el (special-mode-map): Use scroll-up-command and
6337 scroll-down-command.
6338
6339 * progmodes/idlw-help.el (idlwave-help-mode-map):
6340 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6341 * net/newst-plainview.el (newsticker-mode-map):
6342 * emulation/ws-mode.el (wordstar-mode-map):
6343 * emulation/vi.el (vi-com-map):
6344 * calc/calc-graph.el (calc-graph-show-dumb):
6345 * term/sun.el (terminal-init-sun):
6346 * term/ns-win.el (global-map):
6347 * progmodes/grep.el (grep-mode-map):
6348 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6349 * mail/rmail.el (rmail-mode-map):
6350 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6351
04c52e2f
CY
6352 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6353 custom-safe-themes as special.
6354
79adf8c8
JD
63552011-10-01 Julien Danjou <julien@danjou.info>
6356
6357 * notifications.el (notifications-notify): Fix docstring.
6358
63bd50d3
PS
63592011-10-01 Per Starbäck <per@starback.se>
6360
6361 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6362
199e4c7e
MR
63632011-09-30 Martin Rudalics <rudalics@gmx.at>
6364
6365 * startup.el (command-line-1): Fix last fix by inserting
6366 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6367 (Bug#9605) and (Bug#9636)
199e4c7e 6368
fe5f08dd
EZ
63692011-09-29 Eli Zaretskii <eliz@gnu.org>
6370
6371 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6372 window is hscrolled, move by logical lines. (Bug#9607)
6373 (line-move-visual): Update the doc string to the above effect.
6374
b5516bbd
MR
63752011-09-29 Martin Rudalics <rudalics@gmx.at>
6376
ccee00c0
MR
6377 * window.el (display-buffer-record-window): When WINDOW is the
6378 selected window use `point' instead of `window-point'. (Bug#9626)
6379
b5516bbd
MR
6380 * startup.el (command-line-1): Use insert-before-markers when
6381 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6382
b5516bbd
MR
6383 * help.el (help-window): Remove variable.
6384
52aa0014
GM
63852011-09-29 Glenn Morris <rgm@gnu.org>
6386
6387 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6388
df9a7357
JB
63892011-09-29 Juanma Barranquero <lekktu@gmail.com>
6390
6391 * descr-text.el (describe-char-categories): Accept category
6392 descriptions more than one line long.
6393
a8406c20
SM
63942011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6395
88d9610c
SM
6396 * simple.el (delete-trailing-whitespace): Fix last change.
6397
a5daf810
SM
6398 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6399 Don't confuse "y => 3" as the beginning of a `y' operation.
6400
a8406c20
SM
6401 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6402 object has more than 4 slots (bug#9613).
6403
a239d4e9
JB
64042011-09-28 Juanma Barranquero <lekktu@gmail.com>
6405
6406 * subr.el (with-output-to-temp-buffer):
6407 * net/quickurl.el (quickurl, quickurl-browse-url):
6408 Fix typos in docstrings.
6409
693fbdb6
EZ
64102011-09-27 Eli Zaretskii <eliz@gnu.org>
6411
6412 * minibuffer.el (completion-styles)
6413 (completion-category-overrides): Cross reference each other in doc
6414 strings.
6415
8b457e28
GM
64162011-09-27 Glenn Morris <rgm@gnu.org>
6417
6418 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6419 to split-string. (Bug#9606)
6420
85a16208
LMI
64212011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6422
6423 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6424 (bug#9615).
6425
502f9ebd
CY
64262011-09-27 Chong Yidong <cyd@stupidchicken.com>
6427
6428 * emacs-lisp/package.el (list-packages): Fix echo area message.
6429
7690bdea
LL
64302011-09-27 Leo Liu <sdl.web@gmail.com>
6431
6432 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6433
e2ee6f30
MA
64342011-09-25 Michael Albinus <michael.albinus@gmx.de>
6435
6436 * net/dbus.el (dbus-unregister-object): Don't release services for
6437 registered signals. (Bug#9581)
6438
f3f98342
TZ
64392011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6440
6441 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6442 function that picks between cfengine 2 and 3 support
6443 automatically. Update docs accordingly.
6444
dd7aa8dd
KH
64452011-09-22 Kenichi Handa <handa@m17n.org>
6446
6447 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6448 ZERO.
6449 (indian-itrans-v5-table-for-tamil): New variable.
6450 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6451
3f2b07f8
KM
64522011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6453
6454 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6455 that's true if the current command involved collapsing of text.
6456 It's reset to false at the beginning of the next command.
6457 (allout-post-command-business): Move the cursor to the beginning
6458 of entry if the cursor is hidden and collapsing activity just
6459 happened.
6460
371d6a61
CY
64612011-09-24 Chong Yidong <cyd@stupidchicken.com>
6462
6463 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6464 tracking (Bug#9541).
6465
2ac2721a
UJ
64662011-09-24 Ulf Jasper <ulf.jasper@web.de>
6467
6468 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6469 (newsticker-show-news): Automatically load html rendering package
6470 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6471 because w3m-fill-column is let-bound" and the error "Symbol's value
6472 as variable is void: w3m-fill-column".
2ac2721a 6473
fac7ae53
MA
64742011-09-24 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6477 Release services only if they are defined. (Bug#9581)
6478
e08b633b
RS
64792011-09-23 Richard Stallman <rms@gnu.org>
6480
e488d29c
RS
6481 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6482 distinguish start of paragraph from start of its text.
6483
19c38752
RS
6484 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6485
e08b633b
RS
6486 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6487 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6488 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6489
0a39f27e
AS
64902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6491
6492 * international/mule-diag.el (mule-diag): Insert a newline after
6493 each fontset description.
6494
db4e950d
SM
64952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * simple.el (delete-trailing-whitespace):
6498 Document last change; simplify.
6499
eca3f3ea
PW
65002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6501
d68e189a
PW
6502 * simple.el (delete-trailing-whitespace): Also delete
6503 extra newlines at the end of the buffer.
6504
eca3f3ea
PW
6505 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6506 (picture-newline): Use forward-line so as to ignore fields.
6507
01c157cc
SM
65082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * subr.el (with-wrapper-hook): Fix edebug spec.
6511
022de23e
LMI
65122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6513
6514 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6515 (bug#4538).
6516
91683089
MA
65172011-09-23 Michael Albinus <michael.albinus@gmx.de>
6518
eca3f3ea
PW
6519 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6520 Fix nasty bug using wrong cached values.
91683089 6521
5bdd6fa4
AM
65222011-09-23 Alan Mackenzie <acm@muc.de>
6523
6524 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6525
97adfb97
CY
65262011-09-23 Chong Yidong <cyd@stupidchicken.com>
6527
6528 * window.el (pop-to-buffer): Ensure right window is selected if we
6529 chose another frame.
6530
d4ef2b50
EZ
65312011-09-22 Eli Zaretskii <eliz@gnu.org>
6532
6533 * simple.el (what-cursor-position): Use get-char-property-change
6534 and next-single-char-property-change, to be able to show display
6535 properties that come from overlays as well as text properties.
6536
72258fe5
CY
65372011-09-22 Chong Yidong <cyd@stupidchicken.com>
6538
6539 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6540
6541 * cmuscheme.el (run-scheme, switch-to-scheme):
6542 * cus-edit.el (customize-group, custom-buffer-create)
6543 (customize-browse):
6544 * info.el (info):
6545 * shell.el (shell):
6546 * mail/sendmail.el (mail):
6547 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6548
8f098516
RS
65492011-09-22 Richard Stallman <rms@gnu.org>
6550
6551 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6552 move back only to line beg, don't move back over blank lines.
6553
e74f1bb6
MA
65542011-09-22 Michael Albinus <michael.albinus@gmx.de>
6555
6556 * files.el (copy-directory): Set directory attributes only in case
6557 they could be retrieved from the source directory. (Bug#9565)
6558
bfeef8b6
DK
65592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6560
6561 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6562 (hs-find-block-beginning, hs-hide-level-recursive):
6563 Ignore strings as well as comments. (Bug#9502)
6564
7e423bb8
AS
65652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6566
6567 * progmodes/sql.el (sql-comint-postgres):
6568 Convert port number to a string. (Bug#9566)
6569
b4d72fcf
MR
65702011-09-22 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (quit-window): Undedicate window when switching to
6573 previous buffer. Reported by Thierry Volpiatto
6574 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6575 (special-display-popup-frame): When popping up a new frame reset
6576 its previous buffers to nil. Simplify code.
b4d72fcf 6577
a7b88dc6
MA
65782011-09-21 Michael Albinus <michael.albinus@gmx.de>
6579
6580 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6581 and process filter, as done also in `shell-command'.
6582
cf4eacfd
MR
65832011-09-21 Martin Rudalics <rudalics@gmx.at>
6584
eca3f3ea 6585 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6586 Call set-window-start with NOFORCE argument t.
6587 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6588 (quit-window): Reword doc-string. Handle new format of
6589 quit-restore parameter. Don't delete window if it has a
6590 previous buffer we can show instead of the present one.
6591 (display-buffer-record-window): Rewrite using a new format for
6592 the quit-restore window parameter
6593 (special-display-popup-frame, display-buffer-same-window)
6594 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6595 (display-buffer-pop-up-window, display-buffer-use-some-window):
6596 Adapt symbol passed to display-buffer-record-window.
6597 * help.el (help-window-setup): Handle new format of quit-restore
6598 parameter.
6599
8d28cb95
SM
66002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6601
94ab793f
SM
6602 * faces.el (face-list): Fix docstring (bug#9564).
6603
8d28cb95
SM
6604 * window.el (display-buffer--action-function-custom-type):
6605 Don't include internal functions in the Custom interface.
6606
3820edeb
JL
66072011-09-20 Juri Linkov <juri@jurta.org>
6608
6609 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6610 (Info-forward-node, Info-backward-node, Info-next-preorder)
6611 (Info-last-preorder): Use it. (Bug#9528)
6612
5147931d
JL
66132011-09-20 Juri Linkov <juri@jurta.org>
6614
6615 * info.el (Info-last-preorder): Visit last menu item only when
6616 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6617
cf499a1a
JD
66182011-09-20 Julien Danjou <julien@danjou.info>
6619
6620 * password-cache.el (password-cache-remove): Remove entries even if the
6621 value is nil, so that password with a nil value (negative caching) is
6622 possible to invalidate.
6623
f84e2fe2
LM
66242011-09-20 Lawrence Mitchell <wence@gmx.li>
6625
6626 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6627 all whitespace around breakpoint. (Bug#9553)
6628 (f90-find-breakpoint): Only break at whitespace inside a comment.
6629
78054a46
SM
66302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * minibuffer.el (completion-file-name-table): Keep track of errors.
6633 (completion-table-with-predicate): Handle the case where pred1 is nil.
6634 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6635
345083b2
SM
66362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6637
e24e27be
SM
6638 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6639 (debugger-return-value): Signal an error if the debugging context does
6640 not await any return value.
6641
345083b2
SM
6642 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6643 * image-mode.el (image-toggle-display-text)
6644 (image-toggle-display-image): Stay away from evil `intangible'.
6645
08d355e3
LL
66462011-09-19 Leo Liu <sdl.web@gmail.com>
6647
6648 * replace.el (occur-revert-arguments): Make it permanent-local.
6649 (occur-mode): Don't call font-lock-defontify.
6650
f01da43f
CY
66512011-09-19 Chong Yidong <cyd@stupidchicken.com>
6652
6653 * net/ldap.el (ldap-search-internal): Don't push empty search
6654 result (Bug#9508).
6655
b6072fa6
SM
66562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6659
443d6696
MA
66602011-09-19 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6663 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6664
7cc6e154
JL
66652011-09-18 Juri Linkov <juri@jurta.org>
6666
6667 * buff-menu.el (Buffer-menu-mode-map):
6668 * dired.el (dired-mode-map):
6669 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6670 (lisp-interaction-mode-map):
6671 * emacs-lisp/package.el (package-menu-mode-map):
6672 * epa.el (epa-key-list-mode-map):
6673 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6674 (menu-bar-options-menu):
6675 * outline.el (outline-mode-menu-bar-map):
6676 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6677 * vc/vc-dir.el (vc-dir-menu-map):
6678 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6679 Capitalize non-function content words in menu item strings.
6680
6681 * dired.el (dired-mode-map): Add menu item for
6682 `image-dired-dired-toggle-marked-thumbs'.
6683
80302a81
JL
66842011-09-18 Juri Linkov <juri@jurta.org>
6685
6686 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6687 to `isearch-case-fold-search' and restore its original value
6688 after the `isearch-mode' call.
6689
46c5cf66
JL
66902011-09-18 Juri Linkov <juri@jurta.org>
6691
6692 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6693 because `zgrep' returns 1 for successful matches (bug#9226).
6694
d18b513b
JL
66952011-09-18 Juri Linkov <juri@jurta.org>
6696
6697 * info.el (Info-extract-menu-node-name): Check the second match
6698 for empty string (second test-case of bug#9528).
6699 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6700 intermediate nodes to the history (first test-case of bug#9528).
6701
72753f87
JL
67022011-09-18 Juri Linkov <juri@jurta.org>
6703
6704 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6705 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6706
c9384295
JL
67072011-09-18 Juri Linkov <juri@jurta.org>
6708
1154d12e
JB
6709 * info.el (Info-file-supports-index-cookies):
6710 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6711 outputs one more line for long file names (bug#4142).
c9384295 6712
d473dce8
CY
67132011-09-18 Chong Yidong <cyd@stupidchicken.com>
6714
6715 * newcomment.el (comment-normalize-vars): If prompting for
6716 comment-start, set comment-start-skip too (Bug#8424).
6717
2176854d
JB
67182011-09-18 Johan Bockgård <bojohan@gnu.org>
6719
6720 * icomplete.el: Fix previous fix of Bug#5849.
6721 (icomplete-mode): Don't set completion-show-inline-help.
6722 (icomplete-minibuffer-setup): Set completion-show-inline-help
6723 locally during icompletion.
6724
3aace4e4
CY
67252011-09-18 Chong Yidong <cyd@stupidchicken.com>
6726
c940224f
CY
6727 * woman.el (woman2-process-escapes): Don't delete unrecognized
6728 escapes (Bug#7843).
6729
3aace4e4
CY
6730 * files.el (inhibit-first-line-modes-regexps): Add image files.
6731 (hack-local-variables-prop-line): Return nil for malformed
6732 prop-lines (Bug#9044).
6733
710dec63
MA
67342011-09-18 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp.el (top): Don't require 'shell.
6737 (tramp-methods): Fix docstring.
6738 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6739 Return complete remote file name. Handle "smb" case.
6740 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6741 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6742
6743 * net/tramp-compat.el (top): Require 'shell.
6744
6745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6746 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6747 `tramp-current-host'.
6748 (tramp-get-remote-tmpdir): Remove.
6749
6750 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6751 `tramp-tmpdir' entries.
6752 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6753 (tramp-smb-handle-file-attributes): Ignore errors.
6754 (tramp-smb-wait-for-output): Check also for process end.
6755
5d5ac8ec
LMI
67562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
6758 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6759 when sending QUIT (bug#9312).
6760
8c0f49f0
CY
67612011-09-17 Chong Yidong <cyd@stupidchicken.com>
6762
6763 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6764 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6765 occur-mode-display-occurrence.
6766 (occur-edit-mode): Add usage message.
6767 (occur-cease-edit): New command.
6768 (occur-after-change-function): Use text properties to find the
6769 position of the prefix text.
6770 (occur-engine): Set stickiness of prefix text properties.
6771
8f1383f7
GM
67722011-09-17 Glenn Morris <rgm@gnu.org>
6773
6774 * progmodes/etags.el (complete-tag):
6775 Fix call to completion-in-region. (Bug#9526)
6776
744ba0e3
JL
67772011-09-17 Juri Linkov <juri@jurta.org>
6778
6779 * textmodes/ispell.el (ispell-word): Add to the error message
6780 the word, ispell program name and current dictionary (bug#9121).
6781 (ispell-tex-arg-end): Capitalize "error" in the error message.
6782
d9bbf400
AS
67832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6784
6785 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6786 check. (Bug#4251)
6787
8da11505
JL
67882011-09-17 Juri Linkov <juri@jurta.org>
6789
6790 * window.el (window-safe-min-height, window-safe-min-width):
6791 Fix typos (followup to bug#9522).
6792
a91adc7e
SJ
67932011-09-17 Sven Joachim <svenjoac@gmx.de>
6794
6795 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6796
064f328a
EZ
67972011-09-16 Eli Zaretskii <eliz@gnu.org>
6798
6799 * simple.el (line-move): If goal-column is set, move by logical
6800 lines, not by display lines. (Bug#971)
6801 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6802 to reflect the above change.
6803
e69df516
SM
68042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * image.el (imagemagick-register-types): Use regexp-opt.
6807
cbb0f9ab
CY
68082011-09-15 Chong Yidong <cyd@stupidchicken.com>
6809
6810 * window.el (display-buffer-base-action): Rename from
6811 display-buffer-default-action. Make default value empty.
6812 (display-buffer-overriding-action): Convert to defvar.
6813 (display-buffer-fallback-action): New var.
6814
25322144
CY
68152011-09-15 Chong Yidong <cyd@stupidchicken.com>
6816
6817 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6818 declaration.
6819 (package--add-to-archive-contents): If there is a duplicate entry
6820 with an older version, remove it.
6821 (package-menu-mark-delete, package-menu-mark-install)
6822 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6823 (package-menu-mark-obsolete-for-deletion):
6824 Use package-menu-get-status instead of a regexp search.
25322144
CY
6825 (package-menu-get-status): Use tabulated-list-entry.
6826 (package-menu-mark-upgrades): New command.
d770725a 6827 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6828 (package-menu-execute): Do installation before deletion.
6829 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6830 instead of checking major-mode.
6831 (package-menu--find-upgrades): New function.
6832
7520339c
LMI
68332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6834
6835 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6836 passwords in the log buffer.
65a046c4
LMI
6837 (smtpmail-process-filter): Update the process marker so that the
6838 "broken by peer" status message is inserted in the right place.
7520339c 6839
d3c30954
SM
68402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6841
3fe48822
SM
6842 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6843 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6844 bibtex-completion-at-point-function.
6845 (bibtex-completion-at-point-function): Use them.
6846
1b8b3954
SM
6847 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6848
d3c30954
SM
6849 * mpc.el (mpc-constraints-tag-lookup): New function.
6850 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6851 also to browser "album|playlist".
6852
72779976
JL
68532011-09-14 Juri Linkov <juri@jurta.org>
6854
6855 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6856 (isearch-edit-string): Use length of `isearch-string' when
6857 `isearch-fail-pos' returns nil.
6858 (isearch-message): Remove duplicate code and call
6859 `isearch-fail-pos' with arg `t'.
6860
a0bf2bcd
CY
68612011-09-14 Chong Yidong <cyd@stupidchicken.com>
6862
17bb0a2d
CY
6863 * replace.el (occur-mode-goto-occurrence): Don't force using other
6864 window (Bug#9499).
6865
a0bf2bcd
CY
6866 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6867
f678e0b6
MR
68682011-09-14 Martin Rudalics <rudalics@gmx.at>
6869
6870 * window.el (display-buffer-window): Remove.
6871 (display-buffer-record-window): Use help-setup window parameter
6872 instead of variable display-buffer-window.
6873 (display-buffer-function, special-display-buffer-names)
6874 (special-display-function): Mention help-setup parameter instead
6875 of display-buffer-window in doc-string.
d3c30954
SM
6876 * help.el (help-window-setup): New argument help-window.
6877 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6878 Reword some messages.
6879 (with-help-window): Pass window used for displaying the buffer
6880 to help-window-setup. Don't set display-buffer-window.
6881
8e39b2e8
GM
68822011-09-13 Glenn Morris <rgm@gnu.org>
6883
6884 * emacs-lisp/debug.el (debugger-make-xrefs):
6885 Preserve point. (Bug#9462)
6886
85e9c04b
CY
68872011-09-13 Chong Yidong <cyd@stupidchicken.com>
6888
6889 * window.el (window-deletable-p): Use next-frame.
6890
1b36ed6a
MR
68912011-09-13 Martin Rudalics <rudalics@gmx.at>
6892
6893 * window.el (window-auto-delete): Remove.
6894 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6895 dedication and previous buffers.
1b36ed6a
MR
6896 (switch-to-prev-buffer): Don't delete window.
6897 (delete-windows-on): Delete a window's frame if and only if the
6898 window is dedicated.
6899 (replace-buffer-in-windows): Delete buffer's window or frame if
6900 and only if window is dedicated.
6901 (quit-window): Handle quit-restore as before last change.
4d61f28d 6902 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6903
ef8ef9fb
CY
69042011-09-13 Chong Yidong <cyd@stupidchicken.com>
6905
6906 * window.el (window-deletable-p): Never delete the last frame on a
6907 given terminal.
6908
b2cba41e
GM
69092011-09-13 Glenn Morris <rgm@gnu.org>
6910
6911 * help.el (describe-key-briefly): Copy previous standard-output change.
6912
51553db6 69132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6914
6915 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6916
b7556719
GM
69172011-09-13 Glenn Morris <rgm@gnu.org>
6918
6919 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6920 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6921
64b51947
CY
69222011-09-12 Chong Yidong <cyd@stupidchicken.com>
6923
6924 * dired-aux.el (dired-mark-read-string): Don't return default
6925 value on empty input (Bug#9361).
6926 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6927 Omit initial minibuffer contents.
6928 (dired-do-chmod): Signal an error on empty input.
6929 (dired-mark-read-string): Don't return default on empty input.
6930
6931 * files.el (file-modes-symbolic-to-number): Doc fix.
6932
393a301e
SM
69332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * international/mule-cmds.el (ucs-completions): Remove.
6936 (read-char-by-name): Use complete-with-action instead; add metadata.
6937
fa5660f9
CY
69382011-09-11 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * window.el (display-buffer--action-function-custom-type)
6941 (display-buffer--action-custom-type): New vars.
6942 (display-buffer-alist, display-buffer-default-action)
6943 (display-buffer-overriding-action): Add defcustom types.
6944
4a592f66
CY
6945 * frame.el (delete-other-frames): Doc fix (Bug#276).
6946
73d56dbd
LMI
69472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6948
6949 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6950
37ac18a3
CY
69512011-09-11 Chong Yidong <cyd@stupidchicken.com>
6952
6953 Change modes that used same-window-* vars to use switch-to-buffer.
6954
6955 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6956 Use switch-to-buffer.
6957
6958 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6959 (customize-browse, custom-buffer-create-other-window):
6960 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6961
6962 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6963 (Info-prev, Info-up, Info-speedbar-goto-node)
6964 (info-display-manual): Use switch-to-buffer.
6965 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6966
6967 * mail/sendmail.el (mail): Use switch-to-buffer.
6968 (mail-recover): Use switch-to-buffer-other-window.
6969
6970 * cmuscheme.el (run-scheme, switch-to-scheme):
6971 * ielm.el (ielm):
6972 * shell.el (shell):
6973 * net/rlogin.el (rlogin):
6974 * net/telnet.el (telnet, rsh):
6975 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6976
10195bd6
AS
69772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6980
b322f63a
LMI
69812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6982
39d7fed6
LMI
6983 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6984 so don't mention it (bug#9301).
ba5a81f1 6985 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6986
ee0e9f11
LMI
6987 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6988 match `x', `w32' and `ns', like the manual says (bug#9029).
6989
0b1c89c1 6990 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6991 (process-kill-buffer-query-function): Mention the buffer name in
6992 the query.
0b1c89c1 6993
77549ea8
LMI
6994 * image-mode.el (image-next-line): The line parameter is mandatory
6995 (bug#9258).
6996
803ef892
LMI
6997 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6998 which can be useful (bug#9301).
6999
12980837
LMI
7000 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7001
91054f8f
LMI
7002 * subr.el (match-string): Mention that the current buffer should
7003 be the same as the search was done in (bug#9282).
7004
b322f63a
LMI
7005 * facemenu.el: Disable the remove-* commands if the mark isn't
7006 active (bug#9162).
7007
3199b96f
CY
70082011-09-10 Chong Yidong <cyd@stupidchicken.com>
7009
7010 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7011 of display-buffer.
7012 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7013
7014 * replace.el (occur-mode-goto-occurrence)
7015 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7016 and display-buffer.
7017
7018 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7019 display-buffer.
7020
7021 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7022 special-display and same-window variables.
7023 (mail-other-window): Use switch-to-buffer-other-window.
7024 (mail-other-frame): USe switch-to-buffer-other-frame.
7025
393a301e
SM
7026 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7027 Use display-buffer-other-frame.
3199b96f
CY
7028 (gdb-display-gdb-buffer): Use pop-to-buffer.
7029
7030 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7031
7032 * progmodes/python.el: Don't set same-window-buffer-names.
7033
7034 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7035
7036 * window.el (display-buffer-alist): Add *Python*.
7037
8319e0bf
CY
70382011-09-10 Chong Yidong <cyd@stupidchicken.com>
7039
7040 * window.el (display-buffer-alist): Add entry for buffers
7041 previously handled same-window-*.
7042 (display-buffer-alist, display-buffer-default-action)
7043 (display-buffer-overriding-action): Mark as risky.
7044 (display-buffer-alist): Document action function changes.
7045 (display-buffer--same-window-action)
7046 (display-buffer--other-frame-action): New variables.
7047 (switch-to-buffer, display-buffer-other-frame): Use them.
7048 (display-buffer): Rename reuse-frame entry to reusable-frames.
7049 (display-buffer-reuse-selected-window): Function deleted.
7050 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7051 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7052 (display-buffer-special): New function.
7053 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7054 display-buffer-reuse-or-pop-window. Split off special-display
7055 part into display-buffer-special.
7056 (display-buffer-use-some-window): Don't perform any special
7057 pop-up-frames handling.
7058 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7059 (display-buffer--maybe-same-window): Rename from
0d3ff375 7060 display-buffer-maybe-same-window.
8319e0bf 7061
919a69aa
CY
7062 * info.el: Don't set same-window-regexps.
7063 (info-setup): New function.
7064 (info-other-window, info): Call it.
7065
7066 * cus-edit.el: Don't set same-window-regexps.
7067 (customize-group): New argument.
7068 (customize-group-other-window): Use it.
7069 (customize-face, customize-face-other-window): Likewise.
7070 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7071
8319e0bf
CY
7072 * net/rlogin.el:
7073 * net/telnet.el:
7074 * progmodes/gud.el: Don't set same-window-regexps.
7075
7076 * cmuscheme.el:
7077 * ielm.el:
7078 * shell.el:
7079 * mail/sendmail.el:
7080 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7081
25173000
JL
70822011-09-10 Juri Linkov <juri@jurta.org>
7083
7084 * isearch.el (isearch-edit-string): Remove obsolete mention of
7085 `C-w' (`isearch-yank-word-or-char') from docstring.
7086 (isearch-query-replace): Fix typo in docstring (bug#9466).
7087
056e44ef
JL
70882011-09-10 Juri Linkov <juri@jurta.org>
7089
7090 * paren.el (show-paren-function): Don't show escaped parens.
7091 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7092
c3760c17
EZ
70932011-09-10 Eli Zaretskii <eliz@gnu.org>
7094
7095 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7096 (mm-default-file-encoding): Remove autoload forms, they are
7097 replaced with autoload cookies in mml.el and mm-encode.el.
7098 (mail-add-attachment): New command.
7099 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7100 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7101 the doc string.
7102 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7103
fece895e
RT
71042011-09-10 Reuben Thomas <rrt@sc3d.org>
7105
e69df516
SM
7106 * simple.el (count-words-region): Use buffer if there's no region
7107 (bug#9429).
fece895e 7108
5e68ce4a
JL
71092011-09-09 Juri Linkov <juri@jurta.org>
7110
7111 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7112 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7113 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7114
0a6b9622
AM
71152011-09-09 Alan Mackenzie <acm@muc.de>
7116
7117 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7118 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7119
14a29deb
EZ
71202011-09-09 Eli Zaretskii <eliz@gnu.org>
7121
7122 Fix for Savannah bug#9392.
7123 * simple.el (mail-encode-mml): New defvar.
7124
7125 * mail/rmail.el (mail-encode-mml): Add a defvar.
7126 (rmail-enable-mime-composing): Default to t.
7127 (rmail-forward): Use MIME method of forwarding only if both
7128 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7129 Set mail-encode-mml non-nil if the MIME method was used.
7130
7131 * mail/sendmail.el (mml-to-mime): Add autoload form.
7132 (mail-encode-mml): Add a defvar.
7133 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7134 to nil.
7135 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7136 message through mml-to-mime, and reset mail-encode-mml to nil.
7137
28c45130
GM
71382011-09-09 Glenn Morris <rgm@gnu.org>
7139
7140 * woman.el (woman-if-body): When processing an .el block,
7141 do not delete the next .el block as well. (Bug#9447)
69f4b618 7142 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7143
9b1c252e
MR
71442011-09-08 Martin Rudalics <rudalics@gmx.at>
7145
7146 * window.el (window-deletable-p): Make sure window is live before
7147 invoking window-prev-buffers.
7148
567457e3
LL
71492011-09-08 Leo Liu <sdl.web@gmail.com>
7150
7151 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7152
97f05794
JL
71532011-09-08 Juri Linkov <juri@jurta.org>
7154
7155 * progmodes/compile.el (compilation-environment): Make it
7156 a defcustom (bug#8340).
7157
8b0874b5
MR
71582011-09-08 Martin Rudalics <rudalics@gmx.at>
7159
7160 * window.el (frame-auto-delete): Rename to window-auto-delete.
7161 Make it control auto-deletion of windows and/or frames.
7162 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7163 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7164 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7165 Rewrite handling of case when window/frame can be deleted.
7166 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7167 argument t. (Bug#9456)
8b0874b5 7168
4feb6e73
CY
71692011-09-07 Chong Yidong <cyd@stupidchicken.com>
7170
7171 * help-mode.el (help-mode): Restore autoload.
7172
91ab9c13
JL
71732011-09-07 Juri Linkov <juri@jurta.org>
7174
7175 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7176 `compilation-environment'. Set buffer-local
7177 `compilation-environment' to `thisenv' later after (funcall mode).
7178 (Bug#8340)
7179
7180 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7181 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7182 instead of replacing its value. (Bug#8340)
7183
0527e251
JL
71842011-09-07 Juri Linkov <juri@jurta.org>
7185
7186 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7187 based on text properties put by `grep-filter' instead of matching
7188 escape sequences.
7189 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7190 to the value of `grep-error-screen-columns' (bug#9438).
7191
249f792c
JL
71922011-09-07 Juri Linkov <juri@jurta.org>
7193
7194 * simple.el (next-error-highlight, next-error-highlight-no-select):
7195 Doc fix (bug#9432).
7196
ff7271b9
OT
71972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7198
7199 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7200 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7201
183fc730
LL
72022011-09-07 Leo Liu <sdl.web@gmail.com>
7203
7204 * net/rcirc.el (rcirc-mode): Conditionally initialize
7205 rcirc-input-ring.
7206
77694924
SM
72072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * emacs-lisp/find-func.el (find-function-C-source): Only set
7210 find-function-C-source-directory after checking that we found a source
7211 file there (bug#9440).
7212
d809b8eb
AM
72132011-09-06 Alan Mackenzie <acm@muc.de>
7214
7215 * isearch.el (isearch-other-meta-char): Wherever a key list is
7216 unread, "unread" the prefix arg, too. This fixes bug #8901.
7217
453de99f
OG
72182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7219
7220 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7221
90439906
JL
72222011-09-05 Juri Linkov <juri@jurta.org>
7223
7224 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7225
f62bd846
JL
72262011-09-05 Juri Linkov <juri@jurta.org>
7227
7228 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7229 keeping point where processing of grep matches begins, and
7230 continue to delete remaining escape sequences from the same point.
7231 (grep-filter): Make leading zero optional in "0?1;31m" because
7232 git-grep emits "\033[1;31m" escape sequences unlike expected
7233 "\033[01;31m" as GNU Grep does (bug#9408).
7234 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7235
045820ec
JL
72362011-09-05 Juri Linkov <juri@jurta.org>
7237
7238 * subr.el (y-or-n-p): Capitalize "yes".
7239
f5e29b9b
MA
72402011-09-04 Michael Albinus <michael.albinus@gmx.de>
7241
7242 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7243 `tramp-cache-unload-hook' where appropriate.
7244 (tramp-methods): Rename `tramp-remote-sh' to
7245 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7246 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7247
7248 * net/tramp-sh.el (top): Don't require 'shell.
7249 (tramp-methods): Add `tramp-remote-shell' and
7250 `tramp-remote-shell-args' entries.
7251 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7252 (tramp-sh-handle-shell-command): Remove.
7253 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7254 Use `tramp-remote-shell'.
7255
2784c434
CY
72562011-09-03 Chong Yidong <cyd@stupidchicken.com>
7257
393a301e 7258 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7259 (sendmail-query-once): Save directly to send-mail-function.
7260 Update message-send-mail-function too.
7261
7262 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7263
464cdf56
CS
72642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7265
7266 * progmodes/python.el (python-mode-map): Use correct function to
7267 start python interpreter from menu-bar (as reported by Geert
7268 Kloosterman).
7269 (inferior-python-mode-map): Fix typo.
393a301e 7270 (python-shell-map): Remove.
464cdf56 7271
d37e5c87
DD
72722011-09-03 Deniz Dogan <deniz@dogan.se>
7273
7274 * net/rcirc.el (rcirc-print): Simplify code for
7275 rcirc-scroll-show-maximum-output. There is no need to walk
7276 through all windows to find the right one.
7277
f3ada0ee
CS
72782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7279
7280 * help.el (help-return-method): Doc fix.
7281
1f3c99ca
MR
72822011-09-03 Martin Rudalics <rudalics@gmx.at>
7283
7284 * window.el (window-deletable-p): Don't return a non-nil value
7285 when there's a buffer that was shown in the window before.
7286 (Bug#9419)
393a301e
SM
7287 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7288 Set window's previous buffers to nil.
1f3c99ca 7289
a3cf097f
EZ
72902011-09-03 Eli Zaretskii <eliz@gnu.org>
7291
7292 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7293 newline before and after the tag line, so it doesn't interfere
7294 with determining the paragraph direction of bidirectional text.
7295
3d03de90
LL
72962011-09-03 Leo Liu <sdl.web@gmail.com>
7297
7298 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7299
c3313451
CY
73002011-09-02 Chong Yidong <cyd@stupidchicken.com>
7301
393a301e 7302 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7303 (pop-to-buffer): Change interactive spec. Pass second argument
7304 directly to display-buffer.
7305 (display-buffer): Fix interactive spec. Use functionp to
7306 distinguish between a function and a list of functions.
7307
7308 * abbrev.el (edit-abbrevs):
7309 * arc-mode.el (archive-extract):
7310 * autoinsert.el (auto-insert):
7311 * bookmark.el (bookmark-bmenu-list):
7312 * files.el (find-file):
7313 * view.el (view-buffer):
7314 * progmodes/compile.el (compilation-goto-locus):
7315 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7316
89894cd8
CY
73172011-09-02 Chong Yidong <cyd@stupidchicken.com>
7318
7319 * window.el (display-buffer-alist): Doc fix.
7320 (display-buffer): Add docstring. Don't treat
7321 display-buffer-default specially.
7322 (display-buffer-reuse-selected-window)
7323 (display-buffer-same-window, display-buffer-maybe-same-window)
7324 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7325 (display-buffer-pop-up-window)
7326 (display-buffer-reuse-or-pop-window)
7327 (display-buffer-use-some-window): New functions.
7328 (display-buffer-default-action): Use them.
393a301e 7329 (display-buffer-default): Delete.
89894cd8
CY
7330 (pop-to-buffer-1): Fix choice of actions.
7331
ae0bc9fb
SM
73322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * minibuffer.el (completion--insert-strings): Don't get confused by
7335 completion entries that end with an LF char.
7336
e9d90883
EZ
73372011-09-01 Eli Zaretskii <eliz@gnu.org>
7338
7339 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7340
437014c8
CY
73412011-09-01 Chong Yidong <cyd@stupidchicken.com>
7342
7343 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7344 (display-buffer-same-window, display-buffer-other-window):
7345 New functions.
437014c8
CY
7346 (pop-to-buffer-1): New function. Use the above.
7347 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7348 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7349
7350 * view.el (view-buffer-other-window, view-buffer-other-frame):
7351 Just use pop-to-buffer.
7352
a5e063d5
TV
73532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7354
7355 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7356
793d32bb
WH
73572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7358
7359 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7360
d65e4c15
RS
73612011-08-31 Richard Stallman <rms@gnu.org>
7362
7363 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7364 of the separation of rmail-view-buffer from rmail-buffer.
7365 If you say no to "replace original", the decrypt is in the
7366 view buffer. If you say yes, the decrypt goes into the
7367 rmail buffer also.
7368
f818cd2a
MR
73692011-08-31 Martin Rudalics <rudalics@gmx.at>
7370
7371 * window.el (display-buffer-window): Rewrite doc-string.
7372 (display-buffer-record-window): New function.
7373 (display-buffer-macro-specifiers)
7374 (display-buffer-even-window-sizes, display-buffer-set-height)
7375 (display-buffer-set-width, display-buffer-in-window)
7376 (display-buffer-reuse-window, display-buffer-split-specifiers)
7377 (display-buffer-side-specifiers, display-buffer-split-window-1)
7378 (display-buffer-split-window, display-buffer-split-atom-window)
7379 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7380 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7381 (display-buffer-other-window-means-other-frame)
7382 (display-buffer-normalize-special)
7383 (display-buffer-normalize-default)
7384 (display-buffer-normalize-argument)
7385 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7386 (display-buffer-normalize-specifiers, display-buffer-frame)
7387 (display-buffer-same-window, display-buffer-same-frame)
7388 (display-buffer-other-window)
7389 (display-buffer-same-frame-other-window)
7390 (display-buffer-other-frame, pop-to-buffer-same-window)
7391 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7392 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7393 (switch-to-buffer-same-frame)
7394 (switch-to-buffer-other-window-same-frame)
7395 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7396 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7397 (display-buffer-alist-set): Remove.
7398 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7399 (special-display-regexps, special-display-function):
7400 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7401 parameter.
7402 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7403 (special-display-frame-alist, special-display-popup-frame)
7404 (same-window-buffer-names, same-window-regexps, same-window-p)
7405 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7406 (split-window-preferred-function, split-height-threshold)
7407 (split-width-threshold, window-splittable-p)
7408 (split-window-sensibly, window--try-to-split-window)
7409 (window--frame-usable-p, even-window-heights)
7410 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7411 (window--display-buffer-2, display-buffer-other-frame):
7412 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7413 (display-buffer-default, display-buffer-assq-regexp): New functions.
7414 (display-buffer-alist): Rewrite doc-string.
7415 (display-buffer-default-action)
7416 (display-buffer-overriding-action): New variables.
7417 (display-buffer, switch-to-buffer): Rewrite.
7418 (pop-to-buffer): Restore Emacs 23 behavior but use
7419 window-normalize-buffer-to-display.
7420 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7421 Restore Emacs 23 behavior but use
7422 window-normalize-buffer-to-switch-to.
7423 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7424 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7425 Rewrite using Emacs 23 options.
f818cd2a 7426
5bc3b51d
MA
74272011-08-31 Michael Albinus <michael.albinus@gmx.de>
7428
7429 * net/tramp.el (tramp-root-regexp): Remove.
7430 (tramp-completion-file-name-regexp-unified)
7431 (tramp-completion-file-name-regexp-separate)
7432 (tramp-completion-file-name-regexp-url): Don't use leading volume
7433 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7434 (tramp-drop-volume-letter): Simplify definition.
7435 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7436
b1a4f8e1
SM
74372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7440 (bug#9356).
7441
5664fa7b
RT
74422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7443
b1a4f8e1 7444 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7445
9a45d6c3
JL
74462011-08-29 Juri Linkov <juri@jurta.org>
7447
7448 * isearch.el (isearch-done): Don't display message "Mark saved"
7449 when arg `edit' is non-nil to prevent its flicker in the echo area.
7450
fb87e0fb
CY
74512011-08-28 Chong Yidong <cyd@stupidchicken.com>
7452
7453 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7454 obsolete packages for deletion.
7455
09ac1c2a
CS
74562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7457
7458 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7459 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7460 view-mode from help-mode.
7461 (help-xref-override-view-map): Remove.
7462 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7463 view-mode is not used anymore.
7464
7a1ff57f
CY
74652011-08-28 Chong Yidong <cyd@stupidchicken.com>
7466
7467 * server.el (server-port): Doc fix.
7468
b9696605
CY
7469 * cus-theme.el (custom-theme-choose-mode): Inherit from
7470 special-mode (Bug#9124).
7471 (custom-theme-choose-mode-map): Add special-mode to parent.
7472
ef8cdf8c
AM
74732011-08-28 Alan Mackenzie <acm@muc.de>
7474
7475 * progmodes/cc-fonts.el
7476 (c-make-font-lock-BO-decl-search-function): New function.
7477 (c-basic-matchers-after - "Fontify the clauses after various
7478 keywords"): Extract the three keyword lists for the 3 erroneous
7479 constructs from the list of four, and use the new function above
7480 in place of an old one.
7481
27de4e20
DD
74822011-08-28 Deniz Dogan <deniz@dogan.se>
7483
7484 * net/rcirc.el (rcirc-insert-prev-input)
7485 (rcirc-insert-next-input): Remove unused argument.
7486
356a3681
SM
74872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7490
3fc9b218
AM
74912011-08-27 Alan Mackenzie <acm@muc.de>
7492
7493 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7494 handle function pointer parameters properly.
7495
538a061c
MR
74962011-08-27 Martin Rudalics <rudalics@gmx.at>
7497
7498 * window.el (display-buffer-reuse-window): Fix case where
7499 selected window was reused with non-nil OTHER-WINDOW argument.
7500 (Bug#9381)
7501
35b1c40c
DD
75022011-08-27 Deniz Dogan <deniz@dogan.se>
7503
7504 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7505 oftc's NickServ messages.
7506
2f6a3e79
GM
75072011-08-27 Glenn Morris <rgm@gnu.org>
7508
7509 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7510
7254299e
CY
75112011-08-26 Chong Yidong <cyd@stupidchicken.com>
7512
7513 * emacs-lisp/package.el (package-install): Call package-initialize
7514 if called interactively.
7515
f8ccf167
LL
75162011-08-26 Leo Liu <sdl.web@gmail.com>
7517
7518 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7519
3e8cd5ce
JL
75202011-08-25 Juri Linkov <juri@jurta.org>
7521
7522 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7523 `search-whitespace-regexp' (bug#9364).
7524
93eb7113
JL
75252011-08-25 Juri Linkov <juri@jurta.org>
7526
7527 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7528 `regexp-search-ring' to their global values to protect from
7529 updating by `read-from-minibuffer' (bug#9185).
7530
f65d1611
JL
75312011-08-25 Juri Linkov <juri@jurta.org>
7532
7533 * textmodes/ispell.el (ispell-command-loop): Add newline
7534 at the end of the "Use option `i'..." line.
7535
f1cf7a31
JL
75362011-08-25 Juri Linkov <juri@jurta.org>
7537
7538 * battery.el (display-battery-mode): If `battery-status-function'
7539 or `battery-mode-line-format' is nil, display the message and set
7540 `display-battery-mode' to nil (bug#9363).
7541
0c95fcf7
EZ
75422011-08-25 Eli Zaretskii <eliz@gnu.org>
7543
7544 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7545 bidi-string-mark-left-to-right; they are unnecessary now.
7546
a2ebe600
DD
75472011-08-25 Deniz Dogan <deniz@dogan.se>
7548
7549 * net/quickurl.el: Documentation typo fixes.
7550
e4ed06f1
CY
75512011-08-25 Chong Yidong <cyd@stupidchicken.com>
7552
7553 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7554
e5f1c99e
GM
75552011-08-25 Glenn Morris <rgm@gnu.org>
7556
b2948976
GM
7557 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7558
e5f1c99e
GM
7559 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7560 (smtpmail-via-smtp): Handle nil response from smtp.
7561
f22f4808
JL
75622011-08-24 Juri Linkov <juri@jurta.org>
7563
7564 * proced.el (proced-marked): Inherit from `error' instead of
7565 `font-lock-warning-face'.
7566
7567 * ibuffer.el (ibuffer-marked-face): Change default face from
7568 `font-lock-warning-face' to `warning'.
7569 (ibuffer-deletion-face): Change default face from
7570 `font-lock-type-face' to `error'.
7571
7572 * battery.el (battery-update): Use the face `error' instead of
7573 `font-lock-warning-face' (bug#6117).
7574
6a93965e
JL
75752011-08-24 Juri Linkov <juri@jurta.org>
7576
7577 * faces.el (success): Change face color from "Green3" to
7578 "ForestGreen" on light background (bug#9353).
7579
1ed43b09
CY
75802011-08-24 Chong Yidong <cyd@stupidchicken.com>
7581
5664fa7b
RT
7582 * window.el (quit-window): Rename from quit-restore-window.
7583 Use same arglist as old quit-window.
1ed43b09
CY
7584 (frame-auto-delete): Doc fix.
7585
7586 * view.el (view-mode-exit): Use quit-window.
7587
11dcdbb2
JL
75882011-08-24 Juri Linkov <juri@jurta.org>
7589
7590 * isearch.el (isearch-ring-adjust1): Start visiting previous
7591 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7592 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7593 for empty search string (when the last search string is reused
7594 automatically) to adjust the isearch ring to the last element and
7595 prepare the correct index for further M-p commands (bug#9185).
7596
de62b4df
KH
75972011-08-24 Kenichi Handa <handa@m17n.org>
7598
7599 * international/ucs-normalize.el: If decomposition property of
7600 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7601 nil.
7602 (nfd, nfkd): Likewise.
7603
963b492b
SM
76042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7607 from process filters aren't reliably transmitted to the surrounding
7608 accept-process-output.
7609 (mpc-proc-check): New function.
7610 (mpc-proc-sync): Use it (bug#8293)
7611
93b6b5e1
SM
76122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7615 Add compatibility functions (bug#9313).
7616
bca633fb
EZ
76172011-08-23 Eli Zaretskii <eliz@gnu.org>
7618
b177498a
EZ
7619 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7620
6df6ae42 7621 * international/uni-bidi.el: Regenerate.
bca633fb 7622
0902a04e
KH
76232011-08-23 Kenichi Handa <handa@m17n.org>
7624
7625 * international/charprop.el:
7626 * international/uni-bidi.el:
7627 * international/uni-category.el:
7628 * international/uni-combining.el:
7629 * international/uni-comment.el:
7630 * international/uni-decimal.el:
7631 * international/uni-decomposition.el:
7632 * international/uni-digit.el:
7633 * international/uni-lowercase.el:
7634 * international/uni-mirrored.el:
7635 * international/uni-name.el:
7636 * international/uni-numeric.el:
7637 * international/uni-old-name.el:
7638 * international/uni-titlecase.el:
7639 * international/uni-uppercase.el: Regenerate.
7640
3bbf23bc
MR
76412011-08-23 Martin Rudalics <rudalics@gmx.at>
7642
7643 * help.el (help-window-setup): Fix message displayed when other
7644 window is reused. (Bug#9341)
7645
b3fd59bd
SM
76462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7647
1802e444
SM
7648 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7649 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7650
b3fd59bd
SM
7651 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7652 Mark obsolete.
7653 * shell.el (shell-parse-pcomplete-arguments): New function.
7654 (shell-completion-vars): Use it instead (bug#9160).
7655
4eb61348
SM
76562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7657
867cab74
SM
7658 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7659 strings and comments (bug#9333).
7660
4eb61348
SM
7661 * emacs-lisp/debug.el (debug-arglist): New function.
7662 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7663 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7664
262a1439
JL
76652011-08-22 Juri Linkov <juri@jurta.org>
7666
56ee679c
JL
7667 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7668 Revert regexp that highlights output switches to its old
7669 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7670
262a1439
JL
7671 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7672 to check for empty output (bug#9226).
7673
f13f86fb
CY
76742011-08-22 Chong Yidong <cyd@stupidchicken.com>
7675
7676 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7677 symbol-constituent as the default, as that stops font-lock from
7678 working properly (Bug#8843).
7679
c65c9622
LMI
76802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
7682 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7683 `coding-system-for-*' around the process open call to avoid
7684 auth-source side effects.
e7f2c178 7685 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7686 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7687 probe hangs.
c65c9622 7688
23a8a5ab
CY
76892011-08-21 Chong Yidong <cyd@stupidchicken.com>
7690
ff98b2dd
CY
7691 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7692
23a8a5ab
CY
7693 * emacs-lisp/find-func.el (find-function-noselect): New arg
7694 lisp-only.
7695
7696 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7697 signal an error for built-in functions (Bug#6664).
7698
f5e3c598
LMI
76992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7700
7701 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7702 (smtpmail-try-auth-methods): Use it.
7703
a3f2468a
CY
77042011-08-21 Chong Yidong <cyd@stupidchicken.com>
7705
2c34e8da
CY
7706 * font-lock.el (font-lock-fontify-region)
7707 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7708 (font-lock-default-unfontify-buffer)
7709 (font-lock-default-fontify-region)
7710 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7711
b3fd59bd
SM
7712 * progmodes/compile.el (compilation-error-properties):
7713 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7714 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7715 `ant' regexp.
ee31aabc 7716
a3f2468a
CY
7717 * net/browse-url.el (browse-url-firefox): Don't call
7718 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7719
8e999f70
GM
77202011-08-20 Glenn Morris <rgm@gnu.org>
7721
c21a496a
GM
7722 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7723
59ee0542
GM
7724 * tutorial.el (tutorial--default-keys): Update some default bindings.
7725
8e999f70
GM
7726 * files.el (hack-local-variables): Fully ignore case for "mode:".
7727
e3715033
AM
77282011-08-20 Alan Mackenzie <acm@muc.de>
7729
7730 Resolve invalid use of a regexp in regexp-opt.
7731
4d61f28d
JB
7732 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7733 detection for a java annotation.
e3715033 7734
4d61f28d 7735 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7736 detection for a java annotation.
7737
4d61f28d
JB
7738 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7739 handling for java.
e3715033
AM
7740 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7741
04ed2e9c
CY
77422011-08-20 Chong Yidong <cyd@stupidchicken.com>
7743
7744 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7745 (Bug#9274).
7746
826cee64
AM
77472011-08-20 Alan Mackenzie <acm@muc.de>
7748
58179cce 7749 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7750 such a construct. Mainly for when jit-lock etc. starts a chunk
7751 here.
7752
58179cce 7753 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7754 variable.
58179cce 7755 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7756 c-make-font-lock-search-function.
7757 (c-make-font-lock-search-function): Use the above function.
7758 (c-make-font-lock-context-search-function): New function.
7759 (c-cpp-matchers): Enhance the preprocessor expression case with
7760 the above function
7761 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7762 which takes an expression.
7763
7764 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7765
13009bd8
MR
77662011-08-20 Martin Rudalics <rudalics@gmx.at>
7767
7768 * window.el (display-buffer-reuse-window)
7769 (display-buffer-pop-up-window): Don't reuse or split a side
7770 window.
7771
9234ff7f
GM
77722011-08-19 Glenn Morris <rgm@gnu.org>
7773
7774 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7775 Downcase "Mode:". (Bug#9331)
9234ff7f 7776
f635daa1
CY
77772011-08-18 Chong Yidong <cyd@stupidchicken.com>
7778
7779 * international/characters.el: Add L and R categories.
7780
7781 * subr.el (bidi-string-mark-left-to-right): Rename from
7782 string-mark-left-to-right. Use category search.
7783
7784 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7785
bc987f8b
JL
77862011-08-18 Juri Linkov <juri@jurta.org>
7787
7788 * faces.el (error, warning, success): New faces with definitions
7789 copied from old default values of `font-lock-warning-face',
7790 `compilation-warning', `compilation-info' (bug#6117).
7791
7792 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7793
7794 * progmodes/compile.el (compilation-error): Inherit from `error'.
7795 (compilation-warning): Inherit from `warning'.
7796 (compilation-info): Inherit from `success'.
7797
7798 * dired.el (dired-marked): Inherit from `warning'.
7799 (dired-flagged): Inherit from `error'.
7800
57173b96
LMI
78012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
3e79eb87
LMI
7803 * mail/smtpmail.el (auth-source): Require to avoid problems with
7804 binding variables (bug#9298). Also clean up some unused
7805 autoloads.
7806
b3fd59bd
SM
7807 * net/network-stream.el (network-stream-open-starttls):
7808 Support using starttls.el without using gnutls-cli.
57173b96 7809
02b404de
JL
78102011-08-17 Juri Linkov <juri@jurta.org>
7811
7812 * progmodes/grep.el (rgrep): Handle the case when
7813 `grep-find-command' is a cons cell (bug#9278).
7814
8c9177f2
MR
78152011-08-17 Martin Rudalics <rudalics@gmx.at>
7816
7817 * window.el (display-buffer-pop-up-frame): Run frame creation
7818 function with BUFFER current (as special-display-popup-frame
7819 does). Reported by Drew Adams.
7820
3644a0ab
DU
78212011-08-17 Daiki Ueno <ueno@unixuser.org>
7822
7823 * epa-mail.el: Simplify GnuPG group expansion using
7824 epg-expand-group.
7825 (epa-mail-group-alist, epa-mail-group-modtime)
7826 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7827 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7828 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7829 Remove.
7830
5e617bc2 78312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7832
7833 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7834
9c4aeabf
AM
78352011-08-16 Alan Mackenzie <acm@muc.de>
7836
7837 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7838 Correct, to avoid the inside of macros.
7839
3a99bf64
RS
78402011-08-16 Richard Stallman <rms@gnu.org>
7841
04963aa8
RS
7842 * epa-mail.el: Handle GnuPG group definitions.
7843 (epa-mail-group-alist, epa-mail-group-modtime)
7844 (epa-mail-gnupg-conf-file): New variables.
7845 (epa-mail-parse-groups, epa-mail-sync-groups)
7846 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7847 (epa-mail-expand-recipients): New functions.
7848 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7849
177549d0
RS
7850 * mail/rmail.el (rmail-epa-decrypt): New command.
7851
fe38beef
RS
7852 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7853 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7854 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7855 (epa-decrypt-armor-in-region): Make error message clearer.
7856
934eacb9
SM
78572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7860 and "a2b" to "ab" for `prefix'.
7861
d024fb4e
CY
78622011-08-14 Chong Yidong <cyd@stupidchicken.com>
7863
7864 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7865 filter groups.
de148fee
CY
7866 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7867 Fourquet (Bug#8804).
d024fb4e 7868
62f1ca49
JB
78692011-08-12 Juanma Barranquero <lekktu@gmail.com>
7870
7871 * startup.el (argi): Declare as global variable (bug#9275).
7872
9ccaaa4b
CY
78732011-08-12 Chong Yidong <cyd@stupidchicken.com>
7874
7875 * subr.el (string-mark-left-to-right): Search the entire string
7876 for RTL script, not just the terminating character. Doc fix.
7877
a3dae87a
SM
78782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7879
6cd18349
SM
7880 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7881 New function.
7882 (js--regexp-literal, js-syntax-propertize-function): Remove.
7883 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7884 (js-mode-map): Don't rebind electric keys.
7885 (js-insert-and-indent): Remove.
7886 (js-mode): Setup electric-layout and electric-indent instead.
7887
a3dae87a
SM
7888 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7889
9d5cb631
DU
78902011-08-12 Daiki Ueno <ueno@unixuser.org>
7891
7892 * epa.el (epa-progress-callback-function): Fix the logic of
7893 displaying progress.
7894 * epa-file.el (epa-file-insert-file-contents): Make progress
7895 display more user-friendly.
7896 (epa-file-write-region): Ditto.
7897
3e26a4a2
CY
78982011-08-10 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * subr.el (string-mark-left-to-right): New function.
7901
7902 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7903 Use string-mark-left-to-right.
7904 (list-buffers-noselect): Caller changed.
7905
a3dae87a
SM
7906 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7907 Use string-mark-left-to-right.
3e26a4a2
CY
7908 (tabulated-list-print): Recenter after moving point.
7909
ac8cf6e6
JL
79102011-08-10 Juri Linkov <juri@jurta.org>
7911
7912 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7913 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7914 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7915
8d96c9a4
CY
79162011-08-09 Chong Yidong <cyd@stupidchicken.com>
7917
7918 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7919 (Bug#7554).
7920
7be1c708 79212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7922
7923 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7924 character. (Bug#6594)
7925
37e11a63
CY
79262011-08-08 Chong Yidong <cyd@stupidchicken.com>
7927
839dde57
CY
7928 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7929 (image-dired--with-db-file): New macro.
7930 (image-dired-write-tags, image-dired-remove-tag)
7931 (image-dired-create-gallery-lists, image-dired-write-comments)
7932 (image-dired-get-comment, image-dired-mark-tagged-files)
7933 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7934 (image-dired-gallery-generate): Use insert-file-contents.
7935
37e11a63
CY
7936 * time.el (display-time-world-list, display-time-world-display):
7937 * time-stamp.el (time-stamp-string):
7938 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7939 set-time-zone-rule (Bug#7337).
7940
0b4946c4
DU
79412011-08-08 Daiki Ueno <ueno@unixuser.org>
7942
7943 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7944 (epg-error-to-string, epg-errors-to-string): New function.
7945 (epg-wait-for-completion): Reverse errors list.
7946 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7947 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7948 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7949 (epg-sign-keys, epg-generate-key-from-file)
7950 (epg-generate-key-from-string): Format errors by using
7951 epg-errors-to-string (bug#9255).
7952 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7953
75bfc667
JL
79542011-08-07 Juri Linkov <juri@jurta.org>
7955
7956 * faces.el (list-faces-display): Remove extra angle bracket
7957 from `help-mode-map'.
7958
7959 * info.el (Info-history-toc-nodes): Doc fix.
7960
7961 * longlines.el (longlines-mode): Doc fix.
7962
673e08bb
SM
79632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7964
4640dd88
SM
7965 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7966 of statements and in a few more cases (bug#9183).
7967
673e08bb
SM
7968 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7969 New functions.
7970 (cl-transform-lambda): Use them (bug#9239).
7971
89b3f019
MR
79722011-08-05 Martin Rudalics <rudalics@gmx.at>
7973
7974 * window.el (display-buffer-same-window)
7975 (display-buffer-same-frame, display-buffer-other-window)
7976 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7977 (pop-to-buffer-other-window)
7978 (pop-to-buffer-same-frame-other-window)
7979 (pop-to-buffer-other-frame): Make them defuns.
7980 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7981
640c8776
SM
79822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * subr.el (make-composed-keymap): Move from C. Change calling
7985 convention, and improve docstring to bring attention to a subtle point.
7986 * minibuffer.el (completing-read-default): Adjust accordingly.
7987
63648a95
MA
79882011-08-03 Michael Albinus <michael.albinus@gmx.de>
7989
7990 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7991 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7992
7993 * net/trampver.el: Update release number.
7994
b796c9b7
SM
79952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7998 "in" (bug#9190).
7999
2239d7d5
LMI
80002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
e07dd7c3
LMI
8002 * mail/sendmail.el (sendmail-query-once): Restore the current
8003 buffer after querying (bug#9074).
8004
0e6a2bd7
LMI
8005 * dired.el (dired-flagged): Use different faces for marked and
8006 flagged files (bug#6117).
8007
ce887515
LMI
8008 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8009 (bug#4433).
8010
92f2affc
LMI
8011 * ido.el (ido-mode): Switch off the message if called
8012 non-interactively.
8013
57d5aff0
LMI
8014 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8015 before 587, since it appears that that's more likely to work for
8016 more people.
8017
98cd6c18 8018 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8019 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8020 exist.
8021
b96dec83
LMI
8022 * info.el: Remove the `Info-beginning-of-buffer' function
8023 (bug#8325).
8024
b796c9b7
SM
8025 * net/network-stream.el (network-stream-open-starttls):
8026 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8027
d90e2ea0
MR
80282011-08-01 Martin Rudalics <rudalics@gmx.at>
8029
8030 * window.el (display-buffer-in-window): Don't set dedicated status
8031 of window here (Bug#9215).
8032 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8033 (display-buffer-pop-up-side-window)
b796c9b7 8034 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8035
cca09170
SM
80362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8039 before binding generated-autoload-file.
8040
027b979c
DD
80412011-08-01 Deniz Dogan <deniz@dogan.se>
8042
8043 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8044
3c7ee4f3
MA
80452011-07-30 Michael Albinus <michael.albinus@gmx.de>
8046
8047 Sync with Tramp 2.2.2.
8048
8049 * net/trampver.el: Update release number.
8050
2cc8e51a
JL
80512011-07-30 Juri Linkov <juri@jurta.org>
8052
8053 * dired-aux.el (dired-touch-initial): Remove function.
8054 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8055 current time, and `default' to the last modification time of the
8056 current marked file (bug#6887).
8057
a514d856
JM
80582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8059
8060 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8061 numeric argument to read-number (bug#9163).
a514d856 8062
8a7eddd7
MA
80632011-07-27 Michael Albinus <michael.albinus@gmx.de>
8064
8065 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8066 connection process, it could be nil.
8067
1ddd96f5
LL
80682011-07-27 Leo Liu <sdl.web@gmail.com>
8069
8070 Simplify url handling in rcirc-mode.
8071
8072 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8073 (rcirc-browse-url-at-mouse): Remove.
8074 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8075
b248a85d
AM
80762011-07-26 Alan Mackenzie <acm@muc.de>
8077
8078 Fontify bitfield declarations properly.
8079
8080 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8081 (c-symbol-chars): Now exported as a lang variable.
8082 (c-not-primitive-type-keywords): New lang variable.
8083
8084 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8085 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8086 parsed as a bitfield declaration.
b248a85d 8087
b796c9b7
SM
8088 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8089 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8090 (c-punctuation-in): New function.
8091 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8092 declarations properly.
8093
68575ab0
UJ
80942011-07-26 Ulf Jasper <ulf.jasper@web.de>
8095
8096 * calendar/icalendar.el (icalendar--all-events): Take care of
8097 multiple vcalendars in a single file.
b796c9b7 8098 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8099
0f0a88b9
DD
81002011-07-25 Deniz Dogan <deniz@dogan.se>
8101
8102 * image.el (insert-image): Clarifying docstring.
8103
0b3f36df
MA
81042011-07-24 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8107 `tramp-send-command-and-check' if there is no error.
8108 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8109
a9901f61
AM
81102011-07-22 Alan Mackenzie <acm@muc.de>
8111
8112 Prevent cc-langs.elc being loaded at run time.
8113
8114 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8115 cc-langs.
8116
4d61f28d 8117 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8118 "(require 'cc-langs)". Quote a form so it will evaluate at
8119 (cc-mode's) compilation time.
8120
11d074b2
MA
81212011-07-22 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8124 loading. (Bug#9114)
8125
938b94c8
MR
81262011-07-21 Martin Rudalics <rudalics@gmx.at>
8127
8128 * window.el (display-buffer-pop-up-window)
8129 (display-buffer-pop-up-side-window)
8130 (display-buffer-in-side-window): Call display-buffer-set-height
8131 and display-buffer-set-width after setting the new window's
b796c9b7 8132 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8133
bfa4f190
SS
81342011-07-20 Sam Steingold <sds@gnu.org>
8135
8136 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8137 (etags-tags-included-tables): Call `convert-standard-filename' on
8138 the file names contained in TAGS so that windows Emacs can handle
8139 TAGS files created by cygwin ctags.
8140
8ca42262
LMI
81412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8144 which apparently didn't work.
8145
5db2afd2 81462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8147
5db2afd2
RW
8148 * proced.el (proced-send-signal): For *Marked Processes* buffer
8149 put point at beginning of buffer.
8150
92e15d10
SB
81512011-07-19 Stephen Berman <stephen.berman@gmx.net>
8152
8153 * proced.el (proced-format): Make header lines align with the text
8154 (bug#1779).
8155
1bfd59e5
LMI
81562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8157
8158 * view.el (view-buffer): Allow running in `special' modes if we're
8159 visiting a file (bug#8615).
8160
f5aae37c
MR
81612011-07-19 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8164 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8165 New functions.
f5aae37c
MR
8166 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8167 more accurately.
8168
bf2c1571
AM
81692011-07-18 Alan Mackenzie <acm@muc.de>
8170
8171 Fontify declarators properly when, e.g., a jit-lock chunk begins
8172 inside a declaration.
8173
8174 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8175
b796c9b7
SM
8176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8177 New function.
bf2c1571
AM
8178 (c-complex-decl-matchers): Insert reference to
8179 c-font-lock-enclosing-decls.
8180
8181 * progmodes/cc-engine.el (c-backward-single-comment):
8182 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8183 to nil around calls to (forward-comment -1).
8184
4e190b80
LMI
81852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8186
12dc863d
LMI
8187 * image.el (put-image): Doc typo fix.
8188
a762e966
LMI
8189 * progmodes/etags.el (tags-search): Doc typo fix.
8190
4e190b80
LMI
8191 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8192 password if we get errors 550 to 554.
8193
f019fb21
LMI
81942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
b796c9b7 8196 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8197
81746738
LMI
8198 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8199 indentation character (bug#6380).
8200
3ee3a1b5
LMI
8201 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8202
c82f64de
LMI
8203 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8204 to clarify what the problem is (bug#4291).
8205
f019fb21
LMI
8206 * simple.el (current-kill): Clarify what
8207 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8208 (auto-fill-mode): Document `auto-fill-function' in relation to
8209 `auto-fill-mode' (bug#2470).
f019fb21 8210
0794775d
LM
82112011-07-16 Lawrence Mitchell <wence@gmx.li>
8212
8213 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8214 method if slot is read-only (bug#9035).
8215
be39b8cc
MR
82162011-07-16 Martin Rudalics <rudalics@gmx.at>
8217
b796c9b7 8218 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8219 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8220 selected before, see discussion of (Bug#8615), (Bug#6954).
8221 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8222
6ccf7859
GM
82232011-07-15 Glenn Morris <rgm@gnu.org>
8224
8225 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8226 Respect help-form.
6ccf7859 8227
87e86684
LM
82282011-07-09 Lawrence Mitchell <wence@gmx.li>
8229
8230 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8231 (gnutls-negotiate): Use it.
8232
d6066239
LMI
82332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234
b796c9b7
SM
8235 * net/gnutls.el (gnutls-negotiate):
8236 Upcase `gnutls-algorithm-priority'.
d6066239 8237
bd23ebc0
GM
82382011-07-15 Glenn Morris <rgm@gnu.org>
8239
c65bca65
GM
8240 * jka-compr.el (jka-compr-verbose): Move from here...
8241 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8242 Add missing :version tag.
8243 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8244
478615cc
LMI
82452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8246
7b41decb
LMI
8247 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8248 (gnutls-negotiate): Use it.
8249
dbc44fcd
LMI
8250 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8251
06789f97
LMI
8252 * info.el (Info-beginning-of-buffer): New command.
8253 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8254 announcing `b' as the key (bug#8325).
ab896c37 8255 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8256
c39da690
LMI
8257 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8258
3aa5f34b
LMI
8259 * international/mule-cmds.el
8260 (describe-specified-language-support): Make the error message
8261 clearer (bug#8905).
8262
4bf0979f
LMI
8263 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8264
478615cc
LMI
8265 * isearch.el (isearch-barrier): Add a doc string, since it's
8266 mentioned in a function doc string (bug#8678).
8267
75c68aa1
MR
82682011-07-15 Martin Rudalics <rudalics@gmx.at>
8269
8270 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8271 buffer argument (Bug#9083) and self-identifying label argument.
8272
a7c33da2
GM
82732011-07-15 Glenn Morris <rgm@gnu.org>
8274
8275 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8276
2f5c6024
LMI
82772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8278
8279 * man.el (Man-fontify-manpage): Fix message when formatting the
8280 man page (bug#7929).
8281
0bb23927 82822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8283
8284 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8285 argument LRM; if non-nil, append an invisible LRM character to the
8286 buffer name.
8287 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8288 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8289 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8290 paragraph direction.
cce4b0a7 8291
621ef9ab
LMI
82922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293
d1583c48
LMI
8294 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8295 the man page name (bug#7929).
8296
6a57fb5f
LMI
8297 * image.el (put-image): Mention the `put-image' overlay property
8298 (bug#7834).
8299
d7956b14
LMI
8300 * scroll-bar.el (set-scroll-bar-mode): Mention that
8301 `scroll-bar-mode' lists the values (bug#7772).
8302
5b2d4a66
LMI
8303 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8304 command (bug#7729).
8305
7509a874
LMI
8306 * rect.el (apply-on-rectangle): Return the point after the last
8307 operation.
8308 (string-rectangle): Go to the point after the last operation
8309 (bug#7522).
8310
4fe74b19
LMI
8311 * printing.el (pr-toggle-region): Clarify the documentation
8312 slightly (bug#7493).
8313
b796c9b7
SM
8314 * time.el (display-time-update):
8315 Allow `display-time-mail-function' to return nil (bug#7158).
8316 Fix suggested by Detlev Zundel.
ab283561 8317
fc233c9d
LMI
8318 * vc/diff.el (diff): Clarify the order the file names are read
8319 (bug#7111).
8320
43f5740b
LMI
8321 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8322 the doc string (bug#7015).
8323
f2182a76
LMI
8324 * font-lock.el (font-lock-maximum-decoration): Mention what
8325 numeric levels mean (bug#6935).
8326
621ef9ab
LMI
8327 * startup.el (initial-buffer-choice): Don't mention the `none'
8328 selection, which is against policy.
8329
adc47434
MR
83302011-07-14 Martin Rudalics <rudalics@gmx.at>
8331
b796c9b7
SM
8332 * window.el (display-buffer-normalize-special):
8333 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8334
7e5bfb8f
EZ
83352011-07-14 Eli Zaretskii <eliz@gnu.org>
8336
8337 * subr.el (version<, version<=, version=): Mention "-CVS" and
8338 "-12345" alpha version numbers.
8339
27fa387a
CY
83402011-07-14 Chong Yidong <cyd@stupidchicken.com>
8341
8342 * bindings.el: Add advertised binding for set-mark-command
8343 (Bug#5772).
8344
8bdfa064
CY
83452011-07-14 Chong Yidong <cyd@stupidchicken.com>
8346
8347 * bindings.el (mode-line-other-buffer):
8348 * bookmark.el (bookmark-bmenu-2-window):
8349 * bs.el (bs-cycle-next, bs-cycle-previous):
8350 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8351 switch-to-buffer.
8352
8353 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8354 Delete.
8bdfa064 8355
5eba16a3
JB
83562011-07-14 Juanma Barranquero <lekktu@gmail.com>
8357
8358 * follow.el (follow-debug-message, follow-redisplay):
8359 * jka-cmpr-hook.el (with-auto-compression-mode):
8360 Fix typos in docstrings.
8361
15853710
LMI
83622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8363
a28e4607
LMI
8364 * subr.el (with-silent-modifications): Clarify somewhat what the
8365 macro inhibits (bug#6525).
8366
15853710
LMI
8367 * simple.el (eval-expression): Note what it does if called
8368 interactively (bug#6495).
8369
bee0fcef
CY
83702011-07-13 Chong Yidong <cyd@stupidchicken.com>
8371
b796c9b7
SM
8372 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8373 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8374
8375 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8376 Remove switch-to-buffer.
8377
58274504
LMI
83782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379
bd2fcc8d
LMI
8380 * files.el (make-directory): Clarify that an error will be raised
8381 if there's an error (bug#6397).
8382
0f04b32c
LMI
8383 * startup.el (initial-buffer-choice): Add `none' as a choice
8384 (bug#6234).
8385
465c5fc8
LMI
8386 * subr.el (add-hook): Clarify section about buffer-local hooks
8387 (bug#6218).
8388
58274504
LMI
8389 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8390
bead9a43
JB
83912011-07-13 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * tabify.el (untabify): Preserve the current column so that point
8394 doesn't move (bug#6032).
8395
3af98a7b
LMI
83962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
b796c9b7
SM
8398 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8399 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8400
6240145a
GM
84012011-07-13 Glenn Morris <rgm@gnu.org>
8402
8403 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8404 (dired-insert-directory): Give a message the first time
8405 if ls is found not to support --dired.
8406
1d8c2ccc
LMI
84072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408
8409 * simple.el (toggle-truncate-lines): Clarify what is toggled
8410 (bug#5580). Text by Drew Adams.
8411
5fc4038e
CY
84122011-07-13 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * simple.el (blink-matching-open): Make the error message from the
8415 last change less verbose.
8416
bf6012e5
DN
84172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8418
8419 * font-lock.el (font-lock-comment-face): Use the high contrast
8420 "yellow" color for font-lock-comment-face on low color terminals
8421 using a dark background color (bug#4221).
8422
343c3b5a
LMI
84232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
7e9505c5
LMI
8425 * dired.el (dired-insert-set-properties): Make the doc string
8426 reflect what it does now (bug#5325).
8427
c26fdcf5
LMI
8428 * simple.el (blink-matching-open): Say that we were unable to find
8429 the match within the limit, if we're limited (bug#5122).
8430
bb388cc5
LMI
8431 * international/mule-cmds.el (prefer-coding-system): Add an
8432 example (bug#4869).
8433
343c3b5a
LMI
8434 * progmodes/etags.el (tags-search): Document `file-list-form'
8435 (bug#4731).
8436
2a517d45
LM
84372011-07-13 Lawrence Mitchell <wence@gmx.li>
8438
8439 * net/browse-url.el (browse-url-default-browser)
8440 (browse-url-browser-function): Make the default browser choice a
8441 bit more logical (bug#4300). Also clean up the doc string.
8442
b6c78ef2
JB
84432011-07-13 Juanma Barranquero <lekktu@gmail.com>
8444
8445 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8446 binary endings (bug#4440).
8447
1c4dd947
LMI
84482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449
a2014063
LMI
8450 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8451 which can be pretty annoying (bug#8971).
8452
9c9c2d88
LMI
8453 * jka-compr.el (jka-compr-verbose): New variable, and use
8454 throughout (bug#8971).
8455
1c4dd947
LMI
8456 * info.el (Info-find-file): Fall back on the installation
8457 directory if we can't find the info node anywhere else.
8458
a1c9f41b
SO
84592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8460
8461 * vc/vc.el (vc-revert-file):
8462 Don't set file time-stamp in the past. (Bug#5181)
8463
536f3d36
LMI
84642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8465
7152b011
LMI
8466 * files.el (after-find-file): Give a better error message when
8467 trying to find a symlink that points to a file that doesn't exist
8468 (bug#4398).
8469
536f3d36
LMI
8470 * progmodes/cc-vars.el: Remove (probably) misleading comment
8471 (bug#4396).
8472
460c0fba
JB
84732011-07-12 Johan Bockgård <bojohan@gnu.org>
8474
8475 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8476
7a6bda45
CY
84772011-07-12 Chong Yidong <cyd@stupidchicken.com>
8478
8479 * mouse-sel.el: Hack restoring functionality, while keeping
8480 compatibility with 2010-07-03 changes to mouse selection.
8481 (mouse-sel-primary-overlay): New var.
8482 (mouse-sel-selection-alist): Use it.
8483 (mouse-sel-mode): Doc fix; remove points that are default features
8484 of mouse.el.
8485
c79598ef
JB
84862011-07-12 Johan Bockgård <bojohan@gnu.org>
8487
8488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8489 Fix previous fix (bug#2490).
8490
ff8be6ef
RW
84912011-07-12 Roland Winkler <winkler@gnu.org>
8492
b796c9b7
SM
8493 * textmodes/bibtex.el (bibtex-initialize):
8494 Use pop-to-buffer-same-window.
ff8be6ef
RW
8495 (bibtex-search-entries): Fix interactive call.
8496
296ba3ee
LMI
84972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498
f5242a02 8499 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8500 Fontise bytecomp Error lines more correctly (bug#2490).
8501 Fix suggested by Johan Bockgård.
f5242a02 8502
296ba3ee
LMI
8503 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8504
8505 * dired-x.el (dired-guess-default): Use `delete-dups'.
8506
f69fd0d2
CY
85072011-07-12 Chong Yidong <cyd@stupidchicken.com>
8508
8509 * dired.el (dired-mark-prompt):
8510 * dired-aux.el (dired-read-shell-command): Doc fix.
8511
eab5dc07
LMI
85122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513
b796c9b7
SM
8514 * mail/sendmail.el (sendmail-query-once):
8515 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8516 emacs -Q.
8517
8518 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8519
eab5dc07
LMI
8520 * cus-edit.el (custom-file): Take an optional no-error variable.
8521 (customize-save-variable): Set the variable, and give a warning if
8522 running under "emacs -q".
8523
a1e65d42
JB
85242011-07-11 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * loadhist.el (unload-feature-special-hooks):
8527 Add `auto-coding-functions', `fill-nobreak-predicate' and
8528 `find-directory-functions' (bug#5327).
8529
1d52da10
LMI
85302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
be958f1d
LMI
8532 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8533
5bedb26c
LMI
8534 * cus-edit.el (custom-guess-name-alist): -alist variables should
8535 use the `alist' type (bug#3120). Suggested by Drew Adams.
8536
1d52da10
LMI
8537 * printing.el: Add documentation to all the `pr-toggle-' commands.
8538
cd394be1 85392011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8540
8541 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8542 backends where it makes sense (bug#2623).
8543
dcc88d8a
LMI
85442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
c3de9feb
LMI
8546 * dired-x.el (dired-guess-default): Remove duplicate shell command
8547 entries (bug#2028).
8a93078b 8548 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8549 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8550
dcc88d8a
LMI
8551 * subr.el (remove-duplicates): New conveniency function.
8552
505e3645
LMI
85532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8554
8555 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8556 (bug#1526).
8557
85582011-07-10 Martin Rudalics <rudalics@gmx.at>
8559
8560 * window.el (display-buffer-normalize-default): Don't invert
8561 meaning of even-window-heights. Reported by Eli Zaretskii
8562 <eliz@gnu.org>.
8563
455e4fa1
BR
85642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8565
8566 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8567
8e0bc3e9
CY
85682011-07-10 Chong Yidong <cyd@stupidchicken.com>
8569
8570 * window.el (display-buffer): Fix arguments to
8571 display-buffer-reuse-window in last change.
8572
fa7c3228
CY
8573 * faces.el (link): Use a less saturated blue on light backgrounds.
8574
8575 * startup.el (fancy-startup-text, fancy-about-text)
8576 (fancy-startup-tail): Use font-lock faces, for background safety.
8577
c0a7f300
BN
85782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8579
b796c9b7
SM
8580 * emulation/viper-cmd.el (viper-change-state-to-vi):
8581 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8582
4dc2a129
MR
85832011-07-09 Martin Rudalics <rudalics@gmx.at>
8584
8585 * window.el (display-buffer-default-specifiers): Remove.
8586 (display-buffer-macro-specifiers): Remove default specifiers.
8587 (display-buffer-alist): Default to nil.
b796c9b7 8588 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8589 (display-buffer-pop-up-window): Allow splitting internal
8590 windows. Check whether a live window was created.
8591 (display-buffer-other-window-means-other-frame)
8592 (display-buffer-normalize-arguments): Rename to
8593 display-buffer-normalize-argument and rewrite. Set the
8594 other-window specifier.
8595 (display-buffer-normalize-special): New function.
8596 (display-buffer-normalize-options): Rename to
8597 display-buffer-normalize-default and rewrite.
8598 (display-buffer-normalize-options-inhibit): Remove.
8599 (display-buffer-normalize-specifiers): Rewrite.
8600 (display-buffer): Process other-window specifier and call
8601 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8602 more faithfully.
b796c9b7 8603 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8604 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8605 (display-buffer-in-window, display-buffer-alist-set):
8606 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8607 <tassilo@member.fsf.org>.
8608
2d43b8c9
LL
86092011-07-09 Leo Liu <sdl.web@gmail.com>
8610
8611 * register.el (insert-register): Restore accidental change on
8612 2011-06-26. (Bug#9028)
8613
7f9b7c53
GM
86142011-07-09 Glenn Morris <rgm@gnu.org>
8615
8616 * subr.el (remq): Handle the empty list. (Bug#9024)
8617
f042cfd8
AS
86182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8619
8620 * mail/sendmail.el (send-mail-function): No longer delay custom
8621 initialization.
8622 * custom.el (custom-initialize-delay): Doc fix.
8623
856b2f11
SM
86242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8627
afae1d68
MA
86282011-07-08 Michael Albinus <michael.albinus@gmx.de>
8629
8630 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8631 human-friendly prompt.
8632
0757af94
SM
86332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8636 provided by a particular plugin.
8637
d760b731
LMI
86382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639
8640 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8641 save customizations (with "emacs -Q"), just set the variable
8642 instead of erroring out.
8643
8644 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8645
cd79ce90
JL
86462011-07-08 Juri Linkov <juri@jurta.org>
8647
8648 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8649 (archive-zip-update-case): Use 7z if found by `executable-find'.
8650 The order of searching the available programs is the same as in
8651 `archive-zip-extract' (bug#8968).
8652
14cc04aa
CY
86532011-07-07 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8656 (menu-bar-options-menu): Tweak descriptions.
8657
0a1848ec
LMI
86582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8659
8660 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8661 menu items into verb phrases (bug#1421). Also refill to fit under
8662 80 columns.
8663
f5bd0689
CY
86642011-07-07 Chong Yidong <cyd@stupidchicken.com>
8665
538e85c6
CY
8666 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8667 (Info-read-node-name): Doc fix (Bug#1084).
8668
f5bd0689
CY
8669 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8670 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8671 (end-of-sexp, beginning-of-sexp)
8672 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8673 (forward-symbol, forward-same-syntax, word-at-point)
8674 (sentence-at-point): Doc fix (Bug#1144).
8675
56ec5115
LMI
86762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8677
f3f8e37f
LMI
8678 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8679 should cover it (bug#1281).
8680
0757af94 8681 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8682
e9fce1ac 8683 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8684 negotiation fails, then possibly try again with a non-encrypted
8685 connection (bug#9017).
8686
56ec5115
LMI
8687 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8688 be used.
8689
c2f9aec8
RS
86902011-07-07 Richard Stallman <rms@gnu.org>
8691
8692 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8693 property, and handle its changed format.
8694 Look for the correct line number.
8695 Use file's line contents (but not past first =) to find
8696 correct line in message.
8697
ef7b981d 86982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8699
8700 * international/characters.el (build-unicode-category-table):
8701 Delete it.
0757af94 8702 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8703
0757af94 8704 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8705 to src/chartab.c.
8706 (get-char-code-property): Call unicode-property-table-internal to
8707 load a file. Call get-unicode-property-internal where necessary.
8708 (put-char-code-property): Call unicode-property-table-internal to
8709 load a file. Call put-unicode-property-internal where necessary.
8710 put-unicode-property-internal where necessary.
0757af94
SM
8711 (char-code-property-description):
8712 Call unicode-property-table-internal to load a file.
c805dec0
KH
8713
8714 * international/charprop.el:
8715 * international/uni-bidi.el:
8716 * international/uni-category.el:
8717 * international/uni-combining.el:
8718 * international/uni-comment.el:
8719 * international/uni-decimal.el:
8720 * international/uni-decomposition.el:
8721 * international/uni-digit.el:
8722 * international/uni-lowercase.el:
8723 * international/uni-mirrored.el:
8724 * international/uni-name.el:
8725 * international/uni-numeric.el:
8726 * international/uni-old-name.el:
8727 * international/uni-titlecase.el:
8728 * international/uni-uppercase.el: Regenerate.
8729
8730 * loadup.el: Load international/charprop.el before
8731 international/characters.
8732
e14b388a
CY
87332011-07-07 Chong Yidong <cyd@stupidchicken.com>
8734
8735 * window.el (next-buffer, previous-buffer): Signal an error if
8736 called from a minibuffer window.
8737
8738 * bindings.el: Revert 2011-07-04 change.
8739
354cf0ba
RS
87402011-07-06 Richard Stallman <rms@gnu.org>
8741
8742 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8743 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8744 Treat markers like ints.
8745 (rmail-mime-entity): Doc fix.
8746
a48868a7
LMI
87472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8748
4906cd3d
LMI
8749 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8750 defcustom again for backwards compatibility.
8751
e0457abe
LMI
8752 * simple.el (shell-command-on-region): Fill.
8753
d67f7e1f
LMI
8754 * dired-aux.el (dired-kill-line): Add a doc string.
8755
fe204702
LMI
8756 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8757 to "\\sw\\|\\s_" (bug#358).
8758
a48868a7
LMI
8759 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8760 (dired-unmark-backward): Ditto.
8761 (dired-flag-backup-files): Ditto.
8762
8763 * dired-x.el (dired-mark-sexp): Ditto.
8764
aa8a705c
RS
87652011-07-06 Richard Stallman <rms@gnu.org>
8766
8767 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8768 (rmail-mime-entity): New arg TRUNCATED.
8769 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8770 New functions.
8771 (rmail-mime-save): Warn if entity is truncated.
8772 (rmail-mime-toggle-hidden): Likewise, for showing.
8773 (rmail-mime-process-multipart): Record when an entity is truncated.
8774
a9a936b9
RS
8775 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8776 if ENTITY is a string.
8777
1f2b92cb
LMI
87782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
f4f73198 8780 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8781 of faces when `M-C-x'-ing their definitions (bug#8378).
8782 Also clean up the code slightly.
f4f73198 8783
12b16734 8784 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8785 because that makes the colors go away.
12b16734 8786
f0691d22
LMI
8787 * mail/sendmail.el (send-mail-function): Change the default to
8788 `sendmail-query-once'.
9e87df06 8789 (sendmail-query-once): Add an autoload cookie.
f0691d22 8790
1f2b92cb
LMI
8791 * net/network-stream.el (network-stream-open-starttls): Try using
8792 a plain connection even if the server offered STARTTLS, and we
8793 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8794 capability. This should make smtpmail.el work in slightly more
8795 configurations.
8796
1cdd2a1b
MA
87972011-07-06 Michael Albinus <michael.albinus@gmx.de>
8798
8799 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8800 New defun.
8801 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8802
fbcc67e2
MM
88032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8804
8805 * progmodes/sql.el: Version 3.0
0757af94 8806 (sql-product-alist): Add product :completion-object,
fbcc67e2 8807 :completion-column, and :statement attributes.
0757af94 8808 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8809 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8810 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8811 ansi keywords.
8812 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8813 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8814 (sql-oracle-show-reserved-words): New function for development.
8815 (sql-product-font-lock): Simplify for source code buffers.
8816 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8817 New functions.
8818 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8819 (sql-mode-map): Add statement movement functions.
8820 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8821 New variable.
fbcc67e2
MM
8822 (sql-statement-regexp, sql-beginning-of-statement)
8823 (sql-end-of-statement, sql-signum): New functions.
0757af94 8824 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8825 (sql-show-sqli-buffer): Bug fix.
8826 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8827 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8828 with sql-interactive-mode.
8829 (sql-save-connection): Save buffer local settings.
0757af94 8830 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8831 (sql-product-interactive): Bug fix.
8832 (sql-preoutput-hold): New variable.
8833 (sql-interactive-remove-continuation-prompt): Bug fixes.
8834 (sql-debug-redirect): New variable.
8835 (sql-str-literal): New function.
8836 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8837 Redesign.
fbcc67e2
MM
8838 (sql-oracle-save-settings, sql-oracle-restore-settings)
8839 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8840 (sql-completion-object, sql-completion-column)
8841 (sql-completion-sqlbuf): New variables.
8842 (sql-build-completions-1, sql-build-completions)
8843 (sql-try-completion): New functions.
8844 (sql-read-table-name): Use them.
8845 (sql-contains-names): New buffer local variable.
8846 (sql-list-all, sql-list-table): Use it.
8847 (sql-oracle-completion-types): New variable.
8848 (sql-oracle-completion-object, sql-sqlite-completion-object)
8849 (sql-postgres-completion-object): New functions.
8850
d4eaeab1
GM
88512011-07-06 Glenn Morris <rgm@gnu.org>
8852
8853 * window.el (pop-to-buffer): Doc fix.
8854
322b7dab 88552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8856
8857 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8858
322b7dab 88592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8860
322b7dab 8861 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8862
322b7dab 8863 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8864
605dd5bf
CY
88652011-07-05 Chong Yidong <cyd@stupidchicken.com>
8866
8867 * button.el (button): Inherit from link face. Suggested by Dan
8868 Nicolaescu.
8869
7dbfa719
SM
88702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8871
3db614b0
SM
8872 * progmodes/gdb-mi.el: Fit in 80 columns.
8873 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8874 switch-to-buffer.
8875
7dbfa719
SM
8876 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8877 if imenu is simply not configured (bug#8941).
8878
919d884a
KM
88792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8880
8881 * allout.el (allout-post-undo-hook): New allout outline-change
8882 event hook to signal undo activity.
8883 (allout-post-command-business): Run allout-post-undo-hook if an
8884 undo just occurred.
7dbfa719
SM
8885 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8886 * allout-widgets.el (allout-widgets-after-undo-function):
8887 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8888 in the vicinity of an undo.
8889 (allout-widgets-mode): Include allout-widgets-after-undo-function
8890 on the new allout-post-undo-hook.
8891
450a0f09
SM
88922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8895 Let define-derived-mode define it.
8896 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8897 cycles of abbrev-table inheritance (bug#8998).
8898
2de69e00
RW
88992011-07-05 Roland Winkler <winkler@gnu.org>
8900
8901 * textmodes/bibtex.el: Add support for biblatex.
8902 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8903 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8904 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8905 (bibtex-entry-alist, bibtex-field-alist): New variables.
8906 (bibtex-entry-field-alist): Obsolete alias for
8907 bibtex-BibTeX-entry-alist.
8908 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8909 (bibtex-set-dialect): New command.
8910 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8911 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8912 Bind via bibtex-set-dialect.
2de69e00
RW
8913 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8914 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8915 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8916 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8917 Define via bibtex-set-dialect.
450a0f09
SM
8918 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8919 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8920 (bibtex-vec-push, bibtex-vec-incr): New functions.
8921 (bibtex-format-entry, bibtex-field-list)
8922 (bibtex-print-help-message, bibtex-validate)
8923 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8924
2dcdbdd9
SM
89252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * progmodes/compile.el (compilation-goto-locus):
8928 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8929 * bs.el (bs-cycle-next, bs-cycle-previous):
8930 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8931 * bindings.el (mode-line-other-buffer):
8932 * autoinsert.el (auto-insert):
8933 * arc-mode.el (archive-extract):
8934 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8935
b27640fe
JB
89362011-07-05 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8939 Fix check of `emacs-lock-unlockable-modes'.
8940 Coerce true values of `emacs-lock--try-unlocking' to t.
8941
53bbe3ad
JB
89422011-07-05 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8945 * emacs-lock.el: New file.
8946
1d3cdbc7
JD
89472011-07-05 Julien Danjou <julien@danjou.info>
8948
8949 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8950 than `boundp' to check if face is set.
8951
9173deec
JB
89522011-07-05 Juanma Barranquero <lekktu@gmail.com>
8953
8954 * register.el (registerv-make):
8955 * window.el (window-min-height): Fix typos in docstrings.
8956
869795d6
JD
89572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8958
9173deec 8959 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8960 Update doc string.
8961
b768cdcd
JB
89622011-07-04 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * server.el (server-execute): Catch quit and call
8965 `server-return-error' to pass the error back to emacsclient and
8966 close the connection (bug#8942).
8967
13aa217b
KM
89682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8969
8970 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8971 insecure exception for current topic. Also note that auto-saves
8972 are handled differently.
8973
5d3385a0 8974 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8975 State variables for tracking auto-save inhibition situation.
8976
8977 (allout-write-contents-hook-handler): Rename from
8978 'allout-write-file-hook-handler', and describe how it depends on
8979 write-contents-functions sensitivity to non-nil value to prevent
8980 file write.
8981
8982 (allout-auto-save-hook-handler): Remove. auto-save does not check
8983 this in individual buffers, only in the starting buffer, so this
8984 is not the right way for us to inhibit auto-save in a buffer
8985 according to its condition.
8986
8987 (allout-mode): Use new allout-write-contents-hook-handler, and
8988 only with write-contents-functions. Remove auto-save provisions -
8989 they're implemented elsewhere.
8990
8991 (allout-before-change-handler): If undo is in progress, note that
8992 for attention of allout-post-command-business.
8993
8994 (allout-post-command-business): If the command we're following was
8995 an undo, check for change in the status of encrypted items and
8996 adjust auto-save inhibitions accordingly.
8997
8998 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8999 according to whether there are or aren't any plain-text topics
9000 pending encryption.
9001
2dcdbdd9 9002 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9003 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9004 if there are plain-text topics pending encryption.
13aa217b
KM
9005
9006 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9007 buffer-saved-size and some allout state to not inhibit auto-saves
9008 if there are no longer any plain-text topics pending encryption.
9009
0757af94
SM
9010 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9011 No longer provide for exemption of the current topic.
13aa217b 9012
ac89b32c
JL
90132011-07-04 Juri Linkov <juri@jurta.org>
9014
9015 Add 7z operations to delete and save changed members (bug#8968).
9016 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9017 New defcustoms.
9018 (archive-7z-write-file-member): New function.
9019 (archive-7z-summarize): Fix the number of dashes in the
9020 listing output.
9021
8fa39615
SM
90222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9025 (bug#8958).
9026
2f11b3f1
CY
90272011-07-04 Chong Yidong <cyd@stupidchicken.com>
9028
d66fef2b
CY
9029 * bindings.el: Ignore next-buffer and previous-buffer in
9030 minibuffer-local-map.
9031
2f11b3f1
CY
9032 * font-lock.el (font-lock-builtin-face): Change light background
9033 color to dark slate blue (Bug#6693).
9034
f932a347
WD
90352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9036
9037 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9038
c8af70e1
SM
90392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9042 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9043 Add switch-to-buffer.
9044
f158badc
LMI
90452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9046
9047 * isearch.el (isearch-search-fun-function): Clarify further the
9048 meaning of the function returned.
9049
6d95bd46
MA
90502011-07-04 Michael Albinus <michael.albinus@gmx.de>
9051
9052 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9053
9054 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9055 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9056 Use it.
9057 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9058 `tramp-default-remote-path' does not exist.
9059 (tramp-send-command-and-read): New optional argument NOERROR.
9060 (tramp-open-connection-setup-interactive-shell)
9061 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9062 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9063 (tramp-process-sentinel): Flush also process' connection property.
9064 (tramp-sh-handle-start-file-process): Do not set process
9065 sentinel. It is done now ...
9066 (tramp-maybe-open-connection): ... here. (Bug#8929)
9067
909e6b67
MK
90682011-07-04 MON KEY <monkey@sandpframing.com>
9069
9070 * play/animate.el (animate-string): Doc fixes and allow changing
9071 the buffer name (bug#5417).
9072
90732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
c8af70e1 9075 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9076
f34755dc
PE
90772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9078
396cec72
PE
9079 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9080 This is simpler and helps future-proof the code.
9081 (timer-until): Use time-subtract and float-time.
08235028 9082 (timer--time-less-p): Use time-less-p.
f34755dc 9083
56e6cc31
JB
90842011-07-04 Juanma Barranquero <lekktu@gmail.com>
9085
3abb79e5
JB
9086 * type-break.el (timep): Use the value of `float-time' to avoid a
9087 byte-compiler warning.
9088
56e6cc31
JB
9089 * server.el (server-eval-and-print): Return any result, even nil.
9090
7b9430b4
PE
90912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9092
9093 * type-break.el: Accept time formats that the builtins accept.
9094 (timep, type-break-time-difference): Accept any format that
9095 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9096 This is simpler and helps future-proof the code.
9097 (type-break-time-difference): Round rather than ignoring
9098 subseconds components.
9099
3034e9e7
LMI
91002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9101
9102 * info.el (Info-apropos-matches): Make non-interactive, since it
9103 doesn't seem to do anything useful as a command (bug#8829).
9104
1485f4c0
CY
91052011-07-03 Chong Yidong <cyd@stupidchicken.com>
9106
9107 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9108 Move from faces.el.
1485f4c0
CY
9109 (frame-default-terminal-background): New function.
9110
9111 * custom.el (custom-push-theme): Don't record faces in `changed'
9112 theme; this doesn't work correctly for per-frame face settings.
9113 (disable-theme): Use face-set-after-frame-default to reset faces.
9114 (custom--frame-color-default): New function.
9115
9fa3dd45
LMI
91162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9117
c8af70e1 9118 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9119 (bug#8769).
9120
6cbbc20c
KR
91212011-03-29 Kevin Ryde <user42@zip.com.au>
9122
9123 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9124 `perl-Test2' extend to match possible "fail #N" rep count
9125 (bug#8377).
9126
c7f98048
LMI
91272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128
65676592
LMI
9129 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9130 `smtpmail-via-smtp' now returns the error instead of nil.
9131
c7f98048
LMI
9132 * isearch.el (isearch-search-fun-function): Clarify the doc string
9133 (bug#8101).
9134
56e6cc31 91352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9136
9137 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9138 unnecessary spaces (bug#8987).
9139
2b216704
LMI
91402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
9142 * net/network-stream.el (open-network-stream): Use the
9143 :end-of-capability command thoughout.
9144
91452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9146
9147 * net/network-stream.el (open-network-stream): Add the
9148 :end-of-capability command parameter, used by pop3.el.
9149
36adf6ce
LMI
91502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9151
1ca0da0e
LMI
9152 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9153
fc00f69c
LMI
9154 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9155 for list)" (bug#6475).
9156
28fd8759 9157 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9158 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9159 an error (bug#6297).
9160
0dd8b6da
LMI
9161 * man.el (Man-reference-regexp): Allow matching possible
9162 word-wrapped references (bug#6289).
9163
ce1438d6
LMI
9164 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9165 for consistency with the other vc buffers (bug#6197).
9166 (vc-checkin): Ditto.
9167
9168 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9169
36adf6ce
LMI
9170 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9171
e83cc1f7
LMI
91722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
8a20ca4c
LMI
9174 * custom.el (defcustom): Clarify that :set is only used in the
9175 Customize user interface (bug#6089).
9176
83319045
LMI
9177 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9178 associated with a file, refuse to run instead of erroring out
9179 (bug#6084).
9180
a8392169
LMI
9181 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9182 the doc string, since it appears that using `fill-column' always
9183 controls the width (bug#7845).
9184
e83cc1f7
LMI
9185 * simple.el (shell-command-on-region): Say where the error output
9186 went if `shell-command-default-error-buffer' is set (bug#6857).
9187
e47ca23b
KM
91882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9189
9190 * allout.el (allout-yank-processing): Adjust cursor position for
9191 backwards-deleted space.
9192
9193 (allout-rebullet-heading): Register changes with
9194 allout-exposure-changed-hook, so the modified topic is properly
9195 decorated.
9196
5cf56143
LMI
91972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198
08549772
LMI
9199 * minibuffer.el (completion-in-region): Document PREDICATE
9200 (bug#7136).
9201
48e96771
LMI
9202 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9203 of keyword/argument pairs (bug#6904).
9204
c8af70e1
SM
9205 * replace.el (multi-occur):
9206 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9207
e17d05e2
LMI
92082011-07-02 Drew Adams <drew.adams@oracle.com>
9209
9210 * dired.el (dired-mark-if): Make the message about whether it's
9211 marking or unmarking clearer (bug#8523).
9212
063b0e45
LMI
92132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9214
9215 * disp-table.el (display-table-print-array): New function.
9216 (describe-display-table): Use it to print the vectors more pretty
9217 (Bug#8859).
9218
28545e04
MR
92192011-07-02 Martin Rudalics <rudalics@gmx.at>
9220
9221 * window.el (window-state-get-1): Don't assign clone numbers.
9222 Add clone-of item to list of window parameters.
9223 (window-state-put-2): Don't process clone numbers.
9224 (display-buffer-alist): Fix doc-string.
9225
3349e122
SM
92262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * subr.el (remq): Don't allocate if it's not needed.
9229 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9230 (keymap--merge-bindings): New functions.
9231 (keymap-canonicalize): Use them to refine the canonicalization.
9232 * minibuffer.el (minibuffer-local-completion-map)
9233 (minibuffer-local-must-match-map): Move initialization from C.
9234 (minibuffer-local-filename-completion-map): Move initialization from C;
9235 don't inherit from anything here.
9236 (minibuffer-local-filename-must-match-map): Make obsolete.
9237 (completing-read-default): Use make-composed-keymap to combine
9238 minibuffer-local-filename-completion-map with either
9239 minibuffer-local-must-match-map or
9240 minibuffer-local-filename-completion-map.
9241
d224ac83
GM
92422011-07-01 Glenn Morris <rgm@gnu.org>
9243
3de63bf8
GM
9244 * type-break.el (type-break-time-sum): Use dolist.
9245
d224ac83
GM
9246 * textmodes/flyspell.el (flyspell-word-search-backward):
9247 Replace CL function.
9248
1a1e3f32
SM
92492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9250
fe3f64d5
SM
9251 * mouse.el (mouse--strip-first-event): New function.
9252 (function-key-map): Use it to map fringe clicks to normal clicks
9253 by default.
9254
eb604e34
SM
9255 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9256 (vc-bzr-revision-completion-table): Add support for annotate and date.
9257
1a1e3f32
SM
9258 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9259 inherit from parent.
9260
5bd35902
LMI
92612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9262
ace6c69c 9263 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9264 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9265
191e2bed
LMI
9266 * dired.el (dired-mode): Fix up the doc string as suggested by
9267 Drew Adams (bug#8817).
9268
5bd35902
LMI
9269 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9270 cookie, since the manual says that it should be possible to add
9271 this function to `find-file-hook' (bug#8709).
9272
eee8207a
TZ
92732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9274
9275 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9276 here. Noted Ted Zlatanov as the maintainer.
9277 (cfengine-common-settings, cfengine-common-syntax): New functions
9278 to set up common things between `cfengine-mode' and
9279 `cfengine3-mode'.
9280 (cfengine3-mode): New mode.
9281 (cfengine3-defuns cfengine3-defuns-regex
9282 (cfengine3-class-selector-regex cfengine3-category-regex)
9283 (cfengine3-vartypes cfengine3-font-lock-keywords)
9284 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9285 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9286
36b148cf
MA
92872011-07-01 Michael Albinus <michael.albinus@gmx.de>
9288
9289 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9290
9291 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9292
0bf4ba9a
MR
92932011-07-01 Martin Rudalics <rudalics@gmx.at>
9294
9295 * window.el (same-window-buffer-names, same-window-regexps)
9296 (same-window-p, special-display-frame-alist)
9297 (special-display-popup-frame, special-display-function)
9298 (special-display-buffer-names, special-display-regexps)
9299 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9300 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9301 (split-window-preferred-function, split-height-threshold)
9302 (split-width-threshold, even-window-heights)
9303 (display-buffer-mark-dedicated, window-splittable-p)
9304 (split-window-sensibly, window-safely-shrinkable-p):
9305 Un-obsolete.
9306 (display-buffer): Don't spread args with function specifier
9307 because special-display-popup-frame won't like it.
9308
35837f51
PE
93092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9310
d0672f86
PE
9311 Time-stamp simplifications and fixes.
9312 These improve accuracy slightly, and future-proof the code
9313 against some potential changes to current-time format.
9314
b9444d97
PE
9315 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9316 by using time-since and float-time.
9317
0ef923dc
PE
9318 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9319 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9320 + NNN microseconds".
9321
2f81380d
PE
9322 * type-break.el (type-break-time-sum): Rewrite using time-add.
9323
845b5c3e
PE
9324 * play/hanoi.el (hanoi-current-time-float): Remove.
9325 All uses replaced by float-time.
9326
ee6f1be0
PE
9327 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9328 This yields a more-accurate answer.
9329 (rng-time-to-float): Remove; no longer needed.
9330
fe955043
PE
9331 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9332
5777162a
PE
9333 * calendar/timeclock.el (timeclock-seconds-to-time):
9334 Defalias to seconds-to-time, since they're the same thing.
9335
3103f8b6 9336 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9337 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9338 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9339
0e61a35f
SM
93402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * window.el (bury-buffer): Don't iconify the only frame.
9343 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9344 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9345
ddd63a1e
CY
93462011-07-01 Chong Yidong <cyd@stupidchicken.com>
9347
0e61a35f
SM
9348 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9349 Add mouse-yank-primary.
ddd63a1e 9350
055f4923
TZ
93512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9352
9353 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9354
6a2fb145
SM
93552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9358 (find-library-name): Use it to find relative load names when provided
9359 absolute file name (bug#8803).
9360
fd4983f2
LMI
93612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9362
887d14ad
LMI
9363 * textmodes/flyspell.el (flyspell-word): Consider words that
9364 differ only in case as potential doublons (bug#5687).
9365
c53dc7fc
LMI
9366 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9367 Remove two rather uninteresting debugging-like messages to make
9368 debbugs.el more silent.
9369
fd4983f2
LMI
9370 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9371 a password-like phrase.
9372
7a71b18d 93732011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9374
9375 * progmodes/cc-guess.el: New file.
9376
6a2fb145 9377 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9378
9379 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9380 derived from `c-basic-common-init'.
9381
9382 * progmodes/cc-mode.el (top-level): Require cc-guess.
9383 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9384
1fa280a3
LM
93852011-06-30 Lawrence Mitchell <wence@gmx.li>
9386
9387 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9388
e6597158
AM
93892011-06-30 Alan Mackenzie <acm@muc.de>
9390
1fa280a3
LM
9391 * progmodes/cc-engine.el (c-guess-continued-construct):
9392 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9393 lock is disabled. Name this case as "CASE G".
9394
68ba37fb
KM
93952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9396
9397 * allout.el (allout-yank-processing): Fix injection of extra space
9398 between bullet and non-whitespace character in first topic when
9399 pasting, ensuring that the actual spacing in the pasted topic
9400 following the bullet char is preserved. This extra space was
9401 causing pasted encrypted topics to get a decrypted status even
9402 when the content was actually still encrypted. Now the decryption
9403 status from before the paste is preserved.
9404
9405 (allout-flag-region): Set all allout overlays so they evaporate
9406 when reduced to zero length (evanescent), to prevent overlay
9407 leakage.
9408
887a0b34
GM
94092011-06-30 Glenn Morris <rgm@gnu.org>
9410
94b9acce
GM
9411 * w32-fns.el (w32-charset-info-alist): Declare.
9412
1d9b46d4
GM
9413 * find-dired.el (find-grep-options): Simplify.
9414
cc232200
GM
9415 * term/ns-win.el (ns-set-resource): Declare.
9416
28e77c46
GM
9417 * ses.el (row, col): Declare dynamic variables honestly.
9418
887a0b34
GM
9419 * textmodes/reftex-parse.el (index-tags): Declare.
9420
658d8eb8
CY
94212011-06-30 Chong Yidong <cyd@stupidchicken.com>
9422
9423 * cus-edit.el (customize-push-and-save): New function.
9424
9425 * files.el (hack-local-variables-confirm): Use it.
9426
1fa280a3
LM
9427 * custom.el (load-theme): New arg NO-CONFIRM.
9428 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9429 (custom-enabled-themes): Doc fix.
9430
9431 * cus-theme.el (customize-create-theme)
9432 (custom-theme-merge-theme): Callers to load-theme changed.
9433
bb617717
LMI
94342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9435
d61bdd5d
LMI
9436 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9437 short URLs have at least one dot in them (bug #7614).
9438
bb617717
LMI
9439 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9440 nil, because using a pty is apparently too slow (bug #895).
9441
2f31f37a
LMI
94422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9443
9444 * mail/sendmail.el (sendmail-query-once): New function.
9445 (sendmail-query-once-function): New variable.
9446
3076b24e
GM
94472011-06-29 Glenn Morris <rgm@gnu.org>
9448
faf2a174
GM
9449 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9450
3076b24e
GM
9451 * ses.el (top-level): Require cl when compiling.
9452 (ses-set-localvars): Fix error statement.
9453 Call it at compile time to silence a storm of warnings.
9454
5386012d
MR
94552011-06-29 Martin Rudalics <rudalics@gmx.at>
9456
9457 * window.el (normalize-live-buffer): Rename to
9458 window-normalize-buffer.
9459 (normalize-live-frame): Rename to window-normalize-frame.
9460 (normalize-any-window): Rename to window-normalize-any-window.
9461 (normalize-live-window): Rename to window-normalize-live-window.
9462 (make-window-atom): Rename to window-make-atom.
9463 (window-resize-reset): Rename to window--resize-reset.
9464 (window-resize-reset-1): Rename to window--resize-reset-1.
9465 (resize-mini-window): Rename to window--resize-mini-window.
9466 (resize-subwindows-skip-p): Rename to
9467 window--resize-subwindows-skip-p.
9468 (resize-subwindows-normal): Rename to
9469 window--resize-subwindows-normal.
9470 (resize-subwindows): Rename to window--resize-subwindows.
9471 (resize-other-windows): Rename to window--resize-siblings.
9472 (resize-this-window): Rename to window--resize-this-window.
9473 (resize-root-window): Rename to window--resize-root-window.
9474 (resize-root-window-vertically): Rename to
9475 window--resize-root-window-vertically.
9476 (normalize-buffer-to-display): Rename to
9477 window-normalize-buffer-to-display.
9478 (normalize-buffer-to-switch-to): Rename to
9479 window-normalize-buffer-to-switch-to.
9480 Correspondingly update all callers of the functions listed
9481 above.
9482 (display-buffer-alist, display-buffer-normalize-arguments)
9483 (display-buffer-normalize-options, display-buffer)
9484 (display-buffer-alist-set): Use "function" instead of
9485 "fun-with-args".
9486
1176868d
CY
94872011-06-28 Chong Yidong <cyd@stupidchicken.com>
9488
9489 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9490 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9491 debbugs.gnu.org. Mention acknowledgment email.
9492
20a7a65f
LMI
94932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9494
9495 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9496 buffer multibyteness, since it shouldn't matter.
9497
5f45cca5
MR
94982011-06-28 Martin Rudalics <rudalics@gmx.at>
9499
9500 * window.el (display-buffer-in-side-window): Handle dedicated
9501 windows as in display-buffer-reuse-window.
9502 (display-buffer-normalize-alist): Use value of override
9503 specifier.
9504 (display-buffer-normalize-specifiers): Use value of
9505 other-window-means-other-frame specifier.
9506 (display-buffer-alist): Rewrite some texts in widgets.
9507 (display-buffer): Spread arguments when calling function
9508 specified by fun-with-args.
9509
ad85fe1f
DD
95102011-06-28 Deniz Dogan <deniz@dogan.se>
9511
1fa280a3
LM
9512 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9513 Unnest `let'.
da68c4c8 9514
ad85fe1f
DD
9515 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9516 selectors (Bug#5732).
ec49bd31 9517 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9518
a08cc025
JA
95192011-06-27 Jari Aalto <jari.aalto@cante.net>
9520
9521 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9522 (eshell-ls-date-format): New defcustom.
9523 (eshell-ls-file): Use it.
9524
e2b551c5
SM
95252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9528
8982b231
KY
95292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9530
9531 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9532 (ange-ftp-make-tmp-name): New arg.
9533 (ange-ftp-file-local-copy): Use it.
9534
36c9fa27
J
95352011-06-27 Jambunathan K <kjambunathan@gmail.com>
9536
9537 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9538 no-conversion (Bug#8870).
9539
d68443dc
MR
95402011-06-27 Martin Rudalics <rudalics@gmx.at>
9541
9542 * window.el (window-right, window-left, window-child)
9543 (window-child-count, window-last-child)
9544 (window-iso-combination-p, walk-window-tree-1)
9545 (window-atom-check-1, window-tree-1, delete-window)
9546 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9547 new naming conventions - window-vchild, window-hchild,
9548 window-next and window-prev are now called window-top-child,
9549 window-left-child, window-next-sibling and window-prev-sibling
9550 respectively.
d615d6d2
MR
9551 (resize-window-reset): Rename to window-resize-reset.
9552 (resize-window-reset-1): Rename to window-resize-reset-1.
9553 (resize-window): Rename to window-resize.
9554 (window-min-height, window-min-width)
9555 (resize-mini-window, resize-this-window, resize-root-window)
9556 (resize-root-window-vertically, adjust-window-trailing-edge)
9557 (enlarge-window, shrink-window, maximize-window)
9558 (minimize-window, delete-window, quit-restore-window)
9559 (split-window, balance-windows, balance-windows-area-adjust)
9560 (balance-windows-area, window-state-put-2)
9561 (display-buffer-even-window-sizes, display-buffer-set-height)
9562 (display-buffer-set-width, set-window-text-height)
9563 (fit-window-to-buffer): Rename all "resize-window" prefixed
9564 calls to use the "window-resize" prefix convention.
9565 (display-buffer-alist): Fix symbol for label specifier.
9566 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9567 corresponding specifier.
9568 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9569
b6458526
VB
95702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9571
9572 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9573 convention.
9574 (ses-call-printer): Does not pass an empty string to formatter when the
9575 cell is empty to keep from barking printer Calc math-format-value.
9576
d31fd9ac
RS
95772011-06-27 Richard Stallman <rms@gnu.org>
9578
43d5bf84
RS
9579 * battery.el (battery-mode-line-limit): New variable.
9580 (battery-update): Handle it.
9581
d31fd9ac
RS
9582 * mail/rmailmm.el (rmail-mime-process-multipart):
9583 Handle truncated messages.
9584
819a6054
GM
95852011-06-27 Glenn Morris <rgm@gnu.org>
9586
9587 * progmodes/flymake.el (flymake-err-line-patterns):
9588 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9589
cedc73f2
VB
95902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9591
819a6054 9592 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9593 (ses--clean-!, ses--clean-_): New functions.
9594 (ses-range): Add configurability of readout order, and conversion
9595 to Calc vector.
9596
5e5d49b6
VB
9597 * ses.el (ses-repair-cell-reference-all): New function.
9598 (ses-cell-symbol): Set macro as safe, so that it can be used in
9599 formulas.
9600
56e6cc31 9601 * ses.el: Update cycle detection algorithm.
90ca8b49 9602 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9603 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9604 (ses-set-localvars): New function.
9605 (ses-make-cell): Add property-list as a cell element.
9606 (ses-cell-property-get-fun, ses-cell-property-get)
9607 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9608 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9609 New functions.
90ca8b49
VB
9610 (ses-cell-property-set, ses-cell-property-pop)
9611 (ses-cell-property-get-handle): New macro.
9612 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9613 New aliases, used for code readability.
9614 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9615 cycle detection.
9616 (ses-self-reference-early-detection): New defcustom.
fac916bf 9617 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9618 (ses-mode): Use ses-set-localvars.
9619 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9620 before lauching the update processing.
9621 (ses-initialize-Dijkstra-attempt): New function.
9622 (ses-recalculate-cell): Update for cycle detection based on
9623 Dijkstra algorithm.
9624
2bb63e81
VB
9625 * ses.el: Fix commenting and indenting convention.
9626
c9d29fb8
SM
96272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * bs.el (bs-cycle-next): Complete last change.
9630
d8e4b68b
JB
96312011-06-27 Drew Adams <drew.adams@oracle.com>
9632
9633 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9634
40098786
LMI
96352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
c9d29fb8
SM
9637 * net/network-stream.el (network-stream-open-starttls):
9638 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9639 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9640
40098786
LMI
9641 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9642 to binary to possibly avoid line encoding issues on Windows (among
9643 other things).
9644
468d09d4
LMI
96452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * net/network-stream.el (open-network-stream): Return an :error
9648 saying what the problem was, if possible.
9649
9650 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9651 server.
9652
9653 * net/network-stream.el (network-stream-open-starttls): If we
9654 wanted to use STARTTLS, and the server offered it, but we weren't
9655 able to because we had no STARTTLS support, then close the connection.
9656 (open-network-stream): Return an :error element, if present.
9657
16f07dd7
CY
96582011-06-26 Chong Yidong <cyd@stupidchicken.com>
9659
88821ca0
CY
9660 * hl-line.el (hl-line-sticky-flag): Doc fix.
9661 (global-hl-line-sticky-flag): New option (Bug#8323).
9662 (global-hl-line-highlight): Obey it.
9663
16f07dd7
CY
9664 * vc/vc.el (vc-revert-show-diff): Default to t.
9665
6b5ccddf
KM
96662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9667
c9d29fb8
SM
9668 * allout-widgets.el (allout-widgets-post-command-business):
9669 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9670 undecorated when an isearch is continued past, and isearch
9671 automatically collapses them. This leads to "widget leaks", where
9672 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9673 hidden widgets can slow down cursor travel, substantially.
9674 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9675 so we're doing without this nicety.
9676
9677 (allout-widgets-tally-string): Don't try to do a hash-table-count
9678 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9679 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9680 *Messages* when allout-widgets-maintain-tally is t.
9681
355f2e07
MR
96822011-06-26 Martin Rudalics <rudalics@gmx.at>
9683
9684 * window.el (display-buffer-normalize-argument): Rename to
9685 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9686 LABEL argument. Respect special-display-function when popping up
9687 a new frame. Fix code searching for a window showing the buffer
9688 on another frame.
c9d29fb8
SM
9689 (display-buffer-normalize-specifiers):
9690 Call display-buffer-normalize-arguments.
355f2e07
MR
9691 (display-buffer-in-window): Don't undedicate the window if its
9692 buffer remains the same.
9693 Reported by Drew Adams <drew.adams@oracle.com>.
9694 (display-buffer-alist): Add choice for same-window macro
9695 specfier.
9696 (display-buffer): Mention special meaning of LABEL argument in
9697 doc-string. Fix quoting. Don't pop up a new frame even as
9698 fallback.
9699
7ca8fc42
JB
97002011-06-26 Juanma Barranquero <lekktu@gmail.com>
9701
9702 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9703 avoid deleting the current window in some cases (bug#8911).
9704
bc312254
AS
97052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9706
9707 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9708 (Bug#8934)
9709
2db18f3f
LMI
97102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711
c9d29fb8
SM
9712 * net/network-stream.el (network-stream-open-starttls):
9713 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9714 (network-stream-open-tls): Ditto.
9715
6302e0d3
LL
97162011-06-26 Leo Liu <sdl.web@gmail.com>
9717
9718 * register.el (registerv): New struct.
9719 (registerv-make): New function.
c9d29fb8
SM
9720 (jump-to-register, describe-register-1, insert-register):
9721 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9722 struct. (Bug#8415)
9723
5fdd4046
CY
97242011-06-26 Chong Yidong <cyd@stupidchicken.com>
9725
2afef60a
CY
9726 * vc/vc.el (vc-revert-show-diff): New defcustom.
9727 (vc-diff-internal): New arg specifying diff buffer.
9728 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9729 reuse an existing *vc-diff* buffer (Bug#8927).
9730
5fdd4046
CY
9731 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9732
e93db24a
GM
97332011-06-26 Glenn Morris <rgm@gnu.org>
9734
9735 * progmodes/f90.el (f90-critical-indent): New option.
9736 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9737 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9738 (f90-mode): Doc fix.
9739 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9740 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9741 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9742 (f90-match-end): Handle block, critical.
9743
eefff499
GM
97442011-06-25 Glenn Morris <rgm@gnu.org>
9745
f6ba4cc9
GM
9746 * calendar/diary-lib.el (diary-included-files): Doc fix.
9747 (diary-include-files): New function, extracted from
9748 diary-include-other-diary-files and diary-mark-included-diary-files.
9749 (diary-include-other-diary-files, diary-mark-included-diary-files):
9750 Just call diary-include-files.
9751 (diary-mark-entries): Reset diary-included-files on first call.
9752
16712304
GM
9753 * calendar/diary-lib.el (diary-mark-entries)
9754 (diary-mark-included-diary-files):
9755 Visit included diary-files in temp buffers.
9756
5d8e0d43
GM
9757 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9758 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9759 (f90-start-block-re, f90-imenu-generic-expression)
9760 (f90-looking-at-program-block-start, f90-no-block-limit):
9761 Add support for submodules.
9762
ccf7a5d5
GM
9763 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9764 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9765
11fdef7d 97662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9767
9768 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9769 buffer-file-type before setting its value, to avoid disastrous
eefff499 9770 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9771
74f53697
JB
97722011-06-25 Juanma Barranquero <lekktu@gmail.com>
9773
9774 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9775
9776 * ses.el (ses-unload-function):
9777 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9778
9779 * proced.el (proced-unload-function):
9780 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9781
18a4ce5e
AR
97822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9783
9784 * server.el (server-create-window-system-frame): Add parameters arg.
9785 (server-process-filter): Doc fix. Handle frame-parameters.
9786
519d22cc
JB
97872011-06-25 Juanma Barranquero <lekktu@gmail.com>
9788
9789 Fix bug#8730, bug#8781.
9790
9791 * loadhist.el (unload--set-major-mode): New function.
9792 (unload-feature): Use it.
9793
9794 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9795 (python-unload-function): New function.
9796
c206f5b0
SM
97972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9800
f9ad64f3
GS
98012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9802
9803 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9804 the candidates list.
9805
7d0da90e
JB
98062011-06-24 Juanma Barranquero <lekktu@gmail.com>
9807
9808 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9809
14b4e83d
RS
98102011-06-23 Richard Stallman <rms@gnu.org>
9811
9812 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9813 (rmail-variables): Set next-error-move-function.
9814 (rmail-what-message): Take argument POS.
9815 (rmail-next-error-move): New function.
9816
273d2baf
SM
98172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9820 messages for adjacent non-terminals.
9821
56c2cc9a
RS
98222011-06-23 Richard Stallman <rms@gnu.org>
9823
9824 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9825 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9826 (rmail-start-mail): Don't specify use of rmail-mail-return;
9827 that's done by mail-bury now.
9828 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9829
d59eb518
MA
98302011-06-23 Michael Albinus <michael.albinus@gmx.de>
9831
9832 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9833 SIZE is a number.
9834
02cfc6d6
MR
98352011-06-23 Martin Rudalics <rudalics@gmx.at>
9836
9837 * window.el (get-lru-window, get-mru-window)
9838 (get-largest-window): Never return a minibuffer window.
9839 (display-buffer-pop-up-window): Fix a bug that could lead to
9840 reusing the minibuffer window.
9841 (display-buffer): Pass original specifier argument to
9842 display-buffer-function instead of the normalized one.
9843 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9844
4e323265
LL
98452011-06-22 Leo Liu <sdl.web@gmail.com>
9846
9847 * minibuffer.el (completing-read-function)
9848 (completing-read-default): Move from minibuf.c
9849
7a70468f
RS
98502011-06-22 Richard Stallman <rms@gnu.org>
9851
50718fc2
RS
9852 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9853 to Rmail even if not started by a special Rmail command.
9854
7a70468f
RS
9855 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9856 Copy the buffer currently showing just one message.
9857
297dde5a
RW
98582011-06-22 Roland Winkler <winkler@gnu.org>
9859
9860 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9861 (bibtex-clean-entry): First delete the old key so that a
9862 customized algorithm for generating the new key does not get
9863 confused by the old key.
9864 (bibtex-url): Obey regexp of first step.
9865 (bibtex-search-entries): Do not use add-to-list with local
9866 list-var.
9867
97bb1093
LMI
98682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9869
9870 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9871 stored a user name, then query for the password first, instead of
9872 waiting for SMTP to give an error message and the trying again.
9873
1c0f1a19
JD
98742011-06-22 Lawrence Mitchell <wence@gmx.li>
9875
9876 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9877 BUFFER in call-process.
9878
396f7c9d
LMI
98792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9880
9881 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9882 QUIT twice.
ddb7ffee
LMI
9883 (smtpmail-try-auth-methods): Require user name and password from
9884 auth-source.
396f7c9d 9885
8998d1b3
MR
98862011-06-22 Martin Rudalics <rudalics@gmx.at>
9887
9888 * window.el (display-buffer-default-specifiers)
9889 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9890 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9891 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9892
9893 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9894 (special-display-frame-alist, special-display-popup-frame):
9895 Remove duplicate declarations. These are now in window.el.
9896
4ea31e07
LMI
98972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9898
c9d29fb8
SM
9899 * mail/smtpmail.el (smtpmail-via-smtp):
9900 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9901 server supports it. SMTP servers that support STARTTLS commonly
9902 require it.
9903
9904 * net/network-stream.el (network-stream-open-starttls): Support
9905 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9906 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9907
95f41d9a
LMI
9908 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9909 upgrades with `open-network-stream', and rely solely on
9910 auth-source for all credentials. Big changes throughout the file,
9911 but in particular:
c9d29fb8
SM
9912 (smtpmail-auth-credentials): Remove.
9913 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9914 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9915 MAIL FROM, too.
95f41d9a 9916
c9d29fb8
SM
9917 * net/network-stream.el (network-stream-open-starttls):
9918 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9919 STARTTLS.
9920 (auth-source): Require.
9921 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9922 (network-stream-certificate): Change cert-cert to cert and
9923 cert-key to key.
4ea31e07 9924
065ec2c7
MA
99252011-06-21 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * net/tramp-cache.el (top): Don't load the persistency file when
9928 "emacs -Q" has been called.
9929
cd93b359
DR
99302011-06-21 Tim Harper <timcharper@gmail.com>
9931
d8e4b68b
JB
9932 * term/ns-win.el (ns-initialize-window-system):
9933 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9934 resource to NO as it is not yet supported by the NS port.
9935
ae9c0411
JB
99362011-06-21 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9939 (list-dynamic-libraries): ...not here.
9940
7f3f739f
LL
99412011-06-21 Leo Liu <sdl.web@gmail.com>
9942
9943 * subr.el (sha1): Implement sha1 using secure-hash.
9944
327c8fb1
MR
99452011-06-21 Martin Rudalics <rudalics@gmx.at>
9946
9947 * window.el (display-buffer-alist): In default value do not
9948 enforce searching a window on any but the selected frame.
9949 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9950 (display-buffer-select-window): Remove function.
9951 (display-buffer-in-window): When a window on another frame gets
9952 reused, do not select it any more but just raise its frame if
9953 necessary (Bug#8851) and (Bug#8856).
9954 (display-buffer-normalize-options): Handle pop-up-frames related
9955 options more faithfully.
9956 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9957 window if it is on another frame.
c9d29fb8
SM
9958 (display-buffer-alist, display-buffer-default-specifiers):
9959 Don't make new frame unsplittable by default.
9e9de014
MR
9960 (display-buffer-normalize-argument): Fix doc-string typo and use
9961 'same-frame-other-window instead of 'other-window when associating
9962 with display-buffer-macro-specifiers.
327c8fb1 9963
7cf3f556
VB
99642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9965
9966 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9967 New functions.
9968 (5x5-mode-map, 5x5-mode-menu): Bind them.
9969 (5x5-draw-grid): Tweak the solver's rendering.
9970
60a406cf
SM
99712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9974 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9975
d8e4b68b 99762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9977
9978 * menu-bar.el: Use function variable instead of switch-to-buffer.
9979 (menu-bar-select-buffer-function): New variable.
60a406cf 9980 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9981
478d6f95
SM
99822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9985 variable's status.
9986
ca530739
JD
99872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9988
9989 * x-dnd.el (x-dnd-version-from-flags)
9990 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9991 and long as number (Bug#8899).
9992 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9993
bcd70d97
SM
99942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9995
60a406cf 9996 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9997 (completion-try-completion, completion-all-completions): Compute the
9998 metadata argument if it's missing; make it optional (bug#8795).
9999
60a406cf 10000 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10001 (widget-complete): Use new :completion-function property.
10002 (widget-completions-at-point): New function.
10003 (default): Use :completion-function instead of :complete.
60a406cf
SM
10004 (widget-default-completions): Rename from widget-default-complete;
10005 Rewrite.
bcd70d97
SM
10006 (widget-string-complete, widget-file-complete, widget-color-complete):
10007 Remove functions.
10008 (file, symbol, function, variable, coding-system, color):
10009 * international/mule-cmds.el (default-input-method, charset)
10010 (language-info-custom-alist):
10011 * cus-edit.el (face): Use new property :completions.
10012
10013 * progmodes/pascal.el (pascal-completions-at-point): New function.
10014 (pascal-mode): Use it.
10015 (pascal-mode-map): Use completion-at-point.
10016 (pascal-toggle-completions): Make obsolete.
10017 (pascal-complete-word, pascal-show-completions):
10018 * progmodes/octave-mod.el (octave-complete-symbol):
10019 Redefine as obsolete alias.
10020 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10021 Signal absence of completion info for old Octave,
10022 (inferior-octave-complete): Redefine as obsolete alias.
10023 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10024 (meta-completions-at-point): Rename from meta-complete-symbol and
10025 adapt it for use on completion-at-point-functions.
10026 (meta-common-mode): Use it.
10027 (meta-looking-at-backward, meta-match-buffer): Remove.
10028 (meta-complete-symbol): Redefine as obsolete alias.
10029 (meta-common-mode-map): Use completion-at-point.
10030 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10031 (makefile-mode-map): Use completion-at-point.
10032 (makefile-completions-at-point): Rename from makefile-complete and
10033 adapt it for use on completion-at-point-functions.
10034 (makefile-mode): Use it.
10035 (makefile-complete): Redefine as obsolete alias.
10036
aebf69c8
DD
100372011-06-20 Deniz Dogan <deniz@dogan.se>
10038
10039 * net/rcirc.el: Delete trailing whitespaces once and for all.
10040
bfbbb27d
DC
100412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10042
10043 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10044
d264a46b
CY
100452011-06-19 Chong Yidong <cyd@stupidchicken.com>
10046
4ca009e5
CY
10047 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10048
d264a46b
CY
10049 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10050
fbf5b3ce
MR
100512011-06-19 Martin Rudalics <rudalics@gmx.at>
10052
10053 * window.el (display-buffer-other-window-means-other-frame):
10054 Call display-buffer-normalize-alist.
10055 (display-buffer-normalize-specifiers-1): Rename to
10056 display-buffer-normalize-argument. New argument other-frame.
10057 Rewrite.
10058 (display-buffer-normalize-specifiers-2): Rename to
10059 display-buffer-normalize-options.
10060 (display-buffer-normalize-alist-1): New function.
10061 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10062 display-buffer-normalize-alist.
10063 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10064 (display-buffer-normalize-options-inhibit): New variable.
10065 (display-buffer-normalize-specifiers): Rewrite calling
10066 display-buffer-normalize-alist,
10067 display-buffer-normalize-argument, and
10068 display-buffer-normalize-options. Don't call the latter if
10069 display-buffer-normalize-options-inhibit is non-nil.
10070 (frame-auto-delete): New option.
10071 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10072 (window-list-no-nils, window-state-ignored-parameters)
10073 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10074 (window-state-put-1, window-state-put-2, window-state-put):
10075 New functions.
9a028c23
MR
10076 (display-buffer-normalize-options): Move special-display-p group
10077 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10078
6d10d800
CY
100792011-06-18 Chong Yidong <cyd@stupidchicken.com>
10080
6420d28b
CY
10081 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10082 groups (Bug#8776).
10083 (rx-submatch-n): New function.
10084 (rx): Document it.
10085
ddb8b596
CY
10086 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10087 (Bug#8768).
10088
10089 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10090
77080289
CY
10091 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10092
61dfb316
CY
10093 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10094 anytime existing face settings are present (Bug#8889).
10095
6d10d800
CY
10096 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10097 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10098 Remove unused argument.
10099
be3fb2b8
MR
101002011-06-18 Martin Rudalics <rudalics@gmx.at>
10101
bcd70d97
SM
10102 * window.el (display-buffer-default-specifiers):
10103 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10104 pop-up-window-min-width, and another reuse-window specifier
10105 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10106 (display-buffer-normalize-specifiers-2):
10107 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10108 pop-up-windows is unset. Add a reuse-window specifier for the
10109 case popping up a new window fails.
10110 (special-display-popup-frame): Remove double quoting.
28dec25a 10111 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10112
1c6d8c76
SM
101132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10116 according to comint-completion-addsuffix.
10117
10118 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10119 (pcomplete-suffix-list): Mark as obsolete.
10120 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10121 pcomplete-seen in the closure.
10122 (pcomplete-comint-setup): Setup completion-at-point as well.
10123 (pcomplete--entries): New function.
10124 (pcomplete--env-regexp): New var.
10125 (pcomplete-entries): Rewrite to work with partial-completion and
10126 without relying on pcomplete-suffix-list.
10127 (pcomplete-pare-list): Remove, unused.
10128
25aef8b8
MR
101292011-06-17 Martin Rudalics <rudalics@gmx.at>
10130
10131 * window.el (display-buffer-alist): Set pop-up-window-min-height
10132 and pop-up-window-min-width in default value. Reported by
10133 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10134 other-window-means-other-frame.
10135 (display-buffer-macro-specifiers): Comment out entry for
10136 other-window specifier.
10137 (display-buffer-other-window-means-other-frame): New function.
10138 (display-buffer-normalize-specifiers-1): New arguments
10139 buffer-name and label. Treat other-window case specially.
10140 (display-buffer-normalize-specifiers-2): Treat other-window case
10141 specially.
10142 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10143 (display-buffer-normalize-specifiers):
10144 Call display-buffer-normalize-specifiers-3.
25aef8b8 10145
dbad4f69
MR
101462011-06-17 Martin Rudalics <rudalics@gmx.at>
10147
10148 * window.el (same-window-p): Fix two typos introduced when
10149 adding with-no-warnings.
d1067961
MR
10150 (display-buffer-normalize-specifiers-1): Don't check
10151 pop-up-frames for 'unset initialization.
10152 (display-buffer-normalize-specifiers-2): Major rewrite using
10153 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10154 (pop-up-frames, display-buffer-reuse-frames)
10155 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10156 Suggested by David Engster <deng@randomsample.de>.
10157 (even-window-heights): Initialize to 'unset.
10158 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10159 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10160 other window case.
dbad4f69 10161
9b9c9e3a
MR
101622011-06-16 Martin Rudalics <rudalics@gmx.at>
10163
bcd70d97
SM
10164 * window.el (display-buffer-normalize-specifiers-1):
10165 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10166 second argument of display-buffer (Bug#8865).
981d5c09
MR
10167 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10168 (switch-to-buffer-other-window-same-frame)
10169 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10170 Adams (Bug#8875).
9c2755e9
MR
10171 (display-buffer): Don't check noninteractive when calling
10172 display-buffer-pop-up-frame.
10173 (display-buffer-pop-up-frame): Never pop up a frame in
10174 noninteractive mode (Bug#8857).
67222e1d
MR
10175 (enlarge-window, shrink-window): Don't report an error when the
10176 window can't be resized as requested (Bug#8862).
9b9c9e3a 10177
2b75be67
SM
101782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10179
9ffdd3ba
SM
10180 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10181
cb581a67
SM
10182 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10183
2b75be67
SM
10184 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10185
8c0e3589
AM
101862011-06-15 Alan Mackenzie <acm@muc.de>
10187
cb581a67
SM
10188 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10189 for declarators, disable knr checking to speed up for normal files.
10190 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10191
b96e6cde
LMI
101922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10193
4bba86e6
LMI
10194 * net/network-stream.el (open-network-stream): Add the keyword
10195 :always-query-capabilities for the case where you want to force a
10196 `plain' network connection, but the protocol still requires the
10197 capabilitiy command (i.e., SMTP and EHLO).
10198
2b75be67 10199 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10200 consistency with other `-live-p' functions.
10201
efdcdbf8
SM
102022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * window.el (same-window-buffer-names, same-window-regexps)
10205 (special-display-frame-alist, special-display-popup-frame)
10206 (special-display-function, special-display-buffer-names)
10207 (special-display-regexps, pop-up-frame-alist)
10208 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10209 (pop-up-windows, split-window-preferred-function)
10210 (split-height-threshold, split-width-threshold, even-window-heights)
10211 (display-buffer-mark-dedicated): Don't encourage the use of
10212 display-buffer-alist from Elisp code.
10213
c5cde042
DN
102142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10215
10216 * progmodes/python.el (python-mode): Derive from prog-mode.
10217 * progmodes/ps-mode.el (ps-mode):
10218 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10219 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10220 * progmodes/ld-script.el (ld-script-mode): Likewise.
10221
baa1c9ab
MR
102222011-06-15 Martin Rudalics <rudalics@gmx.at>
10223
10224 * window.el (display-buffer-alist): Trim default value to avoid
10225 popping up a new frame (Bug#8857) or reusing an arbitrary window
10226 on another frame.
10227 (display-buffer): Do not fall back on popping up a new frame in
10228 batch mode (Bug#8857).
10229
c5dd5a51
CY
102302011-06-14 Chong Yidong <cyd@stupidchicken.com>
10231
10232 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10233 (custom-theme-summary): New function.
10234 (customize-themes): Use it.
10235
d647b7c4
GM
102362011-06-13 Glenn Morris <rgm@gnu.org>
10237
10238 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10239
9481c002
MR
102402011-06-13 Martin Rudalics <rudalics@gmx.at>
10241
357f93d2
MR
10242 * help.el (help-window): Remove variable.
10243 (help-window-point-marker, temp-buffer-max-height)
10244 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10245 (help-print-return-message): Don't set help-window.
10246 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10247 (help-window-setup-finish): Remove.
10248 (help-window-display-message, help-window-setup)
10249 (with-help-window): Major rewrite based on new
10250 display-buffer-window variable.
10251
10252 * help-mode.el (help-mode-finish): Remove help-window related
10253 code.
10254
10255 * view.el (view-exits-all-viewing-windows): Remove reference to
10256 view-return-to-alist in doc-string.
10257 (view-return-to-alist): Make obsolete.
10258 (view-buffer): Call pop-to-buffer-same-window and remove
10259 undo-window code.
10260 (view-buffer-other-window): Call pop-to-buffer-other-window and
10261 simplify code. Ignore second argument.
10262 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10263 simplify code. Ignore second argument.
10264 (view-return-to-alist-update): Make obsolete.
10265 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10266 Rewrite using quit-restore window parameters.
2b75be67
SM
10267 (view-mode-exit): Rename second argument to EXIT-ONLY.
10268 Rewrite using quit-restore-window.
357f93d2
MR
10269 (View-exit, View-exit-and-edit, View-leave, View-quit)
10270 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10271 appropriate arguments.
10272 (view-end-message): Use quit-restore window parameter.
10273
9481c002
MR
10274 * window.el (display-buffer-function): Rewrite doc-string.
10275 (display-buffer-window, display-buffer-alist): New variables.
10276 (display-buffer-split-specifiers)
10277 (display-buffer-side-specifiers)
10278 (display-buffer-macro-specifiers): New constants.
10279 (display-buffer-even-window-sizes, display-buffer-set-height)
10280 (display-buffer-set-width, display-buffer-select-window)
10281 (display-buffer-in-window, display-buffer-reuse-window)
10282 (display-buffer-split-window-1, display-buffer-split-window)
10283 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10284 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10285 (display-buffer-in-side-window, normalize-buffer-to-display)
10286 (display-buffer-normalize-specifiers-1)
10287 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10288 (display-buffer-normalize-specifiers, display-buffer-frame):
10289 New functions.
9481c002
MR
10290 (display-buffer): Major rewrite.
10291 (display-buffer-other-window, display-buffer-other-frame)
10292 (pop-to-buffer, switch-to-buffer-other-window)
10293 (switch-to-buffer-other-frame): Rewrite.
10294 (display-buffer-same-window, display-buffer-same-frame)
10295 (display-buffer-same-frame-other-window)
10296 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10297 (pop-to-buffer-other-window)
10298 (pop-to-buffer-same-frame-other-window)
10299 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10300 (switch-to-buffer-other-window-same-frame): New functions.
10301 (same-window-p, special-display-p): Rewrite disabling warnings.
10302 Make obsolete.
10303 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10304 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10305 Make obsolete
10306 (same-window-buffer-names, same-window-regexps)
10307 (special-display-frame-alist, special-display-popup-frame)
10308 (special-display-function, special-display-buffer-names)
10309 (special-display-regexps, pop-up-frame-alist)
10310 (pop-up-frame-function, split-window-preferred-function)
10311 (split-height-threshold, split-width-threshold)
10312 (even-window-heights): Make obsolete.
10313
9db51aca
GM
103142011-06-12 Glenn Morris <rgm@gnu.org>
10315
10316 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10317 Misc simplifications.
9db51aca 10318
39cffb44
MR
103192011-06-12 Martin Rudalics <rudalics@gmx.at>
10320
10321 * window.el (window-safely-shrinkable-p): Restore function which
10322 was inadvertently removed in change from 2011-06-11. Declare as
10323 obsolete.
10324
2b75be67
SM
10325 * calendar/calendar.el (calendar-generate-window):
10326 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10327 window-safely-shrinkable-p.
10328
a8955be7
GM
103292011-06-12 Glenn Morris <rgm@gnu.org>
10330
10331 * progmodes/fortran.el (fortran-mode-syntax-table):
10332 * progmodes/f90.el (f90-mode-syntax-table):
10333 Set % to punctuation. (Bug#8820)
10334 (f90-find-tag-default): Remove, no longer needed.
10335
f0d4059d
DC
103362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10337
10338 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10339
1100a63c
CY
103402011-06-11 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * image.el (image-animated-p): Return animation delay in seconds.
10343 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10344 (image-animate-timeout): Remove DELAY argument. Don't assume
10345 every subimage has the same delay; get it from image-animated-p.
10346 (image-animate): Caller changed.
10347
def722bf
MA
103482011-06-11 Michael Albinus <michael.albinus@gmx.de>
10349
10350 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10351 to ignored backtrace functions.
10352
0a2bb1a9
GM
103532011-06-11 Glenn Morris <rgm@gnu.org>
10354
10355 * calendar/appt.el (appt-disp-window-function): Doc fix.
10356 (appt-check): Handle overlapping appointments. (Bug#8337)
10357
6198ccd0
MR
103582011-06-11 Martin Rudalics <rudalics@gmx.at>
10359
10360 * window.el (window-tree-1, window-tree): New functions, moving
10361 the latter to window.el.
10362 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10363 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10364 (bw-refresh-edges): Remove.
10365 (balance-windows-1, balance-windows-2): New functions.
10366 (balance-windows): Rewrite in terms of window tree functions,
10367 balance-windows-1 and balance-windows-2.
10368 (bw-adjust-window): Remove.
10369 (balance-windows-area-adjust): New function with functionality of
10370 bw-adjust-window but using resize-window.
2b75be67
SM
10371 (set-window-text-height): Rewrite doc-string.
10372 Use normalize-live-window and resize-window.
10373 (enlarge-window-horizontally, shrink-window-horizontally):
10374 Rename argument to DELTA.
6198ccd0
MR
10375 (window-buffer-height): New function.
10376 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10377 Rewrite using new window resize routines.
2b75be67
SM
10378 (kill-buffer-and-window, mouse-autoselect-window-select):
10379 Use ignore-errors instead of condition-case.
6198ccd0
MR
10380 (quit-window): Call delete-frame instead of delete-windows-on
10381 for the only buffer on frame.
10382
9397e56f
MR
103832011-06-10 Martin Rudalics <rudalics@gmx.at>
10384
10385 * loadup.el (top-level): Load window before files for the sake
10386 of replace-buffer-in-windows.
10387
10388 * files.el (read-buffer-to-switch)
10389 (switch-to-buffer-other-window)
2b75be67
SM
10390 (switch-to-buffer-other-frame, display-buffer-other-frame):
10391 Move to window.el.
9397e56f
MR
10392
10393 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10394 (previous-buffer): Move to window.el.
10395
10396 * bindings.el (unbury-buffer): Move to window.el.
10397
10398 * window.el (delete-other-windows-vertically): Move after
10399 definition of delete-other-windows.
10400 (other-window, delete-windows-on, replace-buffer-in-windows):
10401 Move here from window.c.
10402 (record-window-buffer, unrecord-window-buffer)
10403 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10404 (switch-to-next-buffer): New functions.
10405 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10406 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10407 (previous-buffer): Move here from simple.el.
10408 Call switch-to-prev-buffer.
9397e56f
MR
10409 (bury-buffer): Move here from buffer.c. Switch to previous
10410 buffer when window cannot be deleted.
10411 (unbury-buffer): Move here from bindings.el.
10412 (ctl-x-map): Move binding for other-window from window.c to
10413 here.
10414 (read-buffer-to-switch, switch-to-buffer-other-window)
10415 (switch-to-buffer-other-frame): Move here from files.el.
10416 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10417 (switch-to-buffer): Move here from buffer.c.
10418 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10419
562dd5e9
MR
104202011-06-10 Martin Rudalics <rudalics@gmx.at>
10421
10422 * window.el (window-min-height, window-min-width): Move here
10423 from window.c. Add defcustoms and rewrite doc-strings.
10424 (resize-mini-window, resize-window): New functions.
10425 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10426 Move here from window.c.
10427 (maximize-window, minimize-window): New functions.
10428 (delete-window, delete-other-windows, split-window): Move here
10429 from window.c.
10430 (window-split-min-size): New function.
10431 (split-window-keep-point): Mention split-window-above-each-other
10432 instead of split-window-vertically.
2b75be67 10433 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10434 Rename split-window-vertically to split-window-above-each-other
10435 and provide defalias for old definition.
10436 (split-window-side-by-side, split-window-horizontally):
10437 Rename split-window-horizontally to split-window-side-by-side
10438 and provide defalias for the old definition.
562dd5e9
MR
10439 (ctl-x-map): Move bindings for delete-window,
10440 delete-other-windows and enlarge-window here from window.c.
10441 Replace bindings for split-window-vertically and
10442 split-window-horizontally by bindings for
10443 split-window-above-each-other and split-window-side-by-side.
10444
10445 * cus-start.el (all): Remove entries for window-min-height and
10446 window-min-width. Add entries for window-splits and
10447 window-nest.
10448
f0da764a
GM
104492011-06-09 Glenn Morris <rgm@gnu.org>
10450
80675c21
GM
10451 * calendar/appt.el (appt-mode-line): New function.
10452 (appt-check, appt-disp-window): Use it.
10453
f0da764a
GM
10454 * files.el (hack-one-local-variable-eval-safep):
10455 Allow minor-modes with explicit +/-1 arguments.
10456
59f623b7
TZ
104572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10458
10459 * term/xterm.el (xterm): Add defgroup.
10460 (xterm-extra-capabilities): Add defcustom to supply known xterm
10461 capabilities, skip querying them, or query them (default).
10462 (terminal-init-xterm): Use it.
10463 (terminal-init-xterm-modify-other-keys): New function to set up
10464 modifyOtherKeys support to simplify `terminal-init-xterm'.
10465
9aab8e0d
MR
104662011-06-09 Martin Rudalics <rudalics@gmx.at>
10467
10468 * window.el (resize-window-reset, resize-window-reset-1)
10469 (resize-subwindows-skip-p, resize-subwindows-normal)
10470 (resize-subwindows, resize-other-windows, resize-this-window)
10471 (resize-root-window, resize-root-window-vertically)
10472 (window-deletable-p, window-or-subwindow-p)
10473 (frame-root-window-p): New functions.
10474
e8b08aee
GM
104752011-06-09 Glenn Morris <rgm@gnu.org>
10476
10477 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10478 (ange-ftp-get-files): Use it.
10479
254c37a5
AK
104802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10481
10482 * mail/sendmail.el (mail-recover-1, mail-recover):
10483 * files.el (recover-file, recover-session):
10484 Handle dired-listing-switches not being just a single short option.
10485
35d7dbd3
GM
104862011-06-09 Glenn Morris <rgm@gnu.org>
10487
10488 * calendar/appt.el (appt-display-message, appt-disp-window):
10489 Handle lists of appointments.
10490
387522b2
MR
104912011-06-08 Martin Rudalics <rudalics@gmx.at>
10492
2b75be67
SM
10493 * window.el (one-window-p): Move down in code.
10494 Rewrite doc-string.
10495 (window-current-scroll-bars): Rewrite doc-string.
10496 Normalize live window argument.
387522b2
MR
10497 (walk-windows, get-window-with-predicate, count-windows):
10498 Rewrite doc-string. Use window-list-1.
10499 (window-in-direction-2, window-in-direction, get-mru-window):
10500 New functions.
10501
d8e4b68b 105022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10503
10504 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10505 Doc fix (Bug#8713).
10506
105072011-06-08 Chong Yidong <cyd@stupidchicken.com>
10508
10509 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10510
105112011-06-08 Juanma Barranquero <lekktu@gmail.com>
10512
10513 * loadhist.el (unload-feature-special-hooks):
10514 Add `comint-output-filter-functions'.
10515
0de12c52
IK
105162011-06-08 Ivan Kanis <gnu@kanis.fr>
10517
10518 * calendar/appt.el (appt-check): Move some initializations into the let.
10519
f3d1777e
MR
105202011-06-08 Martin Rudalics <rudalics@gmx.at>
10521
10522 * window.el (window-height): Defalias to window-total-height.
10523 (window-width): Defalias to window-body-width.
10524
18af70d0
CY
105252011-06-07 Chong Yidong <cyd@stupidchicken.com>
10526
10527 * image-mode.el (image-toggle-animation): New command.
10528 (image-mode-map): Bind it to RET.
10529 (image-mode): Update message.
10530 (image-toggle-display-image): Avoid a spurious cache flush.
10531 (image-transform-rotation): Doc fix.
10532 (image-transform-properties): Return quickly in the normal case.
10533 (image-animate-loop): Rename from image-animate-max-time.
10534
2b75be67 10535 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10536 (create-animated-image): Remove unnecessary function.
10537 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10538 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10539 (image-animate-timer): Use car-safe.
10540 (image-animate-timeout): Rename argument.
10541
190b47e6
MR
105422011-06-07 Martin Rudalics <rudalics@gmx.at>
10543
10544 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10545 window.c. Rename first argument to ALL-FRAMES.
10546 Rephrase doc-strings.
10547 (get-buffer-window-list): Rewrite using window-list-1.
10548 Rephrase doc-string.
a1511caf
MR
10549 (window-safe-min-height, window-safe-min-width): New constants.
10550 (window-size-ignore, window-min-size, window-min-size-1)
10551 (window-sizable, window-sizable-p, window-size-fixed-1)
10552 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10553 (window-max-delta-1, window-max-delta, window-resizable)
10554 (window-resizable-p, window-total-height, window-total-width)
10555 (window-body-width): New functions.
10556 (window-full-height-p, window-full-width-p): Rewrite using
10557 window-total-size.
10558 (window-body-height): Rewrite using window-body-size.
190b47e6 10559
85cc1f11
MR
105602011-06-06 Martin Rudalics <rudalics@gmx.at>
10561
10562 * window.el (window-right, window-left, window-child)
10563 (window-child-count, window-last-child, window-any-p)
10564 (normalize-live-buffer, normalize-live-frame)
10565 (normalize-any-window, normalize-live-window)
10566 (window-iso-combination-p, window-iso-combined-p)
10567 (window-iso-combinations)
10568 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10569 (windows-with-parameter, window-with-parameter)
10570 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10571 (window-atom-check, window-side-check, window-check):
10572 New functions.
85cc1f11
MR
10573 (ignore-window-parameters, window-sides, window-sides-vertical)
10574 (window-sides-slots): New variables.
10575 (window-size-fixed): Move down in code. Minor doc-string fix.
10576
e7156492
AS
105772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10578
10579 * comint.el (comint-dynamic-complete-as-filename)
10580 (comint-dynamic-complete-filename): Correctly call
10581 completion-in-region.
10582
7e821d0d
DD
105832011-06-05 Deniz Dogan <deniz@dogan.se>
10584
10585 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10586 in last change.
10587
ac09b8a1
DD
105882011-06-05 Deniz Dogan <deniz@dogan.se>
10589
10590 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10591 (rcirc): Use it to prompt for encryption.
10592
34699b85
RW
105932011-06-05 Roland Winkler <winkler@gnu.org>
10594
10595 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10596 (bibtex-search-entries): New command bound to C-c C-a.
10597 (bibtex-display-entries): New function.
10598
004dedd3
RW
105992011-06-05 Roland Winkler <winkler@gnu.org>
10600
10601 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10602 (bibtex-insert-kill): After yanking insert newline if necessary.
10603 (bibtex-initialize): Call bibtex-string-files-init only once.
10604 (bibtex-mode): Do not call easy-menu-add.
10605 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10606 (bibtex-yank): Set arg properly if nil.
10607
022fe7ce
RW
106082011-06-05 Roland Winkler <winkler@gnu.org>
10609
2b75be67
SM
10610 * textmodes/bibtex.el (bibtex-search-entry-globally):
10611 New variable.
022fe7ce
RW
10612 (bibtex-search-entry): Use it.
10613
b7c3692a
RW
106142011-06-05 Roland Winkler <winkler@gnu.org>
10615
10616 * textmodes/bibtex.el (bibtex-entry-format): New option
10617 sort-fields.
10618 (bibtex-format-entry, bibtex-reformat): Honor this option.
10619 (bibtex-parse-entry): Return fields in proper order.
10620
8eda563d
JB
106212011-06-05 Juanma Barranquero <lekktu@gmail.com>
10622
10623 * doc-view.el (doc-view-remove-if): Move computation of result out
10624 of `dolist' to silence misleading lexical-binding warning.
10625
7dbe3dbc
CY
106262011-06-04 Chong Yidong <cyd@stupidchicken.com>
10627
10628 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10629 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10630
0c33dd17
MA
106312011-06-04 Michael Albinus <michael.albinus@gmx.de>
10632
10633 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10634 "SunOS 5.10".
10635
f8f91c2b
MA
106362011-06-04 Michael Albinus <michael.albinus@gmx.de>
10637
10638 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10639 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10640 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10641 (tramp-parse-putty):
10642 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10643 (tramp-completion-function-alist-ssh)
10644 (tramp-completion-function-alist-telnet)
10645 (tramp-completion-function-alist-su)
10646 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10647 cookie.
10648
10649 * net/tramp-ftp.el:
10650 * net/tramp-sh.el:
10651 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10652 load "tramp.el" `tramp-set-completion-function'.
10653
e17d9003
SM
106542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10655
10656 * shell.el: Require and use pcomplete.
10657 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10658 (shell-completion-vars): Set pcomplete-default-completion-function.
10659
6c4cab03
DD
106602011-06-04 Deniz Dogan <deniz@dogan.se>
10661
10662 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10663 `memq' (Bug#8799).
10664
ea9fafe0
SM
106652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10668
b3e945d3
JB
106692011-06-02 Juanma Barranquero <lekktu@gmail.com>
10670
10671 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10672 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10673 * vc/log-view.el (log-view-beginning-of-defun):
10674 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10675 (smerge-refine-forward, smerge-refine-chopup-region):
10676 Silence warning for unused `dotimes' counter variables.
10677
7d520089
SM
106782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * net/tramp.el (tramp-with-progress-reporter): Rename from
10681 with-progress-reporter. Use `declare'.
10682 * net/tramp-smb.el:
10683 * net/tramp-sh.el:
10684 * net/tramp-gvfs.el: Update all uses.
10685
a1c2400f
JB
106862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10687
10688 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10689 buffer isn't killed before making it current.
10690
2403c841
SM
106912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 Silence various byte-compiler warnings.
10694 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10695 `access-type' and new obsolescence format.
10696 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10697 new format.
10698 (byte-compile-check-variable): New `access-type' argument.
10699 Only warn if the access-type is obsolete.
10700 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10701 (byte-compile-variable-set): Adjust callers.
10702 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10703 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10704 setting it as obsolete.
10705 * simple.el (minibuffer-completing-symbol):
10706 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10707 access as obsolete.
10708 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10709 obsolete yet.
10710 * international/quail.el (quail-mouse-choose-completion): Remove unused
10711 code referring to obsolete var.
10712 (quail-choose-completion-string): Remove.
10713 * server.el (server-clients-with, server-kill-buffer-query-function)
10714 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10715 * proced.el (proced-send-signal):
10716 * emacs-lisp/lisp.el (lisp-complete-symbol):
10717 Replace completion-annotate-function with completion-extra-properties.
10718
2462470b
SM
107192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10720
fb5b2591
SM
10721 * simple.el (goto-line): Use read-number.
10722 (overriding-map-is-bound): Remove.
10723 (saved-overriding-map): Change default.
10724 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10725 Take the map as argument.
10726 (universal-argument, negative-argument, digit-argument): Use it.
10727 (restore-overriding-map): Adjust.
10728 (do-auto-fill): Use fill-forward-paragraph.
10729 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10730
fd6fa53f
SM
10731 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10732 (minibuffer-inactive-mode): New major mode.
10733 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10734 the *Messages* buffer" hack.
10735 (mouse-popup-menubar): Don't burp if the event is a normal key.
10736
2462470b
SM
10737 Miscellaneous tweaks.
10738 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10739 lexical scoping as in subr.el's dolist and dotimes.
10740 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10741 Silence compiler warning.
10742 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10743 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10744 * international/ccl.el (ccl-compile): Trivial simplification.
10745 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10746 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10747 `printflag' argument.
10748 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10749 Purecopy the whole obsolescence data.
10750
108bf785
LL
107512011-06-01 Leo Liu <sdl.web@gmail.com>
10752
10753 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10754 improve doc-string as suggested by Marco Pessotto
10755 <melmothx@gmail.com>.
10756 (rcirc-print): Fix last change.
10757
30a23501
SM
107582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * minibuffer.el (complete-with-action): Return nil for the metadata and
10761 boundaries of non-functional tables.
10762 (completion-table-dynamic): Return nil for the metadata.
10763 (completion-table-with-terminator): Add default case, using
10764 complete-with-action.
10765 (completion--metadata): New function.
10766 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10767 to try and avoid pathological performance problems.
10768 (completion--embedded-envvar-table): Return `category' metadata.
10769
bcd54f83
LMI
107702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10771
10772 * subr.el (process-alive-p): New tiny convenience function.
10773
e227544d
SM
107742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10777 content but also its previous major mode.
10778
e8296fdc
HE
107792011-05-31 Helmut Eller <eller.helmut@gmail.com>
10780
4d61f28d 10781 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10782 *Backtrace* buffer when we exit with C-M-c.
10783
620c53a6
SM
107842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * minibuffer.el: Add metadata method to completion tables.
10787 (completion-category-overrides): New defcustom.
10788 (completion-metadata, completion--field-metadata)
10789 (completion-metadata-get, completion--styles)
10790 (completion--cycle-threshold): New functions.
10791 (completion-try-completion, completion-all-completions):
10792 Add `metadata' argument to choose completion-styles.
10793 (completion--do-completion): Use metadata to choose cycling.
10794 (completion-all-sorted-completions): Use metadata for sorting.
10795 Remove :completion-cycle-penalty which is not needed any more.
10796 (completion--try-word-completion): Add `metadata' argument.
10797 (minibuffer-completion-help): Check metadata for annotation function
10798 and sorting.
10799 (completion-file-name-table): Return `category' metadata.
10800 (minibuffer-completing-file-name): Make obsolete.
10801 * simple.el (minibuffer-completing-symbol): Make obsolete.
10802 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10803 completion-try-completion.
10804
1257e755
SM
108052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10808
3767e706
LL
108092011-05-30 Leo Liu <sdl.web@gmail.com>
10810
10811 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10812 (rcirc-print): Decode all incoming messages (bug#8744).
10813 (rcirc-decode-coding-system): Allow value nil for automatic coding
10814 system detection.
3767e706 10815
d1a5d56a
GM
108162011-06-01 Glenn Morris <rgm@gnu.org>
10817
10818 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10819
e8cbec34
CY
108202011-05-29 Chong Yidong <cyd@stupidchicken.com>
10821
10822 * image.el (image-animate-max-time): Allow nil and t values.
10823 Default to nil.
10824 (create-animated-image): Doc fix.
10825 (image-animate-start): Remove second arg; just use
10826 image-animate-max-time.
10827 (image-animate-timeout): Doc fix. Args changed.
10828
10829 * image-mode.el (image-toggle-display-image): Ensure that the
10830 image spec passed to the animate timer is the same object as in
58179cce 10831 the buffer's display property (Bug#6981).
e8cbec34
CY
10832 (image-transform-properties): Doc fix.
10833
10834 * image.el (image-animate-max-time): Default to nil.
10835
159daf87
MR
108362011-05-29 Martin Rudalics <rudalics@gmx.at>
10837
10838 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10839 entire buffer list (Bug#8184).
10840
d66c4c7c
CY
108412011-05-29 Chong Yidong <cyd@stupidchicken.com>
10842
10843 * image.el (imagemagick-types-inhibit)
10844 (imagemagick-register-types): Doc fix.
10845
80aec780
DD
108462011-05-29 Deniz Dogan <deniz@dogan.se>
10847
10848 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10849 default.
10850
1dd3c2d9
CY
108512011-05-29 Chong Yidong <cyd@stupidchicken.com>
10852
10853 * select.el: Don't perform clipboard-manager saving in hooks;
10854 leave the hooks empty.
10855
60e56523
LL
108562011-05-28 Leo Liu <sdl.web@gmail.com>
10857
10858 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10859 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10860 (occur-edit-mode): New major mode (Bug#8463).
10861 (occur-after-change-function): New function.
10862 (occur-engine): Give Occur tags a read-only property.
10863
2b1e1a22
KR
108642011-05-28 Kevin Ryde <user42@zip.com.au>
10865
10866 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10867
5d344e88
CY
108682011-05-28 Chong Yidong <cyd@stupidchicken.com>
10869
8e6ca83d
CY
10870 * bindings.el (help-echo): Make the initial non-indicator dash
10871 empty on graphical terminals (Bug#7295).
10872
5d344e88
CY
10873 * files.el (auto-mode-alist): Move config rule after the
10874 in-stripping one (Bug#8547).
10875
bfbbace7
CY
10876 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10877
fbeba6e2
CY
10878 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10879 setting (Bug#8740).
10880
60ed8c72
AA
108812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10882
4ac619f0
AA
10883 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10884 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10885 (Bug#8539).
60ed8c72 10886
23db196e
CY
108872011-05-28 Chong Yidong <cyd@stupidchicken.com>
10888
10889 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10890
5012f24c
DK
108912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10892
10893 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10894 (hs-hide-block-at-point, hs-find-block-beginning)
10895 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10896 (Bug#8279).
10897
6a639b16
GM
108982011-05-28 Glenn Morris <rgm@gnu.org>
10899
10900 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10901
d43eaf2c
CY
109022011-05-28 Chong Yidong <cyd@stupidchicken.com>
10903
5199bde1
CY
10904 * help-fns.el (describe-function-1): If the function is a derived
10905 major mode, print the parent mode.
10906
d43eaf2c
CY
10907 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10908 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10909
423428a8
SM
109102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10911
0ff8e1ba 10912 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10913 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10914 * progmodes/etags.el (tags-completion-at-point-function):
10915 * info-look.el (info-lookup-completions-at-point): Mark as
10916 non-exclusive.
10917 (info-complete): Adjust accordingly.
10918
423428a8
SM
10919 * info-look.el: Convert to lexical-binding and completion-at-point.
10920 (info-lookup-completions-at-point): New function.
10921 (info-complete): Use it and completion-in-region.
10922
b74aa22b
DA
109232011-05-28 Drew Adams <drew.adams@oracle.com>
10924
10925 * isearch.el: Let M-e start with point at the first mismatched char.
10926 (isearch-fail-pos): New function.
10927 (isearch-edit-string): Use it.
10928
66e2e71d
DK
109292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10930
10931 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10932
b1890b0f 109332011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10934
10935 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10936 traversal functions for avl-trees.
10937 (avl-tree--stack): New struct.
10938 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10939 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10940 (avl-tree--do-enter): Add optional `updatefun' arg.
10941 Change return value.
eb95d01d 10942 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10943 (avl-tree--do-delete): Add `test' and `nilflag' args.
10944 Change return value.
eb95d01d
TC
10945 (avl-tree-member): Add optional `nilflag'
10946 (avl-tree-member-p): New function.
10947 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10948 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10949 (avl-tree-stack-empty-p): New functions.
10950
3769ddcf
TC
10951 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10952 avl-tree--del-balance1 and make it work both ways.
10953 (avl-tree--del-balance2): Remove.
10954 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10955 make it work both ways.
10956 (avl-tree--enter-balance2): Remove.
10957 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10958 New macros.
10959 (avl-tree--mapc, avl-tree-map): Add direction argument.
10960
eb95d01d 109612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10962
10963 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10964
a9f737ee
CY
109652011-05-27 Chong Yidong <cyd@stupidchicken.com>
10966
10967 * select.el: Support clipboard managers with built-in function
10968 x-clipboard-manager-save, via delete-frame-functions and
10969 kill-emacs-hook.
10970 (xselect-convert-to-targets): Add MULTIPLE target to list.
10971 (xselect-convert-to-save-targets): New function.
10972
c92a1e54
KH
109732011-05-27 Kenichi Handa <handa@m17n.org>
10974
10975 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10976 let-binding rfc2047-encode-encoded-words to nil.
10977
e145f188
GM
109782011-05-27 Glenn Morris <rgm@gnu.org>
10979
5ec8a862
GM
10980 * mail/emacsbug.el: Don't require url-util.
10981
4b29d9fb
GM
10982 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10983
e145f188
GM
10984 * files.el (set-auto-mode):
10985 Also respect mode: entries at the end of the file. (Bug#8586)
10986
7d15102b
GM
109872011-05-26 Glenn Morris <rgm@gnu.org>
10988
98f593b8
GM
10989 * files.el (hack-local-variables-prop-line, hack-local-variables):
10990 Downcase mode names, as seems to be traditional.
27b48e63 10991 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10992
7d15102b
GM
10993 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10994 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10995
51d5b4ec
JD
109962011-05-25 Julien Danjou <julien@danjou.info>
10997
10998 * textmodes/rst.el (rst-define-level-faces): Do not define face
10999 symbol if it is already defined.
11000
91513f63
VB
110012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11002
11003 * play/5x5.el (5x5-new-game, 5x5-randomize):
11004 Reset 5x5-solver-output to nil when a new grid is cast.
11005 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11006 these debugging traces, as defmacro breaks the compiled code.
11007
4d90d6d0
DK
110082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11009
11010 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11011
e1b90ef6
LL
110122011-05-24 Leo Liu <sdl.web@gmail.com>
11013
11014 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11015 (vc-bzr-sha1): Adapt.
11016
d8e4b68b 11017 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11018
11019 * bindings.el: Provide sha1 feature.
11020
db0406bb 110212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11022
11023 * mail/sendmail.el: Require `rfc2047'.
11024 (mail-insert-from-field): Do not perform RFC2047 encoding.
11025 (mail-encode-header): New function.
11026 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11027 buffer to the return value of select-message-coding-system.
11028 Call mail-encode-header.
b8d747b9
KH
11029
11030 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11031
db0406bb 110322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11033
4d90d6d0
DK
11034 * mail/supercite.el (sc-default-cite-frame):
11035 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11036
eb8a5e9b
GM
110372011-05-24 Glenn Morris <rgm@gnu.org>
11038
f8630703
GM
11039 * progmodes/python.el (brm-menu): Declare.
11040
8831bbed
GM
11041 * emulation/viper.el (viper-set-hooks): Declare.
11042
eb8a5e9b
GM
11043 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11044 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11045 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11046 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11047 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11048 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11049
a2a25d24
SM
110502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 Add an :exit-function for completion-at-point.
11053
11054 * minibuffer.el (completion--done): New fun.
11055 (completion--do-completion): Use it. New arg `expect-exact'.
11056 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11057 since completion--do-completion does it for us now.
11058 (minibuffer-force-complete): Use completion--done and
11059 completion--replace. Handle sole-completion case with more care.
11060 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11061 (completion-extra-properties): New var.
11062 (completion-annotate-function): Make obsolete.
11063 (minibuffer-completion-help): Adjust accordingly.
11064 Use completion-list-insert-choice-function.
11065 (completion-at-point, completion-help-at-point):
11066 Bind completion-extra-properties.
11067 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11068 * simple.el (completion-list-insert-choice-function): New var.
11069 (completion-setup-function): Preserve it.
11070 (choose-completion): Pay attention to it, shuffle the code a bit.
11071 (choose-completion-string): New arg `insert-function'.
11072
11073 * textmodes/bibtex.el: Convert to lexical binding.
11074 (bibtex-mode-map): Use completion-at-point.
11075 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11076 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11077 (bibtex-complete): Define as obsolete alias.
11078 (bibtex-complete-internal): Remove.
11079 (bibtex-format-entry): Remove unused sub-group in regexp.
11080 * shell.el (shell--command-completion-data)
11081 (shell-environment-variable-completion):
11082 * pcomplete.el (pcomplete-completions-at-point):
11083 * comint.el (comint--complete-file-name-data): Use :exit-function
11084 instead of completion-table-with-terminator so it also works for
11085 choose-completion.
11086
e44e373d
SM
110872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11088
4f91a816
SM
11089 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11090
782fc819
SM
11091 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11092 (bug#8710).
11093
e44e373d
SM
11094 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11095
381987c3
KM
110962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11097
11098 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11099 customization variable and implement: If non-nil, auto-fill will
11100 be inhibited while on topic's header line.
11101
b776bc70
VB
111022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11103
11104 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11105 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11106 always have a solution in grid size = 5 cases.
11107 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11108 (5x5-solver-output, 5x5-log-buffer): New vars.
11109 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11110 Make these variables buffer local to achieve 5x5 multi-session-ness.
11111 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11112 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11113 (5x5-solve-suggest): New funs.
11114 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11115 randomize a grid so that we ensure that there is always a solution.
11116 (5x5-make-random-grid): Allow other movement than flipping.
11117
7de88b6e
KR
111182011-05-23 Kevin Ryde <user42@zip.com.au>
11119
11120 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11121 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11122 advice and passes PREDICATE.
11123
b1ef1257
SM
111242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11125
bbca48fe
SM
11126 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11127 byte-compile-lambda if it's actually a lambda.
11128
b1ef1257
SM
11129 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11130 Fix function quoting. Use backquote better.
11131
92a9cc65
YS
111322011-05-22 Yuanle Song <sylecn@gmail.com>
11133
11134 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11135 matching (Bug#8516).
11136
f0fb8059
JA
111372011-01-22 Jari Aalto <jari.aalto@cante.net>
11138
11139 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11140 different face (Bug#8178).
11141
d5b44c93
CY
111422011-05-22 Chong Yidong <cyd@stupidchicken.com>
11143
11144 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11145 defface (Bug#8144).
11146
79106a44
SM
111472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11148
9c848d8a
SM
11149 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11150 funcall as well (bug#8712). Warn when performing those conversions.
11151 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11152
79106a44
SM
11153 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11154
88dfa756
GM
111552011-05-22 Glenn Morris <rgm@gnu.org>
11156
11157 * files.el (hack-local-variables-prop-line): Small simplifications.
11158 (hack-local-variables, hack-local-variables-prop-line):
11159 If MODE-ONLY, return the mode, rather than just `t'.
11160
b7cf2c79
SM
111612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11164
3f1a8558
GM
111652011-05-21 Glenn Morris <rgm@gnu.org>
11166
7e4ccca3
GM
11167 * files.el (hack-local-variables-prop-line, hack-local-variables):
11168 If only interested in the mode, don't bother doing the other stuff.
11169
637d46ca
GM
11170 * image-mode.el (image-after-revert-hook):
11171 Redraw all frames on which the image is visible. (Bug#8567)
11172
973d955b
GM
11173 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11174
3f1a8558
GM
11175 * wid-edit.el (widget-checklist-match-inline):
11176 Fix 2011-04-19 change. (Bug#8649)
11177
96479927
SM
111782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11179
1dcf791f
SM
11180 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11181 Also allow singlespace after single-letter capitals followed by a dot.
11182
96479927
SM
11183 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11184 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11185
35fd0881
N
111862011-05-20 Nix <nix@esperi.org.uk>
11187
11188 * files.el (basic-save-buffer-2):
11189 Fix handling of break-hardlink-on-save with non-existent files.
11190
82745640
DD
111912011-05-19 Deniz Dogan <deniz@dogan.se>
11192
11193 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11194 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11195
4a720484
GM
111962011-05-19 Glenn Morris <rgm@gnu.org>
11197
d1f21341
GM
11198 * progmodes/f90.el (f90-type-def-re):
11199 Handle "type, bind(c)". (Bug#8691)
11200
4a720484
GM
11201 * emacs-lisp/autoload.el (batch-update-autoloads):
11202 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11203
2fb0a219
MA
112042011-05-18 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11207 property for the correct connection in case of multihops.
11208
e565dd37
GM
112092011-05-18 Glenn Morris <rgm@gnu.org>
11210
c2571358 11211 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11212 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11213
e565dd37
GM
11214 Rationalize calendar handling of day and month abbrev-arrays.
11215 * calendar/calendar.el (calendar-customized-p): New function.
11216 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11217 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11218 Add :set function.
11219 (calendar-abbrev-length, calendar-day-abbrev-array)
11220 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11221 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11222 Elements may no longer be nil.
11223 (calendar-day-name, calendar-month-name):
11224 Update for changed nature of abbrev arrays.
11225 * calendar/diary-lib.el (diary-name-pattern):
11226 Update for changed nature of abbrev arrays.
11227 (diary-mark-entries-1): Update calendar-make-alist calls.
11228 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11229 * calendar/cal-html.el (cal-html-day-abbrev-array):
11230 Simply inherit from calendar-day-abbrev-array.
11231
1d99a745
SM
112322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * progmodes/grep.el (grep-mode): Disable default
11235 compilation-directory-matcher setting (bug#8684).
11236
7c1d9aa0
MA
112372011-05-17 Michael Albinus <michael.albinus@gmx.de>
11238
11239 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11240 instead of "head" and "tail". There were problems with SunOS 5.9,
11241 and it performs better.
11242
3952e9d8
GM
112432011-05-17 Glenn Morris <rgm@gnu.org>
11244
2dd12e7f
GM
11245 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11246
e4157b9c
GM
11247 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11248 Replace obsolete function.
11249
8e249bbd
GM
11250 * shell.el (pcomplete-parse-arguments-function): Declare.
11251
3952e9d8
GM
11252 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11253 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11254 (appt-check): Doc fixes.
11255 (appt-disp-window-function, appt-delete-window-function):
11256 Remove needless special case in custom :type.
11257 (appt-display-count): Default to 0, not nil.
11258 (appt-check): Reset appt-display-count to 0, not nil.
11259
c71a0d48 112602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11261
c71a0d48
GM
11262 * progmodes/python.el (python-font-lock-keywords):
11263 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11264
31d55be9
SM
112652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11268
3bfacb2f
KR
112692011-05-16 Kevin Ryde <user42@zip.com.au>
11270
11271 * info-look.el (makefile-automake-mode): New setups, looking in
11272 automake manual, then makefile-mode.
11273 (makefile-mode): Remove automake manual, have it just in
11274 makefile-automake-mode since there's various things different or
11275 not relevant to plain make.
11276 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11277 believe a hypothetical automake-mode would go to makefile-mode,
11278 not the other way around.
11279
c8e83751
CY
112802011-05-15 Chong Yidong <cyd@stupidchicken.com>
11281
5e9e35cd
CY
11282 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11283 hunk-end tags (Bug#8672).
11284
c8e83751
CY
11285 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11286 vc-annotate-show-diff-revision-at-line (Bug#8671).
11287
50b23e5a
GM
112882011-05-14 Glenn Morris <rgm@gnu.org>
11289
7210a739
GM
11290 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11291 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11292 (change-log-font-lock-keywords): Also handle multiple author lines
11293 with leading tabs. (Bug#8644)
7210a739 11294
4691905a
GM
11295 * calendar/appt.el (appt-check): Rename some local variables.
11296 Some simplification/reordering.
11297
50b23e5a
GM
11298 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11299 (feedmail-sendmail-f-doesnt-sell-me-out)
11300 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11301 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11302 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11303 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11304 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11305 (feedmail-binmail-gnulinuxish-template):
11306 Rename from feedmail-binmail-linuxish-template.
11307 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11308 Use insert-buffer-substring.
11309
215cda7c
BC
113102011-05-14 Bill Carpenter <bill@carpenter.org>
11311
11312 * mail/feedmail.el (feedmail-patch-level): Increase.
11313 (feedmail-debug): New custom group.
11314 (feedmail-confirm-outgoing-timeout)
11315 (feedmail-sendmail-f-doesnt-sell-me-out)
11316 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11317 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11318 (feedmail-sender-line, feedmail-from-line)
11319 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11320 (feedmail-spray-this-address)
215cda7c
BC
11321 (feedmail-spray-address-fiddle-plex-list)
11322 (feedmail-queue-use-send-time-for-date)
11323 (feedmail-queue-use-send-time-for-message-id)
11324 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11325 (feedmail-buffer-eating-function):
11326 Doc fixes.
11327 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11328 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11329 (feedmail-message-action-scroll-down): New functions.
11330 (feedmail-queue-directory, feedmail-queue-draft-directory):
11331 Use expand-file-name.
11332 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11333 Remove C-v help entry.
11334 (feedmail-queue-buffer-file-name): New variable.
11335 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11336 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11337 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11338 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11339 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11340 (feedmail-message-action-toggle-spray)
11341 (feedmail-run-the-queue-no-prompts)
11342 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11343 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11344 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11345 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11346 (feedmail-envelope-deducer, feedmail-fiddle-from)
11347 (feedmail-fiddle-sender, feedmail-default-date-generator)
11348 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11349 (feedmail-fiddle-spray-address)
11350 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11351 (feedmail-fiddle-list-of-fiddle-plexes)
11352 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11353 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11354 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11355 Change default. Doc fix.
11356 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11357 (feedmail-binmail-linuxish-template): New constant.
11358 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11359 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11360 (feedmail-send-it): Add debug call.
11361 Use feedmail-queue-buffer-file-name, and
11362 feedmail-send-it-immediately-wrapper.
11363 (feedmail-message-action-send): Add debug call.
11364 Use feedmail-send-it-immediately-wrapper.
11365 (feedmail-queue-express-to-queue): Add debug call.
11366 Run feedmail-queue-express-hook.
11367 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11368 (feedmail-message-action-help-blat):
11369 Rename from feedmail-queue-send-edit-prompt-help-first.
11370 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11371 Check line-endings. Handle errors better.
11372 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11373 Doc fix. Add debug call.
11374 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11375 Use feedmail-queue-send-edit-prompt-inner.
11376 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11377 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11378 from feedmail-queue-send-edit-prompt.
11379 (feedmail-queue-send-edit-prompt-help)
11380 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11381 (feedmail-tidy-up-slug): Add debug call.
11382 Respect feedmail-queue-slug-suspect-regexp.
11383 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11384 (feedmail-dump-message-to-queue): Add debug call.
11385 Expand queue-directory.
11386 (feedmail-dump-message-to-queue): Change message slightly.
11387 Use feedmail-say-chatter.
11388 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11389 (feedmail-send-it-immediately-wrapper): New function.
11390 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11391 Insert empty string rather than newline. Handle full-frame case.
11392 Use catch/throw. Use feedmail-say-chatter.
11393 (feedmail-fiddle-from): Try mail-host-address.
11394 (feedmail-default-message-id-generator): Doc fix.
11395 Bind system-time-locale. Handle missing end.
11396 (feedmail-fiddle-x-mailer): Add debug call.
11397 Handle feedmail-x-mailer-line being nil.
11398 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11399 Add debug call. Use buffer-substring-no-properties.
11400 (feedmail-say-debug, feedmail-say-chatter): New functions.
11401 (feedmail-find-eoh): Give an explicit error.
11402
42c7e61e
UJ
114032011-05-13 Ulf Jasper <ulf.jasper@web.de>
11404
c2571358 11405 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11406 family from helvetica to sans.
c2571358 11407 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11408 etc/images/newsticker.
11409
c2571358 11410 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11411 family from helvetica to sans.
11412
11413 * net/newst-plainview.el (newsticker-new-item-face)
11414 (newsticker-old-item-face, newsticker-immortal-item-face)
11415 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11416 (newsticker-statistics-face): Change default family from
42c7e61e 11417 helvetica to sans.
c2571358 11418 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11419 etc/images/newsticker.
11420
5d3385a0
JB
11421 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11422 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11423 auto-marking.
11424
8497a297
DV
114252011-05-13 Didier Verna <didier@xemacs.org>
11426
11427 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11428 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11429 TODO entries.
8497a297
DV
11430 (lisp-lambda-list-keyword-parameter-indentation)
11431 (lisp-lambda-list-keyword-parameter-alignment)
11432 (lisp-lambda-list-keyword-alignment): New customizable user options.
11433 (lisp-indent-defun-method): Improve docstring.
11434 (extended-loop-p): Fix comment.
11435 (lisp-indent-lambda-list-keywords-regexp): New variable.
11436 (lisp-indent-lambda-list): New function.
11437 (lisp-indent-259): Use it.
11438 (lisp-indent-defmethod): Support for more than one
11439 method qualifier and properly indent methods lambda-lists.
11440 (defgeneric): Provide a missing common-lisp-indent-function property.
11441
f278f87f
SM
114422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11445 bounds for the empty string (bug#8667).
11446
5233edd7
GM
114472011-05-13 Glenn Morris <rgm@gnu.org>
11448
5237a44f
GM
11449 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11450
8340026c 11451 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11452 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11453
5233edd7 11454 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11455 (appt-time-msg-list): Doc fix.
a5464014 11456 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11457
92d10796
AS
114582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11459
11460 * progmodes/ld-script.el (ld-script-keywords)
11461 (ld-script-builtins): Update keywords list.
11462
914a0ae1
SM
114632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11464
c89be45f
SM
11465 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11466
914a0ae1
SM
11467 * shell.el (shell-completion-vars): New function.
11468 (shell-mode):
11469 * simple.el (read-shell-command): Use it.
11470 (blink-matching-open): No need for " [...]" in minibuffer-message.
11471
98dc3df3
GM
114722011-05-12 Glenn Morris <rgm@gnu.org>
11473
11474 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11475 (appt-check): Simplify.
11476
d2fc7e3d 114772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11478
4d61f28d 11479 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11480 literal "/dev/null".
11481
d2fc7e3d 114822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11483
11484 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11485 Fix typo.
11486
d2fc7e3d 114872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11488
3f254caa
SM
11489 * progmodes/which-func.el (which-function):
11490 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11491 which might not be defined (Bug#8260).
11492
d45885f7
GM
114932011-05-12 Glenn Morris <rgm@gnu.org>
11494
11495 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11496 Let byte-compile-initial-macro-environment always take precedence.
11497
488086f4
SM
114982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * net/rcirc.el: Add support for SSL/TLS connections.
11501 (rcirc-server-alist): New field `encryption'.
11502 (rcirc): Check `encryption' settings.
11503 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11504 Merge make-local-variable into `set'.
11505 (rcirc--connection-open-p): New function.
11506 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11507 the process is not a network process (e.g. running gnutls-cli).
11508 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11509 Make rcirc-(en|de)code-coding-system local here.
11510 (rcirc-mode): Merge make-local-variable into `set'.
11511 (rcirc-parent-buffer): Make permanent buffer-local.
11512 (rcirc-multiline-minor-mode): Don't do it here.
11513 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11514 there's no server buffer.
11515
7d3b9d44
GM
115162011-05-11 Glenn Morris <rgm@gnu.org>
11517
f64049c6
GM
11518 * newcomment.el (comment-kill): Prefix "unused" local.
11519
93c9df73
GM
11520 * term/w32console.el (get-screen-color): Declare.
11521
7d3b9d44
GM
11522 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11523 Handle symbol elements of byte-compile-initial-macro-environment.
11524
9e2dd53f
LL
115252011-05-10 Leo Liu <sdl.web@gmail.com>
11526
488086f4
SM
11527 * bookmark.el (bookmark-bmenu-mode-map):
11528 Bind bookmark-bmenu-search to `/'.
8b340240 11529
9e2dd53f 11530 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11531 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11532 (Footnote-unicode): New function.
11533 (footnote-style-alist): Add unicode style to the list.
11534 (footnote-style): Doc fix.
9e2dd53f 11535
79b70037
GM
115362011-05-10 Jim Meyering <meyering@redhat.com>
11537
11538 Fix doubled-word typos.
11539 * international/quail.el (quail-insert-kbd-layout): and and -> and
11540 * kermit.el: and and -> and
11541 * net/ldap.el (ldap-search-internal): to to -> to
11542 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11543 * progmodes/js.el (js-mode): and and -> and
11544 * textmodes/artist.el (artist-move-to-xy): at at -> at
11545 (artist-draw-region-trim-line-endings): if if -> if
11546 And Safetyc -> Safety.
11547 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11548
b8f82dc1 115492011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11550 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11551
11552 * files.el (hack-one-local-variable-eval-safep):
11553 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11554
4f99f44b
GM
115552011-05-10 Glenn Morris <rgm@gnu.org>
11556
11557 * calendar/diary-lib.el (diary-list-entries-hook)
11558 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11559 (diary-nongregorian-marking-hook, diary-list-entries)
11560 (diary-include-other-diary-files, diary-mark-entries)
11561 (diary-mark-included-diary-files): Doc fixes.
11562
84f29e6b
JB
115632011-05-09 Juanma Barranquero <lekktu@gmail.com>
11564
11565 * misc.el: Require tabulated-list.el during compilation.
11566
9bedd73a
CY
115672011-05-09 Chong Yidong <cyd@stupidchicken.com>
11568
488086f4
SM
11569 * progmodes/compile.el (compilation-start):
11570 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11571 (compilation-filter-hook): Doc fix.
11572
797c735c
DD
115732011-05-09 Deniz Dogan <deniz@dogan.se>
11574
11575 * wdired.el: Remove outdated installation comment. Fix usage
11576 comment.
11577
5f4b1dfe
JB
115782011-05-09 Juanma Barranquero <lekktu@gmail.com>
11579
11580 * misc.el: Implement new command `list-dynamic-libraries'.
11581 (list-dynamic-libraries--loaded-only-p): New variable.
11582 (list-dynamic-libraries--refresh): New function.
11583 (list-dynamic-libraries): New command.
11584
4c44026c
CY
115852011-05-09 Chong Yidong <cyd@stupidchicken.com>
11586
488086f4
SM
11587 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11588 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11589 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11590 higher priority to avoid clobbering by gnu.
11591
027f966d
CY
115922011-05-08 Chong Yidong <cyd@stupidchicken.com>
11593
11594 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11595 if the face has existing theme settings (Bug#8454).
11596
085f5d7d
CY
115972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11598
488086f4
SM
11599 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11600 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11601
2a86a00c
RS
11602 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11603 special file names `.' and `..' (Bug#8259).
11604
d9c54a06
CY
116052011-05-08 Chong Yidong <cyd@stupidchicken.com>
11606
488086f4
SM
11607 * progmodes/grep.el (grep-mode-font-lock-keywords):
11608 Remove buffer-changing entries.
d9c54a06
CY
11609 (grep-filter): New function.
11610 (grep-mode): Add it to compilation-filter-hook.
11611
11612 * progmodes/compile.el (compilation-filter-hook)
11613 (compilation-filter-start): New defvars.
11614 (compilation-filter): Call compilation-filter-hook prior to
11615 updating the process mark.
11616
c4662635
SM
116172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11620
b0512a1d
EZ
116212011-05-07 Eli Zaretskii <eliz@gnu.org>
11622
605c9376
EZ
11623 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11624 mailclient-send-it even if window-system is nil. (Bug#8595)
11625
c4662635
SM
11626 * term/w32console.el (terminal-init-w32console):
11627 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11628 background-mode. (Bug#8597)
11629
d1dc2cc2
SM
116302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11633 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11634 New functions.
11635 (defgeneric, eieio--defmethod): Use them.
11636 (eieio-defgeneric): Remove.
11637 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11638
915d1300
GM
116392011-05-07 Glenn Morris <rgm@gnu.org>
11640
a3961c3e
GM
11641 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11642 Use let rather than let*.
11643 (timeclock-find-discrep): Remove unused local.
11644
314347b9
GM
11645 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11646
915d1300
GM
11647 * calendar/appt.el (appt-time-msg-list): Doc fix.
11648
275b59b0
NF
116492011-05-06 Noah Friedman <friedman@splode.com>
11650
11651 * apropos.el (apropos-print-doc): Only use
11652 emacs-lisp-docstring-fill-column when it is bound to an integer,
11653 per that variable's documentation.
11654
6c19f744
SM
116552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11658 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11659
60f884b2
GM
116602011-05-06 Glenn Morris <rgm@gnu.org>
11661
5006e634
GM
11662 * calendar/appt.el (appt-message-warning-time): Doc fix.
11663 (appt-warning-time-regexp): New option.
11664 (appt-make-list): Respect appt-message-warning-time.
11665
548d0a63
GM
11666 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11667 New options.
11668 (diary-add-to-list): Strip comments from the displayed string.
11669 (diary-mode): Set comment-start and comment-end.
11670
60f884b2
GM
11671 * vc/diff-mode.el (smerge-refine-subst): Declare.
11672 (diff-refine-hunk): Don't require smerge-mode when compiling.
11673
989681bb
JB
116742011-05-06 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * simple.el (list-processes): Return nil as the docstring says.
11677
a6bc05e1
MA
116782011-05-05 Michael Albinus <michael.albinus@gmx.de>
11679
11680 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11681 to "".
11682 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11683 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11684 determining of binary transfer. (Bug#7383)
11685
23c22e9a
MA
116862011-05-05 Michael Albinus <michael.albinus@gmx.de>
11687
c4662635
SM
11688 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11689 Fix port computation bug. (Bug#8618)
23c22e9a 11690
0bff894f
GM
116912011-05-05 Glenn Morris <rgm@gnu.org>
11692
b8296902
GM
11693 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11694
1f522ce8
GM
11695 * simple.el (shell-dynamic-complete-functions)
11696 (comint-dynamic-complete-functions): Declare.
11697
cf5bee67
GM
11698 * net/network-stream.el (gnutls-negotiate):
11699 * simple.el (tabulated-list-print): Fix declarations.
11700
11701 * progmodes/gud.el (syntax-symbol, syntax-point):
11702 Remove unnecessary and incorrect declarations.
11703
0bff894f
GM
11704 * emacs-lisp/check-declare.el (check-declare-scan):
11705 Handle byte-compile-initial-macro-environment in bytecomp.el
11706
9869b3ae
SM
117072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 Fix earlier half-done eieio-defmethod change (bug#8338).
11710 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11711 Streamline and change calling convention.
11712 (defmethod): Adjust accordingly and simplify.
11713 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11714 new eieio--defmethod.
11715 (slot-boundp): Minor CSE simplification.
11716
9c1d5ac5
MZ
117172011-05-05 Milan Zamazal <pdm@zamazal.org>
11718
11719 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11720 (glasses-make-readable): Use glasses-separate-capital-groups.
11721
455c834e
JB
117222011-05-05 Juanma Barranquero <lekktu@gmail.com>
11723
11724 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11725 (warning-series): Doc fix.
11726 (display-warning): Don't try to create the buffer if we just found it.
11727
9ed7c8cb
CY
117282011-05-04 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11731 (autoload-find-generated-file): New function.
11732 (generate-file-autoloads): Bind generated-autoload-file to
11733 buffer-file-name.
9869b3ae
SM
11734 (update-file-autoloads, update-directory-autoloads):
11735 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11736 output file (Bug#7989).
11737 (batch-update-autoloads): Doc fix.
11738
0898ca10
JB
117392011-05-04 Juanma Barranquero <lekktu@gmail.com>
11740
11741 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11742
31dfb76c
GM
117432011-05-04 Glenn Morris <rgm@gnu.org>
11744
f330b642
GM
11745 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11746 function, so it follows changes in calendar-date-style.
11747 (diary-fancy-date-matcher): New function.
11748 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11749 (diary-fancy-font-lock-fontify-region-function):
11750 Use diary-fancy-date-pattern as a function.
11751
31dfb76c
GM
11752 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11753 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11754
48e79d6a
TZ
117552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11756
11757 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11758 instead of positional arguments. Allow :keylist and :crlfiles
11759 arguments.
11760 (open-gnutls-stream): Call it.
11761
11762 * net/network-stream.el (network-stream-open-starttls): Adjust to
11763 call `gnutls-negotiate' with :process and :hostname arguments.
11764
dd5a5ee0
SM
117652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11766
ef80fc09
SM
11767 * minibuffer.el (completion--message): New function.
11768 (completion--do-completion, minibuffer-complete)
11769 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11770 (completion--do-completion): Don't ignore completion-auto-help when in
11771 icomplete-mode.
11772
dd5a5ee0
SM
11773 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11774 internal encoding (e.g. tibetan zero is not whitespace).
11775 (global-whitespace-mode): Prefer save-current-buffer.
11776 (whitespace-trailing-regexp): Remove useless save-match-data.
11777 (whitespace-empty-at-bob-regexp): Minor simplification.
11778
b7d22a83
CY
117792011-05-03 Chong Yidong <cyd@stupidchicken.com>
11780
11781 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11782
5192af46
AM
117832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11784
11785 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11786 Use `concat' to create string for insertion.
5192af46 11787
5767d190
SM
117882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11791 Avoid open-line which runs post-self-insert-hook.
11792 (bibtex-fill-entry): Remove unused `end' var.
11793
bf242939
AM
117942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11795
5767d190
SM
11796 * textmodes/ispell.el (ispell-add-per-file-word-list):
11797 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11798
25666126
LL
117992011-05-03 Leo Liu <sdl.web@gmail.com>
11800
11801 * isearch.el (isearch-yank-pop): New command.
5767d190 11802 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11803 (isearch-forward): Mention it.
11804
52d3c2d0
SM
118052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11806
1bcace58
SM
11807 * simple.el (minibuffer-complete-shell-command): Remove.
11808 (minibuffer-local-shell-command-map): Use completion-at-point.
11809 (read-shell-command): Setup completion vars here instead.
11810 (read-expression-map): Bind TAB to symbol completion.
11811
52d3c2d0
SM
11812 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11813 error directly rather via storing it into `results'.
11814
35813471
LL
118152011-05-02 Leo Liu <sdl.web@gmail.com>
11816
11817 * vc/diff.el: Fix description.
11818
e793a940
LMI
118192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820
11821 * server.el (server-eval-at): New function.
11822
8de66e05
LMI
118232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11824
11825 * net/network-stream.el (open-network-stream): Take a :nowait
11826 parameter and pass it on to `make-network-process'.
11827 (network-stream-open-plain): Ditto.
11828
dcb79f20
AS
118292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11830
11831 * faces.el (face-spec-set-match-display): Don't match toolkit
11832 options on terminal frames.
11833
14a7fbd8
SM
118342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11835
7eabc1be
SM
11836 * progmodes/pascal.el: Use lexical binding.
11837 (pascal-mode-map): Remove author preferences.
11838
14a7fbd8
SM
11839 * pcomplete.el (pcomplete-std-complete): Don't abuse
11840 completion-at-point.
11841
50f84510
JB
118422011-04-28 Juanma Barranquero <lekktu@gmail.com>
11843
6e087a44
JB
11844 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11845 removing code that has been dead since 1991 or so.
11846
50f84510
JB
11847 * startup.el (command-line): When warning about "_emacs", use a
11848 delayed warning to allow the user to filter it out.
11849
0ba690bd
DD
118502011-04-28 Deniz Dogan <deniz@dogan.se>
11851
11852 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11853 user has not joined.
11854
08abfaad
SM
118552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11858 aren't any completions at point.
11859
638f053a
JB
118602011-04-28 Juanma Barranquero <lekktu@gmail.com>
11861
11862 * subr.el (display-delayed-warnings): New function.
11863 (delayed-warnings-hook): New variable.
11864
8fff8daa
SM
118652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11866
08abfaad
SM
11867 * minibuffer.el (completion-at-point, completion-help-at-point):
11868 Don't presume that a given completion-at-point-function will always
11869 use the same calling convention.
11870
8fff8daa
SM
11871 * pcomplete.el (pcomplete-completions-at-point):
11872 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11873 pcomplete-seen is non-nil.
11874 (pcomplete-comint-setup): Also recognize the new comint/shell
11875 completion functions.
11876 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11877 pcomplete-seen is non-nil.
11878
841a1577 118792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11880
841a1577 11881 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11882 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11883 the first character in the entry. This allows for code to add its
211ec907
UJ
11884 own uid to the entry.
11885 (icalendar--convert-float-to-ical): Add export of
11886 `diary-float'-entries save for those with the optional DAY
11887 argument.
11888
2a782793
DC
118892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11890
11891 * subr.el (shell-quote-argument): Use alternate escaping strategy
11892 when we spot a variable reference in a string.
11893
0438ce91
DC
118942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11895
11896 * cus-start.el (all): Define customization for debug-on-event.
11897
841a1577 118982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11899
11900 * subr.el (shell-quote-argument): Escape correctly under Windows.
11901
d090ed6c
SM
119022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11905
bfd31217
MA
119062011-04-25 Michael Albinus <michael.albinus@gmx.de>
11907
d090ed6c
SM
11908 * net/tramp.el (tramp-process-actions): Add POS argument.
11909 Delete region between POS and (pos).
bfd31217 11910
d090ed6c
SM
11911 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11912 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11913 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11914
11915 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11916 position in `tramp-process-actions' call.
11917
11918 * net/trampver.el: Update release number.
11919
e92f3bd3
SM
119202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11921
850256b5
SM
11922 * custom.el (defcustom): Obey lexical-binding.
11923
e92f3bd3
SM
11924 Fix octave-inf completion problems reported by Alexander Klimov.
11925 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11926 Inherit from octave-mode-syntax-table.
11927 (inferior-octave-mode): Set info-lookup-mode.
11928 (inferior-octave-completion-at-point): New function.
11929 (inferior-octave-complete): Use it and completion-in-region.
11930 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11931 comint-filename-completion.
11932 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11933 symbol elements which shouldn't be word elements.
11934 (octave-font-lock-keywords, octave-beginning-of-defun)
11935 (octave-function-header-regexp): Adjust regexps accordingly.
11936 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11937
cd22b309
JB
119382011-04-25 Juanma Barranquero <lekktu@gmail.com>
11939
11940 * net/gnutls.el (gnutls-errorp): Declare before first use.
11941
8b492194
TZ
119422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11943
11944 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11945 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11946 default trustfile exists before going to use it. Add missing
5a5fa834 11947 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11948 Reported by Claudio Bley <claudio.bley@gmail.com>.
11949 (open-gnutls-stream): Add usage example.
11950
11951 * net/network-stream.el (network-stream-open-starttls): Give host
11952 parameter to `gnutls-negotiate'.
11953 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11954 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11955
841a1577 119562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11957
cd22b309
JB
11958 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11959 Use correct match group (bug#8438).
05842630 11960
3ba7869c
CY
119612011-04-24 Chong Yidong <cyd@stupidchicken.com>
11962
512e3ae1
CY
11963 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11964 (package-menu--generate): New arg specifying packages to show.
11965 (package-menu-refresh, package-menu-execute, list-packages):
11966 Callers changed.
11967 (package-show-package-list): New function, replacing deleted
11968 package--list-packages (renamed because it is non-internal).
11969
11970 * finder.el (finder-list-matches): Use package-show-package-list
11971 instead of deleted package--list-packages.
11972
e92f3bd3
SM
11973 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11974 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11975 (vc-annotate-mode-map): Bind it to RET.
11976
7031be6d
UR
119772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11978
11979 * progmodes/etags.el (next-file): Don't use set-buffer to change
11980 buffers (Bug#8478).
11981
4ef177aa
CY
119822011-04-24 Chong Yidong <cyd@stupidchicken.com>
11983
c8d173eb
CY
11984 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11985
4ef177aa
CY
11986 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11987 (apropos-accumulator): Doc fix.
11988 (apropos-function, apropos-macro, apropos-command)
11989 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11990 (apropos-plist): Add face property.
11991 (apropos-symbols-internal): Fix indentation.
11992 (apropos-print): Simplify help, and recognize apropos-multi-type.
11993 (apropos-print-doc): Use button-type-get to extract the button's
11994 face property. Fill docstring (Bug#8352).
11995
4ffd0d6b 119962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11997
11998 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11999
c6c32125 12000 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12001 (mpuz-mode-map): Use mapc.
c6c32125
JB
12002 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12003 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12004 Fix typos in docstrings.
12005
58d468b4
JB
12006 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12007 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12008
6470c3c6
JB
12009 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12010
4ffd0d6b 120112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12012
12013 * minibuffer.el (completion--do-completion): Avoid the "Next char
12014 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12015
3ad8bad0
CY
12016 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12017 mouse-2 into unread-command-events, it is interpreted correctly.
12018
71d73c9c 12019 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12020 (image-toggle-display): Doc fix.
71d73c9c 12021
841a1577 120222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12023
4ffd0d6b
GM
12024 * textmodes/page.el (what-page): Use line-number-at-pos to
12025 calculate line number (Bug#6825).
6e1dbaa9 12026
c2fb1b60
JB
120272011-04-22 Juanma Barranquero <lekktu@gmail.com>
12028
12029 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12030 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12031 Pass argument NO-DEFAULT to `find-tag-interactive'.
12032
e02f48d7
JB
120332011-04-22 Juanma Barranquero <lekktu@gmail.com>
12034
12035 Lexical-binding cleanup.
12036
12037 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12038 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12039 * progmodes/ada-prj.el (ada-prj-initialize-values)
12040 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12041 (ada-prj-show-value):
12042 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12043 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12044 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12045 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12046 * progmodes/bug-reference.el (bug-reference-push-button):
12047 * progmodes/fortran.el (fortran-line-length):
12048 * progmodes/glasses.el (glasses-change):
12049 * progmodes/octave-mod.el (octave-fill-paragraph):
12050 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12051 (python-pdbtrack-grub-for-buffer, python-sentinel):
12052 * progmodes/sql.el (sql-save-connection):
12053 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12054 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12055 Mark unused parameters.
12056
12057 * progmodes/compile.el (compilation--flush-directory-cache)
12058 (compilation--flush-parse, compile-internal): Mark unused parameters.
12059 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12060 (compilation-next-error-function): Remove unused variable `timestamp'.
12061
12062 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12063 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12064
12065 * progmodes/dcl-mode.el (dcl-end-of-command):
12066 Remove unused variable `start'.
12067 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12068 (dcl-option-value-basic, dcl-option-value-offset)
12069 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12070 Mark unused parameters.
12071 (dcl-save-local-variable): Remove unused variable `val'.
12072 (mode): Declare.
12073
12074 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12075 Mark unused parameters.
12076 (delphi-ignore-changes): Move before first use.
12077 (delphi-charset-token-at): Remove unused variable `start'.
12078 (delphi-else-start): Remove unused variable `if-count'.
12079 (delphi-comment-block-start, delphi-comment-block-end):
12080 Remove unused variable `kind'.
12081 (delphi-indent-line): Remove unused variable `new-point'.
12082
12083 * progmodes/ebrowse.el (ebrowse-files-list)
12084 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12085 Mark unused parameters. Don't quote `lambda'.
12086 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12087 Don't quote `lambda'.
12088 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12089 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12090 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12091 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12092 Use `ignore-errors'.
12093 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12094 (ebrowse-view/find-file-and-search-pattern)
12095 (ebrowse-view/find-member-declaration/definition):
12096 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12097 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12098 Rename parameter PREFIX-ARG to PREFIX.
12099 (ebrowse-tags-read-name): Remove unused variables `start' and
12100 `member-info'.
12101 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12102 to `tags-file'.
12103
12104 * progmodes/etags.el (local-find-tag-hook): Declare.
12105 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12106 Mark unused parameters.
12107
12108 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12109 (executable-interpret): Mark unused parameter.
12110
12111 * progmodes/flymake.el (flymake-process-sentinel)
12112 (flymake-after-change-function)
12113 (flymake-create-temp-with-folder-structure)
12114 (flymake-get-include-dirs-dot): Mark unused parameters.
12115 (flymake-safe-delete-directory): Remove unused variable `err'.
12116
12117 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12118 (speedbar-timer-fn, speedbar-line-text)
12119 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12120 (speedbar-center-buffer-smartly): Declare functions.
12121 (gdb-find-watch-expression): Remove unused variable `array'.
12122 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12123 (gdb-starting): Mark unused parameters.
12124 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12125 (gdb-table-string): Remove unused variable `res'.
12126 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12127 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12128 (gdb-display-buffer): Remove unused variable `cur-size'.
12129
12130 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12131 allow lexical-binding compilation.
12132 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12133 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12134 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12135 Mark unused parameters.
12136 (gud-gdb-marker-filter): Remove unused variable `match'.
12137 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12138 lambda expressions and funcall them, instead of using `fset'.
12139
12140 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12141 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12142
12143 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12144 variable `header-beg'; use `let'.
12145
12146 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12147 `restart', `last-sexp' and `at-do'.
12148
12149 * progmodes/js.el (js--debug): Mark unused parameter.
12150 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12151 (js--splice-into-items): Remove unused variable `item'.
12152 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12153
12154 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12155 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12156 (makefile-complete): Remove unused variable `try'.
12157 (makefile-fill-paragraph, makefile-match-function-end):
12158 Mark unused parameters.
12159
12160 * progmodes/octave-inf.el (inferior-octave-complete):
12161 Remove unused variable `proc'.
12162 (inferior-octave-output-digest): Mark unused parameter.
12163
12164 * progmodes/perl-mode.el (perl-calculate-indent):
12165 Remove unused variable `err'.
12166
12167 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12168 (prolog-indent-line): Mark unused parameters.
12169 (prolog-indent-line): Remove unused variable `beg'.
12170
12171 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12172 (reporter-dont-compact-list): Declare.
12173
12174 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12175 Remove unused variable `char'.
12176 (sh-debug): Mark unused parameter.
12177 (sh-get-indent-info): Remove unused variable `start'.
12178 (sh-calculate-indent): Remove unused variable `var'.
12179
12180 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12181 (simula-electric-keyword): Remove unused variable `null'.
12182 (simula-search-backward, simula-search-forward): Remove unused
12183 variables `begin' and `end'.
12184
12185 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12186 Remove unused variable `pos'.
12187 (vera-electric-tab, vera-comment-uncomment-region):
12188 Mark unused parameters.
12189 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12190
7ede3b65
CY
121912011-04-22 Chong Yidong <cyd@stupidchicken.com>
12192
12193 * emacs-lisp/package.el (package--builtins, package-alist)
12194 (package-load-descriptor, package-built-in-p, package-activate)
12195 (define-package, package-installed-p)
12196 (package-compute-transaction, package-buffer-info)
12197 (package--push): Doc fix. Distinguish more clearly between
12198 version strings and version lists.
12199
121656e9
JB
122002011-04-21 Juanma Barranquero <lekktu@gmail.com>
12201
12202 Lexical-binding cleanup.
12203
12204 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12205 (5x5-make-mutate-best):
12206 * play/fortune.el (fortune-in-buffer):
12207 * play/gomoku.el (gomoku-init-display):
12208 * play/solitaire.el (solitaire, solitaire-do-check):
12209 * play/tetris.el (tetris-default-update-speed-function):
12210 Mark unused parameters.
12211
12212 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12213 (bubbles--shift): Remove unused variable `char-org'.
12214 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12215 (bubbles--show-images): Remove unused variable `char'.
12216
12217 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12218 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12219 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12220 (decipher-analyze-buffer): Use ?\s.
12221 (decipher-make-checkpoint): Remove unused variable `mapping'.
12222
12223 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12224
12225 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12226 Remove unused variable `result'; use `let'.
12227
12228 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12229 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12230 (gametree-children-shown-p, gametree-compute-reduced-score):
12231 Use `ignore-errors'.
12232
12233 * play/handwrite.el (ps-lpr-switches): Declare.
12234 (handwrite): Remove unused variables `pmin' and `lastp'.
12235
12236 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12237
12238 * play/landmark.el (landmark-init-display)
12239 (landmark-update-naught-weights): Mark unused parameters.
12240 (landmark-y): Remove unused variable `noise'. Simplify.
12241 (landmark-human-plays): Remove unused variable `score'.
12242
12243 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12244 (mpuz-try-proposal): Remove unused variable `game'.
12245
12246 * play/zone.el (life-patterns): Declare.
12247
80f499c7
JB
122482011-04-20 Juanma Barranquero <lekktu@gmail.com>
12249
12250 * vc/vc.el (ediff-vc-internal): Declare function.
12251
024ff170
SM
122522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12253
c0a193ea
SM
12254 * shell.el: Use lexical-binding and std completion UI.
12255 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12256 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12257 comint-preoutput-filter-functions rather than on
12258 comint-output-filter-functions.
12259 (shell-command-completion, shell--command-completion-data)
12260 (shell-filename-completion, shell-environment-variable-completion)
12261 (shell-c-a-p-replace-by-expanded-directory): New functions.
12262 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12263 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12264 (shell-dynamic-complete-environment-variable): Use them.
12265 (shell-dynamic-complete-as-environment-variable)
12266 (shell-dynamic-complete-as-command): Remove.
12267 (shell-match-partial-variable): Match past point.
12268 * comint.el: Clean up use of completion-at-point-functions.
12269 (comint-completion-at-point): New function.
12270 (comint-mode): Use it completion-at-point-functions.
12271 (comint-dynamic-complete): Make it obsolete.
12272 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12273 (comint-c-a-p-replace-by-expanded-history): New function.
12274 (comint-dynamic-complete-functions)
12275 (comint-replace-by-expanded-history): Use it.
12276 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12277 termination strings. Try harder to avoid second try-completion.
12278 (completion-in-region-mode-map): Disable bindings that don't work yet.
12279
2dbaa080
SM
12280 * comint.el: Use lexical-binding. Require CL.
12281 (comint-dynamic-complete-functions): Use comint-filename-completion.
12282 (comint-completion-addsuffix): Tweak custom type.
12283 (comint-filename-completion, comint--common-suffix)
12284 (comint--common-quoted-suffix, comint--table-subvert)
12285 (comint--complete-file-name-data): New functions.
12286 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12287 (comint-dynamic-list-filename-completions): Use them.
12288 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12289
2dbaa080
SM
12290 * minibuffer.el (completion-in-region-mode):
12291 Keep completion-in-region-mode--predicate global.
12292 (completion-in-region--postch):
12293 Assume completion-in-region-mode--predicate is not null.
12294
c79a6f38
SM
12295 * progmodes/flymake.el (flymake-start-syntax-check-process):
12296 Obey `dir'. Simplify.
12297
024ff170
SM
12298 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12299 we're in VC after all.
12300
1c6c854e
CS
123012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12302
12303 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12304 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12305 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12306
bed7f140
SM
123072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12308
332e62ab
SM
12309 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12310 add sanity check.
12311
bed7f140
SM
12312 * obsolete/erc-hecomplete.el: Make obsolete.
12313 * obsolete/: Standardize obsolescence info in the header.
12314
f195c582
GM
123152011-04-20 Glenn Morris <rgm@gnu.org>
12316
12317 * calendar/solar.el (solar-horizontal-coordinates):
12318 Use the longitude argument rather than `calendar-longitude'.
12319 (solar-date-next-longitude): Remove unused locals.
12320
cb79b8c0
VJL
123212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12322
12323 * whitespace.el: New version 13.2.1.
12324
123252011-04-20 felix <EmacsWiki> (tiny change)
12326
d8e4b68b 12327 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12328 switching between major modes on a file.
12329
602ea69d
SM
123302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12333 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12334 multi-line comments as well.
12335
06b60517
JB
123362011-04-19 Juanma Barranquero <lekktu@gmail.com>
12337
12338 Lexical-binding cleanup.
12339
12340 * arc-mode.el (archive-mode-revert):
12341 * cmuscheme.el (scheme-interactively-start-process):
12342 * custom.el (custom-initialize-delay):
12343 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12344 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12345 * emacs-lock.el (emacs-lock-clear-sentinel):
12346 * ezimage.el (defezimage):
12347 * follow.el (follow-avoid-tail-recenter):
12348 * fringe.el (set-fringe-mode-1):
12349 * generic-x.el (bat-generic-mode-compile):
12350 * help-mode.el (help-info-variable, help-do-xref)
12351 (help-mode-revert-buffer):
12352 * help.el (view-emacs-todo):
12353 * iswitchb.el (iswitchb-completion-help):
12354 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12355 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12356 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12357 * locate.el (locate-update):
12358 * longlines.el (longlines-encode-region)
12359 (longlines-after-change-function):
12360 * outline.el (outline-isearch-open-invisible):
12361 * ps-def.el (declare-function, charset-dimension, char-width)
12362 (encode-char):
12363 * ps-mule.el (ps-mule-plot-string):
12364 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12365 (recentf-edit-list-select, recentf-edit-list-validate)
12366 (recentf-open-files-action):
12367 * rect.el (delete-whitespace-rectangle-line)
12368 (rectangle-number-line-callback):
12369 * register.el (window-configuration-to-register)
12370 (frame-configuration-to-register):
12371 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12372 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12373 (xselect-convert-to-targets, xselect-convert-to-delete)
12374 (xselect-convert-to-filename, xselect-convert-to-charpos)
12375 (xselect-convert-to-lineno, xselect-convert-to-colno)
12376 (xselect-convert-to-os, xselect-convert-to-host)
12377 (xselect-convert-to-user, xselect-convert-to-class)
12378 (xselect-convert-to-name, xselect-convert-to-integer)
12379 (xselect-convert-to-atom, xselect-convert-to-identity):
12380 * subr.el (declare, ignore, process-kill-without-query)
12381 (text-clone-maintain):
12382 * terminal.el (te-get-char, te-tic-sentinel):
12383 * tool-bar.el (tool-bar-make-keymap):
12384 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12385 * type-break.el (type-break-mode, type-break-noninteractive-query):
12386 * view.el (View-back-to-mark):
12387 * wid-browse.el (widget-browse-action, widget-browse-widget)
12388 (widget-browse-widgets, widget-browse-sexp):
12389 * widget.el (define-widget-keywords):
12390 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12391 Mark unused parameters.
12392
12393 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12394 (align-areas): Remove unused variable `look'.
12395 (align-region): Remove unused variables `real-end' and `pos-list'.
12396
12397 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12398
12399 * bindings.el (mode-line-modified, mode-line-remote):
12400 Mark unused parameters.
12401 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12402
12403 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12404 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12405
12406 * comint.el (comint-history-isearch-pop-state)
12407 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12408 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12409 (comint-substitute-in-file-name): Doc fix.
12410
12411 * completion.el (cmpl-statistics-block): Mark unused parameter.
12412 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12413 (save-completions-to-file, load-completions-from-file):
12414 Remove unused local variable `e'.
12415
12416 * composite.el (compose-chars): Remove unused variable `len'.
12417 (lgstring-insert-glyph): Remove unused variable `g'.
12418 (compose-glyph-string): Remove unused variables `ascent',
12419 `descent', `lbearing' and `rbearing'.
12420 (compose-glyph-string-relative): Remove unused variables
12421 `lbearing', `rbearing' and `wadjust'.
12422 (compose-gstring-for-graphic): Remove unused variables `header',
12423 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12424 (compose-gstring-for-terminal): Remove unused variables `header'
12425 and `nchars'. Use `let', not `let*'.
12426
12427 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12428 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12429 (Custom-buffer-done, custom-buffer-create-internal)
12430 (custom-browse-visibility-action, custom-browse-group-tag-action)
12431 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12432 (widget-magic-mouse-down-action, custom-toggle-parent)
12433 (custom-add-parent-links, custom-toggle-hide-variable)
12434 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12435 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12436 (custom-face-menu-create, custom-variable-menu-create, get)
12437 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12438 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12439 (customize-apropos): Remove unused variable `tests'.
12440 (custom-group-value-create): Remove unused variable `hidden-p'.
12441 (sort-fold-case): Declare.
12442
12443 * cus-theme.el (custom-reset-standard-faces-list)
12444 (custom-reset-standard-variables-list): Declare.
12445 (customize-create-theme, custom-theme-revert, custom-theme-write)
12446 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12447 Mark unused parameters.
12448
12449 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12450
12451 * delim-col.el (delimit-columns-max): Move defvar before first use.
12452
12453 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12454 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12455
12456 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12457 (auto-insert): Declare.
12458 (desktop-restore-file-buffer): Rename desktop-* parameters;
12459 mark unused ones.
12460 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12461 (desktop-buffer): Rename desktop-* parameters.
12462
12463 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12464 (dframe-reposition-frame-xemacs, dframe-help-echo)
12465 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12466 Mark unused parameters.
12467
12468 * dired-aux.el (backup-extract-version-start, overwrite-query)
12469 (overwrite-backup-query, rename-regexp-query)
12470 (rename-non-directory-query): Declare.
12471 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12472 (dired-add-entry): Remove unused variable `orig-file-name'.
12473 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12474 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12475 `dired-copy-preserve-time' directly.
12476 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12477 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12478
12479 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12480 (dired-virtual-revert, dired-make-relative-symlink):
12481 Mark unused parameters.
12482 (manual-program): Declare.
12483 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12484 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12485 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12486
12487 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12488
12489 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12490
12491 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12492 Declare.
12493
12494 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12495
12496 * electric.el (Electric-command-loop): Rename parameter
12497 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12498
12499 * expand.el (expand-in-literal): Remove unused variable `here'.
12500
12501 * facemenu.el (facemenu-add-new-color):
12502 Remove unused variable `docstring'.
12503
12504 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12505 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12506 (face-attr-construct): Mark unused parameter. Doc fix.
12507 (read-color): Remove unused variable `hex-string'.
12508
12509 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12510 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12511 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12512 (display-buffer-other-frame): Remove unused variable `old-window'.
12513 (kill-buffer-hook): Declare.
12514 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12515 Mark unused parameters.
12516 (after-find-file): Pass 1 to `auto-save-mode', not t.
12517
12518 * files-x.el (auto-insert): Declare.
12519 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12520
12521 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12522 variable `buf'. Mark unused parameter.
06b60517
JB
12523 (find-lisp-insert-directory): Mark unused parameter.
12524
12525 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12526 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12527 (format-common-tail): Remove, unused.
12528 (format-deannotate-region): Remove unused variable `loc'.
12529 (format-annotate-region): Remove unused variable `p'.
12530 (format-annotate-single-property-change): Remove unused variables
12531 `default' and `tail'.
12532
12533 * forms.el (read-file-filter): Declare.
12534 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12535
12536 * frame.el (frame-creation-function-alist): Mark unused parameter.
12537 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12538
12539 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12540 Remove unused parameters.
12541 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12542 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12543
12544 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12545 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12546 (hfy-prepare-tag-map): Mark unused parameters.
12547 (htmlfontify-buffer): Use `called-interactively-p'.
12548
12549 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12550 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12551 (ibuffer-do-occur): Mark unused parameters.
12552 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12553 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12554
12555 * ibuffer.el: Don't quote `lambda'.
12556 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12557 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12558 Mark unused parameters.
12559
12560 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12561 (ido-completing-read): Mark unused parameters.
12562 (ido-copy-current-word): Mark unused parameters;
12563 remove unused variable `name'.
12564 (ido-sort-merged-list): Remove unused parameter `dirs'.
12565
12566 * ielm.el (ielm-input-sender): Mark unused parameter.
12567 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12568 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12569 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12570 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12571 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12572
12573 * image-dired.el (image-dired-display-thumbs): Remove unused
12574 variables `curr-file' and `count'.
12575 (image-dired-remove-tag): Remove unused variable `start'.
12576 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12577 variable `curr-file'
12578 (image-dired-rotate-original): Remove unused variable `temp-file'.
12579 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12580 Remove unused variable `file'.
12581 (image-dired-gallery-generate): Remove unused variable `curr'.
12582 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12583
12584 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12585
12586 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12587
12588 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12589
12590 * isearch.el (minibuffer-history-symbol): Declare.
12591 (isearch-edit-string): Remove unused variable `err'.
12592 (isearch-message-prefix, isearch-message-suffix):
12593 Mark unused parameters.
12594
12595 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12596
12597 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12598
12599 * makesum.el (double-column): Remove unused variable `cnt'.
12600
12601 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12602 (ido-ignore-item-temp-list): Declare.
12603
12604 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12605 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12606 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12607 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12608 `mouse-col-delta'.
12609
12610 * mouse-sel.el (mouse-extend-internal):
12611 Remove unused variable `orig-window-frame'.
12612
12613 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12614 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12615 Move declarations before first use.
12616 (pcomplete-opt): Mark unused parameters; doc fix.
12617
12618 * proced.el (proced-revert): Mark unused parameter.
12619 (proced-send-signal): Remove unused variable `err'.
12620
12621 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12622 Rename parameter PREFIX-ARG to ARG.
12623 (ps-basic-plot-string, ps-basic-plot-whitespace):
12624 Mark unused parameters.
12625
12626 * replace.el (replace-count): Define.
12627 (occur-revert-function): Mark unused parameters.
12628 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12629 (isearch-case-fold-search, isearch-string): Declare.
12630 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12631 bind `case-fold-search'. Remove unused variables `beg' and `end',
12632 and simplify.
12633 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12634 COUNT and bind `replace-count'.
12635 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12636 to COUNT.
12637
12638 * savehist.el (print-readably, print-string-length): Declare.
12639
12640 * shadowfile.el (shadow-expand-cluster-in-file-name):
12641 Remove unused variable `cluster'.
12642 (shadow-copy-file): Remove unused variable `i'.
12643 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12644 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12645 (shadow-define-literal-group, shadow-define-regexp-group)
12646 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12647
12648 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12649 (shell): Use `called-interactively-p'.
12650 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12651
12652 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12653 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12654 (delete-backward-char): Remove unused variable `ocol'.
12655 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12656 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12657 (event-apply-hyper-modifier, event-apply-shift-modifier)
12658 (event-apply-control-modifier, event-apply-meta-modifier):
12659 Mark unused parameters.
12660 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12661 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12662
12663 * speedbar.el (speedbar-ignored-directory-expressions)
12664 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12665 (speedbar-find-file, speedbar-dir-follow)
12666 (speedbar-directory-buttons-follow, speedbar-tag-find)
12667 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12668 (speedbar-buffers-line-directory, speedbar-buffer-click):
12669 Mark unused parameters.
12670 (speedbar-tag-file): Remove unused variable `mode'.
12671 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12672
12673 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12674
12675 * talk.el (talk): Remove unused variable `display'.
12676
12677 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12678 (tar-write-region-annotate): Mark unused parameter.
12679
12680 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12681 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12682 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12683 warning by another.
12684
12685 * time-stamp.el (time-stamp-string-preprocess):
12686 Remove unused variable `require-padding'.
12687
12688 * tree-widget.el (widget-glyph-enable): Declare.
12689 (tree-widget-action): Mark unused parameter.
12690
12691 * w32-fns.el (x-get-selection): Mark unused parameter.
12692 (autoload-make-program, generated-autoload-file): Declare.
12693
12694 * wdired.el (wdired-revert): Mark unused parameters.
12695 (wdired-xcase-word): Remove unused variable `err'.
12696
12697 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12698 (whitespace-help-scroll): Remove unused variable `data-help'.
12699
12700 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12701 (widget-image-insert, widget-after-change, default)
12702 (widget-default-format-handler, widget-default-notify)
12703 (widget-default-prompt-value, widget-info-link-action)
12704 (widget-url-link-action, widget-function-link-action)
12705 (widget-variable-link-action, widget-file-link-action)
12706 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12707 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12708 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12709 (widget-insert-button-action, widget-delete-button-action, visibility)
12710 (widget-documentation-link-action, widget-documentation-string-action)
12711 (widget-const-prompt-value, widget-regexp-match, symbol)
12712 (widget-coding-system-prompt-value)
12713 (widget-key-sequence-value-to-external, sexp)
12714 (widget-sexp-value-to-internal, character, vector, cons)
12715 (widget-choice-prompt-value, widget-boolean-prompt-value)
12716 (widget-color--choose-action): Mark unused parameters.
12717 (widget-item-match-inline, widget-choice-match-inline)
12718 (widget-checklist-match, widget-checklist-match-inline)
12719 (widget-group-match): Rename parameter VALUES to VALS.
12720 (widget-field-value-set): Remove unused variable `size'.
12721 (widget-color-action): Remove unused variables `value' and `start'.
12722
12723 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12724 variable `dir'. Doc fix.
06b60517
JB
12725 (windmove-find-other-window): Don't pass it.
12726
12727 * window.el (count-windows): Mark unused parameter.
12728 (bw-adjust-window): Remove unused variable `err'.
12729
12730 * woman.el (woman-file-name): Remove unused variable `default'.
12731 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12732 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12733 (global-font-lock-mode): Declare.
12734 (woman-decode-region): Mark unused parameter.
12735 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12736
12737 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12738 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12739 (x-dnd-handle-moz-url): Remove unused variable `title'.
12740 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12741
12742 * xml.el (xml-parse-tag, xml-parse-attlist):
12743 Remove unused variable `pos'.
12744
bc4f7f3d
GM
127452011-04-19 Glenn Morris <rgm@gnu.org>
12746
12747 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12748 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12749 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12750 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12751 * calendar/cal-html.el (cal-html-insert-minical):
12752 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12753 (calendar-mark-date-pattern):
12754 Prefix "unused" locals.
12755
12756 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12757 optional argument `style'.
12758
12759 * calendar/appt.el (appt-make-list):
12760 * calendar/cal-china.el (calendar-chinese-date-string):
12761 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12762 (diary-hebrew-yahrzeit):
12763 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12764 * calendar/calendar.el (calendar-generate-window):
12765 * calendar/time-date.el (time-to-days):
12766 Remove unused local variables.
12767
16a43933
CY
127682011-04-18 Chong Yidong <cyd@stupidchicken.com>
12769
12770 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12771 glyphless-char-display table.
12772 (tabulated-list-glyphless-char-display): New var.
12773
7eed1860
SS
127742011-04-18 Sam Steingold <sds@gnu.org>
12775
12776 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12777 to acknowledgments.
12778
4d2d1ccd
GM
127792011-04-17 Glenn Morris <rgm@gnu.org>
12780
12781 * calendar/diary-lib.el (diary-sexp-entry):
12782 * calendar/holidays.el (holiday-sexp):
12783 Set debug-on-error rather than the removed stack-trace-on-error.
12784
239da61d
GM
127852011-04-16 Glenn Morris <rgm@gnu.org>
12786
12787 * progmodes/f90.el: Use lexical-binding.
12788 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12789
8b05752a
SM
127902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12791
daca8ba5
SM
12792 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12793 (mail-mode): Setup mailalias completion here instead.
12794 * mail/mailalias.el: Use lexical-binding.
12795 (pattern, mailalias-done): Declare dynamic.
12796 (mail-completion-at-point-function): New function, from mail-complete.
12797 (mail-complete): Use it.
12798 (mail-completion-expand): New function.
12799 (mail-get-names): Use it.
12800 (mail-directory, mail-directory-process, mail-directory-stream):
12801 Don't use `pattern' for lexically bound arg.
12802
6f542485
SM
12803 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12804
037e7c3f
SM
12805 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12806 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12807 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12808
8b05752a
SM
12809 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12810 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12811 (byte-interactive-p): Define them again, for use when inlining
12812 old code.
12813
49093f60
JB
128142011-04-15 Juanma Barranquero <lekktu@gmail.com>
12815
12816 * loadup.el: Use `string-to-number', not `string-to-int'.
12817
b5b8e7de
SM
128182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12821 gud-gdb-complete-command.
12822 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12823 (gud-gdb-completion-at-point): New function.
12824 (gud-gdb-completions): Remove.
12825
f42efeb5
MA
128262011-04-14 Michael Albinus <michael.albinus@gmx.de>
12827
49093f60
JB
12828 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12829 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12830 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12831 whether `executable-find' is bound.
f42efeb5
MA
12832
12833 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12834
e240cc21
SM
128352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * minibuffer.el (completion-in-region-mode-predicate)
12838 (completion-in-region-mode--predicate): New vars.
12839 (completion-in-region, completion-in-region--postch)
12840 (completion-in-region-mode): Use them.
12841 (completion--capf-wrapper): Also return the hook function.
12842 (completion-at-point, completion-help-at-point):
12843 Adjust and provide a predicate.
c2bd2ab0
SM
12844
12845 Preserve arg names for advice of subr and lexical functions (bug#8457).
12846 * help-fns.el (help-function-arglist): Consolidate the subr and
12847 new-byte-code cases. Add argument `preserve-names' to extract names
12848 from the docstring when needed.
12849 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12850 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12851 (ad-arglist): Use help-function-arglist's new arg.
12852 (ad-definition-type): Use cond.
12853
c183f693
JB
128542011-04-13 Juanma Barranquero <lekktu@gmail.com>
12855
06641a47
JB
12856 * autorevert.el (auto-revert-handler):
12857 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12858 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12859 Don't quote lambda.
12860
c183f693
JB
12861 * image-mode.el (image-transform-set-scale):
12862 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12863
1e3b6001
G
128642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12865
12866 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12867 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12868 Upgrades via gnutls-cli are too slow to be done opportunistically.
12869
2d6af8dd
JB
128702011-04-12 Juanma Barranquero <lekktu@gmail.com>
12871
12872 * dframe.el (dframe-current-frame): Remove spurious quote.
12873
c0749a51
GM
128742011-04-12 Glenn Morris <rgm@gnu.org>
12875
088d0d61
GM
12876 * calendar/cal-tex.el (cal-tex-end-document):
12877 Try to automatically use latin1 input if needed.
12878
c0749a51
GM
12879 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12880 Don't try to cons a mark onto an empty element.
12881
5c90fde0
LL
128822011-04-11 Leo Liu <sdl.web@gmail.com>
12883
12884 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12885 buffers.
12886 (ido-kill-buffer-at-head): Support killing virtual buffers.
12887
369e974d
CY
128882011-04-10 Chong Yidong <cyd@stupidchicken.com>
12889
12890 * minibuffer.el (completion-show-inline-help): New var.
12891 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12892 (minibuffer-force-complete, minibuffer-complete-word):
12893 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12894
12895 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12896 to avoid interference from inline help (Bug#5849).
12897
37f1c930
LL
128982011-04-10 Leo Liu <sdl.web@gmail.com>
12899
099c39a4
JB
12900 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12901 Fix typo.
37f1c930 12902
a32d4040
CY
129032011-04-09 Chong Yidong <cyd@stupidchicken.com>
12904
12905 * image-mode.el (image-toggle-display-image): Signal an error if
12906 not in Image mode.
12907 (image-transform-mode, image-transform-resize)
12908 (image-transform-set-rotation): Doc fix.
daca8ba5 12909 (image-transform-set-resize): Delete.
a32d4040
CY
12910 (image-transform-set-scale, image-transform-fit-to-height)
12911 (image-transform-fit-to-width): Handle image-toggle-display-image
12912 and image-transform-resize directly.
12913
099c39a4 129142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12915
12916 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12917 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12918 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12919 (doc-view-mode-map): Add bindings for the new functions.
12920
099c39a4 129212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12922
4d61f28d 12923 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12924 Fix typo in docstring.
12925
3726838a
EZ
129262011-04-08 Eli Zaretskii <eliz@gnu.org>
12927
04f33f1e
EZ
12928 * files.el (file-size-human-readable): Produce one digit after
12929 decimal, like "ls -lh" does.
12930
12931 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12932 the file size representation.
12933
3726838a
EZ
12934 * simple.el (list-processes): If async subprocesses are not
12935 available, error out with a clear error message.
12936
cbb59342
CY
129372011-04-08 Chong Yidong <cyd@stupidchicken.com>
12938
12939 * help.el (help-form-show): New function, to be called from C.
12940 Put help-form output in a buffer named differently than *Help*.
12941
e3971c44
EZ
129422011-04-08 Eli Zaretskii <eliz@gnu.org>
12943
12944 * files.el (file-size-human-readable): New function.
12945
12946 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12947 computing the representation inline. Don't require `cl'.
12948
12544bbe
GM
129492011-04-08 Glenn Morris <rgm@gnu.org>
12950
a1de6c6a
GM
12951 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12952
3c4671f4
GM
12953 * net/browse-url.el (browse-url-firefox):
12954 Test system-type, not system-configuration.
12955
b605679c
GM
12956 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12957 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12958 Use log-edit-empty-buffer-p. (Bug#7598)
12959
56442f0c
GM
12960 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12961 (rlogin-mode-map): Initialize in the defvar.
12962 (rlogin): Use ignore-errors.
12963
12544bbe
GM
12964 * replace.el (occur-mode-map): Some fixes for menu items.
12965
eb237b0f
AH
129662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12967
12968 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12969
7d668f2c
CY
129702011-04-06 Chong Yidong <cyd@stupidchicken.com>
12971
e67a13ab
CY
12972 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12973 issuing unused warnings.
12974
12975 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12976 macro directly.
12977
7d668f2c
CY
12978 * simple.el: Lisp reimplement of list-processes. Based on an
12979 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12980 (process-menu-mode): New major mode.
12981 (list-processes--refresh, list-processes):
12982 (process-menu-visit-buffer): New functions.
12983
12984 * files.el (save-buffers-kill-emacs): Don't assume any return
12985 value of list-processes, which is undocumented anyway.
12986
a83ec3c9
CY
129872011-04-06 Chong Yidong <cyd@stupidchicken.com>
12988
12989 * emacs-lisp/tabulated-list.el: New file.
12990
e91a96fe
CY
12991 * emacs-lisp/package.el: Use Tabulated List mode.
12992 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12993 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12994 table format using Tabulated List mode variables.
12995 (package--push): New macro, replacing package-list-maybe-add.
12996 (package-menu--generate): Use package--push. Renamed from
12997 package--generate-package-list.
12998 (package-menu-refresh, list-packages): Use it.
daca8ba5 12999 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13000 Return insertion data instead of inserting it directly.
099c39a4
JB
13001 (package-menu-describe-package, package-menu-execute):
13002 Use tabulated-list-get-id.
e91a96fe
CY
13003 (package-menu-mark-delete, package-menu-mark-install)
13004 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13005 (package-menu-mark-obsolete-for-deletion):
13006 Use tabulated-list-put-tag.
e91a96fe
CY
13007 (package--list-packages, package-menu-revert)
13008 (package-menu-get-package, package-menu-get-version)
13009 (package-menu-sort-by-column): Functions deleted.
13010 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13011 (package-menu--status-predicate, package-menu--version-predicate)
13012 (package-menu--name-predicate)
13013 (package-menu--description-predicate): Handle arguments in the
13014 Tabulated List format.
13015 (package-list-packages-no-fetch): Call list-packages.
13016
3e214b50
JB
130172011-04-06 Juanma Barranquero <lekktu@gmail.com>
13018
13019 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13020 (after-find-file): Don't bind it.
3e214b50
JB
13021 (revert-buffer-in-progress-p): New variable.
13022 (revert-buffer): Bind it.
13023 Pass nil for `after-find-file-from-revert-buffer'.
13024
13025 * saveplace.el (save-place-find-file-hook): Use new variable
13026 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13027
3f0f1700
GM
130282011-04-06 Glenn Morris <rgm@gnu.org>
13029
c0274801
GM
13030 * Makefile.in (AUTOGEN_VCS): New variable.
13031 (autoloads): Use $AUTOGEN_VCS.
13032
3f0f1700
GM
13033 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13034 * calendar/calendar.el (calendar-mode-map):
13035 Check for toolkit scroll bars. (Bug#8305)
13036
41ea9e48
CY
130372011-04-05 Chong Yidong <cyd@stupidchicken.com>
13038
13039 * minibuffer.el (completion-in-region--postch)
13040 (completion-in-region-mode): Remove unnecessary messages.
13041
6194c800
JB
130422011-04-05 Juanma Barranquero <lekktu@gmail.com>
13043
33256f14
JB
13044 * font-lock.el (font-lock-refresh-defaults):
13045 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13046 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13047
6194c800
JB
13048 * info.el (Info-directory-list, Info-read-node-name-2)
13049 (Info-split-parameter-string): Doc fixes.
13050 (Info-virtual-nodes): Reflow docstring.
13051 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13052 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13053 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13054 Fix typos in docstrings.
13055 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13056 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13057 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13058 (Info-restore-desktop-buffer): Mark unused parameters.
13059 (Info-directory-find-file, Info-directory-find-node)
13060 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13061 (Info-virtual-index-find-node, Info-apropos-find-file)
13062 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13063 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13064 (Info-virtual-index): Remove unused local variable `nodename'.
13065
b87a8200 130662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13067
b87a8200
DD
13068 * net/rcirc.el: Update my e-mail address.
13069 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13070
3b2ff876
CY
130712011-04-05 Chong Yidong <cyd@stupidchicken.com>
13072
13073 * startup.el (command-line): Save the cursor's theme-face
13074 directly, instead of using face-override-spec.
13075
13076 * custom.el (load-theme): Minor optimization in assigning faces.
13077
8d17e7ca
JB
130782011-04-04 Juanma Barranquero <lekktu@gmail.com>
13079
13080 * help-fns.el (describe-variable): Complete all variables having
13081 documentation, including keywords.
13082 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13083
2fbc1934
JB
130842011-04-04 Juanma Barranquero <lekktu@gmail.com>
13085
13086 Convert to lexical-binding.
13087
13088 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13089 (bs--get-marked-string, bs--get-modified-string)
13090 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13091 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13092 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13093
13094 * ehelp.el (electric-help-execute-extended)
13095 (electric-help-ctrl-x-prefix):
13096 * hexl.el (hexl-revert-buffer-function):
13097 * linum.el (linum-after-change, linum-after-scroll):
13098 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13099
13100 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13101
74f50695
DU
131022011-04-04 Daiki Ueno <ueno@unixuser.org>
13103
13104 * epa-dired.el:
13105 * epa-mail.el:
13106 * epa-hook.el:
13107 * epa-file.el:
13108 * epa.el:
13109 * epg.el: Use lexical binding.
13110
c11325f7
CY
131112011-04-03 Chong Yidong <cyd@stupidchicken.com>
13112
0d9e9a12
CY
13113 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13114
c11325f7 13115 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13116 dictionary case for flyspell-mark-duplications-exceptions.
13117 Use regexp matching for languages.
c11325f7
CY
13118 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13119 default dictionary (Bug#7926).
13120
da91b5f2
CY
131212011-04-02 Chong Yidong <cyd@stupidchicken.com>
13122
099c39a4
JB
13123 * emacs-lisp/package.el (package--with-work-buffer):
13124 Recognize https URLs.
da91b5f2 13125
099c39a4
JB
13126 * net/network-stream.el: Move from gnus/proto-stream.el.
13127 Change prefix to network-stream throughout.
da91b5f2
CY
13128 (open-protocol-stream): Merge into open-network-stream, leaving
13129 open-protocol-stream as an alias. Handle nil BUFFER args.
13130
13131 * subr.el (open-network-stream): Move to net/network-stream.el.
13132
afa8e9f6
GM
131332011-04-02 Glenn Morris <rgm@gnu.org>
13134
1d2e369d
GM
13135 * find-dired.el (find-exec-terminator): New option.
13136 (find-ls-option): Test for -ls support.
13137 (find-ls-subdir-switches): Test for -b in find-ls-option.
13138 (find-dired, find-grep-dired): Doc fixes.
13139 (find-dired): Use find-exec-terminator.
13140
8abb7da8 13141 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13142 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13143 (find-name-arg): Remove purecopy.
8abb7da8 13144
f3ca7378
GM
13145 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13146 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13147 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13148 accordingly. Don't add the null-device if not needed.
13149
afa8e9f6
GM
13150 * files.el (save-some-buffers): Doc fix.
13151
35eae264
EZ
131522011-04-02 Eli Zaretskii <eliz@gnu.org>
13153
13154 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13155
26b51db5
JB
131562011-04-01 Juanma Barranquero <lekktu@gmail.com>
13157
13158 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13159 Use `dolist' rather than `mapcar'.
13160
7200d79c
SM
131612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13162
03408648 13163 Add lexical binding.
7200d79c 13164
03408648
SM
13165 * subr.el (apply-partially): Use new closures rather than CL.
13166 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13167 (dolist, dotimes): Use slightly different expansion for lexical code.
13168 (functionp): Move to C.
13169 (letrec): New macro.
13170 (with-wrapper-hook): Use it and apply-partially instead of CL.
13171 (eval-after-load): Preserve lexical-binding.
13172 (save-window-excursion, with-output-to-temp-buffer): Turn them
13173 into macros.
7200d79c 13174
03408648
SM
13175 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13176
13177 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13178 than the arglist.
13179 (help-add-fundoc-usage): Don't add `Not documented'.
13180 (help-function-arglist): Handle closures, subroutines, and new
13181 byte-code-functions.
13182 (help-make-usage): Remove leading underscores.
13183 (describe-function-1): Handle closures.
13184 (describe-variable): Use special-variable-p for completion.
13185
13186 * files.el (lexical-binding): Declare safe.
f488fb65 13187
03408648
SM
13188 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13189 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13190 (pcase): Add `let' pattern.
13191 Change memoization so it actually works.
13192 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13193 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13194 <let>: New case.
f488fb65 13195
03408648
SM
13196 * emacs-lisp/macroexp.el: Use lexical binding.
13197 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13198 Don't convert ' to #' without checking that it's indeed quoting
13199 a lambda.
13200
13201 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13202 Use eval-sexp-add-defvars.
03408648
SM
13203 (eval-sexp-add-defvars): New fun.
13204
13205 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13206
13207 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13208 Don't autoload.
13209 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13210 than the internal `byte-compile-lambda'.
13211 (defmethod): Don't hide code under quotes.
13212 (eieio-defmethod): New `code' argument.
13213
13214 * emacs-lisp/eieio-comp.el: Remove.
13215
13216 * emacs-lisp/edebug.el (edebug-eval-defun)
13217 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13218 (edebug-toggle): Avoid `eval'.
13219
13220 * emacs-lisp/disass.el (disassemble-internal): Handle new
13221 `closure' objects.
13222 (disassemble-1): Handle new byte codes.
13223
13224 * emacs-lisp/cl.el (pushnew): Silence warning.
13225
13226 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13227 (cl-byte-compile-throw): Remove.
13228 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13229
13230 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13231 closures.
13232
13233 * emacs-lisp/cconv.el: New file.
13234
13235 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13236 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13237 (byte-compile-initial-macro-environment):
13238 Handle declare-function here.
13239 (byte-compile--lexical-environment): New var.
13240 (byte-stack-ref, byte-stack-set, byte-discardN)
13241 (byte-discardN-preserve-tos): New lap codes.
13242 (byte-interactive-p): Don't use any more.
13243 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13244 New macros.
13245 (byte-compile-lapcode): Use them and handle new lap codes.
13246 (byte-compile-obsolete): Remove.
13247 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13248 (byte-compile-arglist-warn): Check late def of inlinable funs.
13249 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13250 since they should have been expanded by now.
13251 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13252 (byte-compile-from-buffer): Remove unused second arg.
13253 (byte-compile-preprocess): New function.
13254 (byte-compile-toplevel-file-form): New function to distinguish
13255 file-form calls from outside from file-form calls from hunk-handlers.
13256 (byte-compile-file-form): Simplify.
13257 (byte-compile-file-form-defsubst): Remove.
13258 (byte-compile-file-form-defmumble): Simplify now that
13259 byte-compile-lambda always returns a byte-code-function.
13260 (byte-compile): Preprocess.
13261 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13262 Remove, not used any more.
13263 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13264 (byte-compile-make-args-desc): New funs.
13265 (byte-compile-lambda): Handle lexical functions. Always return
13266 a byte-code-function.
13267 (byte-compile-reserved-constants): New var, to make up room for
13268 closed-over variables.
13269 (byte-compile-constants-vector): Obey it.
13270 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13271 (byte-compile-macroexpand-declare-function): New function.
13272 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13273 byte-code-functions.
13274 (byte-compile-form): Check obsolescence here.
13275 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13276 (byte-compile-variable-ref): Remove.
13277 (byte-compile-dynamic-variable-op): New fun.
13278 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13279 (byte-compile-variable-set): New funs.
13280 (byte-compile-discard): Add 2 args.
13281 (byte-compile-stack-ref, byte-compile-stack-set)
13282 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13283 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13284 macroexpand-all instead.
13285 (byte-compile-quote-form): Remove.
13286 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13287 (byte-compile-bind, byte-compile-unbind): New funs.
13288 (byte-compile-let): Handle let* and lexical binding.
13289 (byte-compile-let*): Remove.
13290 (byte-compile-catch, byte-compile-unwind-protect)
13291 (byte-compile-track-mouse, byte-compile-condition-case):
13292 Handle a new :fun-body form, used for lexical scoping.
13293 (byte-compile-save-window-excursion)
13294 (byte-compile-with-output-to-temp-buffer): Remove.
13295 (byte-compile-defun): Simplify.
13296 (byte-compile-stack-adjustment): New fun.
13297 (byte-compile-out): Use it.
13298 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13299
13300 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13301 handler any more.
13302
13303 * emacs-lisp/byte-opt.el: Use lexical binding.
13304 (byte-inline-lapcode): Remove (to bytecomp).
13305 (byte-compile-inline-expand): Pay attention to inlining to/from
13306 lexically bound code.
13307 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13308 any more.
13309 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13310 any more and don't call compiler-macros.
13311 (byte-compile-splice-in-already-compiled-code): Remove.
13312 (byte-code): Don't inline any more.
13313 (disassemble-offset): Receive `bytes' as argument rather than via
13314 dynamic scoping.
13315 (byte-compile-tag-number): Declare before first use.
13316 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13317 `return' even if make-spliceable.
13318 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13319 obsolete interactive-p.
13320 (byte-optimize-lapcode): Optimize new lap-codes.
13321 Don't trip up on new form of `byte-constant' lap code.
13322
13323 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13324
13325 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13326
13327 * custom.el (custom-initialize-default, custom-declare-variable):
13328 Use `defvar'.
13329
13330 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13331 New variables.
13332 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13333 (COMPILE_FIRST): Add macroexp and cconv.
13334 * makefile.w32-in: Mirror changes in Makefile.in.
13335
13336 * vc/cvs-status.el:
13337 * vc/diff-mode.el:
13338 * vc/log-edit.el:
13339 * vc/log-view.el:
13340 * vc/smerge-mode.el:
13341 * textmodes/bibtex-style.el:
13342 * textmodes/css.el:
13343 * startup.el:
13344 * uniquify.el:
da91b5f2
CY
13345 * minibuffer.el:
13346 * newcomment.el:
13347 * reveal.el:
13348 * server.el:
13349 * mpc.el:
13350 * emacs-lisp/smie.el:
13351 * doc-view.el:
13352 * dired.el:
03408648
SM
13353 * abbrev.el: Use lexical binding.
13354
0f0c1f27
EZ
133552011-04-01 Eli Zaretskii <eliz@gnu.org>
13356
13357 * info.el (info-display-manual): New function.
13358
c82b2579
SM
133592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13360
13361 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13362
221ddf68
TH
133632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13364
13365 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13366 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13367
cba6e77e
GM
133682011-03-31 Glenn Morris <rgm@gnu.org>
13369
e040639f
GM
13370 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13371
cba6e77e
GM
13372 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13373
6d0f1c9e
CS
133742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13375
13376 * progmodes/python.el (python-default-interpreter)
13377 (python-python-command-args, python-jython-command-args)
13378 (python-which-shell, python-which-args, python-which-bufname)
13379 (python-file-queue, python-comint-output-filter-function)
13380 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13381 variables and functions.
13382
3e2d70fd
SM
133832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13386 (completion-in-region-mode): New minor mode.
13387 (completion-in-region): Use it.
13388 (completion-in-region--data, completion-in-region-mode-map): New vars.
13389 (completion-in-region--postch): New function.
13390 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13391 New vars.
13392 (completion--capf-wrapper): New function.
13393 (completion-at-point): Use it to track well-behavedness of
13394 hook functions.
13395 (completion-help-at-point): New command.
13396
f3e4086c
JM
133972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13398
13399 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13400 syntax class to search for whitespace on a single line
13401 (Message-ID: <4D938140.4030905@redhat.com>).
13402
eb7ffc14
LL
134032011-03-30 Leo Liu <sdl.web@gmail.com>
13404
13405 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13406 New commands.
13407 (edit-abbrevs-map): Bind them here.
13408 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13409
d806ab68
KM
134102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13411
13412 * allout.el (allout-hide-by-annotation, allout-flag-region):
13413 Reduce possibility of overlay leakage by making them volatile.
13414
13415 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13416 hash is not shared between buffers. Mode initialization is
13417 responsible for giving it a useful starting value.
13418 (allout-item-span): Reduce possibility of overlay leakage by
13419 making them volatile.
13420 (allout-widgets-count-buttons-in-region): Add diagnostic function
13421 for tracking down button overlay leaks.
13422
ea622834
LL
134232011-03-29 Leo Liu <sdl.web@gmail.com>
13424
13425 * ido.el (ido-read-internal): Use the default history var
13426 minibuffer-history if no HISTORY is specified.
13427
b62f8267
G
134282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13429
03408648
SM
13430 * net/imap.el (imap-shell-open, imap-process-connection-type):
13431 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13432 Kerberos, SSL, other subprocesses.
13433
947b6566
LL
134342011-03-28 Leo Liu <sdl.web@gmail.com>
13435
13436 * abbrev.el (abbrev-table-empty-p): New function.
13437 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13438 nonempty ones. (Bug#5937)
13439
5ffb62aa
JD
134402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13441
13442 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13443
7a097943
LL
134442011-03-27 Leo Liu <sdl.web@gmail.com>
13445
13446 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13447 for foreground and background colors.
13448 (ansi-color-make-color-map): Adapt.
13449
c5b40130
LL
134502011-03-25 Leo Liu <sdl.web@gmail.com>
13451
1f48f7d2
LL
13452 * midnight.el (midnight-time-float): Remove. Note it calculates
13453 the microsecond component incorrectly and seconds-to-time does the
13454 same job.
625897ec 13455 Remove redundant (require 'timer).
1f48f7d2 13456
c5b40130
LL
13457 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13458 (ido-completions): Remove unused arguments. (Bug#8329)
13459
d86d2721
SM
134602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13461
13462 * minibuffer.el (completion--flush-all-sorted-completions):
13463 Remove itself from hook.
13464 (completion-at-point): Let the functions perform the completion
13465 immediately and return nil or t.
13466 * comint.el (comint-dynamic-complete-functions): Now identical to
13467 completion-at-point-functions.
13468 (comint-dynamic-list-input-ring): Remove unused var `index'.
13469 (comint--match-partial-filename, comint--unquote&expand-filename):
13470 New funs, split from comint-match-partial-filename.
13471 (comint-dynamic-complete): Use completion-at-point.
13472 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13473
e8974c48
DA
134742011-03-24 Drew Adams <drew.adams@oracle.com>
13475
13476 * thingatpt.el: Support `defun'.
13477
def71b5e
LL
134782011-03-23 Leo Liu <sdl.web@gmail.com>
13479
cb5af48e
LL
13480 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13481
def71b5e
LL
13482 * help-mode.el (help-mode-finish): Tweak regexp.
13483
927c53e7
GM
134842011-03-23 Glenn Morris <rgm@gnu.org>
13485
18d05bed
GM
13486 * eshell/esh-opt.el (eshell-eval-using-options):
13487 Do not bind unused local variable `eshell-option-stub'.
13488
927c53e7
GM
13489 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13490
9d0da923
JB
134912011-03-22 Juanma Barranquero <lekktu@gmail.com>
13492
13493 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13494 keymap variable in `with-no-warnings' to avoid a warning when the
13495 keymap has been already `defconst'ed.
13496
4b978a67
LL
134972011-03-22 Leo Liu <sdl.web@gmail.com>
13498
13499 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13500 encode all chars in abbrevs; otherwise use emacs-mule or
13501 utf-8-emacs. (Bug#8308)
13502
5fd62452
JB
135032011-03-22 Juanma Barranquero <lekktu@gmail.com>
13504
0b1596c6
JB
13505 * simple.el (backward-delete-char-untabify):
13506 Avoid warning about using `delete-backward-char'.
13507
5fd62452
JB
13508 * image.el (image-type-file-name-regexps): Make it variable.
13509 `imagemagick-register-types' modifies it, and the user may want
13510 to add new extensions for known image types.
13511 (imagemagick-register-types): Throw error if not using ImageMagick.
13512
0b4e93f1
LL
135132011-03-22 Leo Liu <sdl.web@gmail.com>
13514
13515 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13516 located before rcirc-prompt-end-marker.
13517 (rcirc-complete): Error if point is not after rcirc prompt.
13518 Handle the case when table is nil.
9882e214 13519 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13520
fccee4ab
CY
135212011-03-22 Chong Yidong <cyd@stupidchicken.com>
13522
13523 * custom.el (custom--inhibit-theme-enable): Make it affect only
13524 custom-theme-set-variables and custom-theme-set-faces.
13525 (provide-theme): Ignore custom--inhibit-theme-enable.
13526 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13527 (custom-enabling-themes): Delete variable.
d86d2721
SM
13528 (enable-theme): Accept only loaded themes as arguments.
13529 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13530 (custom-enabled-themes): Forbid themes from setting this.
13531 Eliminate use of custom-enabling-themes.
13532 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13533
af896da6
LL
135342011-03-21 Leo Liu <sdl.web@gmail.com>
13535
13536 * ido.el (ido-read-internal): Add ido-selected to history instead
13537 of user input.
13538
78f64af0
SM
135392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * subr.el (deferred-action-list, deferred-action-function):
13542 Mark obsolete.
13543
b16ac1ec
LL
135442011-03-21 Leo Liu <sdl.web@gmail.com>
13545
810f7698
LL
13546 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13547 change on 2011-02-13 (bug#8309).
13548
b16ac1ec
LL
13549 * minibuffer.el (read-file-name-function): Change default value.
13550 (read-file-name--defaults): Rename from read-file-name-defaults.
13551 (read-file-name-default): Rename from read-file-name.
13552 (read-file-name): Call read-file-name-function.
13553
4e05e67e
GM
135542011-03-21 Glenn Morris <rgm@gnu.org>
13555
13556 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13557 Doc fixes.
13558
4359915b
CY
135592011-03-21 Chong Yidong <cyd@stupidchicken.com>
13560
13561 * cus-theme.el: Add missing provide statement.
13562 (customize-create-theme): Extract theme value correctly.
13563 (custom-theme-visit-theme): Autoload.
13564 (customize-create-theme): Prompt before inserting default faces.
13565
1fe275ee
JB
135662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13567
13568 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13569 units and musical notes.
13570
cd394be1 135712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13572
13573 * ido.el (ido-read-internal): Use completing-read-default.
13574 (ido-completing-read): Fix compatibility with completing-read.
13575
7d476bde
CO
135762011-03-20 Christian Ohler <ohler@gnu.org>
13577
13578 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13579 (ert-delete-all-tests): Use `called-interactively-p' rather than
13580 `interactive-p'.
13581 (ert--make-xrefs-region): Respect END.
13582
fe0fb33e
CY
135832011-03-19 Chong Yidong <cyd@stupidchicken.com>
13584
ff854b0b
CY
13585 * dired-aux.el (dired-create-directory): Signal an error if the
13586 directory already exists (Bug#8246).
13587
fe0fb33e
CY
13588 * facemenu.el (list-colors-display): Call list-faces-display
13589 inside with-help-window.
13590 (list-colors-print): Use display property to align the final
13591 column, instead of checking window-width.
13592
576bce32
EZ
135932011-03-19 Eli Zaretskii <eliz@gnu.org>
13594
4d61f28d 13595 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13596 windows-nt systems.
13597 (emerge-protect-metachars): Quote correctly for ms-dos and
13598 windows-nt systems.
13599
89c41d68 136002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13601
13602 * info.el (info-initialize): Replace all uses of `:' with
13603 path-separator for compatibility with non-Unix systems.
13604 Cache quoting of path-separator. (Bug#8258)
13605
b14e3e21 136062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13607
13608 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13609 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13610 (mouse-avoidance-mode): Fix typos in docstrings.
13611
4525ce3e
CY
136122011-03-19 Chong Yidong <cyd@stupidchicken.com>
13613
13614 * startup.el (package-subdirectory-regexp): Move from package.el.
13615 Omit \\` and \\', and let callers add them.
13616
13617 * emacs-lisp/package.el (package-strip-version)
13618 (package-load-all-descriptors): Add \\` and \\' to
13619 package-subdirectory-regexp before using it.
13620 (package-untar-buffer): New arg DIR; ensure that file untars only
13621 into this expected directory. Remove superfluous delete-region.
13622 (package-unpack): Caller changed.
13623 (package-tar-file-info): Use package-subdirectory-regexp.
13624
a904a09a 136252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13626
a904a09a
SM
13627 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13628 diff-mode-shared-map (bug#8284).
13629 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13630
136312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13632
13633 * calendar/time-date.el (format-seconds): Use assoc instead of
13634 assoc-string, since assoc-string doesn't exist in XEmacs.
13635
171fc304
JB
136362011-03-17 Juanma Barranquero <lekktu@gmail.com>
13637
13638 * custom.el (custom-known-themes): Reflow docstring.
13639 (custom-theme-load-path): Fix typo in docstring.
13640 (load-theme): Fix typo in error message.
13641 (custom-available-themes, custom-variable-theme-value):
13642 Use `let', not `let*'.
13643
d71990a1
JB
136442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13645
13646 * calc/README: Mention inclusion of musical notes.
13647
13648 * calc/calc-units.el (calc-lu-quant): Rename from
13649 `calc-logunits-quantity'.
13650 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13651 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13652 (calc-db): Rename from `calc-dblevel'.
13653 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13654 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13655 (calc-np): Rename from `calc-nplevel'.
13656 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13657 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13658 (calc-lu-plus): Rename from `calc-logunits-add'.
13659 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13660 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13661 (calc-lu-minus): Rename from `calc-logunits-sub'.
13662 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13663 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13664 (calc-lu-times): Rename from `calc-logunits-mul'.
13665 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13666 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13667 (calc-lu-divide): Rename from `calc-logunits-div'.
13668 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13669 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13670
13671 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13672 functions being autoloaded.
13673
13674 * calc/calc.el (calc-lu-power-reference): Rename from
13675 `calc-logunits-power-reference'.
13676 (calc-lu-field-reference): Rename from
13677 `calc-logunits-field-reference'.
13678
7a71b18d
GM
13679 * calc/calc-help.el (calc-l-prefix-help):
13680 Mention musical note functions.
d71990a1 13681
40c2934b
SM
136822011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * minibuffer.el (completion-all-sorted-completions):
13685 Use :completion-cycle-penalty text property if present.
13686
b0911414
KM
136872011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13688
13689 * allout.el (allout-yank-processing): Adjust for new rebulleting
13690 regime so bullet being yanked is used without prompting the user
13691 for a choice.
13692
8a05b668
JB
136932011-03-16 Juanma Barranquero <lekktu@gmail.com>
13694
13695 * startup.el (command-line): Warn the user that _emacs is deprecated.
13696
5ba5fb81
JB
136972011-03-16 Juanma Barranquero <lekktu@gmail.com>
13698
13699 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13700 (delphi-verbose, delphi-comment-face, delphi-string-face)
13701 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13702 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13703 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13704 (delphi-new-comment-line, delphi-font-lock-defaults)
13705 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13706 Fix typos in docstrings.
13707
2dab465b
KM
137082011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13709
5ba5fb81 13710 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13711 Invert the roles of character and string values for INSTEAD, so a
13712 string is used for the more common case of a defaulting prompt.
13713
0adf5618
SM
137142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13715
13716 * progmodes/ruby-mode.el (ruby-backward-sexp):
13717 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13718 * play/gamegrid.el (gamegrid-make-face):
13719 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13720 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13721 * notifications.el (notifications-notify):
13722 * net/xesam.el (xesam-search-engines):
13723 * net/quickurl.el (quickurl-list-insert):
13724 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13725
d72700e5
CY
137262011-03-15 Chong Yidong <cyd@stupidchicken.com>
13727
13728 * startup.el (command-line): Update package subdirectory regexp.
13729
49c5410a
SM
137302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13731
c6eee9aa
SM
13732 * allout.el (allout-abbreviate-flattened-numbering)
13733 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13734
49c5410a
SM
13735 * subr.el (read-char-choice): Only show the cursor after the prompt,
13736 not after the answer.
13737
047b2bb9
KR
137382011-03-15 Kevin Ryde <user42@zip.com.au>
13739
13740 * help-fns.el (variable-at-point): Skip leading quotes, if any
13741 (bug#8253).
13742
0a57d256
SM
137432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13746 warning message.
13747
77c992bc
MA
137482011-03-14 Michael Albinus <michael.albinus@gmx.de>
13749
13750 * shell.el (shell): When called interactively, offer to change the
13751 shell file name on remote hosts.
13752
eebc475d
TZ
137532011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13754
13755 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13756 integration for LDAP parameters. The host, base, user or binddn,
13757 and secret tokens can be specified in a netrc file, for instance.
13758 This is optional because an `auth-source' parameter must be
13759 specified in the search attributes.
13760
9d05d1ba
JB
137612011-03-13 Juanma Barranquero <lekktu@gmail.com>
13762
13763 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13764
09d9db2c
GM
137652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13768 into declaration. Remove redundant and harmful binding.
13769
137702011-03-12 Eli Zaretskii <eliz@gnu.org>
13771
13772 * files.el (file-ownership-preserved-p): Pass `integer' as an
13773 explicit 2nd argument to `file-attributes'. If the file's owner
13774 is the Administrators group on Windows, and the current user is
13775 Administrator, consider that a match.
13776
13777 * server.el (server-ensure-safe-dir): Consider server directory
13778 safe on MS-Windows if its owner is the Administrators group while
13779 the current Emacs user is Administrator. Use `=' to compare
13780 numerical UIDs, since they could be integers or floats.
13781
219bd536
JB
137822011-03-12 Juanma Barranquero <lekktu@gmail.com>
13783
13784 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13785
f3afd36b
MA
137862011-03-12 Michael Albinus <michael.albinus@gmx.de>
13787
13788 Sync with Tramp 2.2.1.
13789
13790 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13791
13792 * net/trampver.el: Update release number.
13793
3aaaa6f1
SM
137942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13795
94642599
SM
13796 * progmodes/compile.el (compilation--previous-directory): Fix up
13797 various nil/dead-marker mismatches (bug#8014).
13798 (compilation-directory-properties, compilation-error-properties):
13799 Don't call it at a position past the one we're about to change.
13800
3aaaa6f1
SM
13801 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13802 Disable obsolescence warnings in the file that declares it.
13803
14239447
KM
138042011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13805
099c39a4
JB
13806 * allout-widgets.el (allout-widgets-tally):
13807 Initialize allout-widgets-tally as a hash table rather than nil to
13808 prevent mode-line redisplay warnings. Also, clarify the module
13809 description and fix a comment typo.
14239447 13810
135e287c
JB
138112011-03-11 Juanma Barranquero <lekktu@gmail.com>
13812
13813 * help-fns.el (describe-variable): Don't complete keywords.
13814 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13815
ffbf300e
CY
138162011-03-10 Chong Yidong <cyd@stupidchicken.com>
13817
ba08b241
CY
13818 * emacs-lisp/package.el (package-version-join): Impose a standard
13819 string representation for pre/alpha/beta version lists.
13820 (package-unpack-single): Standardize the directory name by passing
13821 it through package-version-join.
13822 (package-strip-rcs-id): Accept any version string that does not
13823 signal an error in version-to-list.
ffbf300e 13824
f346fd6b
MA
138252011-03-10 Michael Albinus <michael.albinus@gmx.de>
13826
13827 * simple.el (delete-trailing-whitespace): Return nil for the
13828 benefit of `write-file-functions'.
13829
ccb55d27
GM
138302011-03-10 Glenn Morris <rgm@gnu.org>
13831
5ceaac0c
GM
13832 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13833
02da65ff
GM
13834 * vc/vc-git.el (vc-git-program): New option.
13835 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13836 (vc-git--call): Use it.
13837
b2f603cc
GM
13838 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13839
5772caab
GM
13840 * cus-edit.el (Custom-newline): If no button at point, look
13841 for a subgroup button at start-of-line. (Bug#2298)
13842
ccb55d27
GM
13843 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13844
ec6ecaed
JD
138452011-03-10 Julien Danjou <julien@danjou.info>
13846
13847 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13848 `cursor-type' is nil.
13849
9d5aa01d
JB
138502011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13851
13852 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13853
b6a5875b
KM
138542011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13855
7a71b18d 13856 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13857 preserves the existing header prefix, rebulleting it if necessary,
13858 rather than replacing it. This is necessary for proper operation
13859 of cooperative addons like allout-widgets.
1154d12e
JB
13860 (allout-make-topic-prefix, allout-rebullet-heading):
13861 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13862 value as alternate bullet to be used, instead of prompting the user
13863 for a bullet character.
b6a5875b 13864
ee545c35
MA
138652011-03-09 Michael Albinus <michael.albinus@gmx.de>
13866
d86d2721
SM
13867 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13868 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13869 `tramp-default-port'.
13870
c47971d7
DD
138712011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13872
13873 * net/rcirc.el (rcirc-handler-001): Remove useless
13874 with-rcirc-process-buffer.
13875 (rcirc-check-auth-status): Swap arguments to string-match.
13876
13522cb4
GM
138772011-03-09 Glenn Morris <rgm@gnu.org>
13878
0be6f4f1
GM
13879 * shell.el (shell-mode):
13880 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13881
13522cb4
GM
13882 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13883 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13884
515de2e3
CY
138852011-03-08 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * emacs-lisp/package.el (package-refresh-contents)
13888 (package-menu-execute): Use condition-case-no-debug.
13889
b511b994
MA
138902011-03-08 Michael Albinus <michael.albinus@gmx.de>
13891
13892 * simple.el (shell-command-to-string): Use `process-file'.
13893
13894 * emacs-lisp/package.el (package-tar-file-info): Handle also
13895 remote files.
13896
d86d2721
SM
13897 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13898 Use `equal' for upload base check.
b511b994 13899
25bbfb31
AM
139002011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13901
13902 * textmodes/texinfo.el (texinfo-environments):
13903 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13904
be996521
GM
139052011-03-08 Glenn Morris <rgm@gnu.org>
13906
e9c8529f
GM
13907 * cus-start.el (cursor-in-non-selected-windows):
13908 Fix :set quoting oddness. (Bug#8192)
13909
be996521
GM
13910 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13911 in some setf expressions. (Bug#2159)
13912
2bb5649e
CY
139132011-03-08 Chong Yidong <cyd@stupidchicken.com>
13914
13915 * custom.el (custom-available-themes): Return themes in
13916 alphabetical order.
13917
33383987 13918See ChangeLog.15 for earlier changes.
e3d51b27
MR
13919
13920;; Local Variables:
13921;; coding: utf-8
e3d51b27
MR
13922;; End:
13923
acaf905b 13924 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13925
13926 This file is part of GNU Emacs.
13927
13928 GNU Emacs is free software: you can redistribute it and/or modify
13929 it under the terms of the GNU General Public License as published by
13930 the Free Software Foundation, either version 3 of the License, or
13931 (at your option) any later version.
13932
13933 GNU Emacs is distributed in the hope that it will be useful,
13934 but WITHOUT ANY WARRANTY; without even the implied warranty of
13935 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13936 GNU General Public License for more details.
13937
13938 You should have received a copy of the GNU General Public License
13939 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.