* autorevert.el (auto-revert-notify-watch-descriptor): Make it
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0eb87688
MA
12013-01-17 Michael Albinus <michael.albinus@gmx.de>
2
3 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4 buffer local, again. This was lost with the fix on 2013-01-12.
5
99d36ea8
JH
62013-01-17 Jürgen Hötzel <juergen@archlinux.org>
7
8 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
9 order to support several eshell buffers in parallel.
10
68a08a32
MA
112013-01-17 Michael Albinus <michael.albinus@gmx.de>
12
13 * autorevert.el (auto-revert-use-notify): In the :set function, do
14 not modify `kill-buffer-hook'.
15 (auto-revert-notify-rm-watch): Remove
16 `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
17 (auto-revert-notify-add-watch): Do not call
18 `auto-revert-notify-rm-watch', but add it to a buffer local
19 `kill-buffer-hook'.
20
e59eee43
SM
212013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
24 call to `eval' rather than a backquoted lambda.
25
6e8cd0ae
SM
262013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
27
cb9c0a53
SM
28 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
29 to return an explicit nil.
30 (advice--remove-function): Change accordingly.
31
32 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
33 the use of nadvice.el.
34
6e8cd0ae
SM
35 * progmodes/which-func.el (which-function): Silence imenu errors
36 (bug#13433).
37
4586ce8a
MM
382013-01-15 Michael R. Mauger <mmaug@yahoo.com>
39
6e8cd0ae 40 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
41 (sql-mode-font-lock-object-name): Match schema qualified names.
42 (sql-connect): Use string keys.
43 (sql-product-interactive): Wait for interpreter prompt.
44 (sql-comint-oracle): Set process coding based on NLS_LANG.
45
9d55215c
MM
462013-01-15 Michael R. Mauger <mmaug@yahoo.com>
47
48 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
49 (sql-interactive-remove-continuation-prompt):
50 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 51
57dd9e68
LL
522013-01-14 Leo Liu <sdl.web@gmail.com>
53
54 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
55 (Bug#13420)
56
51e73492
GM
572013-01-14 Glenn Morris <rgm@gnu.org>
58
59 * progmodes/compile.el (compilation-error-regexp-alist-alist):
60 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
61
c0511b57 622013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 63
6e8cd0ae
SM
64 * progmodes/python.el (python-nav-end-of-statement):
65 Fix cornercase when handling multiline strings.
50620051 66
4c0a6d4a
RS
672013-01-13 Richard Stallman <rms@gnu.org>
68
9f7e86ef
RS
69 * mail/sendmail.el (mail-position-on-field): Add doc string.
70
6e8cd0ae
SM
71 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
72 Get current message boundaries and pass them to
4c0a6d4a
RS
73 message-forward-make-body-mime. Minor style changes.
74
ad33a799
EZ
752013-01-13 Eli Zaretskii <eliz@gnu.org>
76
77 * cus-start.el (all): Avoid warnings about
6e8cd0ae 78 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 79
616763d5
JD
802013-01-11 Jan Djärv <jan.h.d@swipnet.se>
81
82 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
83
e5b5a34d
SM
842013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * jit-lock.el (jit-lock-debug-mode): New minor mode.
87 (jit-lock--debug-fontifying): New var.
88 (jit-lock--debug-fontify): New function.
89 * subr.el (condition-case-unless-debug): Don't prevent catching the
90 error, just let the debbugger run.
91 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
92 timer code and don't drop errors silently.
93
2daddd9e
MA
942013-01-12 Michael Albinus <michael.albinus@gmx.de>
95
96 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
97 `permanent-local' property.
71c661e4 98 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 99
86fbb162
EZ
1002013-01-12 Eli Zaretskii <eliz@gnu.org>
101
102 * autorevert.el (auto-revert-notify-handler): Fix filtering of
103 file notification by ACTION. For filtering by file name, compare
104 only the non-directory part of the file name.
105
a0784609
SM
1062013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
107
96c421bb
SM
108 * autorevert.el: Use cl-lib instead of cl.
109
a0784609
SM
110 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
111 (vc-bzr-checkin): Use it.
112 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
113 will preserve match-data.
114
f90ff906 1152013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 116
f90ff906
FD
117 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
118 (js--declaration-keyword-re): New var.
119 (js--multi-line-declaration-indentation): New function.
120 (js--proper-indentation): Use it.
9fc9a531 121
f90ff906 1222013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 123
f90ff906
FD
124 * calc/calc.el (calc-highlight-selections-with-faces)
125 (calc-dispatch):
126 * comint.el (comint-history-isearch-message):
127 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
128 * ffap.el (ffap-string-at-point-region, ffap-next)
129 (ffap-string-at-point, ffap-string-around)
130 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 131 (ffap-literally):
9fc9a531 132 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
133 (font-lock-removed-keywords-alist):
134 * help-mode.el (help-xref-symbol-regexp):
135 * info.el (Info-find-emacs-command-nodes):
136 * international/mule.el (add-to-coding-system-list):
137 * isearch.el (isearch-message-function, isearch-fail-pos):
138 * misearch.el (multi-isearch-next-buffer-function):
139 * newcomment.el (comment-box):
9fc9a531 140 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 141 (pr-setting-database):
9fc9a531
AH
142 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
143 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
144 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
145 (pike-font-lock-keywords-3):
146 * progmodes/compile.el (compile):
9fc9a531 147 * progmodes/etags.el (tags-table-files)
f90ff906 148 (tags-table-files-function, tags-included-tables-function):
9fc9a531 149 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 150 (gdb-restore-windows):
9fc9a531 151 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
152 (ps-n-up-filling-database):
153 * server.el (server-buffer, server-log):
9fc9a531
AH
154 * simple.el (newline, delete-backward-char, delete-forward-char)
155 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 156 (temporary-goal-column):
9fc9a531 157 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
158 (flyspell-default-deplacement-commands):
159 * textmodes/ispell.el (ispell-accept-output):
160 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 161 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
162 (compare-ignore-case, compare-windows-dehighlight):
163 * vc/diff.el (diff):
9fc9a531
AH
164 * whitespace.el (whitespace-point)
165 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 166 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 167
65adfa20
MA
1682013-01-11 Michael Albinus <michael.albinus@gmx.de>
169
170 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
171 (auto-revert-notify-rm-watch): Ignore errors.
172 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
173 inotify, and '(size last-write-time) for w32notify.
174 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
175 watch fails - this is a fallback to the file modification check.
176 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
177 (auto-revert-notify-event-action)
178 (auto-revert-notify-event-file-name): New defuns.
179 (auto-revert-notify-handler): Use them. Implement first
180 plausibility checks.
181 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
182
43b2e2e7
JD
1832013-01-11 Julien Danjou <julien@danjou.info>
184
185 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
186 max are almost equal. Also return the correct value for V which is
187 already between 0 and 1.
188
30818a23
DA
1892013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
190
191 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
192
10e714d5
EZ
1932013-01-11 Eli Zaretskii <eliz@gnu.org>
194
195 * autorevert.el (auto-revert-notify-rm-watch)
196 (auto-revert-notify-add-watch): Fix typos in w32notify function
197 names.
198
a778dd57
MA
1992013-01-10 Michael Albinus <michael.albinus@gmx.de>
200
201 * autorevert.el (auto-revert-notify-enabled): Move up.
202 (auto-revert-use-notify): New defcustom.
203 (auto-revert-mode, global-auto-revert-mode)
204 (auto-revert-notify-add-watch, auto-revert-handler)
205 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
206 `auto-revert-notify-enabled'.
207
72781fef
EP
2082013-01-10 Elias Pipping <pipping@exherbo.org>
209
210 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
211 * doc-view.el (doc-view-document->bitmap):
212 Use doc-view-single-page-converter-function instead of
213 single-page-converter arg; adjust callers.
214
e6ed8f08
FL
2152013-01-10 Feng Li <fengli@gmail.com> (tiny change)
216
217 * progmodes/which-func.el (which-function): Understand Semantic's use
218 of overlays in imenu--index-alist.
219
327a6cca
WJ
2202013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
221
222 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
223 (Man-man-k-use-anchor): New var.
224 (Man-parse-man-k): New function.
225 (Man-completion-table): Use it.
226 (man): Flush the completion cache between uses.
227
ed911257
MA
2282013-01-10 Michael Albinus <michael.albinus@gmx.de>
229
230 * autorevert.el: Add file watch support.
231 (auto-revert-notify-enabled): New defconst.
232 (auto-revert-notify-watch-descriptor-hash-list)
233 (auto-revert-notify-watch-descriptor)
234 (auto-revert-notify-modified-p): New defvars.
235 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
236 (auto-revert-notify-handler): New defuns.
237 (auto-revert-mode, global-auto-revert-mode): Remove file watches
238 when mode is disabled.
239 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
240 (auto-revert-buffers): Add file watches for active buffers.
241
58cc0a01
DA
2422013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
243
244 * cus-start.el (toplevel): Only allow float values for
245 scroll-up-aggressively and scroll-down-aggressively.
246 Allow any number for line-spacing.
247
bbc7ff25
SM
2482013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
251 (doc-view-pdf->png-converter-function): Use mupdf if available.
252 (doc-view-djvu->png-converter-function)
253 (doc-view-ps->png-converter-function): Remove.
254 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
255 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
256 (doc-view-already-converted-p): Adjust accordingly.
257 (doc-view-mode-p): Simplify.
258 (doc-view-enlarge): Use setq-local.
259 (doc-view-pdf->png-converter-ghostscript)
260 (doc-view-djvu->png-converter-ddjvu)
261 (doc-view-pdf->png-converter-mupdf): Rework to call
262 doc-view-start-process directly.
263 (doc-view-pdf/ps->png): Simplify accordingly.
264 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
265 (doc-view-document->bitmap): Rename from doc-view-document->png.
266 (doc-view-convert-current-doc): Merge pdf and djvu cases.
267 (doc-view-set-slice-from-bounding-box): Fix completion table.
268 (doc-view-mode): Use add-hook for after-revert-hook.
269
3c855b96
GM
2702013-01-10 Glenn Morris <rgm@gnu.org>
271
272 * emacs-lisp/authors.el (authors-ignored-files)
273 (authors-valid-file-names, authors-renamed-files-alist):
274 Add some more entries.
275
3f9549e8 2762013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
277
278 * image-mode.el (image-mode-winprops): Don't throw away the fallback
279 `t' pseudo-window entry.
280
3f9549e8 2812013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
282
283 Fix bugs in the c-parse-state mechanism. Reuse some markers
284 instead of continually generating new ones.
285
286 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
287 (c-state-old-cpp-end-marker): New variables.
288 (c-append-lower-brace-pair-to-state-cache): Start a backward
289 search for "}" definitively outside CPP constructs.
290 (c-remove-stale-state-cache): Inform the caller of a need to
291 search back for a brace pair in certain circumstances.
292 (c-state-maybe-marker): New macro.
293 (c-parse-state): Reuse markers when appropriate.
294
3f9549e8 2952013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
296
297 * simple.el (execute-extended-command): Doc fix.
298 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
299
3f9549e8 3002013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
301
302 * faces.el (read-face-name): Doc fix.
303
b14abca9
RW
3042013-01-10 Roland Winkler <winkler@gnu.org>
305
306 * emacs-lisp/crm.el: Allow any regexp for separators.
307 (crm-default-separator): All spaces around the default comma separator.
308 (crm--completion-command): New macro.
309 (crm-completion-help, crm-complete, crm-complete-word): Use it.
310 (crm-complete-and-exit): Handle non-single-char separators.
311
2b541f9a
EP
3122013-01-09 Elias Pipping <pipping@lavabit.com>
313
314 * doc-view.el: Add support for DjVu (bug#13164).
315 (doc-view-djvu->png-converter-function): New config var.
316 (doc-view-single-page-converter-function, doc-view--image-type)
317 (doc-view--image-file-extension): New vars.
318 (doc-view-mode): Initialize them.
319 (doc-view-goto-page): Use them.
320 (doc-view-mode-p): Add support for ddjvu.
321 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
322 (doc-view-set-up-single-converter): New funs.
323 (doc-view-pdf/ps->png): Extend for djvu.
324 (doc-view-document->png): Rename from doc-view-pdf->png.
325 (doc-view-convert-current-doc): Handle djvu.
326 (doc-view-insert-image, doc-view-display)
327 (doc-view-already-converted-p): Don't hardcode png.
328 (doc-view-set-doc-type): Recognize djvu docs.
329
85f17e35
EP
3302013-01-09 Elias Pipping <pipping@lavabit.com>
331
332 * doc-view.el: Add support for mupdf converter (bug#13164).
333 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
334 (doc-view-ps->png-converter-function): New config vars.
335 (doc-view-pdf->png-converter-ghostscript)
336 (doc-view-ps->png-converter-ghostscript)
337 (doc-view-pdf->png-converter-mupdf): New functions.
338 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
339
ccd04887
MA
3402013-01-09 Jürgen Hötzel <juergen@archlinux.org>
341
342 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
343 first in session cache: When `tramp-own-remote-path' is in
344 `tramp-remote-path', the remote path is only set in the session
345 cache.
346
c5ad92de
GM
3472013-01-09 Glenn Morris <rgm@gnu.org>
348
fb9f7146
GM
349 * emacs-lisp/trace.el (trace-function-foreground)
350 (trace-function-background): Doc fix.
c5ad92de 351
39a0786e
JL
3522013-01-09 Juri Linkov <juri@jurta.org>
353
354 * international/mule-cmds.el (read-char-by-name): Move let-binding
355 of completion-ignore-case around completing-read to fix regression
356 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
357 `string-match-p' using the nil value of `case-fold-search' and
358 `completion-ignore-case' in `completion-pcm--all-completions'.
359 (Bug#12615).
360
fb9f7146 3612013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
362
363 * progmodes/compile.el (compilation-parse-errors):
364 Fix typo. (Bug#13369)
365
fb9f7146 3662013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
367
368 * comint.el (comint-send-input): Check size of buffer before
369 waiting for process output, in case already accepted. (Bug#13290)
370
677d5c92
PE
3712013-01-09 Paul Eggert <eggert@cs.ucla.edu>
372
373 Spelling fixes.
374 * net/tramp-adb.el (tramp-adb-get-toolbox):
375 Fix misspelling of 'unknown'.
376
073ca75b
JL
3772013-01-08 Juri Linkov <juri@jurta.org>
378
379 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
380 * progmodes/flymake.el (flymake-errline, flymake-warnline):
381 Use underline style wave on terminals that support it. (Bug#13000)
382
a4648137
SM
3832013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
384
4bdc3526
SM
385 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
386 the predicate returns nil.
387
a4648137
SM
388 * simple.el: Use lexical-binding.
389 (primitive-undo): Use pcase.
390 (minibuffer-history-isearch-push-state): Use a closure.
391
3bace969
AH
3922013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
393
394 * simple.el (primitive-undo): Move from undo.c.
395
a731fc1b
SM
3962013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
397
1c851e98
SM
398 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
399 (cvs-mode-remove-handled): Use it (bug#13380).
400
a731fc1b
SM
401 * emacs-lisp/nadvice.el (advice--tweak): New function.
402 (advice--remove-function, advice--subst-main): Use it.
403
404 * emacs-lisp/advice.el: Update commentary.
405
2a22c83b
MA
4062013-01-08 Michael Albinus <michael.albinus@gmx.de>
407
a731fc1b
SM
408 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
409 Remove spurious entry.
2a22c83b 410
83c1803a
GM
4112013-01-08 Glenn Morris <rgm@gnu.org>
412
413 * net/tramp.el (tramp-default-host-alist): Add :version.
414
8a2e287c
JL
4152013-01-08 Juri Linkov <juri@jurta.org>
416
417 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
418 single completion. (Bug#12456)
419 (info--manual-names): Expand node completions into an explicit list
420 before appending it to another list. Filter out internal buffers
421 with the leading space in the buffer name. (Bug#10771)
422
c6a22ce2
JL
4232013-01-08 Juri Linkov <juri@jurta.org>
424
425 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
426 that defaults to the Top node.
427 (Info-goto-node, Info-read-node-name): Doc fix to mention that
428 the short format (FILENAME) goes to the Top node.
429 (Info-build-node-completions): Rename arg `file' to `filename'.
430 (Bug#13365)
431
acfe10b7
BG
4322013-01-07 Bastien Guerry <bzg@gnu.org>
433
a731fc1b
SM
434 * menu-bar.el (menu-bar-search-documentation-menu):
435 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
436
4372013-01-07 Bastien Guerry <bzg@gnu.org>
438
439 * apropos.el (apropos-do-all): Update docstring.
440 (apropos-user-option-button): New face.
441 (apropos-user-option): Rename from `apropos-variable' and update
442 docstring.
443 (apropos-variable): Rewrite, now show all variables by default.
444 (apropos-print): Mention "User option" instead of "Variable" when
445 printing doc for user options. (Bug#13276)
446
62bcf670
JH
4472013-01-07 Jürgen Hötzel <juergen@archlinux.org>
448
449 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
450 Handle filename correctly, when parsing "source -> target" symlink
451 output.
452 (tramp-adb-handle-set-file-times): New defun.
453
4986fa21
SM
4542013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
457 advice list when the interactive-spec of ad-Advice-* changes.
458
3bee311e
KY
4592013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
460
461 * wid-edit.el (widget-default-get): Work for inlined elements.
462 (Bug#12670)
463
b49eebcc
MA
4642013-01-07 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp.el (tramp-default-host-alist): New defcustom.
467 (tramp-find-host): Use it.
4986fa21 468 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
469 `eshell-directory-change-hook'.
470
471 * net/tramp-adb.el (top): Add adb specific entry in
472 `tramp-default-host-alist'.
473 (tramp-adb-file-name-host): Remove function.
474 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
475 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
476
3bee311e 477 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 478
84f6744a
JH
4792013-01-06 Jürgen Hötzel <juergen@archlinux.org>
480
481 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
482
b6cfbcd0
MA
4832013-01-06 Michael Albinus <michael.albinus@gmx.de>
484
485 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 486 consist of more than one digit.
4986fa21
SM
487 (tramp-adb-file-name-handler-alist):
488 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
489 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
490 (tramp-adb-handle-file-exists-p): Remove function.
491 (tramp-adb-file-name-host): New defun.
492 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
493 Use it.
494 (tramp-adb-maybe-open-connection): Set "remote-path" property.
495
58ba7b1b
CY
4962013-01-06 Chong Yidong <cyd@gnu.org>
497
498 * vc/vc.el (vc-next-action): Detect buffer modifications
499 conflicting with locking VCS operation (Bug#11490).
500
501 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
502
f4566fe9
MA
5032013-01-05 Michael Albinus <michael.albinus@gmx.de>
504
505 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
506 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
507
838cf298
MA
5082013-01-05 Jürgen Hötzel <juergen@archlinux.org>
509
510 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
511 parsing of ls output using regular expression (handle filenames
512 with spaces). Use virtual device number.
513 (tramp-do-parse-file-attributes-with-ls): New defun (Code
514 cleanup).
515
1bd71e9f
DU
5162013-01-04 Daiki Ueno <ueno@gnu.org>
517
518 * epg.el: Silence byte-compiler warnings.
519 (epg--start): Use delete-char instead of delete-backward-char.
520 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
521
00cd4c1c
DU
5222013-01-04 Daiki Ueno <ueno@gnu.org>
523
524 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
525 Suggested by Eli Zaretskii <eliz@gnu.org>.
526
f99ced35
MA
5272013-01-04 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
530 non-negative integers. Otherwise, the default values are used.
531 (tramp-convert-file-attributes): Convert uid and gid to integers.
532
0f668a4d 5332013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 534
d2be4dcc
GM
535 * term.el (term-handle-colors-array): Ensure face attributes
536 are fully specified, not nil. (Bug#13337)
537
5b00b749
GM
538 * term.el (term-default-fg-color, term-default-bg-color):
539 Fix custom type.
540
220740a3
GM
541 * progmodes/etags.el (tags-compression-info-list): Doc fix.
542 (tag-find-file-of-tag-noselect): Check auto-compression-mode
543 rather than 'jka-compr being loaded. (Bug#13338)
544
bdd9367d
WD
5452013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
546
547 * icomplete.el (icomplete-completions):
548 Honor icomplete-prospects-height once more following
549 2012-11-29 changes. (Bug#13224)
550
96dd18b1
SM
5512013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
552
c0bd248c
SM
553 * subr.el (internal--called-interactively-p--get-frame): Find aliases
554 of called-interactively-p as well (bug#13237).
555
4a74c818
SM
556 * view.el (view--enable, view--disable): Rename from view-mode-enable
557 and view-mode-disable and assume it's called from view-mode.
558 (view-mode-enable, view-mode-disable): Redefine as obsolete
559 compatibility layer above view-mode.
560 (view-mode-enter): Call `view-mode'.
561
562 * files.el (after-find-file): Call `view-mode'.
563
96dd18b1
SM
564 * doc-view.el (doc-view-scale-internally): New var.
565 (doc-view-enlarge, doc-view-insert-image): Obey it.
566
c2cf1829
DU
5672013-01-03 Daiki Ueno <ueno@gnu.org>
568
569 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
570 exist. (Bug#13344)
571
ad235a8b
GM
5722013-01-03 Glenn Morris <rgm@gnu.org>
573
a8aa6c2d
GM
574 * mail/rmail.el (rmail-set-header-1): Ignore case.
575 Handle multi-line headers. (Bug#13330)
576
a6d6c20b
GM
577 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
578 Handle paragraph starting at beginning of buffer.
579
ed5bdeb9
GM
580 * subr.el (eval-after-load): Don't purecopy the form, so that it
581 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
582
ad235a8b
GM
583 * emacs-lisp/byte-run.el (defun): Place cl declarations
584 after any interactive spec. (Bug#13265)
585
9539d465 5862013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
587
588 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
589 defun. Don't check for DECL if DOCSTRING isn't a string.
590 (defun): Likewise.
591
9539d465 5922013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 593
5ee1772e
GM
594 * eshell/em-cmpl.el (eshell-pcomplete):
595 More thoroughly imitate pcomplete. (Bug#13293)
596
4cddca30
GM
597 * files.el (parse-colon-path): Doc fix. (Bug#12351)
598 Return nil for empty path elements. (Bug#13296)
599
9539d465 6002013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
601
602 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
603 order to improve efficiency (Based on Daniel Colascione's
604 <dancol@dancol.org> patch). (Bug#13182)
605
9539d465 6062013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
607
608 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
609
9539d465 6102013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
611
612 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
613 neither DOCSTRING nor DECL was given. (Bug#13316)
614
aca3d51d
MA
6152013-01-02 Michael Albinus <michael.albinus@gmx.de>
616
617 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
618 `error' call.
619 (tramp-do-copy-or-rename-file): Ignore errors when calling
620 `set-file-extended-attributes'.
621
4986fa21
SM
622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
623 Add handler for `file-acl'.
aca3d51d
MA
624 (tramp-smb-handle-file-acl): New defun.
625
87e65f96
JB
6262013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
627
628 * calc/README: Mention ISO 8601 week-numbering dates.
629
0aac98ac
MR
6302013-01-01 Martin Rudalics <rudalics@gmx.at>
631
632 * view.el (view-mode-enable): New argument run-view-mode-hook.
633 Run view-mode-hook only when it's non-nil (Bug#13315).
634 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
635 argument t.
636
1a82330c
JH
6372012-12-31 Jürgen Hötzel <juergen@archlinux.org>
638
639 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
640 (No device connected, invalid device name). (Bug #13299)
641
27fcfe31
MR
6422012-12-31 Martin Rudalics <rudalics@gmx.at>
643
644 * window.el (window-resizable--p): Rename to window-resizable-p.
645 (window-resize-no-error): New function.
646
647 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
648 broken in fix from 2012-12-28.
649
96c052a5
SM
6502012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * subr.el (special-form-p): Don't signal errors on undef aliases.
653
fd1f1603
JB
6542012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
655
656 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
657 `math-parse-iso-date' when it looks like it might be needed.
658 Allow times of 24:00.
fd1f1603
JB
659 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
660 of 24:00.
661
8db39aeb
GM
6622012-12-30 Glenn Morris <rgm@gnu.org>
663
664 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
665 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
666 (rmail-summary-displayed, rmail-summary): Declare.
667 (mairix-rmail-display): Just require rmail.
668
d5e5e7b4 6692012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
670
671 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
672 check for the tarball contents.
673
d5e5e7b4 6742012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
675
676 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
677 tarfile content listings (Bug#13136).
678
d5e5e7b4 6792012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 680
96c052a5
SM
681 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
682 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 683
4f752957
MA
6842012-12-30 Michael Albinus <michael.albinus@gmx.de>
685
3ee24a3b
MA
686 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
687 integers, if they are real numbers. (Bug#13282)
688
4f752957
MA
689 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
690 Return `t' on success.
691
96c052a5
SM
692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
693 Add handler for `set-file-selinux-context'.
4f752957 694
eff2eb58
MA
6952012-12-29 Michael Albinus <michael.albinus@gmx.de>
696
697 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
698 (tramp-sh-handle-set-file-acl): Return `t' on success.
699
ccad023b
EZ
7002012-12-29 Eli Zaretskii <eliz@gnu.org>
701
96c052a5
SM
702 * files.el (backup-buffer-copy, basic-save-buffer-2):
703 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 704 instead of signaling an error. (Bug#13298)
7e56b103 705 (basic-save-buffer): Likewise.
ccad023b 706
ccb1c17e
FEG
7072012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
708
709 * progmodes/python.el: Support other commands triggering
710 python-indent-line so indentation cycling continues to work.
711 (python-indent-trigger-commands): New defcustom.
712 (python-indent-line): Use it.
713
16768034
FEG
7142012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
715
716 * progmodes/python.el (python-shell-send-region): Add blank lines
717 for non sent code so backtraces remain correct.
718
66164d2f
FEG
7192012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
720
721 * progmodes/python.el: Remove cl dependency.
722 (python-syntax-count-quotes): Replace incf call.
723 (python-fill-string): Replace setf call.
724
761231d1
DC
7252012-12-29 Damien Cassou <damien.cassou@gmail.com>
726
43ebd12b 727 * info.el (info-other-window): New arg, for consistency with info.
761231d1 728
7c3e220a
MR
7292012-12-28 Martin Rudalics <rudalics@gmx.at>
730
96c052a5
SM
731 * mail/rmail.el (rmail-maybe-display-summary):
732 Rewrite (Bug#13066).
7c3e220a 733
361828b5
AS
7342012-12-28 Andreas Schwab <schwab@linux-m68k.org>
735
736 * epg.el (epg--start): Modify process-environment locally.
737
23bd348c
DU
7382012-12-28 Daiki Ueno <ueno@gnu.org>
739
740 * epg.el: Support pinentry-curses.
741 Suggested by Werner Koch in
742 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
743 (epg-agent-file, epg-agent-mtime): New variable.
744 (epg--start): Record the modified time of gpg-agent socket file,
745 to restore Emacs frame after pinentry-curses termination.
746 (epg-wait-for-completion): Restore Emacs frame here.
747
313f39aa
JL
7482012-12-27 Juri Linkov <juri@jurta.org>
749
750 * info.el (Info-file-completions): New variable.
751 (Info-read-node-name-1): Complete node names in the Info file
752 when a file name is given. Call `Info-build-node-completions'
753 with a file name.
754 (Info-build-node-completions): Add new arg `file'. When it is
755 non-nil, visit it in a temporary buffer and cache its completions in
756 `Info-current-file-completions'. Move most of the function body to
757 `Info-build-node-completions-1'.
758 (Info-build-node-completions-1): New function with the body from
759 `Info-build-node-completions'. (Bug#12456)
760
a45b7647
JL
7612012-12-27 Juri Linkov <juri@jurta.org>
762
763 * frame.el (frame-maximization-style): Remove user option.
764 (cycle-frame-maximized): Remove function.
765 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
766 (toggle-frame-fullscreen): New command bound to <f11> instead of
767 `toggle-frame-maximized'.
768 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
769
10ffd0be
MA
7702012-12-27 Michael Albinus <michael.albinus@gmx.de>
771
772 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
773
774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
776 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
777 for `file-accessible-directory-p'. (Bug#13275)
778
fd146719
SS
7792012-12-27 Sam Steingold <sds@gnu.org>
780
781 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
782 continuations, see <http://stackoverflow.com/questions/3582436>.
783
82e2a1f0 7842012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
785
786 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
787 "module" and "def" to have indentation before them.
788 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 789
ea0857a1
DG
790 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
791
82e2a1f0 7922012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
793
794 Speed up fontification where there's large brace blocks.
795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
796 to a call of c-beginning-of-decl-1.
797
c34339f3
VS
7982012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
799
800 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
801 (comint-postoutput-scroll-to-bottom):
802 Call comint-adjust-window-point (Bug#13248).
c34339f3 803
78269b95
DG
8042012-12-26 Dmitry Gutov <dgutov@yandex.ru>
805
806 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
807 Rakefile regexp.
808 (auto-mode-alist): Associate .gemspec files with ruby-mode
809 (https://bugs.ruby-lang.org/issues/5453).
810
bd8c13f9
JH
8112012-12-26 Jürgen Hötzel <juergen@archlinux.org>
812
96c052a5
SM
813 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
814 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 815 CyanogenMod).
bd8c13f9
JH
816 (tramp-adb-handle-file-attributes)
817 (tramp-adb-handle-insert-directory)
818 (tramp-adb-handle-file-name-all-completions): Use it.
819 (tramp-adb-get-toolbox): New defun. Check for remote shell
820 implementation (BusyBox or Toolbox).
821
dc646358
CK
8222012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
823
824 * startup.el (initial-buffer-choice): Allow function as value
825 (Bug#13251).
826 (command-line-1): Handle case where initial-buffer-choice
827 specifies a function.
828 * server.el (server-execute): Handle case where
829 initial-buffer-choice specifies a function.
830
e7d52a4d
LI
8312012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
832
833 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
834 its own function.
835 (smtpmail-try-auth-methods): Forget the user name/password if the
836 login is unsuccessful (bug#12424).
837
cdb07539
MA
8382012-12-22 Michael Albinus <michael.albinus@gmx.de>
839
1ef5f225
MA
840 * notifications.el (notifications-notify): Protect body with
841 `with-demoted-errors'.
842
96c052a5
SM
843 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
844 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
845 change.
846
594f37aa
CY
8472012-12-21 Chong Yidong <cyd@gnu.org>
848
849 * sort.el (sort-subr): Doc fix (Bug#13056).
850
a4b0cca1 8512012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 852
acc650b8
BG
853 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
854
0e9c7693
MA
8552012-12-21 Michael Albinus <michael.albinus@gmx.de>
856
857 * simple.el (process-file): Overwrite stderr file, if exists.
858
c6609164
DU
8592012-12-21 Daiki Ueno <ueno@gnu.org>
860
861 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 862 (epg-error): Set `error-message' property.
c6609164 863
aa26f345
CY
8642012-12-21 Chong Yidong <cyd@gnu.org>
865
34b4b7eb
CY
866 * international/mule-cmds.el (read-char-by-name): Signal an error
867 if the user does not supply a valid character (Bug#13177).
868
aa26f345
CY
869 * simple.el (transpose-subr-1): Preserve marker positions by
870 changing the insertion sequence (Bug#13122).
871
05c22d87
KD
8722012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
873
874 * simple.el (kill-region): Deactivate mark even for empty regions
875 (Bug#13169).
876
f5733f87
CY
8772012-12-21 Chong Yidong <cyd@gnu.org>
878
879 * help-fns.el (describe-variable): Make sure we get the right
880 buffer name (Bug#13105). Suggested by Kelly Dean.
881
fab6916d
MM
8822012-12-20 Michael R. Mauger <mmaug@yahoo.com>
883
884 * comint.el (comint-redirect-previous-input-string): New variable.
885 (comint-redirect-setup, comint-redirect-cleanup)
886 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
887 (comint-redirect-preoutput-filter): Fix verbose message.
888
91b982a0
MA
8892012-12-20 Michael Albinus <michael.albinus@gmx.de>
890
891 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
892 is too long for Tramp. See discussion in
893 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
894
895 * progmodes/compile.el (compilation-start): Remove line escape
896 template.
897
87523aed
DA
8982012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
899
900 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
901 Adjust comment.
902
ee3c0aec
JB
9032012-12-19 Jonas Bernoulli <jonas@bernoul.li>
904
905 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
906 following non-comment text (bug#13207).
907 (lm-header-multiline): Continuation lines need to be indented more than
908 the first line.
909 (lm-homepage): New function.
910 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 911
4a74c818
SM
9122012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
913
f4d79bd0
SM
914 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
915 very beginning of a hunk (e.g. killing the first line).
916
3c532af6
MA
9172012-12-19 Michael Albinus <michael.albinus@gmx.de>
918
919 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
920 and text properties from returned ACL string.
921 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
922 for "setfacl" command.
923
e0d01ef3
MA
9242012-12-18 Michael Albinus <michael.albinus@gmx.de>
925
926 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
927 `tramp-cleanup-this-connection', when the process has died.
928 (Bug#13151)
929
2387610d
SM
9302012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
933
19156242
KR
9342012-12-17 Kevin Ryde <user42@zip.com.au>
935
936 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
937
53b6a8b1
MA
9382012-12-17 Michael Albinus <michael.albinus@gmx.de>
939
940 Add support for preserving ACL entries of files.
941
942 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
943 `set-file-acl' handlers.
944
19156242
KR
945 * net/tramp-adb.el (tramp-adb-handle-copy-file):
946 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 947
19156242
KR
948 * net/tramp-compat.el (tramp-compat-copy-file):
949 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 950
19156242
KR
951 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
952 Add `file-acl' and `set-file-acl' handlers.
953 (tramp-gvfs-handle-copy-file):
954 Handle PRESERVE-EXTENDED-ATTRIBUTES.
955 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
956 New defuns.
53b6a8b1 957
19156242
KR
958 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
959 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
960 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
961 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
962 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
963 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 964
19156242
KR
965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
966 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
967 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
968
6ae57a67
KD
9692012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
970
971 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 972 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
973 *Metahelp* with a leading space (Bug#13190).
974
7c3d167f
RF
9752012-12-16 Romain Francoise <romain@orebokech.com>
976
977 * files.el (file-extended-attributes)
978 (set-file-extended-attributes): New functions.
979 (backup-buffer): Use them to handle both SELinux context and ACL
980 entries.
981 (backup-buffer-copy): Work with an alist of extended attributes,
982 rather than an SELinux context.
983 (basic-save-buffer-2): Ditto.
984
19b748ad
TM
9852012-12-16 Timo Myyrä <timo.myyra@gmail.com>
986
987 * battery.el (battery-bsd-apm): New function.
988
70042c64
JB
9892012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
990
991 * calc/calc.el (calc-standard-date-formats): Adjust one of the
992 standard date formats.
993
279f9b06
JL
9942012-12-15 Juri Linkov <juri@jurta.org>
995
996 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
997 `isearch-insert-char-by-name'.
998 (with-isearch-suspended): New defmacro with body mostly from
999 `isearch-edit-string' except the part that sets
1000 `isearch-new-string' and `isearch-new-message'.
1001 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1002 body that sets `isearch-new-string' and `isearch-new-message'.
1003 (isearch-insert-char-by-name): New command.
1004 * international/mule-cmds.el (read-char-by-name): Let-bind
1005 `enable-recursive-minibuffers' to t.
1006 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1007
8370def5
JL
10082012-12-15 Juri Linkov <juri@jurta.org>
1009
1010 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1011 (Bug#13175)
1012
178fb95d
CS
10132012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1014
1015 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1016 the prompt. (Bug#13045)
1017
a5f74442
GM
10182012-12-14 Glenn Morris <rgm@gnu.org>
1019
1020 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1021 Try to include filename in non-bytecomp warning. (Bug#13132)
1022
97976f9f
PE
10232012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1024
1025 Fix permissions bugs with setgid directories etc. (Bug#13125)
1026 * files.el (backup-buffer): Don't rely on 9th output of
1027 file-attributes, as it's now a placeholder. Instead, use the new
1028 optional arg of file-ownership-preserved-p.
1029 (file-ownership-preserved-p): New optional arg GROUP.
1030 Fix mishandling of setuid directories that would cause this
1031 function to return t when it should have returned nil.
1032 Document what happens if the file does not exist, and when
1033 it's not known whether the ownership will be preserved.
1034 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1035 Likewise.
1036 (tramp-get-local-gid): Use group-gid for integer, as that's
1037 faster and more reliable.
1038
016b2a42
JD
10392012-12-14 Julien Danjou <julien@danjou.info>
1040
19156242
KR
1041 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1042 Update keywords list, data type and PL/pgSQL.
016b2a42 1043
665e5e07
DA
10442012-12-14 Dave Abrahams <dave@boostpro.com>
1045
1046 * vc/ediff-util.el (ediff-buffer-type): New function.
1047 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1048 rather than taking it as as argument.
1049 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1050
d72e9e92
RC
10512012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1052
1053 * json.el: Add pretty-print option (bug#12634).
1054 (json-encoding-separator, json-encoding-default-indentation)
1055 (json--encoding-current-indentation, json-encoding-pretty-print)
1056 (json-encoding-lisp-style-closings): New vars.
1057 (json--with-indentation): New macro.
1058 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1059 (json-encode-array): Use it to obey json-encoding-pretty-print.
1060 (json-pretty-print-buffer, json-pretty-print): New commands.
1061
dbb530d9
DG
10622012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1065 Extract `ruby-syntax-propertize-expansions'.
1066 (ruby-syntax-propertize-expansions): Only change syntax on
1067 certain string delimiters, to punctuation. This way the common
1068 functions like forward-word and thing-at-point still work.
1069 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1070 (ruby-block-contains-point): New function.
1071 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1072
ce0440ff
JB
10732012-12-13 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1076 unload-feature finishes even when aborting an ongoing edebug session.
1077 Also, do not worry about edebug-mode, unload-feature takes care of it.
1078
f10331bf
AS
10792012-12-13 Andreas Schwab <schwab@suse.de>
1080
1081 * net/tls.el (tls-program): Update customize type.
1082
5f3a3bb1
JB
10832012-12-13 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1086 (edebug-setup-hook, cl-read-load-hooks): Use it.
1087 (edebug-unload-function): New function. (Bug#13163)
1088
6ce21463
MA
10892012-12-13 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1092 Otherwise, there could be errors in autoloading. (Bug#13151)
1093
d754b364
JH
10942012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1095
1096 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1097 sequences.
1098
727f9739 10992012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1100
1101 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1102 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1103 around `forward-comment' not recognizing ^M as whitespace.
1104
727f9739 11052012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1106
1107 * progmodes/python.el (python-skeleton-class)
1108 (python-skeleton-def): Do not add space after defun name.
1109
eb8006c6
SM
11102012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1113 (cl--symbol-function): Remove (now that funbound is like nil).
1114
4c74b1e4
GM
11152012-12-12 Glenn Morris <rgm@gnu.org>
1116
1117 * button.el (button--area-button-p): Fix typo.
1118
37f38bca
SS
11192012-12-12 Sam Steingold <sds@gnu.org>
1120
1121 * frame.el (frame-maximization-style): New user option.
1122 (toggle-frame-maximized): Toggle frame maximization according to
1123 `frame-maximization-style', bound to <f11>.
1124 (cycle-frame-maximized): Cycle between all maximization styles and
1125 non-maximized frame, bound to shift-<f11>.
1126
fd49a218
DC
11272012-12-12 David Cadé <codename68@gmail.com>
1128
1129 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1130
69e1c203
JB
11312012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1132
1133 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1134 (eieio-override-prin1): Don't quote kewords and booleans.
1135 (object-write) <eieio-default-superclass>: Don't put closing parens
1136 on new line, avoid needless empty lines, align values that are objects
1137 with the slot keyword (instead of beginning on the same line).
1138 (eieio-list-prin1): Align value with slot keyword; increase
1139 eieio-print-depth before printing members of the list.
1140
4b0df848
SM
11412012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1142
030f4af5
SM
1143 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1144 a display text-property.
1145 (report-emacs-bug-hook): Don't bother deleting it any more.
1146
6ac1f8ca
SM
1147 * hilit-chg.el (highlight-save-buffer-state): Delete.
1148 Use with-silent-modifications instead.
1149 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1150
4b0df848
SM
1151 * button.el: Handle buttons in display text-properties.
1152 (button--area-button-p, button--area-button-string):
1153 Use (STRING . STRING-POS) representation instead of just STRING.
1154
d46d2d3a
EZ
11552012-12-11 Eli Zaretskii <eliz@gnu.org>
1156
1157 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1158 subdirectory be skipped.
1159
a0099d31
GM
11602012-12-11 Glenn Morris <rgm@gnu.org>
1161
36327e4f
GM
1162 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1163
a0099d31
GM
1164 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1165 Treat preprocessor lines embedded in continuations like comments.
1166 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1167
ff3f6c26
JB
11682012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1169
1170 * calc/calc.el (calc-standard-date-formats): Add more date
1171 formats.
1172 * calc/calc-forms.el (math-parse-iso-date): New function.
1173 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1174 (math-parse-iso-date-validate): Add extra error checking.
1175 (calc-date-notation): Add ability to access new date formats.
1176
ed6f2cd4
SM
11772012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1180 font-lock as well as when there's no text-property.
1181
c868b919
J
11822012-12-10 Jambunathan K <kjambunathan@gmail.com>
1183
1184 * hi-lock.el: Refine the choice of default face.
1185 (hi-lock-keyword->face): New function. Use it wherever we used
1186 cadadadr instead.
1187 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1188 (hi-lock--last-face): Remove var.
1189 (hi-lock--unused-faces): New var to replace it.
1190 (hi-lock-read-face-name): Use/maintain it.
1191 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1192 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1193 if it has another face.
1194
2b8c9064
EZ
11952012-12-10 Eli Zaretskii <eliz@gnu.org>
1196
1197 * subr.el (w32notify-handle-event): New function.
1198 (inotify-handle-event): Doc fix.
1199
81606b10
RS
12002012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1201
1202 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1203
265c2fbf 12042012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1205
1206 * simple.el (just-one-space): Doc fix.
1207
265c2fbf 12082012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1209
c868b919 1210 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1211
265c2fbf 12122012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1213
1214 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1215 narrowed buffer (bug#12361).
1216
265c2fbf 12172012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1218
1219 * vc/vc-hooks.el (vc-state): Doc fix.
1220
265c2fbf 12212012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1222
1223 * mail/rmail.el (rmail-maybe-display-summary):
1224 Preserve buffer, in case select-window changes it. (Bug#13066)
1225
265c2fbf 12262012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1227
1228 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1229 cl-load-hook where they belong.
1230
bad162fd
SM
12312012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1234
ca065258
EZ
12352012-12-09 Eli Zaretskii <eliz@gnu.org>
1236
1237 Parallelize byte compilation on MS-Windows.
1238 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1239 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1240 (WINS_BASIC): Define as concatenation of the above.
1241 (compile): Subdivide into 4 separate and independent jobs that can
1242 be run in parallel.
1243 (compile0-CMD, compile0-SH): New targets for compiling
1244 COMPILE_FIRST files, which are prerequisites for the rest of the
1245 byte-compilation.
bad162fd
SM
1246 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1247 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1248 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1249 compiling under a Unixy shell.
1250
5dea55d2
CY
12512012-12-09 Chong Yidong <cyd@gnu.org>
1252
1253 * simple.el (set-mark-default-inactive): Delete this
1254 accidentally-introduced option.
1255 (set-mark-command, exchange-point-and-mark): Remove calls.
1256
c6c08d3f
GM
12572012-12-09 Glenn Morris <rgm@gnu.org>
1258
1259 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1260 Respect a defcustom's :set function, if appropriate. (Bug#109)
1261 (eval-defun): Doc fix.
1262
858aab4c
JL
12632012-12-08 Juri Linkov <juri@jurta.org>
1264
1265 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1266 (Info-fontify-node, Info-bookmark-make-record): Remove the
1267 file extension from Info-current-file (Bug#13016).
1268
2e4ad7e5
SM
12692012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1272 point, still provide some default.
1273 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1274 names, since we don't use it right now. Actually return the list.
1275 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1276
75498db0
CY
12772012-12-07 Chong Yidong <cyd@gnu.org>
1278
ffe7ba8f
CY
1279 * novice.el (disabled-command-function): Remove a spurious help
1280 xref (Bug#13043). Suggested by Kelly Dean.
1281
454eb095
CY
1282 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1283 syntax is specified (Bug#13025).
1284
75498db0
CY
1285 * info.el (Info-set-mode-line): Remove the file extension from
1286 Info-current-file if there is one (Bug#13016).
1287
13a40633
GM
12882012-12-07 Glenn Morris <rgm@gnu.org>
1289
54c8b5ba
GM
1290 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1291 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1292 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1293 and rmail-mime-decoded. (Bug#9841)
1294
13a40633
GM
1295 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1296 (batch-unrmail, unrmail): Doc fixes.
1297 (unrmail): Respect unrmail-mbox-format.
1298 * mail/rmail.el (rmail-mbox-format): New option.
1299 (rmail-show-message-1): Respect rmail-mbox-format.
1300
4611a3cc
SM
13012012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1304
1812c724
SM
13052012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1306
338bfefa
SM
1307 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1308 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1309 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1310 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1311 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1312 (cl-progv): Don't rely on dynamic scoping to find the body.
1313 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1314 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1315 (cl-declaim): Use backquotes.
1316 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1317 Use "cl--" prefix for the object's tag.
1318
1812c724
SM
1319 * ses.el: Use advice-add/remove.
1320 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1321 (copy-region-as-kill, yank): Use advice-add.
1322 (ses-unload-function): Use advice-remove.
1323
24fc9480
JB
13242012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1325
1326 * button.el: Make them work in header-lines (bug#12817).
1327 (button-map): Add bindings for header-line and mode-line use.
1328 (button-get, button-put, button-label): `button' may now be a string.
1329 (button-activate): Don't make it a defsubst.
1330 (button--area-button-p, button--area-button-string): New functions.
1331 (make-text-button): Fix the return value when `beg' was a string.
1332 (push-button): Handle the mode-line case.
1333
853c1ffc
SM
13342012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1335
93852cb0
SM
1336 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1337 (sql-signum): Remove. Use `cl-signum' instead.
1338 (sql-read-passwd): Remove; use read-passwd instread.
1339 (sql-get-login-ext): Use read-string.
1340 (sql-get-login): Use dolist and pcase.
1341 (sql--completion-table): Rename from sql-try-completion.
1342 Use complete-with-action.
1343 (sql-mode): Don't change abbrev-all-caps globally.
1344 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1345 (sql-postgres-completion-object): Initialize vars in their `let'.
1346 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1347 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1348 (sql-comint-interbase): Use a single append, without setq.
1349 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1350
853c1ffc
SM
1351 * hi-lock.el: Rework the default face and the serialize regexp code.
1352 (hi-lock--auto-select-face-defaults): Remove.
1353 (hi-lock-string-serialize-serial): Remove.
1354 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1355 make weak.
1356 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1357 equal string.
1358 (hi-lock-set-pattern): Adjust accordingly.
1359 (hi-lock--regexps-at-point): Simplify accordingly.
1360 (hi-lock--auto-select-face-defaults): Remove.
1361 (hi-lock--last-face): New var to replace it.
1362 (hi-lock-read-face-name): Rewrite (bug#11095).
1363 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1364
5504e2c7
MA
13652012-12-06 Michael Albinus <michael.albinus@gmx.de>
1366
853c1ffc
SM
1367 * net/tramp.el (tramp-replace-environment-variables):
1368 Hide compiler warning.
5504e2c7
MA
1369 (tramp-file-name-for-operation): Remove `executable-find',
1370 `start-process', `call-process' and `call-process-region'.
1371
853c1ffc 1372 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1373
1374 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1375 compatibility.
1376
1377 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1378
e1d51545
CY
13792012-12-06 Chong Yidong <cyd@gnu.org>
1380
1381 * ffap.el (ffap-replace-file-component): Fix typo.
1382
d8ad4d3f 13832012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1384
1385 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1386 fix open-paren-like token test (bug#12785).
1387
d8ad4d3f 13882012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1389
1390 * mail/rmailsum.el (rmail-new-summary): Tweak for
1391 rmail-maybe-display-summary changing buffer. (Bug#13066)
1392
d8ad4d3f 13932012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1394
1395 * info.el (Info-fontify-node): Don't hide the last newline.
1396 (Bug#12272)
1397
9ad948e2
KY
13982012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1399
1400 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1401 so as to enable message-read-from-minibuffer to expand mail aliases.
1402
4b5c89ee
SM
14032012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1406 the `intangible' property.
1407 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1408
5602a53a
DD
14092012-12-05 Deniz Dogan <deniz@dogan.se>
1410
1411 * net/rcirc.el (rcirc-urls): Update documentation.
1412 (rcirc-condition-filter): New function.
1413 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1414 and exclude consecutive duplicate URLs (Bug#6082).
1415
51b890ac
MA
14162012-12-05 Michael Albinus <michael.albinus@gmx.de>
1417
d5f97f62
MA
1418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1419 Check return code of copy command.
1420
853c1ffc
SM
1421 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1422 Use group `tramp'. Add version.
51b890ac 1423
04b14f2b
CY
14242012-12-05 Chong Yidong <cyd@gnu.org>
1425
a3680194
CY
1426 * ffap.el (ffap-url-regexp): Don't require matching at front of
1427 string (Bug#4952).
1428 (ffap-url-p): If only a substring matches, return that.
1429 (ffap-url-at-point): Use the return value of ffap-url-p.
1430 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1431 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1432 (ffap-guess-file-name-at-point): Likewise.
1433 (ffap-replace-file-component): Fix typo.
1434
04b14f2b
CY
1435 * info.el (info-display-manual): Add existing Info buffers, whose
1436 files may not be in Info-directory-list, to the completion.
1437 (info--manual-names): New helper function.
1438
49596095
GM
14392012-12-05 Glenn Morris <rgm@gnu.org>
1440
1441 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1442 New functions, for detecting and resolving conflicts. (Bug#10709)
1443
b85aec93
J
14442012-12-04 Jambunathan K <kjambunathan@gmail.com>
1445
1446 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1447 (hi-lock-auto-select-face-defaults): New buffer local variable.
1448 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1449 (hi-lock-unface-buffer): Prompt user with useful defaults.
1450 With prefix arg, unhighlight all hi-lock patterns in buffer.
1451
8515507f
SM
14522012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1455
72cebfb7
MA
14562012-12-04 Michael Albinus <michael.albinus@gmx.de>
1457
1458 * Makefile.in (TRAMP_SRC):
1459 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1460
0ec3f7ea
JH
14612012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1462
1463 * net/tramp-adb.el: New package.
1464
770de7cf
CY
14652012-12-04 Chong Yidong <cyd@gnu.org>
1466
ce3e7725
CY
1467 * terminal.el: Move to obsolete/.
1468
770de7cf
CY
1469 * longlines.el: Move to obsolete/.
1470
1471 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1472 Remove code referring to longlines mode.
1473
c38a186c
JL
14742012-12-03 Juri Linkov <juri@jurta.org>
1475
1476 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1477
329bfd64
AM
14782012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1479
1480 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1481 (ispell-start-process, ispell-internal-change-dictionary):
1482 Make sure personal dictionary name is expanded after initial
1483 `default-directory' value. Use expanded strings for
1484 keep/restart checks and for value (Bug#13019).
329bfd64 1485
77a74935
JB
14862012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1487
1488 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1489
c5bc2d1d 14902012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1491
1492 * files.el (dir-locals-read-from-file): Check file non-empty
1493 before reading. (Bug#13038)
1494
c5bc2d1d 14952012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1496
1497 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1498 Remove any version extension before checking filename. (Bug#13006)
1499 (jka-compr-compression-info-list): Belated :version bump.
1500
c5bc2d1d 15012012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1502
8ecba97d
CY
1503 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1504
a5bf43ba
CY
1505 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1506 (buffer-menu): Doc fix (Bug#12294).
1507
c5bc2d1d 15082012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1509
1510 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1511 of diary-show-all-entries in the diary buffer (Bug#12994).
1512
c5bc2d1d 15132012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1514
1515 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1516 "<STDIN>". This is binary safe.
1517
682ceaf8
JB
15182012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1519
1520 * calc/calc-forms.el (math-absolute-from-iso-dt)
1521 (math-date-to-iso-dt, math-parse-iso-date-validate)
1522 (math-iso-dt-to-date): New functions.
1523 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1524 (math-fd-isoweekday): New variables.
1525 (calc-date-notation, math-parse-standard-date, math-format-date)
1526 (math-format-date-part): Add support for more formatting codes.
1527
db47d5e9
DG
15282012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1529
1530 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1531 current buffer's file name when called interactively (Bug#12488).
1532
3faf4944
JL
15332012-12-02 Juri Linkov <juri@jurta.org>
1534
1535 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1536 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1537
cb5d51dc
YN
15382012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1539
1540 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1541 before using it for comparison (Bug#5297).
1542
f38cd76e
JA
15432012-12-01 Jari Aalto <jari.aalto@cante.net>
1544
1545 * textmodes/css-mode.el (css-current-defun-name): New function.
1546 (css-mode): Use it.
1547
1548 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1549 (html-mode): Use it.
1550
ba03d0d9
CY
15512012-12-01 Chong Yidong <cyd@gnu.org>
1552
1553 Modularize add-log-current-defun (Bug#2224).
1554 Suggested by Jari Aalto.
1555
1556 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1557 (add-log-current-defun): Move mode-specific code to other files.
1558 (add-log-lisp-like-modes, add-log-c-like-modes)
1559 (add-log-tex-like-modes): Variables deleted.
1560
1561 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1562 (lisp-mode-variables): Use it.
1563
1564 * progmodes/cc-mode.el (c-common-init):
1565 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1566 add-log-current-defun-function.
1567
1568 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1569 (m4-mode): Use it.
1570
1571 * progmodes/perl-mode.el (perl-current-defun-name): New.
1572 (perl-mode): Use it.
1573
853c1ffc
SM
1574 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1575 Use lisp-current-defun-name.
ba03d0d9
CY
1576
1577 * textmodes/tex-mode.el (tex-current-defun-name): New.
1578 (tex-common-initialization): Use it.
1579
1580 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1581 (texinfo-mode): Use it.
1582
92eadba5
CY
15832012-12-01 Chong Yidong <cyd@gnu.org>
1584
1585 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1586 * progmodes/autoconf.el (autoconf-mode):
1587 * progmodes/js.el (js-mode):
1588 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1589 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1590 * progmodes/perl-mode.el (perl-mode):
1591 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1592 * textmodes/css-mode.el (css-mode):
1593 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1594 (sgml-tags-invisible, sgml-guess-indent):
1595 * textmodes/tex-mode.el (tex-common-initialization)
1596 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1597 (doctex-mode, plain-tex-mode, latex-mode):
1598 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1599
3ddbf803
KK
16002012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1601
1602 * vc/vc-hg.el (vc-hg-next-revision):
1603 Ensure use of default "tip" output format. (Bug#6968)
1604
f0b6ae63
KS
16052012-12-01 Kim F. Storm <storm@cua.dk>
1606
1607 * startup.el (fancy-startup-tail): Add a clickable link
1608 (Bug#2176).
1609
c01bf73e
CY
16102012-12-01 Chong Yidong <cyd@gnu.org>
1611
1612 * startup.el (fancy-startup-tail): Improve the message about
1613 auto-save files (Bug#2176).
1614
f0b6ae63
KS
1615 * files.el (recover-session): Improve the descriptive message, and
1616 use substitute-command-keys.
1617
a9400458
GM
16182012-12-01 Glenn Morris <rgm@gnu.org>
1619
1620 * ido.el (ido-file-internal):
1621 Handle other-window, other-frame for dired. (Bug#13036)
1622
fb3bf6ce
GM
16232012-11-30 Glenn Morris <rgm@gnu.org>
1624
1625 * icomplete.el (icomplete-separator): Fix :version.
1626
a813fe3f
CY
16272012-11-30 Chong Yidong <cyd@gnu.org>
1628
1629 * shell.el (shell): For C-u M-x shell, use an inactive shell
1630 buffer as the default (Bug#1975).
276479fd
CY
1631 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1632 (shell-mode): Use them to reapply ansi colorization if Shell mode
1633 is re-enabled.
a813fe3f 1634
a8b733a5
CY
16352012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1636
1637 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1638
6fccd6e8
SB
16392012-11-30 Samuel Bronson <naesten@gmail.com>
1640
1641 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1642 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1643
53c9a337
TT
16442012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1645
1646 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1647 by move-to-column (Bug#3234).
1648
ccf520bb
CY
16492012-11-30 Chong Yidong <cyd@gnu.org>
1650
1651 * longlines.el (longlines-wrap-line, longlines-encode-region):
1652 Preserve text properties (Bug#1425).
1653
171b0949
OT
16542012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1655
1656 * vc/vc.el (vc-register): Allow registering a file which is
1657 already registered with a different backend (Bug#10589).
1658
cc37e70f
J
16592012-11-29 Jambunathan K <kjambunathan@gmail.com>
1660 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * icomplete.el: Change separator; add ido-style commands.
1663 (icomplete-show-key-bindings): Remove custom var.
1664 (icomplete-get-keys): Remove function.
1665 (icomplete-forward-completions, icomplete-backward-completions):
1666 New commands.
1667 (icomplete-minibuffer-map): New var.
1668 (icomplete-minibuffer-setup): Use it.
1669 (icomplete-exhibit): Don't delay if the list of completions is known.
1670 (icomplete-separator): New custom.
1671 (icomplete-completions): Use it.
1672 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1673 (minibuffer-force-complete-and-exit): New command.
1674 (minibuffer--complete-and-exit): New function extracted from
1675 minibuffer-complete-and-exit.
1676 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1677
1678 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1679 error message when the file doesn't exist (bug#12974).
1680
31646597
KD
16812012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1682
1683 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1684
e9df8f87
GM
16852012-11-29 Glenn Morris <rgm@gnu.org>
1686
824eefe4
GM
1687 * files.el (hack-dir-local-variables): Warn if try to set
1688 coding via dir-locals, since it doesn't work. (Bug#7169)
1689
4ad900d9
GM
1690 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1691 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1692 Set buffer-local value of desktop-save-buffer.
1693 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1694 New functions.
1695 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1696 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1697
e9df8f87
GM
1698 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1699 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1700 Doc fix.
1701 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1702 Doc fixes.
1703
e7c8fcc4
JB
17042012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1705
1706 * calc/calc-forms.el (calc-date-notation): Fix regexp
1707 used to find time codes. Fix symbol for seconds.
1708
48d6d9c0
GM
17092012-11-27 Glenn Morris <rgm@gnu.org>
1710
1711 * emacs-lisp/derived.el (derived-mode-make-docstring):
1712 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1713
369f945d
SM
17142012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1717 lexically scoped variables (bug#13005).
1718
5c9cf0a3 17192012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1720
999e745e
GM
1721 * vc/vc-hooks.el (vc-mistrust-permissions):
1722 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1723
5c9cf0a3 17242012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1725
999e745e
GM
1726 * progmodes/python.el (python-indent-guess-indent-offset):
1727 If indentation is guessed make python-indent-offset buffer-local.
1728
207cb73c 1729 Fix Imenu regression.
999e745e
GM
1730 * progmodes/python.el (python-nav-beginning-of-defun):
1731 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1732 (python-imenu-prev-index-position): New function.
1733
5c9cf0a3 17342012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1735
1736 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1737
1738 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1739 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1740
5c9cf0a3 17412012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1742
1743 * hippie-exp.el (hippie-expand-try-functions-list):
1744 Re-autoload it. (Bug#12982)
1745
5c9cf0a3 17462012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1747
369f945d
SM
1748 * descr-text.el (describe-char-padded-string):
1749 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1750
5c9cf0a3 17512012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1752
1753 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1754 and obsoletion message.
1755
5c9cf0a3 17562012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1757
1758 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1759 the constructs to keep outside of the `cl-block' (bug#12977).
1760
5c9cf0a3 17612012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1762
1763 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1764 keep reading until we get the up-event anyway, in order to process
1765 the up-event for mouse-1-click-follows-link (Bug#12971).
1766
848a2dd1
SM
17672012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1770 base function is not yet defined (bug#12965).
1771 (ad-activate-advised-definition): Use ad-compile-function.
1772 (ad-activate): Use cond.
1773
9ad79506
LL
17742012-11-25 Leo Liu <sdl.web@gmail.com>
1775
1776 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1777 (Bug#12979)
1778
e2cb57f5
VB
17792012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1780
1781 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1782 reftex-section-info-function in order to be compatible with
1783 Texinfo integration.
1784
1785 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1786 (reftex-section-post-regexp, reftex-section-info-function):
1787 New variable.
1788 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1789 reftex-section-post-regexp, and reftex-section-info-function in order
1790 to be compatible with Texinfo integration.
1791
1792 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1793 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1794 Texinfo integration.
1795
1c4f115d
CY
17962012-11-25 Chong Yidong <cyd@gnu.org>
1797
1798 * faces.el: Make face-spec-set more analogous to setq.
1799 (face-spec-set): Change the third arg to specify whether this
1800 function is being called via defface, customize, or a third party.
1801 Set the appropriate symbol properties. Clear the override spec if
1802 setting via Custom. Initialize face if necessary. (Bug#4988)
1803 (face-spec-recalc): Allow theme faces to completely replace the
1804 defface spec, in the same way as custom faces (Bug#8454).
1805
1806 * cus-face.el (custom-declare-face): Move face initialization to
1807 face-spec-set.
1808 (custom-theme-set-faces): Don't initialize the face name here, as
1809 that is now done in face-spec-set.
1810
1811 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1812 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1813 Simplify by using the new arg to face-spec-set.
1814
1815 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1816 reset face-override-spec too, and use custom-declare-face.
1817
c2350548
JD
18182012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1819
1820 * term/ns-win.el (ns-initialize-window-system): Move creation of
1821 fontsets here (Bug#11964).
1822
ecfc364c
VB
18232012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1824
1825 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1826 cell renaming.
1827
0917cc54
CY
18282012-11-24 Chong Yidong <cyd@gnu.org>
1829
433212bf
CY
1830 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1831 obsolete.
1832
0917cc54
CY
1833 * custom.el (custom-theme-set-variables): Use a topological sort
1834 for ordering by custom dependencies (Bug#12952).
1835 (custom--sort-vars, custom--sort-vars-1): New functions.
1836
d125ca15 18372012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1838
1839 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1840 lexical-binding (bug#12938).
1841
d125ca15 18422012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1843
1844 * image-mode.el (image-transform-check-size): Use assertions only
1845 for images of type imagemagick.
1846
1847 Otherwise no error, image-transform-fit-to-{width,height} is
1848 silently ignored, as before. Doc fix.
1849
d125ca15 18502012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1851
1852 * faces.el (color-defined-p): Doc fix (Bug#12853).
1853
d125ca15 18542012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1855
1856 * dired.el (dired-mark): Add optional arg `interactive'.
1857 Check for `use-region-p' if `interactive' is non-nil.
1858 (dired-unmark, dired-flag-file-deletion): Add optional arg
1859 `interactive'. Call `dired-mark' with the arg `interactive'.
1860 (Bug#10624)
1861
cc4c01bd
JL
1862 * wdired.el: Revert 2012-10-17 change partly and replace it with
1863 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1864 (wdired-finish-edit): Add marks for new file names to
1865 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1866 after `revert-buffer'.
1867 (wdired-do-renames): Remove calls to `dired-remove-file',
1868 `dired-add-file', `dired-add-entry'. (Bug#11795)
1869
d125ca15 18702012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1871
dc310ed0
AM
1872 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1873
b03aabda
AM
1874 Fix bugs in the state cache. Enhance a debugging mechanism.
1875 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1876 "brace at column zero" strategy for C++.
1877 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1878 (c-parse-state-point): New variable.
1879 (c-record-parse-state-state): Record old parse state with
1880 `copy-tree'. Record previous value of point.
1881 (c-debug-parse-state-double-cons): New debugging function.
1882 (c-debug-parse-state): Call the above new function.
1883 (c-toggle-parse-state-debug): Output a confirmatory message.
1884
002c019c
SM
1885 * progmodes/cc-mode.el (c-before-change, c-after-change):
1886 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1887 `c-after-change'.
1888
930a6273
CY
18892012-11-23 Chong Yidong <cyd@gnu.org>
1890
1891 * find-cmd.el (find-constituents): Add executable, ipath,
1892 readable, samefile, writable, daystart, regextype (Bug#12856).
1893
15c9d04e
SM
18942012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1897
2ecb2679
PE
18982012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1899
1900 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1901 definition. This fixes a bootstrap failure.
a14a5a40
PE
1902 (calc-gregorian-switch): In menu, put dates before regions.
1903 This is easier to follow, lines up better in the menu, and lets us
1904 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1905 names, not "Vatican", as that's better for non-expert users.
1906 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1907 Bohemia and Moravia (which existed then and now) and not
1908 Czechoslovakia (which didn't exist then and doesn't exist now).
1909 What is now the U.S. mostly did not switch at the same time as
1910 Britain, so omit the U.S. Correct spelling of "Britain".
1911 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1912
723da6aa
JB
19132012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1914
1915 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1916 after the variable is changed.
1917
21fa2482
DC
19182012-11-21 Daniel Colascione <dancol@dancol.org>
1919
1920 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1921 in SQL declarations for font-lock.
1922 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1923
3ca2f1bf
GM
19242012-11-21 Glenn Morris <rgm@gnu.org>
1925
1bf335cf
GM
1926 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1927 (face-italic-p): Add optional argument "inherit".
1928
3ca2f1bf
GM
1929 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1930 Remove -p suffix from names, for consistency with other set-face-*.
1931 (set-face-inverse-video): Fix interactive spec.
1932 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1933 * textmodes/table.el (table--update-cell-face):
1934 Use set-face-inverse-video rather than now obsolete alias.
1935
6ef2e5ef 19362012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1937
1938 * simple.el (line-move): Don't call line-move-partial if
1939 scroll-conservatively is in effect. (Bug#12927)
1940
6ef2e5ef 19412012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1942
93b05041
SM
1943 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1944 Fallback on completion-at-point rather than
1945 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1946 (eshell-cmpl-initialize): Setup completion-at-point.
1947
1948 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1949
bc715d67
SM
1950 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1951
6ef2e5ef 19522012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1953
1954 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1955 are remote, check out-of-band property for both.
1956
6ef2e5ef 19572012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1958
1959 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1960 code rewrite.
1961
6ef2e5ef 19622012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1963
535efd4a
PE
1964 More minor time fixes.
1965 * calendar/time-date.el: Commentary fix.
1966 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1967 too much other code depends on (0 0) time stamps.
1968 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1969 Add a couple of FIXME comments.
1970
0c93aa38
PE
1971 Minor cleanup for times as lists of four integers.
1972 * files.el (dir-locals-directory-cache):
1973 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1974 Doc fixes.
1975 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1976 * ps-bdf.el (bdf-file-newer-than-time):
1977 Process four-integers time stamps, not two. Doc fixes.
1978
23ba2705
SM
19792012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1980
2e31777b
SM
1981 * uniquify.el (uniquify-managed): Use defvar-local.
1982 (rename-buffer, create-file-buffer): Advise with advice-add.
1983 (uniquify-unload-function): Unadvise accordingly.
1984
8b62d742
SM
1985 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1986 (trace-buffer): Don't purecopy.
1987 (trace-entry-message, trace-exit-message): Add `context' arg.
1988 (trace--timer): New var.
1989 (trace-make-advice): Adjust for use in nadvice.
1990 Add `context' argument. Delay `display-buffer' via a timer.
1991 (trace-function-internal): Use advice-add.
1992 (trace--read-args): New function.
1993 (trace-function-foreground, trace-function-background): Use it.
1994 (trace-function): Rename to trace-function-foreground and redefine as
1995 an alias to that new name.
1996 (untrace-function, untrace-all): Adjust to the use of nadvice.
1997
5d0ccd95
SM
1998 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1999
3837d988
SM
2000 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2001
23ba2705
SM
2002 * subr.el (called-interactively-p-functions): New var.
2003 (internal--called-interactively-p--get-frame): New macro.
2004 (called-interactively-p, interactive-p): Rewrite in Lisp.
2005 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2006 (called-interactively-p-functions): Use it.
2007 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2008 (called-interactively-p-functions): Use it.
2009 * allout.el (allout-called-interactively-p): Don't assume
2010 called-interactively-p is a subr.
2011
b0636be7
GM
20122012-11-20 Glenn Morris <rgm@gnu.org>
2013
2014 * profiler.el (profiler-report-mode-map): Add a menu.
2015 No need to bind `q' because we derive from special-mode.
2016 (profiler-report-find-entry): Handle calls from the menu-bar.
2017
855b17af
SM
20182012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2019
14146222
SM
2020 * emacs-lisp/byte-run.el (defun-declarations-alist):
2021 Allow a compiler-macro to be a lambda expression.
2022
2023 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2024 eval-when-compile.
2025 (python-syntax-context): Add compiler-macro.
2026 (python-font-lock-keywords): Simplify with De Morgan.
2027
1000d895
SM
2028 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2029
ac5392dc
SM
2030 * files.el (load-file): Require match in minibuffer selection, as was
2031 the case in Emacs-20 before we changed the spec to allow .elc files
2032 (bug#12935).
2033
19dc7206
SM
2034 * json.el: Don't require cl since we don't use it.
2035 * color.el: Don't require cl.
2036 (color-complement): `caddr' -> `nth 2'.
2037
855b17af
SM
2038 * calendar/time-date.el (time-to-seconds): De-obsolete.
2039
e8909bdc
JB
20402012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2041
2042 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2043 year numbers.
2044 (math-date-to-julian-dt): Adjust the initial approximation for the
2045 year to deal with the new definition of the DATE.
2046
6e9f7997
DC
20472012-11-19 Daniel Colascione <dancol@dancol.org>
2048
855b17af
SM
2049 * term/w32-win.el (cygwin-convert-path-from-windows):
2050 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2051
6a3dd257
CY
20522012-11-18 Chong Yidong <cyd@gnu.org>
2053
2054 * filecache.el (file-cache--read-list): New function.
2055 (file-cache-add-directory-list, file-cache-add-file-list)
2056 (file-cache-delete-file-list, file-cache-delete-directory-list):
2057 Use it to read a list of files or directories (Bug#12846).
2058 (file-cache-add-file, file-cache-add-directory)
2059 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2060 (file-cache-delete-directory): Print an message.
2061
eef97f35
JB
20622012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2063
2064 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2065 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2066
913c8291
GM
20672012-11-18 Glenn Morris <rgm@gnu.org>
2068
2069 * image.el (insert-image, insert-sliced-image): Doc fix.
2070
2ac9538d 20712012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2072
2073 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2074 (Bug#12810).
2075
2ac9538d 20762012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2077
2078 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2079 response when the target file is in a subdirectory (Bug#12757).
2080
2ac9538d 20812012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2082
2083 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2084
2ac9538d 20852012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2086
9a5e2ee3
GM
2087 * emacs-lisp/cl-lib.el (face-underline-p):
2088 Use set-face-underline rather than the alias set-face-underline-p.
2089
65463c40 2090 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2091 * subr.el (with-output-to-temp-buffer):
2092 Add doc xref to with-temp-buffer-window.
65463c40 2093
c9ed8e3d
JB
20942012-11-18 Juanma Barranquero <lekktu@gmail.com>
2095
2096 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2097 * calc/calc.el (math-format-date-cache): Declare.
2098
310e60d9
PE
20992012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2100
6f6b82d6
PE
2101 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2102 It also uses January 1, 1 AD as its day number 1.
310e60d9 2103 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2104 (math-julian-date-beginning-int): Implement this.
310e60d9 2105
d7fe6352
JB
21062012-11-17 Juanma Barranquero <lekktu@gmail.com>
2107
2108 * descr-text.el (quail-find-key):
2109 * dired.el (desktop-file-name):
2110 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2111 * generic-x.el (comint-mode, comint-exec):
2112 * image-dired.el (widget-forward):
2113 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2114 (speedbar-change-expand-button-char)
2115 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2116 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2117 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2118 (widget-field-action, widget-value-set):
2119 * speedbar.el (imenu--make-index-alist):
2120 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2121 (ring-length, ring-insert):
2122 * vcursor.el (compare-windows-skip-whitespace):
2123 * woman.el (dired-get-filename):
2124 Declare functions.
2125
2126 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2127
c9f618db
JB
21282012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2129
2130 * calc/calc.el (calc-gregorian-switch): New variable.
2131
2132 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2133 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2134 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2135 (math-leap-year-p): Add option to distinguish between Julian
2136 and Gregorian calendars.
2137 (math-day-number): Use `math-day-in-year' to do the computations.
2138 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2139 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2140 to do the computations.
2141 (math-date-to-dt): Use `math-date-to-julian-dt' and
2142 `math-date-to-gregorian-dt' to do the computations.
2143 (calcFunc-weekday, math-format-date-part): Use the new version of
2144 the DATE to determine the weekday.
2145 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2146 when necessary.
2147
3804f7bc
EZ
21482012-11-17 Eli Zaretskii <eliz@gnu.org>
2149
2150 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2151 Cygwin; otherwise use 'file:'. (Bug#12914)
2152 (cygwin-convert-path-from-windows): Declare, to avoid
2153 byte-compiler warnings.
2154
de959d4d
AP
21552012-11-17 Andreas Politz <politza@fh-trier.de>
2156
2157 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2158 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2159 prefix and negative numeric prefix args (Bug#12795).
2160
e45deaef
SB
21612012-11-17 Stephen Berman <stephen.berman@gmx.net>
2162
2163 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2164 Don't signal an error with a score that is too low to add to the
2165 list of top scores. (Bug#12779)
2166
ec15e0ff
CY
21672012-11-17 Chong Yidong <cyd@gnu.org>
2168
8e7696a1
CY
2169 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2170
ec15e0ff
CY
2171 * filecache.el (file-cache-add-file): Handle relative file name in
2172 the argument (Bug#12694).
2173
60c4ee66
JH
21742012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2175
2176 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2177
cdc5d88c
SM
21782012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2179
dd0c5bbb
SM
2180 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2181
cdc5d88c
SM
2182 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2183
0ff7851c
MR
21842012-11-16 Martin Rudalics <rudalics@gmx.at>
2185
2186 * window.el (enlarge-window, shrink-window): Don't mention return
2187 value in doc-string (Bug#12896).
2188 (window--display-buffer): Don't resize frames - it won't work
2189 with all window managers and defeat pop-up-frame-alist.
2190 (display-buffer-alist): In doc-string explain that CONDITION can
2191 be a function and which arguments are passed to it (Bug#12854).
2192 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2193 expressions (Bug#12854).
2194 (display-buffer): Pass ACTION argument to
2195 display-buffer-assq-regexp.
2196
dedd1884
GM
21972012-11-16 Glenn Morris <rgm@gnu.org>
2198
7c82753d
GM
2199 * window.el (fit-frame-to-buffer-bottom-margin)
2200 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2201
dedd1884
GM
2202 * faces.el (face-underline-p): Use face-attribute-specified-or.
2203
96e05507 22042012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2205
2206 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2207
96e05507 22082012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2209
2210 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2211
96e05507 22122012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2213
17c083ac
GM
2214 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2215 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2216
bde3c6c0
GM
2217 * faces.el (face-underline-p): Doc fix. Handle :underline being
2218 things other than `t' (a string, a list).
2219 (face-inverse-video-p): Doc fix.
2220 (set-face-underline): Rename it back from set-face-underline-p.
2221 Doc fix. Allow interactive input of values other than t.
2222 (read-face-attribute): Apply formatting to :underline,
2223 since like :box and :stipple it can take list values.
2224
e2e13f18
GM
2225 * term.el (ansi-term): Don't let C-x escape-char binding
2226 clobber the more standard C-c binding. (Bug#12842)
2227
e0ea8060
GM
2228 * subr.el (set-temporary-overlay-map): Doc fix.
2229
96e05507 22302012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2231
2232 * window.el (record-window-buffer)
2233 (display-buffer-record-window): When copying the markers to
2234 window-point preserve window-point-insertion-type. (Bug#12588)
2235
96e05507 22362012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2237
2238 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2239 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2240 Use new names for hooks rather than obsolete aliases.
2241
faeafc01
DC
22422012-11-15 Daniel Colascione <dancol@dancol.org>
2243
2244 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2245 prefix instead of "file:" so that when FILE-NAME begins with "//",
2246 as it does when the target file is on a network share, url-handler
2247 isn't confused.
2248
1232d6c2
SM
22492012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2252 a preactivated advice from an old advice.el; they're not compatible!
2253
47f01a8a
KY
22542012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2255
2256 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2257 Fix string-spec case.
2258
2259 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2260
a61428c4
SM
22612012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2264 (advice--buffer-local-function-sample): New var.
2265 (advice--set-buffer-local, advice--buffer-local): New functions.
2266 (add-function, remove-function): Use them.
2267
875ce3a7
DA
22682012-11-15 Drew Adams <drew.adams@oracle.com>
2269
2270 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2271
589fc479
SM
22722012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2275 potential binding of print-gensym to t, and prettify (back)quotes in
2276 case they appear in args's default values (bug#12884).
2277
1668ea90
SM
22782012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2281 (advice-eval-interactive-spec): New function.
2282 (advice--make-interactive-form): Support around advice (bug#12844).
2283
8619323f
DG
22842012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2285
2286 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2287 more strict. Add docstring.
c62792e7
DG
2288 (ruby-expression-expansion-re): Extract from
2289 `ruby-match-expression-expansion'.
2290 (ruby-syntax-propertize-function): After everything else, search
2291 for expansions in string literals, mark their insides as
2292 whitespace syntax and save match data for font-lock.
2293 (ruby-font-lock-keywords): Use the 2nd group from expression
2294 expansion matches.
2295 (ruby-match-expression-expansion): Use the match data saved to the
2296 text property in ruby-syntax-propertize-function.
8619323f 2297
9c3912d3
SM
22982012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2301 (bug#12879).
2302
5e9419e8
DG
23032012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2306 start/end keyword a bit harder. Works with different values of N.
2307 Add more comments.
2308 (ruby-end-of-block): Update accordingly.
2309
3c442f8b
SM
23102012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2311
fa470af0
SM
2312 * woman.el (woman-file-name): Don't mess with unread-command-events
2313 (bug#12861).
2314
3c442f8b
SM
2315 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2316 Remove out of date self-require hack.
2317 (ad-do-advised-functions): Use simple `dolist'.
2318 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2319 (ad-advice-definition): Redefine as functions.
2320 (ad-advice-classes): Move before first use.
2321 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2322 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2323 (ad--defalias-fset): Remove functions.
fa470af0 2324 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2325 (ad-get-orig-definition): Rewrite.
2326 (ad-make-advised-definition-docstring): Change base docstring.
2327 (ad-real-orig-definition): Rewrite.
2328 (ad-map-arglists): Change name of called function.
2329 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2330 (ad-make-advised-definition): Simplify.
2331 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2332 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2333 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2334 function and call ad-activate if needed.
2335 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2336 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2337 (ad-compile-function): Compile ad-Advice-*.
2338 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2339 (ad-start-advice, ad-stop-advice): Remove.
2340
5745cae6
DG
23412012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2342
2343 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2344 period before class method names, not after. Remove handling of
2345 one impossible case. Add comments.
2346
413d4689
SM
23472012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2348
7db1bda8
SM
2349 * emacs-lisp/advice.el: Remove support for freezing.
2350 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2351 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2352 Remove support for `freeze'.
2353
413d4689
SM
2354 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2355 override the default.
2356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2357 cl--dotimes/dolist.
2358 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2359 `cl' is loaded.
2360
2361 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2362 from add-advice.
2363 (advice--strip-macro): New function.
2364 (advice--defalias-fset): Use them to handle macros.
2365 (advice-add): Use them.
2366 (advice-member-p): Correctly handle macros.
2367
f178c32d
DG
23682012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2369
7db1bda8
SM
2370 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2371 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2372
f78ee6af 23732012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2374
2375 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2376
f78ee6af 23772012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2378
2379 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2380 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2381 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2382
f78ee6af 23832012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2384
2385 Fix end-of-defun misbehavior.
2386 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2387 python-beginning-of-defun-function. Handle nested defuns
2388 correctly.
2389 (python-nav-end-of-defun): Rename from
2390 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2391 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2392 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2393 parent defuns as soon as possible.
2394
f78ee6af 23952012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2396
2397 * progmodes/flymake.el (flymake-error-bitmap)
2398 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2399 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2400
f78ee6af 24012012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2402
2403 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2404 backward, always stop at indentation. Reverts the change from
2405 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2406
f78ee6af 24072012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2408
a1d3e07e
GM
2409 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2410 Add ibuffer-filter-by-derived-mode.
2411
84acf328
GM
2412 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2413 the same name shadowing each other.
2414
38785e75
GM
2415 * window.el (with-temp-buffer-window): Doc tweak.
2416
57fc0fee
GM
2417 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2418
6ba6a3e5
GM
2419 * help.el (temp-buffer-max-height):
2420 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2421 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2422
231d8498
SM
24232012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/nadvice.el: New package.
2426 * subr.el (special-form-p): New function.
2427 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2428 (elp-all-instrumented-list): Remove var.
2429 (elp-not-profilable): Remove elp-wrapper.
2430 (elp-profilable-p): Use autoloadp and special-form-p.
2431 (elp--advice-name): New const.
2432 (elp-instrument-function): Use advice-add.
2433 (elp--instrumented-p): New predicate.
2434 (elp-restore-function): Use advice-remove.
2435 (elp-restore-all, elp-reset-all): Use mapatoms.
2436 (elp-set-master): Use elp--instrumented-p.
2437 (elp--make-wrapper): Rename from elp-wrapper, return a function
2438 suitable for advice-add. Use cl-inf.
2439 (elp-results): Use mapatoms+elp--instrumented-p.
2440 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2441 (debug-function-list): Remove var.
2442 (debug): Rename arg, and then let-bind it explicitly inside.
2443 (debugger-setup-buffer): Rename arg.
2444 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2445 (debugger-frame-number): Adjust to new debug-on-entry setup.
2446 (debug--implement-debug-on-entry): Rename from
2447 implement-debug-on-entry, add argument.
2448 (debugger-special-form-p): Remove, use special-form-p instead.
2449 (debug-on-entry): Use advice-add.
2450 (debug--function-list): New function.
2451 (cancel-debug-on-entry): Use it, along with advice-remove.
2452 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2453 (debugger-list-functions): Use debug--function-list instead of
2454 debug-function-list.
2455 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2456 (ad-special-form-p): Remove, use special-form-p instead.
2457 (ad-set-advice-info): Use add-function and remove-function.
2458 (ad--defalias-fset): Adjust accordingly.
2459
19e09879
GM
24602012-11-10 Glenn Morris <rgm@gnu.org>
2461
714cebd1
GM
2462 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2463 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2464 (report-emacs-bug-create-existing-bugs-buffer)
2465 (report-emacs-bug-parse-query-results)
2466 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2467
bf67dafa
GM
2468 * term.el (term-default-fg-color, term-default-bg-color):
2469 Make obsolete, rather than just saying "deprecated" in the doc.
2470
19e09879
GM
2471 * term.el (term): Rename from `term-face'.
2472 (term-current-face, ansi-term-color-vector)
2473 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2474 Update all users.
2475
6baf66d5 24762012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2477
2478 * server.el (server-create-window-system-frame): Handle Nextstep
2479 specially (Bug#12780).
2480
6baf66d5 24812012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2482
2483 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2484 Unautoload, and make obsolete. (Bug#7449)
2485
6baf66d5 24862012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2487
2488 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2489 rename from diff-remove-trailing-whitespace (Bug#12831).
2490
6baf66d5 24912012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2492
2493 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2494 miscompilation of trace.el.
2495
6baf66d5 24962012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2497
2498 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2499
6baf66d5 25002012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2501
2502 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2503 (bug#12812).
2504
6baf66d5 25052012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2506
2507 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2508 a defcustom with an appropriate :set function.
2509 (minibuffer-default--in-prompt-regexps): New function.
2510
6baf66d5 25112012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2512
031b2ea7
GM
2513 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2514 (define-modify-macro): Doc fixes.
2515
2ee1d59f
GM
2516 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2517 (gv-define-simple-setter): Update doc of `fix-return'.
2518
6baf66d5 25192012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2520
b715ed44
SM
2521 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2522 twice when `fix-return' is set (bug#12813).
2523
d57c286e
SM
2524 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2525 gv-define-simple-setter (bug#12812).
2526
c9cac599
SM
2527 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2528 (bug#12756).
2529
6baf66d5 25302012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2531
2532 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2533
5593ed90
GM
2534 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2535 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2536 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2537 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2538
2539 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2540
05a859c1
LL
25412012-11-10 Leo Liu <sdl.web@gmail.com>
2542
2543 * ido.el (ido-set-matches-1): Improve flex matching performance by
2544 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2545
32e5c58c
SM
25462012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2549 (ad--defalias-fset): New function.
2550 (ad-safe-fset): Remove.
2551 (ad-make-freeze-definition): Use cl-letf*.
2552
f5925cd9
SM
25532012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2554
da03ef8a
SM
2555 * subr.el (dolist): Don't bind VAR in RESULT.
2556
6858633a
SM
2557 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2558 (fset, documentation): Don't save real def since we don't advise.
2559 (ad-do-advised-functions): Remove problematic `result-form'.
2560 (ad-safe-fset): `ad-real-fset' => `fset'.
2561 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2562 uses CL's dolist internally.
2563 (ad-arglist): Remove unused arg `name'.
2564 (ad-docstring, ad-make-advised-docstring):
2565 `ad-real-documentation' => `documentation'.
2566 (warning-suppress-types): Declare.
2567 (ad-set-arguments): Simple CSE.
2568 (ad-recover-normality): Sanity check.
2569
f5925cd9
SM
2570 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2571 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2572
93a66b3a
VB
25732012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2574
2575 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2576 `ses-cell'. This means that the same mapping is done for all SES
2577 sheets. That is good enough for cells with standard A1 names, but
2578 not for named cell. So a hash map is added for the latter.
2579 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2580 (ses-sym-rowcol): Use hashmap for named cell.
2581 (ses-is-cell-sym-p): New defun.
2582 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2583 (ses-create-cell-variable): Add cell to hashmap when name is not
2584 A1-like.
93a66b3a
VB
2585 (ses-rename-cell): Check that cell new name is not already in
2586 spreadsheet with the use of ses-is-cell-sym-p
2587 (ses-rename-cell): Use hash map for named cells, but accept also
2588 renaming back to A1-like.
2589
67dd8ad1
SM
25902012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2591
57618ecf
SM
2592 * emacs-lisp/advice.el: Use new dynamic docstrings.
2593 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2594 Use dynamic-docstring-function instead of ad-advice-info.
2595 (ad--make-advised-docstring): New function extracted from
2596 ad-make-advised-docstring.
2597 (ad-make-advised-docstring): Use it.
2598 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2599 from sql-help.
2600 (sql-help): Use it with dynamic-docstring-function.
2601
67dd8ad1
SM
2602 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2603
be883b34
SM
26042012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2605
d41706aa
SM
2606 * files.el (hack-one-local-variable--obsolete): New function.
2607 (hack-one-local-variable): Use it for obsolete settings.
2608
85e55412
SM
2609 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2610 the new name.
2611
be883b34
SM
2612 * progmodes/js.el (js--filling-paragraph): New var.
2613 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2614 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2615 less sneaky.
2616
cabc040a
JD
26172012-11-08 Julien Danjou <julien@danjou.info>
2618
2619 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2620 `auto-mode-alist' (Bug#12835).
2621
d14bb752
SM
26222012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2623
79b3e376
SM
2624 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2625 (perl--prettify-symbols-alist): New const.
2626 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2627 New functions.
2628 (perl-font-lock-keywords-2): Use them.
2629 (perl-electric-noindent-p): New function.
2630 (perl-mode): Use it to set up electric-indent-mode.
2631 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2632 (perl-mode-map): Remove bindings for them.
2633 (perl-imenu-generic-expression, perl-outline-level):
2634 Match functions&packages in column>0.
2635
3b11e6ac
SM
2636 * env.el (env--substitute-vars-regexp): New const.
2637 (substitute-env-vars): Use it. Add `only-defined' arg.
2638 * net/tramp.el (tramp-replace-environment-variables): Use it.
2639
784c1a7b
SM
2640 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2641 Byte-compile *before* eval in eval-and-compile.
2642 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2643 (byte-compile-file-form-autoload): Don't hide actual definition.
2644 (byte-compile-maybe-guarded): Accept `functionp' as well.
2645
d14bb752
SM
2646 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2647
499a0f7a
MA
26482012-11-07 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * notifications.el (notifications-get-server-information-method):
2651 New defconst.
2652 (notifications-get-capabilities): Fix docstring.
2653 (notifications-get-server-information): New defun.
2654
f0704a9a
AM
26552012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2656
2657 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2658 readability.
2659
b159a1fd
AM
2660 * textmodes/ispell.el: Experimental support for support debugging.
2661 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2662 buffer for ispell.
2663 (ispell-print-if-debug): New function to print stuff to
2664 `ispell-debug-buffer' if debugging is enabled.
2665 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2666 show some debugging info.
2667 (ispell-buffer-with-debug): New function that creates a debugging
2668 buffer and calls `ispell-buffer' with debugging enabled.
2669
056cb3a1
AM
2670 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2671 comment in autoconf mode. (Bug#12768)
2672
8e6a67b7
DA
26732012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2674
2675 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2676 frame-first-window, frame-root-window, frame-selected-window,
2677 minibuffer-selected-window, minibuffer-window,
2678 window-absolute-pixel-edges, window-at, window-body-height,
2679 window-body-width, window-display-table, window-combination-limit,
2680 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2681 window-inside-edges, window-inside-pixel-edges, window-left-child,
2682 window-left-column, window-margins, window-next-buffers,
2683 window-next-sibling, window-new-normal, window-new-total,
2684 window-normal-size, window-parameter, window-parameters, window-parent,
2685 window-pixel-edges, window-point, window-prev-buffers,
2686 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2687 window-start, window-text-height, window-top-child, window-top-line,
2688 window-total-height, window-total-width and window-use-time to the list
2689 of functions without side-effects.
2690 (toplevel): Add window-valid-p to the list of error-free functions
2691 without side-effects.
2692
53fc914f
AM
26932012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2694
f5925cd9
SM
2695 * textmodes/ispell.el (ispell-program-name):
2696 Update spellchecker parameters when customized.
53fc914f 2697
9749e2b0
GM
26982012-11-04 Glenn Morris <rgm@gnu.org>
2699
2700 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2701
2cbafa56
CY
27022012-11-04 Chong Yidong <cyd@gnu.org>
2703
2704 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2705 same-window-* variables.
2706
85178ca1
JL
27072012-11-04 Juri Linkov <juri@jurta.org>
2708
2709 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2710 (isearch-describe-key, isearch-describe-mode): Use a display
2711 action instead of binding same-window-* variables (Bug#10040).
2712
5c677d44
GM
27132012-11-03 Glenn Morris <rgm@gnu.org>
2714
49138400
GM
2715 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2716 Rename handler properties back from cl-- to cl-. (Bug#12788)
2717
5c677d44
GM
2718 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2719
1d4341f9
EZ
27202012-11-03 Eli Zaretskii <eliz@gnu.org>
2721
2722 * term/pc-win.el: Don't load term/internal from here.
2723
2724 * loadup.el: Load term/internal from here.
2725
12fd5ee1
FEG
27262012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2727
2728 * progmodes/python.el (inferior-python-mode): Fix hang in
2729 jit-lock (Bug#12645).
2730
43bcfda6
MR
27312012-11-03 Martin Rudalics <rudalics@gmx.at>
2732
2733 * window.el (switch-to-visible-buffer)
2734 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2735
376a8e83
GM
27362012-11-03 Glenn Morris <rgm@gnu.org>
2737
2738 * emacs-lisp/cl-lib.el (cl--random-time):
2739 Rename from cl-random-time. (Bug#12773)
2740 (cl--gensym-counter, cl--random-state): Update callers.
2741 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2742
0f7b074f
CY
27432012-11-03 Chong Yidong <cyd@gnu.org>
2744
2745 * cus-start.el: Make cursor-type customizable (Bug#11633).
2746
3a6851d9
GM
27472012-11-02 Glenn Morris <rgm@gnu.org>
2748
00a3b041
GM
2749 * filecache.el: No need to load find-lisp when compiling.
2750 (find-lisp-find-files): Autoload it.
2751 (file-cache-add-directory-recursively): Don't require find-lisp.
2752
11fef14a
GM
2753 * image.el (image-type-from-file-name): Trivial simplification.
2754
3a6851d9
GM
2755 * emacs-lisp/bytecomp.el (byte-compile-eval):
2756 Decouple "noruntime" and "cl-functions" warnings.
2757
b4b096e4
SB
27582012-11-01 Stephen Berman <stephen.berman@gmx.net>
2759
2760 * play/gomoku.el (gomoku-display-statistics): Update mode line
2761 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2762
218e997a
MR
27632012-10-31 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (quit-restore-window): If the window has been
2766 created on an existing frame and ended up as the sole window on
2767 that frame, do not delete it (Bug#12764).
2768
b08b6da7
SM
27692012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2770
3618df45
SM
2771 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2772 Rename from sh--inside-arithmetic-expression, handle more cases
2773 (bug#11263).
2774
b08b6da7
SM
2775 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2776 (sh-font-lock-open-heredoc): Use it (bug#12770).
2777
4ddedf94
GM
27782012-10-30 Glenn Morris <rgm@gnu.org>
2779
f43a5263
GM
2780 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2781
4ddedf94
GM
2782 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2783
748b0d84
CY
27842012-10-29 Chong Yidong <cyd@gnu.org>
2785
b5dd9a77
CY
2786 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2787 function key is stored in a keyboard macro (Bug#4894).
2788
748b0d84
CY
2789 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2790
e07fcbdc
SM
27912012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2792
d7f9cc85
SM
2793 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2794 header comments".
2795 (diff-unified->context, diff-context->unified)
2796 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2797
c606253c
SM
2798 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2799
e07fcbdc
SM
2800 * files.el (find-alternate-file): Only ask one question (bug#12487).
2801
894b9dd9
CY
28022012-10-29 Chong Yidong <cyd@gnu.org>
2803
1dc2755a
CY
2804 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2805 Suggested by Dan Nicolaescu (Bug#6326).
2806
329c48d8
CY
2807 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2808
2230fa5b 2809 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2810
e84cad57
CY
2811 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2812
1913c5f5
CY
2813 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2814
894b9dd9
CY
2815 * face-remap.el (face-remap-add-relative): Handle the case where a
2816 face-remapping-alist entry is a cons cell (Bug#12762).
2817
329c48d8
CY
28182012-10-29 Kevin Ryde <user42@zip.com.au>
2819
2820 * woman.el (woman-parse-numeric-value): Handle picas correctly
2821 (Bug#12639).
2822
a0ccbcbd
GM
28232012-10-29 Glenn Morris <rgm@gnu.org>
2824
2825 * emacs-lisp/cl.el (defsetf): Doc fix.
2826
b3871e59
SM
28272012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2830 syntax to the matching opener, if any (bug#12547).
2831 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2832 matching open as a "case-(".
2833 (sh-smie-rc-grammar): Add a corresponding rule for it.
2834
cd44022c
DH
28352012-10-28 Daniel Hackney <dan@haxney.org>
2836
2837 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2838 "PKGNAME-autoloads.el" in case we created it.
2839
70edffb1
SM
28402012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2841
86957a0c
SM
2842 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2843 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2844 (completion--twq-all): Disable too-strict assertions.
86957a0c 2845
70edffb1
SM
2846 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2847
d069271c
EZ
28482012-10-27 Eli Zaretskii <eliz@gnu.org>
2849
2850 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2851 text to match the real keybindings.
2852
e2f022a3
JL
28532012-10-27 Juri Linkov <juri@jurta.org>
2854
2855 * wdired.el (wdired-keep-marker-rename): New defcustom.
2856 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2857 (Bug#11795)
2858
2859 * dired.el (dired-keep-marker-rename): Add reference to
2860 `wdired-keep-marker-rename' in the docstring.
2861 Add default character value ?R to display initially in
2862 Customization UI instead of ?@.
2863
df171c23
MR
28642012-10-27 Martin Rudalics <rudalics@gmx.at>
2865
2866 * window.el (display-buffer): In doc-string describe
2867 window-height and window-width alist entries.
2868
2869 * time.el (display-time-world): Restore fit-window-to-buffer
2870 behavior.
2871
05b621a6
CY
28722012-10-27 Chong Yidong <cyd@gnu.org>
2873
2874 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2875
55f197b2
J
28762012-10-26 Jambunathan K <kjambunathan@gmail.com>
2877
2878 * minibuffer.el (completion-category-overrides): New completion
2879 category `bookmark' (bug#11131).
2880
372212df
SM
28812012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2882
150f809c
SM
2883 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2884 Silence bogus compiler warnings for ad-do-it.
2885
372212df
SM
2886 * bookmark.el (bookmark-completing-read): Set the completion category
2887 to `bookmark' (bug#11131).
2888
c5772569
B
28892012-10-26 Bastien <bzg@altern.org>
2890 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * face-remap.el: Use lexical-binding.
2893 (text-scale-adjust): Improve docstring. Use itself for the temporary
2894 overlay-map bindings, so as to repeat the "Use..." message each time.
2895
a2be0357
SM
28962012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2897
63314e57
SM
2898 * emacs-lisp/macroexp.el (macroexp--expand-all):
2899 Obey byte-compile-warning-enabled-p (bug#12486).
2900
a2be0357
SM
2901 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2902 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2903
8c7727c3
MR
29042012-10-26 Martin Rudalics <rudalics@gmx.at>
2905
2906 * mouse.el (mouse-drag-line): Move last form into preceding when
2907 clause (Bug#12731).
2908
2909 * help.el (resize-temp-buffer-window): Fix doc-string.
2910
3f2a848d
DE
29112012-10-25 David Engster <deng@randomsample.de>
2912
2913 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2914 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2915
2916 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2917 always loaded. Require `speedbar' unconditionally.
2918
a7723be6
SM
29192012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2920
aaabfc8b
SM
2921 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2922
414a8595
SM
2923 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2924
fb5b9475
SM
2925 * net/ldap.el (ldap-search-internal): The official ldif format starts
2926 with a "version: 1" header (bug#12724).
2927
a7723be6
SM
2928 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2929 (bug#12721).
2930
a05cb6e3
GM
29312012-10-25 Glenn Morris <rgm@gnu.org>
2932
2933 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2934
3c92de70
SM
29352012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * minibuffer.el (minibuffer-force-complete): Use one more marker
2938 for the temporary-overlay-map command (bug#12619).
2939
a4b6d7c6
CY
29402012-10-24 Chong Yidong <cyd@gnu.org>
2941
2942 * time.el (display-time-world-mode): Derive from special-mode.
2943 (display-time-world): Use display-buffer (Bug#12708).
2944 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2945 (display-time-world-display): Wrap the final delete-char inside
2946 inhibit-read-only.
a4b6d7c6 2947
75e8f9d2
CY
29482012-10-24 Chong Yidong <cyd@gnu.org>
2949
cd996018
CY
2950 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2951 Doc fix.
2952
75e8f9d2
CY
2953 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2954
d92df117
SM
29552012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * minibuffer.el (completion--all-sorted-completions-location): New var.
2958 (completion--cache-all-sorted-completions)
2959 (completion--flush-all-sorted-completions): Use it.
2960 (completion-in-region, completion-in-region--postch)
2961 (completion-at-point, completion-help-at-point): Use markers in
2962 completion-in-region--data (bug#12619).
2963
9c3e39f3
SM
29642012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2965
c79825bd
SM
2966 * progmodes/compile.el (compilation-start): Try to handle common
2967 quoting of `cd' argument (bug#12640).
2968
9c3e39f3
SM
2969 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2970 (bug#12671).
2971
a6709bc7
GM
29722012-10-23 Glenn Morris <rgm@gnu.org>
2973
2974 * progmodes/gud.el (gud-menu-map):
2975 Check gdb-active-process is bound. (Bug#12358)
2976
d1069532
SM
29772012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2978
d20d69c0
SM
2979 * repeat.el (repeat): Set real-this-command (bug#12232).
2980
d1069532
SM
2981 * htmlfontify.el (hfy-post-html-hook):
2982 * filesets.el (filesets-cache-fill-content-hook):
2983 * arc-mode.el (archive-extract-hook):
2984 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2985 * net/rcirc.el (rcirc-sentinel-functions)
2986 (rcirc-receive-message-functions, rcirc-activity-functions)
2987 (rcirc-print-functions):
2988 * net/dbus.el (dbus-event-error-functions):
2989 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2990 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2991 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2992 * term/sun.el (sun-raw-prefix-hooks):
2993 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2994
f7eac6d8
MA
29952012-10-23 Michael Albinus <michael.albinus@gmx.de>
2996
d1069532
SM
2997 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2998 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2999 (tramp-smb-wait-for-output): Add timeout to
3000 `tramp-accept-process-output' calls.
3001
608d9d7c
CY
30022012-10-23 Chong Yidong <cyd@gnu.org>
3003
49238e7f
CY
3004 * faces.el (font-list-limit): Define as an obsolete variable.
3005
3006 * startup.el (command-line):
3007 * cus-start.el: Don't refer to font-list-limit.
3008
608d9d7c
CY
3009 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3010
4ff5b1b2
SM
30112012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * subr.el (internal-temp-output-buffer-show): Rename from
3014 temp-output-buffer-show, since previously compiled files expect this name.
3015
ea1d4aac
GM
30162012-10-23 Glenn Morris <rgm@gnu.org>
3017
3018 * image.el (image-type-from-file-name): If multiple types match,
3019 return the first one that is supported. (Bug#9045)
3020
eda82a31
GM
30212012-10-22 Glenn Morris <rgm@gnu.org>
3022
3023 * image.el (imagemagick-enabled-types): Doc fix.
3024
4f020bec
TA
30252012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3026
3027 * progmodes/which-func.el (which-func-current): The hash-table may have
3028 an explicit nil (bug#12338).
3029
c77d37e2
SM
30302012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * electric.el (electric-pair-delete-selection-self-insert-function):
3033 Rename to electric-pair-will-use-region, return a boolean.
3034 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3035
3036 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3037 (delete-selection-pre-hook): Use use-region-p.
3038 (delete-selection-self-insert-function): Remove.
3039 (self-insert-command): Obey self-insert-uses-region-functions.
3040 (self-insert-iso): Revert to previous setting, since we don't actually
3041 know what that command does.
3042 (delete-selection-self-insert-hooks): Remove.
3043
b1d39ccc
SL
30442012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3045
3046 * delsel.el (delete-selection-helper): New function, extracted from
3047 delete-selection-pre-hook.
3048 (delete-selection-pre-hook): Use it.
3049 (delete-selection-self-insert-function): New function.
3050 (delete-selection-self-insert-hooks): New hook.
3051 (self-insert-command, self-insert-iso): Use it.
3052 * electric.el (electric-pair-syntax): New function, extracted from
3053 electric-pair-post-self-insert-function.
3054 (electric-pair-post-self-insert-function): Use it.
3055 (electric-pair-delete-selection-self-insert-function): New function.
3056 (electric-pair-mode): Require delsel and setup
3057 delete-selection-self-insert-hooks (bug#11520).
3058
045ef729
CY
30592012-10-20 Chong Yidong <cyd@gnu.org>
3060
4c5d08a8
CY
3061 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3062 no changes to show (Bug#12586).
3063
045ef729
CY
3064 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3065 list explicitly (Bug#12571).
3066
3503c798 30672012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3068
b1d39ccc
SL
3069 * progmodes/flymake.el (flymake-create-temp-inplace):
3070 Use file-truename.
79e1997a 3071
2068905b
EZ
30722012-10-20 Eli Zaretskii <eliz@gnu.org>
3073
3074 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3075
4c9e9550
JB
30762012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3077
3078 * calc/calc-units.el (math-extract-units): Properly extract powers
3079 of units.
3080
1a6e7e38
DC
30812012-10-20 Daniel Colascione <dancol@dancol.org>
3082
3083 * frame.el (make-frame): Set x-display-name as we used to in order
3084 to unbreak creating an X11 frame from an Emacs daemon started
3085 without a display.
3086
8e808318
SM
30872012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3090 the same completion-field (bug#12221).
8e808318 3091
fb0104da
MR
30922012-10-19 Martin Rudalics <rudalics@gmx.at>
3093
3094 * emacs-lisp/debug.el (debug): Record height of debugger window
3095 also when debugger will be back (Bug#8789).
3096
8c27235e
CY
30972012-10-18 Chong Yidong <cyd@gnu.org>
3098
3099 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3100 Convert to defcustom.
3101 (gdb-get-source-file): Don't bind pop-up-windows.
3102
3103 * progmodes/gud.el (gud-display-line): Don't specially re-use
3104 other frames for the gdb-mi case (Bug#12648).
3105
90eacf99
SM
31062012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3107
aaf0c300
SM
3108 * emacs-lisp/advice.el: Clean up commentary a bit.
3109 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3110 (byte-code-function-p): Never redefine.
3111
90eacf99
SM
3112 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3113
281c9d2b
GM
31142012-10-18 Glenn Morris <rgm@gnu.org>
3115
40714e3d
GM
3116 * dired.el (dired-sort-toggle): Some ls implementations only allow
3117 a single option string. (Bug#12666)
3118
281c9d2b
GM
3119 * minibuffer.el (completion-cycle-threshold): Doc fix.
3120
b278604e
KH
31212012-10-17 Kenichi Handa <handa@gnu.org>
3122
90eacf99
SM
3123 * international/mule.el (set-keyboard-coding-system):
3124 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3125 Supply TERMINAL arg to set-input-meta-mode.
3126
df171c23 31272012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3128
3129 * wdired.el (wdired-old-marks): New variable.
3130 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3131 (wdired-do-renames): Move point with renamed file and don't lose
3132 mark status (Bug#11795).
3133
e5a94ec4
JL
31342012-10-16 Juri Linkov <juri@jurta.org>
3135
3136 * replace.el (query-replace-help): Mention multi-buffer replacement
3137 keys in the Help message. (Bug#12655)
3138
d18a0d24
CY
31392012-10-15 Chong Yidong <cyd@gnu.org>
3140
3141 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3142
8111f5e6
EZ
31432012-10-14 Eli Zaretskii <eliz@gnu.org>
3144
7b9abf24
EZ
3145 * window.el (display-buffer): Doc fix.
3146
8111f5e6
EZ
3147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3148 Adjust the msft regexp to the output of Studio 2010, and move msft
3149 before edg-1. See the discussion on emacs-devel,
3150 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3151 for the details.
3152
5046ef67
SM
31532012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3154
9760c73c
SM
3155 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3156 (oset): Move uses of object-class-fast macro after its definition.
3157
5046ef67
SM
3158 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3159
0d11ff1c
CY
31602012-10-13 Chong Yidong <cyd@gnu.org>
3161
3162 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3163 enabled, re-enable it (Bug#11963).
3164
88ded8ac
MR
31652012-10-13 Martin Rudalics <rudalics@gmx.at>
3166
3167 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3168 non-nil, restore window configuration (Bug#12623).
3169
bd0ffffd
SM
31702012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3171
06485aa8
SM
3172 * help-fns.el (describe-variable, describe-function-1):
3173 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3174
bd0ffffd
SM
3175 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3176
3a989246
GM
31772012-10-12 Glenn Morris <rgm@gnu.org>
3178
3179 * mail/rmailsum.el (rmail-header-summary):
3180 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3181
55cd00c8
FEG
31822012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3183
bd0ffffd
SM
3184 * progmodes/python.el (python-mode-map):
3185 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3186 (python-nav--up-list): Fix behavior for blocks on the same level.
3187
ac9fc2c7
SM
31882012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3189
d8cc4c00 3190 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3191
5253a5fd
SM
3192 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3193 changes to the format of load-history.
3194
ac9fc2c7
SM
3195 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3196 completion-ignore-case in case that var is buffer-local (bug#12615).
3197
cde44a77
KH
31982012-10-11 Kenichi Handa <handa@gnu.org>
3199
3200 * international/eucjp-ms.el: Re-generated.
3201
4ef4a10d
KH
32022012-10-10 Kenichi Handa <handa@gnu.org>
3203
3204 * select.el (xselect--encode-string): If a coding is specified for
3205 selection, and that is compatible with COMPOUND_TEXT, use it.
3206
9d7f027b
MR
32072012-10-10 Martin Rudalics <rudalics@gmx.at>
3208
3209 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3210 (switch-to-buffer):
3211 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3212
238f3a58
SM
32132012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3216 Don't document nil as a useful value (bug#12583).
3217
1d51f99c
MA
32182012-10-09 Michael Albinus <michael.albinus@gmx.de>
3219
238f3a58
SM
3220 * net/tramp.el (tramp-debug-message):
3221 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3222 (with-tramp-progress-reporter): Rename from
3223 `tramp-with-progress-reporter'.
238f3a58
SM
3224 (with-tramp-file-property, with-tramp-connection-property):
3225 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3226 `with-connection-property', respectively.
3227
3228 * net/tramp-cache.el: Remove `with-file-property' and
3229 `with-connection-property'.
3230
3231 * net/tramp.el:
3232 * net/tramp-gvfs.el:
3233 * net/tramp-sh.el:
3234 * net/tramp-smb.el: Adapt callees.
3235
3236 * net/trampver.el: Update release number.
3237
26b77251
GM
32382012-10-09 Glenn Morris <rgm@gnu.org>
3239
9a5f296f
GM
3240 * w32-fns.el (set-message-beep):
3241 * term/w32-win.el (set-message-beep): Update declarations.
3242
94c66ce5
SM
32432012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3244
10766e9e
SM
3245 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3246 (mode-line-widen, mode-line-input-method-map)
3247 (mode-line-coding-system-map, mode-line-remote)
3248 (mode-line-unbury-buffer, mode-line-bury-buffer)
3249 (mode-line-next-buffer, mode-line-previous-buffer):
3250 Replace save-selected-window+select-window => with-selected-window.
3251
f754db08
SM
3252 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3253 * progmodes/cc-vars.el (bq-process): Remove, unused.
3254
94c66ce5
SM
3255 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3256
a4ff7fe1
FEG
32572012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3258
3259 Implemented `backward-up-list'-like navigation.
3260 * progmodes/python.el (python-nav-up-list)
3261 (python-nav-backward-up-list): New functions.
3262 (python-mode-map): Define substitute key for backward-up-list to
3263 python-nav-backward-up-list.
3264
24517d82
FEG
32652012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3266
3267 * progmodes/python.el (python-fill-paragraph): Rename from
3268 python-fill-paragraph-function. Fixed fill-paragraph for
3269 decorators (Bug#12605).
3270
51867ae2
FEG
32712012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3272
3273 * progmodes/python.el (python-shell-output-filter): Handle extra
3274 carriage return in OSX (Bug#12409).
3275
a5b773c4
FEG
32762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3277
3278 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3279 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3280 (python-syntax-propertize-function): Use it.
3281 (python-shell-output-syntax-table): New var.
3282 (inferior-python-mode): Prevent unbalanced parens/quotes from
3283 previous output mess with current input context.
3284
13373538
JB
32852012-10-08 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3288 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3289
775a132d
MA
32902012-10-08 Michael Albinus <michael.albinus@gmx.de>
3291
3292 * ffap.el (ffap-replace-file-component): Support Tramp file name
3293 syntax, not only ange-ftp's one.
3294
3ab44929
GM
32952012-10-08 Glenn Morris <rgm@gnu.org>
3296
57f1dee4
GM
3297 * cus-start.el (message-log-max): Set :version.
3298
3ab44929
GM
3299 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3300
6a088630
MR
33012012-10-08 Martin Rudalics <rudalics@gmx.at>
3302
3303 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3304 the minibuffer window (Bug#10851).
3305
8dbce54c
FEG
33062012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3307
3308 Enhancements on forward-sexp movement.
3309 * progmodes/python.el (python-nav-beginning-of-statement)
3310 (python-nav-end-of-statement): Return point-marker.
3311 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3312 (python-info-current-symbol)
3313 (python-info-statement-starts-block-p): Rename from
3314 python-info-beginning-of-block-p.
3315 (python-info-statement-ends-block-p): Rename from
3316 python-info-end-of-block-p.
3317 (python-info-beginning-of-statement-p)
3318 (python-info-end-of-statement-p)
3319 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3320 New functions.
3321
5acd2b3e
SM
33222012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3325 frame-selected-windows.
3326
e08348a0
DC
33272012-10-08 Daniel Colascione <dancol@dancol.org>
3328
3329 * battery.el (battery-status-function): Check for
3330 w32-battery-status itself, not system-time windows-nt.
3331
3332 * frame.el: Require cl-lib.
3333 (display-format-alist): New variable mapping frame types to
3334 functions that initialize them.
3335 (window-system-for-display): New function: interprets
3336 display-format-alist.
3337 (make-frame-on-display): Remove existing display-selection logic
3338 and just forward to make-frame, which will now DTRT.
3339 (make-frame): Restructure to use window-system-for-display to
3340 figure out how to create a frame on a given display.
3341 (display-mouse-p): Look for frame-type w32, not a particular
3342 system-type.
3343
3344 * loadup.el: Load w32 lisp code when we have the w32 feature.
3345
3346 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3347 system-type windows-nt.
3348
3349 * server.el (server-create-window-system-frame): Look for window
3350 type.
3351 (server-proces-filter): Only force a window system when windows-nt
3352 _and_ w32. Explain why.
3353
3354 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3355 of window systems we configure for the mode.
3356
3357 * startup.el (command-line): Mark window system is initialized
3358 after we've done it.
3359
3360 * common-win.el (x-select-text): Look for w32, not windows-nt.
3361
3362 * ns-win.el: Require cl-lib. Add ourselves to
3363 display-format-alist.
3364 (ns-initialize-window-system): Assert we're not initialized twice.
3365
3366 * w32-win.el: Enable lexical binding; require cl-lib; add
3367 ourselves to display-format-alist.
3368 (w32-handle-dropped-file): Convert incoming dropped files from
3369 Windows paths to Cygwin ones before passing them on to the rest of
3370 Emacs.
3371 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3372 (w32-initialize-window-system): Assert we're not initialized twice.
3373
3374 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3375 (x-initialize-window-system): Assert we're not initialized twice.
3376
3377 * w32-common-fns.el: New File.
3378 (w32-version, w32-using-nt, w32-get-clipboard-data)
3379 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3380 (w32-charset-info-alist, x-last-selected, text)
3381 (x-get-selection-value, x-selection-value): Move here.
3382
3383 * w32-fns.el: Require w32-common-fns.
3384 (w32-version, w32-using-nt, w32-get-clipboard-data)
3385 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3386 (w32-charset-info-alist, x-last-selected, text)
3387 (x-get-selection-value, x-selection-value): Move to
3388 w32-common-fns.
3389
3390 * w32-vars.el:
3391 (w32-allow-system-shell, w32-system-shells): Define only in
3392 non-cygwin case.
3393
795b1482
SM
33942012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3397 (read-passwd): Remove a few more potential sources of leaks.
3398
f27c99dc
FEG
33992012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3400
3401 * progmodes/python.el (inferior-python-mode)
795b1482 3402 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3403 variables copied from parent buffer.
3404
fcacb558
JD
34052012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3406
3407 * term/ns-win.el (ns-read-file-name): Update declaration to match
3408 nsfns.m.
3409 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3410 it is set when font is acted upon.
3411
be0d5bae
FEG
34122012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3413
3414 Enhancements to indentation.
3415 * progmodes/python.el (python-indent-context): Give priority to
3416 inside-string context. Make comments indentation markers.
3417 (python-indent-region): Do not mess with strings, unless it's the
3418 enclosing set of quotes.
3419
13af0d10
SM
34202012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3421
662a9d0e
SM
3422 * window.el (internal--before-save-selected-window)
3423 (internal--after-save-selected-window): New functions extracted from
3424 save-selected-window. Make sure we return the `alist' we construct.
3425 (save-selected-window): Use them.
3426
3427 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3428 Use with-selected-window.
3429
13af0d10
SM
3430 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3431 forms that define macros (bug#12593).
3432
6aa75fb6
KH
34332012-10-07 Kenichi Handa <handa@gnu.org>
3434
13af0d10
SM
3435 * international/mule-conf.el (compound-text-with-extensions):
3436 Add :mime-charset property as x-ctext.
6aa75fb6 3437
78d876b9
SM
34382012-10-07 Stefan Merten <smerten@oekonux.de>
3439
3440 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3441 (rst-indent-literal-normal, rst-indent-literal-minimized)
3442 (rst-indent-comment): Correct :version tag.
557337e9 3443 (rst-official-cvs-rev): Correct version string.
78d876b9 3444
99a1e701
GM
34452012-10-07 Glenn Morris <rgm@gnu.org>
3446
3447 * mail/rmailmm.el (rmail-mime-process-multipart):
3448 Do not confuse a multipart message with an epilogue
3449 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3450
08f18c3d
FEG
34512012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3452
3453 Fix shell output retrieval and comint-prompt-regexp init.
3454 * progmodes/python.el (inferior-python-mode):
3455 (python-shell-make-comint): Fix initialization of
3456 comint-prompt-regexp from copied file local variables.
3457 (python-shell-fetched-lines): Remove var.
3458 (python-shell-output-filter-in-progress): Rename from
3459 python-shell-fetch-lines-in-progress.
3460 (python-shell-output-filter-buffer): Rename from
3461 python-shell-fetch-lines-string.
3462 (python-shell-fetch-lines-filter): Delete function.
3463 (python-shell-output-filter): New function.
3464 (python-shell-send-string-no-output): Use them.
3465
82ed3ab4
GM
34662012-10-07 Glenn Morris <rgm@gnu.org>
3467
1595ecfa
GM
3468 * hi-lock.el (hi-lock-process-phrase):
3469 Try to make it less fragile. (Bug#7161)
3470
82ed3ab4
GM
3471 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3472
f1f4dba0
GM
34732012-10-06 Glenn Morris <rgm@gnu.org>
3474
addc11ed 3475 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3476 non-existent mode `help'.
3477 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3478
460042b8
GM
3479 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3480 (reftex-create-bibtex-footer): Fix custom types.
3481
67667c70
GM
3482 * progmodes/sh-script.el (sh-indent-after-continuation):
3483 Add explicit :group.
3484
18dec750
GM
3485 * textmodes/rst.el (rst-preferred-decorations)
3486 (rst-shift-basic-offset): Clarify obsolescence versions.
3487
d1a1c7e6
GM
3488 * profiler.el (profiler): Add missing group :version tag.
3489 * avoid.el (mouse-avoidance-banish-position):
3490 * proced.el (proced-renice-command):
3491 * calc/calc.el (calc-ensure-consistent-units):
3492 * calendar/icalendar.el (icalendar-import-format-uid):
3493 * net/tramp.el (tramp-save-ad-hoc-proxies):
3494 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3495 * progmodes/flymake.el (flymake-error-bitmap)
3496 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3497 * progmodes/sh-script.el (sh-indent-after-continuation):
3498 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3499 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3500 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3501 (vhdl-array-index-record-field-in-sensitivity-list)
3502 (vhdl-indent-comment-like-next-code-line):
3503 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3504 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3505 (reftex-cite-key-separator, reftex-create-bibtex-header)
3506 (reftex-create-bibtex-footer):
3507 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3508 (rst-indent-literal-normal, rst-indent-literal-minimized)
3509 (rst-indent-comment): Add missing custom :version tags.
3510
ef35abb4
GM
3511 * calendar/timeclock.el (timeclock-modeline-display):
3512 Add missing obsolete alias for renamed user option.
3513
d1aae614
GM
3514 * strokes.el (strokes-modeline-string):
3515 * emulation/crisp.el (crisp-mode-modeline-string):
3516 * eshell/esh-mode.el (eshell-status-in-modeline):
3517 Aliases to defcustoms must come before the defcustom.
3518
f1f4dba0
GM
3519 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3520 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3521 (cal-tex-cursor-week-monday): Doc fixes.
3522 (cal-tex-cursor-week2-summary): Doc fix.
3523 Rename from cal-tex-cursor-week-at-a-glance.
3524
3525 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3526 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3527
3528 * calendar/calendar.el (calendar-mode-map):
3529 Add cal-tex-cursor-week2-summary.
3530
d39109c3
SM
35312012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3532
685f87b0
SM
3533 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3534
d39109c3
SM
3535 * subr.el (read-passwd-map): New var.
3536 (read-passwd): Use `read-string' again.
3537 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3538
5694896d
J
35392012-10-06 Jambunathan K <kjambunathan@gmail.com>
3540
3541 * register.el (append-to-register, prepend-to-register):
3542 Deactivate mark, as does `copy-to-register' (bug#12389).
3543
9414dd8d
CY
35442012-10-06 Chong Yidong <cyd@gnu.org>
3545
3546 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3547
2b89bca4
KH
35482012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3549
3550 * international/characters.el: Fix simple mistake ((car chars) ->
3551 elt), delete duplicated code.
3552
d5acb99a
GM
35532012-10-06 Glenn Morris <rgm@gnu.org>
3554
3555 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3556
123ec157
JS
35572012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3558
3559 * color.el (color-hsl-to-rgb): Fix incorrect results for
3560 small and large hue values. (Bug#12559)
3561
7fa36ccb
FEG
35622012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3563
3564 Enhancements to docstring formatting when filling paragraphs.
3565 * progmodes/python.el (python-fill-docstring-style): Rename from
3566 python-fill-string-style. Added new style.
3567 (python-fill-string): Use new style. Better checks for
3568 docstrings.
3569
d8788e1e
GM
35702012-10-05 Glenn Morris <rgm@gnu.org>
3571
204f3953
GM
3572 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3573
d8788e1e
GM
3574 * color.el (color-name-to-rgb, color-rgb-to-hex)
3575 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3576 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3577 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3578 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3579
8d956cef
GM
3580 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3581
e8757f09 35822012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3583
3584 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3585 to get the correct size across symlinks.
3586
e8757f09
GM
3587 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3588
0e2ae83d
JL
35892012-10-04 Juri Linkov <juri@jurta.org>
3590
3591 * replace.el (query-replace-interactive): Declare obsolete.
3592 (query-replace-read-from): Add the last incremental search string
3593 to the list of default values accessible via M-n.
3594 (map-query-replace-regexp): Use `read-regexp'.
3595 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3596 (map-query-replace-regexp, replace-string, replace-regexp):
3597 Fix docstrings to replace mentions of `query-replace-interactive'
3598 with alternatives. (Bug#12526)
3599
93cacb6d
JL
36002012-10-04 Juri Linkov <juri@jurta.org>
3601
3602 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3603 (dired-pop-to-buffer): Declare obsolete.
3604 (dired-mark-pop-up): Doc fix.
3605
fc345011
FEG
36062012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3607
3608 Allow user to set docstring style for fill-paragraph.
3609 * progmodes/python.el
3610 (python-fill-comment-function, python-fill-string-function)
3611 (python-fill-decorator-function, python-fill-paren-function):
3612 Remove :safe for defcustoms.
3613 (python-fill-string-style): New defcustom
5694896d 3614 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3615 (python-fill-string): Honor python-fill-string-style settings.
3616
6bab5d8b
MR
36172012-10-04 Martin Rudalics <rudalics@gmx.at>
3618
3619 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3620 after setting its buffer (Bug#10805).
3621
a1a9f411
FEG
36222012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3623
3624 Fix cornercase for string syntax.
3625 * progmodes/python.el (python-syntax-propertize-function):
3626 Simplify and enhance the regexp for unescaped quotes. Now it also
3627 matches quotes in weird situations like the single quote in
3628 "something\"'".
3629 (python-syntax-stringify): Simplify num-quotes detecting code.
3630
05e153a6
GM
36312012-10-03 Glenn Morris <rgm@gnu.org>
3632
3633 * help-macro.el (three-step-help):
3634 Revert 2012-09-29 change. (Bug#12567)
3635
2e566ecb
MR
36362012-10-03 Martin Rudalics <rudalics@gmx.at>
3637
96ef9ccd
MR
3638 * menu-bar.el (kill-this-buffer): Don't do anything when
3639 `menu-frame' is not alive or visible (Bug#8184).
3640
2e566ecb
MR
3641 * emacs-lisp/debug.el (debug): When quitting the debugger window
3642 restore current buffer (Bug#12502).
3643
a96e1cb7
CY
36442012-10-02 Chong Yidong <cyd@gnu.org>
3645
5694896d
J
3646 * progmodes/hideif.el (hif-lookup, hif-defined):
3647 Handle semantic-c-takeover-hideif.
a96e1cb7 3648
b3ecad33
PE
36492012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3650
3651 Change sampling interval units from ms to ns.
3652 * profiler.el (profiler-sampling-interval): Change units
3653 from ms to ns, multiplying the default by 1000000 so that
3654 it remains 1 ms.
3655 (profiler-report-cpu-line-format): Give enough room for
3656 the maximum counters on 64-bit hosts.
3657 (profiler-report-render-calltree-1): Call them "CPU samples",
3658 not "Time (ms)", since they are not milliseconds now (and
3659 never really were).
3660
8cb51b66 36612012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3662
5694896d
J
3663 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3664 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3665
fd795bf4
CY
36662012-10-02 Chong Yidong <cyd@gnu.org>
3667
3668 * emacs-lisp/eieio.el: Restore Version header.
3669
fe0a74f9
SM
36702012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3671
6be9197e
SM
3672 * vc/diff-mode.el (diff--auto-refine-data): New var.
3673 (diff-hunk): Use it to delay refinement.
3674 (diff-mode): Remove overlays when we turn off font-lock.
3675
18486139
SM
3676 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3677 (table-initialize-table-fixed-width-mode)
3678 (table-set-table-fixed-width-mode): Remove functions.
3679 (table-command-list): Move initialization into declaration.
3680 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3681 (table-with-cache-buffer): Use `declare'.
3682 (table-span-cell): Simplify via CSE.
3683 (table-fixed-width-mode): Use define-minor-mode.
3684 (table-call-interactively, table-funcall, table-apply): Remove.
3685 (table-function): New function, to replace them.
3686
d83ef976
SM
3687 * bookmark.el (bookmark-search-pattern): Remove var.
3688 (bookmark-read-search-input): Remove function.
3689 (bookmark-bmenu-search): Reimplement using a minibuffer.
3690
cd386662
SM
3691 * faces.el (modeline): Remove obsolete face name.
3692
fe0a74f9
SM
3693 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3694 and give a non-nil default value.
3695 (add-change-log-entry): Simplify accordingly.
3696
9f7b98f8
DG
36972012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3698
3699 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3700 (vc-git-log-edit-toggle-amend): New function.
3701 (vc-git-log-edit-toggle-signoff): New function.
3702 (vc-git-log-edit-mode): New major mode.
3703 (vc-git-log-edit-mode-map): Keymap for it.
3704 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3705
3706 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3707 header names.
3708 (log-edit-toggle-header): New function.
3709 (log-edit-extract-headers): Accept function values in HEADERS alist.
3710
62a81506
CY
37112012-10-01 David Engster <deng@randomsample.de>
3712
3713 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3714 from symbol property and change message to be more consistent with
3715 Emacs proper.
3716 (eieio-describe-generic): Add filename for each implementation.
3717 Fix indices for generic and normal methods.
3718 (eieio-method-def, eieio-class-def): New buttons.
3719 (eieio-help-find-method-definition)
3720 (eieio-help-find-class-definition): New functions.
3721 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3722 class, constructor and method definitions.
3723
3724 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3725 information in symbol property.
3726 (scoped-class): Remove.
3727 (eieio-slot-name-index, call-next-method): Check if it is bound.
3728
37292012-10-01 Leo P. White <lpw25@cam.ac.uk>
3730
3731 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3732 (eieio-custom-mode): New major mode.
3733 (eieio-customize-object): Use it.
3734
37352012-10-01 Eric Ludlam <zappo@gnu.org>
3736
3737 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3738 specifying the expected class, and whether subclassing is allowed.
3739 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3740 (eieio-persistent-validate/fix-slot-value)
3741 (eieio-persistent-slot-type-is-class-p): New functions.
3742 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3743
3744 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3745 Stop using unused publd variable.
3746
3747 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3748 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3749 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3750 (eieio-speedbar-handle-click): Do not specify a class for the
3751 method. Fixes method invocation order problems with EDE.
3752
375e49d4
SM
37532012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3756 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3757
16ce6ccd
KF
37582012-10-01 Karl Fogel <kfogel@red-bean.com>
3759
3760 * bookmark.el (bookmark-version-control): Give tags in the
3761 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3762 (bookmark-write-file): Bind `print-circle' to `t' to allow
3763 circular custom bookmark types. (Bug#12503)
16ce6ccd 3764
19e54a4d
PE
37652012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3766
86ec63ba
PE
3767 Revert the FOLLOW-SYMLINKS change for file-attributes.
3768 * files.el (remote-file-name-inhibit-cache, after-find-file):
3769 * time.el (display-time-file-nonempty-p): Undo last change.
3770
19e54a4d
PE
3771 * profiler.el (profiler-sampling-interval): Change default back to 1.
3772 See Stefan Monnier in
3773 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3774
0478776b
FEG
37752012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3776
3777 Shell output catching a la gud-gdb.
3778 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3779 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3780 New Vars.
0478776b
FEG
3781 (python-shell-fetch-lines-filter): New function.
3782 (python-shell-send-string-no-output): Use them.
3783
c22bac2c
TM
37842012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3785
3786 * profiler.el (profiler-sampling-interval): Rename from
3787 profiler-sample-interval.
3788 (profiler-sampling-interval): Default to 10.
3789 (profiler-find-profile): New command (was profiler-find-log).
3790 (profiler-find-profile-other-window): New command.
3791 (profiler-find-profile-other-frame): New command.
3792 (profiler-profile): Introduce API-level data structure.
3793
e7a2937b
PE
37942012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3795
3796 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3797 * files.el (remote-file-name-inhibit-cache):
3798 * time.el (display-time-file-nonempty-p): Use it.
3799 * files.el (after-find-file): Don't chase links before calling
3800 file-exists-p, as file-exists-p already does the right thing.
3801
4f595e15
RA
38022012-09-30 Ralf Angeli <angeli@caeruleus.net>
3803
3804 Merge from standalone RefTeX repository.
3805
3806 The following ChangeLog entries are shortened versions of the
3807 original ones with file paths adapted. A not so strongly edited
3808 version of the original ChangeLog can be found in the commit log.
3809
3810 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3811 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3812 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3813
3814 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3815 that entries with whitespace at various places are found.
3816 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3817 Include @String definitions in the resulting bib file. Add header
3818 and footer defined in `reftex-create-bibtex-header' and
3819 `reftex-create-bibtex-footer'.
3820 (reftex-do-citation): Make it possible again to insert
3821 non-existent entries. Save match data when asking for optional
3822 arguments. Return all keys, not just the first one.
3823 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3824 all citations in the same line.
3825 (reftex-parse-bibtex-entry): Accept additional optional argument
3826 `raw' and keep quotes or braces if it is non-nil. Match fields
3827 containing hyphens besides word constituents.
3828 (reftex-get-string-refs): New function.
3829 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3830 and ask if it should be reread in case it did.
3831 (reftex-pop-to-bibtex-entry)
3832 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3833 entries with spaces or tabs in front of arguments.
3834 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3835 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3836 Match entries containing numbers and symbol constituents.
3837 (reftex-do-citation, reftex-figure-out-cite-format):
3838 Use `reftex-cite-key-separator'.
4f595e15
RA
3839
3840 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3841 (reftex-mouse-view-crossref): Explain why point is set.
3842
3843 * textmodes/reftex-global.el: Whitespace changes.
3844
3845 * textmodes/reftex-index.el: Move provide statement to end of
3846 file.
3847 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3848 (reftex-index-visit-phrases-buffer): Set marker when visiting
3849 buffer. This allows for returning from the phrases file to the
3850 file one was just editing instead of the file where the last
3851 phrases was added from.
3852 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3853 punctuation syntax as it usually is not used as string quote in
3854 TeX-related modes and may occur unmatched. The change also
3855 prevents fontification of quoted content.
3856 (reftex-index-phrases-mode): Use it.
3857
375e49d4
SM
3858 * textmodes/reftex-parse.el (reftex-parse-from-file):
3859 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3860 (reftex-parse-from-file): Use beginning of match instead of end as
3861 bound.
3862
3863 * textmodes/reftex-ref.el: Adapt creation of
3864 `reftex-<package>-<macro>' functions to new structure of
3865 `reftex-ref-style-alist'.
375e49d4
SM
3866 (reftex-reference): Use `reftex-ref-style-list' function.
3867 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3868 reference macro if `reftex-ref-macro-prompt' is non-nil.
3869 (reftex-reference): Pass refstyle to `reftex-format-special'.
3870 Determine reference macro by looking at
375e49d4
SM
3871 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3872 Use only one special format function.
4f595e15
RA
3873 (reftex-varioref-vref, reftex-fancyref-fref)
3874 (reftex-fancyref-Fref): Remove definitions. The functions are now
3875 generated from `reftex-ref-style-alist'.
3876 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3877 Remove.
3878 (reftex-format-special): New function.
3879
3880 * textmodes/reftex-sel.el
3881 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3882 of `reftex-ref-style-alist'. Remove code for testing macro type.
3883 (reftex-select-toggle-varioref)
3884 (reftex-select-toggle-fancyref): Remove.
3885 (reftex-select-cycle-ref-style-internal)
3886 (reftex-select-cycle-ref-style-forward)
3887 (reftex-select-cycle-ref-style-backward): New functions.
3888 (reftex-select-label-map): Use `v' and `V' for general cycling
3889 through reference styles. Add `p' for switching between number
3890 and page reference types.
3891
375e49d4
SM
3892 * textmodes/reftex-toc.el (reftex-re-enlarge):
3893 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3894 the horizontal version throws an error even if the parameter is 0.
3895
3896 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3897 (reftex-plug-into-AUCTeX): Doc fix.
3898 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3899 string. Adapt to new name.
3900 (reftex-ref-style-alist): Change structure so that it is not
3901 possible to use multiple different package names within a style.
375e49d4
SM
3902 Remove the symbols for symbols for macro type distinction.
3903 Add characters for macro selection.
4f595e15
RA
3904 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3905 (reftex-create-bibtex-footer): New variables.
3906 (reftex-format-ref-function): Mention third argument of special
3907 format function.
375e49d4
SM
3908 (reftex-ref-style-alist, reftex-ref-style-default-list):
3909 New variables.
4f595e15
RA
3910 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3911 to new implementation. Mark as obsolete. Add compatibility code
3912 for honoring the variable values in case they are set.
375e49d4
SM
3913 (reftex-cite-format-builtin, reftex-bibliography-commands):
3914 Add support for ConTeXt.
3915 (reftex-format-ref-function, reftex-format-cite-function):
3916 Fix custom type.
4f595e15
RA
3917 (reftex-cite-key-separator): New variable.
3918
3919 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3920 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3921 `reftex-syntax-table' because parens have to retain their paren
3922 syntax in order for parsing of BibTeX entries like @book(...) to
3923 work.
3924 (reftex-in-comment): Do not error out if `comment-start-skip' is
3925 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3926 (reftex-tie-multifile-symbols): Add doc string.
3927 Initialize `reftex-ref-style-list'.
4f595e15
RA
3928 (reftex-untie-multifile-symbols): Add doc string.
3929 (reftex-add-index-macros): Doc fix.
3930 (reftex-ref-style-activate, reftex-ref-style-toggle)
3931 (reftex-ref-style-list): New functions.
3932 (reftex-mode-menu): Use them. Adapt to new structure of
3933 `reftex-ref-style-alist'.
3934 (reftex-select-with-char): Kill the RefTeX Select buffer when
3935 done.
3936 (reftex-remove-if): New function.
3937 (reftex-erase-all-selection-and-index-buffers)
3938 (reftex-mode-menu): Reference styles are now computed from
3939 `reftex-ref-style-alist'. Fix typo.
3940 (reftex-report-bug): New function.
3941 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3942 algorithms with O(n log n). Introduce optional argument SORT (not
3943 yet used).
3944
440ba395
FEG
39452012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3946
3947 Enhancements for triple-quote string syntax.
375e49d4
SM
3948 * progmodes/python.el (python-syntax-propertize-function):
3949 Match both quote cases in one regexp.
440ba395
FEG
3950 (python-syntax-stringify): Handle matches properly.
3951
4c478e6b
JL
39522012-09-30 Juri Linkov <juri@jurta.org>
3953
3954 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3955 to nil around the call to `insert' to prevent
4c478e6b
JL
3956 directory time modification by lock_file. (Bug#2295)
3957 * tar-mode.el (tar-summarize-buffer): Idem.
3958
d80d54b2
JL
39592012-09-30 Juri Linkov <juri@jurta.org>
3960
3961 * facemenu.el (list-colors-sort): Add option "Luminance".
3962 (list-colors-sort-key): Implement it.
3963
3964 * vc/diff-mode.el (diff-refine-removed):
3965 * vc/ediff-init.el (ediff-fine-diff-A):
3966 * vc/smerge-mode.el (smerge-refined-removed):
3967 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3968
d7e642cc
JD
39692012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3970
3971 * term/ns-win.el (x-file-dialog): New function.
3972
ee41332b
JB
39732012-09-30 Juanma Barranquero <lekktu@gmail.com>
3974
3975 * ido.el (ido-max-directory-size): Default to nil; the current
3976 default is small for POSIX systems, and impractical on Windows 7
3977 now that lstat returns directory sizes for NTFS.
3978
5938d519
MR
39792012-09-30 Martin Rudalics <rudalics@gmx.at>
3980
3981 In buffer display functions handle window-height/window-width
3982 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3983 * window.el (window--display-buffer): New argument ALIST.
3984 Obey window-height and window-width alist entries.
3985 (window--try-to-split-window): New argument ALIST.
3986 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3987 changed and window-combination-limit equals `window-size'.
3988 (display-buffer-in-atom-window)
3989 (display-buffer-in-major-side-window)
3990 (display-buffer-in-side-window, display-buffer-same-window)
3991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3992 (display-buffer-pop-up-window, display-buffer-below-selected)
3993 (display-buffer-at-bottom, display-buffer-in-previous-window)
3994 (display-buffer-use-some-window): Adjust all callers of
3995 window--display-buffer and window--try-to-split-window.
3996 (fit-frame-to-buffer): New option.
3997 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3998 is non-nil.
3999 (display-buffer-in-major-side-window): Evaluate window-height /
4000 window-width alist entries.
4001
4002 * help.el (temp-buffer-resize-frames)
4003 (temp-buffer-resize-regexps): Remove options.
4004 (temp-buffer-resize-mode): Adjust doc-string.
4005 (resize-temp-buffer-window): Don't consult
4006 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4007 temp-buffer-resize-frames.
4008
375e49d4
SM
4009 * dired.el (dired-mark-pop-up):
4010 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4011 entry.
4012
c4c0c2df
CY
40132012-09-30 Chong Yidong <cyd@gnu.org>
4014
48de8b12
CY
4015 * server.el (server-host): Document the security implications.
4016 (server-auth-key): Doc fix.
4017
4018 * startup.el (initial-buffer-choice): Doc fix.
4019
4020 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4021
a97dc380
CY
4022 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4023 restriction change.
4024
d39d3c8e
CY
4025 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4026
c4c0c2df
CY
4027 * help-fns.el (help-fns--obsolete): Fix last change.
4028
98a5e33b
SM
40292012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4030
34cf6f39
SM
4031 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4032 (minor-mode-map-alist): Remove redundant code.
4033
e01c13fe
SM
4034 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4035 visited in a buffer.
4036 (cvs-insert-visited-file): New function.
4037 (find-file-hook): Use it.
4038
4039 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4040
02661b3a
SM
4041 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4042 chose face.
4043 (log-edit-empty-buffer-p): Don't require a space after a header.
4044
43711d4b
SM
4045 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4046
38a30d64
SM
4047 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4048
4ffb41a9
SM
4049 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4050 a proper minor-mode.
4051
98a5e33b
SM
4052 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4053
de82e29b
GM
40542012-09-29 Glenn Morris <rgm@gnu.org>
4055
5cc2e639
GM
4056 * winner.el (winner-mode): Remove variable (let define-minor-mode
4057 handle it).
4058 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4059 Doc fixes.
4060 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4061 (winner-mode): Use define-minor-mode.
4062
7bd302eb
GM
4063 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4064 the full definition in loaddefs, rather than duplicating it.
4065
2923922f 4066 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4067
0e3e4156
GM
4068 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4069 (inferior-lisp-program, inferior-lisp-load-command)
4070 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4071 No need to autoload defcustoms.
0e3e4156 4072
de82e29b
GM
4073 * hippie-exp.el (hippie-expand-try-functions-list)
4074 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4075 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4076 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4077 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4078 * progmodes/vhdl-mode.el (vhdl-line-expand):
4079 Explicitly load hippie-exp, so it does not get autoloaded
4080 while hippie-expand-try-functions-list is let-bound.
4081
e60b51ab
GM
40822012-09-28 Glenn Morris <rgm@gnu.org>
4083
277f0cfa
GM
4084 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4085
e60b51ab
GM
4086 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4087 Only "cl.el" counts as cl these days.
4088
53baf48a
JL
40892012-09-28 Juri Linkov <juri@jurta.org>
4090
4091 Display archive errors in the echo area instead of inserting
4092 to the file buffer.
4093
4094 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4095 to STDERR-TEST that can be a regexp matching a successful output.
4096 Create a temporary file and redirect stderr to it. Search for
4097 STDERR-TEST in the stderr output and display it in the echo area
4098 if no match is found.
4099 (archive-extract-by-file): New function like
4100 `archive-extract-by-stdout' but extracting archives to files
4101 and looking for successful matches in stdout. Function body is
4102 mostly copied from `archive-rar-extract'.
4103 (archive-rar-extract): Use `archive-extract-by-file'.
4104 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4105
9c1228c3
LL
41062012-09-28 Leo Liu <sdl.web@gmail.com>
4107
375e49d4
SM
4108 * pcomplete.el (pcomplete-show-completions):
4109 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4110
9c1228c3
LL
4111 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4112
7f457c06
SM
41132012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4114
3df749b0
SM
4115 * type-break.el: Use lexical-binding.
4116 (type-break-mode): Use define-minor-mode.
4117
7f457c06
SM
4118 * emacs-lisp/pcase.el (pcase--mark-used): New.
4119 (pcase--u1): Use it (bug#12512).
4120
4121 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4122 in load-history with the right file name.
4123
c00ebc98
TH
41242012-09-28 Tassilo Horn <tsdh@gnu.org>
4125
4126 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4127 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4128 (doc-view-get-bounding-box): Make bounding box slicing work for
4129 ODF and DVI documents.
4130
96fb7170
GM
41312012-09-28 Glenn Morris <rgm@gnu.org>
4132
4133 * type-break.el (type-break-mode, type-break-interval)
4134 (type-break-good-rest-interval, type-break-keystroke-threshold):
4135 No need to autoload.
4136 (type-break-good-rest-interval, type-break-keystroke-threshold):
4137 Add :set-after.
4138
5bc93c67
CY
41392012-09-28 Chong Yidong <cyd@gnu.org>
4140
4141 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4142 Add :version tag.
4143
9cad61d6
SM
41442012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4145
e28e67b3 4146 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4147
daee954c
GM
41482012-09-27 Glenn Morris <rgm@gnu.org>
4149
a88324d4
GM
4150 * faces.el (x-display-name): Declare (for without-x builds).
4151
8e5064e5
GM
4152 * linum.el (linum-format): Don't autoload it. Improve :type.
4153
cc1783c2
GM
4154 * progmodes/tcl.el: Don't require outline when compiling.
4155 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4156 * textmodes/sgml-mode.el: Don't require outline when compiling.
4157 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4158
48c339f2
GM
4159 * term.el (term-ansi-reset):
4160 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4161
daee954c
GM
4162 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4163 files for RCS and SCCS. (Bug#9781)
4164
b7f42161
CY
41652012-09-27 Chong Yidong <cyd@gnu.org>
4166
4167 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4168 change; value should be t.
4169
a2e770db
SM
41702012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4171
83600dc8
SM
4172 * image-mode.el: Use lexical-binding.
4173 (image-mode-winprops): Use t to stand for the window of
4174 a buffer that's not displayed.
4175 * doc-view.el (doc-view-new-window-function): Handle the new
4176 t in winprops.
4177 (doc-view-enlarge): Make it a real nop if the size is not changed.
4178 (doc-view-display): Handle the case where the buffer is not (yet?)
4179 displayed in any window.
4180 (doc-view-saved-settings): New var.
4181 (doc-view-mode): Use it.
4182 (doc-view-fallback-mode): Set it.
4183
a2e770db
SM
4184 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4185 Set lexical-binding.
4186 (minibuffer-eldef-shorten-default): New var.
4187 (minibuffer-default-in-prompt-regexps): Use it for new default.
4188 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4189
e3b60857
JB
41902012-09-26 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * international/uni-bidi.el:
4193 * international/uni-category.el:
4194 * international/uni-name.el:
4195 * international/uni-numeric.el: Regenerate.
4196
3a880af4
SM
41972012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4198 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * profiler.el: New file.
4201
07b1a5fb
SM
42022012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4205 (testcover-reinstrument): Simplify with CSE.
4206
42019c2e
JB
42072012-09-26 Juanma Barranquero <lekktu@gmail.com>
4208
4209 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4210
179f044b
WS
42112012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4212
4213 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4214 (verilog-auto-input, verilog-auto-insert-lisp)
4215 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4216 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4217 (verilog-auto-unused, verilog-auto-wire)
4218 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4219 newline. Reported by Andrew Jones.
4220 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4221 Reported by Brad Dobbie.
07b1a5fb
SM
4222 (verilog-batch-delete-trailing-whitespace):
4223 Create verilog-batch-delete-trailing-whitespace.
4224 Reported by Brad Dobbie.
179f044b
WS
4225 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4226 parameters from another module. Reported by Dan Katz.
4227 (verilog-auto, verilog-auto-assign-modport)
4228 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4229 AUTOINOUTMODPORT for UVM interface module shell generation.
4230 Reported by Brad Dobbie.
4231 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4232 standard behavior.
4233 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4234 Reported by Matt Martin.
4235
9c52dd5a
MR
42362012-09-25 Martin Rudalics <rudalics@gmx.at>
4237
4238 * window.el (window--resize-child-windows): When resizing child
4239 windows proportionally, process them in reverse order to
4240 preserve the "when splitting a window the new one gets the odd
4241 line" behavior.
4242 (window--resize-root-window-vertically): When resizing the
4243 minibuffer window try to affect only windows at the bottom of the
4244 frame. (Bug#12419)
4245
863666eb
CY
42462012-09-25 Chong Yidong <cyd@gnu.org>
4247
4248 * subr.el (declare): Doc fix.
4249
4250 * help-fns.el (help-fns--obsolete): Handle macros properly.
4251
59f7af81
CY
42522012-09-25 Chong Yidong <cyd@gnu.org>
4253
4254 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4255 this function obsolete.
4256
4257 * calendar/cal-x.el (calendar-two-frame-setup)
4258 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4259 * calendar/calendar.el (american-calendar, european-calendar)
4260 (calendar-for-loop):
4261 * comint.el (comint-dynamic-simple-complete)
4262 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4263 * desktop.el (desktop-load-default):
4264 * dired-x.el (dired-omit-here-always)
4265 (dired-hack-local-variables, dired-default-directory):
4266 * emacs-lisp/derived.el (derived-mode-class):
4267 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4268 * emacs-lock.el (toggle-emacs-lock):
4269 * epa.el (epa-display-verify-result):
4270 * epg.el (epg-sign-keys, epg-start-sign-keys)
4271 (epg-passphrase-callback-function):
4272 * eshell/esh-util.el (eshell-for):
4273 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4274 (eshell-add-to-window-buffer-names):
4275 * files.el (locate-file-completion):
4276 * imenu.el (imenu-example--create-c-index)
4277 (imenu-example--create-lisp-index)
4278 (imenu-example--lisp-extract-index-name)
4279 (imenu-example--name-and-position):
4280 * international/mule-cmds.el (princ-list):
4281 * international/mule-diag.el (decode-codepage-char):
4282 * international/mule-util.el (detect-coding-with-priority):
4283 * iswitchb.el (iswitchb-read-buffer):
4284 * mail/mailalias.el (mail-complete):
4285 * mail/sendmail.el (mail-sent-via):
4286 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4287 (mouse-major-mode-menu):
4288 * password-cache.el (password-read-and-add):
4289 * pcomplete.el (pcomplete-parse-comint-arguments):
4290 * progmodes/sh-script.el (sh-maybe-here-document):
4291 * replace.el (query-replace-regexp-eval):
4292 * savehist.el (savehist-load):
4293 * simple.el (choose-completion-delete-max-match):
4294 * term.el (term-dynamic-simple-complete):
4295 * vc/ediff-init.el (ediff-check-version):
4296 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4297 * vc/vc.el (vc-diff-switches-list):
4298 * view.el (view-return-to-alist-update): Likewise.
4299
4300 * subr.el (eval-next-after-load, makehash, insert-string)
4301 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4302 mark obsolete.
4303 (mode-line-inverse-video): Variable deleted.
4304
4305 * international/mule-util.el (string-to-sequence): Remove.
4306
4307 * calendar/calendar.el (calendar-version):
4308 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4309 (icalendar-convert-diary-to-ical):
4310 * cus-edit.el (custom-mode):
4311 * ansi-color.el (ansi-color-unfontify-region):
4312 * international/latin1-disp.el (latin1-char-displayable-p):
4313 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4314 * progmodes/which-func.el (which-func-update-1):
4315 Use define-obsolete-function-alias.
59f7af81
CY
4316
4317 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4318 * net/newst-treeview.el (newsticker-groups-filename):
4319 Fix incorrect obsolescence declaration.
59f7af81
CY
4320
4321 * allout.el (allout-passphrase-hint-string): Likewise.
4322 (allout-init): Use a declare form to mark obsolete.
4323
4324 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4325 this applies to functions.
4326
4327 * iswitchb.el (iswitchb-read-buffer): Move code of
4328 iswitchb-define-mode-map here, and delete that obsolete function.
4329
4330 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4331 font-lock-reference-face.
4332
cca96c97
GM
43332012-09-25 Glenn Morris <rgm@gnu.org>
4334
b06eeda8
GM
4335 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4336 Doc fixes.
4337
cca96c97
GM
4338 * eshell/em-term.el (eshell-term-name):
4339 Default to term-term-name. (Bug#12485)
4340
dc4f818b
FEG
43412012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4342
cca96c97
GM
4343 * progmodes/python.el (python-shell-send-buffer): Better handling
4344 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4345
289c24bd
GM
43462012-09-24 Glenn Morris <rgm@gnu.org>
4347
4348 * eshell/esh-cmd.el (eshell-find-alias-function):
4349 Tighten up file-name regexp. (Bug#12499)
4350
8fb8b88f
FEG
43512012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4352
4353 Enhancements for triple-quote string syntax.
4354 * progmodes/python.el (python-quote-syntax): Remove.
4355 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4356 (python-syntax-count-quotes, python-syntax-stringify):
4357 New functions.
8fb8b88f 4358
6c27f0f8
CY
43592012-09-24 Chong Yidong <cyd@gnu.org>
4360
a5f2b6ec
CY
4361 * mail/supercite.el (sc-version): Remove obsolete function.
4362 (sc-describe): Don't mark as obsolete, since it is bound.
4363 (sc-submit-bug-report): Remove.
4364
4365 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4366 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4367 (log-edit-require-final-newline)
4368 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4369
4370 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4371 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4372 * vc/vc.el (vc-checkout-carefully): Likewise.
4373
4374 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4375 (emerge-version): Remove.
4376
4377 * progmodes/compile.el (compile-internal): Remove.
4378 (compilation-parse-errors-function): Fix typo.
4379
4380 * international/mule.el (set-char-table-default): Remove.
4381 (set-coding-priority, make-coding-system, generic-char-p)
4382 (charset-list, charset-bytes, charset-id): Use declare to mark
4383 functions as obsolete.
4384
4385 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4386 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4387 * vc/vc-hooks.el (vc-default-registered): Don't use
4388 vc-master-templates.
4389
07b1a5fb
SM
4390 * font-lock.el (font-lock-reference-face):
4391 Use define-obsolete-variable-alias.
6c27f0f8
CY
4392
4393 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4394 * calendar/calendar.el (calendar-font-lock-keywords):
4395 * calendar/diary-lib.el (diary-font-lock-keywords)
4396 (diary-fancy-font-lock-keywords):
4397 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4398 * textmodes/reftex-index.el (reftex-insert-index):
4399 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4400 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4401 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4402 * progmodes/prolog.el (prolog-font-lock-keywords):
4403 * progmodes/idlwave.el (idlwave-idl-keywords):
4404 * progmodes/ada-mode.el (ada-font-lock-keywords):
4405 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4406
bcc0adbf
GM
44072012-09-24 Glenn Morris <rgm@gnu.org>
4408
4409 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4410
095bb823
FEG
44112012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4412
4413 * progmodes/python.el (python-indent-line): More consistent cursor
4414 movement behavior.
4415
70efc5c9
SM
44162012-09-23 Stefan Merten <smerten@oekonux.de>
4417
4418 * textmodes/rst.el: Fix compiler warning.
4419
2f438239
RW
44202012-09-23 Roland Winkler <winkler@gnu.org>
4421
07b1a5fb
SM
4422 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4423 Transcribe also LaTeX hyphenation.
2f438239
RW
4424 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4425 bibtex-reformat-previous-options.
4426
936ad041
RW
44272012-09-23 Roland Winkler <winkler@gnu.org>
4428
4429 * proced.el (proced-renice-command): New variable.
4430 (proced-marked-processes): New function.
4431 (proced-with-processes-buffer): New macro.
4432 (proced-send-signal): Use them.
4433 (proced-renice): New command bound to r.
4434
6fab0274
RW
44352012-09-23 Roland Winkler <winkler@gnu.org>
4436
4437 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4438 ibuffer-saved-filter-groups has one element, shortcut the call of
4439 completing-read. (Bug#12331)
4440
9a930676
CY
44412012-09-23 Chong Yidong <cyd@gnu.org>
4442
4443 * bindings.el (mode-line-toggle-read-only):
4444 * bs.el (bs-toggle-readonly):
4445 * buff-menu.el (Buffer-menu-toggle-read-only):
4446 * dired.el (dired-toggle-read-only):
4447 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4448
d07ff9db
CY
44492012-09-23 Chong Yidong <cyd@gnu.org>
4450
4451 * image.el (image-type-available-p): Adapt to init-image-library
4452 argument changes.
4453
51c4474e
JL
44542012-09-22 Juri Linkov <juri@jurta.org>
4455
4456 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4457 `dired-toggle-read-only'. (Bug#12462)
4458
43bf5e8e
MR
44592012-09-22 Martin Rudalics <rudalics@gmx.at>
4460
4461 * subr.el (temp-output-buffer-show): New function.
4462 (with-output-to-temp-buffer): Call temp-output-buffer-show
4463 instead of internal-temp-output-buffer-show.
4464
c88b867f
CY
44652012-09-22 Chong Yidong <cyd@gnu.org>
4466
3df47cd5
CY
4467 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4468 (Bug#12462).
4469
c88b867f
CY
4470 * repeat.el (repeat): Doc fix (Bug#12348).
4471
4472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4473 (Bug#10909).
4474
4475 * simple.el (shell-command-on-region): Doc fix.
3171e303 4476 (read-only-mode): Doc fix.
c88b867f 4477
df9685f3
EZ
44782012-09-22 Eli Zaretskii <eliz@gnu.org>
4479
4480 * emacs-lisp/timer.el (run-with-idle-timer)
4481 (timer-activate-when-idle): Warn against reinvoking an idle timer
4482 from within its own timer action. (Bug#12447)
4483
8e17c9ba
MR
44842012-09-22 Martin Rudalics <rudalics@gmx.at>
4485
4486 * cus-start.el (window-combination-limit): Add new optional
4487 values.
4488 * window.el (temp-buffer-window-show)
4489 (window--try-to-split-window): Handle new values of
4490 window-combination-limit (Bug#1806).
4491 (split-window): Test window-combination-limit for t instead of
4492 non-nil.
4493 (display-buffer-at-bottom): New buffer display action function.
4494 * help.el (temp-buffer-resize-regexps): New option.
4495 (temp-buffer-resize-mode): Rewrite doc-string.
4496 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4497 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4498
48a24920
SM
44992012-09-22 Stefan Merten <smerten@oekonux.de>
4500
70efc5c9 4501 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4502 (rst-official-version)
4503 (rst-package-emacs-version-alist): Sync with official version
4504 V1.4.0.
4505 (rst-faces-defaults, rst-set-level-default)
4506 (rst-level-face-max, rst-level-face-base-color)
4507 (rst-level-face-base-light, rst-level-face-format-light)
4508 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4509 (rst-adornment-faces-alist): Match new setup.
4510 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4511 (rst-level-5, rst-level-6): New faces.
4512
82f8cd94
CY
45132012-09-22 Chong Yidong <cyd@gnu.org>
4514
4515 * simple.el (undo): Handle indirect buffers (Bug#8207).
4516
acfa068f 45172012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4518
4519 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4520 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4521 (ido-set-matches-1): Use it. (Bug#2042)
4522
acfa068f 45232012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4524
4525 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4526 Fix 2011-05-17 change. (Bug#12418)
4527
acfa068f 45282012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4529
4530 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4531
acfa068f 45322012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4533
4534 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4535 Be more robust about locating simple.el.
4536
acfa068f 45372012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4538
4539 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4540
acfa068f
CY
45412012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4542
4543 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4544
41a97e6f
JL
45452012-09-20 Juri Linkov <juri@jurta.org>
4546
eb2deaff
JL
4547 * replace.el (query-replace-read-from): Use `read-regexp' instead
4548 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4549 (occur-read-primary-args): Use `read-regexp' instead of
4550 `read-string'.
4551 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4552 `read-from-minibuffer'.
4553 * isearch.el (isearch-occur): Use `read-regexp' instead of
4554 `read-string'.
4555 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4556 `read-from-minibuffer'.
4557 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4558 of `read-string'. (Bug#7567)
4559
5825610b
JL
4560 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4561 and allow accepting a list of strings prepended to a list of
4562 standard default values. Doc fix. (Bug#12321)
4563
eebbf404
JL
4564 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4565
41a97e6f
JL
4566 * replace.el (read-regexp): Don't add ": " when PROMPT already
4567 ends with a colon and space. (Bug#12321)
4568
c9e452d3
TH
45692012-09-20 Tassilo Horn <tsdh@gnu.org>
4570
4571 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4572 error.
4573
ee97deee
SM
45742012-09-20 Stefan Merten <smerten@oekonux.de>
4575
70efc5c9 4576 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4577 Fixes feature request bug#11711.
4578 (rst-mode): Create `imenu-create-index-function'.
4579 (rst-get-stripped-line): Delete after refactoring.
4580 (rst-section-tree, rst-section-tree-rec)
4581 (rst-section-tree-point): Refactor and document properly.
4582 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4583 (rst-imenu-convert-cell, rst-imenu-create-index):
4584 New function.
ee97deee 4585
f490dab9
SM
45862012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4587
95b9712e
SM
4588 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4589 (macroexp--expand-all): Use it.
4590 (macroexp--funcall-and-return): Remove by folding it into its sole
4591 caller (macroexp--warn-and-return).
4592 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4593 Use macroexp--obsolete-warning.
4594
f490dab9
SM
4595 * calc/calc.el: Fix last change by removing the whole chunk, since it
4596 was only needed back when Calc was not bundled.
4597
96e8d411
MR
45982012-09-20 Martin Rudalics <rudalics@gmx.at>
4599
4600 * emacs-lisp/debug.el (debug): Restore assignment to
4601 debugger-old-buffer removed on 2012-09-08.
4602
0876a82d
JL
46032012-09-20 Juri Linkov <juri@jurta.org>
4604
4605 * dired-aux.el (dired-diff): Remove (require 'diff) since
4606 `diff-latest-backup-file' is now autoloaded.
4607
9f7c28f0
CY
46082012-09-20 Chong Yidong <cyd@gnu.org>
4609
4610 * vc/diff.el (diff-latest-backup-file): Autoload.
4611
7a04bee9
SM
46122012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4613
e6f0a80d
SM
4614 * calc/calc.el: Remove redundant autoload shape check.
4615 (sel-mode): Don't defvar.
4616 (calc-get-stack-element): Add `sel-mode' arg instead.
4617 (calc-top, calc-top-list): Pass it this additional argument.
4618 * calc/calc-store.el (calc-store-map):
4619 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4620 (calc-map-equation, calc-outer-product, calc-inner-product):
4621 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4622
7a04bee9
SM
4623 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4624
12734222
JL
46252012-09-19 Juri Linkov <juri@jurta.org>
4626
4627 * dired-aux.el (dired-diff): Add (require 'diff) because
4628 `diff-latest-backup-file' is not autoloaded.
4629 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4630 of `dired-get-filename' to t to not report error when there is
4631 no default file on the current line.
4632
46624b4f
SM
46332012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4634
ce97595b
SM
4635 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4636 macroexp--eval-if-compile.
4637 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4638 (macroexp--expand-all): Use them (bug#12371).
4639
46624b4f
SM
4640 * doc-view.el (doc-view-guess-paper-size)
4641 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4642
db8a5a18
TH
46432012-09-19 Tassilo Horn <tsdh@gnu.org>
4644
4645 New feature: set optimal slice from BoundingBox information.
4646 * doc-view.el (doc-view-mode-map): Add keybinding.
4647 (doc-view-menu): Add menu entry.
4648 (doc-view-set-slice): Adapt docstring.
4649 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4650 (doc-view-scale-bounding-box)
4651 (doc-view-set-slice-from-bounding-box): New functions.
4652 (doc-view-paper-sizes): New defvar.
4653
69f6644c
GM
46542012-09-19 Glenn Morris <rgm@gnu.org>
4655
35f5b19d
GM
4656 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4657 (byte-compile-log-warning): Autoload. (Bug#12371)
4658
69f6644c
GM
4659 * calendar/calendar.el (calendar-american-month-header)
4660 (calendar-european-month-header, calendar-iso-month-header)
4661 (calendar-month-header): New options.
4662 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4663 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4664
e543ae91
JD
46652012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4666
4667 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4668
2fd5e67d
JL
46692012-09-18 Juri Linkov <juri@jurta.org>
4670
4671 * dired-aux.el (dired-diff): Restore original functionality of
4672 getting the default value, but keep new feature of using the
4673 latest existing backup file (`diff-latest-backup-file').
4674
42917e79
JL
46752012-09-18 Juri Linkov <juri@jurta.org>
4676
4677 * dired.el (dired-mark): If the region is active in Transient Mark
4678 mode, mark all files in the active region. Doc fix.
4679 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4680 Doc fix. (Bug#10624)
4681
20f70ede
JL
46822012-09-18 Juri Linkov <juri@jurta.org>
4683
4684 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4685 attributes for M-n are pulled from the file at point.
4686 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4687 Suggested by Drew Adams. (Bug#10624)
4688
32fb8162
DG
46892012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4690
4691 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4692 whitespace after "end".
4693 (ruby-do-end-to-brace): Collapse block to one line if it fits
4694 within fill-column.
4695
37ab5092
MR
46962012-09-18 Martin Rudalics <rudalics@gmx.at>
4697
4698 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4699 value.
4700 (debug): Don't remove debugger window when debugger is expected
4701 to be back.
4702
ed1f0bd3
CY
47032012-09-18 Chong Yidong <cyd@gnu.org>
4704
4705 * custom.el (defface): Doc fix.
4706
4707 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4708
a11035b8
MB
47092012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4710
4711 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4712 to initialize query-on-exit; then test that instead (bug#12288).
4713
64f6a736
SM
47142012-09-17 Stefan Merten <smerten@oekonux.de>
4715
70efc5c9 4716 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4717 (rst-defcustom-testcover, rst-testcover-add-compose)
4718 (rst-testcover-add-1value): New functions.
4719 (rst-portable-mark-active-p): Replace by `use-region-p'.
4720 (rst-update-section, rst-classify-adornment)
4721 (rst-find-title-line): Mark `1value' forms.
4722 (rst-classify-adornment): Remove superfluous form.
4723 (rst-update-section, rst-get-adornments-around)
4724 (rst-adornment-complete-p, rst-get-next-adornment)
4725 (rst-adjust, rst-promote-region)
4726 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4727 (rst-find-pfx-in-region, rst-section-tree-rec)
4728 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4729 (rst-toc-node, rst-toc, rst-forward-section)
4730 (rst-iterate-leftmost-paragraphs)
4731 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4732 (rst-bullet-list-region)
4733 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4734 (rst-compile-find-conf, rst-compile)
4735 (rst-repeat-last-character): Fix style.
4736
580bd868
CY
47372012-09-17 Chong Yidong <cyd@gnu.org>
4738
4739 * comint.el (comint--complete-file-name-data): Don't add a space
4740 if the status is `sole'; that adds a gratuitous space in the
4741 completion-cycling case (Bug#12092).
4742
4743 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4744
69de3ec6
RS
47452012-09-17 Richard Stallman <rms@gnu.org>
4746
0dee970c
RS
4747 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4748 only in the mime-shown mode, not in raw mode.
4749 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4750 mime processing. (Bug#12305)
0dee970c 4751
6b250df6
GM
4752 * mail/rmail.el (rmail-retry-failure):
4753 Turn off mime processing first. (Bug#12037)
acb1c47b 4754
69de3ec6
RS
4755 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4756
d079ee5f
CY
47572012-09-17 Chong Yidong <cyd@gnu.org>
4758
4759 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4760 (shell-dynamic-complete-functions): Convert to defcustom.
4761 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4762
865fe16f
CY
4763 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4764 * comint.el (comint-prompt-read-only):
4765 * custom.el (defcustom):
4766 * hi-lock.el (hi-lock-mode):
4767 * ibuffer.el (ibuffer-formats):
4768 * ielm.el (ielm-prompt-read-only):
4769 * novice.el (disable-command):
4770 * saveplace.el (toggle-save-place):
4771 * speedbar.el (speedbar-supported-extension-expressions):
4772 * startup.el (auto-save-list-file-prefix, init-file-user)
4773 (after-init-hook, inhibit-startup-echo-area-message):
4774 * strokes.el (strokes-help):
4775 * time-stamp.el (time-stamp):
4776 * calendar/calendar.el (calendar, diary-file):
4777 * calendar/diary-lib.el (diary-mail-entries, diary)
4778 (diary-list-entries-hook):
4779 * calendar/holidays.el (holidays, calendar-holidays):
4780 * calendar/lunar.el (lunar-phases):
4781 * calendar/solar.el (sunrise-sunset):
4782 * emulation/edt.el (edt-load-keys):
4783 * emulation/viper.el (viper-mode):
4784 * eshell/em-alias.el (eshell-command-aliases-list):
4785 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4786 * international/ogonek.el (ogonek-information):
4787 * net/tramp-cmds.el (tramp-bug):
4788 * net/quickurl.el (quickurl-reread-hook-postfix):
4789 * play/decipher.el (decipher-font-lock-keywords):
4790 * progmodes/cc-styles.el (c-set-style):
4791 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4792 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4793 * progmodes/octave-mod.el (octave-mode):
4794 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4795 * progmodes/verilog-mode.el (verilog-read-defines):
4796 * textmodes/two-column.el (2C-mode): Likewise.
4797
48093eb9
KY
47982012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4799
4800 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4801 that holds many addresses.
4802
c584eaf9
CY
48032012-09-16 Chong Yidong <cyd@gnu.org>
4804
40d70ecb
CY
4805 * align.el (align-areas): Call the indication function with
4806 positions instead of markers for arguments (Bug#12343).
4807
1667e065
CY
4808 * files.el (parse-colon-path): Use split-string (Bug#12351).
4809
fdc2806d 4810 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4811 (display-buffer-function): Mark as obsolete.
fdc2806d 4812
f1be615c 4813 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4814 values similar to font-lock-keywords (Bug#12136).
4815 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4816 (compilation-error-regexp-alist): Doc fix.
4817
f40a9709
GM
48182012-09-15 Glenn Morris <rgm@gnu.org>
4819
72aa16e1
GM
4820 * version.el (emacs-bzr-version-bzr): New function.
4821 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4822
82375160
GM
4823 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4824 checkouts, check the parent dirstate matches the branch.
4825 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4826 empty string.
4827
f40a9709
GM
4828 * version.el (emacs-bzr-version): Doc fix.
4829 (emacs-bzr-version-dirstate): New function.
4830 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4831 is local try and check that it matches the branch. If not, just
4832 use dirstate information. (Bug#12441)
4833
cb26b7f5
JL
48342012-09-14 Juri Linkov <juri@jurta.org>
4835
4836 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4837 (Bug#12399)
4838
2de39f08
SM
48392012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4840
0fb3cb7c
SM
4841 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4842
2de39f08
SM
4843 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4844 Remove obsolete byte-compiler hack that tried to silence some warnings.
4845 (edebug-submit-bug-report): Remove.
4846 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4847 Remove aliases, use the un-prefixed name instead.
4848 (edebug-pop-to-buffer): Consider other frames.
4849 (edebug-original-read):: Make it more obvious that it's always defined.
4850 (edebug--make-form-data-entry, edebug--form-data-name)
4851 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4852 single-dashed name, and implement with cl-defstruct.
4853 (edebug-set-form-data-entry): Use the standard accessors.
4854 (edebug-make-top-form-data-entry): Use push.
4855 (edebug-no-match): Drop useless `funcall'.
4856 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4857 to functions.
4858 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4859 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4860 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4861 (easy-menu-define, with-custom-print): Remove redundant specs.
4862 (edebug-outside-overriding-local-map)
4863 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4864 (edebug--display): Bind unread-command-events directly to nil rather
4865 than binding it to unread-command-events and later setting it to nil.
4866 (edebug--display): Kill edebug-eval-buffer here...
4867 (edebug--recursive-edit): ...rather than here.
4868 Bind standard-output and standard-input.
4869 (edebug-eval): Check cl-macroexpand-all is fboundp.
4870 (edebug-temp-display-freq-count): Fix last change.
4871
4872 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4873 * subr.el (noreturn, 1value): Add `debug' spec.
4874 * emacs-lisp/advice.el: Require cl-lib.
4875 (ad-copy-tree): Remove, use copy-tree instead.
4876 (ad-dolist): Remove use dolist or cl-dolist instead.
4877 (ad-do-return): Remove, use cl-return instead.
4878 (defadvice): Add `debug' spec.
4879
5b68b333
JL
48802012-09-13 Juri Linkov <juri@jurta.org>
4881
4882 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4883 (Bug#12399)
4884
b9800ec4
GM
48852012-09-13 Glenn Morris <rgm@gnu.org>
4886
6a2e6868
GM
4887 * calc/calc.el (math-compose-expr):
4888 * calc/calc-ext.el (math-compose-expr):
4889 * progmodes/cc-defs.el (cl-macroexpand-all):
4890 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4891 (cl-macroexpand-all): Update declarations.
4892
b9800ec4
GM
4893 * vc/vc.el: No need to require ediff.
4894 (ediff-load-version-control): Declare.
4895 (ediff-vc-internal): Fix declaration.
4896 (vc-version-ediff): Require ediff.
4897
c18e885b
PE
48982012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4899
4900 Use a more backwards-compatible timer format (Bug#12430).
4901 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4902 being right after USECS, as that better supports old code that
4903 inadvisedly looked directly at the timer vector.
4904
d607d303
KH
49052012-09-13 Kenichi Handa <handa@gnu.org>
4906
4907 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4908 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4909 `coding-priority' property of these language environment.
4910
72eac303
PE
49112012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4912
4913 Fix glitches caused by addition of psec to timers (Bug#12430).
4914 * image.el (image-animate-timer):
4915 * time.el (display-time-world-timer):
4916 Use timer--function and timer--args rather than raw access to
4917 timer vector.
4918
2168fe4f
GM
49192012-09-13 Glenn Morris <rgm@gnu.org>
4920
4921 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4922 If not compiling a file, try using load-file-name.
4923
bd8d6108
SM
49242012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4925
c0c54fbd
SM
4926 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4927 Fix last change.
4928 (edebug-update-eval-list): Use `push'.
4929
bd8d6108
SM
4930 * emacs-lisp/edebug.el: Use lexical-binding.
4931 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4932 Mark unused args with underscore.
4933 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4934 (edebug-form-data): Use defvar-local.
4935 (edebug-make-before-and-after-form, edebug-make-after-form):
4936 Use backquote.
4937 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4938 Not dynamically scoped any more.
4939 (edebug--enter-trace): Add arguments `function' and `args'.
4940 Rename from edebug-enter-trace.
4941 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4942 (edebug--update-coverage): Add `after-index' and `value' args.
4943 Rename from edebug-update-coverage.
4944 (edebug-slow-after): Call it accordingly.
4945 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4946 edebug-recursive-edit.
4947 (edebug--display): Call it accordingly. Add args `value',
4948 `offset-index', and `arg-mode'. Rename from edebug-display.
4949 (edebug-debugger, edebug): Call it accordingly.
4950 (edebug-eval-display-list): Use dolist.
4951
a9f9d9de
JL
49522012-09-12 Juri Linkov <juri@jurta.org>
4953
4954 * info.el (Info-search): Don't check for isearch-mode and
4955 isearch-regexp before let-binding search-spaces-regexp to
4956 Info-search-whitespace-regexp.
4957 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4958 search-whitespace-regexp if isearch-lax-whitespace or
4959 isearch-regexp-lax-whitespace is non-nil.
4960 (Info-mode): Don't set local variable search-whitespace-regexp.
4961 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4962
bfeae2cf
SM
49632012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4966 (debugger-env-macro): Remove support for unread-command-char.
4967
4968 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4969 the temporary map re-appearing on emulation-mode-map-alists.
4970
4971 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4972 since 22.1.
4973
4974 * ehelp.el (with-electric-help): Accept functions in
4975 electric-help-form-to-execute.
4976 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4977 And replace unread-command-char -> unread-command-events.
4978
fbbcaf1b
MA
49792012-09-12 Michael Albinus <michael.albinus@gmx.de>
4980
4981 Sync with Tramp 2.2.6.
4982
4983 * net/tramp.el (tramp-accept-process-output): Don't use
4984 JUST-THIS-ONE in the XEmacs case.
4985
4986 * net/trampver.el: Update release number.
4987
4dece104
MR
49882012-09-12 Martin Rudalics <rudalics@gmx.at>
4989
bfeae2cf
SM
4990 * emacs-lisp/debug.el (debugger-previous-window-height):
4991 New variable.
4dece104
MR
4992 (debug): When debugger-jumping-flag is non-nil try to restore
4993 height of debugger window. (Bug#8789)
4994
45b82ad0
SM
49952012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4996
60c49c0f
SM
4997 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4998 overriding-local-map and pre/post-command-hook here.
4999 (edebug-recursive-edit): Do it here instead (bug#12345).
5000 (edebug-outside-unread-command-char): Remove all uses of
5001 unread-command-char.
5002
45b82ad0
SM
5003 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5004 inhibit-debugger is bound instead.
5005
baa26ea0
BG
50062012-09-11 Bastien Guerry <bzg@gnu.org>
5007
5008 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5009 (Bug#12346)
baa26ea0 5010
04e8abfa
BG
50112012-09-11 Bastien Guerry <bzg@gnu.org>
5012
96d03571 5013 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5014 (Bug#12347)
96d03571
BG
5015
50162012-09-11 Bastien Guerry <bzg@gnu.org>
5017
fc0c31f8 5018 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5019
04e082b0
MM
50202012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5021
5022 * progmodes/sql.el: Version 3.1
5023 (sql-db2-escape-newlines): New variable.
5024 (sql-escape-newlines-filter): Use it.
5025
399a361b
JB
50262012-09-10 Juanma Barranquero <lekktu@gmail.com>
5027
5028 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5029
0780c517
DN
50302012-09-10 Dan Nicolaescu <dann@gnu.org>
5031
45b82ad0
SM
5032 * vc/diff-mode.el (diff-mode-menu):
5033 Bind diff-remove-trailing-whitespace.
0780c517 5034
9b851e25
SM
50352012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5038 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5039 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5040 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5041 (eval-defun-2): Remove bogus interactive spec.
5042 (lisp-indent-line): Remove redundant whole-exp code, now done in
5043 indent-according-to-mode.
5044 (save-match-data): Remove redundant indent data.
5045
5046 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5047 Use `declare'.
5048
3231d532
JL
50492012-09-09 Juri Linkov <juri@jurta.org>
5050
5051 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5052 (replace-lax-whitespace, query-replace-regexp)
5053 (query-replace-regexp-eval, replace-regexp): Doc fix.
5054 (perform-replace, replace-highlight): Let-bind
5055 isearch-lax-whitespace to replace-lax-whitespace and
5056 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5057
5058 * isearch.el (isearch-query-replace): Let-bind
5059 replace-lax-whitespace to isearch-lax-whitespace and
5060 replace-regexp-lax-whitespace to
5061 isearch-regexp-lax-whitespace. (Bug#10885)
5062
70fe8236
SM
50632012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5066
8ed43f15
AM
50672012-09-09 Alan Mackenzie <acm@muc.de>
5068
70fe8236
SM
5069 * progmodes/cc-engine.el (c-state-cache-init):
5070 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5071 (c-record-parse-state-state):
5072 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5073
bfabf70a
AS
50742012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5075
5076 * register.el (register-separator): Rename from
5077 separator-register. All uses changed. Doc fix.
5078 (register): Fix version.
5079
011474aa
CY
50802012-09-09 Chong Yidong <cyd@gnu.org>
5081
5082 * replace.el (query-replace-map): Bind four new symbols for
5083 requesting window scrolling.
5084
5085 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5086 query-replace-map (Bug#8948).
5087
5088 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5089
5090 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5091 since they are now in query-replace-map.
5092
5093 * window.el (scroll-other-window-down): Make the arg optional.
5094
a8b7cd8d
CY
50952012-09-09 Chong Yidong <cyd@gnu.org>
5096
5097 * files.el (hack-local-variables-confirm): Use quit-window to kill
5098 the *Local Variables* buffer.
5099
c3268831
DG
51002012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5101
5102 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5103 not just expect to be at its beginning. Adjust callees.
5104 Succeed when do-end block has no space before the pipe character.
5105 (ruby-brace-to-do-end): When the original block is one-liner,
5106 convert to multiline. Reindent the result.
5107
0979429b
J
51082012-09-08 Jambunathan K <kjambunathan@gmail.com>
5109
5110 * register.el (register): New group.
27359e99 5111 (separator-register): New user option.
0979429b
J
5112 (increment-register): Route it to `append-to-register', if
5113 register contains text. Implication is that `C-x r +' can now be
5114 used for appending to a text register (bug#12217).
5115 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5116 `separator-register'.
0979429b 5117
ace2989a
AM
51182012-09-08 Alan Mackenzie <acm@muc.de>
5119
5120 AWK Mode: make auto-newline work when there's "==" in the pattern.
5121 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5122 correctly.
0979429b
J
5123 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5124 Test more rigorously for "=" token.
ace2989a 5125
616c6c36
DG
51262012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5127
0979429b
J
5128 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5129 Only fail when reached LIMIT.
616c6c36 5130
35d98877
CY
51312012-09-08 Chong Yidong <cyd@gnu.org>
5132
5133 * dired.el (dired-mode-map): Don't bind M-=.
5134
5135 * dired-aux.el (dired-diff): Use backup file as default.
5136
1715f2db
DA
51372012-09-08 Drew Adams <drew.adams@oracle.com>
5138
5139 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5140
6dcef6ec
CY
51412012-09-08 Chong Yidong <cyd@gnu.org>
5142
5143 * subr.el (syntax-after, syntax-class): Doc fix.
5144
fa2bcf43
MR
51452012-09-08 Martin Rudalics <rudalics@gmx.at>
5146
5147 * window.el (display-buffer-in-previous-window): New buffer
5148 display action function.
5149
5150 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5151 (debugger-previous-window): New variable.
5152 (debug): Rewrite using display-buffer-in-previous-window,
5153 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5154
daac280a
SM
51552012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5158
9dd40b00
MM
51592012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5160
daac280a
SM
5161 * progmodes/python.el (python-shell-send-string):
5162 When default-directory is remote, create temp file on remote
9dd40b00
MM
5163 filesystem.
5164 (python-shell-send-file): When file is remote, pass local view of
5165 file paths to remote Python interpreter. (Bug#12340)
5166
145823ec
CY
51672012-09-07 Chong Yidong <cyd@gnu.org>
5168
cee2e90d
CY
5169 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5170
0d7eb2ea
CY
5171 * files.el (after-find-file): Don't fail on a read-only buffer if
5172 require-final-newline is `visit' or `visit-save' (Bug#11156).
5173
145823ec
CY
5174 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5175
daac280a
SM
5176 * userlock.el (ask-user-about-supersession-threat):
5177 Use read-char-choice (Bug#12093).
145823ec 5178
74c582e6
CY
51792012-09-07 Chong Yidong <cyd@gnu.org>
5180
e5c2edf7
CY
5181 * subr.el (buffer-narrowed-p): New function.
5182
5183 * ses.el (ses-widen):
5184 * simple.el (count-words--buffer-message):
1f9f395d 5185 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5186
5187 * simple.el (count-words-region): Don't signal an error if there
5188 is a non-nil prefix arg and the mark is not set.
c640e87d 5189
74c582e6
CY
5190 * help.el (describe-key-briefly): Allow the message to be seen
5191 when invoked from the minibuffer (Bug#7014).
5192
d81ceaaf
DG
51932012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5194
5195 * progmodes/ruby-mode.el (ruby-end-of-defun)
5196 (ruby-beginning-of-defun): Simplify, allow indentation before
5197 block beginning and end keywords.
8f06acce
DG
5198 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5199 (ruby-end-of-defun): Expect that the point is at the beginning of
5200 the defun.
d81ceaaf 5201
d458ef98
SM
52022012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5205 (bug#12367).
5206 (cl--make-usage-args): Strip _ from argument names.
5207
20367d28
RS
52082012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5209
5210 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5211 obsolete alias speedbar-key-map.
5212 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5213 (vhdl-index-menu-init): Don't use obsolete variable
5214 font-lock-maximum-size.
5215
3424a4f6
CY
52162012-09-06 Chong Yidong <cyd@gnu.org>
5217
5218 * frame.el (window-system-version): Mark as obsolete.
5219
fcbfbdea
CY
5220 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5221 of obsolete variable speedbar-key-map.
5222
826b3235
JL
52232012-09-06 Juri Linkov <juri@jurta.org>
5224
5225 * replace.el (replace-lax-whitespace): New defcustom.
5226 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5227 (replace-string, replace-regexp): Mention it in docstrings.
5228 (perform-replace, replace-highlight): Let-bind
5229 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5230 to the values of replace-lax-whitespace and regexp-flag.
5231 Don't let-bind search-whitespace-regexp. (Bug#10885)
5232
5233 * isearch.el (isearch-query-replace): Let-bind
5234 replace-lax-whitespace instead of let-binding
5235 replace-search-function and replace-re-search-function.
5236 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5237 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5238 (isearch-toggle-symbol): Set isearch-regexp to nil
5239 in isearch-word mode (like in isearch-toggle-word).
5240
1ec5e41d
JL
52412012-09-06 Juri Linkov <juri@jurta.org>
5242
5243 * replace.el (replace-search-function)
5244 (replace-re-search-function): Set default values to nil.
5245 (perform-replace): Let-bind isearch-related variables based on
5246 replace-related values, call `isearch-search-fun' and let-bind
5247 the result to `search-function'. Remove code that sets
5248 `search-function' and `search-string' separately for
5249 `delimited-flag'.
5250 (replace-highlight): Add new argument `delimited-flag' and
5251 rename other arguments to the names used in `perform-replace'.
5252 Let-bind `isearch-word' to the argument `delimited-flag'.
5253 (Bug#10885, bug#10887)
5254
0ba2d4b6
DG
52552012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5256
5257 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5258 ruby-beginning-of-indent, simplify, allow all keywords to have
5259 indentation before them.
5260 (ruby-beginning-of-indent): Adjust for above. Search until the
5261 found point is not inside a string or comment.
5262 (ruby-font-lock-keywords): Allow symbols to start with "@"
5263 character, give them higher priority than variables.
5264 (ruby-syntax-propertize-function)
5265 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5266 matchers. Expression expansions are not comments when inside a
5267 string, and there comment syntax status is irrelevant.
5268 (ruby-match-expression-expansion): New function. Check that
5269 expression expansion is inside a string, and it's not escaped.
5270 (ruby-font-lock-keywords): Use it.
5271
ef654460
MR
52722012-09-05 Martin Rudalics <rudalics@gmx.at>
5273
5274 * help.el (temp-buffer-max-height): New default value.
5275 (temp-buffer-resize-frames): New option.
5276 (resize-temp-buffer-window): Optionally resize frame.
5277
5278 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5279 (fit-frame-to-buffer): New function.
5280
7e570fbf 52812012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5282
5283 * emulation/cua-rect.el (cua--init-rectangles):
5284 * textmodes/picture.el (picture-mode-map):
5285 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5286 like forward-char and backward-char. (Bug#12317)
5287
7e570fbf 52882012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5289
5290 * progmodes/flymake.el (flymake-warning-re): New variable.
5291 (flymake-parse-line): Use it.
5292
7e570fbf 52932012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5294
5295 * calendar/holidays.el (holiday-christian-holidays):
5296 Rename an entry. (Bug#12289)
5297
7e570fbf 52982012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5299
5300 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5301 (bug#12222).
5302
972debf2
SM
53032012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * loadup.el: Load macroexp. Remove hack.
5306 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5307 (macroexp--expand-all): Use it to get better warnings.
5308 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5309 (internal-macroexpand-for-load): New functions.
5310 (macroexp--pending-eager-loads): New var.
5311 (emacs-startup-hook): New hack to replace one in loadup.el.
5312 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5313 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5314 (cl-psetf): Simplify.
5315 (cl-defstruct): Add indent rule.
5316
8ce192e3
LI
53172012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5318
5319 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5320 over `user-mail-address' for the SMTP MAIL FROM envelope.
5321 (smtpmail-via-smtp): Ditto.
5322
6578b4d8
DG
53232012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el: Clean up keybindings.
5326 (ruby-mode-map): Don't bind ruby-electric-brace,
5327 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5328 backward-kill-word, reindent-then-newline-and-indent.
5329 (ruby-mark-defun): Remove.
5330 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5331 (ruby-mode): Set local beginning-of-defun-function and
5332 end-of-defun-function values.
5333
c5e28e39
MR
53342012-09-03 Martin Rudalics <rudalics@gmx.at>
5335
5336 * window.el (temp-buffer-window-setup-hook)
5337 (temp-buffer-window-show-hook): New hooks.
5338 (temp-buffer-window-setup, temp-buffer-window-show)
5339 (with-temp-buffer-window): New functions.
972debf2
SM
5340 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5341 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5342
5343 * help.el (temp-buffer-resize-mode): Fix doc-string.
5344 (resize-temp-buffer-window): New optional argument WINDOW.
5345
5346 * files.el (recover-file, save-buffers-kill-emacs):
5347 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5348
73406194
MA
53492012-09-02 Michael Albinus <michael.albinus@gmx.de>
5350
5351 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5352 remote definition of `default-directory', ensure we can connect.
5353
63dd1c6f
JL
53542012-09-02 Juri Linkov <juri@jurta.org>
5355
5356 Toggle whitespace matching mode with M-s SPC.
5357 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5358
5359 * isearch.el (search-whitespace-regexp): Doc fix.
5360 Remove cons cell customization.
5361 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5362 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5363 New variables.
5364 (isearch-forward, isearch-forward-regexp): Doc fix.
5365 (isearch-toggle-lax-whitespace): New command.
5366 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5367 (re-search-forward-lax-whitespace)
5368 (re-search-backward-lax-whitespace): New functions.
5369 (isearch-whitespace-regexp): Remove function.
5370 (isearch-query-replace): Let-bind replace-search-function and
5371 replace-re-search-function.
5372 (isearch-occur): Let-bind search-spaces-regexp according to the
5373 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5374 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5375 condition for C-q SPC.
5376 (isearch-search-fun-default): Use new functions mentioned above.
5377 (isearch-search-forward, isearch-search-backward): Remove functions.
5378 (isearch-search): Don't let-bind search-spaces-regexp.
5379 (isearch-lazy-highlight-space-regexp): Remove variable.
5380 (isearch-lazy-highlight-lax-whitespace)
5381 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5382 (isearch-lazy-highlight-new-loop): Use them.
5383 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5384
af7dda05
CY
53852012-09-02 Chong Yidong <cyd@gnu.org>
5386
5387 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5388
d67d3afd
GM
53892012-09-02 Glenn Morris <rgm@gnu.org>
5390
5391 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5392
69678719
GM
53932012-09-01 Glenn Morris <rgm@gnu.org>
5394
5395 * term.el: Tidy up menu definitions.
5396 (term-mode-map): Use easymenu for In/Out, Complete menus.
5397 (term-pager-break-map): Initialize in the defvar.
5398 (term-terminal-menu, term-signals-menu): Define with easymenu.
5399 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5400 (term-pager-menu): New, extracted from term-process-pager.
5401 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5402 (term-update-mode-line): Propertize line/char and page items.
5403 (term-process-pager): Move keymap initialization elsewhere.
5404
78dd6ab1
MR
54052012-09-01 Martin Rudalics <rudalics@gmx.at>
5406
5407 * window.el (switch-to-prev-buffer): Handle additional values of
5408 BURY-OR-KILL argument. Don't switch in minibuffer window.
5409 (switch-to-next-buffer): Don't switch in minibuffer window.
5410 (quit-restore-window): New function based on quit-window.
5411 Handle additional values of former KILL argument.
5412 (quit-window): Call quit-restore-window with appropriate
5413 interpretation of KILL argument.
5414 (display-buffer-below-selected): New buffer display action
5415 function.
5416
3d10e134
SM
54172012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * minibuffer.el (completion-at-point-functions): Complete docstring
5420 (bug#12254).
5421
0e23ef9d
PE
54222012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5423
5424 Better seed support for (random).
5425 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5426 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5427 * play/mpuz.el, play/tetris.el, play/zone.el:
5428 * calc/calc-comb.el (math-init-random-base):
5429 * play/blackbox.el (bb-init-board):
5430 * play/life.el (life):
5431 * server.el (server-use-tcp):
5432 * type-break.el (type-break):
5433 Remove unnecessary call to (random t).
5434 * net/sasl.el (sasl-unique-id-function):
5435 Change (random t) to (random), now that the latter is more random.
5436 * play/life.el (life-initialized): Remove no-longer-needed var.
5437
862382df
MR
54382012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5439
5440 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5441 Consider frame's buffer predicate when choosing the buffer.
5442 (Bug#12081)
5443
262a66e1
RS
54442012-08-30 Richard Stallman <rms@gnu.org>
5445
5446 * simple.el (special-mode-map): Delete binding for `z'.
5447
f17e1d00
AS
54482012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5449
5450 * progmodes/compile.el (compilation-always-kill): Doc fix.
5451
24777832
CY
54522012-08-30 Chong Yidong <cyd@gnu.org>
5453
5454 * window.el (display-buffer-reuse-frames): Make the obsolescence
5455 message more informative.
5456
69ba1f04
GM
54572012-08-30 Glenn Morris <rgm@gnu.org>
5458
5459 * paren.el (show-paren-delay):
5460 Add a :set function. Doc fix. (Bug#12297)
5461
f0019ede
MB
54622012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5463
5464 * progmodes/compile.el (compilation-always-kill): New var.
5465 (compilation-start): Use it.
5466
35e62fc9
SM
54672012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5468
af070a1c
SM
5469 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5470 * files.el (read-only-mode): Move to simple.el.
5471
35e62fc9
SM
5472 * files.el (read-only-mode): New minor mode.
5473 (toggle-read-only): Use it and mark obsolete.
5474 (find-file--read-only):
5475 * vc/vc.el (vc-next-action, vc-checkout):
5476 * vc/vc-cvs.el (vc-cvs-checkout):
5477 * obsolete/vc-mcvs.el (vc-mcvs-update):
5478 * ffap.el (ffap--toggle-read-only): Update callers.
5479
c2c43c23
MA
54802012-08-29 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5483 remote shell scripts.
5484 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5485
5486 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5487 "/usr/local/sbin".
5488
9fba804b
SM
54892012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5492
eada0861 54932012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5494
806f0cc7
LL
5495 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5496 completion-at-point. (Bug#12220)
5497
3bb213b9
LL
5498 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5499
22ab32ef
LL
5500 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5501
eada0861 55022012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5503
19c17fc1
CY
5504 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5505 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5506
eada0861 55072012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5508
5509 * progmodes/hideif.el (hif-compress-define-list):
5510 Fix typo. (Bug#11951)
5511
eada0861 55122012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5513
5514 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5515 buffer local setting.
5516
27d6c5a8
LL
5517 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5518 rcirc-encode-coding-system.
5519
eada0861 55202012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5521
5522 * net/rcirc.el (rcirc-split-message): New function.
5523 (rcirc-send-message): Use it. (Bug#12051)
5524
d44688e4
JL
55252012-08-28 Juri Linkov <juri@jurta.org>
5526
5527 * info.el (Info-fontify-node): Hide empty lines at the end of
5528 the node. (Bug#12272)
5529
34f10d41
MR
55302012-08-27 Drew Adams <drew.adams@oracle.com>
5531
5532 * dired.el (dired-pop-to-buffer): Make window start at beginning
5533 of buffer (Bug#12281).
5534
77f1f99c
CY
55352012-08-26 Chong Yidong <cyd@gnu.org>
5536
5537 * window.el (special-display-regexps, special-display-frame-alist)
5538 (special-display-buffer-names, special-display-function)
5539 (display-buffer-reuse-frames): Mark as obsolete.
5540
5541 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5542
5543 * help.el (help-print-return-message): Don't treat
5544 display-buffer-reuse-frames specially.
5545
d97af5a0
CY
55462012-08-26 Chong Yidong <cyd@gnu.org>
5547
9fba804b
SM
5548 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5549 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5550 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5551 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5552 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5553 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5554 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5555 the functions directly with gdb-display-buffer-other-frame-action.
5556 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5557 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5558 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5559 (gdb-display-registers-buffer): Define directly.
5560 (def-gdb-display-buffer): Macro deleted.
5561 (gdb-display-buffer): Remove second and third args, callers don't
5562 use them. Defer to the default display-buffer behavior, apart
5563 from making windows dedicated.
5564 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5565
5566 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5567
5568 * window.el (display-buffer-pop-up-frame): Handle a
5569 pop-up-frame-parameters alist entry.
5570 (display-buffer): Document it.
5571
dd7ffad6
CY
55722012-08-26 Chong Yidong <cyd@gnu.org>
5573
5574 * isearch.el (search-whitespace-regexp): Make string and nil
5575 values apply to both ordinary and regexp search. Allow a cons
5576 cell value to distinguish between the two.
5577 (isearch-whitespace-regexp, isearch-search-forward)
5578 (isearch-search-backward): New functions.
5579 (isearch-occur, isearch-search-fun-default, isearch-search)
5580 (isearch-lazy-highlight-new-loop): Use them.
5581 (isearch-forward, isearch-forward-regexp): Doc fix.
5582
4c47bd1e
CY
55832012-08-26 Chong Yidong <cyd@gnu.org>
5584
5585 * faces.el (help-argument-name): Always inherit from italic
5586 (Bug#12213).
5587
9aba119d
MR
55882012-08-25 Martin Rudalics <rudalics@gmx.at>
5589
5590 * window.el (window--even-window-heights): Even heights when
5591 WINDOW and the selected window form a vertical combination.
5592 (display-buffer-use-some-window): Provide that window used gets
5593 sized back by quit-window. (Bug#11880) and (Bug#12091)
5594
ca5256ad
PE
55952012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5596
5597 Fix file time stamp problem with bzr and CVS (Bug#12001).
5598 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5599 in the file's time stamp, since the version control system loses
5600 that information.
5601
d1c0d176
JL
56022012-08-22 Juri Linkov <juri@jurta.org>
5603
5604 * info.el (Info-fontify-node): Hide the suffix of the
5605 Info file name in the header line. (Bug#12187)
5606
141562ff
GM
56072012-08-22 Glenn Morris <rgm@gnu.org>
5608
5609 * calendar/cal-tex.el (cal-tex-weekly-common):
5610 Restore leading blank page.
5611
3a21537c 56122012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5613
5614 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5615 the region under `shift-select-mode'. (Bug#12231)
5616
56172012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5618
5619 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5620 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5621 gives details on why the space is never needed.
5622
ea95074e
MR
56232012-08-22 Martin Rudalics <rudalics@gmx.at>
5624
9fba804b
SM
5625 * window.el (walk-window-tree, window-with-parameter):
5626 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5627 should run on the minibuffer window.
5628 (window-at-side-list): Don't operate on minibuffer window.
5629 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5630 (window--size-ignore): Rename to window--size-ignore-p.
5631 Update callers.
caceae25
MR
5632 (display-buffer-in-atom-window, window--major-non-side-window)
5633 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5634 (delete-side-window, display-buffer-in-side-window):
5635 New functions.
caceae25
MR
5636 (window--side-check, window-deletable-p, delete-window)
5637 (delete-other-windows, split-window): Handle side windows and
5638 atomic windows appropriately.
5639 (window--display-buffer): Call display-buffer-record-window also
5640 when the window buffer did not change.
ea95074e 5641
80a51fa0
CS
56422012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5643
5644 * help-fns.el (help-fns--key-bindings):
5645 Abbreviate non-symbol remap targets. (Bug#12174)
5646
fbb6300b
MR
56472012-08-22 Martin Rudalics <rudalics@gmx.at>
5648
5649 * dired.el (dired-mark-remembered): Don't clobber point.
5650 (Bug#11795)
5651
2b2c0794
GM
56522012-08-22 Glenn Morris <rgm@gnu.org>
5653
5654 * progmodes/bug-reference.el (bug-reference): New custom group.
5655 (bug-reference-bug-regexp): Make it a defcustom.
5656
37219830
DU
56572012-08-22 Daiki Ueno <ueno@unixuser.org>
5658
5659 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5660 (js-paren-indent-offset, js-square-indent-offset)
5661 (js-curly-indent-offset): Add :safe (Bug#12257).
5662
94e0e559
EC
56632012-08-22 Edward O'Connor <hober0@gmail.com>
5664
5665 * json.el (json-key-format): Add error properties.
5666 (json-encode-key): New function.
5667 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5668 Use json-encode-key.
5669
da485f5e
GM
56702012-08-22 Glenn Morris <rgm@gnu.org>
5671
5672 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5673 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5674 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5675 Update for above change.
5676
c6cc78b8
AS
56772012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5678
5679 * cus-face.el (custom-face-attributes): Fix customize type for the
5680 :underline attribute. (Bug#11805)
5681
5481664a
MR
56822012-08-21 Martin Rudalics <rudalics@gmx.at>
5683
5684 * window.el (window-point-1, set-window-point-1): Remove.
5685 (window-in-direction, record-window-buffer)
5686 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5687 (window--state-get-1, display-buffer-record-window):
5688 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5689 window-point and set-window-point respectively.
5690
6d74698e
GM
56912012-08-21 Glenn Morris <rgm@gnu.org>
5692
b7fa2691
GM
5693 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5694 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5695 Use it.
5696
52f56d5a
GM
5697 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5698 (cal-tex-shortday): New function.
5699 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5700 (cal-tex-cursor-filofax-daily): Use the above.
5701
9f1ee09e
GM
5702 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5703 New functions.
5704 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5705 (cal-tex-cursor-filofax-week): Use them.
5706
79858159
GM
5707 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5708 New constants.
5709 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5710 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5711
d346b2b4
GM
5712 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5713 (cal-tex-end-document): Don't rely on buffer name.
5714
b2403709
GM
5715 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5716 Use cal-tex-vspace.
5717 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5718 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5719 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5720 Use cal-tex-arg.
b2403709 5721
1cebb5c0
GM
5722 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5723 (cal-tex-cursor-week, cal-tex-cursor-week2)
5724 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5725 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5726 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5727 (cal-tex-insert-preamble, cal-tex-b-document)
5728 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5729 Improve cal-tex-cmd usage.
5730
c68cd5d4
GM
5731 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5732 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5733 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5734 (cal-tex-weekly-paper): New function.
5735 (cal-tex-cursor-week, cal-tex-cursor-week2)
5736 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5737 (cal-tex-cursor-day): Use it.
5738
9dca4801
GM
5739 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5740 (cal-tex-cursor-filofax-week): Remove leading blank page.
5741
1941e134
GM
5742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5743 Add autoload cookie. For now at least, don't use color, since
5744 no other cal-tex function does.
5745
6d74698e
GM
5746 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5748 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5749
64cde199
JL
57502012-08-21 Juri Linkov <juri@jurta.org>
5751
5752 * info.el (Info-file-attributes): New variable.
5753 (info-insert-file-contents): Add file attributes to
5754 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5755 `Info-toc-nodes' when previous modtime of the Info file is less
5756 than new modtime.
5757 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5758 of info.el. (Bug#12230)
5759
32757648
GM
57602012-08-20 Glenn Morris <rgm@gnu.org>
5761
5762 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5763 * calendar/holidays.el (calendar-holiday-list):
5764 Report errors with display-warning rather than beep'n'sleep.
5765
a32fbbcf
MA
57662012-08-20 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * net/tramp.el (tramp-accept-process-output): Accept only output
5769 from PROC. Otherwise, process filters and sentinels might be
5770 confused. (Bug#12145)
5771
a05731a0
CY
57722012-08-20 Chong Yidong <cyd@gnu.org>
5773
5774 * descr-text.el (describe-text-properties-1): Use overlays-in to
5775 report on empty overlays (Bug#3322).
5776
36e8d1eb
GM
57772012-08-20 Glenn Morris <rgm@gnu.org>
5778
3d300447
GM
5779 * mail/rmailout.el (rmail-output-read-file-name):
5780 Trap and report errors in rmail-output-file-alist elements.
5781
36e8d1eb
GM
5782 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5783 since most non-font-lock faces are not also variables).
5784
b96e5814
ER
57852012-08-20 Edward Reingold <reingold@iit.edu>
5786
5787 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5788 New function. (Bug12160)
5789
7cef3569
GM
57902012-08-19 Glenn Morris <rgm@gnu.org>
5791
5792 * mail/rmailout.el (rmail-output-read-file-name):
5793 Fix previous change (when the alist is nil or does not match).
5794
17975d7f
CY
57952012-08-19 Chong Yidong <cyd@gnu.org>
5796
5797 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5798 (Bug#12228).
5799
2170b1bd
CY
58002012-08-18 Chong Yidong <cyd@gnu.org>
5801
5802 * simple.el (yank-handled-properties): New defcustom.
5803 (yank-excluded-properties): Add font-lock-face and category.
5804 (yank): Doc fix.
5805
9fba804b
SM
5806 * subr.el (remove-yank-excluded-properties):
5807 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5808 and category is now done this way, instead of being hard-coded.
5809 (insert-for-yank-1): Remove font-lock-face handling.
5810 (yank-handle-font-lock-face-property)
5811 (yank-handle-category-property): New function.
5812
ee218151
GM
58132012-08-17 Glenn Morris <rgm@gnu.org>
5814
5815 * mail/rmailout.el (rmail-output-read-file-name):
5816 Check rmail-output-file-alist against the full message body
5817 in the correct rmail buffer. (Bug#12214)
5818
4a6bc3fd
MA
58192012-08-17 Michael Albinus <michael.albinus@gmx.de>
5820
9fba804b
SM
5821 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5822 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5823
383dcbf9
CY
58242012-08-17 Chong Yidong <cyd@gnu.org>
5825
5826 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5827 font spec, set the font directly (Bug#3228).
5828
998c4a6a
MR
58292012-08-17 Martin Rudalics <rudalics@gmx.at>
5830
5831 * window.el (delete-window): Fix last fix.
5832
52162052
MR
58332012-08-16 Martin Rudalics <rudalics@gmx.at>
5834
5835 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5836 (window-child, window-child-count, window-last-child)
5837 (window-normalize-window, window-combined-p)
5838 (window-combinations, window-atom-root, window-min-size)
5839 (window-sizable, window-sizable-p, window-size-fixed-p)
5840 (window-min-delta, window-max-delta, window--resizable)
5841 (window--resizable-p, window-resizable, window-total-size)
5842 (window-full-height-p, window-full-width-p, window-body-size)
5843 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5844 (minimize-window, window-deletable-p, delete-window)
5845 (delete-other-windows, set-window-buffer-start-and-point)
5846 (next-buffer, previous-buffer, split-window, balance-windows-2)
5847 (set-window-text-height, window-buffer-height)
5848 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5849 (truncated-partial-width-window-p): Minor code adjustments.
5850 In doc-strings state whether the argument window has to denote a
85c2386b 5851 live, valid or any window.
52162052 5852
1c308380
PS
58532012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5854
5855 * progmodes/subword.el (subword-forward-function)
5856 (subword-backward-function, subword-forward-regexp)
5857 (subword-backward-regexp): New variables.
5858 (subword-forward, subword-forward-internal, subword-backward-internal):
5859 Use new variables, eg so that different "word" definitions
5860 can be easily used. (Bug#11411)
5861
94c9ece1
SM
58622012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5865 for composite selectors.
5866 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5867 operation just because we can't find a previous revision.
5868
f2045622
CY
58692012-08-15 Chong Yidong <cyd@gnu.org>
5870
5871 * frame.el (set-frame-font): Accept font objects.
5872
582db660
SM
58732012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5876
2f29c200
WJ
58772012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5878
456e62c2
WJ
5879 * man.el (Man-overstrike-face, Man-underline-face)
5880 (Man-reverse-face): Remove variables.
5881 (Man-overstrike, Man-underline, Man-reverse): New faces.
5882 (Man-fontify-manpage): Use them instead of the variables.
5883 (Man-cleanup-manpage): Comment change.
5884 (Man-ansi-color-map): New variable.
5885 (Man-fontify-manpage): Use it.
5886 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5887
2f29c200
WJ
5888 Implement ANSI SGR parameters 22-27 (bug#12146).
5889 * ansi-color.el (ansi-colors): Doc fix.
5890 (ansi-color-context, ansi-color-context-region): Doc fix.
5891 (ansi-color--find-face): New function.
5892 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5893 Rename the local variable `face' to `codes' since it is now a list of
5894 ansi codes. Doc fix.
5895 (ansi-color-get-face): Remove.
5896 (ansi-color-parse-sequence): New function, derived from
5897 ansi-color-get-face.
5898 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5899 codes 22-27.
5900
b4f5e9df
SM
59012012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * subr.el (read-passwd): Allow use from a minibuffer.
5904
ba025fbd
EZ
59052012-08-14 Eli Zaretskii <eliz@gnu.org>
5906
5907 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5908 inside comments and strings as identifiers.
5909
5910 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5911 expression to evaluate. This allows to evaluate expressions with
5912 embedded whitespace.
5913 (gud-tooltip-tips): Add a blank before the newline in the
5914 message-box text, for the benefit of message-box emulation on
5915 MS-Windows.
5916
5917 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5918 messages from GDB, pop them up in a tooltip to give feedback to
5919 user.
b4f5e9df
SM
5920 (gdb-tooltip-print-1): Quote the expression to evaluate.
5921 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5922 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5923 if the TTY name is nil or empty (which happens when communicating
5924 with the inferior via pipes, e.g. on MS-Windows).
5925 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5926 don't send that to the GUD buffer.
5927
c548f821
GM
59282012-08-14 Glenn Morris <rgm@gnu.org>
5929
5930 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5931 Optimize away setq-default with no args, as for setq. (Bug#12195)
5932
55802e4a
CY
59332012-08-14 Chong Yidong <cyd@gnu.org>
5934
4abcdac8
CY
5935 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5936
55802e4a
CY
5937 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5938 (Bug#12085).
5939
3c3cda1a
GM
59402012-08-14 Glenn Morris <rgm@gnu.org>
5941
5942 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5943
e1873bd0
MA
59442012-08-14 Michael Albinus <michael.albinus@gmx.de>
5945
5946 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5947 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5948 Use cached shell name.
5949
925411b4
FEG
59502012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5951
5952 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5953 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5954
e636fafe
DG
59552012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5956
5957 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5958 (ruby-percent-literal-beg-re): New constant.
5959 (ruby-syntax-general-delimiters-goto-beg): Rename to
5960 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5961 (ruby-syntax-propertize-general-delimiters): Rename to
5962 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5963 popular term. Adjust comments everywhere.
5964 (ruby-syntax-propertize-percent-literal): Only propertize when not
5965 inside a simple string or comment. When the literal is unclosed,
5966 leave the text after it unpropertized.
f063063a
DG
5967 (ruby-syntax-methods-before-regexp): New constant.
5968 (ruby-syntax-propertize-function): Use it to recognize regexps.
5969 Don't look at the text after regexp, just use the whitelist.
e636fafe 5970
e5b19827
AS
59712012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5972
5973 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5974 non-nil always load the compiled file if it exists. (Bug#12197)
5975
a9f6f311
CY
59762012-08-14 Chong Yidong <cyd@gnu.org>
5977
5978 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5979 (hi-lock-set-pattern): When deciding whether to use font lock or
5980 overlays, look at font-lock-mode instead of font-lock-fontified
5981 (Bug#12168).
5982 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5983 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5984
7d806b1e
DU
59852012-08-14 Daiki Ueno <ueno@unixuser.org>
5986
5987 * subr.el (internal--after-with-selected-window): Fix typo
5988 (Bug#12193).
5989
5beed586
FEG
59902012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5991
5992 Use `completion-table-dynamic' for completion functions.
5993 * progmodes/python.el
5994 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5995 (python-shell-completion--get-completions):
5996 Remove functions.
5beed586
FEG
5997 (python-shell-completion-complete-at-point): New function.
5998 (python-completion-complete-at-point): Use it.
5999
92cb3b04
J
60002012-08-13 Jambunathan K <kjambunathan@gmail.com>
6001
6002 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6003 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6004
89660017
SM
60052012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6006
3c98c962
SM
6007 * subr.el (function-get): Refine `autoload' arg so it can also
6008 autoload functions for gv.el (bug#12191).
6009 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6010 autoloads macros.
6011
aa7c6dbe
SM
6012 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6013 Prefer pcase-let over destructuring-bind.
6014 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6015 Also, remove whitespace as we go, rather than after accumulating the
6016 various places.
6017
89660017
SM
6018 * subr.el (internal--before-with-selected-window)
6019 (internal--after-with-selected-window): Fix typo seleted->selected.
6020 (with-selected-window): Adjust callers.
6021 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6022
31cd32c9
BG
60232012-08-13 Bastien Guerry <bzg@gnu.org>
6024
0fcd3d9f 6025 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6026 enhancement. (Bug#12172)
6027
1b15d8ad
AS
60282012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6029
31e54db0
AS
6030 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6031 type 1-6.
6032 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6033 extended headers.
6034
1b15d8ad
AS
6035 * files.el (hack-local-variables-filter): Remove useless eval.
6036
35cb9c06
MR
60372012-08-13 Martin Rudalics <rudalics@gmx.at>
6038
6039 * subr.el (with-selected-window): Fix last change.
6040
1439443b
SM
60412012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * subr.el (internal--before-with-seleted-window)
6044 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6045 (with-selected-window): Use them, to replace dependency on
6046 tty-top-frame.
1439443b 6047
0d9e2599
NN
60482012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6049
6050 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6051 binding for `newline'.
6052 (ruby-move-to-block): When moving backward, stop at block opening,
6053 not indentation.
6054 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6055 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6056 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6057 `ruby-toggle-block'.
6058
ba10c48c
SM
60592012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * ibuffer.el (ibuffer-do-toggle-read-only):
6062 * dired.el (dired-toggle-read-only):
6063 * buff-menu.el (Buffer-menu-toggle-read-only):
6064 * bindings.el (mode-line-toggle-read-only):
6065 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6066
9229c658
AS
60672012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6068
6069 * descr-text.el (describe-char): Put the overlays over the
6070 "displayed as" character.
6071
0fd09128
JB
60722012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6073
6074 * calc/calc-units.el (math-default-units-table): Give an
6075 initial value.
6076 (math-put-default-units): Add options to put composite units and
6077 unit systems in the default units table.
6078 (calc-convert-units): Send composite units to
6079 `math-put-default-units' when appropriate.
6080
9ff9402d 60812012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6082
fbb5e336
GM
6083 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6084
7aacaf15
GM
6085 * tutorial.el (help-with-tutorial):
6086 * emacs-lisp/copyright.el (copyright-update-directory):
6087 * emacs-lisp/autoload.el (autoload-find-generated-file)
6088 (autoload-find-file): Disable local eval: (for insurance).
6089
f40b9f10
GM
6090 * files.el (hack-local-variables-filter): If an eval: form is not
6091 known to be safe, and enable-local-variables is :safe, then ignore
6092 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6093 This is CVE-2012-3479.
f40b9f10 6094
daa9f1a6
SM
60952012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6098 (rx-form): Simplify.
6099
9cd80478
DG
61002012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6101
0d9e2599
NN
6102 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6103 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6104 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6105 (ruby-syntax-propertize-function): Adjust for changes in
6106 `ruby-syntax-propertize-heredoc'.
6107
61082012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6109
9cd80478
DG
6110 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6111 binding (use `M-;' instead).
9cd80478 6112 (ruby-singleton-class-p): New function.
0d9e2599 6113 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6114
d301b413
SM
61152012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6118
1530c98e
CY
61192012-08-10 Chong Yidong <cyd@gnu.org>
6120
6121 * progmodes/python.el (python-shell-get-process-name): Don't mess
6122 with same-window-buffer-names.
6123
6124 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6125 (eshell-remove-from-window-buffer-names): Make obsolete.
6126 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6127 (eshell): Just use pop-to-buffer-same-window instead.
6128
e1293765
CY
61292012-08-10 Chong Yidong <cyd@gnu.org>
6130
6131 * bindings.el: Bind M-= back to count-words-region.
6132
6133 * simple.el (count-words-region): Accept a prefix arg for acting
6134 on the entire buffer.
6135 (count-words--buffer-message): New helper function.
6136
e1894109
SM
61372012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6140 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6141 (event-start, event-end): Use posn-at-point to return a more
6142 informative posn.
6143 (posnp): New function.
6144 * mouse.el (popup-menu-normalize-position): Use it.
6145
c69f56a2
MY
61462012-08-10 Masatake YAMATO <yamato@redhat.com>
6147
6148 * mouse.el (popup-menu-normalize-position): New function.
6149 (popup-menu): Use `popup-menu-normalize-position' to normalize
6150 the form for POSITION argument.
6151
6152 * term/x-win.el (x-menu-bar-open):
6153 Use the value returend from (posn-at-point) as position
6154 passed to `popup-menu'.
6155
31673780
JB
61562012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6157
6158 * calc/calccomp.el (math-compose-expr): Add extra argument
6159 indicating that parentheses should be put around products in
6160 denominators. Give multiplication precedence over division during
6161 composition.
6162
dab7711b
CY
61632012-08-09 Chong Yidong <cyd@gnu.org>
6164
dee4ef93
CY
6165 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6166 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6167 (Man-untabify-command, manual-program): Convert to defcustom
6168 (Bug#10429).
6169
73e2bbc5
CY
6170 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6171
3e861c8a
CY
6172 * descr-text.el (describe-char): Don't insert extra newlines
6173 (Bug#10127).
6174
a9f5a649
CY
6175 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6176 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6177
dab7711b
CY
6178 * align.el (align-region): Delete temporary markers (Bug#10047).
6179 Plus some code cleanups.
6180
e0cc4efa
FEG
61812012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6182
6183 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6184 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6185 (python-shell-internal-last-output): Use make-local-variable
6186 instead of make-variable-buffer-local.
6187
489af14f
FEG
61882012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6189
6190 * progmodes/python.el: Enhancements to forward-sexp.
6191 (python-nav-forward-sexp): Rename from
6192 python-nav-forward-sexp-function.
c69f56a2
MY
6193 (python-nav--forward-sexp, python-nav--backward-sexp):
6194 New functions.
489af14f 6195
0fc50303
JB
61962012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6197
6198 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6199 modes and simplification modes.
6200
5d65606a
SM
62012012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * delsel.el (delete-selection-pre-hook): Don't propagate the
6204 file-supersession signals (bug#12161).
6205
4250fdf5
SM
62062012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6209 (cl-map-extents): Add compatibility aliases (bug#12135).
6210
d9f9b465
MA
62112012-08-08 Michael Albinus <michael.albinus@gmx.de>
6212
6213 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6214 tests by `ignore-error'.
6215 (tramp-find-shell): Open also a new shell, when cache is already
6216 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6217
ce0fcefa
JL
62182012-08-08 Juri Linkov <juri@jurta.org>
6219
6220 * bookmark.el: Add `defaults' property to the bookmark record.
6221 (bookmark-current-buffer): Doc fix.
6222 (bookmark-make-record): Add `defaults' property with default values
6223 to the bookmark record.
6224 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6225 with `bookmark-insert-current-bookmark'.
6226 (bookmark-set): Get `defaults' property from the bookmark record
6227 and use it in `read-from-minibuffer'.
6228 (bookmark-insert-current-bookmark): Remove function.
6229
6230 * info.el (Info-bookmark-make-record): Add `defaults' property
6231 with values of canonical Info node name, the current Info file
6232 name and the current Info node name. (Bug#12107)
6233
53fa8652
JL
62342012-08-08 Juri Linkov <juri@jurta.org>
6235
6236 * files.el (basic-save-buffer): Use `buffer-name' as the default
6237 of `read-file-name' when buffer is not visiting a file (bug#12128).
6238
242c0a95
JL
62392012-08-08 Juri Linkov <juri@jurta.org>
6240
6241 * info.el (Info-isearch-search): Doc fix.
6242 (Info-search): Change search-failed message from "initial node" to
6243 "end of node" (bug#12078).
6244 (Info-isearch-search): Change `isearch-string-state' to
6245 `isearch--state-string'.
6246
32ac3a6b
GM
62472012-08-08 Glenn Morris <rgm@gnu.org>
6248
6249 * language/persian.el: Remove file.
f8c1afd5 6250 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6251 * loadup.el: Remove language/persian.
6252
2c2d9c9c
OF
62532012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6254
6255 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6256
2d79ec42
FEG
62572012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6258
3c855b96 6259 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6260 (python-syntax-context) Rename from python-info-ppss-context.
6261 (python-syntax-context-type): Rename from
6262 python-info-ppss-context-type.
6263 (python-syntax-comment-or-string-p): Rename from
6264 python-info-ppss-comment-or-string-p.
6265
2bd255dd
JB
62662012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6267
6268 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6269
c395097f
AS
62702012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6271
6125983e
AS
6272 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6273 a defcustom that is quoted with backquote.
6274
4250fdf5
SM
6275 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6276 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6277 (math-do-arg-check, math-define-function-body): Use backquote forms.
6278 * calc/calc-ext.el (math-defcache): Likewise.
6279 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6280 * allout.el (allout-new-exposure): Likewise.
6281 * calc/calcalg2.el (math-tracing-integral): Likewise.
6282 * info.el (Info-last-menu-item): Likewise.
6283 * emulation/vip.el (vip-loop): Likewise.
6284 * textmodes/artist.el (artist-funcall): Likewise.
6285 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6286 Construct menu-item directly.
6287
4250fdf5
SM
6288 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6289 Don't declare.
c395097f 6290
5fb50dd3
CY
62912012-08-07 Chong Yidong <cyd@gnu.org>
6292
6293 * simple.el (deactivate-mark): Preserve text properties when
6294 saving the primary selection (Bug#8384).
6295
54eea618
KR
62962012-08-07 Kevin Ryde <user42@zip.com.au>
6297
6298 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6299 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6300 and continue processing (Bug#12110).
6301
638eaeb9
SM
63022012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6305 syntax-propertize-function (bug#10095).
6306
ea376861
SM
63072012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6308
f91b35be
SM
6309 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6310 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6311 describe-function-1.
6312 (describe-function-1): Use them. Move compiler macro after sig.
6313 (help-fns--compiler-macro): Use function-get. Assume we're already in
6314 standard-output. Adjust layout to new call order.
6315
ea376861
SM
6316 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6317 re-binding a symbol that has a symbol-macro (bug#12119).
6318
d5be7bd0
MB
63192012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6320
6321 * language/persian.el: New file. (Bug#11812)
6322 * loadup.el: Add language/persian.el.
6323
90749b53
CY
63242012-08-06 Chong Yidong <cyd@gnu.org>
6325
6326 * window.el (window--maybe-raise-frame): New function.
6327 (window--display-buffer): Split off from here.
6328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6329 (display-buffer-pop-up-window, display-buffer-use-some-window):
6330 Obey an inhibit-switch-frame action alist entry.
6331 (display-buffer): Update doc.
6332
6333 * replace.el (occur-after-change-function): Avoid losing focus by
6334 using the inhibit-switch-frame display parameter (Bug#12139).
6335
ba7b0154
FEG
63362012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6337
6338 Make internal shell process buffer names start with space.
6339 * progmodes/python.el (python-shell-make-comint): Add optional
6340 argument INTERNAL.
6341 (run-python-internal): Use it.
6342 (python-shell-internal-get-or-create-process): Check for new
6343 internal buffer names.
6344
5eaeacb5
GM
63452012-08-06 Glenn Morris <rgm@gnu.org>
6346
e296d94b 6347 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6348 Do less getting and setting of environment variables.
6349
b7ccbdc2
CY
63502012-08-05 Chong Yidong <cyd@gnu.org>
6351
777fe95e
CY
6352 * proced.el (proced): Add substitution string to docstring to
6353 trigger autoloading of the proced library on C-h f (Bug#1768).
6354
4250fdf5
SM
6355 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6356 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6357
6358 * imenu.el (imenu-generic-expression): Move documentation here
6359 from imenu--generic-function.
6360 (imenu--generic-function): Refer to imenu-generic-expression.
6361
9e3b7800 63622012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6363
6364 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6365 indentation declaration.
6366 (viper-loop): Add indentation declaration (Bug#7025).
6367
e5d9c0d1
CY
63682012-08-05 Chong Yidong <cyd@gnu.org>
6369
f0422feb
CY
6370 * help-fns.el (describe-variable): Add hyperlink for
6371 directory-local variables files. Improve buffer-local and
6372 permanent-local reporting; suggested by MON KEY (Bug#6644).
6373
6374 * help-mode.el (help-dir-local-var-def): New button type.
6375
e5d9c0d1
CY
6376 * files.el (kill-buffer-hook): Provide a defvar.
6377
a4f2deaa
GM
63782012-08-05 Glenn Morris <rgm@gnu.org>
6379
6380 * eshell/esh-ext.el (eshell/addpath):
6381 Also update eshell-path-env. (Bug#12013)
6382
a9dd5754
CY
63832012-08-05 Chong Yidong <cyd@gnu.org>
6384
a4f2deaa 6385 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6386
d014c740
CY
6387 * fringe.el (fringe-styles): Add docstring.
6388 (fringe--check-mode): New function.
6389 (set-fringe-mode, set-fringe-style): Use it.
6390 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6391
a9dd5754
CY
6392 * files.el (set-auto-mode): Fix invalid setq call.
6393
7c2dc8bd
SM
63942012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * isearch.el: Misc simplification; use defstruct.
6397 (isearch-mode-map): Dense maps now work like sparse ones.
6398 (isearch--state): New defstruct.
6399 (isearch-string-state, isearch-message-state, isearch-point-state)
6400 (isearch-success-state, isearch-forward-state)
6401 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6402 (isearch-wrapped-state, isearch-barrier-state)
6403 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6404 replaced by defstruct's accessors.
6405 (isearch--set-state): Rename from isearch-top-state and change
6406 calling convention.
6407 (isearch-push-state): Use new isearch--get-state.
6408 (isearch-toggle-word): Disable regexp when enabling word.
6409 (isearch-message-prefix): Remove unused arg _c-q-hack.
6410 (isearch-message-suffix): Remove unused arg _ellipsis.
6411
7fcc0070
AS
64122012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6413
6414 * simple.el (list-processes--refresh): For a server use :host or
6415 :local as the address.
97ad0769 6416 (list-processes): Doc fix.
7fcc0070 6417
a11035b8 64182012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6419
6420 * lisp/mpc.el: Support password in host argument.
6421 (mpc--proc-connect): Parse and use new password element.
6422 Set mpc-proc variable instead of returning process.
6423 (mpc-proc): Adjust accordingly.
6424
6dad7178
EZ
64252012-08-03 Eli Zaretskii <eliz@gnu.org>
6426
18949c2f
EZ
6427 * whitespace.el (whitespace-display-mappings): Use Unicode
6428 codepoints, instead of emacs-mule codepoints. See
6429 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6430 for the details.
6431
6dad7178
EZ
6432 * files.el (file-truename): Don't skip symlink-chasing part on
6433 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6434 Windows into the loop that recursively chases symlinks.
6435 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6436 MS-DOS.
6437
385b0198
CY
64382012-08-03 Chong Yidong <cyd@gnu.org>
6439
6200f3c4
CY
6440 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6441
385b0198
CY
6442 * sort.el (sort-regexp-fields): Doc fix.
6443
b9e74744
TH
64442012-08-03 Tassilo Horn <tsdh@gnu.org>
6445
6446 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6447 labels regex position point at the expected place.
6448
41013cb4
MK
64492012-08-03 MON KEY <monkey@sandpframing.com>
6450
6451 * net/imap.el (imap-interactive-login, imap-authenticate)
6452 (imap-mailbox-lsub, imap-mailbox-list)
6453 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6454 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6455 (imap-parse-response): Doc fix.
6456
0ffee616
JT
64572012-08-03 João Távora <joaotavora@gmail.com>
6458
6459 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6460 if sexp scanning does not move point (Bug#5734).
6461
cfcc9cc8
TH
64622012-08-02 Tassilo Horn <tsdh@gnu.org>
6463
6464 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6465 Add listings, minted, and ctable packages.
6466 (reftex-label-alist-builtin): Move listings, minted, and ctable
6467 entries before LaTeX.
a01bbb84 6468 (reftex-label-alist): Docfix.
cfcc9cc8 6469
66ec2442
BG
64702012-08-02 Bastien Guerry <bzg@gnu.org>
6471
6472 * replace.el (occur): Fix docstring (bug#12122).
6473
837b365b
GM
64742012-08-02 Glenn Morris <rgm@gnu.org>
6475
6476 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6477
e098de97
PE
64782012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6479
6480 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6481 * international/mule-cmds.el: Create
6482 inactivate-current-input-method-function as an obsolete alias for
6483 deactivate-current-input-method-function. See Katsumi Yamaoka in
6484 <http://bugs.gnu.org/10150#46>.
6485
a0f95636
JB
64862012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6487
6488 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6489 of nested `if's.
6490
0d26d7c4
GM
64912012-08-01 Glenn Morris <rgm@gnu.org>
6492
6493 * progmodes/autoconf.el (autoconf-definition-regexp):
6494 Add AH_TEMPLATE, adjust submatch numbering.
6495 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6496 (autoconf-current-defun-function): Update for above change.
6497 (autoconf-current-defun-function): First skip to end of current word.
6498
b686ba06
RS
64992012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6500
6501 * calendar/cal-html.el (cal-html-insert-agenda-days):
6502 Fix typo. (Bug#12018)
6503
0d49da68
FEG
65042012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6505
6506 Shell processes: enhancements to startup and CEDET compatibility.
6507 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6508 (python-shell-make-comint): accept-process-output at startup.
6509 (run-python-internal): Set inferior-python-mode-hook to nil.
6510 (python-shell-internal-get-or-create-process): call sit-for.
6511 (python-preoutput-result): Add obsolete alias.
6512 (python-shell-internal-send-string): Use it.
6513 (python-shell-send-setup-code): Remove call to
6514 accept-process-output.
6515
f1a71c6e
AS
65162012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6517
6518 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6519 (Bug#12108)
6520
d2605269
JB
65212012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6522
6523 * calc-mode.el (calc-basic-simplification-mode): Rename from
6524 `calc-limited-simplification-mode'.
6525 (calc-alg-simplification-mode): New function.
fc0c31f8 6526 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6527
d2605269
JB
6528 * calc.el (calc-set-mode-line): Adjust mode line display for
6529 basic simplification mode.
6530
6531 * calc-help.el (calc-m-prefix-help): Update help message.
6532
6533 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6534 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6535
a3827a43
BG
65362012-07-31 Bastien Guerry <bzg@gnu.org>
6537
6538 * man.el (man): Fix comment. (bug#12101)
6539
502e3f89
MR
65402012-07-31 Martin Rudalics <rudalics@gmx.at>
6541
6542 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6543 Don't return a non-nil value when no suitable buffer was found.
6544
d7714961
FEG
65452012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6546
6547 * progmodes/python.el (run-python-internal): Disable font lock for
6548 internal shells.
6549
1f45e27e
SM
65502012-07-30 Stefan Merten <smerten@oekonux.de>
6551
70efc5c9 6552 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6553 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6554 (rst-official-version, rst-official-cvs-rev)
6555 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6556 (rst-mode-map): New key binding.
6557
0aee6912
PE
65582012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6559
6560 Update .PHONY listings in makefiles.
6561 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6562 autoloads, update-subdirs, updates, bzr-update, update-authors,
6563 compile-onefile, compile-calc, backup-compiled-files,
6564 compile-after-backup, compile-one-process, mh-autoloads,
6565 bootstrap-clean, distclean, maintainer-clean.
6566
9052f9f0
JB
65672012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6568
1823ac5a
JB
6569 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6570 (calc-set-mode-line): Don't display "AlgSimp ".
6571
6572 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6573 (calc-lim-simplify-mode): New function.
6574 (calc-set-simplify-mode): Default to 'alg.
6575 (calc-default-simplify-mode): Make algebraic simplifications
6576 the default.
6577
6578 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6579 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6580
8d7c7eed 6581 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6582 indicate new simplification modes.
6583
1823ac5a
JB
6584 * calc/README: Mention new default simplification mode.
6585
9052f9f0
JB
6586 * calc/calc.el (math-normalize-error): New variable.
6587 (math-normalize): Set `math-normalize-error' to t
6588 when there's an error.
6589
6590 * calc/calc-alg.el (math-simplify): Don't simplify when
6591 `math-normalize' returns an error.
6592
20ba0cb4
EZ
65932012-07-29 Eli Zaretskii <eliz@gnu.org>
6594
6595 * international/mule-cmds.el (set-locale-environment): Revert last
6596 change, since display-graphic-p returns nil when this function is
6597 called during startup. Instead...
6598
6599 * term/w32console.el (terminal-init-w32console): ...setup the
6600 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6601
a5dcc929
JL
66022012-07-29 Juri Linkov <juri@jurta.org>
6603
6604 * simple.el (goto-line): Don't display default line number in the
6605 prompt because it should be displayed by `read-number' (bug#9952).
6606 Add the current line number to the defaults of `goto-line' to
6607 allow its easier modification by users with `M-n' (bug#9201).
6608
6609 * subr.el (read-number): Support multiple default values like in
6610 other minibuffer reading functions. Replace `read' with
6611 `string-to-number' for consistency with `number-to-string'.
6612
72b255c7
PE
66132012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6614
6615 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6616 * emulation/viper-init.el (viper-deactivate-input-method-action):
6617 Rename from viper-inactivate-input-method-action.
6618 (viper-deactivate-input-method):
6619 Rename from viper-inactivate-input-method.
6620 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6621 * international/mule-cmds.el (deactivate-input-method):
6622 Rename from inactivate-input-method.
6623 Also run input-method-deactivate-hook.
6624 (deactivate-current-input-method-function):
6625 Rename from inactivate-current-input-method-function.
6626 (input-method-deactivate-hook): New hook.
6627 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6628 (inactivate-input-method): Mark obsolete.
6629
72b255c7
PE
6630 * international/quail.el (quail-activate):
6631 Also run quail-deactivate-hook.
6632 (quail-deactivate): Rename from quail-inactivate.
6633 * international/robin.el (robin-activate):
6634 Also run robin-deactivate-hook.
6635 (robin-deactivate): Rename from robin-inactivate.
6636
2549c068
CY
66372012-07-29 Chong Yidong <cyd@gnu.org>
6638
6639 * simple.el (indicate-copied-region): New function.
6640 (kill-ring-save): Split off from here.
6641
6642 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6643 (kill-rectangle): Set deactivate-mark to t on read-only error.
6644
6645 * register.el (copy-to-register, copy-rectangle-to-register):
6646 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6647 (append-to-register, prepend-to-register): Call indicate-copied-region.
6648
66492012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6650
6651 * simple.el (async-shell-command-buffer): New defcustom.
6652 (shell-command): Use it. (Bug#4719)
6653
01bd1b0d
EZ
66542012-07-28 Eli Zaretskii <eliz@gnu.org>
6655
6656 * international/mule-cmds.el (set-locale-environment): In a
6657 console session on MS-Windows, set up keyboard and terminal
6658 encoding from the OEM codepage, not the ANSI codepage.
6659 (Bug#12055)
6660
a55739d3
CY
66612012-07-28 Chong Yidong <cyd@gnu.org>
6662
6663 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6664 gdb-get-location.
6665
0e1a094f 66662012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6667
6668 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6669 the alist (bug#12029).
6670
20329d73
EZ
66712012-07-28 Eli Zaretskii <eliz@gnu.org>
6672
6673 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6674 (compile-always, compile-first)
6675 ($(lisp)/calendar/cal-loaddefs.el)
6676 ($(lisp)/calendar/diary-loaddefs.el)
6677 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6678 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6679 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6680 instead of on update-subdirs.
6681 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6682
345a2258
CY
66832012-07-28 Chong Yidong <cyd@gnu.org>
6684
1eee6341
CY
6685 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6686 directory if vc-deduce-backend returns nil (Bug#7350).
6687
345a2258
CY
6688 * simple.el (delete-trailing-lines): New option.
6689 (delete-trailing-whitespace): Obey it (Bug#11879).
6690
049a0936
DE
66912012-07-28 David Engster <deng@randomsample.de>
6692
6693 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6694 Explanation of new 'symbol-qnames feature in doc-strings.
6695 (xml-maybe-do-ns): Return expanded names as plain symbols if
6696 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6697 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6698
aa81af71
FEG
66992012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6700
6701 Consistent completion in inferior python with emacs -nw.
6702 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6703 binding in inferior-python-mode-map with "\t".
6704 (python-shell-completion-complete-at-point)
6705 (python-completion-complete-at-point): Remove interactive spec.
6706
e827b1eb
JB
67072012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6708
6709 * calc/calccomp.el (math-compose-expr): Undo previous change.
6710
a90dfb95
FEG
67112012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6712
4250fdf5 6713 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6714 run-python.
6715 (python-shell-make-comint): Fix pop-to-buffer call.
6716 (run-python): Autoload. New arg SHOW.
6717 (python-shell-get-or-create-process): Do not pop python process
6718 buffer.
6719
32770973 67202012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6721
6722 * notifications.el (notifications-on-action-signal)
6723 (notifications-on-closed-signal): Use also the bus address for the map.
6724 (notifications-notify, notifications-close-notification)
fc0c31f8 6725 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6726
86332df2
TH
67272012-07-27 Tassilo Horn <tsdh@gnu.org>
6728
4250fdf5
SM
6729 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6730 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6731 ctable macro.
6732 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6733 labels written in keyvals syntax.
6734
ca1302a4
JB
67352012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6736
6737 * calc/calccomp.el (math-compose-expr): Use parentheses when
6738 there is a product in the denominator of a fraction.
6739
f8b91036
EZ
67402012-07-26 Eli Zaretskii <eliz@gnu.org>
6741
6742 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6743 ($(lisp)/calendar/diary-loaddefs.el)
6744 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6745 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6746 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6747 rewritten while the autoload files are built at the same time,
6748 which needs to load subdirs.el.
6749
c8e5a42c
MR
67502012-07-26 Martin Rudalics <rudalics@gmx.at>
6751
6752 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6753 (mouse-drag-line): Don't exit tracking when a switch-frame or
6754 switch-window event occurs (Bug#12006).
6755
670d85ea
SM
67562012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * mouse.el (popup-menu): Fix last change.
6759
7abaf5cc
SM
67602012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 Autoload from Lisp with more care. Follow aliases when looking for
6763 function properties.
6764 * subr.el (autoloadp): New function.
6765 (symbol-file): Use it.
6766 (function-get): New function.
6767 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6768 autoload-do-load.
6769 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6770 (lisp-indent-function):
6771 * emacs-lisp/gv.el (gv-get):
6772 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6773 * emacs-lisp/byte-opt.el (byte-optimize-form):
6774 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6775 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6776 Use function-get.
6777 * emacs-lisp/cl.el: Don't propagate function properties any more.
6778
6779 * speedbar.el (speedbar-add-localized-speedbar-support):
6780 * emacs-lisp/disass.el (disassemble-internal):
6781 * desktop.el (desktop-load-file):
6782 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6783 (describe-function-1):
6784 * emacs-lisp/find-func.el (find-function-noselect):
6785 * emacs-lisp/elp.el (elp-instrument-function):
6786 * emacs-lisp/advice.el (ad-has-proper-definition):
6787 * apropos.el (apropos-safe-documentation, apropos-macrop):
6788 * emacs-lisp/debug.el (debug-on-entry):
6789 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6790 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6791 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6792
b1364986
AA
67932012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6794
6795 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6796 function, not an obsolete variable (Bug#12046).
6797
67ada220
AS
67982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6799
6800 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6801
f08088e3
CS
68022012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6803
6804 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6805 window only if it is still live (Bug#12034).
6806
8137e7b3
MR
68072012-07-25 Martin Rudalics <rudalics@gmx.at>
6808
6809 * subr.el (redirect-frame-focus): Add advertised calling
6810 convention (Bug#12030).
6811
09ae5da1
PE
68122012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6813
6814 Prefer typical American spelling for "acknowledgment".
6815 * vc/add-log.el (change-log-acknowledgment): Rename from
6816 change-log-acknowledgement, with an alias for the old name.
6817
3cc5a3a8
JB
68182012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6819
6820 * calc-alg.el (math-simplify-divide): Don't cross multiply
6821 in an equation when the lhs is a variable.
6822
b7af7f62
JD
68232012-07-24 Julien Danjou <julien@danjou.info>
6824
6825 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6826 Remove, unused.
6827
ec1b09b1
EZ
68282012-07-23 Eli Zaretskii <eliz@gnu.org>
6829
6830 * startup.el (command-line): Don't display an empty user name in
6831 the error message about non-existent home directory, when
6832 init-file-user was set to an empty string. See
6833 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6834 for the details and context.
6835
b525fd8a
VB
68362012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6837
6838 * ses.el (ses-cell-formula-aset): New macro.
6839 (ses-cell-references-aset): New macro.
6840 (ses-cell-p): New function.
6841 (ses-rename-cell): Do no longer rely on complex operations like
6842 ses-cell-set-formula or ses-set-cell to change the cell and handle
6843 the undo at the same time, but rather use lower level new macros
6844 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6845 the undo directly. Refresh the mode line.
b525fd8a 6846
2c73e345
LL
68472012-07-21 Leo Liu <sdl.web@gmail.com>
6848
670d85ea
SM
6849 * progmodes/cc-cmds.el (c-defun-name):
6850 Use match-string-no-properties instead for consistency.
2c73e345 6851
542dfbde
LL
68522012-07-20 Leo Liu <sdl.web@gmail.com>
6853
3646bcd6
LL
6854 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6855 (Bug#7879)
6856
542dfbde
LL
6857 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6858
25721031
CY
68592012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6862 * progmodes/bug-reference.el, misearch.el: Provide themselves
6863 (bug#11915).
6864
6865 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6866 of narrowed buffer (bug#11966).
6867
316e68a7
VB
68682012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6869
6870 * ses.el (ses-rename-cell): Set new name also in reference list of
6871 cells of which the renamed cell depends.
6872
bbf0e7d9
MY
68732012-07-20 Masatake YAMATO <yamato@redhat.com>
6874
6875 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6876 to check whether menu-bar is shown or not. If not shown,
6877 show the menu-bar as a popup menu instead of using tmm.
6878 * mouse.el (popup-menu): Accept `point' as `position' argument.
6879
c28662a8
DG
68802012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6881
6882 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6883 up inside string symbol literal (bug#11923).
6884
87ab808f
EZ
68852012-07-20 Eli Zaretskii <eliz@gnu.org>
6886
6887 * startup.el (fancy-startup-text): Read the whole tutorial, not
6888 just its first 256 bytes. Prevents gibberish in display of the
6889 tutorial title.
6890
89dea803
DA
68912012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6892
6893 Drop idle buffer compaction due to an absence of the
6894 proved efficiency.
6895 * compact.el: Remove.
6896
8a4e6db8
SS
68972012-07-19 Sam Steingold <sds@gnu.org>
6898
6899 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6900 vc-bzr-pull & vc-bzr-merge-branch.
6901 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6902 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6903 for consistency with compilation-error-regexp-alist.
6904 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6905 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6906 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6907 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6908
5db81e33
SM
69092012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * emacs-lisp/chart.el: Use lexical-binding.
6912 (chart-emacs-storage): Don't hardcode the list of entries.
6913
5b835e1d
DA
69142012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6915
6916 Next round of tweaks caused by Fgarbage_collect changes.
6917 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6918
9cd47b72
DA
69192012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6920
6921 Compact buffers when idle.
6922 * compact.el: New file.
6923
1d6fc0df
SM
69242012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * subr.el (eventp): Presume that if it looks vaguely like an event,
6927 it's an event (bug#10190).
6928
1d29cc7d
FEG
69292012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6930
6931 Enhancements to ppss related code (thanks Stefan).
6932 * progmodes/python.el (python-indent-context)
6933 (python-indent-calculate-indentation, python-indent-dedent-line)
6934 (python-indent-electric-colon, python-nav-forward-block)
6935 (python-mode-abbrev-table)
1d6fc0df 6936 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6937 for ppss context.
6938 (python-info-continuation-line-p): Cleanup.
6939 (python-info-ppss-context): Do not catch 'quote.
6940 (python-info-ppss-context-type)
6941 (python-info-ppss-comment-or-string-p): Simplify.
6942
d583cbe6
FEG
69432012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6944
6945 * progmodes/python.el: Enhancements to eldoc support.
6946 (python-info-current-symbol): New function.
6947 (python-eldoc-at-point): Use python-info-current-symbol.
6948 (python-info-current-defun): Fix cornercase on first defun scan.
6949 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6950 and signal error when no inferior python process is available.
6951
eceb6feb
DG
69522012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6953
6954 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6955 assume it's always t.
6956 (vc-git-registered): Remove caching, the function is only called
6957 once.
6958 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6959
4c8ff0fe
CY
69602012-07-18 Chong Yidong <cyd@gnu.org>
6961
19fb7186
CY
6962 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6963
9587c688
CY
6964 * simple.el (count-words): Report on narrowing (Bug#9959).
6965
0fe776a1
CY
6966 * bindings.el: Bind M-= to count-words.
6967
4c8ff0fe
CY
6968 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6969
7f5331cc
MY
69702012-07-18 Masatake YAMATO <yamato@redhat.com>
6971
6972 * progmodes/sh-script.el (sh-imenu-generic-expression):
6973 Capture a function with `function' keyword and without parentheses
6974 like "function FOO" (bug#11856).
6975
2dc2a609
TH
69762012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6977
6978 * window.el (split-window-sensibly): Make WINDOW argument
6979 optional.
6980
439f7677
CY
69812012-07-18 Chong Yidong <cyd@gnu.org>
6982
9aeb25a6
CY
6983 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6984
439f7677
CY
6985 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6986 and make C-x 8 RET exit isearch (Bug#11439).
6987
6988 * international/iso-transl.el: Move isearch-mode-map key
6989 definitions to isearch.el.
6990
12999ea8
SM
69912012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6994 (eieio-defclass): Use gv-define-setter when possible.
6995
3ab6e069
DA
69962012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6997
6998 Reflect recent changes in Fgarbage_collect.
6999 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7000 reflect new format of data returned by Fgarbage_collect.
7001
0a60bc10
FEG
70022012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7003
7004 New utility functions + python-info-ppss-context fix (Bug#11910).
7005 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7006 (python-info-ppss-comment-or-string-p): New functions.
7007 (python-info-ppss-context): Small fix for string check.
7008
6dafa0d5
JL
70092012-07-17 Juri Linkov <juri@jurta.org>
7010
7011 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7012 (dired-do-async-shell-command): Don't add `*' at the end of the
7013 command (Bug#11815).
7014 (dired-do-shell-command): Doc fix.
7015 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7016 Join the individual commands using either "&" or ";" as the
7017 separator depending on the values of these trailing characters.
7018 At the end re-add the trailing "&". (Bug#10598)
7019
7020 * simple.el (async-shell-command): Sync the interactive spec with
7021 `shell-command'. Doc fix.
7022 (shell-command): Doc fix.
7023
b19dd9d1
JL
70242012-07-17 Juri Linkov <juri@jurta.org>
7025
7026 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7027
bcdc27d7 70282012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7029
bcdc27d7 7030 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7031 * progmodes/python.el (python-nav-beginning-of-statement):
7032 Rename from python-nav-statement-start.
bcdc27d7
FEG
7033 (python-nav-end-of-statement): Rename from
7034 python-nav-statement-end.
7035 (python-nav-beginning-of-block): Rename from
7036 python-nav-block-start.
7037 (python-nav-end-of-block): Rename from python-nav-block-end.
7038
191da00e
FEG
70392012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7040
7f5331cc
MY
7041 * progmodes/python.el (python-shell-send-string-no-output):
7042 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7043 future interactions (Bug#11868).
7044
4dc7c8d5 70452012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7046
88ecaf8f
SM
7047 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7048
ef501ef0
SM
7049 * emacs-lisp/elint.el (elint-find-args-in-code):
7050 Use help-function-arglist, so as to handle lexical byte-code.
7051
aa7aaf8f
SM
7052 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7053 change (bug#11826).
7054
45fd731c
SM
70552012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7056
2143fa32
SM
7057 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7058 Avoid spuriously marking the buffer as modified because of c-is-sws.
7059
efc26dbe
SM
7060 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7061 as not-a-comment (bug#11946).
7062
f5695c9a
SM
7063 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7064 for uninterned vars.
7065
7066 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7067 Use read-event since we don't really want to read chars but bytes.
7068
45fd731c
SM
7069 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7070 $$..$$ but also $..$ using regexps (bug#11953).
7071 Use tex-verbatim for \url and \path.
7072 (tex-font-lock-keywords): Define as defconst like the others.
7073 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7074
ddfc8813
RK
70752012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7076
7077 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7078 alias for insert-char.
7079
758e556a
FEG
70802012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7081
7082 * progmodes/python.el: Simplified imenu implementation.
7083 (python-nav-jump-to-defun): Remove command.
7084 (python-mode-map): Use `imenu' instead.
7085 (python-nav-list-defun-positions-cache)
7086 (python-imenu-include-defun-type, python-imenu-make-tree)
7087 (python-imenu-subtree-root-label, python-imenu-index-alist):
7088 Remove vars.
7089 (python-nav-list-defun-positions, python-nav-read-defun)
7090 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7091 (python-imenu-make-tree, python-imenu-create-index):
7092 Remove functions.
758e556a
FEG
7093 (python-mode): Update to interact with imenu by setting
7094 `imenu-extract-index-name-function' only.
7095
032d23ab
FEG
70962012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7097
7098 * progmodes/python.el: Enhancements to navigation commands.
7099 (python-nav-backward-sentence)
7100 (python-nav-forward-sentence): Remove.
7101 (python-nav-backward-statement, python-nav-forward-statement)
7102 (python-nav-statement-start, python-nav-statement-end)
7103 (python-nav-backward-block, python-nav-forward-block)
7104 (python-nav-block-start, python-nav-block-end)
7105 (python-nav-forward-sexp-function)
7106 (python-info-current-line-comment-p)
7107 (python-info-current-line-empty-p): New functions.
7108 (python-indent-context): Use `python-nav-statement-start'.
7109
01795a1b
MA
71102012-07-16 Michael Albinus <michael.albinus@gmx.de>
7111
9328d9aa
MA
7112 * eshell/em-ls.el (eshell/ls): Use `apply'.
7113
7114 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7115 multi-hops, instead of Tramp internals.
7116
01795a1b
MA
7117 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7118
7119 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7120 when F1 and F2 are located on different hosts.
7121
63408057
CY
71222012-07-14 Chong Yidong <cyd@gnu.org>
7123
7124 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7125 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7126 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7127 (xterm-mouse--read-event-sequence-1000)
7128 (xterm-mouse--read-event-sequence-1006): New functions. For old
7129 mouse protocol, handle M-mouse-X events correctly.
7130 (xterm-mouse-event): New arg specifying mouse protocol.
7131 (turn-on-xterm-mouse-tracking-on-terminal)
7132 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7133 sequence to toggle extended coordinates on newer XTerms.
7134 This appears to be harmless on terminals which do not support this.
63408057 7135
cd276f6e
LL
71362012-07-14 Leo Liu <sdl.web@gmail.com>
7137
28ca98ac
LL
7138 Add fringe bitmap indicators for flymake. (Bug#11253)
7139 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7140 (flymake-make-overlay): New arg BITMAP.
7141 (flymake-error-bitmap, flymake-warning-bitmap)
7142 (flymake-fringe-indicator-position): New user variables.
7143
cd276f6e
LL
7144 * fringe.el: New bitmap exclamation-mark.
7145
04408072
JD
71462012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7147
7148 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7149 also (Bug#7879).
7150
b5cf7fc4
CY
71512012-07-14 Chong Yidong <cyd@gnu.org>
7152
7153 * electric.el (electric-pair-post-self-insert-function): Fix pair
7154 insertion in empty-region case (Bug#11520).
7155
be755c79
RT
71562012-07-14 Chong Yidong <cyd@gnu.org>
7157
45fd731c
SM
7158 * bindings.el: Consolidate ctl-x-r-map bindings.
7159 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7160
7161 * rect.el, register.el: Move bindings to bindings.el.
7162
71632012-07-14 Reuben Thomas <rrt@sc3d.org>
7164
7165 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7166
7f5b3198
AS
71672012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7168
7169 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7170
97662200
JB
71712012-07-13 Juanma Barranquero <lekktu@gmail.com>
7172
80185fed
JB
7173 * bindings.el (top): Use `mapc' instead of `mapcar'.
7174
97662200
JB
7175 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7176
2bb1ae55
MA
71772012-07-13 Michael Albinus <michael.albinus@gmx.de>
7178
7179 * progmodes/sql.el (sql-comint): Suppress the check for program on
7180 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7181 (Bug#11908)
7182
dea31bd3
CY
71832012-07-13 Chong Yidong <cyd@gnu.org>
7184
7185 * bindings.el: Assign a non-nil permanent-local property to
7186 per-buffer variables which lack a default value (Bug#11930).
7187
7188 * help-fns.el (describe-variable): In the "automatically becomes
7189 local" notice, take note of permanent-local variables.
7190
b68b3337
CY
71912012-07-13 Chong Yidong <cyd@gnu.org>
7192
7193 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7194 to allow printing the message when called from Lisp.
7195
7196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7197 Remove toggle-read-only.
7198
7199 * bs.el (bs-toggle-readonly):
45fd731c
SM
7200 * buff-menu.el (Buffer-menu-toggle-read-only):
7201 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7202
7203 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7204 Remove with-no-warnings around toggle-read-only.
7205 (ffap-read-only, ffap-read-only-other-window)
7206 (ffap-read-only-other-frame): Callers changed.
7207
7208 * help-mode.el: Don't require view package.
7209 (help-mode-finish): Set buffer-read-only instead of calling
7210 toggle-read-only.
7211
7212 * bindings.el (mode-line-toggle-read-only):
7213 * dired.el (dired-toggle-read-only):
7214 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7215 with non-nil second arg.
7216
7217 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7218 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7219 directly.
7220
56bc1586
EZ
72212012-07-12 Eli Zaretskii <eliz@gnu.org>
7222
7223 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7224 not incf.
7225
a464a6c7
SM
72262012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 More CL cleanups and reduction of use of cl.el.
7229 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7230 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7231 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7232 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7233 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7234 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7235 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7236 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7237 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7238 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7239 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7240 * eshell/em-cmpl.el, eshell/em-banner.el:
7241 * calendar/parse-time.el: Use cl-lib.
7242 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7243 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7244 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7245 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7246 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7247 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7248 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7249 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7250 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7251 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7252 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7253 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7254 `lambda' rather than with `quote'.
7255 (eshell-do-opt): Adjust accordingly.
7256 (eshell-process-option): Simplify.
7257 * eshell/esh-var.el:
7258 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7259 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7260 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7261 to `pcase--dontcare'.
7262 * emacs-lisp/cl.el (labels): Mark obsolete.
7263 (cl--letf, letf): Move to cl-lib.
7264 (cl--letf*, letf*): Remove.
7265 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7266 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7267 (cl-progv): Rewrite.
7268 (cl--letf, cl-letf): Move from cl.el.
7269 (cl-letf*): New macro.
7270 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7271
7ad4afe1
MA
72722012-07-11 Michael Albinus <michael.albinus@gmx.de>
7273
7274 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7275
9af57756
CY
72762012-07-11 Chong Yidong <cyd@gnu.org>
7277
7278 * vc/log-edit.el (log-edit-vc-backend): New variable.
7279 (log-edit): Doc fix.
7280
7281 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7282 argument of log-edit to set up all local variables.
7283 (vc-start-logentry): New optional arg specifying VC backend.
7284
7285 * vc/vc.el (vc-checkin): Use it.
7286 (vc-deduce-fileset): Handle Log Edit buffers.
7287 (vc-diff): Make first argument optional too.
7288
7289 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7290
8477cc7a
MA
72912012-07-10 Michael Albinus <michael.albinus@gmx.de>
7292
7293 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7294 command, just in case. The function is not needed anymore.
7295 (eshell-external-command): Do not call `eshell-remote-command'.
7296
19faa8e8
SM
72972012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7298
f58e0fd5
SM
7299 Reduce use of (require 'cl).
7300 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7301 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7302 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7303 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7304 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7305 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7306 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7307 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7308 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7309 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7310 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7311 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7312 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7313 (byte-compile-unfold-bcf, byte-compile-check-variable):
7314 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7315 (byte-compile-nilconstp):
7316 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7317 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7318
2519d43a
SM
7319 * emacs-lisp/gv.el (cond): Make it a valid place.
7320 (if): Simplify slightly.
7321
19faa8e8
SM
7322 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7323 (pcase--self-quoting-p): New function.
7324 (pcase--u1): Use it.
7325
c4907a5e
GM
73262012-07-10 Glenn Morris <rgm@gnu.org>
7327
7328 * emacs-lisp/authors.el (authors-fixed-entries):
7329 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7330
c4444d16
PE
73312012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7332
7333 Rename configure.in to configure.ac (Bug#11603).
7334 * emacs-lisp/authors.el (authors-canonical-file-name):
7335 * progmodes/autoconf.el (autoconf-mode):
7336 Prefer configure.ac to configure.in.
7337
d75be97d
CY
73382012-07-08 Chong Yidong <cyd@gnu.org>
7339
01ac65bd
CY
7340 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7341 Implement the mouse-1-click-follows-link handling properly.
7342
7343 * info.el (Info-link-keymap): Use follow-link mechanism for
7344 header-line links (Bug#374).
7345
d75be97d
CY
7346 * simple.el (deactivate-mark): Do not set the primary selection
7347 if another program has acquired it (Bug#11772).
7348
87a92845 73492012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7350
7351 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7352 (woman-decode-region): Replace escaped-escapes without destroying
7353 bold or underline (Bug#11552).
87a92845 7354 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7355
621b9d6c
CY
73562012-07-07 Chong Yidong <cyd@gnu.org>
7357
7358 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7359 (interprogram-cut-function, interprogram-paste-function):
7360 Mention that we typically mean the clipboard.
621b9d6c 7361
133a11fc
GM
73622012-07-06 Glenn Morris <rgm@gnu.org>
7363
0d27a45e
GM
7364 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7365
133a11fc
GM
7366 * files.el (toggle-read-only): Restrict message to interactive use.
7367
07b151f1
MA
73682012-07-06 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7371
7372 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7373
211b896b
GM
73742012-07-06 Glenn Morris <rgm@gnu.org>
7375
50394322
GM
7376 * Makefile.in (compile-one-process): Rename from "recompile".
7377
211b896b
GM
7378 * Makefile.in (bzr-update): "compile" is the same as "recompile
7379 autoloads", but parallelizable, so use that instead.
7380
4737eec9
DG
73812012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7382
7383 * window.el (quit-window): Always restore window height when
8137e7b3 7384 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7385
226c3633 73862012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7387
7388 * simple.el (kill-whole-line): Doc tweak.
7389
226c3633 73902012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7391
7392 * files.el (file-relative-name): Compare file names
7393 case-insensitively if on MS-Windows or MS-DOS, or if
7394 read-file-name-completion-ignore-case is non-nil. Don't use
7395 case-fold-search for this purpose. (Bug#11827)
7396
4dc7c8d5
SM
73972012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7398
7399 * calendar/cal-dst.el (calendar-current-time-zone):
7400 Return calendar-current-time-zone-cache if non-nil.
7401
74022012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 74032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7404
19faa8e8
SM
7405 * calendar/cal-dst.el (calendar-current-time-zone):
7406 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7407
60198fc9
GM
74082012-07-06 Glenn Morris <rgm@gnu.org>
7409
7410 * Makefile.in (cvs-update): Remove old alias.
7411
957b3189
MA
74122012-07-05 Michael Albinus <michael.albinus@gmx.de>
7413
7414 Sync with Tramp 2.2.6-pre.
7415
7416 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7417 compatible declaration.
7418
19faa8e8
SM
7419 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7420 Protect `list-load-path-shadows' call.
957b3189
MA
7421
7422 * net/tramp-compat.el (top): Require packages, which aren't
7423 autoloaded anymore for XEmacs. Protect call of
7424 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7425 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7426 it hurts at least for SXEmacs.
7427 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7428 standard-value for `temporary-file-directory'.
7429
7430 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7431 Redirect stderr to /dev/null.
7432 (tramp-sh-handle-write-region): uid and gid can be floats.
7433 Reported by Russell Sim <russell.sim@gmail.com>.
7434 (tramp-sh-handle-vc-registered): Hide errors.
7435 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7436 and `start-file-process'.
7437 (tramp-maybe-open-connection): Check also whether `non-essential'
7438 is bound.
7439
566df3fc
CY
74402012-07-04 Chong Yidong <cyd@gnu.org>
7441
7442 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7443 (xml-parse-tag): Likewise, and avoid changing entity tables.
7444 (xml-syntax-table): Define from scratch, making sure not to give
7445 x2000 and other Unicode spaces whitespace syntax, since those are
7446 not spaces in XML.
7447 (xml-parse-fragment): Delete unused function.
7448 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7449 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7450 (xml-entity-ref, xml-pe-reference-re)
7451 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7452 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7453 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7454 (xml-entity-value-re): Use syntax references in regexps where
7455 possible; no need to define inside a let-binding.
7456 (xml-parse-dtd): Use xml-pe-reference-re.
7457 (xml-entity-or-char-ref-re): New defconst.
7458 (xml-parse-string, xml-substitute-special): Use it.
7459
30eabd7a
SM
74602012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7461
0781098a
SM
7462 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7463 (find-file--read-only): New function.
7464 (find-file-read-only, find-file-read-only-other-window)
7465 (find-file-read-only-other-frame): Use it.
7466 (insert-file-contents-literally): Don't `fset'.
7467 (get-free-disk-space): Use locate-dominating-file.
7468
b5771c0d
SM
7469 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7470 function is already compiled.
7471
30eabd7a
SM
7472 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7473
b4886f6e
MA
74742012-07-03 Michael Albinus <michael.albinus@gmx.de>
7475
7476 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7477 files on the same host.
7478
b9d82339
AS
74792012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7480
7481 * help-fns.el (describe-function-1): Only call
7482 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7483
a76e6535
CY
74842012-07-03 Chong Yidong <cyd@gnu.org>
7485
7486 * xml.el: Protect parser against XML bombs.
7487 (xml-entity-expansion-limit): New variable.
7488 (xml-parse-string, xml-substitute-special): Use it.
7489 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7490
b544fef2
GM
74912012-07-03 Glenn Morris <rgm@gnu.org>
7492
7493 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7494 Allow linking to specific messages in debbugs reports (eg 123#5).
7495
a7aef6f5
CY
74962012-07-02 Chong Yidong <cyd@gnu.org>
7497
7498 * xml.el: Fix entity and character reference expansion, allowing
7499 them to expand into markup as per XML spec.
7500 (xml-default-ns): New variable.
7501 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7502 (xml-parse-region): Make first two arguments optional.
7503 Discard text properties.
7504 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7505 All callers changed.
a7aef6f5
CY
7506 (xml-parse-tag): Call xml-parse-tag-1. For backward
7507 compatibility, this function should not modify buffer contents.
7508 (xml-parse-tag-1): Fix opening-tag regexp.
7509 (xml-parse-string): Rewrite, handling entity and character
7510 references properly.
7511 (xml--entity-replacement-text): Signal an error if a parameter
7512 entity is undefined.
7513
3df31c9f
SM
75142012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7515
2b5208f1
SM
7516 * comint.el (comint-output-filter): Filter out repeated prompts.
7517
3df31c9f
SM
7518 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7519 and file-name-absolute-p.
7520 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7521 internal calls.
7522
e3ac1281
PE
75232012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7524
7525 Spelling fixes.
7526 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7527 Rename from byte-compile--refiy-function. All uses changed.
7528
fbf2e7ad
CY
75292012-07-01 Chong Yidong <cyd@gnu.org>
7530
7531 * xml.el (xml--parse-buffer): New function. Move most of
7532 xml-parse-region here.
7533 (xml-parse-region): Copy region into a temporary buffer, since
7534 parameter entity substitution requires changing buffer contents.
7535 Use xml--parse-buffer.
7536 (xml-parse-file): Use xml--parse-buffer.
7537 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7538 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7539
9bf0aa15
GM
75402012-06-30 Glenn Morris <rgm@gnu.org>
7541
bbce2853
GM
7542 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7543
9bf0aa15
GM
7544 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7545 Remove outdated and unnecessary dbus declarations.
7546
0d23c240
EZ
75472012-06-30 Eli Zaretskii <eliz@gnu.org>
7548
7549 * emacs-lisp/timer.el (timer-until): Subtract results of
7550 float-time, instead of taking float-time of the result of
7551 time-subtract, since float-time signals an error for negative time
7552 arguments.
7553
b3218de1
CY
75542012-06-30 Chong Yidong <cyd@gnu.org>
7555
7556 * xml.el (xml-*-re): Convert defvars into defconsts, and
7557 eval-and-compile them so eval-and-compile works on derivatives.
7558 (xml--entity-replacement-text): Use eval-and-comple.
7559
a40c87a0
MA
75602012-06-30 Michael Albinus <michael.albinus@gmx.de>
7561
7562 * vc/vc-git.el (vc-git-registered): Use cache property
7563 `git-registered'.
7564 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7565 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7566 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7567
ac87de97
DG
75682012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7569
7570 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7571 removed (likely outside Emacs). (Bug#11757)
ac87de97 7572
ac10fe06
SM
75732012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7574
3df31c9f 7575 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7576
7f3fbd5d
CY
75772012-06-30 Chong Yidong <cyd@gnu.org>
7578
7579 * xml.el: Implement XML parameter entities.
7580 (xml-parameter-entity-alist): New variable.
7581 (xml-parse-region, xml-parse-fragment): Preserve previous values
7582 of xml-entity-alist and xml-parameter-entity-alist, so that
7583 repeated calls on different documents do not change them.
7584 (xml-parse-tag): Fix doctype regexp.
7585 (xml--entity-replacement-text): New function.
7586 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7587 properly requires url retrieval which is unimplemented.
7588 (xml-escape-string): Doc fix.
7589
3cfbebba
SM
75902012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7593
2af3565e
DA
75942012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7595
7596 * fringe.el (fringe-mode): Doc fix.
7597
929df0e7
MA
75982012-06-29 Michael Albinus <michael.albinus@gmx.de>
7599
7600 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7601 is non-nil.
7602 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7603 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7604
c8d3a25c 76052012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7606
c8d3a25c
GM
7607 * calendar/cal-dst.el (calendar-current-time-zone):
7608 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7609
c8d3a25c 76102012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7611
7612 * progmodes/which-func.el (which-func-format):
7613 Add mouse-face. (Bug#11698)
7614
c8d3a25c
GM
76152012-06-29 Leo Liu <sdl.web@gmail.com>
7616
7617 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7618
76192012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * minibuffer.el (minibuffer-confirm-exit-commands):
7622 Add completion-at-point (bug#11725).
7623
76242012-06-29 Glenn Morris <rgm@gnu.org>
7625
7626 * progmodes/f90.el (f90-font-lock-keywords-2):
7627 Add some preprocessor elements. (Bug#10499)
7628
76292012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7632 Use syntax-propertize (bug#11739).
7633
2badeec4
JB
76342012-06-28 Juanma Barranquero <lekktu@gmail.com>
7635
7636 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7637
ae4969c2
JD
76382012-06-28 Julien Danjou <julien@danjou.info>
7639
7640 * term.el (term-handle-colors-array): Use a set of new faces to
7641 color the terminal. Also uses :inverse-video property.
7642 (term-default-fg-color): Set to nil by default, deprecate in favor
7643 of `term-face'.
7644 (term-default-bg-color): Set to nil by default, deprecate in favor
7645 of `term-face'.
7646 (term-current-face): Use `term-face' by default.
7647 (term-bold-attribute): Variable deleted.
7648
1c9bd870
GM
76492012-06-28 Glenn Morris <rgm@gnu.org>
7650
7651 * simple.el (completion-list-mode-finish):
7652 Don't use toggle-read-only. (Since completion-list-mode has
7653 a special mode-class, it wasn't doing anything extra anyway.)
7654
c207708c
SM
76552012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 Make inlining of other-mode interpreted functions work (bug#11799).
7658 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7659 (byte-compile): Use it to fix compilation of lexical-binding closures.
7660 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7661 function, if needed.
7662
3fd56834
SM
76632012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7664
04901786
SM
7665 * help-mode.el (help-make-xrefs): Don't just withstand
7666 cyclic-variable-indirection but any error in documentation-property.
7667
1ec4b7b2
SM
7668 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7669 memory use.
7670 * bindings.el (bindings--define-key): New function.
7671 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7672 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7673 * bindings.el: Use it to purecopy define-key bindings.
7674
e309e2a5
SM
7675 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7676
d5c6faf9
SM
7677 * emacs-lisp/cl.el (flet): Mark obsolete.
7678 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7679 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7680 * progmodes/js.el (js-c-fill-paragraph):
7681 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7682 (ebrowse-switch-member-buffer-to-derived-class):
7683 * play/5x5.el (5x5-solver): Use cl-flet.
7684
6e9590e2
SM
7685 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7686 (cl--symbol-function): New macro.
7687 (cl--letf, cl--letf*): Use it.
7688
3fd56834
SM
7689 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7690 Strip "toggle-" if any.
7691
35ff222c
GM
76922012-06-27 Glenn Morris <rgm@gnu.org>
7693
1ba6038a
GM
7694 * info.el (Info-default-directory-list): Move here from paths.el.
7695 * paths.el: Remove file, which is now empty.
7696 * loadup.el: No longer load "paths".
7697
0ea0e51b
GM
7698 * custom.el (custom-initialize-delay): Doc fix.
7699
35ff222c
GM
7700 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7701 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7702 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7703 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7704 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7705 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7706 * eshell/eshell.el (eshell-defgroup): Remove alias.
7707
c89926a5
CY
77082012-06-27 Chong Yidong <cyd@gnu.org>
7709
7710 * help.el (help-enable-auto-load): New variable.
7711
7712 * help-fns.el (help-fns--autoloaded-p): New function.
7713 (describe-function-1): Refer to a function as "autoloaded" if it
7714 was autoloaded at any time in the past. Perform autoloading if
7715 help-enable-auto-load is non-nil.
7716
cc06e7e7
EZ
77172012-06-26 Eli Zaretskii <eliz@gnu.org>
7718
7719 * makefile.w32-in (compile, compile-always): Depend on
7720 update-subdirs, not on subdirs.el. Otherwise, several different
7721 sub-targets of 'bootstrap' running in parallel could
7722 simultaneously write to subdirs.el, producing a garbled file.
7723
d2c32364
SS
77242012-06-26 Sam Steingold <sds@gnu.org>
7725
7726 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7727 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7728 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7729 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7730 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7731 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7732 * textmodes/tex-mode.el: Use it.
7733 Did not touch cedet and org because they are maintained elsewhere.
7734
5cf983b2
MR
77352012-06-26 Martin Rudalics <rudalics@gmx.at>
7736
7737 * calendar/calendar.el (calendar-exit): Don't try to delete or
7738 iconify last frame. See:
7739 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7740
8c4f2952
JD
77412012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7742
7743 * server.el (server-process-filter): Remember dir in the
7744 process's `server-client-directory' properties.
7745
772b2e2c
CY
77462012-06-24 Chong Yidong <cyd@gnu.org>
7747
7748 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7749 non-tag text.
7750
711b11e1
JB
77512012-06-23 Juanma Barranquero <lekktu@gmail.com>
7752
7753 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7754
dc5d230c
SM
77552012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * help-fns.el (describe-variable): Don't croak when doc is not found.
7758 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7759 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7760 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7761 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7762 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7763 ((lambda ..) ..).
7764 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7765
136e1c1d
CY
77662012-06-23 Chong Yidong <cyd@gnu.org>
7767
e8c1cabf
CY
7768 * info.el (Info-mouse-follow-link): Accept symbol values of
7769 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7770 (Info-fontify-node): Use Info-link-keymap for all navigation
7771 buttons, with link-args property to perform the desired action.
7772 (Info-link-keymap): Doc fix.
7773 (Info-next-link-keymap, Info-prev-link-keymap)
7774 (Info-up-link-keymap): Delete now-unused keymaps.
7775
0e9e6c6a
CY
77762012-06-23 Chong Yidong <cyd@gnu.org>
7777
05e89fea
CY
7778 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7779
0e9e6c6a
CY
7780 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7781 system abbrevs.
7782
7783 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7784
e33c6771
SM
77852012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7786
b68581e2
SM
7787 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7788 (bug#11719).
7789
e33c6771
SM
7790 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7791 the requote function doesn't work properly (bug#11714).
7792
7117e105
GM
77932012-06-23 Glenn Morris <rgm@gnu.org>
7794
7795 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7796
36cec983
SM
77972012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 Further GV/CL cleanups.
7800 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7801 gv-expander.
7802 (gv--defun-declaration): New function.
7803 (defun-declarations-alist): Use it.
7804 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7805 (gv-place): Autoload.
7806 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7807 original definition of dotimes and dolist.
7808 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7809 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7810 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7811 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7812 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7813 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7814 to the function's definition.
7815 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7816 * window.el:
7817 * files.el:
7818 * faces.el:
7819 * env.el: Don't use CL.
7820
d35af63c
PE
78212012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7822
7823 Support higher-resolution time stamps (Bug#9000).
7824
7825 * calendar/time-date.el (with-decoded-time-value): New arg
7826 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7827 (encode-time-value): New optional arg PICO. New type 3.
7828 (time-to-seconds) [!float-time]: Support the new picoseconds
7829 component if it's used.
7830 (seconds-to-time, time-subtract, time-add):
7831 Support ps-resolution time stamps as well.
7832
7833 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7834 (timerp): Timer vectors now have length 9, not 8.
7835 (timer--time): Support new-style (4-part) time stamps.
7836 (timer-next-integral-multiple-of-time): Time stamps now have
7837 picosecond resolution, so take a bit more care about rounding.
7838 (timer-relative-time, timer-inc-time): New optional arg psecs.
7839 (timer-set-time-with-usecs): Set psecs to 0.
7840 (timer--activate): Check psecs component, too.
7841
7842 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7843
ac77b21a
SM
78442012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7845
f143bfe3
SM
7846 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7847 Move the non-essential binding to the post/pre-command-hook where it is
7848 more obviously correct.
7849
ac77b21a
SM
7850 * subr.el (read-passwd): Don't use a history at all.
7851 * savehist.el (savehist-save): Remove password saved accidentally
7852 because of the above bug.
7853
76386c5a
BG
78542012-06-22 Bastien Guerry <bzg@gnu.org>
7855
7856 * files.el (toggle-read-only): Display a message telling whether
7857 the buffer is read-only or not (bug#11726).
7858
2ee3d7f0
SM
78592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * emacs-lisp/gv.el: New file.
7862 * subr.el (push, pop): Extend to generalized variables.
7863 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7864 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7865 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7866 gv-define-simple-setter, and gv-define-expander.
7867 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7868 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7869 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7870 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7871 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7872 gv-letplace.
7873 (cl-defstruct): Don't define setf-method any more.
7874 * emacs-lisp/cl.el (flet): Don't autoload.
7875 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7876 (define-setf-expander, defsetf, define-modify-macro)
7877 (cl-struct-setf-expander): Move from cl-lib.el.
7878 * emacs-lisp/syntax.el:
7879 * emacs-lisp/ewoc.el:
7880 * emacs-lisp/smie.el:
7881 * emacs-lisp/cconv.el:
7882 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7883 (timer--time): Use gv-define-simple-setter.
7884 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7885 to avoid coding-system problems in subr.el. Adjust all users.
7886 (macroexp--maxsize, macroexp-small-p): New functions.
7887 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7888 * scroll-bar.el (scroll-bar-mode):
7889 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7890 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7891 * winner.el (winner-configuration, winner-make-point-alist)
7892 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7893 * files.el (locate-file-completion-table): Avoid list*.
7894
c5695d1d
CY
78952012-06-22 Chong Yidong <cyd@gnu.org>
7896
7897 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7898 (dired-create-files): Doc fix (Bug#11329).
7899 (dired-do-copy): Doc fix (Bug#11334).
7900 (dired-mark-read-string): Doc fix (Bug#11553).
7901
2ee3d7f0
SM
7902 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7903 Doc fix (Bug#11326).
c5695d1d
CY
7904 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7905 (dired-dwim-target): Doc fix.
7906
7907 * wdired.el (wdired-mode): Doc fix.
7908
89b5595a
GM
79092012-06-22 Glenn Morris <rgm@gnu.org>
7910
575db3f1
GM
7911 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7912 (pcmpl-rpm-cache-stamp-file): New constant.
7913 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7914 (pcmpl-rpm-packages): Optionally cache list of packages.
7915
a4c8dd51
GM
7916 * pcmpl-rpm.el (pcmpl-rpm): New group.
7917 (pcmpl-rpm-query-options): New option.
7918 (pcmpl-rpm-packages): No need to inline it.
7919 Use pcmpl-rpm-query-options.
7920
89b5595a
GM
7921 * calendar/calendar.el (calendar-in-read-only-buffer):
7922 Avoid some needless mode changes.
7923
e76f0800
CY
79242012-06-21 Chong Yidong <cyd@gnu.org>
7925
7926 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7927 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7928 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7929
297a8f1d
CY
79302012-06-20 Chong Yidong <cyd@gnu.org>
7931
7932 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7933
d34c18b1
DR
79342012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7935
7936 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7937 (bug#11201).
7938
32f7f28e
CY
79392012-06-20 Chong Yidong <cyd@gnu.org>
7940
7941 * term.el (term-window-width): Handle the case of a missing right
7942 fringe (Bug#8837).
7943 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7944 (term-mode): Use define-derived-mode. Minor cleanups.
7945 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7946 (term-move-columns, term-insert-char, term-emulate-terminal)
7947 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7948
493c6688
MA
79492012-06-20 Michael Albinus <michael.albinus@gmx.de>
7950
d34c18b1
DR
7951 * net/ange-ftp.el (ange-ftp-get-passwd):
7952 Bind `enable-recursive-minibuffers'.
493c6688
MA
7953 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7954
3f06ecf4
DR
79552012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7956
7957 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7958
68f12411
GM
79592012-06-19 Glenn Morris <rgm@gnu.org>
7960
7961 * progmodes/python.el (python-mode): Derive from prog-mode.
7962
b3820318
KG
79632012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7964
7965 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7966 (edt-user-menu-bar-update-buffers): New functions.
7967 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7968
c6bf3022
CY
79692012-06-19 Chong Yidong <cyd@gnu.org>
7970
7971 * subr.el (with-selected-window): Preserve the selected window's
7972 terminal's top-frame (Bug#4702).
7973
7974 * window.el (save-selected-window): Likewise.
7975
25f09295
SM
79762012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * progmodes/python.el (python-rx-constituents): Move backquote.
7979 (python-skeleton-define, python-define-auxiliary-skeleton):
7980 Use `declare'.
7981
6b11952a
MA
79822012-06-18 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * minibuffer.el (read-file-name-default): Revert the patch from
7985 2012-06-17.
7986
ee4b1330
SM
79872012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7990 (pcase--u1, pcase--q1): Don't use apply-partially.
7991
35647f79
GM
79922012-06-18 Glenn Morris <rgm@gnu.org>
7993
7994 * progmodes/python.el (python-proc, python-buffer)
7995 (python-send-receive, python-send-string): Fix obsolete versions.
7996
24b0cff0
MR
79972012-06-18 Martin Rudalics <rudalics@gmx.at>
7998
7999 * window.el (special-display-p): Completely remove stringp
8000 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8001
29855149
MA
80022012-06-17 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8005
8006 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8007
8008 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8009 * net/tramp-sh.el (tramp-maybe-open-connection):
8010 Throw if `non-essential' is non-nil.
8011
07463363
MR
80122012-06-17 Martin Rudalics <rudalics@gmx.at>
8013
8014 * window.el (special-display-p): Signal an error if BUFFER-NAME
8015 is not a string (Bug#11713).
8016
48d1354e
PE
80172012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8018
8019 * progmodes/python.el (python-info-beginning-of-backslash):
8020 Rename from python-info-beginning-of-backlash, as a spelling fix.
8021
eb4a8a9a
CY
80222012-06-17 Chong Yidong <cyd@gnu.org>
8023
8024 * term.el (term-emulate-terminal): If term-check-size is called,
8025 move point to the process mark without resetting point (Bug#4635).
8026
ddfbf826 80272012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8028
8029 * international/mule-cmds.el (mule-menu-keymap)
8030 (set-language-environment, set-locale-environment): Doc tweaks.
8031
9b0e3eba
AA
80322012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8033
8034 * cus-face.el (custom-face-attributes): Add wave-style underline
8035 attribute.
8036 * faces.el (set-face-attribute): Update docstring to describe
8037 wave-style underline attribute.
8038
771e3eae
CY
80392012-06-16 Chong Yidong <cyd@gnu.org>
8040
8041 * term/xterm.el (terminal-init-xterm): Discard input before
8042 querying background mode (Bug#10959).
8043
7ae2ea10
SM
80442012-06-16 Stefan Merten <smerten@oekonux.de>
8045
8046 * textmodes/rst.el: Added and corrected some comments.
8047 (rst-re-alist-def): Improve symbol syntax.
8048 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8049 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8050 (rst-official-version, rst-official-cvs-rev): Update version
8051 information.
7ae2ea10 8052
b6974efa
JB
80532012-06-15 Juanma Barranquero <lekktu@gmail.com>
8054
8055 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8056 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8057
8826d473
GM
80582012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8059
8060 * progmodes/python.el: New python.el merge.
8061 (python-guess-indent): Obsolete var.
8062 (python-indent-guess-indent-offset): New defcustom.
8063 (python-indent): Obsolete var.
8064 (python-indent-offset): New defcustom.
8065 (python-python-command, python-jython-command): Delete var.
8066 (python-shell-interpreter): New defcustom.
8067 (python-pdbtrack-do-tracking-p): Delete var.
8068 (python-pdbtrack-activate): New defcustom.
8069 (python-use-skeletons): Obsolete var.
8070 (python-skeleton-autoinsert): New defcustom.
8071 (inferior-python-filter-regexp, python-continuation-offset)
8072 (python-honour-comment-indentation, python-indent-string-contents)
8073 (python-jython-packages, python-mode-hook)
8074 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8075 (python-shell-prompt-alist)
8076 (python-source-modes): Delete defcustoms.
8077 (python-check-buffer-name, python-eldoc-setup-code)
8078 (python-eldoc-string-code, python-ffap-setup-code)
8079 (python-ffap-string-code, python-fill-comment-function)
8080 (python-fill-decorator-function, python-fill-paren-function)
8081 (python-fill-string-function, python-imenu-include-defun-type)
8082 (python-imenu-make-tree, python-imenu-subtree-root-label)
8083 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8084 (python-shell-compilation-regexp-alist)
8085 (python-shell-completion-module-string-code)
8086 (python-shell-completion-pdb-string-code)
8087 (python-shell-completion-setup-code)
8088 (python-shell-completion-string-code)
8089 (python-shell-enable-font-lock, python-shell-exec-path)
8090 (python-shell-extra-pythonpaths)
8091 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8092 (python-shell-process-environment)
8093 (python-shell-prompt-block-regexp)
8094 (python-shell-prompt-output-regexp)
8095 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8096 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8097 (python-shell-virtualenv-path): New defcustoms.
8098 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8099 (inferior-python-mode-syntax-table, python--prompt-regexp)
8100 (python-buffer, python-command python-python-command)
8101 (python-default-template, python-imports, python-indent-index)
8102 (python-indent-list, python-indent-list-length)
8103 (python-mode-running, python-pdbtrack-is-tracking-p)
8104 (python-preoutput-continuation, python-preoutput-leftover)
8105 (python-preoutput-result, python-preoutput-skip-next-prompt)
8106 (python-prev-dir/file, python-recursing)
8107 (python-saved-check-command, python-version-checked)
8108 (python-which-func-length-limit)
8109 (view-return-to-alist): Delete vars.
8110 (python-check-custom-command, python-dotty-syntax-table)
8111 (python-imenu-index-alist, python-indent-current-level)
8112 (python-indent-dedenters, python-indent-levels)
8113 (python-nav-beginning-of-defun-regexp)
8114 (python-nav-list-defun-positions-cache)
8115 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8116 (python-shell-internal-buffer)
8117 (python-skeleton-available): New vars.
8118 (def-python-skeleton): Delete macro.
8119 (python-skeleton-define): New macro.
8120 (python-define-auxiliary-skeleton, python-rx): New macros.
8121 (python-insert-class): Delete command.
8122 (python-skeleton-class): New command.
8123 (python-insert-def): Delete command.
8124 (python-skeleton-def): New command.
8125 (python-insert-for): Delete command.
8126 (python-skeleton-for): New command.
8127 (python-insert-if): Delete command.
8128 (python-skeleton-if): New command.
8129 (python-insert-try/except, python-insert-try/finally): Delete commands.
8130 (python-skeleton-try): New command.
8131 (python-insert-while): Delete command.
8132 (python-skeleton-while): New command.
8133 (python-backspace): Delete command.
8134 (python-indent-dedent-line-backspace): New command.
8135 (python-electric-colon): Delete command.
8136 (python-indent-electric-colon): New command.
8137 (python-guess-indent): Delete command.
8138 (python-indent-guess-indent-offset): New command.
8139 (python-shift-left): Delete command.
8140 (python-indent-shift-left): New command.
8141 (python-shift-right): Delete command.
8142 (python-indent-shift-right): New command.
8143 (python-find-function): Delete command.
8144 (python-nav-jump-to-defun): New command.
8145 (python-next-statement): Delete command.
8146 (python-nav-forward-sentence): New command.
8147 (python-previous-statement): Delete command.
8148 (python-nav-backward-sentence): New command.
8149 (python-fill-paragraph): Delete command.
8150 (python-fill-paragraph-function): New command.
8151 (python-send-buffer): Delete command.
8152 (python-shell-send-buffer): New command.
8153 (python-send-defun): Delete command.
8154 (python-shell-send-defun): New command.
8155 (python-send-region, python-send-region-and-go): Delete commands.
8156 (python-shell-send-region)
8157 (python-shell-switch-to-shell): New commands.
8158 (python-send-string): Delete command.
8159 (python-shell-send-string): New command.
8160 (python-switch-to-python): Delete command.
8161 (python-shell-switch-to-shell): New command.
8162 (python-describe-symbol): Delete command.
8163 (python-eldoc-at-point): New command.
8164 (python--set-prompt-regexp, python-args-to-list)
8165 (python-after-info-look, python-check-version)
8166 (python-check-comint-prompt, python-find-imports)
8167 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8168 (python-unload-function, python-expand-template)
8169 (python-maybe-jython, python-preoutput-filter)
8170 (python-pdbtrack-get-source-buffer)
8171 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8172 (python-pdbtrack-toggle-stack-tracking)
8173 (python-pdbtrack-track-stack-file, python-initial-text)
8174 (python-first-word, python-comment-line-p, python-send-command)
8175 (python-setup-brm, python-sentinel, python-set-proc)
8176 (python-skip-out, python-input-filter, python-outdent-p)
8177 (python-outline-level, python-backslash-continuation-line-p)
8178 (python-end-of-block, python-end-of-statement, python-mark-block)
8179 (python-beginning-of-block, python-beginning-of-statement)
8180 (python-blank-line-p, python-beginning-of-string)
8181 (python-open-block-statement-p): Delete functions.
8182 (python-indent-line, python-indent-line-1): Delete functions.
8183 (python-indent-line): New function.
8184 (python-indentation-levels): Delete function.
8185 (python-indent-calculate-levels): New function.
8186 (python-proc): Delete function.
8187 (python-shell-get-process): New function.
8188 (python-send-receive): Delete function.
8189 (python-shell-send-string-no-output): New function.
8190 (python-module-path): Delete function.
8191 (python-ffap-module-path): New function.
8192 (python-completion-at-point)
8193 (python-symbol-completions): Delete functions.
8194 (python-completion-complete-at-point): New function.
8195 (python-load-file): Delete function.
8196 (python-shell-send-file): New function.
8197 (python-calculate-indentation): Delete function.
8198 (python-indent-calculate-indentation): New function.
8199 (python-skip-comments/blanks): Delete function.
8200 (python-util-forward-comment): New function.
8201 (python-continuation-line-p): Delete function.
8202 (python-info-continuation-line-p): New function.
8203 (python-which-func, python-current-defun): Delete function.
8204 (python-info-current-defun): New function.
8205 (python-beginning-of-defun): Delete function.
8206 (python-nav-beginning-of-defun): New function.
8207 (python-close-block-statement-p)
8208 (python-block-end-p): Delete function.
8209 (python-info-closing-block): New function.
8210 (python-comint-output-filter-function)
8211 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8212 (python-fill-comment, python-fill-decorator, python-fill-paren)
8213 (python-fill-string, python-imenu-make-element-tree)
8214 (python-imenu-make-tree, python-imenu-tree-assoc)
8215 (python-indent-context, python-indent-dedent-line)
8216 (python-indent-line-function)
8217 (python-indent-post-self-insert-function)
8218 (python-indent-toggle-levels)
8219 (python-info-assignment-continuation-line-p)
8220 (python-info-beginning-of-backlash)
8221 (python-info-block-continuation-line-p)
8222 (python-info-closing-block-message)
8223 (python-info-line-ends-backslash-p)
8224 (python-info-looking-at-beginning-of-defun)
8225 (python-info-ppss-context, python-info-ppss-context-type)
8226 (python-nav-list-defun-positions, python-nav-read-defun)
8227 (python-nav-sentence-end, python-nav-sentence-start)
8228 (python-pdbtrack-comint-output-filter-function)
8229 (python-pdbtrack-set-tracked-buffer)
8230 (python-shell-calculate-exec-path)
8231 (python-shell-calculate-process-environment)
8232 (python-shell-completion--do-completion-at-point)
8233 (python-shell-completion--get-completions)
8234 (python-shell-completion-complete-at-point)
8235 (python-shell-completion-complete-or-indent)
8236 (python-shell-get-or-create-process)
8237 (python-shell-get-process-name)
8238 (python-shell-internal-get-or-create-process)
8239 (python-shell-internal-get-process-name)
8240 (python-shell-internal-send-string, python-shell-make-comint)
8241 (python-shell-parse-command, python-shell-send-setup-code)
8242 (python-skeleton-add-menu-items)
8243 (python-util-clone-local-variables, python-util-position)
8244 (run-python-internal, python-indentation-levels)
8245 (python-nav-beginning-of-defun)
8246 (python-completion-complete-at-point): New functions.
8247 (run-python): Change arguments. New API requirements.
8248
4302f5ba
SM
82492012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8250
f38ea36d
SM
8251 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8252 (bug#11649).
8253
8254 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8255 (macroexp--expand-all): Use it.
8256
4302f5ba
SM
8257 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8258 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8259 Use `cl-function' instead.
8260
33377562
JB
82612012-06-14 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8264 Suggested by Stefan Monnier while discussing bug#11657.
8265
54c5ba1a
SS
82662012-06-14 Sam Steingold <sds@gnu.org>
8267
8268 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8269
f9f1b1fe
AS
82702012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8271
8272 * play/doctor.el (doctor-doc): Remove parameter and use
8273 doctor-sent instead of sent.
8274 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8275
a81068ba
SM
82762012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8277
5a315f9c
SM
8278 * files.el: Require cl-lib.
8279 (file-name-non-special): Replace case -> cl-case.
8280
8281 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8282
a81068ba
SM
8283 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8284 mapping from #' to function*.
8285
8cca9703
CY
82862012-06-13 Chong Yidong <cyd@gnu.org>
8287
8288 * mouse.el (mouse-drag-track): Do not set the mark if the user
8289 releases the mouse without selecting anything (Bug#11588).
8290
a12ac9d7
SM
82912012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8292
ccf1dc18
SM
8293 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8294 as well (bug#11646).
8295
ef62b23d
SM
8296 * loadup.el: Count byte-code functions as well.
8297
c4c8444a
SM
8298 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8299 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8300
a12ac9d7
SM
8301 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8302 (bug#11649). Add cl-defun and cl-defmacro.
8303
87e6e64f
DA
83042012-06-13 Drew Adams <drew.adams@oracle.com>
8305
8306 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8307 Fix last change.
8308
682cefaf
MA
83092012-06-13 Michael Albinus <michael.albinus@gmx.de>
8310
8311 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8312 Otherwise, it blocks in batch mode.
8313
773e1f08
JB
83142012-06-13 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * help-mode.el (bookmark-make-record-default): Declare.
8317
60057926
CY
83182012-06-13 Chong Yidong <cyd@gnu.org>
8319
8320 * emacs-lisp/package.el (list-packages): Compute a list of
8321 packages that are newly-available since the last list-packages
8322 invocation.
8323 (package-menu--new-package-list): New var.
8324 (package-menu--generate, package-menu--print-info)
8325 (package-menu--status-predicate, package-menu-mark-install):
8326 Handle new status label "new".
8327
ad4d226c
SM
83282012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8331 conversion to backquotes.
8332
f1a4e679
CY
83332012-06-12 Chong Yidong <cyd@gnu.org>
8334
8335 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8336 Rename from gud-inhibit-global-bindings.
8337
8338 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8339
8340 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8341 hook from nxml-glyph-set-hook.
8342
8343 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8344 declaration.
8345
8346 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8347
8348 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8349 Convert to defcustom.
8350
0c9e42b5
DA
83512012-06-12 Drew Adams <drew.adams@oracle.com>
8352
8353 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8354 New functions.
8355 (help-mode): Use them.
8356
09e06855
GM
83572012-06-11 Glenn Morris <rgm@gnu.org>
8358
8359 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8360 Use preprocessor face for directives.
8361 (fortran-directive-re): Doc fix.
8362
71adb94b
SM
83632012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8364
2eb87922
SM
8365 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8366 conversion to backquotes (bug#11652).
8367
71adb94b
SM
8368 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8369 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8370 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8371 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8372 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8373 (cl-ninth, cl-tenth): Mark them as inlinable.
8374 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8375 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8376 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8377 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8378 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8379 (cl-list*, cl-adjoin): Don't put an autoload manually.
8380 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8381 (cl--compiler-macro-list*): Add autoload cookie.
8382 (cl--compiler-macro-cXXr): New function.
2eb87922 8383
71adb94b
SM
8384 * help-fns.el (help-fns--compiler-macro): New function extracted from
8385 describe-function-1; follow aliases and use `compiler-macro' property.
8386 (describe-function-1): Use it.
8387
a6674402
CY
83882012-06-11 Chong Yidong <cyd@gnu.org>
8389
8390 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8391 is uninstalled, if imagemagick is installed.
8392
bb3faf5b
SM
83932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * emacs-lisp/cl-lib.el: Use lexical-binding.
8396 (cl-map-extents, cl-maclisp-member): Remove.
8397 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8398 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8399 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8400 * emacs-lisp/cl-extra.el: Use lexical-binding.
8401 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8402 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8403 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8404 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8405 * emacs-lisp/cl-seq.el: Use lexical-binding.
8406 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8407 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8408 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8409 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8410 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8411 CL's internals.
8412
2fe4b125
MA
84132012-06-11 Michael Albinus <michael.albinus@gmx.de>
8414
8415 Sync with Tramp 2.2.6-pre.
8416
8417 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8418 `print-length' and `print-level' to nil, in order to avoid
8419 truncation. Reported by Christopher Schmidt
8420 <christopher@ristopher.com>.
8421
8422 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8423
8424 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8425 New defmacro.
8426 (tramp-compat-copy-directory): Add optional argument
8427 COPY-CONTENTS. It is not handled yet.
8428
8429 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8430 (tramp-ftp-file-name-p): Simplify.
8431
8432 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8433 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8434 connection vector.
8435
8436 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8437 (tramp-methods): Do not use `tramp-password-end-of-line'.
8438 (tramp-completion-function-alist-putty): Handle UNIX case.
8439 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8440 (tramp-do-file-attributes-with-stat)
8441 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8442 gid as real numbers. They could run out of integer range on cygwin.
8443 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8444 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8445 (tramp-open-connection-setup-interactive-shell):
8446 Use `tramp-cleanup'. Move check for busyboxes ...
8447 (tramp-find-shell): ... here. Simplify implementation.
8448 Set "remote-shell" property also for alternative shells.
8449 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8450 If failing, a regular file would be written otherwise.
8451 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8452 (tramp-find-inline-encoding): Cache the coding commands in the
8453 process cache. Apply test command on the remote side, if defined.
8454 (tramp-find-inline-compress): Cache the compress commands in the
8455 process cache.
8456 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8457 when requested. Handle hops.
8458 (tramp-current-connection): New defvar.
87e6e64f
DA
8459 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8460 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8461 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8462 (tramp-get-inline-compress, tramp-get-inline-coding):
8463 Read connection properties from the process cache.
2fe4b125
MA
8464
8465 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8466 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8467 New defconsts.
2fe4b125
MA
8468 (tramp-smb-prompt): Extend for powershell prompt.
8469 (tramp-smb-file-name-handler-alist): Add handlers for
8470 `process-file', `shell-command' and `start-file-process'.
8471 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8472 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8473 (tramp-smb-file-name-p): Simplify.
8474 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8475 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8476 (tramp-smb-shell-quote-argument): New defuns.
8477 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8478 Implement using "tar". By this, time-stamps are preserved.
8479 (tramp-smb-handle-copy-file): Handle also the case of directories.
8480 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8481 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8482 Use `tramp-get-connection-buffer').
2fe4b125
MA
8483 (tramp-smb-handle-rename-file): Use "rename", when source and
8484 target are on the same share.
87e6e64f
DA
8485 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8486 Use `tramp-smb-server-version'.
2fe4b125
MA
8487 (tramp-smb-wait-for-output): Remove prompt.
8488
8489 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8490 (tramp-methods, tramp-rsh-end-of-line):
8491 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8492 (tramp-save-ad-hoc-proxies): New defcustom.
8493 (tramp-completion-function-alist): Adapt docstring.
8494 (tramp-default-password-end-of-line): Remove defcustom.
8495 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8496 (tramp-user-regexp, tramp-file-name-regexp-unified)
8497 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8498 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8499 (tramp-remote-file-name-spec-regexp): New defconst.
8500 (tramp-file-name-structure): Extend structure for hops.
8501 (tramp-get-method-parameter): Move up.
8502 (tramp-file-name-p, tramp-dissect-file-name)
8503 (with-parsed-tramp-file-name): Handle hops.
8504 (tramp-file-name-hop): New defun.
8505 (tramp-make-tramp-file-name): New optional arg HOP.
8506 (tramp-message-show-progress-reporter-message): New defvar.
8507 (tramp-with-progress-reporter): Use it. We cannot use
8508 `tramp-message-show-message' here, because this suppresses also
8509 error buffers.
8510 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8511 `tramp-message-show-message' is nil.
8512 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8513 (tramp-cleanup): New defun.
8514 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8515 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8516 an error unchanged.
8517 (tramp-completion-handle-file-name-all-completions): Handle hops.
8518 Fix an error when called from ido.
8519 (tramp-completion-dissect-file-name): Use better local variable
8520 name. Add hop to the vector.
8521 (tramp-handle-insert-file-contents): Use progress-reporter for the
8522 whole scenario.
8523 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8524 to `t'.
8525 (tramp-check-for-regexp): Simplify search.
8526 (tramp-enter-password): Remove it. Move implementation ...
8527 (tramp-action-password): ... here.
8528 (tramp-mode-string-to-int, tramp-local-host-p)
8529 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8530 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8531 Set tramp-autoload cookie.
2fe4b125
MA
8532
8533 * net/trampver.el: Update release number.
8534
85352012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8536 Michael Albinus <michael.albinus@gmx.de>
8537
8538 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8539 (tramp-parse-group, tramp-parse-file)
8540 (tramp-parse-shostkeys-sknownhosts): New defuns.
8541 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8542 (tramp-parse-shosts-group, tramp-parse-sconfig)
8543 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8544 (tramp-parse-sknownhosts, tramp-parse-hosts)
8545 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8546 Use them.
8547 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8548 (tramp-parse-putty-group): Don't narrow.
8549 (tramp-parse-putty): Make a loop.
8550 (tramp-file-name-handler): Catch the `suppress' signal.
8551
72834e10
CY
85522012-06-11 Chong Yidong <cyd@gnu.org>
8553
8554 * image.el (imagemagick-register-types): Put the ImageMagick entry
8555 at the end of image-type-file-name-regexps.
8556
a4712e11
JB
85572012-06-11 Johan Bockgård <bojohan@gnu.org>
8558
8559 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8560 (pcase, pcase-let*, pcase-dolist): Use them.
8561
82ad98e3
SM
85622012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * emacs-lisp/pcase.el (pcase--let*): New function.
8565 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8566 (pcase--expand): Use macroexp-let².
8567
f80efb86
SM
85682012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8571 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8572 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8573 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8574 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8575 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8576
31ca4639 85772012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8578
31ca4639
CY
8579 * mail/rmail.el (rmail-yank-current-message): Leave point at
8580 correct position. (Bug#11660)
94f0aa34 8581
31ca4639 85822012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8583
31ca4639 8584 * allout-widgets.el: Fix code header.
9e1b8ec4 8585
31ca4639 85862012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8587
f80efb86
SM
8588 * cus-edit.el (customize-changed-options-previous-release):
8589 Bump to 24.1.
31ca4639 8590
642b6d30
AS
85912012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8592
8593 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8594
4f5d2ba1
CY
85952012-06-09 Chong Yidong <cyd@gnu.org>
8596
8597 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8598
e75852fd
MR
85992012-06-09 Martin Rudalics <rudalics@gmx.at>
8600
8601 * window.el (special-display-popup-frame): Don't use
8602 window--display-buffer (Bug#11651).
8603
1e48e282
EZ
86042012-06-09 Eli Zaretskii <eliz@gnu.org>
8605
8a26b487
EZ
8606 Fix parallel builds: make sure loaddefs.el is not being written
8607 while Lisp files are compiled.
8608 (compile): Don't depend on 'mh-autoloads'.
8609 (compile-CMD, compile-SH): Depend on 'autoloads'.
8610 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8611
1e48e282
EZ
8612 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8613
6175e34b
CY
86142012-06-09 Chong Yidong <cyd@gnu.org>
8615
8616 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8617 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8618 Doc fixes (Bug#11225).
8619
d9857e53
SM
86202012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8623 a function if there's a clear indication that it has a compiler-macro.
8624 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8625 (macro-declarations-alist): Add arglist to declaration functions.
8626 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8627 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8628 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8629 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8630 Also add autoload to find the compiler macro.
8631 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8632 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8633 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8634 (cl--compiler-macro-get): New functions, replacing calls to
8635 cl-define-compiler-macro.
8636 (cl-typep) [compiler-macro]: Use macroexp-let².
8637
f81298f8 86382012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8639
8640 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8641 string properly, fixes Bug#11473.
8642
4b56d0fe
CY
86432012-06-08 Chong Yidong <cyd@gnu.org>
8644
8645 * faces.el (set-face-attribute): Doc fix.
8646 (modify-face): Don't use :bold and :italic.
8647 (error, warning, success): Tweak definitions.
8648
8649 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8650 (custom-modified, custom-set, custom-changed, custom-themed)
8651 (custom-saved, custom-button, custom-button-mouse)
8652 (custom-button-pressed, custom-state, custom-comment-tag)
8653 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8654 (custom-group-subtitle): Use new-style face specs.
8655 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8656 (custom-set-face, custom-changed-face, custom-saved-face)
8657 (custom-button-face, custom-button-pressed-face)
8658 (custom-documentation-face, custom-state-face)
8659 (custom-comment-face, custom-comment-tag-face)
8660 (custom-variable-tag-face, custom-variable-button-face)
8661 (custom-face-tag-face, custom-group-tag-face-1)
8662 (custom-group-tag-face): Remove obsolete face alias.
8663
8664 * epa.el (epa-validity-high, epa-validity-medium)
8665 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8666 (epa-field-name, epa-field-body):
8667 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8668 (font-lock-keyword-face, font-lock-builtin-face)
8669 (font-lock-function-name-face, font-lock-variable-name-face)
8670 (font-lock-type-face, font-lock-constant-face):
8671 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8672 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8673 * speedbar.el (speedbar-button-face, speedbar-file-face)
8674 (speedbar-directory-face, speedbar-tag-face)
8675 (speedbar-selected-face, speedbar-highlight-face)
8676 (speedbar-separator-face):
8677 * whitespace.el (whitespace-newline, whitespace-space)
8678 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8679 (whitespace-line, whitespace-space-before-tab)
8680 (whitespace-space-after-tab, whitespace-indentation)
8681 (whitespace-empty):
8682 * emulation/cua-base.el (cua-global-mark):
8683 * eshell/em-prompt.el (eshell-prompt):
8684 * net/newst-plainview.el (newsticker-new-item-face)
8685 (newsticker-old-item-face, newsticker-immortal-item-face)
8686 (newsticker-obsolete-item-face, newsticker-date-face)
8687 (newsticker-statistics-face, newsticker-default-face):
8688 * net/newst-reader.el (newsticker-feed-face)
8689 (newsticker-extra-face, newsticker-enclosure-face):
8690 * net/newst-treeview.el (newsticker-treeview-face)
8691 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8692 (newsticker-treeview-immortal-face)
8693 (newsticker-treeview-obsolete-face)
8694 (newsticker-treeview-selection-face):
8695 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8696 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8697 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8698 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8699 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8700 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8701 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8702 (mpuz-text):
8703 * progmodes/vera-mode.el (vera-font-lock-number)
8704 (vera-font-lock-function, vera-font-lock-interface):
8705 * textmodes/table.el (table-cell): Use new-style face specs, and
8706 don't use the old :bold and :italic attributes.
8707
8708 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8709 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8710 (ebrowse-member-class, ebrowse-progress): Likewise.
8711 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8712 (ebrowse-file-name-face, ebrowse-default-face)
8713 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8714 (ebrowse-progress-face): Remove obsolete faces.
8715
8716 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8717 Inherit from error and warning faces respectively.
8718
8719 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8720 Likewise.
f80efb86
SM
8721 (flyspell-incorrect-face, flyspell-duplicate-face):
8722 Remove obsolete aliases.
4b56d0fe 8723
03310646
MA
87242012-06-08 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8727 Avoid infloop.
8728
513749ee
SM
87292012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * startup.el (argv, argi): Make lexically scoped.
8732 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8733 * emacs-lisp/cl-macs.el: Use lexical-binding.
8734 Rename cl-bind-* to cl--bind-*.
8735 * files.el: Don't require `cl' since it doesn't use it.
8736 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8737
595ef4ad
JB
87382012-06-08 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8741 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8742 instead of calling external sort utility.
8743 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8744
e9f66fcb
EZ
87452012-06-08 Eli Zaretskii <eliz@gnu.org>
8746
8747 * descr-text.el (describe-char): Mention how to insert the
8748 character, if the current input method doesn't support it.
8749 See the discussion in this thread for the details:
8750 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8751
3d10db47
SS
87522012-06-08 Sam Steingold <sds@gnu.org>
8753
8754 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8755 XF86Back to previous-buffer.
8756 (minibuffer-local-map): Bind them to next-history-element and
8757 previous-history-element respectively.
8758 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8759 help-go-back respectively.
8760 * info.el (Info-mode-map): Bind them to Info-history-forward and
8761 Info-history-back respectively.
8762 These are the keys next to Up on the ThinkPad keyboard.
8763
de7e2b36
SM
87642012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8767 * emacs-lisp/cl-macs.el: Provide itself.
8768 (cl--labels-convert-cache): New var.
8769 (cl--labels-convert): New function.
8770 (cl-flet, cl-labels): New implementation with new semantics, relying on
8771 lexical-binding.
8772 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8773 (cl-closure-vars, cl--function-convert-cache)
8774 (cl--function-convert): Move from cl-macs.el.
8775 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8776 rename by removing the "cl-" prefix.
8777 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8778
6fa6c4ae
SM
87792012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8782 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8783 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8784 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8785 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8786 (cl-hash-table-count): Add old compatibility aliases.
8787
8788 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8789 Use macroexpand-all-environment instead.
8790 (cl--old-macroexpand): New var.
8791 (cl--sm-macroexpand): New function.
8792 (cl-symbol-macrolet): Use it during macro expansion.
8793 (cl--function-convert-cache): New var.
8794 (cl--function-convert): New function, extracted from
8795 cl-macroexpand-all.
8796 (cl-lexical-let): Use it.
8797
8798 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8799 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8800 (cl-member): Remove old alias.
8801
8802 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8803 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8804 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8805 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8806 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8807 (cl-macroexpand-cmacs): Remove var.
8808 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8809 Use macroexpand-all instead.
8810
4dd1c416
SM
88112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8814 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8815 (macroexp-copyable-p): New functions and macros.
8816 * emacs-lisp/edebug.el (edebug-unwrap):
8817 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8818 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8819 (pcase--let*): Remove.
8820 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8821 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8822 macroexp-const-p instead.
8823 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8824
8825 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8826 instead of "cl-" for internal definitions. Use macroexp-const-p.
8827 (cl-old-bc-file-form): Remove var.
8828 (cl-const-exprs-p): Remove fun.
8829 (cl-labels, cl-macrolet): Use backquote.
8830 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8831 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8832 (cl-define-setf-expander): Rename from cl-define-setf-method.
8833 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8834
8835 * international/mule-cmds.el: Don't require CL.
8836 (view-hello-file): Don't use `letf'.
8837
ed8bd4d7
SM
88382012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8839
7287f2f3
SM
8840 * tmm.el (tmm-prompt): Use string-prefix-p.
8841 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8842 (tmm-add-prompt): Use minibuffer-completion-help.
8843 (tmm-delete-map): Remove.
8844
ed8bd4d7
SM
8845 * subr.el (kbd): Make it its own function.
8846
7b4cdbf4
SM
88472012-06-07 Stefan Merten <smerten@oekonux.de>
8848
8849 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8850 Silence compiler warnings. Fix versions.
ed8bd4d7 8851 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8852 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8853 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8854 (rst-package-emacs-version-alist): Correct Emacs version to
8855 represent major merge with upstream.
ed8bd4d7 8856 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8857
2b48d721
GM
88582012-06-06 Glenn Morris <rgm@gnu.org>
8859
8860 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8861 Only print environment variables if set.
8862
fa779ab0
SM
88632012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8866 (macroexp--cons): Rename from maybe-cons.
8867 (macroexp--accumulate): Rename from macroexp-accumulate.
8868 (macroexp--all-forms): Rename from macroexpand-all-forms.
8869 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8870 (macroexp--expand-all): Rename from macroexpand-all-1.
8871
628299e0
SS
88722012-06-06 Sam Steingold <sds@gnu.org>
8873
8874 * calendar/calendar.el (calendar-in-read-only-buffer):
8875 Call `special-mode' to enable the standard read-only keybindings.
8876
b7bb5838
SM
88772012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8880 with "loading" messages (bug#11635).
8881
dfb308ba
MA
88822012-06-06 Michael Albinus <michael.albinus@gmx.de>
8883
8884 * files.el (enable-remote-dir-locals): New option.
8885 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8886
0372ee92
MA
8887 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8888 Ensure, that the temp directory is local.
8889
8890 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8891 `temporary-file-directory'.
8892
eed0bb91
MA
8893 * progmodes/python.el (python-send-region): Ensure, that the
8894 temporary file is created also in the remote case.
8895
7a58f64d
GM
88962012-06-06 Glenn Morris <rgm@gnu.org>
8897
f7dd4e98
GM
8898 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8899 (vc-rcs-update-changelog): Use it.
8900
090bd7cb 8901 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8902
7a58f64d
GM
8903 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8904 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8905 (vc-sccs-diff): Replace use of the external vcdiff script.
8906
daed4003
GM
89072012-06-05 Glenn Morris <rgm@gnu.org>
8908
8909 * ledit.el: Move to obsolete/.
8910
48c455c7
SS
89112012-06-05 Sam Steingold <sds@gnu.org>
8912
ed9265fc 8913 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8914 patch (Bug#11140).
8915
57a7d507
SM
89162012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8917
090bd7cb 8918 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8919
53aacf21
SM
8920 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8921 compiler-macro expansion.
8922
57a7d507
SM
8923 Add native compiler-macro support.
8924 * emacs-lisp/macroexp.el (macroexpand-all-1):
8925 Support compiler-macros directly. Properly follow aliases and apply
8926 the compiler macros more thoroughly.
8927 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8928 macroexpand now properly follows aliases.
8929 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8930 (cl-compiler-macroexpand): Use new prop.
8931 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8932
8933 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8934
51a5f9d8
MR
89352012-06-05 Martin Rudalics <rudalics@gmx.at>
8936
8937 * window.el (get-lru-window, get-mru-window, get-largest-window):
8938 New argument NOT-SELECTED to avoid picking the selected window.
8939 (window--display-buffer-1, window--display-buffer-2): Replace by
8940 new function window--display-buffer
8941 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8942 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8943 Use window--display-buffer.
51a5f9d8
MR
8944 (display-buffer-use-some-window): Remove temporary dedication
8945 hack by calling get-lru-window and get-largest-window with
8946 NOT-SELECTED argument non-nil. Call window--display-buffer.
8947
08f9f738
GM
89482012-06-05 Glenn Morris <rgm@gnu.org>
8949
8950 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8951 Replace external vcdiff script.
8952
e364a2b7
SM
89532012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8956
041df390
CY
89572012-06-04 Chong Yidong <cyd@gnu.org>
8958
e364a2b7
SM
8959 * image.el (imagemagick-types-inhibit): Revert last change.
8960 Add INFO and M.
47b36b94 8961 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8962
7c1898a7
SM
89632012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * emacs-lisp/cl-lib.el: Rename from cl.el.
8966 * emacs-lisp/cl.el: New compatibility file.
8967 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8968 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8969 to obey the "cl-" prefix.
8970 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8971
0c3461de
GM
89722012-06-03 Glenn Morris <rgm@gnu.org>
8973
1e266c88
GM
8974 * emacs-lisp/authors.el (authors-aliases): Addition.
8975
0c3461de
GM
8976 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8977 Fix :version.
8978
d8a52e15
SM
89792012-06-03 Stefan Merten <smerten@oekonux.de>
8980
8981 * textmodes/rst.el: Add comments.
8982 (rst-transition, rst-adornment): New faces.
8983 (rst-adornment-faces-alist): Make default safe to reevaluate.
8984 Fixes
8985 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8986 Improve customization tags.
8987 (rst-define-level-faces): Clarify meaning.
8988
5205d6f6
CY
89892012-06-03 Chong Yidong <cyd@gnu.org>
8990
8991 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8992 (compilation-mode-line-run, compilation-mode-line-exit):
8993 New faces.
5205d6f6
CY
8994 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8995
757ee657
JD
89962012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8997
7c1898a7
SM
8998 * progmodes/which-func.el (which-func-update-ediff-windows):
8999 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9000
5f2c76c6
CY
90012012-06-03 Chong Yidong <cyd@gnu.org>
9002
9003 * bindings.el: Remove explicit help text from format-mode-line.
9004 It is now supplied by mode-line-default-help-echo.
9005 (mode-line-front-space, mode-line-end-spaces)
9006 (mode-line-misc-info): New variables.
9007 (mode-line-modes, mode-line-position): Move the default value to
9008 the variable definition.
9009 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9010 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9011 (mode-line-modified-help-echo): New functions.
9012 (mode-line-mule-info, mode-line-modified): Use them.
9013 (mode-line-eol-desc, propertized-buffer-identification):
9014 Consistency fixes for help text.
cbe46e5f
CY
9015 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9016 set-buffer-file-coding-system (Bug#289).
9017 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9018
f2d6a3df
SM
90192012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * simple.el (execute-extended-command): Set real-this-command
9022 (bug#11506).
9023
37269466
CY
90242012-06-02 Chong Yidong <cyd@gnu.org>
9025
9026 Remove incorrect uses of "modeline" in comments, docstrings, and
9027 function/variable names (Bug#10329).
9028
9029 * cus-edit.el (mode-line):
9030 * dframe.el (dframe-mouse-hscroll):
9031 * emacs-lisp/re-builder.el:
9032 * emacs-lisp/easy-mmode.el (define-minor-mode):
9033 * frame.el (set-frame-name):
9034 * help.el (lookup-minor-mode-from-indicator):
9035 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9036 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9037 (c-toggle-hungry-state):
9038 * progmodes/antlr-mode.el (antlr-language-alist):
9039 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9040 * progmodes/vhdl-mode.el (vhdl-mode):
9041 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9042 * term/ns-win.el (ns-face-at-pos):
9043 * term/sup-mouse.el (sup-mouse-report):
9044 * textmodes/flyspell.el (flyspell-mode-line-string):
9045 * textmodes/ispell.el (ispell-highlight-face):
9046 * textmodes/reftex-global.el:
9047 * vc/vc-arch.el (vc-arch-mode-line-string):
9048 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9049 * vc/vc-git.el (vc-git-mode-line-string):
9050 * vc/vc-hooks.el (vc-display-status)
9051 (vc-default-mode-line-string):
9052 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9053
9054 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9055
9056 * dired.el (dired-sort-set-mode-line): Rename from
9057 dired-sort-set-modeline. All callers changed.
9058
9059 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9060 eshell-status-in-modeline.
9061
9062 * foldout.el (foldout-mode-line-string): Rename from
9063 foldout-modeline-string. All callers changed.
9064 (foldout-update-mode-line): Rename from foldout-update-modeline.
9065
9066 * subr.el (redraw-modeline): Make into obsolete alias.
9067
9068 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9069 timeclock-modeline-display. Make old name an alias.
9070 (timeclock-update-mode-line): Likewise. All callers changed.
9071 (timeclock-mode-line-display): No need to check before using
9072 add-hook.
9073 (timeclock-relative, timeclock-day-over-hook)
9074 (timeclock-use-elapsed, timeclock-mode-string)
9075 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9076
9077 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9078 crisp-mode-modeline-string.
9079
9080 * play/solitaire.el (solitaire-build-mode-line): Rename from
9081 solitaire-build-modeline. All callers changed.
9082
9083 * play/zone.el (zone-hiding-mode-line): Rename from
9084 zone-hiding-modeline. All callers changed.
9085 (zone): Remove unusued `modeline-hidden-level' property.
9086
9087 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9088 xscheme-modeline-initialize. All callers changed.
9089
9090 * strokes.el (strokes-lighter): Rename from
9091 strokes-modeline-string.
9092
9093 * textmodes/sgml-mode.el (html-face-tag-alist)
9094 (html-tag-face-alist): Use mode-line face instead of obsolete
9095 alias modeline.
9096
42152ee4
SM
90972012-06-02 Stefan Merten <smerten@oekonux.de>
9098
9099 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9100 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9101
95f520b5
CY
91022012-06-02 Chong Yidong <cyd@gnu.org>
9103
9104 * image.el (imagemagick-enabled-types): Rename from
9105 imagemagick-types-enable. Add many more types.
9106 (imagemagick-types-inhibit): Change default to nil.
9107 (imagemagick-filter-types): Caller changed.
9108
4a5f187a
SM
91092012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9110
03fef3e6
SM
9111 * emacs-lisp/cl-macs.el: Use backquotes.
9112 (cl-transform-function-property): Use eval-and-compile rather than
9113 abusing `require'.
9114 (defstruct): Use declare-function instead of with-no-warnings.
9115
4a5f187a
SM
9116 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9117 (byte-compile-output-docform): Re-add the print-circle bindings.
9118 (byte-compile-fix-header): Use #$ just because it's shorter.
9119 (byte-compile-output-file-form): Remove defun/defmacro.
9120
bd56924f
MR
91212012-06-01 Martin Rudalics <rudalics@gmx.at>
9122
9123 * simple.el (choose-completion): Remove now obsolete binding for
9124 owindow.
9125
046e38ce
MA
91262012-06-01 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9129 in order to avoid "Stack overflow in regexp matcher".
9130
32d72c2f
GM
91312012-05-31 Glenn Morris <rgm@gnu.org>
9132
9133 * image.el: For clarity, call imagemagick-register-types at
9134 top-level, rather than relying on a custom :initialize.
9135 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9136 (imagemagick-filter-types): New function. (Bug#7406)
9137 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9138 If disabling support, remove elements altogether rather
9139 than using an impossible regexp.
9140 (imagemagick-types-inhibit): Give it the default init function.
9141
dd41169b
SM
91422012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9143
4a5f187a
SM
9144 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9145 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9146
efc00ab1 91472012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9148
9149 * desktop.el (desktop-read): Clear previous and next buffers for
9150 all windows and bury *Messages* buffer (bug#11556).
9151
500fcedc
SM
91522012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 Add `declare' for `defun'. Align `defmacro's with it.
9155 * emacs-lisp/easy-mmode.el (define-minor-mode)
9156 (define-globalized-minor-mode): Don't autoload the var definitions.
9157 * emacs-lisp/byte-run.el: Use lexical-binding.
9158 (defun-declarations-alist, macro-declarations-alist): New vars.
9159 (defmacro, defun): Use them.
9160 (make-obsolete, define-obsolete-function-alias)
9161 (make-obsolete-variable, define-obsolete-variable-alias):
9162 Use `declare'.
9163 (macro-declaration-function): Mark obsolete.
9164 * emacs-lisp/autoload.el: Use lexical-binding.
9165 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9166
6e8a1786
AM
91672012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9168
9169 * textmodes/ispell.el (ispell-with-no-warnings):
9170 Define as a macro.
500fcedc
SM
9171 (ispell-kill-ispell, ispell-change-dictionary):
9172 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9173 `interactive-p'.
9174
61b108cc
SM
91752012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9178 (macro-declaration-function): Move var from C code.
9179 (macro-declaration-function): Define function with defalias.
9180 * emacs-lisp/macroexp.el (macroexpand-all-1):
9181 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9183 defun/defmacro any more.
9184 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9185 Provide fallback for unknown arglist.
9186 (byte-compile-arglist-warn): Change calling convention.
9187 (byte-compile-output-file-form): Move print-vars binding.
9188 (byte-compile-output-docform): Simplify accordingly.
9189 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9190 (byte-compile-defmacro-declaration): Remove.
9191 (byte-compile-file-form-defmumble): Generalize to defalias.
9192 (byte-compile-output-as-comment): Return byte-positions.
9193 Simplify callers accordingly.
9194 (byte-compile-lambda): Use `assert'.
9195 (byte-compile-defun, byte-compile-defmacro): Remove.
9196 (byte-compile-file-form-defalias):
9197 Use byte-compile-file-form-defmumble.
9198 (byte-compile-defalias-warn): Remove.
9199
6d3f7c2f
SM
92002012-05-29 Stefan Merten <smerten@oekonux.de>
9201
9202 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9203 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9204
9205 (rst-mode-abbrev-table): Merge definition.
9206 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9207 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9208
6dbaa1c7
UJ
92092012-05-29 Ulf Jasper <ulf.jasper@web.de>
9210
9211 * calendar/icalendar.el
9212 (icalendar-export-region): Export UID properly.
9213
d209e2fb 92142012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9215 * calendar/icalendar.el (icalendar-import-format):
9216 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9217 (icalendar-import-format-uid): New.
9218 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9219 Export UID.
9220
6876a58d
SM
92212012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9224 different alternative patterns.
9225 (pcase-codegen): Be more careful to preserve identity.
9226 (pcase--u1): Don't forget to mark vars as used.
9227
9228 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9229 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9230 (byte-compile-from-buffer): ...rather than here.
9231
9232 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9233 functions from byte-compile-function-environment.
9234
46b7967e
TN
92352012-05-29 Troels Nielsen <bn.troels@gmail.com>
9236
9237 * window.el (window-deletable-p): Avoid deleting the root window
9238 of a frame with an active minibuffer.
9239
69d565e2
MR
92402012-05-29 Martin Rudalics <rudalics@gmx.at>
9241
9242 * simple.el (choose-completion): Use quit-window (Bug#11567).
9243
a149fa51
CY
92442012-05-29 Chong Yidong <cyd@gnu.org>
9245
9246 * whitespace.el (whitespace-cleanup): Fix usage of
9247 whitespace-empty-at-bob-regexp (Bug#11492).
9248
2b311310
AH
92492012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9250
9251 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9252 revert (Bug#11488).
9253
b9cb2387
JL
92542012-05-29 Juri Linkov <juri@jurta.org>
9255
9256 * isearch.el (isearch-mode-map): Bind `M-s _' to
9257 `isearch-toggle-symbol'. Bind `M-s c' to
9258 `isearch-toggle-case-fold'.
9259 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9260 (isearch-forward): Add `M-s _' to the docstring.
9261 (isearch-forward-symbol, isearch-toggle-case-fold)
9262 (isearch-symbol-regexp): New functions. (Bug#11381)
9263
d5e61c1c
JL
92642012-05-29 Juri Linkov <juri@jurta.org>
9265
9266 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9267 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9268 a function, call it to get the regexp.
9269 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9270 property `isearch-message-prefix' instead of the string "word ".
9271 (isearch-search-fun-default): For the case of `isearch-word',
9272 return a lambda that calls re-search-forward/re-search-backward
9273 with a regexp returned by `word-search-regexp' or by the function
9274 in `isearch-word'.
9275
8cbd80f7
JL
92762012-05-29 Juri Linkov <juri@jurta.org>
9277
9278 * isearch.el (isearch-search-fun-default): New function.
9279 (isearch-search-fun): Move default part to the new function
9280 `isearch-search-fun-default'.
9281 (isearch-search-fun-function): Set the default value to
9282 `isearch-search-fun-default'. (Bug#11381)
9283
9284 * comint.el (comint-history-isearch-end):
9285 Use `isearch-search-fun-default'.
9286 (comint-history-isearch-search): Use `isearch-search-fun-default'
9287 and remove spacial case for `isearch-word'.
9288 (comint-history-isearch-wrap): Remove spacial case for
9289 `isearch-word'.
9290
9291 * hexl.el (hexl-isearch-search-function):
9292 Use `isearch-search-fun-default'.
9293
9294 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9295 Use `word-search-regexp' for `isearch-word'.
9296
9297 * misearch.el (multi-isearch-search-fun):
9298 Use `isearch-search-fun-default'.
9299
9300 * simple.el (minibuffer-history-isearch-search):
9301 Use `isearch-search-fun-default' and remove spacial case for
9302 `isearch-word'.
9303 (minibuffer-history-isearch-wrap): Remove spacial case for
9304 `isearch-word'.
9305
9306 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9307 Remove spacial case for `isearch-word'.
9308 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9309
85c8c5b6
AM
93102012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9311
9312 Decrease XEmacs incompatibilities.
9313 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9314 Use `string-match'.
9315 (flyspell-delete-region-overlays): Use alternative definition for
9316 XEmacs.
9317 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9318 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9319 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9320 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9321 `define-obsolete-face-alias' under XEmacs, but old method.
9322
9323 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9324 `with-no-warnings' definition or Emacs alias.
9325 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9326 (ispell-word): Do not use `region-p' if XEmacs.
9327
8cab9efc
AM
93282012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9329
9330 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9331 Check for `ispell-dictionary-base-alist' instead of full
9332 `ispell-dictionary-alist'.
9333 (ispell-init-process): Show spellchecker when starting new Ispell
9334 process.
9335
fda91268
RZ
93362012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9339 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9340
694ea8e3
JB
93412012-05-27 Juanma Barranquero <lekktu@gmail.com>
9342
9343 * version.el (motif-version-string, gtk-version-string)
9344 (ns-version-string): Declare.
9345
e4d4f539
JL
93462012-05-27 Juri Linkov <juri@jurta.org>
9347
9348 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9349 after the `eval-defun-1' specialcaseing
9350 like in `edebug-eval-defun' (bug#10181).
9351
9352 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9353 like in `eval-defun-1'.
9354
33017faf 93552012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9356
fda91268
RZ
9357 * mail/sendmail.el (mail-yank-region):
9358 Recognize rmail-yank-current-message in addition to insert-buffer.
9359 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9360 a *mail* buffer created through rmail-start-mail with sendmail as
9361 mail-user-agent.
9362
33017faf
GM
93632012-05-27 Chong Yidong <cyd@gnu.org>
9364
9365 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9366 Default to 256 (Bug#11267).
9367
9368 * help.el (describe-mode): Doc fix.
9369
04188bb9
GM
93702012-05-26 Glenn Morris <rgm@gnu.org>
9371
38264cc9
GM
9372 * w32-fns.el (w32-init-info): Remove.
9373 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9374
eb7afdad
GM
9375 * info.el (info-initialize): For self-contained NS builds, put the
9376 included info/ directory at the front. (Bug#2791)
9377
04188bb9
GM
9378 * paths.el (Info-default-directory-list): Make it a defcustom,
9379 mainly so that we can use custom-initialize-delay.
9380
a179e3f7
SM
93812012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9382
43416392
SM
9383 * subr.el (buffer-has-markers-at): Mark obsolete.
9384
a179e3f7 9385 * subr.el (lambda): Use declare.
43416392 9386
a179e3f7
SM
9387 * emacs-lisp/lisp-mode.el (lambda):
9388 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9389
34a008d9
AH
93902012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9391
9392 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9393
0a3b289f
GM
93942012-05-26 Glenn Morris <rgm@gnu.org>
9395
9396 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9397
758c81e8
GM
93982012-05-25 Glenn Morris <rgm@gnu.org>
9399
f9f334f0
GM
9400 * paths.el: Remove no-byte-compile.
9401 * loadup.el: No need to load paths.el uncompiled.
9402
87eb79c2
GM
9403 * image.el (imagemagick-types-inhibit): Doc fix.
9404
758c81e8
GM
9405 * version.el: Remove no-byte-compile and associated formatting.
9406 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9407 is ancient code from when there was an "inc-vers.el".
9408
e7e85dc0
SM
94092012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * progmodes/gdb-mi.el: Minor style changes.
9412 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9413 Turn into minor modes.
9414 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9415 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9416 (gdb-shell): Remove unneeded let-binding.
9417 (gdb-get-many-fields): Eliminate O(n²) behavior.
9418
f31237a4
EZ
94192012-05-25 Eli Zaretskii <eliz@gnu.org>
9420
9421 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9422 platforms that don't link in fontset.c.
9423
bc1b21bb
JL
94242012-05-25 Juri Linkov <juri@jurta.org>
9425
9426 Use the same diff color scheme as in modern VCSes (bug#10181).
9427
9428 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9429 to avoid confusion with `diff-added' that now uses green colors.
9430 (diff-removed): Use shades of red.
9431 (diff-added): Use shades of green.
9432 (diff-changed): Leave just the yellow color.
9433 (diff-use-changed-face): New variable.
9434 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9435 how to highlight context diff changes.
9436 (diff-refine-change): Use shades of yellow.
9437 (diff-refine-removed): New face that uses shades of red.
9438 (diff-refine-added): New face that uses shades of green.
9439 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9440 `diff-refine-removed' in the call to `smerge-refine-subst'
9441 depending on the value of `diff-use-changed-face'.
9442
9443 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9444 (smerge-other): Use shades of green.
9445 (smerge-base): Use shades of yellow.
9446 (smerge-refined-change): Empty face.
9447 (smerge-refined-removed): New face that uses shades of red.
9448 (smerge-refined-added): New face that uses shades of green.
9449 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9450 args `props-r' and `props-a', and use them. Doc fix.
9451 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9452 on its value use different faces `smerge-refined-change',
9453 `smerge-refined-removed', `smerge-refined-added' in the call to
9454 `smerge-refine-subst'.
9455
9456 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9457 Add face condition `min-colors 88' with shades of red.
9458 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9459 `min-colors 88' with shades of green.
9460 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9461 `min-colors 88' with shades of yellow.
9462
6df9112c
GM
94632012-05-24 Glenn Morris <rgm@gnu.org>
9464
ead5edc0
GM
9465 * paths.el (prune-directory-list, remote-shell-program): Move to...
9466 * files.el (prune-directory-list, remote-shell-program): ...here.
9467 For the latter, delay initialization, prefer ssh, just search PATH.
9468
f18b81e6
GM
9469 * paths.el (term-file-prefix): Move to faces.el (the only user).
9470 * faces.el (term-file-prefix): Move here, make it a defcustom.
9471
ee2f89a6
GM
9472 * paths.el (news-directory, news-path, news-inews-program):
9473 Move to gnus/nnspool.el.
61a583ca 9474
f8815e4c
GM
9475 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9476
c8f3b42c
GM
9477 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9478 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9479 Make the latter a defcustom, with a delayed initialization.
9480
6df9112c
GM
9481 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9482 These were deleted from Gnus itself late 2010.
9483
5dadff36
JB
94842012-05-22 Juanma Barranquero <lekktu@gmail.com>
9485
9e1701c6
JB
9486 * progmodes/which-func.el (which-func-ff-hook):
9487 Check against user-error, not error.
9488
bd7239f5 9489 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9490 cl-specs.el, which no longer exists.
9491
3290526d
GM
94922012-05-22 Glenn Morris <rgm@gnu.org>
9493
9494 * info.el (info-emacs-bug): New command.
9495 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9496 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9497
ff0c3cfb
GM
94982012-05-21 Glenn Morris <rgm@gnu.org>
9499
9500 * makefile.w32-in (update-subdirs-SH):
9501 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9502
5814f126
SM
95032012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9504
a52c0aa0
SM
9505 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9506
5814f126
SM
9507 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9508 Simplify Maven regexp, and make sure the file can't start with a space
9509 (bug#11517).
9510
b847032c
GM
95112012-05-21 Glenn Morris <rgm@gnu.org>
9512
9513 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9514 Scrap superfluous subshells.
9515
3858bfe7
SM
95162012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9519 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9520
d14b0029
JB
95212012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9522
9523 * calc/calc.el (calc-ensure-consistent-units): New variable.
9524
a52c0aa0
SM
9525 * calc/calc-units.el (math-consistent-units-p)
9526 (math-check-unit-consistency): New functions.
9527 (calc-quick-units, calc-convert-units):
9528 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9529 is non-nil.
d14b0029
JB
9530 (calc-extract-units): Fix typo.
9531
60c4db3a
SM
95322012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9533
77f3b62e
SM
9534 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9535
60c4db3a
SM
9536 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9537 (flyspell-default-deplacement-commands): Don't spell check after
9538 repeated window/frame switches (e.g. triggered by mouse-movement).
9539 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9540 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9541 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9542 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9543 Remove unused vars.
9544 (flyspell-get-casechars, flyspell-get-not-casechars):
9545 Simplify; Don't bother removing a ] just to add it back.
9546 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9547
d209e2fb 95482012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9549
9550 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9551 New functions.
bd7239f5 9552 (math-function-table): Add support for more C functions.
b1a10716 9553
3f1b25b5
AM
95542012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9555
090bd7cb
JB
9556 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9557 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9558 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9559
b581bb5c
SM
95602012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9561
9562 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9563 their respective macro declarations.
9564 * skeleton.el (define-skeleton):
9565 * progmodes/compile.el (define-compilation-mode):
9566 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9567 (define-ibuffer-filter):
9568 * emacs-lisp/generic.el (define-generic-mode):
9569 * emacs-lisp/easy-mmode.el (define-minor-mode)
9570 (define-globalized-minor-mode):
9571 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9572 * emacs-lisp/byte-run.el (defsubst):
9573 * custom.el (deftheme): Add doc-string metadata.
9574
70b8ef8f
SM
95752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9578
b1198e17
SM
95792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9abdc45d
SM
9581 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9582
b1198e17
SM
9583 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9584 * emacs-lisp/cl-macs.el: Idem.
9585 * emacs-lisp/cl-specs.el: Remove.
9586
4735906a
SM
95872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 Minor renaming of internal CL functions and variables.
9590 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9591 (cl--position): Rename from cl-position.
9592 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9593 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9594 (cl--random-state): Rename from *random-state*.
9595
ac348012
SM
95962012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9599 parens around the arg list (bug#11499).
9600
a0a79cde
JL
96012012-05-17 Juri Linkov <juri@jurta.org>
9602
9603 * isearch.el (word-search-regexp, word-search-backward)
9604 (word-search-forward, word-search-backward-lax)
9605 (word-search-forward-lax): Move functions from search.c
9606 (bug#10145, bug#11381).
9607
65034a51
AM
96082012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9609
090bd7cb
JB
9610 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9611 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9612 Delay for otherchars as for normal word components.
65034a51 9613
1a72a195
SM
96142012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * minibuffer.el (completion--sifn-requote): Fix last change.
9617 (minibuffer-local-must-match-filename-map):
9618 Move define-obsolete-variable-alias before its var.
9619
fdb058c2
SM
96202012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9621
c41045e6
SM
9622 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9623
036dfb8b
SM
9624 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9625 behavior.
9626 (completion--string-equal-p): New function.
9627 (completion--twq-all): Use it to get better assertion failure data.
9628
2473256d
SM
9629 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9630 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9631 (shell--requote-argument): New functions.
9632 (shell-completion-vars): Use them.
9633 (shell--parse-pcomplete-arguments): Rename from
9634 shell-parse-pcomplete-arguments.
9635 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9636 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9637 Obey comint-file-name-quote-list.
9638
fdb058c2
SM
9639 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9640 (smie-indent-keyword): Use it.
9641
51fa99f1
SM
96422012-05-14 Stefan Merten <smerten@oekonux.de>
9643
9644 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9645
e18afed7 96462012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9647
9648 * net/rlogin.el (rlogin-mode-map): Fix last change.
9649
e18afed7 96502012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9651
9652 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9653 the following \r\n using a single `process-send-string', since the
9654 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9655 with two `process-send-string's (Bug#11444).
8633b1f4 9656
e18afed7 96572012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9658
fdb058c2
SM
9659 * shell.el (shell-parse-pcomplete-arguments):
9660 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9661
2d21d7f6
WJ
96622012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9663
e18afed7 9664 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9665 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9666 (image-transform-width, image-transform-fit-width): New functions.
9667 (image-transform-properties): Use them.
9668 (image-transform-check-size): New function.
9669 (image-toggle-display-image): Use it (for testing).
9670 (image-transform-set-rotation): Reduce angle mod 360.
9671 Delete obsolete comment.
9672
7102e6d0
WJ
96732012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9674
9675 * image-mode.el: Fix scaling (bug#11399).
9676 (image-transform-resize): Doc fix.
9677 (image-transform-properties): Default scale is 1 and height should
9678 be an integer.
9679
06bc5e6e
SM
96802012-05-13 Johan Bockgård <bojohan@gnu.org>
9681
9682 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9683 than hard-coding `car', to fix misbehavior when moving forward.
9684
0ae03b6a
CY
96852012-05-13 Chong Yidong <cyd@gnu.org>
9686
9687 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9688 (tabulated-list-entries, tabulated-list-padding)
9689 (tabulated-list-sort-key): Make permanent-local.
9690
9691 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9692 (electric-buffer-list): Put electric buffer menu
9693 command descriptions in this docstring, instead of the docstring
9694 of electric-buffer-menu-mode. Code cleanups.
9695 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9696 Electric-buffer-menu-mode.
9697 (electric-buffer-update-highlight): Minor code cleanup.
9698
205a7391
MA
96992012-05-13 Michael Albinus <michael.albinus@gmx.de>
9700
9701 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9702 (Bug#11447)
9703
e5bd0a28
SM
97042012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 Move define-obsolete-variable-alias before the var's definition.
9707 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9708 * tooltip.el (tooltip-hook):
9709 * textmodes/reftex-toc.el (reftex-toc-map):
9710 * textmodes/reftex-sel.el (reftex-select-label-map)
9711 (reftex-select-bib-map):
9712 * textmodes/reftex-index.el (reftex-index-map)
9713 (reftex-index-phrases-map):
9714 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9715 * progmodes/meta-mode.el (meta-mode-map):
9716 * novice.el (disabled-command-hook):
9717 * loadhist.el (unload-hook-features-list):
9718 * frame.el (blink-cursor):
9719 * files.el (find-file-not-found-hooks, write-file-hooks)
9720 (write-contents-hooks):
9721 * emulation/tpu-edt.el (GOLD-map):
9722 * emacs-lock.el (emacs-lock-from-exiting):
9723 * emacs-lisp/generic.el (generic-font-lock-defaults):
9724 * emacs-lisp/chart.el (chart-map):
9725 * dos-fns.el (register-name-alist):
9726 * dired-x.el (dired-omit-files-p):
9727 * desktop.el (desktop-enable):
9728 * cus-edit.el (custom-mode-hook):
9729 * buff-menu.el (buffer-menu-mode-hook):
9730 * bookmark.el (bookmark-read-annotation-text-func)
9731 (bookmark-exit-hooks):
9732 * allout.el (allout-mode-deactivate-hook)
9733 (allout-exposure-change-hook, allout-structure-added-hook)
9734 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9735 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9736 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9737 comes before the corresponding variable's definition.
9738
ac59c2f6
CY
97392012-05-12 Chong Yidong <cyd@gnu.org>
9740
9741 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9742 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9743 (Buffer-menu-mode-map): Bind it.
9744 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9745
dee6c9a3
SM
97462012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9747
2171cea5
SM
9748 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9749 (prolog-upper-case-string, prolog-lower-case-string)
9750 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9751 (prolog-use-smie, prolog-smie-grammar): New vars.
9752 (prolog-smie-forward-token, prolog-smie-backward-token)
9753 (prolog-smie-rules): New funs.
9754 (prolog-comment-indent): Remove.
9755 (prolog-mode-variables): Use default comment indentation instead.
9756 Setup SMIE.
9757 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9758 (prolog-mode): Don't call them any more.
9759 (prolog-electric-colon, prolog-electric-dash)
9760 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9761
aa0382bd
SM
9762 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9763
dbacb4bd
SM
9764 * minibuffer.el (completion--twq-all): Again, allow case differences.
9765
13bdd94c
SM
9766 * term.el: Move keymap initialization code to be more idiomatic.
9767 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9768 (term-terminal-menu): Move initialization into declaration.
9769 (term-escape-char): Let the user set it in her .emacs.
9770
ff46c759
SM
9771 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9772 Provide SMIE-based indentation (not enabled by default yet).
9773 (sh-mode-map): Don't bind electric keys.
9774 Use electric-pair-mode instead of skeleton-pair.
9775 (sh-assignment-regexp): Fit within 80 columns.
9776 (sh-indent-supported): Specify actual shell name instead of boolean.
9777 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9778 (sh-maybe-here-document): Use it. Make obsolete.
9779 (sh-electric-here-document-mode) New minor mode.
9780 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9781 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9782 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9783 (sh-smie-rc-grammar, sh-use-smie): New vars.
9784 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9785 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9786 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9787 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9788 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9789 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9790 (sh-set-shell): Use smie-setup if requested.
9791
dee6c9a3
SM
9792 * term.el (term-set-escape-char): Properly set term-escape-char.
9793 See http://stackoverflow.com/questions/10524656.
9794
9f9aa044
CY
97952012-05-10 Chong Yidong <cyd@gnu.org>
9796
9797 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9798 Use url-generic-parse-url, and handle host names and Windows
9799 filenames properly.
9800 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9801 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9802 URL schemes to work on.
9803 (ffap--toggle-read-only): New function.
9804 (ffap-read-only, ffap-read-only-other-window)
9805 (ffap-read-only-other-frame): Use it.
9806 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9807 necessary for ffap-url-unwrap-remote.
9808
836d29b3
DA
98092012-05-10 Dave Abrahams <dave@boostpro.com>
9810
9811 * cus-start.el (create-lockfiles): Add it.
9812
00fd78ed
CY
98132012-05-09 Chong Yidong <cyd@gnu.org>
9814
9815 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9816 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9817
666b903b 98182012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9819
9820 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9821
666b903b 98222012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9823
9824 * ansi-color.el (ansi-color-process-output): Check for validity of
9825 comint-last-output-start before using it. This avoids a bad
9826 interaction with gdb-mi's input/output buffer.
9827
666b903b 98282012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9829
9830 * files.el (dir-locals-read-from-file):
9831 Mention dir-locals in any error message.
9832
666b903b 98332012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9834
9835 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9836 package (Bug#11410).
9837
f677562b
CY
9838 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9839 variables into description.
9840
666b903b 98412012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9842
9843 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9844 shell-delimiter-argument-list (bug#11348).
9845 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9846
b499d8d0
JB
98472012-05-09 Juanma Barranquero <lekktu@gmail.com>
9848
8f6b6da8
JB
9849 * textmodes/rst.el: Silence byte-compiler warnings.
9850 (rst-re-alist, rst-reset-section-caches): Move around.
9851 (rst-re): Use `characterp', not `char-valid-p'.
9852 (font-lock-beg, font-lock-end): Declare.
9853
4824146a
JB
9854 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9855 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9856
b499d8d0
JB
9857 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9858
ad89bb83
GM
98592012-05-08 Glenn Morris <rgm@gnu.org>
9860
9861 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9862
8bba5a75
SM
98632012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9864
49ed9c8e
SM
9865 * vc/log-edit.el: Add GNU coding standards highlighting.
9866 (log-edit-font-lock-gnu-style)
9867 (log-edit-font-lock-gnu-keywords): New vars.
9868 (log-edit-font-lock-keywords): New fun.
9869 (log-edit-mode): Don't fold case in font-lock.
9870 (log-edit-font-lock-keywords): Do not assume case-folding.
9871
07d00b56
SM
9872 * imenu.el: Misc cleanup. Make docstrings out of comments.
9873 Use lexical-binding.
9874 (imenu--index-alist, imenu--last-menubar-index-alist)
9875 (imenu-menubar-modified-tick): Use defvar-local.
9876 (imenu--split-menu): Remove unused var.
9877 (imenu--cleanup-seen): Declare as global.
9878 (imenu--cleanup): Use dolist.
9879
8bba5a75
SM
9880 * subr.el (defvar-local): Add debug spec and doc-string position.
9881
5075bdb5
GM
98822012-05-08 Glenn Morris <rgm@gnu.org>
9883
090bd7cb 9884 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9885 * language/english.el, language/georgian.el, language/greek.el:
9886 * language/japanese.el, language/khmer.el, language/korean.el:
9887 * language/lao.el, language/misc-lang.el, language/romanian.el:
9888 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9889 * language/thai.el, language/utf-8-lang.el:
9890 Remove no-byte-compile setting.
9891
5075bdb5
GM
9892 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9893
06f679a7
AH
98942012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9895
9896 * progmodes/make-mode.el (makefile-browse):
9897 Remove unnecessary interactive. (Bug#11324)
9898
03794570
GM
98992012-05-07 Glenn Morris <rgm@gnu.org>
9900
af8630f4
GM
9901 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9902
03794570
GM
9903 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9904
f0809a9d
SM
99052012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9906
28be5ce7
SM
9907 * loadup.el: Preload newcomment.el.
9908 * newcomment.el: Move autoload-only code to toplevel.
9909
f0809a9d
SM
9910 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9911 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9912 Handle new :right-align column property.
9913 (tabulated-list-print-col): Idem, plus use `display' text-property to
9914 try and preserve alignment for variable pitch fonts.
9915
1241b724
CY
99162012-05-07 Chong Yidong <cyd@gnu.org>
9917
9918 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9919 (tabulated-list-use-header-line): New var.
9920 (tabulated-list-init-header): Use it.
9921 (tabulated-list-print-fake-header): New function.
9922 (tabulated-list-print): Use it.
9923 (tabulated-list-sort-button-map): Add non-header-line commands.
9924 (tabulated-list-init-header): Add column name property to basic
9925 labels as well.
9926 (tabulated-list-col-sort): Handle non-header-line button case.
9927 (tabulated-list--sort-by-column-name): Fix a corner case.
9928
f0809a9d
SM
9929 * buff-menu.el (list-buffers--refresh):
9930 Handle Buffer-menu-use-header-line.
1241b724 9931
e5f9458f
CY
99322012-05-06 Chong Yidong <cyd@gnu.org>
9933
9934 * buff-menu.el: Convert to Tabulated List mode.
9935 (Buffer-menu-buffer+size-width): Make obsolete.
9936 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9937 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9938 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9939 documentation into docstring of buffer-menu.
9940 (Buffer-menu-toggle-files-only): Add an informative message.
9941 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9942 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9943 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9944 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9945 (Buffer-menu-execute, Buffer-menu-select)
9946 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9947 (Buffer-menu-bury): Use Tabulated List machinery.
9948 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9949 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9950 Delete.
e5f9458f
CY
9951 (list-buffers--refresh): New function.
9952 (list-buffers-noselect): Use it.
9953 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9954 (Buffer-menu--pretty-file-name): New helper functions.
9955
9956 * loadup.el: Preload tabulated-list.
9957
9958 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9959 tabulated-list-sort-column.
9960 (tabulated-list-init-header): Add the initial aligning space even
9961 if tabulated-list-padding is zero.
9962
e129292c
CS
99632012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9964
9965 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9966 whose cdr is not a cons cell correctly (bug#11038).
9967
6632d361
CY
99682012-05-06 Chong Yidong <cyd@gnu.org>
9969
e129292c
CS
9970 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9971 Accept additional plist in column descriptors.
6632d361
CY
9972 (tabulated-list-init-header): Obey it.
9973 (tabulated-list-get-entry): New function.
9974 (tabulated-list-put-tag): Use it. Use string-width instead of
9975 length.
9976 (tabulated-list--column-number): New function.
9977 (tabulated-list-print): Use it.
e129292c
CS
9978 (tabulated-list-print-col): New function.
9979 Set `tabulated-list-column-name' property on each column's text.
6632d361 9980 (tabulated-list-print-entry): Use it.
e129292c
CS
9981 (tabulated-list-delete-entry, tabulated-list-set-col):
9982 New functions.
6632d361
CY
9983 (tabulated-list-sort-column): New command (Bug#11337).
9984
3cc99f68
CY
9985 * buff-menu.el (list-buffers): Move C-x C-b binding from
9986 buff-menu.el to bindings.el.
9987
9988 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9989 :advertised-binding feature.
9990
52b61776
TN
99912012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9992
9993 * progmodes/compile.el (compilation-internal-error-properties):
9994 Calculate start position correctly when end-col is set but
9995 end-line is not (Bug#11382).
9996
ebfe2597
WJ
99972012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9998
9999 * man.el (Man-unindent): Use text-property-default-nonsticky to
10000 prevent untabify from inheriting face properties (Bug#11408).
10001
6d3f7c2f
SM
100022012-05-05 Stefan Merten <smerten@oekonux.de>
10003
10004 * textmodes/rst.el: Major merge with upstream development up to
10005 Docutils SVN r7399 / rst.el V1.2.1.
10006
10007 Clarify maintainership and authors.
10008
10009 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10010 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10011 (rst-official-version, rst-official-cvs-rev, rst-version)
10012 (rst-package-emacs-version-alist): New functions and variables
10013 for version information.
10014
10015 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10016 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10017 (rst-mode-syntax-table, rst-mode): New and corrected functions
10018 and variables representing reStructuredText features.
10019
10020 (rst-re): New function for reStructuredText regexes. Use in
10021 many places.
10022
10023 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10024 (rst-mode-map): Rebind keys.
10025
10026 (rst-mode-lazy, rst-font-lock-keywords)
10027 (rst-font-lock-extend-region)
10028 (rst-font-lock-extend-region-internal)
10029 (rst-font-lock-extend-region-extend)
10030 (rst-font-lock-find-unindented-line-limit)
10031 (rst-font-lock-find-unindented-line-match)
10032 (rst-adornment-level, rst-font-lock-adornment-level)
10033 (rst-font-lock-adornment-match)
10034 (rst-font-lock-handle-adornment-pre-match-form)
10035 (rst-font-lock-handle-adornment-matcher): Major revision of
10036 font-locking. Integrate with other code. Use `jit-lock-mode'.
10037
10038 (rst-preferred-adornments, rst-adjust-hook)
10039 (rst-new-adornment-down, rst-preferred-bullets)
10040 (rst-preferred-bullets, rst-indent, rst-indent-width)
10041 (rst-indent-field, rst-indent-literal-normal)
10042 (rst-indent-literal-minimized, rst-indent-comment): Change,
10043 extend and improve customization.
10044
10045 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10046 (rst-normalize-cursor-position, rst-get-decoration)
10047 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10048 (rst-rstrip, rst-toc-insert-find-delete-contents)
10049 (rst-shift-fill-region, rst-compute-bullet-tabs)
10050 (rst-debug-print-tabs, rst-debug-mark-found)
10051 (rst-shift-region-guts, rst-shift-region-right)
10052 (rst-shift-region-left, rst-use-char-classes)
10053 (rst-font-lock-keywords-function)
10054 (rst-font-lock-indentation-point)
10055 (rst-font-lock-find-unindented-line-begin)
10056 (rst-font-lock-find-unindented-line-end)
10057 (rst-font-lock-find-unindented-line)
10058 (rst-font-lock-adornment-point, rst-font-lock-level)
10059 (rst-adornment-level-alist): Remove functions and variables.
10060
10061 (rst-compare-adornments, rst-get-adornment-match)
10062 (rst-suggest-new-adornment, rst-get-adornments-around)
10063 (rst-adornment-complete-p, rst-get-next-adornment)
10064 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10065 (rst-straighten-adornments): Standardize function names to
10066 use "adornment" instead of "decoration". Correct callers.
10067 Similar standardizing in many places.
10068
10069 (rst-update-section, rst-adjust, rst-promote-region)
10070 (rst-enumerate-region, rst-bullet-list-region)
10071 (rst-repeat-last-character): Correct use of `interactive'.
10072
10073 (rst-classify-adornment, rst-find-all-adornments)
10074 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10075 (rst-find-leftmost-column, rst-repeat-last-character):
10076 Refactor functions.
10077
10078 (rst-find-title-line, rst-reset-section-caches)
10079 (rst-get-adornments-around, rst-adjust-adornment-work)
10080 (rst-arabic-to-roman, rst-roman-to-arabic)
10081 (rst-insert-list-pos, rst-insert-list-new-item)
10082 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10083 New functions.
10084
10085 (rst-all-sections, rst-section-hierarchy)
10086 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10087 New variables.
10088
10089 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10090 configuration instead of only buffer. Change where necessary.
10091
10092 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10093 (rst-shift-region, rst-adaptive-fill): New functions for
10094 indentation and filling.
10095
10096 (rst-comment-line-break, rst-comment-indent)
10097 (rst-comment-insert-comment, rst-comment-region)
10098 (rst-uncomment-region): New functions for handling comments.
10099
10100 (rst-compile): Quote shell arguments.
10101
10102 (rst-compile-pdf-preview, rst-compile-slides-preview):
10103 Delete temporary files after use.
10104
a43f98b3
GM
101052012-05-05 Glenn Morris <rgm@gnu.org>
10106
48176e8b
GM
10107 * calendar/cal-html.el: Optionally include holidays in the output.
10108 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10109 (cal-html-holidays): New option.
10110 (cal-html-css-default): Add holiday entry.
10111 (holiday-in-range): Autoload it.
10112 (cal-html-htmlify-entry): Add optional class argument.
10113 (cal-html-htmlify-list): Add optional holidays argument.
10114 (cal-html-insert-agenda-days): Include holidays in the output.
10115 (cal-html-one-month): Maybe include holidays.
10116
a43f98b3
GM
10117 * calendar/holidays.el (holiday-in-range):
10118 Move here from cal-tex-list-holidays.
10119 * calendar/cal-tex.el (cal-tex-list-holidays):
10120 Make it an obsolete alias for holiday-in-range. Update all callers.
10121
fef9d149 101222012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10123
10124 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10125 Nextstep.
10126
248da2f4
RW
101272012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10128
10129 * files.el (file-auto-mode-skip): New var.
10130 (set-auto-mode-1): Use it.
10131
f95e9344
SM
101322012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10133
df96ab1e
SM
10134 * repeat.el: Use lexical-binding.
10135 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10136 (repeat-undo-count): Remove.
10137 (repeat):
10138 * progmodes/octave-mod.el (octave-abbrev-start):
10139 * progmodes/f90.el (f90-abbrev-start):
10140 * face-remap.el (text-scale-adjust):
10141 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10142
5342bb06
SM
10143 * emacs-lisp/pcase.el (pcase--let*): New function.
10144 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10145 a bit more.
10146 (pcase--split-pred): Be more clever about ruling out overlap between
10147 a predicate and some constant pattern.
10148 (pcase--q1): Use `null' instead of (eq foo nil).
10149
f95e9344
SM
10150 * subr.el (setq-local, defvar-local): New macros.
10151 (kbd): Redefine as an alias.
10152 (with-selected-window): Leave unrelated frames alone.
10153 (set-temporary-overlay-map): New function.
10154
71873e2b
SM
101552012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * subr.el (user-error): New function.
10158 * window.el (switch-to-buffer):
10159 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10160 (smerge-match-conflict):
10161 * simple.el (previous-matching-history-element)
10162 (next-matching-history-element, goto-history-element, undo-more)
10163 (undo-start):
10164 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10165 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10166 (next-file, tags-loop-scan, list-tags, complete-tag):
10167 * progmodes/compile.el (compilation-loop):
10168 * mouse.el (mouse-minibuffer-check):
10169 * man.el (Man-bgproc-sentinel, Man-goto-page):
10170 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10171 (Info-history-forward, Info-follow-reference, Info-menu)
10172 (Info-extract-menu-item, Info-extract-menu-counting)
10173 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10174 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10175 (Info-next-reference, Info-prev-reference, Info-index)
10176 (Info-index-next, Info-follow-nearest-node)
10177 (Info-copy-current-node-name):
10178 * imenu.el (imenu--make-index-alist)
10179 (imenu-default-create-index-function, imenu-add-to-menubar):
10180 * files.el (basic-save-buffer, recover-file):
10181 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10182 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10183 (checkdoc-message-text, checkdoc-defun):
10184 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10185 * cus-edit.el (customize-changed-options, customize-rogue)
10186 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10187 (custom-variable-mark-to-reset-standard)
10188 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10189 (custom-file):
10190 * completion.el (check-completion-length):
10191 * comint.el (comint-search-arg)
10192 (comint-previous-matching-input-string-position)
10193 (comint-previous-matching-input)
10194 (comint-replace-by-expanded-history-before-point, comint-send-input)
10195 (comint-copy-old-input, comint-backward-matching-input)
10196 (comint-goto-process-mark, comint-set-process-mark):
10197 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10198 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10199
8a61ee22
SM
102002012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10201
66408d1e
SM
10202 * dabbrev.el (dabbrev--ignore-case-p): New function.
10203 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10204 Use it.
10205
8a61ee22
SM
10206 * files.el (automount-dir-prefix): Mark as obsolete.
10207
3c74813a
GM
102082012-05-04 Glenn Morris <rgm@gnu.org>
10209
10210 * patcomp.el, play/bruce.el: Move to obsolete/.
10211
0bfcf5c5
PE
102122012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10213
10214 Fix minor Y10k bugs.
10215 * arc-mode.el (archive-unixdate):
10216 * autoinsert.el (auto-insert-alist):
10217 * calc/calc-forms.el (math-this-year):
10218 * emacs-lisp/copyright.el (copyright-current-year)
10219 (copyright-update-year, copyright):
10220 * tar-mode.el (tar-clip-time-string):
10221 * time.el (display-time-update):
10222 Don't assume years have 4 digits.
10223
78f3273a
CY
102242012-05-04 Chong Yidong <cyd@gnu.org>
10225
10226 * dos-w32.el (file-name-buffer-file-type-alist)
10227 (direct-print-region-use-command-dot-com):
10228 * ffap.el (ffap-menu-regexp):
10229 * find-file.el (ff-special-constructs):
10230 * follow.el (follow-debug):
10231 * forms.el (forms--debug):
10232 * iswitchb.el (iswitchb-all-frames):
10233 * ido.el (ido-all-frames):
10234 * emacs-lisp/timer.el (timer-max-repeats):
10235 * mail/feedmail.el (feedmail-mail-send-hook)
10236 (feedmail-mail-send-hook-queued):
10237 * mail/footnote.el (footnote-signature-separator):
10238 * mail/mailabbrev.el (mail-alias-separator-string)
10239 (mail-abbrev-mode-regexp):
10240 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10241 * progmodes/idlwave.el (idlwave-libinfo-file)
10242 (idlwave-default-completion-case-is-down)
10243 (idlwave-library-routines): Convert defvars to defcustoms.
10244
10245 * mail/rmail.el (rmail-decode-mime-charset):
10246 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10247 (idlwave-shell-fix-inserted-breaks)
10248 (idlwave-shell-activate-alt-keybindings)
10249 (idlwave-shell-use-breakpoint-glyph):
10250 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10251
f7ae6719
SM
102522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10255
47086495
WS
102562012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10257
10258 * progmodes/verilog-mode.el (font-lock-keywords):
10259 Fix mis-highligting auto. Reported by Craig Barner.
10260 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10261 defines from global name space. Reported by Dan Dever.
47086495
WS
10262 (verilog-auto-reset, verilog-auto-reset-widths)
10263 (verilog-auto-tieoff): Support using unbased numbers for
10264 AUTORESET and AUTOTIEOFF.
10265 (verilog-submit-bug-report): Update variable list.
10266 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10267 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10268 (verilog-auto-template-lint): Fix hash error when linting modules
10269 with no used templates.
10270 (verilog-warn, verilog-warn-error)
10271 (verilog-warn-fatal): When non-interactive report multiple
10272 warnings before exiting. Suggested by Brad Dobbie.
10273 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10274 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10275 to report unused template errors. Reported by Brad Dobbie.
10276 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10277 nets, bug438. Reported by Vns Blore.
47086495
WS
10278 (verilog-auto-inout-module, verilog-auto-reg)
10279 (verilog-read-decls, verilog-read-sub-decls-sig)
10280 (verilog-signals-edit-wire-reg, verilog-signals-with):
10281 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10282 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10283 "reg" for backwards compatibility presuming Verilog 2001.
10284 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10285 (verilog-preprocess): Fix replication of preprocess output.
10286 Reported by Brad Dobbie.
10287 (verilog-auto-inst-interfaced-ports):
10288 Create verilog-auto-inst-interfaced-ports, bug429.
10289 Reported by Julian Gorfajn.
10290 (verilog-after-save-font-hook)
10291 (verilog-before-save-font-hook): New variable.
10292 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10293 (verilog-save-font-mods): Wrap disabling fontification, reported
10294 by David Rogoff.
10295 (verilog-do-indent, verilog-pretty-declarations-auto)
10296 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10297 Reported by Pierre-David Pfister.
10298 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10299 of class declarations, bug292. Reported by Kevin Heilman.
10300 (verilog-read-decls): Fix 'parameter type' not appearing in
10301 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10302 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10303 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10304 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10305 Reported by David Kravitz.
10306
103072012-05-03 Michael McNamara <mac@mail.brushroad.com>
10308
10309 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10310 assignment with tests in ifs and for loops.
10311 (verilog-extended-complete-re, verilog-complete-reg): Change so
10312 that DPI inport functions don't look like fuction declarations.
10313 (verilog-pretty-expr): Don't line up assignment
10314 operations to the test and increment in if and for loops
10315 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10316 that DPI inport functions don't look like fuction declarations.
47086495 10317
2e51d4b5
KH
103182012-05-03 Kenichi Handa <handa@m17n.org>
10319
10320 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10321 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10322 (Bug#11282).
10323
2bd785a2
SM
103242012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * emacs-lisp/bytecomp.el
10327 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10328 since cconv.el might have introduced :fun-body, internal-make-closure,
10329 and friends for bytecomp to handle (bug#11391).
10330 * custom.el (defcustom): Avoid ((λ ..) ..).
10331
99d27583
SM
103322012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10335
55a71479
JB
103362012-05-02 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * notifications.el (dbus-debug):
10339 * term/linux.el (gpm-mouse-enable):
10340 * term/screen.el (xterm-register-default-colors): Declare.
10341
7b97c764
CY
103422012-05-02 Chong Yidong <cyd@gnu.org>
10343
2bc356d7
CY
10344 * cus-start.el (gc-cons-percentage, exec-suffixes)
10345 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10346 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10347 (make-cursor-line-fully-visible, void-text-area-pointer)
10348 (font-list-limit): Add customization data.
10349
7b97c764
CY
10350 * allout.el (allout-exposure-change-functions)
10351 (allout-structure-added-functions)
10352 (allout-structure-deleted-functions)
10353 (allout-structure-shifted-functions): Rename abnormal hooks from
10354 *-hook, and convert to defcustoms.
5d3385a0
JB
10355 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10356 Convert to defcustoms.
7b97c764
CY
10357 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10358
10359 * allout-widgets.el: Hook callers changed.
10360
90207a15 103612012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10362
10363 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10364 the yanked message in preference to the default value of
10365 buffer-file-coding-system.
10366
90207a15 103672012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10368
5d3385a0
JB
10369 * window.el (display-buffer--action-function-custom-type):
10370 Fix entry.
d9558cad 10371
90207a15 103722012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10373
10374 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10375
d80ac57b
GM
103762012-05-01 Glenn Morris <rgm@gnu.org>
10377
976f7668
GM
10378 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10379
beb83b5a
GM
10380 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10381
d80ac57b
GM
10382 * cus-edit.el (custom-variable-documentation): Simplify with format.
10383
b593d6a9 103842012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10385 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10386
10387 * simple.el (suggest-key-bindings, execute-extended-command):
10388 Move from keyboard.c.
10389
782fbf2a
CY
103902012-05-01 Chong Yidong <cyd@gnu.org>
10391
10392 * follow.el: Eliminate advice.
10393 (set-process-filter, process-filter, sit-for): Advice deleted.
10394 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10395 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10396 Vars deleted.
782fbf2a
CY
10397 (follow-auto): Use a :set function.
10398 (follow-mode): Rewritten. Don't advise process filters.
10399 (follow-switch-to-current-buffer-all, follow-scroll-up)
10400 (follow-scroll-down): Assume follow-mode is bound.
10401 (follow-comint-scroll-to-bottom)
10402 (follow-align-compilation-windows): New functions.
10403 (follow--window-sorter): New function.
10404 (follow-all-followers): Use it to explicitly sort windows by their
10405 positions; don't make assumptions about next-window order.
10406 (follow-windows-start-end, follow-delete-other-windows-and-split)
10407 (follow-calc-win-start): Doc fix.
10408 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10409 vertical-motion unnecessarily.
10410 (follow-adjust-window): New function.
10411 (follow-post-command-hook): Use it.
10412 (follow-call-set-process-filter, follow-call-process-filter)
10413 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10414 (follow-stop-intercept-process-output, follow-generic-filter):
10415 Functions deleted.
10416 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10417 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10418 New functions, replacing advice on scroll-bar-* commands.
87233a14 10419 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10420
10421 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10422 (comint-postoutput-scroll-to-bottom): Use it.
10423 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10424
290af740
GM
104252012-05-01 Glenn Morris <rgm@gnu.org>
10426
10427 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10428 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10429 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10430 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10431 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10432 Remove no-byte-compile setting.
10433
6eac8dc9
SM
104342012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10437 all-completions code to not return a number in the last cdr.
10438
9cc7819c
LL
104392012-04-30 Leo Liu <sdl.web@gmail.com>
10440
10441 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10442 read-only error.
10443
c93b886f
CY
104442012-04-29 Chong Yidong <cyd@gnu.org>
10445
10446 * follow.el (follow-calc-win-end): Rewrite to handle partial
10447 screen lines correctly (Bug#8390).
10448 (follow-avoid-tail-recenter): Minor cleanup.
10449
8b6c19f4
SM
104502012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 Avoid the obsolete `assoc' package.
10453 * speedbar.el (speedbar-refresh): Avoid adelete.
10454 (speedbar-file-lists): Simplify and avoid aput.
10455 * man.el (Man--sections, Man--refpages): New vars, replacing
10456 Man-sections-alist and Man-refpages-alist.
10457 (Man-build-section-alist, Man-build-references-alist):
10458 Use them; avoid aput.
10459 (Man--last-section, Man--last-refpage): New vars.
10460 (Man-follow-manual-reference): Use them.
10461 Use the `default' arg of completing-read.
10462 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10463
c5bb7569
CY
104642012-04-27 Chong Yidong <cyd@gnu.org>
10465
d1d2e2e8
CY
10466 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10467
15cd8efd
CY
10468 * startup.el (x-apply-session-resources): New function.
10469
10470 * term/ns-win.el (ns-initialize-window-system):
10471 * term/w32-win.el (w32-initialize-window-system):
10472 * term/x-win.el (x-initialize-window-system): Use it to properly
10473 set menu-bar-mode and other vars from X resources, even if the
10474 initial frame is not a window-system frame (Bug#2299).
10475
c5bb7569
CY
10476 * subr.el (read-key): Avoid running filter function when setting
10477 up temporary tool bar entries (Bug#9922).
10478
a8e7d6d7 104792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10480
10481 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10482 (Bug#11344)
10483
a8e7d6d7 104842012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10485
10486 * select.el (xselect--encode-string): New function, split from
10487 xselect-convert-to-string.
10488 (xselect-convert-to-string): Use it.
10489 (xselect-convert-to-filename, xselect-convert-to-os)
10490 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10491 returned strings are properly encoded (Bug#11315).
10492
a8e7d6d7 104932012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10494
10495 * simple.el (delete-active-region): Move to killing custom group.
10496
a8e7d6d7 104972012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10498
10499 * progmodes/which-func.el (which-func-current): Quote %
10500 characters for mode-line processing.
10501
578c1d4b 105022012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10503
10504 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10505 reaching eob (Bug#11286).
10506
a8e7d6d7 105072012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10508
10509 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10510 (gdb): Make it buffer-local and init to zero.
10511 (gdb-control-commands-regexp): New variable.
10512 (gdb-send): Don't wrap in "-interpreter-exec console" if
10513 gdb-control-level is positive. Increment gdb-control-level
10514 whenever the command matches gdb-control-commands-regexp, and
10515 decrement it each time the command is "end". (Bug#11279)
10516
a8e7d6d7 105172012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10518
10519 * window.el (adjust-window-trailing-edge, enlarge-window)
10520 (shrink-window, window-resize):
10521 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10522 windows (Bug#11276).
10523
b3608390
CY
105242012-04-27 Chong Yidong <cyd@gnu.org>
10525
10526 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10527 fix "missing prefix" warning. All callers changed.
b3608390 10528
797e6e88
SM
105292012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * emacs-lisp/assoc.el: Move to obsolete/.
10532
e95a67dc
SM
105332012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10534
657c21e4 10535 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10536
10537 * term/ns-win.el (ns-define-service):
10538 * progmodes/pascal.el (pascal-goto-defun):
10539 * progmodes/js.el (js--read-tab):
10540 * progmodes/etags.el (tags-lazy-completion-table):
10541 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10542 * emacs-lisp/ewoc.el (ewoc--wrap):
10543 * emacs-lisp/assoc.el (aput, adelete, amake):
10544 * doc-view.el (doc-view-convert-current-doc):
10545 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10546
cb3e7ae0
CY
105472012-04-26 Chong Yidong <cyd@gnu.org>
10548
dce04f7f
CY
10549 * image.el (image-type-from-buffer): Only return supported image
10550 type (Bug#9045).
10551
cb3e7ae0
CY
10552 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10553 value, for symmetry with diff-end-of-hunk.
10554 (diff-split-hunk, diff-find-source-location)
10555 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10556 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10557 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10558 compute the relevant hunk or file properly (Bug#6005).
10559 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10560
0d42eb3e
SM
105612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * vc/vc-mtn.el:
10564 * vc/vc-hg.el:
10565 * vc/vc-git.el:
10566 * vc/vc-dir.el:
10567 * vc/vc-cvs.el:
10568 * vc/vc-bzr.el:
10569 * vc/vc-arch.el:
10570 * vc/vc.el: Replace lexical-let by lexical-binding.
10571 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10572 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10573 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10574
f08ae1c9
CY
105752012-04-26 Chong Yidong <cyd@gnu.org>
10576
8b71081d
CY
10577 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10578 (diff-mode-shared-map): Bind it to / and [remap undo].
10579
f08ae1c9
CY
10580 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10581 (ediff-window-setup-function): Use it as the default, to set up
10582 windows based on whether the current frame is graphical (Bug#2138).
10583 (ediff-choose-window-setup-function-automatically): Make obsolete.
10584
10585 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10586
ef24141c
SM
105872012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10588
cc356a5d
SM
10589 * ffap.el: Remove old code for obsolete package.
10590 (ffap-complete-as-file-p): Remove.
10591
b4ff4f1f
SM
10592 Use completion-table-with-quoting for comint and pcomplete.
10593 * comint.el (comint--unquote&requote-argument)
10594 (comint--unquote-argument, comint--requote-argument): New functions.
10595 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10596 (comint-quote-filename): Use regexp-opt-charset.
10597 (comint--common-suffix, comint--common-quoted-suffix)
10598 (comint--table-subvert): Remove.
10599 (comint-unquote-function, comint-requote-function): New vars.
10600 (comint--complete-file-name-data): Use them with
10601 completion-table-with-quoting.
10602 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10603 * pcomplete.el (pcomplete-arg-quote-list)
10604 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10605 (pcomplete-unquote-argument-function): Default to non-nil.
10606 (pcomplete-unquote-argument): Simplify.
10607 (pcomplete--common-quoted-suffix): Remove.
10608 (pcomplete-requote-argument-function): New var.
10609 (pcomplete--common-suffix): New function.
10610 (pcomplete-completions-at-point): Use completion-table-with-quoting
10611 and completion-table-subvert.
10612
79c4eeb4
SM
10613 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10614 (minibuffer--double-dollars): Preserve properties.
10615 (completion--sifn-requote): New function.
10616 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10617
ef24141c
SM
10618 * minibuffer.el: Add support for completion of quoted/escaped data.
10619 (completion-table-with-quoting, completion-table-subvert): New funs.
10620 (completion--twq-try, completion--twq-all): New functions.
10621 (completion--nth-completion): New function.
10622 (completion-try-completion, completion-all-completions): Use it.
10623
784e7d6e
LL
106242012-04-25 Leo Liu <sdl.web@gmail.com>
10625
dd2ac746
SM
10626 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10627 Use compilation-message if available to find real filename.
784e7d6e 10628
07875ee7
CY
106292012-04-25 Chong Yidong <cyd@gnu.org>
10630
10631 * vc/diff-mode.el (diff-setup-whitespace): New function.
10632 (diff-mode): Use it.
10633
10634 * vc/diff.el (diff-sentinel):
10635 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10636 Whitespace mode variables based on diff style (Bug#8612).
10637
5055880d
LL
106382012-04-25 Leo Liu <sdl.web@gmail.com>
10639
daf75653
LL
10640 * progmodes/python.el (python-send-region): Add suffix .py to the
10641 temp file.
10642
5055880d
LL
10643 * files.el (auto-mode-alist): Use javascript-mode instead.
10644
db9b177b
AH
106452012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10646
ef24141c 10647 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10648
090bd7cb 10649 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10650 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10651 references, see Bug#9.
ef24141c 10652 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10653 when receiving a fault reply.
ef24141c 10654 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10655
090bd7cb 10656 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10657 (soap-inspect-simple-type): New function.
db9b177b 10658
090bd7cb 10659 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10660 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10661 (soap-decode-basic-type, soap-encode-basic-type):
10662 support unsignedInt and double basic types.
db9b177b 10663 (soap-resolve-references-for-simple-type)
ef24141c
SM
10664 (soap-parse-simple-type, soap-encode-simple-type): New function.
10665 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10666
090bd7cb 10667 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10668 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10669 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10670 the local name of "soapenc:Array".
10671 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10672 decoding integer, byte and anyURI xsd types.
10673
1fc6097b
CY
106742012-04-25 Chong Yidong <cyd@gnu.org>
10675
10676 * cus-edit.el (custom-buffer-create-internal): Update header text.
10677
afc6df87
EZ
106782012-04-25 Eli Zaretskii <eliz@gnu.org>
10679
10680 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10681 settings on 'system-type', not on 'window-system'. On MS-Windows,
10682 set interactive-mode on in GDB.
10683
dfbd787f
SM
106842012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10687 (ruby-syntax-propertize-regexp): Remove.
10688 (ruby-syntax-propertize-function): Split regexp into chunks.
10689 Match following code directly.
10690
85222d44
DG
106912012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10692
51a8ea2a
DG
10693 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10694 (ruby-syntax-propertize-regexp): New function.
10695 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10696 by a special keyword.
10697
85222d44
DG
10698 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10699 (ruby-syntax-general-delimiters-goto-beg)
10700 (ruby-syntax-propertize-general-delimiters): New functions.
10701 (ruby-syntax-propertize-function): Use them to handle GDL.
10702 (ruby-font-lock-keywords): Move old handling of GDL...
10703 (ruby-font-lock-syntactic-keywords): .. to here.
10704 (ruby-calculate-indent): Adjust indentation for GDL.
10705
b613912b
MA
107062012-04-24 Michael Albinus <michael.albinus@gmx.de>
10707
b5380639
MA
10708 * notifications.el (top): Remove unneeded declarations.
10709 (notifications-specification-version): Change to "1.2".
e43042fe 10710 (notifications-interface, notifications-notify-method)
b613912b
MA
10711 (notifications-close-notification-method): Fix docstring.
10712 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10713 (notifications-notify): Add :action-items, :resident and
10714 :transient hints. Change "image_data" to "image-data" and
10715 "image_path" to "image-path".
b613912b
MA
10716 (notifications-get-capabilities): New defun.
10717
257440aa
LL
107182012-04-24 Leo Liu <sdl.web@gmail.com>
10719
10720 * progmodes/python.el: Move hideshow setup to the end.
10721
b1bac16e
MR
107222012-04-24 Martin Rudalics <rudalics@gmx.at>
10723
10724 * window.el (handle-select-window): Clear echo area since this is
10725 no more done by read_char (Bug#11304).
10726
d81bd059
SM
107272012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10730 and `/ M' to filter-derived-mode.
10731 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10732 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10733 (ibuffer-mark-by-mode): Use default rather than initial-input.
10734 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10735
c4cf6d91
IA
107362012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10737
10738 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10739 (ibuffer-filter-by-derived-mode): New filter.
10740 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10741
7511ded8
CY
107422012-04-23 Andreas Politz <politza@fh-trier.de>
10743
10744 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10745
775c916b
CY
107462012-04-23 Chong Yidong <cyd@gnu.org>
10747
10748 * cus-edit.el (customize-apropos, customize-apropos-options):
10749 Disable matching of non-option variables (Bug#11176).
10750 (customize-option, customize-option-other-window)
10751 (customize-changed-options): Doc fix.
10752 (customize-apropos-options, customize-apropos-faces)
10753 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10754
10755 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10756 Fix word list splitting (Bug#11132).
46c71e23
CY
10757 (apropos-symbol, apropos-keybinding, apropos-label)
10758 (apropos-property, apropos-function-button)
10759 (apropos-variable-button, apropos-misc-button): New faces.
10760 (apropos-symbol-face, apropos-keybinding-face)
10761 (apropos-label-face, apropos-property-face, apropos-match-face):
10762 Variables removed (Bug#8396).
10763 (apropos-library-button, apropos-format-plist, apropos-print)
10764 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10765
2df41f9c
MA
107662012-04-23 Michael Albinus <michael.albinus@gmx.de>
10767
10768 * net/xesam.el (xesam-mode-map): Use let-bound map in
10769 initialization. (Bug#11292)
10770
da00640a
AM
107712012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10772
10773 Preserve ispell session localwords when switching back to
10774 original buffer.
10775
090bd7cb
JB
10776 * textmodes/ispell.el (ispell-buffer-session-localwords):
10777 New buffer-local variable to hold buffer session localwords.
ed9265fc 10778 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10779 localwords.
10780 (ispell-command-loop, ispell-change-dictionary)
10781 (ispell-buffer-local-words): Preserve session localwords when
10782 needed.
10783
090bd7cb
JB
10784 * textmodes/flyspell.el (flyspell-process-localwords)
10785 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10786
f621ccf5
AM
107872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10788
090bd7cb
JB
10789 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10790 using obsolete `translation-table-for-input'.
ef24141c
SM
10791 (ispell-word, ispell-process-line, ispell-complete-word):
10792 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10793
c2d1019e
CY
107942012-04-22 Chong Yidong <cyd@gnu.org>
10795
10796 * cus-edit.el (custom-variable-menu)
10797 (custom-variable-reset-saved, custom-face-menu)
10798 (custom-face-reset-saved): If there is no saved value, make the
10799 "reset-saved" operation bring back the default (Bug#9509).
10800 (custom-face-state): Properly detect themed faces.
10801
eeddc531
CY
10802 * faces.el (face-spec-set): Stop supporting deprecated form of
10803 third arg.
10804
dcbf5805
MA
108052012-04-22 Michael Albinus <michael.albinus@gmx.de>
10806
10807 Move functions from C to Lisp. Make non-blocking method calls
10808 the default. Implement further D-Bus standard interfaces.
10809
ef24141c
SM
10810 * net/dbus.el (dbus-message-internal): Declare function.
10811 Remove unneeded function declarations.
dcbf5805
MA
10812 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10813 (dbus-message-type-method-return, dbus-message-type-error)
10814 (dbus-message-type-signal): Declare variables. Remove local
10815 definitions.
10816 (dbus-interface-dbus, dbus-interface-peer)
10817 (dbus-interface-introspectable, dbus-interface-properties)
10818 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10819 Adapt docstring.
10820 (dbus-interface-objectmanager): New defconst.
10821 (dbus-call-method, dbus-call-method-asynchronously)
10822 (dbus-send-signal, dbus-method-return-internal)
10823 (dbus-method-error-internal, dbus-register-service)
10824 (dbus-register-signal, dbus-register-method): New defuns, moved
10825 from dbusbind.c
10826 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10827 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10828 New defuns.
dcbf5805
MA
10829 (dbus-call-method-non-blocking): Make it an obsolete function.
10830 (dbus-unregister-object, dbus-unregister-service)
10831 (dbus-handle-event, dbus-register-property)
10832 (dbus-property-handler): Obey the new structure of
10833 `bus-registered-objects'.
10834 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10835 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10836 Use `dbus-call-method'.
10837
cf20dee0
CY
108382012-04-22 Chong Yidong <cyd@gnu.org>
10839
10840 * cus-edit.el (custom-commands, custom-reset-menu)
10841 (Custom-reset-standard): Tweak labels.
10842 (custom-reset-button-menu): Change default to t.
10843 (custom-buffer-create-internal): For the custom-reset-button-menu
10844 case, put the revert button first.
10845 (custom-group-subtitle): New face.
10846 (custom-group-value-create): Align docstring to a specific column.
10847
10848 * wid-edit.el (widget-documentation-link-add): Don't handle
10849 indentation in this function.
10850 (widget-documentation-string-indent-to): New function.
10851 (widget-documentation-string-value-create): Use it.
10852
10853 * autorevert.el (auto-revert):
10854 * epg-config.el (epg):
10855 * ibuffer.el (ibuffer):
10856 * mpc.el (mpc):
10857 * ses.el (ses):
10858 * eshell/eshell.el (eshell):
10859 * net/ange-ftp.el (ange-ftp):
10860 * progmodes/ebnf2ps.el (postscript):
10861 * progmodes/flymake.el (flymake):
10862 * progmodes/prolog.el (prolog):
10863 * progmodes/verilog-mode.el (verilog-mode):
10864 * progmodes/which-func.el (which-func):
10865 * term/xterm.el (xterm):
10866 * textmodes/picture.el (picture):
10867 * textmodes/tildify.el (tildify):
10868 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10869 customization buffers.
10870
583e23bd
AM
108712012-04-22 Alan Mackenzie <acm@muc.de>
10872
10873 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10874 Adding a ) can hide the resulting (..) from searches. Fix it.
10875 Bound the backward search to the position of the existing (.
10876
7dd51bf1
JB
108772012-04-21 Juanma Barranquero <lekktu@gmail.com>
10878
10879 * progmodes/verilog-mode.el (verilog-mode): Check whether
10880 which-func-modes is t before adding verilog-mode.
10881 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10882
d64a438f
LL
108832012-04-21 Leo Liu <sdl.web@gmail.com>
10884
7dd51bf1 10885 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10886
081e8d65
MV
108872012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10888
10889 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10890 filling of the last column of a table (Bug#5635).
10891 (woman-find-next-control-line): New arg, specifying an additional
10892 regexp component for the control line.
10893 (woman2-roff-buffer): Use it.
10894 (woman-break-table): New function.
10895 (woman2-TS): Use it.
10896
108972012-04-21 Chong Yidong <cyd@gnu.org>
10898
10899 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10900 (woman-horizontal-escapes, woman-negative-vertical-space)
10901 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10902 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10903
ed571ccb
SM
109042012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * minibuffer.el (completion-file-name-table): Complete user names.
10907
39773899
LL
109082012-04-20 Leo Liu <sdl.web@gmail.com>
10909
10910 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10911 and pcase-let*.
10912
de6ff46d
CY
109132012-04-20 Chong Yidong <cyd@gnu.org>
10914
10915 * server.el (server-execute): Respect initial-buffer-choice if it
10916 is a string and there are no files to open (Bug#2825).
10917 (server-create-window-system-frame, server-create-tty-frame):
10918 Don't switch buffers here.
2d0e8e61
CY
10919 (server-process-filter): Only try to open a window system frame if
10920 compiled with graphical support (Bug#8314).
de6ff46d 10921
54071013
DN
109222012-04-20 Dan Nicolaescu <dann@gnu.org>
10923
10924 * battery.el (battery-echo-area-format): Display remaining time
10925 for sysfs backend too (Bug#11269).
10926 (battery-linux-sysfs): Fix conditional for the charge.
10927
f30d612a
CY
109282012-04-20 Chong Yidong <cyd@gnu.org>
10929
c07a4c0b 10930 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10931 (gdb-inferior-io--init-proc): New function.
10932 (gdb-init-1): Use it.
10933 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10934 responsible for allocating a new pty and hooking it to gdb when
10935 the old pty gets an EIO due to process exit.
10936 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10937 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10938 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10939
2116e93c
EZ
109402012-04-20 Eli Zaretskii <eliz@gnu.org>
10941
10942 * window.el (window-min-size, window-sizable, window-min-delta)
10943 (window-max-delta, window--resizable, window-resizable)
10944 (window-total-size, window-full-height-p, window-full-width-p)
10945 (window-in-direction, window--resize-mini-window, window-resize)
10946 (window--resize-child-windows-normal)
10947 (window--resize-child-windows, window--resize-siblings)
10948 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10949 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10950
c07a4c0b 109512012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10952
ef24141c
SM
10953 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10954 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10955 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10956 pty process (Bug#11273).
10957 (gdb-update): New arg to suppress talking to the gdb process.
10958 (gdb-done-or-error): Use it.
10959 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10960 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10961 sentinel not being called.
10962
10963 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10964
d02766ab
CY
10965 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10966
c07a4c0b 109672012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10968
10969 * net/network-stream.el (open-network-stream): Doc fix.
10970
c07a4c0b 109712012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10972
10973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10974
c07a4c0b 109752012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10976
10977 Ensure searching for keywords is case sensitive.
10978
10979 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10980 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10981 (c-defun-name, c-mark-function, c-cpp-define-name)
10982 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10983 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10984
ef24141c
SM
10985 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10986 Bind case-fold-search to nil.
f0f6bc35 10987
c07a4c0b 109882012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10989
10990 * mail/sendmail.el (mail-bury): Call return action with the right
10991 Rmail buffer (Bug#11242).
10992
9a864fa2
CY
10993 * server.el (server-process-filter): Handle corner case where both
10994 tty and nowait options are present (Bug#11102).
10995
539aa513
EZ
109962012-04-20 Eli Zaretskii <eliz@gnu.org>
10997
10998 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10999 (top level): Put into the executable the ident-style '$Id:' tag on
11000 windows-nt as well.
539aa513 11001
cfc7d5da
SM
110022012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * electric.el (electric-indent-post-self-insert-function): Check that
11005 electric-indent-mode is enabled in current buffer.
11006
5b01685c
JB
110072012-04-19 Juanma Barranquero <lekktu@gmail.com>
11008
11009 * imenu.el (imenu-progress-message): Restore; it is "used" in
11010 erc/erc-imenu.el and net/snmp-mode.el.
11011
4d6769e1
JB
110122012-04-19 Juanma Barranquero <lekktu@gmail.com>
11013
11014 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11015 (mouse-avoidance-nudge-mouse): Remove unused binding.
11016
11017 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11018
11019 * descr-text.el (describe-char):
11020 * progmodes/python.el (python-describe-symbol):
11021 Don't call `toggle-read-only', set `buffer-read-only'.
11022
11023 * imenu.el (imenu-default-goto-function): Mark unused args.
11024 (imenu-progress-message): Remove obsolete macro; all callers changed.
11025
11026 * subr.el (keymap-canonicalize): Remove unused binding.
11027 (read-passwd): Mark unused arg.
11028
11029 * tutorial.el (tutorial--display-changes): Remove unused binding.
11030 (tutorial--save-tutorial-to): Remove unused variable.
11031
11032 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11033 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11034 (package-generate-autoloads, package-menu--generate)
11035 (package-menu--find-upgrades): Remove unused bindings.
11036
11037 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11038 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11039 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11040 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11041 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11042 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11043 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11044 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11045 (cua-delete-char-rectangle): Mark unused args.
11046 (cua-align-rectangle): Remove unused binding.
11047
11048 * mail/rmail.el (compilation--message->loc)
11049 (epa--find-coding-system-for-mime-charset): Declare.
11050
11051 * net/dbus.el (dbus-register-service): Declare.
11052 (dbus-name-owner-changed-handler): Remove unused binding.
11053
11054 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11055 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11056 (nxml-scan-backward-within): Mark unused arg.
11057 (nxml-dynamic-markup-word): Remove unused binding.
11058
11059 * mouse.el (mouse-menu-major-mode-map):
11060 * emacs-lisp/authors.el (authors-scan-change-log)
11061 (authors-add-to-author-list):
11062 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11063 * emacs-lisp/smie.el (smie-auto-fill):
11064 * mail/sendmail.el (mail-bury):
11065 * mail/unrmail.el (unrmail):
11066 * net/tls.el (open-tls-stream):
11067 * textmodes/picture.el (picture-mouse-set-point):
11068 Remove unused bindings.
11069
8c8fc5df
MA
110702012-04-19 Michael Albinus <michael.albinus@gmx.de>
11071
11072 * net/tramp.el (tramp-action-password): Let-bind
11073 `enable-recursive-minibuffers' to t.
11074
a77b0ac9
SS
110752012-04-18 Sam Steingold <sds@gnu.org>
11076
11077 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11078 instead of 'string to accommodate values like [f11].
11079 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11080 * progmodes/gdb-mi.el: Likewise.
11081
12a106a9
LL
110822012-04-18 Leo Liu <sdl.web@gmail.com>
11083
11084 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11085 current buffer.
11086 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11087 LOCAL is nil.
11088
bc6494ef
CY
110892012-04-18 Chong Yidong <cyd@gnu.org>
11090
11091 * simple.el (line-move): Use forward-line if in batch mode
11092 (Bug#11053).
11093
c09c46b2
CS
110942012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11095
11096 * files.el (after-find-file): Do not try to add a final newline if
11097 the buffer is read-only (Bug#11156).
11098
5f6530ea
RS
110992012-04-17 Richard Stallman <rms@gnu.org>
11100
11101 * mail/rmail.el (rmail-start-mail):
11102 Pass (rmail-mail-return...) for the return-action.
11103 Pass (rmail-yank-current-message...) for the yank-action.
11104 (rmail-yank-current-message): New function.
11105 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11106 (rmail-reply): Likewise.
11107 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11108
11109 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11110 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11111 buffer, not newbuf.
11112
197b6f3c
JB
111132012-04-17 Juanma Barranquero <lekktu@gmail.com>
11114
11115 * server.el (server-ensure-safe-dir): Simplify.
11116
2311d8e5 111172012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11118
2311d8e5
GM
11119 * emacs-lisp/smie.el: Provide smarter auto-filling.
11120 (smie-auto-fill): New function.
11121 (smie-setup): Use it.
98fb480e 11122
2311d8e5
GM
11123 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11124
111252012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11126
11127 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11128 (comment-indent): Use it.
11129
2311d8e5 111302012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11131
11132 * ses.el: The overall change is to add cell renaming, that is
11133 setting fancy names for cell symbols other than name matching
11134 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11135 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11136 (ses-create-cell-variable): New defun.
2311d8e5 11137 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11138 (ses-relocate-formula): Relocate formulas only for cells the
11139 symbols of which are not renamed, i.e. symbols whose names do not
11140 match regexp "\\`[A-Z]+[0-9]+\\'".
11141 (ses-relocate-all): Relocate values only for cells the symbols of
11142 which are not renamed.
11143 (ses-load): Create cells variables as the (ses-cell ...) are read,
11144 in order to check row col consistency with cell symbol name only
11145 for cells that are not renamed.
11146 (ses-replace-name-in-formula): New defun.
11147 (ses-rename-cell): New defun.
4bdf2ad2 11148
fc72b15c
PO
111492012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11150
11151 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11152 New option (bug#11118).
11153 (perl-calculate-indent): Respect it.
11154
12e10e61
GM
111552012-04-17 Glenn Morris <rgm@gnu.org>
11156
11157 * dired-aux.el (dired-mark-read-string): Doc fix.
11158
30009afd
DA
111592012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11160
11161 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11162 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11163
41f03f4d
GM
111642012-04-17 Glenn Morris <rgm@gnu.org>
11165
11166 * mouse.el (mouse-drag-track):
11167 * speedbar.el (speedbar-frame-mode):
11168 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11169
f45f90f3
LL
111702012-04-16 Leo Liu <sdl.web@gmail.com>
11171
11172 * progmodes/python.el: Trivial cleanup.
11173
94ee8db5
GM
111742012-04-16 Glenn Morris <rgm@gnu.org>
11175
121b8917
GM
11176 * vc/vc.el (vc-string-prefix-p):
11177 * vc/pcvs-util.el (cvs-string-prefix-p):
11178 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11179 * mpc.el (mpc-string-prefix-p):
11180 Make all of these into obsolete aliases for string-prefix-p.
11181 Update callers.
11182 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11183
1197ecfa
GM
11184 * textmodes/two-column.el: Move custom options to the start.
11185 (frame-width): Remove compat definition.
11186 (2C-associate-buffer, 2C-dissociate):
11187 Use with-current-buffer rather than save-excursion.
11188 (2C-dissociate): Force a mode-line update.
11189 (2C-autoscroll): Use ignore-errors.
11190
099e7202
GM
11191 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11192 Autoload trivia.
11193
bf350d6a
GM
11194 * emacs-lisp/cl-extra.el (*random-state*):
11195 Remove unnecessary declaration.
11196
0e829eab
GM
11197 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11198
e3ad7552
GM
11199 * play/cookie1.el (cookie-snarf):
11200 Give an explicit error if input file cannot be read.
11201
68892d27
GM
11202 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11203
20f0c46d
GM
11204 * progmodes/perl-mode.el (c-macro-expand):
11205 Remove unnecessary autoload (it is in loaddefs.el).
11206
5a0978ce
GM
11207 * textmodes/picture.el (picture-desired-column)
11208 (picture-update-desired-column): Convert comments to doc-strings.
11209 (picture-substitute): Remove function.
11210 (picture-mode-map): Initialize in the defvar.
11211
6b955486
GM
11212 * woman.el: Remove eval-after-load for tar-mode.
11213 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11214 (woman-tar-extract-file): Autoload it.
11215
94ee8db5
GM
11216 * frame.el (automatic-hscrolling): Make this alias obsolete.
11217
177eca34
AM
112182012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11219
090bd7cb 11220 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11221 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11222 (ispell-dictionary-base-alist): Revert to original XEmacs
11223 friendly version for default. [:alpha:] will be added in
090bd7cb 11224 `ispell-set-spellchecker-params' if needed.
177eca34 11225
c505aaeb
CY
112262012-04-16 Chong Yidong <cyd@gnu.org>
11227
b19dd9d1 11228 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11229 (imagemagick-register-types): Use it.
11230 (imagemagick-types-inhibit): Add :set function. Allow new value
11231 of t to inhibit all types.
11232
11233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11234 so we can preload it.
11235
11236 * loadup.el (fboundp): Preload regexp-opt, needed by
11237 imagemagick-register-types.
11238
60efac0f
CY
112392012-04-15 Chong Yidong <cyd@gnu.org>
11240
11241 * frame.el (scrolling): Remove nearly unused customization group.
11242
11243 * scroll-all.el (scroll-all-mode): Move to windows group.
11244
5dd1713e
CY
112452012-04-15 Chong Yidong <cyd@gnu.org>
11246
11247 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11248
e6fd457e
CY
112492012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11252 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11253
e153c136
GM
112542012-04-15 Glenn Morris <rgm@gnu.org>
11255
11256 * simple.el (process-file-side-effects): Doc fix.
11257
e6fd457e 112582012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11259
11260 * international/mule-cmds.el (set-language-environment): Doc fix.
11261
3603c3b1
JB
112622012-04-14 Juanma Barranquero <lekktu@gmail.com>
11263
11264 * server.el (server-auth-key, server-generate-key): Doc fixes.
11265 (server-get-auth-key): Doc fix. Use `string-match-p'.
11266 (server-start): Reflow docstring.
11267
e6de100c
LI
112682012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11269
11270 * server.el (server-generate-key): `called-interactively-p'
11271 requires a parameter.
11272
29734c21
MN
112732012-04-14 Michal Nazarewicz <mina86@mina86.com>
11274
11275 * server.el (server-auth-key): New variable.
75f1671a 11276 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11277 (server-start): Use the new variable and functions to allow
11278 setting a permanent server key (bug#9423).
11279
d65c9521
LL
112802012-04-14 Leo Liu <sdl.web@gmail.com>
11281
11282 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11283
5ae255c7
PE
112842012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11285
11286 Spelling fixes.
11287 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11288 Emacs uses American spelling.
11289
d5e6342e
JB
112902012-04-14 Juanma Barranquero <lekktu@gmail.com>
11291
11292 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11293 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11294 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11295 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11296
ab036cd7
SM
112972012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * progmodes/which-func.el (which-func-modes): Change default.
11300
35dc09a1 113012012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11302
11303 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11304 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11305
35dc09a1 113062012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11307
11308 * custom.el (custom-theme-set-variables): Doc fix.
11309
35dc09a1 113102012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11311
11312 * international/mule.el (set-auto-coding-for-load): Doc fix.
11313
35dc09a1 113142012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11315
35dc09a1
GM
11316 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11317 imenu work again for Objective C Mode. Correct the *-index values,
11318 these having been disturbed by a previous change in 2011-08.
57f845ee 11319
0de3da9f
AM
11320 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11321 Correct two search limits.
11322
35dc09a1 113232012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11324
11325 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11326
35dc09a1 113272012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11328
11329 * international/characters.el: Fix sorting.
11330
35dc09a1 113312012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11332
11333 * international/characters.el: Add more missing Latin case pairs.
11334
35dc09a1 113352012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11336
11337 * files.el (dir-locals-set-class-variables): Doc fix.
11338
35dc09a1 113392012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11340
3f1b5bf8
EZ
11341 * international/characters.el: Add set-case-syntax-pair call for
11342 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11343 counterpart. (Bug#11209)
11344
9f847f41
EZ
11345 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11346
35dc09a1 113472012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11348
11349 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11350
35dc09a1 113512012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11352
35dc09a1
GM
11353 * textmodes/ispell.el (ispell-dictionary-base-alist):
11354 Add data for Hebrew.
e2627d21 11355
35dc09a1 113562012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11357
35dc09a1
GM
11358 * net/rcirc.el (rcirc-cmd-quit):
11359 Revert 2012-03-18 change (Bug#11192).
5c14e333 11360
35dc09a1 113612012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11362
11363 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11364
35dc09a1 113652012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11366
4517fe3a
SM
11367 * minibuffer.el (completion-in-region-mode-map):
11368 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11369
b472a594
VD
113702012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11371
11372 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11373
09b95ce3
MY
113742012-04-13 Masatake YAMATO <yamato@redhat.com>
11375
11376 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11377 to allow `C-M-f' and `C-M-b' to move to the nearest path
11378 separator (bug#9511).
11379
4b63a9ca
LI
113802012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11381
11382 * avoid.el: Require cl when compiling. And also move the
11383 `provide' to the end.
11384
7b55b8bf
TV
113852012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11386
11387 * avoid.el (mouse-avoidance-banish-position): New variable.
11388 (mouse-avoidance-banish-destination): Use it (bug#10165).
11389
adedaa1f
LL
113902012-04-13 Leo Liu <sdl.web@gmail.com>
11391
11392 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11393
70e74021
KB
113942012-04-13 Ken Brown <kbrown@cornell.edu>
11395
11396 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11397 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11398 (browse-url-filename-alist): For the same reason, don't modify
11399 file:// URLs on Cygwin.
11400
e75e89ba
SM
114012012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11404 the region on shift if the binding is already shifted (bug#11221).
11405
82f289a4
GM
114062012-04-12 Glenn Morris <rgm@gnu.org>
11407
11408 * mail/mailpost.el: Move to obsolete/.
11409
d333dc4c
DA
114102012-04-12 Drew Adams <drew.adams@oracle.com>
11411
11412 * imenu.el (imenu--generic-function): Ignore invisible definitions
11413 (bug#10123).
11414
0d15b5ba
VD
114152012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11416
11417 * hexl.el (hexl-bits): New variable.
11418 (hexl-options): Mention the variable in the doc string.
75f1671a 11419 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11420 (hexl-mode): Mention the new variable.
75f1671a
JB
11421 (hexl-mode, hexl-current-address, hexl-current-address):
11422 Use the displen.
0d15b5ba
VD
11423 (hexl-ascii-start-column): New function.
11424 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11425 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11426
64a440db
AM
114272012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11428
11429 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11430 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11431 the encoding, as expected by hunspell.
11432
6decb6c2
SM
114332012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * battery.el (battery--linux-sysfs-regexp): New const.
11436 (battery-status-function): Use it. Remove yeeloong special case.
11437 (battery-yeeloong-sysfs): Remove.
11438 (battery-echo-area-format): Remove yeeloong special case.
11439
088be6fb
SM
114402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11441
6622e416
SM
11442 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11443 Reported by Noah Friedman.
11444
088be6fb
SM
11445 * subr.el (read-passwd): Use read-string.
11446
b49f886e
LMI
114472012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11448
11449 * vcursor.el (vcursor-move): Increase the priority of the overlay
11450 (bug#9663).
11451
a63067fc
DD
114522012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11453
11454 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11455 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11456
ac3cf14a
WS
114572012-04-11 William Stevenson <yhvh2000@gmail.com>
11458
11459 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11460 define-minor-mode (bug#10760).
11461
c4fc691b 114622012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11463
4d6769e1 11464 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11465 that directories matching `grep-find-ignored-files' won't be
11466 pruned (bug#10351).
11467
af23e2e5
CY
114682012-04-11 Chong Yidong <cyd@gnu.org>
11469
11470 * startup.el (command-line): Remove support for long-obsolete
11471 variable font-lock-face-attributes.
11472
ab7ce8c1
GM
114732012-04-11 Glenn Morris <rgm@gnu.org>
11474
11475 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11476
de8c03dc
SM
114772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * window.el (window--state-get-1): Obey window-point-insertion-type.
11480
050cc68b
LB
114812012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11482
11483 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11484 to previous function when point is on the first character of a
75f1671a 11485 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11486
a38c310c
GM
114872012-04-11 Glenn Morris <rgm@gnu.org>
11488
effed0c2
GM
11489 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11490 not just file-errors.
11491
a38c310c
GM
11492 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11493 (vc-bzr-sha1): Use internal sha1.
11494
0221e323
SM
114952012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11498
43956923
SG
114992012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11500
11501 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11502 that start in the middle of the line (bug#10496).
11503
6a8c9eaf
DN
115042012-04-10 Dan Nicolaescu <dann@gnu.org>
11505
11506 * battery.el (battery-linux-proc-acpi): Only one battery is
11507 discharged at a time, but that seems to confuse battery.el when
11508 computing `rate-type' for the battery not being discharged
11509 (bug#10332).
11510
1930bf5d
SM
115112012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11512
2a718f6f
SM
11513 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11514
599430d0
SM
11515 * international/quail.el: Use dolist and simplify.
11516 (quail-define-package, quail-update-keyboard-layout)
11517 (quail-define-rules): Use dolist.
11518 (quail-insert-kbd-layout, quail-get-translation): CSE.
11519
a2754b6c
SM
11520 * tmm.el: Use dolist, remove left over hook.
11521 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11522 Use dolist.
11523 (calendar-load-hook): Don't mess with it.
11524
1930bf5d
SM
11525 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11526 Use derived-mode-p. Run the diff asynchronously.
11527
9f67961c
LMI
115282012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11529
11530 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11531
2a8ce227
JB
115322012-04-10 Juanma Barranquero <lekktu@gmail.com>
11533
11534 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11535 (list-dynamic-libraries--loaded): New function.
11536 (list-dynamic-libraries--refresh): Use it.
11537
8f33b5f8
NW
115382012-04-10 Nathan Weizenbaum <nweiz@google.com>
11539
1930bf5d
SM
11540 * progmodes/python.el (python-fill-paragraph):
11541 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11542 disabled (bug#7018).
11543
b12f0439
L
115442012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11545
1930bf5d 11546 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11547 DOS/MS Windows for the Baltic languages. There are still plenty
11548 of texts written in this encoding/codepage (bug#6519).
b12f0439 11549
57c3bd01
GM
115502012-04-10 Glenn Morris <rgm@gnu.org>
11551
11552 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11553 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11554
6c3eab30
FA
115552012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11556
1930bf5d 11557 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11558 next-line "n" and previous-line "p" in order to make recentf more
11559 consistent with ibuffer, dired or org-mode (bug#9387).
11560
24d78a88
LMI
115612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11562
bc72b5d9
LMI
11563 * image.el (put-image): Return the overlay created instead of the
11564 optional input string (bug#7834). Note that this may break code
11565 that is (for some reason or other) depending on `put-image'
11566 returning the string.
11567
bd2dba5a
LMI
11568 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11569
74beb59f
LMI
11570 * simple.el (zap-to-char): Allow zapping using input methods
11571 (bug#1580).
11572
24d78a88
LMI
11573 * textmodes/fill.el (fill-region): Leave point and mark where they
11574 were before filling (bug#5399).
11575
263f20cd
GM
115762012-04-09 Glenn Morris <rgm@gnu.org>
11577
11578 * version.el (emacs-bzr-get-version):
11579 Handle lightweight checkouts of local branches.
11580
58d1f797
AS
115812012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11582
263f20cd 11583 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11584
b4d3bc10
CY
115852012-04-09 Chong Yidong <cyd@gnu.org>
11586
11587 * custom.el (custom-variable-p): Return nil for non-symbol
11588 arguments instead of signaling an error.
11589 (user-variable-p): Obsolete alias for custom-variable-p.
11590
11591 * apropos.el (apropos-variable):
11592 * files-x.el (read-file-local-variable):
11593 * simple.el (set-variable):
11594 * woman.el (woman-mini-help):
11595 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11596
fd06db5d
GM
115972012-04-09 Glenn Morris <rgm@gnu.org>
11598
e5fcdb5e
GM
11599 * startup.el (normal-top-level): Don't look for leim-list.el
11600 in places where it will not be found. (Bug#910)
11601
fd06db5d
GM
11602 * international/mule-cmds.el (set-default-coding-systems):
11603 * files.el (normal-mode):
11604 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11605 This function was removed with ucs-tables.el in 2008.
11606
b39bb7e1
EZ
116072012-04-08 Eli Zaretskii <eliz@gnu.org>
11608
11609 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11610 ispell-encoding8-command to "-i", without a trailing space.
11611 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11612 separate command-line arguments, to specify the encoding, since
11613 that's how hunspell expects it.
11614
5c5b8e23
GM
116152012-04-08 Glenn Morris <rgm@gnu.org>
11616
11617 * loadup.el: Load bindings before cus-start.
11618 This reduces somewhat the number of "rogue" settings in emacs -Q.
11619
a1ed8b05
GM
116202012-04-07 Glenn Morris <rgm@gnu.org>
11621
11622 * version.el (emacs-bzr-get-version): New function.
dfae128a 11623 (emacs-bzr-version): New variable.
a1ed8b05
GM
11624 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11625 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11626
b142f158
EZ
116272012-04-07 Eli Zaretskii <eliz@gnu.org>
11628
dfae128a
GM
11629 * international/uni-bidi.el, international/uni-category.el:
11630 * international/uni-combining.el, international/uni-decimal.el:
11631 * international/uni-decomposition.el, international/uni-digit.el:
11632 * international/uni-lowercase.el, international/uni-mirrored.el:
11633 * international/uni-name.el, international/uni-numeric.el:
11634 * international/uni-titlecase.el, international/uni-uppercase.el:
11635 Update for Unicode 6.1.
b142f158 11636
9078ead6
EZ
116372012-04-07 Eli Zaretskii <eliz@gnu.org>
11638
11639 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11640
f23d2c7d
LMI
116412012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11642
11643 * window.el (shrink-window): Mention the `window-min-height'
11644 variable in the doc string.
11645
0a0a3573
BG
116462012-04-05 Bastien Guerry <bzg@altern.org>
11647
11648 * color.el (color-lighten-name): Fix typo.
11649
e5248ac9
SM
116502012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * server.el (server--on-display-p): New function.
11653 (server--on-display-p): Use it.
11654
b4243e22
GV
116552012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11656
11657 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11658 (bug#11145).
11659
305d9f44
SM
116602012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * comint.el (comint--common-quoted-suffix): Check string boundary
11663 before comparing (bug#11158).
11664 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11665
3d439cd1
CY
116662012-04-04 Chong Yidong <cyd@gnu.org>
11667
321cc491
CY
11668 * minibuffer.el (completion-extra-properties): Doc fix.
11669
3d439cd1
CY
11670 * subr.el (delayed-warnings-hook): Doc fix.
11671
2d562c0f
DU
116722012-04-04 Daiki Ueno <ueno@unixuser.org>
11673
11674 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11675 selection (Bug#11159).
11676 (epa-insert-keys): Inform that the default public key will be
11677 exported if no key is selected.
11678
4443f204
RS
116792012-04-04 Richard Stallman <rms@gnu.org>
11680
11681 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11682
529c06b6
CY
116832012-04-03 Chong Yidong <cyd@gnu.org>
11684
11685 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11686 mail-insert-file, not its obsolete alias mail-attach-file.
11687
66b907dc
MA
116882012-04-03 Michael Albinus <michael.albinus@gmx.de>
11689
11690 * notifications.el (notifications-notify): Fix docstring.
11691
c0ea195d
GM
116922012-04-02 Glenn Morris <rgm@gnu.org>
11693
11694 * emacs-lisp/authors.el (authors-aliases): Another addition.
11695
5ca64e00
MA
116962012-04-02 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11699 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11700 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11701
42ee526b
CY
117022012-04-01 Chong Yidong <cyd@gnu.org>
11703
11704 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11705 Handle root directory properly.
11706 (copy-directory): Caller changed.
11707
11708 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11709 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11710
0b021094
GM
117112012-03-31 Glenn Morris <rgm@gnu.org>
11712
40f86458
GM
11713 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11714
7019c177
GM
11715 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11716
a1daddd6
GM
11717 * calendar/calendar.el (calendar-window-list)
11718 (calendar-hide-window): Restore. (Bug#11140)
11719 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11720
0b021094
GM
11721 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11722
40311efc
TV
117232012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11724
11725 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11726 Check if file is a symlink (Bug#10489).
11727
11728 * files.el (copy-directory): Likewise.
11729
5319014e
CY
117302012-03-30 Chong Yidong <cyd@gnu.org>
11731
11732 * image.el (imagemagick-types-inhibit)
11733 (imagemagick-register-types): Doc fix.
11734
935d1290
AM
117352012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11736
090bd7cb 11737 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11738 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11739 and treats ~word as ordinary words in pipe mode.
935d1290 11740
61c6e8fd
GM
117412012-03-30 Glenn Morris <rgm@gnu.org>
11742
11743 * tutorial.el (help-with-tutorial): Ensure local variables don't
11744 happen to make the buffer read-only. (Bug#11127)
11745
81fdff00
SM
117462012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11749 (perl-calculate-indent): Return `noindent' in strings.
11750
6e7a6ec0
SS
117512012-03-28 Sam Steingold <sds@gnu.org>
11752
11753 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11754 instead of the broken adhockery which does not prevent calendar
11755 buffers from being displayed at random after exit.
11756 (calendar-window-list, calendar-hide-window): Remove the broken
11757 adhockery.
11758
fee88ca0
GM
117592012-03-28 Glenn Morris <rgm@gnu.org>
11760
11761 * replace.el (query-replace-map): Doc fix.
11762
38de3354
AS
117632012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11764
11765 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11766 contents. (Bug#11109)
11767
b973155e
SM
117682012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11771 (bug#11077).
11772 (avl-tree--check, avl-tree--check-node): New funs.
11773
dcb6e7b3
MR
117742012-03-27 Martin Rudalics <rudalics@gmx.at>
11775
11776 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11777 (switch-to-prev-buffer, switch-to-next-buffer):
11778 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11779 showing a buffer already is done on the same frame.
11780
b4fa35fa
GM
117812012-03-27 Glenn Morris <rgm@gnu.org>
11782
11783 * startup.el (mail-host-address): Doc fix.
11784
f9210e18
SM
117852012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11788 than 197 variables.
11789
c0bf7753
AF
117902012-03-26 Ami Fischman <ami@fischman.org>
11791
11792 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11793
33da7b16
GM
117942012-03-26 Glenn Morris <rgm@gnu.org>
11795
02243d9d
GM
11796 * files.el (save-buffers-kill-emacs): Doc fix.
11797
33da7b16
GM
11798 * startup.el (normal-top-level, command-line, command-line-1):
11799 Give them doc strings.
11800
e5a69fd0
EZ
118012012-03-25 Eli Zaretskii <eliz@gnu.org>
11802
11803 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11804 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11805
9a69676a
CY
118062012-03-25 Chong Yidong <cyd@gnu.org>
11807
4125cb8b
CY
11808 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11809 theme if it was previously enabled before (Bug#11031).
11810
dd470960
CY
11811 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11812 spec with custom-face-get-current-spec if its :shown-value is not
11813 determined yet (Bug#9337).
4125cb8b 11814 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11815
9a69676a
CY
11816 * button.el (button-at): Minor addition to docstring.
11817
6e7e90fa
SL
118182012-03-24 Simon Leinen <simon.leinen@gmail.com>
11819
11820 * vc/vc.el (vc-merge): Fix a prompt.
11821
f06e2758
CY
118222012-03-24 Chong Yidong <cyd@gnu.org>
11823
11824 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11825 point (Bug#9623).
11826
6e7e90fa
SL
11827 * button.el (button-at): Minor addition to docstring.
11828
b9d0879b
SM
118292012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * newcomment.el (comment-choose-indent): No space after BOL.
11832
e71cebb3
SS
118332012-03-22 Sam Steingold <sds@gnu.org>
11834
11835 * window.el (switch-to-prev-buffer): Revert last patch because the
11836 bug turned out to be an advertised feature (Elisp manual 28.14).
11837
335aff35
GM
118382012-03-22 Glenn Morris <rgm@gnu.org>
11839
11840 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11841 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11842
c676576a
LMI
118432012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * net/network-stream.el (network-stream-open-starttls): Make error
11846 message under Windows be less misleading.
11847
126f3d39
LW
118482012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11849
11850 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11851 understands (bug#9942).
11852
64fee311
CY
118532012-03-22 Chong Yidong <cyd@gnu.org>
11854
11855 * simple.el (end-of-visible-line): Handle return value of
11856 next-single-property-change properly (Bug#9371).
11857
a640d29a
KH
118582012-03-22 Kenichi Handa <handa@m17n.org>
11859
11860 * international/quail.el (quail-insert-kbd-layout): Fix previous
11861 change. To avoid unwanted bidi reordering, use
11862 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11863
39675016
DG
118642012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11865
11866 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11867 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11868 (ruby-beginning-of-indent): Be more careful with the difference
11869 between word-boundary and symbol boundary.
11870 (ruby-mode-syntax-table): Make : a symbol constituent.
11871
0a6934fc 118722012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11873
3d008e4f
SM
11874 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11875
0a6934fc
SM
118762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11877
af67c9d7
SM
11878 * progmodes/etags.el (tags-completion-at-point-function):
11879 Improve last fix.
11880
1acad97c
SM
11881 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11882
e298b5da
SS
118832012-03-21 Sam Steingold <sds@gnu.org>
11884
11885 * progmodes/etags.el (tags-completion-at-point-function):
11886 Avoid the error when point is inside the pattern.
11887
91d82a70
JY
118882012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11889
11890 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11891 line (Bug#10855).
11892
69188b79
CY
118932012-03-21 Drew Adams <drew.adams@oracle.com>
11894
11895 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11896
99fc91fe
AK
118972012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11898
11899 * ido.el (ido-set-current-directory, ido-read-internal)
11900 (ido-choose-completion-string, ido-completion-help): Handle nil
11901 value of ido-completion-buffer (Bug#11008).
11902
087bbb4c
SS
119032012-03-21 Sam Steingold <sds@gnu.org>
11904
11905 * window.el (switch-to-prev-buffer): Do not switch to a visible
11906 window previous buffer, just like with the frame previous buffers.
11907
fb5b8aca
CY
119082012-03-21 Chong Yidong <cyd@gnu.org>
11909
11910 * faces.el (make-face, make-empty-face, copy-face):
11911 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11912 Doc fixes.
11913
dc9924b8
SM
119142012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11917 (widget-complete): Remove broken use of it.
11918
f0bcceb9
CY
119192012-03-20 Chong Yidong <cyd@gnu.org>
11920
dc9924b8
SM
11921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11922 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11923 characters.
11924
ee52ebf3
TH
119252012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11926
11927 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11928 to draw rectangles, not squares. (Regression introduced by revno
11929 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11930
4c5779ab
CY
119312012-03-18 Chong Yidong <cyd@gnu.org>
11932
11933 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11934 it is not yet defined (for temacs).
11935
15360934
LL
119362012-03-18 Leo Liu <sdl.web@gmail.com>
11937
735135f9
PE
11938 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11939 prefix.
15360934 11940
d9a8eb66
EZ
119412012-03-17 Eli Zaretskii <eliz@gnu.org>
11942
11943 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11944 (ispell-choices-win-default-height, ispell-silently-savep)
11945 (ispell-dictionary-alist, ispell-encoding8-command)
11946 (ispell-check-version, ispell-aspell-find-dictionary)
11947 (ispell-valid-dictionary-list, ispell-words-keyword)
11948 (ispell-get-word, ispell-internal-change-dictionary)
11949 (ispell-region, ispell-skip-region-list)
11950 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11951 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11952 (ispell-message-text-end, ispell-message)
11953 (ispell-buffer-local-parsing): Doc fix.
11954
f02ff80d
J
119552012-03-13 Jambunathan K <kjambunathan@gmail.com>
11956
11957 * htmlfontify.el: Add support for code block fontification for ODT
11958 export (Bug #9914).
11959 (hfy-optimisations): Define new option
11960 `body-text-only'
11961 (hfy-fontify-buffer): Honor above setting.
11962 (hfy-begin-span, hfy-end-span): New routines factored out form
11963 `hfy-fontify-buffer'.
11964 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11965 that permit insertion of custom tags.
11966 (hfy-fontify-buffer): Use above handlers.
11967 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11968 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11969 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11970 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11971 bind a special variable `hfy-user-sheet-assoc'.
11972 (htmlfontify-string): New defun.
11973 (hfy-compile-face-map): Make sure that the last char in the
11974 buffer is correctly fontified.
11975 (hfy-face-resolve-face): Whitespace only change.
11976
9ac7a13f
EZ
119772012-03-17 Eli Zaretskii <eliz@gnu.org>
11978
11979 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11980 message more clear.
11981
e2b5bdd7
LL
119822012-03-16 Leo Liu <sdl.web@gmail.com>
11983
11984 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11985
2e492df3
AM
119862012-03-16 Alan Mackenzie <acm@muc.de>
11987
677d5c92 11988 Further optimize the handling of large macros.
2e492df3
AM
11989
11990 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11991 limit to a call of `c-literal-limits'.
11992 (c-determine-+ve-limit): New function.
dc9924b8
SM
11993 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11994 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11995 In CASE 5B, restrict a search limit to 500.
11996 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11997
11998 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11999 Restrict macro bounds to +-500 from after-change's BEG END.
12000
50e94f0c
LL
120012012-03-16 Leo Liu <sdl.web@gmail.com>
12002
12003 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12004
6f09f6ed
AH
120052012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12006
12007 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12008 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12009
c7e73d51
GM
120102012-03-16 Glenn Morris <rgm@gnu.org>
12011
da986230
GM
12012 * view.el (view-buffer, view-buffer-other-window)
12013 (view-buffer-other-frame): Doc fixes re special mode-class.
12014
0835f01e
GM
12015 * subr.el (eval-after-load): If named feature is provided not from
12016 a file, run after-load forms. (Bug#10946)
12017
c7e73d51
GM
12018 * calendar/calendar.el (calendar-insert-at-column):
12019 Handle non-unit-width characters a bit better. (Bug#10978)
12020
3f2eafd1
CY
120212012-03-15 Chong Yidong <cyd@gnu.org>
12022
12023 * emacs-lisp/ring.el (ring-extend): New function.
12024 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12025
12026 * comint.el (comint-read-input-ring)
12027 (comint-add-to-input-history): Grow comint-input-ring lazily.
12028
103af3fe
SM
120292012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12030
663b1677
SM
12031 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12032 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12033
103af3fe
SM
12034 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12035 (imenu-add-to-menubar): Don't add a redundant index.
12036 (imenu-update-menubar): Handle a dynamically composed keymap.
12037
899cb7cb
KY
120382012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12039
12040 * mail/sendmail.el (mail-encode-header):
12041 Bind rfc2047-encode-encoded-words to nil.
12042
3809f91d
GM
120432012-03-13 Glenn Morris <rgm@gnu.org>
12044
12045 * calendar/calendar.el (calendar-string-spread):
12046 Handle non-unit-width characters a bit better. (Bug#10978)
12047
9e345a01
LL
120482012-03-13 Leo Liu <sdl.web@gmail.com>
12049
12050 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12051 directory and file as argument (Bug#10822).
12052
4a07df36
KS
120532012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12054
12055 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12056 For dynamically generated code, follow $PC.
12057 (gdb-disassembly-handler-custom): Handle no function name case.
12058
4aaa9356
TL
120592012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12060
12061 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12062 * emulation/ws-mode.el (ws-query-replace):
12063 * sort.el (sort-regexp-fields):
12064 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12065
225979da
SM
120662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * dabbrev.el: Fix cycle completion order (bug#10963).
12069 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12070 (dabbrev-completion): Don't use an obarray; provide
12071 a cycle-sort-function.
12072
e2f1fdab
LL
120732012-03-12 Leo Liu <sdl.web@gmail.com>
12074
dc9924b8 12075 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12076 (kill-do-not-save-duplicates): Doc fix.
12077
b19490ed
SM
120782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * dabbrev.el: Fix cycle completion (bug#10963).
12081 Use lexical binding and wrap to 80 columns.
12082 (dabbrev-completion): Delay computing the list of completions.
12083
4b05d722
KH
120842012-03-12 Kenichi Handa <handa@m17n.org>
12085
12086 * international/quail.el (quail-insert-kbd-layout): Surround each
12087 row by LRO and PDF instead of inserting many LRMs. Pad the left
12088 and right of each non-spacing marks. Insert invisible space
12089 between lower and upper characters to prevent composition.
12090
dbbc2e69
SM
120912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * minibuffer.el (minibuffer-complete): Don't get confused when the
12094 function is run twice via different commands (bug#10958).
12095 (complete-with-action): Fix docstring.
12096
292112ed
CY
120972012-03-12 Chong Yidong <cyd@gnu.org>
12098
5d1ac394
CY
12099 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12100 (nxml-completion-at-point-function): New function.
12101 (nxml-mode): Use it.
12102 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12103
292112ed
CY
12104 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12105 Load generated autoloads file before byte compiling (Bug#10970).
12106 (package--make-autoloads-and-compile): New helper fun.
12107
4098f8f7
CS
121082012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12109
12110 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12111
8f754691
MA
121122012-03-11 Michael Albinus <michael.albinus@gmx.de>
12113
12114 * autorevert.el (auto-revert-handler): Ensure, that
12115 file-readable-p is applied only for local files or in
12116 auto-revert-tail-mode.
12117
e29ab36b
AS
121182012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12119
dbbc2e69
SM
12120 * server.el (server-eval-at): Handle non-tcp connections.
12121 Decode result string.
ad0bf5b6 12122
e29ab36b
AS
12123 * server.el (server-msg-size): New constant.
12124 (server-reply-print): New function.
12125 (server-eval-and-print): Use it.
12126 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12127 Handle -print-nonl.
12128
de5939ba
CS
121292012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12130
12131 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12132 (Bug#10987).
12133
0c93eabf
CY
121342012-03-11 Chong Yidong <cyd@gnu.org>
12135
397a688f
CY
12136 * simple.el (goto-line): Doc fix (Bug#9938).
12137
2cc775f9
CY
12138 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12139
0c93eabf
CY
12140 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12141 when finished (Bug#10963).
12142
c491fa41
MR
121432012-03-11 Martin Rudalics <rudalics@gmx.at>
12144
12145 * window.el (split-window-below): Fix bug in case where
12146 split-window-keep-point is nil (Bug#10971).
12147
300e8fa5
JL
121482012-03-11 Juri Linkov <juri@jurta.org>
12149
12150 * replace.el (replace-highlight): Set isearch-word to nil
12151 unconditionally. (Bug#10887)
12152
dbf6c5a1
EZ
121532012-03-10 Eli Zaretskii <eliz@gnu.org>
12154
12155 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12156 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12157 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12158 (mairix-widget-create-query): Add usage information about mairix
12159 search forms: negating words, searching for substrings, etc.
12160
b9e501de
JP
121612012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12162
12163 * international/fontset.el (font-encoding-alist): Add an entry for
12164 ksx1001 (Bug#5667).
12165
92795c91
RS
121662012-03-10 Richard Stallman <rms@gnu.org>
12167
1694e6c1
RS
12168 * mail/sendmail.el (mail-encode-header):
12169 Set rfc2047-encode-encoded-words.
12170
607e8555
RS
12171 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12172
de3bc99a
RS
12173 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12174 view buffer means not swapped.
12175 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12176 (rmail-write-region-annotate): Error if real text has disappeared.
12177
92795c91
RS
12178 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12179
699bd04e
CY
121802012-03-10 Chong Yidong <cyd@gnu.org>
12181
12182 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12183 * emulation/cua-base.el (cua--init-keymaps):
12184 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12185
570a1714
MR
121862012-03-10 Martin Rudalics <rudalics@gmx.at>
12187
dbbc2e69
SM
12188 * speedbar.el (speedbar-unhighlight-one-tag-line):
12189 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12190
82dcf4e4
CY
121912012-03-10 Chong Yidong <cyd@gnu.org>
12192
7a2c7ca7
CY
12193 * minibuffer.el (completion-in-region, completion-help-at-point):
12194 Give the completion field overlay a high priority (Bug#6830).
12195
82dcf4e4
CY
12196 * dired.el (dired-goto-file): Recognize absolute file name
12197 listings (Bug#7126).
12198 (dired-goto-file-1): New helper function.
12199 (dired-toggle-read-only): Inhibit warnings.
12200
052e28ac
MA
122012012-03-09 Michael Albinus <michael.albinus@gmx.de>
12202
75f1671a 12203 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12204 there are no properties.
12205
95d5e396
LL
122062012-03-09 Leo Liu <sdl.web@gmail.com>
12207
12208 * savehist.el (savehist-printable): Stricter check for string
12209 value (Bug#10937).
12210
3f018d6d
EZ
122112012-03-09 Eli Zaretskii <eliz@gnu.org>
12212
dbbc2e69
SM
12213 * mail/smtpmail.el (smtpmail-send-it):
12214 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12215 valid mbox format.
12216
f7fd3d79
GM
122172012-03-09 Glenn Morris <rgm@gnu.org>
12218
12219 * files.el (dir-locals-find-file):
12220 Don't check result is regular, readable.
12221 (dir-locals-read-from-file): Demote errors.
12222
6ff6e72f
EZ
122232012-03-08 Eli Zaretskii <eliz@gnu.org>
12224
dbbc2e69
SM
12225 * international/quail.el (quail-insert-kbd-layout):
12226 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12227 layout cell, to prevent their reordering by bidi display engine.
12228 For details, see the discussion in
12229 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12230
9cec7834
AM
122312012-03-08 Alan Mackenzie <acm@muc.de>
12232
12233 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12234 the starting position; make it extend the marked region when
12235 invoked repeatedly - all under appropriate circumstances.
12236 Fixes bugs #5525, #10906.
12237
9a40b8d4
GM
122382012-03-08 Glenn Morris <rgm@gnu.org>
12239
12240 * files.el (locate-dominating-file, dir-locals-find-file):
12241 Undo 2012-03-06 change.
12242
7a08ed35
EZ
122432012-03-07 Eli Zaretskii <eliz@gnu.org>
12244
dbbc2e69
SM
12245 * international/quail.el (quail-help):
12246 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12247 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12248 for the reason.
12249
5aca4f71 122502012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12251
12252 Avoid superfluous registering of signals. (Bug#10807)
12253
12254 * notifications.el (notifications-on-action-object)
12255 (notifications-on-close-object): New defvars.
12256 (notifications-on-action-signal, notifications-on-closed-signal):
12257 Unregister the signal if not needed any longer.
12258 (notifications-notify): Register `notifications-action-signal' or
12259 `notifications-closed-signal', if :on-action or :on-close has been
12260 passed as argument.
12261
78e8b10a
CY
122622012-03-07 Chong Yidong <cyd@gnu.org>
12263
12264 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12265 non-X platforms.
12266
69481eb8
GM
122672012-03-06 Glenn Morris <rgm@gnu.org>
12268
12269 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12270 (x-disown-selection-internal, x-get-selection-internal):
12271 Doc fix (add arglist signatures). (Bug#10783)
12272
133b8e11
KS
122732012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12274
12275 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12276 Handle breakpoints with no "type".
12277
99a83064
GM
122782012-03-06 Glenn Morris <rgm@gnu.org>
12279
12280 * files.el (locate-dominating-file): Add optional predicate argument.
12281 (dir-locals-find-file): Make use of above change.
12282
17798e78
TTN
122832012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12284
12285 * info.el (Info-insert-dir): Also try "dir.gz".
12286
eb182446
GM
122872012-03-06 Glenn Morris <rgm@gnu.org>
12288
8f2114ee
GM
12289 * files.el (dir-locals-find-file):
12290 Ignore non-readable or non-regular files. (Bug#10928)
12291
eb182446
GM
12292 * files.el (locate-dominating-file): Doc fix.
12293
24679323
AS
122942012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12295
12296 * calendar/calendar.el (calendar-set-mode-line):
12297 `getenv' returns a string. (Bug#10951)
12298
01d972a9
LL
122992012-03-05 Leo Liu <sdl.web@gmail.com>
12300
109aa8a9
LL
12301 * simple.el (backward-delete-char-untabify): Constrain point to
12302 field (Bug#10939).
12303
01d972a9
LL
12304 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12305
10607bea
CY
123062012-03-05 Chong Yidong <cyd@gnu.org>
12307
12308 * simple.el (count-words): If called from Lisp, return the word
12309 count, for symmetry with `count-lines'. Arglist changed.
12310 (count-words--message): Args changed. Consolidate counting code
12311 from count-words and count-words-region.
12312 (count-words-region): Caller changed.
12313 (count-lines-region): Make it an obsolete alias.
12314
5dd11cfe
TH
123152012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12316
12317 * saveplace.el (save-place-to-alist)
12318 (save-place-ignore-files-regexp): Allow value nil to disable this
12319 feature.
12320
c349f4e6
CY
123212012-03-04 Chong Yidong <cyd@gnu.org>
12322
12323 * faces.el (face-spec-reset-face): For the default face, reset the
12324 attributes to default values (Bug#10748).
12325
e627be4c
LMI
123262012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12327
12328 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12329 previous patch: Check `message-send-mail-function', and not the
12330 default function (bug#10897).
12331
ebeabff4
MA
123322012-03-04 Michael Albinus <michael.albinus@gmx.de>
12333
a41a6cf4
MA
12334 * notifications.el (notifications-on-action-signal)
12335 (notifications-on-closed-signal): Check for unique service name of
12336 incoming event. Fix error in removing entry.
ebeabff4 12337 (top): Register for signals with wildcard service name.
a41a6cf4 12338 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12339
c1ca42b4
CY
123402012-03-04 Chong Yidong <cyd@gnu.org>
12341
dc9924b8 12342 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12343
ea16568d
GM
123442012-03-04 Glenn Morris <rgm@gnu.org>
12345
12346 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12347 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12348 (expand-abbrev, define-abbrev-table): Doc fixes.
12349
fbae4637
LMI
123502012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12351
12352 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12353 `message-default-send-mail-function' and not `send-mail-function'
12354 when doing the prompting for `sendmail-query-once' before sending
12355 in Message buffers (bug#10897).
12356
a1e7225c
LMI
12357 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12358 This is inconsistent with all the other stream functions, which leave
12359 the setting up to the higher levels (if so wanted) (bug#10931).
12360
56d093a9
AM
123612012-03-02 Alan Mackenzie <acm@muc.de>
12362
12363 Depessimize the handling of very large macros.
12364
12365 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12366 (c-macro-cache-syntactic): New variables to implement a one
12367 element macro cache.
12368 (c-invalidate-macro-cache): New function.
12369 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12370 Adapt to use the new cache.
12371 (c-state-safe-place): Use better the cache of safe positions.
12372 (c-state-semi-nonlit-pos-cache)
12373 (c-state-semi-nonlit-pos-cache-limit):
12374 New variables for...
12375 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12376 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12377 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12378 Use c-state-semi-safe-place.
56d093a9 12379
dbbc2e69
SM
12380 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12381 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12382
817e5c3d
MA
123832012-03-02 Michael Albinus <michael.albinus@gmx.de>
12384
dbbc2e69
SM
12385 * jka-compr.el (jka-compr-call-process):
12386 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12387 not remote.
12388
a032a702
MA
123892012-03-01 Michael Albinus <michael.albinus@gmx.de>
12390
12391 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12392 access of FILE2, if FILE1 does not exist.
12393
99a54f21
MA
12394 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12395 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12396
12397 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12398 Add "PAGER=" to `process-environment'.
12399
f6561e1f
MM
124002012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12401
12402 * progmodes/sql.el: Bug fix
12403 (sql-get-login-ext): Save login values in globals.
12404 (sql-get-login): Use new version of `sql-get-login-ext'.
12405 (sql-interactive-mode): Set global `sql-connection' to nil.
12406 (sql-connect): Set global values for connection.
12407 (sql-product-interactive): Save global values as buffer local.
12408
2d44d9cc
LL
124092012-02-29 Leo Liu <sdl.web@gmail.com>
12410
12411 * abbrev.el (define-abbrevs): Reset sys to nil.
12412
96b49301 124132012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12414
bf7f9bc5
JB
12415 * files.el (file-equal-p): Rename from `files-equal-p'.
12416 Return nil when one or both files don't exist.
96b49301 12417 (file-subdir-of-p): Now only top directory must exists,
12418 return nil if it doesn't.
bf7f9bc5
JB
12419 (copy-directory): No need to test with `file-subdir-of-p' after
12420 creating dir.
12421 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12422 to `file-equal-p'.
96b49301 12423
44e97401
GM
124242012-02-28 Glenn Morris <rgm@gnu.org>
12425
12426 * shell.el (shell-mode):
12427 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12428 * play/landmark.el (landmark-font-lock-face-O):
12429 * play/handwrite.el (handwrite):
12430 * play/gomoku.el (gomoku-O):
12431 * net/browse-url.el (browse-url-browser-display):
12432 * international/mule.el (define-charset):
12433 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12434 * filesets.el (filesets-find-file-delay):
12435 * eshell/em-xtra.el (eshell-xtra):
12436 * eshell/em-unix.el (eshell-grep):
12437 * emulation/viper.el (viper-mode):
12438 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12439 * emacs-lisp/easymenu.el (easy-menu-define):
12440 * calendar/timeclock.el (timeclock-use-display-time):
12441 * bs.el (bs-mode):
12442 * bookmark.el (bookmark-save-flag):
12443 Doc fix (standardize possessive apostrophe usage).
12444
c98c6276
CY
124452012-02-27 Chong Yidong <cyd@gnu.org>
12446
bf7f9bc5
JB
12447 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12448 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12449
c98c6276
CY
12450 * font-lock.el (font-lock-specified-p): Rename from
12451 font-lock-spec-present. Callers changed.
12452
9c62cd04 124532012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12454
bf7f9bc5
JB
12455 * emacs-lisp/package.el (package-compute-transaction):
12456 Handle holding a package version to t in package-load-list.
8ac9e529 12457
530739c9
MA
124582012-02-26 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12461 (tramp-get-inode, tramp-get-device): Use cached values.
12462
487915d7
AM
124632012-02-26 Alan Mackenzie <acm@muc.de>
12464
12465 Check there is a font-lock specification before doing initial
12466 fontification.
12467
12468 * font-core.el (font-lock-mode): Move the conditional from
12469 :after-hook to font-lock-initial-fontify.
12470 (font-lock-default-function): Move the check for a specification
12471 to font-lock-spec-present.
12472
dc9924b8 12473 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12474 (font-lock-spec-present): New function.
12475
4fd96557
JB
124762012-02-26 Jim Blandy <jimb@red-bean.com>
12477
12478 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12479 (gdb-send): Apply it to the operand of the '-interpreter-exec
12480 console' command, so that we can pass arguments with (say) quotes
12481 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12482
9a4888c0
CY
124832012-02-26 Chong Yidong <cyd@gnu.org>
12484
07498861
CY
12485 * help-fns.el (describe-function-1): Clarify description of
12486 remapping (Bug#10844).
12487
9a4888c0
CY
12488 * files.el (files-equal-p): Doc fix.
12489 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12490 and quit the loop once a mismatch is found.
12491
ea8fb88d
JB
124922012-02-25 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * bs.el (bs--show-with-configuration): Don't throw an error
12495 if the window cannot be split; otherwise, subsequent calls to
12496 bs-show fail, restoring a stale window config. (Bug#10882)
12497
525795c1
JD
124982012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12499
12500 * term/ns-win.el (global-map): Bind ns-drag-file to
12501 ns-find-file (Bug#5855, Bug#10050).
12502
f008086f
AS
125032012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12504
12505 * calendar/parse-time.el (parse-time-string): Allow extractor to
12506 return nil.
12507
a3fcfa99
MA
125082012-02-25 Michael Albinus <michael.albinus@gmx.de>
12509
91027d08
JB
12510 * net/tramp.el (tramp-file-name-for-operation):
12511 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12512
12513 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12514 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12515 Add COPY-CONTENTS argument.
a3fcfa99 12516
67b0de11
CY
125172012-02-25 Chong Yidong <cyd@gnu.org>
12518
12519 Add custom groups for VC backends, for consistency with vc-bzr.
12520
12521 * vc/vc-arch.el (vc-arch):
12522 * vc/vc-cvs.el (vc-cvs):
12523 * vc/vc-git.el (vc-git):
12524 * vc/vc-hg.el (vc-hg):
12525 * vc/vc-mtn.el (vc-mtn):
12526 * vc/vc-rcs.el (vc-rcs):
12527 * vc/vc-sccs.el (vc-sccs):
12528 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12529 All relevant defcustoms reassigned.
12530
3c9dfce6
CY
125312012-02-25 Chong Yidong <cyd@gnu.org>
12532
1339bf43
CY
12533 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12534
3c9dfce6
CY
12535 * term/x-win.el (x-initialize-window-system): Reduce default for
12536 x-selection-timeout to 5 seconds (Bug#8869).
12537
25b2e303 125382012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12539
ec70a47d
GM
12540 * files.el (files-equal-p, file-subdir-of-p): New functions.
12541 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12542 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12543 * dired-aux.el (dired-copy-file-recursive): Same.
12544 (dired-create-files): Modify destination when source is equal to
12545 dest when copying files.
53a46cd0 12546 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12547
914260cd
MA
125482012-02-24 Michael Albinus <michael.albinus@gmx.de>
12549
12550 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12551 (Bug#10874)
12552
2cb228f7
AM
125532012-02-23 Alan Mackenzie <acm@muc.de>
12554
12555 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12556 parameter "after-hook:" to allow the expansion to run code after
12557 the execution of the mode hooks.
12558
12559 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12560 from font-lock-mode-internal.
2cb228f7 12561
91027d08 12562 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12563 :after-hook.
12564
8f0fde21
SM
125652012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12566
3e88618b
SM
12567 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12568 (completion--cache-all-sorted-completions): New function.
12569 (completion-all-sorted-completions): Use it.
12570 (completion--do-completion, minibuffer-force-complete):
12571 Use it to re-instate the flush hook.
12572
8f0fde21
SM
12573 * icomplete.el (icomplete-completions): Replace last fix with a better
12574 one (bug#10850).
12575
8e911f6f
DG
125762012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12577
12578 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12579 when it might call us back infinitely (bug#10797).
12580
49fe4321
GM
125812012-02-23 Glenn Morris <rgm@gnu.org>
12582
12583 * minibuffer.el (completion-category-overrides): Doc fix.
12584
b291b572
SM
125852012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12588 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12589
31a9ef2e
GM
125902012-02-23 Glenn Morris <rgm@gnu.org>
12591
5e6e6794 12592 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12593 (authors-obsolete-files-regexps, authors-ignored-files)
12594 (authors-ambiguous-files, authors-renamed-files-alist):
12595 Add more entries.
12596
0bd1e074
JL
125972012-02-23 Juri Linkov <juri@jurta.org>
12598
12599 * isearch.el (isearch-occur): Sync interactive spec with occur's
12600 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12601
b617673c
JL
12602 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12603
19e9789e
JL
126042012-02-22 Juri Linkov <juri@jurta.org>
12605
12606 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12607 (ucs-insert): Doc fix. Check for hex digits in the string.
12608 Don't display `nil' in the error message. (Bug#10857)
12609
f41ce09d
AM
126102012-02-22 Alan Mackenzie <acm@muc.de>
12611
7a71b18d 12612 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12613
ac2eceee
GM
126142012-02-22 Glenn Morris <rgm@gnu.org>
12615
12616 * ffap.el (ffap-c-path):
12617 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12618
abd1f678
CY
126192012-02-22 Chong Yidong <cyd@gnu.org>
12620
12621 * custom.el (load-theme): Doc fix.
12622
f25aef2e
GM
126232012-02-22 Glenn Morris <rgm@gnu.org>
12624
12625 * dired-x.el (dired-guess-shell-alist-default):
12626 Remove escape sequences from nroff output. (Bug#172)
12627
5f8dc2ca
GM
126282012-02-21 Glenn Morris <rgm@gnu.org>
12629
6ff86ec4
GM
12630 * vc/emerge.el (emerge-defvar-local):
12631 Set `permanent-local' property rather than unused `preserved'.
12632
be3223a3 12633 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12634 (picture-mode-map): Use it. (Bug#10860)
12635 (picture-mode): Doc fix.
12636
3fe58f4f
JB
126372012-02-21 Juanma Barranquero <lekktu@gmail.com>
12638
12639 * newcomment.el (uncomment-region-default): Remove unused binding.
12640
f9a998c3
GM
126412012-02-21 Glenn Morris <rgm@gnu.org>
12642
12643 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12644 (picture-self-insert, picture-tab-chars): Doc fix.
12645 (picture-mode-map): Fix C-a, C-e.
12646
c6029348
GM
126472012-02-20 Glenn Morris <rgm@gnu.org>
12648
12649 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12650
ab1ce9d7
LL
126512012-02-20 Leo Liu <sdl.web@gmail.com>
12652
12653 * icomplete.el (icomplete-completions): Check FROM arg before
12654 passing to substring (Bug#10850).
12655
0fd40f89
CY
126562012-02-19 Chong Yidong <cyd@gnu.org>
12657
12658 * comint.el: Require ansi-color.
12659 (comint-output-filter-functions): Add ansi-color-process-output.
12660
12661 * ansi-color.el: Don't set comint-output-filter-functions; it is
12662 now in the initial value defined in comint.el.
12663 (ansi-color-apply-face-function): New variable.
12664 (ansi-color-apply-on-region): Use it.
12665 (ansi-color-apply-overlay-face): New function.
12666
12667 * shell.el (shell): No need to require ansi-color.
12668 (shell-mode): Use ansi-color-apply-face-function to highlight
12669 color escapes using font-lock-face property (Bug#10835).
12670
20af2394
CY
126712012-02-19 Chong Yidong <cyd@gnu.org>
12672
12673 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12674 mode-line formats (Bug#10839).
12675
e23a3fbe
GM
126762012-02-18 Glenn Morris <rgm@gnu.org>
12677
b474519e
GM
12678 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12679
12680 * mail/undigest.el (unforward-rmail-message): Doc fix.
12681
e23a3fbe
GM
12682 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12683
57939ff4
EZ
126842012-02-18 Eli Zaretskii <eliz@gnu.org>
12685
12686 * international/characters.el (script-list): Sync with the latest
12687 Unicode Character Database.
12688
0c23686e
AS
126892012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12690
12691 * international/titdic-cnv.el: Remove duplicate coding tag.
12692 * language/cham.el: Likewise.
12693 * language/tai-viet.el: Likewise.
12694
6818b449
GM
126952012-02-18 Glenn Morris <rgm@gnu.org>
12696
12697 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12698 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12699 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12700 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12701 * calendar/holidays.el (holiday-bahai-holidays)
12702 (calendar-holidays, list-holidays):
12703 Use utf-8 Bahá'í in doc-strings, menus, etc.
12704
0311a3fc
TH
127052012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12706
12707 * saveplace.el (save-place-ignore-files-regexp): New variable
12708 allowing for excluding files from saving their location of point.
12709 The default value matches the temporary commit message editing
12710 files from Git, SVN, Bazaar, and Mercurial.
12711 (save-place-to-alist): Use it.
12712
d209e2fb 127132012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12714 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12715
12716 * newcomment.el (uncomment-region-default): Don't leave extra space
12717 when an arg is provided (bug#8150).
12718
ee0ce425
TZ
127192012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12720
eb864a71 12721 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12722
95ddf442
GM
127232012-02-17 Glenn Morris <rgm@gnu.org>
12724
12725 * net/socks.el: Require network-stream. (Bug#10599)
12726
48dd1e39 127272012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12728
12729 * international/charprop.el:
12730 * international/uni-name.el:
12731 * international/uni-old-name.el:
12732 * international/uni-comment.el: Regenerate.
12733
d68cd087
GM
127342012-02-16 Glenn Morris <rgm@gnu.org>
12735
12736 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12737 Interactively in calendar buffer, give an error if not on a date.
12738
13932042
GM
127392012-02-15 Glenn Morris <rgm@gnu.org>
12740
12741 * shell.el (shell-delimiter-argument-list):
12742 Revert 2011-02-17 change. (Bug#8027)
12743
c3a70e2b
CY
127442012-02-15 Chong Yidong <cyd@gnu.org>
12745
60236b0d
CY
12746 * minibuffer.el (completion-at-point-functions): Doc fix.
12747
c3a70e2b
CY
12748 * custom.el (defcustom): Doc fix; note use of defvar.
12749
9f26dc24
GM
127502012-02-15 Glenn Morris <rgm@gnu.org>
12751
12752 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12753 Doc fixes.
12754
6546b134
GM
127552012-02-14 Glenn Morris <rgm@gnu.org>
12756
12757 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12758
d29b2b4c
LI
127592012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12760
12761 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12762 way the ports list is computed.
835bdcba
LI
12763 (smtpmail-query-smtp-server): Prompt the user for a port number if
12764 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12765
08dcdbc9
TZ
127662012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12767
12768 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12769
2605051a
GM
127702012-02-13 Glenn Morris <rgm@gnu.org>
12771
12772 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12773
7ee99f32
TZ
127742012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12775
12776 * net/gnutls.el (gnutls-trustfiles): New variable.
12777 (gnutls-negotiate): Use it.
12778
5f0af64f
LI
127792012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12780
12781 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12782 does its stuff if Gnus is running.
12783
c14fcc95
AM
127842012-02-13 Alan Mackenzie <acm@muc.de>
12785
12786 Fix a loop in c-set-fl-decl-start.
12787
7a71b18d 12788 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12789 c-backward-syntactic-ws actually moves backwards.
12790
142b4d90
LL
127912012-02-13 Leo Liu <sdl.web@gmail.com>
12792
12793 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12794 beginning so that all \C-o chars are removed.
12795
fa9958a6
TZ
127962012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12797
dc9924b8 12798 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12799
0bc5886a
AM
128002012-02-12 Alan Mackenzie <acm@muc.de>
12801
12802 Fix infinite loop with long macros.
4d6769e1 12803 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12804
d4bd55e7
CY
128052012-02-12 Chong Yidong <cyd@gnu.org>
12806
12807 * window.el (display-buffer): Doc fix (Bug#10785).
12808
66f3fe22
GM
128092012-02-12 Glenn Morris <rgm@gnu.org>
12810
bd7da63e
GM
12811 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12812 (x-disown-selection-internal, x-get-selection-internal):
12813 Sync docs with the xselect.c versions.
12814
66f3fe22
GM
12815 * allout-widgets.el: Add missing license notice.
12816
3e0d2fa7
GM
128172012-02-11 Glenn Morris <rgm@gnu.org>
12818
cfecdf09
GM
12819 * select.el (x-get-selection-internal, x-own-selection-internal)
12820 (x-disown-selection-internal):
12821 * x-dnd.el (x-get-selection-internal): Update declarations.
12822
6d216d7f
GM
12823 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12824
2bed3f04
GM
12825 * window.el (window-sides-slots):
12826 * tool-bar.el (tool-bar-position):
12827 * term/xterm.el (xterm-extra-capabilities):
12828 * ses.el (ses-self-reference-early-detection):
12829 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12830 (verilog-auto-wire-type)
12831 (verilog-auto-delete-trailing-whitespace)
12832 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12833 (verilog-auto-tieoff-declaration):
12834 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12835 (sql-oracle-statement-starters, sql-oracle-scan-on):
12836 * progmodes/prolog.el (prolog-align-comments-flag)
12837 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12838 (prolog-left-indent-regexp, prolog-paren-indent-p)
12839 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12840 (prolog-types, prolog-mode-specificators)
12841 (prolog-determinism-specificators, prolog-directives)
12842 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12843 (prolog-electric-dot-flag)
12844 (prolog-electric-dot-full-predicate-template)
12845 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12846 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12847 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12848 (prolog-program-switches, prolog-prompt-regexp)
12849 (prolog-debug-on-string, prolog-debug-off-string)
12850 (prolog-trace-on-string, prolog-trace-off-string)
12851 (prolog-zip-on-string, prolog-zip-off-string)
12852 (prolog-use-standard-consult-compile-method-flag)
12853 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12854 (prolog-imenu-max-lines, prolog-info-predicate-index)
12855 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12856 (prolog-char-quote-workaround):
12857 * progmodes/cc-vars.el (c-defun-tactic):
12858 * net/tramp.el (tramp-encoding-command-interactive)
12859 (tramp-local-end-of-line):
12860 * net/soap-client.el (soap-client):
12861 * net/netrc.el (netrc-file):
12862 * net/gnutls.el (gnutls):
12863 * minibuffer.el (completion-category-overrides)
12864 (completion-cycle-threshold)
12865 (completion-pcm-complete-word-inserts-delimiters):
12866 * man.el (Man-name-local-regexp):
12867 * mail/feedmail.el (feedmail-display-full-frame):
12868 * international/characters.el (glyphless-char-display-control):
12869 * eshell/em-ls.el (eshell-ls-date-format):
12870 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12871 (lisp-lambda-list-keyword-parameter-indentation)
12872 (lisp-lambda-list-keyword-parameter-alignment):
12873 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12874 * dired-x.el (dired-omit-verbose):
12875 * cus-theme.el (custom-theme-allow-multiple-selections):
12876 * calc/calc.el (calc-highlight-selections-with-faces)
12877 (calc-lu-field-reference, calc-lu-power-reference)
12878 (calc-note-threshold):
12879 * battery.el (battery-mode-line-limit):
12880 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12881 (archive-7z-update):
12882 * allout.el (allout-prefixed-keybindings)
12883 (allout-unprefixed-keybindings)
12884 (allout-inhibit-auto-fill-on-headline)
12885 (allout-flattened-numbering-abbreviation):
12886 * allout-widgets.el (allout-widgets-auto-activation)
12887 (allout-widgets-icons-dark-subdir)
12888 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12889 (allout-widgets-theme-dark-background)
12890 (allout-widgets-theme-light-background)
12891 (allout-widgets-item-image-properties-emacs)
12892 (allout-widgets-item-image-properties-xemacs)
12893 (allout-widgets-run-unit-tests-on-load)
12894 (allout-widgets-time-decoration-activity)
12895 (allout-widgets-hook-error-post-time)
12896 (allout-widgets-track-decoration):
12897 Add missing :version tags to new defcustoms and defgroups.
12898
5fec1b8e
GM
12899 * progmodes/sql.el (sql-ansi-statement-starters)
12900 (sql-oracle-statement-starters): Add custom type.
12901
3e0d2fa7
GM
12902 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12903 (prolog-system-version): Give it a type.
12904
90b671e2
EZ
129052012-02-11 Eli Zaretskii <eliz@gnu.org>
12906
12907 * term/pc-win.el (x-select-text, x-selection-owner-p)
12908 (x-own-selection-internal, x-disown-selection-internal)
12909 (x-get-selection-internal): Sync doc strings and argument lists
12910 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12911
5eac0c02
LL
129122012-02-11 Leo Liu <sdl.web@gmail.com>
12913
12914 * progmodes/python.el (python-end-of-statement): Fix infinite
12915 loop. (Bug#10788)
12916
f82cb659
GM
129172012-02-10 Glenn Morris <rgm@gnu.org>
12918
12919 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12920 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12921
cc26d239
LI
129222012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12923
12924 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12925 about SMTP before checking the From header.
12926
91027d08 12927 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12928 into own function for reuse by emacsbug.el.
12929
1be3ca5a
LL
129302012-02-10 Leo Liu <sdl.web@gmail.com>
12931
12932 * subr.el (condition-case-unless-debug): Rename from
12933 condition-case-no-debug. All callers changed.
12934 (with-demoted-errors): Fix caller.
12935
12936 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12937 * nxml/rng-valid.el (rng-do-some-validation):
12938 * emacs-lisp/package.el (package-refresh-contents)
12939 (package-menu-execute):
12940 * desktop.el (desktop-create-buffer):
91027d08 12941 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12942
b011fbfe
GM
129432012-02-10 Glenn Morris <rgm@gnu.org>
12944
b2096d72
GM
12945 * textmodes/bibtex.el:
12946 Add missing :version tags for new/changed defcustoms.
12947
b011fbfe
GM
12948 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12949
4c7e65bf
LI
129502012-02-09 Lars Ingebrigtsen <larsi@rusty>
12951
12952 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12953 (smtpmail-via-smtp): Use it, or fall back on the From address.
12954 (smtpmail-send-it): Ditto.
12955
f3934f6f
SM
129562012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12959 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12960 (byte-compile-tmp-var): New const.
12961 (byte-compile-defvar): Use it to minimize .elc size.
12962 Just use `defvar' rather than simulate it (bug#10761).
12963
a075a2c5
GM
129642012-02-09 Glenn Morris <rgm@gnu.org>
12965
cf3aa21b
GM
12966 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12967
354998cd
GM
12968 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12969 Add :version tags.
12970
dc9924b8
SM
12971 * progmodes/compile.el (compilation-error-screen-columns)
12972 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12973
dab3703d
GM
12974 * vc/log-view.el (log-view-toggle-entry-display):
12975 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12976
3f88cd72
GM
12977 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12978 (report-emacs-bug-can-use-xdg-email):
12979 (report-emacs-bug-insert-to-mailer): Doc fixes.
12980 (report-emacs-bug): Message fix.
12981
d95b247d
GM
12982 * net/browse-url.el (browse-url-can-use-xdg-open)
12983 (browse-url-xdg-open): Doc fixes.
12984
a075a2c5
GM
12985 * electric.el (electric-indent-mode, electric-pair-mode)
12986 (electric-layout-rules, electric-layout-mode): Doc fixes.
12987 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12988
ffb6157e
MR
129892012-02-08 Martin Rudalics <rudalics@gmx.at>
12990
12991 * server.el (server-unselect-display): Don't inadvertently kill
12992 the current buffer. (Bug#10729)
12993
e1ac4066
GM
129942012-02-08 Glenn Morris <rgm@gnu.org>
12995
34e8a2da
GM
12996 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12997 (sql-list-table): Doc fixes.
12998
b4ac6e8c
GM
12999 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13000 Comment out (does nothing).
13001
e1ac4066
GM
13002 * completion.el (dynamic-completion-mode):
13003 * dirtrack.el (dirtrack-debug-mode):
13004 * electric.el (electric-layout-mode):
13005 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13006 * face-remap.el (text-scale-mode, buffer-face-mode):
13007 * iimage.el (iimage-mode):
13008 * image-mode.el (image-transform-mode):
13009 * minibuffer.el (completion-in-region-mode):
13010 * scroll-lock.el (scroll-lock-mode):
13011 * simple.el (next-error-follow-minor-mode):
13012 * tar-mode.el (tar-subfile-mode):
13013 * tooltip.el (tooltip-mode):
13014 * vcursor.el (vcursor-use-vcursor-map):
13015 * wid-browse.el (widget-minor-mode):
13016 * emulation/tpu-edt.el (tpu-edt-mode):
13017 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13018 * international/iso-ascii.el (iso-ascii-mode):
13019 * language/thai-util.el (thai-word-mode):
13020 * mail/supercite.el (sc-minor-mode):
13021 * net/goto-addr.el (goto-address-mode):
13022 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13023 * progmodes/cwarn.el (cwarn-mode):
13024 * progmodes/flymake.el (flymake-mode):
13025 * progmodes/glasses.el (glasses-mode):
13026 * progmodes/hideshow.el (hs-minor-mode):
13027 * progmodes/pascal.el (pascal-outline-mode):
13028 * textmodes/enriched.el (enriched-mode):
13029 * vc/smerge-mode.el (smerge-mode):
13030 Doc fixes (minor mode argument).
13031
5e0d957f
EZ
130322012-02-07 Eli Zaretskii <eliz@gnu.org>
13033
13034 * ls-lisp.el (ls-lisp-sanitize): New function.
13035 (ls-lisp-insert-directory): Use it to fix or remove any elements
13036 in file-alist with missing attributes. (Bug#4673)
13037
98d7371e
AM
130382012-02-07 Alan Mackenzie <acm@muc.de>
13039
13040 Fix spurious recognition of c-in-knr-argdecl.
13041
13042 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13043 putative K&R region.
13044
667ced3a
AM
130452012-02-07 Alan Mackenzie <acm@muc.de>
13046
eb864a71
LM
13047 * progmodes/cc-engine.el (c-forward-objc-directive):
13048 Prevent looping in "#pragma mark @implementation".
667ced3a 13049
5b77774d
MA
130502012-02-07 Michael Albinus <michael.albinus@gmx.de>
13051
13052 * notifications.el (notifications-on-closed-signal): Make `reason'
13053 optional. (Bug#10744)
13054
af008560
GM
130552012-02-07 Glenn Morris <rgm@gnu.org>
13056
60d47423
GM
13057 * emacs-lisp/easy-mmode.el (define-minor-mode):
13058 Doc fixes for the macro and the mode it defines.
13059
dd605cc4
GM
13060 * image.el (imagemagick-types-inhibit): Doc fix.
13061
af008560
GM
13062 * cus-start.el (imagemagick-render-type): Add it.
13063
5cc59a37
LI
130642012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13065
4d6769e1
JB
13066 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13067 Set the default at load time, too, so that `font-lock-fontify-buffer'
13068 can be called without setting up the entire mode first. This fixes
13069 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13070
9a6dd747
CY
130712012-02-06 Chong Yidong <cyd@gnu.org>
13072
2d16b285
CY
13073 * simple.el (list-processes--refresh): Delete exited processes
13074 (Bug#8094).
13075
171e9b6e
CY
13076 * comint.el (comint-next-prompt): next-single-char-property-change
13077 and prev-single-char-property-change never return nil (Bug#8657).
13078
9a6dd747
CY
13079 * custom.el (defcustom): Doc fix (Bug#9711).
13080
aa4589a7
CY
130812012-02-05 Chong Yidong <cyd@gnu.org>
13082
5c2a252f
CY
13083 * cus-edit.el (custom-variable-reset-backup): Quote the value
13084 before storing it in the customized-value property (Bug#6712).
4aab9006 13085 (custom-display): Add a customization type tag.
983b9602 13086 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13087
aa4589a7
CY
13088 * wid-edit.el (widget-field-value-get): New optional arg to
13089 suppress trailing whitespace truncation.
13090 (character): Use it (Bug#2689).
13091
1ff980ae
AS
130922012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13093
13094 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13095 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13096
03988c98
CY
130972012-02-05 Chong Yidong <cyd@gnu.org>
13098
eeb6cc88
CY
13099 * cus-edit.el (custom-variable-value-create): For mismatched
13100 types, show the current value (Bug#7600).
13101
03988c98
CY
13102 * custom.el (defcustom): Doc fix.
13103
f8cdeef0
GM
131042012-02-05 Glenn Morris <rgm@gnu.org>
13105
13106 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13107
0696d255
JB
131082012-02-05 Juanma Barranquero <lekktu@gmail.com>
13109
13110 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13111 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13112 (pp-last-sexp): Use `looking-at-p'.
13113
34c99998
GM
131142012-02-04 Glenn Morris <rgm@gnu.org>
13115
8f05da42
GM
13116 * files.el (revert-buffer):
13117 Doc fix (mention revert-buffer-in-progress-p).
13118
f160676e
GM
13119 * emacs-lisp/ert-x.el (ert-simulate-command):
13120 Check deferred-action-list (which is obsolete) is bound.
13121
c7291ad9
GM
13122 * subr.el (with-wrapper-hook): Doc fixes.
13123
34c99998
GM
13124 * simple.el (filter-buffer-substring-functions)
13125 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13126
6283a7d3
LL
131272012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13128
13129 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13130 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13131
e96e3013
LL
131322012-02-04 Leo Liu <sdl.web@gmail.com>
13133
13134 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13135
8ded50f2
GM
131362012-02-04 Glenn Morris <rgm@gnu.org>
13137
82ff1d13
GM
13138 * image.el (image-extension-data): Add obsolete alias.
13139
987a0a16
GM
13140 * isearch.el (isearch-update): Doc fix.
13141
ea32ef46
GM
13142 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13143
8ded50f2
GM
13144 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13145
eea14f31
GM
131462012-02-03 Glenn Morris <rgm@gnu.org>
13147
13148 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13149 (image-animate-timeout): Doc fix.
13150
13151 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13152
12f381b7
GM
131532012-02-02 Glenn Morris <rgm@gnu.org>
13154
953cebf5
GM
13155 * server.el (server-auth-dir): Doc fix.
13156 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13157
12f381b7
GM
13158 * subr.el (run-mode-hooks): Doc fix.
13159
953a8c3b
JL
131602012-02-02 Juri Linkov <juri@jurta.org>
13161
13162 * image-mode.el (image-toggle-display-image): Remove tautological
13163 `major-mode' from the `derived-mode-p' test.
13164
c5d3843c
KH
131652012-02-02 Kenichi Handa <handa@m17n.org>
13166
9f6e692e 13167 * composite.el (compose-region): Cancel previous change.
c5d3843c 13168
159462d4 131692012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13170
13171 * composite.el (compose-region, compose-string): Signal error for
13172 a null string component (Bug#6988).
13173
9f562668
CY
131742012-02-01 Chong Yidong <cyd@gnu.org>
13175
e2cef717
CY
13176 * view.el (view-buffer-other-window, view-buffer-other-frame):
13177 Handle special modes like view-buffer (Bug#10650).
13178 (view-buffer): Simplify.
13179
9f562668
CY
13180 * frame.el (set-frame-font): Tweak meaning of third argument.
13181
9f6e692e
JB
13182 * dynamic-setting.el (font-setting-change-default-font):
13183 Use set-frame-font (Bug#9982).
9f562668 13184
781acb9f
GM
131852012-02-01 Glenn Morris <rgm@gnu.org>
13186
6035be52
GM
13187 * progmodes/compile.el (compilation-internal-error-properties):
13188 Respect compilation-first-column in the "*compilation*" buffer.
13189
781acb9f
GM
13190 * emacs-lisp/easy-mmode.el (define-minor-mode):
13191 Relax :variable's test for a named function.
13192
abbceb00
AM
131932012-01-31 Alan Mackenzie <acm@muc.de>
13194
13195 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13196 off by one error.
13197
fce3fdeb
CY
131982012-01-31 Chong Yidong <cyd@gnu.org>
13199
13200 * frame.el (set-frame-font): New arg ALL-FRAMES.
13201
13202 * menu-bar.el (menu-set-font): Use set-frame-font.
13203
13204 * faces.el (face-spec-reset-face): Don't apply unspecified
13205 attribute values to the default face.
13206
47893581
JB
132072012-01-31 Juanma Barranquero <lekktu@gmail.com>
13208
13209 * progmodes/cwarn.el (cwarn): Remove dead link.
13210 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13211 Remove * from defcustom docstrings.
13212 (turn-on-cwarn-mode): Make obsolete.
13213 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13214 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13215
e58e988a
GM
132162012-01-31 Glenn Morris <rgm@gnu.org>
13217
60dc2671 13218 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13219 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13220 Allow named functions to be used as the cdr of :variable.
e58e988a 13221
7a3f511d
GM
132222012-01-30 Glenn Morris <rgm@gnu.org>
13223
13224 * emacs-lisp/authors.el (authors-fixed-entries):
13225 Remove reference to deleted file rnewspost.el.
13226
cb882333
JB
132272012-01-29 Juanma Barranquero <lekktu@gmail.com>
13228
13229 * window.el (window-with-parameter): Remove unused variable `windows'.
13230 (window--side-check): Remove unused variable `code'.
13231 (window--resize-siblings): Remove unused variable `first'.
13232 (adjust-window-trailing-edge): Remove unused variable `failed'.
13233 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13234 Use `let', not `let*'.
13235 (balance-windows-2): Remove unused variable `found'.
13236 (window--state-put-2): Remove unused variable `splits'.
13237 (window-state-put): Remove unused variable `selected'.
13238 (same-window-p): Use `string-match-p'.
13239 (display-buffer-assq-regexp): Remove unused variable `value'.
13240 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13241 Mark argument ALIST as ignored.
13242 (pop-to-buffer): Remove unused variable `old-window'.
13243
907201af
EZ
132442012-01-29 Eli Zaretskii <eliz@gnu.org>
13245
13246 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13247 and .lzma compressed files.
13248
ea162670
CY
132492012-01-29 Chong Yidong <cyd@gnu.org>
13250
5b95ee8a
CY
13251 * frame.el (window-system-default-frame-alist): Doc fix.
13252
ea162670
CY
13253 * dynamic-setting.el (font-setting-change-default-font): Don't
13254 change the default face if SET-FONT argument is non-nil (Bug#9982).
13255
6fccd6e8 132562012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13257
13258 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13259
0f29fa41 132602012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13261
13262 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13263 breakpoints in files outside current directory (Bug#6098).
13264
db174434
CY
132652012-01-29 Chong Yidong <cyd@gnu.org>
13266
6b25e4e2
SE
13267 * progmodes/python.el: Require ansi-color at top-level.
13268
6df6ae42
JB
13269 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13270 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13271 (lisp-mode-abbrev-table): Add doc.
13272 (lisp-mode-variables): Don't set local-abbrev-table.
13273 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13274
e70ee681
RW
132752012-01-28 Roland Winkler <winkler@gnu.org>
13276
13277 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13278
ace88aa2
RW
132792012-01-28 Roland Winkler <winkler@gnu.org>
13280
13281 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13282 (bibtex-set-dialect): Use it. Either set global values of
13283 dialect-dependent variables or bind these variables buffer-locally
13284 (Bug#10254).
13285 (bibtex-mode): Call bibtex-set-dialect via
13286 hack-local-variables-hook.
eb864a71
LM
13287 (bibtex-dialect): Update docstring.
13288 Add safe-local-variable predicate.
ace88aa2
RW
13289 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13290 bibtex-set-dialect.
13291 (bibtex-mode-map): Define menu for each dialect.
13292 (bibtex-entry): Fix docstring.
13293
93376c5b
CY
132942012-01-28 Chong Yidong <cyd@gnu.org>
13295
13296 * eshell/esh-arg.el (eshell-quote-argument): New function.
13297
13298 * eshell/esh-ext.el (eshell-invoke-batch-file):
13299 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13300 first arg to eshell-parse-command (Bug#10523).
13301
4372494f
DA
133022012-01-28 Drew Adams <drew.adams@oracle.com>
13303
13304 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13305 `default-directory' is non-nil.
13306
4d4ec1f8
EZ
133072012-01-28 Eli Zaretskii <eliz@gnu.org>
13308
13309 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13310 line that displays system-configuration-options. (Bug#9924)
13311
7c188927
DA
133122012-01-28 Drew Adams <drew.adams@oracle.com>
13313
13314 * descr-text.el (describe-char): Show information about POS, in
13315 addition to information about the character at POS. Improve and
13316 update the doc string. Change "code point" to "code point in
13317 charset", to avoid confusion with the character's Unicode code
13318 point shown above that. (Bug#10129)
13319
e0da685a
EZ
133202012-01-28 Eli Zaretskii <eliz@gnu.org>
13321
13322 * descr-text.el (describe-char): Show the raw character, not only
13323 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13324 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13325 for the reasons.
13326
70550acf
PH
133272012-01-28 Phil Hagelberg <phil@hagelb.org>
13328
eb864a71
LM
13329 * emacs-lisp/package.el (package-install):
13330 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13331
0ce8e868
CY
133322012-01-28 Chong Yidong <cyd@gnu.org>
13333
cb882333
JB
13334 * emacs-lisp/package.el (package-maybe-load-descriptor):
13335 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13336 (package-maybe-load-descriptor): Use it.
13337 (package-download-transaction): Fully load required packages
13338 inside the loop, so that `require' calls work (Bug#10593).
13339 (package-install): No need to call package-initialize now.
13340
2e7f3bea
CY
133412012-01-28 Chong Yidong <cyd@gnu.org>
13342
6e9bad14
CY
13343 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13344
f823b8ca
CY
13345 * tooltip.el (tooltip-mode): Doc fix.
13346 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13347
2680c309
CY
13348 * frame.el (set-cursor-color): Doc fix (Bug#352).
13349
d7a9e63b
CY
13350 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13351 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13352
2e7f3bea
CY
13353 * cus-edit.el (custom-buffer-create-internal): Fix search button
13354 action (Bug#10542).
2ae01800 13355 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13356
fc4f7a23
EW
133572012-01-27 Eduard Wiebe <usenet@pusto.de>
13358
13359 * dired.el (dired-mark-files-regexp):
13360 Include any subdirectory components. (Bug#10445)
13361
7dd37071
ML
133622012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13363
13364 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13365 Handle [host]:port syntax. (Bug#10533)
13366
a268160b
AH
133672012-01-27 Alex Harsanyi <harsanyi@mac.com>
13368
13369 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13370
e43273ef
GM
133712012-01-26 Glenn Morris <rgm@gnu.org>
13372
13373 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13374 * term.el (term-raw-escape-map): Use Control-X-prefix.
13375 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13376
1edf595d
MR
133772012-01-25 Martin Rudalics <rudalics@gmx.at>
13378
13379 * window.el (window-state-get, window--state-get-1): Don't deal
13380 with fixed-sizeness of windows. Simplify code.
13381
fa8eafef
JC
133822012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13383
6df6ae42
JB
13384 * window.el (window--state-get-1, window--state-put-2):
13385 Don't save and restore the mark.
fa8eafef 13386
0b21c100
CY
133872012-01-25 Chong Yidong <cyd@gnu.org>
13388
13389 * custom.el (custom-variable-p): Doc fix.
13390
5ae1a6c8
GM
133912012-01-25 Glenn Morris <rgm@gnu.org>
13392
40047858
GM
13393 * dired.el (dired-goto-file): Handle some of the more common
13394 characters that `ls -b' escapes. (Bug#10596)
13395
5ddce96c
GM
13396 * progmodes/compile.el (compilation-next-error-function):
13397 Respect compilation-first-column in the "*compilation*" buffer.
13398 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13399
5ae1a6c8
GM
13400 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13401
b559f1a9
GM
134022012-01-24 Glenn Morris <rgm@gnu.org>
13403
13404 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13405
6725d21a
JD
134062012-01-24 Julien Danjou <julien@danjou.info>
13407
13408 * color.el (color-rgb-to-hsl): Fix value computing.
13409 (color-hue-to-rgb): New function.
13410 (color-hsl-to-rgb): New function.
13411 (color-clamp, color-saturate-hsl, color-saturate-name)
13412 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13413 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13414
70df4bbe
GM
134152012-01-24 Glenn Morris <rgm@gnu.org>
13416
13417 * vc/vc-rcs.el (vc-rcs-create-tag):
13418 * vc/vc-sccs.el (vc-sccs-create-tag):
13419 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13420
802a2ae2
ML
134212012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13422
13423 * eshell/esh-util.el (eshell-read-hosts-file):
13424 Skip comment lines. (Bug#10549)
13425
d7128bb1
ML
13426 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13427
d1a5c3b4
JB
134282012-01-23 Juanma Barranquero <lekktu@gmail.com>
13429
2724d9c7
JB
13430 * subr.el (display-delayed-warnings): Doc fix.
13431 (collapse-delayed-warnings): New function to collapse identical
13432 adjacent warnings.
13433 (delayed-warnings-hook): Add it.
d1a5c3b4 13434
a5509865
MA
134352012-01-22 Michael Albinus <michael.albinus@gmx.de>
13436
13437 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13438
a5509865
MA
13439 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13440 (tramp-default-user-alist): Don't add "pscp".
13441 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13442 property "login-as", if set. (Bug#10530)
13443
cc6d5805
MA
134442012-01-21 Michael Albinus <michael.albinus@gmx.de>
13445
13446 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13447 "plink1" and "psftp". (Bug#10530)
13448
134492012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13450
13451 * international/mule-cmds.el (prefer-coding-system): Show a
13452 warning message if the default value of file-name-coding-system
13453 was not changed.
13454
f0960428
JC
134552012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13456
cb882333
JB
13457 * windmove.el (windmove-reference-loc):
13458 Fix windmove-reference-loc miscalculation.
f0960428 13459
dd6f2a63
JB
134602012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13461
13462 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13463 default unit.
13464
7b447e9b
GM
134652012-01-21 Glenn Morris <rgm@gnu.org>
13466
117a9ea1
GM
13467 * international/mule.el (auto-coding-alist): Add .tbz.
13468
7b447e9b
GM
13469 * files.el (local-enable-local-variables): Doc fix.
13470 (inhibit-local-variables-regexps): Rename from
13471 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13472 Doc fix. Add some extensions from auto-coding-alist.
13473 (inhibit-local-variables-suffixes):
13474 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13475 (inhibit-local-variables-p):
13476 New function, extracted from set-auto-mode-1.
13477 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13478 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13479 (hack-local-variables): Doc fix. Make the mode-only case
13480 respect enable-local-variables and friends.
13481 Respect inhibit-local-variables-regexps for file-locals, but
13482 not for directory-locals.
13483 (set-visited-file-name):
13484 Take account of inhibit-local-variables-regexps.
13485 Whether it applies may change as the file name is changed.
13486 * jka-cmpr-hook.el (jka-compr-install):
13487 * jka-compr.el (jka-compr-uninstall):
13488 Update for inhibit-first-line-modes-suffixes name change.
13489
dd6e3cdd
MR
134902012-01-20 Martin Rudalics <rudalics@gmx.at>
13491
13492 * help-macro.el (make-help-screen): Temporarily restore original
13493 binding for minor-mode-map-alist (Bug#10454).
13494
0d0deb38
JD
134952012-01-19 Julien Danjou <julien@danjou.info>
13496
13497 * color.el (color-name-to-rgb): Use the white color to find the max
13498 color component value and return correctly computed values.
13499 (color-name-to-rgb): Add missing float conversion for max value.
13500
34a02f46
MR
135012012-01-19 Martin Rudalics <rudalics@gmx.at>
13502
13503 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13504 special state value for window-persistent-parameters.
13505 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13506 (window--state-put-2): Reset all window parameters to nil before
13507 assigning values of persistent parameters.
13508
606c44c4
AM
135092012-01-18 Alan Mackenzie <acm@muc.de>
13510
13511 Eliminate sluggishness and hangs in fontification of "semicolon
13512 deserts".
13513
cb882333
JB
13514 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13515 Change value 10000 -> 3000.
606c44c4
AM
13516 (c-state-safe-place): Reformulate so it doesn't stack up an
13517 infinite number of wrong entries in c-state-nonlit-pos-cache.
13518 (c-determine-limit-get-base, c-determine-limit): New functions to
13519 determine backward search limits disregarding literals.
13520 (c-find-decl-spots): Amend commenting.
13521 (c-cheap-inside-bracelist-p): New function which detects "={".
13522
13523 * progmodes/cc-fonts.el
13524 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13525 backward search.
13526 (c-font-lock-declarations): Fix an occurrence of point being
13527 undefined. Check additionally for point being in a bracelist or
13528 near a macro invocation without a semicolon so as to avoid a
13529 fruitless time consuming search for a declarator. Give a more
13530 precise search limit for declarators using the new
13531 c-determine-limit.
13532
f3860cea
GM
135332012-01-18 Glenn Morris <rgm@gnu.org>
13534
13535 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13536 (set-auto-mode): Doc fixes.
13537
1db03b16
GM
135382012-01-17 Glenn Morris <rgm@gnu.org>
13539
0e6038be
GM
13540 * isearch.el (search-nonincremental-instead): Fix doc typo.
13541
1db03b16
GM
13542 * dired.el (dired-insert-directory): Handle newlines in directory name.
13543 (dired-build-subdir-alist): Unescape newlines in directory name.
13544
4cb0aa75
MA
135452012-01-17 Michael Albinus <michael.albinus@gmx.de>
13546
13547 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13548 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13549 (tramp-action-terminal): Use it. (Bug#10530)
13550
1d00653d
SM
135512012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13554
6a6ee00d
MR
135552012-01-16 Martin Rudalics <rudalics@gmx.at>
13556
13557 * window.el (window-state-ignored-parameters): Remove variable.
13558 (window--state-get-1): Rename argument MARKERS to IGNORE.
13559 Handle persistent window parameters. Make copy of clone-of
13560 parameter only if requested. (Bug#10348)
13561 (window--state-put-2): Install a window parameter only if it has
13562 a non-nil value or an existing parameter shall be overwritten.
13563
97912def
MA
135642012-01-15 Michael Albinus <michael.albinus@gmx.de>
13565
13566 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13567
688070a5
EZ
135682012-01-14 Eli Zaretskii <eliz@gnu.org>
13569
13570 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13571 don't pass the (nil) value of `upnode' to string-match.
13572
301afadc
CY
135732012-01-14 Chong Yidong <cyd@gnu.org>
13574
13575 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13576 Fix values recognized by the cursorBlink resource.
301afadc 13577
9e5788aa
PE
135782012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13579
13580 * epg.el (epg--make-temp-file): Avoid permission race condition
13581 when running on old Emacs versions (bug#10403).
13582
3cdb7f5a
GM
135832012-01-14 Glenn Morris <rgm@gnu.org>
13584
13585 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13586
8c82b1b4
AM
135872012-01-13 Alan Mackenzie <acm@muc.de>
13588
13589 Fix filling for when filladapt mode is enabled.
13590
13591 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13592 c-mask-paragraph, pass in `fill-paragraph' rather than
13593 `fill-region-as-paragraph'. (This is a reversion of a previous
13594 change.)
eb864a71
LM
13595 * progmodes/cc-mode.el (c-basic-common-init):
13596 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13597
e517eda4
GM
135982012-01-13 Glenn Morris <rgm@gnu.org>
13599
1498536e
GM
13600 * dired.el (dired-switches-escape-p): New function.
13601 (dired-insert-directory): Use dired-switches-escape-p.
13602 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13603
e517eda4
GM
13604 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13605
328f984d
GM
136062012-01-12 Glenn Morris <rgm@gnu.org>
13607
13608 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13609 changes in adaptive-fill-regexp. (Bug#10276)
13610
2cc769a8
AM
136112012-01-11 Alan Mackenzie <acm@muc.de>
13612
13613 Fix Emacs bug #10463 - put `widen's around the critical spots.
13614
1d00653d 13615 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13616 widen around each invocation of c-state-pp-to-literal. Remove an
13617 unused let variable.
13618
e52c37fa
GM
136192012-01-11 Glenn Morris <rgm@gnu.org>
13620
13621 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13622 Doc fix.
e52c37fa 13623
96f8741e
CY
136242012-01-10 Chong Yidong <cyd@gnu.org>
13625
1d00653d
SM
13626 * net/network-stream.el (network-stream-open-starttls):
13627 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13628 response to the capability command.
13629
b09a806e
GM
136302012-01-10 Glenn Morris <rgm@gnu.org>
13631
13632 * mail/unrmail.el (unrmail): Tweak previous change.
13633
7655cb66
CY
136342012-01-09 Chong Yidong <cyd@gnu.org>
13635
13636 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13637
9d5a8f0b
AM
136382012-01-08 Alan Mackenzie <acm@muc.de>
13639
677d5c92 13640 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13641
13642 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13643 arm to a cond form to handle enums.
13644 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13645 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13646
9a0115ab 136472012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13648
13649 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13650 (Bug#10401)
6bb72cbd 13651
f186bb95
LMI
136522012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13653
29232a68
LMI
13654 * faces.el (set-face-attribute): Clarify the meaning of the nil
13655 frame (bug#10294).
13656
4e5d086d
LMI
13657 * subr.el (with-selected-frame): Mention that the selected frame
13658 is restored (bug#9980).
13659
8e66aebe
LMI
13660 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13661 (bug#9759).
13662
cd394be1 13663 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13664 (password-read): Don't autoload unused function.
13665
adf4e762
JB
136662012-01-07 Juanma Barranquero <lekktu@gmail.com>
13667
13668 * progmodes/which-func.el (which-func-mode): Turn into a
13669 non-interactive function and mark as obsolete (bug#10428).
13670
89bd9ccd
CY
136712012-01-06 Chong Yidong <cyd@gnu.org>
13672
13673 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13674 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13675 functions, along with 1 and -1.
13676
4afee9d5
EZ
136772012-01-06 Eli Zaretskii <eliz@gnu.org>
13678
13679 * time.el (display-time-load-average)
13680 (display-time-default-load-average): Doc fixes. See the thread
13681 starting at
13682 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13683 for the details.
13684
536aea70
GM
136852012-01-06 Glenn Morris <rgm@gnu.org>
13686
665ae865
GM
13687 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13688 has no messages. (Bug#10377)
13689
c869783d
GM
13690 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13691 than Info-edit. (Bug#10385)
13692
2bb4227e
GM
13693 * time.el (display-time-load-average, display-time-next-load-average):
13694 Doc fixes.
13695
7d5944b9
GM
13696 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13697 local setting of buffer-read-only to the input buffer. (Bug#10419)
13698
536aea70
GM
13699 * calendar/calendar.el (calendar-mode):
13700 Locally set scroll-margin to 0. (Bug#10379)
13701
7dccca16
UM
137022012-01-06 Ulrich Mueller <ulm@gentoo.org>
13703
13704 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13705
afbb7930
GM
137062012-01-05 Glenn Morris <rgm@gnu.org>
13707
13708 * eshell/em-unix.el (diff-no-select): Autoload it.
13709 (eshell/diff): Use diff-no-select. (Bug#10420)
13710
04482335
CY
137112012-01-05 Chong Yidong <cyd@gnu.org>
13712
7baca3bc
CY
13713 * shell.el (shell-dynamic-complete-functions): Revert last change.
13714 (shell-command-completion-function): New function.
13715 (shell-completion-vars): Use it to implement
13716 shell-completion-execonly (Bug#10417).
13717
04482335
CY
13718 * custom.el (enable-theme): Don't set custom-safe-themes.
13719
1d00653d
SM
13720 * cus-theme.el (custom-theme-merge-theme):
13721 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13722
bb5aa5d6
MM
137232012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13724
13725 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13726 first prompt in `sql-interacive-mode'.
13727 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13728 keywords.
6df6ae42 13729 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13730 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13731 context of original buffer. Invoke `sql-login-hook'.
13732
a7183d7c
EZ
137332012-01-04 Eli Zaretskii <eliz@gnu.org>
13734
13735 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13736 letters in cite-prefix.
13737
a1eacd1e
LMI
137382012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13739
13740 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13741
787cdb34
CY
137422012-01-03 Chong Yidong <cyd@gnu.org>
13743
1d00653d
SM
13744 * shell.el (shell-dynamic-complete-functions):
13745 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13746 comint-filename-completion first (Bug#10417).
13747
30710442
RS
137482012-01-02 Richard Stallman <rms@gnu.org>
13749
13750 * battery.el (battery-status-function):
13751 Detect when to use battery-yeeloong-sysfs.
13752 (battery-echo-area-format): Add string for Yeeloong.
13753 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13754 (battery-yeeloong-sysfs): New function.
13755
f75bfc33
CY
137562012-01-02 Chong Yidong <cyd@gnu.org>
13757
13758 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13759 (dirtrack): Merge code for handling relative filenames in prompt
13760 from shell-dir-cookie-watcher.
13761 (dirtrack-debug-message): New arg to avoid excess format calls.
13762
13763 * shell.el (shell-dir-cookie-re): Variable deleted.
13764 (shell-dir-cookie-watcher): Function deleted.
13765 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13766 with dirtrack-mode.
13767
651e947e
EZ
137682012-01-01 Eli Zaretskii <eliz@gnu.org>
13769
1d00653d
SM
13770 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13771 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13772 libgnutls-26.dll.
13773
94d4c7dc
AS
137742011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13775
13776 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13777
8d43f3cd
EZ
137782011-12-31 Eli Zaretskii <eliz@gnu.org>
13779
13780 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13781 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13782
98c8795a
MA
137832011-12-29 Michael Albinus <michael.albinus@gmx.de>
13784
13785 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13786 also for alternative shells.
13787 (tramp-open-connection-setup-interactive-shell): Check, whether
13788 the shell is a busybox.
13789 (tramp-send-command): Don't suppress multiple prompts for
13790 busyboxes, it hurts.
13791
51281b32
CY
137922011-12-28 Chong Yidong <cyd@gnu.org>
13793
13794 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13795 (gdb-get-source-file): Move mode line update to
13796 gdb-get-source-file (Bug#10087).
13797
2170cb53
CY
137982011-12-25 Chong Yidong <cyd@gnu.org>
13799
13800 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13801 gud-gdb-marker-filter without taking it as an argument.
13802 (gud-gdb-run-command-fetch-lines): Caller changed.
13803 (gud-gdb-completion-function): New variable.
13804 (gud-gdb-completion-at-point): Use it.
13805 (gud-gdb-completions-1): Split from gud-gdb-completions.
13806
13807 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13808 function as separate arguments.
13809 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13810 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13811 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13812 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13813 (gdb-stopped, def-gdb-auto-update-trigger)
13814 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13815 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13816 Callers changed.
2170cb53
CY
13817 (gud-gdbmi-completions): New function.
13818 (gdb): Use it for generating the completion table.
13819
be8b11bb
AM
138202011-12-24 Alan Mackenzie <acm@muc.de>
13821
13822 Introduce a mechanism to widen the region used in context font
1d00653d 13823 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13824
1d00653d
SM
13825 * progmodes/cc-langs.el (c-before-font-lock-functions):
13826 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13827 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13828 functions to be run just before context (etc.) font locking.
13829
13830 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13831 New, functionality extracted from
be8b11bb 13832 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13833 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13834 (c-after-change): Set c-in-after-change-fontification.
13835 (c-set-fl-decl-start): Rejig its interface, so it can be called
13836 from both after-change and context fontifying.
b81d40f0
JB
13837 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13838 New functions.
13839 (c-standard-font-lock-fontify-region-function): New variable.
13840 (c-font-lock-fontify-region): New function.
be8b11bb 13841
341cf6ac
JL
138422011-12-24 Juri Linkov <juri@jurta.org>
13843
13844 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13845 (Bug#10348)
13846
bffcee0a
MA
138472011-12-23 Michael Albinus <michael.albinus@gmx.de>
13848
13849 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13850 existence of source file. (Bug#10325)
13851
cb5e207c
AM
138522011-12-23 Alan Mackenzie <acm@muc.de>
13853
13854 Fix unstable fontification inside templates.
13855
b81d40f0
JB
13856 * progmodes/cc-langs.el (c-before-font-lock-functions):
13857 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13858 additionally has c-set-fl-decl-start. The other languages (apart
13859 from AWK) have that as a single entry.
13860
b81d40f0
JB
13861 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13862 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13863 c-set-fl-decl-start.
13864
b81d40f0
JB
13865 * progmodes/cc-mode.el (c-common-init, c-after-change):
13866 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13867 (c-set-fl-decl-start): New function, extracted from
13868 c-font-lock-enclosing-decls and enhanced.
13869
60ff536c
JB
138702011-12-23 Juanma Barranquero <lekktu@gmail.com>
13871
13872 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13873
1c4757d6
JL
138742011-12-22 Juri Linkov <juri@jurta.org>
13875
13876 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13877
d031f2c7
CY
138782011-12-22 Chong Yidong <cyd@gnu.org>
13879
13880 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13881
bace743a
DA
138822011-12-21 Drew Adams <drew.adams@oracle.com>
13883
13884 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13885
728a1f2b
JC
138862011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13887
13888 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13889
0d373f73
TZ
138902011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13891
fec0aaa4
TZ
13892 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13893 highlighting and support. Fix up comments for capitalization.
13894 (cfengine-mode-debug): New var.
13895 (cfengine3-mode): Change the modeline indicator to "CFE3".
13896 (cfengine3-font-lock-keywords): Improve defun highlighting.
13897 (cfengine2-actions): Rename from `cfengine-actions'.
13898 (cfengine2-font-lock-keywords): Rename from
13899 `cfengine-font-lock-keywords'.
13900 (cfengine2-imenu-expression): Rename from
13901 `cfengine-imenu-expression'.
13902 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13903 (cfengine2-beginning-of-defun): Rename from
13904 `cfengine-beginning-of-defun'.
13905 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13906 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13907 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13908 modeline indicator to "CFE2".
13909 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13910 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13911
bc86f573
CY
139122011-12-21 Chong Yidong <cyd@gnu.org>
13913
13914 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13915 filename argument.
13916
d45ba96b
MR
139172011-12-20 Martin Rudalics <rudalics@gmx.at>
13918
13919 * window.el (window-normalize-buffer-to-display): Remove.
13920 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13921
a6198c90
CY
139222011-12-19 Chong Yidong <cyd@gnu.org>
13923
13924 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13925 Don't signal an error in a predicate function; return non-nil.
13926 (vc-dir-mark-file): Move the error here.
13927 (vc-dir-mark-unmark): If acting on the region, keep going if one
13928 of the entries cannot be marked/unmarked.
13929 (vc-dir-mark-all-files): If current entry is a directory, mark
13930 only child files, as documented.
13931
34c5fb55
VB
139322011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13933
13934 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13935 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13936 addition.
13937
c803b2b7
JD
139382011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13939
13940 * term/ns-win.el (ns-get-selection-internal)
13941 (ns-store-selection-internal): Declare.
1154d12e
JB
13942 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13943 Declare as obsolete.
13944 (ns-get-pasteboard, ns-paste-secondary):
13945 Use ns-get-selection-internal.
41e9b956 13946 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13947 Use ns-store-selection-internal.
c803b2b7 13948
9cff91f8 139492011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13950
13951 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13952 (vc-deduce-fileset): Doc fix.
99a289d9 13953
f16c898a
AS
139542011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13955
13956 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13957
763237c4
SS
139582011-12-13 Sam Steingold <sds@gnu.org>
13959
13960 * man.el (Man-getpage-in-background): When running under a
13961 window-system, ignore $MANWIDTH and $COLUMNS.
13962
5fc1c122
KH
139632011-12-15 Kenichi Handa <handa@m17n.org>
13964
13965 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13966 (setup-ethiopic-environment-internal): Comment out key-binding for
13967 ethio-toggle-punctuation.
13968
13d49cbb
AM
139692011-12-13 Alan Mackenzie <acm@muc.de>
13970
898169a2
AM
13971 Add the switch statement to AWK Mode.
13972
7a71b18d 13973 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13974 "default" to the keywords regexp.
13975
7a71b18d 13976 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13977 expression as the rest.
1d00653d
SM
13978 (c-nonlabel-token-key): Allow string literals for AWK.
13979 Refactor for the other modes.
898169a2 13980
13d49cbb 13981 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13982 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13983 routines. Limit backward searching in c-font-lock-enclosing.decl.
13984
13985 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13986 pp-state and literal type in addition to the limits.
1d00653d 13987 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13988 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13989 (c-slow-in-literal, c-fast-in-literal): Remove.
13990 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13991
13992 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13993 being in a literal. Add a limit for backward searching.
13994
13995 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13996 c-slow-in-literal.
13997
15e0efc7
SM
139982011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13999
14000 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14001
454592a6
MR
140022011-12-13 Martin Rudalics <rudalics@gmx.at>
14003
14004 * window.el (delete-other-windows): Use correct frame in call to
14005 window-with-parameter.
14006
87393f26
DP
140072011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14008
14009 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14010 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14011 (makefile-gmake-statements, makefile-makepp-statements):
14012 Use it and add new makepp keywords.
14013 (makefile-makepp-font-lock-keywords): Add new patterns.
14014 (makefile-match-function-end): Match new [...] and [[...]].
14015
11636b22
JB
140162011-12-11 Juanma Barranquero <lekktu@gmail.com>
14017
14018 * ses.el (ses-call-printer-return, ses-cell-property-get)
14019 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14020 (ses-create-cell-variable, ses-reset-header-string)
14021 (ses-cell-set-formula, ses-repair-cell-reference-all)
14022 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14023 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14024 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14025 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14026 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14027 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14028 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14029 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14030 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14031 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14032 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14033 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14034
cf018193
VB
140352011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14036
14037 * ses.el: The overall change is to add cell renaming, that is
14038 setting fancy names for cell symbols other than name matching
14039 "\\`[A-Z]+[0-9]+\\'" regexp .
14040 (ses-create-cell-variable): New defun.
14041 (ses-relocate-formula): Relocate formulas only for cells the
14042 symbols of which are not renamed, i.e. symbols whose names do not
14043 match regexp "\\`[A-Z]+[0-9]+\\'".
14044 (ses-relocate-all): Relocate values only for cells the symbols of
14045 which are not renamed.
14046 (ses-load): Create cells variables as the (ses-cell ...) are read,
14047 in order to check row col consistency with cell symbol name only
14048 for cells that are not renamed.
14049 (ses-replace-name-in-formula): New defun.
14050 (ses-rename-cell): New defun.
14051
ee957461
CY
140522011-12-11 Chong Yidong <cyd@gnu.org>
14053
14054 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14055 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14056
9a9e9ef0
MR
140572011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14058
14059 * window.el (other-window): Fix docstring.
14060
92a8eba5
EZ
140612011-12-10 Eli Zaretskii <eliz@gnu.org>
14062
14063 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14064 `from' or `to' address before taking its substring.
14065 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14066 encoded name is chopped in the middle of the encoded string, and
14067 thus displayed encoded.
14068
e152e577
JB
140692011-12-10 Juanma Barranquero <lekktu@gmail.com>
14070
14071 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14072
e5d84bfe
EZ
140732011-12-10 Eli Zaretskii <eliz@gnu.org>
14074
14075 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14076 to use texinfo-update-node and commands that call it if the
14077 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14078 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14079 (texinfo-all-menus-update, texinfo-master-menu)
14080 (texinfo-update-node, texinfo-every-node-update)
14081 (texinfo-multiple-files-update): Doc fix. Warn against updating
14082 all the @node lines.
14083 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14084 argument is numeric. Explain better in the doc string what the
14085 function really does.
14086 (texinfo-insert-master-menu-list): Improve the error message
14087 displayed if there's no menu in the Top node.
14088 (Bug#2975) See also this thread:
e5d84bfe
EZ
14089 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14090
1d84e9bb
MG
140912011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14092
14093 * speedbar.el (speedbar-supported-extension-expressions):
14094 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14095
382c953b
JB
140962011-12-09 Juanma Barranquero <lekktu@gmail.com>
14097
14098 * printing.el (pr-mode-alist):
14099 * simple.el (filter-buffer-substring-functions)
14100 (completion-list-insert-choice-function):
14101 * window.el (window-with-parameter, window-atom-root)
14102 (window-sides-slots, window-size-fixed, window-min-delta)
14103 (window-max-delta, window--resize-mini-window)
14104 (window--resize-child-windows-normal, window-tree)
14105 (delete-other-windows, quit-window, split-window)
14106 (display-buffer-record-window, special-display-buffer-names)
14107 (special-display-regexps, special-display-popup-frame)
14108 (same-window-p, split-window-sensibly)
14109 (display-buffer-overriding-action, display-buffer-alist)
14110 (display-buffer-base-action, display-buffer, switch-to-buffer)
14111 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14112 (fit-window-to-buffer, recenter-positions)
14113 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14114 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14115 and remove unneeded backslashes in docstrings.
14116
39c9faef
SM
141172011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14118
98449af8
SM
14119 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14120
39c9faef
SM
14121 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14122 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14123 end in ".mk".
14124 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14125 when reading the makefile (bug#10116).
14126
86ed9fdc
SM
141272011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14130 (bug#10116).
14131
5580f89d
GM
141322011-12-06 Glenn Morris <rgm@gnu.org>
14133
14134 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14135
28d3917c
CY
141362011-12-06 Chong Yidong <cyd@gnu.org>
14137
14138 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14139
a98edce9
JB
141402011-12-06 Juanma Barranquero <lekktu@gmail.com>
14141
14142 * textmodes/table.el (table-shorten-cell): Fix typo.
14143
e65adfac
CG
141442011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14145
14146 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14147
71cc0b74
EZ
141482011-12-05 Eli Zaretskii <eliz@gnu.org>
14149
14150 * descr-text.el (describe-char): Fix display of strong
14151 right-to-left characters and directional embeddings and overrides.
14152
14153 * simple.el (what-cursor-position): Fix display of codepoints of
14154 strong right-to-left characters.
14155
315bc30d
CY
141562011-12-05 Chong Yidong <cyd@gnu.org>
14157
14158 * faces.el (read-color): Doc fix.
14159
58a70b94
GM
141602011-12-05 Glenn Morris <rgm@gnu.org>
14161
14162 * align.el (align--set-marker): Add doc-string.
14163 Don't try to move something that is not a marker. (Bug#10216)
14164
5158face
GM
141652011-12-04 Glenn Morris <rgm@gnu.org>
14166
14167 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14168 overly zealous deletion of trailing whitespace.
14169
520fca41
JB
141702011-12-04 Juanma Barranquero <lekktu@gmail.com>
14171
14172 * server.el (server-delete-client): On Windows, do not try to delete
14173 the only terminal.
14174 (server-process-filter): On Windows, treat requests for a tty frame as
14175 if they were for a GUI frame if the running server is in GUI mode.
14176
5e605a2e
GM
141772011-12-03 Glenn Morris <rgm@gnu.org>
14178
14179 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14180
5c3fe83f
SM
141812011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14182
6f5e57e7
SM
14183 * electric.el: Streamline electric-indent's hook.
14184 (electric-indent-chars): Revert to simple list.
14185 (electric-indent-functions): New var.
14186 (electric-indent-post-self-insert-function): Use it.
14187
5c3fe83f
SM
14188 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14189 there's no inferior buffer (bug#10196).
14190 (prolog-consult-compile): Don't use toggle-read-only.
14191
6bdac736
MA
141922011-12-02 Michael Albinus <michael.albinus@gmx.de>
14193
14194 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14195 interrupt. (Bug#10187)
14196
6131ba7f
SM
141972011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14198
99c79fee
SM
14199 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14200 (bug#9160).
14201
6131ba7f
SM
14202 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14203 (bug#10191).
14204
cb0a02ea
JL
142052011-12-02 Juri Linkov <juri@jurta.org>
14206
14207 * info.el (Info-search): Display "end of manual" when Isearch
14208 reaches the end of single-file Info manual. (Bug#9918)
14209
66e0570c
EZ
142102011-12-02 Eli Zaretskii <eliz@gnu.org>
14211
14212 * isearch.el (isearch-message-prefix): Run the input method part
14213 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14214
02b16839
JL
142152011-12-02 Juri Linkov <juri@jurta.org>
14216
14217 * isearch.el (isearch-occur): Use `word-search-regexp' for
14218 `isearch-word'.
14219 (isearch-search-and-update): Add condition for `isearch-word' and
14220 call `word-search-regexp'. (Bug#10145)
14221
0b950688
GM
142222011-12-01 Glenn Morris <rgm@gnu.org>
14223
14224 * eshell/em-hist.el (eshell-hist-initialize):
14225 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14226 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14227
9505c3c7
SM
142282011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14231
1bbe96b2 142322011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14233
a1beca85
SM
14234 * progmodes/verilog-mode.el (verilog-pretty-expr):
14235 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14236 verilog, such as += *= and the like.
14237 (verilog-assignment-operator-re): Regular expression to find the
14238 assigment operator in a verilog assignment.
14239 (verilog-assignment-operation-re): Regular expression to find an
14240 assignment statement for pretty-expr.
14241 (verilog-in-attribute-p): Query returns true if point is in an
14242 attribute context; used to skip these for expression line up from
14243 pretty-expr.
14244 (verilog-in-parameter-p): Query returns true if point is in an
14245 parameter definition context; used to skip these for expression
14246 line up from pretty-expr.
14247 (verilog-in-parenthesis-p): Query returns true if point is in a
14248 parenthetical expression, specifically ( ) but not [ ] or { };
14249 used by pretty-expr.
14250 (verilog-just-one-space): If there is no space, don't add one.
14251 (verilog-get-lineup-indent-2): Specifically skip just attribute
14252 contexts for expression lineup, rather than skipping all
14253 parenthetical expressions.
14254 (verilog-calculate-indent): Fix comment, and fix indent.
14255 (verilog-do-indent): Indent declarations in lists (suggested by
14256 Joachim Lechner).
14257 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14258 skeleton items.
14259 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14260 by Alain Mellan).
14261
1bbe96b2 142622011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14263
14264 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14265 parameters with embedded comments. Reported by Ray Stevens.
14266 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14267 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14268 Reported by Tim Holt.
14269 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14270 instantiated by upper module causing wrong expansion until AUTOed a
14271 second time. Reported by K C Buckenmaier.
14272 (verilog-diff-auto): Fix showing .* as a difference when
14273 `verilog-auto-star-save' off. Reported by Dan Dever.
14274 (verilog-auto-reset, verilog-read-always-signals)
14275 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14276 temporary signals in reset list if
14277 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14278 style to each signal's assignment type, bug381.
14279 Reported by Thomas Esposito.
6288f0ca
WS
14280 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14281 (verilog-uvm-statement-re): Support UVM indentation and
14282 highlighting, with old OVM keywords only.
a1beca85 14283 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14284 Support AUTOTIEOFF creating non-wire data types.
14285 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14286 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14287 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14288 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14289 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14290 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14291 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14292 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14293 non-numeric vector width. Reported by Alex Reed.
14294 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14295 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14296 (verilog-auto-delete-trailing-whitespace):
14297 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14298 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14299 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14300 Fix verilog-scan-cache corruption when running user AUTO expansion
14301 hooks that call indentation routines.
14302 (verilog-simplify-range-expression): Fix typo ignoring lower case
14303 identifiers.
14304 (verilog-delete-auto): Fix delete-autos to also remove user created
14305 automatics, as long as they start with AUTO.
14306 (verilog-batch-diff-auto, verilog-diff-auto)
14307 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14308 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14309 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14310 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14311 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14312 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14313 is disabled and its cache will get corrupt, causing AUTOS not to
14314 expand. Instead use only -quick functions.
14315 (verilog-scan-region): Fix scanning over escaped quotes.
14316 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14317 (verilog-re-search-backward-quick)
14318 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14319 related functions now ignore strings, to fix misparsing of strings
14320 with magic comments embedded in them.
a1beca85
SM
14321 (verilog-read-auto-template):
14322 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14323 Reported by Brad Dobbie.
14324 (verilog-read-auto-template):
14325 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14326 Reported by Brad Dobbie.
6288f0ca
WS
14327 (verilog-auto-inst, verilog-auto-inst-param)
14328 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14329 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14330 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14331 debugging templates without merge conflicts, bug357.
14332 Reported by Brad Dobbie.
14333 (verilog-read-auto-template):
14334 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14335 Reported by Brad Dobbie.
14336 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14337 abbrevs so user won't be asked to save.
14338 (verilog-read-auto-lisp-present): Fix to start at beginning of
14339 buffer in case called outside of verilog-auto.
14340 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14341 to "X-2". Reported by Matthew Myers.
14342 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14343 all inputs from module templates. Reported by Leith Johnson.
14344 (verilog-module-inside-filename-p): Fix locating programs as with
14345 modules.
14346 (verilog-auto-inst-port): Fix vl-width expressions when using
14347 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14348 (verilog-decls-get-regs, verilog-decls-get-signals,
14349 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14350 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14351 verilog-read-decls): Combine reg and wire structures into one var
14352 structure to represent SystemVerilog concepts.
14353 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14354 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14355 (verilog-auto-wire-type, verilog-insert-definition):
14356 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14357 SystemVerilog "logic" keyword instead of "wire"/"reg".
14358 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14359 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14360 ifdef or generate if so there's not a driver conflict).
14361 Reported by Matthew Myers.
14362 (verilog-auto-declare-nettype, verilog-insert-definition):
14363 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14364 `default_nettype none. Reported by Julian Gorfajn.
14365 (verilog-read-always-signals-recurse, verilog-read-decls)
14366 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14367 malformed end statement, bug325. Reported by Joshua Wise and
14368 Andrew Drake.
14369 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14370 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14371 when expanding .* in interfaces, bug320.
14372 Reported by Pierre-David Pfister.
6288f0ca 14373 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14374 name and open parenthesis, bug317.
14375 Reported by Pierre-David Pfister.
6288f0ca
WS
14376 (verilog-simplify-range-expression): Fix simplification of
14377 multiplications inside AUTOWIRE connections, bug303.
14378 (verilog-auto-inst-port): Support parameter expansion in
14379 multidimensional arrays.
14380 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14381 after "assert property". Reported by Julian Gorfajn.
14382 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14383 with multiplication, bug303.
14384 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14385 Reported by Jan Frode Lonnum.
14386
1bbe96b2
GM
143872011-11-30 Juanma Barranquero <lekktu@gmail.com>
14388
14389 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14390 (hfy-shell-file-name, hfy-shell):
14391 * international/fontset.el (x-decompose-font-name): Fix typos.
14392
143932011-11-29 Ken Brown <kbrown@cornell.edu>
14394
14395 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14396 (gdb-version): Remove defvar.
14397 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14398 (gdb-gud-context-command, gdb-non-stop-handler)
14399 (gdb-current-context-command, gdb-stopped): Use it.
14400 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14401 (gdb-non-stop-handler): Don't enable pretty-printing here.
14402 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14403 non-stop mode. Use the following.
14404 (gdb-check-target-async): New defun.
14405 (gud-watch, gdb-stopped): Fix whitespace.
14406 (gdb-get-source-file): Don't try to display the source file if
14407 `gdb-main-file' is nil.
14408
144092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * align.el: Try to generate fewer markers (bug#10047).
14412 (align--set-marker): New macro.
14413 (align-region): Use it.
14414
c935221f
SM
144152011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14418
e70b5064
CY
144192011-11-29 Chong Yidong <cyd@gnu.org>
14420
14421 * indent.el (indent-for-tab-command, indent-according-to-mode):
14422 Doc fix.
14423 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14424
f3af92b7
MA
144252011-11-29 Michael Albinus <michael.albinus@gmx.de>
14426
14427 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14428 aware of remote file names. (Bug#10124)
14429
ed472be9
CY
144302011-11-29 Chong Yidong <cyd@gnu.org>
14431
14432 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14433
24510c22
SM
144342011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * files.el (find-file): Don't use force-same-window (bug#10144).
14437 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14438 use pop-to-buffer if the selected window can't be used.
14439 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14440
c60c3703
EZ
144412011-11-28 Eli Zaretskii <eliz@gnu.org>
14442
14443 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14444 special-mode-map.
14445
e95def75
CY
144462011-11-28 Chong Yidong <cyd@gnu.org>
14447
14448 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14449
c3f1c606
NR
144502011-11-27 Nick Roberts <nickrob@snap.net.nz>
14451
14452 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14453 gdb-get-source-file-list on gdb-create-source-file-list.
14454
00db469c
EZ
144552011-11-26 Eli Zaretskii <eliz@gnu.org>
14456
14457 * whitespace.el (whitespace-newline): Use a different foreground
14458 color for 16-color light-background displays.
14459
4ad3bc2a
CY
144602011-11-24 Chong Yidong <cyd@gnu.org>
14461
14462 * window.el (display-buffer--special-action): Doc fix.
14463
e9fce1ac
JB
144642011-11-25 Juanma Barranquero <lekktu@gmail.com>
14465
14466 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14467 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14468 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14469 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14470 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14471 (avl-tree-stack-first):
14472 * emacs-lisp/cconv.el (cconv--analyse-use):
14473 * net/gnutls.el (gnutls-negotiate): Fix typos.
14474
cb825e5d
GM
144752011-11-24 Glenn Morris <rgm@gnu.org>
14476
3adbe224
GM
14477 * lpr.el (lpr-windows-system, lpr-lp-system):
14478 * mail/binhex.el (binhex-begin-line):
14479 * progmodes/grep.el (grep-history, grep-find-history):
14480 * textmodes/flyspell.el:
14481 * vc/pcvs-defs.el (cvs-global-menu):
14482 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14483 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14484 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14485
321decc8
GM
14486 * net/tls.el: Fix case of "GnuTLS".
14487
420b63ad
GM
14488 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14489
cb825e5d
GM
14490 * version.el (emacs-build-system): Give it a doc-string.
14491
a0649f08
JL
144922011-11-24 Juri Linkov <juri@jurta.org>
14493
14494 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14495
c0bc0fd4
GM
144962011-11-24 Glenn Morris <rgm@gnu.org>
14497
14498 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14499 if called on a non-mime message just toggle the headers. (Bug#8006)
14500
20db1522
JB
145012011-11-24 Juanma Barranquero <lekktu@gmail.com>
14502
14503 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14504 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14505 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14506 (allout-rebullet-heading, allout-open-sibtopic)
14507 (allout-toggle-current-subtree-encryption)
14508 (allout-toggle-subtree-encryption, allout-encrypt-string)
14509 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14510 (allout-distinctive-bullets-string, allout-auto-activation):
14511 * window.el (window-normalize-buffer-to-display):
14512 * progmodes/verilog-mode.el (verilog-batch-indent):
14513 * textmodes/bibtex.el (bibtex-field-braces-opt)
14514 (bibtex-field-strings-opt):
14515 * vc/cvs-status.el (cvs-tree-merge):
14516 Fix typos.
14517
7262a87c
MA
145182011-11-23 Michael Albinus <michael.albinus@gmx.de>
14519
14520 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14521 `non-essential' to t, in order to avoid remote connections.
14522
283430a1
EZ
145232011-11-23 Eli Zaretskii <eliz@gnu.org>
14524
a1beca85
SM
14525 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14526 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14527 case-insensitively.
14528
d2992a38
ML
145292011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14530
14531 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14532
50419064
GM
145332011-11-23 Glenn Morris <rgm@gnu.org>
14534
da94eca1
GM
14535 * paths.el (rmail-file-name): Reformat the doc-string so that it
14536 is picked up.
14537
9aac4de2
GM
14538 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14539 (rmail-auto-file): Ignore case in the "special" field names,
14540 as mail-fetch-field does for all others.
14541
8038d2d2
GM
14542 * mail/rmail.el (rmail-forward):
14543 * mail/rmailkwd.el (rmail-set-label):
14544 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14545 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14546
f3fe222a
GM
14547 * mail/rmail.el (rmail-current-message): Doc fix.
14548
50419064
GM
14549 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14550
28109f49
SM
145512011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14554
394c65f1
GM
145552011-11-22 Glenn Morris <rgm@gnu.org>
14556
14557 * mail/rmailmm.el (test-rmail-mime-handler)
14558 (test-rmail-mime-bulk-handler)
14559 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14560
f2a0aa3a
JL
145612011-11-21 Juri Linkov <juri@jurta.org>
14562
1154d12e
JB
14563 * calc/calc.el (calc-read-key-sequence):
14564 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14565
9c34a344
LMI
145662011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14567
14568 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14569 Tell the caller that the next line needs recomputation, even
14570 though it doesn't start a sexp (bug#10094).
14571
f04a3be9
SM
145722011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14575
7978747f
SM
145762011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14577
f04a3be9
SM
14578 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14579 Use force-same-window.
7978747f 14580
fe7a3057
JB
145812011-11-20 Juanma Barranquero <lekktu@gmail.com>
14582
14583 * descr-text.el (describe-char-unicode-data):
14584 * json.el (json-string-escape):
14585 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14586 (Footnote-unicode, Footnote-style-p):
14587 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14588
24901d61
CY
145892011-11-20 Chong Yidong <cyd@gnu.org>
14590
14591 * window.el (replace-buffer-in-windows): Restore interactive spec.
14592
bac7ff22
SM
145932011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14594
24f3d7b9
SM
14595 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14596
bac7ff22
SM
14597 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14598 (byte-compile-global-not-obsolete-vars): New var.
14599 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14600 Use it.
14601 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14602
cd1181db
JB
146032011-11-20 Juanma Barranquero <lekktu@gmail.com>
14604
14605 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14606 * progmodes/pascal.el (electric-pascal-equal):
14607 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14608 * xml.el (xml-substitute-special): Fix typos.
14609
7fb18e9e
GM
146102011-11-20 Glenn Morris <rgm@gnu.org>
14611
14612 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14613 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14614 Doc fixes.
14615 (rmail-decode-mime-charset): Mark as obsolete.
14616
14617 * mail/rmailsum.el (rmail-message-regexp-p-1):
14618 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14619 Before using mime functions, check they are set. (Bug#10077)
14620
d5a6b3ba
JL
146212011-11-19 Juri Linkov <juri@jurta.org>
14622
14623 * info.el (Info-finder-find-node): Use `package--builtins' instead
14624 of `package-alist'. Use node names formed by the pattern "Keyword "
14625 and the keyword name.
14626
e981b61f
AS
146272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14628
1d00653d 14629 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14630
3ffbc301
JL
146312011-11-19 Juri Linkov <juri@jurta.org>
14632
14633 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14634 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14635 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14636 `old-history', `old-history-forward'. Add let-binding
14637 `window-selected'. Remove calls to `kill-buffer',
14638 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14639 before calling `Info-find-node', so `Info-find-node-2' will reread
14640 the Info file. Restore window positions only when `window-selected'
14641 is non-nil.
14642
30c62133
JL
146432011-11-19 Juri Linkov <juri@jurta.org>
14644
14645 * isearch.el (isearch-lazy-highlight-new-loop):
14646 Remove condition `(not isearch-error)'. (Bug#9918)
14647
14648 * misearch.el (multi-isearch-search-fun): Add condition
14649 `(not bound)' to ignore lazy-highlighting search.
14650 Add the search-failed message "end of multi" when the end of
14651 multi-sequence is reached. Uncapitalize the search-failed
14652 message "Repeat for next buffer".
14653
14654 * info.el (Info-search): Add the search-failed message
14655 "end of the manual" when the end of the manual is reached
14656 in Isearch mode.
14657
645ca9cf
JL
146582011-11-19 Juri Linkov <juri@jurta.org>
14659
14660 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14661 Use non-destructive `remove' instead of `delete' because
14662 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14663 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14664
df754f66
JL
146652011-11-19 Juri Linkov <juri@jurta.org>
14666
14667 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14668 to nil instead of binding `search-ring' and `regexp-search-ring'.
14669 (Bug#9185)
14670
0e23d96a
EZ
146712011-11-19 Eli Zaretskii <eliz@gnu.org>
14672
14673 * simple.el (line-move): Force movement by logical lines for any
14674 hscrolled window, not only when auto-hscroll-mode is on.
14675 (line-move-visual): Update doc string to that effect. (Bug#10076)
14676
8a6ccb66
AS
146772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14678
14679 * language/european.el (macintosh): Define as alias for mac-roman.
14680
49ae5b39
EZ
146812011-11-19 Eli Zaretskii <eliz@gnu.org>
14682
14683 * mail/rmailmm.el (rmail-mime-display-header)
14684 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14685 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14686 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14687 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14688 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14689 of a raw aref.
14690 (rmail-mime-entity-segment): To get past the tagline, move forward
14691 2 more lines, to account for the 2 empty lines that precede and
14692 follow the line with the buttons.
14693 (rmail-mime-update-tagline): Move one more line, to get past the
14694 empty line that follows the buttons in the tagline. (Bug#9520)
14695
c56cad4a
MR
146962011-11-19 Martin Rudalics <rudalics@gmx.at>
14697
14698 * window.el (window-max-delta-1, window-min-delta-1)
14699 (window-min-size-1, window-state-get-1, window-state-put-1)
14700 (window-state-put-2): Use "window--" prefix.
14701
cbe71af3
SM
147022011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14703
2ad52c60
SM
14704 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14705 (smie-warning-count): New var.
14706 (smie-set-prec2tab): Use it.
14707 (smie-bnf->prec2): Improve warnings. Add docstring.
14708 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14709 (smie-bnf--set-class): New function.
14710 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14711 corner case.
14712
6944dbc1
SM
14713 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14714 (compilation-error-properties, compilation-move-to-column):
14715 Handle compilation-first-column while in the target buffer.
14716
c400c4d7
SM
14717 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14718 Don't hardcode point-min==1.
14719
6dbe3e96
SM
14720 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14721 (eshell-rewrite-for-command): Remove workaround.
14722 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14723 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14724 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14725
cbe71af3
SM
14726 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14727
a8e1496d
GM
147282011-11-17 Glenn Morris <rgm@gnu.org>
14729
14730 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14731 Ignore buffer-local generated-autoload-file if it is the same
14732 as the global value. (Bug#10049)
14733
df85d315
JB
147342011-11-17 Juanma Barranquero <lekktu@gmail.com>
14735
14736 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14737 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14738 (reftex-toc-previous-heading, reftex-toc-max-level)
14739 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14740 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14741 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14742 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14743 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14744 (reftex-toc-rename-label, reftex-toc-visit-location)
14745 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14746 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14747 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14748 leaving "*toc*" only for references to the buffer.
14749
a0c2d0ae
MR
147502011-11-17 Martin Rudalics <rudalics@gmx.at>
14751
14752 * window.el (window-resize, delete-window, split-window):
14753 Replace window-splits by window-combination-resize.
1d00653d 14754 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14755
35c0bac8
GM
147562011-11-17 Glenn Morris <rgm@gnu.org>
14757
14758 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14759 Make bash entry derive from sh entry, not shell entry.
14760
d0c8fc8a
MA
147612011-11-16 Michael Albinus <michael.albinus@gmx.de>
14762
7262a87c
MA
14763 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14764 local file name.
14765
7877f373
JB
147662011-11-16 Juanma Barranquero <lekktu@gmail.com>
14767
14768 * menu-bar.el (menu-bar-file-menu):
14769 * printing.el (pr-ps-utility):
14770 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14771 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14772 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14773 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14774 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14775 (icalendar--convert-cyclic-to-ical)
14776 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14777 (icalendar--convert-ical-to-diary)
14778 (icalendar--convert-recurring-to-diary)
14779 (icalendar--convert-non-recurring-all-day-to-diary)
14780 (icalendar-import-format-sample):
14781 * progmodes/idlw-shell.el (idlwave-shell-mode):
14782 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14783 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14784 (vhdl-ps-print-init): Fix typos.
14785
10649b82
KM
147862011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14787
9d0cfcd6
GM
14788 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14789 FSF and collapse date sequence, obscure author/maintainer email address
14790 better, remove extra version line, track relocation of author's webpage.
10649b82 14791
9d0cfcd6
GM
14792 * progmodes/python.el (python-pdbtrack-input-prompt)
14793 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14794 regular python pdb prompts. Adjustments shamelessly taken exactly as
14795 suggested in EmacsWiki page (tiny change):
14796 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14797
58179cce
JB
147982011-11-16 Juanma Barranquero <lekktu@gmail.com>
14799
14800 * expand.el (expand-pos, expand-index, expand-point):
14801 Remove redundant info from docstring.
14802 (expand-add-abbrevs): Doc fix.
14803 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14804 (expand-sample-perl-mode-expand-list): Fix typos.
14805
14806 * net/dbus.el (dbus-event-member-name):
14807 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14808 * term/pc-win.el (msdos-create-frame-with-faces):
14809 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14810
b6f67890
MR
148112011-11-16 Martin Rudalics <rudalics@gmx.at>
14812
14813 * window.el (split-window, window-state-get-1)
14814 (window-state-put-1, window-state-put-2): Rename occurrences of
14815 window-nest to window-combination-limit.
1d00653d 14816 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14817
ce7ddba0
CY
148182011-11-16 Chong Yidong <cyd@gnu.org>
14819
14820 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14821 regexp (Bug#10033).
14822
3ae704f4
SM
148232011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14826 `completing-read' will remove *Completions* and will preserve
14827 current-buffer for us.
14828 (tmm-add-prompt): Users of *Completions* will always (re)set its
14829 major mode.
14830 (tmm-old-comp-map): Remove.
14831
6ad1cdde
GM
148322011-11-16 Glenn Morris <rgm@gnu.org>
14833
14834 * mail/rmailedit.el: Require rmailmm when compiling.
14835 (rmail-old-mime-state): New declaration.
14836 (rmail-edit-current-message): If editing a mime message,
14837 edit the "raw" message from the mbox buffer.
14838 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14839
d20faa20
GM
148402011-11-15 Glenn Morris <rgm@gnu.org>
14841
14842 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14843 which wasn't being used. Add optional arg to force given state.
14844 (rmail-mime): Add optional arg to force given state.
14845
c7015153
JB
148462011-11-15 Juanma Barranquero <lekktu@gmail.com>
14847
14848 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14849 * frame.el (display-mm-dimensions-alist):
14850 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14851 (outline-move-subtree-down):
14852 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14853 (newsticker--treeview-do-get-node):
14854 * net/quickurl.el (quickurl-list-buffer-name):
14855 * progmodes/dcl-mode.el (dcl-mode):
14856 * progmodes/gdb-mi.el (gdb-mapcar*):
14857 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14858
45261b50
GM
148592011-11-15 Glenn Morris <rgm@gnu.org>
14860
14861 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14862 in a boolean sense, so just make it a boolean, and fix the doc.
14863 (rmail-show-mime-function, rmail-mime-feature)
14864 (rmail-require-mime-maybe): Doc fixes.
14865 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14866
14867 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14868
0d26e0b6
JB
148692011-11-15 Juanma Barranquero <lekktu@gmail.com>
14870
14871 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14872 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14873 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14874 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14875
447f30f6
GM
148762011-11-15 Glenn Morris <rgm@gnu.org>
14877
672b871d
GM
14878 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14879 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14880 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14881 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14882 (rmail-mime, rmail-show-mime): Doc fixes.
14883
f6aa5bb1
GM
14884 * term/ns-win.el (mode-line-frame-identification):
14885 Leave it alone. (Bug#10051)
14886
947cd66b
GM
14887 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14888
447f30f6
GM
14889 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14890 Handle empty buffers. (Bug#9978)
14891
0b381c7e
JB
148922011-11-14 Juanma Barranquero <lekktu@gmail.com>
14893
14894 * international/mule.el (define-charset):
14895 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14896 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14897 * progmodes/verilog-mode.el (verilog-backward-token):
14898 * textmodes/ispell.el (lookup-words):
14899 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14900
71e027ac
GM
149012011-11-14 Glenn Morris <rgm@gnu.org>
14902
56632ce4
GM
14903 * progmodes/executable.el
14904 (executable-make-buffer-file-executable-if-script-p):
14905 Handle file-modes returning nil.
14906
40500957
GM
14907 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14908 message - not necessary, and causes problems. (Bug#9831)
14909
071c2340
GM
14910 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14911
d3cfca60
GM
14912 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14913
71e027ac
GM
14914 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14915 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14916 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14917
89d61221
MR
149182011-11-12 Martin Rudalics <rudalics@gmx.at>
14919
14920 * window.el (window-resize, delete-window): Use window-splits
14921 variable instead of function.
14922 (window-state-get-1, window-state-put-2, window-state-put):
14923 Don't deal with windows' splits status.
14924
98282f6f
GM
149252011-11-12 Glenn Morris <rgm@gnu.org>
14926
14927 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14928 (apropos-documentation): Doc fixes.
14929
40a8bdf6
JB
149302011-11-11 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14933 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14934
65bd19ff
SM
149352011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * electric.el (electric-indent-post-self-insert-function): Make it
14938 possible for a char to only indent in some circumstances.
14939 (electric-indent-mode): Simplify.
14940
54f9154c
MR
149412011-11-11 Martin Rudalics <rudalics@gmx.at>
14942
14943 * window.el (windows-with-parameter): Remove unused function.
14944 (windows-at-side): Rename to window-at-side-list.
14945 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14946 (window-side-check, window-size-ignore, window-size-fixed-1)
14947 (window-in-direction-2): Prefix with "window--".
14948 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14949
68cbc58b
GM
149502011-11-11 Glenn Morris <rgm@gnu.org>
14951
14952 * subr.el (eval-after-load): If FILE is already loaded,
14953 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14954
b2621720
GM
149552011-11-10 Glenn Morris <rgm@gnu.org>
14956
9a4de110
GM
14957 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14958 Call svn via vc-svn-command rather than vc-do-command.
14959 (vc-svn-command): Add --non-interactive. (Bug#9993)
14960 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14961
b2621720
GM
14962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14963 Add toggle-read-only. (Bug#7292)
14964 * files.el (toggle-read-only): Mention that it should only
14965 be used interactively. (Bug#10006)
14966
1dce7193
SM
149672011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14968
d9ac1a1e
SM
14969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14970 Adjust regexp for OCaml warnings.
14971
0c325082
SM
14972 * electric.el (electric-pair-post-self-insert-function): Let user
14973 turn it off buffer-locally (bug#9932).
14974
90132c14
SM
14975 * progmodes/python.el (python-beginning-of-statement):
14976 Rewrite (bug#2703).
14977
1dce7193
SM
14978 * progmodes/compile.el: Better handle TABs (bug#9749).
14979 (compilation-internal-error-properties)
14980 (compilation-next-error-function): Obey the target buffer's
14981 compilation-error-screen-columns.
14982
c4e7c63a
JB
149832011-11-09 Juanma Barranquero <lekktu@gmail.com>
14984
14985 * progmodes/meta-mode.el: Remove obsolete comments.
14986 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14987 Fix typos in docstrings.
14988
2cffd681
MR
149892011-11-09 Martin Rudalics <rudalics@gmx.at>
14990
14991 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14992 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14993 (window--resizable): New function. Make all callers of
14994 window-resizable call window--resizable instead.
14995 (window-resizable): Rewrite in terms of window--resizable.
14996
0edcba87
GM
149972011-11-08 Glenn Morris <rgm@gnu.org>
14998
14999 * progmodes/delphi.el (delphi-mode-syntax-table):
15000 Let define-derived-mode define a proper syntax table. (Bug#9994)
15001
4b0d61e3
SM
150022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * window.el: Stay away from defsubst.
15005 (window-list-no-nils): Remove.
15006 (window-state-get-1, window-state-get): Use backquote instead.
15007
cd394be1 150082011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15009
4b0d61e3 15010 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15011 Fix incorrect use of default argument in `completing-read'.
15012
e1c2c6f2
MR
150132011-11-08 Martin Rudalics <rudalics@gmx.at>
15014
15015 * window.el (display-buffer-function, special-display-function):
15016 Mention display-buffer-record-window but do not mention
15017 help-setup parameter in doc-strings.
b3f4a882 15018 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15019
105216ed
CY
150202011-11-08 Chong Yidong <cyd@gnu.org>
15021
15022 * window.el (window-total-height, window-total-width): Doc fix.
15023 (window-body-size): Move from C.
15024 (window-body-height, window-body-width): Move to C.
15025
0a9f9ab5
SM
150262011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * window.el: Make special-display like display-buffer-alist (bug#9532).
15029 (display-buffer--special-action): New function, morphed
15030 from display-buffer--special.
15031 (display-buffer): Use it to handle special-display-buffers at higher
15032 priority (just after display-buffer-alist).
15033 (display-buffer-fallback-action, display-buffer--other-frame-action)
15034 (pop-to-buffer-same-window): Remove display-buffer--special.
15035
a769dd15
GM
150362011-11-07 Glenn Morris <rgm@gnu.org>
15037
15038 * calendar/cal-menu.el (cal-menu-set-date-title):
15039 Do nothing if not in a calendar. (Bug#9976)
15040
05a61ee3
SM
150412011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15042
15043 * files.el (find-file): Always use selected-window.
15044
be7f5545
MR
150452011-11-07 Martin Rudalics <rudalics@gmx.at>
15046
15047 * window.el (window-combinations): Make WINDOW argument
15048 mandatory. Rewrite doc-string.
15049 (walk-window-subtree, window-atom-check, window-min-delta)
15050 (window-max-delta, window--resize-this-window)
15051 (window--resize-root-window-vertically, window-tree)
15052 (balance-windows, window-state-put): Rewrite doc-strings as to
15053 not mention the term "subwindow".
15054 (window--resize-subwindows-skip-p): Rename to
15055 window--resize-child-windows-skip-p.
15056 (window--resize-subwindows-normal): Rename to
15057 window--resize-child-windows-normal.
15058 (window--resize-subwindows): Rename to
15059 window--resize-child-windows.
15060 (window-or-subwindow-p): Rename to window--in-subtree-p.
15061
3c6702ef
ML
150622011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15063
15064 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15065 Ensure that mbox format messages end in two newlines (Bug#9974).
15066
49745b39
CY
150672011-11-06 Chong Yidong <cyd@gnu.org>
15068
15069 * window.el (window-combination-p): Function deleted; its
15070 side-effect is not used in any existing code.
15071 (window-combinations, window-combined-p): Call window-*-child
15072 directly.
15073
24300f5f
CY
150742011-11-05 Chong Yidong <cyd@gnu.org>
15075
15076 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15077 (window-size-ignore, window-state-get): Callers changed.
15078 (window-normalize-window): Rename from window-normalize-any-window.
15079 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15080 (window-normalize-live-window): Delete.
447f16b8
CY
15081 (window-combination-p, window-combined-p, window-combinations)
15082 (walk-window-subtree, window-atom-root, window-min-size)
15083 (window-sizable, window-sizable-p, window-size-fixed-p)
15084 (window-min-delta, window-max-delta, window-resizable)
15085 (window-resizable-p, window-full-height-p, window-full-width-p)
15086 (window-current-scroll-bars, window-point-1, set-window-point-1)
15087 (window-at-side-p, window-in-direction, window-resize)
15088 (adjust-window-trailing-edge, maximize-window, minimize-window)
15089 (window-deletable-p, delete-window, delete-other-windows)
15090 (record-window-buffer, unrecord-window-buffer)
15091 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15092 (quit-window, split-window, window-state-put)
15093 (set-window-text-height, fit-window-to-buffer)
15094 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15095
89bd5ee1
EZ
150962011-11-04 Eli Zaretskii <eliz@gnu.org>
15097
53479029
EZ
15098 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15099 rfc2047-decode-string.
15100 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15101 warnings.
15102
89bd5ee1
EZ
15103 * window.el (window-body-height, window-body-width): Mention in
15104 the doc string that the return values are in frame's canonical
15105 units. (Bug#9949)
15106
bd17fdee
AM
151072011-11-03 Alan Mackenzie <acm@muc.de>
15108
15109 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15110 change in cc-engine.el.
15111
acc825c5
SM
151122011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15113
15114 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15115
1885e5b8
MR
151162011-11-02 Martin Rudalics <rudalics@gmx.at>
15117
15118 * window.el (quit-window): Call unrecord-window-buffer after
15119 showing another buffer in the window. (Bug#9937)
acc825c5 15120 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15121
ebe06da9
JB
151222011-11-02 Juanma Barranquero <lekktu@gmail.com>
15123
15124 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15125 Accept status with more than 9 shelves. (Bug#9935)
15126 Reported by Colin D Bennett <colin@gibibit.com>.
15127
4ee88440
MR
151282011-11-01 Martin Rudalics <rudalics@gmx.at>
15129
15130 * help.el (with-help-window): Don't reference
15131 temp-buffer-show-specifiers in doc-string.
15132
08e1d82c
AS
151332011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15134
15135 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15136 menu-item.
15137
84bd6e9e
VJL
151382011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15139
15140 * whitespace.el: New version 13.2.2.
15141 (whitespace-newline-mode): Disable properly. Reported by Sarah
15142 <EmacsWiki>.
15143
dba0634a
UJ
151442011-10-30 Ulf Jasper <ulf.jasper@web.de>
15145
15146 * net/newst-treeview.el: Remove "Time-stamp".
15147 (newsticker--group-manage-orphan-feeds): Do not call
15148 newsticker--treeview-tree-update.
db22a3c2
JB
15149 (newsticker-treeview-update, newsticker-treeview):
15150 Call newsticker--treeview-tree-update if necessary.
dba0634a 15151
3d8daefe
MR
151522011-10-30 Martin Rudalics <rudalics@gmx.at>
15153
15154 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15155 (window-iso-combinations): Remove "iso-" infix.
15156 Suggested by Chong Yidong.
3d8daefe
MR
15157 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15158 (window-max-delta-1, window-resize, window--resize-siblings)
15159 (window--resize-this-window, adjust-window-trailing-edge)
15160 (split-window, balance-windows-1)
15161 (shrink-window-if-larger-than-buffer):
15162 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15163 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15164
1bc4c3ae
SM
151652011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15168 in place (bug#9907).
15169 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15170 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15171 (eshell-structure-basic-command, eshell-rewrite-while-command)
15172 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15173 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15174 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15175 (eshell-do-pipelines-synchronously, eshell-eval-command):
15176 Use backquotes and prefer setq to set.
15177 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15178 (eshell-macrop): Use functionp.
c1e2f5fa 15179 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15180
30b65d9c
CY
151812011-10-30 Chong Yidong <cyd@gnu.org>
15182
15183 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15184 instead of set-mark (Bug#9810).
15185
2d197ffb
CY
151862011-10-30 Chong Yidong <cyd@gnu.org>
15187
15188 * window.el (split-window-below, split-window-right): Rename from
15189 split-window-above-each-other and split-window-side-by-side
15190 respectively. All callers changed.
15191 (split-window-sensibly, split-window-sensibly): Use them.
15192 (split-window-keep-point): Doc fix.
15193
15194 * isearch.el: Add isearch-scroll property to split-window-below
15195 and split-window-right.
15196
15197 * follow.el (follow-mode):
15198 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15199 * progmodes/ada-xref.el (ada-gdb-application):
15200 * emulation/vip.el (vip-buffer-in-two-windows):
15201 * image-dired.el (image-dired-dired-with-window-configuration):
15202 * dired-x.el (dired-do-find-marked-files):
15203 * dired.el (dired-pop-to-buffer):
15204 * bs.el (bs--show-with-configuration):
15205 * vc/emerge.el (emerge-setup-windows):
15206 * textmodes/two-column.el (2C-two-columns):
15207 * textmodes/reftex-toc.el (reftex-toc):
15208 * progmodes/gdb-mi.el (gdb-setup-windows):
15209 * progmodes/fortran.el (fortran-window-create):
15210 * net/newst-treeview.el (newsticker--treeview-window-init):
15211 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15212 * emulation/tpu-edt.el (tpu-gold-map):
15213 * emulation/crisp.el (crisp-mode-map):
15214 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15215
38bb2ca8
CY
152162011-10-29 Chong Yidong <cyd@gnu.org>
15217
aa4de341
CY
15218 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15219
e1eb5385
CY
15220 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15221
5d2ece3c
CY
15222 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15223 forged Ispell output (Bug#7904).
15224
38bb2ca8
CY
15225 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15226
d0af9f77
SM
152272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * doc-view.el: Avoid ugly errors about not finding nil.
15230 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15231 (doc-view-dvipdf-program, doc-view-unoconv-program)
15232 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15233 Avoid nil or absolute file name as default value.
15234 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15235
52bedd34
AM
152362011-10-28 Alan Mackenzie <acm@muc.de>
15237
db22a3c2 15238 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15239
7e43cfa5
AM
152402011-10-28 Alan Mackenzie <acm@muc.de>
15241
15242 Amend the handling of c-beginning/end-of-defun in nested declaration
15243 scopes.
15244
52bedd34
AM
15245 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15246 cc-langs.el. Change it to a defcustom.
7e43cfa5 15247
52bedd34
AM
15248 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15249 cc-vars.el.
7e43cfa5 15250
d0af9f77
SM
15251 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15252 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15253
52bedd34 15254 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15255 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15256 (c-widen-to-enclosing-decl-scope): New function.
15257 (c-while-widening-to-decl-block): New macro.
15258 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15259 outward for defun boundaries, and correspondingly change symbol
15260 `respect-enclosure' to `go-outward'.
15261 (c-declaration-limits): Change algorithm to report only the "innermost"
15262 defun's boundaries.
15263
1a2ce9ee
DD
152642011-10-28 Deniz Dogan <deniz@dogan.se>
15265
15266 * net/rcirc.el (rcirc-mode): Use hard newlines.
15267
bc97a826
AM
152682011-10-28 Alan Mackenzie <acm@muc.de>
15269
15270 Amend to indent and fontify macros "which include their own semicolon"
15271 correctly, using the "virtual semicolon" mechanism.
15272
52bedd34 15273 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15274
d0af9f77 15275 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15276 Recode to scan one line at a time rather than having \n and \r
58179cce 15277 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15278 (c-forward-label): Amend for virtual semicolons.
58179cce 15279 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15280
52bedd34
AM
15281 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15282 of the new C macros.
bc97a826 15283
52bedd34 15284 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15285 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15286 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15287 (c-opt-cpp-macro-define): Make into a full language variable.
15288 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15289 AWK Mode (including \n, \r) removed, no longer needed.
15290
d0af9f77
SM
15291 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15292 Invoke c-make-macro-with-semi-re.
bc97a826 15293
52bedd34
AM
15294 * progmodes/cc-vars.el (c-macro-with-semi-re):
15295 (c-macro-names-with-semicolon): New variables.
58179cce 15296 (c-make-macro-with-semi-re): New function.
bc97a826 15297
7a6c0941
SM
152982011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * vc/log-edit.el: Fill empty field rather than adding new one.
15301 (log-edit-add-field): New function.
15302 (log-edit-insert-changelog): Use it.
15303
b0c4cdcf
ML
153042011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15305
15306 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15307
ee1f1da9
SM
153082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15309
15310 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15311 (gdb--check-interpreter): New function.
15312 (gdb): Use it.
15313
51bc5f8b
GM
153142011-10-27 Glenn Morris <rgm@gnu.org>
15315
416a2c45
GM
15316 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15317 (least-positive-float, least-negative-float)
15318 (least-positive-normalized-float, least-negative-normalized-float)
15319 (float-epsilon, float-negative-epsilon):
15320 Remove unnecessary declarations.
15321
15322 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15323 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15324 (least-positive-float, least-negative-float)
15325 (least-positive-normalized-float, least-negative-normalized-float)
15326 (float-epsilon, float-negative-epsilon): Add doc-strings,
15327 based on those in cl.texi.
15328
51bc5f8b
GM
15329 * files.el (set-visited-file-name): If the major-mode changed,
15330 reload the local variables. (Bug#9796)
15331
15de15c6
CY
153322011-10-27 Chong Yidong <cyd@gnu.org>
15333
15334 * subr.el (change-major-mode-after-body-hook): New hook.
15335 (run-mode-hooks): Run it.
15336
ee1f1da9
SM
15337 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15338 Use change-major-mode-before-body-hook.
15de15c6
CY
15339
15340 * simple.el (fundamental-mode):
15341 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15342 change introducing fundamental-mode-hook.
15343
5430d399
JB
153442011-10-26 Juanma Barranquero <lekktu@gmail.com>
15345
acc825c5 15346 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15347
ad74a69e
MA
153482011-10-26 Michael Albinus <michael.albinus@gmx.de>
15349
15350 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15351 tramp.el explicitly. (Bug#7583)
ad74a69e 15352
71d4c2a5
SM
153532011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * progmodes/octave-mod.el:
15356 * progmodes/octave-inf.el: Update maintainer.
15357
b1f6fa26
CY
153582011-10-26 Chong Yidong <cyd@gnu.org>
15359
15360 * subr.el (with-wrapper-hook): Rewrite doc.
15361
3f04efd6
MA
153622011-10-25 Michael Albinus <michael.albinus@gmx.de>
15363
15364 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15365 filenames "/method:foo:". (Bug#9793)
3f04efd6 15366
410488d3
SM
153672011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15368
15369 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15370 (bug#9865).
15371
c1ebb47e
GM
153722011-10-24 Glenn Morris <rgm@gnu.org>
15373
15374 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15375
7f5c46c7
MA
153762011-10-24 Michael Albinus <michael.albinus@gmx.de>
15377
15378 * notifications.el: Add the requirement of a running D-Bus session
15379 bus to the Commentary.
15380
db2440b6
JL
153812011-10-24 Juri Linkov <juri@jurta.org>
15382
15383 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15384 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15385 (Bug#9364)
15386
feecf435
JL
153872011-10-24 Juri Linkov <juri@jurta.org>
15388
15389 * info.el (Info-following-node-name-re): Add newline to the list
15390 of allowed characters for leading space. (Bug#9824)
15391
a3839de2
SM
153922011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15393
acc825c5
SM
15394 * progmodes/octave-inf.el (inferior-octave-mode-map):
15395 Fix C-c C-h binding.
a3839de2
SM
15396 * progmodes/octave-mod.el (octave-help): Remove.
15397
09388e76
MA
153982011-10-23 Michael Albinus <michael.albinus@gmx.de>
15399
15400 Sync with Tramp 2.2.3.
15401
15402 * net/tramp-cache.el (top): Pacify byte-compiler using
15403 `init-file-user' and `site-run-file'.
15404
15405 * net/trampver.el: Update release number.
15406
86c60681
CY
154072011-10-23 Chong Yidong <cyd@gnu.org>
15408
15409 * files.el (toggle-read-only): Remove obsolete comment about
15410 version control.
15411
15412 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15413 for toggle-read-only. Note that this hasn't called vc-next-action
15414 since 2008-05-02, though it wasn't documented at the time.
15415
a3839de2
SM
15416 * vc/ediff-init.el (ediff-toggle-read-only-function):
15417 Use toggle-read-only.
86c60681 15418
cd5495ff
AM
154192011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15420
15421 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15422 of c-parse-state.
15423
00b77525 15424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15425 correct faulty logical expression.
cd5495ff
AM
15426 (c-parse-state-state, c-record-parse-state-state):
15427 (c-replay-parse-state-state): New defvar/defuns.
15428 (c-debug-parse-state): Use new functions.
15429
42ee24ed
MR
154302011-10-22 Martin Rudalics <rudalics@gmx.at>
15431
15432 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15433 last fix. Use window-in-direction correctly.
42ee24ed 15434
a7dee7e7
CY
154352011-10-21 Chong Yidong <cyd@gnu.org>
15436
15437 * progmodes/idlwave.el (idlwave-mode):
15438 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15439 require-final-newline; that's done in prog-mode.
15440 Suggested by Stefan Monnier.
a7dee7e7 15441
e07b9a6d
MR
154422011-10-21 Martin Rudalics <rudalics@gmx.at>
15443
15444 * mouse.el (mouse-drag-window-above)
15445 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15446 (mouse-drag-mode-line-1, mouse-drag-header-line)
15447 (mouse-drag-vertical-line-rightward-window): Remove.
15448 (mouse-drag-line): New function.
15449 (mouse-drag-mode-line, mouse-drag-header-line)
15450 (mouse-drag-vertical-line): Call mouse-drag-line.
15451 * window.el (window-at-side-p, windows-at-side): New functions.
15452
7e1361d9
UM
154532011-10-21 Ulrich Mueller <ulm@gentoo.org>
15454
15455 * tar-mode.el (tar-grind-file-mode):
15456 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15457
30fcaf3a
CY
154582011-10-21 Chong Yidong <cyd@gnu.org>
15459
15460 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15461 * progmodes/vera-mode.el (vera-mode):
15462 Use mode-require-final-newline.
30fcaf3a 15463
516eddb0
GM
154642011-10-20 Glenn Morris <rgm@gnu.org>
15465
db22a3c2 15466 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15467
10d5f513
CS
154682011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15469
15470 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15471
ac6c8639
CY
154722011-10-20 Chong Yidong <cyd@gnu.org>
15473
15474 * emulation/cua-base.el (cua-mode):
15475 * mail/footnote.el (footnote-mode):
15476 * mail/mailabbrev.el (mail-abbrevs-mode):
15477 * net/xesam.el (xesam-minor-mode):
15478 * progmodes/bug-reference.el (bug-reference-mode):
15479 * progmodes/cap-words.el (capitalized-words-mode):
15480 * progmodes/compile.el (compilation-minor-mode)
15481 (compilation-shell-minor-mode):
15482 * progmodes/gud.el (gud-tooltip-mode):
15483 * progmodes/hideif.el (hide-ifdef-mode):
15484 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15485 * progmodes/subword.el (subword-mode):
15486 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15487 * progmodes/which-func.el (which-function-mode):
15488 * term/tvi970.el (tvi970-set-keypad-mode):
15489 * term/vt100.el (vt100-wide-mode):
15490 * textmodes/flyspell.el (flyspell-mode):
15491 * textmodes/ispell.el (ispell-minor-mode):
15492 * textmodes/nroff-mode.el (nroff-electric-mode):
15493 * textmodes/paragraphs.el (use-hard-newlines):
15494 * textmodes/refill.el (refill-mode):
15495 * textmodes/reftex.el (reftex-mode):
15496 * textmodes/rst.el (rst-minor-mode):
15497 * textmodes/sgml-mode.el (html-autoview-mode)
15498 (sgml-electric-tag-pair-mode):
15499 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15500 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15501 * emulation/crisp.el (crisp-mode):
15502 * emacs-lisp/eldoc.el (eldoc-mode):
15503 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15504 minor mode behavior.
15505
aa42ab43
JL
155062011-10-19 Juri Linkov <juri@jurta.org>
15507
15508 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15509 the list of hard-coded chars with escape-glyph face.
15510
89400f1d
SM
155112011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15514
305c07f6
MA
155152011-10-19 Michael Albinus <michael.albinus@gmx.de>
15516
15517 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15518 running process.
15519
13754b54
GM
155202011-10-19 Glenn Morris <rgm@gnu.org>
15521
15522 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15523 Ignore ignored files. (Bug#9726)
15524
06e21633
CY
155252011-10-19 Chong Yidong <cyd@gnu.org>
15526
15527 Doc fix for minor modes, stating that an omitted argument enables
15528 the mode unconditionally when called from Lisp.
15529
15530 * abbrev.el (abbrev-mode):
15531 * allout.el (allout-mode):
15532 * autoinsert.el (auto-insert-mode):
15533 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15534 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15535 (global-auto-revert-mode):
15536 * battery.el (display-battery-mode):
15537 * composite.el (global-auto-composition-mode)
15538 (auto-composition-mode):
15539 * delsel.el (delete-selection-mode):
15540 * desktop.el (desktop-save-mode):
15541 * dired-x.el (dired-omit-mode):
15542 * dirtrack.el (dirtrack-mode):
15543 * doc-view.el (doc-view-minor-mode):
15544 * double.el (double-mode):
15545 * electric.el (electric-indent-mode, electric-pair-mode):
15546 * emacs-lock.el (emacs-lock-mode):
15547 * epa-hook.el (auto-encryption-mode):
15548 * follow.el (follow-mode):
15549 * font-core.el (font-lock-mode):
15550 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15551 * help.el (temp-buffer-resize-mode):
15552 * hilit-chg.el (highlight-changes-mode)
15553 (highlight-changes-visible-mode):
15554 * hi-lock.el (hi-lock-mode):
15555 * hl-line.el (hl-line-mode, global-hl-line-mode):
15556 * icomplete.el (icomplete-mode):
15557 * ido.el (ido-everywhere):
15558 * image-file.el (auto-image-file-mode):
15559 * image-mode.el (image-minor-mode):
15560 * iswitchb.el (iswitchb-mode):
15561 * jka-cmpr-hook.el (auto-compression-mode):
15562 * linum.el (linum-mode):
15563 * longlines.el (longlines-mode):
15564 * master.el (master-mode):
15565 * mb-depth.el (minibuffer-depth-indicate-mode):
15566 * menu-bar.el (menu-bar-mode):
15567 * minibuf-eldef.el (minibuffer-electric-default-mode):
15568 * mouse-sel.el (mouse-sel-mode):
15569 * msb.el (msb-mode):
15570 * mwheel.el (mouse-wheel-mode):
15571 * outline.el (outline-minor-mode):
15572 * paren.el (show-paren-mode):
15573 * recentf.el (recentf-mode):
15574 * reveal.el (reveal-mode, global-reveal-mode):
15575 * rfn-eshadow.el (file-name-shadow-mode):
15576 * ruler-mode.el (ruler-mode):
15577 * savehist.el (savehist-mode):
15578 * scroll-all.el (scroll-all-mode):
15579 * scroll-bar.el (scroll-bar-mode):
15580 * server.el (server-mode):
15581 * shell.el (shell-dirtrack-mode):
15582 * simple.el (auto-fill-mode, transient-mark-mode)
15583 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15584 (line-number-mode, column-number-mode, size-indication-mode)
15585 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15586 * strokes.el (strokes-mode):
15587 * time.el (display-time-mode):
15588 * t-mouse.el (gpm-mouse-mode):
15589 * tool-bar.el (tool-bar-mode):
15590 * tooltip.el (tooltip-mode):
15591 * type-break.el (type-break-mode-line-message-mode)
15592 (type-break-query-mode):
15593 * view.el (view-mode):
15594 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15595 (global-whitespace-mode, global-whitespace-newline-mode):
15596 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15597
a3839de2
SM
15598 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15599 Fix autogenerated docstring.
06e21633 15600
5214e501
JL
156012011-10-19 Juri Linkov <juri@jurta.org>
15602
15603 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15604 by checking environment variables "DESKTOP_SESSION" and
15605 "XDG_CURRENT_DESKTOP". (Bug#9779)
15606
195f8db9
JL
156072011-10-19 Juri Linkov <juri@jurta.org>
15608
15609 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15610 (browse-url-chromium-program, browse-url-chromium-arguments):
15611 New defcustoms.
15612 (browse-url-default-browser): Check for `browse-url-chromium' and
15613 call `browse-url-chromium-program'.
15614 (browse-url-chromium): New command. (Bug#9779)
15615
343a34ff
JB
156162011-10-18 Juanma Barranquero <lekktu@gmail.com>
15617
15618 * facemenu.el (list-colors-duplicates): On Windows, detect more
15619 duplicates by assuming that only colors matching "^System" are
15620 special "system colors". (Bug#9722)
15621
6978a151
SM
156222011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15623
15624 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15625 to distinguish the author from the committer.
15626
6a80b297
MA
156272011-10-18 Michael Albinus <michael.albinus@gmx.de>
15628
15629 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15630
b31a5677
JK
156312011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15632
15633 * international/mule.el (sgml-html-meta-auto-coding-function):
15634 Add support for detecting encoding in HTML5 specified only as
15635 <meta charset="UTF-8">. Implementation just makes http-equiv and
15636 content-type parts from HTML4 encoding string optional. (Bug#9716)
15637
80c6d77f
GM
156382011-10-18 Glenn Morris <rgm@gnu.org>
15639
15640 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15641
08b0fee8
CY
156422011-10-18 Chong Yidong <cyd@gnu.org>
15643
15644 * faces.el (cursor): Doc fix.
15645
67e729a5
CY
156462011-10-17 Chong Yidong <cyd@gnu.org>
15647
15648 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15649
343a34ff 156502011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15651
15652 * dirtrack.el (dirtrack): Support shell buffers with path
15653 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15654
0bc06380
TZ
156552011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15656
15657 * json.el: Bump version to 1.3 and note change in History.
15658 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15659
8b79f3e0
SM
156602011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15661
5a7c536b
SM
15662 * comint.el (comint-insert-input, comint-send-input)
15663 (comint-get-old-input-default, comint-backward-matching-input)
15664 (comint-next-prompt): Use nil instead of `input' for field property of
15665 past user input (bug#114).
15666
96a8a0df
SM
15667 * minibuffer.el (completion--replace): Inherit surrounding properties
15668 (bug#114).
15669 (minibuffer-complete-and-exit): Use it.
15670
8b79f3e0
SM
15671 * comint.el (comint--table-subvert): Quote the all-completions output
15672 (bug#9160).
15673
b8f7ff0d
MR
156742011-10-17 Martin Rudalics <rudalics@gmx.at>
15675
8b79f3e0 15676 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15677
b8f7ff0d 15678 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15679 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15680 entries and separate them from frame entries.
15681
c235b555
GM
156822011-10-15 Glenn Morris <rgm@gnu.org>
15683
15684 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15685 Doc fixes.
15686
6bbfa6e1
CY
156872011-10-15 Chong Yidong <cyd@stupidchicken.com>
15688
8b79f3e0
SM
15689 * net/network-stream.el (network-stream-open-starttls):
15690 Improve detection of failure due to lack of TLS support.
ec5c990d 15691
6bbfa6e1
CY
15692 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15693 putting the input text in front and in bold.
15694
98488977
SM
156952011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15696
3d1337be
SM
15697 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15698
ee0b45e4
SM
15699 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15700 empty buffer.
15701
98488977
SM
15702 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15703 unread-command-events rather than pushing yet-another event.
15704
186f4720
EZ
157052011-10-14 Eli Zaretskii <eliz@gnu.org>
15706
15707 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15708 the explanation of the possible choices. Make the options passed
15709 to completing-read shorter.
15710
8b7a997c
AM
157112011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15712
15713 * textmodes/flyspell.el (flyspell-large-region): Make sure
15714 extended character mode is used if defined (Bug#1339).
15715
12587bbb
EZ
157162011-10-13 Eli Zaretskii <eliz@gnu.org>
15717
15718 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15719 character info for LRE, LRO, RLE, and RLO characters by appending
15720 an invisible PDF.
12587bbb 15721
bad41229
SM
157222011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15725 even in case of error; add debug spec; simplify data flow.
15726 (with-timeout-handler): Remove.
15727
28dbc92f
MA
157282011-10-12 Michael Albinus <michael.albinus@gmx.de>
15729
15730 Fix Bug#6019, Bug#9315.
15731
15732 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15733 complete `buffer-file-name', the local file name part could look
15734 remotely (for example on VMS).
15735
15736 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15737 `tramp-run-real-handler'.
15738 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15739 already quoted by '"'.
15740
15741 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15742 Let `file-name-handler-alist' be nil, the local file name part
15743 could look remotely (for example on VMS).
15744
e1b0b23a
SM
157452011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15746
15747 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15748 from here...
15749 (flyspell-post-command-hook): ...to here.
15750
a120bde9
SM
157512011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15752
15753 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15754 if not needed.
15755 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15756 using completion. Protect against "slow" callers.
15757 Remove the "message hack".
15758
7ce7717b
JL
157592011-10-11 Juri Linkov <juri@jurta.org>
15760
15761 * isearch.el (isearch-lazy-highlight-word): New variable.
15762 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15763 Use it. (Bug#9727)
15764
c02ee9d6
GM
157652011-10-11 Glenn Morris <rgm@gnu.org>
15766
15767 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15768 like f90-previous-statement does.
15769
93e616fd 157702011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15771
1f190e73 15772 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15773 only in interactive use, to avoid error.
15774
af7b6078
SM
157752011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15776
15777 * minibuffer.el (completion-file-name-table): Fix last change,
15778 i.e. ignore normal errors but not the other ones.
15779
0563dae9
MR
157802011-10-10 Martin Rudalics <rudalics@gmx.at>
15781
15782 * window.el (special-display-buffer-names)
15783 (special-display-regexps): Remove some remnants of earlier
15784 changes from doc-strings.
366ca7f3
MR
15785 (quit-windows-on): New function.
15786
15787 * vc/vc.el (vc-revert, vc-rollback):
15788 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15789 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15790 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15791
49677495
MR
157922011-10-09 Martin Rudalics <rudalics@gmx.at>
15793
15794 * window.el (frame-auto-hide-function): Add version tag.
15795 (Bug#9699)
15796
56f2d1e1
MA
157972011-10-09 Michael Albinus <michael.albinus@gmx.de>
15798
15799 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15800 condition.
15801
112a6592
LL
158022011-10-09 Leo Liu <sdl.web@gmail.com>
15803
15804 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15805 (Bug#9701)
15806
0812589b
GM
158072011-10-08 Glenn Morris <rgm@gnu.org>
15808
15809 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15810 before the first code statement zero indent. (Bug#9690)
15811
b2b0776e
CY
158122011-10-08 Chong Yidong <cyd@stupidchicken.com>
15813
15814 * simple.el (count-words-region): Always count in the region.
15815 Report the number of lines and characters too.
15816 (count-words): New command, which counts in the buffer if the
15817 region is inactive, as count-words-region used to.
15818 (count-words--message): New function. Handle plurals.
15819 (count-lines-region): Make it an alias for count-words-region.
15820
15821 * bindings.el (esc-map): Replace count-lines-region with
15822 count-words-region.
15823
c557cd6b
MR
158242011-10-08 Martin Rudalics <rudalics@gmx.at>
15825
15826 * window.el (window--delete): Delete dedicated frame
15827 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15828 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15829
61a57ef4 158302011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15831
3a7d293b 15832 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15833
c3833279
CY
158342011-10-07 Chong Yidong <cyd@stupidchicken.com>
15835
15836 * bindings.el ([M-left],[M-right]): Bind to left-word and
15837 right-word respectively.
15838
21ce8245
GM
158392011-10-07 Glenn Morris <rgm@gnu.org>
15840
15841 * cus-start.el (debug-on-quit): Fix custom type.
15842
6d823bb2
LMI
158432011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15844
0181e193
LMI
15845 * subr.el (define-key-after): Clarify that the function is not
15846 useful for non-menu keymaps.
15847
6d823bb2
LMI
15848 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15849
8e3459ce 158502011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15851
21ce8245 15852 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15853 in current minibuffer (Fix bug with recursive minibuffers).
15854
a1c2d21e
CY
158552011-10-06 Chong Yidong <cyd@stupidchicken.com>
15856
15857 * progmodes/gdb-mi.el (gdb): Doc fix.
15858
5a4cf282
MR
158592011-10-05 Martin Rudalics <rudalics@gmx.at>
15860
15861 * window.el (frame-auto-hide-function): New option replacing
15862 frame-auto-delete. Suggested by Stefan Monnier.
15863 (window--delete): Call frame-auto-hide-function instead of
15864 investigating frame-auto-delete.
c96111ea
MR
15865 (window-point-1, set-window-point-1): New functions.
15866 (window-in-direction, record-window-buffer, window-state-get-1)
15867 (display-buffer-record-window): Use window-point-1 instead of
15868 window-point.
15869 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15870
9854542e
SM
158712011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15874
8943cfb0
GM
158752011-10-05 Glenn Morris <rgm@gnu.org>
15876
15877 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15878 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15879
647ab967
LL
158802011-10-05 Leo Liu <sdl.web@gmail.com>
15881
15882 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15883 works with buffer object.
15884
3ddfbced
SM
158852011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15886
15887 * mpc.el (mpc-tool-bar-map): Add labels.
15888
bdfa5dd2
GM
158892011-10-04 Glenn Morris <rgm@gnu.org>
15890
15891 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15892
0e2070b5
MR
158932011-10-04 Martin Rudalics <rudalics@gmx.at>
15894
15895 * window.el (window--delete): New function.
15896 (frame-auto-delete): Resuscitate option.
15897 (bury-buffer, replace-buffer-in-windows)
15898 (quit-window): Rewrite using window--delete.
15899 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15900 Pass display-buffer-mark-dedicated to window--display-buffer-2
15901 (Bug#9639).
15902
3dc61a09
SM
159032011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15904
915a9b64
SM
15905 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15906 returns a list (bug#9554). Add remote file name completion.
15907 * comint.el (comint--table-subvert): Curry and get quote&unquote
15908 functions as arguments.
15909 (comint--complete-file-name-data): Adjust call accordingly.
15910 * pcomplete.el (pcomplete--table-subvert): Remove.
15911 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15912
3dc61a09
SM
15913 * minibuffer.el (completion-table-case-fold): Use currying.
15914 (completion--styles-type, completion--cycling-threshold-type):
15915 New constants.
15916 (completion-styles, completion-category-overrides)
15917 (completion-cycle-threshold): Use them.
15918 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15919 completion-table-case-fold.
15920
8ea0a993
SB
159212011-10-03 Stephen Berman <stephen.berman@gmx.net>
15922
15923 * minibuffer.el (completion-category-overrides): Fix type of styles
15924 and add more user friendly tags (bug#9660).
15925
8c24b7f6
SM
159262011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15929 (mule-input-method-string): New widget.
15930 (default-input-method, language-info-custom-alist): Use it.
15931
428fe61a
SM
159322011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15933
32c1fffd
SM
15934 * pcomplete.el: Require comint.
15935 (pcomplete--common-suffix): Remove.
15936 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15937 (pcomplete--table-subvert): Sync with comint--table-subvert.
15938 (pcomplete--entries): Use comint-completion-file-name-table.
15939 * comint.el (comint-unquote-filename): Simplify.
15940 (comint-completion-file-name-table): New function (bug#9616).
15941 (comint--complete-file-name-data): Use it.
15942
428fe61a
SM
15943 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15944 (pcmpl-gnu-tar-buffer): Remove.
15945 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15946 around. Make sure pcomplete-suffix-list is only changed temporarily.
15947 Don't look inside the tar's file if it's too large.
428fe61a 15948
04c52e2f
CY
159492011-10-01 Chong Yidong <cyd@stupidchicken.com>
15950
ce3cefcc
CY
15951 * cus-edit.el (custom-mode-map):
15952 * epa.el (epa-key-list-mode-map):
15953 * man.el (Man-mode-map):
15954 * startup.el (splash-screen-keymap):
15955 * simple.el (special-mode-map): Use scroll-up-command and
15956 scroll-down-command.
15957
15958 * progmodes/idlw-help.el (idlwave-help-mode-map):
15959 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15960 * net/newst-plainview.el (newsticker-mode-map):
15961 * emulation/ws-mode.el (wordstar-mode-map):
15962 * emulation/vi.el (vi-com-map):
15963 * calc/calc-graph.el (calc-graph-show-dumb):
15964 * term/sun.el (terminal-init-sun):
15965 * term/ns-win.el (global-map):
15966 * progmodes/grep.el (grep-mode-map):
15967 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15968 * mail/rmail.el (rmail-mode-map):
15969 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15970
04c52e2f
CY
15971 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15972 custom-safe-themes as special.
15973
79adf8c8
JD
159742011-10-01 Julien Danjou <julien@danjou.info>
15975
15976 * notifications.el (notifications-notify): Fix docstring.
15977
63bd50d3
PS
159782011-10-01 Per Starbäck <per@starback.se>
15979
15980 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15981
199e4c7e
MR
159822011-09-30 Martin Rudalics <rudalics@gmx.at>
15983
15984 * startup.el (command-line-1): Fix last fix by inserting
15985 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15986 (Bug#9605) and (Bug#9636)
199e4c7e 15987
fe5f08dd
EZ
159882011-09-29 Eli Zaretskii <eliz@gnu.org>
15989
15990 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15991 window is hscrolled, move by logical lines. (Bug#9607)
15992 (line-move-visual): Update the doc string to the above effect.
15993
b5516bbd
MR
159942011-09-29 Martin Rudalics <rudalics@gmx.at>
15995
ccee00c0
MR
15996 * window.el (display-buffer-record-window): When WINDOW is the
15997 selected window use `point' instead of `window-point'. (Bug#9626)
15998
b5516bbd
MR
15999 * startup.el (command-line-1): Use insert-before-markers when
16000 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16001
b5516bbd
MR
16002 * help.el (help-window): Remove variable.
16003
52aa0014
GM
160042011-09-29 Glenn Morris <rgm@gnu.org>
16005
16006 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16007
df9a7357
JB
160082011-09-29 Juanma Barranquero <lekktu@gmail.com>
16009
16010 * descr-text.el (describe-char-categories): Accept category
16011 descriptions more than one line long.
16012
a8406c20
SM
160132011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16014
88d9610c
SM
16015 * simple.el (delete-trailing-whitespace): Fix last change.
16016
a5daf810
SM
16017 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16018 Don't confuse "y => 3" as the beginning of a `y' operation.
16019
a8406c20
SM
16020 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16021 object has more than 4 slots (bug#9613).
16022
a239d4e9
JB
160232011-09-28 Juanma Barranquero <lekktu@gmail.com>
16024
16025 * subr.el (with-output-to-temp-buffer):
16026 * net/quickurl.el (quickurl, quickurl-browse-url):
16027 Fix typos in docstrings.
16028
693fbdb6
EZ
160292011-09-27 Eli Zaretskii <eliz@gnu.org>
16030
16031 * minibuffer.el (completion-styles)
16032 (completion-category-overrides): Cross reference each other in doc
16033 strings.
16034
8b457e28
GM
160352011-09-27 Glenn Morris <rgm@gnu.org>
16036
16037 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16038 to split-string. (Bug#9606)
16039
85a16208
LMI
160402011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16041
16042 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16043 (bug#9615).
16044
502f9ebd
CY
160452011-09-27 Chong Yidong <cyd@stupidchicken.com>
16046
16047 * emacs-lisp/package.el (list-packages): Fix echo area message.
16048
7690bdea
LL
160492011-09-27 Leo Liu <sdl.web@gmail.com>
16050
16051 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16052
e2ee6f30
MA
160532011-09-25 Michael Albinus <michael.albinus@gmx.de>
16054
16055 * net/dbus.el (dbus-unregister-object): Don't release services for
16056 registered signals. (Bug#9581)
16057
f3f98342
TZ
160582011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16059
16060 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16061 function that picks between cfengine 2 and 3 support
16062 automatically. Update docs accordingly.
16063
dd7aa8dd
KH
160642011-09-22 Kenichi Handa <handa@m17n.org>
16065
16066 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16067 ZERO.
16068 (indian-itrans-v5-table-for-tamil): New variable.
16069 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16070
3f2b07f8
KM
160712011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16072
16073 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16074 that's true if the current command involved collapsing of text.
16075 It's reset to false at the beginning of the next command.
16076 (allout-post-command-business): Move the cursor to the beginning
16077 of entry if the cursor is hidden and collapsing activity just
16078 happened.
16079
371d6a61
CY
160802011-09-24 Chong Yidong <cyd@stupidchicken.com>
16081
16082 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16083 tracking (Bug#9541).
16084
2ac2721a
UJ
160852011-09-24 Ulf Jasper <ulf.jasper@web.de>
16086
16087 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16088 (newsticker-show-news): Automatically load html rendering package
16089 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16090 because w3m-fill-column is let-bound" and the error "Symbol's value
16091 as variable is void: w3m-fill-column".
2ac2721a 16092
fac7ae53
MA
160932011-09-24 Michael Albinus <michael.albinus@gmx.de>
16094
16095 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16096 Release services only if they are defined. (Bug#9581)
16097
e08b633b
RS
160982011-09-23 Richard Stallman <rms@gnu.org>
16099
e488d29c
RS
16100 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16101 distinguish start of paragraph from start of its text.
16102
19c38752
RS
16103 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16104
e08b633b
RS
16105 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16106 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16107 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16108
0a39f27e
AS
161092011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16110
16111 * international/mule-diag.el (mule-diag): Insert a newline after
16112 each fontset description.
16113
db4e950d
SM
161142011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * simple.el (delete-trailing-whitespace):
16117 Document last change; simplify.
16118
eca3f3ea
PW
161192011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16120
d68e189a
PW
16121 * simple.el (delete-trailing-whitespace): Also delete
16122 extra newlines at the end of the buffer.
16123
eca3f3ea
PW
16124 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16125 (picture-newline): Use forward-line so as to ignore fields.
16126
01c157cc
SM
161272011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16128
16129 * subr.el (with-wrapper-hook): Fix edebug spec.
16130
022de23e
LMI
161312011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16134 (bug#4538).
16135
91683089
MA
161362011-09-23 Michael Albinus <michael.albinus@gmx.de>
16137
eca3f3ea
PW
16138 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16139 Fix nasty bug using wrong cached values.
91683089 16140
5bdd6fa4
AM
161412011-09-23 Alan Mackenzie <acm@muc.de>
16142
16143 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16144
97adfb97
CY
161452011-09-23 Chong Yidong <cyd@stupidchicken.com>
16146
16147 * window.el (pop-to-buffer): Ensure right window is selected if we
16148 chose another frame.
16149
d4ef2b50
EZ
161502011-09-22 Eli Zaretskii <eliz@gnu.org>
16151
16152 * simple.el (what-cursor-position): Use get-char-property-change
16153 and next-single-char-property-change, to be able to show display
16154 properties that come from overlays as well as text properties.
16155
72258fe5
CY
161562011-09-22 Chong Yidong <cyd@stupidchicken.com>
16157
16158 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16159
16160 * cmuscheme.el (run-scheme, switch-to-scheme):
16161 * cus-edit.el (customize-group, custom-buffer-create)
16162 (customize-browse):
16163 * info.el (info):
16164 * shell.el (shell):
16165 * mail/sendmail.el (mail):
16166 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16167
8f098516
RS
161682011-09-22 Richard Stallman <rms@gnu.org>
16169
16170 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16171 move back only to line beg, don't move back over blank lines.
16172
e74f1bb6
MA
161732011-09-22 Michael Albinus <michael.albinus@gmx.de>
16174
16175 * files.el (copy-directory): Set directory attributes only in case
16176 they could be retrieved from the source directory. (Bug#9565)
16177
bfeef8b6
DK
161782011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16179
16180 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16181 (hs-find-block-beginning, hs-hide-level-recursive):
16182 Ignore strings as well as comments. (Bug#9502)
16183
7e423bb8
AS
161842011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16185
16186 * progmodes/sql.el (sql-comint-postgres):
16187 Convert port number to a string. (Bug#9566)
16188
b4d72fcf
MR
161892011-09-22 Martin Rudalics <rudalics@gmx.at>
16190
16191 * window.el (quit-window): Undedicate window when switching to
16192 previous buffer. Reported by Thierry Volpiatto
16193 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16194 (special-display-popup-frame): When popping up a new frame reset
16195 its previous buffers to nil. Simplify code.
b4d72fcf 16196
a7b88dc6
MA
161972011-09-21 Michael Albinus <michael.albinus@gmx.de>
16198
16199 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16200 and process filter, as done also in `shell-command'.
16201
cf4eacfd
MR
162022011-09-21 Martin Rudalics <rudalics@gmx.at>
16203
eca3f3ea 16204 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16205 Call set-window-start with NOFORCE argument t.
16206 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16207 (quit-window): Reword doc-string. Handle new format of
16208 quit-restore parameter. Don't delete window if it has a
16209 previous buffer we can show instead of the present one.
16210 (display-buffer-record-window): Rewrite using a new format for
16211 the quit-restore window parameter
16212 (special-display-popup-frame, display-buffer-same-window)
16213 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16214 (display-buffer-pop-up-window, display-buffer-use-some-window):
16215 Adapt symbol passed to display-buffer-record-window.
16216 * help.el (help-window-setup): Handle new format of quit-restore
16217 parameter.
16218
8d28cb95
SM
162192011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16220
94ab793f
SM
16221 * faces.el (face-list): Fix docstring (bug#9564).
16222
8d28cb95
SM
16223 * window.el (display-buffer--action-function-custom-type):
16224 Don't include internal functions in the Custom interface.
16225
3820edeb
JL
162262011-09-20 Juri Linkov <juri@jurta.org>
16227
16228 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16229 (Info-forward-node, Info-backward-node, Info-next-preorder)
16230 (Info-last-preorder): Use it. (Bug#9528)
16231
5147931d
JL
162322011-09-20 Juri Linkov <juri@jurta.org>
16233
16234 * info.el (Info-last-preorder): Visit last menu item only when
16235 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16236
cf499a1a
JD
162372011-09-20 Julien Danjou <julien@danjou.info>
16238
16239 * password-cache.el (password-cache-remove): Remove entries even if the
16240 value is nil, so that password with a nil value (negative caching) is
16241 possible to invalidate.
16242
f84e2fe2
LM
162432011-09-20 Lawrence Mitchell <wence@gmx.li>
16244
16245 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16246 all whitespace around breakpoint. (Bug#9553)
16247 (f90-find-breakpoint): Only break at whitespace inside a comment.
16248
78054a46
SM
162492011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * minibuffer.el (completion-file-name-table): Keep track of errors.
16252 (completion-table-with-predicate): Handle the case where pred1 is nil.
16253 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16254
345083b2
SM
162552011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16256
e24e27be
SM
16257 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16258 (debugger-return-value): Signal an error if the debugging context does
16259 not await any return value.
16260
345083b2
SM
16261 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16262 * image-mode.el (image-toggle-display-text)
16263 (image-toggle-display-image): Stay away from evil `intangible'.
16264
08d355e3
LL
162652011-09-19 Leo Liu <sdl.web@gmail.com>
16266
16267 * replace.el (occur-revert-arguments): Make it permanent-local.
16268 (occur-mode): Don't call font-lock-defontify.
16269
f01da43f
CY
162702011-09-19 Chong Yidong <cyd@stupidchicken.com>
16271
16272 * net/ldap.el (ldap-search-internal): Don't push empty search
16273 result (Bug#9508).
16274
b6072fa6
SM
162752011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16276
16277 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16278
443d6696
MA
162792011-09-19 Michael Albinus <michael.albinus@gmx.de>
16280
16281 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16282 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16283
7cc6e154
JL
162842011-09-18 Juri Linkov <juri@jurta.org>
16285
16286 * buff-menu.el (Buffer-menu-mode-map):
16287 * dired.el (dired-mode-map):
16288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16289 (lisp-interaction-mode-map):
16290 * emacs-lisp/package.el (package-menu-mode-map):
16291 * epa.el (epa-key-list-mode-map):
16292 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16293 (menu-bar-options-menu):
16294 * outline.el (outline-mode-menu-bar-map):
16295 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16296 * vc/vc-dir.el (vc-dir-menu-map):
16297 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16298 Capitalize non-function content words in menu item strings.
16299
16300 * dired.el (dired-mode-map): Add menu item for
16301 `image-dired-dired-toggle-marked-thumbs'.
16302
80302a81
JL
163032011-09-18 Juri Linkov <juri@jurta.org>
16304
16305 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16306 to `isearch-case-fold-search' and restore its original value
16307 after the `isearch-mode' call.
16308
46c5cf66
JL
163092011-09-18 Juri Linkov <juri@jurta.org>
16310
16311 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16312 because `zgrep' returns 1 for successful matches (bug#9226).
16313
d18b513b
JL
163142011-09-18 Juri Linkov <juri@jurta.org>
16315
16316 * info.el (Info-extract-menu-node-name): Check the second match
16317 for empty string (second test-case of bug#9528).
16318 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16319 intermediate nodes to the history (first test-case of bug#9528).
16320
72753f87
JL
163212011-09-18 Juri Linkov <juri@jurta.org>
16322
16323 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16324 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16325
c9384295
JL
163262011-09-18 Juri Linkov <juri@jurta.org>
16327
1154d12e
JB
16328 * info.el (Info-file-supports-index-cookies):
16329 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16330 outputs one more line for long file names (bug#4142).
c9384295 16331
d473dce8
CY
163322011-09-18 Chong Yidong <cyd@stupidchicken.com>
16333
16334 * newcomment.el (comment-normalize-vars): If prompting for
16335 comment-start, set comment-start-skip too (Bug#8424).
16336
2176854d
JB
163372011-09-18 Johan Bockgård <bojohan@gnu.org>
16338
16339 * icomplete.el: Fix previous fix of Bug#5849.
16340 (icomplete-mode): Don't set completion-show-inline-help.
16341 (icomplete-minibuffer-setup): Set completion-show-inline-help
16342 locally during icompletion.
16343
3aace4e4
CY
163442011-09-18 Chong Yidong <cyd@stupidchicken.com>
16345
c940224f
CY
16346 * woman.el (woman2-process-escapes): Don't delete unrecognized
16347 escapes (Bug#7843).
16348
3aace4e4
CY
16349 * files.el (inhibit-first-line-modes-regexps): Add image files.
16350 (hack-local-variables-prop-line): Return nil for malformed
16351 prop-lines (Bug#9044).
16352
710dec63
MA
163532011-09-18 Michael Albinus <michael.albinus@gmx.de>
16354
16355 * net/tramp.el (top): Don't require 'shell.
16356 (tramp-methods): Fix docstring.
16357 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16358 Return complete remote file name. Handle "smb" case.
16359 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16360 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16361
16362 * net/tramp-compat.el (top): Require 'shell.
16363
16364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16365 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16366 `tramp-current-host'.
16367 (tramp-get-remote-tmpdir): Remove.
16368
16369 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16370 `tramp-tmpdir' entries.
16371 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16372 (tramp-smb-handle-file-attributes): Ignore errors.
16373 (tramp-smb-wait-for-output): Check also for process end.
16374
5d5ac8ec
LMI
163752011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16376
16377 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16378 when sending QUIT (bug#9312).
16379
8c0f49f0
CY
163802011-09-17 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16383 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16384 occur-mode-display-occurrence.
16385 (occur-edit-mode): Add usage message.
16386 (occur-cease-edit): New command.
16387 (occur-after-change-function): Use text properties to find the
16388 position of the prefix text.
16389 (occur-engine): Set stickiness of prefix text properties.
16390
8f1383f7
GM
163912011-09-17 Glenn Morris <rgm@gnu.org>
16392
16393 * progmodes/etags.el (complete-tag):
16394 Fix call to completion-in-region. (Bug#9526)
16395
744ba0e3
JL
163962011-09-17 Juri Linkov <juri@jurta.org>
16397
16398 * textmodes/ispell.el (ispell-word): Add to the error message
16399 the word, ispell program name and current dictionary (bug#9121).
16400 (ispell-tex-arg-end): Capitalize "error" in the error message.
16401
d9bbf400
AS
164022011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16403
16404 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16405 check. (Bug#4251)
16406
8da11505
JL
164072011-09-17 Juri Linkov <juri@jurta.org>
16408
16409 * window.el (window-safe-min-height, window-safe-min-width):
16410 Fix typos (followup to bug#9522).
16411
a91adc7e
SJ
164122011-09-17 Sven Joachim <svenjoac@gmx.de>
16413
16414 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16415
064f328a
EZ
164162011-09-16 Eli Zaretskii <eliz@gnu.org>
16417
16418 * simple.el (line-move): If goal-column is set, move by logical
16419 lines, not by display lines. (Bug#971)
16420 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16421 to reflect the above change.
16422
e69df516
SM
164232011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16424
16425 * image.el (imagemagick-register-types): Use regexp-opt.
16426
cbb0f9ab
CY
164272011-09-15 Chong Yidong <cyd@stupidchicken.com>
16428
16429 * window.el (display-buffer-base-action): Rename from
16430 display-buffer-default-action. Make default value empty.
16431 (display-buffer-overriding-action): Convert to defvar.
16432 (display-buffer-fallback-action): New var.
16433
25322144
CY
164342011-09-15 Chong Yidong <cyd@stupidchicken.com>
16435
16436 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16437 declaration.
16438 (package--add-to-archive-contents): If there is a duplicate entry
16439 with an older version, remove it.
16440 (package-menu-mark-delete, package-menu-mark-install)
16441 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16442 (package-menu-mark-obsolete-for-deletion):
16443 Use package-menu-get-status instead of a regexp search.
25322144
CY
16444 (package-menu-get-status): Use tabulated-list-entry.
16445 (package-menu-mark-upgrades): New command.
d770725a 16446 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16447 (package-menu-execute): Do installation before deletion.
16448 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16449 instead of checking major-mode.
16450 (package-menu--find-upgrades): New function.
16451
7520339c
LMI
164522011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16453
16454 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16455 passwords in the log buffer.
65a046c4
LMI
16456 (smtpmail-process-filter): Update the process marker so that the
16457 "broken by peer" status message is inserted in the right place.
7520339c 16458
d3c30954
SM
164592011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16460
3fe48822
SM
16461 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16462 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16463 bibtex-completion-at-point-function.
16464 (bibtex-completion-at-point-function): Use them.
16465
1b8b3954
SM
16466 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16467
d3c30954
SM
16468 * mpc.el (mpc-constraints-tag-lookup): New function.
16469 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16470 also to browser "album|playlist".
16471
72779976
JL
164722011-09-14 Juri Linkov <juri@jurta.org>
16473
16474 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16475 (isearch-edit-string): Use length of `isearch-string' when
16476 `isearch-fail-pos' returns nil.
16477 (isearch-message): Remove duplicate code and call
16478 `isearch-fail-pos' with arg `t'.
16479
a0bf2bcd
CY
164802011-09-14 Chong Yidong <cyd@stupidchicken.com>
16481
17bb0a2d
CY
16482 * replace.el (occur-mode-goto-occurrence): Don't force using other
16483 window (Bug#9499).
16484
a0bf2bcd
CY
16485 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16486
f678e0b6
MR
164872011-09-14 Martin Rudalics <rudalics@gmx.at>
16488
16489 * window.el (display-buffer-window): Remove.
16490 (display-buffer-record-window): Use help-setup window parameter
16491 instead of variable display-buffer-window.
16492 (display-buffer-function, special-display-buffer-names)
16493 (special-display-function): Mention help-setup parameter instead
16494 of display-buffer-window in doc-string.
d3c30954
SM
16495 * help.el (help-window-setup): New argument help-window.
16496 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16497 Reword some messages.
16498 (with-help-window): Pass window used for displaying the buffer
16499 to help-window-setup. Don't set display-buffer-window.
16500
8e39b2e8
GM
165012011-09-13 Glenn Morris <rgm@gnu.org>
16502
16503 * emacs-lisp/debug.el (debugger-make-xrefs):
16504 Preserve point. (Bug#9462)
16505
85e9c04b
CY
165062011-09-13 Chong Yidong <cyd@stupidchicken.com>
16507
16508 * window.el (window-deletable-p): Use next-frame.
16509
1b36ed6a
MR
165102011-09-13 Martin Rudalics <rudalics@gmx.at>
16511
16512 * window.el (window-auto-delete): Remove.
16513 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16514 dedication and previous buffers.
1b36ed6a
MR
16515 (switch-to-prev-buffer): Don't delete window.
16516 (delete-windows-on): Delete a window's frame if and only if the
16517 window is dedicated.
16518 (replace-buffer-in-windows): Delete buffer's window or frame if
16519 and only if window is dedicated.
16520 (quit-window): Handle quit-restore as before last change.
4d61f28d 16521 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16522
ef8ef9fb
CY
165232011-09-13 Chong Yidong <cyd@stupidchicken.com>
16524
16525 * window.el (window-deletable-p): Never delete the last frame on a
16526 given terminal.
16527
b2cba41e
GM
165282011-09-13 Glenn Morris <rgm@gnu.org>
16529
16530 * help.el (describe-key-briefly): Copy previous standard-output change.
16531
51553db6 165322011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16533
16534 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16535
b7556719
GM
165362011-09-13 Glenn Morris <rgm@gnu.org>
16537
16538 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16539 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16540
64b51947
CY
165412011-09-12 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * dired-aux.el (dired-mark-read-string): Don't return default
16544 value on empty input (Bug#9361).
16545 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16546 Omit initial minibuffer contents.
16547 (dired-do-chmod): Signal an error on empty input.
16548 (dired-mark-read-string): Don't return default on empty input.
16549
16550 * files.el (file-modes-symbolic-to-number): Doc fix.
16551
393a301e
SM
165522011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16553
16554 * international/mule-cmds.el (ucs-completions): Remove.
16555 (read-char-by-name): Use complete-with-action instead; add metadata.
16556
fa5660f9
CY
165572011-09-11 Chong Yidong <cyd@stupidchicken.com>
16558
16559 * window.el (display-buffer--action-function-custom-type)
16560 (display-buffer--action-custom-type): New vars.
16561 (display-buffer-alist, display-buffer-default-action)
16562 (display-buffer-overriding-action): Add defcustom types.
16563
4a592f66
CY
16564 * frame.el (delete-other-frames): Doc fix (Bug#276).
16565
73d56dbd
LMI
165662011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16567
16568 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16569
37ac18a3
CY
165702011-09-11 Chong Yidong <cyd@stupidchicken.com>
16571
16572 Change modes that used same-window-* vars to use switch-to-buffer.
16573
16574 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16575 Use switch-to-buffer.
16576
16577 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16578 (customize-browse, custom-buffer-create-other-window):
16579 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16580
16581 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16582 (Info-prev, Info-up, Info-speedbar-goto-node)
16583 (info-display-manual): Use switch-to-buffer.
16584 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16585
16586 * mail/sendmail.el (mail): Use switch-to-buffer.
16587 (mail-recover): Use switch-to-buffer-other-window.
16588
16589 * cmuscheme.el (run-scheme, switch-to-scheme):
16590 * ielm.el (ielm):
16591 * shell.el (shell):
16592 * net/rlogin.el (rlogin):
16593 * net/telnet.el (telnet, rsh):
16594 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16595
10195bd6
AS
165962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16597
16598 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16599
b322f63a
LMI
166002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16601
39d7fed6
LMI
16602 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16603 so don't mention it (bug#9301).
ba5a81f1 16604 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16605
ee0e9f11
LMI
16606 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16607 match `x', `w32' and `ns', like the manual says (bug#9029).
16608
0b1c89c1 16609 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16610 (process-kill-buffer-query-function): Mention the buffer name in
16611 the query.
0b1c89c1 16612
77549ea8
LMI
16613 * image-mode.el (image-next-line): The line parameter is mandatory
16614 (bug#9258).
16615
803ef892
LMI
16616 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16617 which can be useful (bug#9301).
16618
12980837
LMI
16619 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16620
91054f8f
LMI
16621 * subr.el (match-string): Mention that the current buffer should
16622 be the same as the search was done in (bug#9282).
16623
b322f63a
LMI
16624 * facemenu.el: Disable the remove-* commands if the mark isn't
16625 active (bug#9162).
16626
3199b96f
CY
166272011-09-10 Chong Yidong <cyd@stupidchicken.com>
16628
16629 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16630 of display-buffer.
16631 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16632
16633 * replace.el (occur-mode-goto-occurrence)
16634 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16635 and display-buffer.
16636
16637 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16638 display-buffer.
16639
16640 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16641 special-display and same-window variables.
16642 (mail-other-window): Use switch-to-buffer-other-window.
16643 (mail-other-frame): USe switch-to-buffer-other-frame.
16644
393a301e
SM
16645 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16646 Use display-buffer-other-frame.
3199b96f
CY
16647 (gdb-display-gdb-buffer): Use pop-to-buffer.
16648
16649 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16650
16651 * progmodes/python.el: Don't set same-window-buffer-names.
16652
16653 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16654
16655 * window.el (display-buffer-alist): Add *Python*.
16656
8319e0bf
CY
166572011-09-10 Chong Yidong <cyd@stupidchicken.com>
16658
16659 * window.el (display-buffer-alist): Add entry for buffers
16660 previously handled same-window-*.
16661 (display-buffer-alist, display-buffer-default-action)
16662 (display-buffer-overriding-action): Mark as risky.
16663 (display-buffer-alist): Document action function changes.
16664 (display-buffer--same-window-action)
16665 (display-buffer--other-frame-action): New variables.
16666 (switch-to-buffer, display-buffer-other-frame): Use them.
16667 (display-buffer): Rename reuse-frame entry to reusable-frames.
16668 (display-buffer-reuse-selected-window): Function deleted.
16669 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16670 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16671 (display-buffer-special): New function.
16672 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16673 display-buffer-reuse-or-pop-window. Split off special-display
16674 part into display-buffer-special.
16675 (display-buffer-use-some-window): Don't perform any special
16676 pop-up-frames handling.
16677 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16678 (display-buffer--maybe-same-window): Rename from
0d3ff375 16679 display-buffer-maybe-same-window.
8319e0bf 16680
919a69aa
CY
16681 * info.el: Don't set same-window-regexps.
16682 (info-setup): New function.
16683 (info-other-window, info): Call it.
16684
16685 * cus-edit.el: Don't set same-window-regexps.
16686 (customize-group): New argument.
16687 (customize-group-other-window): Use it.
16688 (customize-face, customize-face-other-window): Likewise.
16689 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16690
8319e0bf
CY
16691 * net/rlogin.el:
16692 * net/telnet.el:
16693 * progmodes/gud.el: Don't set same-window-regexps.
16694
16695 * cmuscheme.el:
16696 * ielm.el:
16697 * shell.el:
16698 * mail/sendmail.el:
16699 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16700
25173000
JL
167012011-09-10 Juri Linkov <juri@jurta.org>
16702
16703 * isearch.el (isearch-edit-string): Remove obsolete mention of
16704 `C-w' (`isearch-yank-word-or-char') from docstring.
16705 (isearch-query-replace): Fix typo in docstring (bug#9466).
16706
056e44ef
JL
167072011-09-10 Juri Linkov <juri@jurta.org>
16708
16709 * paren.el (show-paren-function): Don't show escaped parens.
16710 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16711
c3760c17
EZ
167122011-09-10 Eli Zaretskii <eliz@gnu.org>
16713
16714 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16715 (mm-default-file-encoding): Remove autoload forms, they are
16716 replaced with autoload cookies in mml.el and mm-encode.el.
16717 (mail-add-attachment): New command.
16718 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16719 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16720 the doc string.
16721 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16722
fece895e
RT
167232011-09-10 Reuben Thomas <rrt@sc3d.org>
16724
e69df516
SM
16725 * simple.el (count-words-region): Use buffer if there's no region
16726 (bug#9429).
fece895e 16727
5e68ce4a
JL
167282011-09-09 Juri Linkov <juri@jurta.org>
16729
16730 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16731 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16732 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16733
0a6b9622
AM
167342011-09-09 Alan Mackenzie <acm@muc.de>
16735
16736 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16737 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16738
14a29deb
EZ
167392011-09-09 Eli Zaretskii <eliz@gnu.org>
16740
16741 Fix for Savannah bug#9392.
16742 * simple.el (mail-encode-mml): New defvar.
16743
16744 * mail/rmail.el (mail-encode-mml): Add a defvar.
16745 (rmail-enable-mime-composing): Default to t.
16746 (rmail-forward): Use MIME method of forwarding only if both
16747 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16748 Set mail-encode-mml non-nil if the MIME method was used.
16749
16750 * mail/sendmail.el (mml-to-mime): Add autoload form.
16751 (mail-encode-mml): Add a defvar.
16752 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16753 to nil.
16754 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16755 message through mml-to-mime, and reset mail-encode-mml to nil.
16756
28c45130
GM
167572011-09-09 Glenn Morris <rgm@gnu.org>
16758
16759 * woman.el (woman-if-body): When processing an .el block,
16760 do not delete the next .el block as well. (Bug#9447)
69f4b618 16761 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16762
9b1c252e
MR
167632011-09-08 Martin Rudalics <rudalics@gmx.at>
16764
16765 * window.el (window-deletable-p): Make sure window is live before
16766 invoking window-prev-buffers.
16767
567457e3
LL
167682011-09-08 Leo Liu <sdl.web@gmail.com>
16769
16770 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16771
97f05794
JL
167722011-09-08 Juri Linkov <juri@jurta.org>
16773
16774 * progmodes/compile.el (compilation-environment): Make it
16775 a defcustom (bug#8340).
16776
8b0874b5
MR
167772011-09-08 Martin Rudalics <rudalics@gmx.at>
16778
16779 * window.el (frame-auto-delete): Rename to window-auto-delete.
16780 Make it control auto-deletion of windows and/or frames.
16781 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16782 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16783 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16784 Rewrite handling of case when window/frame can be deleted.
16785 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16786 argument t. (Bug#9456)
8b0874b5 16787
4feb6e73
CY
167882011-09-07 Chong Yidong <cyd@stupidchicken.com>
16789
16790 * help-mode.el (help-mode): Restore autoload.
16791
91ab9c13
JL
167922011-09-07 Juri Linkov <juri@jurta.org>
16793
16794 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16795 `compilation-environment'. Set buffer-local
16796 `compilation-environment' to `thisenv' later after (funcall mode).
16797 (Bug#8340)
16798
16799 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16800 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16801 instead of replacing its value. (Bug#8340)
16802
0527e251
JL
168032011-09-07 Juri Linkov <juri@jurta.org>
16804
16805 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16806 based on text properties put by `grep-filter' instead of matching
16807 escape sequences.
16808 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16809 to the value of `grep-error-screen-columns' (bug#9438).
16810
249f792c
JL
168112011-09-07 Juri Linkov <juri@jurta.org>
16812
16813 * simple.el (next-error-highlight, next-error-highlight-no-select):
16814 Doc fix (bug#9432).
16815
ff7271b9
OT
168162011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16817
16818 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16819 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16820
183fc730
LL
168212011-09-07 Leo Liu <sdl.web@gmail.com>
16822
16823 * net/rcirc.el (rcirc-mode): Conditionally initialize
16824 rcirc-input-ring.
16825
77694924
SM
168262011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * emacs-lisp/find-func.el (find-function-C-source): Only set
16829 find-function-C-source-directory after checking that we found a source
16830 file there (bug#9440).
16831
d809b8eb
AM
168322011-09-06 Alan Mackenzie <acm@muc.de>
16833
16834 * isearch.el (isearch-other-meta-char): Wherever a key list is
16835 unread, "unread" the prefix arg, too. This fixes bug #8901.
16836
453de99f
OG
168372011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16838
16839 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16840
90439906
JL
168412011-09-05 Juri Linkov <juri@jurta.org>
16842
16843 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16844
f62bd846
JL
168452011-09-05 Juri Linkov <juri@jurta.org>
16846
16847 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16848 keeping point where processing of grep matches begins, and
16849 continue to delete remaining escape sequences from the same point.
16850 (grep-filter): Make leading zero optional in "0?1;31m" because
16851 git-grep emits "\033[1;31m" escape sequences unlike expected
16852 "\033[01;31m" as GNU Grep does (bug#9408).
16853 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16854
045820ec
JL
168552011-09-05 Juri Linkov <juri@jurta.org>
16856
16857 * subr.el (y-or-n-p): Capitalize "yes".
16858
f5e29b9b
MA
168592011-09-04 Michael Albinus <michael.albinus@gmx.de>
16860
16861 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16862 `tramp-cache-unload-hook' where appropriate.
16863 (tramp-methods): Rename `tramp-remote-sh' to
16864 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16865 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16866
16867 * net/tramp-sh.el (top): Don't require 'shell.
16868 (tramp-methods): Add `tramp-remote-shell' and
16869 `tramp-remote-shell-args' entries.
16870 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16871 (tramp-sh-handle-shell-command): Remove.
16872 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16873 Use `tramp-remote-shell'.
16874
2784c434
CY
168752011-09-03 Chong Yidong <cyd@stupidchicken.com>
16876
393a301e 16877 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16878 (sendmail-query-once): Save directly to send-mail-function.
16879 Update message-send-mail-function too.
16880
16881 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16882
464cdf56
CS
168832011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16884
16885 * progmodes/python.el (python-mode-map): Use correct function to
16886 start python interpreter from menu-bar (as reported by Geert
16887 Kloosterman).
16888 (inferior-python-mode-map): Fix typo.
393a301e 16889 (python-shell-map): Remove.
464cdf56 16890
d37e5c87
DD
168912011-09-03 Deniz Dogan <deniz@dogan.se>
16892
16893 * net/rcirc.el (rcirc-print): Simplify code for
16894 rcirc-scroll-show-maximum-output. There is no need to walk
16895 through all windows to find the right one.
16896
f3ada0ee
CS
168972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16898
16899 * help.el (help-return-method): Doc fix.
16900
1f3c99ca
MR
169012011-09-03 Martin Rudalics <rudalics@gmx.at>
16902
16903 * window.el (window-deletable-p): Don't return a non-nil value
16904 when there's a buffer that was shown in the window before.
16905 (Bug#9419)
393a301e
SM
16906 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16907 Set window's previous buffers to nil.
1f3c99ca 16908
a3cf097f
EZ
169092011-09-03 Eli Zaretskii <eliz@gnu.org>
16910
16911 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16912 newline before and after the tag line, so it doesn't interfere
16913 with determining the paragraph direction of bidirectional text.
16914
3d03de90
LL
169152011-09-03 Leo Liu <sdl.web@gmail.com>
16916
16917 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16918
c3313451
CY
169192011-09-02 Chong Yidong <cyd@stupidchicken.com>
16920
393a301e 16921 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16922 (pop-to-buffer): Change interactive spec. Pass second argument
16923 directly to display-buffer.
16924 (display-buffer): Fix interactive spec. Use functionp to
16925 distinguish between a function and a list of functions.
16926
16927 * abbrev.el (edit-abbrevs):
16928 * arc-mode.el (archive-extract):
16929 * autoinsert.el (auto-insert):
16930 * bookmark.el (bookmark-bmenu-list):
16931 * files.el (find-file):
16932 * view.el (view-buffer):
16933 * progmodes/compile.el (compilation-goto-locus):
16934 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16935
89894cd8
CY
169362011-09-02 Chong Yidong <cyd@stupidchicken.com>
16937
16938 * window.el (display-buffer-alist): Doc fix.
16939 (display-buffer): Add docstring. Don't treat
16940 display-buffer-default specially.
16941 (display-buffer-reuse-selected-window)
16942 (display-buffer-same-window, display-buffer-maybe-same-window)
16943 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16944 (display-buffer-pop-up-window)
16945 (display-buffer-reuse-or-pop-window)
16946 (display-buffer-use-some-window): New functions.
16947 (display-buffer-default-action): Use them.
393a301e 16948 (display-buffer-default): Delete.
89894cd8
CY
16949 (pop-to-buffer-1): Fix choice of actions.
16950
ae0bc9fb
SM
169512011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16952
16953 * minibuffer.el (completion--insert-strings): Don't get confused by
16954 completion entries that end with an LF char.
16955
e9d90883
EZ
169562011-09-01 Eli Zaretskii <eliz@gnu.org>
16957
16958 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16959
437014c8
CY
169602011-09-01 Chong Yidong <cyd@stupidchicken.com>
16961
16962 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16963 (display-buffer-same-window, display-buffer-other-window):
16964 New functions.
437014c8
CY
16965 (pop-to-buffer-1): New function. Use the above.
16966 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16967 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16968
16969 * view.el (view-buffer-other-window, view-buffer-other-frame):
16970 Just use pop-to-buffer.
16971
a5e063d5
TV
169722011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16973
16974 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16975
793d32bb
WH
169762011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16977
16978 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16979
d65e4c15
RS
169802011-08-31 Richard Stallman <rms@gnu.org>
16981
16982 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16983 of the separation of rmail-view-buffer from rmail-buffer.
16984 If you say no to "replace original", the decrypt is in the
16985 view buffer. If you say yes, the decrypt goes into the
16986 rmail buffer also.
16987
f818cd2a
MR
169882011-08-31 Martin Rudalics <rudalics@gmx.at>
16989
16990 * window.el (display-buffer-window): Rewrite doc-string.
16991 (display-buffer-record-window): New function.
16992 (display-buffer-macro-specifiers)
16993 (display-buffer-even-window-sizes, display-buffer-set-height)
16994 (display-buffer-set-width, display-buffer-in-window)
16995 (display-buffer-reuse-window, display-buffer-split-specifiers)
16996 (display-buffer-side-specifiers, display-buffer-split-window-1)
16997 (display-buffer-split-window, display-buffer-split-atom-window)
16998 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16999 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17000 (display-buffer-other-window-means-other-frame)
17001 (display-buffer-normalize-special)
17002 (display-buffer-normalize-default)
17003 (display-buffer-normalize-argument)
17004 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17005 (display-buffer-normalize-specifiers, display-buffer-frame)
17006 (display-buffer-same-window, display-buffer-same-frame)
17007 (display-buffer-other-window)
17008 (display-buffer-same-frame-other-window)
17009 (display-buffer-other-frame, pop-to-buffer-same-window)
17010 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17011 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17012 (switch-to-buffer-same-frame)
17013 (switch-to-buffer-other-window-same-frame)
17014 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17015 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17016 (display-buffer-alist-set): Remove.
17017 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17018 (special-display-regexps, special-display-function):
17019 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17020 parameter.
17021 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17022 (special-display-frame-alist, special-display-popup-frame)
17023 (same-window-buffer-names, same-window-regexps, same-window-p)
17024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17025 (split-window-preferred-function, split-height-threshold)
17026 (split-width-threshold, window-splittable-p)
17027 (split-window-sensibly, window--try-to-split-window)
17028 (window--frame-usable-p, even-window-heights)
17029 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17030 (window--display-buffer-2, display-buffer-other-frame):
17031 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17032 (display-buffer-default, display-buffer-assq-regexp): New functions.
17033 (display-buffer-alist): Rewrite doc-string.
17034 (display-buffer-default-action)
17035 (display-buffer-overriding-action): New variables.
17036 (display-buffer, switch-to-buffer): Rewrite.
17037 (pop-to-buffer): Restore Emacs 23 behavior but use
17038 window-normalize-buffer-to-display.
17039 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17040 Restore Emacs 23 behavior but use
17041 window-normalize-buffer-to-switch-to.
17042 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17043 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17044 Rewrite using Emacs 23 options.
f818cd2a 17045
5bc3b51d
MA
170462011-08-31 Michael Albinus <michael.albinus@gmx.de>
17047
17048 * net/tramp.el (tramp-root-regexp): Remove.
17049 (tramp-completion-file-name-regexp-unified)
17050 (tramp-completion-file-name-regexp-separate)
17051 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17052 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17053 (tramp-drop-volume-letter): Simplify definition.
17054 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17055
b1a4f8e1
SM
170562011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17057
17058 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17059 (bug#9356).
17060
5664fa7b
RT
170612011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17062
b1a4f8e1 17063 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17064
9a45d6c3
JL
170652011-08-29 Juri Linkov <juri@jurta.org>
17066
17067 * isearch.el (isearch-done): Don't display message "Mark saved"
17068 when arg `edit' is non-nil to prevent its flicker in the echo area.
17069
fb87e0fb
CY
170702011-08-28 Chong Yidong <cyd@stupidchicken.com>
17071
17072 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17073 obsolete packages for deletion.
17074
09ac1c2a
CS
170752011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17076
17077 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17078 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17079 view-mode from help-mode.
17080 (help-xref-override-view-map): Remove.
17081 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17082 view-mode is not used anymore.
17083
7a1ff57f
CY
170842011-08-28 Chong Yidong <cyd@stupidchicken.com>
17085
17086 * server.el (server-port): Doc fix.
17087
b9696605
CY
17088 * cus-theme.el (custom-theme-choose-mode): Inherit from
17089 special-mode (Bug#9124).
17090 (custom-theme-choose-mode-map): Add special-mode to parent.
17091
ef8cdf8c
AM
170922011-08-28 Alan Mackenzie <acm@muc.de>
17093
17094 * progmodes/cc-fonts.el
17095 (c-make-font-lock-BO-decl-search-function): New function.
17096 (c-basic-matchers-after - "Fontify the clauses after various
17097 keywords"): Extract the three keyword lists for the 3 erroneous
17098 constructs from the list of four, and use the new function above
17099 in place of an old one.
17100
27de4e20
DD
171012011-08-28 Deniz Dogan <deniz@dogan.se>
17102
17103 * net/rcirc.el (rcirc-insert-prev-input)
17104 (rcirc-insert-next-input): Remove unused argument.
17105
356a3681
SM
171062011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17107
17108 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17109
3fc9b218
AM
171102011-08-27 Alan Mackenzie <acm@muc.de>
17111
17112 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17113 handle function pointer parameters properly.
17114
538a061c
MR
171152011-08-27 Martin Rudalics <rudalics@gmx.at>
17116
17117 * window.el (display-buffer-reuse-window): Fix case where
17118 selected window was reused with non-nil OTHER-WINDOW argument.
17119 (Bug#9381)
17120
35b1c40c
DD
171212011-08-27 Deniz Dogan <deniz@dogan.se>
17122
17123 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17124 oftc's NickServ messages.
17125
2f6a3e79
GM
171262011-08-27 Glenn Morris <rgm@gnu.org>
17127
17128 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17129
7254299e
CY
171302011-08-26 Chong Yidong <cyd@stupidchicken.com>
17131
17132 * emacs-lisp/package.el (package-install): Call package-initialize
17133 if called interactively.
17134
f8ccf167
LL
171352011-08-26 Leo Liu <sdl.web@gmail.com>
17136
17137 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17138
3e8cd5ce
JL
171392011-08-25 Juri Linkov <juri@jurta.org>
17140
17141 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17142 `search-whitespace-regexp' (bug#9364).
17143
93eb7113
JL
171442011-08-25 Juri Linkov <juri@jurta.org>
17145
17146 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17147 `regexp-search-ring' to their global values to protect from
17148 updating by `read-from-minibuffer' (bug#9185).
17149
f65d1611
JL
171502011-08-25 Juri Linkov <juri@jurta.org>
17151
17152 * textmodes/ispell.el (ispell-command-loop): Add newline
17153 at the end of the "Use option `i'..." line.
17154
f1cf7a31
JL
171552011-08-25 Juri Linkov <juri@jurta.org>
17156
17157 * battery.el (display-battery-mode): If `battery-status-function'
17158 or `battery-mode-line-format' is nil, display the message and set
17159 `display-battery-mode' to nil (bug#9363).
17160
0c95fcf7
EZ
171612011-08-25 Eli Zaretskii <eliz@gnu.org>
17162
17163 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17164 bidi-string-mark-left-to-right; they are unnecessary now.
17165
a2ebe600
DD
171662011-08-25 Deniz Dogan <deniz@dogan.se>
17167
17168 * net/quickurl.el: Documentation typo fixes.
17169
e4ed06f1
CY
171702011-08-25 Chong Yidong <cyd@stupidchicken.com>
17171
17172 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17173
e5f1c99e
GM
171742011-08-25 Glenn Morris <rgm@gnu.org>
17175
b2948976
GM
17176 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17177
e5f1c99e
GM
17178 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17179 (smtpmail-via-smtp): Handle nil response from smtp.
17180
f22f4808
JL
171812011-08-24 Juri Linkov <juri@jurta.org>
17182
17183 * proced.el (proced-marked): Inherit from `error' instead of
17184 `font-lock-warning-face'.
17185
17186 * ibuffer.el (ibuffer-marked-face): Change default face from
17187 `font-lock-warning-face' to `warning'.
17188 (ibuffer-deletion-face): Change default face from
17189 `font-lock-type-face' to `error'.
17190
17191 * battery.el (battery-update): Use the face `error' instead of
17192 `font-lock-warning-face' (bug#6117).
17193
6a93965e
JL
171942011-08-24 Juri Linkov <juri@jurta.org>
17195
17196 * faces.el (success): Change face color from "Green3" to
17197 "ForestGreen" on light background (bug#9353).
17198
1ed43b09
CY
171992011-08-24 Chong Yidong <cyd@stupidchicken.com>
17200
5664fa7b
RT
17201 * window.el (quit-window): Rename from quit-restore-window.
17202 Use same arglist as old quit-window.
1ed43b09
CY
17203 (frame-auto-delete): Doc fix.
17204
17205 * view.el (view-mode-exit): Use quit-window.
17206
11dcdbb2
JL
172072011-08-24 Juri Linkov <juri@jurta.org>
17208
17209 * isearch.el (isearch-ring-adjust1): Start visiting previous
17210 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17211 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17212 for empty search string (when the last search string is reused
17213 automatically) to adjust the isearch ring to the last element and
17214 prepare the correct index for further M-p commands (bug#9185).
17215
de62b4df
KH
172162011-08-24 Kenichi Handa <handa@m17n.org>
17217
17218 * international/ucs-normalize.el: If decomposition property of
17219 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17220 nil.
17221 (nfd, nfkd): Likewise.
17222
963b492b
SM
172232011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17224
17225 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17226 from process filters aren't reliably transmitted to the surrounding
17227 accept-process-output.
17228 (mpc-proc-check): New function.
17229 (mpc-proc-sync): Use it (bug#8293)
17230
93b6b5e1
SM
172312011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17234 Add compatibility functions (bug#9313).
17235
bca633fb
EZ
172362011-08-23 Eli Zaretskii <eliz@gnu.org>
17237
b177498a
EZ
17238 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17239
6df6ae42 17240 * international/uni-bidi.el: Regenerate.
bca633fb 17241
0902a04e
KH
172422011-08-23 Kenichi Handa <handa@m17n.org>
17243
17244 * international/charprop.el:
17245 * international/uni-bidi.el:
17246 * international/uni-category.el:
17247 * international/uni-combining.el:
17248 * international/uni-comment.el:
17249 * international/uni-decimal.el:
17250 * international/uni-decomposition.el:
17251 * international/uni-digit.el:
17252 * international/uni-lowercase.el:
17253 * international/uni-mirrored.el:
17254 * international/uni-name.el:
17255 * international/uni-numeric.el:
17256 * international/uni-old-name.el:
17257 * international/uni-titlecase.el:
17258 * international/uni-uppercase.el: Regenerate.
17259
3bbf23bc
MR
172602011-08-23 Martin Rudalics <rudalics@gmx.at>
17261
17262 * help.el (help-window-setup): Fix message displayed when other
17263 window is reused. (Bug#9341)
17264
b3fd59bd
SM
172652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17266
1802e444
SM
17267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17268 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17269
b3fd59bd
SM
17270 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17271 Mark obsolete.
17272 * shell.el (shell-parse-pcomplete-arguments): New function.
17273 (shell-completion-vars): Use it instead (bug#9160).
17274
4eb61348
SM
172752011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17276
867cab74
SM
17277 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17278 strings and comments (bug#9333).
17279
4eb61348
SM
17280 * emacs-lisp/debug.el (debug-arglist): New function.
17281 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17282 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17283
262a1439
JL
172842011-08-22 Juri Linkov <juri@jurta.org>
17285
56ee679c
JL
17286 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17287 Revert regexp that highlights output switches to its old
17288 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17289
262a1439
JL
17290 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17291 to check for empty output (bug#9226).
17292
f13f86fb
CY
172932011-08-22 Chong Yidong <cyd@stupidchicken.com>
17294
17295 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17296 symbol-constituent as the default, as that stops font-lock from
17297 working properly (Bug#8843).
17298
c65c9622
LMI
172992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17300
17301 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17302 `coding-system-for-*' around the process open call to avoid
17303 auth-source side effects.
e7f2c178 17304 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17305 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17306 probe hangs.
c65c9622 17307
23a8a5ab
CY
173082011-08-21 Chong Yidong <cyd@stupidchicken.com>
17309
ff98b2dd
CY
17310 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17311
23a8a5ab
CY
17312 * emacs-lisp/find-func.el (find-function-noselect): New arg
17313 lisp-only.
17314
17315 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17316 signal an error for built-in functions (Bug#6664).
17317
f5e3c598
LMI
173182011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17319
17320 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17321 (smtpmail-try-auth-methods): Use it.
17322
a3f2468a
CY
173232011-08-21 Chong Yidong <cyd@stupidchicken.com>
17324
2c34e8da
CY
17325 * font-lock.el (font-lock-fontify-region)
17326 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17327 (font-lock-default-unfontify-buffer)
17328 (font-lock-default-fontify-region)
17329 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17330
b3fd59bd
SM
17331 * progmodes/compile.el (compilation-error-properties):
17332 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17333 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17334 `ant' regexp.
ee31aabc 17335
a3f2468a
CY
17336 * net/browse-url.el (browse-url-firefox): Don't call
17337 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17338
8e999f70
GM
173392011-08-20 Glenn Morris <rgm@gnu.org>
17340
c21a496a
GM
17341 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17342
59ee0542
GM
17343 * tutorial.el (tutorial--default-keys): Update some default bindings.
17344
8e999f70
GM
17345 * files.el (hack-local-variables): Fully ignore case for "mode:".
17346
e3715033
AM
173472011-08-20 Alan Mackenzie <acm@muc.de>
17348
17349 Resolve invalid use of a regexp in regexp-opt.
17350
4d61f28d
JB
17351 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17352 detection for a java annotation.
e3715033 17353
4d61f28d 17354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17355 detection for a java annotation.
17356
4d61f28d
JB
17357 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17358 handling for java.
e3715033
AM
17359 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17360
04ed2e9c
CY
173612011-08-20 Chong Yidong <cyd@stupidchicken.com>
17362
17363 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17364 (Bug#9274).
17365
826cee64
AM
173662011-08-20 Alan Mackenzie <acm@muc.de>
17367
58179cce 17368 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17369 such a construct. Mainly for when jit-lock etc. starts a chunk
17370 here.
17371
58179cce 17372 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17373 variable.
58179cce 17374 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17375 c-make-font-lock-search-function.
17376 (c-make-font-lock-search-function): Use the above function.
17377 (c-make-font-lock-context-search-function): New function.
17378 (c-cpp-matchers): Enhance the preprocessor expression case with
17379 the above function
17380 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17381 which takes an expression.
17382
17383 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17384
13009bd8
MR
173852011-08-20 Martin Rudalics <rudalics@gmx.at>
17386
17387 * window.el (display-buffer-reuse-window)
17388 (display-buffer-pop-up-window): Don't reuse or split a side
17389 window.
17390
9234ff7f
GM
173912011-08-19 Glenn Morris <rgm@gnu.org>
17392
17393 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17394 Downcase "Mode:". (Bug#9331)
9234ff7f 17395
f635daa1
CY
173962011-08-18 Chong Yidong <cyd@stupidchicken.com>
17397
17398 * international/characters.el: Add L and R categories.
17399
17400 * subr.el (bidi-string-mark-left-to-right): Rename from
17401 string-mark-left-to-right. Use category search.
17402
17403 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17404
bc987f8b
JL
174052011-08-18 Juri Linkov <juri@jurta.org>
17406
17407 * faces.el (error, warning, success): New faces with definitions
17408 copied from old default values of `font-lock-warning-face',
17409 `compilation-warning', `compilation-info' (bug#6117).
17410
17411 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17412
17413 * progmodes/compile.el (compilation-error): Inherit from `error'.
17414 (compilation-warning): Inherit from `warning'.
17415 (compilation-info): Inherit from `success'.
17416
17417 * dired.el (dired-marked): Inherit from `warning'.
17418 (dired-flagged): Inherit from `error'.
17419
57173b96
LMI
174202011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17421
3e79eb87
LMI
17422 * mail/smtpmail.el (auth-source): Require to avoid problems with
17423 binding variables (bug#9298). Also clean up some unused
17424 autoloads.
17425
b3fd59bd
SM
17426 * net/network-stream.el (network-stream-open-starttls):
17427 Support using starttls.el without using gnutls-cli.
57173b96 17428
02b404de
JL
174292011-08-17 Juri Linkov <juri@jurta.org>
17430
17431 * progmodes/grep.el (rgrep): Handle the case when
17432 `grep-find-command' is a cons cell (bug#9278).
17433
8c9177f2
MR
174342011-08-17 Martin Rudalics <rudalics@gmx.at>
17435
17436 * window.el (display-buffer-pop-up-frame): Run frame creation
17437 function with BUFFER current (as special-display-popup-frame
17438 does). Reported by Drew Adams.
17439
3644a0ab
DU
174402011-08-17 Daiki Ueno <ueno@unixuser.org>
17441
17442 * epa-mail.el: Simplify GnuPG group expansion using
17443 epg-expand-group.
17444 (epa-mail-group-alist, epa-mail-group-modtime)
17445 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17446 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17447 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17448 Remove.
17449
5e617bc2 174502011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17451
17452 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17453
9c4aeabf
AM
174542011-08-16 Alan Mackenzie <acm@muc.de>
17455
17456 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17457 Correct, to avoid the inside of macros.
17458
3a99bf64
RS
174592011-08-16 Richard Stallman <rms@gnu.org>
17460
04963aa8
RS
17461 * epa-mail.el: Handle GnuPG group definitions.
17462 (epa-mail-group-alist, epa-mail-group-modtime)
17463 (epa-mail-gnupg-conf-file): New variables.
17464 (epa-mail-parse-groups, epa-mail-sync-groups)
17465 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17466 (epa-mail-expand-recipients): New functions.
17467 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17468
177549d0
RS
17469 * mail/rmail.el (rmail-epa-decrypt): New command.
17470
fe38beef
RS
17471 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17472 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17473 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17474 (epa-decrypt-armor-in-region): Make error message clearer.
17475
934eacb9
SM
174762011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17479 and "a2b" to "ab" for `prefix'.
17480
d024fb4e
CY
174812011-08-14 Chong Yidong <cyd@stupidchicken.com>
17482
17483 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17484 filter groups.
de148fee
CY
17485 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17486 Fourquet (Bug#8804).
d024fb4e 17487
62f1ca49
JB
174882011-08-12 Juanma Barranquero <lekktu@gmail.com>
17489
17490 * startup.el (argi): Declare as global variable (bug#9275).
17491
9ccaaa4b
CY
174922011-08-12 Chong Yidong <cyd@stupidchicken.com>
17493
17494 * subr.el (string-mark-left-to-right): Search the entire string
17495 for RTL script, not just the terminating character. Doc fix.
17496
a3dae87a
SM
174972011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17498
6cd18349
SM
17499 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17500 New function.
17501 (js--regexp-literal, js-syntax-propertize-function): Remove.
17502 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17503 (js-mode-map): Don't rebind electric keys.
17504 (js-insert-and-indent): Remove.
17505 (js-mode): Setup electric-layout and electric-indent instead.
17506
a3dae87a
SM
17507 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17508
9d5cb631
DU
175092011-08-12 Daiki Ueno <ueno@unixuser.org>
17510
17511 * epa.el (epa-progress-callback-function): Fix the logic of
17512 displaying progress.
17513 * epa-file.el (epa-file-insert-file-contents): Make progress
17514 display more user-friendly.
17515 (epa-file-write-region): Ditto.
17516
3e26a4a2
CY
175172011-08-10 Chong Yidong <cyd@stupidchicken.com>
17518
17519 * subr.el (string-mark-left-to-right): New function.
17520
17521 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17522 Use string-mark-left-to-right.
17523 (list-buffers-noselect): Caller changed.
17524
a3dae87a
SM
17525 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17526 Use string-mark-left-to-right.
3e26a4a2
CY
17527 (tabulated-list-print): Recenter after moving point.
17528
ac8cf6e6
JL
175292011-08-10 Juri Linkov <juri@jurta.org>
17530
17531 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17532 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17533 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17534
8d96c9a4
CY
175352011-08-09 Chong Yidong <cyd@stupidchicken.com>
17536
17537 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17538 (Bug#7554).
17539
7be1c708 175402011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17541
17542 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17543 character. (Bug#6594)
17544
37e11a63
CY
175452011-08-08 Chong Yidong <cyd@stupidchicken.com>
17546
839dde57
CY
17547 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17548 (image-dired--with-db-file): New macro.
17549 (image-dired-write-tags, image-dired-remove-tag)
17550 (image-dired-create-gallery-lists, image-dired-write-comments)
17551 (image-dired-get-comment, image-dired-mark-tagged-files)
17552 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17553 (image-dired-gallery-generate): Use insert-file-contents.
17554
37e11a63
CY
17555 * time.el (display-time-world-list, display-time-world-display):
17556 * time-stamp.el (time-stamp-string):
17557 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17558 set-time-zone-rule (Bug#7337).
17559
0b4946c4
DU
175602011-08-08 Daiki Ueno <ueno@unixuser.org>
17561
17562 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17563 (epg-error-to-string, epg-errors-to-string): New function.
17564 (epg-wait-for-completion): Reverse errors list.
17565 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17566 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17567 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17568 (epg-sign-keys, epg-generate-key-from-file)
17569 (epg-generate-key-from-string): Format errors by using
17570 epg-errors-to-string (bug#9255).
17571 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17572
75bfc667
JL
175732011-08-07 Juri Linkov <juri@jurta.org>
17574
17575 * faces.el (list-faces-display): Remove extra angle bracket
17576 from `help-mode-map'.
17577
17578 * info.el (Info-history-toc-nodes): Doc fix.
17579
17580 * longlines.el (longlines-mode): Doc fix.
17581
673e08bb
SM
175822011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17583
4640dd88
SM
17584 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17585 of statements and in a few more cases (bug#9183).
17586
673e08bb
SM
17587 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17588 New functions.
17589 (cl-transform-lambda): Use them (bug#9239).
17590
89b3f019
MR
175912011-08-05 Martin Rudalics <rudalics@gmx.at>
17592
17593 * window.el (display-buffer-same-window)
17594 (display-buffer-same-frame, display-buffer-other-window)
17595 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17596 (pop-to-buffer-other-window)
17597 (pop-to-buffer-same-frame-other-window)
17598 (pop-to-buffer-other-frame): Make them defuns.
17599 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17600
640c8776
SM
176012011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17602
17603 * subr.el (make-composed-keymap): Move from C. Change calling
17604 convention, and improve docstring to bring attention to a subtle point.
17605 * minibuffer.el (completing-read-default): Adjust accordingly.
17606
63648a95
MA
176072011-08-03 Michael Albinus <michael.albinus@gmx.de>
17608
17609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17610 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17611
17612 * net/trampver.el: Update release number.
17613
b796c9b7
SM
176142011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17615
17616 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17617 "in" (bug#9190).
17618
2239d7d5
LMI
176192011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17620
e07dd7c3
LMI
17621 * mail/sendmail.el (sendmail-query-once): Restore the current
17622 buffer after querying (bug#9074).
17623
0e6a2bd7
LMI
17624 * dired.el (dired-flagged): Use different faces for marked and
17625 flagged files (bug#6117).
17626
ce887515
LMI
17627 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17628 (bug#4433).
17629
92f2affc
LMI
17630 * ido.el (ido-mode): Switch off the message if called
17631 non-interactively.
17632
57d5aff0
LMI
17633 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17634 before 587, since it appears that that's more likely to work for
17635 more people.
17636
98cd6c18 17637 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17638 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17639 exist.
17640
b96dec83
LMI
17641 * info.el: Remove the `Info-beginning-of-buffer' function
17642 (bug#8325).
17643
b796c9b7
SM
17644 * net/network-stream.el (network-stream-open-starttls):
17645 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17646
d90e2ea0
MR
176472011-08-01 Martin Rudalics <rudalics@gmx.at>
17648
17649 * window.el (display-buffer-in-window): Don't set dedicated status
17650 of window here (Bug#9215).
17651 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17652 (display-buffer-pop-up-side-window)
b796c9b7 17653 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17654
cca09170
SM
176552011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17656
17657 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17658 before binding generated-autoload-file.
17659
027b979c
DD
176602011-08-01 Deniz Dogan <deniz@dogan.se>
17661
17662 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17663
3c7ee4f3
MA
176642011-07-30 Michael Albinus <michael.albinus@gmx.de>
17665
17666 Sync with Tramp 2.2.2.
17667
17668 * net/trampver.el: Update release number.
17669
2cc8e51a
JL
176702011-07-30 Juri Linkov <juri@jurta.org>
17671
17672 * dired-aux.el (dired-touch-initial): Remove function.
17673 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17674 current time, and `default' to the last modification time of the
17675 current marked file (bug#6887).
17676
a514d856
JM
176772011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17678
17679 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17680 numeric argument to read-number (bug#9163).
a514d856 17681
8a7eddd7
MA
176822011-07-27 Michael Albinus <michael.albinus@gmx.de>
17683
17684 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17685 connection process, it could be nil.
17686
1ddd96f5
LL
176872011-07-27 Leo Liu <sdl.web@gmail.com>
17688
17689 Simplify url handling in rcirc-mode.
17690
17691 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17692 (rcirc-browse-url-at-mouse): Remove.
17693 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17694
b248a85d
AM
176952011-07-26 Alan Mackenzie <acm@muc.de>
17696
17697 Fontify bitfield declarations properly.
17698
17699 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17700 (c-symbol-chars): Now exported as a lang variable.
17701 (c-not-primitive-type-keywords): New lang variable.
17702
17703 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17704 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17705 parsed as a bitfield declaration.
b248a85d 17706
b796c9b7
SM
17707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17708 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17709 (c-punctuation-in): New function.
17710 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17711 declarations properly.
17712
68575ab0
UJ
177132011-07-26 Ulf Jasper <ulf.jasper@web.de>
17714
17715 * calendar/icalendar.el (icalendar--all-events): Take care of
17716 multiple vcalendars in a single file.
b796c9b7 17717 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17718
0f0a88b9
DD
177192011-07-25 Deniz Dogan <deniz@dogan.se>
17720
17721 * image.el (insert-image): Clarifying docstring.
17722
0b3f36df
MA
177232011-07-24 Michael Albinus <michael.albinus@gmx.de>
17724
17725 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17726 `tramp-send-command-and-check' if there is no error.
17727 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17728
a9901f61
AM
177292011-07-22 Alan Mackenzie <acm@muc.de>
17730
17731 Prevent cc-langs.elc being loaded at run time.
17732
17733 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17734 cc-langs.
17735
4d61f28d 17736 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17737 "(require 'cc-langs)". Quote a form so it will evaluate at
17738 (cc-mode's) compilation time.
17739
11d074b2
MA
177402011-07-22 Michael Albinus <michael.albinus@gmx.de>
17741
17742 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17743 loading. (Bug#9114)
17744
938b94c8
MR
177452011-07-21 Martin Rudalics <rudalics@gmx.at>
17746
17747 * window.el (display-buffer-pop-up-window)
17748 (display-buffer-pop-up-side-window)
17749 (display-buffer-in-side-window): Call display-buffer-set-height
17750 and display-buffer-set-width after setting the new window's
b796c9b7 17751 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17752
bfa4f190
SS
177532011-07-20 Sam Steingold <sds@gnu.org>
17754
17755 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17756 (etags-tags-included-tables): Call `convert-standard-filename' on
17757 the file names contained in TAGS so that windows Emacs can handle
17758 TAGS files created by cygwin ctags.
17759
8ca42262
LMI
177602011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17761
17762 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17763 which apparently didn't work.
17764
5db2afd2 177652011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17766
5db2afd2
RW
17767 * proced.el (proced-send-signal): For *Marked Processes* buffer
17768 put point at beginning of buffer.
17769
92e15d10
SB
177702011-07-19 Stephen Berman <stephen.berman@gmx.net>
17771
17772 * proced.el (proced-format): Make header lines align with the text
17773 (bug#1779).
17774
1bfd59e5
LMI
177752011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17776
17777 * view.el (view-buffer): Allow running in `special' modes if we're
17778 visiting a file (bug#8615).
17779
f5aae37c
MR
177802011-07-19 Martin Rudalics <rudalics@gmx.at>
17781
17782 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17783 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17784 New functions.
f5aae37c
MR
17785 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17786 more accurately.
17787
bf2c1571
AM
177882011-07-18 Alan Mackenzie <acm@muc.de>
17789
17790 Fontify declarators properly when, e.g., a jit-lock chunk begins
17791 inside a declaration.
17792
17793 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17794
b796c9b7
SM
17795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17796 New function.
bf2c1571
AM
17797 (c-complex-decl-matchers): Insert reference to
17798 c-font-lock-enclosing-decls.
17799
17800 * progmodes/cc-engine.el (c-backward-single-comment):
17801 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17802 to nil around calls to (forward-comment -1).
17803
4e190b80
LMI
178042011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17805
12dc863d
LMI
17806 * image.el (put-image): Doc typo fix.
17807
a762e966
LMI
17808 * progmodes/etags.el (tags-search): Doc typo fix.
17809
4e190b80
LMI
17810 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17811 password if we get errors 550 to 554.
17812
f019fb21
LMI
178132011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17814
b796c9b7 17815 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17816
81746738
LMI
17817 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17818 indentation character (bug#6380).
17819
3ee3a1b5
LMI
17820 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17821
c82f64de
LMI
17822 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17823 to clarify what the problem is (bug#4291).
17824
f019fb21
LMI
17825 * simple.el (current-kill): Clarify what
17826 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17827 (auto-fill-mode): Document `auto-fill-function' in relation to
17828 `auto-fill-mode' (bug#2470).
f019fb21 17829
0794775d
LM
178302011-07-16 Lawrence Mitchell <wence@gmx.li>
17831
17832 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17833 method if slot is read-only (bug#9035).
17834
be39b8cc
MR
178352011-07-16 Martin Rudalics <rudalics@gmx.at>
17836
b796c9b7 17837 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17838 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17839 selected before, see discussion of (Bug#8615), (Bug#6954).
17840 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17841
6ccf7859
GM
178422011-07-15 Glenn Morris <rgm@gnu.org>
17843
17844 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17845 Respect help-form.
6ccf7859 17846
87e86684
LM
178472011-07-09 Lawrence Mitchell <wence@gmx.li>
17848
17849 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17850 (gnutls-negotiate): Use it.
17851
d6066239
LMI
178522011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17853
b796c9b7
SM
17854 * net/gnutls.el (gnutls-negotiate):
17855 Upcase `gnutls-algorithm-priority'.
d6066239 17856
bd23ebc0
GM
178572011-07-15 Glenn Morris <rgm@gnu.org>
17858
c65bca65
GM
17859 * jka-compr.el (jka-compr-verbose): Move from here...
17860 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17861 Add missing :version tag.
17862 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17863
478615cc
LMI
178642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
7b41decb
LMI
17866 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17867 (gnutls-negotiate): Use it.
17868
dbc44fcd
LMI
17869 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17870
06789f97
LMI
17871 * info.el (Info-beginning-of-buffer): New command.
17872 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17873 announcing `b' as the key (bug#8325).
ab896c37 17874 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17875
c39da690
LMI
17876 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17877
3aa5f34b
LMI
17878 * international/mule-cmds.el
17879 (describe-specified-language-support): Make the error message
17880 clearer (bug#8905).
17881
4bf0979f
LMI
17882 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17883
478615cc
LMI
17884 * isearch.el (isearch-barrier): Add a doc string, since it's
17885 mentioned in a function doc string (bug#8678).
17886
75c68aa1
MR
178872011-07-15 Martin Rudalics <rudalics@gmx.at>
17888
17889 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17890 buffer argument (Bug#9083) and self-identifying label argument.
17891
a7c33da2
GM
178922011-07-15 Glenn Morris <rgm@gnu.org>
17893
17894 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17895
2f5c6024
LMI
178962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17897
17898 * man.el (Man-fontify-manpage): Fix message when formatting the
17899 man page (bug#7929).
17900
0bb23927 179012011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17902
17903 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17904 argument LRM; if non-nil, append an invisible LRM character to the
17905 buffer name.
17906 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17907 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17908 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17909 paragraph direction.
cce4b0a7 17910
621ef9ab
LMI
179112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17912
d1583c48
LMI
17913 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17914 the man page name (bug#7929).
17915
6a57fb5f
LMI
17916 * image.el (put-image): Mention the `put-image' overlay property
17917 (bug#7834).
17918
d7956b14
LMI
17919 * scroll-bar.el (set-scroll-bar-mode): Mention that
17920 `scroll-bar-mode' lists the values (bug#7772).
17921
5b2d4a66
LMI
17922 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17923 command (bug#7729).
17924
7509a874
LMI
17925 * rect.el (apply-on-rectangle): Return the point after the last
17926 operation.
17927 (string-rectangle): Go to the point after the last operation
17928 (bug#7522).
17929
4fe74b19
LMI
17930 * printing.el (pr-toggle-region): Clarify the documentation
17931 slightly (bug#7493).
17932
b796c9b7
SM
17933 * time.el (display-time-update):
17934 Allow `display-time-mail-function' to return nil (bug#7158).
17935 Fix suggested by Detlev Zundel.
ab283561 17936
fc233c9d
LMI
17937 * vc/diff.el (diff): Clarify the order the file names are read
17938 (bug#7111).
17939
43f5740b
LMI
17940 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17941 the doc string (bug#7015).
17942
f2182a76
LMI
17943 * font-lock.el (font-lock-maximum-decoration): Mention what
17944 numeric levels mean (bug#6935).
17945
621ef9ab
LMI
17946 * startup.el (initial-buffer-choice): Don't mention the `none'
17947 selection, which is against policy.
17948
adc47434
MR
179492011-07-14 Martin Rudalics <rudalics@gmx.at>
17950
b796c9b7
SM
17951 * window.el (display-buffer-normalize-special):
17952 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17953
7e5bfb8f
EZ
179542011-07-14 Eli Zaretskii <eliz@gnu.org>
17955
17956 * subr.el (version<, version<=, version=): Mention "-CVS" and
17957 "-12345" alpha version numbers.
17958
27fa387a
CY
179592011-07-14 Chong Yidong <cyd@stupidchicken.com>
17960
17961 * bindings.el: Add advertised binding for set-mark-command
17962 (Bug#5772).
17963
8bdfa064
CY
179642011-07-14 Chong Yidong <cyd@stupidchicken.com>
17965
17966 * bindings.el (mode-line-other-buffer):
17967 * bookmark.el (bookmark-bmenu-2-window):
17968 * bs.el (bs-cycle-next, bs-cycle-previous):
17969 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17970 switch-to-buffer.
17971
17972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17973 Delete.
8bdfa064 17974
5eba16a3
JB
179752011-07-14 Juanma Barranquero <lekktu@gmail.com>
17976
17977 * follow.el (follow-debug-message, follow-redisplay):
17978 * jka-cmpr-hook.el (with-auto-compression-mode):
17979 Fix typos in docstrings.
17980
15853710
LMI
179812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17982
a28e4607
LMI
17983 * subr.el (with-silent-modifications): Clarify somewhat what the
17984 macro inhibits (bug#6525).
17985
15853710
LMI
17986 * simple.el (eval-expression): Note what it does if called
17987 interactively (bug#6495).
17988
bee0fcef
CY
179892011-07-13 Chong Yidong <cyd@stupidchicken.com>
17990
b796c9b7
SM
17991 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17992 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17993
17994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17995 Remove switch-to-buffer.
17996
58274504
LMI
179972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17998
bd2fcc8d
LMI
17999 * files.el (make-directory): Clarify that an error will be raised
18000 if there's an error (bug#6397).
18001
0f04b32c
LMI
18002 * startup.el (initial-buffer-choice): Add `none' as a choice
18003 (bug#6234).
18004
465c5fc8
LMI
18005 * subr.el (add-hook): Clarify section about buffer-local hooks
18006 (bug#6218).
18007
58274504
LMI
18008 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18009
bead9a43
JB
180102011-07-13 Juanma Barranquero <lekktu@gmail.com>
18011
18012 * tabify.el (untabify): Preserve the current column so that point
18013 doesn't move (bug#6032).
18014
3af98a7b
LMI
180152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18016
b796c9b7
SM
18017 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18018 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18019
6240145a
GM
180202011-07-13 Glenn Morris <rgm@gnu.org>
18021
18022 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18023 (dired-insert-directory): Give a message the first time
18024 if ls is found not to support --dired.
18025
1d8c2ccc
LMI
180262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18027
18028 * simple.el (toggle-truncate-lines): Clarify what is toggled
18029 (bug#5580). Text by Drew Adams.
18030
5fc4038e
CY
180312011-07-13 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * simple.el (blink-matching-open): Make the error message from the
18034 last change less verbose.
18035
bf6012e5
DN
180362011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18037
18038 * font-lock.el (font-lock-comment-face): Use the high contrast
18039 "yellow" color for font-lock-comment-face on low color terminals
18040 using a dark background color (bug#4221).
18041
343c3b5a
LMI
180422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18043
7e9505c5
LMI
18044 * dired.el (dired-insert-set-properties): Make the doc string
18045 reflect what it does now (bug#5325).
18046
c26fdcf5
LMI
18047 * simple.el (blink-matching-open): Say that we were unable to find
18048 the match within the limit, if we're limited (bug#5122).
18049
bb388cc5
LMI
18050 * international/mule-cmds.el (prefer-coding-system): Add an
18051 example (bug#4869).
18052
343c3b5a
LMI
18053 * progmodes/etags.el (tags-search): Document `file-list-form'
18054 (bug#4731).
18055
2a517d45
LM
180562011-07-13 Lawrence Mitchell <wence@gmx.li>
18057
18058 * net/browse-url.el (browse-url-default-browser)
18059 (browse-url-browser-function): Make the default browser choice a
18060 bit more logical (bug#4300). Also clean up the doc string.
18061
b6c78ef2
JB
180622011-07-13 Juanma Barranquero <lekktu@gmail.com>
18063
18064 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18065 binary endings (bug#4440).
18066
1c4dd947
LMI
180672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18068
a2014063
LMI
18069 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18070 which can be pretty annoying (bug#8971).
18071
9c9c2d88
LMI
18072 * jka-compr.el (jka-compr-verbose): New variable, and use
18073 throughout (bug#8971).
18074
1c4dd947
LMI
18075 * info.el (Info-find-file): Fall back on the installation
18076 directory if we can't find the info node anywhere else.
18077
a1c9f41b
SO
180782011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18079
18080 * vc/vc.el (vc-revert-file):
18081 Don't set file time-stamp in the past. (Bug#5181)
18082
536f3d36
LMI
180832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18084
7152b011
LMI
18085 * files.el (after-find-file): Give a better error message when
18086 trying to find a symlink that points to a file that doesn't exist
18087 (bug#4398).
18088
536f3d36
LMI
18089 * progmodes/cc-vars.el: Remove (probably) misleading comment
18090 (bug#4396).
18091
460c0fba
JB
180922011-07-12 Johan Bockgård <bojohan@gnu.org>
18093
18094 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18095
7a6bda45
CY
180962011-07-12 Chong Yidong <cyd@stupidchicken.com>
18097
18098 * mouse-sel.el: Hack restoring functionality, while keeping
18099 compatibility with 2010-07-03 changes to mouse selection.
18100 (mouse-sel-primary-overlay): New var.
18101 (mouse-sel-selection-alist): Use it.
18102 (mouse-sel-mode): Doc fix; remove points that are default features
18103 of mouse.el.
18104
c79598ef
JB
181052011-07-12 Johan Bockgård <bojohan@gnu.org>
18106
18107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18108 Fix previous fix (bug#2490).
18109
ff8be6ef
RW
181102011-07-12 Roland Winkler <winkler@gnu.org>
18111
b796c9b7
SM
18112 * textmodes/bibtex.el (bibtex-initialize):
18113 Use pop-to-buffer-same-window.
ff8be6ef
RW
18114 (bibtex-search-entries): Fix interactive call.
18115
296ba3ee
LMI
181162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18117
f5242a02 18118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18119 Fontise bytecomp Error lines more correctly (bug#2490).
18120 Fix suggested by Johan Bockgård.
f5242a02 18121
296ba3ee
LMI
18122 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18123
18124 * dired-x.el (dired-guess-default): Use `delete-dups'.
18125
f69fd0d2
CY
181262011-07-12 Chong Yidong <cyd@stupidchicken.com>
18127
18128 * dired.el (dired-mark-prompt):
18129 * dired-aux.el (dired-read-shell-command): Doc fix.
18130
eab5dc07
LMI
181312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18132
b796c9b7
SM
18133 * mail/sendmail.el (sendmail-query-once):
18134 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18135 emacs -Q.
18136
18137 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18138
eab5dc07
LMI
18139 * cus-edit.el (custom-file): Take an optional no-error variable.
18140 (customize-save-variable): Set the variable, and give a warning if
18141 running under "emacs -q".
18142
a1e65d42
JB
181432011-07-11 Juanma Barranquero <lekktu@gmail.com>
18144
18145 * loadhist.el (unload-feature-special-hooks):
18146 Add `auto-coding-functions', `fill-nobreak-predicate' and
18147 `find-directory-functions' (bug#5327).
18148
1d52da10
LMI
181492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18150
be958f1d
LMI
18151 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18152
5bedb26c
LMI
18153 * cus-edit.el (custom-guess-name-alist): -alist variables should
18154 use the `alist' type (bug#3120). Suggested by Drew Adams.
18155
1d52da10
LMI
18156 * printing.el: Add documentation to all the `pr-toggle-' commands.
18157
cd394be1 181582011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18159
18160 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18161 backends where it makes sense (bug#2623).
18162
dcc88d8a
LMI
181632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18164
c3de9feb
LMI
18165 * dired-x.el (dired-guess-default): Remove duplicate shell command
18166 entries (bug#2028).
8a93078b 18167 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18168 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18169
dcc88d8a
LMI
18170 * subr.el (remove-duplicates): New conveniency function.
18171
505e3645
LMI
181722011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18173
18174 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18175 (bug#1526).
18176
181772011-07-10 Martin Rudalics <rudalics@gmx.at>
18178
18179 * window.el (display-buffer-normalize-default): Don't invert
18180 meaning of even-window-heights. Reported by Eli Zaretskii
18181 <eliz@gnu.org>.
18182
455e4fa1
BR
181832011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18184
18185 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18186
8e0bc3e9
CY
181872011-07-10 Chong Yidong <cyd@stupidchicken.com>
18188
18189 * window.el (display-buffer): Fix arguments to
18190 display-buffer-reuse-window in last change.
18191
fa7c3228
CY
18192 * faces.el (link): Use a less saturated blue on light backgrounds.
18193
18194 * startup.el (fancy-startup-text, fancy-about-text)
18195 (fancy-startup-tail): Use font-lock faces, for background safety.
18196
c0a7f300
BN
181972011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18198
b796c9b7
SM
18199 * emulation/viper-cmd.el (viper-change-state-to-vi):
18200 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18201
4dc2a129
MR
182022011-07-09 Martin Rudalics <rudalics@gmx.at>
18203
18204 * window.el (display-buffer-default-specifiers): Remove.
18205 (display-buffer-macro-specifiers): Remove default specifiers.
18206 (display-buffer-alist): Default to nil.
b796c9b7 18207 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18208 (display-buffer-pop-up-window): Allow splitting internal
18209 windows. Check whether a live window was created.
18210 (display-buffer-other-window-means-other-frame)
18211 (display-buffer-normalize-arguments): Rename to
18212 display-buffer-normalize-argument and rewrite. Set the
18213 other-window specifier.
18214 (display-buffer-normalize-special): New function.
18215 (display-buffer-normalize-options): Rename to
18216 display-buffer-normalize-default and rewrite.
18217 (display-buffer-normalize-options-inhibit): Remove.
18218 (display-buffer-normalize-specifiers): Rewrite.
18219 (display-buffer): Process other-window specifier and call
18220 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18221 more faithfully.
b796c9b7 18222 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18223 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18224 (display-buffer-in-window, display-buffer-alist-set):
18225 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18226 <tassilo@member.fsf.org>.
18227
2d43b8c9
LL
182282011-07-09 Leo Liu <sdl.web@gmail.com>
18229
18230 * register.el (insert-register): Restore accidental change on
18231 2011-06-26. (Bug#9028)
18232
7f9b7c53
GM
182332011-07-09 Glenn Morris <rgm@gnu.org>
18234
18235 * subr.el (remq): Handle the empty list. (Bug#9024)
18236
f042cfd8
AS
182372011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18238
18239 * mail/sendmail.el (send-mail-function): No longer delay custom
18240 initialization.
18241 * custom.el (custom-initialize-delay): Doc fix.
18242
856b2f11
SM
182432011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18246
afae1d68
MA
182472011-07-08 Michael Albinus <michael.albinus@gmx.de>
18248
18249 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18250 human-friendly prompt.
18251
0757af94
SM
182522011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18253
18254 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18255 provided by a particular plugin.
18256
d760b731
LMI
182572011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18258
18259 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18260 save customizations (with "emacs -Q"), just set the variable
18261 instead of erroring out.
18262
18263 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18264
cd79ce90
JL
182652011-07-08 Juri Linkov <juri@jurta.org>
18266
18267 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18268 (archive-zip-update-case): Use 7z if found by `executable-find'.
18269 The order of searching the available programs is the same as in
18270 `archive-zip-extract' (bug#8968).
18271
14cc04aa
CY
182722011-07-07 Chong Yidong <cyd@stupidchicken.com>
18273
18274 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18275 (menu-bar-options-menu): Tweak descriptions.
18276
0a1848ec
LMI
182772011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18278
18279 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18280 menu items into verb phrases (bug#1421). Also refill to fit under
18281 80 columns.
18282
f5bd0689
CY
182832011-07-07 Chong Yidong <cyd@stupidchicken.com>
18284
538e85c6
CY
18285 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18286 (Info-read-node-name): Doc fix (Bug#1084).
18287
f5bd0689
CY
18288 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18289 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18290 (end-of-sexp, beginning-of-sexp)
18291 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18292 (forward-symbol, forward-same-syntax, word-at-point)
18293 (sentence-at-point): Doc fix (Bug#1144).
18294
56ec5115
LMI
182952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18296
f3f8e37f
LMI
18297 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18298 should cover it (bug#1281).
18299
0757af94 18300 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18301
e9fce1ac 18302 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18303 negotiation fails, then possibly try again with a non-encrypted
18304 connection (bug#9017).
18305
56ec5115
LMI
18306 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18307 be used.
18308
c2f9aec8
RS
183092011-07-07 Richard Stallman <rms@gnu.org>
18310
18311 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18312 property, and handle its changed format.
18313 Look for the correct line number.
18314 Use file's line contents (but not past first =) to find
18315 correct line in message.
18316
ef7b981d 183172011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18318
18319 * international/characters.el (build-unicode-category-table):
18320 Delete it.
0757af94 18321 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18322
0757af94 18323 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18324 to src/chartab.c.
18325 (get-char-code-property): Call unicode-property-table-internal to
18326 load a file. Call get-unicode-property-internal where necessary.
18327 (put-char-code-property): Call unicode-property-table-internal to
18328 load a file. Call put-unicode-property-internal where necessary.
18329 put-unicode-property-internal where necessary.
0757af94
SM
18330 (char-code-property-description):
18331 Call unicode-property-table-internal to load a file.
c805dec0
KH
18332
18333 * international/charprop.el:
18334 * international/uni-bidi.el:
18335 * international/uni-category.el:
18336 * international/uni-combining.el:
18337 * international/uni-comment.el:
18338 * international/uni-decimal.el:
18339 * international/uni-decomposition.el:
18340 * international/uni-digit.el:
18341 * international/uni-lowercase.el:
18342 * international/uni-mirrored.el:
18343 * international/uni-name.el:
18344 * international/uni-numeric.el:
18345 * international/uni-old-name.el:
18346 * international/uni-titlecase.el:
18347 * international/uni-uppercase.el: Regenerate.
18348
18349 * loadup.el: Load international/charprop.el before
18350 international/characters.
18351
e14b388a
CY
183522011-07-07 Chong Yidong <cyd@stupidchicken.com>
18353
18354 * window.el (next-buffer, previous-buffer): Signal an error if
18355 called from a minibuffer window.
18356
18357 * bindings.el: Revert 2011-07-04 change.
18358
354cf0ba
RS
183592011-07-06 Richard Stallman <rms@gnu.org>
18360
18361 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18362 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18363 Treat markers like ints.
18364 (rmail-mime-entity): Doc fix.
18365
a48868a7
LMI
183662011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18367
4906cd3d
LMI
18368 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18369 defcustom again for backwards compatibility.
18370
e0457abe
LMI
18371 * simple.el (shell-command-on-region): Fill.
18372
d67f7e1f
LMI
18373 * dired-aux.el (dired-kill-line): Add a doc string.
18374
fe204702
LMI
18375 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18376 to "\\sw\\|\\s_" (bug#358).
18377
a48868a7
LMI
18378 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18379 (dired-unmark-backward): Ditto.
18380 (dired-flag-backup-files): Ditto.
18381
18382 * dired-x.el (dired-mark-sexp): Ditto.
18383
aa8a705c
RS
183842011-07-06 Richard Stallman <rms@gnu.org>
18385
18386 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18387 (rmail-mime-entity): New arg TRUNCATED.
18388 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18389 New functions.
18390 (rmail-mime-save): Warn if entity is truncated.
18391 (rmail-mime-toggle-hidden): Likewise, for showing.
18392 (rmail-mime-process-multipart): Record when an entity is truncated.
18393
a9a936b9
RS
18394 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18395 if ENTITY is a string.
18396
1f2b92cb
LMI
183972011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18398
f4f73198 18399 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18400 of faces when `M-C-x'-ing their definitions (bug#8378).
18401 Also clean up the code slightly.
f4f73198 18402
12b16734 18403 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18404 because that makes the colors go away.
12b16734 18405
f0691d22
LMI
18406 * mail/sendmail.el (send-mail-function): Change the default to
18407 `sendmail-query-once'.
9e87df06 18408 (sendmail-query-once): Add an autoload cookie.
f0691d22 18409
1f2b92cb
LMI
18410 * net/network-stream.el (network-stream-open-starttls): Try using
18411 a plain connection even if the server offered STARTTLS, and we
18412 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18413 capability. This should make smtpmail.el work in slightly more
18414 configurations.
18415
1cdd2a1b
MA
184162011-07-06 Michael Albinus <michael.albinus@gmx.de>
18417
18418 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18419 New defun.
18420 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18421
fbcc67e2
MM
184222011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18423
18424 * progmodes/sql.el: Version 3.0
0757af94 18425 (sql-product-alist): Add product :completion-object,
fbcc67e2 18426 :completion-column, and :statement attributes.
0757af94 18427 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18428 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18429 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18430 ansi keywords.
18431 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18432 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18433 (sql-oracle-show-reserved-words): New function for development.
18434 (sql-product-font-lock): Simplify for source code buffers.
18435 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18436 New functions.
18437 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18438 (sql-mode-map): Add statement movement functions.
18439 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18440 New variable.
fbcc67e2
MM
18441 (sql-statement-regexp, sql-beginning-of-statement)
18442 (sql-end-of-statement, sql-signum): New functions.
0757af94 18443 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18444 (sql-show-sqli-buffer): Bug fix.
18445 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18446 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18447 with sql-interactive-mode.
18448 (sql-save-connection): Save buffer local settings.
0757af94 18449 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18450 (sql-product-interactive): Bug fix.
18451 (sql-preoutput-hold): New variable.
18452 (sql-interactive-remove-continuation-prompt): Bug fixes.
18453 (sql-debug-redirect): New variable.
18454 (sql-str-literal): New function.
18455 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18456 Redesign.
fbcc67e2
MM
18457 (sql-oracle-save-settings, sql-oracle-restore-settings)
18458 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18459 (sql-completion-object, sql-completion-column)
18460 (sql-completion-sqlbuf): New variables.
18461 (sql-build-completions-1, sql-build-completions)
18462 (sql-try-completion): New functions.
18463 (sql-read-table-name): Use them.
18464 (sql-contains-names): New buffer local variable.
18465 (sql-list-all, sql-list-table): Use it.
18466 (sql-oracle-completion-types): New variable.
18467 (sql-oracle-completion-object, sql-sqlite-completion-object)
18468 (sql-postgres-completion-object): New functions.
18469
d4eaeab1
GM
184702011-07-06 Glenn Morris <rgm@gnu.org>
18471
18472 * window.el (pop-to-buffer): Doc fix.
18473
322b7dab 184742011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18475
18476 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18477
322b7dab 184782011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18479
322b7dab 18480 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18481
322b7dab 18482 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18483
605dd5bf
CY
184842011-07-05 Chong Yidong <cyd@stupidchicken.com>
18485
18486 * button.el (button): Inherit from link face. Suggested by Dan
18487 Nicolaescu.
18488
7dbfa719
SM
184892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18490
3db614b0
SM
18491 * progmodes/gdb-mi.el: Fit in 80 columns.
18492 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18493 switch-to-buffer.
18494
7dbfa719
SM
18495 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18496 if imenu is simply not configured (bug#8941).
18497
919d884a
KM
184982011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18499
18500 * allout.el (allout-post-undo-hook): New allout outline-change
18501 event hook to signal undo activity.
18502 (allout-post-command-business): Run allout-post-undo-hook if an
18503 undo just occurred.
7dbfa719
SM
18504 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18505 * allout-widgets.el (allout-widgets-after-undo-function):
18506 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18507 in the vicinity of an undo.
18508 (allout-widgets-mode): Include allout-widgets-after-undo-function
18509 on the new allout-post-undo-hook.
18510
450a0f09
SM
185112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18514 Let define-derived-mode define it.
18515 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18516 cycles of abbrev-table inheritance (bug#8998).
18517
2de69e00
RW
185182011-07-05 Roland Winkler <winkler@gnu.org>
18519
18520 * textmodes/bibtex.el: Add support for biblatex.
18521 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18522 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18523 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18524 (bibtex-entry-alist, bibtex-field-alist): New variables.
18525 (bibtex-entry-field-alist): Obsolete alias for
18526 bibtex-BibTeX-entry-alist.
18527 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18528 (bibtex-set-dialect): New command.
18529 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18530 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18531 Bind via bibtex-set-dialect.
2de69e00
RW
18532 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18533 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18534 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18535 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18536 Define via bibtex-set-dialect.
450a0f09
SM
18537 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18538 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18539 (bibtex-vec-push, bibtex-vec-incr): New functions.
18540 (bibtex-format-entry, bibtex-field-list)
18541 (bibtex-print-help-message, bibtex-validate)
18542 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18543
2dcdbdd9
SM
185442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * progmodes/compile.el (compilation-goto-locus):
18547 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18548 * bs.el (bs-cycle-next, bs-cycle-previous):
18549 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18550 * bindings.el (mode-line-other-buffer):
18551 * autoinsert.el (auto-insert):
18552 * arc-mode.el (archive-extract):
18553 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18554
b27640fe
JB
185552011-07-05 Juanma Barranquero <lekktu@gmail.com>
18556
18557 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18558 Fix check of `emacs-lock-unlockable-modes'.
18559 Coerce true values of `emacs-lock--try-unlocking' to t.
18560
53bbe3ad
JB
185612011-07-05 Juanma Barranquero <lekktu@gmail.com>
18562
18563 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18564 * emacs-lock.el: New file.
18565
1d3cdbc7
JD
185662011-07-05 Julien Danjou <julien@danjou.info>
18567
18568 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18569 than `boundp' to check if face is set.
18570
9173deec
JB
185712011-07-05 Juanma Barranquero <lekktu@gmail.com>
18572
18573 * register.el (registerv-make):
18574 * window.el (window-min-height): Fix typos in docstrings.
18575
869795d6
JD
185762011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18577
9173deec 18578 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18579 Update doc string.
18580
b768cdcd
JB
185812011-07-04 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * server.el (server-execute): Catch quit and call
18584 `server-return-error' to pass the error back to emacsclient and
18585 close the connection (bug#8942).
18586
13aa217b
KM
185872011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18588
18589 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18590 insecure exception for current topic. Also note that auto-saves
18591 are handled differently.
18592
5d3385a0 18593 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18594 State variables for tracking auto-save inhibition situation.
18595
18596 (allout-write-contents-hook-handler): Rename from
18597 'allout-write-file-hook-handler', and describe how it depends on
18598 write-contents-functions sensitivity to non-nil value to prevent
18599 file write.
18600
18601 (allout-auto-save-hook-handler): Remove. auto-save does not check
18602 this in individual buffers, only in the starting buffer, so this
18603 is not the right way for us to inhibit auto-save in a buffer
18604 according to its condition.
18605
18606 (allout-mode): Use new allout-write-contents-hook-handler, and
18607 only with write-contents-functions. Remove auto-save provisions -
18608 they're implemented elsewhere.
18609
18610 (allout-before-change-handler): If undo is in progress, note that
18611 for attention of allout-post-command-business.
18612
18613 (allout-post-command-business): If the command we're following was
18614 an undo, check for change in the status of encrypted items and
18615 adjust auto-save inhibitions accordingly.
18616
18617 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18618 according to whether there are or aren't any plain-text topics
18619 pending encryption.
18620
2dcdbdd9 18621 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18622 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18623 if there are plain-text topics pending encryption.
13aa217b
KM
18624
18625 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18626 buffer-saved-size and some allout state to not inhibit auto-saves
18627 if there are no longer any plain-text topics pending encryption.
18628
0757af94
SM
18629 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18630 No longer provide for exemption of the current topic.
13aa217b 18631
ac89b32c
JL
186322011-07-04 Juri Linkov <juri@jurta.org>
18633
18634 Add 7z operations to delete and save changed members (bug#8968).
18635 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18636 New defcustoms.
18637 (archive-7z-write-file-member): New function.
18638 (archive-7z-summarize): Fix the number of dashes in the
18639 listing output.
18640
8fa39615
SM
186412011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18644 (bug#8958).
18645
2f11b3f1
CY
186462011-07-04 Chong Yidong <cyd@stupidchicken.com>
18647
d66fef2b
CY
18648 * bindings.el: Ignore next-buffer and previous-buffer in
18649 minibuffer-local-map.
18650
2f11b3f1
CY
18651 * font-lock.el (font-lock-builtin-face): Change light background
18652 color to dark slate blue (Bug#6693).
18653
f932a347
WD
186542011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18655
18656 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18657
c8af70e1
SM
186582011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18662 Add switch-to-buffer.
18663
f158badc
LMI
186642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18665
18666 * isearch.el (isearch-search-fun-function): Clarify further the
18667 meaning of the function returned.
18668
6d95bd46
MA
186692011-07-04 Michael Albinus <michael.albinus@gmx.de>
18670
18671 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18672
18673 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18674 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18675 Use it.
18676 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18677 `tramp-default-remote-path' does not exist.
18678 (tramp-send-command-and-read): New optional argument NOERROR.
18679 (tramp-open-connection-setup-interactive-shell)
18680 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18681 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18682 (tramp-process-sentinel): Flush also process' connection property.
18683 (tramp-sh-handle-start-file-process): Do not set process
18684 sentinel. It is done now ...
18685 (tramp-maybe-open-connection): ... here. (Bug#8929)
18686
909e6b67
MK
186872011-07-04 MON KEY <monkey@sandpframing.com>
18688
18689 * play/animate.el (animate-string): Doc fixes and allow changing
18690 the buffer name (bug#5417).
18691
186922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18693
c8af70e1 18694 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18695
f34755dc
PE
186962011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18697
396cec72
PE
18698 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18699 This is simpler and helps future-proof the code.
18700 (timer-until): Use time-subtract and float-time.
08235028 18701 (timer--time-less-p): Use time-less-p.
f34755dc 18702
56e6cc31
JB
187032011-07-04 Juanma Barranquero <lekktu@gmail.com>
18704
3abb79e5
JB
18705 * type-break.el (timep): Use the value of `float-time' to avoid a
18706 byte-compiler warning.
18707
56e6cc31
JB
18708 * server.el (server-eval-and-print): Return any result, even nil.
18709
7b9430b4
PE
187102011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18711
18712 * type-break.el: Accept time formats that the builtins accept.
18713 (timep, type-break-time-difference): Accept any format that
18714 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18715 This is simpler and helps future-proof the code.
18716 (type-break-time-difference): Round rather than ignoring
18717 subseconds components.
18718
3034e9e7
LMI
187192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18720
18721 * info.el (Info-apropos-matches): Make non-interactive, since it
18722 doesn't seem to do anything useful as a command (bug#8829).
18723
1485f4c0
CY
187242011-07-03 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18727 Move from faces.el.
1485f4c0
CY
18728 (frame-default-terminal-background): New function.
18729
18730 * custom.el (custom-push-theme): Don't record faces in `changed'
18731 theme; this doesn't work correctly for per-frame face settings.
18732 (disable-theme): Use face-set-after-frame-default to reset faces.
18733 (custom--frame-color-default): New function.
18734
9fa3dd45
LMI
187352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18736
c8af70e1 18737 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18738 (bug#8769).
18739
6cbbc20c
KR
187402011-03-29 Kevin Ryde <user42@zip.com.au>
18741
18742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18743 `perl-Test2' extend to match possible "fail #N" rep count
18744 (bug#8377).
18745
c7f98048
LMI
187462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18747
65676592
LMI
18748 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18749 `smtpmail-via-smtp' now returns the error instead of nil.
18750
c7f98048
LMI
18751 * isearch.el (isearch-search-fun-function): Clarify the doc string
18752 (bug#8101).
18753
56e6cc31 187542011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18755
18756 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18757 unnecessary spaces (bug#8987).
18758
2b216704
LMI
187592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18760
18761 * net/network-stream.el (open-network-stream): Use the
18762 :end-of-capability command thoughout.
18763
187642011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18765
18766 * net/network-stream.el (open-network-stream): Add the
18767 :end-of-capability command parameter, used by pop3.el.
18768
36adf6ce
LMI
187692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18770
1ca0da0e
LMI
18771 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18772
fc00f69c
LMI
18773 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18774 for list)" (bug#6475).
18775
28fd8759 18776 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18777 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18778 an error (bug#6297).
18779
0dd8b6da
LMI
18780 * man.el (Man-reference-regexp): Allow matching possible
18781 word-wrapped references (bug#6289).
18782
ce1438d6
LMI
18783 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18784 for consistency with the other vc buffers (bug#6197).
18785 (vc-checkin): Ditto.
18786
18787 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18788
36adf6ce
LMI
18789 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18790
e83cc1f7
LMI
187912011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18792
8a20ca4c
LMI
18793 * custom.el (defcustom): Clarify that :set is only used in the
18794 Customize user interface (bug#6089).
18795
83319045
LMI
18796 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18797 associated with a file, refuse to run instead of erroring out
18798 (bug#6084).
18799
a8392169
LMI
18800 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18801 the doc string, since it appears that using `fill-column' always
18802 controls the width (bug#7845).
18803
e83cc1f7
LMI
18804 * simple.el (shell-command-on-region): Say where the error output
18805 went if `shell-command-default-error-buffer' is set (bug#6857).
18806
e47ca23b
KM
188072011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18808
18809 * allout.el (allout-yank-processing): Adjust cursor position for
18810 backwards-deleted space.
18811
18812 (allout-rebullet-heading): Register changes with
18813 allout-exposure-changed-hook, so the modified topic is properly
18814 decorated.
18815
5cf56143
LMI
188162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18817
08549772
LMI
18818 * minibuffer.el (completion-in-region): Document PREDICATE
18819 (bug#7136).
18820
48e96771
LMI
18821 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18822 of keyword/argument pairs (bug#6904).
18823
c8af70e1
SM
18824 * replace.el (multi-occur):
18825 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18826
e17d05e2
LMI
188272011-07-02 Drew Adams <drew.adams@oracle.com>
18828
18829 * dired.el (dired-mark-if): Make the message about whether it's
18830 marking or unmarking clearer (bug#8523).
18831
063b0e45
LMI
188322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18833
18834 * disp-table.el (display-table-print-array): New function.
18835 (describe-display-table): Use it to print the vectors more pretty
18836 (Bug#8859).
18837
28545e04
MR
188382011-07-02 Martin Rudalics <rudalics@gmx.at>
18839
18840 * window.el (window-state-get-1): Don't assign clone numbers.
18841 Add clone-of item to list of window parameters.
18842 (window-state-put-2): Don't process clone numbers.
18843 (display-buffer-alist): Fix doc-string.
18844
3349e122
SM
188452011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18846
18847 * subr.el (remq): Don't allocate if it's not needed.
18848 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18849 (keymap--merge-bindings): New functions.
18850 (keymap-canonicalize): Use them to refine the canonicalization.
18851 * minibuffer.el (minibuffer-local-completion-map)
18852 (minibuffer-local-must-match-map): Move initialization from C.
18853 (minibuffer-local-filename-completion-map): Move initialization from C;
18854 don't inherit from anything here.
18855 (minibuffer-local-filename-must-match-map): Make obsolete.
18856 (completing-read-default): Use make-composed-keymap to combine
18857 minibuffer-local-filename-completion-map with either
18858 minibuffer-local-must-match-map or
18859 minibuffer-local-filename-completion-map.
18860
d224ac83
GM
188612011-07-01 Glenn Morris <rgm@gnu.org>
18862
3de63bf8
GM
18863 * type-break.el (type-break-time-sum): Use dolist.
18864
d224ac83
GM
18865 * textmodes/flyspell.el (flyspell-word-search-backward):
18866 Replace CL function.
18867
1a1e3f32
SM
188682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18869
fe3f64d5
SM
18870 * mouse.el (mouse--strip-first-event): New function.
18871 (function-key-map): Use it to map fringe clicks to normal clicks
18872 by default.
18873
eb604e34
SM
18874 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18875 (vc-bzr-revision-completion-table): Add support for annotate and date.
18876
1a1e3f32
SM
18877 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18878 inherit from parent.
18879
5bd35902
LMI
188802011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881
ace6c69c 18882 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18883 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18884
191e2bed
LMI
18885 * dired.el (dired-mode): Fix up the doc string as suggested by
18886 Drew Adams (bug#8817).
18887
5bd35902
LMI
18888 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18889 cookie, since the manual says that it should be possible to add
18890 this function to `find-file-hook' (bug#8709).
18891
eee8207a
TZ
188922011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18893
18894 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18895 here. Noted Ted Zlatanov as the maintainer.
18896 (cfengine-common-settings, cfengine-common-syntax): New functions
18897 to set up common things between `cfengine-mode' and
18898 `cfengine3-mode'.
18899 (cfengine3-mode): New mode.
18900 (cfengine3-defuns cfengine3-defuns-regex
18901 (cfengine3-class-selector-regex cfengine3-category-regex)
18902 (cfengine3-vartypes cfengine3-font-lock-keywords)
18903 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18904 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18905
36b148cf
MA
189062011-07-01 Michael Albinus <michael.albinus@gmx.de>
18907
18908 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18909
18910 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18911
0bf4ba9a
MR
189122011-07-01 Martin Rudalics <rudalics@gmx.at>
18913
18914 * window.el (same-window-buffer-names, same-window-regexps)
18915 (same-window-p, special-display-frame-alist)
18916 (special-display-popup-frame, special-display-function)
18917 (special-display-buffer-names, special-display-regexps)
18918 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18919 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18920 (split-window-preferred-function, split-height-threshold)
18921 (split-width-threshold, even-window-heights)
18922 (display-buffer-mark-dedicated, window-splittable-p)
18923 (split-window-sensibly, window-safely-shrinkable-p):
18924 Un-obsolete.
18925 (display-buffer): Don't spread args with function specifier
18926 because special-display-popup-frame won't like it.
18927
35837f51
PE
189282011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18929
d0672f86
PE
18930 Time-stamp simplifications and fixes.
18931 These improve accuracy slightly, and future-proof the code
18932 against some potential changes to current-time format.
18933
b9444d97
PE
18934 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18935 by using time-since and float-time.
18936
0ef923dc
PE
18937 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18938 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18939 + NNN microseconds".
18940
2f81380d
PE
18941 * type-break.el (type-break-time-sum): Rewrite using time-add.
18942
845b5c3e
PE
18943 * play/hanoi.el (hanoi-current-time-float): Remove.
18944 All uses replaced by float-time.
18945
ee6f1be0
PE
18946 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18947 This yields a more-accurate answer.
18948 (rng-time-to-float): Remove; no longer needed.
18949
fe955043
PE
18950 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18951
5777162a
PE
18952 * calendar/timeclock.el (timeclock-seconds-to-time):
18953 Defalias to seconds-to-time, since they're the same thing.
18954
3103f8b6 18955 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18956 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18957 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18958
0e61a35f
SM
189592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18960
18961 * window.el (bury-buffer): Don't iconify the only frame.
18962 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18963 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18964
ddd63a1e
CY
189652011-07-01 Chong Yidong <cyd@stupidchicken.com>
18966
0e61a35f
SM
18967 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18968 Add mouse-yank-primary.
ddd63a1e 18969
055f4923
TZ
189702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18971
18972 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18973
6a2fb145
SM
189742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18975
18976 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18977 (find-library-name): Use it to find relative load names when provided
18978 absolute file name (bug#8803).
18979
fd4983f2
LMI
189802011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18981
887d14ad
LMI
18982 * textmodes/flyspell.el (flyspell-word): Consider words that
18983 differ only in case as potential doublons (bug#5687).
18984
c53dc7fc
LMI
18985 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18986 Remove two rather uninteresting debugging-like messages to make
18987 debbugs.el more silent.
18988
fd4983f2
LMI
18989 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18990 a password-like phrase.
18991
7a71b18d 189922011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18993
18994 * progmodes/cc-guess.el: New file.
18995
6a2fb145 18996 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18997
18998 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18999 derived from `c-basic-common-init'.
19000
19001 * progmodes/cc-mode.el (top-level): Require cc-guess.
19002 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19003
1fa280a3
LM
190042011-06-30 Lawrence Mitchell <wence@gmx.li>
19005
19006 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19007
e6597158
AM
190082011-06-30 Alan Mackenzie <acm@muc.de>
19009
1fa280a3
LM
19010 * progmodes/cc-engine.el (c-guess-continued-construct):
19011 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19012 lock is disabled. Name this case as "CASE G".
19013
68ba37fb
KM
190142011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19015
19016 * allout.el (allout-yank-processing): Fix injection of extra space
19017 between bullet and non-whitespace character in first topic when
19018 pasting, ensuring that the actual spacing in the pasted topic
19019 following the bullet char is preserved. This extra space was
19020 causing pasted encrypted topics to get a decrypted status even
19021 when the content was actually still encrypted. Now the decryption
19022 status from before the paste is preserved.
19023
19024 (allout-flag-region): Set all allout overlays so they evaporate
19025 when reduced to zero length (evanescent), to prevent overlay
19026 leakage.
19027
887a0b34
GM
190282011-06-30 Glenn Morris <rgm@gnu.org>
19029
94b9acce
GM
19030 * w32-fns.el (w32-charset-info-alist): Declare.
19031
1d9b46d4
GM
19032 * find-dired.el (find-grep-options): Simplify.
19033
cc232200
GM
19034 * term/ns-win.el (ns-set-resource): Declare.
19035
28e77c46
GM
19036 * ses.el (row, col): Declare dynamic variables honestly.
19037
887a0b34
GM
19038 * textmodes/reftex-parse.el (index-tags): Declare.
19039
658d8eb8
CY
190402011-06-30 Chong Yidong <cyd@stupidchicken.com>
19041
19042 * cus-edit.el (customize-push-and-save): New function.
19043
19044 * files.el (hack-local-variables-confirm): Use it.
19045
1fa280a3
LM
19046 * custom.el (load-theme): New arg NO-CONFIRM.
19047 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19048 (custom-enabled-themes): Doc fix.
19049
19050 * cus-theme.el (customize-create-theme)
19051 (custom-theme-merge-theme): Callers to load-theme changed.
19052
bb617717
LMI
190532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19054
d61bdd5d
LMI
19055 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19056 short URLs have at least one dot in them (bug #7614).
19057
bb617717
LMI
19058 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19059 nil, because using a pty is apparently too slow (bug #895).
19060
2f31f37a
LMI
190612011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19062
19063 * mail/sendmail.el (sendmail-query-once): New function.
19064 (sendmail-query-once-function): New variable.
19065
3076b24e
GM
190662011-06-29 Glenn Morris <rgm@gnu.org>
19067
faf2a174
GM
19068 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19069
3076b24e
GM
19070 * ses.el (top-level): Require cl when compiling.
19071 (ses-set-localvars): Fix error statement.
19072 Call it at compile time to silence a storm of warnings.
19073
5386012d
MR
190742011-06-29 Martin Rudalics <rudalics@gmx.at>
19075
19076 * window.el (normalize-live-buffer): Rename to
19077 window-normalize-buffer.
19078 (normalize-live-frame): Rename to window-normalize-frame.
19079 (normalize-any-window): Rename to window-normalize-any-window.
19080 (normalize-live-window): Rename to window-normalize-live-window.
19081 (make-window-atom): Rename to window-make-atom.
19082 (window-resize-reset): Rename to window--resize-reset.
19083 (window-resize-reset-1): Rename to window--resize-reset-1.
19084 (resize-mini-window): Rename to window--resize-mini-window.
19085 (resize-subwindows-skip-p): Rename to
19086 window--resize-subwindows-skip-p.
19087 (resize-subwindows-normal): Rename to
19088 window--resize-subwindows-normal.
19089 (resize-subwindows): Rename to window--resize-subwindows.
19090 (resize-other-windows): Rename to window--resize-siblings.
19091 (resize-this-window): Rename to window--resize-this-window.
19092 (resize-root-window): Rename to window--resize-root-window.
19093 (resize-root-window-vertically): Rename to
19094 window--resize-root-window-vertically.
19095 (normalize-buffer-to-display): Rename to
19096 window-normalize-buffer-to-display.
19097 (normalize-buffer-to-switch-to): Rename to
19098 window-normalize-buffer-to-switch-to.
19099 Correspondingly update all callers of the functions listed
19100 above.
19101 (display-buffer-alist, display-buffer-normalize-arguments)
19102 (display-buffer-normalize-options, display-buffer)
19103 (display-buffer-alist-set): Use "function" instead of
19104 "fun-with-args".
19105
1176868d
CY
191062011-06-28 Chong Yidong <cyd@stupidchicken.com>
19107
19108 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19109 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19110 debbugs.gnu.org. Mention acknowledgment email.
19111
20a7a65f
LMI
191122011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19113
19114 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19115 buffer multibyteness, since it shouldn't matter.
19116
5f45cca5
MR
191172011-06-28 Martin Rudalics <rudalics@gmx.at>
19118
19119 * window.el (display-buffer-in-side-window): Handle dedicated
19120 windows as in display-buffer-reuse-window.
19121 (display-buffer-normalize-alist): Use value of override
19122 specifier.
19123 (display-buffer-normalize-specifiers): Use value of
19124 other-window-means-other-frame specifier.
19125 (display-buffer-alist): Rewrite some texts in widgets.
19126 (display-buffer): Spread arguments when calling function
19127 specified by fun-with-args.
19128
ad85fe1f
DD
191292011-06-28 Deniz Dogan <deniz@dogan.se>
19130
1fa280a3
LM
19131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19132 Unnest `let'.
da68c4c8 19133
ad85fe1f
DD
19134 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19135 selectors (Bug#5732).
ec49bd31 19136 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19137
a08cc025
JA
191382011-06-27 Jari Aalto <jari.aalto@cante.net>
19139
19140 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19141 (eshell-ls-date-format): New defcustom.
19142 (eshell-ls-file): Use it.
19143
e2b551c5
SM
191442011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19145
19146 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19147
8982b231
KY
191482011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19149
19150 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19151 (ange-ftp-make-tmp-name): New arg.
19152 (ange-ftp-file-local-copy): Use it.
19153
36c9fa27
J
191542011-06-27 Jambunathan K <kjambunathan@gmail.com>
19155
19156 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19157 no-conversion (Bug#8870).
19158
d68443dc
MR
191592011-06-27 Martin Rudalics <rudalics@gmx.at>
19160
19161 * window.el (window-right, window-left, window-child)
19162 (window-child-count, window-last-child)
19163 (window-iso-combination-p, walk-window-tree-1)
19164 (window-atom-check-1, window-tree-1, delete-window)
19165 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19166 new naming conventions - window-vchild, window-hchild,
19167 window-next and window-prev are now called window-top-child,
19168 window-left-child, window-next-sibling and window-prev-sibling
19169 respectively.
d615d6d2
MR
19170 (resize-window-reset): Rename to window-resize-reset.
19171 (resize-window-reset-1): Rename to window-resize-reset-1.
19172 (resize-window): Rename to window-resize.
19173 (window-min-height, window-min-width)
19174 (resize-mini-window, resize-this-window, resize-root-window)
19175 (resize-root-window-vertically, adjust-window-trailing-edge)
19176 (enlarge-window, shrink-window, maximize-window)
19177 (minimize-window, delete-window, quit-restore-window)
19178 (split-window, balance-windows, balance-windows-area-adjust)
19179 (balance-windows-area, window-state-put-2)
19180 (display-buffer-even-window-sizes, display-buffer-set-height)
19181 (display-buffer-set-width, set-window-text-height)
19182 (fit-window-to-buffer): Rename all "resize-window" prefixed
19183 calls to use the "window-resize" prefix convention.
19184 (display-buffer-alist): Fix symbol for label specifier.
19185 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19186 corresponding specifier.
19187 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19188
b6458526
VB
191892011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19190
19191 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19192 convention.
19193 (ses-call-printer): Does not pass an empty string to formatter when the
19194 cell is empty to keep from barking printer Calc math-format-value.
19195
d31fd9ac
RS
191962011-06-27 Richard Stallman <rms@gnu.org>
19197
43d5bf84
RS
19198 * battery.el (battery-mode-line-limit): New variable.
19199 (battery-update): Handle it.
19200
d31fd9ac
RS
19201 * mail/rmailmm.el (rmail-mime-process-multipart):
19202 Handle truncated messages.
19203
819a6054
GM
192042011-06-27 Glenn Morris <rgm@gnu.org>
19205
19206 * progmodes/flymake.el (flymake-err-line-patterns):
19207 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19208
cedc73f2
VB
192092011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19210
819a6054 19211 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19212 (ses--clean-!, ses--clean-_): New functions.
19213 (ses-range): Add configurability of readout order, and conversion
19214 to Calc vector.
19215
5e5d49b6
VB
19216 * ses.el (ses-repair-cell-reference-all): New function.
19217 (ses-cell-symbol): Set macro as safe, so that it can be used in
19218 formulas.
19219
56e6cc31 19220 * ses.el: Update cycle detection algorithm.
90ca8b49 19221 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19222 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19223 (ses-set-localvars): New function.
19224 (ses-make-cell): Add property-list as a cell element.
19225 (ses-cell-property-get-fun, ses-cell-property-get)
19226 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19227 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19228 New functions.
90ca8b49
VB
19229 (ses-cell-property-set, ses-cell-property-pop)
19230 (ses-cell-property-get-handle): New macro.
19231 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19232 New aliases, used for code readability.
19233 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19234 cycle detection.
19235 (ses-self-reference-early-detection): New defcustom.
fac916bf 19236 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19237 (ses-mode): Use ses-set-localvars.
19238 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19239 before lauching the update processing.
19240 (ses-initialize-Dijkstra-attempt): New function.
19241 (ses-recalculate-cell): Update for cycle detection based on
19242 Dijkstra algorithm.
19243
2bb63e81
VB
19244 * ses.el: Fix commenting and indenting convention.
19245
c9d29fb8
SM
192462011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19247
19248 * bs.el (bs-cycle-next): Complete last change.
19249
d8e4b68b
JB
192502011-06-27 Drew Adams <drew.adams@oracle.com>
19251
19252 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19253
40098786
LMI
192542011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19255
c9d29fb8
SM
19256 * net/network-stream.el (network-stream-open-starttls):
19257 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19258 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19259
40098786
LMI
19260 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19261 to binary to possibly avoid line encoding issues on Windows (among
19262 other things).
19263
468d09d4
LMI
192642011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19265
19266 * net/network-stream.el (open-network-stream): Return an :error
19267 saying what the problem was, if possible.
19268
19269 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19270 server.
19271
19272 * net/network-stream.el (network-stream-open-starttls): If we
19273 wanted to use STARTTLS, and the server offered it, but we weren't
19274 able to because we had no STARTTLS support, then close the connection.
19275 (open-network-stream): Return an :error element, if present.
19276
16f07dd7
CY
192772011-06-26 Chong Yidong <cyd@stupidchicken.com>
19278
88821ca0
CY
19279 * hl-line.el (hl-line-sticky-flag): Doc fix.
19280 (global-hl-line-sticky-flag): New option (Bug#8323).
19281 (global-hl-line-highlight): Obey it.
19282
16f07dd7
CY
19283 * vc/vc.el (vc-revert-show-diff): Default to t.
19284
6b5ccddf
KM
192852011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19286
c9d29fb8
SM
19287 * allout-widgets.el (allout-widgets-post-command-business):
19288 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19289 undecorated when an isearch is continued past, and isearch
19290 automatically collapses them. This leads to "widget leaks", where
19291 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19292 hidden widgets can slow down cursor travel, substantially.
19293 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19294 so we're doing without this nicety.
19295
19296 (allout-widgets-tally-string): Don't try to do a hash-table-count
19297 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19298 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19299 *Messages* when allout-widgets-maintain-tally is t.
19300
355f2e07
MR
193012011-06-26 Martin Rudalics <rudalics@gmx.at>
19302
19303 * window.el (display-buffer-normalize-argument): Rename to
19304 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19305 LABEL argument. Respect special-display-function when popping up
19306 a new frame. Fix code searching for a window showing the buffer
19307 on another frame.
c9d29fb8
SM
19308 (display-buffer-normalize-specifiers):
19309 Call display-buffer-normalize-arguments.
355f2e07
MR
19310 (display-buffer-in-window): Don't undedicate the window if its
19311 buffer remains the same.
19312 Reported by Drew Adams <drew.adams@oracle.com>.
19313 (display-buffer-alist): Add choice for same-window macro
19314 specfier.
19315 (display-buffer): Mention special meaning of LABEL argument in
19316 doc-string. Fix quoting. Don't pop up a new frame even as
19317 fallback.
19318
7ca8fc42
JB
193192011-06-26 Juanma Barranquero <lekktu@gmail.com>
19320
19321 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19322 avoid deleting the current window in some cases (bug#8911).
19323
bc312254
AS
193242011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19325
19326 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19327 (Bug#8934)
19328
2db18f3f
LMI
193292011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19330
c9d29fb8
SM
19331 * net/network-stream.el (network-stream-open-starttls):
19332 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19333 (network-stream-open-tls): Ditto.
19334
6302e0d3
LL
193352011-06-26 Leo Liu <sdl.web@gmail.com>
19336
19337 * register.el (registerv): New struct.
19338 (registerv-make): New function.
c9d29fb8
SM
19339 (jump-to-register, describe-register-1, insert-register):
19340 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19341 struct. (Bug#8415)
19342
5fdd4046
CY
193432011-06-26 Chong Yidong <cyd@stupidchicken.com>
19344
2afef60a
CY
19345 * vc/vc.el (vc-revert-show-diff): New defcustom.
19346 (vc-diff-internal): New arg specifying diff buffer.
19347 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19348 reuse an existing *vc-diff* buffer (Bug#8927).
19349
5fdd4046
CY
19350 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19351
e93db24a
GM
193522011-06-26 Glenn Morris <rgm@gnu.org>
19353
19354 * progmodes/f90.el (f90-critical-indent): New option.
19355 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19356 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19357 (f90-mode): Doc fix.
19358 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19359 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19360 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19361 (f90-match-end): Handle block, critical.
19362
eefff499
GM
193632011-06-25 Glenn Morris <rgm@gnu.org>
19364
f6ba4cc9
GM
19365 * calendar/diary-lib.el (diary-included-files): Doc fix.
19366 (diary-include-files): New function, extracted from
19367 diary-include-other-diary-files and diary-mark-included-diary-files.
19368 (diary-include-other-diary-files, diary-mark-included-diary-files):
19369 Just call diary-include-files.
19370 (diary-mark-entries): Reset diary-included-files on first call.
19371
16712304
GM
19372 * calendar/diary-lib.el (diary-mark-entries)
19373 (diary-mark-included-diary-files):
19374 Visit included diary-files in temp buffers.
19375
5d8e0d43
GM
19376 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19377 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19378 (f90-start-block-re, f90-imenu-generic-expression)
19379 (f90-looking-at-program-block-start, f90-no-block-limit):
19380 Add support for submodules.
19381
ccf7a5d5
GM
19382 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19383 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19384
11fdef7d 193852011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19386
19387 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19388 buffer-file-type before setting its value, to avoid disastrous
eefff499 19389 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19390
74f53697
JB
193912011-06-25 Juanma Barranquero <lekktu@gmail.com>
19392
19393 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19394
19395 * ses.el (ses-unload-function):
19396 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19397
19398 * proced.el (proced-unload-function):
19399 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19400
18a4ce5e
AR
194012011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19402
19403 * server.el (server-create-window-system-frame): Add parameters arg.
19404 (server-process-filter): Doc fix. Handle frame-parameters.
19405
519d22cc
JB
194062011-06-25 Juanma Barranquero <lekktu@gmail.com>
19407
19408 Fix bug#8730, bug#8781.
19409
19410 * loadhist.el (unload--set-major-mode): New function.
19411 (unload-feature): Use it.
19412
19413 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19414 (python-unload-function): New function.
19415
c206f5b0
SM
194162011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19417
19418 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19419
f9ad64f3
GS
194202011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19421
19422 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19423 the candidates list.
19424
7d0da90e
JB
194252011-06-24 Juanma Barranquero <lekktu@gmail.com>
19426
19427 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19428
14b4e83d
RS
194292011-06-23 Richard Stallman <rms@gnu.org>
19430
19431 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19432 (rmail-variables): Set next-error-move-function.
19433 (rmail-what-message): Take argument POS.
19434 (rmail-next-error-move): New function.
19435
273d2baf
SM
194362011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19437
19438 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19439 messages for adjacent non-terminals.
19440
56c2cc9a
RS
194412011-06-23 Richard Stallman <rms@gnu.org>
19442
19443 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19444 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19445 (rmail-start-mail): Don't specify use of rmail-mail-return;
19446 that's done by mail-bury now.
19447 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19448
d59eb518
MA
194492011-06-23 Michael Albinus <michael.albinus@gmx.de>
19450
19451 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19452 SIZE is a number.
19453
02cfc6d6
MR
194542011-06-23 Martin Rudalics <rudalics@gmx.at>
19455
19456 * window.el (get-lru-window, get-mru-window)
19457 (get-largest-window): Never return a minibuffer window.
19458 (display-buffer-pop-up-window): Fix a bug that could lead to
19459 reusing the minibuffer window.
19460 (display-buffer): Pass original specifier argument to
19461 display-buffer-function instead of the normalized one.
19462 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19463
4e323265
LL
194642011-06-22 Leo Liu <sdl.web@gmail.com>
19465
19466 * minibuffer.el (completing-read-function)
1f9f395d 19467 (completing-read-default): Move from minibuf.c.
4e323265 19468
7a70468f
RS
194692011-06-22 Richard Stallman <rms@gnu.org>
19470
50718fc2
RS
19471 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19472 to Rmail even if not started by a special Rmail command.
19473
7a70468f
RS
19474 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19475 Copy the buffer currently showing just one message.
19476
297dde5a
RW
194772011-06-22 Roland Winkler <winkler@gnu.org>
19478
19479 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19480 (bibtex-clean-entry): First delete the old key so that a
19481 customized algorithm for generating the new key does not get
19482 confused by the old key.
19483 (bibtex-url): Obey regexp of first step.
19484 (bibtex-search-entries): Do not use add-to-list with local
19485 list-var.
19486
97bb1093
LMI
194872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19488
19489 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19490 stored a user name, then query for the password first, instead of
19491 waiting for SMTP to give an error message and the trying again.
19492
1c0f1a19
JD
194932011-06-22 Lawrence Mitchell <wence@gmx.li>
19494
19495 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19496 BUFFER in call-process.
19497
396f7c9d
LMI
194982011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19499
19500 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19501 QUIT twice.
ddb7ffee
LMI
19502 (smtpmail-try-auth-methods): Require user name and password from
19503 auth-source.
396f7c9d 19504
8998d1b3
MR
195052011-06-22 Martin Rudalics <rudalics@gmx.at>
19506
19507 * window.el (display-buffer-default-specifiers)
19508 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19509 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19510 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19511
19512 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19513 (special-display-frame-alist, special-display-popup-frame):
19514 Remove duplicate declarations. These are now in window.el.
19515
4ea31e07
LMI
195162011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19517
c9d29fb8
SM
19518 * mail/smtpmail.el (smtpmail-via-smtp):
19519 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19520 server supports it. SMTP servers that support STARTTLS commonly
19521 require it.
19522
19523 * net/network-stream.el (network-stream-open-starttls): Support
19524 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19525 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19526
95f41d9a
LMI
19527 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19528 upgrades with `open-network-stream', and rely solely on
19529 auth-source for all credentials. Big changes throughout the file,
19530 but in particular:
c9d29fb8
SM
19531 (smtpmail-auth-credentials): Remove.
19532 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19533 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19534 MAIL FROM, too.
95f41d9a 19535
c9d29fb8
SM
19536 * net/network-stream.el (network-stream-open-starttls):
19537 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19538 STARTTLS.
19539 (auth-source): Require.
19540 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19541 (network-stream-certificate): Change cert-cert to cert and
19542 cert-key to key.
4ea31e07 19543
065ec2c7
MA
195442011-06-21 Michael Albinus <michael.albinus@gmx.de>
19545
19546 * net/tramp-cache.el (top): Don't load the persistency file when
19547 "emacs -Q" has been called.
19548
cd93b359
DR
195492011-06-21 Tim Harper <timcharper@gmail.com>
19550
d8e4b68b
JB
19551 * term/ns-win.el (ns-initialize-window-system):
19552 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19553 resource to NO as it is not yet supported by the NS port.
19554
ae9c0411
JB
195552011-06-21 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19558 (list-dynamic-libraries): ...not here.
19559
7f3f739f
LL
195602011-06-21 Leo Liu <sdl.web@gmail.com>
19561
19562 * subr.el (sha1): Implement sha1 using secure-hash.
19563
327c8fb1
MR
195642011-06-21 Martin Rudalics <rudalics@gmx.at>
19565
19566 * window.el (display-buffer-alist): In default value do not
19567 enforce searching a window on any but the selected frame.
19568 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19569 (display-buffer-select-window): Remove function.
19570 (display-buffer-in-window): When a window on another frame gets
19571 reused, do not select it any more but just raise its frame if
19572 necessary (Bug#8851) and (Bug#8856).
19573 (display-buffer-normalize-options): Handle pop-up-frames related
19574 options more faithfully.
19575 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19576 window if it is on another frame.
c9d29fb8
SM
19577 (display-buffer-alist, display-buffer-default-specifiers):
19578 Don't make new frame unsplittable by default.
9e9de014
MR
19579 (display-buffer-normalize-argument): Fix doc-string typo and use
19580 'same-frame-other-window instead of 'other-window when associating
19581 with display-buffer-macro-specifiers.
327c8fb1 19582
7cf3f556
VB
195832011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19584
19585 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19586 New functions.
19587 (5x5-mode-map, 5x5-mode-menu): Bind them.
19588 (5x5-draw-grid): Tweak the solver's rendering.
19589
60a406cf
SM
195902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19591
19592 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19593 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19594
d8e4b68b 195952011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19596
19597 * menu-bar.el: Use function variable instead of switch-to-buffer.
19598 (menu-bar-select-buffer-function): New variable.
60a406cf 19599 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19600
478d6f95
SM
196012011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19602
19603 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19604 variable's status.
19605
ca530739
JD
196062011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19607
19608 * x-dnd.el (x-dnd-version-from-flags)
19609 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19610 and long as number (Bug#8899).
19611 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19612
bcd70d97
SM
196132011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19614
60a406cf 19615 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19616 (completion-try-completion, completion-all-completions): Compute the
19617 metadata argument if it's missing; make it optional (bug#8795).
19618
60a406cf 19619 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19620 (widget-complete): Use new :completion-function property.
19621 (widget-completions-at-point): New function.
19622 (default): Use :completion-function instead of :complete.
60a406cf
SM
19623 (widget-default-completions): Rename from widget-default-complete;
19624 Rewrite.
bcd70d97
SM
19625 (widget-string-complete, widget-file-complete, widget-color-complete):
19626 Remove functions.
19627 (file, symbol, function, variable, coding-system, color):
19628 * international/mule-cmds.el (default-input-method, charset)
19629 (language-info-custom-alist):
19630 * cus-edit.el (face): Use new property :completions.
19631
19632 * progmodes/pascal.el (pascal-completions-at-point): New function.
19633 (pascal-mode): Use it.
19634 (pascal-mode-map): Use completion-at-point.
19635 (pascal-toggle-completions): Make obsolete.
19636 (pascal-complete-word, pascal-show-completions):
19637 * progmodes/octave-mod.el (octave-complete-symbol):
19638 Redefine as obsolete alias.
19639 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19640 Signal absence of completion info for old Octave,
19641 (inferior-octave-complete): Redefine as obsolete alias.
19642 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19643 (meta-completions-at-point): Rename from meta-complete-symbol and
19644 adapt it for use on completion-at-point-functions.
19645 (meta-common-mode): Use it.
19646 (meta-looking-at-backward, meta-match-buffer): Remove.
19647 (meta-complete-symbol): Redefine as obsolete alias.
19648 (meta-common-mode-map): Use completion-at-point.
19649 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19650 (makefile-mode-map): Use completion-at-point.
19651 (makefile-completions-at-point): Rename from makefile-complete and
19652 adapt it for use on completion-at-point-functions.
19653 (makefile-mode): Use it.
19654 (makefile-complete): Redefine as obsolete alias.
19655
aebf69c8
DD
196562011-06-20 Deniz Dogan <deniz@dogan.se>
19657
19658 * net/rcirc.el: Delete trailing whitespaces once and for all.
19659
bfbbb27d
DC
196602011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19661
19662 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19663
d264a46b
CY
196642011-06-19 Chong Yidong <cyd@stupidchicken.com>
19665
4ca009e5
CY
19666 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19667
d264a46b
CY
19668 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19669
fbf5b3ce
MR
196702011-06-19 Martin Rudalics <rudalics@gmx.at>
19671
19672 * window.el (display-buffer-other-window-means-other-frame):
19673 Call display-buffer-normalize-alist.
19674 (display-buffer-normalize-specifiers-1): Rename to
19675 display-buffer-normalize-argument. New argument other-frame.
19676 Rewrite.
19677 (display-buffer-normalize-specifiers-2): Rename to
19678 display-buffer-normalize-options.
19679 (display-buffer-normalize-alist-1): New function.
19680 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19681 display-buffer-normalize-alist.
19682 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19683 (display-buffer-normalize-options-inhibit): New variable.
19684 (display-buffer-normalize-specifiers): Rewrite calling
19685 display-buffer-normalize-alist,
19686 display-buffer-normalize-argument, and
19687 display-buffer-normalize-options. Don't call the latter if
19688 display-buffer-normalize-options-inhibit is non-nil.
19689 (frame-auto-delete): New option.
19690 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19691 (window-list-no-nils, window-state-ignored-parameters)
19692 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19693 (window-state-put-1, window-state-put-2, window-state-put):
19694 New functions.
9a028c23
MR
19695 (display-buffer-normalize-options): Move special-display-p group
19696 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19697
6d10d800
CY
196982011-06-18 Chong Yidong <cyd@stupidchicken.com>
19699
6420d28b
CY
19700 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19701 groups (Bug#8776).
19702 (rx-submatch-n): New function.
19703 (rx): Document it.
19704
ddb8b596
CY
19705 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19706 (Bug#8768).
19707
19708 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19709
77080289
CY
19710 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19711
61dfb316
CY
19712 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19713 anytime existing face settings are present (Bug#8889).
19714
6d10d800
CY
19715 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19716 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19717 Remove unused argument.
19718
be3fb2b8
MR
197192011-06-18 Martin Rudalics <rudalics@gmx.at>
19720
bcd70d97
SM
19721 * window.el (display-buffer-default-specifiers):
19722 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19723 pop-up-window-min-width, and another reuse-window specifier
19724 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19725 (display-buffer-normalize-specifiers-2):
19726 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19727 pop-up-windows is unset. Add a reuse-window specifier for the
19728 case popping up a new window fails.
19729 (special-display-popup-frame): Remove double quoting.
28dec25a 19730 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19731
1c6d8c76
SM
197322011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19735 according to comint-completion-addsuffix.
19736
19737 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19738 (pcomplete-suffix-list): Mark as obsolete.
19739 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19740 pcomplete-seen in the closure.
19741 (pcomplete-comint-setup): Setup completion-at-point as well.
19742 (pcomplete--entries): New function.
19743 (pcomplete--env-regexp): New var.
19744 (pcomplete-entries): Rewrite to work with partial-completion and
19745 without relying on pcomplete-suffix-list.
19746 (pcomplete-pare-list): Remove, unused.
19747
25aef8b8
MR
197482011-06-17 Martin Rudalics <rudalics@gmx.at>
19749
19750 * window.el (display-buffer-alist): Set pop-up-window-min-height
19751 and pop-up-window-min-width in default value. Reported by
19752 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19753 other-window-means-other-frame.
19754 (display-buffer-macro-specifiers): Comment out entry for
19755 other-window specifier.
19756 (display-buffer-other-window-means-other-frame): New function.
19757 (display-buffer-normalize-specifiers-1): New arguments
19758 buffer-name and label. Treat other-window case specially.
19759 (display-buffer-normalize-specifiers-2): Treat other-window case
19760 specially.
19761 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19762 (display-buffer-normalize-specifiers):
19763 Call display-buffer-normalize-specifiers-3.
25aef8b8 19764
dbad4f69
MR
197652011-06-17 Martin Rudalics <rudalics@gmx.at>
19766
19767 * window.el (same-window-p): Fix two typos introduced when
19768 adding with-no-warnings.
d1067961
MR
19769 (display-buffer-normalize-specifiers-1): Don't check
19770 pop-up-frames for 'unset initialization.
19771 (display-buffer-normalize-specifiers-2): Major rewrite using
19772 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19773 (pop-up-frames, display-buffer-reuse-frames)
19774 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19775 Suggested by David Engster <deng@randomsample.de>.
19776 (even-window-heights): Initialize to 'unset.
19777 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19778 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19779 other window case.
dbad4f69 19780
9b9c9e3a
MR
197812011-06-16 Martin Rudalics <rudalics@gmx.at>
19782
bcd70d97
SM
19783 * window.el (display-buffer-normalize-specifiers-1):
19784 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19785 second argument of display-buffer (Bug#8865).
981d5c09
MR
19786 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19787 (switch-to-buffer-other-window-same-frame)
19788 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19789 Adams (Bug#8875).
9c2755e9
MR
19790 (display-buffer): Don't check noninteractive when calling
19791 display-buffer-pop-up-frame.
19792 (display-buffer-pop-up-frame): Never pop up a frame in
19793 noninteractive mode (Bug#8857).
67222e1d
MR
19794 (enlarge-window, shrink-window): Don't report an error when the
19795 window can't be resized as requested (Bug#8862).
9b9c9e3a 19796
2b75be67
SM
197972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19798
9ffdd3ba
SM
19799 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19800
cb581a67
SM
19801 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19802
2b75be67
SM
19803 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19804
8c0e3589
AM
198052011-06-15 Alan Mackenzie <acm@muc.de>
19806
cb581a67
SM
19807 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19808 for declarators, disable knr checking to speed up for normal files.
19809 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19810
b96e6cde
LMI
198112011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19812
4bba86e6
LMI
19813 * net/network-stream.el (open-network-stream): Add the keyword
19814 :always-query-capabilities for the case where you want to force a
19815 `plain' network connection, but the protocol still requires the
19816 capabilitiy command (i.e., SMTP and EHLO).
19817
2b75be67 19818 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19819 consistency with other `-live-p' functions.
19820
efdcdbf8
SM
198212011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * window.el (same-window-buffer-names, same-window-regexps)
19824 (special-display-frame-alist, special-display-popup-frame)
19825 (special-display-function, special-display-buffer-names)
19826 (special-display-regexps, pop-up-frame-alist)
19827 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19828 (pop-up-windows, split-window-preferred-function)
19829 (split-height-threshold, split-width-threshold, even-window-heights)
19830 (display-buffer-mark-dedicated): Don't encourage the use of
19831 display-buffer-alist from Elisp code.
19832
c5cde042
DN
198332011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19834
19835 * progmodes/python.el (python-mode): Derive from prog-mode.
19836 * progmodes/ps-mode.el (ps-mode):
19837 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19838 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19839 * progmodes/ld-script.el (ld-script-mode): Likewise.
19840
baa1c9ab
MR
198412011-06-15 Martin Rudalics <rudalics@gmx.at>
19842
19843 * window.el (display-buffer-alist): Trim default value to avoid
19844 popping up a new frame (Bug#8857) or reusing an arbitrary window
19845 on another frame.
19846 (display-buffer): Do not fall back on popping up a new frame in
19847 batch mode (Bug#8857).
19848
c5dd5a51
CY
198492011-06-14 Chong Yidong <cyd@stupidchicken.com>
19850
19851 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19852 (custom-theme-summary): New function.
19853 (customize-themes): Use it.
19854
d647b7c4
GM
198552011-06-13 Glenn Morris <rgm@gnu.org>
19856
19857 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19858
9481c002
MR
198592011-06-13 Martin Rudalics <rudalics@gmx.at>
19860
357f93d2
MR
19861 * help.el (help-window): Remove variable.
19862 (help-window-point-marker, temp-buffer-max-height)
19863 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19864 (help-print-return-message): Don't set help-window.
19865 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19866 (help-window-setup-finish): Remove.
19867 (help-window-display-message, help-window-setup)
19868 (with-help-window): Major rewrite based on new
19869 display-buffer-window variable.
19870
19871 * help-mode.el (help-mode-finish): Remove help-window related
19872 code.
19873
19874 * view.el (view-exits-all-viewing-windows): Remove reference to
19875 view-return-to-alist in doc-string.
19876 (view-return-to-alist): Make obsolete.
19877 (view-buffer): Call pop-to-buffer-same-window and remove
19878 undo-window code.
19879 (view-buffer-other-window): Call pop-to-buffer-other-window and
19880 simplify code. Ignore second argument.
19881 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19882 simplify code. Ignore second argument.
19883 (view-return-to-alist-update): Make obsolete.
19884 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19885 Rewrite using quit-restore window parameters.
2b75be67
SM
19886 (view-mode-exit): Rename second argument to EXIT-ONLY.
19887 Rewrite using quit-restore-window.
357f93d2
MR
19888 (View-exit, View-exit-and-edit, View-leave, View-quit)
19889 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19890 appropriate arguments.
19891 (view-end-message): Use quit-restore window parameter.
19892
9481c002
MR
19893 * window.el (display-buffer-function): Rewrite doc-string.
19894 (display-buffer-window, display-buffer-alist): New variables.
19895 (display-buffer-split-specifiers)
19896 (display-buffer-side-specifiers)
19897 (display-buffer-macro-specifiers): New constants.
19898 (display-buffer-even-window-sizes, display-buffer-set-height)
19899 (display-buffer-set-width, display-buffer-select-window)
19900 (display-buffer-in-window, display-buffer-reuse-window)
19901 (display-buffer-split-window-1, display-buffer-split-window)
19902 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19903 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19904 (display-buffer-in-side-window, normalize-buffer-to-display)
19905 (display-buffer-normalize-specifiers-1)
19906 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19907 (display-buffer-normalize-specifiers, display-buffer-frame):
19908 New functions.
9481c002
MR
19909 (display-buffer): Major rewrite.
19910 (display-buffer-other-window, display-buffer-other-frame)
19911 (pop-to-buffer, switch-to-buffer-other-window)
19912 (switch-to-buffer-other-frame): Rewrite.
19913 (display-buffer-same-window, display-buffer-same-frame)
19914 (display-buffer-same-frame-other-window)
19915 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19916 (pop-to-buffer-other-window)
19917 (pop-to-buffer-same-frame-other-window)
19918 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19919 (switch-to-buffer-other-window-same-frame): New functions.
19920 (same-window-p, special-display-p): Rewrite disabling warnings.
19921 Make obsolete.
19922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19923 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19924 Make obsolete
19925 (same-window-buffer-names, same-window-regexps)
19926 (special-display-frame-alist, special-display-popup-frame)
19927 (special-display-function, special-display-buffer-names)
19928 (special-display-regexps, pop-up-frame-alist)
19929 (pop-up-frame-function, split-window-preferred-function)
19930 (split-height-threshold, split-width-threshold)
19931 (even-window-heights): Make obsolete.
19932
9db51aca
GM
199332011-06-12 Glenn Morris <rgm@gnu.org>
19934
19935 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19936 Misc simplifications.
9db51aca 19937
39cffb44
MR
199382011-06-12 Martin Rudalics <rudalics@gmx.at>
19939
19940 * window.el (window-safely-shrinkable-p): Restore function which
19941 was inadvertently removed in change from 2011-06-11. Declare as
19942 obsolete.
19943
2b75be67
SM
19944 * calendar/calendar.el (calendar-generate-window):
19945 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19946 window-safely-shrinkable-p.
19947
a8955be7
GM
199482011-06-12 Glenn Morris <rgm@gnu.org>
19949
19950 * progmodes/fortran.el (fortran-mode-syntax-table):
19951 * progmodes/f90.el (f90-mode-syntax-table):
19952 Set % to punctuation. (Bug#8820)
19953 (f90-find-tag-default): Remove, no longer needed.
19954
f0d4059d
DC
199552011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19956
19957 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19958
1100a63c
CY
199592011-06-11 Chong Yidong <cyd@stupidchicken.com>
19960
19961 * image.el (image-animated-p): Return animation delay in seconds.
19962 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19963 (image-animate-timeout): Remove DELAY argument. Don't assume
19964 every subimage has the same delay; get it from image-animated-p.
19965 (image-animate): Caller changed.
19966
def722bf
MA
199672011-06-11 Michael Albinus <michael.albinus@gmx.de>
19968
19969 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19970 to ignored backtrace functions.
19971
0a2bb1a9
GM
199722011-06-11 Glenn Morris <rgm@gnu.org>
19973
19974 * calendar/appt.el (appt-disp-window-function): Doc fix.
19975 (appt-check): Handle overlapping appointments. (Bug#8337)
19976
6198ccd0
MR
199772011-06-11 Martin Rudalics <rudalics@gmx.at>
19978
19979 * window.el (window-tree-1, window-tree): New functions, moving
19980 the latter to window.el.
19981 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19982 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19983 (bw-refresh-edges): Remove.
19984 (balance-windows-1, balance-windows-2): New functions.
19985 (balance-windows): Rewrite in terms of window tree functions,
19986 balance-windows-1 and balance-windows-2.
19987 (bw-adjust-window): Remove.
19988 (balance-windows-area-adjust): New function with functionality of
19989 bw-adjust-window but using resize-window.
2b75be67
SM
19990 (set-window-text-height): Rewrite doc-string.
19991 Use normalize-live-window and resize-window.
19992 (enlarge-window-horizontally, shrink-window-horizontally):
19993 Rename argument to DELTA.
6198ccd0
MR
19994 (window-buffer-height): New function.
19995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19996 Rewrite using new window resize routines.
2b75be67
SM
19997 (kill-buffer-and-window, mouse-autoselect-window-select):
19998 Use ignore-errors instead of condition-case.
6198ccd0
MR
19999 (quit-window): Call delete-frame instead of delete-windows-on
20000 for the only buffer on frame.
20001
9397e56f
MR
200022011-06-10 Martin Rudalics <rudalics@gmx.at>
20003
20004 * loadup.el (top-level): Load window before files for the sake
20005 of replace-buffer-in-windows.
20006
20007 * files.el (read-buffer-to-switch)
20008 (switch-to-buffer-other-window)
2b75be67
SM
20009 (switch-to-buffer-other-frame, display-buffer-other-frame):
20010 Move to window.el.
9397e56f
MR
20011
20012 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20013 (previous-buffer): Move to window.el.
20014
20015 * bindings.el (unbury-buffer): Move to window.el.
20016
20017 * window.el (delete-other-windows-vertically): Move after
20018 definition of delete-other-windows.
20019 (other-window, delete-windows-on, replace-buffer-in-windows):
20020 Move here from window.c.
20021 (record-window-buffer, unrecord-window-buffer)
20022 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20023 (switch-to-next-buffer): New functions.
20024 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20025 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20026 (previous-buffer): Move here from simple.el.
20027 Call switch-to-prev-buffer.
9397e56f
MR
20028 (bury-buffer): Move here from buffer.c. Switch to previous
20029 buffer when window cannot be deleted.
20030 (unbury-buffer): Move here from bindings.el.
20031 (ctl-x-map): Move binding for other-window from window.c to
20032 here.
20033 (read-buffer-to-switch, switch-to-buffer-other-window)
20034 (switch-to-buffer-other-frame): Move here from files.el.
20035 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20036 (switch-to-buffer): Move here from buffer.c.
20037 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20038
562dd5e9
MR
200392011-06-10 Martin Rudalics <rudalics@gmx.at>
20040
20041 * window.el (window-min-height, window-min-width): Move here
20042 from window.c. Add defcustoms and rewrite doc-strings.
20043 (resize-mini-window, resize-window): New functions.
20044 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20045 Move here from window.c.
20046 (maximize-window, minimize-window): New functions.
20047 (delete-window, delete-other-windows, split-window): Move here
20048 from window.c.
20049 (window-split-min-size): New function.
20050 (split-window-keep-point): Mention split-window-above-each-other
20051 instead of split-window-vertically.
2b75be67 20052 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20053 Rename split-window-vertically to split-window-above-each-other
20054 and provide defalias for old definition.
20055 (split-window-side-by-side, split-window-horizontally):
20056 Rename split-window-horizontally to split-window-side-by-side
20057 and provide defalias for the old definition.
562dd5e9
MR
20058 (ctl-x-map): Move bindings for delete-window,
20059 delete-other-windows and enlarge-window here from window.c.
20060 Replace bindings for split-window-vertically and
20061 split-window-horizontally by bindings for
20062 split-window-above-each-other and split-window-side-by-side.
20063
20064 * cus-start.el (all): Remove entries for window-min-height and
20065 window-min-width. Add entries for window-splits and
20066 window-nest.
20067
f0da764a
GM
200682011-06-09 Glenn Morris <rgm@gnu.org>
20069
80675c21
GM
20070 * calendar/appt.el (appt-mode-line): New function.
20071 (appt-check, appt-disp-window): Use it.
20072
f0da764a
GM
20073 * files.el (hack-one-local-variable-eval-safep):
20074 Allow minor-modes with explicit +/-1 arguments.
20075
59f623b7
TZ
200762011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20077
20078 * term/xterm.el (xterm): Add defgroup.
20079 (xterm-extra-capabilities): Add defcustom to supply known xterm
20080 capabilities, skip querying them, or query them (default).
20081 (terminal-init-xterm): Use it.
20082 (terminal-init-xterm-modify-other-keys): New function to set up
20083 modifyOtherKeys support to simplify `terminal-init-xterm'.
20084
9aab8e0d
MR
200852011-06-09 Martin Rudalics <rudalics@gmx.at>
20086
20087 * window.el (resize-window-reset, resize-window-reset-1)
20088 (resize-subwindows-skip-p, resize-subwindows-normal)
20089 (resize-subwindows, resize-other-windows, resize-this-window)
20090 (resize-root-window, resize-root-window-vertically)
20091 (window-deletable-p, window-or-subwindow-p)
20092 (frame-root-window-p): New functions.
20093
e8b08aee
GM
200942011-06-09 Glenn Morris <rgm@gnu.org>
20095
20096 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20097 (ange-ftp-get-files): Use it.
20098
254c37a5
AK
200992011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20100
20101 * mail/sendmail.el (mail-recover-1, mail-recover):
20102 * files.el (recover-file, recover-session):
20103 Handle dired-listing-switches not being just a single short option.
20104
35d7dbd3
GM
201052011-06-09 Glenn Morris <rgm@gnu.org>
20106
20107 * calendar/appt.el (appt-display-message, appt-disp-window):
20108 Handle lists of appointments.
20109
387522b2
MR
201102011-06-08 Martin Rudalics <rudalics@gmx.at>
20111
2b75be67
SM
20112 * window.el (one-window-p): Move down in code.
20113 Rewrite doc-string.
20114 (window-current-scroll-bars): Rewrite doc-string.
20115 Normalize live window argument.
387522b2
MR
20116 (walk-windows, get-window-with-predicate, count-windows):
20117 Rewrite doc-string. Use window-list-1.
20118 (window-in-direction-2, window-in-direction, get-mru-window):
20119 New functions.
20120
d8e4b68b 201212011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20122
20123 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20124 Doc fix (Bug#8713).
20125
201262011-06-08 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20129
201302011-06-08 Juanma Barranquero <lekktu@gmail.com>
20131
20132 * loadhist.el (unload-feature-special-hooks):
20133 Add `comint-output-filter-functions'.
20134
0de12c52
IK
201352011-06-08 Ivan Kanis <gnu@kanis.fr>
20136
20137 * calendar/appt.el (appt-check): Move some initializations into the let.
20138
f3d1777e
MR
201392011-06-08 Martin Rudalics <rudalics@gmx.at>
20140
20141 * window.el (window-height): Defalias to window-total-height.
20142 (window-width): Defalias to window-body-width.
20143
18af70d0
CY
201442011-06-07 Chong Yidong <cyd@stupidchicken.com>
20145
20146 * image-mode.el (image-toggle-animation): New command.
20147 (image-mode-map): Bind it to RET.
20148 (image-mode): Update message.
20149 (image-toggle-display-image): Avoid a spurious cache flush.
20150 (image-transform-rotation): Doc fix.
20151 (image-transform-properties): Return quickly in the normal case.
20152 (image-animate-loop): Rename from image-animate-max-time.
20153
2b75be67 20154 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20155 (create-animated-image): Remove unnecessary function.
20156 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20157 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20158 (image-animate-timer): Use car-safe.
20159 (image-animate-timeout): Rename argument.
20160
190b47e6
MR
201612011-06-07 Martin Rudalics <rudalics@gmx.at>
20162
20163 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20164 window.c. Rename first argument to ALL-FRAMES.
20165 Rephrase doc-strings.
20166 (get-buffer-window-list): Rewrite using window-list-1.
20167 Rephrase doc-string.
a1511caf
MR
20168 (window-safe-min-height, window-safe-min-width): New constants.
20169 (window-size-ignore, window-min-size, window-min-size-1)
20170 (window-sizable, window-sizable-p, window-size-fixed-1)
20171 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20172 (window-max-delta-1, window-max-delta, window-resizable)
20173 (window-resizable-p, window-total-height, window-total-width)
20174 (window-body-width): New functions.
20175 (window-full-height-p, window-full-width-p): Rewrite using
20176 window-total-size.
20177 (window-body-height): Rewrite using window-body-size.
190b47e6 20178
85cc1f11
MR
201792011-06-06 Martin Rudalics <rudalics@gmx.at>
20180
20181 * window.el (window-right, window-left, window-child)
20182 (window-child-count, window-last-child, window-any-p)
20183 (normalize-live-buffer, normalize-live-frame)
20184 (normalize-any-window, normalize-live-window)
20185 (window-iso-combination-p, window-iso-combined-p)
20186 (window-iso-combinations)
20187 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20188 (windows-with-parameter, window-with-parameter)
20189 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20190 (window-atom-check, window-side-check, window-check):
20191 New functions.
85cc1f11
MR
20192 (ignore-window-parameters, window-sides, window-sides-vertical)
20193 (window-sides-slots): New variables.
20194 (window-size-fixed): Move down in code. Minor doc-string fix.
20195
e7156492
AS
201962011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20197
20198 * comint.el (comint-dynamic-complete-as-filename)
20199 (comint-dynamic-complete-filename): Correctly call
20200 completion-in-region.
20201
7e821d0d
DD
202022011-06-05 Deniz Dogan <deniz@dogan.se>
20203
20204 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20205 in last change.
20206
ac09b8a1
DD
202072011-06-05 Deniz Dogan <deniz@dogan.se>
20208
20209 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20210 (rcirc): Use it to prompt for encryption.
20211
34699b85
RW
202122011-06-05 Roland Winkler <winkler@gnu.org>
20213
20214 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20215 (bibtex-search-entries): New command bound to C-c C-a.
20216 (bibtex-display-entries): New function.
20217
004dedd3
RW
202182011-06-05 Roland Winkler <winkler@gnu.org>
20219
20220 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20221 (bibtex-insert-kill): After yanking insert newline if necessary.
20222 (bibtex-initialize): Call bibtex-string-files-init only once.
20223 (bibtex-mode): Do not call easy-menu-add.
20224 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20225 (bibtex-yank): Set arg properly if nil.
20226
022fe7ce
RW
202272011-06-05 Roland Winkler <winkler@gnu.org>
20228
2b75be67
SM
20229 * textmodes/bibtex.el (bibtex-search-entry-globally):
20230 New variable.
022fe7ce
RW
20231 (bibtex-search-entry): Use it.
20232
b7c3692a
RW
202332011-06-05 Roland Winkler <winkler@gnu.org>
20234
20235 * textmodes/bibtex.el (bibtex-entry-format): New option
20236 sort-fields.
20237 (bibtex-format-entry, bibtex-reformat): Honor this option.
20238 (bibtex-parse-entry): Return fields in proper order.
20239
8eda563d
JB
202402011-06-05 Juanma Barranquero <lekktu@gmail.com>
20241
20242 * doc-view.el (doc-view-remove-if): Move computation of result out
20243 of `dolist' to silence misleading lexical-binding warning.
20244
7dbe3dbc
CY
202452011-06-04 Chong Yidong <cyd@stupidchicken.com>
20246
20247 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20248 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20249
0c33dd17
MA
202502011-06-04 Michael Albinus <michael.albinus@gmx.de>
20251
20252 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20253 "SunOS 5.10".
20254
f8f91c2b
MA
202552011-06-04 Michael Albinus <michael.albinus@gmx.de>
20256
20257 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20258 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20259 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20260 (tramp-parse-putty):
20261 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20262 (tramp-completion-function-alist-ssh)
20263 (tramp-completion-function-alist-telnet)
20264 (tramp-completion-function-alist-su)
20265 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20266 cookie.
20267
20268 * net/tramp-ftp.el:
20269 * net/tramp-sh.el:
20270 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20271 load "tramp.el" `tramp-set-completion-function'.
20272
e17d9003
SM
202732011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20274
20275 * shell.el: Require and use pcomplete.
20276 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20277 (shell-completion-vars): Set pcomplete-default-completion-function.
20278
6c4cab03
DD
202792011-06-04 Deniz Dogan <deniz@dogan.se>
20280
20281 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20282 `memq' (Bug#8799).
20283
ea9fafe0
SM
202842011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20285
20286 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20287
b3e945d3
JB
202882011-06-02 Juanma Barranquero <lekktu@gmail.com>
20289
20290 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20291 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20292 * vc/log-view.el (log-view-beginning-of-defun):
20293 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20294 (smerge-refine-forward, smerge-refine-chopup-region):
20295 Silence warning for unused `dotimes' counter variables.
20296
7d520089
SM
202972011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * net/tramp.el (tramp-with-progress-reporter): Rename from
20300 with-progress-reporter. Use `declare'.
20301 * net/tramp-smb.el:
20302 * net/tramp-sh.el:
20303 * net/tramp-gvfs.el: Update all uses.
20304
a1c2400f
JB
203052011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20306
20307 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20308 buffer isn't killed before making it current.
20309
2403c841
SM
203102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20311
20312 Silence various byte-compiler warnings.
20313 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20314 `access-type' and new obsolescence format.
20315 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20316 new format.
20317 (byte-compile-check-variable): New `access-type' argument.
20318 Only warn if the access-type is obsolete.
20319 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20320 (byte-compile-variable-set): Adjust callers.
20321 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20322 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20323 setting it as obsolete.
20324 * simple.el (minibuffer-completing-symbol):
20325 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20326 access as obsolete.
20327 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20328 obsolete yet.
20329 * international/quail.el (quail-mouse-choose-completion): Remove unused
20330 code referring to obsolete var.
20331 (quail-choose-completion-string): Remove.
20332 * server.el (server-clients-with, server-kill-buffer-query-function)
20333 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20334 * proced.el (proced-send-signal):
20335 * emacs-lisp/lisp.el (lisp-complete-symbol):
20336 Replace completion-annotate-function with completion-extra-properties.
20337
2462470b
SM
203382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20339
fb5b2591
SM
20340 * simple.el (goto-line): Use read-number.
20341 (overriding-map-is-bound): Remove.
20342 (saved-overriding-map): Change default.
20343 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20344 Take the map as argument.
20345 (universal-argument, negative-argument, digit-argument): Use it.
20346 (restore-overriding-map): Adjust.
20347 (do-auto-fill): Use fill-forward-paragraph.
20348 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20349
fd6fa53f
SM
20350 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20351 (minibuffer-inactive-mode): New major mode.
20352 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20353 the *Messages* buffer" hack.
20354 (mouse-popup-menubar): Don't burp if the event is a normal key.
20355
2462470b
SM
20356 Miscellaneous tweaks.
20357 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20358 lexical scoping as in subr.el's dolist and dotimes.
20359 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20360 Silence compiler warning.
20361 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20362 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20363 * international/ccl.el (ccl-compile): Trivial simplification.
20364 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20365 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20366 `printflag' argument.
20367 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20368 Purecopy the whole obsolescence data.
20369
108bf785
LL
203702011-06-01 Leo Liu <sdl.web@gmail.com>
20371
20372 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20373 improve doc-string as suggested by Marco Pessotto
20374 <melmothx@gmail.com>.
20375 (rcirc-print): Fix last change.
20376
30a23501
SM
203772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20378
20379 * minibuffer.el (complete-with-action): Return nil for the metadata and
20380 boundaries of non-functional tables.
20381 (completion-table-dynamic): Return nil for the metadata.
20382 (completion-table-with-terminator): Add default case, using
20383 complete-with-action.
20384 (completion--metadata): New function.
20385 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20386 to try and avoid pathological performance problems.
20387 (completion--embedded-envvar-table): Return `category' metadata.
20388
bcd54f83
LMI
203892011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20390
20391 * subr.el (process-alive-p): New tiny convenience function.
20392
e227544d
SM
203932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20394
20395 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20396 content but also its previous major mode.
20397
e8296fdc
HE
203982011-05-31 Helmut Eller <eller.helmut@gmail.com>
20399
4d61f28d 20400 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20401 *Backtrace* buffer when we exit with C-M-c.
20402
620c53a6
SM
204032011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20404
20405 * minibuffer.el: Add metadata method to completion tables.
20406 (completion-category-overrides): New defcustom.
20407 (completion-metadata, completion--field-metadata)
20408 (completion-metadata-get, completion--styles)
20409 (completion--cycle-threshold): New functions.
20410 (completion-try-completion, completion-all-completions):
20411 Add `metadata' argument to choose completion-styles.
20412 (completion--do-completion): Use metadata to choose cycling.
20413 (completion-all-sorted-completions): Use metadata for sorting.
20414 Remove :completion-cycle-penalty which is not needed any more.
20415 (completion--try-word-completion): Add `metadata' argument.
20416 (minibuffer-completion-help): Check metadata for annotation function
20417 and sorting.
20418 (completion-file-name-table): Return `category' metadata.
20419 (minibuffer-completing-file-name): Make obsolete.
20420 * simple.el (minibuffer-completing-symbol): Make obsolete.
20421 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20422 completion-try-completion.
20423
1257e755
SM
204242011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20425
20426 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20427
3767e706
LL
204282011-05-30 Leo Liu <sdl.web@gmail.com>
20429
20430 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20431 (rcirc-print): Decode all incoming messages (bug#8744).
20432 (rcirc-decode-coding-system): Allow value nil for automatic coding
20433 system detection.
3767e706 20434
d1a5d56a
GM
204352011-06-01 Glenn Morris <rgm@gnu.org>
20436
20437 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20438
e8cbec34
CY
204392011-05-29 Chong Yidong <cyd@stupidchicken.com>
20440
20441 * image.el (image-animate-max-time): Allow nil and t values.
20442 Default to nil.
20443 (create-animated-image): Doc fix.
20444 (image-animate-start): Remove second arg; just use
20445 image-animate-max-time.
20446 (image-animate-timeout): Doc fix. Args changed.
20447
20448 * image-mode.el (image-toggle-display-image): Ensure that the
20449 image spec passed to the animate timer is the same object as in
58179cce 20450 the buffer's display property (Bug#6981).
e8cbec34
CY
20451 (image-transform-properties): Doc fix.
20452
20453 * image.el (image-animate-max-time): Default to nil.
20454
159daf87
MR
204552011-05-29 Martin Rudalics <rudalics@gmx.at>
20456
20457 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20458 entire buffer list (Bug#8184).
20459
d66c4c7c
CY
204602011-05-29 Chong Yidong <cyd@stupidchicken.com>
20461
20462 * image.el (imagemagick-types-inhibit)
20463 (imagemagick-register-types): Doc fix.
20464
80aec780
DD
204652011-05-29 Deniz Dogan <deniz@dogan.se>
20466
20467 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20468 default.
20469
1dd3c2d9
CY
204702011-05-29 Chong Yidong <cyd@stupidchicken.com>
20471
20472 * select.el: Don't perform clipboard-manager saving in hooks;
20473 leave the hooks empty.
20474
60e56523
LL
204752011-05-28 Leo Liu <sdl.web@gmail.com>
20476
20477 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20478 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20479 (occur-edit-mode): New major mode (Bug#8463).
20480 (occur-after-change-function): New function.
20481 (occur-engine): Give Occur tags a read-only property.
20482
2b1e1a22
KR
204832011-05-28 Kevin Ryde <user42@zip.com.au>
20484
20485 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20486
5d344e88
CY
204872011-05-28 Chong Yidong <cyd@stupidchicken.com>
20488
8e6ca83d
CY
20489 * bindings.el (help-echo): Make the initial non-indicator dash
20490 empty on graphical terminals (Bug#7295).
20491
5d344e88
CY
20492 * files.el (auto-mode-alist): Move config rule after the
20493 in-stripping one (Bug#8547).
20494
bfbbace7
CY
20495 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20496
fbeba6e2
CY
20497 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20498 setting (Bug#8740).
20499
60ed8c72
AA
205002011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20501
4ac619f0
AA
20502 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20503 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20504 (Bug#8539).
60ed8c72 20505
23db196e
CY
205062011-05-28 Chong Yidong <cyd@stupidchicken.com>
20507
20508 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20509
5012f24c
DK
205102011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20511
20512 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20513 (hs-hide-block-at-point, hs-find-block-beginning)
20514 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20515 (Bug#8279).
20516
6a639b16
GM
205172011-05-28 Glenn Morris <rgm@gnu.org>
20518
20519 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20520
d43eaf2c
CY
205212011-05-28 Chong Yidong <cyd@stupidchicken.com>
20522
5199bde1
CY
20523 * help-fns.el (describe-function-1): If the function is a derived
20524 major mode, print the parent mode.
20525
d43eaf2c
CY
20526 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20527 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20528
423428a8
SM
205292011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20530
0ff8e1ba 20531 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20532 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20533 * progmodes/etags.el (tags-completion-at-point-function):
20534 * info-look.el (info-lookup-completions-at-point): Mark as
20535 non-exclusive.
20536 (info-complete): Adjust accordingly.
20537
423428a8
SM
20538 * info-look.el: Convert to lexical-binding and completion-at-point.
20539 (info-lookup-completions-at-point): New function.
20540 (info-complete): Use it and completion-in-region.
20541
b74aa22b
DA
205422011-05-28 Drew Adams <drew.adams@oracle.com>
20543
20544 * isearch.el: Let M-e start with point at the first mismatched char.
20545 (isearch-fail-pos): New function.
20546 (isearch-edit-string): Use it.
20547
66e2e71d
DK
205482011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20549
20550 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20551
b1890b0f 205522011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20553
20554 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20555 traversal functions for avl-trees.
20556 (avl-tree--stack): New struct.
20557 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20558 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20559 (avl-tree--do-enter): Add optional `updatefun' arg.
20560 Change return value.
eb95d01d 20561 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20562 (avl-tree--do-delete): Add `test' and `nilflag' args.
20563 Change return value.
eb95d01d
TC
20564 (avl-tree-member): Add optional `nilflag'
20565 (avl-tree-member-p): New function.
20566 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20567 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20568 (avl-tree-stack-empty-p): New functions.
20569
3769ddcf
TC
20570 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20571 avl-tree--del-balance1 and make it work both ways.
20572 (avl-tree--del-balance2): Remove.
20573 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20574 make it work both ways.
20575 (avl-tree--enter-balance2): Remove.
20576 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20577 New macros.
20578 (avl-tree--mapc, avl-tree-map): Add direction argument.
20579
eb95d01d 205802011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20581
20582 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20583
a9f737ee
CY
205842011-05-27 Chong Yidong <cyd@stupidchicken.com>
20585
20586 * select.el: Support clipboard managers with built-in function
20587 x-clipboard-manager-save, via delete-frame-functions and
20588 kill-emacs-hook.
20589 (xselect-convert-to-targets): Add MULTIPLE target to list.
20590 (xselect-convert-to-save-targets): New function.
20591
c92a1e54
KH
205922011-05-27 Kenichi Handa <handa@m17n.org>
20593
20594 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20595 let-binding rfc2047-encode-encoded-words to nil.
20596
e145f188
GM
205972011-05-27 Glenn Morris <rgm@gnu.org>
20598
5ec8a862
GM
20599 * mail/emacsbug.el: Don't require url-util.
20600
4b29d9fb
GM
20601 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20602
e145f188
GM
20603 * files.el (set-auto-mode):
20604 Also respect mode: entries at the end of the file. (Bug#8586)
20605
7d15102b
GM
206062011-05-26 Glenn Morris <rgm@gnu.org>
20607
98f593b8
GM
20608 * files.el (hack-local-variables-prop-line, hack-local-variables):
20609 Downcase mode names, as seems to be traditional.
27b48e63 20610 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20611
7d15102b
GM
20612 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20613 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20614
51d5b4ec
JD
206152011-05-25 Julien Danjou <julien@danjou.info>
20616
20617 * textmodes/rst.el (rst-define-level-faces): Do not define face
20618 symbol if it is already defined.
20619
91513f63
VB
206202011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20621
20622 * play/5x5.el (5x5-new-game, 5x5-randomize):
20623 Reset 5x5-solver-output to nil when a new grid is cast.
20624 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20625 these debugging traces, as defmacro breaks the compiled code.
20626
4d90d6d0
DK
206272011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20628
20629 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20630
e1b90ef6
LL
206312011-05-24 Leo Liu <sdl.web@gmail.com>
20632
20633 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20634 (vc-bzr-sha1): Adapt.
20635
d8e4b68b 20636 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20637
20638 * bindings.el: Provide sha1 feature.
20639
db0406bb 206402011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20641
20642 * mail/sendmail.el: Require `rfc2047'.
20643 (mail-insert-from-field): Do not perform RFC2047 encoding.
20644 (mail-encode-header): New function.
20645 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20646 buffer to the return value of select-message-coding-system.
20647 Call mail-encode-header.
b8d747b9
KH
20648
20649 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20650
db0406bb 206512011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20652
4d90d6d0
DK
20653 * mail/supercite.el (sc-default-cite-frame):
20654 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20655
eb8a5e9b
GM
206562011-05-24 Glenn Morris <rgm@gnu.org>
20657
f8630703
GM
20658 * progmodes/python.el (brm-menu): Declare.
20659
8831bbed
GM
20660 * emulation/viper.el (viper-set-hooks): Declare.
20661
eb8a5e9b
GM
20662 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20663 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20664 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20665 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20666 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20667 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20668
a2a25d24
SM
206692011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20670
20671 Add an :exit-function for completion-at-point.
20672
20673 * minibuffer.el (completion--done): New fun.
20674 (completion--do-completion): Use it. New arg `expect-exact'.
20675 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20676 since completion--do-completion does it for us now.
20677 (minibuffer-force-complete): Use completion--done and
20678 completion--replace. Handle sole-completion case with more care.
20679 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20680 (completion-extra-properties): New var.
20681 (completion-annotate-function): Make obsolete.
20682 (minibuffer-completion-help): Adjust accordingly.
20683 Use completion-list-insert-choice-function.
20684 (completion-at-point, completion-help-at-point):
20685 Bind completion-extra-properties.
20686 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20687 * simple.el (completion-list-insert-choice-function): New var.
20688 (completion-setup-function): Preserve it.
20689 (choose-completion): Pay attention to it, shuffle the code a bit.
20690 (choose-completion-string): New arg `insert-function'.
20691
20692 * textmodes/bibtex.el: Convert to lexical binding.
20693 (bibtex-mode-map): Use completion-at-point.
20694 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20695 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20696 (bibtex-complete): Define as obsolete alias.
20697 (bibtex-complete-internal): Remove.
20698 (bibtex-format-entry): Remove unused sub-group in regexp.
20699 * shell.el (shell--command-completion-data)
20700 (shell-environment-variable-completion):
20701 * pcomplete.el (pcomplete-completions-at-point):
20702 * comint.el (comint--complete-file-name-data): Use :exit-function
20703 instead of completion-table-with-terminator so it also works for
20704 choose-completion.
20705
e44e373d
SM
207062011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20707
4f91a816
SM
20708 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20709
782fc819
SM
20710 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20711 (bug#8710).
20712
e44e373d
SM
20713 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20714
381987c3
KM
207152011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20716
20717 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20718 customization variable and implement: If non-nil, auto-fill will
20719 be inhibited while on topic's header line.
20720
b776bc70
VB
207212011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20722
20723 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20724 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20725 always have a solution in grid size = 5 cases.
20726 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20727 (5x5-solver-output, 5x5-log-buffer): New vars.
20728 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20729 Make these variables buffer local to achieve 5x5 multi-session-ness.
20730 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20731 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20732 (5x5-solve-suggest): New funs.
20733 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20734 randomize a grid so that we ensure that there is always a solution.
20735 (5x5-make-random-grid): Allow other movement than flipping.
20736
7de88b6e
KR
207372011-05-23 Kevin Ryde <user42@zip.com.au>
20738
20739 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20740 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20741 advice and passes PREDICATE.
20742
b1ef1257
SM
207432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20744
bbca48fe
SM
20745 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20746 byte-compile-lambda if it's actually a lambda.
20747
b1ef1257
SM
20748 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20749 Fix function quoting. Use backquote better.
20750
92a9cc65
YS
207512011-05-22 Yuanle Song <sylecn@gmail.com>
20752
20753 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20754 matching (Bug#8516).
20755
f0fb8059
JA
207562011-01-22 Jari Aalto <jari.aalto@cante.net>
20757
20758 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20759 different face (Bug#8178).
20760
d5b44c93
CY
207612011-05-22 Chong Yidong <cyd@stupidchicken.com>
20762
20763 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20764 defface (Bug#8144).
20765
79106a44
SM
207662011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20767
9c848d8a
SM
20768 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20769 funcall as well (bug#8712). Warn when performing those conversions.
20770 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20771
79106a44
SM
20772 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20773
88dfa756
GM
207742011-05-22 Glenn Morris <rgm@gnu.org>
20775
20776 * files.el (hack-local-variables-prop-line): Small simplifications.
20777 (hack-local-variables, hack-local-variables-prop-line):
20778 If MODE-ONLY, return the mode, rather than just `t'.
20779
b7cf2c79
SM
207802011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20781
20782 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20783
3f1a8558
GM
207842011-05-21 Glenn Morris <rgm@gnu.org>
20785
7e4ccca3
GM
20786 * files.el (hack-local-variables-prop-line, hack-local-variables):
20787 If only interested in the mode, don't bother doing the other stuff.
20788
637d46ca
GM
20789 * image-mode.el (image-after-revert-hook):
20790 Redraw all frames on which the image is visible. (Bug#8567)
20791
973d955b
GM
20792 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20793
3f1a8558
GM
20794 * wid-edit.el (widget-checklist-match-inline):
20795 Fix 2011-04-19 change. (Bug#8649)
20796
96479927
SM
207972011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20798
1dcf791f
SM
20799 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20800 Also allow singlespace after single-letter capitals followed by a dot.
20801
96479927
SM
20802 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20803 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20804
35fd0881
N
208052011-05-20 Nix <nix@esperi.org.uk>
20806
20807 * files.el (basic-save-buffer-2):
20808 Fix handling of break-hardlink-on-save with non-existent files.
20809
82745640
DD
208102011-05-19 Deniz Dogan <deniz@dogan.se>
20811
20812 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20813 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20814
4a720484
GM
208152011-05-19 Glenn Morris <rgm@gnu.org>
20816
d1f21341
GM
20817 * progmodes/f90.el (f90-type-def-re):
20818 Handle "type, bind(c)". (Bug#8691)
20819
4a720484
GM
20820 * emacs-lisp/autoload.el (batch-update-autoloads):
20821 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20822
2fb0a219
MA
208232011-05-18 Michael Albinus <michael.albinus@gmx.de>
20824
20825 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20826 property for the correct connection in case of multihops.
20827
e565dd37
GM
208282011-05-18 Glenn Morris <rgm@gnu.org>
20829
c2571358 20830 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20831 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20832
e565dd37
GM
20833 Rationalize calendar handling of day and month abbrev-arrays.
20834 * calendar/calendar.el (calendar-customized-p): New function.
20835 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20836 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20837 Add :set function.
20838 (calendar-abbrev-length, calendar-day-abbrev-array)
20839 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20840 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20841 Elements may no longer be nil.
20842 (calendar-day-name, calendar-month-name):
20843 Update for changed nature of abbrev arrays.
20844 * calendar/diary-lib.el (diary-name-pattern):
20845 Update for changed nature of abbrev arrays.
20846 (diary-mark-entries-1): Update calendar-make-alist calls.
20847 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20848 * calendar/cal-html.el (cal-html-day-abbrev-array):
20849 Simply inherit from calendar-day-abbrev-array.
20850
1d99a745
SM
208512011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20852
20853 * progmodes/grep.el (grep-mode): Disable default
20854 compilation-directory-matcher setting (bug#8684).
20855
7c1d9aa0
MA
208562011-05-17 Michael Albinus <michael.albinus@gmx.de>
20857
20858 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20859 instead of "head" and "tail". There were problems with SunOS 5.9,
20860 and it performs better.
20861
3952e9d8
GM
208622011-05-17 Glenn Morris <rgm@gnu.org>
20863
2dd12e7f
GM
20864 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20865
e4157b9c
GM
20866 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20867 Replace obsolete function.
20868
8e249bbd
GM
20869 * shell.el (pcomplete-parse-arguments-function): Declare.
20870
3952e9d8
GM
20871 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20872 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20873 (appt-check): Doc fixes.
20874 (appt-disp-window-function, appt-delete-window-function):
20875 Remove needless special case in custom :type.
20876 (appt-display-count): Default to 0, not nil.
20877 (appt-check): Reset appt-display-count to 0, not nil.
20878
c71a0d48 208792011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20880
c71a0d48
GM
20881 * progmodes/python.el (python-font-lock-keywords):
20882 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20883
31d55be9
SM
208842011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20885
20886 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20887
3bfacb2f
KR
208882011-05-16 Kevin Ryde <user42@zip.com.au>
20889
20890 * info-look.el (makefile-automake-mode): New setups, looking in
20891 automake manual, then makefile-mode.
20892 (makefile-mode): Remove automake manual, have it just in
20893 makefile-automake-mode since there's various things different or
20894 not relevant to plain make.
20895 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20896 believe a hypothetical automake-mode would go to makefile-mode,
20897 not the other way around.
20898
c8e83751
CY
208992011-05-15 Chong Yidong <cyd@stupidchicken.com>
20900
5e9e35cd
CY
20901 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20902 hunk-end tags (Bug#8672).
20903
c8e83751
CY
20904 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20905 vc-annotate-show-diff-revision-at-line (Bug#8671).
20906
50b23e5a
GM
209072011-05-14 Glenn Morris <rgm@gnu.org>
20908
7210a739
GM
20909 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20910 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20911 (change-log-font-lock-keywords): Also handle multiple author lines
20912 with leading tabs. (Bug#8644)
7210a739 20913
4691905a
GM
20914 * calendar/appt.el (appt-check): Rename some local variables.
20915 Some simplification/reordering.
20916
50b23e5a
GM
20917 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20918 (feedmail-sendmail-f-doesnt-sell-me-out)
20919 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20920 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20921 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20922 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20923 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20924 (feedmail-binmail-gnulinuxish-template):
20925 Rename from feedmail-binmail-linuxish-template.
20926 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20927 Use insert-buffer-substring.
20928
215cda7c
BC
209292011-05-14 Bill Carpenter <bill@carpenter.org>
20930
20931 * mail/feedmail.el (feedmail-patch-level): Increase.
20932 (feedmail-debug): New custom group.
20933 (feedmail-confirm-outgoing-timeout)
20934 (feedmail-sendmail-f-doesnt-sell-me-out)
20935 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20936 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20937 (feedmail-sender-line, feedmail-from-line)
20938 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20939 (feedmail-spray-this-address)
215cda7c
BC
20940 (feedmail-spray-address-fiddle-plex-list)
20941 (feedmail-queue-use-send-time-for-date)
20942 (feedmail-queue-use-send-time-for-message-id)
20943 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20944 (feedmail-buffer-eating-function):
20945 Doc fixes.
20946 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20947 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20948 (feedmail-message-action-scroll-down): New functions.
20949 (feedmail-queue-directory, feedmail-queue-draft-directory):
20950 Use expand-file-name.
20951 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20952 Remove C-v help entry.
20953 (feedmail-queue-buffer-file-name): New variable.
20954 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20955 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20956 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20957 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20958 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20959 (feedmail-message-action-toggle-spray)
20960 (feedmail-run-the-queue-no-prompts)
20961 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20962 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20963 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20964 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20965 (feedmail-envelope-deducer, feedmail-fiddle-from)
20966 (feedmail-fiddle-sender, feedmail-default-date-generator)
20967 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20968 (feedmail-fiddle-spray-address)
20969 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20970 (feedmail-fiddle-list-of-fiddle-plexes)
20971 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20972 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20973 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20974 Change default. Doc fix.
20975 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20976 (feedmail-binmail-linuxish-template): New constant.
20977 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20978 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20979 (feedmail-send-it): Add debug call.
20980 Use feedmail-queue-buffer-file-name, and
20981 feedmail-send-it-immediately-wrapper.
20982 (feedmail-message-action-send): Add debug call.
20983 Use feedmail-send-it-immediately-wrapper.
20984 (feedmail-queue-express-to-queue): Add debug call.
20985 Run feedmail-queue-express-hook.
20986 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20987 (feedmail-message-action-help-blat):
20988 Rename from feedmail-queue-send-edit-prompt-help-first.
20989 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20990 Check line-endings. Handle errors better.
20991 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20992 Doc fix. Add debug call.
20993 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20994 Use feedmail-queue-send-edit-prompt-inner.
20995 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20996 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20997 from feedmail-queue-send-edit-prompt.
20998 (feedmail-queue-send-edit-prompt-help)
20999 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21000 (feedmail-tidy-up-slug): Add debug call.
21001 Respect feedmail-queue-slug-suspect-regexp.
21002 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21003 (feedmail-dump-message-to-queue): Add debug call.
21004 Expand queue-directory.
21005 (feedmail-dump-message-to-queue): Change message slightly.
21006 Use feedmail-say-chatter.
21007 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21008 (feedmail-send-it-immediately-wrapper): New function.
21009 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21010 Insert empty string rather than newline. Handle full-frame case.
21011 Use catch/throw. Use feedmail-say-chatter.
21012 (feedmail-fiddle-from): Try mail-host-address.
21013 (feedmail-default-message-id-generator): Doc fix.
21014 Bind system-time-locale. Handle missing end.
21015 (feedmail-fiddle-x-mailer): Add debug call.
21016 Handle feedmail-x-mailer-line being nil.
21017 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21018 Add debug call. Use buffer-substring-no-properties.
21019 (feedmail-say-debug, feedmail-say-chatter): New functions.
21020 (feedmail-find-eoh): Give an explicit error.
21021
42c7e61e
UJ
210222011-05-13 Ulf Jasper <ulf.jasper@web.de>
21023
c2571358 21024 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21025 family from helvetica to sans.
c2571358 21026 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21027 etc/images/newsticker.
21028
c2571358 21029 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21030 family from helvetica to sans.
21031
21032 * net/newst-plainview.el (newsticker-new-item-face)
21033 (newsticker-old-item-face, newsticker-immortal-item-face)
21034 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21035 (newsticker-statistics-face): Change default family from
42c7e61e 21036 helvetica to sans.
c2571358 21037 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21038 etc/images/newsticker.
21039
5d3385a0
JB
21040 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21041 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21042 auto-marking.
21043
8497a297
DV
210442011-05-13 Didier Verna <didier@xemacs.org>
21045
21046 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21047 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21048 TODO entries.
8497a297
DV
21049 (lisp-lambda-list-keyword-parameter-indentation)
21050 (lisp-lambda-list-keyword-parameter-alignment)
21051 (lisp-lambda-list-keyword-alignment): New customizable user options.
21052 (lisp-indent-defun-method): Improve docstring.
21053 (extended-loop-p): Fix comment.
21054 (lisp-indent-lambda-list-keywords-regexp): New variable.
21055 (lisp-indent-lambda-list): New function.
21056 (lisp-indent-259): Use it.
21057 (lisp-indent-defmethod): Support for more than one
21058 method qualifier and properly indent methods lambda-lists.
21059 (defgeneric): Provide a missing common-lisp-indent-function property.
21060
f278f87f
SM
210612011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21062
21063 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21064 bounds for the empty string (bug#8667).
21065
5233edd7
GM
210662011-05-13 Glenn Morris <rgm@gnu.org>
21067
5237a44f
GM
21068 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21069
8340026c 21070 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21071 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21072
5233edd7 21073 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21074 (appt-time-msg-list): Doc fix.
a5464014 21075 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21076
92d10796
AS
210772011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21078
21079 * progmodes/ld-script.el (ld-script-keywords)
21080 (ld-script-builtins): Update keywords list.
21081
914a0ae1
SM
210822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21083
c89be45f
SM
21084 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21085
914a0ae1
SM
21086 * shell.el (shell-completion-vars): New function.
21087 (shell-mode):
21088 * simple.el (read-shell-command): Use it.
21089 (blink-matching-open): No need for " [...]" in minibuffer-message.
21090
98dc3df3
GM
210912011-05-12 Glenn Morris <rgm@gnu.org>
21092
21093 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21094 (appt-check): Simplify.
21095
d2fc7e3d 210962011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21097
4d61f28d 21098 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21099 literal "/dev/null".
21100
d2fc7e3d 211012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21102
21103 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21104 Fix typo.
21105
d2fc7e3d 211062011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21107
3f254caa
SM
21108 * progmodes/which-func.el (which-function):
21109 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21110 which might not be defined (Bug#8260).
21111
d45885f7
GM
211122011-05-12 Glenn Morris <rgm@gnu.org>
21113
21114 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21115 Let byte-compile-initial-macro-environment always take precedence.
21116
488086f4
SM
211172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21118
21119 * net/rcirc.el: Add support for SSL/TLS connections.
21120 (rcirc-server-alist): New field `encryption'.
21121 (rcirc): Check `encryption' settings.
21122 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21123 Merge make-local-variable into `set'.
21124 (rcirc--connection-open-p): New function.
21125 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21126 the process is not a network process (e.g. running gnutls-cli).
21127 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21128 Make rcirc-(en|de)code-coding-system local here.
21129 (rcirc-mode): Merge make-local-variable into `set'.
21130 (rcirc-parent-buffer): Make permanent buffer-local.
21131 (rcirc-multiline-minor-mode): Don't do it here.
21132 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21133 there's no server buffer.
21134
7d3b9d44
GM
211352011-05-11 Glenn Morris <rgm@gnu.org>
21136
f64049c6
GM
21137 * newcomment.el (comment-kill): Prefix "unused" local.
21138
93c9df73
GM
21139 * term/w32console.el (get-screen-color): Declare.
21140
7d3b9d44
GM
21141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21142 Handle symbol elements of byte-compile-initial-macro-environment.
21143
9e2dd53f
LL
211442011-05-10 Leo Liu <sdl.web@gmail.com>
21145
488086f4
SM
21146 * bookmark.el (bookmark-bmenu-mode-map):
21147 Bind bookmark-bmenu-search to `/'.
8b340240 21148
9e2dd53f 21149 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21150 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21151 (Footnote-unicode): New function.
21152 (footnote-style-alist): Add unicode style to the list.
21153 (footnote-style): Doc fix.
9e2dd53f 21154
79b70037
GM
211552011-05-10 Jim Meyering <meyering@redhat.com>
21156
21157 Fix doubled-word typos.
21158 * international/quail.el (quail-insert-kbd-layout): and and -> and
21159 * kermit.el: and and -> and
21160 * net/ldap.el (ldap-search-internal): to to -> to
21161 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21162 * progmodes/js.el (js-mode): and and -> and
21163 * textmodes/artist.el (artist-move-to-xy): at at -> at
21164 (artist-draw-region-trim-line-endings): if if -> if
21165 And Safetyc -> Safety.
21166 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21167
b8f82dc1 211682011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21169 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21170
21171 * files.el (hack-one-local-variable-eval-safep):
21172 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21173
4f99f44b
GM
211742011-05-10 Glenn Morris <rgm@gnu.org>
21175
21176 * calendar/diary-lib.el (diary-list-entries-hook)
21177 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21178 (diary-nongregorian-marking-hook, diary-list-entries)
21179 (diary-include-other-diary-files, diary-mark-entries)
21180 (diary-mark-included-diary-files): Doc fixes.
21181
84f29e6b
JB
211822011-05-09 Juanma Barranquero <lekktu@gmail.com>
21183
21184 * misc.el: Require tabulated-list.el during compilation.
21185
9bedd73a
CY
211862011-05-09 Chong Yidong <cyd@stupidchicken.com>
21187
488086f4
SM
21188 * progmodes/compile.el (compilation-start):
21189 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21190 (compilation-filter-hook): Doc fix.
21191
797c735c
DD
211922011-05-09 Deniz Dogan <deniz@dogan.se>
21193
21194 * wdired.el: Remove outdated installation comment. Fix usage
21195 comment.
21196
5f4b1dfe
JB
211972011-05-09 Juanma Barranquero <lekktu@gmail.com>
21198
21199 * misc.el: Implement new command `list-dynamic-libraries'.
21200 (list-dynamic-libraries--loaded-only-p): New variable.
21201 (list-dynamic-libraries--refresh): New function.
21202 (list-dynamic-libraries): New command.
21203
4c44026c
CY
212042011-05-09 Chong Yidong <cyd@stupidchicken.com>
21205
488086f4
SM
21206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21207 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21208 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21209 higher priority to avoid clobbering by gnu.
21210
027f966d
CY
212112011-05-08 Chong Yidong <cyd@stupidchicken.com>
21212
21213 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21214 if the face has existing theme settings (Bug#8454).
21215
085f5d7d
CY
212162011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21217
488086f4
SM
21218 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21219 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21220
2a86a00c
RS
21221 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21222 special file names `.' and `..' (Bug#8259).
21223
d9c54a06
CY
212242011-05-08 Chong Yidong <cyd@stupidchicken.com>
21225
488086f4
SM
21226 * progmodes/grep.el (grep-mode-font-lock-keywords):
21227 Remove buffer-changing entries.
d9c54a06
CY
21228 (grep-filter): New function.
21229 (grep-mode): Add it to compilation-filter-hook.
21230
21231 * progmodes/compile.el (compilation-filter-hook)
21232 (compilation-filter-start): New defvars.
21233 (compilation-filter): Call compilation-filter-hook prior to
21234 updating the process mark.
21235
c4662635
SM
212362011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21237
21238 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21239
b0512a1d
EZ
212402011-05-07 Eli Zaretskii <eliz@gnu.org>
21241
605c9376
EZ
21242 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21243 mailclient-send-it even if window-system is nil. (Bug#8595)
21244
c4662635
SM
21245 * term/w32console.el (terminal-init-w32console):
21246 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21247 background-mode. (Bug#8597)
21248
d1dc2cc2
SM
212492011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21250
21251 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21252 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21253 New functions.
21254 (defgeneric, eieio--defmethod): Use them.
21255 (eieio-defgeneric): Remove.
21256 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21257
915d1300
GM
212582011-05-07 Glenn Morris <rgm@gnu.org>
21259
a3961c3e
GM
21260 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21261 Use let rather than let*.
21262 (timeclock-find-discrep): Remove unused local.
21263
314347b9
GM
21264 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21265
915d1300
GM
21266 * calendar/appt.el (appt-time-msg-list): Doc fix.
21267
275b59b0
NF
212682011-05-06 Noah Friedman <friedman@splode.com>
21269
21270 * apropos.el (apropos-print-doc): Only use
21271 emacs-lisp-docstring-fill-column when it is bound to an integer,
21272 per that variable's documentation.
21273
6c19f744
SM
212742011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21275
21276 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21277 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21278
60f884b2
GM
212792011-05-06 Glenn Morris <rgm@gnu.org>
21280
5006e634
GM
21281 * calendar/appt.el (appt-message-warning-time): Doc fix.
21282 (appt-warning-time-regexp): New option.
21283 (appt-make-list): Respect appt-message-warning-time.
21284
548d0a63
GM
21285 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21286 New options.
21287 (diary-add-to-list): Strip comments from the displayed string.
21288 (diary-mode): Set comment-start and comment-end.
21289
60f884b2
GM
21290 * vc/diff-mode.el (smerge-refine-subst): Declare.
21291 (diff-refine-hunk): Don't require smerge-mode when compiling.
21292
989681bb
JB
212932011-05-06 Juanma Barranquero <lekktu@gmail.com>
21294
21295 * simple.el (list-processes): Return nil as the docstring says.
21296
a6bc05e1
MA
212972011-05-05 Michael Albinus <michael.albinus@gmx.de>
21298
21299 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21300 to "".
21301 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21302 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21303 determining of binary transfer. (Bug#7383)
21304
23c22e9a
MA
213052011-05-05 Michael Albinus <michael.albinus@gmx.de>
21306
c4662635
SM
21307 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21308 Fix port computation bug. (Bug#8618)
23c22e9a 21309
0bff894f
GM
213102011-05-05 Glenn Morris <rgm@gnu.org>
21311
b8296902
GM
21312 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21313
1f522ce8
GM
21314 * simple.el (shell-dynamic-complete-functions)
21315 (comint-dynamic-complete-functions): Declare.
21316
cf5bee67
GM
21317 * net/network-stream.el (gnutls-negotiate):
21318 * simple.el (tabulated-list-print): Fix declarations.
21319
21320 * progmodes/gud.el (syntax-symbol, syntax-point):
21321 Remove unnecessary and incorrect declarations.
21322
0bff894f 21323 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21324 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21325
9869b3ae
SM
213262011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21327
21328 Fix earlier half-done eieio-defmethod change (bug#8338).
21329 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21330 Streamline and change calling convention.
21331 (defmethod): Adjust accordingly and simplify.
21332 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21333 new eieio--defmethod.
21334 (slot-boundp): Minor CSE simplification.
21335
9c1d5ac5
MZ
213362011-05-05 Milan Zamazal <pdm@zamazal.org>
21337
21338 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21339 (glasses-make-readable): Use glasses-separate-capital-groups.
21340
455c834e
JB
213412011-05-05 Juanma Barranquero <lekktu@gmail.com>
21342
21343 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21344 (warning-series): Doc fix.
21345 (display-warning): Don't try to create the buffer if we just found it.
21346
9ed7c8cb
CY
213472011-05-04 Chong Yidong <cyd@stupidchicken.com>
21348
21349 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21350 (autoload-find-generated-file): New function.
21351 (generate-file-autoloads): Bind generated-autoload-file to
21352 buffer-file-name.
9869b3ae
SM
21353 (update-file-autoloads, update-directory-autoloads):
21354 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21355 output file (Bug#7989).
21356 (batch-update-autoloads): Doc fix.
21357
0898ca10
JB
213582011-05-04 Juanma Barranquero <lekktu@gmail.com>
21359
21360 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21361
31dfb76c
GM
213622011-05-04 Glenn Morris <rgm@gnu.org>
21363
f330b642
GM
21364 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21365 function, so it follows changes in calendar-date-style.
21366 (diary-fancy-date-matcher): New function.
21367 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21368 (diary-fancy-font-lock-fontify-region-function):
21369 Use diary-fancy-date-pattern as a function.
21370
31dfb76c
GM
21371 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21372 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21373
48e79d6a
TZ
213742011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21375
21376 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21377 instead of positional arguments. Allow :keylist and :crlfiles
21378 arguments.
21379 (open-gnutls-stream): Call it.
21380
21381 * net/network-stream.el (network-stream-open-starttls): Adjust to
21382 call `gnutls-negotiate' with :process and :hostname arguments.
21383
dd5a5ee0
SM
213842011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21385
ef80fc09
SM
21386 * minibuffer.el (completion--message): New function.
21387 (completion--do-completion, minibuffer-complete)
21388 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21389 (completion--do-completion): Don't ignore completion-auto-help when in
21390 icomplete-mode.
21391
dd5a5ee0
SM
21392 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21393 internal encoding (e.g. tibetan zero is not whitespace).
21394 (global-whitespace-mode): Prefer save-current-buffer.
21395 (whitespace-trailing-regexp): Remove useless save-match-data.
21396 (whitespace-empty-at-bob-regexp): Minor simplification.
21397
b7d22a83
CY
213982011-05-03 Chong Yidong <cyd@stupidchicken.com>
21399
21400 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21401
5192af46
AM
214022011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21403
21404 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21405 Use `concat' to create string for insertion.
5192af46 21406
5767d190
SM
214072011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21408
21409 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21410 Avoid open-line which runs post-self-insert-hook.
21411 (bibtex-fill-entry): Remove unused `end' var.
21412
bf242939
AM
214132011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21414
5767d190
SM
21415 * textmodes/ispell.el (ispell-add-per-file-word-list):
21416 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21417
25666126
LL
214182011-05-03 Leo Liu <sdl.web@gmail.com>
21419
21420 * isearch.el (isearch-yank-pop): New command.
5767d190 21421 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21422 (isearch-forward): Mention it.
21423
52d3c2d0
SM
214242011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21425
1bcace58
SM
21426 * simple.el (minibuffer-complete-shell-command): Remove.
21427 (minibuffer-local-shell-command-map): Use completion-at-point.
21428 (read-shell-command): Setup completion vars here instead.
21429 (read-expression-map): Bind TAB to symbol completion.
21430
52d3c2d0
SM
21431 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21432 error directly rather via storing it into `results'.
21433
35813471
LL
214342011-05-02 Leo Liu <sdl.web@gmail.com>
21435
21436 * vc/diff.el: Fix description.
21437
e793a940
LMI
214382011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21439
21440 * server.el (server-eval-at): New function.
21441
8de66e05
LMI
214422011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21443
21444 * net/network-stream.el (open-network-stream): Take a :nowait
21445 parameter and pass it on to `make-network-process'.
21446 (network-stream-open-plain): Ditto.
21447
dcb79f20
AS
214482011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21449
21450 * faces.el (face-spec-set-match-display): Don't match toolkit
21451 options on terminal frames.
21452
14a7fbd8
SM
214532011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21454
7eabc1be
SM
21455 * progmodes/pascal.el: Use lexical binding.
21456 (pascal-mode-map): Remove author preferences.
21457
14a7fbd8
SM
21458 * pcomplete.el (pcomplete-std-complete): Don't abuse
21459 completion-at-point.
21460
50f84510
JB
214612011-04-28 Juanma Barranquero <lekktu@gmail.com>
21462
6e087a44
JB
21463 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21464 removing code that has been dead since 1991 or so.
21465
50f84510
JB
21466 * startup.el (command-line): When warning about "_emacs", use a
21467 delayed warning to allow the user to filter it out.
21468
0ba690bd
DD
214692011-04-28 Deniz Dogan <deniz@dogan.se>
21470
21471 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21472 user has not joined.
21473
08abfaad
SM
214742011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21475
21476 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21477 aren't any completions at point.
21478
638f053a
JB
214792011-04-28 Juanma Barranquero <lekktu@gmail.com>
21480
21481 * subr.el (display-delayed-warnings): New function.
21482 (delayed-warnings-hook): New variable.
21483
8fff8daa
SM
214842011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21485
08abfaad
SM
21486 * minibuffer.el (completion-at-point, completion-help-at-point):
21487 Don't presume that a given completion-at-point-function will always
21488 use the same calling convention.
21489
8fff8daa
SM
21490 * pcomplete.el (pcomplete-completions-at-point):
21491 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21492 pcomplete-seen is non-nil.
21493 (pcomplete-comint-setup): Also recognize the new comint/shell
21494 completion functions.
21495 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21496 pcomplete-seen is non-nil.
21497
841a1577 214982011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21499
841a1577 21500 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21501 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21502 the first character in the entry. This allows for code to add its
211ec907
UJ
21503 own uid to the entry.
21504 (icalendar--convert-float-to-ical): Add export of
21505 `diary-float'-entries save for those with the optional DAY
21506 argument.
21507
2a782793
DC
215082011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21509
21510 * subr.el (shell-quote-argument): Use alternate escaping strategy
21511 when we spot a variable reference in a string.
21512
0438ce91
DC
215132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21514
21515 * cus-start.el (all): Define customization for debug-on-event.
21516
841a1577 215172011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21518
21519 * subr.el (shell-quote-argument): Escape correctly under Windows.
21520
d090ed6c
SM
215212011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21522
21523 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21524
bfd31217
MA
215252011-04-25 Michael Albinus <michael.albinus@gmx.de>
21526
d090ed6c
SM
21527 * net/tramp.el (tramp-process-actions): Add POS argument.
21528 Delete region between POS and (pos).
bfd31217 21529
d090ed6c
SM
21530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21531 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21532 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21533
21534 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21535 position in `tramp-process-actions' call.
21536
21537 * net/trampver.el: Update release number.
21538
e92f3bd3
SM
215392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21540
850256b5
SM
21541 * custom.el (defcustom): Obey lexical-binding.
21542
e92f3bd3
SM
21543 Fix octave-inf completion problems reported by Alexander Klimov.
21544 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21545 Inherit from octave-mode-syntax-table.
21546 (inferior-octave-mode): Set info-lookup-mode.
21547 (inferior-octave-completion-at-point): New function.
21548 (inferior-octave-complete): Use it and completion-in-region.
21549 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21550 comint-filename-completion.
21551 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21552 symbol elements which shouldn't be word elements.
21553 (octave-font-lock-keywords, octave-beginning-of-defun)
21554 (octave-function-header-regexp): Adjust regexps accordingly.
21555 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21556
cd22b309
JB
215572011-04-25 Juanma Barranquero <lekktu@gmail.com>
21558
21559 * net/gnutls.el (gnutls-errorp): Declare before first use.
21560
8b492194
TZ
215612011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21562
21563 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21564 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21565 default trustfile exists before going to use it. Add missing
5a5fa834 21566 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21567 Reported by Claudio Bley <claudio.bley@gmail.com>.
21568 (open-gnutls-stream): Add usage example.
21569
21570 * net/network-stream.el (network-stream-open-starttls): Give host
21571 parameter to `gnutls-negotiate'.
21572 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21573 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21574
841a1577 215752011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21576
cd22b309
JB
21577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21578 Use correct match group (bug#8438).
05842630 21579
3ba7869c
CY
215802011-04-24 Chong Yidong <cyd@stupidchicken.com>
21581
512e3ae1
CY
21582 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21583 (package-menu--generate): New arg specifying packages to show.
21584 (package-menu-refresh, package-menu-execute, list-packages):
21585 Callers changed.
21586 (package-show-package-list): New function, replacing deleted
21587 package--list-packages (renamed because it is non-internal).
21588
21589 * finder.el (finder-list-matches): Use package-show-package-list
21590 instead of deleted package--list-packages.
21591
e92f3bd3
SM
21592 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21593 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21594 (vc-annotate-mode-map): Bind it to RET.
21595
7031be6d
UR
215962011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21597
21598 * progmodes/etags.el (next-file): Don't use set-buffer to change
21599 buffers (Bug#8478).
21600
4ef177aa
CY
216012011-04-24 Chong Yidong <cyd@stupidchicken.com>
21602
c8d173eb
CY
21603 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21604
4ef177aa
CY
21605 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21606 (apropos-accumulator): Doc fix.
21607 (apropos-function, apropos-macro, apropos-command)
21608 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21609 (apropos-plist): Add face property.
21610 (apropos-symbols-internal): Fix indentation.
21611 (apropos-print): Simplify help, and recognize apropos-multi-type.
21612 (apropos-print-doc): Use button-type-get to extract the button's
21613 face property. Fill docstring (Bug#8352).
21614
4ffd0d6b 216152011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21616
21617 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21618
c6c32125 21619 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21620 (mpuz-mode-map): Use mapc.
c6c32125
JB
21621 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21622 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21623 Fix typos in docstrings.
21624
58d468b4
JB
21625 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21626 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21627
6470c3c6
JB
21628 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21629
4ffd0d6b 216302011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21631
21632 * minibuffer.el (completion--do-completion): Avoid the "Next char
21633 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21634
3ad8bad0
CY
21635 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21636 mouse-2 into unread-command-events, it is interpreted correctly.
21637
71d73c9c 21638 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21639 (image-toggle-display): Doc fix.
71d73c9c 21640
841a1577 216412011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21642
4ffd0d6b
GM
21643 * textmodes/page.el (what-page): Use line-number-at-pos to
21644 calculate line number (Bug#6825).
6e1dbaa9 21645
c2fb1b60
JB
216462011-04-22 Juanma Barranquero <lekktu@gmail.com>
21647
21648 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21649 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21650 Pass argument NO-DEFAULT to `find-tag-interactive'.
21651
e02f48d7
JB
216522011-04-22 Juanma Barranquero <lekktu@gmail.com>
21653
21654 Lexical-binding cleanup.
21655
21656 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21657 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21658 * progmodes/ada-prj.el (ada-prj-initialize-values)
21659 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21660 (ada-prj-show-value):
21661 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21662 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21663 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21664 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21665 * progmodes/bug-reference.el (bug-reference-push-button):
21666 * progmodes/fortran.el (fortran-line-length):
21667 * progmodes/glasses.el (glasses-change):
21668 * progmodes/octave-mod.el (octave-fill-paragraph):
21669 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21670 (python-pdbtrack-grub-for-buffer, python-sentinel):
21671 * progmodes/sql.el (sql-save-connection):
21672 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21673 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21674 Mark unused parameters.
21675
21676 * progmodes/compile.el (compilation--flush-directory-cache)
21677 (compilation--flush-parse, compile-internal): Mark unused parameters.
21678 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21679 (compilation-next-error-function): Remove unused variable `timestamp'.
21680
21681 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21682 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21683
21684 * progmodes/dcl-mode.el (dcl-end-of-command):
21685 Remove unused variable `start'.
21686 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21687 (dcl-option-value-basic, dcl-option-value-offset)
21688 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21689 Mark unused parameters.
21690 (dcl-save-local-variable): Remove unused variable `val'.
21691 (mode): Declare.
21692
21693 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21694 Mark unused parameters.
21695 (delphi-ignore-changes): Move before first use.
21696 (delphi-charset-token-at): Remove unused variable `start'.
21697 (delphi-else-start): Remove unused variable `if-count'.
21698 (delphi-comment-block-start, delphi-comment-block-end):
21699 Remove unused variable `kind'.
21700 (delphi-indent-line): Remove unused variable `new-point'.
21701
21702 * progmodes/ebrowse.el (ebrowse-files-list)
21703 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21704 Mark unused parameters. Don't quote `lambda'.
21705 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21706 Don't quote `lambda'.
21707 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21708 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21709 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21710 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21711 Use `ignore-errors'.
21712 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21713 (ebrowse-view/find-file-and-search-pattern)
21714 (ebrowse-view/find-member-declaration/definition):
21715 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21716 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21717 Rename parameter PREFIX-ARG to PREFIX.
21718 (ebrowse-tags-read-name): Remove unused variables `start' and
21719 `member-info'.
21720 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21721 to `tags-file'.
21722
21723 * progmodes/etags.el (local-find-tag-hook): Declare.
21724 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21725 Mark unused parameters.
21726
21727 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21728 (executable-interpret): Mark unused parameter.
21729
21730 * progmodes/flymake.el (flymake-process-sentinel)
21731 (flymake-after-change-function)
21732 (flymake-create-temp-with-folder-structure)
21733 (flymake-get-include-dirs-dot): Mark unused parameters.
21734 (flymake-safe-delete-directory): Remove unused variable `err'.
21735
21736 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21737 (speedbar-timer-fn, speedbar-line-text)
21738 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21739 (speedbar-center-buffer-smartly): Declare functions.
21740 (gdb-find-watch-expression): Remove unused variable `array'.
21741 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21742 (gdb-starting): Mark unused parameters.
21743 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21744 (gdb-table-string): Remove unused variable `res'.
21745 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21746 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21747 (gdb-display-buffer): Remove unused variable `cur-size'.
21748
21749 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21750 allow lexical-binding compilation.
21751 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21752 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21753 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21754 Mark unused parameters.
21755 (gud-gdb-marker-filter): Remove unused variable `match'.
21756 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21757 lambda expressions and funcall them, instead of using `fset'.
21758
21759 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21760 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21761
21762 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21763 variable `header-beg'; use `let'.
21764
21765 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21766 `restart', `last-sexp' and `at-do'.
21767
21768 * progmodes/js.el (js--debug): Mark unused parameter.
21769 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21770 (js--splice-into-items): Remove unused variable `item'.
21771 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21772
21773 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21774 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21775 (makefile-complete): Remove unused variable `try'.
21776 (makefile-fill-paragraph, makefile-match-function-end):
21777 Mark unused parameters.
21778
21779 * progmodes/octave-inf.el (inferior-octave-complete):
21780 Remove unused variable `proc'.
21781 (inferior-octave-output-digest): Mark unused parameter.
21782
21783 * progmodes/perl-mode.el (perl-calculate-indent):
21784 Remove unused variable `err'.
21785
21786 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21787 (prolog-indent-line): Mark unused parameters.
21788 (prolog-indent-line): Remove unused variable `beg'.
21789
21790 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21791 (reporter-dont-compact-list): Declare.
21792
21793 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21794 Remove unused variable `char'.
21795 (sh-debug): Mark unused parameter.
21796 (sh-get-indent-info): Remove unused variable `start'.
21797 (sh-calculate-indent): Remove unused variable `var'.
21798
21799 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21800 (simula-electric-keyword): Remove unused variable `null'.
21801 (simula-search-backward, simula-search-forward): Remove unused
21802 variables `begin' and `end'.
21803
21804 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21805 Remove unused variable `pos'.
21806 (vera-electric-tab, vera-comment-uncomment-region):
21807 Mark unused parameters.
21808 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21809
7ede3b65
CY
218102011-04-22 Chong Yidong <cyd@stupidchicken.com>
21811
21812 * emacs-lisp/package.el (package--builtins, package-alist)
21813 (package-load-descriptor, package-built-in-p, package-activate)
21814 (define-package, package-installed-p)
21815 (package-compute-transaction, package-buffer-info)
21816 (package--push): Doc fix. Distinguish more clearly between
21817 version strings and version lists.
21818
121656e9
JB
218192011-04-21 Juanma Barranquero <lekktu@gmail.com>
21820
21821 Lexical-binding cleanup.
21822
21823 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21824 (5x5-make-mutate-best):
21825 * play/fortune.el (fortune-in-buffer):
21826 * play/gomoku.el (gomoku-init-display):
21827 * play/solitaire.el (solitaire, solitaire-do-check):
21828 * play/tetris.el (tetris-default-update-speed-function):
21829 Mark unused parameters.
21830
21831 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21832 (bubbles--shift): Remove unused variable `char-org'.
21833 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21834 (bubbles--show-images): Remove unused variable `char'.
21835
21836 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21837 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21838 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21839 (decipher-analyze-buffer): Use ?\s.
21840 (decipher-make-checkpoint): Remove unused variable `mapping'.
21841
21842 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21843
21844 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21845 Remove unused variable `result'; use `let'.
21846
21847 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21848 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21849 (gametree-children-shown-p, gametree-compute-reduced-score):
21850 Use `ignore-errors'.
21851
21852 * play/handwrite.el (ps-lpr-switches): Declare.
21853 (handwrite): Remove unused variables `pmin' and `lastp'.
21854
21855 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21856
21857 * play/landmark.el (landmark-init-display)
21858 (landmark-update-naught-weights): Mark unused parameters.
21859 (landmark-y): Remove unused variable `noise'. Simplify.
21860 (landmark-human-plays): Remove unused variable `score'.
21861
21862 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21863 (mpuz-try-proposal): Remove unused variable `game'.
21864
21865 * play/zone.el (life-patterns): Declare.
21866
80f499c7
JB
218672011-04-20 Juanma Barranquero <lekktu@gmail.com>
21868
21869 * vc/vc.el (ediff-vc-internal): Declare function.
21870
024ff170
SM
218712011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21872
c0a193ea
SM
21873 * shell.el: Use lexical-binding and std completion UI.
21874 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21875 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21876 comint-preoutput-filter-functions rather than on
21877 comint-output-filter-functions.
21878 (shell-command-completion, shell--command-completion-data)
21879 (shell-filename-completion, shell-environment-variable-completion)
21880 (shell-c-a-p-replace-by-expanded-directory): New functions.
21881 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21882 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21883 (shell-dynamic-complete-environment-variable): Use them.
21884 (shell-dynamic-complete-as-environment-variable)
21885 (shell-dynamic-complete-as-command): Remove.
21886 (shell-match-partial-variable): Match past point.
21887 * comint.el: Clean up use of completion-at-point-functions.
21888 (comint-completion-at-point): New function.
21889 (comint-mode): Use it completion-at-point-functions.
21890 (comint-dynamic-complete): Make it obsolete.
21891 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21892 (comint-c-a-p-replace-by-expanded-history): New function.
21893 (comint-dynamic-complete-functions)
21894 (comint-replace-by-expanded-history): Use it.
21895 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21896 termination strings. Try harder to avoid second try-completion.
21897 (completion-in-region-mode-map): Disable bindings that don't work yet.
21898
2dbaa080
SM
21899 * comint.el: Use lexical-binding. Require CL.
21900 (comint-dynamic-complete-functions): Use comint-filename-completion.
21901 (comint-completion-addsuffix): Tweak custom type.
21902 (comint-filename-completion, comint--common-suffix)
21903 (comint--common-quoted-suffix, comint--table-subvert)
21904 (comint--complete-file-name-data): New functions.
21905 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21906 (comint-dynamic-list-filename-completions): Use them.
21907 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21908
2dbaa080
SM
21909 * minibuffer.el (completion-in-region-mode):
21910 Keep completion-in-region-mode--predicate global.
21911 (completion-in-region--postch):
21912 Assume completion-in-region-mode--predicate is not null.
21913
c79a6f38
SM
21914 * progmodes/flymake.el (flymake-start-syntax-check-process):
21915 Obey `dir'. Simplify.
21916
024ff170
SM
21917 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21918 we're in VC after all.
21919
1c6c854e
CS
219202011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21921
21922 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21923 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21924 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21925
bed7f140
SM
219262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21927
332e62ab
SM
21928 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21929 add sanity check.
21930
bed7f140
SM
21931 * obsolete/erc-hecomplete.el: Make obsolete.
21932 * obsolete/: Standardize obsolescence info in the header.
21933
f195c582
GM
219342011-04-20 Glenn Morris <rgm@gnu.org>
21935
21936 * calendar/solar.el (solar-horizontal-coordinates):
21937 Use the longitude argument rather than `calendar-longitude'.
21938 (solar-date-next-longitude): Remove unused locals.
21939
cb79b8c0
VJL
219402011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21941
21942 * whitespace.el: New version 13.2.1.
21943
219442011-04-20 felix <EmacsWiki> (tiny change)
21945
d8e4b68b 21946 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21947 switching between major modes on a file.
21948
602ea69d
SM
219492011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21950
21951 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21952 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21953 multi-line comments as well.
21954
06b60517
JB
219552011-04-19 Juanma Barranquero <lekktu@gmail.com>
21956
21957 Lexical-binding cleanup.
21958
21959 * arc-mode.el (archive-mode-revert):
21960 * cmuscheme.el (scheme-interactively-start-process):
21961 * custom.el (custom-initialize-delay):
21962 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21963 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21964 * emacs-lock.el (emacs-lock-clear-sentinel):
21965 * ezimage.el (defezimage):
21966 * follow.el (follow-avoid-tail-recenter):
21967 * fringe.el (set-fringe-mode-1):
21968 * generic-x.el (bat-generic-mode-compile):
21969 * help-mode.el (help-info-variable, help-do-xref)
21970 (help-mode-revert-buffer):
21971 * help.el (view-emacs-todo):
21972 * iswitchb.el (iswitchb-completion-help):
21973 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21974 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21975 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21976 * locate.el (locate-update):
21977 * longlines.el (longlines-encode-region)
21978 (longlines-after-change-function):
21979 * outline.el (outline-isearch-open-invisible):
21980 * ps-def.el (declare-function, charset-dimension, char-width)
21981 (encode-char):
21982 * ps-mule.el (ps-mule-plot-string):
21983 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21984 (recentf-edit-list-select, recentf-edit-list-validate)
21985 (recentf-open-files-action):
21986 * rect.el (delete-whitespace-rectangle-line)
21987 (rectangle-number-line-callback):
21988 * register.el (window-configuration-to-register)
21989 (frame-configuration-to-register):
21990 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21991 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21992 (xselect-convert-to-targets, xselect-convert-to-delete)
21993 (xselect-convert-to-filename, xselect-convert-to-charpos)
21994 (xselect-convert-to-lineno, xselect-convert-to-colno)
21995 (xselect-convert-to-os, xselect-convert-to-host)
21996 (xselect-convert-to-user, xselect-convert-to-class)
21997 (xselect-convert-to-name, xselect-convert-to-integer)
21998 (xselect-convert-to-atom, xselect-convert-to-identity):
21999 * subr.el (declare, ignore, process-kill-without-query)
22000 (text-clone-maintain):
22001 * terminal.el (te-get-char, te-tic-sentinel):
22002 * tool-bar.el (tool-bar-make-keymap):
22003 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22004 * type-break.el (type-break-mode, type-break-noninteractive-query):
22005 * view.el (View-back-to-mark):
22006 * wid-browse.el (widget-browse-action, widget-browse-widget)
22007 (widget-browse-widgets, widget-browse-sexp):
22008 * widget.el (define-widget-keywords):
22009 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22010 Mark unused parameters.
22011
22012 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22013 (align-areas): Remove unused variable `look'.
22014 (align-region): Remove unused variables `real-end' and `pos-list'.
22015
22016 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22017
22018 * bindings.el (mode-line-modified, mode-line-remote):
22019 Mark unused parameters.
22020 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22021
22022 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22023 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22024
22025 * comint.el (comint-history-isearch-pop-state)
22026 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22027 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22028 (comint-substitute-in-file-name): Doc fix.
22029
22030 * completion.el (cmpl-statistics-block): Mark unused parameter.
22031 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22032 (save-completions-to-file, load-completions-from-file):
22033 Remove unused local variable `e'.
22034
22035 * composite.el (compose-chars): Remove unused variable `len'.
22036 (lgstring-insert-glyph): Remove unused variable `g'.
22037 (compose-glyph-string): Remove unused variables `ascent',
22038 `descent', `lbearing' and `rbearing'.
22039 (compose-glyph-string-relative): Remove unused variables
22040 `lbearing', `rbearing' and `wadjust'.
22041 (compose-gstring-for-graphic): Remove unused variables `header',
22042 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22043 (compose-gstring-for-terminal): Remove unused variables `header'
22044 and `nchars'. Use `let', not `let*'.
22045
22046 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22047 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22048 (Custom-buffer-done, custom-buffer-create-internal)
22049 (custom-browse-visibility-action, custom-browse-group-tag-action)
22050 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22051 (widget-magic-mouse-down-action, custom-toggle-parent)
22052 (custom-add-parent-links, custom-toggle-hide-variable)
22053 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22054 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22055 (custom-face-menu-create, custom-variable-menu-create, get)
22056 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22057 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22058 (customize-apropos): Remove unused variable `tests'.
22059 (custom-group-value-create): Remove unused variable `hidden-p'.
22060 (sort-fold-case): Declare.
22061
22062 * cus-theme.el (custom-reset-standard-faces-list)
22063 (custom-reset-standard-variables-list): Declare.
22064 (customize-create-theme, custom-theme-revert, custom-theme-write)
22065 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22066 Mark unused parameters.
22067
22068 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22069
22070 * delim-col.el (delimit-columns-max): Move defvar before first use.
22071
22072 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22073 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22074
22075 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22076 (auto-insert): Declare.
22077 (desktop-restore-file-buffer): Rename desktop-* parameters;
22078 mark unused ones.
22079 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22080 (desktop-buffer): Rename desktop-* parameters.
22081
22082 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22083 (dframe-reposition-frame-xemacs, dframe-help-echo)
22084 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22085 Mark unused parameters.
22086
22087 * dired-aux.el (backup-extract-version-start, overwrite-query)
22088 (overwrite-backup-query, rename-regexp-query)
22089 (rename-non-directory-query): Declare.
22090 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22091 (dired-add-entry): Remove unused variable `orig-file-name'.
22092 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22093 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22094 `dired-copy-preserve-time' directly.
22095 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22096 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22097
22098 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22099 (dired-virtual-revert, dired-make-relative-symlink):
22100 Mark unused parameters.
22101 (manual-program): Declare.
22102 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22103 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22104 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22105
22106 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22107
22108 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22109
22110 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22111 Declare.
22112
22113 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22114
22115 * electric.el (Electric-command-loop): Rename parameter
22116 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22117
22118 * expand.el (expand-in-literal): Remove unused variable `here'.
22119
22120 * facemenu.el (facemenu-add-new-color):
22121 Remove unused variable `docstring'.
22122
22123 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22124 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22125 (face-attr-construct): Mark unused parameter. Doc fix.
22126 (read-color): Remove unused variable `hex-string'.
22127
22128 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22129 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22130 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22131 (display-buffer-other-frame): Remove unused variable `old-window'.
22132 (kill-buffer-hook): Declare.
22133 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22134 Mark unused parameters.
22135 (after-find-file): Pass 1 to `auto-save-mode', not t.
22136
22137 * files-x.el (auto-insert): Declare.
22138 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22139
22140 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22141 variable `buf'. Mark unused parameter.
06b60517
JB
22142 (find-lisp-insert-directory): Mark unused parameter.
22143
22144 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22145 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22146 (format-common-tail): Remove, unused.
22147 (format-deannotate-region): Remove unused variable `loc'.
22148 (format-annotate-region): Remove unused variable `p'.
22149 (format-annotate-single-property-change): Remove unused variables
22150 `default' and `tail'.
22151
22152 * forms.el (read-file-filter): Declare.
22153 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22154
22155 * frame.el (frame-creation-function-alist): Mark unused parameter.
22156 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22157
22158 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22159 Remove unused parameters.
22160 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22161 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22162
22163 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22164 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22165 (hfy-prepare-tag-map): Mark unused parameters.
22166 (htmlfontify-buffer): Use `called-interactively-p'.
22167
22168 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22169 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22170 (ibuffer-do-occur): Mark unused parameters.
22171 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22172 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22173
22174 * ibuffer.el: Don't quote `lambda'.
22175 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22176 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22177 Mark unused parameters.
22178
22179 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22180 (ido-completing-read): Mark unused parameters.
22181 (ido-copy-current-word): Mark unused parameters;
22182 remove unused variable `name'.
22183 (ido-sort-merged-list): Remove unused parameter `dirs'.
22184
22185 * ielm.el (ielm-input-sender): Mark unused parameter.
22186 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22187 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22188 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22189 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22190 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22191
22192 * image-dired.el (image-dired-display-thumbs): Remove unused
22193 variables `curr-file' and `count'.
22194 (image-dired-remove-tag): Remove unused variable `start'.
22195 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22196 variable `curr-file'
22197 (image-dired-rotate-original): Remove unused variable `temp-file'.
22198 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22199 Remove unused variable `file'.
22200 (image-dired-gallery-generate): Remove unused variable `curr'.
22201 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22202
22203 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22204
22205 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22206
22207 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22208
22209 * isearch.el (minibuffer-history-symbol): Declare.
22210 (isearch-edit-string): Remove unused variable `err'.
22211 (isearch-message-prefix, isearch-message-suffix):
22212 Mark unused parameters.
22213
22214 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22215
22216 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22217
22218 * makesum.el (double-column): Remove unused variable `cnt'.
22219
22220 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22221 (ido-ignore-item-temp-list): Declare.
22222
22223 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22224 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22225 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22226 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22227 `mouse-col-delta'.
22228
22229 * mouse-sel.el (mouse-extend-internal):
22230 Remove unused variable `orig-window-frame'.
22231
22232 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22233 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22234 Move declarations before first use.
22235 (pcomplete-opt): Mark unused parameters; doc fix.
22236
22237 * proced.el (proced-revert): Mark unused parameter.
22238 (proced-send-signal): Remove unused variable `err'.
22239
22240 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22241 Rename parameter PREFIX-ARG to ARG.
22242 (ps-basic-plot-string, ps-basic-plot-whitespace):
22243 Mark unused parameters.
22244
22245 * replace.el (replace-count): Define.
22246 (occur-revert-function): Mark unused parameters.
22247 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22248 (isearch-case-fold-search, isearch-string): Declare.
22249 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22250 bind `case-fold-search'. Remove unused variables `beg' and `end',
22251 and simplify.
22252 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22253 COUNT and bind `replace-count'.
22254 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22255 to COUNT.
22256
22257 * savehist.el (print-readably, print-string-length): Declare.
22258
22259 * shadowfile.el (shadow-expand-cluster-in-file-name):
22260 Remove unused variable `cluster'.
22261 (shadow-copy-file): Remove unused variable `i'.
22262 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22263 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22264 (shadow-define-literal-group, shadow-define-regexp-group)
22265 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22266
22267 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22268 (shell): Use `called-interactively-p'.
22269 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22270
22271 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22272 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22273 (delete-backward-char): Remove unused variable `ocol'.
22274 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22275 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22276 (event-apply-hyper-modifier, event-apply-shift-modifier)
22277 (event-apply-control-modifier, event-apply-meta-modifier):
22278 Mark unused parameters.
22279 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22280 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22281
22282 * speedbar.el (speedbar-ignored-directory-expressions)
22283 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22284 (speedbar-find-file, speedbar-dir-follow)
22285 (speedbar-directory-buttons-follow, speedbar-tag-find)
22286 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22287 (speedbar-buffers-line-directory, speedbar-buffer-click):
22288 Mark unused parameters.
22289 (speedbar-tag-file): Remove unused variable `mode'.
22290 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22291
22292 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22293
22294 * talk.el (talk): Remove unused variable `display'.
22295
22296 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22297 (tar-write-region-annotate): Mark unused parameter.
22298
22299 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22300 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22301 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22302 warning by another.
22303
22304 * time-stamp.el (time-stamp-string-preprocess):
22305 Remove unused variable `require-padding'.
22306
22307 * tree-widget.el (widget-glyph-enable): Declare.
22308 (tree-widget-action): Mark unused parameter.
22309
22310 * w32-fns.el (x-get-selection): Mark unused parameter.
22311 (autoload-make-program, generated-autoload-file): Declare.
22312
22313 * wdired.el (wdired-revert): Mark unused parameters.
22314 (wdired-xcase-word): Remove unused variable `err'.
22315
22316 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22317 (whitespace-help-scroll): Remove unused variable `data-help'.
22318
22319 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22320 (widget-image-insert, widget-after-change, default)
22321 (widget-default-format-handler, widget-default-notify)
22322 (widget-default-prompt-value, widget-info-link-action)
22323 (widget-url-link-action, widget-function-link-action)
22324 (widget-variable-link-action, widget-file-link-action)
22325 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22326 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22327 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22328 (widget-insert-button-action, widget-delete-button-action, visibility)
22329 (widget-documentation-link-action, widget-documentation-string-action)
22330 (widget-const-prompt-value, widget-regexp-match, symbol)
22331 (widget-coding-system-prompt-value)
22332 (widget-key-sequence-value-to-external, sexp)
22333 (widget-sexp-value-to-internal, character, vector, cons)
22334 (widget-choice-prompt-value, widget-boolean-prompt-value)
22335 (widget-color--choose-action): Mark unused parameters.
22336 (widget-item-match-inline, widget-choice-match-inline)
22337 (widget-checklist-match, widget-checklist-match-inline)
22338 (widget-group-match): Rename parameter VALUES to VALS.
22339 (widget-field-value-set): Remove unused variable `size'.
22340 (widget-color-action): Remove unused variables `value' and `start'.
22341
22342 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22343 variable `dir'. Doc fix.
06b60517
JB
22344 (windmove-find-other-window): Don't pass it.
22345
22346 * window.el (count-windows): Mark unused parameter.
22347 (bw-adjust-window): Remove unused variable `err'.
22348
22349 * woman.el (woman-file-name): Remove unused variable `default'.
22350 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22351 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22352 (global-font-lock-mode): Declare.
22353 (woman-decode-region): Mark unused parameter.
22354 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22355
22356 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22357 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22358 (x-dnd-handle-moz-url): Remove unused variable `title'.
22359 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22360
22361 * xml.el (xml-parse-tag, xml-parse-attlist):
22362 Remove unused variable `pos'.
22363
bc4f7f3d
GM
223642011-04-19 Glenn Morris <rgm@gnu.org>
22365
22366 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22367 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22368 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22369 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22370 * calendar/cal-html.el (cal-html-insert-minical):
22371 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22372 (calendar-mark-date-pattern):
22373 Prefix "unused" locals.
22374
22375 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22376 optional argument `style'.
22377
22378 * calendar/appt.el (appt-make-list):
22379 * calendar/cal-china.el (calendar-chinese-date-string):
22380 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22381 (diary-hebrew-yahrzeit):
22382 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22383 * calendar/calendar.el (calendar-generate-window):
22384 * calendar/time-date.el (time-to-days):
22385 Remove unused local variables.
22386
16a43933
CY
223872011-04-18 Chong Yidong <cyd@stupidchicken.com>
22388
22389 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22390 glyphless-char-display table.
22391 (tabulated-list-glyphless-char-display): New var.
22392
7eed1860
SS
223932011-04-18 Sam Steingold <sds@gnu.org>
22394
22395 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22396 to acknowledgments.
22397
4d2d1ccd
GM
223982011-04-17 Glenn Morris <rgm@gnu.org>
22399
22400 * calendar/diary-lib.el (diary-sexp-entry):
22401 * calendar/holidays.el (holiday-sexp):
22402 Set debug-on-error rather than the removed stack-trace-on-error.
22403
239da61d
GM
224042011-04-16 Glenn Morris <rgm@gnu.org>
22405
22406 * progmodes/f90.el: Use lexical-binding.
22407 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22408
8b05752a
SM
224092011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22410
daca8ba5
SM
22411 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22412 (mail-mode): Setup mailalias completion here instead.
22413 * mail/mailalias.el: Use lexical-binding.
22414 (pattern, mailalias-done): Declare dynamic.
22415 (mail-completion-at-point-function): New function, from mail-complete.
22416 (mail-complete): Use it.
22417 (mail-completion-expand): New function.
22418 (mail-get-names): Use it.
22419 (mail-directory, mail-directory-process, mail-directory-stream):
22420 Don't use `pattern' for lexically bound arg.
22421
6f542485
SM
22422 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22423
037e7c3f
SM
22424 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22425 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22426 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22427
8b05752a
SM
22428 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22429 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22430 (byte-interactive-p): Define them again, for use when inlining
22431 old code.
22432
49093f60
JB
224332011-04-15 Juanma Barranquero <lekktu@gmail.com>
22434
22435 * loadup.el: Use `string-to-number', not `string-to-int'.
22436
b5b8e7de
SM
224372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22438
22439 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22440 gud-gdb-complete-command.
22441 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22442 (gud-gdb-completion-at-point): New function.
22443 (gud-gdb-completions): Remove.
22444
f42efeb5
MA
224452011-04-14 Michael Albinus <michael.albinus@gmx.de>
22446
49093f60
JB
22447 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22448 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22449 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22450 whether `executable-find' is bound.
f42efeb5
MA
22451
22452 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22453
e240cc21
SM
224542011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22455
22456 * minibuffer.el (completion-in-region-mode-predicate)
22457 (completion-in-region-mode--predicate): New vars.
22458 (completion-in-region, completion-in-region--postch)
22459 (completion-in-region-mode): Use them.
22460 (completion--capf-wrapper): Also return the hook function.
22461 (completion-at-point, completion-help-at-point):
22462 Adjust and provide a predicate.
c2bd2ab0
SM
22463
22464 Preserve arg names for advice of subr and lexical functions (bug#8457).
22465 * help-fns.el (help-function-arglist): Consolidate the subr and
22466 new-byte-code cases. Add argument `preserve-names' to extract names
22467 from the docstring when needed.
22468 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22469 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22470 (ad-arglist): Use help-function-arglist's new arg.
22471 (ad-definition-type): Use cond.
22472
c183f693
JB
224732011-04-13 Juanma Barranquero <lekktu@gmail.com>
22474
06641a47
JB
22475 * autorevert.el (auto-revert-handler):
22476 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22477 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22478 Don't quote lambda.
22479
c183f693
JB
22480 * image-mode.el (image-transform-set-scale):
22481 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22482
1e3b6001
G
224832011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22484
22485 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22486 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22487 Upgrades via gnutls-cli are too slow to be done opportunistically.
22488
2d6af8dd
JB
224892011-04-12 Juanma Barranquero <lekktu@gmail.com>
22490
22491 * dframe.el (dframe-current-frame): Remove spurious quote.
22492
c0749a51
GM
224932011-04-12 Glenn Morris <rgm@gnu.org>
22494
088d0d61
GM
22495 * calendar/cal-tex.el (cal-tex-end-document):
22496 Try to automatically use latin1 input if needed.
22497
c0749a51
GM
22498 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22499 Don't try to cons a mark onto an empty element.
22500
5c90fde0
LL
225012011-04-11 Leo Liu <sdl.web@gmail.com>
22502
22503 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22504 buffers.
22505 (ido-kill-buffer-at-head): Support killing virtual buffers.
22506
369e974d
CY
225072011-04-10 Chong Yidong <cyd@stupidchicken.com>
22508
22509 * minibuffer.el (completion-show-inline-help): New var.
22510 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22511 (minibuffer-force-complete, minibuffer-complete-word):
22512 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22513
22514 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22515 to avoid interference from inline help (Bug#5849).
22516
37f1c930
LL
225172011-04-10 Leo Liu <sdl.web@gmail.com>
22518
099c39a4
JB
22519 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22520 Fix typo.
37f1c930 22521
a32d4040
CY
225222011-04-09 Chong Yidong <cyd@stupidchicken.com>
22523
22524 * image-mode.el (image-toggle-display-image): Signal an error if
22525 not in Image mode.
22526 (image-transform-mode, image-transform-resize)
22527 (image-transform-set-rotation): Doc fix.
daca8ba5 22528 (image-transform-set-resize): Delete.
a32d4040
CY
22529 (image-transform-set-scale, image-transform-fit-to-height)
22530 (image-transform-fit-to-width): Handle image-toggle-display-image
22531 and image-transform-resize directly.
22532
099c39a4 225332011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22534
22535 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22536 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22537 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22538 (doc-view-mode-map): Add bindings for the new functions.
22539
099c39a4 225402011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22541
4d61f28d 22542 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22543 Fix typo in docstring.
22544
3726838a
EZ
225452011-04-08 Eli Zaretskii <eliz@gnu.org>
22546
04f33f1e
EZ
22547 * files.el (file-size-human-readable): Produce one digit after
22548 decimal, like "ls -lh" does.
22549
22550 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22551 the file size representation.
22552
3726838a
EZ
22553 * simple.el (list-processes): If async subprocesses are not
22554 available, error out with a clear error message.
22555
cbb59342
CY
225562011-04-08 Chong Yidong <cyd@stupidchicken.com>
22557
22558 * help.el (help-form-show): New function, to be called from C.
22559 Put help-form output in a buffer named differently than *Help*.
22560
e3971c44
EZ
225612011-04-08 Eli Zaretskii <eliz@gnu.org>
22562
22563 * files.el (file-size-human-readable): New function.
22564
22565 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22566 computing the representation inline. Don't require `cl'.
22567
12544bbe
GM
225682011-04-08 Glenn Morris <rgm@gnu.org>
22569
a1de6c6a
GM
22570 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22571
3c4671f4
GM
22572 * net/browse-url.el (browse-url-firefox):
22573 Test system-type, not system-configuration.
22574
b605679c
GM
22575 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22576 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22577 Use log-edit-empty-buffer-p. (Bug#7598)
22578
56442f0c
GM
22579 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22580 (rlogin-mode-map): Initialize in the defvar.
22581 (rlogin): Use ignore-errors.
22582
12544bbe
GM
22583 * replace.el (occur-mode-map): Some fixes for menu items.
22584
eb237b0f
AH
225852011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22586
22587 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22588
7d668f2c
CY
225892011-04-06 Chong Yidong <cyd@stupidchicken.com>
22590
e67a13ab
CY
22591 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22592 issuing unused warnings.
22593
22594 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22595 macro directly.
22596
7d668f2c
CY
22597 * simple.el: Lisp reimplement of list-processes. Based on an
22598 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22599 (process-menu-mode): New major mode.
22600 (list-processes--refresh, list-processes):
22601 (process-menu-visit-buffer): New functions.
22602
22603 * files.el (save-buffers-kill-emacs): Don't assume any return
22604 value of list-processes, which is undocumented anyway.
22605
a83ec3c9
CY
226062011-04-06 Chong Yidong <cyd@stupidchicken.com>
22607
22608 * emacs-lisp/tabulated-list.el: New file.
22609
e91a96fe
CY
22610 * emacs-lisp/package.el: Use Tabulated List mode.
22611 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22612 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22613 table format using Tabulated List mode variables.
22614 (package--push): New macro, replacing package-list-maybe-add.
22615 (package-menu--generate): Use package--push. Renamed from
22616 package--generate-package-list.
22617 (package-menu-refresh, list-packages): Use it.
daca8ba5 22618 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22619 Return insertion data instead of inserting it directly.
099c39a4
JB
22620 (package-menu-describe-package, package-menu-execute):
22621 Use tabulated-list-get-id.
e91a96fe
CY
22622 (package-menu-mark-delete, package-menu-mark-install)
22623 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22624 (package-menu-mark-obsolete-for-deletion):
22625 Use tabulated-list-put-tag.
e91a96fe
CY
22626 (package--list-packages, package-menu-revert)
22627 (package-menu-get-package, package-menu-get-version)
22628 (package-menu-sort-by-column): Functions deleted.
22629 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22630 (package-menu--status-predicate, package-menu--version-predicate)
22631 (package-menu--name-predicate)
22632 (package-menu--description-predicate): Handle arguments in the
22633 Tabulated List format.
22634 (package-list-packages-no-fetch): Call list-packages.
22635
3e214b50
JB
226362011-04-06 Juanma Barranquero <lekktu@gmail.com>
22637
22638 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22639 (after-find-file): Don't bind it.
3e214b50
JB
22640 (revert-buffer-in-progress-p): New variable.
22641 (revert-buffer): Bind it.
22642 Pass nil for `after-find-file-from-revert-buffer'.
22643
22644 * saveplace.el (save-place-find-file-hook): Use new variable
22645 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22646
3f0f1700
GM
226472011-04-06 Glenn Morris <rgm@gnu.org>
22648
c0274801
GM
22649 * Makefile.in (AUTOGEN_VCS): New variable.
22650 (autoloads): Use $AUTOGEN_VCS.
22651
3f0f1700
GM
22652 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22653 * calendar/calendar.el (calendar-mode-map):
22654 Check for toolkit scroll bars. (Bug#8305)
22655
41ea9e48
CY
226562011-04-05 Chong Yidong <cyd@stupidchicken.com>
22657
22658 * minibuffer.el (completion-in-region--postch)
22659 (completion-in-region-mode): Remove unnecessary messages.
22660
6194c800
JB
226612011-04-05 Juanma Barranquero <lekktu@gmail.com>
22662
33256f14
JB
22663 * font-lock.el (font-lock-refresh-defaults):
22664 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22665 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22666
6194c800
JB
22667 * info.el (Info-directory-list, Info-read-node-name-2)
22668 (Info-split-parameter-string): Doc fixes.
22669 (Info-virtual-nodes): Reflow docstring.
22670 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22671 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22672 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22673 Fix typos in docstrings.
22674 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22675 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22676 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22677 (Info-restore-desktop-buffer): Mark unused parameters.
22678 (Info-directory-find-file, Info-directory-find-node)
22679 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22680 (Info-virtual-index-find-node, Info-apropos-find-file)
22681 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22682 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22683 (Info-virtual-index): Remove unused local variable `nodename'.
22684
b87a8200 226852011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22686
b87a8200
DD
22687 * net/rcirc.el: Update my e-mail address.
22688 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22689
3b2ff876
CY
226902011-04-05 Chong Yidong <cyd@stupidchicken.com>
22691
22692 * startup.el (command-line): Save the cursor's theme-face
22693 directly, instead of using face-override-spec.
22694
22695 * custom.el (load-theme): Minor optimization in assigning faces.
22696
8d17e7ca
JB
226972011-04-04 Juanma Barranquero <lekktu@gmail.com>
22698
22699 * help-fns.el (describe-variable): Complete all variables having
22700 documentation, including keywords.
22701 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22702
2fbc1934
JB
227032011-04-04 Juanma Barranquero <lekktu@gmail.com>
22704
22705 Convert to lexical-binding.
22706
22707 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22708 (bs--get-marked-string, bs--get-modified-string)
22709 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22710 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22711 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22712
22713 * ehelp.el (electric-help-execute-extended)
22714 (electric-help-ctrl-x-prefix):
22715 * hexl.el (hexl-revert-buffer-function):
22716 * linum.el (linum-after-change, linum-after-scroll):
22717 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22718
22719 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22720
74f50695
DU
227212011-04-04 Daiki Ueno <ueno@unixuser.org>
22722
22723 * epa-dired.el:
22724 * epa-mail.el:
22725 * epa-hook.el:
22726 * epa-file.el:
22727 * epa.el:
22728 * epg.el: Use lexical binding.
22729
c11325f7
CY
227302011-04-03 Chong Yidong <cyd@stupidchicken.com>
22731
0d9e9a12
CY
22732 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22733
c11325f7 22734 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22735 dictionary case for flyspell-mark-duplications-exceptions.
22736 Use regexp matching for languages.
c11325f7
CY
22737 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22738 default dictionary (Bug#7926).
22739
da91b5f2
CY
227402011-04-02 Chong Yidong <cyd@stupidchicken.com>
22741
099c39a4
JB
22742 * emacs-lisp/package.el (package--with-work-buffer):
22743 Recognize https URLs.
da91b5f2 22744
099c39a4
JB
22745 * net/network-stream.el: Move from gnus/proto-stream.el.
22746 Change prefix to network-stream throughout.
da91b5f2
CY
22747 (open-protocol-stream): Merge into open-network-stream, leaving
22748 open-protocol-stream as an alias. Handle nil BUFFER args.
22749
22750 * subr.el (open-network-stream): Move to net/network-stream.el.
22751
afa8e9f6
GM
227522011-04-02 Glenn Morris <rgm@gnu.org>
22753
1d2e369d
GM
22754 * find-dired.el (find-exec-terminator): New option.
22755 (find-ls-option): Test for -ls support.
22756 (find-ls-subdir-switches): Test for -b in find-ls-option.
22757 (find-dired, find-grep-dired): Doc fixes.
22758 (find-dired): Use find-exec-terminator.
22759
8abb7da8 22760 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22761 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22762 (find-name-arg): Remove purecopy.
8abb7da8 22763
f3ca7378
GM
22764 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22765 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22766 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22767 accordingly. Don't add the null-device if not needed.
22768
afa8e9f6
GM
22769 * files.el (save-some-buffers): Doc fix.
22770
35eae264
EZ
227712011-04-02 Eli Zaretskii <eliz@gnu.org>
22772
22773 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22774
26b51db5
JB
227752011-04-01 Juanma Barranquero <lekktu@gmail.com>
22776
22777 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22778 Use `dolist' rather than `mapcar'.
22779
7200d79c
SM
227802011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22781
03408648 22782 Add lexical binding.
7200d79c 22783
03408648
SM
22784 * subr.el (apply-partially): Use new closures rather than CL.
22785 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22786 (dolist, dotimes): Use slightly different expansion for lexical code.
22787 (functionp): Move to C.
22788 (letrec): New macro.
22789 (with-wrapper-hook): Use it and apply-partially instead of CL.
22790 (eval-after-load): Preserve lexical-binding.
22791 (save-window-excursion, with-output-to-temp-buffer): Turn them
22792 into macros.
7200d79c 22793
03408648
SM
22794 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22795
22796 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22797 than the arglist.
22798 (help-add-fundoc-usage): Don't add `Not documented'.
22799 (help-function-arglist): Handle closures, subroutines, and new
22800 byte-code-functions.
22801 (help-make-usage): Remove leading underscores.
22802 (describe-function-1): Handle closures.
22803 (describe-variable): Use special-variable-p for completion.
22804
22805 * files.el (lexical-binding): Declare safe.
f488fb65 22806
03408648
SM
22807 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22808 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22809 (pcase): Add `let' pattern.
22810 Change memoization so it actually works.
22811 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22812 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22813 <let>: New case.
f488fb65 22814
03408648
SM
22815 * emacs-lisp/macroexp.el: Use lexical binding.
22816 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22817 Don't convert ' to #' without checking that it's indeed quoting
22818 a lambda.
22819
22820 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22821 Use eval-sexp-add-defvars.
03408648
SM
22822 (eval-sexp-add-defvars): New fun.
22823
22824 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22825
22826 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22827 Don't autoload.
22828 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22829 than the internal `byte-compile-lambda'.
22830 (defmethod): Don't hide code under quotes.
22831 (eieio-defmethod): New `code' argument.
22832
22833 * emacs-lisp/eieio-comp.el: Remove.
22834
22835 * emacs-lisp/edebug.el (edebug-eval-defun)
22836 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22837 (edebug-toggle): Avoid `eval'.
22838
22839 * emacs-lisp/disass.el (disassemble-internal): Handle new
22840 `closure' objects.
22841 (disassemble-1): Handle new byte codes.
22842
22843 * emacs-lisp/cl.el (pushnew): Silence warning.
22844
22845 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22846 (cl-byte-compile-throw): Remove.
22847 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22848
22849 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22850 closures.
22851
22852 * emacs-lisp/cconv.el: New file.
22853
22854 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22855 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22856 (byte-compile-initial-macro-environment):
22857 Handle declare-function here.
22858 (byte-compile--lexical-environment): New var.
22859 (byte-stack-ref, byte-stack-set, byte-discardN)
22860 (byte-discardN-preserve-tos): New lap codes.
22861 (byte-interactive-p): Don't use any more.
22862 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22863 New macros.
22864 (byte-compile-lapcode): Use them and handle new lap codes.
22865 (byte-compile-obsolete): Remove.
22866 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22867 (byte-compile-arglist-warn): Check late def of inlinable funs.
22868 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22869 since they should have been expanded by now.
22870 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22871 (byte-compile-from-buffer): Remove unused second arg.
22872 (byte-compile-preprocess): New function.
22873 (byte-compile-toplevel-file-form): New function to distinguish
22874 file-form calls from outside from file-form calls from hunk-handlers.
22875 (byte-compile-file-form): Simplify.
22876 (byte-compile-file-form-defsubst): Remove.
22877 (byte-compile-file-form-defmumble): Simplify now that
22878 byte-compile-lambda always returns a byte-code-function.
22879 (byte-compile): Preprocess.
22880 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22881 Remove, not used any more.
22882 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22883 (byte-compile-make-args-desc): New funs.
22884 (byte-compile-lambda): Handle lexical functions. Always return
22885 a byte-code-function.
22886 (byte-compile-reserved-constants): New var, to make up room for
22887 closed-over variables.
22888 (byte-compile-constants-vector): Obey it.
22889 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22890 (byte-compile-macroexpand-declare-function): New function.
22891 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22892 byte-code-functions.
22893 (byte-compile-form): Check obsolescence here.
22894 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22895 (byte-compile-variable-ref): Remove.
22896 (byte-compile-dynamic-variable-op): New fun.
22897 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22898 (byte-compile-variable-set): New funs.
22899 (byte-compile-discard): Add 2 args.
22900 (byte-compile-stack-ref, byte-compile-stack-set)
22901 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22902 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22903 macroexpand-all instead.
22904 (byte-compile-quote-form): Remove.
22905 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22906 (byte-compile-bind, byte-compile-unbind): New funs.
22907 (byte-compile-let): Handle let* and lexical binding.
22908 (byte-compile-let*): Remove.
22909 (byte-compile-catch, byte-compile-unwind-protect)
22910 (byte-compile-track-mouse, byte-compile-condition-case):
22911 Handle a new :fun-body form, used for lexical scoping.
22912 (byte-compile-save-window-excursion)
22913 (byte-compile-with-output-to-temp-buffer): Remove.
22914 (byte-compile-defun): Simplify.
22915 (byte-compile-stack-adjustment): New fun.
22916 (byte-compile-out): Use it.
22917 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22918
22919 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22920 handler any more.
22921
22922 * emacs-lisp/byte-opt.el: Use lexical binding.
22923 (byte-inline-lapcode): Remove (to bytecomp).
22924 (byte-compile-inline-expand): Pay attention to inlining to/from
22925 lexically bound code.
22926 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22927 any more.
22928 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22929 any more and don't call compiler-macros.
22930 (byte-compile-splice-in-already-compiled-code): Remove.
22931 (byte-code): Don't inline any more.
22932 (disassemble-offset): Receive `bytes' as argument rather than via
22933 dynamic scoping.
22934 (byte-compile-tag-number): Declare before first use.
22935 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22936 `return' even if make-spliceable.
22937 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22938 obsolete interactive-p.
22939 (byte-optimize-lapcode): Optimize new lap-codes.
22940 Don't trip up on new form of `byte-constant' lap code.
22941
22942 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22943
22944 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22945
22946 * custom.el (custom-initialize-default, custom-declare-variable):
22947 Use `defvar'.
22948
22949 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22950 New variables.
22951 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22952 (COMPILE_FIRST): Add macroexp and cconv.
22953 * makefile.w32-in: Mirror changes in Makefile.in.
22954
22955 * vc/cvs-status.el:
22956 * vc/diff-mode.el:
22957 * vc/log-edit.el:
22958 * vc/log-view.el:
22959 * vc/smerge-mode.el:
22960 * textmodes/bibtex-style.el:
090bd7cb 22961 * textmodes/css-mode.el:
03408648
SM
22962 * startup.el:
22963 * uniquify.el:
da91b5f2
CY
22964 * minibuffer.el:
22965 * newcomment.el:
22966 * reveal.el:
22967 * server.el:
22968 * mpc.el:
22969 * emacs-lisp/smie.el:
22970 * doc-view.el:
22971 * dired.el:
03408648
SM
22972 * abbrev.el: Use lexical binding.
22973
0f0c1f27
EZ
229742011-04-01 Eli Zaretskii <eliz@gnu.org>
22975
22976 * info.el (info-display-manual): New function.
22977
c82b2579
SM
229782011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22979
22980 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22981
221ddf68
TH
229822011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22983
22984 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22985 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22986
cba6e77e
GM
229872011-03-31 Glenn Morris <rgm@gnu.org>
22988
e040639f
GM
22989 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22990
cba6e77e
GM
22991 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22992
6d0f1c9e
CS
229932011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22994
22995 * progmodes/python.el (python-default-interpreter)
22996 (python-python-command-args, python-jython-command-args)
22997 (python-which-shell, python-which-args, python-which-bufname)
22998 (python-file-queue, python-comint-output-filter-function)
22999 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23000 variables and functions.
23001
3e2d70fd
SM
230022011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23003
23004 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23005 (completion-in-region-mode): New minor mode.
23006 (completion-in-region): Use it.
23007 (completion-in-region--data, completion-in-region-mode-map): New vars.
23008 (completion-in-region--postch): New function.
23009 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23010 New vars.
23011 (completion--capf-wrapper): New function.
23012 (completion-at-point): Use it to track well-behavedness of
23013 hook functions.
23014 (completion-help-at-point): New command.
23015
f3e4086c
JM
230162011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23017
23018 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23019 syntax class to search for whitespace on a single line
23020 (Message-ID: <4D938140.4030905@redhat.com>).
23021
eb7ffc14
LL
230222011-03-30 Leo Liu <sdl.web@gmail.com>
23023
23024 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23025 New commands.
23026 (edit-abbrevs-map): Bind them here.
23027 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23028
d806ab68
KM
230292011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23030
23031 * allout.el (allout-hide-by-annotation, allout-flag-region):
23032 Reduce possibility of overlay leakage by making them volatile.
23033
23034 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23035 hash is not shared between buffers. Mode initialization is
23036 responsible for giving it a useful starting value.
23037 (allout-item-span): Reduce possibility of overlay leakage by
23038 making them volatile.
23039 (allout-widgets-count-buttons-in-region): Add diagnostic function
23040 for tracking down button overlay leaks.
23041
ea622834
LL
230422011-03-29 Leo Liu <sdl.web@gmail.com>
23043
23044 * ido.el (ido-read-internal): Use the default history var
23045 minibuffer-history if no HISTORY is specified.
23046
b62f8267
G
230472011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23048
03408648
SM
23049 * net/imap.el (imap-shell-open, imap-process-connection-type):
23050 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23051 Kerberos, SSL, other subprocesses.
23052
947b6566
LL
230532011-03-28 Leo Liu <sdl.web@gmail.com>
23054
23055 * abbrev.el (abbrev-table-empty-p): New function.
23056 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23057 nonempty ones. (Bug#5937)
23058
5ffb62aa
JD
230592011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23060
23061 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23062
7a097943
LL
230632011-03-27 Leo Liu <sdl.web@gmail.com>
23064
23065 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23066 for foreground and background colors.
23067 (ansi-color-make-color-map): Adapt.
23068
c5b40130
LL
230692011-03-25 Leo Liu <sdl.web@gmail.com>
23070
1f48f7d2
LL
23071 * midnight.el (midnight-time-float): Remove. Note it calculates
23072 the microsecond component incorrectly and seconds-to-time does the
23073 same job.
625897ec 23074 Remove redundant (require 'timer).
1f48f7d2 23075
c5b40130
LL
23076 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23077 (ido-completions): Remove unused arguments. (Bug#8329)
23078
d86d2721
SM
230792011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23080
23081 * minibuffer.el (completion--flush-all-sorted-completions):
23082 Remove itself from hook.
23083 (completion-at-point): Let the functions perform the completion
23084 immediately and return nil or t.
23085 * comint.el (comint-dynamic-complete-functions): Now identical to
23086 completion-at-point-functions.
23087 (comint-dynamic-list-input-ring): Remove unused var `index'.
23088 (comint--match-partial-filename, comint--unquote&expand-filename):
23089 New funs, split from comint-match-partial-filename.
23090 (comint-dynamic-complete): Use completion-at-point.
23091 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23092
e8974c48
DA
230932011-03-24 Drew Adams <drew.adams@oracle.com>
23094
23095 * thingatpt.el: Support `defun'.
23096
def71b5e
LL
230972011-03-23 Leo Liu <sdl.web@gmail.com>
23098
cb5af48e
LL
23099 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23100
def71b5e
LL
23101 * help-mode.el (help-mode-finish): Tweak regexp.
23102
927c53e7
GM
231032011-03-23 Glenn Morris <rgm@gnu.org>
23104
18d05bed
GM
23105 * eshell/esh-opt.el (eshell-eval-using-options):
23106 Do not bind unused local variable `eshell-option-stub'.
23107
927c53e7
GM
23108 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23109
9d0da923
JB
231102011-03-22 Juanma Barranquero <lekktu@gmail.com>
23111
23112 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23113 keymap variable in `with-no-warnings' to avoid a warning when the
23114 keymap has been already `defconst'ed.
23115
4b978a67
LL
231162011-03-22 Leo Liu <sdl.web@gmail.com>
23117
23118 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23119 encode all chars in abbrevs; otherwise use emacs-mule or
23120 utf-8-emacs. (Bug#8308)
23121
5fd62452
JB
231222011-03-22 Juanma Barranquero <lekktu@gmail.com>
23123
0b1596c6
JB
23124 * simple.el (backward-delete-char-untabify):
23125 Avoid warning about using `delete-backward-char'.
23126
5fd62452
JB
23127 * image.el (image-type-file-name-regexps): Make it variable.
23128 `imagemagick-register-types' modifies it, and the user may want
23129 to add new extensions for known image types.
23130 (imagemagick-register-types): Throw error if not using ImageMagick.
23131
0b4e93f1
LL
231322011-03-22 Leo Liu <sdl.web@gmail.com>
23133
23134 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23135 located before rcirc-prompt-end-marker.
23136 (rcirc-complete): Error if point is not after rcirc prompt.
23137 Handle the case when table is nil.
9882e214 23138 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23139
fccee4ab
CY
231402011-03-22 Chong Yidong <cyd@stupidchicken.com>
23141
23142 * custom.el (custom--inhibit-theme-enable): Make it affect only
23143 custom-theme-set-variables and custom-theme-set-faces.
23144 (provide-theme): Ignore custom--inhibit-theme-enable.
23145 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23146 (custom-enabling-themes): Delete variable.
d86d2721
SM
23147 (enable-theme): Accept only loaded themes as arguments.
23148 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23149 (custom-enabled-themes): Forbid themes from setting this.
23150 Eliminate use of custom-enabling-themes.
23151 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23152
af896da6
LL
231532011-03-21 Leo Liu <sdl.web@gmail.com>
23154
23155 * ido.el (ido-read-internal): Add ido-selected to history instead
23156 of user input.
23157
78f64af0
SM
231582011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23159
23160 * subr.el (deferred-action-list, deferred-action-function):
23161 Mark obsolete.
23162
b16ac1ec
LL
231632011-03-21 Leo Liu <sdl.web@gmail.com>
23164
810f7698
LL
23165 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23166 change on 2011-02-13 (bug#8309).
23167
b16ac1ec
LL
23168 * minibuffer.el (read-file-name-function): Change default value.
23169 (read-file-name--defaults): Rename from read-file-name-defaults.
23170 (read-file-name-default): Rename from read-file-name.
23171 (read-file-name): Call read-file-name-function.
23172
4e05e67e
GM
231732011-03-21 Glenn Morris <rgm@gnu.org>
23174
23175 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23176 Doc fixes.
23177
4359915b
CY
231782011-03-21 Chong Yidong <cyd@stupidchicken.com>
23179
23180 * cus-theme.el: Add missing provide statement.
23181 (customize-create-theme): Extract theme value correctly.
23182 (custom-theme-visit-theme): Autoload.
23183 (customize-create-theme): Prompt before inserting default faces.
23184
1fe275ee
JB
231852011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23186
23187 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23188 units and musical notes.
23189
cd394be1 231902011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23191
23192 * ido.el (ido-read-internal): Use completing-read-default.
23193 (ido-completing-read): Fix compatibility with completing-read.
23194
7d476bde
CO
231952011-03-20 Christian Ohler <ohler@gnu.org>
23196
23197 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23198 (ert-delete-all-tests): Use `called-interactively-p' rather than
23199 `interactive-p'.
23200 (ert--make-xrefs-region): Respect END.
23201
fe0fb33e
CY
232022011-03-19 Chong Yidong <cyd@stupidchicken.com>
23203
ff854b0b
CY
23204 * dired-aux.el (dired-create-directory): Signal an error if the
23205 directory already exists (Bug#8246).
23206
fe0fb33e
CY
23207 * facemenu.el (list-colors-display): Call list-faces-display
23208 inside with-help-window.
23209 (list-colors-print): Use display property to align the final
23210 column, instead of checking window-width.
23211
576bce32
EZ
232122011-03-19 Eli Zaretskii <eliz@gnu.org>
23213
4d61f28d 23214 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23215 windows-nt systems.
23216 (emerge-protect-metachars): Quote correctly for ms-dos and
23217 windows-nt systems.
23218
89c41d68 232192011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23220
23221 * info.el (info-initialize): Replace all uses of `:' with
23222 path-separator for compatibility with non-Unix systems.
23223 Cache quoting of path-separator. (Bug#8258)
23224
b14e3e21 232252011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23226
23227 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23228 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23229 (mouse-avoidance-mode): Fix typos in docstrings.
23230
4525ce3e
CY
232312011-03-19 Chong Yidong <cyd@stupidchicken.com>
23232
23233 * startup.el (package-subdirectory-regexp): Move from package.el.
23234 Omit \\` and \\', and let callers add them.
23235
23236 * emacs-lisp/package.el (package-strip-version)
23237 (package-load-all-descriptors): Add \\` and \\' to
23238 package-subdirectory-regexp before using it.
23239 (package-untar-buffer): New arg DIR; ensure that file untars only
23240 into this expected directory. Remove superfluous delete-region.
23241 (package-unpack): Caller changed.
23242 (package-tar-file-info): Use package-subdirectory-regexp.
23243
a904a09a 232442011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23245
a904a09a
SM
23246 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23247 diff-mode-shared-map (bug#8284).
23248 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23249
232502011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23251
23252 * calendar/time-date.el (format-seconds): Use assoc instead of
23253 assoc-string, since assoc-string doesn't exist in XEmacs.
23254
171fc304
JB
232552011-03-17 Juanma Barranquero <lekktu@gmail.com>
23256
23257 * custom.el (custom-known-themes): Reflow docstring.
23258 (custom-theme-load-path): Fix typo in docstring.
23259 (load-theme): Fix typo in error message.
23260 (custom-available-themes, custom-variable-theme-value):
23261 Use `let', not `let*'.
23262
d71990a1
JB
232632011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23264
23265 * calc/README: Mention inclusion of musical notes.
23266
23267 * calc/calc-units.el (calc-lu-quant): Rename from
23268 `calc-logunits-quantity'.
23269 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23270 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23271 (calc-db): Rename from `calc-dblevel'.
23272 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23273 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23274 (calc-np): Rename from `calc-nplevel'.
23275 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23276 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23277 (calc-lu-plus): Rename from `calc-logunits-add'.
23278 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23279 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23280 (calc-lu-minus): Rename from `calc-logunits-sub'.
23281 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23282 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23283 (calc-lu-times): Rename from `calc-logunits-mul'.
23284 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23285 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23286 (calc-lu-divide): Rename from `calc-logunits-div'.
23287 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23288 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23289
23290 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23291 functions being autoloaded.
23292
23293 * calc/calc.el (calc-lu-power-reference): Rename from
23294 `calc-logunits-power-reference'.
23295 (calc-lu-field-reference): Rename from
23296 `calc-logunits-field-reference'.
23297
7a71b18d
GM
23298 * calc/calc-help.el (calc-l-prefix-help):
23299 Mention musical note functions.
d71990a1 23300
40c2934b
SM
233012011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23302
23303 * minibuffer.el (completion-all-sorted-completions):
23304 Use :completion-cycle-penalty text property if present.
23305
b0911414
KM
233062011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23307
23308 * allout.el (allout-yank-processing): Adjust for new rebulleting
23309 regime so bullet being yanked is used without prompting the user
23310 for a choice.
23311
8a05b668
JB
233122011-03-16 Juanma Barranquero <lekktu@gmail.com>
23313
23314 * startup.el (command-line): Warn the user that _emacs is deprecated.
23315
5ba5fb81
JB
233162011-03-16 Juanma Barranquero <lekktu@gmail.com>
23317
23318 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23319 (delphi-verbose, delphi-comment-face, delphi-string-face)
23320 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23321 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23322 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23323 (delphi-new-comment-line, delphi-font-lock-defaults)
23324 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23325 Fix typos in docstrings.
23326
2dab465b
KM
233272011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23328
5ba5fb81 23329 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23330 Invert the roles of character and string values for INSTEAD, so a
23331 string is used for the more common case of a defaulting prompt.
23332
0adf5618
SM
233332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23334
23335 * progmodes/ruby-mode.el (ruby-backward-sexp):
23336 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23337 * play/gamegrid.el (gamegrid-make-face):
23338 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23339 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23340 * notifications.el (notifications-notify):
23341 * net/xesam.el (xesam-search-engines):
23342 * net/quickurl.el (quickurl-list-insert):
23343 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23344
d72700e5
CY
233452011-03-15 Chong Yidong <cyd@stupidchicken.com>
23346
23347 * startup.el (command-line): Update package subdirectory regexp.
23348
49c5410a
SM
233492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23350
c6eee9aa
SM
23351 * allout.el (allout-abbreviate-flattened-numbering)
23352 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23353
49c5410a
SM
23354 * subr.el (read-char-choice): Only show the cursor after the prompt,
23355 not after the answer.
23356
047b2bb9
KR
233572011-03-15 Kevin Ryde <user42@zip.com.au>
23358
23359 * help-fns.el (variable-at-point): Skip leading quotes, if any
23360 (bug#8253).
23361
0a57d256
SM
233622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23363
23364 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23365 warning message.
23366
77c992bc
MA
233672011-03-14 Michael Albinus <michael.albinus@gmx.de>
23368
23369 * shell.el (shell): When called interactively, offer to change the
23370 shell file name on remote hosts.
23371
eebc475d
TZ
233722011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23373
23374 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23375 integration for LDAP parameters. The host, base, user or binddn,
23376 and secret tokens can be specified in a netrc file, for instance.
23377 This is optional because an `auth-source' parameter must be
23378 specified in the search attributes.
23379
9d05d1ba
JB
233802011-03-13 Juanma Barranquero <lekktu@gmail.com>
23381
23382 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23383
09d9db2c
GM
233842011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23385
23386 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23387 into declaration. Remove redundant and harmful binding.
23388
233892011-03-12 Eli Zaretskii <eliz@gnu.org>
23390
23391 * files.el (file-ownership-preserved-p): Pass `integer' as an
23392 explicit 2nd argument to `file-attributes'. If the file's owner
23393 is the Administrators group on Windows, and the current user is
23394 Administrator, consider that a match.
23395
23396 * server.el (server-ensure-safe-dir): Consider server directory
23397 safe on MS-Windows if its owner is the Administrators group while
23398 the current Emacs user is Administrator. Use `=' to compare
23399 numerical UIDs, since they could be integers or floats.
23400
219bd536
JB
234012011-03-12 Juanma Barranquero <lekktu@gmail.com>
23402
23403 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23404
f3afd36b
MA
234052011-03-12 Michael Albinus <michael.albinus@gmx.de>
23406
23407 Sync with Tramp 2.2.1.
23408
23409 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23410
23411 * net/trampver.el: Update release number.
23412
3aaaa6f1
SM
234132011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23414
94642599
SM
23415 * progmodes/compile.el (compilation--previous-directory): Fix up
23416 various nil/dead-marker mismatches (bug#8014).
23417 (compilation-directory-properties, compilation-error-properties):
23418 Don't call it at a position past the one we're about to change.
23419
3aaaa6f1
SM
23420 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23421 Disable obsolescence warnings in the file that declares it.
23422
14239447
KM
234232011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23424
099c39a4
JB
23425 * allout-widgets.el (allout-widgets-tally):
23426 Initialize allout-widgets-tally as a hash table rather than nil to
23427 prevent mode-line redisplay warnings. Also, clarify the module
23428 description and fix a comment typo.
14239447 23429
135e287c
JB
234302011-03-11 Juanma Barranquero <lekktu@gmail.com>
23431
23432 * help-fns.el (describe-variable): Don't complete keywords.
23433 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23434
ffbf300e
CY
234352011-03-10 Chong Yidong <cyd@stupidchicken.com>
23436
ba08b241
CY
23437 * emacs-lisp/package.el (package-version-join): Impose a standard
23438 string representation for pre/alpha/beta version lists.
23439 (package-unpack-single): Standardize the directory name by passing
23440 it through package-version-join.
23441 (package-strip-rcs-id): Accept any version string that does not
23442 signal an error in version-to-list.
ffbf300e 23443
f346fd6b
MA
234442011-03-10 Michael Albinus <michael.albinus@gmx.de>
23445
23446 * simple.el (delete-trailing-whitespace): Return nil for the
23447 benefit of `write-file-functions'.
23448
ccb55d27
GM
234492011-03-10 Glenn Morris <rgm@gnu.org>
23450
5ceaac0c
GM
23451 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23452
02da65ff
GM
23453 * vc/vc-git.el (vc-git-program): New option.
23454 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23455 (vc-git--call): Use it.
23456
b2f603cc
GM
23457 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23458
5772caab
GM
23459 * cus-edit.el (Custom-newline): If no button at point, look
23460 for a subgroup button at start-of-line. (Bug#2298)
23461
ccb55d27
GM
23462 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23463
ec6ecaed
JD
234642011-03-10 Julien Danjou <julien@danjou.info>
23465
23466 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23467 `cursor-type' is nil.
23468
9d5aa01d
JB
234692011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23470
23471 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23472
b6a5875b
KM
234732011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23474
7a71b18d 23475 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23476 preserves the existing header prefix, rebulleting it if necessary,
23477 rather than replacing it. This is necessary for proper operation
23478 of cooperative addons like allout-widgets.
1154d12e
JB
23479 (allout-make-topic-prefix, allout-rebullet-heading):
23480 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23481 value as alternate bullet to be used, instead of prompting the user
23482 for a bullet character.
b6a5875b 23483
ee545c35
MA
234842011-03-09 Michael Albinus <michael.albinus@gmx.de>
23485
d86d2721
SM
23486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23487 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23488 `tramp-default-port'.
23489
c47971d7
DD
234902011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23491
23492 * net/rcirc.el (rcirc-handler-001): Remove useless
23493 with-rcirc-process-buffer.
23494 (rcirc-check-auth-status): Swap arguments to string-match.
23495
13522cb4
GM
234962011-03-09 Glenn Morris <rgm@gnu.org>
23497
0be6f4f1
GM
23498 * shell.el (shell-mode):
23499 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23500
13522cb4
GM
23501 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23502 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23503
515de2e3
CY
235042011-03-08 Chong Yidong <cyd@stupidchicken.com>
23505
23506 * emacs-lisp/package.el (package-refresh-contents)
23507 (package-menu-execute): Use condition-case-no-debug.
23508
b511b994
MA
235092011-03-08 Michael Albinus <michael.albinus@gmx.de>
23510
23511 * simple.el (shell-command-to-string): Use `process-file'.
23512
23513 * emacs-lisp/package.el (package-tar-file-info): Handle also
23514 remote files.
23515
d86d2721
SM
23516 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23517 Use `equal' for upload base check.
b511b994 23518
25bbfb31
AM
235192011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23520
23521 * textmodes/texinfo.el (texinfo-environments):
23522 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23523
be996521
GM
235242011-03-08 Glenn Morris <rgm@gnu.org>
23525
e9c8529f
GM
23526 * cus-start.el (cursor-in-non-selected-windows):
23527 Fix :set quoting oddness. (Bug#8192)
23528
be996521
GM
23529 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23530 in some setf expressions. (Bug#2159)
23531
2bb5649e
CY
235322011-03-08 Chong Yidong <cyd@stupidchicken.com>
23533
23534 * custom.el (custom-available-themes): Return themes in
23535 alphabetical order.
23536
33383987 23537See ChangeLog.15 for earlier changes.
e3d51b27
MR
23538
23539;; Local Variables:
23540;; coding: utf-8
e3d51b27
MR
23541;; End:
23542
ab422c4d 23543 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23544
23545 This file is part of GNU Emacs.
23546
23547 GNU Emacs is free software: you can redistribute it and/or modify
23548 it under the terms of the GNU General Public License as published by
23549 the Free Software Foundation, either version 3 of the License, or
23550 (at your option) any later version.
23551
23552 GNU Emacs is distributed in the hope that it will be useful,
23553 but WITHOUT ANY WARRANTY; without even the implied warranty of
23554 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23555 GNU General Public License for more details.
23556
23557 You should have received a copy of the GNU General Public License
23558 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.