Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3f1b25b5
AM
12012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
4 (flyspell-debug-signal-word-checked): Protect delay handling for
5 otherchars against empty otherchars.
6
b581bb5c
SM
72012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10 their respective macro declarations.
11 * skeleton.el (define-skeleton):
12 * progmodes/compile.el (define-compilation-mode):
13 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14 (define-ibuffer-filter):
15 * emacs-lisp/generic.el (define-generic-mode):
16 * emacs-lisp/easy-mmode.el (define-minor-mode)
17 (define-globalized-minor-mode):
18 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
19 * emacs-lisp/byte-run.el (defsubst):
20 * custom.el (deftheme): Add doc-string metadata.
21
70b8ef8f
SM
222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
25
b1198e17
SM
262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
27
9abdc45d
SM
28 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
29
b1198e17
SM
30 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
31 * emacs-lisp/cl-macs.el: Idem.
32 * emacs-lisp/cl-specs.el: Remove.
33
4735906a
SM
342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 Minor renaming of internal CL functions and variables.
37 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
38 (cl--position): Rename from cl-position.
39 (cl--delete-duplicates): Rename from cl-delete-duplicates.
40 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
41 (cl--random-state): Rename from *random-state*.
42
ac348012
SM
432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
46 parens around the arg list (bug#11499).
47
a0a79cde
JL
482012-05-17 Juri Linkov <juri@jurta.org>
49
50 * isearch.el (word-search-regexp, word-search-backward)
51 (word-search-forward, word-search-backward-lax)
52 (word-search-forward-lax): Move functions from search.c
53 (bug#10145, bug#11381).
54
65034a51
AM
552012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
56
57 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
58 (flyspell-debug-signal-word-checked): Delay for otherchars as for
59 normal word components.
60
1a72a195
SM
612012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * minibuffer.el (completion--sifn-requote): Fix last change.
64 (minibuffer-local-must-match-filename-map):
65 Move define-obsolete-variable-alias before its var.
66
fdb058c2
SM
672012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
68
c41045e6
SM
69 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
70
036dfb8b
SM
71 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
72 behavior.
73 (completion--string-equal-p): New function.
74 (completion--twq-all): Use it to get better assertion failure data.
75
2473256d
SM
76 Only handle ".." and '..' quoting in shell-mode (bug#11466).
77 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
78 (shell--requote-argument): New functions.
79 (shell-completion-vars): Use them.
80 (shell--parse-pcomplete-arguments): Rename from
81 shell-parse-pcomplete-arguments.
82 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
83 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
84 Obey comint-file-name-quote-list.
85
fdb058c2
SM
86 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
87 (smie-indent-keyword): Use it.
88
51fa99f1
SM
892012-05-14 Stefan Merten <smerten@oekonux.de>
90
91 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
92
e18afed7 932012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
94
95 * net/rlogin.el (rlogin-mode-map): Fix last change.
96
e18afed7 972012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
98
99 * mail/smtpmail.el (smtpmail-send-command): Send the command and
100 the following \r\n using a single `process-send-string', since the
101 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 102 with two `process-send-string's (Bug#11444).
8633b1f4 103
e18afed7 1042012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 105
fdb058c2
SM
106 * shell.el (shell-parse-pcomplete-arguments):
107 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 108
2d21d7f6
WJ
1092012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
110
e18afed7 111 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
112 (image-transform-scale, image-transform-right-angle-fudge): New vars.
113 (image-transform-width, image-transform-fit-width): New functions.
114 (image-transform-properties): Use them.
115 (image-transform-check-size): New function.
116 (image-toggle-display-image): Use it (for testing).
117 (image-transform-set-rotation): Reduce angle mod 360.
118 Delete obsolete comment.
119
7102e6d0
WJ
1202012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
121
122 * image-mode.el: Fix scaling (bug#11399).
123 (image-transform-resize): Doc fix.
124 (image-transform-properties): Default scale is 1 and height should
125 be an integer.
126
06bc5e6e
SM
1272012-05-13 Johan Bockgård <bojohan@gnu.org>
128
129 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
130 than hard-coding `car', to fix misbehavior when moving forward.
131
0ae03b6a
CY
1322012-05-13 Chong Yidong <cyd@gnu.org>
133
134 * emacs-lisp/tabulated-list.el (tabulated-list-format)
135 (tabulated-list-entries, tabulated-list-padding)
136 (tabulated-list-sort-key): Make permanent-local.
137
138 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
139 (electric-buffer-list): Put electric buffer menu
140 command descriptions in this docstring, instead of the docstring
141 of electric-buffer-menu-mode. Code cleanups.
142 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
143 Electric-buffer-menu-mode.
144 (electric-buffer-update-highlight): Minor code cleanup.
145
205a7391
MA
1462012-05-13 Michael Albinus <michael.albinus@gmx.de>
147
148 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
149 (Bug#11447)
150
e5bd0a28
SM
1512012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 Move define-obsolete-variable-alias before the var's definition.
154 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
155 * tooltip.el (tooltip-hook):
156 * textmodes/reftex-toc.el (reftex-toc-map):
157 * textmodes/reftex-sel.el (reftex-select-label-map)
158 (reftex-select-bib-map):
159 * textmodes/reftex-index.el (reftex-index-map)
160 (reftex-index-phrases-map):
161 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
162 * progmodes/meta-mode.el (meta-mode-map):
163 * novice.el (disabled-command-hook):
164 * loadhist.el (unload-hook-features-list):
165 * frame.el (blink-cursor):
166 * files.el (find-file-not-found-hooks, write-file-hooks)
167 (write-contents-hooks):
168 * emulation/tpu-edt.el (GOLD-map):
169 * emacs-lock.el (emacs-lock-from-exiting):
170 * emacs-lisp/generic.el (generic-font-lock-defaults):
171 * emacs-lisp/chart.el (chart-map):
172 * dos-fns.el (register-name-alist):
173 * dired-x.el (dired-omit-files-p):
174 * desktop.el (desktop-enable):
175 * cus-edit.el (custom-mode-hook):
176 * buff-menu.el (buffer-menu-mode-hook):
177 * bookmark.el (bookmark-read-annotation-text-func)
178 (bookmark-exit-hooks):
179 * allout.el (allout-mode-deactivate-hook)
180 (allout-exposure-change-hook, allout-structure-added-hook)
181 (allout-structure-deleted-hook, allout-structure-shifted-hook):
182 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
183 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
184 comes before the corresponding variable's definition.
185
ac59c2f6
CY
1862012-05-12 Chong Yidong <cyd@gnu.org>
187
188 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
189 (Buffer-menu-mouse-select): Restore function (Bug#11459).
190 (Buffer-menu-mode-map): Bind it.
191 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 192
dee6c9a3
SM
1932012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
194
2171cea5
SM
195 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
196 (prolog-upper-case-string, prolog-lower-case-string)
197 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
198 (prolog-use-smie, prolog-smie-grammar): New vars.
199 (prolog-smie-forward-token, prolog-smie-backward-token)
200 (prolog-smie-rules): New funs.
201 (prolog-comment-indent): Remove.
202 (prolog-mode-variables): Use default comment indentation instead.
203 Setup SMIE.
204 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
205 (prolog-mode): Don't call them any more.
206 (prolog-electric-colon, prolog-electric-dash)
207 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
208
aa0382bd
SM
209 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
210
dbacb4bd
SM
211 * minibuffer.el (completion--twq-all): Again, allow case differences.
212
13bdd94c
SM
213 * term.el: Move keymap initialization code to be more idiomatic.
214 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
215 (term-terminal-menu): Move initialization into declaration.
216 (term-escape-char): Let the user set it in her .emacs.
217
ff46c759
SM
218 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
219 Provide SMIE-based indentation (not enabled by default yet).
220 (sh-mode-map): Don't bind electric keys.
221 Use electric-pair-mode instead of skeleton-pair.
222 (sh-assignment-regexp): Fit within 80 columns.
223 (sh-indent-supported): Specify actual shell name instead of boolean.
224 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
225 (sh-maybe-here-document): Use it. Make obsolete.
226 (sh-electric-here-document-mode) New minor mode.
227 (sh-mode): Use it. Don't set sh-indent-supported-here here.
228 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
229 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
230 (sh-smie-rc-grammar, sh-use-smie): New vars.
231 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
232 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
233 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
234 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
235 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
236 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
237 (sh-set-shell): Use smie-setup if requested.
238
dee6c9a3
SM
239 * term.el (term-set-escape-char): Properly set term-escape-char.
240 See http://stackoverflow.com/questions/10524656.
241
9f9aa044
CY
2422012-05-10 Chong Yidong <cyd@gnu.org>
243
244 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
245 Use url-generic-parse-url, and handle host names and Windows
246 filenames properly.
247 (ffap-url-unwrap-remote): Use url-generic-parse-url.
248 (ffap-url-unwrap-remote): Accept list values, specifying a list of
249 URL schemes to work on.
250 (ffap--toggle-read-only): New function.
251 (ffap-read-only, ffap-read-only-other-window)
252 (ffap-read-only-other-frame): Use it.
253 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
254 necessary for ffap-url-unwrap-remote.
255
836d29b3
DA
2562012-05-10 Dave Abrahams <dave@boostpro.com>
257
258 * cus-start.el (create-lockfiles): Add it.
259
00fd78ed
CY
2602012-05-09 Chong Yidong <cyd@gnu.org>
261
262 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
263 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
264
666b903b 2652012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
266
267 * shell.el (shell-completion-vars): Fix last change (bug#11348).
268
666b903b 2692012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
270
271 * ansi-color.el (ansi-color-process-output): Check for validity of
272 comint-last-output-start before using it. This avoids a bad
273 interaction with gdb-mi's input/output buffer.
274
666b903b 2752012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
276
277 * files.el (dir-locals-read-from-file):
278 Mention dir-locals in any error message.
279
666b903b 2802012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
281
282 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
283 package (Bug#11410).
284
f677562b
CY
285 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
286 variables into description.
287
666b903b 2882012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
289
290 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
291 shell-delimiter-argument-list (bug#11348).
292 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
293
b499d8d0
JB
2942012-05-09 Juanma Barranquero <lekktu@gmail.com>
295
8f6b6da8
JB
296 * textmodes/rst.el: Silence byte-compiler warnings.
297 (rst-re-alist, rst-reset-section-caches): Move around.
298 (rst-re): Use `characterp', not `char-valid-p'.
299 (font-lock-beg, font-lock-end): Declare.
300
4824146a
JB
301 * progmodes/idlw-shell.el (specs): Remove reference to deleted
302 variable `idlwave-shell-activate-alt-keybindings' and simplify.
303
b499d8d0
JB
304 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
305
ad89bb83
GM
3062012-05-08 Glenn Morris <rgm@gnu.org>
307
308 * files.el (auto-mode-alist): Treat ".make" like ".mk".
309
8bba5a75
SM
3102012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
311
49ed9c8e
SM
312 * vc/log-edit.el: Add GNU coding standards highlighting.
313 (log-edit-font-lock-gnu-style)
314 (log-edit-font-lock-gnu-keywords): New vars.
315 (log-edit-font-lock-keywords): New fun.
316 (log-edit-mode): Don't fold case in font-lock.
317 (log-edit-font-lock-keywords): Do not assume case-folding.
318
07d00b56
SM
319 * imenu.el: Misc cleanup. Make docstrings out of comments.
320 Use lexical-binding.
321 (imenu--index-alist, imenu--last-menubar-index-alist)
322 (imenu-menubar-modified-tick): Use defvar-local.
323 (imenu--split-menu): Remove unused var.
324 (imenu--cleanup-seen): Declare as global.
325 (imenu--cleanup): Use dolist.
326
8bba5a75
SM
327 * subr.el (defvar-local): Add debug spec and doc-string position.
328
5075bdb5
GM
3292012-05-08 Glenn Morris <rgm@gnu.org>
330
c052c904
GM
331 * lisp/language/burmese.el, language/cham.el, language/czech.el:
332 * language/english.el, language/georgian.el, language/greek.el:
333 * language/japanese.el, language/khmer.el, language/korean.el:
334 * language/lao.el, language/misc-lang.el, language/romanian.el:
335 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
336 * language/thai.el, language/utf-8-lang.el:
337 Remove no-byte-compile setting.
338
5075bdb5
GM
339 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
340
06f679a7
AH
3412012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
342
343 * progmodes/make-mode.el (makefile-browse):
344 Remove unnecessary interactive. (Bug#11324)
345
03794570
GM
3462012-05-07 Glenn Morris <rgm@gnu.org>
347
af8630f4
GM
348 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
349
03794570
GM
350 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
351
f0809a9d
SM
3522012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
353
28be5ce7
SM
354 * loadup.el: Preload newcomment.el.
355 * newcomment.el: Move autoload-only code to toplevel.
356
f0809a9d
SM
357 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
358 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
359 Handle new :right-align column property.
360 (tabulated-list-print-col): Idem, plus use `display' text-property to
361 try and preserve alignment for variable pitch fonts.
362
1241b724
CY
3632012-05-07 Chong Yidong <cyd@gnu.org>
364
365 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
366 (tabulated-list-use-header-line): New var.
367 (tabulated-list-init-header): Use it.
368 (tabulated-list-print-fake-header): New function.
369 (tabulated-list-print): Use it.
370 (tabulated-list-sort-button-map): Add non-header-line commands.
371 (tabulated-list-init-header): Add column name property to basic
372 labels as well.
373 (tabulated-list-col-sort): Handle non-header-line button case.
374 (tabulated-list--sort-by-column-name): Fix a corner case.
375
f0809a9d
SM
376 * buff-menu.el (list-buffers--refresh):
377 Handle Buffer-menu-use-header-line.
1241b724 378
e5f9458f
CY
3792012-05-06 Chong Yidong <cyd@gnu.org>
380
381 * buff-menu.el: Convert to Tabulated List mode.
382 (Buffer-menu-buffer+size-width): Make obsolete.
383 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
384 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
385 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
386 documentation into docstring of buffer-menu.
387 (Buffer-menu-toggle-files-only): Add an informative message.
388 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
389 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
390 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
391 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
392 (Buffer-menu-execute, Buffer-menu-select)
393 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
394 (Buffer-menu-bury): Use Tabulated List machinery.
395 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
396 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 397 Delete.
e5f9458f
CY
398 (list-buffers--refresh): New function.
399 (list-buffers-noselect): Use it.
400 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
401 (Buffer-menu--pretty-file-name): New helper functions.
402
403 * loadup.el: Preload tabulated-list.
404
405 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
406 tabulated-list-sort-column.
407 (tabulated-list-init-header): Add the initial aligning space even
408 if tabulated-list-padding is zero.
409
e129292c
CS
4102012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
411
412 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
413 whose cdr is not a cons cell correctly (bug#11038).
414
6632d361
CY
4152012-05-06 Chong Yidong <cyd@gnu.org>
416
e129292c
CS
417 * emacs-lisp/tabulated-list.el (tabulated-list-format):
418 Accept additional plist in column descriptors.
6632d361
CY
419 (tabulated-list-init-header): Obey it.
420 (tabulated-list-get-entry): New function.
421 (tabulated-list-put-tag): Use it. Use string-width instead of
422 length.
423 (tabulated-list--column-number): New function.
424 (tabulated-list-print): Use it.
e129292c
CS
425 (tabulated-list-print-col): New function.
426 Set `tabulated-list-column-name' property on each column's text.
6632d361 427 (tabulated-list-print-entry): Use it.
e129292c
CS
428 (tabulated-list-delete-entry, tabulated-list-set-col):
429 New functions.
6632d361
CY
430 (tabulated-list-sort-column): New command (Bug#11337).
431
3cc99f68
CY
432 * buff-menu.el (list-buffers): Move C-x C-b binding from
433 buff-menu.el to bindings.el.
434
435 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
436 :advertised-binding feature.
437
52b61776
TN
4382012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
439
440 * progmodes/compile.el (compilation-internal-error-properties):
441 Calculate start position correctly when end-col is set but
442 end-line is not (Bug#11382).
443
ebfe2597
WJ
4442012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
445
446 * man.el (Man-unindent): Use text-property-default-nonsticky to
447 prevent untabify from inheriting face properties (Bug#11408).
448
a43f98b3
GM
4492012-05-05 Glenn Morris <rgm@gnu.org>
450
48176e8b
GM
451 * calendar/cal-html.el: Optionally include holidays in the output.
452 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
453 (cal-html-holidays): New option.
454 (cal-html-css-default): Add holiday entry.
455 (holiday-in-range): Autoload it.
456 (cal-html-htmlify-entry): Add optional class argument.
457 (cal-html-htmlify-list): Add optional holidays argument.
458 (cal-html-insert-agenda-days): Include holidays in the output.
459 (cal-html-one-month): Maybe include holidays.
460
a43f98b3
GM
461 * calendar/holidays.el (holiday-in-range):
462 Move here from cal-tex-list-holidays.
463 * calendar/cal-tex.el (cal-tex-list-holidays):
464 Make it an obsolete alias for holiday-in-range. Update all callers.
465
fef9d149 4662012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
467
468 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
469 Nextstep.
470
248da2f4
RW
4712012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
472
473 * files.el (file-auto-mode-skip): New var.
474 (set-auto-mode-1): Use it.
475
f95e9344
SM
4762012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
477
df96ab1e
SM
478 * repeat.el: Use lexical-binding.
479 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
480 (repeat-undo-count): Remove.
481 (repeat):
482 * progmodes/octave-mod.el (octave-abbrev-start):
483 * progmodes/f90.el (f90-abbrev-start):
484 * face-remap.el (text-scale-adjust):
485 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
486
5342bb06
SM
487 * emacs-lisp/pcase.el (pcase--let*): New function.
488 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
489 a bit more.
490 (pcase--split-pred): Be more clever about ruling out overlap between
491 a predicate and some constant pattern.
492 (pcase--q1): Use `null' instead of (eq foo nil).
493
f95e9344
SM
494 * subr.el (setq-local, defvar-local): New macros.
495 (kbd): Redefine as an alias.
496 (with-selected-window): Leave unrelated frames alone.
497 (set-temporary-overlay-map): New function.
498
71873e2b
SM
4992012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * subr.el (user-error): New function.
502 * window.el (switch-to-buffer):
503 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
504 (smerge-match-conflict):
505 * simple.el (previous-matching-history-element)
506 (next-matching-history-element, goto-history-element, undo-more)
507 (undo-start):
508 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
509 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
510 (next-file, tags-loop-scan, list-tags, complete-tag):
511 * progmodes/compile.el (compilation-loop):
512 * mouse.el (mouse-minibuffer-check):
513 * man.el (Man-bgproc-sentinel, Man-goto-page):
514 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
515 (Info-history-forward, Info-follow-reference, Info-menu)
516 (Info-extract-menu-item, Info-extract-menu-counting)
517 (Info-forward-node, Info-backward-node, Info-next-menu-item)
518 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
519 (Info-next-reference, Info-prev-reference, Info-index)
520 (Info-index-next, Info-follow-nearest-node)
521 (Info-copy-current-node-name):
522 * imenu.el (imenu--make-index-alist)
523 (imenu-default-create-index-function, imenu-add-to-menubar):
524 * files.el (basic-save-buffer, recover-file):
525 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
526 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
527 (checkdoc-message-text, checkdoc-defun):
528 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
529 * cus-edit.el (customize-changed-options, customize-rogue)
530 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
531 (custom-variable-mark-to-reset-standard)
532 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
533 (custom-file):
534 * completion.el (check-completion-length):
535 * comint.el (comint-search-arg)
536 (comint-previous-matching-input-string-position)
537 (comint-previous-matching-input)
538 (comint-replace-by-expanded-history-before-point, comint-send-input)
539 (comint-copy-old-input, comint-backward-matching-input)
540 (comint-goto-process-mark, comint-set-process-mark):
541 * calendar/calendar.el (calendar-cursor-to-date): Use it.
542 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
543
8a61ee22
SM
5442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
545
66408d1e
SM
546 * dabbrev.el (dabbrev--ignore-case-p): New function.
547 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
548 Use it.
549
8a61ee22
SM
550 * files.el (automount-dir-prefix): Mark as obsolete.
551
3c74813a
GM
5522012-05-04 Glenn Morris <rgm@gnu.org>
553
554 * patcomp.el, play/bruce.el: Move to obsolete/.
555
0bfcf5c5
PE
5562012-05-04 Paul Eggert <eggert@cs.ucla.edu>
557
558 Fix minor Y10k bugs.
559 * arc-mode.el (archive-unixdate):
560 * autoinsert.el (auto-insert-alist):
561 * calc/calc-forms.el (math-this-year):
562 * emacs-lisp/copyright.el (copyright-current-year)
563 (copyright-update-year, copyright):
564 * tar-mode.el (tar-clip-time-string):
565 * time.el (display-time-update):
566 Don't assume years have 4 digits.
567
78f3273a
CY
5682012-05-04 Chong Yidong <cyd@gnu.org>
569
570 * dos-w32.el (file-name-buffer-file-type-alist)
571 (direct-print-region-use-command-dot-com):
572 * ffap.el (ffap-menu-regexp):
573 * find-file.el (ff-special-constructs):
574 * follow.el (follow-debug):
575 * forms.el (forms--debug):
576 * iswitchb.el (iswitchb-all-frames):
577 * ido.el (ido-all-frames):
578 * emacs-lisp/timer.el (timer-max-repeats):
579 * mail/feedmail.el (feedmail-mail-send-hook)
580 (feedmail-mail-send-hook-queued):
581 * mail/footnote.el (footnote-signature-separator):
582 * mail/mailabbrev.el (mail-alias-separator-string)
583 (mail-abbrev-mode-regexp):
584 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
585 * progmodes/idlwave.el (idlwave-libinfo-file)
586 (idlwave-default-completion-case-is-down)
587 (idlwave-library-routines): Convert defvars to defcustoms.
588
589 * mail/rmail.el (rmail-decode-mime-charset):
590 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
591 (idlwave-shell-fix-inserted-breaks)
592 (idlwave-shell-activate-alt-keybindings)
593 (idlwave-shell-use-breakpoint-glyph):
594 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
595
f7ae6719
SM
5962012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
599
47086495
WS
6002012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
601
602 * progmodes/verilog-mode.el (font-lock-keywords):
603 Fix mis-highligting auto. Reported by Craig Barner.
604 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
605 defines from global name space. Reported by Dan Dever.
606 (verilog-auto-reset, verilog-auto-reset-widths)
607 (verilog-auto-tieoff): Support using unbased numbers for
608 AUTORESET and AUTOTIEOFF.
609 (verilog-submit-bug-report): Update variable list.
610 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
611 parenthesis from not matching. Reported by Michael Rytting.
612 (verilog-auto-template-lint): Fix hash error when linting modules
613 with no used templates.
614 (verilog-warn, verilog-warn-error)
615 (verilog-warn-fatal): When non-interactive report multiple
616 warnings before exiting. Suggested by Brad Dobbie.
617 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
618 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
619 to report unused template errors. Reported by Brad Dobbie.
620 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
621 nets, bug438. Reported by Vns Blore.
622 (verilog-auto-inout-module, verilog-auto-reg)
623 (verilog-read-decls, verilog-read-sub-decls-sig)
624 (verilog-signals-edit-wire-reg, verilog-signals-with):
625 Fix passing of Verilog data types in ANSI input/output ports
626 such as "output logic" into the AUTOs. Special case "wire" and
627 "reg" for backwards compatibility presuming Verilog 2001.
628 (verilog-auto-ascii-enum): Add "auto enum" as alias.
629 (verilog-preprocess): Fix replication of preprocess output.
630 Reported by Brad Dobbie.
631 (verilog-auto-inst-interfaced-ports):
632 Create verilog-auto-inst-interfaced-ports, bug429.
633 Reported by Julian Gorfajn.
634 (verilog-after-save-font-hook)
635 (verilog-before-save-font-hook): New variable.
636 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
637 (verilog-save-font-mods): Wrap disabling fontification, reported
638 by David Rogoff.
639 (verilog-do-indent, verilog-pretty-declarations-auto)
640 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
641 Reported by Pierre-David Pfister.
642 (verilog-set-auto-endcomments): Fix endtask auto comments outside
643 of class declarations, bug292. Reported by Kevin Heilman.
644 (verilog-read-decls): Fix 'parameter type' not appearing in
645 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
646 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
647 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
648 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
649 Reported by David Kravitz.
650
6512012-05-03 Michael McNamara <mac@mail.brushroad.com>
652
653 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
654 assignment with tests in ifs and for loops.
655 (verilog-extended-complete-re, verilog-complete-reg): Change so
656 that DPI inport functions don't look like fuction declarations.
657 (verilog-pretty-expr): Don't line up assignment
658 operations to the test and increment in if and for loops
659 (verilog-extended-complete-re, verilog-complete-reg): Change so
660 that DPI inport functions don't look like fuction declarations
661
2e51d4b5
KH
6622012-05-03 Kenichi Handa <handa@m17n.org>
663
664 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
665 decoding, and show a warning message without signalling an error
666 (Bug#11282).
667
2bd785a2
SM
6682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * emacs-lisp/bytecomp.el
671 (byte-compile-file-form-custom-declare-variable): Compile all elements,
672 since cconv.el might have introduced :fun-body, internal-make-closure,
673 and friends for bytecomp to handle (bug#11391).
674 * custom.el (defcustom): Avoid ((λ ..) ..).
675
99d27583
SM
6762012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
679
55a71479
JB
6802012-05-02 Juanma Barranquero <lekktu@gmail.com>
681
682 * notifications.el (dbus-debug):
683 * term/linux.el (gpm-mouse-enable):
684 * term/screen.el (xterm-register-default-colors): Declare.
685
7b97c764
CY
6862012-05-02 Chong Yidong <cyd@gnu.org>
687
2bc356d7
CY
688 * cus-start.el (gc-cons-percentage, exec-suffixes)
689 (dos-display-scancodes, dos-hyper-key, dos-super-key)
690 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
691 (make-cursor-line-fully-visible, void-text-area-pointer)
692 (font-list-limit): Add customization data.
693
7b97c764
CY
694 * allout.el (allout-exposure-change-functions)
695 (allout-structure-added-functions)
696 (allout-structure-deleted-functions)
697 (allout-structure-shifted-functions): Rename abnormal hooks from
698 *-hook, and convert to defcustoms.
5d3385a0
JB
699 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
700 Convert to defcustoms.
7b97c764
CY
701 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
702
703 * allout-widgets.el: Hook callers changed.
704
90207a15 7052012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
706
707 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
708 the yanked message in preference to the default value of
709 buffer-file-coding-system.
710
90207a15 7112012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 712
5d3385a0
JB
713 * window.el (display-buffer--action-function-custom-type):
714 Fix entry.
d9558cad 715
90207a15 7162012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
717
718 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
719
d80ac57b
GM
7202012-05-01 Glenn Morris <rgm@gnu.org>
721
976f7668
GM
722 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
723
beb83b5a
GM
724 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
725
d80ac57b
GM
726 * cus-edit.el (custom-variable-documentation): Simplify with format.
727
b593d6a9
AH
7282012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
729 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * simple.el (suggest-key-bindings, execute-extended-command):
732 Move from keyboard.c.
733
782fbf2a
CY
7342012-05-01 Chong Yidong <cyd@gnu.org>
735
736 * follow.el: Eliminate advice.
737 (set-process-filter, process-filter, sit-for): Advice deleted.
738 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
739 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
740 Vars deleted.
782fbf2a
CY
741 (follow-auto): Use a :set function.
742 (follow-mode): Rewritten. Don't advise process filters.
743 (follow-switch-to-current-buffer-all, follow-scroll-up)
744 (follow-scroll-down): Assume follow-mode is bound.
745 (follow-comint-scroll-to-bottom)
746 (follow-align-compilation-windows): New functions.
747 (follow--window-sorter): New function.
748 (follow-all-followers): Use it to explicitly sort windows by their
749 positions; don't make assumptions about next-window order.
750 (follow-windows-start-end, follow-delete-other-windows-and-split)
751 (follow-calc-win-start): Doc fix.
752 (follow-windows-aligned-p, follow-select-if-visible): Don't call
753 vertical-motion unnecessarily.
754 (follow-adjust-window): New function.
755 (follow-post-command-hook): Use it.
756 (follow-call-set-process-filter, follow-call-process-filter)
757 (follow-intercept-process-output, follow-tidy-process-filter-alist)
758 (follow-stop-intercept-process-output, follow-generic-filter):
759 Functions deleted.
760 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
761 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
762 New functions, replacing advice on scroll-bar-* commands.
87233a14 763 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
764
765 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
766 (comint-postoutput-scroll-to-bottom): Use it.
767 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 768
290af740
GM
7692012-05-01 Glenn Morris <rgm@gnu.org>
770
771 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
772 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
773 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
774 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
775 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
776 Remove no-byte-compile setting.
777
6eac8dc9
SM
7782012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * minibuffer.el (completion-table-with-quoting): Fix compatibility
781 all-completions code to not return a number in the last cdr.
782
9cc7819c
LL
7832012-04-30 Leo Liu <sdl.web@gmail.com>
784
785 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
786 read-only error.
787
c93b886f
CY
7882012-04-29 Chong Yidong <cyd@gnu.org>
789
790 * follow.el (follow-calc-win-end): Rewrite to handle partial
791 screen lines correctly (Bug#8390).
792 (follow-avoid-tail-recenter): Minor cleanup.
793
8b6c19f4
SM
7942012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 Avoid the obsolete `assoc' package.
797 * speedbar.el (speedbar-refresh): Avoid adelete.
798 (speedbar-file-lists): Simplify and avoid aput.
799 * man.el (Man--sections, Man--refpages): New vars, replacing
800 Man-sections-alist and Man-refpages-alist.
801 (Man-build-section-alist, Man-build-references-alist):
802 Use them; avoid aput.
803 (Man--last-section, Man--last-refpage): New vars.
804 (Man-follow-manual-reference): Use them.
805 Use the `default' arg of completing-read.
806 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
807
c5bb7569
CY
8082012-04-27 Chong Yidong <cyd@gnu.org>
809
d1d2e2e8
CY
810 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
811
15cd8efd
CY
812 * startup.el (x-apply-session-resources): New function.
813
814 * term/ns-win.el (ns-initialize-window-system):
815 * term/w32-win.el (w32-initialize-window-system):
816 * term/x-win.el (x-initialize-window-system): Use it to properly
817 set menu-bar-mode and other vars from X resources, even if the
818 initial frame is not a window-system frame (Bug#2299).
819
c5bb7569
CY
820 * subr.el (read-key): Avoid running filter function when setting
821 up temporary tool bar entries (Bug#9922).
822
a8e7d6d7 8232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
824
825 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
826 (Bug#11344)
827
a8e7d6d7 8282012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
829
830 * select.el (xselect--encode-string): New function, split from
831 xselect-convert-to-string.
832 (xselect-convert-to-string): Use it.
833 (xselect-convert-to-filename, xselect-convert-to-os)
834 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
835 returned strings are properly encoded (Bug#11315).
836
a8e7d6d7 8372012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
838
839 * simple.el (delete-active-region): Move to killing custom group.
840
a8e7d6d7 8412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
842
843 * progmodes/which-func.el (which-func-current): Quote %
844 characters for mode-line processing.
845
578c1d4b 8462012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
847
848 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
849 reaching eob (Bug#11286).
850
a8e7d6d7 8512012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
852
853 * progmodes/gdb-mi.el (gdb-control-level): New variable.
854 (gdb): Make it buffer-local and init to zero.
855 (gdb-control-commands-regexp): New variable.
856 (gdb-send): Don't wrap in "-interpreter-exec console" if
857 gdb-control-level is positive. Increment gdb-control-level
858 whenever the command matches gdb-control-commands-regexp, and
859 decrement it each time the command is "end". (Bug#11279)
860
a8e7d6d7 8612012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
862
863 * window.el (adjust-window-trailing-edge, enlarge-window)
864 (shrink-window, window-resize):
865 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
866 windows (Bug#11276).
867
b3608390
CY
8682012-04-27 Chong Yidong <cyd@gnu.org>
869
870 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 871 fix "missing prefix" warning. All callers changed.
b3608390 872
797e6e88
SM
8732012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * emacs-lisp/assoc.el: Move to obsolete/.
876
e95a67dc
SM
8772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
878
657c21e4 879 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
880
881 * term/ns-win.el (ns-define-service):
882 * progmodes/pascal.el (pascal-goto-defun):
883 * progmodes/js.el (js--read-tab):
884 * progmodes/etags.el (tags-lazy-completion-table):
885 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
886 * emacs-lisp/ewoc.el (ewoc--wrap):
887 * emacs-lisp/assoc.el (aput, adelete, amake):
888 * doc-view.el (doc-view-convert-current-doc):
889 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
890
cb3e7ae0
CY
8912012-04-26 Chong Yidong <cyd@gnu.org>
892
dce04f7f
CY
893 * image.el (image-type-from-buffer): Only return supported image
894 type (Bug#9045).
895
cb3e7ae0
CY
896 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
897 value, for symmetry with diff-end-of-hunk.
898 (diff-split-hunk, diff-find-source-location)
899 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
900 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
901 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
902 compute the relevant hunk or file properly (Bug#6005).
903 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
904
0d42eb3e
SM
9052012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * vc/vc-mtn.el:
908 * vc/vc-hg.el:
909 * vc/vc-git.el:
910 * vc/vc-dir.el:
911 * vc/vc-cvs.el:
912 * vc/vc-bzr.el:
913 * vc/vc-arch.el:
914 * vc/vc.el: Replace lexical-let by lexical-binding.
915 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
916 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
917 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
918
f08ae1c9
CY
9192012-04-26 Chong Yidong <cyd@gnu.org>
920
8b71081d
CY
921 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
922 (diff-mode-shared-map): Bind it to / and [remap undo].
923
f08ae1c9
CY
924 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
925 (ediff-window-setup-function): Use it as the default, to set up
926 windows based on whether the current frame is graphical (Bug#2138).
927 (ediff-choose-window-setup-function-automatically): Make obsolete.
928
929 * vc/ediff-init.el: Always define ediff-pixel-width/height.
930
ef24141c
SM
9312012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
932
cc356a5d
SM
933 * ffap.el: Remove old code for obsolete package.
934 (ffap-complete-as-file-p): Remove.
935
b4ff4f1f
SM
936 Use completion-table-with-quoting for comint and pcomplete.
937 * comint.el (comint--unquote&requote-argument)
938 (comint--unquote-argument, comint--requote-argument): New functions.
939 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
940 (comint-quote-filename): Use regexp-opt-charset.
941 (comint--common-suffix, comint--common-quoted-suffix)
942 (comint--table-subvert): Remove.
943 (comint-unquote-function, comint-requote-function): New vars.
944 (comint--complete-file-name-data): Use them with
945 completion-table-with-quoting.
946 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
947 * pcomplete.el (pcomplete-arg-quote-list)
948 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
949 (pcomplete-unquote-argument-function): Default to non-nil.
950 (pcomplete-unquote-argument): Simplify.
951 (pcomplete--common-quoted-suffix): Remove.
952 (pcomplete-requote-argument-function): New var.
953 (pcomplete--common-suffix): New function.
954 (pcomplete-completions-at-point): Use completion-table-with-quoting
955 and completion-table-subvert.
956
79c4eeb4
SM
957 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
958 (minibuffer--double-dollars): Preserve properties.
959 (completion--sifn-requote): New function.
960 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
961
ef24141c
SM
962 * minibuffer.el: Add support for completion of quoted/escaped data.
963 (completion-table-with-quoting, completion-table-subvert): New funs.
964 (completion--twq-try, completion--twq-all): New functions.
965 (completion--nth-completion): New function.
966 (completion-try-completion, completion-all-completions): Use it.
967
784e7d6e
LL
9682012-04-25 Leo Liu <sdl.web@gmail.com>
969
dd2ac746
SM
970 * progmodes/python.el (python-pdbtrack-get-source-buffer):
971 Use compilation-message if available to find real filename.
784e7d6e 972
07875ee7
CY
9732012-04-25 Chong Yidong <cyd@gnu.org>
974
975 * vc/diff-mode.el (diff-setup-whitespace): New function.
976 (diff-mode): Use it.
977
978 * vc/diff.el (diff-sentinel):
979 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
980 Whitespace mode variables based on diff style (Bug#8612).
981
5055880d
LL
9822012-04-25 Leo Liu <sdl.web@gmail.com>
983
daf75653
LL
984 * progmodes/python.el (python-send-region): Add suffix .py to the
985 temp file.
986
5055880d
LL
987 * files.el (auto-mode-alist): Use javascript-mode instead.
988
db9b177b
AH
9892012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
990
ef24141c 991 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
992
993 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 994 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 995 references, see Bug#9.
ef24141c 996 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 997 when receiving a fault reply.
ef24141c 998 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
999
1000 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1001 (soap-inspect-simple-type): New function.
db9b177b 1002
ef24141c 1003 * soap-client.el (soap-simple-type): New struct.
db9b177b 1004 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1005 (soap-decode-basic-type, soap-encode-basic-type):
1006 support unsignedInt and double basic types.
db9b177b 1007 (soap-resolve-references-for-simple-type)
ef24141c
SM
1008 (soap-parse-simple-type, soap-encode-simple-type): New function.
1009 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1010
1011 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1012 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1013 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1014 the local name of "soapenc:Array".
1015 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1016 decoding integer, byte and anyURI xsd types.
1017
1fc6097b
CY
10182012-04-25 Chong Yidong <cyd@gnu.org>
1019
1020 * cus-edit.el (custom-buffer-create-internal): Update header text.
1021
afc6df87
EZ
10222012-04-25 Eli Zaretskii <eliz@gnu.org>
1023
1024 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1025 settings on 'system-type', not on 'window-system'. On MS-Windows,
1026 set interactive-mode on in GDB.
1027
dfbd787f
SM
10282012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1031 (ruby-syntax-propertize-regexp): Remove.
1032 (ruby-syntax-propertize-function): Split regexp into chunks.
1033 Match following code directly.
1034
85222d44
DG
10352012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1036
51a8ea2a
DG
1037 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1038 (ruby-syntax-propertize-regexp): New function.
1039 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1040 by a special keyword.
1041
85222d44
DG
1042 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1043 (ruby-syntax-general-delimiters-goto-beg)
1044 (ruby-syntax-propertize-general-delimiters): New functions.
1045 (ruby-syntax-propertize-function): Use them to handle GDL.
1046 (ruby-font-lock-keywords): Move old handling of GDL...
1047 (ruby-font-lock-syntactic-keywords): .. to here.
1048 (ruby-calculate-indent): Adjust indentation for GDL.
1049
b613912b
MA
10502012-04-24 Michael Albinus <michael.albinus@gmx.de>
1051
b5380639
MA
1052 * notifications.el (top): Remove unneeded declarations.
1053 (notifications-specification-version): Change to "1.2".
e43042fe 1054 (notifications-interface, notifications-notify-method)
b613912b
MA
1055 (notifications-close-notification-method): Fix docstring.
1056 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1057 (notifications-notify): Add :action-items, :resident and
1058 :transient hints. Change "image_data" to "image-data" and
1059 "image_path" to "image-path".
b613912b
MA
1060 (notifications-get-capabilities): New defun.
1061
257440aa
LL
10622012-04-24 Leo Liu <sdl.web@gmail.com>
1063
1064 * progmodes/python.el: Move hideshow setup to the end.
1065
b1bac16e
MR
10662012-04-24 Martin Rudalics <rudalics@gmx.at>
1067
1068 * window.el (handle-select-window): Clear echo area since this is
1069 no more done by read_char (Bug#11304).
1070
d81bd059
SM
10712012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1074 and `/ M' to filter-derived-mode.
1075 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1076 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1077 (ibuffer-mark-by-mode): Use default rather than initial-input.
1078 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1079
c4cf6d91
IA
10802012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1081
1082 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1083 (ibuffer-filter-by-derived-mode): New filter.
1084 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1085
7511ded8
CY
10862012-04-23 Andreas Politz <politza@fh-trier.de>
1087
1088 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1089
775c916b
CY
10902012-04-23 Chong Yidong <cyd@gnu.org>
1091
1092 * cus-edit.el (customize-apropos, customize-apropos-options):
1093 Disable matching of non-option variables (Bug#11176).
1094 (customize-option, customize-option-other-window)
1095 (customize-changed-options): Doc fix.
1096 (customize-apropos-options, customize-apropos-faces)
1097 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1098
1099 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1100 Fix word list splitting (Bug#11132).
46c71e23
CY
1101 (apropos-symbol, apropos-keybinding, apropos-label)
1102 (apropos-property, apropos-function-button)
1103 (apropos-variable-button, apropos-misc-button): New faces.
1104 (apropos-symbol-face, apropos-keybinding-face)
1105 (apropos-label-face, apropos-property-face, apropos-match-face):
1106 Variables removed (Bug#8396).
1107 (apropos-library-button, apropos-format-plist, apropos-print)
1108 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1109
2df41f9c
MA
11102012-04-23 Michael Albinus <michael.albinus@gmx.de>
1111
1112 * net/xesam.el (xesam-mode-map): Use let-bound map in
1113 initialization. (Bug#11292)
1114
da00640a
AM
11152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1116
1117 Preserve ispell session localwords when switching back to
1118 original buffer.
1119
1120 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1121 variable to hold buffer session localwords.
1122 (ispell-kill-ispell): add option 'clear to delete session
1123 localwords.
1124 (ispell-command-loop, ispell-change-dictionary)
1125 (ispell-buffer-local-words): Preserve session localwords when
1126 needed.
1127
1128 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1129 Preserve session localwords when needed.
1130
f621ccf5
AM
11312012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1132
1133 * ispell.el (ispell-insert-word) Remove unneeded function using
1134 obsolete `translation-table-for-input'.
ef24141c
SM
1135 (ispell-word, ispell-process-line, ispell-complete-word):
1136 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1137
c2d1019e
CY
11382012-04-22 Chong Yidong <cyd@gnu.org>
1139
1140 * cus-edit.el (custom-variable-menu)
1141 (custom-variable-reset-saved, custom-face-menu)
1142 (custom-face-reset-saved): If there is no saved value, make the
1143 "reset-saved" operation bring back the default (Bug#9509).
1144 (custom-face-state): Properly detect themed faces.
1145
eeddc531
CY
1146 * faces.el (face-spec-set): Stop supporting deprecated form of
1147 third arg.
1148
dcbf5805
MA
11492012-04-22 Michael Albinus <michael.albinus@gmx.de>
1150
1151 Move functions from C to Lisp. Make non-blocking method calls
1152 the default. Implement further D-Bus standard interfaces.
1153
ef24141c
SM
1154 * net/dbus.el (dbus-message-internal): Declare function.
1155 Remove unneeded function declarations.
dcbf5805
MA
1156 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1157 (dbus-message-type-method-return, dbus-message-type-error)
1158 (dbus-message-type-signal): Declare variables. Remove local
1159 definitions.
1160 (dbus-interface-dbus, dbus-interface-peer)
1161 (dbus-interface-introspectable, dbus-interface-properties)
1162 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1163 Adapt docstring.
1164 (dbus-interface-objectmanager): New defconst.
1165 (dbus-call-method, dbus-call-method-asynchronously)
1166 (dbus-send-signal, dbus-method-return-internal)
1167 (dbus-method-error-internal, dbus-register-service)
1168 (dbus-register-signal, dbus-register-method): New defuns, moved
1169 from dbusbind.c
1170 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1171 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1172 New defuns.
dcbf5805
MA
1173 (dbus-call-method-non-blocking): Make it an obsolete function.
1174 (dbus-unregister-object, dbus-unregister-service)
1175 (dbus-handle-event, dbus-register-property)
1176 (dbus-property-handler): Obey the new structure of
1177 `bus-registered-objects'.
1178 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1179 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1180 Use `dbus-call-method'.
1181
cf20dee0
CY
11822012-04-22 Chong Yidong <cyd@gnu.org>
1183
1184 * cus-edit.el (custom-commands, custom-reset-menu)
1185 (Custom-reset-standard): Tweak labels.
1186 (custom-reset-button-menu): Change default to t.
1187 (custom-buffer-create-internal): For the custom-reset-button-menu
1188 case, put the revert button first.
1189 (custom-group-subtitle): New face.
1190 (custom-group-value-create): Align docstring to a specific column.
1191
1192 * wid-edit.el (widget-documentation-link-add): Don't handle
1193 indentation in this function.
1194 (widget-documentation-string-indent-to): New function.
1195 (widget-documentation-string-value-create): Use it.
1196
1197 * autorevert.el (auto-revert):
1198 * epg-config.el (epg):
1199 * ibuffer.el (ibuffer):
1200 * mpc.el (mpc):
1201 * ses.el (ses):
1202 * eshell/eshell.el (eshell):
1203 * net/ange-ftp.el (ange-ftp):
1204 * progmodes/ebnf2ps.el (postscript):
1205 * progmodes/flymake.el (flymake):
1206 * progmodes/prolog.el (prolog):
1207 * progmodes/verilog-mode.el (verilog-mode):
1208 * progmodes/which-func.el (which-func):
1209 * term/xterm.el (xterm):
1210 * textmodes/picture.el (picture):
1211 * textmodes/tildify.el (tildify):
1212 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1213 customization buffers.
1214
583e23bd
AM
12152012-04-22 Alan Mackenzie <acm@muc.de>
1216
1217 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1218 Adding a ) can hide the resulting (..) from searches. Fix it.
1219 Bound the backward search to the position of the existing (.
1220
7dd51bf1
JB
12212012-04-21 Juanma Barranquero <lekktu@gmail.com>
1222
1223 * progmodes/verilog-mode.el (verilog-mode): Check whether
1224 which-func-modes is t before adding verilog-mode.
1225 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1226
d64a438f
LL
12272012-04-21 Leo Liu <sdl.web@gmail.com>
1228
7dd51bf1 1229 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1230
081e8d65
MV
12312012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1232
1233 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1234 filling of the last column of a table (Bug#5635).
1235 (woman-find-next-control-line): New arg, specifying an additional
1236 regexp component for the control line.
1237 (woman2-roff-buffer): Use it.
1238 (woman-break-table): New function.
1239 (woman2-TS): Use it.
1240
12412012-04-21 Chong Yidong <cyd@gnu.org>
1242
1243 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1244 (woman-horizontal-escapes, woman-negative-vertical-space)
1245 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1246 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1247
ed571ccb
SM
12482012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * minibuffer.el (completion-file-name-table): Complete user names.
1251
39773899
LL
12522012-04-20 Leo Liu <sdl.web@gmail.com>
1253
1254 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1255 and pcase-let*.
1256
de6ff46d
CY
12572012-04-20 Chong Yidong <cyd@gnu.org>
1258
1259 * server.el (server-execute): Respect initial-buffer-choice if it
1260 is a string and there are no files to open (Bug#2825).
1261 (server-create-window-system-frame, server-create-tty-frame):
1262 Don't switch buffers here.
2d0e8e61
CY
1263 (server-process-filter): Only try to open a window system frame if
1264 compiled with graphical support (Bug#8314).
de6ff46d 1265
54071013
DN
12662012-04-20 Dan Nicolaescu <dann@gnu.org>
1267
1268 * battery.el (battery-echo-area-format): Display remaining time
1269 for sysfs backend too (Bug#11269).
1270 (battery-linux-sysfs): Fix conditional for the charge.
1271
f30d612a
CY
12722012-04-20 Chong Yidong <cyd@gnu.org>
1273
c07a4c0b 1274 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1275 (gdb-inferior-io--init-proc): New function.
1276 (gdb-init-1): Use it.
1277 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1278 responsible for allocating a new pty and hooking it to gdb when
1279 the old pty gets an EIO due to process exit.
1280 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1281 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1282 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1283
2116e93c
EZ
12842012-04-20 Eli Zaretskii <eliz@gnu.org>
1285
1286 * window.el (window-min-size, window-sizable, window-min-delta)
1287 (window-max-delta, window--resizable, window-resizable)
1288 (window-total-size, window-full-height-p, window-full-width-p)
1289 (window-in-direction, window--resize-mini-window, window-resize)
1290 (window--resize-child-windows-normal)
1291 (window--resize-child-windows, window--resize-siblings)
1292 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1293 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1294
c07a4c0b 12952012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1296
ef24141c
SM
1297 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1298 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1299 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1300 pty process (Bug#11273).
1301 (gdb-update): New arg to suppress talking to the gdb process.
1302 (gdb-done-or-error): Use it.
1303 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1304 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1305 sentinel not being called.
1306
1307 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1308
d02766ab
CY
1309 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1310
c07a4c0b 13112012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1312
1313 * net/network-stream.el (open-network-stream): Doc fix.
1314
c07a4c0b 13152012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1316
1317 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1318
c07a4c0b 13192012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1320
1321 Ensure searching for keywords is case sensitive.
1322
1323 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1324 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1325 (c-defun-name, c-mark-function, c-cpp-define-name)
1326 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1327 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1328
ef24141c
SM
1329 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1330 Bind case-fold-search to nil.
f0f6bc35 1331
c07a4c0b 13322012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1333
1334 * mail/sendmail.el (mail-bury): Call return action with the right
1335 Rmail buffer (Bug#11242).
1336
9a864fa2
CY
1337 * server.el (server-process-filter): Handle corner case where both
1338 tty and nowait options are present (Bug#11102).
1339
539aa513
EZ
13402012-04-20 Eli Zaretskii <eliz@gnu.org>
1341
1342 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1343 (top level): Put into the executable the ident-style '$Id:' tag on
1344 windows-nt as well.
539aa513 1345
cfc7d5da
SM
13462012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * electric.el (electric-indent-post-self-insert-function): Check that
1349 electric-indent-mode is enabled in current buffer.
1350
5b01685c
JB
13512012-04-19 Juanma Barranquero <lekktu@gmail.com>
1352
1353 * imenu.el (imenu-progress-message): Restore; it is "used" in
1354 erc/erc-imenu.el and net/snmp-mode.el.
1355
4d6769e1
JB
13562012-04-19 Juanma Barranquero <lekktu@gmail.com>
1357
1358 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1359 (mouse-avoidance-nudge-mouse): Remove unused binding.
1360
1361 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1362
1363 * descr-text.el (describe-char):
1364 * progmodes/python.el (python-describe-symbol):
1365 Don't call `toggle-read-only', set `buffer-read-only'.
1366
1367 * imenu.el (imenu-default-goto-function): Mark unused args.
1368 (imenu-progress-message): Remove obsolete macro; all callers changed.
1369
1370 * subr.el (keymap-canonicalize): Remove unused binding.
1371 (read-passwd): Mark unused arg.
1372
1373 * tutorial.el (tutorial--display-changes): Remove unused binding.
1374 (tutorial--save-tutorial-to): Remove unused variable.
1375
1376 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1377 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1378 (package-generate-autoloads, package-menu--generate)
1379 (package-menu--find-upgrades): Remove unused bindings.
1380
1381 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1382 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1383 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1384 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1385 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1386 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1387 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1388 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1389 (cua-delete-char-rectangle): Mark unused args.
1390 (cua-align-rectangle): Remove unused binding.
1391
1392 * mail/rmail.el (compilation--message->loc)
1393 (epa--find-coding-system-for-mime-charset): Declare.
1394
1395 * net/dbus.el (dbus-register-service): Declare.
1396 (dbus-name-owner-changed-handler): Remove unused binding.
1397
1398 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1399 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1400 (nxml-scan-backward-within): Mark unused arg.
1401 (nxml-dynamic-markup-word): Remove unused binding.
1402
1403 * mouse.el (mouse-menu-major-mode-map):
1404 * emacs-lisp/authors.el (authors-scan-change-log)
1405 (authors-add-to-author-list):
1406 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1407 * emacs-lisp/smie.el (smie-auto-fill):
1408 * mail/sendmail.el (mail-bury):
1409 * mail/unrmail.el (unrmail):
1410 * net/tls.el (open-tls-stream):
1411 * textmodes/picture.el (picture-mouse-set-point):
1412 Remove unused bindings.
1413
8c8fc5df
MA
14142012-04-19 Michael Albinus <michael.albinus@gmx.de>
1415
1416 * net/tramp.el (tramp-action-password): Let-bind
1417 `enable-recursive-minibuffers' to t.
1418
a77b0ac9
SS
14192012-04-18 Sam Steingold <sds@gnu.org>
1420
1421 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1422 instead of 'string to accommodate values like [f11].
1423 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1424 * progmodes/gdb-mi.el: Likewise.
1425
12a106a9
LL
14262012-04-18 Leo Liu <sdl.web@gmail.com>
1427
1428 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1429 current buffer.
1430 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1431 LOCAL is nil.
1432
bc6494ef
CY
14332012-04-18 Chong Yidong <cyd@gnu.org>
1434
1435 * simple.el (line-move): Use forward-line if in batch mode
1436 (Bug#11053).
1437
c09c46b2
CS
14382012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1439
1440 * files.el (after-find-file): Do not try to add a final newline if
1441 the buffer is read-only (Bug#11156).
1442
5f6530ea
RS
14432012-04-17 Richard Stallman <rms@gnu.org>
1444
1445 * mail/rmail.el (rmail-start-mail):
1446 Pass (rmail-mail-return...) for the return-action.
1447 Pass (rmail-yank-current-message...) for the yank-action.
1448 (rmail-yank-current-message): New function.
1449 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1450 (rmail-reply): Likewise.
1451 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1452
1453 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1454 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1455 buffer, not newbuf.
1456
197b6f3c
JB
14572012-04-17 Juanma Barranquero <lekktu@gmail.com>
1458
1459 * server.el (server-ensure-safe-dir): Simplify.
1460
2311d8e5 14612012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1462
2311d8e5
GM
1463 * emacs-lisp/smie.el: Provide smarter auto-filling.
1464 (smie-auto-fill): New function.
1465 (smie-setup): Use it.
98fb480e 1466
2311d8e5
GM
1467 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1468
14692012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1470
1471 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1472 (comment-indent): Use it.
1473
2311d8e5 14742012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1475
1476 * ses.el: The overall change is to add cell renaming, that is
1477 setting fancy names for cell symbols other than name matching
1478 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1479 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1480 (ses-create-cell-variable): New defun.
2311d8e5 1481 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1482 (ses-relocate-formula): Relocate formulas only for cells the
1483 symbols of which are not renamed, i.e. symbols whose names do not
1484 match regexp "\\`[A-Z]+[0-9]+\\'".
1485 (ses-relocate-all): Relocate values only for cells the symbols of
1486 which are not renamed.
1487 (ses-load): Create cells variables as the (ses-cell ...) are read,
1488 in order to check row col consistency with cell symbol name only
1489 for cells that are not renamed.
1490 (ses-replace-name-in-formula): New defun.
1491 (ses-rename-cell): New defun.
4bdf2ad2 1492
fc72b15c
PO
14932012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1494
1495 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1496 New option (bug#11118).
1497 (perl-calculate-indent): Respect it.
1498
12e10e61
GM
14992012-04-17 Glenn Morris <rgm@gnu.org>
1500
1501 * dired-aux.el (dired-mark-read-string): Doc fix.
1502
30009afd
DA
15032012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1504
1505 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1506 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1507
41f03f4d
GM
15082012-04-17 Glenn Morris <rgm@gnu.org>
1509
1510 * mouse.el (mouse-drag-track):
1511 * speedbar.el (speedbar-frame-mode):
1512 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1513
f45f90f3
LL
15142012-04-16 Leo Liu <sdl.web@gmail.com>
1515
1516 * progmodes/python.el: Trivial cleanup.
1517
94ee8db5
GM
15182012-04-16 Glenn Morris <rgm@gnu.org>
1519
121b8917
GM
1520 * vc/vc.el (vc-string-prefix-p):
1521 * vc/pcvs-util.el (cvs-string-prefix-p):
1522 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1523 * mpc.el (mpc-string-prefix-p):
1524 Make all of these into obsolete aliases for string-prefix-p.
1525 Update callers.
1526 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1527
1197ecfa
GM
1528 * textmodes/two-column.el: Move custom options to the start.
1529 (frame-width): Remove compat definition.
1530 (2C-associate-buffer, 2C-dissociate):
1531 Use with-current-buffer rather than save-excursion.
1532 (2C-dissociate): Force a mode-line update.
1533 (2C-autoscroll): Use ignore-errors.
1534
099e7202
GM
1535 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1536 Autoload trivia.
1537
bf350d6a
GM
1538 * emacs-lisp/cl-extra.el (*random-state*):
1539 Remove unnecessary declaration.
1540
0e829eab
GM
1541 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1542
e3ad7552
GM
1543 * play/cookie1.el (cookie-snarf):
1544 Give an explicit error if input file cannot be read.
1545
68892d27
GM
1546 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1547
20f0c46d
GM
1548 * progmodes/perl-mode.el (c-macro-expand):
1549 Remove unnecessary autoload (it is in loaddefs.el).
1550
5a0978ce
GM
1551 * textmodes/picture.el (picture-desired-column)
1552 (picture-update-desired-column): Convert comments to doc-strings.
1553 (picture-substitute): Remove function.
1554 (picture-mode-map): Initialize in the defvar.
1555
6b955486
GM
1556 * woman.el: Remove eval-after-load for tar-mode.
1557 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1558 (woman-tar-extract-file): Autoload it.
1559
94ee8db5
GM
1560 * frame.el (automatic-hscrolling): Make this alias obsolete.
1561
177eca34
AM
15622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1563
1564 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1565 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1566 (ispell-dictionary-base-alist): Revert to original XEmacs
1567 friendly version for default. [:alpha:] will be added in
1568 `ispell-set-spellchecker-params' if needed
177eca34 1569
c505aaeb
CY
15702012-04-16 Chong Yidong <cyd@gnu.org>
1571
1572 * image.el (imagemagick--extension-regexp): New variable.
1573 (imagemagick-register-types): Use it.
1574 (imagemagick-types-inhibit): Add :set function. Allow new value
1575 of t to inhibit all types.
1576
1577 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1578 so we can preload it.
1579
1580 * loadup.el (fboundp): Preload regexp-opt, needed by
1581 imagemagick-register-types.
1582
60efac0f
CY
15832012-04-15 Chong Yidong <cyd@gnu.org>
1584
1585 * frame.el (scrolling): Remove nearly unused customization group.
1586
1587 * scroll-all.el (scroll-all-mode): Move to windows group.
1588
5dd1713e
CY
15892012-04-15 Chong Yidong <cyd@gnu.org>
1590
1591 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1592
e6fd457e
CY
15932012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1596 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1597
e153c136
GM
15982012-04-15 Glenn Morris <rgm@gnu.org>
1599
1600 * simple.el (process-file-side-effects): Doc fix.
1601
e6fd457e 16022012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1603
1604 * international/mule-cmds.el (set-language-environment): Doc fix.
1605
3603c3b1
JB
16062012-04-14 Juanma Barranquero <lekktu@gmail.com>
1607
1608 * server.el (server-auth-key, server-generate-key): Doc fixes.
1609 (server-get-auth-key): Doc fix. Use `string-match-p'.
1610 (server-start): Reflow docstring.
1611
e6de100c
LI
16122012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1613
1614 * server.el (server-generate-key): `called-interactively-p'
1615 requires a parameter.
1616
29734c21
MN
16172012-04-14 Michal Nazarewicz <mina86@mina86.com>
1618
1619 * server.el (server-auth-key): New variable.
75f1671a 1620 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1621 (server-start): Use the new variable and functions to allow
1622 setting a permanent server key (bug#9423).
1623
d65c9521
LL
16242012-04-14 Leo Liu <sdl.web@gmail.com>
1625
1626 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1627
5ae255c7
PE
16282012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1629
1630 Spelling fixes.
1631 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1632 Emacs uses American spelling.
1633
d5e6342e
JB
16342012-04-14 Juanma Barranquero <lekktu@gmail.com>
1635
1636 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1637 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1638 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1639 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1640
ab036cd7
SM
16412012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * progmodes/which-func.el (which-func-modes): Change default.
1644
35dc09a1 16452012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1646
1647 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1648 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1649
35dc09a1 16502012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1651
1652 * custom.el (custom-theme-set-variables): Doc fix.
1653
35dc09a1 16542012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1655
1656 * international/mule.el (set-auto-coding-for-load): Doc fix.
1657
35dc09a1 16582012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1659
35dc09a1
GM
1660 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1661 imenu work again for Objective C Mode. Correct the *-index values,
1662 these having been disturbed by a previous change in 2011-08.
57f845ee 1663
0de3da9f
AM
1664 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1665 Correct two search limits.
1666
35dc09a1 16672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1668
1669 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1670
35dc09a1 16712012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1672
1673 * international/characters.el: Fix sorting.
1674
35dc09a1 16752012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1676
1677 * international/characters.el: Add more missing Latin case pairs.
1678
35dc09a1 16792012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1680
1681 * files.el (dir-locals-set-class-variables): Doc fix.
1682
35dc09a1 16832012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1684
3f1b5bf8
EZ
1685 * international/characters.el: Add set-case-syntax-pair call for
1686 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1687 counterpart. (Bug#11209)
1688
9f847f41
EZ
1689 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1690
35dc09a1 16912012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1692
1693 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1694
35dc09a1 16952012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1696
35dc09a1
GM
1697 * textmodes/ispell.el (ispell-dictionary-base-alist):
1698 Add data for Hebrew.
e2627d21 1699
35dc09a1 17002012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1701
35dc09a1
GM
1702 * net/rcirc.el (rcirc-cmd-quit):
1703 Revert 2012-03-18 change (Bug#11192).
5c14e333 1704
35dc09a1 17052012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1706
1707 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1708
35dc09a1 17092012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1710
4517fe3a
SM
1711 * minibuffer.el (completion-in-region-mode-map):
1712 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1713
b472a594
VD
17142012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1715
1716 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1717
09b95ce3
MY
17182012-04-13 Masatake YAMATO <yamato@redhat.com>
1719
1720 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1721 to allow `C-M-f' and `C-M-b' to move to the nearest path
1722 separator (bug#9511).
1723
4b63a9ca
LI
17242012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1725
1726 * avoid.el: Require cl when compiling. And also move the
1727 `provide' to the end.
1728
7b55b8bf
TV
17292012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1730
1731 * avoid.el (mouse-avoidance-banish-position): New variable.
1732 (mouse-avoidance-banish-destination): Use it (bug#10165).
1733
adedaa1f
LL
17342012-04-13 Leo Liu <sdl.web@gmail.com>
1735
1736 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1737
70e74021
KB
17382012-04-13 Ken Brown <kbrown@cornell.edu>
1739
1740 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1741 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1742 (browse-url-filename-alist): For the same reason, don't modify
1743 file:// URLs on Cygwin.
1744
e75e89ba
SM
17452012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1748 the region on shift if the binding is already shifted (bug#11221).
1749
82f289a4
GM
17502012-04-12 Glenn Morris <rgm@gnu.org>
1751
1752 * mail/mailpost.el: Move to obsolete/.
1753
d333dc4c
DA
17542012-04-12 Drew Adams <drew.adams@oracle.com>
1755
1756 * imenu.el (imenu--generic-function): Ignore invisible definitions
1757 (bug#10123).
1758
0d15b5ba
VD
17592012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1760
1761 * hexl.el (hexl-bits): New variable.
1762 (hexl-options): Mention the variable in the doc string.
75f1671a 1763 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1764 (hexl-mode): Mention the new variable.
75f1671a
JB
1765 (hexl-mode, hexl-current-address, hexl-current-address):
1766 Use the displen.
0d15b5ba
VD
1767 (hexl-ascii-start-column): New function.
1768 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1769 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1770
64a440db
AM
17712012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1772
1773 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1774 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1775 the encoding, as expected by hunspell.
1776
6decb6c2
SM
17772012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * battery.el (battery--linux-sysfs-regexp): New const.
1780 (battery-status-function): Use it. Remove yeeloong special case.
1781 (battery-yeeloong-sysfs): Remove.
1782 (battery-echo-area-format): Remove yeeloong special case.
1783
088be6fb
SM
17842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1785
6622e416
SM
1786 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1787 Reported by Noah Friedman.
1788
088be6fb
SM
1789 * subr.el (read-passwd): Use read-string.
1790
b49f886e
LMI
17912012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1792
1793 * vcursor.el (vcursor-move): Increase the priority of the overlay
1794 (bug#9663).
1795
a63067fc
DD
17962012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1797
1798 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1799 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1800
ac3cf14a
WS
18012012-04-11 William Stevenson <yhvh2000@gmail.com>
1802
1803 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1804 define-minor-mode (bug#10760).
1805
c4fc691b 18062012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1807
4d6769e1 1808 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1809 that directories matching `grep-find-ignored-files' won't be
1810 pruned (bug#10351).
1811
af23e2e5
CY
18122012-04-11 Chong Yidong <cyd@gnu.org>
1813
1814 * startup.el (command-line): Remove support for long-obsolete
1815 variable font-lock-face-attributes.
1816
ab7ce8c1
GM
18172012-04-11 Glenn Morris <rgm@gnu.org>
1818
1819 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1820
de8c03dc
SM
18212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * window.el (window--state-get-1): Obey window-point-insertion-type.
1824
050cc68b
LB
18252012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1826
1827 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1828 to previous function when point is on the first character of a
75f1671a 1829 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1830
a38c310c
GM
18312012-04-11 Glenn Morris <rgm@gnu.org>
1832
effed0c2
GM
1833 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1834 not just file-errors.
1835
a38c310c
GM
1836 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1837 (vc-bzr-sha1): Use internal sha1.
1838
0221e323
SM
18392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1842
43956923
SG
18432012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1844
1845 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1846 that start in the middle of the line (bug#10496).
1847
6a8c9eaf
DN
18482012-04-10 Dan Nicolaescu <dann@gnu.org>
1849
1850 * battery.el (battery-linux-proc-acpi): Only one battery is
1851 discharged at a time, but that seems to confuse battery.el when
1852 computing `rate-type' for the battery not being discharged
1853 (bug#10332).
1854
1930bf5d
SM
18552012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1856
2a718f6f
SM
1857 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1858
599430d0
SM
1859 * international/quail.el: Use dolist and simplify.
1860 (quail-define-package, quail-update-keyboard-layout)
1861 (quail-define-rules): Use dolist.
1862 (quail-insert-kbd-layout, quail-get-translation): CSE.
1863
a2754b6c
SM
1864 * tmm.el: Use dolist, remove left over hook.
1865 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1866 Use dolist.
1867 (calendar-load-hook): Don't mess with it.
1868
1930bf5d
SM
1869 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1870 Use derived-mode-p. Run the diff asynchronously.
1871
9f67961c
LMI
18722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873
1874 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1875
2a8ce227
JB
18762012-04-10 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1879 (list-dynamic-libraries--loaded): New function.
1880 (list-dynamic-libraries--refresh): Use it.
1881
8f33b5f8
NW
18822012-04-10 Nathan Weizenbaum <nweiz@google.com>
1883
1930bf5d
SM
1884 * progmodes/python.el (python-fill-paragraph):
1885 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1886 disabled (bug#7018).
1887
b12f0439
L
18882012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1889
1930bf5d 1890 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1891 DOS/MS Windows for the Baltic languages. There are still plenty
1892 of texts written in this encoding/codepage (bug#6519).
b12f0439 1893
57c3bd01
GM
18942012-04-10 Glenn Morris <rgm@gnu.org>
1895
1896 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1897 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1898
6c3eab30
FA
18992012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1900
1930bf5d 1901 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1902 next-line "n" and previous-line "p" in order to make recentf more
1903 consistent with ibuffer, dired or org-mode (bug#9387).
1904
24d78a88
LMI
19052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1906
bc72b5d9
LMI
1907 * image.el (put-image): Return the overlay created instead of the
1908 optional input string (bug#7834). Note that this may break code
1909 that is (for some reason or other) depending on `put-image'
1910 returning the string.
1911
bd2dba5a
LMI
1912 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1913
74beb59f
LMI
1914 * simple.el (zap-to-char): Allow zapping using input methods
1915 (bug#1580).
1916
24d78a88
LMI
1917 * textmodes/fill.el (fill-region): Leave point and mark where they
1918 were before filling (bug#5399).
1919
263f20cd
GM
19202012-04-09 Glenn Morris <rgm@gnu.org>
1921
1922 * version.el (emacs-bzr-get-version):
1923 Handle lightweight checkouts of local branches.
1924
58d1f797
AS
19252012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1926
263f20cd 1927 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1928
b4d3bc10
CY
19292012-04-09 Chong Yidong <cyd@gnu.org>
1930
1931 * custom.el (custom-variable-p): Return nil for non-symbol
1932 arguments instead of signaling an error.
1933 (user-variable-p): Obsolete alias for custom-variable-p.
1934
1935 * apropos.el (apropos-variable):
1936 * files-x.el (read-file-local-variable):
1937 * simple.el (set-variable):
1938 * woman.el (woman-mini-help):
1939 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1940
fd06db5d
GM
19412012-04-09 Glenn Morris <rgm@gnu.org>
1942
e5fcdb5e
GM
1943 * startup.el (normal-top-level): Don't look for leim-list.el
1944 in places where it will not be found. (Bug#910)
1945
fd06db5d
GM
1946 * international/mule-cmds.el (set-default-coding-systems):
1947 * files.el (normal-mode):
1948 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1949 This function was removed with ucs-tables.el in 2008.
1950
b39bb7e1
EZ
19512012-04-08 Eli Zaretskii <eliz@gnu.org>
1952
1953 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1954 ispell-encoding8-command to "-i", without a trailing space.
1955 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1956 separate command-line arguments, to specify the encoding, since
1957 that's how hunspell expects it.
1958
5c5b8e23
GM
19592012-04-08 Glenn Morris <rgm@gnu.org>
1960
1961 * loadup.el: Load bindings before cus-start.
1962 This reduces somewhat the number of "rogue" settings in emacs -Q.
1963
a1ed8b05
GM
19642012-04-07 Glenn Morris <rgm@gnu.org>
1965
1966 * version.el (emacs-bzr-get-version): New function.
dfae128a 1967 (emacs-bzr-version): New variable.
a1ed8b05
GM
1968 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1969 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1970
b142f158
EZ
19712012-04-07 Eli Zaretskii <eliz@gnu.org>
1972
dfae128a
GM
1973 * international/uni-bidi.el, international/uni-category.el:
1974 * international/uni-combining.el, international/uni-decimal.el:
1975 * international/uni-decomposition.el, international/uni-digit.el:
1976 * international/uni-lowercase.el, international/uni-mirrored.el:
1977 * international/uni-name.el, international/uni-numeric.el:
1978 * international/uni-titlecase.el, international/uni-uppercase.el:
1979 Update for Unicode 6.1.
b142f158 1980
9078ead6
EZ
19812012-04-07 Eli Zaretskii <eliz@gnu.org>
1982
1983 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1984
f23d2c7d
LMI
19852012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1986
1987 * window.el (shrink-window): Mention the `window-min-height'
1988 variable in the doc string.
1989
0a0a3573
BG
19902012-04-05 Bastien Guerry <bzg@altern.org>
1991
1992 * color.el (color-lighten-name): Fix typo.
1993
e5248ac9
SM
19942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * server.el (server--on-display-p): New function.
1997 (server--on-display-p): Use it.
1998
b4243e22
GV
19992012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2000
2001 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2002 (bug#11145).
2003
305d9f44
SM
20042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * comint.el (comint--common-quoted-suffix): Check string boundary
2007 before comparing (bug#11158).
2008 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2009
3d439cd1
CY
20102012-04-04 Chong Yidong <cyd@gnu.org>
2011
321cc491
CY
2012 * minibuffer.el (completion-extra-properties): Doc fix.
2013
3d439cd1
CY
2014 * subr.el (delayed-warnings-hook): Doc fix.
2015
2d562c0f
DU
20162012-04-04 Daiki Ueno <ueno@unixuser.org>
2017
2018 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2019 selection (Bug#11159).
2020 (epa-insert-keys): Inform that the default public key will be
2021 exported if no key is selected.
2022
4443f204
RS
20232012-04-04 Richard Stallman <rms@gnu.org>
2024
2025 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2026
529c06b6
CY
20272012-04-03 Chong Yidong <cyd@gnu.org>
2028
2029 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2030 mail-insert-file, not its obsolete alias mail-attach-file.
2031
66b907dc
MA
20322012-04-03 Michael Albinus <michael.albinus@gmx.de>
2033
2034 * notifications.el (notifications-notify): Fix docstring.
2035
c0ea195d
GM
20362012-04-02 Glenn Morris <rgm@gnu.org>
2037
2038 * emacs-lisp/authors.el (authors-aliases): Another addition.
2039
5ca64e00
MA
20402012-04-02 Michael Albinus <michael.albinus@gmx.de>
2041
2042 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2043 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2044 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2045
42ee526b
CY
20462012-04-01 Chong Yidong <cyd@gnu.org>
2047
2048 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2049 Handle root directory properly.
2050 (copy-directory): Caller changed.
2051
2052 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2053 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2054
0b021094
GM
20552012-03-31 Glenn Morris <rgm@gnu.org>
2056
40f86458
GM
2057 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2058
7019c177
GM
2059 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2060
a1daddd6
GM
2061 * calendar/calendar.el (calendar-window-list)
2062 (calendar-hide-window): Restore. (Bug#11140)
2063 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2064
0b021094
GM
2065 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2066
40311efc
TV
20672012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2068
2069 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2070 Check if file is a symlink (Bug#10489).
2071
2072 * files.el (copy-directory): Likewise.
2073
5319014e
CY
20742012-03-30 Chong Yidong <cyd@gnu.org>
2075
2076 * image.el (imagemagick-types-inhibit)
2077 (imagemagick-register-types): Doc fix.
2078
935d1290
AM
20792012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2080
ef24141c
SM
2081 * ispell.el (ispell-get-extended-character-mode):
2082 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2083 and treats ~word as ordinary words in pipe mode.
935d1290 2084
61c6e8fd
GM
20852012-03-30 Glenn Morris <rgm@gnu.org>
2086
2087 * tutorial.el (help-with-tutorial): Ensure local variables don't
2088 happen to make the buffer read-only. (Bug#11127)
2089
81fdff00
SM
20902012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2093 (perl-calculate-indent): Return `noindent' in strings.
2094
6e7a6ec0
SS
20952012-03-28 Sam Steingold <sds@gnu.org>
2096
2097 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2098 instead of the broken adhockery which does not prevent calendar
2099 buffers from being displayed at random after exit.
2100 (calendar-window-list, calendar-hide-window): Remove the broken
2101 adhockery.
2102
fee88ca0
GM
21032012-03-28 Glenn Morris <rgm@gnu.org>
2104
2105 * replace.el (query-replace-map): Doc fix.
2106
38de3354
AS
21072012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2108
2109 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2110 contents. (Bug#11109)
2111
b973155e
SM
21122012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2115 (bug#11077).
2116 (avl-tree--check, avl-tree--check-node): New funs.
2117
dcb6e7b3
MR
21182012-03-27 Martin Rudalics <rudalics@gmx.at>
2119
2120 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2121 (switch-to-prev-buffer, switch-to-next-buffer):
2122 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2123 showing a buffer already is done on the same frame.
2124
b4fa35fa
GM
21252012-03-27 Glenn Morris <rgm@gnu.org>
2126
2127 * startup.el (mail-host-address): Doc fix.
2128
f9210e18
SM
21292012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2132 than 197 variables.
2133
c0bf7753
AF
21342012-03-26 Ami Fischman <ami@fischman.org>
2135
2136 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2137
33da7b16
GM
21382012-03-26 Glenn Morris <rgm@gnu.org>
2139
02243d9d
GM
2140 * files.el (save-buffers-kill-emacs): Doc fix.
2141
33da7b16
GM
2142 * startup.el (normal-top-level, command-line, command-line-1):
2143 Give them doc strings.
2144
e5a69fd0
EZ
21452012-03-25 Eli Zaretskii <eliz@gnu.org>
2146
2147 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2148 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2149
9a69676a
CY
21502012-03-25 Chong Yidong <cyd@gnu.org>
2151
4125cb8b
CY
2152 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2153 theme if it was previously enabled before (Bug#11031).
2154
dd470960
CY
2155 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2156 spec with custom-face-get-current-spec if its :shown-value is not
2157 determined yet (Bug#9337).
4125cb8b 2158 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2159
9a69676a
CY
2160 * button.el (button-at): Minor addition to docstring.
2161
6e7e90fa
SL
21622012-03-24 Simon Leinen <simon.leinen@gmail.com>
2163
2164 * vc/vc.el (vc-merge): Fix a prompt.
2165
f06e2758
CY
21662012-03-24 Chong Yidong <cyd@gnu.org>
2167
2168 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2169 point (Bug#9623).
2170
6e7e90fa
SL
2171 * button.el (button-at): Minor addition to docstring.
2172
b9d0879b
SM
21732012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * newcomment.el (comment-choose-indent): No space after BOL.
2176
e71cebb3
SS
21772012-03-22 Sam Steingold <sds@gnu.org>
2178
2179 * window.el (switch-to-prev-buffer): Revert last patch because the
2180 bug turned out to be an advertised feature (Elisp manual 28.14).
2181
335aff35
GM
21822012-03-22 Glenn Morris <rgm@gnu.org>
2183
2184 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2185 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2186
c676576a
LMI
21872012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2188
2189 * net/network-stream.el (network-stream-open-starttls): Make error
2190 message under Windows be less misleading.
2191
126f3d39
LW
21922012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2193
2194 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2195 understands (bug#9942).
2196
64fee311
CY
21972012-03-22 Chong Yidong <cyd@gnu.org>
2198
2199 * simple.el (end-of-visible-line): Handle return value of
2200 next-single-property-change properly (Bug#9371).
2201
a640d29a
KH
22022012-03-22 Kenichi Handa <handa@m17n.org>
2203
2204 * international/quail.el (quail-insert-kbd-layout): Fix previous
2205 change. To avoid unwanted bidi reordering, use
2206 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2207
39675016
DG
22082012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2209
2210 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2211 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2212 (ruby-beginning-of-indent): Be more careful with the difference
2213 between word-boundary and symbol boundary.
2214 (ruby-mode-syntax-table): Make : a symbol constituent.
2215
0a6934fc 22162012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2217
3d008e4f
SM
2218 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2219
0a6934fc
SM
22202012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2221
af67c9d7
SM
2222 * progmodes/etags.el (tags-completion-at-point-function):
2223 Improve last fix.
2224
1acad97c
SM
2225 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2226
e298b5da
SS
22272012-03-21 Sam Steingold <sds@gnu.org>
2228
2229 * progmodes/etags.el (tags-completion-at-point-function):
2230 Avoid the error when point is inside the pattern.
2231
91d82a70
JY
22322012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2233
2234 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2235 line (Bug#10855).
2236
69188b79
CY
22372012-03-21 Drew Adams <drew.adams@oracle.com>
2238
2239 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2240
99fc91fe
AK
22412012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2242
2243 * ido.el (ido-set-current-directory, ido-read-internal)
2244 (ido-choose-completion-string, ido-completion-help): Handle nil
2245 value of ido-completion-buffer (Bug#11008).
2246
087bbb4c
SS
22472012-03-21 Sam Steingold <sds@gnu.org>
2248
2249 * window.el (switch-to-prev-buffer): Do not switch to a visible
2250 window previous buffer, just like with the frame previous buffers.
2251
fb5b8aca
CY
22522012-03-21 Chong Yidong <cyd@gnu.org>
2253
2254 * faces.el (make-face, make-empty-face, copy-face):
2255 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2256 Doc fixes.
2257
dc9924b8
SM
22582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2261 (widget-complete): Remove broken use of it.
2262
f0bcceb9
CY
22632012-03-20 Chong Yidong <cyd@gnu.org>
2264
dc9924b8
SM
2265 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2266 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2267 characters.
2268
ee52ebf3
TH
22692012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2270
2271 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2272 to draw rectangles, not squares. (Regression introduced by revno
2273 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2274
4c5779ab
CY
22752012-03-18 Chong Yidong <cyd@gnu.org>
2276
2277 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2278 it is not yet defined (for temacs).
2279
15360934
LL
22802012-03-18 Leo Liu <sdl.web@gmail.com>
2281
dc9924b8 2282 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2283
d9a8eb66
EZ
22842012-03-17 Eli Zaretskii <eliz@gnu.org>
2285
2286 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2287 (ispell-choices-win-default-height, ispell-silently-savep)
2288 (ispell-dictionary-alist, ispell-encoding8-command)
2289 (ispell-check-version, ispell-aspell-find-dictionary)
2290 (ispell-valid-dictionary-list, ispell-words-keyword)
2291 (ispell-get-word, ispell-internal-change-dictionary)
2292 (ispell-region, ispell-skip-region-list)
2293 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2294 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2295 (ispell-message-text-end, ispell-message)
2296 (ispell-buffer-local-parsing): Doc fix.
2297
f02ff80d
J
22982012-03-13 Jambunathan K <kjambunathan@gmail.com>
2299
2300 * htmlfontify.el: Add support for code block fontification for ODT
2301 export (Bug #9914).
2302 (hfy-optimisations): Define new option
2303 `body-text-only'
2304 (hfy-fontify-buffer): Honor above setting.
2305 (hfy-begin-span, hfy-end-span): New routines factored out form
2306 `hfy-fontify-buffer'.
2307 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2308 that permit insertion of custom tags.
2309 (hfy-fontify-buffer): Use above handlers.
2310 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2311 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2312 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2313 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2314 bind a special variable `hfy-user-sheet-assoc'.
2315 (htmlfontify-string): New defun.
2316 (hfy-compile-face-map): Make sure that the last char in the
2317 buffer is correctly fontified.
2318 (hfy-face-resolve-face): Whitespace only change.
2319
9ac7a13f
EZ
23202012-03-17 Eli Zaretskii <eliz@gnu.org>
2321
2322 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2323 message more clear.
2324
e2b5bdd7
LL
23252012-03-16 Leo Liu <sdl.web@gmail.com>
2326
2327 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2328
2e492df3
AM
23292012-03-16 Alan Mackenzie <acm@muc.de>
2330
2331 Further optimise the handling of large macros.
2332
2333 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2334 limit to a call of `c-literal-limits'.
2335 (c-determine-+ve-limit): New function.
dc9924b8
SM
2336 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2337 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2338 In CASE 5B, restrict a search limit to 500.
2339 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2340
2341 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2342 Restrict macro bounds to +-500 from after-change's BEG END.
2343
50e94f0c
LL
23442012-03-16 Leo Liu <sdl.web@gmail.com>
2345
2346 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2347
6f09f6ed
AH
23482012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2349
2350 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2351 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2352
c7e73d51
GM
23532012-03-16 Glenn Morris <rgm@gnu.org>
2354
da986230
GM
2355 * view.el (view-buffer, view-buffer-other-window)
2356 (view-buffer-other-frame): Doc fixes re special mode-class.
2357
0835f01e
GM
2358 * subr.el (eval-after-load): If named feature is provided not from
2359 a file, run after-load forms. (Bug#10946)
2360
c7e73d51
GM
2361 * calendar/calendar.el (calendar-insert-at-column):
2362 Handle non-unit-width characters a bit better. (Bug#10978)
2363
3f2eafd1
CY
23642012-03-15 Chong Yidong <cyd@gnu.org>
2365
2366 * emacs-lisp/ring.el (ring-extend): New function.
2367 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2368
2369 * comint.el (comint-read-input-ring)
2370 (comint-add-to-input-history): Grow comint-input-ring lazily.
2371
103af3fe
SM
23722012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2373
663b1677
SM
2374 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2375 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2376
103af3fe
SM
2377 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2378 (imenu-add-to-menubar): Don't add a redundant index.
2379 (imenu-update-menubar): Handle a dynamically composed keymap.
2380
899cb7cb
KY
23812012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2382
2383 * mail/sendmail.el (mail-encode-header):
2384 Bind rfc2047-encode-encoded-words to nil.
2385
3809f91d
GM
23862012-03-13 Glenn Morris <rgm@gnu.org>
2387
2388 * calendar/calendar.el (calendar-string-spread):
2389 Handle non-unit-width characters a bit better. (Bug#10978)
2390
9e345a01
LL
23912012-03-13 Leo Liu <sdl.web@gmail.com>
2392
2393 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2394 directory and file as argument (Bug#10822).
2395
4a07df36
KS
23962012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2397
2398 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2399 For dynamically generated code, follow $PC.
2400 (gdb-disassembly-handler-custom): Handle no function name case.
2401
4aaa9356
TL
24022012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2403
2404 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2405 * emulation/ws-mode.el (ws-query-replace):
2406 * sort.el (sort-regexp-fields):
2407 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2408
225979da
SM
24092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * dabbrev.el: Fix cycle completion order (bug#10963).
2412 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2413 (dabbrev-completion): Don't use an obarray; provide
2414 a cycle-sort-function.
2415
e2f1fdab
LL
24162012-03-12 Leo Liu <sdl.web@gmail.com>
2417
dc9924b8 2418 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2419 (kill-do-not-save-duplicates): Doc fix.
2420
b19490ed
SM
24212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * dabbrev.el: Fix cycle completion (bug#10963).
2424 Use lexical binding and wrap to 80 columns.
2425 (dabbrev-completion): Delay computing the list of completions.
2426
4b05d722
KH
24272012-03-12 Kenichi Handa <handa@m17n.org>
2428
2429 * international/quail.el (quail-insert-kbd-layout): Surround each
2430 row by LRO and PDF instead of inserting many LRMs. Pad the left
2431 and right of each non-spacing marks. Insert invisible space
2432 between lower and upper characters to prevent composition.
2433
dbbc2e69
SM
24342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * minibuffer.el (minibuffer-complete): Don't get confused when the
2437 function is run twice via different commands (bug#10958).
2438 (complete-with-action): Fix docstring.
2439
292112ed
CY
24402012-03-12 Chong Yidong <cyd@gnu.org>
2441
5d1ac394
CY
2442 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2443 (nxml-completion-at-point-function): New function.
2444 (nxml-mode): Use it.
2445 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2446
292112ed
CY
2447 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2448 Load generated autoloads file before byte compiling (Bug#10970).
2449 (package--make-autoloads-and-compile): New helper fun.
2450
4098f8f7
CS
24512012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2452
2453 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2454
8f754691
MA
24552012-03-11 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * autorevert.el (auto-revert-handler): Ensure, that
2458 file-readable-p is applied only for local files or in
2459 auto-revert-tail-mode.
2460
e29ab36b
AS
24612012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2462
dbbc2e69
SM
2463 * server.el (server-eval-at): Handle non-tcp connections.
2464 Decode result string.
ad0bf5b6 2465
e29ab36b
AS
2466 * server.el (server-msg-size): New constant.
2467 (server-reply-print): New function.
2468 (server-eval-and-print): Use it.
2469 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2470 Handle -print-nonl.
2471
de5939ba
CS
24722012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2473
2474 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2475 (Bug#10987).
2476
0c93eabf
CY
24772012-03-11 Chong Yidong <cyd@gnu.org>
2478
397a688f
CY
2479 * simple.el (goto-line): Doc fix (Bug#9938).
2480
2cc775f9
CY
2481 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2482
0c93eabf
CY
2483 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2484 when finished (Bug#10963).
2485
c491fa41
MR
24862012-03-11 Martin Rudalics <rudalics@gmx.at>
2487
2488 * window.el (split-window-below): Fix bug in case where
2489 split-window-keep-point is nil (Bug#10971).
2490
300e8fa5
JL
24912012-03-11 Juri Linkov <juri@jurta.org>
2492
2493 * replace.el (replace-highlight): Set isearch-word to nil
2494 unconditionally. (Bug#10887)
2495
dbf6c5a1
EZ
24962012-03-10 Eli Zaretskii <eliz@gnu.org>
2497
2498 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2499 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2500 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2501 (mairix-widget-create-query): Add usage information about mairix
2502 search forms: negating words, searching for substrings, etc.
2503
b9e501de
JP
25042012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2505
2506 * international/fontset.el (font-encoding-alist): Add an entry for
2507 ksx1001 (Bug#5667).
2508
92795c91
RS
25092012-03-10 Richard Stallman <rms@gnu.org>
2510
1694e6c1
RS
2511 * mail/sendmail.el (mail-encode-header):
2512 Set rfc2047-encode-encoded-words.
2513
607e8555
RS
2514 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2515
de3bc99a
RS
2516 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2517 view buffer means not swapped.
2518 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2519 (rmail-write-region-annotate): Error if real text has disappeared.
2520
92795c91
RS
2521 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2522
699bd04e
CY
25232012-03-10 Chong Yidong <cyd@gnu.org>
2524
2525 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2526 * emulation/cua-base.el (cua--init-keymaps):
2527 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2528
570a1714
MR
25292012-03-10 Martin Rudalics <rudalics@gmx.at>
2530
dbbc2e69
SM
2531 * speedbar.el (speedbar-unhighlight-one-tag-line):
2532 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2533
82dcf4e4
CY
25342012-03-10 Chong Yidong <cyd@gnu.org>
2535
7a2c7ca7
CY
2536 * minibuffer.el (completion-in-region, completion-help-at-point):
2537 Give the completion field overlay a high priority (Bug#6830).
2538
82dcf4e4
CY
2539 * dired.el (dired-goto-file): Recognize absolute file name
2540 listings (Bug#7126).
2541 (dired-goto-file-1): New helper function.
2542 (dired-toggle-read-only): Inhibit warnings.
2543
052e28ac
MA
25442012-03-09 Michael Albinus <michael.albinus@gmx.de>
2545
75f1671a 2546 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2547 there are no properties.
2548
95d5e396
LL
25492012-03-09 Leo Liu <sdl.web@gmail.com>
2550
2551 * savehist.el (savehist-printable): Stricter check for string
2552 value (Bug#10937).
2553
3f018d6d
EZ
25542012-03-09 Eli Zaretskii <eliz@gnu.org>
2555
dbbc2e69
SM
2556 * mail/smtpmail.el (smtpmail-send-it):
2557 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2558 valid mbox format.
2559
f7fd3d79
GM
25602012-03-09 Glenn Morris <rgm@gnu.org>
2561
2562 * files.el (dir-locals-find-file):
2563 Don't check result is regular, readable.
2564 (dir-locals-read-from-file): Demote errors.
2565
6ff6e72f
EZ
25662012-03-08 Eli Zaretskii <eliz@gnu.org>
2567
dbbc2e69
SM
2568 * international/quail.el (quail-insert-kbd-layout):
2569 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2570 layout cell, to prevent their reordering by bidi display engine.
2571 For details, see the discussion in
2572 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2573
9cec7834
AM
25742012-03-08 Alan Mackenzie <acm@muc.de>
2575
2576 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2577 the starting position; make it extend the marked region when
2578 invoked repeatedly - all under appropriate circumstances.
2579 Fixes bugs #5525, #10906.
2580
9a40b8d4
GM
25812012-03-08 Glenn Morris <rgm@gnu.org>
2582
2583 * files.el (locate-dominating-file, dir-locals-find-file):
2584 Undo 2012-03-06 change.
2585
7a08ed35
EZ
25862012-03-07 Eli Zaretskii <eliz@gnu.org>
2587
dbbc2e69
SM
2588 * international/quail.el (quail-help):
2589 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2590 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2591 for the reason.
2592
5aca4f71 25932012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2594
2595 Avoid superfluous registering of signals. (Bug#10807)
2596
2597 * notifications.el (notifications-on-action-object)
2598 (notifications-on-close-object): New defvars.
2599 (notifications-on-action-signal, notifications-on-closed-signal):
2600 Unregister the signal if not needed any longer.
2601 (notifications-notify): Register `notifications-action-signal' or
2602 `notifications-closed-signal', if :on-action or :on-close has been
2603 passed as argument.
2604
78e8b10a
CY
26052012-03-07 Chong Yidong <cyd@gnu.org>
2606
2607 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2608 non-X platforms.
2609
69481eb8
GM
26102012-03-06 Glenn Morris <rgm@gnu.org>
2611
2612 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2613 (x-disown-selection-internal, x-get-selection-internal):
2614 Doc fix (add arglist signatures). (Bug#10783)
2615
133b8e11
KS
26162012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2617
2618 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2619 Handle breakpoints with no "type".
2620
99a83064
GM
26212012-03-06 Glenn Morris <rgm@gnu.org>
2622
2623 * files.el (locate-dominating-file): Add optional predicate argument.
2624 (dir-locals-find-file): Make use of above change.
2625
17798e78
TTN
26262012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2627
2628 * info.el (Info-insert-dir): Also try "dir.gz".
2629
eb182446
GM
26302012-03-06 Glenn Morris <rgm@gnu.org>
2631
8f2114ee
GM
2632 * files.el (dir-locals-find-file):
2633 Ignore non-readable or non-regular files. (Bug#10928)
2634
eb182446
GM
2635 * files.el (locate-dominating-file): Doc fix.
2636
24679323
AS
26372012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2638
2639 * calendar/calendar.el (calendar-set-mode-line):
2640 `getenv' returns a string. (Bug#10951)
2641
01d972a9
LL
26422012-03-05 Leo Liu <sdl.web@gmail.com>
2643
109aa8a9
LL
2644 * simple.el (backward-delete-char-untabify): Constrain point to
2645 field (Bug#10939).
2646
01d972a9
LL
2647 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2648
10607bea
CY
26492012-03-05 Chong Yidong <cyd@gnu.org>
2650
2651 * simple.el (count-words): If called from Lisp, return the word
2652 count, for symmetry with `count-lines'. Arglist changed.
2653 (count-words--message): Args changed. Consolidate counting code
2654 from count-words and count-words-region.
2655 (count-words-region): Caller changed.
2656 (count-lines-region): Make it an obsolete alias.
2657
5dd11cfe
TH
26582012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2659
2660 * saveplace.el (save-place-to-alist)
2661 (save-place-ignore-files-regexp): Allow value nil to disable this
2662 feature.
2663
c349f4e6
CY
26642012-03-04 Chong Yidong <cyd@gnu.org>
2665
2666 * faces.el (face-spec-reset-face): For the default face, reset the
2667 attributes to default values (Bug#10748).
2668
e627be4c
LMI
26692012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2670
2671 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2672 previous patch: Check `message-send-mail-function', and not the
2673 default function (bug#10897).
2674
ebeabff4
MA
26752012-03-04 Michael Albinus <michael.albinus@gmx.de>
2676
a41a6cf4
MA
2677 * notifications.el (notifications-on-action-signal)
2678 (notifications-on-closed-signal): Check for unique service name of
2679 incoming event. Fix error in removing entry.
ebeabff4 2680 (top): Register for signals with wildcard service name.
a41a6cf4 2681 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2682
c1ca42b4
CY
26832012-03-04 Chong Yidong <cyd@gnu.org>
2684
dc9924b8 2685 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2686
ea16568d
GM
26872012-03-04 Glenn Morris <rgm@gnu.org>
2688
2689 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2690 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2691 (expand-abbrev, define-abbrev-table): Doc fixes.
2692
fbae4637
LMI
26932012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2694
2695 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2696 `message-default-send-mail-function' and not `send-mail-function'
2697 when doing the prompting for `sendmail-query-once' before sending
2698 in Message buffers (bug#10897).
2699
a1e7225c
LMI
2700 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2701 This is inconsistent with all the other stream functions, which leave
2702 the setting up to the higher levels (if so wanted) (bug#10931).
2703
56d093a9
AM
27042012-03-02 Alan Mackenzie <acm@muc.de>
2705
2706 Depessimize the handling of very large macros.
2707
2708 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2709 (c-macro-cache-syntactic): New variables to implement a one
2710 element macro cache.
2711 (c-invalidate-macro-cache): New function.
2712 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2713 Adapt to use the new cache.
2714 (c-state-safe-place): Use better the cache of safe positions.
2715 (c-state-semi-nonlit-pos-cache)
2716 (c-state-semi-nonlit-pos-cache-limit):
2717 New variables for...
2718 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2719 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2720 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2721 Use c-state-semi-safe-place.
56d093a9 2722
dbbc2e69
SM
2723 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2724 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2725
817e5c3d
MA
27262012-03-02 Michael Albinus <michael.albinus@gmx.de>
2727
dbbc2e69
SM
2728 * jka-compr.el (jka-compr-call-process):
2729 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2730 not remote.
2731
a032a702
MA
27322012-03-01 Michael Albinus <michael.albinus@gmx.de>
2733
2734 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2735 access of FILE2, if FILE1 does not exist.
2736
99a54f21
MA
2737 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2738 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2739
2740 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2741 Add "PAGER=" to `process-environment'.
2742
f6561e1f
MM
27432012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2744
2745 * progmodes/sql.el: Bug fix
2746 (sql-get-login-ext): Save login values in globals.
2747 (sql-get-login): Use new version of `sql-get-login-ext'.
2748 (sql-interactive-mode): Set global `sql-connection' to nil.
2749 (sql-connect): Set global values for connection.
2750 (sql-product-interactive): Save global values as buffer local.
2751
2d44d9cc
LL
27522012-02-29 Leo Liu <sdl.web@gmail.com>
2753
2754 * abbrev.el (define-abbrevs): Reset sys to nil.
2755
96b49301 27562012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2757
bf7f9bc5
JB
2758 * files.el (file-equal-p): Rename from `files-equal-p'.
2759 Return nil when one or both files don't exist.
96b49301 2760 (file-subdir-of-p): Now only top directory must exists,
2761 return nil if it doesn't.
bf7f9bc5
JB
2762 (copy-directory): No need to test with `file-subdir-of-p' after
2763 creating dir.
2764 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2765 to `file-equal-p'.
96b49301 2766
44e97401
GM
27672012-02-28 Glenn Morris <rgm@gnu.org>
2768
2769 * shell.el (shell-mode):
2770 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2771 * play/landmark.el (landmark-font-lock-face-O):
2772 * play/handwrite.el (handwrite):
2773 * play/gomoku.el (gomoku-O):
2774 * net/browse-url.el (browse-url-browser-display):
2775 * international/mule.el (define-charset):
2776 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2777 * filesets.el (filesets-find-file-delay):
2778 * eshell/em-xtra.el (eshell-xtra):
2779 * eshell/em-unix.el (eshell-grep):
2780 * emulation/viper.el (viper-mode):
2781 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2782 * emacs-lisp/easymenu.el (easy-menu-define):
2783 * calendar/timeclock.el (timeclock-use-display-time):
2784 * bs.el (bs-mode):
2785 * bookmark.el (bookmark-save-flag):
2786 Doc fix (standardize possessive apostrophe usage).
2787
c98c6276
CY
27882012-02-27 Chong Yidong <cyd@gnu.org>
2789
bf7f9bc5
JB
2790 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2791 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2792
c98c6276
CY
2793 * font-lock.el (font-lock-specified-p): Rename from
2794 font-lock-spec-present. Callers changed.
2795
9c62cd04 27962012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2797
bf7f9bc5
JB
2798 * emacs-lisp/package.el (package-compute-transaction):
2799 Handle holding a package version to t in package-load-list.
8ac9e529 2800
530739c9
MA
28012012-02-26 Michael Albinus <michael.albinus@gmx.de>
2802
2803 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2804 (tramp-get-inode, tramp-get-device): Use cached values.
2805
487915d7
AM
28062012-02-26 Alan Mackenzie <acm@muc.de>
2807
2808 Check there is a font-lock specification before doing initial
2809 fontification.
2810
2811 * font-core.el (font-lock-mode): Move the conditional from
2812 :after-hook to font-lock-initial-fontify.
2813 (font-lock-default-function): Move the check for a specification
2814 to font-lock-spec-present.
2815
dc9924b8 2816 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2817 (font-lock-spec-present): New function.
2818
4fd96557
JB
28192012-02-26 Jim Blandy <jimb@red-bean.com>
2820
2821 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2822 (gdb-send): Apply it to the operand of the '-interpreter-exec
2823 console' command, so that we can pass arguments with (say) quotes
2824 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2825
9a4888c0
CY
28262012-02-26 Chong Yidong <cyd@gnu.org>
2827
07498861
CY
2828 * help-fns.el (describe-function-1): Clarify description of
2829 remapping (Bug#10844).
2830
9a4888c0
CY
2831 * files.el (files-equal-p): Doc fix.
2832 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2833 and quit the loop once a mismatch is found.
2834
ea8fb88d
JB
28352012-02-25 Juanma Barranquero <lekktu@gmail.com>
2836
2837 * bs.el (bs--show-with-configuration): Don't throw an error
2838 if the window cannot be split; otherwise, subsequent calls to
2839 bs-show fail, restoring a stale window config. (Bug#10882)
2840
525795c1
JD
28412012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2842
2843 * term/ns-win.el (global-map): Bind ns-drag-file to
2844 ns-find-file (Bug#5855, Bug#10050).
2845
f008086f
AS
28462012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2847
2848 * calendar/parse-time.el (parse-time-string): Allow extractor to
2849 return nil.
2850
a3fcfa99
MA
28512012-02-25 Michael Albinus <michael.albinus@gmx.de>
2852
91027d08
JB
2853 * net/tramp.el (tramp-file-name-for-operation):
2854 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2855
2856 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2857 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2858 Add COPY-CONTENTS argument.
a3fcfa99 2859
67b0de11
CY
28602012-02-25 Chong Yidong <cyd@gnu.org>
2861
2862 Add custom groups for VC backends, for consistency with vc-bzr.
2863
2864 * vc/vc-arch.el (vc-arch):
2865 * vc/vc-cvs.el (vc-cvs):
2866 * vc/vc-git.el (vc-git):
2867 * vc/vc-hg.el (vc-hg):
2868 * vc/vc-mtn.el (vc-mtn):
2869 * vc/vc-rcs.el (vc-rcs):
2870 * vc/vc-sccs.el (vc-sccs):
2871 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2872 All relevant defcustoms reassigned.
2873
3c9dfce6
CY
28742012-02-25 Chong Yidong <cyd@gnu.org>
2875
1339bf43
CY
2876 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2877
3c9dfce6
CY
2878 * term/x-win.el (x-initialize-window-system): Reduce default for
2879 x-selection-timeout to 5 seconds (Bug#8869).
2880
25b2e303 28812012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2882
ec70a47d
GM
2883 * files.el (files-equal-p, file-subdir-of-p): New functions.
2884 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2885 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2886 * dired-aux.el (dired-copy-file-recursive): Same.
2887 (dired-create-files): Modify destination when source is equal to
2888 dest when copying files.
53a46cd0 2889 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2890
914260cd
MA
28912012-02-24 Michael Albinus <michael.albinus@gmx.de>
2892
2893 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2894 (Bug#10874)
2895
2cb228f7
AM
28962012-02-23 Alan Mackenzie <acm@muc.de>
2897
2898 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2899 parameter "after-hook:" to allow the expansion to run code after
2900 the execution of the mode hooks.
2901
2902 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2903 from font-lock-mode-internal.
2cb228f7 2904
91027d08 2905 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2906 :after-hook.
2907
8f0fde21
SM
29082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2909
3e88618b
SM
2910 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2911 (completion--cache-all-sorted-completions): New function.
2912 (completion-all-sorted-completions): Use it.
2913 (completion--do-completion, minibuffer-force-complete):
2914 Use it to re-instate the flush hook.
2915
8f0fde21
SM
2916 * icomplete.el (icomplete-completions): Replace last fix with a better
2917 one (bug#10850).
2918
8e911f6f
DG
29192012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2920
2921 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2922 when it might call us back infinitely (bug#10797).
2923
49fe4321
GM
29242012-02-23 Glenn Morris <rgm@gnu.org>
2925
2926 * minibuffer.el (completion-category-overrides): Doc fix.
2927
b291b572
SM
29282012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2929
2930 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2931 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2932
31a9ef2e
GM
29332012-02-23 Glenn Morris <rgm@gnu.org>
2934
5e6e6794 2935 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2936 (authors-obsolete-files-regexps, authors-ignored-files)
2937 (authors-ambiguous-files, authors-renamed-files-alist):
2938 Add more entries.
2939
0bd1e074
JL
29402012-02-23 Juri Linkov <juri@jurta.org>
2941
2942 * isearch.el (isearch-occur): Sync interactive spec with occur's
2943 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2944
b617673c
JL
2945 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2946
19e9789e
JL
29472012-02-22 Juri Linkov <juri@jurta.org>
2948
2949 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2950 (ucs-insert): Doc fix. Check for hex digits in the string.
2951 Don't display `nil' in the error message. (Bug#10857)
2952
f41ce09d
AM
29532012-02-22 Alan Mackenzie <acm@muc.de>
2954
7a71b18d 2955 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2956
ac2eceee
GM
29572012-02-22 Glenn Morris <rgm@gnu.org>
2958
2959 * ffap.el (ffap-c-path):
2960 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2961
abd1f678
CY
29622012-02-22 Chong Yidong <cyd@gnu.org>
2963
2964 * custom.el (load-theme): Doc fix.
2965
f25aef2e
GM
29662012-02-22 Glenn Morris <rgm@gnu.org>
2967
2968 * dired-x.el (dired-guess-shell-alist-default):
2969 Remove escape sequences from nroff output. (Bug#172)
2970
5f8dc2ca
GM
29712012-02-21 Glenn Morris <rgm@gnu.org>
2972
6ff86ec4
GM
2973 * vc/emerge.el (emerge-defvar-local):
2974 Set `permanent-local' property rather than unused `preserved'.
2975
be3223a3 2976 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2977 (picture-mode-map): Use it. (Bug#10860)
2978 (picture-mode): Doc fix.
2979
3fe58f4f
JB
29802012-02-21 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * newcomment.el (uncomment-region-default): Remove unused binding.
2983
f9a998c3
GM
29842012-02-21 Glenn Morris <rgm@gnu.org>
2985
2986 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2987 (picture-self-insert, picture-tab-chars): Doc fix.
2988 (picture-mode-map): Fix C-a, C-e.
2989
c6029348
GM
29902012-02-20 Glenn Morris <rgm@gnu.org>
2991
2992 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2993
ab1ce9d7
LL
29942012-02-20 Leo Liu <sdl.web@gmail.com>
2995
2996 * icomplete.el (icomplete-completions): Check FROM arg before
2997 passing to substring (Bug#10850).
2998
0fd40f89
CY
29992012-02-19 Chong Yidong <cyd@gnu.org>
3000
3001 * comint.el: Require ansi-color.
3002 (comint-output-filter-functions): Add ansi-color-process-output.
3003
3004 * ansi-color.el: Don't set comint-output-filter-functions; it is
3005 now in the initial value defined in comint.el.
3006 (ansi-color-apply-face-function): New variable.
3007 (ansi-color-apply-on-region): Use it.
3008 (ansi-color-apply-overlay-face): New function.
3009
3010 * shell.el (shell): No need to require ansi-color.
3011 (shell-mode): Use ansi-color-apply-face-function to highlight
3012 color escapes using font-lock-face property (Bug#10835).
3013
20af2394
CY
30142012-02-19 Chong Yidong <cyd@gnu.org>
3015
3016 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3017 mode-line formats (Bug#10839).
3018
e23a3fbe
GM
30192012-02-18 Glenn Morris <rgm@gnu.org>
3020
b474519e
GM
3021 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3022
3023 * mail/undigest.el (unforward-rmail-message): Doc fix.
3024
e23a3fbe
GM
3025 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3026
57939ff4
EZ
30272012-02-18 Eli Zaretskii <eliz@gnu.org>
3028
3029 * international/characters.el (script-list): Sync with the latest
3030 Unicode Character Database.
3031
0c23686e
AS
30322012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3033
3034 * international/titdic-cnv.el: Remove duplicate coding tag.
3035 * language/cham.el: Likewise.
3036 * language/tai-viet.el: Likewise.
3037
6818b449
GM
30382012-02-18 Glenn Morris <rgm@gnu.org>
3039
3040 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3041 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3042 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3043 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3044 * calendar/holidays.el (holiday-bahai-holidays)
3045 (calendar-holidays, list-holidays):
3046 Use utf-8 Bahá'í in doc-strings, menus, etc.
3047
0311a3fc
TH
30482012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3049
3050 * saveplace.el (save-place-ignore-files-regexp): New variable
3051 allowing for excluding files from saving their location of point.
3052 The default value matches the temporary commit message editing
3053 files from Git, SVN, Bazaar, and Mercurial.
3054 (save-place-to-alist): Use it.
3055
eb864a71
LM
30562012-02-17 Lawrence Mitchell <wence@gmx.li>
3057 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * newcomment.el (uncomment-region-default): Don't leave extra space
3060 when an arg is provided (bug#8150).
3061
ee0ce425
TZ
30622012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3063
eb864a71 3064 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3065
95ddf442
GM
30662012-02-17 Glenn Morris <rgm@gnu.org>
3067
3068 * net/socks.el: Require network-stream. (Bug#10599)
3069
48dd1e39 30702012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3071
3072 * international/charprop.el:
3073 * international/uni-name.el:
3074 * international/uni-old-name.el:
3075 * international/uni-comment.el: Regenerate.
3076
d68cd087
GM
30772012-02-16 Glenn Morris <rgm@gnu.org>
3078
3079 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3080 Interactively in calendar buffer, give an error if not on a date.
3081
13932042
GM
30822012-02-15 Glenn Morris <rgm@gnu.org>
3083
3084 * shell.el (shell-delimiter-argument-list):
3085 Revert 2011-02-17 change. (Bug#8027)
3086
c3a70e2b
CY
30872012-02-15 Chong Yidong <cyd@gnu.org>
3088
60236b0d
CY
3089 * minibuffer.el (completion-at-point-functions): Doc fix.
3090
c3a70e2b
CY
3091 * custom.el (defcustom): Doc fix; note use of defvar.
3092
9f26dc24
GM
30932012-02-15 Glenn Morris <rgm@gnu.org>
3094
3095 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3096 Doc fixes.
3097
6546b134
GM
30982012-02-14 Glenn Morris <rgm@gnu.org>
3099
3100 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3101
d29b2b4c
LI
31022012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3103
3104 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3105 way the ports list is computed.
835bdcba
LI
3106 (smtpmail-query-smtp-server): Prompt the user for a port number if
3107 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3108
08dcdbc9
TZ
31092012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3110
3111 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3112
2605051a
GM
31132012-02-13 Glenn Morris <rgm@gnu.org>
3114
3115 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3116
7ee99f32
TZ
31172012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3118
3119 * net/gnutls.el (gnutls-trustfiles): New variable.
3120 (gnutls-negotiate): Use it.
3121
5f0af64f
LI
31222012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3123
3124 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3125 does its stuff if Gnus is running.
3126
c14fcc95
AM
31272012-02-13 Alan Mackenzie <acm@muc.de>
3128
3129 Fix a loop in c-set-fl-decl-start.
3130
7a71b18d 3131 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3132 c-backward-syntactic-ws actually moves backwards.
3133
142b4d90
LL
31342012-02-13 Leo Liu <sdl.web@gmail.com>
3135
3136 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3137 beginning so that all \C-o chars are removed.
3138
fa9958a6
TZ
31392012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3140
dc9924b8 3141 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3142
0bc5886a
AM
31432012-02-12 Alan Mackenzie <acm@muc.de>
3144
3145 Fix infinite loop with long macros.
4d6769e1 3146 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3147
d4bd55e7
CY
31482012-02-12 Chong Yidong <cyd@gnu.org>
3149
3150 * window.el (display-buffer): Doc fix (Bug#10785).
3151
66f3fe22
GM
31522012-02-12 Glenn Morris <rgm@gnu.org>
3153
bd7da63e
GM
3154 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3155 (x-disown-selection-internal, x-get-selection-internal):
3156 Sync docs with the xselect.c versions.
3157
66f3fe22
GM
3158 * allout-widgets.el: Add missing license notice.
3159
3e0d2fa7
GM
31602012-02-11 Glenn Morris <rgm@gnu.org>
3161
cfecdf09
GM
3162 * select.el (x-get-selection-internal, x-own-selection-internal)
3163 (x-disown-selection-internal):
3164 * x-dnd.el (x-get-selection-internal): Update declarations.
3165
6d216d7f
GM
3166 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3167
2bed3f04
GM
3168 * window.el (window-sides-slots):
3169 * tool-bar.el (tool-bar-position):
3170 * term/xterm.el (xterm-extra-capabilities):
3171 * ses.el (ses-self-reference-early-detection):
3172 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3173 (verilog-auto-wire-type)
3174 (verilog-auto-delete-trailing-whitespace)
3175 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3176 (verilog-auto-tieoff-declaration):
3177 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3178 (sql-oracle-statement-starters, sql-oracle-scan-on):
3179 * progmodes/prolog.el (prolog-align-comments-flag)
3180 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3181 (prolog-left-indent-regexp, prolog-paren-indent-p)
3182 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3183 (prolog-types, prolog-mode-specificators)
3184 (prolog-determinism-specificators, prolog-directives)
3185 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3186 (prolog-electric-dot-flag)
3187 (prolog-electric-dot-full-predicate-template)
3188 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3189 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3190 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3191 (prolog-program-switches, prolog-prompt-regexp)
3192 (prolog-debug-on-string, prolog-debug-off-string)
3193 (prolog-trace-on-string, prolog-trace-off-string)
3194 (prolog-zip-on-string, prolog-zip-off-string)
3195 (prolog-use-standard-consult-compile-method-flag)
3196 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3197 (prolog-imenu-max-lines, prolog-info-predicate-index)
3198 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3199 (prolog-char-quote-workaround):
3200 * progmodes/cc-vars.el (c-defun-tactic):
3201 * net/tramp.el (tramp-encoding-command-interactive)
3202 (tramp-local-end-of-line):
3203 * net/soap-client.el (soap-client):
3204 * net/netrc.el (netrc-file):
3205 * net/gnutls.el (gnutls):
3206 * minibuffer.el (completion-category-overrides)
3207 (completion-cycle-threshold)
3208 (completion-pcm-complete-word-inserts-delimiters):
3209 * man.el (Man-name-local-regexp):
3210 * mail/feedmail.el (feedmail-display-full-frame):
3211 * international/characters.el (glyphless-char-display-control):
3212 * eshell/em-ls.el (eshell-ls-date-format):
3213 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3214 (lisp-lambda-list-keyword-parameter-indentation)
3215 (lisp-lambda-list-keyword-parameter-alignment):
3216 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3217 * dired-x.el (dired-omit-verbose):
3218 * cus-theme.el (custom-theme-allow-multiple-selections):
3219 * calc/calc.el (calc-highlight-selections-with-faces)
3220 (calc-lu-field-reference, calc-lu-power-reference)
3221 (calc-note-threshold):
3222 * battery.el (battery-mode-line-limit):
3223 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3224 (archive-7z-update):
3225 * allout.el (allout-prefixed-keybindings)
3226 (allout-unprefixed-keybindings)
3227 (allout-inhibit-auto-fill-on-headline)
3228 (allout-flattened-numbering-abbreviation):
3229 * allout-widgets.el (allout-widgets-auto-activation)
3230 (allout-widgets-icons-dark-subdir)
3231 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3232 (allout-widgets-theme-dark-background)
3233 (allout-widgets-theme-light-background)
3234 (allout-widgets-item-image-properties-emacs)
3235 (allout-widgets-item-image-properties-xemacs)
3236 (allout-widgets-run-unit-tests-on-load)
3237 (allout-widgets-time-decoration-activity)
3238 (allout-widgets-hook-error-post-time)
3239 (allout-widgets-track-decoration):
3240 Add missing :version tags to new defcustoms and defgroups.
3241
5fec1b8e
GM
3242 * progmodes/sql.el (sql-ansi-statement-starters)
3243 (sql-oracle-statement-starters): Add custom type.
3244
3e0d2fa7
GM
3245 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3246 (prolog-system-version): Give it a type.
3247
90b671e2
EZ
32482012-02-11 Eli Zaretskii <eliz@gnu.org>
3249
3250 * term/pc-win.el (x-select-text, x-selection-owner-p)
3251 (x-own-selection-internal, x-disown-selection-internal)
3252 (x-get-selection-internal): Sync doc strings and argument lists
3253 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3254
5eac0c02
LL
32552012-02-11 Leo Liu <sdl.web@gmail.com>
3256
3257 * progmodes/python.el (python-end-of-statement): Fix infinite
3258 loop. (Bug#10788)
3259
f82cb659
GM
32602012-02-10 Glenn Morris <rgm@gnu.org>
3261
3262 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3263 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3264
cc26d239
LI
32652012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3266
3267 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3268 about SMTP before checking the From header.
3269
91027d08 3270 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3271 into own function for reuse by emacsbug.el.
3272
1be3ca5a
LL
32732012-02-10 Leo Liu <sdl.web@gmail.com>
3274
3275 * subr.el (condition-case-unless-debug): Rename from
3276 condition-case-no-debug. All callers changed.
3277 (with-demoted-errors): Fix caller.
3278
3279 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3280 * nxml/rng-valid.el (rng-do-some-validation):
3281 * emacs-lisp/package.el (package-refresh-contents)
3282 (package-menu-execute):
3283 * desktop.el (desktop-create-buffer):
91027d08 3284 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3285
b011fbfe
GM
32862012-02-10 Glenn Morris <rgm@gnu.org>
3287
b2096d72
GM
3288 * textmodes/bibtex.el:
3289 Add missing :version tags for new/changed defcustoms.
3290
b011fbfe
GM
3291 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3292
4c7e65bf
LI
32932012-02-09 Lars Ingebrigtsen <larsi@rusty>
3294
3295 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3296 (smtpmail-via-smtp): Use it, or fall back on the From address.
3297 (smtpmail-send-it): Ditto.
3298
f3934f6f
SM
32992012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3302 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3303 (byte-compile-tmp-var): New const.
3304 (byte-compile-defvar): Use it to minimize .elc size.
3305 Just use `defvar' rather than simulate it (bug#10761).
3306
a075a2c5
GM
33072012-02-09 Glenn Morris <rgm@gnu.org>
3308
cf3aa21b
GM
3309 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3310
354998cd
GM
3311 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3312 Add :version tags.
3313
dc9924b8
SM
3314 * progmodes/compile.el (compilation-error-screen-columns)
3315 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3316
dab3703d
GM
3317 * vc/log-view.el (log-view-toggle-entry-display):
3318 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3319
3f88cd72
GM
3320 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3321 (report-emacs-bug-can-use-xdg-email):
3322 (report-emacs-bug-insert-to-mailer): Doc fixes.
3323 (report-emacs-bug): Message fix.
3324
d95b247d
GM
3325 * net/browse-url.el (browse-url-can-use-xdg-open)
3326 (browse-url-xdg-open): Doc fixes.
3327
a075a2c5
GM
3328 * electric.el (electric-indent-mode, electric-pair-mode)
3329 (electric-layout-rules, electric-layout-mode): Doc fixes.
3330 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3331
ffb6157e
MR
33322012-02-08 Martin Rudalics <rudalics@gmx.at>
3333
3334 * server.el (server-unselect-display): Don't inadvertently kill
3335 the current buffer. (Bug#10729)
3336
e1ac4066
GM
33372012-02-08 Glenn Morris <rgm@gnu.org>
3338
34e8a2da
GM
3339 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3340 (sql-list-table): Doc fixes.
3341
b4ac6e8c
GM
3342 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3343 Comment out (does nothing).
3344
e1ac4066
GM
3345 * completion.el (dynamic-completion-mode):
3346 * dirtrack.el (dirtrack-debug-mode):
3347 * electric.el (electric-layout-mode):
3348 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3349 * face-remap.el (text-scale-mode, buffer-face-mode):
3350 * iimage.el (iimage-mode):
3351 * image-mode.el (image-transform-mode):
3352 * minibuffer.el (completion-in-region-mode):
3353 * scroll-lock.el (scroll-lock-mode):
3354 * simple.el (next-error-follow-minor-mode):
3355 * tar-mode.el (tar-subfile-mode):
3356 * tooltip.el (tooltip-mode):
3357 * vcursor.el (vcursor-use-vcursor-map):
3358 * wid-browse.el (widget-minor-mode):
3359 * emulation/tpu-edt.el (tpu-edt-mode):
3360 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3361 * international/iso-ascii.el (iso-ascii-mode):
3362 * language/thai-util.el (thai-word-mode):
3363 * mail/supercite.el (sc-minor-mode):
3364 * net/goto-addr.el (goto-address-mode):
3365 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3366 * progmodes/cwarn.el (cwarn-mode):
3367 * progmodes/flymake.el (flymake-mode):
3368 * progmodes/glasses.el (glasses-mode):
3369 * progmodes/hideshow.el (hs-minor-mode):
3370 * progmodes/pascal.el (pascal-outline-mode):
3371 * textmodes/enriched.el (enriched-mode):
3372 * vc/smerge-mode.el (smerge-mode):
3373 Doc fixes (minor mode argument).
3374
5e0d957f
EZ
33752012-02-07 Eli Zaretskii <eliz@gnu.org>
3376
3377 * ls-lisp.el (ls-lisp-sanitize): New function.
3378 (ls-lisp-insert-directory): Use it to fix or remove any elements
3379 in file-alist with missing attributes. (Bug#4673)
3380
98d7371e
AM
33812012-02-07 Alan Mackenzie <acm@muc.de>
3382
3383 Fix spurious recognition of c-in-knr-argdecl.
3384
3385 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3386 putative K&R region.
3387
667ced3a
AM
33882012-02-07 Alan Mackenzie <acm@muc.de>
3389
eb864a71
LM
3390 * progmodes/cc-engine.el (c-forward-objc-directive):
3391 Prevent looping in "#pragma mark @implementation".
667ced3a 3392
5b77774d
MA
33932012-02-07 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * notifications.el (notifications-on-closed-signal): Make `reason'
3396 optional. (Bug#10744)
3397
af008560
GM
33982012-02-07 Glenn Morris <rgm@gnu.org>
3399
60d47423
GM
3400 * emacs-lisp/easy-mmode.el (define-minor-mode):
3401 Doc fixes for the macro and the mode it defines.
3402
dd605cc4
GM
3403 * image.el (imagemagick-types-inhibit): Doc fix.
3404
af008560
GM
3405 * cus-start.el (imagemagick-render-type): Add it.
3406
5cc59a37
LI
34072012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3408
4d6769e1
JB
3409 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3410 Set the default at load time, too, so that `font-lock-fontify-buffer'
3411 can be called without setting up the entire mode first. This fixes
3412 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3413
9a6dd747
CY
34142012-02-06 Chong Yidong <cyd@gnu.org>
3415
2d16b285
CY
3416 * simple.el (list-processes--refresh): Delete exited processes
3417 (Bug#8094).
3418
171e9b6e
CY
3419 * comint.el (comint-next-prompt): next-single-char-property-change
3420 and prev-single-char-property-change never return nil (Bug#8657).
3421
9a6dd747
CY
3422 * custom.el (defcustom): Doc fix (Bug#9711).
3423
aa4589a7
CY
34242012-02-05 Chong Yidong <cyd@gnu.org>
3425
5c2a252f
CY
3426 * cus-edit.el (custom-variable-reset-backup): Quote the value
3427 before storing it in the customized-value property (Bug#6712).
4aab9006 3428 (custom-display): Add a customization type tag.
983b9602 3429 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3430
aa4589a7
CY
3431 * wid-edit.el (widget-field-value-get): New optional arg to
3432 suppress trailing whitespace truncation.
3433 (character): Use it (Bug#2689).
3434
1ff980ae
AS
34352012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3438 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3439
03988c98
CY
34402012-02-05 Chong Yidong <cyd@gnu.org>
3441
eeb6cc88
CY
3442 * cus-edit.el (custom-variable-value-create): For mismatched
3443 types, show the current value (Bug#7600).
3444
03988c98
CY
3445 * custom.el (defcustom): Doc fix.
3446
f8cdeef0
GM
34472012-02-05 Glenn Morris <rgm@gnu.org>
3448
3449 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3450
0696d255
JB
34512012-02-05 Juanma Barranquero <lekktu@gmail.com>
3452
3453 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3454 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3455 (pp-last-sexp): Use `looking-at-p'.
3456
34c99998
GM
34572012-02-04 Glenn Morris <rgm@gnu.org>
3458
8f05da42
GM
3459 * files.el (revert-buffer):
3460 Doc fix (mention revert-buffer-in-progress-p).
3461
f160676e
GM
3462 * emacs-lisp/ert-x.el (ert-simulate-command):
3463 Check deferred-action-list (which is obsolete) is bound.
3464
c7291ad9
GM
3465 * subr.el (with-wrapper-hook): Doc fixes.
3466
34c99998
GM
3467 * simple.el (filter-buffer-substring-functions)
3468 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3469
6283a7d3
LL
34702012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3471
3472 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3473 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3474
e96e3013
LL
34752012-02-04 Leo Liu <sdl.web@gmail.com>
3476
3477 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3478
8ded50f2
GM
34792012-02-04 Glenn Morris <rgm@gnu.org>
3480
82ff1d13
GM
3481 * image.el (image-extension-data): Add obsolete alias.
3482
987a0a16
GM
3483 * isearch.el (isearch-update): Doc fix.
3484
ea32ef46
GM
3485 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3486
8ded50f2
GM
3487 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3488
eea14f31
GM
34892012-02-03 Glenn Morris <rgm@gnu.org>
3490
3491 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3492 (image-animate-timeout): Doc fix.
3493
3494 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3495
12f381b7
GM
34962012-02-02 Glenn Morris <rgm@gnu.org>
3497
953cebf5
GM
3498 * server.el (server-auth-dir): Doc fix.
3499 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3500
12f381b7
GM
3501 * subr.el (run-mode-hooks): Doc fix.
3502
953a8c3b
JL
35032012-02-02 Juri Linkov <juri@jurta.org>
3504
3505 * image-mode.el (image-toggle-display-image): Remove tautological
3506 `major-mode' from the `derived-mode-p' test.
3507
c5d3843c
KH
35082012-02-02 Kenichi Handa <handa@m17n.org>
3509
9f6e692e 3510 * composite.el (compose-region): Cancel previous change.
c5d3843c 3511
159462d4 35122012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3513
3514 * composite.el (compose-region, compose-string): Signal error for
3515 a null string component (Bug#6988).
3516
9f562668
CY
35172012-02-01 Chong Yidong <cyd@gnu.org>
3518
e2cef717
CY
3519 * view.el (view-buffer-other-window, view-buffer-other-frame):
3520 Handle special modes like view-buffer (Bug#10650).
3521 (view-buffer): Simplify.
3522
9f562668
CY
3523 * frame.el (set-frame-font): Tweak meaning of third argument.
3524
9f6e692e
JB
3525 * dynamic-setting.el (font-setting-change-default-font):
3526 Use set-frame-font (Bug#9982).
9f562668 3527
781acb9f
GM
35282012-02-01 Glenn Morris <rgm@gnu.org>
3529
6035be52
GM
3530 * progmodes/compile.el (compilation-internal-error-properties):
3531 Respect compilation-first-column in the "*compilation*" buffer.
3532
781acb9f
GM
3533 * emacs-lisp/easy-mmode.el (define-minor-mode):
3534 Relax :variable's test for a named function.
3535
abbceb00
AM
35362012-01-31 Alan Mackenzie <acm@muc.de>
3537
3538 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3539 off by one error.
3540
fce3fdeb
CY
35412012-01-31 Chong Yidong <cyd@gnu.org>
3542
3543 * frame.el (set-frame-font): New arg ALL-FRAMES.
3544
3545 * menu-bar.el (menu-set-font): Use set-frame-font.
3546
3547 * faces.el (face-spec-reset-face): Don't apply unspecified
3548 attribute values to the default face.
3549
47893581
JB
35502012-01-31 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * progmodes/cwarn.el (cwarn): Remove dead link.
3553 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3554 Remove * from defcustom docstrings.
3555 (turn-on-cwarn-mode): Make obsolete.
3556 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3557 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3558
e58e988a
GM
35592012-01-31 Glenn Morris <rgm@gnu.org>
3560
60dc2671 3561 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3562 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3563 Allow named functions to be used as the cdr of :variable.
e58e988a 3564
7a3f511d
GM
35652012-01-30 Glenn Morris <rgm@gnu.org>
3566
3567 * emacs-lisp/authors.el (authors-fixed-entries):
3568 Remove reference to deleted file rnewspost.el.
3569
cb882333
JB
35702012-01-29 Juanma Barranquero <lekktu@gmail.com>
3571
3572 * window.el (window-with-parameter): Remove unused variable `windows'.
3573 (window--side-check): Remove unused variable `code'.
3574 (window--resize-siblings): Remove unused variable `first'.
3575 (adjust-window-trailing-edge): Remove unused variable `failed'.
3576 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3577 Use `let', not `let*'.
3578 (balance-windows-2): Remove unused variable `found'.
3579 (window--state-put-2): Remove unused variable `splits'.
3580 (window-state-put): Remove unused variable `selected'.
3581 (same-window-p): Use `string-match-p'.
3582 (display-buffer-assq-regexp): Remove unused variable `value'.
3583 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3584 Mark argument ALIST as ignored.
3585 (pop-to-buffer): Remove unused variable `old-window'.
3586
907201af
EZ
35872012-01-29 Eli Zaretskii <eliz@gnu.org>
3588
3589 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3590 and .lzma compressed files.
3591
ea162670
CY
35922012-01-29 Chong Yidong <cyd@gnu.org>
3593
5b95ee8a
CY
3594 * frame.el (window-system-default-frame-alist): Doc fix.
3595
ea162670
CY
3596 * dynamic-setting.el (font-setting-change-default-font): Don't
3597 change the default face if SET-FONT argument is non-nil (Bug#9982).
3598
d6e6f4b1
SB
35992012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3600
3601 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3602
0f29fa41 36032012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3604
3605 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3606 breakpoints in files outside current directory (Bug#6098).
3607
db174434
CY
36082012-01-29 Chong Yidong <cyd@gnu.org>
3609
6b25e4e2
SE
3610 * progmodes/python.el: Require ansi-color at top-level.
3611
6df6ae42
JB
3612 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3613 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3614 (lisp-mode-abbrev-table): Add doc.
3615 (lisp-mode-variables): Don't set local-abbrev-table.
3616 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3617
e70ee681
RW
36182012-01-28 Roland Winkler <winkler@gnu.org>
3619
3620 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3621
ace88aa2
RW
36222012-01-28 Roland Winkler <winkler@gnu.org>
3623
3624 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3625 (bibtex-set-dialect): Use it. Either set global values of
3626 dialect-dependent variables or bind these variables buffer-locally
3627 (Bug#10254).
3628 (bibtex-mode): Call bibtex-set-dialect via
3629 hack-local-variables-hook.
eb864a71
LM
3630 (bibtex-dialect): Update docstring.
3631 Add safe-local-variable predicate.
ace88aa2
RW
3632 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3633 bibtex-set-dialect.
3634 (bibtex-mode-map): Define menu for each dialect.
3635 (bibtex-entry): Fix docstring.
3636
93376c5b
CY
36372012-01-28 Chong Yidong <cyd@gnu.org>
3638
3639 * eshell/esh-arg.el (eshell-quote-argument): New function.
3640
3641 * eshell/esh-ext.el (eshell-invoke-batch-file):
3642 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3643 first arg to eshell-parse-command (Bug#10523).
3644
4372494f
DA
36452012-01-28 Drew Adams <drew.adams@oracle.com>
3646
3647 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3648 `default-directory' is non-nil.
3649
4d4ec1f8
EZ
36502012-01-28 Eli Zaretskii <eliz@gnu.org>
3651
3652 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3653 line that displays system-configuration-options. (Bug#9924)
3654
7c188927
DA
36552012-01-28 Drew Adams <drew.adams@oracle.com>
3656
3657 * descr-text.el (describe-char): Show information about POS, in
3658 addition to information about the character at POS. Improve and
3659 update the doc string. Change "code point" to "code point in
3660 charset", to avoid confusion with the character's Unicode code
3661 point shown above that. (Bug#10129)
3662
e0da685a
EZ
36632012-01-28 Eli Zaretskii <eliz@gnu.org>
3664
3665 * descr-text.el (describe-char): Show the raw character, not only
3666 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3667 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3668 for the reasons.
3669
70550acf
PH
36702012-01-28 Phil Hagelberg <phil@hagelb.org>
3671
eb864a71
LM
3672 * emacs-lisp/package.el (package-install):
3673 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3674
0ce8e868
CY
36752012-01-28 Chong Yidong <cyd@gnu.org>
3676
cb882333
JB
3677 * emacs-lisp/package.el (package-maybe-load-descriptor):
3678 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3679 (package-maybe-load-descriptor): Use it.
3680 (package-download-transaction): Fully load required packages
3681 inside the loop, so that `require' calls work (Bug#10593).
3682 (package-install): No need to call package-initialize now.
3683
2e7f3bea
CY
36842012-01-28 Chong Yidong <cyd@gnu.org>
3685
6e9bad14
CY
3686 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3687
f823b8ca
CY
3688 * tooltip.el (tooltip-mode): Doc fix.
3689 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3690
2680c309
CY
3691 * frame.el (set-cursor-color): Doc fix (Bug#352).
3692
d7a9e63b
CY
3693 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3694 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3695
2e7f3bea
CY
3696 * cus-edit.el (custom-buffer-create-internal): Fix search button
3697 action (Bug#10542).
2ae01800 3698 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3699
fc4f7a23
EW
37002012-01-27 Eduard Wiebe <usenet@pusto.de>
3701
3702 * dired.el (dired-mark-files-regexp):
3703 Include any subdirectory components. (Bug#10445)
3704
7dd37071
ML
37052012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3706
3707 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3708 Handle [host]:port syntax. (Bug#10533)
3709
a268160b
AH
37102012-01-27 Alex Harsanyi <harsanyi@mac.com>
3711
3712 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3713
e43273ef
GM
37142012-01-26 Glenn Morris <rgm@gnu.org>
3715
3716 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3717 * term.el (term-raw-escape-map): Use Control-X-prefix.
3718 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3719
1edf595d
MR
37202012-01-25 Martin Rudalics <rudalics@gmx.at>
3721
3722 * window.el (window-state-get, window--state-get-1): Don't deal
3723 with fixed-sizeness of windows. Simplify code.
3724
fa8eafef
JC
37252012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3726
6df6ae42
JB
3727 * window.el (window--state-get-1, window--state-put-2):
3728 Don't save and restore the mark.
fa8eafef 3729
0b21c100
CY
37302012-01-25 Chong Yidong <cyd@gnu.org>
3731
3732 * custom.el (custom-variable-p): Doc fix.
3733
5ae1a6c8
GM
37342012-01-25 Glenn Morris <rgm@gnu.org>
3735
40047858
GM
3736 * dired.el (dired-goto-file): Handle some of the more common
3737 characters that `ls -b' escapes. (Bug#10596)
3738
5ddce96c
GM
3739 * progmodes/compile.el (compilation-next-error-function):
3740 Respect compilation-first-column in the "*compilation*" buffer.
3741 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3742
5ae1a6c8
GM
3743 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3744
b559f1a9
GM
37452012-01-24 Glenn Morris <rgm@gnu.org>
3746
3747 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3748
6725d21a
JD
37492012-01-24 Julien Danjou <julien@danjou.info>
3750
3751 * color.el (color-rgb-to-hsl): Fix value computing.
3752 (color-hue-to-rgb): New function.
3753 (color-hsl-to-rgb): New function.
3754 (color-clamp, color-saturate-hsl, color-saturate-name)
3755 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3756 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3757
70df4bbe
GM
37582012-01-24 Glenn Morris <rgm@gnu.org>
3759
3760 * vc/vc-rcs.el (vc-rcs-create-tag):
3761 * vc/vc-sccs.el (vc-sccs-create-tag):
3762 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3763
802a2ae2
ML
37642012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3765
3766 * eshell/esh-util.el (eshell-read-hosts-file):
3767 Skip comment lines. (Bug#10549)
3768
d7128bb1
ML
3769 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3770
d1a5c3b4
JB
37712012-01-23 Juanma Barranquero <lekktu@gmail.com>
3772
2724d9c7
JB
3773 * subr.el (display-delayed-warnings): Doc fix.
3774 (collapse-delayed-warnings): New function to collapse identical
3775 adjacent warnings.
3776 (delayed-warnings-hook): Add it.
d1a5c3b4 3777
a5509865
MA
37782012-01-22 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3781
3782 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3783 properties, when "login-as" is set.
3784
3785 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3786 (tramp-default-user-alist): Don't add "pscp".
3787 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3788 property "login-as", if set. (Bug#10530)
3789
cc6d5805
MA
37902012-01-21 Michael Albinus <michael.albinus@gmx.de>
3791
3792 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3793 "plink1" and "psftp". (Bug#10530)
3794
37952012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3796
3797 * international/mule-cmds.el (prefer-coding-system): Show a
3798 warning message if the default value of file-name-coding-system
3799 was not changed.
3800
f0960428
JC
38012012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3802
cb882333
JB
3803 * windmove.el (windmove-reference-loc):
3804 Fix windmove-reference-loc miscalculation.
f0960428 3805
dd6f2a63
JB
38062012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3807
3808 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3809 default unit.
3810
7b447e9b
GM
38112012-01-21 Glenn Morris <rgm@gnu.org>
3812
117a9ea1
GM
3813 * international/mule.el (auto-coding-alist): Add .tbz.
3814
7b447e9b
GM
3815 * files.el (local-enable-local-variables): Doc fix.
3816 (inhibit-local-variables-regexps): Rename from
3817 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3818 Doc fix. Add some extensions from auto-coding-alist.
3819 (inhibit-local-variables-suffixes):
3820 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3821 (inhibit-local-variables-p):
3822 New function, extracted from set-auto-mode-1.
3823 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3824 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3825 (hack-local-variables): Doc fix. Make the mode-only case
3826 respect enable-local-variables and friends.
3827 Respect inhibit-local-variables-regexps for file-locals, but
3828 not for directory-locals.
3829 (set-visited-file-name):
3830 Take account of inhibit-local-variables-regexps.
3831 Whether it applies may change as the file name is changed.
3832 * jka-cmpr-hook.el (jka-compr-install):
3833 * jka-compr.el (jka-compr-uninstall):
3834 Update for inhibit-first-line-modes-suffixes name change.
3835
dd6e3cdd
MR
38362012-01-20 Martin Rudalics <rudalics@gmx.at>
3837
3838 * help-macro.el (make-help-screen): Temporarily restore original
3839 binding for minor-mode-map-alist (Bug#10454).
3840
0d0deb38
JD
38412012-01-19 Julien Danjou <julien@danjou.info>
3842
3843 * color.el (color-name-to-rgb): Use the white color to find the max
3844 color component value and return correctly computed values.
3845 (color-name-to-rgb): Add missing float conversion for max value.
3846
34a02f46
MR
38472012-01-19 Martin Rudalics <rudalics@gmx.at>
3848
3849 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3850 special state value for window-persistent-parameters.
3851 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3852 (window--state-put-2): Reset all window parameters to nil before
3853 assigning values of persistent parameters.
3854
606c44c4
AM
38552012-01-18 Alan Mackenzie <acm@muc.de>
3856
3857 Eliminate sluggishness and hangs in fontification of "semicolon
3858 deserts".
3859
cb882333
JB
3860 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3861 Change value 10000 -> 3000.
606c44c4
AM
3862 (c-state-safe-place): Reformulate so it doesn't stack up an
3863 infinite number of wrong entries in c-state-nonlit-pos-cache.
3864 (c-determine-limit-get-base, c-determine-limit): New functions to
3865 determine backward search limits disregarding literals.
3866 (c-find-decl-spots): Amend commenting.
3867 (c-cheap-inside-bracelist-p): New function which detects "={".
3868
3869 * progmodes/cc-fonts.el
3870 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3871 backward search.
3872 (c-font-lock-declarations): Fix an occurrence of point being
3873 undefined. Check additionally for point being in a bracelist or
3874 near a macro invocation without a semicolon so as to avoid a
3875 fruitless time consuming search for a declarator. Give a more
3876 precise search limit for declarators using the new
3877 c-determine-limit.
3878
f3860cea
GM
38792012-01-18 Glenn Morris <rgm@gnu.org>
3880
3881 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3882 (set-auto-mode): Doc fixes.
3883
1db03b16
GM
38842012-01-17 Glenn Morris <rgm@gnu.org>
3885
0e6038be
GM
3886 * isearch.el (search-nonincremental-instead): Fix doc typo.
3887
1db03b16
GM
3888 * dired.el (dired-insert-directory): Handle newlines in directory name.
3889 (dired-build-subdir-alist): Unescape newlines in directory name.
3890
4cb0aa75
MA
38912012-01-17 Michael Albinus <michael.albinus@gmx.de>
3892
3893 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3894 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3895 (tramp-action-terminal): Use it. (Bug#10530)
3896
1d00653d
SM
38972012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3900
6a6ee00d
MR
39012012-01-16 Martin Rudalics <rudalics@gmx.at>
3902
3903 * window.el (window-state-ignored-parameters): Remove variable.
3904 (window--state-get-1): Rename argument MARKERS to IGNORE.
3905 Handle persistent window parameters. Make copy of clone-of
3906 parameter only if requested. (Bug#10348)
3907 (window--state-put-2): Install a window parameter only if it has
3908 a non-nil value or an existing parameter shall be overwritten.
3909
97912def
MA
39102012-01-15 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3913
688070a5
EZ
39142012-01-14 Eli Zaretskii <eliz@gnu.org>
3915
3916 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3917 don't pass the (nil) value of `upnode' to string-match.
3918
301afadc
CY
39192012-01-14 Chong Yidong <cyd@gnu.org>
3920
3921 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3922 Fix values recognized by the cursorBlink resource.
301afadc 3923
9e5788aa
PE
39242012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3925
3926 * epg.el (epg--make-temp-file): Avoid permission race condition
3927 when running on old Emacs versions (bug#10403).
3928
3cdb7f5a
GM
39292012-01-14 Glenn Morris <rgm@gnu.org>
3930
3931 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3932
8c82b1b4
AM
39332012-01-13 Alan Mackenzie <acm@muc.de>
3934
3935 Fix filling for when filladapt mode is enabled.
3936
3937 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3938 c-mask-paragraph, pass in `fill-paragraph' rather than
3939 `fill-region-as-paragraph'. (This is a reversion of a previous
3940 change.)
eb864a71
LM
3941 * progmodes/cc-mode.el (c-basic-common-init):
3942 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3943
e517eda4
GM
39442012-01-13 Glenn Morris <rgm@gnu.org>
3945
1498536e
GM
3946 * dired.el (dired-switches-escape-p): New function.
3947 (dired-insert-directory): Use dired-switches-escape-p.
3948 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3949
e517eda4
GM
3950 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3951
328f984d
GM
39522012-01-12 Glenn Morris <rgm@gnu.org>
3953
3954 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3955 changes in adaptive-fill-regexp. (Bug#10276)
3956
2cc769a8
AM
39572012-01-11 Alan Mackenzie <acm@muc.de>
3958
3959 Fix Emacs bug #10463 - put `widen's around the critical spots.
3960
1d00653d 3961 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3962 widen around each invocation of c-state-pp-to-literal. Remove an
3963 unused let variable.
3964
e52c37fa
GM
39652012-01-11 Glenn Morris <rgm@gnu.org>
3966
3967 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3968 Doc fix.
e52c37fa 3969
96f8741e
CY
39702012-01-10 Chong Yidong <cyd@gnu.org>
3971
1d00653d
SM
3972 * net/network-stream.el (network-stream-open-starttls):
3973 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3974 response to the capability command.
3975
b09a806e
GM
39762012-01-10 Glenn Morris <rgm@gnu.org>
3977
3978 * mail/unrmail.el (unrmail): Tweak previous change.
3979
7655cb66
CY
39802012-01-09 Chong Yidong <cyd@gnu.org>
3981
3982 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3983
9d5a8f0b
AM
39842012-01-08 Alan Mackenzie <acm@muc.de>
3985
3986 Optimise font locking in long enum definitions.
3987
3988 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3989 arm to a cond form to handle enums.
3990 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3991 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3992
9a0115ab 39932012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3994
3995 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3996 (Bug#10401)
6bb72cbd 3997
f186bb95
LMI
39982012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3999
29232a68
LMI
4000 * faces.el (set-face-attribute): Clarify the meaning of the nil
4001 frame (bug#10294).
4002
4e5d086d
LMI
4003 * subr.el (with-selected-frame): Mention that the selected frame
4004 is restored (bug#9980).
4005
8e66aebe
LMI
4006 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4007 (bug#9759).
4008
cd394be1 4009 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4010 (password-read): Don't autoload unused function.
4011
adf4e762
JB
40122012-01-07 Juanma Barranquero <lekktu@gmail.com>
4013
4014 * progmodes/which-func.el (which-func-mode): Turn into a
4015 non-interactive function and mark as obsolete (bug#10428).
4016
89bd9ccd
CY
40172012-01-06 Chong Yidong <cyd@gnu.org>
4018
4019 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4020 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4021 functions, along with 1 and -1.
4022
4afee9d5
EZ
40232012-01-06 Eli Zaretskii <eliz@gnu.org>
4024
4025 * time.el (display-time-load-average)
4026 (display-time-default-load-average): Doc fixes. See the thread
4027 starting at
4028 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4029 for the details.
4030
536aea70
GM
40312012-01-06 Glenn Morris <rgm@gnu.org>
4032
665ae865
GM
4033 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4034 has no messages. (Bug#10377)
4035
c869783d
GM
4036 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4037 than Info-edit. (Bug#10385)
4038
2bb4227e
GM
4039 * time.el (display-time-load-average, display-time-next-load-average):
4040 Doc fixes.
4041
7d5944b9
GM
4042 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4043 local setting of buffer-read-only to the input buffer. (Bug#10419)
4044
536aea70
GM
4045 * calendar/calendar.el (calendar-mode):
4046 Locally set scroll-margin to 0. (Bug#10379)
4047
7dccca16
UM
40482012-01-06 Ulrich Mueller <ulm@gentoo.org>
4049
4050 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4051
afbb7930
GM
40522012-01-05 Glenn Morris <rgm@gnu.org>
4053
4054 * eshell/em-unix.el (diff-no-select): Autoload it.
4055 (eshell/diff): Use diff-no-select. (Bug#10420)
4056
04482335
CY
40572012-01-05 Chong Yidong <cyd@gnu.org>
4058
7baca3bc
CY
4059 * shell.el (shell-dynamic-complete-functions): Revert last change.
4060 (shell-command-completion-function): New function.
4061 (shell-completion-vars): Use it to implement
4062 shell-completion-execonly (Bug#10417).
4063
04482335
CY
4064 * custom.el (enable-theme): Don't set custom-safe-themes.
4065
1d00653d
SM
4066 * cus-theme.el (custom-theme-merge-theme):
4067 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4068
bb5aa5d6
MM
40692012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4070
4071 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4072 first prompt in `sql-interacive-mode'.
4073 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4074 keywords.
6df6ae42 4075 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4076 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4077 context of original buffer. Invoke `sql-login-hook'.
4078
a7183d7c
EZ
40792012-01-04 Eli Zaretskii <eliz@gnu.org>
4080
4081 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4082 letters in cite-prefix.
4083
a1eacd1e
LMI
40842012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4085
4086 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4087
787cdb34
CY
40882012-01-03 Chong Yidong <cyd@gnu.org>
4089
1d00653d
SM
4090 * shell.el (shell-dynamic-complete-functions):
4091 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4092 comint-filename-completion first (Bug#10417).
4093
30710442
RS
40942012-01-02 Richard Stallman <rms@gnu.org>
4095
4096 * battery.el (battery-status-function):
4097 Detect when to use battery-yeeloong-sysfs.
4098 (battery-echo-area-format): Add string for Yeeloong.
4099 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4100 (battery-yeeloong-sysfs): New function.
4101
f75bfc33
CY
41022012-01-02 Chong Yidong <cyd@gnu.org>
4103
4104 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4105 (dirtrack): Merge code for handling relative filenames in prompt
4106 from shell-dir-cookie-watcher.
4107 (dirtrack-debug-message): New arg to avoid excess format calls.
4108
4109 * shell.el (shell-dir-cookie-re): Variable deleted.
4110 (shell-dir-cookie-watcher): Function deleted.
4111 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4112 with dirtrack-mode.
4113
651e947e
EZ
41142012-01-01 Eli Zaretskii <eliz@gnu.org>
4115
1d00653d
SM
4116 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4117 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4118 libgnutls-26.dll.
4119
94d4c7dc
AS
41202011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4121
4122 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4123
8d43f3cd
EZ
41242011-12-31 Eli Zaretskii <eliz@gnu.org>
4125
4126 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4127 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4128
98c8795a
MA
41292011-12-29 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4132 also for alternative shells.
4133 (tramp-open-connection-setup-interactive-shell): Check, whether
4134 the shell is a busybox.
4135 (tramp-send-command): Don't suppress multiple prompts for
4136 busyboxes, it hurts.
4137
51281b32
CY
41382011-12-28 Chong Yidong <cyd@gnu.org>
4139
4140 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4141 (gdb-get-source-file): Move mode line update to
4142 gdb-get-source-file (Bug#10087).
4143
2170cb53
CY
41442011-12-25 Chong Yidong <cyd@gnu.org>
4145
4146 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4147 gud-gdb-marker-filter without taking it as an argument.
4148 (gud-gdb-run-command-fetch-lines): Caller changed.
4149 (gud-gdb-completion-function): New variable.
4150 (gud-gdb-completion-at-point): Use it.
4151 (gud-gdb-completions-1): Split from gud-gdb-completions.
4152
4153 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4154 function as separate arguments.
4155 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4156 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4157 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4158 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4159 (gdb-stopped, def-gdb-auto-update-trigger)
4160 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4161 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4162 Callers changed.
2170cb53
CY
4163 (gud-gdbmi-completions): New function.
4164 (gdb): Use it for generating the completion table.
4165
be8b11bb
AM
41662011-12-24 Alan Mackenzie <acm@muc.de>
4167
4168 Introduce a mechanism to widen the region used in context font
1d00653d 4169 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4170
1d00653d
SM
4171 * progmodes/cc-langs.el (c-before-font-lock-functions):
4172 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4173 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4174 functions to be run just before context (etc.) font locking.
4175
4176 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4177 New, functionality extracted from
be8b11bb 4178 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4179 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4180 (c-after-change): Set c-in-after-change-fontification.
4181 (c-set-fl-decl-start): Rejig its interface, so it can be called
4182 from both after-change and context fontifying.
b81d40f0
JB
4183 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4184 New functions.
4185 (c-standard-font-lock-fontify-region-function): New variable.
4186 (c-font-lock-fontify-region): New function.
be8b11bb 4187
341cf6ac
JL
41882011-12-24 Juri Linkov <juri@jurta.org>
4189
4190 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4191 (Bug#10348)
4192
bffcee0a
MA
41932011-12-23 Michael Albinus <michael.albinus@gmx.de>
4194
4195 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4196 existence of source file. (Bug#10325)
4197
cb5e207c
AM
41982011-12-23 Alan Mackenzie <acm@muc.de>
4199
4200 Fix unstable fontification inside templates.
4201
b81d40f0
JB
4202 * progmodes/cc-langs.el (c-before-font-lock-functions):
4203 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4204 additionally has c-set-fl-decl-start. The other languages (apart
4205 from AWK) have that as a single entry.
4206
b81d40f0
JB
4207 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4208 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4209 c-set-fl-decl-start.
4210
b81d40f0
JB
4211 * progmodes/cc-mode.el (c-common-init, c-after-change):
4212 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4213 (c-set-fl-decl-start): New function, extracted from
4214 c-font-lock-enclosing-decls and enhanced.
4215
60ff536c
JB
42162011-12-23 Juanma Barranquero <lekktu@gmail.com>
4217
4218 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4219
1c4757d6
JL
42202011-12-22 Juri Linkov <juri@jurta.org>
4221
4222 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4223
d031f2c7
CY
42242011-12-22 Chong Yidong <cyd@gnu.org>
4225
4226 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4227
bace743a
DA
42282011-12-21 Drew Adams <drew.adams@oracle.com>
4229
4230 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4231
728a1f2b
JC
42322011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4233
4234 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4235
0d373f73
TZ
42362011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4237
fec0aaa4
TZ
4238 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4239 highlighting and support. Fix up comments for capitalization.
4240 (cfengine-mode-debug): New var.
4241 (cfengine3-mode): Change the modeline indicator to "CFE3".
4242 (cfengine3-font-lock-keywords): Improve defun highlighting.
4243 (cfengine2-actions): Rename from `cfengine-actions'.
4244 (cfengine2-font-lock-keywords): Rename from
4245 `cfengine-font-lock-keywords'.
4246 (cfengine2-imenu-expression): Rename from
4247 `cfengine-imenu-expression'.
4248 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4249 (cfengine2-beginning-of-defun): Rename from
4250 `cfengine-beginning-of-defun'.
4251 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4252 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4253 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4254 modeline indicator to "CFE2".
4255 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4256 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4257
bc86f573
CY
42582011-12-21 Chong Yidong <cyd@gnu.org>
4259
4260 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4261 filename argument.
4262
d45ba96b
MR
42632011-12-20 Martin Rudalics <rudalics@gmx.at>
4264
4265 * window.el (window-normalize-buffer-to-display): Remove.
4266 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4267
a6198c90
CY
42682011-12-19 Chong Yidong <cyd@gnu.org>
4269
4270 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4271 Don't signal an error in a predicate function; return non-nil.
4272 (vc-dir-mark-file): Move the error here.
4273 (vc-dir-mark-unmark): If acting on the region, keep going if one
4274 of the entries cannot be marked/unmarked.
4275 (vc-dir-mark-all-files): If current entry is a directory, mark
4276 only child files, as documented.
4277
34c5fb55
VB
42782011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4279
4280 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4281 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4282 addition.
4283
c803b2b7
JD
42842011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4285
4286 * term/ns-win.el (ns-get-selection-internal)
4287 (ns-store-selection-internal): Declare.
1154d12e
JB
4288 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4289 Declare as obsolete.
4290 (ns-get-pasteboard, ns-paste-secondary):
4291 Use ns-get-selection-internal.
4292 (ns-set-pasteboard, ns-copy-including-secondary):
4293 Use ns-store-selection-internal.
c803b2b7 4294
9cff91f8 42952011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4296
4297 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4298 (vc-deduce-fileset): Doc fix.
99a289d9 4299
f16c898a
AS
43002011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4301
4302 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4303
763237c4
SS
43042011-12-13 Sam Steingold <sds@gnu.org>
4305
4306 * man.el (Man-getpage-in-background): When running under a
4307 window-system, ignore $MANWIDTH and $COLUMNS.
4308
5fc1c122
KH
43092011-12-15 Kenichi Handa <handa@m17n.org>
4310
4311 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4312 (setup-ethiopic-environment-internal): Comment out key-binding for
4313 ethio-toggle-punctuation.
4314
13d49cbb
AM
43152011-12-13 Alan Mackenzie <acm@muc.de>
4316
898169a2
AM
4317 Add the switch statement to AWK Mode.
4318
7a71b18d 4319 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4320 "default" to the keywords regexp.
4321
7a71b18d 4322 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4323 expression as the rest.
1d00653d
SM
4324 (c-nonlabel-token-key): Allow string literals for AWK.
4325 Refactor for the other modes.
898169a2 4326
13d49cbb 4327 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4328 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4329 routines. Limit backward searching in c-font-lock-enclosing.decl.
4330
4331 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4332 pp-state and literal type in addition to the limits.
1d00653d 4333 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4334 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4335 (c-slow-in-literal, c-fast-in-literal): Remove.
4336 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4337
4338 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4339 being in a literal. Add a limit for backward searching.
4340
4341 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4342 c-slow-in-literal.
4343
15e0efc7
SM
43442011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4347
454592a6
MR
43482011-12-13 Martin Rudalics <rudalics@gmx.at>
4349
4350 * window.el (delete-other-windows): Use correct frame in call to
4351 window-with-parameter.
4352
87393f26
DP
43532011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4354
4355 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4356 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4357 (makefile-gmake-statements, makefile-makepp-statements):
4358 Use it and add new makepp keywords.
4359 (makefile-makepp-font-lock-keywords): Add new patterns.
4360 (makefile-match-function-end): Match new [...] and [[...]].
4361
11636b22
JB
43622011-12-11 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * ses.el (ses-call-printer-return, ses-cell-property-get)
4365 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4366 (ses-create-cell-variable, ses-reset-header-string)
4367 (ses-cell-set-formula, ses-repair-cell-reference-all)
4368 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4369 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4370 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4371 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4372 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4373 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4374 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4375 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4376 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4377 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4378 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4379 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4380
cf018193
VB
43812011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4382
4383 * ses.el: The overall change is to add cell renaming, that is
4384 setting fancy names for cell symbols other than name matching
4385 "\\`[A-Z]+[0-9]+\\'" regexp .
4386 (ses-create-cell-variable): New defun.
4387 (ses-relocate-formula): Relocate formulas only for cells the
4388 symbols of which are not renamed, i.e. symbols whose names do not
4389 match regexp "\\`[A-Z]+[0-9]+\\'".
4390 (ses-relocate-all): Relocate values only for cells the symbols of
4391 which are not renamed.
4392 (ses-load): Create cells variables as the (ses-cell ...) are read,
4393 in order to check row col consistency with cell symbol name only
4394 for cells that are not renamed.
4395 (ses-replace-name-in-formula): New defun.
4396 (ses-rename-cell): New defun.
4397
ee957461
CY
43982011-12-11 Chong Yidong <cyd@gnu.org>
4399
4400 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4401 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4402
9a9e9ef0
MR
44032011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4404
4405 * window.el (other-window): Fix docstring.
4406
92a8eba5
EZ
44072011-12-10 Eli Zaretskii <eliz@gnu.org>
4408
4409 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4410 `from' or `to' address before taking its substring.
4411 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4412 encoded name is chopped in the middle of the encoded string, and
4413 thus displayed encoded.
4414
e152e577
JB
44152011-12-10 Juanma Barranquero <lekktu@gmail.com>
4416
4417 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4418
e5d84bfe
EZ
44192011-12-10 Eli Zaretskii <eliz@gnu.org>
4420
4421 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4422 to use texinfo-update-node and commands that call it if the
4423 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4424 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4425 (texinfo-all-menus-update, texinfo-master-menu)
4426 (texinfo-update-node, texinfo-every-node-update)
4427 (texinfo-multiple-files-update): Doc fix. Warn against updating
4428 all the @node lines.
4429 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4430 argument is numeric. Explain better in the doc string what the
4431 function really does.
4432 (texinfo-insert-master-menu-list): Improve the error message
4433 displayed if there's no menu in the Top node.
4434 (Bug#2975) See also this thread:
e5d84bfe
EZ
4435 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4436
1d84e9bb
MG
44372011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4438
4439 * speedbar.el (speedbar-supported-extension-expressions):
4440 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4441
382c953b
JB
44422011-12-09 Juanma Barranquero <lekktu@gmail.com>
4443
4444 * printing.el (pr-mode-alist):
4445 * simple.el (filter-buffer-substring-functions)
4446 (completion-list-insert-choice-function):
4447 * window.el (window-with-parameter, window-atom-root)
4448 (window-sides-slots, window-size-fixed, window-min-delta)
4449 (window-max-delta, window--resize-mini-window)
4450 (window--resize-child-windows-normal, window-tree)
4451 (delete-other-windows, quit-window, split-window)
4452 (display-buffer-record-window, special-display-buffer-names)
4453 (special-display-regexps, special-display-popup-frame)
4454 (same-window-p, split-window-sensibly)
4455 (display-buffer-overriding-action, display-buffer-alist)
4456 (display-buffer-base-action, display-buffer, switch-to-buffer)
4457 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4458 (fit-window-to-buffer, recenter-positions)
4459 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4460 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4461 and remove unneeded backslashes in docstrings.
4462
39c9faef
SM
44632011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4464
98449af8
SM
4465 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4466
39c9faef
SM
4467 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4468 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4469 end in ".mk".
4470 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4471 when reading the makefile (bug#10116).
4472
86ed9fdc
SM
44732011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4476 (bug#10116).
4477
5580f89d
GM
44782011-12-06 Glenn Morris <rgm@gnu.org>
4479
4480 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4481
28d3917c
CY
44822011-12-06 Chong Yidong <cyd@gnu.org>
4483
4484 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4485
a98edce9
JB
44862011-12-06 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * textmodes/table.el (table-shorten-cell): Fix typo.
4489
e65adfac
CG
44902011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4491
4492 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4493
71cc0b74
EZ
44942011-12-05 Eli Zaretskii <eliz@gnu.org>
4495
4496 * descr-text.el (describe-char): Fix display of strong
4497 right-to-left characters and directional embeddings and overrides.
4498
4499 * simple.el (what-cursor-position): Fix display of codepoints of
4500 strong right-to-left characters.
4501
315bc30d
CY
45022011-12-05 Chong Yidong <cyd@gnu.org>
4503
4504 * faces.el (read-color): Doc fix.
4505
58a70b94
GM
45062011-12-05 Glenn Morris <rgm@gnu.org>
4507
4508 * align.el (align--set-marker): Add doc-string.
4509 Don't try to move something that is not a marker. (Bug#10216)
4510
5158face
GM
45112011-12-04 Glenn Morris <rgm@gnu.org>
4512
4513 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4514 overly zealous deletion of trailing whitespace.
4515
520fca41
JB
45162011-12-04 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * server.el (server-delete-client): On Windows, do not try to delete
4519 the only terminal.
4520 (server-process-filter): On Windows, treat requests for a tty frame as
4521 if they were for a GUI frame if the running server is in GUI mode.
4522
5e605a2e
GM
45232011-12-03 Glenn Morris <rgm@gnu.org>
4524
4525 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4526
5c3fe83f
SM
45272011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4528
6f5e57e7
SM
4529 * electric.el: Streamline electric-indent's hook.
4530 (electric-indent-chars): Revert to simple list.
4531 (electric-indent-functions): New var.
4532 (electric-indent-post-self-insert-function): Use it.
4533
5c3fe83f
SM
4534 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4535 there's no inferior buffer (bug#10196).
4536 (prolog-consult-compile): Don't use toggle-read-only.
4537
6bdac736
MA
45382011-12-02 Michael Albinus <michael.albinus@gmx.de>
4539
4540 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4541 interrupt. (Bug#10187)
4542
6131ba7f
SM
45432011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4544
99c79fee
SM
4545 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4546 (bug#9160).
4547
6131ba7f
SM
4548 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4549 (bug#10191).
4550
cb0a02ea
JL
45512011-12-02 Juri Linkov <juri@jurta.org>
4552
4553 * info.el (Info-search): Display "end of manual" when Isearch
4554 reaches the end of single-file Info manual. (Bug#9918)
4555
66e0570c
EZ
45562011-12-02 Eli Zaretskii <eliz@gnu.org>
4557
4558 * isearch.el (isearch-message-prefix): Run the input method part
4559 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4560
02b16839
JL
45612011-12-02 Juri Linkov <juri@jurta.org>
4562
4563 * isearch.el (isearch-occur): Use `word-search-regexp' for
4564 `isearch-word'.
4565 (isearch-search-and-update): Add condition for `isearch-word' and
4566 call `word-search-regexp'. (Bug#10145)
4567
0b950688
GM
45682011-12-01 Glenn Morris <rgm@gnu.org>
4569
4570 * eshell/em-hist.el (eshell-hist-initialize):
4571 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4572 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4573
9505c3c7
SM
45742011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4577
1bbe96b2 45782011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4579
a1beca85
SM
4580 * progmodes/verilog-mode.el (verilog-pretty-expr):
4581 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4582 verilog, such as += *= and the like.
4583 (verilog-assignment-operator-re): Regular expression to find the
4584 assigment operator in a verilog assignment.
4585 (verilog-assignment-operation-re): Regular expression to find an
4586 assignment statement for pretty-expr.
4587 (verilog-in-attribute-p): Query returns true if point is in an
4588 attribute context; used to skip these for expression line up from
4589 pretty-expr.
4590 (verilog-in-parameter-p): Query returns true if point is in an
4591 parameter definition context; used to skip these for expression
4592 line up from pretty-expr.
4593 (verilog-in-parenthesis-p): Query returns true if point is in a
4594 parenthetical expression, specifically ( ) but not [ ] or { };
4595 used by pretty-expr.
4596 (verilog-just-one-space): If there is no space, don't add one.
4597 (verilog-get-lineup-indent-2): Specifically skip just attribute
4598 contexts for expression lineup, rather than skipping all
4599 parenthetical expressions.
4600 (verilog-calculate-indent): Fix comment, and fix indent.
4601 (verilog-do-indent): Indent declarations in lists (suggested by
4602 Joachim Lechner).
4603 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4604 skeleton items.
4605 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4606 by Alain Mellan).
4607
1bbe96b2 46082011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4609
4610 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4611 parameters with embedded comments. Reported by Ray Stevens.
4612 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4613 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4614 Reported by Tim Holt.
4615 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4616 instantiated by upper module causing wrong expansion until AUTOed a
4617 second time. Reported by K C Buckenmaier.
4618 (verilog-diff-auto): Fix showing .* as a difference when
4619 `verilog-auto-star-save' off. Reported by Dan Dever.
4620 (verilog-auto-reset, verilog-read-always-signals)
4621 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4622 temporary signals in reset list if
4623 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4624 style to each signal's assignment type, bug381.
4625 Reported by Thomas Esposito.
6288f0ca
WS
4626 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4627 (verilog-uvm-statement-re): Support UVM indentation and
4628 highlighting, with old OVM keywords only.
a1beca85 4629 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4630 Support AUTOTIEOFF creating non-wire data types.
4631 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4632 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4633 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4634 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4635 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4636 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4637 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4638 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4639 non-numeric vector width. Reported by Alex Reed.
4640 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4641 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4642 (verilog-auto-delete-trailing-whitespace):
4643 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4644 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4645 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4646 Fix verilog-scan-cache corruption when running user AUTO expansion
4647 hooks that call indentation routines.
4648 (verilog-simplify-range-expression): Fix typo ignoring lower case
4649 identifiers.
4650 (verilog-delete-auto): Fix delete-autos to also remove user created
4651 automatics, as long as they start with AUTO.
4652 (verilog-batch-diff-auto, verilog-diff-auto)
4653 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4654 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4655 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4656 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4657 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4658 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4659 is disabled and its cache will get corrupt, causing AUTOS not to
4660 expand. Instead use only -quick functions.
4661 (verilog-scan-region): Fix scanning over escaped quotes.
4662 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4663 (verilog-re-search-backward-quick)
4664 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4665 related functions now ignore strings, to fix misparsing of strings
4666 with magic comments embedded in them.
a1beca85
SM
4667 (verilog-read-auto-template):
4668 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4669 Reported by Brad Dobbie.
4670 (verilog-read-auto-template):
4671 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4672 Reported by Brad Dobbie.
6288f0ca
WS
4673 (verilog-auto-inst, verilog-auto-inst-param)
4674 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4675 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4676 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4677 debugging templates without merge conflicts, bug357.
4678 Reported by Brad Dobbie.
4679 (verilog-read-auto-template):
4680 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4681 Reported by Brad Dobbie.
4682 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4683 abbrevs so user won't be asked to save.
4684 (verilog-read-auto-lisp-present): Fix to start at beginning of
4685 buffer in case called outside of verilog-auto.
4686 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4687 to "X-2". Reported by Matthew Myers.
4688 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4689 all inputs from module templates. Reported by Leith Johnson.
4690 (verilog-module-inside-filename-p): Fix locating programs as with
4691 modules.
4692 (verilog-auto-inst-port): Fix vl-width expressions when using
4693 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4694 (verilog-decls-get-regs, verilog-decls-get-signals,
4695 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4696 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4697 verilog-read-decls): Combine reg and wire structures into one var
4698 structure to represent SystemVerilog concepts.
4699 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4700 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4701 (verilog-auto-wire-type, verilog-insert-definition):
4702 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4703 SystemVerilog "logic" keyword instead of "wire"/"reg".
4704 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4705 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4706 ifdef or generate if so there's not a driver conflict).
4707 Reported by Matthew Myers.
4708 (verilog-auto-declare-nettype, verilog-insert-definition):
4709 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4710 `default_nettype none. Reported by Julian Gorfajn.
4711 (verilog-read-always-signals-recurse, verilog-read-decls)
4712 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4713 malformed end statement, bug325. Reported by Joshua Wise and
4714 Andrew Drake.
4715 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4716 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4717 when expanding .* in interfaces, bug320.
4718 Reported by Pierre-David Pfister.
6288f0ca 4719 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4720 name and open parenthesis, bug317.
4721 Reported by Pierre-David Pfister.
6288f0ca
WS
4722 (verilog-simplify-range-expression): Fix simplification of
4723 multiplications inside AUTOWIRE connections, bug303.
4724 (verilog-auto-inst-port): Support parameter expansion in
4725 multidimensional arrays.
4726 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4727 after "assert property". Reported by Julian Gorfajn.
4728 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4729 with multiplication, bug303.
4730 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4731 Reported by Jan Frode Lonnum.
4732
1bbe96b2
GM
47332011-11-30 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4736 (hfy-shell-file-name, hfy-shell):
4737 * international/fontset.el (x-decompose-font-name): Fix typos.
4738
47392011-11-29 Ken Brown <kbrown@cornell.edu>
4740
4741 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4742 (gdb-version): Remove defvar.
4743 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4744 (gdb-gud-context-command, gdb-non-stop-handler)
4745 (gdb-current-context-command, gdb-stopped): Use it.
4746 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4747 (gdb-non-stop-handler): Don't enable pretty-printing here.
4748 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4749 non-stop mode. Use the following.
4750 (gdb-check-target-async): New defun.
4751 (gud-watch, gdb-stopped): Fix whitespace.
4752 (gdb-get-source-file): Don't try to display the source file if
4753 `gdb-main-file' is nil.
4754
47552011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * align.el: Try to generate fewer markers (bug#10047).
4758 (align--set-marker): New macro.
4759 (align-region): Use it.
4760
c935221f
SM
47612011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4764
e70b5064
CY
47652011-11-29 Chong Yidong <cyd@gnu.org>
4766
4767 * indent.el (indent-for-tab-command, indent-according-to-mode):
4768 Doc fix.
4769 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4770
f3af92b7
MA
47712011-11-29 Michael Albinus <michael.albinus@gmx.de>
4772
4773 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4774 aware of remote file names. (Bug#10124)
4775
ed472be9
CY
47762011-11-29 Chong Yidong <cyd@gnu.org>
4777
4778 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4779
24510c22
SM
47802011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * files.el (find-file): Don't use force-same-window (bug#10144).
4783 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4784 use pop-to-buffer if the selected window can't be used.
4785 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4786
c60c3703
EZ
47872011-11-28 Eli Zaretskii <eliz@gnu.org>
4788
4789 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4790 special-mode-map.
4791
e95def75
CY
47922011-11-28 Chong Yidong <cyd@gnu.org>
4793
4794 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4795
c3f1c606
NR
47962011-11-27 Nick Roberts <nickrob@snap.net.nz>
4797
4798 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4799 gdb-get-source-file-list on gdb-create-source-file-list.
4800
00db469c
EZ
48012011-11-26 Eli Zaretskii <eliz@gnu.org>
4802
4803 * whitespace.el (whitespace-newline): Use a different foreground
4804 color for 16-color light-background displays.
4805
4ad3bc2a
CY
48062011-11-24 Chong Yidong <cyd@gnu.org>
4807
4808 * window.el (display-buffer--special-action): Doc fix.
4809
e9fce1ac
JB
48102011-11-25 Juanma Barranquero <lekktu@gmail.com>
4811
4812 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4813 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4814 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4815 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4816 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4817 (avl-tree-stack-first):
4818 * emacs-lisp/cconv.el (cconv--analyse-use):
4819 * net/gnutls.el (gnutls-negotiate): Fix typos.
4820
cb825e5d
GM
48212011-11-24 Glenn Morris <rgm@gnu.org>
4822
3adbe224
GM
4823 * lpr.el (lpr-windows-system, lpr-lp-system):
4824 * mail/binhex.el (binhex-begin-line):
4825 * progmodes/grep.el (grep-history, grep-find-history):
4826 * textmodes/flyspell.el:
4827 * vc/pcvs-defs.el (cvs-global-menu):
4828 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4829 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4830 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4831
321decc8
GM
4832 * net/tls.el: Fix case of "GnuTLS".
4833
420b63ad
GM
4834 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4835
cb825e5d
GM
4836 * version.el (emacs-build-system): Give it a doc-string.
4837
a0649f08
JL
48382011-11-24 Juri Linkov <juri@jurta.org>
4839
4840 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4841
c0bc0fd4
GM
48422011-11-24 Glenn Morris <rgm@gnu.org>
4843
4844 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4845 if called on a non-mime message just toggle the headers. (Bug#8006)
4846
20db1522
JB
48472011-11-24 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4850 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4851 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4852 (allout-rebullet-heading, allout-open-sibtopic)
4853 (allout-toggle-current-subtree-encryption)
4854 (allout-toggle-subtree-encryption, allout-encrypt-string)
4855 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4856 (allout-distinctive-bullets-string, allout-auto-activation):
4857 * window.el (window-normalize-buffer-to-display):
4858 * progmodes/verilog-mode.el (verilog-batch-indent):
4859 * textmodes/bibtex.el (bibtex-field-braces-opt)
4860 (bibtex-field-strings-opt):
4861 * vc/cvs-status.el (cvs-tree-merge):
4862 Fix typos.
4863
7262a87c
MA
48642011-11-23 Michael Albinus <michael.albinus@gmx.de>
4865
4866 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4867 `non-essential' to t, in order to avoid remote connections.
4868
283430a1
EZ
48692011-11-23 Eli Zaretskii <eliz@gnu.org>
4870
a1beca85
SM
4871 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4872 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4873 case-insensitively.
4874
d2992a38
ML
48752011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4876
4877 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4878
50419064
GM
48792011-11-23 Glenn Morris <rgm@gnu.org>
4880
da94eca1
GM
4881 * paths.el (rmail-file-name): Reformat the doc-string so that it
4882 is picked up.
4883
9aac4de2
GM
4884 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4885 (rmail-auto-file): Ignore case in the "special" field names,
4886 as mail-fetch-field does for all others.
4887
8038d2d2
GM
4888 * mail/rmail.el (rmail-forward):
4889 * mail/rmailkwd.el (rmail-set-label):
4890 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4891 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4892
f3fe222a
GM
4893 * mail/rmail.el (rmail-current-message): Doc fix.
4894
50419064
GM
4895 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4896
28109f49
SM
48972011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4900
394c65f1
GM
49012011-11-22 Glenn Morris <rgm@gnu.org>
4902
4903 * mail/rmailmm.el (test-rmail-mime-handler)
4904 (test-rmail-mime-bulk-handler)
4905 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4906
f2a0aa3a
JL
49072011-11-21 Juri Linkov <juri@jurta.org>
4908
1154d12e
JB
4909 * calc/calc.el (calc-read-key-sequence):
4910 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4911
9c34a344
LMI
49122011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4913
4914 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4915 Tell the caller that the next line needs recomputation, even
4916 though it doesn't start a sexp (bug#10094).
4917
f04a3be9
SM
49182011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4921
7978747f
SM
49222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4923
f04a3be9
SM
4924 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4925 Use force-same-window.
7978747f 4926
fe7a3057
JB
49272011-11-20 Juanma Barranquero <lekktu@gmail.com>
4928
4929 * descr-text.el (describe-char-unicode-data):
4930 * json.el (json-string-escape):
4931 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4932 (Footnote-unicode, Footnote-style-p):
4933 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4934
24901d61
CY
49352011-11-20 Chong Yidong <cyd@gnu.org>
4936
4937 * window.el (replace-buffer-in-windows): Restore interactive spec.
4938
bac7ff22
SM
49392011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4940
24f3d7b9
SM
4941 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4942
bac7ff22
SM
4943 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4944 (byte-compile-global-not-obsolete-vars): New var.
4945 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4946 Use it.
4947 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4948
cd1181db
JB
49492011-11-20 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4952 * progmodes/pascal.el (electric-pascal-equal):
4953 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4954 * xml.el (xml-substitute-special): Fix typos.
4955
7fb18e9e
GM
49562011-11-20 Glenn Morris <rgm@gnu.org>
4957
4958 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4959 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4960 Doc fixes.
4961 (rmail-decode-mime-charset): Mark as obsolete.
4962
4963 * mail/rmailsum.el (rmail-message-regexp-p-1):
4964 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4965 Before using mime functions, check they are set. (Bug#10077)
4966
d5a6b3ba
JL
49672011-11-19 Juri Linkov <juri@jurta.org>
4968
4969 * info.el (Info-finder-find-node): Use `package--builtins' instead
4970 of `package-alist'. Use node names formed by the pattern "Keyword "
4971 and the keyword name.
4972
e981b61f
AS
49732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4974
1d00653d 4975 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4976
3ffbc301
JL
49772011-11-19 Juri Linkov <juri@jurta.org>
4978
4979 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4980 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4981 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4982 `old-history', `old-history-forward'. Add let-binding
4983 `window-selected'. Remove calls to `kill-buffer',
4984 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4985 before calling `Info-find-node', so `Info-find-node-2' will reread
4986 the Info file. Restore window positions only when `window-selected'
4987 is non-nil.
4988
30c62133
JL
49892011-11-19 Juri Linkov <juri@jurta.org>
4990
4991 * isearch.el (isearch-lazy-highlight-new-loop):
4992 Remove condition `(not isearch-error)'. (Bug#9918)
4993
4994 * misearch.el (multi-isearch-search-fun): Add condition
4995 `(not bound)' to ignore lazy-highlighting search.
4996 Add the search-failed message "end of multi" when the end of
4997 multi-sequence is reached. Uncapitalize the search-failed
4998 message "Repeat for next buffer".
4999
5000 * info.el (Info-search): Add the search-failed message
5001 "end of the manual" when the end of the manual is reached
5002 in Isearch mode.
5003
645ca9cf
JL
50042011-11-19 Juri Linkov <juri@jurta.org>
5005
5006 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5007 Use non-destructive `remove' instead of `delete' because
5008 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5009 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5010
df754f66
JL
50112011-11-19 Juri Linkov <juri@jurta.org>
5012
5013 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5014 to nil instead of binding `search-ring' and `regexp-search-ring'.
5015 (Bug#9185)
5016
0e23d96a
EZ
50172011-11-19 Eli Zaretskii <eliz@gnu.org>
5018
5019 * simple.el (line-move): Force movement by logical lines for any
5020 hscrolled window, not only when auto-hscroll-mode is on.
5021 (line-move-visual): Update doc string to that effect. (Bug#10076)
5022
8a6ccb66
AS
50232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5024
5025 * language/european.el (macintosh): Define as alias for mac-roman.
5026
49ae5b39
EZ
50272011-11-19 Eli Zaretskii <eliz@gnu.org>
5028
5029 * mail/rmailmm.el (rmail-mime-display-header)
5030 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5031 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5032 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5033 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5034 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5035 of a raw aref.
5036 (rmail-mime-entity-segment): To get past the tagline, move forward
5037 2 more lines, to account for the 2 empty lines that precede and
5038 follow the line with the buttons.
5039 (rmail-mime-update-tagline): Move one more line, to get past the
5040 empty line that follows the buttons in the tagline. (Bug#9520)
5041
c56cad4a
MR
50422011-11-19 Martin Rudalics <rudalics@gmx.at>
5043
5044 * window.el (window-max-delta-1, window-min-delta-1)
5045 (window-min-size-1, window-state-get-1, window-state-put-1)
5046 (window-state-put-2): Use "window--" prefix.
5047
cbe71af3
SM
50482011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5049
2ad52c60
SM
5050 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5051 (smie-warning-count): New var.
5052 (smie-set-prec2tab): Use it.
5053 (smie-bnf->prec2): Improve warnings. Add docstring.
5054 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5055 (smie-bnf--set-class): New function.
5056 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5057 corner case.
5058
6944dbc1
SM
5059 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5060 (compilation-error-properties, compilation-move-to-column):
5061 Handle compilation-first-column while in the target buffer.
5062
c400c4d7
SM
5063 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5064 Don't hardcode point-min==1.
5065
6dbe3e96
SM
5066 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5067 (eshell-rewrite-for-command): Remove workaround.
5068 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5069 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5070 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5071
cbe71af3
SM
5072 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5073
a8e1496d
GM
50742011-11-17 Glenn Morris <rgm@gnu.org>
5075
5076 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5077 Ignore buffer-local generated-autoload-file if it is the same
5078 as the global value. (Bug#10049)
5079
df85d315
JB
50802011-11-17 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5083 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5084 (reftex-toc-previous-heading, reftex-toc-max-level)
5085 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5086 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5087 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5088 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5089 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5090 (reftex-toc-rename-label, reftex-toc-visit-location)
5091 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5092 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5093 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5094 leaving "*toc*" only for references to the buffer.
5095
a0c2d0ae
MR
50962011-11-17 Martin Rudalics <rudalics@gmx.at>
5097
5098 * window.el (window-resize, delete-window, split-window):
5099 Replace window-splits by window-combination-resize.
1d00653d 5100 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5101
35c0bac8
GM
51022011-11-17 Glenn Morris <rgm@gnu.org>
5103
5104 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5105 Make bash entry derive from sh entry, not shell entry.
5106
d0c8fc8a
MA
51072011-11-16 Michael Albinus <michael.albinus@gmx.de>
5108
d0c8fc8a
MA
5109 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5110 properties of linked files. (Bug#9879)
5111
7262a87c
MA
5112 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5113 local file name.
5114
7877f373
JB
51152011-11-16 Juanma Barranquero <lekktu@gmail.com>
5116
5117 * menu-bar.el (menu-bar-file-menu):
5118 * printing.el (pr-ps-utility):
5119 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5120 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5121 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5122 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5123 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5124 (icalendar--convert-cyclic-to-ical)
5125 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5126 (icalendar--convert-ical-to-diary)
5127 (icalendar--convert-recurring-to-diary)
5128 (icalendar--convert-non-recurring-all-day-to-diary)
5129 (icalendar-import-format-sample):
5130 * progmodes/idlw-shell.el (idlwave-shell-mode):
5131 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5132 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5133 (vhdl-ps-print-init): Fix typos.
5134
10649b82
KM
51352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5136
9d0cfcd6
GM
5137 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5138 FSF and collapse date sequence, obscure author/maintainer email address
5139 better, remove extra version line, track relocation of author's webpage.
10649b82 5140
9d0cfcd6
GM
5141 * progmodes/python.el (python-pdbtrack-input-prompt)
5142 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5143 regular python pdb prompts. Adjustments shamelessly taken exactly as
5144 suggested in EmacsWiki page (tiny change):
5145 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5146
58179cce
JB
51472011-11-16 Juanma Barranquero <lekktu@gmail.com>
5148
5149 * expand.el (expand-pos, expand-index, expand-point):
5150 Remove redundant info from docstring.
5151 (expand-add-abbrevs): Doc fix.
5152 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5153 (expand-sample-perl-mode-expand-list): Fix typos.
5154
5155 * net/dbus.el (dbus-event-member-name):
5156 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5157 * term/pc-win.el (msdos-create-frame-with-faces):
5158 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5159
b6f67890
MR
51602011-11-16 Martin Rudalics <rudalics@gmx.at>
5161
5162 * window.el (split-window, window-state-get-1)
5163 (window-state-put-1, window-state-put-2): Rename occurrences of
5164 window-nest to window-combination-limit.
1d00653d 5165 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5166
ce7ddba0
CY
51672011-11-16 Chong Yidong <cyd@gnu.org>
5168
5169 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5170 regexp (Bug#10033).
5171
3ae704f4
SM
51722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5175 `completing-read' will remove *Completions* and will preserve
5176 current-buffer for us.
5177 (tmm-add-prompt): Users of *Completions* will always (re)set its
5178 major mode.
5179 (tmm-old-comp-map): Remove.
5180
6ad1cdde
GM
51812011-11-16 Glenn Morris <rgm@gnu.org>
5182
5183 * mail/rmailedit.el: Require rmailmm when compiling.
5184 (rmail-old-mime-state): New declaration.
5185 (rmail-edit-current-message): If editing a mime message,
5186 edit the "raw" message from the mbox buffer.
5187 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5188
d20faa20
GM
51892011-11-15 Glenn Morris <rgm@gnu.org>
5190
5191 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5192 which wasn't being used. Add optional arg to force given state.
5193 (rmail-mime): Add optional arg to force given state.
5194
c7015153
JB
51952011-11-15 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5198 * frame.el (display-mm-dimensions-alist):
5199 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5200 (outline-move-subtree-down):
5201 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5202 (newsticker--treeview-do-get-node):
5203 * net/quickurl.el (quickurl-list-buffer-name):
5204 * progmodes/dcl-mode.el (dcl-mode):
5205 * progmodes/gdb-mi.el (gdb-mapcar*):
5206 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5207
45261b50
GM
52082011-11-15 Glenn Morris <rgm@gnu.org>
5209
5210 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5211 in a boolean sense, so just make it a boolean, and fix the doc.
5212 (rmail-show-mime-function, rmail-mime-feature)
5213 (rmail-require-mime-maybe): Doc fixes.
5214 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5215
5216 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5217
0d26e0b6
JB
52182011-11-15 Juanma Barranquero <lekktu@gmail.com>
5219
5220 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5221 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5222 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5223 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5224
447f30f6
GM
52252011-11-15 Glenn Morris <rgm@gnu.org>
5226
672b871d
GM
5227 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5228 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5229 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5230 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5231 (rmail-mime, rmail-show-mime): Doc fixes.
5232
f6aa5bb1
GM
5233 * term/ns-win.el (mode-line-frame-identification):
5234 Leave it alone. (Bug#10051)
5235
947cd66b
GM
5236 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5237
447f30f6
GM
5238 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5239 Handle empty buffers. (Bug#9978)
5240
0b381c7e
JB
52412011-11-14 Juanma Barranquero <lekktu@gmail.com>
5242
5243 * international/mule.el (define-charset):
5244 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5245 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5246 * progmodes/verilog-mode.el (verilog-backward-token):
5247 * textmodes/ispell.el (lookup-words):
5248 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5249
71e027ac
GM
52502011-11-14 Glenn Morris <rgm@gnu.org>
5251
56632ce4
GM
5252 * progmodes/executable.el
5253 (executable-make-buffer-file-executable-if-script-p):
5254 Handle file-modes returning nil.
5255
40500957
GM
5256 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5257 message - not necessary, and causes problems. (Bug#9831)
5258
071c2340
GM
5259 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5260
d3cfca60
GM
5261 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5262
71e027ac
GM
5263 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5264 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5265 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5266
89d61221
MR
52672011-11-12 Martin Rudalics <rudalics@gmx.at>
5268
5269 * window.el (window-resize, delete-window): Use window-splits
5270 variable instead of function.
5271 (window-state-get-1, window-state-put-2, window-state-put):
5272 Don't deal with windows' splits status.
5273
98282f6f
GM
52742011-11-12 Glenn Morris <rgm@gnu.org>
5275
5276 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5277 (apropos-documentation): Doc fixes.
5278
40a8bdf6
JB
52792011-11-11 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5282 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5283
65bd19ff
SM
52842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * electric.el (electric-indent-post-self-insert-function): Make it
5287 possible for a char to only indent in some circumstances.
5288 (electric-indent-mode): Simplify.
5289
54f9154c
MR
52902011-11-11 Martin Rudalics <rudalics@gmx.at>
5291
5292 * window.el (windows-with-parameter): Remove unused function.
5293 (windows-at-side): Rename to window-at-side-list.
5294 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5295 (window-side-check, window-size-ignore, window-size-fixed-1)
5296 (window-in-direction-2): Prefix with "window--".
5297 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5298
68cbc58b
GM
52992011-11-11 Glenn Morris <rgm@gnu.org>
5300
5301 * subr.el (eval-after-load): If FILE is already loaded,
5302 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5303
b2621720
GM
53042011-11-10 Glenn Morris <rgm@gnu.org>
5305
9a4de110
GM
5306 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5307 Call svn via vc-svn-command rather than vc-do-command.
5308 (vc-svn-command): Add --non-interactive. (Bug#9993)
5309 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5310
b2621720
GM
5311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5312 Add toggle-read-only. (Bug#7292)
5313 * files.el (toggle-read-only): Mention that it should only
5314 be used interactively. (Bug#10006)
5315
1dce7193
SM
53162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5317
d9ac1a1e
SM
5318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5319 Adjust regexp for OCaml warnings.
5320
0c325082
SM
5321 * electric.el (electric-pair-post-self-insert-function): Let user
5322 turn it off buffer-locally (bug#9932).
5323
90132c14
SM
5324 * progmodes/python.el (python-beginning-of-statement):
5325 Rewrite (bug#2703).
5326
1dce7193
SM
5327 * progmodes/compile.el: Better handle TABs (bug#9749).
5328 (compilation-internal-error-properties)
5329 (compilation-next-error-function): Obey the target buffer's
5330 compilation-error-screen-columns.
5331
c4e7c63a
JB
53322011-11-09 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * progmodes/meta-mode.el: Remove obsolete comments.
5335 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5336 Fix typos in docstrings.
5337
2cffd681
MR
53382011-11-09 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5341 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5342 (window--resizable): New function. Make all callers of
5343 window-resizable call window--resizable instead.
5344 (window-resizable): Rewrite in terms of window--resizable.
5345
0edcba87
GM
53462011-11-08 Glenn Morris <rgm@gnu.org>
5347
5348 * progmodes/delphi.el (delphi-mode-syntax-table):
5349 Let define-derived-mode define a proper syntax table. (Bug#9994)
5350
4b0d61e3
SM
53512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * window.el: Stay away from defsubst.
5354 (window-list-no-nils): Remove.
5355 (window-state-get-1, window-state-get): Use backquote instead.
5356
cd394be1 53572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5358
4b0d61e3 5359 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5360 Fix incorrect use of default argument in `completing-read'.
5361
e1c2c6f2
MR
53622011-11-08 Martin Rudalics <rudalics@gmx.at>
5363
5364 * window.el (display-buffer-function, special-display-function):
5365 Mention display-buffer-record-window but do not mention
5366 help-setup parameter in doc-strings.
b3f4a882 5367 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5368
105216ed
CY
53692011-11-08 Chong Yidong <cyd@gnu.org>
5370
5371 * window.el (window-total-height, window-total-width): Doc fix.
5372 (window-body-size): Move from C.
5373 (window-body-height, window-body-width): Move to C.
5374
0a9f9ab5
SM
53752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * window.el: Make special-display like display-buffer-alist (bug#9532).
5378 (display-buffer--special-action): New function, morphed
5379 from display-buffer--special.
5380 (display-buffer): Use it to handle special-display-buffers at higher
5381 priority (just after display-buffer-alist).
5382 (display-buffer-fallback-action, display-buffer--other-frame-action)
5383 (pop-to-buffer-same-window): Remove display-buffer--special.
5384
a769dd15
GM
53852011-11-07 Glenn Morris <rgm@gnu.org>
5386
5387 * calendar/cal-menu.el (cal-menu-set-date-title):
5388 Do nothing if not in a calendar. (Bug#9976)
5389
05a61ee3
SM
53902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * files.el (find-file): Always use selected-window.
5393
be7f5545
MR
53942011-11-07 Martin Rudalics <rudalics@gmx.at>
5395
5396 * window.el (window-combinations): Make WINDOW argument
5397 mandatory. Rewrite doc-string.
5398 (walk-window-subtree, window-atom-check, window-min-delta)
5399 (window-max-delta, window--resize-this-window)
5400 (window--resize-root-window-vertically, window-tree)
5401 (balance-windows, window-state-put): Rewrite doc-strings as to
5402 not mention the term "subwindow".
5403 (window--resize-subwindows-skip-p): Rename to
5404 window--resize-child-windows-skip-p.
5405 (window--resize-subwindows-normal): Rename to
5406 window--resize-child-windows-normal.
5407 (window--resize-subwindows): Rename to
5408 window--resize-child-windows.
5409 (window-or-subwindow-p): Rename to window--in-subtree-p.
5410
3c6702ef
ML
54112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5412
5413 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5414 Ensure that mbox format messages end in two newlines (Bug#9974).
5415
49745b39
CY
54162011-11-06 Chong Yidong <cyd@gnu.org>
5417
5418 * window.el (window-combination-p): Function deleted; its
5419 side-effect is not used in any existing code.
5420 (window-combinations, window-combined-p): Call window-*-child
5421 directly.
5422
24300f5f
CY
54232011-11-05 Chong Yidong <cyd@gnu.org>
5424
5425 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5426 (window-size-ignore, window-state-get): Callers changed.
5427 (window-normalize-window): Rename from window-normalize-any-window.
5428 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5429 (window-normalize-live-window): Delete.
447f16b8
CY
5430 (window-combination-p, window-combined-p, window-combinations)
5431 (walk-window-subtree, window-atom-root, window-min-size)
5432 (window-sizable, window-sizable-p, window-size-fixed-p)
5433 (window-min-delta, window-max-delta, window-resizable)
5434 (window-resizable-p, window-full-height-p, window-full-width-p)
5435 (window-current-scroll-bars, window-point-1, set-window-point-1)
5436 (window-at-side-p, window-in-direction, window-resize)
5437 (adjust-window-trailing-edge, maximize-window, minimize-window)
5438 (window-deletable-p, delete-window, delete-other-windows)
5439 (record-window-buffer, unrecord-window-buffer)
5440 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5441 (quit-window, split-window, window-state-put)
5442 (set-window-text-height, fit-window-to-buffer)
5443 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5444
89bd5ee1
EZ
54452011-11-04 Eli Zaretskii <eliz@gnu.org>
5446
53479029
EZ
5447 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5448 rfc2047-decode-string.
5449 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5450 warnings.
5451
89bd5ee1
EZ
5452 * window.el (window-body-height, window-body-width): Mention in
5453 the doc string that the return values are in frame's canonical
5454 units. (Bug#9949)
5455
bd17fdee
AM
54562011-11-03 Alan Mackenzie <acm@muc.de>
5457
5458 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5459 change in cc-engine.el.
5460
acc825c5
SM
54612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5464
1885e5b8
MR
54652011-11-02 Martin Rudalics <rudalics@gmx.at>
5466
5467 * window.el (quit-window): Call unrecord-window-buffer after
5468 showing another buffer in the window. (Bug#9937)
acc825c5 5469 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5470
ebe06da9
JB
54712011-11-02 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5474 Accept status with more than 9 shelves. (Bug#9935)
5475 Reported by Colin D Bennett <colin@gibibit.com>.
5476
4ee88440
MR
54772011-11-01 Martin Rudalics <rudalics@gmx.at>
5478
5479 * help.el (with-help-window): Don't reference
5480 temp-buffer-show-specifiers in doc-string.
5481
08e1d82c
AS
54822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5483
5484 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5485 menu-item.
5486
84bd6e9e
VJL
54872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5488
5489 * whitespace.el: New version 13.2.2.
5490 (whitespace-newline-mode): Disable properly. Reported by Sarah
5491 <EmacsWiki>.
5492
dba0634a
UJ
54932011-10-30 Ulf Jasper <ulf.jasper@web.de>
5494
5495 * net/newst-treeview.el: Remove "Time-stamp".
5496 (newsticker--group-manage-orphan-feeds): Do not call
5497 newsticker--treeview-tree-update.
db22a3c2
JB
5498 (newsticker-treeview-update, newsticker-treeview):
5499 Call newsticker--treeview-tree-update if necessary.
dba0634a 5500
3d8daefe
MR
55012011-10-30 Martin Rudalics <rudalics@gmx.at>
5502
5503 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5504 (window-iso-combinations): Remove "iso-" infix.
5505 Suggested by Chong Yidong.
3d8daefe
MR
5506 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5507 (window-max-delta-1, window-resize, window--resize-siblings)
5508 (window--resize-this-window, adjust-window-trailing-edge)
5509 (split-window, balance-windows-1)
5510 (shrink-window-if-larger-than-buffer):
5511 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5512 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5513
1bc4c3ae
SM
55142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5517 in place (bug#9907).
5518 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5519 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5520 (eshell-structure-basic-command, eshell-rewrite-while-command)
5521 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5522 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5523 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5524 (eshell-do-pipelines-synchronously, eshell-eval-command):
5525 Use backquotes and prefer setq to set.
5526 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5527 (eshell-macrop): Use functionp.
c1e2f5fa 5528 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5529
30b65d9c
CY
55302011-10-30 Chong Yidong <cyd@gnu.org>
5531
5532 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5533 instead of set-mark (Bug#9810).
5534
2d197ffb
CY
55352011-10-30 Chong Yidong <cyd@gnu.org>
5536
5537 * window.el (split-window-below, split-window-right): Rename from
5538 split-window-above-each-other and split-window-side-by-side
5539 respectively. All callers changed.
5540 (split-window-sensibly, split-window-sensibly): Use them.
5541 (split-window-keep-point): Doc fix.
5542
5543 * isearch.el: Add isearch-scroll property to split-window-below
5544 and split-window-right.
5545
5546 * follow.el (follow-mode):
5547 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5548 * progmodes/ada-xref.el (ada-gdb-application):
5549 * emulation/vip.el (vip-buffer-in-two-windows):
5550 * image-dired.el (image-dired-dired-with-window-configuration):
5551 * dired-x.el (dired-do-find-marked-files):
5552 * dired.el (dired-pop-to-buffer):
5553 * bs.el (bs--show-with-configuration):
5554 * vc/emerge.el (emerge-setup-windows):
5555 * textmodes/two-column.el (2C-two-columns):
5556 * textmodes/reftex-toc.el (reftex-toc):
5557 * progmodes/gdb-mi.el (gdb-setup-windows):
5558 * progmodes/fortran.el (fortran-window-create):
5559 * net/newst-treeview.el (newsticker--treeview-window-init):
5560 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5561 * emulation/tpu-edt.el (tpu-gold-map):
5562 * emulation/crisp.el (crisp-mode-map):
5563 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5564
38bb2ca8
CY
55652011-10-29 Chong Yidong <cyd@gnu.org>
5566
aa4de341
CY
5567 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5568
e1eb5385
CY
5569 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5570
5d2ece3c
CY
5571 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5572 forged Ispell output (Bug#7904).
5573
38bb2ca8
CY
5574 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5575
d0af9f77
SM
55762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * doc-view.el: Avoid ugly errors about not finding nil.
5579 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5580 (doc-view-dvipdf-program, doc-view-unoconv-program)
5581 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5582 Avoid nil or absolute file name as default value.
5583 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5584
52bedd34
AM
55852011-10-28 Alan Mackenzie <acm@muc.de>
5586
db22a3c2 5587 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5588
7e43cfa5
AM
55892011-10-28 Alan Mackenzie <acm@muc.de>
5590
5591 Amend the handling of c-beginning/end-of-defun in nested declaration
5592 scopes.
5593
52bedd34
AM
5594 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5595 cc-langs.el. Change it to a defcustom.
7e43cfa5 5596
52bedd34
AM
5597 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5598 cc-vars.el.
7e43cfa5 5599
d0af9f77
SM
5600 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5601 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5602
52bedd34 5603 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5604 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5605 (c-widen-to-enclosing-decl-scope): New function.
5606 (c-while-widening-to-decl-block): New macro.
5607 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5608 outward for defun boundaries, and correspondingly change symbol
5609 `respect-enclosure' to `go-outward'.
5610 (c-declaration-limits): Change algorithm to report only the "innermost"
5611 defun's boundaries.
5612
1a2ce9ee
DD
56132011-10-28 Deniz Dogan <deniz@dogan.se>
5614
5615 * net/rcirc.el (rcirc-mode): Use hard newlines.
5616
bc97a826
AM
56172011-10-28 Alan Mackenzie <acm@muc.de>
5618
5619 Amend to indent and fontify macros "which include their own semicolon"
5620 correctly, using the "virtual semicolon" mechanism.
5621
52bedd34 5622 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5623
d0af9f77 5624 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5625 Recode to scan one line at a time rather than having \n and \r
58179cce 5626 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5627 (c-forward-label): Amend for virtual semicolons.
58179cce 5628 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5629
52bedd34
AM
5630 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5631 of the new C macros.
bc97a826 5632
52bedd34 5633 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5634 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5635 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5636 (c-opt-cpp-macro-define): Make into a full language variable.
5637 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5638 AWK Mode (including \n, \r) removed, no longer needed.
5639
d0af9f77
SM
5640 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5641 Invoke c-make-macro-with-semi-re.
bc97a826 5642
52bedd34
AM
5643 * progmodes/cc-vars.el (c-macro-with-semi-re):
5644 (c-macro-names-with-semicolon): New variables.
58179cce 5645 (c-make-macro-with-semi-re): New function.
bc97a826 5646
7a6c0941
SM
56472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * vc/log-edit.el: Fill empty field rather than adding new one.
5650 (log-edit-add-field): New function.
5651 (log-edit-insert-changelog): Use it.
5652
b0c4cdcf
ML
56532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5654
5655 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5656
ee1f1da9
SM
56572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5660 (gdb--check-interpreter): New function.
5661 (gdb): Use it.
5662
51bc5f8b
GM
56632011-10-27 Glenn Morris <rgm@gnu.org>
5664
416a2c45
GM
5665 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5666 (least-positive-float, least-negative-float)
5667 (least-positive-normalized-float, least-negative-normalized-float)
5668 (float-epsilon, float-negative-epsilon):
5669 Remove unnecessary declarations.
5670
5671 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5672 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5673 (least-positive-float, least-negative-float)
5674 (least-positive-normalized-float, least-negative-normalized-float)
5675 (float-epsilon, float-negative-epsilon): Add doc-strings,
5676 based on those in cl.texi.
5677
51bc5f8b
GM
5678 * files.el (set-visited-file-name): If the major-mode changed,
5679 reload the local variables. (Bug#9796)
5680
15de15c6
CY
56812011-10-27 Chong Yidong <cyd@gnu.org>
5682
5683 * subr.el (change-major-mode-after-body-hook): New hook.
5684 (run-mode-hooks): Run it.
5685
ee1f1da9
SM
5686 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5687 Use change-major-mode-before-body-hook.
15de15c6
CY
5688
5689 * simple.el (fundamental-mode):
5690 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5691 change introducing fundamental-mode-hook.
5692
5430d399
JB
56932011-10-26 Juanma Barranquero <lekktu@gmail.com>
5694
acc825c5 5695 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5696
ad74a69e
MA
56972011-10-26 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5700 tramp.el explicitly. (Bug#7583)
ad74a69e 5701
71d4c2a5
SM
57022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * progmodes/octave-mod.el:
5705 * progmodes/octave-inf.el: Update maintainer.
5706
b1f6fa26
CY
57072011-10-26 Chong Yidong <cyd@gnu.org>
5708
5709 * subr.el (with-wrapper-hook): Rewrite doc.
5710
3f04efd6
MA
57112011-10-25 Michael Albinus <michael.albinus@gmx.de>
5712
5713 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5714 filenames "/method:foo:". (Bug#9793)
3f04efd6 5715
410488d3
SM
57162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5719 (bug#9865).
5720
c1ebb47e
GM
57212011-10-24 Glenn Morris <rgm@gnu.org>
5722
5723 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5724
7f5c46c7
MA
57252011-10-24 Michael Albinus <michael.albinus@gmx.de>
5726
5727 * notifications.el: Add the requirement of a running D-Bus session
5728 bus to the Commentary.
5729
db2440b6
JL
57302011-10-24 Juri Linkov <juri@jurta.org>
5731
5732 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5733 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5734 (Bug#9364)
5735
feecf435
JL
57362011-10-24 Juri Linkov <juri@jurta.org>
5737
5738 * info.el (Info-following-node-name-re): Add newline to the list
5739 of allowed characters for leading space. (Bug#9824)
5740
a3839de2
SM
57412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5742
acc825c5
SM
5743 * progmodes/octave-inf.el (inferior-octave-mode-map):
5744 Fix C-c C-h binding.
a3839de2
SM
5745 * progmodes/octave-mod.el (octave-help): Remove.
5746
09388e76
MA
57472011-10-23 Michael Albinus <michael.albinus@gmx.de>
5748
5749 Sync with Tramp 2.2.3.
5750
5751 * net/tramp-cache.el (top): Pacify byte-compiler using
5752 `init-file-user' and `site-run-file'.
5753
5754 * net/trampver.el: Update release number.
5755
86c60681
CY
57562011-10-23 Chong Yidong <cyd@gnu.org>
5757
5758 * files.el (toggle-read-only): Remove obsolete comment about
5759 version control.
5760
5761 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5762 for toggle-read-only. Note that this hasn't called vc-next-action
5763 since 2008-05-02, though it wasn't documented at the time.
5764
a3839de2
SM
5765 * vc/ediff-init.el (ediff-toggle-read-only-function):
5766 Use toggle-read-only.
86c60681 5767
cd5495ff
AM
57682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5769
5770 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5771 of c-parse-state.
5772
00b77525 5773 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5774 correct faulty logical expression.
cd5495ff
AM
5775 (c-parse-state-state, c-record-parse-state-state):
5776 (c-replay-parse-state-state): New defvar/defuns.
5777 (c-debug-parse-state): Use new functions.
5778
42ee24ed
MR
57792011-10-22 Martin Rudalics <rudalics@gmx.at>
5780
5781 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5782 last fix. Use window-in-direction correctly.
42ee24ed 5783
a7dee7e7
CY
57842011-10-21 Chong Yidong <cyd@gnu.org>
5785
5786 * progmodes/idlwave.el (idlwave-mode):
5787 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5788 require-final-newline; that's done in prog-mode.
5789 Suggested by Stefan Monnier.
a7dee7e7 5790
e07b9a6d
MR
57912011-10-21 Martin Rudalics <rudalics@gmx.at>
5792
5793 * mouse.el (mouse-drag-window-above)
5794 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5795 (mouse-drag-mode-line-1, mouse-drag-header-line)
5796 (mouse-drag-vertical-line-rightward-window): Remove.
5797 (mouse-drag-line): New function.
5798 (mouse-drag-mode-line, mouse-drag-header-line)
5799 (mouse-drag-vertical-line): Call mouse-drag-line.
5800 * window.el (window-at-side-p, windows-at-side): New functions.
5801
7e1361d9
UM
58022011-10-21 Ulrich Mueller <ulm@gentoo.org>
5803
5804 * tar-mode.el (tar-grind-file-mode):
5805 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5806
30fcaf3a
CY
58072011-10-21 Chong Yidong <cyd@gnu.org>
5808
5809 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5810 * progmodes/vera-mode.el (vera-mode):
5811 Use mode-require-final-newline.
30fcaf3a 5812
516eddb0
GM
58132011-10-20 Glenn Morris <rgm@gnu.org>
5814
db22a3c2 5815 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5816
10d5f513
CS
58172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5818
5819 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5820
ac6c8639
CY
58212011-10-20 Chong Yidong <cyd@gnu.org>
5822
5823 * emulation/cua-base.el (cua-mode):
5824 * mail/footnote.el (footnote-mode):
5825 * mail/mailabbrev.el (mail-abbrevs-mode):
5826 * net/xesam.el (xesam-minor-mode):
5827 * progmodes/bug-reference.el (bug-reference-mode):
5828 * progmodes/cap-words.el (capitalized-words-mode):
5829 * progmodes/compile.el (compilation-minor-mode)
5830 (compilation-shell-minor-mode):
5831 * progmodes/gud.el (gud-tooltip-mode):
5832 * progmodes/hideif.el (hide-ifdef-mode):
5833 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5834 * progmodes/subword.el (subword-mode):
5835 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5836 * progmodes/which-func.el (which-function-mode):
5837 * term/tvi970.el (tvi970-set-keypad-mode):
5838 * term/vt100.el (vt100-wide-mode):
5839 * textmodes/flyspell.el (flyspell-mode):
5840 * textmodes/ispell.el (ispell-minor-mode):
5841 * textmodes/nroff-mode.el (nroff-electric-mode):
5842 * textmodes/paragraphs.el (use-hard-newlines):
5843 * textmodes/refill.el (refill-mode):
5844 * textmodes/reftex.el (reftex-mode):
5845 * textmodes/rst.el (rst-minor-mode):
5846 * textmodes/sgml-mode.el (html-autoview-mode)
5847 (sgml-electric-tag-pair-mode):
5848 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5849 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5850 * emulation/crisp.el (crisp-mode):
5851 * emacs-lisp/eldoc.el (eldoc-mode):
5852 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5853 minor mode behavior.
5854
aa42ab43
JL
58552011-10-19 Juri Linkov <juri@jurta.org>
5856
5857 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5858 the list of hard-coded chars with escape-glyph face.
5859
89400f1d
SM
58602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5863
305c07f6
MA
58642011-10-19 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5867 running process.
5868
13754b54
GM
58692011-10-19 Glenn Morris <rgm@gnu.org>
5870
5871 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5872 Ignore ignored files. (Bug#9726)
5873
06e21633
CY
58742011-10-19 Chong Yidong <cyd@gnu.org>
5875
5876 Doc fix for minor modes, stating that an omitted argument enables
5877 the mode unconditionally when called from Lisp.
5878
5879 * abbrev.el (abbrev-mode):
5880 * allout.el (allout-mode):
5881 * autoinsert.el (auto-insert-mode):
5882 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5883 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5884 (global-auto-revert-mode):
5885 * battery.el (display-battery-mode):
5886 * composite.el (global-auto-composition-mode)
5887 (auto-composition-mode):
5888 * delsel.el (delete-selection-mode):
5889 * desktop.el (desktop-save-mode):
5890 * dired-x.el (dired-omit-mode):
5891 * dirtrack.el (dirtrack-mode):
5892 * doc-view.el (doc-view-minor-mode):
5893 * double.el (double-mode):
5894 * electric.el (electric-indent-mode, electric-pair-mode):
5895 * emacs-lock.el (emacs-lock-mode):
5896 * epa-hook.el (auto-encryption-mode):
5897 * follow.el (follow-mode):
5898 * font-core.el (font-lock-mode):
5899 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5900 * help.el (temp-buffer-resize-mode):
5901 * hilit-chg.el (highlight-changes-mode)
5902 (highlight-changes-visible-mode):
5903 * hi-lock.el (hi-lock-mode):
5904 * hl-line.el (hl-line-mode, global-hl-line-mode):
5905 * icomplete.el (icomplete-mode):
5906 * ido.el (ido-everywhere):
5907 * image-file.el (auto-image-file-mode):
5908 * image-mode.el (image-minor-mode):
5909 * iswitchb.el (iswitchb-mode):
5910 * jka-cmpr-hook.el (auto-compression-mode):
5911 * linum.el (linum-mode):
5912 * longlines.el (longlines-mode):
5913 * master.el (master-mode):
5914 * mb-depth.el (minibuffer-depth-indicate-mode):
5915 * menu-bar.el (menu-bar-mode):
5916 * minibuf-eldef.el (minibuffer-electric-default-mode):
5917 * mouse-sel.el (mouse-sel-mode):
5918 * msb.el (msb-mode):
5919 * mwheel.el (mouse-wheel-mode):
5920 * outline.el (outline-minor-mode):
5921 * paren.el (show-paren-mode):
5922 * recentf.el (recentf-mode):
5923 * reveal.el (reveal-mode, global-reveal-mode):
5924 * rfn-eshadow.el (file-name-shadow-mode):
5925 * ruler-mode.el (ruler-mode):
5926 * savehist.el (savehist-mode):
5927 * scroll-all.el (scroll-all-mode):
5928 * scroll-bar.el (scroll-bar-mode):
5929 * server.el (server-mode):
5930 * shell.el (shell-dirtrack-mode):
5931 * simple.el (auto-fill-mode, transient-mark-mode)
5932 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5933 (line-number-mode, column-number-mode, size-indication-mode)
5934 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5935 * strokes.el (strokes-mode):
5936 * time.el (display-time-mode):
5937 * t-mouse.el (gpm-mouse-mode):
5938 * tool-bar.el (tool-bar-mode):
5939 * tooltip.el (tooltip-mode):
5940 * type-break.el (type-break-mode-line-message-mode)
5941 (type-break-query-mode):
5942 * view.el (view-mode):
5943 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5944 (global-whitespace-mode, global-whitespace-newline-mode):
5945 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5946
a3839de2
SM
5947 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5948 Fix autogenerated docstring.
06e21633 5949
5214e501
JL
59502011-10-19 Juri Linkov <juri@jurta.org>
5951
5952 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5953 by checking environment variables "DESKTOP_SESSION" and
5954 "XDG_CURRENT_DESKTOP". (Bug#9779)
5955
195f8db9
JL
59562011-10-19 Juri Linkov <juri@jurta.org>
5957
5958 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5959 (browse-url-chromium-program, browse-url-chromium-arguments):
5960 New defcustoms.
5961 (browse-url-default-browser): Check for `browse-url-chromium' and
5962 call `browse-url-chromium-program'.
5963 (browse-url-chromium): New command. (Bug#9779)
5964
343a34ff
JB
59652011-10-18 Juanma Barranquero <lekktu@gmail.com>
5966
5967 * facemenu.el (list-colors-duplicates): On Windows, detect more
5968 duplicates by assuming that only colors matching "^System" are
5969 special "system colors". (Bug#9722)
5970
6978a151
SM
59712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5974 to distinguish the author from the committer.
5975
6a80b297
MA
59762011-10-18 Michael Albinus <michael.albinus@gmx.de>
5977
5978 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5979
b31a5677
JK
59802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5981
5982 * international/mule.el (sgml-html-meta-auto-coding-function):
5983 Add support for detecting encoding in HTML5 specified only as
5984 <meta charset="UTF-8">. Implementation just makes http-equiv and
5985 content-type parts from HTML4 encoding string optional. (Bug#9716)
5986
80c6d77f
GM
59872011-10-18 Glenn Morris <rgm@gnu.org>
5988
5989 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5990
08b0fee8
CY
59912011-10-18 Chong Yidong <cyd@gnu.org>
5992
5993 * faces.el (cursor): Doc fix.
5994
67e729a5
CY
59952011-10-17 Chong Yidong <cyd@gnu.org>
5996
5997 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5998
343a34ff 59992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6000
6001 * dirtrack.el (dirtrack): Support shell buffers with path
6002 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6003
0bc06380
TZ
60042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6005
6006 * json.el: Bump version to 1.3 and note change in History.
6007 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6008
8b79f3e0
SM
60092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6010
5a7c536b
SM
6011 * comint.el (comint-insert-input, comint-send-input)
6012 (comint-get-old-input-default, comint-backward-matching-input)
6013 (comint-next-prompt): Use nil instead of `input' for field property of
6014 past user input (bug#114).
6015
96a8a0df
SM
6016 * minibuffer.el (completion--replace): Inherit surrounding properties
6017 (bug#114).
6018 (minibuffer-complete-and-exit): Use it.
6019
8b79f3e0
SM
6020 * comint.el (comint--table-subvert): Quote the all-completions output
6021 (bug#9160).
6022
b8f7ff0d
MR
60232011-10-17 Martin Rudalics <rudalics@gmx.at>
6024
8b79f3e0 6025 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6026
b8f7ff0d 6027 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6028 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6029 entries and separate them from frame entries.
6030
c235b555
GM
60312011-10-15 Glenn Morris <rgm@gnu.org>
6032
6033 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6034 Doc fixes.
6035
6bbfa6e1
CY
60362011-10-15 Chong Yidong <cyd@stupidchicken.com>
6037
8b79f3e0
SM
6038 * net/network-stream.el (network-stream-open-starttls):
6039 Improve detection of failure due to lack of TLS support.
ec5c990d 6040
6bbfa6e1
CY
6041 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6042 putting the input text in front and in bold.
6043
98488977
SM
60442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6045
3d1337be
SM
6046 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6047
ee0b45e4
SM
6048 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6049 empty buffer.
6050
98488977
SM
6051 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6052 unread-command-events rather than pushing yet-another event.
6053
186f4720
EZ
60542011-10-14 Eli Zaretskii <eliz@gnu.org>
6055
6056 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6057 the explanation of the possible choices. Make the options passed
6058 to completing-read shorter.
6059
8b7a997c
AM
60602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6061
6062 * textmodes/flyspell.el (flyspell-large-region): Make sure
6063 extended character mode is used if defined (Bug#1339).
6064
12587bbb
EZ
60652011-10-13 Eli Zaretskii <eliz@gnu.org>
6066
6067 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6068 character info for LRE, LRO, RLE, and RLO characters by appending
6069 an invisible PDF.
12587bbb 6070
bad41229
SM
60712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6074 even in case of error; add debug spec; simplify data flow.
6075 (with-timeout-handler): Remove.
6076
28dbc92f
MA
60772011-10-12 Michael Albinus <michael.albinus@gmx.de>
6078
6079 Fix Bug#6019, Bug#9315.
6080
6081 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6082 complete `buffer-file-name', the local file name part could look
6083 remotely (for example on VMS).
6084
6085 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6086 `tramp-run-real-handler'.
6087 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6088 already quoted by '"'.
6089
6090 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6091 Let `file-name-handler-alist' be nil, the local file name part
6092 could look remotely (for example on VMS).
6093
e1b0b23a
SM
60942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6097 from here...
6098 (flyspell-post-command-hook): ...to here.
6099
a120bde9
SM
61002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6103 if not needed.
6104 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6105 using completion. Protect against "slow" callers.
6106 Remove the "message hack".
6107
7ce7717b
JL
61082011-10-11 Juri Linkov <juri@jurta.org>
6109
6110 * isearch.el (isearch-lazy-highlight-word): New variable.
6111 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6112 Use it. (Bug#9727)
6113
c02ee9d6
GM
61142011-10-11 Glenn Morris <rgm@gnu.org>
6115
6116 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6117 like f90-previous-statement does.
6118
93e616fd 61192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6120
1f190e73 6121 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6122 only in interactive use, to avoid error.
6123
af7b6078
SM
61242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * minibuffer.el (completion-file-name-table): Fix last change,
6127 i.e. ignore normal errors but not the other ones.
6128
0563dae9
MR
61292011-10-10 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (special-display-buffer-names)
6132 (special-display-regexps): Remove some remnants of earlier
6133 changes from doc-strings.
366ca7f3
MR
6134 (quit-windows-on): New function.
6135
6136 * vc/vc.el (vc-revert, vc-rollback):
6137 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6138 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6139 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6140
49677495
MR
61412011-10-09 Martin Rudalics <rudalics@gmx.at>
6142
6143 * window.el (frame-auto-hide-function): Add version tag.
6144 (Bug#9699)
6145
56f2d1e1
MA
61462011-10-09 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6149 condition.
6150
112a6592
LL
61512011-10-09 Leo Liu <sdl.web@gmail.com>
6152
6153 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6154 (Bug#9701)
6155
0812589b
GM
61562011-10-08 Glenn Morris <rgm@gnu.org>
6157
6158 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6159 before the first code statement zero indent. (Bug#9690)
6160
b2b0776e
CY
61612011-10-08 Chong Yidong <cyd@stupidchicken.com>
6162
6163 * simple.el (count-words-region): Always count in the region.
6164 Report the number of lines and characters too.
6165 (count-words): New command, which counts in the buffer if the
6166 region is inactive, as count-words-region used to.
6167 (count-words--message): New function. Handle plurals.
6168 (count-lines-region): Make it an alias for count-words-region.
6169
6170 * bindings.el (esc-map): Replace count-lines-region with
6171 count-words-region.
6172
c557cd6b
MR
61732011-10-08 Martin Rudalics <rudalics@gmx.at>
6174
6175 * window.el (window--delete): Delete dedicated frame
6176 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6177 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6178
61a57ef4 61792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6180
3a7d293b 6181 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6182
c3833279
CY
61832011-10-07 Chong Yidong <cyd@stupidchicken.com>
6184
6185 * bindings.el ([M-left],[M-right]): Bind to left-word and
6186 right-word respectively.
6187
21ce8245
GM
61882011-10-07 Glenn Morris <rgm@gnu.org>
6189
6190 * cus-start.el (debug-on-quit): Fix custom type.
6191
6d823bb2
LMI
61922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193
0181e193
LMI
6194 * subr.el (define-key-after): Clarify that the function is not
6195 useful for non-menu keymaps.
6196
6d823bb2
LMI
6197 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6198
8e3459ce 61992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6200
21ce8245 6201 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6202 in current minibuffer (Fix bug with recursive minibuffers).
6203
a1c2d21e
CY
62042011-10-06 Chong Yidong <cyd@stupidchicken.com>
6205
6206 * progmodes/gdb-mi.el (gdb): Doc fix.
6207
5a4cf282
MR
62082011-10-05 Martin Rudalics <rudalics@gmx.at>
6209
6210 * window.el (frame-auto-hide-function): New option replacing
6211 frame-auto-delete. Suggested by Stefan Monnier.
6212 (window--delete): Call frame-auto-hide-function instead of
6213 investigating frame-auto-delete.
c96111ea
MR
6214 (window-point-1, set-window-point-1): New functions.
6215 (window-in-direction, record-window-buffer, window-state-get-1)
6216 (display-buffer-record-window): Use window-point-1 instead of
6217 window-point.
6218 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6219
9854542e
SM
62202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6223
8943cfb0
GM
62242011-10-05 Glenn Morris <rgm@gnu.org>
6225
6226 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6227 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6228
647ab967
LL
62292011-10-05 Leo Liu <sdl.web@gmail.com>
6230
6231 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6232 works with buffer object.
6233
3ddfbced
SM
62342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * mpc.el (mpc-tool-bar-map): Add labels.
6237
bdfa5dd2
GM
62382011-10-04 Glenn Morris <rgm@gnu.org>
6239
6240 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6241
0e2070b5
MR
62422011-10-04 Martin Rudalics <rudalics@gmx.at>
6243
6244 * window.el (window--delete): New function.
6245 (frame-auto-delete): Resuscitate option.
6246 (bury-buffer, replace-buffer-in-windows)
6247 (quit-window): Rewrite using window--delete.
6248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6249 Pass display-buffer-mark-dedicated to window--display-buffer-2
6250 (Bug#9639).
6251
3dc61a09
SM
62522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6253
915a9b64
SM
6254 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6255 returns a list (bug#9554). Add remote file name completion.
6256 * comint.el (comint--table-subvert): Curry and get quote&unquote
6257 functions as arguments.
6258 (comint--complete-file-name-data): Adjust call accordingly.
6259 * pcomplete.el (pcomplete--table-subvert): Remove.
6260 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6261
3dc61a09
SM
6262 * minibuffer.el (completion-table-case-fold): Use currying.
6263 (completion--styles-type, completion--cycling-threshold-type):
6264 New constants.
6265 (completion-styles, completion-category-overrides)
6266 (completion-cycle-threshold): Use them.
6267 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6268 completion-table-case-fold.
6269
8ea0a993
SB
62702011-10-03 Stephen Berman <stephen.berman@gmx.net>
6271
6272 * minibuffer.el (completion-category-overrides): Fix type of styles
6273 and add more user friendly tags (bug#9660).
6274
8c24b7f6
SM
62752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6278 (mule-input-method-string): New widget.
6279 (default-input-method, language-info-custom-alist): Use it.
6280
428fe61a
SM
62812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6282
32c1fffd
SM
6283 * pcomplete.el: Require comint.
6284 (pcomplete--common-suffix): Remove.
6285 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6286 (pcomplete--table-subvert): Sync with comint--table-subvert.
6287 (pcomplete--entries): Use comint-completion-file-name-table.
6288 * comint.el (comint-unquote-filename): Simplify.
6289 (comint-completion-file-name-table): New function (bug#9616).
6290 (comint--complete-file-name-data): Use it.
6291
428fe61a
SM
6292 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6293 (pcmpl-gnu-tar-buffer): Remove.
6294 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6295 around. Make sure pcomplete-suffix-list is only changed temporarily.
6296 Don't look inside the tar's file if it's too large.
428fe61a 6297
04c52e2f
CY
62982011-10-01 Chong Yidong <cyd@stupidchicken.com>
6299
ce3cefcc
CY
6300 * cus-edit.el (custom-mode-map):
6301 * epa.el (epa-key-list-mode-map):
6302 * man.el (Man-mode-map):
6303 * startup.el (splash-screen-keymap):
6304 * simple.el (special-mode-map): Use scroll-up-command and
6305 scroll-down-command.
6306
6307 * progmodes/idlw-help.el (idlwave-help-mode-map):
6308 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6309 * net/newst-plainview.el (newsticker-mode-map):
6310 * emulation/ws-mode.el (wordstar-mode-map):
6311 * emulation/vi.el (vi-com-map):
6312 * calc/calc-graph.el (calc-graph-show-dumb):
6313 * term/sun.el (terminal-init-sun):
6314 * term/ns-win.el (global-map):
6315 * progmodes/grep.el (grep-mode-map):
6316 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6317 * mail/rmail.el (rmail-mode-map):
6318 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6319
04c52e2f
CY
6320 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6321 custom-safe-themes as special.
6322
79adf8c8
JD
63232011-10-01 Julien Danjou <julien@danjou.info>
6324
6325 * notifications.el (notifications-notify): Fix docstring.
6326
63bd50d3
PS
63272011-10-01 Per Starbäck <per@starback.se>
6328
6329 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6330
199e4c7e
MR
63312011-09-30 Martin Rudalics <rudalics@gmx.at>
6332
6333 * startup.el (command-line-1): Fix last fix by inserting
6334 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6335 (Bug#9605) and (Bug#9636)
199e4c7e 6336
fe5f08dd
EZ
63372011-09-29 Eli Zaretskii <eliz@gnu.org>
6338
6339 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6340 window is hscrolled, move by logical lines. (Bug#9607)
6341 (line-move-visual): Update the doc string to the above effect.
6342
b5516bbd
MR
63432011-09-29 Martin Rudalics <rudalics@gmx.at>
6344
ccee00c0
MR
6345 * window.el (display-buffer-record-window): When WINDOW is the
6346 selected window use `point' instead of `window-point'. (Bug#9626)
6347
b5516bbd
MR
6348 * startup.el (command-line-1): Use insert-before-markers when
6349 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6350
b5516bbd
MR
6351 * help.el (help-window): Remove variable.
6352
52aa0014
GM
63532011-09-29 Glenn Morris <rgm@gnu.org>
6354
6355 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6356
df9a7357
JB
63572011-09-29 Juanma Barranquero <lekktu@gmail.com>
6358
6359 * descr-text.el (describe-char-categories): Accept category
6360 descriptions more than one line long.
6361
a8406c20
SM
63622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6363
88d9610c
SM
6364 * simple.el (delete-trailing-whitespace): Fix last change.
6365
a5daf810
SM
6366 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6367 Don't confuse "y => 3" as the beginning of a `y' operation.
6368
a8406c20
SM
6369 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6370 object has more than 4 slots (bug#9613).
6371
a239d4e9
JB
63722011-09-28 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * subr.el (with-output-to-temp-buffer):
6375 * net/quickurl.el (quickurl, quickurl-browse-url):
6376 Fix typos in docstrings.
6377
693fbdb6
EZ
63782011-09-27 Eli Zaretskii <eliz@gnu.org>
6379
6380 * minibuffer.el (completion-styles)
6381 (completion-category-overrides): Cross reference each other in doc
6382 strings.
6383
8b457e28
GM
63842011-09-27 Glenn Morris <rgm@gnu.org>
6385
6386 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6387 to split-string. (Bug#9606)
6388
85a16208
LMI
63892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6390
6391 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6392 (bug#9615).
6393
502f9ebd
CY
63942011-09-27 Chong Yidong <cyd@stupidchicken.com>
6395
6396 * emacs-lisp/package.el (list-packages): Fix echo area message.
6397
7690bdea
LL
63982011-09-27 Leo Liu <sdl.web@gmail.com>
6399
6400 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6401
e2ee6f30
MA
64022011-09-25 Michael Albinus <michael.albinus@gmx.de>
6403
6404 * net/dbus.el (dbus-unregister-object): Don't release services for
6405 registered signals. (Bug#9581)
6406
f3f98342
TZ
64072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6408
6409 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6410 function that picks between cfengine 2 and 3 support
6411 automatically. Update docs accordingly.
6412
dd7aa8dd
KH
64132011-09-22 Kenichi Handa <handa@m17n.org>
6414
6415 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6416 ZERO.
6417 (indian-itrans-v5-table-for-tamil): New variable.
6418 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6419
3f2b07f8
KM
64202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6421
6422 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6423 that's true if the current command involved collapsing of text.
6424 It's reset to false at the beginning of the next command.
6425 (allout-post-command-business): Move the cursor to the beginning
6426 of entry if the cursor is hidden and collapsing activity just
6427 happened.
6428
371d6a61
CY
64292011-09-24 Chong Yidong <cyd@stupidchicken.com>
6430
6431 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6432 tracking (Bug#9541).
6433
2ac2721a
UJ
64342011-09-24 Ulf Jasper <ulf.jasper@web.de>
6435
6436 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6437 (newsticker-show-news): Automatically load html rendering package
6438 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6439 because w3m-fill-column is let-bound" and the error "Symbol's value
6440 as variable is void: w3m-fill-column".
2ac2721a 6441
fac7ae53
MA
64422011-09-24 Michael Albinus <michael.albinus@gmx.de>
6443
6444 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6445 Release services only if they are defined. (Bug#9581)
6446
e08b633b
RS
64472011-09-23 Richard Stallman <rms@gnu.org>
6448
e488d29c
RS
6449 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6450 distinguish start of paragraph from start of its text.
6451
19c38752
RS
6452 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6453
e08b633b
RS
6454 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6455 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6456 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6457
0a39f27e
AS
64582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6459
6460 * international/mule-diag.el (mule-diag): Insert a newline after
6461 each fontset description.
6462
db4e950d
SM
64632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * simple.el (delete-trailing-whitespace):
6466 Document last change; simplify.
6467
eca3f3ea
PW
64682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6469
d68e189a
PW
6470 * simple.el (delete-trailing-whitespace): Also delete
6471 extra newlines at the end of the buffer.
6472
eca3f3ea
PW
6473 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6474 (picture-newline): Use forward-line so as to ignore fields.
6475
01c157cc
SM
64762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * subr.el (with-wrapper-hook): Fix edebug spec.
6479
022de23e
LMI
64802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6481
6482 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6483 (bug#4538).
6484
91683089
MA
64852011-09-23 Michael Albinus <michael.albinus@gmx.de>
6486
eca3f3ea
PW
6487 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6488 Fix nasty bug using wrong cached values.
91683089 6489
5bdd6fa4
AM
64902011-09-23 Alan Mackenzie <acm@muc.de>
6491
6492 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6493
97adfb97
CY
64942011-09-23 Chong Yidong <cyd@stupidchicken.com>
6495
6496 * window.el (pop-to-buffer): Ensure right window is selected if we
6497 chose another frame.
6498
d4ef2b50
EZ
64992011-09-22 Eli Zaretskii <eliz@gnu.org>
6500
6501 * simple.el (what-cursor-position): Use get-char-property-change
6502 and next-single-char-property-change, to be able to show display
6503 properties that come from overlays as well as text properties.
6504
72258fe5
CY
65052011-09-22 Chong Yidong <cyd@stupidchicken.com>
6506
6507 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6508
6509 * cmuscheme.el (run-scheme, switch-to-scheme):
6510 * cus-edit.el (customize-group, custom-buffer-create)
6511 (customize-browse):
6512 * info.el (info):
6513 * shell.el (shell):
6514 * mail/sendmail.el (mail):
6515 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6516
8f098516
RS
65172011-09-22 Richard Stallman <rms@gnu.org>
6518
6519 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6520 move back only to line beg, don't move back over blank lines.
6521
e74f1bb6
MA
65222011-09-22 Michael Albinus <michael.albinus@gmx.de>
6523
6524 * files.el (copy-directory): Set directory attributes only in case
6525 they could be retrieved from the source directory. (Bug#9565)
6526
bfeef8b6
DK
65272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6528
6529 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6530 (hs-find-block-beginning, hs-hide-level-recursive):
6531 Ignore strings as well as comments. (Bug#9502)
6532
7e423bb8
AS
65332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6534
6535 * progmodes/sql.el (sql-comint-postgres):
6536 Convert port number to a string. (Bug#9566)
6537
b4d72fcf
MR
65382011-09-22 Martin Rudalics <rudalics@gmx.at>
6539
6540 * window.el (quit-window): Undedicate window when switching to
6541 previous buffer. Reported by Thierry Volpiatto
6542 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6543 (special-display-popup-frame): When popping up a new frame reset
6544 its previous buffers to nil. Simplify code.
b4d72fcf 6545
a7b88dc6
MA
65462011-09-21 Michael Albinus <michael.albinus@gmx.de>
6547
6548 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6549 and process filter, as done also in `shell-command'.
6550
cf4eacfd
MR
65512011-09-21 Martin Rudalics <rudalics@gmx.at>
6552
eca3f3ea 6553 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6554 Call set-window-start with NOFORCE argument t.
6555 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6556 (quit-window): Reword doc-string. Handle new format of
6557 quit-restore parameter. Don't delete window if it has a
6558 previous buffer we can show instead of the present one.
6559 (display-buffer-record-window): Rewrite using a new format for
6560 the quit-restore window parameter
6561 (special-display-popup-frame, display-buffer-same-window)
6562 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6563 (display-buffer-pop-up-window, display-buffer-use-some-window):
6564 Adapt symbol passed to display-buffer-record-window.
6565 * help.el (help-window-setup): Handle new format of quit-restore
6566 parameter.
6567
8d28cb95
SM
65682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6569
94ab793f
SM
6570 * faces.el (face-list): Fix docstring (bug#9564).
6571
8d28cb95
SM
6572 * window.el (display-buffer--action-function-custom-type):
6573 Don't include internal functions in the Custom interface.
6574
3820edeb
JL
65752011-09-20 Juri Linkov <juri@jurta.org>
6576
6577 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6578 (Info-forward-node, Info-backward-node, Info-next-preorder)
6579 (Info-last-preorder): Use it. (Bug#9528)
6580
5147931d
JL
65812011-09-20 Juri Linkov <juri@jurta.org>
6582
6583 * info.el (Info-last-preorder): Visit last menu item only when
6584 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6585
cf499a1a
JD
65862011-09-20 Julien Danjou <julien@danjou.info>
6587
6588 * password-cache.el (password-cache-remove): Remove entries even if the
6589 value is nil, so that password with a nil value (negative caching) is
6590 possible to invalidate.
6591
f84e2fe2
LM
65922011-09-20 Lawrence Mitchell <wence@gmx.li>
6593
6594 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6595 all whitespace around breakpoint. (Bug#9553)
6596 (f90-find-breakpoint): Only break at whitespace inside a comment.
6597
78054a46
SM
65982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * minibuffer.el (completion-file-name-table): Keep track of errors.
6601 (completion-table-with-predicate): Handle the case where pred1 is nil.
6602 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6603
345083b2
SM
66042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6605
e24e27be
SM
6606 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6607 (debugger-return-value): Signal an error if the debugging context does
6608 not await any return value.
6609
345083b2
SM
6610 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6611 * image-mode.el (image-toggle-display-text)
6612 (image-toggle-display-image): Stay away from evil `intangible'.
6613
08d355e3
LL
66142011-09-19 Leo Liu <sdl.web@gmail.com>
6615
6616 * replace.el (occur-revert-arguments): Make it permanent-local.
6617 (occur-mode): Don't call font-lock-defontify.
6618
f01da43f
CY
66192011-09-19 Chong Yidong <cyd@stupidchicken.com>
6620
6621 * net/ldap.el (ldap-search-internal): Don't push empty search
6622 result (Bug#9508).
6623
b6072fa6
SM
66242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6627
443d6696
MA
66282011-09-19 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6631 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6632
7cc6e154
JL
66332011-09-18 Juri Linkov <juri@jurta.org>
6634
6635 * buff-menu.el (Buffer-menu-mode-map):
6636 * dired.el (dired-mode-map):
6637 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6638 (lisp-interaction-mode-map):
6639 * emacs-lisp/package.el (package-menu-mode-map):
6640 * epa.el (epa-key-list-mode-map):
6641 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6642 (menu-bar-options-menu):
6643 * outline.el (outline-mode-menu-bar-map):
6644 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6645 * vc/vc-dir.el (vc-dir-menu-map):
6646 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6647 Capitalize non-function content words in menu item strings.
6648
6649 * dired.el (dired-mode-map): Add menu item for
6650 `image-dired-dired-toggle-marked-thumbs'.
6651
80302a81
JL
66522011-09-18 Juri Linkov <juri@jurta.org>
6653
6654 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6655 to `isearch-case-fold-search' and restore its original value
6656 after the `isearch-mode' call.
6657
46c5cf66
JL
66582011-09-18 Juri Linkov <juri@jurta.org>
6659
6660 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6661 because `zgrep' returns 1 for successful matches (bug#9226).
6662
d18b513b
JL
66632011-09-18 Juri Linkov <juri@jurta.org>
6664
6665 * info.el (Info-extract-menu-node-name): Check the second match
6666 for empty string (second test-case of bug#9528).
6667 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6668 intermediate nodes to the history (first test-case of bug#9528).
6669
72753f87
JL
66702011-09-18 Juri Linkov <juri@jurta.org>
6671
6672 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6673 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6674
c9384295
JL
66752011-09-18 Juri Linkov <juri@jurta.org>
6676
1154d12e
JB
6677 * info.el (Info-file-supports-index-cookies):
6678 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6679 outputs one more line for long file names (bug#4142).
c9384295 6680
d473dce8
CY
66812011-09-18 Chong Yidong <cyd@stupidchicken.com>
6682
6683 * newcomment.el (comment-normalize-vars): If prompting for
6684 comment-start, set comment-start-skip too (Bug#8424).
6685
2176854d
JB
66862011-09-18 Johan Bockgård <bojohan@gnu.org>
6687
6688 * icomplete.el: Fix previous fix of Bug#5849.
6689 (icomplete-mode): Don't set completion-show-inline-help.
6690 (icomplete-minibuffer-setup): Set completion-show-inline-help
6691 locally during icompletion.
6692
3aace4e4
CY
66932011-09-18 Chong Yidong <cyd@stupidchicken.com>
6694
c940224f
CY
6695 * woman.el (woman2-process-escapes): Don't delete unrecognized
6696 escapes (Bug#7843).
6697
3aace4e4
CY
6698 * files.el (inhibit-first-line-modes-regexps): Add image files.
6699 (hack-local-variables-prop-line): Return nil for malformed
6700 prop-lines (Bug#9044).
6701
710dec63
MA
67022011-09-18 Michael Albinus <michael.albinus@gmx.de>
6703
6704 * net/tramp.el (top): Don't require 'shell.
6705 (tramp-methods): Fix docstring.
6706 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6707 Return complete remote file name. Handle "smb" case.
6708 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6709 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6710
6711 * net/tramp-compat.el (top): Require 'shell.
6712
6713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6714 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6715 `tramp-current-host'.
6716 (tramp-get-remote-tmpdir): Remove.
6717
6718 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6719 `tramp-tmpdir' entries.
6720 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6721 (tramp-smb-handle-file-attributes): Ignore errors.
6722 (tramp-smb-wait-for-output): Check also for process end.
6723
5d5ac8ec
LMI
67242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6725
6726 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6727 when sending QUIT (bug#9312).
6728
8c0f49f0
CY
67292011-09-17 Chong Yidong <cyd@stupidchicken.com>
6730
6731 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6732 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6733 occur-mode-display-occurrence.
6734 (occur-edit-mode): Add usage message.
6735 (occur-cease-edit): New command.
6736 (occur-after-change-function): Use text properties to find the
6737 position of the prefix text.
6738 (occur-engine): Set stickiness of prefix text properties.
6739
8f1383f7
GM
67402011-09-17 Glenn Morris <rgm@gnu.org>
6741
6742 * progmodes/etags.el (complete-tag):
6743 Fix call to completion-in-region. (Bug#9526)
6744
744ba0e3
JL
67452011-09-17 Juri Linkov <juri@jurta.org>
6746
6747 * textmodes/ispell.el (ispell-word): Add to the error message
6748 the word, ispell program name and current dictionary (bug#9121).
6749 (ispell-tex-arg-end): Capitalize "error" in the error message.
6750
d9bbf400
AS
67512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6752
6753 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6754 check. (Bug#4251)
6755
8da11505
JL
67562011-09-17 Juri Linkov <juri@jurta.org>
6757
6758 * window.el (window-safe-min-height, window-safe-min-width):
6759 Fix typos (followup to bug#9522).
6760
a91adc7e
SJ
67612011-09-17 Sven Joachim <svenjoac@gmx.de>
6762
6763 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6764
064f328a
EZ
67652011-09-16 Eli Zaretskii <eliz@gnu.org>
6766
6767 * simple.el (line-move): If goal-column is set, move by logical
6768 lines, not by display lines. (Bug#971)
6769 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6770 to reflect the above change.
6771
e69df516
SM
67722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * image.el (imagemagick-register-types): Use regexp-opt.
6775
cbb0f9ab
CY
67762011-09-15 Chong Yidong <cyd@stupidchicken.com>
6777
6778 * window.el (display-buffer-base-action): Rename from
6779 display-buffer-default-action. Make default value empty.
6780 (display-buffer-overriding-action): Convert to defvar.
6781 (display-buffer-fallback-action): New var.
6782
25322144
CY
67832011-09-15 Chong Yidong <cyd@stupidchicken.com>
6784
6785 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6786 declaration.
6787 (package--add-to-archive-contents): If there is a duplicate entry
6788 with an older version, remove it.
6789 (package-menu-mark-delete, package-menu-mark-install)
6790 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6791 (package-menu-mark-obsolete-for-deletion):
6792 Use package-menu-get-status instead of a regexp search.
25322144
CY
6793 (package-menu-get-status): Use tabulated-list-entry.
6794 (package-menu-mark-upgrades): New command.
d770725a 6795 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6796 (package-menu-execute): Do installation before deletion.
6797 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6798 instead of checking major-mode.
6799 (package-menu--find-upgrades): New function.
6800
7520339c
LMI
68012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6804 passwords in the log buffer.
65a046c4
LMI
6805 (smtpmail-process-filter): Update the process marker so that the
6806 "broken by peer" status message is inserted in the right place.
7520339c 6807
d3c30954
SM
68082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6809
3fe48822
SM
6810 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6811 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6812 bibtex-completion-at-point-function.
6813 (bibtex-completion-at-point-function): Use them.
6814
1b8b3954
SM
6815 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6816
d3c30954
SM
6817 * mpc.el (mpc-constraints-tag-lookup): New function.
6818 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6819 also to browser "album|playlist".
6820
72779976
JL
68212011-09-14 Juri Linkov <juri@jurta.org>
6822
6823 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6824 (isearch-edit-string): Use length of `isearch-string' when
6825 `isearch-fail-pos' returns nil.
6826 (isearch-message): Remove duplicate code and call
6827 `isearch-fail-pos' with arg `t'.
6828
a0bf2bcd
CY
68292011-09-14 Chong Yidong <cyd@stupidchicken.com>
6830
17bb0a2d
CY
6831 * replace.el (occur-mode-goto-occurrence): Don't force using other
6832 window (Bug#9499).
6833
a0bf2bcd
CY
6834 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6835
f678e0b6
MR
68362011-09-14 Martin Rudalics <rudalics@gmx.at>
6837
6838 * window.el (display-buffer-window): Remove.
6839 (display-buffer-record-window): Use help-setup window parameter
6840 instead of variable display-buffer-window.
6841 (display-buffer-function, special-display-buffer-names)
6842 (special-display-function): Mention help-setup parameter instead
6843 of display-buffer-window in doc-string.
d3c30954
SM
6844 * help.el (help-window-setup): New argument help-window.
6845 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6846 Reword some messages.
6847 (with-help-window): Pass window used for displaying the buffer
6848 to help-window-setup. Don't set display-buffer-window.
6849
8e39b2e8
GM
68502011-09-13 Glenn Morris <rgm@gnu.org>
6851
6852 * emacs-lisp/debug.el (debugger-make-xrefs):
6853 Preserve point. (Bug#9462)
6854
85e9c04b
CY
68552011-09-13 Chong Yidong <cyd@stupidchicken.com>
6856
6857 * window.el (window-deletable-p): Use next-frame.
6858
1b36ed6a
MR
68592011-09-13 Martin Rudalics <rudalics@gmx.at>
6860
6861 * window.el (window-auto-delete): Remove.
6862 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6863 dedication and previous buffers.
1b36ed6a
MR
6864 (switch-to-prev-buffer): Don't delete window.
6865 (delete-windows-on): Delete a window's frame if and only if the
6866 window is dedicated.
6867 (replace-buffer-in-windows): Delete buffer's window or frame if
6868 and only if window is dedicated.
6869 (quit-window): Handle quit-restore as before last change.
4d61f28d 6870 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6871
ef8ef9fb
CY
68722011-09-13 Chong Yidong <cyd@stupidchicken.com>
6873
6874 * window.el (window-deletable-p): Never delete the last frame on a
6875 given terminal.
6876
b2cba41e
GM
68772011-09-13 Glenn Morris <rgm@gnu.org>
6878
6879 * help.el (describe-key-briefly): Copy previous standard-output change.
6880
51553db6 68812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6882
6883 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6884
b7556719
GM
68852011-09-13 Glenn Morris <rgm@gnu.org>
6886
6887 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6888 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6889
64b51947
CY
68902011-09-12 Chong Yidong <cyd@stupidchicken.com>
6891
6892 * dired-aux.el (dired-mark-read-string): Don't return default
6893 value on empty input (Bug#9361).
6894 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6895 Omit initial minibuffer contents.
6896 (dired-do-chmod): Signal an error on empty input.
6897 (dired-mark-read-string): Don't return default on empty input.
6898
6899 * files.el (file-modes-symbolic-to-number): Doc fix.
6900
393a301e
SM
69012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6902
6903 * international/mule-cmds.el (ucs-completions): Remove.
6904 (read-char-by-name): Use complete-with-action instead; add metadata.
6905
fa5660f9
CY
69062011-09-11 Chong Yidong <cyd@stupidchicken.com>
6907
6908 * window.el (display-buffer--action-function-custom-type)
6909 (display-buffer--action-custom-type): New vars.
6910 (display-buffer-alist, display-buffer-default-action)
6911 (display-buffer-overriding-action): Add defcustom types.
6912
4a592f66
CY
6913 * frame.el (delete-other-frames): Doc fix (Bug#276).
6914
73d56dbd
LMI
69152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6916
6917 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6918
37ac18a3
CY
69192011-09-11 Chong Yidong <cyd@stupidchicken.com>
6920
6921 Change modes that used same-window-* vars to use switch-to-buffer.
6922
6923 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6924 Use switch-to-buffer.
6925
6926 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6927 (customize-browse, custom-buffer-create-other-window):
6928 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6929
6930 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6931 (Info-prev, Info-up, Info-speedbar-goto-node)
6932 (info-display-manual): Use switch-to-buffer.
6933 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6934
6935 * mail/sendmail.el (mail): Use switch-to-buffer.
6936 (mail-recover): Use switch-to-buffer-other-window.
6937
6938 * cmuscheme.el (run-scheme, switch-to-scheme):
6939 * ielm.el (ielm):
6940 * shell.el (shell):
6941 * net/rlogin.el (rlogin):
6942 * net/telnet.el (telnet, rsh):
6943 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6944
10195bd6
AS
69452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6946
6947 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6948
b322f63a
LMI
69492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6950
39d7fed6
LMI
6951 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6952 so don't mention it (bug#9301).
ba5a81f1 6953 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6954
ee0e9f11
LMI
6955 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6956 match `x', `w32' and `ns', like the manual says (bug#9029).
6957
0b1c89c1 6958 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6959 (process-kill-buffer-query-function): Mention the buffer name in
6960 the query.
0b1c89c1 6961
77549ea8
LMI
6962 * image-mode.el (image-next-line): The line parameter is mandatory
6963 (bug#9258).
6964
803ef892
LMI
6965 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6966 which can be useful (bug#9301).
6967
12980837
LMI
6968 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6969
91054f8f
LMI
6970 * subr.el (match-string): Mention that the current buffer should
6971 be the same as the search was done in (bug#9282).
6972
b322f63a
LMI
6973 * facemenu.el: Disable the remove-* commands if the mark isn't
6974 active (bug#9162).
6975
3199b96f
CY
69762011-09-10 Chong Yidong <cyd@stupidchicken.com>
6977
6978 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6979 of display-buffer.
6980 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6981
6982 * replace.el (occur-mode-goto-occurrence)
6983 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6984 and display-buffer.
6985
6986 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6987 display-buffer.
6988
6989 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6990 special-display and same-window variables.
6991 (mail-other-window): Use switch-to-buffer-other-window.
6992 (mail-other-frame): USe switch-to-buffer-other-frame.
6993
393a301e
SM
6994 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6995 Use display-buffer-other-frame.
3199b96f
CY
6996 (gdb-display-gdb-buffer): Use pop-to-buffer.
6997
6998 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6999
7000 * progmodes/python.el: Don't set same-window-buffer-names.
7001
7002 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7003
7004 * window.el (display-buffer-alist): Add *Python*.
7005
8319e0bf
CY
70062011-09-10 Chong Yidong <cyd@stupidchicken.com>
7007
7008 * window.el (display-buffer-alist): Add entry for buffers
7009 previously handled same-window-*.
7010 (display-buffer-alist, display-buffer-default-action)
7011 (display-buffer-overriding-action): Mark as risky.
7012 (display-buffer-alist): Document action function changes.
7013 (display-buffer--same-window-action)
7014 (display-buffer--other-frame-action): New variables.
7015 (switch-to-buffer, display-buffer-other-frame): Use them.
7016 (display-buffer): Rename reuse-frame entry to reusable-frames.
7017 (display-buffer-reuse-selected-window): Function deleted.
7018 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7019 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7020 (display-buffer-special): New function.
7021 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7022 display-buffer-reuse-or-pop-window. Split off special-display
7023 part into display-buffer-special.
7024 (display-buffer-use-some-window): Don't perform any special
7025 pop-up-frames handling.
7026 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7027 (display-buffer--maybe-same-window): Rename from
0d3ff375 7028 display-buffer-maybe-same-window.
8319e0bf 7029
919a69aa
CY
7030 * info.el: Don't set same-window-regexps.
7031 (info-setup): New function.
7032 (info-other-window, info): Call it.
7033
7034 * cus-edit.el: Don't set same-window-regexps.
7035 (customize-group): New argument.
7036 (customize-group-other-window): Use it.
7037 (customize-face, customize-face-other-window): Likewise.
7038 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7039
8319e0bf
CY
7040 * net/rlogin.el:
7041 * net/telnet.el:
7042 * progmodes/gud.el: Don't set same-window-regexps.
7043
7044 * cmuscheme.el:
7045 * ielm.el:
7046 * shell.el:
7047 * mail/sendmail.el:
7048 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7049
25173000
JL
70502011-09-10 Juri Linkov <juri@jurta.org>
7051
7052 * isearch.el (isearch-edit-string): Remove obsolete mention of
7053 `C-w' (`isearch-yank-word-or-char') from docstring.
7054 (isearch-query-replace): Fix typo in docstring (bug#9466).
7055
056e44ef
JL
70562011-09-10 Juri Linkov <juri@jurta.org>
7057
7058 * paren.el (show-paren-function): Don't show escaped parens.
7059 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7060
c3760c17
EZ
70612011-09-10 Eli Zaretskii <eliz@gnu.org>
7062
7063 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7064 (mm-default-file-encoding): Remove autoload forms, they are
7065 replaced with autoload cookies in mml.el and mm-encode.el.
7066 (mail-add-attachment): New command.
7067 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7068 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7069 the doc string.
7070 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7071
fece895e
RT
70722011-09-10 Reuben Thomas <rrt@sc3d.org>
7073
e69df516
SM
7074 * simple.el (count-words-region): Use buffer if there's no region
7075 (bug#9429).
fece895e 7076
5e68ce4a
JL
70772011-09-09 Juri Linkov <juri@jurta.org>
7078
7079 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7080 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7081 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7082
0a6b9622
AM
70832011-09-09 Alan Mackenzie <acm@muc.de>
7084
7085 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7086 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7087
14a29deb
EZ
70882011-09-09 Eli Zaretskii <eliz@gnu.org>
7089
7090 Fix for Savannah bug#9392.
7091 * simple.el (mail-encode-mml): New defvar.
7092
7093 * mail/rmail.el (mail-encode-mml): Add a defvar.
7094 (rmail-enable-mime-composing): Default to t.
7095 (rmail-forward): Use MIME method of forwarding only if both
7096 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7097 Set mail-encode-mml non-nil if the MIME method was used.
7098
7099 * mail/sendmail.el (mml-to-mime): Add autoload form.
7100 (mail-encode-mml): Add a defvar.
7101 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7102 to nil.
7103 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7104 message through mml-to-mime, and reset mail-encode-mml to nil.
7105
28c45130
GM
71062011-09-09 Glenn Morris <rgm@gnu.org>
7107
7108 * woman.el (woman-if-body): When processing an .el block,
7109 do not delete the next .el block as well. (Bug#9447)
69f4b618 7110 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7111
9b1c252e
MR
71122011-09-08 Martin Rudalics <rudalics@gmx.at>
7113
7114 * window.el (window-deletable-p): Make sure window is live before
7115 invoking window-prev-buffers.
7116
567457e3
LL
71172011-09-08 Leo Liu <sdl.web@gmail.com>
7118
7119 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7120
97f05794
JL
71212011-09-08 Juri Linkov <juri@jurta.org>
7122
7123 * progmodes/compile.el (compilation-environment): Make it
7124 a defcustom (bug#8340).
7125
8b0874b5
MR
71262011-09-08 Martin Rudalics <rudalics@gmx.at>
7127
7128 * window.el (frame-auto-delete): Rename to window-auto-delete.
7129 Make it control auto-deletion of windows and/or frames.
7130 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7131 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7132 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7133 Rewrite handling of case when window/frame can be deleted.
7134 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7135 argument t. (Bug#9456)
8b0874b5 7136
4feb6e73
CY
71372011-09-07 Chong Yidong <cyd@stupidchicken.com>
7138
7139 * help-mode.el (help-mode): Restore autoload.
7140
91ab9c13
JL
71412011-09-07 Juri Linkov <juri@jurta.org>
7142
7143 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7144 `compilation-environment'. Set buffer-local
7145 `compilation-environment' to `thisenv' later after (funcall mode).
7146 (Bug#8340)
7147
7148 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7149 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7150 instead of replacing its value. (Bug#8340)
7151
0527e251
JL
71522011-09-07 Juri Linkov <juri@jurta.org>
7153
7154 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7155 based on text properties put by `grep-filter' instead of matching
7156 escape sequences.
7157 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7158 to the value of `grep-error-screen-columns' (bug#9438).
7159
249f792c
JL
71602011-09-07 Juri Linkov <juri@jurta.org>
7161
7162 * simple.el (next-error-highlight, next-error-highlight-no-select):
7163 Doc fix (bug#9432).
7164
ff7271b9
OT
71652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7166
7167 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7168 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7169
183fc730
LL
71702011-09-07 Leo Liu <sdl.web@gmail.com>
7171
7172 * net/rcirc.el (rcirc-mode): Conditionally initialize
7173 rcirc-input-ring.
7174
77694924
SM
71752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * emacs-lisp/find-func.el (find-function-C-source): Only set
7178 find-function-C-source-directory after checking that we found a source
7179 file there (bug#9440).
7180
d809b8eb
AM
71812011-09-06 Alan Mackenzie <acm@muc.de>
7182
7183 * isearch.el (isearch-other-meta-char): Wherever a key list is
7184 unread, "unread" the prefix arg, too. This fixes bug #8901.
7185
453de99f
OG
71862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7187
7188 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7189
90439906
JL
71902011-09-05 Juri Linkov <juri@jurta.org>
7191
7192 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7193
f62bd846
JL
71942011-09-05 Juri Linkov <juri@jurta.org>
7195
7196 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7197 keeping point where processing of grep matches begins, and
7198 continue to delete remaining escape sequences from the same point.
7199 (grep-filter): Make leading zero optional in "0?1;31m" because
7200 git-grep emits "\033[1;31m" escape sequences unlike expected
7201 "\033[01;31m" as GNU Grep does (bug#9408).
7202 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7203
045820ec
JL
72042011-09-05 Juri Linkov <juri@jurta.org>
7205
7206 * subr.el (y-or-n-p): Capitalize "yes".
7207
f5e29b9b
MA
72082011-09-04 Michael Albinus <michael.albinus@gmx.de>
7209
7210 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7211 `tramp-cache-unload-hook' where appropriate.
7212 (tramp-methods): Rename `tramp-remote-sh' to
7213 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7214 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7215
7216 * net/tramp-sh.el (top): Don't require 'shell.
7217 (tramp-methods): Add `tramp-remote-shell' and
7218 `tramp-remote-shell-args' entries.
7219 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7220 (tramp-sh-handle-shell-command): Remove.
7221 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7222 Use `tramp-remote-shell'.
7223
2784c434
CY
72242011-09-03 Chong Yidong <cyd@stupidchicken.com>
7225
393a301e 7226 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7227 (sendmail-query-once): Save directly to send-mail-function.
7228 Update message-send-mail-function too.
7229
7230 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7231
464cdf56
CS
72322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7233
7234 * progmodes/python.el (python-mode-map): Use correct function to
7235 start python interpreter from menu-bar (as reported by Geert
7236 Kloosterman).
7237 (inferior-python-mode-map): Fix typo.
393a301e 7238 (python-shell-map): Remove.
464cdf56 7239
d37e5c87
DD
72402011-09-03 Deniz Dogan <deniz@dogan.se>
7241
7242 * net/rcirc.el (rcirc-print): Simplify code for
7243 rcirc-scroll-show-maximum-output. There is no need to walk
7244 through all windows to find the right one.
7245
f3ada0ee
CS
72462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7247
7248 * help.el (help-return-method): Doc fix.
7249
1f3c99ca
MR
72502011-09-03 Martin Rudalics <rudalics@gmx.at>
7251
7252 * window.el (window-deletable-p): Don't return a non-nil value
7253 when there's a buffer that was shown in the window before.
7254 (Bug#9419)
393a301e
SM
7255 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7256 Set window's previous buffers to nil.
1f3c99ca 7257
a3cf097f
EZ
72582011-09-03 Eli Zaretskii <eliz@gnu.org>
7259
7260 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7261 newline before and after the tag line, so it doesn't interfere
7262 with determining the paragraph direction of bidirectional text.
7263
3d03de90
LL
72642011-09-03 Leo Liu <sdl.web@gmail.com>
7265
7266 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7267
c3313451
CY
72682011-09-02 Chong Yidong <cyd@stupidchicken.com>
7269
393a301e 7270 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7271 (pop-to-buffer): Change interactive spec. Pass second argument
7272 directly to display-buffer.
7273 (display-buffer): Fix interactive spec. Use functionp to
7274 distinguish between a function and a list of functions.
7275
7276 * abbrev.el (edit-abbrevs):
7277 * arc-mode.el (archive-extract):
7278 * autoinsert.el (auto-insert):
7279 * bookmark.el (bookmark-bmenu-list):
7280 * files.el (find-file):
7281 * view.el (view-buffer):
7282 * progmodes/compile.el (compilation-goto-locus):
7283 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7284
89894cd8
CY
72852011-09-02 Chong Yidong <cyd@stupidchicken.com>
7286
7287 * window.el (display-buffer-alist): Doc fix.
7288 (display-buffer): Add docstring. Don't treat
7289 display-buffer-default specially.
7290 (display-buffer-reuse-selected-window)
7291 (display-buffer-same-window, display-buffer-maybe-same-window)
7292 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7293 (display-buffer-pop-up-window)
7294 (display-buffer-reuse-or-pop-window)
7295 (display-buffer-use-some-window): New functions.
7296 (display-buffer-default-action): Use them.
393a301e 7297 (display-buffer-default): Delete.
89894cd8
CY
7298 (pop-to-buffer-1): Fix choice of actions.
7299
ae0bc9fb
SM
73002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * minibuffer.el (completion--insert-strings): Don't get confused by
7303 completion entries that end with an LF char.
7304
e9d90883
EZ
73052011-09-01 Eli Zaretskii <eliz@gnu.org>
7306
7307 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7308
437014c8
CY
73092011-09-01 Chong Yidong <cyd@stupidchicken.com>
7310
7311 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7312 (display-buffer-same-window, display-buffer-other-window):
7313 New functions.
437014c8
CY
7314 (pop-to-buffer-1): New function. Use the above.
7315 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7316 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7317
7318 * view.el (view-buffer-other-window, view-buffer-other-frame):
7319 Just use pop-to-buffer.
7320
a5e063d5
TV
73212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7322
7323 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7324
793d32bb
WH
73252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7326
7327 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7328
d65e4c15
RS
73292011-08-31 Richard Stallman <rms@gnu.org>
7330
7331 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7332 of the separation of rmail-view-buffer from rmail-buffer.
7333 If you say no to "replace original", the decrypt is in the
7334 view buffer. If you say yes, the decrypt goes into the
7335 rmail buffer also.
7336
f818cd2a
MR
73372011-08-31 Martin Rudalics <rudalics@gmx.at>
7338
7339 * window.el (display-buffer-window): Rewrite doc-string.
7340 (display-buffer-record-window): New function.
7341 (display-buffer-macro-specifiers)
7342 (display-buffer-even-window-sizes, display-buffer-set-height)
7343 (display-buffer-set-width, display-buffer-in-window)
7344 (display-buffer-reuse-window, display-buffer-split-specifiers)
7345 (display-buffer-side-specifiers, display-buffer-split-window-1)
7346 (display-buffer-split-window, display-buffer-split-atom-window)
7347 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7348 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7349 (display-buffer-other-window-means-other-frame)
7350 (display-buffer-normalize-special)
7351 (display-buffer-normalize-default)
7352 (display-buffer-normalize-argument)
7353 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7354 (display-buffer-normalize-specifiers, display-buffer-frame)
7355 (display-buffer-same-window, display-buffer-same-frame)
7356 (display-buffer-other-window)
7357 (display-buffer-same-frame-other-window)
7358 (display-buffer-other-frame, pop-to-buffer-same-window)
7359 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7360 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7361 (switch-to-buffer-same-frame)
7362 (switch-to-buffer-other-window-same-frame)
7363 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7364 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7365 (display-buffer-alist-set): Remove.
7366 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7367 (special-display-regexps, special-display-function):
7368 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7369 parameter.
7370 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7371 (special-display-frame-alist, special-display-popup-frame)
7372 (same-window-buffer-names, same-window-regexps, same-window-p)
7373 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7374 (split-window-preferred-function, split-height-threshold)
7375 (split-width-threshold, window-splittable-p)
7376 (split-window-sensibly, window--try-to-split-window)
7377 (window--frame-usable-p, even-window-heights)
7378 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7379 (window--display-buffer-2, display-buffer-other-frame):
7380 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7381 (display-buffer-default, display-buffer-assq-regexp): New functions.
7382 (display-buffer-alist): Rewrite doc-string.
7383 (display-buffer-default-action)
7384 (display-buffer-overriding-action): New variables.
7385 (display-buffer, switch-to-buffer): Rewrite.
7386 (pop-to-buffer): Restore Emacs 23 behavior but use
7387 window-normalize-buffer-to-display.
7388 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7389 Restore Emacs 23 behavior but use
7390 window-normalize-buffer-to-switch-to.
7391 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7392 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7393 Rewrite using Emacs 23 options.
f818cd2a 7394
5bc3b51d
MA
73952011-08-31 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp.el (tramp-root-regexp): Remove.
7398 (tramp-completion-file-name-regexp-unified)
7399 (tramp-completion-file-name-regexp-separate)
7400 (tramp-completion-file-name-regexp-url): Don't use leading volume
7401 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7402 (tramp-drop-volume-letter): Simplify definition.
7403 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7404
b1a4f8e1
SM
74052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7408 (bug#9356).
7409
5664fa7b
RT
74102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7411
b1a4f8e1 7412 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7413
9a45d6c3
JL
74142011-08-29 Juri Linkov <juri@jurta.org>
7415
7416 * isearch.el (isearch-done): Don't display message "Mark saved"
7417 when arg `edit' is non-nil to prevent its flicker in the echo area.
7418
fb87e0fb
CY
74192011-08-28 Chong Yidong <cyd@stupidchicken.com>
7420
7421 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7422 obsolete packages for deletion.
7423
09ac1c2a
CS
74242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7425
7426 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7427 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7428 view-mode from help-mode.
7429 (help-xref-override-view-map): Remove.
7430 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7431 view-mode is not used anymore.
7432
7a1ff57f
CY
74332011-08-28 Chong Yidong <cyd@stupidchicken.com>
7434
7435 * server.el (server-port): Doc fix.
7436
b9696605
CY
7437 * cus-theme.el (custom-theme-choose-mode): Inherit from
7438 special-mode (Bug#9124).
7439 (custom-theme-choose-mode-map): Add special-mode to parent.
7440
ef8cdf8c
AM
74412011-08-28 Alan Mackenzie <acm@muc.de>
7442
7443 * progmodes/cc-fonts.el
7444 (c-make-font-lock-BO-decl-search-function): New function.
7445 (c-basic-matchers-after - "Fontify the clauses after various
7446 keywords"): Extract the three keyword lists for the 3 erroneous
7447 constructs from the list of four, and use the new function above
7448 in place of an old one.
7449
27de4e20
DD
74502011-08-28 Deniz Dogan <deniz@dogan.se>
7451
7452 * net/rcirc.el (rcirc-insert-prev-input)
7453 (rcirc-insert-next-input): Remove unused argument.
7454
356a3681
SM
74552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7458
3fc9b218
AM
74592011-08-27 Alan Mackenzie <acm@muc.de>
7460
7461 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7462 handle function pointer parameters properly.
7463
538a061c
MR
74642011-08-27 Martin Rudalics <rudalics@gmx.at>
7465
7466 * window.el (display-buffer-reuse-window): Fix case where
7467 selected window was reused with non-nil OTHER-WINDOW argument.
7468 (Bug#9381)
7469
35b1c40c
DD
74702011-08-27 Deniz Dogan <deniz@dogan.se>
7471
7472 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7473 oftc's NickServ messages.
7474
2f6a3e79
GM
74752011-08-27 Glenn Morris <rgm@gnu.org>
7476
7477 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7478
7254299e
CY
74792011-08-26 Chong Yidong <cyd@stupidchicken.com>
7480
7481 * emacs-lisp/package.el (package-install): Call package-initialize
7482 if called interactively.
7483
f8ccf167
LL
74842011-08-26 Leo Liu <sdl.web@gmail.com>
7485
7486 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7487
3e8cd5ce
JL
74882011-08-25 Juri Linkov <juri@jurta.org>
7489
7490 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7491 `search-whitespace-regexp' (bug#9364).
7492
93eb7113
JL
74932011-08-25 Juri Linkov <juri@jurta.org>
7494
7495 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7496 `regexp-search-ring' to their global values to protect from
7497 updating by `read-from-minibuffer' (bug#9185).
7498
f65d1611
JL
74992011-08-25 Juri Linkov <juri@jurta.org>
7500
7501 * textmodes/ispell.el (ispell-command-loop): Add newline
7502 at the end of the "Use option `i'..." line.
7503
f1cf7a31
JL
75042011-08-25 Juri Linkov <juri@jurta.org>
7505
7506 * battery.el (display-battery-mode): If `battery-status-function'
7507 or `battery-mode-line-format' is nil, display the message and set
7508 `display-battery-mode' to nil (bug#9363).
7509
0c95fcf7
EZ
75102011-08-25 Eli Zaretskii <eliz@gnu.org>
7511
7512 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7513 bidi-string-mark-left-to-right; they are unnecessary now.
7514
a2ebe600
DD
75152011-08-25 Deniz Dogan <deniz@dogan.se>
7516
7517 * net/quickurl.el: Documentation typo fixes.
7518
e4ed06f1
CY
75192011-08-25 Chong Yidong <cyd@stupidchicken.com>
7520
7521 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7522
e5f1c99e
GM
75232011-08-25 Glenn Morris <rgm@gnu.org>
7524
b2948976
GM
7525 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7526
e5f1c99e
GM
7527 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7528 (smtpmail-via-smtp): Handle nil response from smtp.
7529
f22f4808
JL
75302011-08-24 Juri Linkov <juri@jurta.org>
7531
7532 * proced.el (proced-marked): Inherit from `error' instead of
7533 `font-lock-warning-face'.
7534
7535 * ibuffer.el (ibuffer-marked-face): Change default face from
7536 `font-lock-warning-face' to `warning'.
7537 (ibuffer-deletion-face): Change default face from
7538 `font-lock-type-face' to `error'.
7539
7540 * battery.el (battery-update): Use the face `error' instead of
7541 `font-lock-warning-face' (bug#6117).
7542
6a93965e
JL
75432011-08-24 Juri Linkov <juri@jurta.org>
7544
7545 * faces.el (success): Change face color from "Green3" to
7546 "ForestGreen" on light background (bug#9353).
7547
1ed43b09
CY
75482011-08-24 Chong Yidong <cyd@stupidchicken.com>
7549
5664fa7b
RT
7550 * window.el (quit-window): Rename from quit-restore-window.
7551 Use same arglist as old quit-window.
1ed43b09
CY
7552 (frame-auto-delete): Doc fix.
7553
7554 * view.el (view-mode-exit): Use quit-window.
7555
11dcdbb2
JL
75562011-08-24 Juri Linkov <juri@jurta.org>
7557
7558 * isearch.el (isearch-ring-adjust1): Start visiting previous
7559 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7560 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7561 for empty search string (when the last search string is reused
7562 automatically) to adjust the isearch ring to the last element and
7563 prepare the correct index for further M-p commands (bug#9185).
7564
de62b4df
KH
75652011-08-24 Kenichi Handa <handa@m17n.org>
7566
7567 * international/ucs-normalize.el: If decomposition property of
7568 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7569 nil.
7570 (nfd, nfkd): Likewise.
7571
963b492b
SM
75722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7575 from process filters aren't reliably transmitted to the surrounding
7576 accept-process-output.
7577 (mpc-proc-check): New function.
7578 (mpc-proc-sync): Use it (bug#8293)
7579
93b6b5e1
SM
75802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7583 Add compatibility functions (bug#9313).
7584
bca633fb
EZ
75852011-08-23 Eli Zaretskii <eliz@gnu.org>
7586
b177498a
EZ
7587 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7588
6df6ae42 7589 * international/uni-bidi.el: Regenerate.
bca633fb 7590
0902a04e
KH
75912011-08-23 Kenichi Handa <handa@m17n.org>
7592
7593 * international/charprop.el:
7594 * international/uni-bidi.el:
7595 * international/uni-category.el:
7596 * international/uni-combining.el:
7597 * international/uni-comment.el:
7598 * international/uni-decimal.el:
7599 * international/uni-decomposition.el:
7600 * international/uni-digit.el:
7601 * international/uni-lowercase.el:
7602 * international/uni-mirrored.el:
7603 * international/uni-name.el:
7604 * international/uni-numeric.el:
7605 * international/uni-old-name.el:
7606 * international/uni-titlecase.el:
7607 * international/uni-uppercase.el: Regenerate.
7608
3bbf23bc
MR
76092011-08-23 Martin Rudalics <rudalics@gmx.at>
7610
7611 * help.el (help-window-setup): Fix message displayed when other
7612 window is reused. (Bug#9341)
7613
b3fd59bd
SM
76142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7615
1802e444
SM
7616 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7617 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7618
b3fd59bd
SM
7619 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7620 Mark obsolete.
7621 * shell.el (shell-parse-pcomplete-arguments): New function.
7622 (shell-completion-vars): Use it instead (bug#9160).
7623
4eb61348
SM
76242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7625
867cab74
SM
7626 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7627 strings and comments (bug#9333).
7628
4eb61348
SM
7629 * emacs-lisp/debug.el (debug-arglist): New function.
7630 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7631 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7632
262a1439
JL
76332011-08-22 Juri Linkov <juri@jurta.org>
7634
56ee679c
JL
7635 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7636 Revert regexp that highlights output switches to its old
7637 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7638
262a1439
JL
7639 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7640 to check for empty output (bug#9226).
7641
f13f86fb
CY
76422011-08-22 Chong Yidong <cyd@stupidchicken.com>
7643
7644 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7645 symbol-constituent as the default, as that stops font-lock from
7646 working properly (Bug#8843).
7647
c65c9622
LMI
76482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7649
7650 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7651 `coding-system-for-*' around the process open call to avoid
7652 auth-source side effects.
e7f2c178 7653 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7654 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7655 probe hangs.
c65c9622 7656
23a8a5ab
CY
76572011-08-21 Chong Yidong <cyd@stupidchicken.com>
7658
ff98b2dd
CY
7659 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7660
23a8a5ab
CY
7661 * emacs-lisp/find-func.el (find-function-noselect): New arg
7662 lisp-only.
7663
7664 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7665 signal an error for built-in functions (Bug#6664).
7666
f5e3c598
LMI
76672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7668
7669 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7670 (smtpmail-try-auth-methods): Use it.
7671
a3f2468a
CY
76722011-08-21 Chong Yidong <cyd@stupidchicken.com>
7673
2c34e8da
CY
7674 * font-lock.el (font-lock-fontify-region)
7675 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7676 (font-lock-default-unfontify-buffer)
7677 (font-lock-default-fontify-region)
7678 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7679
b3fd59bd
SM
7680 * progmodes/compile.el (compilation-error-properties):
7681 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7682 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7683 `ant' regexp.
ee31aabc 7684
a3f2468a
CY
7685 * net/browse-url.el (browse-url-firefox): Don't call
7686 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7687
8e999f70
GM
76882011-08-20 Glenn Morris <rgm@gnu.org>
7689
c21a496a
GM
7690 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7691
59ee0542
GM
7692 * tutorial.el (tutorial--default-keys): Update some default bindings.
7693
8e999f70
GM
7694 * files.el (hack-local-variables): Fully ignore case for "mode:".
7695
e3715033
AM
76962011-08-20 Alan Mackenzie <acm@muc.de>
7697
7698 Resolve invalid use of a regexp in regexp-opt.
7699
4d61f28d
JB
7700 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7701 detection for a java annotation.
e3715033 7702
4d61f28d 7703 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7704 detection for a java annotation.
7705
4d61f28d
JB
7706 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7707 handling for java.
e3715033
AM
7708 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7709
04ed2e9c
CY
77102011-08-20 Chong Yidong <cyd@stupidchicken.com>
7711
7712 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7713 (Bug#9274).
7714
826cee64
AM
77152011-08-20 Alan Mackenzie <acm@muc.de>
7716
58179cce 7717 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7718 such a construct. Mainly for when jit-lock etc. starts a chunk
7719 here.
7720
58179cce 7721 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7722 variable.
58179cce 7723 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7724 c-make-font-lock-search-function.
7725 (c-make-font-lock-search-function): Use the above function.
7726 (c-make-font-lock-context-search-function): New function.
7727 (c-cpp-matchers): Enhance the preprocessor expression case with
7728 the above function
7729 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7730 which takes an expression.
7731
7732 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7733
13009bd8
MR
77342011-08-20 Martin Rudalics <rudalics@gmx.at>
7735
7736 * window.el (display-buffer-reuse-window)
7737 (display-buffer-pop-up-window): Don't reuse or split a side
7738 window.
7739
9234ff7f
GM
77402011-08-19 Glenn Morris <rgm@gnu.org>
7741
7742 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7743 Downcase "Mode:". (Bug#9331)
9234ff7f 7744
f635daa1
CY
77452011-08-18 Chong Yidong <cyd@stupidchicken.com>
7746
7747 * international/characters.el: Add L and R categories.
7748
7749 * subr.el (bidi-string-mark-left-to-right): Rename from
7750 string-mark-left-to-right. Use category search.
7751
7752 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7753
bc987f8b
JL
77542011-08-18 Juri Linkov <juri@jurta.org>
7755
7756 * faces.el (error, warning, success): New faces with definitions
7757 copied from old default values of `font-lock-warning-face',
7758 `compilation-warning', `compilation-info' (bug#6117).
7759
7760 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7761
7762 * progmodes/compile.el (compilation-error): Inherit from `error'.
7763 (compilation-warning): Inherit from `warning'.
7764 (compilation-info): Inherit from `success'.
7765
7766 * dired.el (dired-marked): Inherit from `warning'.
7767 (dired-flagged): Inherit from `error'.
7768
57173b96
LMI
77692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7770
3e79eb87
LMI
7771 * mail/smtpmail.el (auth-source): Require to avoid problems with
7772 binding variables (bug#9298). Also clean up some unused
7773 autoloads.
7774
b3fd59bd
SM
7775 * net/network-stream.el (network-stream-open-starttls):
7776 Support using starttls.el without using gnutls-cli.
57173b96 7777
02b404de
JL
77782011-08-17 Juri Linkov <juri@jurta.org>
7779
7780 * progmodes/grep.el (rgrep): Handle the case when
7781 `grep-find-command' is a cons cell (bug#9278).
7782
8c9177f2
MR
77832011-08-17 Martin Rudalics <rudalics@gmx.at>
7784
7785 * window.el (display-buffer-pop-up-frame): Run frame creation
7786 function with BUFFER current (as special-display-popup-frame
7787 does). Reported by Drew Adams.
7788
3644a0ab
DU
77892011-08-17 Daiki Ueno <ueno@unixuser.org>
7790
7791 * epa-mail.el: Simplify GnuPG group expansion using
7792 epg-expand-group.
7793 (epa-mail-group-alist, epa-mail-group-modtime)
7794 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7795 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7796 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7797 Remove.
7798
5e617bc2 77992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7800
7801 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7802
9c4aeabf
AM
78032011-08-16 Alan Mackenzie <acm@muc.de>
7804
7805 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7806 Correct, to avoid the inside of macros.
7807
3a99bf64
RS
78082011-08-16 Richard Stallman <rms@gnu.org>
7809
04963aa8
RS
7810 * epa-mail.el: Handle GnuPG group definitions.
7811 (epa-mail-group-alist, epa-mail-group-modtime)
7812 (epa-mail-gnupg-conf-file): New variables.
7813 (epa-mail-parse-groups, epa-mail-sync-groups)
7814 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7815 (epa-mail-expand-recipients): New functions.
7816 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7817
177549d0
RS
7818 * mail/rmail.el (rmail-epa-decrypt): New command.
7819
fe38beef
RS
7820 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7821 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7822 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7823 (epa-decrypt-armor-in-region): Make error message clearer.
7824
934eacb9
SM
78252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7828 and "a2b" to "ab" for `prefix'.
7829
d024fb4e
CY
78302011-08-14 Chong Yidong <cyd@stupidchicken.com>
7831
7832 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7833 filter groups.
de148fee
CY
7834 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7835 Fourquet (Bug#8804).
d024fb4e 7836
62f1ca49
JB
78372011-08-12 Juanma Barranquero <lekktu@gmail.com>
7838
7839 * startup.el (argi): Declare as global variable (bug#9275).
7840
9ccaaa4b
CY
78412011-08-12 Chong Yidong <cyd@stupidchicken.com>
7842
7843 * subr.el (string-mark-left-to-right): Search the entire string
7844 for RTL script, not just the terminating character. Doc fix.
7845
a3dae87a
SM
78462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7847
6cd18349
SM
7848 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7849 New function.
7850 (js--regexp-literal, js-syntax-propertize-function): Remove.
7851 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7852 (js-mode-map): Don't rebind electric keys.
7853 (js-insert-and-indent): Remove.
7854 (js-mode): Setup electric-layout and electric-indent instead.
7855
a3dae87a
SM
7856 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7857
9d5cb631
DU
78582011-08-12 Daiki Ueno <ueno@unixuser.org>
7859
7860 * epa.el (epa-progress-callback-function): Fix the logic of
7861 displaying progress.
7862 * epa-file.el (epa-file-insert-file-contents): Make progress
7863 display more user-friendly.
7864 (epa-file-write-region): Ditto.
7865
3e26a4a2
CY
78662011-08-10 Chong Yidong <cyd@stupidchicken.com>
7867
7868 * subr.el (string-mark-left-to-right): New function.
7869
7870 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7871 Use string-mark-left-to-right.
7872 (list-buffers-noselect): Caller changed.
7873
a3dae87a
SM
7874 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7875 Use string-mark-left-to-right.
3e26a4a2
CY
7876 (tabulated-list-print): Recenter after moving point.
7877
ac8cf6e6
JL
78782011-08-10 Juri Linkov <juri@jurta.org>
7879
7880 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7881 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7882 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7883
8d96c9a4
CY
78842011-08-09 Chong Yidong <cyd@stupidchicken.com>
7885
7886 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7887 (Bug#7554).
7888
7be1c708 78892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7890
7891 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7892 character. (Bug#6594)
7893
37e11a63
CY
78942011-08-08 Chong Yidong <cyd@stupidchicken.com>
7895
839dde57
CY
7896 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7897 (image-dired--with-db-file): New macro.
7898 (image-dired-write-tags, image-dired-remove-tag)
7899 (image-dired-create-gallery-lists, image-dired-write-comments)
7900 (image-dired-get-comment, image-dired-mark-tagged-files)
7901 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7902 (image-dired-gallery-generate): Use insert-file-contents.
7903
37e11a63
CY
7904 * time.el (display-time-world-list, display-time-world-display):
7905 * time-stamp.el (time-stamp-string):
7906 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7907 set-time-zone-rule (Bug#7337).
7908
0b4946c4
DU
79092011-08-08 Daiki Ueno <ueno@unixuser.org>
7910
7911 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7912 (epg-error-to-string, epg-errors-to-string): New function.
7913 (epg-wait-for-completion): Reverse errors list.
7914 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7915 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7916 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7917 (epg-sign-keys, epg-generate-key-from-file)
7918 (epg-generate-key-from-string): Format errors by using
7919 epg-errors-to-string (bug#9255).
7920 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7921
75bfc667
JL
79222011-08-07 Juri Linkov <juri@jurta.org>
7923
7924 * faces.el (list-faces-display): Remove extra angle bracket
7925 from `help-mode-map'.
7926
7927 * info.el (Info-history-toc-nodes): Doc fix.
7928
7929 * longlines.el (longlines-mode): Doc fix.
7930
673e08bb
SM
79312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7932
4640dd88
SM
7933 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7934 of statements and in a few more cases (bug#9183).
7935
673e08bb
SM
7936 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7937 New functions.
7938 (cl-transform-lambda): Use them (bug#9239).
7939
89b3f019
MR
79402011-08-05 Martin Rudalics <rudalics@gmx.at>
7941
7942 * window.el (display-buffer-same-window)
7943 (display-buffer-same-frame, display-buffer-other-window)
7944 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7945 (pop-to-buffer-other-window)
7946 (pop-to-buffer-same-frame-other-window)
7947 (pop-to-buffer-other-frame): Make them defuns.
7948 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7949
640c8776
SM
79502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * subr.el (make-composed-keymap): Move from C. Change calling
7953 convention, and improve docstring to bring attention to a subtle point.
7954 * minibuffer.el (completing-read-default): Adjust accordingly.
7955
63648a95
MA
79562011-08-03 Michael Albinus <michael.albinus@gmx.de>
7957
7958 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7959 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7960
7961 * net/trampver.el: Update release number.
7962
b796c9b7
SM
79632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7966 "in" (bug#9190).
7967
2239d7d5
LMI
79682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
e07dd7c3
LMI
7970 * mail/sendmail.el (sendmail-query-once): Restore the current
7971 buffer after querying (bug#9074).
7972
0e6a2bd7
LMI
7973 * dired.el (dired-flagged): Use different faces for marked and
7974 flagged files (bug#6117).
7975
ce887515
LMI
7976 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7977 (bug#4433).
7978
92f2affc
LMI
7979 * ido.el (ido-mode): Switch off the message if called
7980 non-interactively.
7981
57d5aff0
LMI
7982 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7983 before 587, since it appears that that's more likely to work for
7984 more people.
7985
98cd6c18 7986 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7987 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7988 exist.
7989
b96dec83
LMI
7990 * info.el: Remove the `Info-beginning-of-buffer' function
7991 (bug#8325).
7992
b796c9b7
SM
7993 * net/network-stream.el (network-stream-open-starttls):
7994 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7995
d90e2ea0
MR
79962011-08-01 Martin Rudalics <rudalics@gmx.at>
7997
7998 * window.el (display-buffer-in-window): Don't set dedicated status
7999 of window here (Bug#9215).
8000 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8001 (display-buffer-pop-up-side-window)
b796c9b7 8002 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8003
cca09170
SM
80042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8007 before binding generated-autoload-file.
8008
027b979c
DD
80092011-08-01 Deniz Dogan <deniz@dogan.se>
8010
8011 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8012
3c7ee4f3
MA
80132011-07-30 Michael Albinus <michael.albinus@gmx.de>
8014
8015 Sync with Tramp 2.2.2.
8016
8017 * net/trampver.el: Update release number.
8018
2cc8e51a
JL
80192011-07-30 Juri Linkov <juri@jurta.org>
8020
8021 * dired-aux.el (dired-touch-initial): Remove function.
8022 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8023 current time, and `default' to the last modification time of the
8024 current marked file (bug#6887).
8025
a514d856
JM
80262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8027
8028 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8029 numeric argument to read-number (bug#9163).
a514d856 8030
8a7eddd7
MA
80312011-07-27 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8034 connection process, it could be nil.
8035
1ddd96f5
LL
80362011-07-27 Leo Liu <sdl.web@gmail.com>
8037
8038 Simplify url handling in rcirc-mode.
8039
8040 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8041 (rcirc-browse-url-at-mouse): Remove.
8042 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8043
b248a85d
AM
80442011-07-26 Alan Mackenzie <acm@muc.de>
8045
8046 Fontify bitfield declarations properly.
8047
8048 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8049 (c-symbol-chars): Now exported as a lang variable.
8050 (c-not-primitive-type-keywords): New lang variable.
8051
8052 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8053 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8054 parsed as a bitfield declaration.
b248a85d 8055
b796c9b7
SM
8056 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8057 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8058 (c-punctuation-in): New function.
8059 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8060 declarations properly.
8061
68575ab0
UJ
80622011-07-26 Ulf Jasper <ulf.jasper@web.de>
8063
8064 * calendar/icalendar.el (icalendar--all-events): Take care of
8065 multiple vcalendars in a single file.
b796c9b7 8066 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8067
0f0a88b9
DD
80682011-07-25 Deniz Dogan <deniz@dogan.se>
8069
8070 * image.el (insert-image): Clarifying docstring.
8071
0b3f36df
MA
80722011-07-24 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8075 `tramp-send-command-and-check' if there is no error.
8076 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8077
a9901f61
AM
80782011-07-22 Alan Mackenzie <acm@muc.de>
8079
8080 Prevent cc-langs.elc being loaded at run time.
8081
8082 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8083 cc-langs.
8084
4d61f28d 8085 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8086 "(require 'cc-langs)". Quote a form so it will evaluate at
8087 (cc-mode's) compilation time.
8088
11d074b2
MA
80892011-07-22 Michael Albinus <michael.albinus@gmx.de>
8090
8091 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8092 loading. (Bug#9114)
8093
938b94c8
MR
80942011-07-21 Martin Rudalics <rudalics@gmx.at>
8095
8096 * window.el (display-buffer-pop-up-window)
8097 (display-buffer-pop-up-side-window)
8098 (display-buffer-in-side-window): Call display-buffer-set-height
8099 and display-buffer-set-width after setting the new window's
b796c9b7 8100 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8101
bfa4f190
SS
81022011-07-20 Sam Steingold <sds@gnu.org>
8103
8104 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8105 (etags-tags-included-tables): Call `convert-standard-filename' on
8106 the file names contained in TAGS so that windows Emacs can handle
8107 TAGS files created by cygwin ctags.
8108
8ca42262
LMI
81092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8112 which apparently didn't work.
8113
5db2afd2 81142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8115
5db2afd2
RW
8116 * proced.el (proced-send-signal): For *Marked Processes* buffer
8117 put point at beginning of buffer.
8118
92e15d10
SB
81192011-07-19 Stephen Berman <stephen.berman@gmx.net>
8120
8121 * proced.el (proced-format): Make header lines align with the text
8122 (bug#1779).
8123
1bfd59e5
LMI
81242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8125
8126 * view.el (view-buffer): Allow running in `special' modes if we're
8127 visiting a file (bug#8615).
8128
f5aae37c
MR
81292011-07-19 Martin Rudalics <rudalics@gmx.at>
8130
8131 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8132 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8133 New functions.
f5aae37c
MR
8134 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8135 more accurately.
8136
bf2c1571
AM
81372011-07-18 Alan Mackenzie <acm@muc.de>
8138
8139 Fontify declarators properly when, e.g., a jit-lock chunk begins
8140 inside a declaration.
8141
8142 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8143
b796c9b7
SM
8144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8145 New function.
bf2c1571
AM
8146 (c-complex-decl-matchers): Insert reference to
8147 c-font-lock-enclosing-decls.
8148
8149 * progmodes/cc-engine.el (c-backward-single-comment):
8150 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8151 to nil around calls to (forward-comment -1).
8152
4e190b80
LMI
81532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8154
12dc863d
LMI
8155 * image.el (put-image): Doc typo fix.
8156
a762e966
LMI
8157 * progmodes/etags.el (tags-search): Doc typo fix.
8158
4e190b80
LMI
8159 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8160 password if we get errors 550 to 554.
8161
f019fb21
LMI
81622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8163
b796c9b7 8164 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8165
81746738
LMI
8166 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8167 indentation character (bug#6380).
8168
3ee3a1b5
LMI
8169 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8170
c82f64de
LMI
8171 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8172 to clarify what the problem is (bug#4291).
8173
f019fb21
LMI
8174 * simple.el (current-kill): Clarify what
8175 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8176 (auto-fill-mode): Document `auto-fill-function' in relation to
8177 `auto-fill-mode' (bug#2470).
f019fb21 8178
0794775d
LM
81792011-07-16 Lawrence Mitchell <wence@gmx.li>
8180
8181 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8182 method if slot is read-only (bug#9035).
8183
be39b8cc
MR
81842011-07-16 Martin Rudalics <rudalics@gmx.at>
8185
b796c9b7 8186 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8187 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8188 selected before, see discussion of (Bug#8615), (Bug#6954).
8189 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8190
6ccf7859
GM
81912011-07-15 Glenn Morris <rgm@gnu.org>
8192
8193 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8194 Respect help-form.
6ccf7859 8195
87e86684
LM
81962011-07-09 Lawrence Mitchell <wence@gmx.li>
8197
8198 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8199 (gnutls-negotiate): Use it.
8200
d6066239
LMI
82012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
b796c9b7
SM
8203 * net/gnutls.el (gnutls-negotiate):
8204 Upcase `gnutls-algorithm-priority'.
d6066239 8205
bd23ebc0
GM
82062011-07-15 Glenn Morris <rgm@gnu.org>
8207
c65bca65
GM
8208 * jka-compr.el (jka-compr-verbose): Move from here...
8209 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8210 Add missing :version tag.
8211 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8212
478615cc
LMI
82132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214
7b41decb
LMI
8215 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8216 (gnutls-negotiate): Use it.
8217
dbc44fcd
LMI
8218 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8219
06789f97
LMI
8220 * info.el (Info-beginning-of-buffer): New command.
8221 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8222 announcing `b' as the key (bug#8325).
ab896c37 8223 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8224
c39da690
LMI
8225 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8226
3aa5f34b
LMI
8227 * international/mule-cmds.el
8228 (describe-specified-language-support): Make the error message
8229 clearer (bug#8905).
8230
4bf0979f
LMI
8231 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8232
478615cc
LMI
8233 * isearch.el (isearch-barrier): Add a doc string, since it's
8234 mentioned in a function doc string (bug#8678).
8235
75c68aa1
MR
82362011-07-15 Martin Rudalics <rudalics@gmx.at>
8237
8238 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8239 buffer argument (Bug#9083) and self-identifying label argument.
8240
a7c33da2
GM
82412011-07-15 Glenn Morris <rgm@gnu.org>
8242
8243 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8244
2f5c6024
LMI
82452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8246
8247 * man.el (Man-fontify-manpage): Fix message when formatting the
8248 man page (bug#7929).
8249
0bb23927 82502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8251
8252 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8253 argument LRM; if non-nil, append an invisible LRM character to the
8254 buffer name.
8255 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8256 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8257 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8258 paragraph direction.
cce4b0a7 8259
621ef9ab
LMI
82602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8261
d1583c48
LMI
8262 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8263 the man page name (bug#7929).
8264
6a57fb5f
LMI
8265 * image.el (put-image): Mention the `put-image' overlay property
8266 (bug#7834).
8267
d7956b14
LMI
8268 * scroll-bar.el (set-scroll-bar-mode): Mention that
8269 `scroll-bar-mode' lists the values (bug#7772).
8270
5b2d4a66
LMI
8271 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8272 command (bug#7729).
8273
7509a874
LMI
8274 * rect.el (apply-on-rectangle): Return the point after the last
8275 operation.
8276 (string-rectangle): Go to the point after the last operation
8277 (bug#7522).
8278
4fe74b19
LMI
8279 * printing.el (pr-toggle-region): Clarify the documentation
8280 slightly (bug#7493).
8281
b796c9b7
SM
8282 * time.el (display-time-update):
8283 Allow `display-time-mail-function' to return nil (bug#7158).
8284 Fix suggested by Detlev Zundel.
ab283561 8285
fc233c9d
LMI
8286 * vc/diff.el (diff): Clarify the order the file names are read
8287 (bug#7111).
8288
43f5740b
LMI
8289 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8290 the doc string (bug#7015).
8291
f2182a76
LMI
8292 * font-lock.el (font-lock-maximum-decoration): Mention what
8293 numeric levels mean (bug#6935).
8294
621ef9ab
LMI
8295 * startup.el (initial-buffer-choice): Don't mention the `none'
8296 selection, which is against policy.
8297
adc47434
MR
82982011-07-14 Martin Rudalics <rudalics@gmx.at>
8299
b796c9b7
SM
8300 * window.el (display-buffer-normalize-special):
8301 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8302
7e5bfb8f
EZ
83032011-07-14 Eli Zaretskii <eliz@gnu.org>
8304
8305 * subr.el (version<, version<=, version=): Mention "-CVS" and
8306 "-12345" alpha version numbers.
8307
27fa387a
CY
83082011-07-14 Chong Yidong <cyd@stupidchicken.com>
8309
8310 * bindings.el: Add advertised binding for set-mark-command
8311 (Bug#5772).
8312
8bdfa064
CY
83132011-07-14 Chong Yidong <cyd@stupidchicken.com>
8314
8315 * bindings.el (mode-line-other-buffer):
8316 * bookmark.el (bookmark-bmenu-2-window):
8317 * bs.el (bs-cycle-next, bs-cycle-previous):
8318 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8319 switch-to-buffer.
8320
8321 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8322 Delete.
8bdfa064 8323
5eba16a3
JB
83242011-07-14 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * follow.el (follow-debug-message, follow-redisplay):
8327 * jka-cmpr-hook.el (with-auto-compression-mode):
8328 Fix typos in docstrings.
8329
15853710
LMI
83302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8331
a28e4607
LMI
8332 * subr.el (with-silent-modifications): Clarify somewhat what the
8333 macro inhibits (bug#6525).
8334
15853710
LMI
8335 * simple.el (eval-expression): Note what it does if called
8336 interactively (bug#6495).
8337
bee0fcef
CY
83382011-07-13 Chong Yidong <cyd@stupidchicken.com>
8339
b796c9b7
SM
8340 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8341 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8342
8343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8344 Remove switch-to-buffer.
8345
58274504
LMI
83462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
bd2fcc8d
LMI
8348 * files.el (make-directory): Clarify that an error will be raised
8349 if there's an error (bug#6397).
8350
0f04b32c
LMI
8351 * startup.el (initial-buffer-choice): Add `none' as a choice
8352 (bug#6234).
8353
465c5fc8
LMI
8354 * subr.el (add-hook): Clarify section about buffer-local hooks
8355 (bug#6218).
8356
58274504
LMI
8357 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8358
bead9a43
JB
83592011-07-13 Juanma Barranquero <lekktu@gmail.com>
8360
8361 * tabify.el (untabify): Preserve the current column so that point
8362 doesn't move (bug#6032).
8363
3af98a7b
LMI
83642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
b796c9b7
SM
8366 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8367 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8368
6240145a
GM
83692011-07-13 Glenn Morris <rgm@gnu.org>
8370
8371 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8372 (dired-insert-directory): Give a message the first time
8373 if ls is found not to support --dired.
8374
1d8c2ccc
LMI
83752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8376
8377 * simple.el (toggle-truncate-lines): Clarify what is toggled
8378 (bug#5580). Text by Drew Adams.
8379
5fc4038e
CY
83802011-07-13 Chong Yidong <cyd@stupidchicken.com>
8381
8382 * simple.el (blink-matching-open): Make the error message from the
8383 last change less verbose.
8384
bf6012e5
DN
83852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8386
8387 * font-lock.el (font-lock-comment-face): Use the high contrast
8388 "yellow" color for font-lock-comment-face on low color terminals
8389 using a dark background color (bug#4221).
8390
343c3b5a
LMI
83912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8392
7e9505c5
LMI
8393 * dired.el (dired-insert-set-properties): Make the doc string
8394 reflect what it does now (bug#5325).
8395
c26fdcf5
LMI
8396 * simple.el (blink-matching-open): Say that we were unable to find
8397 the match within the limit, if we're limited (bug#5122).
8398
bb388cc5
LMI
8399 * international/mule-cmds.el (prefer-coding-system): Add an
8400 example (bug#4869).
8401
343c3b5a
LMI
8402 * progmodes/etags.el (tags-search): Document `file-list-form'
8403 (bug#4731).
8404
2a517d45
LM
84052011-07-13 Lawrence Mitchell <wence@gmx.li>
8406
8407 * net/browse-url.el (browse-url-default-browser)
8408 (browse-url-browser-function): Make the default browser choice a
8409 bit more logical (bug#4300). Also clean up the doc string.
8410
b6c78ef2
JB
84112011-07-13 Juanma Barranquero <lekktu@gmail.com>
8412
8413 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8414 binary endings (bug#4440).
8415
1c4dd947
LMI
84162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8417
a2014063
LMI
8418 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8419 which can be pretty annoying (bug#8971).
8420
9c9c2d88
LMI
8421 * jka-compr.el (jka-compr-verbose): New variable, and use
8422 throughout (bug#8971).
8423
1c4dd947
LMI
8424 * info.el (Info-find-file): Fall back on the installation
8425 directory if we can't find the info node anywhere else.
8426
a1c9f41b
SO
84272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8428
8429 * vc/vc.el (vc-revert-file):
8430 Don't set file time-stamp in the past. (Bug#5181)
8431
536f3d36
LMI
84322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8433
7152b011
LMI
8434 * files.el (after-find-file): Give a better error message when
8435 trying to find a symlink that points to a file that doesn't exist
8436 (bug#4398).
8437
536f3d36
LMI
8438 * progmodes/cc-vars.el: Remove (probably) misleading comment
8439 (bug#4396).
8440
460c0fba
JB
84412011-07-12 Johan Bockgård <bojohan@gnu.org>
8442
8443 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8444
7a6bda45
CY
84452011-07-12 Chong Yidong <cyd@stupidchicken.com>
8446
8447 * mouse-sel.el: Hack restoring functionality, while keeping
8448 compatibility with 2010-07-03 changes to mouse selection.
8449 (mouse-sel-primary-overlay): New var.
8450 (mouse-sel-selection-alist): Use it.
8451 (mouse-sel-mode): Doc fix; remove points that are default features
8452 of mouse.el.
8453
c79598ef
JB
84542011-07-12 Johan Bockgård <bojohan@gnu.org>
8455
8456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8457 Fix previous fix (bug#2490).
8458
ff8be6ef
RW
84592011-07-12 Roland Winkler <winkler@gnu.org>
8460
b796c9b7
SM
8461 * textmodes/bibtex.el (bibtex-initialize):
8462 Use pop-to-buffer-same-window.
ff8be6ef
RW
8463 (bibtex-search-entries): Fix interactive call.
8464
296ba3ee
LMI
84652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
f5242a02 8467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8468 Fontise bytecomp Error lines more correctly (bug#2490).
8469 Fix suggested by Johan Bockgård.
f5242a02 8470
296ba3ee
LMI
8471 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8472
8473 * dired-x.el (dired-guess-default): Use `delete-dups'.
8474
f69fd0d2
CY
84752011-07-12 Chong Yidong <cyd@stupidchicken.com>
8476
8477 * dired.el (dired-mark-prompt):
8478 * dired-aux.el (dired-read-shell-command): Doc fix.
8479
eab5dc07
LMI
84802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
b796c9b7
SM
8482 * mail/sendmail.el (sendmail-query-once):
8483 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8484 emacs -Q.
8485
8486 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8487
eab5dc07
LMI
8488 * cus-edit.el (custom-file): Take an optional no-error variable.
8489 (customize-save-variable): Set the variable, and give a warning if
8490 running under "emacs -q".
8491
a1e65d42
JB
84922011-07-11 Juanma Barranquero <lekktu@gmail.com>
8493
8494 * loadhist.el (unload-feature-special-hooks):
8495 Add `auto-coding-functions', `fill-nobreak-predicate' and
8496 `find-directory-functions' (bug#5327).
8497
1d52da10
LMI
84982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8499
be958f1d
LMI
8500 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8501
5bedb26c
LMI
8502 * cus-edit.el (custom-guess-name-alist): -alist variables should
8503 use the `alist' type (bug#3120). Suggested by Drew Adams.
8504
1d52da10
LMI
8505 * printing.el: Add documentation to all the `pr-toggle-' commands.
8506
cd394be1 85072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8508
8509 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8510 backends where it makes sense (bug#2623).
8511
dcc88d8a
LMI
85122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513
c3de9feb
LMI
8514 * dired-x.el (dired-guess-default): Remove duplicate shell command
8515 entries (bug#2028).
8a93078b 8516 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8517 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8518
dcc88d8a
LMI
8519 * subr.el (remove-duplicates): New conveniency function.
8520
505e3645
LMI
85212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522
8523 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8524 (bug#1526).
8525
85262011-07-10 Martin Rudalics <rudalics@gmx.at>
8527
8528 * window.el (display-buffer-normalize-default): Don't invert
8529 meaning of even-window-heights. Reported by Eli Zaretskii
8530 <eliz@gnu.org>.
8531
455e4fa1
BR
85322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8533
8534 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8535
8e0bc3e9
CY
85362011-07-10 Chong Yidong <cyd@stupidchicken.com>
8537
8538 * window.el (display-buffer): Fix arguments to
8539 display-buffer-reuse-window in last change.
8540
fa7c3228
CY
8541 * faces.el (link): Use a less saturated blue on light backgrounds.
8542
8543 * startup.el (fancy-startup-text, fancy-about-text)
8544 (fancy-startup-tail): Use font-lock faces, for background safety.
8545
c0a7f300
BN
85462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8547
b796c9b7
SM
8548 * emulation/viper-cmd.el (viper-change-state-to-vi):
8549 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8550
4dc2a129
MR
85512011-07-09 Martin Rudalics <rudalics@gmx.at>
8552
8553 * window.el (display-buffer-default-specifiers): Remove.
8554 (display-buffer-macro-specifiers): Remove default specifiers.
8555 (display-buffer-alist): Default to nil.
b796c9b7 8556 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8557 (display-buffer-pop-up-window): Allow splitting internal
8558 windows. Check whether a live window was created.
8559 (display-buffer-other-window-means-other-frame)
8560 (display-buffer-normalize-arguments): Rename to
8561 display-buffer-normalize-argument and rewrite. Set the
8562 other-window specifier.
8563 (display-buffer-normalize-special): New function.
8564 (display-buffer-normalize-options): Rename to
8565 display-buffer-normalize-default and rewrite.
8566 (display-buffer-normalize-options-inhibit): Remove.
8567 (display-buffer-normalize-specifiers): Rewrite.
8568 (display-buffer): Process other-window specifier and call
8569 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8570 more faithfully.
b796c9b7 8571 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8572 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8573 (display-buffer-in-window, display-buffer-alist-set):
8574 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8575 <tassilo@member.fsf.org>.
8576
2d43b8c9
LL
85772011-07-09 Leo Liu <sdl.web@gmail.com>
8578
8579 * register.el (insert-register): Restore accidental change on
8580 2011-06-26. (Bug#9028)
8581
7f9b7c53
GM
85822011-07-09 Glenn Morris <rgm@gnu.org>
8583
8584 * subr.el (remq): Handle the empty list. (Bug#9024)
8585
f042cfd8
AS
85862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8587
8588 * mail/sendmail.el (send-mail-function): No longer delay custom
8589 initialization.
8590 * custom.el (custom-initialize-delay): Doc fix.
8591
856b2f11
SM
85922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8595
afae1d68
MA
85962011-07-08 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8599 human-friendly prompt.
8600
0757af94
SM
86012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8604 provided by a particular plugin.
8605
d760b731
LMI
86062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8607
8608 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8609 save customizations (with "emacs -Q"), just set the variable
8610 instead of erroring out.
8611
8612 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8613
cd79ce90
JL
86142011-07-08 Juri Linkov <juri@jurta.org>
8615
8616 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8617 (archive-zip-update-case): Use 7z if found by `executable-find'.
8618 The order of searching the available programs is the same as in
8619 `archive-zip-extract' (bug#8968).
8620
14cc04aa
CY
86212011-07-07 Chong Yidong <cyd@stupidchicken.com>
8622
8623 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8624 (menu-bar-options-menu): Tweak descriptions.
8625
0a1848ec
LMI
86262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8627
8628 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8629 menu items into verb phrases (bug#1421). Also refill to fit under
8630 80 columns.
8631
f5bd0689
CY
86322011-07-07 Chong Yidong <cyd@stupidchicken.com>
8633
538e85c6
CY
8634 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8635 (Info-read-node-name): Doc fix (Bug#1084).
8636
f5bd0689
CY
8637 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8638 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8639 (end-of-sexp, beginning-of-sexp)
8640 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8641 (forward-symbol, forward-same-syntax, word-at-point)
8642 (sentence-at-point): Doc fix (Bug#1144).
8643
56ec5115
LMI
86442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
f3f8e37f
LMI
8646 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8647 should cover it (bug#1281).
8648
0757af94 8649 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8650
e9fce1ac 8651 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8652 negotiation fails, then possibly try again with a non-encrypted
8653 connection (bug#9017).
8654
56ec5115
LMI
8655 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8656 be used.
8657
c2f9aec8
RS
86582011-07-07 Richard Stallman <rms@gnu.org>
8659
8660 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8661 property, and handle its changed format.
8662 Look for the correct line number.
8663 Use file's line contents (but not past first =) to find
8664 correct line in message.
8665
ef7b981d 86662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8667
8668 * international/characters.el (build-unicode-category-table):
8669 Delete it.
0757af94 8670 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8671
0757af94 8672 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8673 to src/chartab.c.
8674 (get-char-code-property): Call unicode-property-table-internal to
8675 load a file. Call get-unicode-property-internal where necessary.
8676 (put-char-code-property): Call unicode-property-table-internal to
8677 load a file. Call put-unicode-property-internal where necessary.
8678 put-unicode-property-internal where necessary.
0757af94
SM
8679 (char-code-property-description):
8680 Call unicode-property-table-internal to load a file.
c805dec0
KH
8681
8682 * international/charprop.el:
8683 * international/uni-bidi.el:
8684 * international/uni-category.el:
8685 * international/uni-combining.el:
8686 * international/uni-comment.el:
8687 * international/uni-decimal.el:
8688 * international/uni-decomposition.el:
8689 * international/uni-digit.el:
8690 * international/uni-lowercase.el:
8691 * international/uni-mirrored.el:
8692 * international/uni-name.el:
8693 * international/uni-numeric.el:
8694 * international/uni-old-name.el:
8695 * international/uni-titlecase.el:
8696 * international/uni-uppercase.el: Regenerate.
8697
8698 * loadup.el: Load international/charprop.el before
8699 international/characters.
8700
e14b388a
CY
87012011-07-07 Chong Yidong <cyd@stupidchicken.com>
8702
8703 * window.el (next-buffer, previous-buffer): Signal an error if
8704 called from a minibuffer window.
8705
8706 * bindings.el: Revert 2011-07-04 change.
8707
354cf0ba
RS
87082011-07-06 Richard Stallman <rms@gnu.org>
8709
8710 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8711 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8712 Treat markers like ints.
8713 (rmail-mime-entity): Doc fix.
8714
a48868a7
LMI
87152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716
4906cd3d
LMI
8717 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8718 defcustom again for backwards compatibility.
8719
e0457abe
LMI
8720 * simple.el (shell-command-on-region): Fill.
8721
d67f7e1f
LMI
8722 * dired-aux.el (dired-kill-line): Add a doc string.
8723
fe204702
LMI
8724 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8725 to "\\sw\\|\\s_" (bug#358).
8726
a48868a7
LMI
8727 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8728 (dired-unmark-backward): Ditto.
8729 (dired-flag-backup-files): Ditto.
8730
8731 * dired-x.el (dired-mark-sexp): Ditto.
8732
aa8a705c
RS
87332011-07-06 Richard Stallman <rms@gnu.org>
8734
8735 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8736 (rmail-mime-entity): New arg TRUNCATED.
8737 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8738 New functions.
8739 (rmail-mime-save): Warn if entity is truncated.
8740 (rmail-mime-toggle-hidden): Likewise, for showing.
8741 (rmail-mime-process-multipart): Record when an entity is truncated.
8742
a9a936b9
RS
8743 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8744 if ENTITY is a string.
8745
1f2b92cb
LMI
87462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8747
f4f73198 8748 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8749 of faces when `M-C-x'-ing their definitions (bug#8378).
8750 Also clean up the code slightly.
f4f73198 8751
12b16734 8752 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8753 because that makes the colors go away.
12b16734 8754
f0691d22
LMI
8755 * mail/sendmail.el (send-mail-function): Change the default to
8756 `sendmail-query-once'.
9e87df06 8757 (sendmail-query-once): Add an autoload cookie.
f0691d22 8758
1f2b92cb
LMI
8759 * net/network-stream.el (network-stream-open-starttls): Try using
8760 a plain connection even if the server offered STARTTLS, and we
8761 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8762 capability. This should make smtpmail.el work in slightly more
8763 configurations.
8764
1cdd2a1b
MA
87652011-07-06 Michael Albinus <michael.albinus@gmx.de>
8766
8767 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8768 New defun.
8769 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8770
fbcc67e2
MM
87712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8772
8773 * progmodes/sql.el: Version 3.0
0757af94 8774 (sql-product-alist): Add product :completion-object,
fbcc67e2 8775 :completion-column, and :statement attributes.
0757af94 8776 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8777 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8778 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8779 ansi keywords.
8780 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8781 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8782 (sql-oracle-show-reserved-words): New function for development.
8783 (sql-product-font-lock): Simplify for source code buffers.
8784 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8785 New functions.
8786 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8787 (sql-mode-map): Add statement movement functions.
8788 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8789 New variable.
fbcc67e2
MM
8790 (sql-statement-regexp, sql-beginning-of-statement)
8791 (sql-end-of-statement, sql-signum): New functions.
0757af94 8792 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8793 (sql-show-sqli-buffer): Bug fix.
8794 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8795 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8796 with sql-interactive-mode.
8797 (sql-save-connection): Save buffer local settings.
0757af94 8798 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8799 (sql-product-interactive): Bug fix.
8800 (sql-preoutput-hold): New variable.
8801 (sql-interactive-remove-continuation-prompt): Bug fixes.
8802 (sql-debug-redirect): New variable.
8803 (sql-str-literal): New function.
8804 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8805 Redesign.
fbcc67e2
MM
8806 (sql-oracle-save-settings, sql-oracle-restore-settings)
8807 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8808 (sql-completion-object, sql-completion-column)
8809 (sql-completion-sqlbuf): New variables.
8810 (sql-build-completions-1, sql-build-completions)
8811 (sql-try-completion): New functions.
8812 (sql-read-table-name): Use them.
8813 (sql-contains-names): New buffer local variable.
8814 (sql-list-all, sql-list-table): Use it.
8815 (sql-oracle-completion-types): New variable.
8816 (sql-oracle-completion-object, sql-sqlite-completion-object)
8817 (sql-postgres-completion-object): New functions.
8818
d4eaeab1
GM
88192011-07-06 Glenn Morris <rgm@gnu.org>
8820
8821 * window.el (pop-to-buffer): Doc fix.
8822
322b7dab 88232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8824
8825 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8826
322b7dab 88272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8828
322b7dab 8829 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8830
322b7dab 8831 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8832
605dd5bf
CY
88332011-07-05 Chong Yidong <cyd@stupidchicken.com>
8834
8835 * button.el (button): Inherit from link face. Suggested by Dan
8836 Nicolaescu.
8837
7dbfa719
SM
88382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8839
3db614b0
SM
8840 * progmodes/gdb-mi.el: Fit in 80 columns.
8841 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8842 switch-to-buffer.
8843
7dbfa719
SM
8844 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8845 if imenu is simply not configured (bug#8941).
8846
919d884a
KM
88472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8848
8849 * allout.el (allout-post-undo-hook): New allout outline-change
8850 event hook to signal undo activity.
8851 (allout-post-command-business): Run allout-post-undo-hook if an
8852 undo just occurred.
7dbfa719
SM
8853 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8854 * allout-widgets.el (allout-widgets-after-undo-function):
8855 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8856 in the vicinity of an undo.
8857 (allout-widgets-mode): Include allout-widgets-after-undo-function
8858 on the new allout-post-undo-hook.
8859
450a0f09
SM
88602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8863 Let define-derived-mode define it.
8864 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8865 cycles of abbrev-table inheritance (bug#8998).
8866
2de69e00
RW
88672011-07-05 Roland Winkler <winkler@gnu.org>
8868
8869 * textmodes/bibtex.el: Add support for biblatex.
8870 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8871 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8872 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8873 (bibtex-entry-alist, bibtex-field-alist): New variables.
8874 (bibtex-entry-field-alist): Obsolete alias for
8875 bibtex-BibTeX-entry-alist.
8876 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8877 (bibtex-set-dialect): New command.
8878 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8879 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8880 Bind via bibtex-set-dialect.
2de69e00
RW
8881 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8882 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8883 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8884 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8885 Define via bibtex-set-dialect.
450a0f09
SM
8886 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8887 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8888 (bibtex-vec-push, bibtex-vec-incr): New functions.
8889 (bibtex-format-entry, bibtex-field-list)
8890 (bibtex-print-help-message, bibtex-validate)
8891 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8892
2dcdbdd9
SM
88932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * progmodes/compile.el (compilation-goto-locus):
8896 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8897 * bs.el (bs-cycle-next, bs-cycle-previous):
8898 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8899 * bindings.el (mode-line-other-buffer):
8900 * autoinsert.el (auto-insert):
8901 * arc-mode.el (archive-extract):
8902 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8903
b27640fe
JB
89042011-07-05 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8907 Fix check of `emacs-lock-unlockable-modes'.
8908 Coerce true values of `emacs-lock--try-unlocking' to t.
8909
53bbe3ad
JB
89102011-07-05 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8913 * emacs-lock.el: New file.
8914
1d3cdbc7
JD
89152011-07-05 Julien Danjou <julien@danjou.info>
8916
8917 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8918 than `boundp' to check if face is set.
8919
9173deec
JB
89202011-07-05 Juanma Barranquero <lekktu@gmail.com>
8921
8922 * register.el (registerv-make):
8923 * window.el (window-min-height): Fix typos in docstrings.
8924
869795d6
JD
89252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8926
9173deec 8927 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8928 Update doc string.
8929
b768cdcd
JB
89302011-07-04 Juanma Barranquero <lekktu@gmail.com>
8931
8932 * server.el (server-execute): Catch quit and call
8933 `server-return-error' to pass the error back to emacsclient and
8934 close the connection (bug#8942).
8935
13aa217b
KM
89362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8937
8938 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8939 insecure exception for current topic. Also note that auto-saves
8940 are handled differently.
8941
5d3385a0 8942 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8943 State variables for tracking auto-save inhibition situation.
8944
8945 (allout-write-contents-hook-handler): Rename from
8946 'allout-write-file-hook-handler', and describe how it depends on
8947 write-contents-functions sensitivity to non-nil value to prevent
8948 file write.
8949
8950 (allout-auto-save-hook-handler): Remove. auto-save does not check
8951 this in individual buffers, only in the starting buffer, so this
8952 is not the right way for us to inhibit auto-save in a buffer
8953 according to its condition.
8954
8955 (allout-mode): Use new allout-write-contents-hook-handler, and
8956 only with write-contents-functions. Remove auto-save provisions -
8957 they're implemented elsewhere.
8958
8959 (allout-before-change-handler): If undo is in progress, note that
8960 for attention of allout-post-command-business.
8961
8962 (allout-post-command-business): If the command we're following was
8963 an undo, check for change in the status of encrypted items and
8964 adjust auto-save inhibitions accordingly.
8965
8966 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8967 according to whether there are or aren't any plain-text topics
8968 pending encryption.
8969
2dcdbdd9 8970 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8971 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8972 if there are plain-text topics pending encryption.
13aa217b
KM
8973
8974 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8975 buffer-saved-size and some allout state to not inhibit auto-saves
8976 if there are no longer any plain-text topics pending encryption.
8977
0757af94
SM
8978 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8979 No longer provide for exemption of the current topic.
13aa217b 8980
ac89b32c
JL
89812011-07-04 Juri Linkov <juri@jurta.org>
8982
8983 Add 7z operations to delete and save changed members (bug#8968).
8984 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8985 New defcustoms.
8986 (archive-7z-write-file-member): New function.
8987 (archive-7z-summarize): Fix the number of dashes in the
8988 listing output.
8989
8fa39615
SM
89902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8993 (bug#8958).
8994
2f11b3f1
CY
89952011-07-04 Chong Yidong <cyd@stupidchicken.com>
8996
d66fef2b
CY
8997 * bindings.el: Ignore next-buffer and previous-buffer in
8998 minibuffer-local-map.
8999
2f11b3f1
CY
9000 * font-lock.el (font-lock-builtin-face): Change light background
9001 color to dark slate blue (Bug#6693).
9002
f932a347
WD
90032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9004
9005 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9006
c8af70e1
SM
90072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9011 Add switch-to-buffer.
9012
f158badc
LMI
90132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9014
9015 * isearch.el (isearch-search-fun-function): Clarify further the
9016 meaning of the function returned.
9017
6d95bd46
MA
90182011-07-04 Michael Albinus <michael.albinus@gmx.de>
9019
9020 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9021
9022 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9023 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9024 Use it.
9025 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9026 `tramp-default-remote-path' does not exist.
9027 (tramp-send-command-and-read): New optional argument NOERROR.
9028 (tramp-open-connection-setup-interactive-shell)
9029 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9030 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9031 (tramp-process-sentinel): Flush also process' connection property.
9032 (tramp-sh-handle-start-file-process): Do not set process
9033 sentinel. It is done now ...
9034 (tramp-maybe-open-connection): ... here. (Bug#8929)
9035
909e6b67
MK
90362011-07-04 MON KEY <monkey@sandpframing.com>
9037
9038 * play/animate.el (animate-string): Doc fixes and allow changing
9039 the buffer name (bug#5417).
9040
90412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9042
c8af70e1 9043 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9044
f34755dc
PE
90452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9046
396cec72
PE
9047 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9048 This is simpler and helps future-proof the code.
9049 (timer-until): Use time-subtract and float-time.
08235028 9050 (timer--time-less-p): Use time-less-p.
f34755dc 9051
56e6cc31
JB
90522011-07-04 Juanma Barranquero <lekktu@gmail.com>
9053
3abb79e5
JB
9054 * type-break.el (timep): Use the value of `float-time' to avoid a
9055 byte-compiler warning.
9056
56e6cc31
JB
9057 * server.el (server-eval-and-print): Return any result, even nil.
9058
7b9430b4
PE
90592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9060
9061 * type-break.el: Accept time formats that the builtins accept.
9062 (timep, type-break-time-difference): Accept any format that
9063 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9064 This is simpler and helps future-proof the code.
9065 (type-break-time-difference): Round rather than ignoring
9066 subseconds components.
9067
3034e9e7
LMI
90682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9069
9070 * info.el (Info-apropos-matches): Make non-interactive, since it
9071 doesn't seem to do anything useful as a command (bug#8829).
9072
1485f4c0
CY
90732011-07-03 Chong Yidong <cyd@stupidchicken.com>
9074
9075 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9076 Move from faces.el.
1485f4c0
CY
9077 (frame-default-terminal-background): New function.
9078
9079 * custom.el (custom-push-theme): Don't record faces in `changed'
9080 theme; this doesn't work correctly for per-frame face settings.
9081 (disable-theme): Use face-set-after-frame-default to reset faces.
9082 (custom--frame-color-default): New function.
9083
9fa3dd45
LMI
90842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9085
c8af70e1 9086 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9087 (bug#8769).
9088
6cbbc20c
KR
90892011-03-29 Kevin Ryde <user42@zip.com.au>
9090
9091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9092 `perl-Test2' extend to match possible "fail #N" rep count
9093 (bug#8377).
9094
c7f98048
LMI
90952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9096
65676592
LMI
9097 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9098 `smtpmail-via-smtp' now returns the error instead of nil.
9099
c7f98048
LMI
9100 * isearch.el (isearch-search-fun-function): Clarify the doc string
9101 (bug#8101).
9102
56e6cc31 91032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9104
9105 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9106 unnecessary spaces (bug#8987).
9107
2b216704
LMI
91082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9109
9110 * net/network-stream.el (open-network-stream): Use the
9111 :end-of-capability command thoughout.
9112
91132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9114
9115 * net/network-stream.el (open-network-stream): Add the
9116 :end-of-capability command parameter, used by pop3.el.
9117
36adf6ce
LMI
91182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119
1ca0da0e
LMI
9120 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9121
fc00f69c
LMI
9122 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9123 for list)" (bug#6475).
9124
28fd8759 9125 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9126 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9127 an error (bug#6297).
9128
0dd8b6da
LMI
9129 * man.el (Man-reference-regexp): Allow matching possible
9130 word-wrapped references (bug#6289).
9131
ce1438d6
LMI
9132 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9133 for consistency with the other vc buffers (bug#6197).
9134 (vc-checkin): Ditto.
9135
9136 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9137
36adf6ce
LMI
9138 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9139
e83cc1f7
LMI
91402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
8a20ca4c
LMI
9142 * custom.el (defcustom): Clarify that :set is only used in the
9143 Customize user interface (bug#6089).
9144
83319045
LMI
9145 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9146 associated with a file, refuse to run instead of erroring out
9147 (bug#6084).
9148
a8392169
LMI
9149 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9150 the doc string, since it appears that using `fill-column' always
9151 controls the width (bug#7845).
9152
e83cc1f7
LMI
9153 * simple.el (shell-command-on-region): Say where the error output
9154 went if `shell-command-default-error-buffer' is set (bug#6857).
9155
e47ca23b
KM
91562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9157
9158 * allout.el (allout-yank-processing): Adjust cursor position for
9159 backwards-deleted space.
9160
9161 (allout-rebullet-heading): Register changes with
9162 allout-exposure-changed-hook, so the modified topic is properly
9163 decorated.
9164
5cf56143
LMI
91652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9166
08549772
LMI
9167 * minibuffer.el (completion-in-region): Document PREDICATE
9168 (bug#7136).
9169
48e96771
LMI
9170 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9171 of keyword/argument pairs (bug#6904).
9172
c8af70e1
SM
9173 * replace.el (multi-occur):
9174 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9175
e17d05e2
LMI
91762011-07-02 Drew Adams <drew.adams@oracle.com>
9177
9178 * dired.el (dired-mark-if): Make the message about whether it's
9179 marking or unmarking clearer (bug#8523).
9180
063b0e45
LMI
91812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9182
9183 * disp-table.el (display-table-print-array): New function.
9184 (describe-display-table): Use it to print the vectors more pretty
9185 (Bug#8859).
9186
28545e04
MR
91872011-07-02 Martin Rudalics <rudalics@gmx.at>
9188
9189 * window.el (window-state-get-1): Don't assign clone numbers.
9190 Add clone-of item to list of window parameters.
9191 (window-state-put-2): Don't process clone numbers.
9192 (display-buffer-alist): Fix doc-string.
9193
3349e122
SM
91942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * subr.el (remq): Don't allocate if it's not needed.
9197 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9198 (keymap--merge-bindings): New functions.
9199 (keymap-canonicalize): Use them to refine the canonicalization.
9200 * minibuffer.el (minibuffer-local-completion-map)
9201 (minibuffer-local-must-match-map): Move initialization from C.
9202 (minibuffer-local-filename-completion-map): Move initialization from C;
9203 don't inherit from anything here.
9204 (minibuffer-local-filename-must-match-map): Make obsolete.
9205 (completing-read-default): Use make-composed-keymap to combine
9206 minibuffer-local-filename-completion-map with either
9207 minibuffer-local-must-match-map or
9208 minibuffer-local-filename-completion-map.
9209
d224ac83
GM
92102011-07-01 Glenn Morris <rgm@gnu.org>
9211
3de63bf8
GM
9212 * type-break.el (type-break-time-sum): Use dolist.
9213
d224ac83
GM
9214 * textmodes/flyspell.el (flyspell-word-search-backward):
9215 Replace CL function.
9216
1a1e3f32
SM
92172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9218
fe3f64d5
SM
9219 * mouse.el (mouse--strip-first-event): New function.
9220 (function-key-map): Use it to map fringe clicks to normal clicks
9221 by default.
9222
eb604e34
SM
9223 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9224 (vc-bzr-revision-completion-table): Add support for annotate and date.
9225
1a1e3f32
SM
9226 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9227 inherit from parent.
9228
5bd35902
LMI
92292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
ace6c69c 9231 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9232 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9233
191e2bed
LMI
9234 * dired.el (dired-mode): Fix up the doc string as suggested by
9235 Drew Adams (bug#8817).
9236
5bd35902
LMI
9237 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9238 cookie, since the manual says that it should be possible to add
9239 this function to `find-file-hook' (bug#8709).
9240
eee8207a
TZ
92412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9242
9243 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9244 here. Noted Ted Zlatanov as the maintainer.
9245 (cfengine-common-settings, cfengine-common-syntax): New functions
9246 to set up common things between `cfengine-mode' and
9247 `cfengine3-mode'.
9248 (cfengine3-mode): New mode.
9249 (cfengine3-defuns cfengine3-defuns-regex
9250 (cfengine3-class-selector-regex cfengine3-category-regex)
9251 (cfengine3-vartypes cfengine3-font-lock-keywords)
9252 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9253 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9254
36b148cf
MA
92552011-07-01 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9258
9259 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9260
0bf4ba9a
MR
92612011-07-01 Martin Rudalics <rudalics@gmx.at>
9262
9263 * window.el (same-window-buffer-names, same-window-regexps)
9264 (same-window-p, special-display-frame-alist)
9265 (special-display-popup-frame, special-display-function)
9266 (special-display-buffer-names, special-display-regexps)
9267 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9268 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9269 (split-window-preferred-function, split-height-threshold)
9270 (split-width-threshold, even-window-heights)
9271 (display-buffer-mark-dedicated, window-splittable-p)
9272 (split-window-sensibly, window-safely-shrinkable-p):
9273 Un-obsolete.
9274 (display-buffer): Don't spread args with function specifier
9275 because special-display-popup-frame won't like it.
9276
35837f51
PE
92772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9278
d0672f86
PE
9279 Time-stamp simplifications and fixes.
9280 These improve accuracy slightly, and future-proof the code
9281 against some potential changes to current-time format.
9282
b9444d97
PE
9283 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9284 by using time-since and float-time.
9285
0ef923dc
PE
9286 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9287 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9288 + NNN microseconds".
9289
2f81380d
PE
9290 * type-break.el (type-break-time-sum): Rewrite using time-add.
9291
845b5c3e
PE
9292 * play/hanoi.el (hanoi-current-time-float): Remove.
9293 All uses replaced by float-time.
9294
ee6f1be0
PE
9295 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9296 This yields a more-accurate answer.
9297 (rng-time-to-float): Remove; no longer needed.
9298
fe955043
PE
9299 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9300
5777162a
PE
9301 * calendar/timeclock.el (timeclock-seconds-to-time):
9302 Defalias to seconds-to-time, since they're the same thing.
9303
3103f8b6 9304 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9305 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9306 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9307
0e61a35f
SM
93082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * window.el (bury-buffer): Don't iconify the only frame.
9311 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9312 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9313
ddd63a1e
CY
93142011-07-01 Chong Yidong <cyd@stupidchicken.com>
9315
0e61a35f
SM
9316 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9317 Add mouse-yank-primary.
ddd63a1e 9318
055f4923
TZ
93192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9320
9321 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9322
6a2fb145
SM
93232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9326 (find-library-name): Use it to find relative load names when provided
9327 absolute file name (bug#8803).
9328
fd4983f2
LMI
93292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9330
887d14ad
LMI
9331 * textmodes/flyspell.el (flyspell-word): Consider words that
9332 differ only in case as potential doublons (bug#5687).
9333
c53dc7fc
LMI
9334 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9335 Remove two rather uninteresting debugging-like messages to make
9336 debbugs.el more silent.
9337
fd4983f2
LMI
9338 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9339 a password-like phrase.
9340
7a71b18d 93412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9342
9343 * progmodes/cc-guess.el: New file.
9344
6a2fb145 9345 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9346
9347 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9348 derived from `c-basic-common-init'.
9349
9350 * progmodes/cc-mode.el (top-level): Require cc-guess.
9351 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9352
1fa280a3
LM
93532011-06-30 Lawrence Mitchell <wence@gmx.li>
9354
9355 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9356
e6597158
AM
93572011-06-30 Alan Mackenzie <acm@muc.de>
9358
1fa280a3
LM
9359 * progmodes/cc-engine.el (c-guess-continued-construct):
9360 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9361 lock is disabled. Name this case as "CASE G".
9362
68ba37fb
KM
93632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9364
9365 * allout.el (allout-yank-processing): Fix injection of extra space
9366 between bullet and non-whitespace character in first topic when
9367 pasting, ensuring that the actual spacing in the pasted topic
9368 following the bullet char is preserved. This extra space was
9369 causing pasted encrypted topics to get a decrypted status even
9370 when the content was actually still encrypted. Now the decryption
9371 status from before the paste is preserved.
9372
9373 (allout-flag-region): Set all allout overlays so they evaporate
9374 when reduced to zero length (evanescent), to prevent overlay
9375 leakage.
9376
887a0b34
GM
93772011-06-30 Glenn Morris <rgm@gnu.org>
9378
94b9acce
GM
9379 * w32-fns.el (w32-charset-info-alist): Declare.
9380
1d9b46d4
GM
9381 * find-dired.el (find-grep-options): Simplify.
9382
cc232200
GM
9383 * term/ns-win.el (ns-set-resource): Declare.
9384
28e77c46
GM
9385 * ses.el (row, col): Declare dynamic variables honestly.
9386
887a0b34
GM
9387 * textmodes/reftex-parse.el (index-tags): Declare.
9388
658d8eb8
CY
93892011-06-30 Chong Yidong <cyd@stupidchicken.com>
9390
9391 * cus-edit.el (customize-push-and-save): New function.
9392
9393 * files.el (hack-local-variables-confirm): Use it.
9394
1fa280a3
LM
9395 * custom.el (load-theme): New arg NO-CONFIRM.
9396 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9397 (custom-enabled-themes): Doc fix.
9398
9399 * cus-theme.el (customize-create-theme)
9400 (custom-theme-merge-theme): Callers to load-theme changed.
9401
bb617717
LMI
94022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9403
d61bdd5d
LMI
9404 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9405 short URLs have at least one dot in them (bug #7614).
9406
bb617717
LMI
9407 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9408 nil, because using a pty is apparently too slow (bug #895).
9409
2f31f37a
LMI
94102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
9412 * mail/sendmail.el (sendmail-query-once): New function.
9413 (sendmail-query-once-function): New variable.
9414
3076b24e
GM
94152011-06-29 Glenn Morris <rgm@gnu.org>
9416
faf2a174
GM
9417 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9418
3076b24e
GM
9419 * ses.el (top-level): Require cl when compiling.
9420 (ses-set-localvars): Fix error statement.
9421 Call it at compile time to silence a storm of warnings.
9422
5386012d
MR
94232011-06-29 Martin Rudalics <rudalics@gmx.at>
9424
9425 * window.el (normalize-live-buffer): Rename to
9426 window-normalize-buffer.
9427 (normalize-live-frame): Rename to window-normalize-frame.
9428 (normalize-any-window): Rename to window-normalize-any-window.
9429 (normalize-live-window): Rename to window-normalize-live-window.
9430 (make-window-atom): Rename to window-make-atom.
9431 (window-resize-reset): Rename to window--resize-reset.
9432 (window-resize-reset-1): Rename to window--resize-reset-1.
9433 (resize-mini-window): Rename to window--resize-mini-window.
9434 (resize-subwindows-skip-p): Rename to
9435 window--resize-subwindows-skip-p.
9436 (resize-subwindows-normal): Rename to
9437 window--resize-subwindows-normal.
9438 (resize-subwindows): Rename to window--resize-subwindows.
9439 (resize-other-windows): Rename to window--resize-siblings.
9440 (resize-this-window): Rename to window--resize-this-window.
9441 (resize-root-window): Rename to window--resize-root-window.
9442 (resize-root-window-vertically): Rename to
9443 window--resize-root-window-vertically.
9444 (normalize-buffer-to-display): Rename to
9445 window-normalize-buffer-to-display.
9446 (normalize-buffer-to-switch-to): Rename to
9447 window-normalize-buffer-to-switch-to.
9448 Correspondingly update all callers of the functions listed
9449 above.
9450 (display-buffer-alist, display-buffer-normalize-arguments)
9451 (display-buffer-normalize-options, display-buffer)
9452 (display-buffer-alist-set): Use "function" instead of
9453 "fun-with-args".
9454
1176868d
CY
94552011-06-28 Chong Yidong <cyd@stupidchicken.com>
9456
9457 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9458 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9459 debbugs.gnu.org. Mention acknowledgment email.
9460
20a7a65f
LMI
94612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9462
9463 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9464 buffer multibyteness, since it shouldn't matter.
9465
5f45cca5
MR
94662011-06-28 Martin Rudalics <rudalics@gmx.at>
9467
9468 * window.el (display-buffer-in-side-window): Handle dedicated
9469 windows as in display-buffer-reuse-window.
9470 (display-buffer-normalize-alist): Use value of override
9471 specifier.
9472 (display-buffer-normalize-specifiers): Use value of
9473 other-window-means-other-frame specifier.
9474 (display-buffer-alist): Rewrite some texts in widgets.
9475 (display-buffer): Spread arguments when calling function
9476 specified by fun-with-args.
9477
ad85fe1f
DD
94782011-06-28 Deniz Dogan <deniz@dogan.se>
9479
1fa280a3
LM
9480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9481 Unnest `let'.
da68c4c8 9482
ad85fe1f
DD
9483 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9484 selectors (Bug#5732).
ec49bd31 9485 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9486
a08cc025
JA
94872011-06-27 Jari Aalto <jari.aalto@cante.net>
9488
9489 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9490 (eshell-ls-date-format): New defcustom.
9491 (eshell-ls-file): Use it.
9492
e2b551c5
SM
94932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9496
8982b231
KY
94972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9498
9499 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9500 (ange-ftp-make-tmp-name): New arg.
9501 (ange-ftp-file-local-copy): Use it.
9502
36c9fa27
J
95032011-06-27 Jambunathan K <kjambunathan@gmail.com>
9504
9505 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9506 no-conversion (Bug#8870).
9507
d68443dc
MR
95082011-06-27 Martin Rudalics <rudalics@gmx.at>
9509
9510 * window.el (window-right, window-left, window-child)
9511 (window-child-count, window-last-child)
9512 (window-iso-combination-p, walk-window-tree-1)
9513 (window-atom-check-1, window-tree-1, delete-window)
9514 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9515 new naming conventions - window-vchild, window-hchild,
9516 window-next and window-prev are now called window-top-child,
9517 window-left-child, window-next-sibling and window-prev-sibling
9518 respectively.
d615d6d2
MR
9519 (resize-window-reset): Rename to window-resize-reset.
9520 (resize-window-reset-1): Rename to window-resize-reset-1.
9521 (resize-window): Rename to window-resize.
9522 (window-min-height, window-min-width)
9523 (resize-mini-window, resize-this-window, resize-root-window)
9524 (resize-root-window-vertically, adjust-window-trailing-edge)
9525 (enlarge-window, shrink-window, maximize-window)
9526 (minimize-window, delete-window, quit-restore-window)
9527 (split-window, balance-windows, balance-windows-area-adjust)
9528 (balance-windows-area, window-state-put-2)
9529 (display-buffer-even-window-sizes, display-buffer-set-height)
9530 (display-buffer-set-width, set-window-text-height)
9531 (fit-window-to-buffer): Rename all "resize-window" prefixed
9532 calls to use the "window-resize" prefix convention.
9533 (display-buffer-alist): Fix symbol for label specifier.
9534 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9535 corresponding specifier.
9536 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9537
b6458526
VB
95382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9539
9540 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9541 convention.
9542 (ses-call-printer): Does not pass an empty string to formatter when the
9543 cell is empty to keep from barking printer Calc math-format-value.
9544
d31fd9ac
RS
95452011-06-27 Richard Stallman <rms@gnu.org>
9546
43d5bf84
RS
9547 * battery.el (battery-mode-line-limit): New variable.
9548 (battery-update): Handle it.
9549
d31fd9ac
RS
9550 * mail/rmailmm.el (rmail-mime-process-multipart):
9551 Handle truncated messages.
9552
819a6054
GM
95532011-06-27 Glenn Morris <rgm@gnu.org>
9554
9555 * progmodes/flymake.el (flymake-err-line-patterns):
9556 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9557
cedc73f2
VB
95582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9559
819a6054 9560 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9561 (ses--clean-!, ses--clean-_): New functions.
9562 (ses-range): Add configurability of readout order, and conversion
9563 to Calc vector.
9564
5e5d49b6
VB
9565 * ses.el (ses-repair-cell-reference-all): New function.
9566 (ses-cell-symbol): Set macro as safe, so that it can be used in
9567 formulas.
9568
56e6cc31 9569 * ses.el: Update cycle detection algorithm.
90ca8b49 9570 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9571 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9572 (ses-set-localvars): New function.
9573 (ses-make-cell): Add property-list as a cell element.
9574 (ses-cell-property-get-fun, ses-cell-property-get)
9575 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9576 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9577 New functions.
90ca8b49
VB
9578 (ses-cell-property-set, ses-cell-property-pop)
9579 (ses-cell-property-get-handle): New macro.
9580 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9581 New aliases, used for code readability.
9582 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9583 cycle detection.
9584 (ses-self-reference-early-detection): New defcustom.
fac916bf 9585 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9586 (ses-mode): Use ses-set-localvars.
9587 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9588 before lauching the update processing.
9589 (ses-initialize-Dijkstra-attempt): New function.
9590 (ses-recalculate-cell): Update for cycle detection based on
9591 Dijkstra algorithm.
9592
2bb63e81
VB
9593 * ses.el: Fix commenting and indenting convention.
9594
c9d29fb8
SM
95952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * bs.el (bs-cycle-next): Complete last change.
9598
d8e4b68b
JB
95992011-06-27 Drew Adams <drew.adams@oracle.com>
9600
9601 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9602
40098786
LMI
96032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604
c9d29fb8
SM
9605 * net/network-stream.el (network-stream-open-starttls):
9606 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9607 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9608
40098786
LMI
9609 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9610 to binary to possibly avoid line encoding issues on Windows (among
9611 other things).
9612
468d09d4
LMI
96132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9614
9615 * net/network-stream.el (open-network-stream): Return an :error
9616 saying what the problem was, if possible.
9617
9618 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9619 server.
9620
9621 * net/network-stream.el (network-stream-open-starttls): If we
9622 wanted to use STARTTLS, and the server offered it, but we weren't
9623 able to because we had no STARTTLS support, then close the connection.
9624 (open-network-stream): Return an :error element, if present.
9625
16f07dd7
CY
96262011-06-26 Chong Yidong <cyd@stupidchicken.com>
9627
88821ca0
CY
9628 * hl-line.el (hl-line-sticky-flag): Doc fix.
9629 (global-hl-line-sticky-flag): New option (Bug#8323).
9630 (global-hl-line-highlight): Obey it.
9631
16f07dd7
CY
9632 * vc/vc.el (vc-revert-show-diff): Default to t.
9633
6b5ccddf
KM
96342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9635
c9d29fb8
SM
9636 * allout-widgets.el (allout-widgets-post-command-business):
9637 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9638 undecorated when an isearch is continued past, and isearch
9639 automatically collapses them. This leads to "widget leaks", where
9640 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9641 hidden widgets can slow down cursor travel, substantially.
9642 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9643 so we're doing without this nicety.
9644
9645 (allout-widgets-tally-string): Don't try to do a hash-table-count
9646 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9647 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9648 *Messages* when allout-widgets-maintain-tally is t.
9649
355f2e07
MR
96502011-06-26 Martin Rudalics <rudalics@gmx.at>
9651
9652 * window.el (display-buffer-normalize-argument): Rename to
9653 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9654 LABEL argument. Respect special-display-function when popping up
9655 a new frame. Fix code searching for a window showing the buffer
9656 on another frame.
c9d29fb8
SM
9657 (display-buffer-normalize-specifiers):
9658 Call display-buffer-normalize-arguments.
355f2e07
MR
9659 (display-buffer-in-window): Don't undedicate the window if its
9660 buffer remains the same.
9661 Reported by Drew Adams <drew.adams@oracle.com>.
9662 (display-buffer-alist): Add choice for same-window macro
9663 specfier.
9664 (display-buffer): Mention special meaning of LABEL argument in
9665 doc-string. Fix quoting. Don't pop up a new frame even as
9666 fallback.
9667
7ca8fc42
JB
96682011-06-26 Juanma Barranquero <lekktu@gmail.com>
9669
9670 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9671 avoid deleting the current window in some cases (bug#8911).
9672
bc312254
AS
96732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9676 (Bug#8934)
9677
2db18f3f
LMI
96782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9679
c9d29fb8
SM
9680 * net/network-stream.el (network-stream-open-starttls):
9681 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9682 (network-stream-open-tls): Ditto.
9683
6302e0d3
LL
96842011-06-26 Leo Liu <sdl.web@gmail.com>
9685
9686 * register.el (registerv): New struct.
9687 (registerv-make): New function.
c9d29fb8
SM
9688 (jump-to-register, describe-register-1, insert-register):
9689 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9690 struct. (Bug#8415)
9691
5fdd4046
CY
96922011-06-26 Chong Yidong <cyd@stupidchicken.com>
9693
2afef60a
CY
9694 * vc/vc.el (vc-revert-show-diff): New defcustom.
9695 (vc-diff-internal): New arg specifying diff buffer.
9696 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9697 reuse an existing *vc-diff* buffer (Bug#8927).
9698
5fdd4046
CY
9699 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9700
e93db24a
GM
97012011-06-26 Glenn Morris <rgm@gnu.org>
9702
9703 * progmodes/f90.el (f90-critical-indent): New option.
9704 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9705 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9706 (f90-mode): Doc fix.
9707 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9708 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9709 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9710 (f90-match-end): Handle block, critical.
9711
eefff499
GM
97122011-06-25 Glenn Morris <rgm@gnu.org>
9713
f6ba4cc9
GM
9714 * calendar/diary-lib.el (diary-included-files): Doc fix.
9715 (diary-include-files): New function, extracted from
9716 diary-include-other-diary-files and diary-mark-included-diary-files.
9717 (diary-include-other-diary-files, diary-mark-included-diary-files):
9718 Just call diary-include-files.
9719 (diary-mark-entries): Reset diary-included-files on first call.
9720
16712304
GM
9721 * calendar/diary-lib.el (diary-mark-entries)
9722 (diary-mark-included-diary-files):
9723 Visit included diary-files in temp buffers.
9724
5d8e0d43
GM
9725 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9726 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9727 (f90-start-block-re, f90-imenu-generic-expression)
9728 (f90-looking-at-program-block-start, f90-no-block-limit):
9729 Add support for submodules.
9730
ccf7a5d5
GM
9731 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9732 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9733
11fdef7d 97342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9735
9736 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9737 buffer-file-type before setting its value, to avoid disastrous
eefff499 9738 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9739
74f53697
JB
97402011-06-25 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9743
9744 * ses.el (ses-unload-function):
9745 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9746
9747 * proced.el (proced-unload-function):
9748 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9749
18a4ce5e
AR
97502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9751
9752 * server.el (server-create-window-system-frame): Add parameters arg.
9753 (server-process-filter): Doc fix. Handle frame-parameters.
9754
519d22cc
JB
97552011-06-25 Juanma Barranquero <lekktu@gmail.com>
9756
9757 Fix bug#8730, bug#8781.
9758
9759 * loadhist.el (unload--set-major-mode): New function.
9760 (unload-feature): Use it.
9761
9762 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9763 (python-unload-function): New function.
9764
c206f5b0
SM
97652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9768
f9ad64f3
GS
97692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9770
9771 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9772 the candidates list.
9773
7d0da90e
JB
97742011-06-24 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9777
14b4e83d
RS
97782011-06-23 Richard Stallman <rms@gnu.org>
9779
9780 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9781 (rmail-variables): Set next-error-move-function.
9782 (rmail-what-message): Take argument POS.
9783 (rmail-next-error-move): New function.
9784
273d2baf
SM
97852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9788 messages for adjacent non-terminals.
9789
56c2cc9a
RS
97902011-06-23 Richard Stallman <rms@gnu.org>
9791
9792 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9793 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9794 (rmail-start-mail): Don't specify use of rmail-mail-return;
9795 that's done by mail-bury now.
9796 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9797
d59eb518
MA
97982011-06-23 Michael Albinus <michael.albinus@gmx.de>
9799
9800 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9801 SIZE is a number.
9802
02cfc6d6
MR
98032011-06-23 Martin Rudalics <rudalics@gmx.at>
9804
9805 * window.el (get-lru-window, get-mru-window)
9806 (get-largest-window): Never return a minibuffer window.
9807 (display-buffer-pop-up-window): Fix a bug that could lead to
9808 reusing the minibuffer window.
9809 (display-buffer): Pass original specifier argument to
9810 display-buffer-function instead of the normalized one.
9811 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9812
4e323265
LL
98132011-06-22 Leo Liu <sdl.web@gmail.com>
9814
9815 * minibuffer.el (completing-read-function)
9816 (completing-read-default): Move from minibuf.c
9817
7a70468f
RS
98182011-06-22 Richard Stallman <rms@gnu.org>
9819
50718fc2
RS
9820 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9821 to Rmail even if not started by a special Rmail command.
9822
7a70468f
RS
9823 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9824 Copy the buffer currently showing just one message.
9825
297dde5a
RW
98262011-06-22 Roland Winkler <winkler@gnu.org>
9827
9828 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9829 (bibtex-clean-entry): First delete the old key so that a
9830 customized algorithm for generating the new key does not get
9831 confused by the old key.
9832 (bibtex-url): Obey regexp of first step.
9833 (bibtex-search-entries): Do not use add-to-list with local
9834 list-var.
9835
97bb1093
LMI
98362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9837
9838 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9839 stored a user name, then query for the password first, instead of
9840 waiting for SMTP to give an error message and the trying again.
9841
1c0f1a19
JD
98422011-06-22 Lawrence Mitchell <wence@gmx.li>
9843
9844 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9845 BUFFER in call-process.
9846
396f7c9d
LMI
98472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9848
9849 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9850 QUIT twice.
ddb7ffee
LMI
9851 (smtpmail-try-auth-methods): Require user name and password from
9852 auth-source.
396f7c9d 9853
8998d1b3
MR
98542011-06-22 Martin Rudalics <rudalics@gmx.at>
9855
9856 * window.el (display-buffer-default-specifiers)
9857 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9858 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9859 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9860
9861 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9862 (special-display-frame-alist, special-display-popup-frame):
9863 Remove duplicate declarations. These are now in window.el.
9864
4ea31e07
LMI
98652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
c9d29fb8
SM
9867 * mail/smtpmail.el (smtpmail-via-smtp):
9868 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9869 server supports it. SMTP servers that support STARTTLS commonly
9870 require it.
9871
9872 * net/network-stream.el (network-stream-open-starttls): Support
9873 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9874 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9875
95f41d9a
LMI
9876 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9877 upgrades with `open-network-stream', and rely solely on
9878 auth-source for all credentials. Big changes throughout the file,
9879 but in particular:
c9d29fb8
SM
9880 (smtpmail-auth-credentials): Remove.
9881 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9882 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9883 MAIL FROM, too.
95f41d9a 9884
c9d29fb8
SM
9885 * net/network-stream.el (network-stream-open-starttls):
9886 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9887 STARTTLS.
9888 (auth-source): Require.
9889 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9890 (network-stream-certificate): Change cert-cert to cert and
9891 cert-key to key.
4ea31e07 9892
065ec2c7
MA
98932011-06-21 Michael Albinus <michael.albinus@gmx.de>
9894
9895 * net/tramp-cache.el (top): Don't load the persistency file when
9896 "emacs -Q" has been called.
9897
cd93b359
DR
98982011-06-21 Tim Harper <timcharper@gmail.com>
9899
d8e4b68b
JB
9900 * term/ns-win.el (ns-initialize-window-system):
9901 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9902 resource to NO as it is not yet supported by the NS port.
9903
ae9c0411
JB
99042011-06-21 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9907 (list-dynamic-libraries): ...not here.
9908
7f3f739f
LL
99092011-06-21 Leo Liu <sdl.web@gmail.com>
9910
9911 * subr.el (sha1): Implement sha1 using secure-hash.
9912
327c8fb1
MR
99132011-06-21 Martin Rudalics <rudalics@gmx.at>
9914
9915 * window.el (display-buffer-alist): In default value do not
9916 enforce searching a window on any but the selected frame.
9917 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9918 (display-buffer-select-window): Remove function.
9919 (display-buffer-in-window): When a window on another frame gets
9920 reused, do not select it any more but just raise its frame if
9921 necessary (Bug#8851) and (Bug#8856).
9922 (display-buffer-normalize-options): Handle pop-up-frames related
9923 options more faithfully.
9924 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9925 window if it is on another frame.
c9d29fb8
SM
9926 (display-buffer-alist, display-buffer-default-specifiers):
9927 Don't make new frame unsplittable by default.
9e9de014
MR
9928 (display-buffer-normalize-argument): Fix doc-string typo and use
9929 'same-frame-other-window instead of 'other-window when associating
9930 with display-buffer-macro-specifiers.
327c8fb1 9931
7cf3f556
VB
99322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9933
9934 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9935 New functions.
9936 (5x5-mode-map, 5x5-mode-menu): Bind them.
9937 (5x5-draw-grid): Tweak the solver's rendering.
9938
60a406cf
SM
99392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9942 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9943
d8e4b68b 99442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9945
9946 * menu-bar.el: Use function variable instead of switch-to-buffer.
9947 (menu-bar-select-buffer-function): New variable.
60a406cf 9948 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9949
478d6f95
SM
99502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9953 variable's status.
9954
ca530739
JD
99552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9956
9957 * x-dnd.el (x-dnd-version-from-flags)
9958 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9959 and long as number (Bug#8899).
9960 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9961
bcd70d97
SM
99622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9963
60a406cf 9964 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9965 (completion-try-completion, completion-all-completions): Compute the
9966 metadata argument if it's missing; make it optional (bug#8795).
9967
60a406cf 9968 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9969 (widget-complete): Use new :completion-function property.
9970 (widget-completions-at-point): New function.
9971 (default): Use :completion-function instead of :complete.
60a406cf
SM
9972 (widget-default-completions): Rename from widget-default-complete;
9973 Rewrite.
bcd70d97
SM
9974 (widget-string-complete, widget-file-complete, widget-color-complete):
9975 Remove functions.
9976 (file, symbol, function, variable, coding-system, color):
9977 * international/mule-cmds.el (default-input-method, charset)
9978 (language-info-custom-alist):
9979 * cus-edit.el (face): Use new property :completions.
9980
9981 * progmodes/pascal.el (pascal-completions-at-point): New function.
9982 (pascal-mode): Use it.
9983 (pascal-mode-map): Use completion-at-point.
9984 (pascal-toggle-completions): Make obsolete.
9985 (pascal-complete-word, pascal-show-completions):
9986 * progmodes/octave-mod.el (octave-complete-symbol):
9987 Redefine as obsolete alias.
9988 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9989 Signal absence of completion info for old Octave,
9990 (inferior-octave-complete): Redefine as obsolete alias.
9991 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9992 (meta-completions-at-point): Rename from meta-complete-symbol and
9993 adapt it for use on completion-at-point-functions.
9994 (meta-common-mode): Use it.
9995 (meta-looking-at-backward, meta-match-buffer): Remove.
9996 (meta-complete-symbol): Redefine as obsolete alias.
9997 (meta-common-mode-map): Use completion-at-point.
9998 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9999 (makefile-mode-map): Use completion-at-point.
10000 (makefile-completions-at-point): Rename from makefile-complete and
10001 adapt it for use on completion-at-point-functions.
10002 (makefile-mode): Use it.
10003 (makefile-complete): Redefine as obsolete alias.
10004
aebf69c8
DD
100052011-06-20 Deniz Dogan <deniz@dogan.se>
10006
10007 * net/rcirc.el: Delete trailing whitespaces once and for all.
10008
bfbbb27d
DC
100092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10010
10011 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10012
d264a46b
CY
100132011-06-19 Chong Yidong <cyd@stupidchicken.com>
10014
4ca009e5
CY
10015 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10016
d264a46b
CY
10017 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10018
fbf5b3ce
MR
100192011-06-19 Martin Rudalics <rudalics@gmx.at>
10020
10021 * window.el (display-buffer-other-window-means-other-frame):
10022 Call display-buffer-normalize-alist.
10023 (display-buffer-normalize-specifiers-1): Rename to
10024 display-buffer-normalize-argument. New argument other-frame.
10025 Rewrite.
10026 (display-buffer-normalize-specifiers-2): Rename to
10027 display-buffer-normalize-options.
10028 (display-buffer-normalize-alist-1): New function.
10029 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10030 display-buffer-normalize-alist.
10031 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10032 (display-buffer-normalize-options-inhibit): New variable.
10033 (display-buffer-normalize-specifiers): Rewrite calling
10034 display-buffer-normalize-alist,
10035 display-buffer-normalize-argument, and
10036 display-buffer-normalize-options. Don't call the latter if
10037 display-buffer-normalize-options-inhibit is non-nil.
10038 (frame-auto-delete): New option.
10039 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10040 (window-list-no-nils, window-state-ignored-parameters)
10041 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10042 (window-state-put-1, window-state-put-2, window-state-put):
10043 New functions.
9a028c23
MR
10044 (display-buffer-normalize-options): Move special-display-p group
10045 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10046
6d10d800
CY
100472011-06-18 Chong Yidong <cyd@stupidchicken.com>
10048
6420d28b
CY
10049 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10050 groups (Bug#8776).
10051 (rx-submatch-n): New function.
10052 (rx): Document it.
10053
ddb8b596
CY
10054 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10055 (Bug#8768).
10056
10057 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10058
77080289
CY
10059 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10060
61dfb316
CY
10061 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10062 anytime existing face settings are present (Bug#8889).
10063
6d10d800
CY
10064 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10065 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10066 Remove unused argument.
10067
be3fb2b8
MR
100682011-06-18 Martin Rudalics <rudalics@gmx.at>
10069
bcd70d97
SM
10070 * window.el (display-buffer-default-specifiers):
10071 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10072 pop-up-window-min-width, and another reuse-window specifier
10073 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10074 (display-buffer-normalize-specifiers-2):
10075 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10076 pop-up-windows is unset. Add a reuse-window specifier for the
10077 case popping up a new window fails.
10078 (special-display-popup-frame): Remove double quoting.
28dec25a 10079 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10080
1c6d8c76
SM
100812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10084 according to comint-completion-addsuffix.
10085
10086 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10087 (pcomplete-suffix-list): Mark as obsolete.
10088 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10089 pcomplete-seen in the closure.
10090 (pcomplete-comint-setup): Setup completion-at-point as well.
10091 (pcomplete--entries): New function.
10092 (pcomplete--env-regexp): New var.
10093 (pcomplete-entries): Rewrite to work with partial-completion and
10094 without relying on pcomplete-suffix-list.
10095 (pcomplete-pare-list): Remove, unused.
10096
25aef8b8
MR
100972011-06-17 Martin Rudalics <rudalics@gmx.at>
10098
10099 * window.el (display-buffer-alist): Set pop-up-window-min-height
10100 and pop-up-window-min-width in default value. Reported by
10101 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10102 other-window-means-other-frame.
10103 (display-buffer-macro-specifiers): Comment out entry for
10104 other-window specifier.
10105 (display-buffer-other-window-means-other-frame): New function.
10106 (display-buffer-normalize-specifiers-1): New arguments
10107 buffer-name and label. Treat other-window case specially.
10108 (display-buffer-normalize-specifiers-2): Treat other-window case
10109 specially.
10110 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10111 (display-buffer-normalize-specifiers):
10112 Call display-buffer-normalize-specifiers-3.
25aef8b8 10113
dbad4f69
MR
101142011-06-17 Martin Rudalics <rudalics@gmx.at>
10115
10116 * window.el (same-window-p): Fix two typos introduced when
10117 adding with-no-warnings.
d1067961
MR
10118 (display-buffer-normalize-specifiers-1): Don't check
10119 pop-up-frames for 'unset initialization.
10120 (display-buffer-normalize-specifiers-2): Major rewrite using
10121 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10122 (pop-up-frames, display-buffer-reuse-frames)
10123 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10124 Suggested by David Engster <deng@randomsample.de>.
10125 (even-window-heights): Initialize to 'unset.
10126 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10127 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10128 other window case.
dbad4f69 10129
9b9c9e3a
MR
101302011-06-16 Martin Rudalics <rudalics@gmx.at>
10131
bcd70d97
SM
10132 * window.el (display-buffer-normalize-specifiers-1):
10133 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10134 second argument of display-buffer (Bug#8865).
981d5c09
MR
10135 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10136 (switch-to-buffer-other-window-same-frame)
10137 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10138 Adams (Bug#8875).
9c2755e9
MR
10139 (display-buffer): Don't check noninteractive when calling
10140 display-buffer-pop-up-frame.
10141 (display-buffer-pop-up-frame): Never pop up a frame in
10142 noninteractive mode (Bug#8857).
67222e1d
MR
10143 (enlarge-window, shrink-window): Don't report an error when the
10144 window can't be resized as requested (Bug#8862).
9b9c9e3a 10145
2b75be67
SM
101462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10147
9ffdd3ba
SM
10148 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10149
cb581a67
SM
10150 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10151
2b75be67
SM
10152 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10153
8c0e3589
AM
101542011-06-15 Alan Mackenzie <acm@muc.de>
10155
cb581a67
SM
10156 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10157 for declarators, disable knr checking to speed up for normal files.
10158 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10159
b96e6cde
LMI
101602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10161
4bba86e6
LMI
10162 * net/network-stream.el (open-network-stream): Add the keyword
10163 :always-query-capabilities for the case where you want to force a
10164 `plain' network connection, but the protocol still requires the
10165 capabilitiy command (i.e., SMTP and EHLO).
10166
2b75be67 10167 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10168 consistency with other `-live-p' functions.
10169
efdcdbf8
SM
101702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * window.el (same-window-buffer-names, same-window-regexps)
10173 (special-display-frame-alist, special-display-popup-frame)
10174 (special-display-function, special-display-buffer-names)
10175 (special-display-regexps, pop-up-frame-alist)
10176 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10177 (pop-up-windows, split-window-preferred-function)
10178 (split-height-threshold, split-width-threshold, even-window-heights)
10179 (display-buffer-mark-dedicated): Don't encourage the use of
10180 display-buffer-alist from Elisp code.
10181
c5cde042
DN
101822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10183
10184 * progmodes/python.el (python-mode): Derive from prog-mode.
10185 * progmodes/ps-mode.el (ps-mode):
10186 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10187 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10188 * progmodes/ld-script.el (ld-script-mode): Likewise.
10189
baa1c9ab
MR
101902011-06-15 Martin Rudalics <rudalics@gmx.at>
10191
10192 * window.el (display-buffer-alist): Trim default value to avoid
10193 popping up a new frame (Bug#8857) or reusing an arbitrary window
10194 on another frame.
10195 (display-buffer): Do not fall back on popping up a new frame in
10196 batch mode (Bug#8857).
10197
c5dd5a51
CY
101982011-06-14 Chong Yidong <cyd@stupidchicken.com>
10199
10200 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10201 (custom-theme-summary): New function.
10202 (customize-themes): Use it.
10203
d647b7c4
GM
102042011-06-13 Glenn Morris <rgm@gnu.org>
10205
10206 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10207
9481c002
MR
102082011-06-13 Martin Rudalics <rudalics@gmx.at>
10209
357f93d2
MR
10210 * help.el (help-window): Remove variable.
10211 (help-window-point-marker, temp-buffer-max-height)
10212 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10213 (help-print-return-message): Don't set help-window.
10214 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10215 (help-window-setup-finish): Remove.
10216 (help-window-display-message, help-window-setup)
10217 (with-help-window): Major rewrite based on new
10218 display-buffer-window variable.
10219
10220 * help-mode.el (help-mode-finish): Remove help-window related
10221 code.
10222
10223 * view.el (view-exits-all-viewing-windows): Remove reference to
10224 view-return-to-alist in doc-string.
10225 (view-return-to-alist): Make obsolete.
10226 (view-buffer): Call pop-to-buffer-same-window and remove
10227 undo-window code.
10228 (view-buffer-other-window): Call pop-to-buffer-other-window and
10229 simplify code. Ignore second argument.
10230 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10231 simplify code. Ignore second argument.
10232 (view-return-to-alist-update): Make obsolete.
10233 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10234 Rewrite using quit-restore window parameters.
2b75be67
SM
10235 (view-mode-exit): Rename second argument to EXIT-ONLY.
10236 Rewrite using quit-restore-window.
357f93d2
MR
10237 (View-exit, View-exit-and-edit, View-leave, View-quit)
10238 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10239 appropriate arguments.
10240 (view-end-message): Use quit-restore window parameter.
10241
9481c002
MR
10242 * window.el (display-buffer-function): Rewrite doc-string.
10243 (display-buffer-window, display-buffer-alist): New variables.
10244 (display-buffer-split-specifiers)
10245 (display-buffer-side-specifiers)
10246 (display-buffer-macro-specifiers): New constants.
10247 (display-buffer-even-window-sizes, display-buffer-set-height)
10248 (display-buffer-set-width, display-buffer-select-window)
10249 (display-buffer-in-window, display-buffer-reuse-window)
10250 (display-buffer-split-window-1, display-buffer-split-window)
10251 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10252 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10253 (display-buffer-in-side-window, normalize-buffer-to-display)
10254 (display-buffer-normalize-specifiers-1)
10255 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10256 (display-buffer-normalize-specifiers, display-buffer-frame):
10257 New functions.
9481c002
MR
10258 (display-buffer): Major rewrite.
10259 (display-buffer-other-window, display-buffer-other-frame)
10260 (pop-to-buffer, switch-to-buffer-other-window)
10261 (switch-to-buffer-other-frame): Rewrite.
10262 (display-buffer-same-window, display-buffer-same-frame)
10263 (display-buffer-same-frame-other-window)
10264 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10265 (pop-to-buffer-other-window)
10266 (pop-to-buffer-same-frame-other-window)
10267 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10268 (switch-to-buffer-other-window-same-frame): New functions.
10269 (same-window-p, special-display-p): Rewrite disabling warnings.
10270 Make obsolete.
10271 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10272 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10273 Make obsolete
10274 (same-window-buffer-names, same-window-regexps)
10275 (special-display-frame-alist, special-display-popup-frame)
10276 (special-display-function, special-display-buffer-names)
10277 (special-display-regexps, pop-up-frame-alist)
10278 (pop-up-frame-function, split-window-preferred-function)
10279 (split-height-threshold, split-width-threshold)
10280 (even-window-heights): Make obsolete.
10281
9db51aca
GM
102822011-06-12 Glenn Morris <rgm@gnu.org>
10283
10284 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10285 Misc simplifications.
9db51aca 10286
39cffb44
MR
102872011-06-12 Martin Rudalics <rudalics@gmx.at>
10288
10289 * window.el (window-safely-shrinkable-p): Restore function which
10290 was inadvertently removed in change from 2011-06-11. Declare as
10291 obsolete.
10292
2b75be67
SM
10293 * calendar/calendar.el (calendar-generate-window):
10294 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10295 window-safely-shrinkable-p.
10296
a8955be7
GM
102972011-06-12 Glenn Morris <rgm@gnu.org>
10298
10299 * progmodes/fortran.el (fortran-mode-syntax-table):
10300 * progmodes/f90.el (f90-mode-syntax-table):
10301 Set % to punctuation. (Bug#8820)
10302 (f90-find-tag-default): Remove, no longer needed.
10303
f0d4059d
DC
103042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10305
10306 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10307
1100a63c
CY
103082011-06-11 Chong Yidong <cyd@stupidchicken.com>
10309
10310 * image.el (image-animated-p): Return animation delay in seconds.
10311 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10312 (image-animate-timeout): Remove DELAY argument. Don't assume
10313 every subimage has the same delay; get it from image-animated-p.
10314 (image-animate): Caller changed.
10315
def722bf
MA
103162011-06-11 Michael Albinus <michael.albinus@gmx.de>
10317
10318 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10319 to ignored backtrace functions.
10320
0a2bb1a9
GM
103212011-06-11 Glenn Morris <rgm@gnu.org>
10322
10323 * calendar/appt.el (appt-disp-window-function): Doc fix.
10324 (appt-check): Handle overlapping appointments. (Bug#8337)
10325
6198ccd0
MR
103262011-06-11 Martin Rudalics <rudalics@gmx.at>
10327
10328 * window.el (window-tree-1, window-tree): New functions, moving
10329 the latter to window.el.
10330 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10331 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10332 (bw-refresh-edges): Remove.
10333 (balance-windows-1, balance-windows-2): New functions.
10334 (balance-windows): Rewrite in terms of window tree functions,
10335 balance-windows-1 and balance-windows-2.
10336 (bw-adjust-window): Remove.
10337 (balance-windows-area-adjust): New function with functionality of
10338 bw-adjust-window but using resize-window.
2b75be67
SM
10339 (set-window-text-height): Rewrite doc-string.
10340 Use normalize-live-window and resize-window.
10341 (enlarge-window-horizontally, shrink-window-horizontally):
10342 Rename argument to DELTA.
6198ccd0
MR
10343 (window-buffer-height): New function.
10344 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10345 Rewrite using new window resize routines.
2b75be67
SM
10346 (kill-buffer-and-window, mouse-autoselect-window-select):
10347 Use ignore-errors instead of condition-case.
6198ccd0
MR
10348 (quit-window): Call delete-frame instead of delete-windows-on
10349 for the only buffer on frame.
10350
9397e56f
MR
103512011-06-10 Martin Rudalics <rudalics@gmx.at>
10352
10353 * loadup.el (top-level): Load window before files for the sake
10354 of replace-buffer-in-windows.
10355
10356 * files.el (read-buffer-to-switch)
10357 (switch-to-buffer-other-window)
2b75be67
SM
10358 (switch-to-buffer-other-frame, display-buffer-other-frame):
10359 Move to window.el.
9397e56f
MR
10360
10361 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10362 (previous-buffer): Move to window.el.
10363
10364 * bindings.el (unbury-buffer): Move to window.el.
10365
10366 * window.el (delete-other-windows-vertically): Move after
10367 definition of delete-other-windows.
10368 (other-window, delete-windows-on, replace-buffer-in-windows):
10369 Move here from window.c.
10370 (record-window-buffer, unrecord-window-buffer)
10371 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10372 (switch-to-next-buffer): New functions.
10373 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10374 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10375 (previous-buffer): Move here from simple.el.
10376 Call switch-to-prev-buffer.
9397e56f
MR
10377 (bury-buffer): Move here from buffer.c. Switch to previous
10378 buffer when window cannot be deleted.
10379 (unbury-buffer): Move here from bindings.el.
10380 (ctl-x-map): Move binding for other-window from window.c to
10381 here.
10382 (read-buffer-to-switch, switch-to-buffer-other-window)
10383 (switch-to-buffer-other-frame): Move here from files.el.
10384 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10385 (switch-to-buffer): Move here from buffer.c.
10386 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10387
562dd5e9
MR
103882011-06-10 Martin Rudalics <rudalics@gmx.at>
10389
10390 * window.el (window-min-height, window-min-width): Move here
10391 from window.c. Add defcustoms and rewrite doc-strings.
10392 (resize-mini-window, resize-window): New functions.
10393 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10394 Move here from window.c.
10395 (maximize-window, minimize-window): New functions.
10396 (delete-window, delete-other-windows, split-window): Move here
10397 from window.c.
10398 (window-split-min-size): New function.
10399 (split-window-keep-point): Mention split-window-above-each-other
10400 instead of split-window-vertically.
2b75be67 10401 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10402 Rename split-window-vertically to split-window-above-each-other
10403 and provide defalias for old definition.
10404 (split-window-side-by-side, split-window-horizontally):
10405 Rename split-window-horizontally to split-window-side-by-side
10406 and provide defalias for the old definition.
562dd5e9
MR
10407 (ctl-x-map): Move bindings for delete-window,
10408 delete-other-windows and enlarge-window here from window.c.
10409 Replace bindings for split-window-vertically and
10410 split-window-horizontally by bindings for
10411 split-window-above-each-other and split-window-side-by-side.
10412
10413 * cus-start.el (all): Remove entries for window-min-height and
10414 window-min-width. Add entries for window-splits and
10415 window-nest.
10416
f0da764a
GM
104172011-06-09 Glenn Morris <rgm@gnu.org>
10418
80675c21
GM
10419 * calendar/appt.el (appt-mode-line): New function.
10420 (appt-check, appt-disp-window): Use it.
10421
f0da764a
GM
10422 * files.el (hack-one-local-variable-eval-safep):
10423 Allow minor-modes with explicit +/-1 arguments.
10424
59f623b7
TZ
104252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10426
10427 * term/xterm.el (xterm): Add defgroup.
10428 (xterm-extra-capabilities): Add defcustom to supply known xterm
10429 capabilities, skip querying them, or query them (default).
10430 (terminal-init-xterm): Use it.
10431 (terminal-init-xterm-modify-other-keys): New function to set up
10432 modifyOtherKeys support to simplify `terminal-init-xterm'.
10433
9aab8e0d
MR
104342011-06-09 Martin Rudalics <rudalics@gmx.at>
10435
10436 * window.el (resize-window-reset, resize-window-reset-1)
10437 (resize-subwindows-skip-p, resize-subwindows-normal)
10438 (resize-subwindows, resize-other-windows, resize-this-window)
10439 (resize-root-window, resize-root-window-vertically)
10440 (window-deletable-p, window-or-subwindow-p)
10441 (frame-root-window-p): New functions.
10442
e8b08aee
GM
104432011-06-09 Glenn Morris <rgm@gnu.org>
10444
10445 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10446 (ange-ftp-get-files): Use it.
10447
254c37a5
AK
104482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10449
10450 * mail/sendmail.el (mail-recover-1, mail-recover):
10451 * files.el (recover-file, recover-session):
10452 Handle dired-listing-switches not being just a single short option.
10453
35d7dbd3
GM
104542011-06-09 Glenn Morris <rgm@gnu.org>
10455
10456 * calendar/appt.el (appt-display-message, appt-disp-window):
10457 Handle lists of appointments.
10458
387522b2
MR
104592011-06-08 Martin Rudalics <rudalics@gmx.at>
10460
2b75be67
SM
10461 * window.el (one-window-p): Move down in code.
10462 Rewrite doc-string.
10463 (window-current-scroll-bars): Rewrite doc-string.
10464 Normalize live window argument.
387522b2
MR
10465 (walk-windows, get-window-with-predicate, count-windows):
10466 Rewrite doc-string. Use window-list-1.
10467 (window-in-direction-2, window-in-direction, get-mru-window):
10468 New functions.
10469
d8e4b68b 104702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10471
10472 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10473 Doc fix (Bug#8713).
10474
104752011-06-08 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10478
104792011-06-08 Juanma Barranquero <lekktu@gmail.com>
10480
10481 * loadhist.el (unload-feature-special-hooks):
10482 Add `comint-output-filter-functions'.
10483
0de12c52
IK
104842011-06-08 Ivan Kanis <gnu@kanis.fr>
10485
10486 * calendar/appt.el (appt-check): Move some initializations into the let.
10487
f3d1777e
MR
104882011-06-08 Martin Rudalics <rudalics@gmx.at>
10489
10490 * window.el (window-height): Defalias to window-total-height.
10491 (window-width): Defalias to window-body-width.
10492
18af70d0
CY
104932011-06-07 Chong Yidong <cyd@stupidchicken.com>
10494
10495 * image-mode.el (image-toggle-animation): New command.
10496 (image-mode-map): Bind it to RET.
10497 (image-mode): Update message.
10498 (image-toggle-display-image): Avoid a spurious cache flush.
10499 (image-transform-rotation): Doc fix.
10500 (image-transform-properties): Return quickly in the normal case.
10501 (image-animate-loop): Rename from image-animate-max-time.
10502
2b75be67 10503 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10504 (create-animated-image): Remove unnecessary function.
10505 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10506 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10507 (image-animate-timer): Use car-safe.
10508 (image-animate-timeout): Rename argument.
10509
190b47e6
MR
105102011-06-07 Martin Rudalics <rudalics@gmx.at>
10511
10512 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10513 window.c. Rename first argument to ALL-FRAMES.
10514 Rephrase doc-strings.
10515 (get-buffer-window-list): Rewrite using window-list-1.
10516 Rephrase doc-string.
a1511caf
MR
10517 (window-safe-min-height, window-safe-min-width): New constants.
10518 (window-size-ignore, window-min-size, window-min-size-1)
10519 (window-sizable, window-sizable-p, window-size-fixed-1)
10520 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10521 (window-max-delta-1, window-max-delta, window-resizable)
10522 (window-resizable-p, window-total-height, window-total-width)
10523 (window-body-width): New functions.
10524 (window-full-height-p, window-full-width-p): Rewrite using
10525 window-total-size.
10526 (window-body-height): Rewrite using window-body-size.
190b47e6 10527
85cc1f11
MR
105282011-06-06 Martin Rudalics <rudalics@gmx.at>
10529
10530 * window.el (window-right, window-left, window-child)
10531 (window-child-count, window-last-child, window-any-p)
10532 (normalize-live-buffer, normalize-live-frame)
10533 (normalize-any-window, normalize-live-window)
10534 (window-iso-combination-p, window-iso-combined-p)
10535 (window-iso-combinations)
10536 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10537 (windows-with-parameter, window-with-parameter)
10538 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10539 (window-atom-check, window-side-check, window-check):
10540 New functions.
85cc1f11
MR
10541 (ignore-window-parameters, window-sides, window-sides-vertical)
10542 (window-sides-slots): New variables.
10543 (window-size-fixed): Move down in code. Minor doc-string fix.
10544
e7156492
AS
105452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10546
10547 * comint.el (comint-dynamic-complete-as-filename)
10548 (comint-dynamic-complete-filename): Correctly call
10549 completion-in-region.
10550
7e821d0d
DD
105512011-06-05 Deniz Dogan <deniz@dogan.se>
10552
10553 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10554 in last change.
10555
ac09b8a1
DD
105562011-06-05 Deniz Dogan <deniz@dogan.se>
10557
10558 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10559 (rcirc): Use it to prompt for encryption.
10560
34699b85
RW
105612011-06-05 Roland Winkler <winkler@gnu.org>
10562
10563 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10564 (bibtex-search-entries): New command bound to C-c C-a.
10565 (bibtex-display-entries): New function.
10566
004dedd3
RW
105672011-06-05 Roland Winkler <winkler@gnu.org>
10568
10569 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10570 (bibtex-insert-kill): After yanking insert newline if necessary.
10571 (bibtex-initialize): Call bibtex-string-files-init only once.
10572 (bibtex-mode): Do not call easy-menu-add.
10573 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10574 (bibtex-yank): Set arg properly if nil.
10575
022fe7ce
RW
105762011-06-05 Roland Winkler <winkler@gnu.org>
10577
2b75be67
SM
10578 * textmodes/bibtex.el (bibtex-search-entry-globally):
10579 New variable.
022fe7ce
RW
10580 (bibtex-search-entry): Use it.
10581
b7c3692a
RW
105822011-06-05 Roland Winkler <winkler@gnu.org>
10583
10584 * textmodes/bibtex.el (bibtex-entry-format): New option
10585 sort-fields.
10586 (bibtex-format-entry, bibtex-reformat): Honor this option.
10587 (bibtex-parse-entry): Return fields in proper order.
10588
8eda563d
JB
105892011-06-05 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * doc-view.el (doc-view-remove-if): Move computation of result out
10592 of `dolist' to silence misleading lexical-binding warning.
10593
7dbe3dbc
CY
105942011-06-04 Chong Yidong <cyd@stupidchicken.com>
10595
10596 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10597 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10598
0c33dd17
MA
105992011-06-04 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10602 "SunOS 5.10".
10603
f8f91c2b
MA
106042011-06-04 Michael Albinus <michael.albinus@gmx.de>
10605
10606 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10607 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10608 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10609 (tramp-parse-putty):
10610 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10611 (tramp-completion-function-alist-ssh)
10612 (tramp-completion-function-alist-telnet)
10613 (tramp-completion-function-alist-su)
10614 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10615 cookie.
10616
10617 * net/tramp-ftp.el:
10618 * net/tramp-sh.el:
10619 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10620 load "tramp.el" `tramp-set-completion-function'.
10621
e17d9003
SM
106222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * shell.el: Require and use pcomplete.
10625 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10626 (shell-completion-vars): Set pcomplete-default-completion-function.
10627
6c4cab03
DD
106282011-06-04 Deniz Dogan <deniz@dogan.se>
10629
10630 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10631 `memq' (Bug#8799).
10632
ea9fafe0
SM
106332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10636
b3e945d3
JB
106372011-06-02 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10640 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10641 * vc/log-view.el (log-view-beginning-of-defun):
10642 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10643 (smerge-refine-forward, smerge-refine-chopup-region):
10644 Silence warning for unused `dotimes' counter variables.
10645
7d520089
SM
106462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * net/tramp.el (tramp-with-progress-reporter): Rename from
10649 with-progress-reporter. Use `declare'.
10650 * net/tramp-smb.el:
10651 * net/tramp-sh.el:
10652 * net/tramp-gvfs.el: Update all uses.
10653
a1c2400f
JB
106542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10655
10656 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10657 buffer isn't killed before making it current.
10658
2403c841
SM
106592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 Silence various byte-compiler warnings.
10662 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10663 `access-type' and new obsolescence format.
10664 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10665 new format.
10666 (byte-compile-check-variable): New `access-type' argument.
10667 Only warn if the access-type is obsolete.
10668 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10669 (byte-compile-variable-set): Adjust callers.
10670 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10671 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10672 setting it as obsolete.
10673 * simple.el (minibuffer-completing-symbol):
10674 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10675 access as obsolete.
10676 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10677 obsolete yet.
10678 * international/quail.el (quail-mouse-choose-completion): Remove unused
10679 code referring to obsolete var.
10680 (quail-choose-completion-string): Remove.
10681 * server.el (server-clients-with, server-kill-buffer-query-function)
10682 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10683 * proced.el (proced-send-signal):
10684 * emacs-lisp/lisp.el (lisp-complete-symbol):
10685 Replace completion-annotate-function with completion-extra-properties.
10686
2462470b
SM
106872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10688
fb5b2591
SM
10689 * simple.el (goto-line): Use read-number.
10690 (overriding-map-is-bound): Remove.
10691 (saved-overriding-map): Change default.
10692 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10693 Take the map as argument.
10694 (universal-argument, negative-argument, digit-argument): Use it.
10695 (restore-overriding-map): Adjust.
10696 (do-auto-fill): Use fill-forward-paragraph.
10697 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10698
fd6fa53f
SM
10699 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10700 (minibuffer-inactive-mode): New major mode.
10701 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10702 the *Messages* buffer" hack.
10703 (mouse-popup-menubar): Don't burp if the event is a normal key.
10704
2462470b
SM
10705 Miscellaneous tweaks.
10706 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10707 lexical scoping as in subr.el's dolist and dotimes.
10708 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10709 Silence compiler warning.
10710 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10711 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10712 * international/ccl.el (ccl-compile): Trivial simplification.
10713 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10714 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10715 `printflag' argument.
10716 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10717 Purecopy the whole obsolescence data.
10718
108bf785
LL
107192011-06-01 Leo Liu <sdl.web@gmail.com>
10720
10721 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10722 improve doc-string as suggested by Marco Pessotto
10723 <melmothx@gmail.com>.
10724 (rcirc-print): Fix last change.
10725
30a23501
SM
107262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * minibuffer.el (complete-with-action): Return nil for the metadata and
10729 boundaries of non-functional tables.
10730 (completion-table-dynamic): Return nil for the metadata.
10731 (completion-table-with-terminator): Add default case, using
10732 complete-with-action.
10733 (completion--metadata): New function.
10734 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10735 to try and avoid pathological performance problems.
10736 (completion--embedded-envvar-table): Return `category' metadata.
10737
bcd54f83
LMI
107382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10739
10740 * subr.el (process-alive-p): New tiny convenience function.
10741
e227544d
SM
107422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10745 content but also its previous major mode.
10746
e8296fdc
HE
107472011-05-31 Helmut Eller <eller.helmut@gmail.com>
10748
4d61f28d 10749 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10750 *Backtrace* buffer when we exit with C-M-c.
10751
620c53a6
SM
107522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * minibuffer.el: Add metadata method to completion tables.
10755 (completion-category-overrides): New defcustom.
10756 (completion-metadata, completion--field-metadata)
10757 (completion-metadata-get, completion--styles)
10758 (completion--cycle-threshold): New functions.
10759 (completion-try-completion, completion-all-completions):
10760 Add `metadata' argument to choose completion-styles.
10761 (completion--do-completion): Use metadata to choose cycling.
10762 (completion-all-sorted-completions): Use metadata for sorting.
10763 Remove :completion-cycle-penalty which is not needed any more.
10764 (completion--try-word-completion): Add `metadata' argument.
10765 (minibuffer-completion-help): Check metadata for annotation function
10766 and sorting.
10767 (completion-file-name-table): Return `category' metadata.
10768 (minibuffer-completing-file-name): Make obsolete.
10769 * simple.el (minibuffer-completing-symbol): Make obsolete.
10770 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10771 completion-try-completion.
10772
1257e755
SM
107732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10776
3767e706
LL
107772011-05-30 Leo Liu <sdl.web@gmail.com>
10778
10779 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10780 (rcirc-print): Decode all incoming messages (bug#8744).
10781 (rcirc-decode-coding-system): Allow value nil for automatic coding
10782 system detection.
3767e706 10783
d1a5d56a
GM
107842011-06-01 Glenn Morris <rgm@gnu.org>
10785
10786 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10787
e8cbec34
CY
107882011-05-29 Chong Yidong <cyd@stupidchicken.com>
10789
10790 * image.el (image-animate-max-time): Allow nil and t values.
10791 Default to nil.
10792 (create-animated-image): Doc fix.
10793 (image-animate-start): Remove second arg; just use
10794 image-animate-max-time.
10795 (image-animate-timeout): Doc fix. Args changed.
10796
10797 * image-mode.el (image-toggle-display-image): Ensure that the
10798 image spec passed to the animate timer is the same object as in
58179cce 10799 the buffer's display property (Bug#6981).
e8cbec34
CY
10800 (image-transform-properties): Doc fix.
10801
10802 * image.el (image-animate-max-time): Default to nil.
10803
159daf87
MR
108042011-05-29 Martin Rudalics <rudalics@gmx.at>
10805
10806 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10807 entire buffer list (Bug#8184).
10808
d66c4c7c
CY
108092011-05-29 Chong Yidong <cyd@stupidchicken.com>
10810
10811 * image.el (imagemagick-types-inhibit)
10812 (imagemagick-register-types): Doc fix.
10813
80aec780
DD
108142011-05-29 Deniz Dogan <deniz@dogan.se>
10815
10816 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10817 default.
10818
1dd3c2d9
CY
108192011-05-29 Chong Yidong <cyd@stupidchicken.com>
10820
10821 * select.el: Don't perform clipboard-manager saving in hooks;
10822 leave the hooks empty.
10823
60e56523
LL
108242011-05-28 Leo Liu <sdl.web@gmail.com>
10825
10826 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10827 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10828 (occur-edit-mode): New major mode (Bug#8463).
10829 (occur-after-change-function): New function.
10830 (occur-engine): Give Occur tags a read-only property.
10831
2b1e1a22
KR
108322011-05-28 Kevin Ryde <user42@zip.com.au>
10833
10834 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10835
5d344e88
CY
108362011-05-28 Chong Yidong <cyd@stupidchicken.com>
10837
8e6ca83d
CY
10838 * bindings.el (help-echo): Make the initial non-indicator dash
10839 empty on graphical terminals (Bug#7295).
10840
5d344e88
CY
10841 * files.el (auto-mode-alist): Move config rule after the
10842 in-stripping one (Bug#8547).
10843
bfbbace7
CY
10844 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10845
fbeba6e2
CY
10846 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10847 setting (Bug#8740).
10848
60ed8c72
AA
108492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10850
4ac619f0
AA
10851 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10852 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10853 (Bug#8539).
60ed8c72 10854
23db196e
CY
108552011-05-28 Chong Yidong <cyd@stupidchicken.com>
10856
10857 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10858
5012f24c
DK
108592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10860
10861 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10862 (hs-hide-block-at-point, hs-find-block-beginning)
10863 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10864 (Bug#8279).
10865
6a639b16
GM
108662011-05-28 Glenn Morris <rgm@gnu.org>
10867
10868 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10869
d43eaf2c
CY
108702011-05-28 Chong Yidong <cyd@stupidchicken.com>
10871
5199bde1
CY
10872 * help-fns.el (describe-function-1): If the function is a derived
10873 major mode, print the parent mode.
10874
d43eaf2c
CY
10875 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10876 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10877
423428a8
SM
108782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10879
0ff8e1ba 10880 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10881 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10882 * progmodes/etags.el (tags-completion-at-point-function):
10883 * info-look.el (info-lookup-completions-at-point): Mark as
10884 non-exclusive.
10885 (info-complete): Adjust accordingly.
10886
423428a8
SM
10887 * info-look.el: Convert to lexical-binding and completion-at-point.
10888 (info-lookup-completions-at-point): New function.
10889 (info-complete): Use it and completion-in-region.
10890
b74aa22b
DA
108912011-05-28 Drew Adams <drew.adams@oracle.com>
10892
10893 * isearch.el: Let M-e start with point at the first mismatched char.
10894 (isearch-fail-pos): New function.
10895 (isearch-edit-string): Use it.
10896
66e2e71d
DK
108972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10898
10899 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10900
b1890b0f 109012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10902
10903 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10904 traversal functions for avl-trees.
10905 (avl-tree--stack): New struct.
10906 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10907 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10908 (avl-tree--do-enter): Add optional `updatefun' arg.
10909 Change return value.
eb95d01d 10910 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10911 (avl-tree--do-delete): Add `test' and `nilflag' args.
10912 Change return value.
eb95d01d
TC
10913 (avl-tree-member): Add optional `nilflag'
10914 (avl-tree-member-p): New function.
10915 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10916 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10917 (avl-tree-stack-empty-p): New functions.
10918
3769ddcf
TC
10919 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10920 avl-tree--del-balance1 and make it work both ways.
10921 (avl-tree--del-balance2): Remove.
10922 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10923 make it work both ways.
10924 (avl-tree--enter-balance2): Remove.
10925 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10926 New macros.
10927 (avl-tree--mapc, avl-tree-map): Add direction argument.
10928
eb95d01d 109292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10930
10931 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10932
a9f737ee
CY
109332011-05-27 Chong Yidong <cyd@stupidchicken.com>
10934
10935 * select.el: Support clipboard managers with built-in function
10936 x-clipboard-manager-save, via delete-frame-functions and
10937 kill-emacs-hook.
10938 (xselect-convert-to-targets): Add MULTIPLE target to list.
10939 (xselect-convert-to-save-targets): New function.
10940
c92a1e54
KH
109412011-05-27 Kenichi Handa <handa@m17n.org>
10942
10943 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10944 let-binding rfc2047-encode-encoded-words to nil.
10945
e145f188
GM
109462011-05-27 Glenn Morris <rgm@gnu.org>
10947
5ec8a862
GM
10948 * mail/emacsbug.el: Don't require url-util.
10949
4b29d9fb
GM
10950 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10951
e145f188
GM
10952 * files.el (set-auto-mode):
10953 Also respect mode: entries at the end of the file. (Bug#8586)
10954
7d15102b
GM
109552011-05-26 Glenn Morris <rgm@gnu.org>
10956
98f593b8
GM
10957 * files.el (hack-local-variables-prop-line, hack-local-variables):
10958 Downcase mode names, as seems to be traditional.
27b48e63 10959 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10960
7d15102b
GM
10961 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10962 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10963
51d5b4ec
JD
109642011-05-25 Julien Danjou <julien@danjou.info>
10965
10966 * textmodes/rst.el (rst-define-level-faces): Do not define face
10967 symbol if it is already defined.
10968
91513f63
VB
109692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10970
10971 * play/5x5.el (5x5-new-game, 5x5-randomize):
10972 Reset 5x5-solver-output to nil when a new grid is cast.
10973 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10974 these debugging traces, as defmacro breaks the compiled code.
10975
4d90d6d0
DK
109762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10977
10978 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10979
e1b90ef6
LL
109802011-05-24 Leo Liu <sdl.web@gmail.com>
10981
10982 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10983 (vc-bzr-sha1): Adapt.
10984
d8e4b68b 10985 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10986
10987 * bindings.el: Provide sha1 feature.
10988
db0406bb 109892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10990
10991 * mail/sendmail.el: Require `rfc2047'.
10992 (mail-insert-from-field): Do not perform RFC2047 encoding.
10993 (mail-encode-header): New function.
10994 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10995 buffer to the return value of select-message-coding-system.
10996 Call mail-encode-header.
b8d747b9
KH
10997
10998 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10999
db0406bb 110002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11001
4d90d6d0
DK
11002 * mail/supercite.el (sc-default-cite-frame):
11003 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11004
eb8a5e9b
GM
110052011-05-24 Glenn Morris <rgm@gnu.org>
11006
f8630703
GM
11007 * progmodes/python.el (brm-menu): Declare.
11008
8831bbed
GM
11009 * emulation/viper.el (viper-set-hooks): Declare.
11010
eb8a5e9b
GM
11011 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11012 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11013 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11014 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11015 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11016 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11017
a2a25d24
SM
110182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 Add an :exit-function for completion-at-point.
11021
11022 * minibuffer.el (completion--done): New fun.
11023 (completion--do-completion): Use it. New arg `expect-exact'.
11024 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11025 since completion--do-completion does it for us now.
11026 (minibuffer-force-complete): Use completion--done and
11027 completion--replace. Handle sole-completion case with more care.
11028 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11029 (completion-extra-properties): New var.
11030 (completion-annotate-function): Make obsolete.
11031 (minibuffer-completion-help): Adjust accordingly.
11032 Use completion-list-insert-choice-function.
11033 (completion-at-point, completion-help-at-point):
11034 Bind completion-extra-properties.
11035 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11036 * simple.el (completion-list-insert-choice-function): New var.
11037 (completion-setup-function): Preserve it.
11038 (choose-completion): Pay attention to it, shuffle the code a bit.
11039 (choose-completion-string): New arg `insert-function'.
11040
11041 * textmodes/bibtex.el: Convert to lexical binding.
11042 (bibtex-mode-map): Use completion-at-point.
11043 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11044 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11045 (bibtex-complete): Define as obsolete alias.
11046 (bibtex-complete-internal): Remove.
11047 (bibtex-format-entry): Remove unused sub-group in regexp.
11048 * shell.el (shell--command-completion-data)
11049 (shell-environment-variable-completion):
11050 * pcomplete.el (pcomplete-completions-at-point):
11051 * comint.el (comint--complete-file-name-data): Use :exit-function
11052 instead of completion-table-with-terminator so it also works for
11053 choose-completion.
11054
e44e373d
SM
110552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11056
4f91a816
SM
11057 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11058
782fc819
SM
11059 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11060 (bug#8710).
11061
e44e373d
SM
11062 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11063
381987c3
KM
110642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11065
11066 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11067 customization variable and implement: If non-nil, auto-fill will
11068 be inhibited while on topic's header line.
11069
b776bc70
VB
110702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11071
11072 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11073 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11074 always have a solution in grid size = 5 cases.
11075 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11076 (5x5-solver-output, 5x5-log-buffer): New vars.
11077 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11078 Make these variables buffer local to achieve 5x5 multi-session-ness.
11079 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11080 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11081 (5x5-solve-suggest): New funs.
11082 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11083 randomize a grid so that we ensure that there is always a solution.
11084 (5x5-make-random-grid): Allow other movement than flipping.
11085
7de88b6e
KR
110862011-05-23 Kevin Ryde <user42@zip.com.au>
11087
11088 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11089 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11090 advice and passes PREDICATE.
11091
b1ef1257
SM
110922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11093
bbca48fe
SM
11094 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11095 byte-compile-lambda if it's actually a lambda.
11096
b1ef1257
SM
11097 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11098 Fix function quoting. Use backquote better.
11099
92a9cc65
YS
111002011-05-22 Yuanle Song <sylecn@gmail.com>
11101
11102 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11103 matching (Bug#8516).
11104
f0fb8059
JA
111052011-01-22 Jari Aalto <jari.aalto@cante.net>
11106
11107 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11108 different face (Bug#8178).
11109
d5b44c93
CY
111102011-05-22 Chong Yidong <cyd@stupidchicken.com>
11111
11112 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11113 defface (Bug#8144).
11114
79106a44
SM
111152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11116
9c848d8a
SM
11117 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11118 funcall as well (bug#8712). Warn when performing those conversions.
11119 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11120
79106a44
SM
11121 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11122
88dfa756
GM
111232011-05-22 Glenn Morris <rgm@gnu.org>
11124
11125 * files.el (hack-local-variables-prop-line): Small simplifications.
11126 (hack-local-variables, hack-local-variables-prop-line):
11127 If MODE-ONLY, return the mode, rather than just `t'.
11128
b7cf2c79
SM
111292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11132
3f1a8558
GM
111332011-05-21 Glenn Morris <rgm@gnu.org>
11134
7e4ccca3
GM
11135 * files.el (hack-local-variables-prop-line, hack-local-variables):
11136 If only interested in the mode, don't bother doing the other stuff.
11137
637d46ca
GM
11138 * image-mode.el (image-after-revert-hook):
11139 Redraw all frames on which the image is visible. (Bug#8567)
11140
973d955b
GM
11141 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11142
3f1a8558
GM
11143 * wid-edit.el (widget-checklist-match-inline):
11144 Fix 2011-04-19 change. (Bug#8649)
11145
96479927
SM
111462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11147
1dcf791f
SM
11148 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11149 Also allow singlespace after single-letter capitals followed by a dot.
11150
96479927
SM
11151 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11152 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11153
35fd0881
N
111542011-05-20 Nix <nix@esperi.org.uk>
11155
11156 * files.el (basic-save-buffer-2):
11157 Fix handling of break-hardlink-on-save with non-existent files.
11158
82745640
DD
111592011-05-19 Deniz Dogan <deniz@dogan.se>
11160
11161 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11162 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11163
4a720484
GM
111642011-05-19 Glenn Morris <rgm@gnu.org>
11165
d1f21341
GM
11166 * progmodes/f90.el (f90-type-def-re):
11167 Handle "type, bind(c)". (Bug#8691)
11168
4a720484
GM
11169 * emacs-lisp/autoload.el (batch-update-autoloads):
11170 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11171
2fb0a219
MA
111722011-05-18 Michael Albinus <michael.albinus@gmx.de>
11173
11174 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11175 property for the correct connection in case of multihops.
11176
e565dd37
GM
111772011-05-18 Glenn Morris <rgm@gnu.org>
11178
c2571358 11179 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11180 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11181
e565dd37
GM
11182 Rationalize calendar handling of day and month abbrev-arrays.
11183 * calendar/calendar.el (calendar-customized-p): New function.
11184 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11185 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11186 Add :set function.
11187 (calendar-abbrev-length, calendar-day-abbrev-array)
11188 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11189 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11190 Elements may no longer be nil.
11191 (calendar-day-name, calendar-month-name):
11192 Update for changed nature of abbrev arrays.
11193 * calendar/diary-lib.el (diary-name-pattern):
11194 Update for changed nature of abbrev arrays.
11195 (diary-mark-entries-1): Update calendar-make-alist calls.
11196 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11197 * calendar/cal-html.el (cal-html-day-abbrev-array):
11198 Simply inherit from calendar-day-abbrev-array.
11199
1d99a745
SM
112002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * progmodes/grep.el (grep-mode): Disable default
11203 compilation-directory-matcher setting (bug#8684).
11204
7c1d9aa0
MA
112052011-05-17 Michael Albinus <michael.albinus@gmx.de>
11206
11207 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11208 instead of "head" and "tail". There were problems with SunOS 5.9,
11209 and it performs better.
11210
3952e9d8
GM
112112011-05-17 Glenn Morris <rgm@gnu.org>
11212
2dd12e7f
GM
11213 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11214
e4157b9c
GM
11215 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11216 Replace obsolete function.
11217
8e249bbd
GM
11218 * shell.el (pcomplete-parse-arguments-function): Declare.
11219
3952e9d8
GM
11220 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11221 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11222 (appt-check): Doc fixes.
11223 (appt-disp-window-function, appt-delete-window-function):
11224 Remove needless special case in custom :type.
11225 (appt-display-count): Default to 0, not nil.
11226 (appt-check): Reset appt-display-count to 0, not nil.
11227
c71a0d48 112282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11229
c71a0d48
GM
11230 * progmodes/python.el (python-font-lock-keywords):
11231 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11232
31d55be9
SM
112332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11234
11235 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11236
3bfacb2f
KR
112372011-05-16 Kevin Ryde <user42@zip.com.au>
11238
11239 * info-look.el (makefile-automake-mode): New setups, looking in
11240 automake manual, then makefile-mode.
11241 (makefile-mode): Remove automake manual, have it just in
11242 makefile-automake-mode since there's various things different or
11243 not relevant to plain make.
11244 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11245 believe a hypothetical automake-mode would go to makefile-mode,
11246 not the other way around.
11247
c8e83751
CY
112482011-05-15 Chong Yidong <cyd@stupidchicken.com>
11249
5e9e35cd
CY
11250 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11251 hunk-end tags (Bug#8672).
11252
c8e83751
CY
11253 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11254 vc-annotate-show-diff-revision-at-line (Bug#8671).
11255
50b23e5a
GM
112562011-05-14 Glenn Morris <rgm@gnu.org>
11257
7210a739
GM
11258 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11259 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11260 (change-log-font-lock-keywords): Also handle multiple author lines
11261 with leading tabs. (Bug#8644)
7210a739 11262
4691905a
GM
11263 * calendar/appt.el (appt-check): Rename some local variables.
11264 Some simplification/reordering.
11265
50b23e5a
GM
11266 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11267 (feedmail-sendmail-f-doesnt-sell-me-out)
11268 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11269 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11270 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11271 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11272 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11273 (feedmail-binmail-gnulinuxish-template):
11274 Rename from feedmail-binmail-linuxish-template.
11275 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11276 Use insert-buffer-substring.
11277
215cda7c
BC
112782011-05-14 Bill Carpenter <bill@carpenter.org>
11279
11280 * mail/feedmail.el (feedmail-patch-level): Increase.
11281 (feedmail-debug): New custom group.
11282 (feedmail-confirm-outgoing-timeout)
11283 (feedmail-sendmail-f-doesnt-sell-me-out)
11284 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11285 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11286 (feedmail-sender-line, feedmail-from-line)
11287 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11288 (feedmail-spray-this-address)
215cda7c
BC
11289 (feedmail-spray-address-fiddle-plex-list)
11290 (feedmail-queue-use-send-time-for-date)
11291 (feedmail-queue-use-send-time-for-message-id)
11292 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11293 (feedmail-buffer-eating-function):
11294 Doc fixes.
11295 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11296 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11297 (feedmail-message-action-scroll-down): New functions.
11298 (feedmail-queue-directory, feedmail-queue-draft-directory):
11299 Use expand-file-name.
11300 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11301 Remove C-v help entry.
11302 (feedmail-queue-buffer-file-name): New variable.
11303 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11304 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11305 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11306 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11307 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11308 (feedmail-message-action-toggle-spray)
11309 (feedmail-run-the-queue-no-prompts)
11310 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11311 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11312 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11313 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11314 (feedmail-envelope-deducer, feedmail-fiddle-from)
11315 (feedmail-fiddle-sender, feedmail-default-date-generator)
11316 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11317 (feedmail-fiddle-spray-address)
11318 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11319 (feedmail-fiddle-list-of-fiddle-plexes)
11320 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11321 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11322 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11323 Change default. Doc fix.
11324 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11325 (feedmail-binmail-linuxish-template): New constant.
11326 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11327 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11328 (feedmail-send-it): Add debug call.
11329 Use feedmail-queue-buffer-file-name, and
11330 feedmail-send-it-immediately-wrapper.
11331 (feedmail-message-action-send): Add debug call.
11332 Use feedmail-send-it-immediately-wrapper.
11333 (feedmail-queue-express-to-queue): Add debug call.
11334 Run feedmail-queue-express-hook.
11335 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11336 (feedmail-message-action-help-blat):
11337 Rename from feedmail-queue-send-edit-prompt-help-first.
11338 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11339 Check line-endings. Handle errors better.
11340 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11341 Doc fix. Add debug call.
11342 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11343 Use feedmail-queue-send-edit-prompt-inner.
11344 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11345 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11346 from feedmail-queue-send-edit-prompt.
11347 (feedmail-queue-send-edit-prompt-help)
11348 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11349 (feedmail-tidy-up-slug): Add debug call.
11350 Respect feedmail-queue-slug-suspect-regexp.
11351 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11352 (feedmail-dump-message-to-queue): Add debug call.
11353 Expand queue-directory.
11354 (feedmail-dump-message-to-queue): Change message slightly.
11355 Use feedmail-say-chatter.
11356 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11357 (feedmail-send-it-immediately-wrapper): New function.
11358 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11359 Insert empty string rather than newline. Handle full-frame case.
11360 Use catch/throw. Use feedmail-say-chatter.
11361 (feedmail-fiddle-from): Try mail-host-address.
11362 (feedmail-default-message-id-generator): Doc fix.
11363 Bind system-time-locale. Handle missing end.
11364 (feedmail-fiddle-x-mailer): Add debug call.
11365 Handle feedmail-x-mailer-line being nil.
11366 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11367 Add debug call. Use buffer-substring-no-properties.
11368 (feedmail-say-debug, feedmail-say-chatter): New functions.
11369 (feedmail-find-eoh): Give an explicit error.
11370
42c7e61e
UJ
113712011-05-13 Ulf Jasper <ulf.jasper@web.de>
11372
c2571358 11373 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11374 family from helvetica to sans.
c2571358 11375 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11376 etc/images/newsticker.
11377
c2571358 11378 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11379 family from helvetica to sans.
11380
11381 * net/newst-plainview.el (newsticker-new-item-face)
11382 (newsticker-old-item-face, newsticker-immortal-item-face)
11383 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11384 (newsticker-statistics-face): Change default family from
42c7e61e 11385 helvetica to sans.
c2571358 11386 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11387 etc/images/newsticker.
11388
5d3385a0
JB
11389 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11390 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11391 auto-marking.
11392
8497a297
DV
113932011-05-13 Didier Verna <didier@xemacs.org>
11394
11395 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11396 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11397 TODO entries.
8497a297
DV
11398 (lisp-lambda-list-keyword-parameter-indentation)
11399 (lisp-lambda-list-keyword-parameter-alignment)
11400 (lisp-lambda-list-keyword-alignment): New customizable user options.
11401 (lisp-indent-defun-method): Improve docstring.
11402 (extended-loop-p): Fix comment.
11403 (lisp-indent-lambda-list-keywords-regexp): New variable.
11404 (lisp-indent-lambda-list): New function.
11405 (lisp-indent-259): Use it.
11406 (lisp-indent-defmethod): Support for more than one
11407 method qualifier and properly indent methods lambda-lists.
11408 (defgeneric): Provide a missing common-lisp-indent-function property.
11409
f278f87f
SM
114102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11413 bounds for the empty string (bug#8667).
11414
5233edd7
GM
114152011-05-13 Glenn Morris <rgm@gnu.org>
11416
5237a44f
GM
11417 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11418
8340026c 11419 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11420 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11421
5233edd7 11422 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11423 (appt-time-msg-list): Doc fix.
a5464014 11424 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11425
92d10796
AS
114262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * progmodes/ld-script.el (ld-script-keywords)
11429 (ld-script-builtins): Update keywords list.
11430
914a0ae1
SM
114312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11432
c89be45f
SM
11433 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11434
914a0ae1
SM
11435 * shell.el (shell-completion-vars): New function.
11436 (shell-mode):
11437 * simple.el (read-shell-command): Use it.
11438 (blink-matching-open): No need for " [...]" in minibuffer-message.
11439
98dc3df3
GM
114402011-05-12 Glenn Morris <rgm@gnu.org>
11441
11442 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11443 (appt-check): Simplify.
11444
d2fc7e3d 114452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11446
4d61f28d 11447 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11448 literal "/dev/null".
11449
d2fc7e3d 114502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11451
11452 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11453 Fix typo.
11454
d2fc7e3d 114552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11456
3f254caa
SM
11457 * progmodes/which-func.el (which-function):
11458 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11459 which might not be defined (Bug#8260).
11460
d45885f7
GM
114612011-05-12 Glenn Morris <rgm@gnu.org>
11462
11463 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11464 Let byte-compile-initial-macro-environment always take precedence.
11465
488086f4
SM
114662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * net/rcirc.el: Add support for SSL/TLS connections.
11469 (rcirc-server-alist): New field `encryption'.
11470 (rcirc): Check `encryption' settings.
11471 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11472 Merge make-local-variable into `set'.
11473 (rcirc--connection-open-p): New function.
11474 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11475 the process is not a network process (e.g. running gnutls-cli).
11476 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11477 Make rcirc-(en|de)code-coding-system local here.
11478 (rcirc-mode): Merge make-local-variable into `set'.
11479 (rcirc-parent-buffer): Make permanent buffer-local.
11480 (rcirc-multiline-minor-mode): Don't do it here.
11481 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11482 there's no server buffer.
11483
7d3b9d44
GM
114842011-05-11 Glenn Morris <rgm@gnu.org>
11485
f64049c6
GM
11486 * newcomment.el (comment-kill): Prefix "unused" local.
11487
93c9df73
GM
11488 * term/w32console.el (get-screen-color): Declare.
11489
7d3b9d44
GM
11490 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11491 Handle symbol elements of byte-compile-initial-macro-environment.
11492
9e2dd53f
LL
114932011-05-10 Leo Liu <sdl.web@gmail.com>
11494
488086f4
SM
11495 * bookmark.el (bookmark-bmenu-mode-map):
11496 Bind bookmark-bmenu-search to `/'.
8b340240 11497
9e2dd53f 11498 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11499 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11500 (Footnote-unicode): New function.
11501 (footnote-style-alist): Add unicode style to the list.
11502 (footnote-style): Doc fix.
9e2dd53f 11503
79b70037
GM
115042011-05-10 Jim Meyering <meyering@redhat.com>
11505
11506 Fix doubled-word typos.
11507 * international/quail.el (quail-insert-kbd-layout): and and -> and
11508 * kermit.el: and and -> and
11509 * net/ldap.el (ldap-search-internal): to to -> to
11510 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11511 * progmodes/js.el (js-mode): and and -> and
11512 * textmodes/artist.el (artist-move-to-xy): at at -> at
11513 (artist-draw-region-trim-line-endings): if if -> if
11514 And Safetyc -> Safety.
11515 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11516
b8f82dc1 115172011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11518 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11519
11520 * files.el (hack-one-local-variable-eval-safep):
11521 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11522
4f99f44b
GM
115232011-05-10 Glenn Morris <rgm@gnu.org>
11524
11525 * calendar/diary-lib.el (diary-list-entries-hook)
11526 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11527 (diary-nongregorian-marking-hook, diary-list-entries)
11528 (diary-include-other-diary-files, diary-mark-entries)
11529 (diary-mark-included-diary-files): Doc fixes.
11530
84f29e6b
JB
115312011-05-09 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * misc.el: Require tabulated-list.el during compilation.
11534
9bedd73a
CY
115352011-05-09 Chong Yidong <cyd@stupidchicken.com>
11536
488086f4
SM
11537 * progmodes/compile.el (compilation-start):
11538 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11539 (compilation-filter-hook): Doc fix.
11540
797c735c
DD
115412011-05-09 Deniz Dogan <deniz@dogan.se>
11542
11543 * wdired.el: Remove outdated installation comment. Fix usage
11544 comment.
11545
5f4b1dfe
JB
115462011-05-09 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * misc.el: Implement new command `list-dynamic-libraries'.
11549 (list-dynamic-libraries--loaded-only-p): New variable.
11550 (list-dynamic-libraries--refresh): New function.
11551 (list-dynamic-libraries): New command.
11552
4c44026c
CY
115532011-05-09 Chong Yidong <cyd@stupidchicken.com>
11554
488086f4
SM
11555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11556 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11557 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11558 higher priority to avoid clobbering by gnu.
11559
027f966d
CY
115602011-05-08 Chong Yidong <cyd@stupidchicken.com>
11561
11562 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11563 if the face has existing theme settings (Bug#8454).
11564
085f5d7d
CY
115652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11566
488086f4
SM
11567 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11568 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11569
2a86a00c
RS
11570 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11571 special file names `.' and `..' (Bug#8259).
11572
d9c54a06
CY
115732011-05-08 Chong Yidong <cyd@stupidchicken.com>
11574
488086f4
SM
11575 * progmodes/grep.el (grep-mode-font-lock-keywords):
11576 Remove buffer-changing entries.
d9c54a06
CY
11577 (grep-filter): New function.
11578 (grep-mode): Add it to compilation-filter-hook.
11579
11580 * progmodes/compile.el (compilation-filter-hook)
11581 (compilation-filter-start): New defvars.
11582 (compilation-filter): Call compilation-filter-hook prior to
11583 updating the process mark.
11584
c4662635
SM
115852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11588
b0512a1d
EZ
115892011-05-07 Eli Zaretskii <eliz@gnu.org>
11590
605c9376
EZ
11591 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11592 mailclient-send-it even if window-system is nil. (Bug#8595)
11593
c4662635
SM
11594 * term/w32console.el (terminal-init-w32console):
11595 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11596 background-mode. (Bug#8597)
11597
d1dc2cc2
SM
115982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11601 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11602 New functions.
11603 (defgeneric, eieio--defmethod): Use them.
11604 (eieio-defgeneric): Remove.
11605 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11606
915d1300
GM
116072011-05-07 Glenn Morris <rgm@gnu.org>
11608
a3961c3e
GM
11609 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11610 Use let rather than let*.
11611 (timeclock-find-discrep): Remove unused local.
11612
314347b9
GM
11613 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11614
915d1300
GM
11615 * calendar/appt.el (appt-time-msg-list): Doc fix.
11616
275b59b0
NF
116172011-05-06 Noah Friedman <friedman@splode.com>
11618
11619 * apropos.el (apropos-print-doc): Only use
11620 emacs-lisp-docstring-fill-column when it is bound to an integer,
11621 per that variable's documentation.
11622
6c19f744
SM
116232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11626 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11627
60f884b2
GM
116282011-05-06 Glenn Morris <rgm@gnu.org>
11629
5006e634
GM
11630 * calendar/appt.el (appt-message-warning-time): Doc fix.
11631 (appt-warning-time-regexp): New option.
11632 (appt-make-list): Respect appt-message-warning-time.
11633
548d0a63
GM
11634 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11635 New options.
11636 (diary-add-to-list): Strip comments from the displayed string.
11637 (diary-mode): Set comment-start and comment-end.
11638
60f884b2
GM
11639 * vc/diff-mode.el (smerge-refine-subst): Declare.
11640 (diff-refine-hunk): Don't require smerge-mode when compiling.
11641
989681bb
JB
116422011-05-06 Juanma Barranquero <lekktu@gmail.com>
11643
11644 * simple.el (list-processes): Return nil as the docstring says.
11645
a6bc05e1
MA
116462011-05-05 Michael Albinus <michael.albinus@gmx.de>
11647
11648 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11649 to "".
11650 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11651 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11652 determining of binary transfer. (Bug#7383)
11653
23c22e9a
MA
116542011-05-05 Michael Albinus <michael.albinus@gmx.de>
11655
c4662635
SM
11656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11657 Fix port computation bug. (Bug#8618)
23c22e9a 11658
0bff894f
GM
116592011-05-05 Glenn Morris <rgm@gnu.org>
11660
b8296902
GM
11661 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11662
1f522ce8
GM
11663 * simple.el (shell-dynamic-complete-functions)
11664 (comint-dynamic-complete-functions): Declare.
11665
cf5bee67
GM
11666 * net/network-stream.el (gnutls-negotiate):
11667 * simple.el (tabulated-list-print): Fix declarations.
11668
11669 * progmodes/gud.el (syntax-symbol, syntax-point):
11670 Remove unnecessary and incorrect declarations.
11671
0bff894f
GM
11672 * emacs-lisp/check-declare.el (check-declare-scan):
11673 Handle byte-compile-initial-macro-environment in bytecomp.el
11674
9869b3ae
SM
116752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 Fix earlier half-done eieio-defmethod change (bug#8338).
11678 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11679 Streamline and change calling convention.
11680 (defmethod): Adjust accordingly and simplify.
11681 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11682 new eieio--defmethod.
11683 (slot-boundp): Minor CSE simplification.
11684
9c1d5ac5
MZ
116852011-05-05 Milan Zamazal <pdm@zamazal.org>
11686
11687 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11688 (glasses-make-readable): Use glasses-separate-capital-groups.
11689
455c834e
JB
116902011-05-05 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11693 (warning-series): Doc fix.
11694 (display-warning): Don't try to create the buffer if we just found it.
11695
9ed7c8cb
CY
116962011-05-04 Chong Yidong <cyd@stupidchicken.com>
11697
11698 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11699 (autoload-find-generated-file): New function.
11700 (generate-file-autoloads): Bind generated-autoload-file to
11701 buffer-file-name.
9869b3ae
SM
11702 (update-file-autoloads, update-directory-autoloads):
11703 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11704 output file (Bug#7989).
11705 (batch-update-autoloads): Doc fix.
11706
0898ca10
JB
117072011-05-04 Juanma Barranquero <lekktu@gmail.com>
11708
11709 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11710
31dfb76c
GM
117112011-05-04 Glenn Morris <rgm@gnu.org>
11712
f330b642
GM
11713 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11714 function, so it follows changes in calendar-date-style.
11715 (diary-fancy-date-matcher): New function.
11716 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11717 (diary-fancy-font-lock-fontify-region-function):
11718 Use diary-fancy-date-pattern as a function.
11719
31dfb76c
GM
11720 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11721 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11722
48e79d6a
TZ
117232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11724
11725 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11726 instead of positional arguments. Allow :keylist and :crlfiles
11727 arguments.
11728 (open-gnutls-stream): Call it.
11729
11730 * net/network-stream.el (network-stream-open-starttls): Adjust to
11731 call `gnutls-negotiate' with :process and :hostname arguments.
11732
dd5a5ee0
SM
117332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11734
ef80fc09
SM
11735 * minibuffer.el (completion--message): New function.
11736 (completion--do-completion, minibuffer-complete)
11737 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11738 (completion--do-completion): Don't ignore completion-auto-help when in
11739 icomplete-mode.
11740
dd5a5ee0
SM
11741 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11742 internal encoding (e.g. tibetan zero is not whitespace).
11743 (global-whitespace-mode): Prefer save-current-buffer.
11744 (whitespace-trailing-regexp): Remove useless save-match-data.
11745 (whitespace-empty-at-bob-regexp): Minor simplification.
11746
b7d22a83
CY
117472011-05-03 Chong Yidong <cyd@stupidchicken.com>
11748
11749 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11750
5192af46
AM
117512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11752
11753 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11754 Use `concat' to create string for insertion.
5192af46 11755
5767d190
SM
117562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11759 Avoid open-line which runs post-self-insert-hook.
11760 (bibtex-fill-entry): Remove unused `end' var.
11761
bf242939
AM
117622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11763
5767d190
SM
11764 * textmodes/ispell.el (ispell-add-per-file-word-list):
11765 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11766
25666126
LL
117672011-05-03 Leo Liu <sdl.web@gmail.com>
11768
11769 * isearch.el (isearch-yank-pop): New command.
5767d190 11770 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11771 (isearch-forward): Mention it.
11772
52d3c2d0
SM
117732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11774
1bcace58
SM
11775 * simple.el (minibuffer-complete-shell-command): Remove.
11776 (minibuffer-local-shell-command-map): Use completion-at-point.
11777 (read-shell-command): Setup completion vars here instead.
11778 (read-expression-map): Bind TAB to symbol completion.
11779
52d3c2d0
SM
11780 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11781 error directly rather via storing it into `results'.
11782
35813471
LL
117832011-05-02 Leo Liu <sdl.web@gmail.com>
11784
11785 * vc/diff.el: Fix description.
11786
e793a940
LMI
117872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * server.el (server-eval-at): New function.
11790
8de66e05
LMI
117912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792
11793 * net/network-stream.el (open-network-stream): Take a :nowait
11794 parameter and pass it on to `make-network-process'.
11795 (network-stream-open-plain): Ditto.
11796
dcb79f20
AS
117972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11798
11799 * faces.el (face-spec-set-match-display): Don't match toolkit
11800 options on terminal frames.
11801
14a7fbd8
SM
118022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11803
7eabc1be
SM
11804 * progmodes/pascal.el: Use lexical binding.
11805 (pascal-mode-map): Remove author preferences.
11806
14a7fbd8
SM
11807 * pcomplete.el (pcomplete-std-complete): Don't abuse
11808 completion-at-point.
11809
50f84510
JB
118102011-04-28 Juanma Barranquero <lekktu@gmail.com>
11811
6e087a44
JB
11812 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11813 removing code that has been dead since 1991 or so.
11814
50f84510
JB
11815 * startup.el (command-line): When warning about "_emacs", use a
11816 delayed warning to allow the user to filter it out.
11817
0ba690bd
DD
118182011-04-28 Deniz Dogan <deniz@dogan.se>
11819
11820 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11821 user has not joined.
11822
08abfaad
SM
118232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11826 aren't any completions at point.
11827
638f053a
JB
118282011-04-28 Juanma Barranquero <lekktu@gmail.com>
11829
11830 * subr.el (display-delayed-warnings): New function.
11831 (delayed-warnings-hook): New variable.
11832
8fff8daa
SM
118332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11834
08abfaad
SM
11835 * minibuffer.el (completion-at-point, completion-help-at-point):
11836 Don't presume that a given completion-at-point-function will always
11837 use the same calling convention.
11838
8fff8daa
SM
11839 * pcomplete.el (pcomplete-completions-at-point):
11840 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11841 pcomplete-seen is non-nil.
11842 (pcomplete-comint-setup): Also recognize the new comint/shell
11843 completion functions.
11844 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11845 pcomplete-seen is non-nil.
11846
841a1577 118472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11848
841a1577 11849 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11850 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11851 the first character in the entry. This allows for code to add its
211ec907
UJ
11852 own uid to the entry.
11853 (icalendar--convert-float-to-ical): Add export of
11854 `diary-float'-entries save for those with the optional DAY
11855 argument.
11856
2a782793
DC
118572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11858
11859 * subr.el (shell-quote-argument): Use alternate escaping strategy
11860 when we spot a variable reference in a string.
11861
0438ce91
DC
118622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11863
11864 * cus-start.el (all): Define customization for debug-on-event.
11865
841a1577 118662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11867
11868 * subr.el (shell-quote-argument): Escape correctly under Windows.
11869
d090ed6c
SM
118702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11873
bfd31217
MA
118742011-04-25 Michael Albinus <michael.albinus@gmx.de>
11875
d090ed6c
SM
11876 * net/tramp.el (tramp-process-actions): Add POS argument.
11877 Delete region between POS and (pos).
bfd31217 11878
d090ed6c
SM
11879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11880 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11881 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11882
11883 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11884 position in `tramp-process-actions' call.
11885
11886 * net/trampver.el: Update release number.
11887
e92f3bd3
SM
118882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11889
850256b5
SM
11890 * custom.el (defcustom): Obey lexical-binding.
11891
e92f3bd3
SM
11892 Fix octave-inf completion problems reported by Alexander Klimov.
11893 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11894 Inherit from octave-mode-syntax-table.
11895 (inferior-octave-mode): Set info-lookup-mode.
11896 (inferior-octave-completion-at-point): New function.
11897 (inferior-octave-complete): Use it and completion-in-region.
11898 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11899 comint-filename-completion.
11900 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11901 symbol elements which shouldn't be word elements.
11902 (octave-font-lock-keywords, octave-beginning-of-defun)
11903 (octave-function-header-regexp): Adjust regexps accordingly.
11904 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11905
cd22b309
JB
119062011-04-25 Juanma Barranquero <lekktu@gmail.com>
11907
11908 * net/gnutls.el (gnutls-errorp): Declare before first use.
11909
8b492194
TZ
119102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11911
11912 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11913 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11914 default trustfile exists before going to use it. Add missing
5a5fa834 11915 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11916 Reported by Claudio Bley <claudio.bley@gmail.com>.
11917 (open-gnutls-stream): Add usage example.
11918
11919 * net/network-stream.el (network-stream-open-starttls): Give host
11920 parameter to `gnutls-negotiate'.
11921 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11922 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11923
841a1577 119242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11925
cd22b309
JB
11926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11927 Use correct match group (bug#8438).
05842630 11928
3ba7869c
CY
119292011-04-24 Chong Yidong <cyd@stupidchicken.com>
11930
512e3ae1
CY
11931 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11932 (package-menu--generate): New arg specifying packages to show.
11933 (package-menu-refresh, package-menu-execute, list-packages):
11934 Callers changed.
11935 (package-show-package-list): New function, replacing deleted
11936 package--list-packages (renamed because it is non-internal).
11937
11938 * finder.el (finder-list-matches): Use package-show-package-list
11939 instead of deleted package--list-packages.
11940
e92f3bd3
SM
11941 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11942 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11943 (vc-annotate-mode-map): Bind it to RET.
11944
7031be6d
UR
119452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11946
11947 * progmodes/etags.el (next-file): Don't use set-buffer to change
11948 buffers (Bug#8478).
11949
4ef177aa
CY
119502011-04-24 Chong Yidong <cyd@stupidchicken.com>
11951
c8d173eb
CY
11952 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11953
4ef177aa
CY
11954 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11955 (apropos-accumulator): Doc fix.
11956 (apropos-function, apropos-macro, apropos-command)
11957 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11958 (apropos-plist): Add face property.
11959 (apropos-symbols-internal): Fix indentation.
11960 (apropos-print): Simplify help, and recognize apropos-multi-type.
11961 (apropos-print-doc): Use button-type-get to extract the button's
11962 face property. Fill docstring (Bug#8352).
11963
4ffd0d6b 119642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11965
11966 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11967
c6c32125 11968 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11969 (mpuz-mode-map): Use mapc.
c6c32125
JB
11970 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11971 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11972 Fix typos in docstrings.
11973
58d468b4
JB
11974 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11975 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11976
6470c3c6
JB
11977 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11978
4ffd0d6b 119792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11980
11981 * minibuffer.el (completion--do-completion): Avoid the "Next char
11982 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11983
3ad8bad0
CY
11984 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11985 mouse-2 into unread-command-events, it is interpreted correctly.
11986
71d73c9c 11987 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11988 (image-toggle-display): Doc fix.
71d73c9c 11989
841a1577 119902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11991
4ffd0d6b
GM
11992 * textmodes/page.el (what-page): Use line-number-at-pos to
11993 calculate line number (Bug#6825).
6e1dbaa9 11994
c2fb1b60
JB
119952011-04-22 Juanma Barranquero <lekktu@gmail.com>
11996
11997 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11998 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11999 Pass argument NO-DEFAULT to `find-tag-interactive'.
12000
e02f48d7
JB
120012011-04-22 Juanma Barranquero <lekktu@gmail.com>
12002
12003 Lexical-binding cleanup.
12004
12005 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12006 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12007 * progmodes/ada-prj.el (ada-prj-initialize-values)
12008 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12009 (ada-prj-show-value):
12010 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12011 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12012 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12013 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12014 * progmodes/bug-reference.el (bug-reference-push-button):
12015 * progmodes/fortran.el (fortran-line-length):
12016 * progmodes/glasses.el (glasses-change):
12017 * progmodes/octave-mod.el (octave-fill-paragraph):
12018 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12019 (python-pdbtrack-grub-for-buffer, python-sentinel):
12020 * progmodes/sql.el (sql-save-connection):
12021 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12022 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12023 Mark unused parameters.
12024
12025 * progmodes/compile.el (compilation--flush-directory-cache)
12026 (compilation--flush-parse, compile-internal): Mark unused parameters.
12027 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12028 (compilation-next-error-function): Remove unused variable `timestamp'.
12029
12030 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12031 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12032
12033 * progmodes/dcl-mode.el (dcl-end-of-command):
12034 Remove unused variable `start'.
12035 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12036 (dcl-option-value-basic, dcl-option-value-offset)
12037 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12038 Mark unused parameters.
12039 (dcl-save-local-variable): Remove unused variable `val'.
12040 (mode): Declare.
12041
12042 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12043 Mark unused parameters.
12044 (delphi-ignore-changes): Move before first use.
12045 (delphi-charset-token-at): Remove unused variable `start'.
12046 (delphi-else-start): Remove unused variable `if-count'.
12047 (delphi-comment-block-start, delphi-comment-block-end):
12048 Remove unused variable `kind'.
12049 (delphi-indent-line): Remove unused variable `new-point'.
12050
12051 * progmodes/ebrowse.el (ebrowse-files-list)
12052 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12053 Mark unused parameters. Don't quote `lambda'.
12054 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12055 Don't quote `lambda'.
12056 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12057 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12058 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12059 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12060 Use `ignore-errors'.
12061 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12062 (ebrowse-view/find-file-and-search-pattern)
12063 (ebrowse-view/find-member-declaration/definition):
12064 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12065 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12066 Rename parameter PREFIX-ARG to PREFIX.
12067 (ebrowse-tags-read-name): Remove unused variables `start' and
12068 `member-info'.
12069 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12070 to `tags-file'.
12071
12072 * progmodes/etags.el (local-find-tag-hook): Declare.
12073 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12074 Mark unused parameters.
12075
12076 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12077 (executable-interpret): Mark unused parameter.
12078
12079 * progmodes/flymake.el (flymake-process-sentinel)
12080 (flymake-after-change-function)
12081 (flymake-create-temp-with-folder-structure)
12082 (flymake-get-include-dirs-dot): Mark unused parameters.
12083 (flymake-safe-delete-directory): Remove unused variable `err'.
12084
12085 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12086 (speedbar-timer-fn, speedbar-line-text)
12087 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12088 (speedbar-center-buffer-smartly): Declare functions.
12089 (gdb-find-watch-expression): Remove unused variable `array'.
12090 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12091 (gdb-starting): Mark unused parameters.
12092 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12093 (gdb-table-string): Remove unused variable `res'.
12094 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12095 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12096 (gdb-display-buffer): Remove unused variable `cur-size'.
12097
12098 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12099 allow lexical-binding compilation.
12100 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12101 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12102 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12103 Mark unused parameters.
12104 (gud-gdb-marker-filter): Remove unused variable `match'.
12105 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12106 lambda expressions and funcall them, instead of using `fset'.
12107
12108 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12109 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12110
12111 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12112 variable `header-beg'; use `let'.
12113
12114 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12115 `restart', `last-sexp' and `at-do'.
12116
12117 * progmodes/js.el (js--debug): Mark unused parameter.
12118 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12119 (js--splice-into-items): Remove unused variable `item'.
12120 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12121
12122 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12123 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12124 (makefile-complete): Remove unused variable `try'.
12125 (makefile-fill-paragraph, makefile-match-function-end):
12126 Mark unused parameters.
12127
12128 * progmodes/octave-inf.el (inferior-octave-complete):
12129 Remove unused variable `proc'.
12130 (inferior-octave-output-digest): Mark unused parameter.
12131
12132 * progmodes/perl-mode.el (perl-calculate-indent):
12133 Remove unused variable `err'.
12134
12135 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12136 (prolog-indent-line): Mark unused parameters.
12137 (prolog-indent-line): Remove unused variable `beg'.
12138
12139 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12140 (reporter-dont-compact-list): Declare.
12141
12142 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12143 Remove unused variable `char'.
12144 (sh-debug): Mark unused parameter.
12145 (sh-get-indent-info): Remove unused variable `start'.
12146 (sh-calculate-indent): Remove unused variable `var'.
12147
12148 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12149 (simula-electric-keyword): Remove unused variable `null'.
12150 (simula-search-backward, simula-search-forward): Remove unused
12151 variables `begin' and `end'.
12152
12153 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12154 Remove unused variable `pos'.
12155 (vera-electric-tab, vera-comment-uncomment-region):
12156 Mark unused parameters.
12157 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12158
7ede3b65
CY
121592011-04-22 Chong Yidong <cyd@stupidchicken.com>
12160
12161 * emacs-lisp/package.el (package--builtins, package-alist)
12162 (package-load-descriptor, package-built-in-p, package-activate)
12163 (define-package, package-installed-p)
12164 (package-compute-transaction, package-buffer-info)
12165 (package--push): Doc fix. Distinguish more clearly between
12166 version strings and version lists.
12167
121656e9
JB
121682011-04-21 Juanma Barranquero <lekktu@gmail.com>
12169
12170 Lexical-binding cleanup.
12171
12172 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12173 (5x5-make-mutate-best):
12174 * play/fortune.el (fortune-in-buffer):
12175 * play/gomoku.el (gomoku-init-display):
12176 * play/solitaire.el (solitaire, solitaire-do-check):
12177 * play/tetris.el (tetris-default-update-speed-function):
12178 Mark unused parameters.
12179
12180 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12181 (bubbles--shift): Remove unused variable `char-org'.
12182 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12183 (bubbles--show-images): Remove unused variable `char'.
12184
12185 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12186 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12187 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12188 (decipher-analyze-buffer): Use ?\s.
12189 (decipher-make-checkpoint): Remove unused variable `mapping'.
12190
12191 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12192
12193 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12194 Remove unused variable `result'; use `let'.
12195
12196 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12197 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12198 (gametree-children-shown-p, gametree-compute-reduced-score):
12199 Use `ignore-errors'.
12200
12201 * play/handwrite.el (ps-lpr-switches): Declare.
12202 (handwrite): Remove unused variables `pmin' and `lastp'.
12203
12204 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12205
12206 * play/landmark.el (landmark-init-display)
12207 (landmark-update-naught-weights): Mark unused parameters.
12208 (landmark-y): Remove unused variable `noise'. Simplify.
12209 (landmark-human-plays): Remove unused variable `score'.
12210
12211 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12212 (mpuz-try-proposal): Remove unused variable `game'.
12213
12214 * play/zone.el (life-patterns): Declare.
12215
80f499c7
JB
122162011-04-20 Juanma Barranquero <lekktu@gmail.com>
12217
12218 * vc/vc.el (ediff-vc-internal): Declare function.
12219
024ff170
SM
122202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12221
c0a193ea
SM
12222 * shell.el: Use lexical-binding and std completion UI.
12223 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12224 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12225 comint-preoutput-filter-functions rather than on
12226 comint-output-filter-functions.
12227 (shell-command-completion, shell--command-completion-data)
12228 (shell-filename-completion, shell-environment-variable-completion)
12229 (shell-c-a-p-replace-by-expanded-directory): New functions.
12230 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12231 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12232 (shell-dynamic-complete-environment-variable): Use them.
12233 (shell-dynamic-complete-as-environment-variable)
12234 (shell-dynamic-complete-as-command): Remove.
12235 (shell-match-partial-variable): Match past point.
12236 * comint.el: Clean up use of completion-at-point-functions.
12237 (comint-completion-at-point): New function.
12238 (comint-mode): Use it completion-at-point-functions.
12239 (comint-dynamic-complete): Make it obsolete.
12240 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12241 (comint-c-a-p-replace-by-expanded-history): New function.
12242 (comint-dynamic-complete-functions)
12243 (comint-replace-by-expanded-history): Use it.
12244 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12245 termination strings. Try harder to avoid second try-completion.
12246 (completion-in-region-mode-map): Disable bindings that don't work yet.
12247
2dbaa080
SM
12248 * comint.el: Use lexical-binding. Require CL.
12249 (comint-dynamic-complete-functions): Use comint-filename-completion.
12250 (comint-completion-addsuffix): Tweak custom type.
12251 (comint-filename-completion, comint--common-suffix)
12252 (comint--common-quoted-suffix, comint--table-subvert)
12253 (comint--complete-file-name-data): New functions.
12254 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12255 (comint-dynamic-list-filename-completions): Use them.
12256 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12257
2dbaa080
SM
12258 * minibuffer.el (completion-in-region-mode):
12259 Keep completion-in-region-mode--predicate global.
12260 (completion-in-region--postch):
12261 Assume completion-in-region-mode--predicate is not null.
12262
c79a6f38
SM
12263 * progmodes/flymake.el (flymake-start-syntax-check-process):
12264 Obey `dir'. Simplify.
12265
024ff170
SM
12266 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12267 we're in VC after all.
12268
1c6c854e
CS
122692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12270
12271 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12272 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12273 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12274
bed7f140
SM
122752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12276
332e62ab
SM
12277 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12278 add sanity check.
12279
bed7f140
SM
12280 * obsolete/erc-hecomplete.el: Make obsolete.
12281 * obsolete/: Standardize obsolescence info in the header.
12282
f195c582
GM
122832011-04-20 Glenn Morris <rgm@gnu.org>
12284
12285 * calendar/solar.el (solar-horizontal-coordinates):
12286 Use the longitude argument rather than `calendar-longitude'.
12287 (solar-date-next-longitude): Remove unused locals.
12288
cb79b8c0
VJL
122892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12290
12291 * whitespace.el: New version 13.2.1.
12292
122932011-04-20 felix <EmacsWiki> (tiny change)
12294
d8e4b68b 12295 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12296 switching between major modes on a file.
12297
602ea69d
SM
122982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12301 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12302 multi-line comments as well.
12303
06b60517
JB
123042011-04-19 Juanma Barranquero <lekktu@gmail.com>
12305
12306 Lexical-binding cleanup.
12307
12308 * arc-mode.el (archive-mode-revert):
12309 * cmuscheme.el (scheme-interactively-start-process):
12310 * custom.el (custom-initialize-delay):
12311 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12312 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12313 * emacs-lock.el (emacs-lock-clear-sentinel):
12314 * ezimage.el (defezimage):
12315 * follow.el (follow-avoid-tail-recenter):
12316 * fringe.el (set-fringe-mode-1):
12317 * generic-x.el (bat-generic-mode-compile):
12318 * help-mode.el (help-info-variable, help-do-xref)
12319 (help-mode-revert-buffer):
12320 * help.el (view-emacs-todo):
12321 * iswitchb.el (iswitchb-completion-help):
12322 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12323 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12324 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12325 * locate.el (locate-update):
12326 * longlines.el (longlines-encode-region)
12327 (longlines-after-change-function):
12328 * outline.el (outline-isearch-open-invisible):
12329 * ps-def.el (declare-function, charset-dimension, char-width)
12330 (encode-char):
12331 * ps-mule.el (ps-mule-plot-string):
12332 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12333 (recentf-edit-list-select, recentf-edit-list-validate)
12334 (recentf-open-files-action):
12335 * rect.el (delete-whitespace-rectangle-line)
12336 (rectangle-number-line-callback):
12337 * register.el (window-configuration-to-register)
12338 (frame-configuration-to-register):
12339 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12340 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12341 (xselect-convert-to-targets, xselect-convert-to-delete)
12342 (xselect-convert-to-filename, xselect-convert-to-charpos)
12343 (xselect-convert-to-lineno, xselect-convert-to-colno)
12344 (xselect-convert-to-os, xselect-convert-to-host)
12345 (xselect-convert-to-user, xselect-convert-to-class)
12346 (xselect-convert-to-name, xselect-convert-to-integer)
12347 (xselect-convert-to-atom, xselect-convert-to-identity):
12348 * subr.el (declare, ignore, process-kill-without-query)
12349 (text-clone-maintain):
12350 * terminal.el (te-get-char, te-tic-sentinel):
12351 * tool-bar.el (tool-bar-make-keymap):
12352 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12353 * type-break.el (type-break-mode, type-break-noninteractive-query):
12354 * view.el (View-back-to-mark):
12355 * wid-browse.el (widget-browse-action, widget-browse-widget)
12356 (widget-browse-widgets, widget-browse-sexp):
12357 * widget.el (define-widget-keywords):
12358 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12359 Mark unused parameters.
12360
12361 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12362 (align-areas): Remove unused variable `look'.
12363 (align-region): Remove unused variables `real-end' and `pos-list'.
12364
12365 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12366
12367 * bindings.el (mode-line-modified, mode-line-remote):
12368 Mark unused parameters.
12369 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12370
12371 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12372 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12373
12374 * comint.el (comint-history-isearch-pop-state)
12375 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12376 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12377 (comint-substitute-in-file-name): Doc fix.
12378
12379 * completion.el (cmpl-statistics-block): Mark unused parameter.
12380 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12381 (save-completions-to-file, load-completions-from-file):
12382 Remove unused local variable `e'.
12383
12384 * composite.el (compose-chars): Remove unused variable `len'.
12385 (lgstring-insert-glyph): Remove unused variable `g'.
12386 (compose-glyph-string): Remove unused variables `ascent',
12387 `descent', `lbearing' and `rbearing'.
12388 (compose-glyph-string-relative): Remove unused variables
12389 `lbearing', `rbearing' and `wadjust'.
12390 (compose-gstring-for-graphic): Remove unused variables `header',
12391 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12392 (compose-gstring-for-terminal): Remove unused variables `header'
12393 and `nchars'. Use `let', not `let*'.
12394
12395 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12396 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12397 (Custom-buffer-done, custom-buffer-create-internal)
12398 (custom-browse-visibility-action, custom-browse-group-tag-action)
12399 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12400 (widget-magic-mouse-down-action, custom-toggle-parent)
12401 (custom-add-parent-links, custom-toggle-hide-variable)
12402 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12403 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12404 (custom-face-menu-create, custom-variable-menu-create, get)
12405 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12406 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12407 (customize-apropos): Remove unused variable `tests'.
12408 (custom-group-value-create): Remove unused variable `hidden-p'.
12409 (sort-fold-case): Declare.
12410
12411 * cus-theme.el (custom-reset-standard-faces-list)
12412 (custom-reset-standard-variables-list): Declare.
12413 (customize-create-theme, custom-theme-revert, custom-theme-write)
12414 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12415 Mark unused parameters.
12416
12417 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12418
12419 * delim-col.el (delimit-columns-max): Move defvar before first use.
12420
12421 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12422 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12423
12424 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12425 (auto-insert): Declare.
12426 (desktop-restore-file-buffer): Rename desktop-* parameters;
12427 mark unused ones.
12428 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12429 (desktop-buffer): Rename desktop-* parameters.
12430
12431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12432 (dframe-reposition-frame-xemacs, dframe-help-echo)
12433 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12434 Mark unused parameters.
12435
12436 * dired-aux.el (backup-extract-version-start, overwrite-query)
12437 (overwrite-backup-query, rename-regexp-query)
12438 (rename-non-directory-query): Declare.
12439 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12440 (dired-add-entry): Remove unused variable `orig-file-name'.
12441 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12442 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12443 `dired-copy-preserve-time' directly.
12444 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12445 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12446
12447 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12448 (dired-virtual-revert, dired-make-relative-symlink):
12449 Mark unused parameters.
12450 (manual-program): Declare.
12451 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12452 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12453 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12454
12455 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12456
12457 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12458
12459 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12460 Declare.
12461
12462 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12463
12464 * electric.el (Electric-command-loop): Rename parameter
12465 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12466
12467 * expand.el (expand-in-literal): Remove unused variable `here'.
12468
12469 * facemenu.el (facemenu-add-new-color):
12470 Remove unused variable `docstring'.
12471
12472 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12473 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12474 (face-attr-construct): Mark unused parameter. Doc fix.
12475 (read-color): Remove unused variable `hex-string'.
12476
12477 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12478 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12479 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12480 (display-buffer-other-frame): Remove unused variable `old-window'.
12481 (kill-buffer-hook): Declare.
12482 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12483 Mark unused parameters.
12484 (after-find-file): Pass 1 to `auto-save-mode', not t.
12485
12486 * files-x.el (auto-insert): Declare.
12487 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12488
12489 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12490 variable `buf'. Mark unused parameter.
06b60517
JB
12491 (find-lisp-insert-directory): Mark unused parameter.
12492
12493 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12494 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12495 (format-common-tail): Remove, unused.
12496 (format-deannotate-region): Remove unused variable `loc'.
12497 (format-annotate-region): Remove unused variable `p'.
12498 (format-annotate-single-property-change): Remove unused variables
12499 `default' and `tail'.
12500
12501 * forms.el (read-file-filter): Declare.
12502 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12503
12504 * frame.el (frame-creation-function-alist): Mark unused parameter.
12505 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12506
12507 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12508 Remove unused parameters.
12509 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12510 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12511
12512 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12513 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12514 (hfy-prepare-tag-map): Mark unused parameters.
12515 (htmlfontify-buffer): Use `called-interactively-p'.
12516
12517 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12518 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12519 (ibuffer-do-occur): Mark unused parameters.
12520 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12521 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12522
12523 * ibuffer.el: Don't quote `lambda'.
12524 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12525 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12526 Mark unused parameters.
12527
12528 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12529 (ido-completing-read): Mark unused parameters.
12530 (ido-copy-current-word): Mark unused parameters;
12531 remove unused variable `name'.
12532 (ido-sort-merged-list): Remove unused parameter `dirs'.
12533
12534 * ielm.el (ielm-input-sender): Mark unused parameter.
12535 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12536 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12537 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12538 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12539 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12540
12541 * image-dired.el (image-dired-display-thumbs): Remove unused
12542 variables `curr-file' and `count'.
12543 (image-dired-remove-tag): Remove unused variable `start'.
12544 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12545 variable `curr-file'
12546 (image-dired-rotate-original): Remove unused variable `temp-file'.
12547 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12548 Remove unused variable `file'.
12549 (image-dired-gallery-generate): Remove unused variable `curr'.
12550 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12551
12552 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12553
12554 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12555
12556 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12557
12558 * isearch.el (minibuffer-history-symbol): Declare.
12559 (isearch-edit-string): Remove unused variable `err'.
12560 (isearch-message-prefix, isearch-message-suffix):
12561 Mark unused parameters.
12562
12563 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12564
12565 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12566
12567 * makesum.el (double-column): Remove unused variable `cnt'.
12568
12569 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12570 (ido-ignore-item-temp-list): Declare.
12571
12572 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12573 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12574 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12575 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12576 `mouse-col-delta'.
12577
12578 * mouse-sel.el (mouse-extend-internal):
12579 Remove unused variable `orig-window-frame'.
12580
12581 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12582 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12583 Move declarations before first use.
12584 (pcomplete-opt): Mark unused parameters; doc fix.
12585
12586 * proced.el (proced-revert): Mark unused parameter.
12587 (proced-send-signal): Remove unused variable `err'.
12588
12589 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12590 Rename parameter PREFIX-ARG to ARG.
12591 (ps-basic-plot-string, ps-basic-plot-whitespace):
12592 Mark unused parameters.
12593
12594 * replace.el (replace-count): Define.
12595 (occur-revert-function): Mark unused parameters.
12596 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12597 (isearch-case-fold-search, isearch-string): Declare.
12598 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12599 bind `case-fold-search'. Remove unused variables `beg' and `end',
12600 and simplify.
12601 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12602 COUNT and bind `replace-count'.
12603 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12604 to COUNT.
12605
12606 * savehist.el (print-readably, print-string-length): Declare.
12607
12608 * shadowfile.el (shadow-expand-cluster-in-file-name):
12609 Remove unused variable `cluster'.
12610 (shadow-copy-file): Remove unused variable `i'.
12611 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12612 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12613 (shadow-define-literal-group, shadow-define-regexp-group)
12614 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12615
12616 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12617 (shell): Use `called-interactively-p'.
12618 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12619
12620 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12621 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12622 (delete-backward-char): Remove unused variable `ocol'.
12623 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12624 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12625 (event-apply-hyper-modifier, event-apply-shift-modifier)
12626 (event-apply-control-modifier, event-apply-meta-modifier):
12627 Mark unused parameters.
12628 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12629 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12630
12631 * speedbar.el (speedbar-ignored-directory-expressions)
12632 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12633 (speedbar-find-file, speedbar-dir-follow)
12634 (speedbar-directory-buttons-follow, speedbar-tag-find)
12635 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12636 (speedbar-buffers-line-directory, speedbar-buffer-click):
12637 Mark unused parameters.
12638 (speedbar-tag-file): Remove unused variable `mode'.
12639 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12640
12641 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12642
12643 * talk.el (talk): Remove unused variable `display'.
12644
12645 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12646 (tar-write-region-annotate): Mark unused parameter.
12647
12648 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12649 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12650 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12651 warning by another.
12652
12653 * time-stamp.el (time-stamp-string-preprocess):
12654 Remove unused variable `require-padding'.
12655
12656 * tree-widget.el (widget-glyph-enable): Declare.
12657 (tree-widget-action): Mark unused parameter.
12658
12659 * w32-fns.el (x-get-selection): Mark unused parameter.
12660 (autoload-make-program, generated-autoload-file): Declare.
12661
12662 * wdired.el (wdired-revert): Mark unused parameters.
12663 (wdired-xcase-word): Remove unused variable `err'.
12664
12665 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12666 (whitespace-help-scroll): Remove unused variable `data-help'.
12667
12668 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12669 (widget-image-insert, widget-after-change, default)
12670 (widget-default-format-handler, widget-default-notify)
12671 (widget-default-prompt-value, widget-info-link-action)
12672 (widget-url-link-action, widget-function-link-action)
12673 (widget-variable-link-action, widget-file-link-action)
12674 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12675 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12676 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12677 (widget-insert-button-action, widget-delete-button-action, visibility)
12678 (widget-documentation-link-action, widget-documentation-string-action)
12679 (widget-const-prompt-value, widget-regexp-match, symbol)
12680 (widget-coding-system-prompt-value)
12681 (widget-key-sequence-value-to-external, sexp)
12682 (widget-sexp-value-to-internal, character, vector, cons)
12683 (widget-choice-prompt-value, widget-boolean-prompt-value)
12684 (widget-color--choose-action): Mark unused parameters.
12685 (widget-item-match-inline, widget-choice-match-inline)
12686 (widget-checklist-match, widget-checklist-match-inline)
12687 (widget-group-match): Rename parameter VALUES to VALS.
12688 (widget-field-value-set): Remove unused variable `size'.
12689 (widget-color-action): Remove unused variables `value' and `start'.
12690
12691 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12692 variable `dir'. Doc fix.
06b60517
JB
12693 (windmove-find-other-window): Don't pass it.
12694
12695 * window.el (count-windows): Mark unused parameter.
12696 (bw-adjust-window): Remove unused variable `err'.
12697
12698 * woman.el (woman-file-name): Remove unused variable `default'.
12699 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12700 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12701 (global-font-lock-mode): Declare.
12702 (woman-decode-region): Mark unused parameter.
12703 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12704
12705 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12706 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12707 (x-dnd-handle-moz-url): Remove unused variable `title'.
12708 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12709
12710 * xml.el (xml-parse-tag, xml-parse-attlist):
12711 Remove unused variable `pos'.
12712
bc4f7f3d
GM
127132011-04-19 Glenn Morris <rgm@gnu.org>
12714
12715 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12716 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12717 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12718 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12719 * calendar/cal-html.el (cal-html-insert-minical):
12720 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12721 (calendar-mark-date-pattern):
12722 Prefix "unused" locals.
12723
12724 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12725 optional argument `style'.
12726
12727 * calendar/appt.el (appt-make-list):
12728 * calendar/cal-china.el (calendar-chinese-date-string):
12729 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12730 (diary-hebrew-yahrzeit):
12731 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12732 * calendar/calendar.el (calendar-generate-window):
12733 * calendar/time-date.el (time-to-days):
12734 Remove unused local variables.
12735
16a43933
CY
127362011-04-18 Chong Yidong <cyd@stupidchicken.com>
12737
12738 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12739 glyphless-char-display table.
12740 (tabulated-list-glyphless-char-display): New var.
12741
7eed1860
SS
127422011-04-18 Sam Steingold <sds@gnu.org>
12743
12744 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12745 to acknowledgments.
12746
4d2d1ccd
GM
127472011-04-17 Glenn Morris <rgm@gnu.org>
12748
12749 * calendar/diary-lib.el (diary-sexp-entry):
12750 * calendar/holidays.el (holiday-sexp):
12751 Set debug-on-error rather than the removed stack-trace-on-error.
12752
239da61d
GM
127532011-04-16 Glenn Morris <rgm@gnu.org>
12754
12755 * progmodes/f90.el: Use lexical-binding.
12756 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12757
8b05752a
SM
127582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12759
daca8ba5
SM
12760 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12761 (mail-mode): Setup mailalias completion here instead.
12762 * mail/mailalias.el: Use lexical-binding.
12763 (pattern, mailalias-done): Declare dynamic.
12764 (mail-completion-at-point-function): New function, from mail-complete.
12765 (mail-complete): Use it.
12766 (mail-completion-expand): New function.
12767 (mail-get-names): Use it.
12768 (mail-directory, mail-directory-process, mail-directory-stream):
12769 Don't use `pattern' for lexically bound arg.
12770
6f542485
SM
12771 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12772
037e7c3f
SM
12773 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12774 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12775 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12776
8b05752a
SM
12777 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12778 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12779 (byte-interactive-p): Define them again, for use when inlining
12780 old code.
12781
49093f60
JB
127822011-04-15 Juanma Barranquero <lekktu@gmail.com>
12783
12784 * loadup.el: Use `string-to-number', not `string-to-int'.
12785
b5b8e7de
SM
127862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12789 gud-gdb-complete-command.
12790 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12791 (gud-gdb-completion-at-point): New function.
12792 (gud-gdb-completions): Remove.
12793
f42efeb5
MA
127942011-04-14 Michael Albinus <michael.albinus@gmx.de>
12795
49093f60
JB
12796 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12797 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12798 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12799 whether `executable-find' is bound.
f42efeb5
MA
12800
12801 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12802
e240cc21
SM
128032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * minibuffer.el (completion-in-region-mode-predicate)
12806 (completion-in-region-mode--predicate): New vars.
12807 (completion-in-region, completion-in-region--postch)
12808 (completion-in-region-mode): Use them.
12809 (completion--capf-wrapper): Also return the hook function.
12810 (completion-at-point, completion-help-at-point):
12811 Adjust and provide a predicate.
c2bd2ab0
SM
12812
12813 Preserve arg names for advice of subr and lexical functions (bug#8457).
12814 * help-fns.el (help-function-arglist): Consolidate the subr and
12815 new-byte-code cases. Add argument `preserve-names' to extract names
12816 from the docstring when needed.
12817 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12818 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12819 (ad-arglist): Use help-function-arglist's new arg.
12820 (ad-definition-type): Use cond.
12821
c183f693
JB
128222011-04-13 Juanma Barranquero <lekktu@gmail.com>
12823
06641a47
JB
12824 * autorevert.el (auto-revert-handler):
12825 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12826 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12827 Don't quote lambda.
12828
c183f693
JB
12829 * image-mode.el (image-transform-set-scale):
12830 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12831
1e3b6001
G
128322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12833
12834 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12835 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12836 Upgrades via gnutls-cli are too slow to be done opportunistically.
12837
2d6af8dd
JB
128382011-04-12 Juanma Barranquero <lekktu@gmail.com>
12839
12840 * dframe.el (dframe-current-frame): Remove spurious quote.
12841
c0749a51
GM
128422011-04-12 Glenn Morris <rgm@gnu.org>
12843
088d0d61
GM
12844 * calendar/cal-tex.el (cal-tex-end-document):
12845 Try to automatically use latin1 input if needed.
12846
c0749a51
GM
12847 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12848 Don't try to cons a mark onto an empty element.
12849
5c90fde0
LL
128502011-04-11 Leo Liu <sdl.web@gmail.com>
12851
12852 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12853 buffers.
12854 (ido-kill-buffer-at-head): Support killing virtual buffers.
12855
369e974d
CY
128562011-04-10 Chong Yidong <cyd@stupidchicken.com>
12857
12858 * minibuffer.el (completion-show-inline-help): New var.
12859 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12860 (minibuffer-force-complete, minibuffer-complete-word):
12861 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12862
12863 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12864 to avoid interference from inline help (Bug#5849).
12865
37f1c930
LL
128662011-04-10 Leo Liu <sdl.web@gmail.com>
12867
099c39a4
JB
12868 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12869 Fix typo.
37f1c930 12870
a32d4040
CY
128712011-04-09 Chong Yidong <cyd@stupidchicken.com>
12872
12873 * image-mode.el (image-toggle-display-image): Signal an error if
12874 not in Image mode.
12875 (image-transform-mode, image-transform-resize)
12876 (image-transform-set-rotation): Doc fix.
daca8ba5 12877 (image-transform-set-resize): Delete.
a32d4040
CY
12878 (image-transform-set-scale, image-transform-fit-to-height)
12879 (image-transform-fit-to-width): Handle image-toggle-display-image
12880 and image-transform-resize directly.
12881
099c39a4 128822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12883
12884 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12885 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12886 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12887 (doc-view-mode-map): Add bindings for the new functions.
12888
099c39a4 128892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12890
4d61f28d 12891 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12892 Fix typo in docstring.
12893
3726838a
EZ
128942011-04-08 Eli Zaretskii <eliz@gnu.org>
12895
04f33f1e
EZ
12896 * files.el (file-size-human-readable): Produce one digit after
12897 decimal, like "ls -lh" does.
12898
12899 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12900 the file size representation.
12901
3726838a
EZ
12902 * simple.el (list-processes): If async subprocesses are not
12903 available, error out with a clear error message.
12904
cbb59342
CY
129052011-04-08 Chong Yidong <cyd@stupidchicken.com>
12906
12907 * help.el (help-form-show): New function, to be called from C.
12908 Put help-form output in a buffer named differently than *Help*.
12909
e3971c44
EZ
129102011-04-08 Eli Zaretskii <eliz@gnu.org>
12911
12912 * files.el (file-size-human-readable): New function.
12913
12914 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12915 computing the representation inline. Don't require `cl'.
12916
12544bbe
GM
129172011-04-08 Glenn Morris <rgm@gnu.org>
12918
a1de6c6a
GM
12919 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12920
3c4671f4
GM
12921 * net/browse-url.el (browse-url-firefox):
12922 Test system-type, not system-configuration.
12923
b605679c
GM
12924 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12925 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12926 Use log-edit-empty-buffer-p. (Bug#7598)
12927
56442f0c
GM
12928 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12929 (rlogin-mode-map): Initialize in the defvar.
12930 (rlogin): Use ignore-errors.
12931
12544bbe
GM
12932 * replace.el (occur-mode-map): Some fixes for menu items.
12933
eb237b0f
AH
129342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12935
12936 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12937
7d668f2c
CY
129382011-04-06 Chong Yidong <cyd@stupidchicken.com>
12939
e67a13ab
CY
12940 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12941 issuing unused warnings.
12942
12943 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12944 macro directly.
12945
7d668f2c
CY
12946 * simple.el: Lisp reimplement of list-processes. Based on an
12947 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12948 (process-menu-mode): New major mode.
12949 (list-processes--refresh, list-processes):
12950 (process-menu-visit-buffer): New functions.
12951
12952 * files.el (save-buffers-kill-emacs): Don't assume any return
12953 value of list-processes, which is undocumented anyway.
12954
a83ec3c9
CY
129552011-04-06 Chong Yidong <cyd@stupidchicken.com>
12956
12957 * emacs-lisp/tabulated-list.el: New file.
12958
e91a96fe
CY
12959 * emacs-lisp/package.el: Use Tabulated List mode.
12960 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12961 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12962 table format using Tabulated List mode variables.
12963 (package--push): New macro, replacing package-list-maybe-add.
12964 (package-menu--generate): Use package--push. Renamed from
12965 package--generate-package-list.
12966 (package-menu-refresh, list-packages): Use it.
daca8ba5 12967 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12968 Return insertion data instead of inserting it directly.
099c39a4
JB
12969 (package-menu-describe-package, package-menu-execute):
12970 Use tabulated-list-get-id.
e91a96fe
CY
12971 (package-menu-mark-delete, package-menu-mark-install)
12972 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12973 (package-menu-mark-obsolete-for-deletion):
12974 Use tabulated-list-put-tag.
e91a96fe
CY
12975 (package--list-packages, package-menu-revert)
12976 (package-menu-get-package, package-menu-get-version)
12977 (package-menu-sort-by-column): Functions deleted.
12978 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12979 (package-menu--status-predicate, package-menu--version-predicate)
12980 (package-menu--name-predicate)
12981 (package-menu--description-predicate): Handle arguments in the
12982 Tabulated List format.
12983 (package-list-packages-no-fetch): Call list-packages.
12984
3e214b50
JB
129852011-04-06 Juanma Barranquero <lekktu@gmail.com>
12986
12987 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12988 (after-find-file): Don't bind it.
3e214b50
JB
12989 (revert-buffer-in-progress-p): New variable.
12990 (revert-buffer): Bind it.
12991 Pass nil for `after-find-file-from-revert-buffer'.
12992
12993 * saveplace.el (save-place-find-file-hook): Use new variable
12994 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12995
3f0f1700
GM
129962011-04-06 Glenn Morris <rgm@gnu.org>
12997
c0274801
GM
12998 * Makefile.in (AUTOGEN_VCS): New variable.
12999 (autoloads): Use $AUTOGEN_VCS.
13000
3f0f1700
GM
13001 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13002 * calendar/calendar.el (calendar-mode-map):
13003 Check for toolkit scroll bars. (Bug#8305)
13004
41ea9e48
CY
130052011-04-05 Chong Yidong <cyd@stupidchicken.com>
13006
13007 * minibuffer.el (completion-in-region--postch)
13008 (completion-in-region-mode): Remove unnecessary messages.
13009
6194c800
JB
130102011-04-05 Juanma Barranquero <lekktu@gmail.com>
13011
33256f14
JB
13012 * font-lock.el (font-lock-refresh-defaults):
13013 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13014 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13015
6194c800
JB
13016 * info.el (Info-directory-list, Info-read-node-name-2)
13017 (Info-split-parameter-string): Doc fixes.
13018 (Info-virtual-nodes): Reflow docstring.
13019 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13020 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13021 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13022 Fix typos in docstrings.
13023 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13024 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13025 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13026 (Info-restore-desktop-buffer): Mark unused parameters.
13027 (Info-directory-find-file, Info-directory-find-node)
13028 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13029 (Info-virtual-index-find-node, Info-apropos-find-file)
13030 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13031 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13032 (Info-virtual-index): Remove unused local variable `nodename'.
13033
b87a8200 130342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13035
b87a8200
DD
13036 * net/rcirc.el: Update my e-mail address.
13037 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13038
3b2ff876
CY
130392011-04-05 Chong Yidong <cyd@stupidchicken.com>
13040
13041 * startup.el (command-line): Save the cursor's theme-face
13042 directly, instead of using face-override-spec.
13043
13044 * custom.el (load-theme): Minor optimization in assigning faces.
13045
8d17e7ca
JB
130462011-04-04 Juanma Barranquero <lekktu@gmail.com>
13047
13048 * help-fns.el (describe-variable): Complete all variables having
13049 documentation, including keywords.
13050 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13051
2fbc1934
JB
130522011-04-04 Juanma Barranquero <lekktu@gmail.com>
13053
13054 Convert to lexical-binding.
13055
13056 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13057 (bs--get-marked-string, bs--get-modified-string)
13058 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13059 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13060 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13061
13062 * ehelp.el (electric-help-execute-extended)
13063 (electric-help-ctrl-x-prefix):
13064 * hexl.el (hexl-revert-buffer-function):
13065 * linum.el (linum-after-change, linum-after-scroll):
13066 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13067
13068 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13069
74f50695
DU
130702011-04-04 Daiki Ueno <ueno@unixuser.org>
13071
13072 * epa-dired.el:
13073 * epa-mail.el:
13074 * epa-hook.el:
13075 * epa-file.el:
13076 * epa.el:
13077 * epg.el: Use lexical binding.
13078
c11325f7
CY
130792011-04-03 Chong Yidong <cyd@stupidchicken.com>
13080
0d9e9a12
CY
13081 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13082
c11325f7 13083 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13084 dictionary case for flyspell-mark-duplications-exceptions.
13085 Use regexp matching for languages.
c11325f7
CY
13086 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13087 default dictionary (Bug#7926).
13088
da91b5f2
CY
130892011-04-02 Chong Yidong <cyd@stupidchicken.com>
13090
099c39a4
JB
13091 * emacs-lisp/package.el (package--with-work-buffer):
13092 Recognize https URLs.
da91b5f2 13093
099c39a4
JB
13094 * net/network-stream.el: Move from gnus/proto-stream.el.
13095 Change prefix to network-stream throughout.
da91b5f2
CY
13096 (open-protocol-stream): Merge into open-network-stream, leaving
13097 open-protocol-stream as an alias. Handle nil BUFFER args.
13098
13099 * subr.el (open-network-stream): Move to net/network-stream.el.
13100
afa8e9f6
GM
131012011-04-02 Glenn Morris <rgm@gnu.org>
13102
1d2e369d
GM
13103 * find-dired.el (find-exec-terminator): New option.
13104 (find-ls-option): Test for -ls support.
13105 (find-ls-subdir-switches): Test for -b in find-ls-option.
13106 (find-dired, find-grep-dired): Doc fixes.
13107 (find-dired): Use find-exec-terminator.
13108
8abb7da8 13109 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13110 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13111 (find-name-arg): Remove purecopy.
8abb7da8 13112
f3ca7378
GM
13113 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13114 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13115 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13116 accordingly. Don't add the null-device if not needed.
13117
afa8e9f6
GM
13118 * files.el (save-some-buffers): Doc fix.
13119
35eae264
EZ
131202011-04-02 Eli Zaretskii <eliz@gnu.org>
13121
13122 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13123
26b51db5
JB
131242011-04-01 Juanma Barranquero <lekktu@gmail.com>
13125
13126 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13127 Use `dolist' rather than `mapcar'.
13128
7200d79c
SM
131292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13130
03408648 13131 Add lexical binding.
7200d79c 13132
03408648
SM
13133 * subr.el (apply-partially): Use new closures rather than CL.
13134 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13135 (dolist, dotimes): Use slightly different expansion for lexical code.
13136 (functionp): Move to C.
13137 (letrec): New macro.
13138 (with-wrapper-hook): Use it and apply-partially instead of CL.
13139 (eval-after-load): Preserve lexical-binding.
13140 (save-window-excursion, with-output-to-temp-buffer): Turn them
13141 into macros.
7200d79c 13142
03408648
SM
13143 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13144
13145 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13146 than the arglist.
13147 (help-add-fundoc-usage): Don't add `Not documented'.
13148 (help-function-arglist): Handle closures, subroutines, and new
13149 byte-code-functions.
13150 (help-make-usage): Remove leading underscores.
13151 (describe-function-1): Handle closures.
13152 (describe-variable): Use special-variable-p for completion.
13153
13154 * files.el (lexical-binding): Declare safe.
f488fb65 13155
03408648
SM
13156 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13157 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13158 (pcase): Add `let' pattern.
13159 Change memoization so it actually works.
13160 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13161 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13162 <let>: New case.
f488fb65 13163
03408648
SM
13164 * emacs-lisp/macroexp.el: Use lexical binding.
13165 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13166 Don't convert ' to #' without checking that it's indeed quoting
13167 a lambda.
13168
13169 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13170 Use eval-sexp-add-defvars.
03408648
SM
13171 (eval-sexp-add-defvars): New fun.
13172
13173 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13174
13175 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13176 Don't autoload.
13177 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13178 than the internal `byte-compile-lambda'.
13179 (defmethod): Don't hide code under quotes.
13180 (eieio-defmethod): New `code' argument.
13181
13182 * emacs-lisp/eieio-comp.el: Remove.
13183
13184 * emacs-lisp/edebug.el (edebug-eval-defun)
13185 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13186 (edebug-toggle): Avoid `eval'.
13187
13188 * emacs-lisp/disass.el (disassemble-internal): Handle new
13189 `closure' objects.
13190 (disassemble-1): Handle new byte codes.
13191
13192 * emacs-lisp/cl.el (pushnew): Silence warning.
13193
13194 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13195 (cl-byte-compile-throw): Remove.
13196 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13197
13198 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13199 closures.
13200
13201 * emacs-lisp/cconv.el: New file.
13202
13203 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13204 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13205 (byte-compile-initial-macro-environment):
13206 Handle declare-function here.
13207 (byte-compile--lexical-environment): New var.
13208 (byte-stack-ref, byte-stack-set, byte-discardN)
13209 (byte-discardN-preserve-tos): New lap codes.
13210 (byte-interactive-p): Don't use any more.
13211 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13212 New macros.
13213 (byte-compile-lapcode): Use them and handle new lap codes.
13214 (byte-compile-obsolete): Remove.
13215 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13216 (byte-compile-arglist-warn): Check late def of inlinable funs.
13217 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13218 since they should have been expanded by now.
13219 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13220 (byte-compile-from-buffer): Remove unused second arg.
13221 (byte-compile-preprocess): New function.
13222 (byte-compile-toplevel-file-form): New function to distinguish
13223 file-form calls from outside from file-form calls from hunk-handlers.
13224 (byte-compile-file-form): Simplify.
13225 (byte-compile-file-form-defsubst): Remove.
13226 (byte-compile-file-form-defmumble): Simplify now that
13227 byte-compile-lambda always returns a byte-code-function.
13228 (byte-compile): Preprocess.
13229 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13230 Remove, not used any more.
13231 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13232 (byte-compile-make-args-desc): New funs.
13233 (byte-compile-lambda): Handle lexical functions. Always return
13234 a byte-code-function.
13235 (byte-compile-reserved-constants): New var, to make up room for
13236 closed-over variables.
13237 (byte-compile-constants-vector): Obey it.
13238 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13239 (byte-compile-macroexpand-declare-function): New function.
13240 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13241 byte-code-functions.
13242 (byte-compile-form): Check obsolescence here.
13243 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13244 (byte-compile-variable-ref): Remove.
13245 (byte-compile-dynamic-variable-op): New fun.
13246 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13247 (byte-compile-variable-set): New funs.
13248 (byte-compile-discard): Add 2 args.
13249 (byte-compile-stack-ref, byte-compile-stack-set)
13250 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13251 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13252 macroexpand-all instead.
13253 (byte-compile-quote-form): Remove.
13254 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13255 (byte-compile-bind, byte-compile-unbind): New funs.
13256 (byte-compile-let): Handle let* and lexical binding.
13257 (byte-compile-let*): Remove.
13258 (byte-compile-catch, byte-compile-unwind-protect)
13259 (byte-compile-track-mouse, byte-compile-condition-case):
13260 Handle a new :fun-body form, used for lexical scoping.
13261 (byte-compile-save-window-excursion)
13262 (byte-compile-with-output-to-temp-buffer): Remove.
13263 (byte-compile-defun): Simplify.
13264 (byte-compile-stack-adjustment): New fun.
13265 (byte-compile-out): Use it.
13266 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13267
13268 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13269 handler any more.
13270
13271 * emacs-lisp/byte-opt.el: Use lexical binding.
13272 (byte-inline-lapcode): Remove (to bytecomp).
13273 (byte-compile-inline-expand): Pay attention to inlining to/from
13274 lexically bound code.
13275 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13276 any more.
13277 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13278 any more and don't call compiler-macros.
13279 (byte-compile-splice-in-already-compiled-code): Remove.
13280 (byte-code): Don't inline any more.
13281 (disassemble-offset): Receive `bytes' as argument rather than via
13282 dynamic scoping.
13283 (byte-compile-tag-number): Declare before first use.
13284 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13285 `return' even if make-spliceable.
13286 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13287 obsolete interactive-p.
13288 (byte-optimize-lapcode): Optimize new lap-codes.
13289 Don't trip up on new form of `byte-constant' lap code.
13290
13291 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13292
13293 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13294
13295 * custom.el (custom-initialize-default, custom-declare-variable):
13296 Use `defvar'.
13297
13298 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13299 New variables.
13300 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13301 (COMPILE_FIRST): Add macroexp and cconv.
13302 * makefile.w32-in: Mirror changes in Makefile.in.
13303
13304 * vc/cvs-status.el:
13305 * vc/diff-mode.el:
13306 * vc/log-edit.el:
13307 * vc/log-view.el:
13308 * vc/smerge-mode.el:
13309 * textmodes/bibtex-style.el:
13310 * textmodes/css.el:
13311 * startup.el:
13312 * uniquify.el:
da91b5f2
CY
13313 * minibuffer.el:
13314 * newcomment.el:
13315 * reveal.el:
13316 * server.el:
13317 * mpc.el:
13318 * emacs-lisp/smie.el:
13319 * doc-view.el:
13320 * dired.el:
03408648
SM
13321 * abbrev.el: Use lexical binding.
13322
0f0c1f27
EZ
133232011-04-01 Eli Zaretskii <eliz@gnu.org>
13324
13325 * info.el (info-display-manual): New function.
13326
c82b2579
SM
133272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13330
221ddf68
TH
133312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13332
13333 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13334 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13335
cba6e77e
GM
133362011-03-31 Glenn Morris <rgm@gnu.org>
13337
e040639f
GM
13338 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13339
cba6e77e
GM
13340 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13341
6d0f1c9e
CS
133422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13343
13344 * progmodes/python.el (python-default-interpreter)
13345 (python-python-command-args, python-jython-command-args)
13346 (python-which-shell, python-which-args, python-which-bufname)
13347 (python-file-queue, python-comint-output-filter-function)
13348 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13349 variables and functions.
13350
3e2d70fd
SM
133512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13354 (completion-in-region-mode): New minor mode.
13355 (completion-in-region): Use it.
13356 (completion-in-region--data, completion-in-region-mode-map): New vars.
13357 (completion-in-region--postch): New function.
13358 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13359 New vars.
13360 (completion--capf-wrapper): New function.
13361 (completion-at-point): Use it to track well-behavedness of
13362 hook functions.
13363 (completion-help-at-point): New command.
13364
f3e4086c
JM
133652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13366
13367 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13368 syntax class to search for whitespace on a single line
13369 (Message-ID: <4D938140.4030905@redhat.com>).
13370
eb7ffc14
LL
133712011-03-30 Leo Liu <sdl.web@gmail.com>
13372
13373 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13374 New commands.
13375 (edit-abbrevs-map): Bind them here.
13376 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13377
d806ab68
KM
133782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13379
13380 * allout.el (allout-hide-by-annotation, allout-flag-region):
13381 Reduce possibility of overlay leakage by making them volatile.
13382
13383 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13384 hash is not shared between buffers. Mode initialization is
13385 responsible for giving it a useful starting value.
13386 (allout-item-span): Reduce possibility of overlay leakage by
13387 making them volatile.
13388 (allout-widgets-count-buttons-in-region): Add diagnostic function
13389 for tracking down button overlay leaks.
13390
ea622834
LL
133912011-03-29 Leo Liu <sdl.web@gmail.com>
13392
13393 * ido.el (ido-read-internal): Use the default history var
13394 minibuffer-history if no HISTORY is specified.
13395
b62f8267
G
133962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13397
03408648
SM
13398 * net/imap.el (imap-shell-open, imap-process-connection-type):
13399 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13400 Kerberos, SSL, other subprocesses.
13401
947b6566
LL
134022011-03-28 Leo Liu <sdl.web@gmail.com>
13403
13404 * abbrev.el (abbrev-table-empty-p): New function.
13405 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13406 nonempty ones. (Bug#5937)
13407
5ffb62aa
JD
134082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13409
13410 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13411
7a097943
LL
134122011-03-27 Leo Liu <sdl.web@gmail.com>
13413
13414 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13415 for foreground and background colors.
13416 (ansi-color-make-color-map): Adapt.
13417
c5b40130
LL
134182011-03-25 Leo Liu <sdl.web@gmail.com>
13419
1f48f7d2
LL
13420 * midnight.el (midnight-time-float): Remove. Note it calculates
13421 the microsecond component incorrectly and seconds-to-time does the
13422 same job.
625897ec 13423 Remove redundant (require 'timer).
1f48f7d2 13424
c5b40130
LL
13425 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13426 (ido-completions): Remove unused arguments. (Bug#8329)
13427
d86d2721
SM
134282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * minibuffer.el (completion--flush-all-sorted-completions):
13431 Remove itself from hook.
13432 (completion-at-point): Let the functions perform the completion
13433 immediately and return nil or t.
13434 * comint.el (comint-dynamic-complete-functions): Now identical to
13435 completion-at-point-functions.
13436 (comint-dynamic-list-input-ring): Remove unused var `index'.
13437 (comint--match-partial-filename, comint--unquote&expand-filename):
13438 New funs, split from comint-match-partial-filename.
13439 (comint-dynamic-complete): Use completion-at-point.
13440 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13441
e8974c48
DA
134422011-03-24 Drew Adams <drew.adams@oracle.com>
13443
13444 * thingatpt.el: Support `defun'.
13445
def71b5e
LL
134462011-03-23 Leo Liu <sdl.web@gmail.com>
13447
cb5af48e
LL
13448 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13449
def71b5e
LL
13450 * help-mode.el (help-mode-finish): Tweak regexp.
13451
927c53e7
GM
134522011-03-23 Glenn Morris <rgm@gnu.org>
13453
18d05bed
GM
13454 * eshell/esh-opt.el (eshell-eval-using-options):
13455 Do not bind unused local variable `eshell-option-stub'.
13456
927c53e7
GM
13457 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13458
9d0da923
JB
134592011-03-22 Juanma Barranquero <lekktu@gmail.com>
13460
13461 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13462 keymap variable in `with-no-warnings' to avoid a warning when the
13463 keymap has been already `defconst'ed.
13464
4b978a67
LL
134652011-03-22 Leo Liu <sdl.web@gmail.com>
13466
13467 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13468 encode all chars in abbrevs; otherwise use emacs-mule or
13469 utf-8-emacs. (Bug#8308)
13470
5fd62452
JB
134712011-03-22 Juanma Barranquero <lekktu@gmail.com>
13472
0b1596c6
JB
13473 * simple.el (backward-delete-char-untabify):
13474 Avoid warning about using `delete-backward-char'.
13475
5fd62452
JB
13476 * image.el (image-type-file-name-regexps): Make it variable.
13477 `imagemagick-register-types' modifies it, and the user may want
13478 to add new extensions for known image types.
13479 (imagemagick-register-types): Throw error if not using ImageMagick.
13480
0b4e93f1
LL
134812011-03-22 Leo Liu <sdl.web@gmail.com>
13482
13483 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13484 located before rcirc-prompt-end-marker.
13485 (rcirc-complete): Error if point is not after rcirc prompt.
13486 Handle the case when table is nil.
9882e214 13487 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13488
fccee4ab
CY
134892011-03-22 Chong Yidong <cyd@stupidchicken.com>
13490
13491 * custom.el (custom--inhibit-theme-enable): Make it affect only
13492 custom-theme-set-variables and custom-theme-set-faces.
13493 (provide-theme): Ignore custom--inhibit-theme-enable.
13494 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13495 (custom-enabling-themes): Delete variable.
d86d2721
SM
13496 (enable-theme): Accept only loaded themes as arguments.
13497 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13498 (custom-enabled-themes): Forbid themes from setting this.
13499 Eliminate use of custom-enabling-themes.
13500 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13501
af896da6
LL
135022011-03-21 Leo Liu <sdl.web@gmail.com>
13503
13504 * ido.el (ido-read-internal): Add ido-selected to history instead
13505 of user input.
13506
78f64af0
SM
135072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * subr.el (deferred-action-list, deferred-action-function):
13510 Mark obsolete.
13511
b16ac1ec
LL
135122011-03-21 Leo Liu <sdl.web@gmail.com>
13513
810f7698
LL
13514 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13515 change on 2011-02-13 (bug#8309).
13516
b16ac1ec
LL
13517 * minibuffer.el (read-file-name-function): Change default value.
13518 (read-file-name--defaults): Rename from read-file-name-defaults.
13519 (read-file-name-default): Rename from read-file-name.
13520 (read-file-name): Call read-file-name-function.
13521
4e05e67e
GM
135222011-03-21 Glenn Morris <rgm@gnu.org>
13523
13524 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13525 Doc fixes.
13526
4359915b
CY
135272011-03-21 Chong Yidong <cyd@stupidchicken.com>
13528
13529 * cus-theme.el: Add missing provide statement.
13530 (customize-create-theme): Extract theme value correctly.
13531 (custom-theme-visit-theme): Autoload.
13532 (customize-create-theme): Prompt before inserting default faces.
13533
1fe275ee
JB
135342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13535
13536 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13537 units and musical notes.
13538
cd394be1 135392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13540
13541 * ido.el (ido-read-internal): Use completing-read-default.
13542 (ido-completing-read): Fix compatibility with completing-read.
13543
7d476bde
CO
135442011-03-20 Christian Ohler <ohler@gnu.org>
13545
13546 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13547 (ert-delete-all-tests): Use `called-interactively-p' rather than
13548 `interactive-p'.
13549 (ert--make-xrefs-region): Respect END.
13550
fe0fb33e
CY
135512011-03-19 Chong Yidong <cyd@stupidchicken.com>
13552
ff854b0b
CY
13553 * dired-aux.el (dired-create-directory): Signal an error if the
13554 directory already exists (Bug#8246).
13555
fe0fb33e
CY
13556 * facemenu.el (list-colors-display): Call list-faces-display
13557 inside with-help-window.
13558 (list-colors-print): Use display property to align the final
13559 column, instead of checking window-width.
13560
576bce32
EZ
135612011-03-19 Eli Zaretskii <eliz@gnu.org>
13562
4d61f28d 13563 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13564 windows-nt systems.
13565 (emerge-protect-metachars): Quote correctly for ms-dos and
13566 windows-nt systems.
13567
89c41d68 135682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13569
13570 * info.el (info-initialize): Replace all uses of `:' with
13571 path-separator for compatibility with non-Unix systems.
13572 Cache quoting of path-separator. (Bug#8258)
13573
b14e3e21 135742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13575
13576 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13577 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13578 (mouse-avoidance-mode): Fix typos in docstrings.
13579
4525ce3e
CY
135802011-03-19 Chong Yidong <cyd@stupidchicken.com>
13581
13582 * startup.el (package-subdirectory-regexp): Move from package.el.
13583 Omit \\` and \\', and let callers add them.
13584
13585 * emacs-lisp/package.el (package-strip-version)
13586 (package-load-all-descriptors): Add \\` and \\' to
13587 package-subdirectory-regexp before using it.
13588 (package-untar-buffer): New arg DIR; ensure that file untars only
13589 into this expected directory. Remove superfluous delete-region.
13590 (package-unpack): Caller changed.
13591 (package-tar-file-info): Use package-subdirectory-regexp.
13592
a904a09a 135932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13594
a904a09a
SM
13595 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13596 diff-mode-shared-map (bug#8284).
13597 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13598
135992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13600
13601 * calendar/time-date.el (format-seconds): Use assoc instead of
13602 assoc-string, since assoc-string doesn't exist in XEmacs.
13603
171fc304
JB
136042011-03-17 Juanma Barranquero <lekktu@gmail.com>
13605
13606 * custom.el (custom-known-themes): Reflow docstring.
13607 (custom-theme-load-path): Fix typo in docstring.
13608 (load-theme): Fix typo in error message.
13609 (custom-available-themes, custom-variable-theme-value):
13610 Use `let', not `let*'.
13611
d71990a1
JB
136122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13613
13614 * calc/README: Mention inclusion of musical notes.
13615
13616 * calc/calc-units.el (calc-lu-quant): Rename from
13617 `calc-logunits-quantity'.
13618 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13619 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13620 (calc-db): Rename from `calc-dblevel'.
13621 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13622 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13623 (calc-np): Rename from `calc-nplevel'.
13624 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13625 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13626 (calc-lu-plus): Rename from `calc-logunits-add'.
13627 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13628 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13629 (calc-lu-minus): Rename from `calc-logunits-sub'.
13630 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13631 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13632 (calc-lu-times): Rename from `calc-logunits-mul'.
13633 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13634 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13635 (calc-lu-divide): Rename from `calc-logunits-div'.
13636 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13637 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13638
13639 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13640 functions being autoloaded.
13641
13642 * calc/calc.el (calc-lu-power-reference): Rename from
13643 `calc-logunits-power-reference'.
13644 (calc-lu-field-reference): Rename from
13645 `calc-logunits-field-reference'.
13646
7a71b18d
GM
13647 * calc/calc-help.el (calc-l-prefix-help):
13648 Mention musical note functions.
d71990a1 13649
40c2934b
SM
136502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * minibuffer.el (completion-all-sorted-completions):
13653 Use :completion-cycle-penalty text property if present.
13654
b0911414
KM
136552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13656
13657 * allout.el (allout-yank-processing): Adjust for new rebulleting
13658 regime so bullet being yanked is used without prompting the user
13659 for a choice.
13660
8a05b668
JB
136612011-03-16 Juanma Barranquero <lekktu@gmail.com>
13662
13663 * startup.el (command-line): Warn the user that _emacs is deprecated.
13664
5ba5fb81
JB
136652011-03-16 Juanma Barranquero <lekktu@gmail.com>
13666
13667 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13668 (delphi-verbose, delphi-comment-face, delphi-string-face)
13669 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13670 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13671 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13672 (delphi-new-comment-line, delphi-font-lock-defaults)
13673 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13674 Fix typos in docstrings.
13675
2dab465b
KM
136762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13677
5ba5fb81 13678 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13679 Invert the roles of character and string values for INSTEAD, so a
13680 string is used for the more common case of a defaulting prompt.
13681
0adf5618
SM
136822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * progmodes/ruby-mode.el (ruby-backward-sexp):
13685 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13686 * play/gamegrid.el (gamegrid-make-face):
13687 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13688 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13689 * notifications.el (notifications-notify):
13690 * net/xesam.el (xesam-search-engines):
13691 * net/quickurl.el (quickurl-list-insert):
13692 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13693
d72700e5
CY
136942011-03-15 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * startup.el (command-line): Update package subdirectory regexp.
13697
49c5410a
SM
136982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13699
c6eee9aa
SM
13700 * allout.el (allout-abbreviate-flattened-numbering)
13701 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13702
49c5410a
SM
13703 * subr.el (read-char-choice): Only show the cursor after the prompt,
13704 not after the answer.
13705
047b2bb9
KR
137062011-03-15 Kevin Ryde <user42@zip.com.au>
13707
13708 * help-fns.el (variable-at-point): Skip leading quotes, if any
13709 (bug#8253).
13710
0a57d256
SM
137112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13712
13713 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13714 warning message.
13715
77c992bc
MA
137162011-03-14 Michael Albinus <michael.albinus@gmx.de>
13717
13718 * shell.el (shell): When called interactively, offer to change the
13719 shell file name on remote hosts.
13720
eebc475d
TZ
137212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13722
13723 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13724 integration for LDAP parameters. The host, base, user or binddn,
13725 and secret tokens can be specified in a netrc file, for instance.
13726 This is optional because an `auth-source' parameter must be
13727 specified in the search attributes.
13728
9d05d1ba
JB
137292011-03-13 Juanma Barranquero <lekktu@gmail.com>
13730
13731 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13732
09d9db2c
GM
137332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13736 into declaration. Remove redundant and harmful binding.
13737
137382011-03-12 Eli Zaretskii <eliz@gnu.org>
13739
13740 * files.el (file-ownership-preserved-p): Pass `integer' as an
13741 explicit 2nd argument to `file-attributes'. If the file's owner
13742 is the Administrators group on Windows, and the current user is
13743 Administrator, consider that a match.
13744
13745 * server.el (server-ensure-safe-dir): Consider server directory
13746 safe on MS-Windows if its owner is the Administrators group while
13747 the current Emacs user is Administrator. Use `=' to compare
13748 numerical UIDs, since they could be integers or floats.
13749
219bd536
JB
137502011-03-12 Juanma Barranquero <lekktu@gmail.com>
13751
13752 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13753
f3afd36b
MA
137542011-03-12 Michael Albinus <michael.albinus@gmx.de>
13755
13756 Sync with Tramp 2.2.1.
13757
13758 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13759
13760 * net/trampver.el: Update release number.
13761
3aaaa6f1
SM
137622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13763
94642599
SM
13764 * progmodes/compile.el (compilation--previous-directory): Fix up
13765 various nil/dead-marker mismatches (bug#8014).
13766 (compilation-directory-properties, compilation-error-properties):
13767 Don't call it at a position past the one we're about to change.
13768
3aaaa6f1
SM
13769 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13770 Disable obsolescence warnings in the file that declares it.
13771
14239447
KM
137722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13773
099c39a4
JB
13774 * allout-widgets.el (allout-widgets-tally):
13775 Initialize allout-widgets-tally as a hash table rather than nil to
13776 prevent mode-line redisplay warnings. Also, clarify the module
13777 description and fix a comment typo.
14239447 13778
135e287c
JB
137792011-03-11 Juanma Barranquero <lekktu@gmail.com>
13780
13781 * help-fns.el (describe-variable): Don't complete keywords.
13782 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13783
ffbf300e
CY
137842011-03-10 Chong Yidong <cyd@stupidchicken.com>
13785
ba08b241
CY
13786 * emacs-lisp/package.el (package-version-join): Impose a standard
13787 string representation for pre/alpha/beta version lists.
13788 (package-unpack-single): Standardize the directory name by passing
13789 it through package-version-join.
13790 (package-strip-rcs-id): Accept any version string that does not
13791 signal an error in version-to-list.
ffbf300e 13792
f346fd6b
MA
137932011-03-10 Michael Albinus <michael.albinus@gmx.de>
13794
13795 * simple.el (delete-trailing-whitespace): Return nil for the
13796 benefit of `write-file-functions'.
13797
ccb55d27
GM
137982011-03-10 Glenn Morris <rgm@gnu.org>
13799
5ceaac0c
GM
13800 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13801
02da65ff
GM
13802 * vc/vc-git.el (vc-git-program): New option.
13803 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13804 (vc-git--call): Use it.
13805
b2f603cc
GM
13806 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13807
5772caab
GM
13808 * cus-edit.el (Custom-newline): If no button at point, look
13809 for a subgroup button at start-of-line. (Bug#2298)
13810
ccb55d27
GM
13811 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13812
ec6ecaed
JD
138132011-03-10 Julien Danjou <julien@danjou.info>
13814
13815 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13816 `cursor-type' is nil.
13817
9d5aa01d
JB
138182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13819
13820 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13821
b6a5875b
KM
138222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13823
7a71b18d 13824 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13825 preserves the existing header prefix, rebulleting it if necessary,
13826 rather than replacing it. This is necessary for proper operation
13827 of cooperative addons like allout-widgets.
1154d12e
JB
13828 (allout-make-topic-prefix, allout-rebullet-heading):
13829 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13830 value as alternate bullet to be used, instead of prompting the user
13831 for a bullet character.
b6a5875b 13832
ee545c35
MA
138332011-03-09 Michael Albinus <michael.albinus@gmx.de>
13834
d86d2721
SM
13835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13836 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13837 `tramp-default-port'.
13838
c47971d7
DD
138392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13840
13841 * net/rcirc.el (rcirc-handler-001): Remove useless
13842 with-rcirc-process-buffer.
13843 (rcirc-check-auth-status): Swap arguments to string-match.
13844
13522cb4
GM
138452011-03-09 Glenn Morris <rgm@gnu.org>
13846
0be6f4f1
GM
13847 * shell.el (shell-mode):
13848 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13849
13522cb4
GM
13850 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13851 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13852
515de2e3
CY
138532011-03-08 Chong Yidong <cyd@stupidchicken.com>
13854
13855 * emacs-lisp/package.el (package-refresh-contents)
13856 (package-menu-execute): Use condition-case-no-debug.
13857
b511b994
MA
138582011-03-08 Michael Albinus <michael.albinus@gmx.de>
13859
13860 * simple.el (shell-command-to-string): Use `process-file'.
13861
13862 * emacs-lisp/package.el (package-tar-file-info): Handle also
13863 remote files.
13864
d86d2721
SM
13865 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13866 Use `equal' for upload base check.
b511b994 13867
25bbfb31
AM
138682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13869
13870 * textmodes/texinfo.el (texinfo-environments):
13871 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13872
be996521
GM
138732011-03-08 Glenn Morris <rgm@gnu.org>
13874
e9c8529f
GM
13875 * cus-start.el (cursor-in-non-selected-windows):
13876 Fix :set quoting oddness. (Bug#8192)
13877
be996521
GM
13878 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13879 in some setf expressions. (Bug#2159)
13880
2bb5649e
CY
138812011-03-08 Chong Yidong <cyd@stupidchicken.com>
13882
13883 * custom.el (custom-available-themes): Return themes in
13884 alphabetical order.
13885
33383987 13886See ChangeLog.15 for earlier changes.
e3d51b27
MR
13887
13888;; Local Variables:
13889;; coding: utf-8
e3d51b27
MR
13890;; End:
13891
acaf905b 13892 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13893
13894 This file is part of GNU Emacs.
13895
13896 GNU Emacs is free software: you can redistribute it and/or modify
13897 it under the terms of the GNU General Public License as published by
13898 the Free Software Foundation, either version 3 of the License, or
13899 (at your option) any later version.
13900
13901 GNU Emacs is distributed in the hope that it will be useful,
13902 but WITHOUT ANY WARRANTY; without even the implied warranty of
13903 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13904 GNU General Public License for more details.
13905
13906 You should have received a copy of the GNU General Public License
13907 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.