* Makefile.in: Install only the relevant DOC file.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b1a10716
RS
12012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4 New functions.
5 (math-function-table): Add support for more C functions.
6
3f1b25b5
AM
72012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8
9 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
10 (flyspell-debug-signal-word-checked): Protect delay handling for
11 otherchars against empty otherchars.
12
b581bb5c
SM
132012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
16 their respective macro declarations.
17 * skeleton.el (define-skeleton):
18 * progmodes/compile.el (define-compilation-mode):
19 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
20 (define-ibuffer-filter):
21 * emacs-lisp/generic.el (define-generic-mode):
22 * emacs-lisp/easy-mmode.el (define-minor-mode)
23 (define-globalized-minor-mode):
24 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
25 * emacs-lisp/byte-run.el (defsubst):
26 * custom.el (deftheme): Add doc-string metadata.
27
70b8ef8f
SM
282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
31
b1198e17
SM
322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
33
9abdc45d
SM
34 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
35
b1198e17
SM
36 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
37 * emacs-lisp/cl-macs.el: Idem.
38 * emacs-lisp/cl-specs.el: Remove.
39
4735906a
SM
402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 Minor renaming of internal CL functions and variables.
43 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
44 (cl--position): Rename from cl-position.
45 (cl--delete-duplicates): Rename from cl-delete-duplicates.
46 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
47 (cl--random-state): Rename from *random-state*.
48
ac348012
SM
492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
52 parens around the arg list (bug#11499).
53
a0a79cde
JL
542012-05-17 Juri Linkov <juri@jurta.org>
55
56 * isearch.el (word-search-regexp, word-search-backward)
57 (word-search-forward, word-search-backward-lax)
58 (word-search-forward-lax): Move functions from search.c
59 (bug#10145, bug#11381).
60
65034a51
AM
612012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
62
63 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
64 (flyspell-debug-signal-word-checked): Delay for otherchars as for
65 normal word components.
66
1a72a195
SM
672012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * minibuffer.el (completion--sifn-requote): Fix last change.
70 (minibuffer-local-must-match-filename-map):
71 Move define-obsolete-variable-alias before its var.
72
fdb058c2
SM
732012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
74
c41045e6
SM
75 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
76
036dfb8b
SM
77 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
78 behavior.
79 (completion--string-equal-p): New function.
80 (completion--twq-all): Use it to get better assertion failure data.
81
2473256d
SM
82 Only handle ".." and '..' quoting in shell-mode (bug#11466).
83 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
84 (shell--requote-argument): New functions.
85 (shell-completion-vars): Use them.
86 (shell--parse-pcomplete-arguments): Rename from
87 shell-parse-pcomplete-arguments.
88 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
89 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
90 Obey comint-file-name-quote-list.
91
fdb058c2
SM
92 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
93 (smie-indent-keyword): Use it.
94
51fa99f1
SM
952012-05-14 Stefan Merten <smerten@oekonux.de>
96
97 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
98
e18afed7 992012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
100
101 * net/rlogin.el (rlogin-mode-map): Fix last change.
102
e18afed7 1032012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
104
105 * mail/smtpmail.el (smtpmail-send-command): Send the command and
106 the following \r\n using a single `process-send-string', since the
107 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 108 with two `process-send-string's (Bug#11444).
8633b1f4 109
e18afed7 1102012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 111
fdb058c2
SM
112 * shell.el (shell-parse-pcomplete-arguments):
113 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 114
2d21d7f6
WJ
1152012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
116
e18afed7 117 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
118 (image-transform-scale, image-transform-right-angle-fudge): New vars.
119 (image-transform-width, image-transform-fit-width): New functions.
120 (image-transform-properties): Use them.
121 (image-transform-check-size): New function.
122 (image-toggle-display-image): Use it (for testing).
123 (image-transform-set-rotation): Reduce angle mod 360.
124 Delete obsolete comment.
125
7102e6d0
WJ
1262012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
127
128 * image-mode.el: Fix scaling (bug#11399).
129 (image-transform-resize): Doc fix.
130 (image-transform-properties): Default scale is 1 and height should
131 be an integer.
132
06bc5e6e
SM
1332012-05-13 Johan Bockgård <bojohan@gnu.org>
134
135 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
136 than hard-coding `car', to fix misbehavior when moving forward.
137
0ae03b6a
CY
1382012-05-13 Chong Yidong <cyd@gnu.org>
139
140 * emacs-lisp/tabulated-list.el (tabulated-list-format)
141 (tabulated-list-entries, tabulated-list-padding)
142 (tabulated-list-sort-key): Make permanent-local.
143
144 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
145 (electric-buffer-list): Put electric buffer menu
146 command descriptions in this docstring, instead of the docstring
147 of electric-buffer-menu-mode. Code cleanups.
148 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
149 Electric-buffer-menu-mode.
150 (electric-buffer-update-highlight): Minor code cleanup.
151
205a7391
MA
1522012-05-13 Michael Albinus <michael.albinus@gmx.de>
153
154 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
155 (Bug#11447)
156
e5bd0a28
SM
1572012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 Move define-obsolete-variable-alias before the var's definition.
160 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
161 * tooltip.el (tooltip-hook):
162 * textmodes/reftex-toc.el (reftex-toc-map):
163 * textmodes/reftex-sel.el (reftex-select-label-map)
164 (reftex-select-bib-map):
165 * textmodes/reftex-index.el (reftex-index-map)
166 (reftex-index-phrases-map):
167 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
168 * progmodes/meta-mode.el (meta-mode-map):
169 * novice.el (disabled-command-hook):
170 * loadhist.el (unload-hook-features-list):
171 * frame.el (blink-cursor):
172 * files.el (find-file-not-found-hooks, write-file-hooks)
173 (write-contents-hooks):
174 * emulation/tpu-edt.el (GOLD-map):
175 * emacs-lock.el (emacs-lock-from-exiting):
176 * emacs-lisp/generic.el (generic-font-lock-defaults):
177 * emacs-lisp/chart.el (chart-map):
178 * dos-fns.el (register-name-alist):
179 * dired-x.el (dired-omit-files-p):
180 * desktop.el (desktop-enable):
181 * cus-edit.el (custom-mode-hook):
182 * buff-menu.el (buffer-menu-mode-hook):
183 * bookmark.el (bookmark-read-annotation-text-func)
184 (bookmark-exit-hooks):
185 * allout.el (allout-mode-deactivate-hook)
186 (allout-exposure-change-hook, allout-structure-added-hook)
187 (allout-structure-deleted-hook, allout-structure-shifted-hook):
188 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
189 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
190 comes before the corresponding variable's definition.
191
ac59c2f6
CY
1922012-05-12 Chong Yidong <cyd@gnu.org>
193
194 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
195 (Buffer-menu-mouse-select): Restore function (Bug#11459).
196 (Buffer-menu-mode-map): Bind it.
197 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 198
dee6c9a3
SM
1992012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
200
2171cea5
SM
201 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
202 (prolog-upper-case-string, prolog-lower-case-string)
203 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
204 (prolog-use-smie, prolog-smie-grammar): New vars.
205 (prolog-smie-forward-token, prolog-smie-backward-token)
206 (prolog-smie-rules): New funs.
207 (prolog-comment-indent): Remove.
208 (prolog-mode-variables): Use default comment indentation instead.
209 Setup SMIE.
210 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
211 (prolog-mode): Don't call them any more.
212 (prolog-electric-colon, prolog-electric-dash)
213 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
214
aa0382bd
SM
215 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
216
dbacb4bd
SM
217 * minibuffer.el (completion--twq-all): Again, allow case differences.
218
13bdd94c
SM
219 * term.el: Move keymap initialization code to be more idiomatic.
220 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
221 (term-terminal-menu): Move initialization into declaration.
222 (term-escape-char): Let the user set it in her .emacs.
223
ff46c759
SM
224 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
225 Provide SMIE-based indentation (not enabled by default yet).
226 (sh-mode-map): Don't bind electric keys.
227 Use electric-pair-mode instead of skeleton-pair.
228 (sh-assignment-regexp): Fit within 80 columns.
229 (sh-indent-supported): Specify actual shell name instead of boolean.
230 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
231 (sh-maybe-here-document): Use it. Make obsolete.
232 (sh-electric-here-document-mode) New minor mode.
233 (sh-mode): Use it. Don't set sh-indent-supported-here here.
234 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
235 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
236 (sh-smie-rc-grammar, sh-use-smie): New vars.
237 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
238 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
239 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
240 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
241 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
242 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
243 (sh-set-shell): Use smie-setup if requested.
244
dee6c9a3
SM
245 * term.el (term-set-escape-char): Properly set term-escape-char.
246 See http://stackoverflow.com/questions/10524656.
247
9f9aa044
CY
2482012-05-10 Chong Yidong <cyd@gnu.org>
249
250 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
251 Use url-generic-parse-url, and handle host names and Windows
252 filenames properly.
253 (ffap-url-unwrap-remote): Use url-generic-parse-url.
254 (ffap-url-unwrap-remote): Accept list values, specifying a list of
255 URL schemes to work on.
256 (ffap--toggle-read-only): New function.
257 (ffap-read-only, ffap-read-only-other-window)
258 (ffap-read-only-other-frame): Use it.
259 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
260 necessary for ffap-url-unwrap-remote.
261
836d29b3
DA
2622012-05-10 Dave Abrahams <dave@boostpro.com>
263
264 * cus-start.el (create-lockfiles): Add it.
265
00fd78ed
CY
2662012-05-09 Chong Yidong <cyd@gnu.org>
267
268 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
269 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
270
666b903b 2712012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
272
273 * shell.el (shell-completion-vars): Fix last change (bug#11348).
274
666b903b 2752012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
276
277 * ansi-color.el (ansi-color-process-output): Check for validity of
278 comint-last-output-start before using it. This avoids a bad
279 interaction with gdb-mi's input/output buffer.
280
666b903b 2812012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
282
283 * files.el (dir-locals-read-from-file):
284 Mention dir-locals in any error message.
285
666b903b 2862012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
287
288 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
289 package (Bug#11410).
290
f677562b
CY
291 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
292 variables into description.
293
666b903b 2942012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
295
296 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
297 shell-delimiter-argument-list (bug#11348).
298 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
299
b499d8d0
JB
3002012-05-09 Juanma Barranquero <lekktu@gmail.com>
301
8f6b6da8
JB
302 * textmodes/rst.el: Silence byte-compiler warnings.
303 (rst-re-alist, rst-reset-section-caches): Move around.
304 (rst-re): Use `characterp', not `char-valid-p'.
305 (font-lock-beg, font-lock-end): Declare.
306
4824146a
JB
307 * progmodes/idlw-shell.el (specs): Remove reference to deleted
308 variable `idlwave-shell-activate-alt-keybindings' and simplify.
309
b499d8d0
JB
310 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
311
ad89bb83
GM
3122012-05-08 Glenn Morris <rgm@gnu.org>
313
314 * files.el (auto-mode-alist): Treat ".make" like ".mk".
315
8bba5a75
SM
3162012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
317
49ed9c8e
SM
318 * vc/log-edit.el: Add GNU coding standards highlighting.
319 (log-edit-font-lock-gnu-style)
320 (log-edit-font-lock-gnu-keywords): New vars.
321 (log-edit-font-lock-keywords): New fun.
322 (log-edit-mode): Don't fold case in font-lock.
323 (log-edit-font-lock-keywords): Do not assume case-folding.
324
07d00b56
SM
325 * imenu.el: Misc cleanup. Make docstrings out of comments.
326 Use lexical-binding.
327 (imenu--index-alist, imenu--last-menubar-index-alist)
328 (imenu-menubar-modified-tick): Use defvar-local.
329 (imenu--split-menu): Remove unused var.
330 (imenu--cleanup-seen): Declare as global.
331 (imenu--cleanup): Use dolist.
332
8bba5a75
SM
333 * subr.el (defvar-local): Add debug spec and doc-string position.
334
5075bdb5
GM
3352012-05-08 Glenn Morris <rgm@gnu.org>
336
c052c904
GM
337 * lisp/language/burmese.el, language/cham.el, language/czech.el:
338 * language/english.el, language/georgian.el, language/greek.el:
339 * language/japanese.el, language/khmer.el, language/korean.el:
340 * language/lao.el, language/misc-lang.el, language/romanian.el:
341 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
342 * language/thai.el, language/utf-8-lang.el:
343 Remove no-byte-compile setting.
344
5075bdb5
GM
345 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
346
06f679a7
AH
3472012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
348
349 * progmodes/make-mode.el (makefile-browse):
350 Remove unnecessary interactive. (Bug#11324)
351
03794570
GM
3522012-05-07 Glenn Morris <rgm@gnu.org>
353
af8630f4
GM
354 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
355
03794570
GM
356 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
357
f0809a9d
SM
3582012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
359
28be5ce7
SM
360 * loadup.el: Preload newcomment.el.
361 * newcomment.el: Move autoload-only code to toplevel.
362
f0809a9d
SM
363 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
364 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
365 Handle new :right-align column property.
366 (tabulated-list-print-col): Idem, plus use `display' text-property to
367 try and preserve alignment for variable pitch fonts.
368
1241b724
CY
3692012-05-07 Chong Yidong <cyd@gnu.org>
370
371 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
372 (tabulated-list-use-header-line): New var.
373 (tabulated-list-init-header): Use it.
374 (tabulated-list-print-fake-header): New function.
375 (tabulated-list-print): Use it.
376 (tabulated-list-sort-button-map): Add non-header-line commands.
377 (tabulated-list-init-header): Add column name property to basic
378 labels as well.
379 (tabulated-list-col-sort): Handle non-header-line button case.
380 (tabulated-list--sort-by-column-name): Fix a corner case.
381
f0809a9d
SM
382 * buff-menu.el (list-buffers--refresh):
383 Handle Buffer-menu-use-header-line.
1241b724 384
e5f9458f
CY
3852012-05-06 Chong Yidong <cyd@gnu.org>
386
387 * buff-menu.el: Convert to Tabulated List mode.
388 (Buffer-menu-buffer+size-width): Make obsolete.
389 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
390 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
391 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
392 documentation into docstring of buffer-menu.
393 (Buffer-menu-toggle-files-only): Add an informative message.
394 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
395 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
396 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
397 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
398 (Buffer-menu-execute, Buffer-menu-select)
399 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
400 (Buffer-menu-bury): Use Tabulated List machinery.
401 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
402 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 403 Delete.
e5f9458f
CY
404 (list-buffers--refresh): New function.
405 (list-buffers-noselect): Use it.
406 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
407 (Buffer-menu--pretty-file-name): New helper functions.
408
409 * loadup.el: Preload tabulated-list.
410
411 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
412 tabulated-list-sort-column.
413 (tabulated-list-init-header): Add the initial aligning space even
414 if tabulated-list-padding is zero.
415
e129292c
CS
4162012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
417
418 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
419 whose cdr is not a cons cell correctly (bug#11038).
420
6632d361
CY
4212012-05-06 Chong Yidong <cyd@gnu.org>
422
e129292c
CS
423 * emacs-lisp/tabulated-list.el (tabulated-list-format):
424 Accept additional plist in column descriptors.
6632d361
CY
425 (tabulated-list-init-header): Obey it.
426 (tabulated-list-get-entry): New function.
427 (tabulated-list-put-tag): Use it. Use string-width instead of
428 length.
429 (tabulated-list--column-number): New function.
430 (tabulated-list-print): Use it.
e129292c
CS
431 (tabulated-list-print-col): New function.
432 Set `tabulated-list-column-name' property on each column's text.
6632d361 433 (tabulated-list-print-entry): Use it.
e129292c
CS
434 (tabulated-list-delete-entry, tabulated-list-set-col):
435 New functions.
6632d361
CY
436 (tabulated-list-sort-column): New command (Bug#11337).
437
3cc99f68
CY
438 * buff-menu.el (list-buffers): Move C-x C-b binding from
439 buff-menu.el to bindings.el.
440
441 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
442 :advertised-binding feature.
443
52b61776
TN
4442012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
445
446 * progmodes/compile.el (compilation-internal-error-properties):
447 Calculate start position correctly when end-col is set but
448 end-line is not (Bug#11382).
449
ebfe2597
WJ
4502012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
451
452 * man.el (Man-unindent): Use text-property-default-nonsticky to
453 prevent untabify from inheriting face properties (Bug#11408).
454
a43f98b3
GM
4552012-05-05 Glenn Morris <rgm@gnu.org>
456
48176e8b
GM
457 * calendar/cal-html.el: Optionally include holidays in the output.
458 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
459 (cal-html-holidays): New option.
460 (cal-html-css-default): Add holiday entry.
461 (holiday-in-range): Autoload it.
462 (cal-html-htmlify-entry): Add optional class argument.
463 (cal-html-htmlify-list): Add optional holidays argument.
464 (cal-html-insert-agenda-days): Include holidays in the output.
465 (cal-html-one-month): Maybe include holidays.
466
a43f98b3
GM
467 * calendar/holidays.el (holiday-in-range):
468 Move here from cal-tex-list-holidays.
469 * calendar/cal-tex.el (cal-tex-list-holidays):
470 Make it an obsolete alias for holiday-in-range. Update all callers.
471
fef9d149 4722012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
473
474 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
475 Nextstep.
476
248da2f4
RW
4772012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
478
479 * files.el (file-auto-mode-skip): New var.
480 (set-auto-mode-1): Use it.
481
f95e9344
SM
4822012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
483
df96ab1e
SM
484 * repeat.el: Use lexical-binding.
485 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
486 (repeat-undo-count): Remove.
487 (repeat):
488 * progmodes/octave-mod.el (octave-abbrev-start):
489 * progmodes/f90.el (f90-abbrev-start):
490 * face-remap.el (text-scale-adjust):
491 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
492
5342bb06
SM
493 * emacs-lisp/pcase.el (pcase--let*): New function.
494 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
495 a bit more.
496 (pcase--split-pred): Be more clever about ruling out overlap between
497 a predicate and some constant pattern.
498 (pcase--q1): Use `null' instead of (eq foo nil).
499
f95e9344
SM
500 * subr.el (setq-local, defvar-local): New macros.
501 (kbd): Redefine as an alias.
502 (with-selected-window): Leave unrelated frames alone.
503 (set-temporary-overlay-map): New function.
504
71873e2b
SM
5052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * subr.el (user-error): New function.
508 * window.el (switch-to-buffer):
509 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
510 (smerge-match-conflict):
511 * simple.el (previous-matching-history-element)
512 (next-matching-history-element, goto-history-element, undo-more)
513 (undo-start):
514 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
515 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
516 (next-file, tags-loop-scan, list-tags, complete-tag):
517 * progmodes/compile.el (compilation-loop):
518 * mouse.el (mouse-minibuffer-check):
519 * man.el (Man-bgproc-sentinel, Man-goto-page):
520 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
521 (Info-history-forward, Info-follow-reference, Info-menu)
522 (Info-extract-menu-item, Info-extract-menu-counting)
523 (Info-forward-node, Info-backward-node, Info-next-menu-item)
524 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
525 (Info-next-reference, Info-prev-reference, Info-index)
526 (Info-index-next, Info-follow-nearest-node)
527 (Info-copy-current-node-name):
528 * imenu.el (imenu--make-index-alist)
529 (imenu-default-create-index-function, imenu-add-to-menubar):
530 * files.el (basic-save-buffer, recover-file):
531 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
532 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
533 (checkdoc-message-text, checkdoc-defun):
534 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
535 * cus-edit.el (customize-changed-options, customize-rogue)
536 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
537 (custom-variable-mark-to-reset-standard)
538 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
539 (custom-file):
540 * completion.el (check-completion-length):
541 * comint.el (comint-search-arg)
542 (comint-previous-matching-input-string-position)
543 (comint-previous-matching-input)
544 (comint-replace-by-expanded-history-before-point, comint-send-input)
545 (comint-copy-old-input, comint-backward-matching-input)
546 (comint-goto-process-mark, comint-set-process-mark):
547 * calendar/calendar.el (calendar-cursor-to-date): Use it.
548 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
549
8a61ee22
SM
5502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
551
66408d1e
SM
552 * dabbrev.el (dabbrev--ignore-case-p): New function.
553 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
554 Use it.
555
8a61ee22
SM
556 * files.el (automount-dir-prefix): Mark as obsolete.
557
3c74813a
GM
5582012-05-04 Glenn Morris <rgm@gnu.org>
559
560 * patcomp.el, play/bruce.el: Move to obsolete/.
561
0bfcf5c5
PE
5622012-05-04 Paul Eggert <eggert@cs.ucla.edu>
563
564 Fix minor Y10k bugs.
565 * arc-mode.el (archive-unixdate):
566 * autoinsert.el (auto-insert-alist):
567 * calc/calc-forms.el (math-this-year):
568 * emacs-lisp/copyright.el (copyright-current-year)
569 (copyright-update-year, copyright):
570 * tar-mode.el (tar-clip-time-string):
571 * time.el (display-time-update):
572 Don't assume years have 4 digits.
573
78f3273a
CY
5742012-05-04 Chong Yidong <cyd@gnu.org>
575
576 * dos-w32.el (file-name-buffer-file-type-alist)
577 (direct-print-region-use-command-dot-com):
578 * ffap.el (ffap-menu-regexp):
579 * find-file.el (ff-special-constructs):
580 * follow.el (follow-debug):
581 * forms.el (forms--debug):
582 * iswitchb.el (iswitchb-all-frames):
583 * ido.el (ido-all-frames):
584 * emacs-lisp/timer.el (timer-max-repeats):
585 * mail/feedmail.el (feedmail-mail-send-hook)
586 (feedmail-mail-send-hook-queued):
587 * mail/footnote.el (footnote-signature-separator):
588 * mail/mailabbrev.el (mail-alias-separator-string)
589 (mail-abbrev-mode-regexp):
590 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
591 * progmodes/idlwave.el (idlwave-libinfo-file)
592 (idlwave-default-completion-case-is-down)
593 (idlwave-library-routines): Convert defvars to defcustoms.
594
595 * mail/rmail.el (rmail-decode-mime-charset):
596 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
597 (idlwave-shell-fix-inserted-breaks)
598 (idlwave-shell-activate-alt-keybindings)
599 (idlwave-shell-use-breakpoint-glyph):
600 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
601
f7ae6719
SM
6022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
605
47086495
WS
6062012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
607
608 * progmodes/verilog-mode.el (font-lock-keywords):
609 Fix mis-highligting auto. Reported by Craig Barner.
610 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
611 defines from global name space. Reported by Dan Dever.
612 (verilog-auto-reset, verilog-auto-reset-widths)
613 (verilog-auto-tieoff): Support using unbased numbers for
614 AUTORESET and AUTOTIEOFF.
615 (verilog-submit-bug-report): Update variable list.
616 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
617 parenthesis from not matching. Reported by Michael Rytting.
618 (verilog-auto-template-lint): Fix hash error when linting modules
619 with no used templates.
620 (verilog-warn, verilog-warn-error)
621 (verilog-warn-fatal): When non-interactive report multiple
622 warnings before exiting. Suggested by Brad Dobbie.
623 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
624 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
625 to report unused template errors. Reported by Brad Dobbie.
626 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
627 nets, bug438. Reported by Vns Blore.
628 (verilog-auto-inout-module, verilog-auto-reg)
629 (verilog-read-decls, verilog-read-sub-decls-sig)
630 (verilog-signals-edit-wire-reg, verilog-signals-with):
631 Fix passing of Verilog data types in ANSI input/output ports
632 such as "output logic" into the AUTOs. Special case "wire" and
633 "reg" for backwards compatibility presuming Verilog 2001.
634 (verilog-auto-ascii-enum): Add "auto enum" as alias.
635 (verilog-preprocess): Fix replication of preprocess output.
636 Reported by Brad Dobbie.
637 (verilog-auto-inst-interfaced-ports):
638 Create verilog-auto-inst-interfaced-ports, bug429.
639 Reported by Julian Gorfajn.
640 (verilog-after-save-font-hook)
641 (verilog-before-save-font-hook): New variable.
642 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
643 (verilog-save-font-mods): Wrap disabling fontification, reported
644 by David Rogoff.
645 (verilog-do-indent, verilog-pretty-declarations-auto)
646 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
647 Reported by Pierre-David Pfister.
648 (verilog-set-auto-endcomments): Fix endtask auto comments outside
649 of class declarations, bug292. Reported by Kevin Heilman.
650 (verilog-read-decls): Fix 'parameter type' not appearing in
651 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
652 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
653 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
654 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
655 Reported by David Kravitz.
656
6572012-05-03 Michael McNamara <mac@mail.brushroad.com>
658
659 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
660 assignment with tests in ifs and for loops.
661 (verilog-extended-complete-re, verilog-complete-reg): Change so
662 that DPI inport functions don't look like fuction declarations.
663 (verilog-pretty-expr): Don't line up assignment
664 operations to the test and increment in if and for loops
665 (verilog-extended-complete-re, verilog-complete-reg): Change so
666 that DPI inport functions don't look like fuction declarations
667
2e51d4b5
KH
6682012-05-03 Kenichi Handa <handa@m17n.org>
669
670 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
671 decoding, and show a warning message without signalling an error
672 (Bug#11282).
673
2bd785a2
SM
6742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/bytecomp.el
677 (byte-compile-file-form-custom-declare-variable): Compile all elements,
678 since cconv.el might have introduced :fun-body, internal-make-closure,
679 and friends for bytecomp to handle (bug#11391).
680 * custom.el (defcustom): Avoid ((λ ..) ..).
681
99d27583
SM
6822012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
685
55a71479
JB
6862012-05-02 Juanma Barranquero <lekktu@gmail.com>
687
688 * notifications.el (dbus-debug):
689 * term/linux.el (gpm-mouse-enable):
690 * term/screen.el (xterm-register-default-colors): Declare.
691
7b97c764
CY
6922012-05-02 Chong Yidong <cyd@gnu.org>
693
2bc356d7
CY
694 * cus-start.el (gc-cons-percentage, exec-suffixes)
695 (dos-display-scancodes, dos-hyper-key, dos-super-key)
696 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
697 (make-cursor-line-fully-visible, void-text-area-pointer)
698 (font-list-limit): Add customization data.
699
7b97c764
CY
700 * allout.el (allout-exposure-change-functions)
701 (allout-structure-added-functions)
702 (allout-structure-deleted-functions)
703 (allout-structure-shifted-functions): Rename abnormal hooks from
704 *-hook, and convert to defcustoms.
5d3385a0
JB
705 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
706 Convert to defcustoms.
7b97c764
CY
707 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
708
709 * allout-widgets.el: Hook callers changed.
710
90207a15 7112012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
712
713 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
714 the yanked message in preference to the default value of
715 buffer-file-coding-system.
716
90207a15 7172012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 718
5d3385a0
JB
719 * window.el (display-buffer--action-function-custom-type):
720 Fix entry.
d9558cad 721
90207a15 7222012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
723
724 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
725
d80ac57b
GM
7262012-05-01 Glenn Morris <rgm@gnu.org>
727
976f7668
GM
728 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
729
beb83b5a
GM
730 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
731
d80ac57b
GM
732 * cus-edit.el (custom-variable-documentation): Simplify with format.
733
b593d6a9
AH
7342012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
735 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * simple.el (suggest-key-bindings, execute-extended-command):
738 Move from keyboard.c.
739
782fbf2a
CY
7402012-05-01 Chong Yidong <cyd@gnu.org>
741
742 * follow.el: Eliminate advice.
743 (set-process-filter, process-filter, sit-for): Advice deleted.
744 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
745 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
746 Vars deleted.
782fbf2a
CY
747 (follow-auto): Use a :set function.
748 (follow-mode): Rewritten. Don't advise process filters.
749 (follow-switch-to-current-buffer-all, follow-scroll-up)
750 (follow-scroll-down): Assume follow-mode is bound.
751 (follow-comint-scroll-to-bottom)
752 (follow-align-compilation-windows): New functions.
753 (follow--window-sorter): New function.
754 (follow-all-followers): Use it to explicitly sort windows by their
755 positions; don't make assumptions about next-window order.
756 (follow-windows-start-end, follow-delete-other-windows-and-split)
757 (follow-calc-win-start): Doc fix.
758 (follow-windows-aligned-p, follow-select-if-visible): Don't call
759 vertical-motion unnecessarily.
760 (follow-adjust-window): New function.
761 (follow-post-command-hook): Use it.
762 (follow-call-set-process-filter, follow-call-process-filter)
763 (follow-intercept-process-output, follow-tidy-process-filter-alist)
764 (follow-stop-intercept-process-output, follow-generic-filter):
765 Functions deleted.
766 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
767 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
768 New functions, replacing advice on scroll-bar-* commands.
87233a14 769 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
770
771 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
772 (comint-postoutput-scroll-to-bottom): Use it.
773 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 774
290af740
GM
7752012-05-01 Glenn Morris <rgm@gnu.org>
776
777 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
778 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
779 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
780 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
781 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
782 Remove no-byte-compile setting.
783
6eac8dc9
SM
7842012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * minibuffer.el (completion-table-with-quoting): Fix compatibility
787 all-completions code to not return a number in the last cdr.
788
9cc7819c
LL
7892012-04-30 Leo Liu <sdl.web@gmail.com>
790
791 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
792 read-only error.
793
c93b886f
CY
7942012-04-29 Chong Yidong <cyd@gnu.org>
795
796 * follow.el (follow-calc-win-end): Rewrite to handle partial
797 screen lines correctly (Bug#8390).
798 (follow-avoid-tail-recenter): Minor cleanup.
799
8b6c19f4
SM
8002012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 Avoid the obsolete `assoc' package.
803 * speedbar.el (speedbar-refresh): Avoid adelete.
804 (speedbar-file-lists): Simplify and avoid aput.
805 * man.el (Man--sections, Man--refpages): New vars, replacing
806 Man-sections-alist and Man-refpages-alist.
807 (Man-build-section-alist, Man-build-references-alist):
808 Use them; avoid aput.
809 (Man--last-section, Man--last-refpage): New vars.
810 (Man-follow-manual-reference): Use them.
811 Use the `default' arg of completing-read.
812 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
813
c5bb7569
CY
8142012-04-27 Chong Yidong <cyd@gnu.org>
815
d1d2e2e8
CY
816 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
817
15cd8efd
CY
818 * startup.el (x-apply-session-resources): New function.
819
820 * term/ns-win.el (ns-initialize-window-system):
821 * term/w32-win.el (w32-initialize-window-system):
822 * term/x-win.el (x-initialize-window-system): Use it to properly
823 set menu-bar-mode and other vars from X resources, even if the
824 initial frame is not a window-system frame (Bug#2299).
825
c5bb7569
CY
826 * subr.el (read-key): Avoid running filter function when setting
827 up temporary tool bar entries (Bug#9922).
828
a8e7d6d7 8292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
830
831 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
832 (Bug#11344)
833
a8e7d6d7 8342012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
835
836 * select.el (xselect--encode-string): New function, split from
837 xselect-convert-to-string.
838 (xselect-convert-to-string): Use it.
839 (xselect-convert-to-filename, xselect-convert-to-os)
840 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
841 returned strings are properly encoded (Bug#11315).
842
a8e7d6d7 8432012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
844
845 * simple.el (delete-active-region): Move to killing custom group.
846
a8e7d6d7 8472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
848
849 * progmodes/which-func.el (which-func-current): Quote %
850 characters for mode-line processing.
851
578c1d4b 8522012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
853
854 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
855 reaching eob (Bug#11286).
856
a8e7d6d7 8572012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
858
859 * progmodes/gdb-mi.el (gdb-control-level): New variable.
860 (gdb): Make it buffer-local and init to zero.
861 (gdb-control-commands-regexp): New variable.
862 (gdb-send): Don't wrap in "-interpreter-exec console" if
863 gdb-control-level is positive. Increment gdb-control-level
864 whenever the command matches gdb-control-commands-regexp, and
865 decrement it each time the command is "end". (Bug#11279)
866
a8e7d6d7 8672012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
868
869 * window.el (adjust-window-trailing-edge, enlarge-window)
870 (shrink-window, window-resize):
871 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
872 windows (Bug#11276).
873
b3608390
CY
8742012-04-27 Chong Yidong <cyd@gnu.org>
875
876 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 877 fix "missing prefix" warning. All callers changed.
b3608390 878
797e6e88
SM
8792012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/assoc.el: Move to obsolete/.
882
e95a67dc
SM
8832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
884
657c21e4 885 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
886
887 * term/ns-win.el (ns-define-service):
888 * progmodes/pascal.el (pascal-goto-defun):
889 * progmodes/js.el (js--read-tab):
890 * progmodes/etags.el (tags-lazy-completion-table):
891 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
892 * emacs-lisp/ewoc.el (ewoc--wrap):
893 * emacs-lisp/assoc.el (aput, adelete, amake):
894 * doc-view.el (doc-view-convert-current-doc):
895 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
896
cb3e7ae0
CY
8972012-04-26 Chong Yidong <cyd@gnu.org>
898
dce04f7f
CY
899 * image.el (image-type-from-buffer): Only return supported image
900 type (Bug#9045).
901
cb3e7ae0
CY
902 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
903 value, for symmetry with diff-end-of-hunk.
904 (diff-split-hunk, diff-find-source-location)
905 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
906 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
907 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
908 compute the relevant hunk or file properly (Bug#6005).
909 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
910
0d42eb3e
SM
9112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * vc/vc-mtn.el:
914 * vc/vc-hg.el:
915 * vc/vc-git.el:
916 * vc/vc-dir.el:
917 * vc/vc-cvs.el:
918 * vc/vc-bzr.el:
919 * vc/vc-arch.el:
920 * vc/vc.el: Replace lexical-let by lexical-binding.
921 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
922 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
923 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
924
f08ae1c9
CY
9252012-04-26 Chong Yidong <cyd@gnu.org>
926
8b71081d
CY
927 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
928 (diff-mode-shared-map): Bind it to / and [remap undo].
929
f08ae1c9
CY
930 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
931 (ediff-window-setup-function): Use it as the default, to set up
932 windows based on whether the current frame is graphical (Bug#2138).
933 (ediff-choose-window-setup-function-automatically): Make obsolete.
934
935 * vc/ediff-init.el: Always define ediff-pixel-width/height.
936
ef24141c
SM
9372012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
938
cc356a5d
SM
939 * ffap.el: Remove old code for obsolete package.
940 (ffap-complete-as-file-p): Remove.
941
b4ff4f1f
SM
942 Use completion-table-with-quoting for comint and pcomplete.
943 * comint.el (comint--unquote&requote-argument)
944 (comint--unquote-argument, comint--requote-argument): New functions.
945 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
946 (comint-quote-filename): Use regexp-opt-charset.
947 (comint--common-suffix, comint--common-quoted-suffix)
948 (comint--table-subvert): Remove.
949 (comint-unquote-function, comint-requote-function): New vars.
950 (comint--complete-file-name-data): Use them with
951 completion-table-with-quoting.
952 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
953 * pcomplete.el (pcomplete-arg-quote-list)
954 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
955 (pcomplete-unquote-argument-function): Default to non-nil.
956 (pcomplete-unquote-argument): Simplify.
957 (pcomplete--common-quoted-suffix): Remove.
958 (pcomplete-requote-argument-function): New var.
959 (pcomplete--common-suffix): New function.
960 (pcomplete-completions-at-point): Use completion-table-with-quoting
961 and completion-table-subvert.
962
79c4eeb4
SM
963 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
964 (minibuffer--double-dollars): Preserve properties.
965 (completion--sifn-requote): New function.
966 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
967
ef24141c
SM
968 * minibuffer.el: Add support for completion of quoted/escaped data.
969 (completion-table-with-quoting, completion-table-subvert): New funs.
970 (completion--twq-try, completion--twq-all): New functions.
971 (completion--nth-completion): New function.
972 (completion-try-completion, completion-all-completions): Use it.
973
784e7d6e
LL
9742012-04-25 Leo Liu <sdl.web@gmail.com>
975
dd2ac746
SM
976 * progmodes/python.el (python-pdbtrack-get-source-buffer):
977 Use compilation-message if available to find real filename.
784e7d6e 978
07875ee7
CY
9792012-04-25 Chong Yidong <cyd@gnu.org>
980
981 * vc/diff-mode.el (diff-setup-whitespace): New function.
982 (diff-mode): Use it.
983
984 * vc/diff.el (diff-sentinel):
985 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
986 Whitespace mode variables based on diff style (Bug#8612).
987
5055880d
LL
9882012-04-25 Leo Liu <sdl.web@gmail.com>
989
daf75653
LL
990 * progmodes/python.el (python-send-region): Add suffix .py to the
991 temp file.
992
5055880d
LL
993 * files.el (auto-mode-alist): Use javascript-mode instead.
994
db9b177b
AH
9952012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
996
ef24141c 997 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
998
999 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1000 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1001 references, see Bug#9.
ef24141c 1002 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1003 when receiving a fault reply.
ef24141c 1004 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1005
1006 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1007 (soap-inspect-simple-type): New function.
db9b177b 1008
ef24141c 1009 * soap-client.el (soap-simple-type): New struct.
db9b177b 1010 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1011 (soap-decode-basic-type, soap-encode-basic-type):
1012 support unsignedInt and double basic types.
db9b177b 1013 (soap-resolve-references-for-simple-type)
ef24141c
SM
1014 (soap-parse-simple-type, soap-encode-simple-type): New function.
1015 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1016
1017 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1018 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1019 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1020 the local name of "soapenc:Array".
1021 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1022 decoding integer, byte and anyURI xsd types.
1023
1fc6097b
CY
10242012-04-25 Chong Yidong <cyd@gnu.org>
1025
1026 * cus-edit.el (custom-buffer-create-internal): Update header text.
1027
afc6df87
EZ
10282012-04-25 Eli Zaretskii <eliz@gnu.org>
1029
1030 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1031 settings on 'system-type', not on 'window-system'. On MS-Windows,
1032 set interactive-mode on in GDB.
1033
dfbd787f
SM
10342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1037 (ruby-syntax-propertize-regexp): Remove.
1038 (ruby-syntax-propertize-function): Split regexp into chunks.
1039 Match following code directly.
1040
85222d44
DG
10412012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1042
51a8ea2a
DG
1043 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1044 (ruby-syntax-propertize-regexp): New function.
1045 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1046 by a special keyword.
1047
85222d44
DG
1048 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1049 (ruby-syntax-general-delimiters-goto-beg)
1050 (ruby-syntax-propertize-general-delimiters): New functions.
1051 (ruby-syntax-propertize-function): Use them to handle GDL.
1052 (ruby-font-lock-keywords): Move old handling of GDL...
1053 (ruby-font-lock-syntactic-keywords): .. to here.
1054 (ruby-calculate-indent): Adjust indentation for GDL.
1055
b613912b
MA
10562012-04-24 Michael Albinus <michael.albinus@gmx.de>
1057
b5380639
MA
1058 * notifications.el (top): Remove unneeded declarations.
1059 (notifications-specification-version): Change to "1.2".
e43042fe 1060 (notifications-interface, notifications-notify-method)
b613912b
MA
1061 (notifications-close-notification-method): Fix docstring.
1062 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1063 (notifications-notify): Add :action-items, :resident and
1064 :transient hints. Change "image_data" to "image-data" and
1065 "image_path" to "image-path".
b613912b
MA
1066 (notifications-get-capabilities): New defun.
1067
257440aa
LL
10682012-04-24 Leo Liu <sdl.web@gmail.com>
1069
1070 * progmodes/python.el: Move hideshow setup to the end.
1071
b1bac16e
MR
10722012-04-24 Martin Rudalics <rudalics@gmx.at>
1073
1074 * window.el (handle-select-window): Clear echo area since this is
1075 no more done by read_char (Bug#11304).
1076
d81bd059
SM
10772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1080 and `/ M' to filter-derived-mode.
1081 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1082 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1083 (ibuffer-mark-by-mode): Use default rather than initial-input.
1084 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1085
c4cf6d91
IA
10862012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1087
1088 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1089 (ibuffer-filter-by-derived-mode): New filter.
1090 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1091
7511ded8
CY
10922012-04-23 Andreas Politz <politza@fh-trier.de>
1093
1094 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1095
775c916b
CY
10962012-04-23 Chong Yidong <cyd@gnu.org>
1097
1098 * cus-edit.el (customize-apropos, customize-apropos-options):
1099 Disable matching of non-option variables (Bug#11176).
1100 (customize-option, customize-option-other-window)
1101 (customize-changed-options): Doc fix.
1102 (customize-apropos-options, customize-apropos-faces)
1103 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1104
1105 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1106 Fix word list splitting (Bug#11132).
46c71e23
CY
1107 (apropos-symbol, apropos-keybinding, apropos-label)
1108 (apropos-property, apropos-function-button)
1109 (apropos-variable-button, apropos-misc-button): New faces.
1110 (apropos-symbol-face, apropos-keybinding-face)
1111 (apropos-label-face, apropos-property-face, apropos-match-face):
1112 Variables removed (Bug#8396).
1113 (apropos-library-button, apropos-format-plist, apropos-print)
1114 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1115
2df41f9c
MA
11162012-04-23 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * net/xesam.el (xesam-mode-map): Use let-bound map in
1119 initialization. (Bug#11292)
1120
da00640a
AM
11212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1122
1123 Preserve ispell session localwords when switching back to
1124 original buffer.
1125
1126 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1127 variable to hold buffer session localwords.
1128 (ispell-kill-ispell): add option 'clear to delete session
1129 localwords.
1130 (ispell-command-loop, ispell-change-dictionary)
1131 (ispell-buffer-local-words): Preserve session localwords when
1132 needed.
1133
1134 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1135 Preserve session localwords when needed.
1136
f621ccf5
AM
11372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1138
1139 * ispell.el (ispell-insert-word) Remove unneeded function using
1140 obsolete `translation-table-for-input'.
ef24141c
SM
1141 (ispell-word, ispell-process-line, ispell-complete-word):
1142 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1143
c2d1019e
CY
11442012-04-22 Chong Yidong <cyd@gnu.org>
1145
1146 * cus-edit.el (custom-variable-menu)
1147 (custom-variable-reset-saved, custom-face-menu)
1148 (custom-face-reset-saved): If there is no saved value, make the
1149 "reset-saved" operation bring back the default (Bug#9509).
1150 (custom-face-state): Properly detect themed faces.
1151
eeddc531
CY
1152 * faces.el (face-spec-set): Stop supporting deprecated form of
1153 third arg.
1154
dcbf5805
MA
11552012-04-22 Michael Albinus <michael.albinus@gmx.de>
1156
1157 Move functions from C to Lisp. Make non-blocking method calls
1158 the default. Implement further D-Bus standard interfaces.
1159
ef24141c
SM
1160 * net/dbus.el (dbus-message-internal): Declare function.
1161 Remove unneeded function declarations.
dcbf5805
MA
1162 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1163 (dbus-message-type-method-return, dbus-message-type-error)
1164 (dbus-message-type-signal): Declare variables. Remove local
1165 definitions.
1166 (dbus-interface-dbus, dbus-interface-peer)
1167 (dbus-interface-introspectable, dbus-interface-properties)
1168 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1169 Adapt docstring.
1170 (dbus-interface-objectmanager): New defconst.
1171 (dbus-call-method, dbus-call-method-asynchronously)
1172 (dbus-send-signal, dbus-method-return-internal)
1173 (dbus-method-error-internal, dbus-register-service)
1174 (dbus-register-signal, dbus-register-method): New defuns, moved
1175 from dbusbind.c
1176 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1177 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1178 New defuns.
dcbf5805
MA
1179 (dbus-call-method-non-blocking): Make it an obsolete function.
1180 (dbus-unregister-object, dbus-unregister-service)
1181 (dbus-handle-event, dbus-register-property)
1182 (dbus-property-handler): Obey the new structure of
1183 `bus-registered-objects'.
1184 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1185 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1186 Use `dbus-call-method'.
1187
cf20dee0
CY
11882012-04-22 Chong Yidong <cyd@gnu.org>
1189
1190 * cus-edit.el (custom-commands, custom-reset-menu)
1191 (Custom-reset-standard): Tweak labels.
1192 (custom-reset-button-menu): Change default to t.
1193 (custom-buffer-create-internal): For the custom-reset-button-menu
1194 case, put the revert button first.
1195 (custom-group-subtitle): New face.
1196 (custom-group-value-create): Align docstring to a specific column.
1197
1198 * wid-edit.el (widget-documentation-link-add): Don't handle
1199 indentation in this function.
1200 (widget-documentation-string-indent-to): New function.
1201 (widget-documentation-string-value-create): Use it.
1202
1203 * autorevert.el (auto-revert):
1204 * epg-config.el (epg):
1205 * ibuffer.el (ibuffer):
1206 * mpc.el (mpc):
1207 * ses.el (ses):
1208 * eshell/eshell.el (eshell):
1209 * net/ange-ftp.el (ange-ftp):
1210 * progmodes/ebnf2ps.el (postscript):
1211 * progmodes/flymake.el (flymake):
1212 * progmodes/prolog.el (prolog):
1213 * progmodes/verilog-mode.el (verilog-mode):
1214 * progmodes/which-func.el (which-func):
1215 * term/xterm.el (xterm):
1216 * textmodes/picture.el (picture):
1217 * textmodes/tildify.el (tildify):
1218 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1219 customization buffers.
1220
583e23bd
AM
12212012-04-22 Alan Mackenzie <acm@muc.de>
1222
1223 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1224 Adding a ) can hide the resulting (..) from searches. Fix it.
1225 Bound the backward search to the position of the existing (.
1226
7dd51bf1
JB
12272012-04-21 Juanma Barranquero <lekktu@gmail.com>
1228
1229 * progmodes/verilog-mode.el (verilog-mode): Check whether
1230 which-func-modes is t before adding verilog-mode.
1231 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1232
d64a438f
LL
12332012-04-21 Leo Liu <sdl.web@gmail.com>
1234
7dd51bf1 1235 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1236
081e8d65
MV
12372012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1238
1239 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1240 filling of the last column of a table (Bug#5635).
1241 (woman-find-next-control-line): New arg, specifying an additional
1242 regexp component for the control line.
1243 (woman2-roff-buffer): Use it.
1244 (woman-break-table): New function.
1245 (woman2-TS): Use it.
1246
12472012-04-21 Chong Yidong <cyd@gnu.org>
1248
1249 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1250 (woman-horizontal-escapes, woman-negative-vertical-space)
1251 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1252 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1253
ed571ccb
SM
12542012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * minibuffer.el (completion-file-name-table): Complete user names.
1257
39773899
LL
12582012-04-20 Leo Liu <sdl.web@gmail.com>
1259
1260 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1261 and pcase-let*.
1262
de6ff46d
CY
12632012-04-20 Chong Yidong <cyd@gnu.org>
1264
1265 * server.el (server-execute): Respect initial-buffer-choice if it
1266 is a string and there are no files to open (Bug#2825).
1267 (server-create-window-system-frame, server-create-tty-frame):
1268 Don't switch buffers here.
2d0e8e61
CY
1269 (server-process-filter): Only try to open a window system frame if
1270 compiled with graphical support (Bug#8314).
de6ff46d 1271
54071013
DN
12722012-04-20 Dan Nicolaescu <dann@gnu.org>
1273
1274 * battery.el (battery-echo-area-format): Display remaining time
1275 for sysfs backend too (Bug#11269).
1276 (battery-linux-sysfs): Fix conditional for the charge.
1277
f30d612a
CY
12782012-04-20 Chong Yidong <cyd@gnu.org>
1279
c07a4c0b 1280 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1281 (gdb-inferior-io--init-proc): New function.
1282 (gdb-init-1): Use it.
1283 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1284 responsible for allocating a new pty and hooking it to gdb when
1285 the old pty gets an EIO due to process exit.
1286 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1287 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1288 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1289
2116e93c
EZ
12902012-04-20 Eli Zaretskii <eliz@gnu.org>
1291
1292 * window.el (window-min-size, window-sizable, window-min-delta)
1293 (window-max-delta, window--resizable, window-resizable)
1294 (window-total-size, window-full-height-p, window-full-width-p)
1295 (window-in-direction, window--resize-mini-window, window-resize)
1296 (window--resize-child-windows-normal)
1297 (window--resize-child-windows, window--resize-siblings)
1298 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1299 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1300
c07a4c0b 13012012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1302
ef24141c
SM
1303 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1304 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1305 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1306 pty process (Bug#11273).
1307 (gdb-update): New arg to suppress talking to the gdb process.
1308 (gdb-done-or-error): Use it.
1309 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1310 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1311 sentinel not being called.
1312
1313 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1314
d02766ab
CY
1315 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1316
c07a4c0b 13172012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1318
1319 * net/network-stream.el (open-network-stream): Doc fix.
1320
c07a4c0b 13212012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1322
1323 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1324
c07a4c0b 13252012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1326
1327 Ensure searching for keywords is case sensitive.
1328
1329 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1330 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1331 (c-defun-name, c-mark-function, c-cpp-define-name)
1332 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1333 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1334
ef24141c
SM
1335 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1336 Bind case-fold-search to nil.
f0f6bc35 1337
c07a4c0b 13382012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1339
1340 * mail/sendmail.el (mail-bury): Call return action with the right
1341 Rmail buffer (Bug#11242).
1342
9a864fa2
CY
1343 * server.el (server-process-filter): Handle corner case where both
1344 tty and nowait options are present (Bug#11102).
1345
539aa513
EZ
13462012-04-20 Eli Zaretskii <eliz@gnu.org>
1347
1348 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1349 (top level): Put into the executable the ident-style '$Id:' tag on
1350 windows-nt as well.
539aa513 1351
cfc7d5da
SM
13522012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * electric.el (electric-indent-post-self-insert-function): Check that
1355 electric-indent-mode is enabled in current buffer.
1356
5b01685c
JB
13572012-04-19 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * imenu.el (imenu-progress-message): Restore; it is "used" in
1360 erc/erc-imenu.el and net/snmp-mode.el.
1361
4d6769e1
JB
13622012-04-19 Juanma Barranquero <lekktu@gmail.com>
1363
1364 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1365 (mouse-avoidance-nudge-mouse): Remove unused binding.
1366
1367 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1368
1369 * descr-text.el (describe-char):
1370 * progmodes/python.el (python-describe-symbol):
1371 Don't call `toggle-read-only', set `buffer-read-only'.
1372
1373 * imenu.el (imenu-default-goto-function): Mark unused args.
1374 (imenu-progress-message): Remove obsolete macro; all callers changed.
1375
1376 * subr.el (keymap-canonicalize): Remove unused binding.
1377 (read-passwd): Mark unused arg.
1378
1379 * tutorial.el (tutorial--display-changes): Remove unused binding.
1380 (tutorial--save-tutorial-to): Remove unused variable.
1381
1382 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1383 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1384 (package-generate-autoloads, package-menu--generate)
1385 (package-menu--find-upgrades): Remove unused bindings.
1386
1387 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1388 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1389 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1390 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1391 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1392 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1393 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1394 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1395 (cua-delete-char-rectangle): Mark unused args.
1396 (cua-align-rectangle): Remove unused binding.
1397
1398 * mail/rmail.el (compilation--message->loc)
1399 (epa--find-coding-system-for-mime-charset): Declare.
1400
1401 * net/dbus.el (dbus-register-service): Declare.
1402 (dbus-name-owner-changed-handler): Remove unused binding.
1403
1404 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1405 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1406 (nxml-scan-backward-within): Mark unused arg.
1407 (nxml-dynamic-markup-word): Remove unused binding.
1408
1409 * mouse.el (mouse-menu-major-mode-map):
1410 * emacs-lisp/authors.el (authors-scan-change-log)
1411 (authors-add-to-author-list):
1412 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1413 * emacs-lisp/smie.el (smie-auto-fill):
1414 * mail/sendmail.el (mail-bury):
1415 * mail/unrmail.el (unrmail):
1416 * net/tls.el (open-tls-stream):
1417 * textmodes/picture.el (picture-mouse-set-point):
1418 Remove unused bindings.
1419
8c8fc5df
MA
14202012-04-19 Michael Albinus <michael.albinus@gmx.de>
1421
1422 * net/tramp.el (tramp-action-password): Let-bind
1423 `enable-recursive-minibuffers' to t.
1424
a77b0ac9
SS
14252012-04-18 Sam Steingold <sds@gnu.org>
1426
1427 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1428 instead of 'string to accommodate values like [f11].
1429 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1430 * progmodes/gdb-mi.el: Likewise.
1431
12a106a9
LL
14322012-04-18 Leo Liu <sdl.web@gmail.com>
1433
1434 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1435 current buffer.
1436 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1437 LOCAL is nil.
1438
bc6494ef
CY
14392012-04-18 Chong Yidong <cyd@gnu.org>
1440
1441 * simple.el (line-move): Use forward-line if in batch mode
1442 (Bug#11053).
1443
c09c46b2
CS
14442012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1445
1446 * files.el (after-find-file): Do not try to add a final newline if
1447 the buffer is read-only (Bug#11156).
1448
5f6530ea
RS
14492012-04-17 Richard Stallman <rms@gnu.org>
1450
1451 * mail/rmail.el (rmail-start-mail):
1452 Pass (rmail-mail-return...) for the return-action.
1453 Pass (rmail-yank-current-message...) for the yank-action.
1454 (rmail-yank-current-message): New function.
1455 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1456 (rmail-reply): Likewise.
1457 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1458
1459 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1460 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1461 buffer, not newbuf.
1462
197b6f3c
JB
14632012-04-17 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * server.el (server-ensure-safe-dir): Simplify.
1466
2311d8e5 14672012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1468
2311d8e5
GM
1469 * emacs-lisp/smie.el: Provide smarter auto-filling.
1470 (smie-auto-fill): New function.
1471 (smie-setup): Use it.
98fb480e 1472
2311d8e5
GM
1473 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1474
14752012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1476
1477 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1478 (comment-indent): Use it.
1479
2311d8e5 14802012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1481
1482 * ses.el: The overall change is to add cell renaming, that is
1483 setting fancy names for cell symbols other than name matching
1484 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1485 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1486 (ses-create-cell-variable): New defun.
2311d8e5 1487 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1488 (ses-relocate-formula): Relocate formulas only for cells the
1489 symbols of which are not renamed, i.e. symbols whose names do not
1490 match regexp "\\`[A-Z]+[0-9]+\\'".
1491 (ses-relocate-all): Relocate values only for cells the symbols of
1492 which are not renamed.
1493 (ses-load): Create cells variables as the (ses-cell ...) are read,
1494 in order to check row col consistency with cell symbol name only
1495 for cells that are not renamed.
1496 (ses-replace-name-in-formula): New defun.
1497 (ses-rename-cell): New defun.
4bdf2ad2 1498
fc72b15c
PO
14992012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1500
1501 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1502 New option (bug#11118).
1503 (perl-calculate-indent): Respect it.
1504
12e10e61
GM
15052012-04-17 Glenn Morris <rgm@gnu.org>
1506
1507 * dired-aux.el (dired-mark-read-string): Doc fix.
1508
30009afd
DA
15092012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1510
1511 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1512 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1513
41f03f4d
GM
15142012-04-17 Glenn Morris <rgm@gnu.org>
1515
1516 * mouse.el (mouse-drag-track):
1517 * speedbar.el (speedbar-frame-mode):
1518 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1519
f45f90f3
LL
15202012-04-16 Leo Liu <sdl.web@gmail.com>
1521
1522 * progmodes/python.el: Trivial cleanup.
1523
94ee8db5
GM
15242012-04-16 Glenn Morris <rgm@gnu.org>
1525
121b8917
GM
1526 * vc/vc.el (vc-string-prefix-p):
1527 * vc/pcvs-util.el (cvs-string-prefix-p):
1528 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1529 * mpc.el (mpc-string-prefix-p):
1530 Make all of these into obsolete aliases for string-prefix-p.
1531 Update callers.
1532 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1533
1197ecfa
GM
1534 * textmodes/two-column.el: Move custom options to the start.
1535 (frame-width): Remove compat definition.
1536 (2C-associate-buffer, 2C-dissociate):
1537 Use with-current-buffer rather than save-excursion.
1538 (2C-dissociate): Force a mode-line update.
1539 (2C-autoscroll): Use ignore-errors.
1540
099e7202
GM
1541 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1542 Autoload trivia.
1543
bf350d6a
GM
1544 * emacs-lisp/cl-extra.el (*random-state*):
1545 Remove unnecessary declaration.
1546
0e829eab
GM
1547 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1548
e3ad7552
GM
1549 * play/cookie1.el (cookie-snarf):
1550 Give an explicit error if input file cannot be read.
1551
68892d27
GM
1552 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1553
20f0c46d
GM
1554 * progmodes/perl-mode.el (c-macro-expand):
1555 Remove unnecessary autoload (it is in loaddefs.el).
1556
5a0978ce
GM
1557 * textmodes/picture.el (picture-desired-column)
1558 (picture-update-desired-column): Convert comments to doc-strings.
1559 (picture-substitute): Remove function.
1560 (picture-mode-map): Initialize in the defvar.
1561
6b955486
GM
1562 * woman.el: Remove eval-after-load for tar-mode.
1563 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1564 (woman-tar-extract-file): Autoload it.
1565
94ee8db5
GM
1566 * frame.el (automatic-hscrolling): Make this alias obsolete.
1567
177eca34
AM
15682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1569
1570 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1571 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1572 (ispell-dictionary-base-alist): Revert to original XEmacs
1573 friendly version for default. [:alpha:] will be added in
1574 `ispell-set-spellchecker-params' if needed
177eca34 1575
c505aaeb
CY
15762012-04-16 Chong Yidong <cyd@gnu.org>
1577
1578 * image.el (imagemagick--extension-regexp): New variable.
1579 (imagemagick-register-types): Use it.
1580 (imagemagick-types-inhibit): Add :set function. Allow new value
1581 of t to inhibit all types.
1582
1583 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1584 so we can preload it.
1585
1586 * loadup.el (fboundp): Preload regexp-opt, needed by
1587 imagemagick-register-types.
1588
60efac0f
CY
15892012-04-15 Chong Yidong <cyd@gnu.org>
1590
1591 * frame.el (scrolling): Remove nearly unused customization group.
1592
1593 * scroll-all.el (scroll-all-mode): Move to windows group.
1594
5dd1713e
CY
15952012-04-15 Chong Yidong <cyd@gnu.org>
1596
1597 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1598
e6fd457e
CY
15992012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1602 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1603
e153c136
GM
16042012-04-15 Glenn Morris <rgm@gnu.org>
1605
1606 * simple.el (process-file-side-effects): Doc fix.
1607
e6fd457e 16082012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1609
1610 * international/mule-cmds.el (set-language-environment): Doc fix.
1611
3603c3b1
JB
16122012-04-14 Juanma Barranquero <lekktu@gmail.com>
1613
1614 * server.el (server-auth-key, server-generate-key): Doc fixes.
1615 (server-get-auth-key): Doc fix. Use `string-match-p'.
1616 (server-start): Reflow docstring.
1617
e6de100c
LI
16182012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1619
1620 * server.el (server-generate-key): `called-interactively-p'
1621 requires a parameter.
1622
29734c21
MN
16232012-04-14 Michal Nazarewicz <mina86@mina86.com>
1624
1625 * server.el (server-auth-key): New variable.
75f1671a 1626 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1627 (server-start): Use the new variable and functions to allow
1628 setting a permanent server key (bug#9423).
1629
d65c9521
LL
16302012-04-14 Leo Liu <sdl.web@gmail.com>
1631
1632 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1633
5ae255c7
PE
16342012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1635
1636 Spelling fixes.
1637 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1638 Emacs uses American spelling.
1639
d5e6342e
JB
16402012-04-14 Juanma Barranquero <lekktu@gmail.com>
1641
1642 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1643 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1644 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1645 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1646
ab036cd7
SM
16472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * progmodes/which-func.el (which-func-modes): Change default.
1650
35dc09a1 16512012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1652
1653 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1654 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1655
35dc09a1 16562012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1657
1658 * custom.el (custom-theme-set-variables): Doc fix.
1659
35dc09a1 16602012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1661
1662 * international/mule.el (set-auto-coding-for-load): Doc fix.
1663
35dc09a1 16642012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1665
35dc09a1
GM
1666 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1667 imenu work again for Objective C Mode. Correct the *-index values,
1668 these having been disturbed by a previous change in 2011-08.
57f845ee 1669
0de3da9f
AM
1670 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1671 Correct two search limits.
1672
35dc09a1 16732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1674
1675 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1676
35dc09a1 16772012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1678
1679 * international/characters.el: Fix sorting.
1680
35dc09a1 16812012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1682
1683 * international/characters.el: Add more missing Latin case pairs.
1684
35dc09a1 16852012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1686
1687 * files.el (dir-locals-set-class-variables): Doc fix.
1688
35dc09a1 16892012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1690
3f1b5bf8
EZ
1691 * international/characters.el: Add set-case-syntax-pair call for
1692 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1693 counterpart. (Bug#11209)
1694
9f847f41
EZ
1695 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1696
35dc09a1 16972012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1698
1699 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1700
35dc09a1 17012012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1702
35dc09a1
GM
1703 * textmodes/ispell.el (ispell-dictionary-base-alist):
1704 Add data for Hebrew.
e2627d21 1705
35dc09a1 17062012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1707
35dc09a1
GM
1708 * net/rcirc.el (rcirc-cmd-quit):
1709 Revert 2012-03-18 change (Bug#11192).
5c14e333 1710
35dc09a1 17112012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1712
1713 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1714
35dc09a1 17152012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1716
4517fe3a
SM
1717 * minibuffer.el (completion-in-region-mode-map):
1718 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1719
b472a594
VD
17202012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1721
1722 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1723
09b95ce3
MY
17242012-04-13 Masatake YAMATO <yamato@redhat.com>
1725
1726 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1727 to allow `C-M-f' and `C-M-b' to move to the nearest path
1728 separator (bug#9511).
1729
4b63a9ca
LI
17302012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1731
1732 * avoid.el: Require cl when compiling. And also move the
1733 `provide' to the end.
1734
7b55b8bf
TV
17352012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1736
1737 * avoid.el (mouse-avoidance-banish-position): New variable.
1738 (mouse-avoidance-banish-destination): Use it (bug#10165).
1739
adedaa1f
LL
17402012-04-13 Leo Liu <sdl.web@gmail.com>
1741
1742 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1743
70e74021
KB
17442012-04-13 Ken Brown <kbrown@cornell.edu>
1745
1746 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1747 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1748 (browse-url-filename-alist): For the same reason, don't modify
1749 file:// URLs on Cygwin.
1750
e75e89ba
SM
17512012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1754 the region on shift if the binding is already shifted (bug#11221).
1755
82f289a4
GM
17562012-04-12 Glenn Morris <rgm@gnu.org>
1757
1758 * mail/mailpost.el: Move to obsolete/.
1759
d333dc4c
DA
17602012-04-12 Drew Adams <drew.adams@oracle.com>
1761
1762 * imenu.el (imenu--generic-function): Ignore invisible definitions
1763 (bug#10123).
1764
0d15b5ba
VD
17652012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1766
1767 * hexl.el (hexl-bits): New variable.
1768 (hexl-options): Mention the variable in the doc string.
75f1671a 1769 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1770 (hexl-mode): Mention the new variable.
75f1671a
JB
1771 (hexl-mode, hexl-current-address, hexl-current-address):
1772 Use the displen.
0d15b5ba
VD
1773 (hexl-ascii-start-column): New function.
1774 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1775 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1776
64a440db
AM
17772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1778
1779 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1780 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1781 the encoding, as expected by hunspell.
1782
6decb6c2
SM
17832012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * battery.el (battery--linux-sysfs-regexp): New const.
1786 (battery-status-function): Use it. Remove yeeloong special case.
1787 (battery-yeeloong-sysfs): Remove.
1788 (battery-echo-area-format): Remove yeeloong special case.
1789
088be6fb
SM
17902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1791
6622e416
SM
1792 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1793 Reported by Noah Friedman.
1794
088be6fb
SM
1795 * subr.el (read-passwd): Use read-string.
1796
b49f886e
LMI
17972012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
1799 * vcursor.el (vcursor-move): Increase the priority of the overlay
1800 (bug#9663).
1801
a63067fc
DD
18022012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1803
1804 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1805 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1806
ac3cf14a
WS
18072012-04-11 William Stevenson <yhvh2000@gmail.com>
1808
1809 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1810 define-minor-mode (bug#10760).
1811
c4fc691b 18122012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1813
4d6769e1 1814 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1815 that directories matching `grep-find-ignored-files' won't be
1816 pruned (bug#10351).
1817
af23e2e5
CY
18182012-04-11 Chong Yidong <cyd@gnu.org>
1819
1820 * startup.el (command-line): Remove support for long-obsolete
1821 variable font-lock-face-attributes.
1822
ab7ce8c1
GM
18232012-04-11 Glenn Morris <rgm@gnu.org>
1824
1825 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1826
de8c03dc
SM
18272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * window.el (window--state-get-1): Obey window-point-insertion-type.
1830
050cc68b
LB
18312012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1832
1833 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1834 to previous function when point is on the first character of a
75f1671a 1835 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1836
a38c310c
GM
18372012-04-11 Glenn Morris <rgm@gnu.org>
1838
effed0c2
GM
1839 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1840 not just file-errors.
1841
a38c310c
GM
1842 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1843 (vc-bzr-sha1): Use internal sha1.
1844
0221e323
SM
18452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1848
43956923
SG
18492012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1850
1851 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1852 that start in the middle of the line (bug#10496).
1853
6a8c9eaf
DN
18542012-04-10 Dan Nicolaescu <dann@gnu.org>
1855
1856 * battery.el (battery-linux-proc-acpi): Only one battery is
1857 discharged at a time, but that seems to confuse battery.el when
1858 computing `rate-type' for the battery not being discharged
1859 (bug#10332).
1860
1930bf5d
SM
18612012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1862
2a718f6f
SM
1863 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1864
599430d0
SM
1865 * international/quail.el: Use dolist and simplify.
1866 (quail-define-package, quail-update-keyboard-layout)
1867 (quail-define-rules): Use dolist.
1868 (quail-insert-kbd-layout, quail-get-translation): CSE.
1869
a2754b6c
SM
1870 * tmm.el: Use dolist, remove left over hook.
1871 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1872 Use dolist.
1873 (calendar-load-hook): Don't mess with it.
1874
1930bf5d
SM
1875 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1876 Use derived-mode-p. Run the diff asynchronously.
1877
9f67961c
LMI
18782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879
1880 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1881
2a8ce227
JB
18822012-04-10 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1885 (list-dynamic-libraries--loaded): New function.
1886 (list-dynamic-libraries--refresh): Use it.
1887
8f33b5f8
NW
18882012-04-10 Nathan Weizenbaum <nweiz@google.com>
1889
1930bf5d
SM
1890 * progmodes/python.el (python-fill-paragraph):
1891 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1892 disabled (bug#7018).
1893
b12f0439
L
18942012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1895
1930bf5d 1896 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1897 DOS/MS Windows for the Baltic languages. There are still plenty
1898 of texts written in this encoding/codepage (bug#6519).
b12f0439 1899
57c3bd01
GM
19002012-04-10 Glenn Morris <rgm@gnu.org>
1901
1902 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1903 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1904
6c3eab30
FA
19052012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1906
1930bf5d 1907 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1908 next-line "n" and previous-line "p" in order to make recentf more
1909 consistent with ibuffer, dired or org-mode (bug#9387).
1910
24d78a88
LMI
19112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1912
bc72b5d9
LMI
1913 * image.el (put-image): Return the overlay created instead of the
1914 optional input string (bug#7834). Note that this may break code
1915 that is (for some reason or other) depending on `put-image'
1916 returning the string.
1917
bd2dba5a
LMI
1918 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1919
74beb59f
LMI
1920 * simple.el (zap-to-char): Allow zapping using input methods
1921 (bug#1580).
1922
24d78a88
LMI
1923 * textmodes/fill.el (fill-region): Leave point and mark where they
1924 were before filling (bug#5399).
1925
263f20cd
GM
19262012-04-09 Glenn Morris <rgm@gnu.org>
1927
1928 * version.el (emacs-bzr-get-version):
1929 Handle lightweight checkouts of local branches.
1930
58d1f797
AS
19312012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1932
263f20cd 1933 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1934
b4d3bc10
CY
19352012-04-09 Chong Yidong <cyd@gnu.org>
1936
1937 * custom.el (custom-variable-p): Return nil for non-symbol
1938 arguments instead of signaling an error.
1939 (user-variable-p): Obsolete alias for custom-variable-p.
1940
1941 * apropos.el (apropos-variable):
1942 * files-x.el (read-file-local-variable):
1943 * simple.el (set-variable):
1944 * woman.el (woman-mini-help):
1945 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1946
fd06db5d
GM
19472012-04-09 Glenn Morris <rgm@gnu.org>
1948
e5fcdb5e
GM
1949 * startup.el (normal-top-level): Don't look for leim-list.el
1950 in places where it will not be found. (Bug#910)
1951
fd06db5d
GM
1952 * international/mule-cmds.el (set-default-coding-systems):
1953 * files.el (normal-mode):
1954 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1955 This function was removed with ucs-tables.el in 2008.
1956
b39bb7e1
EZ
19572012-04-08 Eli Zaretskii <eliz@gnu.org>
1958
1959 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1960 ispell-encoding8-command to "-i", without a trailing space.
1961 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1962 separate command-line arguments, to specify the encoding, since
1963 that's how hunspell expects it.
1964
5c5b8e23
GM
19652012-04-08 Glenn Morris <rgm@gnu.org>
1966
1967 * loadup.el: Load bindings before cus-start.
1968 This reduces somewhat the number of "rogue" settings in emacs -Q.
1969
a1ed8b05
GM
19702012-04-07 Glenn Morris <rgm@gnu.org>
1971
1972 * version.el (emacs-bzr-get-version): New function.
dfae128a 1973 (emacs-bzr-version): New variable.
a1ed8b05
GM
1974 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1975 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1976
b142f158
EZ
19772012-04-07 Eli Zaretskii <eliz@gnu.org>
1978
dfae128a
GM
1979 * international/uni-bidi.el, international/uni-category.el:
1980 * international/uni-combining.el, international/uni-decimal.el:
1981 * international/uni-decomposition.el, international/uni-digit.el:
1982 * international/uni-lowercase.el, international/uni-mirrored.el:
1983 * international/uni-name.el, international/uni-numeric.el:
1984 * international/uni-titlecase.el, international/uni-uppercase.el:
1985 Update for Unicode 6.1.
b142f158 1986
9078ead6
EZ
19872012-04-07 Eli Zaretskii <eliz@gnu.org>
1988
1989 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1990
f23d2c7d
LMI
19912012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1992
1993 * window.el (shrink-window): Mention the `window-min-height'
1994 variable in the doc string.
1995
0a0a3573
BG
19962012-04-05 Bastien Guerry <bzg@altern.org>
1997
1998 * color.el (color-lighten-name): Fix typo.
1999
e5248ac9
SM
20002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * server.el (server--on-display-p): New function.
2003 (server--on-display-p): Use it.
2004
b4243e22
GV
20052012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2006
2007 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2008 (bug#11145).
2009
305d9f44
SM
20102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * comint.el (comint--common-quoted-suffix): Check string boundary
2013 before comparing (bug#11158).
2014 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2015
3d439cd1
CY
20162012-04-04 Chong Yidong <cyd@gnu.org>
2017
321cc491
CY
2018 * minibuffer.el (completion-extra-properties): Doc fix.
2019
3d439cd1
CY
2020 * subr.el (delayed-warnings-hook): Doc fix.
2021
2d562c0f
DU
20222012-04-04 Daiki Ueno <ueno@unixuser.org>
2023
2024 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2025 selection (Bug#11159).
2026 (epa-insert-keys): Inform that the default public key will be
2027 exported if no key is selected.
2028
4443f204
RS
20292012-04-04 Richard Stallman <rms@gnu.org>
2030
2031 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2032
529c06b6
CY
20332012-04-03 Chong Yidong <cyd@gnu.org>
2034
2035 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2036 mail-insert-file, not its obsolete alias mail-attach-file.
2037
66b907dc
MA
20382012-04-03 Michael Albinus <michael.albinus@gmx.de>
2039
2040 * notifications.el (notifications-notify): Fix docstring.
2041
c0ea195d
GM
20422012-04-02 Glenn Morris <rgm@gnu.org>
2043
2044 * emacs-lisp/authors.el (authors-aliases): Another addition.
2045
5ca64e00
MA
20462012-04-02 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2049 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2050 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2051
42ee526b
CY
20522012-04-01 Chong Yidong <cyd@gnu.org>
2053
2054 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2055 Handle root directory properly.
2056 (copy-directory): Caller changed.
2057
2058 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2059 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2060
0b021094
GM
20612012-03-31 Glenn Morris <rgm@gnu.org>
2062
40f86458
GM
2063 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2064
7019c177
GM
2065 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2066
a1daddd6
GM
2067 * calendar/calendar.el (calendar-window-list)
2068 (calendar-hide-window): Restore. (Bug#11140)
2069 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2070
0b021094
GM
2071 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2072
40311efc
TV
20732012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2074
2075 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2076 Check if file is a symlink (Bug#10489).
2077
2078 * files.el (copy-directory): Likewise.
2079
5319014e
CY
20802012-03-30 Chong Yidong <cyd@gnu.org>
2081
2082 * image.el (imagemagick-types-inhibit)
2083 (imagemagick-register-types): Doc fix.
2084
935d1290
AM
20852012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2086
ef24141c
SM
2087 * ispell.el (ispell-get-extended-character-mode):
2088 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2089 and treats ~word as ordinary words in pipe mode.
935d1290 2090
61c6e8fd
GM
20912012-03-30 Glenn Morris <rgm@gnu.org>
2092
2093 * tutorial.el (help-with-tutorial): Ensure local variables don't
2094 happen to make the buffer read-only. (Bug#11127)
2095
81fdff00
SM
20962012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2099 (perl-calculate-indent): Return `noindent' in strings.
2100
6e7a6ec0
SS
21012012-03-28 Sam Steingold <sds@gnu.org>
2102
2103 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2104 instead of the broken adhockery which does not prevent calendar
2105 buffers from being displayed at random after exit.
2106 (calendar-window-list, calendar-hide-window): Remove the broken
2107 adhockery.
2108
fee88ca0
GM
21092012-03-28 Glenn Morris <rgm@gnu.org>
2110
2111 * replace.el (query-replace-map): Doc fix.
2112
38de3354
AS
21132012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2114
2115 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2116 contents. (Bug#11109)
2117
b973155e
SM
21182012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2121 (bug#11077).
2122 (avl-tree--check, avl-tree--check-node): New funs.
2123
dcb6e7b3
MR
21242012-03-27 Martin Rudalics <rudalics@gmx.at>
2125
2126 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2127 (switch-to-prev-buffer, switch-to-next-buffer):
2128 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2129 showing a buffer already is done on the same frame.
2130
b4fa35fa
GM
21312012-03-27 Glenn Morris <rgm@gnu.org>
2132
2133 * startup.el (mail-host-address): Doc fix.
2134
f9210e18
SM
21352012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2138 than 197 variables.
2139
c0bf7753
AF
21402012-03-26 Ami Fischman <ami@fischman.org>
2141
2142 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2143
33da7b16
GM
21442012-03-26 Glenn Morris <rgm@gnu.org>
2145
02243d9d
GM
2146 * files.el (save-buffers-kill-emacs): Doc fix.
2147
33da7b16
GM
2148 * startup.el (normal-top-level, command-line, command-line-1):
2149 Give them doc strings.
2150
e5a69fd0
EZ
21512012-03-25 Eli Zaretskii <eliz@gnu.org>
2152
2153 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2154 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2155
9a69676a
CY
21562012-03-25 Chong Yidong <cyd@gnu.org>
2157
4125cb8b
CY
2158 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2159 theme if it was previously enabled before (Bug#11031).
2160
dd470960
CY
2161 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2162 spec with custom-face-get-current-spec if its :shown-value is not
2163 determined yet (Bug#9337).
4125cb8b 2164 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2165
9a69676a
CY
2166 * button.el (button-at): Minor addition to docstring.
2167
6e7e90fa
SL
21682012-03-24 Simon Leinen <simon.leinen@gmail.com>
2169
2170 * vc/vc.el (vc-merge): Fix a prompt.
2171
f06e2758
CY
21722012-03-24 Chong Yidong <cyd@gnu.org>
2173
2174 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2175 point (Bug#9623).
2176
6e7e90fa
SL
2177 * button.el (button-at): Minor addition to docstring.
2178
b9d0879b
SM
21792012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * newcomment.el (comment-choose-indent): No space after BOL.
2182
e71cebb3
SS
21832012-03-22 Sam Steingold <sds@gnu.org>
2184
2185 * window.el (switch-to-prev-buffer): Revert last patch because the
2186 bug turned out to be an advertised feature (Elisp manual 28.14).
2187
335aff35
GM
21882012-03-22 Glenn Morris <rgm@gnu.org>
2189
2190 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2191 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2192
c676576a
LMI
21932012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2194
2195 * net/network-stream.el (network-stream-open-starttls): Make error
2196 message under Windows be less misleading.
2197
126f3d39
LW
21982012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2199
2200 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2201 understands (bug#9942).
2202
64fee311
CY
22032012-03-22 Chong Yidong <cyd@gnu.org>
2204
2205 * simple.el (end-of-visible-line): Handle return value of
2206 next-single-property-change properly (Bug#9371).
2207
a640d29a
KH
22082012-03-22 Kenichi Handa <handa@m17n.org>
2209
2210 * international/quail.el (quail-insert-kbd-layout): Fix previous
2211 change. To avoid unwanted bidi reordering, use
2212 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2213
39675016
DG
22142012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2215
2216 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2217 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2218 (ruby-beginning-of-indent): Be more careful with the difference
2219 between word-boundary and symbol boundary.
2220 (ruby-mode-syntax-table): Make : a symbol constituent.
2221
0a6934fc 22222012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2223
3d008e4f
SM
2224 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2225
0a6934fc
SM
22262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2227
af67c9d7
SM
2228 * progmodes/etags.el (tags-completion-at-point-function):
2229 Improve last fix.
2230
1acad97c
SM
2231 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2232
e298b5da
SS
22332012-03-21 Sam Steingold <sds@gnu.org>
2234
2235 * progmodes/etags.el (tags-completion-at-point-function):
2236 Avoid the error when point is inside the pattern.
2237
91d82a70
JY
22382012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2239
2240 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2241 line (Bug#10855).
2242
69188b79
CY
22432012-03-21 Drew Adams <drew.adams@oracle.com>
2244
2245 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2246
99fc91fe
AK
22472012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2248
2249 * ido.el (ido-set-current-directory, ido-read-internal)
2250 (ido-choose-completion-string, ido-completion-help): Handle nil
2251 value of ido-completion-buffer (Bug#11008).
2252
087bbb4c
SS
22532012-03-21 Sam Steingold <sds@gnu.org>
2254
2255 * window.el (switch-to-prev-buffer): Do not switch to a visible
2256 window previous buffer, just like with the frame previous buffers.
2257
fb5b8aca
CY
22582012-03-21 Chong Yidong <cyd@gnu.org>
2259
2260 * faces.el (make-face, make-empty-face, copy-face):
2261 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2262 Doc fixes.
2263
dc9924b8
SM
22642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2267 (widget-complete): Remove broken use of it.
2268
f0bcceb9
CY
22692012-03-20 Chong Yidong <cyd@gnu.org>
2270
dc9924b8
SM
2271 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2272 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2273 characters.
2274
ee52ebf3
TH
22752012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2276
2277 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2278 to draw rectangles, not squares. (Regression introduced by revno
2279 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2280
4c5779ab
CY
22812012-03-18 Chong Yidong <cyd@gnu.org>
2282
2283 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2284 it is not yet defined (for temacs).
2285
15360934
LL
22862012-03-18 Leo Liu <sdl.web@gmail.com>
2287
dc9924b8 2288 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2289
d9a8eb66
EZ
22902012-03-17 Eli Zaretskii <eliz@gnu.org>
2291
2292 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2293 (ispell-choices-win-default-height, ispell-silently-savep)
2294 (ispell-dictionary-alist, ispell-encoding8-command)
2295 (ispell-check-version, ispell-aspell-find-dictionary)
2296 (ispell-valid-dictionary-list, ispell-words-keyword)
2297 (ispell-get-word, ispell-internal-change-dictionary)
2298 (ispell-region, ispell-skip-region-list)
2299 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2300 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2301 (ispell-message-text-end, ispell-message)
2302 (ispell-buffer-local-parsing): Doc fix.
2303
f02ff80d
J
23042012-03-13 Jambunathan K <kjambunathan@gmail.com>
2305
2306 * htmlfontify.el: Add support for code block fontification for ODT
2307 export (Bug #9914).
2308 (hfy-optimisations): Define new option
2309 `body-text-only'
2310 (hfy-fontify-buffer): Honor above setting.
2311 (hfy-begin-span, hfy-end-span): New routines factored out form
2312 `hfy-fontify-buffer'.
2313 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2314 that permit insertion of custom tags.
2315 (hfy-fontify-buffer): Use above handlers.
2316 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2317 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2318 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2319 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2320 bind a special variable `hfy-user-sheet-assoc'.
2321 (htmlfontify-string): New defun.
2322 (hfy-compile-face-map): Make sure that the last char in the
2323 buffer is correctly fontified.
2324 (hfy-face-resolve-face): Whitespace only change.
2325
9ac7a13f
EZ
23262012-03-17 Eli Zaretskii <eliz@gnu.org>
2327
2328 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2329 message more clear.
2330
e2b5bdd7
LL
23312012-03-16 Leo Liu <sdl.web@gmail.com>
2332
2333 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2334
2e492df3
AM
23352012-03-16 Alan Mackenzie <acm@muc.de>
2336
2337 Further optimise the handling of large macros.
2338
2339 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2340 limit to a call of `c-literal-limits'.
2341 (c-determine-+ve-limit): New function.
dc9924b8
SM
2342 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2343 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2344 In CASE 5B, restrict a search limit to 500.
2345 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2346
2347 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2348 Restrict macro bounds to +-500 from after-change's BEG END.
2349
50e94f0c
LL
23502012-03-16 Leo Liu <sdl.web@gmail.com>
2351
2352 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2353
6f09f6ed
AH
23542012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2355
2356 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2357 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2358
c7e73d51
GM
23592012-03-16 Glenn Morris <rgm@gnu.org>
2360
da986230
GM
2361 * view.el (view-buffer, view-buffer-other-window)
2362 (view-buffer-other-frame): Doc fixes re special mode-class.
2363
0835f01e
GM
2364 * subr.el (eval-after-load): If named feature is provided not from
2365 a file, run after-load forms. (Bug#10946)
2366
c7e73d51
GM
2367 * calendar/calendar.el (calendar-insert-at-column):
2368 Handle non-unit-width characters a bit better. (Bug#10978)
2369
3f2eafd1
CY
23702012-03-15 Chong Yidong <cyd@gnu.org>
2371
2372 * emacs-lisp/ring.el (ring-extend): New function.
2373 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2374
2375 * comint.el (comint-read-input-ring)
2376 (comint-add-to-input-history): Grow comint-input-ring lazily.
2377
103af3fe
SM
23782012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2379
663b1677
SM
2380 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2381 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2382
103af3fe
SM
2383 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2384 (imenu-add-to-menubar): Don't add a redundant index.
2385 (imenu-update-menubar): Handle a dynamically composed keymap.
2386
899cb7cb
KY
23872012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2388
2389 * mail/sendmail.el (mail-encode-header):
2390 Bind rfc2047-encode-encoded-words to nil.
2391
3809f91d
GM
23922012-03-13 Glenn Morris <rgm@gnu.org>
2393
2394 * calendar/calendar.el (calendar-string-spread):
2395 Handle non-unit-width characters a bit better. (Bug#10978)
2396
9e345a01
LL
23972012-03-13 Leo Liu <sdl.web@gmail.com>
2398
2399 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2400 directory and file as argument (Bug#10822).
2401
4a07df36
KS
24022012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2403
2404 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2405 For dynamically generated code, follow $PC.
2406 (gdb-disassembly-handler-custom): Handle no function name case.
2407
4aaa9356
TL
24082012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2409
2410 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2411 * emulation/ws-mode.el (ws-query-replace):
2412 * sort.el (sort-regexp-fields):
2413 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2414
225979da
SM
24152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * dabbrev.el: Fix cycle completion order (bug#10963).
2418 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2419 (dabbrev-completion): Don't use an obarray; provide
2420 a cycle-sort-function.
2421
e2f1fdab
LL
24222012-03-12 Leo Liu <sdl.web@gmail.com>
2423
dc9924b8 2424 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2425 (kill-do-not-save-duplicates): Doc fix.
2426
b19490ed
SM
24272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * dabbrev.el: Fix cycle completion (bug#10963).
2430 Use lexical binding and wrap to 80 columns.
2431 (dabbrev-completion): Delay computing the list of completions.
2432
4b05d722
KH
24332012-03-12 Kenichi Handa <handa@m17n.org>
2434
2435 * international/quail.el (quail-insert-kbd-layout): Surround each
2436 row by LRO and PDF instead of inserting many LRMs. Pad the left
2437 and right of each non-spacing marks. Insert invisible space
2438 between lower and upper characters to prevent composition.
2439
dbbc2e69
SM
24402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * minibuffer.el (minibuffer-complete): Don't get confused when the
2443 function is run twice via different commands (bug#10958).
2444 (complete-with-action): Fix docstring.
2445
292112ed
CY
24462012-03-12 Chong Yidong <cyd@gnu.org>
2447
5d1ac394
CY
2448 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2449 (nxml-completion-at-point-function): New function.
2450 (nxml-mode): Use it.
2451 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2452
292112ed
CY
2453 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2454 Load generated autoloads file before byte compiling (Bug#10970).
2455 (package--make-autoloads-and-compile): New helper fun.
2456
4098f8f7
CS
24572012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2458
2459 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2460
8f754691
MA
24612012-03-11 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * autorevert.el (auto-revert-handler): Ensure, that
2464 file-readable-p is applied only for local files or in
2465 auto-revert-tail-mode.
2466
e29ab36b
AS
24672012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2468
dbbc2e69
SM
2469 * server.el (server-eval-at): Handle non-tcp connections.
2470 Decode result string.
ad0bf5b6 2471
e29ab36b
AS
2472 * server.el (server-msg-size): New constant.
2473 (server-reply-print): New function.
2474 (server-eval-and-print): Use it.
2475 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2476 Handle -print-nonl.
2477
de5939ba
CS
24782012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2479
2480 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2481 (Bug#10987).
2482
0c93eabf
CY
24832012-03-11 Chong Yidong <cyd@gnu.org>
2484
397a688f
CY
2485 * simple.el (goto-line): Doc fix (Bug#9938).
2486
2cc775f9
CY
2487 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2488
0c93eabf
CY
2489 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2490 when finished (Bug#10963).
2491
c491fa41
MR
24922012-03-11 Martin Rudalics <rudalics@gmx.at>
2493
2494 * window.el (split-window-below): Fix bug in case where
2495 split-window-keep-point is nil (Bug#10971).
2496
300e8fa5
JL
24972012-03-11 Juri Linkov <juri@jurta.org>
2498
2499 * replace.el (replace-highlight): Set isearch-word to nil
2500 unconditionally. (Bug#10887)
2501
dbf6c5a1
EZ
25022012-03-10 Eli Zaretskii <eliz@gnu.org>
2503
2504 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2505 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2506 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2507 (mairix-widget-create-query): Add usage information about mairix
2508 search forms: negating words, searching for substrings, etc.
2509
b9e501de
JP
25102012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2511
2512 * international/fontset.el (font-encoding-alist): Add an entry for
2513 ksx1001 (Bug#5667).
2514
92795c91
RS
25152012-03-10 Richard Stallman <rms@gnu.org>
2516
1694e6c1
RS
2517 * mail/sendmail.el (mail-encode-header):
2518 Set rfc2047-encode-encoded-words.
2519
607e8555
RS
2520 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2521
de3bc99a
RS
2522 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2523 view buffer means not swapped.
2524 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2525 (rmail-write-region-annotate): Error if real text has disappeared.
2526
92795c91
RS
2527 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2528
699bd04e
CY
25292012-03-10 Chong Yidong <cyd@gnu.org>
2530
2531 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2532 * emulation/cua-base.el (cua--init-keymaps):
2533 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2534
570a1714
MR
25352012-03-10 Martin Rudalics <rudalics@gmx.at>
2536
dbbc2e69
SM
2537 * speedbar.el (speedbar-unhighlight-one-tag-line):
2538 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2539
82dcf4e4
CY
25402012-03-10 Chong Yidong <cyd@gnu.org>
2541
7a2c7ca7
CY
2542 * minibuffer.el (completion-in-region, completion-help-at-point):
2543 Give the completion field overlay a high priority (Bug#6830).
2544
82dcf4e4
CY
2545 * dired.el (dired-goto-file): Recognize absolute file name
2546 listings (Bug#7126).
2547 (dired-goto-file-1): New helper function.
2548 (dired-toggle-read-only): Inhibit warnings.
2549
052e28ac
MA
25502012-03-09 Michael Albinus <michael.albinus@gmx.de>
2551
75f1671a 2552 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2553 there are no properties.
2554
95d5e396
LL
25552012-03-09 Leo Liu <sdl.web@gmail.com>
2556
2557 * savehist.el (savehist-printable): Stricter check for string
2558 value (Bug#10937).
2559
3f018d6d
EZ
25602012-03-09 Eli Zaretskii <eliz@gnu.org>
2561
dbbc2e69
SM
2562 * mail/smtpmail.el (smtpmail-send-it):
2563 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2564 valid mbox format.
2565
f7fd3d79
GM
25662012-03-09 Glenn Morris <rgm@gnu.org>
2567
2568 * files.el (dir-locals-find-file):
2569 Don't check result is regular, readable.
2570 (dir-locals-read-from-file): Demote errors.
2571
6ff6e72f
EZ
25722012-03-08 Eli Zaretskii <eliz@gnu.org>
2573
dbbc2e69
SM
2574 * international/quail.el (quail-insert-kbd-layout):
2575 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2576 layout cell, to prevent their reordering by bidi display engine.
2577 For details, see the discussion in
2578 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2579
9cec7834
AM
25802012-03-08 Alan Mackenzie <acm@muc.de>
2581
2582 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2583 the starting position; make it extend the marked region when
2584 invoked repeatedly - all under appropriate circumstances.
2585 Fixes bugs #5525, #10906.
2586
9a40b8d4
GM
25872012-03-08 Glenn Morris <rgm@gnu.org>
2588
2589 * files.el (locate-dominating-file, dir-locals-find-file):
2590 Undo 2012-03-06 change.
2591
7a08ed35
EZ
25922012-03-07 Eli Zaretskii <eliz@gnu.org>
2593
dbbc2e69
SM
2594 * international/quail.el (quail-help):
2595 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2597 for the reason.
2598
5aca4f71 25992012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2600
2601 Avoid superfluous registering of signals. (Bug#10807)
2602
2603 * notifications.el (notifications-on-action-object)
2604 (notifications-on-close-object): New defvars.
2605 (notifications-on-action-signal, notifications-on-closed-signal):
2606 Unregister the signal if not needed any longer.
2607 (notifications-notify): Register `notifications-action-signal' or
2608 `notifications-closed-signal', if :on-action or :on-close has been
2609 passed as argument.
2610
78e8b10a
CY
26112012-03-07 Chong Yidong <cyd@gnu.org>
2612
2613 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2614 non-X platforms.
2615
69481eb8
GM
26162012-03-06 Glenn Morris <rgm@gnu.org>
2617
2618 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2619 (x-disown-selection-internal, x-get-selection-internal):
2620 Doc fix (add arglist signatures). (Bug#10783)
2621
133b8e11
KS
26222012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2623
2624 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2625 Handle breakpoints with no "type".
2626
99a83064
GM
26272012-03-06 Glenn Morris <rgm@gnu.org>
2628
2629 * files.el (locate-dominating-file): Add optional predicate argument.
2630 (dir-locals-find-file): Make use of above change.
2631
17798e78
TTN
26322012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2633
2634 * info.el (Info-insert-dir): Also try "dir.gz".
2635
eb182446
GM
26362012-03-06 Glenn Morris <rgm@gnu.org>
2637
8f2114ee
GM
2638 * files.el (dir-locals-find-file):
2639 Ignore non-readable or non-regular files. (Bug#10928)
2640
eb182446
GM
2641 * files.el (locate-dominating-file): Doc fix.
2642
24679323
AS
26432012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2644
2645 * calendar/calendar.el (calendar-set-mode-line):
2646 `getenv' returns a string. (Bug#10951)
2647
01d972a9
LL
26482012-03-05 Leo Liu <sdl.web@gmail.com>
2649
109aa8a9
LL
2650 * simple.el (backward-delete-char-untabify): Constrain point to
2651 field (Bug#10939).
2652
01d972a9
LL
2653 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2654
10607bea
CY
26552012-03-05 Chong Yidong <cyd@gnu.org>
2656
2657 * simple.el (count-words): If called from Lisp, return the word
2658 count, for symmetry with `count-lines'. Arglist changed.
2659 (count-words--message): Args changed. Consolidate counting code
2660 from count-words and count-words-region.
2661 (count-words-region): Caller changed.
2662 (count-lines-region): Make it an obsolete alias.
2663
5dd11cfe
TH
26642012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2665
2666 * saveplace.el (save-place-to-alist)
2667 (save-place-ignore-files-regexp): Allow value nil to disable this
2668 feature.
2669
c349f4e6
CY
26702012-03-04 Chong Yidong <cyd@gnu.org>
2671
2672 * faces.el (face-spec-reset-face): For the default face, reset the
2673 attributes to default values (Bug#10748).
2674
e627be4c
LMI
26752012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2676
2677 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2678 previous patch: Check `message-send-mail-function', and not the
2679 default function (bug#10897).
2680
ebeabff4
MA
26812012-03-04 Michael Albinus <michael.albinus@gmx.de>
2682
a41a6cf4
MA
2683 * notifications.el (notifications-on-action-signal)
2684 (notifications-on-closed-signal): Check for unique service name of
2685 incoming event. Fix error in removing entry.
ebeabff4 2686 (top): Register for signals with wildcard service name.
a41a6cf4 2687 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2688
c1ca42b4
CY
26892012-03-04 Chong Yidong <cyd@gnu.org>
2690
dc9924b8 2691 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2692
ea16568d
GM
26932012-03-04 Glenn Morris <rgm@gnu.org>
2694
2695 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2696 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2697 (expand-abbrev, define-abbrev-table): Doc fixes.
2698
fbae4637
LMI
26992012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700
2701 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2702 `message-default-send-mail-function' and not `send-mail-function'
2703 when doing the prompting for `sendmail-query-once' before sending
2704 in Message buffers (bug#10897).
2705
a1e7225c
LMI
2706 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2707 This is inconsistent with all the other stream functions, which leave
2708 the setting up to the higher levels (if so wanted) (bug#10931).
2709
56d093a9
AM
27102012-03-02 Alan Mackenzie <acm@muc.de>
2711
2712 Depessimize the handling of very large macros.
2713
2714 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2715 (c-macro-cache-syntactic): New variables to implement a one
2716 element macro cache.
2717 (c-invalidate-macro-cache): New function.
2718 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2719 Adapt to use the new cache.
2720 (c-state-safe-place): Use better the cache of safe positions.
2721 (c-state-semi-nonlit-pos-cache)
2722 (c-state-semi-nonlit-pos-cache-limit):
2723 New variables for...
2724 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2725 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2726 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2727 Use c-state-semi-safe-place.
56d093a9 2728
dbbc2e69
SM
2729 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2730 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2731
817e5c3d
MA
27322012-03-02 Michael Albinus <michael.albinus@gmx.de>
2733
dbbc2e69
SM
2734 * jka-compr.el (jka-compr-call-process):
2735 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2736 not remote.
2737
a032a702
MA
27382012-03-01 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2741 access of FILE2, if FILE1 does not exist.
2742
99a54f21
MA
2743 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2744 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2745
2746 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2747 Add "PAGER=" to `process-environment'.
2748
f6561e1f
MM
27492012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2750
2751 * progmodes/sql.el: Bug fix
2752 (sql-get-login-ext): Save login values in globals.
2753 (sql-get-login): Use new version of `sql-get-login-ext'.
2754 (sql-interactive-mode): Set global `sql-connection' to nil.
2755 (sql-connect): Set global values for connection.
2756 (sql-product-interactive): Save global values as buffer local.
2757
2d44d9cc
LL
27582012-02-29 Leo Liu <sdl.web@gmail.com>
2759
2760 * abbrev.el (define-abbrevs): Reset sys to nil.
2761
96b49301 27622012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2763
bf7f9bc5
JB
2764 * files.el (file-equal-p): Rename from `files-equal-p'.
2765 Return nil when one or both files don't exist.
96b49301 2766 (file-subdir-of-p): Now only top directory must exists,
2767 return nil if it doesn't.
bf7f9bc5
JB
2768 (copy-directory): No need to test with `file-subdir-of-p' after
2769 creating dir.
2770 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2771 to `file-equal-p'.
96b49301 2772
44e97401
GM
27732012-02-28 Glenn Morris <rgm@gnu.org>
2774
2775 * shell.el (shell-mode):
2776 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2777 * play/landmark.el (landmark-font-lock-face-O):
2778 * play/handwrite.el (handwrite):
2779 * play/gomoku.el (gomoku-O):
2780 * net/browse-url.el (browse-url-browser-display):
2781 * international/mule.el (define-charset):
2782 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2783 * filesets.el (filesets-find-file-delay):
2784 * eshell/em-xtra.el (eshell-xtra):
2785 * eshell/em-unix.el (eshell-grep):
2786 * emulation/viper.el (viper-mode):
2787 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2788 * emacs-lisp/easymenu.el (easy-menu-define):
2789 * calendar/timeclock.el (timeclock-use-display-time):
2790 * bs.el (bs-mode):
2791 * bookmark.el (bookmark-save-flag):
2792 Doc fix (standardize possessive apostrophe usage).
2793
c98c6276
CY
27942012-02-27 Chong Yidong <cyd@gnu.org>
2795
bf7f9bc5
JB
2796 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2797 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2798
c98c6276
CY
2799 * font-lock.el (font-lock-specified-p): Rename from
2800 font-lock-spec-present. Callers changed.
2801
9c62cd04 28022012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2803
bf7f9bc5
JB
2804 * emacs-lisp/package.el (package-compute-transaction):
2805 Handle holding a package version to t in package-load-list.
8ac9e529 2806
530739c9
MA
28072012-02-26 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2810 (tramp-get-inode, tramp-get-device): Use cached values.
2811
487915d7
AM
28122012-02-26 Alan Mackenzie <acm@muc.de>
2813
2814 Check there is a font-lock specification before doing initial
2815 fontification.
2816
2817 * font-core.el (font-lock-mode): Move the conditional from
2818 :after-hook to font-lock-initial-fontify.
2819 (font-lock-default-function): Move the check for a specification
2820 to font-lock-spec-present.
2821
dc9924b8 2822 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2823 (font-lock-spec-present): New function.
2824
4fd96557
JB
28252012-02-26 Jim Blandy <jimb@red-bean.com>
2826
2827 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2828 (gdb-send): Apply it to the operand of the '-interpreter-exec
2829 console' command, so that we can pass arguments with (say) quotes
2830 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2831
9a4888c0
CY
28322012-02-26 Chong Yidong <cyd@gnu.org>
2833
07498861
CY
2834 * help-fns.el (describe-function-1): Clarify description of
2835 remapping (Bug#10844).
2836
9a4888c0
CY
2837 * files.el (files-equal-p): Doc fix.
2838 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2839 and quit the loop once a mismatch is found.
2840
ea8fb88d
JB
28412012-02-25 Juanma Barranquero <lekktu@gmail.com>
2842
2843 * bs.el (bs--show-with-configuration): Don't throw an error
2844 if the window cannot be split; otherwise, subsequent calls to
2845 bs-show fail, restoring a stale window config. (Bug#10882)
2846
525795c1
JD
28472012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2848
2849 * term/ns-win.el (global-map): Bind ns-drag-file to
2850 ns-find-file (Bug#5855, Bug#10050).
2851
f008086f
AS
28522012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2853
2854 * calendar/parse-time.el (parse-time-string): Allow extractor to
2855 return nil.
2856
a3fcfa99
MA
28572012-02-25 Michael Albinus <michael.albinus@gmx.de>
2858
91027d08
JB
2859 * net/tramp.el (tramp-file-name-for-operation):
2860 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2861
2862 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2863 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2864 Add COPY-CONTENTS argument.
a3fcfa99 2865
67b0de11
CY
28662012-02-25 Chong Yidong <cyd@gnu.org>
2867
2868 Add custom groups for VC backends, for consistency with vc-bzr.
2869
2870 * vc/vc-arch.el (vc-arch):
2871 * vc/vc-cvs.el (vc-cvs):
2872 * vc/vc-git.el (vc-git):
2873 * vc/vc-hg.el (vc-hg):
2874 * vc/vc-mtn.el (vc-mtn):
2875 * vc/vc-rcs.el (vc-rcs):
2876 * vc/vc-sccs.el (vc-sccs):
2877 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2878 All relevant defcustoms reassigned.
2879
3c9dfce6
CY
28802012-02-25 Chong Yidong <cyd@gnu.org>
2881
1339bf43
CY
2882 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2883
3c9dfce6
CY
2884 * term/x-win.el (x-initialize-window-system): Reduce default for
2885 x-selection-timeout to 5 seconds (Bug#8869).
2886
25b2e303 28872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2888
ec70a47d
GM
2889 * files.el (files-equal-p, file-subdir-of-p): New functions.
2890 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2891 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2892 * dired-aux.el (dired-copy-file-recursive): Same.
2893 (dired-create-files): Modify destination when source is equal to
2894 dest when copying files.
53a46cd0 2895 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2896
914260cd
MA
28972012-02-24 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2900 (Bug#10874)
2901
2cb228f7
AM
29022012-02-23 Alan Mackenzie <acm@muc.de>
2903
2904 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2905 parameter "after-hook:" to allow the expansion to run code after
2906 the execution of the mode hooks.
2907
2908 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2909 from font-lock-mode-internal.
2cb228f7 2910
91027d08 2911 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2912 :after-hook.
2913
8f0fde21
SM
29142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2915
3e88618b
SM
2916 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2917 (completion--cache-all-sorted-completions): New function.
2918 (completion-all-sorted-completions): Use it.
2919 (completion--do-completion, minibuffer-force-complete):
2920 Use it to re-instate the flush hook.
2921
8f0fde21
SM
2922 * icomplete.el (icomplete-completions): Replace last fix with a better
2923 one (bug#10850).
2924
8e911f6f
DG
29252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2928 when it might call us back infinitely (bug#10797).
2929
49fe4321
GM
29302012-02-23 Glenn Morris <rgm@gnu.org>
2931
2932 * minibuffer.el (completion-category-overrides): Doc fix.
2933
b291b572
SM
29342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2937 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2938
31a9ef2e
GM
29392012-02-23 Glenn Morris <rgm@gnu.org>
2940
5e6e6794 2941 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2942 (authors-obsolete-files-regexps, authors-ignored-files)
2943 (authors-ambiguous-files, authors-renamed-files-alist):
2944 Add more entries.
2945
0bd1e074
JL
29462012-02-23 Juri Linkov <juri@jurta.org>
2947
2948 * isearch.el (isearch-occur): Sync interactive spec with occur's
2949 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2950
b617673c
JL
2951 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2952
19e9789e
JL
29532012-02-22 Juri Linkov <juri@jurta.org>
2954
2955 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2956 (ucs-insert): Doc fix. Check for hex digits in the string.
2957 Don't display `nil' in the error message. (Bug#10857)
2958
f41ce09d
AM
29592012-02-22 Alan Mackenzie <acm@muc.de>
2960
7a71b18d 2961 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2962
ac2eceee
GM
29632012-02-22 Glenn Morris <rgm@gnu.org>
2964
2965 * ffap.el (ffap-c-path):
2966 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2967
abd1f678
CY
29682012-02-22 Chong Yidong <cyd@gnu.org>
2969
2970 * custom.el (load-theme): Doc fix.
2971
f25aef2e
GM
29722012-02-22 Glenn Morris <rgm@gnu.org>
2973
2974 * dired-x.el (dired-guess-shell-alist-default):
2975 Remove escape sequences from nroff output. (Bug#172)
2976
5f8dc2ca
GM
29772012-02-21 Glenn Morris <rgm@gnu.org>
2978
6ff86ec4
GM
2979 * vc/emerge.el (emerge-defvar-local):
2980 Set `permanent-local' property rather than unused `preserved'.
2981
be3223a3 2982 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2983 (picture-mode-map): Use it. (Bug#10860)
2984 (picture-mode): Doc fix.
2985
3fe58f4f
JB
29862012-02-21 Juanma Barranquero <lekktu@gmail.com>
2987
2988 * newcomment.el (uncomment-region-default): Remove unused binding.
2989
f9a998c3
GM
29902012-02-21 Glenn Morris <rgm@gnu.org>
2991
2992 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2993 (picture-self-insert, picture-tab-chars): Doc fix.
2994 (picture-mode-map): Fix C-a, C-e.
2995
c6029348
GM
29962012-02-20 Glenn Morris <rgm@gnu.org>
2997
2998 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2999
ab1ce9d7
LL
30002012-02-20 Leo Liu <sdl.web@gmail.com>
3001
3002 * icomplete.el (icomplete-completions): Check FROM arg before
3003 passing to substring (Bug#10850).
3004
0fd40f89
CY
30052012-02-19 Chong Yidong <cyd@gnu.org>
3006
3007 * comint.el: Require ansi-color.
3008 (comint-output-filter-functions): Add ansi-color-process-output.
3009
3010 * ansi-color.el: Don't set comint-output-filter-functions; it is
3011 now in the initial value defined in comint.el.
3012 (ansi-color-apply-face-function): New variable.
3013 (ansi-color-apply-on-region): Use it.
3014 (ansi-color-apply-overlay-face): New function.
3015
3016 * shell.el (shell): No need to require ansi-color.
3017 (shell-mode): Use ansi-color-apply-face-function to highlight
3018 color escapes using font-lock-face property (Bug#10835).
3019
20af2394
CY
30202012-02-19 Chong Yidong <cyd@gnu.org>
3021
3022 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3023 mode-line formats (Bug#10839).
3024
e23a3fbe
GM
30252012-02-18 Glenn Morris <rgm@gnu.org>
3026
b474519e
GM
3027 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3028
3029 * mail/undigest.el (unforward-rmail-message): Doc fix.
3030
e23a3fbe
GM
3031 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3032
57939ff4
EZ
30332012-02-18 Eli Zaretskii <eliz@gnu.org>
3034
3035 * international/characters.el (script-list): Sync with the latest
3036 Unicode Character Database.
3037
0c23686e
AS
30382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3039
3040 * international/titdic-cnv.el: Remove duplicate coding tag.
3041 * language/cham.el: Likewise.
3042 * language/tai-viet.el: Likewise.
3043
6818b449
GM
30442012-02-18 Glenn Morris <rgm@gnu.org>
3045
3046 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3047 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3048 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3049 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3050 * calendar/holidays.el (holiday-bahai-holidays)
3051 (calendar-holidays, list-holidays):
3052 Use utf-8 Bahá'í in doc-strings, menus, etc.
3053
0311a3fc
TH
30542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3055
3056 * saveplace.el (save-place-ignore-files-regexp): New variable
3057 allowing for excluding files from saving their location of point.
3058 The default value matches the temporary commit message editing
3059 files from Git, SVN, Bazaar, and Mercurial.
3060 (save-place-to-alist): Use it.
3061
eb864a71
LM
30622012-02-17 Lawrence Mitchell <wence@gmx.li>
3063 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * newcomment.el (uncomment-region-default): Don't leave extra space
3066 when an arg is provided (bug#8150).
3067
ee0ce425
TZ
30682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3069
eb864a71 3070 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3071
95ddf442
GM
30722012-02-17 Glenn Morris <rgm@gnu.org>
3073
3074 * net/socks.el: Require network-stream. (Bug#10599)
3075
48dd1e39 30762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3077
3078 * international/charprop.el:
3079 * international/uni-name.el:
3080 * international/uni-old-name.el:
3081 * international/uni-comment.el: Regenerate.
3082
d68cd087
GM
30832012-02-16 Glenn Morris <rgm@gnu.org>
3084
3085 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3086 Interactively in calendar buffer, give an error if not on a date.
3087
13932042
GM
30882012-02-15 Glenn Morris <rgm@gnu.org>
3089
3090 * shell.el (shell-delimiter-argument-list):
3091 Revert 2011-02-17 change. (Bug#8027)
3092
c3a70e2b
CY
30932012-02-15 Chong Yidong <cyd@gnu.org>
3094
60236b0d
CY
3095 * minibuffer.el (completion-at-point-functions): Doc fix.
3096
c3a70e2b
CY
3097 * custom.el (defcustom): Doc fix; note use of defvar.
3098
9f26dc24
GM
30992012-02-15 Glenn Morris <rgm@gnu.org>
3100
3101 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3102 Doc fixes.
3103
6546b134
GM
31042012-02-14 Glenn Morris <rgm@gnu.org>
3105
3106 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3107
d29b2b4c
LI
31082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3109
3110 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3111 way the ports list is computed.
835bdcba
LI
3112 (smtpmail-query-smtp-server): Prompt the user for a port number if
3113 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3114
08dcdbc9
TZ
31152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3116
3117 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3118
2605051a
GM
31192012-02-13 Glenn Morris <rgm@gnu.org>
3120
3121 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3122
7ee99f32
TZ
31232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3124
3125 * net/gnutls.el (gnutls-trustfiles): New variable.
3126 (gnutls-negotiate): Use it.
3127
5f0af64f
LI
31282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3129
3130 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3131 does its stuff if Gnus is running.
3132
c14fcc95
AM
31332012-02-13 Alan Mackenzie <acm@muc.de>
3134
3135 Fix a loop in c-set-fl-decl-start.
3136
7a71b18d 3137 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3138 c-backward-syntactic-ws actually moves backwards.
3139
142b4d90
LL
31402012-02-13 Leo Liu <sdl.web@gmail.com>
3141
3142 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3143 beginning so that all \C-o chars are removed.
3144
fa9958a6
TZ
31452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3146
dc9924b8 3147 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3148
0bc5886a
AM
31492012-02-12 Alan Mackenzie <acm@muc.de>
3150
3151 Fix infinite loop with long macros.
4d6769e1 3152 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3153
d4bd55e7
CY
31542012-02-12 Chong Yidong <cyd@gnu.org>
3155
3156 * window.el (display-buffer): Doc fix (Bug#10785).
3157
66f3fe22
GM
31582012-02-12 Glenn Morris <rgm@gnu.org>
3159
bd7da63e
GM
3160 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3161 (x-disown-selection-internal, x-get-selection-internal):
3162 Sync docs with the xselect.c versions.
3163
66f3fe22
GM
3164 * allout-widgets.el: Add missing license notice.
3165
3e0d2fa7
GM
31662012-02-11 Glenn Morris <rgm@gnu.org>
3167
cfecdf09
GM
3168 * select.el (x-get-selection-internal, x-own-selection-internal)
3169 (x-disown-selection-internal):
3170 * x-dnd.el (x-get-selection-internal): Update declarations.
3171
6d216d7f
GM
3172 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3173
2bed3f04
GM
3174 * window.el (window-sides-slots):
3175 * tool-bar.el (tool-bar-position):
3176 * term/xterm.el (xterm-extra-capabilities):
3177 * ses.el (ses-self-reference-early-detection):
3178 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3179 (verilog-auto-wire-type)
3180 (verilog-auto-delete-trailing-whitespace)
3181 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3182 (verilog-auto-tieoff-declaration):
3183 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3184 (sql-oracle-statement-starters, sql-oracle-scan-on):
3185 * progmodes/prolog.el (prolog-align-comments-flag)
3186 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3187 (prolog-left-indent-regexp, prolog-paren-indent-p)
3188 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3189 (prolog-types, prolog-mode-specificators)
3190 (prolog-determinism-specificators, prolog-directives)
3191 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3192 (prolog-electric-dot-flag)
3193 (prolog-electric-dot-full-predicate-template)
3194 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3195 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3196 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3197 (prolog-program-switches, prolog-prompt-regexp)
3198 (prolog-debug-on-string, prolog-debug-off-string)
3199 (prolog-trace-on-string, prolog-trace-off-string)
3200 (prolog-zip-on-string, prolog-zip-off-string)
3201 (prolog-use-standard-consult-compile-method-flag)
3202 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3203 (prolog-imenu-max-lines, prolog-info-predicate-index)
3204 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3205 (prolog-char-quote-workaround):
3206 * progmodes/cc-vars.el (c-defun-tactic):
3207 * net/tramp.el (tramp-encoding-command-interactive)
3208 (tramp-local-end-of-line):
3209 * net/soap-client.el (soap-client):
3210 * net/netrc.el (netrc-file):
3211 * net/gnutls.el (gnutls):
3212 * minibuffer.el (completion-category-overrides)
3213 (completion-cycle-threshold)
3214 (completion-pcm-complete-word-inserts-delimiters):
3215 * man.el (Man-name-local-regexp):
3216 * mail/feedmail.el (feedmail-display-full-frame):
3217 * international/characters.el (glyphless-char-display-control):
3218 * eshell/em-ls.el (eshell-ls-date-format):
3219 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3220 (lisp-lambda-list-keyword-parameter-indentation)
3221 (lisp-lambda-list-keyword-parameter-alignment):
3222 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3223 * dired-x.el (dired-omit-verbose):
3224 * cus-theme.el (custom-theme-allow-multiple-selections):
3225 * calc/calc.el (calc-highlight-selections-with-faces)
3226 (calc-lu-field-reference, calc-lu-power-reference)
3227 (calc-note-threshold):
3228 * battery.el (battery-mode-line-limit):
3229 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3230 (archive-7z-update):
3231 * allout.el (allout-prefixed-keybindings)
3232 (allout-unprefixed-keybindings)
3233 (allout-inhibit-auto-fill-on-headline)
3234 (allout-flattened-numbering-abbreviation):
3235 * allout-widgets.el (allout-widgets-auto-activation)
3236 (allout-widgets-icons-dark-subdir)
3237 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3238 (allout-widgets-theme-dark-background)
3239 (allout-widgets-theme-light-background)
3240 (allout-widgets-item-image-properties-emacs)
3241 (allout-widgets-item-image-properties-xemacs)
3242 (allout-widgets-run-unit-tests-on-load)
3243 (allout-widgets-time-decoration-activity)
3244 (allout-widgets-hook-error-post-time)
3245 (allout-widgets-track-decoration):
3246 Add missing :version tags to new defcustoms and defgroups.
3247
5fec1b8e
GM
3248 * progmodes/sql.el (sql-ansi-statement-starters)
3249 (sql-oracle-statement-starters): Add custom type.
3250
3e0d2fa7
GM
3251 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3252 (prolog-system-version): Give it a type.
3253
90b671e2
EZ
32542012-02-11 Eli Zaretskii <eliz@gnu.org>
3255
3256 * term/pc-win.el (x-select-text, x-selection-owner-p)
3257 (x-own-selection-internal, x-disown-selection-internal)
3258 (x-get-selection-internal): Sync doc strings and argument lists
3259 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3260
5eac0c02
LL
32612012-02-11 Leo Liu <sdl.web@gmail.com>
3262
3263 * progmodes/python.el (python-end-of-statement): Fix infinite
3264 loop. (Bug#10788)
3265
f82cb659
GM
32662012-02-10 Glenn Morris <rgm@gnu.org>
3267
3268 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3269 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3270
cc26d239
LI
32712012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3272
3273 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3274 about SMTP before checking the From header.
3275
91027d08 3276 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3277 into own function for reuse by emacsbug.el.
3278
1be3ca5a
LL
32792012-02-10 Leo Liu <sdl.web@gmail.com>
3280
3281 * subr.el (condition-case-unless-debug): Rename from
3282 condition-case-no-debug. All callers changed.
3283 (with-demoted-errors): Fix caller.
3284
3285 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3286 * nxml/rng-valid.el (rng-do-some-validation):
3287 * emacs-lisp/package.el (package-refresh-contents)
3288 (package-menu-execute):
3289 * desktop.el (desktop-create-buffer):
91027d08 3290 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3291
b011fbfe
GM
32922012-02-10 Glenn Morris <rgm@gnu.org>
3293
b2096d72
GM
3294 * textmodes/bibtex.el:
3295 Add missing :version tags for new/changed defcustoms.
3296
b011fbfe
GM
3297 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3298
4c7e65bf
LI
32992012-02-09 Lars Ingebrigtsen <larsi@rusty>
3300
3301 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3302 (smtpmail-via-smtp): Use it, or fall back on the From address.
3303 (smtpmail-send-it): Ditto.
3304
f3934f6f
SM
33052012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3308 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3309 (byte-compile-tmp-var): New const.
3310 (byte-compile-defvar): Use it to minimize .elc size.
3311 Just use `defvar' rather than simulate it (bug#10761).
3312
a075a2c5
GM
33132012-02-09 Glenn Morris <rgm@gnu.org>
3314
cf3aa21b
GM
3315 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3316
354998cd
GM
3317 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3318 Add :version tags.
3319
dc9924b8
SM
3320 * progmodes/compile.el (compilation-error-screen-columns)
3321 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3322
dab3703d
GM
3323 * vc/log-view.el (log-view-toggle-entry-display):
3324 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3325
3f88cd72
GM
3326 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3327 (report-emacs-bug-can-use-xdg-email):
3328 (report-emacs-bug-insert-to-mailer): Doc fixes.
3329 (report-emacs-bug): Message fix.
3330
d95b247d
GM
3331 * net/browse-url.el (browse-url-can-use-xdg-open)
3332 (browse-url-xdg-open): Doc fixes.
3333
a075a2c5
GM
3334 * electric.el (electric-indent-mode, electric-pair-mode)
3335 (electric-layout-rules, electric-layout-mode): Doc fixes.
3336 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3337
ffb6157e
MR
33382012-02-08 Martin Rudalics <rudalics@gmx.at>
3339
3340 * server.el (server-unselect-display): Don't inadvertently kill
3341 the current buffer. (Bug#10729)
3342
e1ac4066
GM
33432012-02-08 Glenn Morris <rgm@gnu.org>
3344
34e8a2da
GM
3345 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3346 (sql-list-table): Doc fixes.
3347
b4ac6e8c
GM
3348 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3349 Comment out (does nothing).
3350
e1ac4066
GM
3351 * completion.el (dynamic-completion-mode):
3352 * dirtrack.el (dirtrack-debug-mode):
3353 * electric.el (electric-layout-mode):
3354 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3355 * face-remap.el (text-scale-mode, buffer-face-mode):
3356 * iimage.el (iimage-mode):
3357 * image-mode.el (image-transform-mode):
3358 * minibuffer.el (completion-in-region-mode):
3359 * scroll-lock.el (scroll-lock-mode):
3360 * simple.el (next-error-follow-minor-mode):
3361 * tar-mode.el (tar-subfile-mode):
3362 * tooltip.el (tooltip-mode):
3363 * vcursor.el (vcursor-use-vcursor-map):
3364 * wid-browse.el (widget-minor-mode):
3365 * emulation/tpu-edt.el (tpu-edt-mode):
3366 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3367 * international/iso-ascii.el (iso-ascii-mode):
3368 * language/thai-util.el (thai-word-mode):
3369 * mail/supercite.el (sc-minor-mode):
3370 * net/goto-addr.el (goto-address-mode):
3371 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3372 * progmodes/cwarn.el (cwarn-mode):
3373 * progmodes/flymake.el (flymake-mode):
3374 * progmodes/glasses.el (glasses-mode):
3375 * progmodes/hideshow.el (hs-minor-mode):
3376 * progmodes/pascal.el (pascal-outline-mode):
3377 * textmodes/enriched.el (enriched-mode):
3378 * vc/smerge-mode.el (smerge-mode):
3379 Doc fixes (minor mode argument).
3380
5e0d957f
EZ
33812012-02-07 Eli Zaretskii <eliz@gnu.org>
3382
3383 * ls-lisp.el (ls-lisp-sanitize): New function.
3384 (ls-lisp-insert-directory): Use it to fix or remove any elements
3385 in file-alist with missing attributes. (Bug#4673)
3386
98d7371e
AM
33872012-02-07 Alan Mackenzie <acm@muc.de>
3388
3389 Fix spurious recognition of c-in-knr-argdecl.
3390
3391 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3392 putative K&R region.
3393
667ced3a
AM
33942012-02-07 Alan Mackenzie <acm@muc.de>
3395
eb864a71
LM
3396 * progmodes/cc-engine.el (c-forward-objc-directive):
3397 Prevent looping in "#pragma mark @implementation".
667ced3a 3398
5b77774d
MA
33992012-02-07 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * notifications.el (notifications-on-closed-signal): Make `reason'
3402 optional. (Bug#10744)
3403
af008560
GM
34042012-02-07 Glenn Morris <rgm@gnu.org>
3405
60d47423
GM
3406 * emacs-lisp/easy-mmode.el (define-minor-mode):
3407 Doc fixes for the macro and the mode it defines.
3408
dd605cc4
GM
3409 * image.el (imagemagick-types-inhibit): Doc fix.
3410
af008560
GM
3411 * cus-start.el (imagemagick-render-type): Add it.
3412
5cc59a37
LI
34132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3414
4d6769e1
JB
3415 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3416 Set the default at load time, too, so that `font-lock-fontify-buffer'
3417 can be called without setting up the entire mode first. This fixes
3418 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3419
9a6dd747
CY
34202012-02-06 Chong Yidong <cyd@gnu.org>
3421
2d16b285
CY
3422 * simple.el (list-processes--refresh): Delete exited processes
3423 (Bug#8094).
3424
171e9b6e
CY
3425 * comint.el (comint-next-prompt): next-single-char-property-change
3426 and prev-single-char-property-change never return nil (Bug#8657).
3427
9a6dd747
CY
3428 * custom.el (defcustom): Doc fix (Bug#9711).
3429
aa4589a7
CY
34302012-02-05 Chong Yidong <cyd@gnu.org>
3431
5c2a252f
CY
3432 * cus-edit.el (custom-variable-reset-backup): Quote the value
3433 before storing it in the customized-value property (Bug#6712).
4aab9006 3434 (custom-display): Add a customization type tag.
983b9602 3435 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3436
aa4589a7
CY
3437 * wid-edit.el (widget-field-value-get): New optional arg to
3438 suppress trailing whitespace truncation.
3439 (character): Use it (Bug#2689).
3440
1ff980ae
AS
34412012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3442
3443 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3444 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3445
03988c98
CY
34462012-02-05 Chong Yidong <cyd@gnu.org>
3447
eeb6cc88
CY
3448 * cus-edit.el (custom-variable-value-create): For mismatched
3449 types, show the current value (Bug#7600).
3450
03988c98
CY
3451 * custom.el (defcustom): Doc fix.
3452
f8cdeef0
GM
34532012-02-05 Glenn Morris <rgm@gnu.org>
3454
3455 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3456
0696d255
JB
34572012-02-05 Juanma Barranquero <lekktu@gmail.com>
3458
3459 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3460 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3461 (pp-last-sexp): Use `looking-at-p'.
3462
34c99998
GM
34632012-02-04 Glenn Morris <rgm@gnu.org>
3464
8f05da42
GM
3465 * files.el (revert-buffer):
3466 Doc fix (mention revert-buffer-in-progress-p).
3467
f160676e
GM
3468 * emacs-lisp/ert-x.el (ert-simulate-command):
3469 Check deferred-action-list (which is obsolete) is bound.
3470
c7291ad9
GM
3471 * subr.el (with-wrapper-hook): Doc fixes.
3472
34c99998
GM
3473 * simple.el (filter-buffer-substring-functions)
3474 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3475
6283a7d3
LL
34762012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3477
3478 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3479 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3480
e96e3013
LL
34812012-02-04 Leo Liu <sdl.web@gmail.com>
3482
3483 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3484
8ded50f2
GM
34852012-02-04 Glenn Morris <rgm@gnu.org>
3486
82ff1d13
GM
3487 * image.el (image-extension-data): Add obsolete alias.
3488
987a0a16
GM
3489 * isearch.el (isearch-update): Doc fix.
3490
ea32ef46
GM
3491 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3492
8ded50f2
GM
3493 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3494
eea14f31
GM
34952012-02-03 Glenn Morris <rgm@gnu.org>
3496
3497 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3498 (image-animate-timeout): Doc fix.
3499
3500 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3501
12f381b7
GM
35022012-02-02 Glenn Morris <rgm@gnu.org>
3503
953cebf5
GM
3504 * server.el (server-auth-dir): Doc fix.
3505 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3506
12f381b7
GM
3507 * subr.el (run-mode-hooks): Doc fix.
3508
953a8c3b
JL
35092012-02-02 Juri Linkov <juri@jurta.org>
3510
3511 * image-mode.el (image-toggle-display-image): Remove tautological
3512 `major-mode' from the `derived-mode-p' test.
3513
c5d3843c
KH
35142012-02-02 Kenichi Handa <handa@m17n.org>
3515
9f6e692e 3516 * composite.el (compose-region): Cancel previous change.
c5d3843c 3517
159462d4 35182012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3519
3520 * composite.el (compose-region, compose-string): Signal error for
3521 a null string component (Bug#6988).
3522
9f562668
CY
35232012-02-01 Chong Yidong <cyd@gnu.org>
3524
e2cef717
CY
3525 * view.el (view-buffer-other-window, view-buffer-other-frame):
3526 Handle special modes like view-buffer (Bug#10650).
3527 (view-buffer): Simplify.
3528
9f562668
CY
3529 * frame.el (set-frame-font): Tweak meaning of third argument.
3530
9f6e692e
JB
3531 * dynamic-setting.el (font-setting-change-default-font):
3532 Use set-frame-font (Bug#9982).
9f562668 3533
781acb9f
GM
35342012-02-01 Glenn Morris <rgm@gnu.org>
3535
6035be52
GM
3536 * progmodes/compile.el (compilation-internal-error-properties):
3537 Respect compilation-first-column in the "*compilation*" buffer.
3538
781acb9f
GM
3539 * emacs-lisp/easy-mmode.el (define-minor-mode):
3540 Relax :variable's test for a named function.
3541
abbceb00
AM
35422012-01-31 Alan Mackenzie <acm@muc.de>
3543
3544 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3545 off by one error.
3546
fce3fdeb
CY
35472012-01-31 Chong Yidong <cyd@gnu.org>
3548
3549 * frame.el (set-frame-font): New arg ALL-FRAMES.
3550
3551 * menu-bar.el (menu-set-font): Use set-frame-font.
3552
3553 * faces.el (face-spec-reset-face): Don't apply unspecified
3554 attribute values to the default face.
3555
47893581
JB
35562012-01-31 Juanma Barranquero <lekktu@gmail.com>
3557
3558 * progmodes/cwarn.el (cwarn): Remove dead link.
3559 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3560 Remove * from defcustom docstrings.
3561 (turn-on-cwarn-mode): Make obsolete.
3562 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3563 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3564
e58e988a
GM
35652012-01-31 Glenn Morris <rgm@gnu.org>
3566
60dc2671 3567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3568 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3569 Allow named functions to be used as the cdr of :variable.
e58e988a 3570
7a3f511d
GM
35712012-01-30 Glenn Morris <rgm@gnu.org>
3572
3573 * emacs-lisp/authors.el (authors-fixed-entries):
3574 Remove reference to deleted file rnewspost.el.
3575
cb882333
JB
35762012-01-29 Juanma Barranquero <lekktu@gmail.com>
3577
3578 * window.el (window-with-parameter): Remove unused variable `windows'.
3579 (window--side-check): Remove unused variable `code'.
3580 (window--resize-siblings): Remove unused variable `first'.
3581 (adjust-window-trailing-edge): Remove unused variable `failed'.
3582 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3583 Use `let', not `let*'.
3584 (balance-windows-2): Remove unused variable `found'.
3585 (window--state-put-2): Remove unused variable `splits'.
3586 (window-state-put): Remove unused variable `selected'.
3587 (same-window-p): Use `string-match-p'.
3588 (display-buffer-assq-regexp): Remove unused variable `value'.
3589 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3590 Mark argument ALIST as ignored.
3591 (pop-to-buffer): Remove unused variable `old-window'.
3592
907201af
EZ
35932012-01-29 Eli Zaretskii <eliz@gnu.org>
3594
3595 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3596 and .lzma compressed files.
3597
ea162670
CY
35982012-01-29 Chong Yidong <cyd@gnu.org>
3599
5b95ee8a
CY
3600 * frame.el (window-system-default-frame-alist): Doc fix.
3601
ea162670
CY
3602 * dynamic-setting.el (font-setting-change-default-font): Don't
3603 change the default face if SET-FONT argument is non-nil (Bug#9982).
3604
d6e6f4b1
SB
36052012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3606
3607 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3608
0f29fa41 36092012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3610
3611 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3612 breakpoints in files outside current directory (Bug#6098).
3613
db174434
CY
36142012-01-29 Chong Yidong <cyd@gnu.org>
3615
6b25e4e2
SE
3616 * progmodes/python.el: Require ansi-color at top-level.
3617
6df6ae42
JB
3618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3619 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3620 (lisp-mode-abbrev-table): Add doc.
3621 (lisp-mode-variables): Don't set local-abbrev-table.
3622 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3623
e70ee681
RW
36242012-01-28 Roland Winkler <winkler@gnu.org>
3625
3626 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3627
ace88aa2
RW
36282012-01-28 Roland Winkler <winkler@gnu.org>
3629
3630 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3631 (bibtex-set-dialect): Use it. Either set global values of
3632 dialect-dependent variables or bind these variables buffer-locally
3633 (Bug#10254).
3634 (bibtex-mode): Call bibtex-set-dialect via
3635 hack-local-variables-hook.
eb864a71
LM
3636 (bibtex-dialect): Update docstring.
3637 Add safe-local-variable predicate.
ace88aa2
RW
3638 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3639 bibtex-set-dialect.
3640 (bibtex-mode-map): Define menu for each dialect.
3641 (bibtex-entry): Fix docstring.
3642
93376c5b
CY
36432012-01-28 Chong Yidong <cyd@gnu.org>
3644
3645 * eshell/esh-arg.el (eshell-quote-argument): New function.
3646
3647 * eshell/esh-ext.el (eshell-invoke-batch-file):
3648 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3649 first arg to eshell-parse-command (Bug#10523).
3650
4372494f
DA
36512012-01-28 Drew Adams <drew.adams@oracle.com>
3652
3653 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3654 `default-directory' is non-nil.
3655
4d4ec1f8
EZ
36562012-01-28 Eli Zaretskii <eliz@gnu.org>
3657
3658 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3659 line that displays system-configuration-options. (Bug#9924)
3660
7c188927
DA
36612012-01-28 Drew Adams <drew.adams@oracle.com>
3662
3663 * descr-text.el (describe-char): Show information about POS, in
3664 addition to information about the character at POS. Improve and
3665 update the doc string. Change "code point" to "code point in
3666 charset", to avoid confusion with the character's Unicode code
3667 point shown above that. (Bug#10129)
3668
e0da685a
EZ
36692012-01-28 Eli Zaretskii <eliz@gnu.org>
3670
3671 * descr-text.el (describe-char): Show the raw character, not only
3672 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3673 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3674 for the reasons.
3675
70550acf
PH
36762012-01-28 Phil Hagelberg <phil@hagelb.org>
3677
eb864a71
LM
3678 * emacs-lisp/package.el (package-install):
3679 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3680
0ce8e868
CY
36812012-01-28 Chong Yidong <cyd@gnu.org>
3682
cb882333
JB
3683 * emacs-lisp/package.el (package-maybe-load-descriptor):
3684 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3685 (package-maybe-load-descriptor): Use it.
3686 (package-download-transaction): Fully load required packages
3687 inside the loop, so that `require' calls work (Bug#10593).
3688 (package-install): No need to call package-initialize now.
3689
2e7f3bea
CY
36902012-01-28 Chong Yidong <cyd@gnu.org>
3691
6e9bad14
CY
3692 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3693
f823b8ca
CY
3694 * tooltip.el (tooltip-mode): Doc fix.
3695 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3696
2680c309
CY
3697 * frame.el (set-cursor-color): Doc fix (Bug#352).
3698
d7a9e63b
CY
3699 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3700 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3701
2e7f3bea
CY
3702 * cus-edit.el (custom-buffer-create-internal): Fix search button
3703 action (Bug#10542).
2ae01800 3704 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3705
fc4f7a23
EW
37062012-01-27 Eduard Wiebe <usenet@pusto.de>
3707
3708 * dired.el (dired-mark-files-regexp):
3709 Include any subdirectory components. (Bug#10445)
3710
7dd37071
ML
37112012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3712
3713 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3714 Handle [host]:port syntax. (Bug#10533)
3715
a268160b
AH
37162012-01-27 Alex Harsanyi <harsanyi@mac.com>
3717
3718 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3719
e43273ef
GM
37202012-01-26 Glenn Morris <rgm@gnu.org>
3721
3722 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3723 * term.el (term-raw-escape-map): Use Control-X-prefix.
3724 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3725
1edf595d
MR
37262012-01-25 Martin Rudalics <rudalics@gmx.at>
3727
3728 * window.el (window-state-get, window--state-get-1): Don't deal
3729 with fixed-sizeness of windows. Simplify code.
3730
fa8eafef
JC
37312012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3732
6df6ae42
JB
3733 * window.el (window--state-get-1, window--state-put-2):
3734 Don't save and restore the mark.
fa8eafef 3735
0b21c100
CY
37362012-01-25 Chong Yidong <cyd@gnu.org>
3737
3738 * custom.el (custom-variable-p): Doc fix.
3739
5ae1a6c8
GM
37402012-01-25 Glenn Morris <rgm@gnu.org>
3741
40047858
GM
3742 * dired.el (dired-goto-file): Handle some of the more common
3743 characters that `ls -b' escapes. (Bug#10596)
3744
5ddce96c
GM
3745 * progmodes/compile.el (compilation-next-error-function):
3746 Respect compilation-first-column in the "*compilation*" buffer.
3747 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3748
5ae1a6c8
GM
3749 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3750
b559f1a9
GM
37512012-01-24 Glenn Morris <rgm@gnu.org>
3752
3753 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3754
6725d21a
JD
37552012-01-24 Julien Danjou <julien@danjou.info>
3756
3757 * color.el (color-rgb-to-hsl): Fix value computing.
3758 (color-hue-to-rgb): New function.
3759 (color-hsl-to-rgb): New function.
3760 (color-clamp, color-saturate-hsl, color-saturate-name)
3761 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3762 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3763
70df4bbe
GM
37642012-01-24 Glenn Morris <rgm@gnu.org>
3765
3766 * vc/vc-rcs.el (vc-rcs-create-tag):
3767 * vc/vc-sccs.el (vc-sccs-create-tag):
3768 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3769
802a2ae2
ML
37702012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3771
3772 * eshell/esh-util.el (eshell-read-hosts-file):
3773 Skip comment lines. (Bug#10549)
3774
d7128bb1
ML
3775 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3776
d1a5c3b4
JB
37772012-01-23 Juanma Barranquero <lekktu@gmail.com>
3778
2724d9c7
JB
3779 * subr.el (display-delayed-warnings): Doc fix.
3780 (collapse-delayed-warnings): New function to collapse identical
3781 adjacent warnings.
3782 (delayed-warnings-hook): Add it.
d1a5c3b4 3783
a5509865
MA
37842012-01-22 Michael Albinus <michael.albinus@gmx.de>
3785
3786 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3787
3788 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3789 properties, when "login-as" is set.
3790
3791 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3792 (tramp-default-user-alist): Don't add "pscp".
3793 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3794 property "login-as", if set. (Bug#10530)
3795
cc6d5805
MA
37962012-01-21 Michael Albinus <michael.albinus@gmx.de>
3797
3798 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3799 "plink1" and "psftp". (Bug#10530)
3800
38012012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3802
3803 * international/mule-cmds.el (prefer-coding-system): Show a
3804 warning message if the default value of file-name-coding-system
3805 was not changed.
3806
f0960428
JC
38072012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3808
cb882333
JB
3809 * windmove.el (windmove-reference-loc):
3810 Fix windmove-reference-loc miscalculation.
f0960428 3811
dd6f2a63
JB
38122012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3813
3814 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3815 default unit.
3816
7b447e9b
GM
38172012-01-21 Glenn Morris <rgm@gnu.org>
3818
117a9ea1
GM
3819 * international/mule.el (auto-coding-alist): Add .tbz.
3820
7b447e9b
GM
3821 * files.el (local-enable-local-variables): Doc fix.
3822 (inhibit-local-variables-regexps): Rename from
3823 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3824 Doc fix. Add some extensions from auto-coding-alist.
3825 (inhibit-local-variables-suffixes):
3826 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3827 (inhibit-local-variables-p):
3828 New function, extracted from set-auto-mode-1.
3829 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3830 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3831 (hack-local-variables): Doc fix. Make the mode-only case
3832 respect enable-local-variables and friends.
3833 Respect inhibit-local-variables-regexps for file-locals, but
3834 not for directory-locals.
3835 (set-visited-file-name):
3836 Take account of inhibit-local-variables-regexps.
3837 Whether it applies may change as the file name is changed.
3838 * jka-cmpr-hook.el (jka-compr-install):
3839 * jka-compr.el (jka-compr-uninstall):
3840 Update for inhibit-first-line-modes-suffixes name change.
3841
dd6e3cdd
MR
38422012-01-20 Martin Rudalics <rudalics@gmx.at>
3843
3844 * help-macro.el (make-help-screen): Temporarily restore original
3845 binding for minor-mode-map-alist (Bug#10454).
3846
0d0deb38
JD
38472012-01-19 Julien Danjou <julien@danjou.info>
3848
3849 * color.el (color-name-to-rgb): Use the white color to find the max
3850 color component value and return correctly computed values.
3851 (color-name-to-rgb): Add missing float conversion for max value.
3852
34a02f46
MR
38532012-01-19 Martin Rudalics <rudalics@gmx.at>
3854
3855 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3856 special state value for window-persistent-parameters.
3857 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3858 (window--state-put-2): Reset all window parameters to nil before
3859 assigning values of persistent parameters.
3860
606c44c4
AM
38612012-01-18 Alan Mackenzie <acm@muc.de>
3862
3863 Eliminate sluggishness and hangs in fontification of "semicolon
3864 deserts".
3865
cb882333
JB
3866 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3867 Change value 10000 -> 3000.
606c44c4
AM
3868 (c-state-safe-place): Reformulate so it doesn't stack up an
3869 infinite number of wrong entries in c-state-nonlit-pos-cache.
3870 (c-determine-limit-get-base, c-determine-limit): New functions to
3871 determine backward search limits disregarding literals.
3872 (c-find-decl-spots): Amend commenting.
3873 (c-cheap-inside-bracelist-p): New function which detects "={".
3874
3875 * progmodes/cc-fonts.el
3876 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3877 backward search.
3878 (c-font-lock-declarations): Fix an occurrence of point being
3879 undefined. Check additionally for point being in a bracelist or
3880 near a macro invocation without a semicolon so as to avoid a
3881 fruitless time consuming search for a declarator. Give a more
3882 precise search limit for declarators using the new
3883 c-determine-limit.
3884
f3860cea
GM
38852012-01-18 Glenn Morris <rgm@gnu.org>
3886
3887 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3888 (set-auto-mode): Doc fixes.
3889
1db03b16
GM
38902012-01-17 Glenn Morris <rgm@gnu.org>
3891
0e6038be
GM
3892 * isearch.el (search-nonincremental-instead): Fix doc typo.
3893
1db03b16
GM
3894 * dired.el (dired-insert-directory): Handle newlines in directory name.
3895 (dired-build-subdir-alist): Unescape newlines in directory name.
3896
4cb0aa75
MA
38972012-01-17 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3900 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3901 (tramp-action-terminal): Use it. (Bug#10530)
3902
1d00653d
SM
39032012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3906
6a6ee00d
MR
39072012-01-16 Martin Rudalics <rudalics@gmx.at>
3908
3909 * window.el (window-state-ignored-parameters): Remove variable.
3910 (window--state-get-1): Rename argument MARKERS to IGNORE.
3911 Handle persistent window parameters. Make copy of clone-of
3912 parameter only if requested. (Bug#10348)
3913 (window--state-put-2): Install a window parameter only if it has
3914 a non-nil value or an existing parameter shall be overwritten.
3915
97912def
MA
39162012-01-15 Michael Albinus <michael.albinus@gmx.de>
3917
3918 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3919
688070a5
EZ
39202012-01-14 Eli Zaretskii <eliz@gnu.org>
3921
3922 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3923 don't pass the (nil) value of `upnode' to string-match.
3924
301afadc
CY
39252012-01-14 Chong Yidong <cyd@gnu.org>
3926
3927 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3928 Fix values recognized by the cursorBlink resource.
301afadc 3929
9e5788aa
PE
39302012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3931
3932 * epg.el (epg--make-temp-file): Avoid permission race condition
3933 when running on old Emacs versions (bug#10403).
3934
3cdb7f5a
GM
39352012-01-14 Glenn Morris <rgm@gnu.org>
3936
3937 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3938
8c82b1b4
AM
39392012-01-13 Alan Mackenzie <acm@muc.de>
3940
3941 Fix filling for when filladapt mode is enabled.
3942
3943 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3944 c-mask-paragraph, pass in `fill-paragraph' rather than
3945 `fill-region-as-paragraph'. (This is a reversion of a previous
3946 change.)
eb864a71
LM
3947 * progmodes/cc-mode.el (c-basic-common-init):
3948 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3949
e517eda4
GM
39502012-01-13 Glenn Morris <rgm@gnu.org>
3951
1498536e
GM
3952 * dired.el (dired-switches-escape-p): New function.
3953 (dired-insert-directory): Use dired-switches-escape-p.
3954 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3955
e517eda4
GM
3956 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3957
328f984d
GM
39582012-01-12 Glenn Morris <rgm@gnu.org>
3959
3960 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3961 changes in adaptive-fill-regexp. (Bug#10276)
3962
2cc769a8
AM
39632012-01-11 Alan Mackenzie <acm@muc.de>
3964
3965 Fix Emacs bug #10463 - put `widen's around the critical spots.
3966
1d00653d 3967 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3968 widen around each invocation of c-state-pp-to-literal. Remove an
3969 unused let variable.
3970
e52c37fa
GM
39712012-01-11 Glenn Morris <rgm@gnu.org>
3972
3973 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3974 Doc fix.
e52c37fa 3975
96f8741e
CY
39762012-01-10 Chong Yidong <cyd@gnu.org>
3977
1d00653d
SM
3978 * net/network-stream.el (network-stream-open-starttls):
3979 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3980 response to the capability command.
3981
b09a806e
GM
39822012-01-10 Glenn Morris <rgm@gnu.org>
3983
3984 * mail/unrmail.el (unrmail): Tweak previous change.
3985
7655cb66
CY
39862012-01-09 Chong Yidong <cyd@gnu.org>
3987
3988 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3989
9d5a8f0b
AM
39902012-01-08 Alan Mackenzie <acm@muc.de>
3991
3992 Optimise font locking in long enum definitions.
3993
3994 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3995 arm to a cond form to handle enums.
3996 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3997 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3998
9a0115ab 39992012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4000
4001 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4002 (Bug#10401)
6bb72cbd 4003
f186bb95
LMI
40042012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005
29232a68
LMI
4006 * faces.el (set-face-attribute): Clarify the meaning of the nil
4007 frame (bug#10294).
4008
4e5d086d
LMI
4009 * subr.el (with-selected-frame): Mention that the selected frame
4010 is restored (bug#9980).
4011
8e66aebe
LMI
4012 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4013 (bug#9759).
4014
cd394be1 4015 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4016 (password-read): Don't autoload unused function.
4017
adf4e762
JB
40182012-01-07 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * progmodes/which-func.el (which-func-mode): Turn into a
4021 non-interactive function and mark as obsolete (bug#10428).
4022
89bd9ccd
CY
40232012-01-06 Chong Yidong <cyd@gnu.org>
4024
4025 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4026 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4027 functions, along with 1 and -1.
4028
4afee9d5
EZ
40292012-01-06 Eli Zaretskii <eliz@gnu.org>
4030
4031 * time.el (display-time-load-average)
4032 (display-time-default-load-average): Doc fixes. See the thread
4033 starting at
4034 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4035 for the details.
4036
536aea70
GM
40372012-01-06 Glenn Morris <rgm@gnu.org>
4038
665ae865
GM
4039 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4040 has no messages. (Bug#10377)
4041
c869783d
GM
4042 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4043 than Info-edit. (Bug#10385)
4044
2bb4227e
GM
4045 * time.el (display-time-load-average, display-time-next-load-average):
4046 Doc fixes.
4047
7d5944b9
GM
4048 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4049 local setting of buffer-read-only to the input buffer. (Bug#10419)
4050
536aea70
GM
4051 * calendar/calendar.el (calendar-mode):
4052 Locally set scroll-margin to 0. (Bug#10379)
4053
7dccca16
UM
40542012-01-06 Ulrich Mueller <ulm@gentoo.org>
4055
4056 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4057
afbb7930
GM
40582012-01-05 Glenn Morris <rgm@gnu.org>
4059
4060 * eshell/em-unix.el (diff-no-select): Autoload it.
4061 (eshell/diff): Use diff-no-select. (Bug#10420)
4062
04482335
CY
40632012-01-05 Chong Yidong <cyd@gnu.org>
4064
7baca3bc
CY
4065 * shell.el (shell-dynamic-complete-functions): Revert last change.
4066 (shell-command-completion-function): New function.
4067 (shell-completion-vars): Use it to implement
4068 shell-completion-execonly (Bug#10417).
4069
04482335
CY
4070 * custom.el (enable-theme): Don't set custom-safe-themes.
4071
1d00653d
SM
4072 * cus-theme.el (custom-theme-merge-theme):
4073 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4074
bb5aa5d6
MM
40752012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4076
4077 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4078 first prompt in `sql-interacive-mode'.
4079 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4080 keywords.
6df6ae42 4081 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4082 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4083 context of original buffer. Invoke `sql-login-hook'.
4084
a7183d7c
EZ
40852012-01-04 Eli Zaretskii <eliz@gnu.org>
4086
4087 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4088 letters in cite-prefix.
4089
a1eacd1e
LMI
40902012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
4092 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4093
787cdb34
CY
40942012-01-03 Chong Yidong <cyd@gnu.org>
4095
1d00653d
SM
4096 * shell.el (shell-dynamic-complete-functions):
4097 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4098 comint-filename-completion first (Bug#10417).
4099
30710442
RS
41002012-01-02 Richard Stallman <rms@gnu.org>
4101
4102 * battery.el (battery-status-function):
4103 Detect when to use battery-yeeloong-sysfs.
4104 (battery-echo-area-format): Add string for Yeeloong.
4105 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4106 (battery-yeeloong-sysfs): New function.
4107
f75bfc33
CY
41082012-01-02 Chong Yidong <cyd@gnu.org>
4109
4110 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4111 (dirtrack): Merge code for handling relative filenames in prompt
4112 from shell-dir-cookie-watcher.
4113 (dirtrack-debug-message): New arg to avoid excess format calls.
4114
4115 * shell.el (shell-dir-cookie-re): Variable deleted.
4116 (shell-dir-cookie-watcher): Function deleted.
4117 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4118 with dirtrack-mode.
4119
651e947e
EZ
41202012-01-01 Eli Zaretskii <eliz@gnu.org>
4121
1d00653d
SM
4122 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4123 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4124 libgnutls-26.dll.
4125
94d4c7dc
AS
41262011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4127
4128 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4129
8d43f3cd
EZ
41302011-12-31 Eli Zaretskii <eliz@gnu.org>
4131
4132 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4133 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4134
98c8795a
MA
41352011-12-29 Michael Albinus <michael.albinus@gmx.de>
4136
4137 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4138 also for alternative shells.
4139 (tramp-open-connection-setup-interactive-shell): Check, whether
4140 the shell is a busybox.
4141 (tramp-send-command): Don't suppress multiple prompts for
4142 busyboxes, it hurts.
4143
51281b32
CY
41442011-12-28 Chong Yidong <cyd@gnu.org>
4145
4146 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4147 (gdb-get-source-file): Move mode line update to
4148 gdb-get-source-file (Bug#10087).
4149
2170cb53
CY
41502011-12-25 Chong Yidong <cyd@gnu.org>
4151
4152 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4153 gud-gdb-marker-filter without taking it as an argument.
4154 (gud-gdb-run-command-fetch-lines): Caller changed.
4155 (gud-gdb-completion-function): New variable.
4156 (gud-gdb-completion-at-point): Use it.
4157 (gud-gdb-completions-1): Split from gud-gdb-completions.
4158
4159 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4160 function as separate arguments.
4161 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4162 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4163 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4164 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4165 (gdb-stopped, def-gdb-auto-update-trigger)
4166 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4167 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4168 Callers changed.
2170cb53
CY
4169 (gud-gdbmi-completions): New function.
4170 (gdb): Use it for generating the completion table.
4171
be8b11bb
AM
41722011-12-24 Alan Mackenzie <acm@muc.de>
4173
4174 Introduce a mechanism to widen the region used in context font
1d00653d 4175 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4176
1d00653d
SM
4177 * progmodes/cc-langs.el (c-before-font-lock-functions):
4178 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4179 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4180 functions to be run just before context (etc.) font locking.
4181
4182 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4183 New, functionality extracted from
be8b11bb 4184 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4185 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4186 (c-after-change): Set c-in-after-change-fontification.
4187 (c-set-fl-decl-start): Rejig its interface, so it can be called
4188 from both after-change and context fontifying.
b81d40f0
JB
4189 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4190 New functions.
4191 (c-standard-font-lock-fontify-region-function): New variable.
4192 (c-font-lock-fontify-region): New function.
be8b11bb 4193
341cf6ac
JL
41942011-12-24 Juri Linkov <juri@jurta.org>
4195
4196 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4197 (Bug#10348)
4198
bffcee0a
MA
41992011-12-23 Michael Albinus <michael.albinus@gmx.de>
4200
4201 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4202 existence of source file. (Bug#10325)
4203
cb5e207c
AM
42042011-12-23 Alan Mackenzie <acm@muc.de>
4205
4206 Fix unstable fontification inside templates.
4207
b81d40f0
JB
4208 * progmodes/cc-langs.el (c-before-font-lock-functions):
4209 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4210 additionally has c-set-fl-decl-start. The other languages (apart
4211 from AWK) have that as a single entry.
4212
b81d40f0
JB
4213 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4214 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4215 c-set-fl-decl-start.
4216
b81d40f0
JB
4217 * progmodes/cc-mode.el (c-common-init, c-after-change):
4218 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4219 (c-set-fl-decl-start): New function, extracted from
4220 c-font-lock-enclosing-decls and enhanced.
4221
60ff536c
JB
42222011-12-23 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4225
1c4757d6
JL
42262011-12-22 Juri Linkov <juri@jurta.org>
4227
4228 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4229
d031f2c7
CY
42302011-12-22 Chong Yidong <cyd@gnu.org>
4231
4232 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4233
bace743a
DA
42342011-12-21 Drew Adams <drew.adams@oracle.com>
4235
4236 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4237
728a1f2b
JC
42382011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4239
4240 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4241
0d373f73
TZ
42422011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4243
fec0aaa4
TZ
4244 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4245 highlighting and support. Fix up comments for capitalization.
4246 (cfengine-mode-debug): New var.
4247 (cfengine3-mode): Change the modeline indicator to "CFE3".
4248 (cfengine3-font-lock-keywords): Improve defun highlighting.
4249 (cfengine2-actions): Rename from `cfengine-actions'.
4250 (cfengine2-font-lock-keywords): Rename from
4251 `cfengine-font-lock-keywords'.
4252 (cfengine2-imenu-expression): Rename from
4253 `cfengine-imenu-expression'.
4254 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4255 (cfengine2-beginning-of-defun): Rename from
4256 `cfengine-beginning-of-defun'.
4257 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4258 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4259 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4260 modeline indicator to "CFE2".
4261 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4262 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4263
bc86f573
CY
42642011-12-21 Chong Yidong <cyd@gnu.org>
4265
4266 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4267 filename argument.
4268
d45ba96b
MR
42692011-12-20 Martin Rudalics <rudalics@gmx.at>
4270
4271 * window.el (window-normalize-buffer-to-display): Remove.
4272 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4273
a6198c90
CY
42742011-12-19 Chong Yidong <cyd@gnu.org>
4275
4276 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4277 Don't signal an error in a predicate function; return non-nil.
4278 (vc-dir-mark-file): Move the error here.
4279 (vc-dir-mark-unmark): If acting on the region, keep going if one
4280 of the entries cannot be marked/unmarked.
4281 (vc-dir-mark-all-files): If current entry is a directory, mark
4282 only child files, as documented.
4283
34c5fb55
VB
42842011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4285
4286 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4287 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4288 addition.
4289
c803b2b7
JD
42902011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4291
4292 * term/ns-win.el (ns-get-selection-internal)
4293 (ns-store-selection-internal): Declare.
1154d12e
JB
4294 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4295 Declare as obsolete.
4296 (ns-get-pasteboard, ns-paste-secondary):
4297 Use ns-get-selection-internal.
4298 (ns-set-pasteboard, ns-copy-including-secondary):
4299 Use ns-store-selection-internal.
c803b2b7 4300
9cff91f8 43012011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4302
4303 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4304 (vc-deduce-fileset): Doc fix.
99a289d9 4305
f16c898a
AS
43062011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4307
4308 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4309
763237c4
SS
43102011-12-13 Sam Steingold <sds@gnu.org>
4311
4312 * man.el (Man-getpage-in-background): When running under a
4313 window-system, ignore $MANWIDTH and $COLUMNS.
4314
5fc1c122
KH
43152011-12-15 Kenichi Handa <handa@m17n.org>
4316
4317 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4318 (setup-ethiopic-environment-internal): Comment out key-binding for
4319 ethio-toggle-punctuation.
4320
13d49cbb
AM
43212011-12-13 Alan Mackenzie <acm@muc.de>
4322
898169a2
AM
4323 Add the switch statement to AWK Mode.
4324
7a71b18d 4325 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4326 "default" to the keywords regexp.
4327
7a71b18d 4328 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4329 expression as the rest.
1d00653d
SM
4330 (c-nonlabel-token-key): Allow string literals for AWK.
4331 Refactor for the other modes.
898169a2 4332
13d49cbb 4333 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4334 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4335 routines. Limit backward searching in c-font-lock-enclosing.decl.
4336
4337 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4338 pp-state and literal type in addition to the limits.
1d00653d 4339 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4340 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4341 (c-slow-in-literal, c-fast-in-literal): Remove.
4342 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4343
4344 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4345 being in a literal. Add a limit for backward searching.
4346
4347 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4348 c-slow-in-literal.
4349
15e0efc7
SM
43502011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4353
454592a6
MR
43542011-12-13 Martin Rudalics <rudalics@gmx.at>
4355
4356 * window.el (delete-other-windows): Use correct frame in call to
4357 window-with-parameter.
4358
87393f26
DP
43592011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4360
4361 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4362 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4363 (makefile-gmake-statements, makefile-makepp-statements):
4364 Use it and add new makepp keywords.
4365 (makefile-makepp-font-lock-keywords): Add new patterns.
4366 (makefile-match-function-end): Match new [...] and [[...]].
4367
11636b22
JB
43682011-12-11 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * ses.el (ses-call-printer-return, ses-cell-property-get)
4371 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4372 (ses-create-cell-variable, ses-reset-header-string)
4373 (ses-cell-set-formula, ses-repair-cell-reference-all)
4374 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4375 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4376 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4377 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4378 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4379 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4380 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4381 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4382 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4383 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4384 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4385 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4386
cf018193
VB
43872011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4388
4389 * ses.el: The overall change is to add cell renaming, that is
4390 setting fancy names for cell symbols other than name matching
4391 "\\`[A-Z]+[0-9]+\\'" regexp .
4392 (ses-create-cell-variable): New defun.
4393 (ses-relocate-formula): Relocate formulas only for cells the
4394 symbols of which are not renamed, i.e. symbols whose names do not
4395 match regexp "\\`[A-Z]+[0-9]+\\'".
4396 (ses-relocate-all): Relocate values only for cells the symbols of
4397 which are not renamed.
4398 (ses-load): Create cells variables as the (ses-cell ...) are read,
4399 in order to check row col consistency with cell symbol name only
4400 for cells that are not renamed.
4401 (ses-replace-name-in-formula): New defun.
4402 (ses-rename-cell): New defun.
4403
ee957461
CY
44042011-12-11 Chong Yidong <cyd@gnu.org>
4405
4406 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4407 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4408
9a9e9ef0
MR
44092011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4410
4411 * window.el (other-window): Fix docstring.
4412
92a8eba5
EZ
44132011-12-10 Eli Zaretskii <eliz@gnu.org>
4414
4415 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4416 `from' or `to' address before taking its substring.
4417 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4418 encoded name is chopped in the middle of the encoded string, and
4419 thus displayed encoded.
4420
e152e577
JB
44212011-12-10 Juanma Barranquero <lekktu@gmail.com>
4422
4423 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4424
e5d84bfe
EZ
44252011-12-10 Eli Zaretskii <eliz@gnu.org>
4426
4427 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4428 to use texinfo-update-node and commands that call it if the
4429 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4430 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4431 (texinfo-all-menus-update, texinfo-master-menu)
4432 (texinfo-update-node, texinfo-every-node-update)
4433 (texinfo-multiple-files-update): Doc fix. Warn against updating
4434 all the @node lines.
4435 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4436 argument is numeric. Explain better in the doc string what the
4437 function really does.
4438 (texinfo-insert-master-menu-list): Improve the error message
4439 displayed if there's no menu in the Top node.
4440 (Bug#2975) See also this thread:
e5d84bfe
EZ
4441 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4442
1d84e9bb
MG
44432011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4444
4445 * speedbar.el (speedbar-supported-extension-expressions):
4446 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4447
382c953b
JB
44482011-12-09 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * printing.el (pr-mode-alist):
4451 * simple.el (filter-buffer-substring-functions)
4452 (completion-list-insert-choice-function):
4453 * window.el (window-with-parameter, window-atom-root)
4454 (window-sides-slots, window-size-fixed, window-min-delta)
4455 (window-max-delta, window--resize-mini-window)
4456 (window--resize-child-windows-normal, window-tree)
4457 (delete-other-windows, quit-window, split-window)
4458 (display-buffer-record-window, special-display-buffer-names)
4459 (special-display-regexps, special-display-popup-frame)
4460 (same-window-p, split-window-sensibly)
4461 (display-buffer-overriding-action, display-buffer-alist)
4462 (display-buffer-base-action, display-buffer, switch-to-buffer)
4463 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4464 (fit-window-to-buffer, recenter-positions)
4465 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4466 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4467 and remove unneeded backslashes in docstrings.
4468
39c9faef
SM
44692011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4470
98449af8
SM
4471 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4472
39c9faef
SM
4473 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4474 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4475 end in ".mk".
4476 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4477 when reading the makefile (bug#10116).
4478
86ed9fdc
SM
44792011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4482 (bug#10116).
4483
5580f89d
GM
44842011-12-06 Glenn Morris <rgm@gnu.org>
4485
4486 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4487
28d3917c
CY
44882011-12-06 Chong Yidong <cyd@gnu.org>
4489
4490 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4491
a98edce9
JB
44922011-12-06 Juanma Barranquero <lekktu@gmail.com>
4493
4494 * textmodes/table.el (table-shorten-cell): Fix typo.
4495
e65adfac
CG
44962011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4497
4498 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4499
71cc0b74
EZ
45002011-12-05 Eli Zaretskii <eliz@gnu.org>
4501
4502 * descr-text.el (describe-char): Fix display of strong
4503 right-to-left characters and directional embeddings and overrides.
4504
4505 * simple.el (what-cursor-position): Fix display of codepoints of
4506 strong right-to-left characters.
4507
315bc30d
CY
45082011-12-05 Chong Yidong <cyd@gnu.org>
4509
4510 * faces.el (read-color): Doc fix.
4511
58a70b94
GM
45122011-12-05 Glenn Morris <rgm@gnu.org>
4513
4514 * align.el (align--set-marker): Add doc-string.
4515 Don't try to move something that is not a marker. (Bug#10216)
4516
5158face
GM
45172011-12-04 Glenn Morris <rgm@gnu.org>
4518
4519 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4520 overly zealous deletion of trailing whitespace.
4521
520fca41
JB
45222011-12-04 Juanma Barranquero <lekktu@gmail.com>
4523
4524 * server.el (server-delete-client): On Windows, do not try to delete
4525 the only terminal.
4526 (server-process-filter): On Windows, treat requests for a tty frame as
4527 if they were for a GUI frame if the running server is in GUI mode.
4528
5e605a2e
GM
45292011-12-03 Glenn Morris <rgm@gnu.org>
4530
4531 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4532
5c3fe83f
SM
45332011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4534
6f5e57e7
SM
4535 * electric.el: Streamline electric-indent's hook.
4536 (electric-indent-chars): Revert to simple list.
4537 (electric-indent-functions): New var.
4538 (electric-indent-post-self-insert-function): Use it.
4539
5c3fe83f
SM
4540 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4541 there's no inferior buffer (bug#10196).
4542 (prolog-consult-compile): Don't use toggle-read-only.
4543
6bdac736
MA
45442011-12-02 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4547 interrupt. (Bug#10187)
4548
6131ba7f
SM
45492011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4550
99c79fee
SM
4551 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4552 (bug#9160).
4553
6131ba7f
SM
4554 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4555 (bug#10191).
4556
cb0a02ea
JL
45572011-12-02 Juri Linkov <juri@jurta.org>
4558
4559 * info.el (Info-search): Display "end of manual" when Isearch
4560 reaches the end of single-file Info manual. (Bug#9918)
4561
66e0570c
EZ
45622011-12-02 Eli Zaretskii <eliz@gnu.org>
4563
4564 * isearch.el (isearch-message-prefix): Run the input method part
4565 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4566
02b16839
JL
45672011-12-02 Juri Linkov <juri@jurta.org>
4568
4569 * isearch.el (isearch-occur): Use `word-search-regexp' for
4570 `isearch-word'.
4571 (isearch-search-and-update): Add condition for `isearch-word' and
4572 call `word-search-regexp'. (Bug#10145)
4573
0b950688
GM
45742011-12-01 Glenn Morris <rgm@gnu.org>
4575
4576 * eshell/em-hist.el (eshell-hist-initialize):
4577 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4578 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4579
9505c3c7
SM
45802011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4583
1bbe96b2 45842011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4585
a1beca85
SM
4586 * progmodes/verilog-mode.el (verilog-pretty-expr):
4587 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4588 verilog, such as += *= and the like.
4589 (verilog-assignment-operator-re): Regular expression to find the
4590 assigment operator in a verilog assignment.
4591 (verilog-assignment-operation-re): Regular expression to find an
4592 assignment statement for pretty-expr.
4593 (verilog-in-attribute-p): Query returns true if point is in an
4594 attribute context; used to skip these for expression line up from
4595 pretty-expr.
4596 (verilog-in-parameter-p): Query returns true if point is in an
4597 parameter definition context; used to skip these for expression
4598 line up from pretty-expr.
4599 (verilog-in-parenthesis-p): Query returns true if point is in a
4600 parenthetical expression, specifically ( ) but not [ ] or { };
4601 used by pretty-expr.
4602 (verilog-just-one-space): If there is no space, don't add one.
4603 (verilog-get-lineup-indent-2): Specifically skip just attribute
4604 contexts for expression lineup, rather than skipping all
4605 parenthetical expressions.
4606 (verilog-calculate-indent): Fix comment, and fix indent.
4607 (verilog-do-indent): Indent declarations in lists (suggested by
4608 Joachim Lechner).
4609 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4610 skeleton items.
4611 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4612 by Alain Mellan).
4613
1bbe96b2 46142011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4615
4616 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4617 parameters with embedded comments. Reported by Ray Stevens.
4618 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4619 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4620 Reported by Tim Holt.
4621 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4622 instantiated by upper module causing wrong expansion until AUTOed a
4623 second time. Reported by K C Buckenmaier.
4624 (verilog-diff-auto): Fix showing .* as a difference when
4625 `verilog-auto-star-save' off. Reported by Dan Dever.
4626 (verilog-auto-reset, verilog-read-always-signals)
4627 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4628 temporary signals in reset list if
4629 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4630 style to each signal's assignment type, bug381.
4631 Reported by Thomas Esposito.
6288f0ca
WS
4632 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4633 (verilog-uvm-statement-re): Support UVM indentation and
4634 highlighting, with old OVM keywords only.
a1beca85 4635 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4636 Support AUTOTIEOFF creating non-wire data types.
4637 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4638 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4639 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4640 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4641 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4642 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4643 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4644 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4645 non-numeric vector width. Reported by Alex Reed.
4646 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4647 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4648 (verilog-auto-delete-trailing-whitespace):
4649 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4650 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4651 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4652 Fix verilog-scan-cache corruption when running user AUTO expansion
4653 hooks that call indentation routines.
4654 (verilog-simplify-range-expression): Fix typo ignoring lower case
4655 identifiers.
4656 (verilog-delete-auto): Fix delete-autos to also remove user created
4657 automatics, as long as they start with AUTO.
4658 (verilog-batch-diff-auto, verilog-diff-auto)
4659 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4660 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4661 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4662 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4663 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4664 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4665 is disabled and its cache will get corrupt, causing AUTOS not to
4666 expand. Instead use only -quick functions.
4667 (verilog-scan-region): Fix scanning over escaped quotes.
4668 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4669 (verilog-re-search-backward-quick)
4670 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4671 related functions now ignore strings, to fix misparsing of strings
4672 with magic comments embedded in them.
a1beca85
SM
4673 (verilog-read-auto-template):
4674 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4675 Reported by Brad Dobbie.
4676 (verilog-read-auto-template):
4677 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4678 Reported by Brad Dobbie.
6288f0ca
WS
4679 (verilog-auto-inst, verilog-auto-inst-param)
4680 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4681 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4682 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4683 debugging templates without merge conflicts, bug357.
4684 Reported by Brad Dobbie.
4685 (verilog-read-auto-template):
4686 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4687 Reported by Brad Dobbie.
4688 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4689 abbrevs so user won't be asked to save.
4690 (verilog-read-auto-lisp-present): Fix to start at beginning of
4691 buffer in case called outside of verilog-auto.
4692 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4693 to "X-2". Reported by Matthew Myers.
4694 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4695 all inputs from module templates. Reported by Leith Johnson.
4696 (verilog-module-inside-filename-p): Fix locating programs as with
4697 modules.
4698 (verilog-auto-inst-port): Fix vl-width expressions when using
4699 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4700 (verilog-decls-get-regs, verilog-decls-get-signals,
4701 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4702 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4703 verilog-read-decls): Combine reg and wire structures into one var
4704 structure to represent SystemVerilog concepts.
4705 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4706 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4707 (verilog-auto-wire-type, verilog-insert-definition):
4708 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4709 SystemVerilog "logic" keyword instead of "wire"/"reg".
4710 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4711 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4712 ifdef or generate if so there's not a driver conflict).
4713 Reported by Matthew Myers.
4714 (verilog-auto-declare-nettype, verilog-insert-definition):
4715 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4716 `default_nettype none. Reported by Julian Gorfajn.
4717 (verilog-read-always-signals-recurse, verilog-read-decls)
4718 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4719 malformed end statement, bug325. Reported by Joshua Wise and
4720 Andrew Drake.
4721 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4722 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4723 when expanding .* in interfaces, bug320.
4724 Reported by Pierre-David Pfister.
6288f0ca 4725 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4726 name and open parenthesis, bug317.
4727 Reported by Pierre-David Pfister.
6288f0ca
WS
4728 (verilog-simplify-range-expression): Fix simplification of
4729 multiplications inside AUTOWIRE connections, bug303.
4730 (verilog-auto-inst-port): Support parameter expansion in
4731 multidimensional arrays.
4732 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4733 after "assert property". Reported by Julian Gorfajn.
4734 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4735 with multiplication, bug303.
4736 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4737 Reported by Jan Frode Lonnum.
4738
1bbe96b2
GM
47392011-11-30 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4742 (hfy-shell-file-name, hfy-shell):
4743 * international/fontset.el (x-decompose-font-name): Fix typos.
4744
47452011-11-29 Ken Brown <kbrown@cornell.edu>
4746
4747 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4748 (gdb-version): Remove defvar.
4749 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4750 (gdb-gud-context-command, gdb-non-stop-handler)
4751 (gdb-current-context-command, gdb-stopped): Use it.
4752 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4753 (gdb-non-stop-handler): Don't enable pretty-printing here.
4754 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4755 non-stop mode. Use the following.
4756 (gdb-check-target-async): New defun.
4757 (gud-watch, gdb-stopped): Fix whitespace.
4758 (gdb-get-source-file): Don't try to display the source file if
4759 `gdb-main-file' is nil.
4760
47612011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * align.el: Try to generate fewer markers (bug#10047).
4764 (align--set-marker): New macro.
4765 (align-region): Use it.
4766
c935221f
SM
47672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4770
e70b5064
CY
47712011-11-29 Chong Yidong <cyd@gnu.org>
4772
4773 * indent.el (indent-for-tab-command, indent-according-to-mode):
4774 Doc fix.
4775 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4776
f3af92b7
MA
47772011-11-29 Michael Albinus <michael.albinus@gmx.de>
4778
4779 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4780 aware of remote file names. (Bug#10124)
4781
ed472be9
CY
47822011-11-29 Chong Yidong <cyd@gnu.org>
4783
4784 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4785
24510c22
SM
47862011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * files.el (find-file): Don't use force-same-window (bug#10144).
4789 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4790 use pop-to-buffer if the selected window can't be used.
4791 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4792
c60c3703
EZ
47932011-11-28 Eli Zaretskii <eliz@gnu.org>
4794
4795 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4796 special-mode-map.
4797
e95def75
CY
47982011-11-28 Chong Yidong <cyd@gnu.org>
4799
4800 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4801
c3f1c606
NR
48022011-11-27 Nick Roberts <nickrob@snap.net.nz>
4803
4804 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4805 gdb-get-source-file-list on gdb-create-source-file-list.
4806
00db469c
EZ
48072011-11-26 Eli Zaretskii <eliz@gnu.org>
4808
4809 * whitespace.el (whitespace-newline): Use a different foreground
4810 color for 16-color light-background displays.
4811
4ad3bc2a
CY
48122011-11-24 Chong Yidong <cyd@gnu.org>
4813
4814 * window.el (display-buffer--special-action): Doc fix.
4815
e9fce1ac
JB
48162011-11-25 Juanma Barranquero <lekktu@gmail.com>
4817
4818 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4819 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4820 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4821 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4822 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4823 (avl-tree-stack-first):
4824 * emacs-lisp/cconv.el (cconv--analyse-use):
4825 * net/gnutls.el (gnutls-negotiate): Fix typos.
4826
cb825e5d
GM
48272011-11-24 Glenn Morris <rgm@gnu.org>
4828
3adbe224
GM
4829 * lpr.el (lpr-windows-system, lpr-lp-system):
4830 * mail/binhex.el (binhex-begin-line):
4831 * progmodes/grep.el (grep-history, grep-find-history):
4832 * textmodes/flyspell.el:
4833 * vc/pcvs-defs.el (cvs-global-menu):
4834 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4835 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4836 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4837
321decc8
GM
4838 * net/tls.el: Fix case of "GnuTLS".
4839
420b63ad
GM
4840 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4841
cb825e5d
GM
4842 * version.el (emacs-build-system): Give it a doc-string.
4843
a0649f08
JL
48442011-11-24 Juri Linkov <juri@jurta.org>
4845
4846 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4847
c0bc0fd4
GM
48482011-11-24 Glenn Morris <rgm@gnu.org>
4849
4850 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4851 if called on a non-mime message just toggle the headers. (Bug#8006)
4852
20db1522
JB
48532011-11-24 Juanma Barranquero <lekktu@gmail.com>
4854
4855 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4856 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4857 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4858 (allout-rebullet-heading, allout-open-sibtopic)
4859 (allout-toggle-current-subtree-encryption)
4860 (allout-toggle-subtree-encryption, allout-encrypt-string)
4861 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4862 (allout-distinctive-bullets-string, allout-auto-activation):
4863 * window.el (window-normalize-buffer-to-display):
4864 * progmodes/verilog-mode.el (verilog-batch-indent):
4865 * textmodes/bibtex.el (bibtex-field-braces-opt)
4866 (bibtex-field-strings-opt):
4867 * vc/cvs-status.el (cvs-tree-merge):
4868 Fix typos.
4869
7262a87c
MA
48702011-11-23 Michael Albinus <michael.albinus@gmx.de>
4871
4872 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4873 `non-essential' to t, in order to avoid remote connections.
4874
283430a1
EZ
48752011-11-23 Eli Zaretskii <eliz@gnu.org>
4876
a1beca85
SM
4877 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4878 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4879 case-insensitively.
4880
d2992a38
ML
48812011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4882
4883 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4884
50419064
GM
48852011-11-23 Glenn Morris <rgm@gnu.org>
4886
da94eca1
GM
4887 * paths.el (rmail-file-name): Reformat the doc-string so that it
4888 is picked up.
4889
9aac4de2
GM
4890 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4891 (rmail-auto-file): Ignore case in the "special" field names,
4892 as mail-fetch-field does for all others.
4893
8038d2d2
GM
4894 * mail/rmail.el (rmail-forward):
4895 * mail/rmailkwd.el (rmail-set-label):
4896 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4897 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4898
f3fe222a
GM
4899 * mail/rmail.el (rmail-current-message): Doc fix.
4900
50419064
GM
4901 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4902
28109f49
SM
49032011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4906
394c65f1
GM
49072011-11-22 Glenn Morris <rgm@gnu.org>
4908
4909 * mail/rmailmm.el (test-rmail-mime-handler)
4910 (test-rmail-mime-bulk-handler)
4911 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4912
f2a0aa3a
JL
49132011-11-21 Juri Linkov <juri@jurta.org>
4914
1154d12e
JB
4915 * calc/calc.el (calc-read-key-sequence):
4916 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4917
9c34a344
LMI
49182011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4919
4920 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4921 Tell the caller that the next line needs recomputation, even
4922 though it doesn't start a sexp (bug#10094).
4923
f04a3be9
SM
49242011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4927
7978747f
SM
49282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4929
f04a3be9
SM
4930 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4931 Use force-same-window.
7978747f 4932
fe7a3057
JB
49332011-11-20 Juanma Barranquero <lekktu@gmail.com>
4934
4935 * descr-text.el (describe-char-unicode-data):
4936 * json.el (json-string-escape):
4937 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4938 (Footnote-unicode, Footnote-style-p):
4939 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4940
24901d61
CY
49412011-11-20 Chong Yidong <cyd@gnu.org>
4942
4943 * window.el (replace-buffer-in-windows): Restore interactive spec.
4944
bac7ff22
SM
49452011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4946
24f3d7b9
SM
4947 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4948
bac7ff22
SM
4949 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4950 (byte-compile-global-not-obsolete-vars): New var.
4951 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4952 Use it.
4953 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4954
cd1181db
JB
49552011-11-20 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4958 * progmodes/pascal.el (electric-pascal-equal):
4959 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4960 * xml.el (xml-substitute-special): Fix typos.
4961
7fb18e9e
GM
49622011-11-20 Glenn Morris <rgm@gnu.org>
4963
4964 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4965 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4966 Doc fixes.
4967 (rmail-decode-mime-charset): Mark as obsolete.
4968
4969 * mail/rmailsum.el (rmail-message-regexp-p-1):
4970 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4971 Before using mime functions, check they are set. (Bug#10077)
4972
d5a6b3ba
JL
49732011-11-19 Juri Linkov <juri@jurta.org>
4974
4975 * info.el (Info-finder-find-node): Use `package--builtins' instead
4976 of `package-alist'. Use node names formed by the pattern "Keyword "
4977 and the keyword name.
4978
e981b61f
AS
49792011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4980
1d00653d 4981 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4982
3ffbc301
JL
49832011-11-19 Juri Linkov <juri@jurta.org>
4984
4985 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4986 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4987 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4988 `old-history', `old-history-forward'. Add let-binding
4989 `window-selected'. Remove calls to `kill-buffer',
4990 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4991 before calling `Info-find-node', so `Info-find-node-2' will reread
4992 the Info file. Restore window positions only when `window-selected'
4993 is non-nil.
4994
30c62133
JL
49952011-11-19 Juri Linkov <juri@jurta.org>
4996
4997 * isearch.el (isearch-lazy-highlight-new-loop):
4998 Remove condition `(not isearch-error)'. (Bug#9918)
4999
5000 * misearch.el (multi-isearch-search-fun): Add condition
5001 `(not bound)' to ignore lazy-highlighting search.
5002 Add the search-failed message "end of multi" when the end of
5003 multi-sequence is reached. Uncapitalize the search-failed
5004 message "Repeat for next buffer".
5005
5006 * info.el (Info-search): Add the search-failed message
5007 "end of the manual" when the end of the manual is reached
5008 in Isearch mode.
5009
645ca9cf
JL
50102011-11-19 Juri Linkov <juri@jurta.org>
5011
5012 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5013 Use non-destructive `remove' instead of `delete' because
5014 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5015 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5016
df754f66
JL
50172011-11-19 Juri Linkov <juri@jurta.org>
5018
5019 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5020 to nil instead of binding `search-ring' and `regexp-search-ring'.
5021 (Bug#9185)
5022
0e23d96a
EZ
50232011-11-19 Eli Zaretskii <eliz@gnu.org>
5024
5025 * simple.el (line-move): Force movement by logical lines for any
5026 hscrolled window, not only when auto-hscroll-mode is on.
5027 (line-move-visual): Update doc string to that effect. (Bug#10076)
5028
8a6ccb66
AS
50292011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5030
5031 * language/european.el (macintosh): Define as alias for mac-roman.
5032
49ae5b39
EZ
50332011-11-19 Eli Zaretskii <eliz@gnu.org>
5034
5035 * mail/rmailmm.el (rmail-mime-display-header)
5036 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5037 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5038 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5039 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5040 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5041 of a raw aref.
5042 (rmail-mime-entity-segment): To get past the tagline, move forward
5043 2 more lines, to account for the 2 empty lines that precede and
5044 follow the line with the buttons.
5045 (rmail-mime-update-tagline): Move one more line, to get past the
5046 empty line that follows the buttons in the tagline. (Bug#9520)
5047
c56cad4a
MR
50482011-11-19 Martin Rudalics <rudalics@gmx.at>
5049
5050 * window.el (window-max-delta-1, window-min-delta-1)
5051 (window-min-size-1, window-state-get-1, window-state-put-1)
5052 (window-state-put-2): Use "window--" prefix.
5053
cbe71af3
SM
50542011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5055
2ad52c60
SM
5056 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5057 (smie-warning-count): New var.
5058 (smie-set-prec2tab): Use it.
5059 (smie-bnf->prec2): Improve warnings. Add docstring.
5060 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5061 (smie-bnf--set-class): New function.
5062 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5063 corner case.
5064
6944dbc1
SM
5065 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5066 (compilation-error-properties, compilation-move-to-column):
5067 Handle compilation-first-column while in the target buffer.
5068
c400c4d7
SM
5069 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5070 Don't hardcode point-min==1.
5071
6dbe3e96
SM
5072 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5073 (eshell-rewrite-for-command): Remove workaround.
5074 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5075 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5076 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5077
cbe71af3
SM
5078 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5079
a8e1496d
GM
50802011-11-17 Glenn Morris <rgm@gnu.org>
5081
5082 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5083 Ignore buffer-local generated-autoload-file if it is the same
5084 as the global value. (Bug#10049)
5085
df85d315
JB
50862011-11-17 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5089 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5090 (reftex-toc-previous-heading, reftex-toc-max-level)
5091 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5092 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5093 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5094 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5095 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5096 (reftex-toc-rename-label, reftex-toc-visit-location)
5097 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5098 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5099 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5100 leaving "*toc*" only for references to the buffer.
5101
a0c2d0ae
MR
51022011-11-17 Martin Rudalics <rudalics@gmx.at>
5103
5104 * window.el (window-resize, delete-window, split-window):
5105 Replace window-splits by window-combination-resize.
1d00653d 5106 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5107
35c0bac8
GM
51082011-11-17 Glenn Morris <rgm@gnu.org>
5109
5110 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5111 Make bash entry derive from sh entry, not shell entry.
5112
d0c8fc8a
MA
51132011-11-16 Michael Albinus <michael.albinus@gmx.de>
5114
d0c8fc8a
MA
5115 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5116 properties of linked files. (Bug#9879)
5117
7262a87c
MA
5118 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5119 local file name.
5120
7877f373
JB
51212011-11-16 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * menu-bar.el (menu-bar-file-menu):
5124 * printing.el (pr-ps-utility):
5125 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5126 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5127 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5128 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5129 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5130 (icalendar--convert-cyclic-to-ical)
5131 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5132 (icalendar--convert-ical-to-diary)
5133 (icalendar--convert-recurring-to-diary)
5134 (icalendar--convert-non-recurring-all-day-to-diary)
5135 (icalendar-import-format-sample):
5136 * progmodes/idlw-shell.el (idlwave-shell-mode):
5137 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5138 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5139 (vhdl-ps-print-init): Fix typos.
5140
10649b82
KM
51412011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5142
9d0cfcd6
GM
5143 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5144 FSF and collapse date sequence, obscure author/maintainer email address
5145 better, remove extra version line, track relocation of author's webpage.
10649b82 5146
9d0cfcd6
GM
5147 * progmodes/python.el (python-pdbtrack-input-prompt)
5148 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5149 regular python pdb prompts. Adjustments shamelessly taken exactly as
5150 suggested in EmacsWiki page (tiny change):
5151 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5152
58179cce
JB
51532011-11-16 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * expand.el (expand-pos, expand-index, expand-point):
5156 Remove redundant info from docstring.
5157 (expand-add-abbrevs): Doc fix.
5158 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5159 (expand-sample-perl-mode-expand-list): Fix typos.
5160
5161 * net/dbus.el (dbus-event-member-name):
5162 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5163 * term/pc-win.el (msdos-create-frame-with-faces):
5164 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5165
b6f67890
MR
51662011-11-16 Martin Rudalics <rudalics@gmx.at>
5167
5168 * window.el (split-window, window-state-get-1)
5169 (window-state-put-1, window-state-put-2): Rename occurrences of
5170 window-nest to window-combination-limit.
1d00653d 5171 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5172
ce7ddba0
CY
51732011-11-16 Chong Yidong <cyd@gnu.org>
5174
5175 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5176 regexp (Bug#10033).
5177
3ae704f4
SM
51782011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5181 `completing-read' will remove *Completions* and will preserve
5182 current-buffer for us.
5183 (tmm-add-prompt): Users of *Completions* will always (re)set its
5184 major mode.
5185 (tmm-old-comp-map): Remove.
5186
6ad1cdde
GM
51872011-11-16 Glenn Morris <rgm@gnu.org>
5188
5189 * mail/rmailedit.el: Require rmailmm when compiling.
5190 (rmail-old-mime-state): New declaration.
5191 (rmail-edit-current-message): If editing a mime message,
5192 edit the "raw" message from the mbox buffer.
5193 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5194
d20faa20
GM
51952011-11-15 Glenn Morris <rgm@gnu.org>
5196
5197 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5198 which wasn't being used. Add optional arg to force given state.
5199 (rmail-mime): Add optional arg to force given state.
5200
c7015153
JB
52012011-11-15 Juanma Barranquero <lekktu@gmail.com>
5202
5203 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5204 * frame.el (display-mm-dimensions-alist):
5205 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5206 (outline-move-subtree-down):
5207 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5208 (newsticker--treeview-do-get-node):
5209 * net/quickurl.el (quickurl-list-buffer-name):
5210 * progmodes/dcl-mode.el (dcl-mode):
5211 * progmodes/gdb-mi.el (gdb-mapcar*):
5212 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5213
45261b50
GM
52142011-11-15 Glenn Morris <rgm@gnu.org>
5215
5216 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5217 in a boolean sense, so just make it a boolean, and fix the doc.
5218 (rmail-show-mime-function, rmail-mime-feature)
5219 (rmail-require-mime-maybe): Doc fixes.
5220 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5221
5222 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5223
0d26e0b6
JB
52242011-11-15 Juanma Barranquero <lekktu@gmail.com>
5225
5226 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5227 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5228 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5229 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5230
447f30f6
GM
52312011-11-15 Glenn Morris <rgm@gnu.org>
5232
672b871d
GM
5233 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5234 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5235 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5236 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5237 (rmail-mime, rmail-show-mime): Doc fixes.
5238
f6aa5bb1
GM
5239 * term/ns-win.el (mode-line-frame-identification):
5240 Leave it alone. (Bug#10051)
5241
947cd66b
GM
5242 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5243
447f30f6
GM
5244 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5245 Handle empty buffers. (Bug#9978)
5246
0b381c7e
JB
52472011-11-14 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * international/mule.el (define-charset):
5250 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5251 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5252 * progmodes/verilog-mode.el (verilog-backward-token):
5253 * textmodes/ispell.el (lookup-words):
5254 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5255
71e027ac
GM
52562011-11-14 Glenn Morris <rgm@gnu.org>
5257
56632ce4
GM
5258 * progmodes/executable.el
5259 (executable-make-buffer-file-executable-if-script-p):
5260 Handle file-modes returning nil.
5261
40500957
GM
5262 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5263 message - not necessary, and causes problems. (Bug#9831)
5264
071c2340
GM
5265 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5266
d3cfca60
GM
5267 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5268
71e027ac
GM
5269 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5270 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5271 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5272
89d61221
MR
52732011-11-12 Martin Rudalics <rudalics@gmx.at>
5274
5275 * window.el (window-resize, delete-window): Use window-splits
5276 variable instead of function.
5277 (window-state-get-1, window-state-put-2, window-state-put):
5278 Don't deal with windows' splits status.
5279
98282f6f
GM
52802011-11-12 Glenn Morris <rgm@gnu.org>
5281
5282 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5283 (apropos-documentation): Doc fixes.
5284
40a8bdf6
JB
52852011-11-11 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5288 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5289
65bd19ff
SM
52902011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * electric.el (electric-indent-post-self-insert-function): Make it
5293 possible for a char to only indent in some circumstances.
5294 (electric-indent-mode): Simplify.
5295
54f9154c
MR
52962011-11-11 Martin Rudalics <rudalics@gmx.at>
5297
5298 * window.el (windows-with-parameter): Remove unused function.
5299 (windows-at-side): Rename to window-at-side-list.
5300 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5301 (window-side-check, window-size-ignore, window-size-fixed-1)
5302 (window-in-direction-2): Prefix with "window--".
5303 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5304
68cbc58b
GM
53052011-11-11 Glenn Morris <rgm@gnu.org>
5306
5307 * subr.el (eval-after-load): If FILE is already loaded,
5308 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5309
b2621720
GM
53102011-11-10 Glenn Morris <rgm@gnu.org>
5311
9a4de110
GM
5312 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5313 Call svn via vc-svn-command rather than vc-do-command.
5314 (vc-svn-command): Add --non-interactive. (Bug#9993)
5315 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5316
b2621720
GM
5317 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5318 Add toggle-read-only. (Bug#7292)
5319 * files.el (toggle-read-only): Mention that it should only
5320 be used interactively. (Bug#10006)
5321
1dce7193
SM
53222011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5323
d9ac1a1e
SM
5324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5325 Adjust regexp for OCaml warnings.
5326
0c325082
SM
5327 * electric.el (electric-pair-post-self-insert-function): Let user
5328 turn it off buffer-locally (bug#9932).
5329
90132c14
SM
5330 * progmodes/python.el (python-beginning-of-statement):
5331 Rewrite (bug#2703).
5332
1dce7193
SM
5333 * progmodes/compile.el: Better handle TABs (bug#9749).
5334 (compilation-internal-error-properties)
5335 (compilation-next-error-function): Obey the target buffer's
5336 compilation-error-screen-columns.
5337
c4e7c63a
JB
53382011-11-09 Juanma Barranquero <lekktu@gmail.com>
5339
5340 * progmodes/meta-mode.el: Remove obsolete comments.
5341 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5342 Fix typos in docstrings.
5343
2cffd681
MR
53442011-11-09 Martin Rudalics <rudalics@gmx.at>
5345
5346 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5347 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5348 (window--resizable): New function. Make all callers of
5349 window-resizable call window--resizable instead.
5350 (window-resizable): Rewrite in terms of window--resizable.
5351
0edcba87
GM
53522011-11-08 Glenn Morris <rgm@gnu.org>
5353
5354 * progmodes/delphi.el (delphi-mode-syntax-table):
5355 Let define-derived-mode define a proper syntax table. (Bug#9994)
5356
4b0d61e3
SM
53572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * window.el: Stay away from defsubst.
5360 (window-list-no-nils): Remove.
5361 (window-state-get-1, window-state-get): Use backquote instead.
5362
cd394be1 53632011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5364
4b0d61e3 5365 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5366 Fix incorrect use of default argument in `completing-read'.
5367
e1c2c6f2
MR
53682011-11-08 Martin Rudalics <rudalics@gmx.at>
5369
5370 * window.el (display-buffer-function, special-display-function):
5371 Mention display-buffer-record-window but do not mention
5372 help-setup parameter in doc-strings.
b3f4a882 5373 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5374
105216ed
CY
53752011-11-08 Chong Yidong <cyd@gnu.org>
5376
5377 * window.el (window-total-height, window-total-width): Doc fix.
5378 (window-body-size): Move from C.
5379 (window-body-height, window-body-width): Move to C.
5380
0a9f9ab5
SM
53812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * window.el: Make special-display like display-buffer-alist (bug#9532).
5384 (display-buffer--special-action): New function, morphed
5385 from display-buffer--special.
5386 (display-buffer): Use it to handle special-display-buffers at higher
5387 priority (just after display-buffer-alist).
5388 (display-buffer-fallback-action, display-buffer--other-frame-action)
5389 (pop-to-buffer-same-window): Remove display-buffer--special.
5390
a769dd15
GM
53912011-11-07 Glenn Morris <rgm@gnu.org>
5392
5393 * calendar/cal-menu.el (cal-menu-set-date-title):
5394 Do nothing if not in a calendar. (Bug#9976)
5395
05a61ee3
SM
53962011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * files.el (find-file): Always use selected-window.
5399
be7f5545
MR
54002011-11-07 Martin Rudalics <rudalics@gmx.at>
5401
5402 * window.el (window-combinations): Make WINDOW argument
5403 mandatory. Rewrite doc-string.
5404 (walk-window-subtree, window-atom-check, window-min-delta)
5405 (window-max-delta, window--resize-this-window)
5406 (window--resize-root-window-vertically, window-tree)
5407 (balance-windows, window-state-put): Rewrite doc-strings as to
5408 not mention the term "subwindow".
5409 (window--resize-subwindows-skip-p): Rename to
5410 window--resize-child-windows-skip-p.
5411 (window--resize-subwindows-normal): Rename to
5412 window--resize-child-windows-normal.
5413 (window--resize-subwindows): Rename to
5414 window--resize-child-windows.
5415 (window-or-subwindow-p): Rename to window--in-subtree-p.
5416
3c6702ef
ML
54172011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5418
5419 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5420 Ensure that mbox format messages end in two newlines (Bug#9974).
5421
49745b39
CY
54222011-11-06 Chong Yidong <cyd@gnu.org>
5423
5424 * window.el (window-combination-p): Function deleted; its
5425 side-effect is not used in any existing code.
5426 (window-combinations, window-combined-p): Call window-*-child
5427 directly.
5428
24300f5f
CY
54292011-11-05 Chong Yidong <cyd@gnu.org>
5430
5431 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5432 (window-size-ignore, window-state-get): Callers changed.
5433 (window-normalize-window): Rename from window-normalize-any-window.
5434 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5435 (window-normalize-live-window): Delete.
447f16b8
CY
5436 (window-combination-p, window-combined-p, window-combinations)
5437 (walk-window-subtree, window-atom-root, window-min-size)
5438 (window-sizable, window-sizable-p, window-size-fixed-p)
5439 (window-min-delta, window-max-delta, window-resizable)
5440 (window-resizable-p, window-full-height-p, window-full-width-p)
5441 (window-current-scroll-bars, window-point-1, set-window-point-1)
5442 (window-at-side-p, window-in-direction, window-resize)
5443 (adjust-window-trailing-edge, maximize-window, minimize-window)
5444 (window-deletable-p, delete-window, delete-other-windows)
5445 (record-window-buffer, unrecord-window-buffer)
5446 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5447 (quit-window, split-window, window-state-put)
5448 (set-window-text-height, fit-window-to-buffer)
5449 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5450
89bd5ee1
EZ
54512011-11-04 Eli Zaretskii <eliz@gnu.org>
5452
53479029
EZ
5453 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5454 rfc2047-decode-string.
5455 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5456 warnings.
5457
89bd5ee1
EZ
5458 * window.el (window-body-height, window-body-width): Mention in
5459 the doc string that the return values are in frame's canonical
5460 units. (Bug#9949)
5461
bd17fdee
AM
54622011-11-03 Alan Mackenzie <acm@muc.de>
5463
5464 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5465 change in cc-engine.el.
5466
acc825c5
SM
54672011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5470
1885e5b8
MR
54712011-11-02 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (quit-window): Call unrecord-window-buffer after
5474 showing another buffer in the window. (Bug#9937)
acc825c5 5475 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5476
ebe06da9
JB
54772011-11-02 Juanma Barranquero <lekktu@gmail.com>
5478
5479 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5480 Accept status with more than 9 shelves. (Bug#9935)
5481 Reported by Colin D Bennett <colin@gibibit.com>.
5482
4ee88440
MR
54832011-11-01 Martin Rudalics <rudalics@gmx.at>
5484
5485 * help.el (with-help-window): Don't reference
5486 temp-buffer-show-specifiers in doc-string.
5487
08e1d82c
AS
54882011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5489
5490 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5491 menu-item.
5492
84bd6e9e
VJL
54932011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5494
5495 * whitespace.el: New version 13.2.2.
5496 (whitespace-newline-mode): Disable properly. Reported by Sarah
5497 <EmacsWiki>.
5498
dba0634a
UJ
54992011-10-30 Ulf Jasper <ulf.jasper@web.de>
5500
5501 * net/newst-treeview.el: Remove "Time-stamp".
5502 (newsticker--group-manage-orphan-feeds): Do not call
5503 newsticker--treeview-tree-update.
db22a3c2
JB
5504 (newsticker-treeview-update, newsticker-treeview):
5505 Call newsticker--treeview-tree-update if necessary.
dba0634a 5506
3d8daefe
MR
55072011-10-30 Martin Rudalics <rudalics@gmx.at>
5508
5509 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5510 (window-iso-combinations): Remove "iso-" infix.
5511 Suggested by Chong Yidong.
3d8daefe
MR
5512 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5513 (window-max-delta-1, window-resize, window--resize-siblings)
5514 (window--resize-this-window, adjust-window-trailing-edge)
5515 (split-window, balance-windows-1)
5516 (shrink-window-if-larger-than-buffer):
5517 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5518 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5519
1bc4c3ae
SM
55202011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5523 in place (bug#9907).
5524 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5525 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5526 (eshell-structure-basic-command, eshell-rewrite-while-command)
5527 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5528 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5529 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5530 (eshell-do-pipelines-synchronously, eshell-eval-command):
5531 Use backquotes and prefer setq to set.
5532 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5533 (eshell-macrop): Use functionp.
c1e2f5fa 5534 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5535
30b65d9c
CY
55362011-10-30 Chong Yidong <cyd@gnu.org>
5537
5538 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5539 instead of set-mark (Bug#9810).
5540
2d197ffb
CY
55412011-10-30 Chong Yidong <cyd@gnu.org>
5542
5543 * window.el (split-window-below, split-window-right): Rename from
5544 split-window-above-each-other and split-window-side-by-side
5545 respectively. All callers changed.
5546 (split-window-sensibly, split-window-sensibly): Use them.
5547 (split-window-keep-point): Doc fix.
5548
5549 * isearch.el: Add isearch-scroll property to split-window-below
5550 and split-window-right.
5551
5552 * follow.el (follow-mode):
5553 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5554 * progmodes/ada-xref.el (ada-gdb-application):
5555 * emulation/vip.el (vip-buffer-in-two-windows):
5556 * image-dired.el (image-dired-dired-with-window-configuration):
5557 * dired-x.el (dired-do-find-marked-files):
5558 * dired.el (dired-pop-to-buffer):
5559 * bs.el (bs--show-with-configuration):
5560 * vc/emerge.el (emerge-setup-windows):
5561 * textmodes/two-column.el (2C-two-columns):
5562 * textmodes/reftex-toc.el (reftex-toc):
5563 * progmodes/gdb-mi.el (gdb-setup-windows):
5564 * progmodes/fortran.el (fortran-window-create):
5565 * net/newst-treeview.el (newsticker--treeview-window-init):
5566 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5567 * emulation/tpu-edt.el (tpu-gold-map):
5568 * emulation/crisp.el (crisp-mode-map):
5569 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5570
38bb2ca8
CY
55712011-10-29 Chong Yidong <cyd@gnu.org>
5572
aa4de341
CY
5573 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5574
e1eb5385
CY
5575 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5576
5d2ece3c
CY
5577 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5578 forged Ispell output (Bug#7904).
5579
38bb2ca8
CY
5580 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5581
d0af9f77
SM
55822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * doc-view.el: Avoid ugly errors about not finding nil.
5585 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5586 (doc-view-dvipdf-program, doc-view-unoconv-program)
5587 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5588 Avoid nil or absolute file name as default value.
5589 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5590
52bedd34
AM
55912011-10-28 Alan Mackenzie <acm@muc.de>
5592
db22a3c2 5593 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5594
7e43cfa5
AM
55952011-10-28 Alan Mackenzie <acm@muc.de>
5596
5597 Amend the handling of c-beginning/end-of-defun in nested declaration
5598 scopes.
5599
52bedd34
AM
5600 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5601 cc-langs.el. Change it to a defcustom.
7e43cfa5 5602
52bedd34
AM
5603 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5604 cc-vars.el.
7e43cfa5 5605
d0af9f77
SM
5606 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5607 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5608
52bedd34 5609 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5610 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5611 (c-widen-to-enclosing-decl-scope): New function.
5612 (c-while-widening-to-decl-block): New macro.
5613 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5614 outward for defun boundaries, and correspondingly change symbol
5615 `respect-enclosure' to `go-outward'.
5616 (c-declaration-limits): Change algorithm to report only the "innermost"
5617 defun's boundaries.
5618
1a2ce9ee
DD
56192011-10-28 Deniz Dogan <deniz@dogan.se>
5620
5621 * net/rcirc.el (rcirc-mode): Use hard newlines.
5622
bc97a826
AM
56232011-10-28 Alan Mackenzie <acm@muc.de>
5624
5625 Amend to indent and fontify macros "which include their own semicolon"
5626 correctly, using the "virtual semicolon" mechanism.
5627
52bedd34 5628 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5629
d0af9f77 5630 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5631 Recode to scan one line at a time rather than having \n and \r
58179cce 5632 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5633 (c-forward-label): Amend for virtual semicolons.
58179cce 5634 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5635
52bedd34
AM
5636 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5637 of the new C macros.
bc97a826 5638
52bedd34 5639 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5640 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5641 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5642 (c-opt-cpp-macro-define): Make into a full language variable.
5643 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5644 AWK Mode (including \n, \r) removed, no longer needed.
5645
d0af9f77
SM
5646 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5647 Invoke c-make-macro-with-semi-re.
bc97a826 5648
52bedd34
AM
5649 * progmodes/cc-vars.el (c-macro-with-semi-re):
5650 (c-macro-names-with-semicolon): New variables.
58179cce 5651 (c-make-macro-with-semi-re): New function.
bc97a826 5652
7a6c0941
SM
56532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * vc/log-edit.el: Fill empty field rather than adding new one.
5656 (log-edit-add-field): New function.
5657 (log-edit-insert-changelog): Use it.
5658
b0c4cdcf
ML
56592011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5660
5661 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5662
ee1f1da9
SM
56632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5666 (gdb--check-interpreter): New function.
5667 (gdb): Use it.
5668
51bc5f8b
GM
56692011-10-27 Glenn Morris <rgm@gnu.org>
5670
416a2c45
GM
5671 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5672 (least-positive-float, least-negative-float)
5673 (least-positive-normalized-float, least-negative-normalized-float)
5674 (float-epsilon, float-negative-epsilon):
5675 Remove unnecessary declarations.
5676
5677 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5678 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5679 (least-positive-float, least-negative-float)
5680 (least-positive-normalized-float, least-negative-normalized-float)
5681 (float-epsilon, float-negative-epsilon): Add doc-strings,
5682 based on those in cl.texi.
5683
51bc5f8b
GM
5684 * files.el (set-visited-file-name): If the major-mode changed,
5685 reload the local variables. (Bug#9796)
5686
15de15c6
CY
56872011-10-27 Chong Yidong <cyd@gnu.org>
5688
5689 * subr.el (change-major-mode-after-body-hook): New hook.
5690 (run-mode-hooks): Run it.
5691
ee1f1da9
SM
5692 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5693 Use change-major-mode-before-body-hook.
15de15c6
CY
5694
5695 * simple.el (fundamental-mode):
5696 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5697 change introducing fundamental-mode-hook.
5698
5430d399
JB
56992011-10-26 Juanma Barranquero <lekktu@gmail.com>
5700
acc825c5 5701 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5702
ad74a69e
MA
57032011-10-26 Michael Albinus <michael.albinus@gmx.de>
5704
5705 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5706 tramp.el explicitly. (Bug#7583)
ad74a69e 5707
71d4c2a5
SM
57082011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * progmodes/octave-mod.el:
5711 * progmodes/octave-inf.el: Update maintainer.
5712
b1f6fa26
CY
57132011-10-26 Chong Yidong <cyd@gnu.org>
5714
5715 * subr.el (with-wrapper-hook): Rewrite doc.
5716
3f04efd6
MA
57172011-10-25 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5720 filenames "/method:foo:". (Bug#9793)
3f04efd6 5721
410488d3
SM
57222011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5725 (bug#9865).
5726
c1ebb47e
GM
57272011-10-24 Glenn Morris <rgm@gnu.org>
5728
5729 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5730
7f5c46c7
MA
57312011-10-24 Michael Albinus <michael.albinus@gmx.de>
5732
5733 * notifications.el: Add the requirement of a running D-Bus session
5734 bus to the Commentary.
5735
db2440b6
JL
57362011-10-24 Juri Linkov <juri@jurta.org>
5737
5738 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5739 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5740 (Bug#9364)
5741
feecf435
JL
57422011-10-24 Juri Linkov <juri@jurta.org>
5743
5744 * info.el (Info-following-node-name-re): Add newline to the list
5745 of allowed characters for leading space. (Bug#9824)
5746
a3839de2
SM
57472011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5748
acc825c5
SM
5749 * progmodes/octave-inf.el (inferior-octave-mode-map):
5750 Fix C-c C-h binding.
a3839de2
SM
5751 * progmodes/octave-mod.el (octave-help): Remove.
5752
09388e76
MA
57532011-10-23 Michael Albinus <michael.albinus@gmx.de>
5754
5755 Sync with Tramp 2.2.3.
5756
5757 * net/tramp-cache.el (top): Pacify byte-compiler using
5758 `init-file-user' and `site-run-file'.
5759
5760 * net/trampver.el: Update release number.
5761
86c60681
CY
57622011-10-23 Chong Yidong <cyd@gnu.org>
5763
5764 * files.el (toggle-read-only): Remove obsolete comment about
5765 version control.
5766
5767 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5768 for toggle-read-only. Note that this hasn't called vc-next-action
5769 since 2008-05-02, though it wasn't documented at the time.
5770
a3839de2
SM
5771 * vc/ediff-init.el (ediff-toggle-read-only-function):
5772 Use toggle-read-only.
86c60681 5773
cd5495ff
AM
57742011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5775
5776 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5777 of c-parse-state.
5778
00b77525 5779 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5780 correct faulty logical expression.
cd5495ff
AM
5781 (c-parse-state-state, c-record-parse-state-state):
5782 (c-replay-parse-state-state): New defvar/defuns.
5783 (c-debug-parse-state): Use new functions.
5784
42ee24ed
MR
57852011-10-22 Martin Rudalics <rudalics@gmx.at>
5786
5787 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5788 last fix. Use window-in-direction correctly.
42ee24ed 5789
a7dee7e7
CY
57902011-10-21 Chong Yidong <cyd@gnu.org>
5791
5792 * progmodes/idlwave.el (idlwave-mode):
5793 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5794 require-final-newline; that's done in prog-mode.
5795 Suggested by Stefan Monnier.
a7dee7e7 5796
e07b9a6d
MR
57972011-10-21 Martin Rudalics <rudalics@gmx.at>
5798
5799 * mouse.el (mouse-drag-window-above)
5800 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5801 (mouse-drag-mode-line-1, mouse-drag-header-line)
5802 (mouse-drag-vertical-line-rightward-window): Remove.
5803 (mouse-drag-line): New function.
5804 (mouse-drag-mode-line, mouse-drag-header-line)
5805 (mouse-drag-vertical-line): Call mouse-drag-line.
5806 * window.el (window-at-side-p, windows-at-side): New functions.
5807
7e1361d9
UM
58082011-10-21 Ulrich Mueller <ulm@gentoo.org>
5809
5810 * tar-mode.el (tar-grind-file-mode):
5811 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5812
30fcaf3a
CY
58132011-10-21 Chong Yidong <cyd@gnu.org>
5814
5815 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5816 * progmodes/vera-mode.el (vera-mode):
5817 Use mode-require-final-newline.
30fcaf3a 5818
516eddb0
GM
58192011-10-20 Glenn Morris <rgm@gnu.org>
5820
db22a3c2 5821 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5822
10d5f513
CS
58232011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5824
5825 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5826
ac6c8639
CY
58272011-10-20 Chong Yidong <cyd@gnu.org>
5828
5829 * emulation/cua-base.el (cua-mode):
5830 * mail/footnote.el (footnote-mode):
5831 * mail/mailabbrev.el (mail-abbrevs-mode):
5832 * net/xesam.el (xesam-minor-mode):
5833 * progmodes/bug-reference.el (bug-reference-mode):
5834 * progmodes/cap-words.el (capitalized-words-mode):
5835 * progmodes/compile.el (compilation-minor-mode)
5836 (compilation-shell-minor-mode):
5837 * progmodes/gud.el (gud-tooltip-mode):
5838 * progmodes/hideif.el (hide-ifdef-mode):
5839 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5840 * progmodes/subword.el (subword-mode):
5841 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5842 * progmodes/which-func.el (which-function-mode):
5843 * term/tvi970.el (tvi970-set-keypad-mode):
5844 * term/vt100.el (vt100-wide-mode):
5845 * textmodes/flyspell.el (flyspell-mode):
5846 * textmodes/ispell.el (ispell-minor-mode):
5847 * textmodes/nroff-mode.el (nroff-electric-mode):
5848 * textmodes/paragraphs.el (use-hard-newlines):
5849 * textmodes/refill.el (refill-mode):
5850 * textmodes/reftex.el (reftex-mode):
5851 * textmodes/rst.el (rst-minor-mode):
5852 * textmodes/sgml-mode.el (html-autoview-mode)
5853 (sgml-electric-tag-pair-mode):
5854 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5855 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5856 * emulation/crisp.el (crisp-mode):
5857 * emacs-lisp/eldoc.el (eldoc-mode):
5858 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5859 minor mode behavior.
5860
aa42ab43
JL
58612011-10-19 Juri Linkov <juri@jurta.org>
5862
5863 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5864 the list of hard-coded chars with escape-glyph face.
5865
89400f1d
SM
58662011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5869
305c07f6
MA
58702011-10-19 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5873 running process.
5874
13754b54
GM
58752011-10-19 Glenn Morris <rgm@gnu.org>
5876
5877 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5878 Ignore ignored files. (Bug#9726)
5879
06e21633
CY
58802011-10-19 Chong Yidong <cyd@gnu.org>
5881
5882 Doc fix for minor modes, stating that an omitted argument enables
5883 the mode unconditionally when called from Lisp.
5884
5885 * abbrev.el (abbrev-mode):
5886 * allout.el (allout-mode):
5887 * autoinsert.el (auto-insert-mode):
5888 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5889 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5890 (global-auto-revert-mode):
5891 * battery.el (display-battery-mode):
5892 * composite.el (global-auto-composition-mode)
5893 (auto-composition-mode):
5894 * delsel.el (delete-selection-mode):
5895 * desktop.el (desktop-save-mode):
5896 * dired-x.el (dired-omit-mode):
5897 * dirtrack.el (dirtrack-mode):
5898 * doc-view.el (doc-view-minor-mode):
5899 * double.el (double-mode):
5900 * electric.el (electric-indent-mode, electric-pair-mode):
5901 * emacs-lock.el (emacs-lock-mode):
5902 * epa-hook.el (auto-encryption-mode):
5903 * follow.el (follow-mode):
5904 * font-core.el (font-lock-mode):
5905 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5906 * help.el (temp-buffer-resize-mode):
5907 * hilit-chg.el (highlight-changes-mode)
5908 (highlight-changes-visible-mode):
5909 * hi-lock.el (hi-lock-mode):
5910 * hl-line.el (hl-line-mode, global-hl-line-mode):
5911 * icomplete.el (icomplete-mode):
5912 * ido.el (ido-everywhere):
5913 * image-file.el (auto-image-file-mode):
5914 * image-mode.el (image-minor-mode):
5915 * iswitchb.el (iswitchb-mode):
5916 * jka-cmpr-hook.el (auto-compression-mode):
5917 * linum.el (linum-mode):
5918 * longlines.el (longlines-mode):
5919 * master.el (master-mode):
5920 * mb-depth.el (minibuffer-depth-indicate-mode):
5921 * menu-bar.el (menu-bar-mode):
5922 * minibuf-eldef.el (minibuffer-electric-default-mode):
5923 * mouse-sel.el (mouse-sel-mode):
5924 * msb.el (msb-mode):
5925 * mwheel.el (mouse-wheel-mode):
5926 * outline.el (outline-minor-mode):
5927 * paren.el (show-paren-mode):
5928 * recentf.el (recentf-mode):
5929 * reveal.el (reveal-mode, global-reveal-mode):
5930 * rfn-eshadow.el (file-name-shadow-mode):
5931 * ruler-mode.el (ruler-mode):
5932 * savehist.el (savehist-mode):
5933 * scroll-all.el (scroll-all-mode):
5934 * scroll-bar.el (scroll-bar-mode):
5935 * server.el (server-mode):
5936 * shell.el (shell-dirtrack-mode):
5937 * simple.el (auto-fill-mode, transient-mark-mode)
5938 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5939 (line-number-mode, column-number-mode, size-indication-mode)
5940 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5941 * strokes.el (strokes-mode):
5942 * time.el (display-time-mode):
5943 * t-mouse.el (gpm-mouse-mode):
5944 * tool-bar.el (tool-bar-mode):
5945 * tooltip.el (tooltip-mode):
5946 * type-break.el (type-break-mode-line-message-mode)
5947 (type-break-query-mode):
5948 * view.el (view-mode):
5949 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5950 (global-whitespace-mode, global-whitespace-newline-mode):
5951 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5952
a3839de2
SM
5953 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5954 Fix autogenerated docstring.
06e21633 5955
5214e501
JL
59562011-10-19 Juri Linkov <juri@jurta.org>
5957
5958 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5959 by checking environment variables "DESKTOP_SESSION" and
5960 "XDG_CURRENT_DESKTOP". (Bug#9779)
5961
195f8db9
JL
59622011-10-19 Juri Linkov <juri@jurta.org>
5963
5964 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5965 (browse-url-chromium-program, browse-url-chromium-arguments):
5966 New defcustoms.
5967 (browse-url-default-browser): Check for `browse-url-chromium' and
5968 call `browse-url-chromium-program'.
5969 (browse-url-chromium): New command. (Bug#9779)
5970
343a34ff
JB
59712011-10-18 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * facemenu.el (list-colors-duplicates): On Windows, detect more
5974 duplicates by assuming that only colors matching "^System" are
5975 special "system colors". (Bug#9722)
5976
6978a151
SM
59772011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5980 to distinguish the author from the committer.
5981
6a80b297
MA
59822011-10-18 Michael Albinus <michael.albinus@gmx.de>
5983
5984 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5985
b31a5677
JK
59862011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5987
5988 * international/mule.el (sgml-html-meta-auto-coding-function):
5989 Add support for detecting encoding in HTML5 specified only as
5990 <meta charset="UTF-8">. Implementation just makes http-equiv and
5991 content-type parts from HTML4 encoding string optional. (Bug#9716)
5992
80c6d77f
GM
59932011-10-18 Glenn Morris <rgm@gnu.org>
5994
5995 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5996
08b0fee8
CY
59972011-10-18 Chong Yidong <cyd@gnu.org>
5998
5999 * faces.el (cursor): Doc fix.
6000
67e729a5
CY
60012011-10-17 Chong Yidong <cyd@gnu.org>
6002
6003 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6004
343a34ff 60052011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6006
6007 * dirtrack.el (dirtrack): Support shell buffers with path
6008 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6009
0bc06380
TZ
60102011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6011
6012 * json.el: Bump version to 1.3 and note change in History.
6013 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6014
8b79f3e0
SM
60152011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6016
5a7c536b
SM
6017 * comint.el (comint-insert-input, comint-send-input)
6018 (comint-get-old-input-default, comint-backward-matching-input)
6019 (comint-next-prompt): Use nil instead of `input' for field property of
6020 past user input (bug#114).
6021
96a8a0df
SM
6022 * minibuffer.el (completion--replace): Inherit surrounding properties
6023 (bug#114).
6024 (minibuffer-complete-and-exit): Use it.
6025
8b79f3e0
SM
6026 * comint.el (comint--table-subvert): Quote the all-completions output
6027 (bug#9160).
6028
b8f7ff0d
MR
60292011-10-17 Martin Rudalics <rudalics@gmx.at>
6030
8b79f3e0 6031 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6032
b8f7ff0d 6033 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6034 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6035 entries and separate them from frame entries.
6036
c235b555
GM
60372011-10-15 Glenn Morris <rgm@gnu.org>
6038
6039 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6040 Doc fixes.
6041
6bbfa6e1
CY
60422011-10-15 Chong Yidong <cyd@stupidchicken.com>
6043
8b79f3e0
SM
6044 * net/network-stream.el (network-stream-open-starttls):
6045 Improve detection of failure due to lack of TLS support.
ec5c990d 6046
6bbfa6e1
CY
6047 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6048 putting the input text in front and in bold.
6049
98488977
SM
60502011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6051
3d1337be
SM
6052 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6053
ee0b45e4
SM
6054 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6055 empty buffer.
6056
98488977
SM
6057 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6058 unread-command-events rather than pushing yet-another event.
6059
186f4720
EZ
60602011-10-14 Eli Zaretskii <eliz@gnu.org>
6061
6062 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6063 the explanation of the possible choices. Make the options passed
6064 to completing-read shorter.
6065
8b7a997c
AM
60662011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6067
6068 * textmodes/flyspell.el (flyspell-large-region): Make sure
6069 extended character mode is used if defined (Bug#1339).
6070
12587bbb
EZ
60712011-10-13 Eli Zaretskii <eliz@gnu.org>
6072
6073 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6074 character info for LRE, LRO, RLE, and RLO characters by appending
6075 an invisible PDF.
12587bbb 6076
bad41229
SM
60772011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6080 even in case of error; add debug spec; simplify data flow.
6081 (with-timeout-handler): Remove.
6082
28dbc92f
MA
60832011-10-12 Michael Albinus <michael.albinus@gmx.de>
6084
6085 Fix Bug#6019, Bug#9315.
6086
6087 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6088 complete `buffer-file-name', the local file name part could look
6089 remotely (for example on VMS).
6090
6091 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6092 `tramp-run-real-handler'.
6093 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6094 already quoted by '"'.
6095
6096 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6097 Let `file-name-handler-alist' be nil, the local file name part
6098 could look remotely (for example on VMS).
6099
e1b0b23a
SM
61002011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6103 from here...
6104 (flyspell-post-command-hook): ...to here.
6105
a120bde9
SM
61062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6109 if not needed.
6110 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6111 using completion. Protect against "slow" callers.
6112 Remove the "message hack".
6113
7ce7717b
JL
61142011-10-11 Juri Linkov <juri@jurta.org>
6115
6116 * isearch.el (isearch-lazy-highlight-word): New variable.
6117 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6118 Use it. (Bug#9727)
6119
c02ee9d6
GM
61202011-10-11 Glenn Morris <rgm@gnu.org>
6121
6122 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6123 like f90-previous-statement does.
6124
93e616fd 61252011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6126
1f190e73 6127 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6128 only in interactive use, to avoid error.
6129
af7b6078
SM
61302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * minibuffer.el (completion-file-name-table): Fix last change,
6133 i.e. ignore normal errors but not the other ones.
6134
0563dae9
MR
61352011-10-10 Martin Rudalics <rudalics@gmx.at>
6136
6137 * window.el (special-display-buffer-names)
6138 (special-display-regexps): Remove some remnants of earlier
6139 changes from doc-strings.
366ca7f3
MR
6140 (quit-windows-on): New function.
6141
6142 * vc/vc.el (vc-revert, vc-rollback):
6143 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6144 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6145 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6146
49677495
MR
61472011-10-09 Martin Rudalics <rudalics@gmx.at>
6148
6149 * window.el (frame-auto-hide-function): Add version tag.
6150 (Bug#9699)
6151
56f2d1e1
MA
61522011-10-09 Michael Albinus <michael.albinus@gmx.de>
6153
6154 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6155 condition.
6156
112a6592
LL
61572011-10-09 Leo Liu <sdl.web@gmail.com>
6158
6159 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6160 (Bug#9701)
6161
0812589b
GM
61622011-10-08 Glenn Morris <rgm@gnu.org>
6163
6164 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6165 before the first code statement zero indent. (Bug#9690)
6166
b2b0776e
CY
61672011-10-08 Chong Yidong <cyd@stupidchicken.com>
6168
6169 * simple.el (count-words-region): Always count in the region.
6170 Report the number of lines and characters too.
6171 (count-words): New command, which counts in the buffer if the
6172 region is inactive, as count-words-region used to.
6173 (count-words--message): New function. Handle plurals.
6174 (count-lines-region): Make it an alias for count-words-region.
6175
6176 * bindings.el (esc-map): Replace count-lines-region with
6177 count-words-region.
6178
c557cd6b
MR
61792011-10-08 Martin Rudalics <rudalics@gmx.at>
6180
6181 * window.el (window--delete): Delete dedicated frame
6182 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6183 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6184
61a57ef4 61852011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6186
3a7d293b 6187 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6188
c3833279
CY
61892011-10-07 Chong Yidong <cyd@stupidchicken.com>
6190
6191 * bindings.el ([M-left],[M-right]): Bind to left-word and
6192 right-word respectively.
6193
21ce8245
GM
61942011-10-07 Glenn Morris <rgm@gnu.org>
6195
6196 * cus-start.el (debug-on-quit): Fix custom type.
6197
6d823bb2
LMI
61982011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6199
0181e193
LMI
6200 * subr.el (define-key-after): Clarify that the function is not
6201 useful for non-menu keymaps.
6202
6d823bb2
LMI
6203 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6204
8e3459ce 62052011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6206
21ce8245 6207 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6208 in current minibuffer (Fix bug with recursive minibuffers).
6209
a1c2d21e
CY
62102011-10-06 Chong Yidong <cyd@stupidchicken.com>
6211
6212 * progmodes/gdb-mi.el (gdb): Doc fix.
6213
5a4cf282
MR
62142011-10-05 Martin Rudalics <rudalics@gmx.at>
6215
6216 * window.el (frame-auto-hide-function): New option replacing
6217 frame-auto-delete. Suggested by Stefan Monnier.
6218 (window--delete): Call frame-auto-hide-function instead of
6219 investigating frame-auto-delete.
c96111ea
MR
6220 (window-point-1, set-window-point-1): New functions.
6221 (window-in-direction, record-window-buffer, window-state-get-1)
6222 (display-buffer-record-window): Use window-point-1 instead of
6223 window-point.
6224 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6225
9854542e
SM
62262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6229
8943cfb0
GM
62302011-10-05 Glenn Morris <rgm@gnu.org>
6231
6232 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6233 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6234
647ab967
LL
62352011-10-05 Leo Liu <sdl.web@gmail.com>
6236
6237 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6238 works with buffer object.
6239
3ddfbced
SM
62402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * mpc.el (mpc-tool-bar-map): Add labels.
6243
bdfa5dd2
GM
62442011-10-04 Glenn Morris <rgm@gnu.org>
6245
6246 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6247
0e2070b5
MR
62482011-10-04 Martin Rudalics <rudalics@gmx.at>
6249
6250 * window.el (window--delete): New function.
6251 (frame-auto-delete): Resuscitate option.
6252 (bury-buffer, replace-buffer-in-windows)
6253 (quit-window): Rewrite using window--delete.
6254 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6255 Pass display-buffer-mark-dedicated to window--display-buffer-2
6256 (Bug#9639).
6257
3dc61a09
SM
62582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6259
915a9b64
SM
6260 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6261 returns a list (bug#9554). Add remote file name completion.
6262 * comint.el (comint--table-subvert): Curry and get quote&unquote
6263 functions as arguments.
6264 (comint--complete-file-name-data): Adjust call accordingly.
6265 * pcomplete.el (pcomplete--table-subvert): Remove.
6266 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6267
3dc61a09
SM
6268 * minibuffer.el (completion-table-case-fold): Use currying.
6269 (completion--styles-type, completion--cycling-threshold-type):
6270 New constants.
6271 (completion-styles, completion-category-overrides)
6272 (completion-cycle-threshold): Use them.
6273 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6274 completion-table-case-fold.
6275
8ea0a993
SB
62762011-10-03 Stephen Berman <stephen.berman@gmx.net>
6277
6278 * minibuffer.el (completion-category-overrides): Fix type of styles
6279 and add more user friendly tags (bug#9660).
6280
8c24b7f6
SM
62812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6284 (mule-input-method-string): New widget.
6285 (default-input-method, language-info-custom-alist): Use it.
6286
428fe61a
SM
62872011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6288
32c1fffd
SM
6289 * pcomplete.el: Require comint.
6290 (pcomplete--common-suffix): Remove.
6291 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6292 (pcomplete--table-subvert): Sync with comint--table-subvert.
6293 (pcomplete--entries): Use comint-completion-file-name-table.
6294 * comint.el (comint-unquote-filename): Simplify.
6295 (comint-completion-file-name-table): New function (bug#9616).
6296 (comint--complete-file-name-data): Use it.
6297
428fe61a
SM
6298 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6299 (pcmpl-gnu-tar-buffer): Remove.
6300 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6301 around. Make sure pcomplete-suffix-list is only changed temporarily.
6302 Don't look inside the tar's file if it's too large.
428fe61a 6303
04c52e2f
CY
63042011-10-01 Chong Yidong <cyd@stupidchicken.com>
6305
ce3cefcc
CY
6306 * cus-edit.el (custom-mode-map):
6307 * epa.el (epa-key-list-mode-map):
6308 * man.el (Man-mode-map):
6309 * startup.el (splash-screen-keymap):
6310 * simple.el (special-mode-map): Use scroll-up-command and
6311 scroll-down-command.
6312
6313 * progmodes/idlw-help.el (idlwave-help-mode-map):
6314 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6315 * net/newst-plainview.el (newsticker-mode-map):
6316 * emulation/ws-mode.el (wordstar-mode-map):
6317 * emulation/vi.el (vi-com-map):
6318 * calc/calc-graph.el (calc-graph-show-dumb):
6319 * term/sun.el (terminal-init-sun):
6320 * term/ns-win.el (global-map):
6321 * progmodes/grep.el (grep-mode-map):
6322 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6323 * mail/rmail.el (rmail-mode-map):
6324 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6325
04c52e2f
CY
6326 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6327 custom-safe-themes as special.
6328
79adf8c8
JD
63292011-10-01 Julien Danjou <julien@danjou.info>
6330
6331 * notifications.el (notifications-notify): Fix docstring.
6332
63bd50d3
PS
63332011-10-01 Per Starbäck <per@starback.se>
6334
6335 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6336
199e4c7e
MR
63372011-09-30 Martin Rudalics <rudalics@gmx.at>
6338
6339 * startup.el (command-line-1): Fix last fix by inserting
6340 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6341 (Bug#9605) and (Bug#9636)
199e4c7e 6342
fe5f08dd
EZ
63432011-09-29 Eli Zaretskii <eliz@gnu.org>
6344
6345 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6346 window is hscrolled, move by logical lines. (Bug#9607)
6347 (line-move-visual): Update the doc string to the above effect.
6348
b5516bbd
MR
63492011-09-29 Martin Rudalics <rudalics@gmx.at>
6350
ccee00c0
MR
6351 * window.el (display-buffer-record-window): When WINDOW is the
6352 selected window use `point' instead of `window-point'. (Bug#9626)
6353
b5516bbd
MR
6354 * startup.el (command-line-1): Use insert-before-markers when
6355 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6356
b5516bbd
MR
6357 * help.el (help-window): Remove variable.
6358
52aa0014
GM
63592011-09-29 Glenn Morris <rgm@gnu.org>
6360
6361 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6362
df9a7357
JB
63632011-09-29 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * descr-text.el (describe-char-categories): Accept category
6366 descriptions more than one line long.
6367
a8406c20
SM
63682011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6369
88d9610c
SM
6370 * simple.el (delete-trailing-whitespace): Fix last change.
6371
a5daf810
SM
6372 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6373 Don't confuse "y => 3" as the beginning of a `y' operation.
6374
a8406c20
SM
6375 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6376 object has more than 4 slots (bug#9613).
6377
a239d4e9
JB
63782011-09-28 Juanma Barranquero <lekktu@gmail.com>
6379
6380 * subr.el (with-output-to-temp-buffer):
6381 * net/quickurl.el (quickurl, quickurl-browse-url):
6382 Fix typos in docstrings.
6383
693fbdb6
EZ
63842011-09-27 Eli Zaretskii <eliz@gnu.org>
6385
6386 * minibuffer.el (completion-styles)
6387 (completion-category-overrides): Cross reference each other in doc
6388 strings.
6389
8b457e28
GM
63902011-09-27 Glenn Morris <rgm@gnu.org>
6391
6392 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6393 to split-string. (Bug#9606)
6394
85a16208
LMI
63952011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396
6397 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6398 (bug#9615).
6399
502f9ebd
CY
64002011-09-27 Chong Yidong <cyd@stupidchicken.com>
6401
6402 * emacs-lisp/package.el (list-packages): Fix echo area message.
6403
7690bdea
LL
64042011-09-27 Leo Liu <sdl.web@gmail.com>
6405
6406 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6407
e2ee6f30
MA
64082011-09-25 Michael Albinus <michael.albinus@gmx.de>
6409
6410 * net/dbus.el (dbus-unregister-object): Don't release services for
6411 registered signals. (Bug#9581)
6412
f3f98342
TZ
64132011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6414
6415 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6416 function that picks between cfengine 2 and 3 support
6417 automatically. Update docs accordingly.
6418
dd7aa8dd
KH
64192011-09-22 Kenichi Handa <handa@m17n.org>
6420
6421 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6422 ZERO.
6423 (indian-itrans-v5-table-for-tamil): New variable.
6424 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6425
3f2b07f8
KM
64262011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6427
6428 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6429 that's true if the current command involved collapsing of text.
6430 It's reset to false at the beginning of the next command.
6431 (allout-post-command-business): Move the cursor to the beginning
6432 of entry if the cursor is hidden and collapsing activity just
6433 happened.
6434
371d6a61
CY
64352011-09-24 Chong Yidong <cyd@stupidchicken.com>
6436
6437 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6438 tracking (Bug#9541).
6439
2ac2721a
UJ
64402011-09-24 Ulf Jasper <ulf.jasper@web.de>
6441
6442 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6443 (newsticker-show-news): Automatically load html rendering package
6444 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6445 because w3m-fill-column is let-bound" and the error "Symbol's value
6446 as variable is void: w3m-fill-column".
2ac2721a 6447
fac7ae53
MA
64482011-09-24 Michael Albinus <michael.albinus@gmx.de>
6449
6450 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6451 Release services only if they are defined. (Bug#9581)
6452
e08b633b
RS
64532011-09-23 Richard Stallman <rms@gnu.org>
6454
e488d29c
RS
6455 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6456 distinguish start of paragraph from start of its text.
6457
19c38752
RS
6458 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6459
e08b633b
RS
6460 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6461 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6462 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6463
0a39f27e
AS
64642011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6465
6466 * international/mule-diag.el (mule-diag): Insert a newline after
6467 each fontset description.
6468
db4e950d
SM
64692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * simple.el (delete-trailing-whitespace):
6472 Document last change; simplify.
6473
eca3f3ea
PW
64742011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6475
d68e189a
PW
6476 * simple.el (delete-trailing-whitespace): Also delete
6477 extra newlines at the end of the buffer.
6478
eca3f3ea
PW
6479 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6480 (picture-newline): Use forward-line so as to ignore fields.
6481
01c157cc
SM
64822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * subr.el (with-wrapper-hook): Fix edebug spec.
6485
022de23e
LMI
64862011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487
6488 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6489 (bug#4538).
6490
91683089
MA
64912011-09-23 Michael Albinus <michael.albinus@gmx.de>
6492
eca3f3ea
PW
6493 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6494 Fix nasty bug using wrong cached values.
91683089 6495
5bdd6fa4
AM
64962011-09-23 Alan Mackenzie <acm@muc.de>
6497
6498 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6499
97adfb97
CY
65002011-09-23 Chong Yidong <cyd@stupidchicken.com>
6501
6502 * window.el (pop-to-buffer): Ensure right window is selected if we
6503 chose another frame.
6504
d4ef2b50
EZ
65052011-09-22 Eli Zaretskii <eliz@gnu.org>
6506
6507 * simple.el (what-cursor-position): Use get-char-property-change
6508 and next-single-char-property-change, to be able to show display
6509 properties that come from overlays as well as text properties.
6510
72258fe5
CY
65112011-09-22 Chong Yidong <cyd@stupidchicken.com>
6512
6513 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6514
6515 * cmuscheme.el (run-scheme, switch-to-scheme):
6516 * cus-edit.el (customize-group, custom-buffer-create)
6517 (customize-browse):
6518 * info.el (info):
6519 * shell.el (shell):
6520 * mail/sendmail.el (mail):
6521 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6522
8f098516
RS
65232011-09-22 Richard Stallman <rms@gnu.org>
6524
6525 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6526 move back only to line beg, don't move back over blank lines.
6527
e74f1bb6
MA
65282011-09-22 Michael Albinus <michael.albinus@gmx.de>
6529
6530 * files.el (copy-directory): Set directory attributes only in case
6531 they could be retrieved from the source directory. (Bug#9565)
6532
bfeef8b6
DK
65332011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6534
6535 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6536 (hs-find-block-beginning, hs-hide-level-recursive):
6537 Ignore strings as well as comments. (Bug#9502)
6538
7e423bb8
AS
65392011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6540
6541 * progmodes/sql.el (sql-comint-postgres):
6542 Convert port number to a string. (Bug#9566)
6543
b4d72fcf
MR
65442011-09-22 Martin Rudalics <rudalics@gmx.at>
6545
6546 * window.el (quit-window): Undedicate window when switching to
6547 previous buffer. Reported by Thierry Volpiatto
6548 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6549 (special-display-popup-frame): When popping up a new frame reset
6550 its previous buffers to nil. Simplify code.
b4d72fcf 6551
a7b88dc6
MA
65522011-09-21 Michael Albinus <michael.albinus@gmx.de>
6553
6554 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6555 and process filter, as done also in `shell-command'.
6556
cf4eacfd
MR
65572011-09-21 Martin Rudalics <rudalics@gmx.at>
6558
eca3f3ea 6559 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6560 Call set-window-start with NOFORCE argument t.
6561 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6562 (quit-window): Reword doc-string. Handle new format of
6563 quit-restore parameter. Don't delete window if it has a
6564 previous buffer we can show instead of the present one.
6565 (display-buffer-record-window): Rewrite using a new format for
6566 the quit-restore window parameter
6567 (special-display-popup-frame, display-buffer-same-window)
6568 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6569 (display-buffer-pop-up-window, display-buffer-use-some-window):
6570 Adapt symbol passed to display-buffer-record-window.
6571 * help.el (help-window-setup): Handle new format of quit-restore
6572 parameter.
6573
8d28cb95
SM
65742011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6575
94ab793f
SM
6576 * faces.el (face-list): Fix docstring (bug#9564).
6577
8d28cb95
SM
6578 * window.el (display-buffer--action-function-custom-type):
6579 Don't include internal functions in the Custom interface.
6580
3820edeb
JL
65812011-09-20 Juri Linkov <juri@jurta.org>
6582
6583 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6584 (Info-forward-node, Info-backward-node, Info-next-preorder)
6585 (Info-last-preorder): Use it. (Bug#9528)
6586
5147931d
JL
65872011-09-20 Juri Linkov <juri@jurta.org>
6588
6589 * info.el (Info-last-preorder): Visit last menu item only when
6590 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6591
cf499a1a
JD
65922011-09-20 Julien Danjou <julien@danjou.info>
6593
6594 * password-cache.el (password-cache-remove): Remove entries even if the
6595 value is nil, so that password with a nil value (negative caching) is
6596 possible to invalidate.
6597
f84e2fe2
LM
65982011-09-20 Lawrence Mitchell <wence@gmx.li>
6599
6600 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6601 all whitespace around breakpoint. (Bug#9553)
6602 (f90-find-breakpoint): Only break at whitespace inside a comment.
6603
78054a46
SM
66042011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * minibuffer.el (completion-file-name-table): Keep track of errors.
6607 (completion-table-with-predicate): Handle the case where pred1 is nil.
6608 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6609
345083b2
SM
66102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6611
e24e27be
SM
6612 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6613 (debugger-return-value): Signal an error if the debugging context does
6614 not await any return value.
6615
345083b2
SM
6616 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6617 * image-mode.el (image-toggle-display-text)
6618 (image-toggle-display-image): Stay away from evil `intangible'.
6619
08d355e3
LL
66202011-09-19 Leo Liu <sdl.web@gmail.com>
6621
6622 * replace.el (occur-revert-arguments): Make it permanent-local.
6623 (occur-mode): Don't call font-lock-defontify.
6624
f01da43f
CY
66252011-09-19 Chong Yidong <cyd@stupidchicken.com>
6626
6627 * net/ldap.el (ldap-search-internal): Don't push empty search
6628 result (Bug#9508).
6629
b6072fa6
SM
66302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6633
443d6696
MA
66342011-09-19 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6637 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6638
7cc6e154
JL
66392011-09-18 Juri Linkov <juri@jurta.org>
6640
6641 * buff-menu.el (Buffer-menu-mode-map):
6642 * dired.el (dired-mode-map):
6643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6644 (lisp-interaction-mode-map):
6645 * emacs-lisp/package.el (package-menu-mode-map):
6646 * epa.el (epa-key-list-mode-map):
6647 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6648 (menu-bar-options-menu):
6649 * outline.el (outline-mode-menu-bar-map):
6650 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6651 * vc/vc-dir.el (vc-dir-menu-map):
6652 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6653 Capitalize non-function content words in menu item strings.
6654
6655 * dired.el (dired-mode-map): Add menu item for
6656 `image-dired-dired-toggle-marked-thumbs'.
6657
80302a81
JL
66582011-09-18 Juri Linkov <juri@jurta.org>
6659
6660 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6661 to `isearch-case-fold-search' and restore its original value
6662 after the `isearch-mode' call.
6663
46c5cf66
JL
66642011-09-18 Juri Linkov <juri@jurta.org>
6665
6666 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6667 because `zgrep' returns 1 for successful matches (bug#9226).
6668
d18b513b
JL
66692011-09-18 Juri Linkov <juri@jurta.org>
6670
6671 * info.el (Info-extract-menu-node-name): Check the second match
6672 for empty string (second test-case of bug#9528).
6673 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6674 intermediate nodes to the history (first test-case of bug#9528).
6675
72753f87
JL
66762011-09-18 Juri Linkov <juri@jurta.org>
6677
6678 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6679 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6680
c9384295
JL
66812011-09-18 Juri Linkov <juri@jurta.org>
6682
1154d12e
JB
6683 * info.el (Info-file-supports-index-cookies):
6684 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6685 outputs one more line for long file names (bug#4142).
c9384295 6686
d473dce8
CY
66872011-09-18 Chong Yidong <cyd@stupidchicken.com>
6688
6689 * newcomment.el (comment-normalize-vars): If prompting for
6690 comment-start, set comment-start-skip too (Bug#8424).
6691
2176854d
JB
66922011-09-18 Johan Bockgård <bojohan@gnu.org>
6693
6694 * icomplete.el: Fix previous fix of Bug#5849.
6695 (icomplete-mode): Don't set completion-show-inline-help.
6696 (icomplete-minibuffer-setup): Set completion-show-inline-help
6697 locally during icompletion.
6698
3aace4e4
CY
66992011-09-18 Chong Yidong <cyd@stupidchicken.com>
6700
c940224f
CY
6701 * woman.el (woman2-process-escapes): Don't delete unrecognized
6702 escapes (Bug#7843).
6703
3aace4e4
CY
6704 * files.el (inhibit-first-line-modes-regexps): Add image files.
6705 (hack-local-variables-prop-line): Return nil for malformed
6706 prop-lines (Bug#9044).
6707
710dec63
MA
67082011-09-18 Michael Albinus <michael.albinus@gmx.de>
6709
6710 * net/tramp.el (top): Don't require 'shell.
6711 (tramp-methods): Fix docstring.
6712 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6713 Return complete remote file name. Handle "smb" case.
6714 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6715 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6716
6717 * net/tramp-compat.el (top): Require 'shell.
6718
6719 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6720 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6721 `tramp-current-host'.
6722 (tramp-get-remote-tmpdir): Remove.
6723
6724 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6725 `tramp-tmpdir' entries.
6726 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6727 (tramp-smb-handle-file-attributes): Ignore errors.
6728 (tramp-smb-wait-for-output): Check also for process end.
6729
5d5ac8ec
LMI
67302011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6731
6732 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6733 when sending QUIT (bug#9312).
6734
8c0f49f0
CY
67352011-09-17 Chong Yidong <cyd@stupidchicken.com>
6736
6737 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6738 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6739 occur-mode-display-occurrence.
6740 (occur-edit-mode): Add usage message.
6741 (occur-cease-edit): New command.
6742 (occur-after-change-function): Use text properties to find the
6743 position of the prefix text.
6744 (occur-engine): Set stickiness of prefix text properties.
6745
8f1383f7
GM
67462011-09-17 Glenn Morris <rgm@gnu.org>
6747
6748 * progmodes/etags.el (complete-tag):
6749 Fix call to completion-in-region. (Bug#9526)
6750
744ba0e3
JL
67512011-09-17 Juri Linkov <juri@jurta.org>
6752
6753 * textmodes/ispell.el (ispell-word): Add to the error message
6754 the word, ispell program name and current dictionary (bug#9121).
6755 (ispell-tex-arg-end): Capitalize "error" in the error message.
6756
d9bbf400
AS
67572011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6758
6759 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6760 check. (Bug#4251)
6761
8da11505
JL
67622011-09-17 Juri Linkov <juri@jurta.org>
6763
6764 * window.el (window-safe-min-height, window-safe-min-width):
6765 Fix typos (followup to bug#9522).
6766
a91adc7e
SJ
67672011-09-17 Sven Joachim <svenjoac@gmx.de>
6768
6769 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6770
064f328a
EZ
67712011-09-16 Eli Zaretskii <eliz@gnu.org>
6772
6773 * simple.el (line-move): If goal-column is set, move by logical
6774 lines, not by display lines. (Bug#971)
6775 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6776 to reflect the above change.
6777
e69df516
SM
67782011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * image.el (imagemagick-register-types): Use regexp-opt.
6781
cbb0f9ab
CY
67822011-09-15 Chong Yidong <cyd@stupidchicken.com>
6783
6784 * window.el (display-buffer-base-action): Rename from
6785 display-buffer-default-action. Make default value empty.
6786 (display-buffer-overriding-action): Convert to defvar.
6787 (display-buffer-fallback-action): New var.
6788
25322144
CY
67892011-09-15 Chong Yidong <cyd@stupidchicken.com>
6790
6791 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6792 declaration.
6793 (package--add-to-archive-contents): If there is a duplicate entry
6794 with an older version, remove it.
6795 (package-menu-mark-delete, package-menu-mark-install)
6796 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6797 (package-menu-mark-obsolete-for-deletion):
6798 Use package-menu-get-status instead of a regexp search.
25322144
CY
6799 (package-menu-get-status): Use tabulated-list-entry.
6800 (package-menu-mark-upgrades): New command.
d770725a 6801 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6802 (package-menu-execute): Do installation before deletion.
6803 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6804 instead of checking major-mode.
6805 (package-menu--find-upgrades): New function.
6806
7520339c
LMI
68072011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6808
6809 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6810 passwords in the log buffer.
65a046c4
LMI
6811 (smtpmail-process-filter): Update the process marker so that the
6812 "broken by peer" status message is inserted in the right place.
7520339c 6813
d3c30954
SM
68142011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6815
3fe48822
SM
6816 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6817 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6818 bibtex-completion-at-point-function.
6819 (bibtex-completion-at-point-function): Use them.
6820
1b8b3954
SM
6821 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6822
d3c30954
SM
6823 * mpc.el (mpc-constraints-tag-lookup): New function.
6824 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6825 also to browser "album|playlist".
6826
72779976
JL
68272011-09-14 Juri Linkov <juri@jurta.org>
6828
6829 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6830 (isearch-edit-string): Use length of `isearch-string' when
6831 `isearch-fail-pos' returns nil.
6832 (isearch-message): Remove duplicate code and call
6833 `isearch-fail-pos' with arg `t'.
6834
a0bf2bcd
CY
68352011-09-14 Chong Yidong <cyd@stupidchicken.com>
6836
17bb0a2d
CY
6837 * replace.el (occur-mode-goto-occurrence): Don't force using other
6838 window (Bug#9499).
6839
a0bf2bcd
CY
6840 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6841
f678e0b6
MR
68422011-09-14 Martin Rudalics <rudalics@gmx.at>
6843
6844 * window.el (display-buffer-window): Remove.
6845 (display-buffer-record-window): Use help-setup window parameter
6846 instead of variable display-buffer-window.
6847 (display-buffer-function, special-display-buffer-names)
6848 (special-display-function): Mention help-setup parameter instead
6849 of display-buffer-window in doc-string.
d3c30954
SM
6850 * help.el (help-window-setup): New argument help-window.
6851 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6852 Reword some messages.
6853 (with-help-window): Pass window used for displaying the buffer
6854 to help-window-setup. Don't set display-buffer-window.
6855
8e39b2e8
GM
68562011-09-13 Glenn Morris <rgm@gnu.org>
6857
6858 * emacs-lisp/debug.el (debugger-make-xrefs):
6859 Preserve point. (Bug#9462)
6860
85e9c04b
CY
68612011-09-13 Chong Yidong <cyd@stupidchicken.com>
6862
6863 * window.el (window-deletable-p): Use next-frame.
6864
1b36ed6a
MR
68652011-09-13 Martin Rudalics <rudalics@gmx.at>
6866
6867 * window.el (window-auto-delete): Remove.
6868 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6869 dedication and previous buffers.
1b36ed6a
MR
6870 (switch-to-prev-buffer): Don't delete window.
6871 (delete-windows-on): Delete a window's frame if and only if the
6872 window is dedicated.
6873 (replace-buffer-in-windows): Delete buffer's window or frame if
6874 and only if window is dedicated.
6875 (quit-window): Handle quit-restore as before last change.
4d61f28d 6876 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6877
ef8ef9fb
CY
68782011-09-13 Chong Yidong <cyd@stupidchicken.com>
6879
6880 * window.el (window-deletable-p): Never delete the last frame on a
6881 given terminal.
6882
b2cba41e
GM
68832011-09-13 Glenn Morris <rgm@gnu.org>
6884
6885 * help.el (describe-key-briefly): Copy previous standard-output change.
6886
51553db6 68872011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6888
6889 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6890
b7556719
GM
68912011-09-13 Glenn Morris <rgm@gnu.org>
6892
6893 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6894 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6895
64b51947
CY
68962011-09-12 Chong Yidong <cyd@stupidchicken.com>
6897
6898 * dired-aux.el (dired-mark-read-string): Don't return default
6899 value on empty input (Bug#9361).
6900 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6901 Omit initial minibuffer contents.
6902 (dired-do-chmod): Signal an error on empty input.
6903 (dired-mark-read-string): Don't return default on empty input.
6904
6905 * files.el (file-modes-symbolic-to-number): Doc fix.
6906
393a301e
SM
69072011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * international/mule-cmds.el (ucs-completions): Remove.
6910 (read-char-by-name): Use complete-with-action instead; add metadata.
6911
fa5660f9
CY
69122011-09-11 Chong Yidong <cyd@stupidchicken.com>
6913
6914 * window.el (display-buffer--action-function-custom-type)
6915 (display-buffer--action-custom-type): New vars.
6916 (display-buffer-alist, display-buffer-default-action)
6917 (display-buffer-overriding-action): Add defcustom types.
6918
4a592f66
CY
6919 * frame.el (delete-other-frames): Doc fix (Bug#276).
6920
73d56dbd
LMI
69212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6922
6923 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6924
37ac18a3
CY
69252011-09-11 Chong Yidong <cyd@stupidchicken.com>
6926
6927 Change modes that used same-window-* vars to use switch-to-buffer.
6928
6929 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6930 Use switch-to-buffer.
6931
6932 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6933 (customize-browse, custom-buffer-create-other-window):
6934 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6935
6936 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6937 (Info-prev, Info-up, Info-speedbar-goto-node)
6938 (info-display-manual): Use switch-to-buffer.
6939 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6940
6941 * mail/sendmail.el (mail): Use switch-to-buffer.
6942 (mail-recover): Use switch-to-buffer-other-window.
6943
6944 * cmuscheme.el (run-scheme, switch-to-scheme):
6945 * ielm.el (ielm):
6946 * shell.el (shell):
6947 * net/rlogin.el (rlogin):
6948 * net/telnet.el (telnet, rsh):
6949 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6950
10195bd6
AS
69512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6952
6953 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6954
b322f63a
LMI
69552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6956
39d7fed6
LMI
6957 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6958 so don't mention it (bug#9301).
ba5a81f1 6959 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6960
ee0e9f11
LMI
6961 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6962 match `x', `w32' and `ns', like the manual says (bug#9029).
6963
0b1c89c1 6964 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6965 (process-kill-buffer-query-function): Mention the buffer name in
6966 the query.
0b1c89c1 6967
77549ea8
LMI
6968 * image-mode.el (image-next-line): The line parameter is mandatory
6969 (bug#9258).
6970
803ef892
LMI
6971 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6972 which can be useful (bug#9301).
6973
12980837
LMI
6974 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6975
91054f8f
LMI
6976 * subr.el (match-string): Mention that the current buffer should
6977 be the same as the search was done in (bug#9282).
6978
b322f63a
LMI
6979 * facemenu.el: Disable the remove-* commands if the mark isn't
6980 active (bug#9162).
6981
3199b96f
CY
69822011-09-10 Chong Yidong <cyd@stupidchicken.com>
6983
6984 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6985 of display-buffer.
6986 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6987
6988 * replace.el (occur-mode-goto-occurrence)
6989 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6990 and display-buffer.
6991
6992 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6993 display-buffer.
6994
6995 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6996 special-display and same-window variables.
6997 (mail-other-window): Use switch-to-buffer-other-window.
6998 (mail-other-frame): USe switch-to-buffer-other-frame.
6999
393a301e
SM
7000 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7001 Use display-buffer-other-frame.
3199b96f
CY
7002 (gdb-display-gdb-buffer): Use pop-to-buffer.
7003
7004 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7005
7006 * progmodes/python.el: Don't set same-window-buffer-names.
7007
7008 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7009
7010 * window.el (display-buffer-alist): Add *Python*.
7011
8319e0bf
CY
70122011-09-10 Chong Yidong <cyd@stupidchicken.com>
7013
7014 * window.el (display-buffer-alist): Add entry for buffers
7015 previously handled same-window-*.
7016 (display-buffer-alist, display-buffer-default-action)
7017 (display-buffer-overriding-action): Mark as risky.
7018 (display-buffer-alist): Document action function changes.
7019 (display-buffer--same-window-action)
7020 (display-buffer--other-frame-action): New variables.
7021 (switch-to-buffer, display-buffer-other-frame): Use them.
7022 (display-buffer): Rename reuse-frame entry to reusable-frames.
7023 (display-buffer-reuse-selected-window): Function deleted.
7024 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7025 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7026 (display-buffer-special): New function.
7027 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7028 display-buffer-reuse-or-pop-window. Split off special-display
7029 part into display-buffer-special.
7030 (display-buffer-use-some-window): Don't perform any special
7031 pop-up-frames handling.
7032 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7033 (display-buffer--maybe-same-window): Rename from
0d3ff375 7034 display-buffer-maybe-same-window.
8319e0bf 7035
919a69aa
CY
7036 * info.el: Don't set same-window-regexps.
7037 (info-setup): New function.
7038 (info-other-window, info): Call it.
7039
7040 * cus-edit.el: Don't set same-window-regexps.
7041 (customize-group): New argument.
7042 (customize-group-other-window): Use it.
7043 (customize-face, customize-face-other-window): Likewise.
7044 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7045
8319e0bf
CY
7046 * net/rlogin.el:
7047 * net/telnet.el:
7048 * progmodes/gud.el: Don't set same-window-regexps.
7049
7050 * cmuscheme.el:
7051 * ielm.el:
7052 * shell.el:
7053 * mail/sendmail.el:
7054 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7055
25173000
JL
70562011-09-10 Juri Linkov <juri@jurta.org>
7057
7058 * isearch.el (isearch-edit-string): Remove obsolete mention of
7059 `C-w' (`isearch-yank-word-or-char') from docstring.
7060 (isearch-query-replace): Fix typo in docstring (bug#9466).
7061
056e44ef
JL
70622011-09-10 Juri Linkov <juri@jurta.org>
7063
7064 * paren.el (show-paren-function): Don't show escaped parens.
7065 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7066
c3760c17
EZ
70672011-09-10 Eli Zaretskii <eliz@gnu.org>
7068
7069 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7070 (mm-default-file-encoding): Remove autoload forms, they are
7071 replaced with autoload cookies in mml.el and mm-encode.el.
7072 (mail-add-attachment): New command.
7073 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7074 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7075 the doc string.
7076 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7077
fece895e
RT
70782011-09-10 Reuben Thomas <rrt@sc3d.org>
7079
e69df516
SM
7080 * simple.el (count-words-region): Use buffer if there's no region
7081 (bug#9429).
fece895e 7082
5e68ce4a
JL
70832011-09-09 Juri Linkov <juri@jurta.org>
7084
7085 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7086 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7087 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7088
0a6b9622
AM
70892011-09-09 Alan Mackenzie <acm@muc.de>
7090
7091 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7092 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7093
14a29deb
EZ
70942011-09-09 Eli Zaretskii <eliz@gnu.org>
7095
7096 Fix for Savannah bug#9392.
7097 * simple.el (mail-encode-mml): New defvar.
7098
7099 * mail/rmail.el (mail-encode-mml): Add a defvar.
7100 (rmail-enable-mime-composing): Default to t.
7101 (rmail-forward): Use MIME method of forwarding only if both
7102 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7103 Set mail-encode-mml non-nil if the MIME method was used.
7104
7105 * mail/sendmail.el (mml-to-mime): Add autoload form.
7106 (mail-encode-mml): Add a defvar.
7107 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7108 to nil.
7109 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7110 message through mml-to-mime, and reset mail-encode-mml to nil.
7111
28c45130
GM
71122011-09-09 Glenn Morris <rgm@gnu.org>
7113
7114 * woman.el (woman-if-body): When processing an .el block,
7115 do not delete the next .el block as well. (Bug#9447)
69f4b618 7116 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7117
9b1c252e
MR
71182011-09-08 Martin Rudalics <rudalics@gmx.at>
7119
7120 * window.el (window-deletable-p): Make sure window is live before
7121 invoking window-prev-buffers.
7122
567457e3
LL
71232011-09-08 Leo Liu <sdl.web@gmail.com>
7124
7125 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7126
97f05794
JL
71272011-09-08 Juri Linkov <juri@jurta.org>
7128
7129 * progmodes/compile.el (compilation-environment): Make it
7130 a defcustom (bug#8340).
7131
8b0874b5
MR
71322011-09-08 Martin Rudalics <rudalics@gmx.at>
7133
7134 * window.el (frame-auto-delete): Rename to window-auto-delete.
7135 Make it control auto-deletion of windows and/or frames.
7136 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7137 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7138 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7139 Rewrite handling of case when window/frame can be deleted.
7140 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7141 argument t. (Bug#9456)
8b0874b5 7142
4feb6e73
CY
71432011-09-07 Chong Yidong <cyd@stupidchicken.com>
7144
7145 * help-mode.el (help-mode): Restore autoload.
7146
91ab9c13
JL
71472011-09-07 Juri Linkov <juri@jurta.org>
7148
7149 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7150 `compilation-environment'. Set buffer-local
7151 `compilation-environment' to `thisenv' later after (funcall mode).
7152 (Bug#8340)
7153
7154 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7155 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7156 instead of replacing its value. (Bug#8340)
7157
0527e251
JL
71582011-09-07 Juri Linkov <juri@jurta.org>
7159
7160 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7161 based on text properties put by `grep-filter' instead of matching
7162 escape sequences.
7163 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7164 to the value of `grep-error-screen-columns' (bug#9438).
7165
249f792c
JL
71662011-09-07 Juri Linkov <juri@jurta.org>
7167
7168 * simple.el (next-error-highlight, next-error-highlight-no-select):
7169 Doc fix (bug#9432).
7170
ff7271b9
OT
71712011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7172
7173 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7174 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7175
183fc730
LL
71762011-09-07 Leo Liu <sdl.web@gmail.com>
7177
7178 * net/rcirc.el (rcirc-mode): Conditionally initialize
7179 rcirc-input-ring.
7180
77694924
SM
71812011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * emacs-lisp/find-func.el (find-function-C-source): Only set
7184 find-function-C-source-directory after checking that we found a source
7185 file there (bug#9440).
7186
d809b8eb
AM
71872011-09-06 Alan Mackenzie <acm@muc.de>
7188
7189 * isearch.el (isearch-other-meta-char): Wherever a key list is
7190 unread, "unread" the prefix arg, too. This fixes bug #8901.
7191
453de99f
OG
71922011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7193
7194 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7195
90439906
JL
71962011-09-05 Juri Linkov <juri@jurta.org>
7197
7198 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7199
f62bd846
JL
72002011-09-05 Juri Linkov <juri@jurta.org>
7201
7202 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7203 keeping point where processing of grep matches begins, and
7204 continue to delete remaining escape sequences from the same point.
7205 (grep-filter): Make leading zero optional in "0?1;31m" because
7206 git-grep emits "\033[1;31m" escape sequences unlike expected
7207 "\033[01;31m" as GNU Grep does (bug#9408).
7208 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7209
045820ec
JL
72102011-09-05 Juri Linkov <juri@jurta.org>
7211
7212 * subr.el (y-or-n-p): Capitalize "yes".
7213
f5e29b9b
MA
72142011-09-04 Michael Albinus <michael.albinus@gmx.de>
7215
7216 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7217 `tramp-cache-unload-hook' where appropriate.
7218 (tramp-methods): Rename `tramp-remote-sh' to
7219 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7220 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7221
7222 * net/tramp-sh.el (top): Don't require 'shell.
7223 (tramp-methods): Add `tramp-remote-shell' and
7224 `tramp-remote-shell-args' entries.
7225 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7226 (tramp-sh-handle-shell-command): Remove.
7227 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7228 Use `tramp-remote-shell'.
7229
2784c434
CY
72302011-09-03 Chong Yidong <cyd@stupidchicken.com>
7231
393a301e 7232 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7233 (sendmail-query-once): Save directly to send-mail-function.
7234 Update message-send-mail-function too.
7235
7236 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7237
464cdf56
CS
72382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7239
7240 * progmodes/python.el (python-mode-map): Use correct function to
7241 start python interpreter from menu-bar (as reported by Geert
7242 Kloosterman).
7243 (inferior-python-mode-map): Fix typo.
393a301e 7244 (python-shell-map): Remove.
464cdf56 7245
d37e5c87
DD
72462011-09-03 Deniz Dogan <deniz@dogan.se>
7247
7248 * net/rcirc.el (rcirc-print): Simplify code for
7249 rcirc-scroll-show-maximum-output. There is no need to walk
7250 through all windows to find the right one.
7251
f3ada0ee
CS
72522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7253
7254 * help.el (help-return-method): Doc fix.
7255
1f3c99ca
MR
72562011-09-03 Martin Rudalics <rudalics@gmx.at>
7257
7258 * window.el (window-deletable-p): Don't return a non-nil value
7259 when there's a buffer that was shown in the window before.
7260 (Bug#9419)
393a301e
SM
7261 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7262 Set window's previous buffers to nil.
1f3c99ca 7263
a3cf097f
EZ
72642011-09-03 Eli Zaretskii <eliz@gnu.org>
7265
7266 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7267 newline before and after the tag line, so it doesn't interfere
7268 with determining the paragraph direction of bidirectional text.
7269
3d03de90
LL
72702011-09-03 Leo Liu <sdl.web@gmail.com>
7271
7272 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7273
c3313451
CY
72742011-09-02 Chong Yidong <cyd@stupidchicken.com>
7275
393a301e 7276 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7277 (pop-to-buffer): Change interactive spec. Pass second argument
7278 directly to display-buffer.
7279 (display-buffer): Fix interactive spec. Use functionp to
7280 distinguish between a function and a list of functions.
7281
7282 * abbrev.el (edit-abbrevs):
7283 * arc-mode.el (archive-extract):
7284 * autoinsert.el (auto-insert):
7285 * bookmark.el (bookmark-bmenu-list):
7286 * files.el (find-file):
7287 * view.el (view-buffer):
7288 * progmodes/compile.el (compilation-goto-locus):
7289 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7290
89894cd8
CY
72912011-09-02 Chong Yidong <cyd@stupidchicken.com>
7292
7293 * window.el (display-buffer-alist): Doc fix.
7294 (display-buffer): Add docstring. Don't treat
7295 display-buffer-default specially.
7296 (display-buffer-reuse-selected-window)
7297 (display-buffer-same-window, display-buffer-maybe-same-window)
7298 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7299 (display-buffer-pop-up-window)
7300 (display-buffer-reuse-or-pop-window)
7301 (display-buffer-use-some-window): New functions.
7302 (display-buffer-default-action): Use them.
393a301e 7303 (display-buffer-default): Delete.
89894cd8
CY
7304 (pop-to-buffer-1): Fix choice of actions.
7305
ae0bc9fb
SM
73062011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * minibuffer.el (completion--insert-strings): Don't get confused by
7309 completion entries that end with an LF char.
7310
e9d90883
EZ
73112011-09-01 Eli Zaretskii <eliz@gnu.org>
7312
7313 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7314
437014c8
CY
73152011-09-01 Chong Yidong <cyd@stupidchicken.com>
7316
7317 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7318 (display-buffer-same-window, display-buffer-other-window):
7319 New functions.
437014c8
CY
7320 (pop-to-buffer-1): New function. Use the above.
7321 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7322 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7323
7324 * view.el (view-buffer-other-window, view-buffer-other-frame):
7325 Just use pop-to-buffer.
7326
a5e063d5
TV
73272011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7328
7329 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7330
793d32bb
WH
73312011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7332
7333 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7334
d65e4c15
RS
73352011-08-31 Richard Stallman <rms@gnu.org>
7336
7337 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7338 of the separation of rmail-view-buffer from rmail-buffer.
7339 If you say no to "replace original", the decrypt is in the
7340 view buffer. If you say yes, the decrypt goes into the
7341 rmail buffer also.
7342
f818cd2a
MR
73432011-08-31 Martin Rudalics <rudalics@gmx.at>
7344
7345 * window.el (display-buffer-window): Rewrite doc-string.
7346 (display-buffer-record-window): New function.
7347 (display-buffer-macro-specifiers)
7348 (display-buffer-even-window-sizes, display-buffer-set-height)
7349 (display-buffer-set-width, display-buffer-in-window)
7350 (display-buffer-reuse-window, display-buffer-split-specifiers)
7351 (display-buffer-side-specifiers, display-buffer-split-window-1)
7352 (display-buffer-split-window, display-buffer-split-atom-window)
7353 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7354 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7355 (display-buffer-other-window-means-other-frame)
7356 (display-buffer-normalize-special)
7357 (display-buffer-normalize-default)
7358 (display-buffer-normalize-argument)
7359 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7360 (display-buffer-normalize-specifiers, display-buffer-frame)
7361 (display-buffer-same-window, display-buffer-same-frame)
7362 (display-buffer-other-window)
7363 (display-buffer-same-frame-other-window)
7364 (display-buffer-other-frame, pop-to-buffer-same-window)
7365 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7366 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7367 (switch-to-buffer-same-frame)
7368 (switch-to-buffer-other-window-same-frame)
7369 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7370 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7371 (display-buffer-alist-set): Remove.
7372 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7373 (special-display-regexps, special-display-function):
7374 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7375 parameter.
7376 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7377 (special-display-frame-alist, special-display-popup-frame)
7378 (same-window-buffer-names, same-window-regexps, same-window-p)
7379 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7380 (split-window-preferred-function, split-height-threshold)
7381 (split-width-threshold, window-splittable-p)
7382 (split-window-sensibly, window--try-to-split-window)
7383 (window--frame-usable-p, even-window-heights)
7384 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7385 (window--display-buffer-2, display-buffer-other-frame):
7386 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7387 (display-buffer-default, display-buffer-assq-regexp): New functions.
7388 (display-buffer-alist): Rewrite doc-string.
7389 (display-buffer-default-action)
7390 (display-buffer-overriding-action): New variables.
7391 (display-buffer, switch-to-buffer): Rewrite.
7392 (pop-to-buffer): Restore Emacs 23 behavior but use
7393 window-normalize-buffer-to-display.
7394 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7395 Restore Emacs 23 behavior but use
7396 window-normalize-buffer-to-switch-to.
7397 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7398 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7399 Rewrite using Emacs 23 options.
f818cd2a 7400
5bc3b51d
MA
74012011-08-31 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp.el (tramp-root-regexp): Remove.
7404 (tramp-completion-file-name-regexp-unified)
7405 (tramp-completion-file-name-regexp-separate)
7406 (tramp-completion-file-name-regexp-url): Don't use leading volume
7407 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7408 (tramp-drop-volume-letter): Simplify definition.
7409 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7410
b1a4f8e1
SM
74112011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7414 (bug#9356).
7415
5664fa7b
RT
74162011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7417
b1a4f8e1 7418 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7419
9a45d6c3
JL
74202011-08-29 Juri Linkov <juri@jurta.org>
7421
7422 * isearch.el (isearch-done): Don't display message "Mark saved"
7423 when arg `edit' is non-nil to prevent its flicker in the echo area.
7424
fb87e0fb
CY
74252011-08-28 Chong Yidong <cyd@stupidchicken.com>
7426
7427 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7428 obsolete packages for deletion.
7429
09ac1c2a
CS
74302011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7431
7432 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7433 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7434 view-mode from help-mode.
7435 (help-xref-override-view-map): Remove.
7436 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7437 view-mode is not used anymore.
7438
7a1ff57f
CY
74392011-08-28 Chong Yidong <cyd@stupidchicken.com>
7440
7441 * server.el (server-port): Doc fix.
7442
b9696605
CY
7443 * cus-theme.el (custom-theme-choose-mode): Inherit from
7444 special-mode (Bug#9124).
7445 (custom-theme-choose-mode-map): Add special-mode to parent.
7446
ef8cdf8c
AM
74472011-08-28 Alan Mackenzie <acm@muc.de>
7448
7449 * progmodes/cc-fonts.el
7450 (c-make-font-lock-BO-decl-search-function): New function.
7451 (c-basic-matchers-after - "Fontify the clauses after various
7452 keywords"): Extract the three keyword lists for the 3 erroneous
7453 constructs from the list of four, and use the new function above
7454 in place of an old one.
7455
27de4e20
DD
74562011-08-28 Deniz Dogan <deniz@dogan.se>
7457
7458 * net/rcirc.el (rcirc-insert-prev-input)
7459 (rcirc-insert-next-input): Remove unused argument.
7460
356a3681
SM
74612011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7464
3fc9b218
AM
74652011-08-27 Alan Mackenzie <acm@muc.de>
7466
7467 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7468 handle function pointer parameters properly.
7469
538a061c
MR
74702011-08-27 Martin Rudalics <rudalics@gmx.at>
7471
7472 * window.el (display-buffer-reuse-window): Fix case where
7473 selected window was reused with non-nil OTHER-WINDOW argument.
7474 (Bug#9381)
7475
35b1c40c
DD
74762011-08-27 Deniz Dogan <deniz@dogan.se>
7477
7478 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7479 oftc's NickServ messages.
7480
2f6a3e79
GM
74812011-08-27 Glenn Morris <rgm@gnu.org>
7482
7483 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7484
7254299e
CY
74852011-08-26 Chong Yidong <cyd@stupidchicken.com>
7486
7487 * emacs-lisp/package.el (package-install): Call package-initialize
7488 if called interactively.
7489
f8ccf167
LL
74902011-08-26 Leo Liu <sdl.web@gmail.com>
7491
7492 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7493
3e8cd5ce
JL
74942011-08-25 Juri Linkov <juri@jurta.org>
7495
7496 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7497 `search-whitespace-regexp' (bug#9364).
7498
93eb7113
JL
74992011-08-25 Juri Linkov <juri@jurta.org>
7500
7501 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7502 `regexp-search-ring' to their global values to protect from
7503 updating by `read-from-minibuffer' (bug#9185).
7504
f65d1611
JL
75052011-08-25 Juri Linkov <juri@jurta.org>
7506
7507 * textmodes/ispell.el (ispell-command-loop): Add newline
7508 at the end of the "Use option `i'..." line.
7509
f1cf7a31
JL
75102011-08-25 Juri Linkov <juri@jurta.org>
7511
7512 * battery.el (display-battery-mode): If `battery-status-function'
7513 or `battery-mode-line-format' is nil, display the message and set
7514 `display-battery-mode' to nil (bug#9363).
7515
0c95fcf7
EZ
75162011-08-25 Eli Zaretskii <eliz@gnu.org>
7517
7518 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7519 bidi-string-mark-left-to-right; they are unnecessary now.
7520
a2ebe600
DD
75212011-08-25 Deniz Dogan <deniz@dogan.se>
7522
7523 * net/quickurl.el: Documentation typo fixes.
7524
e4ed06f1
CY
75252011-08-25 Chong Yidong <cyd@stupidchicken.com>
7526
7527 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7528
e5f1c99e
GM
75292011-08-25 Glenn Morris <rgm@gnu.org>
7530
b2948976
GM
7531 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7532
e5f1c99e
GM
7533 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7534 (smtpmail-via-smtp): Handle nil response from smtp.
7535
f22f4808
JL
75362011-08-24 Juri Linkov <juri@jurta.org>
7537
7538 * proced.el (proced-marked): Inherit from `error' instead of
7539 `font-lock-warning-face'.
7540
7541 * ibuffer.el (ibuffer-marked-face): Change default face from
7542 `font-lock-warning-face' to `warning'.
7543 (ibuffer-deletion-face): Change default face from
7544 `font-lock-type-face' to `error'.
7545
7546 * battery.el (battery-update): Use the face `error' instead of
7547 `font-lock-warning-face' (bug#6117).
7548
6a93965e
JL
75492011-08-24 Juri Linkov <juri@jurta.org>
7550
7551 * faces.el (success): Change face color from "Green3" to
7552 "ForestGreen" on light background (bug#9353).
7553
1ed43b09
CY
75542011-08-24 Chong Yidong <cyd@stupidchicken.com>
7555
5664fa7b
RT
7556 * window.el (quit-window): Rename from quit-restore-window.
7557 Use same arglist as old quit-window.
1ed43b09
CY
7558 (frame-auto-delete): Doc fix.
7559
7560 * view.el (view-mode-exit): Use quit-window.
7561
11dcdbb2
JL
75622011-08-24 Juri Linkov <juri@jurta.org>
7563
7564 * isearch.el (isearch-ring-adjust1): Start visiting previous
7565 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7566 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7567 for empty search string (when the last search string is reused
7568 automatically) to adjust the isearch ring to the last element and
7569 prepare the correct index for further M-p commands (bug#9185).
7570
de62b4df
KH
75712011-08-24 Kenichi Handa <handa@m17n.org>
7572
7573 * international/ucs-normalize.el: If decomposition property of
7574 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7575 nil.
7576 (nfd, nfkd): Likewise.
7577
963b492b
SM
75782011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7581 from process filters aren't reliably transmitted to the surrounding
7582 accept-process-output.
7583 (mpc-proc-check): New function.
7584 (mpc-proc-sync): Use it (bug#8293)
7585
93b6b5e1
SM
75862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7589 Add compatibility functions (bug#9313).
7590
bca633fb
EZ
75912011-08-23 Eli Zaretskii <eliz@gnu.org>
7592
b177498a
EZ
7593 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7594
6df6ae42 7595 * international/uni-bidi.el: Regenerate.
bca633fb 7596
0902a04e
KH
75972011-08-23 Kenichi Handa <handa@m17n.org>
7598
7599 * international/charprop.el:
7600 * international/uni-bidi.el:
7601 * international/uni-category.el:
7602 * international/uni-combining.el:
7603 * international/uni-comment.el:
7604 * international/uni-decimal.el:
7605 * international/uni-decomposition.el:
7606 * international/uni-digit.el:
7607 * international/uni-lowercase.el:
7608 * international/uni-mirrored.el:
7609 * international/uni-name.el:
7610 * international/uni-numeric.el:
7611 * international/uni-old-name.el:
7612 * international/uni-titlecase.el:
7613 * international/uni-uppercase.el: Regenerate.
7614
3bbf23bc
MR
76152011-08-23 Martin Rudalics <rudalics@gmx.at>
7616
7617 * help.el (help-window-setup): Fix message displayed when other
7618 window is reused. (Bug#9341)
7619
b3fd59bd
SM
76202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7621
1802e444
SM
7622 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7623 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7624
b3fd59bd
SM
7625 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7626 Mark obsolete.
7627 * shell.el (shell-parse-pcomplete-arguments): New function.
7628 (shell-completion-vars): Use it instead (bug#9160).
7629
4eb61348
SM
76302011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7631
867cab74
SM
7632 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7633 strings and comments (bug#9333).
7634
4eb61348
SM
7635 * emacs-lisp/debug.el (debug-arglist): New function.
7636 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7637 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7638
262a1439
JL
76392011-08-22 Juri Linkov <juri@jurta.org>
7640
56ee679c
JL
7641 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7642 Revert regexp that highlights output switches to its old
7643 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7644
262a1439
JL
7645 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7646 to check for empty output (bug#9226).
7647
f13f86fb
CY
76482011-08-22 Chong Yidong <cyd@stupidchicken.com>
7649
7650 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7651 symbol-constituent as the default, as that stops font-lock from
7652 working properly (Bug#8843).
7653
c65c9622
LMI
76542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7655
7656 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7657 `coding-system-for-*' around the process open call to avoid
7658 auth-source side effects.
e7f2c178 7659 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7660 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7661 probe hangs.
c65c9622 7662
23a8a5ab
CY
76632011-08-21 Chong Yidong <cyd@stupidchicken.com>
7664
ff98b2dd
CY
7665 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7666
23a8a5ab
CY
7667 * emacs-lisp/find-func.el (find-function-noselect): New arg
7668 lisp-only.
7669
7670 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7671 signal an error for built-in functions (Bug#6664).
7672
f5e3c598
LMI
76732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7674
7675 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7676 (smtpmail-try-auth-methods): Use it.
7677
a3f2468a
CY
76782011-08-21 Chong Yidong <cyd@stupidchicken.com>
7679
2c34e8da
CY
7680 * font-lock.el (font-lock-fontify-region)
7681 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7682 (font-lock-default-unfontify-buffer)
7683 (font-lock-default-fontify-region)
7684 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7685
b3fd59bd
SM
7686 * progmodes/compile.el (compilation-error-properties):
7687 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7688 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7689 `ant' regexp.
ee31aabc 7690
a3f2468a
CY
7691 * net/browse-url.el (browse-url-firefox): Don't call
7692 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7693
8e999f70
GM
76942011-08-20 Glenn Morris <rgm@gnu.org>
7695
c21a496a
GM
7696 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7697
59ee0542
GM
7698 * tutorial.el (tutorial--default-keys): Update some default bindings.
7699
8e999f70
GM
7700 * files.el (hack-local-variables): Fully ignore case for "mode:".
7701
e3715033
AM
77022011-08-20 Alan Mackenzie <acm@muc.de>
7703
7704 Resolve invalid use of a regexp in regexp-opt.
7705
4d61f28d
JB
7706 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7707 detection for a java annotation.
e3715033 7708
4d61f28d 7709 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7710 detection for a java annotation.
7711
4d61f28d
JB
7712 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7713 handling for java.
e3715033
AM
7714 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7715
04ed2e9c
CY
77162011-08-20 Chong Yidong <cyd@stupidchicken.com>
7717
7718 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7719 (Bug#9274).
7720
826cee64
AM
77212011-08-20 Alan Mackenzie <acm@muc.de>
7722
58179cce 7723 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7724 such a construct. Mainly for when jit-lock etc. starts a chunk
7725 here.
7726
58179cce 7727 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7728 variable.
58179cce 7729 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7730 c-make-font-lock-search-function.
7731 (c-make-font-lock-search-function): Use the above function.
7732 (c-make-font-lock-context-search-function): New function.
7733 (c-cpp-matchers): Enhance the preprocessor expression case with
7734 the above function
7735 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7736 which takes an expression.
7737
7738 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7739
13009bd8
MR
77402011-08-20 Martin Rudalics <rudalics@gmx.at>
7741
7742 * window.el (display-buffer-reuse-window)
7743 (display-buffer-pop-up-window): Don't reuse or split a side
7744 window.
7745
9234ff7f
GM
77462011-08-19 Glenn Morris <rgm@gnu.org>
7747
7748 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7749 Downcase "Mode:". (Bug#9331)
9234ff7f 7750
f635daa1
CY
77512011-08-18 Chong Yidong <cyd@stupidchicken.com>
7752
7753 * international/characters.el: Add L and R categories.
7754
7755 * subr.el (bidi-string-mark-left-to-right): Rename from
7756 string-mark-left-to-right. Use category search.
7757
7758 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7759
bc987f8b
JL
77602011-08-18 Juri Linkov <juri@jurta.org>
7761
7762 * faces.el (error, warning, success): New faces with definitions
7763 copied from old default values of `font-lock-warning-face',
7764 `compilation-warning', `compilation-info' (bug#6117).
7765
7766 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7767
7768 * progmodes/compile.el (compilation-error): Inherit from `error'.
7769 (compilation-warning): Inherit from `warning'.
7770 (compilation-info): Inherit from `success'.
7771
7772 * dired.el (dired-marked): Inherit from `warning'.
7773 (dired-flagged): Inherit from `error'.
7774
57173b96
LMI
77752011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776
3e79eb87
LMI
7777 * mail/smtpmail.el (auth-source): Require to avoid problems with
7778 binding variables (bug#9298). Also clean up some unused
7779 autoloads.
7780
b3fd59bd
SM
7781 * net/network-stream.el (network-stream-open-starttls):
7782 Support using starttls.el without using gnutls-cli.
57173b96 7783
02b404de
JL
77842011-08-17 Juri Linkov <juri@jurta.org>
7785
7786 * progmodes/grep.el (rgrep): Handle the case when
7787 `grep-find-command' is a cons cell (bug#9278).
7788
8c9177f2
MR
77892011-08-17 Martin Rudalics <rudalics@gmx.at>
7790
7791 * window.el (display-buffer-pop-up-frame): Run frame creation
7792 function with BUFFER current (as special-display-popup-frame
7793 does). Reported by Drew Adams.
7794
3644a0ab
DU
77952011-08-17 Daiki Ueno <ueno@unixuser.org>
7796
7797 * epa-mail.el: Simplify GnuPG group expansion using
7798 epg-expand-group.
7799 (epa-mail-group-alist, epa-mail-group-modtime)
7800 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7801 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7802 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7803 Remove.
7804
5e617bc2 78052011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7806
7807 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7808
9c4aeabf
AM
78092011-08-16 Alan Mackenzie <acm@muc.de>
7810
7811 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7812 Correct, to avoid the inside of macros.
7813
3a99bf64
RS
78142011-08-16 Richard Stallman <rms@gnu.org>
7815
04963aa8
RS
7816 * epa-mail.el: Handle GnuPG group definitions.
7817 (epa-mail-group-alist, epa-mail-group-modtime)
7818 (epa-mail-gnupg-conf-file): New variables.
7819 (epa-mail-parse-groups, epa-mail-sync-groups)
7820 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7821 (epa-mail-expand-recipients): New functions.
7822 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7823
177549d0
RS
7824 * mail/rmail.el (rmail-epa-decrypt): New command.
7825
fe38beef
RS
7826 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7827 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7828 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7829 (epa-decrypt-armor-in-region): Make error message clearer.
7830
934eacb9
SM
78312011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7834 and "a2b" to "ab" for `prefix'.
7835
d024fb4e
CY
78362011-08-14 Chong Yidong <cyd@stupidchicken.com>
7837
7838 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7839 filter groups.
de148fee
CY
7840 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7841 Fourquet (Bug#8804).
d024fb4e 7842
62f1ca49
JB
78432011-08-12 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * startup.el (argi): Declare as global variable (bug#9275).
7846
9ccaaa4b
CY
78472011-08-12 Chong Yidong <cyd@stupidchicken.com>
7848
7849 * subr.el (string-mark-left-to-right): Search the entire string
7850 for RTL script, not just the terminating character. Doc fix.
7851
a3dae87a
SM
78522011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7853
6cd18349
SM
7854 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7855 New function.
7856 (js--regexp-literal, js-syntax-propertize-function): Remove.
7857 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7858 (js-mode-map): Don't rebind electric keys.
7859 (js-insert-and-indent): Remove.
7860 (js-mode): Setup electric-layout and electric-indent instead.
7861
a3dae87a
SM
7862 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7863
9d5cb631
DU
78642011-08-12 Daiki Ueno <ueno@unixuser.org>
7865
7866 * epa.el (epa-progress-callback-function): Fix the logic of
7867 displaying progress.
7868 * epa-file.el (epa-file-insert-file-contents): Make progress
7869 display more user-friendly.
7870 (epa-file-write-region): Ditto.
7871
3e26a4a2
CY
78722011-08-10 Chong Yidong <cyd@stupidchicken.com>
7873
7874 * subr.el (string-mark-left-to-right): New function.
7875
7876 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7877 Use string-mark-left-to-right.
7878 (list-buffers-noselect): Caller changed.
7879
a3dae87a
SM
7880 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7881 Use string-mark-left-to-right.
3e26a4a2
CY
7882 (tabulated-list-print): Recenter after moving point.
7883
ac8cf6e6
JL
78842011-08-10 Juri Linkov <juri@jurta.org>
7885
7886 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7887 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7888 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7889
8d96c9a4
CY
78902011-08-09 Chong Yidong <cyd@stupidchicken.com>
7891
7892 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7893 (Bug#7554).
7894
7be1c708 78952011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7896
7897 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7898 character. (Bug#6594)
7899
37e11a63
CY
79002011-08-08 Chong Yidong <cyd@stupidchicken.com>
7901
839dde57
CY
7902 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7903 (image-dired--with-db-file): New macro.
7904 (image-dired-write-tags, image-dired-remove-tag)
7905 (image-dired-create-gallery-lists, image-dired-write-comments)
7906 (image-dired-get-comment, image-dired-mark-tagged-files)
7907 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7908 (image-dired-gallery-generate): Use insert-file-contents.
7909
37e11a63
CY
7910 * time.el (display-time-world-list, display-time-world-display):
7911 * time-stamp.el (time-stamp-string):
7912 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7913 set-time-zone-rule (Bug#7337).
7914
0b4946c4
DU
79152011-08-08 Daiki Ueno <ueno@unixuser.org>
7916
7917 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7918 (epg-error-to-string, epg-errors-to-string): New function.
7919 (epg-wait-for-completion): Reverse errors list.
7920 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7921 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7922 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7923 (epg-sign-keys, epg-generate-key-from-file)
7924 (epg-generate-key-from-string): Format errors by using
7925 epg-errors-to-string (bug#9255).
7926 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7927
75bfc667
JL
79282011-08-07 Juri Linkov <juri@jurta.org>
7929
7930 * faces.el (list-faces-display): Remove extra angle bracket
7931 from `help-mode-map'.
7932
7933 * info.el (Info-history-toc-nodes): Doc fix.
7934
7935 * longlines.el (longlines-mode): Doc fix.
7936
673e08bb
SM
79372011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7938
4640dd88
SM
7939 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7940 of statements and in a few more cases (bug#9183).
7941
673e08bb
SM
7942 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7943 New functions.
7944 (cl-transform-lambda): Use them (bug#9239).
7945
89b3f019
MR
79462011-08-05 Martin Rudalics <rudalics@gmx.at>
7947
7948 * window.el (display-buffer-same-window)
7949 (display-buffer-same-frame, display-buffer-other-window)
7950 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7951 (pop-to-buffer-other-window)
7952 (pop-to-buffer-same-frame-other-window)
7953 (pop-to-buffer-other-frame): Make them defuns.
7954 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7955
640c8776
SM
79562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * subr.el (make-composed-keymap): Move from C. Change calling
7959 convention, and improve docstring to bring attention to a subtle point.
7960 * minibuffer.el (completing-read-default): Adjust accordingly.
7961
63648a95
MA
79622011-08-03 Michael Albinus <michael.albinus@gmx.de>
7963
7964 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7965 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7966
7967 * net/trampver.el: Update release number.
7968
b796c9b7
SM
79692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7972 "in" (bug#9190).
7973
2239d7d5
LMI
79742011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7975
e07dd7c3
LMI
7976 * mail/sendmail.el (sendmail-query-once): Restore the current
7977 buffer after querying (bug#9074).
7978
0e6a2bd7
LMI
7979 * dired.el (dired-flagged): Use different faces for marked and
7980 flagged files (bug#6117).
7981
ce887515
LMI
7982 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7983 (bug#4433).
7984
92f2affc
LMI
7985 * ido.el (ido-mode): Switch off the message if called
7986 non-interactively.
7987
57d5aff0
LMI
7988 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7989 before 587, since it appears that that's more likely to work for
7990 more people.
7991
98cd6c18 7992 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7993 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7994 exist.
7995
b96dec83
LMI
7996 * info.el: Remove the `Info-beginning-of-buffer' function
7997 (bug#8325).
7998
b796c9b7
SM
7999 * net/network-stream.el (network-stream-open-starttls):
8000 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8001
d90e2ea0
MR
80022011-08-01 Martin Rudalics <rudalics@gmx.at>
8003
8004 * window.el (display-buffer-in-window): Don't set dedicated status
8005 of window here (Bug#9215).
8006 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8007 (display-buffer-pop-up-side-window)
b796c9b7 8008 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8009
cca09170
SM
80102011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8013 before binding generated-autoload-file.
8014
027b979c
DD
80152011-08-01 Deniz Dogan <deniz@dogan.se>
8016
8017 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8018
3c7ee4f3
MA
80192011-07-30 Michael Albinus <michael.albinus@gmx.de>
8020
8021 Sync with Tramp 2.2.2.
8022
8023 * net/trampver.el: Update release number.
8024
2cc8e51a
JL
80252011-07-30 Juri Linkov <juri@jurta.org>
8026
8027 * dired-aux.el (dired-touch-initial): Remove function.
8028 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8029 current time, and `default' to the last modification time of the
8030 current marked file (bug#6887).
8031
a514d856
JM
80322011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8033
8034 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8035 numeric argument to read-number (bug#9163).
a514d856 8036
8a7eddd7
MA
80372011-07-27 Michael Albinus <michael.albinus@gmx.de>
8038
8039 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8040 connection process, it could be nil.
8041
1ddd96f5
LL
80422011-07-27 Leo Liu <sdl.web@gmail.com>
8043
8044 Simplify url handling in rcirc-mode.
8045
8046 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8047 (rcirc-browse-url-at-mouse): Remove.
8048 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8049
b248a85d
AM
80502011-07-26 Alan Mackenzie <acm@muc.de>
8051
8052 Fontify bitfield declarations properly.
8053
8054 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8055 (c-symbol-chars): Now exported as a lang variable.
8056 (c-not-primitive-type-keywords): New lang variable.
8057
8058 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8059 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8060 parsed as a bitfield declaration.
b248a85d 8061
b796c9b7
SM
8062 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8063 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8064 (c-punctuation-in): New function.
8065 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8066 declarations properly.
8067
68575ab0
UJ
80682011-07-26 Ulf Jasper <ulf.jasper@web.de>
8069
8070 * calendar/icalendar.el (icalendar--all-events): Take care of
8071 multiple vcalendars in a single file.
b796c9b7 8072 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8073
0f0a88b9
DD
80742011-07-25 Deniz Dogan <deniz@dogan.se>
8075
8076 * image.el (insert-image): Clarifying docstring.
8077
0b3f36df
MA
80782011-07-24 Michael Albinus <michael.albinus@gmx.de>
8079
8080 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8081 `tramp-send-command-and-check' if there is no error.
8082 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8083
a9901f61
AM
80842011-07-22 Alan Mackenzie <acm@muc.de>
8085
8086 Prevent cc-langs.elc being loaded at run time.
8087
8088 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8089 cc-langs.
8090
4d61f28d 8091 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8092 "(require 'cc-langs)". Quote a form so it will evaluate at
8093 (cc-mode's) compilation time.
8094
11d074b2
MA
80952011-07-22 Michael Albinus <michael.albinus@gmx.de>
8096
8097 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8098 loading. (Bug#9114)
8099
938b94c8
MR
81002011-07-21 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (display-buffer-pop-up-window)
8103 (display-buffer-pop-up-side-window)
8104 (display-buffer-in-side-window): Call display-buffer-set-height
8105 and display-buffer-set-width after setting the new window's
b796c9b7 8106 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8107
bfa4f190
SS
81082011-07-20 Sam Steingold <sds@gnu.org>
8109
8110 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8111 (etags-tags-included-tables): Call `convert-standard-filename' on
8112 the file names contained in TAGS so that windows Emacs can handle
8113 TAGS files created by cygwin ctags.
8114
8ca42262
LMI
81152011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8116
8117 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8118 which apparently didn't work.
8119
5db2afd2 81202011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8121
5db2afd2
RW
8122 * proced.el (proced-send-signal): For *Marked Processes* buffer
8123 put point at beginning of buffer.
8124
92e15d10
SB
81252011-07-19 Stephen Berman <stephen.berman@gmx.net>
8126
8127 * proced.el (proced-format): Make header lines align with the text
8128 (bug#1779).
8129
1bfd59e5
LMI
81302011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131
8132 * view.el (view-buffer): Allow running in `special' modes if we're
8133 visiting a file (bug#8615).
8134
f5aae37c
MR
81352011-07-19 Martin Rudalics <rudalics@gmx.at>
8136
8137 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8138 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8139 New functions.
f5aae37c
MR
8140 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8141 more accurately.
8142
bf2c1571
AM
81432011-07-18 Alan Mackenzie <acm@muc.de>
8144
8145 Fontify declarators properly when, e.g., a jit-lock chunk begins
8146 inside a declaration.
8147
8148 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8149
b796c9b7
SM
8150 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8151 New function.
bf2c1571
AM
8152 (c-complex-decl-matchers): Insert reference to
8153 c-font-lock-enclosing-decls.
8154
8155 * progmodes/cc-engine.el (c-backward-single-comment):
8156 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8157 to nil around calls to (forward-comment -1).
8158
4e190b80
LMI
81592011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
12dc863d
LMI
8161 * image.el (put-image): Doc typo fix.
8162
a762e966
LMI
8163 * progmodes/etags.el (tags-search): Doc typo fix.
8164
4e190b80
LMI
8165 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8166 password if we get errors 550 to 554.
8167
f019fb21
LMI
81682011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8169
b796c9b7 8170 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8171
81746738
LMI
8172 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8173 indentation character (bug#6380).
8174
3ee3a1b5
LMI
8175 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8176
c82f64de
LMI
8177 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8178 to clarify what the problem is (bug#4291).
8179
f019fb21
LMI
8180 * simple.el (current-kill): Clarify what
8181 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8182 (auto-fill-mode): Document `auto-fill-function' in relation to
8183 `auto-fill-mode' (bug#2470).
f019fb21 8184
0794775d
LM
81852011-07-16 Lawrence Mitchell <wence@gmx.li>
8186
8187 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8188 method if slot is read-only (bug#9035).
8189
be39b8cc
MR
81902011-07-16 Martin Rudalics <rudalics@gmx.at>
8191
b796c9b7 8192 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8193 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8194 selected before, see discussion of (Bug#8615), (Bug#6954).
8195 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8196
6ccf7859
GM
81972011-07-15 Glenn Morris <rgm@gnu.org>
8198
8199 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8200 Respect help-form.
6ccf7859 8201
87e86684
LM
82022011-07-09 Lawrence Mitchell <wence@gmx.li>
8203
8204 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8205 (gnutls-negotiate): Use it.
8206
d6066239
LMI
82072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208
b796c9b7
SM
8209 * net/gnutls.el (gnutls-negotiate):
8210 Upcase `gnutls-algorithm-priority'.
d6066239 8211
bd23ebc0
GM
82122011-07-15 Glenn Morris <rgm@gnu.org>
8213
c65bca65
GM
8214 * jka-compr.el (jka-compr-verbose): Move from here...
8215 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8216 Add missing :version tag.
8217 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8218
478615cc
LMI
82192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8220
7b41decb
LMI
8221 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8222 (gnutls-negotiate): Use it.
8223
dbc44fcd
LMI
8224 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8225
06789f97
LMI
8226 * info.el (Info-beginning-of-buffer): New command.
8227 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8228 announcing `b' as the key (bug#8325).
ab896c37 8229 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8230
c39da690
LMI
8231 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8232
3aa5f34b
LMI
8233 * international/mule-cmds.el
8234 (describe-specified-language-support): Make the error message
8235 clearer (bug#8905).
8236
4bf0979f
LMI
8237 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8238
478615cc
LMI
8239 * isearch.el (isearch-barrier): Add a doc string, since it's
8240 mentioned in a function doc string (bug#8678).
8241
75c68aa1
MR
82422011-07-15 Martin Rudalics <rudalics@gmx.at>
8243
8244 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8245 buffer argument (Bug#9083) and self-identifying label argument.
8246
a7c33da2
GM
82472011-07-15 Glenn Morris <rgm@gnu.org>
8248
8249 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8250
2f5c6024
LMI
82512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8252
8253 * man.el (Man-fontify-manpage): Fix message when formatting the
8254 man page (bug#7929).
8255
0bb23927 82562011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8257
8258 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8259 argument LRM; if non-nil, append an invisible LRM character to the
8260 buffer name.
8261 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8262 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8263 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8264 paragraph direction.
cce4b0a7 8265
621ef9ab
LMI
82662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267
d1583c48
LMI
8268 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8269 the man page name (bug#7929).
8270
6a57fb5f
LMI
8271 * image.el (put-image): Mention the `put-image' overlay property
8272 (bug#7834).
8273
d7956b14
LMI
8274 * scroll-bar.el (set-scroll-bar-mode): Mention that
8275 `scroll-bar-mode' lists the values (bug#7772).
8276
5b2d4a66
LMI
8277 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8278 command (bug#7729).
8279
7509a874
LMI
8280 * rect.el (apply-on-rectangle): Return the point after the last
8281 operation.
8282 (string-rectangle): Go to the point after the last operation
8283 (bug#7522).
8284
4fe74b19
LMI
8285 * printing.el (pr-toggle-region): Clarify the documentation
8286 slightly (bug#7493).
8287
b796c9b7
SM
8288 * time.el (display-time-update):
8289 Allow `display-time-mail-function' to return nil (bug#7158).
8290 Fix suggested by Detlev Zundel.
ab283561 8291
fc233c9d
LMI
8292 * vc/diff.el (diff): Clarify the order the file names are read
8293 (bug#7111).
8294
43f5740b
LMI
8295 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8296 the doc string (bug#7015).
8297
f2182a76
LMI
8298 * font-lock.el (font-lock-maximum-decoration): Mention what
8299 numeric levels mean (bug#6935).
8300
621ef9ab
LMI
8301 * startup.el (initial-buffer-choice): Don't mention the `none'
8302 selection, which is against policy.
8303
adc47434
MR
83042011-07-14 Martin Rudalics <rudalics@gmx.at>
8305
b796c9b7
SM
8306 * window.el (display-buffer-normalize-special):
8307 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8308
7e5bfb8f
EZ
83092011-07-14 Eli Zaretskii <eliz@gnu.org>
8310
8311 * subr.el (version<, version<=, version=): Mention "-CVS" and
8312 "-12345" alpha version numbers.
8313
27fa387a
CY
83142011-07-14 Chong Yidong <cyd@stupidchicken.com>
8315
8316 * bindings.el: Add advertised binding for set-mark-command
8317 (Bug#5772).
8318
8bdfa064
CY
83192011-07-14 Chong Yidong <cyd@stupidchicken.com>
8320
8321 * bindings.el (mode-line-other-buffer):
8322 * bookmark.el (bookmark-bmenu-2-window):
8323 * bs.el (bs-cycle-next, bs-cycle-previous):
8324 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8325 switch-to-buffer.
8326
8327 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8328 Delete.
8bdfa064 8329
5eba16a3
JB
83302011-07-14 Juanma Barranquero <lekktu@gmail.com>
8331
8332 * follow.el (follow-debug-message, follow-redisplay):
8333 * jka-cmpr-hook.el (with-auto-compression-mode):
8334 Fix typos in docstrings.
8335
15853710
LMI
83362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337
a28e4607
LMI
8338 * subr.el (with-silent-modifications): Clarify somewhat what the
8339 macro inhibits (bug#6525).
8340
15853710
LMI
8341 * simple.el (eval-expression): Note what it does if called
8342 interactively (bug#6495).
8343
bee0fcef
CY
83442011-07-13 Chong Yidong <cyd@stupidchicken.com>
8345
b796c9b7
SM
8346 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8347 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8348
8349 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8350 Remove switch-to-buffer.
8351
58274504
LMI
83522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353
bd2fcc8d
LMI
8354 * files.el (make-directory): Clarify that an error will be raised
8355 if there's an error (bug#6397).
8356
0f04b32c
LMI
8357 * startup.el (initial-buffer-choice): Add `none' as a choice
8358 (bug#6234).
8359
465c5fc8
LMI
8360 * subr.el (add-hook): Clarify section about buffer-local hooks
8361 (bug#6218).
8362
58274504
LMI
8363 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8364
bead9a43
JB
83652011-07-13 Juanma Barranquero <lekktu@gmail.com>
8366
8367 * tabify.el (untabify): Preserve the current column so that point
8368 doesn't move (bug#6032).
8369
3af98a7b
LMI
83702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
b796c9b7
SM
8372 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8373 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8374
6240145a
GM
83752011-07-13 Glenn Morris <rgm@gnu.org>
8376
8377 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8378 (dired-insert-directory): Give a message the first time
8379 if ls is found not to support --dired.
8380
1d8c2ccc
LMI
83812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * simple.el (toggle-truncate-lines): Clarify what is toggled
8384 (bug#5580). Text by Drew Adams.
8385
5fc4038e
CY
83862011-07-13 Chong Yidong <cyd@stupidchicken.com>
8387
8388 * simple.el (blink-matching-open): Make the error message from the
8389 last change less verbose.
8390
bf6012e5
DN
83912011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8392
8393 * font-lock.el (font-lock-comment-face): Use the high contrast
8394 "yellow" color for font-lock-comment-face on low color terminals
8395 using a dark background color (bug#4221).
8396
343c3b5a
LMI
83972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8398
7e9505c5
LMI
8399 * dired.el (dired-insert-set-properties): Make the doc string
8400 reflect what it does now (bug#5325).
8401
c26fdcf5
LMI
8402 * simple.el (blink-matching-open): Say that we were unable to find
8403 the match within the limit, if we're limited (bug#5122).
8404
bb388cc5
LMI
8405 * international/mule-cmds.el (prefer-coding-system): Add an
8406 example (bug#4869).
8407
343c3b5a
LMI
8408 * progmodes/etags.el (tags-search): Document `file-list-form'
8409 (bug#4731).
8410
2a517d45
LM
84112011-07-13 Lawrence Mitchell <wence@gmx.li>
8412
8413 * net/browse-url.el (browse-url-default-browser)
8414 (browse-url-browser-function): Make the default browser choice a
8415 bit more logical (bug#4300). Also clean up the doc string.
8416
b6c78ef2
JB
84172011-07-13 Juanma Barranquero <lekktu@gmail.com>
8418
8419 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8420 binary endings (bug#4440).
8421
1c4dd947
LMI
84222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8423
a2014063
LMI
8424 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8425 which can be pretty annoying (bug#8971).
8426
9c9c2d88
LMI
8427 * jka-compr.el (jka-compr-verbose): New variable, and use
8428 throughout (bug#8971).
8429
1c4dd947
LMI
8430 * info.el (Info-find-file): Fall back on the installation
8431 directory if we can't find the info node anywhere else.
8432
a1c9f41b
SO
84332011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8434
8435 * vc/vc.el (vc-revert-file):
8436 Don't set file time-stamp in the past. (Bug#5181)
8437
536f3d36
LMI
84382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
7152b011
LMI
8440 * files.el (after-find-file): Give a better error message when
8441 trying to find a symlink that points to a file that doesn't exist
8442 (bug#4398).
8443
536f3d36
LMI
8444 * progmodes/cc-vars.el: Remove (probably) misleading comment
8445 (bug#4396).
8446
460c0fba
JB
84472011-07-12 Johan Bockgård <bojohan@gnu.org>
8448
8449 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8450
7a6bda45
CY
84512011-07-12 Chong Yidong <cyd@stupidchicken.com>
8452
8453 * mouse-sel.el: Hack restoring functionality, while keeping
8454 compatibility with 2010-07-03 changes to mouse selection.
8455 (mouse-sel-primary-overlay): New var.
8456 (mouse-sel-selection-alist): Use it.
8457 (mouse-sel-mode): Doc fix; remove points that are default features
8458 of mouse.el.
8459
c79598ef
JB
84602011-07-12 Johan Bockgård <bojohan@gnu.org>
8461
8462 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8463 Fix previous fix (bug#2490).
8464
ff8be6ef
RW
84652011-07-12 Roland Winkler <winkler@gnu.org>
8466
b796c9b7
SM
8467 * textmodes/bibtex.el (bibtex-initialize):
8468 Use pop-to-buffer-same-window.
ff8be6ef
RW
8469 (bibtex-search-entries): Fix interactive call.
8470
296ba3ee
LMI
84712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472
f5242a02 8473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8474 Fontise bytecomp Error lines more correctly (bug#2490).
8475 Fix suggested by Johan Bockgård.
f5242a02 8476
296ba3ee
LMI
8477 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8478
8479 * dired-x.el (dired-guess-default): Use `delete-dups'.
8480
f69fd0d2
CY
84812011-07-12 Chong Yidong <cyd@stupidchicken.com>
8482
8483 * dired.el (dired-mark-prompt):
8484 * dired-aux.el (dired-read-shell-command): Doc fix.
8485
eab5dc07
LMI
84862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8487
b796c9b7
SM
8488 * mail/sendmail.el (sendmail-query-once):
8489 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8490 emacs -Q.
8491
8492 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8493
eab5dc07
LMI
8494 * cus-edit.el (custom-file): Take an optional no-error variable.
8495 (customize-save-variable): Set the variable, and give a warning if
8496 running under "emacs -q".
8497
a1e65d42
JB
84982011-07-11 Juanma Barranquero <lekktu@gmail.com>
8499
8500 * loadhist.el (unload-feature-special-hooks):
8501 Add `auto-coding-functions', `fill-nobreak-predicate' and
8502 `find-directory-functions' (bug#5327).
8503
1d52da10
LMI
85042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505
be958f1d
LMI
8506 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8507
5bedb26c
LMI
8508 * cus-edit.el (custom-guess-name-alist): -alist variables should
8509 use the `alist' type (bug#3120). Suggested by Drew Adams.
8510
1d52da10
LMI
8511 * printing.el: Add documentation to all the `pr-toggle-' commands.
8512
cd394be1 85132011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8514
8515 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8516 backends where it makes sense (bug#2623).
8517
dcc88d8a
LMI
85182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8519
c3de9feb
LMI
8520 * dired-x.el (dired-guess-default): Remove duplicate shell command
8521 entries (bug#2028).
8a93078b 8522 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8523 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8524
dcc88d8a
LMI
8525 * subr.el (remove-duplicates): New conveniency function.
8526
505e3645
LMI
85272011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528
8529 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8530 (bug#1526).
8531
85322011-07-10 Martin Rudalics <rudalics@gmx.at>
8533
8534 * window.el (display-buffer-normalize-default): Don't invert
8535 meaning of even-window-heights. Reported by Eli Zaretskii
8536 <eliz@gnu.org>.
8537
455e4fa1
BR
85382011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8539
8540 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8541
8e0bc3e9
CY
85422011-07-10 Chong Yidong <cyd@stupidchicken.com>
8543
8544 * window.el (display-buffer): Fix arguments to
8545 display-buffer-reuse-window in last change.
8546
fa7c3228
CY
8547 * faces.el (link): Use a less saturated blue on light backgrounds.
8548
8549 * startup.el (fancy-startup-text, fancy-about-text)
8550 (fancy-startup-tail): Use font-lock faces, for background safety.
8551
c0a7f300
BN
85522011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8553
b796c9b7
SM
8554 * emulation/viper-cmd.el (viper-change-state-to-vi):
8555 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8556
4dc2a129
MR
85572011-07-09 Martin Rudalics <rudalics@gmx.at>
8558
8559 * window.el (display-buffer-default-specifiers): Remove.
8560 (display-buffer-macro-specifiers): Remove default specifiers.
8561 (display-buffer-alist): Default to nil.
b796c9b7 8562 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8563 (display-buffer-pop-up-window): Allow splitting internal
8564 windows. Check whether a live window was created.
8565 (display-buffer-other-window-means-other-frame)
8566 (display-buffer-normalize-arguments): Rename to
8567 display-buffer-normalize-argument and rewrite. Set the
8568 other-window specifier.
8569 (display-buffer-normalize-special): New function.
8570 (display-buffer-normalize-options): Rename to
8571 display-buffer-normalize-default and rewrite.
8572 (display-buffer-normalize-options-inhibit): Remove.
8573 (display-buffer-normalize-specifiers): Rewrite.
8574 (display-buffer): Process other-window specifier and call
8575 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8576 more faithfully.
b796c9b7 8577 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8578 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8579 (display-buffer-in-window, display-buffer-alist-set):
8580 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8581 <tassilo@member.fsf.org>.
8582
2d43b8c9
LL
85832011-07-09 Leo Liu <sdl.web@gmail.com>
8584
8585 * register.el (insert-register): Restore accidental change on
8586 2011-06-26. (Bug#9028)
8587
7f9b7c53
GM
85882011-07-09 Glenn Morris <rgm@gnu.org>
8589
8590 * subr.el (remq): Handle the empty list. (Bug#9024)
8591
f042cfd8
AS
85922011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8593
8594 * mail/sendmail.el (send-mail-function): No longer delay custom
8595 initialization.
8596 * custom.el (custom-initialize-delay): Doc fix.
8597
856b2f11
SM
85982011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8601
afae1d68
MA
86022011-07-08 Michael Albinus <michael.albinus@gmx.de>
8603
8604 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8605 human-friendly prompt.
8606
0757af94
SM
86072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8610 provided by a particular plugin.
8611
d760b731
LMI
86122011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8613
8614 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8615 save customizations (with "emacs -Q"), just set the variable
8616 instead of erroring out.
8617
8618 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8619
cd79ce90
JL
86202011-07-08 Juri Linkov <juri@jurta.org>
8621
8622 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8623 (archive-zip-update-case): Use 7z if found by `executable-find'.
8624 The order of searching the available programs is the same as in
8625 `archive-zip-extract' (bug#8968).
8626
14cc04aa
CY
86272011-07-07 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8630 (menu-bar-options-menu): Tweak descriptions.
8631
0a1848ec
LMI
86322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8633
8634 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8635 menu items into verb phrases (bug#1421). Also refill to fit under
8636 80 columns.
8637
f5bd0689
CY
86382011-07-07 Chong Yidong <cyd@stupidchicken.com>
8639
538e85c6
CY
8640 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8641 (Info-read-node-name): Doc fix (Bug#1084).
8642
f5bd0689
CY
8643 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8644 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8645 (end-of-sexp, beginning-of-sexp)
8646 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8647 (forward-symbol, forward-same-syntax, word-at-point)
8648 (sentence-at-point): Doc fix (Bug#1144).
8649
56ec5115
LMI
86502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651
f3f8e37f
LMI
8652 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8653 should cover it (bug#1281).
8654
0757af94 8655 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8656
e9fce1ac 8657 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8658 negotiation fails, then possibly try again with a non-encrypted
8659 connection (bug#9017).
8660
56ec5115
LMI
8661 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8662 be used.
8663
c2f9aec8
RS
86642011-07-07 Richard Stallman <rms@gnu.org>
8665
8666 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8667 property, and handle its changed format.
8668 Look for the correct line number.
8669 Use file's line contents (but not past first =) to find
8670 correct line in message.
8671
ef7b981d 86722011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8673
8674 * international/characters.el (build-unicode-category-table):
8675 Delete it.
0757af94 8676 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8677
0757af94 8678 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8679 to src/chartab.c.
8680 (get-char-code-property): Call unicode-property-table-internal to
8681 load a file. Call get-unicode-property-internal where necessary.
8682 (put-char-code-property): Call unicode-property-table-internal to
8683 load a file. Call put-unicode-property-internal where necessary.
8684 put-unicode-property-internal where necessary.
0757af94
SM
8685 (char-code-property-description):
8686 Call unicode-property-table-internal to load a file.
c805dec0
KH
8687
8688 * international/charprop.el:
8689 * international/uni-bidi.el:
8690 * international/uni-category.el:
8691 * international/uni-combining.el:
8692 * international/uni-comment.el:
8693 * international/uni-decimal.el:
8694 * international/uni-decomposition.el:
8695 * international/uni-digit.el:
8696 * international/uni-lowercase.el:
8697 * international/uni-mirrored.el:
8698 * international/uni-name.el:
8699 * international/uni-numeric.el:
8700 * international/uni-old-name.el:
8701 * international/uni-titlecase.el:
8702 * international/uni-uppercase.el: Regenerate.
8703
8704 * loadup.el: Load international/charprop.el before
8705 international/characters.
8706
e14b388a
CY
87072011-07-07 Chong Yidong <cyd@stupidchicken.com>
8708
8709 * window.el (next-buffer, previous-buffer): Signal an error if
8710 called from a minibuffer window.
8711
8712 * bindings.el: Revert 2011-07-04 change.
8713
354cf0ba
RS
87142011-07-06 Richard Stallman <rms@gnu.org>
8715
8716 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8717 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8718 Treat markers like ints.
8719 (rmail-mime-entity): Doc fix.
8720
a48868a7
LMI
87212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8722
4906cd3d
LMI
8723 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8724 defcustom again for backwards compatibility.
8725
e0457abe
LMI
8726 * simple.el (shell-command-on-region): Fill.
8727
d67f7e1f
LMI
8728 * dired-aux.el (dired-kill-line): Add a doc string.
8729
fe204702
LMI
8730 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8731 to "\\sw\\|\\s_" (bug#358).
8732
a48868a7
LMI
8733 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8734 (dired-unmark-backward): Ditto.
8735 (dired-flag-backup-files): Ditto.
8736
8737 * dired-x.el (dired-mark-sexp): Ditto.
8738
aa8a705c
RS
87392011-07-06 Richard Stallman <rms@gnu.org>
8740
8741 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8742 (rmail-mime-entity): New arg TRUNCATED.
8743 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8744 New functions.
8745 (rmail-mime-save): Warn if entity is truncated.
8746 (rmail-mime-toggle-hidden): Likewise, for showing.
8747 (rmail-mime-process-multipart): Record when an entity is truncated.
8748
a9a936b9
RS
8749 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8750 if ENTITY is a string.
8751
1f2b92cb
LMI
87522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753
f4f73198 8754 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8755 of faces when `M-C-x'-ing their definitions (bug#8378).
8756 Also clean up the code slightly.
f4f73198 8757
12b16734 8758 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8759 because that makes the colors go away.
12b16734 8760
f0691d22
LMI
8761 * mail/sendmail.el (send-mail-function): Change the default to
8762 `sendmail-query-once'.
9e87df06 8763 (sendmail-query-once): Add an autoload cookie.
f0691d22 8764
1f2b92cb
LMI
8765 * net/network-stream.el (network-stream-open-starttls): Try using
8766 a plain connection even if the server offered STARTTLS, and we
8767 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8768 capability. This should make smtpmail.el work in slightly more
8769 configurations.
8770
1cdd2a1b
MA
87712011-07-06 Michael Albinus <michael.albinus@gmx.de>
8772
8773 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8774 New defun.
8775 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8776
fbcc67e2
MM
87772011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8778
8779 * progmodes/sql.el: Version 3.0
0757af94 8780 (sql-product-alist): Add product :completion-object,
fbcc67e2 8781 :completion-column, and :statement attributes.
0757af94 8782 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8783 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8784 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8785 ansi keywords.
8786 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8787 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8788 (sql-oracle-show-reserved-words): New function for development.
8789 (sql-product-font-lock): Simplify for source code buffers.
8790 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8791 New functions.
8792 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8793 (sql-mode-map): Add statement movement functions.
8794 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8795 New variable.
fbcc67e2
MM
8796 (sql-statement-regexp, sql-beginning-of-statement)
8797 (sql-end-of-statement, sql-signum): New functions.
0757af94 8798 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8799 (sql-show-sqli-buffer): Bug fix.
8800 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8801 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8802 with sql-interactive-mode.
8803 (sql-save-connection): Save buffer local settings.
0757af94 8804 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8805 (sql-product-interactive): Bug fix.
8806 (sql-preoutput-hold): New variable.
8807 (sql-interactive-remove-continuation-prompt): Bug fixes.
8808 (sql-debug-redirect): New variable.
8809 (sql-str-literal): New function.
8810 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8811 Redesign.
fbcc67e2
MM
8812 (sql-oracle-save-settings, sql-oracle-restore-settings)
8813 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8814 (sql-completion-object, sql-completion-column)
8815 (sql-completion-sqlbuf): New variables.
8816 (sql-build-completions-1, sql-build-completions)
8817 (sql-try-completion): New functions.
8818 (sql-read-table-name): Use them.
8819 (sql-contains-names): New buffer local variable.
8820 (sql-list-all, sql-list-table): Use it.
8821 (sql-oracle-completion-types): New variable.
8822 (sql-oracle-completion-object, sql-sqlite-completion-object)
8823 (sql-postgres-completion-object): New functions.
8824
d4eaeab1
GM
88252011-07-06 Glenn Morris <rgm@gnu.org>
8826
8827 * window.el (pop-to-buffer): Doc fix.
8828
322b7dab 88292011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8830
8831 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8832
322b7dab 88332011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8834
322b7dab 8835 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8836
322b7dab 8837 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8838
605dd5bf
CY
88392011-07-05 Chong Yidong <cyd@stupidchicken.com>
8840
8841 * button.el (button): Inherit from link face. Suggested by Dan
8842 Nicolaescu.
8843
7dbfa719
SM
88442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8845
3db614b0
SM
8846 * progmodes/gdb-mi.el: Fit in 80 columns.
8847 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8848 switch-to-buffer.
8849
7dbfa719
SM
8850 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8851 if imenu is simply not configured (bug#8941).
8852
919d884a
KM
88532011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8854
8855 * allout.el (allout-post-undo-hook): New allout outline-change
8856 event hook to signal undo activity.
8857 (allout-post-command-business): Run allout-post-undo-hook if an
8858 undo just occurred.
7dbfa719
SM
8859 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8860 * allout-widgets.el (allout-widgets-after-undo-function):
8861 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8862 in the vicinity of an undo.
8863 (allout-widgets-mode): Include allout-widgets-after-undo-function
8864 on the new allout-post-undo-hook.
8865
450a0f09
SM
88662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8869 Let define-derived-mode define it.
8870 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8871 cycles of abbrev-table inheritance (bug#8998).
8872
2de69e00
RW
88732011-07-05 Roland Winkler <winkler@gnu.org>
8874
8875 * textmodes/bibtex.el: Add support for biblatex.
8876 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8877 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8878 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8879 (bibtex-entry-alist, bibtex-field-alist): New variables.
8880 (bibtex-entry-field-alist): Obsolete alias for
8881 bibtex-BibTeX-entry-alist.
8882 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8883 (bibtex-set-dialect): New command.
8884 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8885 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8886 Bind via bibtex-set-dialect.
2de69e00
RW
8887 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8888 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8889 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8890 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8891 Define via bibtex-set-dialect.
450a0f09
SM
8892 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8893 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8894 (bibtex-vec-push, bibtex-vec-incr): New functions.
8895 (bibtex-format-entry, bibtex-field-list)
8896 (bibtex-print-help-message, bibtex-validate)
8897 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8898
2dcdbdd9
SM
88992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * progmodes/compile.el (compilation-goto-locus):
8902 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8903 * bs.el (bs-cycle-next, bs-cycle-previous):
8904 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8905 * bindings.el (mode-line-other-buffer):
8906 * autoinsert.el (auto-insert):
8907 * arc-mode.el (archive-extract):
8908 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8909
b27640fe
JB
89102011-07-05 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8913 Fix check of `emacs-lock-unlockable-modes'.
8914 Coerce true values of `emacs-lock--try-unlocking' to t.
8915
53bbe3ad
JB
89162011-07-05 Juanma Barranquero <lekktu@gmail.com>
8917
8918 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8919 * emacs-lock.el: New file.
8920
1d3cdbc7
JD
89212011-07-05 Julien Danjou <julien@danjou.info>
8922
8923 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8924 than `boundp' to check if face is set.
8925
9173deec
JB
89262011-07-05 Juanma Barranquero <lekktu@gmail.com>
8927
8928 * register.el (registerv-make):
8929 * window.el (window-min-height): Fix typos in docstrings.
8930
869795d6
JD
89312011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8932
9173deec 8933 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8934 Update doc string.
8935
b768cdcd
JB
89362011-07-04 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * server.el (server-execute): Catch quit and call
8939 `server-return-error' to pass the error back to emacsclient and
8940 close the connection (bug#8942).
8941
13aa217b
KM
89422011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8943
8944 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8945 insecure exception for current topic. Also note that auto-saves
8946 are handled differently.
8947
5d3385a0 8948 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8949 State variables for tracking auto-save inhibition situation.
8950
8951 (allout-write-contents-hook-handler): Rename from
8952 'allout-write-file-hook-handler', and describe how it depends on
8953 write-contents-functions sensitivity to non-nil value to prevent
8954 file write.
8955
8956 (allout-auto-save-hook-handler): Remove. auto-save does not check
8957 this in individual buffers, only in the starting buffer, so this
8958 is not the right way for us to inhibit auto-save in a buffer
8959 according to its condition.
8960
8961 (allout-mode): Use new allout-write-contents-hook-handler, and
8962 only with write-contents-functions. Remove auto-save provisions -
8963 they're implemented elsewhere.
8964
8965 (allout-before-change-handler): If undo is in progress, note that
8966 for attention of allout-post-command-business.
8967
8968 (allout-post-command-business): If the command we're following was
8969 an undo, check for change in the status of encrypted items and
8970 adjust auto-save inhibitions accordingly.
8971
8972 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8973 according to whether there are or aren't any plain-text topics
8974 pending encryption.
8975
2dcdbdd9 8976 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8977 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8978 if there are plain-text topics pending encryption.
13aa217b
KM
8979
8980 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8981 buffer-saved-size and some allout state to not inhibit auto-saves
8982 if there are no longer any plain-text topics pending encryption.
8983
0757af94
SM
8984 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8985 No longer provide for exemption of the current topic.
13aa217b 8986
ac89b32c
JL
89872011-07-04 Juri Linkov <juri@jurta.org>
8988
8989 Add 7z operations to delete and save changed members (bug#8968).
8990 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8991 New defcustoms.
8992 (archive-7z-write-file-member): New function.
8993 (archive-7z-summarize): Fix the number of dashes in the
8994 listing output.
8995
8fa39615
SM
89962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8999 (bug#8958).
9000
2f11b3f1
CY
90012011-07-04 Chong Yidong <cyd@stupidchicken.com>
9002
d66fef2b
CY
9003 * bindings.el: Ignore next-buffer and previous-buffer in
9004 minibuffer-local-map.
9005
2f11b3f1
CY
9006 * font-lock.el (font-lock-builtin-face): Change light background
9007 color to dark slate blue (Bug#6693).
9008
f932a347
WD
90092011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9010
9011 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9012
c8af70e1
SM
90132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9016 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9017 Add switch-to-buffer.
9018
f158badc
LMI
90192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * isearch.el (isearch-search-fun-function): Clarify further the
9022 meaning of the function returned.
9023
6d95bd46
MA
90242011-07-04 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9027
9028 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9029 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9030 Use it.
9031 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9032 `tramp-default-remote-path' does not exist.
9033 (tramp-send-command-and-read): New optional argument NOERROR.
9034 (tramp-open-connection-setup-interactive-shell)
9035 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9036 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9037 (tramp-process-sentinel): Flush also process' connection property.
9038 (tramp-sh-handle-start-file-process): Do not set process
9039 sentinel. It is done now ...
9040 (tramp-maybe-open-connection): ... here. (Bug#8929)
9041
909e6b67
MK
90422011-07-04 MON KEY <monkey@sandpframing.com>
9043
9044 * play/animate.el (animate-string): Doc fixes and allow changing
9045 the buffer name (bug#5417).
9046
90472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9048
c8af70e1 9049 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9050
f34755dc
PE
90512011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9052
396cec72
PE
9053 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9054 This is simpler and helps future-proof the code.
9055 (timer-until): Use time-subtract and float-time.
08235028 9056 (timer--time-less-p): Use time-less-p.
f34755dc 9057
56e6cc31
JB
90582011-07-04 Juanma Barranquero <lekktu@gmail.com>
9059
3abb79e5
JB
9060 * type-break.el (timep): Use the value of `float-time' to avoid a
9061 byte-compiler warning.
9062
56e6cc31
JB
9063 * server.el (server-eval-and-print): Return any result, even nil.
9064
7b9430b4
PE
90652011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9066
9067 * type-break.el: Accept time formats that the builtins accept.
9068 (timep, type-break-time-difference): Accept any format that
9069 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9070 This is simpler and helps future-proof the code.
9071 (type-break-time-difference): Round rather than ignoring
9072 subseconds components.
9073
3034e9e7
LMI
90742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
9076 * info.el (Info-apropos-matches): Make non-interactive, since it
9077 doesn't seem to do anything useful as a command (bug#8829).
9078
1485f4c0
CY
90792011-07-03 Chong Yidong <cyd@stupidchicken.com>
9080
9081 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9082 Move from faces.el.
1485f4c0
CY
9083 (frame-default-terminal-background): New function.
9084
9085 * custom.el (custom-push-theme): Don't record faces in `changed'
9086 theme; this doesn't work correctly for per-frame face settings.
9087 (disable-theme): Use face-set-after-frame-default to reset faces.
9088 (custom--frame-color-default): New function.
9089
9fa3dd45
LMI
90902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9091
c8af70e1 9092 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9093 (bug#8769).
9094
6cbbc20c
KR
90952011-03-29 Kevin Ryde <user42@zip.com.au>
9096
9097 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9098 `perl-Test2' extend to match possible "fail #N" rep count
9099 (bug#8377).
9100
c7f98048
LMI
91012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9102
65676592
LMI
9103 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9104 `smtpmail-via-smtp' now returns the error instead of nil.
9105
c7f98048
LMI
9106 * isearch.el (isearch-search-fun-function): Clarify the doc string
9107 (bug#8101).
9108
56e6cc31 91092011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9110
9111 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9112 unnecessary spaces (bug#8987).
9113
2b216704
LMI
91142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9115
9116 * net/network-stream.el (open-network-stream): Use the
9117 :end-of-capability command thoughout.
9118
91192011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9120
9121 * net/network-stream.el (open-network-stream): Add the
9122 :end-of-capability command parameter, used by pop3.el.
9123
36adf6ce
LMI
91242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125
1ca0da0e
LMI
9126 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9127
fc00f69c
LMI
9128 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9129 for list)" (bug#6475).
9130
28fd8759 9131 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9132 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9133 an error (bug#6297).
9134
0dd8b6da
LMI
9135 * man.el (Man-reference-regexp): Allow matching possible
9136 word-wrapped references (bug#6289).
9137
ce1438d6
LMI
9138 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9139 for consistency with the other vc buffers (bug#6197).
9140 (vc-checkin): Ditto.
9141
9142 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9143
36adf6ce
LMI
9144 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9145
e83cc1f7
LMI
91462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9147
8a20ca4c
LMI
9148 * custom.el (defcustom): Clarify that :set is only used in the
9149 Customize user interface (bug#6089).
9150
83319045
LMI
9151 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9152 associated with a file, refuse to run instead of erroring out
9153 (bug#6084).
9154
a8392169
LMI
9155 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9156 the doc string, since it appears that using `fill-column' always
9157 controls the width (bug#7845).
9158
e83cc1f7
LMI
9159 * simple.el (shell-command-on-region): Say where the error output
9160 went if `shell-command-default-error-buffer' is set (bug#6857).
9161
e47ca23b
KM
91622011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9163
9164 * allout.el (allout-yank-processing): Adjust cursor position for
9165 backwards-deleted space.
9166
9167 (allout-rebullet-heading): Register changes with
9168 allout-exposure-changed-hook, so the modified topic is properly
9169 decorated.
9170
5cf56143
LMI
91712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9172
08549772
LMI
9173 * minibuffer.el (completion-in-region): Document PREDICATE
9174 (bug#7136).
9175
48e96771
LMI
9176 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9177 of keyword/argument pairs (bug#6904).
9178
c8af70e1
SM
9179 * replace.el (multi-occur):
9180 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9181
e17d05e2
LMI
91822011-07-02 Drew Adams <drew.adams@oracle.com>
9183
9184 * dired.el (dired-mark-if): Make the message about whether it's
9185 marking or unmarking clearer (bug#8523).
9186
063b0e45
LMI
91872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9188
9189 * disp-table.el (display-table-print-array): New function.
9190 (describe-display-table): Use it to print the vectors more pretty
9191 (Bug#8859).
9192
28545e04
MR
91932011-07-02 Martin Rudalics <rudalics@gmx.at>
9194
9195 * window.el (window-state-get-1): Don't assign clone numbers.
9196 Add clone-of item to list of window parameters.
9197 (window-state-put-2): Don't process clone numbers.
9198 (display-buffer-alist): Fix doc-string.
9199
3349e122
SM
92002011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * subr.el (remq): Don't allocate if it's not needed.
9203 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9204 (keymap--merge-bindings): New functions.
9205 (keymap-canonicalize): Use them to refine the canonicalization.
9206 * minibuffer.el (minibuffer-local-completion-map)
9207 (minibuffer-local-must-match-map): Move initialization from C.
9208 (minibuffer-local-filename-completion-map): Move initialization from C;
9209 don't inherit from anything here.
9210 (minibuffer-local-filename-must-match-map): Make obsolete.
9211 (completing-read-default): Use make-composed-keymap to combine
9212 minibuffer-local-filename-completion-map with either
9213 minibuffer-local-must-match-map or
9214 minibuffer-local-filename-completion-map.
9215
d224ac83
GM
92162011-07-01 Glenn Morris <rgm@gnu.org>
9217
3de63bf8
GM
9218 * type-break.el (type-break-time-sum): Use dolist.
9219
d224ac83
GM
9220 * textmodes/flyspell.el (flyspell-word-search-backward):
9221 Replace CL function.
9222
1a1e3f32
SM
92232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9224
fe3f64d5
SM
9225 * mouse.el (mouse--strip-first-event): New function.
9226 (function-key-map): Use it to map fringe clicks to normal clicks
9227 by default.
9228
eb604e34
SM
9229 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9230 (vc-bzr-revision-completion-table): Add support for annotate and date.
9231
1a1e3f32
SM
9232 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9233 inherit from parent.
9234
5bd35902
LMI
92352011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9236
ace6c69c 9237 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9238 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9239
191e2bed
LMI
9240 * dired.el (dired-mode): Fix up the doc string as suggested by
9241 Drew Adams (bug#8817).
9242
5bd35902
LMI
9243 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9244 cookie, since the manual says that it should be possible to add
9245 this function to `find-file-hook' (bug#8709).
9246
eee8207a
TZ
92472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9248
9249 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9250 here. Noted Ted Zlatanov as the maintainer.
9251 (cfengine-common-settings, cfengine-common-syntax): New functions
9252 to set up common things between `cfengine-mode' and
9253 `cfengine3-mode'.
9254 (cfengine3-mode): New mode.
9255 (cfengine3-defuns cfengine3-defuns-regex
9256 (cfengine3-class-selector-regex cfengine3-category-regex)
9257 (cfengine3-vartypes cfengine3-font-lock-keywords)
9258 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9259 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9260
36b148cf
MA
92612011-07-01 Michael Albinus <michael.albinus@gmx.de>
9262
9263 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9264
9265 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9266
0bf4ba9a
MR
92672011-07-01 Martin Rudalics <rudalics@gmx.at>
9268
9269 * window.el (same-window-buffer-names, same-window-regexps)
9270 (same-window-p, special-display-frame-alist)
9271 (special-display-popup-frame, special-display-function)
9272 (special-display-buffer-names, special-display-regexps)
9273 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9274 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9275 (split-window-preferred-function, split-height-threshold)
9276 (split-width-threshold, even-window-heights)
9277 (display-buffer-mark-dedicated, window-splittable-p)
9278 (split-window-sensibly, window-safely-shrinkable-p):
9279 Un-obsolete.
9280 (display-buffer): Don't spread args with function specifier
9281 because special-display-popup-frame won't like it.
9282
35837f51
PE
92832011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9284
d0672f86
PE
9285 Time-stamp simplifications and fixes.
9286 These improve accuracy slightly, and future-proof the code
9287 against some potential changes to current-time format.
9288
b9444d97
PE
9289 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9290 by using time-since and float-time.
9291
0ef923dc
PE
9292 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9293 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9294 + NNN microseconds".
9295
2f81380d
PE
9296 * type-break.el (type-break-time-sum): Rewrite using time-add.
9297
845b5c3e
PE
9298 * play/hanoi.el (hanoi-current-time-float): Remove.
9299 All uses replaced by float-time.
9300
ee6f1be0
PE
9301 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9302 This yields a more-accurate answer.
9303 (rng-time-to-float): Remove; no longer needed.
9304
fe955043
PE
9305 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9306
5777162a
PE
9307 * calendar/timeclock.el (timeclock-seconds-to-time):
9308 Defalias to seconds-to-time, since they're the same thing.
9309
3103f8b6 9310 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9311 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9312 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9313
0e61a35f
SM
93142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * window.el (bury-buffer): Don't iconify the only frame.
9317 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9318 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9319
ddd63a1e
CY
93202011-07-01 Chong Yidong <cyd@stupidchicken.com>
9321
0e61a35f
SM
9322 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9323 Add mouse-yank-primary.
ddd63a1e 9324
055f4923
TZ
93252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9326
9327 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9328
6a2fb145
SM
93292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9332 (find-library-name): Use it to find relative load names when provided
9333 absolute file name (bug#8803).
9334
fd4983f2
LMI
93352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
887d14ad
LMI
9337 * textmodes/flyspell.el (flyspell-word): Consider words that
9338 differ only in case as potential doublons (bug#5687).
9339
c53dc7fc
LMI
9340 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9341 Remove two rather uninteresting debugging-like messages to make
9342 debbugs.el more silent.
9343
fd4983f2
LMI
9344 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9345 a password-like phrase.
9346
7a71b18d 93472011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9348
9349 * progmodes/cc-guess.el: New file.
9350
6a2fb145 9351 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9352
9353 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9354 derived from `c-basic-common-init'.
9355
9356 * progmodes/cc-mode.el (top-level): Require cc-guess.
9357 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9358
1fa280a3
LM
93592011-06-30 Lawrence Mitchell <wence@gmx.li>
9360
9361 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9362
e6597158
AM
93632011-06-30 Alan Mackenzie <acm@muc.de>
9364
1fa280a3
LM
9365 * progmodes/cc-engine.el (c-guess-continued-construct):
9366 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9367 lock is disabled. Name this case as "CASE G".
9368
68ba37fb
KM
93692011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9370
9371 * allout.el (allout-yank-processing): Fix injection of extra space
9372 between bullet and non-whitespace character in first topic when
9373 pasting, ensuring that the actual spacing in the pasted topic
9374 following the bullet char is preserved. This extra space was
9375 causing pasted encrypted topics to get a decrypted status even
9376 when the content was actually still encrypted. Now the decryption
9377 status from before the paste is preserved.
9378
9379 (allout-flag-region): Set all allout overlays so they evaporate
9380 when reduced to zero length (evanescent), to prevent overlay
9381 leakage.
9382
887a0b34
GM
93832011-06-30 Glenn Morris <rgm@gnu.org>
9384
94b9acce
GM
9385 * w32-fns.el (w32-charset-info-alist): Declare.
9386
1d9b46d4
GM
9387 * find-dired.el (find-grep-options): Simplify.
9388
cc232200
GM
9389 * term/ns-win.el (ns-set-resource): Declare.
9390
28e77c46
GM
9391 * ses.el (row, col): Declare dynamic variables honestly.
9392
887a0b34
GM
9393 * textmodes/reftex-parse.el (index-tags): Declare.
9394
658d8eb8
CY
93952011-06-30 Chong Yidong <cyd@stupidchicken.com>
9396
9397 * cus-edit.el (customize-push-and-save): New function.
9398
9399 * files.el (hack-local-variables-confirm): Use it.
9400
1fa280a3
LM
9401 * custom.el (load-theme): New arg NO-CONFIRM.
9402 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9403 (custom-enabled-themes): Doc fix.
9404
9405 * cus-theme.el (customize-create-theme)
9406 (custom-theme-merge-theme): Callers to load-theme changed.
9407
bb617717
LMI
94082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9409
d61bdd5d
LMI
9410 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9411 short URLs have at least one dot in them (bug #7614).
9412
bb617717
LMI
9413 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9414 nil, because using a pty is apparently too slow (bug #895).
9415
2f31f37a
LMI
94162011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * mail/sendmail.el (sendmail-query-once): New function.
9419 (sendmail-query-once-function): New variable.
9420
3076b24e
GM
94212011-06-29 Glenn Morris <rgm@gnu.org>
9422
faf2a174
GM
9423 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9424
3076b24e
GM
9425 * ses.el (top-level): Require cl when compiling.
9426 (ses-set-localvars): Fix error statement.
9427 Call it at compile time to silence a storm of warnings.
9428
5386012d
MR
94292011-06-29 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (normalize-live-buffer): Rename to
9432 window-normalize-buffer.
9433 (normalize-live-frame): Rename to window-normalize-frame.
9434 (normalize-any-window): Rename to window-normalize-any-window.
9435 (normalize-live-window): Rename to window-normalize-live-window.
9436 (make-window-atom): Rename to window-make-atom.
9437 (window-resize-reset): Rename to window--resize-reset.
9438 (window-resize-reset-1): Rename to window--resize-reset-1.
9439 (resize-mini-window): Rename to window--resize-mini-window.
9440 (resize-subwindows-skip-p): Rename to
9441 window--resize-subwindows-skip-p.
9442 (resize-subwindows-normal): Rename to
9443 window--resize-subwindows-normal.
9444 (resize-subwindows): Rename to window--resize-subwindows.
9445 (resize-other-windows): Rename to window--resize-siblings.
9446 (resize-this-window): Rename to window--resize-this-window.
9447 (resize-root-window): Rename to window--resize-root-window.
9448 (resize-root-window-vertically): Rename to
9449 window--resize-root-window-vertically.
9450 (normalize-buffer-to-display): Rename to
9451 window-normalize-buffer-to-display.
9452 (normalize-buffer-to-switch-to): Rename to
9453 window-normalize-buffer-to-switch-to.
9454 Correspondingly update all callers of the functions listed
9455 above.
9456 (display-buffer-alist, display-buffer-normalize-arguments)
9457 (display-buffer-normalize-options, display-buffer)
9458 (display-buffer-alist-set): Use "function" instead of
9459 "fun-with-args".
9460
1176868d
CY
94612011-06-28 Chong Yidong <cyd@stupidchicken.com>
9462
9463 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9464 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9465 debbugs.gnu.org. Mention acknowledgment email.
9466
20a7a65f
LMI
94672011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9468
9469 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9470 buffer multibyteness, since it shouldn't matter.
9471
5f45cca5
MR
94722011-06-28 Martin Rudalics <rudalics@gmx.at>
9473
9474 * window.el (display-buffer-in-side-window): Handle dedicated
9475 windows as in display-buffer-reuse-window.
9476 (display-buffer-normalize-alist): Use value of override
9477 specifier.
9478 (display-buffer-normalize-specifiers): Use value of
9479 other-window-means-other-frame specifier.
9480 (display-buffer-alist): Rewrite some texts in widgets.
9481 (display-buffer): Spread arguments when calling function
9482 specified by fun-with-args.
9483
ad85fe1f
DD
94842011-06-28 Deniz Dogan <deniz@dogan.se>
9485
1fa280a3
LM
9486 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9487 Unnest `let'.
da68c4c8 9488
ad85fe1f
DD
9489 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9490 selectors (Bug#5732).
ec49bd31 9491 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9492
a08cc025
JA
94932011-06-27 Jari Aalto <jari.aalto@cante.net>
9494
9495 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9496 (eshell-ls-date-format): New defcustom.
9497 (eshell-ls-file): Use it.
9498
e2b551c5
SM
94992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9502
8982b231
KY
95032011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9504
9505 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9506 (ange-ftp-make-tmp-name): New arg.
9507 (ange-ftp-file-local-copy): Use it.
9508
36c9fa27
J
95092011-06-27 Jambunathan K <kjambunathan@gmail.com>
9510
9511 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9512 no-conversion (Bug#8870).
9513
d68443dc
MR
95142011-06-27 Martin Rudalics <rudalics@gmx.at>
9515
9516 * window.el (window-right, window-left, window-child)
9517 (window-child-count, window-last-child)
9518 (window-iso-combination-p, walk-window-tree-1)
9519 (window-atom-check-1, window-tree-1, delete-window)
9520 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9521 new naming conventions - window-vchild, window-hchild,
9522 window-next and window-prev are now called window-top-child,
9523 window-left-child, window-next-sibling and window-prev-sibling
9524 respectively.
d615d6d2
MR
9525 (resize-window-reset): Rename to window-resize-reset.
9526 (resize-window-reset-1): Rename to window-resize-reset-1.
9527 (resize-window): Rename to window-resize.
9528 (window-min-height, window-min-width)
9529 (resize-mini-window, resize-this-window, resize-root-window)
9530 (resize-root-window-vertically, adjust-window-trailing-edge)
9531 (enlarge-window, shrink-window, maximize-window)
9532 (minimize-window, delete-window, quit-restore-window)
9533 (split-window, balance-windows, balance-windows-area-adjust)
9534 (balance-windows-area, window-state-put-2)
9535 (display-buffer-even-window-sizes, display-buffer-set-height)
9536 (display-buffer-set-width, set-window-text-height)
9537 (fit-window-to-buffer): Rename all "resize-window" prefixed
9538 calls to use the "window-resize" prefix convention.
9539 (display-buffer-alist): Fix symbol for label specifier.
9540 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9541 corresponding specifier.
9542 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9543
b6458526
VB
95442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9545
9546 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9547 convention.
9548 (ses-call-printer): Does not pass an empty string to formatter when the
9549 cell is empty to keep from barking printer Calc math-format-value.
9550
d31fd9ac
RS
95512011-06-27 Richard Stallman <rms@gnu.org>
9552
43d5bf84
RS
9553 * battery.el (battery-mode-line-limit): New variable.
9554 (battery-update): Handle it.
9555
d31fd9ac
RS
9556 * mail/rmailmm.el (rmail-mime-process-multipart):
9557 Handle truncated messages.
9558
819a6054
GM
95592011-06-27 Glenn Morris <rgm@gnu.org>
9560
9561 * progmodes/flymake.el (flymake-err-line-patterns):
9562 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9563
cedc73f2
VB
95642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9565
819a6054 9566 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9567 (ses--clean-!, ses--clean-_): New functions.
9568 (ses-range): Add configurability of readout order, and conversion
9569 to Calc vector.
9570
5e5d49b6
VB
9571 * ses.el (ses-repair-cell-reference-all): New function.
9572 (ses-cell-symbol): Set macro as safe, so that it can be used in
9573 formulas.
9574
56e6cc31 9575 * ses.el: Update cycle detection algorithm.
90ca8b49 9576 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9577 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9578 (ses-set-localvars): New function.
9579 (ses-make-cell): Add property-list as a cell element.
9580 (ses-cell-property-get-fun, ses-cell-property-get)
9581 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9582 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9583 New functions.
90ca8b49
VB
9584 (ses-cell-property-set, ses-cell-property-pop)
9585 (ses-cell-property-get-handle): New macro.
9586 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9587 New aliases, used for code readability.
9588 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9589 cycle detection.
9590 (ses-self-reference-early-detection): New defcustom.
fac916bf 9591 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9592 (ses-mode): Use ses-set-localvars.
9593 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9594 before lauching the update processing.
9595 (ses-initialize-Dijkstra-attempt): New function.
9596 (ses-recalculate-cell): Update for cycle detection based on
9597 Dijkstra algorithm.
9598
2bb63e81
VB
9599 * ses.el: Fix commenting and indenting convention.
9600
c9d29fb8
SM
96012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * bs.el (bs-cycle-next): Complete last change.
9604
d8e4b68b
JB
96052011-06-27 Drew Adams <drew.adams@oracle.com>
9606
9607 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9608
40098786
LMI
96092011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9610
c9d29fb8
SM
9611 * net/network-stream.el (network-stream-open-starttls):
9612 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9613 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9614
40098786
LMI
9615 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9616 to binary to possibly avoid line encoding issues on Windows (among
9617 other things).
9618
468d09d4
LMI
96192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9620
9621 * net/network-stream.el (open-network-stream): Return an :error
9622 saying what the problem was, if possible.
9623
9624 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9625 server.
9626
9627 * net/network-stream.el (network-stream-open-starttls): If we
9628 wanted to use STARTTLS, and the server offered it, but we weren't
9629 able to because we had no STARTTLS support, then close the connection.
9630 (open-network-stream): Return an :error element, if present.
9631
16f07dd7
CY
96322011-06-26 Chong Yidong <cyd@stupidchicken.com>
9633
88821ca0
CY
9634 * hl-line.el (hl-line-sticky-flag): Doc fix.
9635 (global-hl-line-sticky-flag): New option (Bug#8323).
9636 (global-hl-line-highlight): Obey it.
9637
16f07dd7
CY
9638 * vc/vc.el (vc-revert-show-diff): Default to t.
9639
6b5ccddf
KM
96402011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9641
c9d29fb8
SM
9642 * allout-widgets.el (allout-widgets-post-command-business):
9643 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9644 undecorated when an isearch is continued past, and isearch
9645 automatically collapses them. This leads to "widget leaks", where
9646 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9647 hidden widgets can slow down cursor travel, substantially.
9648 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9649 so we're doing without this nicety.
9650
9651 (allout-widgets-tally-string): Don't try to do a hash-table-count
9652 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9653 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9654 *Messages* when allout-widgets-maintain-tally is t.
9655
355f2e07
MR
96562011-06-26 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (display-buffer-normalize-argument): Rename to
9659 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9660 LABEL argument. Respect special-display-function when popping up
9661 a new frame. Fix code searching for a window showing the buffer
9662 on another frame.
c9d29fb8
SM
9663 (display-buffer-normalize-specifiers):
9664 Call display-buffer-normalize-arguments.
355f2e07
MR
9665 (display-buffer-in-window): Don't undedicate the window if its
9666 buffer remains the same.
9667 Reported by Drew Adams <drew.adams@oracle.com>.
9668 (display-buffer-alist): Add choice for same-window macro
9669 specfier.
9670 (display-buffer): Mention special meaning of LABEL argument in
9671 doc-string. Fix quoting. Don't pop up a new frame even as
9672 fallback.
9673
7ca8fc42
JB
96742011-06-26 Juanma Barranquero <lekktu@gmail.com>
9675
9676 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9677 avoid deleting the current window in some cases (bug#8911).
9678
bc312254
AS
96792011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9680
9681 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9682 (Bug#8934)
9683
2db18f3f
LMI
96842011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9685
c9d29fb8
SM
9686 * net/network-stream.el (network-stream-open-starttls):
9687 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9688 (network-stream-open-tls): Ditto.
9689
6302e0d3
LL
96902011-06-26 Leo Liu <sdl.web@gmail.com>
9691
9692 * register.el (registerv): New struct.
9693 (registerv-make): New function.
c9d29fb8
SM
9694 (jump-to-register, describe-register-1, insert-register):
9695 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9696 struct. (Bug#8415)
9697
5fdd4046
CY
96982011-06-26 Chong Yidong <cyd@stupidchicken.com>
9699
2afef60a
CY
9700 * vc/vc.el (vc-revert-show-diff): New defcustom.
9701 (vc-diff-internal): New arg specifying diff buffer.
9702 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9703 reuse an existing *vc-diff* buffer (Bug#8927).
9704
5fdd4046
CY
9705 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9706
e93db24a
GM
97072011-06-26 Glenn Morris <rgm@gnu.org>
9708
9709 * progmodes/f90.el (f90-critical-indent): New option.
9710 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9711 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9712 (f90-mode): Doc fix.
9713 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9714 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9715 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9716 (f90-match-end): Handle block, critical.
9717
eefff499
GM
97182011-06-25 Glenn Morris <rgm@gnu.org>
9719
f6ba4cc9
GM
9720 * calendar/diary-lib.el (diary-included-files): Doc fix.
9721 (diary-include-files): New function, extracted from
9722 diary-include-other-diary-files and diary-mark-included-diary-files.
9723 (diary-include-other-diary-files, diary-mark-included-diary-files):
9724 Just call diary-include-files.
9725 (diary-mark-entries): Reset diary-included-files on first call.
9726
16712304
GM
9727 * calendar/diary-lib.el (diary-mark-entries)
9728 (diary-mark-included-diary-files):
9729 Visit included diary-files in temp buffers.
9730
5d8e0d43
GM
9731 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9732 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9733 (f90-start-block-re, f90-imenu-generic-expression)
9734 (f90-looking-at-program-block-start, f90-no-block-limit):
9735 Add support for submodules.
9736
ccf7a5d5
GM
9737 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9738 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9739
11fdef7d 97402011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9741
9742 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9743 buffer-file-type before setting its value, to avoid disastrous
eefff499 9744 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9745
74f53697
JB
97462011-06-25 Juanma Barranquero <lekktu@gmail.com>
9747
9748 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9749
9750 * ses.el (ses-unload-function):
9751 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9752
9753 * proced.el (proced-unload-function):
9754 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9755
18a4ce5e
AR
97562011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9757
9758 * server.el (server-create-window-system-frame): Add parameters arg.
9759 (server-process-filter): Doc fix. Handle frame-parameters.
9760
519d22cc
JB
97612011-06-25 Juanma Barranquero <lekktu@gmail.com>
9762
9763 Fix bug#8730, bug#8781.
9764
9765 * loadhist.el (unload--set-major-mode): New function.
9766 (unload-feature): Use it.
9767
9768 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9769 (python-unload-function): New function.
9770
c206f5b0
SM
97712011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9774
f9ad64f3
GS
97752011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9776
9777 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9778 the candidates list.
9779
7d0da90e
JB
97802011-06-24 Juanma Barranquero <lekktu@gmail.com>
9781
9782 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9783
14b4e83d
RS
97842011-06-23 Richard Stallman <rms@gnu.org>
9785
9786 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9787 (rmail-variables): Set next-error-move-function.
9788 (rmail-what-message): Take argument POS.
9789 (rmail-next-error-move): New function.
9790
273d2baf
SM
97912011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9794 messages for adjacent non-terminals.
9795
56c2cc9a
RS
97962011-06-23 Richard Stallman <rms@gnu.org>
9797
9798 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9799 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9800 (rmail-start-mail): Don't specify use of rmail-mail-return;
9801 that's done by mail-bury now.
9802 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9803
d59eb518
MA
98042011-06-23 Michael Albinus <michael.albinus@gmx.de>
9805
9806 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9807 SIZE is a number.
9808
02cfc6d6
MR
98092011-06-23 Martin Rudalics <rudalics@gmx.at>
9810
9811 * window.el (get-lru-window, get-mru-window)
9812 (get-largest-window): Never return a minibuffer window.
9813 (display-buffer-pop-up-window): Fix a bug that could lead to
9814 reusing the minibuffer window.
9815 (display-buffer): Pass original specifier argument to
9816 display-buffer-function instead of the normalized one.
9817 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9818
4e323265
LL
98192011-06-22 Leo Liu <sdl.web@gmail.com>
9820
9821 * minibuffer.el (completing-read-function)
9822 (completing-read-default): Move from minibuf.c
9823
7a70468f
RS
98242011-06-22 Richard Stallman <rms@gnu.org>
9825
50718fc2
RS
9826 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9827 to Rmail even if not started by a special Rmail command.
9828
7a70468f
RS
9829 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9830 Copy the buffer currently showing just one message.
9831
297dde5a
RW
98322011-06-22 Roland Winkler <winkler@gnu.org>
9833
9834 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9835 (bibtex-clean-entry): First delete the old key so that a
9836 customized algorithm for generating the new key does not get
9837 confused by the old key.
9838 (bibtex-url): Obey regexp of first step.
9839 (bibtex-search-entries): Do not use add-to-list with local
9840 list-var.
9841
97bb1093
LMI
98422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9843
9844 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9845 stored a user name, then query for the password first, instead of
9846 waiting for SMTP to give an error message and the trying again.
9847
1c0f1a19
JD
98482011-06-22 Lawrence Mitchell <wence@gmx.li>
9849
9850 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9851 BUFFER in call-process.
9852
396f7c9d
LMI
98532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9854
9855 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9856 QUIT twice.
ddb7ffee
LMI
9857 (smtpmail-try-auth-methods): Require user name and password from
9858 auth-source.
396f7c9d 9859
8998d1b3
MR
98602011-06-22 Martin Rudalics <rudalics@gmx.at>
9861
9862 * window.el (display-buffer-default-specifiers)
9863 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9864 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9865 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9866
9867 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9868 (special-display-frame-alist, special-display-popup-frame):
9869 Remove duplicate declarations. These are now in window.el.
9870
4ea31e07
LMI
98712011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9872
c9d29fb8
SM
9873 * mail/smtpmail.el (smtpmail-via-smtp):
9874 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9875 server supports it. SMTP servers that support STARTTLS commonly
9876 require it.
9877
9878 * net/network-stream.el (network-stream-open-starttls): Support
9879 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9880 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9881
95f41d9a
LMI
9882 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9883 upgrades with `open-network-stream', and rely solely on
9884 auth-source for all credentials. Big changes throughout the file,
9885 but in particular:
c9d29fb8
SM
9886 (smtpmail-auth-credentials): Remove.
9887 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9888 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9889 MAIL FROM, too.
95f41d9a 9890
c9d29fb8
SM
9891 * net/network-stream.el (network-stream-open-starttls):
9892 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9893 STARTTLS.
9894 (auth-source): Require.
9895 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9896 (network-stream-certificate): Change cert-cert to cert and
9897 cert-key to key.
4ea31e07 9898
065ec2c7
MA
98992011-06-21 Michael Albinus <michael.albinus@gmx.de>
9900
9901 * net/tramp-cache.el (top): Don't load the persistency file when
9902 "emacs -Q" has been called.
9903
cd93b359
DR
99042011-06-21 Tim Harper <timcharper@gmail.com>
9905
d8e4b68b
JB
9906 * term/ns-win.el (ns-initialize-window-system):
9907 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9908 resource to NO as it is not yet supported by the NS port.
9909
ae9c0411
JB
99102011-06-21 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9913 (list-dynamic-libraries): ...not here.
9914
7f3f739f
LL
99152011-06-21 Leo Liu <sdl.web@gmail.com>
9916
9917 * subr.el (sha1): Implement sha1 using secure-hash.
9918
327c8fb1
MR
99192011-06-21 Martin Rudalics <rudalics@gmx.at>
9920
9921 * window.el (display-buffer-alist): In default value do not
9922 enforce searching a window on any but the selected frame.
9923 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9924 (display-buffer-select-window): Remove function.
9925 (display-buffer-in-window): When a window on another frame gets
9926 reused, do not select it any more but just raise its frame if
9927 necessary (Bug#8851) and (Bug#8856).
9928 (display-buffer-normalize-options): Handle pop-up-frames related
9929 options more faithfully.
9930 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9931 window if it is on another frame.
c9d29fb8
SM
9932 (display-buffer-alist, display-buffer-default-specifiers):
9933 Don't make new frame unsplittable by default.
9e9de014
MR
9934 (display-buffer-normalize-argument): Fix doc-string typo and use
9935 'same-frame-other-window instead of 'other-window when associating
9936 with display-buffer-macro-specifiers.
327c8fb1 9937
7cf3f556
VB
99382011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9939
9940 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9941 New functions.
9942 (5x5-mode-map, 5x5-mode-menu): Bind them.
9943 (5x5-draw-grid): Tweak the solver's rendering.
9944
60a406cf
SM
99452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9948 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9949
d8e4b68b 99502011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9951
9952 * menu-bar.el: Use function variable instead of switch-to-buffer.
9953 (menu-bar-select-buffer-function): New variable.
60a406cf 9954 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9955
478d6f95
SM
99562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9959 variable's status.
9960
ca530739
JD
99612011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9962
9963 * x-dnd.el (x-dnd-version-from-flags)
9964 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9965 and long as number (Bug#8899).
9966 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9967
bcd70d97
SM
99682011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9969
60a406cf 9970 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9971 (completion-try-completion, completion-all-completions): Compute the
9972 metadata argument if it's missing; make it optional (bug#8795).
9973
60a406cf 9974 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9975 (widget-complete): Use new :completion-function property.
9976 (widget-completions-at-point): New function.
9977 (default): Use :completion-function instead of :complete.
60a406cf
SM
9978 (widget-default-completions): Rename from widget-default-complete;
9979 Rewrite.
bcd70d97
SM
9980 (widget-string-complete, widget-file-complete, widget-color-complete):
9981 Remove functions.
9982 (file, symbol, function, variable, coding-system, color):
9983 * international/mule-cmds.el (default-input-method, charset)
9984 (language-info-custom-alist):
9985 * cus-edit.el (face): Use new property :completions.
9986
9987 * progmodes/pascal.el (pascal-completions-at-point): New function.
9988 (pascal-mode): Use it.
9989 (pascal-mode-map): Use completion-at-point.
9990 (pascal-toggle-completions): Make obsolete.
9991 (pascal-complete-word, pascal-show-completions):
9992 * progmodes/octave-mod.el (octave-complete-symbol):
9993 Redefine as obsolete alias.
9994 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9995 Signal absence of completion info for old Octave,
9996 (inferior-octave-complete): Redefine as obsolete alias.
9997 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9998 (meta-completions-at-point): Rename from meta-complete-symbol and
9999 adapt it for use on completion-at-point-functions.
10000 (meta-common-mode): Use it.
10001 (meta-looking-at-backward, meta-match-buffer): Remove.
10002 (meta-complete-symbol): Redefine as obsolete alias.
10003 (meta-common-mode-map): Use completion-at-point.
10004 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10005 (makefile-mode-map): Use completion-at-point.
10006 (makefile-completions-at-point): Rename from makefile-complete and
10007 adapt it for use on completion-at-point-functions.
10008 (makefile-mode): Use it.
10009 (makefile-complete): Redefine as obsolete alias.
10010
aebf69c8
DD
100112011-06-20 Deniz Dogan <deniz@dogan.se>
10012
10013 * net/rcirc.el: Delete trailing whitespaces once and for all.
10014
bfbbb27d
DC
100152011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10016
10017 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10018
d264a46b
CY
100192011-06-19 Chong Yidong <cyd@stupidchicken.com>
10020
4ca009e5
CY
10021 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10022
d264a46b
CY
10023 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10024
fbf5b3ce
MR
100252011-06-19 Martin Rudalics <rudalics@gmx.at>
10026
10027 * window.el (display-buffer-other-window-means-other-frame):
10028 Call display-buffer-normalize-alist.
10029 (display-buffer-normalize-specifiers-1): Rename to
10030 display-buffer-normalize-argument. New argument other-frame.
10031 Rewrite.
10032 (display-buffer-normalize-specifiers-2): Rename to
10033 display-buffer-normalize-options.
10034 (display-buffer-normalize-alist-1): New function.
10035 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10036 display-buffer-normalize-alist.
10037 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10038 (display-buffer-normalize-options-inhibit): New variable.
10039 (display-buffer-normalize-specifiers): Rewrite calling
10040 display-buffer-normalize-alist,
10041 display-buffer-normalize-argument, and
10042 display-buffer-normalize-options. Don't call the latter if
10043 display-buffer-normalize-options-inhibit is non-nil.
10044 (frame-auto-delete): New option.
10045 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10046 (window-list-no-nils, window-state-ignored-parameters)
10047 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10048 (window-state-put-1, window-state-put-2, window-state-put):
10049 New functions.
9a028c23
MR
10050 (display-buffer-normalize-options): Move special-display-p group
10051 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10052
6d10d800
CY
100532011-06-18 Chong Yidong <cyd@stupidchicken.com>
10054
6420d28b
CY
10055 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10056 groups (Bug#8776).
10057 (rx-submatch-n): New function.
10058 (rx): Document it.
10059
ddb8b596
CY
10060 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10061 (Bug#8768).
10062
10063 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10064
77080289
CY
10065 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10066
61dfb316
CY
10067 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10068 anytime existing face settings are present (Bug#8889).
10069
6d10d800
CY
10070 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10071 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10072 Remove unused argument.
10073
be3fb2b8
MR
100742011-06-18 Martin Rudalics <rudalics@gmx.at>
10075
bcd70d97
SM
10076 * window.el (display-buffer-default-specifiers):
10077 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10078 pop-up-window-min-width, and another reuse-window specifier
10079 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10080 (display-buffer-normalize-specifiers-2):
10081 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10082 pop-up-windows is unset. Add a reuse-window specifier for the
10083 case popping up a new window fails.
10084 (special-display-popup-frame): Remove double quoting.
28dec25a 10085 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10086
1c6d8c76
SM
100872011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10090 according to comint-completion-addsuffix.
10091
10092 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10093 (pcomplete-suffix-list): Mark as obsolete.
10094 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10095 pcomplete-seen in the closure.
10096 (pcomplete-comint-setup): Setup completion-at-point as well.
10097 (pcomplete--entries): New function.
10098 (pcomplete--env-regexp): New var.
10099 (pcomplete-entries): Rewrite to work with partial-completion and
10100 without relying on pcomplete-suffix-list.
10101 (pcomplete-pare-list): Remove, unused.
10102
25aef8b8
MR
101032011-06-17 Martin Rudalics <rudalics@gmx.at>
10104
10105 * window.el (display-buffer-alist): Set pop-up-window-min-height
10106 and pop-up-window-min-width in default value. Reported by
10107 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10108 other-window-means-other-frame.
10109 (display-buffer-macro-specifiers): Comment out entry for
10110 other-window specifier.
10111 (display-buffer-other-window-means-other-frame): New function.
10112 (display-buffer-normalize-specifiers-1): New arguments
10113 buffer-name and label. Treat other-window case specially.
10114 (display-buffer-normalize-specifiers-2): Treat other-window case
10115 specially.
10116 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10117 (display-buffer-normalize-specifiers):
10118 Call display-buffer-normalize-specifiers-3.
25aef8b8 10119
dbad4f69
MR
101202011-06-17 Martin Rudalics <rudalics@gmx.at>
10121
10122 * window.el (same-window-p): Fix two typos introduced when
10123 adding with-no-warnings.
d1067961
MR
10124 (display-buffer-normalize-specifiers-1): Don't check
10125 pop-up-frames for 'unset initialization.
10126 (display-buffer-normalize-specifiers-2): Major rewrite using
10127 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10128 (pop-up-frames, display-buffer-reuse-frames)
10129 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10130 Suggested by David Engster <deng@randomsample.de>.
10131 (even-window-heights): Initialize to 'unset.
10132 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10133 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10134 other window case.
dbad4f69 10135
9b9c9e3a
MR
101362011-06-16 Martin Rudalics <rudalics@gmx.at>
10137
bcd70d97
SM
10138 * window.el (display-buffer-normalize-specifiers-1):
10139 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10140 second argument of display-buffer (Bug#8865).
981d5c09
MR
10141 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10142 (switch-to-buffer-other-window-same-frame)
10143 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10144 Adams (Bug#8875).
9c2755e9
MR
10145 (display-buffer): Don't check noninteractive when calling
10146 display-buffer-pop-up-frame.
10147 (display-buffer-pop-up-frame): Never pop up a frame in
10148 noninteractive mode (Bug#8857).
67222e1d
MR
10149 (enlarge-window, shrink-window): Don't report an error when the
10150 window can't be resized as requested (Bug#8862).
9b9c9e3a 10151
2b75be67
SM
101522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10153
9ffdd3ba
SM
10154 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10155
cb581a67
SM
10156 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10157
2b75be67
SM
10158 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10159
8c0e3589
AM
101602011-06-15 Alan Mackenzie <acm@muc.de>
10161
cb581a67
SM
10162 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10163 for declarators, disable knr checking to speed up for normal files.
10164 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10165
b96e6cde
LMI
101662011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10167
4bba86e6
LMI
10168 * net/network-stream.el (open-network-stream): Add the keyword
10169 :always-query-capabilities for the case where you want to force a
10170 `plain' network connection, but the protocol still requires the
10171 capabilitiy command (i.e., SMTP and EHLO).
10172
2b75be67 10173 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10174 consistency with other `-live-p' functions.
10175
efdcdbf8
SM
101762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * window.el (same-window-buffer-names, same-window-regexps)
10179 (special-display-frame-alist, special-display-popup-frame)
10180 (special-display-function, special-display-buffer-names)
10181 (special-display-regexps, pop-up-frame-alist)
10182 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10183 (pop-up-windows, split-window-preferred-function)
10184 (split-height-threshold, split-width-threshold, even-window-heights)
10185 (display-buffer-mark-dedicated): Don't encourage the use of
10186 display-buffer-alist from Elisp code.
10187
c5cde042
DN
101882011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10189
10190 * progmodes/python.el (python-mode): Derive from prog-mode.
10191 * progmodes/ps-mode.el (ps-mode):
10192 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10193 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10194 * progmodes/ld-script.el (ld-script-mode): Likewise.
10195
baa1c9ab
MR
101962011-06-15 Martin Rudalics <rudalics@gmx.at>
10197
10198 * window.el (display-buffer-alist): Trim default value to avoid
10199 popping up a new frame (Bug#8857) or reusing an arbitrary window
10200 on another frame.
10201 (display-buffer): Do not fall back on popping up a new frame in
10202 batch mode (Bug#8857).
10203
c5dd5a51
CY
102042011-06-14 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10207 (custom-theme-summary): New function.
10208 (customize-themes): Use it.
10209
d647b7c4
GM
102102011-06-13 Glenn Morris <rgm@gnu.org>
10211
10212 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10213
9481c002
MR
102142011-06-13 Martin Rudalics <rudalics@gmx.at>
10215
357f93d2
MR
10216 * help.el (help-window): Remove variable.
10217 (help-window-point-marker, temp-buffer-max-height)
10218 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10219 (help-print-return-message): Don't set help-window.
10220 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10221 (help-window-setup-finish): Remove.
10222 (help-window-display-message, help-window-setup)
10223 (with-help-window): Major rewrite based on new
10224 display-buffer-window variable.
10225
10226 * help-mode.el (help-mode-finish): Remove help-window related
10227 code.
10228
10229 * view.el (view-exits-all-viewing-windows): Remove reference to
10230 view-return-to-alist in doc-string.
10231 (view-return-to-alist): Make obsolete.
10232 (view-buffer): Call pop-to-buffer-same-window and remove
10233 undo-window code.
10234 (view-buffer-other-window): Call pop-to-buffer-other-window and
10235 simplify code. Ignore second argument.
10236 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10237 simplify code. Ignore second argument.
10238 (view-return-to-alist-update): Make obsolete.
10239 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10240 Rewrite using quit-restore window parameters.
2b75be67
SM
10241 (view-mode-exit): Rename second argument to EXIT-ONLY.
10242 Rewrite using quit-restore-window.
357f93d2
MR
10243 (View-exit, View-exit-and-edit, View-leave, View-quit)
10244 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10245 appropriate arguments.
10246 (view-end-message): Use quit-restore window parameter.
10247
9481c002
MR
10248 * window.el (display-buffer-function): Rewrite doc-string.
10249 (display-buffer-window, display-buffer-alist): New variables.
10250 (display-buffer-split-specifiers)
10251 (display-buffer-side-specifiers)
10252 (display-buffer-macro-specifiers): New constants.
10253 (display-buffer-even-window-sizes, display-buffer-set-height)
10254 (display-buffer-set-width, display-buffer-select-window)
10255 (display-buffer-in-window, display-buffer-reuse-window)
10256 (display-buffer-split-window-1, display-buffer-split-window)
10257 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10258 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10259 (display-buffer-in-side-window, normalize-buffer-to-display)
10260 (display-buffer-normalize-specifiers-1)
10261 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10262 (display-buffer-normalize-specifiers, display-buffer-frame):
10263 New functions.
9481c002
MR
10264 (display-buffer): Major rewrite.
10265 (display-buffer-other-window, display-buffer-other-frame)
10266 (pop-to-buffer, switch-to-buffer-other-window)
10267 (switch-to-buffer-other-frame): Rewrite.
10268 (display-buffer-same-window, display-buffer-same-frame)
10269 (display-buffer-same-frame-other-window)
10270 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10271 (pop-to-buffer-other-window)
10272 (pop-to-buffer-same-frame-other-window)
10273 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10274 (switch-to-buffer-other-window-same-frame): New functions.
10275 (same-window-p, special-display-p): Rewrite disabling warnings.
10276 Make obsolete.
10277 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10278 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10279 Make obsolete
10280 (same-window-buffer-names, same-window-regexps)
10281 (special-display-frame-alist, special-display-popup-frame)
10282 (special-display-function, special-display-buffer-names)
10283 (special-display-regexps, pop-up-frame-alist)
10284 (pop-up-frame-function, split-window-preferred-function)
10285 (split-height-threshold, split-width-threshold)
10286 (even-window-heights): Make obsolete.
10287
9db51aca
GM
102882011-06-12 Glenn Morris <rgm@gnu.org>
10289
10290 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10291 Misc simplifications.
9db51aca 10292
39cffb44
MR
102932011-06-12 Martin Rudalics <rudalics@gmx.at>
10294
10295 * window.el (window-safely-shrinkable-p): Restore function which
10296 was inadvertently removed in change from 2011-06-11. Declare as
10297 obsolete.
10298
2b75be67
SM
10299 * calendar/calendar.el (calendar-generate-window):
10300 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10301 window-safely-shrinkable-p.
10302
a8955be7
GM
103032011-06-12 Glenn Morris <rgm@gnu.org>
10304
10305 * progmodes/fortran.el (fortran-mode-syntax-table):
10306 * progmodes/f90.el (f90-mode-syntax-table):
10307 Set % to punctuation. (Bug#8820)
10308 (f90-find-tag-default): Remove, no longer needed.
10309
f0d4059d
DC
103102011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10311
10312 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10313
1100a63c
CY
103142011-06-11 Chong Yidong <cyd@stupidchicken.com>
10315
10316 * image.el (image-animated-p): Return animation delay in seconds.
10317 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10318 (image-animate-timeout): Remove DELAY argument. Don't assume
10319 every subimage has the same delay; get it from image-animated-p.
10320 (image-animate): Caller changed.
10321
def722bf
MA
103222011-06-11 Michael Albinus <michael.albinus@gmx.de>
10323
10324 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10325 to ignored backtrace functions.
10326
0a2bb1a9
GM
103272011-06-11 Glenn Morris <rgm@gnu.org>
10328
10329 * calendar/appt.el (appt-disp-window-function): Doc fix.
10330 (appt-check): Handle overlapping appointments. (Bug#8337)
10331
6198ccd0
MR
103322011-06-11 Martin Rudalics <rudalics@gmx.at>
10333
10334 * window.el (window-tree-1, window-tree): New functions, moving
10335 the latter to window.el.
10336 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10337 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10338 (bw-refresh-edges): Remove.
10339 (balance-windows-1, balance-windows-2): New functions.
10340 (balance-windows): Rewrite in terms of window tree functions,
10341 balance-windows-1 and balance-windows-2.
10342 (bw-adjust-window): Remove.
10343 (balance-windows-area-adjust): New function with functionality of
10344 bw-adjust-window but using resize-window.
2b75be67
SM
10345 (set-window-text-height): Rewrite doc-string.
10346 Use normalize-live-window and resize-window.
10347 (enlarge-window-horizontally, shrink-window-horizontally):
10348 Rename argument to DELTA.
6198ccd0
MR
10349 (window-buffer-height): New function.
10350 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10351 Rewrite using new window resize routines.
2b75be67
SM
10352 (kill-buffer-and-window, mouse-autoselect-window-select):
10353 Use ignore-errors instead of condition-case.
6198ccd0
MR
10354 (quit-window): Call delete-frame instead of delete-windows-on
10355 for the only buffer on frame.
10356
9397e56f
MR
103572011-06-10 Martin Rudalics <rudalics@gmx.at>
10358
10359 * loadup.el (top-level): Load window before files for the sake
10360 of replace-buffer-in-windows.
10361
10362 * files.el (read-buffer-to-switch)
10363 (switch-to-buffer-other-window)
2b75be67
SM
10364 (switch-to-buffer-other-frame, display-buffer-other-frame):
10365 Move to window.el.
9397e56f
MR
10366
10367 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10368 (previous-buffer): Move to window.el.
10369
10370 * bindings.el (unbury-buffer): Move to window.el.
10371
10372 * window.el (delete-other-windows-vertically): Move after
10373 definition of delete-other-windows.
10374 (other-window, delete-windows-on, replace-buffer-in-windows):
10375 Move here from window.c.
10376 (record-window-buffer, unrecord-window-buffer)
10377 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10378 (switch-to-next-buffer): New functions.
10379 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10380 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10381 (previous-buffer): Move here from simple.el.
10382 Call switch-to-prev-buffer.
9397e56f
MR
10383 (bury-buffer): Move here from buffer.c. Switch to previous
10384 buffer when window cannot be deleted.
10385 (unbury-buffer): Move here from bindings.el.
10386 (ctl-x-map): Move binding for other-window from window.c to
10387 here.
10388 (read-buffer-to-switch, switch-to-buffer-other-window)
10389 (switch-to-buffer-other-frame): Move here from files.el.
10390 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10391 (switch-to-buffer): Move here from buffer.c.
10392 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10393
562dd5e9
MR
103942011-06-10 Martin Rudalics <rudalics@gmx.at>
10395
10396 * window.el (window-min-height, window-min-width): Move here
10397 from window.c. Add defcustoms and rewrite doc-strings.
10398 (resize-mini-window, resize-window): New functions.
10399 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10400 Move here from window.c.
10401 (maximize-window, minimize-window): New functions.
10402 (delete-window, delete-other-windows, split-window): Move here
10403 from window.c.
10404 (window-split-min-size): New function.
10405 (split-window-keep-point): Mention split-window-above-each-other
10406 instead of split-window-vertically.
2b75be67 10407 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10408 Rename split-window-vertically to split-window-above-each-other
10409 and provide defalias for old definition.
10410 (split-window-side-by-side, split-window-horizontally):
10411 Rename split-window-horizontally to split-window-side-by-side
10412 and provide defalias for the old definition.
562dd5e9
MR
10413 (ctl-x-map): Move bindings for delete-window,
10414 delete-other-windows and enlarge-window here from window.c.
10415 Replace bindings for split-window-vertically and
10416 split-window-horizontally by bindings for
10417 split-window-above-each-other and split-window-side-by-side.
10418
10419 * cus-start.el (all): Remove entries for window-min-height and
10420 window-min-width. Add entries for window-splits and
10421 window-nest.
10422
f0da764a
GM
104232011-06-09 Glenn Morris <rgm@gnu.org>
10424
80675c21
GM
10425 * calendar/appt.el (appt-mode-line): New function.
10426 (appt-check, appt-disp-window): Use it.
10427
f0da764a
GM
10428 * files.el (hack-one-local-variable-eval-safep):
10429 Allow minor-modes with explicit +/-1 arguments.
10430
59f623b7
TZ
104312011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10432
10433 * term/xterm.el (xterm): Add defgroup.
10434 (xterm-extra-capabilities): Add defcustom to supply known xterm
10435 capabilities, skip querying them, or query them (default).
10436 (terminal-init-xterm): Use it.
10437 (terminal-init-xterm-modify-other-keys): New function to set up
10438 modifyOtherKeys support to simplify `terminal-init-xterm'.
10439
9aab8e0d
MR
104402011-06-09 Martin Rudalics <rudalics@gmx.at>
10441
10442 * window.el (resize-window-reset, resize-window-reset-1)
10443 (resize-subwindows-skip-p, resize-subwindows-normal)
10444 (resize-subwindows, resize-other-windows, resize-this-window)
10445 (resize-root-window, resize-root-window-vertically)
10446 (window-deletable-p, window-or-subwindow-p)
10447 (frame-root-window-p): New functions.
10448
e8b08aee
GM
104492011-06-09 Glenn Morris <rgm@gnu.org>
10450
10451 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10452 (ange-ftp-get-files): Use it.
10453
254c37a5
AK
104542011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10455
10456 * mail/sendmail.el (mail-recover-1, mail-recover):
10457 * files.el (recover-file, recover-session):
10458 Handle dired-listing-switches not being just a single short option.
10459
35d7dbd3
GM
104602011-06-09 Glenn Morris <rgm@gnu.org>
10461
10462 * calendar/appt.el (appt-display-message, appt-disp-window):
10463 Handle lists of appointments.
10464
387522b2
MR
104652011-06-08 Martin Rudalics <rudalics@gmx.at>
10466
2b75be67
SM
10467 * window.el (one-window-p): Move down in code.
10468 Rewrite doc-string.
10469 (window-current-scroll-bars): Rewrite doc-string.
10470 Normalize live window argument.
387522b2
MR
10471 (walk-windows, get-window-with-predicate, count-windows):
10472 Rewrite doc-string. Use window-list-1.
10473 (window-in-direction-2, window-in-direction, get-mru-window):
10474 New functions.
10475
d8e4b68b 104762011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10477
10478 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10479 Doc fix (Bug#8713).
10480
104812011-06-08 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10484
104852011-06-08 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * loadhist.el (unload-feature-special-hooks):
10488 Add `comint-output-filter-functions'.
10489
0de12c52
IK
104902011-06-08 Ivan Kanis <gnu@kanis.fr>
10491
10492 * calendar/appt.el (appt-check): Move some initializations into the let.
10493
f3d1777e
MR
104942011-06-08 Martin Rudalics <rudalics@gmx.at>
10495
10496 * window.el (window-height): Defalias to window-total-height.
10497 (window-width): Defalias to window-body-width.
10498
18af70d0
CY
104992011-06-07 Chong Yidong <cyd@stupidchicken.com>
10500
10501 * image-mode.el (image-toggle-animation): New command.
10502 (image-mode-map): Bind it to RET.
10503 (image-mode): Update message.
10504 (image-toggle-display-image): Avoid a spurious cache flush.
10505 (image-transform-rotation): Doc fix.
10506 (image-transform-properties): Return quickly in the normal case.
10507 (image-animate-loop): Rename from image-animate-max-time.
10508
2b75be67 10509 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10510 (create-animated-image): Remove unnecessary function.
10511 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10512 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10513 (image-animate-timer): Use car-safe.
10514 (image-animate-timeout): Rename argument.
10515
190b47e6
MR
105162011-06-07 Martin Rudalics <rudalics@gmx.at>
10517
10518 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10519 window.c. Rename first argument to ALL-FRAMES.
10520 Rephrase doc-strings.
10521 (get-buffer-window-list): Rewrite using window-list-1.
10522 Rephrase doc-string.
a1511caf
MR
10523 (window-safe-min-height, window-safe-min-width): New constants.
10524 (window-size-ignore, window-min-size, window-min-size-1)
10525 (window-sizable, window-sizable-p, window-size-fixed-1)
10526 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10527 (window-max-delta-1, window-max-delta, window-resizable)
10528 (window-resizable-p, window-total-height, window-total-width)
10529 (window-body-width): New functions.
10530 (window-full-height-p, window-full-width-p): Rewrite using
10531 window-total-size.
10532 (window-body-height): Rewrite using window-body-size.
190b47e6 10533
85cc1f11
MR
105342011-06-06 Martin Rudalics <rudalics@gmx.at>
10535
10536 * window.el (window-right, window-left, window-child)
10537 (window-child-count, window-last-child, window-any-p)
10538 (normalize-live-buffer, normalize-live-frame)
10539 (normalize-any-window, normalize-live-window)
10540 (window-iso-combination-p, window-iso-combined-p)
10541 (window-iso-combinations)
10542 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10543 (windows-with-parameter, window-with-parameter)
10544 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10545 (window-atom-check, window-side-check, window-check):
10546 New functions.
85cc1f11
MR
10547 (ignore-window-parameters, window-sides, window-sides-vertical)
10548 (window-sides-slots): New variables.
10549 (window-size-fixed): Move down in code. Minor doc-string fix.
10550
e7156492
AS
105512011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10552
10553 * comint.el (comint-dynamic-complete-as-filename)
10554 (comint-dynamic-complete-filename): Correctly call
10555 completion-in-region.
10556
7e821d0d
DD
105572011-06-05 Deniz Dogan <deniz@dogan.se>
10558
10559 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10560 in last change.
10561
ac09b8a1
DD
105622011-06-05 Deniz Dogan <deniz@dogan.se>
10563
10564 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10565 (rcirc): Use it to prompt for encryption.
10566
34699b85
RW
105672011-06-05 Roland Winkler <winkler@gnu.org>
10568
10569 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10570 (bibtex-search-entries): New command bound to C-c C-a.
10571 (bibtex-display-entries): New function.
10572
004dedd3
RW
105732011-06-05 Roland Winkler <winkler@gnu.org>
10574
10575 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10576 (bibtex-insert-kill): After yanking insert newline if necessary.
10577 (bibtex-initialize): Call bibtex-string-files-init only once.
10578 (bibtex-mode): Do not call easy-menu-add.
10579 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10580 (bibtex-yank): Set arg properly if nil.
10581
022fe7ce
RW
105822011-06-05 Roland Winkler <winkler@gnu.org>
10583
2b75be67
SM
10584 * textmodes/bibtex.el (bibtex-search-entry-globally):
10585 New variable.
022fe7ce
RW
10586 (bibtex-search-entry): Use it.
10587
b7c3692a
RW
105882011-06-05 Roland Winkler <winkler@gnu.org>
10589
10590 * textmodes/bibtex.el (bibtex-entry-format): New option
10591 sort-fields.
10592 (bibtex-format-entry, bibtex-reformat): Honor this option.
10593 (bibtex-parse-entry): Return fields in proper order.
10594
8eda563d
JB
105952011-06-05 Juanma Barranquero <lekktu@gmail.com>
10596
10597 * doc-view.el (doc-view-remove-if): Move computation of result out
10598 of `dolist' to silence misleading lexical-binding warning.
10599
7dbe3dbc
CY
106002011-06-04 Chong Yidong <cyd@stupidchicken.com>
10601
10602 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10603 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10604
0c33dd17
MA
106052011-06-04 Michael Albinus <michael.albinus@gmx.de>
10606
10607 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10608 "SunOS 5.10".
10609
f8f91c2b
MA
106102011-06-04 Michael Albinus <michael.albinus@gmx.de>
10611
10612 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10613 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10614 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10615 (tramp-parse-putty):
10616 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10617 (tramp-completion-function-alist-ssh)
10618 (tramp-completion-function-alist-telnet)
10619 (tramp-completion-function-alist-su)
10620 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10621 cookie.
10622
10623 * net/tramp-ftp.el:
10624 * net/tramp-sh.el:
10625 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10626 load "tramp.el" `tramp-set-completion-function'.
10627
e17d9003
SM
106282011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * shell.el: Require and use pcomplete.
10631 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10632 (shell-completion-vars): Set pcomplete-default-completion-function.
10633
6c4cab03
DD
106342011-06-04 Deniz Dogan <deniz@dogan.se>
10635
10636 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10637 `memq' (Bug#8799).
10638
ea9fafe0
SM
106392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10642
b3e945d3
JB
106432011-06-02 Juanma Barranquero <lekktu@gmail.com>
10644
10645 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10646 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10647 * vc/log-view.el (log-view-beginning-of-defun):
10648 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10649 (smerge-refine-forward, smerge-refine-chopup-region):
10650 Silence warning for unused `dotimes' counter variables.
10651
7d520089
SM
106522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * net/tramp.el (tramp-with-progress-reporter): Rename from
10655 with-progress-reporter. Use `declare'.
10656 * net/tramp-smb.el:
10657 * net/tramp-sh.el:
10658 * net/tramp-gvfs.el: Update all uses.
10659
a1c2400f
JB
106602011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10661
10662 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10663 buffer isn't killed before making it current.
10664
2403c841
SM
106652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 Silence various byte-compiler warnings.
10668 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10669 `access-type' and new obsolescence format.
10670 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10671 new format.
10672 (byte-compile-check-variable): New `access-type' argument.
10673 Only warn if the access-type is obsolete.
10674 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10675 (byte-compile-variable-set): Adjust callers.
10676 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10677 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10678 setting it as obsolete.
10679 * simple.el (minibuffer-completing-symbol):
10680 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10681 access as obsolete.
10682 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10683 obsolete yet.
10684 * international/quail.el (quail-mouse-choose-completion): Remove unused
10685 code referring to obsolete var.
10686 (quail-choose-completion-string): Remove.
10687 * server.el (server-clients-with, server-kill-buffer-query-function)
10688 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10689 * proced.el (proced-send-signal):
10690 * emacs-lisp/lisp.el (lisp-complete-symbol):
10691 Replace completion-annotate-function with completion-extra-properties.
10692
2462470b
SM
106932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10694
fb5b2591
SM
10695 * simple.el (goto-line): Use read-number.
10696 (overriding-map-is-bound): Remove.
10697 (saved-overriding-map): Change default.
10698 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10699 Take the map as argument.
10700 (universal-argument, negative-argument, digit-argument): Use it.
10701 (restore-overriding-map): Adjust.
10702 (do-auto-fill): Use fill-forward-paragraph.
10703 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10704
fd6fa53f
SM
10705 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10706 (minibuffer-inactive-mode): New major mode.
10707 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10708 the *Messages* buffer" hack.
10709 (mouse-popup-menubar): Don't burp if the event is a normal key.
10710
2462470b
SM
10711 Miscellaneous tweaks.
10712 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10713 lexical scoping as in subr.el's dolist and dotimes.
10714 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10715 Silence compiler warning.
10716 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10717 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10718 * international/ccl.el (ccl-compile): Trivial simplification.
10719 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10720 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10721 `printflag' argument.
10722 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10723 Purecopy the whole obsolescence data.
10724
108bf785
LL
107252011-06-01 Leo Liu <sdl.web@gmail.com>
10726
10727 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10728 improve doc-string as suggested by Marco Pessotto
10729 <melmothx@gmail.com>.
10730 (rcirc-print): Fix last change.
10731
30a23501
SM
107322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * minibuffer.el (complete-with-action): Return nil for the metadata and
10735 boundaries of non-functional tables.
10736 (completion-table-dynamic): Return nil for the metadata.
10737 (completion-table-with-terminator): Add default case, using
10738 complete-with-action.
10739 (completion--metadata): New function.
10740 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10741 to try and avoid pathological performance problems.
10742 (completion--embedded-envvar-table): Return `category' metadata.
10743
bcd54f83
LMI
107442011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
10746 * subr.el (process-alive-p): New tiny convenience function.
10747
e227544d
SM
107482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10751 content but also its previous major mode.
10752
e8296fdc
HE
107532011-05-31 Helmut Eller <eller.helmut@gmail.com>
10754
4d61f28d 10755 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10756 *Backtrace* buffer when we exit with C-M-c.
10757
620c53a6
SM
107582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * minibuffer.el: Add metadata method to completion tables.
10761 (completion-category-overrides): New defcustom.
10762 (completion-metadata, completion--field-metadata)
10763 (completion-metadata-get, completion--styles)
10764 (completion--cycle-threshold): New functions.
10765 (completion-try-completion, completion-all-completions):
10766 Add `metadata' argument to choose completion-styles.
10767 (completion--do-completion): Use metadata to choose cycling.
10768 (completion-all-sorted-completions): Use metadata for sorting.
10769 Remove :completion-cycle-penalty which is not needed any more.
10770 (completion--try-word-completion): Add `metadata' argument.
10771 (minibuffer-completion-help): Check metadata for annotation function
10772 and sorting.
10773 (completion-file-name-table): Return `category' metadata.
10774 (minibuffer-completing-file-name): Make obsolete.
10775 * simple.el (minibuffer-completing-symbol): Make obsolete.
10776 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10777 completion-try-completion.
10778
1257e755
SM
107792011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10782
3767e706
LL
107832011-05-30 Leo Liu <sdl.web@gmail.com>
10784
10785 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10786 (rcirc-print): Decode all incoming messages (bug#8744).
10787 (rcirc-decode-coding-system): Allow value nil for automatic coding
10788 system detection.
3767e706 10789
d1a5d56a
GM
107902011-06-01 Glenn Morris <rgm@gnu.org>
10791
10792 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10793
e8cbec34
CY
107942011-05-29 Chong Yidong <cyd@stupidchicken.com>
10795
10796 * image.el (image-animate-max-time): Allow nil and t values.
10797 Default to nil.
10798 (create-animated-image): Doc fix.
10799 (image-animate-start): Remove second arg; just use
10800 image-animate-max-time.
10801 (image-animate-timeout): Doc fix. Args changed.
10802
10803 * image-mode.el (image-toggle-display-image): Ensure that the
10804 image spec passed to the animate timer is the same object as in
58179cce 10805 the buffer's display property (Bug#6981).
e8cbec34
CY
10806 (image-transform-properties): Doc fix.
10807
10808 * image.el (image-animate-max-time): Default to nil.
10809
159daf87
MR
108102011-05-29 Martin Rudalics <rudalics@gmx.at>
10811
10812 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10813 entire buffer list (Bug#8184).
10814
d66c4c7c
CY
108152011-05-29 Chong Yidong <cyd@stupidchicken.com>
10816
10817 * image.el (imagemagick-types-inhibit)
10818 (imagemagick-register-types): Doc fix.
10819
80aec780
DD
108202011-05-29 Deniz Dogan <deniz@dogan.se>
10821
10822 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10823 default.
10824
1dd3c2d9
CY
108252011-05-29 Chong Yidong <cyd@stupidchicken.com>
10826
10827 * select.el: Don't perform clipboard-manager saving in hooks;
10828 leave the hooks empty.
10829
60e56523
LL
108302011-05-28 Leo Liu <sdl.web@gmail.com>
10831
10832 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10833 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10834 (occur-edit-mode): New major mode (Bug#8463).
10835 (occur-after-change-function): New function.
10836 (occur-engine): Give Occur tags a read-only property.
10837
2b1e1a22
KR
108382011-05-28 Kevin Ryde <user42@zip.com.au>
10839
10840 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10841
5d344e88
CY
108422011-05-28 Chong Yidong <cyd@stupidchicken.com>
10843
8e6ca83d
CY
10844 * bindings.el (help-echo): Make the initial non-indicator dash
10845 empty on graphical terminals (Bug#7295).
10846
5d344e88
CY
10847 * files.el (auto-mode-alist): Move config rule after the
10848 in-stripping one (Bug#8547).
10849
bfbbace7
CY
10850 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10851
fbeba6e2
CY
10852 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10853 setting (Bug#8740).
10854
60ed8c72
AA
108552011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10856
4ac619f0
AA
10857 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10858 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10859 (Bug#8539).
60ed8c72 10860
23db196e
CY
108612011-05-28 Chong Yidong <cyd@stupidchicken.com>
10862
10863 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10864
5012f24c
DK
108652011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10866
10867 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10868 (hs-hide-block-at-point, hs-find-block-beginning)
10869 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10870 (Bug#8279).
10871
6a639b16
GM
108722011-05-28 Glenn Morris <rgm@gnu.org>
10873
10874 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10875
d43eaf2c
CY
108762011-05-28 Chong Yidong <cyd@stupidchicken.com>
10877
5199bde1
CY
10878 * help-fns.el (describe-function-1): If the function is a derived
10879 major mode, print the parent mode.
10880
d43eaf2c
CY
10881 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10882 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10883
423428a8
SM
108842011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10885
0ff8e1ba 10886 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10887 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10888 * progmodes/etags.el (tags-completion-at-point-function):
10889 * info-look.el (info-lookup-completions-at-point): Mark as
10890 non-exclusive.
10891 (info-complete): Adjust accordingly.
10892
423428a8
SM
10893 * info-look.el: Convert to lexical-binding and completion-at-point.
10894 (info-lookup-completions-at-point): New function.
10895 (info-complete): Use it and completion-in-region.
10896
b74aa22b
DA
108972011-05-28 Drew Adams <drew.adams@oracle.com>
10898
10899 * isearch.el: Let M-e start with point at the first mismatched char.
10900 (isearch-fail-pos): New function.
10901 (isearch-edit-string): Use it.
10902
66e2e71d
DK
109032011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10904
10905 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10906
b1890b0f 109072011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10908
10909 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10910 traversal functions for avl-trees.
10911 (avl-tree--stack): New struct.
10912 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10913 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10914 (avl-tree--do-enter): Add optional `updatefun' arg.
10915 Change return value.
eb95d01d 10916 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10917 (avl-tree--do-delete): Add `test' and `nilflag' args.
10918 Change return value.
eb95d01d
TC
10919 (avl-tree-member): Add optional `nilflag'
10920 (avl-tree-member-p): New function.
10921 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10922 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10923 (avl-tree-stack-empty-p): New functions.
10924
3769ddcf
TC
10925 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10926 avl-tree--del-balance1 and make it work both ways.
10927 (avl-tree--del-balance2): Remove.
10928 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10929 make it work both ways.
10930 (avl-tree--enter-balance2): Remove.
10931 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10932 New macros.
10933 (avl-tree--mapc, avl-tree-map): Add direction argument.
10934
eb95d01d 109352011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10936
10937 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10938
a9f737ee
CY
109392011-05-27 Chong Yidong <cyd@stupidchicken.com>
10940
10941 * select.el: Support clipboard managers with built-in function
10942 x-clipboard-manager-save, via delete-frame-functions and
10943 kill-emacs-hook.
10944 (xselect-convert-to-targets): Add MULTIPLE target to list.
10945 (xselect-convert-to-save-targets): New function.
10946
c92a1e54
KH
109472011-05-27 Kenichi Handa <handa@m17n.org>
10948
10949 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10950 let-binding rfc2047-encode-encoded-words to nil.
10951
e145f188
GM
109522011-05-27 Glenn Morris <rgm@gnu.org>
10953
5ec8a862
GM
10954 * mail/emacsbug.el: Don't require url-util.
10955
4b29d9fb
GM
10956 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10957
e145f188
GM
10958 * files.el (set-auto-mode):
10959 Also respect mode: entries at the end of the file. (Bug#8586)
10960
7d15102b
GM
109612011-05-26 Glenn Morris <rgm@gnu.org>
10962
98f593b8
GM
10963 * files.el (hack-local-variables-prop-line, hack-local-variables):
10964 Downcase mode names, as seems to be traditional.
27b48e63 10965 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10966
7d15102b
GM
10967 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10968 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10969
51d5b4ec
JD
109702011-05-25 Julien Danjou <julien@danjou.info>
10971
10972 * textmodes/rst.el (rst-define-level-faces): Do not define face
10973 symbol if it is already defined.
10974
91513f63
VB
109752011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10976
10977 * play/5x5.el (5x5-new-game, 5x5-randomize):
10978 Reset 5x5-solver-output to nil when a new grid is cast.
10979 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10980 these debugging traces, as defmacro breaks the compiled code.
10981
4d90d6d0
DK
109822011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10983
10984 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10985
e1b90ef6
LL
109862011-05-24 Leo Liu <sdl.web@gmail.com>
10987
10988 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10989 (vc-bzr-sha1): Adapt.
10990
d8e4b68b 10991 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10992
10993 * bindings.el: Provide sha1 feature.
10994
db0406bb 109952011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10996
10997 * mail/sendmail.el: Require `rfc2047'.
10998 (mail-insert-from-field): Do not perform RFC2047 encoding.
10999 (mail-encode-header): New function.
11000 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11001 buffer to the return value of select-message-coding-system.
11002 Call mail-encode-header.
b8d747b9
KH
11003
11004 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11005
db0406bb 110062011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11007
4d90d6d0
DK
11008 * mail/supercite.el (sc-default-cite-frame):
11009 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11010
eb8a5e9b
GM
110112011-05-24 Glenn Morris <rgm@gnu.org>
11012
f8630703
GM
11013 * progmodes/python.el (brm-menu): Declare.
11014
8831bbed
GM
11015 * emulation/viper.el (viper-set-hooks): Declare.
11016
eb8a5e9b
GM
11017 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11018 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11019 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11020 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11021 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11022 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11023
a2a25d24
SM
110242011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 Add an :exit-function for completion-at-point.
11027
11028 * minibuffer.el (completion--done): New fun.
11029 (completion--do-completion): Use it. New arg `expect-exact'.
11030 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11031 since completion--do-completion does it for us now.
11032 (minibuffer-force-complete): Use completion--done and
11033 completion--replace. Handle sole-completion case with more care.
11034 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11035 (completion-extra-properties): New var.
11036 (completion-annotate-function): Make obsolete.
11037 (minibuffer-completion-help): Adjust accordingly.
11038 Use completion-list-insert-choice-function.
11039 (completion-at-point, completion-help-at-point):
11040 Bind completion-extra-properties.
11041 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11042 * simple.el (completion-list-insert-choice-function): New var.
11043 (completion-setup-function): Preserve it.
11044 (choose-completion): Pay attention to it, shuffle the code a bit.
11045 (choose-completion-string): New arg `insert-function'.
11046
11047 * textmodes/bibtex.el: Convert to lexical binding.
11048 (bibtex-mode-map): Use completion-at-point.
11049 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11050 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11051 (bibtex-complete): Define as obsolete alias.
11052 (bibtex-complete-internal): Remove.
11053 (bibtex-format-entry): Remove unused sub-group in regexp.
11054 * shell.el (shell--command-completion-data)
11055 (shell-environment-variable-completion):
11056 * pcomplete.el (pcomplete-completions-at-point):
11057 * comint.el (comint--complete-file-name-data): Use :exit-function
11058 instead of completion-table-with-terminator so it also works for
11059 choose-completion.
11060
e44e373d
SM
110612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11062
4f91a816
SM
11063 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11064
782fc819
SM
11065 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11066 (bug#8710).
11067
e44e373d
SM
11068 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11069
381987c3
KM
110702011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11071
11072 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11073 customization variable and implement: If non-nil, auto-fill will
11074 be inhibited while on topic's header line.
11075
b776bc70
VB
110762011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11077
11078 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11079 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11080 always have a solution in grid size = 5 cases.
11081 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11082 (5x5-solver-output, 5x5-log-buffer): New vars.
11083 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11084 Make these variables buffer local to achieve 5x5 multi-session-ness.
11085 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11086 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11087 (5x5-solve-suggest): New funs.
11088 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11089 randomize a grid so that we ensure that there is always a solution.
11090 (5x5-make-random-grid): Allow other movement than flipping.
11091
7de88b6e
KR
110922011-05-23 Kevin Ryde <user42@zip.com.au>
11093
11094 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11095 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11096 advice and passes PREDICATE.
11097
b1ef1257
SM
110982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11099
bbca48fe
SM
11100 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11101 byte-compile-lambda if it's actually a lambda.
11102
b1ef1257
SM
11103 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11104 Fix function quoting. Use backquote better.
11105
92a9cc65
YS
111062011-05-22 Yuanle Song <sylecn@gmail.com>
11107
11108 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11109 matching (Bug#8516).
11110
f0fb8059
JA
111112011-01-22 Jari Aalto <jari.aalto@cante.net>
11112
11113 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11114 different face (Bug#8178).
11115
d5b44c93
CY
111162011-05-22 Chong Yidong <cyd@stupidchicken.com>
11117
11118 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11119 defface (Bug#8144).
11120
79106a44
SM
111212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11122
9c848d8a
SM
11123 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11124 funcall as well (bug#8712). Warn when performing those conversions.
11125 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11126
79106a44
SM
11127 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11128
88dfa756
GM
111292011-05-22 Glenn Morris <rgm@gnu.org>
11130
11131 * files.el (hack-local-variables-prop-line): Small simplifications.
11132 (hack-local-variables, hack-local-variables-prop-line):
11133 If MODE-ONLY, return the mode, rather than just `t'.
11134
b7cf2c79
SM
111352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11136
11137 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11138
3f1a8558
GM
111392011-05-21 Glenn Morris <rgm@gnu.org>
11140
7e4ccca3
GM
11141 * files.el (hack-local-variables-prop-line, hack-local-variables):
11142 If only interested in the mode, don't bother doing the other stuff.
11143
637d46ca
GM
11144 * image-mode.el (image-after-revert-hook):
11145 Redraw all frames on which the image is visible. (Bug#8567)
11146
973d955b
GM
11147 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11148
3f1a8558
GM
11149 * wid-edit.el (widget-checklist-match-inline):
11150 Fix 2011-04-19 change. (Bug#8649)
11151
96479927
SM
111522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11153
1dcf791f
SM
11154 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11155 Also allow singlespace after single-letter capitals followed by a dot.
11156
96479927
SM
11157 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11158 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11159
35fd0881
N
111602011-05-20 Nix <nix@esperi.org.uk>
11161
11162 * files.el (basic-save-buffer-2):
11163 Fix handling of break-hardlink-on-save with non-existent files.
11164
82745640
DD
111652011-05-19 Deniz Dogan <deniz@dogan.se>
11166
11167 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11168 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11169
4a720484
GM
111702011-05-19 Glenn Morris <rgm@gnu.org>
11171
d1f21341
GM
11172 * progmodes/f90.el (f90-type-def-re):
11173 Handle "type, bind(c)". (Bug#8691)
11174
4a720484
GM
11175 * emacs-lisp/autoload.el (batch-update-autoloads):
11176 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11177
2fb0a219
MA
111782011-05-18 Michael Albinus <michael.albinus@gmx.de>
11179
11180 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11181 property for the correct connection in case of multihops.
11182
e565dd37
GM
111832011-05-18 Glenn Morris <rgm@gnu.org>
11184
c2571358 11185 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11186 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11187
e565dd37
GM
11188 Rationalize calendar handling of day and month abbrev-arrays.
11189 * calendar/calendar.el (calendar-customized-p): New function.
11190 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11191 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11192 Add :set function.
11193 (calendar-abbrev-length, calendar-day-abbrev-array)
11194 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11195 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11196 Elements may no longer be nil.
11197 (calendar-day-name, calendar-month-name):
11198 Update for changed nature of abbrev arrays.
11199 * calendar/diary-lib.el (diary-name-pattern):
11200 Update for changed nature of abbrev arrays.
11201 (diary-mark-entries-1): Update calendar-make-alist calls.
11202 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11203 * calendar/cal-html.el (cal-html-day-abbrev-array):
11204 Simply inherit from calendar-day-abbrev-array.
11205
1d99a745
SM
112062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * progmodes/grep.el (grep-mode): Disable default
11209 compilation-directory-matcher setting (bug#8684).
11210
7c1d9aa0
MA
112112011-05-17 Michael Albinus <michael.albinus@gmx.de>
11212
11213 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11214 instead of "head" and "tail". There were problems with SunOS 5.9,
11215 and it performs better.
11216
3952e9d8
GM
112172011-05-17 Glenn Morris <rgm@gnu.org>
11218
2dd12e7f
GM
11219 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11220
e4157b9c
GM
11221 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11222 Replace obsolete function.
11223
8e249bbd
GM
11224 * shell.el (pcomplete-parse-arguments-function): Declare.
11225
3952e9d8
GM
11226 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11227 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11228 (appt-check): Doc fixes.
11229 (appt-disp-window-function, appt-delete-window-function):
11230 Remove needless special case in custom :type.
11231 (appt-display-count): Default to 0, not nil.
11232 (appt-check): Reset appt-display-count to 0, not nil.
11233
c71a0d48 112342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11235
c71a0d48
GM
11236 * progmodes/python.el (python-font-lock-keywords):
11237 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11238
31d55be9
SM
112392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11242
3bfacb2f
KR
112432011-05-16 Kevin Ryde <user42@zip.com.au>
11244
11245 * info-look.el (makefile-automake-mode): New setups, looking in
11246 automake manual, then makefile-mode.
11247 (makefile-mode): Remove automake manual, have it just in
11248 makefile-automake-mode since there's various things different or
11249 not relevant to plain make.
11250 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11251 believe a hypothetical automake-mode would go to makefile-mode,
11252 not the other way around.
11253
c8e83751
CY
112542011-05-15 Chong Yidong <cyd@stupidchicken.com>
11255
5e9e35cd
CY
11256 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11257 hunk-end tags (Bug#8672).
11258
c8e83751
CY
11259 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11260 vc-annotate-show-diff-revision-at-line (Bug#8671).
11261
50b23e5a
GM
112622011-05-14 Glenn Morris <rgm@gnu.org>
11263
7210a739
GM
11264 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11265 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11266 (change-log-font-lock-keywords): Also handle multiple author lines
11267 with leading tabs. (Bug#8644)
7210a739 11268
4691905a
GM
11269 * calendar/appt.el (appt-check): Rename some local variables.
11270 Some simplification/reordering.
11271
50b23e5a
GM
11272 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11273 (feedmail-sendmail-f-doesnt-sell-me-out)
11274 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11275 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11276 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11277 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11278 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11279 (feedmail-binmail-gnulinuxish-template):
11280 Rename from feedmail-binmail-linuxish-template.
11281 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11282 Use insert-buffer-substring.
11283
215cda7c
BC
112842011-05-14 Bill Carpenter <bill@carpenter.org>
11285
11286 * mail/feedmail.el (feedmail-patch-level): Increase.
11287 (feedmail-debug): New custom group.
11288 (feedmail-confirm-outgoing-timeout)
11289 (feedmail-sendmail-f-doesnt-sell-me-out)
11290 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11291 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11292 (feedmail-sender-line, feedmail-from-line)
11293 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11294 (feedmail-spray-this-address)
215cda7c
BC
11295 (feedmail-spray-address-fiddle-plex-list)
11296 (feedmail-queue-use-send-time-for-date)
11297 (feedmail-queue-use-send-time-for-message-id)
11298 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11299 (feedmail-buffer-eating-function):
11300 Doc fixes.
11301 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11302 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11303 (feedmail-message-action-scroll-down): New functions.
11304 (feedmail-queue-directory, feedmail-queue-draft-directory):
11305 Use expand-file-name.
11306 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11307 Remove C-v help entry.
11308 (feedmail-queue-buffer-file-name): New variable.
11309 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11310 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11311 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11312 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11313 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11314 (feedmail-message-action-toggle-spray)
11315 (feedmail-run-the-queue-no-prompts)
11316 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11317 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11318 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11319 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11320 (feedmail-envelope-deducer, feedmail-fiddle-from)
11321 (feedmail-fiddle-sender, feedmail-default-date-generator)
11322 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11323 (feedmail-fiddle-spray-address)
11324 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11325 (feedmail-fiddle-list-of-fiddle-plexes)
11326 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11327 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11328 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11329 Change default. Doc fix.
11330 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11331 (feedmail-binmail-linuxish-template): New constant.
11332 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11333 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11334 (feedmail-send-it): Add debug call.
11335 Use feedmail-queue-buffer-file-name, and
11336 feedmail-send-it-immediately-wrapper.
11337 (feedmail-message-action-send): Add debug call.
11338 Use feedmail-send-it-immediately-wrapper.
11339 (feedmail-queue-express-to-queue): Add debug call.
11340 Run feedmail-queue-express-hook.
11341 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11342 (feedmail-message-action-help-blat):
11343 Rename from feedmail-queue-send-edit-prompt-help-first.
11344 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11345 Check line-endings. Handle errors better.
11346 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11347 Doc fix. Add debug call.
11348 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11349 Use feedmail-queue-send-edit-prompt-inner.
11350 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11351 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11352 from feedmail-queue-send-edit-prompt.
11353 (feedmail-queue-send-edit-prompt-help)
11354 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11355 (feedmail-tidy-up-slug): Add debug call.
11356 Respect feedmail-queue-slug-suspect-regexp.
11357 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11358 (feedmail-dump-message-to-queue): Add debug call.
11359 Expand queue-directory.
11360 (feedmail-dump-message-to-queue): Change message slightly.
11361 Use feedmail-say-chatter.
11362 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11363 (feedmail-send-it-immediately-wrapper): New function.
11364 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11365 Insert empty string rather than newline. Handle full-frame case.
11366 Use catch/throw. Use feedmail-say-chatter.
11367 (feedmail-fiddle-from): Try mail-host-address.
11368 (feedmail-default-message-id-generator): Doc fix.
11369 Bind system-time-locale. Handle missing end.
11370 (feedmail-fiddle-x-mailer): Add debug call.
11371 Handle feedmail-x-mailer-line being nil.
11372 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11373 Add debug call. Use buffer-substring-no-properties.
11374 (feedmail-say-debug, feedmail-say-chatter): New functions.
11375 (feedmail-find-eoh): Give an explicit error.
11376
42c7e61e
UJ
113772011-05-13 Ulf Jasper <ulf.jasper@web.de>
11378
c2571358 11379 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11380 family from helvetica to sans.
c2571358 11381 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11382 etc/images/newsticker.
11383
c2571358 11384 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11385 family from helvetica to sans.
11386
11387 * net/newst-plainview.el (newsticker-new-item-face)
11388 (newsticker-old-item-face, newsticker-immortal-item-face)
11389 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11390 (newsticker-statistics-face): Change default family from
42c7e61e 11391 helvetica to sans.
c2571358 11392 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11393 etc/images/newsticker.
11394
5d3385a0
JB
11395 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11396 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11397 auto-marking.
11398
8497a297
DV
113992011-05-13 Didier Verna <didier@xemacs.org>
11400
11401 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11402 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11403 TODO entries.
8497a297
DV
11404 (lisp-lambda-list-keyword-parameter-indentation)
11405 (lisp-lambda-list-keyword-parameter-alignment)
11406 (lisp-lambda-list-keyword-alignment): New customizable user options.
11407 (lisp-indent-defun-method): Improve docstring.
11408 (extended-loop-p): Fix comment.
11409 (lisp-indent-lambda-list-keywords-regexp): New variable.
11410 (lisp-indent-lambda-list): New function.
11411 (lisp-indent-259): Use it.
11412 (lisp-indent-defmethod): Support for more than one
11413 method qualifier and properly indent methods lambda-lists.
11414 (defgeneric): Provide a missing common-lisp-indent-function property.
11415
f278f87f
SM
114162011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11419 bounds for the empty string (bug#8667).
11420
5233edd7
GM
114212011-05-13 Glenn Morris <rgm@gnu.org>
11422
5237a44f
GM
11423 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11424
8340026c 11425 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11426 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11427
5233edd7 11428 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11429 (appt-time-msg-list): Doc fix.
a5464014 11430 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11431
92d10796
AS
114322011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11433
11434 * progmodes/ld-script.el (ld-script-keywords)
11435 (ld-script-builtins): Update keywords list.
11436
914a0ae1
SM
114372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11438
c89be45f
SM
11439 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11440
914a0ae1
SM
11441 * shell.el (shell-completion-vars): New function.
11442 (shell-mode):
11443 * simple.el (read-shell-command): Use it.
11444 (blink-matching-open): No need for " [...]" in minibuffer-message.
11445
98dc3df3
GM
114462011-05-12 Glenn Morris <rgm@gnu.org>
11447
11448 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11449 (appt-check): Simplify.
11450
d2fc7e3d 114512011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11452
4d61f28d 11453 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11454 literal "/dev/null".
11455
d2fc7e3d 114562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11457
11458 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11459 Fix typo.
11460
d2fc7e3d 114612011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11462
3f254caa
SM
11463 * progmodes/which-func.el (which-function):
11464 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11465 which might not be defined (Bug#8260).
11466
d45885f7
GM
114672011-05-12 Glenn Morris <rgm@gnu.org>
11468
11469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11470 Let byte-compile-initial-macro-environment always take precedence.
11471
488086f4
SM
114722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * net/rcirc.el: Add support for SSL/TLS connections.
11475 (rcirc-server-alist): New field `encryption'.
11476 (rcirc): Check `encryption' settings.
11477 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11478 Merge make-local-variable into `set'.
11479 (rcirc--connection-open-p): New function.
11480 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11481 the process is not a network process (e.g. running gnutls-cli).
11482 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11483 Make rcirc-(en|de)code-coding-system local here.
11484 (rcirc-mode): Merge make-local-variable into `set'.
11485 (rcirc-parent-buffer): Make permanent buffer-local.
11486 (rcirc-multiline-minor-mode): Don't do it here.
11487 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11488 there's no server buffer.
11489
7d3b9d44
GM
114902011-05-11 Glenn Morris <rgm@gnu.org>
11491
f64049c6
GM
11492 * newcomment.el (comment-kill): Prefix "unused" local.
11493
93c9df73
GM
11494 * term/w32console.el (get-screen-color): Declare.
11495
7d3b9d44
GM
11496 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11497 Handle symbol elements of byte-compile-initial-macro-environment.
11498
9e2dd53f
LL
114992011-05-10 Leo Liu <sdl.web@gmail.com>
11500
488086f4
SM
11501 * bookmark.el (bookmark-bmenu-mode-map):
11502 Bind bookmark-bmenu-search to `/'.
8b340240 11503
9e2dd53f 11504 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11505 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11506 (Footnote-unicode): New function.
11507 (footnote-style-alist): Add unicode style to the list.
11508 (footnote-style): Doc fix.
9e2dd53f 11509
79b70037
GM
115102011-05-10 Jim Meyering <meyering@redhat.com>
11511
11512 Fix doubled-word typos.
11513 * international/quail.el (quail-insert-kbd-layout): and and -> and
11514 * kermit.el: and and -> and
11515 * net/ldap.el (ldap-search-internal): to to -> to
11516 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11517 * progmodes/js.el (js-mode): and and -> and
11518 * textmodes/artist.el (artist-move-to-xy): at at -> at
11519 (artist-draw-region-trim-line-endings): if if -> if
11520 And Safetyc -> Safety.
11521 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11522
b8f82dc1 115232011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11524 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11525
11526 * files.el (hack-one-local-variable-eval-safep):
11527 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11528
4f99f44b
GM
115292011-05-10 Glenn Morris <rgm@gnu.org>
11530
11531 * calendar/diary-lib.el (diary-list-entries-hook)
11532 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11533 (diary-nongregorian-marking-hook, diary-list-entries)
11534 (diary-include-other-diary-files, diary-mark-entries)
11535 (diary-mark-included-diary-files): Doc fixes.
11536
84f29e6b
JB
115372011-05-09 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * misc.el: Require tabulated-list.el during compilation.
11540
9bedd73a
CY
115412011-05-09 Chong Yidong <cyd@stupidchicken.com>
11542
488086f4
SM
11543 * progmodes/compile.el (compilation-start):
11544 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11545 (compilation-filter-hook): Doc fix.
11546
797c735c
DD
115472011-05-09 Deniz Dogan <deniz@dogan.se>
11548
11549 * wdired.el: Remove outdated installation comment. Fix usage
11550 comment.
11551
5f4b1dfe
JB
115522011-05-09 Juanma Barranquero <lekktu@gmail.com>
11553
11554 * misc.el: Implement new command `list-dynamic-libraries'.
11555 (list-dynamic-libraries--loaded-only-p): New variable.
11556 (list-dynamic-libraries--refresh): New function.
11557 (list-dynamic-libraries): New command.
11558
4c44026c
CY
115592011-05-09 Chong Yidong <cyd@stupidchicken.com>
11560
488086f4
SM
11561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11562 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11563 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11564 higher priority to avoid clobbering by gnu.
11565
027f966d
CY
115662011-05-08 Chong Yidong <cyd@stupidchicken.com>
11567
11568 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11569 if the face has existing theme settings (Bug#8454).
11570
085f5d7d
CY
115712011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11572
488086f4
SM
11573 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11574 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11575
2a86a00c
RS
11576 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11577 special file names `.' and `..' (Bug#8259).
11578
d9c54a06
CY
115792011-05-08 Chong Yidong <cyd@stupidchicken.com>
11580
488086f4
SM
11581 * progmodes/grep.el (grep-mode-font-lock-keywords):
11582 Remove buffer-changing entries.
d9c54a06
CY
11583 (grep-filter): New function.
11584 (grep-mode): Add it to compilation-filter-hook.
11585
11586 * progmodes/compile.el (compilation-filter-hook)
11587 (compilation-filter-start): New defvars.
11588 (compilation-filter): Call compilation-filter-hook prior to
11589 updating the process mark.
11590
c4662635
SM
115912011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11594
b0512a1d
EZ
115952011-05-07 Eli Zaretskii <eliz@gnu.org>
11596
605c9376
EZ
11597 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11598 mailclient-send-it even if window-system is nil. (Bug#8595)
11599
c4662635
SM
11600 * term/w32console.el (terminal-init-w32console):
11601 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11602 background-mode. (Bug#8597)
11603
d1dc2cc2
SM
116042011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11607 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11608 New functions.
11609 (defgeneric, eieio--defmethod): Use them.
11610 (eieio-defgeneric): Remove.
11611 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11612
915d1300
GM
116132011-05-07 Glenn Morris <rgm@gnu.org>
11614
a3961c3e
GM
11615 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11616 Use let rather than let*.
11617 (timeclock-find-discrep): Remove unused local.
11618
314347b9
GM
11619 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11620
915d1300
GM
11621 * calendar/appt.el (appt-time-msg-list): Doc fix.
11622
275b59b0
NF
116232011-05-06 Noah Friedman <friedman@splode.com>
11624
11625 * apropos.el (apropos-print-doc): Only use
11626 emacs-lisp-docstring-fill-column when it is bound to an integer,
11627 per that variable's documentation.
11628
6c19f744
SM
116292011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11632 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11633
60f884b2
GM
116342011-05-06 Glenn Morris <rgm@gnu.org>
11635
5006e634
GM
11636 * calendar/appt.el (appt-message-warning-time): Doc fix.
11637 (appt-warning-time-regexp): New option.
11638 (appt-make-list): Respect appt-message-warning-time.
11639
548d0a63
GM
11640 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11641 New options.
11642 (diary-add-to-list): Strip comments from the displayed string.
11643 (diary-mode): Set comment-start and comment-end.
11644
60f884b2
GM
11645 * vc/diff-mode.el (smerge-refine-subst): Declare.
11646 (diff-refine-hunk): Don't require smerge-mode when compiling.
11647
989681bb
JB
116482011-05-06 Juanma Barranquero <lekktu@gmail.com>
11649
11650 * simple.el (list-processes): Return nil as the docstring says.
11651
a6bc05e1
MA
116522011-05-05 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11655 to "".
11656 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11657 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11658 determining of binary transfer. (Bug#7383)
11659
23c22e9a
MA
116602011-05-05 Michael Albinus <michael.albinus@gmx.de>
11661
c4662635
SM
11662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11663 Fix port computation bug. (Bug#8618)
23c22e9a 11664
0bff894f
GM
116652011-05-05 Glenn Morris <rgm@gnu.org>
11666
b8296902
GM
11667 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11668
1f522ce8
GM
11669 * simple.el (shell-dynamic-complete-functions)
11670 (comint-dynamic-complete-functions): Declare.
11671
cf5bee67
GM
11672 * net/network-stream.el (gnutls-negotiate):
11673 * simple.el (tabulated-list-print): Fix declarations.
11674
11675 * progmodes/gud.el (syntax-symbol, syntax-point):
11676 Remove unnecessary and incorrect declarations.
11677
0bff894f
GM
11678 * emacs-lisp/check-declare.el (check-declare-scan):
11679 Handle byte-compile-initial-macro-environment in bytecomp.el
11680
9869b3ae
SM
116812011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11682
11683 Fix earlier half-done eieio-defmethod change (bug#8338).
11684 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11685 Streamline and change calling convention.
11686 (defmethod): Adjust accordingly and simplify.
11687 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11688 new eieio--defmethod.
11689 (slot-boundp): Minor CSE simplification.
11690
9c1d5ac5
MZ
116912011-05-05 Milan Zamazal <pdm@zamazal.org>
11692
11693 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11694 (glasses-make-readable): Use glasses-separate-capital-groups.
11695
455c834e
JB
116962011-05-05 Juanma Barranquero <lekktu@gmail.com>
11697
11698 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11699 (warning-series): Doc fix.
11700 (display-warning): Don't try to create the buffer if we just found it.
11701
9ed7c8cb
CY
117022011-05-04 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11705 (autoload-find-generated-file): New function.
11706 (generate-file-autoloads): Bind generated-autoload-file to
11707 buffer-file-name.
9869b3ae
SM
11708 (update-file-autoloads, update-directory-autoloads):
11709 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11710 output file (Bug#7989).
11711 (batch-update-autoloads): Doc fix.
11712
0898ca10
JB
117132011-05-04 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11716
31dfb76c
GM
117172011-05-04 Glenn Morris <rgm@gnu.org>
11718
f330b642
GM
11719 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11720 function, so it follows changes in calendar-date-style.
11721 (diary-fancy-date-matcher): New function.
11722 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11723 (diary-fancy-font-lock-fontify-region-function):
11724 Use diary-fancy-date-pattern as a function.
11725
31dfb76c
GM
11726 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11727 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11728
48e79d6a
TZ
117292011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11730
11731 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11732 instead of positional arguments. Allow :keylist and :crlfiles
11733 arguments.
11734 (open-gnutls-stream): Call it.
11735
11736 * net/network-stream.el (network-stream-open-starttls): Adjust to
11737 call `gnutls-negotiate' with :process and :hostname arguments.
11738
dd5a5ee0
SM
117392011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11740
ef80fc09
SM
11741 * minibuffer.el (completion--message): New function.
11742 (completion--do-completion, minibuffer-complete)
11743 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11744 (completion--do-completion): Don't ignore completion-auto-help when in
11745 icomplete-mode.
11746
dd5a5ee0
SM
11747 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11748 internal encoding (e.g. tibetan zero is not whitespace).
11749 (global-whitespace-mode): Prefer save-current-buffer.
11750 (whitespace-trailing-regexp): Remove useless save-match-data.
11751 (whitespace-empty-at-bob-regexp): Minor simplification.
11752
b7d22a83
CY
117532011-05-03 Chong Yidong <cyd@stupidchicken.com>
11754
11755 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11756
5192af46
AM
117572011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11758
11759 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11760 Use `concat' to create string for insertion.
5192af46 11761
5767d190
SM
117622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11765 Avoid open-line which runs post-self-insert-hook.
11766 (bibtex-fill-entry): Remove unused `end' var.
11767
bf242939
AM
117682011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11769
5767d190
SM
11770 * textmodes/ispell.el (ispell-add-per-file-word-list):
11771 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11772
25666126
LL
117732011-05-03 Leo Liu <sdl.web@gmail.com>
11774
11775 * isearch.el (isearch-yank-pop): New command.
5767d190 11776 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11777 (isearch-forward): Mention it.
11778
52d3c2d0
SM
117792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11780
1bcace58
SM
11781 * simple.el (minibuffer-complete-shell-command): Remove.
11782 (minibuffer-local-shell-command-map): Use completion-at-point.
11783 (read-shell-command): Setup completion vars here instead.
11784 (read-expression-map): Bind TAB to symbol completion.
11785
52d3c2d0
SM
11786 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11787 error directly rather via storing it into `results'.
11788
35813471
LL
117892011-05-02 Leo Liu <sdl.web@gmail.com>
11790
11791 * vc/diff.el: Fix description.
11792
e793a940
LMI
117932011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11794
11795 * server.el (server-eval-at): New function.
11796
8de66e05
LMI
117972011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11798
11799 * net/network-stream.el (open-network-stream): Take a :nowait
11800 parameter and pass it on to `make-network-process'.
11801 (network-stream-open-plain): Ditto.
11802
dcb79f20
AS
118032011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11804
11805 * faces.el (face-spec-set-match-display): Don't match toolkit
11806 options on terminal frames.
11807
14a7fbd8
SM
118082011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11809
7eabc1be
SM
11810 * progmodes/pascal.el: Use lexical binding.
11811 (pascal-mode-map): Remove author preferences.
11812
14a7fbd8
SM
11813 * pcomplete.el (pcomplete-std-complete): Don't abuse
11814 completion-at-point.
11815
50f84510
JB
118162011-04-28 Juanma Barranquero <lekktu@gmail.com>
11817
6e087a44
JB
11818 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11819 removing code that has been dead since 1991 or so.
11820
50f84510
JB
11821 * startup.el (command-line): When warning about "_emacs", use a
11822 delayed warning to allow the user to filter it out.
11823
0ba690bd
DD
118242011-04-28 Deniz Dogan <deniz@dogan.se>
11825
11826 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11827 user has not joined.
11828
08abfaad
SM
118292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11832 aren't any completions at point.
11833
638f053a
JB
118342011-04-28 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * subr.el (display-delayed-warnings): New function.
11837 (delayed-warnings-hook): New variable.
11838
8fff8daa
SM
118392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11840
08abfaad
SM
11841 * minibuffer.el (completion-at-point, completion-help-at-point):
11842 Don't presume that a given completion-at-point-function will always
11843 use the same calling convention.
11844
8fff8daa
SM
11845 * pcomplete.el (pcomplete-completions-at-point):
11846 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11847 pcomplete-seen is non-nil.
11848 (pcomplete-comint-setup): Also recognize the new comint/shell
11849 completion functions.
11850 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11851 pcomplete-seen is non-nil.
11852
841a1577 118532011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11854
841a1577 11855 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11856 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11857 the first character in the entry. This allows for code to add its
211ec907
UJ
11858 own uid to the entry.
11859 (icalendar--convert-float-to-ical): Add export of
11860 `diary-float'-entries save for those with the optional DAY
11861 argument.
11862
2a782793
DC
118632011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11864
11865 * subr.el (shell-quote-argument): Use alternate escaping strategy
11866 when we spot a variable reference in a string.
11867
0438ce91
DC
118682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11869
11870 * cus-start.el (all): Define customization for debug-on-event.
11871
841a1577 118722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11873
11874 * subr.el (shell-quote-argument): Escape correctly under Windows.
11875
d090ed6c
SM
118762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11879
bfd31217
MA
118802011-04-25 Michael Albinus <michael.albinus@gmx.de>
11881
d090ed6c
SM
11882 * net/tramp.el (tramp-process-actions): Add POS argument.
11883 Delete region between POS and (pos).
bfd31217 11884
d090ed6c
SM
11885 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11886 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11887 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11888
11889 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11890 position in `tramp-process-actions' call.
11891
11892 * net/trampver.el: Update release number.
11893
e92f3bd3
SM
118942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11895
850256b5
SM
11896 * custom.el (defcustom): Obey lexical-binding.
11897
e92f3bd3
SM
11898 Fix octave-inf completion problems reported by Alexander Klimov.
11899 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11900 Inherit from octave-mode-syntax-table.
11901 (inferior-octave-mode): Set info-lookup-mode.
11902 (inferior-octave-completion-at-point): New function.
11903 (inferior-octave-complete): Use it and completion-in-region.
11904 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11905 comint-filename-completion.
11906 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11907 symbol elements which shouldn't be word elements.
11908 (octave-font-lock-keywords, octave-beginning-of-defun)
11909 (octave-function-header-regexp): Adjust regexps accordingly.
11910 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11911
cd22b309
JB
119122011-04-25 Juanma Barranquero <lekktu@gmail.com>
11913
11914 * net/gnutls.el (gnutls-errorp): Declare before first use.
11915
8b492194
TZ
119162011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11917
11918 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11919 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11920 default trustfile exists before going to use it. Add missing
5a5fa834 11921 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11922 Reported by Claudio Bley <claudio.bley@gmail.com>.
11923 (open-gnutls-stream): Add usage example.
11924
11925 * net/network-stream.el (network-stream-open-starttls): Give host
11926 parameter to `gnutls-negotiate'.
11927 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11928 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11929
841a1577 119302011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11931
cd22b309
JB
11932 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11933 Use correct match group (bug#8438).
05842630 11934
3ba7869c
CY
119352011-04-24 Chong Yidong <cyd@stupidchicken.com>
11936
512e3ae1
CY
11937 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11938 (package-menu--generate): New arg specifying packages to show.
11939 (package-menu-refresh, package-menu-execute, list-packages):
11940 Callers changed.
11941 (package-show-package-list): New function, replacing deleted
11942 package--list-packages (renamed because it is non-internal).
11943
11944 * finder.el (finder-list-matches): Use package-show-package-list
11945 instead of deleted package--list-packages.
11946
e92f3bd3
SM
11947 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11948 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11949 (vc-annotate-mode-map): Bind it to RET.
11950
7031be6d
UR
119512011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11952
11953 * progmodes/etags.el (next-file): Don't use set-buffer to change
11954 buffers (Bug#8478).
11955
4ef177aa
CY
119562011-04-24 Chong Yidong <cyd@stupidchicken.com>
11957
c8d173eb
CY
11958 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11959
4ef177aa
CY
11960 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11961 (apropos-accumulator): Doc fix.
11962 (apropos-function, apropos-macro, apropos-command)
11963 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11964 (apropos-plist): Add face property.
11965 (apropos-symbols-internal): Fix indentation.
11966 (apropos-print): Simplify help, and recognize apropos-multi-type.
11967 (apropos-print-doc): Use button-type-get to extract the button's
11968 face property. Fill docstring (Bug#8352).
11969
4ffd0d6b 119702011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11971
11972 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11973
c6c32125 11974 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11975 (mpuz-mode-map): Use mapc.
c6c32125
JB
11976 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11977 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11978 Fix typos in docstrings.
11979
58d468b4
JB
11980 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11981 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11982
6470c3c6
JB
11983 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11984
4ffd0d6b 119852011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11986
11987 * minibuffer.el (completion--do-completion): Avoid the "Next char
11988 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11989
3ad8bad0
CY
11990 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11991 mouse-2 into unread-command-events, it is interpreted correctly.
11992
71d73c9c 11993 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11994 (image-toggle-display): Doc fix.
71d73c9c 11995
841a1577 119962011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11997
4ffd0d6b
GM
11998 * textmodes/page.el (what-page): Use line-number-at-pos to
11999 calculate line number (Bug#6825).
6e1dbaa9 12000
c2fb1b60
JB
120012011-04-22 Juanma Barranquero <lekktu@gmail.com>
12002
12003 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12004 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12005 Pass argument NO-DEFAULT to `find-tag-interactive'.
12006
e02f48d7
JB
120072011-04-22 Juanma Barranquero <lekktu@gmail.com>
12008
12009 Lexical-binding cleanup.
12010
12011 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12012 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12013 * progmodes/ada-prj.el (ada-prj-initialize-values)
12014 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12015 (ada-prj-show-value):
12016 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12017 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12018 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12019 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12020 * progmodes/bug-reference.el (bug-reference-push-button):
12021 * progmodes/fortran.el (fortran-line-length):
12022 * progmodes/glasses.el (glasses-change):
12023 * progmodes/octave-mod.el (octave-fill-paragraph):
12024 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12025 (python-pdbtrack-grub-for-buffer, python-sentinel):
12026 * progmodes/sql.el (sql-save-connection):
12027 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12028 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12029 Mark unused parameters.
12030
12031 * progmodes/compile.el (compilation--flush-directory-cache)
12032 (compilation--flush-parse, compile-internal): Mark unused parameters.
12033 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12034 (compilation-next-error-function): Remove unused variable `timestamp'.
12035
12036 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12037 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12038
12039 * progmodes/dcl-mode.el (dcl-end-of-command):
12040 Remove unused variable `start'.
12041 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12042 (dcl-option-value-basic, dcl-option-value-offset)
12043 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12044 Mark unused parameters.
12045 (dcl-save-local-variable): Remove unused variable `val'.
12046 (mode): Declare.
12047
12048 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12049 Mark unused parameters.
12050 (delphi-ignore-changes): Move before first use.
12051 (delphi-charset-token-at): Remove unused variable `start'.
12052 (delphi-else-start): Remove unused variable `if-count'.
12053 (delphi-comment-block-start, delphi-comment-block-end):
12054 Remove unused variable `kind'.
12055 (delphi-indent-line): Remove unused variable `new-point'.
12056
12057 * progmodes/ebrowse.el (ebrowse-files-list)
12058 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12059 Mark unused parameters. Don't quote `lambda'.
12060 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12061 Don't quote `lambda'.
12062 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12063 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12064 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12065 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12066 Use `ignore-errors'.
12067 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12068 (ebrowse-view/find-file-and-search-pattern)
12069 (ebrowse-view/find-member-declaration/definition):
12070 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12071 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12072 Rename parameter PREFIX-ARG to PREFIX.
12073 (ebrowse-tags-read-name): Remove unused variables `start' and
12074 `member-info'.
12075 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12076 to `tags-file'.
12077
12078 * progmodes/etags.el (local-find-tag-hook): Declare.
12079 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12080 Mark unused parameters.
12081
12082 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12083 (executable-interpret): Mark unused parameter.
12084
12085 * progmodes/flymake.el (flymake-process-sentinel)
12086 (flymake-after-change-function)
12087 (flymake-create-temp-with-folder-structure)
12088 (flymake-get-include-dirs-dot): Mark unused parameters.
12089 (flymake-safe-delete-directory): Remove unused variable `err'.
12090
12091 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12092 (speedbar-timer-fn, speedbar-line-text)
12093 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12094 (speedbar-center-buffer-smartly): Declare functions.
12095 (gdb-find-watch-expression): Remove unused variable `array'.
12096 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12097 (gdb-starting): Mark unused parameters.
12098 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12099 (gdb-table-string): Remove unused variable `res'.
12100 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12101 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12102 (gdb-display-buffer): Remove unused variable `cur-size'.
12103
12104 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12105 allow lexical-binding compilation.
12106 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12107 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12108 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12109 Mark unused parameters.
12110 (gud-gdb-marker-filter): Remove unused variable `match'.
12111 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12112 lambda expressions and funcall them, instead of using `fset'.
12113
12114 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12115 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12116
12117 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12118 variable `header-beg'; use `let'.
12119
12120 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12121 `restart', `last-sexp' and `at-do'.
12122
12123 * progmodes/js.el (js--debug): Mark unused parameter.
12124 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12125 (js--splice-into-items): Remove unused variable `item'.
12126 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12127
12128 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12129 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12130 (makefile-complete): Remove unused variable `try'.
12131 (makefile-fill-paragraph, makefile-match-function-end):
12132 Mark unused parameters.
12133
12134 * progmodes/octave-inf.el (inferior-octave-complete):
12135 Remove unused variable `proc'.
12136 (inferior-octave-output-digest): Mark unused parameter.
12137
12138 * progmodes/perl-mode.el (perl-calculate-indent):
12139 Remove unused variable `err'.
12140
12141 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12142 (prolog-indent-line): Mark unused parameters.
12143 (prolog-indent-line): Remove unused variable `beg'.
12144
12145 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12146 (reporter-dont-compact-list): Declare.
12147
12148 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12149 Remove unused variable `char'.
12150 (sh-debug): Mark unused parameter.
12151 (sh-get-indent-info): Remove unused variable `start'.
12152 (sh-calculate-indent): Remove unused variable `var'.
12153
12154 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12155 (simula-electric-keyword): Remove unused variable `null'.
12156 (simula-search-backward, simula-search-forward): Remove unused
12157 variables `begin' and `end'.
12158
12159 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12160 Remove unused variable `pos'.
12161 (vera-electric-tab, vera-comment-uncomment-region):
12162 Mark unused parameters.
12163 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12164
7ede3b65
CY
121652011-04-22 Chong Yidong <cyd@stupidchicken.com>
12166
12167 * emacs-lisp/package.el (package--builtins, package-alist)
12168 (package-load-descriptor, package-built-in-p, package-activate)
12169 (define-package, package-installed-p)
12170 (package-compute-transaction, package-buffer-info)
12171 (package--push): Doc fix. Distinguish more clearly between
12172 version strings and version lists.
12173
121656e9
JB
121742011-04-21 Juanma Barranquero <lekktu@gmail.com>
12175
12176 Lexical-binding cleanup.
12177
12178 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12179 (5x5-make-mutate-best):
12180 * play/fortune.el (fortune-in-buffer):
12181 * play/gomoku.el (gomoku-init-display):
12182 * play/solitaire.el (solitaire, solitaire-do-check):
12183 * play/tetris.el (tetris-default-update-speed-function):
12184 Mark unused parameters.
12185
12186 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12187 (bubbles--shift): Remove unused variable `char-org'.
12188 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12189 (bubbles--show-images): Remove unused variable `char'.
12190
12191 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12192 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12193 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12194 (decipher-analyze-buffer): Use ?\s.
12195 (decipher-make-checkpoint): Remove unused variable `mapping'.
12196
12197 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12198
12199 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12200 Remove unused variable `result'; use `let'.
12201
12202 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12203 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12204 (gametree-children-shown-p, gametree-compute-reduced-score):
12205 Use `ignore-errors'.
12206
12207 * play/handwrite.el (ps-lpr-switches): Declare.
12208 (handwrite): Remove unused variables `pmin' and `lastp'.
12209
12210 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12211
12212 * play/landmark.el (landmark-init-display)
12213 (landmark-update-naught-weights): Mark unused parameters.
12214 (landmark-y): Remove unused variable `noise'. Simplify.
12215 (landmark-human-plays): Remove unused variable `score'.
12216
12217 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12218 (mpuz-try-proposal): Remove unused variable `game'.
12219
12220 * play/zone.el (life-patterns): Declare.
12221
80f499c7
JB
122222011-04-20 Juanma Barranquero <lekktu@gmail.com>
12223
12224 * vc/vc.el (ediff-vc-internal): Declare function.
12225
024ff170
SM
122262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12227
c0a193ea
SM
12228 * shell.el: Use lexical-binding and std completion UI.
12229 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12230 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12231 comint-preoutput-filter-functions rather than on
12232 comint-output-filter-functions.
12233 (shell-command-completion, shell--command-completion-data)
12234 (shell-filename-completion, shell-environment-variable-completion)
12235 (shell-c-a-p-replace-by-expanded-directory): New functions.
12236 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12237 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12238 (shell-dynamic-complete-environment-variable): Use them.
12239 (shell-dynamic-complete-as-environment-variable)
12240 (shell-dynamic-complete-as-command): Remove.
12241 (shell-match-partial-variable): Match past point.
12242 * comint.el: Clean up use of completion-at-point-functions.
12243 (comint-completion-at-point): New function.
12244 (comint-mode): Use it completion-at-point-functions.
12245 (comint-dynamic-complete): Make it obsolete.
12246 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12247 (comint-c-a-p-replace-by-expanded-history): New function.
12248 (comint-dynamic-complete-functions)
12249 (comint-replace-by-expanded-history): Use it.
12250 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12251 termination strings. Try harder to avoid second try-completion.
12252 (completion-in-region-mode-map): Disable bindings that don't work yet.
12253
2dbaa080
SM
12254 * comint.el: Use lexical-binding. Require CL.
12255 (comint-dynamic-complete-functions): Use comint-filename-completion.
12256 (comint-completion-addsuffix): Tweak custom type.
12257 (comint-filename-completion, comint--common-suffix)
12258 (comint--common-quoted-suffix, comint--table-subvert)
12259 (comint--complete-file-name-data): New functions.
12260 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12261 (comint-dynamic-list-filename-completions): Use them.
12262 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12263
2dbaa080
SM
12264 * minibuffer.el (completion-in-region-mode):
12265 Keep completion-in-region-mode--predicate global.
12266 (completion-in-region--postch):
12267 Assume completion-in-region-mode--predicate is not null.
12268
c79a6f38
SM
12269 * progmodes/flymake.el (flymake-start-syntax-check-process):
12270 Obey `dir'. Simplify.
12271
024ff170
SM
12272 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12273 we're in VC after all.
12274
1c6c854e
CS
122752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12276
12277 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12278 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12279 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12280
bed7f140
SM
122812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12282
332e62ab
SM
12283 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12284 add sanity check.
12285
bed7f140
SM
12286 * obsolete/erc-hecomplete.el: Make obsolete.
12287 * obsolete/: Standardize obsolescence info in the header.
12288
f195c582
GM
122892011-04-20 Glenn Morris <rgm@gnu.org>
12290
12291 * calendar/solar.el (solar-horizontal-coordinates):
12292 Use the longitude argument rather than `calendar-longitude'.
12293 (solar-date-next-longitude): Remove unused locals.
12294
cb79b8c0
VJL
122952011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12296
12297 * whitespace.el: New version 13.2.1.
12298
122992011-04-20 felix <EmacsWiki> (tiny change)
12300
d8e4b68b 12301 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12302 switching between major modes on a file.
12303
602ea69d
SM
123042011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12307 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12308 multi-line comments as well.
12309
06b60517
JB
123102011-04-19 Juanma Barranquero <lekktu@gmail.com>
12311
12312 Lexical-binding cleanup.
12313
12314 * arc-mode.el (archive-mode-revert):
12315 * cmuscheme.el (scheme-interactively-start-process):
12316 * custom.el (custom-initialize-delay):
12317 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12318 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12319 * emacs-lock.el (emacs-lock-clear-sentinel):
12320 * ezimage.el (defezimage):
12321 * follow.el (follow-avoid-tail-recenter):
12322 * fringe.el (set-fringe-mode-1):
12323 * generic-x.el (bat-generic-mode-compile):
12324 * help-mode.el (help-info-variable, help-do-xref)
12325 (help-mode-revert-buffer):
12326 * help.el (view-emacs-todo):
12327 * iswitchb.el (iswitchb-completion-help):
12328 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12329 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12330 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12331 * locate.el (locate-update):
12332 * longlines.el (longlines-encode-region)
12333 (longlines-after-change-function):
12334 * outline.el (outline-isearch-open-invisible):
12335 * ps-def.el (declare-function, charset-dimension, char-width)
12336 (encode-char):
12337 * ps-mule.el (ps-mule-plot-string):
12338 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12339 (recentf-edit-list-select, recentf-edit-list-validate)
12340 (recentf-open-files-action):
12341 * rect.el (delete-whitespace-rectangle-line)
12342 (rectangle-number-line-callback):
12343 * register.el (window-configuration-to-register)
12344 (frame-configuration-to-register):
12345 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12346 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12347 (xselect-convert-to-targets, xselect-convert-to-delete)
12348 (xselect-convert-to-filename, xselect-convert-to-charpos)
12349 (xselect-convert-to-lineno, xselect-convert-to-colno)
12350 (xselect-convert-to-os, xselect-convert-to-host)
12351 (xselect-convert-to-user, xselect-convert-to-class)
12352 (xselect-convert-to-name, xselect-convert-to-integer)
12353 (xselect-convert-to-atom, xselect-convert-to-identity):
12354 * subr.el (declare, ignore, process-kill-without-query)
12355 (text-clone-maintain):
12356 * terminal.el (te-get-char, te-tic-sentinel):
12357 * tool-bar.el (tool-bar-make-keymap):
12358 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12359 * type-break.el (type-break-mode, type-break-noninteractive-query):
12360 * view.el (View-back-to-mark):
12361 * wid-browse.el (widget-browse-action, widget-browse-widget)
12362 (widget-browse-widgets, widget-browse-sexp):
12363 * widget.el (define-widget-keywords):
12364 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12365 Mark unused parameters.
12366
12367 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12368 (align-areas): Remove unused variable `look'.
12369 (align-region): Remove unused variables `real-end' and `pos-list'.
12370
12371 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12372
12373 * bindings.el (mode-line-modified, mode-line-remote):
12374 Mark unused parameters.
12375 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12376
12377 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12378 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12379
12380 * comint.el (comint-history-isearch-pop-state)
12381 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12382 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12383 (comint-substitute-in-file-name): Doc fix.
12384
12385 * completion.el (cmpl-statistics-block): Mark unused parameter.
12386 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12387 (save-completions-to-file, load-completions-from-file):
12388 Remove unused local variable `e'.
12389
12390 * composite.el (compose-chars): Remove unused variable `len'.
12391 (lgstring-insert-glyph): Remove unused variable `g'.
12392 (compose-glyph-string): Remove unused variables `ascent',
12393 `descent', `lbearing' and `rbearing'.
12394 (compose-glyph-string-relative): Remove unused variables
12395 `lbearing', `rbearing' and `wadjust'.
12396 (compose-gstring-for-graphic): Remove unused variables `header',
12397 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12398 (compose-gstring-for-terminal): Remove unused variables `header'
12399 and `nchars'. Use `let', not `let*'.
12400
12401 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12402 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12403 (Custom-buffer-done, custom-buffer-create-internal)
12404 (custom-browse-visibility-action, custom-browse-group-tag-action)
12405 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12406 (widget-magic-mouse-down-action, custom-toggle-parent)
12407 (custom-add-parent-links, custom-toggle-hide-variable)
12408 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12409 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12410 (custom-face-menu-create, custom-variable-menu-create, get)
12411 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12412 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12413 (customize-apropos): Remove unused variable `tests'.
12414 (custom-group-value-create): Remove unused variable `hidden-p'.
12415 (sort-fold-case): Declare.
12416
12417 * cus-theme.el (custom-reset-standard-faces-list)
12418 (custom-reset-standard-variables-list): Declare.
12419 (customize-create-theme, custom-theme-revert, custom-theme-write)
12420 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12421 Mark unused parameters.
12422
12423 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12424
12425 * delim-col.el (delimit-columns-max): Move defvar before first use.
12426
12427 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12428 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12429
12430 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12431 (auto-insert): Declare.
12432 (desktop-restore-file-buffer): Rename desktop-* parameters;
12433 mark unused ones.
12434 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12435 (desktop-buffer): Rename desktop-* parameters.
12436
12437 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12438 (dframe-reposition-frame-xemacs, dframe-help-echo)
12439 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12440 Mark unused parameters.
12441
12442 * dired-aux.el (backup-extract-version-start, overwrite-query)
12443 (overwrite-backup-query, rename-regexp-query)
12444 (rename-non-directory-query): Declare.
12445 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12446 (dired-add-entry): Remove unused variable `orig-file-name'.
12447 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12448 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12449 `dired-copy-preserve-time' directly.
12450 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12451 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12452
12453 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12454 (dired-virtual-revert, dired-make-relative-symlink):
12455 Mark unused parameters.
12456 (manual-program): Declare.
12457 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12458 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12459 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12460
12461 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12462
12463 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12464
12465 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12466 Declare.
12467
12468 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12469
12470 * electric.el (Electric-command-loop): Rename parameter
12471 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12472
12473 * expand.el (expand-in-literal): Remove unused variable `here'.
12474
12475 * facemenu.el (facemenu-add-new-color):
12476 Remove unused variable `docstring'.
12477
12478 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12479 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12480 (face-attr-construct): Mark unused parameter. Doc fix.
12481 (read-color): Remove unused variable `hex-string'.
12482
12483 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12484 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12485 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12486 (display-buffer-other-frame): Remove unused variable `old-window'.
12487 (kill-buffer-hook): Declare.
12488 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12489 Mark unused parameters.
12490 (after-find-file): Pass 1 to `auto-save-mode', not t.
12491
12492 * files-x.el (auto-insert): Declare.
12493 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12494
12495 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12496 variable `buf'. Mark unused parameter.
06b60517
JB
12497 (find-lisp-insert-directory): Mark unused parameter.
12498
12499 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12500 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12501 (format-common-tail): Remove, unused.
12502 (format-deannotate-region): Remove unused variable `loc'.
12503 (format-annotate-region): Remove unused variable `p'.
12504 (format-annotate-single-property-change): Remove unused variables
12505 `default' and `tail'.
12506
12507 * forms.el (read-file-filter): Declare.
12508 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12509
12510 * frame.el (frame-creation-function-alist): Mark unused parameter.
12511 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12512
12513 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12514 Remove unused parameters.
12515 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12516 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12517
12518 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12519 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12520 (hfy-prepare-tag-map): Mark unused parameters.
12521 (htmlfontify-buffer): Use `called-interactively-p'.
12522
12523 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12524 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12525 (ibuffer-do-occur): Mark unused parameters.
12526 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12527 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12528
12529 * ibuffer.el: Don't quote `lambda'.
12530 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12531 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12532 Mark unused parameters.
12533
12534 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12535 (ido-completing-read): Mark unused parameters.
12536 (ido-copy-current-word): Mark unused parameters;
12537 remove unused variable `name'.
12538 (ido-sort-merged-list): Remove unused parameter `dirs'.
12539
12540 * ielm.el (ielm-input-sender): Mark unused parameter.
12541 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12542 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12543 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12544 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12545 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12546
12547 * image-dired.el (image-dired-display-thumbs): Remove unused
12548 variables `curr-file' and `count'.
12549 (image-dired-remove-tag): Remove unused variable `start'.
12550 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12551 variable `curr-file'
12552 (image-dired-rotate-original): Remove unused variable `temp-file'.
12553 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12554 Remove unused variable `file'.
12555 (image-dired-gallery-generate): Remove unused variable `curr'.
12556 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12557
12558 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12559
12560 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12561
12562 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12563
12564 * isearch.el (minibuffer-history-symbol): Declare.
12565 (isearch-edit-string): Remove unused variable `err'.
12566 (isearch-message-prefix, isearch-message-suffix):
12567 Mark unused parameters.
12568
12569 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12570
12571 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12572
12573 * makesum.el (double-column): Remove unused variable `cnt'.
12574
12575 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12576 (ido-ignore-item-temp-list): Declare.
12577
12578 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12579 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12580 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12581 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12582 `mouse-col-delta'.
12583
12584 * mouse-sel.el (mouse-extend-internal):
12585 Remove unused variable `orig-window-frame'.
12586
12587 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12588 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12589 Move declarations before first use.
12590 (pcomplete-opt): Mark unused parameters; doc fix.
12591
12592 * proced.el (proced-revert): Mark unused parameter.
12593 (proced-send-signal): Remove unused variable `err'.
12594
12595 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12596 Rename parameter PREFIX-ARG to ARG.
12597 (ps-basic-plot-string, ps-basic-plot-whitespace):
12598 Mark unused parameters.
12599
12600 * replace.el (replace-count): Define.
12601 (occur-revert-function): Mark unused parameters.
12602 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12603 (isearch-case-fold-search, isearch-string): Declare.
12604 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12605 bind `case-fold-search'. Remove unused variables `beg' and `end',
12606 and simplify.
12607 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12608 COUNT and bind `replace-count'.
12609 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12610 to COUNT.
12611
12612 * savehist.el (print-readably, print-string-length): Declare.
12613
12614 * shadowfile.el (shadow-expand-cluster-in-file-name):
12615 Remove unused variable `cluster'.
12616 (shadow-copy-file): Remove unused variable `i'.
12617 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12618 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12619 (shadow-define-literal-group, shadow-define-regexp-group)
12620 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12621
12622 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12623 (shell): Use `called-interactively-p'.
12624 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12625
12626 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12627 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12628 (delete-backward-char): Remove unused variable `ocol'.
12629 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12630 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12631 (event-apply-hyper-modifier, event-apply-shift-modifier)
12632 (event-apply-control-modifier, event-apply-meta-modifier):
12633 Mark unused parameters.
12634 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12635 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12636
12637 * speedbar.el (speedbar-ignored-directory-expressions)
12638 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12639 (speedbar-find-file, speedbar-dir-follow)
12640 (speedbar-directory-buttons-follow, speedbar-tag-find)
12641 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12642 (speedbar-buffers-line-directory, speedbar-buffer-click):
12643 Mark unused parameters.
12644 (speedbar-tag-file): Remove unused variable `mode'.
12645 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12646
12647 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12648
12649 * talk.el (talk): Remove unused variable `display'.
12650
12651 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12652 (tar-write-region-annotate): Mark unused parameter.
12653
12654 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12655 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12656 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12657 warning by another.
12658
12659 * time-stamp.el (time-stamp-string-preprocess):
12660 Remove unused variable `require-padding'.
12661
12662 * tree-widget.el (widget-glyph-enable): Declare.
12663 (tree-widget-action): Mark unused parameter.
12664
12665 * w32-fns.el (x-get-selection): Mark unused parameter.
12666 (autoload-make-program, generated-autoload-file): Declare.
12667
12668 * wdired.el (wdired-revert): Mark unused parameters.
12669 (wdired-xcase-word): Remove unused variable `err'.
12670
12671 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12672 (whitespace-help-scroll): Remove unused variable `data-help'.
12673
12674 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12675 (widget-image-insert, widget-after-change, default)
12676 (widget-default-format-handler, widget-default-notify)
12677 (widget-default-prompt-value, widget-info-link-action)
12678 (widget-url-link-action, widget-function-link-action)
12679 (widget-variable-link-action, widget-file-link-action)
12680 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12681 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12682 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12683 (widget-insert-button-action, widget-delete-button-action, visibility)
12684 (widget-documentation-link-action, widget-documentation-string-action)
12685 (widget-const-prompt-value, widget-regexp-match, symbol)
12686 (widget-coding-system-prompt-value)
12687 (widget-key-sequence-value-to-external, sexp)
12688 (widget-sexp-value-to-internal, character, vector, cons)
12689 (widget-choice-prompt-value, widget-boolean-prompt-value)
12690 (widget-color--choose-action): Mark unused parameters.
12691 (widget-item-match-inline, widget-choice-match-inline)
12692 (widget-checklist-match, widget-checklist-match-inline)
12693 (widget-group-match): Rename parameter VALUES to VALS.
12694 (widget-field-value-set): Remove unused variable `size'.
12695 (widget-color-action): Remove unused variables `value' and `start'.
12696
12697 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12698 variable `dir'. Doc fix.
06b60517
JB
12699 (windmove-find-other-window): Don't pass it.
12700
12701 * window.el (count-windows): Mark unused parameter.
12702 (bw-adjust-window): Remove unused variable `err'.
12703
12704 * woman.el (woman-file-name): Remove unused variable `default'.
12705 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12706 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12707 (global-font-lock-mode): Declare.
12708 (woman-decode-region): Mark unused parameter.
12709 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12710
12711 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12712 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12713 (x-dnd-handle-moz-url): Remove unused variable `title'.
12714 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12715
12716 * xml.el (xml-parse-tag, xml-parse-attlist):
12717 Remove unused variable `pos'.
12718
bc4f7f3d
GM
127192011-04-19 Glenn Morris <rgm@gnu.org>
12720
12721 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12722 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12723 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12724 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12725 * calendar/cal-html.el (cal-html-insert-minical):
12726 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12727 (calendar-mark-date-pattern):
12728 Prefix "unused" locals.
12729
12730 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12731 optional argument `style'.
12732
12733 * calendar/appt.el (appt-make-list):
12734 * calendar/cal-china.el (calendar-chinese-date-string):
12735 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12736 (diary-hebrew-yahrzeit):
12737 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12738 * calendar/calendar.el (calendar-generate-window):
12739 * calendar/time-date.el (time-to-days):
12740 Remove unused local variables.
12741
16a43933
CY
127422011-04-18 Chong Yidong <cyd@stupidchicken.com>
12743
12744 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12745 glyphless-char-display table.
12746 (tabulated-list-glyphless-char-display): New var.
12747
7eed1860
SS
127482011-04-18 Sam Steingold <sds@gnu.org>
12749
12750 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12751 to acknowledgments.
12752
4d2d1ccd
GM
127532011-04-17 Glenn Morris <rgm@gnu.org>
12754
12755 * calendar/diary-lib.el (diary-sexp-entry):
12756 * calendar/holidays.el (holiday-sexp):
12757 Set debug-on-error rather than the removed stack-trace-on-error.
12758
239da61d
GM
127592011-04-16 Glenn Morris <rgm@gnu.org>
12760
12761 * progmodes/f90.el: Use lexical-binding.
12762 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12763
8b05752a
SM
127642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12765
daca8ba5
SM
12766 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12767 (mail-mode): Setup mailalias completion here instead.
12768 * mail/mailalias.el: Use lexical-binding.
12769 (pattern, mailalias-done): Declare dynamic.
12770 (mail-completion-at-point-function): New function, from mail-complete.
12771 (mail-complete): Use it.
12772 (mail-completion-expand): New function.
12773 (mail-get-names): Use it.
12774 (mail-directory, mail-directory-process, mail-directory-stream):
12775 Don't use `pattern' for lexically bound arg.
12776
6f542485
SM
12777 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12778
037e7c3f
SM
12779 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12780 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12781 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12782
8b05752a
SM
12783 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12784 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12785 (byte-interactive-p): Define them again, for use when inlining
12786 old code.
12787
49093f60
JB
127882011-04-15 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * loadup.el: Use `string-to-number', not `string-to-int'.
12791
b5b8e7de
SM
127922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12795 gud-gdb-complete-command.
12796 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12797 (gud-gdb-completion-at-point): New function.
12798 (gud-gdb-completions): Remove.
12799
f42efeb5
MA
128002011-04-14 Michael Albinus <michael.albinus@gmx.de>
12801
49093f60
JB
12802 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12803 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12804 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12805 whether `executable-find' is bound.
f42efeb5
MA
12806
12807 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12808
e240cc21
SM
128092011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * minibuffer.el (completion-in-region-mode-predicate)
12812 (completion-in-region-mode--predicate): New vars.
12813 (completion-in-region, completion-in-region--postch)
12814 (completion-in-region-mode): Use them.
12815 (completion--capf-wrapper): Also return the hook function.
12816 (completion-at-point, completion-help-at-point):
12817 Adjust and provide a predicate.
c2bd2ab0
SM
12818
12819 Preserve arg names for advice of subr and lexical functions (bug#8457).
12820 * help-fns.el (help-function-arglist): Consolidate the subr and
12821 new-byte-code cases. Add argument `preserve-names' to extract names
12822 from the docstring when needed.
12823 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12824 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12825 (ad-arglist): Use help-function-arglist's new arg.
12826 (ad-definition-type): Use cond.
12827
c183f693
JB
128282011-04-13 Juanma Barranquero <lekktu@gmail.com>
12829
06641a47
JB
12830 * autorevert.el (auto-revert-handler):
12831 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12832 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12833 Don't quote lambda.
12834
c183f693
JB
12835 * image-mode.el (image-transform-set-scale):
12836 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12837
1e3b6001
G
128382011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12839
12840 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12841 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12842 Upgrades via gnutls-cli are too slow to be done opportunistically.
12843
2d6af8dd
JB
128442011-04-12 Juanma Barranquero <lekktu@gmail.com>
12845
12846 * dframe.el (dframe-current-frame): Remove spurious quote.
12847
c0749a51
GM
128482011-04-12 Glenn Morris <rgm@gnu.org>
12849
088d0d61
GM
12850 * calendar/cal-tex.el (cal-tex-end-document):
12851 Try to automatically use latin1 input if needed.
12852
c0749a51
GM
12853 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12854 Don't try to cons a mark onto an empty element.
12855
5c90fde0
LL
128562011-04-11 Leo Liu <sdl.web@gmail.com>
12857
12858 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12859 buffers.
12860 (ido-kill-buffer-at-head): Support killing virtual buffers.
12861
369e974d
CY
128622011-04-10 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * minibuffer.el (completion-show-inline-help): New var.
12865 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12866 (minibuffer-force-complete, minibuffer-complete-word):
12867 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12868
12869 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12870 to avoid interference from inline help (Bug#5849).
12871
37f1c930
LL
128722011-04-10 Leo Liu <sdl.web@gmail.com>
12873
099c39a4
JB
12874 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12875 Fix typo.
37f1c930 12876
a32d4040
CY
128772011-04-09 Chong Yidong <cyd@stupidchicken.com>
12878
12879 * image-mode.el (image-toggle-display-image): Signal an error if
12880 not in Image mode.
12881 (image-transform-mode, image-transform-resize)
12882 (image-transform-set-rotation): Doc fix.
daca8ba5 12883 (image-transform-set-resize): Delete.
a32d4040
CY
12884 (image-transform-set-scale, image-transform-fit-to-height)
12885 (image-transform-fit-to-width): Handle image-toggle-display-image
12886 and image-transform-resize directly.
12887
099c39a4 128882011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12889
12890 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12891 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12892 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12893 (doc-view-mode-map): Add bindings for the new functions.
12894
099c39a4 128952011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12896
4d61f28d 12897 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12898 Fix typo in docstring.
12899
3726838a
EZ
129002011-04-08 Eli Zaretskii <eliz@gnu.org>
12901
04f33f1e
EZ
12902 * files.el (file-size-human-readable): Produce one digit after
12903 decimal, like "ls -lh" does.
12904
12905 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12906 the file size representation.
12907
3726838a
EZ
12908 * simple.el (list-processes): If async subprocesses are not
12909 available, error out with a clear error message.
12910
cbb59342
CY
129112011-04-08 Chong Yidong <cyd@stupidchicken.com>
12912
12913 * help.el (help-form-show): New function, to be called from C.
12914 Put help-form output in a buffer named differently than *Help*.
12915
e3971c44
EZ
129162011-04-08 Eli Zaretskii <eliz@gnu.org>
12917
12918 * files.el (file-size-human-readable): New function.
12919
12920 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12921 computing the representation inline. Don't require `cl'.
12922
12544bbe
GM
129232011-04-08 Glenn Morris <rgm@gnu.org>
12924
a1de6c6a
GM
12925 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12926
3c4671f4
GM
12927 * net/browse-url.el (browse-url-firefox):
12928 Test system-type, not system-configuration.
12929
b605679c
GM
12930 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12931 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12932 Use log-edit-empty-buffer-p. (Bug#7598)
12933
56442f0c
GM
12934 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12935 (rlogin-mode-map): Initialize in the defvar.
12936 (rlogin): Use ignore-errors.
12937
12544bbe
GM
12938 * replace.el (occur-mode-map): Some fixes for menu items.
12939
eb237b0f
AH
129402011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12941
12942 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12943
7d668f2c
CY
129442011-04-06 Chong Yidong <cyd@stupidchicken.com>
12945
e67a13ab
CY
12946 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12947 issuing unused warnings.
12948
12949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12950 macro directly.
12951
7d668f2c
CY
12952 * simple.el: Lisp reimplement of list-processes. Based on an
12953 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12954 (process-menu-mode): New major mode.
12955 (list-processes--refresh, list-processes):
12956 (process-menu-visit-buffer): New functions.
12957
12958 * files.el (save-buffers-kill-emacs): Don't assume any return
12959 value of list-processes, which is undocumented anyway.
12960
a83ec3c9
CY
129612011-04-06 Chong Yidong <cyd@stupidchicken.com>
12962
12963 * emacs-lisp/tabulated-list.el: New file.
12964
e91a96fe
CY
12965 * emacs-lisp/package.el: Use Tabulated List mode.
12966 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12967 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12968 table format using Tabulated List mode variables.
12969 (package--push): New macro, replacing package-list-maybe-add.
12970 (package-menu--generate): Use package--push. Renamed from
12971 package--generate-package-list.
12972 (package-menu-refresh, list-packages): Use it.
daca8ba5 12973 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12974 Return insertion data instead of inserting it directly.
099c39a4
JB
12975 (package-menu-describe-package, package-menu-execute):
12976 Use tabulated-list-get-id.
e91a96fe
CY
12977 (package-menu-mark-delete, package-menu-mark-install)
12978 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12979 (package-menu-mark-obsolete-for-deletion):
12980 Use tabulated-list-put-tag.
e91a96fe
CY
12981 (package--list-packages, package-menu-revert)
12982 (package-menu-get-package, package-menu-get-version)
12983 (package-menu-sort-by-column): Functions deleted.
12984 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12985 (package-menu--status-predicate, package-menu--version-predicate)
12986 (package-menu--name-predicate)
12987 (package-menu--description-predicate): Handle arguments in the
12988 Tabulated List format.
12989 (package-list-packages-no-fetch): Call list-packages.
12990
3e214b50
JB
129912011-04-06 Juanma Barranquero <lekktu@gmail.com>
12992
12993 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12994 (after-find-file): Don't bind it.
3e214b50
JB
12995 (revert-buffer-in-progress-p): New variable.
12996 (revert-buffer): Bind it.
12997 Pass nil for `after-find-file-from-revert-buffer'.
12998
12999 * saveplace.el (save-place-find-file-hook): Use new variable
13000 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13001
3f0f1700
GM
130022011-04-06 Glenn Morris <rgm@gnu.org>
13003
c0274801
GM
13004 * Makefile.in (AUTOGEN_VCS): New variable.
13005 (autoloads): Use $AUTOGEN_VCS.
13006
3f0f1700
GM
13007 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13008 * calendar/calendar.el (calendar-mode-map):
13009 Check for toolkit scroll bars. (Bug#8305)
13010
41ea9e48
CY
130112011-04-05 Chong Yidong <cyd@stupidchicken.com>
13012
13013 * minibuffer.el (completion-in-region--postch)
13014 (completion-in-region-mode): Remove unnecessary messages.
13015
6194c800
JB
130162011-04-05 Juanma Barranquero <lekktu@gmail.com>
13017
33256f14
JB
13018 * font-lock.el (font-lock-refresh-defaults):
13019 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13020 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13021
6194c800
JB
13022 * info.el (Info-directory-list, Info-read-node-name-2)
13023 (Info-split-parameter-string): Doc fixes.
13024 (Info-virtual-nodes): Reflow docstring.
13025 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13026 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13027 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13028 Fix typos in docstrings.
13029 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13030 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13031 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13032 (Info-restore-desktop-buffer): Mark unused parameters.
13033 (Info-directory-find-file, Info-directory-find-node)
13034 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13035 (Info-virtual-index-find-node, Info-apropos-find-file)
13036 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13037 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13038 (Info-virtual-index): Remove unused local variable `nodename'.
13039
b87a8200 130402011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13041
b87a8200
DD
13042 * net/rcirc.el: Update my e-mail address.
13043 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13044
3b2ff876
CY
130452011-04-05 Chong Yidong <cyd@stupidchicken.com>
13046
13047 * startup.el (command-line): Save the cursor's theme-face
13048 directly, instead of using face-override-spec.
13049
13050 * custom.el (load-theme): Minor optimization in assigning faces.
13051
8d17e7ca
JB
130522011-04-04 Juanma Barranquero <lekktu@gmail.com>
13053
13054 * help-fns.el (describe-variable): Complete all variables having
13055 documentation, including keywords.
13056 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13057
2fbc1934
JB
130582011-04-04 Juanma Barranquero <lekktu@gmail.com>
13059
13060 Convert to lexical-binding.
13061
13062 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13063 (bs--get-marked-string, bs--get-modified-string)
13064 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13065 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13066 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13067
13068 * ehelp.el (electric-help-execute-extended)
13069 (electric-help-ctrl-x-prefix):
13070 * hexl.el (hexl-revert-buffer-function):
13071 * linum.el (linum-after-change, linum-after-scroll):
13072 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13073
13074 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13075
74f50695
DU
130762011-04-04 Daiki Ueno <ueno@unixuser.org>
13077
13078 * epa-dired.el:
13079 * epa-mail.el:
13080 * epa-hook.el:
13081 * epa-file.el:
13082 * epa.el:
13083 * epg.el: Use lexical binding.
13084
c11325f7
CY
130852011-04-03 Chong Yidong <cyd@stupidchicken.com>
13086
0d9e9a12
CY
13087 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13088
c11325f7 13089 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13090 dictionary case for flyspell-mark-duplications-exceptions.
13091 Use regexp matching for languages.
c11325f7
CY
13092 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13093 default dictionary (Bug#7926).
13094
da91b5f2
CY
130952011-04-02 Chong Yidong <cyd@stupidchicken.com>
13096
099c39a4
JB
13097 * emacs-lisp/package.el (package--with-work-buffer):
13098 Recognize https URLs.
da91b5f2 13099
099c39a4
JB
13100 * net/network-stream.el: Move from gnus/proto-stream.el.
13101 Change prefix to network-stream throughout.
da91b5f2
CY
13102 (open-protocol-stream): Merge into open-network-stream, leaving
13103 open-protocol-stream as an alias. Handle nil BUFFER args.
13104
13105 * subr.el (open-network-stream): Move to net/network-stream.el.
13106
afa8e9f6
GM
131072011-04-02 Glenn Morris <rgm@gnu.org>
13108
1d2e369d
GM
13109 * find-dired.el (find-exec-terminator): New option.
13110 (find-ls-option): Test for -ls support.
13111 (find-ls-subdir-switches): Test for -b in find-ls-option.
13112 (find-dired, find-grep-dired): Doc fixes.
13113 (find-dired): Use find-exec-terminator.
13114
8abb7da8 13115 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13116 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13117 (find-name-arg): Remove purecopy.
8abb7da8 13118
f3ca7378
GM
13119 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13120 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13121 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13122 accordingly. Don't add the null-device if not needed.
13123
afa8e9f6
GM
13124 * files.el (save-some-buffers): Doc fix.
13125
35eae264
EZ
131262011-04-02 Eli Zaretskii <eliz@gnu.org>
13127
13128 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13129
26b51db5
JB
131302011-04-01 Juanma Barranquero <lekktu@gmail.com>
13131
13132 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13133 Use `dolist' rather than `mapcar'.
13134
7200d79c
SM
131352011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13136
03408648 13137 Add lexical binding.
7200d79c 13138
03408648
SM
13139 * subr.el (apply-partially): Use new closures rather than CL.
13140 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13141 (dolist, dotimes): Use slightly different expansion for lexical code.
13142 (functionp): Move to C.
13143 (letrec): New macro.
13144 (with-wrapper-hook): Use it and apply-partially instead of CL.
13145 (eval-after-load): Preserve lexical-binding.
13146 (save-window-excursion, with-output-to-temp-buffer): Turn them
13147 into macros.
7200d79c 13148
03408648
SM
13149 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13150
13151 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13152 than the arglist.
13153 (help-add-fundoc-usage): Don't add `Not documented'.
13154 (help-function-arglist): Handle closures, subroutines, and new
13155 byte-code-functions.
13156 (help-make-usage): Remove leading underscores.
13157 (describe-function-1): Handle closures.
13158 (describe-variable): Use special-variable-p for completion.
13159
13160 * files.el (lexical-binding): Declare safe.
f488fb65 13161
03408648
SM
13162 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13163 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13164 (pcase): Add `let' pattern.
13165 Change memoization so it actually works.
13166 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13167 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13168 <let>: New case.
f488fb65 13169
03408648
SM
13170 * emacs-lisp/macroexp.el: Use lexical binding.
13171 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13172 Don't convert ' to #' without checking that it's indeed quoting
13173 a lambda.
13174
13175 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13176 Use eval-sexp-add-defvars.
03408648
SM
13177 (eval-sexp-add-defvars): New fun.
13178
13179 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13180
13181 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13182 Don't autoload.
13183 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13184 than the internal `byte-compile-lambda'.
13185 (defmethod): Don't hide code under quotes.
13186 (eieio-defmethod): New `code' argument.
13187
13188 * emacs-lisp/eieio-comp.el: Remove.
13189
13190 * emacs-lisp/edebug.el (edebug-eval-defun)
13191 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13192 (edebug-toggle): Avoid `eval'.
13193
13194 * emacs-lisp/disass.el (disassemble-internal): Handle new
13195 `closure' objects.
13196 (disassemble-1): Handle new byte codes.
13197
13198 * emacs-lisp/cl.el (pushnew): Silence warning.
13199
13200 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13201 (cl-byte-compile-throw): Remove.
13202 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13203
13204 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13205 closures.
13206
13207 * emacs-lisp/cconv.el: New file.
13208
13209 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13210 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13211 (byte-compile-initial-macro-environment):
13212 Handle declare-function here.
13213 (byte-compile--lexical-environment): New var.
13214 (byte-stack-ref, byte-stack-set, byte-discardN)
13215 (byte-discardN-preserve-tos): New lap codes.
13216 (byte-interactive-p): Don't use any more.
13217 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13218 New macros.
13219 (byte-compile-lapcode): Use them and handle new lap codes.
13220 (byte-compile-obsolete): Remove.
13221 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13222 (byte-compile-arglist-warn): Check late def of inlinable funs.
13223 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13224 since they should have been expanded by now.
13225 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13226 (byte-compile-from-buffer): Remove unused second arg.
13227 (byte-compile-preprocess): New function.
13228 (byte-compile-toplevel-file-form): New function to distinguish
13229 file-form calls from outside from file-form calls from hunk-handlers.
13230 (byte-compile-file-form): Simplify.
13231 (byte-compile-file-form-defsubst): Remove.
13232 (byte-compile-file-form-defmumble): Simplify now that
13233 byte-compile-lambda always returns a byte-code-function.
13234 (byte-compile): Preprocess.
13235 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13236 Remove, not used any more.
13237 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13238 (byte-compile-make-args-desc): New funs.
13239 (byte-compile-lambda): Handle lexical functions. Always return
13240 a byte-code-function.
13241 (byte-compile-reserved-constants): New var, to make up room for
13242 closed-over variables.
13243 (byte-compile-constants-vector): Obey it.
13244 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13245 (byte-compile-macroexpand-declare-function): New function.
13246 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13247 byte-code-functions.
13248 (byte-compile-form): Check obsolescence here.
13249 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13250 (byte-compile-variable-ref): Remove.
13251 (byte-compile-dynamic-variable-op): New fun.
13252 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13253 (byte-compile-variable-set): New funs.
13254 (byte-compile-discard): Add 2 args.
13255 (byte-compile-stack-ref, byte-compile-stack-set)
13256 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13257 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13258 macroexpand-all instead.
13259 (byte-compile-quote-form): Remove.
13260 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13261 (byte-compile-bind, byte-compile-unbind): New funs.
13262 (byte-compile-let): Handle let* and lexical binding.
13263 (byte-compile-let*): Remove.
13264 (byte-compile-catch, byte-compile-unwind-protect)
13265 (byte-compile-track-mouse, byte-compile-condition-case):
13266 Handle a new :fun-body form, used for lexical scoping.
13267 (byte-compile-save-window-excursion)
13268 (byte-compile-with-output-to-temp-buffer): Remove.
13269 (byte-compile-defun): Simplify.
13270 (byte-compile-stack-adjustment): New fun.
13271 (byte-compile-out): Use it.
13272 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13273
13274 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13275 handler any more.
13276
13277 * emacs-lisp/byte-opt.el: Use lexical binding.
13278 (byte-inline-lapcode): Remove (to bytecomp).
13279 (byte-compile-inline-expand): Pay attention to inlining to/from
13280 lexically bound code.
13281 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13282 any more.
13283 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13284 any more and don't call compiler-macros.
13285 (byte-compile-splice-in-already-compiled-code): Remove.
13286 (byte-code): Don't inline any more.
13287 (disassemble-offset): Receive `bytes' as argument rather than via
13288 dynamic scoping.
13289 (byte-compile-tag-number): Declare before first use.
13290 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13291 `return' even if make-spliceable.
13292 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13293 obsolete interactive-p.
13294 (byte-optimize-lapcode): Optimize new lap-codes.
13295 Don't trip up on new form of `byte-constant' lap code.
13296
13297 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13298
13299 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13300
13301 * custom.el (custom-initialize-default, custom-declare-variable):
13302 Use `defvar'.
13303
13304 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13305 New variables.
13306 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13307 (COMPILE_FIRST): Add macroexp and cconv.
13308 * makefile.w32-in: Mirror changes in Makefile.in.
13309
13310 * vc/cvs-status.el:
13311 * vc/diff-mode.el:
13312 * vc/log-edit.el:
13313 * vc/log-view.el:
13314 * vc/smerge-mode.el:
13315 * textmodes/bibtex-style.el:
13316 * textmodes/css.el:
13317 * startup.el:
13318 * uniquify.el:
da91b5f2
CY
13319 * minibuffer.el:
13320 * newcomment.el:
13321 * reveal.el:
13322 * server.el:
13323 * mpc.el:
13324 * emacs-lisp/smie.el:
13325 * doc-view.el:
13326 * dired.el:
03408648
SM
13327 * abbrev.el: Use lexical binding.
13328
0f0c1f27
EZ
133292011-04-01 Eli Zaretskii <eliz@gnu.org>
13330
13331 * info.el (info-display-manual): New function.
13332
c82b2579
SM
133332011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13336
221ddf68
TH
133372011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13338
13339 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13340 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13341
cba6e77e
GM
133422011-03-31 Glenn Morris <rgm@gnu.org>
13343
e040639f
GM
13344 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13345
cba6e77e
GM
13346 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13347
6d0f1c9e
CS
133482011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13349
13350 * progmodes/python.el (python-default-interpreter)
13351 (python-python-command-args, python-jython-command-args)
13352 (python-which-shell, python-which-args, python-which-bufname)
13353 (python-file-queue, python-comint-output-filter-function)
13354 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13355 variables and functions.
13356
3e2d70fd
SM
133572011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13360 (completion-in-region-mode): New minor mode.
13361 (completion-in-region): Use it.
13362 (completion-in-region--data, completion-in-region-mode-map): New vars.
13363 (completion-in-region--postch): New function.
13364 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13365 New vars.
13366 (completion--capf-wrapper): New function.
13367 (completion-at-point): Use it to track well-behavedness of
13368 hook functions.
13369 (completion-help-at-point): New command.
13370
f3e4086c
JM
133712011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13372
13373 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13374 syntax class to search for whitespace on a single line
13375 (Message-ID: <4D938140.4030905@redhat.com>).
13376
eb7ffc14
LL
133772011-03-30 Leo Liu <sdl.web@gmail.com>
13378
13379 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13380 New commands.
13381 (edit-abbrevs-map): Bind them here.
13382 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13383
d806ab68
KM
133842011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13385
13386 * allout.el (allout-hide-by-annotation, allout-flag-region):
13387 Reduce possibility of overlay leakage by making them volatile.
13388
13389 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13390 hash is not shared between buffers. Mode initialization is
13391 responsible for giving it a useful starting value.
13392 (allout-item-span): Reduce possibility of overlay leakage by
13393 making them volatile.
13394 (allout-widgets-count-buttons-in-region): Add diagnostic function
13395 for tracking down button overlay leaks.
13396
ea622834
LL
133972011-03-29 Leo Liu <sdl.web@gmail.com>
13398
13399 * ido.el (ido-read-internal): Use the default history var
13400 minibuffer-history if no HISTORY is specified.
13401
b62f8267
G
134022011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13403
03408648
SM
13404 * net/imap.el (imap-shell-open, imap-process-connection-type):
13405 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13406 Kerberos, SSL, other subprocesses.
13407
947b6566
LL
134082011-03-28 Leo Liu <sdl.web@gmail.com>
13409
13410 * abbrev.el (abbrev-table-empty-p): New function.
13411 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13412 nonempty ones. (Bug#5937)
13413
5ffb62aa
JD
134142011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13415
13416 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13417
7a097943
LL
134182011-03-27 Leo Liu <sdl.web@gmail.com>
13419
13420 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13421 for foreground and background colors.
13422 (ansi-color-make-color-map): Adapt.
13423
c5b40130
LL
134242011-03-25 Leo Liu <sdl.web@gmail.com>
13425
1f48f7d2
LL
13426 * midnight.el (midnight-time-float): Remove. Note it calculates
13427 the microsecond component incorrectly and seconds-to-time does the
13428 same job.
625897ec 13429 Remove redundant (require 'timer).
1f48f7d2 13430
c5b40130
LL
13431 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13432 (ido-completions): Remove unused arguments. (Bug#8329)
13433
d86d2721
SM
134342011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * minibuffer.el (completion--flush-all-sorted-completions):
13437 Remove itself from hook.
13438 (completion-at-point): Let the functions perform the completion
13439 immediately and return nil or t.
13440 * comint.el (comint-dynamic-complete-functions): Now identical to
13441 completion-at-point-functions.
13442 (comint-dynamic-list-input-ring): Remove unused var `index'.
13443 (comint--match-partial-filename, comint--unquote&expand-filename):
13444 New funs, split from comint-match-partial-filename.
13445 (comint-dynamic-complete): Use completion-at-point.
13446 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13447
e8974c48
DA
134482011-03-24 Drew Adams <drew.adams@oracle.com>
13449
13450 * thingatpt.el: Support `defun'.
13451
def71b5e
LL
134522011-03-23 Leo Liu <sdl.web@gmail.com>
13453
cb5af48e
LL
13454 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13455
def71b5e
LL
13456 * help-mode.el (help-mode-finish): Tweak regexp.
13457
927c53e7
GM
134582011-03-23 Glenn Morris <rgm@gnu.org>
13459
18d05bed
GM
13460 * eshell/esh-opt.el (eshell-eval-using-options):
13461 Do not bind unused local variable `eshell-option-stub'.
13462
927c53e7
GM
13463 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13464
9d0da923
JB
134652011-03-22 Juanma Barranquero <lekktu@gmail.com>
13466
13467 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13468 keymap variable in `with-no-warnings' to avoid a warning when the
13469 keymap has been already `defconst'ed.
13470
4b978a67
LL
134712011-03-22 Leo Liu <sdl.web@gmail.com>
13472
13473 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13474 encode all chars in abbrevs; otherwise use emacs-mule or
13475 utf-8-emacs. (Bug#8308)
13476
5fd62452
JB
134772011-03-22 Juanma Barranquero <lekktu@gmail.com>
13478
0b1596c6
JB
13479 * simple.el (backward-delete-char-untabify):
13480 Avoid warning about using `delete-backward-char'.
13481
5fd62452
JB
13482 * image.el (image-type-file-name-regexps): Make it variable.
13483 `imagemagick-register-types' modifies it, and the user may want
13484 to add new extensions for known image types.
13485 (imagemagick-register-types): Throw error if not using ImageMagick.
13486
0b4e93f1
LL
134872011-03-22 Leo Liu <sdl.web@gmail.com>
13488
13489 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13490 located before rcirc-prompt-end-marker.
13491 (rcirc-complete): Error if point is not after rcirc prompt.
13492 Handle the case when table is nil.
9882e214 13493 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13494
fccee4ab
CY
134952011-03-22 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * custom.el (custom--inhibit-theme-enable): Make it affect only
13498 custom-theme-set-variables and custom-theme-set-faces.
13499 (provide-theme): Ignore custom--inhibit-theme-enable.
13500 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13501 (custom-enabling-themes): Delete variable.
d86d2721
SM
13502 (enable-theme): Accept only loaded themes as arguments.
13503 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13504 (custom-enabled-themes): Forbid themes from setting this.
13505 Eliminate use of custom-enabling-themes.
13506 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13507
af896da6
LL
135082011-03-21 Leo Liu <sdl.web@gmail.com>
13509
13510 * ido.el (ido-read-internal): Add ido-selected to history instead
13511 of user input.
13512
78f64af0
SM
135132011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * subr.el (deferred-action-list, deferred-action-function):
13516 Mark obsolete.
13517
b16ac1ec
LL
135182011-03-21 Leo Liu <sdl.web@gmail.com>
13519
810f7698
LL
13520 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13521 change on 2011-02-13 (bug#8309).
13522
b16ac1ec
LL
13523 * minibuffer.el (read-file-name-function): Change default value.
13524 (read-file-name--defaults): Rename from read-file-name-defaults.
13525 (read-file-name-default): Rename from read-file-name.
13526 (read-file-name): Call read-file-name-function.
13527
4e05e67e
GM
135282011-03-21 Glenn Morris <rgm@gnu.org>
13529
13530 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13531 Doc fixes.
13532
4359915b
CY
135332011-03-21 Chong Yidong <cyd@stupidchicken.com>
13534
13535 * cus-theme.el: Add missing provide statement.
13536 (customize-create-theme): Extract theme value correctly.
13537 (custom-theme-visit-theme): Autoload.
13538 (customize-create-theme): Prompt before inserting default faces.
13539
1fe275ee
JB
135402011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13541
13542 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13543 units and musical notes.
13544
cd394be1 135452011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13546
13547 * ido.el (ido-read-internal): Use completing-read-default.
13548 (ido-completing-read): Fix compatibility with completing-read.
13549
7d476bde
CO
135502011-03-20 Christian Ohler <ohler@gnu.org>
13551
13552 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13553 (ert-delete-all-tests): Use `called-interactively-p' rather than
13554 `interactive-p'.
13555 (ert--make-xrefs-region): Respect END.
13556
fe0fb33e
CY
135572011-03-19 Chong Yidong <cyd@stupidchicken.com>
13558
ff854b0b
CY
13559 * dired-aux.el (dired-create-directory): Signal an error if the
13560 directory already exists (Bug#8246).
13561
fe0fb33e
CY
13562 * facemenu.el (list-colors-display): Call list-faces-display
13563 inside with-help-window.
13564 (list-colors-print): Use display property to align the final
13565 column, instead of checking window-width.
13566
576bce32
EZ
135672011-03-19 Eli Zaretskii <eliz@gnu.org>
13568
4d61f28d 13569 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13570 windows-nt systems.
13571 (emerge-protect-metachars): Quote correctly for ms-dos and
13572 windows-nt systems.
13573
89c41d68 135742011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13575
13576 * info.el (info-initialize): Replace all uses of `:' with
13577 path-separator for compatibility with non-Unix systems.
13578 Cache quoting of path-separator. (Bug#8258)
13579
b14e3e21 135802011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13581
13582 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13583 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13584 (mouse-avoidance-mode): Fix typos in docstrings.
13585
4525ce3e
CY
135862011-03-19 Chong Yidong <cyd@stupidchicken.com>
13587
13588 * startup.el (package-subdirectory-regexp): Move from package.el.
13589 Omit \\` and \\', and let callers add them.
13590
13591 * emacs-lisp/package.el (package-strip-version)
13592 (package-load-all-descriptors): Add \\` and \\' to
13593 package-subdirectory-regexp before using it.
13594 (package-untar-buffer): New arg DIR; ensure that file untars only
13595 into this expected directory. Remove superfluous delete-region.
13596 (package-unpack): Caller changed.
13597 (package-tar-file-info): Use package-subdirectory-regexp.
13598
a904a09a 135992011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13600
a904a09a
SM
13601 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13602 diff-mode-shared-map (bug#8284).
13603 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13604
136052011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13606
13607 * calendar/time-date.el (format-seconds): Use assoc instead of
13608 assoc-string, since assoc-string doesn't exist in XEmacs.
13609
171fc304
JB
136102011-03-17 Juanma Barranquero <lekktu@gmail.com>
13611
13612 * custom.el (custom-known-themes): Reflow docstring.
13613 (custom-theme-load-path): Fix typo in docstring.
13614 (load-theme): Fix typo in error message.
13615 (custom-available-themes, custom-variable-theme-value):
13616 Use `let', not `let*'.
13617
d71990a1
JB
136182011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13619
13620 * calc/README: Mention inclusion of musical notes.
13621
13622 * calc/calc-units.el (calc-lu-quant): Rename from
13623 `calc-logunits-quantity'.
13624 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13625 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13626 (calc-db): Rename from `calc-dblevel'.
13627 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13628 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13629 (calc-np): Rename from `calc-nplevel'.
13630 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13631 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13632 (calc-lu-plus): Rename from `calc-logunits-add'.
13633 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13634 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13635 (calc-lu-minus): Rename from `calc-logunits-sub'.
13636 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13637 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13638 (calc-lu-times): Rename from `calc-logunits-mul'.
13639 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13640 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13641 (calc-lu-divide): Rename from `calc-logunits-div'.
13642 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13643 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13644
13645 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13646 functions being autoloaded.
13647
13648 * calc/calc.el (calc-lu-power-reference): Rename from
13649 `calc-logunits-power-reference'.
13650 (calc-lu-field-reference): Rename from
13651 `calc-logunits-field-reference'.
13652
7a71b18d
GM
13653 * calc/calc-help.el (calc-l-prefix-help):
13654 Mention musical note functions.
d71990a1 13655
40c2934b
SM
136562011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * minibuffer.el (completion-all-sorted-completions):
13659 Use :completion-cycle-penalty text property if present.
13660
b0911414
KM
136612011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13662
13663 * allout.el (allout-yank-processing): Adjust for new rebulleting
13664 regime so bullet being yanked is used without prompting the user
13665 for a choice.
13666
8a05b668
JB
136672011-03-16 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * startup.el (command-line): Warn the user that _emacs is deprecated.
13670
5ba5fb81
JB
136712011-03-16 Juanma Barranquero <lekktu@gmail.com>
13672
13673 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13674 (delphi-verbose, delphi-comment-face, delphi-string-face)
13675 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13676 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13677 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13678 (delphi-new-comment-line, delphi-font-lock-defaults)
13679 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13680 Fix typos in docstrings.
13681
2dab465b
KM
136822011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13683
5ba5fb81 13684 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13685 Invert the roles of character and string values for INSTEAD, so a
13686 string is used for the more common case of a defaulting prompt.
13687
0adf5618
SM
136882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * progmodes/ruby-mode.el (ruby-backward-sexp):
13691 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13692 * play/gamegrid.el (gamegrid-make-face):
13693 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13694 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13695 * notifications.el (notifications-notify):
13696 * net/xesam.el (xesam-search-engines):
13697 * net/quickurl.el (quickurl-list-insert):
13698 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13699
d72700e5
CY
137002011-03-15 Chong Yidong <cyd@stupidchicken.com>
13701
13702 * startup.el (command-line): Update package subdirectory regexp.
13703
49c5410a
SM
137042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13705
c6eee9aa
SM
13706 * allout.el (allout-abbreviate-flattened-numbering)
13707 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13708
49c5410a
SM
13709 * subr.el (read-char-choice): Only show the cursor after the prompt,
13710 not after the answer.
13711
047b2bb9
KR
137122011-03-15 Kevin Ryde <user42@zip.com.au>
13713
13714 * help-fns.el (variable-at-point): Skip leading quotes, if any
13715 (bug#8253).
13716
0a57d256
SM
137172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13720 warning message.
13721
77c992bc
MA
137222011-03-14 Michael Albinus <michael.albinus@gmx.de>
13723
13724 * shell.el (shell): When called interactively, offer to change the
13725 shell file name on remote hosts.
13726
eebc475d
TZ
137272011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13728
13729 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13730 integration for LDAP parameters. The host, base, user or binddn,
13731 and secret tokens can be specified in a netrc file, for instance.
13732 This is optional because an `auth-source' parameter must be
13733 specified in the search attributes.
13734
9d05d1ba
JB
137352011-03-13 Juanma Barranquero <lekktu@gmail.com>
13736
13737 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13738
09d9db2c
GM
137392011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13742 into declaration. Remove redundant and harmful binding.
13743
137442011-03-12 Eli Zaretskii <eliz@gnu.org>
13745
13746 * files.el (file-ownership-preserved-p): Pass `integer' as an
13747 explicit 2nd argument to `file-attributes'. If the file's owner
13748 is the Administrators group on Windows, and the current user is
13749 Administrator, consider that a match.
13750
13751 * server.el (server-ensure-safe-dir): Consider server directory
13752 safe on MS-Windows if its owner is the Administrators group while
13753 the current Emacs user is Administrator. Use `=' to compare
13754 numerical UIDs, since they could be integers or floats.
13755
219bd536
JB
137562011-03-12 Juanma Barranquero <lekktu@gmail.com>
13757
13758 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13759
f3afd36b
MA
137602011-03-12 Michael Albinus <michael.albinus@gmx.de>
13761
13762 Sync with Tramp 2.2.1.
13763
13764 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13765
13766 * net/trampver.el: Update release number.
13767
3aaaa6f1
SM
137682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13769
94642599
SM
13770 * progmodes/compile.el (compilation--previous-directory): Fix up
13771 various nil/dead-marker mismatches (bug#8014).
13772 (compilation-directory-properties, compilation-error-properties):
13773 Don't call it at a position past the one we're about to change.
13774
3aaaa6f1
SM
13775 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13776 Disable obsolescence warnings in the file that declares it.
13777
14239447
KM
137782011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13779
099c39a4
JB
13780 * allout-widgets.el (allout-widgets-tally):
13781 Initialize allout-widgets-tally as a hash table rather than nil to
13782 prevent mode-line redisplay warnings. Also, clarify the module
13783 description and fix a comment typo.
14239447 13784
135e287c
JB
137852011-03-11 Juanma Barranquero <lekktu@gmail.com>
13786
13787 * help-fns.el (describe-variable): Don't complete keywords.
13788 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13789
ffbf300e
CY
137902011-03-10 Chong Yidong <cyd@stupidchicken.com>
13791
ba08b241
CY
13792 * emacs-lisp/package.el (package-version-join): Impose a standard
13793 string representation for pre/alpha/beta version lists.
13794 (package-unpack-single): Standardize the directory name by passing
13795 it through package-version-join.
13796 (package-strip-rcs-id): Accept any version string that does not
13797 signal an error in version-to-list.
ffbf300e 13798
f346fd6b
MA
137992011-03-10 Michael Albinus <michael.albinus@gmx.de>
13800
13801 * simple.el (delete-trailing-whitespace): Return nil for the
13802 benefit of `write-file-functions'.
13803
ccb55d27
GM
138042011-03-10 Glenn Morris <rgm@gnu.org>
13805
5ceaac0c
GM
13806 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13807
02da65ff
GM
13808 * vc/vc-git.el (vc-git-program): New option.
13809 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13810 (vc-git--call): Use it.
13811
b2f603cc
GM
13812 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13813
5772caab
GM
13814 * cus-edit.el (Custom-newline): If no button at point, look
13815 for a subgroup button at start-of-line. (Bug#2298)
13816
ccb55d27
GM
13817 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13818
ec6ecaed
JD
138192011-03-10 Julien Danjou <julien@danjou.info>
13820
13821 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13822 `cursor-type' is nil.
13823
9d5aa01d
JB
138242011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13825
13826 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13827
b6a5875b
KM
138282011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13829
7a71b18d 13830 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13831 preserves the existing header prefix, rebulleting it if necessary,
13832 rather than replacing it. This is necessary for proper operation
13833 of cooperative addons like allout-widgets.
1154d12e
JB
13834 (allout-make-topic-prefix, allout-rebullet-heading):
13835 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13836 value as alternate bullet to be used, instead of prompting the user
13837 for a bullet character.
b6a5875b 13838
ee545c35
MA
138392011-03-09 Michael Albinus <michael.albinus@gmx.de>
13840
d86d2721
SM
13841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13842 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13843 `tramp-default-port'.
13844
c47971d7
DD
138452011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13846
13847 * net/rcirc.el (rcirc-handler-001): Remove useless
13848 with-rcirc-process-buffer.
13849 (rcirc-check-auth-status): Swap arguments to string-match.
13850
13522cb4
GM
138512011-03-09 Glenn Morris <rgm@gnu.org>
13852
0be6f4f1
GM
13853 * shell.el (shell-mode):
13854 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13855
13522cb4
GM
13856 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13857 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13858
515de2e3
CY
138592011-03-08 Chong Yidong <cyd@stupidchicken.com>
13860
13861 * emacs-lisp/package.el (package-refresh-contents)
13862 (package-menu-execute): Use condition-case-no-debug.
13863
b511b994
MA
138642011-03-08 Michael Albinus <michael.albinus@gmx.de>
13865
13866 * simple.el (shell-command-to-string): Use `process-file'.
13867
13868 * emacs-lisp/package.el (package-tar-file-info): Handle also
13869 remote files.
13870
d86d2721
SM
13871 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13872 Use `equal' for upload base check.
b511b994 13873
25bbfb31
AM
138742011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13875
13876 * textmodes/texinfo.el (texinfo-environments):
13877 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13878
be996521
GM
138792011-03-08 Glenn Morris <rgm@gnu.org>
13880
e9c8529f
GM
13881 * cus-start.el (cursor-in-non-selected-windows):
13882 Fix :set quoting oddness. (Bug#8192)
13883
be996521
GM
13884 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13885 in some setf expressions. (Bug#2159)
13886
2bb5649e
CY
138872011-03-08 Chong Yidong <cyd@stupidchicken.com>
13888
13889 * custom.el (custom-available-themes): Return themes in
13890 alphabetical order.
13891
33383987 13892See ChangeLog.15 for earlier changes.
e3d51b27
MR
13893
13894;; Local Variables:
13895;; coding: utf-8
e3d51b27
MR
13896;; End:
13897
acaf905b 13898 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13899
13900 This file is part of GNU Emacs.
13901
13902 GNU Emacs is free software: you can redistribute it and/or modify
13903 it under the terms of the GNU General Public License as published by
13904 the Free Software Foundation, either version 3 of the License, or
13905 (at your option) any later version.
13906
13907 GNU Emacs is distributed in the hope that it will be useful,
13908 but WITHOUT ANY WARRANTY; without even the implied warranty of
13909 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13910 GNU General Public License for more details.
13911
13912 You should have received a copy of the GNU General Public License
13913 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.