Allow floating-point file offsets.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b1170947
LL
12013-01-18 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/js.el: Tweak autoload cookie for alias.
4
0eb87688
MA
52013-01-17 Michael Albinus <michael.albinus@gmx.de>
6
7 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
8 buffer local, again. This was lost with the fix on 2013-01-12.
9
99d36ea8
JH
102013-01-17 Jürgen Hötzel <juergen@archlinux.org>
11
12 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
13 order to support several eshell buffers in parallel.
14
68a08a32
MA
152013-01-17 Michael Albinus <michael.albinus@gmx.de>
16
17 * autorevert.el (auto-revert-use-notify): In the :set function, do
18 not modify `kill-buffer-hook'.
19 (auto-revert-notify-rm-watch): Remove
20 `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
21 (auto-revert-notify-add-watch): Do not call
22 `auto-revert-notify-rm-watch', but add it to a buffer local
23 `kill-buffer-hook'.
24
e59eee43
SM
252013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
28 call to `eval' rather than a backquoted lambda.
29
6e8cd0ae
SM
302013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
31
cb9c0a53
SM
32 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
33 to return an explicit nil.
34 (advice--remove-function): Change accordingly.
35
36 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
37 the use of nadvice.el.
38
6e8cd0ae
SM
39 * progmodes/which-func.el (which-function): Silence imenu errors
40 (bug#13433).
41
4586ce8a
MM
422013-01-15 Michael R. Mauger <mmaug@yahoo.com>
43
6e8cd0ae 44 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
45 (sql-mode-font-lock-object-name): Match schema qualified names.
46 (sql-connect): Use string keys.
47 (sql-product-interactive): Wait for interpreter prompt.
48 (sql-comint-oracle): Set process coding based on NLS_LANG.
49
9d55215c
MM
502013-01-15 Michael R. Mauger <mmaug@yahoo.com>
51
52 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
53 (sql-interactive-remove-continuation-prompt):
54 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 55
57dd9e68
LL
562013-01-14 Leo Liu <sdl.web@gmail.com>
57
58 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
59 (Bug#13420)
60
51e73492
GM
612013-01-14 Glenn Morris <rgm@gnu.org>
62
63 * progmodes/compile.el (compilation-error-regexp-alist-alist):
64 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
65
c0511b57 662013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 67
6e8cd0ae
SM
68 * progmodes/python.el (python-nav-end-of-statement):
69 Fix cornercase when handling multiline strings.
50620051 70
4c0a6d4a
RS
712013-01-13 Richard Stallman <rms@gnu.org>
72
9f7e86ef
RS
73 * mail/sendmail.el (mail-position-on-field): Add doc string.
74
6e8cd0ae
SM
75 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
76 Get current message boundaries and pass them to
4c0a6d4a
RS
77 message-forward-make-body-mime. Minor style changes.
78
ad33a799
EZ
792013-01-13 Eli Zaretskii <eliz@gnu.org>
80
81 * cus-start.el (all): Avoid warnings about
6e8cd0ae 82 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 83
616763d5
JD
842013-01-11 Jan Djärv <jan.h.d@swipnet.se>
85
86 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
87
e5b5a34d
SM
882013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * jit-lock.el (jit-lock-debug-mode): New minor mode.
91 (jit-lock--debug-fontifying): New var.
92 (jit-lock--debug-fontify): New function.
93 * subr.el (condition-case-unless-debug): Don't prevent catching the
94 error, just let the debbugger run.
95 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
96 timer code and don't drop errors silently.
97
2daddd9e
MA
982013-01-12 Michael Albinus <michael.albinus@gmx.de>
99
100 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
101 `permanent-local' property.
71c661e4 102 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 103
86fbb162
EZ
1042013-01-12 Eli Zaretskii <eliz@gnu.org>
105
106 * autorevert.el (auto-revert-notify-handler): Fix filtering of
107 file notification by ACTION. For filtering by file name, compare
108 only the non-directory part of the file name.
109
a0784609
SM
1102013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
111
96c421bb
SM
112 * autorevert.el: Use cl-lib instead of cl.
113
a0784609
SM
114 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
115 (vc-bzr-checkin): Use it.
116 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
117 will preserve match-data.
118
f90ff906 1192013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 120
f90ff906
FD
121 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
122 (js--declaration-keyword-re): New var.
123 (js--multi-line-declaration-indentation): New function.
124 (js--proper-indentation): Use it.
9fc9a531 125
f90ff906 1262013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 127
f90ff906
FD
128 * calc/calc.el (calc-highlight-selections-with-faces)
129 (calc-dispatch):
130 * comint.el (comint-history-isearch-message):
131 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
132 * ffap.el (ffap-string-at-point-region, ffap-next)
133 (ffap-string-at-point, ffap-string-around)
134 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 135 (ffap-literally):
9fc9a531 136 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
137 (font-lock-removed-keywords-alist):
138 * help-mode.el (help-xref-symbol-regexp):
139 * info.el (Info-find-emacs-command-nodes):
140 * international/mule.el (add-to-coding-system-list):
141 * isearch.el (isearch-message-function, isearch-fail-pos):
142 * misearch.el (multi-isearch-next-buffer-function):
143 * newcomment.el (comment-box):
9fc9a531 144 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 145 (pr-setting-database):
9fc9a531
AH
146 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
147 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
148 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
149 (pike-font-lock-keywords-3):
150 * progmodes/compile.el (compile):
9fc9a531 151 * progmodes/etags.el (tags-table-files)
f90ff906 152 (tags-table-files-function, tags-included-tables-function):
9fc9a531 153 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 154 (gdb-restore-windows):
9fc9a531 155 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
156 (ps-n-up-filling-database):
157 * server.el (server-buffer, server-log):
9fc9a531
AH
158 * simple.el (newline, delete-backward-char, delete-forward-char)
159 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 160 (temporary-goal-column):
9fc9a531 161 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
162 (flyspell-default-deplacement-commands):
163 * textmodes/ispell.el (ispell-accept-output):
164 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 165 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
166 (compare-ignore-case, compare-windows-dehighlight):
167 * vc/diff.el (diff):
9fc9a531
AH
168 * whitespace.el (whitespace-point)
169 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 170 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 171
65adfa20
MA
1722013-01-11 Michael Albinus <michael.albinus@gmx.de>
173
174 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
175 (auto-revert-notify-rm-watch): Ignore errors.
176 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
177 inotify, and '(size last-write-time) for w32notify.
178 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
179 watch fails - this is a fallback to the file modification check.
180 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
181 (auto-revert-notify-event-action)
182 (auto-revert-notify-event-file-name): New defuns.
183 (auto-revert-notify-handler): Use them. Implement first
184 plausibility checks.
185 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
186
43b2e2e7
JD
1872013-01-11 Julien Danjou <julien@danjou.info>
188
189 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
190 max are almost equal. Also return the correct value for V which is
191 already between 0 and 1.
192
30818a23
DA
1932013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
194
195 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
196
10e714d5
EZ
1972013-01-11 Eli Zaretskii <eliz@gnu.org>
198
199 * autorevert.el (auto-revert-notify-rm-watch)
200 (auto-revert-notify-add-watch): Fix typos in w32notify function
201 names.
202
a778dd57
MA
2032013-01-10 Michael Albinus <michael.albinus@gmx.de>
204
205 * autorevert.el (auto-revert-notify-enabled): Move up.
206 (auto-revert-use-notify): New defcustom.
207 (auto-revert-mode, global-auto-revert-mode)
208 (auto-revert-notify-add-watch, auto-revert-handler)
209 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
210 `auto-revert-notify-enabled'.
211
72781fef
EP
2122013-01-10 Elias Pipping <pipping@exherbo.org>
213
214 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
215 * doc-view.el (doc-view-document->bitmap):
216 Use doc-view-single-page-converter-function instead of
217 single-page-converter arg; adjust callers.
218
e6ed8f08
FL
2192013-01-10 Feng Li <fengli@gmail.com> (tiny change)
220
221 * progmodes/which-func.el (which-function): Understand Semantic's use
222 of overlays in imenu--index-alist.
223
327a6cca
WJ
2242013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
225
226 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
227 (Man-man-k-use-anchor): New var.
228 (Man-parse-man-k): New function.
229 (Man-completion-table): Use it.
230 (man): Flush the completion cache between uses.
231
ed911257
MA
2322013-01-10 Michael Albinus <michael.albinus@gmx.de>
233
234 * autorevert.el: Add file watch support.
235 (auto-revert-notify-enabled): New defconst.
236 (auto-revert-notify-watch-descriptor-hash-list)
237 (auto-revert-notify-watch-descriptor)
238 (auto-revert-notify-modified-p): New defvars.
239 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
240 (auto-revert-notify-handler): New defuns.
241 (auto-revert-mode, global-auto-revert-mode): Remove file watches
242 when mode is disabled.
243 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
244 (auto-revert-buffers): Add file watches for active buffers.
245
58cc0a01
DA
2462013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
247
248 * cus-start.el (toplevel): Only allow float values for
249 scroll-up-aggressively and scroll-down-aggressively.
250 Allow any number for line-spacing.
251
bbc7ff25
SM
2522013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
255 (doc-view-pdf->png-converter-function): Use mupdf if available.
256 (doc-view-djvu->png-converter-function)
257 (doc-view-ps->png-converter-function): Remove.
258 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
259 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
260 (doc-view-already-converted-p): Adjust accordingly.
261 (doc-view-mode-p): Simplify.
262 (doc-view-enlarge): Use setq-local.
263 (doc-view-pdf->png-converter-ghostscript)
264 (doc-view-djvu->png-converter-ddjvu)
265 (doc-view-pdf->png-converter-mupdf): Rework to call
266 doc-view-start-process directly.
267 (doc-view-pdf/ps->png): Simplify accordingly.
268 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
269 (doc-view-document->bitmap): Rename from doc-view-document->png.
270 (doc-view-convert-current-doc): Merge pdf and djvu cases.
271 (doc-view-set-slice-from-bounding-box): Fix completion table.
272 (doc-view-mode): Use add-hook for after-revert-hook.
273
3c855b96
GM
2742013-01-10 Glenn Morris <rgm@gnu.org>
275
276 * emacs-lisp/authors.el (authors-ignored-files)
277 (authors-valid-file-names, authors-renamed-files-alist):
278 Add some more entries.
279
3f9549e8 2802013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
281
282 * image-mode.el (image-mode-winprops): Don't throw away the fallback
283 `t' pseudo-window entry.
284
3f9549e8 2852013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
286
287 Fix bugs in the c-parse-state mechanism. Reuse some markers
288 instead of continually generating new ones.
289
290 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
291 (c-state-old-cpp-end-marker): New variables.
292 (c-append-lower-brace-pair-to-state-cache): Start a backward
293 search for "}" definitively outside CPP constructs.
294 (c-remove-stale-state-cache): Inform the caller of a need to
295 search back for a brace pair in certain circumstances.
296 (c-state-maybe-marker): New macro.
297 (c-parse-state): Reuse markers when appropriate.
298
3f9549e8 2992013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
300
301 * simple.el (execute-extended-command): Doc fix.
302 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
303
3f9549e8 3042013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
305
306 * faces.el (read-face-name): Doc fix.
307
b14abca9
RW
3082013-01-10 Roland Winkler <winkler@gnu.org>
309
310 * emacs-lisp/crm.el: Allow any regexp for separators.
311 (crm-default-separator): All spaces around the default comma separator.
312 (crm--completion-command): New macro.
313 (crm-completion-help, crm-complete, crm-complete-word): Use it.
314 (crm-complete-and-exit): Handle non-single-char separators.
315
2b541f9a
EP
3162013-01-09 Elias Pipping <pipping@lavabit.com>
317
318 * doc-view.el: Add support for DjVu (bug#13164).
319 (doc-view-djvu->png-converter-function): New config var.
320 (doc-view-single-page-converter-function, doc-view--image-type)
321 (doc-view--image-file-extension): New vars.
322 (doc-view-mode): Initialize them.
323 (doc-view-goto-page): Use them.
324 (doc-view-mode-p): Add support for ddjvu.
325 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
326 (doc-view-set-up-single-converter): New funs.
327 (doc-view-pdf/ps->png): Extend for djvu.
328 (doc-view-document->png): Rename from doc-view-pdf->png.
329 (doc-view-convert-current-doc): Handle djvu.
330 (doc-view-insert-image, doc-view-display)
331 (doc-view-already-converted-p): Don't hardcode png.
332 (doc-view-set-doc-type): Recognize djvu docs.
333
85f17e35
EP
3342013-01-09 Elias Pipping <pipping@lavabit.com>
335
336 * doc-view.el: Add support for mupdf converter (bug#13164).
337 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
338 (doc-view-ps->png-converter-function): New config vars.
339 (doc-view-pdf->png-converter-ghostscript)
340 (doc-view-ps->png-converter-ghostscript)
341 (doc-view-pdf->png-converter-mupdf): New functions.
342 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
343
ccd04887
MA
3442013-01-09 Jürgen Hötzel <juergen@archlinux.org>
345
346 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
347 first in session cache: When `tramp-own-remote-path' is in
348 `tramp-remote-path', the remote path is only set in the session
349 cache.
350
c5ad92de
GM
3512013-01-09 Glenn Morris <rgm@gnu.org>
352
fb9f7146
GM
353 * emacs-lisp/trace.el (trace-function-foreground)
354 (trace-function-background): Doc fix.
c5ad92de 355
39a0786e
JL
3562013-01-09 Juri Linkov <juri@jurta.org>
357
358 * international/mule-cmds.el (read-char-by-name): Move let-binding
359 of completion-ignore-case around completing-read to fix regression
360 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
361 `string-match-p' using the nil value of `case-fold-search' and
362 `completion-ignore-case' in `completion-pcm--all-completions'.
363 (Bug#12615).
364
fb9f7146 3652013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
366
367 * progmodes/compile.el (compilation-parse-errors):
368 Fix typo. (Bug#13369)
369
fb9f7146 3702013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
371
372 * comint.el (comint-send-input): Check size of buffer before
373 waiting for process output, in case already accepted. (Bug#13290)
374
677d5c92
PE
3752013-01-09 Paul Eggert <eggert@cs.ucla.edu>
376
377 Spelling fixes.
378 * net/tramp-adb.el (tramp-adb-get-toolbox):
379 Fix misspelling of 'unknown'.
380
073ca75b
JL
3812013-01-08 Juri Linkov <juri@jurta.org>
382
383 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
384 * progmodes/flymake.el (flymake-errline, flymake-warnline):
385 Use underline style wave on terminals that support it. (Bug#13000)
386
a4648137
SM
3872013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
388
4bdc3526
SM
389 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
390 the predicate returns nil.
391
a4648137
SM
392 * simple.el: Use lexical-binding.
393 (primitive-undo): Use pcase.
394 (minibuffer-history-isearch-push-state): Use a closure.
395
3bace969
AH
3962013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
397
398 * simple.el (primitive-undo): Move from undo.c.
399
a731fc1b
SM
4002013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
401
1c851e98
SM
402 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
403 (cvs-mode-remove-handled): Use it (bug#13380).
404
a731fc1b
SM
405 * emacs-lisp/nadvice.el (advice--tweak): New function.
406 (advice--remove-function, advice--subst-main): Use it.
407
408 * emacs-lisp/advice.el: Update commentary.
409
2a22c83b
MA
4102013-01-08 Michael Albinus <michael.albinus@gmx.de>
411
a731fc1b
SM
412 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
413 Remove spurious entry.
2a22c83b 414
83c1803a
GM
4152013-01-08 Glenn Morris <rgm@gnu.org>
416
417 * net/tramp.el (tramp-default-host-alist): Add :version.
418
8a2e287c
JL
4192013-01-08 Juri Linkov <juri@jurta.org>
420
421 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
422 single completion. (Bug#12456)
423 (info--manual-names): Expand node completions into an explicit list
424 before appending it to another list. Filter out internal buffers
425 with the leading space in the buffer name. (Bug#10771)
426
c6a22ce2
JL
4272013-01-08 Juri Linkov <juri@jurta.org>
428
429 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
430 that defaults to the Top node.
431 (Info-goto-node, Info-read-node-name): Doc fix to mention that
432 the short format (FILENAME) goes to the Top node.
433 (Info-build-node-completions): Rename arg `file' to `filename'.
434 (Bug#13365)
435
acfe10b7
BG
4362013-01-07 Bastien Guerry <bzg@gnu.org>
437
a731fc1b
SM
438 * menu-bar.el (menu-bar-search-documentation-menu):
439 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
440
4412013-01-07 Bastien Guerry <bzg@gnu.org>
442
443 * apropos.el (apropos-do-all): Update docstring.
444 (apropos-user-option-button): New face.
445 (apropos-user-option): Rename from `apropos-variable' and update
446 docstring.
447 (apropos-variable): Rewrite, now show all variables by default.
448 (apropos-print): Mention "User option" instead of "Variable" when
449 printing doc for user options. (Bug#13276)
450
62bcf670
JH
4512013-01-07 Jürgen Hötzel <juergen@archlinux.org>
452
453 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
454 Handle filename correctly, when parsing "source -> target" symlink
455 output.
456 (tramp-adb-handle-set-file-times): New defun.
457
4986fa21
SM
4582013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
461 advice list when the interactive-spec of ad-Advice-* changes.
462
3bee311e
KY
4632013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
464
465 * wid-edit.el (widget-default-get): Work for inlined elements.
466 (Bug#12670)
467
b49eebcc
MA
4682013-01-07 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/tramp.el (tramp-default-host-alist): New defcustom.
471 (tramp-find-host): Use it.
4986fa21 472 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
473 `eshell-directory-change-hook'.
474
475 * net/tramp-adb.el (top): Add adb specific entry in
476 `tramp-default-host-alist'.
477 (tramp-adb-file-name-host): Remove function.
478 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
479 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
480
3bee311e 481 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 482
84f6744a
JH
4832013-01-06 Jürgen Hötzel <juergen@archlinux.org>
484
485 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
486
b6cfbcd0
MA
4872013-01-06 Michael Albinus <michael.albinus@gmx.de>
488
489 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 490 consist of more than one digit.
4986fa21
SM
491 (tramp-adb-file-name-handler-alist):
492 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
493 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
494 (tramp-adb-handle-file-exists-p): Remove function.
495 (tramp-adb-file-name-host): New defun.
496 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
497 Use it.
498 (tramp-adb-maybe-open-connection): Set "remote-path" property.
499
58ba7b1b
CY
5002013-01-06 Chong Yidong <cyd@gnu.org>
501
502 * vc/vc.el (vc-next-action): Detect buffer modifications
503 conflicting with locking VCS operation (Bug#11490).
504
505 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
506
f4566fe9
MA
5072013-01-05 Michael Albinus <michael.albinus@gmx.de>
508
509 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
510 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
511
838cf298
MA
5122013-01-05 Jürgen Hötzel <juergen@archlinux.org>
513
514 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
515 parsing of ls output using regular expression (handle filenames
516 with spaces). Use virtual device number.
517 (tramp-do-parse-file-attributes-with-ls): New defun (Code
518 cleanup).
519
1bd71e9f
DU
5202013-01-04 Daiki Ueno <ueno@gnu.org>
521
522 * epg.el: Silence byte-compiler warnings.
523 (epg--start): Use delete-char instead of delete-backward-char.
524 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
525
00cd4c1c
DU
5262013-01-04 Daiki Ueno <ueno@gnu.org>
527
528 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
529 Suggested by Eli Zaretskii <eliz@gnu.org>.
530
f99ced35
MA
5312013-01-04 Michael Albinus <michael.albinus@gmx.de>
532
533 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
534 non-negative integers. Otherwise, the default values are used.
535 (tramp-convert-file-attributes): Convert uid and gid to integers.
536
0f668a4d 5372013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 538
d2be4dcc
GM
539 * term.el (term-handle-colors-array): Ensure face attributes
540 are fully specified, not nil. (Bug#13337)
541
5b00b749
GM
542 * term.el (term-default-fg-color, term-default-bg-color):
543 Fix custom type.
544
220740a3
GM
545 * progmodes/etags.el (tags-compression-info-list): Doc fix.
546 (tag-find-file-of-tag-noselect): Check auto-compression-mode
547 rather than 'jka-compr being loaded. (Bug#13338)
548
bdd9367d
WD
5492013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
550
551 * icomplete.el (icomplete-completions):
552 Honor icomplete-prospects-height once more following
553 2012-11-29 changes. (Bug#13224)
554
96dd18b1
SM
5552013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
556
c0bd248c
SM
557 * subr.el (internal--called-interactively-p--get-frame): Find aliases
558 of called-interactively-p as well (bug#13237).
559
4a74c818
SM
560 * view.el (view--enable, view--disable): Rename from view-mode-enable
561 and view-mode-disable and assume it's called from view-mode.
562 (view-mode-enable, view-mode-disable): Redefine as obsolete
563 compatibility layer above view-mode.
564 (view-mode-enter): Call `view-mode'.
565
566 * files.el (after-find-file): Call `view-mode'.
567
96dd18b1
SM
568 * doc-view.el (doc-view-scale-internally): New var.
569 (doc-view-enlarge, doc-view-insert-image): Obey it.
570
c2cf1829
DU
5712013-01-03 Daiki Ueno <ueno@gnu.org>
572
573 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
574 exist. (Bug#13344)
575
ad235a8b
GM
5762013-01-03 Glenn Morris <rgm@gnu.org>
577
a8aa6c2d
GM
578 * mail/rmail.el (rmail-set-header-1): Ignore case.
579 Handle multi-line headers. (Bug#13330)
580
a6d6c20b
GM
581 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
582 Handle paragraph starting at beginning of buffer.
583
ed5bdeb9
GM
584 * subr.el (eval-after-load): Don't purecopy the form, so that it
585 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
586
ad235a8b
GM
587 * emacs-lisp/byte-run.el (defun): Place cl declarations
588 after any interactive spec. (Bug#13265)
589
9539d465 5902013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
591
592 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
593 defun. Don't check for DECL if DOCSTRING isn't a string.
594 (defun): Likewise.
595
9539d465 5962013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 597
5ee1772e
GM
598 * eshell/em-cmpl.el (eshell-pcomplete):
599 More thoroughly imitate pcomplete. (Bug#13293)
600
4cddca30
GM
601 * files.el (parse-colon-path): Doc fix. (Bug#12351)
602 Return nil for empty path elements. (Bug#13296)
603
9539d465 6042013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
605
606 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
607 order to improve efficiency (Based on Daniel Colascione's
608 <dancol@dancol.org> patch). (Bug#13182)
609
9539d465 6102013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
611
612 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
613
9539d465 6142013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
615
616 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
617 neither DOCSTRING nor DECL was given. (Bug#13316)
618
aca3d51d
MA
6192013-01-02 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
622 `error' call.
623 (tramp-do-copy-or-rename-file): Ignore errors when calling
624 `set-file-extended-attributes'.
625
4986fa21
SM
626 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
627 Add handler for `file-acl'.
aca3d51d
MA
628 (tramp-smb-handle-file-acl): New defun.
629
87e65f96
JB
6302013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
631
632 * calc/README: Mention ISO 8601 week-numbering dates.
633
0aac98ac
MR
6342013-01-01 Martin Rudalics <rudalics@gmx.at>
635
636 * view.el (view-mode-enable): New argument run-view-mode-hook.
637 Run view-mode-hook only when it's non-nil (Bug#13315).
638 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
639 argument t.
640
1a82330c
JH
6412012-12-31 Jürgen Hötzel <juergen@archlinux.org>
642
643 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
644 (No device connected, invalid device name). (Bug #13299)
645
27fcfe31
MR
6462012-12-31 Martin Rudalics <rudalics@gmx.at>
647
648 * window.el (window-resizable--p): Rename to window-resizable-p.
649 (window-resize-no-error): New function.
650
651 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
652 broken in fix from 2012-12-28.
653
96c052a5
SM
6542012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * subr.el (special-form-p): Don't signal errors on undef aliases.
657
fd1f1603
JB
6582012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
659
660 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
661 `math-parse-iso-date' when it looks like it might be needed.
662 Allow times of 24:00.
fd1f1603
JB
663 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
664 of 24:00.
665
8db39aeb
GM
6662012-12-30 Glenn Morris <rgm@gnu.org>
667
668 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
669 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
670 (rmail-summary-displayed, rmail-summary): Declare.
671 (mairix-rmail-display): Just require rmail.
672
d5e5e7b4 6732012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
674
675 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
676 check for the tarball contents.
677
d5e5e7b4 6782012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
679
680 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
681 tarfile content listings (Bug#13136).
682
d5e5e7b4 6832012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 684
96c052a5
SM
685 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
686 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 687
4f752957
MA
6882012-12-30 Michael Albinus <michael.albinus@gmx.de>
689
3ee24a3b
MA
690 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
691 integers, if they are real numbers. (Bug#13282)
692
4f752957
MA
693 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
694 Return `t' on success.
695
96c052a5
SM
696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
697 Add handler for `set-file-selinux-context'.
4f752957 698
eff2eb58
MA
6992012-12-29 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
702 (tramp-sh-handle-set-file-acl): Return `t' on success.
703
ccad023b
EZ
7042012-12-29 Eli Zaretskii <eliz@gnu.org>
705
96c052a5
SM
706 * files.el (backup-buffer-copy, basic-save-buffer-2):
707 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 708 instead of signaling an error. (Bug#13298)
7e56b103 709 (basic-save-buffer): Likewise.
ccad023b 710
ccb1c17e
FEG
7112012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
712
713 * progmodes/python.el: Support other commands triggering
714 python-indent-line so indentation cycling continues to work.
715 (python-indent-trigger-commands): New defcustom.
716 (python-indent-line): Use it.
717
16768034
FEG
7182012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
719
720 * progmodes/python.el (python-shell-send-region): Add blank lines
721 for non sent code so backtraces remain correct.
722
66164d2f
FEG
7232012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
724
725 * progmodes/python.el: Remove cl dependency.
726 (python-syntax-count-quotes): Replace incf call.
727 (python-fill-string): Replace setf call.
728
761231d1
DC
7292012-12-29 Damien Cassou <damien.cassou@gmail.com>
730
43ebd12b 731 * info.el (info-other-window): New arg, for consistency with info.
761231d1 732
7c3e220a
MR
7332012-12-28 Martin Rudalics <rudalics@gmx.at>
734
96c052a5
SM
735 * mail/rmail.el (rmail-maybe-display-summary):
736 Rewrite (Bug#13066).
7c3e220a 737
361828b5
AS
7382012-12-28 Andreas Schwab <schwab@linux-m68k.org>
739
740 * epg.el (epg--start): Modify process-environment locally.
741
23bd348c
DU
7422012-12-28 Daiki Ueno <ueno@gnu.org>
743
744 * epg.el: Support pinentry-curses.
745 Suggested by Werner Koch in
746 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
747 (epg-agent-file, epg-agent-mtime): New variable.
748 (epg--start): Record the modified time of gpg-agent socket file,
749 to restore Emacs frame after pinentry-curses termination.
750 (epg-wait-for-completion): Restore Emacs frame here.
751
313f39aa
JL
7522012-12-27 Juri Linkov <juri@jurta.org>
753
754 * info.el (Info-file-completions): New variable.
755 (Info-read-node-name-1): Complete node names in the Info file
756 when a file name is given. Call `Info-build-node-completions'
757 with a file name.
758 (Info-build-node-completions): Add new arg `file'. When it is
759 non-nil, visit it in a temporary buffer and cache its completions in
760 `Info-current-file-completions'. Move most of the function body to
761 `Info-build-node-completions-1'.
762 (Info-build-node-completions-1): New function with the body from
763 `Info-build-node-completions'. (Bug#12456)
764
a45b7647
JL
7652012-12-27 Juri Linkov <juri@jurta.org>
766
767 * frame.el (frame-maximization-style): Remove user option.
768 (cycle-frame-maximized): Remove function.
769 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
770 (toggle-frame-fullscreen): New command bound to <f11> instead of
771 `toggle-frame-maximized'.
772 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
773
10ffd0be
MA
7742012-12-27 Michael Albinus <michael.albinus@gmx.de>
775
776 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
777
778 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
779 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
780 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
781 for `file-accessible-directory-p'. (Bug#13275)
782
fd146719
SS
7832012-12-27 Sam Steingold <sds@gnu.org>
784
785 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
786 continuations, see <http://stackoverflow.com/questions/3582436>.
787
82e2a1f0 7882012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
789
790 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
791 "module" and "def" to have indentation before them.
792 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 793
ea0857a1
DG
794 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
795
82e2a1f0 7962012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
797
798 Speed up fontification where there's large brace blocks.
799 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
800 to a call of c-beginning-of-decl-1.
801
c34339f3
VS
8022012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
803
804 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
805 (comint-postoutput-scroll-to-bottom):
806 Call comint-adjust-window-point (Bug#13248).
c34339f3 807
78269b95
DG
8082012-12-26 Dmitry Gutov <dgutov@yandex.ru>
809
810 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
811 Rakefile regexp.
812 (auto-mode-alist): Associate .gemspec files with ruby-mode
813 (https://bugs.ruby-lang.org/issues/5453).
814
bd8c13f9
JH
8152012-12-26 Jürgen Hötzel <juergen@archlinux.org>
816
96c052a5
SM
817 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
818 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 819 CyanogenMod).
bd8c13f9
JH
820 (tramp-adb-handle-file-attributes)
821 (tramp-adb-handle-insert-directory)
822 (tramp-adb-handle-file-name-all-completions): Use it.
823 (tramp-adb-get-toolbox): New defun. Check for remote shell
824 implementation (BusyBox or Toolbox).
825
dc646358
CK
8262012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
827
828 * startup.el (initial-buffer-choice): Allow function as value
829 (Bug#13251).
830 (command-line-1): Handle case where initial-buffer-choice
831 specifies a function.
832 * server.el (server-execute): Handle case where
833 initial-buffer-choice specifies a function.
834
e7d52a4d
LI
8352012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
836
837 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
838 its own function.
839 (smtpmail-try-auth-methods): Forget the user name/password if the
840 login is unsuccessful (bug#12424).
841
cdb07539
MA
8422012-12-22 Michael Albinus <michael.albinus@gmx.de>
843
1ef5f225
MA
844 * notifications.el (notifications-notify): Protect body with
845 `with-demoted-errors'.
846
96c052a5
SM
847 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
848 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
849 change.
850
594f37aa
CY
8512012-12-21 Chong Yidong <cyd@gnu.org>
852
853 * sort.el (sort-subr): Doc fix (Bug#13056).
854
a4b0cca1 8552012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 856
acc650b8
BG
857 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
858
0e9c7693
MA
8592012-12-21 Michael Albinus <michael.albinus@gmx.de>
860
861 * simple.el (process-file): Overwrite stderr file, if exists.
862
c6609164
DU
8632012-12-21 Daiki Ueno <ueno@gnu.org>
864
865 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 866 (epg-error): Set `error-message' property.
c6609164 867
aa26f345
CY
8682012-12-21 Chong Yidong <cyd@gnu.org>
869
34b4b7eb
CY
870 * international/mule-cmds.el (read-char-by-name): Signal an error
871 if the user does not supply a valid character (Bug#13177).
872
aa26f345
CY
873 * simple.el (transpose-subr-1): Preserve marker positions by
874 changing the insertion sequence (Bug#13122).
875
05c22d87
KD
8762012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
877
878 * simple.el (kill-region): Deactivate mark even for empty regions
879 (Bug#13169).
880
f5733f87
CY
8812012-12-21 Chong Yidong <cyd@gnu.org>
882
883 * help-fns.el (describe-variable): Make sure we get the right
884 buffer name (Bug#13105). Suggested by Kelly Dean.
885
fab6916d
MM
8862012-12-20 Michael R. Mauger <mmaug@yahoo.com>
887
888 * comint.el (comint-redirect-previous-input-string): New variable.
889 (comint-redirect-setup, comint-redirect-cleanup)
890 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
891 (comint-redirect-preoutput-filter): Fix verbose message.
892
91b982a0
MA
8932012-12-20 Michael Albinus <michael.albinus@gmx.de>
894
895 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
896 is too long for Tramp. See discussion in
897 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
898
899 * progmodes/compile.el (compilation-start): Remove line escape
900 template.
901
87523aed
DA
9022012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
903
904 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
905 Adjust comment.
906
ee3c0aec
JB
9072012-12-19 Jonas Bernoulli <jonas@bernoul.li>
908
909 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
910 following non-comment text (bug#13207).
911 (lm-header-multiline): Continuation lines need to be indented more than
912 the first line.
913 (lm-homepage): New function.
914 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 915
4a74c818
SM
9162012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
917
f4d79bd0
SM
918 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
919 very beginning of a hunk (e.g. killing the first line).
920
3c532af6
MA
9212012-12-19 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
924 and text properties from returned ACL string.
925 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
926 for "setfacl" command.
927
e0d01ef3
MA
9282012-12-18 Michael Albinus <michael.albinus@gmx.de>
929
930 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
931 `tramp-cleanup-this-connection', when the process has died.
932 (Bug#13151)
933
2387610d
SM
9342012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
937
19156242
KR
9382012-12-17 Kevin Ryde <user42@zip.com.au>
939
940 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
941
53b6a8b1
MA
9422012-12-17 Michael Albinus <michael.albinus@gmx.de>
943
944 Add support for preserving ACL entries of files.
945
946 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
947 `set-file-acl' handlers.
948
19156242
KR
949 * net/tramp-adb.el (tramp-adb-handle-copy-file):
950 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 951
19156242
KR
952 * net/tramp-compat.el (tramp-compat-copy-file):
953 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 954
19156242
KR
955 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
956 Add `file-acl' and `set-file-acl' handlers.
957 (tramp-gvfs-handle-copy-file):
958 Handle PRESERVE-EXTENDED-ATTRIBUTES.
959 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
960 New defuns.
53b6a8b1 961
19156242
KR
962 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
963 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
964 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
965 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
966 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
967 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 968
19156242
KR
969 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
970 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
971 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
972
6ae57a67
KD
9732012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
974
975 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 976 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
977 *Metahelp* with a leading space (Bug#13190).
978
7c3d167f
RF
9792012-12-16 Romain Francoise <romain@orebokech.com>
980
981 * files.el (file-extended-attributes)
982 (set-file-extended-attributes): New functions.
983 (backup-buffer): Use them to handle both SELinux context and ACL
984 entries.
985 (backup-buffer-copy): Work with an alist of extended attributes,
986 rather than an SELinux context.
987 (basic-save-buffer-2): Ditto.
988
19b748ad
TM
9892012-12-16 Timo Myyrä <timo.myyra@gmail.com>
990
991 * battery.el (battery-bsd-apm): New function.
992
70042c64
JB
9932012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
994
995 * calc/calc.el (calc-standard-date-formats): Adjust one of the
996 standard date formats.
997
279f9b06
JL
9982012-12-15 Juri Linkov <juri@jurta.org>
999
1000 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1001 `isearch-insert-char-by-name'.
1002 (with-isearch-suspended): New defmacro with body mostly from
1003 `isearch-edit-string' except the part that sets
1004 `isearch-new-string' and `isearch-new-message'.
1005 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1006 body that sets `isearch-new-string' and `isearch-new-message'.
1007 (isearch-insert-char-by-name): New command.
1008 * international/mule-cmds.el (read-char-by-name): Let-bind
1009 `enable-recursive-minibuffers' to t.
1010 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1011
8370def5
JL
10122012-12-15 Juri Linkov <juri@jurta.org>
1013
1014 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1015 (Bug#13175)
1016
178fb95d
CS
10172012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1018
1019 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1020 the prompt. (Bug#13045)
1021
a5f74442
GM
10222012-12-14 Glenn Morris <rgm@gnu.org>
1023
1024 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1025 Try to include filename in non-bytecomp warning. (Bug#13132)
1026
97976f9f
PE
10272012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1028
1029 Fix permissions bugs with setgid directories etc. (Bug#13125)
1030 * files.el (backup-buffer): Don't rely on 9th output of
1031 file-attributes, as it's now a placeholder. Instead, use the new
1032 optional arg of file-ownership-preserved-p.
1033 (file-ownership-preserved-p): New optional arg GROUP.
1034 Fix mishandling of setuid directories that would cause this
1035 function to return t when it should have returned nil.
1036 Document what happens if the file does not exist, and when
1037 it's not known whether the ownership will be preserved.
1038 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1039 Likewise.
1040 (tramp-get-local-gid): Use group-gid for integer, as that's
1041 faster and more reliable.
1042
016b2a42
JD
10432012-12-14 Julien Danjou <julien@danjou.info>
1044
19156242
KR
1045 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1046 Update keywords list, data type and PL/pgSQL.
016b2a42 1047
665e5e07
DA
10482012-12-14 Dave Abrahams <dave@boostpro.com>
1049
1050 * vc/ediff-util.el (ediff-buffer-type): New function.
1051 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1052 rather than taking it as as argument.
1053 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1054
d72e9e92
RC
10552012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1056
1057 * json.el: Add pretty-print option (bug#12634).
1058 (json-encoding-separator, json-encoding-default-indentation)
1059 (json--encoding-current-indentation, json-encoding-pretty-print)
1060 (json-encoding-lisp-style-closings): New vars.
1061 (json--with-indentation): New macro.
1062 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1063 (json-encode-array): Use it to obey json-encoding-pretty-print.
1064 (json-pretty-print-buffer, json-pretty-print): New commands.
1065
dbb530d9
DG
10662012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1067
1068 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1069 Extract `ruby-syntax-propertize-expansions'.
1070 (ruby-syntax-propertize-expansions): Only change syntax on
1071 certain string delimiters, to punctuation. This way the common
1072 functions like forward-word and thing-at-point still work.
1073 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1074 (ruby-block-contains-point): New function.
1075 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1076
ce0440ff
JB
10772012-12-13 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1080 unload-feature finishes even when aborting an ongoing edebug session.
1081 Also, do not worry about edebug-mode, unload-feature takes care of it.
1082
f10331bf
AS
10832012-12-13 Andreas Schwab <schwab@suse.de>
1084
1085 * net/tls.el (tls-program): Update customize type.
1086
5f3a3bb1
JB
10872012-12-13 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1090 (edebug-setup-hook, cl-read-load-hooks): Use it.
1091 (edebug-unload-function): New function. (Bug#13163)
1092
6ce21463
MA
10932012-12-13 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1096 Otherwise, there could be errors in autoloading. (Bug#13151)
1097
d754b364
JH
10982012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1099
1100 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1101 sequences.
1102
727f9739 11032012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1104
1105 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1106 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1107 around `forward-comment' not recognizing ^M as whitespace.
1108
727f9739 11092012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1110
1111 * progmodes/python.el (python-skeleton-class)
1112 (python-skeleton-def): Do not add space after defun name.
1113
eb8006c6
SM
11142012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1117 (cl--symbol-function): Remove (now that funbound is like nil).
1118
4c74b1e4
GM
11192012-12-12 Glenn Morris <rgm@gnu.org>
1120
1121 * button.el (button--area-button-p): Fix typo.
1122
37f38bca
SS
11232012-12-12 Sam Steingold <sds@gnu.org>
1124
1125 * frame.el (frame-maximization-style): New user option.
1126 (toggle-frame-maximized): Toggle frame maximization according to
1127 `frame-maximization-style', bound to <f11>.
1128 (cycle-frame-maximized): Cycle between all maximization styles and
1129 non-maximized frame, bound to shift-<f11>.
1130
fd49a218
DC
11312012-12-12 David Cadé <codename68@gmail.com>
1132
1133 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1134
69e1c203
JB
11352012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1136
1137 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1138 (eieio-override-prin1): Don't quote kewords and booleans.
1139 (object-write) <eieio-default-superclass>: Don't put closing parens
1140 on new line, avoid needless empty lines, align values that are objects
1141 with the slot keyword (instead of beginning on the same line).
1142 (eieio-list-prin1): Align value with slot keyword; increase
1143 eieio-print-depth before printing members of the list.
1144
4b0df848
SM
11452012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1146
030f4af5
SM
1147 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1148 a display text-property.
1149 (report-emacs-bug-hook): Don't bother deleting it any more.
1150
6ac1f8ca
SM
1151 * hilit-chg.el (highlight-save-buffer-state): Delete.
1152 Use with-silent-modifications instead.
1153 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1154
4b0df848
SM
1155 * button.el: Handle buttons in display text-properties.
1156 (button--area-button-p, button--area-button-string):
1157 Use (STRING . STRING-POS) representation instead of just STRING.
1158
d46d2d3a
EZ
11592012-12-11 Eli Zaretskii <eliz@gnu.org>
1160
1161 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1162 subdirectory be skipped.
1163
a0099d31
GM
11642012-12-11 Glenn Morris <rgm@gnu.org>
1165
36327e4f
GM
1166 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1167
a0099d31
GM
1168 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1169 Treat preprocessor lines embedded in continuations like comments.
1170 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1171
ff3f6c26
JB
11722012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1173
1174 * calc/calc.el (calc-standard-date-formats): Add more date
1175 formats.
1176 * calc/calc-forms.el (math-parse-iso-date): New function.
1177 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1178 (math-parse-iso-date-validate): Add extra error checking.
1179 (calc-date-notation): Add ability to access new date formats.
1180
ed6f2cd4
SM
11812012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1184 font-lock as well as when there's no text-property.
1185
c868b919
J
11862012-12-10 Jambunathan K <kjambunathan@gmail.com>
1187
1188 * hi-lock.el: Refine the choice of default face.
1189 (hi-lock-keyword->face): New function. Use it wherever we used
1190 cadadadr instead.
1191 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1192 (hi-lock--last-face): Remove var.
1193 (hi-lock--unused-faces): New var to replace it.
1194 (hi-lock-read-face-name): Use/maintain it.
1195 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1196 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1197 if it has another face.
1198
2b8c9064
EZ
11992012-12-10 Eli Zaretskii <eliz@gnu.org>
1200
1201 * subr.el (w32notify-handle-event): New function.
1202 (inotify-handle-event): Doc fix.
1203
81606b10
RS
12042012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1205
1206 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1207
265c2fbf 12082012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1209
1210 * simple.el (just-one-space): Doc fix.
1211
265c2fbf 12122012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1213
c868b919 1214 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1215
265c2fbf 12162012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1217
1218 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1219 narrowed buffer (bug#12361).
1220
265c2fbf 12212012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1222
1223 * vc/vc-hooks.el (vc-state): Doc fix.
1224
265c2fbf 12252012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1226
1227 * mail/rmail.el (rmail-maybe-display-summary):
1228 Preserve buffer, in case select-window changes it. (Bug#13066)
1229
265c2fbf 12302012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1231
1232 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1233 cl-load-hook where they belong.
1234
bad162fd
SM
12352012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1238
ca065258
EZ
12392012-12-09 Eli Zaretskii <eliz@gnu.org>
1240
1241 Parallelize byte compilation on MS-Windows.
1242 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1243 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1244 (WINS_BASIC): Define as concatenation of the above.
1245 (compile): Subdivide into 4 separate and independent jobs that can
1246 be run in parallel.
1247 (compile0-CMD, compile0-SH): New targets for compiling
1248 COMPILE_FIRST files, which are prerequisites for the rest of the
1249 byte-compilation.
bad162fd
SM
1250 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1251 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1252 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1253 compiling under a Unixy shell.
1254
5dea55d2
CY
12552012-12-09 Chong Yidong <cyd@gnu.org>
1256
1257 * simple.el (set-mark-default-inactive): Delete this
1258 accidentally-introduced option.
1259 (set-mark-command, exchange-point-and-mark): Remove calls.
1260
c6c08d3f
GM
12612012-12-09 Glenn Morris <rgm@gnu.org>
1262
1263 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1264 Respect a defcustom's :set function, if appropriate. (Bug#109)
1265 (eval-defun): Doc fix.
1266
858aab4c
JL
12672012-12-08 Juri Linkov <juri@jurta.org>
1268
1269 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1270 (Info-fontify-node, Info-bookmark-make-record): Remove the
1271 file extension from Info-current-file (Bug#13016).
1272
2e4ad7e5
SM
12732012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1276 point, still provide some default.
1277 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1278 names, since we don't use it right now. Actually return the list.
1279 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1280
75498db0
CY
12812012-12-07 Chong Yidong <cyd@gnu.org>
1282
ffe7ba8f
CY
1283 * novice.el (disabled-command-function): Remove a spurious help
1284 xref (Bug#13043). Suggested by Kelly Dean.
1285
454eb095
CY
1286 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1287 syntax is specified (Bug#13025).
1288
75498db0
CY
1289 * info.el (Info-set-mode-line): Remove the file extension from
1290 Info-current-file if there is one (Bug#13016).
1291
13a40633
GM
12922012-12-07 Glenn Morris <rgm@gnu.org>
1293
54c8b5ba
GM
1294 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1295 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1296 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1297 and rmail-mime-decoded. (Bug#9841)
1298
13a40633
GM
1299 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1300 (batch-unrmail, unrmail): Doc fixes.
1301 (unrmail): Respect unrmail-mbox-format.
1302 * mail/rmail.el (rmail-mbox-format): New option.
1303 (rmail-show-message-1): Respect rmail-mbox-format.
1304
4611a3cc
SM
13052012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1308
1812c724
SM
13092012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1310
338bfefa
SM
1311 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1312 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1313 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1314 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1315 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1316 (cl-progv): Don't rely on dynamic scoping to find the body.
1317 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1318 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1319 (cl-declaim): Use backquotes.
1320 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1321 Use "cl--" prefix for the object's tag.
1322
1812c724
SM
1323 * ses.el: Use advice-add/remove.
1324 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1325 (copy-region-as-kill, yank): Use advice-add.
1326 (ses-unload-function): Use advice-remove.
1327
24fc9480
JB
13282012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1329
1330 * button.el: Make them work in header-lines (bug#12817).
1331 (button-map): Add bindings for header-line and mode-line use.
1332 (button-get, button-put, button-label): `button' may now be a string.
1333 (button-activate): Don't make it a defsubst.
1334 (button--area-button-p, button--area-button-string): New functions.
1335 (make-text-button): Fix the return value when `beg' was a string.
1336 (push-button): Handle the mode-line case.
1337
853c1ffc
SM
13382012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1339
93852cb0
SM
1340 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1341 (sql-signum): Remove. Use `cl-signum' instead.
1342 (sql-read-passwd): Remove; use read-passwd instread.
1343 (sql-get-login-ext): Use read-string.
1344 (sql-get-login): Use dolist and pcase.
1345 (sql--completion-table): Rename from sql-try-completion.
1346 Use complete-with-action.
1347 (sql-mode): Don't change abbrev-all-caps globally.
1348 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1349 (sql-postgres-completion-object): Initialize vars in their `let'.
1350 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1351 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1352 (sql-comint-interbase): Use a single append, without setq.
1353 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1354
853c1ffc
SM
1355 * hi-lock.el: Rework the default face and the serialize regexp code.
1356 (hi-lock--auto-select-face-defaults): Remove.
1357 (hi-lock-string-serialize-serial): Remove.
1358 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1359 make weak.
1360 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1361 equal string.
1362 (hi-lock-set-pattern): Adjust accordingly.
1363 (hi-lock--regexps-at-point): Simplify accordingly.
1364 (hi-lock--auto-select-face-defaults): Remove.
1365 (hi-lock--last-face): New var to replace it.
1366 (hi-lock-read-face-name): Rewrite (bug#11095).
1367 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1368
5504e2c7
MA
13692012-12-06 Michael Albinus <michael.albinus@gmx.de>
1370
853c1ffc
SM
1371 * net/tramp.el (tramp-replace-environment-variables):
1372 Hide compiler warning.
5504e2c7
MA
1373 (tramp-file-name-for-operation): Remove `executable-find',
1374 `start-process', `call-process' and `call-process-region'.
1375
853c1ffc 1376 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1377
1378 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1379 compatibility.
1380
1381 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1382
e1d51545
CY
13832012-12-06 Chong Yidong <cyd@gnu.org>
1384
1385 * ffap.el (ffap-replace-file-component): Fix typo.
1386
d8ad4d3f 13872012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1388
1389 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1390 fix open-paren-like token test (bug#12785).
1391
d8ad4d3f 13922012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1393
1394 * mail/rmailsum.el (rmail-new-summary): Tweak for
1395 rmail-maybe-display-summary changing buffer. (Bug#13066)
1396
d8ad4d3f 13972012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1398
1399 * info.el (Info-fontify-node): Don't hide the last newline.
1400 (Bug#12272)
1401
9ad948e2
KY
14022012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1403
1404 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1405 so as to enable message-read-from-minibuffer to expand mail aliases.
1406
4b5c89ee
SM
14072012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1410 the `intangible' property.
1411 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1412
5602a53a
DD
14132012-12-05 Deniz Dogan <deniz@dogan.se>
1414
1415 * net/rcirc.el (rcirc-urls): Update documentation.
1416 (rcirc-condition-filter): New function.
1417 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1418 and exclude consecutive duplicate URLs (Bug#6082).
1419
51b890ac
MA
14202012-12-05 Michael Albinus <michael.albinus@gmx.de>
1421
d5f97f62
MA
1422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1423 Check return code of copy command.
1424
853c1ffc
SM
1425 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1426 Use group `tramp'. Add version.
51b890ac 1427
04b14f2b
CY
14282012-12-05 Chong Yidong <cyd@gnu.org>
1429
a3680194
CY
1430 * ffap.el (ffap-url-regexp): Don't require matching at front of
1431 string (Bug#4952).
1432 (ffap-url-p): If only a substring matches, return that.
1433 (ffap-url-at-point): Use the return value of ffap-url-p.
1434 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1435 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1436 (ffap-guess-file-name-at-point): Likewise.
1437 (ffap-replace-file-component): Fix typo.
1438
04b14f2b
CY
1439 * info.el (info-display-manual): Add existing Info buffers, whose
1440 files may not be in Info-directory-list, to the completion.
1441 (info--manual-names): New helper function.
1442
49596095
GM
14432012-12-05 Glenn Morris <rgm@gnu.org>
1444
1445 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1446 New functions, for detecting and resolving conflicts. (Bug#10709)
1447
b85aec93
J
14482012-12-04 Jambunathan K <kjambunathan@gmail.com>
1449
1450 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1451 (hi-lock-auto-select-face-defaults): New buffer local variable.
1452 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1453 (hi-lock-unface-buffer): Prompt user with useful defaults.
1454 With prefix arg, unhighlight all hi-lock patterns in buffer.
1455
8515507f
SM
14562012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1459
72cebfb7
MA
14602012-12-04 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * Makefile.in (TRAMP_SRC):
1463 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1464
0ec3f7ea
JH
14652012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1466
1467 * net/tramp-adb.el: New package.
1468
770de7cf
CY
14692012-12-04 Chong Yidong <cyd@gnu.org>
1470
ce3e7725
CY
1471 * terminal.el: Move to obsolete/.
1472
770de7cf
CY
1473 * longlines.el: Move to obsolete/.
1474
1475 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1476 Remove code referring to longlines mode.
1477
c38a186c
JL
14782012-12-03 Juri Linkov <juri@jurta.org>
1479
1480 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1481
329bfd64
AM
14822012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1483
1484 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1485 (ispell-start-process, ispell-internal-change-dictionary):
1486 Make sure personal dictionary name is expanded after initial
1487 `default-directory' value. Use expanded strings for
1488 keep/restart checks and for value (Bug#13019).
329bfd64 1489
77a74935
JB
14902012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1491
1492 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1493
c5bc2d1d 14942012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1495
1496 * files.el (dir-locals-read-from-file): Check file non-empty
1497 before reading. (Bug#13038)
1498
c5bc2d1d 14992012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1500
1501 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1502 Remove any version extension before checking filename. (Bug#13006)
1503 (jka-compr-compression-info-list): Belated :version bump.
1504
c5bc2d1d 15052012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1506
8ecba97d
CY
1507 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1508
a5bf43ba
CY
1509 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1510 (buffer-menu): Doc fix (Bug#12294).
1511
c5bc2d1d 15122012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1513
1514 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1515 of diary-show-all-entries in the diary buffer (Bug#12994).
1516
c5bc2d1d 15172012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1518
1519 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1520 "<STDIN>". This is binary safe.
1521
682ceaf8
JB
15222012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1523
1524 * calc/calc-forms.el (math-absolute-from-iso-dt)
1525 (math-date-to-iso-dt, math-parse-iso-date-validate)
1526 (math-iso-dt-to-date): New functions.
1527 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1528 (math-fd-isoweekday): New variables.
1529 (calc-date-notation, math-parse-standard-date, math-format-date)
1530 (math-format-date-part): Add support for more formatting codes.
1531
db47d5e9
DG
15322012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1533
1534 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1535 current buffer's file name when called interactively (Bug#12488).
1536
3faf4944
JL
15372012-12-02 Juri Linkov <juri@jurta.org>
1538
1539 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1540 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1541
cb5d51dc
YN
15422012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1543
1544 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1545 before using it for comparison (Bug#5297).
1546
f38cd76e
JA
15472012-12-01 Jari Aalto <jari.aalto@cante.net>
1548
1549 * textmodes/css-mode.el (css-current-defun-name): New function.
1550 (css-mode): Use it.
1551
1552 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1553 (html-mode): Use it.
1554
ba03d0d9
CY
15552012-12-01 Chong Yidong <cyd@gnu.org>
1556
1557 Modularize add-log-current-defun (Bug#2224).
1558 Suggested by Jari Aalto.
1559
1560 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1561 (add-log-current-defun): Move mode-specific code to other files.
1562 (add-log-lisp-like-modes, add-log-c-like-modes)
1563 (add-log-tex-like-modes): Variables deleted.
1564
1565 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1566 (lisp-mode-variables): Use it.
1567
1568 * progmodes/cc-mode.el (c-common-init):
1569 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1570 add-log-current-defun-function.
1571
1572 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1573 (m4-mode): Use it.
1574
1575 * progmodes/perl-mode.el (perl-current-defun-name): New.
1576 (perl-mode): Use it.
1577
853c1ffc
SM
1578 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1579 Use lisp-current-defun-name.
ba03d0d9
CY
1580
1581 * textmodes/tex-mode.el (tex-current-defun-name): New.
1582 (tex-common-initialization): Use it.
1583
1584 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1585 (texinfo-mode): Use it.
1586
92eadba5
CY
15872012-12-01 Chong Yidong <cyd@gnu.org>
1588
1589 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1590 * progmodes/autoconf.el (autoconf-mode):
1591 * progmodes/js.el (js-mode):
1592 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1593 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1594 * progmodes/perl-mode.el (perl-mode):
1595 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1596 * textmodes/css-mode.el (css-mode):
1597 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1598 (sgml-tags-invisible, sgml-guess-indent):
1599 * textmodes/tex-mode.el (tex-common-initialization)
1600 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1601 (doctex-mode, plain-tex-mode, latex-mode):
1602 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1603
3ddbf803
KK
16042012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1605
1606 * vc/vc-hg.el (vc-hg-next-revision):
1607 Ensure use of default "tip" output format. (Bug#6968)
1608
f0b6ae63
KS
16092012-12-01 Kim F. Storm <storm@cua.dk>
1610
1611 * startup.el (fancy-startup-tail): Add a clickable link
1612 (Bug#2176).
1613
c01bf73e
CY
16142012-12-01 Chong Yidong <cyd@gnu.org>
1615
1616 * startup.el (fancy-startup-tail): Improve the message about
1617 auto-save files (Bug#2176).
1618
f0b6ae63
KS
1619 * files.el (recover-session): Improve the descriptive message, and
1620 use substitute-command-keys.
1621
a9400458
GM
16222012-12-01 Glenn Morris <rgm@gnu.org>
1623
1624 * ido.el (ido-file-internal):
1625 Handle other-window, other-frame for dired. (Bug#13036)
1626
fb3bf6ce
GM
16272012-11-30 Glenn Morris <rgm@gnu.org>
1628
1629 * icomplete.el (icomplete-separator): Fix :version.
1630
a813fe3f
CY
16312012-11-30 Chong Yidong <cyd@gnu.org>
1632
1633 * shell.el (shell): For C-u M-x shell, use an inactive shell
1634 buffer as the default (Bug#1975).
276479fd
CY
1635 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1636 (shell-mode): Use them to reapply ansi colorization if Shell mode
1637 is re-enabled.
a813fe3f 1638
a8b733a5
CY
16392012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1640
1641 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1642
6fccd6e8
SB
16432012-11-30 Samuel Bronson <naesten@gmail.com>
1644
1645 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1646 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1647
53c9a337
TT
16482012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1649
1650 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1651 by move-to-column (Bug#3234).
1652
ccf520bb
CY
16532012-11-30 Chong Yidong <cyd@gnu.org>
1654
1655 * longlines.el (longlines-wrap-line, longlines-encode-region):
1656 Preserve text properties (Bug#1425).
1657
171b0949
OT
16582012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1659
1660 * vc/vc.el (vc-register): Allow registering a file which is
1661 already registered with a different backend (Bug#10589).
1662
cc37e70f
J
16632012-11-29 Jambunathan K <kjambunathan@gmail.com>
1664 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * icomplete.el: Change separator; add ido-style commands.
1667 (icomplete-show-key-bindings): Remove custom var.
1668 (icomplete-get-keys): Remove function.
1669 (icomplete-forward-completions, icomplete-backward-completions):
1670 New commands.
1671 (icomplete-minibuffer-map): New var.
1672 (icomplete-minibuffer-setup): Use it.
1673 (icomplete-exhibit): Don't delay if the list of completions is known.
1674 (icomplete-separator): New custom.
1675 (icomplete-completions): Use it.
1676 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1677 (minibuffer-force-complete-and-exit): New command.
1678 (minibuffer--complete-and-exit): New function extracted from
1679 minibuffer-complete-and-exit.
1680 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1681
1682 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1683 error message when the file doesn't exist (bug#12974).
1684
31646597
KD
16852012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1686
1687 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1688
e9df8f87
GM
16892012-11-29 Glenn Morris <rgm@gnu.org>
1690
824eefe4
GM
1691 * files.el (hack-dir-local-variables): Warn if try to set
1692 coding via dir-locals, since it doesn't work. (Bug#7169)
1693
4ad900d9
GM
1694 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1695 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1696 Set buffer-local value of desktop-save-buffer.
1697 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1698 New functions.
1699 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1700 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1701
e9df8f87
GM
1702 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1703 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1704 Doc fix.
1705 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1706 Doc fixes.
1707
e7c8fcc4
JB
17082012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1709
1710 * calc/calc-forms.el (calc-date-notation): Fix regexp
1711 used to find time codes. Fix symbol for seconds.
1712
48d6d9c0
GM
17132012-11-27 Glenn Morris <rgm@gnu.org>
1714
1715 * emacs-lisp/derived.el (derived-mode-make-docstring):
1716 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1717
369f945d
SM
17182012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1721 lexically scoped variables (bug#13005).
1722
5c9cf0a3 17232012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1724
999e745e
GM
1725 * vc/vc-hooks.el (vc-mistrust-permissions):
1726 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1727
5c9cf0a3 17282012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1729
999e745e
GM
1730 * progmodes/python.el (python-indent-guess-indent-offset):
1731 If indentation is guessed make python-indent-offset buffer-local.
1732
207cb73c 1733 Fix Imenu regression.
999e745e
GM
1734 * progmodes/python.el (python-nav-beginning-of-defun):
1735 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1736 (python-imenu-prev-index-position): New function.
1737
5c9cf0a3 17382012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1739
1740 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1741
1742 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1743 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1744
5c9cf0a3 17452012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1746
1747 * hippie-exp.el (hippie-expand-try-functions-list):
1748 Re-autoload it. (Bug#12982)
1749
5c9cf0a3 17502012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1751
369f945d
SM
1752 * descr-text.el (describe-char-padded-string):
1753 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1754
5c9cf0a3 17552012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1756
1757 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1758 and obsoletion message.
1759
5c9cf0a3 17602012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1761
1762 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1763 the constructs to keep outside of the `cl-block' (bug#12977).
1764
5c9cf0a3 17652012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1766
1767 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1768 keep reading until we get the up-event anyway, in order to process
1769 the up-event for mouse-1-click-follows-link (Bug#12971).
1770
848a2dd1
SM
17712012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1774 base function is not yet defined (bug#12965).
1775 (ad-activate-advised-definition): Use ad-compile-function.
1776 (ad-activate): Use cond.
1777
9ad79506
LL
17782012-11-25 Leo Liu <sdl.web@gmail.com>
1779
1780 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1781 (Bug#12979)
1782
e2cb57f5
VB
17832012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1784
1785 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1786 reftex-section-info-function in order to be compatible with
1787 Texinfo integration.
1788
1789 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1790 (reftex-section-post-regexp, reftex-section-info-function):
1791 New variable.
1792 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1793 reftex-section-post-regexp, and reftex-section-info-function in order
1794 to be compatible with Texinfo integration.
1795
1796 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1797 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1798 Texinfo integration.
1799
1c4f115d
CY
18002012-11-25 Chong Yidong <cyd@gnu.org>
1801
1802 * faces.el: Make face-spec-set more analogous to setq.
1803 (face-spec-set): Change the third arg to specify whether this
1804 function is being called via defface, customize, or a third party.
1805 Set the appropriate symbol properties. Clear the override spec if
1806 setting via Custom. Initialize face if necessary. (Bug#4988)
1807 (face-spec-recalc): Allow theme faces to completely replace the
1808 defface spec, in the same way as custom faces (Bug#8454).
1809
1810 * cus-face.el (custom-declare-face): Move face initialization to
1811 face-spec-set.
1812 (custom-theme-set-faces): Don't initialize the face name here, as
1813 that is now done in face-spec-set.
1814
1815 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1816 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1817 Simplify by using the new arg to face-spec-set.
1818
1819 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1820 reset face-override-spec too, and use custom-declare-face.
1821
c2350548
JD
18222012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1823
1824 * term/ns-win.el (ns-initialize-window-system): Move creation of
1825 fontsets here (Bug#11964).
1826
ecfc364c
VB
18272012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1828
1829 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1830 cell renaming.
1831
0917cc54
CY
18322012-11-24 Chong Yidong <cyd@gnu.org>
1833
433212bf
CY
1834 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1835 obsolete.
1836
0917cc54
CY
1837 * custom.el (custom-theme-set-variables): Use a topological sort
1838 for ordering by custom dependencies (Bug#12952).
1839 (custom--sort-vars, custom--sort-vars-1): New functions.
1840
d125ca15 18412012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1842
1843 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1844 lexical-binding (bug#12938).
1845
d125ca15 18462012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1847
1848 * image-mode.el (image-transform-check-size): Use assertions only
1849 for images of type imagemagick.
1850
1851 Otherwise no error, image-transform-fit-to-{width,height} is
1852 silently ignored, as before. Doc fix.
1853
d125ca15 18542012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1855
1856 * faces.el (color-defined-p): Doc fix (Bug#12853).
1857
d125ca15 18582012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1859
1860 * dired.el (dired-mark): Add optional arg `interactive'.
1861 Check for `use-region-p' if `interactive' is non-nil.
1862 (dired-unmark, dired-flag-file-deletion): Add optional arg
1863 `interactive'. Call `dired-mark' with the arg `interactive'.
1864 (Bug#10624)
1865
cc4c01bd
JL
1866 * wdired.el: Revert 2012-10-17 change partly and replace it with
1867 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1868 (wdired-finish-edit): Add marks for new file names to
1869 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1870 after `revert-buffer'.
1871 (wdired-do-renames): Remove calls to `dired-remove-file',
1872 `dired-add-file', `dired-add-entry'. (Bug#11795)
1873
d125ca15 18742012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1875
dc310ed0
AM
1876 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1877
b03aabda
AM
1878 Fix bugs in the state cache. Enhance a debugging mechanism.
1879 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1880 "brace at column zero" strategy for C++.
1881 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1882 (c-parse-state-point): New variable.
1883 (c-record-parse-state-state): Record old parse state with
1884 `copy-tree'. Record previous value of point.
1885 (c-debug-parse-state-double-cons): New debugging function.
1886 (c-debug-parse-state): Call the above new function.
1887 (c-toggle-parse-state-debug): Output a confirmatory message.
1888
002c019c
SM
1889 * progmodes/cc-mode.el (c-before-change, c-after-change):
1890 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1891 `c-after-change'.
1892
930a6273
CY
18932012-11-23 Chong Yidong <cyd@gnu.org>
1894
1895 * find-cmd.el (find-constituents): Add executable, ipath,
1896 readable, samefile, writable, daystart, regextype (Bug#12856).
1897
15c9d04e
SM
18982012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1901
2ecb2679
PE
19022012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1903
1904 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1905 definition. This fixes a bootstrap failure.
a14a5a40
PE
1906 (calc-gregorian-switch): In menu, put dates before regions.
1907 This is easier to follow, lines up better in the menu, and lets us
1908 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1909 names, not "Vatican", as that's better for non-expert users.
1910 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1911 Bohemia and Moravia (which existed then and now) and not
1912 Czechoslovakia (which didn't exist then and doesn't exist now).
1913 What is now the U.S. mostly did not switch at the same time as
1914 Britain, so omit the U.S. Correct spelling of "Britain".
1915 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1916
723da6aa
JB
19172012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1918
1919 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1920 after the variable is changed.
1921
21fa2482
DC
19222012-11-21 Daniel Colascione <dancol@dancol.org>
1923
1924 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1925 in SQL declarations for font-lock.
1926 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1927
3ca2f1bf
GM
19282012-11-21 Glenn Morris <rgm@gnu.org>
1929
1bf335cf
GM
1930 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1931 (face-italic-p): Add optional argument "inherit".
1932
3ca2f1bf
GM
1933 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1934 Remove -p suffix from names, for consistency with other set-face-*.
1935 (set-face-inverse-video): Fix interactive spec.
1936 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1937 * textmodes/table.el (table--update-cell-face):
1938 Use set-face-inverse-video rather than now obsolete alias.
1939
6ef2e5ef 19402012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1941
1942 * simple.el (line-move): Don't call line-move-partial if
1943 scroll-conservatively is in effect. (Bug#12927)
1944
6ef2e5ef 19452012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1946
93b05041
SM
1947 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1948 Fallback on completion-at-point rather than
1949 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1950 (eshell-cmpl-initialize): Setup completion-at-point.
1951
1952 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1953
bc715d67
SM
1954 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1955
6ef2e5ef 19562012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1957
1958 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1959 are remote, check out-of-band property for both.
1960
6ef2e5ef 19612012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1962
1963 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1964 code rewrite.
1965
6ef2e5ef 19662012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1967
535efd4a
PE
1968 More minor time fixes.
1969 * calendar/time-date.el: Commentary fix.
1970 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1971 too much other code depends on (0 0) time stamps.
1972 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1973 Add a couple of FIXME comments.
1974
0c93aa38
PE
1975 Minor cleanup for times as lists of four integers.
1976 * files.el (dir-locals-directory-cache):
1977 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1978 Doc fixes.
1979 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1980 * ps-bdf.el (bdf-file-newer-than-time):
1981 Process four-integers time stamps, not two. Doc fixes.
1982
23ba2705
SM
19832012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1984
2e31777b
SM
1985 * uniquify.el (uniquify-managed): Use defvar-local.
1986 (rename-buffer, create-file-buffer): Advise with advice-add.
1987 (uniquify-unload-function): Unadvise accordingly.
1988
8b62d742
SM
1989 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1990 (trace-buffer): Don't purecopy.
1991 (trace-entry-message, trace-exit-message): Add `context' arg.
1992 (trace--timer): New var.
1993 (trace-make-advice): Adjust for use in nadvice.
1994 Add `context' argument. Delay `display-buffer' via a timer.
1995 (trace-function-internal): Use advice-add.
1996 (trace--read-args): New function.
1997 (trace-function-foreground, trace-function-background): Use it.
1998 (trace-function): Rename to trace-function-foreground and redefine as
1999 an alias to that new name.
2000 (untrace-function, untrace-all): Adjust to the use of nadvice.
2001
5d0ccd95
SM
2002 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2003
3837d988
SM
2004 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2005
23ba2705
SM
2006 * subr.el (called-interactively-p-functions): New var.
2007 (internal--called-interactively-p--get-frame): New macro.
2008 (called-interactively-p, interactive-p): Rewrite in Lisp.
2009 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2010 (called-interactively-p-functions): Use it.
2011 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2012 (called-interactively-p-functions): Use it.
2013 * allout.el (allout-called-interactively-p): Don't assume
2014 called-interactively-p is a subr.
2015
b0636be7
GM
20162012-11-20 Glenn Morris <rgm@gnu.org>
2017
2018 * profiler.el (profiler-report-mode-map): Add a menu.
2019 No need to bind `q' because we derive from special-mode.
2020 (profiler-report-find-entry): Handle calls from the menu-bar.
2021
855b17af
SM
20222012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2023
14146222
SM
2024 * emacs-lisp/byte-run.el (defun-declarations-alist):
2025 Allow a compiler-macro to be a lambda expression.
2026
2027 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2028 eval-when-compile.
2029 (python-syntax-context): Add compiler-macro.
2030 (python-font-lock-keywords): Simplify with De Morgan.
2031
1000d895
SM
2032 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2033
ac5392dc
SM
2034 * files.el (load-file): Require match in minibuffer selection, as was
2035 the case in Emacs-20 before we changed the spec to allow .elc files
2036 (bug#12935).
2037
19dc7206
SM
2038 * json.el: Don't require cl since we don't use it.
2039 * color.el: Don't require cl.
2040 (color-complement): `caddr' -> `nth 2'.
2041
855b17af
SM
2042 * calendar/time-date.el (time-to-seconds): De-obsolete.
2043
e8909bdc
JB
20442012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2045
2046 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2047 year numbers.
2048 (math-date-to-julian-dt): Adjust the initial approximation for the
2049 year to deal with the new definition of the DATE.
2050
6e9f7997
DC
20512012-11-19 Daniel Colascione <dancol@dancol.org>
2052
855b17af
SM
2053 * term/w32-win.el (cygwin-convert-path-from-windows):
2054 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2055
6a3dd257
CY
20562012-11-18 Chong Yidong <cyd@gnu.org>
2057
2058 * filecache.el (file-cache--read-list): New function.
2059 (file-cache-add-directory-list, file-cache-add-file-list)
2060 (file-cache-delete-file-list, file-cache-delete-directory-list):
2061 Use it to read a list of files or directories (Bug#12846).
2062 (file-cache-add-file, file-cache-add-directory)
2063 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2064 (file-cache-delete-directory): Print an message.
2065
eef97f35
JB
20662012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2067
2068 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2069 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2070
913c8291
GM
20712012-11-18 Glenn Morris <rgm@gnu.org>
2072
2073 * image.el (insert-image, insert-sliced-image): Doc fix.
2074
2ac9538d 20752012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2076
2077 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2078 (Bug#12810).
2079
2ac9538d 20802012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2081
2082 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2083 response when the target file is in a subdirectory (Bug#12757).
2084
2ac9538d 20852012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2086
2087 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2088
2ac9538d 20892012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2090
9a5e2ee3
GM
2091 * emacs-lisp/cl-lib.el (face-underline-p):
2092 Use set-face-underline rather than the alias set-face-underline-p.
2093
65463c40 2094 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2095 * subr.el (with-output-to-temp-buffer):
2096 Add doc xref to with-temp-buffer-window.
65463c40 2097
c9ed8e3d
JB
20982012-11-18 Juanma Barranquero <lekktu@gmail.com>
2099
2100 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2101 * calc/calc.el (math-format-date-cache): Declare.
2102
310e60d9
PE
21032012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2104
6f6b82d6
PE
2105 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2106 It also uses January 1, 1 AD as its day number 1.
310e60d9 2107 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2108 (math-julian-date-beginning-int): Implement this.
310e60d9 2109
d7fe6352
JB
21102012-11-17 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * descr-text.el (quail-find-key):
2113 * dired.el (desktop-file-name):
2114 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2115 * generic-x.el (comint-mode, comint-exec):
2116 * image-dired.el (widget-forward):
2117 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2118 (speedbar-change-expand-button-char)
2119 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2120 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2121 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2122 (widget-field-action, widget-value-set):
2123 * speedbar.el (imenu--make-index-alist):
2124 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2125 (ring-length, ring-insert):
2126 * vcursor.el (compare-windows-skip-whitespace):
2127 * woman.el (dired-get-filename):
2128 Declare functions.
2129
2130 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2131
c9f618db
JB
21322012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2133
2134 * calc/calc.el (calc-gregorian-switch): New variable.
2135
2136 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2137 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2138 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2139 (math-leap-year-p): Add option to distinguish between Julian
2140 and Gregorian calendars.
2141 (math-day-number): Use `math-day-in-year' to do the computations.
2142 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2143 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2144 to do the computations.
2145 (math-date-to-dt): Use `math-date-to-julian-dt' and
2146 `math-date-to-gregorian-dt' to do the computations.
2147 (calcFunc-weekday, math-format-date-part): Use the new version of
2148 the DATE to determine the weekday.
2149 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2150 when necessary.
2151
3804f7bc
EZ
21522012-11-17 Eli Zaretskii <eliz@gnu.org>
2153
2154 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2155 Cygwin; otherwise use 'file:'. (Bug#12914)
2156 (cygwin-convert-path-from-windows): Declare, to avoid
2157 byte-compiler warnings.
2158
de959d4d
AP
21592012-11-17 Andreas Politz <politza@fh-trier.de>
2160
2161 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2162 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2163 prefix and negative numeric prefix args (Bug#12795).
2164
e45deaef
SB
21652012-11-17 Stephen Berman <stephen.berman@gmx.net>
2166
2167 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2168 Don't signal an error with a score that is too low to add to the
2169 list of top scores. (Bug#12779)
2170
ec15e0ff
CY
21712012-11-17 Chong Yidong <cyd@gnu.org>
2172
8e7696a1
CY
2173 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2174
ec15e0ff
CY
2175 * filecache.el (file-cache-add-file): Handle relative file name in
2176 the argument (Bug#12694).
2177
60c4ee66
JH
21782012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2179
2180 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2181
cdc5d88c
SM
21822012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2183
dd0c5bbb
SM
2184 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2185
cdc5d88c
SM
2186 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2187
0ff7851c
MR
21882012-11-16 Martin Rudalics <rudalics@gmx.at>
2189
2190 * window.el (enlarge-window, shrink-window): Don't mention return
2191 value in doc-string (Bug#12896).
2192 (window--display-buffer): Don't resize frames - it won't work
2193 with all window managers and defeat pop-up-frame-alist.
2194 (display-buffer-alist): In doc-string explain that CONDITION can
2195 be a function and which arguments are passed to it (Bug#12854).
2196 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2197 expressions (Bug#12854).
2198 (display-buffer): Pass ACTION argument to
2199 display-buffer-assq-regexp.
2200
dedd1884
GM
22012012-11-16 Glenn Morris <rgm@gnu.org>
2202
7c82753d
GM
2203 * window.el (fit-frame-to-buffer-bottom-margin)
2204 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2205
dedd1884
GM
2206 * faces.el (face-underline-p): Use face-attribute-specified-or.
2207
96e05507 22082012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2209
2210 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2211
96e05507 22122012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2213
2214 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2215
96e05507 22162012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2217
17c083ac
GM
2218 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2219 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2220
bde3c6c0
GM
2221 * faces.el (face-underline-p): Doc fix. Handle :underline being
2222 things other than `t' (a string, a list).
2223 (face-inverse-video-p): Doc fix.
2224 (set-face-underline): Rename it back from set-face-underline-p.
2225 Doc fix. Allow interactive input of values other than t.
2226 (read-face-attribute): Apply formatting to :underline,
2227 since like :box and :stipple it can take list values.
2228
e2e13f18
GM
2229 * term.el (ansi-term): Don't let C-x escape-char binding
2230 clobber the more standard C-c binding. (Bug#12842)
2231
e0ea8060
GM
2232 * subr.el (set-temporary-overlay-map): Doc fix.
2233
96e05507 22342012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2235
2236 * window.el (record-window-buffer)
2237 (display-buffer-record-window): When copying the markers to
2238 window-point preserve window-point-insertion-type. (Bug#12588)
2239
96e05507 22402012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2241
2242 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2243 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2244 Use new names for hooks rather than obsolete aliases.
2245
faeafc01
DC
22462012-11-15 Daniel Colascione <dancol@dancol.org>
2247
2248 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2249 prefix instead of "file:" so that when FILE-NAME begins with "//",
2250 as it does when the target file is on a network share, url-handler
2251 isn't confused.
2252
1232d6c2
SM
22532012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2256 a preactivated advice from an old advice.el; they're not compatible!
2257
47f01a8a
KY
22582012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2259
2260 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2261 Fix string-spec case.
2262
2263 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2264
a61428c4
SM
22652012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2268 (advice--buffer-local-function-sample): New var.
2269 (advice--set-buffer-local, advice--buffer-local): New functions.
2270 (add-function, remove-function): Use them.
2271
875ce3a7
DA
22722012-11-15 Drew Adams <drew.adams@oracle.com>
2273
2274 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2275
589fc479
SM
22762012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2279 potential binding of print-gensym to t, and prettify (back)quotes in
2280 case they appear in args's default values (bug#12884).
2281
1668ea90
SM
22822012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2285 (advice-eval-interactive-spec): New function.
2286 (advice--make-interactive-form): Support around advice (bug#12844).
2287
8619323f
DG
22882012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2289
2290 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2291 more strict. Add docstring.
c62792e7
DG
2292 (ruby-expression-expansion-re): Extract from
2293 `ruby-match-expression-expansion'.
2294 (ruby-syntax-propertize-function): After everything else, search
2295 for expansions in string literals, mark their insides as
2296 whitespace syntax and save match data for font-lock.
2297 (ruby-font-lock-keywords): Use the 2nd group from expression
2298 expansion matches.
2299 (ruby-match-expression-expansion): Use the match data saved to the
2300 text property in ruby-syntax-propertize-function.
8619323f 2301
9c3912d3
SM
23022012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2305 (bug#12879).
2306
5e9419e8
DG
23072012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2310 start/end keyword a bit harder. Works with different values of N.
2311 Add more comments.
2312 (ruby-end-of-block): Update accordingly.
2313
3c442f8b
SM
23142012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2315
fa470af0
SM
2316 * woman.el (woman-file-name): Don't mess with unread-command-events
2317 (bug#12861).
2318
3c442f8b
SM
2319 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2320 Remove out of date self-require hack.
2321 (ad-do-advised-functions): Use simple `dolist'.
2322 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2323 (ad-advice-definition): Redefine as functions.
2324 (ad-advice-classes): Move before first use.
2325 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2326 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2327 (ad--defalias-fset): Remove functions.
fa470af0 2328 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2329 (ad-get-orig-definition): Rewrite.
2330 (ad-make-advised-definition-docstring): Change base docstring.
2331 (ad-real-orig-definition): Rewrite.
2332 (ad-map-arglists): Change name of called function.
2333 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2334 (ad-make-advised-definition): Simplify.
2335 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2336 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2337 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2338 function and call ad-activate if needed.
2339 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2340 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2341 (ad-compile-function): Compile ad-Advice-*.
2342 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2343 (ad-start-advice, ad-stop-advice): Remove.
2344
5745cae6
DG
23452012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2348 period before class method names, not after. Remove handling of
2349 one impossible case. Add comments.
2350
413d4689
SM
23512012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2352
7db1bda8
SM
2353 * emacs-lisp/advice.el: Remove support for freezing.
2354 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2355 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2356 Remove support for `freeze'.
2357
413d4689
SM
2358 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2359 override the default.
2360 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2361 cl--dotimes/dolist.
2362 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2363 `cl' is loaded.
2364
2365 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2366 from add-advice.
2367 (advice--strip-macro): New function.
2368 (advice--defalias-fset): Use them to handle macros.
2369 (advice-add): Use them.
2370 (advice-member-p): Correctly handle macros.
2371
f178c32d
DG
23722012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2373
7db1bda8
SM
2374 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2375 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2376
f78ee6af 23772012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2378
2379 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2380
f78ee6af 23812012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2382
2383 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2384 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2385 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2386
f78ee6af 23872012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2388
2389 Fix end-of-defun misbehavior.
2390 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2391 python-beginning-of-defun-function. Handle nested defuns
2392 correctly.
2393 (python-nav-end-of-defun): Rename from
2394 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2395 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2396 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2397 parent defuns as soon as possible.
2398
f78ee6af 23992012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2400
2401 * progmodes/flymake.el (flymake-error-bitmap)
2402 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2403 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2404
f78ee6af 24052012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2406
2407 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2408 backward, always stop at indentation. Reverts the change from
2409 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2410
f78ee6af 24112012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2412
a1d3e07e
GM
2413 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2414 Add ibuffer-filter-by-derived-mode.
2415
84acf328
GM
2416 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2417 the same name shadowing each other.
2418
38785e75
GM
2419 * window.el (with-temp-buffer-window): Doc tweak.
2420
57fc0fee
GM
2421 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2422
6ba6a3e5
GM
2423 * help.el (temp-buffer-max-height):
2424 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2425 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2426
231d8498
SM
24272012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/nadvice.el: New package.
2430 * subr.el (special-form-p): New function.
2431 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2432 (elp-all-instrumented-list): Remove var.
2433 (elp-not-profilable): Remove elp-wrapper.
2434 (elp-profilable-p): Use autoloadp and special-form-p.
2435 (elp--advice-name): New const.
2436 (elp-instrument-function): Use advice-add.
2437 (elp--instrumented-p): New predicate.
2438 (elp-restore-function): Use advice-remove.
2439 (elp-restore-all, elp-reset-all): Use mapatoms.
2440 (elp-set-master): Use elp--instrumented-p.
2441 (elp--make-wrapper): Rename from elp-wrapper, return a function
2442 suitable for advice-add. Use cl-inf.
2443 (elp-results): Use mapatoms+elp--instrumented-p.
2444 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2445 (debug-function-list): Remove var.
2446 (debug): Rename arg, and then let-bind it explicitly inside.
2447 (debugger-setup-buffer): Rename arg.
2448 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2449 (debugger-frame-number): Adjust to new debug-on-entry setup.
2450 (debug--implement-debug-on-entry): Rename from
2451 implement-debug-on-entry, add argument.
2452 (debugger-special-form-p): Remove, use special-form-p instead.
2453 (debug-on-entry): Use advice-add.
2454 (debug--function-list): New function.
2455 (cancel-debug-on-entry): Use it, along with advice-remove.
2456 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2457 (debugger-list-functions): Use debug--function-list instead of
2458 debug-function-list.
2459 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2460 (ad-special-form-p): Remove, use special-form-p instead.
2461 (ad-set-advice-info): Use add-function and remove-function.
2462 (ad--defalias-fset): Adjust accordingly.
2463
19e09879
GM
24642012-11-10 Glenn Morris <rgm@gnu.org>
2465
714cebd1
GM
2466 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2467 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2468 (report-emacs-bug-create-existing-bugs-buffer)
2469 (report-emacs-bug-parse-query-results)
2470 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2471
bf67dafa
GM
2472 * term.el (term-default-fg-color, term-default-bg-color):
2473 Make obsolete, rather than just saying "deprecated" in the doc.
2474
19e09879
GM
2475 * term.el (term): Rename from `term-face'.
2476 (term-current-face, ansi-term-color-vector)
2477 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2478 Update all users.
2479
6baf66d5 24802012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2481
2482 * server.el (server-create-window-system-frame): Handle Nextstep
2483 specially (Bug#12780).
2484
6baf66d5 24852012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2486
2487 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2488 Unautoload, and make obsolete. (Bug#7449)
2489
6baf66d5 24902012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2491
2492 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2493 rename from diff-remove-trailing-whitespace (Bug#12831).
2494
6baf66d5 24952012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2496
2497 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2498 miscompilation of trace.el.
2499
6baf66d5 25002012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2501
2502 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2503
6baf66d5 25042012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2505
2506 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2507 (bug#12812).
2508
6baf66d5 25092012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2510
2511 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2512 a defcustom with an appropriate :set function.
2513 (minibuffer-default--in-prompt-regexps): New function.
2514
6baf66d5 25152012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2516
031b2ea7
GM
2517 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2518 (define-modify-macro): Doc fixes.
2519
2ee1d59f
GM
2520 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2521 (gv-define-simple-setter): Update doc of `fix-return'.
2522
6baf66d5 25232012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2524
b715ed44
SM
2525 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2526 twice when `fix-return' is set (bug#12813).
2527
d57c286e
SM
2528 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2529 gv-define-simple-setter (bug#12812).
2530
c9cac599
SM
2531 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2532 (bug#12756).
2533
6baf66d5 25342012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2535
2536 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2537
5593ed90
GM
2538 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2539 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2540 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2541 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2542
2543 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2544
05a859c1
LL
25452012-11-10 Leo Liu <sdl.web@gmail.com>
2546
2547 * ido.el (ido-set-matches-1): Improve flex matching performance by
2548 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2549
32e5c58c
SM
25502012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2553 (ad--defalias-fset): New function.
2554 (ad-safe-fset): Remove.
2555 (ad-make-freeze-definition): Use cl-letf*.
2556
f5925cd9
SM
25572012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2558
da03ef8a
SM
2559 * subr.el (dolist): Don't bind VAR in RESULT.
2560
6858633a
SM
2561 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2562 (fset, documentation): Don't save real def since we don't advise.
2563 (ad-do-advised-functions): Remove problematic `result-form'.
2564 (ad-safe-fset): `ad-real-fset' => `fset'.
2565 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2566 uses CL's dolist internally.
2567 (ad-arglist): Remove unused arg `name'.
2568 (ad-docstring, ad-make-advised-docstring):
2569 `ad-real-documentation' => `documentation'.
2570 (warning-suppress-types): Declare.
2571 (ad-set-arguments): Simple CSE.
2572 (ad-recover-normality): Sanity check.
2573
f5925cd9
SM
2574 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2575 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2576
93a66b3a
VB
25772012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2578
2579 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2580 `ses-cell'. This means that the same mapping is done for all SES
2581 sheets. That is good enough for cells with standard A1 names, but
2582 not for named cell. So a hash map is added for the latter.
2583 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2584 (ses-sym-rowcol): Use hashmap for named cell.
2585 (ses-is-cell-sym-p): New defun.
2586 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2587 (ses-create-cell-variable): Add cell to hashmap when name is not
2588 A1-like.
93a66b3a
VB
2589 (ses-rename-cell): Check that cell new name is not already in
2590 spreadsheet with the use of ses-is-cell-sym-p
2591 (ses-rename-cell): Use hash map for named cells, but accept also
2592 renaming back to A1-like.
2593
67dd8ad1
SM
25942012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2595
57618ecf
SM
2596 * emacs-lisp/advice.el: Use new dynamic docstrings.
2597 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2598 Use dynamic-docstring-function instead of ad-advice-info.
2599 (ad--make-advised-docstring): New function extracted from
2600 ad-make-advised-docstring.
2601 (ad-make-advised-docstring): Use it.
2602 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2603 from sql-help.
2604 (sql-help): Use it with dynamic-docstring-function.
2605
67dd8ad1
SM
2606 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2607
be883b34
SM
26082012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2609
d41706aa
SM
2610 * files.el (hack-one-local-variable--obsolete): New function.
2611 (hack-one-local-variable): Use it for obsolete settings.
2612
85e55412
SM
2613 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2614 the new name.
2615
be883b34
SM
2616 * progmodes/js.el (js--filling-paragraph): New var.
2617 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2618 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2619 less sneaky.
2620
cabc040a
JD
26212012-11-08 Julien Danjou <julien@danjou.info>
2622
2623 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2624 `auto-mode-alist' (Bug#12835).
2625
d14bb752
SM
26262012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2627
79b3e376
SM
2628 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2629 (perl--prettify-symbols-alist): New const.
2630 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2631 New functions.
2632 (perl-font-lock-keywords-2): Use them.
2633 (perl-electric-noindent-p): New function.
2634 (perl-mode): Use it to set up electric-indent-mode.
2635 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2636 (perl-mode-map): Remove bindings for them.
2637 (perl-imenu-generic-expression, perl-outline-level):
2638 Match functions&packages in column>0.
2639
3b11e6ac
SM
2640 * env.el (env--substitute-vars-regexp): New const.
2641 (substitute-env-vars): Use it. Add `only-defined' arg.
2642 * net/tramp.el (tramp-replace-environment-variables): Use it.
2643
784c1a7b
SM
2644 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2645 Byte-compile *before* eval in eval-and-compile.
2646 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2647 (byte-compile-file-form-autoload): Don't hide actual definition.
2648 (byte-compile-maybe-guarded): Accept `functionp' as well.
2649
d14bb752
SM
2650 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2651
499a0f7a
MA
26522012-11-07 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * notifications.el (notifications-get-server-information-method):
2655 New defconst.
2656 (notifications-get-capabilities): Fix docstring.
2657 (notifications-get-server-information): New defun.
2658
f0704a9a
AM
26592012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2660
2661 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2662 readability.
2663
b159a1fd
AM
2664 * textmodes/ispell.el: Experimental support for support debugging.
2665 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2666 buffer for ispell.
2667 (ispell-print-if-debug): New function to print stuff to
2668 `ispell-debug-buffer' if debugging is enabled.
2669 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2670 show some debugging info.
2671 (ispell-buffer-with-debug): New function that creates a debugging
2672 buffer and calls `ispell-buffer' with debugging enabled.
2673
056cb3a1
AM
2674 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2675 comment in autoconf mode. (Bug#12768)
2676
8e6a67b7
DA
26772012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2678
2679 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2680 frame-first-window, frame-root-window, frame-selected-window,
2681 minibuffer-selected-window, minibuffer-window,
2682 window-absolute-pixel-edges, window-at, window-body-height,
2683 window-body-width, window-display-table, window-combination-limit,
2684 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2685 window-inside-edges, window-inside-pixel-edges, window-left-child,
2686 window-left-column, window-margins, window-next-buffers,
2687 window-next-sibling, window-new-normal, window-new-total,
2688 window-normal-size, window-parameter, window-parameters, window-parent,
2689 window-pixel-edges, window-point, window-prev-buffers,
2690 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2691 window-start, window-text-height, window-top-child, window-top-line,
2692 window-total-height, window-total-width and window-use-time to the list
2693 of functions without side-effects.
2694 (toplevel): Add window-valid-p to the list of error-free functions
2695 without side-effects.
2696
53fc914f
AM
26972012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2698
f5925cd9
SM
2699 * textmodes/ispell.el (ispell-program-name):
2700 Update spellchecker parameters when customized.
53fc914f 2701
9749e2b0
GM
27022012-11-04 Glenn Morris <rgm@gnu.org>
2703
2704 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2705
2cbafa56
CY
27062012-11-04 Chong Yidong <cyd@gnu.org>
2707
2708 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2709 same-window-* variables.
2710
85178ca1
JL
27112012-11-04 Juri Linkov <juri@jurta.org>
2712
2713 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2714 (isearch-describe-key, isearch-describe-mode): Use a display
2715 action instead of binding same-window-* variables (Bug#10040).
2716
5c677d44
GM
27172012-11-03 Glenn Morris <rgm@gnu.org>
2718
49138400
GM
2719 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2720 Rename handler properties back from cl-- to cl-. (Bug#12788)
2721
5c677d44
GM
2722 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2723
1d4341f9
EZ
27242012-11-03 Eli Zaretskii <eliz@gnu.org>
2725
2726 * term/pc-win.el: Don't load term/internal from here.
2727
2728 * loadup.el: Load term/internal from here.
2729
12fd5ee1
FEG
27302012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2731
2732 * progmodes/python.el (inferior-python-mode): Fix hang in
2733 jit-lock (Bug#12645).
2734
43bcfda6
MR
27352012-11-03 Martin Rudalics <rudalics@gmx.at>
2736
2737 * window.el (switch-to-visible-buffer)
2738 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2739
376a8e83
GM
27402012-11-03 Glenn Morris <rgm@gnu.org>
2741
2742 * emacs-lisp/cl-lib.el (cl--random-time):
2743 Rename from cl-random-time. (Bug#12773)
2744 (cl--gensym-counter, cl--random-state): Update callers.
2745 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2746
0f7b074f
CY
27472012-11-03 Chong Yidong <cyd@gnu.org>
2748
2749 * cus-start.el: Make cursor-type customizable (Bug#11633).
2750
3a6851d9
GM
27512012-11-02 Glenn Morris <rgm@gnu.org>
2752
00a3b041
GM
2753 * filecache.el: No need to load find-lisp when compiling.
2754 (find-lisp-find-files): Autoload it.
2755 (file-cache-add-directory-recursively): Don't require find-lisp.
2756
11fef14a
GM
2757 * image.el (image-type-from-file-name): Trivial simplification.
2758
3a6851d9
GM
2759 * emacs-lisp/bytecomp.el (byte-compile-eval):
2760 Decouple "noruntime" and "cl-functions" warnings.
2761
b4b096e4
SB
27622012-11-01 Stephen Berman <stephen.berman@gmx.net>
2763
2764 * play/gomoku.el (gomoku-display-statistics): Update mode line
2765 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2766
218e997a
MR
27672012-10-31 Martin Rudalics <rudalics@gmx.at>
2768
2769 * window.el (quit-restore-window): If the window has been
2770 created on an existing frame and ended up as the sole window on
2771 that frame, do not delete it (Bug#12764).
2772
b08b6da7
SM
27732012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2774
3618df45
SM
2775 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2776 Rename from sh--inside-arithmetic-expression, handle more cases
2777 (bug#11263).
2778
b08b6da7
SM
2779 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2780 (sh-font-lock-open-heredoc): Use it (bug#12770).
2781
4ddedf94
GM
27822012-10-30 Glenn Morris <rgm@gnu.org>
2783
f43a5263
GM
2784 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2785
4ddedf94
GM
2786 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2787
748b0d84
CY
27882012-10-29 Chong Yidong <cyd@gnu.org>
2789
b5dd9a77
CY
2790 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2791 function key is stored in a keyboard macro (Bug#4894).
2792
748b0d84
CY
2793 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2794
e07fcbdc
SM
27952012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2796
d7f9cc85
SM
2797 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2798 header comments".
2799 (diff-unified->context, diff-context->unified)
2800 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2801
c606253c
SM
2802 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2803
e07fcbdc
SM
2804 * files.el (find-alternate-file): Only ask one question (bug#12487).
2805
894b9dd9
CY
28062012-10-29 Chong Yidong <cyd@gnu.org>
2807
1dc2755a
CY
2808 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2809 Suggested by Dan Nicolaescu (Bug#6326).
2810
329c48d8
CY
2811 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2812
2230fa5b 2813 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2814
e84cad57
CY
2815 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2816
1913c5f5
CY
2817 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2818
894b9dd9
CY
2819 * face-remap.el (face-remap-add-relative): Handle the case where a
2820 face-remapping-alist entry is a cons cell (Bug#12762).
2821
329c48d8
CY
28222012-10-29 Kevin Ryde <user42@zip.com.au>
2823
2824 * woman.el (woman-parse-numeric-value): Handle picas correctly
2825 (Bug#12639).
2826
a0ccbcbd
GM
28272012-10-29 Glenn Morris <rgm@gnu.org>
2828
2829 * emacs-lisp/cl.el (defsetf): Doc fix.
2830
b3871e59
SM
28312012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2834 syntax to the matching opener, if any (bug#12547).
2835 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2836 matching open as a "case-(".
2837 (sh-smie-rc-grammar): Add a corresponding rule for it.
2838
cd44022c
DH
28392012-10-28 Daniel Hackney <dan@haxney.org>
2840
2841 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2842 "PKGNAME-autoloads.el" in case we created it.
2843
70edffb1
SM
28442012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2845
86957a0c
SM
2846 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2847 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2848 (completion--twq-all): Disable too-strict assertions.
86957a0c 2849
70edffb1
SM
2850 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2851
d069271c
EZ
28522012-10-27 Eli Zaretskii <eliz@gnu.org>
2853
2854 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2855 text to match the real keybindings.
2856
e2f022a3
JL
28572012-10-27 Juri Linkov <juri@jurta.org>
2858
2859 * wdired.el (wdired-keep-marker-rename): New defcustom.
2860 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2861 (Bug#11795)
2862
2863 * dired.el (dired-keep-marker-rename): Add reference to
2864 `wdired-keep-marker-rename' in the docstring.
2865 Add default character value ?R to display initially in
2866 Customization UI instead of ?@.
2867
df171c23
MR
28682012-10-27 Martin Rudalics <rudalics@gmx.at>
2869
2870 * window.el (display-buffer): In doc-string describe
2871 window-height and window-width alist entries.
2872
2873 * time.el (display-time-world): Restore fit-window-to-buffer
2874 behavior.
2875
05b621a6
CY
28762012-10-27 Chong Yidong <cyd@gnu.org>
2877
2878 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2879
55f197b2
J
28802012-10-26 Jambunathan K <kjambunathan@gmail.com>
2881
2882 * minibuffer.el (completion-category-overrides): New completion
2883 category `bookmark' (bug#11131).
2884
372212df
SM
28852012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2886
150f809c
SM
2887 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2888 Silence bogus compiler warnings for ad-do-it.
2889
372212df
SM
2890 * bookmark.el (bookmark-completing-read): Set the completion category
2891 to `bookmark' (bug#11131).
2892
c5772569
B
28932012-10-26 Bastien <bzg@altern.org>
2894 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * face-remap.el: Use lexical-binding.
2897 (text-scale-adjust): Improve docstring. Use itself for the temporary
2898 overlay-map bindings, so as to repeat the "Use..." message each time.
2899
a2be0357
SM
29002012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2901
63314e57
SM
2902 * emacs-lisp/macroexp.el (macroexp--expand-all):
2903 Obey byte-compile-warning-enabled-p (bug#12486).
2904
a2be0357
SM
2905 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2906 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2907
8c7727c3
MR
29082012-10-26 Martin Rudalics <rudalics@gmx.at>
2909
2910 * mouse.el (mouse-drag-line): Move last form into preceding when
2911 clause (Bug#12731).
2912
2913 * help.el (resize-temp-buffer-window): Fix doc-string.
2914
3f2a848d
DE
29152012-10-25 David Engster <deng@randomsample.de>
2916
2917 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2918 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2919
2920 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2921 always loaded. Require `speedbar' unconditionally.
2922
a7723be6
SM
29232012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2924
aaabfc8b
SM
2925 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2926
414a8595
SM
2927 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2928
fb5b9475
SM
2929 * net/ldap.el (ldap-search-internal): The official ldif format starts
2930 with a "version: 1" header (bug#12724).
2931
a7723be6
SM
2932 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2933 (bug#12721).
2934
a05cb6e3
GM
29352012-10-25 Glenn Morris <rgm@gnu.org>
2936
2937 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2938
3c92de70
SM
29392012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * minibuffer.el (minibuffer-force-complete): Use one more marker
2942 for the temporary-overlay-map command (bug#12619).
2943
a4b6d7c6
CY
29442012-10-24 Chong Yidong <cyd@gnu.org>
2945
2946 * time.el (display-time-world-mode): Derive from special-mode.
2947 (display-time-world): Use display-buffer (Bug#12708).
2948 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2949 (display-time-world-display): Wrap the final delete-char inside
2950 inhibit-read-only.
a4b6d7c6 2951
75e8f9d2
CY
29522012-10-24 Chong Yidong <cyd@gnu.org>
2953
cd996018
CY
2954 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2955 Doc fix.
2956
75e8f9d2
CY
2957 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2958
d92df117
SM
29592012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * minibuffer.el (completion--all-sorted-completions-location): New var.
2962 (completion--cache-all-sorted-completions)
2963 (completion--flush-all-sorted-completions): Use it.
2964 (completion-in-region, completion-in-region--postch)
2965 (completion-at-point, completion-help-at-point): Use markers in
2966 completion-in-region--data (bug#12619).
2967
9c3e39f3
SM
29682012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2969
c79825bd
SM
2970 * progmodes/compile.el (compilation-start): Try to handle common
2971 quoting of `cd' argument (bug#12640).
2972
9c3e39f3
SM
2973 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2974 (bug#12671).
2975
a6709bc7
GM
29762012-10-23 Glenn Morris <rgm@gnu.org>
2977
2978 * progmodes/gud.el (gud-menu-map):
2979 Check gdb-active-process is bound. (Bug#12358)
2980
d1069532
SM
29812012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2982
d20d69c0
SM
2983 * repeat.el (repeat): Set real-this-command (bug#12232).
2984
d1069532
SM
2985 * htmlfontify.el (hfy-post-html-hook):
2986 * filesets.el (filesets-cache-fill-content-hook):
2987 * arc-mode.el (archive-extract-hook):
2988 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2989 * net/rcirc.el (rcirc-sentinel-functions)
2990 (rcirc-receive-message-functions, rcirc-activity-functions)
2991 (rcirc-print-functions):
2992 * net/dbus.el (dbus-event-error-functions):
2993 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2994 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2995 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2996 * term/sun.el (sun-raw-prefix-hooks):
2997 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2998
f7eac6d8
MA
29992012-10-23 Michael Albinus <michael.albinus@gmx.de>
3000
d1069532
SM
3001 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3002 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3003 (tramp-smb-wait-for-output): Add timeout to
3004 `tramp-accept-process-output' calls.
3005
608d9d7c
CY
30062012-10-23 Chong Yidong <cyd@gnu.org>
3007
49238e7f
CY
3008 * faces.el (font-list-limit): Define as an obsolete variable.
3009
3010 * startup.el (command-line):
3011 * cus-start.el: Don't refer to font-list-limit.
3012
608d9d7c
CY
3013 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3014
4ff5b1b2
SM
30152012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * subr.el (internal-temp-output-buffer-show): Rename from
3018 temp-output-buffer-show, since previously compiled files expect this name.
3019
ea1d4aac
GM
30202012-10-23 Glenn Morris <rgm@gnu.org>
3021
3022 * image.el (image-type-from-file-name): If multiple types match,
3023 return the first one that is supported. (Bug#9045)
3024
eda82a31
GM
30252012-10-22 Glenn Morris <rgm@gnu.org>
3026
3027 * image.el (imagemagick-enabled-types): Doc fix.
3028
4f020bec
TA
30292012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3030
3031 * progmodes/which-func.el (which-func-current): The hash-table may have
3032 an explicit nil (bug#12338).
3033
c77d37e2
SM
30342012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * electric.el (electric-pair-delete-selection-self-insert-function):
3037 Rename to electric-pair-will-use-region, return a boolean.
3038 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3039
3040 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3041 (delete-selection-pre-hook): Use use-region-p.
3042 (delete-selection-self-insert-function): Remove.
3043 (self-insert-command): Obey self-insert-uses-region-functions.
3044 (self-insert-iso): Revert to previous setting, since we don't actually
3045 know what that command does.
3046 (delete-selection-self-insert-hooks): Remove.
3047
b1d39ccc
SL
30482012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3049
3050 * delsel.el (delete-selection-helper): New function, extracted from
3051 delete-selection-pre-hook.
3052 (delete-selection-pre-hook): Use it.
3053 (delete-selection-self-insert-function): New function.
3054 (delete-selection-self-insert-hooks): New hook.
3055 (self-insert-command, self-insert-iso): Use it.
3056 * electric.el (electric-pair-syntax): New function, extracted from
3057 electric-pair-post-self-insert-function.
3058 (electric-pair-post-self-insert-function): Use it.
3059 (electric-pair-delete-selection-self-insert-function): New function.
3060 (electric-pair-mode): Require delsel and setup
3061 delete-selection-self-insert-hooks (bug#11520).
3062
045ef729
CY
30632012-10-20 Chong Yidong <cyd@gnu.org>
3064
4c5d08a8
CY
3065 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3066 no changes to show (Bug#12586).
3067
045ef729
CY
3068 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3069 list explicitly (Bug#12571).
3070
3503c798 30712012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3072
b1d39ccc
SL
3073 * progmodes/flymake.el (flymake-create-temp-inplace):
3074 Use file-truename.
79e1997a 3075
2068905b
EZ
30762012-10-20 Eli Zaretskii <eliz@gnu.org>
3077
3078 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3079
4c9e9550
JB
30802012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3081
3082 * calc/calc-units.el (math-extract-units): Properly extract powers
3083 of units.
3084
1a6e7e38
DC
30852012-10-20 Daniel Colascione <dancol@dancol.org>
3086
3087 * frame.el (make-frame): Set x-display-name as we used to in order
3088 to unbreak creating an X11 frame from an Emacs daemon started
3089 without a display.
3090
8e808318
SM
30912012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3094 the same completion-field (bug#12221).
8e808318 3095
fb0104da
MR
30962012-10-19 Martin Rudalics <rudalics@gmx.at>
3097
3098 * emacs-lisp/debug.el (debug): Record height of debugger window
3099 also when debugger will be back (Bug#8789).
3100
8c27235e
CY
31012012-10-18 Chong Yidong <cyd@gnu.org>
3102
3103 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3104 Convert to defcustom.
3105 (gdb-get-source-file): Don't bind pop-up-windows.
3106
3107 * progmodes/gud.el (gud-display-line): Don't specially re-use
3108 other frames for the gdb-mi case (Bug#12648).
3109
90eacf99
SM
31102012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3111
aaf0c300
SM
3112 * emacs-lisp/advice.el: Clean up commentary a bit.
3113 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3114 (byte-code-function-p): Never redefine.
3115
90eacf99
SM
3116 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3117
281c9d2b
GM
31182012-10-18 Glenn Morris <rgm@gnu.org>
3119
40714e3d
GM
3120 * dired.el (dired-sort-toggle): Some ls implementations only allow
3121 a single option string. (Bug#12666)
3122
281c9d2b
GM
3123 * minibuffer.el (completion-cycle-threshold): Doc fix.
3124
b278604e
KH
31252012-10-17 Kenichi Handa <handa@gnu.org>
3126
90eacf99
SM
3127 * international/mule.el (set-keyboard-coding-system):
3128 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3129 Supply TERMINAL arg to set-input-meta-mode.
3130
df171c23 31312012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3132
3133 * wdired.el (wdired-old-marks): New variable.
3134 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3135 (wdired-do-renames): Move point with renamed file and don't lose
3136 mark status (Bug#11795).
3137
e5a94ec4
JL
31382012-10-16 Juri Linkov <juri@jurta.org>
3139
3140 * replace.el (query-replace-help): Mention multi-buffer replacement
3141 keys in the Help message. (Bug#12655)
3142
d18a0d24
CY
31432012-10-15 Chong Yidong <cyd@gnu.org>
3144
3145 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3146
8111f5e6
EZ
31472012-10-14 Eli Zaretskii <eliz@gnu.org>
3148
7b9abf24
EZ
3149 * window.el (display-buffer): Doc fix.
3150
8111f5e6
EZ
3151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3152 Adjust the msft regexp to the output of Studio 2010, and move msft
3153 before edg-1. See the discussion on emacs-devel,
3154 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3155 for the details.
3156
5046ef67
SM
31572012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3158
9760c73c
SM
3159 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3160 (oset): Move uses of object-class-fast macro after its definition.
3161
5046ef67
SM
3162 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3163
0d11ff1c
CY
31642012-10-13 Chong Yidong <cyd@gnu.org>
3165
3166 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3167 enabled, re-enable it (Bug#11963).
3168
88ded8ac
MR
31692012-10-13 Martin Rudalics <rudalics@gmx.at>
3170
3171 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3172 non-nil, restore window configuration (Bug#12623).
3173
bd0ffffd
SM
31742012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3175
06485aa8
SM
3176 * help-fns.el (describe-variable, describe-function-1):
3177 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3178
bd0ffffd
SM
3179 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3180
3a989246
GM
31812012-10-12 Glenn Morris <rgm@gnu.org>
3182
3183 * mail/rmailsum.el (rmail-header-summary):
3184 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3185
55cd00c8
FEG
31862012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3187
bd0ffffd
SM
3188 * progmodes/python.el (python-mode-map):
3189 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3190 (python-nav--up-list): Fix behavior for blocks on the same level.
3191
ac9fc2c7
SM
31922012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3193
d8cc4c00 3194 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3195
5253a5fd
SM
3196 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3197 changes to the format of load-history.
3198
ac9fc2c7
SM
3199 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3200 completion-ignore-case in case that var is buffer-local (bug#12615).
3201
cde44a77
KH
32022012-10-11 Kenichi Handa <handa@gnu.org>
3203
3204 * international/eucjp-ms.el: Re-generated.
3205
4ef4a10d
KH
32062012-10-10 Kenichi Handa <handa@gnu.org>
3207
3208 * select.el (xselect--encode-string): If a coding is specified for
3209 selection, and that is compatible with COMPOUND_TEXT, use it.
3210
9d7f027b
MR
32112012-10-10 Martin Rudalics <rudalics@gmx.at>
3212
3213 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3214 (switch-to-buffer):
3215 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3216
238f3a58
SM
32172012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3220 Don't document nil as a useful value (bug#12583).
3221
1d51f99c
MA
32222012-10-09 Michael Albinus <michael.albinus@gmx.de>
3223
238f3a58
SM
3224 * net/tramp.el (tramp-debug-message):
3225 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3226 (with-tramp-progress-reporter): Rename from
3227 `tramp-with-progress-reporter'.
238f3a58
SM
3228 (with-tramp-file-property, with-tramp-connection-property):
3229 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3230 `with-connection-property', respectively.
3231
3232 * net/tramp-cache.el: Remove `with-file-property' and
3233 `with-connection-property'.
3234
3235 * net/tramp.el:
3236 * net/tramp-gvfs.el:
3237 * net/tramp-sh.el:
3238 * net/tramp-smb.el: Adapt callees.
3239
3240 * net/trampver.el: Update release number.
3241
26b77251
GM
32422012-10-09 Glenn Morris <rgm@gnu.org>
3243
9a5f296f
GM
3244 * w32-fns.el (set-message-beep):
3245 * term/w32-win.el (set-message-beep): Update declarations.
3246
94c66ce5
SM
32472012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3248
10766e9e
SM
3249 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3250 (mode-line-widen, mode-line-input-method-map)
3251 (mode-line-coding-system-map, mode-line-remote)
3252 (mode-line-unbury-buffer, mode-line-bury-buffer)
3253 (mode-line-next-buffer, mode-line-previous-buffer):
3254 Replace save-selected-window+select-window => with-selected-window.
3255
f754db08
SM
3256 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3257 * progmodes/cc-vars.el (bq-process): Remove, unused.
3258
94c66ce5
SM
3259 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3260
a4ff7fe1
FEG
32612012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3262
3263 Implemented `backward-up-list'-like navigation.
3264 * progmodes/python.el (python-nav-up-list)
3265 (python-nav-backward-up-list): New functions.
3266 (python-mode-map): Define substitute key for backward-up-list to
3267 python-nav-backward-up-list.
3268
24517d82
FEG
32692012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3270
3271 * progmodes/python.el (python-fill-paragraph): Rename from
3272 python-fill-paragraph-function. Fixed fill-paragraph for
3273 decorators (Bug#12605).
3274
51867ae2
FEG
32752012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3276
3277 * progmodes/python.el (python-shell-output-filter): Handle extra
3278 carriage return in OSX (Bug#12409).
3279
a5b773c4
FEG
32802012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3281
3282 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3283 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3284 (python-syntax-propertize-function): Use it.
3285 (python-shell-output-syntax-table): New var.
3286 (inferior-python-mode): Prevent unbalanced parens/quotes from
3287 previous output mess with current input context.
3288
13373538
JB
32892012-10-08 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3292 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3293
775a132d
MA
32942012-10-08 Michael Albinus <michael.albinus@gmx.de>
3295
3296 * ffap.el (ffap-replace-file-component): Support Tramp file name
3297 syntax, not only ange-ftp's one.
3298
3ab44929
GM
32992012-10-08 Glenn Morris <rgm@gnu.org>
3300
57f1dee4
GM
3301 * cus-start.el (message-log-max): Set :version.
3302
3ab44929
GM
3303 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3304
6a088630
MR
33052012-10-08 Martin Rudalics <rudalics@gmx.at>
3306
3307 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3308 the minibuffer window (Bug#10851).
3309
8dbce54c
FEG
33102012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3311
3312 Enhancements on forward-sexp movement.
3313 * progmodes/python.el (python-nav-beginning-of-statement)
3314 (python-nav-end-of-statement): Return point-marker.
3315 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3316 (python-info-current-symbol)
3317 (python-info-statement-starts-block-p): Rename from
3318 python-info-beginning-of-block-p.
3319 (python-info-statement-ends-block-p): Rename from
3320 python-info-end-of-block-p.
3321 (python-info-beginning-of-statement-p)
3322 (python-info-end-of-statement-p)
3323 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3324 New functions.
3325
5acd2b3e
SM
33262012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3329 frame-selected-windows.
3330
e08348a0
DC
33312012-10-08 Daniel Colascione <dancol@dancol.org>
3332
3333 * battery.el (battery-status-function): Check for
3334 w32-battery-status itself, not system-time windows-nt.
3335
3336 * frame.el: Require cl-lib.
3337 (display-format-alist): New variable mapping frame types to
3338 functions that initialize them.
3339 (window-system-for-display): New function: interprets
3340 display-format-alist.
3341 (make-frame-on-display): Remove existing display-selection logic
3342 and just forward to make-frame, which will now DTRT.
3343 (make-frame): Restructure to use window-system-for-display to
3344 figure out how to create a frame on a given display.
3345 (display-mouse-p): Look for frame-type w32, not a particular
3346 system-type.
3347
3348 * loadup.el: Load w32 lisp code when we have the w32 feature.
3349
3350 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3351 system-type windows-nt.
3352
3353 * server.el (server-create-window-system-frame): Look for window
3354 type.
3355 (server-proces-filter): Only force a window system when windows-nt
3356 _and_ w32. Explain why.
3357
3358 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3359 of window systems we configure for the mode.
3360
3361 * startup.el (command-line): Mark window system is initialized
3362 after we've done it.
3363
3364 * common-win.el (x-select-text): Look for w32, not windows-nt.
3365
3366 * ns-win.el: Require cl-lib. Add ourselves to
3367 display-format-alist.
3368 (ns-initialize-window-system): Assert we're not initialized twice.
3369
3370 * w32-win.el: Enable lexical binding; require cl-lib; add
3371 ourselves to display-format-alist.
3372 (w32-handle-dropped-file): Convert incoming dropped files from
3373 Windows paths to Cygwin ones before passing them on to the rest of
3374 Emacs.
3375 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3376 (w32-initialize-window-system): Assert we're not initialized twice.
3377
3378 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3379 (x-initialize-window-system): Assert we're not initialized twice.
3380
3381 * w32-common-fns.el: New File.
3382 (w32-version, w32-using-nt, w32-get-clipboard-data)
3383 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3384 (w32-charset-info-alist, x-last-selected, text)
3385 (x-get-selection-value, x-selection-value): Move here.
3386
3387 * w32-fns.el: Require w32-common-fns.
3388 (w32-version, w32-using-nt, w32-get-clipboard-data)
3389 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3390 (w32-charset-info-alist, x-last-selected, text)
3391 (x-get-selection-value, x-selection-value): Move to
3392 w32-common-fns.
3393
3394 * w32-vars.el:
3395 (w32-allow-system-shell, w32-system-shells): Define only in
3396 non-cygwin case.
3397
795b1482
SM
33982012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3401 (read-passwd): Remove a few more potential sources of leaks.
3402
f27c99dc
FEG
34032012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3404
3405 * progmodes/python.el (inferior-python-mode)
795b1482 3406 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3407 variables copied from parent buffer.
3408
fcacb558
JD
34092012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3410
3411 * term/ns-win.el (ns-read-file-name): Update declaration to match
3412 nsfns.m.
3413 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3414 it is set when font is acted upon.
3415
be0d5bae
FEG
34162012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3417
3418 Enhancements to indentation.
3419 * progmodes/python.el (python-indent-context): Give priority to
3420 inside-string context. Make comments indentation markers.
3421 (python-indent-region): Do not mess with strings, unless it's the
3422 enclosing set of quotes.
3423
13af0d10
SM
34242012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3425
662a9d0e
SM
3426 * window.el (internal--before-save-selected-window)
3427 (internal--after-save-selected-window): New functions extracted from
3428 save-selected-window. Make sure we return the `alist' we construct.
3429 (save-selected-window): Use them.
3430
3431 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3432 Use with-selected-window.
3433
13af0d10
SM
3434 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3435 forms that define macros (bug#12593).
3436
6aa75fb6
KH
34372012-10-07 Kenichi Handa <handa@gnu.org>
3438
13af0d10
SM
3439 * international/mule-conf.el (compound-text-with-extensions):
3440 Add :mime-charset property as x-ctext.
6aa75fb6 3441
78d876b9
SM
34422012-10-07 Stefan Merten <smerten@oekonux.de>
3443
3444 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3445 (rst-indent-literal-normal, rst-indent-literal-minimized)
3446 (rst-indent-comment): Correct :version tag.
557337e9 3447 (rst-official-cvs-rev): Correct version string.
78d876b9 3448
99a1e701
GM
34492012-10-07 Glenn Morris <rgm@gnu.org>
3450
3451 * mail/rmailmm.el (rmail-mime-process-multipart):
3452 Do not confuse a multipart message with an epilogue
3453 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3454
08f18c3d
FEG
34552012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3456
3457 Fix shell output retrieval and comint-prompt-regexp init.
3458 * progmodes/python.el (inferior-python-mode):
3459 (python-shell-make-comint): Fix initialization of
3460 comint-prompt-regexp from copied file local variables.
3461 (python-shell-fetched-lines): Remove var.
3462 (python-shell-output-filter-in-progress): Rename from
3463 python-shell-fetch-lines-in-progress.
3464 (python-shell-output-filter-buffer): Rename from
3465 python-shell-fetch-lines-string.
3466 (python-shell-fetch-lines-filter): Delete function.
3467 (python-shell-output-filter): New function.
3468 (python-shell-send-string-no-output): Use them.
3469
82ed3ab4
GM
34702012-10-07 Glenn Morris <rgm@gnu.org>
3471
1595ecfa
GM
3472 * hi-lock.el (hi-lock-process-phrase):
3473 Try to make it less fragile. (Bug#7161)
3474
82ed3ab4
GM
3475 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3476
f1f4dba0
GM
34772012-10-06 Glenn Morris <rgm@gnu.org>
3478
addc11ed 3479 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3480 non-existent mode `help'.
3481 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3482
460042b8
GM
3483 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3484 (reftex-create-bibtex-footer): Fix custom types.
3485
67667c70
GM
3486 * progmodes/sh-script.el (sh-indent-after-continuation):
3487 Add explicit :group.
3488
18dec750
GM
3489 * textmodes/rst.el (rst-preferred-decorations)
3490 (rst-shift-basic-offset): Clarify obsolescence versions.
3491
d1a1c7e6
GM
3492 * profiler.el (profiler): Add missing group :version tag.
3493 * avoid.el (mouse-avoidance-banish-position):
3494 * proced.el (proced-renice-command):
3495 * calc/calc.el (calc-ensure-consistent-units):
3496 * calendar/icalendar.el (icalendar-import-format-uid):
3497 * net/tramp.el (tramp-save-ad-hoc-proxies):
3498 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3499 * progmodes/flymake.el (flymake-error-bitmap)
3500 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3501 * progmodes/sh-script.el (sh-indent-after-continuation):
3502 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3503 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3504 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3505 (vhdl-array-index-record-field-in-sensitivity-list)
3506 (vhdl-indent-comment-like-next-code-line):
3507 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3508 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3509 (reftex-cite-key-separator, reftex-create-bibtex-header)
3510 (reftex-create-bibtex-footer):
3511 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3512 (rst-indent-literal-normal, rst-indent-literal-minimized)
3513 (rst-indent-comment): Add missing custom :version tags.
3514
ef35abb4
GM
3515 * calendar/timeclock.el (timeclock-modeline-display):
3516 Add missing obsolete alias for renamed user option.
3517
d1aae614
GM
3518 * strokes.el (strokes-modeline-string):
3519 * emulation/crisp.el (crisp-mode-modeline-string):
3520 * eshell/esh-mode.el (eshell-status-in-modeline):
3521 Aliases to defcustoms must come before the defcustom.
3522
f1f4dba0
GM
3523 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3524 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3525 (cal-tex-cursor-week-monday): Doc fixes.
3526 (cal-tex-cursor-week2-summary): Doc fix.
3527 Rename from cal-tex-cursor-week-at-a-glance.
3528
3529 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3530 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3531
3532 * calendar/calendar.el (calendar-mode-map):
3533 Add cal-tex-cursor-week2-summary.
3534
d39109c3
SM
35352012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3536
685f87b0
SM
3537 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3538
d39109c3
SM
3539 * subr.el (read-passwd-map): New var.
3540 (read-passwd): Use `read-string' again.
3541 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3542
5694896d
J
35432012-10-06 Jambunathan K <kjambunathan@gmail.com>
3544
3545 * register.el (append-to-register, prepend-to-register):
3546 Deactivate mark, as does `copy-to-register' (bug#12389).
3547
9414dd8d
CY
35482012-10-06 Chong Yidong <cyd@gnu.org>
3549
3550 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3551
2b89bca4
KH
35522012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3553
3554 * international/characters.el: Fix simple mistake ((car chars) ->
3555 elt), delete duplicated code.
3556
d5acb99a
GM
35572012-10-06 Glenn Morris <rgm@gnu.org>
3558
3559 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3560
123ec157
JS
35612012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3562
3563 * color.el (color-hsl-to-rgb): Fix incorrect results for
3564 small and large hue values. (Bug#12559)
3565
7fa36ccb
FEG
35662012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3567
3568 Enhancements to docstring formatting when filling paragraphs.
3569 * progmodes/python.el (python-fill-docstring-style): Rename from
3570 python-fill-string-style. Added new style.
3571 (python-fill-string): Use new style. Better checks for
3572 docstrings.
3573
d8788e1e
GM
35742012-10-05 Glenn Morris <rgm@gnu.org>
3575
204f3953
GM
3576 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3577
d8788e1e
GM
3578 * color.el (color-name-to-rgb, color-rgb-to-hex)
3579 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3580 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3581 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3582 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3583
8d956cef
GM
3584 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3585
e8757f09 35862012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3587
3588 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3589 to get the correct size across symlinks.
3590
e8757f09
GM
3591 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3592
0e2ae83d
JL
35932012-10-04 Juri Linkov <juri@jurta.org>
3594
3595 * replace.el (query-replace-interactive): Declare obsolete.
3596 (query-replace-read-from): Add the last incremental search string
3597 to the list of default values accessible via M-n.
3598 (map-query-replace-regexp): Use `read-regexp'.
3599 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3600 (map-query-replace-regexp, replace-string, replace-regexp):
3601 Fix docstrings to replace mentions of `query-replace-interactive'
3602 with alternatives. (Bug#12526)
3603
93cacb6d
JL
36042012-10-04 Juri Linkov <juri@jurta.org>
3605
3606 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3607 (dired-pop-to-buffer): Declare obsolete.
3608 (dired-mark-pop-up): Doc fix.
3609
fc345011
FEG
36102012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3611
3612 Allow user to set docstring style for fill-paragraph.
3613 * progmodes/python.el
3614 (python-fill-comment-function, python-fill-string-function)
3615 (python-fill-decorator-function, python-fill-paren-function):
3616 Remove :safe for defcustoms.
3617 (python-fill-string-style): New defcustom
5694896d 3618 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3619 (python-fill-string): Honor python-fill-string-style settings.
3620
6bab5d8b
MR
36212012-10-04 Martin Rudalics <rudalics@gmx.at>
3622
3623 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3624 after setting its buffer (Bug#10805).
3625
a1a9f411
FEG
36262012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3627
3628 Fix cornercase for string syntax.
3629 * progmodes/python.el (python-syntax-propertize-function):
3630 Simplify and enhance the regexp for unescaped quotes. Now it also
3631 matches quotes in weird situations like the single quote in
3632 "something\"'".
3633 (python-syntax-stringify): Simplify num-quotes detecting code.
3634
05e153a6
GM
36352012-10-03 Glenn Morris <rgm@gnu.org>
3636
3637 * help-macro.el (three-step-help):
3638 Revert 2012-09-29 change. (Bug#12567)
3639
2e566ecb
MR
36402012-10-03 Martin Rudalics <rudalics@gmx.at>
3641
96ef9ccd
MR
3642 * menu-bar.el (kill-this-buffer): Don't do anything when
3643 `menu-frame' is not alive or visible (Bug#8184).
3644
2e566ecb
MR
3645 * emacs-lisp/debug.el (debug): When quitting the debugger window
3646 restore current buffer (Bug#12502).
3647
a96e1cb7
CY
36482012-10-02 Chong Yidong <cyd@gnu.org>
3649
5694896d
J
3650 * progmodes/hideif.el (hif-lookup, hif-defined):
3651 Handle semantic-c-takeover-hideif.
a96e1cb7 3652
b3ecad33
PE
36532012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3654
3655 Change sampling interval units from ms to ns.
3656 * profiler.el (profiler-sampling-interval): Change units
3657 from ms to ns, multiplying the default by 1000000 so that
3658 it remains 1 ms.
3659 (profiler-report-cpu-line-format): Give enough room for
3660 the maximum counters on 64-bit hosts.
3661 (profiler-report-render-calltree-1): Call them "CPU samples",
3662 not "Time (ms)", since they are not milliseconds now (and
3663 never really were).
3664
8cb51b66 36652012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3666
5694896d
J
3667 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3668 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3669
fd795bf4
CY
36702012-10-02 Chong Yidong <cyd@gnu.org>
3671
3672 * emacs-lisp/eieio.el: Restore Version header.
3673
fe0a74f9
SM
36742012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3675
6be9197e
SM
3676 * vc/diff-mode.el (diff--auto-refine-data): New var.
3677 (diff-hunk): Use it to delay refinement.
3678 (diff-mode): Remove overlays when we turn off font-lock.
3679
18486139
SM
3680 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3681 (table-initialize-table-fixed-width-mode)
3682 (table-set-table-fixed-width-mode): Remove functions.
3683 (table-command-list): Move initialization into declaration.
3684 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3685 (table-with-cache-buffer): Use `declare'.
3686 (table-span-cell): Simplify via CSE.
3687 (table-fixed-width-mode): Use define-minor-mode.
3688 (table-call-interactively, table-funcall, table-apply): Remove.
3689 (table-function): New function, to replace them.
3690
d83ef976
SM
3691 * bookmark.el (bookmark-search-pattern): Remove var.
3692 (bookmark-read-search-input): Remove function.
3693 (bookmark-bmenu-search): Reimplement using a minibuffer.
3694
cd386662
SM
3695 * faces.el (modeline): Remove obsolete face name.
3696
fe0a74f9
SM
3697 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3698 and give a non-nil default value.
3699 (add-change-log-entry): Simplify accordingly.
3700
9f7b98f8
DG
37012012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3702
3703 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3704 (vc-git-log-edit-toggle-amend): New function.
3705 (vc-git-log-edit-toggle-signoff): New function.
3706 (vc-git-log-edit-mode): New major mode.
3707 (vc-git-log-edit-mode-map): Keymap for it.
3708 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3709
3710 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3711 header names.
3712 (log-edit-toggle-header): New function.
3713 (log-edit-extract-headers): Accept function values in HEADERS alist.
3714
62a81506
CY
37152012-10-01 David Engster <deng@randomsample.de>
3716
3717 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3718 from symbol property and change message to be more consistent with
3719 Emacs proper.
3720 (eieio-describe-generic): Add filename for each implementation.
3721 Fix indices for generic and normal methods.
3722 (eieio-method-def, eieio-class-def): New buttons.
3723 (eieio-help-find-method-definition)
3724 (eieio-help-find-class-definition): New functions.
3725 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3726 class, constructor and method definitions.
3727
3728 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3729 information in symbol property.
3730 (scoped-class): Remove.
3731 (eieio-slot-name-index, call-next-method): Check if it is bound.
3732
37332012-10-01 Leo P. White <lpw25@cam.ac.uk>
3734
3735 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3736 (eieio-custom-mode): New major mode.
3737 (eieio-customize-object): Use it.
3738
37392012-10-01 Eric Ludlam <zappo@gnu.org>
3740
3741 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3742 specifying the expected class, and whether subclassing is allowed.
3743 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3744 (eieio-persistent-validate/fix-slot-value)
3745 (eieio-persistent-slot-type-is-class-p): New functions.
3746 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3747
3748 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3749 Stop using unused publd variable.
3750
3751 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3752 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3753 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3754 (eieio-speedbar-handle-click): Do not specify a class for the
3755 method. Fixes method invocation order problems with EDE.
3756
375e49d4
SM
37572012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3760 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3761
16ce6ccd
KF
37622012-10-01 Karl Fogel <kfogel@red-bean.com>
3763
3764 * bookmark.el (bookmark-version-control): Give tags in the
3765 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3766 (bookmark-write-file): Bind `print-circle' to `t' to allow
3767 circular custom bookmark types. (Bug#12503)
16ce6ccd 3768
19e54a4d
PE
37692012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3770
86ec63ba
PE
3771 Revert the FOLLOW-SYMLINKS change for file-attributes.
3772 * files.el (remote-file-name-inhibit-cache, after-find-file):
3773 * time.el (display-time-file-nonempty-p): Undo last change.
3774
19e54a4d
PE
3775 * profiler.el (profiler-sampling-interval): Change default back to 1.
3776 See Stefan Monnier in
3777 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3778
0478776b
FEG
37792012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3780
3781 Shell output catching a la gud-gdb.
3782 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3783 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3784 New Vars.
0478776b
FEG
3785 (python-shell-fetch-lines-filter): New function.
3786 (python-shell-send-string-no-output): Use them.
3787
c22bac2c
TM
37882012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3789
3790 * profiler.el (profiler-sampling-interval): Rename from
3791 profiler-sample-interval.
3792 (profiler-sampling-interval): Default to 10.
3793 (profiler-find-profile): New command (was profiler-find-log).
3794 (profiler-find-profile-other-window): New command.
3795 (profiler-find-profile-other-frame): New command.
3796 (profiler-profile): Introduce API-level data structure.
3797
e7a2937b
PE
37982012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3799
3800 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3801 * files.el (remote-file-name-inhibit-cache):
3802 * time.el (display-time-file-nonempty-p): Use it.
3803 * files.el (after-find-file): Don't chase links before calling
3804 file-exists-p, as file-exists-p already does the right thing.
3805
4f595e15
RA
38062012-09-30 Ralf Angeli <angeli@caeruleus.net>
3807
3808 Merge from standalone RefTeX repository.
3809
3810 The following ChangeLog entries are shortened versions of the
3811 original ones with file paths adapted. A not so strongly edited
3812 version of the original ChangeLog can be found in the commit log.
3813
3814 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3815 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3816 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3817
3818 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3819 that entries with whitespace at various places are found.
3820 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3821 Include @String definitions in the resulting bib file. Add header
3822 and footer defined in `reftex-create-bibtex-header' and
3823 `reftex-create-bibtex-footer'.
3824 (reftex-do-citation): Make it possible again to insert
3825 non-existent entries. Save match data when asking for optional
3826 arguments. Return all keys, not just the first one.
3827 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3828 all citations in the same line.
3829 (reftex-parse-bibtex-entry): Accept additional optional argument
3830 `raw' and keep quotes or braces if it is non-nil. Match fields
3831 containing hyphens besides word constituents.
3832 (reftex-get-string-refs): New function.
3833 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3834 and ask if it should be reread in case it did.
3835 (reftex-pop-to-bibtex-entry)
3836 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3837 entries with spaces or tabs in front of arguments.
3838 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3839 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3840 Match entries containing numbers and symbol constituents.
3841 (reftex-do-citation, reftex-figure-out-cite-format):
3842 Use `reftex-cite-key-separator'.
4f595e15
RA
3843
3844 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3845 (reftex-mouse-view-crossref): Explain why point is set.
3846
3847 * textmodes/reftex-global.el: Whitespace changes.
3848
3849 * textmodes/reftex-index.el: Move provide statement to end of
3850 file.
3851 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3852 (reftex-index-visit-phrases-buffer): Set marker when visiting
3853 buffer. This allows for returning from the phrases file to the
3854 file one was just editing instead of the file where the last
3855 phrases was added from.
3856 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3857 punctuation syntax as it usually is not used as string quote in
3858 TeX-related modes and may occur unmatched. The change also
3859 prevents fontification of quoted content.
3860 (reftex-index-phrases-mode): Use it.
3861
375e49d4
SM
3862 * textmodes/reftex-parse.el (reftex-parse-from-file):
3863 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3864 (reftex-parse-from-file): Use beginning of match instead of end as
3865 bound.
3866
3867 * textmodes/reftex-ref.el: Adapt creation of
3868 `reftex-<package>-<macro>' functions to new structure of
3869 `reftex-ref-style-alist'.
375e49d4
SM
3870 (reftex-reference): Use `reftex-ref-style-list' function.
3871 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3872 reference macro if `reftex-ref-macro-prompt' is non-nil.
3873 (reftex-reference): Pass refstyle to `reftex-format-special'.
3874 Determine reference macro by looking at
375e49d4
SM
3875 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3876 Use only one special format function.
4f595e15
RA
3877 (reftex-varioref-vref, reftex-fancyref-fref)
3878 (reftex-fancyref-Fref): Remove definitions. The functions are now
3879 generated from `reftex-ref-style-alist'.
3880 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3881 Remove.
3882 (reftex-format-special): New function.
3883
3884 * textmodes/reftex-sel.el
3885 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3886 of `reftex-ref-style-alist'. Remove code for testing macro type.
3887 (reftex-select-toggle-varioref)
3888 (reftex-select-toggle-fancyref): Remove.
3889 (reftex-select-cycle-ref-style-internal)
3890 (reftex-select-cycle-ref-style-forward)
3891 (reftex-select-cycle-ref-style-backward): New functions.
3892 (reftex-select-label-map): Use `v' and `V' for general cycling
3893 through reference styles. Add `p' for switching between number
3894 and page reference types.
3895
375e49d4
SM
3896 * textmodes/reftex-toc.el (reftex-re-enlarge):
3897 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3898 the horizontal version throws an error even if the parameter is 0.
3899
3900 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3901 (reftex-plug-into-AUCTeX): Doc fix.
3902 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3903 string. Adapt to new name.
3904 (reftex-ref-style-alist): Change structure so that it is not
3905 possible to use multiple different package names within a style.
375e49d4
SM
3906 Remove the symbols for symbols for macro type distinction.
3907 Add characters for macro selection.
4f595e15
RA
3908 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3909 (reftex-create-bibtex-footer): New variables.
3910 (reftex-format-ref-function): Mention third argument of special
3911 format function.
375e49d4
SM
3912 (reftex-ref-style-alist, reftex-ref-style-default-list):
3913 New variables.
4f595e15
RA
3914 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3915 to new implementation. Mark as obsolete. Add compatibility code
3916 for honoring the variable values in case they are set.
375e49d4
SM
3917 (reftex-cite-format-builtin, reftex-bibliography-commands):
3918 Add support for ConTeXt.
3919 (reftex-format-ref-function, reftex-format-cite-function):
3920 Fix custom type.
4f595e15
RA
3921 (reftex-cite-key-separator): New variable.
3922
3923 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3924 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3925 `reftex-syntax-table' because parens have to retain their paren
3926 syntax in order for parsing of BibTeX entries like @book(...) to
3927 work.
3928 (reftex-in-comment): Do not error out if `comment-start-skip' is
3929 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3930 (reftex-tie-multifile-symbols): Add doc string.
3931 Initialize `reftex-ref-style-list'.
4f595e15
RA
3932 (reftex-untie-multifile-symbols): Add doc string.
3933 (reftex-add-index-macros): Doc fix.
3934 (reftex-ref-style-activate, reftex-ref-style-toggle)
3935 (reftex-ref-style-list): New functions.
3936 (reftex-mode-menu): Use them. Adapt to new structure of
3937 `reftex-ref-style-alist'.
3938 (reftex-select-with-char): Kill the RefTeX Select buffer when
3939 done.
3940 (reftex-remove-if): New function.
3941 (reftex-erase-all-selection-and-index-buffers)
3942 (reftex-mode-menu): Reference styles are now computed from
3943 `reftex-ref-style-alist'. Fix typo.
3944 (reftex-report-bug): New function.
3945 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3946 algorithms with O(n log n). Introduce optional argument SORT (not
3947 yet used).
3948
440ba395
FEG
39492012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3950
3951 Enhancements for triple-quote string syntax.
375e49d4
SM
3952 * progmodes/python.el (python-syntax-propertize-function):
3953 Match both quote cases in one regexp.
440ba395
FEG
3954 (python-syntax-stringify): Handle matches properly.
3955
4c478e6b
JL
39562012-09-30 Juri Linkov <juri@jurta.org>
3957
3958 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3959 to nil around the call to `insert' to prevent
4c478e6b
JL
3960 directory time modification by lock_file. (Bug#2295)
3961 * tar-mode.el (tar-summarize-buffer): Idem.
3962
d80d54b2
JL
39632012-09-30 Juri Linkov <juri@jurta.org>
3964
3965 * facemenu.el (list-colors-sort): Add option "Luminance".
3966 (list-colors-sort-key): Implement it.
3967
3968 * vc/diff-mode.el (diff-refine-removed):
3969 * vc/ediff-init.el (ediff-fine-diff-A):
3970 * vc/smerge-mode.el (smerge-refined-removed):
3971 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3972
d7e642cc
JD
39732012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3974
3975 * term/ns-win.el (x-file-dialog): New function.
3976
ee41332b
JB
39772012-09-30 Juanma Barranquero <lekktu@gmail.com>
3978
3979 * ido.el (ido-max-directory-size): Default to nil; the current
3980 default is small for POSIX systems, and impractical on Windows 7
3981 now that lstat returns directory sizes for NTFS.
3982
5938d519
MR
39832012-09-30 Martin Rudalics <rudalics@gmx.at>
3984
3985 In buffer display functions handle window-height/window-width
3986 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3987 * window.el (window--display-buffer): New argument ALIST.
3988 Obey window-height and window-width alist entries.
3989 (window--try-to-split-window): New argument ALIST.
3990 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3991 changed and window-combination-limit equals `window-size'.
3992 (display-buffer-in-atom-window)
3993 (display-buffer-in-major-side-window)
3994 (display-buffer-in-side-window, display-buffer-same-window)
3995 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3996 (display-buffer-pop-up-window, display-buffer-below-selected)
3997 (display-buffer-at-bottom, display-buffer-in-previous-window)
3998 (display-buffer-use-some-window): Adjust all callers of
3999 window--display-buffer and window--try-to-split-window.
4000 (fit-frame-to-buffer): New option.
4001 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4002 is non-nil.
4003 (display-buffer-in-major-side-window): Evaluate window-height /
4004 window-width alist entries.
4005
4006 * help.el (temp-buffer-resize-frames)
4007 (temp-buffer-resize-regexps): Remove options.
4008 (temp-buffer-resize-mode): Adjust doc-string.
4009 (resize-temp-buffer-window): Don't consult
4010 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4011 temp-buffer-resize-frames.
4012
375e49d4
SM
4013 * dired.el (dired-mark-pop-up):
4014 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4015 entry.
4016
c4c0c2df
CY
40172012-09-30 Chong Yidong <cyd@gnu.org>
4018
48de8b12
CY
4019 * server.el (server-host): Document the security implications.
4020 (server-auth-key): Doc fix.
4021
4022 * startup.el (initial-buffer-choice): Doc fix.
4023
4024 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4025
a97dc380
CY
4026 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4027 restriction change.
4028
d39d3c8e
CY
4029 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4030
c4c0c2df
CY
4031 * help-fns.el (help-fns--obsolete): Fix last change.
4032
98a5e33b
SM
40332012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4034
34cf6f39
SM
4035 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4036 (minor-mode-map-alist): Remove redundant code.
4037
e01c13fe
SM
4038 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4039 visited in a buffer.
4040 (cvs-insert-visited-file): New function.
4041 (find-file-hook): Use it.
4042
4043 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4044
02661b3a
SM
4045 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4046 chose face.
4047 (log-edit-empty-buffer-p): Don't require a space after a header.
4048
43711d4b
SM
4049 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4050
38a30d64
SM
4051 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4052
4ffb41a9
SM
4053 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4054 a proper minor-mode.
4055
98a5e33b
SM
4056 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4057
de82e29b
GM
40582012-09-29 Glenn Morris <rgm@gnu.org>
4059
5cc2e639
GM
4060 * winner.el (winner-mode): Remove variable (let define-minor-mode
4061 handle it).
4062 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4063 Doc fixes.
4064 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4065 (winner-mode): Use define-minor-mode.
4066
7bd302eb
GM
4067 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4068 the full definition in loaddefs, rather than duplicating it.
4069
2923922f 4070 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4071
0e3e4156
GM
4072 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4073 (inferior-lisp-program, inferior-lisp-load-command)
4074 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4075 No need to autoload defcustoms.
0e3e4156 4076
de82e29b
GM
4077 * hippie-exp.el (hippie-expand-try-functions-list)
4078 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4079 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4080 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4081 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4082 * progmodes/vhdl-mode.el (vhdl-line-expand):
4083 Explicitly load hippie-exp, so it does not get autoloaded
4084 while hippie-expand-try-functions-list is let-bound.
4085
e60b51ab
GM
40862012-09-28 Glenn Morris <rgm@gnu.org>
4087
277f0cfa
GM
4088 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4089
e60b51ab
GM
4090 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4091 Only "cl.el" counts as cl these days.
4092
53baf48a
JL
40932012-09-28 Juri Linkov <juri@jurta.org>
4094
4095 Display archive errors in the echo area instead of inserting
4096 to the file buffer.
4097
4098 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4099 to STDERR-TEST that can be a regexp matching a successful output.
4100 Create a temporary file and redirect stderr to it. Search for
4101 STDERR-TEST in the stderr output and display it in the echo area
4102 if no match is found.
4103 (archive-extract-by-file): New function like
4104 `archive-extract-by-stdout' but extracting archives to files
4105 and looking for successful matches in stdout. Function body is
4106 mostly copied from `archive-rar-extract'.
4107 (archive-rar-extract): Use `archive-extract-by-file'.
4108 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4109
9c1228c3
LL
41102012-09-28 Leo Liu <sdl.web@gmail.com>
4111
375e49d4
SM
4112 * pcomplete.el (pcomplete-show-completions):
4113 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4114
9c1228c3
LL
4115 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4116
7f457c06
SM
41172012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4118
3df749b0
SM
4119 * type-break.el: Use lexical-binding.
4120 (type-break-mode): Use define-minor-mode.
4121
7f457c06
SM
4122 * emacs-lisp/pcase.el (pcase--mark-used): New.
4123 (pcase--u1): Use it (bug#12512).
4124
4125 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4126 in load-history with the right file name.
4127
c00ebc98
TH
41282012-09-28 Tassilo Horn <tsdh@gnu.org>
4129
4130 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4131 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4132 (doc-view-get-bounding-box): Make bounding box slicing work for
4133 ODF and DVI documents.
4134
96fb7170
GM
41352012-09-28 Glenn Morris <rgm@gnu.org>
4136
4137 * type-break.el (type-break-mode, type-break-interval)
4138 (type-break-good-rest-interval, type-break-keystroke-threshold):
4139 No need to autoload.
4140 (type-break-good-rest-interval, type-break-keystroke-threshold):
4141 Add :set-after.
4142
5bc93c67
CY
41432012-09-28 Chong Yidong <cyd@gnu.org>
4144
4145 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4146 Add :version tag.
4147
9cad61d6
SM
41482012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4149
e28e67b3 4150 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4151
daee954c
GM
41522012-09-27 Glenn Morris <rgm@gnu.org>
4153
a88324d4
GM
4154 * faces.el (x-display-name): Declare (for without-x builds).
4155
8e5064e5
GM
4156 * linum.el (linum-format): Don't autoload it. Improve :type.
4157
cc1783c2
GM
4158 * progmodes/tcl.el: Don't require outline when compiling.
4159 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4160 * textmodes/sgml-mode.el: Don't require outline when compiling.
4161 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4162
48c339f2
GM
4163 * term.el (term-ansi-reset):
4164 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4165
daee954c
GM
4166 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4167 files for RCS and SCCS. (Bug#9781)
4168
b7f42161
CY
41692012-09-27 Chong Yidong <cyd@gnu.org>
4170
4171 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4172 change; value should be t.
4173
a2e770db
SM
41742012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4175
83600dc8
SM
4176 * image-mode.el: Use lexical-binding.
4177 (image-mode-winprops): Use t to stand for the window of
4178 a buffer that's not displayed.
4179 * doc-view.el (doc-view-new-window-function): Handle the new
4180 t in winprops.
4181 (doc-view-enlarge): Make it a real nop if the size is not changed.
4182 (doc-view-display): Handle the case where the buffer is not (yet?)
4183 displayed in any window.
4184 (doc-view-saved-settings): New var.
4185 (doc-view-mode): Use it.
4186 (doc-view-fallback-mode): Set it.
4187
a2e770db
SM
4188 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4189 Set lexical-binding.
4190 (minibuffer-eldef-shorten-default): New var.
4191 (minibuffer-default-in-prompt-regexps): Use it for new default.
4192 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4193
e3b60857
JB
41942012-09-26 Juanma Barranquero <lekktu@gmail.com>
4195
4196 * international/uni-bidi.el:
4197 * international/uni-category.el:
4198 * international/uni-name.el:
4199 * international/uni-numeric.el: Regenerate.
4200
3a880af4
SM
42012012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4202 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * profiler.el: New file.
4205
07b1a5fb
SM
42062012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4209 (testcover-reinstrument): Simplify with CSE.
4210
42019c2e
JB
42112012-09-26 Juanma Barranquero <lekktu@gmail.com>
4212
4213 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4214
179f044b
WS
42152012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4216
4217 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4218 (verilog-auto-input, verilog-auto-insert-lisp)
4219 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4220 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4221 (verilog-auto-unused, verilog-auto-wire)
4222 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4223 newline. Reported by Andrew Jones.
4224 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4225 Reported by Brad Dobbie.
07b1a5fb
SM
4226 (verilog-batch-delete-trailing-whitespace):
4227 Create verilog-batch-delete-trailing-whitespace.
4228 Reported by Brad Dobbie.
179f044b
WS
4229 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4230 parameters from another module. Reported by Dan Katz.
4231 (verilog-auto, verilog-auto-assign-modport)
4232 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4233 AUTOINOUTMODPORT for UVM interface module shell generation.
4234 Reported by Brad Dobbie.
4235 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4236 standard behavior.
4237 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4238 Reported by Matt Martin.
4239
9c52dd5a
MR
42402012-09-25 Martin Rudalics <rudalics@gmx.at>
4241
4242 * window.el (window--resize-child-windows): When resizing child
4243 windows proportionally, process them in reverse order to
4244 preserve the "when splitting a window the new one gets the odd
4245 line" behavior.
4246 (window--resize-root-window-vertically): When resizing the
4247 minibuffer window try to affect only windows at the bottom of the
4248 frame. (Bug#12419)
4249
863666eb
CY
42502012-09-25 Chong Yidong <cyd@gnu.org>
4251
4252 * subr.el (declare): Doc fix.
4253
4254 * help-fns.el (help-fns--obsolete): Handle macros properly.
4255
59f7af81
CY
42562012-09-25 Chong Yidong <cyd@gnu.org>
4257
4258 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4259 this function obsolete.
4260
4261 * calendar/cal-x.el (calendar-two-frame-setup)
4262 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4263 * calendar/calendar.el (american-calendar, european-calendar)
4264 (calendar-for-loop):
4265 * comint.el (comint-dynamic-simple-complete)
4266 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4267 * desktop.el (desktop-load-default):
4268 * dired-x.el (dired-omit-here-always)
4269 (dired-hack-local-variables, dired-default-directory):
4270 * emacs-lisp/derived.el (derived-mode-class):
4271 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4272 * emacs-lock.el (toggle-emacs-lock):
4273 * epa.el (epa-display-verify-result):
4274 * epg.el (epg-sign-keys, epg-start-sign-keys)
4275 (epg-passphrase-callback-function):
4276 * eshell/esh-util.el (eshell-for):
4277 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4278 (eshell-add-to-window-buffer-names):
4279 * files.el (locate-file-completion):
4280 * imenu.el (imenu-example--create-c-index)
4281 (imenu-example--create-lisp-index)
4282 (imenu-example--lisp-extract-index-name)
4283 (imenu-example--name-and-position):
4284 * international/mule-cmds.el (princ-list):
4285 * international/mule-diag.el (decode-codepage-char):
4286 * international/mule-util.el (detect-coding-with-priority):
4287 * iswitchb.el (iswitchb-read-buffer):
4288 * mail/mailalias.el (mail-complete):
4289 * mail/sendmail.el (mail-sent-via):
4290 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4291 (mouse-major-mode-menu):
4292 * password-cache.el (password-read-and-add):
4293 * pcomplete.el (pcomplete-parse-comint-arguments):
4294 * progmodes/sh-script.el (sh-maybe-here-document):
4295 * replace.el (query-replace-regexp-eval):
4296 * savehist.el (savehist-load):
4297 * simple.el (choose-completion-delete-max-match):
4298 * term.el (term-dynamic-simple-complete):
4299 * vc/ediff-init.el (ediff-check-version):
4300 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4301 * vc/vc.el (vc-diff-switches-list):
4302 * view.el (view-return-to-alist-update): Likewise.
4303
4304 * subr.el (eval-next-after-load, makehash, insert-string)
4305 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4306 mark obsolete.
4307 (mode-line-inverse-video): Variable deleted.
4308
4309 * international/mule-util.el (string-to-sequence): Remove.
4310
4311 * calendar/calendar.el (calendar-version):
4312 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4313 (icalendar-convert-diary-to-ical):
4314 * cus-edit.el (custom-mode):
4315 * ansi-color.el (ansi-color-unfontify-region):
4316 * international/latin1-disp.el (latin1-char-displayable-p):
4317 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4318 * progmodes/which-func.el (which-func-update-1):
4319 Use define-obsolete-function-alias.
59f7af81
CY
4320
4321 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4322 * net/newst-treeview.el (newsticker-groups-filename):
4323 Fix incorrect obsolescence declaration.
59f7af81
CY
4324
4325 * allout.el (allout-passphrase-hint-string): Likewise.
4326 (allout-init): Use a declare form to mark obsolete.
4327
4328 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4329 this applies to functions.
4330
4331 * iswitchb.el (iswitchb-read-buffer): Move code of
4332 iswitchb-define-mode-map here, and delete that obsolete function.
4333
4334 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4335 font-lock-reference-face.
4336
cca96c97
GM
43372012-09-25 Glenn Morris <rgm@gnu.org>
4338
b06eeda8
GM
4339 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4340 Doc fixes.
4341
cca96c97
GM
4342 * eshell/em-term.el (eshell-term-name):
4343 Default to term-term-name. (Bug#12485)
4344
dc4f818b
FEG
43452012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4346
cca96c97
GM
4347 * progmodes/python.el (python-shell-send-buffer): Better handling
4348 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4349
289c24bd
GM
43502012-09-24 Glenn Morris <rgm@gnu.org>
4351
4352 * eshell/esh-cmd.el (eshell-find-alias-function):
4353 Tighten up file-name regexp. (Bug#12499)
4354
8fb8b88f
FEG
43552012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4356
4357 Enhancements for triple-quote string syntax.
4358 * progmodes/python.el (python-quote-syntax): Remove.
4359 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4360 (python-syntax-count-quotes, python-syntax-stringify):
4361 New functions.
8fb8b88f 4362
6c27f0f8
CY
43632012-09-24 Chong Yidong <cyd@gnu.org>
4364
a5f2b6ec
CY
4365 * mail/supercite.el (sc-version): Remove obsolete function.
4366 (sc-describe): Don't mark as obsolete, since it is bound.
4367 (sc-submit-bug-report): Remove.
4368
4369 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4370 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4371 (log-edit-require-final-newline)
4372 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4373
4374 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4375 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4376 * vc/vc.el (vc-checkout-carefully): Likewise.
4377
4378 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4379 (emerge-version): Remove.
4380
4381 * progmodes/compile.el (compile-internal): Remove.
4382 (compilation-parse-errors-function): Fix typo.
4383
4384 * international/mule.el (set-char-table-default): Remove.
4385 (set-coding-priority, make-coding-system, generic-char-p)
4386 (charset-list, charset-bytes, charset-id): Use declare to mark
4387 functions as obsolete.
4388
4389 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4390 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4391 * vc/vc-hooks.el (vc-default-registered): Don't use
4392 vc-master-templates.
4393
07b1a5fb
SM
4394 * font-lock.el (font-lock-reference-face):
4395 Use define-obsolete-variable-alias.
6c27f0f8
CY
4396
4397 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4398 * calendar/calendar.el (calendar-font-lock-keywords):
4399 * calendar/diary-lib.el (diary-font-lock-keywords)
4400 (diary-fancy-font-lock-keywords):
4401 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4402 * textmodes/reftex-index.el (reftex-insert-index):
4403 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4404 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4405 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4406 * progmodes/prolog.el (prolog-font-lock-keywords):
4407 * progmodes/idlwave.el (idlwave-idl-keywords):
4408 * progmodes/ada-mode.el (ada-font-lock-keywords):
4409 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4410
bcc0adbf
GM
44112012-09-24 Glenn Morris <rgm@gnu.org>
4412
4413 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4414
095bb823
FEG
44152012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4416
4417 * progmodes/python.el (python-indent-line): More consistent cursor
4418 movement behavior.
4419
70efc5c9
SM
44202012-09-23 Stefan Merten <smerten@oekonux.de>
4421
4422 * textmodes/rst.el: Fix compiler warning.
4423
2f438239
RW
44242012-09-23 Roland Winkler <winkler@gnu.org>
4425
07b1a5fb
SM
4426 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4427 Transcribe also LaTeX hyphenation.
2f438239
RW
4428 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4429 bibtex-reformat-previous-options.
4430
936ad041
RW
44312012-09-23 Roland Winkler <winkler@gnu.org>
4432
4433 * proced.el (proced-renice-command): New variable.
4434 (proced-marked-processes): New function.
4435 (proced-with-processes-buffer): New macro.
4436 (proced-send-signal): Use them.
4437 (proced-renice): New command bound to r.
4438
6fab0274
RW
44392012-09-23 Roland Winkler <winkler@gnu.org>
4440
4441 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4442 ibuffer-saved-filter-groups has one element, shortcut the call of
4443 completing-read. (Bug#12331)
4444
9a930676
CY
44452012-09-23 Chong Yidong <cyd@gnu.org>
4446
4447 * bindings.el (mode-line-toggle-read-only):
4448 * bs.el (bs-toggle-readonly):
4449 * buff-menu.el (Buffer-menu-toggle-read-only):
4450 * dired.el (dired-toggle-read-only):
4451 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4452
d07ff9db
CY
44532012-09-23 Chong Yidong <cyd@gnu.org>
4454
4455 * image.el (image-type-available-p): Adapt to init-image-library
4456 argument changes.
4457
51c4474e
JL
44582012-09-22 Juri Linkov <juri@jurta.org>
4459
4460 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4461 `dired-toggle-read-only'. (Bug#12462)
4462
43bf5e8e
MR
44632012-09-22 Martin Rudalics <rudalics@gmx.at>
4464
4465 * subr.el (temp-output-buffer-show): New function.
4466 (with-output-to-temp-buffer): Call temp-output-buffer-show
4467 instead of internal-temp-output-buffer-show.
4468
c88b867f
CY
44692012-09-22 Chong Yidong <cyd@gnu.org>
4470
3df47cd5
CY
4471 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4472 (Bug#12462).
4473
c88b867f
CY
4474 * repeat.el (repeat): Doc fix (Bug#12348).
4475
4476 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4477 (Bug#10909).
4478
4479 * simple.el (shell-command-on-region): Doc fix.
3171e303 4480 (read-only-mode): Doc fix.
c88b867f 4481
df9685f3
EZ
44822012-09-22 Eli Zaretskii <eliz@gnu.org>
4483
4484 * emacs-lisp/timer.el (run-with-idle-timer)
4485 (timer-activate-when-idle): Warn against reinvoking an idle timer
4486 from within its own timer action. (Bug#12447)
4487
8e17c9ba
MR
44882012-09-22 Martin Rudalics <rudalics@gmx.at>
4489
4490 * cus-start.el (window-combination-limit): Add new optional
4491 values.
4492 * window.el (temp-buffer-window-show)
4493 (window--try-to-split-window): Handle new values of
4494 window-combination-limit (Bug#1806).
4495 (split-window): Test window-combination-limit for t instead of
4496 non-nil.
4497 (display-buffer-at-bottom): New buffer display action function.
4498 * help.el (temp-buffer-resize-regexps): New option.
4499 (temp-buffer-resize-mode): Rewrite doc-string.
4500 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4501 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4502
48a24920
SM
45032012-09-22 Stefan Merten <smerten@oekonux.de>
4504
70efc5c9 4505 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4506 (rst-official-version)
4507 (rst-package-emacs-version-alist): Sync with official version
4508 V1.4.0.
4509 (rst-faces-defaults, rst-set-level-default)
4510 (rst-level-face-max, rst-level-face-base-color)
4511 (rst-level-face-base-light, rst-level-face-format-light)
4512 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4513 (rst-adornment-faces-alist): Match new setup.
4514 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4515 (rst-level-5, rst-level-6): New faces.
4516
82f8cd94
CY
45172012-09-22 Chong Yidong <cyd@gnu.org>
4518
4519 * simple.el (undo): Handle indirect buffers (Bug#8207).
4520
acfa068f 45212012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4522
4523 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4524 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4525 (ido-set-matches-1): Use it. (Bug#2042)
4526
acfa068f 45272012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4528
4529 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4530 Fix 2011-05-17 change. (Bug#12418)
4531
acfa068f 45322012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4533
4534 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4535
acfa068f 45362012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4537
4538 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4539 Be more robust about locating simple.el.
4540
acfa068f 45412012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4542
4543 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4544
acfa068f
CY
45452012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4546
4547 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4548
41a97e6f
JL
45492012-09-20 Juri Linkov <juri@jurta.org>
4550
eb2deaff
JL
4551 * replace.el (query-replace-read-from): Use `read-regexp' instead
4552 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4553 (occur-read-primary-args): Use `read-regexp' instead of
4554 `read-string'.
4555 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4556 `read-from-minibuffer'.
4557 * isearch.el (isearch-occur): Use `read-regexp' instead of
4558 `read-string'.
4559 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4560 `read-from-minibuffer'.
4561 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4562 of `read-string'. (Bug#7567)
4563
5825610b
JL
4564 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4565 and allow accepting a list of strings prepended to a list of
4566 standard default values. Doc fix. (Bug#12321)
4567
eebbf404
JL
4568 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4569
41a97e6f
JL
4570 * replace.el (read-regexp): Don't add ": " when PROMPT already
4571 ends with a colon and space. (Bug#12321)
4572
c9e452d3
TH
45732012-09-20 Tassilo Horn <tsdh@gnu.org>
4574
4575 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4576 error.
4577
ee97deee
SM
45782012-09-20 Stefan Merten <smerten@oekonux.de>
4579
70efc5c9 4580 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4581 Fixes feature request bug#11711.
4582 (rst-mode): Create `imenu-create-index-function'.
4583 (rst-get-stripped-line): Delete after refactoring.
4584 (rst-section-tree, rst-section-tree-rec)
4585 (rst-section-tree-point): Refactor and document properly.
4586 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4587 (rst-imenu-convert-cell, rst-imenu-create-index):
4588 New function.
ee97deee 4589
f490dab9
SM
45902012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4591
95b9712e
SM
4592 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4593 (macroexp--expand-all): Use it.
4594 (macroexp--funcall-and-return): Remove by folding it into its sole
4595 caller (macroexp--warn-and-return).
4596 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4597 Use macroexp--obsolete-warning.
4598
f490dab9
SM
4599 * calc/calc.el: Fix last change by removing the whole chunk, since it
4600 was only needed back when Calc was not bundled.
4601
96e8d411
MR
46022012-09-20 Martin Rudalics <rudalics@gmx.at>
4603
4604 * emacs-lisp/debug.el (debug): Restore assignment to
4605 debugger-old-buffer removed on 2012-09-08.
4606
0876a82d
JL
46072012-09-20 Juri Linkov <juri@jurta.org>
4608
4609 * dired-aux.el (dired-diff): Remove (require 'diff) since
4610 `diff-latest-backup-file' is now autoloaded.
4611
9f7c28f0
CY
46122012-09-20 Chong Yidong <cyd@gnu.org>
4613
4614 * vc/diff.el (diff-latest-backup-file): Autoload.
4615
7a04bee9
SM
46162012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4617
e6f0a80d
SM
4618 * calc/calc.el: Remove redundant autoload shape check.
4619 (sel-mode): Don't defvar.
4620 (calc-get-stack-element): Add `sel-mode' arg instead.
4621 (calc-top, calc-top-list): Pass it this additional argument.
4622 * calc/calc-store.el (calc-store-map):
4623 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4624 (calc-map-equation, calc-outer-product, calc-inner-product):
4625 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4626
7a04bee9
SM
4627 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4628
12734222
JL
46292012-09-19 Juri Linkov <juri@jurta.org>
4630
4631 * dired-aux.el (dired-diff): Add (require 'diff) because
4632 `diff-latest-backup-file' is not autoloaded.
4633 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4634 of `dired-get-filename' to t to not report error when there is
4635 no default file on the current line.
4636
46624b4f
SM
46372012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4638
ce97595b
SM
4639 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4640 macroexp--eval-if-compile.
4641 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4642 (macroexp--expand-all): Use them (bug#12371).
4643
46624b4f
SM
4644 * doc-view.el (doc-view-guess-paper-size)
4645 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4646
db8a5a18
TH
46472012-09-19 Tassilo Horn <tsdh@gnu.org>
4648
4649 New feature: set optimal slice from BoundingBox information.
4650 * doc-view.el (doc-view-mode-map): Add keybinding.
4651 (doc-view-menu): Add menu entry.
4652 (doc-view-set-slice): Adapt docstring.
4653 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4654 (doc-view-scale-bounding-box)
4655 (doc-view-set-slice-from-bounding-box): New functions.
4656 (doc-view-paper-sizes): New defvar.
4657
69f6644c
GM
46582012-09-19 Glenn Morris <rgm@gnu.org>
4659
35f5b19d
GM
4660 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4661 (byte-compile-log-warning): Autoload. (Bug#12371)
4662
69f6644c
GM
4663 * calendar/calendar.el (calendar-american-month-header)
4664 (calendar-european-month-header, calendar-iso-month-header)
4665 (calendar-month-header): New options.
4666 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4667 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4668
e543ae91
JD
46692012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4670
4671 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4672
2fd5e67d
JL
46732012-09-18 Juri Linkov <juri@jurta.org>
4674
4675 * dired-aux.el (dired-diff): Restore original functionality of
4676 getting the default value, but keep new feature of using the
4677 latest existing backup file (`diff-latest-backup-file').
4678
42917e79
JL
46792012-09-18 Juri Linkov <juri@jurta.org>
4680
4681 * dired.el (dired-mark): If the region is active in Transient Mark
4682 mode, mark all files in the active region. Doc fix.
4683 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4684 Doc fix. (Bug#10624)
4685
20f70ede
JL
46862012-09-18 Juri Linkov <juri@jurta.org>
4687
4688 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4689 attributes for M-n are pulled from the file at point.
4690 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4691 Suggested by Drew Adams. (Bug#10624)
4692
32fb8162
DG
46932012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4694
4695 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4696 whitespace after "end".
4697 (ruby-do-end-to-brace): Collapse block to one line if it fits
4698 within fill-column.
4699
37ab5092
MR
47002012-09-18 Martin Rudalics <rudalics@gmx.at>
4701
4702 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4703 value.
4704 (debug): Don't remove debugger window when debugger is expected
4705 to be back.
4706
ed1f0bd3
CY
47072012-09-18 Chong Yidong <cyd@gnu.org>
4708
4709 * custom.el (defface): Doc fix.
4710
4711 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4712
a11035b8
MB
47132012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4714
4715 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4716 to initialize query-on-exit; then test that instead (bug#12288).
4717
64f6a736
SM
47182012-09-17 Stefan Merten <smerten@oekonux.de>
4719
70efc5c9 4720 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4721 (rst-defcustom-testcover, rst-testcover-add-compose)
4722 (rst-testcover-add-1value): New functions.
4723 (rst-portable-mark-active-p): Replace by `use-region-p'.
4724 (rst-update-section, rst-classify-adornment)
4725 (rst-find-title-line): Mark `1value' forms.
4726 (rst-classify-adornment): Remove superfluous form.
4727 (rst-update-section, rst-get-adornments-around)
4728 (rst-adornment-complete-p, rst-get-next-adornment)
4729 (rst-adjust, rst-promote-region)
4730 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4731 (rst-find-pfx-in-region, rst-section-tree-rec)
4732 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4733 (rst-toc-node, rst-toc, rst-forward-section)
4734 (rst-iterate-leftmost-paragraphs)
4735 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4736 (rst-bullet-list-region)
4737 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4738 (rst-compile-find-conf, rst-compile)
4739 (rst-repeat-last-character): Fix style.
4740
580bd868
CY
47412012-09-17 Chong Yidong <cyd@gnu.org>
4742
4743 * comint.el (comint--complete-file-name-data): Don't add a space
4744 if the status is `sole'; that adds a gratuitous space in the
4745 completion-cycling case (Bug#12092).
4746
4747 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4748
69de3ec6
RS
47492012-09-17 Richard Stallman <rms@gnu.org>
4750
0dee970c
RS
4751 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4752 only in the mime-shown mode, not in raw mode.
4753 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4754 mime processing. (Bug#12305)
0dee970c 4755
6b250df6
GM
4756 * mail/rmail.el (rmail-retry-failure):
4757 Turn off mime processing first. (Bug#12037)
acb1c47b 4758
69de3ec6
RS
4759 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4760
d079ee5f
CY
47612012-09-17 Chong Yidong <cyd@gnu.org>
4762
4763 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4764 (shell-dynamic-complete-functions): Convert to defcustom.
4765 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4766
865fe16f
CY
4767 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4768 * comint.el (comint-prompt-read-only):
4769 * custom.el (defcustom):
4770 * hi-lock.el (hi-lock-mode):
4771 * ibuffer.el (ibuffer-formats):
4772 * ielm.el (ielm-prompt-read-only):
4773 * novice.el (disable-command):
4774 * saveplace.el (toggle-save-place):
4775 * speedbar.el (speedbar-supported-extension-expressions):
4776 * startup.el (auto-save-list-file-prefix, init-file-user)
4777 (after-init-hook, inhibit-startup-echo-area-message):
4778 * strokes.el (strokes-help):
4779 * time-stamp.el (time-stamp):
4780 * calendar/calendar.el (calendar, diary-file):
4781 * calendar/diary-lib.el (diary-mail-entries, diary)
4782 (diary-list-entries-hook):
4783 * calendar/holidays.el (holidays, calendar-holidays):
4784 * calendar/lunar.el (lunar-phases):
4785 * calendar/solar.el (sunrise-sunset):
4786 * emulation/edt.el (edt-load-keys):
4787 * emulation/viper.el (viper-mode):
4788 * eshell/em-alias.el (eshell-command-aliases-list):
4789 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4790 * international/ogonek.el (ogonek-information):
4791 * net/tramp-cmds.el (tramp-bug):
4792 * net/quickurl.el (quickurl-reread-hook-postfix):
4793 * play/decipher.el (decipher-font-lock-keywords):
4794 * progmodes/cc-styles.el (c-set-style):
4795 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4796 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4797 * progmodes/octave-mod.el (octave-mode):
4798 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4799 * progmodes/verilog-mode.el (verilog-read-defines):
4800 * textmodes/two-column.el (2C-mode): Likewise.
4801
48093eb9
KY
48022012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4803
4804 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4805 that holds many addresses.
4806
c584eaf9
CY
48072012-09-16 Chong Yidong <cyd@gnu.org>
4808
40d70ecb
CY
4809 * align.el (align-areas): Call the indication function with
4810 positions instead of markers for arguments (Bug#12343).
4811
1667e065
CY
4812 * files.el (parse-colon-path): Use split-string (Bug#12351).
4813
fdc2806d 4814 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4815 (display-buffer-function): Mark as obsolete.
fdc2806d 4816
f1be615c 4817 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4818 values similar to font-lock-keywords (Bug#12136).
4819 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4820 (compilation-error-regexp-alist): Doc fix.
4821
f40a9709
GM
48222012-09-15 Glenn Morris <rgm@gnu.org>
4823
72aa16e1
GM
4824 * version.el (emacs-bzr-version-bzr): New function.
4825 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4826
82375160
GM
4827 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4828 checkouts, check the parent dirstate matches the branch.
4829 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4830 empty string.
4831
f40a9709
GM
4832 * version.el (emacs-bzr-version): Doc fix.
4833 (emacs-bzr-version-dirstate): New function.
4834 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4835 is local try and check that it matches the branch. If not, just
4836 use dirstate information. (Bug#12441)
4837
cb26b7f5
JL
48382012-09-14 Juri Linkov <juri@jurta.org>
4839
4840 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4841 (Bug#12399)
4842
2de39f08
SM
48432012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4844
0fb3cb7c
SM
4845 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4846
2de39f08
SM
4847 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4848 Remove obsolete byte-compiler hack that tried to silence some warnings.
4849 (edebug-submit-bug-report): Remove.
4850 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4851 Remove aliases, use the un-prefixed name instead.
4852 (edebug-pop-to-buffer): Consider other frames.
4853 (edebug-original-read):: Make it more obvious that it's always defined.
4854 (edebug--make-form-data-entry, edebug--form-data-name)
4855 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4856 single-dashed name, and implement with cl-defstruct.
4857 (edebug-set-form-data-entry): Use the standard accessors.
4858 (edebug-make-top-form-data-entry): Use push.
4859 (edebug-no-match): Drop useless `funcall'.
4860 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4861 to functions.
4862 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4863 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4864 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4865 (easy-menu-define, with-custom-print): Remove redundant specs.
4866 (edebug-outside-overriding-local-map)
4867 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4868 (edebug--display): Bind unread-command-events directly to nil rather
4869 than binding it to unread-command-events and later setting it to nil.
4870 (edebug--display): Kill edebug-eval-buffer here...
4871 (edebug--recursive-edit): ...rather than here.
4872 Bind standard-output and standard-input.
4873 (edebug-eval): Check cl-macroexpand-all is fboundp.
4874 (edebug-temp-display-freq-count): Fix last change.
4875
4876 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4877 * subr.el (noreturn, 1value): Add `debug' spec.
4878 * emacs-lisp/advice.el: Require cl-lib.
4879 (ad-copy-tree): Remove, use copy-tree instead.
4880 (ad-dolist): Remove use dolist or cl-dolist instead.
4881 (ad-do-return): Remove, use cl-return instead.
4882 (defadvice): Add `debug' spec.
4883
5b68b333
JL
48842012-09-13 Juri Linkov <juri@jurta.org>
4885
4886 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4887 (Bug#12399)
4888
b9800ec4
GM
48892012-09-13 Glenn Morris <rgm@gnu.org>
4890
6a2e6868
GM
4891 * calc/calc.el (math-compose-expr):
4892 * calc/calc-ext.el (math-compose-expr):
4893 * progmodes/cc-defs.el (cl-macroexpand-all):
4894 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4895 (cl-macroexpand-all): Update declarations.
4896
b9800ec4
GM
4897 * vc/vc.el: No need to require ediff.
4898 (ediff-load-version-control): Declare.
4899 (ediff-vc-internal): Fix declaration.
4900 (vc-version-ediff): Require ediff.
4901
c18e885b
PE
49022012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4903
4904 Use a more backwards-compatible timer format (Bug#12430).
4905 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4906 being right after USECS, as that better supports old code that
4907 inadvisedly looked directly at the timer vector.
4908
d607d303
KH
49092012-09-13 Kenichi Handa <handa@gnu.org>
4910
4911 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4912 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4913 `coding-priority' property of these language environment.
4914
72eac303
PE
49152012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4916
4917 Fix glitches caused by addition of psec to timers (Bug#12430).
4918 * image.el (image-animate-timer):
4919 * time.el (display-time-world-timer):
4920 Use timer--function and timer--args rather than raw access to
4921 timer vector.
4922
2168fe4f
GM
49232012-09-13 Glenn Morris <rgm@gnu.org>
4924
4925 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4926 If not compiling a file, try using load-file-name.
4927
bd8d6108
SM
49282012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4929
c0c54fbd
SM
4930 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4931 Fix last change.
4932 (edebug-update-eval-list): Use `push'.
4933
bd8d6108
SM
4934 * emacs-lisp/edebug.el: Use lexical-binding.
4935 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4936 Mark unused args with underscore.
4937 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4938 (edebug-form-data): Use defvar-local.
4939 (edebug-make-before-and-after-form, edebug-make-after-form):
4940 Use backquote.
4941 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4942 Not dynamically scoped any more.
4943 (edebug--enter-trace): Add arguments `function' and `args'.
4944 Rename from edebug-enter-trace.
4945 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4946 (edebug--update-coverage): Add `after-index' and `value' args.
4947 Rename from edebug-update-coverage.
4948 (edebug-slow-after): Call it accordingly.
4949 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4950 edebug-recursive-edit.
4951 (edebug--display): Call it accordingly. Add args `value',
4952 `offset-index', and `arg-mode'. Rename from edebug-display.
4953 (edebug-debugger, edebug): Call it accordingly.
4954 (edebug-eval-display-list): Use dolist.
4955
a9f9d9de
JL
49562012-09-12 Juri Linkov <juri@jurta.org>
4957
4958 * info.el (Info-search): Don't check for isearch-mode and
4959 isearch-regexp before let-binding search-spaces-regexp to
4960 Info-search-whitespace-regexp.
4961 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4962 search-whitespace-regexp if isearch-lax-whitespace or
4963 isearch-regexp-lax-whitespace is non-nil.
4964 (Info-mode): Don't set local variable search-whitespace-regexp.
4965 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4966
bfeae2cf
SM
49672012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4970 (debugger-env-macro): Remove support for unread-command-char.
4971
4972 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4973 the temporary map re-appearing on emulation-mode-map-alists.
4974
4975 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4976 since 22.1.
4977
4978 * ehelp.el (with-electric-help): Accept functions in
4979 electric-help-form-to-execute.
4980 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4981 And replace unread-command-char -> unread-command-events.
4982
fbbcaf1b
MA
49832012-09-12 Michael Albinus <michael.albinus@gmx.de>
4984
4985 Sync with Tramp 2.2.6.
4986
4987 * net/tramp.el (tramp-accept-process-output): Don't use
4988 JUST-THIS-ONE in the XEmacs case.
4989
4990 * net/trampver.el: Update release number.
4991
4dece104
MR
49922012-09-12 Martin Rudalics <rudalics@gmx.at>
4993
bfeae2cf
SM
4994 * emacs-lisp/debug.el (debugger-previous-window-height):
4995 New variable.
4dece104
MR
4996 (debug): When debugger-jumping-flag is non-nil try to restore
4997 height of debugger window. (Bug#8789)
4998
45b82ad0
SM
49992012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5000
60c49c0f
SM
5001 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5002 overriding-local-map and pre/post-command-hook here.
5003 (edebug-recursive-edit): Do it here instead (bug#12345).
5004 (edebug-outside-unread-command-char): Remove all uses of
5005 unread-command-char.
5006
45b82ad0
SM
5007 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5008 inhibit-debugger is bound instead.
5009
baa26ea0
BG
50102012-09-11 Bastien Guerry <bzg@gnu.org>
5011
5012 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5013 (Bug#12346)
baa26ea0 5014
04e8abfa
BG
50152012-09-11 Bastien Guerry <bzg@gnu.org>
5016
96d03571 5017 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5018 (Bug#12347)
96d03571
BG
5019
50202012-09-11 Bastien Guerry <bzg@gnu.org>
5021
fc0c31f8 5022 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5023
04e082b0
MM
50242012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5025
5026 * progmodes/sql.el: Version 3.1
5027 (sql-db2-escape-newlines): New variable.
5028 (sql-escape-newlines-filter): Use it.
5029
399a361b
JB
50302012-09-10 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5033
0780c517
DN
50342012-09-10 Dan Nicolaescu <dann@gnu.org>
5035
45b82ad0
SM
5036 * vc/diff-mode.el (diff-mode-menu):
5037 Bind diff-remove-trailing-whitespace.
0780c517 5038
9b851e25
SM
50392012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5042 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5043 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5044 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5045 (eval-defun-2): Remove bogus interactive spec.
5046 (lisp-indent-line): Remove redundant whole-exp code, now done in
5047 indent-according-to-mode.
5048 (save-match-data): Remove redundant indent data.
5049
5050 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5051 Use `declare'.
5052
3231d532
JL
50532012-09-09 Juri Linkov <juri@jurta.org>
5054
5055 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5056 (replace-lax-whitespace, query-replace-regexp)
5057 (query-replace-regexp-eval, replace-regexp): Doc fix.
5058 (perform-replace, replace-highlight): Let-bind
5059 isearch-lax-whitespace to replace-lax-whitespace and
5060 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5061
5062 * isearch.el (isearch-query-replace): Let-bind
5063 replace-lax-whitespace to isearch-lax-whitespace and
5064 replace-regexp-lax-whitespace to
5065 isearch-regexp-lax-whitespace. (Bug#10885)
5066
70fe8236
SM
50672012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5070
8ed43f15
AM
50712012-09-09 Alan Mackenzie <acm@muc.de>
5072
70fe8236
SM
5073 * progmodes/cc-engine.el (c-state-cache-init):
5074 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5075 (c-record-parse-state-state):
5076 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5077
bfabf70a
AS
50782012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 * register.el (register-separator): Rename from
5081 separator-register. All uses changed. Doc fix.
5082 (register): Fix version.
5083
011474aa
CY
50842012-09-09 Chong Yidong <cyd@gnu.org>
5085
5086 * replace.el (query-replace-map): Bind four new symbols for
5087 requesting window scrolling.
5088
5089 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5090 query-replace-map (Bug#8948).
5091
5092 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5093
5094 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5095 since they are now in query-replace-map.
5096
5097 * window.el (scroll-other-window-down): Make the arg optional.
5098
a8b7cd8d
CY
50992012-09-09 Chong Yidong <cyd@gnu.org>
5100
5101 * files.el (hack-local-variables-confirm): Use quit-window to kill
5102 the *Local Variables* buffer.
5103
c3268831
DG
51042012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5105
5106 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5107 not just expect to be at its beginning. Adjust callees.
5108 Succeed when do-end block has no space before the pipe character.
5109 (ruby-brace-to-do-end): When the original block is one-liner,
5110 convert to multiline. Reindent the result.
5111
0979429b
J
51122012-09-08 Jambunathan K <kjambunathan@gmail.com>
5113
5114 * register.el (register): New group.
27359e99 5115 (separator-register): New user option.
0979429b
J
5116 (increment-register): Route it to `append-to-register', if
5117 register contains text. Implication is that `C-x r +' can now be
5118 used for appending to a text register (bug#12217).
5119 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5120 `separator-register'.
0979429b 5121
ace2989a
AM
51222012-09-08 Alan Mackenzie <acm@muc.de>
5123
5124 AWK Mode: make auto-newline work when there's "==" in the pattern.
5125 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5126 correctly.
0979429b
J
5127 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5128 Test more rigorously for "=" token.
ace2989a 5129
616c6c36
DG
51302012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5131
0979429b
J
5132 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5133 Only fail when reached LIMIT.
616c6c36 5134
35d98877
CY
51352012-09-08 Chong Yidong <cyd@gnu.org>
5136
5137 * dired.el (dired-mode-map): Don't bind M-=.
5138
5139 * dired-aux.el (dired-diff): Use backup file as default.
5140
1715f2db
DA
51412012-09-08 Drew Adams <drew.adams@oracle.com>
5142
5143 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5144
6dcef6ec
CY
51452012-09-08 Chong Yidong <cyd@gnu.org>
5146
5147 * subr.el (syntax-after, syntax-class): Doc fix.
5148
fa2bcf43
MR
51492012-09-08 Martin Rudalics <rudalics@gmx.at>
5150
5151 * window.el (display-buffer-in-previous-window): New buffer
5152 display action function.
5153
5154 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5155 (debugger-previous-window): New variable.
5156 (debug): Rewrite using display-buffer-in-previous-window,
5157 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5158
daac280a
SM
51592012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5162
9dd40b00
MM
51632012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5164
daac280a
SM
5165 * progmodes/python.el (python-shell-send-string):
5166 When default-directory is remote, create temp file on remote
9dd40b00
MM
5167 filesystem.
5168 (python-shell-send-file): When file is remote, pass local view of
5169 file paths to remote Python interpreter. (Bug#12340)
5170
145823ec
CY
51712012-09-07 Chong Yidong <cyd@gnu.org>
5172
cee2e90d
CY
5173 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5174
0d7eb2ea
CY
5175 * files.el (after-find-file): Don't fail on a read-only buffer if
5176 require-final-newline is `visit' or `visit-save' (Bug#11156).
5177
145823ec
CY
5178 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5179
daac280a
SM
5180 * userlock.el (ask-user-about-supersession-threat):
5181 Use read-char-choice (Bug#12093).
145823ec 5182
74c582e6
CY
51832012-09-07 Chong Yidong <cyd@gnu.org>
5184
e5c2edf7
CY
5185 * subr.el (buffer-narrowed-p): New function.
5186
5187 * ses.el (ses-widen):
5188 * simple.el (count-words--buffer-message):
1f9f395d 5189 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5190
5191 * simple.el (count-words-region): Don't signal an error if there
5192 is a non-nil prefix arg and the mark is not set.
c640e87d 5193
74c582e6
CY
5194 * help.el (describe-key-briefly): Allow the message to be seen
5195 when invoked from the minibuffer (Bug#7014).
5196
d81ceaaf
DG
51972012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5198
5199 * progmodes/ruby-mode.el (ruby-end-of-defun)
5200 (ruby-beginning-of-defun): Simplify, allow indentation before
5201 block beginning and end keywords.
8f06acce
DG
5202 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5203 (ruby-end-of-defun): Expect that the point is at the beginning of
5204 the defun.
d81ceaaf 5205
d458ef98
SM
52062012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5209 (bug#12367).
5210 (cl--make-usage-args): Strip _ from argument names.
5211
20367d28
RS
52122012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5213
5214 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5215 obsolete alias speedbar-key-map.
5216 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5217 (vhdl-index-menu-init): Don't use obsolete variable
5218 font-lock-maximum-size.
5219
3424a4f6
CY
52202012-09-06 Chong Yidong <cyd@gnu.org>
5221
5222 * frame.el (window-system-version): Mark as obsolete.
5223
fcbfbdea
CY
5224 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5225 of obsolete variable speedbar-key-map.
5226
826b3235
JL
52272012-09-06 Juri Linkov <juri@jurta.org>
5228
5229 * replace.el (replace-lax-whitespace): New defcustom.
5230 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5231 (replace-string, replace-regexp): Mention it in docstrings.
5232 (perform-replace, replace-highlight): Let-bind
5233 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5234 to the values of replace-lax-whitespace and regexp-flag.
5235 Don't let-bind search-whitespace-regexp. (Bug#10885)
5236
5237 * isearch.el (isearch-query-replace): Let-bind
5238 replace-lax-whitespace instead of let-binding
5239 replace-search-function and replace-re-search-function.
5240 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5241 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5242 (isearch-toggle-symbol): Set isearch-regexp to nil
5243 in isearch-word mode (like in isearch-toggle-word).
5244
1ec5e41d
JL
52452012-09-06 Juri Linkov <juri@jurta.org>
5246
5247 * replace.el (replace-search-function)
5248 (replace-re-search-function): Set default values to nil.
5249 (perform-replace): Let-bind isearch-related variables based on
5250 replace-related values, call `isearch-search-fun' and let-bind
5251 the result to `search-function'. Remove code that sets
5252 `search-function' and `search-string' separately for
5253 `delimited-flag'.
5254 (replace-highlight): Add new argument `delimited-flag' and
5255 rename other arguments to the names used in `perform-replace'.
5256 Let-bind `isearch-word' to the argument `delimited-flag'.
5257 (Bug#10885, bug#10887)
5258
0ba2d4b6
DG
52592012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5260
5261 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5262 ruby-beginning-of-indent, simplify, allow all keywords to have
5263 indentation before them.
5264 (ruby-beginning-of-indent): Adjust for above. Search until the
5265 found point is not inside a string or comment.
5266 (ruby-font-lock-keywords): Allow symbols to start with "@"
5267 character, give them higher priority than variables.
5268 (ruby-syntax-propertize-function)
5269 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5270 matchers. Expression expansions are not comments when inside a
5271 string, and there comment syntax status is irrelevant.
5272 (ruby-match-expression-expansion): New function. Check that
5273 expression expansion is inside a string, and it's not escaped.
5274 (ruby-font-lock-keywords): Use it.
5275
ef654460
MR
52762012-09-05 Martin Rudalics <rudalics@gmx.at>
5277
5278 * help.el (temp-buffer-max-height): New default value.
5279 (temp-buffer-resize-frames): New option.
5280 (resize-temp-buffer-window): Optionally resize frame.
5281
5282 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5283 (fit-frame-to-buffer): New function.
5284
7e570fbf 52852012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5286
5287 * emulation/cua-rect.el (cua--init-rectangles):
5288 * textmodes/picture.el (picture-mode-map):
5289 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5290 like forward-char and backward-char. (Bug#12317)
5291
7e570fbf 52922012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5293
5294 * progmodes/flymake.el (flymake-warning-re): New variable.
5295 (flymake-parse-line): Use it.
5296
7e570fbf 52972012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5298
5299 * calendar/holidays.el (holiday-christian-holidays):
5300 Rename an entry. (Bug#12289)
5301
7e570fbf 53022012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5303
5304 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5305 (bug#12222).
5306
972debf2
SM
53072012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * loadup.el: Load macroexp. Remove hack.
5310 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5311 (macroexp--expand-all): Use it to get better warnings.
5312 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5313 (internal-macroexpand-for-load): New functions.
5314 (macroexp--pending-eager-loads): New var.
5315 (emacs-startup-hook): New hack to replace one in loadup.el.
5316 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5317 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5318 (cl-psetf): Simplify.
5319 (cl-defstruct): Add indent rule.
5320
8ce192e3
LI
53212012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5322
5323 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5324 over `user-mail-address' for the SMTP MAIL FROM envelope.
5325 (smtpmail-via-smtp): Ditto.
5326
6578b4d8
DG
53272012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5328
5329 * progmodes/ruby-mode.el: Clean up keybindings.
5330 (ruby-mode-map): Don't bind ruby-electric-brace,
5331 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5332 backward-kill-word, reindent-then-newline-and-indent.
5333 (ruby-mark-defun): Remove.
5334 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5335 (ruby-mode): Set local beginning-of-defun-function and
5336 end-of-defun-function values.
5337
c5e28e39
MR
53382012-09-03 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (temp-buffer-window-setup-hook)
5341 (temp-buffer-window-show-hook): New hooks.
5342 (temp-buffer-window-setup, temp-buffer-window-show)
5343 (with-temp-buffer-window): New functions.
972debf2
SM
5344 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5345 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5346
5347 * help.el (temp-buffer-resize-mode): Fix doc-string.
5348 (resize-temp-buffer-window): New optional argument WINDOW.
5349
5350 * files.el (recover-file, save-buffers-kill-emacs):
5351 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5352
73406194
MA
53532012-09-02 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5356 remote definition of `default-directory', ensure we can connect.
5357
63dd1c6f
JL
53582012-09-02 Juri Linkov <juri@jurta.org>
5359
5360 Toggle whitespace matching mode with M-s SPC.
5361 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5362
5363 * isearch.el (search-whitespace-regexp): Doc fix.
5364 Remove cons cell customization.
5365 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5366 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5367 New variables.
5368 (isearch-forward, isearch-forward-regexp): Doc fix.
5369 (isearch-toggle-lax-whitespace): New command.
5370 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5371 (re-search-forward-lax-whitespace)
5372 (re-search-backward-lax-whitespace): New functions.
5373 (isearch-whitespace-regexp): Remove function.
5374 (isearch-query-replace): Let-bind replace-search-function and
5375 replace-re-search-function.
5376 (isearch-occur): Let-bind search-spaces-regexp according to the
5377 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5378 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5379 condition for C-q SPC.
5380 (isearch-search-fun-default): Use new functions mentioned above.
5381 (isearch-search-forward, isearch-search-backward): Remove functions.
5382 (isearch-search): Don't let-bind search-spaces-regexp.
5383 (isearch-lazy-highlight-space-regexp): Remove variable.
5384 (isearch-lazy-highlight-lax-whitespace)
5385 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5386 (isearch-lazy-highlight-new-loop): Use them.
5387 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5388
af7dda05
CY
53892012-09-02 Chong Yidong <cyd@gnu.org>
5390
5391 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5392
d67d3afd
GM
53932012-09-02 Glenn Morris <rgm@gnu.org>
5394
5395 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5396
69678719
GM
53972012-09-01 Glenn Morris <rgm@gnu.org>
5398
5399 * term.el: Tidy up menu definitions.
5400 (term-mode-map): Use easymenu for In/Out, Complete menus.
5401 (term-pager-break-map): Initialize in the defvar.
5402 (term-terminal-menu, term-signals-menu): Define with easymenu.
5403 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5404 (term-pager-menu): New, extracted from term-process-pager.
5405 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5406 (term-update-mode-line): Propertize line/char and page items.
5407 (term-process-pager): Move keymap initialization elsewhere.
5408
78dd6ab1
MR
54092012-09-01 Martin Rudalics <rudalics@gmx.at>
5410
5411 * window.el (switch-to-prev-buffer): Handle additional values of
5412 BURY-OR-KILL argument. Don't switch in minibuffer window.
5413 (switch-to-next-buffer): Don't switch in minibuffer window.
5414 (quit-restore-window): New function based on quit-window.
5415 Handle additional values of former KILL argument.
5416 (quit-window): Call quit-restore-window with appropriate
5417 interpretation of KILL argument.
5418 (display-buffer-below-selected): New buffer display action
5419 function.
5420
3d10e134
SM
54212012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * minibuffer.el (completion-at-point-functions): Complete docstring
5424 (bug#12254).
5425
0e23ef9d
PE
54262012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5427
5428 Better seed support for (random).
5429 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5430 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5431 * play/mpuz.el, play/tetris.el, play/zone.el:
5432 * calc/calc-comb.el (math-init-random-base):
5433 * play/blackbox.el (bb-init-board):
5434 * play/life.el (life):
5435 * server.el (server-use-tcp):
5436 * type-break.el (type-break):
5437 Remove unnecessary call to (random t).
5438 * net/sasl.el (sasl-unique-id-function):
5439 Change (random t) to (random), now that the latter is more random.
5440 * play/life.el (life-initialized): Remove no-longer-needed var.
5441
862382df
MR
54422012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5443
5444 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5445 Consider frame's buffer predicate when choosing the buffer.
5446 (Bug#12081)
5447
262a66e1
RS
54482012-08-30 Richard Stallman <rms@gnu.org>
5449
5450 * simple.el (special-mode-map): Delete binding for `z'.
5451
f17e1d00
AS
54522012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5453
5454 * progmodes/compile.el (compilation-always-kill): Doc fix.
5455
24777832
CY
54562012-08-30 Chong Yidong <cyd@gnu.org>
5457
5458 * window.el (display-buffer-reuse-frames): Make the obsolescence
5459 message more informative.
5460
69ba1f04
GM
54612012-08-30 Glenn Morris <rgm@gnu.org>
5462
5463 * paren.el (show-paren-delay):
5464 Add a :set function. Doc fix. (Bug#12297)
5465
f0019ede
MB
54662012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5467
5468 * progmodes/compile.el (compilation-always-kill): New var.
5469 (compilation-start): Use it.
5470
35e62fc9
SM
54712012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5472
af070a1c
SM
5473 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5474 * files.el (read-only-mode): Move to simple.el.
5475
35e62fc9
SM
5476 * files.el (read-only-mode): New minor mode.
5477 (toggle-read-only): Use it and mark obsolete.
5478 (find-file--read-only):
5479 * vc/vc.el (vc-next-action, vc-checkout):
5480 * vc/vc-cvs.el (vc-cvs-checkout):
5481 * obsolete/vc-mcvs.el (vc-mcvs-update):
5482 * ffap.el (ffap--toggle-read-only): Update callers.
5483
c2c43c23
MA
54842012-08-29 Michael Albinus <michael.albinus@gmx.de>
5485
5486 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5487 remote shell scripts.
5488 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5489
5490 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5491 "/usr/local/sbin".
5492
9fba804b
SM
54932012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5496
eada0861 54972012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5498
806f0cc7
LL
5499 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5500 completion-at-point. (Bug#12220)
5501
3bb213b9
LL
5502 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5503
22ab32ef
LL
5504 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5505
eada0861 55062012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5507
19c17fc1
CY
5508 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5509 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5510
eada0861 55112012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5512
5513 * progmodes/hideif.el (hif-compress-define-list):
5514 Fix typo. (Bug#11951)
5515
eada0861 55162012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5517
5518 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5519 buffer local setting.
5520
27d6c5a8
LL
5521 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5522 rcirc-encode-coding-system.
5523
eada0861 55242012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5525
5526 * net/rcirc.el (rcirc-split-message): New function.
5527 (rcirc-send-message): Use it. (Bug#12051)
5528
d44688e4
JL
55292012-08-28 Juri Linkov <juri@jurta.org>
5530
5531 * info.el (Info-fontify-node): Hide empty lines at the end of
5532 the node. (Bug#12272)
5533
34f10d41
MR
55342012-08-27 Drew Adams <drew.adams@oracle.com>
5535
5536 * dired.el (dired-pop-to-buffer): Make window start at beginning
5537 of buffer (Bug#12281).
5538
77f1f99c
CY
55392012-08-26 Chong Yidong <cyd@gnu.org>
5540
5541 * window.el (special-display-regexps, special-display-frame-alist)
5542 (special-display-buffer-names, special-display-function)
5543 (display-buffer-reuse-frames): Mark as obsolete.
5544
5545 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5546
5547 * help.el (help-print-return-message): Don't treat
5548 display-buffer-reuse-frames specially.
5549
d97af5a0
CY
55502012-08-26 Chong Yidong <cyd@gnu.org>
5551
9fba804b
SM
5552 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5553 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5554 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5555 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5556 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5557 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5558 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5559 the functions directly with gdb-display-buffer-other-frame-action.
5560 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5561 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5562 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5563 (gdb-display-registers-buffer): Define directly.
5564 (def-gdb-display-buffer): Macro deleted.
5565 (gdb-display-buffer): Remove second and third args, callers don't
5566 use them. Defer to the default display-buffer behavior, apart
5567 from making windows dedicated.
5568 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5569
5570 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5571
5572 * window.el (display-buffer-pop-up-frame): Handle a
5573 pop-up-frame-parameters alist entry.
5574 (display-buffer): Document it.
5575
dd7ffad6
CY
55762012-08-26 Chong Yidong <cyd@gnu.org>
5577
5578 * isearch.el (search-whitespace-regexp): Make string and nil
5579 values apply to both ordinary and regexp search. Allow a cons
5580 cell value to distinguish between the two.
5581 (isearch-whitespace-regexp, isearch-search-forward)
5582 (isearch-search-backward): New functions.
5583 (isearch-occur, isearch-search-fun-default, isearch-search)
5584 (isearch-lazy-highlight-new-loop): Use them.
5585 (isearch-forward, isearch-forward-regexp): Doc fix.
5586
4c47bd1e
CY
55872012-08-26 Chong Yidong <cyd@gnu.org>
5588
5589 * faces.el (help-argument-name): Always inherit from italic
5590 (Bug#12213).
5591
9aba119d
MR
55922012-08-25 Martin Rudalics <rudalics@gmx.at>
5593
5594 * window.el (window--even-window-heights): Even heights when
5595 WINDOW and the selected window form a vertical combination.
5596 (display-buffer-use-some-window): Provide that window used gets
5597 sized back by quit-window. (Bug#11880) and (Bug#12091)
5598
ca5256ad
PE
55992012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5600
5601 Fix file time stamp problem with bzr and CVS (Bug#12001).
5602 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5603 in the file's time stamp, since the version control system loses
5604 that information.
5605
d1c0d176
JL
56062012-08-22 Juri Linkov <juri@jurta.org>
5607
5608 * info.el (Info-fontify-node): Hide the suffix of the
5609 Info file name in the header line. (Bug#12187)
5610
141562ff
GM
56112012-08-22 Glenn Morris <rgm@gnu.org>
5612
5613 * calendar/cal-tex.el (cal-tex-weekly-common):
5614 Restore leading blank page.
5615
3a21537c 56162012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5617
5618 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5619 the region under `shift-select-mode'. (Bug#12231)
5620
56212012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5622
5623 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5624 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5625 gives details on why the space is never needed.
5626
ea95074e
MR
56272012-08-22 Martin Rudalics <rudalics@gmx.at>
5628
9fba804b
SM
5629 * window.el (walk-window-tree, window-with-parameter):
5630 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5631 should run on the minibuffer window.
5632 (window-at-side-list): Don't operate on minibuffer window.
5633 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5634 (window--size-ignore): Rename to window--size-ignore-p.
5635 Update callers.
caceae25
MR
5636 (display-buffer-in-atom-window, window--major-non-side-window)
5637 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5638 (delete-side-window, display-buffer-in-side-window):
5639 New functions.
caceae25
MR
5640 (window--side-check, window-deletable-p, delete-window)
5641 (delete-other-windows, split-window): Handle side windows and
5642 atomic windows appropriately.
5643 (window--display-buffer): Call display-buffer-record-window also
5644 when the window buffer did not change.
ea95074e 5645
80a51fa0
CS
56462012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5647
5648 * help-fns.el (help-fns--key-bindings):
5649 Abbreviate non-symbol remap targets. (Bug#12174)
5650
fbb6300b
MR
56512012-08-22 Martin Rudalics <rudalics@gmx.at>
5652
5653 * dired.el (dired-mark-remembered): Don't clobber point.
5654 (Bug#11795)
5655
2b2c0794
GM
56562012-08-22 Glenn Morris <rgm@gnu.org>
5657
5658 * progmodes/bug-reference.el (bug-reference): New custom group.
5659 (bug-reference-bug-regexp): Make it a defcustom.
5660
37219830
DU
56612012-08-22 Daiki Ueno <ueno@unixuser.org>
5662
5663 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5664 (js-paren-indent-offset, js-square-indent-offset)
5665 (js-curly-indent-offset): Add :safe (Bug#12257).
5666
94e0e559
EC
56672012-08-22 Edward O'Connor <hober0@gmail.com>
5668
5669 * json.el (json-key-format): Add error properties.
5670 (json-encode-key): New function.
5671 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5672 Use json-encode-key.
5673
da485f5e
GM
56742012-08-22 Glenn Morris <rgm@gnu.org>
5675
5676 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5677 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5678 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5679 Update for above change.
5680
c6cc78b8
AS
56812012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5682
5683 * cus-face.el (custom-face-attributes): Fix customize type for the
5684 :underline attribute. (Bug#11805)
5685
5481664a
MR
56862012-08-21 Martin Rudalics <rudalics@gmx.at>
5687
5688 * window.el (window-point-1, set-window-point-1): Remove.
5689 (window-in-direction, record-window-buffer)
5690 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5691 (window--state-get-1, display-buffer-record-window):
5692 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5693 window-point and set-window-point respectively.
5694
6d74698e
GM
56952012-08-21 Glenn Morris <rgm@gnu.org>
5696
b7fa2691
GM
5697 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5698 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5699 Use it.
5700
52f56d5a
GM
5701 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5702 (cal-tex-shortday): New function.
5703 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5704 (cal-tex-cursor-filofax-daily): Use the above.
5705
9f1ee09e
GM
5706 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5707 New functions.
5708 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5709 (cal-tex-cursor-filofax-week): Use them.
5710
79858159
GM
5711 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5712 New constants.
5713 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5714 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5715
d346b2b4
GM
5716 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5717 (cal-tex-end-document): Don't rely on buffer name.
5718
b2403709
GM
5719 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5720 Use cal-tex-vspace.
5721 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5722 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5723 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5724 Use cal-tex-arg.
b2403709 5725
1cebb5c0
GM
5726 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5727 (cal-tex-cursor-week, cal-tex-cursor-week2)
5728 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5729 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5730 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5731 (cal-tex-insert-preamble, cal-tex-b-document)
5732 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5733 Improve cal-tex-cmd usage.
5734
c68cd5d4
GM
5735 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5736 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5737 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5738 (cal-tex-weekly-paper): New function.
5739 (cal-tex-cursor-week, cal-tex-cursor-week2)
5740 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5741 (cal-tex-cursor-day): Use it.
5742
9dca4801
GM
5743 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5744 (cal-tex-cursor-filofax-week): Remove leading blank page.
5745
1941e134
GM
5746 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5747 Add autoload cookie. For now at least, don't use color, since
5748 no other cal-tex function does.
5749
6d74698e
GM
5750 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5751 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5752 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5753
64cde199
JL
57542012-08-21 Juri Linkov <juri@jurta.org>
5755
5756 * info.el (Info-file-attributes): New variable.
5757 (info-insert-file-contents): Add file attributes to
5758 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5759 `Info-toc-nodes' when previous modtime of the Info file is less
5760 than new modtime.
5761 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5762 of info.el. (Bug#12230)
5763
32757648
GM
57642012-08-20 Glenn Morris <rgm@gnu.org>
5765
5766 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5767 * calendar/holidays.el (calendar-holiday-list):
5768 Report errors with display-warning rather than beep'n'sleep.
5769
a32fbbcf
MA
57702012-08-20 Michael Albinus <michael.albinus@gmx.de>
5771
5772 * net/tramp.el (tramp-accept-process-output): Accept only output
5773 from PROC. Otherwise, process filters and sentinels might be
5774 confused. (Bug#12145)
5775
a05731a0
CY
57762012-08-20 Chong Yidong <cyd@gnu.org>
5777
5778 * descr-text.el (describe-text-properties-1): Use overlays-in to
5779 report on empty overlays (Bug#3322).
5780
36e8d1eb
GM
57812012-08-20 Glenn Morris <rgm@gnu.org>
5782
3d300447
GM
5783 * mail/rmailout.el (rmail-output-read-file-name):
5784 Trap and report errors in rmail-output-file-alist elements.
5785
36e8d1eb
GM
5786 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5787 since most non-font-lock faces are not also variables).
5788
b96e5814
ER
57892012-08-20 Edward Reingold <reingold@iit.edu>
5790
5791 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5792 New function. (Bug12160)
5793
7cef3569
GM
57942012-08-19 Glenn Morris <rgm@gnu.org>
5795
5796 * mail/rmailout.el (rmail-output-read-file-name):
5797 Fix previous change (when the alist is nil or does not match).
5798
17975d7f
CY
57992012-08-19 Chong Yidong <cyd@gnu.org>
5800
5801 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5802 (Bug#12228).
5803
2170b1bd
CY
58042012-08-18 Chong Yidong <cyd@gnu.org>
5805
5806 * simple.el (yank-handled-properties): New defcustom.
5807 (yank-excluded-properties): Add font-lock-face and category.
5808 (yank): Doc fix.
5809
9fba804b
SM
5810 * subr.el (remove-yank-excluded-properties):
5811 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5812 and category is now done this way, instead of being hard-coded.
5813 (insert-for-yank-1): Remove font-lock-face handling.
5814 (yank-handle-font-lock-face-property)
5815 (yank-handle-category-property): New function.
5816
ee218151
GM
58172012-08-17 Glenn Morris <rgm@gnu.org>
5818
5819 * mail/rmailout.el (rmail-output-read-file-name):
5820 Check rmail-output-file-alist against the full message body
5821 in the correct rmail buffer. (Bug#12214)
5822
4a6bc3fd
MA
58232012-08-17 Michael Albinus <michael.albinus@gmx.de>
5824
9fba804b
SM
5825 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5826 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5827
383dcbf9
CY
58282012-08-17 Chong Yidong <cyd@gnu.org>
5829
5830 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5831 font spec, set the font directly (Bug#3228).
5832
998c4a6a
MR
58332012-08-17 Martin Rudalics <rudalics@gmx.at>
5834
5835 * window.el (delete-window): Fix last fix.
5836
52162052
MR
58372012-08-16 Martin Rudalics <rudalics@gmx.at>
5838
5839 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5840 (window-child, window-child-count, window-last-child)
5841 (window-normalize-window, window-combined-p)
5842 (window-combinations, window-atom-root, window-min-size)
5843 (window-sizable, window-sizable-p, window-size-fixed-p)
5844 (window-min-delta, window-max-delta, window--resizable)
5845 (window--resizable-p, window-resizable, window-total-size)
5846 (window-full-height-p, window-full-width-p, window-body-size)
5847 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5848 (minimize-window, window-deletable-p, delete-window)
5849 (delete-other-windows, set-window-buffer-start-and-point)
5850 (next-buffer, previous-buffer, split-window, balance-windows-2)
5851 (set-window-text-height, window-buffer-height)
5852 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5853 (truncated-partial-width-window-p): Minor code adjustments.
5854 In doc-strings state whether the argument window has to denote a
85c2386b 5855 live, valid or any window.
52162052 5856
1c308380
PS
58572012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5858
5859 * progmodes/subword.el (subword-forward-function)
5860 (subword-backward-function, subword-forward-regexp)
5861 (subword-backward-regexp): New variables.
5862 (subword-forward, subword-forward-internal, subword-backward-internal):
5863 Use new variables, eg so that different "word" definitions
5864 can be easily used. (Bug#11411)
5865
94c9ece1
SM
58662012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5869 for composite selectors.
5870 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5871 operation just because we can't find a previous revision.
5872
f2045622
CY
58732012-08-15 Chong Yidong <cyd@gnu.org>
5874
5875 * frame.el (set-frame-font): Accept font objects.
5876
582db660
SM
58772012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5880
2f29c200
WJ
58812012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5882
456e62c2
WJ
5883 * man.el (Man-overstrike-face, Man-underline-face)
5884 (Man-reverse-face): Remove variables.
5885 (Man-overstrike, Man-underline, Man-reverse): New faces.
5886 (Man-fontify-manpage): Use them instead of the variables.
5887 (Man-cleanup-manpage): Comment change.
5888 (Man-ansi-color-map): New variable.
5889 (Man-fontify-manpage): Use it.
5890 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5891
2f29c200
WJ
5892 Implement ANSI SGR parameters 22-27 (bug#12146).
5893 * ansi-color.el (ansi-colors): Doc fix.
5894 (ansi-color-context, ansi-color-context-region): Doc fix.
5895 (ansi-color--find-face): New function.
5896 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5897 Rename the local variable `face' to `codes' since it is now a list of
5898 ansi codes. Doc fix.
5899 (ansi-color-get-face): Remove.
5900 (ansi-color-parse-sequence): New function, derived from
5901 ansi-color-get-face.
5902 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5903 codes 22-27.
5904
b4f5e9df
SM
59052012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * subr.el (read-passwd): Allow use from a minibuffer.
5908
ba025fbd
EZ
59092012-08-14 Eli Zaretskii <eliz@gnu.org>
5910
5911 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5912 inside comments and strings as identifiers.
5913
5914 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5915 expression to evaluate. This allows to evaluate expressions with
5916 embedded whitespace.
5917 (gud-tooltip-tips): Add a blank before the newline in the
5918 message-box text, for the benefit of message-box emulation on
5919 MS-Windows.
5920
5921 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5922 messages from GDB, pop them up in a tooltip to give feedback to
5923 user.
b4f5e9df
SM
5924 (gdb-tooltip-print-1): Quote the expression to evaluate.
5925 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5926 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5927 if the TTY name is nil or empty (which happens when communicating
5928 with the inferior via pipes, e.g. on MS-Windows).
5929 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5930 don't send that to the GUD buffer.
5931
c548f821
GM
59322012-08-14 Glenn Morris <rgm@gnu.org>
5933
5934 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5935 Optimize away setq-default with no args, as for setq. (Bug#12195)
5936
55802e4a
CY
59372012-08-14 Chong Yidong <cyd@gnu.org>
5938
4abcdac8
CY
5939 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5940
55802e4a
CY
5941 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5942 (Bug#12085).
5943
3c3cda1a
GM
59442012-08-14 Glenn Morris <rgm@gnu.org>
5945
5946 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5947
e1873bd0
MA
59482012-08-14 Michael Albinus <michael.albinus@gmx.de>
5949
5950 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5951 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5952 Use cached shell name.
5953
925411b4
FEG
59542012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5955
5956 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5957 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5958
e636fafe
DG
59592012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5960
5961 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5962 (ruby-percent-literal-beg-re): New constant.
5963 (ruby-syntax-general-delimiters-goto-beg): Rename to
5964 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5965 (ruby-syntax-propertize-general-delimiters): Rename to
5966 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5967 popular term. Adjust comments everywhere.
5968 (ruby-syntax-propertize-percent-literal): Only propertize when not
5969 inside a simple string or comment. When the literal is unclosed,
5970 leave the text after it unpropertized.
f063063a
DG
5971 (ruby-syntax-methods-before-regexp): New constant.
5972 (ruby-syntax-propertize-function): Use it to recognize regexps.
5973 Don't look at the text after regexp, just use the whitelist.
e636fafe 5974
e5b19827
AS
59752012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5976
5977 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5978 non-nil always load the compiled file if it exists. (Bug#12197)
5979
a9f6f311
CY
59802012-08-14 Chong Yidong <cyd@gnu.org>
5981
5982 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5983 (hi-lock-set-pattern): When deciding whether to use font lock or
5984 overlays, look at font-lock-mode instead of font-lock-fontified
5985 (Bug#12168).
5986 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5987 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5988
7d806b1e
DU
59892012-08-14 Daiki Ueno <ueno@unixuser.org>
5990
5991 * subr.el (internal--after-with-selected-window): Fix typo
5992 (Bug#12193).
5993
5beed586
FEG
59942012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5995
5996 Use `completion-table-dynamic' for completion functions.
5997 * progmodes/python.el
5998 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5999 (python-shell-completion--get-completions):
6000 Remove functions.
5beed586
FEG
6001 (python-shell-completion-complete-at-point): New function.
6002 (python-completion-complete-at-point): Use it.
6003
92cb3b04
J
60042012-08-13 Jambunathan K <kjambunathan@gmail.com>
6005
6006 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6007 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6008
89660017
SM
60092012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6010
3c98c962
SM
6011 * subr.el (function-get): Refine `autoload' arg so it can also
6012 autoload functions for gv.el (bug#12191).
6013 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6014 autoloads macros.
6015
aa7c6dbe
SM
6016 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6017 Prefer pcase-let over destructuring-bind.
6018 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6019 Also, remove whitespace as we go, rather than after accumulating the
6020 various places.
6021
89660017
SM
6022 * subr.el (internal--before-with-selected-window)
6023 (internal--after-with-selected-window): Fix typo seleted->selected.
6024 (with-selected-window): Adjust callers.
6025 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6026
31cd32c9
BG
60272012-08-13 Bastien Guerry <bzg@gnu.org>
6028
0fcd3d9f 6029 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6030 enhancement. (Bug#12172)
6031
1b15d8ad
AS
60322012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6033
31e54db0
AS
6034 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6035 type 1-6.
6036 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6037 extended headers.
6038
1b15d8ad
AS
6039 * files.el (hack-local-variables-filter): Remove useless eval.
6040
35cb9c06
MR
60412012-08-13 Martin Rudalics <rudalics@gmx.at>
6042
6043 * subr.el (with-selected-window): Fix last change.
6044
1439443b
SM
60452012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * subr.el (internal--before-with-seleted-window)
6048 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6049 (with-selected-window): Use them, to replace dependency on
6050 tty-top-frame.
1439443b 6051
0d9e2599
NN
60522012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6053
6054 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6055 binding for `newline'.
6056 (ruby-move-to-block): When moving backward, stop at block opening,
6057 not indentation.
6058 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6059 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6060 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6061 `ruby-toggle-block'.
6062
ba10c48c
SM
60632012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * ibuffer.el (ibuffer-do-toggle-read-only):
6066 * dired.el (dired-toggle-read-only):
6067 * buff-menu.el (Buffer-menu-toggle-read-only):
6068 * bindings.el (mode-line-toggle-read-only):
6069 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6070
9229c658
AS
60712012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6072
6073 * descr-text.el (describe-char): Put the overlays over the
6074 "displayed as" character.
6075
0fd09128
JB
60762012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6077
6078 * calc/calc-units.el (math-default-units-table): Give an
6079 initial value.
6080 (math-put-default-units): Add options to put composite units and
6081 unit systems in the default units table.
6082 (calc-convert-units): Send composite units to
6083 `math-put-default-units' when appropriate.
6084
9ff9402d 60852012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6086
fbb5e336
GM
6087 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6088
7aacaf15
GM
6089 * tutorial.el (help-with-tutorial):
6090 * emacs-lisp/copyright.el (copyright-update-directory):
6091 * emacs-lisp/autoload.el (autoload-find-generated-file)
6092 (autoload-find-file): Disable local eval: (for insurance).
6093
f40b9f10
GM
6094 * files.el (hack-local-variables-filter): If an eval: form is not
6095 known to be safe, and enable-local-variables is :safe, then ignore
6096 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6097 This is CVE-2012-3479.
f40b9f10 6098
daa9f1a6
SM
60992012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6102 (rx-form): Simplify.
6103
9cd80478
DG
61042012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6105
0d9e2599
NN
6106 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6107 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6108 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6109 (ruby-syntax-propertize-function): Adjust for changes in
6110 `ruby-syntax-propertize-heredoc'.
6111
61122012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6113
9cd80478
DG
6114 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6115 binding (use `M-;' instead).
9cd80478 6116 (ruby-singleton-class-p): New function.
0d9e2599 6117 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6118
d301b413
SM
61192012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6122
1530c98e
CY
61232012-08-10 Chong Yidong <cyd@gnu.org>
6124
6125 * progmodes/python.el (python-shell-get-process-name): Don't mess
6126 with same-window-buffer-names.
6127
6128 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6129 (eshell-remove-from-window-buffer-names): Make obsolete.
6130 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6131 (eshell): Just use pop-to-buffer-same-window instead.
6132
e1293765
CY
61332012-08-10 Chong Yidong <cyd@gnu.org>
6134
6135 * bindings.el: Bind M-= back to count-words-region.
6136
6137 * simple.el (count-words-region): Accept a prefix arg for acting
6138 on the entire buffer.
6139 (count-words--buffer-message): New helper function.
6140
e1894109
SM
61412012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6144 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6145 (event-start, event-end): Use posn-at-point to return a more
6146 informative posn.
6147 (posnp): New function.
6148 * mouse.el (popup-menu-normalize-position): Use it.
6149
c69f56a2
MY
61502012-08-10 Masatake YAMATO <yamato@redhat.com>
6151
6152 * mouse.el (popup-menu-normalize-position): New function.
6153 (popup-menu): Use `popup-menu-normalize-position' to normalize
6154 the form for POSITION argument.
6155
6156 * term/x-win.el (x-menu-bar-open):
6157 Use the value returend from (posn-at-point) as position
6158 passed to `popup-menu'.
6159
31673780
JB
61602012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6161
6162 * calc/calccomp.el (math-compose-expr): Add extra argument
6163 indicating that parentheses should be put around products in
6164 denominators. Give multiplication precedence over division during
6165 composition.
6166
dab7711b
CY
61672012-08-09 Chong Yidong <cyd@gnu.org>
6168
dee4ef93
CY
6169 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6170 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6171 (Man-untabify-command, manual-program): Convert to defcustom
6172 (Bug#10429).
6173
73e2bbc5
CY
6174 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6175
3e861c8a
CY
6176 * descr-text.el (describe-char): Don't insert extra newlines
6177 (Bug#10127).
6178
a9f5a649
CY
6179 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6180 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6181
dab7711b
CY
6182 * align.el (align-region): Delete temporary markers (Bug#10047).
6183 Plus some code cleanups.
6184
e0cc4efa
FEG
61852012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6186
6187 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6188 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6189 (python-shell-internal-last-output): Use make-local-variable
6190 instead of make-variable-buffer-local.
6191
489af14f
FEG
61922012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6193
6194 * progmodes/python.el: Enhancements to forward-sexp.
6195 (python-nav-forward-sexp): Rename from
6196 python-nav-forward-sexp-function.
c69f56a2
MY
6197 (python-nav--forward-sexp, python-nav--backward-sexp):
6198 New functions.
489af14f 6199
0fc50303
JB
62002012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6201
6202 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6203 modes and simplification modes.
6204
5d65606a
SM
62052012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * delsel.el (delete-selection-pre-hook): Don't propagate the
6208 file-supersession signals (bug#12161).
6209
4250fdf5
SM
62102012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6213 (cl-map-extents): Add compatibility aliases (bug#12135).
6214
d9f9b465
MA
62152012-08-08 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6218 tests by `ignore-error'.
6219 (tramp-find-shell): Open also a new shell, when cache is already
6220 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6221
ce0fcefa
JL
62222012-08-08 Juri Linkov <juri@jurta.org>
6223
6224 * bookmark.el: Add `defaults' property to the bookmark record.
6225 (bookmark-current-buffer): Doc fix.
6226 (bookmark-make-record): Add `defaults' property with default values
6227 to the bookmark record.
6228 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6229 with `bookmark-insert-current-bookmark'.
6230 (bookmark-set): Get `defaults' property from the bookmark record
6231 and use it in `read-from-minibuffer'.
6232 (bookmark-insert-current-bookmark): Remove function.
6233
6234 * info.el (Info-bookmark-make-record): Add `defaults' property
6235 with values of canonical Info node name, the current Info file
6236 name and the current Info node name. (Bug#12107)
6237
53fa8652
JL
62382012-08-08 Juri Linkov <juri@jurta.org>
6239
6240 * files.el (basic-save-buffer): Use `buffer-name' as the default
6241 of `read-file-name' when buffer is not visiting a file (bug#12128).
6242
242c0a95
JL
62432012-08-08 Juri Linkov <juri@jurta.org>
6244
6245 * info.el (Info-isearch-search): Doc fix.
6246 (Info-search): Change search-failed message from "initial node" to
6247 "end of node" (bug#12078).
6248 (Info-isearch-search): Change `isearch-string-state' to
6249 `isearch--state-string'.
6250
32ac3a6b
GM
62512012-08-08 Glenn Morris <rgm@gnu.org>
6252
6253 * language/persian.el: Remove file.
f8c1afd5 6254 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6255 * loadup.el: Remove language/persian.
6256
2c2d9c9c
OF
62572012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6258
6259 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6260
2d79ec42
FEG
62612012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6262
3c855b96 6263 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6264 (python-syntax-context) Rename from python-info-ppss-context.
6265 (python-syntax-context-type): Rename from
6266 python-info-ppss-context-type.
6267 (python-syntax-comment-or-string-p): Rename from
6268 python-info-ppss-comment-or-string-p.
6269
2bd255dd
JB
62702012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6271
6272 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6273
c395097f
AS
62742012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6275
6125983e
AS
6276 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6277 a defcustom that is quoted with backquote.
6278
4250fdf5
SM
6279 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6280 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6281 (math-do-arg-check, math-define-function-body): Use backquote forms.
6282 * calc/calc-ext.el (math-defcache): Likewise.
6283 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6284 * allout.el (allout-new-exposure): Likewise.
6285 * calc/calcalg2.el (math-tracing-integral): Likewise.
6286 * info.el (Info-last-menu-item): Likewise.
6287 * emulation/vip.el (vip-loop): Likewise.
6288 * textmodes/artist.el (artist-funcall): Likewise.
6289 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6290 Construct menu-item directly.
6291
4250fdf5
SM
6292 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6293 Don't declare.
c395097f 6294
5fb50dd3
CY
62952012-08-07 Chong Yidong <cyd@gnu.org>
6296
6297 * simple.el (deactivate-mark): Preserve text properties when
6298 saving the primary selection (Bug#8384).
6299
54eea618
KR
63002012-08-07 Kevin Ryde <user42@zip.com.au>
6301
6302 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6303 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6304 and continue processing (Bug#12110).
6305
638eaeb9
SM
63062012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6309 syntax-propertize-function (bug#10095).
6310
ea376861
SM
63112012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6312
f91b35be
SM
6313 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6314 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6315 describe-function-1.
6316 (describe-function-1): Use them. Move compiler macro after sig.
6317 (help-fns--compiler-macro): Use function-get. Assume we're already in
6318 standard-output. Adjust layout to new call order.
6319
ea376861
SM
6320 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6321 re-binding a symbol that has a symbol-macro (bug#12119).
6322
d5be7bd0
MB
63232012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6324
6325 * language/persian.el: New file. (Bug#11812)
6326 * loadup.el: Add language/persian.el.
6327
90749b53
CY
63282012-08-06 Chong Yidong <cyd@gnu.org>
6329
6330 * window.el (window--maybe-raise-frame): New function.
6331 (window--display-buffer): Split off from here.
6332 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6333 (display-buffer-pop-up-window, display-buffer-use-some-window):
6334 Obey an inhibit-switch-frame action alist entry.
6335 (display-buffer): Update doc.
6336
6337 * replace.el (occur-after-change-function): Avoid losing focus by
6338 using the inhibit-switch-frame display parameter (Bug#12139).
6339
ba7b0154
FEG
63402012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6341
6342 Make internal shell process buffer names start with space.
6343 * progmodes/python.el (python-shell-make-comint): Add optional
6344 argument INTERNAL.
6345 (run-python-internal): Use it.
6346 (python-shell-internal-get-or-create-process): Check for new
6347 internal buffer names.
6348
5eaeacb5
GM
63492012-08-06 Glenn Morris <rgm@gnu.org>
6350
e296d94b 6351 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6352 Do less getting and setting of environment variables.
6353
b7ccbdc2
CY
63542012-08-05 Chong Yidong <cyd@gnu.org>
6355
777fe95e
CY
6356 * proced.el (proced): Add substitution string to docstring to
6357 trigger autoloading of the proced library on C-h f (Bug#1768).
6358
4250fdf5
SM
6359 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6360 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6361
6362 * imenu.el (imenu-generic-expression): Move documentation here
6363 from imenu--generic-function.
6364 (imenu--generic-function): Refer to imenu-generic-expression.
6365
9e3b7800 63662012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6367
6368 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6369 indentation declaration.
6370 (viper-loop): Add indentation declaration (Bug#7025).
6371
e5d9c0d1
CY
63722012-08-05 Chong Yidong <cyd@gnu.org>
6373
f0422feb
CY
6374 * help-fns.el (describe-variable): Add hyperlink for
6375 directory-local variables files. Improve buffer-local and
6376 permanent-local reporting; suggested by MON KEY (Bug#6644).
6377
6378 * help-mode.el (help-dir-local-var-def): New button type.
6379
e5d9c0d1
CY
6380 * files.el (kill-buffer-hook): Provide a defvar.
6381
a4f2deaa
GM
63822012-08-05 Glenn Morris <rgm@gnu.org>
6383
6384 * eshell/esh-ext.el (eshell/addpath):
6385 Also update eshell-path-env. (Bug#12013)
6386
a9dd5754
CY
63872012-08-05 Chong Yidong <cyd@gnu.org>
6388
a4f2deaa 6389 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6390
d014c740
CY
6391 * fringe.el (fringe-styles): Add docstring.
6392 (fringe--check-mode): New function.
6393 (set-fringe-mode, set-fringe-style): Use it.
6394 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6395
a9dd5754
CY
6396 * files.el (set-auto-mode): Fix invalid setq call.
6397
7c2dc8bd
SM
63982012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * isearch.el: Misc simplification; use defstruct.
6401 (isearch-mode-map): Dense maps now work like sparse ones.
6402 (isearch--state): New defstruct.
6403 (isearch-string-state, isearch-message-state, isearch-point-state)
6404 (isearch-success-state, isearch-forward-state)
6405 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6406 (isearch-wrapped-state, isearch-barrier-state)
6407 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6408 replaced by defstruct's accessors.
6409 (isearch--set-state): Rename from isearch-top-state and change
6410 calling convention.
6411 (isearch-push-state): Use new isearch--get-state.
6412 (isearch-toggle-word): Disable regexp when enabling word.
6413 (isearch-message-prefix): Remove unused arg _c-q-hack.
6414 (isearch-message-suffix): Remove unused arg _ellipsis.
6415
7fcc0070
AS
64162012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6417
6418 * simple.el (list-processes--refresh): For a server use :host or
6419 :local as the address.
97ad0769 6420 (list-processes): Doc fix.
7fcc0070 6421
a11035b8 64222012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6423
6424 * lisp/mpc.el: Support password in host argument.
6425 (mpc--proc-connect): Parse and use new password element.
6426 Set mpc-proc variable instead of returning process.
6427 (mpc-proc): Adjust accordingly.
6428
6dad7178
EZ
64292012-08-03 Eli Zaretskii <eliz@gnu.org>
6430
18949c2f
EZ
6431 * whitespace.el (whitespace-display-mappings): Use Unicode
6432 codepoints, instead of emacs-mule codepoints. See
6433 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6434 for the details.
6435
6dad7178
EZ
6436 * files.el (file-truename): Don't skip symlink-chasing part on
6437 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6438 Windows into the loop that recursively chases symlinks.
6439 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6440 MS-DOS.
6441
385b0198
CY
64422012-08-03 Chong Yidong <cyd@gnu.org>
6443
6200f3c4
CY
6444 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6445
385b0198
CY
6446 * sort.el (sort-regexp-fields): Doc fix.
6447
b9e74744
TH
64482012-08-03 Tassilo Horn <tsdh@gnu.org>
6449
6450 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6451 labels regex position point at the expected place.
6452
41013cb4
MK
64532012-08-03 MON KEY <monkey@sandpframing.com>
6454
6455 * net/imap.el (imap-interactive-login, imap-authenticate)
6456 (imap-mailbox-lsub, imap-mailbox-list)
6457 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6458 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6459 (imap-parse-response): Doc fix.
6460
0ffee616
JT
64612012-08-03 João Távora <joaotavora@gmail.com>
6462
6463 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6464 if sexp scanning does not move point (Bug#5734).
6465
cfcc9cc8
TH
64662012-08-02 Tassilo Horn <tsdh@gnu.org>
6467
6468 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6469 Add listings, minted, and ctable packages.
6470 (reftex-label-alist-builtin): Move listings, minted, and ctable
6471 entries before LaTeX.
a01bbb84 6472 (reftex-label-alist): Docfix.
cfcc9cc8 6473
66ec2442
BG
64742012-08-02 Bastien Guerry <bzg@gnu.org>
6475
6476 * replace.el (occur): Fix docstring (bug#12122).
6477
837b365b
GM
64782012-08-02 Glenn Morris <rgm@gnu.org>
6479
6480 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6481
e098de97
PE
64822012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6483
6484 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6485 * international/mule-cmds.el: Create
6486 inactivate-current-input-method-function as an obsolete alias for
6487 deactivate-current-input-method-function. See Katsumi Yamaoka in
6488 <http://bugs.gnu.org/10150#46>.
6489
a0f95636
JB
64902012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6491
6492 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6493 of nested `if's.
6494
0d26d7c4
GM
64952012-08-01 Glenn Morris <rgm@gnu.org>
6496
6497 * progmodes/autoconf.el (autoconf-definition-regexp):
6498 Add AH_TEMPLATE, adjust submatch numbering.
6499 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6500 (autoconf-current-defun-function): Update for above change.
6501 (autoconf-current-defun-function): First skip to end of current word.
6502
b686ba06
RS
65032012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6504
6505 * calendar/cal-html.el (cal-html-insert-agenda-days):
6506 Fix typo. (Bug#12018)
6507
0d49da68
FEG
65082012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6509
6510 Shell processes: enhancements to startup and CEDET compatibility.
6511 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6512 (python-shell-make-comint): accept-process-output at startup.
6513 (run-python-internal): Set inferior-python-mode-hook to nil.
6514 (python-shell-internal-get-or-create-process): call sit-for.
6515 (python-preoutput-result): Add obsolete alias.
6516 (python-shell-internal-send-string): Use it.
6517 (python-shell-send-setup-code): Remove call to
6518 accept-process-output.
6519
f1a71c6e
AS
65202012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6521
6522 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6523 (Bug#12108)
6524
d2605269
JB
65252012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6526
6527 * calc-mode.el (calc-basic-simplification-mode): Rename from
6528 `calc-limited-simplification-mode'.
6529 (calc-alg-simplification-mode): New function.
fc0c31f8 6530 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6531
d2605269
JB
6532 * calc.el (calc-set-mode-line): Adjust mode line display for
6533 basic simplification mode.
6534
6535 * calc-help.el (calc-m-prefix-help): Update help message.
6536
6537 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6538 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6539
a3827a43
BG
65402012-07-31 Bastien Guerry <bzg@gnu.org>
6541
6542 * man.el (man): Fix comment. (bug#12101)
6543
502e3f89
MR
65442012-07-31 Martin Rudalics <rudalics@gmx.at>
6545
6546 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6547 Don't return a non-nil value when no suitable buffer was found.
6548
d7714961
FEG
65492012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6550
6551 * progmodes/python.el (run-python-internal): Disable font lock for
6552 internal shells.
6553
1f45e27e
SM
65542012-07-30 Stefan Merten <smerten@oekonux.de>
6555
70efc5c9 6556 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6557 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6558 (rst-official-version, rst-official-cvs-rev)
6559 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6560 (rst-mode-map): New key binding.
6561
0aee6912
PE
65622012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6563
6564 Update .PHONY listings in makefiles.
6565 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6566 autoloads, update-subdirs, updates, bzr-update, update-authors,
6567 compile-onefile, compile-calc, backup-compiled-files,
6568 compile-after-backup, compile-one-process, mh-autoloads,
6569 bootstrap-clean, distclean, maintainer-clean.
6570
9052f9f0
JB
65712012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6572
1823ac5a
JB
6573 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6574 (calc-set-mode-line): Don't display "AlgSimp ".
6575
6576 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6577 (calc-lim-simplify-mode): New function.
6578 (calc-set-simplify-mode): Default to 'alg.
6579 (calc-default-simplify-mode): Make algebraic simplifications
6580 the default.
6581
6582 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6583 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6584
8d7c7eed 6585 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6586 indicate new simplification modes.
6587
1823ac5a
JB
6588 * calc/README: Mention new default simplification mode.
6589
9052f9f0
JB
6590 * calc/calc.el (math-normalize-error): New variable.
6591 (math-normalize): Set `math-normalize-error' to t
6592 when there's an error.
6593
6594 * calc/calc-alg.el (math-simplify): Don't simplify when
6595 `math-normalize' returns an error.
6596
20ba0cb4
EZ
65972012-07-29 Eli Zaretskii <eliz@gnu.org>
6598
6599 * international/mule-cmds.el (set-locale-environment): Revert last
6600 change, since display-graphic-p returns nil when this function is
6601 called during startup. Instead...
6602
6603 * term/w32console.el (terminal-init-w32console): ...setup the
6604 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6605
a5dcc929
JL
66062012-07-29 Juri Linkov <juri@jurta.org>
6607
6608 * simple.el (goto-line): Don't display default line number in the
6609 prompt because it should be displayed by `read-number' (bug#9952).
6610 Add the current line number to the defaults of `goto-line' to
6611 allow its easier modification by users with `M-n' (bug#9201).
6612
6613 * subr.el (read-number): Support multiple default values like in
6614 other minibuffer reading functions. Replace `read' with
6615 `string-to-number' for consistency with `number-to-string'.
6616
72b255c7
PE
66172012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6618
6619 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6620 * emulation/viper-init.el (viper-deactivate-input-method-action):
6621 Rename from viper-inactivate-input-method-action.
6622 (viper-deactivate-input-method):
6623 Rename from viper-inactivate-input-method.
6624 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6625 * international/mule-cmds.el (deactivate-input-method):
6626 Rename from inactivate-input-method.
6627 Also run input-method-deactivate-hook.
6628 (deactivate-current-input-method-function):
6629 Rename from inactivate-current-input-method-function.
6630 (input-method-deactivate-hook): New hook.
6631 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6632 (inactivate-input-method): Mark obsolete.
6633
72b255c7
PE
6634 * international/quail.el (quail-activate):
6635 Also run quail-deactivate-hook.
6636 (quail-deactivate): Rename from quail-inactivate.
6637 * international/robin.el (robin-activate):
6638 Also run robin-deactivate-hook.
6639 (robin-deactivate): Rename from robin-inactivate.
6640
2549c068
CY
66412012-07-29 Chong Yidong <cyd@gnu.org>
6642
6643 * simple.el (indicate-copied-region): New function.
6644 (kill-ring-save): Split off from here.
6645
6646 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6647 (kill-rectangle): Set deactivate-mark to t on read-only error.
6648
6649 * register.el (copy-to-register, copy-rectangle-to-register):
6650 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6651 (append-to-register, prepend-to-register): Call indicate-copied-region.
6652
66532012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6654
6655 * simple.el (async-shell-command-buffer): New defcustom.
6656 (shell-command): Use it. (Bug#4719)
6657
01bd1b0d
EZ
66582012-07-28 Eli Zaretskii <eliz@gnu.org>
6659
6660 * international/mule-cmds.el (set-locale-environment): In a
6661 console session on MS-Windows, set up keyboard and terminal
6662 encoding from the OEM codepage, not the ANSI codepage.
6663 (Bug#12055)
6664
a55739d3
CY
66652012-07-28 Chong Yidong <cyd@gnu.org>
6666
6667 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6668 gdb-get-location.
6669
0e1a094f 66702012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6671
6672 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6673 the alist (bug#12029).
6674
20329d73
EZ
66752012-07-28 Eli Zaretskii <eliz@gnu.org>
6676
6677 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6678 (compile-always, compile-first)
6679 ($(lisp)/calendar/cal-loaddefs.el)
6680 ($(lisp)/calendar/diary-loaddefs.el)
6681 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6682 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6683 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6684 instead of on update-subdirs.
6685 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6686
345a2258
CY
66872012-07-28 Chong Yidong <cyd@gnu.org>
6688
1eee6341
CY
6689 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6690 directory if vc-deduce-backend returns nil (Bug#7350).
6691
345a2258
CY
6692 * simple.el (delete-trailing-lines): New option.
6693 (delete-trailing-whitespace): Obey it (Bug#11879).
6694
049a0936
DE
66952012-07-28 David Engster <deng@randomsample.de>
6696
6697 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6698 Explanation of new 'symbol-qnames feature in doc-strings.
6699 (xml-maybe-do-ns): Return expanded names as plain symbols if
6700 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6701 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6702
aa81af71
FEG
67032012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6704
6705 Consistent completion in inferior python with emacs -nw.
6706 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6707 binding in inferior-python-mode-map with "\t".
6708 (python-shell-completion-complete-at-point)
6709 (python-completion-complete-at-point): Remove interactive spec.
6710
e827b1eb
JB
67112012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6712
6713 * calc/calccomp.el (math-compose-expr): Undo previous change.
6714
a90dfb95
FEG
67152012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6716
4250fdf5 6717 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6718 run-python.
6719 (python-shell-make-comint): Fix pop-to-buffer call.
6720 (run-python): Autoload. New arg SHOW.
6721 (python-shell-get-or-create-process): Do not pop python process
6722 buffer.
6723
32770973 67242012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6725
6726 * notifications.el (notifications-on-action-signal)
6727 (notifications-on-closed-signal): Use also the bus address for the map.
6728 (notifications-notify, notifications-close-notification)
fc0c31f8 6729 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6730
86332df2
TH
67312012-07-27 Tassilo Horn <tsdh@gnu.org>
6732
4250fdf5
SM
6733 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6734 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6735 ctable macro.
6736 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6737 labels written in keyvals syntax.
6738
ca1302a4
JB
67392012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6740
6741 * calc/calccomp.el (math-compose-expr): Use parentheses when
6742 there is a product in the denominator of a fraction.
6743
f8b91036
EZ
67442012-07-26 Eli Zaretskii <eliz@gnu.org>
6745
6746 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6747 ($(lisp)/calendar/diary-loaddefs.el)
6748 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6749 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6750 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6751 rewritten while the autoload files are built at the same time,
6752 which needs to load subdirs.el.
6753
c8e5a42c
MR
67542012-07-26 Martin Rudalics <rudalics@gmx.at>
6755
6756 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6757 (mouse-drag-line): Don't exit tracking when a switch-frame or
6758 switch-window event occurs (Bug#12006).
6759
670d85ea
SM
67602012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * mouse.el (popup-menu): Fix last change.
6763
7abaf5cc
SM
67642012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 Autoload from Lisp with more care. Follow aliases when looking for
6767 function properties.
6768 * subr.el (autoloadp): New function.
6769 (symbol-file): Use it.
6770 (function-get): New function.
6771 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6772 autoload-do-load.
6773 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6774 (lisp-indent-function):
6775 * emacs-lisp/gv.el (gv-get):
6776 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6777 * emacs-lisp/byte-opt.el (byte-optimize-form):
6778 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6779 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6780 Use function-get.
6781 * emacs-lisp/cl.el: Don't propagate function properties any more.
6782
6783 * speedbar.el (speedbar-add-localized-speedbar-support):
6784 * emacs-lisp/disass.el (disassemble-internal):
6785 * desktop.el (desktop-load-file):
6786 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6787 (describe-function-1):
6788 * emacs-lisp/find-func.el (find-function-noselect):
6789 * emacs-lisp/elp.el (elp-instrument-function):
6790 * emacs-lisp/advice.el (ad-has-proper-definition):
6791 * apropos.el (apropos-safe-documentation, apropos-macrop):
6792 * emacs-lisp/debug.el (debug-on-entry):
6793 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6794 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6795 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6796
b1364986
AA
67972012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6798
6799 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6800 function, not an obsolete variable (Bug#12046).
6801
67ada220
AS
68022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6803
6804 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6805
f08088e3
CS
68062012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6807
6808 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6809 window only if it is still live (Bug#12034).
6810
8137e7b3
MR
68112012-07-25 Martin Rudalics <rudalics@gmx.at>
6812
6813 * subr.el (redirect-frame-focus): Add advertised calling
6814 convention (Bug#12030).
6815
09ae5da1
PE
68162012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6817
6818 Prefer typical American spelling for "acknowledgment".
6819 * vc/add-log.el (change-log-acknowledgment): Rename from
6820 change-log-acknowledgement, with an alias for the old name.
6821
3cc5a3a8
JB
68222012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6823
6824 * calc-alg.el (math-simplify-divide): Don't cross multiply
6825 in an equation when the lhs is a variable.
6826
b7af7f62
JD
68272012-07-24 Julien Danjou <julien@danjou.info>
6828
6829 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6830 Remove, unused.
6831
ec1b09b1
EZ
68322012-07-23 Eli Zaretskii <eliz@gnu.org>
6833
6834 * startup.el (command-line): Don't display an empty user name in
6835 the error message about non-existent home directory, when
6836 init-file-user was set to an empty string. See
6837 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6838 for the details and context.
6839
b525fd8a
VB
68402012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6841
6842 * ses.el (ses-cell-formula-aset): New macro.
6843 (ses-cell-references-aset): New macro.
6844 (ses-cell-p): New function.
6845 (ses-rename-cell): Do no longer rely on complex operations like
6846 ses-cell-set-formula or ses-set-cell to change the cell and handle
6847 the undo at the same time, but rather use lower level new macros
6848 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6849 the undo directly. Refresh the mode line.
b525fd8a 6850
2c73e345
LL
68512012-07-21 Leo Liu <sdl.web@gmail.com>
6852
670d85ea
SM
6853 * progmodes/cc-cmds.el (c-defun-name):
6854 Use match-string-no-properties instead for consistency.
2c73e345 6855
542dfbde
LL
68562012-07-20 Leo Liu <sdl.web@gmail.com>
6857
3646bcd6
LL
6858 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6859 (Bug#7879)
6860
542dfbde
LL
6861 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6862
25721031
CY
68632012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6866 * progmodes/bug-reference.el, misearch.el: Provide themselves
6867 (bug#11915).
6868
6869 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6870 of narrowed buffer (bug#11966).
6871
316e68a7
VB
68722012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6873
6874 * ses.el (ses-rename-cell): Set new name also in reference list of
6875 cells of which the renamed cell depends.
6876
bbf0e7d9
MY
68772012-07-20 Masatake YAMATO <yamato@redhat.com>
6878
6879 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6880 to check whether menu-bar is shown or not. If not shown,
6881 show the menu-bar as a popup menu instead of using tmm.
6882 * mouse.el (popup-menu): Accept `point' as `position' argument.
6883
c28662a8
DG
68842012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6885
6886 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6887 up inside string symbol literal (bug#11923).
6888
87ab808f
EZ
68892012-07-20 Eli Zaretskii <eliz@gnu.org>
6890
6891 * startup.el (fancy-startup-text): Read the whole tutorial, not
6892 just its first 256 bytes. Prevents gibberish in display of the
6893 tutorial title.
6894
89dea803
DA
68952012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6896
6897 Drop idle buffer compaction due to an absence of the
6898 proved efficiency.
6899 * compact.el: Remove.
6900
8a4e6db8
SS
69012012-07-19 Sam Steingold <sds@gnu.org>
6902
6903 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6904 vc-bzr-pull & vc-bzr-merge-branch.
6905 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6906 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6907 for consistency with compilation-error-regexp-alist.
6908 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6909 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6910 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6911 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6912
5db81e33
SM
69132012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/chart.el: Use lexical-binding.
6916 (chart-emacs-storage): Don't hardcode the list of entries.
6917
5b835e1d
DA
69182012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6919
6920 Next round of tweaks caused by Fgarbage_collect changes.
6921 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6922
9cd47b72
DA
69232012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6924
6925 Compact buffers when idle.
6926 * compact.el: New file.
6927
1d6fc0df
SM
69282012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * subr.el (eventp): Presume that if it looks vaguely like an event,
6931 it's an event (bug#10190).
6932
1d29cc7d
FEG
69332012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6934
6935 Enhancements to ppss related code (thanks Stefan).
6936 * progmodes/python.el (python-indent-context)
6937 (python-indent-calculate-indentation, python-indent-dedent-line)
6938 (python-indent-electric-colon, python-nav-forward-block)
6939 (python-mode-abbrev-table)
1d6fc0df 6940 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6941 for ppss context.
6942 (python-info-continuation-line-p): Cleanup.
6943 (python-info-ppss-context): Do not catch 'quote.
6944 (python-info-ppss-context-type)
6945 (python-info-ppss-comment-or-string-p): Simplify.
6946
d583cbe6
FEG
69472012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6948
6949 * progmodes/python.el: Enhancements to eldoc support.
6950 (python-info-current-symbol): New function.
6951 (python-eldoc-at-point): Use python-info-current-symbol.
6952 (python-info-current-defun): Fix cornercase on first defun scan.
6953 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6954 and signal error when no inferior python process is available.
6955
eceb6feb
DG
69562012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6957
6958 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6959 assume it's always t.
6960 (vc-git-registered): Remove caching, the function is only called
6961 once.
6962 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6963
4c8ff0fe
CY
69642012-07-18 Chong Yidong <cyd@gnu.org>
6965
19fb7186
CY
6966 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6967
9587c688
CY
6968 * simple.el (count-words): Report on narrowing (Bug#9959).
6969
0fe776a1
CY
6970 * bindings.el: Bind M-= to count-words.
6971
4c8ff0fe
CY
6972 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6973
7f5331cc
MY
69742012-07-18 Masatake YAMATO <yamato@redhat.com>
6975
6976 * progmodes/sh-script.el (sh-imenu-generic-expression):
6977 Capture a function with `function' keyword and without parentheses
6978 like "function FOO" (bug#11856).
6979
2dc2a609
TH
69802012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6981
6982 * window.el (split-window-sensibly): Make WINDOW argument
6983 optional.
6984
439f7677
CY
69852012-07-18 Chong Yidong <cyd@gnu.org>
6986
9aeb25a6
CY
6987 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6988
439f7677
CY
6989 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6990 and make C-x 8 RET exit isearch (Bug#11439).
6991
6992 * international/iso-transl.el: Move isearch-mode-map key
6993 definitions to isearch.el.
6994
12999ea8
SM
69952012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6998 (eieio-defclass): Use gv-define-setter when possible.
6999
3ab6e069
DA
70002012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7001
7002 Reflect recent changes in Fgarbage_collect.
7003 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7004 reflect new format of data returned by Fgarbage_collect.
7005
0a60bc10
FEG
70062012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7007
7008 New utility functions + python-info-ppss-context fix (Bug#11910).
7009 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7010 (python-info-ppss-comment-or-string-p): New functions.
7011 (python-info-ppss-context): Small fix for string check.
7012
6dafa0d5
JL
70132012-07-17 Juri Linkov <juri@jurta.org>
7014
7015 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7016 (dired-do-async-shell-command): Don't add `*' at the end of the
7017 command (Bug#11815).
7018 (dired-do-shell-command): Doc fix.
7019 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7020 Join the individual commands using either "&" or ";" as the
7021 separator depending on the values of these trailing characters.
7022 At the end re-add the trailing "&". (Bug#10598)
7023
7024 * simple.el (async-shell-command): Sync the interactive spec with
7025 `shell-command'. Doc fix.
7026 (shell-command): Doc fix.
7027
b19dd9d1
JL
70282012-07-17 Juri Linkov <juri@jurta.org>
7029
7030 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7031
bcdc27d7 70322012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7033
bcdc27d7 7034 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7035 * progmodes/python.el (python-nav-beginning-of-statement):
7036 Rename from python-nav-statement-start.
bcdc27d7
FEG
7037 (python-nav-end-of-statement): Rename from
7038 python-nav-statement-end.
7039 (python-nav-beginning-of-block): Rename from
7040 python-nav-block-start.
7041 (python-nav-end-of-block): Rename from python-nav-block-end.
7042
191da00e
FEG
70432012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7044
7f5331cc
MY
7045 * progmodes/python.el (python-shell-send-string-no-output):
7046 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7047 future interactions (Bug#11868).
7048
4dc7c8d5 70492012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7050
88ecaf8f
SM
7051 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7052
ef501ef0
SM
7053 * emacs-lisp/elint.el (elint-find-args-in-code):
7054 Use help-function-arglist, so as to handle lexical byte-code.
7055
aa7aaf8f
SM
7056 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7057 change (bug#11826).
7058
45fd731c
SM
70592012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7060
2143fa32
SM
7061 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7062 Avoid spuriously marking the buffer as modified because of c-is-sws.
7063
efc26dbe
SM
7064 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7065 as not-a-comment (bug#11946).
7066
f5695c9a
SM
7067 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7068 for uninterned vars.
7069
7070 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7071 Use read-event since we don't really want to read chars but bytes.
7072
45fd731c
SM
7073 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7074 $$..$$ but also $..$ using regexps (bug#11953).
7075 Use tex-verbatim for \url and \path.
7076 (tex-font-lock-keywords): Define as defconst like the others.
7077 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7078
ddfc8813
RK
70792012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7080
7081 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7082 alias for insert-char.
7083
758e556a
FEG
70842012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7085
7086 * progmodes/python.el: Simplified imenu implementation.
7087 (python-nav-jump-to-defun): Remove command.
7088 (python-mode-map): Use `imenu' instead.
7089 (python-nav-list-defun-positions-cache)
7090 (python-imenu-include-defun-type, python-imenu-make-tree)
7091 (python-imenu-subtree-root-label, python-imenu-index-alist):
7092 Remove vars.
7093 (python-nav-list-defun-positions, python-nav-read-defun)
7094 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7095 (python-imenu-make-tree, python-imenu-create-index):
7096 Remove functions.
758e556a
FEG
7097 (python-mode): Update to interact with imenu by setting
7098 `imenu-extract-index-name-function' only.
7099
032d23ab
FEG
71002012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7101
7102 * progmodes/python.el: Enhancements to navigation commands.
7103 (python-nav-backward-sentence)
7104 (python-nav-forward-sentence): Remove.
7105 (python-nav-backward-statement, python-nav-forward-statement)
7106 (python-nav-statement-start, python-nav-statement-end)
7107 (python-nav-backward-block, python-nav-forward-block)
7108 (python-nav-block-start, python-nav-block-end)
7109 (python-nav-forward-sexp-function)
7110 (python-info-current-line-comment-p)
7111 (python-info-current-line-empty-p): New functions.
7112 (python-indent-context): Use `python-nav-statement-start'.
7113
01795a1b
MA
71142012-07-16 Michael Albinus <michael.albinus@gmx.de>
7115
9328d9aa
MA
7116 * eshell/em-ls.el (eshell/ls): Use `apply'.
7117
7118 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7119 multi-hops, instead of Tramp internals.
7120
01795a1b
MA
7121 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7122
7123 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7124 when F1 and F2 are located on different hosts.
7125
63408057
CY
71262012-07-14 Chong Yidong <cyd@gnu.org>
7127
7128 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7129 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7130 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7131 (xterm-mouse--read-event-sequence-1000)
7132 (xterm-mouse--read-event-sequence-1006): New functions. For old
7133 mouse protocol, handle M-mouse-X events correctly.
7134 (xterm-mouse-event): New arg specifying mouse protocol.
7135 (turn-on-xterm-mouse-tracking-on-terminal)
7136 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7137 sequence to toggle extended coordinates on newer XTerms.
7138 This appears to be harmless on terminals which do not support this.
63408057 7139
cd276f6e
LL
71402012-07-14 Leo Liu <sdl.web@gmail.com>
7141
28ca98ac
LL
7142 Add fringe bitmap indicators for flymake. (Bug#11253)
7143 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7144 (flymake-make-overlay): New arg BITMAP.
7145 (flymake-error-bitmap, flymake-warning-bitmap)
7146 (flymake-fringe-indicator-position): New user variables.
7147
cd276f6e
LL
7148 * fringe.el: New bitmap exclamation-mark.
7149
04408072
JD
71502012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7151
7152 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7153 also (Bug#7879).
7154
b5cf7fc4
CY
71552012-07-14 Chong Yidong <cyd@gnu.org>
7156
7157 * electric.el (electric-pair-post-self-insert-function): Fix pair
7158 insertion in empty-region case (Bug#11520).
7159
be755c79
RT
71602012-07-14 Chong Yidong <cyd@gnu.org>
7161
45fd731c
SM
7162 * bindings.el: Consolidate ctl-x-r-map bindings.
7163 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7164
7165 * rect.el, register.el: Move bindings to bindings.el.
7166
71672012-07-14 Reuben Thomas <rrt@sc3d.org>
7168
7169 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7170
7f5b3198
AS
71712012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7172
7173 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7174
97662200
JB
71752012-07-13 Juanma Barranquero <lekktu@gmail.com>
7176
80185fed
JB
7177 * bindings.el (top): Use `mapc' instead of `mapcar'.
7178
97662200
JB
7179 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7180
2bb1ae55
MA
71812012-07-13 Michael Albinus <michael.albinus@gmx.de>
7182
7183 * progmodes/sql.el (sql-comint): Suppress the check for program on
7184 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7185 (Bug#11908)
7186
dea31bd3
CY
71872012-07-13 Chong Yidong <cyd@gnu.org>
7188
7189 * bindings.el: Assign a non-nil permanent-local property to
7190 per-buffer variables which lack a default value (Bug#11930).
7191
7192 * help-fns.el (describe-variable): In the "automatically becomes
7193 local" notice, take note of permanent-local variables.
7194
b68b3337
CY
71952012-07-13 Chong Yidong <cyd@gnu.org>
7196
7197 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7198 to allow printing the message when called from Lisp.
7199
7200 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7201 Remove toggle-read-only.
7202
7203 * bs.el (bs-toggle-readonly):
45fd731c
SM
7204 * buff-menu.el (Buffer-menu-toggle-read-only):
7205 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7206
7207 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7208 Remove with-no-warnings around toggle-read-only.
7209 (ffap-read-only, ffap-read-only-other-window)
7210 (ffap-read-only-other-frame): Callers changed.
7211
7212 * help-mode.el: Don't require view package.
7213 (help-mode-finish): Set buffer-read-only instead of calling
7214 toggle-read-only.
7215
7216 * bindings.el (mode-line-toggle-read-only):
7217 * dired.el (dired-toggle-read-only):
7218 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7219 with non-nil second arg.
7220
7221 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7222 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7223 directly.
7224
56bc1586
EZ
72252012-07-12 Eli Zaretskii <eliz@gnu.org>
7226
7227 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7228 not incf.
7229
a464a6c7
SM
72302012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7231
7232 More CL cleanups and reduction of use of cl.el.
7233 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7234 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7235 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7236 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7237 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7238 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7239 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7240 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7241 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7242 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7243 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7244 * eshell/em-cmpl.el, eshell/em-banner.el:
7245 * calendar/parse-time.el: Use cl-lib.
7246 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7247 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7248 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7249 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7250 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7251 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7252 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7253 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7254 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7255 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7256 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7257 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7258 `lambda' rather than with `quote'.
7259 (eshell-do-opt): Adjust accordingly.
7260 (eshell-process-option): Simplify.
7261 * eshell/esh-var.el:
7262 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7263 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7264 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7265 to `pcase--dontcare'.
7266 * emacs-lisp/cl.el (labels): Mark obsolete.
7267 (cl--letf, letf): Move to cl-lib.
7268 (cl--letf*, letf*): Remove.
7269 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7270 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7271 (cl-progv): Rewrite.
7272 (cl--letf, cl-letf): Move from cl.el.
7273 (cl-letf*): New macro.
7274 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7275
7ad4afe1
MA
72762012-07-11 Michael Albinus <michael.albinus@gmx.de>
7277
7278 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7279
9af57756
CY
72802012-07-11 Chong Yidong <cyd@gnu.org>
7281
7282 * vc/log-edit.el (log-edit-vc-backend): New variable.
7283 (log-edit): Doc fix.
7284
7285 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7286 argument of log-edit to set up all local variables.
7287 (vc-start-logentry): New optional arg specifying VC backend.
7288
7289 * vc/vc.el (vc-checkin): Use it.
7290 (vc-deduce-fileset): Handle Log Edit buffers.
7291 (vc-diff): Make first argument optional too.
7292
7293 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7294
8477cc7a
MA
72952012-07-10 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7298 command, just in case. The function is not needed anymore.
7299 (eshell-external-command): Do not call `eshell-remote-command'.
7300
19faa8e8
SM
73012012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7302
f58e0fd5
SM
7303 Reduce use of (require 'cl).
7304 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7305 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7306 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7307 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7308 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7309 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7310 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7311 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7312 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7313 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7314 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7315 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7316 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7317 (byte-compile-unfold-bcf, byte-compile-check-variable):
7318 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7319 (byte-compile-nilconstp):
7320 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7321 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7322
2519d43a
SM
7323 * emacs-lisp/gv.el (cond): Make it a valid place.
7324 (if): Simplify slightly.
7325
19faa8e8
SM
7326 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7327 (pcase--self-quoting-p): New function.
7328 (pcase--u1): Use it.
7329
c4907a5e
GM
73302012-07-10 Glenn Morris <rgm@gnu.org>
7331
7332 * emacs-lisp/authors.el (authors-fixed-entries):
7333 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7334
c4444d16
PE
73352012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7336
7337 Rename configure.in to configure.ac (Bug#11603).
7338 * emacs-lisp/authors.el (authors-canonical-file-name):
7339 * progmodes/autoconf.el (autoconf-mode):
7340 Prefer configure.ac to configure.in.
7341
d75be97d
CY
73422012-07-08 Chong Yidong <cyd@gnu.org>
7343
01ac65bd
CY
7344 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7345 Implement the mouse-1-click-follows-link handling properly.
7346
7347 * info.el (Info-link-keymap): Use follow-link mechanism for
7348 header-line links (Bug#374).
7349
d75be97d
CY
7350 * simple.el (deactivate-mark): Do not set the primary selection
7351 if another program has acquired it (Bug#11772).
7352
87a92845 73532012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7354
7355 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7356 (woman-decode-region): Replace escaped-escapes without destroying
7357 bold or underline (Bug#11552).
87a92845 7358 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7359
621b9d6c
CY
73602012-07-07 Chong Yidong <cyd@gnu.org>
7361
7362 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7363 (interprogram-cut-function, interprogram-paste-function):
7364 Mention that we typically mean the clipboard.
621b9d6c 7365
133a11fc
GM
73662012-07-06 Glenn Morris <rgm@gnu.org>
7367
0d27a45e
GM
7368 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7369
133a11fc
GM
7370 * files.el (toggle-read-only): Restrict message to interactive use.
7371
07b151f1
MA
73722012-07-06 Michael Albinus <michael.albinus@gmx.de>
7373
7374 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7375
7376 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7377
211b896b
GM
73782012-07-06 Glenn Morris <rgm@gnu.org>
7379
50394322
GM
7380 * Makefile.in (compile-one-process): Rename from "recompile".
7381
211b896b
GM
7382 * Makefile.in (bzr-update): "compile" is the same as "recompile
7383 autoloads", but parallelizable, so use that instead.
7384
4737eec9
DG
73852012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7386
7387 * window.el (quit-window): Always restore window height when
8137e7b3 7388 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7389
226c3633 73902012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7391
7392 * simple.el (kill-whole-line): Doc tweak.
7393
226c3633 73942012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7395
7396 * files.el (file-relative-name): Compare file names
7397 case-insensitively if on MS-Windows or MS-DOS, or if
7398 read-file-name-completion-ignore-case is non-nil. Don't use
7399 case-fold-search for this purpose. (Bug#11827)
7400
4dc7c8d5
SM
74012012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7402
7403 * calendar/cal-dst.el (calendar-current-time-zone):
7404 Return calendar-current-time-zone-cache if non-nil.
7405
74062012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 74072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7408
19faa8e8
SM
7409 * calendar/cal-dst.el (calendar-current-time-zone):
7410 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7411
60198fc9
GM
74122012-07-06 Glenn Morris <rgm@gnu.org>
7413
7414 * Makefile.in (cvs-update): Remove old alias.
7415
957b3189
MA
74162012-07-05 Michael Albinus <michael.albinus@gmx.de>
7417
7418 Sync with Tramp 2.2.6-pre.
7419
7420 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7421 compatible declaration.
7422
19faa8e8
SM
7423 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7424 Protect `list-load-path-shadows' call.
957b3189
MA
7425
7426 * net/tramp-compat.el (top): Require packages, which aren't
7427 autoloaded anymore for XEmacs. Protect call of
7428 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7429 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7430 it hurts at least for SXEmacs.
7431 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7432 standard-value for `temporary-file-directory'.
7433
7434 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7435 Redirect stderr to /dev/null.
7436 (tramp-sh-handle-write-region): uid and gid can be floats.
7437 Reported by Russell Sim <russell.sim@gmail.com>.
7438 (tramp-sh-handle-vc-registered): Hide errors.
7439 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7440 and `start-file-process'.
7441 (tramp-maybe-open-connection): Check also whether `non-essential'
7442 is bound.
7443
566df3fc
CY
74442012-07-04 Chong Yidong <cyd@gnu.org>
7445
7446 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7447 (xml-parse-tag): Likewise, and avoid changing entity tables.
7448 (xml-syntax-table): Define from scratch, making sure not to give
7449 x2000 and other Unicode spaces whitespace syntax, since those are
7450 not spaces in XML.
7451 (xml-parse-fragment): Delete unused function.
7452 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7453 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7454 (xml-entity-ref, xml-pe-reference-re)
7455 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7456 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7457 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7458 (xml-entity-value-re): Use syntax references in regexps where
7459 possible; no need to define inside a let-binding.
7460 (xml-parse-dtd): Use xml-pe-reference-re.
7461 (xml-entity-or-char-ref-re): New defconst.
7462 (xml-parse-string, xml-substitute-special): Use it.
7463
30eabd7a
SM
74642012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7465
0781098a
SM
7466 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7467 (find-file--read-only): New function.
7468 (find-file-read-only, find-file-read-only-other-window)
7469 (find-file-read-only-other-frame): Use it.
7470 (insert-file-contents-literally): Don't `fset'.
7471 (get-free-disk-space): Use locate-dominating-file.
7472
b5771c0d
SM
7473 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7474 function is already compiled.
7475
30eabd7a
SM
7476 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7477
b4886f6e
MA
74782012-07-03 Michael Albinus <michael.albinus@gmx.de>
7479
7480 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7481 files on the same host.
7482
b9d82339
AS
74832012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7484
7485 * help-fns.el (describe-function-1): Only call
7486 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7487
a76e6535
CY
74882012-07-03 Chong Yidong <cyd@gnu.org>
7489
7490 * xml.el: Protect parser against XML bombs.
7491 (xml-entity-expansion-limit): New variable.
7492 (xml-parse-string, xml-substitute-special): Use it.
7493 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7494
b544fef2
GM
74952012-07-03 Glenn Morris <rgm@gnu.org>
7496
7497 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7498 Allow linking to specific messages in debbugs reports (eg 123#5).
7499
a7aef6f5
CY
75002012-07-02 Chong Yidong <cyd@gnu.org>
7501
7502 * xml.el: Fix entity and character reference expansion, allowing
7503 them to expand into markup as per XML spec.
7504 (xml-default-ns): New variable.
7505 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7506 (xml-parse-region): Make first two arguments optional.
7507 Discard text properties.
7508 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7509 All callers changed.
a7aef6f5
CY
7510 (xml-parse-tag): Call xml-parse-tag-1. For backward
7511 compatibility, this function should not modify buffer contents.
7512 (xml-parse-tag-1): Fix opening-tag regexp.
7513 (xml-parse-string): Rewrite, handling entity and character
7514 references properly.
7515 (xml--entity-replacement-text): Signal an error if a parameter
7516 entity is undefined.
7517
3df31c9f
SM
75182012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7519
2b5208f1
SM
7520 * comint.el (comint-output-filter): Filter out repeated prompts.
7521
3df31c9f
SM
7522 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7523 and file-name-absolute-p.
7524 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7525 internal calls.
7526
e3ac1281
PE
75272012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7528
7529 Spelling fixes.
7530 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7531 Rename from byte-compile--refiy-function. All uses changed.
7532
fbf2e7ad
CY
75332012-07-01 Chong Yidong <cyd@gnu.org>
7534
7535 * xml.el (xml--parse-buffer): New function. Move most of
7536 xml-parse-region here.
7537 (xml-parse-region): Copy region into a temporary buffer, since
7538 parameter entity substitution requires changing buffer contents.
7539 Use xml--parse-buffer.
7540 (xml-parse-file): Use xml--parse-buffer.
7541 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7542 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7543
9bf0aa15
GM
75442012-06-30 Glenn Morris <rgm@gnu.org>
7545
bbce2853
GM
7546 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7547
9bf0aa15
GM
7548 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7549 Remove outdated and unnecessary dbus declarations.
7550
0d23c240
EZ
75512012-06-30 Eli Zaretskii <eliz@gnu.org>
7552
7553 * emacs-lisp/timer.el (timer-until): Subtract results of
7554 float-time, instead of taking float-time of the result of
7555 time-subtract, since float-time signals an error for negative time
7556 arguments.
7557
b3218de1
CY
75582012-06-30 Chong Yidong <cyd@gnu.org>
7559
7560 * xml.el (xml-*-re): Convert defvars into defconsts, and
7561 eval-and-compile them so eval-and-compile works on derivatives.
7562 (xml--entity-replacement-text): Use eval-and-comple.
7563
a40c87a0
MA
75642012-06-30 Michael Albinus <michael.albinus@gmx.de>
7565
7566 * vc/vc-git.el (vc-git-registered): Use cache property
7567 `git-registered'.
7568 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7569 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7570 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7571
ac87de97
DG
75722012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7573
7574 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7575 removed (likely outside Emacs). (Bug#11757)
ac87de97 7576
ac10fe06
SM
75772012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7578
3df31c9f 7579 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7580
7f3fbd5d
CY
75812012-06-30 Chong Yidong <cyd@gnu.org>
7582
7583 * xml.el: Implement XML parameter entities.
7584 (xml-parameter-entity-alist): New variable.
7585 (xml-parse-region, xml-parse-fragment): Preserve previous values
7586 of xml-entity-alist and xml-parameter-entity-alist, so that
7587 repeated calls on different documents do not change them.
7588 (xml-parse-tag): Fix doctype regexp.
7589 (xml--entity-replacement-text): New function.
7590 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7591 properly requires url retrieval which is unimplemented.
7592 (xml-escape-string): Doc fix.
7593
3cfbebba
SM
75942012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7597
2af3565e
DA
75982012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7599
7600 * fringe.el (fringe-mode): Doc fix.
7601
929df0e7
MA
76022012-06-29 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7605 is non-nil.
7606 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7607 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7608
c8d3a25c 76092012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7610
c8d3a25c
GM
7611 * calendar/cal-dst.el (calendar-current-time-zone):
7612 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7613
c8d3a25c 76142012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7615
7616 * progmodes/which-func.el (which-func-format):
7617 Add mouse-face. (Bug#11698)
7618
c8d3a25c
GM
76192012-06-29 Leo Liu <sdl.web@gmail.com>
7620
7621 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7622
76232012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * minibuffer.el (minibuffer-confirm-exit-commands):
7626 Add completion-at-point (bug#11725).
7627
76282012-06-29 Glenn Morris <rgm@gnu.org>
7629
7630 * progmodes/f90.el (f90-font-lock-keywords-2):
7631 Add some preprocessor elements. (Bug#10499)
7632
76332012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7636 Use syntax-propertize (bug#11739).
7637
2badeec4
JB
76382012-06-28 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7641
ae4969c2
JD
76422012-06-28 Julien Danjou <julien@danjou.info>
7643
7644 * term.el (term-handle-colors-array): Use a set of new faces to
7645 color the terminal. Also uses :inverse-video property.
7646 (term-default-fg-color): Set to nil by default, deprecate in favor
7647 of `term-face'.
7648 (term-default-bg-color): Set to nil by default, deprecate in favor
7649 of `term-face'.
7650 (term-current-face): Use `term-face' by default.
7651 (term-bold-attribute): Variable deleted.
7652
1c9bd870
GM
76532012-06-28 Glenn Morris <rgm@gnu.org>
7654
7655 * simple.el (completion-list-mode-finish):
7656 Don't use toggle-read-only. (Since completion-list-mode has
7657 a special mode-class, it wasn't doing anything extra anyway.)
7658
c207708c
SM
76592012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 Make inlining of other-mode interpreted functions work (bug#11799).
7662 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7663 (byte-compile): Use it to fix compilation of lexical-binding closures.
7664 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7665 function, if needed.
7666
3fd56834
SM
76672012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7668
04901786
SM
7669 * help-mode.el (help-make-xrefs): Don't just withstand
7670 cyclic-variable-indirection but any error in documentation-property.
7671
1ec4b7b2
SM
7672 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7673 memory use.
7674 * bindings.el (bindings--define-key): New function.
7675 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7676 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7677 * bindings.el: Use it to purecopy define-key bindings.
7678
e309e2a5
SM
7679 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7680
d5c6faf9
SM
7681 * emacs-lisp/cl.el (flet): Mark obsolete.
7682 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7683 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7684 * progmodes/js.el (js-c-fill-paragraph):
7685 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7686 (ebrowse-switch-member-buffer-to-derived-class):
7687 * play/5x5.el (5x5-solver): Use cl-flet.
7688
6e9590e2
SM
7689 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7690 (cl--symbol-function): New macro.
7691 (cl--letf, cl--letf*): Use it.
7692
3fd56834
SM
7693 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7694 Strip "toggle-" if any.
7695
35ff222c
GM
76962012-06-27 Glenn Morris <rgm@gnu.org>
7697
1ba6038a
GM
7698 * info.el (Info-default-directory-list): Move here from paths.el.
7699 * paths.el: Remove file, which is now empty.
7700 * loadup.el: No longer load "paths".
7701
0ea0e51b
GM
7702 * custom.el (custom-initialize-delay): Doc fix.
7703
35ff222c
GM
7704 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7705 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7706 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7707 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7708 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7709 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7710 * eshell/eshell.el (eshell-defgroup): Remove alias.
7711
c89926a5
CY
77122012-06-27 Chong Yidong <cyd@gnu.org>
7713
7714 * help.el (help-enable-auto-load): New variable.
7715
7716 * help-fns.el (help-fns--autoloaded-p): New function.
7717 (describe-function-1): Refer to a function as "autoloaded" if it
7718 was autoloaded at any time in the past. Perform autoloading if
7719 help-enable-auto-load is non-nil.
7720
cc06e7e7
EZ
77212012-06-26 Eli Zaretskii <eliz@gnu.org>
7722
7723 * makefile.w32-in (compile, compile-always): Depend on
7724 update-subdirs, not on subdirs.el. Otherwise, several different
7725 sub-targets of 'bootstrap' running in parallel could
7726 simultaneously write to subdirs.el, producing a garbled file.
7727
d2c32364
SS
77282012-06-26 Sam Steingold <sds@gnu.org>
7729
7730 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7731 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7732 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7733 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7734 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7735 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7736 * textmodes/tex-mode.el: Use it.
7737 Did not touch cedet and org because they are maintained elsewhere.
7738
5cf983b2
MR
77392012-06-26 Martin Rudalics <rudalics@gmx.at>
7740
7741 * calendar/calendar.el (calendar-exit): Don't try to delete or
7742 iconify last frame. See:
7743 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7744
8c4f2952
JD
77452012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7746
7747 * server.el (server-process-filter): Remember dir in the
7748 process's `server-client-directory' properties.
7749
772b2e2c
CY
77502012-06-24 Chong Yidong <cyd@gnu.org>
7751
7752 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7753 non-tag text.
7754
711b11e1
JB
77552012-06-23 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7758
dc5d230c
SM
77592012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * help-fns.el (describe-variable): Don't croak when doc is not found.
7762 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7763 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7764 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7765 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7766 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7767 ((lambda ..) ..).
7768 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7769
136e1c1d
CY
77702012-06-23 Chong Yidong <cyd@gnu.org>
7771
e8c1cabf
CY
7772 * info.el (Info-mouse-follow-link): Accept symbol values of
7773 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7774 (Info-fontify-node): Use Info-link-keymap for all navigation
7775 buttons, with link-args property to perform the desired action.
7776 (Info-link-keymap): Doc fix.
7777 (Info-next-link-keymap, Info-prev-link-keymap)
7778 (Info-up-link-keymap): Delete now-unused keymaps.
7779
0e9e6c6a
CY
77802012-06-23 Chong Yidong <cyd@gnu.org>
7781
05e89fea
CY
7782 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7783
0e9e6c6a
CY
7784 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7785 system abbrevs.
7786
7787 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7788
e33c6771
SM
77892012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7790
b68581e2
SM
7791 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7792 (bug#11719).
7793
e33c6771
SM
7794 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7795 the requote function doesn't work properly (bug#11714).
7796
7117e105
GM
77972012-06-23 Glenn Morris <rgm@gnu.org>
7798
7799 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7800
36cec983
SM
78012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 Further GV/CL cleanups.
7804 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7805 gv-expander.
7806 (gv--defun-declaration): New function.
7807 (defun-declarations-alist): Use it.
7808 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7809 (gv-place): Autoload.
7810 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7811 original definition of dotimes and dolist.
7812 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7813 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7814 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7815 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7816 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7817 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7818 to the function's definition.
7819 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7820 * window.el:
7821 * files.el:
7822 * faces.el:
7823 * env.el: Don't use CL.
7824
d35af63c
PE
78252012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7826
7827 Support higher-resolution time stamps (Bug#9000).
7828
7829 * calendar/time-date.el (with-decoded-time-value): New arg
7830 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7831 (encode-time-value): New optional arg PICO. New type 3.
7832 (time-to-seconds) [!float-time]: Support the new picoseconds
7833 component if it's used.
7834 (seconds-to-time, time-subtract, time-add):
7835 Support ps-resolution time stamps as well.
7836
7837 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7838 (timerp): Timer vectors now have length 9, not 8.
7839 (timer--time): Support new-style (4-part) time stamps.
7840 (timer-next-integral-multiple-of-time): Time stamps now have
7841 picosecond resolution, so take a bit more care about rounding.
7842 (timer-relative-time, timer-inc-time): New optional arg psecs.
7843 (timer-set-time-with-usecs): Set psecs to 0.
7844 (timer--activate): Check psecs component, too.
7845
7846 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7847
ac77b21a
SM
78482012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7849
f143bfe3
SM
7850 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7851 Move the non-essential binding to the post/pre-command-hook where it is
7852 more obviously correct.
7853
ac77b21a
SM
7854 * subr.el (read-passwd): Don't use a history at all.
7855 * savehist.el (savehist-save): Remove password saved accidentally
7856 because of the above bug.
7857
76386c5a
BG
78582012-06-22 Bastien Guerry <bzg@gnu.org>
7859
7860 * files.el (toggle-read-only): Display a message telling whether
7861 the buffer is read-only or not (bug#11726).
7862
2ee3d7f0
SM
78632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * emacs-lisp/gv.el: New file.
7866 * subr.el (push, pop): Extend to generalized variables.
7867 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7868 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7869 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7870 gv-define-simple-setter, and gv-define-expander.
7871 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7872 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7873 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7874 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7875 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7876 gv-letplace.
7877 (cl-defstruct): Don't define setf-method any more.
7878 * emacs-lisp/cl.el (flet): Don't autoload.
7879 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7880 (define-setf-expander, defsetf, define-modify-macro)
7881 (cl-struct-setf-expander): Move from cl-lib.el.
7882 * emacs-lisp/syntax.el:
7883 * emacs-lisp/ewoc.el:
7884 * emacs-lisp/smie.el:
7885 * emacs-lisp/cconv.el:
7886 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7887 (timer--time): Use gv-define-simple-setter.
7888 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7889 to avoid coding-system problems in subr.el. Adjust all users.
7890 (macroexp--maxsize, macroexp-small-p): New functions.
7891 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7892 * scroll-bar.el (scroll-bar-mode):
7893 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7894 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7895 * winner.el (winner-configuration, winner-make-point-alist)
7896 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7897 * files.el (locate-file-completion-table): Avoid list*.
7898
c5695d1d
CY
78992012-06-22 Chong Yidong <cyd@gnu.org>
7900
7901 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7902 (dired-create-files): Doc fix (Bug#11329).
7903 (dired-do-copy): Doc fix (Bug#11334).
7904 (dired-mark-read-string): Doc fix (Bug#11553).
7905
2ee3d7f0
SM
7906 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7907 Doc fix (Bug#11326).
c5695d1d
CY
7908 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7909 (dired-dwim-target): Doc fix.
7910
7911 * wdired.el (wdired-mode): Doc fix.
7912
89b5595a
GM
79132012-06-22 Glenn Morris <rgm@gnu.org>
7914
575db3f1
GM
7915 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7916 (pcmpl-rpm-cache-stamp-file): New constant.
7917 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7918 (pcmpl-rpm-packages): Optionally cache list of packages.
7919
a4c8dd51
GM
7920 * pcmpl-rpm.el (pcmpl-rpm): New group.
7921 (pcmpl-rpm-query-options): New option.
7922 (pcmpl-rpm-packages): No need to inline it.
7923 Use pcmpl-rpm-query-options.
7924
89b5595a
GM
7925 * calendar/calendar.el (calendar-in-read-only-buffer):
7926 Avoid some needless mode changes.
7927
e76f0800
CY
79282012-06-21 Chong Yidong <cyd@gnu.org>
7929
7930 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7931 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7932 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7933
297a8f1d
CY
79342012-06-20 Chong Yidong <cyd@gnu.org>
7935
7936 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7937
d34c18b1
DR
79382012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7939
7940 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7941 (bug#11201).
7942
32f7f28e
CY
79432012-06-20 Chong Yidong <cyd@gnu.org>
7944
7945 * term.el (term-window-width): Handle the case of a missing right
7946 fringe (Bug#8837).
7947 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7948 (term-mode): Use define-derived-mode. Minor cleanups.
7949 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7950 (term-move-columns, term-insert-char, term-emulate-terminal)
7951 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7952
493c6688
MA
79532012-06-20 Michael Albinus <michael.albinus@gmx.de>
7954
d34c18b1
DR
7955 * net/ange-ftp.el (ange-ftp-get-passwd):
7956 Bind `enable-recursive-minibuffers'.
493c6688
MA
7957 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7958
3f06ecf4
DR
79592012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7960
7961 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7962
68f12411
GM
79632012-06-19 Glenn Morris <rgm@gnu.org>
7964
7965 * progmodes/python.el (python-mode): Derive from prog-mode.
7966
b3820318
KG
79672012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7968
7969 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7970 (edt-user-menu-bar-update-buffers): New functions.
7971 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7972
c6bf3022
CY
79732012-06-19 Chong Yidong <cyd@gnu.org>
7974
7975 * subr.el (with-selected-window): Preserve the selected window's
7976 terminal's top-frame (Bug#4702).
7977
7978 * window.el (save-selected-window): Likewise.
7979
25f09295
SM
79802012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * progmodes/python.el (python-rx-constituents): Move backquote.
7983 (python-skeleton-define, python-define-auxiliary-skeleton):
7984 Use `declare'.
7985
6b11952a
MA
79862012-06-18 Michael Albinus <michael.albinus@gmx.de>
7987
7988 * minibuffer.el (read-file-name-default): Revert the patch from
7989 2012-06-17.
7990
ee4b1330
SM
79912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7994 (pcase--u1, pcase--q1): Don't use apply-partially.
7995
35647f79
GM
79962012-06-18 Glenn Morris <rgm@gnu.org>
7997
7998 * progmodes/python.el (python-proc, python-buffer)
7999 (python-send-receive, python-send-string): Fix obsolete versions.
8000
24b0cff0
MR
80012012-06-18 Martin Rudalics <rudalics@gmx.at>
8002
8003 * window.el (special-display-p): Completely remove stringp
8004 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8005
29855149
MA
80062012-06-17 Michael Albinus <michael.albinus@gmx.de>
8007
8008 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8009
8010 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8011
8012 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8013 * net/tramp-sh.el (tramp-maybe-open-connection):
8014 Throw if `non-essential' is non-nil.
8015
07463363
MR
80162012-06-17 Martin Rudalics <rudalics@gmx.at>
8017
8018 * window.el (special-display-p): Signal an error if BUFFER-NAME
8019 is not a string (Bug#11713).
8020
48d1354e
PE
80212012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8022
8023 * progmodes/python.el (python-info-beginning-of-backslash):
8024 Rename from python-info-beginning-of-backlash, as a spelling fix.
8025
eb4a8a9a
CY
80262012-06-17 Chong Yidong <cyd@gnu.org>
8027
8028 * term.el (term-emulate-terminal): If term-check-size is called,
8029 move point to the process mark without resetting point (Bug#4635).
8030
ddfbf826 80312012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8032
8033 * international/mule-cmds.el (mule-menu-keymap)
8034 (set-language-environment, set-locale-environment): Doc tweaks.
8035
9b0e3eba
AA
80362012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8037
8038 * cus-face.el (custom-face-attributes): Add wave-style underline
8039 attribute.
8040 * faces.el (set-face-attribute): Update docstring to describe
8041 wave-style underline attribute.
8042
771e3eae
CY
80432012-06-16 Chong Yidong <cyd@gnu.org>
8044
8045 * term/xterm.el (terminal-init-xterm): Discard input before
8046 querying background mode (Bug#10959).
8047
7ae2ea10
SM
80482012-06-16 Stefan Merten <smerten@oekonux.de>
8049
8050 * textmodes/rst.el: Added and corrected some comments.
8051 (rst-re-alist-def): Improve symbol syntax.
8052 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8053 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8054 (rst-official-version, rst-official-cvs-rev): Update version
8055 information.
7ae2ea10 8056
b6974efa
JB
80572012-06-15 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8060 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8061
8826d473
GM
80622012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8063
8064 * progmodes/python.el: New python.el merge.
8065 (python-guess-indent): Obsolete var.
8066 (python-indent-guess-indent-offset): New defcustom.
8067 (python-indent): Obsolete var.
8068 (python-indent-offset): New defcustom.
8069 (python-python-command, python-jython-command): Delete var.
8070 (python-shell-interpreter): New defcustom.
8071 (python-pdbtrack-do-tracking-p): Delete var.
8072 (python-pdbtrack-activate): New defcustom.
8073 (python-use-skeletons): Obsolete var.
8074 (python-skeleton-autoinsert): New defcustom.
8075 (inferior-python-filter-regexp, python-continuation-offset)
8076 (python-honour-comment-indentation, python-indent-string-contents)
8077 (python-jython-packages, python-mode-hook)
8078 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8079 (python-shell-prompt-alist)
8080 (python-source-modes): Delete defcustoms.
8081 (python-check-buffer-name, python-eldoc-setup-code)
8082 (python-eldoc-string-code, python-ffap-setup-code)
8083 (python-ffap-string-code, python-fill-comment-function)
8084 (python-fill-decorator-function, python-fill-paren-function)
8085 (python-fill-string-function, python-imenu-include-defun-type)
8086 (python-imenu-make-tree, python-imenu-subtree-root-label)
8087 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8088 (python-shell-compilation-regexp-alist)
8089 (python-shell-completion-module-string-code)
8090 (python-shell-completion-pdb-string-code)
8091 (python-shell-completion-setup-code)
8092 (python-shell-completion-string-code)
8093 (python-shell-enable-font-lock, python-shell-exec-path)
8094 (python-shell-extra-pythonpaths)
8095 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8096 (python-shell-process-environment)
8097 (python-shell-prompt-block-regexp)
8098 (python-shell-prompt-output-regexp)
8099 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8100 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8101 (python-shell-virtualenv-path): New defcustoms.
8102 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8103 (inferior-python-mode-syntax-table, python--prompt-regexp)
8104 (python-buffer, python-command python-python-command)
8105 (python-default-template, python-imports, python-indent-index)
8106 (python-indent-list, python-indent-list-length)
8107 (python-mode-running, python-pdbtrack-is-tracking-p)
8108 (python-preoutput-continuation, python-preoutput-leftover)
8109 (python-preoutput-result, python-preoutput-skip-next-prompt)
8110 (python-prev-dir/file, python-recursing)
8111 (python-saved-check-command, python-version-checked)
8112 (python-which-func-length-limit)
8113 (view-return-to-alist): Delete vars.
8114 (python-check-custom-command, python-dotty-syntax-table)
8115 (python-imenu-index-alist, python-indent-current-level)
8116 (python-indent-dedenters, python-indent-levels)
8117 (python-nav-beginning-of-defun-regexp)
8118 (python-nav-list-defun-positions-cache)
8119 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8120 (python-shell-internal-buffer)
8121 (python-skeleton-available): New vars.
8122 (def-python-skeleton): Delete macro.
8123 (python-skeleton-define): New macro.
8124 (python-define-auxiliary-skeleton, python-rx): New macros.
8125 (python-insert-class): Delete command.
8126 (python-skeleton-class): New command.
8127 (python-insert-def): Delete command.
8128 (python-skeleton-def): New command.
8129 (python-insert-for): Delete command.
8130 (python-skeleton-for): New command.
8131 (python-insert-if): Delete command.
8132 (python-skeleton-if): New command.
8133 (python-insert-try/except, python-insert-try/finally): Delete commands.
8134 (python-skeleton-try): New command.
8135 (python-insert-while): Delete command.
8136 (python-skeleton-while): New command.
8137 (python-backspace): Delete command.
8138 (python-indent-dedent-line-backspace): New command.
8139 (python-electric-colon): Delete command.
8140 (python-indent-electric-colon): New command.
8141 (python-guess-indent): Delete command.
8142 (python-indent-guess-indent-offset): New command.
8143 (python-shift-left): Delete command.
8144 (python-indent-shift-left): New command.
8145 (python-shift-right): Delete command.
8146 (python-indent-shift-right): New command.
8147 (python-find-function): Delete command.
8148 (python-nav-jump-to-defun): New command.
8149 (python-next-statement): Delete command.
8150 (python-nav-forward-sentence): New command.
8151 (python-previous-statement): Delete command.
8152 (python-nav-backward-sentence): New command.
8153 (python-fill-paragraph): Delete command.
8154 (python-fill-paragraph-function): New command.
8155 (python-send-buffer): Delete command.
8156 (python-shell-send-buffer): New command.
8157 (python-send-defun): Delete command.
8158 (python-shell-send-defun): New command.
8159 (python-send-region, python-send-region-and-go): Delete commands.
8160 (python-shell-send-region)
8161 (python-shell-switch-to-shell): New commands.
8162 (python-send-string): Delete command.
8163 (python-shell-send-string): New command.
8164 (python-switch-to-python): Delete command.
8165 (python-shell-switch-to-shell): New command.
8166 (python-describe-symbol): Delete command.
8167 (python-eldoc-at-point): New command.
8168 (python--set-prompt-regexp, python-args-to-list)
8169 (python-after-info-look, python-check-version)
8170 (python-check-comint-prompt, python-find-imports)
8171 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8172 (python-unload-function, python-expand-template)
8173 (python-maybe-jython, python-preoutput-filter)
8174 (python-pdbtrack-get-source-buffer)
8175 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8176 (python-pdbtrack-toggle-stack-tracking)
8177 (python-pdbtrack-track-stack-file, python-initial-text)
8178 (python-first-word, python-comment-line-p, python-send-command)
8179 (python-setup-brm, python-sentinel, python-set-proc)
8180 (python-skip-out, python-input-filter, python-outdent-p)
8181 (python-outline-level, python-backslash-continuation-line-p)
8182 (python-end-of-block, python-end-of-statement, python-mark-block)
8183 (python-beginning-of-block, python-beginning-of-statement)
8184 (python-blank-line-p, python-beginning-of-string)
8185 (python-open-block-statement-p): Delete functions.
8186 (python-indent-line, python-indent-line-1): Delete functions.
8187 (python-indent-line): New function.
8188 (python-indentation-levels): Delete function.
8189 (python-indent-calculate-levels): New function.
8190 (python-proc): Delete function.
8191 (python-shell-get-process): New function.
8192 (python-send-receive): Delete function.
8193 (python-shell-send-string-no-output): New function.
8194 (python-module-path): Delete function.
8195 (python-ffap-module-path): New function.
8196 (python-completion-at-point)
8197 (python-symbol-completions): Delete functions.
8198 (python-completion-complete-at-point): New function.
8199 (python-load-file): Delete function.
8200 (python-shell-send-file): New function.
8201 (python-calculate-indentation): Delete function.
8202 (python-indent-calculate-indentation): New function.
8203 (python-skip-comments/blanks): Delete function.
8204 (python-util-forward-comment): New function.
8205 (python-continuation-line-p): Delete function.
8206 (python-info-continuation-line-p): New function.
8207 (python-which-func, python-current-defun): Delete function.
8208 (python-info-current-defun): New function.
8209 (python-beginning-of-defun): Delete function.
8210 (python-nav-beginning-of-defun): New function.
8211 (python-close-block-statement-p)
8212 (python-block-end-p): Delete function.
8213 (python-info-closing-block): New function.
8214 (python-comint-output-filter-function)
8215 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8216 (python-fill-comment, python-fill-decorator, python-fill-paren)
8217 (python-fill-string, python-imenu-make-element-tree)
8218 (python-imenu-make-tree, python-imenu-tree-assoc)
8219 (python-indent-context, python-indent-dedent-line)
8220 (python-indent-line-function)
8221 (python-indent-post-self-insert-function)
8222 (python-indent-toggle-levels)
8223 (python-info-assignment-continuation-line-p)
8224 (python-info-beginning-of-backlash)
8225 (python-info-block-continuation-line-p)
8226 (python-info-closing-block-message)
8227 (python-info-line-ends-backslash-p)
8228 (python-info-looking-at-beginning-of-defun)
8229 (python-info-ppss-context, python-info-ppss-context-type)
8230 (python-nav-list-defun-positions, python-nav-read-defun)
8231 (python-nav-sentence-end, python-nav-sentence-start)
8232 (python-pdbtrack-comint-output-filter-function)
8233 (python-pdbtrack-set-tracked-buffer)
8234 (python-shell-calculate-exec-path)
8235 (python-shell-calculate-process-environment)
8236 (python-shell-completion--do-completion-at-point)
8237 (python-shell-completion--get-completions)
8238 (python-shell-completion-complete-at-point)
8239 (python-shell-completion-complete-or-indent)
8240 (python-shell-get-or-create-process)
8241 (python-shell-get-process-name)
8242 (python-shell-internal-get-or-create-process)
8243 (python-shell-internal-get-process-name)
8244 (python-shell-internal-send-string, python-shell-make-comint)
8245 (python-shell-parse-command, python-shell-send-setup-code)
8246 (python-skeleton-add-menu-items)
8247 (python-util-clone-local-variables, python-util-position)
8248 (run-python-internal, python-indentation-levels)
8249 (python-nav-beginning-of-defun)
8250 (python-completion-complete-at-point): New functions.
8251 (run-python): Change arguments. New API requirements.
8252
4302f5ba
SM
82532012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8254
f38ea36d
SM
8255 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8256 (bug#11649).
8257
8258 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8259 (macroexp--expand-all): Use it.
8260
4302f5ba
SM
8261 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8262 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8263 Use `cl-function' instead.
8264
33377562
JB
82652012-06-14 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8268 Suggested by Stefan Monnier while discussing bug#11657.
8269
54c5ba1a
SS
82702012-06-14 Sam Steingold <sds@gnu.org>
8271
8272 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8273
f9f1b1fe
AS
82742012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8275
8276 * play/doctor.el (doctor-doc): Remove parameter and use
8277 doctor-sent instead of sent.
8278 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8279
a81068ba
SM
82802012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8281
5a315f9c
SM
8282 * files.el: Require cl-lib.
8283 (file-name-non-special): Replace case -> cl-case.
8284
8285 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8286
a81068ba
SM
8287 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8288 mapping from #' to function*.
8289
8cca9703
CY
82902012-06-13 Chong Yidong <cyd@gnu.org>
8291
8292 * mouse.el (mouse-drag-track): Do not set the mark if the user
8293 releases the mouse without selecting anything (Bug#11588).
8294
a12ac9d7
SM
82952012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8296
ccf1dc18
SM
8297 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8298 as well (bug#11646).
8299
ef62b23d
SM
8300 * loadup.el: Count byte-code functions as well.
8301
c4c8444a
SM
8302 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8303 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8304
a12ac9d7
SM
8305 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8306 (bug#11649). Add cl-defun and cl-defmacro.
8307
87e6e64f
DA
83082012-06-13 Drew Adams <drew.adams@oracle.com>
8309
8310 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8311 Fix last change.
8312
682cefaf
MA
83132012-06-13 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8316 Otherwise, it blocks in batch mode.
8317
773e1f08
JB
83182012-06-13 Juanma Barranquero <lekktu@gmail.com>
8319
8320 * help-mode.el (bookmark-make-record-default): Declare.
8321
60057926
CY
83222012-06-13 Chong Yidong <cyd@gnu.org>
8323
8324 * emacs-lisp/package.el (list-packages): Compute a list of
8325 packages that are newly-available since the last list-packages
8326 invocation.
8327 (package-menu--new-package-list): New var.
8328 (package-menu--generate, package-menu--print-info)
8329 (package-menu--status-predicate, package-menu-mark-install):
8330 Handle new status label "new".
8331
ad4d226c
SM
83322012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8335 conversion to backquotes.
8336
f1a4e679
CY
83372012-06-12 Chong Yidong <cyd@gnu.org>
8338
8339 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8340 Rename from gud-inhibit-global-bindings.
8341
8342 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8343
8344 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8345 hook from nxml-glyph-set-hook.
8346
8347 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8348 declaration.
8349
8350 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8351
8352 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8353 Convert to defcustom.
8354
0c9e42b5
DA
83552012-06-12 Drew Adams <drew.adams@oracle.com>
8356
8357 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8358 New functions.
8359 (help-mode): Use them.
8360
09e06855
GM
83612012-06-11 Glenn Morris <rgm@gnu.org>
8362
8363 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8364 Use preprocessor face for directives.
8365 (fortran-directive-re): Doc fix.
8366
71adb94b
SM
83672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8368
2eb87922
SM
8369 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8370 conversion to backquotes (bug#11652).
8371
71adb94b
SM
8372 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8373 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8374 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8375 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8376 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8377 (cl-ninth, cl-tenth): Mark them as inlinable.
8378 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8379 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8380 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8381 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8382 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8383 (cl-list*, cl-adjoin): Don't put an autoload manually.
8384 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8385 (cl--compiler-macro-list*): Add autoload cookie.
8386 (cl--compiler-macro-cXXr): New function.
2eb87922 8387
71adb94b
SM
8388 * help-fns.el (help-fns--compiler-macro): New function extracted from
8389 describe-function-1; follow aliases and use `compiler-macro' property.
8390 (describe-function-1): Use it.
8391
a6674402
CY
83922012-06-11 Chong Yidong <cyd@gnu.org>
8393
8394 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8395 is uninstalled, if imagemagick is installed.
8396
bb3faf5b
SM
83972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * emacs-lisp/cl-lib.el: Use lexical-binding.
8400 (cl-map-extents, cl-maclisp-member): Remove.
8401 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8402 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8403 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8404 * emacs-lisp/cl-extra.el: Use lexical-binding.
8405 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8406 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8407 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8408 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8409 * emacs-lisp/cl-seq.el: Use lexical-binding.
8410 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8411 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8412 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8413 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8414 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8415 CL's internals.
8416
2fe4b125
MA
84172012-06-11 Michael Albinus <michael.albinus@gmx.de>
8418
8419 Sync with Tramp 2.2.6-pre.
8420
8421 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8422 `print-length' and `print-level' to nil, in order to avoid
8423 truncation. Reported by Christopher Schmidt
8424 <christopher@ristopher.com>.
8425
8426 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8427
8428 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8429 New defmacro.
8430 (tramp-compat-copy-directory): Add optional argument
8431 COPY-CONTENTS. It is not handled yet.
8432
8433 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8434 (tramp-ftp-file-name-p): Simplify.
8435
8436 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8437 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8438 connection vector.
8439
8440 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8441 (tramp-methods): Do not use `tramp-password-end-of-line'.
8442 (tramp-completion-function-alist-putty): Handle UNIX case.
8443 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8444 (tramp-do-file-attributes-with-stat)
8445 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8446 gid as real numbers. They could run out of integer range on cygwin.
8447 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8448 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8449 (tramp-open-connection-setup-interactive-shell):
8450 Use `tramp-cleanup'. Move check for busyboxes ...
8451 (tramp-find-shell): ... here. Simplify implementation.
8452 Set "remote-shell" property also for alternative shells.
8453 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8454 If failing, a regular file would be written otherwise.
8455 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8456 (tramp-find-inline-encoding): Cache the coding commands in the
8457 process cache. Apply test command on the remote side, if defined.
8458 (tramp-find-inline-compress): Cache the compress commands in the
8459 process cache.
8460 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8461 when requested. Handle hops.
8462 (tramp-current-connection): New defvar.
87e6e64f
DA
8463 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8464 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8465 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8466 (tramp-get-inline-compress, tramp-get-inline-coding):
8467 Read connection properties from the process cache.
2fe4b125
MA
8468
8469 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8470 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8471 New defconsts.
2fe4b125
MA
8472 (tramp-smb-prompt): Extend for powershell prompt.
8473 (tramp-smb-file-name-handler-alist): Add handlers for
8474 `process-file', `shell-command' and `start-file-process'.
8475 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8476 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8477 (tramp-smb-file-name-p): Simplify.
8478 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8479 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8480 (tramp-smb-shell-quote-argument): New defuns.
8481 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8482 Implement using "tar". By this, time-stamps are preserved.
8483 (tramp-smb-handle-copy-file): Handle also the case of directories.
8484 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8485 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8486 Use `tramp-get-connection-buffer').
2fe4b125
MA
8487 (tramp-smb-handle-rename-file): Use "rename", when source and
8488 target are on the same share.
87e6e64f
DA
8489 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8490 Use `tramp-smb-server-version'.
2fe4b125
MA
8491 (tramp-smb-wait-for-output): Remove prompt.
8492
8493 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8494 (tramp-methods, tramp-rsh-end-of-line):
8495 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8496 (tramp-save-ad-hoc-proxies): New defcustom.
8497 (tramp-completion-function-alist): Adapt docstring.
8498 (tramp-default-password-end-of-line): Remove defcustom.
8499 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8500 (tramp-user-regexp, tramp-file-name-regexp-unified)
8501 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8502 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8503 (tramp-remote-file-name-spec-regexp): New defconst.
8504 (tramp-file-name-structure): Extend structure for hops.
8505 (tramp-get-method-parameter): Move up.
8506 (tramp-file-name-p, tramp-dissect-file-name)
8507 (with-parsed-tramp-file-name): Handle hops.
8508 (tramp-file-name-hop): New defun.
8509 (tramp-make-tramp-file-name): New optional arg HOP.
8510 (tramp-message-show-progress-reporter-message): New defvar.
8511 (tramp-with-progress-reporter): Use it. We cannot use
8512 `tramp-message-show-message' here, because this suppresses also
8513 error buffers.
8514 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8515 `tramp-message-show-message' is nil.
8516 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8517 (tramp-cleanup): New defun.
8518 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8519 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8520 an error unchanged.
8521 (tramp-completion-handle-file-name-all-completions): Handle hops.
8522 Fix an error when called from ido.
8523 (tramp-completion-dissect-file-name): Use better local variable
8524 name. Add hop to the vector.
8525 (tramp-handle-insert-file-contents): Use progress-reporter for the
8526 whole scenario.
8527 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8528 to `t'.
8529 (tramp-check-for-regexp): Simplify search.
8530 (tramp-enter-password): Remove it. Move implementation ...
8531 (tramp-action-password): ... here.
8532 (tramp-mode-string-to-int, tramp-local-host-p)
8533 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8534 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8535 Set tramp-autoload cookie.
2fe4b125
MA
8536
8537 * net/trampver.el: Update release number.
8538
85392012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8540 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8543 (tramp-parse-group, tramp-parse-file)
8544 (tramp-parse-shostkeys-sknownhosts): New defuns.
8545 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8546 (tramp-parse-shosts-group, tramp-parse-sconfig)
8547 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8548 (tramp-parse-sknownhosts, tramp-parse-hosts)
8549 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8550 Use them.
8551 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8552 (tramp-parse-putty-group): Don't narrow.
8553 (tramp-parse-putty): Make a loop.
8554 (tramp-file-name-handler): Catch the `suppress' signal.
8555
72834e10
CY
85562012-06-11 Chong Yidong <cyd@gnu.org>
8557
8558 * image.el (imagemagick-register-types): Put the ImageMagick entry
8559 at the end of image-type-file-name-regexps.
8560
a4712e11
JB
85612012-06-11 Johan Bockgård <bojohan@gnu.org>
8562
8563 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8564 (pcase, pcase-let*, pcase-dolist): Use them.
8565
82ad98e3
SM
85662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * emacs-lisp/pcase.el (pcase--let*): New function.
8569 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8570 (pcase--expand): Use macroexp-let².
8571
f80efb86
SM
85722012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8575 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8576 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8577 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8578 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8579 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8580
31ca4639 85812012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8582
31ca4639
CY
8583 * mail/rmail.el (rmail-yank-current-message): Leave point at
8584 correct position. (Bug#11660)
94f0aa34 8585
31ca4639 85862012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8587
31ca4639 8588 * allout-widgets.el: Fix code header.
9e1b8ec4 8589
31ca4639 85902012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8591
f80efb86
SM
8592 * cus-edit.el (customize-changed-options-previous-release):
8593 Bump to 24.1.
31ca4639 8594
642b6d30
AS
85952012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8596
8597 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8598
4f5d2ba1
CY
85992012-06-09 Chong Yidong <cyd@gnu.org>
8600
8601 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8602
e75852fd
MR
86032012-06-09 Martin Rudalics <rudalics@gmx.at>
8604
8605 * window.el (special-display-popup-frame): Don't use
8606 window--display-buffer (Bug#11651).
8607
1e48e282
EZ
86082012-06-09 Eli Zaretskii <eliz@gnu.org>
8609
8a26b487
EZ
8610 Fix parallel builds: make sure loaddefs.el is not being written
8611 while Lisp files are compiled.
8612 (compile): Don't depend on 'mh-autoloads'.
8613 (compile-CMD, compile-SH): Depend on 'autoloads'.
8614 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8615
1e48e282
EZ
8616 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8617
6175e34b
CY
86182012-06-09 Chong Yidong <cyd@gnu.org>
8619
8620 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8621 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8622 Doc fixes (Bug#11225).
8623
d9857e53
SM
86242012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8627 a function if there's a clear indication that it has a compiler-macro.
8628 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8629 (macro-declarations-alist): Add arglist to declaration functions.
8630 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8631 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8632 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8633 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8634 Also add autoload to find the compiler macro.
8635 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8636 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8637 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8638 (cl--compiler-macro-get): New functions, replacing calls to
8639 cl-define-compiler-macro.
8640 (cl-typep) [compiler-macro]: Use macroexp-let².
8641
f81298f8 86422012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8643
8644 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8645 string properly, fixes Bug#11473.
8646
4b56d0fe
CY
86472012-06-08 Chong Yidong <cyd@gnu.org>
8648
8649 * faces.el (set-face-attribute): Doc fix.
8650 (modify-face): Don't use :bold and :italic.
8651 (error, warning, success): Tweak definitions.
8652
8653 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8654 (custom-modified, custom-set, custom-changed, custom-themed)
8655 (custom-saved, custom-button, custom-button-mouse)
8656 (custom-button-pressed, custom-state, custom-comment-tag)
8657 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8658 (custom-group-subtitle): Use new-style face specs.
8659 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8660 (custom-set-face, custom-changed-face, custom-saved-face)
8661 (custom-button-face, custom-button-pressed-face)
8662 (custom-documentation-face, custom-state-face)
8663 (custom-comment-face, custom-comment-tag-face)
8664 (custom-variable-tag-face, custom-variable-button-face)
8665 (custom-face-tag-face, custom-group-tag-face-1)
8666 (custom-group-tag-face): Remove obsolete face alias.
8667
8668 * epa.el (epa-validity-high, epa-validity-medium)
8669 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8670 (epa-field-name, epa-field-body):
8671 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8672 (font-lock-keyword-face, font-lock-builtin-face)
8673 (font-lock-function-name-face, font-lock-variable-name-face)
8674 (font-lock-type-face, font-lock-constant-face):
8675 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8676 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8677 * speedbar.el (speedbar-button-face, speedbar-file-face)
8678 (speedbar-directory-face, speedbar-tag-face)
8679 (speedbar-selected-face, speedbar-highlight-face)
8680 (speedbar-separator-face):
8681 * whitespace.el (whitespace-newline, whitespace-space)
8682 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8683 (whitespace-line, whitespace-space-before-tab)
8684 (whitespace-space-after-tab, whitespace-indentation)
8685 (whitespace-empty):
8686 * emulation/cua-base.el (cua-global-mark):
8687 * eshell/em-prompt.el (eshell-prompt):
8688 * net/newst-plainview.el (newsticker-new-item-face)
8689 (newsticker-old-item-face, newsticker-immortal-item-face)
8690 (newsticker-obsolete-item-face, newsticker-date-face)
8691 (newsticker-statistics-face, newsticker-default-face):
8692 * net/newst-reader.el (newsticker-feed-face)
8693 (newsticker-extra-face, newsticker-enclosure-face):
8694 * net/newst-treeview.el (newsticker-treeview-face)
8695 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8696 (newsticker-treeview-immortal-face)
8697 (newsticker-treeview-obsolete-face)
8698 (newsticker-treeview-selection-face):
8699 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8700 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8701 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8702 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8703 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8704 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8705 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8706 (mpuz-text):
8707 * progmodes/vera-mode.el (vera-font-lock-number)
8708 (vera-font-lock-function, vera-font-lock-interface):
8709 * textmodes/table.el (table-cell): Use new-style face specs, and
8710 don't use the old :bold and :italic attributes.
8711
8712 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8713 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8714 (ebrowse-member-class, ebrowse-progress): Likewise.
8715 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8716 (ebrowse-file-name-face, ebrowse-default-face)
8717 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8718 (ebrowse-progress-face): Remove obsolete faces.
8719
8720 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8721 Inherit from error and warning faces respectively.
8722
8723 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8724 Likewise.
f80efb86
SM
8725 (flyspell-incorrect-face, flyspell-duplicate-face):
8726 Remove obsolete aliases.
4b56d0fe 8727
03310646
MA
87282012-06-08 Michael Albinus <michael.albinus@gmx.de>
8729
8730 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8731 Avoid infloop.
8732
513749ee
SM
87332012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * startup.el (argv, argi): Make lexically scoped.
8736 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8737 * emacs-lisp/cl-macs.el: Use lexical-binding.
8738 Rename cl-bind-* to cl--bind-*.
8739 * files.el: Don't require `cl' since it doesn't use it.
8740 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8741
595ef4ad
JB
87422012-06-08 Juanma Barranquero <lekktu@gmail.com>
8743
8744 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8745 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8746 instead of calling external sort utility.
8747 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8748
e9f66fcb
EZ
87492012-06-08 Eli Zaretskii <eliz@gnu.org>
8750
8751 * descr-text.el (describe-char): Mention how to insert the
8752 character, if the current input method doesn't support it.
8753 See the discussion in this thread for the details:
8754 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8755
3d10db47
SS
87562012-06-08 Sam Steingold <sds@gnu.org>
8757
8758 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8759 XF86Back to previous-buffer.
8760 (minibuffer-local-map): Bind them to next-history-element and
8761 previous-history-element respectively.
8762 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8763 help-go-back respectively.
8764 * info.el (Info-mode-map): Bind them to Info-history-forward and
8765 Info-history-back respectively.
8766 These are the keys next to Up on the ThinkPad keyboard.
8767
de7e2b36
SM
87682012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8771 * emacs-lisp/cl-macs.el: Provide itself.
8772 (cl--labels-convert-cache): New var.
8773 (cl--labels-convert): New function.
8774 (cl-flet, cl-labels): New implementation with new semantics, relying on
8775 lexical-binding.
8776 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8777 (cl-closure-vars, cl--function-convert-cache)
8778 (cl--function-convert): Move from cl-macs.el.
8779 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8780 rename by removing the "cl-" prefix.
8781 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8782
6fa6c4ae
SM
87832012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8786 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8787 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8788 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8789 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8790 (cl-hash-table-count): Add old compatibility aliases.
8791
8792 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8793 Use macroexpand-all-environment instead.
8794 (cl--old-macroexpand): New var.
8795 (cl--sm-macroexpand): New function.
8796 (cl-symbol-macrolet): Use it during macro expansion.
8797 (cl--function-convert-cache): New var.
8798 (cl--function-convert): New function, extracted from
8799 cl-macroexpand-all.
8800 (cl-lexical-let): Use it.
8801
8802 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8803 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8804 (cl-member): Remove old alias.
8805
8806 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8807 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8808 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8809 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8810 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8811 (cl-macroexpand-cmacs): Remove var.
8812 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8813 Use macroexpand-all instead.
8814
4dd1c416
SM
88152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8818 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8819 (macroexp-copyable-p): New functions and macros.
8820 * emacs-lisp/edebug.el (edebug-unwrap):
8821 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8822 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8823 (pcase--let*): Remove.
8824 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8825 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8826 macroexp-const-p instead.
8827 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8828
8829 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8830 instead of "cl-" for internal definitions. Use macroexp-const-p.
8831 (cl-old-bc-file-form): Remove var.
8832 (cl-const-exprs-p): Remove fun.
8833 (cl-labels, cl-macrolet): Use backquote.
8834 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8835 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8836 (cl-define-setf-expander): Rename from cl-define-setf-method.
8837 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8838
8839 * international/mule-cmds.el: Don't require CL.
8840 (view-hello-file): Don't use `letf'.
8841
ed8bd4d7
SM
88422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8843
7287f2f3
SM
8844 * tmm.el (tmm-prompt): Use string-prefix-p.
8845 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8846 (tmm-add-prompt): Use minibuffer-completion-help.
8847 (tmm-delete-map): Remove.
8848
ed8bd4d7
SM
8849 * subr.el (kbd): Make it its own function.
8850
7b4cdbf4
SM
88512012-06-07 Stefan Merten <smerten@oekonux.de>
8852
8853 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8854 Silence compiler warnings. Fix versions.
ed8bd4d7 8855 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8856 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8857 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8858 (rst-package-emacs-version-alist): Correct Emacs version to
8859 represent major merge with upstream.
ed8bd4d7 8860 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8861
2b48d721
GM
88622012-06-06 Glenn Morris <rgm@gnu.org>
8863
8864 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8865 Only print environment variables if set.
8866
fa779ab0
SM
88672012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8870 (macroexp--cons): Rename from maybe-cons.
8871 (macroexp--accumulate): Rename from macroexp-accumulate.
8872 (macroexp--all-forms): Rename from macroexpand-all-forms.
8873 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8874 (macroexp--expand-all): Rename from macroexpand-all-1.
8875
628299e0
SS
88762012-06-06 Sam Steingold <sds@gnu.org>
8877
8878 * calendar/calendar.el (calendar-in-read-only-buffer):
8879 Call `special-mode' to enable the standard read-only keybindings.
8880
b7bb5838
SM
88812012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8884 with "loading" messages (bug#11635).
8885
dfb308ba
MA
88862012-06-06 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * files.el (enable-remote-dir-locals): New option.
8889 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8890
0372ee92
MA
8891 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8892 Ensure, that the temp directory is local.
8893
8894 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8895 `temporary-file-directory'.
8896
eed0bb91
MA
8897 * progmodes/python.el (python-send-region): Ensure, that the
8898 temporary file is created also in the remote case.
8899
7a58f64d
GM
89002012-06-06 Glenn Morris <rgm@gnu.org>
8901
f7dd4e98
GM
8902 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8903 (vc-rcs-update-changelog): Use it.
8904
090bd7cb 8905 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8906
7a58f64d
GM
8907 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8908 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8909 (vc-sccs-diff): Replace use of the external vcdiff script.
8910
daed4003
GM
89112012-06-05 Glenn Morris <rgm@gnu.org>
8912
8913 * ledit.el: Move to obsolete/.
8914
48c455c7
SS
89152012-06-05 Sam Steingold <sds@gnu.org>
8916
ed9265fc 8917 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8918 patch (Bug#11140).
8919
57a7d507
SM
89202012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8921
090bd7cb 8922 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8923
53aacf21
SM
8924 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8925 compiler-macro expansion.
8926
57a7d507
SM
8927 Add native compiler-macro support.
8928 * emacs-lisp/macroexp.el (macroexpand-all-1):
8929 Support compiler-macros directly. Properly follow aliases and apply
8930 the compiler macros more thoroughly.
8931 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8932 macroexpand now properly follows aliases.
8933 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8934 (cl-compiler-macroexpand): Use new prop.
8935 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8936
8937 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8938
51a5f9d8
MR
89392012-06-05 Martin Rudalics <rudalics@gmx.at>
8940
8941 * window.el (get-lru-window, get-mru-window, get-largest-window):
8942 New argument NOT-SELECTED to avoid picking the selected window.
8943 (window--display-buffer-1, window--display-buffer-2): Replace by
8944 new function window--display-buffer
8945 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8946 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8947 Use window--display-buffer.
51a5f9d8
MR
8948 (display-buffer-use-some-window): Remove temporary dedication
8949 hack by calling get-lru-window and get-largest-window with
8950 NOT-SELECTED argument non-nil. Call window--display-buffer.
8951
08f9f738
GM
89522012-06-05 Glenn Morris <rgm@gnu.org>
8953
8954 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8955 Replace external vcdiff script.
8956
e364a2b7
SM
89572012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8960
041df390
CY
89612012-06-04 Chong Yidong <cyd@gnu.org>
8962
e364a2b7
SM
8963 * image.el (imagemagick-types-inhibit): Revert last change.
8964 Add INFO and M.
47b36b94 8965 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8966
7c1898a7
SM
89672012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * emacs-lisp/cl-lib.el: Rename from cl.el.
8970 * emacs-lisp/cl.el: New compatibility file.
8971 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8972 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8973 to obey the "cl-" prefix.
8974 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8975
0c3461de
GM
89762012-06-03 Glenn Morris <rgm@gnu.org>
8977
1e266c88
GM
8978 * emacs-lisp/authors.el (authors-aliases): Addition.
8979
0c3461de
GM
8980 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8981 Fix :version.
8982
d8a52e15
SM
89832012-06-03 Stefan Merten <smerten@oekonux.de>
8984
8985 * textmodes/rst.el: Add comments.
8986 (rst-transition, rst-adornment): New faces.
8987 (rst-adornment-faces-alist): Make default safe to reevaluate.
8988 Fixes
8989 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8990 Improve customization tags.
8991 (rst-define-level-faces): Clarify meaning.
8992
5205d6f6
CY
89932012-06-03 Chong Yidong <cyd@gnu.org>
8994
8995 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8996 (compilation-mode-line-run, compilation-mode-line-exit):
8997 New faces.
5205d6f6
CY
8998 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8999
757ee657
JD
90002012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9001
7c1898a7
SM
9002 * progmodes/which-func.el (which-func-update-ediff-windows):
9003 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9004
5f2c76c6
CY
90052012-06-03 Chong Yidong <cyd@gnu.org>
9006
9007 * bindings.el: Remove explicit help text from format-mode-line.
9008 It is now supplied by mode-line-default-help-echo.
9009 (mode-line-front-space, mode-line-end-spaces)
9010 (mode-line-misc-info): New variables.
9011 (mode-line-modes, mode-line-position): Move the default value to
9012 the variable definition.
9013 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9014 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9015 (mode-line-modified-help-echo): New functions.
9016 (mode-line-mule-info, mode-line-modified): Use them.
9017 (mode-line-eol-desc, propertized-buffer-identification):
9018 Consistency fixes for help text.
cbe46e5f
CY
9019 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9020 set-buffer-file-coding-system (Bug#289).
9021 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9022
f2d6a3df
SM
90232012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * simple.el (execute-extended-command): Set real-this-command
9026 (bug#11506).
9027
37269466
CY
90282012-06-02 Chong Yidong <cyd@gnu.org>
9029
9030 Remove incorrect uses of "modeline" in comments, docstrings, and
9031 function/variable names (Bug#10329).
9032
9033 * cus-edit.el (mode-line):
9034 * dframe.el (dframe-mouse-hscroll):
9035 * emacs-lisp/re-builder.el:
9036 * emacs-lisp/easy-mmode.el (define-minor-mode):
9037 * frame.el (set-frame-name):
9038 * help.el (lookup-minor-mode-from-indicator):
9039 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9040 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9041 (c-toggle-hungry-state):
9042 * progmodes/antlr-mode.el (antlr-language-alist):
9043 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9044 * progmodes/vhdl-mode.el (vhdl-mode):
9045 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9046 * term/ns-win.el (ns-face-at-pos):
9047 * term/sup-mouse.el (sup-mouse-report):
9048 * textmodes/flyspell.el (flyspell-mode-line-string):
9049 * textmodes/ispell.el (ispell-highlight-face):
9050 * textmodes/reftex-global.el:
9051 * vc/vc-arch.el (vc-arch-mode-line-string):
9052 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9053 * vc/vc-git.el (vc-git-mode-line-string):
9054 * vc/vc-hooks.el (vc-display-status)
9055 (vc-default-mode-line-string):
9056 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9057
9058 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9059
9060 * dired.el (dired-sort-set-mode-line): Rename from
9061 dired-sort-set-modeline. All callers changed.
9062
9063 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9064 eshell-status-in-modeline.
9065
9066 * foldout.el (foldout-mode-line-string): Rename from
9067 foldout-modeline-string. All callers changed.
9068 (foldout-update-mode-line): Rename from foldout-update-modeline.
9069
9070 * subr.el (redraw-modeline): Make into obsolete alias.
9071
9072 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9073 timeclock-modeline-display. Make old name an alias.
9074 (timeclock-update-mode-line): Likewise. All callers changed.
9075 (timeclock-mode-line-display): No need to check before using
9076 add-hook.
9077 (timeclock-relative, timeclock-day-over-hook)
9078 (timeclock-use-elapsed, timeclock-mode-string)
9079 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9080
9081 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9082 crisp-mode-modeline-string.
9083
9084 * play/solitaire.el (solitaire-build-mode-line): Rename from
9085 solitaire-build-modeline. All callers changed.
9086
9087 * play/zone.el (zone-hiding-mode-line): Rename from
9088 zone-hiding-modeline. All callers changed.
9089 (zone): Remove unusued `modeline-hidden-level' property.
9090
9091 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9092 xscheme-modeline-initialize. All callers changed.
9093
9094 * strokes.el (strokes-lighter): Rename from
9095 strokes-modeline-string.
9096
9097 * textmodes/sgml-mode.el (html-face-tag-alist)
9098 (html-tag-face-alist): Use mode-line face instead of obsolete
9099 alias modeline.
9100
42152ee4
SM
91012012-06-02 Stefan Merten <smerten@oekonux.de>
9102
9103 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9104 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9105
95f520b5
CY
91062012-06-02 Chong Yidong <cyd@gnu.org>
9107
9108 * image.el (imagemagick-enabled-types): Rename from
9109 imagemagick-types-enable. Add many more types.
9110 (imagemagick-types-inhibit): Change default to nil.
9111 (imagemagick-filter-types): Caller changed.
9112
4a5f187a
SM
91132012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9114
03fef3e6
SM
9115 * emacs-lisp/cl-macs.el: Use backquotes.
9116 (cl-transform-function-property): Use eval-and-compile rather than
9117 abusing `require'.
9118 (defstruct): Use declare-function instead of with-no-warnings.
9119
4a5f187a
SM
9120 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9121 (byte-compile-output-docform): Re-add the print-circle bindings.
9122 (byte-compile-fix-header): Use #$ just because it's shorter.
9123 (byte-compile-output-file-form): Remove defun/defmacro.
9124
bd56924f
MR
91252012-06-01 Martin Rudalics <rudalics@gmx.at>
9126
9127 * simple.el (choose-completion): Remove now obsolete binding for
9128 owindow.
9129
046e38ce
MA
91302012-06-01 Michael Albinus <michael.albinus@gmx.de>
9131
9132 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9133 in order to avoid "Stack overflow in regexp matcher".
9134
32d72c2f
GM
91352012-05-31 Glenn Morris <rgm@gnu.org>
9136
9137 * image.el: For clarity, call imagemagick-register-types at
9138 top-level, rather than relying on a custom :initialize.
9139 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9140 (imagemagick-filter-types): New function. (Bug#7406)
9141 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9142 If disabling support, remove elements altogether rather
9143 than using an impossible regexp.
9144 (imagemagick-types-inhibit): Give it the default init function.
9145
dd41169b
SM
91462012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9147
4a5f187a
SM
9148 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9149 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9150
efc00ab1 91512012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9152
9153 * desktop.el (desktop-read): Clear previous and next buffers for
9154 all windows and bury *Messages* buffer (bug#11556).
9155
500fcedc
SM
91562012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 Add `declare' for `defun'. Align `defmacro's with it.
9159 * emacs-lisp/easy-mmode.el (define-minor-mode)
9160 (define-globalized-minor-mode): Don't autoload the var definitions.
9161 * emacs-lisp/byte-run.el: Use lexical-binding.
9162 (defun-declarations-alist, macro-declarations-alist): New vars.
9163 (defmacro, defun): Use them.
9164 (make-obsolete, define-obsolete-function-alias)
9165 (make-obsolete-variable, define-obsolete-variable-alias):
9166 Use `declare'.
9167 (macro-declaration-function): Mark obsolete.
9168 * emacs-lisp/autoload.el: Use lexical-binding.
9169 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9170
6e8a1786
AM
91712012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9172
9173 * textmodes/ispell.el (ispell-with-no-warnings):
9174 Define as a macro.
500fcedc
SM
9175 (ispell-kill-ispell, ispell-change-dictionary):
9176 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9177 `interactive-p'.
9178
61b108cc
SM
91792012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9182 (macro-declaration-function): Move var from C code.
9183 (macro-declaration-function): Define function with defalias.
9184 * emacs-lisp/macroexp.el (macroexpand-all-1):
9185 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9186 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9187 defun/defmacro any more.
9188 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9189 Provide fallback for unknown arglist.
9190 (byte-compile-arglist-warn): Change calling convention.
9191 (byte-compile-output-file-form): Move print-vars binding.
9192 (byte-compile-output-docform): Simplify accordingly.
9193 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9194 (byte-compile-defmacro-declaration): Remove.
9195 (byte-compile-file-form-defmumble): Generalize to defalias.
9196 (byte-compile-output-as-comment): Return byte-positions.
9197 Simplify callers accordingly.
9198 (byte-compile-lambda): Use `assert'.
9199 (byte-compile-defun, byte-compile-defmacro): Remove.
9200 (byte-compile-file-form-defalias):
9201 Use byte-compile-file-form-defmumble.
9202 (byte-compile-defalias-warn): Remove.
9203
6d3f7c2f
SM
92042012-05-29 Stefan Merten <smerten@oekonux.de>
9205
9206 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9207 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9208
9209 (rst-mode-abbrev-table): Merge definition.
9210 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9211 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9212
6dbaa1c7
UJ
92132012-05-29 Ulf Jasper <ulf.jasper@web.de>
9214
9215 * calendar/icalendar.el
9216 (icalendar-export-region): Export UID properly.
9217
d209e2fb 92182012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9219 * calendar/icalendar.el (icalendar-import-format):
9220 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9221 (icalendar-import-format-uid): New.
9222 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9223 Export UID.
9224
6876a58d
SM
92252012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9228 different alternative patterns.
9229 (pcase-codegen): Be more careful to preserve identity.
9230 (pcase--u1): Don't forget to mark vars as used.
9231
9232 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9233 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9234 (byte-compile-from-buffer): ...rather than here.
9235
9236 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9237 functions from byte-compile-function-environment.
9238
46b7967e
TN
92392012-05-29 Troels Nielsen <bn.troels@gmail.com>
9240
9241 * window.el (window-deletable-p): Avoid deleting the root window
9242 of a frame with an active minibuffer.
9243
69d565e2
MR
92442012-05-29 Martin Rudalics <rudalics@gmx.at>
9245
9246 * simple.el (choose-completion): Use quit-window (Bug#11567).
9247
a149fa51
CY
92482012-05-29 Chong Yidong <cyd@gnu.org>
9249
9250 * whitespace.el (whitespace-cleanup): Fix usage of
9251 whitespace-empty-at-bob-regexp (Bug#11492).
9252
2b311310
AH
92532012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9254
9255 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9256 revert (Bug#11488).
9257
b9cb2387
JL
92582012-05-29 Juri Linkov <juri@jurta.org>
9259
9260 * isearch.el (isearch-mode-map): Bind `M-s _' to
9261 `isearch-toggle-symbol'. Bind `M-s c' to
9262 `isearch-toggle-case-fold'.
9263 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9264 (isearch-forward): Add `M-s _' to the docstring.
9265 (isearch-forward-symbol, isearch-toggle-case-fold)
9266 (isearch-symbol-regexp): New functions. (Bug#11381)
9267
d5e61c1c
JL
92682012-05-29 Juri Linkov <juri@jurta.org>
9269
9270 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9271 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9272 a function, call it to get the regexp.
9273 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9274 property `isearch-message-prefix' instead of the string "word ".
9275 (isearch-search-fun-default): For the case of `isearch-word',
9276 return a lambda that calls re-search-forward/re-search-backward
9277 with a regexp returned by `word-search-regexp' or by the function
9278 in `isearch-word'.
9279
8cbd80f7
JL
92802012-05-29 Juri Linkov <juri@jurta.org>
9281
9282 * isearch.el (isearch-search-fun-default): New function.
9283 (isearch-search-fun): Move default part to the new function
9284 `isearch-search-fun-default'.
9285 (isearch-search-fun-function): Set the default value to
9286 `isearch-search-fun-default'. (Bug#11381)
9287
9288 * comint.el (comint-history-isearch-end):
9289 Use `isearch-search-fun-default'.
9290 (comint-history-isearch-search): Use `isearch-search-fun-default'
9291 and remove spacial case for `isearch-word'.
9292 (comint-history-isearch-wrap): Remove spacial case for
9293 `isearch-word'.
9294
9295 * hexl.el (hexl-isearch-search-function):
9296 Use `isearch-search-fun-default'.
9297
9298 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9299 Use `word-search-regexp' for `isearch-word'.
9300
9301 * misearch.el (multi-isearch-search-fun):
9302 Use `isearch-search-fun-default'.
9303
9304 * simple.el (minibuffer-history-isearch-search):
9305 Use `isearch-search-fun-default' and remove spacial case for
9306 `isearch-word'.
9307 (minibuffer-history-isearch-wrap): Remove spacial case for
9308 `isearch-word'.
9309
9310 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9311 Remove spacial case for `isearch-word'.
9312 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9313
85c8c5b6
AM
93142012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9315
9316 Decrease XEmacs incompatibilities.
9317 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9318 Use `string-match'.
9319 (flyspell-delete-region-overlays): Use alternative definition for
9320 XEmacs.
9321 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9322 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9323 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9324 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9325 `define-obsolete-face-alias' under XEmacs, but old method.
9326
9327 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9328 `with-no-warnings' definition or Emacs alias.
9329 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9330 (ispell-word): Do not use `region-p' if XEmacs.
9331
8cab9efc
AM
93322012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9333
9334 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9335 Check for `ispell-dictionary-base-alist' instead of full
9336 `ispell-dictionary-alist'.
9337 (ispell-init-process): Show spellchecker when starting new Ispell
9338 process.
9339
fda91268
RZ
93402012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9343 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9344
694ea8e3
JB
93452012-05-27 Juanma Barranquero <lekktu@gmail.com>
9346
9347 * version.el (motif-version-string, gtk-version-string)
9348 (ns-version-string): Declare.
9349
e4d4f539
JL
93502012-05-27 Juri Linkov <juri@jurta.org>
9351
9352 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9353 after the `eval-defun-1' specialcaseing
9354 like in `edebug-eval-defun' (bug#10181).
9355
9356 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9357 like in `eval-defun-1'.
9358
33017faf 93592012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9360
fda91268
RZ
9361 * mail/sendmail.el (mail-yank-region):
9362 Recognize rmail-yank-current-message in addition to insert-buffer.
9363 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9364 a *mail* buffer created through rmail-start-mail with sendmail as
9365 mail-user-agent.
9366
33017faf
GM
93672012-05-27 Chong Yidong <cyd@gnu.org>
9368
9369 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9370 Default to 256 (Bug#11267).
9371
9372 * help.el (describe-mode): Doc fix.
9373
04188bb9
GM
93742012-05-26 Glenn Morris <rgm@gnu.org>
9375
38264cc9
GM
9376 * w32-fns.el (w32-init-info): Remove.
9377 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9378
eb7afdad
GM
9379 * info.el (info-initialize): For self-contained NS builds, put the
9380 included info/ directory at the front. (Bug#2791)
9381
04188bb9
GM
9382 * paths.el (Info-default-directory-list): Make it a defcustom,
9383 mainly so that we can use custom-initialize-delay.
9384
a179e3f7
SM
93852012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9386
43416392
SM
9387 * subr.el (buffer-has-markers-at): Mark obsolete.
9388
a179e3f7 9389 * subr.el (lambda): Use declare.
43416392 9390
a179e3f7
SM
9391 * emacs-lisp/lisp-mode.el (lambda):
9392 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9393
34a008d9
AH
93942012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9395
9396 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9397
0a3b289f
GM
93982012-05-26 Glenn Morris <rgm@gnu.org>
9399
9400 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9401
758c81e8
GM
94022012-05-25 Glenn Morris <rgm@gnu.org>
9403
f9f334f0
GM
9404 * paths.el: Remove no-byte-compile.
9405 * loadup.el: No need to load paths.el uncompiled.
9406
87eb79c2
GM
9407 * image.el (imagemagick-types-inhibit): Doc fix.
9408
758c81e8
GM
9409 * version.el: Remove no-byte-compile and associated formatting.
9410 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9411 is ancient code from when there was an "inc-vers.el".
9412
e7e85dc0
SM
94132012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * progmodes/gdb-mi.el: Minor style changes.
9416 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9417 Turn into minor modes.
9418 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9419 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9420 (gdb-shell): Remove unneeded let-binding.
9421 (gdb-get-many-fields): Eliminate O(n²) behavior.
9422
f31237a4
EZ
94232012-05-25 Eli Zaretskii <eliz@gnu.org>
9424
9425 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9426 platforms that don't link in fontset.c.
9427
bc1b21bb
JL
94282012-05-25 Juri Linkov <juri@jurta.org>
9429
9430 Use the same diff color scheme as in modern VCSes (bug#10181).
9431
9432 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9433 to avoid confusion with `diff-added' that now uses green colors.
9434 (diff-removed): Use shades of red.
9435 (diff-added): Use shades of green.
9436 (diff-changed): Leave just the yellow color.
9437 (diff-use-changed-face): New variable.
9438 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9439 how to highlight context diff changes.
9440 (diff-refine-change): Use shades of yellow.
9441 (diff-refine-removed): New face that uses shades of red.
9442 (diff-refine-added): New face that uses shades of green.
9443 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9444 `diff-refine-removed' in the call to `smerge-refine-subst'
9445 depending on the value of `diff-use-changed-face'.
9446
9447 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9448 (smerge-other): Use shades of green.
9449 (smerge-base): Use shades of yellow.
9450 (smerge-refined-change): Empty face.
9451 (smerge-refined-removed): New face that uses shades of red.
9452 (smerge-refined-added): New face that uses shades of green.
9453 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9454 args `props-r' and `props-a', and use them. Doc fix.
9455 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9456 on its value use different faces `smerge-refined-change',
9457 `smerge-refined-removed', `smerge-refined-added' in the call to
9458 `smerge-refine-subst'.
9459
9460 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9461 Add face condition `min-colors 88' with shades of red.
9462 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9463 `min-colors 88' with shades of green.
9464 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9465 `min-colors 88' with shades of yellow.
9466
6df9112c
GM
94672012-05-24 Glenn Morris <rgm@gnu.org>
9468
ead5edc0
GM
9469 * paths.el (prune-directory-list, remote-shell-program): Move to...
9470 * files.el (prune-directory-list, remote-shell-program): ...here.
9471 For the latter, delay initialization, prefer ssh, just search PATH.
9472
f18b81e6
GM
9473 * paths.el (term-file-prefix): Move to faces.el (the only user).
9474 * faces.el (term-file-prefix): Move here, make it a defcustom.
9475
ee2f89a6
GM
9476 * paths.el (news-directory, news-path, news-inews-program):
9477 Move to gnus/nnspool.el.
61a583ca 9478
f8815e4c
GM
9479 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9480
c8f3b42c
GM
9481 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9482 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9483 Make the latter a defcustom, with a delayed initialization.
9484
6df9112c
GM
9485 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9486 These were deleted from Gnus itself late 2010.
9487
5dadff36
JB
94882012-05-22 Juanma Barranquero <lekktu@gmail.com>
9489
9e1701c6
JB
9490 * progmodes/which-func.el (which-func-ff-hook):
9491 Check against user-error, not error.
9492
bd7239f5 9493 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9494 cl-specs.el, which no longer exists.
9495
3290526d
GM
94962012-05-22 Glenn Morris <rgm@gnu.org>
9497
9498 * info.el (info-emacs-bug): New command.
9499 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9500 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9501
ff0c3cfb
GM
95022012-05-21 Glenn Morris <rgm@gnu.org>
9503
9504 * makefile.w32-in (update-subdirs-SH):
9505 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9506
5814f126
SM
95072012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9508
a52c0aa0
SM
9509 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9510
5814f126
SM
9511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9512 Simplify Maven regexp, and make sure the file can't start with a space
9513 (bug#11517).
9514
b847032c
GM
95152012-05-21 Glenn Morris <rgm@gnu.org>
9516
9517 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9518 Scrap superfluous subshells.
9519
3858bfe7
SM
95202012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9523 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9524
d14b0029
JB
95252012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9526
9527 * calc/calc.el (calc-ensure-consistent-units): New variable.
9528
a52c0aa0
SM
9529 * calc/calc-units.el (math-consistent-units-p)
9530 (math-check-unit-consistency): New functions.
9531 (calc-quick-units, calc-convert-units):
9532 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9533 is non-nil.
d14b0029
JB
9534 (calc-extract-units): Fix typo.
9535
60c4db3a
SM
95362012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9537
77f3b62e
SM
9538 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9539
60c4db3a
SM
9540 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9541 (flyspell-default-deplacement-commands): Don't spell check after
9542 repeated window/frame switches (e.g. triggered by mouse-movement).
9543 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9544 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9545 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9546 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9547 Remove unused vars.
9548 (flyspell-get-casechars, flyspell-get-not-casechars):
9549 Simplify; Don't bother removing a ] just to add it back.
9550 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9551
d209e2fb 95522012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9553
9554 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9555 New functions.
bd7239f5 9556 (math-function-table): Add support for more C functions.
b1a10716 9557
3f1b25b5
AM
95582012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9559
090bd7cb
JB
9560 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9561 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9562 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9563
b581bb5c
SM
95642012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9567 their respective macro declarations.
9568 * skeleton.el (define-skeleton):
9569 * progmodes/compile.el (define-compilation-mode):
9570 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9571 (define-ibuffer-filter):
9572 * emacs-lisp/generic.el (define-generic-mode):
9573 * emacs-lisp/easy-mmode.el (define-minor-mode)
9574 (define-globalized-minor-mode):
9575 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9576 * emacs-lisp/byte-run.el (defsubst):
9577 * custom.el (deftheme): Add doc-string metadata.
9578
70b8ef8f
SM
95792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9582
b1198e17
SM
95832012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9abdc45d
SM
9585 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9586
b1198e17
SM
9587 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9588 * emacs-lisp/cl-macs.el: Idem.
9589 * emacs-lisp/cl-specs.el: Remove.
9590
4735906a
SM
95912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 Minor renaming of internal CL functions and variables.
9594 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9595 (cl--position): Rename from cl-position.
9596 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9597 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9598 (cl--random-state): Rename from *random-state*.
9599
ac348012
SM
96002012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9603 parens around the arg list (bug#11499).
9604
a0a79cde
JL
96052012-05-17 Juri Linkov <juri@jurta.org>
9606
9607 * isearch.el (word-search-regexp, word-search-backward)
9608 (word-search-forward, word-search-backward-lax)
9609 (word-search-forward-lax): Move functions from search.c
9610 (bug#10145, bug#11381).
9611
65034a51
AM
96122012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9613
090bd7cb
JB
9614 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9615 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9616 Delay for otherchars as for normal word components.
65034a51 9617
1a72a195
SM
96182012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * minibuffer.el (completion--sifn-requote): Fix last change.
9621 (minibuffer-local-must-match-filename-map):
9622 Move define-obsolete-variable-alias before its var.
9623
fdb058c2
SM
96242012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9625
c41045e6
SM
9626 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9627
036dfb8b
SM
9628 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9629 behavior.
9630 (completion--string-equal-p): New function.
9631 (completion--twq-all): Use it to get better assertion failure data.
9632
2473256d
SM
9633 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9634 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9635 (shell--requote-argument): New functions.
9636 (shell-completion-vars): Use them.
9637 (shell--parse-pcomplete-arguments): Rename from
9638 shell-parse-pcomplete-arguments.
9639 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9640 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9641 Obey comint-file-name-quote-list.
9642
fdb058c2
SM
9643 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9644 (smie-indent-keyword): Use it.
9645
51fa99f1
SM
96462012-05-14 Stefan Merten <smerten@oekonux.de>
9647
9648 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9649
e18afed7 96502012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9651
9652 * net/rlogin.el (rlogin-mode-map): Fix last change.
9653
e18afed7 96542012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9655
9656 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9657 the following \r\n using a single `process-send-string', since the
9658 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9659 with two `process-send-string's (Bug#11444).
8633b1f4 9660
e18afed7 96612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9662
fdb058c2
SM
9663 * shell.el (shell-parse-pcomplete-arguments):
9664 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9665
2d21d7f6
WJ
96662012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9667
e18afed7 9668 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9669 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9670 (image-transform-width, image-transform-fit-width): New functions.
9671 (image-transform-properties): Use them.
9672 (image-transform-check-size): New function.
9673 (image-toggle-display-image): Use it (for testing).
9674 (image-transform-set-rotation): Reduce angle mod 360.
9675 Delete obsolete comment.
9676
7102e6d0
WJ
96772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9678
9679 * image-mode.el: Fix scaling (bug#11399).
9680 (image-transform-resize): Doc fix.
9681 (image-transform-properties): Default scale is 1 and height should
9682 be an integer.
9683
06bc5e6e
SM
96842012-05-13 Johan Bockgård <bojohan@gnu.org>
9685
9686 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9687 than hard-coding `car', to fix misbehavior when moving forward.
9688
0ae03b6a
CY
96892012-05-13 Chong Yidong <cyd@gnu.org>
9690
9691 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9692 (tabulated-list-entries, tabulated-list-padding)
9693 (tabulated-list-sort-key): Make permanent-local.
9694
9695 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9696 (electric-buffer-list): Put electric buffer menu
9697 command descriptions in this docstring, instead of the docstring
9698 of electric-buffer-menu-mode. Code cleanups.
9699 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9700 Electric-buffer-menu-mode.
9701 (electric-buffer-update-highlight): Minor code cleanup.
9702
205a7391
MA
97032012-05-13 Michael Albinus <michael.albinus@gmx.de>
9704
9705 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9706 (Bug#11447)
9707
e5bd0a28
SM
97082012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 Move define-obsolete-variable-alias before the var's definition.
9711 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9712 * tooltip.el (tooltip-hook):
9713 * textmodes/reftex-toc.el (reftex-toc-map):
9714 * textmodes/reftex-sel.el (reftex-select-label-map)
9715 (reftex-select-bib-map):
9716 * textmodes/reftex-index.el (reftex-index-map)
9717 (reftex-index-phrases-map):
9718 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9719 * progmodes/meta-mode.el (meta-mode-map):
9720 * novice.el (disabled-command-hook):
9721 * loadhist.el (unload-hook-features-list):
9722 * frame.el (blink-cursor):
9723 * files.el (find-file-not-found-hooks, write-file-hooks)
9724 (write-contents-hooks):
9725 * emulation/tpu-edt.el (GOLD-map):
9726 * emacs-lock.el (emacs-lock-from-exiting):
9727 * emacs-lisp/generic.el (generic-font-lock-defaults):
9728 * emacs-lisp/chart.el (chart-map):
9729 * dos-fns.el (register-name-alist):
9730 * dired-x.el (dired-omit-files-p):
9731 * desktop.el (desktop-enable):
9732 * cus-edit.el (custom-mode-hook):
9733 * buff-menu.el (buffer-menu-mode-hook):
9734 * bookmark.el (bookmark-read-annotation-text-func)
9735 (bookmark-exit-hooks):
9736 * allout.el (allout-mode-deactivate-hook)
9737 (allout-exposure-change-hook, allout-structure-added-hook)
9738 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9739 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9740 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9741 comes before the corresponding variable's definition.
9742
ac59c2f6
CY
97432012-05-12 Chong Yidong <cyd@gnu.org>
9744
9745 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9746 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9747 (Buffer-menu-mode-map): Bind it.
9748 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9749
dee6c9a3
SM
97502012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9751
2171cea5
SM
9752 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9753 (prolog-upper-case-string, prolog-lower-case-string)
9754 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9755 (prolog-use-smie, prolog-smie-grammar): New vars.
9756 (prolog-smie-forward-token, prolog-smie-backward-token)
9757 (prolog-smie-rules): New funs.
9758 (prolog-comment-indent): Remove.
9759 (prolog-mode-variables): Use default comment indentation instead.
9760 Setup SMIE.
9761 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9762 (prolog-mode): Don't call them any more.
9763 (prolog-electric-colon, prolog-electric-dash)
9764 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9765
aa0382bd
SM
9766 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9767
dbacb4bd
SM
9768 * minibuffer.el (completion--twq-all): Again, allow case differences.
9769
13bdd94c
SM
9770 * term.el: Move keymap initialization code to be more idiomatic.
9771 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9772 (term-terminal-menu): Move initialization into declaration.
9773 (term-escape-char): Let the user set it in her .emacs.
9774
ff46c759
SM
9775 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9776 Provide SMIE-based indentation (not enabled by default yet).
9777 (sh-mode-map): Don't bind electric keys.
9778 Use electric-pair-mode instead of skeleton-pair.
9779 (sh-assignment-regexp): Fit within 80 columns.
9780 (sh-indent-supported): Specify actual shell name instead of boolean.
9781 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9782 (sh-maybe-here-document): Use it. Make obsolete.
9783 (sh-electric-here-document-mode) New minor mode.
9784 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9785 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9786 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9787 (sh-smie-rc-grammar, sh-use-smie): New vars.
9788 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9789 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9790 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9791 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9792 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9793 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9794 (sh-set-shell): Use smie-setup if requested.
9795
dee6c9a3
SM
9796 * term.el (term-set-escape-char): Properly set term-escape-char.
9797 See http://stackoverflow.com/questions/10524656.
9798
9f9aa044
CY
97992012-05-10 Chong Yidong <cyd@gnu.org>
9800
9801 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9802 Use url-generic-parse-url, and handle host names and Windows
9803 filenames properly.
9804 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9805 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9806 URL schemes to work on.
9807 (ffap--toggle-read-only): New function.
9808 (ffap-read-only, ffap-read-only-other-window)
9809 (ffap-read-only-other-frame): Use it.
9810 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9811 necessary for ffap-url-unwrap-remote.
9812
836d29b3
DA
98132012-05-10 Dave Abrahams <dave@boostpro.com>
9814
9815 * cus-start.el (create-lockfiles): Add it.
9816
00fd78ed
CY
98172012-05-09 Chong Yidong <cyd@gnu.org>
9818
9819 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9820 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9821
666b903b 98222012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9823
9824 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9825
666b903b 98262012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9827
9828 * ansi-color.el (ansi-color-process-output): Check for validity of
9829 comint-last-output-start before using it. This avoids a bad
9830 interaction with gdb-mi's input/output buffer.
9831
666b903b 98322012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9833
9834 * files.el (dir-locals-read-from-file):
9835 Mention dir-locals in any error message.
9836
666b903b 98372012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9838
9839 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9840 package (Bug#11410).
9841
f677562b
CY
9842 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9843 variables into description.
9844
666b903b 98452012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9846
9847 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9848 shell-delimiter-argument-list (bug#11348).
9849 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9850
b499d8d0
JB
98512012-05-09 Juanma Barranquero <lekktu@gmail.com>
9852
8f6b6da8
JB
9853 * textmodes/rst.el: Silence byte-compiler warnings.
9854 (rst-re-alist, rst-reset-section-caches): Move around.
9855 (rst-re): Use `characterp', not `char-valid-p'.
9856 (font-lock-beg, font-lock-end): Declare.
9857
4824146a
JB
9858 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9859 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9860
b499d8d0
JB
9861 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9862
ad89bb83
GM
98632012-05-08 Glenn Morris <rgm@gnu.org>
9864
9865 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9866
8bba5a75
SM
98672012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9868
49ed9c8e
SM
9869 * vc/log-edit.el: Add GNU coding standards highlighting.
9870 (log-edit-font-lock-gnu-style)
9871 (log-edit-font-lock-gnu-keywords): New vars.
9872 (log-edit-font-lock-keywords): New fun.
9873 (log-edit-mode): Don't fold case in font-lock.
9874 (log-edit-font-lock-keywords): Do not assume case-folding.
9875
07d00b56
SM
9876 * imenu.el: Misc cleanup. Make docstrings out of comments.
9877 Use lexical-binding.
9878 (imenu--index-alist, imenu--last-menubar-index-alist)
9879 (imenu-menubar-modified-tick): Use defvar-local.
9880 (imenu--split-menu): Remove unused var.
9881 (imenu--cleanup-seen): Declare as global.
9882 (imenu--cleanup): Use dolist.
9883
8bba5a75
SM
9884 * subr.el (defvar-local): Add debug spec and doc-string position.
9885
5075bdb5
GM
98862012-05-08 Glenn Morris <rgm@gnu.org>
9887
090bd7cb 9888 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9889 * language/english.el, language/georgian.el, language/greek.el:
9890 * language/japanese.el, language/khmer.el, language/korean.el:
9891 * language/lao.el, language/misc-lang.el, language/romanian.el:
9892 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9893 * language/thai.el, language/utf-8-lang.el:
9894 Remove no-byte-compile setting.
9895
5075bdb5
GM
9896 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9897
06f679a7
AH
98982012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9899
9900 * progmodes/make-mode.el (makefile-browse):
9901 Remove unnecessary interactive. (Bug#11324)
9902
03794570
GM
99032012-05-07 Glenn Morris <rgm@gnu.org>
9904
af8630f4
GM
9905 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9906
03794570
GM
9907 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9908
f0809a9d
SM
99092012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9910
28be5ce7
SM
9911 * loadup.el: Preload newcomment.el.
9912 * newcomment.el: Move autoload-only code to toplevel.
9913
f0809a9d
SM
9914 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9915 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9916 Handle new :right-align column property.
9917 (tabulated-list-print-col): Idem, plus use `display' text-property to
9918 try and preserve alignment for variable pitch fonts.
9919
1241b724
CY
99202012-05-07 Chong Yidong <cyd@gnu.org>
9921
9922 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9923 (tabulated-list-use-header-line): New var.
9924 (tabulated-list-init-header): Use it.
9925 (tabulated-list-print-fake-header): New function.
9926 (tabulated-list-print): Use it.
9927 (tabulated-list-sort-button-map): Add non-header-line commands.
9928 (tabulated-list-init-header): Add column name property to basic
9929 labels as well.
9930 (tabulated-list-col-sort): Handle non-header-line button case.
9931 (tabulated-list--sort-by-column-name): Fix a corner case.
9932
f0809a9d
SM
9933 * buff-menu.el (list-buffers--refresh):
9934 Handle Buffer-menu-use-header-line.
1241b724 9935
e5f9458f
CY
99362012-05-06 Chong Yidong <cyd@gnu.org>
9937
9938 * buff-menu.el: Convert to Tabulated List mode.
9939 (Buffer-menu-buffer+size-width): Make obsolete.
9940 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9941 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9942 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9943 documentation into docstring of buffer-menu.
9944 (Buffer-menu-toggle-files-only): Add an informative message.
9945 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9946 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9947 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9948 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9949 (Buffer-menu-execute, Buffer-menu-select)
9950 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9951 (Buffer-menu-bury): Use Tabulated List machinery.
9952 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9953 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9954 Delete.
e5f9458f
CY
9955 (list-buffers--refresh): New function.
9956 (list-buffers-noselect): Use it.
9957 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9958 (Buffer-menu--pretty-file-name): New helper functions.
9959
9960 * loadup.el: Preload tabulated-list.
9961
9962 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9963 tabulated-list-sort-column.
9964 (tabulated-list-init-header): Add the initial aligning space even
9965 if tabulated-list-padding is zero.
9966
e129292c
CS
99672012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9968
9969 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9970 whose cdr is not a cons cell correctly (bug#11038).
9971
6632d361
CY
99722012-05-06 Chong Yidong <cyd@gnu.org>
9973
e129292c
CS
9974 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9975 Accept additional plist in column descriptors.
6632d361
CY
9976 (tabulated-list-init-header): Obey it.
9977 (tabulated-list-get-entry): New function.
9978 (tabulated-list-put-tag): Use it. Use string-width instead of
9979 length.
9980 (tabulated-list--column-number): New function.
9981 (tabulated-list-print): Use it.
e129292c
CS
9982 (tabulated-list-print-col): New function.
9983 Set `tabulated-list-column-name' property on each column's text.
6632d361 9984 (tabulated-list-print-entry): Use it.
e129292c
CS
9985 (tabulated-list-delete-entry, tabulated-list-set-col):
9986 New functions.
6632d361
CY
9987 (tabulated-list-sort-column): New command (Bug#11337).
9988
3cc99f68
CY
9989 * buff-menu.el (list-buffers): Move C-x C-b binding from
9990 buff-menu.el to bindings.el.
9991
9992 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9993 :advertised-binding feature.
9994
52b61776
TN
99952012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9996
9997 * progmodes/compile.el (compilation-internal-error-properties):
9998 Calculate start position correctly when end-col is set but
9999 end-line is not (Bug#11382).
10000
ebfe2597
WJ
100012012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10002
10003 * man.el (Man-unindent): Use text-property-default-nonsticky to
10004 prevent untabify from inheriting face properties (Bug#11408).
10005
6d3f7c2f
SM
100062012-05-05 Stefan Merten <smerten@oekonux.de>
10007
10008 * textmodes/rst.el: Major merge with upstream development up to
10009 Docutils SVN r7399 / rst.el V1.2.1.
10010
10011 Clarify maintainership and authors.
10012
10013 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10014 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10015 (rst-official-version, rst-official-cvs-rev, rst-version)
10016 (rst-package-emacs-version-alist): New functions and variables
10017 for version information.
10018
10019 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10020 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10021 (rst-mode-syntax-table, rst-mode): New and corrected functions
10022 and variables representing reStructuredText features.
10023
10024 (rst-re): New function for reStructuredText regexes. Use in
10025 many places.
10026
10027 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10028 (rst-mode-map): Rebind keys.
10029
10030 (rst-mode-lazy, rst-font-lock-keywords)
10031 (rst-font-lock-extend-region)
10032 (rst-font-lock-extend-region-internal)
10033 (rst-font-lock-extend-region-extend)
10034 (rst-font-lock-find-unindented-line-limit)
10035 (rst-font-lock-find-unindented-line-match)
10036 (rst-adornment-level, rst-font-lock-adornment-level)
10037 (rst-font-lock-adornment-match)
10038 (rst-font-lock-handle-adornment-pre-match-form)
10039 (rst-font-lock-handle-adornment-matcher): Major revision of
10040 font-locking. Integrate with other code. Use `jit-lock-mode'.
10041
10042 (rst-preferred-adornments, rst-adjust-hook)
10043 (rst-new-adornment-down, rst-preferred-bullets)
10044 (rst-preferred-bullets, rst-indent, rst-indent-width)
10045 (rst-indent-field, rst-indent-literal-normal)
10046 (rst-indent-literal-minimized, rst-indent-comment): Change,
10047 extend and improve customization.
10048
10049 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10050 (rst-normalize-cursor-position, rst-get-decoration)
10051 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10052 (rst-rstrip, rst-toc-insert-find-delete-contents)
10053 (rst-shift-fill-region, rst-compute-bullet-tabs)
10054 (rst-debug-print-tabs, rst-debug-mark-found)
10055 (rst-shift-region-guts, rst-shift-region-right)
10056 (rst-shift-region-left, rst-use-char-classes)
10057 (rst-font-lock-keywords-function)
10058 (rst-font-lock-indentation-point)
10059 (rst-font-lock-find-unindented-line-begin)
10060 (rst-font-lock-find-unindented-line-end)
10061 (rst-font-lock-find-unindented-line)
10062 (rst-font-lock-adornment-point, rst-font-lock-level)
10063 (rst-adornment-level-alist): Remove functions and variables.
10064
10065 (rst-compare-adornments, rst-get-adornment-match)
10066 (rst-suggest-new-adornment, rst-get-adornments-around)
10067 (rst-adornment-complete-p, rst-get-next-adornment)
10068 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10069 (rst-straighten-adornments): Standardize function names to
10070 use "adornment" instead of "decoration". Correct callers.
10071 Similar standardizing in many places.
10072
10073 (rst-update-section, rst-adjust, rst-promote-region)
10074 (rst-enumerate-region, rst-bullet-list-region)
10075 (rst-repeat-last-character): Correct use of `interactive'.
10076
10077 (rst-classify-adornment, rst-find-all-adornments)
10078 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10079 (rst-find-leftmost-column, rst-repeat-last-character):
10080 Refactor functions.
10081
10082 (rst-find-title-line, rst-reset-section-caches)
10083 (rst-get-adornments-around, rst-adjust-adornment-work)
10084 (rst-arabic-to-roman, rst-roman-to-arabic)
10085 (rst-insert-list-pos, rst-insert-list-new-item)
10086 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10087 New functions.
10088
10089 (rst-all-sections, rst-section-hierarchy)
10090 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10091 New variables.
10092
10093 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10094 configuration instead of only buffer. Change where necessary.
10095
10096 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10097 (rst-shift-region, rst-adaptive-fill): New functions for
10098 indentation and filling.
10099
10100 (rst-comment-line-break, rst-comment-indent)
10101 (rst-comment-insert-comment, rst-comment-region)
10102 (rst-uncomment-region): New functions for handling comments.
10103
10104 (rst-compile): Quote shell arguments.
10105
10106 (rst-compile-pdf-preview, rst-compile-slides-preview):
10107 Delete temporary files after use.
10108
a43f98b3
GM
101092012-05-05 Glenn Morris <rgm@gnu.org>
10110
48176e8b
GM
10111 * calendar/cal-html.el: Optionally include holidays in the output.
10112 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10113 (cal-html-holidays): New option.
10114 (cal-html-css-default): Add holiday entry.
10115 (holiday-in-range): Autoload it.
10116 (cal-html-htmlify-entry): Add optional class argument.
10117 (cal-html-htmlify-list): Add optional holidays argument.
10118 (cal-html-insert-agenda-days): Include holidays in the output.
10119 (cal-html-one-month): Maybe include holidays.
10120
a43f98b3
GM
10121 * calendar/holidays.el (holiday-in-range):
10122 Move here from cal-tex-list-holidays.
10123 * calendar/cal-tex.el (cal-tex-list-holidays):
10124 Make it an obsolete alias for holiday-in-range. Update all callers.
10125
fef9d149 101262012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10127
10128 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10129 Nextstep.
10130
248da2f4
RW
101312012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10132
10133 * files.el (file-auto-mode-skip): New var.
10134 (set-auto-mode-1): Use it.
10135
f95e9344
SM
101362012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10137
df96ab1e
SM
10138 * repeat.el: Use lexical-binding.
10139 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10140 (repeat-undo-count): Remove.
10141 (repeat):
10142 * progmodes/octave-mod.el (octave-abbrev-start):
10143 * progmodes/f90.el (f90-abbrev-start):
10144 * face-remap.el (text-scale-adjust):
10145 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10146
5342bb06
SM
10147 * emacs-lisp/pcase.el (pcase--let*): New function.
10148 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10149 a bit more.
10150 (pcase--split-pred): Be more clever about ruling out overlap between
10151 a predicate and some constant pattern.
10152 (pcase--q1): Use `null' instead of (eq foo nil).
10153
f95e9344
SM
10154 * subr.el (setq-local, defvar-local): New macros.
10155 (kbd): Redefine as an alias.
10156 (with-selected-window): Leave unrelated frames alone.
10157 (set-temporary-overlay-map): New function.
10158
71873e2b
SM
101592012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * subr.el (user-error): New function.
10162 * window.el (switch-to-buffer):
10163 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10164 (smerge-match-conflict):
10165 * simple.el (previous-matching-history-element)
10166 (next-matching-history-element, goto-history-element, undo-more)
10167 (undo-start):
10168 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10169 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10170 (next-file, tags-loop-scan, list-tags, complete-tag):
10171 * progmodes/compile.el (compilation-loop):
10172 * mouse.el (mouse-minibuffer-check):
10173 * man.el (Man-bgproc-sentinel, Man-goto-page):
10174 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10175 (Info-history-forward, Info-follow-reference, Info-menu)
10176 (Info-extract-menu-item, Info-extract-menu-counting)
10177 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10178 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10179 (Info-next-reference, Info-prev-reference, Info-index)
10180 (Info-index-next, Info-follow-nearest-node)
10181 (Info-copy-current-node-name):
10182 * imenu.el (imenu--make-index-alist)
10183 (imenu-default-create-index-function, imenu-add-to-menubar):
10184 * files.el (basic-save-buffer, recover-file):
10185 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10186 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10187 (checkdoc-message-text, checkdoc-defun):
10188 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10189 * cus-edit.el (customize-changed-options, customize-rogue)
10190 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10191 (custom-variable-mark-to-reset-standard)
10192 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10193 (custom-file):
10194 * completion.el (check-completion-length):
10195 * comint.el (comint-search-arg)
10196 (comint-previous-matching-input-string-position)
10197 (comint-previous-matching-input)
10198 (comint-replace-by-expanded-history-before-point, comint-send-input)
10199 (comint-copy-old-input, comint-backward-matching-input)
10200 (comint-goto-process-mark, comint-set-process-mark):
10201 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10202 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10203
8a61ee22
SM
102042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10205
66408d1e
SM
10206 * dabbrev.el (dabbrev--ignore-case-p): New function.
10207 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10208 Use it.
10209
8a61ee22
SM
10210 * files.el (automount-dir-prefix): Mark as obsolete.
10211
3c74813a
GM
102122012-05-04 Glenn Morris <rgm@gnu.org>
10213
10214 * patcomp.el, play/bruce.el: Move to obsolete/.
10215
0bfcf5c5
PE
102162012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10217
10218 Fix minor Y10k bugs.
10219 * arc-mode.el (archive-unixdate):
10220 * autoinsert.el (auto-insert-alist):
10221 * calc/calc-forms.el (math-this-year):
10222 * emacs-lisp/copyright.el (copyright-current-year)
10223 (copyright-update-year, copyright):
10224 * tar-mode.el (tar-clip-time-string):
10225 * time.el (display-time-update):
10226 Don't assume years have 4 digits.
10227
78f3273a
CY
102282012-05-04 Chong Yidong <cyd@gnu.org>
10229
10230 * dos-w32.el (file-name-buffer-file-type-alist)
10231 (direct-print-region-use-command-dot-com):
10232 * ffap.el (ffap-menu-regexp):
10233 * find-file.el (ff-special-constructs):
10234 * follow.el (follow-debug):
10235 * forms.el (forms--debug):
10236 * iswitchb.el (iswitchb-all-frames):
10237 * ido.el (ido-all-frames):
10238 * emacs-lisp/timer.el (timer-max-repeats):
10239 * mail/feedmail.el (feedmail-mail-send-hook)
10240 (feedmail-mail-send-hook-queued):
10241 * mail/footnote.el (footnote-signature-separator):
10242 * mail/mailabbrev.el (mail-alias-separator-string)
10243 (mail-abbrev-mode-regexp):
10244 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10245 * progmodes/idlwave.el (idlwave-libinfo-file)
10246 (idlwave-default-completion-case-is-down)
10247 (idlwave-library-routines): Convert defvars to defcustoms.
10248
10249 * mail/rmail.el (rmail-decode-mime-charset):
10250 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10251 (idlwave-shell-fix-inserted-breaks)
10252 (idlwave-shell-activate-alt-keybindings)
10253 (idlwave-shell-use-breakpoint-glyph):
10254 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10255
f7ae6719
SM
102562012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10259
47086495
WS
102602012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10261
10262 * progmodes/verilog-mode.el (font-lock-keywords):
10263 Fix mis-highligting auto. Reported by Craig Barner.
10264 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10265 defines from global name space. Reported by Dan Dever.
47086495
WS
10266 (verilog-auto-reset, verilog-auto-reset-widths)
10267 (verilog-auto-tieoff): Support using unbased numbers for
10268 AUTORESET and AUTOTIEOFF.
10269 (verilog-submit-bug-report): Update variable list.
10270 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10271 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10272 (verilog-auto-template-lint): Fix hash error when linting modules
10273 with no used templates.
10274 (verilog-warn, verilog-warn-error)
10275 (verilog-warn-fatal): When non-interactive report multiple
10276 warnings before exiting. Suggested by Brad Dobbie.
10277 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10278 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10279 to report unused template errors. Reported by Brad Dobbie.
10280 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10281 nets, bug438. Reported by Vns Blore.
47086495
WS
10282 (verilog-auto-inout-module, verilog-auto-reg)
10283 (verilog-read-decls, verilog-read-sub-decls-sig)
10284 (verilog-signals-edit-wire-reg, verilog-signals-with):
10285 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10286 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10287 "reg" for backwards compatibility presuming Verilog 2001.
10288 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10289 (verilog-preprocess): Fix replication of preprocess output.
10290 Reported by Brad Dobbie.
10291 (verilog-auto-inst-interfaced-ports):
10292 Create verilog-auto-inst-interfaced-ports, bug429.
10293 Reported by Julian Gorfajn.
10294 (verilog-after-save-font-hook)
10295 (verilog-before-save-font-hook): New variable.
10296 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10297 (verilog-save-font-mods): Wrap disabling fontification, reported
10298 by David Rogoff.
10299 (verilog-do-indent, verilog-pretty-declarations-auto)
10300 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10301 Reported by Pierre-David Pfister.
10302 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10303 of class declarations, bug292. Reported by Kevin Heilman.
10304 (verilog-read-decls): Fix 'parameter type' not appearing in
10305 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10306 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10307 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10308 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10309 Reported by David Kravitz.
10310
103112012-05-03 Michael McNamara <mac@mail.brushroad.com>
10312
10313 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10314 assignment with tests in ifs and for loops.
10315 (verilog-extended-complete-re, verilog-complete-reg): Change so
10316 that DPI inport functions don't look like fuction declarations.
10317 (verilog-pretty-expr): Don't line up assignment
10318 operations to the test and increment in if and for loops
10319 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10320 that DPI inport functions don't look like fuction declarations.
47086495 10321
2e51d4b5
KH
103222012-05-03 Kenichi Handa <handa@m17n.org>
10323
10324 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10325 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10326 (Bug#11282).
10327
2bd785a2
SM
103282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * emacs-lisp/bytecomp.el
10331 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10332 since cconv.el might have introduced :fun-body, internal-make-closure,
10333 and friends for bytecomp to handle (bug#11391).
10334 * custom.el (defcustom): Avoid ((λ ..) ..).
10335
99d27583
SM
103362012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10339
55a71479
JB
103402012-05-02 Juanma Barranquero <lekktu@gmail.com>
10341
10342 * notifications.el (dbus-debug):
10343 * term/linux.el (gpm-mouse-enable):
10344 * term/screen.el (xterm-register-default-colors): Declare.
10345
7b97c764
CY
103462012-05-02 Chong Yidong <cyd@gnu.org>
10347
2bc356d7
CY
10348 * cus-start.el (gc-cons-percentage, exec-suffixes)
10349 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10350 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10351 (make-cursor-line-fully-visible, void-text-area-pointer)
10352 (font-list-limit): Add customization data.
10353
7b97c764
CY
10354 * allout.el (allout-exposure-change-functions)
10355 (allout-structure-added-functions)
10356 (allout-structure-deleted-functions)
10357 (allout-structure-shifted-functions): Rename abnormal hooks from
10358 *-hook, and convert to defcustoms.
5d3385a0
JB
10359 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10360 Convert to defcustoms.
7b97c764
CY
10361 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10362
10363 * allout-widgets.el: Hook callers changed.
10364
90207a15 103652012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10366
10367 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10368 the yanked message in preference to the default value of
10369 buffer-file-coding-system.
10370
90207a15 103712012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10372
5d3385a0
JB
10373 * window.el (display-buffer--action-function-custom-type):
10374 Fix entry.
d9558cad 10375
90207a15 103762012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10377
10378 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10379
d80ac57b
GM
103802012-05-01 Glenn Morris <rgm@gnu.org>
10381
976f7668
GM
10382 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10383
beb83b5a
GM
10384 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10385
d80ac57b
GM
10386 * cus-edit.el (custom-variable-documentation): Simplify with format.
10387
b593d6a9 103882012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10389 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10390
10391 * simple.el (suggest-key-bindings, execute-extended-command):
10392 Move from keyboard.c.
10393
782fbf2a
CY
103942012-05-01 Chong Yidong <cyd@gnu.org>
10395
10396 * follow.el: Eliminate advice.
10397 (set-process-filter, process-filter, sit-for): Advice deleted.
10398 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10399 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10400 Vars deleted.
782fbf2a
CY
10401 (follow-auto): Use a :set function.
10402 (follow-mode): Rewritten. Don't advise process filters.
10403 (follow-switch-to-current-buffer-all, follow-scroll-up)
10404 (follow-scroll-down): Assume follow-mode is bound.
10405 (follow-comint-scroll-to-bottom)
10406 (follow-align-compilation-windows): New functions.
10407 (follow--window-sorter): New function.
10408 (follow-all-followers): Use it to explicitly sort windows by their
10409 positions; don't make assumptions about next-window order.
10410 (follow-windows-start-end, follow-delete-other-windows-and-split)
10411 (follow-calc-win-start): Doc fix.
10412 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10413 vertical-motion unnecessarily.
10414 (follow-adjust-window): New function.
10415 (follow-post-command-hook): Use it.
10416 (follow-call-set-process-filter, follow-call-process-filter)
10417 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10418 (follow-stop-intercept-process-output, follow-generic-filter):
10419 Functions deleted.
10420 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10421 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10422 New functions, replacing advice on scroll-bar-* commands.
87233a14 10423 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10424
10425 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10426 (comint-postoutput-scroll-to-bottom): Use it.
10427 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10428
290af740
GM
104292012-05-01 Glenn Morris <rgm@gnu.org>
10430
10431 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10432 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10433 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10434 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10435 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10436 Remove no-byte-compile setting.
10437
6eac8dc9
SM
104382012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10441 all-completions code to not return a number in the last cdr.
10442
9cc7819c
LL
104432012-04-30 Leo Liu <sdl.web@gmail.com>
10444
10445 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10446 read-only error.
10447
c93b886f
CY
104482012-04-29 Chong Yidong <cyd@gnu.org>
10449
10450 * follow.el (follow-calc-win-end): Rewrite to handle partial
10451 screen lines correctly (Bug#8390).
10452 (follow-avoid-tail-recenter): Minor cleanup.
10453
8b6c19f4
SM
104542012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 Avoid the obsolete `assoc' package.
10457 * speedbar.el (speedbar-refresh): Avoid adelete.
10458 (speedbar-file-lists): Simplify and avoid aput.
10459 * man.el (Man--sections, Man--refpages): New vars, replacing
10460 Man-sections-alist and Man-refpages-alist.
10461 (Man-build-section-alist, Man-build-references-alist):
10462 Use them; avoid aput.
10463 (Man--last-section, Man--last-refpage): New vars.
10464 (Man-follow-manual-reference): Use them.
10465 Use the `default' arg of completing-read.
10466 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10467
c5bb7569
CY
104682012-04-27 Chong Yidong <cyd@gnu.org>
10469
d1d2e2e8
CY
10470 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10471
15cd8efd
CY
10472 * startup.el (x-apply-session-resources): New function.
10473
10474 * term/ns-win.el (ns-initialize-window-system):
10475 * term/w32-win.el (w32-initialize-window-system):
10476 * term/x-win.el (x-initialize-window-system): Use it to properly
10477 set menu-bar-mode and other vars from X resources, even if the
10478 initial frame is not a window-system frame (Bug#2299).
10479
c5bb7569
CY
10480 * subr.el (read-key): Avoid running filter function when setting
10481 up temporary tool bar entries (Bug#9922).
10482
a8e7d6d7 104832012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10484
10485 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10486 (Bug#11344)
10487
a8e7d6d7 104882012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10489
10490 * select.el (xselect--encode-string): New function, split from
10491 xselect-convert-to-string.
10492 (xselect-convert-to-string): Use it.
10493 (xselect-convert-to-filename, xselect-convert-to-os)
10494 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10495 returned strings are properly encoded (Bug#11315).
10496
a8e7d6d7 104972012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10498
10499 * simple.el (delete-active-region): Move to killing custom group.
10500
a8e7d6d7 105012012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10502
10503 * progmodes/which-func.el (which-func-current): Quote %
10504 characters for mode-line processing.
10505
578c1d4b 105062012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10507
10508 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10509 reaching eob (Bug#11286).
10510
a8e7d6d7 105112012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10512
10513 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10514 (gdb): Make it buffer-local and init to zero.
10515 (gdb-control-commands-regexp): New variable.
10516 (gdb-send): Don't wrap in "-interpreter-exec console" if
10517 gdb-control-level is positive. Increment gdb-control-level
10518 whenever the command matches gdb-control-commands-regexp, and
10519 decrement it each time the command is "end". (Bug#11279)
10520
a8e7d6d7 105212012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10522
10523 * window.el (adjust-window-trailing-edge, enlarge-window)
10524 (shrink-window, window-resize):
10525 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10526 windows (Bug#11276).
10527
b3608390
CY
105282012-04-27 Chong Yidong <cyd@gnu.org>
10529
10530 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10531 fix "missing prefix" warning. All callers changed.
b3608390 10532
797e6e88
SM
105332012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * emacs-lisp/assoc.el: Move to obsolete/.
10536
e95a67dc
SM
105372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10538
657c21e4 10539 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10540
10541 * term/ns-win.el (ns-define-service):
10542 * progmodes/pascal.el (pascal-goto-defun):
10543 * progmodes/js.el (js--read-tab):
10544 * progmodes/etags.el (tags-lazy-completion-table):
10545 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10546 * emacs-lisp/ewoc.el (ewoc--wrap):
10547 * emacs-lisp/assoc.el (aput, adelete, amake):
10548 * doc-view.el (doc-view-convert-current-doc):
10549 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10550
cb3e7ae0
CY
105512012-04-26 Chong Yidong <cyd@gnu.org>
10552
dce04f7f
CY
10553 * image.el (image-type-from-buffer): Only return supported image
10554 type (Bug#9045).
10555
cb3e7ae0
CY
10556 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10557 value, for symmetry with diff-end-of-hunk.
10558 (diff-split-hunk, diff-find-source-location)
10559 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10560 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10561 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10562 compute the relevant hunk or file properly (Bug#6005).
10563 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10564
0d42eb3e
SM
105652012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * vc/vc-mtn.el:
10568 * vc/vc-hg.el:
10569 * vc/vc-git.el:
10570 * vc/vc-dir.el:
10571 * vc/vc-cvs.el:
10572 * vc/vc-bzr.el:
10573 * vc/vc-arch.el:
10574 * vc/vc.el: Replace lexical-let by lexical-binding.
10575 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10576 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10577 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10578
f08ae1c9
CY
105792012-04-26 Chong Yidong <cyd@gnu.org>
10580
8b71081d
CY
10581 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10582 (diff-mode-shared-map): Bind it to / and [remap undo].
10583
f08ae1c9
CY
10584 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10585 (ediff-window-setup-function): Use it as the default, to set up
10586 windows based on whether the current frame is graphical (Bug#2138).
10587 (ediff-choose-window-setup-function-automatically): Make obsolete.
10588
10589 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10590
ef24141c
SM
105912012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10592
cc356a5d
SM
10593 * ffap.el: Remove old code for obsolete package.
10594 (ffap-complete-as-file-p): Remove.
10595
b4ff4f1f
SM
10596 Use completion-table-with-quoting for comint and pcomplete.
10597 * comint.el (comint--unquote&requote-argument)
10598 (comint--unquote-argument, comint--requote-argument): New functions.
10599 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10600 (comint-quote-filename): Use regexp-opt-charset.
10601 (comint--common-suffix, comint--common-quoted-suffix)
10602 (comint--table-subvert): Remove.
10603 (comint-unquote-function, comint-requote-function): New vars.
10604 (comint--complete-file-name-data): Use them with
10605 completion-table-with-quoting.
10606 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10607 * pcomplete.el (pcomplete-arg-quote-list)
10608 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10609 (pcomplete-unquote-argument-function): Default to non-nil.
10610 (pcomplete-unquote-argument): Simplify.
10611 (pcomplete--common-quoted-suffix): Remove.
10612 (pcomplete-requote-argument-function): New var.
10613 (pcomplete--common-suffix): New function.
10614 (pcomplete-completions-at-point): Use completion-table-with-quoting
10615 and completion-table-subvert.
10616
79c4eeb4
SM
10617 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10618 (minibuffer--double-dollars): Preserve properties.
10619 (completion--sifn-requote): New function.
10620 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10621
ef24141c
SM
10622 * minibuffer.el: Add support for completion of quoted/escaped data.
10623 (completion-table-with-quoting, completion-table-subvert): New funs.
10624 (completion--twq-try, completion--twq-all): New functions.
10625 (completion--nth-completion): New function.
10626 (completion-try-completion, completion-all-completions): Use it.
10627
784e7d6e
LL
106282012-04-25 Leo Liu <sdl.web@gmail.com>
10629
dd2ac746
SM
10630 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10631 Use compilation-message if available to find real filename.
784e7d6e 10632
07875ee7
CY
106332012-04-25 Chong Yidong <cyd@gnu.org>
10634
10635 * vc/diff-mode.el (diff-setup-whitespace): New function.
10636 (diff-mode): Use it.
10637
10638 * vc/diff.el (diff-sentinel):
10639 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10640 Whitespace mode variables based on diff style (Bug#8612).
10641
5055880d
LL
106422012-04-25 Leo Liu <sdl.web@gmail.com>
10643
daf75653
LL
10644 * progmodes/python.el (python-send-region): Add suffix .py to the
10645 temp file.
10646
5055880d
LL
10647 * files.el (auto-mode-alist): Use javascript-mode instead.
10648
db9b177b
AH
106492012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10650
ef24141c 10651 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10652
090bd7cb 10653 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10654 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10655 references, see Bug#9.
ef24141c 10656 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10657 when receiving a fault reply.
ef24141c 10658 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10659
090bd7cb 10660 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10661 (soap-inspect-simple-type): New function.
db9b177b 10662
090bd7cb 10663 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10664 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10665 (soap-decode-basic-type, soap-encode-basic-type):
10666 support unsignedInt and double basic types.
db9b177b 10667 (soap-resolve-references-for-simple-type)
ef24141c
SM
10668 (soap-parse-simple-type, soap-encode-simple-type): New function.
10669 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10670
090bd7cb 10671 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10672 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10673 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10674 the local name of "soapenc:Array".
10675 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10676 decoding integer, byte and anyURI xsd types.
10677
1fc6097b
CY
106782012-04-25 Chong Yidong <cyd@gnu.org>
10679
10680 * cus-edit.el (custom-buffer-create-internal): Update header text.
10681
afc6df87
EZ
106822012-04-25 Eli Zaretskii <eliz@gnu.org>
10683
10684 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10685 settings on 'system-type', not on 'window-system'. On MS-Windows,
10686 set interactive-mode on in GDB.
10687
dfbd787f
SM
106882012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10691 (ruby-syntax-propertize-regexp): Remove.
10692 (ruby-syntax-propertize-function): Split regexp into chunks.
10693 Match following code directly.
10694
85222d44
DG
106952012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10696
51a8ea2a
DG
10697 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10698 (ruby-syntax-propertize-regexp): New function.
10699 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10700 by a special keyword.
10701
85222d44
DG
10702 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10703 (ruby-syntax-general-delimiters-goto-beg)
10704 (ruby-syntax-propertize-general-delimiters): New functions.
10705 (ruby-syntax-propertize-function): Use them to handle GDL.
10706 (ruby-font-lock-keywords): Move old handling of GDL...
10707 (ruby-font-lock-syntactic-keywords): .. to here.
10708 (ruby-calculate-indent): Adjust indentation for GDL.
10709
b613912b
MA
107102012-04-24 Michael Albinus <michael.albinus@gmx.de>
10711
b5380639
MA
10712 * notifications.el (top): Remove unneeded declarations.
10713 (notifications-specification-version): Change to "1.2".
e43042fe 10714 (notifications-interface, notifications-notify-method)
b613912b
MA
10715 (notifications-close-notification-method): Fix docstring.
10716 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10717 (notifications-notify): Add :action-items, :resident and
10718 :transient hints. Change "image_data" to "image-data" and
10719 "image_path" to "image-path".
b613912b
MA
10720 (notifications-get-capabilities): New defun.
10721
257440aa
LL
107222012-04-24 Leo Liu <sdl.web@gmail.com>
10723
10724 * progmodes/python.el: Move hideshow setup to the end.
10725
b1bac16e
MR
107262012-04-24 Martin Rudalics <rudalics@gmx.at>
10727
10728 * window.el (handle-select-window): Clear echo area since this is
10729 no more done by read_char (Bug#11304).
10730
d81bd059
SM
107312012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10734 and `/ M' to filter-derived-mode.
10735 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10736 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10737 (ibuffer-mark-by-mode): Use default rather than initial-input.
10738 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10739
c4cf6d91
IA
107402012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10741
10742 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10743 (ibuffer-filter-by-derived-mode): New filter.
10744 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10745
7511ded8
CY
107462012-04-23 Andreas Politz <politza@fh-trier.de>
10747
10748 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10749
775c916b
CY
107502012-04-23 Chong Yidong <cyd@gnu.org>
10751
10752 * cus-edit.el (customize-apropos, customize-apropos-options):
10753 Disable matching of non-option variables (Bug#11176).
10754 (customize-option, customize-option-other-window)
10755 (customize-changed-options): Doc fix.
10756 (customize-apropos-options, customize-apropos-faces)
10757 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10758
10759 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10760 Fix word list splitting (Bug#11132).
46c71e23
CY
10761 (apropos-symbol, apropos-keybinding, apropos-label)
10762 (apropos-property, apropos-function-button)
10763 (apropos-variable-button, apropos-misc-button): New faces.
10764 (apropos-symbol-face, apropos-keybinding-face)
10765 (apropos-label-face, apropos-property-face, apropos-match-face):
10766 Variables removed (Bug#8396).
10767 (apropos-library-button, apropos-format-plist, apropos-print)
10768 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10769
2df41f9c
MA
107702012-04-23 Michael Albinus <michael.albinus@gmx.de>
10771
10772 * net/xesam.el (xesam-mode-map): Use let-bound map in
10773 initialization. (Bug#11292)
10774
da00640a
AM
107752012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10776
10777 Preserve ispell session localwords when switching back to
10778 original buffer.
10779
090bd7cb
JB
10780 * textmodes/ispell.el (ispell-buffer-session-localwords):
10781 New buffer-local variable to hold buffer session localwords.
ed9265fc 10782 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10783 localwords.
10784 (ispell-command-loop, ispell-change-dictionary)
10785 (ispell-buffer-local-words): Preserve session localwords when
10786 needed.
10787
090bd7cb
JB
10788 * textmodes/flyspell.el (flyspell-process-localwords)
10789 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10790
f621ccf5
AM
107912012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10792
090bd7cb
JB
10793 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10794 using obsolete `translation-table-for-input'.
ef24141c
SM
10795 (ispell-word, ispell-process-line, ispell-complete-word):
10796 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10797
c2d1019e
CY
107982012-04-22 Chong Yidong <cyd@gnu.org>
10799
10800 * cus-edit.el (custom-variable-menu)
10801 (custom-variable-reset-saved, custom-face-menu)
10802 (custom-face-reset-saved): If there is no saved value, make the
10803 "reset-saved" operation bring back the default (Bug#9509).
10804 (custom-face-state): Properly detect themed faces.
10805
eeddc531
CY
10806 * faces.el (face-spec-set): Stop supporting deprecated form of
10807 third arg.
10808
dcbf5805
MA
108092012-04-22 Michael Albinus <michael.albinus@gmx.de>
10810
10811 Move functions from C to Lisp. Make non-blocking method calls
10812 the default. Implement further D-Bus standard interfaces.
10813
ef24141c
SM
10814 * net/dbus.el (dbus-message-internal): Declare function.
10815 Remove unneeded function declarations.
dcbf5805
MA
10816 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10817 (dbus-message-type-method-return, dbus-message-type-error)
10818 (dbus-message-type-signal): Declare variables. Remove local
10819 definitions.
10820 (dbus-interface-dbus, dbus-interface-peer)
10821 (dbus-interface-introspectable, dbus-interface-properties)
10822 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10823 Adapt docstring.
10824 (dbus-interface-objectmanager): New defconst.
10825 (dbus-call-method, dbus-call-method-asynchronously)
10826 (dbus-send-signal, dbus-method-return-internal)
10827 (dbus-method-error-internal, dbus-register-service)
10828 (dbus-register-signal, dbus-register-method): New defuns, moved
10829 from dbusbind.c
10830 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10831 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10832 New defuns.
dcbf5805
MA
10833 (dbus-call-method-non-blocking): Make it an obsolete function.
10834 (dbus-unregister-object, dbus-unregister-service)
10835 (dbus-handle-event, dbus-register-property)
10836 (dbus-property-handler): Obey the new structure of
10837 `bus-registered-objects'.
10838 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10839 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10840 Use `dbus-call-method'.
10841
cf20dee0
CY
108422012-04-22 Chong Yidong <cyd@gnu.org>
10843
10844 * cus-edit.el (custom-commands, custom-reset-menu)
10845 (Custom-reset-standard): Tweak labels.
10846 (custom-reset-button-menu): Change default to t.
10847 (custom-buffer-create-internal): For the custom-reset-button-menu
10848 case, put the revert button first.
10849 (custom-group-subtitle): New face.
10850 (custom-group-value-create): Align docstring to a specific column.
10851
10852 * wid-edit.el (widget-documentation-link-add): Don't handle
10853 indentation in this function.
10854 (widget-documentation-string-indent-to): New function.
10855 (widget-documentation-string-value-create): Use it.
10856
10857 * autorevert.el (auto-revert):
10858 * epg-config.el (epg):
10859 * ibuffer.el (ibuffer):
10860 * mpc.el (mpc):
10861 * ses.el (ses):
10862 * eshell/eshell.el (eshell):
10863 * net/ange-ftp.el (ange-ftp):
10864 * progmodes/ebnf2ps.el (postscript):
10865 * progmodes/flymake.el (flymake):
10866 * progmodes/prolog.el (prolog):
10867 * progmodes/verilog-mode.el (verilog-mode):
10868 * progmodes/which-func.el (which-func):
10869 * term/xterm.el (xterm):
10870 * textmodes/picture.el (picture):
10871 * textmodes/tildify.el (tildify):
10872 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10873 customization buffers.
10874
583e23bd
AM
108752012-04-22 Alan Mackenzie <acm@muc.de>
10876
10877 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10878 Adding a ) can hide the resulting (..) from searches. Fix it.
10879 Bound the backward search to the position of the existing (.
10880
7dd51bf1
JB
108812012-04-21 Juanma Barranquero <lekktu@gmail.com>
10882
10883 * progmodes/verilog-mode.el (verilog-mode): Check whether
10884 which-func-modes is t before adding verilog-mode.
10885 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10886
d64a438f
LL
108872012-04-21 Leo Liu <sdl.web@gmail.com>
10888
7dd51bf1 10889 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10890
081e8d65
MV
108912012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10892
10893 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10894 filling of the last column of a table (Bug#5635).
10895 (woman-find-next-control-line): New arg, specifying an additional
10896 regexp component for the control line.
10897 (woman2-roff-buffer): Use it.
10898 (woman-break-table): New function.
10899 (woman2-TS): Use it.
10900
109012012-04-21 Chong Yidong <cyd@gnu.org>
10902
10903 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10904 (woman-horizontal-escapes, woman-negative-vertical-space)
10905 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10906 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10907
ed571ccb
SM
109082012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * minibuffer.el (completion-file-name-table): Complete user names.
10911
39773899
LL
109122012-04-20 Leo Liu <sdl.web@gmail.com>
10913
10914 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10915 and pcase-let*.
10916
de6ff46d
CY
109172012-04-20 Chong Yidong <cyd@gnu.org>
10918
10919 * server.el (server-execute): Respect initial-buffer-choice if it
10920 is a string and there are no files to open (Bug#2825).
10921 (server-create-window-system-frame, server-create-tty-frame):
10922 Don't switch buffers here.
2d0e8e61
CY
10923 (server-process-filter): Only try to open a window system frame if
10924 compiled with graphical support (Bug#8314).
de6ff46d 10925
54071013
DN
109262012-04-20 Dan Nicolaescu <dann@gnu.org>
10927
10928 * battery.el (battery-echo-area-format): Display remaining time
10929 for sysfs backend too (Bug#11269).
10930 (battery-linux-sysfs): Fix conditional for the charge.
10931
f30d612a
CY
109322012-04-20 Chong Yidong <cyd@gnu.org>
10933
c07a4c0b 10934 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10935 (gdb-inferior-io--init-proc): New function.
10936 (gdb-init-1): Use it.
10937 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10938 responsible for allocating a new pty and hooking it to gdb when
10939 the old pty gets an EIO due to process exit.
10940 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10941 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10942 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10943
2116e93c
EZ
109442012-04-20 Eli Zaretskii <eliz@gnu.org>
10945
10946 * window.el (window-min-size, window-sizable, window-min-delta)
10947 (window-max-delta, window--resizable, window-resizable)
10948 (window-total-size, window-full-height-p, window-full-width-p)
10949 (window-in-direction, window--resize-mini-window, window-resize)
10950 (window--resize-child-windows-normal)
10951 (window--resize-child-windows, window--resize-siblings)
10952 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10953 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10954
c07a4c0b 109552012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10956
ef24141c
SM
10957 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10958 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10959 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10960 pty process (Bug#11273).
10961 (gdb-update): New arg to suppress talking to the gdb process.
10962 (gdb-done-or-error): Use it.
10963 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10964 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10965 sentinel not being called.
10966
10967 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10968
d02766ab
CY
10969 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10970
c07a4c0b 109712012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10972
10973 * net/network-stream.el (open-network-stream): Doc fix.
10974
c07a4c0b 109752012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10976
10977 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10978
c07a4c0b 109792012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10980
10981 Ensure searching for keywords is case sensitive.
10982
10983 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10984 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10985 (c-defun-name, c-mark-function, c-cpp-define-name)
10986 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10987 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10988
ef24141c
SM
10989 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10990 Bind case-fold-search to nil.
f0f6bc35 10991
c07a4c0b 109922012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10993
10994 * mail/sendmail.el (mail-bury): Call return action with the right
10995 Rmail buffer (Bug#11242).
10996
9a864fa2
CY
10997 * server.el (server-process-filter): Handle corner case where both
10998 tty and nowait options are present (Bug#11102).
10999
539aa513
EZ
110002012-04-20 Eli Zaretskii <eliz@gnu.org>
11001
11002 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11003 (top level): Put into the executable the ident-style '$Id:' tag on
11004 windows-nt as well.
539aa513 11005
cfc7d5da
SM
110062012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * electric.el (electric-indent-post-self-insert-function): Check that
11009 electric-indent-mode is enabled in current buffer.
11010
5b01685c
JB
110112012-04-19 Juanma Barranquero <lekktu@gmail.com>
11012
11013 * imenu.el (imenu-progress-message): Restore; it is "used" in
11014 erc/erc-imenu.el and net/snmp-mode.el.
11015
4d6769e1
JB
110162012-04-19 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11019 (mouse-avoidance-nudge-mouse): Remove unused binding.
11020
11021 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11022
11023 * descr-text.el (describe-char):
11024 * progmodes/python.el (python-describe-symbol):
11025 Don't call `toggle-read-only', set `buffer-read-only'.
11026
11027 * imenu.el (imenu-default-goto-function): Mark unused args.
11028 (imenu-progress-message): Remove obsolete macro; all callers changed.
11029
11030 * subr.el (keymap-canonicalize): Remove unused binding.
11031 (read-passwd): Mark unused arg.
11032
11033 * tutorial.el (tutorial--display-changes): Remove unused binding.
11034 (tutorial--save-tutorial-to): Remove unused variable.
11035
11036 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11037 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11038 (package-generate-autoloads, package-menu--generate)
11039 (package-menu--find-upgrades): Remove unused bindings.
11040
11041 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11042 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11043 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11044 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11045 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11046 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11047 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11048 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11049 (cua-delete-char-rectangle): Mark unused args.
11050 (cua-align-rectangle): Remove unused binding.
11051
11052 * mail/rmail.el (compilation--message->loc)
11053 (epa--find-coding-system-for-mime-charset): Declare.
11054
11055 * net/dbus.el (dbus-register-service): Declare.
11056 (dbus-name-owner-changed-handler): Remove unused binding.
11057
11058 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11059 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11060 (nxml-scan-backward-within): Mark unused arg.
11061 (nxml-dynamic-markup-word): Remove unused binding.
11062
11063 * mouse.el (mouse-menu-major-mode-map):
11064 * emacs-lisp/authors.el (authors-scan-change-log)
11065 (authors-add-to-author-list):
11066 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11067 * emacs-lisp/smie.el (smie-auto-fill):
11068 * mail/sendmail.el (mail-bury):
11069 * mail/unrmail.el (unrmail):
11070 * net/tls.el (open-tls-stream):
11071 * textmodes/picture.el (picture-mouse-set-point):
11072 Remove unused bindings.
11073
8c8fc5df
MA
110742012-04-19 Michael Albinus <michael.albinus@gmx.de>
11075
11076 * net/tramp.el (tramp-action-password): Let-bind
11077 `enable-recursive-minibuffers' to t.
11078
a77b0ac9
SS
110792012-04-18 Sam Steingold <sds@gnu.org>
11080
11081 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11082 instead of 'string to accommodate values like [f11].
11083 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11084 * progmodes/gdb-mi.el: Likewise.
11085
12a106a9
LL
110862012-04-18 Leo Liu <sdl.web@gmail.com>
11087
11088 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11089 current buffer.
11090 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11091 LOCAL is nil.
11092
bc6494ef
CY
110932012-04-18 Chong Yidong <cyd@gnu.org>
11094
11095 * simple.el (line-move): Use forward-line if in batch mode
11096 (Bug#11053).
11097
c09c46b2
CS
110982012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11099
11100 * files.el (after-find-file): Do not try to add a final newline if
11101 the buffer is read-only (Bug#11156).
11102
5f6530ea
RS
111032012-04-17 Richard Stallman <rms@gnu.org>
11104
11105 * mail/rmail.el (rmail-start-mail):
11106 Pass (rmail-mail-return...) for the return-action.
11107 Pass (rmail-yank-current-message...) for the yank-action.
11108 (rmail-yank-current-message): New function.
11109 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11110 (rmail-reply): Likewise.
11111 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11112
11113 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11114 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11115 buffer, not newbuf.
11116
197b6f3c
JB
111172012-04-17 Juanma Barranquero <lekktu@gmail.com>
11118
11119 * server.el (server-ensure-safe-dir): Simplify.
11120
2311d8e5 111212012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11122
2311d8e5
GM
11123 * emacs-lisp/smie.el: Provide smarter auto-filling.
11124 (smie-auto-fill): New function.
11125 (smie-setup): Use it.
98fb480e 11126
2311d8e5
GM
11127 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11128
111292012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11130
11131 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11132 (comment-indent): Use it.
11133
2311d8e5 111342012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11135
11136 * ses.el: The overall change is to add cell renaming, that is
11137 setting fancy names for cell symbols other than name matching
11138 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11139 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11140 (ses-create-cell-variable): New defun.
2311d8e5 11141 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11142 (ses-relocate-formula): Relocate formulas only for cells the
11143 symbols of which are not renamed, i.e. symbols whose names do not
11144 match regexp "\\`[A-Z]+[0-9]+\\'".
11145 (ses-relocate-all): Relocate values only for cells the symbols of
11146 which are not renamed.
11147 (ses-load): Create cells variables as the (ses-cell ...) are read,
11148 in order to check row col consistency with cell symbol name only
11149 for cells that are not renamed.
11150 (ses-replace-name-in-formula): New defun.
11151 (ses-rename-cell): New defun.
4bdf2ad2 11152
fc72b15c
PO
111532012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11154
11155 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11156 New option (bug#11118).
11157 (perl-calculate-indent): Respect it.
11158
12e10e61
GM
111592012-04-17 Glenn Morris <rgm@gnu.org>
11160
11161 * dired-aux.el (dired-mark-read-string): Doc fix.
11162
30009afd
DA
111632012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11164
11165 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11166 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11167
41f03f4d
GM
111682012-04-17 Glenn Morris <rgm@gnu.org>
11169
11170 * mouse.el (mouse-drag-track):
11171 * speedbar.el (speedbar-frame-mode):
11172 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11173
f45f90f3
LL
111742012-04-16 Leo Liu <sdl.web@gmail.com>
11175
11176 * progmodes/python.el: Trivial cleanup.
11177
94ee8db5
GM
111782012-04-16 Glenn Morris <rgm@gnu.org>
11179
121b8917
GM
11180 * vc/vc.el (vc-string-prefix-p):
11181 * vc/pcvs-util.el (cvs-string-prefix-p):
11182 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11183 * mpc.el (mpc-string-prefix-p):
11184 Make all of these into obsolete aliases for string-prefix-p.
11185 Update callers.
11186 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11187
1197ecfa
GM
11188 * textmodes/two-column.el: Move custom options to the start.
11189 (frame-width): Remove compat definition.
11190 (2C-associate-buffer, 2C-dissociate):
11191 Use with-current-buffer rather than save-excursion.
11192 (2C-dissociate): Force a mode-line update.
11193 (2C-autoscroll): Use ignore-errors.
11194
099e7202
GM
11195 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11196 Autoload trivia.
11197
bf350d6a
GM
11198 * emacs-lisp/cl-extra.el (*random-state*):
11199 Remove unnecessary declaration.
11200
0e829eab
GM
11201 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11202
e3ad7552
GM
11203 * play/cookie1.el (cookie-snarf):
11204 Give an explicit error if input file cannot be read.
11205
68892d27
GM
11206 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11207
20f0c46d
GM
11208 * progmodes/perl-mode.el (c-macro-expand):
11209 Remove unnecessary autoload (it is in loaddefs.el).
11210
5a0978ce
GM
11211 * textmodes/picture.el (picture-desired-column)
11212 (picture-update-desired-column): Convert comments to doc-strings.
11213 (picture-substitute): Remove function.
11214 (picture-mode-map): Initialize in the defvar.
11215
6b955486
GM
11216 * woman.el: Remove eval-after-load for tar-mode.
11217 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11218 (woman-tar-extract-file): Autoload it.
11219
94ee8db5
GM
11220 * frame.el (automatic-hscrolling): Make this alias obsolete.
11221
177eca34
AM
112222012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11223
090bd7cb 11224 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11225 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11226 (ispell-dictionary-base-alist): Revert to original XEmacs
11227 friendly version for default. [:alpha:] will be added in
090bd7cb 11228 `ispell-set-spellchecker-params' if needed.
177eca34 11229
c505aaeb
CY
112302012-04-16 Chong Yidong <cyd@gnu.org>
11231
b19dd9d1 11232 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11233 (imagemagick-register-types): Use it.
11234 (imagemagick-types-inhibit): Add :set function. Allow new value
11235 of t to inhibit all types.
11236
11237 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11238 so we can preload it.
11239
11240 * loadup.el (fboundp): Preload regexp-opt, needed by
11241 imagemagick-register-types.
11242
60efac0f
CY
112432012-04-15 Chong Yidong <cyd@gnu.org>
11244
11245 * frame.el (scrolling): Remove nearly unused customization group.
11246
11247 * scroll-all.el (scroll-all-mode): Move to windows group.
11248
5dd1713e
CY
112492012-04-15 Chong Yidong <cyd@gnu.org>
11250
11251 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11252
e6fd457e
CY
112532012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11256 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11257
e153c136
GM
112582012-04-15 Glenn Morris <rgm@gnu.org>
11259
11260 * simple.el (process-file-side-effects): Doc fix.
11261
e6fd457e 112622012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11263
11264 * international/mule-cmds.el (set-language-environment): Doc fix.
11265
3603c3b1
JB
112662012-04-14 Juanma Barranquero <lekktu@gmail.com>
11267
11268 * server.el (server-auth-key, server-generate-key): Doc fixes.
11269 (server-get-auth-key): Doc fix. Use `string-match-p'.
11270 (server-start): Reflow docstring.
11271
e6de100c
LI
112722012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11273
11274 * server.el (server-generate-key): `called-interactively-p'
11275 requires a parameter.
11276
29734c21
MN
112772012-04-14 Michal Nazarewicz <mina86@mina86.com>
11278
11279 * server.el (server-auth-key): New variable.
75f1671a 11280 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11281 (server-start): Use the new variable and functions to allow
11282 setting a permanent server key (bug#9423).
11283
d65c9521
LL
112842012-04-14 Leo Liu <sdl.web@gmail.com>
11285
11286 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11287
5ae255c7
PE
112882012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11289
11290 Spelling fixes.
11291 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11292 Emacs uses American spelling.
11293
d5e6342e
JB
112942012-04-14 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11297 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11298 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11299 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11300
ab036cd7
SM
113012012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * progmodes/which-func.el (which-func-modes): Change default.
11304
35dc09a1 113052012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11306
11307 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11308 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11309
35dc09a1 113102012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11311
11312 * custom.el (custom-theme-set-variables): Doc fix.
11313
35dc09a1 113142012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11315
11316 * international/mule.el (set-auto-coding-for-load): Doc fix.
11317
35dc09a1 113182012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11319
35dc09a1
GM
11320 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11321 imenu work again for Objective C Mode. Correct the *-index values,
11322 these having been disturbed by a previous change in 2011-08.
57f845ee 11323
0de3da9f
AM
11324 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11325 Correct two search limits.
11326
35dc09a1 113272012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11328
11329 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11330
35dc09a1 113312012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11332
11333 * international/characters.el: Fix sorting.
11334
35dc09a1 113352012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11336
11337 * international/characters.el: Add more missing Latin case pairs.
11338
35dc09a1 113392012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11340
11341 * files.el (dir-locals-set-class-variables): Doc fix.
11342
35dc09a1 113432012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11344
3f1b5bf8
EZ
11345 * international/characters.el: Add set-case-syntax-pair call for
11346 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11347 counterpart. (Bug#11209)
11348
9f847f41
EZ
11349 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11350
35dc09a1 113512012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11352
11353 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11354
35dc09a1 113552012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11356
35dc09a1
GM
11357 * textmodes/ispell.el (ispell-dictionary-base-alist):
11358 Add data for Hebrew.
e2627d21 11359
35dc09a1 113602012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11361
35dc09a1
GM
11362 * net/rcirc.el (rcirc-cmd-quit):
11363 Revert 2012-03-18 change (Bug#11192).
5c14e333 11364
35dc09a1 113652012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11366
11367 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11368
35dc09a1 113692012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11370
4517fe3a
SM
11371 * minibuffer.el (completion-in-region-mode-map):
11372 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11373
b472a594
VD
113742012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11375
11376 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11377
09b95ce3
MY
113782012-04-13 Masatake YAMATO <yamato@redhat.com>
11379
11380 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11381 to allow `C-M-f' and `C-M-b' to move to the nearest path
11382 separator (bug#9511).
11383
4b63a9ca
LI
113842012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11385
11386 * avoid.el: Require cl when compiling. And also move the
11387 `provide' to the end.
11388
7b55b8bf
TV
113892012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11390
11391 * avoid.el (mouse-avoidance-banish-position): New variable.
11392 (mouse-avoidance-banish-destination): Use it (bug#10165).
11393
adedaa1f
LL
113942012-04-13 Leo Liu <sdl.web@gmail.com>
11395
11396 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11397
70e74021
KB
113982012-04-13 Ken Brown <kbrown@cornell.edu>
11399
11400 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11401 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11402 (browse-url-filename-alist): For the same reason, don't modify
11403 file:// URLs on Cygwin.
11404
e75e89ba
SM
114052012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11408 the region on shift if the binding is already shifted (bug#11221).
11409
82f289a4
GM
114102012-04-12 Glenn Morris <rgm@gnu.org>
11411
11412 * mail/mailpost.el: Move to obsolete/.
11413
d333dc4c
DA
114142012-04-12 Drew Adams <drew.adams@oracle.com>
11415
11416 * imenu.el (imenu--generic-function): Ignore invisible definitions
11417 (bug#10123).
11418
0d15b5ba
VD
114192012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11420
11421 * hexl.el (hexl-bits): New variable.
11422 (hexl-options): Mention the variable in the doc string.
75f1671a 11423 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11424 (hexl-mode): Mention the new variable.
75f1671a
JB
11425 (hexl-mode, hexl-current-address, hexl-current-address):
11426 Use the displen.
0d15b5ba
VD
11427 (hexl-ascii-start-column): New function.
11428 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11429 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11430
64a440db
AM
114312012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11432
11433 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11434 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11435 the encoding, as expected by hunspell.
11436
6decb6c2
SM
114372012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * battery.el (battery--linux-sysfs-regexp): New const.
11440 (battery-status-function): Use it. Remove yeeloong special case.
11441 (battery-yeeloong-sysfs): Remove.
11442 (battery-echo-area-format): Remove yeeloong special case.
11443
088be6fb
SM
114442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11445
6622e416
SM
11446 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11447 Reported by Noah Friedman.
11448
088be6fb
SM
11449 * subr.el (read-passwd): Use read-string.
11450
b49f886e
LMI
114512012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11452
11453 * vcursor.el (vcursor-move): Increase the priority of the overlay
11454 (bug#9663).
11455
a63067fc
DD
114562012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11457
11458 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11459 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11460
ac3cf14a
WS
114612012-04-11 William Stevenson <yhvh2000@gmail.com>
11462
11463 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11464 define-minor-mode (bug#10760).
11465
c4fc691b 114662012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11467
4d6769e1 11468 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11469 that directories matching `grep-find-ignored-files' won't be
11470 pruned (bug#10351).
11471
af23e2e5
CY
114722012-04-11 Chong Yidong <cyd@gnu.org>
11473
11474 * startup.el (command-line): Remove support for long-obsolete
11475 variable font-lock-face-attributes.
11476
ab7ce8c1
GM
114772012-04-11 Glenn Morris <rgm@gnu.org>
11478
11479 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11480
de8c03dc
SM
114812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * window.el (window--state-get-1): Obey window-point-insertion-type.
11484
050cc68b
LB
114852012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11486
11487 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11488 to previous function when point is on the first character of a
75f1671a 11489 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11490
a38c310c
GM
114912012-04-11 Glenn Morris <rgm@gnu.org>
11492
effed0c2
GM
11493 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11494 not just file-errors.
11495
a38c310c
GM
11496 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11497 (vc-bzr-sha1): Use internal sha1.
11498
0221e323
SM
114992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11502
43956923
SG
115032012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11504
11505 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11506 that start in the middle of the line (bug#10496).
11507
6a8c9eaf
DN
115082012-04-10 Dan Nicolaescu <dann@gnu.org>
11509
11510 * battery.el (battery-linux-proc-acpi): Only one battery is
11511 discharged at a time, but that seems to confuse battery.el when
11512 computing `rate-type' for the battery not being discharged
11513 (bug#10332).
11514
1930bf5d
SM
115152012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11516
2a718f6f
SM
11517 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11518
599430d0
SM
11519 * international/quail.el: Use dolist and simplify.
11520 (quail-define-package, quail-update-keyboard-layout)
11521 (quail-define-rules): Use dolist.
11522 (quail-insert-kbd-layout, quail-get-translation): CSE.
11523
a2754b6c
SM
11524 * tmm.el: Use dolist, remove left over hook.
11525 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11526 Use dolist.
11527 (calendar-load-hook): Don't mess with it.
11528
1930bf5d
SM
11529 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11530 Use derived-mode-p. Run the diff asynchronously.
11531
9f67961c
LMI
115322012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11535
2a8ce227
JB
115362012-04-10 Juanma Barranquero <lekktu@gmail.com>
11537
11538 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11539 (list-dynamic-libraries--loaded): New function.
11540 (list-dynamic-libraries--refresh): Use it.
11541
8f33b5f8
NW
115422012-04-10 Nathan Weizenbaum <nweiz@google.com>
11543
1930bf5d
SM
11544 * progmodes/python.el (python-fill-paragraph):
11545 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11546 disabled (bug#7018).
11547
b12f0439
L
115482012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11549
1930bf5d 11550 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11551 DOS/MS Windows for the Baltic languages. There are still plenty
11552 of texts written in this encoding/codepage (bug#6519).
b12f0439 11553
57c3bd01
GM
115542012-04-10 Glenn Morris <rgm@gnu.org>
11555
11556 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11557 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11558
6c3eab30
FA
115592012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11560
1930bf5d 11561 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11562 next-line "n" and previous-line "p" in order to make recentf more
11563 consistent with ibuffer, dired or org-mode (bug#9387).
11564
24d78a88
LMI
115652012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11566
bc72b5d9
LMI
11567 * image.el (put-image): Return the overlay created instead of the
11568 optional input string (bug#7834). Note that this may break code
11569 that is (for some reason or other) depending on `put-image'
11570 returning the string.
11571
bd2dba5a
LMI
11572 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11573
74beb59f
LMI
11574 * simple.el (zap-to-char): Allow zapping using input methods
11575 (bug#1580).
11576
24d78a88
LMI
11577 * textmodes/fill.el (fill-region): Leave point and mark where they
11578 were before filling (bug#5399).
11579
263f20cd
GM
115802012-04-09 Glenn Morris <rgm@gnu.org>
11581
11582 * version.el (emacs-bzr-get-version):
11583 Handle lightweight checkouts of local branches.
11584
58d1f797
AS
115852012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11586
263f20cd 11587 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11588
b4d3bc10
CY
115892012-04-09 Chong Yidong <cyd@gnu.org>
11590
11591 * custom.el (custom-variable-p): Return nil for non-symbol
11592 arguments instead of signaling an error.
11593 (user-variable-p): Obsolete alias for custom-variable-p.
11594
11595 * apropos.el (apropos-variable):
11596 * files-x.el (read-file-local-variable):
11597 * simple.el (set-variable):
11598 * woman.el (woman-mini-help):
11599 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11600
fd06db5d
GM
116012012-04-09 Glenn Morris <rgm@gnu.org>
11602
e5fcdb5e
GM
11603 * startup.el (normal-top-level): Don't look for leim-list.el
11604 in places where it will not be found. (Bug#910)
11605
fd06db5d
GM
11606 * international/mule-cmds.el (set-default-coding-systems):
11607 * files.el (normal-mode):
11608 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11609 This function was removed with ucs-tables.el in 2008.
11610
b39bb7e1
EZ
116112012-04-08 Eli Zaretskii <eliz@gnu.org>
11612
11613 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11614 ispell-encoding8-command to "-i", without a trailing space.
11615 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11616 separate command-line arguments, to specify the encoding, since
11617 that's how hunspell expects it.
11618
5c5b8e23
GM
116192012-04-08 Glenn Morris <rgm@gnu.org>
11620
11621 * loadup.el: Load bindings before cus-start.
11622 This reduces somewhat the number of "rogue" settings in emacs -Q.
11623
a1ed8b05
GM
116242012-04-07 Glenn Morris <rgm@gnu.org>
11625
11626 * version.el (emacs-bzr-get-version): New function.
dfae128a 11627 (emacs-bzr-version): New variable.
a1ed8b05
GM
11628 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11629 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11630
b142f158
EZ
116312012-04-07 Eli Zaretskii <eliz@gnu.org>
11632
dfae128a
GM
11633 * international/uni-bidi.el, international/uni-category.el:
11634 * international/uni-combining.el, international/uni-decimal.el:
11635 * international/uni-decomposition.el, international/uni-digit.el:
11636 * international/uni-lowercase.el, international/uni-mirrored.el:
11637 * international/uni-name.el, international/uni-numeric.el:
11638 * international/uni-titlecase.el, international/uni-uppercase.el:
11639 Update for Unicode 6.1.
b142f158 11640
9078ead6
EZ
116412012-04-07 Eli Zaretskii <eliz@gnu.org>
11642
11643 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11644
f23d2c7d
LMI
116452012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
11647 * window.el (shrink-window): Mention the `window-min-height'
11648 variable in the doc string.
11649
0a0a3573
BG
116502012-04-05 Bastien Guerry <bzg@altern.org>
11651
11652 * color.el (color-lighten-name): Fix typo.
11653
e5248ac9
SM
116542012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 * server.el (server--on-display-p): New function.
11657 (server--on-display-p): Use it.
11658
b4243e22
GV
116592012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11660
11661 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11662 (bug#11145).
11663
305d9f44
SM
116642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * comint.el (comint--common-quoted-suffix): Check string boundary
11667 before comparing (bug#11158).
11668 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11669
3d439cd1
CY
116702012-04-04 Chong Yidong <cyd@gnu.org>
11671
321cc491
CY
11672 * minibuffer.el (completion-extra-properties): Doc fix.
11673
3d439cd1
CY
11674 * subr.el (delayed-warnings-hook): Doc fix.
11675
2d562c0f
DU
116762012-04-04 Daiki Ueno <ueno@unixuser.org>
11677
11678 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11679 selection (Bug#11159).
11680 (epa-insert-keys): Inform that the default public key will be
11681 exported if no key is selected.
11682
4443f204
RS
116832012-04-04 Richard Stallman <rms@gnu.org>
11684
11685 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11686
529c06b6
CY
116872012-04-03 Chong Yidong <cyd@gnu.org>
11688
11689 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11690 mail-insert-file, not its obsolete alias mail-attach-file.
11691
66b907dc
MA
116922012-04-03 Michael Albinus <michael.albinus@gmx.de>
11693
11694 * notifications.el (notifications-notify): Fix docstring.
11695
c0ea195d
GM
116962012-04-02 Glenn Morris <rgm@gnu.org>
11697
11698 * emacs-lisp/authors.el (authors-aliases): Another addition.
11699
5ca64e00
MA
117002012-04-02 Michael Albinus <michael.albinus@gmx.de>
11701
11702 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11703 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11704 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11705
42ee526b
CY
117062012-04-01 Chong Yidong <cyd@gnu.org>
11707
11708 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11709 Handle root directory properly.
11710 (copy-directory): Caller changed.
11711
11712 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11713 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11714
0b021094
GM
117152012-03-31 Glenn Morris <rgm@gnu.org>
11716
40f86458
GM
11717 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11718
7019c177
GM
11719 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11720
a1daddd6
GM
11721 * calendar/calendar.el (calendar-window-list)
11722 (calendar-hide-window): Restore. (Bug#11140)
11723 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11724
0b021094
GM
11725 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11726
40311efc
TV
117272012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11728
11729 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11730 Check if file is a symlink (Bug#10489).
11731
11732 * files.el (copy-directory): Likewise.
11733
5319014e
CY
117342012-03-30 Chong Yidong <cyd@gnu.org>
11735
11736 * image.el (imagemagick-types-inhibit)
11737 (imagemagick-register-types): Doc fix.
11738
935d1290
AM
117392012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11740
090bd7cb 11741 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11742 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11743 and treats ~word as ordinary words in pipe mode.
935d1290 11744
61c6e8fd
GM
117452012-03-30 Glenn Morris <rgm@gnu.org>
11746
11747 * tutorial.el (help-with-tutorial): Ensure local variables don't
11748 happen to make the buffer read-only. (Bug#11127)
11749
81fdff00
SM
117502012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11753 (perl-calculate-indent): Return `noindent' in strings.
11754
6e7a6ec0
SS
117552012-03-28 Sam Steingold <sds@gnu.org>
11756
11757 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11758 instead of the broken adhockery which does not prevent calendar
11759 buffers from being displayed at random after exit.
11760 (calendar-window-list, calendar-hide-window): Remove the broken
11761 adhockery.
11762
fee88ca0
GM
117632012-03-28 Glenn Morris <rgm@gnu.org>
11764
11765 * replace.el (query-replace-map): Doc fix.
11766
38de3354
AS
117672012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11768
11769 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11770 contents. (Bug#11109)
11771
b973155e
SM
117722012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11773
11774 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11775 (bug#11077).
11776 (avl-tree--check, avl-tree--check-node): New funs.
11777
dcb6e7b3
MR
117782012-03-27 Martin Rudalics <rudalics@gmx.at>
11779
11780 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11781 (switch-to-prev-buffer, switch-to-next-buffer):
11782 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11783 showing a buffer already is done on the same frame.
11784
b4fa35fa
GM
117852012-03-27 Glenn Morris <rgm@gnu.org>
11786
11787 * startup.el (mail-host-address): Doc fix.
11788
f9210e18
SM
117892012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11792 than 197 variables.
11793
c0bf7753
AF
117942012-03-26 Ami Fischman <ami@fischman.org>
11795
11796 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11797
33da7b16
GM
117982012-03-26 Glenn Morris <rgm@gnu.org>
11799
02243d9d
GM
11800 * files.el (save-buffers-kill-emacs): Doc fix.
11801
33da7b16
GM
11802 * startup.el (normal-top-level, command-line, command-line-1):
11803 Give them doc strings.
11804
e5a69fd0
EZ
118052012-03-25 Eli Zaretskii <eliz@gnu.org>
11806
11807 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11808 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11809
9a69676a
CY
118102012-03-25 Chong Yidong <cyd@gnu.org>
11811
4125cb8b
CY
11812 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11813 theme if it was previously enabled before (Bug#11031).
11814
dd470960
CY
11815 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11816 spec with custom-face-get-current-spec if its :shown-value is not
11817 determined yet (Bug#9337).
4125cb8b 11818 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11819
9a69676a
CY
11820 * button.el (button-at): Minor addition to docstring.
11821
6e7e90fa
SL
118222012-03-24 Simon Leinen <simon.leinen@gmail.com>
11823
11824 * vc/vc.el (vc-merge): Fix a prompt.
11825
f06e2758
CY
118262012-03-24 Chong Yidong <cyd@gnu.org>
11827
11828 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11829 point (Bug#9623).
11830
6e7e90fa
SL
11831 * button.el (button-at): Minor addition to docstring.
11832
b9d0879b
SM
118332012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 * newcomment.el (comment-choose-indent): No space after BOL.
11836
e71cebb3
SS
118372012-03-22 Sam Steingold <sds@gnu.org>
11838
11839 * window.el (switch-to-prev-buffer): Revert last patch because the
11840 bug turned out to be an advertised feature (Elisp manual 28.14).
11841
335aff35
GM
118422012-03-22 Glenn Morris <rgm@gnu.org>
11843
11844 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11845 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11846
c676576a
LMI
118472012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * net/network-stream.el (network-stream-open-starttls): Make error
11850 message under Windows be less misleading.
11851
126f3d39
LW
118522012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11853
11854 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11855 understands (bug#9942).
11856
64fee311
CY
118572012-03-22 Chong Yidong <cyd@gnu.org>
11858
11859 * simple.el (end-of-visible-line): Handle return value of
11860 next-single-property-change properly (Bug#9371).
11861
a640d29a
KH
118622012-03-22 Kenichi Handa <handa@m17n.org>
11863
11864 * international/quail.el (quail-insert-kbd-layout): Fix previous
11865 change. To avoid unwanted bidi reordering, use
11866 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11867
39675016
DG
118682012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11869
11870 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11871 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11872 (ruby-beginning-of-indent): Be more careful with the difference
11873 between word-boundary and symbol boundary.
11874 (ruby-mode-syntax-table): Make : a symbol constituent.
11875
0a6934fc 118762012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11877
3d008e4f
SM
11878 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11879
0a6934fc
SM
118802012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11881
af67c9d7
SM
11882 * progmodes/etags.el (tags-completion-at-point-function):
11883 Improve last fix.
11884
1acad97c
SM
11885 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11886
e298b5da
SS
118872012-03-21 Sam Steingold <sds@gnu.org>
11888
11889 * progmodes/etags.el (tags-completion-at-point-function):
11890 Avoid the error when point is inside the pattern.
11891
91d82a70
JY
118922012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11893
11894 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11895 line (Bug#10855).
11896
69188b79
CY
118972012-03-21 Drew Adams <drew.adams@oracle.com>
11898
11899 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11900
99fc91fe
AK
119012012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11902
11903 * ido.el (ido-set-current-directory, ido-read-internal)
11904 (ido-choose-completion-string, ido-completion-help): Handle nil
11905 value of ido-completion-buffer (Bug#11008).
11906
087bbb4c
SS
119072012-03-21 Sam Steingold <sds@gnu.org>
11908
11909 * window.el (switch-to-prev-buffer): Do not switch to a visible
11910 window previous buffer, just like with the frame previous buffers.
11911
fb5b8aca
CY
119122012-03-21 Chong Yidong <cyd@gnu.org>
11913
11914 * faces.el (make-face, make-empty-face, copy-face):
11915 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11916 Doc fixes.
11917
dc9924b8
SM
119182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11921 (widget-complete): Remove broken use of it.
11922
f0bcceb9
CY
119232012-03-20 Chong Yidong <cyd@gnu.org>
11924
dc9924b8
SM
11925 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11926 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11927 characters.
11928
ee52ebf3
TH
119292012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11930
11931 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11932 to draw rectangles, not squares. (Regression introduced by revno
11933 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11934
4c5779ab
CY
119352012-03-18 Chong Yidong <cyd@gnu.org>
11936
11937 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11938 it is not yet defined (for temacs).
11939
15360934
LL
119402012-03-18 Leo Liu <sdl.web@gmail.com>
11941
735135f9
PE
11942 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11943 prefix.
15360934 11944
d9a8eb66
EZ
119452012-03-17 Eli Zaretskii <eliz@gnu.org>
11946
11947 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11948 (ispell-choices-win-default-height, ispell-silently-savep)
11949 (ispell-dictionary-alist, ispell-encoding8-command)
11950 (ispell-check-version, ispell-aspell-find-dictionary)
11951 (ispell-valid-dictionary-list, ispell-words-keyword)
11952 (ispell-get-word, ispell-internal-change-dictionary)
11953 (ispell-region, ispell-skip-region-list)
11954 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11955 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11956 (ispell-message-text-end, ispell-message)
11957 (ispell-buffer-local-parsing): Doc fix.
11958
f02ff80d
J
119592012-03-13 Jambunathan K <kjambunathan@gmail.com>
11960
11961 * htmlfontify.el: Add support for code block fontification for ODT
11962 export (Bug #9914).
11963 (hfy-optimisations): Define new option
11964 `body-text-only'
11965 (hfy-fontify-buffer): Honor above setting.
11966 (hfy-begin-span, hfy-end-span): New routines factored out form
11967 `hfy-fontify-buffer'.
11968 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11969 that permit insertion of custom tags.
11970 (hfy-fontify-buffer): Use above handlers.
11971 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11972 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11973 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11974 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11975 bind a special variable `hfy-user-sheet-assoc'.
11976 (htmlfontify-string): New defun.
11977 (hfy-compile-face-map): Make sure that the last char in the
11978 buffer is correctly fontified.
11979 (hfy-face-resolve-face): Whitespace only change.
11980
9ac7a13f
EZ
119812012-03-17 Eli Zaretskii <eliz@gnu.org>
11982
11983 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11984 message more clear.
11985
e2b5bdd7
LL
119862012-03-16 Leo Liu <sdl.web@gmail.com>
11987
11988 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11989
2e492df3
AM
119902012-03-16 Alan Mackenzie <acm@muc.de>
11991
677d5c92 11992 Further optimize the handling of large macros.
2e492df3
AM
11993
11994 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11995 limit to a call of `c-literal-limits'.
11996 (c-determine-+ve-limit): New function.
dc9924b8
SM
11997 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11998 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11999 In CASE 5B, restrict a search limit to 500.
12000 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12001
12002 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12003 Restrict macro bounds to +-500 from after-change's BEG END.
12004
50e94f0c
LL
120052012-03-16 Leo Liu <sdl.web@gmail.com>
12006
12007 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12008
6f09f6ed
AH
120092012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12010
12011 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12012 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12013
c7e73d51
GM
120142012-03-16 Glenn Morris <rgm@gnu.org>
12015
da986230
GM
12016 * view.el (view-buffer, view-buffer-other-window)
12017 (view-buffer-other-frame): Doc fixes re special mode-class.
12018
0835f01e
GM
12019 * subr.el (eval-after-load): If named feature is provided not from
12020 a file, run after-load forms. (Bug#10946)
12021
c7e73d51
GM
12022 * calendar/calendar.el (calendar-insert-at-column):
12023 Handle non-unit-width characters a bit better. (Bug#10978)
12024
3f2eafd1
CY
120252012-03-15 Chong Yidong <cyd@gnu.org>
12026
12027 * emacs-lisp/ring.el (ring-extend): New function.
12028 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12029
12030 * comint.el (comint-read-input-ring)
12031 (comint-add-to-input-history): Grow comint-input-ring lazily.
12032
103af3fe
SM
120332012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12034
663b1677
SM
12035 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12036 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12037
103af3fe
SM
12038 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12039 (imenu-add-to-menubar): Don't add a redundant index.
12040 (imenu-update-menubar): Handle a dynamically composed keymap.
12041
899cb7cb
KY
120422012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12043
12044 * mail/sendmail.el (mail-encode-header):
12045 Bind rfc2047-encode-encoded-words to nil.
12046
3809f91d
GM
120472012-03-13 Glenn Morris <rgm@gnu.org>
12048
12049 * calendar/calendar.el (calendar-string-spread):
12050 Handle non-unit-width characters a bit better. (Bug#10978)
12051
9e345a01
LL
120522012-03-13 Leo Liu <sdl.web@gmail.com>
12053
12054 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12055 directory and file as argument (Bug#10822).
12056
4a07df36
KS
120572012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12058
12059 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12060 For dynamically generated code, follow $PC.
12061 (gdb-disassembly-handler-custom): Handle no function name case.
12062
4aaa9356
TL
120632012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12064
12065 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12066 * emulation/ws-mode.el (ws-query-replace):
12067 * sort.el (sort-regexp-fields):
12068 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12069
225979da
SM
120702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * dabbrev.el: Fix cycle completion order (bug#10963).
12073 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12074 (dabbrev-completion): Don't use an obarray; provide
12075 a cycle-sort-function.
12076
e2f1fdab
LL
120772012-03-12 Leo Liu <sdl.web@gmail.com>
12078
dc9924b8 12079 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12080 (kill-do-not-save-duplicates): Doc fix.
12081
b19490ed
SM
120822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * dabbrev.el: Fix cycle completion (bug#10963).
12085 Use lexical binding and wrap to 80 columns.
12086 (dabbrev-completion): Delay computing the list of completions.
12087
4b05d722
KH
120882012-03-12 Kenichi Handa <handa@m17n.org>
12089
12090 * international/quail.el (quail-insert-kbd-layout): Surround each
12091 row by LRO and PDF instead of inserting many LRMs. Pad the left
12092 and right of each non-spacing marks. Insert invisible space
12093 between lower and upper characters to prevent composition.
12094
dbbc2e69
SM
120952012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * minibuffer.el (minibuffer-complete): Don't get confused when the
12098 function is run twice via different commands (bug#10958).
12099 (complete-with-action): Fix docstring.
12100
292112ed
CY
121012012-03-12 Chong Yidong <cyd@gnu.org>
12102
5d1ac394
CY
12103 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12104 (nxml-completion-at-point-function): New function.
12105 (nxml-mode): Use it.
12106 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12107
292112ed
CY
12108 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12109 Load generated autoloads file before byte compiling (Bug#10970).
12110 (package--make-autoloads-and-compile): New helper fun.
12111
4098f8f7
CS
121122012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12113
12114 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12115
8f754691
MA
121162012-03-11 Michael Albinus <michael.albinus@gmx.de>
12117
12118 * autorevert.el (auto-revert-handler): Ensure, that
12119 file-readable-p is applied only for local files or in
12120 auto-revert-tail-mode.
12121
e29ab36b
AS
121222012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12123
dbbc2e69
SM
12124 * server.el (server-eval-at): Handle non-tcp connections.
12125 Decode result string.
ad0bf5b6 12126
e29ab36b
AS
12127 * server.el (server-msg-size): New constant.
12128 (server-reply-print): New function.
12129 (server-eval-and-print): Use it.
12130 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12131 Handle -print-nonl.
12132
de5939ba
CS
121332012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12134
12135 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12136 (Bug#10987).
12137
0c93eabf
CY
121382012-03-11 Chong Yidong <cyd@gnu.org>
12139
397a688f
CY
12140 * simple.el (goto-line): Doc fix (Bug#9938).
12141
2cc775f9
CY
12142 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12143
0c93eabf
CY
12144 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12145 when finished (Bug#10963).
12146
c491fa41
MR
121472012-03-11 Martin Rudalics <rudalics@gmx.at>
12148
12149 * window.el (split-window-below): Fix bug in case where
12150 split-window-keep-point is nil (Bug#10971).
12151
300e8fa5
JL
121522012-03-11 Juri Linkov <juri@jurta.org>
12153
12154 * replace.el (replace-highlight): Set isearch-word to nil
12155 unconditionally. (Bug#10887)
12156
dbf6c5a1
EZ
121572012-03-10 Eli Zaretskii <eliz@gnu.org>
12158
12159 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12160 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12161 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12162 (mairix-widget-create-query): Add usage information about mairix
12163 search forms: negating words, searching for substrings, etc.
12164
b9e501de
JP
121652012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12166
12167 * international/fontset.el (font-encoding-alist): Add an entry for
12168 ksx1001 (Bug#5667).
12169
92795c91
RS
121702012-03-10 Richard Stallman <rms@gnu.org>
12171
1694e6c1
RS
12172 * mail/sendmail.el (mail-encode-header):
12173 Set rfc2047-encode-encoded-words.
12174
607e8555
RS
12175 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12176
de3bc99a
RS
12177 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12178 view buffer means not swapped.
12179 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12180 (rmail-write-region-annotate): Error if real text has disappeared.
12181
92795c91
RS
12182 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12183
699bd04e
CY
121842012-03-10 Chong Yidong <cyd@gnu.org>
12185
12186 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12187 * emulation/cua-base.el (cua--init-keymaps):
12188 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12189
570a1714
MR
121902012-03-10 Martin Rudalics <rudalics@gmx.at>
12191
dbbc2e69
SM
12192 * speedbar.el (speedbar-unhighlight-one-tag-line):
12193 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12194
82dcf4e4
CY
121952012-03-10 Chong Yidong <cyd@gnu.org>
12196
7a2c7ca7
CY
12197 * minibuffer.el (completion-in-region, completion-help-at-point):
12198 Give the completion field overlay a high priority (Bug#6830).
12199
82dcf4e4
CY
12200 * dired.el (dired-goto-file): Recognize absolute file name
12201 listings (Bug#7126).
12202 (dired-goto-file-1): New helper function.
12203 (dired-toggle-read-only): Inhibit warnings.
12204
052e28ac
MA
122052012-03-09 Michael Albinus <michael.albinus@gmx.de>
12206
75f1671a 12207 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12208 there are no properties.
12209
95d5e396
LL
122102012-03-09 Leo Liu <sdl.web@gmail.com>
12211
12212 * savehist.el (savehist-printable): Stricter check for string
12213 value (Bug#10937).
12214
3f018d6d
EZ
122152012-03-09 Eli Zaretskii <eliz@gnu.org>
12216
dbbc2e69
SM
12217 * mail/smtpmail.el (smtpmail-send-it):
12218 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12219 valid mbox format.
12220
f7fd3d79
GM
122212012-03-09 Glenn Morris <rgm@gnu.org>
12222
12223 * files.el (dir-locals-find-file):
12224 Don't check result is regular, readable.
12225 (dir-locals-read-from-file): Demote errors.
12226
6ff6e72f
EZ
122272012-03-08 Eli Zaretskii <eliz@gnu.org>
12228
dbbc2e69
SM
12229 * international/quail.el (quail-insert-kbd-layout):
12230 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12231 layout cell, to prevent their reordering by bidi display engine.
12232 For details, see the discussion in
12233 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12234
9cec7834
AM
122352012-03-08 Alan Mackenzie <acm@muc.de>
12236
12237 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12238 the starting position; make it extend the marked region when
12239 invoked repeatedly - all under appropriate circumstances.
12240 Fixes bugs #5525, #10906.
12241
9a40b8d4
GM
122422012-03-08 Glenn Morris <rgm@gnu.org>
12243
12244 * files.el (locate-dominating-file, dir-locals-find-file):
12245 Undo 2012-03-06 change.
12246
7a08ed35
EZ
122472012-03-07 Eli Zaretskii <eliz@gnu.org>
12248
dbbc2e69
SM
12249 * international/quail.el (quail-help):
12250 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12251 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12252 for the reason.
12253
5aca4f71 122542012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12255
12256 Avoid superfluous registering of signals. (Bug#10807)
12257
12258 * notifications.el (notifications-on-action-object)
12259 (notifications-on-close-object): New defvars.
12260 (notifications-on-action-signal, notifications-on-closed-signal):
12261 Unregister the signal if not needed any longer.
12262 (notifications-notify): Register `notifications-action-signal' or
12263 `notifications-closed-signal', if :on-action or :on-close has been
12264 passed as argument.
12265
78e8b10a
CY
122662012-03-07 Chong Yidong <cyd@gnu.org>
12267
12268 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12269 non-X platforms.
12270
69481eb8
GM
122712012-03-06 Glenn Morris <rgm@gnu.org>
12272
12273 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12274 (x-disown-selection-internal, x-get-selection-internal):
12275 Doc fix (add arglist signatures). (Bug#10783)
12276
133b8e11
KS
122772012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12278
12279 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12280 Handle breakpoints with no "type".
12281
99a83064
GM
122822012-03-06 Glenn Morris <rgm@gnu.org>
12283
12284 * files.el (locate-dominating-file): Add optional predicate argument.
12285 (dir-locals-find-file): Make use of above change.
12286
17798e78
TTN
122872012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12288
12289 * info.el (Info-insert-dir): Also try "dir.gz".
12290
eb182446
GM
122912012-03-06 Glenn Morris <rgm@gnu.org>
12292
8f2114ee
GM
12293 * files.el (dir-locals-find-file):
12294 Ignore non-readable or non-regular files. (Bug#10928)
12295
eb182446
GM
12296 * files.el (locate-dominating-file): Doc fix.
12297
24679323
AS
122982012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12299
12300 * calendar/calendar.el (calendar-set-mode-line):
12301 `getenv' returns a string. (Bug#10951)
12302
01d972a9
LL
123032012-03-05 Leo Liu <sdl.web@gmail.com>
12304
109aa8a9
LL
12305 * simple.el (backward-delete-char-untabify): Constrain point to
12306 field (Bug#10939).
12307
01d972a9
LL
12308 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12309
10607bea
CY
123102012-03-05 Chong Yidong <cyd@gnu.org>
12311
12312 * simple.el (count-words): If called from Lisp, return the word
12313 count, for symmetry with `count-lines'. Arglist changed.
12314 (count-words--message): Args changed. Consolidate counting code
12315 from count-words and count-words-region.
12316 (count-words-region): Caller changed.
12317 (count-lines-region): Make it an obsolete alias.
12318
5dd11cfe
TH
123192012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12320
12321 * saveplace.el (save-place-to-alist)
12322 (save-place-ignore-files-regexp): Allow value nil to disable this
12323 feature.
12324
c349f4e6
CY
123252012-03-04 Chong Yidong <cyd@gnu.org>
12326
12327 * faces.el (face-spec-reset-face): For the default face, reset the
12328 attributes to default values (Bug#10748).
12329
e627be4c
LMI
123302012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331
12332 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12333 previous patch: Check `message-send-mail-function', and not the
12334 default function (bug#10897).
12335
ebeabff4
MA
123362012-03-04 Michael Albinus <michael.albinus@gmx.de>
12337
a41a6cf4
MA
12338 * notifications.el (notifications-on-action-signal)
12339 (notifications-on-closed-signal): Check for unique service name of
12340 incoming event. Fix error in removing entry.
ebeabff4 12341 (top): Register for signals with wildcard service name.
a41a6cf4 12342 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12343
c1ca42b4
CY
123442012-03-04 Chong Yidong <cyd@gnu.org>
12345
dc9924b8 12346 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12347
ea16568d
GM
123482012-03-04 Glenn Morris <rgm@gnu.org>
12349
12350 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12351 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12352 (expand-abbrev, define-abbrev-table): Doc fixes.
12353
fbae4637
LMI
123542012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12355
12356 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12357 `message-default-send-mail-function' and not `send-mail-function'
12358 when doing the prompting for `sendmail-query-once' before sending
12359 in Message buffers (bug#10897).
12360
a1e7225c
LMI
12361 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12362 This is inconsistent with all the other stream functions, which leave
12363 the setting up to the higher levels (if so wanted) (bug#10931).
12364
56d093a9
AM
123652012-03-02 Alan Mackenzie <acm@muc.de>
12366
12367 Depessimize the handling of very large macros.
12368
12369 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12370 (c-macro-cache-syntactic): New variables to implement a one
12371 element macro cache.
12372 (c-invalidate-macro-cache): New function.
12373 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12374 Adapt to use the new cache.
12375 (c-state-safe-place): Use better the cache of safe positions.
12376 (c-state-semi-nonlit-pos-cache)
12377 (c-state-semi-nonlit-pos-cache-limit):
12378 New variables for...
12379 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12380 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12381 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12382 Use c-state-semi-safe-place.
56d093a9 12383
dbbc2e69
SM
12384 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12385 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12386
817e5c3d
MA
123872012-03-02 Michael Albinus <michael.albinus@gmx.de>
12388
dbbc2e69
SM
12389 * jka-compr.el (jka-compr-call-process):
12390 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12391 not remote.
12392
a032a702
MA
123932012-03-01 Michael Albinus <michael.albinus@gmx.de>
12394
12395 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12396 access of FILE2, if FILE1 does not exist.
12397
99a54f21
MA
12398 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12399 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12400
12401 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12402 Add "PAGER=" to `process-environment'.
12403
f6561e1f
MM
124042012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12405
12406 * progmodes/sql.el: Bug fix
12407 (sql-get-login-ext): Save login values in globals.
12408 (sql-get-login): Use new version of `sql-get-login-ext'.
12409 (sql-interactive-mode): Set global `sql-connection' to nil.
12410 (sql-connect): Set global values for connection.
12411 (sql-product-interactive): Save global values as buffer local.
12412
2d44d9cc
LL
124132012-02-29 Leo Liu <sdl.web@gmail.com>
12414
12415 * abbrev.el (define-abbrevs): Reset sys to nil.
12416
96b49301 124172012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12418
bf7f9bc5
JB
12419 * files.el (file-equal-p): Rename from `files-equal-p'.
12420 Return nil when one or both files don't exist.
96b49301 12421 (file-subdir-of-p): Now only top directory must exists,
12422 return nil if it doesn't.
bf7f9bc5
JB
12423 (copy-directory): No need to test with `file-subdir-of-p' after
12424 creating dir.
12425 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12426 to `file-equal-p'.
96b49301 12427
44e97401
GM
124282012-02-28 Glenn Morris <rgm@gnu.org>
12429
12430 * shell.el (shell-mode):
12431 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12432 * play/landmark.el (landmark-font-lock-face-O):
12433 * play/handwrite.el (handwrite):
12434 * play/gomoku.el (gomoku-O):
12435 * net/browse-url.el (browse-url-browser-display):
12436 * international/mule.el (define-charset):
12437 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12438 * filesets.el (filesets-find-file-delay):
12439 * eshell/em-xtra.el (eshell-xtra):
12440 * eshell/em-unix.el (eshell-grep):
12441 * emulation/viper.el (viper-mode):
12442 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12443 * emacs-lisp/easymenu.el (easy-menu-define):
12444 * calendar/timeclock.el (timeclock-use-display-time):
12445 * bs.el (bs-mode):
12446 * bookmark.el (bookmark-save-flag):
12447 Doc fix (standardize possessive apostrophe usage).
12448
c98c6276
CY
124492012-02-27 Chong Yidong <cyd@gnu.org>
12450
bf7f9bc5
JB
12451 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12452 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12453
c98c6276
CY
12454 * font-lock.el (font-lock-specified-p): Rename from
12455 font-lock-spec-present. Callers changed.
12456
9c62cd04 124572012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12458
bf7f9bc5
JB
12459 * emacs-lisp/package.el (package-compute-transaction):
12460 Handle holding a package version to t in package-load-list.
8ac9e529 12461
530739c9
MA
124622012-02-26 Michael Albinus <michael.albinus@gmx.de>
12463
12464 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12465 (tramp-get-inode, tramp-get-device): Use cached values.
12466
487915d7
AM
124672012-02-26 Alan Mackenzie <acm@muc.de>
12468
12469 Check there is a font-lock specification before doing initial
12470 fontification.
12471
12472 * font-core.el (font-lock-mode): Move the conditional from
12473 :after-hook to font-lock-initial-fontify.
12474 (font-lock-default-function): Move the check for a specification
12475 to font-lock-spec-present.
12476
dc9924b8 12477 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12478 (font-lock-spec-present): New function.
12479
4fd96557
JB
124802012-02-26 Jim Blandy <jimb@red-bean.com>
12481
12482 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12483 (gdb-send): Apply it to the operand of the '-interpreter-exec
12484 console' command, so that we can pass arguments with (say) quotes
12485 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12486
9a4888c0
CY
124872012-02-26 Chong Yidong <cyd@gnu.org>
12488
07498861
CY
12489 * help-fns.el (describe-function-1): Clarify description of
12490 remapping (Bug#10844).
12491
9a4888c0
CY
12492 * files.el (files-equal-p): Doc fix.
12493 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12494 and quit the loop once a mismatch is found.
12495
ea8fb88d
JB
124962012-02-25 Juanma Barranquero <lekktu@gmail.com>
12497
12498 * bs.el (bs--show-with-configuration): Don't throw an error
12499 if the window cannot be split; otherwise, subsequent calls to
12500 bs-show fail, restoring a stale window config. (Bug#10882)
12501
525795c1
JD
125022012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12503
12504 * term/ns-win.el (global-map): Bind ns-drag-file to
12505 ns-find-file (Bug#5855, Bug#10050).
12506
f008086f
AS
125072012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12508
12509 * calendar/parse-time.el (parse-time-string): Allow extractor to
12510 return nil.
12511
a3fcfa99
MA
125122012-02-25 Michael Albinus <michael.albinus@gmx.de>
12513
91027d08
JB
12514 * net/tramp.el (tramp-file-name-for-operation):
12515 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12516
12517 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12518 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12519 Add COPY-CONTENTS argument.
a3fcfa99 12520
67b0de11
CY
125212012-02-25 Chong Yidong <cyd@gnu.org>
12522
12523 Add custom groups for VC backends, for consistency with vc-bzr.
12524
12525 * vc/vc-arch.el (vc-arch):
12526 * vc/vc-cvs.el (vc-cvs):
12527 * vc/vc-git.el (vc-git):
12528 * vc/vc-hg.el (vc-hg):
12529 * vc/vc-mtn.el (vc-mtn):
12530 * vc/vc-rcs.el (vc-rcs):
12531 * vc/vc-sccs.el (vc-sccs):
12532 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12533 All relevant defcustoms reassigned.
12534
3c9dfce6
CY
125352012-02-25 Chong Yidong <cyd@gnu.org>
12536
1339bf43
CY
12537 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12538
3c9dfce6
CY
12539 * term/x-win.el (x-initialize-window-system): Reduce default for
12540 x-selection-timeout to 5 seconds (Bug#8869).
12541
25b2e303 125422012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12543
ec70a47d
GM
12544 * files.el (files-equal-p, file-subdir-of-p): New functions.
12545 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12546 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12547 * dired-aux.el (dired-copy-file-recursive): Same.
12548 (dired-create-files): Modify destination when source is equal to
12549 dest when copying files.
53a46cd0 12550 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12551
914260cd
MA
125522012-02-24 Michael Albinus <michael.albinus@gmx.de>
12553
12554 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12555 (Bug#10874)
12556
2cb228f7
AM
125572012-02-23 Alan Mackenzie <acm@muc.de>
12558
12559 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12560 parameter "after-hook:" to allow the expansion to run code after
12561 the execution of the mode hooks.
12562
12563 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12564 from font-lock-mode-internal.
2cb228f7 12565
91027d08 12566 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12567 :after-hook.
12568
8f0fde21
SM
125692012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12570
3e88618b
SM
12571 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12572 (completion--cache-all-sorted-completions): New function.
12573 (completion-all-sorted-completions): Use it.
12574 (completion--do-completion, minibuffer-force-complete):
12575 Use it to re-instate the flush hook.
12576
8f0fde21
SM
12577 * icomplete.el (icomplete-completions): Replace last fix with a better
12578 one (bug#10850).
12579
8e911f6f
DG
125802012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12581
12582 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12583 when it might call us back infinitely (bug#10797).
12584
49fe4321
GM
125852012-02-23 Glenn Morris <rgm@gnu.org>
12586
12587 * minibuffer.el (completion-category-overrides): Doc fix.
12588
b291b572
SM
125892012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12592 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12593
31a9ef2e
GM
125942012-02-23 Glenn Morris <rgm@gnu.org>
12595
5e6e6794 12596 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12597 (authors-obsolete-files-regexps, authors-ignored-files)
12598 (authors-ambiguous-files, authors-renamed-files-alist):
12599 Add more entries.
12600
0bd1e074
JL
126012012-02-23 Juri Linkov <juri@jurta.org>
12602
12603 * isearch.el (isearch-occur): Sync interactive spec with occur's
12604 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12605
b617673c
JL
12606 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12607
19e9789e
JL
126082012-02-22 Juri Linkov <juri@jurta.org>
12609
12610 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12611 (ucs-insert): Doc fix. Check for hex digits in the string.
12612 Don't display `nil' in the error message. (Bug#10857)
12613
f41ce09d
AM
126142012-02-22 Alan Mackenzie <acm@muc.de>
12615
7a71b18d 12616 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12617
ac2eceee
GM
126182012-02-22 Glenn Morris <rgm@gnu.org>
12619
12620 * ffap.el (ffap-c-path):
12621 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12622
abd1f678
CY
126232012-02-22 Chong Yidong <cyd@gnu.org>
12624
12625 * custom.el (load-theme): Doc fix.
12626
f25aef2e
GM
126272012-02-22 Glenn Morris <rgm@gnu.org>
12628
12629 * dired-x.el (dired-guess-shell-alist-default):
12630 Remove escape sequences from nroff output. (Bug#172)
12631
5f8dc2ca
GM
126322012-02-21 Glenn Morris <rgm@gnu.org>
12633
6ff86ec4
GM
12634 * vc/emerge.el (emerge-defvar-local):
12635 Set `permanent-local' property rather than unused `preserved'.
12636
be3223a3 12637 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12638 (picture-mode-map): Use it. (Bug#10860)
12639 (picture-mode): Doc fix.
12640
3fe58f4f
JB
126412012-02-21 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * newcomment.el (uncomment-region-default): Remove unused binding.
12644
f9a998c3
GM
126452012-02-21 Glenn Morris <rgm@gnu.org>
12646
12647 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12648 (picture-self-insert, picture-tab-chars): Doc fix.
12649 (picture-mode-map): Fix C-a, C-e.
12650
c6029348
GM
126512012-02-20 Glenn Morris <rgm@gnu.org>
12652
12653 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12654
ab1ce9d7
LL
126552012-02-20 Leo Liu <sdl.web@gmail.com>
12656
12657 * icomplete.el (icomplete-completions): Check FROM arg before
12658 passing to substring (Bug#10850).
12659
0fd40f89
CY
126602012-02-19 Chong Yidong <cyd@gnu.org>
12661
12662 * comint.el: Require ansi-color.
12663 (comint-output-filter-functions): Add ansi-color-process-output.
12664
12665 * ansi-color.el: Don't set comint-output-filter-functions; it is
12666 now in the initial value defined in comint.el.
12667 (ansi-color-apply-face-function): New variable.
12668 (ansi-color-apply-on-region): Use it.
12669 (ansi-color-apply-overlay-face): New function.
12670
12671 * shell.el (shell): No need to require ansi-color.
12672 (shell-mode): Use ansi-color-apply-face-function to highlight
12673 color escapes using font-lock-face property (Bug#10835).
12674
20af2394
CY
126752012-02-19 Chong Yidong <cyd@gnu.org>
12676
12677 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12678 mode-line formats (Bug#10839).
12679
e23a3fbe
GM
126802012-02-18 Glenn Morris <rgm@gnu.org>
12681
b474519e
GM
12682 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12683
12684 * mail/undigest.el (unforward-rmail-message): Doc fix.
12685
e23a3fbe
GM
12686 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12687
57939ff4
EZ
126882012-02-18 Eli Zaretskii <eliz@gnu.org>
12689
12690 * international/characters.el (script-list): Sync with the latest
12691 Unicode Character Database.
12692
0c23686e
AS
126932012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12694
12695 * international/titdic-cnv.el: Remove duplicate coding tag.
12696 * language/cham.el: Likewise.
12697 * language/tai-viet.el: Likewise.
12698
6818b449
GM
126992012-02-18 Glenn Morris <rgm@gnu.org>
12700
12701 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12702 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12703 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12704 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12705 * calendar/holidays.el (holiday-bahai-holidays)
12706 (calendar-holidays, list-holidays):
12707 Use utf-8 Bahá'í in doc-strings, menus, etc.
12708
0311a3fc
TH
127092012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12710
12711 * saveplace.el (save-place-ignore-files-regexp): New variable
12712 allowing for excluding files from saving their location of point.
12713 The default value matches the temporary commit message editing
12714 files from Git, SVN, Bazaar, and Mercurial.
12715 (save-place-to-alist): Use it.
12716
d209e2fb 127172012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12718 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12719
12720 * newcomment.el (uncomment-region-default): Don't leave extra space
12721 when an arg is provided (bug#8150).
12722
ee0ce425
TZ
127232012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12724
eb864a71 12725 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12726
95ddf442
GM
127272012-02-17 Glenn Morris <rgm@gnu.org>
12728
12729 * net/socks.el: Require network-stream. (Bug#10599)
12730
48dd1e39 127312012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12732
12733 * international/charprop.el:
12734 * international/uni-name.el:
12735 * international/uni-old-name.el:
12736 * international/uni-comment.el: Regenerate.
12737
d68cd087
GM
127382012-02-16 Glenn Morris <rgm@gnu.org>
12739
12740 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12741 Interactively in calendar buffer, give an error if not on a date.
12742
13932042
GM
127432012-02-15 Glenn Morris <rgm@gnu.org>
12744
12745 * shell.el (shell-delimiter-argument-list):
12746 Revert 2011-02-17 change. (Bug#8027)
12747
c3a70e2b
CY
127482012-02-15 Chong Yidong <cyd@gnu.org>
12749
60236b0d
CY
12750 * minibuffer.el (completion-at-point-functions): Doc fix.
12751
c3a70e2b
CY
12752 * custom.el (defcustom): Doc fix; note use of defvar.
12753
9f26dc24
GM
127542012-02-15 Glenn Morris <rgm@gnu.org>
12755
12756 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12757 Doc fixes.
12758
6546b134
GM
127592012-02-14 Glenn Morris <rgm@gnu.org>
12760
12761 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12762
d29b2b4c
LI
127632012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12764
12765 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12766 way the ports list is computed.
835bdcba
LI
12767 (smtpmail-query-smtp-server): Prompt the user for a port number if
12768 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12769
08dcdbc9
TZ
127702012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12771
12772 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12773
2605051a
GM
127742012-02-13 Glenn Morris <rgm@gnu.org>
12775
12776 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12777
7ee99f32
TZ
127782012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12779
12780 * net/gnutls.el (gnutls-trustfiles): New variable.
12781 (gnutls-negotiate): Use it.
12782
5f0af64f
LI
127832012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12784
12785 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12786 does its stuff if Gnus is running.
12787
c14fcc95
AM
127882012-02-13 Alan Mackenzie <acm@muc.de>
12789
12790 Fix a loop in c-set-fl-decl-start.
12791
7a71b18d 12792 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12793 c-backward-syntactic-ws actually moves backwards.
12794
142b4d90
LL
127952012-02-13 Leo Liu <sdl.web@gmail.com>
12796
12797 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12798 beginning so that all \C-o chars are removed.
12799
fa9958a6
TZ
128002012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12801
dc9924b8 12802 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12803
0bc5886a
AM
128042012-02-12 Alan Mackenzie <acm@muc.de>
12805
12806 Fix infinite loop with long macros.
4d6769e1 12807 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12808
d4bd55e7
CY
128092012-02-12 Chong Yidong <cyd@gnu.org>
12810
12811 * window.el (display-buffer): Doc fix (Bug#10785).
12812
66f3fe22
GM
128132012-02-12 Glenn Morris <rgm@gnu.org>
12814
bd7da63e
GM
12815 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12816 (x-disown-selection-internal, x-get-selection-internal):
12817 Sync docs with the xselect.c versions.
12818
66f3fe22
GM
12819 * allout-widgets.el: Add missing license notice.
12820
3e0d2fa7
GM
128212012-02-11 Glenn Morris <rgm@gnu.org>
12822
cfecdf09
GM
12823 * select.el (x-get-selection-internal, x-own-selection-internal)
12824 (x-disown-selection-internal):
12825 * x-dnd.el (x-get-selection-internal): Update declarations.
12826
6d216d7f
GM
12827 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12828
2bed3f04
GM
12829 * window.el (window-sides-slots):
12830 * tool-bar.el (tool-bar-position):
12831 * term/xterm.el (xterm-extra-capabilities):
12832 * ses.el (ses-self-reference-early-detection):
12833 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12834 (verilog-auto-wire-type)
12835 (verilog-auto-delete-trailing-whitespace)
12836 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12837 (verilog-auto-tieoff-declaration):
12838 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12839 (sql-oracle-statement-starters, sql-oracle-scan-on):
12840 * progmodes/prolog.el (prolog-align-comments-flag)
12841 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12842 (prolog-left-indent-regexp, prolog-paren-indent-p)
12843 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12844 (prolog-types, prolog-mode-specificators)
12845 (prolog-determinism-specificators, prolog-directives)
12846 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12847 (prolog-electric-dot-flag)
12848 (prolog-electric-dot-full-predicate-template)
12849 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12850 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12851 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12852 (prolog-program-switches, prolog-prompt-regexp)
12853 (prolog-debug-on-string, prolog-debug-off-string)
12854 (prolog-trace-on-string, prolog-trace-off-string)
12855 (prolog-zip-on-string, prolog-zip-off-string)
12856 (prolog-use-standard-consult-compile-method-flag)
12857 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12858 (prolog-imenu-max-lines, prolog-info-predicate-index)
12859 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12860 (prolog-char-quote-workaround):
12861 * progmodes/cc-vars.el (c-defun-tactic):
12862 * net/tramp.el (tramp-encoding-command-interactive)
12863 (tramp-local-end-of-line):
12864 * net/soap-client.el (soap-client):
12865 * net/netrc.el (netrc-file):
12866 * net/gnutls.el (gnutls):
12867 * minibuffer.el (completion-category-overrides)
12868 (completion-cycle-threshold)
12869 (completion-pcm-complete-word-inserts-delimiters):
12870 * man.el (Man-name-local-regexp):
12871 * mail/feedmail.el (feedmail-display-full-frame):
12872 * international/characters.el (glyphless-char-display-control):
12873 * eshell/em-ls.el (eshell-ls-date-format):
12874 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12875 (lisp-lambda-list-keyword-parameter-indentation)
12876 (lisp-lambda-list-keyword-parameter-alignment):
12877 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12878 * dired-x.el (dired-omit-verbose):
12879 * cus-theme.el (custom-theme-allow-multiple-selections):
12880 * calc/calc.el (calc-highlight-selections-with-faces)
12881 (calc-lu-field-reference, calc-lu-power-reference)
12882 (calc-note-threshold):
12883 * battery.el (battery-mode-line-limit):
12884 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12885 (archive-7z-update):
12886 * allout.el (allout-prefixed-keybindings)
12887 (allout-unprefixed-keybindings)
12888 (allout-inhibit-auto-fill-on-headline)
12889 (allout-flattened-numbering-abbreviation):
12890 * allout-widgets.el (allout-widgets-auto-activation)
12891 (allout-widgets-icons-dark-subdir)
12892 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12893 (allout-widgets-theme-dark-background)
12894 (allout-widgets-theme-light-background)
12895 (allout-widgets-item-image-properties-emacs)
12896 (allout-widgets-item-image-properties-xemacs)
12897 (allout-widgets-run-unit-tests-on-load)
12898 (allout-widgets-time-decoration-activity)
12899 (allout-widgets-hook-error-post-time)
12900 (allout-widgets-track-decoration):
12901 Add missing :version tags to new defcustoms and defgroups.
12902
5fec1b8e
GM
12903 * progmodes/sql.el (sql-ansi-statement-starters)
12904 (sql-oracle-statement-starters): Add custom type.
12905
3e0d2fa7
GM
12906 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12907 (prolog-system-version): Give it a type.
12908
90b671e2
EZ
129092012-02-11 Eli Zaretskii <eliz@gnu.org>
12910
12911 * term/pc-win.el (x-select-text, x-selection-owner-p)
12912 (x-own-selection-internal, x-disown-selection-internal)
12913 (x-get-selection-internal): Sync doc strings and argument lists
12914 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12915
5eac0c02
LL
129162012-02-11 Leo Liu <sdl.web@gmail.com>
12917
12918 * progmodes/python.el (python-end-of-statement): Fix infinite
12919 loop. (Bug#10788)
12920
f82cb659
GM
129212012-02-10 Glenn Morris <rgm@gnu.org>
12922
12923 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12924 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12925
cc26d239
LI
129262012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12927
12928 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12929 about SMTP before checking the From header.
12930
91027d08 12931 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12932 into own function for reuse by emacsbug.el.
12933
1be3ca5a
LL
129342012-02-10 Leo Liu <sdl.web@gmail.com>
12935
12936 * subr.el (condition-case-unless-debug): Rename from
12937 condition-case-no-debug. All callers changed.
12938 (with-demoted-errors): Fix caller.
12939
12940 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12941 * nxml/rng-valid.el (rng-do-some-validation):
12942 * emacs-lisp/package.el (package-refresh-contents)
12943 (package-menu-execute):
12944 * desktop.el (desktop-create-buffer):
91027d08 12945 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12946
b011fbfe
GM
129472012-02-10 Glenn Morris <rgm@gnu.org>
12948
b2096d72
GM
12949 * textmodes/bibtex.el:
12950 Add missing :version tags for new/changed defcustoms.
12951
b011fbfe
GM
12952 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12953
4c7e65bf
LI
129542012-02-09 Lars Ingebrigtsen <larsi@rusty>
12955
12956 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12957 (smtpmail-via-smtp): Use it, or fall back on the From address.
12958 (smtpmail-send-it): Ditto.
12959
f3934f6f
SM
129602012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12963 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12964 (byte-compile-tmp-var): New const.
12965 (byte-compile-defvar): Use it to minimize .elc size.
12966 Just use `defvar' rather than simulate it (bug#10761).
12967
a075a2c5
GM
129682012-02-09 Glenn Morris <rgm@gnu.org>
12969
cf3aa21b
GM
12970 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12971
354998cd
GM
12972 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12973 Add :version tags.
12974
dc9924b8
SM
12975 * progmodes/compile.el (compilation-error-screen-columns)
12976 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12977
dab3703d
GM
12978 * vc/log-view.el (log-view-toggle-entry-display):
12979 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12980
3f88cd72
GM
12981 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12982 (report-emacs-bug-can-use-xdg-email):
12983 (report-emacs-bug-insert-to-mailer): Doc fixes.
12984 (report-emacs-bug): Message fix.
12985
d95b247d
GM
12986 * net/browse-url.el (browse-url-can-use-xdg-open)
12987 (browse-url-xdg-open): Doc fixes.
12988
a075a2c5
GM
12989 * electric.el (electric-indent-mode, electric-pair-mode)
12990 (electric-layout-rules, electric-layout-mode): Doc fixes.
12991 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12992
ffb6157e
MR
129932012-02-08 Martin Rudalics <rudalics@gmx.at>
12994
12995 * server.el (server-unselect-display): Don't inadvertently kill
12996 the current buffer. (Bug#10729)
12997
e1ac4066
GM
129982012-02-08 Glenn Morris <rgm@gnu.org>
12999
34e8a2da
GM
13000 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13001 (sql-list-table): Doc fixes.
13002
b4ac6e8c
GM
13003 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13004 Comment out (does nothing).
13005
e1ac4066
GM
13006 * completion.el (dynamic-completion-mode):
13007 * dirtrack.el (dirtrack-debug-mode):
13008 * electric.el (electric-layout-mode):
13009 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13010 * face-remap.el (text-scale-mode, buffer-face-mode):
13011 * iimage.el (iimage-mode):
13012 * image-mode.el (image-transform-mode):
13013 * minibuffer.el (completion-in-region-mode):
13014 * scroll-lock.el (scroll-lock-mode):
13015 * simple.el (next-error-follow-minor-mode):
13016 * tar-mode.el (tar-subfile-mode):
13017 * tooltip.el (tooltip-mode):
13018 * vcursor.el (vcursor-use-vcursor-map):
13019 * wid-browse.el (widget-minor-mode):
13020 * emulation/tpu-edt.el (tpu-edt-mode):
13021 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13022 * international/iso-ascii.el (iso-ascii-mode):
13023 * language/thai-util.el (thai-word-mode):
13024 * mail/supercite.el (sc-minor-mode):
13025 * net/goto-addr.el (goto-address-mode):
13026 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13027 * progmodes/cwarn.el (cwarn-mode):
13028 * progmodes/flymake.el (flymake-mode):
13029 * progmodes/glasses.el (glasses-mode):
13030 * progmodes/hideshow.el (hs-minor-mode):
13031 * progmodes/pascal.el (pascal-outline-mode):
13032 * textmodes/enriched.el (enriched-mode):
13033 * vc/smerge-mode.el (smerge-mode):
13034 Doc fixes (minor mode argument).
13035
5e0d957f
EZ
130362012-02-07 Eli Zaretskii <eliz@gnu.org>
13037
13038 * ls-lisp.el (ls-lisp-sanitize): New function.
13039 (ls-lisp-insert-directory): Use it to fix or remove any elements
13040 in file-alist with missing attributes. (Bug#4673)
13041
98d7371e
AM
130422012-02-07 Alan Mackenzie <acm@muc.de>
13043
13044 Fix spurious recognition of c-in-knr-argdecl.
13045
13046 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13047 putative K&R region.
13048
667ced3a
AM
130492012-02-07 Alan Mackenzie <acm@muc.de>
13050
eb864a71
LM
13051 * progmodes/cc-engine.el (c-forward-objc-directive):
13052 Prevent looping in "#pragma mark @implementation".
667ced3a 13053
5b77774d
MA
130542012-02-07 Michael Albinus <michael.albinus@gmx.de>
13055
13056 * notifications.el (notifications-on-closed-signal): Make `reason'
13057 optional. (Bug#10744)
13058
af008560
GM
130592012-02-07 Glenn Morris <rgm@gnu.org>
13060
60d47423
GM
13061 * emacs-lisp/easy-mmode.el (define-minor-mode):
13062 Doc fixes for the macro and the mode it defines.
13063
dd605cc4
GM
13064 * image.el (imagemagick-types-inhibit): Doc fix.
13065
af008560
GM
13066 * cus-start.el (imagemagick-render-type): Add it.
13067
5cc59a37
LI
130682012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13069
4d6769e1
JB
13070 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13071 Set the default at load time, too, so that `font-lock-fontify-buffer'
13072 can be called without setting up the entire mode first. This fixes
13073 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13074
9a6dd747
CY
130752012-02-06 Chong Yidong <cyd@gnu.org>
13076
2d16b285
CY
13077 * simple.el (list-processes--refresh): Delete exited processes
13078 (Bug#8094).
13079
171e9b6e
CY
13080 * comint.el (comint-next-prompt): next-single-char-property-change
13081 and prev-single-char-property-change never return nil (Bug#8657).
13082
9a6dd747
CY
13083 * custom.el (defcustom): Doc fix (Bug#9711).
13084
aa4589a7
CY
130852012-02-05 Chong Yidong <cyd@gnu.org>
13086
5c2a252f
CY
13087 * cus-edit.el (custom-variable-reset-backup): Quote the value
13088 before storing it in the customized-value property (Bug#6712).
4aab9006 13089 (custom-display): Add a customization type tag.
983b9602 13090 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13091
aa4589a7
CY
13092 * wid-edit.el (widget-field-value-get): New optional arg to
13093 suppress trailing whitespace truncation.
13094 (character): Use it (Bug#2689).
13095
1ff980ae
AS
130962012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13097
13098 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13099 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13100
03988c98
CY
131012012-02-05 Chong Yidong <cyd@gnu.org>
13102
eeb6cc88
CY
13103 * cus-edit.el (custom-variable-value-create): For mismatched
13104 types, show the current value (Bug#7600).
13105
03988c98
CY
13106 * custom.el (defcustom): Doc fix.
13107
f8cdeef0
GM
131082012-02-05 Glenn Morris <rgm@gnu.org>
13109
13110 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13111
0696d255
JB
131122012-02-05 Juanma Barranquero <lekktu@gmail.com>
13113
13114 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13115 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13116 (pp-last-sexp): Use `looking-at-p'.
13117
34c99998
GM
131182012-02-04 Glenn Morris <rgm@gnu.org>
13119
8f05da42
GM
13120 * files.el (revert-buffer):
13121 Doc fix (mention revert-buffer-in-progress-p).
13122
f160676e
GM
13123 * emacs-lisp/ert-x.el (ert-simulate-command):
13124 Check deferred-action-list (which is obsolete) is bound.
13125
c7291ad9
GM
13126 * subr.el (with-wrapper-hook): Doc fixes.
13127
34c99998
GM
13128 * simple.el (filter-buffer-substring-functions)
13129 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13130
6283a7d3
LL
131312012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13132
13133 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13134 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13135
e96e3013
LL
131362012-02-04 Leo Liu <sdl.web@gmail.com>
13137
13138 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13139
8ded50f2
GM
131402012-02-04 Glenn Morris <rgm@gnu.org>
13141
82ff1d13
GM
13142 * image.el (image-extension-data): Add obsolete alias.
13143
987a0a16
GM
13144 * isearch.el (isearch-update): Doc fix.
13145
ea32ef46
GM
13146 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13147
8ded50f2
GM
13148 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13149
eea14f31
GM
131502012-02-03 Glenn Morris <rgm@gnu.org>
13151
13152 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13153 (image-animate-timeout): Doc fix.
13154
13155 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13156
12f381b7
GM
131572012-02-02 Glenn Morris <rgm@gnu.org>
13158
953cebf5
GM
13159 * server.el (server-auth-dir): Doc fix.
13160 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13161
12f381b7
GM
13162 * subr.el (run-mode-hooks): Doc fix.
13163
953a8c3b
JL
131642012-02-02 Juri Linkov <juri@jurta.org>
13165
13166 * image-mode.el (image-toggle-display-image): Remove tautological
13167 `major-mode' from the `derived-mode-p' test.
13168
c5d3843c
KH
131692012-02-02 Kenichi Handa <handa@m17n.org>
13170
9f6e692e 13171 * composite.el (compose-region): Cancel previous change.
c5d3843c 13172
159462d4 131732012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13174
13175 * composite.el (compose-region, compose-string): Signal error for
13176 a null string component (Bug#6988).
13177
9f562668
CY
131782012-02-01 Chong Yidong <cyd@gnu.org>
13179
e2cef717
CY
13180 * view.el (view-buffer-other-window, view-buffer-other-frame):
13181 Handle special modes like view-buffer (Bug#10650).
13182 (view-buffer): Simplify.
13183
9f562668
CY
13184 * frame.el (set-frame-font): Tweak meaning of third argument.
13185
9f6e692e
JB
13186 * dynamic-setting.el (font-setting-change-default-font):
13187 Use set-frame-font (Bug#9982).
9f562668 13188
781acb9f
GM
131892012-02-01 Glenn Morris <rgm@gnu.org>
13190
6035be52
GM
13191 * progmodes/compile.el (compilation-internal-error-properties):
13192 Respect compilation-first-column in the "*compilation*" buffer.
13193
781acb9f
GM
13194 * emacs-lisp/easy-mmode.el (define-minor-mode):
13195 Relax :variable's test for a named function.
13196
abbceb00
AM
131972012-01-31 Alan Mackenzie <acm@muc.de>
13198
13199 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13200 off by one error.
13201
fce3fdeb
CY
132022012-01-31 Chong Yidong <cyd@gnu.org>
13203
13204 * frame.el (set-frame-font): New arg ALL-FRAMES.
13205
13206 * menu-bar.el (menu-set-font): Use set-frame-font.
13207
13208 * faces.el (face-spec-reset-face): Don't apply unspecified
13209 attribute values to the default face.
13210
47893581
JB
132112012-01-31 Juanma Barranquero <lekktu@gmail.com>
13212
13213 * progmodes/cwarn.el (cwarn): Remove dead link.
13214 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13215 Remove * from defcustom docstrings.
13216 (turn-on-cwarn-mode): Make obsolete.
13217 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13218 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13219
e58e988a
GM
132202012-01-31 Glenn Morris <rgm@gnu.org>
13221
60dc2671 13222 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13223 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13224 Allow named functions to be used as the cdr of :variable.
e58e988a 13225
7a3f511d
GM
132262012-01-30 Glenn Morris <rgm@gnu.org>
13227
13228 * emacs-lisp/authors.el (authors-fixed-entries):
13229 Remove reference to deleted file rnewspost.el.
13230
cb882333
JB
132312012-01-29 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * window.el (window-with-parameter): Remove unused variable `windows'.
13234 (window--side-check): Remove unused variable `code'.
13235 (window--resize-siblings): Remove unused variable `first'.
13236 (adjust-window-trailing-edge): Remove unused variable `failed'.
13237 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13238 Use `let', not `let*'.
13239 (balance-windows-2): Remove unused variable `found'.
13240 (window--state-put-2): Remove unused variable `splits'.
13241 (window-state-put): Remove unused variable `selected'.
13242 (same-window-p): Use `string-match-p'.
13243 (display-buffer-assq-regexp): Remove unused variable `value'.
13244 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13245 Mark argument ALIST as ignored.
13246 (pop-to-buffer): Remove unused variable `old-window'.
13247
907201af
EZ
132482012-01-29 Eli Zaretskii <eliz@gnu.org>
13249
13250 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13251 and .lzma compressed files.
13252
ea162670
CY
132532012-01-29 Chong Yidong <cyd@gnu.org>
13254
5b95ee8a
CY
13255 * frame.el (window-system-default-frame-alist): Doc fix.
13256
ea162670
CY
13257 * dynamic-setting.el (font-setting-change-default-font): Don't
13258 change the default face if SET-FONT argument is non-nil (Bug#9982).
13259
6fccd6e8 132602012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13261
13262 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13263
0f29fa41 132642012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13265
13266 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13267 breakpoints in files outside current directory (Bug#6098).
13268
db174434
CY
132692012-01-29 Chong Yidong <cyd@gnu.org>
13270
6b25e4e2
SE
13271 * progmodes/python.el: Require ansi-color at top-level.
13272
6df6ae42
JB
13273 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13274 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13275 (lisp-mode-abbrev-table): Add doc.
13276 (lisp-mode-variables): Don't set local-abbrev-table.
13277 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13278
e70ee681
RW
132792012-01-28 Roland Winkler <winkler@gnu.org>
13280
13281 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13282
ace88aa2
RW
132832012-01-28 Roland Winkler <winkler@gnu.org>
13284
13285 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13286 (bibtex-set-dialect): Use it. Either set global values of
13287 dialect-dependent variables or bind these variables buffer-locally
13288 (Bug#10254).
13289 (bibtex-mode): Call bibtex-set-dialect via
13290 hack-local-variables-hook.
eb864a71
LM
13291 (bibtex-dialect): Update docstring.
13292 Add safe-local-variable predicate.
ace88aa2
RW
13293 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13294 bibtex-set-dialect.
13295 (bibtex-mode-map): Define menu for each dialect.
13296 (bibtex-entry): Fix docstring.
13297
93376c5b
CY
132982012-01-28 Chong Yidong <cyd@gnu.org>
13299
13300 * eshell/esh-arg.el (eshell-quote-argument): New function.
13301
13302 * eshell/esh-ext.el (eshell-invoke-batch-file):
13303 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13304 first arg to eshell-parse-command (Bug#10523).
13305
4372494f
DA
133062012-01-28 Drew Adams <drew.adams@oracle.com>
13307
13308 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13309 `default-directory' is non-nil.
13310
4d4ec1f8
EZ
133112012-01-28 Eli Zaretskii <eliz@gnu.org>
13312
13313 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13314 line that displays system-configuration-options. (Bug#9924)
13315
7c188927
DA
133162012-01-28 Drew Adams <drew.adams@oracle.com>
13317
13318 * descr-text.el (describe-char): Show information about POS, in
13319 addition to information about the character at POS. Improve and
13320 update the doc string. Change "code point" to "code point in
13321 charset", to avoid confusion with the character's Unicode code
13322 point shown above that. (Bug#10129)
13323
e0da685a
EZ
133242012-01-28 Eli Zaretskii <eliz@gnu.org>
13325
13326 * descr-text.el (describe-char): Show the raw character, not only
13327 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13328 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13329 for the reasons.
13330
70550acf
PH
133312012-01-28 Phil Hagelberg <phil@hagelb.org>
13332
eb864a71
LM
13333 * emacs-lisp/package.el (package-install):
13334 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13335
0ce8e868
CY
133362012-01-28 Chong Yidong <cyd@gnu.org>
13337
cb882333
JB
13338 * emacs-lisp/package.el (package-maybe-load-descriptor):
13339 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13340 (package-maybe-load-descriptor): Use it.
13341 (package-download-transaction): Fully load required packages
13342 inside the loop, so that `require' calls work (Bug#10593).
13343 (package-install): No need to call package-initialize now.
13344
2e7f3bea
CY
133452012-01-28 Chong Yidong <cyd@gnu.org>
13346
6e9bad14
CY
13347 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13348
f823b8ca
CY
13349 * tooltip.el (tooltip-mode): Doc fix.
13350 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13351
2680c309
CY
13352 * frame.el (set-cursor-color): Doc fix (Bug#352).
13353
d7a9e63b
CY
13354 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13355 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13356
2e7f3bea
CY
13357 * cus-edit.el (custom-buffer-create-internal): Fix search button
13358 action (Bug#10542).
2ae01800 13359 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13360
fc4f7a23
EW
133612012-01-27 Eduard Wiebe <usenet@pusto.de>
13362
13363 * dired.el (dired-mark-files-regexp):
13364 Include any subdirectory components. (Bug#10445)
13365
7dd37071
ML
133662012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13367
13368 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13369 Handle [host]:port syntax. (Bug#10533)
13370
a268160b
AH
133712012-01-27 Alex Harsanyi <harsanyi@mac.com>
13372
13373 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13374
e43273ef
GM
133752012-01-26 Glenn Morris <rgm@gnu.org>
13376
13377 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13378 * term.el (term-raw-escape-map): Use Control-X-prefix.
13379 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13380
1edf595d
MR
133812012-01-25 Martin Rudalics <rudalics@gmx.at>
13382
13383 * window.el (window-state-get, window--state-get-1): Don't deal
13384 with fixed-sizeness of windows. Simplify code.
13385
fa8eafef
JC
133862012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13387
6df6ae42
JB
13388 * window.el (window--state-get-1, window--state-put-2):
13389 Don't save and restore the mark.
fa8eafef 13390
0b21c100
CY
133912012-01-25 Chong Yidong <cyd@gnu.org>
13392
13393 * custom.el (custom-variable-p): Doc fix.
13394
5ae1a6c8
GM
133952012-01-25 Glenn Morris <rgm@gnu.org>
13396
40047858
GM
13397 * dired.el (dired-goto-file): Handle some of the more common
13398 characters that `ls -b' escapes. (Bug#10596)
13399
5ddce96c
GM
13400 * progmodes/compile.el (compilation-next-error-function):
13401 Respect compilation-first-column in the "*compilation*" buffer.
13402 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13403
5ae1a6c8
GM
13404 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13405
b559f1a9
GM
134062012-01-24 Glenn Morris <rgm@gnu.org>
13407
13408 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13409
6725d21a
JD
134102012-01-24 Julien Danjou <julien@danjou.info>
13411
13412 * color.el (color-rgb-to-hsl): Fix value computing.
13413 (color-hue-to-rgb): New function.
13414 (color-hsl-to-rgb): New function.
13415 (color-clamp, color-saturate-hsl, color-saturate-name)
13416 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13417 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13418
70df4bbe
GM
134192012-01-24 Glenn Morris <rgm@gnu.org>
13420
13421 * vc/vc-rcs.el (vc-rcs-create-tag):
13422 * vc/vc-sccs.el (vc-sccs-create-tag):
13423 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13424
802a2ae2
ML
134252012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13426
13427 * eshell/esh-util.el (eshell-read-hosts-file):
13428 Skip comment lines. (Bug#10549)
13429
d7128bb1
ML
13430 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13431
d1a5c3b4
JB
134322012-01-23 Juanma Barranquero <lekktu@gmail.com>
13433
2724d9c7
JB
13434 * subr.el (display-delayed-warnings): Doc fix.
13435 (collapse-delayed-warnings): New function to collapse identical
13436 adjacent warnings.
13437 (delayed-warnings-hook): Add it.
d1a5c3b4 13438
a5509865
MA
134392012-01-22 Michael Albinus <michael.albinus@gmx.de>
13440
13441 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13442
a5509865
MA
13443 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13444 (tramp-default-user-alist): Don't add "pscp".
13445 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13446 property "login-as", if set. (Bug#10530)
13447
cc6d5805
MA
134482012-01-21 Michael Albinus <michael.albinus@gmx.de>
13449
13450 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13451 "plink1" and "psftp". (Bug#10530)
13452
134532012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13454
13455 * international/mule-cmds.el (prefer-coding-system): Show a
13456 warning message if the default value of file-name-coding-system
13457 was not changed.
13458
f0960428
JC
134592012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13460
cb882333
JB
13461 * windmove.el (windmove-reference-loc):
13462 Fix windmove-reference-loc miscalculation.
f0960428 13463
dd6f2a63
JB
134642012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13465
13466 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13467 default unit.
13468
7b447e9b
GM
134692012-01-21 Glenn Morris <rgm@gnu.org>
13470
117a9ea1
GM
13471 * international/mule.el (auto-coding-alist): Add .tbz.
13472
7b447e9b
GM
13473 * files.el (local-enable-local-variables): Doc fix.
13474 (inhibit-local-variables-regexps): Rename from
13475 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13476 Doc fix. Add some extensions from auto-coding-alist.
13477 (inhibit-local-variables-suffixes):
13478 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13479 (inhibit-local-variables-p):
13480 New function, extracted from set-auto-mode-1.
13481 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13482 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13483 (hack-local-variables): Doc fix. Make the mode-only case
13484 respect enable-local-variables and friends.
13485 Respect inhibit-local-variables-regexps for file-locals, but
13486 not for directory-locals.
13487 (set-visited-file-name):
13488 Take account of inhibit-local-variables-regexps.
13489 Whether it applies may change as the file name is changed.
13490 * jka-cmpr-hook.el (jka-compr-install):
13491 * jka-compr.el (jka-compr-uninstall):
13492 Update for inhibit-first-line-modes-suffixes name change.
13493
dd6e3cdd
MR
134942012-01-20 Martin Rudalics <rudalics@gmx.at>
13495
13496 * help-macro.el (make-help-screen): Temporarily restore original
13497 binding for minor-mode-map-alist (Bug#10454).
13498
0d0deb38
JD
134992012-01-19 Julien Danjou <julien@danjou.info>
13500
13501 * color.el (color-name-to-rgb): Use the white color to find the max
13502 color component value and return correctly computed values.
13503 (color-name-to-rgb): Add missing float conversion for max value.
13504
34a02f46
MR
135052012-01-19 Martin Rudalics <rudalics@gmx.at>
13506
13507 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13508 special state value for window-persistent-parameters.
13509 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13510 (window--state-put-2): Reset all window parameters to nil before
13511 assigning values of persistent parameters.
13512
606c44c4
AM
135132012-01-18 Alan Mackenzie <acm@muc.de>
13514
13515 Eliminate sluggishness and hangs in fontification of "semicolon
13516 deserts".
13517
cb882333
JB
13518 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13519 Change value 10000 -> 3000.
606c44c4
AM
13520 (c-state-safe-place): Reformulate so it doesn't stack up an
13521 infinite number of wrong entries in c-state-nonlit-pos-cache.
13522 (c-determine-limit-get-base, c-determine-limit): New functions to
13523 determine backward search limits disregarding literals.
13524 (c-find-decl-spots): Amend commenting.
13525 (c-cheap-inside-bracelist-p): New function which detects "={".
13526
13527 * progmodes/cc-fonts.el
13528 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13529 backward search.
13530 (c-font-lock-declarations): Fix an occurrence of point being
13531 undefined. Check additionally for point being in a bracelist or
13532 near a macro invocation without a semicolon so as to avoid a
13533 fruitless time consuming search for a declarator. Give a more
13534 precise search limit for declarators using the new
13535 c-determine-limit.
13536
f3860cea
GM
135372012-01-18 Glenn Morris <rgm@gnu.org>
13538
13539 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13540 (set-auto-mode): Doc fixes.
13541
1db03b16
GM
135422012-01-17 Glenn Morris <rgm@gnu.org>
13543
0e6038be
GM
13544 * isearch.el (search-nonincremental-instead): Fix doc typo.
13545
1db03b16
GM
13546 * dired.el (dired-insert-directory): Handle newlines in directory name.
13547 (dired-build-subdir-alist): Unescape newlines in directory name.
13548
4cb0aa75
MA
135492012-01-17 Michael Albinus <michael.albinus@gmx.de>
13550
13551 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13552 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13553 (tramp-action-terminal): Use it. (Bug#10530)
13554
1d00653d
SM
135552012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13556
13557 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13558
6a6ee00d
MR
135592012-01-16 Martin Rudalics <rudalics@gmx.at>
13560
13561 * window.el (window-state-ignored-parameters): Remove variable.
13562 (window--state-get-1): Rename argument MARKERS to IGNORE.
13563 Handle persistent window parameters. Make copy of clone-of
13564 parameter only if requested. (Bug#10348)
13565 (window--state-put-2): Install a window parameter only if it has
13566 a non-nil value or an existing parameter shall be overwritten.
13567
97912def
MA
135682012-01-15 Michael Albinus <michael.albinus@gmx.de>
13569
13570 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13571
688070a5
EZ
135722012-01-14 Eli Zaretskii <eliz@gnu.org>
13573
13574 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13575 don't pass the (nil) value of `upnode' to string-match.
13576
301afadc
CY
135772012-01-14 Chong Yidong <cyd@gnu.org>
13578
13579 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13580 Fix values recognized by the cursorBlink resource.
301afadc 13581
9e5788aa
PE
135822012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13583
13584 * epg.el (epg--make-temp-file): Avoid permission race condition
13585 when running on old Emacs versions (bug#10403).
13586
3cdb7f5a
GM
135872012-01-14 Glenn Morris <rgm@gnu.org>
13588
13589 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13590
8c82b1b4
AM
135912012-01-13 Alan Mackenzie <acm@muc.de>
13592
13593 Fix filling for when filladapt mode is enabled.
13594
13595 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13596 c-mask-paragraph, pass in `fill-paragraph' rather than
13597 `fill-region-as-paragraph'. (This is a reversion of a previous
13598 change.)
eb864a71
LM
13599 * progmodes/cc-mode.el (c-basic-common-init):
13600 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13601
e517eda4
GM
136022012-01-13 Glenn Morris <rgm@gnu.org>
13603
1498536e
GM
13604 * dired.el (dired-switches-escape-p): New function.
13605 (dired-insert-directory): Use dired-switches-escape-p.
13606 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13607
e517eda4
GM
13608 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13609
328f984d
GM
136102012-01-12 Glenn Morris <rgm@gnu.org>
13611
13612 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13613 changes in adaptive-fill-regexp. (Bug#10276)
13614
2cc769a8
AM
136152012-01-11 Alan Mackenzie <acm@muc.de>
13616
13617 Fix Emacs bug #10463 - put `widen's around the critical spots.
13618
1d00653d 13619 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13620 widen around each invocation of c-state-pp-to-literal. Remove an
13621 unused let variable.
13622
e52c37fa
GM
136232012-01-11 Glenn Morris <rgm@gnu.org>
13624
13625 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13626 Doc fix.
e52c37fa 13627
96f8741e
CY
136282012-01-10 Chong Yidong <cyd@gnu.org>
13629
1d00653d
SM
13630 * net/network-stream.el (network-stream-open-starttls):
13631 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13632 response to the capability command.
13633
b09a806e
GM
136342012-01-10 Glenn Morris <rgm@gnu.org>
13635
13636 * mail/unrmail.el (unrmail): Tweak previous change.
13637
7655cb66
CY
136382012-01-09 Chong Yidong <cyd@gnu.org>
13639
13640 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13641
9d5a8f0b
AM
136422012-01-08 Alan Mackenzie <acm@muc.de>
13643
677d5c92 13644 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13645
13646 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13647 arm to a cond form to handle enums.
13648 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13649 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13650
9a0115ab 136512012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13652
13653 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13654 (Bug#10401)
6bb72cbd 13655
f186bb95
LMI
136562012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13657
29232a68
LMI
13658 * faces.el (set-face-attribute): Clarify the meaning of the nil
13659 frame (bug#10294).
13660
4e5d086d
LMI
13661 * subr.el (with-selected-frame): Mention that the selected frame
13662 is restored (bug#9980).
13663
8e66aebe
LMI
13664 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13665 (bug#9759).
13666
cd394be1 13667 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13668 (password-read): Don't autoload unused function.
13669
adf4e762
JB
136702012-01-07 Juanma Barranquero <lekktu@gmail.com>
13671
13672 * progmodes/which-func.el (which-func-mode): Turn into a
13673 non-interactive function and mark as obsolete (bug#10428).
13674
89bd9ccd
CY
136752012-01-06 Chong Yidong <cyd@gnu.org>
13676
13677 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13678 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13679 functions, along with 1 and -1.
13680
4afee9d5
EZ
136812012-01-06 Eli Zaretskii <eliz@gnu.org>
13682
13683 * time.el (display-time-load-average)
13684 (display-time-default-load-average): Doc fixes. See the thread
13685 starting at
13686 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13687 for the details.
13688
536aea70
GM
136892012-01-06 Glenn Morris <rgm@gnu.org>
13690
665ae865
GM
13691 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13692 has no messages. (Bug#10377)
13693
c869783d
GM
13694 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13695 than Info-edit. (Bug#10385)
13696
2bb4227e
GM
13697 * time.el (display-time-load-average, display-time-next-load-average):
13698 Doc fixes.
13699
7d5944b9
GM
13700 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13701 local setting of buffer-read-only to the input buffer. (Bug#10419)
13702
536aea70
GM
13703 * calendar/calendar.el (calendar-mode):
13704 Locally set scroll-margin to 0. (Bug#10379)
13705
7dccca16
UM
137062012-01-06 Ulrich Mueller <ulm@gentoo.org>
13707
13708 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13709
afbb7930
GM
137102012-01-05 Glenn Morris <rgm@gnu.org>
13711
13712 * eshell/em-unix.el (diff-no-select): Autoload it.
13713 (eshell/diff): Use diff-no-select. (Bug#10420)
13714
04482335
CY
137152012-01-05 Chong Yidong <cyd@gnu.org>
13716
7baca3bc
CY
13717 * shell.el (shell-dynamic-complete-functions): Revert last change.
13718 (shell-command-completion-function): New function.
13719 (shell-completion-vars): Use it to implement
13720 shell-completion-execonly (Bug#10417).
13721
04482335
CY
13722 * custom.el (enable-theme): Don't set custom-safe-themes.
13723
1d00653d
SM
13724 * cus-theme.el (custom-theme-merge-theme):
13725 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13726
bb5aa5d6
MM
137272012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13728
13729 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13730 first prompt in `sql-interacive-mode'.
13731 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13732 keywords.
6df6ae42 13733 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13734 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13735 context of original buffer. Invoke `sql-login-hook'.
13736
a7183d7c
EZ
137372012-01-04 Eli Zaretskii <eliz@gnu.org>
13738
13739 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13740 letters in cite-prefix.
13741
a1eacd1e
LMI
137422012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13743
13744 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13745
787cdb34
CY
137462012-01-03 Chong Yidong <cyd@gnu.org>
13747
1d00653d
SM
13748 * shell.el (shell-dynamic-complete-functions):
13749 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13750 comint-filename-completion first (Bug#10417).
13751
30710442
RS
137522012-01-02 Richard Stallman <rms@gnu.org>
13753
13754 * battery.el (battery-status-function):
13755 Detect when to use battery-yeeloong-sysfs.
13756 (battery-echo-area-format): Add string for Yeeloong.
13757 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13758 (battery-yeeloong-sysfs): New function.
13759
f75bfc33
CY
137602012-01-02 Chong Yidong <cyd@gnu.org>
13761
13762 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13763 (dirtrack): Merge code for handling relative filenames in prompt
13764 from shell-dir-cookie-watcher.
13765 (dirtrack-debug-message): New arg to avoid excess format calls.
13766
13767 * shell.el (shell-dir-cookie-re): Variable deleted.
13768 (shell-dir-cookie-watcher): Function deleted.
13769 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13770 with dirtrack-mode.
13771
651e947e
EZ
137722012-01-01 Eli Zaretskii <eliz@gnu.org>
13773
1d00653d
SM
13774 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13775 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13776 libgnutls-26.dll.
13777
94d4c7dc
AS
137782011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13779
13780 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13781
8d43f3cd
EZ
137822011-12-31 Eli Zaretskii <eliz@gnu.org>
13783
13784 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13785 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13786
98c8795a
MA
137872011-12-29 Michael Albinus <michael.albinus@gmx.de>
13788
13789 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13790 also for alternative shells.
13791 (tramp-open-connection-setup-interactive-shell): Check, whether
13792 the shell is a busybox.
13793 (tramp-send-command): Don't suppress multiple prompts for
13794 busyboxes, it hurts.
13795
51281b32
CY
137962011-12-28 Chong Yidong <cyd@gnu.org>
13797
13798 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13799 (gdb-get-source-file): Move mode line update to
13800 gdb-get-source-file (Bug#10087).
13801
2170cb53
CY
138022011-12-25 Chong Yidong <cyd@gnu.org>
13803
13804 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13805 gud-gdb-marker-filter without taking it as an argument.
13806 (gud-gdb-run-command-fetch-lines): Caller changed.
13807 (gud-gdb-completion-function): New variable.
13808 (gud-gdb-completion-at-point): Use it.
13809 (gud-gdb-completions-1): Split from gud-gdb-completions.
13810
13811 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13812 function as separate arguments.
13813 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13814 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13815 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13816 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13817 (gdb-stopped, def-gdb-auto-update-trigger)
13818 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13819 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13820 Callers changed.
2170cb53
CY
13821 (gud-gdbmi-completions): New function.
13822 (gdb): Use it for generating the completion table.
13823
be8b11bb
AM
138242011-12-24 Alan Mackenzie <acm@muc.de>
13825
13826 Introduce a mechanism to widen the region used in context font
1d00653d 13827 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13828
1d00653d
SM
13829 * progmodes/cc-langs.el (c-before-font-lock-functions):
13830 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13831 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13832 functions to be run just before context (etc.) font locking.
13833
13834 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13835 New, functionality extracted from
be8b11bb 13836 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13837 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13838 (c-after-change): Set c-in-after-change-fontification.
13839 (c-set-fl-decl-start): Rejig its interface, so it can be called
13840 from both after-change and context fontifying.
b81d40f0
JB
13841 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13842 New functions.
13843 (c-standard-font-lock-fontify-region-function): New variable.
13844 (c-font-lock-fontify-region): New function.
be8b11bb 13845
341cf6ac
JL
138462011-12-24 Juri Linkov <juri@jurta.org>
13847
13848 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13849 (Bug#10348)
13850
bffcee0a
MA
138512011-12-23 Michael Albinus <michael.albinus@gmx.de>
13852
13853 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13854 existence of source file. (Bug#10325)
13855
cb5e207c
AM
138562011-12-23 Alan Mackenzie <acm@muc.de>
13857
13858 Fix unstable fontification inside templates.
13859
b81d40f0
JB
13860 * progmodes/cc-langs.el (c-before-font-lock-functions):
13861 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13862 additionally has c-set-fl-decl-start. The other languages (apart
13863 from AWK) have that as a single entry.
13864
b81d40f0
JB
13865 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13866 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13867 c-set-fl-decl-start.
13868
b81d40f0
JB
13869 * progmodes/cc-mode.el (c-common-init, c-after-change):
13870 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13871 (c-set-fl-decl-start): New function, extracted from
13872 c-font-lock-enclosing-decls and enhanced.
13873
60ff536c
JB
138742011-12-23 Juanma Barranquero <lekktu@gmail.com>
13875
13876 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13877
1c4757d6
JL
138782011-12-22 Juri Linkov <juri@jurta.org>
13879
13880 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13881
d031f2c7
CY
138822011-12-22 Chong Yidong <cyd@gnu.org>
13883
13884 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13885
bace743a
DA
138862011-12-21 Drew Adams <drew.adams@oracle.com>
13887
13888 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13889
728a1f2b
JC
138902011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13891
13892 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13893
0d373f73
TZ
138942011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13895
fec0aaa4
TZ
13896 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13897 highlighting and support. Fix up comments for capitalization.
13898 (cfengine-mode-debug): New var.
13899 (cfengine3-mode): Change the modeline indicator to "CFE3".
13900 (cfengine3-font-lock-keywords): Improve defun highlighting.
13901 (cfengine2-actions): Rename from `cfengine-actions'.
13902 (cfengine2-font-lock-keywords): Rename from
13903 `cfengine-font-lock-keywords'.
13904 (cfengine2-imenu-expression): Rename from
13905 `cfengine-imenu-expression'.
13906 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13907 (cfengine2-beginning-of-defun): Rename from
13908 `cfengine-beginning-of-defun'.
13909 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13910 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13911 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13912 modeline indicator to "CFE2".
13913 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13914 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13915
bc86f573
CY
139162011-12-21 Chong Yidong <cyd@gnu.org>
13917
13918 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13919 filename argument.
13920
d45ba96b
MR
139212011-12-20 Martin Rudalics <rudalics@gmx.at>
13922
13923 * window.el (window-normalize-buffer-to-display): Remove.
13924 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13925
a6198c90
CY
139262011-12-19 Chong Yidong <cyd@gnu.org>
13927
13928 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13929 Don't signal an error in a predicate function; return non-nil.
13930 (vc-dir-mark-file): Move the error here.
13931 (vc-dir-mark-unmark): If acting on the region, keep going if one
13932 of the entries cannot be marked/unmarked.
13933 (vc-dir-mark-all-files): If current entry is a directory, mark
13934 only child files, as documented.
13935
34c5fb55
VB
139362011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13937
13938 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13939 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13940 addition.
13941
c803b2b7
JD
139422011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13943
13944 * term/ns-win.el (ns-get-selection-internal)
13945 (ns-store-selection-internal): Declare.
1154d12e
JB
13946 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13947 Declare as obsolete.
13948 (ns-get-pasteboard, ns-paste-secondary):
13949 Use ns-get-selection-internal.
41e9b956 13950 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13951 Use ns-store-selection-internal.
c803b2b7 13952
9cff91f8 139532011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13954
13955 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13956 (vc-deduce-fileset): Doc fix.
99a289d9 13957
f16c898a
AS
139582011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13959
13960 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13961
763237c4
SS
139622011-12-13 Sam Steingold <sds@gnu.org>
13963
13964 * man.el (Man-getpage-in-background): When running under a
13965 window-system, ignore $MANWIDTH and $COLUMNS.
13966
5fc1c122
KH
139672011-12-15 Kenichi Handa <handa@m17n.org>
13968
13969 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13970 (setup-ethiopic-environment-internal): Comment out key-binding for
13971 ethio-toggle-punctuation.
13972
13d49cbb
AM
139732011-12-13 Alan Mackenzie <acm@muc.de>
13974
898169a2
AM
13975 Add the switch statement to AWK Mode.
13976
7a71b18d 13977 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13978 "default" to the keywords regexp.
13979
7a71b18d 13980 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13981 expression as the rest.
1d00653d
SM
13982 (c-nonlabel-token-key): Allow string literals for AWK.
13983 Refactor for the other modes.
898169a2 13984
13d49cbb 13985 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13986 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13987 routines. Limit backward searching in c-font-lock-enclosing.decl.
13988
13989 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13990 pp-state and literal type in addition to the limits.
1d00653d 13991 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13992 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13993 (c-slow-in-literal, c-fast-in-literal): Remove.
13994 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13995
13996 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13997 being in a literal. Add a limit for backward searching.
13998
13999 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14000 c-slow-in-literal.
14001
15e0efc7
SM
140022011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14003
14004 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14005
454592a6
MR
140062011-12-13 Martin Rudalics <rudalics@gmx.at>
14007
14008 * window.el (delete-other-windows): Use correct frame in call to
14009 window-with-parameter.
14010
87393f26
DP
140112011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14012
14013 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14014 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14015 (makefile-gmake-statements, makefile-makepp-statements):
14016 Use it and add new makepp keywords.
14017 (makefile-makepp-font-lock-keywords): Add new patterns.
14018 (makefile-match-function-end): Match new [...] and [[...]].
14019
11636b22
JB
140202011-12-11 Juanma Barranquero <lekktu@gmail.com>
14021
14022 * ses.el (ses-call-printer-return, ses-cell-property-get)
14023 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14024 (ses-create-cell-variable, ses-reset-header-string)
14025 (ses-cell-set-formula, ses-repair-cell-reference-all)
14026 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14027 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14028 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14029 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14030 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14031 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14032 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14033 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14034 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14035 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14036 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14037 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14038
cf018193
VB
140392011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14040
14041 * ses.el: The overall change is to add cell renaming, that is
14042 setting fancy names for cell symbols other than name matching
14043 "\\`[A-Z]+[0-9]+\\'" regexp .
14044 (ses-create-cell-variable): New defun.
14045 (ses-relocate-formula): Relocate formulas only for cells the
14046 symbols of which are not renamed, i.e. symbols whose names do not
14047 match regexp "\\`[A-Z]+[0-9]+\\'".
14048 (ses-relocate-all): Relocate values only for cells the symbols of
14049 which are not renamed.
14050 (ses-load): Create cells variables as the (ses-cell ...) are read,
14051 in order to check row col consistency with cell symbol name only
14052 for cells that are not renamed.
14053 (ses-replace-name-in-formula): New defun.
14054 (ses-rename-cell): New defun.
14055
ee957461
CY
140562011-12-11 Chong Yidong <cyd@gnu.org>
14057
14058 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14059 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14060
9a9e9ef0
MR
140612011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14062
14063 * window.el (other-window): Fix docstring.
14064
92a8eba5
EZ
140652011-12-10 Eli Zaretskii <eliz@gnu.org>
14066
14067 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14068 `from' or `to' address before taking its substring.
14069 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14070 encoded name is chopped in the middle of the encoded string, and
14071 thus displayed encoded.
14072
e152e577
JB
140732011-12-10 Juanma Barranquero <lekktu@gmail.com>
14074
14075 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14076
e5d84bfe
EZ
140772011-12-10 Eli Zaretskii <eliz@gnu.org>
14078
14079 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14080 to use texinfo-update-node and commands that call it if the
14081 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14082 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14083 (texinfo-all-menus-update, texinfo-master-menu)
14084 (texinfo-update-node, texinfo-every-node-update)
14085 (texinfo-multiple-files-update): Doc fix. Warn against updating
14086 all the @node lines.
14087 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14088 argument is numeric. Explain better in the doc string what the
14089 function really does.
14090 (texinfo-insert-master-menu-list): Improve the error message
14091 displayed if there's no menu in the Top node.
14092 (Bug#2975) See also this thread:
e5d84bfe
EZ
14093 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14094
1d84e9bb
MG
140952011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14096
14097 * speedbar.el (speedbar-supported-extension-expressions):
14098 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14099
382c953b
JB
141002011-12-09 Juanma Barranquero <lekktu@gmail.com>
14101
14102 * printing.el (pr-mode-alist):
14103 * simple.el (filter-buffer-substring-functions)
14104 (completion-list-insert-choice-function):
14105 * window.el (window-with-parameter, window-atom-root)
14106 (window-sides-slots, window-size-fixed, window-min-delta)
14107 (window-max-delta, window--resize-mini-window)
14108 (window--resize-child-windows-normal, window-tree)
14109 (delete-other-windows, quit-window, split-window)
14110 (display-buffer-record-window, special-display-buffer-names)
14111 (special-display-regexps, special-display-popup-frame)
14112 (same-window-p, split-window-sensibly)
14113 (display-buffer-overriding-action, display-buffer-alist)
14114 (display-buffer-base-action, display-buffer, switch-to-buffer)
14115 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14116 (fit-window-to-buffer, recenter-positions)
14117 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14118 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14119 and remove unneeded backslashes in docstrings.
14120
39c9faef
SM
141212011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14122
98449af8
SM
14123 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14124
39c9faef
SM
14125 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14126 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14127 end in ".mk".
14128 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14129 when reading the makefile (bug#10116).
14130
86ed9fdc
SM
141312011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14132
14133 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14134 (bug#10116).
14135
5580f89d
GM
141362011-12-06 Glenn Morris <rgm@gnu.org>
14137
14138 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14139
28d3917c
CY
141402011-12-06 Chong Yidong <cyd@gnu.org>
14141
14142 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14143
a98edce9
JB
141442011-12-06 Juanma Barranquero <lekktu@gmail.com>
14145
14146 * textmodes/table.el (table-shorten-cell): Fix typo.
14147
e65adfac
CG
141482011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14149
14150 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14151
71cc0b74
EZ
141522011-12-05 Eli Zaretskii <eliz@gnu.org>
14153
14154 * descr-text.el (describe-char): Fix display of strong
14155 right-to-left characters and directional embeddings and overrides.
14156
14157 * simple.el (what-cursor-position): Fix display of codepoints of
14158 strong right-to-left characters.
14159
315bc30d
CY
141602011-12-05 Chong Yidong <cyd@gnu.org>
14161
14162 * faces.el (read-color): Doc fix.
14163
58a70b94
GM
141642011-12-05 Glenn Morris <rgm@gnu.org>
14165
14166 * align.el (align--set-marker): Add doc-string.
14167 Don't try to move something that is not a marker. (Bug#10216)
14168
5158face
GM
141692011-12-04 Glenn Morris <rgm@gnu.org>
14170
14171 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14172 overly zealous deletion of trailing whitespace.
14173
520fca41
JB
141742011-12-04 Juanma Barranquero <lekktu@gmail.com>
14175
14176 * server.el (server-delete-client): On Windows, do not try to delete
14177 the only terminal.
14178 (server-process-filter): On Windows, treat requests for a tty frame as
14179 if they were for a GUI frame if the running server is in GUI mode.
14180
5e605a2e
GM
141812011-12-03 Glenn Morris <rgm@gnu.org>
14182
14183 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14184
5c3fe83f
SM
141852011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14186
6f5e57e7
SM
14187 * electric.el: Streamline electric-indent's hook.
14188 (electric-indent-chars): Revert to simple list.
14189 (electric-indent-functions): New var.
14190 (electric-indent-post-self-insert-function): Use it.
14191
5c3fe83f
SM
14192 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14193 there's no inferior buffer (bug#10196).
14194 (prolog-consult-compile): Don't use toggle-read-only.
14195
6bdac736
MA
141962011-12-02 Michael Albinus <michael.albinus@gmx.de>
14197
14198 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14199 interrupt. (Bug#10187)
14200
6131ba7f
SM
142012011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14202
99c79fee
SM
14203 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14204 (bug#9160).
14205
6131ba7f
SM
14206 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14207 (bug#10191).
14208
cb0a02ea
JL
142092011-12-02 Juri Linkov <juri@jurta.org>
14210
14211 * info.el (Info-search): Display "end of manual" when Isearch
14212 reaches the end of single-file Info manual. (Bug#9918)
14213
66e0570c
EZ
142142011-12-02 Eli Zaretskii <eliz@gnu.org>
14215
14216 * isearch.el (isearch-message-prefix): Run the input method part
14217 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14218
02b16839
JL
142192011-12-02 Juri Linkov <juri@jurta.org>
14220
14221 * isearch.el (isearch-occur): Use `word-search-regexp' for
14222 `isearch-word'.
14223 (isearch-search-and-update): Add condition for `isearch-word' and
14224 call `word-search-regexp'. (Bug#10145)
14225
0b950688
GM
142262011-12-01 Glenn Morris <rgm@gnu.org>
14227
14228 * eshell/em-hist.el (eshell-hist-initialize):
14229 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14230 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14231
9505c3c7
SM
142322011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14235
1bbe96b2 142362011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14237
a1beca85
SM
14238 * progmodes/verilog-mode.el (verilog-pretty-expr):
14239 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14240 verilog, such as += *= and the like.
14241 (verilog-assignment-operator-re): Regular expression to find the
14242 assigment operator in a verilog assignment.
14243 (verilog-assignment-operation-re): Regular expression to find an
14244 assignment statement for pretty-expr.
14245 (verilog-in-attribute-p): Query returns true if point is in an
14246 attribute context; used to skip these for expression line up from
14247 pretty-expr.
14248 (verilog-in-parameter-p): Query returns true if point is in an
14249 parameter definition context; used to skip these for expression
14250 line up from pretty-expr.
14251 (verilog-in-parenthesis-p): Query returns true if point is in a
14252 parenthetical expression, specifically ( ) but not [ ] or { };
14253 used by pretty-expr.
14254 (verilog-just-one-space): If there is no space, don't add one.
14255 (verilog-get-lineup-indent-2): Specifically skip just attribute
14256 contexts for expression lineup, rather than skipping all
14257 parenthetical expressions.
14258 (verilog-calculate-indent): Fix comment, and fix indent.
14259 (verilog-do-indent): Indent declarations in lists (suggested by
14260 Joachim Lechner).
14261 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14262 skeleton items.
14263 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14264 by Alain Mellan).
14265
1bbe96b2 142662011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14267
14268 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14269 parameters with embedded comments. Reported by Ray Stevens.
14270 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14271 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14272 Reported by Tim Holt.
14273 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14274 instantiated by upper module causing wrong expansion until AUTOed a
14275 second time. Reported by K C Buckenmaier.
14276 (verilog-diff-auto): Fix showing .* as a difference when
14277 `verilog-auto-star-save' off. Reported by Dan Dever.
14278 (verilog-auto-reset, verilog-read-always-signals)
14279 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14280 temporary signals in reset list if
14281 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14282 style to each signal's assignment type, bug381.
14283 Reported by Thomas Esposito.
6288f0ca
WS
14284 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14285 (verilog-uvm-statement-re): Support UVM indentation and
14286 highlighting, with old OVM keywords only.
a1beca85 14287 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14288 Support AUTOTIEOFF creating non-wire data types.
14289 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14290 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14291 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14292 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14293 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14294 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14295 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14296 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14297 non-numeric vector width. Reported by Alex Reed.
14298 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14299 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14300 (verilog-auto-delete-trailing-whitespace):
14301 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14302 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14303 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14304 Fix verilog-scan-cache corruption when running user AUTO expansion
14305 hooks that call indentation routines.
14306 (verilog-simplify-range-expression): Fix typo ignoring lower case
14307 identifiers.
14308 (verilog-delete-auto): Fix delete-autos to also remove user created
14309 automatics, as long as they start with AUTO.
14310 (verilog-batch-diff-auto, verilog-diff-auto)
14311 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14312 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14313 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14314 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14315 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14316 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14317 is disabled and its cache will get corrupt, causing AUTOS not to
14318 expand. Instead use only -quick functions.
14319 (verilog-scan-region): Fix scanning over escaped quotes.
14320 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14321 (verilog-re-search-backward-quick)
14322 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14323 related functions now ignore strings, to fix misparsing of strings
14324 with magic comments embedded in them.
a1beca85
SM
14325 (verilog-read-auto-template):
14326 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14327 Reported by Brad Dobbie.
14328 (verilog-read-auto-template):
14329 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14330 Reported by Brad Dobbie.
6288f0ca
WS
14331 (verilog-auto-inst, verilog-auto-inst-param)
14332 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14333 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14334 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14335 debugging templates without merge conflicts, bug357.
14336 Reported by Brad Dobbie.
14337 (verilog-read-auto-template):
14338 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14339 Reported by Brad Dobbie.
14340 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14341 abbrevs so user won't be asked to save.
14342 (verilog-read-auto-lisp-present): Fix to start at beginning of
14343 buffer in case called outside of verilog-auto.
14344 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14345 to "X-2". Reported by Matthew Myers.
14346 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14347 all inputs from module templates. Reported by Leith Johnson.
14348 (verilog-module-inside-filename-p): Fix locating programs as with
14349 modules.
14350 (verilog-auto-inst-port): Fix vl-width expressions when using
14351 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14352 (verilog-decls-get-regs, verilog-decls-get-signals,
14353 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14354 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14355 verilog-read-decls): Combine reg and wire structures into one var
14356 structure to represent SystemVerilog concepts.
14357 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14358 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14359 (verilog-auto-wire-type, verilog-insert-definition):
14360 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14361 SystemVerilog "logic" keyword instead of "wire"/"reg".
14362 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14363 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14364 ifdef or generate if so there's not a driver conflict).
14365 Reported by Matthew Myers.
14366 (verilog-auto-declare-nettype, verilog-insert-definition):
14367 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14368 `default_nettype none. Reported by Julian Gorfajn.
14369 (verilog-read-always-signals-recurse, verilog-read-decls)
14370 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14371 malformed end statement, bug325. Reported by Joshua Wise and
14372 Andrew Drake.
14373 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14374 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14375 when expanding .* in interfaces, bug320.
14376 Reported by Pierre-David Pfister.
6288f0ca 14377 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14378 name and open parenthesis, bug317.
14379 Reported by Pierre-David Pfister.
6288f0ca
WS
14380 (verilog-simplify-range-expression): Fix simplification of
14381 multiplications inside AUTOWIRE connections, bug303.
14382 (verilog-auto-inst-port): Support parameter expansion in
14383 multidimensional arrays.
14384 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14385 after "assert property". Reported by Julian Gorfajn.
14386 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14387 with multiplication, bug303.
14388 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14389 Reported by Jan Frode Lonnum.
14390
1bbe96b2
GM
143912011-11-30 Juanma Barranquero <lekktu@gmail.com>
14392
14393 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14394 (hfy-shell-file-name, hfy-shell):
14395 * international/fontset.el (x-decompose-font-name): Fix typos.
14396
143972011-11-29 Ken Brown <kbrown@cornell.edu>
14398
14399 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14400 (gdb-version): Remove defvar.
14401 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14402 (gdb-gud-context-command, gdb-non-stop-handler)
14403 (gdb-current-context-command, gdb-stopped): Use it.
14404 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14405 (gdb-non-stop-handler): Don't enable pretty-printing here.
14406 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14407 non-stop mode. Use the following.
14408 (gdb-check-target-async): New defun.
14409 (gud-watch, gdb-stopped): Fix whitespace.
14410 (gdb-get-source-file): Don't try to display the source file if
14411 `gdb-main-file' is nil.
14412
144132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * align.el: Try to generate fewer markers (bug#10047).
14416 (align--set-marker): New macro.
14417 (align-region): Use it.
14418
c935221f
SM
144192011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14420
14421 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14422
e70b5064
CY
144232011-11-29 Chong Yidong <cyd@gnu.org>
14424
14425 * indent.el (indent-for-tab-command, indent-according-to-mode):
14426 Doc fix.
14427 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14428
f3af92b7
MA
144292011-11-29 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14432 aware of remote file names. (Bug#10124)
14433
ed472be9
CY
144342011-11-29 Chong Yidong <cyd@gnu.org>
14435
14436 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14437
24510c22
SM
144382011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14439
14440 * files.el (find-file): Don't use force-same-window (bug#10144).
14441 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14442 use pop-to-buffer if the selected window can't be used.
14443 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14444
c60c3703
EZ
144452011-11-28 Eli Zaretskii <eliz@gnu.org>
14446
14447 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14448 special-mode-map.
14449
e95def75
CY
144502011-11-28 Chong Yidong <cyd@gnu.org>
14451
14452 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14453
c3f1c606
NR
144542011-11-27 Nick Roberts <nickrob@snap.net.nz>
14455
14456 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14457 gdb-get-source-file-list on gdb-create-source-file-list.
14458
00db469c
EZ
144592011-11-26 Eli Zaretskii <eliz@gnu.org>
14460
14461 * whitespace.el (whitespace-newline): Use a different foreground
14462 color for 16-color light-background displays.
14463
4ad3bc2a
CY
144642011-11-24 Chong Yidong <cyd@gnu.org>
14465
14466 * window.el (display-buffer--special-action): Doc fix.
14467
e9fce1ac
JB
144682011-11-25 Juanma Barranquero <lekktu@gmail.com>
14469
14470 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14471 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14472 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14473 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14474 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14475 (avl-tree-stack-first):
14476 * emacs-lisp/cconv.el (cconv--analyse-use):
14477 * net/gnutls.el (gnutls-negotiate): Fix typos.
14478
cb825e5d
GM
144792011-11-24 Glenn Morris <rgm@gnu.org>
14480
3adbe224
GM
14481 * lpr.el (lpr-windows-system, lpr-lp-system):
14482 * mail/binhex.el (binhex-begin-line):
14483 * progmodes/grep.el (grep-history, grep-find-history):
14484 * textmodes/flyspell.el:
14485 * vc/pcvs-defs.el (cvs-global-menu):
14486 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14487 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14488 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14489
321decc8
GM
14490 * net/tls.el: Fix case of "GnuTLS".
14491
420b63ad
GM
14492 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14493
cb825e5d
GM
14494 * version.el (emacs-build-system): Give it a doc-string.
14495
a0649f08
JL
144962011-11-24 Juri Linkov <juri@jurta.org>
14497
14498 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14499
c0bc0fd4
GM
145002011-11-24 Glenn Morris <rgm@gnu.org>
14501
14502 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14503 if called on a non-mime message just toggle the headers. (Bug#8006)
14504
20db1522
JB
145052011-11-24 Juanma Barranquero <lekktu@gmail.com>
14506
14507 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14508 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14509 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14510 (allout-rebullet-heading, allout-open-sibtopic)
14511 (allout-toggle-current-subtree-encryption)
14512 (allout-toggle-subtree-encryption, allout-encrypt-string)
14513 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14514 (allout-distinctive-bullets-string, allout-auto-activation):
14515 * window.el (window-normalize-buffer-to-display):
14516 * progmodes/verilog-mode.el (verilog-batch-indent):
14517 * textmodes/bibtex.el (bibtex-field-braces-opt)
14518 (bibtex-field-strings-opt):
14519 * vc/cvs-status.el (cvs-tree-merge):
14520 Fix typos.
14521
7262a87c
MA
145222011-11-23 Michael Albinus <michael.albinus@gmx.de>
14523
14524 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14525 `non-essential' to t, in order to avoid remote connections.
14526
283430a1
EZ
145272011-11-23 Eli Zaretskii <eliz@gnu.org>
14528
a1beca85
SM
14529 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14530 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14531 case-insensitively.
14532
d2992a38
ML
145332011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14534
14535 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14536
50419064
GM
145372011-11-23 Glenn Morris <rgm@gnu.org>
14538
da94eca1
GM
14539 * paths.el (rmail-file-name): Reformat the doc-string so that it
14540 is picked up.
14541
9aac4de2
GM
14542 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14543 (rmail-auto-file): Ignore case in the "special" field names,
14544 as mail-fetch-field does for all others.
14545
8038d2d2
GM
14546 * mail/rmail.el (rmail-forward):
14547 * mail/rmailkwd.el (rmail-set-label):
14548 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14549 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14550
f3fe222a
GM
14551 * mail/rmail.el (rmail-current-message): Doc fix.
14552
50419064
GM
14553 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14554
28109f49
SM
145552011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14556
14557 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14558
394c65f1
GM
145592011-11-22 Glenn Morris <rgm@gnu.org>
14560
14561 * mail/rmailmm.el (test-rmail-mime-handler)
14562 (test-rmail-mime-bulk-handler)
14563 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14564
f2a0aa3a
JL
145652011-11-21 Juri Linkov <juri@jurta.org>
14566
1154d12e
JB
14567 * calc/calc.el (calc-read-key-sequence):
14568 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14569
9c34a344
LMI
145702011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14571
14572 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14573 Tell the caller that the next line needs recomputation, even
14574 though it doesn't start a sexp (bug#10094).
14575
f04a3be9
SM
145762011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14579
7978747f
SM
145802011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14581
f04a3be9
SM
14582 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14583 Use force-same-window.
7978747f 14584
fe7a3057
JB
145852011-11-20 Juanma Barranquero <lekktu@gmail.com>
14586
14587 * descr-text.el (describe-char-unicode-data):
14588 * json.el (json-string-escape):
14589 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14590 (Footnote-unicode, Footnote-style-p):
14591 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14592
24901d61
CY
145932011-11-20 Chong Yidong <cyd@gnu.org>
14594
14595 * window.el (replace-buffer-in-windows): Restore interactive spec.
14596
bac7ff22
SM
145972011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14598
24f3d7b9
SM
14599 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14600
bac7ff22
SM
14601 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14602 (byte-compile-global-not-obsolete-vars): New var.
14603 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14604 Use it.
14605 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14606
cd1181db
JB
146072011-11-20 Juanma Barranquero <lekktu@gmail.com>
14608
14609 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14610 * progmodes/pascal.el (electric-pascal-equal):
14611 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14612 * xml.el (xml-substitute-special): Fix typos.
14613
7fb18e9e
GM
146142011-11-20 Glenn Morris <rgm@gnu.org>
14615
14616 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14617 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14618 Doc fixes.
14619 (rmail-decode-mime-charset): Mark as obsolete.
14620
14621 * mail/rmailsum.el (rmail-message-regexp-p-1):
14622 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14623 Before using mime functions, check they are set. (Bug#10077)
14624
d5a6b3ba
JL
146252011-11-19 Juri Linkov <juri@jurta.org>
14626
14627 * info.el (Info-finder-find-node): Use `package--builtins' instead
14628 of `package-alist'. Use node names formed by the pattern "Keyword "
14629 and the keyword name.
14630
e981b61f
AS
146312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14632
1d00653d 14633 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14634
3ffbc301
JL
146352011-11-19 Juri Linkov <juri@jurta.org>
14636
14637 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14638 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14639 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14640 `old-history', `old-history-forward'. Add let-binding
14641 `window-selected'. Remove calls to `kill-buffer',
14642 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14643 before calling `Info-find-node', so `Info-find-node-2' will reread
14644 the Info file. Restore window positions only when `window-selected'
14645 is non-nil.
14646
30c62133
JL
146472011-11-19 Juri Linkov <juri@jurta.org>
14648
14649 * isearch.el (isearch-lazy-highlight-new-loop):
14650 Remove condition `(not isearch-error)'. (Bug#9918)
14651
14652 * misearch.el (multi-isearch-search-fun): Add condition
14653 `(not bound)' to ignore lazy-highlighting search.
14654 Add the search-failed message "end of multi" when the end of
14655 multi-sequence is reached. Uncapitalize the search-failed
14656 message "Repeat for next buffer".
14657
14658 * info.el (Info-search): Add the search-failed message
14659 "end of the manual" when the end of the manual is reached
14660 in Isearch mode.
14661
645ca9cf
JL
146622011-11-19 Juri Linkov <juri@jurta.org>
14663
14664 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14665 Use non-destructive `remove' instead of `delete' because
14666 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14667 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14668
df754f66
JL
146692011-11-19 Juri Linkov <juri@jurta.org>
14670
14671 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14672 to nil instead of binding `search-ring' and `regexp-search-ring'.
14673 (Bug#9185)
14674
0e23d96a
EZ
146752011-11-19 Eli Zaretskii <eliz@gnu.org>
14676
14677 * simple.el (line-move): Force movement by logical lines for any
14678 hscrolled window, not only when auto-hscroll-mode is on.
14679 (line-move-visual): Update doc string to that effect. (Bug#10076)
14680
8a6ccb66
AS
146812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14682
14683 * language/european.el (macintosh): Define as alias for mac-roman.
14684
49ae5b39
EZ
146852011-11-19 Eli Zaretskii <eliz@gnu.org>
14686
14687 * mail/rmailmm.el (rmail-mime-display-header)
14688 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14689 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14690 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14691 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14692 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14693 of a raw aref.
14694 (rmail-mime-entity-segment): To get past the tagline, move forward
14695 2 more lines, to account for the 2 empty lines that precede and
14696 follow the line with the buttons.
14697 (rmail-mime-update-tagline): Move one more line, to get past the
14698 empty line that follows the buttons in the tagline. (Bug#9520)
14699
c56cad4a
MR
147002011-11-19 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (window-max-delta-1, window-min-delta-1)
14703 (window-min-size-1, window-state-get-1, window-state-put-1)
14704 (window-state-put-2): Use "window--" prefix.
14705
cbe71af3
SM
147062011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14707
2ad52c60
SM
14708 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14709 (smie-warning-count): New var.
14710 (smie-set-prec2tab): Use it.
14711 (smie-bnf->prec2): Improve warnings. Add docstring.
14712 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14713 (smie-bnf--set-class): New function.
14714 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14715 corner case.
14716
6944dbc1
SM
14717 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14718 (compilation-error-properties, compilation-move-to-column):
14719 Handle compilation-first-column while in the target buffer.
14720
c400c4d7
SM
14721 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14722 Don't hardcode point-min==1.
14723
6dbe3e96
SM
14724 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14725 (eshell-rewrite-for-command): Remove workaround.
14726 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14727 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14728 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14729
cbe71af3
SM
14730 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14731
a8e1496d
GM
147322011-11-17 Glenn Morris <rgm@gnu.org>
14733
14734 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14735 Ignore buffer-local generated-autoload-file if it is the same
14736 as the global value. (Bug#10049)
14737
df85d315
JB
147382011-11-17 Juanma Barranquero <lekktu@gmail.com>
14739
14740 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14741 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14742 (reftex-toc-previous-heading, reftex-toc-max-level)
14743 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14744 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14745 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14746 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14747 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14748 (reftex-toc-rename-label, reftex-toc-visit-location)
14749 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14750 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14751 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14752 leaving "*toc*" only for references to the buffer.
14753
a0c2d0ae
MR
147542011-11-17 Martin Rudalics <rudalics@gmx.at>
14755
14756 * window.el (window-resize, delete-window, split-window):
14757 Replace window-splits by window-combination-resize.
1d00653d 14758 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14759
35c0bac8
GM
147602011-11-17 Glenn Morris <rgm@gnu.org>
14761
14762 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14763 Make bash entry derive from sh entry, not shell entry.
14764
d0c8fc8a
MA
147652011-11-16 Michael Albinus <michael.albinus@gmx.de>
14766
7262a87c
MA
14767 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14768 local file name.
14769
7877f373
JB
147702011-11-16 Juanma Barranquero <lekktu@gmail.com>
14771
14772 * menu-bar.el (menu-bar-file-menu):
14773 * printing.el (pr-ps-utility):
14774 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14775 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14776 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14777 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14778 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14779 (icalendar--convert-cyclic-to-ical)
14780 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14781 (icalendar--convert-ical-to-diary)
14782 (icalendar--convert-recurring-to-diary)
14783 (icalendar--convert-non-recurring-all-day-to-diary)
14784 (icalendar-import-format-sample):
14785 * progmodes/idlw-shell.el (idlwave-shell-mode):
14786 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14787 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14788 (vhdl-ps-print-init): Fix typos.
14789
10649b82
KM
147902011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14791
9d0cfcd6
GM
14792 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14793 FSF and collapse date sequence, obscure author/maintainer email address
14794 better, remove extra version line, track relocation of author's webpage.
10649b82 14795
9d0cfcd6
GM
14796 * progmodes/python.el (python-pdbtrack-input-prompt)
14797 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14798 regular python pdb prompts. Adjustments shamelessly taken exactly as
14799 suggested in EmacsWiki page (tiny change):
14800 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14801
58179cce
JB
148022011-11-16 Juanma Barranquero <lekktu@gmail.com>
14803
14804 * expand.el (expand-pos, expand-index, expand-point):
14805 Remove redundant info from docstring.
14806 (expand-add-abbrevs): Doc fix.
14807 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14808 (expand-sample-perl-mode-expand-list): Fix typos.
14809
14810 * net/dbus.el (dbus-event-member-name):
14811 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14812 * term/pc-win.el (msdos-create-frame-with-faces):
14813 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14814
b6f67890
MR
148152011-11-16 Martin Rudalics <rudalics@gmx.at>
14816
14817 * window.el (split-window, window-state-get-1)
14818 (window-state-put-1, window-state-put-2): Rename occurrences of
14819 window-nest to window-combination-limit.
1d00653d 14820 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14821
ce7ddba0
CY
148222011-11-16 Chong Yidong <cyd@gnu.org>
14823
14824 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14825 regexp (Bug#10033).
14826
3ae704f4
SM
148272011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14828
14829 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14830 `completing-read' will remove *Completions* and will preserve
14831 current-buffer for us.
14832 (tmm-add-prompt): Users of *Completions* will always (re)set its
14833 major mode.
14834 (tmm-old-comp-map): Remove.
14835
6ad1cdde
GM
148362011-11-16 Glenn Morris <rgm@gnu.org>
14837
14838 * mail/rmailedit.el: Require rmailmm when compiling.
14839 (rmail-old-mime-state): New declaration.
14840 (rmail-edit-current-message): If editing a mime message,
14841 edit the "raw" message from the mbox buffer.
14842 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14843
d20faa20
GM
148442011-11-15 Glenn Morris <rgm@gnu.org>
14845
14846 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14847 which wasn't being used. Add optional arg to force given state.
14848 (rmail-mime): Add optional arg to force given state.
14849
c7015153
JB
148502011-11-15 Juanma Barranquero <lekktu@gmail.com>
14851
14852 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14853 * frame.el (display-mm-dimensions-alist):
14854 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14855 (outline-move-subtree-down):
14856 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14857 (newsticker--treeview-do-get-node):
14858 * net/quickurl.el (quickurl-list-buffer-name):
14859 * progmodes/dcl-mode.el (dcl-mode):
14860 * progmodes/gdb-mi.el (gdb-mapcar*):
14861 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14862
45261b50
GM
148632011-11-15 Glenn Morris <rgm@gnu.org>
14864
14865 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14866 in a boolean sense, so just make it a boolean, and fix the doc.
14867 (rmail-show-mime-function, rmail-mime-feature)
14868 (rmail-require-mime-maybe): Doc fixes.
14869 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14870
14871 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14872
0d26e0b6
JB
148732011-11-15 Juanma Barranquero <lekktu@gmail.com>
14874
14875 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14876 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14877 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14878 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14879
447f30f6
GM
148802011-11-15 Glenn Morris <rgm@gnu.org>
14881
672b871d
GM
14882 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14883 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14884 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14885 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14886 (rmail-mime, rmail-show-mime): Doc fixes.
14887
f6aa5bb1
GM
14888 * term/ns-win.el (mode-line-frame-identification):
14889 Leave it alone. (Bug#10051)
14890
947cd66b
GM
14891 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14892
447f30f6
GM
14893 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14894 Handle empty buffers. (Bug#9978)
14895
0b381c7e
JB
148962011-11-14 Juanma Barranquero <lekktu@gmail.com>
14897
14898 * international/mule.el (define-charset):
14899 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14900 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14901 * progmodes/verilog-mode.el (verilog-backward-token):
14902 * textmodes/ispell.el (lookup-words):
14903 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14904
71e027ac
GM
149052011-11-14 Glenn Morris <rgm@gnu.org>
14906
56632ce4
GM
14907 * progmodes/executable.el
14908 (executable-make-buffer-file-executable-if-script-p):
14909 Handle file-modes returning nil.
14910
40500957
GM
14911 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14912 message - not necessary, and causes problems. (Bug#9831)
14913
071c2340
GM
14914 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14915
d3cfca60
GM
14916 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14917
71e027ac
GM
14918 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14919 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14920 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14921
89d61221
MR
149222011-11-12 Martin Rudalics <rudalics@gmx.at>
14923
14924 * window.el (window-resize, delete-window): Use window-splits
14925 variable instead of function.
14926 (window-state-get-1, window-state-put-2, window-state-put):
14927 Don't deal with windows' splits status.
14928
98282f6f
GM
149292011-11-12 Glenn Morris <rgm@gnu.org>
14930
14931 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14932 (apropos-documentation): Doc fixes.
14933
40a8bdf6
JB
149342011-11-11 Juanma Barranquero <lekktu@gmail.com>
14935
14936 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14937 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14938
65bd19ff
SM
149392011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * electric.el (electric-indent-post-self-insert-function): Make it
14942 possible for a char to only indent in some circumstances.
14943 (electric-indent-mode): Simplify.
14944
54f9154c
MR
149452011-11-11 Martin Rudalics <rudalics@gmx.at>
14946
14947 * window.el (windows-with-parameter): Remove unused function.
14948 (windows-at-side): Rename to window-at-side-list.
14949 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14950 (window-side-check, window-size-ignore, window-size-fixed-1)
14951 (window-in-direction-2): Prefix with "window--".
14952 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14953
68cbc58b
GM
149542011-11-11 Glenn Morris <rgm@gnu.org>
14955
14956 * subr.el (eval-after-load): If FILE is already loaded,
14957 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14958
b2621720
GM
149592011-11-10 Glenn Morris <rgm@gnu.org>
14960
9a4de110
GM
14961 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14962 Call svn via vc-svn-command rather than vc-do-command.
14963 (vc-svn-command): Add --non-interactive. (Bug#9993)
14964 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14965
b2621720
GM
14966 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14967 Add toggle-read-only. (Bug#7292)
14968 * files.el (toggle-read-only): Mention that it should only
14969 be used interactively. (Bug#10006)
14970
1dce7193
SM
149712011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14972
d9ac1a1e
SM
14973 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14974 Adjust regexp for OCaml warnings.
14975
0c325082
SM
14976 * electric.el (electric-pair-post-self-insert-function): Let user
14977 turn it off buffer-locally (bug#9932).
14978
90132c14
SM
14979 * progmodes/python.el (python-beginning-of-statement):
14980 Rewrite (bug#2703).
14981
1dce7193
SM
14982 * progmodes/compile.el: Better handle TABs (bug#9749).
14983 (compilation-internal-error-properties)
14984 (compilation-next-error-function): Obey the target buffer's
14985 compilation-error-screen-columns.
14986
c4e7c63a
JB
149872011-11-09 Juanma Barranquero <lekktu@gmail.com>
14988
14989 * progmodes/meta-mode.el: Remove obsolete comments.
14990 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14991 Fix typos in docstrings.
14992
2cffd681
MR
149932011-11-09 Martin Rudalics <rudalics@gmx.at>
14994
14995 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14996 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14997 (window--resizable): New function. Make all callers of
14998 window-resizable call window--resizable instead.
14999 (window-resizable): Rewrite in terms of window--resizable.
15000
0edcba87
GM
150012011-11-08 Glenn Morris <rgm@gnu.org>
15002
15003 * progmodes/delphi.el (delphi-mode-syntax-table):
15004 Let define-derived-mode define a proper syntax table. (Bug#9994)
15005
4b0d61e3
SM
150062011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15007
15008 * window.el: Stay away from defsubst.
15009 (window-list-no-nils): Remove.
15010 (window-state-get-1, window-state-get): Use backquote instead.
15011
cd394be1 150122011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15013
4b0d61e3 15014 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15015 Fix incorrect use of default argument in `completing-read'.
15016
e1c2c6f2
MR
150172011-11-08 Martin Rudalics <rudalics@gmx.at>
15018
15019 * window.el (display-buffer-function, special-display-function):
15020 Mention display-buffer-record-window but do not mention
15021 help-setup parameter in doc-strings.
b3f4a882 15022 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15023
105216ed
CY
150242011-11-08 Chong Yidong <cyd@gnu.org>
15025
15026 * window.el (window-total-height, window-total-width): Doc fix.
15027 (window-body-size): Move from C.
15028 (window-body-height, window-body-width): Move to C.
15029
0a9f9ab5
SM
150302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * window.el: Make special-display like display-buffer-alist (bug#9532).
15033 (display-buffer--special-action): New function, morphed
15034 from display-buffer--special.
15035 (display-buffer): Use it to handle special-display-buffers at higher
15036 priority (just after display-buffer-alist).
15037 (display-buffer-fallback-action, display-buffer--other-frame-action)
15038 (pop-to-buffer-same-window): Remove display-buffer--special.
15039
a769dd15
GM
150402011-11-07 Glenn Morris <rgm@gnu.org>
15041
15042 * calendar/cal-menu.el (cal-menu-set-date-title):
15043 Do nothing if not in a calendar. (Bug#9976)
15044
05a61ee3
SM
150452011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15046
15047 * files.el (find-file): Always use selected-window.
15048
be7f5545
MR
150492011-11-07 Martin Rudalics <rudalics@gmx.at>
15050
15051 * window.el (window-combinations): Make WINDOW argument
15052 mandatory. Rewrite doc-string.
15053 (walk-window-subtree, window-atom-check, window-min-delta)
15054 (window-max-delta, window--resize-this-window)
15055 (window--resize-root-window-vertically, window-tree)
15056 (balance-windows, window-state-put): Rewrite doc-strings as to
15057 not mention the term "subwindow".
15058 (window--resize-subwindows-skip-p): Rename to
15059 window--resize-child-windows-skip-p.
15060 (window--resize-subwindows-normal): Rename to
15061 window--resize-child-windows-normal.
15062 (window--resize-subwindows): Rename to
15063 window--resize-child-windows.
15064 (window-or-subwindow-p): Rename to window--in-subtree-p.
15065
3c6702ef
ML
150662011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15067
15068 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15069 Ensure that mbox format messages end in two newlines (Bug#9974).
15070
49745b39
CY
150712011-11-06 Chong Yidong <cyd@gnu.org>
15072
15073 * window.el (window-combination-p): Function deleted; its
15074 side-effect is not used in any existing code.
15075 (window-combinations, window-combined-p): Call window-*-child
15076 directly.
15077
24300f5f
CY
150782011-11-05 Chong Yidong <cyd@gnu.org>
15079
15080 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15081 (window-size-ignore, window-state-get): Callers changed.
15082 (window-normalize-window): Rename from window-normalize-any-window.
15083 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15084 (window-normalize-live-window): Delete.
447f16b8
CY
15085 (window-combination-p, window-combined-p, window-combinations)
15086 (walk-window-subtree, window-atom-root, window-min-size)
15087 (window-sizable, window-sizable-p, window-size-fixed-p)
15088 (window-min-delta, window-max-delta, window-resizable)
15089 (window-resizable-p, window-full-height-p, window-full-width-p)
15090 (window-current-scroll-bars, window-point-1, set-window-point-1)
15091 (window-at-side-p, window-in-direction, window-resize)
15092 (adjust-window-trailing-edge, maximize-window, minimize-window)
15093 (window-deletable-p, delete-window, delete-other-windows)
15094 (record-window-buffer, unrecord-window-buffer)
15095 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15096 (quit-window, split-window, window-state-put)
15097 (set-window-text-height, fit-window-to-buffer)
15098 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15099
89bd5ee1
EZ
151002011-11-04 Eli Zaretskii <eliz@gnu.org>
15101
53479029
EZ
15102 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15103 rfc2047-decode-string.
15104 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15105 warnings.
15106
89bd5ee1
EZ
15107 * window.el (window-body-height, window-body-width): Mention in
15108 the doc string that the return values are in frame's canonical
15109 units. (Bug#9949)
15110
bd17fdee
AM
151112011-11-03 Alan Mackenzie <acm@muc.de>
15112
15113 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15114 change in cc-engine.el.
15115
acc825c5
SM
151162011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15117
15118 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15119
1885e5b8
MR
151202011-11-02 Martin Rudalics <rudalics@gmx.at>
15121
15122 * window.el (quit-window): Call unrecord-window-buffer after
15123 showing another buffer in the window. (Bug#9937)
acc825c5 15124 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15125
ebe06da9
JB
151262011-11-02 Juanma Barranquero <lekktu@gmail.com>
15127
15128 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15129 Accept status with more than 9 shelves. (Bug#9935)
15130 Reported by Colin D Bennett <colin@gibibit.com>.
15131
4ee88440
MR
151322011-11-01 Martin Rudalics <rudalics@gmx.at>
15133
15134 * help.el (with-help-window): Don't reference
15135 temp-buffer-show-specifiers in doc-string.
15136
08e1d82c
AS
151372011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15138
15139 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15140 menu-item.
15141
84bd6e9e
VJL
151422011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15143
15144 * whitespace.el: New version 13.2.2.
15145 (whitespace-newline-mode): Disable properly. Reported by Sarah
15146 <EmacsWiki>.
15147
dba0634a
UJ
151482011-10-30 Ulf Jasper <ulf.jasper@web.de>
15149
15150 * net/newst-treeview.el: Remove "Time-stamp".
15151 (newsticker--group-manage-orphan-feeds): Do not call
15152 newsticker--treeview-tree-update.
db22a3c2
JB
15153 (newsticker-treeview-update, newsticker-treeview):
15154 Call newsticker--treeview-tree-update if necessary.
dba0634a 15155
3d8daefe
MR
151562011-10-30 Martin Rudalics <rudalics@gmx.at>
15157
15158 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15159 (window-iso-combinations): Remove "iso-" infix.
15160 Suggested by Chong Yidong.
3d8daefe
MR
15161 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15162 (window-max-delta-1, window-resize, window--resize-siblings)
15163 (window--resize-this-window, adjust-window-trailing-edge)
15164 (split-window, balance-windows-1)
15165 (shrink-window-if-larger-than-buffer):
15166 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15167 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15168
1bc4c3ae
SM
151692011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15172 in place (bug#9907).
15173 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15174 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15175 (eshell-structure-basic-command, eshell-rewrite-while-command)
15176 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15177 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15178 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15179 (eshell-do-pipelines-synchronously, eshell-eval-command):
15180 Use backquotes and prefer setq to set.
15181 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15182 (eshell-macrop): Use functionp.
c1e2f5fa 15183 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15184
30b65d9c
CY
151852011-10-30 Chong Yidong <cyd@gnu.org>
15186
15187 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15188 instead of set-mark (Bug#9810).
15189
2d197ffb
CY
151902011-10-30 Chong Yidong <cyd@gnu.org>
15191
15192 * window.el (split-window-below, split-window-right): Rename from
15193 split-window-above-each-other and split-window-side-by-side
15194 respectively. All callers changed.
15195 (split-window-sensibly, split-window-sensibly): Use them.
15196 (split-window-keep-point): Doc fix.
15197
15198 * isearch.el: Add isearch-scroll property to split-window-below
15199 and split-window-right.
15200
15201 * follow.el (follow-mode):
15202 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15203 * progmodes/ada-xref.el (ada-gdb-application):
15204 * emulation/vip.el (vip-buffer-in-two-windows):
15205 * image-dired.el (image-dired-dired-with-window-configuration):
15206 * dired-x.el (dired-do-find-marked-files):
15207 * dired.el (dired-pop-to-buffer):
15208 * bs.el (bs--show-with-configuration):
15209 * vc/emerge.el (emerge-setup-windows):
15210 * textmodes/two-column.el (2C-two-columns):
15211 * textmodes/reftex-toc.el (reftex-toc):
15212 * progmodes/gdb-mi.el (gdb-setup-windows):
15213 * progmodes/fortran.el (fortran-window-create):
15214 * net/newst-treeview.el (newsticker--treeview-window-init):
15215 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15216 * emulation/tpu-edt.el (tpu-gold-map):
15217 * emulation/crisp.el (crisp-mode-map):
15218 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15219
38bb2ca8
CY
152202011-10-29 Chong Yidong <cyd@gnu.org>
15221
aa4de341
CY
15222 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15223
e1eb5385
CY
15224 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15225
5d2ece3c
CY
15226 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15227 forged Ispell output (Bug#7904).
15228
38bb2ca8
CY
15229 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15230
d0af9f77
SM
152312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * doc-view.el: Avoid ugly errors about not finding nil.
15234 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15235 (doc-view-dvipdf-program, doc-view-unoconv-program)
15236 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15237 Avoid nil or absolute file name as default value.
15238 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15239
52bedd34
AM
152402011-10-28 Alan Mackenzie <acm@muc.de>
15241
db22a3c2 15242 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15243
7e43cfa5
AM
152442011-10-28 Alan Mackenzie <acm@muc.de>
15245
15246 Amend the handling of c-beginning/end-of-defun in nested declaration
15247 scopes.
15248
52bedd34
AM
15249 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15250 cc-langs.el. Change it to a defcustom.
7e43cfa5 15251
52bedd34
AM
15252 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15253 cc-vars.el.
7e43cfa5 15254
d0af9f77
SM
15255 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15256 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15257
52bedd34 15258 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15259 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15260 (c-widen-to-enclosing-decl-scope): New function.
15261 (c-while-widening-to-decl-block): New macro.
15262 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15263 outward for defun boundaries, and correspondingly change symbol
15264 `respect-enclosure' to `go-outward'.
15265 (c-declaration-limits): Change algorithm to report only the "innermost"
15266 defun's boundaries.
15267
1a2ce9ee
DD
152682011-10-28 Deniz Dogan <deniz@dogan.se>
15269
15270 * net/rcirc.el (rcirc-mode): Use hard newlines.
15271
bc97a826
AM
152722011-10-28 Alan Mackenzie <acm@muc.de>
15273
15274 Amend to indent and fontify macros "which include their own semicolon"
15275 correctly, using the "virtual semicolon" mechanism.
15276
52bedd34 15277 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15278
d0af9f77 15279 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15280 Recode to scan one line at a time rather than having \n and \r
58179cce 15281 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15282 (c-forward-label): Amend for virtual semicolons.
58179cce 15283 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15284
52bedd34
AM
15285 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15286 of the new C macros.
bc97a826 15287
52bedd34 15288 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15289 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15290 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15291 (c-opt-cpp-macro-define): Make into a full language variable.
15292 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15293 AWK Mode (including \n, \r) removed, no longer needed.
15294
d0af9f77
SM
15295 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15296 Invoke c-make-macro-with-semi-re.
bc97a826 15297
52bedd34
AM
15298 * progmodes/cc-vars.el (c-macro-with-semi-re):
15299 (c-macro-names-with-semicolon): New variables.
58179cce 15300 (c-make-macro-with-semi-re): New function.
bc97a826 15301
7a6c0941
SM
153022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * vc/log-edit.el: Fill empty field rather than adding new one.
15305 (log-edit-add-field): New function.
15306 (log-edit-insert-changelog): Use it.
15307
b0c4cdcf
ML
153082011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15309
15310 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15311
ee1f1da9
SM
153122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15315 (gdb--check-interpreter): New function.
15316 (gdb): Use it.
15317
51bc5f8b
GM
153182011-10-27 Glenn Morris <rgm@gnu.org>
15319
416a2c45
GM
15320 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15321 (least-positive-float, least-negative-float)
15322 (least-positive-normalized-float, least-negative-normalized-float)
15323 (float-epsilon, float-negative-epsilon):
15324 Remove unnecessary declarations.
15325
15326 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15327 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15328 (least-positive-float, least-negative-float)
15329 (least-positive-normalized-float, least-negative-normalized-float)
15330 (float-epsilon, float-negative-epsilon): Add doc-strings,
15331 based on those in cl.texi.
15332
51bc5f8b
GM
15333 * files.el (set-visited-file-name): If the major-mode changed,
15334 reload the local variables. (Bug#9796)
15335
15de15c6
CY
153362011-10-27 Chong Yidong <cyd@gnu.org>
15337
15338 * subr.el (change-major-mode-after-body-hook): New hook.
15339 (run-mode-hooks): Run it.
15340
ee1f1da9
SM
15341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15342 Use change-major-mode-before-body-hook.
15de15c6
CY
15343
15344 * simple.el (fundamental-mode):
15345 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15346 change introducing fundamental-mode-hook.
15347
5430d399
JB
153482011-10-26 Juanma Barranquero <lekktu@gmail.com>
15349
acc825c5 15350 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15351
ad74a69e
MA
153522011-10-26 Michael Albinus <michael.albinus@gmx.de>
15353
15354 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15355 tramp.el explicitly. (Bug#7583)
ad74a69e 15356
71d4c2a5
SM
153572011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15358
15359 * progmodes/octave-mod.el:
15360 * progmodes/octave-inf.el: Update maintainer.
15361
b1f6fa26
CY
153622011-10-26 Chong Yidong <cyd@gnu.org>
15363
15364 * subr.el (with-wrapper-hook): Rewrite doc.
15365
3f04efd6
MA
153662011-10-25 Michael Albinus <michael.albinus@gmx.de>
15367
15368 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15369 filenames "/method:foo:". (Bug#9793)
3f04efd6 15370
410488d3
SM
153712011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15374 (bug#9865).
15375
c1ebb47e
GM
153762011-10-24 Glenn Morris <rgm@gnu.org>
15377
15378 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15379
7f5c46c7
MA
153802011-10-24 Michael Albinus <michael.albinus@gmx.de>
15381
15382 * notifications.el: Add the requirement of a running D-Bus session
15383 bus to the Commentary.
15384
db2440b6
JL
153852011-10-24 Juri Linkov <juri@jurta.org>
15386
15387 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15388 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15389 (Bug#9364)
15390
feecf435
JL
153912011-10-24 Juri Linkov <juri@jurta.org>
15392
15393 * info.el (Info-following-node-name-re): Add newline to the list
15394 of allowed characters for leading space. (Bug#9824)
15395
a3839de2
SM
153962011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15397
acc825c5
SM
15398 * progmodes/octave-inf.el (inferior-octave-mode-map):
15399 Fix C-c C-h binding.
a3839de2
SM
15400 * progmodes/octave-mod.el (octave-help): Remove.
15401
09388e76
MA
154022011-10-23 Michael Albinus <michael.albinus@gmx.de>
15403
15404 Sync with Tramp 2.2.3.
15405
15406 * net/tramp-cache.el (top): Pacify byte-compiler using
15407 `init-file-user' and `site-run-file'.
15408
15409 * net/trampver.el: Update release number.
15410
86c60681
CY
154112011-10-23 Chong Yidong <cyd@gnu.org>
15412
15413 * files.el (toggle-read-only): Remove obsolete comment about
15414 version control.
15415
15416 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15417 for toggle-read-only. Note that this hasn't called vc-next-action
15418 since 2008-05-02, though it wasn't documented at the time.
15419
a3839de2
SM
15420 * vc/ediff-init.el (ediff-toggle-read-only-function):
15421 Use toggle-read-only.
86c60681 15422
cd5495ff
AM
154232011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15424
15425 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15426 of c-parse-state.
15427
00b77525 15428 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15429 correct faulty logical expression.
cd5495ff
AM
15430 (c-parse-state-state, c-record-parse-state-state):
15431 (c-replay-parse-state-state): New defvar/defuns.
15432 (c-debug-parse-state): Use new functions.
15433
42ee24ed
MR
154342011-10-22 Martin Rudalics <rudalics@gmx.at>
15435
15436 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15437 last fix. Use window-in-direction correctly.
42ee24ed 15438
a7dee7e7
CY
154392011-10-21 Chong Yidong <cyd@gnu.org>
15440
15441 * progmodes/idlwave.el (idlwave-mode):
15442 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15443 require-final-newline; that's done in prog-mode.
15444 Suggested by Stefan Monnier.
a7dee7e7 15445
e07b9a6d
MR
154462011-10-21 Martin Rudalics <rudalics@gmx.at>
15447
15448 * mouse.el (mouse-drag-window-above)
15449 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15450 (mouse-drag-mode-line-1, mouse-drag-header-line)
15451 (mouse-drag-vertical-line-rightward-window): Remove.
15452 (mouse-drag-line): New function.
15453 (mouse-drag-mode-line, mouse-drag-header-line)
15454 (mouse-drag-vertical-line): Call mouse-drag-line.
15455 * window.el (window-at-side-p, windows-at-side): New functions.
15456
7e1361d9
UM
154572011-10-21 Ulrich Mueller <ulm@gentoo.org>
15458
15459 * tar-mode.el (tar-grind-file-mode):
15460 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15461
30fcaf3a
CY
154622011-10-21 Chong Yidong <cyd@gnu.org>
15463
15464 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15465 * progmodes/vera-mode.el (vera-mode):
15466 Use mode-require-final-newline.
30fcaf3a 15467
516eddb0
GM
154682011-10-20 Glenn Morris <rgm@gnu.org>
15469
db22a3c2 15470 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15471
10d5f513
CS
154722011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15473
15474 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15475
ac6c8639
CY
154762011-10-20 Chong Yidong <cyd@gnu.org>
15477
15478 * emulation/cua-base.el (cua-mode):
15479 * mail/footnote.el (footnote-mode):
15480 * mail/mailabbrev.el (mail-abbrevs-mode):
15481 * net/xesam.el (xesam-minor-mode):
15482 * progmodes/bug-reference.el (bug-reference-mode):
15483 * progmodes/cap-words.el (capitalized-words-mode):
15484 * progmodes/compile.el (compilation-minor-mode)
15485 (compilation-shell-minor-mode):
15486 * progmodes/gud.el (gud-tooltip-mode):
15487 * progmodes/hideif.el (hide-ifdef-mode):
15488 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15489 * progmodes/subword.el (subword-mode):
15490 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15491 * progmodes/which-func.el (which-function-mode):
15492 * term/tvi970.el (tvi970-set-keypad-mode):
15493 * term/vt100.el (vt100-wide-mode):
15494 * textmodes/flyspell.el (flyspell-mode):
15495 * textmodes/ispell.el (ispell-minor-mode):
15496 * textmodes/nroff-mode.el (nroff-electric-mode):
15497 * textmodes/paragraphs.el (use-hard-newlines):
15498 * textmodes/refill.el (refill-mode):
15499 * textmodes/reftex.el (reftex-mode):
15500 * textmodes/rst.el (rst-minor-mode):
15501 * textmodes/sgml-mode.el (html-autoview-mode)
15502 (sgml-electric-tag-pair-mode):
15503 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15504 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15505 * emulation/crisp.el (crisp-mode):
15506 * emacs-lisp/eldoc.el (eldoc-mode):
15507 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15508 minor mode behavior.
15509
aa42ab43
JL
155102011-10-19 Juri Linkov <juri@jurta.org>
15511
15512 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15513 the list of hard-coded chars with escape-glyph face.
15514
89400f1d
SM
155152011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15516
15517 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15518
305c07f6
MA
155192011-10-19 Michael Albinus <michael.albinus@gmx.de>
15520
15521 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15522 running process.
15523
13754b54
GM
155242011-10-19 Glenn Morris <rgm@gnu.org>
15525
15526 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15527 Ignore ignored files. (Bug#9726)
15528
06e21633
CY
155292011-10-19 Chong Yidong <cyd@gnu.org>
15530
15531 Doc fix for minor modes, stating that an omitted argument enables
15532 the mode unconditionally when called from Lisp.
15533
15534 * abbrev.el (abbrev-mode):
15535 * allout.el (allout-mode):
15536 * autoinsert.el (auto-insert-mode):
15537 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15538 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15539 (global-auto-revert-mode):
15540 * battery.el (display-battery-mode):
15541 * composite.el (global-auto-composition-mode)
15542 (auto-composition-mode):
15543 * delsel.el (delete-selection-mode):
15544 * desktop.el (desktop-save-mode):
15545 * dired-x.el (dired-omit-mode):
15546 * dirtrack.el (dirtrack-mode):
15547 * doc-view.el (doc-view-minor-mode):
15548 * double.el (double-mode):
15549 * electric.el (electric-indent-mode, electric-pair-mode):
15550 * emacs-lock.el (emacs-lock-mode):
15551 * epa-hook.el (auto-encryption-mode):
15552 * follow.el (follow-mode):
15553 * font-core.el (font-lock-mode):
15554 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15555 * help.el (temp-buffer-resize-mode):
15556 * hilit-chg.el (highlight-changes-mode)
15557 (highlight-changes-visible-mode):
15558 * hi-lock.el (hi-lock-mode):
15559 * hl-line.el (hl-line-mode, global-hl-line-mode):
15560 * icomplete.el (icomplete-mode):
15561 * ido.el (ido-everywhere):
15562 * image-file.el (auto-image-file-mode):
15563 * image-mode.el (image-minor-mode):
15564 * iswitchb.el (iswitchb-mode):
15565 * jka-cmpr-hook.el (auto-compression-mode):
15566 * linum.el (linum-mode):
15567 * longlines.el (longlines-mode):
15568 * master.el (master-mode):
15569 * mb-depth.el (minibuffer-depth-indicate-mode):
15570 * menu-bar.el (menu-bar-mode):
15571 * minibuf-eldef.el (minibuffer-electric-default-mode):
15572 * mouse-sel.el (mouse-sel-mode):
15573 * msb.el (msb-mode):
15574 * mwheel.el (mouse-wheel-mode):
15575 * outline.el (outline-minor-mode):
15576 * paren.el (show-paren-mode):
15577 * recentf.el (recentf-mode):
15578 * reveal.el (reveal-mode, global-reveal-mode):
15579 * rfn-eshadow.el (file-name-shadow-mode):
15580 * ruler-mode.el (ruler-mode):
15581 * savehist.el (savehist-mode):
15582 * scroll-all.el (scroll-all-mode):
15583 * scroll-bar.el (scroll-bar-mode):
15584 * server.el (server-mode):
15585 * shell.el (shell-dirtrack-mode):
15586 * simple.el (auto-fill-mode, transient-mark-mode)
15587 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15588 (line-number-mode, column-number-mode, size-indication-mode)
15589 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15590 * strokes.el (strokes-mode):
15591 * time.el (display-time-mode):
15592 * t-mouse.el (gpm-mouse-mode):
15593 * tool-bar.el (tool-bar-mode):
15594 * tooltip.el (tooltip-mode):
15595 * type-break.el (type-break-mode-line-message-mode)
15596 (type-break-query-mode):
15597 * view.el (view-mode):
15598 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15599 (global-whitespace-mode, global-whitespace-newline-mode):
15600 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15601
a3839de2
SM
15602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15603 Fix autogenerated docstring.
06e21633 15604
5214e501
JL
156052011-10-19 Juri Linkov <juri@jurta.org>
15606
15607 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15608 by checking environment variables "DESKTOP_SESSION" and
15609 "XDG_CURRENT_DESKTOP". (Bug#9779)
15610
195f8db9
JL
156112011-10-19 Juri Linkov <juri@jurta.org>
15612
15613 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15614 (browse-url-chromium-program, browse-url-chromium-arguments):
15615 New defcustoms.
15616 (browse-url-default-browser): Check for `browse-url-chromium' and
15617 call `browse-url-chromium-program'.
15618 (browse-url-chromium): New command. (Bug#9779)
15619
343a34ff
JB
156202011-10-18 Juanma Barranquero <lekktu@gmail.com>
15621
15622 * facemenu.el (list-colors-duplicates): On Windows, detect more
15623 duplicates by assuming that only colors matching "^System" are
15624 special "system colors". (Bug#9722)
15625
6978a151
SM
156262011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15629 to distinguish the author from the committer.
15630
6a80b297
MA
156312011-10-18 Michael Albinus <michael.albinus@gmx.de>
15632
15633 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15634
b31a5677
JK
156352011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15636
15637 * international/mule.el (sgml-html-meta-auto-coding-function):
15638 Add support for detecting encoding in HTML5 specified only as
15639 <meta charset="UTF-8">. Implementation just makes http-equiv and
15640 content-type parts from HTML4 encoding string optional. (Bug#9716)
15641
80c6d77f
GM
156422011-10-18 Glenn Morris <rgm@gnu.org>
15643
15644 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15645
08b0fee8
CY
156462011-10-18 Chong Yidong <cyd@gnu.org>
15647
15648 * faces.el (cursor): Doc fix.
15649
67e729a5
CY
156502011-10-17 Chong Yidong <cyd@gnu.org>
15651
15652 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15653
343a34ff 156542011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15655
15656 * dirtrack.el (dirtrack): Support shell buffers with path
15657 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15658
0bc06380
TZ
156592011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15660
15661 * json.el: Bump version to 1.3 and note change in History.
15662 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15663
8b79f3e0
SM
156642011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15665
5a7c536b
SM
15666 * comint.el (comint-insert-input, comint-send-input)
15667 (comint-get-old-input-default, comint-backward-matching-input)
15668 (comint-next-prompt): Use nil instead of `input' for field property of
15669 past user input (bug#114).
15670
96a8a0df
SM
15671 * minibuffer.el (completion--replace): Inherit surrounding properties
15672 (bug#114).
15673 (minibuffer-complete-and-exit): Use it.
15674
8b79f3e0
SM
15675 * comint.el (comint--table-subvert): Quote the all-completions output
15676 (bug#9160).
15677
b8f7ff0d
MR
156782011-10-17 Martin Rudalics <rudalics@gmx.at>
15679
8b79f3e0 15680 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15681
b8f7ff0d 15682 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15683 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15684 entries and separate them from frame entries.
15685
c235b555
GM
156862011-10-15 Glenn Morris <rgm@gnu.org>
15687
15688 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15689 Doc fixes.
15690
6bbfa6e1
CY
156912011-10-15 Chong Yidong <cyd@stupidchicken.com>
15692
8b79f3e0
SM
15693 * net/network-stream.el (network-stream-open-starttls):
15694 Improve detection of failure due to lack of TLS support.
ec5c990d 15695
6bbfa6e1
CY
15696 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15697 putting the input text in front and in bold.
15698
98488977
SM
156992011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15700
3d1337be
SM
15701 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15702
ee0b45e4
SM
15703 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15704 empty buffer.
15705
98488977
SM
15706 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15707 unread-command-events rather than pushing yet-another event.
15708
186f4720
EZ
157092011-10-14 Eli Zaretskii <eliz@gnu.org>
15710
15711 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15712 the explanation of the possible choices. Make the options passed
15713 to completing-read shorter.
15714
8b7a997c
AM
157152011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15716
15717 * textmodes/flyspell.el (flyspell-large-region): Make sure
15718 extended character mode is used if defined (Bug#1339).
15719
12587bbb
EZ
157202011-10-13 Eli Zaretskii <eliz@gnu.org>
15721
15722 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15723 character info for LRE, LRO, RLE, and RLO characters by appending
15724 an invisible PDF.
12587bbb 15725
bad41229
SM
157262011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15727
15728 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15729 even in case of error; add debug spec; simplify data flow.
15730 (with-timeout-handler): Remove.
15731
28dbc92f
MA
157322011-10-12 Michael Albinus <michael.albinus@gmx.de>
15733
15734 Fix Bug#6019, Bug#9315.
15735
15736 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15737 complete `buffer-file-name', the local file name part could look
15738 remotely (for example on VMS).
15739
15740 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15741 `tramp-run-real-handler'.
15742 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15743 already quoted by '"'.
15744
15745 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15746 Let `file-name-handler-alist' be nil, the local file name part
15747 could look remotely (for example on VMS).
15748
e1b0b23a
SM
157492011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15752 from here...
15753 (flyspell-post-command-hook): ...to here.
15754
a120bde9
SM
157552011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15756
15757 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15758 if not needed.
15759 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15760 using completion. Protect against "slow" callers.
15761 Remove the "message hack".
15762
7ce7717b
JL
157632011-10-11 Juri Linkov <juri@jurta.org>
15764
15765 * isearch.el (isearch-lazy-highlight-word): New variable.
15766 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15767 Use it. (Bug#9727)
15768
c02ee9d6
GM
157692011-10-11 Glenn Morris <rgm@gnu.org>
15770
15771 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15772 like f90-previous-statement does.
15773
93e616fd 157742011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15775
1f190e73 15776 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15777 only in interactive use, to avoid error.
15778
af7b6078
SM
157792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * minibuffer.el (completion-file-name-table): Fix last change,
15782 i.e. ignore normal errors but not the other ones.
15783
0563dae9
MR
157842011-10-10 Martin Rudalics <rudalics@gmx.at>
15785
15786 * window.el (special-display-buffer-names)
15787 (special-display-regexps): Remove some remnants of earlier
15788 changes from doc-strings.
366ca7f3
MR
15789 (quit-windows-on): New function.
15790
15791 * vc/vc.el (vc-revert, vc-rollback):
15792 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15793 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15794 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15795
49677495
MR
157962011-10-09 Martin Rudalics <rudalics@gmx.at>
15797
15798 * window.el (frame-auto-hide-function): Add version tag.
15799 (Bug#9699)
15800
56f2d1e1
MA
158012011-10-09 Michael Albinus <michael.albinus@gmx.de>
15802
15803 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15804 condition.
15805
112a6592
LL
158062011-10-09 Leo Liu <sdl.web@gmail.com>
15807
15808 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15809 (Bug#9701)
15810
0812589b
GM
158112011-10-08 Glenn Morris <rgm@gnu.org>
15812
15813 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15814 before the first code statement zero indent. (Bug#9690)
15815
b2b0776e
CY
158162011-10-08 Chong Yidong <cyd@stupidchicken.com>
15817
15818 * simple.el (count-words-region): Always count in the region.
15819 Report the number of lines and characters too.
15820 (count-words): New command, which counts in the buffer if the
15821 region is inactive, as count-words-region used to.
15822 (count-words--message): New function. Handle plurals.
15823 (count-lines-region): Make it an alias for count-words-region.
15824
15825 * bindings.el (esc-map): Replace count-lines-region with
15826 count-words-region.
15827
c557cd6b
MR
158282011-10-08 Martin Rudalics <rudalics@gmx.at>
15829
15830 * window.el (window--delete): Delete dedicated frame
15831 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15832 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15833
61a57ef4 158342011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15835
3a7d293b 15836 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15837
c3833279
CY
158382011-10-07 Chong Yidong <cyd@stupidchicken.com>
15839
15840 * bindings.el ([M-left],[M-right]): Bind to left-word and
15841 right-word respectively.
15842
21ce8245
GM
158432011-10-07 Glenn Morris <rgm@gnu.org>
15844
15845 * cus-start.el (debug-on-quit): Fix custom type.
15846
6d823bb2
LMI
158472011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15848
0181e193
LMI
15849 * subr.el (define-key-after): Clarify that the function is not
15850 useful for non-menu keymaps.
15851
6d823bb2
LMI
15852 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15853
8e3459ce 158542011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15855
21ce8245 15856 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15857 in current minibuffer (Fix bug with recursive minibuffers).
15858
a1c2d21e
CY
158592011-10-06 Chong Yidong <cyd@stupidchicken.com>
15860
15861 * progmodes/gdb-mi.el (gdb): Doc fix.
15862
5a4cf282
MR
158632011-10-05 Martin Rudalics <rudalics@gmx.at>
15864
15865 * window.el (frame-auto-hide-function): New option replacing
15866 frame-auto-delete. Suggested by Stefan Monnier.
15867 (window--delete): Call frame-auto-hide-function instead of
15868 investigating frame-auto-delete.
c96111ea
MR
15869 (window-point-1, set-window-point-1): New functions.
15870 (window-in-direction, record-window-buffer, window-state-get-1)
15871 (display-buffer-record-window): Use window-point-1 instead of
15872 window-point.
15873 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15874
9854542e
SM
158752011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15878
8943cfb0
GM
158792011-10-05 Glenn Morris <rgm@gnu.org>
15880
15881 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15882 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15883
647ab967
LL
158842011-10-05 Leo Liu <sdl.web@gmail.com>
15885
15886 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15887 works with buffer object.
15888
3ddfbced
SM
158892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15890
15891 * mpc.el (mpc-tool-bar-map): Add labels.
15892
bdfa5dd2
GM
158932011-10-04 Glenn Morris <rgm@gnu.org>
15894
15895 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15896
0e2070b5
MR
158972011-10-04 Martin Rudalics <rudalics@gmx.at>
15898
15899 * window.el (window--delete): New function.
15900 (frame-auto-delete): Resuscitate option.
15901 (bury-buffer, replace-buffer-in-windows)
15902 (quit-window): Rewrite using window--delete.
15903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15904 Pass display-buffer-mark-dedicated to window--display-buffer-2
15905 (Bug#9639).
15906
3dc61a09
SM
159072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15908
915a9b64
SM
15909 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15910 returns a list (bug#9554). Add remote file name completion.
15911 * comint.el (comint--table-subvert): Curry and get quote&unquote
15912 functions as arguments.
15913 (comint--complete-file-name-data): Adjust call accordingly.
15914 * pcomplete.el (pcomplete--table-subvert): Remove.
15915 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15916
3dc61a09
SM
15917 * minibuffer.el (completion-table-case-fold): Use currying.
15918 (completion--styles-type, completion--cycling-threshold-type):
15919 New constants.
15920 (completion-styles, completion-category-overrides)
15921 (completion-cycle-threshold): Use them.
15922 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15923 completion-table-case-fold.
15924
8ea0a993
SB
159252011-10-03 Stephen Berman <stephen.berman@gmx.net>
15926
15927 * minibuffer.el (completion-category-overrides): Fix type of styles
15928 and add more user friendly tags (bug#9660).
15929
8c24b7f6
SM
159302011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15933 (mule-input-method-string): New widget.
15934 (default-input-method, language-info-custom-alist): Use it.
15935
428fe61a
SM
159362011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15937
32c1fffd
SM
15938 * pcomplete.el: Require comint.
15939 (pcomplete--common-suffix): Remove.
15940 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15941 (pcomplete--table-subvert): Sync with comint--table-subvert.
15942 (pcomplete--entries): Use comint-completion-file-name-table.
15943 * comint.el (comint-unquote-filename): Simplify.
15944 (comint-completion-file-name-table): New function (bug#9616).
15945 (comint--complete-file-name-data): Use it.
15946
428fe61a
SM
15947 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15948 (pcmpl-gnu-tar-buffer): Remove.
15949 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15950 around. Make sure pcomplete-suffix-list is only changed temporarily.
15951 Don't look inside the tar's file if it's too large.
428fe61a 15952
04c52e2f
CY
159532011-10-01 Chong Yidong <cyd@stupidchicken.com>
15954
ce3cefcc
CY
15955 * cus-edit.el (custom-mode-map):
15956 * epa.el (epa-key-list-mode-map):
15957 * man.el (Man-mode-map):
15958 * startup.el (splash-screen-keymap):
15959 * simple.el (special-mode-map): Use scroll-up-command and
15960 scroll-down-command.
15961
15962 * progmodes/idlw-help.el (idlwave-help-mode-map):
15963 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15964 * net/newst-plainview.el (newsticker-mode-map):
15965 * emulation/ws-mode.el (wordstar-mode-map):
15966 * emulation/vi.el (vi-com-map):
15967 * calc/calc-graph.el (calc-graph-show-dumb):
15968 * term/sun.el (terminal-init-sun):
15969 * term/ns-win.el (global-map):
15970 * progmodes/grep.el (grep-mode-map):
15971 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15972 * mail/rmail.el (rmail-mode-map):
15973 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15974
04c52e2f
CY
15975 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15976 custom-safe-themes as special.
15977
79adf8c8
JD
159782011-10-01 Julien Danjou <julien@danjou.info>
15979
15980 * notifications.el (notifications-notify): Fix docstring.
15981
63bd50d3
PS
159822011-10-01 Per Starbäck <per@starback.se>
15983
15984 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15985
199e4c7e
MR
159862011-09-30 Martin Rudalics <rudalics@gmx.at>
15987
15988 * startup.el (command-line-1): Fix last fix by inserting
15989 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15990 (Bug#9605) and (Bug#9636)
199e4c7e 15991
fe5f08dd
EZ
159922011-09-29 Eli Zaretskii <eliz@gnu.org>
15993
15994 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15995 window is hscrolled, move by logical lines. (Bug#9607)
15996 (line-move-visual): Update the doc string to the above effect.
15997
b5516bbd
MR
159982011-09-29 Martin Rudalics <rudalics@gmx.at>
15999
ccee00c0
MR
16000 * window.el (display-buffer-record-window): When WINDOW is the
16001 selected window use `point' instead of `window-point'. (Bug#9626)
16002
b5516bbd
MR
16003 * startup.el (command-line-1): Use insert-before-markers when
16004 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16005
b5516bbd
MR
16006 * help.el (help-window): Remove variable.
16007
52aa0014
GM
160082011-09-29 Glenn Morris <rgm@gnu.org>
16009
16010 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16011
df9a7357
JB
160122011-09-29 Juanma Barranquero <lekktu@gmail.com>
16013
16014 * descr-text.el (describe-char-categories): Accept category
16015 descriptions more than one line long.
16016
a8406c20
SM
160172011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16018
88d9610c
SM
16019 * simple.el (delete-trailing-whitespace): Fix last change.
16020
a5daf810
SM
16021 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16022 Don't confuse "y => 3" as the beginning of a `y' operation.
16023
a8406c20
SM
16024 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16025 object has more than 4 slots (bug#9613).
16026
a239d4e9
JB
160272011-09-28 Juanma Barranquero <lekktu@gmail.com>
16028
16029 * subr.el (with-output-to-temp-buffer):
16030 * net/quickurl.el (quickurl, quickurl-browse-url):
16031 Fix typos in docstrings.
16032
693fbdb6
EZ
160332011-09-27 Eli Zaretskii <eliz@gnu.org>
16034
16035 * minibuffer.el (completion-styles)
16036 (completion-category-overrides): Cross reference each other in doc
16037 strings.
16038
8b457e28
GM
160392011-09-27 Glenn Morris <rgm@gnu.org>
16040
16041 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16042 to split-string. (Bug#9606)
16043
85a16208
LMI
160442011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16045
16046 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16047 (bug#9615).
16048
502f9ebd
CY
160492011-09-27 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * emacs-lisp/package.el (list-packages): Fix echo area message.
16052
7690bdea
LL
160532011-09-27 Leo Liu <sdl.web@gmail.com>
16054
16055 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16056
e2ee6f30
MA
160572011-09-25 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/dbus.el (dbus-unregister-object): Don't release services for
16060 registered signals. (Bug#9581)
16061
f3f98342
TZ
160622011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16063
16064 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16065 function that picks between cfengine 2 and 3 support
16066 automatically. Update docs accordingly.
16067
dd7aa8dd
KH
160682011-09-22 Kenichi Handa <handa@m17n.org>
16069
16070 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16071 ZERO.
16072 (indian-itrans-v5-table-for-tamil): New variable.
16073 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16074
3f2b07f8
KM
160752011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16076
16077 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16078 that's true if the current command involved collapsing of text.
16079 It's reset to false at the beginning of the next command.
16080 (allout-post-command-business): Move the cursor to the beginning
16081 of entry if the cursor is hidden and collapsing activity just
16082 happened.
16083
371d6a61
CY
160842011-09-24 Chong Yidong <cyd@stupidchicken.com>
16085
16086 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16087 tracking (Bug#9541).
16088
2ac2721a
UJ
160892011-09-24 Ulf Jasper <ulf.jasper@web.de>
16090
16091 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16092 (newsticker-show-news): Automatically load html rendering package
16093 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16094 because w3m-fill-column is let-bound" and the error "Symbol's value
16095 as variable is void: w3m-fill-column".
2ac2721a 16096
fac7ae53
MA
160972011-09-24 Michael Albinus <michael.albinus@gmx.de>
16098
16099 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16100 Release services only if they are defined. (Bug#9581)
16101
e08b633b
RS
161022011-09-23 Richard Stallman <rms@gnu.org>
16103
e488d29c
RS
16104 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16105 distinguish start of paragraph from start of its text.
16106
19c38752
RS
16107 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16108
e08b633b
RS
16109 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16110 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16111 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16112
0a39f27e
AS
161132011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16114
16115 * international/mule-diag.el (mule-diag): Insert a newline after
16116 each fontset description.
16117
db4e950d
SM
161182011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * simple.el (delete-trailing-whitespace):
16121 Document last change; simplify.
16122
eca3f3ea
PW
161232011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16124
d68e189a
PW
16125 * simple.el (delete-trailing-whitespace): Also delete
16126 extra newlines at the end of the buffer.
16127
eca3f3ea
PW
16128 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16129 (picture-newline): Use forward-line so as to ignore fields.
16130
01c157cc
SM
161312011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * subr.el (with-wrapper-hook): Fix edebug spec.
16134
022de23e
LMI
161352011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16136
16137 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16138 (bug#4538).
16139
91683089
MA
161402011-09-23 Michael Albinus <michael.albinus@gmx.de>
16141
eca3f3ea
PW
16142 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16143 Fix nasty bug using wrong cached values.
91683089 16144
5bdd6fa4
AM
161452011-09-23 Alan Mackenzie <acm@muc.de>
16146
16147 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16148
97adfb97
CY
161492011-09-23 Chong Yidong <cyd@stupidchicken.com>
16150
16151 * window.el (pop-to-buffer): Ensure right window is selected if we
16152 chose another frame.
16153
d4ef2b50
EZ
161542011-09-22 Eli Zaretskii <eliz@gnu.org>
16155
16156 * simple.el (what-cursor-position): Use get-char-property-change
16157 and next-single-char-property-change, to be able to show display
16158 properties that come from overlays as well as text properties.
16159
72258fe5
CY
161602011-09-22 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16163
16164 * cmuscheme.el (run-scheme, switch-to-scheme):
16165 * cus-edit.el (customize-group, custom-buffer-create)
16166 (customize-browse):
16167 * info.el (info):
16168 * shell.el (shell):
16169 * mail/sendmail.el (mail):
16170 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16171
8f098516
RS
161722011-09-22 Richard Stallman <rms@gnu.org>
16173
16174 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16175 move back only to line beg, don't move back over blank lines.
16176
e74f1bb6
MA
161772011-09-22 Michael Albinus <michael.albinus@gmx.de>
16178
16179 * files.el (copy-directory): Set directory attributes only in case
16180 they could be retrieved from the source directory. (Bug#9565)
16181
bfeef8b6
DK
161822011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16183
16184 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16185 (hs-find-block-beginning, hs-hide-level-recursive):
16186 Ignore strings as well as comments. (Bug#9502)
16187
7e423bb8
AS
161882011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16189
16190 * progmodes/sql.el (sql-comint-postgres):
16191 Convert port number to a string. (Bug#9566)
16192
b4d72fcf
MR
161932011-09-22 Martin Rudalics <rudalics@gmx.at>
16194
16195 * window.el (quit-window): Undedicate window when switching to
16196 previous buffer. Reported by Thierry Volpiatto
16197 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16198 (special-display-popup-frame): When popping up a new frame reset
16199 its previous buffers to nil. Simplify code.
b4d72fcf 16200
a7b88dc6
MA
162012011-09-21 Michael Albinus <michael.albinus@gmx.de>
16202
16203 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16204 and process filter, as done also in `shell-command'.
16205
cf4eacfd
MR
162062011-09-21 Martin Rudalics <rudalics@gmx.at>
16207
eca3f3ea 16208 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16209 Call set-window-start with NOFORCE argument t.
16210 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16211 (quit-window): Reword doc-string. Handle new format of
16212 quit-restore parameter. Don't delete window if it has a
16213 previous buffer we can show instead of the present one.
16214 (display-buffer-record-window): Rewrite using a new format for
16215 the quit-restore window parameter
16216 (special-display-popup-frame, display-buffer-same-window)
16217 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16218 (display-buffer-pop-up-window, display-buffer-use-some-window):
16219 Adapt symbol passed to display-buffer-record-window.
16220 * help.el (help-window-setup): Handle new format of quit-restore
16221 parameter.
16222
8d28cb95
SM
162232011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16224
94ab793f
SM
16225 * faces.el (face-list): Fix docstring (bug#9564).
16226
8d28cb95
SM
16227 * window.el (display-buffer--action-function-custom-type):
16228 Don't include internal functions in the Custom interface.
16229
3820edeb
JL
162302011-09-20 Juri Linkov <juri@jurta.org>
16231
16232 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16233 (Info-forward-node, Info-backward-node, Info-next-preorder)
16234 (Info-last-preorder): Use it. (Bug#9528)
16235
5147931d
JL
162362011-09-20 Juri Linkov <juri@jurta.org>
16237
16238 * info.el (Info-last-preorder): Visit last menu item only when
16239 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16240
cf499a1a
JD
162412011-09-20 Julien Danjou <julien@danjou.info>
16242
16243 * password-cache.el (password-cache-remove): Remove entries even if the
16244 value is nil, so that password with a nil value (negative caching) is
16245 possible to invalidate.
16246
f84e2fe2
LM
162472011-09-20 Lawrence Mitchell <wence@gmx.li>
16248
16249 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16250 all whitespace around breakpoint. (Bug#9553)
16251 (f90-find-breakpoint): Only break at whitespace inside a comment.
16252
78054a46
SM
162532011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16254
16255 * minibuffer.el (completion-file-name-table): Keep track of errors.
16256 (completion-table-with-predicate): Handle the case where pred1 is nil.
16257 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16258
345083b2
SM
162592011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16260
e24e27be
SM
16261 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16262 (debugger-return-value): Signal an error if the debugging context does
16263 not await any return value.
16264
345083b2
SM
16265 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16266 * image-mode.el (image-toggle-display-text)
16267 (image-toggle-display-image): Stay away from evil `intangible'.
16268
08d355e3
LL
162692011-09-19 Leo Liu <sdl.web@gmail.com>
16270
16271 * replace.el (occur-revert-arguments): Make it permanent-local.
16272 (occur-mode): Don't call font-lock-defontify.
16273
f01da43f
CY
162742011-09-19 Chong Yidong <cyd@stupidchicken.com>
16275
16276 * net/ldap.el (ldap-search-internal): Don't push empty search
16277 result (Bug#9508).
16278
b6072fa6
SM
162792011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16280
16281 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16282
443d6696
MA
162832011-09-19 Michael Albinus <michael.albinus@gmx.de>
16284
16285 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16286 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16287
7cc6e154
JL
162882011-09-18 Juri Linkov <juri@jurta.org>
16289
16290 * buff-menu.el (Buffer-menu-mode-map):
16291 * dired.el (dired-mode-map):
16292 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16293 (lisp-interaction-mode-map):
16294 * emacs-lisp/package.el (package-menu-mode-map):
16295 * epa.el (epa-key-list-mode-map):
16296 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16297 (menu-bar-options-menu):
16298 * outline.el (outline-mode-menu-bar-map):
16299 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16300 * vc/vc-dir.el (vc-dir-menu-map):
16301 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16302 Capitalize non-function content words in menu item strings.
16303
16304 * dired.el (dired-mode-map): Add menu item for
16305 `image-dired-dired-toggle-marked-thumbs'.
16306
80302a81
JL
163072011-09-18 Juri Linkov <juri@jurta.org>
16308
16309 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16310 to `isearch-case-fold-search' and restore its original value
16311 after the `isearch-mode' call.
16312
46c5cf66
JL
163132011-09-18 Juri Linkov <juri@jurta.org>
16314
16315 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16316 because `zgrep' returns 1 for successful matches (bug#9226).
16317
d18b513b
JL
163182011-09-18 Juri Linkov <juri@jurta.org>
16319
16320 * info.el (Info-extract-menu-node-name): Check the second match
16321 for empty string (second test-case of bug#9528).
16322 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16323 intermediate nodes to the history (first test-case of bug#9528).
16324
72753f87
JL
163252011-09-18 Juri Linkov <juri@jurta.org>
16326
16327 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16328 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16329
c9384295
JL
163302011-09-18 Juri Linkov <juri@jurta.org>
16331
1154d12e
JB
16332 * info.el (Info-file-supports-index-cookies):
16333 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16334 outputs one more line for long file names (bug#4142).
c9384295 16335
d473dce8
CY
163362011-09-18 Chong Yidong <cyd@stupidchicken.com>
16337
16338 * newcomment.el (comment-normalize-vars): If prompting for
16339 comment-start, set comment-start-skip too (Bug#8424).
16340
2176854d
JB
163412011-09-18 Johan Bockgård <bojohan@gnu.org>
16342
16343 * icomplete.el: Fix previous fix of Bug#5849.
16344 (icomplete-mode): Don't set completion-show-inline-help.
16345 (icomplete-minibuffer-setup): Set completion-show-inline-help
16346 locally during icompletion.
16347
3aace4e4
CY
163482011-09-18 Chong Yidong <cyd@stupidchicken.com>
16349
c940224f
CY
16350 * woman.el (woman2-process-escapes): Don't delete unrecognized
16351 escapes (Bug#7843).
16352
3aace4e4
CY
16353 * files.el (inhibit-first-line-modes-regexps): Add image files.
16354 (hack-local-variables-prop-line): Return nil for malformed
16355 prop-lines (Bug#9044).
16356
710dec63
MA
163572011-09-18 Michael Albinus <michael.albinus@gmx.de>
16358
16359 * net/tramp.el (top): Don't require 'shell.
16360 (tramp-methods): Fix docstring.
16361 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16362 Return complete remote file name. Handle "smb" case.
16363 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16364 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16365
16366 * net/tramp-compat.el (top): Require 'shell.
16367
16368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16369 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16370 `tramp-current-host'.
16371 (tramp-get-remote-tmpdir): Remove.
16372
16373 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16374 `tramp-tmpdir' entries.
16375 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16376 (tramp-smb-handle-file-attributes): Ignore errors.
16377 (tramp-smb-wait-for-output): Check also for process end.
16378
5d5ac8ec
LMI
163792011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16380
16381 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16382 when sending QUIT (bug#9312).
16383
8c0f49f0
CY
163842011-09-17 Chong Yidong <cyd@stupidchicken.com>
16385
16386 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16387 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16388 occur-mode-display-occurrence.
16389 (occur-edit-mode): Add usage message.
16390 (occur-cease-edit): New command.
16391 (occur-after-change-function): Use text properties to find the
16392 position of the prefix text.
16393 (occur-engine): Set stickiness of prefix text properties.
16394
8f1383f7
GM
163952011-09-17 Glenn Morris <rgm@gnu.org>
16396
16397 * progmodes/etags.el (complete-tag):
16398 Fix call to completion-in-region. (Bug#9526)
16399
744ba0e3
JL
164002011-09-17 Juri Linkov <juri@jurta.org>
16401
16402 * textmodes/ispell.el (ispell-word): Add to the error message
16403 the word, ispell program name and current dictionary (bug#9121).
16404 (ispell-tex-arg-end): Capitalize "error" in the error message.
16405
d9bbf400
AS
164062011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16407
16408 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16409 check. (Bug#4251)
16410
8da11505
JL
164112011-09-17 Juri Linkov <juri@jurta.org>
16412
16413 * window.el (window-safe-min-height, window-safe-min-width):
16414 Fix typos (followup to bug#9522).
16415
a91adc7e
SJ
164162011-09-17 Sven Joachim <svenjoac@gmx.de>
16417
16418 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16419
064f328a
EZ
164202011-09-16 Eli Zaretskii <eliz@gnu.org>
16421
16422 * simple.el (line-move): If goal-column is set, move by logical
16423 lines, not by display lines. (Bug#971)
16424 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16425 to reflect the above change.
16426
e69df516
SM
164272011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16428
16429 * image.el (imagemagick-register-types): Use regexp-opt.
16430
cbb0f9ab
CY
164312011-09-15 Chong Yidong <cyd@stupidchicken.com>
16432
16433 * window.el (display-buffer-base-action): Rename from
16434 display-buffer-default-action. Make default value empty.
16435 (display-buffer-overriding-action): Convert to defvar.
16436 (display-buffer-fallback-action): New var.
16437
25322144
CY
164382011-09-15 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16441 declaration.
16442 (package--add-to-archive-contents): If there is a duplicate entry
16443 with an older version, remove it.
16444 (package-menu-mark-delete, package-menu-mark-install)
16445 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16446 (package-menu-mark-obsolete-for-deletion):
16447 Use package-menu-get-status instead of a regexp search.
25322144
CY
16448 (package-menu-get-status): Use tabulated-list-entry.
16449 (package-menu-mark-upgrades): New command.
d770725a 16450 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16451 (package-menu-execute): Do installation before deletion.
16452 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16453 instead of checking major-mode.
16454 (package-menu--find-upgrades): New function.
16455
7520339c
LMI
164562011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457
16458 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16459 passwords in the log buffer.
65a046c4
LMI
16460 (smtpmail-process-filter): Update the process marker so that the
16461 "broken by peer" status message is inserted in the right place.
7520339c 16462
d3c30954
SM
164632011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16464
3fe48822
SM
16465 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16466 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16467 bibtex-completion-at-point-function.
16468 (bibtex-completion-at-point-function): Use them.
16469
1b8b3954
SM
16470 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16471
d3c30954
SM
16472 * mpc.el (mpc-constraints-tag-lookup): New function.
16473 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16474 also to browser "album|playlist".
16475
72779976
JL
164762011-09-14 Juri Linkov <juri@jurta.org>
16477
16478 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16479 (isearch-edit-string): Use length of `isearch-string' when
16480 `isearch-fail-pos' returns nil.
16481 (isearch-message): Remove duplicate code and call
16482 `isearch-fail-pos' with arg `t'.
16483
a0bf2bcd
CY
164842011-09-14 Chong Yidong <cyd@stupidchicken.com>
16485
17bb0a2d
CY
16486 * replace.el (occur-mode-goto-occurrence): Don't force using other
16487 window (Bug#9499).
16488
a0bf2bcd
CY
16489 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16490
f678e0b6
MR
164912011-09-14 Martin Rudalics <rudalics@gmx.at>
16492
16493 * window.el (display-buffer-window): Remove.
16494 (display-buffer-record-window): Use help-setup window parameter
16495 instead of variable display-buffer-window.
16496 (display-buffer-function, special-display-buffer-names)
16497 (special-display-function): Mention help-setup parameter instead
16498 of display-buffer-window in doc-string.
d3c30954
SM
16499 * help.el (help-window-setup): New argument help-window.
16500 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16501 Reword some messages.
16502 (with-help-window): Pass window used for displaying the buffer
16503 to help-window-setup. Don't set display-buffer-window.
16504
8e39b2e8
GM
165052011-09-13 Glenn Morris <rgm@gnu.org>
16506
16507 * emacs-lisp/debug.el (debugger-make-xrefs):
16508 Preserve point. (Bug#9462)
16509
85e9c04b
CY
165102011-09-13 Chong Yidong <cyd@stupidchicken.com>
16511
16512 * window.el (window-deletable-p): Use next-frame.
16513
1b36ed6a
MR
165142011-09-13 Martin Rudalics <rudalics@gmx.at>
16515
16516 * window.el (window-auto-delete): Remove.
16517 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16518 dedication and previous buffers.
1b36ed6a
MR
16519 (switch-to-prev-buffer): Don't delete window.
16520 (delete-windows-on): Delete a window's frame if and only if the
16521 window is dedicated.
16522 (replace-buffer-in-windows): Delete buffer's window or frame if
16523 and only if window is dedicated.
16524 (quit-window): Handle quit-restore as before last change.
4d61f28d 16525 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16526
ef8ef9fb
CY
165272011-09-13 Chong Yidong <cyd@stupidchicken.com>
16528
16529 * window.el (window-deletable-p): Never delete the last frame on a
16530 given terminal.
16531
b2cba41e
GM
165322011-09-13 Glenn Morris <rgm@gnu.org>
16533
16534 * help.el (describe-key-briefly): Copy previous standard-output change.
16535
51553db6 165362011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16537
16538 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16539
b7556719
GM
165402011-09-13 Glenn Morris <rgm@gnu.org>
16541
16542 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16543 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16544
64b51947
CY
165452011-09-12 Chong Yidong <cyd@stupidchicken.com>
16546
16547 * dired-aux.el (dired-mark-read-string): Don't return default
16548 value on empty input (Bug#9361).
16549 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16550 Omit initial minibuffer contents.
16551 (dired-do-chmod): Signal an error on empty input.
16552 (dired-mark-read-string): Don't return default on empty input.
16553
16554 * files.el (file-modes-symbolic-to-number): Doc fix.
16555
393a301e
SM
165562011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * international/mule-cmds.el (ucs-completions): Remove.
16559 (read-char-by-name): Use complete-with-action instead; add metadata.
16560
fa5660f9
CY
165612011-09-11 Chong Yidong <cyd@stupidchicken.com>
16562
16563 * window.el (display-buffer--action-function-custom-type)
16564 (display-buffer--action-custom-type): New vars.
16565 (display-buffer-alist, display-buffer-default-action)
16566 (display-buffer-overriding-action): Add defcustom types.
16567
4a592f66
CY
16568 * frame.el (delete-other-frames): Doc fix (Bug#276).
16569
73d56dbd
LMI
165702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16571
16572 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16573
37ac18a3
CY
165742011-09-11 Chong Yidong <cyd@stupidchicken.com>
16575
16576 Change modes that used same-window-* vars to use switch-to-buffer.
16577
16578 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16579 Use switch-to-buffer.
16580
16581 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16582 (customize-browse, custom-buffer-create-other-window):
16583 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16584
16585 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16586 (Info-prev, Info-up, Info-speedbar-goto-node)
16587 (info-display-manual): Use switch-to-buffer.
16588 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16589
16590 * mail/sendmail.el (mail): Use switch-to-buffer.
16591 (mail-recover): Use switch-to-buffer-other-window.
16592
16593 * cmuscheme.el (run-scheme, switch-to-scheme):
16594 * ielm.el (ielm):
16595 * shell.el (shell):
16596 * net/rlogin.el (rlogin):
16597 * net/telnet.el (telnet, rsh):
16598 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16599
10195bd6
AS
166002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16601
16602 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16603
b322f63a
LMI
166042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16605
39d7fed6
LMI
16606 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16607 so don't mention it (bug#9301).
ba5a81f1 16608 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16609
ee0e9f11
LMI
16610 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16611 match `x', `w32' and `ns', like the manual says (bug#9029).
16612
0b1c89c1 16613 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16614 (process-kill-buffer-query-function): Mention the buffer name in
16615 the query.
0b1c89c1 16616
77549ea8
LMI
16617 * image-mode.el (image-next-line): The line parameter is mandatory
16618 (bug#9258).
16619
803ef892
LMI
16620 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16621 which can be useful (bug#9301).
16622
12980837
LMI
16623 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16624
91054f8f
LMI
16625 * subr.el (match-string): Mention that the current buffer should
16626 be the same as the search was done in (bug#9282).
16627
b322f63a
LMI
16628 * facemenu.el: Disable the remove-* commands if the mark isn't
16629 active (bug#9162).
16630
3199b96f
CY
166312011-09-10 Chong Yidong <cyd@stupidchicken.com>
16632
16633 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16634 of display-buffer.
16635 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16636
16637 * replace.el (occur-mode-goto-occurrence)
16638 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16639 and display-buffer.
16640
16641 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16642 display-buffer.
16643
16644 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16645 special-display and same-window variables.
16646 (mail-other-window): Use switch-to-buffer-other-window.
16647 (mail-other-frame): USe switch-to-buffer-other-frame.
16648
393a301e
SM
16649 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16650 Use display-buffer-other-frame.
3199b96f
CY
16651 (gdb-display-gdb-buffer): Use pop-to-buffer.
16652
16653 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16654
16655 * progmodes/python.el: Don't set same-window-buffer-names.
16656
16657 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16658
16659 * window.el (display-buffer-alist): Add *Python*.
16660
8319e0bf
CY
166612011-09-10 Chong Yidong <cyd@stupidchicken.com>
16662
16663 * window.el (display-buffer-alist): Add entry for buffers
16664 previously handled same-window-*.
16665 (display-buffer-alist, display-buffer-default-action)
16666 (display-buffer-overriding-action): Mark as risky.
16667 (display-buffer-alist): Document action function changes.
16668 (display-buffer--same-window-action)
16669 (display-buffer--other-frame-action): New variables.
16670 (switch-to-buffer, display-buffer-other-frame): Use them.
16671 (display-buffer): Rename reuse-frame entry to reusable-frames.
16672 (display-buffer-reuse-selected-window): Function deleted.
16673 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16674 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16675 (display-buffer-special): New function.
16676 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16677 display-buffer-reuse-or-pop-window. Split off special-display
16678 part into display-buffer-special.
16679 (display-buffer-use-some-window): Don't perform any special
16680 pop-up-frames handling.
16681 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16682 (display-buffer--maybe-same-window): Rename from
0d3ff375 16683 display-buffer-maybe-same-window.
8319e0bf 16684
919a69aa
CY
16685 * info.el: Don't set same-window-regexps.
16686 (info-setup): New function.
16687 (info-other-window, info): Call it.
16688
16689 * cus-edit.el: Don't set same-window-regexps.
16690 (customize-group): New argument.
16691 (customize-group-other-window): Use it.
16692 (customize-face, customize-face-other-window): Likewise.
16693 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16694
8319e0bf
CY
16695 * net/rlogin.el:
16696 * net/telnet.el:
16697 * progmodes/gud.el: Don't set same-window-regexps.
16698
16699 * cmuscheme.el:
16700 * ielm.el:
16701 * shell.el:
16702 * mail/sendmail.el:
16703 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16704
25173000
JL
167052011-09-10 Juri Linkov <juri@jurta.org>
16706
16707 * isearch.el (isearch-edit-string): Remove obsolete mention of
16708 `C-w' (`isearch-yank-word-or-char') from docstring.
16709 (isearch-query-replace): Fix typo in docstring (bug#9466).
16710
056e44ef
JL
167112011-09-10 Juri Linkov <juri@jurta.org>
16712
16713 * paren.el (show-paren-function): Don't show escaped parens.
16714 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16715
c3760c17
EZ
167162011-09-10 Eli Zaretskii <eliz@gnu.org>
16717
16718 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16719 (mm-default-file-encoding): Remove autoload forms, they are
16720 replaced with autoload cookies in mml.el and mm-encode.el.
16721 (mail-add-attachment): New command.
16722 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16723 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16724 the doc string.
16725 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16726
fece895e
RT
167272011-09-10 Reuben Thomas <rrt@sc3d.org>
16728
e69df516
SM
16729 * simple.el (count-words-region): Use buffer if there's no region
16730 (bug#9429).
fece895e 16731
5e68ce4a
JL
167322011-09-09 Juri Linkov <juri@jurta.org>
16733
16734 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16735 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16736 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16737
0a6b9622
AM
167382011-09-09 Alan Mackenzie <acm@muc.de>
16739
16740 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16741 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16742
14a29deb
EZ
167432011-09-09 Eli Zaretskii <eliz@gnu.org>
16744
16745 Fix for Savannah bug#9392.
16746 * simple.el (mail-encode-mml): New defvar.
16747
16748 * mail/rmail.el (mail-encode-mml): Add a defvar.
16749 (rmail-enable-mime-composing): Default to t.
16750 (rmail-forward): Use MIME method of forwarding only if both
16751 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16752 Set mail-encode-mml non-nil if the MIME method was used.
16753
16754 * mail/sendmail.el (mml-to-mime): Add autoload form.
16755 (mail-encode-mml): Add a defvar.
16756 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16757 to nil.
16758 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16759 message through mml-to-mime, and reset mail-encode-mml to nil.
16760
28c45130
GM
167612011-09-09 Glenn Morris <rgm@gnu.org>
16762
16763 * woman.el (woman-if-body): When processing an .el block,
16764 do not delete the next .el block as well. (Bug#9447)
69f4b618 16765 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16766
9b1c252e
MR
167672011-09-08 Martin Rudalics <rudalics@gmx.at>
16768
16769 * window.el (window-deletable-p): Make sure window is live before
16770 invoking window-prev-buffers.
16771
567457e3
LL
167722011-09-08 Leo Liu <sdl.web@gmail.com>
16773
16774 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16775
97f05794
JL
167762011-09-08 Juri Linkov <juri@jurta.org>
16777
16778 * progmodes/compile.el (compilation-environment): Make it
16779 a defcustom (bug#8340).
16780
8b0874b5
MR
167812011-09-08 Martin Rudalics <rudalics@gmx.at>
16782
16783 * window.el (frame-auto-delete): Rename to window-auto-delete.
16784 Make it control auto-deletion of windows and/or frames.
16785 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16786 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16787 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16788 Rewrite handling of case when window/frame can be deleted.
16789 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16790 argument t. (Bug#9456)
8b0874b5 16791
4feb6e73
CY
167922011-09-07 Chong Yidong <cyd@stupidchicken.com>
16793
16794 * help-mode.el (help-mode): Restore autoload.
16795
91ab9c13
JL
167962011-09-07 Juri Linkov <juri@jurta.org>
16797
16798 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16799 `compilation-environment'. Set buffer-local
16800 `compilation-environment' to `thisenv' later after (funcall mode).
16801 (Bug#8340)
16802
16803 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16804 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16805 instead of replacing its value. (Bug#8340)
16806
0527e251
JL
168072011-09-07 Juri Linkov <juri@jurta.org>
16808
16809 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16810 based on text properties put by `grep-filter' instead of matching
16811 escape sequences.
16812 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16813 to the value of `grep-error-screen-columns' (bug#9438).
16814
249f792c
JL
168152011-09-07 Juri Linkov <juri@jurta.org>
16816
16817 * simple.el (next-error-highlight, next-error-highlight-no-select):
16818 Doc fix (bug#9432).
16819
ff7271b9
OT
168202011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16821
16822 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16823 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16824
183fc730
LL
168252011-09-07 Leo Liu <sdl.web@gmail.com>
16826
16827 * net/rcirc.el (rcirc-mode): Conditionally initialize
16828 rcirc-input-ring.
16829
77694924
SM
168302011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16831
16832 * emacs-lisp/find-func.el (find-function-C-source): Only set
16833 find-function-C-source-directory after checking that we found a source
16834 file there (bug#9440).
16835
d809b8eb
AM
168362011-09-06 Alan Mackenzie <acm@muc.de>
16837
16838 * isearch.el (isearch-other-meta-char): Wherever a key list is
16839 unread, "unread" the prefix arg, too. This fixes bug #8901.
16840
453de99f
OG
168412011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16842
16843 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16844
90439906
JL
168452011-09-05 Juri Linkov <juri@jurta.org>
16846
16847 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16848
f62bd846
JL
168492011-09-05 Juri Linkov <juri@jurta.org>
16850
16851 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16852 keeping point where processing of grep matches begins, and
16853 continue to delete remaining escape sequences from the same point.
16854 (grep-filter): Make leading zero optional in "0?1;31m" because
16855 git-grep emits "\033[1;31m" escape sequences unlike expected
16856 "\033[01;31m" as GNU Grep does (bug#9408).
16857 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16858
045820ec
JL
168592011-09-05 Juri Linkov <juri@jurta.org>
16860
16861 * subr.el (y-or-n-p): Capitalize "yes".
16862
f5e29b9b
MA
168632011-09-04 Michael Albinus <michael.albinus@gmx.de>
16864
16865 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16866 `tramp-cache-unload-hook' where appropriate.
16867 (tramp-methods): Rename `tramp-remote-sh' to
16868 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16869 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16870
16871 * net/tramp-sh.el (top): Don't require 'shell.
16872 (tramp-methods): Add `tramp-remote-shell' and
16873 `tramp-remote-shell-args' entries.
16874 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16875 (tramp-sh-handle-shell-command): Remove.
16876 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16877 Use `tramp-remote-shell'.
16878
2784c434
CY
168792011-09-03 Chong Yidong <cyd@stupidchicken.com>
16880
393a301e 16881 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16882 (sendmail-query-once): Save directly to send-mail-function.
16883 Update message-send-mail-function too.
16884
16885 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16886
464cdf56
CS
168872011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16888
16889 * progmodes/python.el (python-mode-map): Use correct function to
16890 start python interpreter from menu-bar (as reported by Geert
16891 Kloosterman).
16892 (inferior-python-mode-map): Fix typo.
393a301e 16893 (python-shell-map): Remove.
464cdf56 16894
d37e5c87
DD
168952011-09-03 Deniz Dogan <deniz@dogan.se>
16896
16897 * net/rcirc.el (rcirc-print): Simplify code for
16898 rcirc-scroll-show-maximum-output. There is no need to walk
16899 through all windows to find the right one.
16900
f3ada0ee
CS
169012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16902
16903 * help.el (help-return-method): Doc fix.
16904
1f3c99ca
MR
169052011-09-03 Martin Rudalics <rudalics@gmx.at>
16906
16907 * window.el (window-deletable-p): Don't return a non-nil value
16908 when there's a buffer that was shown in the window before.
16909 (Bug#9419)
393a301e
SM
16910 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16911 Set window's previous buffers to nil.
1f3c99ca 16912
a3cf097f
EZ
169132011-09-03 Eli Zaretskii <eliz@gnu.org>
16914
16915 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16916 newline before and after the tag line, so it doesn't interfere
16917 with determining the paragraph direction of bidirectional text.
16918
3d03de90
LL
169192011-09-03 Leo Liu <sdl.web@gmail.com>
16920
16921 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16922
c3313451
CY
169232011-09-02 Chong Yidong <cyd@stupidchicken.com>
16924
393a301e 16925 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16926 (pop-to-buffer): Change interactive spec. Pass second argument
16927 directly to display-buffer.
16928 (display-buffer): Fix interactive spec. Use functionp to
16929 distinguish between a function and a list of functions.
16930
16931 * abbrev.el (edit-abbrevs):
16932 * arc-mode.el (archive-extract):
16933 * autoinsert.el (auto-insert):
16934 * bookmark.el (bookmark-bmenu-list):
16935 * files.el (find-file):
16936 * view.el (view-buffer):
16937 * progmodes/compile.el (compilation-goto-locus):
16938 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16939
89894cd8
CY
169402011-09-02 Chong Yidong <cyd@stupidchicken.com>
16941
16942 * window.el (display-buffer-alist): Doc fix.
16943 (display-buffer): Add docstring. Don't treat
16944 display-buffer-default specially.
16945 (display-buffer-reuse-selected-window)
16946 (display-buffer-same-window, display-buffer-maybe-same-window)
16947 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16948 (display-buffer-pop-up-window)
16949 (display-buffer-reuse-or-pop-window)
16950 (display-buffer-use-some-window): New functions.
16951 (display-buffer-default-action): Use them.
393a301e 16952 (display-buffer-default): Delete.
89894cd8
CY
16953 (pop-to-buffer-1): Fix choice of actions.
16954
ae0bc9fb
SM
169552011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16956
16957 * minibuffer.el (completion--insert-strings): Don't get confused by
16958 completion entries that end with an LF char.
16959
e9d90883
EZ
169602011-09-01 Eli Zaretskii <eliz@gnu.org>
16961
16962 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16963
437014c8
CY
169642011-09-01 Chong Yidong <cyd@stupidchicken.com>
16965
16966 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16967 (display-buffer-same-window, display-buffer-other-window):
16968 New functions.
437014c8
CY
16969 (pop-to-buffer-1): New function. Use the above.
16970 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16971 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16972
16973 * view.el (view-buffer-other-window, view-buffer-other-frame):
16974 Just use pop-to-buffer.
16975
a5e063d5
TV
169762011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16977
16978 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16979
793d32bb
WH
169802011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16981
16982 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16983
d65e4c15
RS
169842011-08-31 Richard Stallman <rms@gnu.org>
16985
16986 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16987 of the separation of rmail-view-buffer from rmail-buffer.
16988 If you say no to "replace original", the decrypt is in the
16989 view buffer. If you say yes, the decrypt goes into the
16990 rmail buffer also.
16991
f818cd2a
MR
169922011-08-31 Martin Rudalics <rudalics@gmx.at>
16993
16994 * window.el (display-buffer-window): Rewrite doc-string.
16995 (display-buffer-record-window): New function.
16996 (display-buffer-macro-specifiers)
16997 (display-buffer-even-window-sizes, display-buffer-set-height)
16998 (display-buffer-set-width, display-buffer-in-window)
16999 (display-buffer-reuse-window, display-buffer-split-specifiers)
17000 (display-buffer-side-specifiers, display-buffer-split-window-1)
17001 (display-buffer-split-window, display-buffer-split-atom-window)
17002 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17003 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17004 (display-buffer-other-window-means-other-frame)
17005 (display-buffer-normalize-special)
17006 (display-buffer-normalize-default)
17007 (display-buffer-normalize-argument)
17008 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17009 (display-buffer-normalize-specifiers, display-buffer-frame)
17010 (display-buffer-same-window, display-buffer-same-frame)
17011 (display-buffer-other-window)
17012 (display-buffer-same-frame-other-window)
17013 (display-buffer-other-frame, pop-to-buffer-same-window)
17014 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17015 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17016 (switch-to-buffer-same-frame)
17017 (switch-to-buffer-other-window-same-frame)
17018 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17019 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17020 (display-buffer-alist-set): Remove.
17021 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17022 (special-display-regexps, special-display-function):
17023 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17024 parameter.
17025 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17026 (special-display-frame-alist, special-display-popup-frame)
17027 (same-window-buffer-names, same-window-regexps, same-window-p)
17028 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17029 (split-window-preferred-function, split-height-threshold)
17030 (split-width-threshold, window-splittable-p)
17031 (split-window-sensibly, window--try-to-split-window)
17032 (window--frame-usable-p, even-window-heights)
17033 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17034 (window--display-buffer-2, display-buffer-other-frame):
17035 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17036 (display-buffer-default, display-buffer-assq-regexp): New functions.
17037 (display-buffer-alist): Rewrite doc-string.
17038 (display-buffer-default-action)
17039 (display-buffer-overriding-action): New variables.
17040 (display-buffer, switch-to-buffer): Rewrite.
17041 (pop-to-buffer): Restore Emacs 23 behavior but use
17042 window-normalize-buffer-to-display.
17043 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17044 Restore Emacs 23 behavior but use
17045 window-normalize-buffer-to-switch-to.
17046 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17047 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17048 Rewrite using Emacs 23 options.
f818cd2a 17049
5bc3b51d
MA
170502011-08-31 Michael Albinus <michael.albinus@gmx.de>
17051
17052 * net/tramp.el (tramp-root-regexp): Remove.
17053 (tramp-completion-file-name-regexp-unified)
17054 (tramp-completion-file-name-regexp-separate)
17055 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17056 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17057 (tramp-drop-volume-letter): Simplify definition.
17058 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17059
b1a4f8e1
SM
170602011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17063 (bug#9356).
17064
5664fa7b
RT
170652011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17066
b1a4f8e1 17067 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17068
9a45d6c3
JL
170692011-08-29 Juri Linkov <juri@jurta.org>
17070
17071 * isearch.el (isearch-done): Don't display message "Mark saved"
17072 when arg `edit' is non-nil to prevent its flicker in the echo area.
17073
fb87e0fb
CY
170742011-08-28 Chong Yidong <cyd@stupidchicken.com>
17075
17076 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17077 obsolete packages for deletion.
17078
09ac1c2a
CS
170792011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17080
17081 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17082 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17083 view-mode from help-mode.
17084 (help-xref-override-view-map): Remove.
17085 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17086 view-mode is not used anymore.
17087
7a1ff57f
CY
170882011-08-28 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * server.el (server-port): Doc fix.
17091
b9696605
CY
17092 * cus-theme.el (custom-theme-choose-mode): Inherit from
17093 special-mode (Bug#9124).
17094 (custom-theme-choose-mode-map): Add special-mode to parent.
17095
ef8cdf8c
AM
170962011-08-28 Alan Mackenzie <acm@muc.de>
17097
17098 * progmodes/cc-fonts.el
17099 (c-make-font-lock-BO-decl-search-function): New function.
17100 (c-basic-matchers-after - "Fontify the clauses after various
17101 keywords"): Extract the three keyword lists for the 3 erroneous
17102 constructs from the list of four, and use the new function above
17103 in place of an old one.
17104
27de4e20
DD
171052011-08-28 Deniz Dogan <deniz@dogan.se>
17106
17107 * net/rcirc.el (rcirc-insert-prev-input)
17108 (rcirc-insert-next-input): Remove unused argument.
17109
356a3681
SM
171102011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17111
17112 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17113
3fc9b218
AM
171142011-08-27 Alan Mackenzie <acm@muc.de>
17115
17116 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17117 handle function pointer parameters properly.
17118
538a061c
MR
171192011-08-27 Martin Rudalics <rudalics@gmx.at>
17120
17121 * window.el (display-buffer-reuse-window): Fix case where
17122 selected window was reused with non-nil OTHER-WINDOW argument.
17123 (Bug#9381)
17124
35b1c40c
DD
171252011-08-27 Deniz Dogan <deniz@dogan.se>
17126
17127 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17128 oftc's NickServ messages.
17129
2f6a3e79
GM
171302011-08-27 Glenn Morris <rgm@gnu.org>
17131
17132 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17133
7254299e
CY
171342011-08-26 Chong Yidong <cyd@stupidchicken.com>
17135
17136 * emacs-lisp/package.el (package-install): Call package-initialize
17137 if called interactively.
17138
f8ccf167
LL
171392011-08-26 Leo Liu <sdl.web@gmail.com>
17140
17141 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17142
3e8cd5ce
JL
171432011-08-25 Juri Linkov <juri@jurta.org>
17144
17145 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17146 `search-whitespace-regexp' (bug#9364).
17147
93eb7113
JL
171482011-08-25 Juri Linkov <juri@jurta.org>
17149
17150 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17151 `regexp-search-ring' to their global values to protect from
17152 updating by `read-from-minibuffer' (bug#9185).
17153
f65d1611
JL
171542011-08-25 Juri Linkov <juri@jurta.org>
17155
17156 * textmodes/ispell.el (ispell-command-loop): Add newline
17157 at the end of the "Use option `i'..." line.
17158
f1cf7a31
JL
171592011-08-25 Juri Linkov <juri@jurta.org>
17160
17161 * battery.el (display-battery-mode): If `battery-status-function'
17162 or `battery-mode-line-format' is nil, display the message and set
17163 `display-battery-mode' to nil (bug#9363).
17164
0c95fcf7
EZ
171652011-08-25 Eli Zaretskii <eliz@gnu.org>
17166
17167 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17168 bidi-string-mark-left-to-right; they are unnecessary now.
17169
a2ebe600
DD
171702011-08-25 Deniz Dogan <deniz@dogan.se>
17171
17172 * net/quickurl.el: Documentation typo fixes.
17173
e4ed06f1
CY
171742011-08-25 Chong Yidong <cyd@stupidchicken.com>
17175
17176 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17177
e5f1c99e
GM
171782011-08-25 Glenn Morris <rgm@gnu.org>
17179
b2948976
GM
17180 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17181
e5f1c99e
GM
17182 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17183 (smtpmail-via-smtp): Handle nil response from smtp.
17184
f22f4808
JL
171852011-08-24 Juri Linkov <juri@jurta.org>
17186
17187 * proced.el (proced-marked): Inherit from `error' instead of
17188 `font-lock-warning-face'.
17189
17190 * ibuffer.el (ibuffer-marked-face): Change default face from
17191 `font-lock-warning-face' to `warning'.
17192 (ibuffer-deletion-face): Change default face from
17193 `font-lock-type-face' to `error'.
17194
17195 * battery.el (battery-update): Use the face `error' instead of
17196 `font-lock-warning-face' (bug#6117).
17197
6a93965e
JL
171982011-08-24 Juri Linkov <juri@jurta.org>
17199
17200 * faces.el (success): Change face color from "Green3" to
17201 "ForestGreen" on light background (bug#9353).
17202
1ed43b09
CY
172032011-08-24 Chong Yidong <cyd@stupidchicken.com>
17204
5664fa7b
RT
17205 * window.el (quit-window): Rename from quit-restore-window.
17206 Use same arglist as old quit-window.
1ed43b09
CY
17207 (frame-auto-delete): Doc fix.
17208
17209 * view.el (view-mode-exit): Use quit-window.
17210
11dcdbb2
JL
172112011-08-24 Juri Linkov <juri@jurta.org>
17212
17213 * isearch.el (isearch-ring-adjust1): Start visiting previous
17214 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17215 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17216 for empty search string (when the last search string is reused
17217 automatically) to adjust the isearch ring to the last element and
17218 prepare the correct index for further M-p commands (bug#9185).
17219
de62b4df
KH
172202011-08-24 Kenichi Handa <handa@m17n.org>
17221
17222 * international/ucs-normalize.el: If decomposition property of
17223 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17224 nil.
17225 (nfd, nfkd): Likewise.
17226
963b492b
SM
172272011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17228
17229 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17230 from process filters aren't reliably transmitted to the surrounding
17231 accept-process-output.
17232 (mpc-proc-check): New function.
17233 (mpc-proc-sync): Use it (bug#8293)
17234
93b6b5e1
SM
172352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17236
17237 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17238 Add compatibility functions (bug#9313).
17239
bca633fb
EZ
172402011-08-23 Eli Zaretskii <eliz@gnu.org>
17241
b177498a
EZ
17242 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17243
6df6ae42 17244 * international/uni-bidi.el: Regenerate.
bca633fb 17245
0902a04e
KH
172462011-08-23 Kenichi Handa <handa@m17n.org>
17247
17248 * international/charprop.el:
17249 * international/uni-bidi.el:
17250 * international/uni-category.el:
17251 * international/uni-combining.el:
17252 * international/uni-comment.el:
17253 * international/uni-decimal.el:
17254 * international/uni-decomposition.el:
17255 * international/uni-digit.el:
17256 * international/uni-lowercase.el:
17257 * international/uni-mirrored.el:
17258 * international/uni-name.el:
17259 * international/uni-numeric.el:
17260 * international/uni-old-name.el:
17261 * international/uni-titlecase.el:
17262 * international/uni-uppercase.el: Regenerate.
17263
3bbf23bc
MR
172642011-08-23 Martin Rudalics <rudalics@gmx.at>
17265
17266 * help.el (help-window-setup): Fix message displayed when other
17267 window is reused. (Bug#9341)
17268
b3fd59bd
SM
172692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17270
1802e444
SM
17271 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17272 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17273
b3fd59bd
SM
17274 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17275 Mark obsolete.
17276 * shell.el (shell-parse-pcomplete-arguments): New function.
17277 (shell-completion-vars): Use it instead (bug#9160).
17278
4eb61348
SM
172792011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17280
867cab74
SM
17281 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17282 strings and comments (bug#9333).
17283
4eb61348
SM
17284 * emacs-lisp/debug.el (debug-arglist): New function.
17285 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17286 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17287
262a1439
JL
172882011-08-22 Juri Linkov <juri@jurta.org>
17289
56ee679c
JL
17290 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17291 Revert regexp that highlights output switches to its old
17292 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17293
262a1439
JL
17294 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17295 to check for empty output (bug#9226).
17296
f13f86fb
CY
172972011-08-22 Chong Yidong <cyd@stupidchicken.com>
17298
17299 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17300 symbol-constituent as the default, as that stops font-lock from
17301 working properly (Bug#8843).
17302
c65c9622
LMI
173032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17304
17305 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17306 `coding-system-for-*' around the process open call to avoid
17307 auth-source side effects.
e7f2c178 17308 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17309 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17310 probe hangs.
c65c9622 17311
23a8a5ab
CY
173122011-08-21 Chong Yidong <cyd@stupidchicken.com>
17313
ff98b2dd
CY
17314 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17315
23a8a5ab
CY
17316 * emacs-lisp/find-func.el (find-function-noselect): New arg
17317 lisp-only.
17318
17319 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17320 signal an error for built-in functions (Bug#6664).
17321
f5e3c598
LMI
173222011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17323
17324 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17325 (smtpmail-try-auth-methods): Use it.
17326
a3f2468a
CY
173272011-08-21 Chong Yidong <cyd@stupidchicken.com>
17328
2c34e8da
CY
17329 * font-lock.el (font-lock-fontify-region)
17330 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17331 (font-lock-default-unfontify-buffer)
17332 (font-lock-default-fontify-region)
17333 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17334
b3fd59bd
SM
17335 * progmodes/compile.el (compilation-error-properties):
17336 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17337 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17338 `ant' regexp.
ee31aabc 17339
a3f2468a
CY
17340 * net/browse-url.el (browse-url-firefox): Don't call
17341 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17342
8e999f70
GM
173432011-08-20 Glenn Morris <rgm@gnu.org>
17344
c21a496a
GM
17345 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17346
59ee0542
GM
17347 * tutorial.el (tutorial--default-keys): Update some default bindings.
17348
8e999f70
GM
17349 * files.el (hack-local-variables): Fully ignore case for "mode:".
17350
e3715033
AM
173512011-08-20 Alan Mackenzie <acm@muc.de>
17352
17353 Resolve invalid use of a regexp in regexp-opt.
17354
4d61f28d
JB
17355 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17356 detection for a java annotation.
e3715033 17357
4d61f28d 17358 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17359 detection for a java annotation.
17360
4d61f28d
JB
17361 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17362 handling for java.
e3715033
AM
17363 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17364
04ed2e9c
CY
173652011-08-20 Chong Yidong <cyd@stupidchicken.com>
17366
17367 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17368 (Bug#9274).
17369
826cee64
AM
173702011-08-20 Alan Mackenzie <acm@muc.de>
17371
58179cce 17372 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17373 such a construct. Mainly for when jit-lock etc. starts a chunk
17374 here.
17375
58179cce 17376 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17377 variable.
58179cce 17378 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17379 c-make-font-lock-search-function.
17380 (c-make-font-lock-search-function): Use the above function.
17381 (c-make-font-lock-context-search-function): New function.
17382 (c-cpp-matchers): Enhance the preprocessor expression case with
17383 the above function
17384 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17385 which takes an expression.
17386
17387 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17388
13009bd8
MR
173892011-08-20 Martin Rudalics <rudalics@gmx.at>
17390
17391 * window.el (display-buffer-reuse-window)
17392 (display-buffer-pop-up-window): Don't reuse or split a side
17393 window.
17394
9234ff7f
GM
173952011-08-19 Glenn Morris <rgm@gnu.org>
17396
17397 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17398 Downcase "Mode:". (Bug#9331)
9234ff7f 17399
f635daa1
CY
174002011-08-18 Chong Yidong <cyd@stupidchicken.com>
17401
17402 * international/characters.el: Add L and R categories.
17403
17404 * subr.el (bidi-string-mark-left-to-right): Rename from
17405 string-mark-left-to-right. Use category search.
17406
17407 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17408
bc987f8b
JL
174092011-08-18 Juri Linkov <juri@jurta.org>
17410
17411 * faces.el (error, warning, success): New faces with definitions
17412 copied from old default values of `font-lock-warning-face',
17413 `compilation-warning', `compilation-info' (bug#6117).
17414
17415 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17416
17417 * progmodes/compile.el (compilation-error): Inherit from `error'.
17418 (compilation-warning): Inherit from `warning'.
17419 (compilation-info): Inherit from `success'.
17420
17421 * dired.el (dired-marked): Inherit from `warning'.
17422 (dired-flagged): Inherit from `error'.
17423
57173b96
LMI
174242011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17425
3e79eb87
LMI
17426 * mail/smtpmail.el (auth-source): Require to avoid problems with
17427 binding variables (bug#9298). Also clean up some unused
17428 autoloads.
17429
b3fd59bd
SM
17430 * net/network-stream.el (network-stream-open-starttls):
17431 Support using starttls.el without using gnutls-cli.
57173b96 17432
02b404de
JL
174332011-08-17 Juri Linkov <juri@jurta.org>
17434
17435 * progmodes/grep.el (rgrep): Handle the case when
17436 `grep-find-command' is a cons cell (bug#9278).
17437
8c9177f2
MR
174382011-08-17 Martin Rudalics <rudalics@gmx.at>
17439
17440 * window.el (display-buffer-pop-up-frame): Run frame creation
17441 function with BUFFER current (as special-display-popup-frame
17442 does). Reported by Drew Adams.
17443
3644a0ab
DU
174442011-08-17 Daiki Ueno <ueno@unixuser.org>
17445
17446 * epa-mail.el: Simplify GnuPG group expansion using
17447 epg-expand-group.
17448 (epa-mail-group-alist, epa-mail-group-modtime)
17449 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17450 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17451 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17452 Remove.
17453
5e617bc2 174542011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17455
17456 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17457
9c4aeabf
AM
174582011-08-16 Alan Mackenzie <acm@muc.de>
17459
17460 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17461 Correct, to avoid the inside of macros.
17462
3a99bf64
RS
174632011-08-16 Richard Stallman <rms@gnu.org>
17464
04963aa8
RS
17465 * epa-mail.el: Handle GnuPG group definitions.
17466 (epa-mail-group-alist, epa-mail-group-modtime)
17467 (epa-mail-gnupg-conf-file): New variables.
17468 (epa-mail-parse-groups, epa-mail-sync-groups)
17469 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17470 (epa-mail-expand-recipients): New functions.
17471 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17472
177549d0
RS
17473 * mail/rmail.el (rmail-epa-decrypt): New command.
17474
fe38beef
RS
17475 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17476 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17477 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17478 (epa-decrypt-armor-in-region): Make error message clearer.
17479
934eacb9
SM
174802011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17481
17482 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17483 and "a2b" to "ab" for `prefix'.
17484
d024fb4e
CY
174852011-08-14 Chong Yidong <cyd@stupidchicken.com>
17486
17487 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17488 filter groups.
de148fee
CY
17489 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17490 Fourquet (Bug#8804).
d024fb4e 17491
62f1ca49
JB
174922011-08-12 Juanma Barranquero <lekktu@gmail.com>
17493
17494 * startup.el (argi): Declare as global variable (bug#9275).
17495
9ccaaa4b
CY
174962011-08-12 Chong Yidong <cyd@stupidchicken.com>
17497
17498 * subr.el (string-mark-left-to-right): Search the entire string
17499 for RTL script, not just the terminating character. Doc fix.
17500
a3dae87a
SM
175012011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17502
6cd18349
SM
17503 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17504 New function.
17505 (js--regexp-literal, js-syntax-propertize-function): Remove.
17506 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17507 (js-mode-map): Don't rebind electric keys.
17508 (js-insert-and-indent): Remove.
17509 (js-mode): Setup electric-layout and electric-indent instead.
17510
a3dae87a
SM
17511 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17512
9d5cb631
DU
175132011-08-12 Daiki Ueno <ueno@unixuser.org>
17514
17515 * epa.el (epa-progress-callback-function): Fix the logic of
17516 displaying progress.
17517 * epa-file.el (epa-file-insert-file-contents): Make progress
17518 display more user-friendly.
17519 (epa-file-write-region): Ditto.
17520
3e26a4a2
CY
175212011-08-10 Chong Yidong <cyd@stupidchicken.com>
17522
17523 * subr.el (string-mark-left-to-right): New function.
17524
17525 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17526 Use string-mark-left-to-right.
17527 (list-buffers-noselect): Caller changed.
17528
a3dae87a
SM
17529 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17530 Use string-mark-left-to-right.
3e26a4a2
CY
17531 (tabulated-list-print): Recenter after moving point.
17532
ac8cf6e6
JL
175332011-08-10 Juri Linkov <juri@jurta.org>
17534
17535 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17536 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17537 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17538
8d96c9a4
CY
175392011-08-09 Chong Yidong <cyd@stupidchicken.com>
17540
17541 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17542 (Bug#7554).
17543
7be1c708 175442011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17545
17546 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17547 character. (Bug#6594)
17548
37e11a63
CY
175492011-08-08 Chong Yidong <cyd@stupidchicken.com>
17550
839dde57
CY
17551 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17552 (image-dired--with-db-file): New macro.
17553 (image-dired-write-tags, image-dired-remove-tag)
17554 (image-dired-create-gallery-lists, image-dired-write-comments)
17555 (image-dired-get-comment, image-dired-mark-tagged-files)
17556 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17557 (image-dired-gallery-generate): Use insert-file-contents.
17558
37e11a63
CY
17559 * time.el (display-time-world-list, display-time-world-display):
17560 * time-stamp.el (time-stamp-string):
17561 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17562 set-time-zone-rule (Bug#7337).
17563
0b4946c4
DU
175642011-08-08 Daiki Ueno <ueno@unixuser.org>
17565
17566 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17567 (epg-error-to-string, epg-errors-to-string): New function.
17568 (epg-wait-for-completion): Reverse errors list.
17569 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17570 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17571 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17572 (epg-sign-keys, epg-generate-key-from-file)
17573 (epg-generate-key-from-string): Format errors by using
17574 epg-errors-to-string (bug#9255).
17575 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17576
75bfc667
JL
175772011-08-07 Juri Linkov <juri@jurta.org>
17578
17579 * faces.el (list-faces-display): Remove extra angle bracket
17580 from `help-mode-map'.
17581
17582 * info.el (Info-history-toc-nodes): Doc fix.
17583
17584 * longlines.el (longlines-mode): Doc fix.
17585
673e08bb
SM
175862011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17587
4640dd88
SM
17588 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17589 of statements and in a few more cases (bug#9183).
17590
673e08bb
SM
17591 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17592 New functions.
17593 (cl-transform-lambda): Use them (bug#9239).
17594
89b3f019
MR
175952011-08-05 Martin Rudalics <rudalics@gmx.at>
17596
17597 * window.el (display-buffer-same-window)
17598 (display-buffer-same-frame, display-buffer-other-window)
17599 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17600 (pop-to-buffer-other-window)
17601 (pop-to-buffer-same-frame-other-window)
17602 (pop-to-buffer-other-frame): Make them defuns.
17603 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17604
640c8776
SM
176052011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17606
17607 * subr.el (make-composed-keymap): Move from C. Change calling
17608 convention, and improve docstring to bring attention to a subtle point.
17609 * minibuffer.el (completing-read-default): Adjust accordingly.
17610
63648a95
MA
176112011-08-03 Michael Albinus <michael.albinus@gmx.de>
17612
17613 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17614 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17615
17616 * net/trampver.el: Update release number.
17617
b796c9b7
SM
176182011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17619
17620 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17621 "in" (bug#9190).
17622
2239d7d5
LMI
176232011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17624
e07dd7c3
LMI
17625 * mail/sendmail.el (sendmail-query-once): Restore the current
17626 buffer after querying (bug#9074).
17627
0e6a2bd7
LMI
17628 * dired.el (dired-flagged): Use different faces for marked and
17629 flagged files (bug#6117).
17630
ce887515
LMI
17631 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17632 (bug#4433).
17633
92f2affc
LMI
17634 * ido.el (ido-mode): Switch off the message if called
17635 non-interactively.
17636
57d5aff0
LMI
17637 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17638 before 587, since it appears that that's more likely to work for
17639 more people.
17640
98cd6c18 17641 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17642 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17643 exist.
17644
b96dec83
LMI
17645 * info.el: Remove the `Info-beginning-of-buffer' function
17646 (bug#8325).
17647
b796c9b7
SM
17648 * net/network-stream.el (network-stream-open-starttls):
17649 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17650
d90e2ea0
MR
176512011-08-01 Martin Rudalics <rudalics@gmx.at>
17652
17653 * window.el (display-buffer-in-window): Don't set dedicated status
17654 of window here (Bug#9215).
17655 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17656 (display-buffer-pop-up-side-window)
b796c9b7 17657 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17658
cca09170
SM
176592011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17660
17661 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17662 before binding generated-autoload-file.
17663
027b979c
DD
176642011-08-01 Deniz Dogan <deniz@dogan.se>
17665
17666 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17667
3c7ee4f3
MA
176682011-07-30 Michael Albinus <michael.albinus@gmx.de>
17669
17670 Sync with Tramp 2.2.2.
17671
17672 * net/trampver.el: Update release number.
17673
2cc8e51a
JL
176742011-07-30 Juri Linkov <juri@jurta.org>
17675
17676 * dired-aux.el (dired-touch-initial): Remove function.
17677 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17678 current time, and `default' to the last modification time of the
17679 current marked file (bug#6887).
17680
a514d856
JM
176812011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17682
17683 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17684 numeric argument to read-number (bug#9163).
a514d856 17685
8a7eddd7
MA
176862011-07-27 Michael Albinus <michael.albinus@gmx.de>
17687
17688 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17689 connection process, it could be nil.
17690
1ddd96f5
LL
176912011-07-27 Leo Liu <sdl.web@gmail.com>
17692
17693 Simplify url handling in rcirc-mode.
17694
17695 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17696 (rcirc-browse-url-at-mouse): Remove.
17697 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17698
b248a85d
AM
176992011-07-26 Alan Mackenzie <acm@muc.de>
17700
17701 Fontify bitfield declarations properly.
17702
17703 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17704 (c-symbol-chars): Now exported as a lang variable.
17705 (c-not-primitive-type-keywords): New lang variable.
17706
17707 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17708 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17709 parsed as a bitfield declaration.
b248a85d 17710
b796c9b7
SM
17711 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17712 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17713 (c-punctuation-in): New function.
17714 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17715 declarations properly.
17716
68575ab0
UJ
177172011-07-26 Ulf Jasper <ulf.jasper@web.de>
17718
17719 * calendar/icalendar.el (icalendar--all-events): Take care of
17720 multiple vcalendars in a single file.
b796c9b7 17721 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17722
0f0a88b9
DD
177232011-07-25 Deniz Dogan <deniz@dogan.se>
17724
17725 * image.el (insert-image): Clarifying docstring.
17726
0b3f36df
MA
177272011-07-24 Michael Albinus <michael.albinus@gmx.de>
17728
17729 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17730 `tramp-send-command-and-check' if there is no error.
17731 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17732
a9901f61
AM
177332011-07-22 Alan Mackenzie <acm@muc.de>
17734
17735 Prevent cc-langs.elc being loaded at run time.
17736
17737 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17738 cc-langs.
17739
4d61f28d 17740 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17741 "(require 'cc-langs)". Quote a form so it will evaluate at
17742 (cc-mode's) compilation time.
17743
11d074b2
MA
177442011-07-22 Michael Albinus <michael.albinus@gmx.de>
17745
17746 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17747 loading. (Bug#9114)
17748
938b94c8
MR
177492011-07-21 Martin Rudalics <rudalics@gmx.at>
17750
17751 * window.el (display-buffer-pop-up-window)
17752 (display-buffer-pop-up-side-window)
17753 (display-buffer-in-side-window): Call display-buffer-set-height
17754 and display-buffer-set-width after setting the new window's
b796c9b7 17755 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17756
bfa4f190
SS
177572011-07-20 Sam Steingold <sds@gnu.org>
17758
17759 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17760 (etags-tags-included-tables): Call `convert-standard-filename' on
17761 the file names contained in TAGS so that windows Emacs can handle
17762 TAGS files created by cygwin ctags.
17763
8ca42262
LMI
177642011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17765
17766 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17767 which apparently didn't work.
17768
5db2afd2 177692011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17770
5db2afd2
RW
17771 * proced.el (proced-send-signal): For *Marked Processes* buffer
17772 put point at beginning of buffer.
17773
92e15d10
SB
177742011-07-19 Stephen Berman <stephen.berman@gmx.net>
17775
17776 * proced.el (proced-format): Make header lines align with the text
17777 (bug#1779).
17778
1bfd59e5
LMI
177792011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17780
17781 * view.el (view-buffer): Allow running in `special' modes if we're
17782 visiting a file (bug#8615).
17783
f5aae37c
MR
177842011-07-19 Martin Rudalics <rudalics@gmx.at>
17785
17786 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17787 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17788 New functions.
f5aae37c
MR
17789 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17790 more accurately.
17791
bf2c1571
AM
177922011-07-18 Alan Mackenzie <acm@muc.de>
17793
17794 Fontify declarators properly when, e.g., a jit-lock chunk begins
17795 inside a declaration.
17796
17797 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17798
b796c9b7
SM
17799 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17800 New function.
bf2c1571
AM
17801 (c-complex-decl-matchers): Insert reference to
17802 c-font-lock-enclosing-decls.
17803
17804 * progmodes/cc-engine.el (c-backward-single-comment):
17805 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17806 to nil around calls to (forward-comment -1).
17807
4e190b80
LMI
178082011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17809
12dc863d
LMI
17810 * image.el (put-image): Doc typo fix.
17811
a762e966
LMI
17812 * progmodes/etags.el (tags-search): Doc typo fix.
17813
4e190b80
LMI
17814 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17815 password if we get errors 550 to 554.
17816
f019fb21
LMI
178172011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17818
b796c9b7 17819 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17820
81746738
LMI
17821 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17822 indentation character (bug#6380).
17823
3ee3a1b5
LMI
17824 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17825
c82f64de
LMI
17826 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17827 to clarify what the problem is (bug#4291).
17828
f019fb21
LMI
17829 * simple.el (current-kill): Clarify what
17830 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17831 (auto-fill-mode): Document `auto-fill-function' in relation to
17832 `auto-fill-mode' (bug#2470).
f019fb21 17833
0794775d
LM
178342011-07-16 Lawrence Mitchell <wence@gmx.li>
17835
17836 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17837 method if slot is read-only (bug#9035).
17838
be39b8cc
MR
178392011-07-16 Martin Rudalics <rudalics@gmx.at>
17840
b796c9b7 17841 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17842 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17843 selected before, see discussion of (Bug#8615), (Bug#6954).
17844 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17845
6ccf7859
GM
178462011-07-15 Glenn Morris <rgm@gnu.org>
17847
17848 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17849 Respect help-form.
6ccf7859 17850
87e86684
LM
178512011-07-09 Lawrence Mitchell <wence@gmx.li>
17852
17853 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17854 (gnutls-negotiate): Use it.
17855
d6066239
LMI
178562011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17857
b796c9b7
SM
17858 * net/gnutls.el (gnutls-negotiate):
17859 Upcase `gnutls-algorithm-priority'.
d6066239 17860
bd23ebc0
GM
178612011-07-15 Glenn Morris <rgm@gnu.org>
17862
c65bca65
GM
17863 * jka-compr.el (jka-compr-verbose): Move from here...
17864 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17865 Add missing :version tag.
17866 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17867
478615cc
LMI
178682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17869
7b41decb
LMI
17870 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17871 (gnutls-negotiate): Use it.
17872
dbc44fcd
LMI
17873 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17874
06789f97
LMI
17875 * info.el (Info-beginning-of-buffer): New command.
17876 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17877 announcing `b' as the key (bug#8325).
ab896c37 17878 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17879
c39da690
LMI
17880 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17881
3aa5f34b
LMI
17882 * international/mule-cmds.el
17883 (describe-specified-language-support): Make the error message
17884 clearer (bug#8905).
17885
4bf0979f
LMI
17886 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17887
478615cc
LMI
17888 * isearch.el (isearch-barrier): Add a doc string, since it's
17889 mentioned in a function doc string (bug#8678).
17890
75c68aa1
MR
178912011-07-15 Martin Rudalics <rudalics@gmx.at>
17892
17893 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17894 buffer argument (Bug#9083) and self-identifying label argument.
17895
a7c33da2
GM
178962011-07-15 Glenn Morris <rgm@gnu.org>
17897
17898 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17899
2f5c6024
LMI
179002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17901
17902 * man.el (Man-fontify-manpage): Fix message when formatting the
17903 man page (bug#7929).
17904
0bb23927 179052011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17906
17907 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17908 argument LRM; if non-nil, append an invisible LRM character to the
17909 buffer name.
17910 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17911 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17912 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17913 paragraph direction.
cce4b0a7 17914
621ef9ab
LMI
179152011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
d1583c48
LMI
17917 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17918 the man page name (bug#7929).
17919
6a57fb5f
LMI
17920 * image.el (put-image): Mention the `put-image' overlay property
17921 (bug#7834).
17922
d7956b14
LMI
17923 * scroll-bar.el (set-scroll-bar-mode): Mention that
17924 `scroll-bar-mode' lists the values (bug#7772).
17925
5b2d4a66
LMI
17926 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17927 command (bug#7729).
17928
7509a874
LMI
17929 * rect.el (apply-on-rectangle): Return the point after the last
17930 operation.
17931 (string-rectangle): Go to the point after the last operation
17932 (bug#7522).
17933
4fe74b19
LMI
17934 * printing.el (pr-toggle-region): Clarify the documentation
17935 slightly (bug#7493).
17936
b796c9b7
SM
17937 * time.el (display-time-update):
17938 Allow `display-time-mail-function' to return nil (bug#7158).
17939 Fix suggested by Detlev Zundel.
ab283561 17940
fc233c9d
LMI
17941 * vc/diff.el (diff): Clarify the order the file names are read
17942 (bug#7111).
17943
43f5740b
LMI
17944 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17945 the doc string (bug#7015).
17946
f2182a76
LMI
17947 * font-lock.el (font-lock-maximum-decoration): Mention what
17948 numeric levels mean (bug#6935).
17949
621ef9ab
LMI
17950 * startup.el (initial-buffer-choice): Don't mention the `none'
17951 selection, which is against policy.
17952
adc47434
MR
179532011-07-14 Martin Rudalics <rudalics@gmx.at>
17954
b796c9b7
SM
17955 * window.el (display-buffer-normalize-special):
17956 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17957
7e5bfb8f
EZ
179582011-07-14 Eli Zaretskii <eliz@gnu.org>
17959
17960 * subr.el (version<, version<=, version=): Mention "-CVS" and
17961 "-12345" alpha version numbers.
17962
27fa387a
CY
179632011-07-14 Chong Yidong <cyd@stupidchicken.com>
17964
17965 * bindings.el: Add advertised binding for set-mark-command
17966 (Bug#5772).
17967
8bdfa064
CY
179682011-07-14 Chong Yidong <cyd@stupidchicken.com>
17969
17970 * bindings.el (mode-line-other-buffer):
17971 * bookmark.el (bookmark-bmenu-2-window):
17972 * bs.el (bs-cycle-next, bs-cycle-previous):
17973 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17974 switch-to-buffer.
17975
17976 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17977 Delete.
8bdfa064 17978
5eba16a3
JB
179792011-07-14 Juanma Barranquero <lekktu@gmail.com>
17980
17981 * follow.el (follow-debug-message, follow-redisplay):
17982 * jka-cmpr-hook.el (with-auto-compression-mode):
17983 Fix typos in docstrings.
17984
15853710
LMI
179852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17986
a28e4607
LMI
17987 * subr.el (with-silent-modifications): Clarify somewhat what the
17988 macro inhibits (bug#6525).
17989
15853710
LMI
17990 * simple.el (eval-expression): Note what it does if called
17991 interactively (bug#6495).
17992
bee0fcef
CY
179932011-07-13 Chong Yidong <cyd@stupidchicken.com>
17994
b796c9b7
SM
17995 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17996 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17997
17998 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17999 Remove switch-to-buffer.
18000
58274504
LMI
180012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18002
bd2fcc8d
LMI
18003 * files.el (make-directory): Clarify that an error will be raised
18004 if there's an error (bug#6397).
18005
0f04b32c
LMI
18006 * startup.el (initial-buffer-choice): Add `none' as a choice
18007 (bug#6234).
18008
465c5fc8
LMI
18009 * subr.el (add-hook): Clarify section about buffer-local hooks
18010 (bug#6218).
18011
58274504
LMI
18012 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18013
bead9a43
JB
180142011-07-13 Juanma Barranquero <lekktu@gmail.com>
18015
18016 * tabify.el (untabify): Preserve the current column so that point
18017 doesn't move (bug#6032).
18018
3af98a7b
LMI
180192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18020
b796c9b7
SM
18021 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18022 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18023
6240145a
GM
180242011-07-13 Glenn Morris <rgm@gnu.org>
18025
18026 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18027 (dired-insert-directory): Give a message the first time
18028 if ls is found not to support --dired.
18029
1d8c2ccc
LMI
180302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18031
18032 * simple.el (toggle-truncate-lines): Clarify what is toggled
18033 (bug#5580). Text by Drew Adams.
18034
5fc4038e
CY
180352011-07-13 Chong Yidong <cyd@stupidchicken.com>
18036
18037 * simple.el (blink-matching-open): Make the error message from the
18038 last change less verbose.
18039
bf6012e5
DN
180402011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18041
18042 * font-lock.el (font-lock-comment-face): Use the high contrast
18043 "yellow" color for font-lock-comment-face on low color terminals
18044 using a dark background color (bug#4221).
18045
343c3b5a
LMI
180462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18047
7e9505c5
LMI
18048 * dired.el (dired-insert-set-properties): Make the doc string
18049 reflect what it does now (bug#5325).
18050
c26fdcf5
LMI
18051 * simple.el (blink-matching-open): Say that we were unable to find
18052 the match within the limit, if we're limited (bug#5122).
18053
bb388cc5
LMI
18054 * international/mule-cmds.el (prefer-coding-system): Add an
18055 example (bug#4869).
18056
343c3b5a
LMI
18057 * progmodes/etags.el (tags-search): Document `file-list-form'
18058 (bug#4731).
18059
2a517d45
LM
180602011-07-13 Lawrence Mitchell <wence@gmx.li>
18061
18062 * net/browse-url.el (browse-url-default-browser)
18063 (browse-url-browser-function): Make the default browser choice a
18064 bit more logical (bug#4300). Also clean up the doc string.
18065
b6c78ef2
JB
180662011-07-13 Juanma Barranquero <lekktu@gmail.com>
18067
18068 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18069 binary endings (bug#4440).
18070
1c4dd947
LMI
180712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
a2014063
LMI
18073 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18074 which can be pretty annoying (bug#8971).
18075
9c9c2d88
LMI
18076 * jka-compr.el (jka-compr-verbose): New variable, and use
18077 throughout (bug#8971).
18078
1c4dd947
LMI
18079 * info.el (Info-find-file): Fall back on the installation
18080 directory if we can't find the info node anywhere else.
18081
a1c9f41b
SO
180822011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18083
18084 * vc/vc.el (vc-revert-file):
18085 Don't set file time-stamp in the past. (Bug#5181)
18086
536f3d36
LMI
180872011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18088
7152b011
LMI
18089 * files.el (after-find-file): Give a better error message when
18090 trying to find a symlink that points to a file that doesn't exist
18091 (bug#4398).
18092
536f3d36
LMI
18093 * progmodes/cc-vars.el: Remove (probably) misleading comment
18094 (bug#4396).
18095
460c0fba
JB
180962011-07-12 Johan Bockgård <bojohan@gnu.org>
18097
18098 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18099
7a6bda45
CY
181002011-07-12 Chong Yidong <cyd@stupidchicken.com>
18101
18102 * mouse-sel.el: Hack restoring functionality, while keeping
18103 compatibility with 2010-07-03 changes to mouse selection.
18104 (mouse-sel-primary-overlay): New var.
18105 (mouse-sel-selection-alist): Use it.
18106 (mouse-sel-mode): Doc fix; remove points that are default features
18107 of mouse.el.
18108
c79598ef
JB
181092011-07-12 Johan Bockgård <bojohan@gnu.org>
18110
18111 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18112 Fix previous fix (bug#2490).
18113
ff8be6ef
RW
181142011-07-12 Roland Winkler <winkler@gnu.org>
18115
b796c9b7
SM
18116 * textmodes/bibtex.el (bibtex-initialize):
18117 Use pop-to-buffer-same-window.
ff8be6ef
RW
18118 (bibtex-search-entries): Fix interactive call.
18119
296ba3ee
LMI
181202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18121
f5242a02 18122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18123 Fontise bytecomp Error lines more correctly (bug#2490).
18124 Fix suggested by Johan Bockgård.
f5242a02 18125
296ba3ee
LMI
18126 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18127
18128 * dired-x.el (dired-guess-default): Use `delete-dups'.
18129
f69fd0d2
CY
181302011-07-12 Chong Yidong <cyd@stupidchicken.com>
18131
18132 * dired.el (dired-mark-prompt):
18133 * dired-aux.el (dired-read-shell-command): Doc fix.
18134
eab5dc07
LMI
181352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18136
b796c9b7
SM
18137 * mail/sendmail.el (sendmail-query-once):
18138 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18139 emacs -Q.
18140
18141 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18142
eab5dc07
LMI
18143 * cus-edit.el (custom-file): Take an optional no-error variable.
18144 (customize-save-variable): Set the variable, and give a warning if
18145 running under "emacs -q".
18146
a1e65d42
JB
181472011-07-11 Juanma Barranquero <lekktu@gmail.com>
18148
18149 * loadhist.el (unload-feature-special-hooks):
18150 Add `auto-coding-functions', `fill-nobreak-predicate' and
18151 `find-directory-functions' (bug#5327).
18152
1d52da10
LMI
181532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18154
be958f1d
LMI
18155 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18156
5bedb26c
LMI
18157 * cus-edit.el (custom-guess-name-alist): -alist variables should
18158 use the `alist' type (bug#3120). Suggested by Drew Adams.
18159
1d52da10
LMI
18160 * printing.el: Add documentation to all the `pr-toggle-' commands.
18161
cd394be1 181622011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18163
18164 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18165 backends where it makes sense (bug#2623).
18166
dcc88d8a
LMI
181672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18168
c3de9feb
LMI
18169 * dired-x.el (dired-guess-default): Remove duplicate shell command
18170 entries (bug#2028).
8a93078b 18171 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18172 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18173
dcc88d8a
LMI
18174 * subr.el (remove-duplicates): New conveniency function.
18175
505e3645
LMI
181762011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18177
18178 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18179 (bug#1526).
18180
181812011-07-10 Martin Rudalics <rudalics@gmx.at>
18182
18183 * window.el (display-buffer-normalize-default): Don't invert
18184 meaning of even-window-heights. Reported by Eli Zaretskii
18185 <eliz@gnu.org>.
18186
455e4fa1
BR
181872011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18188
18189 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18190
8e0bc3e9
CY
181912011-07-10 Chong Yidong <cyd@stupidchicken.com>
18192
18193 * window.el (display-buffer): Fix arguments to
18194 display-buffer-reuse-window in last change.
18195
fa7c3228
CY
18196 * faces.el (link): Use a less saturated blue on light backgrounds.
18197
18198 * startup.el (fancy-startup-text, fancy-about-text)
18199 (fancy-startup-tail): Use font-lock faces, for background safety.
18200
c0a7f300
BN
182012011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18202
b796c9b7
SM
18203 * emulation/viper-cmd.el (viper-change-state-to-vi):
18204 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18205
4dc2a129
MR
182062011-07-09 Martin Rudalics <rudalics@gmx.at>
18207
18208 * window.el (display-buffer-default-specifiers): Remove.
18209 (display-buffer-macro-specifiers): Remove default specifiers.
18210 (display-buffer-alist): Default to nil.
b796c9b7 18211 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18212 (display-buffer-pop-up-window): Allow splitting internal
18213 windows. Check whether a live window was created.
18214 (display-buffer-other-window-means-other-frame)
18215 (display-buffer-normalize-arguments): Rename to
18216 display-buffer-normalize-argument and rewrite. Set the
18217 other-window specifier.
18218 (display-buffer-normalize-special): New function.
18219 (display-buffer-normalize-options): Rename to
18220 display-buffer-normalize-default and rewrite.
18221 (display-buffer-normalize-options-inhibit): Remove.
18222 (display-buffer-normalize-specifiers): Rewrite.
18223 (display-buffer): Process other-window specifier and call
18224 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18225 more faithfully.
b796c9b7 18226 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18227 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18228 (display-buffer-in-window, display-buffer-alist-set):
18229 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18230 <tassilo@member.fsf.org>.
18231
2d43b8c9
LL
182322011-07-09 Leo Liu <sdl.web@gmail.com>
18233
18234 * register.el (insert-register): Restore accidental change on
18235 2011-06-26. (Bug#9028)
18236
7f9b7c53
GM
182372011-07-09 Glenn Morris <rgm@gnu.org>
18238
18239 * subr.el (remq): Handle the empty list. (Bug#9024)
18240
f042cfd8
AS
182412011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18242
18243 * mail/sendmail.el (send-mail-function): No longer delay custom
18244 initialization.
18245 * custom.el (custom-initialize-delay): Doc fix.
18246
856b2f11
SM
182472011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18248
18249 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18250
afae1d68
MA
182512011-07-08 Michael Albinus <michael.albinus@gmx.de>
18252
18253 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18254 human-friendly prompt.
18255
0757af94
SM
182562011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18257
18258 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18259 provided by a particular plugin.
18260
d760b731
LMI
182612011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18262
18263 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18264 save customizations (with "emacs -Q"), just set the variable
18265 instead of erroring out.
18266
18267 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18268
cd79ce90
JL
182692011-07-08 Juri Linkov <juri@jurta.org>
18270
18271 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18272 (archive-zip-update-case): Use 7z if found by `executable-find'.
18273 The order of searching the available programs is the same as in
18274 `archive-zip-extract' (bug#8968).
18275
14cc04aa
CY
182762011-07-07 Chong Yidong <cyd@stupidchicken.com>
18277
18278 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18279 (menu-bar-options-menu): Tweak descriptions.
18280
0a1848ec
LMI
182812011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18282
18283 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18284 menu items into verb phrases (bug#1421). Also refill to fit under
18285 80 columns.
18286
f5bd0689
CY
182872011-07-07 Chong Yidong <cyd@stupidchicken.com>
18288
538e85c6
CY
18289 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18290 (Info-read-node-name): Doc fix (Bug#1084).
18291
f5bd0689
CY
18292 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18293 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18294 (end-of-sexp, beginning-of-sexp)
18295 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18296 (forward-symbol, forward-same-syntax, word-at-point)
18297 (sentence-at-point): Doc fix (Bug#1144).
18298
56ec5115
LMI
182992011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18300
f3f8e37f
LMI
18301 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18302 should cover it (bug#1281).
18303
0757af94 18304 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18305
e9fce1ac 18306 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18307 negotiation fails, then possibly try again with a non-encrypted
18308 connection (bug#9017).
18309
56ec5115
LMI
18310 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18311 be used.
18312
c2f9aec8
RS
183132011-07-07 Richard Stallman <rms@gnu.org>
18314
18315 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18316 property, and handle its changed format.
18317 Look for the correct line number.
18318 Use file's line contents (but not past first =) to find
18319 correct line in message.
18320
ef7b981d 183212011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18322
18323 * international/characters.el (build-unicode-category-table):
18324 Delete it.
0757af94 18325 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18326
0757af94 18327 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18328 to src/chartab.c.
18329 (get-char-code-property): Call unicode-property-table-internal to
18330 load a file. Call get-unicode-property-internal where necessary.
18331 (put-char-code-property): Call unicode-property-table-internal to
18332 load a file. Call put-unicode-property-internal where necessary.
18333 put-unicode-property-internal where necessary.
0757af94
SM
18334 (char-code-property-description):
18335 Call unicode-property-table-internal to load a file.
c805dec0
KH
18336
18337 * international/charprop.el:
18338 * international/uni-bidi.el:
18339 * international/uni-category.el:
18340 * international/uni-combining.el:
18341 * international/uni-comment.el:
18342 * international/uni-decimal.el:
18343 * international/uni-decomposition.el:
18344 * international/uni-digit.el:
18345 * international/uni-lowercase.el:
18346 * international/uni-mirrored.el:
18347 * international/uni-name.el:
18348 * international/uni-numeric.el:
18349 * international/uni-old-name.el:
18350 * international/uni-titlecase.el:
18351 * international/uni-uppercase.el: Regenerate.
18352
18353 * loadup.el: Load international/charprop.el before
18354 international/characters.
18355
e14b388a
CY
183562011-07-07 Chong Yidong <cyd@stupidchicken.com>
18357
18358 * window.el (next-buffer, previous-buffer): Signal an error if
18359 called from a minibuffer window.
18360
18361 * bindings.el: Revert 2011-07-04 change.
18362
354cf0ba
RS
183632011-07-06 Richard Stallman <rms@gnu.org>
18364
18365 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18366 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18367 Treat markers like ints.
18368 (rmail-mime-entity): Doc fix.
18369
a48868a7
LMI
183702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18371
4906cd3d
LMI
18372 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18373 defcustom again for backwards compatibility.
18374
e0457abe
LMI
18375 * simple.el (shell-command-on-region): Fill.
18376
d67f7e1f
LMI
18377 * dired-aux.el (dired-kill-line): Add a doc string.
18378
fe204702
LMI
18379 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18380 to "\\sw\\|\\s_" (bug#358).
18381
a48868a7
LMI
18382 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18383 (dired-unmark-backward): Ditto.
18384 (dired-flag-backup-files): Ditto.
18385
18386 * dired-x.el (dired-mark-sexp): Ditto.
18387
aa8a705c
RS
183882011-07-06 Richard Stallman <rms@gnu.org>
18389
18390 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18391 (rmail-mime-entity): New arg TRUNCATED.
18392 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18393 New functions.
18394 (rmail-mime-save): Warn if entity is truncated.
18395 (rmail-mime-toggle-hidden): Likewise, for showing.
18396 (rmail-mime-process-multipart): Record when an entity is truncated.
18397
a9a936b9
RS
18398 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18399 if ENTITY is a string.
18400
1f2b92cb
LMI
184012011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18402
f4f73198 18403 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18404 of faces when `M-C-x'-ing their definitions (bug#8378).
18405 Also clean up the code slightly.
f4f73198 18406
12b16734 18407 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18408 because that makes the colors go away.
12b16734 18409
f0691d22
LMI
18410 * mail/sendmail.el (send-mail-function): Change the default to
18411 `sendmail-query-once'.
9e87df06 18412 (sendmail-query-once): Add an autoload cookie.
f0691d22 18413
1f2b92cb
LMI
18414 * net/network-stream.el (network-stream-open-starttls): Try using
18415 a plain connection even if the server offered STARTTLS, and we
18416 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18417 capability. This should make smtpmail.el work in slightly more
18418 configurations.
18419
1cdd2a1b
MA
184202011-07-06 Michael Albinus <michael.albinus@gmx.de>
18421
18422 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18423 New defun.
18424 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18425
fbcc67e2
MM
184262011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18427
18428 * progmodes/sql.el: Version 3.0
0757af94 18429 (sql-product-alist): Add product :completion-object,
fbcc67e2 18430 :completion-column, and :statement attributes.
0757af94 18431 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18432 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18433 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18434 ansi keywords.
18435 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18436 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18437 (sql-oracle-show-reserved-words): New function for development.
18438 (sql-product-font-lock): Simplify for source code buffers.
18439 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18440 New functions.
18441 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18442 (sql-mode-map): Add statement movement functions.
18443 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18444 New variable.
fbcc67e2
MM
18445 (sql-statement-regexp, sql-beginning-of-statement)
18446 (sql-end-of-statement, sql-signum): New functions.
0757af94 18447 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18448 (sql-show-sqli-buffer): Bug fix.
18449 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18450 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18451 with sql-interactive-mode.
18452 (sql-save-connection): Save buffer local settings.
0757af94 18453 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18454 (sql-product-interactive): Bug fix.
18455 (sql-preoutput-hold): New variable.
18456 (sql-interactive-remove-continuation-prompt): Bug fixes.
18457 (sql-debug-redirect): New variable.
18458 (sql-str-literal): New function.
18459 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18460 Redesign.
fbcc67e2
MM
18461 (sql-oracle-save-settings, sql-oracle-restore-settings)
18462 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18463 (sql-completion-object, sql-completion-column)
18464 (sql-completion-sqlbuf): New variables.
18465 (sql-build-completions-1, sql-build-completions)
18466 (sql-try-completion): New functions.
18467 (sql-read-table-name): Use them.
18468 (sql-contains-names): New buffer local variable.
18469 (sql-list-all, sql-list-table): Use it.
18470 (sql-oracle-completion-types): New variable.
18471 (sql-oracle-completion-object, sql-sqlite-completion-object)
18472 (sql-postgres-completion-object): New functions.
18473
d4eaeab1
GM
184742011-07-06 Glenn Morris <rgm@gnu.org>
18475
18476 * window.el (pop-to-buffer): Doc fix.
18477
322b7dab 184782011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18479
18480 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18481
322b7dab 184822011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18483
322b7dab 18484 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18485
322b7dab 18486 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18487
605dd5bf
CY
184882011-07-05 Chong Yidong <cyd@stupidchicken.com>
18489
18490 * button.el (button): Inherit from link face. Suggested by Dan
18491 Nicolaescu.
18492
7dbfa719
SM
184932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18494
3db614b0
SM
18495 * progmodes/gdb-mi.el: Fit in 80 columns.
18496 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18497 switch-to-buffer.
18498
7dbfa719
SM
18499 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18500 if imenu is simply not configured (bug#8941).
18501
919d884a
KM
185022011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18503
18504 * allout.el (allout-post-undo-hook): New allout outline-change
18505 event hook to signal undo activity.
18506 (allout-post-command-business): Run allout-post-undo-hook if an
18507 undo just occurred.
7dbfa719
SM
18508 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18509 * allout-widgets.el (allout-widgets-after-undo-function):
18510 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18511 in the vicinity of an undo.
18512 (allout-widgets-mode): Include allout-widgets-after-undo-function
18513 on the new allout-post-undo-hook.
18514
450a0f09
SM
185152011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18516
18517 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18518 Let define-derived-mode define it.
18519 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18520 cycles of abbrev-table inheritance (bug#8998).
18521
2de69e00
RW
185222011-07-05 Roland Winkler <winkler@gnu.org>
18523
18524 * textmodes/bibtex.el: Add support for biblatex.
18525 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18526 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18527 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18528 (bibtex-entry-alist, bibtex-field-alist): New variables.
18529 (bibtex-entry-field-alist): Obsolete alias for
18530 bibtex-BibTeX-entry-alist.
18531 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18532 (bibtex-set-dialect): New command.
18533 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18534 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18535 Bind via bibtex-set-dialect.
2de69e00
RW
18536 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18537 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18538 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18539 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18540 Define via bibtex-set-dialect.
450a0f09
SM
18541 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18542 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18543 (bibtex-vec-push, bibtex-vec-incr): New functions.
18544 (bibtex-format-entry, bibtex-field-list)
18545 (bibtex-print-help-message, bibtex-validate)
18546 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18547
2dcdbdd9
SM
185482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * progmodes/compile.el (compilation-goto-locus):
18551 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18552 * bs.el (bs-cycle-next, bs-cycle-previous):
18553 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18554 * bindings.el (mode-line-other-buffer):
18555 * autoinsert.el (auto-insert):
18556 * arc-mode.el (archive-extract):
18557 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18558
b27640fe
JB
185592011-07-05 Juanma Barranquero <lekktu@gmail.com>
18560
18561 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18562 Fix check of `emacs-lock-unlockable-modes'.
18563 Coerce true values of `emacs-lock--try-unlocking' to t.
18564
53bbe3ad
JB
185652011-07-05 Juanma Barranquero <lekktu@gmail.com>
18566
18567 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18568 * emacs-lock.el: New file.
18569
1d3cdbc7
JD
185702011-07-05 Julien Danjou <julien@danjou.info>
18571
18572 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18573 than `boundp' to check if face is set.
18574
9173deec
JB
185752011-07-05 Juanma Barranquero <lekktu@gmail.com>
18576
18577 * register.el (registerv-make):
18578 * window.el (window-min-height): Fix typos in docstrings.
18579
869795d6
JD
185802011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18581
9173deec 18582 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18583 Update doc string.
18584
b768cdcd
JB
185852011-07-04 Juanma Barranquero <lekktu@gmail.com>
18586
18587 * server.el (server-execute): Catch quit and call
18588 `server-return-error' to pass the error back to emacsclient and
18589 close the connection (bug#8942).
18590
13aa217b
KM
185912011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18592
18593 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18594 insecure exception for current topic. Also note that auto-saves
18595 are handled differently.
18596
5d3385a0 18597 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18598 State variables for tracking auto-save inhibition situation.
18599
18600 (allout-write-contents-hook-handler): Rename from
18601 'allout-write-file-hook-handler', and describe how it depends on
18602 write-contents-functions sensitivity to non-nil value to prevent
18603 file write.
18604
18605 (allout-auto-save-hook-handler): Remove. auto-save does not check
18606 this in individual buffers, only in the starting buffer, so this
18607 is not the right way for us to inhibit auto-save in a buffer
18608 according to its condition.
18609
18610 (allout-mode): Use new allout-write-contents-hook-handler, and
18611 only with write-contents-functions. Remove auto-save provisions -
18612 they're implemented elsewhere.
18613
18614 (allout-before-change-handler): If undo is in progress, note that
18615 for attention of allout-post-command-business.
18616
18617 (allout-post-command-business): If the command we're following was
18618 an undo, check for change in the status of encrypted items and
18619 adjust auto-save inhibitions accordingly.
18620
18621 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18622 according to whether there are or aren't any plain-text topics
18623 pending encryption.
18624
2dcdbdd9 18625 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18626 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18627 if there are plain-text topics pending encryption.
13aa217b
KM
18628
18629 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18630 buffer-saved-size and some allout state to not inhibit auto-saves
18631 if there are no longer any plain-text topics pending encryption.
18632
0757af94
SM
18633 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18634 No longer provide for exemption of the current topic.
13aa217b 18635
ac89b32c
JL
186362011-07-04 Juri Linkov <juri@jurta.org>
18637
18638 Add 7z operations to delete and save changed members (bug#8968).
18639 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18640 New defcustoms.
18641 (archive-7z-write-file-member): New function.
18642 (archive-7z-summarize): Fix the number of dashes in the
18643 listing output.
18644
8fa39615
SM
186452011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18646
18647 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18648 (bug#8958).
18649
2f11b3f1
CY
186502011-07-04 Chong Yidong <cyd@stupidchicken.com>
18651
d66fef2b
CY
18652 * bindings.el: Ignore next-buffer and previous-buffer in
18653 minibuffer-local-map.
18654
2f11b3f1
CY
18655 * font-lock.el (font-lock-builtin-face): Change light background
18656 color to dark slate blue (Bug#6693).
18657
f932a347
WD
186582011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18659
18660 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18661
c8af70e1
SM
186622011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18663
18664 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18665 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18666 Add switch-to-buffer.
18667
f158badc
LMI
186682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18669
18670 * isearch.el (isearch-search-fun-function): Clarify further the
18671 meaning of the function returned.
18672
6d95bd46
MA
186732011-07-04 Michael Albinus <michael.albinus@gmx.de>
18674
18675 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18676
18677 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18678 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18679 Use it.
18680 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18681 `tramp-default-remote-path' does not exist.
18682 (tramp-send-command-and-read): New optional argument NOERROR.
18683 (tramp-open-connection-setup-interactive-shell)
18684 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18685 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18686 (tramp-process-sentinel): Flush also process' connection property.
18687 (tramp-sh-handle-start-file-process): Do not set process
18688 sentinel. It is done now ...
18689 (tramp-maybe-open-connection): ... here. (Bug#8929)
18690
909e6b67
MK
186912011-07-04 MON KEY <monkey@sandpframing.com>
18692
18693 * play/animate.el (animate-string): Doc fixes and allow changing
18694 the buffer name (bug#5417).
18695
186962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18697
c8af70e1 18698 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18699
f34755dc
PE
187002011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18701
396cec72
PE
18702 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18703 This is simpler and helps future-proof the code.
18704 (timer-until): Use time-subtract and float-time.
08235028 18705 (timer--time-less-p): Use time-less-p.
f34755dc 18706
56e6cc31
JB
187072011-07-04 Juanma Barranquero <lekktu@gmail.com>
18708
3abb79e5
JB
18709 * type-break.el (timep): Use the value of `float-time' to avoid a
18710 byte-compiler warning.
18711
56e6cc31
JB
18712 * server.el (server-eval-and-print): Return any result, even nil.
18713
7b9430b4
PE
187142011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18715
18716 * type-break.el: Accept time formats that the builtins accept.
18717 (timep, type-break-time-difference): Accept any format that
18718 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18719 This is simpler and helps future-proof the code.
18720 (type-break-time-difference): Round rather than ignoring
18721 subseconds components.
18722
3034e9e7
LMI
187232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18724
18725 * info.el (Info-apropos-matches): Make non-interactive, since it
18726 doesn't seem to do anything useful as a command (bug#8829).
18727
1485f4c0
CY
187282011-07-03 Chong Yidong <cyd@stupidchicken.com>
18729
18730 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18731 Move from faces.el.
1485f4c0
CY
18732 (frame-default-terminal-background): New function.
18733
18734 * custom.el (custom-push-theme): Don't record faces in `changed'
18735 theme; this doesn't work correctly for per-frame face settings.
18736 (disable-theme): Use face-set-after-frame-default to reset faces.
18737 (custom--frame-color-default): New function.
18738
9fa3dd45
LMI
187392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18740
c8af70e1 18741 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18742 (bug#8769).
18743
6cbbc20c
KR
187442011-03-29 Kevin Ryde <user42@zip.com.au>
18745
18746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18747 `perl-Test2' extend to match possible "fail #N" rep count
18748 (bug#8377).
18749
c7f98048
LMI
187502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18751
65676592
LMI
18752 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18753 `smtpmail-via-smtp' now returns the error instead of nil.
18754
c7f98048
LMI
18755 * isearch.el (isearch-search-fun-function): Clarify the doc string
18756 (bug#8101).
18757
56e6cc31 187582011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18759
18760 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18761 unnecessary spaces (bug#8987).
18762
2b216704
LMI
187632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18764
18765 * net/network-stream.el (open-network-stream): Use the
18766 :end-of-capability command thoughout.
18767
187682011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18769
18770 * net/network-stream.el (open-network-stream): Add the
18771 :end-of-capability command parameter, used by pop3.el.
18772
36adf6ce
LMI
187732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18774
1ca0da0e
LMI
18775 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18776
fc00f69c
LMI
18777 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18778 for list)" (bug#6475).
18779
28fd8759 18780 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18781 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18782 an error (bug#6297).
18783
0dd8b6da
LMI
18784 * man.el (Man-reference-regexp): Allow matching possible
18785 word-wrapped references (bug#6289).
18786
ce1438d6
LMI
18787 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18788 for consistency with the other vc buffers (bug#6197).
18789 (vc-checkin): Ditto.
18790
18791 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18792
36adf6ce
LMI
18793 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18794
e83cc1f7
LMI
187952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18796
8a20ca4c
LMI
18797 * custom.el (defcustom): Clarify that :set is only used in the
18798 Customize user interface (bug#6089).
18799
83319045
LMI
18800 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18801 associated with a file, refuse to run instead of erroring out
18802 (bug#6084).
18803
a8392169
LMI
18804 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18805 the doc string, since it appears that using `fill-column' always
18806 controls the width (bug#7845).
18807
e83cc1f7
LMI
18808 * simple.el (shell-command-on-region): Say where the error output
18809 went if `shell-command-default-error-buffer' is set (bug#6857).
18810
e47ca23b
KM
188112011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18812
18813 * allout.el (allout-yank-processing): Adjust cursor position for
18814 backwards-deleted space.
18815
18816 (allout-rebullet-heading): Register changes with
18817 allout-exposure-changed-hook, so the modified topic is properly
18818 decorated.
18819
5cf56143
LMI
188202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18821
08549772
LMI
18822 * minibuffer.el (completion-in-region): Document PREDICATE
18823 (bug#7136).
18824
48e96771
LMI
18825 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18826 of keyword/argument pairs (bug#6904).
18827
c8af70e1
SM
18828 * replace.el (multi-occur):
18829 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18830
e17d05e2
LMI
188312011-07-02 Drew Adams <drew.adams@oracle.com>
18832
18833 * dired.el (dired-mark-if): Make the message about whether it's
18834 marking or unmarking clearer (bug#8523).
18835
063b0e45
LMI
188362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18837
18838 * disp-table.el (display-table-print-array): New function.
18839 (describe-display-table): Use it to print the vectors more pretty
18840 (Bug#8859).
18841
28545e04
MR
188422011-07-02 Martin Rudalics <rudalics@gmx.at>
18843
18844 * window.el (window-state-get-1): Don't assign clone numbers.
18845 Add clone-of item to list of window parameters.
18846 (window-state-put-2): Don't process clone numbers.
18847 (display-buffer-alist): Fix doc-string.
18848
3349e122
SM
188492011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18850
18851 * subr.el (remq): Don't allocate if it's not needed.
18852 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18853 (keymap--merge-bindings): New functions.
18854 (keymap-canonicalize): Use them to refine the canonicalization.
18855 * minibuffer.el (minibuffer-local-completion-map)
18856 (minibuffer-local-must-match-map): Move initialization from C.
18857 (minibuffer-local-filename-completion-map): Move initialization from C;
18858 don't inherit from anything here.
18859 (minibuffer-local-filename-must-match-map): Make obsolete.
18860 (completing-read-default): Use make-composed-keymap to combine
18861 minibuffer-local-filename-completion-map with either
18862 minibuffer-local-must-match-map or
18863 minibuffer-local-filename-completion-map.
18864
d224ac83
GM
188652011-07-01 Glenn Morris <rgm@gnu.org>
18866
3de63bf8
GM
18867 * type-break.el (type-break-time-sum): Use dolist.
18868
d224ac83
GM
18869 * textmodes/flyspell.el (flyspell-word-search-backward):
18870 Replace CL function.
18871
1a1e3f32
SM
188722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18873
fe3f64d5
SM
18874 * mouse.el (mouse--strip-first-event): New function.
18875 (function-key-map): Use it to map fringe clicks to normal clicks
18876 by default.
18877
eb604e34
SM
18878 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18879 (vc-bzr-revision-completion-table): Add support for annotate and date.
18880
1a1e3f32
SM
18881 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18882 inherit from parent.
18883
5bd35902
LMI
188842011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18885
ace6c69c 18886 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18887 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18888
191e2bed
LMI
18889 * dired.el (dired-mode): Fix up the doc string as suggested by
18890 Drew Adams (bug#8817).
18891
5bd35902
LMI
18892 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18893 cookie, since the manual says that it should be possible to add
18894 this function to `find-file-hook' (bug#8709).
18895
eee8207a
TZ
188962011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18897
18898 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18899 here. Noted Ted Zlatanov as the maintainer.
18900 (cfengine-common-settings, cfengine-common-syntax): New functions
18901 to set up common things between `cfengine-mode' and
18902 `cfengine3-mode'.
18903 (cfengine3-mode): New mode.
18904 (cfengine3-defuns cfengine3-defuns-regex
18905 (cfengine3-class-selector-regex cfengine3-category-regex)
18906 (cfengine3-vartypes cfengine3-font-lock-keywords)
18907 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18908 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18909
36b148cf
MA
189102011-07-01 Michael Albinus <michael.albinus@gmx.de>
18911
18912 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18913
18914 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18915
0bf4ba9a
MR
189162011-07-01 Martin Rudalics <rudalics@gmx.at>
18917
18918 * window.el (same-window-buffer-names, same-window-regexps)
18919 (same-window-p, special-display-frame-alist)
18920 (special-display-popup-frame, special-display-function)
18921 (special-display-buffer-names, special-display-regexps)
18922 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18923 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18924 (split-window-preferred-function, split-height-threshold)
18925 (split-width-threshold, even-window-heights)
18926 (display-buffer-mark-dedicated, window-splittable-p)
18927 (split-window-sensibly, window-safely-shrinkable-p):
18928 Un-obsolete.
18929 (display-buffer): Don't spread args with function specifier
18930 because special-display-popup-frame won't like it.
18931
35837f51
PE
189322011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18933
d0672f86
PE
18934 Time-stamp simplifications and fixes.
18935 These improve accuracy slightly, and future-proof the code
18936 against some potential changes to current-time format.
18937
b9444d97
PE
18938 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18939 by using time-since and float-time.
18940
0ef923dc
PE
18941 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18942 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18943 + NNN microseconds".
18944
2f81380d
PE
18945 * type-break.el (type-break-time-sum): Rewrite using time-add.
18946
845b5c3e
PE
18947 * play/hanoi.el (hanoi-current-time-float): Remove.
18948 All uses replaced by float-time.
18949
ee6f1be0
PE
18950 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18951 This yields a more-accurate answer.
18952 (rng-time-to-float): Remove; no longer needed.
18953
fe955043
PE
18954 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18955
5777162a
PE
18956 * calendar/timeclock.el (timeclock-seconds-to-time):
18957 Defalias to seconds-to-time, since they're the same thing.
18958
3103f8b6 18959 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18960 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18961 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18962
0e61a35f
SM
189632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18964
18965 * window.el (bury-buffer): Don't iconify the only frame.
18966 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18967 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18968
ddd63a1e
CY
189692011-07-01 Chong Yidong <cyd@stupidchicken.com>
18970
0e61a35f
SM
18971 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18972 Add mouse-yank-primary.
ddd63a1e 18973
055f4923
TZ
189742011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18975
18976 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18977
6a2fb145
SM
189782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18979
18980 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18981 (find-library-name): Use it to find relative load names when provided
18982 absolute file name (bug#8803).
18983
fd4983f2
LMI
189842011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18985
887d14ad
LMI
18986 * textmodes/flyspell.el (flyspell-word): Consider words that
18987 differ only in case as potential doublons (bug#5687).
18988
c53dc7fc
LMI
18989 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18990 Remove two rather uninteresting debugging-like messages to make
18991 debbugs.el more silent.
18992
fd4983f2
LMI
18993 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18994 a password-like phrase.
18995
7a71b18d 189962011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18997
18998 * progmodes/cc-guess.el: New file.
18999
6a2fb145 19000 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19001
19002 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19003 derived from `c-basic-common-init'.
19004
19005 * progmodes/cc-mode.el (top-level): Require cc-guess.
19006 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19007
1fa280a3
LM
190082011-06-30 Lawrence Mitchell <wence@gmx.li>
19009
19010 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19011
e6597158
AM
190122011-06-30 Alan Mackenzie <acm@muc.de>
19013
1fa280a3
LM
19014 * progmodes/cc-engine.el (c-guess-continued-construct):
19015 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19016 lock is disabled. Name this case as "CASE G".
19017
68ba37fb
KM
190182011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19019
19020 * allout.el (allout-yank-processing): Fix injection of extra space
19021 between bullet and non-whitespace character in first topic when
19022 pasting, ensuring that the actual spacing in the pasted topic
19023 following the bullet char is preserved. This extra space was
19024 causing pasted encrypted topics to get a decrypted status even
19025 when the content was actually still encrypted. Now the decryption
19026 status from before the paste is preserved.
19027
19028 (allout-flag-region): Set all allout overlays so they evaporate
19029 when reduced to zero length (evanescent), to prevent overlay
19030 leakage.
19031
887a0b34
GM
190322011-06-30 Glenn Morris <rgm@gnu.org>
19033
94b9acce
GM
19034 * w32-fns.el (w32-charset-info-alist): Declare.
19035
1d9b46d4
GM
19036 * find-dired.el (find-grep-options): Simplify.
19037
cc232200
GM
19038 * term/ns-win.el (ns-set-resource): Declare.
19039
28e77c46
GM
19040 * ses.el (row, col): Declare dynamic variables honestly.
19041
887a0b34
GM
19042 * textmodes/reftex-parse.el (index-tags): Declare.
19043
658d8eb8
CY
190442011-06-30 Chong Yidong <cyd@stupidchicken.com>
19045
19046 * cus-edit.el (customize-push-and-save): New function.
19047
19048 * files.el (hack-local-variables-confirm): Use it.
19049
1fa280a3
LM
19050 * custom.el (load-theme): New arg NO-CONFIRM.
19051 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19052 (custom-enabled-themes): Doc fix.
19053
19054 * cus-theme.el (customize-create-theme)
19055 (custom-theme-merge-theme): Callers to load-theme changed.
19056
bb617717
LMI
190572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19058
d61bdd5d
LMI
19059 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19060 short URLs have at least one dot in them (bug #7614).
19061
bb617717
LMI
19062 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19063 nil, because using a pty is apparently too slow (bug #895).
19064
2f31f37a
LMI
190652011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19066
19067 * mail/sendmail.el (sendmail-query-once): New function.
19068 (sendmail-query-once-function): New variable.
19069
3076b24e
GM
190702011-06-29 Glenn Morris <rgm@gnu.org>
19071
faf2a174
GM
19072 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19073
3076b24e
GM
19074 * ses.el (top-level): Require cl when compiling.
19075 (ses-set-localvars): Fix error statement.
19076 Call it at compile time to silence a storm of warnings.
19077
5386012d
MR
190782011-06-29 Martin Rudalics <rudalics@gmx.at>
19079
19080 * window.el (normalize-live-buffer): Rename to
19081 window-normalize-buffer.
19082 (normalize-live-frame): Rename to window-normalize-frame.
19083 (normalize-any-window): Rename to window-normalize-any-window.
19084 (normalize-live-window): Rename to window-normalize-live-window.
19085 (make-window-atom): Rename to window-make-atom.
19086 (window-resize-reset): Rename to window--resize-reset.
19087 (window-resize-reset-1): Rename to window--resize-reset-1.
19088 (resize-mini-window): Rename to window--resize-mini-window.
19089 (resize-subwindows-skip-p): Rename to
19090 window--resize-subwindows-skip-p.
19091 (resize-subwindows-normal): Rename to
19092 window--resize-subwindows-normal.
19093 (resize-subwindows): Rename to window--resize-subwindows.
19094 (resize-other-windows): Rename to window--resize-siblings.
19095 (resize-this-window): Rename to window--resize-this-window.
19096 (resize-root-window): Rename to window--resize-root-window.
19097 (resize-root-window-vertically): Rename to
19098 window--resize-root-window-vertically.
19099 (normalize-buffer-to-display): Rename to
19100 window-normalize-buffer-to-display.
19101 (normalize-buffer-to-switch-to): Rename to
19102 window-normalize-buffer-to-switch-to.
19103 Correspondingly update all callers of the functions listed
19104 above.
19105 (display-buffer-alist, display-buffer-normalize-arguments)
19106 (display-buffer-normalize-options, display-buffer)
19107 (display-buffer-alist-set): Use "function" instead of
19108 "fun-with-args".
19109
1176868d
CY
191102011-06-28 Chong Yidong <cyd@stupidchicken.com>
19111
19112 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19113 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19114 debbugs.gnu.org. Mention acknowledgment email.
19115
20a7a65f
LMI
191162011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19117
19118 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19119 buffer multibyteness, since it shouldn't matter.
19120
5f45cca5
MR
191212011-06-28 Martin Rudalics <rudalics@gmx.at>
19122
19123 * window.el (display-buffer-in-side-window): Handle dedicated
19124 windows as in display-buffer-reuse-window.
19125 (display-buffer-normalize-alist): Use value of override
19126 specifier.
19127 (display-buffer-normalize-specifiers): Use value of
19128 other-window-means-other-frame specifier.
19129 (display-buffer-alist): Rewrite some texts in widgets.
19130 (display-buffer): Spread arguments when calling function
19131 specified by fun-with-args.
19132
ad85fe1f
DD
191332011-06-28 Deniz Dogan <deniz@dogan.se>
19134
1fa280a3
LM
19135 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19136 Unnest `let'.
da68c4c8 19137
ad85fe1f
DD
19138 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19139 selectors (Bug#5732).
ec49bd31 19140 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19141
a08cc025
JA
191422011-06-27 Jari Aalto <jari.aalto@cante.net>
19143
19144 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19145 (eshell-ls-date-format): New defcustom.
19146 (eshell-ls-file): Use it.
19147
e2b551c5
SM
191482011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19149
19150 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19151
8982b231
KY
191522011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19153
19154 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19155 (ange-ftp-make-tmp-name): New arg.
19156 (ange-ftp-file-local-copy): Use it.
19157
36c9fa27
J
191582011-06-27 Jambunathan K <kjambunathan@gmail.com>
19159
19160 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19161 no-conversion (Bug#8870).
19162
d68443dc
MR
191632011-06-27 Martin Rudalics <rudalics@gmx.at>
19164
19165 * window.el (window-right, window-left, window-child)
19166 (window-child-count, window-last-child)
19167 (window-iso-combination-p, walk-window-tree-1)
19168 (window-atom-check-1, window-tree-1, delete-window)
19169 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19170 new naming conventions - window-vchild, window-hchild,
19171 window-next and window-prev are now called window-top-child,
19172 window-left-child, window-next-sibling and window-prev-sibling
19173 respectively.
d615d6d2
MR
19174 (resize-window-reset): Rename to window-resize-reset.
19175 (resize-window-reset-1): Rename to window-resize-reset-1.
19176 (resize-window): Rename to window-resize.
19177 (window-min-height, window-min-width)
19178 (resize-mini-window, resize-this-window, resize-root-window)
19179 (resize-root-window-vertically, adjust-window-trailing-edge)
19180 (enlarge-window, shrink-window, maximize-window)
19181 (minimize-window, delete-window, quit-restore-window)
19182 (split-window, balance-windows, balance-windows-area-adjust)
19183 (balance-windows-area, window-state-put-2)
19184 (display-buffer-even-window-sizes, display-buffer-set-height)
19185 (display-buffer-set-width, set-window-text-height)
19186 (fit-window-to-buffer): Rename all "resize-window" prefixed
19187 calls to use the "window-resize" prefix convention.
19188 (display-buffer-alist): Fix symbol for label specifier.
19189 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19190 corresponding specifier.
19191 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19192
b6458526
VB
191932011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19194
19195 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19196 convention.
19197 (ses-call-printer): Does not pass an empty string to formatter when the
19198 cell is empty to keep from barking printer Calc math-format-value.
19199
d31fd9ac
RS
192002011-06-27 Richard Stallman <rms@gnu.org>
19201
43d5bf84
RS
19202 * battery.el (battery-mode-line-limit): New variable.
19203 (battery-update): Handle it.
19204
d31fd9ac
RS
19205 * mail/rmailmm.el (rmail-mime-process-multipart):
19206 Handle truncated messages.
19207
819a6054
GM
192082011-06-27 Glenn Morris <rgm@gnu.org>
19209
19210 * progmodes/flymake.el (flymake-err-line-patterns):
19211 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19212
cedc73f2
VB
192132011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19214
819a6054 19215 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19216 (ses--clean-!, ses--clean-_): New functions.
19217 (ses-range): Add configurability of readout order, and conversion
19218 to Calc vector.
19219
5e5d49b6
VB
19220 * ses.el (ses-repair-cell-reference-all): New function.
19221 (ses-cell-symbol): Set macro as safe, so that it can be used in
19222 formulas.
19223
56e6cc31 19224 * ses.el: Update cycle detection algorithm.
90ca8b49 19225 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19226 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19227 (ses-set-localvars): New function.
19228 (ses-make-cell): Add property-list as a cell element.
19229 (ses-cell-property-get-fun, ses-cell-property-get)
19230 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19231 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19232 New functions.
90ca8b49
VB
19233 (ses-cell-property-set, ses-cell-property-pop)
19234 (ses-cell-property-get-handle): New macro.
19235 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19236 New aliases, used for code readability.
19237 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19238 cycle detection.
19239 (ses-self-reference-early-detection): New defcustom.
fac916bf 19240 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19241 (ses-mode): Use ses-set-localvars.
19242 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19243 before lauching the update processing.
19244 (ses-initialize-Dijkstra-attempt): New function.
19245 (ses-recalculate-cell): Update for cycle detection based on
19246 Dijkstra algorithm.
19247
2bb63e81
VB
19248 * ses.el: Fix commenting and indenting convention.
19249
c9d29fb8
SM
192502011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19251
19252 * bs.el (bs-cycle-next): Complete last change.
19253
d8e4b68b
JB
192542011-06-27 Drew Adams <drew.adams@oracle.com>
19255
19256 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19257
40098786
LMI
192582011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19259
c9d29fb8
SM
19260 * net/network-stream.el (network-stream-open-starttls):
19261 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19262 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19263
40098786
LMI
19264 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19265 to binary to possibly avoid line encoding issues on Windows (among
19266 other things).
19267
468d09d4
LMI
192682011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19269
19270 * net/network-stream.el (open-network-stream): Return an :error
19271 saying what the problem was, if possible.
19272
19273 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19274 server.
19275
19276 * net/network-stream.el (network-stream-open-starttls): If we
19277 wanted to use STARTTLS, and the server offered it, but we weren't
19278 able to because we had no STARTTLS support, then close the connection.
19279 (open-network-stream): Return an :error element, if present.
19280
16f07dd7
CY
192812011-06-26 Chong Yidong <cyd@stupidchicken.com>
19282
88821ca0
CY
19283 * hl-line.el (hl-line-sticky-flag): Doc fix.
19284 (global-hl-line-sticky-flag): New option (Bug#8323).
19285 (global-hl-line-highlight): Obey it.
19286
16f07dd7
CY
19287 * vc/vc.el (vc-revert-show-diff): Default to t.
19288
6b5ccddf
KM
192892011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19290
c9d29fb8
SM
19291 * allout-widgets.el (allout-widgets-post-command-business):
19292 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19293 undecorated when an isearch is continued past, and isearch
19294 automatically collapses them. This leads to "widget leaks", where
19295 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19296 hidden widgets can slow down cursor travel, substantially.
19297 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19298 so we're doing without this nicety.
19299
19300 (allout-widgets-tally-string): Don't try to do a hash-table-count
19301 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19302 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19303 *Messages* when allout-widgets-maintain-tally is t.
19304
355f2e07
MR
193052011-06-26 Martin Rudalics <rudalics@gmx.at>
19306
19307 * window.el (display-buffer-normalize-argument): Rename to
19308 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19309 LABEL argument. Respect special-display-function when popping up
19310 a new frame. Fix code searching for a window showing the buffer
19311 on another frame.
c9d29fb8
SM
19312 (display-buffer-normalize-specifiers):
19313 Call display-buffer-normalize-arguments.
355f2e07
MR
19314 (display-buffer-in-window): Don't undedicate the window if its
19315 buffer remains the same.
19316 Reported by Drew Adams <drew.adams@oracle.com>.
19317 (display-buffer-alist): Add choice for same-window macro
19318 specfier.
19319 (display-buffer): Mention special meaning of LABEL argument in
19320 doc-string. Fix quoting. Don't pop up a new frame even as
19321 fallback.
19322
7ca8fc42
JB
193232011-06-26 Juanma Barranquero <lekktu@gmail.com>
19324
19325 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19326 avoid deleting the current window in some cases (bug#8911).
19327
bc312254
AS
193282011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19329
19330 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19331 (Bug#8934)
19332
2db18f3f
LMI
193332011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19334
c9d29fb8
SM
19335 * net/network-stream.el (network-stream-open-starttls):
19336 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19337 (network-stream-open-tls): Ditto.
19338
6302e0d3
LL
193392011-06-26 Leo Liu <sdl.web@gmail.com>
19340
19341 * register.el (registerv): New struct.
19342 (registerv-make): New function.
c9d29fb8
SM
19343 (jump-to-register, describe-register-1, insert-register):
19344 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19345 struct. (Bug#8415)
19346
5fdd4046
CY
193472011-06-26 Chong Yidong <cyd@stupidchicken.com>
19348
2afef60a
CY
19349 * vc/vc.el (vc-revert-show-diff): New defcustom.
19350 (vc-diff-internal): New arg specifying diff buffer.
19351 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19352 reuse an existing *vc-diff* buffer (Bug#8927).
19353
5fdd4046
CY
19354 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19355
e93db24a
GM
193562011-06-26 Glenn Morris <rgm@gnu.org>
19357
19358 * progmodes/f90.el (f90-critical-indent): New option.
19359 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19360 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19361 (f90-mode): Doc fix.
19362 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19363 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19364 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19365 (f90-match-end): Handle block, critical.
19366
eefff499
GM
193672011-06-25 Glenn Morris <rgm@gnu.org>
19368
f6ba4cc9
GM
19369 * calendar/diary-lib.el (diary-included-files): Doc fix.
19370 (diary-include-files): New function, extracted from
19371 diary-include-other-diary-files and diary-mark-included-diary-files.
19372 (diary-include-other-diary-files, diary-mark-included-diary-files):
19373 Just call diary-include-files.
19374 (diary-mark-entries): Reset diary-included-files on first call.
19375
16712304
GM
19376 * calendar/diary-lib.el (diary-mark-entries)
19377 (diary-mark-included-diary-files):
19378 Visit included diary-files in temp buffers.
19379
5d8e0d43
GM
19380 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19381 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19382 (f90-start-block-re, f90-imenu-generic-expression)
19383 (f90-looking-at-program-block-start, f90-no-block-limit):
19384 Add support for submodules.
19385
ccf7a5d5
GM
19386 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19387 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19388
11fdef7d 193892011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19390
19391 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19392 buffer-file-type before setting its value, to avoid disastrous
eefff499 19393 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19394
74f53697
JB
193952011-06-25 Juanma Barranquero <lekktu@gmail.com>
19396
19397 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19398
19399 * ses.el (ses-unload-function):
19400 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19401
19402 * proced.el (proced-unload-function):
19403 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19404
18a4ce5e
AR
194052011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19406
19407 * server.el (server-create-window-system-frame): Add parameters arg.
19408 (server-process-filter): Doc fix. Handle frame-parameters.
19409
519d22cc
JB
194102011-06-25 Juanma Barranquero <lekktu@gmail.com>
19411
19412 Fix bug#8730, bug#8781.
19413
19414 * loadhist.el (unload--set-major-mode): New function.
19415 (unload-feature): Use it.
19416
19417 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19418 (python-unload-function): New function.
19419
c206f5b0
SM
194202011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19423
f9ad64f3
GS
194242011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19425
19426 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19427 the candidates list.
19428
7d0da90e
JB
194292011-06-24 Juanma Barranquero <lekktu@gmail.com>
19430
19431 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19432
14b4e83d
RS
194332011-06-23 Richard Stallman <rms@gnu.org>
19434
19435 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19436 (rmail-variables): Set next-error-move-function.
19437 (rmail-what-message): Take argument POS.
19438 (rmail-next-error-move): New function.
19439
273d2baf
SM
194402011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19441
19442 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19443 messages for adjacent non-terminals.
19444
56c2cc9a
RS
194452011-06-23 Richard Stallman <rms@gnu.org>
19446
19447 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19448 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19449 (rmail-start-mail): Don't specify use of rmail-mail-return;
19450 that's done by mail-bury now.
19451 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19452
d59eb518
MA
194532011-06-23 Michael Albinus <michael.albinus@gmx.de>
19454
19455 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19456 SIZE is a number.
19457
02cfc6d6
MR
194582011-06-23 Martin Rudalics <rudalics@gmx.at>
19459
19460 * window.el (get-lru-window, get-mru-window)
19461 (get-largest-window): Never return a minibuffer window.
19462 (display-buffer-pop-up-window): Fix a bug that could lead to
19463 reusing the minibuffer window.
19464 (display-buffer): Pass original specifier argument to
19465 display-buffer-function instead of the normalized one.
19466 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19467
4e323265
LL
194682011-06-22 Leo Liu <sdl.web@gmail.com>
19469
19470 * minibuffer.el (completing-read-function)
1f9f395d 19471 (completing-read-default): Move from minibuf.c.
4e323265 19472
7a70468f
RS
194732011-06-22 Richard Stallman <rms@gnu.org>
19474
50718fc2
RS
19475 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19476 to Rmail even if not started by a special Rmail command.
19477
7a70468f
RS
19478 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19479 Copy the buffer currently showing just one message.
19480
297dde5a
RW
194812011-06-22 Roland Winkler <winkler@gnu.org>
19482
19483 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19484 (bibtex-clean-entry): First delete the old key so that a
19485 customized algorithm for generating the new key does not get
19486 confused by the old key.
19487 (bibtex-url): Obey regexp of first step.
19488 (bibtex-search-entries): Do not use add-to-list with local
19489 list-var.
19490
97bb1093
LMI
194912011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19492
19493 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19494 stored a user name, then query for the password first, instead of
19495 waiting for SMTP to give an error message and the trying again.
19496
1c0f1a19
JD
194972011-06-22 Lawrence Mitchell <wence@gmx.li>
19498
19499 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19500 BUFFER in call-process.
19501
396f7c9d
LMI
195022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19503
19504 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19505 QUIT twice.
ddb7ffee
LMI
19506 (smtpmail-try-auth-methods): Require user name and password from
19507 auth-source.
396f7c9d 19508
8998d1b3
MR
195092011-06-22 Martin Rudalics <rudalics@gmx.at>
19510
19511 * window.el (display-buffer-default-specifiers)
19512 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19513 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19514 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19515
19516 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19517 (special-display-frame-alist, special-display-popup-frame):
19518 Remove duplicate declarations. These are now in window.el.
19519
4ea31e07
LMI
195202011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19521
c9d29fb8
SM
19522 * mail/smtpmail.el (smtpmail-via-smtp):
19523 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19524 server supports it. SMTP servers that support STARTTLS commonly
19525 require it.
19526
19527 * net/network-stream.el (network-stream-open-starttls): Support
19528 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19529 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19530
95f41d9a
LMI
19531 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19532 upgrades with `open-network-stream', and rely solely on
19533 auth-source for all credentials. Big changes throughout the file,
19534 but in particular:
c9d29fb8
SM
19535 (smtpmail-auth-credentials): Remove.
19536 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19537 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19538 MAIL FROM, too.
95f41d9a 19539
c9d29fb8
SM
19540 * net/network-stream.el (network-stream-open-starttls):
19541 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19542 STARTTLS.
19543 (auth-source): Require.
19544 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19545 (network-stream-certificate): Change cert-cert to cert and
19546 cert-key to key.
4ea31e07 19547
065ec2c7
MA
195482011-06-21 Michael Albinus <michael.albinus@gmx.de>
19549
19550 * net/tramp-cache.el (top): Don't load the persistency file when
19551 "emacs -Q" has been called.
19552
cd93b359
DR
195532011-06-21 Tim Harper <timcharper@gmail.com>
19554
d8e4b68b
JB
19555 * term/ns-win.el (ns-initialize-window-system):
19556 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19557 resource to NO as it is not yet supported by the NS port.
19558
ae9c0411
JB
195592011-06-21 Juanma Barranquero <lekktu@gmail.com>
19560
19561 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19562 (list-dynamic-libraries): ...not here.
19563
7f3f739f
LL
195642011-06-21 Leo Liu <sdl.web@gmail.com>
19565
19566 * subr.el (sha1): Implement sha1 using secure-hash.
19567
327c8fb1
MR
195682011-06-21 Martin Rudalics <rudalics@gmx.at>
19569
19570 * window.el (display-buffer-alist): In default value do not
19571 enforce searching a window on any but the selected frame.
19572 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19573 (display-buffer-select-window): Remove function.
19574 (display-buffer-in-window): When a window on another frame gets
19575 reused, do not select it any more but just raise its frame if
19576 necessary (Bug#8851) and (Bug#8856).
19577 (display-buffer-normalize-options): Handle pop-up-frames related
19578 options more faithfully.
19579 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19580 window if it is on another frame.
c9d29fb8
SM
19581 (display-buffer-alist, display-buffer-default-specifiers):
19582 Don't make new frame unsplittable by default.
9e9de014
MR
19583 (display-buffer-normalize-argument): Fix doc-string typo and use
19584 'same-frame-other-window instead of 'other-window when associating
19585 with display-buffer-macro-specifiers.
327c8fb1 19586
7cf3f556
VB
195872011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19588
19589 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19590 New functions.
19591 (5x5-mode-map, 5x5-mode-menu): Bind them.
19592 (5x5-draw-grid): Tweak the solver's rendering.
19593
60a406cf
SM
195942011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19595
19596 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19597 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19598
d8e4b68b 195992011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19600
19601 * menu-bar.el: Use function variable instead of switch-to-buffer.
19602 (menu-bar-select-buffer-function): New variable.
60a406cf 19603 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19604
478d6f95
SM
196052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19606
19607 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19608 variable's status.
19609
ca530739
JD
196102011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19611
19612 * x-dnd.el (x-dnd-version-from-flags)
19613 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19614 and long as number (Bug#8899).
19615 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19616
bcd70d97
SM
196172011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19618
60a406cf 19619 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19620 (completion-try-completion, completion-all-completions): Compute the
19621 metadata argument if it's missing; make it optional (bug#8795).
19622
60a406cf 19623 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19624 (widget-complete): Use new :completion-function property.
19625 (widget-completions-at-point): New function.
19626 (default): Use :completion-function instead of :complete.
60a406cf
SM
19627 (widget-default-completions): Rename from widget-default-complete;
19628 Rewrite.
bcd70d97
SM
19629 (widget-string-complete, widget-file-complete, widget-color-complete):
19630 Remove functions.
19631 (file, symbol, function, variable, coding-system, color):
19632 * international/mule-cmds.el (default-input-method, charset)
19633 (language-info-custom-alist):
19634 * cus-edit.el (face): Use new property :completions.
19635
19636 * progmodes/pascal.el (pascal-completions-at-point): New function.
19637 (pascal-mode): Use it.
19638 (pascal-mode-map): Use completion-at-point.
19639 (pascal-toggle-completions): Make obsolete.
19640 (pascal-complete-word, pascal-show-completions):
19641 * progmodes/octave-mod.el (octave-complete-symbol):
19642 Redefine as obsolete alias.
19643 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19644 Signal absence of completion info for old Octave,
19645 (inferior-octave-complete): Redefine as obsolete alias.
19646 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19647 (meta-completions-at-point): Rename from meta-complete-symbol and
19648 adapt it for use on completion-at-point-functions.
19649 (meta-common-mode): Use it.
19650 (meta-looking-at-backward, meta-match-buffer): Remove.
19651 (meta-complete-symbol): Redefine as obsolete alias.
19652 (meta-common-mode-map): Use completion-at-point.
19653 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19654 (makefile-mode-map): Use completion-at-point.
19655 (makefile-completions-at-point): Rename from makefile-complete and
19656 adapt it for use on completion-at-point-functions.
19657 (makefile-mode): Use it.
19658 (makefile-complete): Redefine as obsolete alias.
19659
aebf69c8
DD
196602011-06-20 Deniz Dogan <deniz@dogan.se>
19661
19662 * net/rcirc.el: Delete trailing whitespaces once and for all.
19663
bfbbb27d
DC
196642011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19665
19666 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19667
d264a46b
CY
196682011-06-19 Chong Yidong <cyd@stupidchicken.com>
19669
4ca009e5
CY
19670 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19671
d264a46b
CY
19672 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19673
fbf5b3ce
MR
196742011-06-19 Martin Rudalics <rudalics@gmx.at>
19675
19676 * window.el (display-buffer-other-window-means-other-frame):
19677 Call display-buffer-normalize-alist.
19678 (display-buffer-normalize-specifiers-1): Rename to
19679 display-buffer-normalize-argument. New argument other-frame.
19680 Rewrite.
19681 (display-buffer-normalize-specifiers-2): Rename to
19682 display-buffer-normalize-options.
19683 (display-buffer-normalize-alist-1): New function.
19684 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19685 display-buffer-normalize-alist.
19686 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19687 (display-buffer-normalize-options-inhibit): New variable.
19688 (display-buffer-normalize-specifiers): Rewrite calling
19689 display-buffer-normalize-alist,
19690 display-buffer-normalize-argument, and
19691 display-buffer-normalize-options. Don't call the latter if
19692 display-buffer-normalize-options-inhibit is non-nil.
19693 (frame-auto-delete): New option.
19694 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19695 (window-list-no-nils, window-state-ignored-parameters)
19696 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19697 (window-state-put-1, window-state-put-2, window-state-put):
19698 New functions.
9a028c23
MR
19699 (display-buffer-normalize-options): Move special-display-p group
19700 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19701
6d10d800
CY
197022011-06-18 Chong Yidong <cyd@stupidchicken.com>
19703
6420d28b
CY
19704 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19705 groups (Bug#8776).
19706 (rx-submatch-n): New function.
19707 (rx): Document it.
19708
ddb8b596
CY
19709 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19710 (Bug#8768).
19711
19712 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19713
77080289
CY
19714 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19715
61dfb316
CY
19716 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19717 anytime existing face settings are present (Bug#8889).
19718
6d10d800
CY
19719 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19720 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19721 Remove unused argument.
19722
be3fb2b8
MR
197232011-06-18 Martin Rudalics <rudalics@gmx.at>
19724
bcd70d97
SM
19725 * window.el (display-buffer-default-specifiers):
19726 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19727 pop-up-window-min-width, and another reuse-window specifier
19728 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19729 (display-buffer-normalize-specifiers-2):
19730 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19731 pop-up-windows is unset. Add a reuse-window specifier for the
19732 case popping up a new window fails.
19733 (special-display-popup-frame): Remove double quoting.
28dec25a 19734 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19735
1c6d8c76
SM
197362011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19737
19738 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19739 according to comint-completion-addsuffix.
19740
19741 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19742 (pcomplete-suffix-list): Mark as obsolete.
19743 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19744 pcomplete-seen in the closure.
19745 (pcomplete-comint-setup): Setup completion-at-point as well.
19746 (pcomplete--entries): New function.
19747 (pcomplete--env-regexp): New var.
19748 (pcomplete-entries): Rewrite to work with partial-completion and
19749 without relying on pcomplete-suffix-list.
19750 (pcomplete-pare-list): Remove, unused.
19751
25aef8b8
MR
197522011-06-17 Martin Rudalics <rudalics@gmx.at>
19753
19754 * window.el (display-buffer-alist): Set pop-up-window-min-height
19755 and pop-up-window-min-width in default value. Reported by
19756 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19757 other-window-means-other-frame.
19758 (display-buffer-macro-specifiers): Comment out entry for
19759 other-window specifier.
19760 (display-buffer-other-window-means-other-frame): New function.
19761 (display-buffer-normalize-specifiers-1): New arguments
19762 buffer-name and label. Treat other-window case specially.
19763 (display-buffer-normalize-specifiers-2): Treat other-window case
19764 specially.
19765 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19766 (display-buffer-normalize-specifiers):
19767 Call display-buffer-normalize-specifiers-3.
25aef8b8 19768
dbad4f69
MR
197692011-06-17 Martin Rudalics <rudalics@gmx.at>
19770
19771 * window.el (same-window-p): Fix two typos introduced when
19772 adding with-no-warnings.
d1067961
MR
19773 (display-buffer-normalize-specifiers-1): Don't check
19774 pop-up-frames for 'unset initialization.
19775 (display-buffer-normalize-specifiers-2): Major rewrite using
19776 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19777 (pop-up-frames, display-buffer-reuse-frames)
19778 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19779 Suggested by David Engster <deng@randomsample.de>.
19780 (even-window-heights): Initialize to 'unset.
19781 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19782 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19783 other window case.
dbad4f69 19784
9b9c9e3a
MR
197852011-06-16 Martin Rudalics <rudalics@gmx.at>
19786
bcd70d97
SM
19787 * window.el (display-buffer-normalize-specifiers-1):
19788 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19789 second argument of display-buffer (Bug#8865).
981d5c09
MR
19790 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19791 (switch-to-buffer-other-window-same-frame)
19792 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19793 Adams (Bug#8875).
9c2755e9
MR
19794 (display-buffer): Don't check noninteractive when calling
19795 display-buffer-pop-up-frame.
19796 (display-buffer-pop-up-frame): Never pop up a frame in
19797 noninteractive mode (Bug#8857).
67222e1d
MR
19798 (enlarge-window, shrink-window): Don't report an error when the
19799 window can't be resized as requested (Bug#8862).
9b9c9e3a 19800
2b75be67
SM
198012011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19802
9ffdd3ba
SM
19803 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19804
cb581a67
SM
19805 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19806
2b75be67
SM
19807 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19808
8c0e3589
AM
198092011-06-15 Alan Mackenzie <acm@muc.de>
19810
cb581a67
SM
19811 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19812 for declarators, disable knr checking to speed up for normal files.
19813 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19814
b96e6cde
LMI
198152011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19816
4bba86e6
LMI
19817 * net/network-stream.el (open-network-stream): Add the keyword
19818 :always-query-capabilities for the case where you want to force a
19819 `plain' network connection, but the protocol still requires the
19820 capabilitiy command (i.e., SMTP and EHLO).
19821
2b75be67 19822 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19823 consistency with other `-live-p' functions.
19824
efdcdbf8
SM
198252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19826
19827 * window.el (same-window-buffer-names, same-window-regexps)
19828 (special-display-frame-alist, special-display-popup-frame)
19829 (special-display-function, special-display-buffer-names)
19830 (special-display-regexps, pop-up-frame-alist)
19831 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19832 (pop-up-windows, split-window-preferred-function)
19833 (split-height-threshold, split-width-threshold, even-window-heights)
19834 (display-buffer-mark-dedicated): Don't encourage the use of
19835 display-buffer-alist from Elisp code.
19836
c5cde042
DN
198372011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19838
19839 * progmodes/python.el (python-mode): Derive from prog-mode.
19840 * progmodes/ps-mode.el (ps-mode):
19841 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19842 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19843 * progmodes/ld-script.el (ld-script-mode): Likewise.
19844
baa1c9ab
MR
198452011-06-15 Martin Rudalics <rudalics@gmx.at>
19846
19847 * window.el (display-buffer-alist): Trim default value to avoid
19848 popping up a new frame (Bug#8857) or reusing an arbitrary window
19849 on another frame.
19850 (display-buffer): Do not fall back on popping up a new frame in
19851 batch mode (Bug#8857).
19852
c5dd5a51
CY
198532011-06-14 Chong Yidong <cyd@stupidchicken.com>
19854
19855 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19856 (custom-theme-summary): New function.
19857 (customize-themes): Use it.
19858
d647b7c4
GM
198592011-06-13 Glenn Morris <rgm@gnu.org>
19860
19861 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19862
9481c002
MR
198632011-06-13 Martin Rudalics <rudalics@gmx.at>
19864
357f93d2
MR
19865 * help.el (help-window): Remove variable.
19866 (help-window-point-marker, temp-buffer-max-height)
19867 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19868 (help-print-return-message): Don't set help-window.
19869 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19870 (help-window-setup-finish): Remove.
19871 (help-window-display-message, help-window-setup)
19872 (with-help-window): Major rewrite based on new
19873 display-buffer-window variable.
19874
19875 * help-mode.el (help-mode-finish): Remove help-window related
19876 code.
19877
19878 * view.el (view-exits-all-viewing-windows): Remove reference to
19879 view-return-to-alist in doc-string.
19880 (view-return-to-alist): Make obsolete.
19881 (view-buffer): Call pop-to-buffer-same-window and remove
19882 undo-window code.
19883 (view-buffer-other-window): Call pop-to-buffer-other-window and
19884 simplify code. Ignore second argument.
19885 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19886 simplify code. Ignore second argument.
19887 (view-return-to-alist-update): Make obsolete.
19888 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19889 Rewrite using quit-restore window parameters.
2b75be67
SM
19890 (view-mode-exit): Rename second argument to EXIT-ONLY.
19891 Rewrite using quit-restore-window.
357f93d2
MR
19892 (View-exit, View-exit-and-edit, View-leave, View-quit)
19893 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19894 appropriate arguments.
19895 (view-end-message): Use quit-restore window parameter.
19896
9481c002
MR
19897 * window.el (display-buffer-function): Rewrite doc-string.
19898 (display-buffer-window, display-buffer-alist): New variables.
19899 (display-buffer-split-specifiers)
19900 (display-buffer-side-specifiers)
19901 (display-buffer-macro-specifiers): New constants.
19902 (display-buffer-even-window-sizes, display-buffer-set-height)
19903 (display-buffer-set-width, display-buffer-select-window)
19904 (display-buffer-in-window, display-buffer-reuse-window)
19905 (display-buffer-split-window-1, display-buffer-split-window)
19906 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19907 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19908 (display-buffer-in-side-window, normalize-buffer-to-display)
19909 (display-buffer-normalize-specifiers-1)
19910 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19911 (display-buffer-normalize-specifiers, display-buffer-frame):
19912 New functions.
9481c002
MR
19913 (display-buffer): Major rewrite.
19914 (display-buffer-other-window, display-buffer-other-frame)
19915 (pop-to-buffer, switch-to-buffer-other-window)
19916 (switch-to-buffer-other-frame): Rewrite.
19917 (display-buffer-same-window, display-buffer-same-frame)
19918 (display-buffer-same-frame-other-window)
19919 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19920 (pop-to-buffer-other-window)
19921 (pop-to-buffer-same-frame-other-window)
19922 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19923 (switch-to-buffer-other-window-same-frame): New functions.
19924 (same-window-p, special-display-p): Rewrite disabling warnings.
19925 Make obsolete.
19926 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19927 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19928 Make obsolete
19929 (same-window-buffer-names, same-window-regexps)
19930 (special-display-frame-alist, special-display-popup-frame)
19931 (special-display-function, special-display-buffer-names)
19932 (special-display-regexps, pop-up-frame-alist)
19933 (pop-up-frame-function, split-window-preferred-function)
19934 (split-height-threshold, split-width-threshold)
19935 (even-window-heights): Make obsolete.
19936
9db51aca
GM
199372011-06-12 Glenn Morris <rgm@gnu.org>
19938
19939 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19940 Misc simplifications.
9db51aca 19941
39cffb44
MR
199422011-06-12 Martin Rudalics <rudalics@gmx.at>
19943
19944 * window.el (window-safely-shrinkable-p): Restore function which
19945 was inadvertently removed in change from 2011-06-11. Declare as
19946 obsolete.
19947
2b75be67
SM
19948 * calendar/calendar.el (calendar-generate-window):
19949 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19950 window-safely-shrinkable-p.
19951
a8955be7
GM
199522011-06-12 Glenn Morris <rgm@gnu.org>
19953
19954 * progmodes/fortran.el (fortran-mode-syntax-table):
19955 * progmodes/f90.el (f90-mode-syntax-table):
19956 Set % to punctuation. (Bug#8820)
19957 (f90-find-tag-default): Remove, no longer needed.
19958
f0d4059d
DC
199592011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19960
19961 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19962
1100a63c
CY
199632011-06-11 Chong Yidong <cyd@stupidchicken.com>
19964
19965 * image.el (image-animated-p): Return animation delay in seconds.
19966 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19967 (image-animate-timeout): Remove DELAY argument. Don't assume
19968 every subimage has the same delay; get it from image-animated-p.
19969 (image-animate): Caller changed.
19970
def722bf
MA
199712011-06-11 Michael Albinus <michael.albinus@gmx.de>
19972
19973 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19974 to ignored backtrace functions.
19975
0a2bb1a9
GM
199762011-06-11 Glenn Morris <rgm@gnu.org>
19977
19978 * calendar/appt.el (appt-disp-window-function): Doc fix.
19979 (appt-check): Handle overlapping appointments. (Bug#8337)
19980
6198ccd0
MR
199812011-06-11 Martin Rudalics <rudalics@gmx.at>
19982
19983 * window.el (window-tree-1, window-tree): New functions, moving
19984 the latter to window.el.
19985 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19986 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19987 (bw-refresh-edges): Remove.
19988 (balance-windows-1, balance-windows-2): New functions.
19989 (balance-windows): Rewrite in terms of window tree functions,
19990 balance-windows-1 and balance-windows-2.
19991 (bw-adjust-window): Remove.
19992 (balance-windows-area-adjust): New function with functionality of
19993 bw-adjust-window but using resize-window.
2b75be67
SM
19994 (set-window-text-height): Rewrite doc-string.
19995 Use normalize-live-window and resize-window.
19996 (enlarge-window-horizontally, shrink-window-horizontally):
19997 Rename argument to DELTA.
6198ccd0
MR
19998 (window-buffer-height): New function.
19999 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20000 Rewrite using new window resize routines.
2b75be67
SM
20001 (kill-buffer-and-window, mouse-autoselect-window-select):
20002 Use ignore-errors instead of condition-case.
6198ccd0
MR
20003 (quit-window): Call delete-frame instead of delete-windows-on
20004 for the only buffer on frame.
20005
9397e56f
MR
200062011-06-10 Martin Rudalics <rudalics@gmx.at>
20007
20008 * loadup.el (top-level): Load window before files for the sake
20009 of replace-buffer-in-windows.
20010
20011 * files.el (read-buffer-to-switch)
20012 (switch-to-buffer-other-window)
2b75be67
SM
20013 (switch-to-buffer-other-frame, display-buffer-other-frame):
20014 Move to window.el.
9397e56f
MR
20015
20016 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20017 (previous-buffer): Move to window.el.
20018
20019 * bindings.el (unbury-buffer): Move to window.el.
20020
20021 * window.el (delete-other-windows-vertically): Move after
20022 definition of delete-other-windows.
20023 (other-window, delete-windows-on, replace-buffer-in-windows):
20024 Move here from window.c.
20025 (record-window-buffer, unrecord-window-buffer)
20026 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20027 (switch-to-next-buffer): New functions.
20028 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20029 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20030 (previous-buffer): Move here from simple.el.
20031 Call switch-to-prev-buffer.
9397e56f
MR
20032 (bury-buffer): Move here from buffer.c. Switch to previous
20033 buffer when window cannot be deleted.
20034 (unbury-buffer): Move here from bindings.el.
20035 (ctl-x-map): Move binding for other-window from window.c to
20036 here.
20037 (read-buffer-to-switch, switch-to-buffer-other-window)
20038 (switch-to-buffer-other-frame): Move here from files.el.
20039 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20040 (switch-to-buffer): Move here from buffer.c.
20041 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20042
562dd5e9
MR
200432011-06-10 Martin Rudalics <rudalics@gmx.at>
20044
20045 * window.el (window-min-height, window-min-width): Move here
20046 from window.c. Add defcustoms and rewrite doc-strings.
20047 (resize-mini-window, resize-window): New functions.
20048 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20049 Move here from window.c.
20050 (maximize-window, minimize-window): New functions.
20051 (delete-window, delete-other-windows, split-window): Move here
20052 from window.c.
20053 (window-split-min-size): New function.
20054 (split-window-keep-point): Mention split-window-above-each-other
20055 instead of split-window-vertically.
2b75be67 20056 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20057 Rename split-window-vertically to split-window-above-each-other
20058 and provide defalias for old definition.
20059 (split-window-side-by-side, split-window-horizontally):
20060 Rename split-window-horizontally to split-window-side-by-side
20061 and provide defalias for the old definition.
562dd5e9
MR
20062 (ctl-x-map): Move bindings for delete-window,
20063 delete-other-windows and enlarge-window here from window.c.
20064 Replace bindings for split-window-vertically and
20065 split-window-horizontally by bindings for
20066 split-window-above-each-other and split-window-side-by-side.
20067
20068 * cus-start.el (all): Remove entries for window-min-height and
20069 window-min-width. Add entries for window-splits and
20070 window-nest.
20071
f0da764a
GM
200722011-06-09 Glenn Morris <rgm@gnu.org>
20073
80675c21
GM
20074 * calendar/appt.el (appt-mode-line): New function.
20075 (appt-check, appt-disp-window): Use it.
20076
f0da764a
GM
20077 * files.el (hack-one-local-variable-eval-safep):
20078 Allow minor-modes with explicit +/-1 arguments.
20079
59f623b7
TZ
200802011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20081
20082 * term/xterm.el (xterm): Add defgroup.
20083 (xterm-extra-capabilities): Add defcustom to supply known xterm
20084 capabilities, skip querying them, or query them (default).
20085 (terminal-init-xterm): Use it.
20086 (terminal-init-xterm-modify-other-keys): New function to set up
20087 modifyOtherKeys support to simplify `terminal-init-xterm'.
20088
9aab8e0d
MR
200892011-06-09 Martin Rudalics <rudalics@gmx.at>
20090
20091 * window.el (resize-window-reset, resize-window-reset-1)
20092 (resize-subwindows-skip-p, resize-subwindows-normal)
20093 (resize-subwindows, resize-other-windows, resize-this-window)
20094 (resize-root-window, resize-root-window-vertically)
20095 (window-deletable-p, window-or-subwindow-p)
20096 (frame-root-window-p): New functions.
20097
e8b08aee
GM
200982011-06-09 Glenn Morris <rgm@gnu.org>
20099
20100 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20101 (ange-ftp-get-files): Use it.
20102
254c37a5
AK
201032011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20104
20105 * mail/sendmail.el (mail-recover-1, mail-recover):
20106 * files.el (recover-file, recover-session):
20107 Handle dired-listing-switches not being just a single short option.
20108
35d7dbd3
GM
201092011-06-09 Glenn Morris <rgm@gnu.org>
20110
20111 * calendar/appt.el (appt-display-message, appt-disp-window):
20112 Handle lists of appointments.
20113
387522b2
MR
201142011-06-08 Martin Rudalics <rudalics@gmx.at>
20115
2b75be67
SM
20116 * window.el (one-window-p): Move down in code.
20117 Rewrite doc-string.
20118 (window-current-scroll-bars): Rewrite doc-string.
20119 Normalize live window argument.
387522b2
MR
20120 (walk-windows, get-window-with-predicate, count-windows):
20121 Rewrite doc-string. Use window-list-1.
20122 (window-in-direction-2, window-in-direction, get-mru-window):
20123 New functions.
20124
d8e4b68b 201252011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20126
20127 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20128 Doc fix (Bug#8713).
20129
201302011-06-08 Chong Yidong <cyd@stupidchicken.com>
20131
20132 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20133
201342011-06-08 Juanma Barranquero <lekktu@gmail.com>
20135
20136 * loadhist.el (unload-feature-special-hooks):
20137 Add `comint-output-filter-functions'.
20138
0de12c52
IK
201392011-06-08 Ivan Kanis <gnu@kanis.fr>
20140
20141 * calendar/appt.el (appt-check): Move some initializations into the let.
20142
f3d1777e
MR
201432011-06-08 Martin Rudalics <rudalics@gmx.at>
20144
20145 * window.el (window-height): Defalias to window-total-height.
20146 (window-width): Defalias to window-body-width.
20147
18af70d0
CY
201482011-06-07 Chong Yidong <cyd@stupidchicken.com>
20149
20150 * image-mode.el (image-toggle-animation): New command.
20151 (image-mode-map): Bind it to RET.
20152 (image-mode): Update message.
20153 (image-toggle-display-image): Avoid a spurious cache flush.
20154 (image-transform-rotation): Doc fix.
20155 (image-transform-properties): Return quickly in the normal case.
20156 (image-animate-loop): Rename from image-animate-max-time.
20157
2b75be67 20158 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20159 (create-animated-image): Remove unnecessary function.
20160 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20161 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20162 (image-animate-timer): Use car-safe.
20163 (image-animate-timeout): Rename argument.
20164
190b47e6
MR
201652011-06-07 Martin Rudalics <rudalics@gmx.at>
20166
20167 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20168 window.c. Rename first argument to ALL-FRAMES.
20169 Rephrase doc-strings.
20170 (get-buffer-window-list): Rewrite using window-list-1.
20171 Rephrase doc-string.
a1511caf
MR
20172 (window-safe-min-height, window-safe-min-width): New constants.
20173 (window-size-ignore, window-min-size, window-min-size-1)
20174 (window-sizable, window-sizable-p, window-size-fixed-1)
20175 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20176 (window-max-delta-1, window-max-delta, window-resizable)
20177 (window-resizable-p, window-total-height, window-total-width)
20178 (window-body-width): New functions.
20179 (window-full-height-p, window-full-width-p): Rewrite using
20180 window-total-size.
20181 (window-body-height): Rewrite using window-body-size.
190b47e6 20182
85cc1f11
MR
201832011-06-06 Martin Rudalics <rudalics@gmx.at>
20184
20185 * window.el (window-right, window-left, window-child)
20186 (window-child-count, window-last-child, window-any-p)
20187 (normalize-live-buffer, normalize-live-frame)
20188 (normalize-any-window, normalize-live-window)
20189 (window-iso-combination-p, window-iso-combined-p)
20190 (window-iso-combinations)
20191 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20192 (windows-with-parameter, window-with-parameter)
20193 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20194 (window-atom-check, window-side-check, window-check):
20195 New functions.
85cc1f11
MR
20196 (ignore-window-parameters, window-sides, window-sides-vertical)
20197 (window-sides-slots): New variables.
20198 (window-size-fixed): Move down in code. Minor doc-string fix.
20199
e7156492
AS
202002011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20201
20202 * comint.el (comint-dynamic-complete-as-filename)
20203 (comint-dynamic-complete-filename): Correctly call
20204 completion-in-region.
20205
7e821d0d
DD
202062011-06-05 Deniz Dogan <deniz@dogan.se>
20207
20208 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20209 in last change.
20210
ac09b8a1
DD
202112011-06-05 Deniz Dogan <deniz@dogan.se>
20212
20213 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20214 (rcirc): Use it to prompt for encryption.
20215
34699b85
RW
202162011-06-05 Roland Winkler <winkler@gnu.org>
20217
20218 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20219 (bibtex-search-entries): New command bound to C-c C-a.
20220 (bibtex-display-entries): New function.
20221
004dedd3
RW
202222011-06-05 Roland Winkler <winkler@gnu.org>
20223
20224 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20225 (bibtex-insert-kill): After yanking insert newline if necessary.
20226 (bibtex-initialize): Call bibtex-string-files-init only once.
20227 (bibtex-mode): Do not call easy-menu-add.
20228 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20229 (bibtex-yank): Set arg properly if nil.
20230
022fe7ce
RW
202312011-06-05 Roland Winkler <winkler@gnu.org>
20232
2b75be67
SM
20233 * textmodes/bibtex.el (bibtex-search-entry-globally):
20234 New variable.
022fe7ce
RW
20235 (bibtex-search-entry): Use it.
20236
b7c3692a
RW
202372011-06-05 Roland Winkler <winkler@gnu.org>
20238
20239 * textmodes/bibtex.el (bibtex-entry-format): New option
20240 sort-fields.
20241 (bibtex-format-entry, bibtex-reformat): Honor this option.
20242 (bibtex-parse-entry): Return fields in proper order.
20243
8eda563d
JB
202442011-06-05 Juanma Barranquero <lekktu@gmail.com>
20245
20246 * doc-view.el (doc-view-remove-if): Move computation of result out
20247 of `dolist' to silence misleading lexical-binding warning.
20248
7dbe3dbc
CY
202492011-06-04 Chong Yidong <cyd@stupidchicken.com>
20250
20251 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20252 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20253
0c33dd17
MA
202542011-06-04 Michael Albinus <michael.albinus@gmx.de>
20255
20256 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20257 "SunOS 5.10".
20258
f8f91c2b
MA
202592011-06-04 Michael Albinus <michael.albinus@gmx.de>
20260
20261 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20262 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20263 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20264 (tramp-parse-putty):
20265 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20266 (tramp-completion-function-alist-ssh)
20267 (tramp-completion-function-alist-telnet)
20268 (tramp-completion-function-alist-su)
20269 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20270 cookie.
20271
20272 * net/tramp-ftp.el:
20273 * net/tramp-sh.el:
20274 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20275 load "tramp.el" `tramp-set-completion-function'.
20276
e17d9003
SM
202772011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * shell.el: Require and use pcomplete.
20280 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20281 (shell-completion-vars): Set pcomplete-default-completion-function.
20282
6c4cab03
DD
202832011-06-04 Deniz Dogan <deniz@dogan.se>
20284
20285 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20286 `memq' (Bug#8799).
20287
ea9fafe0
SM
202882011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20289
20290 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20291
b3e945d3
JB
202922011-06-02 Juanma Barranquero <lekktu@gmail.com>
20293
20294 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20295 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20296 * vc/log-view.el (log-view-beginning-of-defun):
20297 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20298 (smerge-refine-forward, smerge-refine-chopup-region):
20299 Silence warning for unused `dotimes' counter variables.
20300
7d520089
SM
203012011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20302
20303 * net/tramp.el (tramp-with-progress-reporter): Rename from
20304 with-progress-reporter. Use `declare'.
20305 * net/tramp-smb.el:
20306 * net/tramp-sh.el:
20307 * net/tramp-gvfs.el: Update all uses.
20308
a1c2400f
JB
203092011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20310
20311 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20312 buffer isn't killed before making it current.
20313
2403c841
SM
203142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20315
20316 Silence various byte-compiler warnings.
20317 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20318 `access-type' and new obsolescence format.
20319 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20320 new format.
20321 (byte-compile-check-variable): New `access-type' argument.
20322 Only warn if the access-type is obsolete.
20323 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20324 (byte-compile-variable-set): Adjust callers.
20325 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20326 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20327 setting it as obsolete.
20328 * simple.el (minibuffer-completing-symbol):
20329 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20330 access as obsolete.
20331 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20332 obsolete yet.
20333 * international/quail.el (quail-mouse-choose-completion): Remove unused
20334 code referring to obsolete var.
20335 (quail-choose-completion-string): Remove.
20336 * server.el (server-clients-with, server-kill-buffer-query-function)
20337 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20338 * proced.el (proced-send-signal):
20339 * emacs-lisp/lisp.el (lisp-complete-symbol):
20340 Replace completion-annotate-function with completion-extra-properties.
20341
2462470b
SM
203422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20343
fb5b2591
SM
20344 * simple.el (goto-line): Use read-number.
20345 (overriding-map-is-bound): Remove.
20346 (saved-overriding-map): Change default.
20347 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20348 Take the map as argument.
20349 (universal-argument, negative-argument, digit-argument): Use it.
20350 (restore-overriding-map): Adjust.
20351 (do-auto-fill): Use fill-forward-paragraph.
20352 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20353
fd6fa53f
SM
20354 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20355 (minibuffer-inactive-mode): New major mode.
20356 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20357 the *Messages* buffer" hack.
20358 (mouse-popup-menubar): Don't burp if the event is a normal key.
20359
2462470b
SM
20360 Miscellaneous tweaks.
20361 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20362 lexical scoping as in subr.el's dolist and dotimes.
20363 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20364 Silence compiler warning.
20365 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20366 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20367 * international/ccl.el (ccl-compile): Trivial simplification.
20368 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20369 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20370 `printflag' argument.
20371 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20372 Purecopy the whole obsolescence data.
20373
108bf785
LL
203742011-06-01 Leo Liu <sdl.web@gmail.com>
20375
20376 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20377 improve doc-string as suggested by Marco Pessotto
20378 <melmothx@gmail.com>.
20379 (rcirc-print): Fix last change.
20380
30a23501
SM
203812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20382
20383 * minibuffer.el (complete-with-action): Return nil for the metadata and
20384 boundaries of non-functional tables.
20385 (completion-table-dynamic): Return nil for the metadata.
20386 (completion-table-with-terminator): Add default case, using
20387 complete-with-action.
20388 (completion--metadata): New function.
20389 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20390 to try and avoid pathological performance problems.
20391 (completion--embedded-envvar-table): Return `category' metadata.
20392
bcd54f83
LMI
203932011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20394
20395 * subr.el (process-alive-p): New tiny convenience function.
20396
e227544d
SM
203972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20398
20399 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20400 content but also its previous major mode.
20401
e8296fdc
HE
204022011-05-31 Helmut Eller <eller.helmut@gmail.com>
20403
4d61f28d 20404 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20405 *Backtrace* buffer when we exit with C-M-c.
20406
620c53a6
SM
204072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20408
20409 * minibuffer.el: Add metadata method to completion tables.
20410 (completion-category-overrides): New defcustom.
20411 (completion-metadata, completion--field-metadata)
20412 (completion-metadata-get, completion--styles)
20413 (completion--cycle-threshold): New functions.
20414 (completion-try-completion, completion-all-completions):
20415 Add `metadata' argument to choose completion-styles.
20416 (completion--do-completion): Use metadata to choose cycling.
20417 (completion-all-sorted-completions): Use metadata for sorting.
20418 Remove :completion-cycle-penalty which is not needed any more.
20419 (completion--try-word-completion): Add `metadata' argument.
20420 (minibuffer-completion-help): Check metadata for annotation function
20421 and sorting.
20422 (completion-file-name-table): Return `category' metadata.
20423 (minibuffer-completing-file-name): Make obsolete.
20424 * simple.el (minibuffer-completing-symbol): Make obsolete.
20425 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20426 completion-try-completion.
20427
1257e755
SM
204282011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20429
20430 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20431
3767e706
LL
204322011-05-30 Leo Liu <sdl.web@gmail.com>
20433
20434 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20435 (rcirc-print): Decode all incoming messages (bug#8744).
20436 (rcirc-decode-coding-system): Allow value nil for automatic coding
20437 system detection.
3767e706 20438
d1a5d56a
GM
204392011-06-01 Glenn Morris <rgm@gnu.org>
20440
20441 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20442
e8cbec34
CY
204432011-05-29 Chong Yidong <cyd@stupidchicken.com>
20444
20445 * image.el (image-animate-max-time): Allow nil and t values.
20446 Default to nil.
20447 (create-animated-image): Doc fix.
20448 (image-animate-start): Remove second arg; just use
20449 image-animate-max-time.
20450 (image-animate-timeout): Doc fix. Args changed.
20451
20452 * image-mode.el (image-toggle-display-image): Ensure that the
20453 image spec passed to the animate timer is the same object as in
58179cce 20454 the buffer's display property (Bug#6981).
e8cbec34
CY
20455 (image-transform-properties): Doc fix.
20456
20457 * image.el (image-animate-max-time): Default to nil.
20458
159daf87
MR
204592011-05-29 Martin Rudalics <rudalics@gmx.at>
20460
20461 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20462 entire buffer list (Bug#8184).
20463
d66c4c7c
CY
204642011-05-29 Chong Yidong <cyd@stupidchicken.com>
20465
20466 * image.el (imagemagick-types-inhibit)
20467 (imagemagick-register-types): Doc fix.
20468
80aec780
DD
204692011-05-29 Deniz Dogan <deniz@dogan.se>
20470
20471 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20472 default.
20473
1dd3c2d9
CY
204742011-05-29 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * select.el: Don't perform clipboard-manager saving in hooks;
20477 leave the hooks empty.
20478
60e56523
LL
204792011-05-28 Leo Liu <sdl.web@gmail.com>
20480
20481 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20482 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20483 (occur-edit-mode): New major mode (Bug#8463).
20484 (occur-after-change-function): New function.
20485 (occur-engine): Give Occur tags a read-only property.
20486
2b1e1a22
KR
204872011-05-28 Kevin Ryde <user42@zip.com.au>
20488
20489 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20490
5d344e88
CY
204912011-05-28 Chong Yidong <cyd@stupidchicken.com>
20492
8e6ca83d
CY
20493 * bindings.el (help-echo): Make the initial non-indicator dash
20494 empty on graphical terminals (Bug#7295).
20495
5d344e88
CY
20496 * files.el (auto-mode-alist): Move config rule after the
20497 in-stripping one (Bug#8547).
20498
bfbbace7
CY
20499 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20500
fbeba6e2
CY
20501 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20502 setting (Bug#8740).
20503
60ed8c72
AA
205042011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20505
4ac619f0
AA
20506 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20507 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20508 (Bug#8539).
60ed8c72 20509
23db196e
CY
205102011-05-28 Chong Yidong <cyd@stupidchicken.com>
20511
20512 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20513
5012f24c
DK
205142011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20515
20516 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20517 (hs-hide-block-at-point, hs-find-block-beginning)
20518 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20519 (Bug#8279).
20520
6a639b16
GM
205212011-05-28 Glenn Morris <rgm@gnu.org>
20522
20523 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20524
d43eaf2c
CY
205252011-05-28 Chong Yidong <cyd@stupidchicken.com>
20526
5199bde1
CY
20527 * help-fns.el (describe-function-1): If the function is a derived
20528 major mode, print the parent mode.
20529
d43eaf2c
CY
20530 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20531 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20532
423428a8
SM
205332011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20534
0ff8e1ba 20535 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20536 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20537 * progmodes/etags.el (tags-completion-at-point-function):
20538 * info-look.el (info-lookup-completions-at-point): Mark as
20539 non-exclusive.
20540 (info-complete): Adjust accordingly.
20541
423428a8
SM
20542 * info-look.el: Convert to lexical-binding and completion-at-point.
20543 (info-lookup-completions-at-point): New function.
20544 (info-complete): Use it and completion-in-region.
20545
b74aa22b
DA
205462011-05-28 Drew Adams <drew.adams@oracle.com>
20547
20548 * isearch.el: Let M-e start with point at the first mismatched char.
20549 (isearch-fail-pos): New function.
20550 (isearch-edit-string): Use it.
20551
66e2e71d
DK
205522011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20553
20554 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20555
b1890b0f 205562011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20557
20558 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20559 traversal functions for avl-trees.
20560 (avl-tree--stack): New struct.
20561 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20562 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20563 (avl-tree--do-enter): Add optional `updatefun' arg.
20564 Change return value.
eb95d01d 20565 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20566 (avl-tree--do-delete): Add `test' and `nilflag' args.
20567 Change return value.
eb95d01d
TC
20568 (avl-tree-member): Add optional `nilflag'
20569 (avl-tree-member-p): New function.
20570 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20571 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20572 (avl-tree-stack-empty-p): New functions.
20573
3769ddcf
TC
20574 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20575 avl-tree--del-balance1 and make it work both ways.
20576 (avl-tree--del-balance2): Remove.
20577 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20578 make it work both ways.
20579 (avl-tree--enter-balance2): Remove.
20580 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20581 New macros.
20582 (avl-tree--mapc, avl-tree-map): Add direction argument.
20583
eb95d01d 205842011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20585
20586 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20587
a9f737ee
CY
205882011-05-27 Chong Yidong <cyd@stupidchicken.com>
20589
20590 * select.el: Support clipboard managers with built-in function
20591 x-clipboard-manager-save, via delete-frame-functions and
20592 kill-emacs-hook.
20593 (xselect-convert-to-targets): Add MULTIPLE target to list.
20594 (xselect-convert-to-save-targets): New function.
20595
c92a1e54
KH
205962011-05-27 Kenichi Handa <handa@m17n.org>
20597
20598 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20599 let-binding rfc2047-encode-encoded-words to nil.
20600
e145f188
GM
206012011-05-27 Glenn Morris <rgm@gnu.org>
20602
5ec8a862
GM
20603 * mail/emacsbug.el: Don't require url-util.
20604
4b29d9fb
GM
20605 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20606
e145f188
GM
20607 * files.el (set-auto-mode):
20608 Also respect mode: entries at the end of the file. (Bug#8586)
20609
7d15102b
GM
206102011-05-26 Glenn Morris <rgm@gnu.org>
20611
98f593b8
GM
20612 * files.el (hack-local-variables-prop-line, hack-local-variables):
20613 Downcase mode names, as seems to be traditional.
27b48e63 20614 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20615
7d15102b
GM
20616 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20617 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20618
51d5b4ec
JD
206192011-05-25 Julien Danjou <julien@danjou.info>
20620
20621 * textmodes/rst.el (rst-define-level-faces): Do not define face
20622 symbol if it is already defined.
20623
91513f63
VB
206242011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20625
20626 * play/5x5.el (5x5-new-game, 5x5-randomize):
20627 Reset 5x5-solver-output to nil when a new grid is cast.
20628 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20629 these debugging traces, as defmacro breaks the compiled code.
20630
4d90d6d0
DK
206312011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20632
20633 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20634
e1b90ef6
LL
206352011-05-24 Leo Liu <sdl.web@gmail.com>
20636
20637 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20638 (vc-bzr-sha1): Adapt.
20639
d8e4b68b 20640 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20641
20642 * bindings.el: Provide sha1 feature.
20643
db0406bb 206442011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20645
20646 * mail/sendmail.el: Require `rfc2047'.
20647 (mail-insert-from-field): Do not perform RFC2047 encoding.
20648 (mail-encode-header): New function.
20649 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20650 buffer to the return value of select-message-coding-system.
20651 Call mail-encode-header.
b8d747b9
KH
20652
20653 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20654
db0406bb 206552011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20656
4d90d6d0
DK
20657 * mail/supercite.el (sc-default-cite-frame):
20658 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20659
eb8a5e9b
GM
206602011-05-24 Glenn Morris <rgm@gnu.org>
20661
f8630703
GM
20662 * progmodes/python.el (brm-menu): Declare.
20663
8831bbed
GM
20664 * emulation/viper.el (viper-set-hooks): Declare.
20665
eb8a5e9b
GM
20666 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20667 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20668 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20669 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20670 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20671 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20672
a2a25d24
SM
206732011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 Add an :exit-function for completion-at-point.
20676
20677 * minibuffer.el (completion--done): New fun.
20678 (completion--do-completion): Use it. New arg `expect-exact'.
20679 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20680 since completion--do-completion does it for us now.
20681 (minibuffer-force-complete): Use completion--done and
20682 completion--replace. Handle sole-completion case with more care.
20683 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20684 (completion-extra-properties): New var.
20685 (completion-annotate-function): Make obsolete.
20686 (minibuffer-completion-help): Adjust accordingly.
20687 Use completion-list-insert-choice-function.
20688 (completion-at-point, completion-help-at-point):
20689 Bind completion-extra-properties.
20690 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20691 * simple.el (completion-list-insert-choice-function): New var.
20692 (completion-setup-function): Preserve it.
20693 (choose-completion): Pay attention to it, shuffle the code a bit.
20694 (choose-completion-string): New arg `insert-function'.
20695
20696 * textmodes/bibtex.el: Convert to lexical binding.
20697 (bibtex-mode-map): Use completion-at-point.
20698 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20699 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20700 (bibtex-complete): Define as obsolete alias.
20701 (bibtex-complete-internal): Remove.
20702 (bibtex-format-entry): Remove unused sub-group in regexp.
20703 * shell.el (shell--command-completion-data)
20704 (shell-environment-variable-completion):
20705 * pcomplete.el (pcomplete-completions-at-point):
20706 * comint.el (comint--complete-file-name-data): Use :exit-function
20707 instead of completion-table-with-terminator so it also works for
20708 choose-completion.
20709
e44e373d
SM
207102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20711
4f91a816
SM
20712 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20713
782fc819
SM
20714 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20715 (bug#8710).
20716
e44e373d
SM
20717 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20718
381987c3
KM
207192011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20720
20721 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20722 customization variable and implement: If non-nil, auto-fill will
20723 be inhibited while on topic's header line.
20724
b776bc70
VB
207252011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20726
20727 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20728 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20729 always have a solution in grid size = 5 cases.
20730 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20731 (5x5-solver-output, 5x5-log-buffer): New vars.
20732 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20733 Make these variables buffer local to achieve 5x5 multi-session-ness.
20734 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20735 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20736 (5x5-solve-suggest): New funs.
20737 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20738 randomize a grid so that we ensure that there is always a solution.
20739 (5x5-make-random-grid): Allow other movement than flipping.
20740
7de88b6e
KR
207412011-05-23 Kevin Ryde <user42@zip.com.au>
20742
20743 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20744 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20745 advice and passes PREDICATE.
20746
b1ef1257
SM
207472011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20748
bbca48fe
SM
20749 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20750 byte-compile-lambda if it's actually a lambda.
20751
b1ef1257
SM
20752 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20753 Fix function quoting. Use backquote better.
20754
92a9cc65
YS
207552011-05-22 Yuanle Song <sylecn@gmail.com>
20756
20757 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20758 matching (Bug#8516).
20759
f0fb8059
JA
207602011-01-22 Jari Aalto <jari.aalto@cante.net>
20761
20762 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20763 different face (Bug#8178).
20764
d5b44c93
CY
207652011-05-22 Chong Yidong <cyd@stupidchicken.com>
20766
20767 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20768 defface (Bug#8144).
20769
79106a44
SM
207702011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20771
9c848d8a
SM
20772 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20773 funcall as well (bug#8712). Warn when performing those conversions.
20774 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20775
79106a44
SM
20776 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20777
88dfa756
GM
207782011-05-22 Glenn Morris <rgm@gnu.org>
20779
20780 * files.el (hack-local-variables-prop-line): Small simplifications.
20781 (hack-local-variables, hack-local-variables-prop-line):
20782 If MODE-ONLY, return the mode, rather than just `t'.
20783
b7cf2c79
SM
207842011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20785
20786 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20787
3f1a8558
GM
207882011-05-21 Glenn Morris <rgm@gnu.org>
20789
7e4ccca3
GM
20790 * files.el (hack-local-variables-prop-line, hack-local-variables):
20791 If only interested in the mode, don't bother doing the other stuff.
20792
637d46ca
GM
20793 * image-mode.el (image-after-revert-hook):
20794 Redraw all frames on which the image is visible. (Bug#8567)
20795
973d955b
GM
20796 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20797
3f1a8558
GM
20798 * wid-edit.el (widget-checklist-match-inline):
20799 Fix 2011-04-19 change. (Bug#8649)
20800
96479927
SM
208012011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20802
1dcf791f
SM
20803 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20804 Also allow singlespace after single-letter capitals followed by a dot.
20805
96479927
SM
20806 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20807 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20808
35fd0881
N
208092011-05-20 Nix <nix@esperi.org.uk>
20810
20811 * files.el (basic-save-buffer-2):
20812 Fix handling of break-hardlink-on-save with non-existent files.
20813
82745640
DD
208142011-05-19 Deniz Dogan <deniz@dogan.se>
20815
20816 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20817 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20818
4a720484
GM
208192011-05-19 Glenn Morris <rgm@gnu.org>
20820
d1f21341
GM
20821 * progmodes/f90.el (f90-type-def-re):
20822 Handle "type, bind(c)". (Bug#8691)
20823
4a720484
GM
20824 * emacs-lisp/autoload.el (batch-update-autoloads):
20825 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20826
2fb0a219
MA
208272011-05-18 Michael Albinus <michael.albinus@gmx.de>
20828
20829 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20830 property for the correct connection in case of multihops.
20831
e565dd37
GM
208322011-05-18 Glenn Morris <rgm@gnu.org>
20833
c2571358 20834 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20835 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20836
e565dd37
GM
20837 Rationalize calendar handling of day and month abbrev-arrays.
20838 * calendar/calendar.el (calendar-customized-p): New function.
20839 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20840 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20841 Add :set function.
20842 (calendar-abbrev-length, calendar-day-abbrev-array)
20843 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20844 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20845 Elements may no longer be nil.
20846 (calendar-day-name, calendar-month-name):
20847 Update for changed nature of abbrev arrays.
20848 * calendar/diary-lib.el (diary-name-pattern):
20849 Update for changed nature of abbrev arrays.
20850 (diary-mark-entries-1): Update calendar-make-alist calls.
20851 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20852 * calendar/cal-html.el (cal-html-day-abbrev-array):
20853 Simply inherit from calendar-day-abbrev-array.
20854
1d99a745
SM
208552011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20856
20857 * progmodes/grep.el (grep-mode): Disable default
20858 compilation-directory-matcher setting (bug#8684).
20859
7c1d9aa0
MA
208602011-05-17 Michael Albinus <michael.albinus@gmx.de>
20861
20862 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20863 instead of "head" and "tail". There were problems with SunOS 5.9,
20864 and it performs better.
20865
3952e9d8
GM
208662011-05-17 Glenn Morris <rgm@gnu.org>
20867
2dd12e7f
GM
20868 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20869
e4157b9c
GM
20870 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20871 Replace obsolete function.
20872
8e249bbd
GM
20873 * shell.el (pcomplete-parse-arguments-function): Declare.
20874
3952e9d8
GM
20875 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20876 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20877 (appt-check): Doc fixes.
20878 (appt-disp-window-function, appt-delete-window-function):
20879 Remove needless special case in custom :type.
20880 (appt-display-count): Default to 0, not nil.
20881 (appt-check): Reset appt-display-count to 0, not nil.
20882
c71a0d48 208832011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20884
c71a0d48
GM
20885 * progmodes/python.el (python-font-lock-keywords):
20886 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20887
31d55be9
SM
208882011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20889
20890 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20891
3bfacb2f
KR
208922011-05-16 Kevin Ryde <user42@zip.com.au>
20893
20894 * info-look.el (makefile-automake-mode): New setups, looking in
20895 automake manual, then makefile-mode.
20896 (makefile-mode): Remove automake manual, have it just in
20897 makefile-automake-mode since there's various things different or
20898 not relevant to plain make.
20899 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20900 believe a hypothetical automake-mode would go to makefile-mode,
20901 not the other way around.
20902
c8e83751
CY
209032011-05-15 Chong Yidong <cyd@stupidchicken.com>
20904
5e9e35cd
CY
20905 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20906 hunk-end tags (Bug#8672).
20907
c8e83751
CY
20908 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20909 vc-annotate-show-diff-revision-at-line (Bug#8671).
20910
50b23e5a
GM
209112011-05-14 Glenn Morris <rgm@gnu.org>
20912
7210a739
GM
20913 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20914 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20915 (change-log-font-lock-keywords): Also handle multiple author lines
20916 with leading tabs. (Bug#8644)
7210a739 20917
4691905a
GM
20918 * calendar/appt.el (appt-check): Rename some local variables.
20919 Some simplification/reordering.
20920
50b23e5a
GM
20921 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20922 (feedmail-sendmail-f-doesnt-sell-me-out)
20923 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20924 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20925 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20926 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20927 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20928 (feedmail-binmail-gnulinuxish-template):
20929 Rename from feedmail-binmail-linuxish-template.
20930 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20931 Use insert-buffer-substring.
20932
215cda7c
BC
209332011-05-14 Bill Carpenter <bill@carpenter.org>
20934
20935 * mail/feedmail.el (feedmail-patch-level): Increase.
20936 (feedmail-debug): New custom group.
20937 (feedmail-confirm-outgoing-timeout)
20938 (feedmail-sendmail-f-doesnt-sell-me-out)
20939 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20940 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20941 (feedmail-sender-line, feedmail-from-line)
20942 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20943 (feedmail-spray-this-address)
215cda7c
BC
20944 (feedmail-spray-address-fiddle-plex-list)
20945 (feedmail-queue-use-send-time-for-date)
20946 (feedmail-queue-use-send-time-for-message-id)
20947 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20948 (feedmail-buffer-eating-function):
20949 Doc fixes.
20950 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20951 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20952 (feedmail-message-action-scroll-down): New functions.
20953 (feedmail-queue-directory, feedmail-queue-draft-directory):
20954 Use expand-file-name.
20955 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20956 Remove C-v help entry.
20957 (feedmail-queue-buffer-file-name): New variable.
20958 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20959 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20960 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20961 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20962 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20963 (feedmail-message-action-toggle-spray)
20964 (feedmail-run-the-queue-no-prompts)
20965 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20966 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20967 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20968 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20969 (feedmail-envelope-deducer, feedmail-fiddle-from)
20970 (feedmail-fiddle-sender, feedmail-default-date-generator)
20971 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20972 (feedmail-fiddle-spray-address)
20973 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20974 (feedmail-fiddle-list-of-fiddle-plexes)
20975 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20976 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20977 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20978 Change default. Doc fix.
20979 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20980 (feedmail-binmail-linuxish-template): New constant.
20981 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20982 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20983 (feedmail-send-it): Add debug call.
20984 Use feedmail-queue-buffer-file-name, and
20985 feedmail-send-it-immediately-wrapper.
20986 (feedmail-message-action-send): Add debug call.
20987 Use feedmail-send-it-immediately-wrapper.
20988 (feedmail-queue-express-to-queue): Add debug call.
20989 Run feedmail-queue-express-hook.
20990 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20991 (feedmail-message-action-help-blat):
20992 Rename from feedmail-queue-send-edit-prompt-help-first.
20993 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20994 Check line-endings. Handle errors better.
20995 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20996 Doc fix. Add debug call.
20997 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20998 Use feedmail-queue-send-edit-prompt-inner.
20999 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21000 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21001 from feedmail-queue-send-edit-prompt.
21002 (feedmail-queue-send-edit-prompt-help)
21003 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21004 (feedmail-tidy-up-slug): Add debug call.
21005 Respect feedmail-queue-slug-suspect-regexp.
21006 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21007 (feedmail-dump-message-to-queue): Add debug call.
21008 Expand queue-directory.
21009 (feedmail-dump-message-to-queue): Change message slightly.
21010 Use feedmail-say-chatter.
21011 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21012 (feedmail-send-it-immediately-wrapper): New function.
21013 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21014 Insert empty string rather than newline. Handle full-frame case.
21015 Use catch/throw. Use feedmail-say-chatter.
21016 (feedmail-fiddle-from): Try mail-host-address.
21017 (feedmail-default-message-id-generator): Doc fix.
21018 Bind system-time-locale. Handle missing end.
21019 (feedmail-fiddle-x-mailer): Add debug call.
21020 Handle feedmail-x-mailer-line being nil.
21021 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21022 Add debug call. Use buffer-substring-no-properties.
21023 (feedmail-say-debug, feedmail-say-chatter): New functions.
21024 (feedmail-find-eoh): Give an explicit error.
21025
42c7e61e
UJ
210262011-05-13 Ulf Jasper <ulf.jasper@web.de>
21027
c2571358 21028 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21029 family from helvetica to sans.
c2571358 21030 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21031 etc/images/newsticker.
21032
c2571358 21033 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21034 family from helvetica to sans.
21035
21036 * net/newst-plainview.el (newsticker-new-item-face)
21037 (newsticker-old-item-face, newsticker-immortal-item-face)
21038 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21039 (newsticker-statistics-face): Change default family from
42c7e61e 21040 helvetica to sans.
c2571358 21041 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21042 etc/images/newsticker.
21043
5d3385a0
JB
21044 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21045 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21046 auto-marking.
21047
8497a297
DV
210482011-05-13 Didier Verna <didier@xemacs.org>
21049
21050 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21051 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21052 TODO entries.
8497a297
DV
21053 (lisp-lambda-list-keyword-parameter-indentation)
21054 (lisp-lambda-list-keyword-parameter-alignment)
21055 (lisp-lambda-list-keyword-alignment): New customizable user options.
21056 (lisp-indent-defun-method): Improve docstring.
21057 (extended-loop-p): Fix comment.
21058 (lisp-indent-lambda-list-keywords-regexp): New variable.
21059 (lisp-indent-lambda-list): New function.
21060 (lisp-indent-259): Use it.
21061 (lisp-indent-defmethod): Support for more than one
21062 method qualifier and properly indent methods lambda-lists.
21063 (defgeneric): Provide a missing common-lisp-indent-function property.
21064
f278f87f
SM
210652011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21066
21067 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21068 bounds for the empty string (bug#8667).
21069
5233edd7
GM
210702011-05-13 Glenn Morris <rgm@gnu.org>
21071
5237a44f
GM
21072 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21073
8340026c 21074 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21075 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21076
5233edd7 21077 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21078 (appt-time-msg-list): Doc fix.
a5464014 21079 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21080
92d10796
AS
210812011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21082
21083 * progmodes/ld-script.el (ld-script-keywords)
21084 (ld-script-builtins): Update keywords list.
21085
914a0ae1
SM
210862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21087
c89be45f
SM
21088 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21089
914a0ae1
SM
21090 * shell.el (shell-completion-vars): New function.
21091 (shell-mode):
21092 * simple.el (read-shell-command): Use it.
21093 (blink-matching-open): No need for " [...]" in minibuffer-message.
21094
98dc3df3
GM
210952011-05-12 Glenn Morris <rgm@gnu.org>
21096
21097 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21098 (appt-check): Simplify.
21099
d2fc7e3d 211002011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21101
4d61f28d 21102 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21103 literal "/dev/null".
21104
d2fc7e3d 211052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21106
21107 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21108 Fix typo.
21109
d2fc7e3d 211102011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21111
3f254caa
SM
21112 * progmodes/which-func.el (which-function):
21113 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21114 which might not be defined (Bug#8260).
21115
d45885f7
GM
211162011-05-12 Glenn Morris <rgm@gnu.org>
21117
21118 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21119 Let byte-compile-initial-macro-environment always take precedence.
21120
488086f4
SM
211212011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21122
21123 * net/rcirc.el: Add support for SSL/TLS connections.
21124 (rcirc-server-alist): New field `encryption'.
21125 (rcirc): Check `encryption' settings.
21126 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21127 Merge make-local-variable into `set'.
21128 (rcirc--connection-open-p): New function.
21129 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21130 the process is not a network process (e.g. running gnutls-cli).
21131 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21132 Make rcirc-(en|de)code-coding-system local here.
21133 (rcirc-mode): Merge make-local-variable into `set'.
21134 (rcirc-parent-buffer): Make permanent buffer-local.
21135 (rcirc-multiline-minor-mode): Don't do it here.
21136 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21137 there's no server buffer.
21138
7d3b9d44
GM
211392011-05-11 Glenn Morris <rgm@gnu.org>
21140
f64049c6
GM
21141 * newcomment.el (comment-kill): Prefix "unused" local.
21142
93c9df73
GM
21143 * term/w32console.el (get-screen-color): Declare.
21144
7d3b9d44
GM
21145 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21146 Handle symbol elements of byte-compile-initial-macro-environment.
21147
9e2dd53f
LL
211482011-05-10 Leo Liu <sdl.web@gmail.com>
21149
488086f4
SM
21150 * bookmark.el (bookmark-bmenu-mode-map):
21151 Bind bookmark-bmenu-search to `/'.
8b340240 21152
9e2dd53f 21153 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21154 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21155 (Footnote-unicode): New function.
21156 (footnote-style-alist): Add unicode style to the list.
21157 (footnote-style): Doc fix.
9e2dd53f 21158
79b70037
GM
211592011-05-10 Jim Meyering <meyering@redhat.com>
21160
21161 Fix doubled-word typos.
21162 * international/quail.el (quail-insert-kbd-layout): and and -> and
21163 * kermit.el: and and -> and
21164 * net/ldap.el (ldap-search-internal): to to -> to
21165 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21166 * progmodes/js.el (js-mode): and and -> and
21167 * textmodes/artist.el (artist-move-to-xy): at at -> at
21168 (artist-draw-region-trim-line-endings): if if -> if
21169 And Safetyc -> Safety.
21170 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21171
b8f82dc1 211722011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21173 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21174
21175 * files.el (hack-one-local-variable-eval-safep):
21176 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21177
4f99f44b
GM
211782011-05-10 Glenn Morris <rgm@gnu.org>
21179
21180 * calendar/diary-lib.el (diary-list-entries-hook)
21181 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21182 (diary-nongregorian-marking-hook, diary-list-entries)
21183 (diary-include-other-diary-files, diary-mark-entries)
21184 (diary-mark-included-diary-files): Doc fixes.
21185
84f29e6b
JB
211862011-05-09 Juanma Barranquero <lekktu@gmail.com>
21187
21188 * misc.el: Require tabulated-list.el during compilation.
21189
9bedd73a
CY
211902011-05-09 Chong Yidong <cyd@stupidchicken.com>
21191
488086f4
SM
21192 * progmodes/compile.el (compilation-start):
21193 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21194 (compilation-filter-hook): Doc fix.
21195
797c735c
DD
211962011-05-09 Deniz Dogan <deniz@dogan.se>
21197
21198 * wdired.el: Remove outdated installation comment. Fix usage
21199 comment.
21200
5f4b1dfe
JB
212012011-05-09 Juanma Barranquero <lekktu@gmail.com>
21202
21203 * misc.el: Implement new command `list-dynamic-libraries'.
21204 (list-dynamic-libraries--loaded-only-p): New variable.
21205 (list-dynamic-libraries--refresh): New function.
21206 (list-dynamic-libraries): New command.
21207
4c44026c
CY
212082011-05-09 Chong Yidong <cyd@stupidchicken.com>
21209
488086f4
SM
21210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21211 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21212 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21213 higher priority to avoid clobbering by gnu.
21214
027f966d
CY
212152011-05-08 Chong Yidong <cyd@stupidchicken.com>
21216
21217 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21218 if the face has existing theme settings (Bug#8454).
21219
085f5d7d
CY
212202011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21221
488086f4
SM
21222 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21223 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21224
2a86a00c
RS
21225 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21226 special file names `.' and `..' (Bug#8259).
21227
d9c54a06
CY
212282011-05-08 Chong Yidong <cyd@stupidchicken.com>
21229
488086f4
SM
21230 * progmodes/grep.el (grep-mode-font-lock-keywords):
21231 Remove buffer-changing entries.
d9c54a06
CY
21232 (grep-filter): New function.
21233 (grep-mode): Add it to compilation-filter-hook.
21234
21235 * progmodes/compile.el (compilation-filter-hook)
21236 (compilation-filter-start): New defvars.
21237 (compilation-filter): Call compilation-filter-hook prior to
21238 updating the process mark.
21239
c4662635
SM
212402011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21241
21242 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21243
b0512a1d
EZ
212442011-05-07 Eli Zaretskii <eliz@gnu.org>
21245
605c9376
EZ
21246 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21247 mailclient-send-it even if window-system is nil. (Bug#8595)
21248
c4662635
SM
21249 * term/w32console.el (terminal-init-w32console):
21250 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21251 background-mode. (Bug#8597)
21252
d1dc2cc2
SM
212532011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21254
21255 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21256 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21257 New functions.
21258 (defgeneric, eieio--defmethod): Use them.
21259 (eieio-defgeneric): Remove.
21260 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21261
915d1300
GM
212622011-05-07 Glenn Morris <rgm@gnu.org>
21263
a3961c3e
GM
21264 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21265 Use let rather than let*.
21266 (timeclock-find-discrep): Remove unused local.
21267
314347b9
GM
21268 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21269
915d1300
GM
21270 * calendar/appt.el (appt-time-msg-list): Doc fix.
21271
275b59b0
NF
212722011-05-06 Noah Friedman <friedman@splode.com>
21273
21274 * apropos.el (apropos-print-doc): Only use
21275 emacs-lisp-docstring-fill-column when it is bound to an integer,
21276 per that variable's documentation.
21277
6c19f744
SM
212782011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21279
21280 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21281 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21282
60f884b2
GM
212832011-05-06 Glenn Morris <rgm@gnu.org>
21284
5006e634
GM
21285 * calendar/appt.el (appt-message-warning-time): Doc fix.
21286 (appt-warning-time-regexp): New option.
21287 (appt-make-list): Respect appt-message-warning-time.
21288
548d0a63
GM
21289 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21290 New options.
21291 (diary-add-to-list): Strip comments from the displayed string.
21292 (diary-mode): Set comment-start and comment-end.
21293
60f884b2
GM
21294 * vc/diff-mode.el (smerge-refine-subst): Declare.
21295 (diff-refine-hunk): Don't require smerge-mode when compiling.
21296
989681bb
JB
212972011-05-06 Juanma Barranquero <lekktu@gmail.com>
21298
21299 * simple.el (list-processes): Return nil as the docstring says.
21300
a6bc05e1
MA
213012011-05-05 Michael Albinus <michael.albinus@gmx.de>
21302
21303 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21304 to "".
21305 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21306 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21307 determining of binary transfer. (Bug#7383)
21308
23c22e9a
MA
213092011-05-05 Michael Albinus <michael.albinus@gmx.de>
21310
c4662635
SM
21311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21312 Fix port computation bug. (Bug#8618)
23c22e9a 21313
0bff894f
GM
213142011-05-05 Glenn Morris <rgm@gnu.org>
21315
b8296902
GM
21316 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21317
1f522ce8
GM
21318 * simple.el (shell-dynamic-complete-functions)
21319 (comint-dynamic-complete-functions): Declare.
21320
cf5bee67
GM
21321 * net/network-stream.el (gnutls-negotiate):
21322 * simple.el (tabulated-list-print): Fix declarations.
21323
21324 * progmodes/gud.el (syntax-symbol, syntax-point):
21325 Remove unnecessary and incorrect declarations.
21326
0bff894f 21327 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21328 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21329
9869b3ae
SM
213302011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21331
21332 Fix earlier half-done eieio-defmethod change (bug#8338).
21333 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21334 Streamline and change calling convention.
21335 (defmethod): Adjust accordingly and simplify.
21336 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21337 new eieio--defmethod.
21338 (slot-boundp): Minor CSE simplification.
21339
9c1d5ac5
MZ
213402011-05-05 Milan Zamazal <pdm@zamazal.org>
21341
21342 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21343 (glasses-make-readable): Use glasses-separate-capital-groups.
21344
455c834e
JB
213452011-05-05 Juanma Barranquero <lekktu@gmail.com>
21346
21347 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21348 (warning-series): Doc fix.
21349 (display-warning): Don't try to create the buffer if we just found it.
21350
9ed7c8cb
CY
213512011-05-04 Chong Yidong <cyd@stupidchicken.com>
21352
21353 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21354 (autoload-find-generated-file): New function.
21355 (generate-file-autoloads): Bind generated-autoload-file to
21356 buffer-file-name.
9869b3ae
SM
21357 (update-file-autoloads, update-directory-autoloads):
21358 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21359 output file (Bug#7989).
21360 (batch-update-autoloads): Doc fix.
21361
0898ca10
JB
213622011-05-04 Juanma Barranquero <lekktu@gmail.com>
21363
21364 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21365
31dfb76c
GM
213662011-05-04 Glenn Morris <rgm@gnu.org>
21367
f330b642
GM
21368 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21369 function, so it follows changes in calendar-date-style.
21370 (diary-fancy-date-matcher): New function.
21371 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21372 (diary-fancy-font-lock-fontify-region-function):
21373 Use diary-fancy-date-pattern as a function.
21374
31dfb76c
GM
21375 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21376 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21377
48e79d6a
TZ
213782011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21379
21380 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21381 instead of positional arguments. Allow :keylist and :crlfiles
21382 arguments.
21383 (open-gnutls-stream): Call it.
21384
21385 * net/network-stream.el (network-stream-open-starttls): Adjust to
21386 call `gnutls-negotiate' with :process and :hostname arguments.
21387
dd5a5ee0
SM
213882011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21389
ef80fc09
SM
21390 * minibuffer.el (completion--message): New function.
21391 (completion--do-completion, minibuffer-complete)
21392 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21393 (completion--do-completion): Don't ignore completion-auto-help when in
21394 icomplete-mode.
21395
dd5a5ee0
SM
21396 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21397 internal encoding (e.g. tibetan zero is not whitespace).
21398 (global-whitespace-mode): Prefer save-current-buffer.
21399 (whitespace-trailing-regexp): Remove useless save-match-data.
21400 (whitespace-empty-at-bob-regexp): Minor simplification.
21401
b7d22a83
CY
214022011-05-03 Chong Yidong <cyd@stupidchicken.com>
21403
21404 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21405
5192af46
AM
214062011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21407
21408 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21409 Use `concat' to create string for insertion.
5192af46 21410
5767d190
SM
214112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21412
21413 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21414 Avoid open-line which runs post-self-insert-hook.
21415 (bibtex-fill-entry): Remove unused `end' var.
21416
bf242939
AM
214172011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21418
5767d190
SM
21419 * textmodes/ispell.el (ispell-add-per-file-word-list):
21420 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21421
25666126
LL
214222011-05-03 Leo Liu <sdl.web@gmail.com>
21423
21424 * isearch.el (isearch-yank-pop): New command.
5767d190 21425 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21426 (isearch-forward): Mention it.
21427
52d3c2d0
SM
214282011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21429
1bcace58
SM
21430 * simple.el (minibuffer-complete-shell-command): Remove.
21431 (minibuffer-local-shell-command-map): Use completion-at-point.
21432 (read-shell-command): Setup completion vars here instead.
21433 (read-expression-map): Bind TAB to symbol completion.
21434
52d3c2d0
SM
21435 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21436 error directly rather via storing it into `results'.
21437
35813471
LL
214382011-05-02 Leo Liu <sdl.web@gmail.com>
21439
21440 * vc/diff.el: Fix description.
21441
e793a940
LMI
214422011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21443
21444 * server.el (server-eval-at): New function.
21445
8de66e05
LMI
214462011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21447
21448 * net/network-stream.el (open-network-stream): Take a :nowait
21449 parameter and pass it on to `make-network-process'.
21450 (network-stream-open-plain): Ditto.
21451
dcb79f20
AS
214522011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21453
21454 * faces.el (face-spec-set-match-display): Don't match toolkit
21455 options on terminal frames.
21456
14a7fbd8
SM
214572011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21458
7eabc1be
SM
21459 * progmodes/pascal.el: Use lexical binding.
21460 (pascal-mode-map): Remove author preferences.
21461
14a7fbd8
SM
21462 * pcomplete.el (pcomplete-std-complete): Don't abuse
21463 completion-at-point.
21464
50f84510
JB
214652011-04-28 Juanma Barranquero <lekktu@gmail.com>
21466
6e087a44
JB
21467 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21468 removing code that has been dead since 1991 or so.
21469
50f84510
JB
21470 * startup.el (command-line): When warning about "_emacs", use a
21471 delayed warning to allow the user to filter it out.
21472
0ba690bd
DD
214732011-04-28 Deniz Dogan <deniz@dogan.se>
21474
21475 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21476 user has not joined.
21477
08abfaad
SM
214782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21479
21480 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21481 aren't any completions at point.
21482
638f053a
JB
214832011-04-28 Juanma Barranquero <lekktu@gmail.com>
21484
21485 * subr.el (display-delayed-warnings): New function.
21486 (delayed-warnings-hook): New variable.
21487
8fff8daa
SM
214882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21489
08abfaad
SM
21490 * minibuffer.el (completion-at-point, completion-help-at-point):
21491 Don't presume that a given completion-at-point-function will always
21492 use the same calling convention.
21493
8fff8daa
SM
21494 * pcomplete.el (pcomplete-completions-at-point):
21495 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21496 pcomplete-seen is non-nil.
21497 (pcomplete-comint-setup): Also recognize the new comint/shell
21498 completion functions.
21499 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21500 pcomplete-seen is non-nil.
21501
841a1577 215022011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21503
841a1577 21504 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21505 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21506 the first character in the entry. This allows for code to add its
211ec907
UJ
21507 own uid to the entry.
21508 (icalendar--convert-float-to-ical): Add export of
21509 `diary-float'-entries save for those with the optional DAY
21510 argument.
21511
2a782793
DC
215122011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21513
21514 * subr.el (shell-quote-argument): Use alternate escaping strategy
21515 when we spot a variable reference in a string.
21516
0438ce91
DC
215172011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21518
21519 * cus-start.el (all): Define customization for debug-on-event.
21520
841a1577 215212011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21522
21523 * subr.el (shell-quote-argument): Escape correctly under Windows.
21524
d090ed6c
SM
215252011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21526
21527 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21528
bfd31217
MA
215292011-04-25 Michael Albinus <michael.albinus@gmx.de>
21530
d090ed6c
SM
21531 * net/tramp.el (tramp-process-actions): Add POS argument.
21532 Delete region between POS and (pos).
bfd31217 21533
d090ed6c
SM
21534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21535 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21536 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21537
21538 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21539 position in `tramp-process-actions' call.
21540
21541 * net/trampver.el: Update release number.
21542
e92f3bd3
SM
215432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21544
850256b5
SM
21545 * custom.el (defcustom): Obey lexical-binding.
21546
e92f3bd3
SM
21547 Fix octave-inf completion problems reported by Alexander Klimov.
21548 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21549 Inherit from octave-mode-syntax-table.
21550 (inferior-octave-mode): Set info-lookup-mode.
21551 (inferior-octave-completion-at-point): New function.
21552 (inferior-octave-complete): Use it and completion-in-region.
21553 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21554 comint-filename-completion.
21555 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21556 symbol elements which shouldn't be word elements.
21557 (octave-font-lock-keywords, octave-beginning-of-defun)
21558 (octave-function-header-regexp): Adjust regexps accordingly.
21559 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21560
cd22b309
JB
215612011-04-25 Juanma Barranquero <lekktu@gmail.com>
21562
21563 * net/gnutls.el (gnutls-errorp): Declare before first use.
21564
8b492194
TZ
215652011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21566
21567 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21568 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21569 default trustfile exists before going to use it. Add missing
5a5fa834 21570 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21571 Reported by Claudio Bley <claudio.bley@gmail.com>.
21572 (open-gnutls-stream): Add usage example.
21573
21574 * net/network-stream.el (network-stream-open-starttls): Give host
21575 parameter to `gnutls-negotiate'.
21576 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21577 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21578
841a1577 215792011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21580
cd22b309
JB
21581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21582 Use correct match group (bug#8438).
05842630 21583
3ba7869c
CY
215842011-04-24 Chong Yidong <cyd@stupidchicken.com>
21585
512e3ae1
CY
21586 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21587 (package-menu--generate): New arg specifying packages to show.
21588 (package-menu-refresh, package-menu-execute, list-packages):
21589 Callers changed.
21590 (package-show-package-list): New function, replacing deleted
21591 package--list-packages (renamed because it is non-internal).
21592
21593 * finder.el (finder-list-matches): Use package-show-package-list
21594 instead of deleted package--list-packages.
21595
e92f3bd3
SM
21596 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21597 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21598 (vc-annotate-mode-map): Bind it to RET.
21599
7031be6d
UR
216002011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21601
21602 * progmodes/etags.el (next-file): Don't use set-buffer to change
21603 buffers (Bug#8478).
21604
4ef177aa
CY
216052011-04-24 Chong Yidong <cyd@stupidchicken.com>
21606
c8d173eb
CY
21607 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21608
4ef177aa
CY
21609 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21610 (apropos-accumulator): Doc fix.
21611 (apropos-function, apropos-macro, apropos-command)
21612 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21613 (apropos-plist): Add face property.
21614 (apropos-symbols-internal): Fix indentation.
21615 (apropos-print): Simplify help, and recognize apropos-multi-type.
21616 (apropos-print-doc): Use button-type-get to extract the button's
21617 face property. Fill docstring (Bug#8352).
21618
4ffd0d6b 216192011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21620
21621 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21622
c6c32125 21623 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21624 (mpuz-mode-map): Use mapc.
c6c32125
JB
21625 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21626 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21627 Fix typos in docstrings.
21628
58d468b4
JB
21629 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21630 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21631
6470c3c6
JB
21632 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21633
4ffd0d6b 216342011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21635
21636 * minibuffer.el (completion--do-completion): Avoid the "Next char
21637 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21638
3ad8bad0
CY
21639 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21640 mouse-2 into unread-command-events, it is interpreted correctly.
21641
71d73c9c 21642 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21643 (image-toggle-display): Doc fix.
71d73c9c 21644
841a1577 216452011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21646
4ffd0d6b
GM
21647 * textmodes/page.el (what-page): Use line-number-at-pos to
21648 calculate line number (Bug#6825).
6e1dbaa9 21649
c2fb1b60
JB
216502011-04-22 Juanma Barranquero <lekktu@gmail.com>
21651
21652 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21653 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21654 Pass argument NO-DEFAULT to `find-tag-interactive'.
21655
e02f48d7
JB
216562011-04-22 Juanma Barranquero <lekktu@gmail.com>
21657
21658 Lexical-binding cleanup.
21659
21660 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21661 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21662 * progmodes/ada-prj.el (ada-prj-initialize-values)
21663 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21664 (ada-prj-show-value):
21665 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21666 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21667 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21668 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21669 * progmodes/bug-reference.el (bug-reference-push-button):
21670 * progmodes/fortran.el (fortran-line-length):
21671 * progmodes/glasses.el (glasses-change):
21672 * progmodes/octave-mod.el (octave-fill-paragraph):
21673 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21674 (python-pdbtrack-grub-for-buffer, python-sentinel):
21675 * progmodes/sql.el (sql-save-connection):
21676 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21677 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21678 Mark unused parameters.
21679
21680 * progmodes/compile.el (compilation--flush-directory-cache)
21681 (compilation--flush-parse, compile-internal): Mark unused parameters.
21682 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21683 (compilation-next-error-function): Remove unused variable `timestamp'.
21684
21685 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21686 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21687
21688 * progmodes/dcl-mode.el (dcl-end-of-command):
21689 Remove unused variable `start'.
21690 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21691 (dcl-option-value-basic, dcl-option-value-offset)
21692 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21693 Mark unused parameters.
21694 (dcl-save-local-variable): Remove unused variable `val'.
21695 (mode): Declare.
21696
21697 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21698 Mark unused parameters.
21699 (delphi-ignore-changes): Move before first use.
21700 (delphi-charset-token-at): Remove unused variable `start'.
21701 (delphi-else-start): Remove unused variable `if-count'.
21702 (delphi-comment-block-start, delphi-comment-block-end):
21703 Remove unused variable `kind'.
21704 (delphi-indent-line): Remove unused variable `new-point'.
21705
21706 * progmodes/ebrowse.el (ebrowse-files-list)
21707 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21708 Mark unused parameters. Don't quote `lambda'.
21709 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21710 Don't quote `lambda'.
21711 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21712 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21713 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21714 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21715 Use `ignore-errors'.
21716 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21717 (ebrowse-view/find-file-and-search-pattern)
21718 (ebrowse-view/find-member-declaration/definition):
21719 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21720 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21721 Rename parameter PREFIX-ARG to PREFIX.
21722 (ebrowse-tags-read-name): Remove unused variables `start' and
21723 `member-info'.
21724 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21725 to `tags-file'.
21726
21727 * progmodes/etags.el (local-find-tag-hook): Declare.
21728 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21729 Mark unused parameters.
21730
21731 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21732 (executable-interpret): Mark unused parameter.
21733
21734 * progmodes/flymake.el (flymake-process-sentinel)
21735 (flymake-after-change-function)
21736 (flymake-create-temp-with-folder-structure)
21737 (flymake-get-include-dirs-dot): Mark unused parameters.
21738 (flymake-safe-delete-directory): Remove unused variable `err'.
21739
21740 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21741 (speedbar-timer-fn, speedbar-line-text)
21742 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21743 (speedbar-center-buffer-smartly): Declare functions.
21744 (gdb-find-watch-expression): Remove unused variable `array'.
21745 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21746 (gdb-starting): Mark unused parameters.
21747 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21748 (gdb-table-string): Remove unused variable `res'.
21749 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21750 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21751 (gdb-display-buffer): Remove unused variable `cur-size'.
21752
21753 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21754 allow lexical-binding compilation.
21755 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21756 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21757 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21758 Mark unused parameters.
21759 (gud-gdb-marker-filter): Remove unused variable `match'.
21760 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21761 lambda expressions and funcall them, instead of using `fset'.
21762
21763 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21764 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21765
21766 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21767 variable `header-beg'; use `let'.
21768
21769 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21770 `restart', `last-sexp' and `at-do'.
21771
21772 * progmodes/js.el (js--debug): Mark unused parameter.
21773 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21774 (js--splice-into-items): Remove unused variable `item'.
21775 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21776
21777 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21778 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21779 (makefile-complete): Remove unused variable `try'.
21780 (makefile-fill-paragraph, makefile-match-function-end):
21781 Mark unused parameters.
21782
21783 * progmodes/octave-inf.el (inferior-octave-complete):
21784 Remove unused variable `proc'.
21785 (inferior-octave-output-digest): Mark unused parameter.
21786
21787 * progmodes/perl-mode.el (perl-calculate-indent):
21788 Remove unused variable `err'.
21789
21790 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21791 (prolog-indent-line): Mark unused parameters.
21792 (prolog-indent-line): Remove unused variable `beg'.
21793
21794 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21795 (reporter-dont-compact-list): Declare.
21796
21797 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21798 Remove unused variable `char'.
21799 (sh-debug): Mark unused parameter.
21800 (sh-get-indent-info): Remove unused variable `start'.
21801 (sh-calculate-indent): Remove unused variable `var'.
21802
21803 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21804 (simula-electric-keyword): Remove unused variable `null'.
21805 (simula-search-backward, simula-search-forward): Remove unused
21806 variables `begin' and `end'.
21807
21808 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21809 Remove unused variable `pos'.
21810 (vera-electric-tab, vera-comment-uncomment-region):
21811 Mark unused parameters.
21812 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21813
7ede3b65
CY
218142011-04-22 Chong Yidong <cyd@stupidchicken.com>
21815
21816 * emacs-lisp/package.el (package--builtins, package-alist)
21817 (package-load-descriptor, package-built-in-p, package-activate)
21818 (define-package, package-installed-p)
21819 (package-compute-transaction, package-buffer-info)
21820 (package--push): Doc fix. Distinguish more clearly between
21821 version strings and version lists.
21822
121656e9
JB
218232011-04-21 Juanma Barranquero <lekktu@gmail.com>
21824
21825 Lexical-binding cleanup.
21826
21827 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21828 (5x5-make-mutate-best):
21829 * play/fortune.el (fortune-in-buffer):
21830 * play/gomoku.el (gomoku-init-display):
21831 * play/solitaire.el (solitaire, solitaire-do-check):
21832 * play/tetris.el (tetris-default-update-speed-function):
21833 Mark unused parameters.
21834
21835 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21836 (bubbles--shift): Remove unused variable `char-org'.
21837 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21838 (bubbles--show-images): Remove unused variable `char'.
21839
21840 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21841 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21842 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21843 (decipher-analyze-buffer): Use ?\s.
21844 (decipher-make-checkpoint): Remove unused variable `mapping'.
21845
21846 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21847
21848 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21849 Remove unused variable `result'; use `let'.
21850
21851 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21852 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21853 (gametree-children-shown-p, gametree-compute-reduced-score):
21854 Use `ignore-errors'.
21855
21856 * play/handwrite.el (ps-lpr-switches): Declare.
21857 (handwrite): Remove unused variables `pmin' and `lastp'.
21858
21859 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21860
21861 * play/landmark.el (landmark-init-display)
21862 (landmark-update-naught-weights): Mark unused parameters.
21863 (landmark-y): Remove unused variable `noise'. Simplify.
21864 (landmark-human-plays): Remove unused variable `score'.
21865
21866 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21867 (mpuz-try-proposal): Remove unused variable `game'.
21868
21869 * play/zone.el (life-patterns): Declare.
21870
80f499c7
JB
218712011-04-20 Juanma Barranquero <lekktu@gmail.com>
21872
21873 * vc/vc.el (ediff-vc-internal): Declare function.
21874
024ff170
SM
218752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21876
c0a193ea
SM
21877 * shell.el: Use lexical-binding and std completion UI.
21878 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21879 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21880 comint-preoutput-filter-functions rather than on
21881 comint-output-filter-functions.
21882 (shell-command-completion, shell--command-completion-data)
21883 (shell-filename-completion, shell-environment-variable-completion)
21884 (shell-c-a-p-replace-by-expanded-directory): New functions.
21885 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21886 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21887 (shell-dynamic-complete-environment-variable): Use them.
21888 (shell-dynamic-complete-as-environment-variable)
21889 (shell-dynamic-complete-as-command): Remove.
21890 (shell-match-partial-variable): Match past point.
21891 * comint.el: Clean up use of completion-at-point-functions.
21892 (comint-completion-at-point): New function.
21893 (comint-mode): Use it completion-at-point-functions.
21894 (comint-dynamic-complete): Make it obsolete.
21895 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21896 (comint-c-a-p-replace-by-expanded-history): New function.
21897 (comint-dynamic-complete-functions)
21898 (comint-replace-by-expanded-history): Use it.
21899 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21900 termination strings. Try harder to avoid second try-completion.
21901 (completion-in-region-mode-map): Disable bindings that don't work yet.
21902
2dbaa080
SM
21903 * comint.el: Use lexical-binding. Require CL.
21904 (comint-dynamic-complete-functions): Use comint-filename-completion.
21905 (comint-completion-addsuffix): Tweak custom type.
21906 (comint-filename-completion, comint--common-suffix)
21907 (comint--common-quoted-suffix, comint--table-subvert)
21908 (comint--complete-file-name-data): New functions.
21909 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21910 (comint-dynamic-list-filename-completions): Use them.
21911 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21912
2dbaa080
SM
21913 * minibuffer.el (completion-in-region-mode):
21914 Keep completion-in-region-mode--predicate global.
21915 (completion-in-region--postch):
21916 Assume completion-in-region-mode--predicate is not null.
21917
c79a6f38
SM
21918 * progmodes/flymake.el (flymake-start-syntax-check-process):
21919 Obey `dir'. Simplify.
21920
024ff170
SM
21921 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21922 we're in VC after all.
21923
1c6c854e
CS
219242011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21925
21926 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21927 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21928 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21929
bed7f140
SM
219302011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21931
332e62ab
SM
21932 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21933 add sanity check.
21934
bed7f140
SM
21935 * obsolete/erc-hecomplete.el: Make obsolete.
21936 * obsolete/: Standardize obsolescence info in the header.
21937
f195c582
GM
219382011-04-20 Glenn Morris <rgm@gnu.org>
21939
21940 * calendar/solar.el (solar-horizontal-coordinates):
21941 Use the longitude argument rather than `calendar-longitude'.
21942 (solar-date-next-longitude): Remove unused locals.
21943
cb79b8c0
VJL
219442011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21945
21946 * whitespace.el: New version 13.2.1.
21947
219482011-04-20 felix <EmacsWiki> (tiny change)
21949
d8e4b68b 21950 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21951 switching between major modes on a file.
21952
602ea69d
SM
219532011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21954
21955 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21956 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21957 multi-line comments as well.
21958
06b60517
JB
219592011-04-19 Juanma Barranquero <lekktu@gmail.com>
21960
21961 Lexical-binding cleanup.
21962
21963 * arc-mode.el (archive-mode-revert):
21964 * cmuscheme.el (scheme-interactively-start-process):
21965 * custom.el (custom-initialize-delay):
21966 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21967 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21968 * emacs-lock.el (emacs-lock-clear-sentinel):
21969 * ezimage.el (defezimage):
21970 * follow.el (follow-avoid-tail-recenter):
21971 * fringe.el (set-fringe-mode-1):
21972 * generic-x.el (bat-generic-mode-compile):
21973 * help-mode.el (help-info-variable, help-do-xref)
21974 (help-mode-revert-buffer):
21975 * help.el (view-emacs-todo):
21976 * iswitchb.el (iswitchb-completion-help):
21977 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21978 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21979 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21980 * locate.el (locate-update):
21981 * longlines.el (longlines-encode-region)
21982 (longlines-after-change-function):
21983 * outline.el (outline-isearch-open-invisible):
21984 * ps-def.el (declare-function, charset-dimension, char-width)
21985 (encode-char):
21986 * ps-mule.el (ps-mule-plot-string):
21987 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21988 (recentf-edit-list-select, recentf-edit-list-validate)
21989 (recentf-open-files-action):
21990 * rect.el (delete-whitespace-rectangle-line)
21991 (rectangle-number-line-callback):
21992 * register.el (window-configuration-to-register)
21993 (frame-configuration-to-register):
21994 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21995 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21996 (xselect-convert-to-targets, xselect-convert-to-delete)
21997 (xselect-convert-to-filename, xselect-convert-to-charpos)
21998 (xselect-convert-to-lineno, xselect-convert-to-colno)
21999 (xselect-convert-to-os, xselect-convert-to-host)
22000 (xselect-convert-to-user, xselect-convert-to-class)
22001 (xselect-convert-to-name, xselect-convert-to-integer)
22002 (xselect-convert-to-atom, xselect-convert-to-identity):
22003 * subr.el (declare, ignore, process-kill-without-query)
22004 (text-clone-maintain):
22005 * terminal.el (te-get-char, te-tic-sentinel):
22006 * tool-bar.el (tool-bar-make-keymap):
22007 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22008 * type-break.el (type-break-mode, type-break-noninteractive-query):
22009 * view.el (View-back-to-mark):
22010 * wid-browse.el (widget-browse-action, widget-browse-widget)
22011 (widget-browse-widgets, widget-browse-sexp):
22012 * widget.el (define-widget-keywords):
22013 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22014 Mark unused parameters.
22015
22016 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22017 (align-areas): Remove unused variable `look'.
22018 (align-region): Remove unused variables `real-end' and `pos-list'.
22019
22020 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22021
22022 * bindings.el (mode-line-modified, mode-line-remote):
22023 Mark unused parameters.
22024 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22025
22026 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22027 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22028
22029 * comint.el (comint-history-isearch-pop-state)
22030 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22031 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22032 (comint-substitute-in-file-name): Doc fix.
22033
22034 * completion.el (cmpl-statistics-block): Mark unused parameter.
22035 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22036 (save-completions-to-file, load-completions-from-file):
22037 Remove unused local variable `e'.
22038
22039 * composite.el (compose-chars): Remove unused variable `len'.
22040 (lgstring-insert-glyph): Remove unused variable `g'.
22041 (compose-glyph-string): Remove unused variables `ascent',
22042 `descent', `lbearing' and `rbearing'.
22043 (compose-glyph-string-relative): Remove unused variables
22044 `lbearing', `rbearing' and `wadjust'.
22045 (compose-gstring-for-graphic): Remove unused variables `header',
22046 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22047 (compose-gstring-for-terminal): Remove unused variables `header'
22048 and `nchars'. Use `let', not `let*'.
22049
22050 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22051 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22052 (Custom-buffer-done, custom-buffer-create-internal)
22053 (custom-browse-visibility-action, custom-browse-group-tag-action)
22054 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22055 (widget-magic-mouse-down-action, custom-toggle-parent)
22056 (custom-add-parent-links, custom-toggle-hide-variable)
22057 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22058 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22059 (custom-face-menu-create, custom-variable-menu-create, get)
22060 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22061 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22062 (customize-apropos): Remove unused variable `tests'.
22063 (custom-group-value-create): Remove unused variable `hidden-p'.
22064 (sort-fold-case): Declare.
22065
22066 * cus-theme.el (custom-reset-standard-faces-list)
22067 (custom-reset-standard-variables-list): Declare.
22068 (customize-create-theme, custom-theme-revert, custom-theme-write)
22069 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22070 Mark unused parameters.
22071
22072 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22073
22074 * delim-col.el (delimit-columns-max): Move defvar before first use.
22075
22076 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22077 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22078
22079 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22080 (auto-insert): Declare.
22081 (desktop-restore-file-buffer): Rename desktop-* parameters;
22082 mark unused ones.
22083 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22084 (desktop-buffer): Rename desktop-* parameters.
22085
22086 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22087 (dframe-reposition-frame-xemacs, dframe-help-echo)
22088 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22089 Mark unused parameters.
22090
22091 * dired-aux.el (backup-extract-version-start, overwrite-query)
22092 (overwrite-backup-query, rename-regexp-query)
22093 (rename-non-directory-query): Declare.
22094 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22095 (dired-add-entry): Remove unused variable `orig-file-name'.
22096 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22097 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22098 `dired-copy-preserve-time' directly.
22099 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22100 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22101
22102 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22103 (dired-virtual-revert, dired-make-relative-symlink):
22104 Mark unused parameters.
22105 (manual-program): Declare.
22106 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22107 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22108 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22109
22110 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22111
22112 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22113
22114 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22115 Declare.
22116
22117 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22118
22119 * electric.el (Electric-command-loop): Rename parameter
22120 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22121
22122 * expand.el (expand-in-literal): Remove unused variable `here'.
22123
22124 * facemenu.el (facemenu-add-new-color):
22125 Remove unused variable `docstring'.
22126
22127 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22128 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22129 (face-attr-construct): Mark unused parameter. Doc fix.
22130 (read-color): Remove unused variable `hex-string'.
22131
22132 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22133 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22134 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22135 (display-buffer-other-frame): Remove unused variable `old-window'.
22136 (kill-buffer-hook): Declare.
22137 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22138 Mark unused parameters.
22139 (after-find-file): Pass 1 to `auto-save-mode', not t.
22140
22141 * files-x.el (auto-insert): Declare.
22142 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22143
22144 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22145 variable `buf'. Mark unused parameter.
06b60517
JB
22146 (find-lisp-insert-directory): Mark unused parameter.
22147
22148 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22149 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22150 (format-common-tail): Remove, unused.
22151 (format-deannotate-region): Remove unused variable `loc'.
22152 (format-annotate-region): Remove unused variable `p'.
22153 (format-annotate-single-property-change): Remove unused variables
22154 `default' and `tail'.
22155
22156 * forms.el (read-file-filter): Declare.
22157 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22158
22159 * frame.el (frame-creation-function-alist): Mark unused parameter.
22160 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22161
22162 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22163 Remove unused parameters.
22164 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22165 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22166
22167 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22168 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22169 (hfy-prepare-tag-map): Mark unused parameters.
22170 (htmlfontify-buffer): Use `called-interactively-p'.
22171
22172 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22173 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22174 (ibuffer-do-occur): Mark unused parameters.
22175 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22176 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22177
22178 * ibuffer.el: Don't quote `lambda'.
22179 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22180 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22181 Mark unused parameters.
22182
22183 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22184 (ido-completing-read): Mark unused parameters.
22185 (ido-copy-current-word): Mark unused parameters;
22186 remove unused variable `name'.
22187 (ido-sort-merged-list): Remove unused parameter `dirs'.
22188
22189 * ielm.el (ielm-input-sender): Mark unused parameter.
22190 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22191 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22192 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22193 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22194 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22195
22196 * image-dired.el (image-dired-display-thumbs): Remove unused
22197 variables `curr-file' and `count'.
22198 (image-dired-remove-tag): Remove unused variable `start'.
22199 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22200 variable `curr-file'
22201 (image-dired-rotate-original): Remove unused variable `temp-file'.
22202 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22203 Remove unused variable `file'.
22204 (image-dired-gallery-generate): Remove unused variable `curr'.
22205 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22206
22207 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22208
22209 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22210
22211 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22212
22213 * isearch.el (minibuffer-history-symbol): Declare.
22214 (isearch-edit-string): Remove unused variable `err'.
22215 (isearch-message-prefix, isearch-message-suffix):
22216 Mark unused parameters.
22217
22218 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22219
22220 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22221
22222 * makesum.el (double-column): Remove unused variable `cnt'.
22223
22224 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22225 (ido-ignore-item-temp-list): Declare.
22226
22227 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22228 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22229 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22230 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22231 `mouse-col-delta'.
22232
22233 * mouse-sel.el (mouse-extend-internal):
22234 Remove unused variable `orig-window-frame'.
22235
22236 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22237 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22238 Move declarations before first use.
22239 (pcomplete-opt): Mark unused parameters; doc fix.
22240
22241 * proced.el (proced-revert): Mark unused parameter.
22242 (proced-send-signal): Remove unused variable `err'.
22243
22244 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22245 Rename parameter PREFIX-ARG to ARG.
22246 (ps-basic-plot-string, ps-basic-plot-whitespace):
22247 Mark unused parameters.
22248
22249 * replace.el (replace-count): Define.
22250 (occur-revert-function): Mark unused parameters.
22251 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22252 (isearch-case-fold-search, isearch-string): Declare.
22253 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22254 bind `case-fold-search'. Remove unused variables `beg' and `end',
22255 and simplify.
22256 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22257 COUNT and bind `replace-count'.
22258 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22259 to COUNT.
22260
22261 * savehist.el (print-readably, print-string-length): Declare.
22262
22263 * shadowfile.el (shadow-expand-cluster-in-file-name):
22264 Remove unused variable `cluster'.
22265 (shadow-copy-file): Remove unused variable `i'.
22266 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22267 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22268 (shadow-define-literal-group, shadow-define-regexp-group)
22269 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22270
22271 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22272 (shell): Use `called-interactively-p'.
22273 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22274
22275 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22276 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22277 (delete-backward-char): Remove unused variable `ocol'.
22278 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22279 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22280 (event-apply-hyper-modifier, event-apply-shift-modifier)
22281 (event-apply-control-modifier, event-apply-meta-modifier):
22282 Mark unused parameters.
22283 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22284 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22285
22286 * speedbar.el (speedbar-ignored-directory-expressions)
22287 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22288 (speedbar-find-file, speedbar-dir-follow)
22289 (speedbar-directory-buttons-follow, speedbar-tag-find)
22290 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22291 (speedbar-buffers-line-directory, speedbar-buffer-click):
22292 Mark unused parameters.
22293 (speedbar-tag-file): Remove unused variable `mode'.
22294 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22295
22296 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22297
22298 * talk.el (talk): Remove unused variable `display'.
22299
22300 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22301 (tar-write-region-annotate): Mark unused parameter.
22302
22303 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22304 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22305 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22306 warning by another.
22307
22308 * time-stamp.el (time-stamp-string-preprocess):
22309 Remove unused variable `require-padding'.
22310
22311 * tree-widget.el (widget-glyph-enable): Declare.
22312 (tree-widget-action): Mark unused parameter.
22313
22314 * w32-fns.el (x-get-selection): Mark unused parameter.
22315 (autoload-make-program, generated-autoload-file): Declare.
22316
22317 * wdired.el (wdired-revert): Mark unused parameters.
22318 (wdired-xcase-word): Remove unused variable `err'.
22319
22320 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22321 (whitespace-help-scroll): Remove unused variable `data-help'.
22322
22323 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22324 (widget-image-insert, widget-after-change, default)
22325 (widget-default-format-handler, widget-default-notify)
22326 (widget-default-prompt-value, widget-info-link-action)
22327 (widget-url-link-action, widget-function-link-action)
22328 (widget-variable-link-action, widget-file-link-action)
22329 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22330 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22331 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22332 (widget-insert-button-action, widget-delete-button-action, visibility)
22333 (widget-documentation-link-action, widget-documentation-string-action)
22334 (widget-const-prompt-value, widget-regexp-match, symbol)
22335 (widget-coding-system-prompt-value)
22336 (widget-key-sequence-value-to-external, sexp)
22337 (widget-sexp-value-to-internal, character, vector, cons)
22338 (widget-choice-prompt-value, widget-boolean-prompt-value)
22339 (widget-color--choose-action): Mark unused parameters.
22340 (widget-item-match-inline, widget-choice-match-inline)
22341 (widget-checklist-match, widget-checklist-match-inline)
22342 (widget-group-match): Rename parameter VALUES to VALS.
22343 (widget-field-value-set): Remove unused variable `size'.
22344 (widget-color-action): Remove unused variables `value' and `start'.
22345
22346 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22347 variable `dir'. Doc fix.
06b60517
JB
22348 (windmove-find-other-window): Don't pass it.
22349
22350 * window.el (count-windows): Mark unused parameter.
22351 (bw-adjust-window): Remove unused variable `err'.
22352
22353 * woman.el (woman-file-name): Remove unused variable `default'.
22354 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22355 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22356 (global-font-lock-mode): Declare.
22357 (woman-decode-region): Mark unused parameter.
22358 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22359
22360 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22361 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22362 (x-dnd-handle-moz-url): Remove unused variable `title'.
22363 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22364
22365 * xml.el (xml-parse-tag, xml-parse-attlist):
22366 Remove unused variable `pos'.
22367
bc4f7f3d
GM
223682011-04-19 Glenn Morris <rgm@gnu.org>
22369
22370 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22371 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22372 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22373 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22374 * calendar/cal-html.el (cal-html-insert-minical):
22375 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22376 (calendar-mark-date-pattern):
22377 Prefix "unused" locals.
22378
22379 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22380 optional argument `style'.
22381
22382 * calendar/appt.el (appt-make-list):
22383 * calendar/cal-china.el (calendar-chinese-date-string):
22384 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22385 (diary-hebrew-yahrzeit):
22386 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22387 * calendar/calendar.el (calendar-generate-window):
22388 * calendar/time-date.el (time-to-days):
22389 Remove unused local variables.
22390
16a43933
CY
223912011-04-18 Chong Yidong <cyd@stupidchicken.com>
22392
22393 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22394 glyphless-char-display table.
22395 (tabulated-list-glyphless-char-display): New var.
22396
7eed1860
SS
223972011-04-18 Sam Steingold <sds@gnu.org>
22398
22399 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22400 to acknowledgments.
22401
4d2d1ccd
GM
224022011-04-17 Glenn Morris <rgm@gnu.org>
22403
22404 * calendar/diary-lib.el (diary-sexp-entry):
22405 * calendar/holidays.el (holiday-sexp):
22406 Set debug-on-error rather than the removed stack-trace-on-error.
22407
239da61d
GM
224082011-04-16 Glenn Morris <rgm@gnu.org>
22409
22410 * progmodes/f90.el: Use lexical-binding.
22411 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22412
8b05752a
SM
224132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22414
daca8ba5
SM
22415 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22416 (mail-mode): Setup mailalias completion here instead.
22417 * mail/mailalias.el: Use lexical-binding.
22418 (pattern, mailalias-done): Declare dynamic.
22419 (mail-completion-at-point-function): New function, from mail-complete.
22420 (mail-complete): Use it.
22421 (mail-completion-expand): New function.
22422 (mail-get-names): Use it.
22423 (mail-directory, mail-directory-process, mail-directory-stream):
22424 Don't use `pattern' for lexically bound arg.
22425
6f542485
SM
22426 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22427
037e7c3f
SM
22428 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22429 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22430 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22431
8b05752a
SM
22432 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22433 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22434 (byte-interactive-p): Define them again, for use when inlining
22435 old code.
22436
49093f60
JB
224372011-04-15 Juanma Barranquero <lekktu@gmail.com>
22438
22439 * loadup.el: Use `string-to-number', not `string-to-int'.
22440
b5b8e7de
SM
224412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22442
22443 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22444 gud-gdb-complete-command.
22445 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22446 (gud-gdb-completion-at-point): New function.
22447 (gud-gdb-completions): Remove.
22448
f42efeb5
MA
224492011-04-14 Michael Albinus <michael.albinus@gmx.de>
22450
49093f60
JB
22451 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22452 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22453 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22454 whether `executable-find' is bound.
f42efeb5
MA
22455
22456 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22457
e240cc21
SM
224582011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22459
22460 * minibuffer.el (completion-in-region-mode-predicate)
22461 (completion-in-region-mode--predicate): New vars.
22462 (completion-in-region, completion-in-region--postch)
22463 (completion-in-region-mode): Use them.
22464 (completion--capf-wrapper): Also return the hook function.
22465 (completion-at-point, completion-help-at-point):
22466 Adjust and provide a predicate.
c2bd2ab0
SM
22467
22468 Preserve arg names for advice of subr and lexical functions (bug#8457).
22469 * help-fns.el (help-function-arglist): Consolidate the subr and
22470 new-byte-code cases. Add argument `preserve-names' to extract names
22471 from the docstring when needed.
22472 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22473 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22474 (ad-arglist): Use help-function-arglist's new arg.
22475 (ad-definition-type): Use cond.
22476
c183f693
JB
224772011-04-13 Juanma Barranquero <lekktu@gmail.com>
22478
06641a47
JB
22479 * autorevert.el (auto-revert-handler):
22480 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22481 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22482 Don't quote lambda.
22483
c183f693
JB
22484 * image-mode.el (image-transform-set-scale):
22485 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22486
1e3b6001
G
224872011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22488
22489 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22490 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22491 Upgrades via gnutls-cli are too slow to be done opportunistically.
22492
2d6af8dd
JB
224932011-04-12 Juanma Barranquero <lekktu@gmail.com>
22494
22495 * dframe.el (dframe-current-frame): Remove spurious quote.
22496
c0749a51
GM
224972011-04-12 Glenn Morris <rgm@gnu.org>
22498
088d0d61
GM
22499 * calendar/cal-tex.el (cal-tex-end-document):
22500 Try to automatically use latin1 input if needed.
22501
c0749a51
GM
22502 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22503 Don't try to cons a mark onto an empty element.
22504
5c90fde0
LL
225052011-04-11 Leo Liu <sdl.web@gmail.com>
22506
22507 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22508 buffers.
22509 (ido-kill-buffer-at-head): Support killing virtual buffers.
22510
369e974d
CY
225112011-04-10 Chong Yidong <cyd@stupidchicken.com>
22512
22513 * minibuffer.el (completion-show-inline-help): New var.
22514 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22515 (minibuffer-force-complete, minibuffer-complete-word):
22516 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22517
22518 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22519 to avoid interference from inline help (Bug#5849).
22520
37f1c930
LL
225212011-04-10 Leo Liu <sdl.web@gmail.com>
22522
099c39a4
JB
22523 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22524 Fix typo.
37f1c930 22525
a32d4040
CY
225262011-04-09 Chong Yidong <cyd@stupidchicken.com>
22527
22528 * image-mode.el (image-toggle-display-image): Signal an error if
22529 not in Image mode.
22530 (image-transform-mode, image-transform-resize)
22531 (image-transform-set-rotation): Doc fix.
daca8ba5 22532 (image-transform-set-resize): Delete.
a32d4040
CY
22533 (image-transform-set-scale, image-transform-fit-to-height)
22534 (image-transform-fit-to-width): Handle image-toggle-display-image
22535 and image-transform-resize directly.
22536
099c39a4 225372011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22538
22539 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22540 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22541 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22542 (doc-view-mode-map): Add bindings for the new functions.
22543
099c39a4 225442011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22545
4d61f28d 22546 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22547 Fix typo in docstring.
22548
3726838a
EZ
225492011-04-08 Eli Zaretskii <eliz@gnu.org>
22550
04f33f1e
EZ
22551 * files.el (file-size-human-readable): Produce one digit after
22552 decimal, like "ls -lh" does.
22553
22554 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22555 the file size representation.
22556
3726838a
EZ
22557 * simple.el (list-processes): If async subprocesses are not
22558 available, error out with a clear error message.
22559
cbb59342
CY
225602011-04-08 Chong Yidong <cyd@stupidchicken.com>
22561
22562 * help.el (help-form-show): New function, to be called from C.
22563 Put help-form output in a buffer named differently than *Help*.
22564
e3971c44
EZ
225652011-04-08 Eli Zaretskii <eliz@gnu.org>
22566
22567 * files.el (file-size-human-readable): New function.
22568
22569 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22570 computing the representation inline. Don't require `cl'.
22571
12544bbe
GM
225722011-04-08 Glenn Morris <rgm@gnu.org>
22573
a1de6c6a
GM
22574 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22575
3c4671f4
GM
22576 * net/browse-url.el (browse-url-firefox):
22577 Test system-type, not system-configuration.
22578
b605679c
GM
22579 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22580 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22581 Use log-edit-empty-buffer-p. (Bug#7598)
22582
56442f0c
GM
22583 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22584 (rlogin-mode-map): Initialize in the defvar.
22585 (rlogin): Use ignore-errors.
22586
12544bbe
GM
22587 * replace.el (occur-mode-map): Some fixes for menu items.
22588
eb237b0f
AH
225892011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22590
22591 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22592
7d668f2c
CY
225932011-04-06 Chong Yidong <cyd@stupidchicken.com>
22594
e67a13ab
CY
22595 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22596 issuing unused warnings.
22597
22598 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22599 macro directly.
22600
7d668f2c
CY
22601 * simple.el: Lisp reimplement of list-processes. Based on an
22602 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22603 (process-menu-mode): New major mode.
22604 (list-processes--refresh, list-processes):
22605 (process-menu-visit-buffer): New functions.
22606
22607 * files.el (save-buffers-kill-emacs): Don't assume any return
22608 value of list-processes, which is undocumented anyway.
22609
a83ec3c9
CY
226102011-04-06 Chong Yidong <cyd@stupidchicken.com>
22611
22612 * emacs-lisp/tabulated-list.el: New file.
22613
e91a96fe
CY
22614 * emacs-lisp/package.el: Use Tabulated List mode.
22615 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22616 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22617 table format using Tabulated List mode variables.
22618 (package--push): New macro, replacing package-list-maybe-add.
22619 (package-menu--generate): Use package--push. Renamed from
22620 package--generate-package-list.
22621 (package-menu-refresh, list-packages): Use it.
daca8ba5 22622 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22623 Return insertion data instead of inserting it directly.
099c39a4
JB
22624 (package-menu-describe-package, package-menu-execute):
22625 Use tabulated-list-get-id.
e91a96fe
CY
22626 (package-menu-mark-delete, package-menu-mark-install)
22627 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22628 (package-menu-mark-obsolete-for-deletion):
22629 Use tabulated-list-put-tag.
e91a96fe
CY
22630 (package--list-packages, package-menu-revert)
22631 (package-menu-get-package, package-menu-get-version)
22632 (package-menu-sort-by-column): Functions deleted.
22633 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22634 (package-menu--status-predicate, package-menu--version-predicate)
22635 (package-menu--name-predicate)
22636 (package-menu--description-predicate): Handle arguments in the
22637 Tabulated List format.
22638 (package-list-packages-no-fetch): Call list-packages.
22639
3e214b50
JB
226402011-04-06 Juanma Barranquero <lekktu@gmail.com>
22641
22642 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22643 (after-find-file): Don't bind it.
3e214b50
JB
22644 (revert-buffer-in-progress-p): New variable.
22645 (revert-buffer): Bind it.
22646 Pass nil for `after-find-file-from-revert-buffer'.
22647
22648 * saveplace.el (save-place-find-file-hook): Use new variable
22649 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22650
3f0f1700
GM
226512011-04-06 Glenn Morris <rgm@gnu.org>
22652
c0274801
GM
22653 * Makefile.in (AUTOGEN_VCS): New variable.
22654 (autoloads): Use $AUTOGEN_VCS.
22655
3f0f1700
GM
22656 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22657 * calendar/calendar.el (calendar-mode-map):
22658 Check for toolkit scroll bars. (Bug#8305)
22659
41ea9e48
CY
226602011-04-05 Chong Yidong <cyd@stupidchicken.com>
22661
22662 * minibuffer.el (completion-in-region--postch)
22663 (completion-in-region-mode): Remove unnecessary messages.
22664
6194c800
JB
226652011-04-05 Juanma Barranquero <lekktu@gmail.com>
22666
33256f14
JB
22667 * font-lock.el (font-lock-refresh-defaults):
22668 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22669 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22670
6194c800
JB
22671 * info.el (Info-directory-list, Info-read-node-name-2)
22672 (Info-split-parameter-string): Doc fixes.
22673 (Info-virtual-nodes): Reflow docstring.
22674 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22675 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22676 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22677 Fix typos in docstrings.
22678 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22679 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22680 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22681 (Info-restore-desktop-buffer): Mark unused parameters.
22682 (Info-directory-find-file, Info-directory-find-node)
22683 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22684 (Info-virtual-index-find-node, Info-apropos-find-file)
22685 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22686 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22687 (Info-virtual-index): Remove unused local variable `nodename'.
22688
b87a8200 226892011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22690
b87a8200
DD
22691 * net/rcirc.el: Update my e-mail address.
22692 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22693
3b2ff876
CY
226942011-04-05 Chong Yidong <cyd@stupidchicken.com>
22695
22696 * startup.el (command-line): Save the cursor's theme-face
22697 directly, instead of using face-override-spec.
22698
22699 * custom.el (load-theme): Minor optimization in assigning faces.
22700
8d17e7ca
JB
227012011-04-04 Juanma Barranquero <lekktu@gmail.com>
22702
22703 * help-fns.el (describe-variable): Complete all variables having
22704 documentation, including keywords.
22705 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22706
2fbc1934
JB
227072011-04-04 Juanma Barranquero <lekktu@gmail.com>
22708
22709 Convert to lexical-binding.
22710
22711 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22712 (bs--get-marked-string, bs--get-modified-string)
22713 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22714 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22715 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22716
22717 * ehelp.el (electric-help-execute-extended)
22718 (electric-help-ctrl-x-prefix):
22719 * hexl.el (hexl-revert-buffer-function):
22720 * linum.el (linum-after-change, linum-after-scroll):
22721 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22722
22723 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22724
74f50695
DU
227252011-04-04 Daiki Ueno <ueno@unixuser.org>
22726
22727 * epa-dired.el:
22728 * epa-mail.el:
22729 * epa-hook.el:
22730 * epa-file.el:
22731 * epa.el:
22732 * epg.el: Use lexical binding.
22733
c11325f7
CY
227342011-04-03 Chong Yidong <cyd@stupidchicken.com>
22735
0d9e9a12
CY
22736 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22737
c11325f7 22738 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22739 dictionary case for flyspell-mark-duplications-exceptions.
22740 Use regexp matching for languages.
c11325f7
CY
22741 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22742 default dictionary (Bug#7926).
22743
da91b5f2
CY
227442011-04-02 Chong Yidong <cyd@stupidchicken.com>
22745
099c39a4
JB
22746 * emacs-lisp/package.el (package--with-work-buffer):
22747 Recognize https URLs.
da91b5f2 22748
099c39a4
JB
22749 * net/network-stream.el: Move from gnus/proto-stream.el.
22750 Change prefix to network-stream throughout.
da91b5f2
CY
22751 (open-protocol-stream): Merge into open-network-stream, leaving
22752 open-protocol-stream as an alias. Handle nil BUFFER args.
22753
22754 * subr.el (open-network-stream): Move to net/network-stream.el.
22755
afa8e9f6
GM
227562011-04-02 Glenn Morris <rgm@gnu.org>
22757
1d2e369d
GM
22758 * find-dired.el (find-exec-terminator): New option.
22759 (find-ls-option): Test for -ls support.
22760 (find-ls-subdir-switches): Test for -b in find-ls-option.
22761 (find-dired, find-grep-dired): Doc fixes.
22762 (find-dired): Use find-exec-terminator.
22763
8abb7da8 22764 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22765 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22766 (find-name-arg): Remove purecopy.
8abb7da8 22767
f3ca7378
GM
22768 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22769 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22770 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22771 accordingly. Don't add the null-device if not needed.
22772
afa8e9f6
GM
22773 * files.el (save-some-buffers): Doc fix.
22774
35eae264
EZ
227752011-04-02 Eli Zaretskii <eliz@gnu.org>
22776
22777 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22778
26b51db5
JB
227792011-04-01 Juanma Barranquero <lekktu@gmail.com>
22780
22781 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22782 Use `dolist' rather than `mapcar'.
22783
7200d79c
SM
227842011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22785
03408648 22786 Add lexical binding.
7200d79c 22787
03408648
SM
22788 * subr.el (apply-partially): Use new closures rather than CL.
22789 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22790 (dolist, dotimes): Use slightly different expansion for lexical code.
22791 (functionp): Move to C.
22792 (letrec): New macro.
22793 (with-wrapper-hook): Use it and apply-partially instead of CL.
22794 (eval-after-load): Preserve lexical-binding.
22795 (save-window-excursion, with-output-to-temp-buffer): Turn them
22796 into macros.
7200d79c 22797
03408648
SM
22798 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22799
22800 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22801 than the arglist.
22802 (help-add-fundoc-usage): Don't add `Not documented'.
22803 (help-function-arglist): Handle closures, subroutines, and new
22804 byte-code-functions.
22805 (help-make-usage): Remove leading underscores.
22806 (describe-function-1): Handle closures.
22807 (describe-variable): Use special-variable-p for completion.
22808
22809 * files.el (lexical-binding): Declare safe.
f488fb65 22810
03408648
SM
22811 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22812 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22813 (pcase): Add `let' pattern.
22814 Change memoization so it actually works.
22815 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22816 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22817 <let>: New case.
f488fb65 22818
03408648
SM
22819 * emacs-lisp/macroexp.el: Use lexical binding.
22820 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22821 Don't convert ' to #' without checking that it's indeed quoting
22822 a lambda.
22823
22824 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22825 Use eval-sexp-add-defvars.
03408648
SM
22826 (eval-sexp-add-defvars): New fun.
22827
22828 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22829
22830 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22831 Don't autoload.
22832 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22833 than the internal `byte-compile-lambda'.
22834 (defmethod): Don't hide code under quotes.
22835 (eieio-defmethod): New `code' argument.
22836
22837 * emacs-lisp/eieio-comp.el: Remove.
22838
22839 * emacs-lisp/edebug.el (edebug-eval-defun)
22840 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22841 (edebug-toggle): Avoid `eval'.
22842
22843 * emacs-lisp/disass.el (disassemble-internal): Handle new
22844 `closure' objects.
22845 (disassemble-1): Handle new byte codes.
22846
22847 * emacs-lisp/cl.el (pushnew): Silence warning.
22848
22849 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22850 (cl-byte-compile-throw): Remove.
22851 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22852
22853 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22854 closures.
22855
22856 * emacs-lisp/cconv.el: New file.
22857
22858 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22859 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22860 (byte-compile-initial-macro-environment):
22861 Handle declare-function here.
22862 (byte-compile--lexical-environment): New var.
22863 (byte-stack-ref, byte-stack-set, byte-discardN)
22864 (byte-discardN-preserve-tos): New lap codes.
22865 (byte-interactive-p): Don't use any more.
22866 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22867 New macros.
22868 (byte-compile-lapcode): Use them and handle new lap codes.
22869 (byte-compile-obsolete): Remove.
22870 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22871 (byte-compile-arglist-warn): Check late def of inlinable funs.
22872 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22873 since they should have been expanded by now.
22874 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22875 (byte-compile-from-buffer): Remove unused second arg.
22876 (byte-compile-preprocess): New function.
22877 (byte-compile-toplevel-file-form): New function to distinguish
22878 file-form calls from outside from file-form calls from hunk-handlers.
22879 (byte-compile-file-form): Simplify.
22880 (byte-compile-file-form-defsubst): Remove.
22881 (byte-compile-file-form-defmumble): Simplify now that
22882 byte-compile-lambda always returns a byte-code-function.
22883 (byte-compile): Preprocess.
22884 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22885 Remove, not used any more.
22886 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22887 (byte-compile-make-args-desc): New funs.
22888 (byte-compile-lambda): Handle lexical functions. Always return
22889 a byte-code-function.
22890 (byte-compile-reserved-constants): New var, to make up room for
22891 closed-over variables.
22892 (byte-compile-constants-vector): Obey it.
22893 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22894 (byte-compile-macroexpand-declare-function): New function.
22895 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22896 byte-code-functions.
22897 (byte-compile-form): Check obsolescence here.
22898 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22899 (byte-compile-variable-ref): Remove.
22900 (byte-compile-dynamic-variable-op): New fun.
22901 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22902 (byte-compile-variable-set): New funs.
22903 (byte-compile-discard): Add 2 args.
22904 (byte-compile-stack-ref, byte-compile-stack-set)
22905 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22906 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22907 macroexpand-all instead.
22908 (byte-compile-quote-form): Remove.
22909 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22910 (byte-compile-bind, byte-compile-unbind): New funs.
22911 (byte-compile-let): Handle let* and lexical binding.
22912 (byte-compile-let*): Remove.
22913 (byte-compile-catch, byte-compile-unwind-protect)
22914 (byte-compile-track-mouse, byte-compile-condition-case):
22915 Handle a new :fun-body form, used for lexical scoping.
22916 (byte-compile-save-window-excursion)
22917 (byte-compile-with-output-to-temp-buffer): Remove.
22918 (byte-compile-defun): Simplify.
22919 (byte-compile-stack-adjustment): New fun.
22920 (byte-compile-out): Use it.
22921 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22922
22923 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22924 handler any more.
22925
22926 * emacs-lisp/byte-opt.el: Use lexical binding.
22927 (byte-inline-lapcode): Remove (to bytecomp).
22928 (byte-compile-inline-expand): Pay attention to inlining to/from
22929 lexically bound code.
22930 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22931 any more.
22932 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22933 any more and don't call compiler-macros.
22934 (byte-compile-splice-in-already-compiled-code): Remove.
22935 (byte-code): Don't inline any more.
22936 (disassemble-offset): Receive `bytes' as argument rather than via
22937 dynamic scoping.
22938 (byte-compile-tag-number): Declare before first use.
22939 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22940 `return' even if make-spliceable.
22941 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22942 obsolete interactive-p.
22943 (byte-optimize-lapcode): Optimize new lap-codes.
22944 Don't trip up on new form of `byte-constant' lap code.
22945
22946 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22947
22948 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22949
22950 * custom.el (custom-initialize-default, custom-declare-variable):
22951 Use `defvar'.
22952
22953 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22954 New variables.
22955 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22956 (COMPILE_FIRST): Add macroexp and cconv.
22957 * makefile.w32-in: Mirror changes in Makefile.in.
22958
22959 * vc/cvs-status.el:
22960 * vc/diff-mode.el:
22961 * vc/log-edit.el:
22962 * vc/log-view.el:
22963 * vc/smerge-mode.el:
22964 * textmodes/bibtex-style.el:
090bd7cb 22965 * textmodes/css-mode.el:
03408648
SM
22966 * startup.el:
22967 * uniquify.el:
da91b5f2
CY
22968 * minibuffer.el:
22969 * newcomment.el:
22970 * reveal.el:
22971 * server.el:
22972 * mpc.el:
22973 * emacs-lisp/smie.el:
22974 * doc-view.el:
22975 * dired.el:
03408648
SM
22976 * abbrev.el: Use lexical binding.
22977
0f0c1f27
EZ
229782011-04-01 Eli Zaretskii <eliz@gnu.org>
22979
22980 * info.el (info-display-manual): New function.
22981
c82b2579
SM
229822011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22983
22984 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22985
221ddf68
TH
229862011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22987
22988 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22989 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22990
cba6e77e
GM
229912011-03-31 Glenn Morris <rgm@gnu.org>
22992
e040639f
GM
22993 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22994
cba6e77e
GM
22995 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22996
6d0f1c9e
CS
229972011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22998
22999 * progmodes/python.el (python-default-interpreter)
23000 (python-python-command-args, python-jython-command-args)
23001 (python-which-shell, python-which-args, python-which-bufname)
23002 (python-file-queue, python-comint-output-filter-function)
23003 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23004 variables and functions.
23005
3e2d70fd
SM
230062011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23007
23008 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23009 (completion-in-region-mode): New minor mode.
23010 (completion-in-region): Use it.
23011 (completion-in-region--data, completion-in-region-mode-map): New vars.
23012 (completion-in-region--postch): New function.
23013 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23014 New vars.
23015 (completion--capf-wrapper): New function.
23016 (completion-at-point): Use it to track well-behavedness of
23017 hook functions.
23018 (completion-help-at-point): New command.
23019
f3e4086c
JM
230202011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23021
23022 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23023 syntax class to search for whitespace on a single line
23024 (Message-ID: <4D938140.4030905@redhat.com>).
23025
eb7ffc14
LL
230262011-03-30 Leo Liu <sdl.web@gmail.com>
23027
23028 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23029 New commands.
23030 (edit-abbrevs-map): Bind them here.
23031 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23032
d806ab68
KM
230332011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23034
23035 * allout.el (allout-hide-by-annotation, allout-flag-region):
23036 Reduce possibility of overlay leakage by making them volatile.
23037
23038 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23039 hash is not shared between buffers. Mode initialization is
23040 responsible for giving it a useful starting value.
23041 (allout-item-span): Reduce possibility of overlay leakage by
23042 making them volatile.
23043 (allout-widgets-count-buttons-in-region): Add diagnostic function
23044 for tracking down button overlay leaks.
23045
ea622834
LL
230462011-03-29 Leo Liu <sdl.web@gmail.com>
23047
23048 * ido.el (ido-read-internal): Use the default history var
23049 minibuffer-history if no HISTORY is specified.
23050
b62f8267
G
230512011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23052
03408648
SM
23053 * net/imap.el (imap-shell-open, imap-process-connection-type):
23054 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23055 Kerberos, SSL, other subprocesses.
23056
947b6566
LL
230572011-03-28 Leo Liu <sdl.web@gmail.com>
23058
23059 * abbrev.el (abbrev-table-empty-p): New function.
23060 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23061 nonempty ones. (Bug#5937)
23062
5ffb62aa
JD
230632011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23064
23065 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23066
7a097943
LL
230672011-03-27 Leo Liu <sdl.web@gmail.com>
23068
23069 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23070 for foreground and background colors.
23071 (ansi-color-make-color-map): Adapt.
23072
c5b40130
LL
230732011-03-25 Leo Liu <sdl.web@gmail.com>
23074
1f48f7d2
LL
23075 * midnight.el (midnight-time-float): Remove. Note it calculates
23076 the microsecond component incorrectly and seconds-to-time does the
23077 same job.
625897ec 23078 Remove redundant (require 'timer).
1f48f7d2 23079
c5b40130
LL
23080 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23081 (ido-completions): Remove unused arguments. (Bug#8329)
23082
d86d2721
SM
230832011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23084
23085 * minibuffer.el (completion--flush-all-sorted-completions):
23086 Remove itself from hook.
23087 (completion-at-point): Let the functions perform the completion
23088 immediately and return nil or t.
23089 * comint.el (comint-dynamic-complete-functions): Now identical to
23090 completion-at-point-functions.
23091 (comint-dynamic-list-input-ring): Remove unused var `index'.
23092 (comint--match-partial-filename, comint--unquote&expand-filename):
23093 New funs, split from comint-match-partial-filename.
23094 (comint-dynamic-complete): Use completion-at-point.
23095 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23096
e8974c48
DA
230972011-03-24 Drew Adams <drew.adams@oracle.com>
23098
23099 * thingatpt.el: Support `defun'.
23100
def71b5e
LL
231012011-03-23 Leo Liu <sdl.web@gmail.com>
23102
cb5af48e
LL
23103 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23104
def71b5e
LL
23105 * help-mode.el (help-mode-finish): Tweak regexp.
23106
927c53e7
GM
231072011-03-23 Glenn Morris <rgm@gnu.org>
23108
18d05bed
GM
23109 * eshell/esh-opt.el (eshell-eval-using-options):
23110 Do not bind unused local variable `eshell-option-stub'.
23111
927c53e7
GM
23112 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23113
9d0da923
JB
231142011-03-22 Juanma Barranquero <lekktu@gmail.com>
23115
23116 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23117 keymap variable in `with-no-warnings' to avoid a warning when the
23118 keymap has been already `defconst'ed.
23119
4b978a67
LL
231202011-03-22 Leo Liu <sdl.web@gmail.com>
23121
23122 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23123 encode all chars in abbrevs; otherwise use emacs-mule or
23124 utf-8-emacs. (Bug#8308)
23125
5fd62452
JB
231262011-03-22 Juanma Barranquero <lekktu@gmail.com>
23127
0b1596c6
JB
23128 * simple.el (backward-delete-char-untabify):
23129 Avoid warning about using `delete-backward-char'.
23130
5fd62452
JB
23131 * image.el (image-type-file-name-regexps): Make it variable.
23132 `imagemagick-register-types' modifies it, and the user may want
23133 to add new extensions for known image types.
23134 (imagemagick-register-types): Throw error if not using ImageMagick.
23135
0b4e93f1
LL
231362011-03-22 Leo Liu <sdl.web@gmail.com>
23137
23138 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23139 located before rcirc-prompt-end-marker.
23140 (rcirc-complete): Error if point is not after rcirc prompt.
23141 Handle the case when table is nil.
9882e214 23142 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23143
fccee4ab
CY
231442011-03-22 Chong Yidong <cyd@stupidchicken.com>
23145
23146 * custom.el (custom--inhibit-theme-enable): Make it affect only
23147 custom-theme-set-variables and custom-theme-set-faces.
23148 (provide-theme): Ignore custom--inhibit-theme-enable.
23149 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23150 (custom-enabling-themes): Delete variable.
d86d2721
SM
23151 (enable-theme): Accept only loaded themes as arguments.
23152 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23153 (custom-enabled-themes): Forbid themes from setting this.
23154 Eliminate use of custom-enabling-themes.
23155 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23156
af896da6
LL
231572011-03-21 Leo Liu <sdl.web@gmail.com>
23158
23159 * ido.el (ido-read-internal): Add ido-selected to history instead
23160 of user input.
23161
78f64af0
SM
231622011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23163
23164 * subr.el (deferred-action-list, deferred-action-function):
23165 Mark obsolete.
23166
b16ac1ec
LL
231672011-03-21 Leo Liu <sdl.web@gmail.com>
23168
810f7698
LL
23169 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23170 change on 2011-02-13 (bug#8309).
23171
b16ac1ec
LL
23172 * minibuffer.el (read-file-name-function): Change default value.
23173 (read-file-name--defaults): Rename from read-file-name-defaults.
23174 (read-file-name-default): Rename from read-file-name.
23175 (read-file-name): Call read-file-name-function.
23176
4e05e67e
GM
231772011-03-21 Glenn Morris <rgm@gnu.org>
23178
23179 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23180 Doc fixes.
23181
4359915b
CY
231822011-03-21 Chong Yidong <cyd@stupidchicken.com>
23183
23184 * cus-theme.el: Add missing provide statement.
23185 (customize-create-theme): Extract theme value correctly.
23186 (custom-theme-visit-theme): Autoload.
23187 (customize-create-theme): Prompt before inserting default faces.
23188
1fe275ee
JB
231892011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23190
23191 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23192 units and musical notes.
23193
cd394be1 231942011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23195
23196 * ido.el (ido-read-internal): Use completing-read-default.
23197 (ido-completing-read): Fix compatibility with completing-read.
23198
7d476bde
CO
231992011-03-20 Christian Ohler <ohler@gnu.org>
23200
23201 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23202 (ert-delete-all-tests): Use `called-interactively-p' rather than
23203 `interactive-p'.
23204 (ert--make-xrefs-region): Respect END.
23205
fe0fb33e
CY
232062011-03-19 Chong Yidong <cyd@stupidchicken.com>
23207
ff854b0b
CY
23208 * dired-aux.el (dired-create-directory): Signal an error if the
23209 directory already exists (Bug#8246).
23210
fe0fb33e
CY
23211 * facemenu.el (list-colors-display): Call list-faces-display
23212 inside with-help-window.
23213 (list-colors-print): Use display property to align the final
23214 column, instead of checking window-width.
23215
576bce32
EZ
232162011-03-19 Eli Zaretskii <eliz@gnu.org>
23217
4d61f28d 23218 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23219 windows-nt systems.
23220 (emerge-protect-metachars): Quote correctly for ms-dos and
23221 windows-nt systems.
23222
89c41d68 232232011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23224
23225 * info.el (info-initialize): Replace all uses of `:' with
23226 path-separator for compatibility with non-Unix systems.
23227 Cache quoting of path-separator. (Bug#8258)
23228
b14e3e21 232292011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23230
23231 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23232 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23233 (mouse-avoidance-mode): Fix typos in docstrings.
23234
4525ce3e
CY
232352011-03-19 Chong Yidong <cyd@stupidchicken.com>
23236
23237 * startup.el (package-subdirectory-regexp): Move from package.el.
23238 Omit \\` and \\', and let callers add them.
23239
23240 * emacs-lisp/package.el (package-strip-version)
23241 (package-load-all-descriptors): Add \\` and \\' to
23242 package-subdirectory-regexp before using it.
23243 (package-untar-buffer): New arg DIR; ensure that file untars only
23244 into this expected directory. Remove superfluous delete-region.
23245 (package-unpack): Caller changed.
23246 (package-tar-file-info): Use package-subdirectory-regexp.
23247
a904a09a 232482011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23249
a904a09a
SM
23250 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23251 diff-mode-shared-map (bug#8284).
23252 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23253
232542011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23255
23256 * calendar/time-date.el (format-seconds): Use assoc instead of
23257 assoc-string, since assoc-string doesn't exist in XEmacs.
23258
171fc304
JB
232592011-03-17 Juanma Barranquero <lekktu@gmail.com>
23260
23261 * custom.el (custom-known-themes): Reflow docstring.
23262 (custom-theme-load-path): Fix typo in docstring.
23263 (load-theme): Fix typo in error message.
23264 (custom-available-themes, custom-variable-theme-value):
23265 Use `let', not `let*'.
23266
d71990a1
JB
232672011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23268
23269 * calc/README: Mention inclusion of musical notes.
23270
23271 * calc/calc-units.el (calc-lu-quant): Rename from
23272 `calc-logunits-quantity'.
23273 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23274 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23275 (calc-db): Rename from `calc-dblevel'.
23276 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23277 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23278 (calc-np): Rename from `calc-nplevel'.
23279 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23280 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23281 (calc-lu-plus): Rename from `calc-logunits-add'.
23282 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23283 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23284 (calc-lu-minus): Rename from `calc-logunits-sub'.
23285 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23286 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23287 (calc-lu-times): Rename from `calc-logunits-mul'.
23288 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23289 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23290 (calc-lu-divide): Rename from `calc-logunits-div'.
23291 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23292 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23293
23294 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23295 functions being autoloaded.
23296
23297 * calc/calc.el (calc-lu-power-reference): Rename from
23298 `calc-logunits-power-reference'.
23299 (calc-lu-field-reference): Rename from
23300 `calc-logunits-field-reference'.
23301
7a71b18d
GM
23302 * calc/calc-help.el (calc-l-prefix-help):
23303 Mention musical note functions.
d71990a1 23304
40c2934b
SM
233052011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23306
23307 * minibuffer.el (completion-all-sorted-completions):
23308 Use :completion-cycle-penalty text property if present.
23309
b0911414
KM
233102011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23311
23312 * allout.el (allout-yank-processing): Adjust for new rebulleting
23313 regime so bullet being yanked is used without prompting the user
23314 for a choice.
23315
8a05b668
JB
233162011-03-16 Juanma Barranquero <lekktu@gmail.com>
23317
23318 * startup.el (command-line): Warn the user that _emacs is deprecated.
23319
5ba5fb81
JB
233202011-03-16 Juanma Barranquero <lekktu@gmail.com>
23321
23322 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23323 (delphi-verbose, delphi-comment-face, delphi-string-face)
23324 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23325 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23326 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23327 (delphi-new-comment-line, delphi-font-lock-defaults)
23328 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23329 Fix typos in docstrings.
23330
2dab465b
KM
233312011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23332
5ba5fb81 23333 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23334 Invert the roles of character and string values for INSTEAD, so a
23335 string is used for the more common case of a defaulting prompt.
23336
0adf5618
SM
233372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23338
23339 * progmodes/ruby-mode.el (ruby-backward-sexp):
23340 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23341 * play/gamegrid.el (gamegrid-make-face):
23342 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23343 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23344 * notifications.el (notifications-notify):
23345 * net/xesam.el (xesam-search-engines):
23346 * net/quickurl.el (quickurl-list-insert):
23347 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23348
d72700e5
CY
233492011-03-15 Chong Yidong <cyd@stupidchicken.com>
23350
23351 * startup.el (command-line): Update package subdirectory regexp.
23352
49c5410a
SM
233532011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23354
c6eee9aa
SM
23355 * allout.el (allout-abbreviate-flattened-numbering)
23356 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23357
49c5410a
SM
23358 * subr.el (read-char-choice): Only show the cursor after the prompt,
23359 not after the answer.
23360
047b2bb9
KR
233612011-03-15 Kevin Ryde <user42@zip.com.au>
23362
23363 * help-fns.el (variable-at-point): Skip leading quotes, if any
23364 (bug#8253).
23365
0a57d256
SM
233662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23367
23368 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23369 warning message.
23370
77c992bc
MA
233712011-03-14 Michael Albinus <michael.albinus@gmx.de>
23372
23373 * shell.el (shell): When called interactively, offer to change the
23374 shell file name on remote hosts.
23375
eebc475d
TZ
233762011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23377
23378 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23379 integration for LDAP parameters. The host, base, user or binddn,
23380 and secret tokens can be specified in a netrc file, for instance.
23381 This is optional because an `auth-source' parameter must be
23382 specified in the search attributes.
23383
9d05d1ba
JB
233842011-03-13 Juanma Barranquero <lekktu@gmail.com>
23385
23386 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23387
09d9db2c
GM
233882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23389
23390 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23391 into declaration. Remove redundant and harmful binding.
23392
233932011-03-12 Eli Zaretskii <eliz@gnu.org>
23394
23395 * files.el (file-ownership-preserved-p): Pass `integer' as an
23396 explicit 2nd argument to `file-attributes'. If the file's owner
23397 is the Administrators group on Windows, and the current user is
23398 Administrator, consider that a match.
23399
23400 * server.el (server-ensure-safe-dir): Consider server directory
23401 safe on MS-Windows if its owner is the Administrators group while
23402 the current Emacs user is Administrator. Use `=' to compare
23403 numerical UIDs, since they could be integers or floats.
23404
219bd536
JB
234052011-03-12 Juanma Barranquero <lekktu@gmail.com>
23406
23407 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23408
f3afd36b
MA
234092011-03-12 Michael Albinus <michael.albinus@gmx.de>
23410
23411 Sync with Tramp 2.2.1.
23412
23413 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23414
23415 * net/trampver.el: Update release number.
23416
3aaaa6f1
SM
234172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23418
94642599
SM
23419 * progmodes/compile.el (compilation--previous-directory): Fix up
23420 various nil/dead-marker mismatches (bug#8014).
23421 (compilation-directory-properties, compilation-error-properties):
23422 Don't call it at a position past the one we're about to change.
23423
3aaaa6f1
SM
23424 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23425 Disable obsolescence warnings in the file that declares it.
23426
14239447
KM
234272011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23428
099c39a4
JB
23429 * allout-widgets.el (allout-widgets-tally):
23430 Initialize allout-widgets-tally as a hash table rather than nil to
23431 prevent mode-line redisplay warnings. Also, clarify the module
23432 description and fix a comment typo.
14239447 23433
135e287c
JB
234342011-03-11 Juanma Barranquero <lekktu@gmail.com>
23435
23436 * help-fns.el (describe-variable): Don't complete keywords.
23437 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23438
ffbf300e
CY
234392011-03-10 Chong Yidong <cyd@stupidchicken.com>
23440
ba08b241
CY
23441 * emacs-lisp/package.el (package-version-join): Impose a standard
23442 string representation for pre/alpha/beta version lists.
23443 (package-unpack-single): Standardize the directory name by passing
23444 it through package-version-join.
23445 (package-strip-rcs-id): Accept any version string that does not
23446 signal an error in version-to-list.
ffbf300e 23447
f346fd6b
MA
234482011-03-10 Michael Albinus <michael.albinus@gmx.de>
23449
23450 * simple.el (delete-trailing-whitespace): Return nil for the
23451 benefit of `write-file-functions'.
23452
ccb55d27
GM
234532011-03-10 Glenn Morris <rgm@gnu.org>
23454
5ceaac0c
GM
23455 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23456
02da65ff
GM
23457 * vc/vc-git.el (vc-git-program): New option.
23458 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23459 (vc-git--call): Use it.
23460
b2f603cc
GM
23461 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23462
5772caab
GM
23463 * cus-edit.el (Custom-newline): If no button at point, look
23464 for a subgroup button at start-of-line. (Bug#2298)
23465
ccb55d27
GM
23466 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23467
ec6ecaed
JD
234682011-03-10 Julien Danjou <julien@danjou.info>
23469
23470 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23471 `cursor-type' is nil.
23472
9d5aa01d
JB
234732011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23474
23475 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23476
b6a5875b
KM
234772011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23478
7a71b18d 23479 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23480 preserves the existing header prefix, rebulleting it if necessary,
23481 rather than replacing it. This is necessary for proper operation
23482 of cooperative addons like allout-widgets.
1154d12e
JB
23483 (allout-make-topic-prefix, allout-rebullet-heading):
23484 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23485 value as alternate bullet to be used, instead of prompting the user
23486 for a bullet character.
b6a5875b 23487
ee545c35
MA
234882011-03-09 Michael Albinus <michael.albinus@gmx.de>
23489
d86d2721
SM
23490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23491 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23492 `tramp-default-port'.
23493
c47971d7
DD
234942011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23495
23496 * net/rcirc.el (rcirc-handler-001): Remove useless
23497 with-rcirc-process-buffer.
23498 (rcirc-check-auth-status): Swap arguments to string-match.
23499
13522cb4
GM
235002011-03-09 Glenn Morris <rgm@gnu.org>
23501
0be6f4f1
GM
23502 * shell.el (shell-mode):
23503 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23504
13522cb4
GM
23505 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23506 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23507
515de2e3
CY
235082011-03-08 Chong Yidong <cyd@stupidchicken.com>
23509
23510 * emacs-lisp/package.el (package-refresh-contents)
23511 (package-menu-execute): Use condition-case-no-debug.
23512
b511b994
MA
235132011-03-08 Michael Albinus <michael.albinus@gmx.de>
23514
23515 * simple.el (shell-command-to-string): Use `process-file'.
23516
23517 * emacs-lisp/package.el (package-tar-file-info): Handle also
23518 remote files.
23519
d86d2721
SM
23520 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23521 Use `equal' for upload base check.
b511b994 23522
25bbfb31
AM
235232011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23524
23525 * textmodes/texinfo.el (texinfo-environments):
23526 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23527
be996521
GM
235282011-03-08 Glenn Morris <rgm@gnu.org>
23529
e9c8529f
GM
23530 * cus-start.el (cursor-in-non-selected-windows):
23531 Fix :set quoting oddness. (Bug#8192)
23532
be996521
GM
23533 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23534 in some setf expressions. (Bug#2159)
23535
2bb5649e
CY
235362011-03-08 Chong Yidong <cyd@stupidchicken.com>
23537
23538 * custom.el (custom-available-themes): Return themes in
23539 alphabetical order.
23540
33383987 23541See ChangeLog.15 for earlier changes.
e3d51b27
MR
23542
23543;; Local Variables:
23544;; coding: utf-8
e3d51b27
MR
23545;; End:
23546
ab422c4d 23547 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23548
23549 This file is part of GNU Emacs.
23550
23551 GNU Emacs is free software: you can redistribute it and/or modify
23552 it under the terms of the GNU General Public License as published by
23553 the Free Software Foundation, either version 3 of the License, or
23554 (at your option) any later version.
23555
23556 GNU Emacs is distributed in the hope that it will be useful,
23557 but WITHOUT ANY WARRANTY; without even the implied warranty of
23558 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23559 GNU General Public License for more details.
23560
23561 You should have received a copy of the GNU General Public License
23562 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.