* ses.el (ses-rename-cell): Set new name also in reference list of cells of which...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
316e68a7
VB
12012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2
3 * ses.el (ses-rename-cell): Set new name also in reference list of
4 cells of which the renamed cell depends.
5
bbf0e7d9
MY
62012-07-20 Masatake YAMATO <yamato@redhat.com>
7
8 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9 to check whether menu-bar is shown or not. If not shown,
10 show the menu-bar as a popup menu instead of using tmm.
11 * mouse.el (popup-menu): Accept `point' as `position' argument.
12
c28662a8
DG
132012-07-20 Dmitry Gutov <dgutov@yandex.ru>
14
15 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
16 up inside string symbol literal (bug#11923).
17
87ab808f
EZ
182012-07-20 Eli Zaretskii <eliz@gnu.org>
19
20 * startup.el (fancy-startup-text): Read the whole tutorial, not
21 just its first 256 bytes. Prevents gibberish in display of the
22 tutorial title.
23
89dea803
DA
242012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
25
26 Drop idle buffer compaction due to an absence of the
27 proved efficiency.
28 * compact.el: Remove.
29
8a4e6db8
SS
302012-07-19 Sam Steingold <sds@gnu.org>
31
32 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
33 vc-bzr-pull & vc-bzr-merge-branch.
34 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
35 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
36 for consistency with compilation-error-regexp-alist.
37 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
38 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
39 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
40 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
41
5db81e33
SM
422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * emacs-lisp/chart.el: Use lexical-binding.
45 (chart-emacs-storage): Don't hardcode the list of entries.
46
5b835e1d
DA
472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
48
49 Next round of tweaks caused by Fgarbage_collect changes.
50 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
51
9cd47b72
DA
522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
53
54 Compact buffers when idle.
55 * compact.el: New file.
56
1d6fc0df
SM
572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * subr.el (eventp): Presume that if it looks vaguely like an event,
60 it's an event (bug#10190).
61
1d29cc7d
FEG
622012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
63
64 Enhancements to ppss related code (thanks Stefan).
65 * progmodes/python.el (python-indent-context)
66 (python-indent-calculate-indentation, python-indent-dedent-line)
67 (python-indent-electric-colon, python-nav-forward-block)
68 (python-mode-abbrev-table)
1d6fc0df 69 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
70 for ppss context.
71 (python-info-continuation-line-p): Cleanup.
72 (python-info-ppss-context): Do not catch 'quote.
73 (python-info-ppss-context-type)
74 (python-info-ppss-comment-or-string-p): Simplify.
75
d583cbe6
FEG
762012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
77
78 * progmodes/python.el: Enhancements to eldoc support.
79 (python-info-current-symbol): New function.
80 (python-eldoc-at-point): Use python-info-current-symbol.
81 (python-info-current-defun): Fix cornercase on first defun scan.
82 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
83 and signal error when no inferior python process is available.
84
eceb6feb
DG
852012-07-18 Dmitry Gutov <dgutov@yandex.ru>
86
87 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
88 assume it's always t.
89 (vc-git-registered): Remove caching, the function is only called
90 once.
91 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
92
4c8ff0fe
CY
932012-07-18 Chong Yidong <cyd@gnu.org>
94
19fb7186
CY
95 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
96
9587c688
CY
97 * simple.el (count-words): Report on narrowing (Bug#9959).
98
0fe776a1
CY
99 * bindings.el: Bind M-= to count-words.
100
4c8ff0fe
CY
101 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
102
7f5331cc
MY
1032012-07-18 Masatake YAMATO <yamato@redhat.com>
104
105 * progmodes/sh-script.el (sh-imenu-generic-expression):
106 Capture a function with `function' keyword and without parentheses
107 like "function FOO" (bug#11856).
108
2dc2a609
TH
1092012-07-18 Tassilo Horn <tassilo@member.fsf.org>
110
111 * window.el (split-window-sensibly): Make WINDOW argument
112 optional.
113
439f7677
CY
1142012-07-18 Chong Yidong <cyd@gnu.org>
115
9aeb25a6
CY
116 * subr.el (keyboard-translate): Doc fix (Bug#7261).
117
439f7677
CY
118 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
119 and make C-x 8 RET exit isearch (Bug#11439).
120
121 * international/iso-transl.el: Move isearch-mode-map key
122 definitions to isearch.el.
123
12999ea8
SM
1242012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
127 (eieio-defclass): Use gv-define-setter when possible.
128
3ab6e069
DA
1292012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
130
131 Reflect recent changes in Fgarbage_collect.
132 * emacs-lisp/chart.el (chart-emacs-storage): Change to
133 reflect new format of data returned by Fgarbage_collect.
134
0a60bc10
FEG
1352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
136
137 New utility functions + python-info-ppss-context fix (Bug#11910).
138 * progmodes/python.el (python-info-beginning-of-block-statement-p)
139 (python-info-ppss-comment-or-string-p): New functions.
140 (python-info-ppss-context): Small fix for string check.
141
6dafa0d5
JL
1422012-07-17 Juri Linkov <juri@jurta.org>
143
144 * dired-aux.el (dired-do-async-shell-command): Doc fix.
145 (dired-do-async-shell-command): Don't add `*' at the end of the
146 command (Bug#11815).
147 (dired-do-shell-command): Doc fix.
148 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
149 Join the individual commands using either "&" or ";" as the
150 separator depending on the values of these trailing characters.
151 At the end re-add the trailing "&". (Bug#10598)
152
153 * simple.el (async-shell-command): Sync the interactive spec with
154 `shell-command'. Doc fix.
155 (shell-command): Doc fix.
156
b19dd9d1
JL
1572012-07-17 Juri Linkov <juri@jurta.org>
158
159 * descr-text.el (describe-char): Fix format args. (Bug#10129)
160
bcdc27d7 1612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 162
bcdc27d7 163 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
164 * progmodes/python.el (python-nav-beginning-of-statement):
165 Rename from python-nav-statement-start.
bcdc27d7
FEG
166 (python-nav-end-of-statement): Rename from
167 python-nav-statement-end.
168 (python-nav-beginning-of-block): Rename from
169 python-nav-block-start.
170 (python-nav-end-of-block): Rename from python-nav-block-end.
171
191da00e
FEG
1722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
173
7f5331cc
MY
174 * progmodes/python.el (python-shell-send-string-no-output):
175 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
176 future interactions (Bug#11868).
177
4dc7c8d5 1782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 179
88ecaf8f
SM
180 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
181
ef501ef0
SM
182 * emacs-lisp/elint.el (elint-find-args-in-code):
183 Use help-function-arglist, so as to handle lexical byte-code.
184
aa7aaf8f
SM
185 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
186 change (bug#11826).
187
45fd731c
SM
1882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
189
2143fa32
SM
190 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
191 Avoid spuriously marking the buffer as modified because of c-is-sws.
192
efc26dbe
SM
193 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
194 as not-a-comment (bug#11946).
195
f5695c9a
SM
196 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
197 for uninterned vars.
198
199 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
200 Use read-event since we don't really want to read chars but bytes.
201
45fd731c
SM
202 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
203 $$..$$ but also $..$ using regexps (bug#11953).
204 Use tex-verbatim for \url and \path.
205 (tex-font-lock-keywords): Define as defconst like the others.
206 (tex-common-initialization): Don't use font-lock-syntax-table any more.
207
ddfc8813
RK
2082012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
209
210 * international/mule-cmds.el (ucs-insert): Make it an obsolete
211 alias for insert-char.
212
758e556a
FEG
2132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
214
215 * progmodes/python.el: Simplified imenu implementation.
216 (python-nav-jump-to-defun): Remove command.
217 (python-mode-map): Use `imenu' instead.
218 (python-nav-list-defun-positions-cache)
219 (python-imenu-include-defun-type, python-imenu-make-tree)
220 (python-imenu-subtree-root-label, python-imenu-index-alist):
221 Remove vars.
222 (python-nav-list-defun-positions, python-nav-read-defun)
223 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
224 (python-imenu-make-tree, python-imenu-create-index):
225 Remove functions.
758e556a
FEG
226 (python-mode): Update to interact with imenu by setting
227 `imenu-extract-index-name-function' only.
228
032d23ab
FEG
2292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
230
231 * progmodes/python.el: Enhancements to navigation commands.
232 (python-nav-backward-sentence)
233 (python-nav-forward-sentence): Remove.
234 (python-nav-backward-statement, python-nav-forward-statement)
235 (python-nav-statement-start, python-nav-statement-end)
236 (python-nav-backward-block, python-nav-forward-block)
237 (python-nav-block-start, python-nav-block-end)
238 (python-nav-forward-sexp-function)
239 (python-info-current-line-comment-p)
240 (python-info-current-line-empty-p): New functions.
241 (python-indent-context): Use `python-nav-statement-start'.
242
01795a1b
MA
2432012-07-16 Michael Albinus <michael.albinus@gmx.de>
244
9328d9aa
MA
245 * eshell/em-ls.el (eshell/ls): Use `apply'.
246
247 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
248 multi-hops, instead of Tramp internals.
249
01795a1b
MA
250 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
251
252 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
253 when F1 and F2 are located on different hosts.
254
63408057
CY
2552012-07-14 Chong Yidong <cyd@gnu.org>
256
257 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
258 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
259 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
260 (xterm-mouse--read-event-sequence-1000)
261 (xterm-mouse--read-event-sequence-1006): New functions. For old
262 mouse protocol, handle M-mouse-X events correctly.
263 (xterm-mouse-event): New arg specifying mouse protocol.
264 (turn-on-xterm-mouse-tracking-on-terminal)
265 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
266 sequence to toggle extended coordinates on newer XTerms.
267 This appears to be harmless on terminals which do not support this.
63408057 268
cd276f6e
LL
2692012-07-14 Leo Liu <sdl.web@gmail.com>
270
28ca98ac
LL
271 Add fringe bitmap indicators for flymake. (Bug#11253)
272 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
273 (flymake-make-overlay): New arg BITMAP.
274 (flymake-error-bitmap, flymake-warning-bitmap)
275 (flymake-fringe-indicator-position): New user variables.
276
cd276f6e
LL
277 * fringe.el: New bitmap exclamation-mark.
278
04408072
JD
2792012-07-14 Jan Djärv <jan.h.d@swipnet.se>
280
281 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
282 also (Bug#7879).
283
b5cf7fc4
CY
2842012-07-14 Chong Yidong <cyd@gnu.org>
285
286 * electric.el (electric-pair-post-self-insert-function): Fix pair
287 insertion in empty-region case (Bug#11520).
288
be755c79
RT
2892012-07-14 Chong Yidong <cyd@gnu.org>
290
45fd731c
SM
291 * bindings.el: Consolidate ctl-x-r-map bindings.
292 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
293
294 * rect.el, register.el: Move bindings to bindings.el.
295
2962012-07-14 Reuben Thomas <rrt@sc3d.org>
297
298 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
299
7f5b3198
AS
3002012-07-13 Andreas Schwab <schwab@linux-m68k.org>
301
302 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
303
97662200
JB
3042012-07-13 Juanma Barranquero <lekktu@gmail.com>
305
80185fed
JB
306 * bindings.el (top): Use `mapc' instead of `mapcar'.
307
97662200
JB
308 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
309
2bb1ae55
MA
3102012-07-13 Michael Albinus <michael.albinus@gmx.de>
311
312 * progmodes/sql.el (sql-comint): Suppress the check for program on
313 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
314 (Bug#11908)
315
dea31bd3
CY
3162012-07-13 Chong Yidong <cyd@gnu.org>
317
318 * bindings.el: Assign a non-nil permanent-local property to
319 per-buffer variables which lack a default value (Bug#11930).
320
321 * help-fns.el (describe-variable): In the "automatically becomes
322 local" notice, take note of permanent-local variables.
323
b68b3337
CY
3242012-07-13 Chong Yidong <cyd@gnu.org>
325
326 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
327 to allow printing the message when called from Lisp.
328
329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
330 Remove toggle-read-only.
331
332 * bs.el (bs-toggle-readonly):
45fd731c
SM
333 * buff-menu.el (Buffer-menu-toggle-read-only):
334 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
335
336 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
337 Remove with-no-warnings around toggle-read-only.
338 (ffap-read-only, ffap-read-only-other-window)
339 (ffap-read-only-other-frame): Callers changed.
340
341 * help-mode.el: Don't require view package.
342 (help-mode-finish): Set buffer-read-only instead of calling
343 toggle-read-only.
344
345 * bindings.el (mode-line-toggle-read-only):
346 * dired.el (dired-toggle-read-only):
347 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
348 with non-nil second arg.
349
350 * emacs-lisp/eieio-custom.el (eieio-customize-object):
351 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
352 directly.
353
56bc1586
EZ
3542012-07-12 Eli Zaretskii <eliz@gnu.org>
355
356 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
357 not incf.
358
a464a6c7
SM
3592012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 More CL cleanups and reduction of use of cl.el.
362 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
363 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
364 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
365 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
366 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
367 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
368 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
369 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
370 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
371 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
372 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
373 * eshell/em-cmpl.el, eshell/em-banner.el:
374 * calendar/parse-time.el: Use cl-lib.
375 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
376 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
377 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
378 * term/ns-win.el, term.el, shell.el, ps-samp.el:
379 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
380 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
381 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
382 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
383 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
384 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
385 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
386 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
387 `lambda' rather than with `quote'.
388 (eshell-do-opt): Adjust accordingly.
389 (eshell-process-option): Simplify.
390 * eshell/esh-var.el:
391 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
392 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
393 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
394 to `pcase--dontcare'.
395 * emacs-lisp/cl.el (labels): Mark obsolete.
396 (cl--letf, letf): Move to cl-lib.
397 (cl--letf*, letf*): Remove.
398 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
399 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
400 (cl-progv): Rewrite.
401 (cl--letf, cl-letf): Move from cl.el.
402 (cl-letf*): New macro.
403 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
404
7ad4afe1
MA
4052012-07-11 Michael Albinus <michael.albinus@gmx.de>
406
407 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
408
9af57756
CY
4092012-07-11 Chong Yidong <cyd@gnu.org>
410
411 * vc/log-edit.el (log-edit-vc-backend): New variable.
412 (log-edit): Doc fix.
413
414 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
415 argument of log-edit to set up all local variables.
416 (vc-start-logentry): New optional arg specifying VC backend.
417
418 * vc/vc.el (vc-checkin): Use it.
419 (vc-deduce-fileset): Handle Log Edit buffers.
420 (vc-diff): Make first argument optional too.
421
422 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
423
8477cc7a
MA
4242012-07-10 Michael Albinus <michael.albinus@gmx.de>
425
426 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
427 command, just in case. The function is not needed anymore.
428 (eshell-external-command): Do not call `eshell-remote-command'.
429
19faa8e8
SM
4302012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
431
f58e0fd5
SM
432 Reduce use of (require 'cl).
433 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
434 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
435 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
436 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
437 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
438 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
439 * battery.el, avoid.el, abbrev.el: Use cl-lib.
440 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
441 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
442 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
443 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
444 * calculator.el, autorevert.el, apropos.el: Don't require CL.
445 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
446 (byte-compile-unfold-bcf, byte-compile-check-variable):
447 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
448 (byte-compile-nilconstp):
449 * emacs-lisp/autoload.el (make-autoload): Use pcase.
450 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
451
2519d43a
SM
452 * emacs-lisp/gv.el (cond): Make it a valid place.
453 (if): Simplify slightly.
454
19faa8e8
SM
455 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
456 (pcase--self-quoting-p): New function.
457 (pcase--u1): Use it.
458
c4907a5e
GM
4592012-07-10 Glenn Morris <rgm@gnu.org>
460
461 * emacs-lisp/authors.el (authors-fixed-entries):
462 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
463
c4444d16
PE
4642012-07-09 Paul Eggert <eggert@cs.ucla.edu>
465
466 Rename configure.in to configure.ac (Bug#11603).
467 * emacs-lisp/authors.el (authors-canonical-file-name):
468 * progmodes/autoconf.el (autoconf-mode):
469 Prefer configure.ac to configure.in.
470
d75be97d
CY
4712012-07-08 Chong Yidong <cyd@gnu.org>
472
01ac65bd
CY
473 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
474 Implement the mouse-1-click-follows-link handling properly.
475
476 * info.el (Info-link-keymap): Use follow-link mechanism for
477 header-line links (Bug#374).
478
d75be97d
CY
479 * simple.el (deactivate-mark): Do not set the primary selection
480 if another program has acquired it (Bug#11772).
481
87a92845 4822012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
483
484 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
485 (woman-decode-region): Replace escaped-escapes without destroying
486 bold or underline (Bug#11552).
87a92845 487 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 488
621b9d6c
CY
4892012-07-07 Chong Yidong <cyd@gnu.org>
490
491 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
492 (interprogram-cut-function, interprogram-paste-function):
493 Mention that we typically mean the clipboard.
621b9d6c 494
133a11fc
GM
4952012-07-06 Glenn Morris <rgm@gnu.org>
496
0d27a45e
GM
497 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
498
133a11fc
GM
499 * files.el (toggle-read-only): Restrict message to interactive use.
500
07b151f1
MA
5012012-07-06 Michael Albinus <michael.albinus@gmx.de>
502
503 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
504
505 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
506
211b896b
GM
5072012-07-06 Glenn Morris <rgm@gnu.org>
508
50394322
GM
509 * Makefile.in (compile-one-process): Rename from "recompile".
510
211b896b
GM
511 * Makefile.in (bzr-update): "compile" is the same as "recompile
512 autoloads", but parallelizable, so use that instead.
513
4737eec9
DG
5142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
515
516 * window.el (quit-window): Always restore window height when
517 it's saved in quit-restore parameter.
518
226c3633 5192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
520
521 * simple.el (kill-whole-line): Doc tweak.
522
226c3633 5232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
524
525 * files.el (file-relative-name): Compare file names
526 case-insensitively if on MS-Windows or MS-DOS, or if
527 read-file-name-completion-ignore-case is non-nil. Don't use
528 case-fold-search for this purpose. (Bug#11827)
529
4dc7c8d5
SM
5302012-07-17 Andreas Schwab <schwab@linux-m68k.org>
531
532 * calendar/cal-dst.el (calendar-current-time-zone):
533 Return calendar-current-time-zone-cache if non-nil.
534
5352012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 5362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 537
19faa8e8
SM
538 * calendar/cal-dst.el (calendar-current-time-zone):
539 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 540
60198fc9
GM
5412012-07-06 Glenn Morris <rgm@gnu.org>
542
543 * Makefile.in (cvs-update): Remove old alias.
544
957b3189
MA
5452012-07-05 Michael Albinus <michael.albinus@gmx.de>
546
547 Sync with Tramp 2.2.6-pre.
548
549 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
550 compatible declaration.
551
19faa8e8
SM
552 * net/tramp-cmds.el (tramp-append-tramp-buffers):
553 Protect `list-load-path-shadows' call.
957b3189
MA
554
555 * net/tramp-compat.el (top): Require packages, which aren't
556 autoloaded anymore for XEmacs. Protect call of
557 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
558 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
559 it hurts at least for SXEmacs.
560 (tramp-compat-temporary-file-directory): In XEmacs, there is no
561 standard-value for `temporary-file-directory'.
562
563 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
564 Redirect stderr to /dev/null.
565 (tramp-sh-handle-write-region): uid and gid can be floats.
566 Reported by Russell Sim <russell.sim@gmail.com>.
567 (tramp-sh-handle-vc-registered): Hide errors.
568 (tramp-vc-file-name-handler): Use dummy results for `process-file'
569 and `start-file-process'.
570 (tramp-maybe-open-connection): Check also whether `non-essential'
571 is bound.
572
566df3fc
CY
5732012-07-04 Chong Yidong <cyd@gnu.org>
574
575 * xml.el (xml--parse-buffer): Use xml-syntax-table.
576 (xml-parse-tag): Likewise, and avoid changing entity tables.
577 (xml-syntax-table): Define from scratch, making sure not to give
578 x2000 and other Unicode spaces whitespace syntax, since those are
579 not spaces in XML.
580 (xml-parse-fragment): Delete unused function.
581 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
582 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
583 (xml-entity-ref, xml-pe-reference-re)
584 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
585 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
586 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
587 (xml-entity-value-re): Use syntax references in regexps where
588 possible; no need to define inside a let-binding.
589 (xml-parse-dtd): Use xml-pe-reference-re.
590 (xml-entity-or-char-ref-re): New defconst.
591 (xml-parse-string, xml-substitute-special): Use it.
592
30eabd7a
SM
5932012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
594
0781098a
SM
595 * files.el (locate-dominating-file): Allow `name' to be a predicate.
596 (find-file--read-only): New function.
597 (find-file-read-only, find-file-read-only-other-window)
598 (find-file-read-only-other-frame): Use it.
599 (insert-file-contents-literally): Don't `fset'.
600 (get-free-disk-space): Use locate-dominating-file.
601
b5771c0d
SM
602 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
603 function is already compiled.
604
30eabd7a
SM
605 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
606
b4886f6e
MA
6072012-07-03 Michael Albinus <michael.albinus@gmx.de>
608
609 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
610 files on the same host.
611
b9d82339
AS
6122012-07-03 Andreas Schwab <schwab@linux-m68k.org>
613
614 * help-fns.el (describe-function-1): Only call
615 help-fns--autoloaded-p when we have a file name. (Bug#11848)
616
a76e6535
CY
6172012-07-03 Chong Yidong <cyd@gnu.org>
618
619 * xml.el: Protect parser against XML bombs.
620 (xml-entity-expansion-limit): New variable.
621 (xml-parse-string, xml-substitute-special): Use it.
622 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
623
b544fef2
GM
6242012-07-03 Glenn Morris <rgm@gnu.org>
625
626 * progmodes/bug-reference.el (bug-reference-bug-regexp):
627 Allow linking to specific messages in debbugs reports (eg 123#5).
628
a7aef6f5
CY
6292012-07-02 Chong Yidong <cyd@gnu.org>
630
631 * xml.el: Fix entity and character reference expansion, allowing
632 them to expand into markup as per XML spec.
633 (xml-default-ns): New variable.
634 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
635 (xml-parse-region): Make first two arguments optional.
636 Discard text properties.
637 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
638 All callers changed.
a7aef6f5
CY
639 (xml-parse-tag): Call xml-parse-tag-1. For backward
640 compatibility, this function should not modify buffer contents.
641 (xml-parse-tag-1): Fix opening-tag regexp.
642 (xml-parse-string): Rewrite, handling entity and character
643 references properly.
644 (xml--entity-replacement-text): Signal an error if a parameter
645 entity is undefined.
646
3df31c9f
SM
6472012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
648
2b5208f1
SM
649 * comint.el (comint-output-filter): Filter out repeated prompts.
650
3df31c9f
SM
651 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
652 and file-name-absolute-p.
653 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
654 internal calls.
655
e3ac1281
PE
6562012-07-02 Paul Eggert <eggert@cs.ucla.edu>
657
658 Spelling fixes.
659 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
660 Rename from byte-compile--refiy-function. All uses changed.
661
fbf2e7ad
CY
6622012-07-01 Chong Yidong <cyd@gnu.org>
663
664 * xml.el (xml--parse-buffer): New function. Move most of
665 xml-parse-region here.
666 (xml-parse-region): Copy region into a temporary buffer, since
667 parameter entity substitution requires changing buffer contents.
668 Use xml--parse-buffer.
669 (xml-parse-file): Use xml--parse-buffer.
670 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 671 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 672
9bf0aa15
GM
6732012-06-30 Glenn Morris <rgm@gnu.org>
674
bbce2853
GM
675 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
676
9bf0aa15
GM
677 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
678 Remove outdated and unnecessary dbus declarations.
679
0d23c240
EZ
6802012-06-30 Eli Zaretskii <eliz@gnu.org>
681
682 * emacs-lisp/timer.el (timer-until): Subtract results of
683 float-time, instead of taking float-time of the result of
684 time-subtract, since float-time signals an error for negative time
685 arguments.
686
b3218de1
CY
6872012-06-30 Chong Yidong <cyd@gnu.org>
688
689 * xml.el (xml-*-re): Convert defvars into defconsts, and
690 eval-and-compile them so eval-and-compile works on derivatives.
691 (xml--entity-replacement-text): Use eval-and-comple.
692
a40c87a0
MA
6932012-06-30 Michael Albinus <michael.albinus@gmx.de>
694
695 * vc/vc-git.el (vc-git-registered): Use cache property
696 `git-registered'.
697 (vc-git-mode-line-string): Call `vc-working-revision' instead of
698 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 699 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 700
ac87de97
DG
7012012-06-30 Dmitry Gutov <dgutov@yandex.ru>
702
703 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 704 removed (likely outside Emacs). (Bug#11757)
ac87de97 705
ac10fe06
SM
7062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
707
3df31c9f 708 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 709
7f3fbd5d
CY
7102012-06-30 Chong Yidong <cyd@gnu.org>
711
712 * xml.el: Implement XML parameter entities.
713 (xml-parameter-entity-alist): New variable.
714 (xml-parse-region, xml-parse-fragment): Preserve previous values
715 of xml-entity-alist and xml-parameter-entity-alist, so that
716 repeated calls on different documents do not change them.
717 (xml-parse-tag): Fix doctype regexp.
718 (xml--entity-replacement-text): New function.
719 (xml-parse-dtd): Use it. Don't handle system entities; doing that
720 properly requires url retrieval which is unimplemented.
721 (xml-escape-string): Doc fix.
722
3cfbebba
SM
7232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
726
2af3565e
DA
7272012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
728
729 * fringe.el (fringe-mode): Doc fix.
730
929df0e7
MA
7312012-06-29 Michael Albinus <michael.albinus@gmx.de>
732
733 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
734 is non-nil.
735 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
736 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
737
c8d3a25c 7382012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 739
c8d3a25c
GM
740 * calendar/cal-dst.el (calendar-current-time-zone):
741 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 742
c8d3a25c 7432012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
744
745 * progmodes/which-func.el (which-func-format):
746 Add mouse-face. (Bug#11698)
747
c8d3a25c
GM
7482012-06-29 Leo Liu <sdl.web@gmail.com>
749
750 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
751
7522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * minibuffer.el (minibuffer-confirm-exit-commands):
755 Add completion-at-point (bug#11725).
756
7572012-06-29 Glenn Morris <rgm@gnu.org>
758
759 * progmodes/f90.el (f90-font-lock-keywords-2):
760 Add some preprocessor elements. (Bug#10499)
761
7622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * progmodes/cperl-mode.el (cperl-update-syntaxification):
765 Use syntax-propertize (bug#11739).
766
2badeec4
JB
7672012-06-28 Juanma Barranquero <lekktu@gmail.com>
768
769 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
770
ae4969c2
JD
7712012-06-28 Julien Danjou <julien@danjou.info>
772
773 * term.el (term-handle-colors-array): Use a set of new faces to
774 color the terminal. Also uses :inverse-video property.
775 (term-default-fg-color): Set to nil by default, deprecate in favor
776 of `term-face'.
777 (term-default-bg-color): Set to nil by default, deprecate in favor
778 of `term-face'.
779 (term-current-face): Use `term-face' by default.
780 (term-bold-attribute): Variable deleted.
781
1c9bd870
GM
7822012-06-28 Glenn Morris <rgm@gnu.org>
783
784 * simple.el (completion-list-mode-finish):
785 Don't use toggle-read-only. (Since completion-list-mode has
786 a special mode-class, it wasn't doing anything extra anyway.)
787
c207708c
SM
7882012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 Make inlining of other-mode interpreted functions work (bug#11799).
791 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
792 (byte-compile): Use it to fix compilation of lexical-binding closures.
793 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
794 function, if needed.
795
3fd56834
SM
7962012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
797
04901786
SM
798 * help-mode.el (help-make-xrefs): Don't just withstand
799 cyclic-variable-indirection but any error in documentation-property.
800
1ec4b7b2
SM
801 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
802 memory use.
803 * bindings.el (bindings--define-key): New function.
804 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
805 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
806 * bindings.el: Use it to purecopy define-key bindings.
807
e309e2a5
SM
808 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
809
d5c6faf9
SM
810 * emacs-lisp/cl.el (flet): Mark obsolete.
811 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
812 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
813 * progmodes/js.el (js-c-fill-paragraph):
814 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
815 (ebrowse-switch-member-buffer-to-derived-class):
816 * play/5x5.el (5x5-solver): Use cl-flet.
817
6e9590e2
SM
818 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
819 (cl--symbol-function): New macro.
820 (cl--letf, cl--letf*): Use it.
821
3fd56834
SM
822 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
823 Strip "toggle-" if any.
824
35ff222c
GM
8252012-06-27 Glenn Morris <rgm@gnu.org>
826
1ba6038a
GM
827 * info.el (Info-default-directory-list): Move here from paths.el.
828 * paths.el: Remove file, which is now empty.
829 * loadup.el: No longer load "paths".
830
0ea0e51b
GM
831 * custom.el (custom-initialize-delay): Doc fix.
832
35ff222c
GM
833 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
834 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
835 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
836 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
837 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
838 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
839 * eshell/eshell.el (eshell-defgroup): Remove alias.
840
c89926a5
CY
8412012-06-27 Chong Yidong <cyd@gnu.org>
842
843 * help.el (help-enable-auto-load): New variable.
844
845 * help-fns.el (help-fns--autoloaded-p): New function.
846 (describe-function-1): Refer to a function as "autoloaded" if it
847 was autoloaded at any time in the past. Perform autoloading if
848 help-enable-auto-load is non-nil.
849
cc06e7e7
EZ
8502012-06-26 Eli Zaretskii <eliz@gnu.org>
851
852 * makefile.w32-in (compile, compile-always): Depend on
853 update-subdirs, not on subdirs.el. Otherwise, several different
854 sub-targets of 'bootstrap' running in parallel could
855 simultaneously write to subdirs.el, producing a garbled file.
856
d2c32364
SS
8572012-06-26 Sam Steingold <sds@gnu.org>
858
859 * files.el (file-name-base): New convenience function.
0d14cc21
GM
860 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
861 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
862 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
863 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
864 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
865 * textmodes/tex-mode.el: Use it.
866 Did not touch cedet and org because they are maintained elsewhere.
867
5cf983b2
MR
8682012-06-26 Martin Rudalics <rudalics@gmx.at>
869
870 * calendar/calendar.el (calendar-exit): Don't try to delete or
871 iconify last frame. See:
872 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
873
8c4f2952
JD
8742012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
875
876 * server.el (server-process-filter): Remember dir in the
877 process's `server-client-directory' properties.
878
772b2e2c
CY
8792012-06-24 Chong Yidong <cyd@gnu.org>
880
881 * xml.el (xml-parse-tag): Correctly handle comment embedded in
882 non-tag text.
883
711b11e1
JB
8842012-06-23 Juanma Barranquero <lekktu@gmail.com>
885
886 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
887
dc5d230c
SM
8882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * help-fns.el (describe-variable): Don't croak when doc is not found.
891 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
892 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
893 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
894 * emacs-lisp/smie.el (smie-next-sexp): CSE.
895 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
896 ((lambda ..) ..).
897 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
898
136e1c1d
CY
8992012-06-23 Chong Yidong <cyd@gnu.org>
900
e8c1cabf
CY
901 * info.el (Info-mouse-follow-link): Accept symbol values of
902 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
903 (Info-fontify-node): Use Info-link-keymap for all navigation
904 buttons, with link-args property to perform the desired action.
905 (Info-link-keymap): Doc fix.
906 (Info-next-link-keymap, Info-prev-link-keymap)
907 (Info-up-link-keymap): Delete now-unused keymaps.
908
0e9e6c6a
CY
9092012-06-23 Chong Yidong <cyd@gnu.org>
910
05e89fea
CY
911 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
912
0e9e6c6a
CY
913 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
914 system abbrevs.
915
916 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
917
e33c6771
SM
9182012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
919
b68581e2
SM
920 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
921 (bug#11719).
922
e33c6771
SM
923 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
924 the requote function doesn't work properly (bug#11714).
925
7117e105
GM
9262012-06-23 Glenn Morris <rgm@gnu.org>
927
928 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
929
36cec983
SM
9302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 Further GV/CL cleanups.
933 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
934 gv-expander.
935 (gv--defun-declaration): New function.
936 (defun-declarations-alist): Use it.
937 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
938 (gv-place): Autoload.
939 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
940 original definition of dotimes and dolist.
941 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
942 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
943 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
944 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
945 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
946 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
947 to the function's definition.
948 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
949 * window.el:
950 * files.el:
951 * faces.el:
952 * env.el: Don't use CL.
953
d35af63c
PE
9542012-06-22 Paul Eggert <eggert@cs.ucla.edu>
955
956 Support higher-resolution time stamps (Bug#9000).
957
958 * calendar/time-date.el (with-decoded-time-value): New arg
959 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
960 (encode-time-value): New optional arg PICO. New type 3.
961 (time-to-seconds) [!float-time]: Support the new picoseconds
962 component if it's used.
963 (seconds-to-time, time-subtract, time-add):
964 Support ps-resolution time stamps as well.
965
966 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
967 (timerp): Timer vectors now have length 9, not 8.
968 (timer--time): Support new-style (4-part) time stamps.
969 (timer-next-integral-multiple-of-time): Time stamps now have
970 picosecond resolution, so take a bit more care about rounding.
971 (timer-relative-time, timer-inc-time): New optional arg psecs.
972 (timer-set-time-with-usecs): Set psecs to 0.
973 (timer--activate): Check psecs component, too.
974
975 * proced.el (proced-time-lessp): Support ps-resolution stamps.
976
ac77b21a
SM
9772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
978
f143bfe3
SM
979 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
980 Move the non-essential binding to the post/pre-command-hook where it is
981 more obviously correct.
982
ac77b21a
SM
983 * subr.el (read-passwd): Don't use a history at all.
984 * savehist.el (savehist-save): Remove password saved accidentally
985 because of the above bug.
986
76386c5a
BG
9872012-06-22 Bastien Guerry <bzg@gnu.org>
988
989 * files.el (toggle-read-only): Display a message telling whether
990 the buffer is read-only or not (bug#11726).
991
2ee3d7f0
SM
9922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/gv.el: New file.
995 * subr.el (push, pop): Extend to generalized variables.
996 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
997 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
998 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
999 gv-define-simple-setter, and gv-define-expander.
1000 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1001 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1002 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1003 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1004 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1005 gv-letplace.
1006 (cl-defstruct): Don't define setf-method any more.
1007 * emacs-lisp/cl.el (flet): Don't autoload.
1008 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1009 (define-setf-expander, defsetf, define-modify-macro)
1010 (cl-struct-setf-expander): Move from cl-lib.el.
1011 * emacs-lisp/syntax.el:
1012 * emacs-lisp/ewoc.el:
1013 * emacs-lisp/smie.el:
1014 * emacs-lisp/cconv.el:
1015 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1016 (timer--time): Use gv-define-simple-setter.
1017 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1018 to avoid coding-system problems in subr.el. Adjust all users.
1019 (macroexp--maxsize, macroexp-small-p): New functions.
1020 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1021 * scroll-bar.el (scroll-bar-mode):
1022 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1023 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1024 * winner.el (winner-configuration, winner-make-point-alist)
1025 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1026 * files.el (locate-file-completion-table): Avoid list*.
1027
c5695d1d
CY
10282012-06-22 Chong Yidong <cyd@gnu.org>
1029
1030 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1031 (dired-create-files): Doc fix (Bug#11329).
1032 (dired-do-copy): Doc fix (Bug#11334).
1033 (dired-mark-read-string): Doc fix (Bug#11553).
1034
2ee3d7f0
SM
1035 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1036 Doc fix (Bug#11326).
c5695d1d
CY
1037 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1038 (dired-dwim-target): Doc fix.
1039
1040 * wdired.el (wdired-mode): Doc fix.
1041
89b5595a
GM
10422012-06-22 Glenn Morris <rgm@gnu.org>
1043
575db3f1
GM
1044 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1045 (pcmpl-rpm-cache-stamp-file): New constant.
1046 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1047 (pcmpl-rpm-packages): Optionally cache list of packages.
1048
a4c8dd51
GM
1049 * pcmpl-rpm.el (pcmpl-rpm): New group.
1050 (pcmpl-rpm-query-options): New option.
1051 (pcmpl-rpm-packages): No need to inline it.
1052 Use pcmpl-rpm-query-options.
1053
89b5595a
GM
1054 * calendar/calendar.el (calendar-in-read-only-buffer):
1055 Avoid some needless mode changes.
1056
e76f0800
CY
10572012-06-21 Chong Yidong <cyd@gnu.org>
1058
1059 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1060 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1061 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1062
297a8f1d
CY
10632012-06-20 Chong Yidong <cyd@gnu.org>
1064
1065 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1066
d34c18b1
DR
10672012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1068
1069 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1070 (bug#11201).
1071
32f7f28e
CY
10722012-06-20 Chong Yidong <cyd@gnu.org>
1073
1074 * term.el (term-window-width): Handle the case of a missing right
1075 fringe (Bug#8837).
1076 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1077 (term-mode): Use define-derived-mode. Minor cleanups.
1078 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1079 (term-move-columns, term-insert-char, term-emulate-terminal)
1080 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1081
493c6688
MA
10822012-06-20 Michael Albinus <michael.albinus@gmx.de>
1083
d34c18b1
DR
1084 * net/ange-ftp.el (ange-ftp-get-passwd):
1085 Bind `enable-recursive-minibuffers'.
493c6688
MA
1086 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1087
3f06ecf4
DR
10882012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1089
1090 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1091
68f12411
GM
10922012-06-19 Glenn Morris <rgm@gnu.org>
1093
1094 * progmodes/python.el (python-mode): Derive from prog-mode.
1095
b3820318
KG
10962012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1097
1098 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1099 (edt-user-menu-bar-update-buffers): New functions.
1100 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1101
c6bf3022
CY
11022012-06-19 Chong Yidong <cyd@gnu.org>
1103
1104 * subr.el (with-selected-window): Preserve the selected window's
1105 terminal's top-frame (Bug#4702).
1106
1107 * window.el (save-selected-window): Likewise.
1108
25f09295
SM
11092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * progmodes/python.el (python-rx-constituents): Move backquote.
1112 (python-skeleton-define, python-define-auxiliary-skeleton):
1113 Use `declare'.
1114
6b11952a
MA
11152012-06-18 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * minibuffer.el (read-file-name-default): Revert the patch from
1118 2012-06-17.
1119
ee4b1330
SM
11202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1123 (pcase--u1, pcase--q1): Don't use apply-partially.
1124
35647f79
GM
11252012-06-18 Glenn Morris <rgm@gnu.org>
1126
1127 * progmodes/python.el (python-proc, python-buffer)
1128 (python-send-receive, python-send-string): Fix obsolete versions.
1129
24b0cff0
MR
11302012-06-18 Martin Rudalics <rudalics@gmx.at>
1131
1132 * window.el (special-display-p): Completely remove stringp
1133 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1134
29855149
MA
11352012-06-17 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1138
1139 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1140
1141 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1142 * net/tramp-sh.el (tramp-maybe-open-connection):
1143 Throw if `non-essential' is non-nil.
1144
07463363
MR
11452012-06-17 Martin Rudalics <rudalics@gmx.at>
1146
1147 * window.el (special-display-p): Signal an error if BUFFER-NAME
1148 is not a string (Bug#11713).
1149
48d1354e
PE
11502012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1151
1152 * progmodes/python.el (python-info-beginning-of-backslash):
1153 Rename from python-info-beginning-of-backlash, as a spelling fix.
1154
eb4a8a9a
CY
11552012-06-17 Chong Yidong <cyd@gnu.org>
1156
1157 * term.el (term-emulate-terminal): If term-check-size is called,
1158 move point to the process mark without resetting point (Bug#4635).
1159
ddfbf826 11602012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1161
1162 * international/mule-cmds.el (mule-menu-keymap)
1163 (set-language-environment, set-locale-environment): Doc tweaks.
1164
9b0e3eba
AA
11652012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1166
1167 * cus-face.el (custom-face-attributes): Add wave-style underline
1168 attribute.
1169 * faces.el (set-face-attribute): Update docstring to describe
1170 wave-style underline attribute.
1171
771e3eae
CY
11722012-06-16 Chong Yidong <cyd@gnu.org>
1173
1174 * term/xterm.el (terminal-init-xterm): Discard input before
1175 querying background mode (Bug#10959).
1176
7ae2ea10
SM
11772012-06-16 Stefan Merten <smerten@oekonux.de>
1178
1179 * textmodes/rst.el: Added and corrected some comments.
1180 (rst-re-alist-def): Improve symbol syntax.
1181 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1182 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1183 (rst-official-version, rst-official-cvs-rev): Update version
1184 information.
7ae2ea10 1185
b6974efa
JB
11862012-06-15 Juanma Barranquero <lekktu@gmail.com>
1187
1188 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1189 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1190
8826d473
GM
11912012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1192
1193 * progmodes/python.el: New python.el merge.
1194 (python-guess-indent): Obsolete var.
1195 (python-indent-guess-indent-offset): New defcustom.
1196 (python-indent): Obsolete var.
1197 (python-indent-offset): New defcustom.
1198 (python-python-command, python-jython-command): Delete var.
1199 (python-shell-interpreter): New defcustom.
1200 (python-pdbtrack-do-tracking-p): Delete var.
1201 (python-pdbtrack-activate): New defcustom.
1202 (python-use-skeletons): Obsolete var.
1203 (python-skeleton-autoinsert): New defcustom.
1204 (inferior-python-filter-regexp, python-continuation-offset)
1205 (python-honour-comment-indentation, python-indent-string-contents)
1206 (python-jython-packages, python-mode-hook)
1207 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1208 (python-shell-prompt-alist)
1209 (python-source-modes): Delete defcustoms.
1210 (python-check-buffer-name, python-eldoc-setup-code)
1211 (python-eldoc-string-code, python-ffap-setup-code)
1212 (python-ffap-string-code, python-fill-comment-function)
1213 (python-fill-decorator-function, python-fill-paren-function)
1214 (python-fill-string-function, python-imenu-include-defun-type)
1215 (python-imenu-make-tree, python-imenu-subtree-root-label)
1216 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1217 (python-shell-compilation-regexp-alist)
1218 (python-shell-completion-module-string-code)
1219 (python-shell-completion-pdb-string-code)
1220 (python-shell-completion-setup-code)
1221 (python-shell-completion-string-code)
1222 (python-shell-enable-font-lock, python-shell-exec-path)
1223 (python-shell-extra-pythonpaths)
1224 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1225 (python-shell-process-environment)
1226 (python-shell-prompt-block-regexp)
1227 (python-shell-prompt-output-regexp)
1228 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1229 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1230 (python-shell-virtualenv-path): New defcustoms.
1231 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1232 (inferior-python-mode-syntax-table, python--prompt-regexp)
1233 (python-buffer, python-command python-python-command)
1234 (python-default-template, python-imports, python-indent-index)
1235 (python-indent-list, python-indent-list-length)
1236 (python-mode-running, python-pdbtrack-is-tracking-p)
1237 (python-preoutput-continuation, python-preoutput-leftover)
1238 (python-preoutput-result, python-preoutput-skip-next-prompt)
1239 (python-prev-dir/file, python-recursing)
1240 (python-saved-check-command, python-version-checked)
1241 (python-which-func-length-limit)
1242 (view-return-to-alist): Delete vars.
1243 (python-check-custom-command, python-dotty-syntax-table)
1244 (python-imenu-index-alist, python-indent-current-level)
1245 (python-indent-dedenters, python-indent-levels)
1246 (python-nav-beginning-of-defun-regexp)
1247 (python-nav-list-defun-positions-cache)
1248 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1249 (python-shell-internal-buffer)
1250 (python-skeleton-available): New vars.
1251 (def-python-skeleton): Delete macro.
1252 (python-skeleton-define): New macro.
1253 (python-define-auxiliary-skeleton, python-rx): New macros.
1254 (python-insert-class): Delete command.
1255 (python-skeleton-class): New command.
1256 (python-insert-def): Delete command.
1257 (python-skeleton-def): New command.
1258 (python-insert-for): Delete command.
1259 (python-skeleton-for): New command.
1260 (python-insert-if): Delete command.
1261 (python-skeleton-if): New command.
1262 (python-insert-try/except, python-insert-try/finally): Delete commands.
1263 (python-skeleton-try): New command.
1264 (python-insert-while): Delete command.
1265 (python-skeleton-while): New command.
1266 (python-backspace): Delete command.
1267 (python-indent-dedent-line-backspace): New command.
1268 (python-electric-colon): Delete command.
1269 (python-indent-electric-colon): New command.
1270 (python-guess-indent): Delete command.
1271 (python-indent-guess-indent-offset): New command.
1272 (python-shift-left): Delete command.
1273 (python-indent-shift-left): New command.
1274 (python-shift-right): Delete command.
1275 (python-indent-shift-right): New command.
1276 (python-find-function): Delete command.
1277 (python-nav-jump-to-defun): New command.
1278 (python-next-statement): Delete command.
1279 (python-nav-forward-sentence): New command.
1280 (python-previous-statement): Delete command.
1281 (python-nav-backward-sentence): New command.
1282 (python-fill-paragraph): Delete command.
1283 (python-fill-paragraph-function): New command.
1284 (python-send-buffer): Delete command.
1285 (python-shell-send-buffer): New command.
1286 (python-send-defun): Delete command.
1287 (python-shell-send-defun): New command.
1288 (python-send-region, python-send-region-and-go): Delete commands.
1289 (python-shell-send-region)
1290 (python-shell-switch-to-shell): New commands.
1291 (python-send-string): Delete command.
1292 (python-shell-send-string): New command.
1293 (python-switch-to-python): Delete command.
1294 (python-shell-switch-to-shell): New command.
1295 (python-describe-symbol): Delete command.
1296 (python-eldoc-at-point): New command.
1297 (python--set-prompt-regexp, python-args-to-list)
1298 (python-after-info-look, python-check-version)
1299 (python-check-comint-prompt, python-find-imports)
1300 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1301 (python-unload-function, python-expand-template)
1302 (python-maybe-jython, python-preoutput-filter)
1303 (python-pdbtrack-get-source-buffer)
1304 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1305 (python-pdbtrack-toggle-stack-tracking)
1306 (python-pdbtrack-track-stack-file, python-initial-text)
1307 (python-first-word, python-comment-line-p, python-send-command)
1308 (python-setup-brm, python-sentinel, python-set-proc)
1309 (python-skip-out, python-input-filter, python-outdent-p)
1310 (python-outline-level, python-backslash-continuation-line-p)
1311 (python-end-of-block, python-end-of-statement, python-mark-block)
1312 (python-beginning-of-block, python-beginning-of-statement)
1313 (python-blank-line-p, python-beginning-of-string)
1314 (python-open-block-statement-p): Delete functions.
1315 (python-indent-line, python-indent-line-1): Delete functions.
1316 (python-indent-line): New function.
1317 (python-indentation-levels): Delete function.
1318 (python-indent-calculate-levels): New function.
1319 (python-proc): Delete function.
1320 (python-shell-get-process): New function.
1321 (python-send-receive): Delete function.
1322 (python-shell-send-string-no-output): New function.
1323 (python-module-path): Delete function.
1324 (python-ffap-module-path): New function.
1325 (python-completion-at-point)
1326 (python-symbol-completions): Delete functions.
1327 (python-completion-complete-at-point): New function.
1328 (python-load-file): Delete function.
1329 (python-shell-send-file): New function.
1330 (python-calculate-indentation): Delete function.
1331 (python-indent-calculate-indentation): New function.
1332 (python-skip-comments/blanks): Delete function.
1333 (python-util-forward-comment): New function.
1334 (python-continuation-line-p): Delete function.
1335 (python-info-continuation-line-p): New function.
1336 (python-which-func, python-current-defun): Delete function.
1337 (python-info-current-defun): New function.
1338 (python-beginning-of-defun): Delete function.
1339 (python-nav-beginning-of-defun): New function.
1340 (python-close-block-statement-p)
1341 (python-block-end-p): Delete function.
1342 (python-info-closing-block): New function.
1343 (python-comint-output-filter-function)
1344 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1345 (python-fill-comment, python-fill-decorator, python-fill-paren)
1346 (python-fill-string, python-imenu-make-element-tree)
1347 (python-imenu-make-tree, python-imenu-tree-assoc)
1348 (python-indent-context, python-indent-dedent-line)
1349 (python-indent-line-function)
1350 (python-indent-post-self-insert-function)
1351 (python-indent-toggle-levels)
1352 (python-info-assignment-continuation-line-p)
1353 (python-info-beginning-of-backlash)
1354 (python-info-block-continuation-line-p)
1355 (python-info-closing-block-message)
1356 (python-info-line-ends-backslash-p)
1357 (python-info-looking-at-beginning-of-defun)
1358 (python-info-ppss-context, python-info-ppss-context-type)
1359 (python-nav-list-defun-positions, python-nav-read-defun)
1360 (python-nav-sentence-end, python-nav-sentence-start)
1361 (python-pdbtrack-comint-output-filter-function)
1362 (python-pdbtrack-set-tracked-buffer)
1363 (python-shell-calculate-exec-path)
1364 (python-shell-calculate-process-environment)
1365 (python-shell-completion--do-completion-at-point)
1366 (python-shell-completion--get-completions)
1367 (python-shell-completion-complete-at-point)
1368 (python-shell-completion-complete-or-indent)
1369 (python-shell-get-or-create-process)
1370 (python-shell-get-process-name)
1371 (python-shell-internal-get-or-create-process)
1372 (python-shell-internal-get-process-name)
1373 (python-shell-internal-send-string, python-shell-make-comint)
1374 (python-shell-parse-command, python-shell-send-setup-code)
1375 (python-skeleton-add-menu-items)
1376 (python-util-clone-local-variables, python-util-position)
1377 (run-python-internal, python-indentation-levels)
1378 (python-nav-beginning-of-defun)
1379 (python-completion-complete-at-point): New functions.
1380 (run-python): Change arguments. New API requirements.
1381
4302f5ba
SM
13822012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1383
f38ea36d
SM
1384 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1385 (bug#11649).
1386
1387 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1388 (macroexp--expand-all): Use it.
1389
4302f5ba
SM
1390 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1391 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1392 Use `cl-function' instead.
1393
33377562
JB
13942012-06-14 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1397 Suggested by Stefan Monnier while discussing bug#11657.
1398
54c5ba1a
SS
13992012-06-14 Sam Steingold <sds@gnu.org>
1400
1401 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1402
f9f1b1fe
AS
14032012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * play/doctor.el (doctor-doc): Remove parameter and use
1406 doctor-sent instead of sent.
1407 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1408
a81068ba
SM
14092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1410
5a315f9c
SM
1411 * files.el: Require cl-lib.
1412 (file-name-non-special): Replace case -> cl-case.
1413
1414 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1415
a81068ba
SM
1416 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1417 mapping from #' to function*.
1418
8cca9703
CY
14192012-06-13 Chong Yidong <cyd@gnu.org>
1420
1421 * mouse.el (mouse-drag-track): Do not set the mark if the user
1422 releases the mouse without selecting anything (Bug#11588).
1423
a12ac9d7
SM
14242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1425
ccf1dc18
SM
1426 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1427 as well (bug#11646).
1428
ef62b23d
SM
1429 * loadup.el: Count byte-code functions as well.
1430
c4c8444a
SM
1431 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1432 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1433
a12ac9d7
SM
1434 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1435 (bug#11649). Add cl-defun and cl-defmacro.
1436
87e6e64f
DA
14372012-06-13 Drew Adams <drew.adams@oracle.com>
1438
1439 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1440 Fix last change.
1441
682cefaf
MA
14422012-06-13 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1445 Otherwise, it blocks in batch mode.
1446
773e1f08
JB
14472012-06-13 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * help-mode.el (bookmark-make-record-default): Declare.
1450
60057926
CY
14512012-06-13 Chong Yidong <cyd@gnu.org>
1452
1453 * emacs-lisp/package.el (list-packages): Compute a list of
1454 packages that are newly-available since the last list-packages
1455 invocation.
1456 (package-menu--new-package-list): New var.
1457 (package-menu--generate, package-menu--print-info)
1458 (package-menu--status-predicate, package-menu-mark-install):
1459 Handle new status label "new".
1460
ad4d226c
SM
14612012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1464 conversion to backquotes.
1465
f1a4e679
CY
14662012-06-12 Chong Yidong <cyd@gnu.org>
1467
1468 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1469 Rename from gud-inhibit-global-bindings.
1470
1471 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1472
1473 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1474 hook from nxml-glyph-set-hook.
1475
1476 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1477 declaration.
1478
1479 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1480
1481 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1482 Convert to defcustom.
1483
0c9e42b5
DA
14842012-06-12 Drew Adams <drew.adams@oracle.com>
1485
1486 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1487 New functions.
1488 (help-mode): Use them.
1489
09e06855
GM
14902012-06-11 Glenn Morris <rgm@gnu.org>
1491
1492 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1493 Use preprocessor face for directives.
1494 (fortran-directive-re): Doc fix.
1495
71adb94b
SM
14962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1497
2eb87922
SM
1498 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1499 conversion to backquotes (bug#11652).
1500
71adb94b
SM
1501 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1502 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1503 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1504 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1505 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1506 (cl-ninth, cl-tenth): Mark them as inlinable.
1507 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1508 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1509 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1510 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1511 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1512 (cl-list*, cl-adjoin): Don't put an autoload manually.
1513 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1514 (cl--compiler-macro-list*): Add autoload cookie.
1515 (cl--compiler-macro-cXXr): New function.
2eb87922 1516
71adb94b
SM
1517 * help-fns.el (help-fns--compiler-macro): New function extracted from
1518 describe-function-1; follow aliases and use `compiler-macro' property.
1519 (describe-function-1): Use it.
1520
a6674402
CY
15212012-06-11 Chong Yidong <cyd@gnu.org>
1522
1523 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1524 is uninstalled, if imagemagick is installed.
1525
bb3faf5b
SM
15262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/cl-lib.el: Use lexical-binding.
1529 (cl-map-extents, cl-maclisp-member): Remove.
1530 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1531 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1532 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1533 * emacs-lisp/cl-extra.el: Use lexical-binding.
1534 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1535 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1536 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1537 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1538 * emacs-lisp/cl-seq.el: Use lexical-binding.
1539 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1540 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1541 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1542 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1543 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1544 CL's internals.
1545
2fe4b125
MA
15462012-06-11 Michael Albinus <michael.albinus@gmx.de>
1547
1548 Sync with Tramp 2.2.6-pre.
1549
1550 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1551 `print-length' and `print-level' to nil, in order to avoid
1552 truncation. Reported by Christopher Schmidt
1553 <christopher@ristopher.com>.
1554
1555 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1556
1557 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1558 New defmacro.
1559 (tramp-compat-copy-directory): Add optional argument
1560 COPY-CONTENTS. It is not handled yet.
1561
1562 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1563 (tramp-ftp-file-name-p): Simplify.
1564
1565 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1566 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1567 connection vector.
1568
1569 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1570 (tramp-methods): Do not use `tramp-password-end-of-line'.
1571 (tramp-completion-function-alist-putty): Handle UNIX case.
1572 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1573 (tramp-do-file-attributes-with-stat)
1574 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1575 gid as real numbers. They could run out of integer range on cygwin.
1576 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1577 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1578 (tramp-open-connection-setup-interactive-shell):
1579 Use `tramp-cleanup'. Move check for busyboxes ...
1580 (tramp-find-shell): ... here. Simplify implementation.
1581 Set "remote-shell" property also for alternative shells.
1582 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1583 If failing, a regular file would be written otherwise.
1584 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1585 (tramp-find-inline-encoding): Cache the coding commands in the
1586 process cache. Apply test command on the remote side, if defined.
1587 (tramp-find-inline-compress): Cache the compress commands in the
1588 process cache.
1589 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1590 when requested. Handle hops.
1591 (tramp-current-connection): New defvar.
87e6e64f
DA
1592 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1593 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1594 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1595 (tramp-get-inline-compress, tramp-get-inline-coding):
1596 Read connection properties from the process cache.
2fe4b125
MA
1597
1598 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1599 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1600 New defconsts.
2fe4b125
MA
1601 (tramp-smb-prompt): Extend for powershell prompt.
1602 (tramp-smb-file-name-handler-alist): Add handlers for
1603 `process-file', `shell-command' and `start-file-process'.
1604 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1605 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1606 (tramp-smb-file-name-p): Simplify.
1607 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1608 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1609 (tramp-smb-shell-quote-argument): New defuns.
1610 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1611 Implement using "tar". By this, time-stamps are preserved.
1612 (tramp-smb-handle-copy-file): Handle also the case of directories.
1613 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1614 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1615 Use `tramp-get-connection-buffer').
2fe4b125
MA
1616 (tramp-smb-handle-rename-file): Use "rename", when source and
1617 target are on the same share.
87e6e64f
DA
1618 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1619 Use `tramp-smb-server-version'.
2fe4b125
MA
1620 (tramp-smb-wait-for-output): Remove prompt.
1621
1622 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1623 (tramp-methods, tramp-rsh-end-of-line):
1624 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1625 (tramp-save-ad-hoc-proxies): New defcustom.
1626 (tramp-completion-function-alist): Adapt docstring.
1627 (tramp-default-password-end-of-line): Remove defcustom.
1628 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1629 (tramp-user-regexp, tramp-file-name-regexp-unified)
1630 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1631 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1632 (tramp-remote-file-name-spec-regexp): New defconst.
1633 (tramp-file-name-structure): Extend structure for hops.
1634 (tramp-get-method-parameter): Move up.
1635 (tramp-file-name-p, tramp-dissect-file-name)
1636 (with-parsed-tramp-file-name): Handle hops.
1637 (tramp-file-name-hop): New defun.
1638 (tramp-make-tramp-file-name): New optional arg HOP.
1639 (tramp-message-show-progress-reporter-message): New defvar.
1640 (tramp-with-progress-reporter): Use it. We cannot use
1641 `tramp-message-show-message' here, because this suppresses also
1642 error buffers.
1643 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1644 `tramp-message-show-message' is nil.
1645 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1646 (tramp-cleanup): New defun.
1647 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1648 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1649 an error unchanged.
1650 (tramp-completion-handle-file-name-all-completions): Handle hops.
1651 Fix an error when called from ido.
1652 (tramp-completion-dissect-file-name): Use better local variable
1653 name. Add hop to the vector.
1654 (tramp-handle-insert-file-contents): Use progress-reporter for the
1655 whole scenario.
1656 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1657 to `t'.
1658 (tramp-check-for-regexp): Simplify search.
1659 (tramp-enter-password): Remove it. Move implementation ...
1660 (tramp-action-password): ... here.
1661 (tramp-mode-string-to-int, tramp-local-host-p)
1662 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1663 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1664 Set tramp-autoload cookie.
2fe4b125
MA
1665
1666 * net/trampver.el: Update release number.
1667
16682012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1669 Michael Albinus <michael.albinus@gmx.de>
1670
1671 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1672 (tramp-parse-group, tramp-parse-file)
1673 (tramp-parse-shostkeys-sknownhosts): New defuns.
1674 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1675 (tramp-parse-shosts-group, tramp-parse-sconfig)
1676 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1677 (tramp-parse-sknownhosts, tramp-parse-hosts)
1678 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1679 Use them.
1680 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1681 (tramp-parse-putty-group): Don't narrow.
1682 (tramp-parse-putty): Make a loop.
1683 (tramp-file-name-handler): Catch the `suppress' signal.
1684
72834e10
CY
16852012-06-11 Chong Yidong <cyd@gnu.org>
1686
1687 * image.el (imagemagick-register-types): Put the ImageMagick entry
1688 at the end of image-type-file-name-regexps.
1689
a4712e11
JB
16902012-06-11 Johan Bockgård <bojohan@gnu.org>
1691
1692 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1693 (pcase, pcase-let*, pcase-dolist): Use them.
1694
82ad98e3
SM
16952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * emacs-lisp/pcase.el (pcase--let*): New function.
1698 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1699 (pcase--expand): Use macroexp-let².
1700
f80efb86
SM
17012012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1704 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1705 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1706 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1707 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1708 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1709
31ca4639 17102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1711
31ca4639
CY
1712 * mail/rmail.el (rmail-yank-current-message): Leave point at
1713 correct position. (Bug#11660)
94f0aa34 1714
31ca4639 17152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1716
31ca4639 1717 * allout-widgets.el: Fix code header.
9e1b8ec4 1718
31ca4639 17192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1720
f80efb86
SM
1721 * cus-edit.el (customize-changed-options-previous-release):
1722 Bump to 24.1.
31ca4639 1723
642b6d30
AS
17242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1725
1726 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1727
4f5d2ba1
CY
17282012-06-09 Chong Yidong <cyd@gnu.org>
1729
1730 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1731
e75852fd
MR
17322012-06-09 Martin Rudalics <rudalics@gmx.at>
1733
1734 * window.el (special-display-popup-frame): Don't use
1735 window--display-buffer (Bug#11651).
1736
1e48e282
EZ
17372012-06-09 Eli Zaretskii <eliz@gnu.org>
1738
8a26b487
EZ
1739 Fix parallel builds: make sure loaddefs.el is not being written
1740 while Lisp files are compiled.
1741 (compile): Don't depend on 'mh-autoloads'.
1742 (compile-CMD, compile-SH): Depend on 'autoloads'.
1743 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1744
1e48e282
EZ
1745 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1746
6175e34b
CY
17472012-06-09 Chong Yidong <cyd@gnu.org>
1748
1749 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1750 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1751 Doc fixes (Bug#11225).
1752
d9857e53
SM
17532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1756 a function if there's a clear indication that it has a compiler-macro.
1757 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1758 (macro-declarations-alist): Add arglist to declaration functions.
1759 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1760 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1761 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1762 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1763 Also add autoload to find the compiler macro.
1764 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1765 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1766 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1767 (cl--compiler-macro-get): New functions, replacing calls to
1768 cl-define-compiler-macro.
1769 (cl-typep) [compiler-macro]: Use macroexp-let².
1770
f81298f8 17712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1772
1773 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1774 string properly, fixes Bug#11473.
1775
4b56d0fe
CY
17762012-06-08 Chong Yidong <cyd@gnu.org>
1777
1778 * faces.el (set-face-attribute): Doc fix.
1779 (modify-face): Don't use :bold and :italic.
1780 (error, warning, success): Tweak definitions.
1781
1782 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1783 (custom-modified, custom-set, custom-changed, custom-themed)
1784 (custom-saved, custom-button, custom-button-mouse)
1785 (custom-button-pressed, custom-state, custom-comment-tag)
1786 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1787 (custom-group-subtitle): Use new-style face specs.
1788 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1789 (custom-set-face, custom-changed-face, custom-saved-face)
1790 (custom-button-face, custom-button-pressed-face)
1791 (custom-documentation-face, custom-state-face)
1792 (custom-comment-face, custom-comment-tag-face)
1793 (custom-variable-tag-face, custom-variable-button-face)
1794 (custom-face-tag-face, custom-group-tag-face-1)
1795 (custom-group-tag-face): Remove obsolete face alias.
1796
1797 * epa.el (epa-validity-high, epa-validity-medium)
1798 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1799 (epa-field-name, epa-field-body):
1800 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1801 (font-lock-keyword-face, font-lock-builtin-face)
1802 (font-lock-function-name-face, font-lock-variable-name-face)
1803 (font-lock-type-face, font-lock-constant-face):
1804 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1805 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1806 * speedbar.el (speedbar-button-face, speedbar-file-face)
1807 (speedbar-directory-face, speedbar-tag-face)
1808 (speedbar-selected-face, speedbar-highlight-face)
1809 (speedbar-separator-face):
1810 * whitespace.el (whitespace-newline, whitespace-space)
1811 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1812 (whitespace-line, whitespace-space-before-tab)
1813 (whitespace-space-after-tab, whitespace-indentation)
1814 (whitespace-empty):
1815 * emulation/cua-base.el (cua-global-mark):
1816 * eshell/em-prompt.el (eshell-prompt):
1817 * net/newst-plainview.el (newsticker-new-item-face)
1818 (newsticker-old-item-face, newsticker-immortal-item-face)
1819 (newsticker-obsolete-item-face, newsticker-date-face)
1820 (newsticker-statistics-face, newsticker-default-face):
1821 * net/newst-reader.el (newsticker-feed-face)
1822 (newsticker-extra-face, newsticker-enclosure-face):
1823 * net/newst-treeview.el (newsticker-treeview-face)
1824 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1825 (newsticker-treeview-immortal-face)
1826 (newsticker-treeview-obsolete-face)
1827 (newsticker-treeview-selection-face):
1828 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1829 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1830 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1831 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1832 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1833 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1834 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1835 (mpuz-text):
1836 * progmodes/vera-mode.el (vera-font-lock-number)
1837 (vera-font-lock-function, vera-font-lock-interface):
1838 * textmodes/table.el (table-cell): Use new-style face specs, and
1839 don't use the old :bold and :italic attributes.
1840
1841 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1842 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1843 (ebrowse-member-class, ebrowse-progress): Likewise.
1844 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1845 (ebrowse-file-name-face, ebrowse-default-face)
1846 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1847 (ebrowse-progress-face): Remove obsolete faces.
1848
1849 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1850 Inherit from error and warning faces respectively.
1851
1852 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1853 Likewise.
f80efb86
SM
1854 (flyspell-incorrect-face, flyspell-duplicate-face):
1855 Remove obsolete aliases.
4b56d0fe 1856
03310646
MA
18572012-06-08 Michael Albinus <michael.albinus@gmx.de>
1858
1859 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1860 Avoid infloop.
1861
513749ee
SM
18622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * startup.el (argv, argi): Make lexically scoped.
1865 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1866 * emacs-lisp/cl-macs.el: Use lexical-binding.
1867 Rename cl-bind-* to cl--bind-*.
1868 * files.el: Don't require `cl' since it doesn't use it.
1869 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1870
595ef4ad
JB
18712012-06-08 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1874 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1875 instead of calling external sort utility.
1876 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1877
e9f66fcb
EZ
18782012-06-08 Eli Zaretskii <eliz@gnu.org>
1879
1880 * descr-text.el (describe-char): Mention how to insert the
1881 character, if the current input method doesn't support it.
1882 See the discussion in this thread for the details:
1883 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1884
3d10db47
SS
18852012-06-08 Sam Steingold <sds@gnu.org>
1886
1887 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1888 XF86Back to previous-buffer.
1889 (minibuffer-local-map): Bind them to next-history-element and
1890 previous-history-element respectively.
1891 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1892 help-go-back respectively.
1893 * info.el (Info-mode-map): Bind them to Info-history-forward and
1894 Info-history-back respectively.
1895 These are the keys next to Up on the ThinkPad keyboard.
1896
de7e2b36
SM
18972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1900 * emacs-lisp/cl-macs.el: Provide itself.
1901 (cl--labels-convert-cache): New var.
1902 (cl--labels-convert): New function.
1903 (cl-flet, cl-labels): New implementation with new semantics, relying on
1904 lexical-binding.
1905 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1906 (cl-closure-vars, cl--function-convert-cache)
1907 (cl--function-convert): Move from cl-macs.el.
1908 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1909 rename by removing the "cl-" prefix.
1910 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1911
6fa6c4ae
SM
19122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1915 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1916 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1917 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1918 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1919 (cl-hash-table-count): Add old compatibility aliases.
1920
1921 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1922 Use macroexpand-all-environment instead.
1923 (cl--old-macroexpand): New var.
1924 (cl--sm-macroexpand): New function.
1925 (cl-symbol-macrolet): Use it during macro expansion.
1926 (cl--function-convert-cache): New var.
1927 (cl--function-convert): New function, extracted from
1928 cl-macroexpand-all.
1929 (cl-lexical-let): Use it.
1930
1931 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1932 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1933 (cl-member): Remove old alias.
1934
1935 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1936 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1937 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1938 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1939 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1940 (cl-macroexpand-cmacs): Remove var.
1941 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1942 Use macroexpand-all instead.
1943
4dd1c416
SM
19442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1947 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1948 (macroexp-copyable-p): New functions and macros.
1949 * emacs-lisp/edebug.el (edebug-unwrap):
1950 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1951 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1952 (pcase--let*): Remove.
1953 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1954 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1955 macroexp-const-p instead.
1956 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1957
1958 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1959 instead of "cl-" for internal definitions. Use macroexp-const-p.
1960 (cl-old-bc-file-form): Remove var.
1961 (cl-const-exprs-p): Remove fun.
1962 (cl-labels, cl-macrolet): Use backquote.
1963 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1964 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1965 (cl-define-setf-expander): Rename from cl-define-setf-method.
1966 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1967
1968 * international/mule-cmds.el: Don't require CL.
1969 (view-hello-file): Don't use `letf'.
1970
ed8bd4d7
SM
19712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1972
7287f2f3
SM
1973 * tmm.el (tmm-prompt): Use string-prefix-p.
1974 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1975 (tmm-add-prompt): Use minibuffer-completion-help.
1976 (tmm-delete-map): Remove.
1977
ed8bd4d7
SM
1978 * subr.el (kbd): Make it its own function.
1979
7b4cdbf4
SM
19802012-06-07 Stefan Merten <smerten@oekonux.de>
1981
1982 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1983 Silence compiler warnings. Fix versions.
ed8bd4d7 1984 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1985 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1986 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1987 (rst-package-emacs-version-alist): Correct Emacs version to
1988 represent major merge with upstream.
ed8bd4d7 1989 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1990
2b48d721
GM
19912012-06-06 Glenn Morris <rgm@gnu.org>
1992
1993 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1994 Only print environment variables if set.
1995
fa779ab0
SM
19962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1999 (macroexp--cons): Rename from maybe-cons.
2000 (macroexp--accumulate): Rename from macroexp-accumulate.
2001 (macroexp--all-forms): Rename from macroexpand-all-forms.
2002 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2003 (macroexp--expand-all): Rename from macroexpand-all-1.
2004
628299e0
SS
20052012-06-06 Sam Steingold <sds@gnu.org>
2006
2007 * calendar/calendar.el (calendar-in-read-only-buffer):
2008 Call `special-mode' to enable the standard read-only keybindings.
2009
b7bb5838
SM
20102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2013 with "loading" messages (bug#11635).
2014
dfb308ba
MA
20152012-06-06 Michael Albinus <michael.albinus@gmx.de>
2016
2017 * files.el (enable-remote-dir-locals): New option.
2018 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2019
0372ee92
MA
2020 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2021 Ensure, that the temp directory is local.
2022
2023 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2024 `temporary-file-directory'.
2025
eed0bb91
MA
2026 * progmodes/python.el (python-send-region): Ensure, that the
2027 temporary file is created also in the remote case.
2028
7a58f64d
GM
20292012-06-06 Glenn Morris <rgm@gnu.org>
2030
f7dd4e98
GM
2031 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2032 (vc-rcs-update-changelog): Use it.
2033
090bd7cb 2034 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2035
7a58f64d
GM
2036 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2037 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2038 (vc-sccs-diff): Replace use of the external vcdiff script.
2039
daed4003
GM
20402012-06-05 Glenn Morris <rgm@gnu.org>
2041
2042 * ledit.el: Move to obsolete/.
2043
48c455c7
SS
20442012-06-05 Sam Steingold <sds@gnu.org>
2045
ed9265fc 2046 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2047 patch (Bug#11140).
2048
57a7d507
SM
20492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2050
090bd7cb 2051 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2052
53aacf21
SM
2053 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2054 compiler-macro expansion.
2055
57a7d507
SM
2056 Add native compiler-macro support.
2057 * emacs-lisp/macroexp.el (macroexpand-all-1):
2058 Support compiler-macros directly. Properly follow aliases and apply
2059 the compiler macros more thoroughly.
2060 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2061 macroexpand now properly follows aliases.
2062 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2063 (cl-compiler-macroexpand): Use new prop.
2064 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2065
2066 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2067
51a5f9d8
MR
20682012-06-05 Martin Rudalics <rudalics@gmx.at>
2069
2070 * window.el (get-lru-window, get-mru-window, get-largest-window):
2071 New argument NOT-SELECTED to avoid picking the selected window.
2072 (window--display-buffer-1, window--display-buffer-2): Replace by
2073 new function window--display-buffer
2074 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2075 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2076 Use window--display-buffer.
51a5f9d8
MR
2077 (display-buffer-use-some-window): Remove temporary dedication
2078 hack by calling get-lru-window and get-largest-window with
2079 NOT-SELECTED argument non-nil. Call window--display-buffer.
2080
08f9f738
GM
20812012-06-05 Glenn Morris <rgm@gnu.org>
2082
2083 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2084 Replace external vcdiff script.
2085
e364a2b7
SM
20862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2089
041df390
CY
20902012-06-04 Chong Yidong <cyd@gnu.org>
2091
e364a2b7
SM
2092 * image.el (imagemagick-types-inhibit): Revert last change.
2093 Add INFO and M.
47b36b94 2094 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2095
7c1898a7
SM
20962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * emacs-lisp/cl-lib.el: Rename from cl.el.
2099 * emacs-lisp/cl.el: New compatibility file.
2100 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2101 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2102 to obey the "cl-" prefix.
2103 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2104
0c3461de
GM
21052012-06-03 Glenn Morris <rgm@gnu.org>
2106
1e266c88
GM
2107 * emacs-lisp/authors.el (authors-aliases): Addition.
2108
0c3461de
GM
2109 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2110 Fix :version.
2111
d8a52e15
SM
21122012-06-03 Stefan Merten <smerten@oekonux.de>
2113
2114 * textmodes/rst.el: Add comments.
2115 (rst-transition, rst-adornment): New faces.
2116 (rst-adornment-faces-alist): Make default safe to reevaluate.
2117 Fixes
2118 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2119 Improve customization tags.
2120 (rst-define-level-faces): Clarify meaning.
2121
5205d6f6
CY
21222012-06-03 Chong Yidong <cyd@gnu.org>
2123
2124 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2125 (compilation-mode-line-run, compilation-mode-line-exit):
2126 New faces.
5205d6f6
CY
2127 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2128
757ee657
JD
21292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2130
7c1898a7
SM
2131 * progmodes/which-func.el (which-func-update-ediff-windows):
2132 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2133
5f2c76c6
CY
21342012-06-03 Chong Yidong <cyd@gnu.org>
2135
2136 * bindings.el: Remove explicit help text from format-mode-line.
2137 It is now supplied by mode-line-default-help-echo.
2138 (mode-line-front-space, mode-line-end-spaces)
2139 (mode-line-misc-info): New variables.
2140 (mode-line-modes, mode-line-position): Move the default value to
2141 the variable definition.
2142 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2143 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2144 (mode-line-modified-help-echo): New functions.
2145 (mode-line-mule-info, mode-line-modified): Use them.
2146 (mode-line-eol-desc, propertized-buffer-identification):
2147 Consistency fixes for help text.
cbe46e5f
CY
2148 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2149 set-buffer-file-coding-system (Bug#289).
2150 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2151
f2d6a3df
SM
21522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * simple.el (execute-extended-command): Set real-this-command
2155 (bug#11506).
2156
37269466
CY
21572012-06-02 Chong Yidong <cyd@gnu.org>
2158
2159 Remove incorrect uses of "modeline" in comments, docstrings, and
2160 function/variable names (Bug#10329).
2161
2162 * cus-edit.el (mode-line):
2163 * dframe.el (dframe-mouse-hscroll):
2164 * emacs-lisp/re-builder.el:
2165 * emacs-lisp/easy-mmode.el (define-minor-mode):
2166 * frame.el (set-frame-name):
2167 * help.el (lookup-minor-mode-from-indicator):
2168 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2169 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2170 (c-toggle-hungry-state):
2171 * progmodes/antlr-mode.el (antlr-language-alist):
2172 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2173 * progmodes/vhdl-mode.el (vhdl-mode):
2174 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2175 * term/ns-win.el (ns-face-at-pos):
2176 * term/sup-mouse.el (sup-mouse-report):
2177 * textmodes/flyspell.el (flyspell-mode-line-string):
2178 * textmodes/ispell.el (ispell-highlight-face):
2179 * textmodes/reftex-global.el:
2180 * vc/vc-arch.el (vc-arch-mode-line-string):
2181 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2182 * vc/vc-git.el (vc-git-mode-line-string):
2183 * vc/vc-hooks.el (vc-display-status)
2184 (vc-default-mode-line-string):
2185 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2186
2187 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2188
2189 * dired.el (dired-sort-set-mode-line): Rename from
2190 dired-sort-set-modeline. All callers changed.
2191
2192 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2193 eshell-status-in-modeline.
2194
2195 * foldout.el (foldout-mode-line-string): Rename from
2196 foldout-modeline-string. All callers changed.
2197 (foldout-update-mode-line): Rename from foldout-update-modeline.
2198
2199 * subr.el (redraw-modeline): Make into obsolete alias.
2200
2201 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2202 timeclock-modeline-display. Make old name an alias.
2203 (timeclock-update-mode-line): Likewise. All callers changed.
2204 (timeclock-mode-line-display): No need to check before using
2205 add-hook.
2206 (timeclock-relative, timeclock-day-over-hook)
2207 (timeclock-use-elapsed, timeclock-mode-string)
2208 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2209
2210 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2211 crisp-mode-modeline-string.
2212
2213 * play/solitaire.el (solitaire-build-mode-line): Rename from
2214 solitaire-build-modeline. All callers changed.
2215
2216 * play/zone.el (zone-hiding-mode-line): Rename from
2217 zone-hiding-modeline. All callers changed.
2218 (zone): Remove unusued `modeline-hidden-level' property.
2219
2220 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2221 xscheme-modeline-initialize. All callers changed.
2222
2223 * strokes.el (strokes-lighter): Rename from
2224 strokes-modeline-string.
2225
2226 * textmodes/sgml-mode.el (html-face-tag-alist)
2227 (html-tag-face-alist): Use mode-line face instead of obsolete
2228 alias modeline.
2229
42152ee4
SM
22302012-06-02 Stefan Merten <smerten@oekonux.de>
2231
2232 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2233 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2234
95f520b5
CY
22352012-06-02 Chong Yidong <cyd@gnu.org>
2236
2237 * image.el (imagemagick-enabled-types): Rename from
2238 imagemagick-types-enable. Add many more types.
2239 (imagemagick-types-inhibit): Change default to nil.
2240 (imagemagick-filter-types): Caller changed.
2241
4a5f187a
SM
22422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2243
03fef3e6
SM
2244 * emacs-lisp/cl-macs.el: Use backquotes.
2245 (cl-transform-function-property): Use eval-and-compile rather than
2246 abusing `require'.
2247 (defstruct): Use declare-function instead of with-no-warnings.
2248
4a5f187a
SM
2249 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2250 (byte-compile-output-docform): Re-add the print-circle bindings.
2251 (byte-compile-fix-header): Use #$ just because it's shorter.
2252 (byte-compile-output-file-form): Remove defun/defmacro.
2253
bd56924f
MR
22542012-06-01 Martin Rudalics <rudalics@gmx.at>
2255
2256 * simple.el (choose-completion): Remove now obsolete binding for
2257 owindow.
2258
046e38ce
MA
22592012-06-01 Michael Albinus <michael.albinus@gmx.de>
2260
2261 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2262 in order to avoid "Stack overflow in regexp matcher".
2263
32d72c2f
GM
22642012-05-31 Glenn Morris <rgm@gnu.org>
2265
2266 * image.el: For clarity, call imagemagick-register-types at
2267 top-level, rather than relying on a custom :initialize.
2268 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2269 (imagemagick-filter-types): New function. (Bug#7406)
2270 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2271 If disabling support, remove elements altogether rather
2272 than using an impossible regexp.
2273 (imagemagick-types-inhibit): Give it the default init function.
2274
dd41169b
SM
22752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2276
4a5f187a
SM
2277 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2278 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2279
efc00ab1 22802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2281
2282 * desktop.el (desktop-read): Clear previous and next buffers for
2283 all windows and bury *Messages* buffer (bug#11556).
2284
500fcedc
SM
22852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 Add `declare' for `defun'. Align `defmacro's with it.
2288 * emacs-lisp/easy-mmode.el (define-minor-mode)
2289 (define-globalized-minor-mode): Don't autoload the var definitions.
2290 * emacs-lisp/byte-run.el: Use lexical-binding.
2291 (defun-declarations-alist, macro-declarations-alist): New vars.
2292 (defmacro, defun): Use them.
2293 (make-obsolete, define-obsolete-function-alias)
2294 (make-obsolete-variable, define-obsolete-variable-alias):
2295 Use `declare'.
2296 (macro-declaration-function): Mark obsolete.
2297 * emacs-lisp/autoload.el: Use lexical-binding.
2298 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2299
6e8a1786
AM
23002012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2301
2302 * textmodes/ispell.el (ispell-with-no-warnings):
2303 Define as a macro.
500fcedc
SM
2304 (ispell-kill-ispell, ispell-change-dictionary):
2305 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2306 `interactive-p'.
2307
61b108cc
SM
23082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2311 (macro-declaration-function): Move var from C code.
2312 (macro-declaration-function): Define function with defalias.
2313 * emacs-lisp/macroexp.el (macroexpand-all-1):
2314 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2315 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2316 defun/defmacro any more.
2317 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2318 Provide fallback for unknown arglist.
2319 (byte-compile-arglist-warn): Change calling convention.
2320 (byte-compile-output-file-form): Move print-vars binding.
2321 (byte-compile-output-docform): Simplify accordingly.
2322 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2323 (byte-compile-defmacro-declaration): Remove.
2324 (byte-compile-file-form-defmumble): Generalize to defalias.
2325 (byte-compile-output-as-comment): Return byte-positions.
2326 Simplify callers accordingly.
2327 (byte-compile-lambda): Use `assert'.
2328 (byte-compile-defun, byte-compile-defmacro): Remove.
2329 (byte-compile-file-form-defalias):
2330 Use byte-compile-file-form-defmumble.
2331 (byte-compile-defalias-warn): Remove.
2332
6d3f7c2f
SM
23332012-05-29 Stefan Merten <smerten@oekonux.de>
2334
2335 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2336 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2337
2338 (rst-mode-abbrev-table): Merge definition.
2339 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2340 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2341
6dbaa1c7
UJ
23422012-05-29 Ulf Jasper <ulf.jasper@web.de>
2343
2344 * calendar/icalendar.el
2345 (icalendar-export-region): Export UID properly.
2346
d209e2fb 23472012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2348 * calendar/icalendar.el (icalendar-import-format):
2349 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2350 (icalendar-import-format-uid): New.
2351 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2352 Export UID.
2353
6876a58d
SM
23542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2357 different alternative patterns.
2358 (pcase-codegen): Be more careful to preserve identity.
2359 (pcase--u1): Don't forget to mark vars as used.
2360
2361 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2362 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2363 (byte-compile-from-buffer): ...rather than here.
2364
2365 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2366 functions from byte-compile-function-environment.
2367
46b7967e
TN
23682012-05-29 Troels Nielsen <bn.troels@gmail.com>
2369
2370 * window.el (window-deletable-p): Avoid deleting the root window
2371 of a frame with an active minibuffer.
2372
69d565e2
MR
23732012-05-29 Martin Rudalics <rudalics@gmx.at>
2374
2375 * simple.el (choose-completion): Use quit-window (Bug#11567).
2376
a149fa51
CY
23772012-05-29 Chong Yidong <cyd@gnu.org>
2378
2379 * whitespace.el (whitespace-cleanup): Fix usage of
2380 whitespace-empty-at-bob-regexp (Bug#11492).
2381
2b311310
AH
23822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2383
2384 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2385 revert (Bug#11488).
2386
b9cb2387
JL
23872012-05-29 Juri Linkov <juri@jurta.org>
2388
2389 * isearch.el (isearch-mode-map): Bind `M-s _' to
2390 `isearch-toggle-symbol'. Bind `M-s c' to
2391 `isearch-toggle-case-fold'.
2392 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2393 (isearch-forward): Add `M-s _' to the docstring.
2394 (isearch-forward-symbol, isearch-toggle-case-fold)
2395 (isearch-symbol-regexp): New functions. (Bug#11381)
2396
d5e61c1c
JL
23972012-05-29 Juri Linkov <juri@jurta.org>
2398
2399 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2400 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2401 a function, call it to get the regexp.
2402 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2403 property `isearch-message-prefix' instead of the string "word ".
2404 (isearch-search-fun-default): For the case of `isearch-word',
2405 return a lambda that calls re-search-forward/re-search-backward
2406 with a regexp returned by `word-search-regexp' or by the function
2407 in `isearch-word'.
2408
8cbd80f7
JL
24092012-05-29 Juri Linkov <juri@jurta.org>
2410
2411 * isearch.el (isearch-search-fun-default): New function.
2412 (isearch-search-fun): Move default part to the new function
2413 `isearch-search-fun-default'.
2414 (isearch-search-fun-function): Set the default value to
2415 `isearch-search-fun-default'. (Bug#11381)
2416
2417 * comint.el (comint-history-isearch-end):
2418 Use `isearch-search-fun-default'.
2419 (comint-history-isearch-search): Use `isearch-search-fun-default'
2420 and remove spacial case for `isearch-word'.
2421 (comint-history-isearch-wrap): Remove spacial case for
2422 `isearch-word'.
2423
2424 * hexl.el (hexl-isearch-search-function):
2425 Use `isearch-search-fun-default'.
2426
2427 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2428 Use `word-search-regexp' for `isearch-word'.
2429
2430 * misearch.el (multi-isearch-search-fun):
2431 Use `isearch-search-fun-default'.
2432
2433 * simple.el (minibuffer-history-isearch-search):
2434 Use `isearch-search-fun-default' and remove spacial case for
2435 `isearch-word'.
2436 (minibuffer-history-isearch-wrap): Remove spacial case for
2437 `isearch-word'.
2438
2439 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2440 Remove spacial case for `isearch-word'.
2441 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2442
85c8c5b6
AM
24432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2444
2445 Decrease XEmacs incompatibilities.
2446 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2447 Use `string-match'.
2448 (flyspell-delete-region-overlays): Use alternative definition for
2449 XEmacs.
2450 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2451 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2452 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2453 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2454 `define-obsolete-face-alias' under XEmacs, but old method.
2455
2456 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2457 `with-no-warnings' definition or Emacs alias.
2458 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2459 (ispell-word): Do not use `region-p' if XEmacs.
2460
8cab9efc
AM
24612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2462
2463 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2464 Check for `ispell-dictionary-base-alist' instead of full
2465 `ispell-dictionary-alist'.
2466 (ispell-init-process): Show spellchecker when starting new Ispell
2467 process.
2468
fda91268
RZ
24692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2472 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2473
694ea8e3
JB
24742012-05-27 Juanma Barranquero <lekktu@gmail.com>
2475
2476 * version.el (motif-version-string, gtk-version-string)
2477 (ns-version-string): Declare.
2478
e4d4f539
JL
24792012-05-27 Juri Linkov <juri@jurta.org>
2480
2481 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2482 after the `eval-defun-1' specialcaseing
2483 like in `edebug-eval-defun' (bug#10181).
2484
2485 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2486 like in `eval-defun-1'.
2487
33017faf 24882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2489
fda91268
RZ
2490 * mail/sendmail.el (mail-yank-region):
2491 Recognize rmail-yank-current-message in addition to insert-buffer.
2492 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2493 a *mail* buffer created through rmail-start-mail with sendmail as
2494 mail-user-agent.
2495
33017faf
GM
24962012-05-27 Chong Yidong <cyd@gnu.org>
2497
2498 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2499 Default to 256 (Bug#11267).
2500
2501 * help.el (describe-mode): Doc fix.
2502
04188bb9
GM
25032012-05-26 Glenn Morris <rgm@gnu.org>
2504
38264cc9
GM
2505 * w32-fns.el (w32-init-info): Remove.
2506 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2507
eb7afdad
GM
2508 * info.el (info-initialize): For self-contained NS builds, put the
2509 included info/ directory at the front. (Bug#2791)
2510
04188bb9
GM
2511 * paths.el (Info-default-directory-list): Make it a defcustom,
2512 mainly so that we can use custom-initialize-delay.
2513
a179e3f7
SM
25142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2515
43416392
SM
2516 * subr.el (buffer-has-markers-at): Mark obsolete.
2517
a179e3f7 2518 * subr.el (lambda): Use declare.
43416392 2519
a179e3f7
SM
2520 * emacs-lisp/lisp-mode.el (lambda):
2521 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2522
34a008d9
AH
25232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2524
2525 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2526
0a3b289f
GM
25272012-05-26 Glenn Morris <rgm@gnu.org>
2528
2529 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2530
758c81e8
GM
25312012-05-25 Glenn Morris <rgm@gnu.org>
2532
f9f334f0
GM
2533 * paths.el: Remove no-byte-compile.
2534 * loadup.el: No need to load paths.el uncompiled.
2535
87eb79c2
GM
2536 * image.el (imagemagick-types-inhibit): Doc fix.
2537
758c81e8
GM
2538 * version.el: Remove no-byte-compile and associated formatting.
2539 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2540 is ancient code from when there was an "inc-vers.el".
2541
e7e85dc0
SM
25422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * progmodes/gdb-mi.el: Minor style changes.
2545 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2546 Turn into minor modes.
2547 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2548 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2549 (gdb-shell): Remove unneeded let-binding.
2550 (gdb-get-many-fields): Eliminate O(n²) behavior.
2551
f31237a4
EZ
25522012-05-25 Eli Zaretskii <eliz@gnu.org>
2553
2554 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2555 platforms that don't link in fontset.c.
2556
bc1b21bb
JL
25572012-05-25 Juri Linkov <juri@jurta.org>
2558
2559 Use the same diff color scheme as in modern VCSes (bug#10181).
2560
2561 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2562 to avoid confusion with `diff-added' that now uses green colors.
2563 (diff-removed): Use shades of red.
2564 (diff-added): Use shades of green.
2565 (diff-changed): Leave just the yellow color.
2566 (diff-use-changed-face): New variable.
2567 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2568 how to highlight context diff changes.
2569 (diff-refine-change): Use shades of yellow.
2570 (diff-refine-removed): New face that uses shades of red.
2571 (diff-refine-added): New face that uses shades of green.
2572 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2573 `diff-refine-removed' in the call to `smerge-refine-subst'
2574 depending on the value of `diff-use-changed-face'.
2575
2576 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2577 (smerge-other): Use shades of green.
2578 (smerge-base): Use shades of yellow.
2579 (smerge-refined-change): Empty face.
2580 (smerge-refined-removed): New face that uses shades of red.
2581 (smerge-refined-added): New face that uses shades of green.
2582 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2583 args `props-r' and `props-a', and use them. Doc fix.
2584 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2585 on its value use different faces `smerge-refined-change',
2586 `smerge-refined-removed', `smerge-refined-added' in the call to
2587 `smerge-refine-subst'.
2588
2589 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2590 Add face condition `min-colors 88' with shades of red.
2591 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2592 `min-colors 88' with shades of green.
2593 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2594 `min-colors 88' with shades of yellow.
2595
6df9112c
GM
25962012-05-24 Glenn Morris <rgm@gnu.org>
2597
ead5edc0
GM
2598 * paths.el (prune-directory-list, remote-shell-program): Move to...
2599 * files.el (prune-directory-list, remote-shell-program): ...here.
2600 For the latter, delay initialization, prefer ssh, just search PATH.
2601
f18b81e6
GM
2602 * paths.el (term-file-prefix): Move to faces.el (the only user).
2603 * faces.el (term-file-prefix): Move here, make it a defcustom.
2604
ee2f89a6
GM
2605 * paths.el (news-directory, news-path, news-inews-program):
2606 Move to gnus/nnspool.el.
61a583ca 2607
f8815e4c
GM
2608 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2609
c8f3b42c
GM
2610 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2611 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2612 Make the latter a defcustom, with a delayed initialization.
2613
6df9112c
GM
2614 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2615 These were deleted from Gnus itself late 2010.
2616
5dadff36
JB
26172012-05-22 Juanma Barranquero <lekktu@gmail.com>
2618
9e1701c6
JB
2619 * progmodes/which-func.el (which-func-ff-hook):
2620 Check against user-error, not error.
2621
bd7239f5 2622 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2623 cl-specs.el, which no longer exists.
2624
3290526d
GM
26252012-05-22 Glenn Morris <rgm@gnu.org>
2626
2627 * info.el (info-emacs-bug): New command.
2628 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2629 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2630
ff0c3cfb
GM
26312012-05-21 Glenn Morris <rgm@gnu.org>
2632
2633 * makefile.w32-in (update-subdirs-SH):
2634 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2635
5814f126
SM
26362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2637
a52c0aa0
SM
2638 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2639
5814f126
SM
2640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2641 Simplify Maven regexp, and make sure the file can't start with a space
2642 (bug#11517).
2643
b847032c
GM
26442012-05-21 Glenn Morris <rgm@gnu.org>
2645
2646 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2647 Scrap superfluous subshells.
2648
3858bfe7
SM
26492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2652 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2653
d14b0029
JB
26542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2655
2656 * calc/calc.el (calc-ensure-consistent-units): New variable.
2657
a52c0aa0
SM
2658 * calc/calc-units.el (math-consistent-units-p)
2659 (math-check-unit-consistency): New functions.
2660 (calc-quick-units, calc-convert-units):
2661 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2662 is non-nil.
d14b0029
JB
2663 (calc-extract-units): Fix typo.
2664
60c4db3a
SM
26652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2666
77f3b62e
SM
2667 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2668
60c4db3a
SM
2669 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2670 (flyspell-default-deplacement-commands): Don't spell check after
2671 repeated window/frame switches (e.g. triggered by mouse-movement).
2672 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2673 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2674 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2675 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2676 Remove unused vars.
2677 (flyspell-get-casechars, flyspell-get-not-casechars):
2678 Simplify; Don't bother removing a ] just to add it back.
2679 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2680
d209e2fb 26812012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2682
2683 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2684 New functions.
bd7239f5 2685 (math-function-table): Add support for more C functions.
b1a10716 2686
3f1b25b5
AM
26872012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2688
090bd7cb
JB
2689 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2690 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2691 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2692
b581bb5c
SM
26932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2696 their respective macro declarations.
2697 * skeleton.el (define-skeleton):
2698 * progmodes/compile.el (define-compilation-mode):
2699 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2700 (define-ibuffer-filter):
2701 * emacs-lisp/generic.el (define-generic-mode):
2702 * emacs-lisp/easy-mmode.el (define-minor-mode)
2703 (define-globalized-minor-mode):
2704 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2705 * emacs-lisp/byte-run.el (defsubst):
2706 * custom.el (deftheme): Add doc-string metadata.
2707
70b8ef8f
SM
27082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2711
b1198e17
SM
27122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2713
9abdc45d
SM
2714 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2715
b1198e17
SM
2716 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2717 * emacs-lisp/cl-macs.el: Idem.
2718 * emacs-lisp/cl-specs.el: Remove.
2719
4735906a
SM
27202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 Minor renaming of internal CL functions and variables.
2723 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2724 (cl--position): Rename from cl-position.
2725 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2726 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2727 (cl--random-state): Rename from *random-state*.
2728
ac348012
SM
27292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2732 parens around the arg list (bug#11499).
2733
a0a79cde
JL
27342012-05-17 Juri Linkov <juri@jurta.org>
2735
2736 * isearch.el (word-search-regexp, word-search-backward)
2737 (word-search-forward, word-search-backward-lax)
2738 (word-search-forward-lax): Move functions from search.c
2739 (bug#10145, bug#11381).
2740
65034a51
AM
27412012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2742
090bd7cb
JB
2743 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2744 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2745 Delay for otherchars as for normal word components.
65034a51 2746
1a72a195
SM
27472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * minibuffer.el (completion--sifn-requote): Fix last change.
2750 (minibuffer-local-must-match-filename-map):
2751 Move define-obsolete-variable-alias before its var.
2752
fdb058c2
SM
27532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2754
c41045e6
SM
2755 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2756
036dfb8b
SM
2757 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2758 behavior.
2759 (completion--string-equal-p): New function.
2760 (completion--twq-all): Use it to get better assertion failure data.
2761
2473256d
SM
2762 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2763 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2764 (shell--requote-argument): New functions.
2765 (shell-completion-vars): Use them.
2766 (shell--parse-pcomplete-arguments): Rename from
2767 shell-parse-pcomplete-arguments.
2768 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2769 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2770 Obey comint-file-name-quote-list.
2771
fdb058c2
SM
2772 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2773 (smie-indent-keyword): Use it.
2774
51fa99f1
SM
27752012-05-14 Stefan Merten <smerten@oekonux.de>
2776
2777 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2778
e18afed7 27792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2780
2781 * net/rlogin.el (rlogin-mode-map): Fix last change.
2782
e18afed7 27832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2784
2785 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2786 the following \r\n using a single `process-send-string', since the
2787 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2788 with two `process-send-string's (Bug#11444).
8633b1f4 2789
e18afed7 27902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2791
fdb058c2
SM
2792 * shell.el (shell-parse-pcomplete-arguments):
2793 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2794
2d21d7f6
WJ
27952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2796
e18afed7 2797 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2798 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2799 (image-transform-width, image-transform-fit-width): New functions.
2800 (image-transform-properties): Use them.
2801 (image-transform-check-size): New function.
2802 (image-toggle-display-image): Use it (for testing).
2803 (image-transform-set-rotation): Reduce angle mod 360.
2804 Delete obsolete comment.
2805
7102e6d0
WJ
28062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2807
2808 * image-mode.el: Fix scaling (bug#11399).
2809 (image-transform-resize): Doc fix.
2810 (image-transform-properties): Default scale is 1 and height should
2811 be an integer.
2812
06bc5e6e
SM
28132012-05-13 Johan Bockgård <bojohan@gnu.org>
2814
2815 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2816 than hard-coding `car', to fix misbehavior when moving forward.
2817
0ae03b6a
CY
28182012-05-13 Chong Yidong <cyd@gnu.org>
2819
2820 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2821 (tabulated-list-entries, tabulated-list-padding)
2822 (tabulated-list-sort-key): Make permanent-local.
2823
2824 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2825 (electric-buffer-list): Put electric buffer menu
2826 command descriptions in this docstring, instead of the docstring
2827 of electric-buffer-menu-mode. Code cleanups.
2828 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2829 Electric-buffer-menu-mode.
2830 (electric-buffer-update-highlight): Minor code cleanup.
2831
205a7391
MA
28322012-05-13 Michael Albinus <michael.albinus@gmx.de>
2833
2834 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2835 (Bug#11447)
2836
e5bd0a28
SM
28372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 Move define-obsolete-variable-alias before the var's definition.
2840 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2841 * tooltip.el (tooltip-hook):
2842 * textmodes/reftex-toc.el (reftex-toc-map):
2843 * textmodes/reftex-sel.el (reftex-select-label-map)
2844 (reftex-select-bib-map):
2845 * textmodes/reftex-index.el (reftex-index-map)
2846 (reftex-index-phrases-map):
2847 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2848 * progmodes/meta-mode.el (meta-mode-map):
2849 * novice.el (disabled-command-hook):
2850 * loadhist.el (unload-hook-features-list):
2851 * frame.el (blink-cursor):
2852 * files.el (find-file-not-found-hooks, write-file-hooks)
2853 (write-contents-hooks):
2854 * emulation/tpu-edt.el (GOLD-map):
2855 * emacs-lock.el (emacs-lock-from-exiting):
2856 * emacs-lisp/generic.el (generic-font-lock-defaults):
2857 * emacs-lisp/chart.el (chart-map):
2858 * dos-fns.el (register-name-alist):
2859 * dired-x.el (dired-omit-files-p):
2860 * desktop.el (desktop-enable):
2861 * cus-edit.el (custom-mode-hook):
2862 * buff-menu.el (buffer-menu-mode-hook):
2863 * bookmark.el (bookmark-read-annotation-text-func)
2864 (bookmark-exit-hooks):
2865 * allout.el (allout-mode-deactivate-hook)
2866 (allout-exposure-change-hook, allout-structure-added-hook)
2867 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2868 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2869 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2870 comes before the corresponding variable's definition.
2871
ac59c2f6
CY
28722012-05-12 Chong Yidong <cyd@gnu.org>
2873
2874 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2875 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2876 (Buffer-menu-mode-map): Bind it.
2877 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2878
dee6c9a3
SM
28792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2171cea5
SM
2881 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2882 (prolog-upper-case-string, prolog-lower-case-string)
2883 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2884 (prolog-use-smie, prolog-smie-grammar): New vars.
2885 (prolog-smie-forward-token, prolog-smie-backward-token)
2886 (prolog-smie-rules): New funs.
2887 (prolog-comment-indent): Remove.
2888 (prolog-mode-variables): Use default comment indentation instead.
2889 Setup SMIE.
2890 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2891 (prolog-mode): Don't call them any more.
2892 (prolog-electric-colon, prolog-electric-dash)
2893 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2894
aa0382bd
SM
2895 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2896
dbacb4bd
SM
2897 * minibuffer.el (completion--twq-all): Again, allow case differences.
2898
13bdd94c
SM
2899 * term.el: Move keymap initialization code to be more idiomatic.
2900 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2901 (term-terminal-menu): Move initialization into declaration.
2902 (term-escape-char): Let the user set it in her .emacs.
2903
ff46c759
SM
2904 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2905 Provide SMIE-based indentation (not enabled by default yet).
2906 (sh-mode-map): Don't bind electric keys.
2907 Use electric-pair-mode instead of skeleton-pair.
2908 (sh-assignment-regexp): Fit within 80 columns.
2909 (sh-indent-supported): Specify actual shell name instead of boolean.
2910 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2911 (sh-maybe-here-document): Use it. Make obsolete.
2912 (sh-electric-here-document-mode) New minor mode.
2913 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2914 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2915 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2916 (sh-smie-rc-grammar, sh-use-smie): New vars.
2917 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2918 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2919 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2920 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2921 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2922 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2923 (sh-set-shell): Use smie-setup if requested.
2924
dee6c9a3
SM
2925 * term.el (term-set-escape-char): Properly set term-escape-char.
2926 See http://stackoverflow.com/questions/10524656.
2927
9f9aa044
CY
29282012-05-10 Chong Yidong <cyd@gnu.org>
2929
2930 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2931 Use url-generic-parse-url, and handle host names and Windows
2932 filenames properly.
2933 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2934 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2935 URL schemes to work on.
2936 (ffap--toggle-read-only): New function.
2937 (ffap-read-only, ffap-read-only-other-window)
2938 (ffap-read-only-other-frame): Use it.
2939 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2940 necessary for ffap-url-unwrap-remote.
2941
836d29b3
DA
29422012-05-10 Dave Abrahams <dave@boostpro.com>
2943
2944 * cus-start.el (create-lockfiles): Add it.
2945
00fd78ed
CY
29462012-05-09 Chong Yidong <cyd@gnu.org>
2947
2948 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2949 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2950
666b903b 29512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2952
2953 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2954
666b903b 29552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2956
2957 * ansi-color.el (ansi-color-process-output): Check for validity of
2958 comint-last-output-start before using it. This avoids a bad
2959 interaction with gdb-mi's input/output buffer.
2960
666b903b 29612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2962
2963 * files.el (dir-locals-read-from-file):
2964 Mention dir-locals in any error message.
2965
666b903b 29662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2967
2968 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2969 package (Bug#11410).
2970
f677562b
CY
2971 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2972 variables into description.
2973
666b903b 29742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2975
2976 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2977 shell-delimiter-argument-list (bug#11348).
2978 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2979
b499d8d0
JB
29802012-05-09 Juanma Barranquero <lekktu@gmail.com>
2981
8f6b6da8
JB
2982 * textmodes/rst.el: Silence byte-compiler warnings.
2983 (rst-re-alist, rst-reset-section-caches): Move around.
2984 (rst-re): Use `characterp', not `char-valid-p'.
2985 (font-lock-beg, font-lock-end): Declare.
2986
4824146a
JB
2987 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2988 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2989
b499d8d0
JB
2990 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2991
ad89bb83
GM
29922012-05-08 Glenn Morris <rgm@gnu.org>
2993
2994 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2995
8bba5a75
SM
29962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2997
49ed9c8e
SM
2998 * vc/log-edit.el: Add GNU coding standards highlighting.
2999 (log-edit-font-lock-gnu-style)
3000 (log-edit-font-lock-gnu-keywords): New vars.
3001 (log-edit-font-lock-keywords): New fun.
3002 (log-edit-mode): Don't fold case in font-lock.
3003 (log-edit-font-lock-keywords): Do not assume case-folding.
3004
07d00b56
SM
3005 * imenu.el: Misc cleanup. Make docstrings out of comments.
3006 Use lexical-binding.
3007 (imenu--index-alist, imenu--last-menubar-index-alist)
3008 (imenu-menubar-modified-tick): Use defvar-local.
3009 (imenu--split-menu): Remove unused var.
3010 (imenu--cleanup-seen): Declare as global.
3011 (imenu--cleanup): Use dolist.
3012
8bba5a75
SM
3013 * subr.el (defvar-local): Add debug spec and doc-string position.
3014
5075bdb5
GM
30152012-05-08 Glenn Morris <rgm@gnu.org>
3016
090bd7cb 3017 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3018 * language/english.el, language/georgian.el, language/greek.el:
3019 * language/japanese.el, language/khmer.el, language/korean.el:
3020 * language/lao.el, language/misc-lang.el, language/romanian.el:
3021 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3022 * language/thai.el, language/utf-8-lang.el:
3023 Remove no-byte-compile setting.
3024
5075bdb5
GM
3025 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3026
06f679a7
AH
30272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3028
3029 * progmodes/make-mode.el (makefile-browse):
3030 Remove unnecessary interactive. (Bug#11324)
3031
03794570
GM
30322012-05-07 Glenn Morris <rgm@gnu.org>
3033
af8630f4
GM
3034 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3035
03794570
GM
3036 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3037
f0809a9d
SM
30382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3039
28be5ce7
SM
3040 * loadup.el: Preload newcomment.el.
3041 * newcomment.el: Move autoload-only code to toplevel.
3042
f0809a9d
SM
3043 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3044 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3045 Handle new :right-align column property.
3046 (tabulated-list-print-col): Idem, plus use `display' text-property to
3047 try and preserve alignment for variable pitch fonts.
3048
1241b724
CY
30492012-05-07 Chong Yidong <cyd@gnu.org>
3050
3051 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3052 (tabulated-list-use-header-line): New var.
3053 (tabulated-list-init-header): Use it.
3054 (tabulated-list-print-fake-header): New function.
3055 (tabulated-list-print): Use it.
3056 (tabulated-list-sort-button-map): Add non-header-line commands.
3057 (tabulated-list-init-header): Add column name property to basic
3058 labels as well.
3059 (tabulated-list-col-sort): Handle non-header-line button case.
3060 (tabulated-list--sort-by-column-name): Fix a corner case.
3061
f0809a9d
SM
3062 * buff-menu.el (list-buffers--refresh):
3063 Handle Buffer-menu-use-header-line.
1241b724 3064
e5f9458f
CY
30652012-05-06 Chong Yidong <cyd@gnu.org>
3066
3067 * buff-menu.el: Convert to Tabulated List mode.
3068 (Buffer-menu-buffer+size-width): Make obsolete.
3069 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3070 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3071 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3072 documentation into docstring of buffer-menu.
3073 (Buffer-menu-toggle-files-only): Add an informative message.
3074 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3075 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3076 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3077 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3078 (Buffer-menu-execute, Buffer-menu-select)
3079 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3080 (Buffer-menu-bury): Use Tabulated List machinery.
3081 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3082 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3083 Delete.
e5f9458f
CY
3084 (list-buffers--refresh): New function.
3085 (list-buffers-noselect): Use it.
3086 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3087 (Buffer-menu--pretty-file-name): New helper functions.
3088
3089 * loadup.el: Preload tabulated-list.
3090
3091 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3092 tabulated-list-sort-column.
3093 (tabulated-list-init-header): Add the initial aligning space even
3094 if tabulated-list-padding is zero.
3095
e129292c
CS
30962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3097
3098 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3099 whose cdr is not a cons cell correctly (bug#11038).
3100
6632d361
CY
31012012-05-06 Chong Yidong <cyd@gnu.org>
3102
e129292c
CS
3103 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3104 Accept additional plist in column descriptors.
6632d361
CY
3105 (tabulated-list-init-header): Obey it.
3106 (tabulated-list-get-entry): New function.
3107 (tabulated-list-put-tag): Use it. Use string-width instead of
3108 length.
3109 (tabulated-list--column-number): New function.
3110 (tabulated-list-print): Use it.
e129292c
CS
3111 (tabulated-list-print-col): New function.
3112 Set `tabulated-list-column-name' property on each column's text.
6632d361 3113 (tabulated-list-print-entry): Use it.
e129292c
CS
3114 (tabulated-list-delete-entry, tabulated-list-set-col):
3115 New functions.
6632d361
CY
3116 (tabulated-list-sort-column): New command (Bug#11337).
3117
3cc99f68
CY
3118 * buff-menu.el (list-buffers): Move C-x C-b binding from
3119 buff-menu.el to bindings.el.
3120
3121 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3122 :advertised-binding feature.
3123
52b61776
TN
31242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3125
3126 * progmodes/compile.el (compilation-internal-error-properties):
3127 Calculate start position correctly when end-col is set but
3128 end-line is not (Bug#11382).
3129
ebfe2597
WJ
31302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3131
3132 * man.el (Man-unindent): Use text-property-default-nonsticky to
3133 prevent untabify from inheriting face properties (Bug#11408).
3134
6d3f7c2f
SM
31352012-05-05 Stefan Merten <smerten@oekonux.de>
3136
3137 * textmodes/rst.el: Major merge with upstream development up to
3138 Docutils SVN r7399 / rst.el V1.2.1.
3139
3140 Clarify maintainership and authors.
3141
3142 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3143 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3144 (rst-official-version, rst-official-cvs-rev, rst-version)
3145 (rst-package-emacs-version-alist): New functions and variables
3146 for version information.
3147
3148 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3149 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3150 (rst-mode-syntax-table, rst-mode): New and corrected functions
3151 and variables representing reStructuredText features.
3152
3153 (rst-re): New function for reStructuredText regexes. Use in
3154 many places.
3155
3156 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3157 (rst-mode-map): Rebind keys.
3158
3159 (rst-mode-lazy, rst-font-lock-keywords)
3160 (rst-font-lock-extend-region)
3161 (rst-font-lock-extend-region-internal)
3162 (rst-font-lock-extend-region-extend)
3163 (rst-font-lock-find-unindented-line-limit)
3164 (rst-font-lock-find-unindented-line-match)
3165 (rst-adornment-level, rst-font-lock-adornment-level)
3166 (rst-font-lock-adornment-match)
3167 (rst-font-lock-handle-adornment-pre-match-form)
3168 (rst-font-lock-handle-adornment-matcher): Major revision of
3169 font-locking. Integrate with other code. Use `jit-lock-mode'.
3170
3171 (rst-preferred-adornments, rst-adjust-hook)
3172 (rst-new-adornment-down, rst-preferred-bullets)
3173 (rst-preferred-bullets, rst-indent, rst-indent-width)
3174 (rst-indent-field, rst-indent-literal-normal)
3175 (rst-indent-literal-minimized, rst-indent-comment): Change,
3176 extend and improve customization.
3177
3178 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3179 (rst-normalize-cursor-position, rst-get-decoration)
3180 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3181 (rst-rstrip, rst-toc-insert-find-delete-contents)
3182 (rst-shift-fill-region, rst-compute-bullet-tabs)
3183 (rst-debug-print-tabs, rst-debug-mark-found)
3184 (rst-shift-region-guts, rst-shift-region-right)
3185 (rst-shift-region-left, rst-use-char-classes)
3186 (rst-font-lock-keywords-function)
3187 (rst-font-lock-indentation-point)
3188 (rst-font-lock-find-unindented-line-begin)
3189 (rst-font-lock-find-unindented-line-end)
3190 (rst-font-lock-find-unindented-line)
3191 (rst-font-lock-adornment-point, rst-font-lock-level)
3192 (rst-adornment-level-alist): Remove functions and variables.
3193
3194 (rst-compare-adornments, rst-get-adornment-match)
3195 (rst-suggest-new-adornment, rst-get-adornments-around)
3196 (rst-adornment-complete-p, rst-get-next-adornment)
3197 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3198 (rst-straighten-adornments): Standardize function names to
3199 use "adornment" instead of "decoration". Correct callers.
3200 Similar standardizing in many places.
3201
3202 (rst-update-section, rst-adjust, rst-promote-region)
3203 (rst-enumerate-region, rst-bullet-list-region)
3204 (rst-repeat-last-character): Correct use of `interactive'.
3205
3206 (rst-classify-adornment, rst-find-all-adornments)
3207 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3208 (rst-find-leftmost-column, rst-repeat-last-character):
3209 Refactor functions.
3210
3211 (rst-find-title-line, rst-reset-section-caches)
3212 (rst-get-adornments-around, rst-adjust-adornment-work)
3213 (rst-arabic-to-roman, rst-roman-to-arabic)
3214 (rst-insert-list-pos, rst-insert-list-new-item)
3215 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3216 New functions.
3217
3218 (rst-all-sections, rst-section-hierarchy)
3219 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3220 New variables.
3221
3222 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3223 configuration instead of only buffer. Change where necessary.
3224
3225 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3226 (rst-shift-region, rst-adaptive-fill): New functions for
3227 indentation and filling.
3228
3229 (rst-comment-line-break, rst-comment-indent)
3230 (rst-comment-insert-comment, rst-comment-region)
3231 (rst-uncomment-region): New functions for handling comments.
3232
3233 (rst-compile): Quote shell arguments.
3234
3235 (rst-compile-pdf-preview, rst-compile-slides-preview):
3236 Delete temporary files after use.
3237
a43f98b3
GM
32382012-05-05 Glenn Morris <rgm@gnu.org>
3239
48176e8b
GM
3240 * calendar/cal-html.el: Optionally include holidays in the output.
3241 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3242 (cal-html-holidays): New option.
3243 (cal-html-css-default): Add holiday entry.
3244 (holiday-in-range): Autoload it.
3245 (cal-html-htmlify-entry): Add optional class argument.
3246 (cal-html-htmlify-list): Add optional holidays argument.
3247 (cal-html-insert-agenda-days): Include holidays in the output.
3248 (cal-html-one-month): Maybe include holidays.
3249
a43f98b3
GM
3250 * calendar/holidays.el (holiday-in-range):
3251 Move here from cal-tex-list-holidays.
3252 * calendar/cal-tex.el (cal-tex-list-holidays):
3253 Make it an obsolete alias for holiday-in-range. Update all callers.
3254
fef9d149 32552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3256
3257 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3258 Nextstep.
3259
248da2f4
RW
32602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3261
3262 * files.el (file-auto-mode-skip): New var.
3263 (set-auto-mode-1): Use it.
3264
f95e9344
SM
32652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3266
df96ab1e
SM
3267 * repeat.el: Use lexical-binding.
3268 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3269 (repeat-undo-count): Remove.
3270 (repeat):
3271 * progmodes/octave-mod.el (octave-abbrev-start):
3272 * progmodes/f90.el (f90-abbrev-start):
3273 * face-remap.el (text-scale-adjust):
3274 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3275
5342bb06
SM
3276 * emacs-lisp/pcase.el (pcase--let*): New function.
3277 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3278 a bit more.
3279 (pcase--split-pred): Be more clever about ruling out overlap between
3280 a predicate and some constant pattern.
3281 (pcase--q1): Use `null' instead of (eq foo nil).
3282
f95e9344
SM
3283 * subr.el (setq-local, defvar-local): New macros.
3284 (kbd): Redefine as an alias.
3285 (with-selected-window): Leave unrelated frames alone.
3286 (set-temporary-overlay-map): New function.
3287
71873e2b
SM
32882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * subr.el (user-error): New function.
3291 * window.el (switch-to-buffer):
3292 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3293 (smerge-match-conflict):
3294 * simple.el (previous-matching-history-element)
3295 (next-matching-history-element, goto-history-element, undo-more)
3296 (undo-start):
3297 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3298 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3299 (next-file, tags-loop-scan, list-tags, complete-tag):
3300 * progmodes/compile.el (compilation-loop):
3301 * mouse.el (mouse-minibuffer-check):
3302 * man.el (Man-bgproc-sentinel, Man-goto-page):
3303 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3304 (Info-history-forward, Info-follow-reference, Info-menu)
3305 (Info-extract-menu-item, Info-extract-menu-counting)
3306 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3307 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3308 (Info-next-reference, Info-prev-reference, Info-index)
3309 (Info-index-next, Info-follow-nearest-node)
3310 (Info-copy-current-node-name):
3311 * imenu.el (imenu--make-index-alist)
3312 (imenu-default-create-index-function, imenu-add-to-menubar):
3313 * files.el (basic-save-buffer, recover-file):
3314 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3315 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3316 (checkdoc-message-text, checkdoc-defun):
3317 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3318 * cus-edit.el (customize-changed-options, customize-rogue)
3319 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3320 (custom-variable-mark-to-reset-standard)
3321 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3322 (custom-file):
3323 * completion.el (check-completion-length):
3324 * comint.el (comint-search-arg)
3325 (comint-previous-matching-input-string-position)
3326 (comint-previous-matching-input)
3327 (comint-replace-by-expanded-history-before-point, comint-send-input)
3328 (comint-copy-old-input, comint-backward-matching-input)
3329 (comint-goto-process-mark, comint-set-process-mark):
3330 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3331 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3332
8a61ee22
SM
33332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3334
66408d1e
SM
3335 * dabbrev.el (dabbrev--ignore-case-p): New function.
3336 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3337 Use it.
3338
8a61ee22
SM
3339 * files.el (automount-dir-prefix): Mark as obsolete.
3340
3c74813a
GM
33412012-05-04 Glenn Morris <rgm@gnu.org>
3342
3343 * patcomp.el, play/bruce.el: Move to obsolete/.
3344
0bfcf5c5
PE
33452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3346
3347 Fix minor Y10k bugs.
3348 * arc-mode.el (archive-unixdate):
3349 * autoinsert.el (auto-insert-alist):
3350 * calc/calc-forms.el (math-this-year):
3351 * emacs-lisp/copyright.el (copyright-current-year)
3352 (copyright-update-year, copyright):
3353 * tar-mode.el (tar-clip-time-string):
3354 * time.el (display-time-update):
3355 Don't assume years have 4 digits.
3356
78f3273a
CY
33572012-05-04 Chong Yidong <cyd@gnu.org>
3358
3359 * dos-w32.el (file-name-buffer-file-type-alist)
3360 (direct-print-region-use-command-dot-com):
3361 * ffap.el (ffap-menu-regexp):
3362 * find-file.el (ff-special-constructs):
3363 * follow.el (follow-debug):
3364 * forms.el (forms--debug):
3365 * iswitchb.el (iswitchb-all-frames):
3366 * ido.el (ido-all-frames):
3367 * emacs-lisp/timer.el (timer-max-repeats):
3368 * mail/feedmail.el (feedmail-mail-send-hook)
3369 (feedmail-mail-send-hook-queued):
3370 * mail/footnote.el (footnote-signature-separator):
3371 * mail/mailabbrev.el (mail-alias-separator-string)
3372 (mail-abbrev-mode-regexp):
3373 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3374 * progmodes/idlwave.el (idlwave-libinfo-file)
3375 (idlwave-default-completion-case-is-down)
3376 (idlwave-library-routines): Convert defvars to defcustoms.
3377
3378 * mail/rmail.el (rmail-decode-mime-charset):
3379 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3380 (idlwave-shell-fix-inserted-breaks)
3381 (idlwave-shell-activate-alt-keybindings)
3382 (idlwave-shell-use-breakpoint-glyph):
3383 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3384
f7ae6719
SM
33852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3388
47086495
WS
33892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3390
3391 * progmodes/verilog-mode.el (font-lock-keywords):
3392 Fix mis-highligting auto. Reported by Craig Barner.
3393 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3394 defines from global name space. Reported by Dan Dever.
3395 (verilog-auto-reset, verilog-auto-reset-widths)
3396 (verilog-auto-tieoff): Support using unbased numbers for
3397 AUTORESET and AUTOTIEOFF.
3398 (verilog-submit-bug-report): Update variable list.
3399 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3400 parenthesis from not matching. Reported by Michael Rytting.
3401 (verilog-auto-template-lint): Fix hash error when linting modules
3402 with no used templates.
3403 (verilog-warn, verilog-warn-error)
3404 (verilog-warn-fatal): When non-interactive report multiple
3405 warnings before exiting. Suggested by Brad Dobbie.
3406 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3407 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3408 to report unused template errors. Reported by Brad Dobbie.
3409 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3410 nets, bug438. Reported by Vns Blore.
3411 (verilog-auto-inout-module, verilog-auto-reg)
3412 (verilog-read-decls, verilog-read-sub-decls-sig)
3413 (verilog-signals-edit-wire-reg, verilog-signals-with):
3414 Fix passing of Verilog data types in ANSI input/output ports
3415 such as "output logic" into the AUTOs. Special case "wire" and
3416 "reg" for backwards compatibility presuming Verilog 2001.
3417 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3418 (verilog-preprocess): Fix replication of preprocess output.
3419 Reported by Brad Dobbie.
3420 (verilog-auto-inst-interfaced-ports):
3421 Create verilog-auto-inst-interfaced-ports, bug429.
3422 Reported by Julian Gorfajn.
3423 (verilog-after-save-font-hook)
3424 (verilog-before-save-font-hook): New variable.
3425 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3426 (verilog-save-font-mods): Wrap disabling fontification, reported
3427 by David Rogoff.
3428 (verilog-do-indent, verilog-pretty-declarations-auto)
3429 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3430 Reported by Pierre-David Pfister.
3431 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3432 of class declarations, bug292. Reported by Kevin Heilman.
3433 (verilog-read-decls): Fix 'parameter type' not appearing in
3434 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3435 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3436 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3437 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3438 Reported by David Kravitz.
3439
34402012-05-03 Michael McNamara <mac@mail.brushroad.com>
3441
3442 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3443 assignment with tests in ifs and for loops.
3444 (verilog-extended-complete-re, verilog-complete-reg): Change so
3445 that DPI inport functions don't look like fuction declarations.
3446 (verilog-pretty-expr): Don't line up assignment
3447 operations to the test and increment in if and for loops
3448 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3449 that DPI inport functions don't look like fuction declarations.
47086495 3450
2e51d4b5
KH
34512012-05-03 Kenichi Handa <handa@m17n.org>
3452
3453 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3454 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3455 (Bug#11282).
3456
2bd785a2
SM
34572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * emacs-lisp/bytecomp.el
3460 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3461 since cconv.el might have introduced :fun-body, internal-make-closure,
3462 and friends for bytecomp to handle (bug#11391).
3463 * custom.el (defcustom): Avoid ((λ ..) ..).
3464
99d27583
SM
34652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3468
55a71479
JB
34692012-05-02 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * notifications.el (dbus-debug):
3472 * term/linux.el (gpm-mouse-enable):
3473 * term/screen.el (xterm-register-default-colors): Declare.
3474
7b97c764
CY
34752012-05-02 Chong Yidong <cyd@gnu.org>
3476
2bc356d7
CY
3477 * cus-start.el (gc-cons-percentage, exec-suffixes)
3478 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3479 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3480 (make-cursor-line-fully-visible, void-text-area-pointer)
3481 (font-list-limit): Add customization data.
3482
7b97c764
CY
3483 * allout.el (allout-exposure-change-functions)
3484 (allout-structure-added-functions)
3485 (allout-structure-deleted-functions)
3486 (allout-structure-shifted-functions): Rename abnormal hooks from
3487 *-hook, and convert to defcustoms.
5d3385a0
JB
3488 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3489 Convert to defcustoms.
7b97c764
CY
3490 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3491
3492 * allout-widgets.el: Hook callers changed.
3493
90207a15 34942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3495
3496 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3497 the yanked message in preference to the default value of
3498 buffer-file-coding-system.
3499
90207a15 35002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3501
5d3385a0
JB
3502 * window.el (display-buffer--action-function-custom-type):
3503 Fix entry.
d9558cad 3504
90207a15 35052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3506
3507 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3508
d80ac57b
GM
35092012-05-01 Glenn Morris <rgm@gnu.org>
3510
976f7668
GM
3511 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3512
beb83b5a
GM
3513 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3514
d80ac57b
GM
3515 * cus-edit.el (custom-variable-documentation): Simplify with format.
3516
b593d6a9
AH
35172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3518 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * simple.el (suggest-key-bindings, execute-extended-command):
3521 Move from keyboard.c.
3522
782fbf2a
CY
35232012-05-01 Chong Yidong <cyd@gnu.org>
3524
3525 * follow.el: Eliminate advice.
3526 (set-process-filter, process-filter, sit-for): Advice deleted.
3527 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3528 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3529 Vars deleted.
782fbf2a
CY
3530 (follow-auto): Use a :set function.
3531 (follow-mode): Rewritten. Don't advise process filters.
3532 (follow-switch-to-current-buffer-all, follow-scroll-up)
3533 (follow-scroll-down): Assume follow-mode is bound.
3534 (follow-comint-scroll-to-bottom)
3535 (follow-align-compilation-windows): New functions.
3536 (follow--window-sorter): New function.
3537 (follow-all-followers): Use it to explicitly sort windows by their
3538 positions; don't make assumptions about next-window order.
3539 (follow-windows-start-end, follow-delete-other-windows-and-split)
3540 (follow-calc-win-start): Doc fix.
3541 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3542 vertical-motion unnecessarily.
3543 (follow-adjust-window): New function.
3544 (follow-post-command-hook): Use it.
3545 (follow-call-set-process-filter, follow-call-process-filter)
3546 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3547 (follow-stop-intercept-process-output, follow-generic-filter):
3548 Functions deleted.
3549 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3550 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3551 New functions, replacing advice on scroll-bar-* commands.
87233a14 3552 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3553
3554 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3555 (comint-postoutput-scroll-to-bottom): Use it.
3556 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3557
290af740
GM
35582012-05-01 Glenn Morris <rgm@gnu.org>
3559
3560 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3561 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3562 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3563 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3564 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3565 Remove no-byte-compile setting.
3566
6eac8dc9
SM
35672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3570 all-completions code to not return a number in the last cdr.
3571
9cc7819c
LL
35722012-04-30 Leo Liu <sdl.web@gmail.com>
3573
3574 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3575 read-only error.
3576
c93b886f
CY
35772012-04-29 Chong Yidong <cyd@gnu.org>
3578
3579 * follow.el (follow-calc-win-end): Rewrite to handle partial
3580 screen lines correctly (Bug#8390).
3581 (follow-avoid-tail-recenter): Minor cleanup.
3582
8b6c19f4
SM
35832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 Avoid the obsolete `assoc' package.
3586 * speedbar.el (speedbar-refresh): Avoid adelete.
3587 (speedbar-file-lists): Simplify and avoid aput.
3588 * man.el (Man--sections, Man--refpages): New vars, replacing
3589 Man-sections-alist and Man-refpages-alist.
3590 (Man-build-section-alist, Man-build-references-alist):
3591 Use them; avoid aput.
3592 (Man--last-section, Man--last-refpage): New vars.
3593 (Man-follow-manual-reference): Use them.
3594 Use the `default' arg of completing-read.
3595 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3596
c5bb7569
CY
35972012-04-27 Chong Yidong <cyd@gnu.org>
3598
d1d2e2e8
CY
3599 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3600
15cd8efd
CY
3601 * startup.el (x-apply-session-resources): New function.
3602
3603 * term/ns-win.el (ns-initialize-window-system):
3604 * term/w32-win.el (w32-initialize-window-system):
3605 * term/x-win.el (x-initialize-window-system): Use it to properly
3606 set menu-bar-mode and other vars from X resources, even if the
3607 initial frame is not a window-system frame (Bug#2299).
3608
c5bb7569
CY
3609 * subr.el (read-key): Avoid running filter function when setting
3610 up temporary tool bar entries (Bug#9922).
3611
a8e7d6d7 36122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3613
3614 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3615 (Bug#11344)
3616
a8e7d6d7 36172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3618
3619 * select.el (xselect--encode-string): New function, split from
3620 xselect-convert-to-string.
3621 (xselect-convert-to-string): Use it.
3622 (xselect-convert-to-filename, xselect-convert-to-os)
3623 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3624 returned strings are properly encoded (Bug#11315).
3625
a8e7d6d7 36262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3627
3628 * simple.el (delete-active-region): Move to killing custom group.
3629
a8e7d6d7 36302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3631
3632 * progmodes/which-func.el (which-func-current): Quote %
3633 characters for mode-line processing.
3634
578c1d4b 36352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3636
3637 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3638 reaching eob (Bug#11286).
3639
a8e7d6d7 36402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3641
3642 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3643 (gdb): Make it buffer-local and init to zero.
3644 (gdb-control-commands-regexp): New variable.
3645 (gdb-send): Don't wrap in "-interpreter-exec console" if
3646 gdb-control-level is positive. Increment gdb-control-level
3647 whenever the command matches gdb-control-commands-regexp, and
3648 decrement it each time the command is "end". (Bug#11279)
3649
a8e7d6d7 36502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3651
3652 * window.el (adjust-window-trailing-edge, enlarge-window)
3653 (shrink-window, window-resize):
3654 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3655 windows (Bug#11276).
3656
b3608390
CY
36572012-04-27 Chong Yidong <cyd@gnu.org>
3658
3659 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3660 fix "missing prefix" warning. All callers changed.
b3608390 3661
797e6e88
SM
36622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * emacs-lisp/assoc.el: Move to obsolete/.
3665
e95a67dc
SM
36662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3667
657c21e4 3668 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3669
3670 * term/ns-win.el (ns-define-service):
3671 * progmodes/pascal.el (pascal-goto-defun):
3672 * progmodes/js.el (js--read-tab):
3673 * progmodes/etags.el (tags-lazy-completion-table):
3674 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3675 * emacs-lisp/ewoc.el (ewoc--wrap):
3676 * emacs-lisp/assoc.el (aput, adelete, amake):
3677 * doc-view.el (doc-view-convert-current-doc):
3678 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3679
cb3e7ae0
CY
36802012-04-26 Chong Yidong <cyd@gnu.org>
3681
dce04f7f
CY
3682 * image.el (image-type-from-buffer): Only return supported image
3683 type (Bug#9045).
3684
cb3e7ae0
CY
3685 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3686 value, for symmetry with diff-end-of-hunk.
3687 (diff-split-hunk, diff-find-source-location)
3688 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3689 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3690 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3691 compute the relevant hunk or file properly (Bug#6005).
3692 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3693
0d42eb3e
SM
36942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * vc/vc-mtn.el:
3697 * vc/vc-hg.el:
3698 * vc/vc-git.el:
3699 * vc/vc-dir.el:
3700 * vc/vc-cvs.el:
3701 * vc/vc-bzr.el:
3702 * vc/vc-arch.el:
3703 * vc/vc.el: Replace lexical-let by lexical-binding.
3704 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3705 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3706 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3707
f08ae1c9
CY
37082012-04-26 Chong Yidong <cyd@gnu.org>
3709
8b71081d
CY
3710 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3711 (diff-mode-shared-map): Bind it to / and [remap undo].
3712
f08ae1c9
CY
3713 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3714 (ediff-window-setup-function): Use it as the default, to set up
3715 windows based on whether the current frame is graphical (Bug#2138).
3716 (ediff-choose-window-setup-function-automatically): Make obsolete.
3717
3718 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3719
ef24141c
SM
37202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3721
cc356a5d
SM
3722 * ffap.el: Remove old code for obsolete package.
3723 (ffap-complete-as-file-p): Remove.
3724
b4ff4f1f
SM
3725 Use completion-table-with-quoting for comint and pcomplete.
3726 * comint.el (comint--unquote&requote-argument)
3727 (comint--unquote-argument, comint--requote-argument): New functions.
3728 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3729 (comint-quote-filename): Use regexp-opt-charset.
3730 (comint--common-suffix, comint--common-quoted-suffix)
3731 (comint--table-subvert): Remove.
3732 (comint-unquote-function, comint-requote-function): New vars.
3733 (comint--complete-file-name-data): Use them with
3734 completion-table-with-quoting.
3735 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3736 * pcomplete.el (pcomplete-arg-quote-list)
3737 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3738 (pcomplete-unquote-argument-function): Default to non-nil.
3739 (pcomplete-unquote-argument): Simplify.
3740 (pcomplete--common-quoted-suffix): Remove.
3741 (pcomplete-requote-argument-function): New var.
3742 (pcomplete--common-suffix): New function.
3743 (pcomplete-completions-at-point): Use completion-table-with-quoting
3744 and completion-table-subvert.
3745
79c4eeb4
SM
3746 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3747 (minibuffer--double-dollars): Preserve properties.
3748 (completion--sifn-requote): New function.
3749 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3750
ef24141c
SM
3751 * minibuffer.el: Add support for completion of quoted/escaped data.
3752 (completion-table-with-quoting, completion-table-subvert): New funs.
3753 (completion--twq-try, completion--twq-all): New functions.
3754 (completion--nth-completion): New function.
3755 (completion-try-completion, completion-all-completions): Use it.
3756
784e7d6e
LL
37572012-04-25 Leo Liu <sdl.web@gmail.com>
3758
dd2ac746
SM
3759 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3760 Use compilation-message if available to find real filename.
784e7d6e 3761
07875ee7
CY
37622012-04-25 Chong Yidong <cyd@gnu.org>
3763
3764 * vc/diff-mode.el (diff-setup-whitespace): New function.
3765 (diff-mode): Use it.
3766
3767 * vc/diff.el (diff-sentinel):
3768 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3769 Whitespace mode variables based on diff style (Bug#8612).
3770
5055880d
LL
37712012-04-25 Leo Liu <sdl.web@gmail.com>
3772
daf75653
LL
3773 * progmodes/python.el (python-send-region): Add suffix .py to the
3774 temp file.
3775
5055880d
LL
3776 * files.el (auto-mode-alist): Use javascript-mode instead.
3777
db9b177b
AH
37782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3779
ef24141c 3780 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3781
090bd7cb 3782 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3783 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3784 references, see Bug#9.
ef24141c 3785 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3786 when receiving a fault reply.
ef24141c 3787 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3788
090bd7cb 3789 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3790 (soap-inspect-simple-type): New function.
db9b177b 3791
090bd7cb 3792 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3793 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3794 (soap-decode-basic-type, soap-encode-basic-type):
3795 support unsignedInt and double basic types.
db9b177b 3796 (soap-resolve-references-for-simple-type)
ef24141c
SM
3797 (soap-parse-simple-type, soap-encode-simple-type): New function.
3798 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3799
090bd7cb 3800 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3801 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3802 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3803 the local name of "soapenc:Array".
3804 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3805 decoding integer, byte and anyURI xsd types.
3806
1fc6097b
CY
38072012-04-25 Chong Yidong <cyd@gnu.org>
3808
3809 * cus-edit.el (custom-buffer-create-internal): Update header text.
3810
afc6df87
EZ
38112012-04-25 Eli Zaretskii <eliz@gnu.org>
3812
3813 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3814 settings on 'system-type', not on 'window-system'. On MS-Windows,
3815 set interactive-mode on in GDB.
3816
dfbd787f
SM
38172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3820 (ruby-syntax-propertize-regexp): Remove.
3821 (ruby-syntax-propertize-function): Split regexp into chunks.
3822 Match following code directly.
3823
85222d44
DG
38242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3825
51a8ea2a
DG
3826 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3827 (ruby-syntax-propertize-regexp): New function.
3828 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3829 by a special keyword.
3830
85222d44
DG
3831 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3832 (ruby-syntax-general-delimiters-goto-beg)
3833 (ruby-syntax-propertize-general-delimiters): New functions.
3834 (ruby-syntax-propertize-function): Use them to handle GDL.
3835 (ruby-font-lock-keywords): Move old handling of GDL...
3836 (ruby-font-lock-syntactic-keywords): .. to here.
3837 (ruby-calculate-indent): Adjust indentation for GDL.
3838
b613912b
MA
38392012-04-24 Michael Albinus <michael.albinus@gmx.de>
3840
b5380639
MA
3841 * notifications.el (top): Remove unneeded declarations.
3842 (notifications-specification-version): Change to "1.2".
e43042fe 3843 (notifications-interface, notifications-notify-method)
b613912b
MA
3844 (notifications-close-notification-method): Fix docstring.
3845 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3846 (notifications-notify): Add :action-items, :resident and
3847 :transient hints. Change "image_data" to "image-data" and
3848 "image_path" to "image-path".
b613912b
MA
3849 (notifications-get-capabilities): New defun.
3850
257440aa
LL
38512012-04-24 Leo Liu <sdl.web@gmail.com>
3852
3853 * progmodes/python.el: Move hideshow setup to the end.
3854
b1bac16e
MR
38552012-04-24 Martin Rudalics <rudalics@gmx.at>
3856
3857 * window.el (handle-select-window): Clear echo area since this is
3858 no more done by read_char (Bug#11304).
3859
d81bd059
SM
38602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3863 and `/ M' to filter-derived-mode.
3864 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3865 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3866 (ibuffer-mark-by-mode): Use default rather than initial-input.
3867 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3868
c4cf6d91
IA
38692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3870
3871 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3872 (ibuffer-filter-by-derived-mode): New filter.
3873 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3874
7511ded8
CY
38752012-04-23 Andreas Politz <politza@fh-trier.de>
3876
3877 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3878
775c916b
CY
38792012-04-23 Chong Yidong <cyd@gnu.org>
3880
3881 * cus-edit.el (customize-apropos, customize-apropos-options):
3882 Disable matching of non-option variables (Bug#11176).
3883 (customize-option, customize-option-other-window)
3884 (customize-changed-options): Doc fix.
3885 (customize-apropos-options, customize-apropos-faces)
3886 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3887
3888 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3889 Fix word list splitting (Bug#11132).
46c71e23
CY
3890 (apropos-symbol, apropos-keybinding, apropos-label)
3891 (apropos-property, apropos-function-button)
3892 (apropos-variable-button, apropos-misc-button): New faces.
3893 (apropos-symbol-face, apropos-keybinding-face)
3894 (apropos-label-face, apropos-property-face, apropos-match-face):
3895 Variables removed (Bug#8396).
3896 (apropos-library-button, apropos-format-plist, apropos-print)
3897 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3898
2df41f9c
MA
38992012-04-23 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * net/xesam.el (xesam-mode-map): Use let-bound map in
3902 initialization. (Bug#11292)
3903
da00640a
AM
39042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3905
3906 Preserve ispell session localwords when switching back to
3907 original buffer.
3908
090bd7cb
JB
3909 * textmodes/ispell.el (ispell-buffer-session-localwords):
3910 New buffer-local variable to hold buffer session localwords.
ed9265fc 3911 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
3912 localwords.
3913 (ispell-command-loop, ispell-change-dictionary)
3914 (ispell-buffer-local-words): Preserve session localwords when
3915 needed.
3916
090bd7cb
JB
3917 * textmodes/flyspell.el (flyspell-process-localwords)
3918 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3919
f621ccf5
AM
39202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3921
090bd7cb
JB
3922 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3923 using obsolete `translation-table-for-input'.
ef24141c
SM
3924 (ispell-word, ispell-process-line, ispell-complete-word):
3925 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3926
c2d1019e
CY
39272012-04-22 Chong Yidong <cyd@gnu.org>
3928
3929 * cus-edit.el (custom-variable-menu)
3930 (custom-variable-reset-saved, custom-face-menu)
3931 (custom-face-reset-saved): If there is no saved value, make the
3932 "reset-saved" operation bring back the default (Bug#9509).
3933 (custom-face-state): Properly detect themed faces.
3934
eeddc531
CY
3935 * faces.el (face-spec-set): Stop supporting deprecated form of
3936 third arg.
3937
dcbf5805
MA
39382012-04-22 Michael Albinus <michael.albinus@gmx.de>
3939
3940 Move functions from C to Lisp. Make non-blocking method calls
3941 the default. Implement further D-Bus standard interfaces.
3942
ef24141c
SM
3943 * net/dbus.el (dbus-message-internal): Declare function.
3944 Remove unneeded function declarations.
dcbf5805
MA
3945 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3946 (dbus-message-type-method-return, dbus-message-type-error)
3947 (dbus-message-type-signal): Declare variables. Remove local
3948 definitions.
3949 (dbus-interface-dbus, dbus-interface-peer)
3950 (dbus-interface-introspectable, dbus-interface-properties)
3951 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3952 Adapt docstring.
3953 (dbus-interface-objectmanager): New defconst.
3954 (dbus-call-method, dbus-call-method-asynchronously)
3955 (dbus-send-signal, dbus-method-return-internal)
3956 (dbus-method-error-internal, dbus-register-service)
3957 (dbus-register-signal, dbus-register-method): New defuns, moved
3958 from dbusbind.c
3959 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3960 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3961 New defuns.
dcbf5805
MA
3962 (dbus-call-method-non-blocking): Make it an obsolete function.
3963 (dbus-unregister-object, dbus-unregister-service)
3964 (dbus-handle-event, dbus-register-property)
3965 (dbus-property-handler): Obey the new structure of
3966 `bus-registered-objects'.
3967 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3968 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3969 Use `dbus-call-method'.
3970
cf20dee0
CY
39712012-04-22 Chong Yidong <cyd@gnu.org>
3972
3973 * cus-edit.el (custom-commands, custom-reset-menu)
3974 (Custom-reset-standard): Tweak labels.
3975 (custom-reset-button-menu): Change default to t.
3976 (custom-buffer-create-internal): For the custom-reset-button-menu
3977 case, put the revert button first.
3978 (custom-group-subtitle): New face.
3979 (custom-group-value-create): Align docstring to a specific column.
3980
3981 * wid-edit.el (widget-documentation-link-add): Don't handle
3982 indentation in this function.
3983 (widget-documentation-string-indent-to): New function.
3984 (widget-documentation-string-value-create): Use it.
3985
3986 * autorevert.el (auto-revert):
3987 * epg-config.el (epg):
3988 * ibuffer.el (ibuffer):
3989 * mpc.el (mpc):
3990 * ses.el (ses):
3991 * eshell/eshell.el (eshell):
3992 * net/ange-ftp.el (ange-ftp):
3993 * progmodes/ebnf2ps.el (postscript):
3994 * progmodes/flymake.el (flymake):
3995 * progmodes/prolog.el (prolog):
3996 * progmodes/verilog-mode.el (verilog-mode):
3997 * progmodes/which-func.el (which-func):
3998 * term/xterm.el (xterm):
3999 * textmodes/picture.el (picture):
4000 * textmodes/tildify.el (tildify):
4001 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4002 customization buffers.
4003
583e23bd
AM
40042012-04-22 Alan Mackenzie <acm@muc.de>
4005
4006 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4007 Adding a ) can hide the resulting (..) from searches. Fix it.
4008 Bound the backward search to the position of the existing (.
4009
7dd51bf1
JB
40102012-04-21 Juanma Barranquero <lekktu@gmail.com>
4011
4012 * progmodes/verilog-mode.el (verilog-mode): Check whether
4013 which-func-modes is t before adding verilog-mode.
4014 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4015
d64a438f
LL
40162012-04-21 Leo Liu <sdl.web@gmail.com>
4017
7dd51bf1 4018 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4019
081e8d65
MV
40202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4021
4022 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4023 filling of the last column of a table (Bug#5635).
4024 (woman-find-next-control-line): New arg, specifying an additional
4025 regexp component for the control line.
4026 (woman2-roff-buffer): Use it.
4027 (woman-break-table): New function.
4028 (woman2-TS): Use it.
4029
40302012-04-21 Chong Yidong <cyd@gnu.org>
4031
4032 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4033 (woman-horizontal-escapes, woman-negative-vertical-space)
4034 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4035 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4036
ed571ccb
SM
40372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * minibuffer.el (completion-file-name-table): Complete user names.
4040
39773899
LL
40412012-04-20 Leo Liu <sdl.web@gmail.com>
4042
4043 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4044 and pcase-let*.
4045
de6ff46d
CY
40462012-04-20 Chong Yidong <cyd@gnu.org>
4047
4048 * server.el (server-execute): Respect initial-buffer-choice if it
4049 is a string and there are no files to open (Bug#2825).
4050 (server-create-window-system-frame, server-create-tty-frame):
4051 Don't switch buffers here.
2d0e8e61
CY
4052 (server-process-filter): Only try to open a window system frame if
4053 compiled with graphical support (Bug#8314).
de6ff46d 4054
54071013
DN
40552012-04-20 Dan Nicolaescu <dann@gnu.org>
4056
4057 * battery.el (battery-echo-area-format): Display remaining time
4058 for sysfs backend too (Bug#11269).
4059 (battery-linux-sysfs): Fix conditional for the charge.
4060
f30d612a
CY
40612012-04-20 Chong Yidong <cyd@gnu.org>
4062
c07a4c0b 4063 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4064 (gdb-inferior-io--init-proc): New function.
4065 (gdb-init-1): Use it.
4066 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4067 responsible for allocating a new pty and hooking it to gdb when
4068 the old pty gets an EIO due to process exit.
4069 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4070 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4071 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4072
2116e93c
EZ
40732012-04-20 Eli Zaretskii <eliz@gnu.org>
4074
4075 * window.el (window-min-size, window-sizable, window-min-delta)
4076 (window-max-delta, window--resizable, window-resizable)
4077 (window-total-size, window-full-height-p, window-full-width-p)
4078 (window-in-direction, window--resize-mini-window, window-resize)
4079 (window--resize-child-windows-normal)
4080 (window--resize-child-windows, window--resize-siblings)
4081 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4082 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4083
c07a4c0b 40842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4085
ef24141c
SM
4086 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4087 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4088 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4089 pty process (Bug#11273).
4090 (gdb-update): New arg to suppress talking to the gdb process.
4091 (gdb-done-or-error): Use it.
4092 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4093 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4094 sentinel not being called.
4095
4096 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4097
d02766ab
CY
4098 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4099
c07a4c0b 41002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4101
4102 * net/network-stream.el (open-network-stream): Doc fix.
4103
c07a4c0b 41042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4105
4106 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4107
c07a4c0b 41082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4109
4110 Ensure searching for keywords is case sensitive.
4111
4112 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4113 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4114 (c-defun-name, c-mark-function, c-cpp-define-name)
4115 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4116 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4117
ef24141c
SM
4118 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4119 Bind case-fold-search to nil.
f0f6bc35 4120
c07a4c0b 41212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4122
4123 * mail/sendmail.el (mail-bury): Call return action with the right
4124 Rmail buffer (Bug#11242).
4125
9a864fa2
CY
4126 * server.el (server-process-filter): Handle corner case where both
4127 tty and nowait options are present (Bug#11102).
4128
539aa513
EZ
41292012-04-20 Eli Zaretskii <eliz@gnu.org>
4130
4131 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4132 (top level): Put into the executable the ident-style '$Id:' tag on
4133 windows-nt as well.
539aa513 4134
cfc7d5da
SM
41352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * electric.el (electric-indent-post-self-insert-function): Check that
4138 electric-indent-mode is enabled in current buffer.
4139
5b01685c
JB
41402012-04-19 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * imenu.el (imenu-progress-message): Restore; it is "used" in
4143 erc/erc-imenu.el and net/snmp-mode.el.
4144
4d6769e1
JB
41452012-04-19 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4148 (mouse-avoidance-nudge-mouse): Remove unused binding.
4149
4150 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4151
4152 * descr-text.el (describe-char):
4153 * progmodes/python.el (python-describe-symbol):
4154 Don't call `toggle-read-only', set `buffer-read-only'.
4155
4156 * imenu.el (imenu-default-goto-function): Mark unused args.
4157 (imenu-progress-message): Remove obsolete macro; all callers changed.
4158
4159 * subr.el (keymap-canonicalize): Remove unused binding.
4160 (read-passwd): Mark unused arg.
4161
4162 * tutorial.el (tutorial--display-changes): Remove unused binding.
4163 (tutorial--save-tutorial-to): Remove unused variable.
4164
4165 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4166 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4167 (package-generate-autoloads, package-menu--generate)
4168 (package-menu--find-upgrades): Remove unused bindings.
4169
4170 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4171 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4172 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4173 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4174 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4175 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4176 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4177 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4178 (cua-delete-char-rectangle): Mark unused args.
4179 (cua-align-rectangle): Remove unused binding.
4180
4181 * mail/rmail.el (compilation--message->loc)
4182 (epa--find-coding-system-for-mime-charset): Declare.
4183
4184 * net/dbus.el (dbus-register-service): Declare.
4185 (dbus-name-owner-changed-handler): Remove unused binding.
4186
4187 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4188 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4189 (nxml-scan-backward-within): Mark unused arg.
4190 (nxml-dynamic-markup-word): Remove unused binding.
4191
4192 * mouse.el (mouse-menu-major-mode-map):
4193 * emacs-lisp/authors.el (authors-scan-change-log)
4194 (authors-add-to-author-list):
4195 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4196 * emacs-lisp/smie.el (smie-auto-fill):
4197 * mail/sendmail.el (mail-bury):
4198 * mail/unrmail.el (unrmail):
4199 * net/tls.el (open-tls-stream):
4200 * textmodes/picture.el (picture-mouse-set-point):
4201 Remove unused bindings.
4202
8c8fc5df
MA
42032012-04-19 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * net/tramp.el (tramp-action-password): Let-bind
4206 `enable-recursive-minibuffers' to t.
4207
a77b0ac9
SS
42082012-04-18 Sam Steingold <sds@gnu.org>
4209
4210 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4211 instead of 'string to accommodate values like [f11].
4212 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4213 * progmodes/gdb-mi.el: Likewise.
4214
12a106a9
LL
42152012-04-18 Leo Liu <sdl.web@gmail.com>
4216
4217 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4218 current buffer.
4219 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4220 LOCAL is nil.
4221
bc6494ef
CY
42222012-04-18 Chong Yidong <cyd@gnu.org>
4223
4224 * simple.el (line-move): Use forward-line if in batch mode
4225 (Bug#11053).
4226
c09c46b2
CS
42272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4228
4229 * files.el (after-find-file): Do not try to add a final newline if
4230 the buffer is read-only (Bug#11156).
4231
5f6530ea
RS
42322012-04-17 Richard Stallman <rms@gnu.org>
4233
4234 * mail/rmail.el (rmail-start-mail):
4235 Pass (rmail-mail-return...) for the return-action.
4236 Pass (rmail-yank-current-message...) for the yank-action.
4237 (rmail-yank-current-message): New function.
4238 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4239 (rmail-reply): Likewise.
4240 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4241
4242 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4243 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4244 buffer, not newbuf.
4245
197b6f3c
JB
42462012-04-17 Juanma Barranquero <lekktu@gmail.com>
4247
4248 * server.el (server-ensure-safe-dir): Simplify.
4249
2311d8e5 42502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4251
2311d8e5
GM
4252 * emacs-lisp/smie.el: Provide smarter auto-filling.
4253 (smie-auto-fill): New function.
4254 (smie-setup): Use it.
98fb480e 4255
2311d8e5
GM
4256 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4257
42582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4259
4260 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4261 (comment-indent): Use it.
4262
2311d8e5 42632012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4264
4265 * ses.el: The overall change is to add cell renaming, that is
4266 setting fancy names for cell symbols other than name matching
4267 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4268 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4269 (ses-create-cell-variable): New defun.
2311d8e5 4270 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4271 (ses-relocate-formula): Relocate formulas only for cells the
4272 symbols of which are not renamed, i.e. symbols whose names do not
4273 match regexp "\\`[A-Z]+[0-9]+\\'".
4274 (ses-relocate-all): Relocate values only for cells the symbols of
4275 which are not renamed.
4276 (ses-load): Create cells variables as the (ses-cell ...) are read,
4277 in order to check row col consistency with cell symbol name only
4278 for cells that are not renamed.
4279 (ses-replace-name-in-formula): New defun.
4280 (ses-rename-cell): New defun.
4bdf2ad2 4281
fc72b15c
PO
42822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4283
4284 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4285 New option (bug#11118).
4286 (perl-calculate-indent): Respect it.
4287
12e10e61
GM
42882012-04-17 Glenn Morris <rgm@gnu.org>
4289
4290 * dired-aux.el (dired-mark-read-string): Doc fix.
4291
30009afd
DA
42922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4293
4294 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4295 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4296
41f03f4d
GM
42972012-04-17 Glenn Morris <rgm@gnu.org>
4298
4299 * mouse.el (mouse-drag-track):
4300 * speedbar.el (speedbar-frame-mode):
4301 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4302
f45f90f3
LL
43032012-04-16 Leo Liu <sdl.web@gmail.com>
4304
4305 * progmodes/python.el: Trivial cleanup.
4306
94ee8db5
GM
43072012-04-16 Glenn Morris <rgm@gnu.org>
4308
121b8917
GM
4309 * vc/vc.el (vc-string-prefix-p):
4310 * vc/pcvs-util.el (cvs-string-prefix-p):
4311 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4312 * mpc.el (mpc-string-prefix-p):
4313 Make all of these into obsolete aliases for string-prefix-p.
4314 Update callers.
4315 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4316
1197ecfa
GM
4317 * textmodes/two-column.el: Move custom options to the start.
4318 (frame-width): Remove compat definition.
4319 (2C-associate-buffer, 2C-dissociate):
4320 Use with-current-buffer rather than save-excursion.
4321 (2C-dissociate): Force a mode-line update.
4322 (2C-autoscroll): Use ignore-errors.
4323
099e7202
GM
4324 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4325 Autoload trivia.
4326
bf350d6a
GM
4327 * emacs-lisp/cl-extra.el (*random-state*):
4328 Remove unnecessary declaration.
4329
0e829eab
GM
4330 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4331
e3ad7552
GM
4332 * play/cookie1.el (cookie-snarf):
4333 Give an explicit error if input file cannot be read.
4334
68892d27
GM
4335 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4336
20f0c46d
GM
4337 * progmodes/perl-mode.el (c-macro-expand):
4338 Remove unnecessary autoload (it is in loaddefs.el).
4339
5a0978ce
GM
4340 * textmodes/picture.el (picture-desired-column)
4341 (picture-update-desired-column): Convert comments to doc-strings.
4342 (picture-substitute): Remove function.
4343 (picture-mode-map): Initialize in the defvar.
4344
6b955486
GM
4345 * woman.el: Remove eval-after-load for tar-mode.
4346 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4347 (woman-tar-extract-file): Autoload it.
4348
94ee8db5
GM
4349 * frame.el (automatic-hscrolling): Make this alias obsolete.
4350
177eca34
AM
43512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4352
090bd7cb 4353 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4354 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4355 (ispell-dictionary-base-alist): Revert to original XEmacs
4356 friendly version for default. [:alpha:] will be added in
090bd7cb 4357 `ispell-set-spellchecker-params' if needed.
177eca34 4358
c505aaeb
CY
43592012-04-16 Chong Yidong <cyd@gnu.org>
4360
b19dd9d1 4361 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4362 (imagemagick-register-types): Use it.
4363 (imagemagick-types-inhibit): Add :set function. Allow new value
4364 of t to inhibit all types.
4365
4366 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4367 so we can preload it.
4368
4369 * loadup.el (fboundp): Preload regexp-opt, needed by
4370 imagemagick-register-types.
4371
60efac0f
CY
43722012-04-15 Chong Yidong <cyd@gnu.org>
4373
4374 * frame.el (scrolling): Remove nearly unused customization group.
4375
4376 * scroll-all.el (scroll-all-mode): Move to windows group.
4377
5dd1713e
CY
43782012-04-15 Chong Yidong <cyd@gnu.org>
4379
4380 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4381
e6fd457e
CY
43822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4385 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4386
e153c136
GM
43872012-04-15 Glenn Morris <rgm@gnu.org>
4388
4389 * simple.el (process-file-side-effects): Doc fix.
4390
e6fd457e 43912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4392
4393 * international/mule-cmds.el (set-language-environment): Doc fix.
4394
3603c3b1
JB
43952012-04-14 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * server.el (server-auth-key, server-generate-key): Doc fixes.
4398 (server-get-auth-key): Doc fix. Use `string-match-p'.
4399 (server-start): Reflow docstring.
4400
e6de100c
LI
44012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4402
4403 * server.el (server-generate-key): `called-interactively-p'
4404 requires a parameter.
4405
29734c21
MN
44062012-04-14 Michal Nazarewicz <mina86@mina86.com>
4407
4408 * server.el (server-auth-key): New variable.
75f1671a 4409 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4410 (server-start): Use the new variable and functions to allow
4411 setting a permanent server key (bug#9423).
4412
d65c9521
LL
44132012-04-14 Leo Liu <sdl.web@gmail.com>
4414
4415 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4416
5ae255c7
PE
44172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4418
4419 Spelling fixes.
4420 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4421 Emacs uses American spelling.
4422
d5e6342e
JB
44232012-04-14 Juanma Barranquero <lekktu@gmail.com>
4424
4425 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4426 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4427 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4428 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4429
ab036cd7
SM
44302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * progmodes/which-func.el (which-func-modes): Change default.
4433
35dc09a1 44342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4435
4436 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4437 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4438
35dc09a1 44392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4440
4441 * custom.el (custom-theme-set-variables): Doc fix.
4442
35dc09a1 44432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4444
4445 * international/mule.el (set-auto-coding-for-load): Doc fix.
4446
35dc09a1 44472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4448
35dc09a1
GM
4449 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4450 imenu work again for Objective C Mode. Correct the *-index values,
4451 these having been disturbed by a previous change in 2011-08.
57f845ee 4452
0de3da9f
AM
4453 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4454 Correct two search limits.
4455
35dc09a1 44562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4457
4458 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4459
35dc09a1 44602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4461
4462 * international/characters.el: Fix sorting.
4463
35dc09a1 44642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4465
4466 * international/characters.el: Add more missing Latin case pairs.
4467
35dc09a1 44682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4469
4470 * files.el (dir-locals-set-class-variables): Doc fix.
4471
35dc09a1 44722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4473
3f1b5bf8
EZ
4474 * international/characters.el: Add set-case-syntax-pair call for
4475 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4476 counterpart. (Bug#11209)
4477
9f847f41
EZ
4478 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4479
35dc09a1 44802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4481
4482 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4483
35dc09a1 44842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4485
35dc09a1
GM
4486 * textmodes/ispell.el (ispell-dictionary-base-alist):
4487 Add data for Hebrew.
e2627d21 4488
35dc09a1 44892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4490
35dc09a1
GM
4491 * net/rcirc.el (rcirc-cmd-quit):
4492 Revert 2012-03-18 change (Bug#11192).
5c14e333 4493
35dc09a1 44942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4495
4496 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4497
35dc09a1 44982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4499
4517fe3a
SM
4500 * minibuffer.el (completion-in-region-mode-map):
4501 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4502
b472a594
VD
45032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4504
4505 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4506
09b95ce3
MY
45072012-04-13 Masatake YAMATO <yamato@redhat.com>
4508
4509 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4510 to allow `C-M-f' and `C-M-b' to move to the nearest path
4511 separator (bug#9511).
4512
4b63a9ca
LI
45132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4514
4515 * avoid.el: Require cl when compiling. And also move the
4516 `provide' to the end.
4517
7b55b8bf
TV
45182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4519
4520 * avoid.el (mouse-avoidance-banish-position): New variable.
4521 (mouse-avoidance-banish-destination): Use it (bug#10165).
4522
adedaa1f
LL
45232012-04-13 Leo Liu <sdl.web@gmail.com>
4524
4525 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4526
70e74021
KB
45272012-04-13 Ken Brown <kbrown@cornell.edu>
4528
4529 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4530 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4531 (browse-url-filename-alist): For the same reason, don't modify
4532 file:// URLs on Cygwin.
4533
e75e89ba
SM
45342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4537 the region on shift if the binding is already shifted (bug#11221).
4538
82f289a4
GM
45392012-04-12 Glenn Morris <rgm@gnu.org>
4540
4541 * mail/mailpost.el: Move to obsolete/.
4542
d333dc4c
DA
45432012-04-12 Drew Adams <drew.adams@oracle.com>
4544
4545 * imenu.el (imenu--generic-function): Ignore invisible definitions
4546 (bug#10123).
4547
0d15b5ba
VD
45482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4549
4550 * hexl.el (hexl-bits): New variable.
4551 (hexl-options): Mention the variable in the doc string.
75f1671a 4552 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4553 (hexl-mode): Mention the new variable.
75f1671a
JB
4554 (hexl-mode, hexl-current-address, hexl-current-address):
4555 Use the displen.
0d15b5ba
VD
4556 (hexl-ascii-start-column): New function.
4557 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4558 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4559
64a440db
AM
45602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4561
4562 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4563 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4564 the encoding, as expected by hunspell.
4565
6decb6c2
SM
45662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * battery.el (battery--linux-sysfs-regexp): New const.
4569 (battery-status-function): Use it. Remove yeeloong special case.
4570 (battery-yeeloong-sysfs): Remove.
4571 (battery-echo-area-format): Remove yeeloong special case.
4572
088be6fb
SM
45732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4574
6622e416
SM
4575 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4576 Reported by Noah Friedman.
4577
088be6fb
SM
4578 * subr.el (read-passwd): Use read-string.
4579
b49f886e
LMI
45802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4581
4582 * vcursor.el (vcursor-move): Increase the priority of the overlay
4583 (bug#9663).
4584
a63067fc
DD
45852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4586
4587 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4588 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4589
ac3cf14a
WS
45902012-04-11 William Stevenson <yhvh2000@gmail.com>
4591
4592 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4593 define-minor-mode (bug#10760).
4594
c4fc691b 45952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4596
4d6769e1 4597 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4598 that directories matching `grep-find-ignored-files' won't be
4599 pruned (bug#10351).
4600
af23e2e5
CY
46012012-04-11 Chong Yidong <cyd@gnu.org>
4602
4603 * startup.el (command-line): Remove support for long-obsolete
4604 variable font-lock-face-attributes.
4605
ab7ce8c1
GM
46062012-04-11 Glenn Morris <rgm@gnu.org>
4607
4608 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4609
de8c03dc
SM
46102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * window.el (window--state-get-1): Obey window-point-insertion-type.
4613
050cc68b
LB
46142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4615
4616 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4617 to previous function when point is on the first character of a
75f1671a 4618 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4619
a38c310c
GM
46202012-04-11 Glenn Morris <rgm@gnu.org>
4621
effed0c2
GM
4622 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4623 not just file-errors.
4624
a38c310c
GM
4625 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4626 (vc-bzr-sha1): Use internal sha1.
4627
0221e323
SM
46282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4631
43956923
SG
46322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4633
4634 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4635 that start in the middle of the line (bug#10496).
4636
6a8c9eaf
DN
46372012-04-10 Dan Nicolaescu <dann@gnu.org>
4638
4639 * battery.el (battery-linux-proc-acpi): Only one battery is
4640 discharged at a time, but that seems to confuse battery.el when
4641 computing `rate-type' for the battery not being discharged
4642 (bug#10332).
4643
1930bf5d
SM
46442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4645
2a718f6f
SM
4646 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4647
599430d0
SM
4648 * international/quail.el: Use dolist and simplify.
4649 (quail-define-package, quail-update-keyboard-layout)
4650 (quail-define-rules): Use dolist.
4651 (quail-insert-kbd-layout, quail-get-translation): CSE.
4652
a2754b6c
SM
4653 * tmm.el: Use dolist, remove left over hook.
4654 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4655 Use dolist.
4656 (calendar-load-hook): Don't mess with it.
4657
1930bf5d
SM
4658 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4659 Use derived-mode-p. Run the diff asynchronously.
4660
9f67961c
LMI
46612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4662
4663 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4664
2a8ce227
JB
46652012-04-10 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4668 (list-dynamic-libraries--loaded): New function.
4669 (list-dynamic-libraries--refresh): Use it.
4670
8f33b5f8
NW
46712012-04-10 Nathan Weizenbaum <nweiz@google.com>
4672
1930bf5d
SM
4673 * progmodes/python.el (python-fill-paragraph):
4674 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4675 disabled (bug#7018).
4676
b12f0439
L
46772012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4678
1930bf5d 4679 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4680 DOS/MS Windows for the Baltic languages. There are still plenty
4681 of texts written in this encoding/codepage (bug#6519).
b12f0439 4682
57c3bd01
GM
46832012-04-10 Glenn Morris <rgm@gnu.org>
4684
4685 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4686 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4687
6c3eab30
FA
46882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4689
1930bf5d 4690 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4691 next-line "n" and previous-line "p" in order to make recentf more
4692 consistent with ibuffer, dired or org-mode (bug#9387).
4693
24d78a88
LMI
46942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4695
bc72b5d9
LMI
4696 * image.el (put-image): Return the overlay created instead of the
4697 optional input string (bug#7834). Note that this may break code
4698 that is (for some reason or other) depending on `put-image'
4699 returning the string.
4700
bd2dba5a
LMI
4701 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4702
74beb59f
LMI
4703 * simple.el (zap-to-char): Allow zapping using input methods
4704 (bug#1580).
4705
24d78a88
LMI
4706 * textmodes/fill.el (fill-region): Leave point and mark where they
4707 were before filling (bug#5399).
4708
263f20cd
GM
47092012-04-09 Glenn Morris <rgm@gnu.org>
4710
4711 * version.el (emacs-bzr-get-version):
4712 Handle lightweight checkouts of local branches.
4713
58d1f797
AS
47142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4715
263f20cd 4716 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4717
b4d3bc10
CY
47182012-04-09 Chong Yidong <cyd@gnu.org>
4719
4720 * custom.el (custom-variable-p): Return nil for non-symbol
4721 arguments instead of signaling an error.
4722 (user-variable-p): Obsolete alias for custom-variable-p.
4723
4724 * apropos.el (apropos-variable):
4725 * files-x.el (read-file-local-variable):
4726 * simple.el (set-variable):
4727 * woman.el (woman-mini-help):
4728 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4729
fd06db5d
GM
47302012-04-09 Glenn Morris <rgm@gnu.org>
4731
e5fcdb5e
GM
4732 * startup.el (normal-top-level): Don't look for leim-list.el
4733 in places where it will not be found. (Bug#910)
4734
fd06db5d
GM
4735 * international/mule-cmds.el (set-default-coding-systems):
4736 * files.el (normal-mode):
4737 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4738 This function was removed with ucs-tables.el in 2008.
4739
b39bb7e1
EZ
47402012-04-08 Eli Zaretskii <eliz@gnu.org>
4741
4742 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4743 ispell-encoding8-command to "-i", without a trailing space.
4744 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4745 separate command-line arguments, to specify the encoding, since
4746 that's how hunspell expects it.
4747
5c5b8e23
GM
47482012-04-08 Glenn Morris <rgm@gnu.org>
4749
4750 * loadup.el: Load bindings before cus-start.
4751 This reduces somewhat the number of "rogue" settings in emacs -Q.
4752
a1ed8b05
GM
47532012-04-07 Glenn Morris <rgm@gnu.org>
4754
4755 * version.el (emacs-bzr-get-version): New function.
dfae128a 4756 (emacs-bzr-version): New variable.
a1ed8b05
GM
4757 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4758 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4759
b142f158
EZ
47602012-04-07 Eli Zaretskii <eliz@gnu.org>
4761
dfae128a
GM
4762 * international/uni-bidi.el, international/uni-category.el:
4763 * international/uni-combining.el, international/uni-decimal.el:
4764 * international/uni-decomposition.el, international/uni-digit.el:
4765 * international/uni-lowercase.el, international/uni-mirrored.el:
4766 * international/uni-name.el, international/uni-numeric.el:
4767 * international/uni-titlecase.el, international/uni-uppercase.el:
4768 Update for Unicode 6.1.
b142f158 4769
9078ead6
EZ
47702012-04-07 Eli Zaretskii <eliz@gnu.org>
4771
4772 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4773
f23d2c7d
LMI
47742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4775
4776 * window.el (shrink-window): Mention the `window-min-height'
4777 variable in the doc string.
4778
0a0a3573
BG
47792012-04-05 Bastien Guerry <bzg@altern.org>
4780
4781 * color.el (color-lighten-name): Fix typo.
4782
e5248ac9
SM
47832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * server.el (server--on-display-p): New function.
4786 (server--on-display-p): Use it.
4787
b4243e22
GV
47882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4789
4790 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4791 (bug#11145).
4792
305d9f44
SM
47932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * comint.el (comint--common-quoted-suffix): Check string boundary
4796 before comparing (bug#11158).
4797 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4798
3d439cd1
CY
47992012-04-04 Chong Yidong <cyd@gnu.org>
4800
321cc491
CY
4801 * minibuffer.el (completion-extra-properties): Doc fix.
4802
3d439cd1
CY
4803 * subr.el (delayed-warnings-hook): Doc fix.
4804
2d562c0f
DU
48052012-04-04 Daiki Ueno <ueno@unixuser.org>
4806
4807 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4808 selection (Bug#11159).
4809 (epa-insert-keys): Inform that the default public key will be
4810 exported if no key is selected.
4811
4443f204
RS
48122012-04-04 Richard Stallman <rms@gnu.org>
4813
4814 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4815
529c06b6
CY
48162012-04-03 Chong Yidong <cyd@gnu.org>
4817
4818 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4819 mail-insert-file, not its obsolete alias mail-attach-file.
4820
66b907dc
MA
48212012-04-03 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * notifications.el (notifications-notify): Fix docstring.
4824
c0ea195d
GM
48252012-04-02 Glenn Morris <rgm@gnu.org>
4826
4827 * emacs-lisp/authors.el (authors-aliases): Another addition.
4828
5ca64e00
MA
48292012-04-02 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4832 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4833 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4834
42ee526b
CY
48352012-04-01 Chong Yidong <cyd@gnu.org>
4836
4837 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4838 Handle root directory properly.
4839 (copy-directory): Caller changed.
4840
4841 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4842 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4843
0b021094
GM
48442012-03-31 Glenn Morris <rgm@gnu.org>
4845
40f86458
GM
4846 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4847
7019c177
GM
4848 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4849
a1daddd6
GM
4850 * calendar/calendar.el (calendar-window-list)
4851 (calendar-hide-window): Restore. (Bug#11140)
4852 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4853
0b021094
GM
4854 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4855
40311efc
TV
48562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4857
4858 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4859 Check if file is a symlink (Bug#10489).
4860
4861 * files.el (copy-directory): Likewise.
4862
5319014e
CY
48632012-03-30 Chong Yidong <cyd@gnu.org>
4864
4865 * image.el (imagemagick-types-inhibit)
4866 (imagemagick-register-types): Doc fix.
4867
935d1290
AM
48682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4869
090bd7cb 4870 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4871 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4872 and treats ~word as ordinary words in pipe mode.
935d1290 4873
61c6e8fd
GM
48742012-03-30 Glenn Morris <rgm@gnu.org>
4875
4876 * tutorial.el (help-with-tutorial): Ensure local variables don't
4877 happen to make the buffer read-only. (Bug#11127)
4878
81fdff00
SM
48792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4882 (perl-calculate-indent): Return `noindent' in strings.
4883
6e7a6ec0
SS
48842012-03-28 Sam Steingold <sds@gnu.org>
4885
4886 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4887 instead of the broken adhockery which does not prevent calendar
4888 buffers from being displayed at random after exit.
4889 (calendar-window-list, calendar-hide-window): Remove the broken
4890 adhockery.
4891
fee88ca0
GM
48922012-03-28 Glenn Morris <rgm@gnu.org>
4893
4894 * replace.el (query-replace-map): Doc fix.
4895
38de3354
AS
48962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4897
4898 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4899 contents. (Bug#11109)
4900
b973155e
SM
49012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4904 (bug#11077).
4905 (avl-tree--check, avl-tree--check-node): New funs.
4906
dcb6e7b3
MR
49072012-03-27 Martin Rudalics <rudalics@gmx.at>
4908
4909 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4910 (switch-to-prev-buffer, switch-to-next-buffer):
4911 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4912 showing a buffer already is done on the same frame.
4913
b4fa35fa
GM
49142012-03-27 Glenn Morris <rgm@gnu.org>
4915
4916 * startup.el (mail-host-address): Doc fix.
4917
f9210e18
SM
49182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4921 than 197 variables.
4922
c0bf7753
AF
49232012-03-26 Ami Fischman <ami@fischman.org>
4924
4925 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4926
33da7b16
GM
49272012-03-26 Glenn Morris <rgm@gnu.org>
4928
02243d9d
GM
4929 * files.el (save-buffers-kill-emacs): Doc fix.
4930
33da7b16
GM
4931 * startup.el (normal-top-level, command-line, command-line-1):
4932 Give them doc strings.
4933
e5a69fd0
EZ
49342012-03-25 Eli Zaretskii <eliz@gnu.org>
4935
4936 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4937 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4938
9a69676a
CY
49392012-03-25 Chong Yidong <cyd@gnu.org>
4940
4125cb8b
CY
4941 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4942 theme if it was previously enabled before (Bug#11031).
4943
dd470960
CY
4944 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4945 spec with custom-face-get-current-spec if its :shown-value is not
4946 determined yet (Bug#9337).
4125cb8b 4947 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4948
9a69676a
CY
4949 * button.el (button-at): Minor addition to docstring.
4950
6e7e90fa
SL
49512012-03-24 Simon Leinen <simon.leinen@gmail.com>
4952
4953 * vc/vc.el (vc-merge): Fix a prompt.
4954
f06e2758
CY
49552012-03-24 Chong Yidong <cyd@gnu.org>
4956
4957 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4958 point (Bug#9623).
4959
6e7e90fa
SL
4960 * button.el (button-at): Minor addition to docstring.
4961
b9d0879b
SM
49622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * newcomment.el (comment-choose-indent): No space after BOL.
4965
e71cebb3
SS
49662012-03-22 Sam Steingold <sds@gnu.org>
4967
4968 * window.el (switch-to-prev-buffer): Revert last patch because the
4969 bug turned out to be an advertised feature (Elisp manual 28.14).
4970
335aff35
GM
49712012-03-22 Glenn Morris <rgm@gnu.org>
4972
4973 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4974 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4975
c676576a
LMI
49762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * net/network-stream.el (network-stream-open-starttls): Make error
4979 message under Windows be less misleading.
4980
126f3d39
LW
49812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4982
4983 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4984 understands (bug#9942).
4985
64fee311
CY
49862012-03-22 Chong Yidong <cyd@gnu.org>
4987
4988 * simple.el (end-of-visible-line): Handle return value of
4989 next-single-property-change properly (Bug#9371).
4990
a640d29a
KH
49912012-03-22 Kenichi Handa <handa@m17n.org>
4992
4993 * international/quail.el (quail-insert-kbd-layout): Fix previous
4994 change. To avoid unwanted bidi reordering, use
4995 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4996
39675016
DG
49972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4998
4999 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5000 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5001 (ruby-beginning-of-indent): Be more careful with the difference
5002 between word-boundary and symbol boundary.
5003 (ruby-mode-syntax-table): Make : a symbol constituent.
5004
0a6934fc 50052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5006
3d008e4f
SM
5007 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5008
0a6934fc
SM
50092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5010
af67c9d7
SM
5011 * progmodes/etags.el (tags-completion-at-point-function):
5012 Improve last fix.
5013
1acad97c
SM
5014 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5015
e298b5da
SS
50162012-03-21 Sam Steingold <sds@gnu.org>
5017
5018 * progmodes/etags.el (tags-completion-at-point-function):
5019 Avoid the error when point is inside the pattern.
5020
91d82a70
JY
50212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5022
5023 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5024 line (Bug#10855).
5025
69188b79
CY
50262012-03-21 Drew Adams <drew.adams@oracle.com>
5027
5028 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5029
99fc91fe
AK
50302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5031
5032 * ido.el (ido-set-current-directory, ido-read-internal)
5033 (ido-choose-completion-string, ido-completion-help): Handle nil
5034 value of ido-completion-buffer (Bug#11008).
5035
087bbb4c
SS
50362012-03-21 Sam Steingold <sds@gnu.org>
5037
5038 * window.el (switch-to-prev-buffer): Do not switch to a visible
5039 window previous buffer, just like with the frame previous buffers.
5040
fb5b8aca
CY
50412012-03-21 Chong Yidong <cyd@gnu.org>
5042
5043 * faces.el (make-face, make-empty-face, copy-face):
5044 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5045 Doc fixes.
5046
dc9924b8
SM
50472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5050 (widget-complete): Remove broken use of it.
5051
f0bcceb9
CY
50522012-03-20 Chong Yidong <cyd@gnu.org>
5053
dc9924b8
SM
5054 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5055 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5056 characters.
5057
ee52ebf3
TH
50582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5059
5060 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5061 to draw rectangles, not squares. (Regression introduced by revno
5062 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5063
4c5779ab
CY
50642012-03-18 Chong Yidong <cyd@gnu.org>
5065
5066 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5067 it is not yet defined (for temacs).
5068
15360934
LL
50692012-03-18 Leo Liu <sdl.web@gmail.com>
5070
dc9924b8 5071 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5072
d9a8eb66
EZ
50732012-03-17 Eli Zaretskii <eliz@gnu.org>
5074
5075 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5076 (ispell-choices-win-default-height, ispell-silently-savep)
5077 (ispell-dictionary-alist, ispell-encoding8-command)
5078 (ispell-check-version, ispell-aspell-find-dictionary)
5079 (ispell-valid-dictionary-list, ispell-words-keyword)
5080 (ispell-get-word, ispell-internal-change-dictionary)
5081 (ispell-region, ispell-skip-region-list)
5082 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5083 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5084 (ispell-message-text-end, ispell-message)
5085 (ispell-buffer-local-parsing): Doc fix.
5086
f02ff80d
J
50872012-03-13 Jambunathan K <kjambunathan@gmail.com>
5088
5089 * htmlfontify.el: Add support for code block fontification for ODT
5090 export (Bug #9914).
5091 (hfy-optimisations): Define new option
5092 `body-text-only'
5093 (hfy-fontify-buffer): Honor above setting.
5094 (hfy-begin-span, hfy-end-span): New routines factored out form
5095 `hfy-fontify-buffer'.
5096 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5097 that permit insertion of custom tags.
5098 (hfy-fontify-buffer): Use above handlers.
5099 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5100 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5101 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5102 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5103 bind a special variable `hfy-user-sheet-assoc'.
5104 (htmlfontify-string): New defun.
5105 (hfy-compile-face-map): Make sure that the last char in the
5106 buffer is correctly fontified.
5107 (hfy-face-resolve-face): Whitespace only change.
5108
9ac7a13f
EZ
51092012-03-17 Eli Zaretskii <eliz@gnu.org>
5110
5111 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5112 message more clear.
5113
e2b5bdd7
LL
51142012-03-16 Leo Liu <sdl.web@gmail.com>
5115
5116 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5117
2e492df3
AM
51182012-03-16 Alan Mackenzie <acm@muc.de>
5119
5120 Further optimise the handling of large macros.
5121
5122 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5123 limit to a call of `c-literal-limits'.
5124 (c-determine-+ve-limit): New function.
dc9924b8
SM
5125 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5126 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5127 In CASE 5B, restrict a search limit to 500.
5128 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5129
5130 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5131 Restrict macro bounds to +-500 from after-change's BEG END.
5132
50e94f0c
LL
51332012-03-16 Leo Liu <sdl.web@gmail.com>
5134
5135 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5136
6f09f6ed
AH
51372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5138
5139 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5140 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5141
c7e73d51
GM
51422012-03-16 Glenn Morris <rgm@gnu.org>
5143
da986230
GM
5144 * view.el (view-buffer, view-buffer-other-window)
5145 (view-buffer-other-frame): Doc fixes re special mode-class.
5146
0835f01e
GM
5147 * subr.el (eval-after-load): If named feature is provided not from
5148 a file, run after-load forms. (Bug#10946)
5149
c7e73d51
GM
5150 * calendar/calendar.el (calendar-insert-at-column):
5151 Handle non-unit-width characters a bit better. (Bug#10978)
5152
3f2eafd1
CY
51532012-03-15 Chong Yidong <cyd@gnu.org>
5154
5155 * emacs-lisp/ring.el (ring-extend): New function.
5156 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5157
5158 * comint.el (comint-read-input-ring)
5159 (comint-add-to-input-history): Grow comint-input-ring lazily.
5160
103af3fe
SM
51612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5162
663b1677
SM
5163 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5164 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5165
103af3fe
SM
5166 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5167 (imenu-add-to-menubar): Don't add a redundant index.
5168 (imenu-update-menubar): Handle a dynamically composed keymap.
5169
899cb7cb
KY
51702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5171
5172 * mail/sendmail.el (mail-encode-header):
5173 Bind rfc2047-encode-encoded-words to nil.
5174
3809f91d
GM
51752012-03-13 Glenn Morris <rgm@gnu.org>
5176
5177 * calendar/calendar.el (calendar-string-spread):
5178 Handle non-unit-width characters a bit better. (Bug#10978)
5179
9e345a01
LL
51802012-03-13 Leo Liu <sdl.web@gmail.com>
5181
5182 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5183 directory and file as argument (Bug#10822).
5184
4a07df36
KS
51852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5186
5187 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5188 For dynamically generated code, follow $PC.
5189 (gdb-disassembly-handler-custom): Handle no function name case.
5190
4aaa9356
TL
51912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5192
5193 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5194 * emulation/ws-mode.el (ws-query-replace):
5195 * sort.el (sort-regexp-fields):
5196 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5197
225979da
SM
51982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * dabbrev.el: Fix cycle completion order (bug#10963).
5201 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5202 (dabbrev-completion): Don't use an obarray; provide
5203 a cycle-sort-function.
5204
e2f1fdab
LL
52052012-03-12 Leo Liu <sdl.web@gmail.com>
5206
dc9924b8 5207 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5208 (kill-do-not-save-duplicates): Doc fix.
5209
b19490ed
SM
52102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * dabbrev.el: Fix cycle completion (bug#10963).
5213 Use lexical binding and wrap to 80 columns.
5214 (dabbrev-completion): Delay computing the list of completions.
5215
4b05d722
KH
52162012-03-12 Kenichi Handa <handa@m17n.org>
5217
5218 * international/quail.el (quail-insert-kbd-layout): Surround each
5219 row by LRO and PDF instead of inserting many LRMs. Pad the left
5220 and right of each non-spacing marks. Insert invisible space
5221 between lower and upper characters to prevent composition.
5222
dbbc2e69
SM
52232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * minibuffer.el (minibuffer-complete): Don't get confused when the
5226 function is run twice via different commands (bug#10958).
5227 (complete-with-action): Fix docstring.
5228
292112ed
CY
52292012-03-12 Chong Yidong <cyd@gnu.org>
5230
5d1ac394
CY
5231 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5232 (nxml-completion-at-point-function): New function.
5233 (nxml-mode): Use it.
5234 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5235
292112ed
CY
5236 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5237 Load generated autoloads file before byte compiling (Bug#10970).
5238 (package--make-autoloads-and-compile): New helper fun.
5239
4098f8f7
CS
52402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5241
5242 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5243
8f754691
MA
52442012-03-11 Michael Albinus <michael.albinus@gmx.de>
5245
5246 * autorevert.el (auto-revert-handler): Ensure, that
5247 file-readable-p is applied only for local files or in
5248 auto-revert-tail-mode.
5249
e29ab36b
AS
52502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5251
dbbc2e69
SM
5252 * server.el (server-eval-at): Handle non-tcp connections.
5253 Decode result string.
ad0bf5b6 5254
e29ab36b
AS
5255 * server.el (server-msg-size): New constant.
5256 (server-reply-print): New function.
5257 (server-eval-and-print): Use it.
5258 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5259 Handle -print-nonl.
5260
de5939ba
CS
52612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5262
5263 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5264 (Bug#10987).
5265
0c93eabf
CY
52662012-03-11 Chong Yidong <cyd@gnu.org>
5267
397a688f
CY
5268 * simple.el (goto-line): Doc fix (Bug#9938).
5269
2cc775f9
CY
5270 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5271
0c93eabf
CY
5272 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5273 when finished (Bug#10963).
5274
c491fa41
MR
52752012-03-11 Martin Rudalics <rudalics@gmx.at>
5276
5277 * window.el (split-window-below): Fix bug in case where
5278 split-window-keep-point is nil (Bug#10971).
5279
300e8fa5
JL
52802012-03-11 Juri Linkov <juri@jurta.org>
5281
5282 * replace.el (replace-highlight): Set isearch-word to nil
5283 unconditionally. (Bug#10887)
5284
dbf6c5a1
EZ
52852012-03-10 Eli Zaretskii <eliz@gnu.org>
5286
5287 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5288 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5289 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5290 (mairix-widget-create-query): Add usage information about mairix
5291 search forms: negating words, searching for substrings, etc.
5292
b9e501de
JP
52932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5294
5295 * international/fontset.el (font-encoding-alist): Add an entry for
5296 ksx1001 (Bug#5667).
5297
92795c91
RS
52982012-03-10 Richard Stallman <rms@gnu.org>
5299
1694e6c1
RS
5300 * mail/sendmail.el (mail-encode-header):
5301 Set rfc2047-encode-encoded-words.
5302
607e8555
RS
5303 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5304
de3bc99a
RS
5305 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5306 view buffer means not swapped.
5307 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5308 (rmail-write-region-annotate): Error if real text has disappeared.
5309
92795c91
RS
5310 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5311
699bd04e
CY
53122012-03-10 Chong Yidong <cyd@gnu.org>
5313
5314 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5315 * emulation/cua-base.el (cua--init-keymaps):
5316 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5317
570a1714
MR
53182012-03-10 Martin Rudalics <rudalics@gmx.at>
5319
dbbc2e69
SM
5320 * speedbar.el (speedbar-unhighlight-one-tag-line):
5321 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5322
82dcf4e4
CY
53232012-03-10 Chong Yidong <cyd@gnu.org>
5324
7a2c7ca7
CY
5325 * minibuffer.el (completion-in-region, completion-help-at-point):
5326 Give the completion field overlay a high priority (Bug#6830).
5327
82dcf4e4
CY
5328 * dired.el (dired-goto-file): Recognize absolute file name
5329 listings (Bug#7126).
5330 (dired-goto-file-1): New helper function.
5331 (dired-toggle-read-only): Inhibit warnings.
5332
052e28ac
MA
53332012-03-09 Michael Albinus <michael.albinus@gmx.de>
5334
75f1671a 5335 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5336 there are no properties.
5337
95d5e396
LL
53382012-03-09 Leo Liu <sdl.web@gmail.com>
5339
5340 * savehist.el (savehist-printable): Stricter check for string
5341 value (Bug#10937).
5342
3f018d6d
EZ
53432012-03-09 Eli Zaretskii <eliz@gnu.org>
5344
dbbc2e69
SM
5345 * mail/smtpmail.el (smtpmail-send-it):
5346 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5347 valid mbox format.
5348
f7fd3d79
GM
53492012-03-09 Glenn Morris <rgm@gnu.org>
5350
5351 * files.el (dir-locals-find-file):
5352 Don't check result is regular, readable.
5353 (dir-locals-read-from-file): Demote errors.
5354
6ff6e72f
EZ
53552012-03-08 Eli Zaretskii <eliz@gnu.org>
5356
dbbc2e69
SM
5357 * international/quail.el (quail-insert-kbd-layout):
5358 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5359 layout cell, to prevent their reordering by bidi display engine.
5360 For details, see the discussion in
5361 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5362
9cec7834
AM
53632012-03-08 Alan Mackenzie <acm@muc.de>
5364
5365 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5366 the starting position; make it extend the marked region when
5367 invoked repeatedly - all under appropriate circumstances.
5368 Fixes bugs #5525, #10906.
5369
9a40b8d4
GM
53702012-03-08 Glenn Morris <rgm@gnu.org>
5371
5372 * files.el (locate-dominating-file, dir-locals-find-file):
5373 Undo 2012-03-06 change.
5374
7a08ed35
EZ
53752012-03-07 Eli Zaretskii <eliz@gnu.org>
5376
dbbc2e69
SM
5377 * international/quail.el (quail-help):
5378 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5379 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5380 for the reason.
5381
5aca4f71 53822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5383
5384 Avoid superfluous registering of signals. (Bug#10807)
5385
5386 * notifications.el (notifications-on-action-object)
5387 (notifications-on-close-object): New defvars.
5388 (notifications-on-action-signal, notifications-on-closed-signal):
5389 Unregister the signal if not needed any longer.
5390 (notifications-notify): Register `notifications-action-signal' or
5391 `notifications-closed-signal', if :on-action or :on-close has been
5392 passed as argument.
5393
78e8b10a
CY
53942012-03-07 Chong Yidong <cyd@gnu.org>
5395
5396 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5397 non-X platforms.
5398
69481eb8
GM
53992012-03-06 Glenn Morris <rgm@gnu.org>
5400
5401 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5402 (x-disown-selection-internal, x-get-selection-internal):
5403 Doc fix (add arglist signatures). (Bug#10783)
5404
133b8e11
KS
54052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5406
5407 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5408 Handle breakpoints with no "type".
5409
99a83064
GM
54102012-03-06 Glenn Morris <rgm@gnu.org>
5411
5412 * files.el (locate-dominating-file): Add optional predicate argument.
5413 (dir-locals-find-file): Make use of above change.
5414
17798e78
TTN
54152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5416
5417 * info.el (Info-insert-dir): Also try "dir.gz".
5418
eb182446
GM
54192012-03-06 Glenn Morris <rgm@gnu.org>
5420
8f2114ee
GM
5421 * files.el (dir-locals-find-file):
5422 Ignore non-readable or non-regular files. (Bug#10928)
5423
eb182446
GM
5424 * files.el (locate-dominating-file): Doc fix.
5425
24679323
AS
54262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5427
5428 * calendar/calendar.el (calendar-set-mode-line):
5429 `getenv' returns a string. (Bug#10951)
5430
01d972a9
LL
54312012-03-05 Leo Liu <sdl.web@gmail.com>
5432
109aa8a9
LL
5433 * simple.el (backward-delete-char-untabify): Constrain point to
5434 field (Bug#10939).
5435
01d972a9
LL
5436 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5437
10607bea
CY
54382012-03-05 Chong Yidong <cyd@gnu.org>
5439
5440 * simple.el (count-words): If called from Lisp, return the word
5441 count, for symmetry with `count-lines'. Arglist changed.
5442 (count-words--message): Args changed. Consolidate counting code
5443 from count-words and count-words-region.
5444 (count-words-region): Caller changed.
5445 (count-lines-region): Make it an obsolete alias.
5446
5dd11cfe
TH
54472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5448
5449 * saveplace.el (save-place-to-alist)
5450 (save-place-ignore-files-regexp): Allow value nil to disable this
5451 feature.
5452
c349f4e6
CY
54532012-03-04 Chong Yidong <cyd@gnu.org>
5454
5455 * faces.el (face-spec-reset-face): For the default face, reset the
5456 attributes to default values (Bug#10748).
5457
e627be4c
LMI
54582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5459
5460 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5461 previous patch: Check `message-send-mail-function', and not the
5462 default function (bug#10897).
5463
ebeabff4
MA
54642012-03-04 Michael Albinus <michael.albinus@gmx.de>
5465
a41a6cf4
MA
5466 * notifications.el (notifications-on-action-signal)
5467 (notifications-on-closed-signal): Check for unique service name of
5468 incoming event. Fix error in removing entry.
ebeabff4 5469 (top): Register for signals with wildcard service name.
a41a6cf4 5470 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5471
c1ca42b4
CY
54722012-03-04 Chong Yidong <cyd@gnu.org>
5473
dc9924b8 5474 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5475
ea16568d
GM
54762012-03-04 Glenn Morris <rgm@gnu.org>
5477
5478 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5479 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5480 (expand-abbrev, define-abbrev-table): Doc fixes.
5481
fbae4637
LMI
54822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5483
5484 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5485 `message-default-send-mail-function' and not `send-mail-function'
5486 when doing the prompting for `sendmail-query-once' before sending
5487 in Message buffers (bug#10897).
5488
a1e7225c
LMI
5489 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5490 This is inconsistent with all the other stream functions, which leave
5491 the setting up to the higher levels (if so wanted) (bug#10931).
5492
56d093a9
AM
54932012-03-02 Alan Mackenzie <acm@muc.de>
5494
5495 Depessimize the handling of very large macros.
5496
5497 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5498 (c-macro-cache-syntactic): New variables to implement a one
5499 element macro cache.
5500 (c-invalidate-macro-cache): New function.
5501 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5502 Adapt to use the new cache.
5503 (c-state-safe-place): Use better the cache of safe positions.
5504 (c-state-semi-nonlit-pos-cache)
5505 (c-state-semi-nonlit-pos-cache-limit):
5506 New variables for...
5507 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5508 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5509 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5510 Use c-state-semi-safe-place.
56d093a9 5511
dbbc2e69
SM
5512 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5513 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5514
817e5c3d
MA
55152012-03-02 Michael Albinus <michael.albinus@gmx.de>
5516
dbbc2e69
SM
5517 * jka-compr.el (jka-compr-call-process):
5518 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5519 not remote.
5520
a032a702
MA
55212012-03-01 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5524 access of FILE2, if FILE1 does not exist.
5525
99a54f21
MA
5526 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5527 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5528
5529 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5530 Add "PAGER=" to `process-environment'.
5531
f6561e1f
MM
55322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5533
5534 * progmodes/sql.el: Bug fix
5535 (sql-get-login-ext): Save login values in globals.
5536 (sql-get-login): Use new version of `sql-get-login-ext'.
5537 (sql-interactive-mode): Set global `sql-connection' to nil.
5538 (sql-connect): Set global values for connection.
5539 (sql-product-interactive): Save global values as buffer local.
5540
2d44d9cc
LL
55412012-02-29 Leo Liu <sdl.web@gmail.com>
5542
5543 * abbrev.el (define-abbrevs): Reset sys to nil.
5544
96b49301 55452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5546
bf7f9bc5
JB
5547 * files.el (file-equal-p): Rename from `files-equal-p'.
5548 Return nil when one or both files don't exist.
96b49301 5549 (file-subdir-of-p): Now only top directory must exists,
5550 return nil if it doesn't.
bf7f9bc5
JB
5551 (copy-directory): No need to test with `file-subdir-of-p' after
5552 creating dir.
5553 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5554 to `file-equal-p'.
96b49301 5555
44e97401
GM
55562012-02-28 Glenn Morris <rgm@gnu.org>
5557
5558 * shell.el (shell-mode):
5559 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5560 * play/landmark.el (landmark-font-lock-face-O):
5561 * play/handwrite.el (handwrite):
5562 * play/gomoku.el (gomoku-O):
5563 * net/browse-url.el (browse-url-browser-display):
5564 * international/mule.el (define-charset):
5565 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5566 * filesets.el (filesets-find-file-delay):
5567 * eshell/em-xtra.el (eshell-xtra):
5568 * eshell/em-unix.el (eshell-grep):
5569 * emulation/viper.el (viper-mode):
5570 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5571 * emacs-lisp/easymenu.el (easy-menu-define):
5572 * calendar/timeclock.el (timeclock-use-display-time):
5573 * bs.el (bs-mode):
5574 * bookmark.el (bookmark-save-flag):
5575 Doc fix (standardize possessive apostrophe usage).
5576
c98c6276
CY
55772012-02-27 Chong Yidong <cyd@gnu.org>
5578
bf7f9bc5
JB
5579 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5580 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5581
c98c6276
CY
5582 * font-lock.el (font-lock-specified-p): Rename from
5583 font-lock-spec-present. Callers changed.
5584
9c62cd04 55852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5586
bf7f9bc5
JB
5587 * emacs-lisp/package.el (package-compute-transaction):
5588 Handle holding a package version to t in package-load-list.
8ac9e529 5589
530739c9
MA
55902012-02-26 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5593 (tramp-get-inode, tramp-get-device): Use cached values.
5594
487915d7
AM
55952012-02-26 Alan Mackenzie <acm@muc.de>
5596
5597 Check there is a font-lock specification before doing initial
5598 fontification.
5599
5600 * font-core.el (font-lock-mode): Move the conditional from
5601 :after-hook to font-lock-initial-fontify.
5602 (font-lock-default-function): Move the check for a specification
5603 to font-lock-spec-present.
5604
dc9924b8 5605 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5606 (font-lock-spec-present): New function.
5607
4fd96557
JB
56082012-02-26 Jim Blandy <jimb@red-bean.com>
5609
5610 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5611 (gdb-send): Apply it to the operand of the '-interpreter-exec
5612 console' command, so that we can pass arguments with (say) quotes
5613 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5614
9a4888c0
CY
56152012-02-26 Chong Yidong <cyd@gnu.org>
5616
07498861
CY
5617 * help-fns.el (describe-function-1): Clarify description of
5618 remapping (Bug#10844).
5619
9a4888c0
CY
5620 * files.el (files-equal-p): Doc fix.
5621 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5622 and quit the loop once a mismatch is found.
5623
ea8fb88d
JB
56242012-02-25 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * bs.el (bs--show-with-configuration): Don't throw an error
5627 if the window cannot be split; otherwise, subsequent calls to
5628 bs-show fail, restoring a stale window config. (Bug#10882)
5629
525795c1
JD
56302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5631
5632 * term/ns-win.el (global-map): Bind ns-drag-file to
5633 ns-find-file (Bug#5855, Bug#10050).
5634
f008086f
AS
56352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * calendar/parse-time.el (parse-time-string): Allow extractor to
5638 return nil.
5639
a3fcfa99
MA
56402012-02-25 Michael Albinus <michael.albinus@gmx.de>
5641
91027d08
JB
5642 * net/tramp.el (tramp-file-name-for-operation):
5643 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5644
5645 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5646 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5647 Add COPY-CONTENTS argument.
a3fcfa99 5648
67b0de11
CY
56492012-02-25 Chong Yidong <cyd@gnu.org>
5650
5651 Add custom groups for VC backends, for consistency with vc-bzr.
5652
5653 * vc/vc-arch.el (vc-arch):
5654 * vc/vc-cvs.el (vc-cvs):
5655 * vc/vc-git.el (vc-git):
5656 * vc/vc-hg.el (vc-hg):
5657 * vc/vc-mtn.el (vc-mtn):
5658 * vc/vc-rcs.el (vc-rcs):
5659 * vc/vc-sccs.el (vc-sccs):
5660 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5661 All relevant defcustoms reassigned.
5662
3c9dfce6
CY
56632012-02-25 Chong Yidong <cyd@gnu.org>
5664
1339bf43
CY
5665 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5666
3c9dfce6
CY
5667 * term/x-win.el (x-initialize-window-system): Reduce default for
5668 x-selection-timeout to 5 seconds (Bug#8869).
5669
25b2e303 56702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5671
ec70a47d
GM
5672 * files.el (files-equal-p, file-subdir-of-p): New functions.
5673 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5674 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5675 * dired-aux.el (dired-copy-file-recursive): Same.
5676 (dired-create-files): Modify destination when source is equal to
5677 dest when copying files.
53a46cd0 5678 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5679
914260cd
MA
56802012-02-24 Michael Albinus <michael.albinus@gmx.de>
5681
5682 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5683 (Bug#10874)
5684
2cb228f7
AM
56852012-02-23 Alan Mackenzie <acm@muc.de>
5686
5687 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5688 parameter "after-hook:" to allow the expansion to run code after
5689 the execution of the mode hooks.
5690
5691 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5692 from font-lock-mode-internal.
2cb228f7 5693
91027d08 5694 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5695 :after-hook.
5696
8f0fde21
SM
56972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5698
3e88618b
SM
5699 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5700 (completion--cache-all-sorted-completions): New function.
5701 (completion-all-sorted-completions): Use it.
5702 (completion--do-completion, minibuffer-force-complete):
5703 Use it to re-instate the flush hook.
5704
8f0fde21
SM
5705 * icomplete.el (icomplete-completions): Replace last fix with a better
5706 one (bug#10850).
5707
8e911f6f
DG
57082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5709
5710 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5711 when it might call us back infinitely (bug#10797).
5712
49fe4321
GM
57132012-02-23 Glenn Morris <rgm@gnu.org>
5714
5715 * minibuffer.el (completion-category-overrides): Doc fix.
5716
b291b572
SM
57172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5720 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5721
31a9ef2e
GM
57222012-02-23 Glenn Morris <rgm@gnu.org>
5723
5e6e6794 5724 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5725 (authors-obsolete-files-regexps, authors-ignored-files)
5726 (authors-ambiguous-files, authors-renamed-files-alist):
5727 Add more entries.
5728
0bd1e074
JL
57292012-02-23 Juri Linkov <juri@jurta.org>
5730
5731 * isearch.el (isearch-occur): Sync interactive spec with occur's
5732 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5733
b617673c
JL
5734 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5735
19e9789e
JL
57362012-02-22 Juri Linkov <juri@jurta.org>
5737
5738 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5739 (ucs-insert): Doc fix. Check for hex digits in the string.
5740 Don't display `nil' in the error message. (Bug#10857)
5741
f41ce09d
AM
57422012-02-22 Alan Mackenzie <acm@muc.de>
5743
7a71b18d 5744 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5745
ac2eceee
GM
57462012-02-22 Glenn Morris <rgm@gnu.org>
5747
5748 * ffap.el (ffap-c-path):
5749 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5750
abd1f678
CY
57512012-02-22 Chong Yidong <cyd@gnu.org>
5752
5753 * custom.el (load-theme): Doc fix.
5754
f25aef2e
GM
57552012-02-22 Glenn Morris <rgm@gnu.org>
5756
5757 * dired-x.el (dired-guess-shell-alist-default):
5758 Remove escape sequences from nroff output. (Bug#172)
5759
5f8dc2ca
GM
57602012-02-21 Glenn Morris <rgm@gnu.org>
5761
6ff86ec4
GM
5762 * vc/emerge.el (emerge-defvar-local):
5763 Set `permanent-local' property rather than unused `preserved'.
5764
be3223a3 5765 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5766 (picture-mode-map): Use it. (Bug#10860)
5767 (picture-mode): Doc fix.
5768
3fe58f4f
JB
57692012-02-21 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * newcomment.el (uncomment-region-default): Remove unused binding.
5772
f9a998c3
GM
57732012-02-21 Glenn Morris <rgm@gnu.org>
5774
5775 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5776 (picture-self-insert, picture-tab-chars): Doc fix.
5777 (picture-mode-map): Fix C-a, C-e.
5778
c6029348
GM
57792012-02-20 Glenn Morris <rgm@gnu.org>
5780
5781 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5782
ab1ce9d7
LL
57832012-02-20 Leo Liu <sdl.web@gmail.com>
5784
5785 * icomplete.el (icomplete-completions): Check FROM arg before
5786 passing to substring (Bug#10850).
5787
0fd40f89
CY
57882012-02-19 Chong Yidong <cyd@gnu.org>
5789
5790 * comint.el: Require ansi-color.
5791 (comint-output-filter-functions): Add ansi-color-process-output.
5792
5793 * ansi-color.el: Don't set comint-output-filter-functions; it is
5794 now in the initial value defined in comint.el.
5795 (ansi-color-apply-face-function): New variable.
5796 (ansi-color-apply-on-region): Use it.
5797 (ansi-color-apply-overlay-face): New function.
5798
5799 * shell.el (shell): No need to require ansi-color.
5800 (shell-mode): Use ansi-color-apply-face-function to highlight
5801 color escapes using font-lock-face property (Bug#10835).
5802
20af2394
CY
58032012-02-19 Chong Yidong <cyd@gnu.org>
5804
5805 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5806 mode-line formats (Bug#10839).
5807
e23a3fbe
GM
58082012-02-18 Glenn Morris <rgm@gnu.org>
5809
b474519e
GM
5810 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5811
5812 * mail/undigest.el (unforward-rmail-message): Doc fix.
5813
e23a3fbe
GM
5814 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5815
57939ff4
EZ
58162012-02-18 Eli Zaretskii <eliz@gnu.org>
5817
5818 * international/characters.el (script-list): Sync with the latest
5819 Unicode Character Database.
5820
0c23686e
AS
58212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5822
5823 * international/titdic-cnv.el: Remove duplicate coding tag.
5824 * language/cham.el: Likewise.
5825 * language/tai-viet.el: Likewise.
5826
6818b449
GM
58272012-02-18 Glenn Morris <rgm@gnu.org>
5828
5829 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5830 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5831 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5832 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5833 * calendar/holidays.el (holiday-bahai-holidays)
5834 (calendar-holidays, list-holidays):
5835 Use utf-8 Bahá'í in doc-strings, menus, etc.
5836
0311a3fc
TH
58372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5838
5839 * saveplace.el (save-place-ignore-files-regexp): New variable
5840 allowing for excluding files from saving their location of point.
5841 The default value matches the temporary commit message editing
5842 files from Git, SVN, Bazaar, and Mercurial.
5843 (save-place-to-alist): Use it.
5844
d209e2fb 58452012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5846 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * newcomment.el (uncomment-region-default): Don't leave extra space
5849 when an arg is provided (bug#8150).
5850
ee0ce425
TZ
58512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5852
eb864a71 5853 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5854
95ddf442
GM
58552012-02-17 Glenn Morris <rgm@gnu.org>
5856
5857 * net/socks.el: Require network-stream. (Bug#10599)
5858
48dd1e39 58592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5860
5861 * international/charprop.el:
5862 * international/uni-name.el:
5863 * international/uni-old-name.el:
5864 * international/uni-comment.el: Regenerate.
5865
d68cd087
GM
58662012-02-16 Glenn Morris <rgm@gnu.org>
5867
5868 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5869 Interactively in calendar buffer, give an error if not on a date.
5870
13932042
GM
58712012-02-15 Glenn Morris <rgm@gnu.org>
5872
5873 * shell.el (shell-delimiter-argument-list):
5874 Revert 2011-02-17 change. (Bug#8027)
5875
c3a70e2b
CY
58762012-02-15 Chong Yidong <cyd@gnu.org>
5877
60236b0d
CY
5878 * minibuffer.el (completion-at-point-functions): Doc fix.
5879
c3a70e2b
CY
5880 * custom.el (defcustom): Doc fix; note use of defvar.
5881
9f26dc24
GM
58822012-02-15 Glenn Morris <rgm@gnu.org>
5883
5884 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5885 Doc fixes.
5886
6546b134
GM
58872012-02-14 Glenn Morris <rgm@gnu.org>
5888
5889 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5890
d29b2b4c
LI
58912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5892
5893 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5894 way the ports list is computed.
835bdcba
LI
5895 (smtpmail-query-smtp-server): Prompt the user for a port number if
5896 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5897
08dcdbc9
TZ
58982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5899
5900 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5901
2605051a
GM
59022012-02-13 Glenn Morris <rgm@gnu.org>
5903
5904 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5905
7ee99f32
TZ
59062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5907
5908 * net/gnutls.el (gnutls-trustfiles): New variable.
5909 (gnutls-negotiate): Use it.
5910
5f0af64f
LI
59112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5912
5913 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5914 does its stuff if Gnus is running.
5915
c14fcc95
AM
59162012-02-13 Alan Mackenzie <acm@muc.de>
5917
5918 Fix a loop in c-set-fl-decl-start.
5919
7a71b18d 5920 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5921 c-backward-syntactic-ws actually moves backwards.
5922
142b4d90
LL
59232012-02-13 Leo Liu <sdl.web@gmail.com>
5924
5925 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5926 beginning so that all \C-o chars are removed.
5927
fa9958a6
TZ
59282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5929
dc9924b8 5930 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5931
0bc5886a
AM
59322012-02-12 Alan Mackenzie <acm@muc.de>
5933
5934 Fix infinite loop with long macros.
4d6769e1 5935 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5936
d4bd55e7
CY
59372012-02-12 Chong Yidong <cyd@gnu.org>
5938
5939 * window.el (display-buffer): Doc fix (Bug#10785).
5940
66f3fe22
GM
59412012-02-12 Glenn Morris <rgm@gnu.org>
5942
bd7da63e
GM
5943 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5944 (x-disown-selection-internal, x-get-selection-internal):
5945 Sync docs with the xselect.c versions.
5946
66f3fe22
GM
5947 * allout-widgets.el: Add missing license notice.
5948
3e0d2fa7
GM
59492012-02-11 Glenn Morris <rgm@gnu.org>
5950
cfecdf09
GM
5951 * select.el (x-get-selection-internal, x-own-selection-internal)
5952 (x-disown-selection-internal):
5953 * x-dnd.el (x-get-selection-internal): Update declarations.
5954
6d216d7f
GM
5955 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5956
2bed3f04
GM
5957 * window.el (window-sides-slots):
5958 * tool-bar.el (tool-bar-position):
5959 * term/xterm.el (xterm-extra-capabilities):
5960 * ses.el (ses-self-reference-early-detection):
5961 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5962 (verilog-auto-wire-type)
5963 (verilog-auto-delete-trailing-whitespace)
5964 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5965 (verilog-auto-tieoff-declaration):
5966 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5967 (sql-oracle-statement-starters, sql-oracle-scan-on):
5968 * progmodes/prolog.el (prolog-align-comments-flag)
5969 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5970 (prolog-left-indent-regexp, prolog-paren-indent-p)
5971 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5972 (prolog-types, prolog-mode-specificators)
5973 (prolog-determinism-specificators, prolog-directives)
5974 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5975 (prolog-electric-dot-flag)
5976 (prolog-electric-dot-full-predicate-template)
5977 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5978 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5979 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5980 (prolog-program-switches, prolog-prompt-regexp)
5981 (prolog-debug-on-string, prolog-debug-off-string)
5982 (prolog-trace-on-string, prolog-trace-off-string)
5983 (prolog-zip-on-string, prolog-zip-off-string)
5984 (prolog-use-standard-consult-compile-method-flag)
5985 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5986 (prolog-imenu-max-lines, prolog-info-predicate-index)
5987 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5988 (prolog-char-quote-workaround):
5989 * progmodes/cc-vars.el (c-defun-tactic):
5990 * net/tramp.el (tramp-encoding-command-interactive)
5991 (tramp-local-end-of-line):
5992 * net/soap-client.el (soap-client):
5993 * net/netrc.el (netrc-file):
5994 * net/gnutls.el (gnutls):
5995 * minibuffer.el (completion-category-overrides)
5996 (completion-cycle-threshold)
5997 (completion-pcm-complete-word-inserts-delimiters):
5998 * man.el (Man-name-local-regexp):
5999 * mail/feedmail.el (feedmail-display-full-frame):
6000 * international/characters.el (glyphless-char-display-control):
6001 * eshell/em-ls.el (eshell-ls-date-format):
6002 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6003 (lisp-lambda-list-keyword-parameter-indentation)
6004 (lisp-lambda-list-keyword-parameter-alignment):
6005 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6006 * dired-x.el (dired-omit-verbose):
6007 * cus-theme.el (custom-theme-allow-multiple-selections):
6008 * calc/calc.el (calc-highlight-selections-with-faces)
6009 (calc-lu-field-reference, calc-lu-power-reference)
6010 (calc-note-threshold):
6011 * battery.el (battery-mode-line-limit):
6012 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6013 (archive-7z-update):
6014 * allout.el (allout-prefixed-keybindings)
6015 (allout-unprefixed-keybindings)
6016 (allout-inhibit-auto-fill-on-headline)
6017 (allout-flattened-numbering-abbreviation):
6018 * allout-widgets.el (allout-widgets-auto-activation)
6019 (allout-widgets-icons-dark-subdir)
6020 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6021 (allout-widgets-theme-dark-background)
6022 (allout-widgets-theme-light-background)
6023 (allout-widgets-item-image-properties-emacs)
6024 (allout-widgets-item-image-properties-xemacs)
6025 (allout-widgets-run-unit-tests-on-load)
6026 (allout-widgets-time-decoration-activity)
6027 (allout-widgets-hook-error-post-time)
6028 (allout-widgets-track-decoration):
6029 Add missing :version tags to new defcustoms and defgroups.
6030
5fec1b8e
GM
6031 * progmodes/sql.el (sql-ansi-statement-starters)
6032 (sql-oracle-statement-starters): Add custom type.
6033
3e0d2fa7
GM
6034 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6035 (prolog-system-version): Give it a type.
6036
90b671e2
EZ
60372012-02-11 Eli Zaretskii <eliz@gnu.org>
6038
6039 * term/pc-win.el (x-select-text, x-selection-owner-p)
6040 (x-own-selection-internal, x-disown-selection-internal)
6041 (x-get-selection-internal): Sync doc strings and argument lists
6042 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6043
5eac0c02
LL
60442012-02-11 Leo Liu <sdl.web@gmail.com>
6045
6046 * progmodes/python.el (python-end-of-statement): Fix infinite
6047 loop. (Bug#10788)
6048
f82cb659
GM
60492012-02-10 Glenn Morris <rgm@gnu.org>
6050
6051 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6052 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6053
cc26d239
LI
60542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6055
6056 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6057 about SMTP before checking the From header.
6058
91027d08 6059 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6060 into own function for reuse by emacsbug.el.
6061
1be3ca5a
LL
60622012-02-10 Leo Liu <sdl.web@gmail.com>
6063
6064 * subr.el (condition-case-unless-debug): Rename from
6065 condition-case-no-debug. All callers changed.
6066 (with-demoted-errors): Fix caller.
6067
6068 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6069 * nxml/rng-valid.el (rng-do-some-validation):
6070 * emacs-lisp/package.el (package-refresh-contents)
6071 (package-menu-execute):
6072 * desktop.el (desktop-create-buffer):
91027d08 6073 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6074
b011fbfe
GM
60752012-02-10 Glenn Morris <rgm@gnu.org>
6076
b2096d72
GM
6077 * textmodes/bibtex.el:
6078 Add missing :version tags for new/changed defcustoms.
6079
b011fbfe
GM
6080 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6081
4c7e65bf
LI
60822012-02-09 Lars Ingebrigtsen <larsi@rusty>
6083
6084 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6085 (smtpmail-via-smtp): Use it, or fall back on the From address.
6086 (smtpmail-send-it): Ditto.
6087
f3934f6f
SM
60882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6091 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6092 (byte-compile-tmp-var): New const.
6093 (byte-compile-defvar): Use it to minimize .elc size.
6094 Just use `defvar' rather than simulate it (bug#10761).
6095
a075a2c5
GM
60962012-02-09 Glenn Morris <rgm@gnu.org>
6097
cf3aa21b
GM
6098 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6099
354998cd
GM
6100 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6101 Add :version tags.
6102
dc9924b8
SM
6103 * progmodes/compile.el (compilation-error-screen-columns)
6104 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6105
dab3703d
GM
6106 * vc/log-view.el (log-view-toggle-entry-display):
6107 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6108
3f88cd72
GM
6109 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6110 (report-emacs-bug-can-use-xdg-email):
6111 (report-emacs-bug-insert-to-mailer): Doc fixes.
6112 (report-emacs-bug): Message fix.
6113
d95b247d
GM
6114 * net/browse-url.el (browse-url-can-use-xdg-open)
6115 (browse-url-xdg-open): Doc fixes.
6116
a075a2c5
GM
6117 * electric.el (electric-indent-mode, electric-pair-mode)
6118 (electric-layout-rules, electric-layout-mode): Doc fixes.
6119 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6120
ffb6157e
MR
61212012-02-08 Martin Rudalics <rudalics@gmx.at>
6122
6123 * server.el (server-unselect-display): Don't inadvertently kill
6124 the current buffer. (Bug#10729)
6125
e1ac4066
GM
61262012-02-08 Glenn Morris <rgm@gnu.org>
6127
34e8a2da
GM
6128 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6129 (sql-list-table): Doc fixes.
6130
b4ac6e8c
GM
6131 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6132 Comment out (does nothing).
6133
e1ac4066
GM
6134 * completion.el (dynamic-completion-mode):
6135 * dirtrack.el (dirtrack-debug-mode):
6136 * electric.el (electric-layout-mode):
6137 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6138 * face-remap.el (text-scale-mode, buffer-face-mode):
6139 * iimage.el (iimage-mode):
6140 * image-mode.el (image-transform-mode):
6141 * minibuffer.el (completion-in-region-mode):
6142 * scroll-lock.el (scroll-lock-mode):
6143 * simple.el (next-error-follow-minor-mode):
6144 * tar-mode.el (tar-subfile-mode):
6145 * tooltip.el (tooltip-mode):
6146 * vcursor.el (vcursor-use-vcursor-map):
6147 * wid-browse.el (widget-minor-mode):
6148 * emulation/tpu-edt.el (tpu-edt-mode):
6149 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6150 * international/iso-ascii.el (iso-ascii-mode):
6151 * language/thai-util.el (thai-word-mode):
6152 * mail/supercite.el (sc-minor-mode):
6153 * net/goto-addr.el (goto-address-mode):
6154 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6155 * progmodes/cwarn.el (cwarn-mode):
6156 * progmodes/flymake.el (flymake-mode):
6157 * progmodes/glasses.el (glasses-mode):
6158 * progmodes/hideshow.el (hs-minor-mode):
6159 * progmodes/pascal.el (pascal-outline-mode):
6160 * textmodes/enriched.el (enriched-mode):
6161 * vc/smerge-mode.el (smerge-mode):
6162 Doc fixes (minor mode argument).
6163
5e0d957f
EZ
61642012-02-07 Eli Zaretskii <eliz@gnu.org>
6165
6166 * ls-lisp.el (ls-lisp-sanitize): New function.
6167 (ls-lisp-insert-directory): Use it to fix or remove any elements
6168 in file-alist with missing attributes. (Bug#4673)
6169
98d7371e
AM
61702012-02-07 Alan Mackenzie <acm@muc.de>
6171
6172 Fix spurious recognition of c-in-knr-argdecl.
6173
6174 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6175 putative K&R region.
6176
667ced3a
AM
61772012-02-07 Alan Mackenzie <acm@muc.de>
6178
eb864a71
LM
6179 * progmodes/cc-engine.el (c-forward-objc-directive):
6180 Prevent looping in "#pragma mark @implementation".
667ced3a 6181
5b77774d
MA
61822012-02-07 Michael Albinus <michael.albinus@gmx.de>
6183
6184 * notifications.el (notifications-on-closed-signal): Make `reason'
6185 optional. (Bug#10744)
6186
af008560
GM
61872012-02-07 Glenn Morris <rgm@gnu.org>
6188
60d47423
GM
6189 * emacs-lisp/easy-mmode.el (define-minor-mode):
6190 Doc fixes for the macro and the mode it defines.
6191
dd605cc4
GM
6192 * image.el (imagemagick-types-inhibit): Doc fix.
6193
af008560
GM
6194 * cus-start.el (imagemagick-render-type): Add it.
6195
5cc59a37
LI
61962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6197
4d6769e1
JB
6198 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6199 Set the default at load time, too, so that `font-lock-fontify-buffer'
6200 can be called without setting up the entire mode first. This fixes
6201 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6202
9a6dd747
CY
62032012-02-06 Chong Yidong <cyd@gnu.org>
6204
2d16b285
CY
6205 * simple.el (list-processes--refresh): Delete exited processes
6206 (Bug#8094).
6207
171e9b6e
CY
6208 * comint.el (comint-next-prompt): next-single-char-property-change
6209 and prev-single-char-property-change never return nil (Bug#8657).
6210
9a6dd747
CY
6211 * custom.el (defcustom): Doc fix (Bug#9711).
6212
aa4589a7
CY
62132012-02-05 Chong Yidong <cyd@gnu.org>
6214
5c2a252f
CY
6215 * cus-edit.el (custom-variable-reset-backup): Quote the value
6216 before storing it in the customized-value property (Bug#6712).
4aab9006 6217 (custom-display): Add a customization type tag.
983b9602 6218 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6219
aa4589a7
CY
6220 * wid-edit.el (widget-field-value-get): New optional arg to
6221 suppress trailing whitespace truncation.
6222 (character): Use it (Bug#2689).
6223
1ff980ae
AS
62242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6227 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6228
03988c98
CY
62292012-02-05 Chong Yidong <cyd@gnu.org>
6230
eeb6cc88
CY
6231 * cus-edit.el (custom-variable-value-create): For mismatched
6232 types, show the current value (Bug#7600).
6233
03988c98
CY
6234 * custom.el (defcustom): Doc fix.
6235
f8cdeef0
GM
62362012-02-05 Glenn Morris <rgm@gnu.org>
6237
6238 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6239
0696d255
JB
62402012-02-05 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6243 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6244 (pp-last-sexp): Use `looking-at-p'.
6245
34c99998
GM
62462012-02-04 Glenn Morris <rgm@gnu.org>
6247
8f05da42
GM
6248 * files.el (revert-buffer):
6249 Doc fix (mention revert-buffer-in-progress-p).
6250
f160676e
GM
6251 * emacs-lisp/ert-x.el (ert-simulate-command):
6252 Check deferred-action-list (which is obsolete) is bound.
6253
c7291ad9
GM
6254 * subr.el (with-wrapper-hook): Doc fixes.
6255
34c99998
GM
6256 * simple.el (filter-buffer-substring-functions)
6257 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6258
6283a7d3
LL
62592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6260
6261 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6262 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6263
e96e3013
LL
62642012-02-04 Leo Liu <sdl.web@gmail.com>
6265
6266 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6267
8ded50f2
GM
62682012-02-04 Glenn Morris <rgm@gnu.org>
6269
82ff1d13
GM
6270 * image.el (image-extension-data): Add obsolete alias.
6271
987a0a16
GM
6272 * isearch.el (isearch-update): Doc fix.
6273
ea32ef46
GM
6274 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6275
8ded50f2
GM
6276 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6277
eea14f31
GM
62782012-02-03 Glenn Morris <rgm@gnu.org>
6279
6280 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6281 (image-animate-timeout): Doc fix.
6282
6283 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6284
12f381b7
GM
62852012-02-02 Glenn Morris <rgm@gnu.org>
6286
953cebf5
GM
6287 * server.el (server-auth-dir): Doc fix.
6288 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6289
12f381b7
GM
6290 * subr.el (run-mode-hooks): Doc fix.
6291
953a8c3b
JL
62922012-02-02 Juri Linkov <juri@jurta.org>
6293
6294 * image-mode.el (image-toggle-display-image): Remove tautological
6295 `major-mode' from the `derived-mode-p' test.
6296
c5d3843c
KH
62972012-02-02 Kenichi Handa <handa@m17n.org>
6298
9f6e692e 6299 * composite.el (compose-region): Cancel previous change.
c5d3843c 6300
159462d4 63012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6302
6303 * composite.el (compose-region, compose-string): Signal error for
6304 a null string component (Bug#6988).
6305
9f562668
CY
63062012-02-01 Chong Yidong <cyd@gnu.org>
6307
e2cef717
CY
6308 * view.el (view-buffer-other-window, view-buffer-other-frame):
6309 Handle special modes like view-buffer (Bug#10650).
6310 (view-buffer): Simplify.
6311
9f562668
CY
6312 * frame.el (set-frame-font): Tweak meaning of third argument.
6313
9f6e692e
JB
6314 * dynamic-setting.el (font-setting-change-default-font):
6315 Use set-frame-font (Bug#9982).
9f562668 6316
781acb9f
GM
63172012-02-01 Glenn Morris <rgm@gnu.org>
6318
6035be52
GM
6319 * progmodes/compile.el (compilation-internal-error-properties):
6320 Respect compilation-first-column in the "*compilation*" buffer.
6321
781acb9f
GM
6322 * emacs-lisp/easy-mmode.el (define-minor-mode):
6323 Relax :variable's test for a named function.
6324
abbceb00
AM
63252012-01-31 Alan Mackenzie <acm@muc.de>
6326
6327 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6328 off by one error.
6329
fce3fdeb
CY
63302012-01-31 Chong Yidong <cyd@gnu.org>
6331
6332 * frame.el (set-frame-font): New arg ALL-FRAMES.
6333
6334 * menu-bar.el (menu-set-font): Use set-frame-font.
6335
6336 * faces.el (face-spec-reset-face): Don't apply unspecified
6337 attribute values to the default face.
6338
47893581
JB
63392012-01-31 Juanma Barranquero <lekktu@gmail.com>
6340
6341 * progmodes/cwarn.el (cwarn): Remove dead link.
6342 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6343 Remove * from defcustom docstrings.
6344 (turn-on-cwarn-mode): Make obsolete.
6345 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6346 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6347
e58e988a
GM
63482012-01-31 Glenn Morris <rgm@gnu.org>
6349
60dc2671 6350 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6351 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6352 Allow named functions to be used as the cdr of :variable.
e58e988a 6353
7a3f511d
GM
63542012-01-30 Glenn Morris <rgm@gnu.org>
6355
6356 * emacs-lisp/authors.el (authors-fixed-entries):
6357 Remove reference to deleted file rnewspost.el.
6358
cb882333
JB
63592012-01-29 Juanma Barranquero <lekktu@gmail.com>
6360
6361 * window.el (window-with-parameter): Remove unused variable `windows'.
6362 (window--side-check): Remove unused variable `code'.
6363 (window--resize-siblings): Remove unused variable `first'.
6364 (adjust-window-trailing-edge): Remove unused variable `failed'.
6365 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6366 Use `let', not `let*'.
6367 (balance-windows-2): Remove unused variable `found'.
6368 (window--state-put-2): Remove unused variable `splits'.
6369 (window-state-put): Remove unused variable `selected'.
6370 (same-window-p): Use `string-match-p'.
6371 (display-buffer-assq-regexp): Remove unused variable `value'.
6372 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6373 Mark argument ALIST as ignored.
6374 (pop-to-buffer): Remove unused variable `old-window'.
6375
907201af
EZ
63762012-01-29 Eli Zaretskii <eliz@gnu.org>
6377
6378 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6379 and .lzma compressed files.
6380
ea162670
CY
63812012-01-29 Chong Yidong <cyd@gnu.org>
6382
5b95ee8a
CY
6383 * frame.el (window-system-default-frame-alist): Doc fix.
6384
ea162670
CY
6385 * dynamic-setting.el (font-setting-change-default-font): Don't
6386 change the default face if SET-FONT argument is non-nil (Bug#9982).
6387
d6e6f4b1
SB
63882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6389
6390 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6391
0f29fa41 63922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6393
6394 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6395 breakpoints in files outside current directory (Bug#6098).
6396
db174434
CY
63972012-01-29 Chong Yidong <cyd@gnu.org>
6398
6b25e4e2
SE
6399 * progmodes/python.el: Require ansi-color at top-level.
6400
6df6ae42
JB
6401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6402 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6403 (lisp-mode-abbrev-table): Add doc.
6404 (lisp-mode-variables): Don't set local-abbrev-table.
6405 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6406
e70ee681
RW
64072012-01-28 Roland Winkler <winkler@gnu.org>
6408
6409 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6410
ace88aa2
RW
64112012-01-28 Roland Winkler <winkler@gnu.org>
6412
6413 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6414 (bibtex-set-dialect): Use it. Either set global values of
6415 dialect-dependent variables or bind these variables buffer-locally
6416 (Bug#10254).
6417 (bibtex-mode): Call bibtex-set-dialect via
6418 hack-local-variables-hook.
eb864a71
LM
6419 (bibtex-dialect): Update docstring.
6420 Add safe-local-variable predicate.
ace88aa2
RW
6421 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6422 bibtex-set-dialect.
6423 (bibtex-mode-map): Define menu for each dialect.
6424 (bibtex-entry): Fix docstring.
6425
93376c5b
CY
64262012-01-28 Chong Yidong <cyd@gnu.org>
6427
6428 * eshell/esh-arg.el (eshell-quote-argument): New function.
6429
6430 * eshell/esh-ext.el (eshell-invoke-batch-file):
6431 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6432 first arg to eshell-parse-command (Bug#10523).
6433
4372494f
DA
64342012-01-28 Drew Adams <drew.adams@oracle.com>
6435
6436 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6437 `default-directory' is non-nil.
6438
4d4ec1f8
EZ
64392012-01-28 Eli Zaretskii <eliz@gnu.org>
6440
6441 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6442 line that displays system-configuration-options. (Bug#9924)
6443
7c188927
DA
64442012-01-28 Drew Adams <drew.adams@oracle.com>
6445
6446 * descr-text.el (describe-char): Show information about POS, in
6447 addition to information about the character at POS. Improve and
6448 update the doc string. Change "code point" to "code point in
6449 charset", to avoid confusion with the character's Unicode code
6450 point shown above that. (Bug#10129)
6451
e0da685a
EZ
64522012-01-28 Eli Zaretskii <eliz@gnu.org>
6453
6454 * descr-text.el (describe-char): Show the raw character, not only
6455 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6456 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6457 for the reasons.
6458
70550acf
PH
64592012-01-28 Phil Hagelberg <phil@hagelb.org>
6460
eb864a71
LM
6461 * emacs-lisp/package.el (package-install):
6462 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6463
0ce8e868
CY
64642012-01-28 Chong Yidong <cyd@gnu.org>
6465
cb882333
JB
6466 * emacs-lisp/package.el (package-maybe-load-descriptor):
6467 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6468 (package-maybe-load-descriptor): Use it.
6469 (package-download-transaction): Fully load required packages
6470 inside the loop, so that `require' calls work (Bug#10593).
6471 (package-install): No need to call package-initialize now.
6472
2e7f3bea
CY
64732012-01-28 Chong Yidong <cyd@gnu.org>
6474
6e9bad14
CY
6475 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6476
f823b8ca
CY
6477 * tooltip.el (tooltip-mode): Doc fix.
6478 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6479
2680c309
CY
6480 * frame.el (set-cursor-color): Doc fix (Bug#352).
6481
d7a9e63b
CY
6482 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6483 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6484
2e7f3bea
CY
6485 * cus-edit.el (custom-buffer-create-internal): Fix search button
6486 action (Bug#10542).
2ae01800 6487 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6488
fc4f7a23
EW
64892012-01-27 Eduard Wiebe <usenet@pusto.de>
6490
6491 * dired.el (dired-mark-files-regexp):
6492 Include any subdirectory components. (Bug#10445)
6493
7dd37071
ML
64942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6495
6496 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6497 Handle [host]:port syntax. (Bug#10533)
6498
a268160b
AH
64992012-01-27 Alex Harsanyi <harsanyi@mac.com>
6500
6501 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6502
e43273ef
GM
65032012-01-26 Glenn Morris <rgm@gnu.org>
6504
6505 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6506 * term.el (term-raw-escape-map): Use Control-X-prefix.
6507 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6508
1edf595d
MR
65092012-01-25 Martin Rudalics <rudalics@gmx.at>
6510
6511 * window.el (window-state-get, window--state-get-1): Don't deal
6512 with fixed-sizeness of windows. Simplify code.
6513
fa8eafef
JC
65142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6515
6df6ae42
JB
6516 * window.el (window--state-get-1, window--state-put-2):
6517 Don't save and restore the mark.
fa8eafef 6518
0b21c100
CY
65192012-01-25 Chong Yidong <cyd@gnu.org>
6520
6521 * custom.el (custom-variable-p): Doc fix.
6522
5ae1a6c8
GM
65232012-01-25 Glenn Morris <rgm@gnu.org>
6524
40047858
GM
6525 * dired.el (dired-goto-file): Handle some of the more common
6526 characters that `ls -b' escapes. (Bug#10596)
6527
5ddce96c
GM
6528 * progmodes/compile.el (compilation-next-error-function):
6529 Respect compilation-first-column in the "*compilation*" buffer.
6530 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6531
5ae1a6c8
GM
6532 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6533
b559f1a9
GM
65342012-01-24 Glenn Morris <rgm@gnu.org>
6535
6536 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6537
6725d21a
JD
65382012-01-24 Julien Danjou <julien@danjou.info>
6539
6540 * color.el (color-rgb-to-hsl): Fix value computing.
6541 (color-hue-to-rgb): New function.
6542 (color-hsl-to-rgb): New function.
6543 (color-clamp, color-saturate-hsl, color-saturate-name)
6544 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6545 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6546
70df4bbe
GM
65472012-01-24 Glenn Morris <rgm@gnu.org>
6548
6549 * vc/vc-rcs.el (vc-rcs-create-tag):
6550 * vc/vc-sccs.el (vc-sccs-create-tag):
6551 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6552
802a2ae2
ML
65532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6554
6555 * eshell/esh-util.el (eshell-read-hosts-file):
6556 Skip comment lines. (Bug#10549)
6557
d7128bb1
ML
6558 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6559
d1a5c3b4
JB
65602012-01-23 Juanma Barranquero <lekktu@gmail.com>
6561
2724d9c7
JB
6562 * subr.el (display-delayed-warnings): Doc fix.
6563 (collapse-delayed-warnings): New function to collapse identical
6564 adjacent warnings.
6565 (delayed-warnings-hook): Add it.
d1a5c3b4 6566
a5509865
MA
65672012-01-22 Michael Albinus <michael.albinus@gmx.de>
6568
6569 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6570
a5509865
MA
6571 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6572 (tramp-default-user-alist): Don't add "pscp".
6573 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6574 property "login-as", if set. (Bug#10530)
6575
cc6d5805
MA
65762012-01-21 Michael Albinus <michael.albinus@gmx.de>
6577
6578 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6579 "plink1" and "psftp". (Bug#10530)
6580
65812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6582
6583 * international/mule-cmds.el (prefer-coding-system): Show a
6584 warning message if the default value of file-name-coding-system
6585 was not changed.
6586
f0960428
JC
65872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6588
cb882333
JB
6589 * windmove.el (windmove-reference-loc):
6590 Fix windmove-reference-loc miscalculation.
f0960428 6591
dd6f2a63
JB
65922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6593
6594 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6595 default unit.
6596
7b447e9b
GM
65972012-01-21 Glenn Morris <rgm@gnu.org>
6598
117a9ea1
GM
6599 * international/mule.el (auto-coding-alist): Add .tbz.
6600
7b447e9b
GM
6601 * files.el (local-enable-local-variables): Doc fix.
6602 (inhibit-local-variables-regexps): Rename from
6603 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6604 Doc fix. Add some extensions from auto-coding-alist.
6605 (inhibit-local-variables-suffixes):
6606 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6607 (inhibit-local-variables-p):
6608 New function, extracted from set-auto-mode-1.
6609 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6610 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6611 (hack-local-variables): Doc fix. Make the mode-only case
6612 respect enable-local-variables and friends.
6613 Respect inhibit-local-variables-regexps for file-locals, but
6614 not for directory-locals.
6615 (set-visited-file-name):
6616 Take account of inhibit-local-variables-regexps.
6617 Whether it applies may change as the file name is changed.
6618 * jka-cmpr-hook.el (jka-compr-install):
6619 * jka-compr.el (jka-compr-uninstall):
6620 Update for inhibit-first-line-modes-suffixes name change.
6621
dd6e3cdd
MR
66222012-01-20 Martin Rudalics <rudalics@gmx.at>
6623
6624 * help-macro.el (make-help-screen): Temporarily restore original
6625 binding for minor-mode-map-alist (Bug#10454).
6626
0d0deb38
JD
66272012-01-19 Julien Danjou <julien@danjou.info>
6628
6629 * color.el (color-name-to-rgb): Use the white color to find the max
6630 color component value and return correctly computed values.
6631 (color-name-to-rgb): Add missing float conversion for max value.
6632
34a02f46
MR
66332012-01-19 Martin Rudalics <rudalics@gmx.at>
6634
6635 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6636 special state value for window-persistent-parameters.
6637 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6638 (window--state-put-2): Reset all window parameters to nil before
6639 assigning values of persistent parameters.
6640
606c44c4
AM
66412012-01-18 Alan Mackenzie <acm@muc.de>
6642
6643 Eliminate sluggishness and hangs in fontification of "semicolon
6644 deserts".
6645
cb882333
JB
6646 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6647 Change value 10000 -> 3000.
606c44c4
AM
6648 (c-state-safe-place): Reformulate so it doesn't stack up an
6649 infinite number of wrong entries in c-state-nonlit-pos-cache.
6650 (c-determine-limit-get-base, c-determine-limit): New functions to
6651 determine backward search limits disregarding literals.
6652 (c-find-decl-spots): Amend commenting.
6653 (c-cheap-inside-bracelist-p): New function which detects "={".
6654
6655 * progmodes/cc-fonts.el
6656 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6657 backward search.
6658 (c-font-lock-declarations): Fix an occurrence of point being
6659 undefined. Check additionally for point being in a bracelist or
6660 near a macro invocation without a semicolon so as to avoid a
6661 fruitless time consuming search for a declarator. Give a more
6662 precise search limit for declarators using the new
6663 c-determine-limit.
6664
f3860cea
GM
66652012-01-18 Glenn Morris <rgm@gnu.org>
6666
6667 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6668 (set-auto-mode): Doc fixes.
6669
1db03b16
GM
66702012-01-17 Glenn Morris <rgm@gnu.org>
6671
0e6038be
GM
6672 * isearch.el (search-nonincremental-instead): Fix doc typo.
6673
1db03b16
GM
6674 * dired.el (dired-insert-directory): Handle newlines in directory name.
6675 (dired-build-subdir-alist): Unescape newlines in directory name.
6676
4cb0aa75
MA
66772012-01-17 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6680 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6681 (tramp-action-terminal): Use it. (Bug#10530)
6682
1d00653d
SM
66832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6686
6a6ee00d
MR
66872012-01-16 Martin Rudalics <rudalics@gmx.at>
6688
6689 * window.el (window-state-ignored-parameters): Remove variable.
6690 (window--state-get-1): Rename argument MARKERS to IGNORE.
6691 Handle persistent window parameters. Make copy of clone-of
6692 parameter only if requested. (Bug#10348)
6693 (window--state-put-2): Install a window parameter only if it has
6694 a non-nil value or an existing parameter shall be overwritten.
6695
97912def
MA
66962012-01-15 Michael Albinus <michael.albinus@gmx.de>
6697
6698 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6699
688070a5
EZ
67002012-01-14 Eli Zaretskii <eliz@gnu.org>
6701
6702 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6703 don't pass the (nil) value of `upnode' to string-match.
6704
301afadc
CY
67052012-01-14 Chong Yidong <cyd@gnu.org>
6706
6707 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6708 Fix values recognized by the cursorBlink resource.
301afadc 6709
9e5788aa
PE
67102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6711
6712 * epg.el (epg--make-temp-file): Avoid permission race condition
6713 when running on old Emacs versions (bug#10403).
6714
3cdb7f5a
GM
67152012-01-14 Glenn Morris <rgm@gnu.org>
6716
6717 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6718
8c82b1b4
AM
67192012-01-13 Alan Mackenzie <acm@muc.de>
6720
6721 Fix filling for when filladapt mode is enabled.
6722
6723 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6724 c-mask-paragraph, pass in `fill-paragraph' rather than
6725 `fill-region-as-paragraph'. (This is a reversion of a previous
6726 change.)
eb864a71
LM
6727 * progmodes/cc-mode.el (c-basic-common-init):
6728 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6729
e517eda4
GM
67302012-01-13 Glenn Morris <rgm@gnu.org>
6731
1498536e
GM
6732 * dired.el (dired-switches-escape-p): New function.
6733 (dired-insert-directory): Use dired-switches-escape-p.
6734 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6735
e517eda4
GM
6736 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6737
328f984d
GM
67382012-01-12 Glenn Morris <rgm@gnu.org>
6739
6740 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6741 changes in adaptive-fill-regexp. (Bug#10276)
6742
2cc769a8
AM
67432012-01-11 Alan Mackenzie <acm@muc.de>
6744
6745 Fix Emacs bug #10463 - put `widen's around the critical spots.
6746
1d00653d 6747 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6748 widen around each invocation of c-state-pp-to-literal. Remove an
6749 unused let variable.
6750
e52c37fa
GM
67512012-01-11 Glenn Morris <rgm@gnu.org>
6752
6753 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6754 Doc fix.
e52c37fa 6755
96f8741e
CY
67562012-01-10 Chong Yidong <cyd@gnu.org>
6757
1d00653d
SM
6758 * net/network-stream.el (network-stream-open-starttls):
6759 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6760 response to the capability command.
6761
b09a806e
GM
67622012-01-10 Glenn Morris <rgm@gnu.org>
6763
6764 * mail/unrmail.el (unrmail): Tweak previous change.
6765
7655cb66
CY
67662012-01-09 Chong Yidong <cyd@gnu.org>
6767
6768 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6769
9d5a8f0b
AM
67702012-01-08 Alan Mackenzie <acm@muc.de>
6771
6772 Optimise font locking in long enum definitions.
6773
6774 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6775 arm to a cond form to handle enums.
6776 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6777 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6778
9a0115ab 67792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6780
6781 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6782 (Bug#10401)
6bb72cbd 6783
f186bb95
LMI
67842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785
29232a68
LMI
6786 * faces.el (set-face-attribute): Clarify the meaning of the nil
6787 frame (bug#10294).
6788
4e5d086d
LMI
6789 * subr.el (with-selected-frame): Mention that the selected frame
6790 is restored (bug#9980).
6791
8e66aebe
LMI
6792 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6793 (bug#9759).
6794
cd394be1 6795 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6796 (password-read): Don't autoload unused function.
6797
adf4e762
JB
67982012-01-07 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * progmodes/which-func.el (which-func-mode): Turn into a
6801 non-interactive function and mark as obsolete (bug#10428).
6802
89bd9ccd
CY
68032012-01-06 Chong Yidong <cyd@gnu.org>
6804
6805 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6806 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6807 functions, along with 1 and -1.
6808
4afee9d5
EZ
68092012-01-06 Eli Zaretskii <eliz@gnu.org>
6810
6811 * time.el (display-time-load-average)
6812 (display-time-default-load-average): Doc fixes. See the thread
6813 starting at
6814 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6815 for the details.
6816
536aea70
GM
68172012-01-06 Glenn Morris <rgm@gnu.org>
6818
665ae865
GM
6819 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6820 has no messages. (Bug#10377)
6821
c869783d
GM
6822 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6823 than Info-edit. (Bug#10385)
6824
2bb4227e
GM
6825 * time.el (display-time-load-average, display-time-next-load-average):
6826 Doc fixes.
6827
7d5944b9
GM
6828 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6829 local setting of buffer-read-only to the input buffer. (Bug#10419)
6830
536aea70
GM
6831 * calendar/calendar.el (calendar-mode):
6832 Locally set scroll-margin to 0. (Bug#10379)
6833
7dccca16
UM
68342012-01-06 Ulrich Mueller <ulm@gentoo.org>
6835
6836 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6837
afbb7930
GM
68382012-01-05 Glenn Morris <rgm@gnu.org>
6839
6840 * eshell/em-unix.el (diff-no-select): Autoload it.
6841 (eshell/diff): Use diff-no-select. (Bug#10420)
6842
04482335
CY
68432012-01-05 Chong Yidong <cyd@gnu.org>
6844
7baca3bc
CY
6845 * shell.el (shell-dynamic-complete-functions): Revert last change.
6846 (shell-command-completion-function): New function.
6847 (shell-completion-vars): Use it to implement
6848 shell-completion-execonly (Bug#10417).
6849
04482335
CY
6850 * custom.el (enable-theme): Don't set custom-safe-themes.
6851
1d00653d
SM
6852 * cus-theme.el (custom-theme-merge-theme):
6853 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6854
bb5aa5d6
MM
68552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6856
6857 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6858 first prompt in `sql-interacive-mode'.
6859 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6860 keywords.
6df6ae42 6861 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6862 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6863 context of original buffer. Invoke `sql-login-hook'.
6864
a7183d7c
EZ
68652012-01-04 Eli Zaretskii <eliz@gnu.org>
6866
6867 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6868 letters in cite-prefix.
6869
a1eacd1e
LMI
68702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6871
6872 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6873
787cdb34
CY
68742012-01-03 Chong Yidong <cyd@gnu.org>
6875
1d00653d
SM
6876 * shell.el (shell-dynamic-complete-functions):
6877 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6878 comint-filename-completion first (Bug#10417).
6879
30710442
RS
68802012-01-02 Richard Stallman <rms@gnu.org>
6881
6882 * battery.el (battery-status-function):
6883 Detect when to use battery-yeeloong-sysfs.
6884 (battery-echo-area-format): Add string for Yeeloong.
6885 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6886 (battery-yeeloong-sysfs): New function.
6887
f75bfc33
CY
68882012-01-02 Chong Yidong <cyd@gnu.org>
6889
6890 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6891 (dirtrack): Merge code for handling relative filenames in prompt
6892 from shell-dir-cookie-watcher.
6893 (dirtrack-debug-message): New arg to avoid excess format calls.
6894
6895 * shell.el (shell-dir-cookie-re): Variable deleted.
6896 (shell-dir-cookie-watcher): Function deleted.
6897 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6898 with dirtrack-mode.
6899
651e947e
EZ
69002012-01-01 Eli Zaretskii <eliz@gnu.org>
6901
1d00653d
SM
6902 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6903 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6904 libgnutls-26.dll.
6905
94d4c7dc
AS
69062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6907
6908 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6909
8d43f3cd
EZ
69102011-12-31 Eli Zaretskii <eliz@gnu.org>
6911
6912 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6913 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6914
98c8795a
MA
69152011-12-29 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6918 also for alternative shells.
6919 (tramp-open-connection-setup-interactive-shell): Check, whether
6920 the shell is a busybox.
6921 (tramp-send-command): Don't suppress multiple prompts for
6922 busyboxes, it hurts.
6923
51281b32
CY
69242011-12-28 Chong Yidong <cyd@gnu.org>
6925
6926 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6927 (gdb-get-source-file): Move mode line update to
6928 gdb-get-source-file (Bug#10087).
6929
2170cb53
CY
69302011-12-25 Chong Yidong <cyd@gnu.org>
6931
6932 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6933 gud-gdb-marker-filter without taking it as an argument.
6934 (gud-gdb-run-command-fetch-lines): Caller changed.
6935 (gud-gdb-completion-function): New variable.
6936 (gud-gdb-completion-at-point): Use it.
6937 (gud-gdb-completions-1): Split from gud-gdb-completions.
6938
6939 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6940 function as separate arguments.
6941 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6942 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6943 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6944 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6945 (gdb-stopped, def-gdb-auto-update-trigger)
6946 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6947 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6948 Callers changed.
2170cb53
CY
6949 (gud-gdbmi-completions): New function.
6950 (gdb): Use it for generating the completion table.
6951
be8b11bb
AM
69522011-12-24 Alan Mackenzie <acm@muc.de>
6953
6954 Introduce a mechanism to widen the region used in context font
1d00653d 6955 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6956
1d00653d
SM
6957 * progmodes/cc-langs.el (c-before-font-lock-functions):
6958 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6959 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6960 functions to be run just before context (etc.) font locking.
6961
6962 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6963 New, functionality extracted from
be8b11bb 6964 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6965 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6966 (c-after-change): Set c-in-after-change-fontification.
6967 (c-set-fl-decl-start): Rejig its interface, so it can be called
6968 from both after-change and context fontifying.
b81d40f0
JB
6969 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6970 New functions.
6971 (c-standard-font-lock-fontify-region-function): New variable.
6972 (c-font-lock-fontify-region): New function.
be8b11bb 6973
341cf6ac
JL
69742011-12-24 Juri Linkov <juri@jurta.org>
6975
6976 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6977 (Bug#10348)
6978
bffcee0a
MA
69792011-12-23 Michael Albinus <michael.albinus@gmx.de>
6980
6981 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6982 existence of source file. (Bug#10325)
6983
cb5e207c
AM
69842011-12-23 Alan Mackenzie <acm@muc.de>
6985
6986 Fix unstable fontification inside templates.
6987
b81d40f0
JB
6988 * progmodes/cc-langs.el (c-before-font-lock-functions):
6989 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6990 additionally has c-set-fl-decl-start. The other languages (apart
6991 from AWK) have that as a single entry.
6992
b81d40f0
JB
6993 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6994 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6995 c-set-fl-decl-start.
6996
b81d40f0
JB
6997 * progmodes/cc-mode.el (c-common-init, c-after-change):
6998 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6999 (c-set-fl-decl-start): New function, extracted from
7000 c-font-lock-enclosing-decls and enhanced.
7001
60ff536c
JB
70022011-12-23 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7005
1c4757d6
JL
70062011-12-22 Juri Linkov <juri@jurta.org>
7007
7008 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7009
d031f2c7
CY
70102011-12-22 Chong Yidong <cyd@gnu.org>
7011
7012 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7013
bace743a
DA
70142011-12-21 Drew Adams <drew.adams@oracle.com>
7015
7016 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7017
728a1f2b
JC
70182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7019
7020 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7021
0d373f73
TZ
70222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7023
fec0aaa4
TZ
7024 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7025 highlighting and support. Fix up comments for capitalization.
7026 (cfengine-mode-debug): New var.
7027 (cfengine3-mode): Change the modeline indicator to "CFE3".
7028 (cfengine3-font-lock-keywords): Improve defun highlighting.
7029 (cfengine2-actions): Rename from `cfengine-actions'.
7030 (cfengine2-font-lock-keywords): Rename from
7031 `cfengine-font-lock-keywords'.
7032 (cfengine2-imenu-expression): Rename from
7033 `cfengine-imenu-expression'.
7034 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7035 (cfengine2-beginning-of-defun): Rename from
7036 `cfengine-beginning-of-defun'.
7037 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7038 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7039 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7040 modeline indicator to "CFE2".
7041 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7042 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7043
bc86f573
CY
70442011-12-21 Chong Yidong <cyd@gnu.org>
7045
7046 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7047 filename argument.
7048
d45ba96b
MR
70492011-12-20 Martin Rudalics <rudalics@gmx.at>
7050
7051 * window.el (window-normalize-buffer-to-display): Remove.
7052 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7053
a6198c90
CY
70542011-12-19 Chong Yidong <cyd@gnu.org>
7055
7056 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7057 Don't signal an error in a predicate function; return non-nil.
7058 (vc-dir-mark-file): Move the error here.
7059 (vc-dir-mark-unmark): If acting on the region, keep going if one
7060 of the entries cannot be marked/unmarked.
7061 (vc-dir-mark-all-files): If current entry is a directory, mark
7062 only child files, as documented.
7063
34c5fb55
VB
70642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7065
7066 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7067 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7068 addition.
7069
c803b2b7
JD
70702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7071
7072 * term/ns-win.el (ns-get-selection-internal)
7073 (ns-store-selection-internal): Declare.
1154d12e
JB
7074 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7075 Declare as obsolete.
7076 (ns-get-pasteboard, ns-paste-secondary):
7077 Use ns-get-selection-internal.
7078 (ns-set-pasteboard, ns-copy-including-secondary):
7079 Use ns-store-selection-internal.
c803b2b7 7080
9cff91f8 70812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7082
7083 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7084 (vc-deduce-fileset): Doc fix.
99a289d9 7085
f16c898a
AS
70862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7087
7088 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7089
763237c4
SS
70902011-12-13 Sam Steingold <sds@gnu.org>
7091
7092 * man.el (Man-getpage-in-background): When running under a
7093 window-system, ignore $MANWIDTH and $COLUMNS.
7094
5fc1c122
KH
70952011-12-15 Kenichi Handa <handa@m17n.org>
7096
7097 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7098 (setup-ethiopic-environment-internal): Comment out key-binding for
7099 ethio-toggle-punctuation.
7100
13d49cbb
AM
71012011-12-13 Alan Mackenzie <acm@muc.de>
7102
898169a2
AM
7103 Add the switch statement to AWK Mode.
7104
7a71b18d 7105 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7106 "default" to the keywords regexp.
7107
7a71b18d 7108 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7109 expression as the rest.
1d00653d
SM
7110 (c-nonlabel-token-key): Allow string literals for AWK.
7111 Refactor for the other modes.
898169a2 7112
13d49cbb 7113 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7114 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7115 routines. Limit backward searching in c-font-lock-enclosing.decl.
7116
7117 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7118 pp-state and literal type in addition to the limits.
1d00653d 7119 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7120 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7121 (c-slow-in-literal, c-fast-in-literal): Remove.
7122 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7123
7124 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7125 being in a literal. Add a limit for backward searching.
7126
7127 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7128 c-slow-in-literal.
7129
15e0efc7
SM
71302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7133
454592a6
MR
71342011-12-13 Martin Rudalics <rudalics@gmx.at>
7135
7136 * window.el (delete-other-windows): Use correct frame in call to
7137 window-with-parameter.
7138
87393f26
DP
71392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7140
7141 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7142 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7143 (makefile-gmake-statements, makefile-makepp-statements):
7144 Use it and add new makepp keywords.
7145 (makefile-makepp-font-lock-keywords): Add new patterns.
7146 (makefile-match-function-end): Match new [...] and [[...]].
7147
11636b22
JB
71482011-12-11 Juanma Barranquero <lekktu@gmail.com>
7149
7150 * ses.el (ses-call-printer-return, ses-cell-property-get)
7151 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7152 (ses-create-cell-variable, ses-reset-header-string)
7153 (ses-cell-set-formula, ses-repair-cell-reference-all)
7154 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7155 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7156 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7157 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7158 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7159 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7160 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7161 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7162 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7163 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7164 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7165 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7166
cf018193
VB
71672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7168
7169 * ses.el: The overall change is to add cell renaming, that is
7170 setting fancy names for cell symbols other than name matching
7171 "\\`[A-Z]+[0-9]+\\'" regexp .
7172 (ses-create-cell-variable): New defun.
7173 (ses-relocate-formula): Relocate formulas only for cells the
7174 symbols of which are not renamed, i.e. symbols whose names do not
7175 match regexp "\\`[A-Z]+[0-9]+\\'".
7176 (ses-relocate-all): Relocate values only for cells the symbols of
7177 which are not renamed.
7178 (ses-load): Create cells variables as the (ses-cell ...) are read,
7179 in order to check row col consistency with cell symbol name only
7180 for cells that are not renamed.
7181 (ses-replace-name-in-formula): New defun.
7182 (ses-rename-cell): New defun.
7183
ee957461
CY
71842011-12-11 Chong Yidong <cyd@gnu.org>
7185
7186 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7187 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7188
9a9e9ef0
MR
71892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7190
7191 * window.el (other-window): Fix docstring.
7192
92a8eba5
EZ
71932011-12-10 Eli Zaretskii <eliz@gnu.org>
7194
7195 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7196 `from' or `to' address before taking its substring.
7197 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7198 encoded name is chopped in the middle of the encoded string, and
7199 thus displayed encoded.
7200
e152e577
JB
72012011-12-10 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7204
e5d84bfe
EZ
72052011-12-10 Eli Zaretskii <eliz@gnu.org>
7206
7207 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7208 to use texinfo-update-node and commands that call it if the
7209 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7210 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7211 (texinfo-all-menus-update, texinfo-master-menu)
7212 (texinfo-update-node, texinfo-every-node-update)
7213 (texinfo-multiple-files-update): Doc fix. Warn against updating
7214 all the @node lines.
7215 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7216 argument is numeric. Explain better in the doc string what the
7217 function really does.
7218 (texinfo-insert-master-menu-list): Improve the error message
7219 displayed if there's no menu in the Top node.
7220 (Bug#2975) See also this thread:
e5d84bfe
EZ
7221 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7222
1d84e9bb
MG
72232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7224
7225 * speedbar.el (speedbar-supported-extension-expressions):
7226 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7227
382c953b
JB
72282011-12-09 Juanma Barranquero <lekktu@gmail.com>
7229
7230 * printing.el (pr-mode-alist):
7231 * simple.el (filter-buffer-substring-functions)
7232 (completion-list-insert-choice-function):
7233 * window.el (window-with-parameter, window-atom-root)
7234 (window-sides-slots, window-size-fixed, window-min-delta)
7235 (window-max-delta, window--resize-mini-window)
7236 (window--resize-child-windows-normal, window-tree)
7237 (delete-other-windows, quit-window, split-window)
7238 (display-buffer-record-window, special-display-buffer-names)
7239 (special-display-regexps, special-display-popup-frame)
7240 (same-window-p, split-window-sensibly)
7241 (display-buffer-overriding-action, display-buffer-alist)
7242 (display-buffer-base-action, display-buffer, switch-to-buffer)
7243 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7244 (fit-window-to-buffer, recenter-positions)
7245 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7246 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7247 and remove unneeded backslashes in docstrings.
7248
39c9faef
SM
72492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7250
98449af8
SM
7251 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7252
39c9faef
SM
7253 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7254 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7255 end in ".mk".
7256 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7257 when reading the makefile (bug#10116).
7258
86ed9fdc
SM
72592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7262 (bug#10116).
7263
5580f89d
GM
72642011-12-06 Glenn Morris <rgm@gnu.org>
7265
7266 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7267
28d3917c
CY
72682011-12-06 Chong Yidong <cyd@gnu.org>
7269
7270 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7271
a98edce9
JB
72722011-12-06 Juanma Barranquero <lekktu@gmail.com>
7273
7274 * textmodes/table.el (table-shorten-cell): Fix typo.
7275
e65adfac
CG
72762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7277
7278 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7279
71cc0b74
EZ
72802011-12-05 Eli Zaretskii <eliz@gnu.org>
7281
7282 * descr-text.el (describe-char): Fix display of strong
7283 right-to-left characters and directional embeddings and overrides.
7284
7285 * simple.el (what-cursor-position): Fix display of codepoints of
7286 strong right-to-left characters.
7287
315bc30d
CY
72882011-12-05 Chong Yidong <cyd@gnu.org>
7289
7290 * faces.el (read-color): Doc fix.
7291
58a70b94
GM
72922011-12-05 Glenn Morris <rgm@gnu.org>
7293
7294 * align.el (align--set-marker): Add doc-string.
7295 Don't try to move something that is not a marker. (Bug#10216)
7296
5158face
GM
72972011-12-04 Glenn Morris <rgm@gnu.org>
7298
7299 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7300 overly zealous deletion of trailing whitespace.
7301
520fca41
JB
73022011-12-04 Juanma Barranquero <lekktu@gmail.com>
7303
7304 * server.el (server-delete-client): On Windows, do not try to delete
7305 the only terminal.
7306 (server-process-filter): On Windows, treat requests for a tty frame as
7307 if they were for a GUI frame if the running server is in GUI mode.
7308
5e605a2e
GM
73092011-12-03 Glenn Morris <rgm@gnu.org>
7310
7311 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7312
5c3fe83f
SM
73132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7314
6f5e57e7
SM
7315 * electric.el: Streamline electric-indent's hook.
7316 (electric-indent-chars): Revert to simple list.
7317 (electric-indent-functions): New var.
7318 (electric-indent-post-self-insert-function): Use it.
7319
5c3fe83f
SM
7320 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7321 there's no inferior buffer (bug#10196).
7322 (prolog-consult-compile): Don't use toggle-read-only.
7323
6bdac736
MA
73242011-12-02 Michael Albinus <michael.albinus@gmx.de>
7325
7326 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7327 interrupt. (Bug#10187)
7328
6131ba7f
SM
73292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7330
99c79fee
SM
7331 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7332 (bug#9160).
7333
6131ba7f
SM
7334 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7335 (bug#10191).
7336
cb0a02ea
JL
73372011-12-02 Juri Linkov <juri@jurta.org>
7338
7339 * info.el (Info-search): Display "end of manual" when Isearch
7340 reaches the end of single-file Info manual. (Bug#9918)
7341
66e0570c
EZ
73422011-12-02 Eli Zaretskii <eliz@gnu.org>
7343
7344 * isearch.el (isearch-message-prefix): Run the input method part
7345 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7346
02b16839
JL
73472011-12-02 Juri Linkov <juri@jurta.org>
7348
7349 * isearch.el (isearch-occur): Use `word-search-regexp' for
7350 `isearch-word'.
7351 (isearch-search-and-update): Add condition for `isearch-word' and
7352 call `word-search-regexp'. (Bug#10145)
7353
0b950688
GM
73542011-12-01 Glenn Morris <rgm@gnu.org>
7355
7356 * eshell/em-hist.el (eshell-hist-initialize):
7357 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7358 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7359
9505c3c7
SM
73602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7363
1bbe96b2 73642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7365
a1beca85
SM
7366 * progmodes/verilog-mode.el (verilog-pretty-expr):
7367 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7368 verilog, such as += *= and the like.
7369 (verilog-assignment-operator-re): Regular expression to find the
7370 assigment operator in a verilog assignment.
7371 (verilog-assignment-operation-re): Regular expression to find an
7372 assignment statement for pretty-expr.
7373 (verilog-in-attribute-p): Query returns true if point is in an
7374 attribute context; used to skip these for expression line up from
7375 pretty-expr.
7376 (verilog-in-parameter-p): Query returns true if point is in an
7377 parameter definition context; used to skip these for expression
7378 line up from pretty-expr.
7379 (verilog-in-parenthesis-p): Query returns true if point is in a
7380 parenthetical expression, specifically ( ) but not [ ] or { };
7381 used by pretty-expr.
7382 (verilog-just-one-space): If there is no space, don't add one.
7383 (verilog-get-lineup-indent-2): Specifically skip just attribute
7384 contexts for expression lineup, rather than skipping all
7385 parenthetical expressions.
7386 (verilog-calculate-indent): Fix comment, and fix indent.
7387 (verilog-do-indent): Indent declarations in lists (suggested by
7388 Joachim Lechner).
7389 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7390 skeleton items.
7391 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7392 by Alain Mellan).
7393
1bbe96b2 73942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7395
7396 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7397 parameters with embedded comments. Reported by Ray Stevens.
7398 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7399 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7400 Reported by Tim Holt.
7401 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7402 instantiated by upper module causing wrong expansion until AUTOed a
7403 second time. Reported by K C Buckenmaier.
7404 (verilog-diff-auto): Fix showing .* as a difference when
7405 `verilog-auto-star-save' off. Reported by Dan Dever.
7406 (verilog-auto-reset, verilog-read-always-signals)
7407 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7408 temporary signals in reset list if
7409 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7410 style to each signal's assignment type, bug381.
7411 Reported by Thomas Esposito.
6288f0ca
WS
7412 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7413 (verilog-uvm-statement-re): Support UVM indentation and
7414 highlighting, with old OVM keywords only.
a1beca85 7415 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7416 Support AUTOTIEOFF creating non-wire data types.
7417 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7418 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7419 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7420 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7421 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7422 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7423 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7424 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7425 non-numeric vector width. Reported by Alex Reed.
7426 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7427 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7428 (verilog-auto-delete-trailing-whitespace):
7429 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7430 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7431 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7432 Fix verilog-scan-cache corruption when running user AUTO expansion
7433 hooks that call indentation routines.
7434 (verilog-simplify-range-expression): Fix typo ignoring lower case
7435 identifiers.
7436 (verilog-delete-auto): Fix delete-autos to also remove user created
7437 automatics, as long as they start with AUTO.
7438 (verilog-batch-diff-auto, verilog-diff-auto)
7439 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7440 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7441 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7442 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7443 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7444 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7445 is disabled and its cache will get corrupt, causing AUTOS not to
7446 expand. Instead use only -quick functions.
7447 (verilog-scan-region): Fix scanning over escaped quotes.
7448 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7449 (verilog-re-search-backward-quick)
7450 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7451 related functions now ignore strings, to fix misparsing of strings
7452 with magic comments embedded in them.
a1beca85
SM
7453 (verilog-read-auto-template):
7454 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7455 Reported by Brad Dobbie.
7456 (verilog-read-auto-template):
7457 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7458 Reported by Brad Dobbie.
6288f0ca
WS
7459 (verilog-auto-inst, verilog-auto-inst-param)
7460 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7461 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7462 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7463 debugging templates without merge conflicts, bug357.
7464 Reported by Brad Dobbie.
7465 (verilog-read-auto-template):
7466 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7467 Reported by Brad Dobbie.
7468 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7469 abbrevs so user won't be asked to save.
7470 (verilog-read-auto-lisp-present): Fix to start at beginning of
7471 buffer in case called outside of verilog-auto.
7472 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7473 to "X-2". Reported by Matthew Myers.
7474 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7475 all inputs from module templates. Reported by Leith Johnson.
7476 (verilog-module-inside-filename-p): Fix locating programs as with
7477 modules.
7478 (verilog-auto-inst-port): Fix vl-width expressions when using
7479 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7480 (verilog-decls-get-regs, verilog-decls-get-signals,
7481 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7482 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7483 verilog-read-decls): Combine reg and wire structures into one var
7484 structure to represent SystemVerilog concepts.
7485 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7486 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7487 (verilog-auto-wire-type, verilog-insert-definition):
7488 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7489 SystemVerilog "logic" keyword instead of "wire"/"reg".
7490 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7491 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7492 ifdef or generate if so there's not a driver conflict).
7493 Reported by Matthew Myers.
7494 (verilog-auto-declare-nettype, verilog-insert-definition):
7495 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7496 `default_nettype none. Reported by Julian Gorfajn.
7497 (verilog-read-always-signals-recurse, verilog-read-decls)
7498 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7499 malformed end statement, bug325. Reported by Joshua Wise and
7500 Andrew Drake.
7501 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7502 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7503 when expanding .* in interfaces, bug320.
7504 Reported by Pierre-David Pfister.
6288f0ca 7505 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7506 name and open parenthesis, bug317.
7507 Reported by Pierre-David Pfister.
6288f0ca
WS
7508 (verilog-simplify-range-expression): Fix simplification of
7509 multiplications inside AUTOWIRE connections, bug303.
7510 (verilog-auto-inst-port): Support parameter expansion in
7511 multidimensional arrays.
7512 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7513 after "assert property". Reported by Julian Gorfajn.
7514 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7515 with multiplication, bug303.
7516 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7517 Reported by Jan Frode Lonnum.
7518
1bbe96b2
GM
75192011-11-30 Juanma Barranquero <lekktu@gmail.com>
7520
7521 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7522 (hfy-shell-file-name, hfy-shell):
7523 * international/fontset.el (x-decompose-font-name): Fix typos.
7524
75252011-11-29 Ken Brown <kbrown@cornell.edu>
7526
7527 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7528 (gdb-version): Remove defvar.
7529 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7530 (gdb-gud-context-command, gdb-non-stop-handler)
7531 (gdb-current-context-command, gdb-stopped): Use it.
7532 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7533 (gdb-non-stop-handler): Don't enable pretty-printing here.
7534 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7535 non-stop mode. Use the following.
7536 (gdb-check-target-async): New defun.
7537 (gud-watch, gdb-stopped): Fix whitespace.
7538 (gdb-get-source-file): Don't try to display the source file if
7539 `gdb-main-file' is nil.
7540
75412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * align.el: Try to generate fewer markers (bug#10047).
7544 (align--set-marker): New macro.
7545 (align-region): Use it.
7546
c935221f
SM
75472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7550
e70b5064
CY
75512011-11-29 Chong Yidong <cyd@gnu.org>
7552
7553 * indent.el (indent-for-tab-command, indent-according-to-mode):
7554 Doc fix.
7555 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7556
f3af92b7
MA
75572011-11-29 Michael Albinus <michael.albinus@gmx.de>
7558
7559 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7560 aware of remote file names. (Bug#10124)
7561
ed472be9
CY
75622011-11-29 Chong Yidong <cyd@gnu.org>
7563
7564 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7565
24510c22
SM
75662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * files.el (find-file): Don't use force-same-window (bug#10144).
7569 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7570 use pop-to-buffer if the selected window can't be used.
7571 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7572
c60c3703
EZ
75732011-11-28 Eli Zaretskii <eliz@gnu.org>
7574
7575 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7576 special-mode-map.
7577
e95def75
CY
75782011-11-28 Chong Yidong <cyd@gnu.org>
7579
7580 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7581
c3f1c606
NR
75822011-11-27 Nick Roberts <nickrob@snap.net.nz>
7583
7584 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7585 gdb-get-source-file-list on gdb-create-source-file-list.
7586
00db469c
EZ
75872011-11-26 Eli Zaretskii <eliz@gnu.org>
7588
7589 * whitespace.el (whitespace-newline): Use a different foreground
7590 color for 16-color light-background displays.
7591
4ad3bc2a
CY
75922011-11-24 Chong Yidong <cyd@gnu.org>
7593
7594 * window.el (display-buffer--special-action): Doc fix.
7595
e9fce1ac
JB
75962011-11-25 Juanma Barranquero <lekktu@gmail.com>
7597
7598 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7599 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7600 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7601 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7602 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7603 (avl-tree-stack-first):
7604 * emacs-lisp/cconv.el (cconv--analyse-use):
7605 * net/gnutls.el (gnutls-negotiate): Fix typos.
7606
cb825e5d
GM
76072011-11-24 Glenn Morris <rgm@gnu.org>
7608
3adbe224
GM
7609 * lpr.el (lpr-windows-system, lpr-lp-system):
7610 * mail/binhex.el (binhex-begin-line):
7611 * progmodes/grep.el (grep-history, grep-find-history):
7612 * textmodes/flyspell.el:
7613 * vc/pcvs-defs.el (cvs-global-menu):
7614 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7615 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7616 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7617
321decc8
GM
7618 * net/tls.el: Fix case of "GnuTLS".
7619
420b63ad
GM
7620 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7621
cb825e5d
GM
7622 * version.el (emacs-build-system): Give it a doc-string.
7623
a0649f08
JL
76242011-11-24 Juri Linkov <juri@jurta.org>
7625
7626 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7627
c0bc0fd4
GM
76282011-11-24 Glenn Morris <rgm@gnu.org>
7629
7630 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7631 if called on a non-mime message just toggle the headers. (Bug#8006)
7632
20db1522
JB
76332011-11-24 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7636 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7637 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7638 (allout-rebullet-heading, allout-open-sibtopic)
7639 (allout-toggle-current-subtree-encryption)
7640 (allout-toggle-subtree-encryption, allout-encrypt-string)
7641 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7642 (allout-distinctive-bullets-string, allout-auto-activation):
7643 * window.el (window-normalize-buffer-to-display):
7644 * progmodes/verilog-mode.el (verilog-batch-indent):
7645 * textmodes/bibtex.el (bibtex-field-braces-opt)
7646 (bibtex-field-strings-opt):
7647 * vc/cvs-status.el (cvs-tree-merge):
7648 Fix typos.
7649
7262a87c
MA
76502011-11-23 Michael Albinus <michael.albinus@gmx.de>
7651
7652 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7653 `non-essential' to t, in order to avoid remote connections.
7654
283430a1
EZ
76552011-11-23 Eli Zaretskii <eliz@gnu.org>
7656
a1beca85
SM
7657 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7658 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7659 case-insensitively.
7660
d2992a38
ML
76612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7662
7663 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7664
50419064
GM
76652011-11-23 Glenn Morris <rgm@gnu.org>
7666
da94eca1
GM
7667 * paths.el (rmail-file-name): Reformat the doc-string so that it
7668 is picked up.
7669
9aac4de2
GM
7670 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7671 (rmail-auto-file): Ignore case in the "special" field names,
7672 as mail-fetch-field does for all others.
7673
8038d2d2
GM
7674 * mail/rmail.el (rmail-forward):
7675 * mail/rmailkwd.el (rmail-set-label):
7676 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7677 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7678
f3fe222a
GM
7679 * mail/rmail.el (rmail-current-message): Doc fix.
7680
50419064
GM
7681 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7682
28109f49
SM
76832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7686
394c65f1
GM
76872011-11-22 Glenn Morris <rgm@gnu.org>
7688
7689 * mail/rmailmm.el (test-rmail-mime-handler)
7690 (test-rmail-mime-bulk-handler)
7691 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7692
f2a0aa3a
JL
76932011-11-21 Juri Linkov <juri@jurta.org>
7694
1154d12e
JB
7695 * calc/calc.el (calc-read-key-sequence):
7696 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7697
9c34a344
LMI
76982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
7700 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7701 Tell the caller that the next line needs recomputation, even
7702 though it doesn't start a sexp (bug#10094).
7703
f04a3be9
SM
77042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7707
7978747f
SM
77082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7709
f04a3be9
SM
7710 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7711 Use force-same-window.
7978747f 7712
fe7a3057
JB
77132011-11-20 Juanma Barranquero <lekktu@gmail.com>
7714
7715 * descr-text.el (describe-char-unicode-data):
7716 * json.el (json-string-escape):
7717 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7718 (Footnote-unicode, Footnote-style-p):
7719 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7720
24901d61
CY
77212011-11-20 Chong Yidong <cyd@gnu.org>
7722
7723 * window.el (replace-buffer-in-windows): Restore interactive spec.
7724
bac7ff22
SM
77252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7726
24f3d7b9
SM
7727 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7728
bac7ff22
SM
7729 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7730 (byte-compile-global-not-obsolete-vars): New var.
7731 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7732 Use it.
7733 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7734
cd1181db
JB
77352011-11-20 Juanma Barranquero <lekktu@gmail.com>
7736
7737 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7738 * progmodes/pascal.el (electric-pascal-equal):
7739 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7740 * xml.el (xml-substitute-special): Fix typos.
7741
7fb18e9e
GM
77422011-11-20 Glenn Morris <rgm@gnu.org>
7743
7744 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7745 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7746 Doc fixes.
7747 (rmail-decode-mime-charset): Mark as obsolete.
7748
7749 * mail/rmailsum.el (rmail-message-regexp-p-1):
7750 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7751 Before using mime functions, check they are set. (Bug#10077)
7752
d5a6b3ba
JL
77532011-11-19 Juri Linkov <juri@jurta.org>
7754
7755 * info.el (Info-finder-find-node): Use `package--builtins' instead
7756 of `package-alist'. Use node names formed by the pattern "Keyword "
7757 and the keyword name.
7758
e981b61f
AS
77592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7760
1d00653d 7761 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7762
3ffbc301
JL
77632011-11-19 Juri Linkov <juri@jurta.org>
7764
7765 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7766 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7767 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7768 `old-history', `old-history-forward'. Add let-binding
7769 `window-selected'. Remove calls to `kill-buffer',
7770 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7771 before calling `Info-find-node', so `Info-find-node-2' will reread
7772 the Info file. Restore window positions only when `window-selected'
7773 is non-nil.
7774
30c62133
JL
77752011-11-19 Juri Linkov <juri@jurta.org>
7776
7777 * isearch.el (isearch-lazy-highlight-new-loop):
7778 Remove condition `(not isearch-error)'. (Bug#9918)
7779
7780 * misearch.el (multi-isearch-search-fun): Add condition
7781 `(not bound)' to ignore lazy-highlighting search.
7782 Add the search-failed message "end of multi" when the end of
7783 multi-sequence is reached. Uncapitalize the search-failed
7784 message "Repeat for next buffer".
7785
7786 * info.el (Info-search): Add the search-failed message
7787 "end of the manual" when the end of the manual is reached
7788 in Isearch mode.
7789
645ca9cf
JL
77902011-11-19 Juri Linkov <juri@jurta.org>
7791
7792 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7793 Use non-destructive `remove' instead of `delete' because
7794 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7795 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7796
df754f66
JL
77972011-11-19 Juri Linkov <juri@jurta.org>
7798
7799 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7800 to nil instead of binding `search-ring' and `regexp-search-ring'.
7801 (Bug#9185)
7802
0e23d96a
EZ
78032011-11-19 Eli Zaretskii <eliz@gnu.org>
7804
7805 * simple.el (line-move): Force movement by logical lines for any
7806 hscrolled window, not only when auto-hscroll-mode is on.
7807 (line-move-visual): Update doc string to that effect. (Bug#10076)
7808
8a6ccb66
AS
78092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7810
7811 * language/european.el (macintosh): Define as alias for mac-roman.
7812
49ae5b39
EZ
78132011-11-19 Eli Zaretskii <eliz@gnu.org>
7814
7815 * mail/rmailmm.el (rmail-mime-display-header)
7816 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7817 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7818 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7819 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7820 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7821 of a raw aref.
7822 (rmail-mime-entity-segment): To get past the tagline, move forward
7823 2 more lines, to account for the 2 empty lines that precede and
7824 follow the line with the buttons.
7825 (rmail-mime-update-tagline): Move one more line, to get past the
7826 empty line that follows the buttons in the tagline. (Bug#9520)
7827
c56cad4a
MR
78282011-11-19 Martin Rudalics <rudalics@gmx.at>
7829
7830 * window.el (window-max-delta-1, window-min-delta-1)
7831 (window-min-size-1, window-state-get-1, window-state-put-1)
7832 (window-state-put-2): Use "window--" prefix.
7833
cbe71af3
SM
78342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7835
2ad52c60
SM
7836 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7837 (smie-warning-count): New var.
7838 (smie-set-prec2tab): Use it.
7839 (smie-bnf->prec2): Improve warnings. Add docstring.
7840 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7841 (smie-bnf--set-class): New function.
7842 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7843 corner case.
7844
6944dbc1
SM
7845 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7846 (compilation-error-properties, compilation-move-to-column):
7847 Handle compilation-first-column while in the target buffer.
7848
c400c4d7
SM
7849 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7850 Don't hardcode point-min==1.
7851
6dbe3e96
SM
7852 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7853 (eshell-rewrite-for-command): Remove workaround.
7854 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7855 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7856 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7857
cbe71af3
SM
7858 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7859
a8e1496d
GM
78602011-11-17 Glenn Morris <rgm@gnu.org>
7861
7862 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7863 Ignore buffer-local generated-autoload-file if it is the same
7864 as the global value. (Bug#10049)
7865
df85d315
JB
78662011-11-17 Juanma Barranquero <lekktu@gmail.com>
7867
7868 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7869 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7870 (reftex-toc-previous-heading, reftex-toc-max-level)
7871 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7872 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7873 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7874 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7875 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7876 (reftex-toc-rename-label, reftex-toc-visit-location)
7877 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7878 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7879 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7880 leaving "*toc*" only for references to the buffer.
7881
a0c2d0ae
MR
78822011-11-17 Martin Rudalics <rudalics@gmx.at>
7883
7884 * window.el (window-resize, delete-window, split-window):
7885 Replace window-splits by window-combination-resize.
1d00653d 7886 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7887
35c0bac8
GM
78882011-11-17 Glenn Morris <rgm@gnu.org>
7889
7890 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7891 Make bash entry derive from sh entry, not shell entry.
7892
d0c8fc8a
MA
78932011-11-16 Michael Albinus <michael.albinus@gmx.de>
7894
7262a87c
MA
7895 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7896 local file name.
7897
7877f373
JB
78982011-11-16 Juanma Barranquero <lekktu@gmail.com>
7899
7900 * menu-bar.el (menu-bar-file-menu):
7901 * printing.el (pr-ps-utility):
7902 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7903 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7904 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7905 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7906 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7907 (icalendar--convert-cyclic-to-ical)
7908 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7909 (icalendar--convert-ical-to-diary)
7910 (icalendar--convert-recurring-to-diary)
7911 (icalendar--convert-non-recurring-all-day-to-diary)
7912 (icalendar-import-format-sample):
7913 * progmodes/idlw-shell.el (idlwave-shell-mode):
7914 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7915 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7916 (vhdl-ps-print-init): Fix typos.
7917
10649b82
KM
79182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7919
9d0cfcd6
GM
7920 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7921 FSF and collapse date sequence, obscure author/maintainer email address
7922 better, remove extra version line, track relocation of author's webpage.
10649b82 7923
9d0cfcd6
GM
7924 * progmodes/python.el (python-pdbtrack-input-prompt)
7925 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7926 regular python pdb prompts. Adjustments shamelessly taken exactly as
7927 suggested in EmacsWiki page (tiny change):
7928 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7929
58179cce
JB
79302011-11-16 Juanma Barranquero <lekktu@gmail.com>
7931
7932 * expand.el (expand-pos, expand-index, expand-point):
7933 Remove redundant info from docstring.
7934 (expand-add-abbrevs): Doc fix.
7935 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7936 (expand-sample-perl-mode-expand-list): Fix typos.
7937
7938 * net/dbus.el (dbus-event-member-name):
7939 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7940 * term/pc-win.el (msdos-create-frame-with-faces):
7941 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7942
b6f67890
MR
79432011-11-16 Martin Rudalics <rudalics@gmx.at>
7944
7945 * window.el (split-window, window-state-get-1)
7946 (window-state-put-1, window-state-put-2): Rename occurrences of
7947 window-nest to window-combination-limit.
1d00653d 7948 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7949
ce7ddba0
CY
79502011-11-16 Chong Yidong <cyd@gnu.org>
7951
7952 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7953 regexp (Bug#10033).
7954
3ae704f4
SM
79552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7958 `completing-read' will remove *Completions* and will preserve
7959 current-buffer for us.
7960 (tmm-add-prompt): Users of *Completions* will always (re)set its
7961 major mode.
7962 (tmm-old-comp-map): Remove.
7963
6ad1cdde
GM
79642011-11-16 Glenn Morris <rgm@gnu.org>
7965
7966 * mail/rmailedit.el: Require rmailmm when compiling.
7967 (rmail-old-mime-state): New declaration.
7968 (rmail-edit-current-message): If editing a mime message,
7969 edit the "raw" message from the mbox buffer.
7970 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7971
d20faa20
GM
79722011-11-15 Glenn Morris <rgm@gnu.org>
7973
7974 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7975 which wasn't being used. Add optional arg to force given state.
7976 (rmail-mime): Add optional arg to force given state.
7977
c7015153
JB
79782011-11-15 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7981 * frame.el (display-mm-dimensions-alist):
7982 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7983 (outline-move-subtree-down):
7984 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7985 (newsticker--treeview-do-get-node):
7986 * net/quickurl.el (quickurl-list-buffer-name):
7987 * progmodes/dcl-mode.el (dcl-mode):
7988 * progmodes/gdb-mi.el (gdb-mapcar*):
7989 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7990
45261b50
GM
79912011-11-15 Glenn Morris <rgm@gnu.org>
7992
7993 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7994 in a boolean sense, so just make it a boolean, and fix the doc.
7995 (rmail-show-mime-function, rmail-mime-feature)
7996 (rmail-require-mime-maybe): Doc fixes.
7997 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7998
7999 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8000
0d26e0b6
JB
80012011-11-15 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8004 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8005 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8006 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8007
447f30f6
GM
80082011-11-15 Glenn Morris <rgm@gnu.org>
8009
672b871d
GM
8010 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8011 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8012 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8013 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8014 (rmail-mime, rmail-show-mime): Doc fixes.
8015
f6aa5bb1
GM
8016 * term/ns-win.el (mode-line-frame-identification):
8017 Leave it alone. (Bug#10051)
8018
947cd66b
GM
8019 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8020
447f30f6
GM
8021 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8022 Handle empty buffers. (Bug#9978)
8023
0b381c7e
JB
80242011-11-14 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * international/mule.el (define-charset):
8027 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8028 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8029 * progmodes/verilog-mode.el (verilog-backward-token):
8030 * textmodes/ispell.el (lookup-words):
8031 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8032
71e027ac
GM
80332011-11-14 Glenn Morris <rgm@gnu.org>
8034
56632ce4
GM
8035 * progmodes/executable.el
8036 (executable-make-buffer-file-executable-if-script-p):
8037 Handle file-modes returning nil.
8038
40500957
GM
8039 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8040 message - not necessary, and causes problems. (Bug#9831)
8041
071c2340
GM
8042 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8043
d3cfca60
GM
8044 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8045
71e027ac
GM
8046 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8047 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8048 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8049
89d61221
MR
80502011-11-12 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (window-resize, delete-window): Use window-splits
8053 variable instead of function.
8054 (window-state-get-1, window-state-put-2, window-state-put):
8055 Don't deal with windows' splits status.
8056
98282f6f
GM
80572011-11-12 Glenn Morris <rgm@gnu.org>
8058
8059 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8060 (apropos-documentation): Doc fixes.
8061
40a8bdf6
JB
80622011-11-11 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8065 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8066
65bd19ff
SM
80672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * electric.el (electric-indent-post-self-insert-function): Make it
8070 possible for a char to only indent in some circumstances.
8071 (electric-indent-mode): Simplify.
8072
54f9154c
MR
80732011-11-11 Martin Rudalics <rudalics@gmx.at>
8074
8075 * window.el (windows-with-parameter): Remove unused function.
8076 (windows-at-side): Rename to window-at-side-list.
8077 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8078 (window-side-check, window-size-ignore, window-size-fixed-1)
8079 (window-in-direction-2): Prefix with "window--".
8080 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8081
68cbc58b
GM
80822011-11-11 Glenn Morris <rgm@gnu.org>
8083
8084 * subr.el (eval-after-load): If FILE is already loaded,
8085 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8086
b2621720
GM
80872011-11-10 Glenn Morris <rgm@gnu.org>
8088
9a4de110
GM
8089 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8090 Call svn via vc-svn-command rather than vc-do-command.
8091 (vc-svn-command): Add --non-interactive. (Bug#9993)
8092 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8093
b2621720
GM
8094 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8095 Add toggle-read-only. (Bug#7292)
8096 * files.el (toggle-read-only): Mention that it should only
8097 be used interactively. (Bug#10006)
8098
1dce7193
SM
80992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8100
d9ac1a1e
SM
8101 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8102 Adjust regexp for OCaml warnings.
8103
0c325082
SM
8104 * electric.el (electric-pair-post-self-insert-function): Let user
8105 turn it off buffer-locally (bug#9932).
8106
90132c14
SM
8107 * progmodes/python.el (python-beginning-of-statement):
8108 Rewrite (bug#2703).
8109
1dce7193
SM
8110 * progmodes/compile.el: Better handle TABs (bug#9749).
8111 (compilation-internal-error-properties)
8112 (compilation-next-error-function): Obey the target buffer's
8113 compilation-error-screen-columns.
8114
c4e7c63a
JB
81152011-11-09 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * progmodes/meta-mode.el: Remove obsolete comments.
8118 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8119 Fix typos in docstrings.
8120
2cffd681
MR
81212011-11-09 Martin Rudalics <rudalics@gmx.at>
8122
8123 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8124 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8125 (window--resizable): New function. Make all callers of
8126 window-resizable call window--resizable instead.
8127 (window-resizable): Rewrite in terms of window--resizable.
8128
0edcba87
GM
81292011-11-08 Glenn Morris <rgm@gnu.org>
8130
8131 * progmodes/delphi.el (delphi-mode-syntax-table):
8132 Let define-derived-mode define a proper syntax table. (Bug#9994)
8133
4b0d61e3
SM
81342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * window.el: Stay away from defsubst.
8137 (window-list-no-nils): Remove.
8138 (window-state-get-1, window-state-get): Use backquote instead.
8139
cd394be1 81402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8141
4b0d61e3 8142 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8143 Fix incorrect use of default argument in `completing-read'.
8144
e1c2c6f2
MR
81452011-11-08 Martin Rudalics <rudalics@gmx.at>
8146
8147 * window.el (display-buffer-function, special-display-function):
8148 Mention display-buffer-record-window but do not mention
8149 help-setup parameter in doc-strings.
b3f4a882 8150 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8151
105216ed
CY
81522011-11-08 Chong Yidong <cyd@gnu.org>
8153
8154 * window.el (window-total-height, window-total-width): Doc fix.
8155 (window-body-size): Move from C.
8156 (window-body-height, window-body-width): Move to C.
8157
0a9f9ab5
SM
81582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * window.el: Make special-display like display-buffer-alist (bug#9532).
8161 (display-buffer--special-action): New function, morphed
8162 from display-buffer--special.
8163 (display-buffer): Use it to handle special-display-buffers at higher
8164 priority (just after display-buffer-alist).
8165 (display-buffer-fallback-action, display-buffer--other-frame-action)
8166 (pop-to-buffer-same-window): Remove display-buffer--special.
8167
a769dd15
GM
81682011-11-07 Glenn Morris <rgm@gnu.org>
8169
8170 * calendar/cal-menu.el (cal-menu-set-date-title):
8171 Do nothing if not in a calendar. (Bug#9976)
8172
05a61ee3
SM
81732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * files.el (find-file): Always use selected-window.
8176
be7f5545
MR
81772011-11-07 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (window-combinations): Make WINDOW argument
8180 mandatory. Rewrite doc-string.
8181 (walk-window-subtree, window-atom-check, window-min-delta)
8182 (window-max-delta, window--resize-this-window)
8183 (window--resize-root-window-vertically, window-tree)
8184 (balance-windows, window-state-put): Rewrite doc-strings as to
8185 not mention the term "subwindow".
8186 (window--resize-subwindows-skip-p): Rename to
8187 window--resize-child-windows-skip-p.
8188 (window--resize-subwindows-normal): Rename to
8189 window--resize-child-windows-normal.
8190 (window--resize-subwindows): Rename to
8191 window--resize-child-windows.
8192 (window-or-subwindow-p): Rename to window--in-subtree-p.
8193
3c6702ef
ML
81942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8195
8196 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8197 Ensure that mbox format messages end in two newlines (Bug#9974).
8198
49745b39
CY
81992011-11-06 Chong Yidong <cyd@gnu.org>
8200
8201 * window.el (window-combination-p): Function deleted; its
8202 side-effect is not used in any existing code.
8203 (window-combinations, window-combined-p): Call window-*-child
8204 directly.
8205
24300f5f
CY
82062011-11-05 Chong Yidong <cyd@gnu.org>
8207
8208 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8209 (window-size-ignore, window-state-get): Callers changed.
8210 (window-normalize-window): Rename from window-normalize-any-window.
8211 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8212 (window-normalize-live-window): Delete.
447f16b8
CY
8213 (window-combination-p, window-combined-p, window-combinations)
8214 (walk-window-subtree, window-atom-root, window-min-size)
8215 (window-sizable, window-sizable-p, window-size-fixed-p)
8216 (window-min-delta, window-max-delta, window-resizable)
8217 (window-resizable-p, window-full-height-p, window-full-width-p)
8218 (window-current-scroll-bars, window-point-1, set-window-point-1)
8219 (window-at-side-p, window-in-direction, window-resize)
8220 (adjust-window-trailing-edge, maximize-window, minimize-window)
8221 (window-deletable-p, delete-window, delete-other-windows)
8222 (record-window-buffer, unrecord-window-buffer)
8223 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8224 (quit-window, split-window, window-state-put)
8225 (set-window-text-height, fit-window-to-buffer)
8226 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8227
89bd5ee1
EZ
82282011-11-04 Eli Zaretskii <eliz@gnu.org>
8229
53479029
EZ
8230 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8231 rfc2047-decode-string.
8232 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8233 warnings.
8234
89bd5ee1
EZ
8235 * window.el (window-body-height, window-body-width): Mention in
8236 the doc string that the return values are in frame's canonical
8237 units. (Bug#9949)
8238
bd17fdee
AM
82392011-11-03 Alan Mackenzie <acm@muc.de>
8240
8241 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8242 change in cc-engine.el.
8243
acc825c5
SM
82442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8247
1885e5b8
MR
82482011-11-02 Martin Rudalics <rudalics@gmx.at>
8249
8250 * window.el (quit-window): Call unrecord-window-buffer after
8251 showing another buffer in the window. (Bug#9937)
acc825c5 8252 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8253
ebe06da9
JB
82542011-11-02 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8257 Accept status with more than 9 shelves. (Bug#9935)
8258 Reported by Colin D Bennett <colin@gibibit.com>.
8259
4ee88440
MR
82602011-11-01 Martin Rudalics <rudalics@gmx.at>
8261
8262 * help.el (with-help-window): Don't reference
8263 temp-buffer-show-specifiers in doc-string.
8264
08e1d82c
AS
82652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8266
8267 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8268 menu-item.
8269
84bd6e9e
VJL
82702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8271
8272 * whitespace.el: New version 13.2.2.
8273 (whitespace-newline-mode): Disable properly. Reported by Sarah
8274 <EmacsWiki>.
8275
dba0634a
UJ
82762011-10-30 Ulf Jasper <ulf.jasper@web.de>
8277
8278 * net/newst-treeview.el: Remove "Time-stamp".
8279 (newsticker--group-manage-orphan-feeds): Do not call
8280 newsticker--treeview-tree-update.
db22a3c2
JB
8281 (newsticker-treeview-update, newsticker-treeview):
8282 Call newsticker--treeview-tree-update if necessary.
dba0634a 8283
3d8daefe
MR
82842011-10-30 Martin Rudalics <rudalics@gmx.at>
8285
8286 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8287 (window-iso-combinations): Remove "iso-" infix.
8288 Suggested by Chong Yidong.
3d8daefe
MR
8289 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8290 (window-max-delta-1, window-resize, window--resize-siblings)
8291 (window--resize-this-window, adjust-window-trailing-edge)
8292 (split-window, balance-windows-1)
8293 (shrink-window-if-larger-than-buffer):
8294 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8295 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8296
1bc4c3ae
SM
82972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8300 in place (bug#9907).
8301 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8302 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8303 (eshell-structure-basic-command, eshell-rewrite-while-command)
8304 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8305 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8306 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8307 (eshell-do-pipelines-synchronously, eshell-eval-command):
8308 Use backquotes and prefer setq to set.
8309 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8310 (eshell-macrop): Use functionp.
c1e2f5fa 8311 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8312
30b65d9c
CY
83132011-10-30 Chong Yidong <cyd@gnu.org>
8314
8315 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8316 instead of set-mark (Bug#9810).
8317
2d197ffb
CY
83182011-10-30 Chong Yidong <cyd@gnu.org>
8319
8320 * window.el (split-window-below, split-window-right): Rename from
8321 split-window-above-each-other and split-window-side-by-side
8322 respectively. All callers changed.
8323 (split-window-sensibly, split-window-sensibly): Use them.
8324 (split-window-keep-point): Doc fix.
8325
8326 * isearch.el: Add isearch-scroll property to split-window-below
8327 and split-window-right.
8328
8329 * follow.el (follow-mode):
8330 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8331 * progmodes/ada-xref.el (ada-gdb-application):
8332 * emulation/vip.el (vip-buffer-in-two-windows):
8333 * image-dired.el (image-dired-dired-with-window-configuration):
8334 * dired-x.el (dired-do-find-marked-files):
8335 * dired.el (dired-pop-to-buffer):
8336 * bs.el (bs--show-with-configuration):
8337 * vc/emerge.el (emerge-setup-windows):
8338 * textmodes/two-column.el (2C-two-columns):
8339 * textmodes/reftex-toc.el (reftex-toc):
8340 * progmodes/gdb-mi.el (gdb-setup-windows):
8341 * progmodes/fortran.el (fortran-window-create):
8342 * net/newst-treeview.el (newsticker--treeview-window-init):
8343 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8344 * emulation/tpu-edt.el (tpu-gold-map):
8345 * emulation/crisp.el (crisp-mode-map):
8346 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8347
38bb2ca8
CY
83482011-10-29 Chong Yidong <cyd@gnu.org>
8349
aa4de341
CY
8350 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8351
e1eb5385
CY
8352 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8353
5d2ece3c
CY
8354 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8355 forged Ispell output (Bug#7904).
8356
38bb2ca8
CY
8357 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8358
d0af9f77
SM
83592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * doc-view.el: Avoid ugly errors about not finding nil.
8362 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8363 (doc-view-dvipdf-program, doc-view-unoconv-program)
8364 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8365 Avoid nil or absolute file name as default value.
8366 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8367
52bedd34
AM
83682011-10-28 Alan Mackenzie <acm@muc.de>
8369
db22a3c2 8370 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8371
7e43cfa5
AM
83722011-10-28 Alan Mackenzie <acm@muc.de>
8373
8374 Amend the handling of c-beginning/end-of-defun in nested declaration
8375 scopes.
8376
52bedd34
AM
8377 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8378 cc-langs.el. Change it to a defcustom.
7e43cfa5 8379
52bedd34
AM
8380 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8381 cc-vars.el.
7e43cfa5 8382
d0af9f77
SM
8383 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8384 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8385
52bedd34 8386 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8387 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8388 (c-widen-to-enclosing-decl-scope): New function.
8389 (c-while-widening-to-decl-block): New macro.
8390 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8391 outward for defun boundaries, and correspondingly change symbol
8392 `respect-enclosure' to `go-outward'.
8393 (c-declaration-limits): Change algorithm to report only the "innermost"
8394 defun's boundaries.
8395
1a2ce9ee
DD
83962011-10-28 Deniz Dogan <deniz@dogan.se>
8397
8398 * net/rcirc.el (rcirc-mode): Use hard newlines.
8399
bc97a826
AM
84002011-10-28 Alan Mackenzie <acm@muc.de>
8401
8402 Amend to indent and fontify macros "which include their own semicolon"
8403 correctly, using the "virtual semicolon" mechanism.
8404
52bedd34 8405 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8406
d0af9f77 8407 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8408 Recode to scan one line at a time rather than having \n and \r
58179cce 8409 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8410 (c-forward-label): Amend for virtual semicolons.
58179cce 8411 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8412
52bedd34
AM
8413 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8414 of the new C macros.
bc97a826 8415
52bedd34 8416 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8417 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8418 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8419 (c-opt-cpp-macro-define): Make into a full language variable.
8420 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8421 AWK Mode (including \n, \r) removed, no longer needed.
8422
d0af9f77
SM
8423 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8424 Invoke c-make-macro-with-semi-re.
bc97a826 8425
52bedd34
AM
8426 * progmodes/cc-vars.el (c-macro-with-semi-re):
8427 (c-macro-names-with-semicolon): New variables.
58179cce 8428 (c-make-macro-with-semi-re): New function.
bc97a826 8429
7a6c0941
SM
84302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * vc/log-edit.el: Fill empty field rather than adding new one.
8433 (log-edit-add-field): New function.
8434 (log-edit-insert-changelog): Use it.
8435
b0c4cdcf
ML
84362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8437
8438 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8439
ee1f1da9
SM
84402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8443 (gdb--check-interpreter): New function.
8444 (gdb): Use it.
8445
51bc5f8b
GM
84462011-10-27 Glenn Morris <rgm@gnu.org>
8447
416a2c45
GM
8448 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8449 (least-positive-float, least-negative-float)
8450 (least-positive-normalized-float, least-negative-normalized-float)
8451 (float-epsilon, float-negative-epsilon):
8452 Remove unnecessary declarations.
8453
8454 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8455 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8456 (least-positive-float, least-negative-float)
8457 (least-positive-normalized-float, least-negative-normalized-float)
8458 (float-epsilon, float-negative-epsilon): Add doc-strings,
8459 based on those in cl.texi.
8460
51bc5f8b
GM
8461 * files.el (set-visited-file-name): If the major-mode changed,
8462 reload the local variables. (Bug#9796)
8463
15de15c6
CY
84642011-10-27 Chong Yidong <cyd@gnu.org>
8465
8466 * subr.el (change-major-mode-after-body-hook): New hook.
8467 (run-mode-hooks): Run it.
8468
ee1f1da9
SM
8469 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8470 Use change-major-mode-before-body-hook.
15de15c6
CY
8471
8472 * simple.el (fundamental-mode):
8473 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8474 change introducing fundamental-mode-hook.
8475
5430d399
JB
84762011-10-26 Juanma Barranquero <lekktu@gmail.com>
8477
acc825c5 8478 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8479
ad74a69e
MA
84802011-10-26 Michael Albinus <michael.albinus@gmx.de>
8481
8482 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8483 tramp.el explicitly. (Bug#7583)
ad74a69e 8484
71d4c2a5
SM
84852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * progmodes/octave-mod.el:
8488 * progmodes/octave-inf.el: Update maintainer.
8489
b1f6fa26
CY
84902011-10-26 Chong Yidong <cyd@gnu.org>
8491
8492 * subr.el (with-wrapper-hook): Rewrite doc.
8493
3f04efd6
MA
84942011-10-25 Michael Albinus <michael.albinus@gmx.de>
8495
8496 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8497 filenames "/method:foo:". (Bug#9793)
3f04efd6 8498
410488d3
SM
84992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8502 (bug#9865).
8503
c1ebb47e
GM
85042011-10-24 Glenn Morris <rgm@gnu.org>
8505
8506 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8507
7f5c46c7
MA
85082011-10-24 Michael Albinus <michael.albinus@gmx.de>
8509
8510 * notifications.el: Add the requirement of a running D-Bus session
8511 bus to the Commentary.
8512
db2440b6
JL
85132011-10-24 Juri Linkov <juri@jurta.org>
8514
8515 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8516 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8517 (Bug#9364)
8518
feecf435
JL
85192011-10-24 Juri Linkov <juri@jurta.org>
8520
8521 * info.el (Info-following-node-name-re): Add newline to the list
8522 of allowed characters for leading space. (Bug#9824)
8523
a3839de2
SM
85242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8525
acc825c5
SM
8526 * progmodes/octave-inf.el (inferior-octave-mode-map):
8527 Fix C-c C-h binding.
a3839de2
SM
8528 * progmodes/octave-mod.el (octave-help): Remove.
8529
09388e76
MA
85302011-10-23 Michael Albinus <michael.albinus@gmx.de>
8531
8532 Sync with Tramp 2.2.3.
8533
8534 * net/tramp-cache.el (top): Pacify byte-compiler using
8535 `init-file-user' and `site-run-file'.
8536
8537 * net/trampver.el: Update release number.
8538
86c60681
CY
85392011-10-23 Chong Yidong <cyd@gnu.org>
8540
8541 * files.el (toggle-read-only): Remove obsolete comment about
8542 version control.
8543
8544 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8545 for toggle-read-only. Note that this hasn't called vc-next-action
8546 since 2008-05-02, though it wasn't documented at the time.
8547
a3839de2
SM
8548 * vc/ediff-init.el (ediff-toggle-read-only-function):
8549 Use toggle-read-only.
86c60681 8550
cd5495ff
AM
85512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8552
8553 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8554 of c-parse-state.
8555
00b77525 8556 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8557 correct faulty logical expression.
cd5495ff
AM
8558 (c-parse-state-state, c-record-parse-state-state):
8559 (c-replay-parse-state-state): New defvar/defuns.
8560 (c-debug-parse-state): Use new functions.
8561
42ee24ed
MR
85622011-10-22 Martin Rudalics <rudalics@gmx.at>
8563
8564 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8565 last fix. Use window-in-direction correctly.
42ee24ed 8566
a7dee7e7
CY
85672011-10-21 Chong Yidong <cyd@gnu.org>
8568
8569 * progmodes/idlwave.el (idlwave-mode):
8570 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8571 require-final-newline; that's done in prog-mode.
8572 Suggested by Stefan Monnier.
a7dee7e7 8573
e07b9a6d
MR
85742011-10-21 Martin Rudalics <rudalics@gmx.at>
8575
8576 * mouse.el (mouse-drag-window-above)
8577 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8578 (mouse-drag-mode-line-1, mouse-drag-header-line)
8579 (mouse-drag-vertical-line-rightward-window): Remove.
8580 (mouse-drag-line): New function.
8581 (mouse-drag-mode-line, mouse-drag-header-line)
8582 (mouse-drag-vertical-line): Call mouse-drag-line.
8583 * window.el (window-at-side-p, windows-at-side): New functions.
8584
7e1361d9
UM
85852011-10-21 Ulrich Mueller <ulm@gentoo.org>
8586
8587 * tar-mode.el (tar-grind-file-mode):
8588 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8589
30fcaf3a
CY
85902011-10-21 Chong Yidong <cyd@gnu.org>
8591
8592 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8593 * progmodes/vera-mode.el (vera-mode):
8594 Use mode-require-final-newline.
30fcaf3a 8595
516eddb0
GM
85962011-10-20 Glenn Morris <rgm@gnu.org>
8597
db22a3c2 8598 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8599
10d5f513
CS
86002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8601
8602 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8603
ac6c8639
CY
86042011-10-20 Chong Yidong <cyd@gnu.org>
8605
8606 * emulation/cua-base.el (cua-mode):
8607 * mail/footnote.el (footnote-mode):
8608 * mail/mailabbrev.el (mail-abbrevs-mode):
8609 * net/xesam.el (xesam-minor-mode):
8610 * progmodes/bug-reference.el (bug-reference-mode):
8611 * progmodes/cap-words.el (capitalized-words-mode):
8612 * progmodes/compile.el (compilation-minor-mode)
8613 (compilation-shell-minor-mode):
8614 * progmodes/gud.el (gud-tooltip-mode):
8615 * progmodes/hideif.el (hide-ifdef-mode):
8616 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8617 * progmodes/subword.el (subword-mode):
8618 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8619 * progmodes/which-func.el (which-function-mode):
8620 * term/tvi970.el (tvi970-set-keypad-mode):
8621 * term/vt100.el (vt100-wide-mode):
8622 * textmodes/flyspell.el (flyspell-mode):
8623 * textmodes/ispell.el (ispell-minor-mode):
8624 * textmodes/nroff-mode.el (nroff-electric-mode):
8625 * textmodes/paragraphs.el (use-hard-newlines):
8626 * textmodes/refill.el (refill-mode):
8627 * textmodes/reftex.el (reftex-mode):
8628 * textmodes/rst.el (rst-minor-mode):
8629 * textmodes/sgml-mode.el (html-autoview-mode)
8630 (sgml-electric-tag-pair-mode):
8631 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8632 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8633 * emulation/crisp.el (crisp-mode):
8634 * emacs-lisp/eldoc.el (eldoc-mode):
8635 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8636 minor mode behavior.
8637
aa42ab43
JL
86382011-10-19 Juri Linkov <juri@jurta.org>
8639
8640 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8641 the list of hard-coded chars with escape-glyph face.
8642
89400f1d
SM
86432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8646
305c07f6
MA
86472011-10-19 Michael Albinus <michael.albinus@gmx.de>
8648
8649 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8650 running process.
8651
13754b54
GM
86522011-10-19 Glenn Morris <rgm@gnu.org>
8653
8654 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8655 Ignore ignored files. (Bug#9726)
8656
06e21633
CY
86572011-10-19 Chong Yidong <cyd@gnu.org>
8658
8659 Doc fix for minor modes, stating that an omitted argument enables
8660 the mode unconditionally when called from Lisp.
8661
8662 * abbrev.el (abbrev-mode):
8663 * allout.el (allout-mode):
8664 * autoinsert.el (auto-insert-mode):
8665 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8666 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8667 (global-auto-revert-mode):
8668 * battery.el (display-battery-mode):
8669 * composite.el (global-auto-composition-mode)
8670 (auto-composition-mode):
8671 * delsel.el (delete-selection-mode):
8672 * desktop.el (desktop-save-mode):
8673 * dired-x.el (dired-omit-mode):
8674 * dirtrack.el (dirtrack-mode):
8675 * doc-view.el (doc-view-minor-mode):
8676 * double.el (double-mode):
8677 * electric.el (electric-indent-mode, electric-pair-mode):
8678 * emacs-lock.el (emacs-lock-mode):
8679 * epa-hook.el (auto-encryption-mode):
8680 * follow.el (follow-mode):
8681 * font-core.el (font-lock-mode):
8682 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8683 * help.el (temp-buffer-resize-mode):
8684 * hilit-chg.el (highlight-changes-mode)
8685 (highlight-changes-visible-mode):
8686 * hi-lock.el (hi-lock-mode):
8687 * hl-line.el (hl-line-mode, global-hl-line-mode):
8688 * icomplete.el (icomplete-mode):
8689 * ido.el (ido-everywhere):
8690 * image-file.el (auto-image-file-mode):
8691 * image-mode.el (image-minor-mode):
8692 * iswitchb.el (iswitchb-mode):
8693 * jka-cmpr-hook.el (auto-compression-mode):
8694 * linum.el (linum-mode):
8695 * longlines.el (longlines-mode):
8696 * master.el (master-mode):
8697 * mb-depth.el (minibuffer-depth-indicate-mode):
8698 * menu-bar.el (menu-bar-mode):
8699 * minibuf-eldef.el (minibuffer-electric-default-mode):
8700 * mouse-sel.el (mouse-sel-mode):
8701 * msb.el (msb-mode):
8702 * mwheel.el (mouse-wheel-mode):
8703 * outline.el (outline-minor-mode):
8704 * paren.el (show-paren-mode):
8705 * recentf.el (recentf-mode):
8706 * reveal.el (reveal-mode, global-reveal-mode):
8707 * rfn-eshadow.el (file-name-shadow-mode):
8708 * ruler-mode.el (ruler-mode):
8709 * savehist.el (savehist-mode):
8710 * scroll-all.el (scroll-all-mode):
8711 * scroll-bar.el (scroll-bar-mode):
8712 * server.el (server-mode):
8713 * shell.el (shell-dirtrack-mode):
8714 * simple.el (auto-fill-mode, transient-mark-mode)
8715 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8716 (line-number-mode, column-number-mode, size-indication-mode)
8717 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8718 * strokes.el (strokes-mode):
8719 * time.el (display-time-mode):
8720 * t-mouse.el (gpm-mouse-mode):
8721 * tool-bar.el (tool-bar-mode):
8722 * tooltip.el (tooltip-mode):
8723 * type-break.el (type-break-mode-line-message-mode)
8724 (type-break-query-mode):
8725 * view.el (view-mode):
8726 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8727 (global-whitespace-mode, global-whitespace-newline-mode):
8728 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8729
a3839de2
SM
8730 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8731 Fix autogenerated docstring.
06e21633 8732
5214e501
JL
87332011-10-19 Juri Linkov <juri@jurta.org>
8734
8735 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8736 by checking environment variables "DESKTOP_SESSION" and
8737 "XDG_CURRENT_DESKTOP". (Bug#9779)
8738
195f8db9
JL
87392011-10-19 Juri Linkov <juri@jurta.org>
8740
8741 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8742 (browse-url-chromium-program, browse-url-chromium-arguments):
8743 New defcustoms.
8744 (browse-url-default-browser): Check for `browse-url-chromium' and
8745 call `browse-url-chromium-program'.
8746 (browse-url-chromium): New command. (Bug#9779)
8747
343a34ff
JB
87482011-10-18 Juanma Barranquero <lekktu@gmail.com>
8749
8750 * facemenu.el (list-colors-duplicates): On Windows, detect more
8751 duplicates by assuming that only colors matching "^System" are
8752 special "system colors". (Bug#9722)
8753
6978a151
SM
87542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8757 to distinguish the author from the committer.
8758
6a80b297
MA
87592011-10-18 Michael Albinus <michael.albinus@gmx.de>
8760
8761 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8762
b31a5677
JK
87632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8764
8765 * international/mule.el (sgml-html-meta-auto-coding-function):
8766 Add support for detecting encoding in HTML5 specified only as
8767 <meta charset="UTF-8">. Implementation just makes http-equiv and
8768 content-type parts from HTML4 encoding string optional. (Bug#9716)
8769
80c6d77f
GM
87702011-10-18 Glenn Morris <rgm@gnu.org>
8771
8772 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8773
08b0fee8
CY
87742011-10-18 Chong Yidong <cyd@gnu.org>
8775
8776 * faces.el (cursor): Doc fix.
8777
67e729a5
CY
87782011-10-17 Chong Yidong <cyd@gnu.org>
8779
8780 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8781
343a34ff 87822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8783
8784 * dirtrack.el (dirtrack): Support shell buffers with path
8785 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8786
0bc06380
TZ
87872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8788
8789 * json.el: Bump version to 1.3 and note change in History.
8790 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8791
8b79f3e0
SM
87922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8793
5a7c536b
SM
8794 * comint.el (comint-insert-input, comint-send-input)
8795 (comint-get-old-input-default, comint-backward-matching-input)
8796 (comint-next-prompt): Use nil instead of `input' for field property of
8797 past user input (bug#114).
8798
96a8a0df
SM
8799 * minibuffer.el (completion--replace): Inherit surrounding properties
8800 (bug#114).
8801 (minibuffer-complete-and-exit): Use it.
8802
8b79f3e0
SM
8803 * comint.el (comint--table-subvert): Quote the all-completions output
8804 (bug#9160).
8805
b8f7ff0d
MR
88062011-10-17 Martin Rudalics <rudalics@gmx.at>
8807
8b79f3e0 8808 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8809
b8f7ff0d 8810 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8811 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8812 entries and separate them from frame entries.
8813
c235b555
GM
88142011-10-15 Glenn Morris <rgm@gnu.org>
8815
8816 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8817 Doc fixes.
8818
6bbfa6e1
CY
88192011-10-15 Chong Yidong <cyd@stupidchicken.com>
8820
8b79f3e0
SM
8821 * net/network-stream.el (network-stream-open-starttls):
8822 Improve detection of failure due to lack of TLS support.
ec5c990d 8823
6bbfa6e1
CY
8824 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8825 putting the input text in front and in bold.
8826
98488977
SM
88272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8828
3d1337be
SM
8829 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8830
ee0b45e4
SM
8831 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8832 empty buffer.
8833
98488977
SM
8834 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8835 unread-command-events rather than pushing yet-another event.
8836
186f4720
EZ
88372011-10-14 Eli Zaretskii <eliz@gnu.org>
8838
8839 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8840 the explanation of the possible choices. Make the options passed
8841 to completing-read shorter.
8842
8b7a997c
AM
88432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8844
8845 * textmodes/flyspell.el (flyspell-large-region): Make sure
8846 extended character mode is used if defined (Bug#1339).
8847
12587bbb
EZ
88482011-10-13 Eli Zaretskii <eliz@gnu.org>
8849
8850 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8851 character info for LRE, LRO, RLE, and RLO characters by appending
8852 an invisible PDF.
12587bbb 8853
bad41229
SM
88542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8857 even in case of error; add debug spec; simplify data flow.
8858 (with-timeout-handler): Remove.
8859
28dbc92f
MA
88602011-10-12 Michael Albinus <michael.albinus@gmx.de>
8861
8862 Fix Bug#6019, Bug#9315.
8863
8864 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8865 complete `buffer-file-name', the local file name part could look
8866 remotely (for example on VMS).
8867
8868 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8869 `tramp-run-real-handler'.
8870 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8871 already quoted by '"'.
8872
8873 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8874 Let `file-name-handler-alist' be nil, the local file name part
8875 could look remotely (for example on VMS).
8876
e1b0b23a
SM
88772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8880 from here...
8881 (flyspell-post-command-hook): ...to here.
8882
a120bde9
SM
88832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8886 if not needed.
8887 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8888 using completion. Protect against "slow" callers.
8889 Remove the "message hack".
8890
7ce7717b
JL
88912011-10-11 Juri Linkov <juri@jurta.org>
8892
8893 * isearch.el (isearch-lazy-highlight-word): New variable.
8894 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8895 Use it. (Bug#9727)
8896
c02ee9d6
GM
88972011-10-11 Glenn Morris <rgm@gnu.org>
8898
8899 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8900 like f90-previous-statement does.
8901
93e616fd 89022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8903
1f190e73 8904 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8905 only in interactive use, to avoid error.
8906
af7b6078
SM
89072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * minibuffer.el (completion-file-name-table): Fix last change,
8910 i.e. ignore normal errors but not the other ones.
8911
0563dae9
MR
89122011-10-10 Martin Rudalics <rudalics@gmx.at>
8913
8914 * window.el (special-display-buffer-names)
8915 (special-display-regexps): Remove some remnants of earlier
8916 changes from doc-strings.
366ca7f3
MR
8917 (quit-windows-on): New function.
8918
8919 * vc/vc.el (vc-revert, vc-rollback):
8920 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8921 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8922 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8923
49677495
MR
89242011-10-09 Martin Rudalics <rudalics@gmx.at>
8925
8926 * window.el (frame-auto-hide-function): Add version tag.
8927 (Bug#9699)
8928
56f2d1e1
MA
89292011-10-09 Michael Albinus <michael.albinus@gmx.de>
8930
8931 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8932 condition.
8933
112a6592
LL
89342011-10-09 Leo Liu <sdl.web@gmail.com>
8935
8936 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8937 (Bug#9701)
8938
0812589b
GM
89392011-10-08 Glenn Morris <rgm@gnu.org>
8940
8941 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8942 before the first code statement zero indent. (Bug#9690)
8943
b2b0776e
CY
89442011-10-08 Chong Yidong <cyd@stupidchicken.com>
8945
8946 * simple.el (count-words-region): Always count in the region.
8947 Report the number of lines and characters too.
8948 (count-words): New command, which counts in the buffer if the
8949 region is inactive, as count-words-region used to.
8950 (count-words--message): New function. Handle plurals.
8951 (count-lines-region): Make it an alias for count-words-region.
8952
8953 * bindings.el (esc-map): Replace count-lines-region with
8954 count-words-region.
8955
c557cd6b
MR
89562011-10-08 Martin Rudalics <rudalics@gmx.at>
8957
8958 * window.el (window--delete): Delete dedicated frame
8959 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8960 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8961
61a57ef4 89622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8963
3a7d293b 8964 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8965
c3833279
CY
89662011-10-07 Chong Yidong <cyd@stupidchicken.com>
8967
8968 * bindings.el ([M-left],[M-right]): Bind to left-word and
8969 right-word respectively.
8970
21ce8245
GM
89712011-10-07 Glenn Morris <rgm@gnu.org>
8972
8973 * cus-start.el (debug-on-quit): Fix custom type.
8974
6d823bb2
LMI
89752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8976
0181e193
LMI
8977 * subr.el (define-key-after): Clarify that the function is not
8978 useful for non-menu keymaps.
8979
6d823bb2
LMI
8980 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8981
8e3459ce 89822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8983
21ce8245 8984 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8985 in current minibuffer (Fix bug with recursive minibuffers).
8986
a1c2d21e
CY
89872011-10-06 Chong Yidong <cyd@stupidchicken.com>
8988
8989 * progmodes/gdb-mi.el (gdb): Doc fix.
8990
5a4cf282
MR
89912011-10-05 Martin Rudalics <rudalics@gmx.at>
8992
8993 * window.el (frame-auto-hide-function): New option replacing
8994 frame-auto-delete. Suggested by Stefan Monnier.
8995 (window--delete): Call frame-auto-hide-function instead of
8996 investigating frame-auto-delete.
c96111ea
MR
8997 (window-point-1, set-window-point-1): New functions.
8998 (window-in-direction, record-window-buffer, window-state-get-1)
8999 (display-buffer-record-window): Use window-point-1 instead of
9000 window-point.
9001 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9002
9854542e
SM
90032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9006
8943cfb0
GM
90072011-10-05 Glenn Morris <rgm@gnu.org>
9008
9009 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9010 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9011
647ab967
LL
90122011-10-05 Leo Liu <sdl.web@gmail.com>
9013
9014 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9015 works with buffer object.
9016
3ddfbced
SM
90172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * mpc.el (mpc-tool-bar-map): Add labels.
9020
bdfa5dd2
GM
90212011-10-04 Glenn Morris <rgm@gnu.org>
9022
9023 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9024
0e2070b5
MR
90252011-10-04 Martin Rudalics <rudalics@gmx.at>
9026
9027 * window.el (window--delete): New function.
9028 (frame-auto-delete): Resuscitate option.
9029 (bury-buffer, replace-buffer-in-windows)
9030 (quit-window): Rewrite using window--delete.
9031 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9032 Pass display-buffer-mark-dedicated to window--display-buffer-2
9033 (Bug#9639).
9034
3dc61a09
SM
90352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9036
915a9b64
SM
9037 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9038 returns a list (bug#9554). Add remote file name completion.
9039 * comint.el (comint--table-subvert): Curry and get quote&unquote
9040 functions as arguments.
9041 (comint--complete-file-name-data): Adjust call accordingly.
9042 * pcomplete.el (pcomplete--table-subvert): Remove.
9043 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9044
3dc61a09
SM
9045 * minibuffer.el (completion-table-case-fold): Use currying.
9046 (completion--styles-type, completion--cycling-threshold-type):
9047 New constants.
9048 (completion-styles, completion-category-overrides)
9049 (completion-cycle-threshold): Use them.
9050 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9051 completion-table-case-fold.
9052
8ea0a993
SB
90532011-10-03 Stephen Berman <stephen.berman@gmx.net>
9054
9055 * minibuffer.el (completion-category-overrides): Fix type of styles
9056 and add more user friendly tags (bug#9660).
9057
8c24b7f6
SM
90582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9061 (mule-input-method-string): New widget.
9062 (default-input-method, language-info-custom-alist): Use it.
9063
428fe61a
SM
90642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9065
32c1fffd
SM
9066 * pcomplete.el: Require comint.
9067 (pcomplete--common-suffix): Remove.
9068 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9069 (pcomplete--table-subvert): Sync with comint--table-subvert.
9070 (pcomplete--entries): Use comint-completion-file-name-table.
9071 * comint.el (comint-unquote-filename): Simplify.
9072 (comint-completion-file-name-table): New function (bug#9616).
9073 (comint--complete-file-name-data): Use it.
9074
428fe61a
SM
9075 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9076 (pcmpl-gnu-tar-buffer): Remove.
9077 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9078 around. Make sure pcomplete-suffix-list is only changed temporarily.
9079 Don't look inside the tar's file if it's too large.
428fe61a 9080
04c52e2f
CY
90812011-10-01 Chong Yidong <cyd@stupidchicken.com>
9082
ce3cefcc
CY
9083 * cus-edit.el (custom-mode-map):
9084 * epa.el (epa-key-list-mode-map):
9085 * man.el (Man-mode-map):
9086 * startup.el (splash-screen-keymap):
9087 * simple.el (special-mode-map): Use scroll-up-command and
9088 scroll-down-command.
9089
9090 * progmodes/idlw-help.el (idlwave-help-mode-map):
9091 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9092 * net/newst-plainview.el (newsticker-mode-map):
9093 * emulation/ws-mode.el (wordstar-mode-map):
9094 * emulation/vi.el (vi-com-map):
9095 * calc/calc-graph.el (calc-graph-show-dumb):
9096 * term/sun.el (terminal-init-sun):
9097 * term/ns-win.el (global-map):
9098 * progmodes/grep.el (grep-mode-map):
9099 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9100 * mail/rmail.el (rmail-mode-map):
9101 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9102
04c52e2f
CY
9103 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9104 custom-safe-themes as special.
9105
79adf8c8
JD
91062011-10-01 Julien Danjou <julien@danjou.info>
9107
9108 * notifications.el (notifications-notify): Fix docstring.
9109
63bd50d3
PS
91102011-10-01 Per Starbäck <per@starback.se>
9111
9112 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9113
199e4c7e
MR
91142011-09-30 Martin Rudalics <rudalics@gmx.at>
9115
9116 * startup.el (command-line-1): Fix last fix by inserting
9117 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9118 (Bug#9605) and (Bug#9636)
199e4c7e 9119
fe5f08dd
EZ
91202011-09-29 Eli Zaretskii <eliz@gnu.org>
9121
9122 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9123 window is hscrolled, move by logical lines. (Bug#9607)
9124 (line-move-visual): Update the doc string to the above effect.
9125
b5516bbd
MR
91262011-09-29 Martin Rudalics <rudalics@gmx.at>
9127
ccee00c0
MR
9128 * window.el (display-buffer-record-window): When WINDOW is the
9129 selected window use `point' instead of `window-point'. (Bug#9626)
9130
b5516bbd
MR
9131 * startup.el (command-line-1): Use insert-before-markers when
9132 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9133
b5516bbd
MR
9134 * help.el (help-window): Remove variable.
9135
52aa0014
GM
91362011-09-29 Glenn Morris <rgm@gnu.org>
9137
9138 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9139
df9a7357
JB
91402011-09-29 Juanma Barranquero <lekktu@gmail.com>
9141
9142 * descr-text.el (describe-char-categories): Accept category
9143 descriptions more than one line long.
9144
a8406c20
SM
91452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9146
88d9610c
SM
9147 * simple.el (delete-trailing-whitespace): Fix last change.
9148
a5daf810
SM
9149 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9150 Don't confuse "y => 3" as the beginning of a `y' operation.
9151
a8406c20
SM
9152 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9153 object has more than 4 slots (bug#9613).
9154
a239d4e9
JB
91552011-09-28 Juanma Barranquero <lekktu@gmail.com>
9156
9157 * subr.el (with-output-to-temp-buffer):
9158 * net/quickurl.el (quickurl, quickurl-browse-url):
9159 Fix typos in docstrings.
9160
693fbdb6
EZ
91612011-09-27 Eli Zaretskii <eliz@gnu.org>
9162
9163 * minibuffer.el (completion-styles)
9164 (completion-category-overrides): Cross reference each other in doc
9165 strings.
9166
8b457e28
GM
91672011-09-27 Glenn Morris <rgm@gnu.org>
9168
9169 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9170 to split-string. (Bug#9606)
9171
85a16208
LMI
91722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
9174 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9175 (bug#9615).
9176
502f9ebd
CY
91772011-09-27 Chong Yidong <cyd@stupidchicken.com>
9178
9179 * emacs-lisp/package.el (list-packages): Fix echo area message.
9180
7690bdea
LL
91812011-09-27 Leo Liu <sdl.web@gmail.com>
9182
9183 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9184
e2ee6f30
MA
91852011-09-25 Michael Albinus <michael.albinus@gmx.de>
9186
9187 * net/dbus.el (dbus-unregister-object): Don't release services for
9188 registered signals. (Bug#9581)
9189
f3f98342
TZ
91902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9191
9192 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9193 function that picks between cfengine 2 and 3 support
9194 automatically. Update docs accordingly.
9195
dd7aa8dd
KH
91962011-09-22 Kenichi Handa <handa@m17n.org>
9197
9198 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9199 ZERO.
9200 (indian-itrans-v5-table-for-tamil): New variable.
9201 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9202
3f2b07f8
KM
92032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9204
9205 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9206 that's true if the current command involved collapsing of text.
9207 It's reset to false at the beginning of the next command.
9208 (allout-post-command-business): Move the cursor to the beginning
9209 of entry if the cursor is hidden and collapsing activity just
9210 happened.
9211
371d6a61
CY
92122011-09-24 Chong Yidong <cyd@stupidchicken.com>
9213
9214 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9215 tracking (Bug#9541).
9216
2ac2721a
UJ
92172011-09-24 Ulf Jasper <ulf.jasper@web.de>
9218
9219 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9220 (newsticker-show-news): Automatically load html rendering package
9221 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9222 because w3m-fill-column is let-bound" and the error "Symbol's value
9223 as variable is void: w3m-fill-column".
2ac2721a 9224
fac7ae53
MA
92252011-09-24 Michael Albinus <michael.albinus@gmx.de>
9226
9227 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9228 Release services only if they are defined. (Bug#9581)
9229
e08b633b
RS
92302011-09-23 Richard Stallman <rms@gnu.org>
9231
e488d29c
RS
9232 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9233 distinguish start of paragraph from start of its text.
9234
19c38752
RS
9235 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9236
e08b633b
RS
9237 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9238 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9239 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9240
0a39f27e
AS
92412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * international/mule-diag.el (mule-diag): Insert a newline after
9244 each fontset description.
9245
db4e950d
SM
92462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * simple.el (delete-trailing-whitespace):
9249 Document last change; simplify.
9250
eca3f3ea
PW
92512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9252
d68e189a
PW
9253 * simple.el (delete-trailing-whitespace): Also delete
9254 extra newlines at the end of the buffer.
9255
eca3f3ea
PW
9256 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9257 (picture-newline): Use forward-line so as to ignore fields.
9258
01c157cc
SM
92592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * subr.el (with-wrapper-hook): Fix edebug spec.
9262
022de23e
LMI
92632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9264
9265 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9266 (bug#4538).
9267
91683089
MA
92682011-09-23 Michael Albinus <michael.albinus@gmx.de>
9269
eca3f3ea
PW
9270 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9271 Fix nasty bug using wrong cached values.
91683089 9272
5bdd6fa4
AM
92732011-09-23 Alan Mackenzie <acm@muc.de>
9274
9275 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9276
97adfb97
CY
92772011-09-23 Chong Yidong <cyd@stupidchicken.com>
9278
9279 * window.el (pop-to-buffer): Ensure right window is selected if we
9280 chose another frame.
9281
d4ef2b50
EZ
92822011-09-22 Eli Zaretskii <eliz@gnu.org>
9283
9284 * simple.el (what-cursor-position): Use get-char-property-change
9285 and next-single-char-property-change, to be able to show display
9286 properties that come from overlays as well as text properties.
9287
72258fe5
CY
92882011-09-22 Chong Yidong <cyd@stupidchicken.com>
9289
9290 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9291
9292 * cmuscheme.el (run-scheme, switch-to-scheme):
9293 * cus-edit.el (customize-group, custom-buffer-create)
9294 (customize-browse):
9295 * info.el (info):
9296 * shell.el (shell):
9297 * mail/sendmail.el (mail):
9298 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9299
8f098516
RS
93002011-09-22 Richard Stallman <rms@gnu.org>
9301
9302 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9303 move back only to line beg, don't move back over blank lines.
9304
e74f1bb6
MA
93052011-09-22 Michael Albinus <michael.albinus@gmx.de>
9306
9307 * files.el (copy-directory): Set directory attributes only in case
9308 they could be retrieved from the source directory. (Bug#9565)
9309
bfeef8b6
DK
93102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9311
9312 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9313 (hs-find-block-beginning, hs-hide-level-recursive):
9314 Ignore strings as well as comments. (Bug#9502)
9315
7e423bb8
AS
93162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9317
9318 * progmodes/sql.el (sql-comint-postgres):
9319 Convert port number to a string. (Bug#9566)
9320
b4d72fcf
MR
93212011-09-22 Martin Rudalics <rudalics@gmx.at>
9322
9323 * window.el (quit-window): Undedicate window when switching to
9324 previous buffer. Reported by Thierry Volpiatto
9325 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9326 (special-display-popup-frame): When popping up a new frame reset
9327 its previous buffers to nil. Simplify code.
b4d72fcf 9328
a7b88dc6
MA
93292011-09-21 Michael Albinus <michael.albinus@gmx.de>
9330
9331 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9332 and process filter, as done also in `shell-command'.
9333
cf4eacfd
MR
93342011-09-21 Martin Rudalics <rudalics@gmx.at>
9335
eca3f3ea 9336 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9337 Call set-window-start with NOFORCE argument t.
9338 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9339 (quit-window): Reword doc-string. Handle new format of
9340 quit-restore parameter. Don't delete window if it has a
9341 previous buffer we can show instead of the present one.
9342 (display-buffer-record-window): Rewrite using a new format for
9343 the quit-restore window parameter
9344 (special-display-popup-frame, display-buffer-same-window)
9345 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9346 (display-buffer-pop-up-window, display-buffer-use-some-window):
9347 Adapt symbol passed to display-buffer-record-window.
9348 * help.el (help-window-setup): Handle new format of quit-restore
9349 parameter.
9350
8d28cb95
SM
93512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9352
94ab793f
SM
9353 * faces.el (face-list): Fix docstring (bug#9564).
9354
8d28cb95
SM
9355 * window.el (display-buffer--action-function-custom-type):
9356 Don't include internal functions in the Custom interface.
9357
3820edeb
JL
93582011-09-20 Juri Linkov <juri@jurta.org>
9359
9360 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9361 (Info-forward-node, Info-backward-node, Info-next-preorder)
9362 (Info-last-preorder): Use it. (Bug#9528)
9363
5147931d
JL
93642011-09-20 Juri Linkov <juri@jurta.org>
9365
9366 * info.el (Info-last-preorder): Visit last menu item only when
9367 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9368
cf499a1a
JD
93692011-09-20 Julien Danjou <julien@danjou.info>
9370
9371 * password-cache.el (password-cache-remove): Remove entries even if the
9372 value is nil, so that password with a nil value (negative caching) is
9373 possible to invalidate.
9374
f84e2fe2
LM
93752011-09-20 Lawrence Mitchell <wence@gmx.li>
9376
9377 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9378 all whitespace around breakpoint. (Bug#9553)
9379 (f90-find-breakpoint): Only break at whitespace inside a comment.
9380
78054a46
SM
93812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * minibuffer.el (completion-file-name-table): Keep track of errors.
9384 (completion-table-with-predicate): Handle the case where pred1 is nil.
9385 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9386
345083b2
SM
93872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9388
e24e27be
SM
9389 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9390 (debugger-return-value): Signal an error if the debugging context does
9391 not await any return value.
9392
345083b2
SM
9393 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9394 * image-mode.el (image-toggle-display-text)
9395 (image-toggle-display-image): Stay away from evil `intangible'.
9396
08d355e3
LL
93972011-09-19 Leo Liu <sdl.web@gmail.com>
9398
9399 * replace.el (occur-revert-arguments): Make it permanent-local.
9400 (occur-mode): Don't call font-lock-defontify.
9401
f01da43f
CY
94022011-09-19 Chong Yidong <cyd@stupidchicken.com>
9403
9404 * net/ldap.el (ldap-search-internal): Don't push empty search
9405 result (Bug#9508).
9406
b6072fa6
SM
94072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9410
443d6696
MA
94112011-09-19 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9414 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9415
7cc6e154
JL
94162011-09-18 Juri Linkov <juri@jurta.org>
9417
9418 * buff-menu.el (Buffer-menu-mode-map):
9419 * dired.el (dired-mode-map):
9420 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9421 (lisp-interaction-mode-map):
9422 * emacs-lisp/package.el (package-menu-mode-map):
9423 * epa.el (epa-key-list-mode-map):
9424 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9425 (menu-bar-options-menu):
9426 * outline.el (outline-mode-menu-bar-map):
9427 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9428 * vc/vc-dir.el (vc-dir-menu-map):
9429 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9430 Capitalize non-function content words in menu item strings.
9431
9432 * dired.el (dired-mode-map): Add menu item for
9433 `image-dired-dired-toggle-marked-thumbs'.
9434
80302a81
JL
94352011-09-18 Juri Linkov <juri@jurta.org>
9436
9437 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9438 to `isearch-case-fold-search' and restore its original value
9439 after the `isearch-mode' call.
9440
46c5cf66
JL
94412011-09-18 Juri Linkov <juri@jurta.org>
9442
9443 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9444 because `zgrep' returns 1 for successful matches (bug#9226).
9445
d18b513b
JL
94462011-09-18 Juri Linkov <juri@jurta.org>
9447
9448 * info.el (Info-extract-menu-node-name): Check the second match
9449 for empty string (second test-case of bug#9528).
9450 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9451 intermediate nodes to the history (first test-case of bug#9528).
9452
72753f87
JL
94532011-09-18 Juri Linkov <juri@jurta.org>
9454
9455 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9456 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9457
c9384295
JL
94582011-09-18 Juri Linkov <juri@jurta.org>
9459
1154d12e
JB
9460 * info.el (Info-file-supports-index-cookies):
9461 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9462 outputs one more line for long file names (bug#4142).
c9384295 9463
d473dce8
CY
94642011-09-18 Chong Yidong <cyd@stupidchicken.com>
9465
9466 * newcomment.el (comment-normalize-vars): If prompting for
9467 comment-start, set comment-start-skip too (Bug#8424).
9468
2176854d
JB
94692011-09-18 Johan Bockgård <bojohan@gnu.org>
9470
9471 * icomplete.el: Fix previous fix of Bug#5849.
9472 (icomplete-mode): Don't set completion-show-inline-help.
9473 (icomplete-minibuffer-setup): Set completion-show-inline-help
9474 locally during icompletion.
9475
3aace4e4
CY
94762011-09-18 Chong Yidong <cyd@stupidchicken.com>
9477
c940224f
CY
9478 * woman.el (woman2-process-escapes): Don't delete unrecognized
9479 escapes (Bug#7843).
9480
3aace4e4
CY
9481 * files.el (inhibit-first-line-modes-regexps): Add image files.
9482 (hack-local-variables-prop-line): Return nil for malformed
9483 prop-lines (Bug#9044).
9484
710dec63
MA
94852011-09-18 Michael Albinus <michael.albinus@gmx.de>
9486
9487 * net/tramp.el (top): Don't require 'shell.
9488 (tramp-methods): Fix docstring.
9489 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9490 Return complete remote file name. Handle "smb" case.
9491 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9492 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9493
9494 * net/tramp-compat.el (top): Require 'shell.
9495
9496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9497 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9498 `tramp-current-host'.
9499 (tramp-get-remote-tmpdir): Remove.
9500
9501 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9502 `tramp-tmpdir' entries.
9503 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9504 (tramp-smb-handle-file-attributes): Ignore errors.
9505 (tramp-smb-wait-for-output): Check also for process end.
9506
5d5ac8ec
LMI
95072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9508
9509 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9510 when sending QUIT (bug#9312).
9511
8c0f49f0
CY
95122011-09-17 Chong Yidong <cyd@stupidchicken.com>
9513
9514 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9515 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9516 occur-mode-display-occurrence.
9517 (occur-edit-mode): Add usage message.
9518 (occur-cease-edit): New command.
9519 (occur-after-change-function): Use text properties to find the
9520 position of the prefix text.
9521 (occur-engine): Set stickiness of prefix text properties.
9522
8f1383f7
GM
95232011-09-17 Glenn Morris <rgm@gnu.org>
9524
9525 * progmodes/etags.el (complete-tag):
9526 Fix call to completion-in-region. (Bug#9526)
9527
744ba0e3
JL
95282011-09-17 Juri Linkov <juri@jurta.org>
9529
9530 * textmodes/ispell.el (ispell-word): Add to the error message
9531 the word, ispell program name and current dictionary (bug#9121).
9532 (ispell-tex-arg-end): Capitalize "error" in the error message.
9533
d9bbf400
AS
95342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9535
9536 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9537 check. (Bug#4251)
9538
8da11505
JL
95392011-09-17 Juri Linkov <juri@jurta.org>
9540
9541 * window.el (window-safe-min-height, window-safe-min-width):
9542 Fix typos (followup to bug#9522).
9543
a91adc7e
SJ
95442011-09-17 Sven Joachim <svenjoac@gmx.de>
9545
9546 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9547
064f328a
EZ
95482011-09-16 Eli Zaretskii <eliz@gnu.org>
9549
9550 * simple.el (line-move): If goal-column is set, move by logical
9551 lines, not by display lines. (Bug#971)
9552 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9553 to reflect the above change.
9554
e69df516
SM
95552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * image.el (imagemagick-register-types): Use regexp-opt.
9558
cbb0f9ab
CY
95592011-09-15 Chong Yidong <cyd@stupidchicken.com>
9560
9561 * window.el (display-buffer-base-action): Rename from
9562 display-buffer-default-action. Make default value empty.
9563 (display-buffer-overriding-action): Convert to defvar.
9564 (display-buffer-fallback-action): New var.
9565
25322144
CY
95662011-09-15 Chong Yidong <cyd@stupidchicken.com>
9567
9568 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9569 declaration.
9570 (package--add-to-archive-contents): If there is a duplicate entry
9571 with an older version, remove it.
9572 (package-menu-mark-delete, package-menu-mark-install)
9573 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9574 (package-menu-mark-obsolete-for-deletion):
9575 Use package-menu-get-status instead of a regexp search.
25322144
CY
9576 (package-menu-get-status): Use tabulated-list-entry.
9577 (package-menu-mark-upgrades): New command.
d770725a 9578 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9579 (package-menu-execute): Do installation before deletion.
9580 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9581 instead of checking major-mode.
9582 (package-menu--find-upgrades): New function.
9583
7520339c
LMI
95842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9585
9586 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9587 passwords in the log buffer.
65a046c4
LMI
9588 (smtpmail-process-filter): Update the process marker so that the
9589 "broken by peer" status message is inserted in the right place.
7520339c 9590
d3c30954
SM
95912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9592
3fe48822
SM
9593 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9594 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9595 bibtex-completion-at-point-function.
9596 (bibtex-completion-at-point-function): Use them.
9597
1b8b3954
SM
9598 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9599
d3c30954
SM
9600 * mpc.el (mpc-constraints-tag-lookup): New function.
9601 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9602 also to browser "album|playlist".
9603
72779976
JL
96042011-09-14 Juri Linkov <juri@jurta.org>
9605
9606 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9607 (isearch-edit-string): Use length of `isearch-string' when
9608 `isearch-fail-pos' returns nil.
9609 (isearch-message): Remove duplicate code and call
9610 `isearch-fail-pos' with arg `t'.
9611
a0bf2bcd
CY
96122011-09-14 Chong Yidong <cyd@stupidchicken.com>
9613
17bb0a2d
CY
9614 * replace.el (occur-mode-goto-occurrence): Don't force using other
9615 window (Bug#9499).
9616
a0bf2bcd
CY
9617 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9618
f678e0b6
MR
96192011-09-14 Martin Rudalics <rudalics@gmx.at>
9620
9621 * window.el (display-buffer-window): Remove.
9622 (display-buffer-record-window): Use help-setup window parameter
9623 instead of variable display-buffer-window.
9624 (display-buffer-function, special-display-buffer-names)
9625 (special-display-function): Mention help-setup parameter instead
9626 of display-buffer-window in doc-string.
d3c30954
SM
9627 * help.el (help-window-setup): New argument help-window.
9628 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9629 Reword some messages.
9630 (with-help-window): Pass window used for displaying the buffer
9631 to help-window-setup. Don't set display-buffer-window.
9632
8e39b2e8
GM
96332011-09-13 Glenn Morris <rgm@gnu.org>
9634
9635 * emacs-lisp/debug.el (debugger-make-xrefs):
9636 Preserve point. (Bug#9462)
9637
85e9c04b
CY
96382011-09-13 Chong Yidong <cyd@stupidchicken.com>
9639
9640 * window.el (window-deletable-p): Use next-frame.
9641
1b36ed6a
MR
96422011-09-13 Martin Rudalics <rudalics@gmx.at>
9643
9644 * window.el (window-auto-delete): Remove.
9645 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9646 dedication and previous buffers.
1b36ed6a
MR
9647 (switch-to-prev-buffer): Don't delete window.
9648 (delete-windows-on): Delete a window's frame if and only if the
9649 window is dedicated.
9650 (replace-buffer-in-windows): Delete buffer's window or frame if
9651 and only if window is dedicated.
9652 (quit-window): Handle quit-restore as before last change.
4d61f28d 9653 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9654
ef8ef9fb
CY
96552011-09-13 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * window.el (window-deletable-p): Never delete the last frame on a
9658 given terminal.
9659
b2cba41e
GM
96602011-09-13 Glenn Morris <rgm@gnu.org>
9661
9662 * help.el (describe-key-briefly): Copy previous standard-output change.
9663
51553db6 96642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9665
9666 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9667
b7556719
GM
96682011-09-13 Glenn Morris <rgm@gnu.org>
9669
9670 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9671 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9672
64b51947
CY
96732011-09-12 Chong Yidong <cyd@stupidchicken.com>
9674
9675 * dired-aux.el (dired-mark-read-string): Don't return default
9676 value on empty input (Bug#9361).
9677 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9678 Omit initial minibuffer contents.
9679 (dired-do-chmod): Signal an error on empty input.
9680 (dired-mark-read-string): Don't return default on empty input.
9681
9682 * files.el (file-modes-symbolic-to-number): Doc fix.
9683
393a301e
SM
96842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * international/mule-cmds.el (ucs-completions): Remove.
9687 (read-char-by-name): Use complete-with-action instead; add metadata.
9688
fa5660f9
CY
96892011-09-11 Chong Yidong <cyd@stupidchicken.com>
9690
9691 * window.el (display-buffer--action-function-custom-type)
9692 (display-buffer--action-custom-type): New vars.
9693 (display-buffer-alist, display-buffer-default-action)
9694 (display-buffer-overriding-action): Add defcustom types.
9695
4a592f66
CY
9696 * frame.el (delete-other-frames): Doc fix (Bug#276).
9697
73d56dbd
LMI
96982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
9700 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9701
37ac18a3
CY
97022011-09-11 Chong Yidong <cyd@stupidchicken.com>
9703
9704 Change modes that used same-window-* vars to use switch-to-buffer.
9705
9706 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9707 Use switch-to-buffer.
9708
9709 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9710 (customize-browse, custom-buffer-create-other-window):
9711 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9712
9713 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9714 (Info-prev, Info-up, Info-speedbar-goto-node)
9715 (info-display-manual): Use switch-to-buffer.
9716 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9717
9718 * mail/sendmail.el (mail): Use switch-to-buffer.
9719 (mail-recover): Use switch-to-buffer-other-window.
9720
9721 * cmuscheme.el (run-scheme, switch-to-scheme):
9722 * ielm.el (ielm):
9723 * shell.el (shell):
9724 * net/rlogin.el (rlogin):
9725 * net/telnet.el (telnet, rsh):
9726 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9727
10195bd6
AS
97282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9729
9730 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9731
b322f63a
LMI
97322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9733
39d7fed6
LMI
9734 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9735 so don't mention it (bug#9301).
ba5a81f1 9736 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9737
ee0e9f11
LMI
9738 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9739 match `x', `w32' and `ns', like the manual says (bug#9029).
9740
0b1c89c1 9741 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9742 (process-kill-buffer-query-function): Mention the buffer name in
9743 the query.
0b1c89c1 9744
77549ea8
LMI
9745 * image-mode.el (image-next-line): The line parameter is mandatory
9746 (bug#9258).
9747
803ef892
LMI
9748 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9749 which can be useful (bug#9301).
9750
12980837
LMI
9751 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9752
91054f8f
LMI
9753 * subr.el (match-string): Mention that the current buffer should
9754 be the same as the search was done in (bug#9282).
9755
b322f63a
LMI
9756 * facemenu.el: Disable the remove-* commands if the mark isn't
9757 active (bug#9162).
9758
3199b96f
CY
97592011-09-10 Chong Yidong <cyd@stupidchicken.com>
9760
9761 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9762 of display-buffer.
9763 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9764
9765 * replace.el (occur-mode-goto-occurrence)
9766 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9767 and display-buffer.
9768
9769 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9770 display-buffer.
9771
9772 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9773 special-display and same-window variables.
9774 (mail-other-window): Use switch-to-buffer-other-window.
9775 (mail-other-frame): USe switch-to-buffer-other-frame.
9776
393a301e
SM
9777 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9778 Use display-buffer-other-frame.
3199b96f
CY
9779 (gdb-display-gdb-buffer): Use pop-to-buffer.
9780
9781 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9782
9783 * progmodes/python.el: Don't set same-window-buffer-names.
9784
9785 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9786
9787 * window.el (display-buffer-alist): Add *Python*.
9788
8319e0bf
CY
97892011-09-10 Chong Yidong <cyd@stupidchicken.com>
9790
9791 * window.el (display-buffer-alist): Add entry for buffers
9792 previously handled same-window-*.
9793 (display-buffer-alist, display-buffer-default-action)
9794 (display-buffer-overriding-action): Mark as risky.
9795 (display-buffer-alist): Document action function changes.
9796 (display-buffer--same-window-action)
9797 (display-buffer--other-frame-action): New variables.
9798 (switch-to-buffer, display-buffer-other-frame): Use them.
9799 (display-buffer): Rename reuse-frame entry to reusable-frames.
9800 (display-buffer-reuse-selected-window): Function deleted.
9801 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9802 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9803 (display-buffer-special): New function.
9804 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9805 display-buffer-reuse-or-pop-window. Split off special-display
9806 part into display-buffer-special.
9807 (display-buffer-use-some-window): Don't perform any special
9808 pop-up-frames handling.
9809 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9810 (display-buffer--maybe-same-window): Rename from
0d3ff375 9811 display-buffer-maybe-same-window.
8319e0bf 9812
919a69aa
CY
9813 * info.el: Don't set same-window-regexps.
9814 (info-setup): New function.
9815 (info-other-window, info): Call it.
9816
9817 * cus-edit.el: Don't set same-window-regexps.
9818 (customize-group): New argument.
9819 (customize-group-other-window): Use it.
9820 (customize-face, customize-face-other-window): Likewise.
9821 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9822
8319e0bf
CY
9823 * net/rlogin.el:
9824 * net/telnet.el:
9825 * progmodes/gud.el: Don't set same-window-regexps.
9826
9827 * cmuscheme.el:
9828 * ielm.el:
9829 * shell.el:
9830 * mail/sendmail.el:
9831 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9832
25173000
JL
98332011-09-10 Juri Linkov <juri@jurta.org>
9834
9835 * isearch.el (isearch-edit-string): Remove obsolete mention of
9836 `C-w' (`isearch-yank-word-or-char') from docstring.
9837 (isearch-query-replace): Fix typo in docstring (bug#9466).
9838
056e44ef
JL
98392011-09-10 Juri Linkov <juri@jurta.org>
9840
9841 * paren.el (show-paren-function): Don't show escaped parens.
9842 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9843
c3760c17
EZ
98442011-09-10 Eli Zaretskii <eliz@gnu.org>
9845
9846 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9847 (mm-default-file-encoding): Remove autoload forms, they are
9848 replaced with autoload cookies in mml.el and mm-encode.el.
9849 (mail-add-attachment): New command.
9850 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9851 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9852 the doc string.
9853 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9854
fece895e
RT
98552011-09-10 Reuben Thomas <rrt@sc3d.org>
9856
e69df516
SM
9857 * simple.el (count-words-region): Use buffer if there's no region
9858 (bug#9429).
fece895e 9859
5e68ce4a
JL
98602011-09-09 Juri Linkov <juri@jurta.org>
9861
9862 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9863 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9864 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9865
0a6b9622
AM
98662011-09-09 Alan Mackenzie <acm@muc.de>
9867
9868 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9869 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9870
14a29deb
EZ
98712011-09-09 Eli Zaretskii <eliz@gnu.org>
9872
9873 Fix for Savannah bug#9392.
9874 * simple.el (mail-encode-mml): New defvar.
9875
9876 * mail/rmail.el (mail-encode-mml): Add a defvar.
9877 (rmail-enable-mime-composing): Default to t.
9878 (rmail-forward): Use MIME method of forwarding only if both
9879 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9880 Set mail-encode-mml non-nil if the MIME method was used.
9881
9882 * mail/sendmail.el (mml-to-mime): Add autoload form.
9883 (mail-encode-mml): Add a defvar.
9884 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9885 to nil.
9886 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9887 message through mml-to-mime, and reset mail-encode-mml to nil.
9888
28c45130
GM
98892011-09-09 Glenn Morris <rgm@gnu.org>
9890
9891 * woman.el (woman-if-body): When processing an .el block,
9892 do not delete the next .el block as well. (Bug#9447)
69f4b618 9893 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9894
9b1c252e
MR
98952011-09-08 Martin Rudalics <rudalics@gmx.at>
9896
9897 * window.el (window-deletable-p): Make sure window is live before
9898 invoking window-prev-buffers.
9899
567457e3
LL
99002011-09-08 Leo Liu <sdl.web@gmail.com>
9901
9902 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9903
97f05794
JL
99042011-09-08 Juri Linkov <juri@jurta.org>
9905
9906 * progmodes/compile.el (compilation-environment): Make it
9907 a defcustom (bug#8340).
9908
8b0874b5
MR
99092011-09-08 Martin Rudalics <rudalics@gmx.at>
9910
9911 * window.el (frame-auto-delete): Rename to window-auto-delete.
9912 Make it control auto-deletion of windows and/or frames.
9913 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9914 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9915 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9916 Rewrite handling of case when window/frame can be deleted.
9917 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9918 argument t. (Bug#9456)
8b0874b5 9919
4feb6e73
CY
99202011-09-07 Chong Yidong <cyd@stupidchicken.com>
9921
9922 * help-mode.el (help-mode): Restore autoload.
9923
91ab9c13
JL
99242011-09-07 Juri Linkov <juri@jurta.org>
9925
9926 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9927 `compilation-environment'. Set buffer-local
9928 `compilation-environment' to `thisenv' later after (funcall mode).
9929 (Bug#8340)
9930
9931 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9932 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9933 instead of replacing its value. (Bug#8340)
9934
0527e251
JL
99352011-09-07 Juri Linkov <juri@jurta.org>
9936
9937 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9938 based on text properties put by `grep-filter' instead of matching
9939 escape sequences.
9940 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9941 to the value of `grep-error-screen-columns' (bug#9438).
9942
249f792c
JL
99432011-09-07 Juri Linkov <juri@jurta.org>
9944
9945 * simple.el (next-error-highlight, next-error-highlight-no-select):
9946 Doc fix (bug#9432).
9947
ff7271b9
OT
99482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9949
9950 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9951 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9952
183fc730
LL
99532011-09-07 Leo Liu <sdl.web@gmail.com>
9954
9955 * net/rcirc.el (rcirc-mode): Conditionally initialize
9956 rcirc-input-ring.
9957
77694924
SM
99582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * emacs-lisp/find-func.el (find-function-C-source): Only set
9961 find-function-C-source-directory after checking that we found a source
9962 file there (bug#9440).
9963
d809b8eb
AM
99642011-09-06 Alan Mackenzie <acm@muc.de>
9965
9966 * isearch.el (isearch-other-meta-char): Wherever a key list is
9967 unread, "unread" the prefix arg, too. This fixes bug #8901.
9968
453de99f
OG
99692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9970
9971 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9972
90439906
JL
99732011-09-05 Juri Linkov <juri@jurta.org>
9974
9975 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9976
f62bd846
JL
99772011-09-05 Juri Linkov <juri@jurta.org>
9978
9979 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9980 keeping point where processing of grep matches begins, and
9981 continue to delete remaining escape sequences from the same point.
9982 (grep-filter): Make leading zero optional in "0?1;31m" because
9983 git-grep emits "\033[1;31m" escape sequences unlike expected
9984 "\033[01;31m" as GNU Grep does (bug#9408).
9985 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9986
045820ec
JL
99872011-09-05 Juri Linkov <juri@jurta.org>
9988
9989 * subr.el (y-or-n-p): Capitalize "yes".
9990
f5e29b9b
MA
99912011-09-04 Michael Albinus <michael.albinus@gmx.de>
9992
9993 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9994 `tramp-cache-unload-hook' where appropriate.
9995 (tramp-methods): Rename `tramp-remote-sh' to
9996 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9997 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9998
9999 * net/tramp-sh.el (top): Don't require 'shell.
10000 (tramp-methods): Add `tramp-remote-shell' and
10001 `tramp-remote-shell-args' entries.
10002 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10003 (tramp-sh-handle-shell-command): Remove.
10004 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10005 Use `tramp-remote-shell'.
10006
2784c434
CY
100072011-09-03 Chong Yidong <cyd@stupidchicken.com>
10008
393a301e 10009 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10010 (sendmail-query-once): Save directly to send-mail-function.
10011 Update message-send-mail-function too.
10012
10013 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10014
464cdf56
CS
100152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10016
10017 * progmodes/python.el (python-mode-map): Use correct function to
10018 start python interpreter from menu-bar (as reported by Geert
10019 Kloosterman).
10020 (inferior-python-mode-map): Fix typo.
393a301e 10021 (python-shell-map): Remove.
464cdf56 10022
d37e5c87
DD
100232011-09-03 Deniz Dogan <deniz@dogan.se>
10024
10025 * net/rcirc.el (rcirc-print): Simplify code for
10026 rcirc-scroll-show-maximum-output. There is no need to walk
10027 through all windows to find the right one.
10028
f3ada0ee
CS
100292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10030
10031 * help.el (help-return-method): Doc fix.
10032
1f3c99ca
MR
100332011-09-03 Martin Rudalics <rudalics@gmx.at>
10034
10035 * window.el (window-deletable-p): Don't return a non-nil value
10036 when there's a buffer that was shown in the window before.
10037 (Bug#9419)
393a301e
SM
10038 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10039 Set window's previous buffers to nil.
1f3c99ca 10040
a3cf097f
EZ
100412011-09-03 Eli Zaretskii <eliz@gnu.org>
10042
10043 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10044 newline before and after the tag line, so it doesn't interfere
10045 with determining the paragraph direction of bidirectional text.
10046
3d03de90
LL
100472011-09-03 Leo Liu <sdl.web@gmail.com>
10048
10049 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10050
c3313451
CY
100512011-09-02 Chong Yidong <cyd@stupidchicken.com>
10052
393a301e 10053 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10054 (pop-to-buffer): Change interactive spec. Pass second argument
10055 directly to display-buffer.
10056 (display-buffer): Fix interactive spec. Use functionp to
10057 distinguish between a function and a list of functions.
10058
10059 * abbrev.el (edit-abbrevs):
10060 * arc-mode.el (archive-extract):
10061 * autoinsert.el (auto-insert):
10062 * bookmark.el (bookmark-bmenu-list):
10063 * files.el (find-file):
10064 * view.el (view-buffer):
10065 * progmodes/compile.el (compilation-goto-locus):
10066 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10067
89894cd8
CY
100682011-09-02 Chong Yidong <cyd@stupidchicken.com>
10069
10070 * window.el (display-buffer-alist): Doc fix.
10071 (display-buffer): Add docstring. Don't treat
10072 display-buffer-default specially.
10073 (display-buffer-reuse-selected-window)
10074 (display-buffer-same-window, display-buffer-maybe-same-window)
10075 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10076 (display-buffer-pop-up-window)
10077 (display-buffer-reuse-or-pop-window)
10078 (display-buffer-use-some-window): New functions.
10079 (display-buffer-default-action): Use them.
393a301e 10080 (display-buffer-default): Delete.
89894cd8
CY
10081 (pop-to-buffer-1): Fix choice of actions.
10082
ae0bc9fb
SM
100832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * minibuffer.el (completion--insert-strings): Don't get confused by
10086 completion entries that end with an LF char.
10087
e9d90883
EZ
100882011-09-01 Eli Zaretskii <eliz@gnu.org>
10089
10090 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10091
437014c8
CY
100922011-09-01 Chong Yidong <cyd@stupidchicken.com>
10093
10094 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10095 (display-buffer-same-window, display-buffer-other-window):
10096 New functions.
437014c8
CY
10097 (pop-to-buffer-1): New function. Use the above.
10098 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10099 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10100
10101 * view.el (view-buffer-other-window, view-buffer-other-frame):
10102 Just use pop-to-buffer.
10103
a5e063d5
TV
101042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10105
10106 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10107
793d32bb
WH
101082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10109
10110 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10111
d65e4c15
RS
101122011-08-31 Richard Stallman <rms@gnu.org>
10113
10114 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10115 of the separation of rmail-view-buffer from rmail-buffer.
10116 If you say no to "replace original", the decrypt is in the
10117 view buffer. If you say yes, the decrypt goes into the
10118 rmail buffer also.
10119
f818cd2a
MR
101202011-08-31 Martin Rudalics <rudalics@gmx.at>
10121
10122 * window.el (display-buffer-window): Rewrite doc-string.
10123 (display-buffer-record-window): New function.
10124 (display-buffer-macro-specifiers)
10125 (display-buffer-even-window-sizes, display-buffer-set-height)
10126 (display-buffer-set-width, display-buffer-in-window)
10127 (display-buffer-reuse-window, display-buffer-split-specifiers)
10128 (display-buffer-side-specifiers, display-buffer-split-window-1)
10129 (display-buffer-split-window, display-buffer-split-atom-window)
10130 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10131 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10132 (display-buffer-other-window-means-other-frame)
10133 (display-buffer-normalize-special)
10134 (display-buffer-normalize-default)
10135 (display-buffer-normalize-argument)
10136 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10137 (display-buffer-normalize-specifiers, display-buffer-frame)
10138 (display-buffer-same-window, display-buffer-same-frame)
10139 (display-buffer-other-window)
10140 (display-buffer-same-frame-other-window)
10141 (display-buffer-other-frame, pop-to-buffer-same-window)
10142 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10143 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10144 (switch-to-buffer-same-frame)
10145 (switch-to-buffer-other-window-same-frame)
10146 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10147 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10148 (display-buffer-alist-set): Remove.
10149 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10150 (special-display-regexps, special-display-function):
10151 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10152 parameter.
10153 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10154 (special-display-frame-alist, special-display-popup-frame)
10155 (same-window-buffer-names, same-window-regexps, same-window-p)
10156 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10157 (split-window-preferred-function, split-height-threshold)
10158 (split-width-threshold, window-splittable-p)
10159 (split-window-sensibly, window--try-to-split-window)
10160 (window--frame-usable-p, even-window-heights)
10161 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10162 (window--display-buffer-2, display-buffer-other-frame):
10163 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10164 (display-buffer-default, display-buffer-assq-regexp): New functions.
10165 (display-buffer-alist): Rewrite doc-string.
10166 (display-buffer-default-action)
10167 (display-buffer-overriding-action): New variables.
10168 (display-buffer, switch-to-buffer): Rewrite.
10169 (pop-to-buffer): Restore Emacs 23 behavior but use
10170 window-normalize-buffer-to-display.
10171 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10172 Restore Emacs 23 behavior but use
10173 window-normalize-buffer-to-switch-to.
10174 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10175 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10176 Rewrite using Emacs 23 options.
f818cd2a 10177
5bc3b51d
MA
101782011-08-31 Michael Albinus <michael.albinus@gmx.de>
10179
10180 * net/tramp.el (tramp-root-regexp): Remove.
10181 (tramp-completion-file-name-regexp-unified)
10182 (tramp-completion-file-name-regexp-separate)
10183 (tramp-completion-file-name-regexp-url): Don't use leading volume
10184 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10185 (tramp-drop-volume-letter): Simplify definition.
10186 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10187
b1a4f8e1
SM
101882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10191 (bug#9356).
10192
5664fa7b
RT
101932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10194
b1a4f8e1 10195 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10196
9a45d6c3
JL
101972011-08-29 Juri Linkov <juri@jurta.org>
10198
10199 * isearch.el (isearch-done): Don't display message "Mark saved"
10200 when arg `edit' is non-nil to prevent its flicker in the echo area.
10201
fb87e0fb
CY
102022011-08-28 Chong Yidong <cyd@stupidchicken.com>
10203
10204 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10205 obsolete packages for deletion.
10206
09ac1c2a
CS
102072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10208
10209 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10210 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10211 view-mode from help-mode.
10212 (help-xref-override-view-map): Remove.
10213 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10214 view-mode is not used anymore.
10215
7a1ff57f
CY
102162011-08-28 Chong Yidong <cyd@stupidchicken.com>
10217
10218 * server.el (server-port): Doc fix.
10219
b9696605
CY
10220 * cus-theme.el (custom-theme-choose-mode): Inherit from
10221 special-mode (Bug#9124).
10222 (custom-theme-choose-mode-map): Add special-mode to parent.
10223
ef8cdf8c
AM
102242011-08-28 Alan Mackenzie <acm@muc.de>
10225
10226 * progmodes/cc-fonts.el
10227 (c-make-font-lock-BO-decl-search-function): New function.
10228 (c-basic-matchers-after - "Fontify the clauses after various
10229 keywords"): Extract the three keyword lists for the 3 erroneous
10230 constructs from the list of four, and use the new function above
10231 in place of an old one.
10232
27de4e20
DD
102332011-08-28 Deniz Dogan <deniz@dogan.se>
10234
10235 * net/rcirc.el (rcirc-insert-prev-input)
10236 (rcirc-insert-next-input): Remove unused argument.
10237
356a3681
SM
102382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10241
3fc9b218
AM
102422011-08-27 Alan Mackenzie <acm@muc.de>
10243
10244 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10245 handle function pointer parameters properly.
10246
538a061c
MR
102472011-08-27 Martin Rudalics <rudalics@gmx.at>
10248
10249 * window.el (display-buffer-reuse-window): Fix case where
10250 selected window was reused with non-nil OTHER-WINDOW argument.
10251 (Bug#9381)
10252
35b1c40c
DD
102532011-08-27 Deniz Dogan <deniz@dogan.se>
10254
10255 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10256 oftc's NickServ messages.
10257
2f6a3e79
GM
102582011-08-27 Glenn Morris <rgm@gnu.org>
10259
10260 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10261
7254299e
CY
102622011-08-26 Chong Yidong <cyd@stupidchicken.com>
10263
10264 * emacs-lisp/package.el (package-install): Call package-initialize
10265 if called interactively.
10266
f8ccf167
LL
102672011-08-26 Leo Liu <sdl.web@gmail.com>
10268
10269 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10270
3e8cd5ce
JL
102712011-08-25 Juri Linkov <juri@jurta.org>
10272
10273 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10274 `search-whitespace-regexp' (bug#9364).
10275
93eb7113
JL
102762011-08-25 Juri Linkov <juri@jurta.org>
10277
10278 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10279 `regexp-search-ring' to their global values to protect from
10280 updating by `read-from-minibuffer' (bug#9185).
10281
f65d1611
JL
102822011-08-25 Juri Linkov <juri@jurta.org>
10283
10284 * textmodes/ispell.el (ispell-command-loop): Add newline
10285 at the end of the "Use option `i'..." line.
10286
f1cf7a31
JL
102872011-08-25 Juri Linkov <juri@jurta.org>
10288
10289 * battery.el (display-battery-mode): If `battery-status-function'
10290 or `battery-mode-line-format' is nil, display the message and set
10291 `display-battery-mode' to nil (bug#9363).
10292
0c95fcf7
EZ
102932011-08-25 Eli Zaretskii <eliz@gnu.org>
10294
10295 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10296 bidi-string-mark-left-to-right; they are unnecessary now.
10297
a2ebe600
DD
102982011-08-25 Deniz Dogan <deniz@dogan.se>
10299
10300 * net/quickurl.el: Documentation typo fixes.
10301
e4ed06f1
CY
103022011-08-25 Chong Yidong <cyd@stupidchicken.com>
10303
10304 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10305
e5f1c99e
GM
103062011-08-25 Glenn Morris <rgm@gnu.org>
10307
b2948976
GM
10308 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10309
e5f1c99e
GM
10310 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10311 (smtpmail-via-smtp): Handle nil response from smtp.
10312
f22f4808
JL
103132011-08-24 Juri Linkov <juri@jurta.org>
10314
10315 * proced.el (proced-marked): Inherit from `error' instead of
10316 `font-lock-warning-face'.
10317
10318 * ibuffer.el (ibuffer-marked-face): Change default face from
10319 `font-lock-warning-face' to `warning'.
10320 (ibuffer-deletion-face): Change default face from
10321 `font-lock-type-face' to `error'.
10322
10323 * battery.el (battery-update): Use the face `error' instead of
10324 `font-lock-warning-face' (bug#6117).
10325
6a93965e
JL
103262011-08-24 Juri Linkov <juri@jurta.org>
10327
10328 * faces.el (success): Change face color from "Green3" to
10329 "ForestGreen" on light background (bug#9353).
10330
1ed43b09
CY
103312011-08-24 Chong Yidong <cyd@stupidchicken.com>
10332
5664fa7b
RT
10333 * window.el (quit-window): Rename from quit-restore-window.
10334 Use same arglist as old quit-window.
1ed43b09
CY
10335 (frame-auto-delete): Doc fix.
10336
10337 * view.el (view-mode-exit): Use quit-window.
10338
11dcdbb2
JL
103392011-08-24 Juri Linkov <juri@jurta.org>
10340
10341 * isearch.el (isearch-ring-adjust1): Start visiting previous
10342 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10343 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10344 for empty search string (when the last search string is reused
10345 automatically) to adjust the isearch ring to the last element and
10346 prepare the correct index for further M-p commands (bug#9185).
10347
de62b4df
KH
103482011-08-24 Kenichi Handa <handa@m17n.org>
10349
10350 * international/ucs-normalize.el: If decomposition property of
10351 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10352 nil.
10353 (nfd, nfkd): Likewise.
10354
963b492b
SM
103552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10358 from process filters aren't reliably transmitted to the surrounding
10359 accept-process-output.
10360 (mpc-proc-check): New function.
10361 (mpc-proc-sync): Use it (bug#8293)
10362
93b6b5e1
SM
103632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10366 Add compatibility functions (bug#9313).
10367
bca633fb
EZ
103682011-08-23 Eli Zaretskii <eliz@gnu.org>
10369
b177498a
EZ
10370 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10371
6df6ae42 10372 * international/uni-bidi.el: Regenerate.
bca633fb 10373
0902a04e
KH
103742011-08-23 Kenichi Handa <handa@m17n.org>
10375
10376 * international/charprop.el:
10377 * international/uni-bidi.el:
10378 * international/uni-category.el:
10379 * international/uni-combining.el:
10380 * international/uni-comment.el:
10381 * international/uni-decimal.el:
10382 * international/uni-decomposition.el:
10383 * international/uni-digit.el:
10384 * international/uni-lowercase.el:
10385 * international/uni-mirrored.el:
10386 * international/uni-name.el:
10387 * international/uni-numeric.el:
10388 * international/uni-old-name.el:
10389 * international/uni-titlecase.el:
10390 * international/uni-uppercase.el: Regenerate.
10391
3bbf23bc
MR
103922011-08-23 Martin Rudalics <rudalics@gmx.at>
10393
10394 * help.el (help-window-setup): Fix message displayed when other
10395 window is reused. (Bug#9341)
10396
b3fd59bd
SM
103972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10398
1802e444
SM
10399 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10400 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10401
b3fd59bd
SM
10402 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10403 Mark obsolete.
10404 * shell.el (shell-parse-pcomplete-arguments): New function.
10405 (shell-completion-vars): Use it instead (bug#9160).
10406
4eb61348
SM
104072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10408
867cab74
SM
10409 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10410 strings and comments (bug#9333).
10411
4eb61348
SM
10412 * emacs-lisp/debug.el (debug-arglist): New function.
10413 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10414 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10415
262a1439
JL
104162011-08-22 Juri Linkov <juri@jurta.org>
10417
56ee679c
JL
10418 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10419 Revert regexp that highlights output switches to its old
10420 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10421
262a1439
JL
10422 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10423 to check for empty output (bug#9226).
10424
f13f86fb
CY
104252011-08-22 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10428 symbol-constituent as the default, as that stops font-lock from
10429 working properly (Bug#8843).
10430
c65c9622
LMI
104312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
10433 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10434 `coding-system-for-*' around the process open call to avoid
10435 auth-source side effects.
e7f2c178 10436 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10437 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10438 probe hangs.
c65c9622 10439
23a8a5ab
CY
104402011-08-21 Chong Yidong <cyd@stupidchicken.com>
10441
ff98b2dd
CY
10442 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10443
23a8a5ab
CY
10444 * emacs-lisp/find-func.el (find-function-noselect): New arg
10445 lisp-only.
10446
10447 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10448 signal an error for built-in functions (Bug#6664).
10449
f5e3c598
LMI
104502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10451
10452 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10453 (smtpmail-try-auth-methods): Use it.
10454
a3f2468a
CY
104552011-08-21 Chong Yidong <cyd@stupidchicken.com>
10456
2c34e8da
CY
10457 * font-lock.el (font-lock-fontify-region)
10458 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10459 (font-lock-default-unfontify-buffer)
10460 (font-lock-default-fontify-region)
10461 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10462
b3fd59bd
SM
10463 * progmodes/compile.el (compilation-error-properties):
10464 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10465 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10466 `ant' regexp.
ee31aabc 10467
a3f2468a
CY
10468 * net/browse-url.el (browse-url-firefox): Don't call
10469 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10470
8e999f70
GM
104712011-08-20 Glenn Morris <rgm@gnu.org>
10472
c21a496a
GM
10473 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10474
59ee0542
GM
10475 * tutorial.el (tutorial--default-keys): Update some default bindings.
10476
8e999f70
GM
10477 * files.el (hack-local-variables): Fully ignore case for "mode:".
10478
e3715033
AM
104792011-08-20 Alan Mackenzie <acm@muc.de>
10480
10481 Resolve invalid use of a regexp in regexp-opt.
10482
4d61f28d
JB
10483 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10484 detection for a java annotation.
e3715033 10485
4d61f28d 10486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10487 detection for a java annotation.
10488
4d61f28d
JB
10489 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10490 handling for java.
e3715033
AM
10491 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10492
04ed2e9c
CY
104932011-08-20 Chong Yidong <cyd@stupidchicken.com>
10494
10495 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10496 (Bug#9274).
10497
826cee64
AM
104982011-08-20 Alan Mackenzie <acm@muc.de>
10499
58179cce 10500 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10501 such a construct. Mainly for when jit-lock etc. starts a chunk
10502 here.
10503
58179cce 10504 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10505 variable.
58179cce 10506 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10507 c-make-font-lock-search-function.
10508 (c-make-font-lock-search-function): Use the above function.
10509 (c-make-font-lock-context-search-function): New function.
10510 (c-cpp-matchers): Enhance the preprocessor expression case with
10511 the above function
10512 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10513 which takes an expression.
10514
10515 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10516
13009bd8
MR
105172011-08-20 Martin Rudalics <rudalics@gmx.at>
10518
10519 * window.el (display-buffer-reuse-window)
10520 (display-buffer-pop-up-window): Don't reuse or split a side
10521 window.
10522
9234ff7f
GM
105232011-08-19 Glenn Morris <rgm@gnu.org>
10524
10525 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10526 Downcase "Mode:". (Bug#9331)
9234ff7f 10527
f635daa1
CY
105282011-08-18 Chong Yidong <cyd@stupidchicken.com>
10529
10530 * international/characters.el: Add L and R categories.
10531
10532 * subr.el (bidi-string-mark-left-to-right): Rename from
10533 string-mark-left-to-right. Use category search.
10534
10535 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10536
bc987f8b
JL
105372011-08-18 Juri Linkov <juri@jurta.org>
10538
10539 * faces.el (error, warning, success): New faces with definitions
10540 copied from old default values of `font-lock-warning-face',
10541 `compilation-warning', `compilation-info' (bug#6117).
10542
10543 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10544
10545 * progmodes/compile.el (compilation-error): Inherit from `error'.
10546 (compilation-warning): Inherit from `warning'.
10547 (compilation-info): Inherit from `success'.
10548
10549 * dired.el (dired-marked): Inherit from `warning'.
10550 (dired-flagged): Inherit from `error'.
10551
57173b96
LMI
105522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10553
3e79eb87
LMI
10554 * mail/smtpmail.el (auth-source): Require to avoid problems with
10555 binding variables (bug#9298). Also clean up some unused
10556 autoloads.
10557
b3fd59bd
SM
10558 * net/network-stream.el (network-stream-open-starttls):
10559 Support using starttls.el without using gnutls-cli.
57173b96 10560
02b404de
JL
105612011-08-17 Juri Linkov <juri@jurta.org>
10562
10563 * progmodes/grep.el (rgrep): Handle the case when
10564 `grep-find-command' is a cons cell (bug#9278).
10565
8c9177f2
MR
105662011-08-17 Martin Rudalics <rudalics@gmx.at>
10567
10568 * window.el (display-buffer-pop-up-frame): Run frame creation
10569 function with BUFFER current (as special-display-popup-frame
10570 does). Reported by Drew Adams.
10571
3644a0ab
DU
105722011-08-17 Daiki Ueno <ueno@unixuser.org>
10573
10574 * epa-mail.el: Simplify GnuPG group expansion using
10575 epg-expand-group.
10576 (epa-mail-group-alist, epa-mail-group-modtime)
10577 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10578 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10579 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10580 Remove.
10581
5e617bc2 105822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10583
10584 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10585
9c4aeabf
AM
105862011-08-16 Alan Mackenzie <acm@muc.de>
10587
10588 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10589 Correct, to avoid the inside of macros.
10590
3a99bf64
RS
105912011-08-16 Richard Stallman <rms@gnu.org>
10592
04963aa8
RS
10593 * epa-mail.el: Handle GnuPG group definitions.
10594 (epa-mail-group-alist, epa-mail-group-modtime)
10595 (epa-mail-gnupg-conf-file): New variables.
10596 (epa-mail-parse-groups, epa-mail-sync-groups)
10597 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10598 (epa-mail-expand-recipients): New functions.
10599 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10600
177549d0
RS
10601 * mail/rmail.el (rmail-epa-decrypt): New command.
10602
fe38beef
RS
10603 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10604 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10605 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10606 (epa-decrypt-armor-in-region): Make error message clearer.
10607
934eacb9
SM
106082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10611 and "a2b" to "ab" for `prefix'.
10612
d024fb4e
CY
106132011-08-14 Chong Yidong <cyd@stupidchicken.com>
10614
10615 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10616 filter groups.
de148fee
CY
10617 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10618 Fourquet (Bug#8804).
d024fb4e 10619
62f1ca49
JB
106202011-08-12 Juanma Barranquero <lekktu@gmail.com>
10621
10622 * startup.el (argi): Declare as global variable (bug#9275).
10623
9ccaaa4b
CY
106242011-08-12 Chong Yidong <cyd@stupidchicken.com>
10625
10626 * subr.el (string-mark-left-to-right): Search the entire string
10627 for RTL script, not just the terminating character. Doc fix.
10628
a3dae87a
SM
106292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10630
6cd18349
SM
10631 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10632 New function.
10633 (js--regexp-literal, js-syntax-propertize-function): Remove.
10634 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10635 (js-mode-map): Don't rebind electric keys.
10636 (js-insert-and-indent): Remove.
10637 (js-mode): Setup electric-layout and electric-indent instead.
10638
a3dae87a
SM
10639 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10640
9d5cb631
DU
106412011-08-12 Daiki Ueno <ueno@unixuser.org>
10642
10643 * epa.el (epa-progress-callback-function): Fix the logic of
10644 displaying progress.
10645 * epa-file.el (epa-file-insert-file-contents): Make progress
10646 display more user-friendly.
10647 (epa-file-write-region): Ditto.
10648
3e26a4a2
CY
106492011-08-10 Chong Yidong <cyd@stupidchicken.com>
10650
10651 * subr.el (string-mark-left-to-right): New function.
10652
10653 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10654 Use string-mark-left-to-right.
10655 (list-buffers-noselect): Caller changed.
10656
a3dae87a
SM
10657 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10658 Use string-mark-left-to-right.
3e26a4a2
CY
10659 (tabulated-list-print): Recenter after moving point.
10660
ac8cf6e6
JL
106612011-08-10 Juri Linkov <juri@jurta.org>
10662
10663 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10664 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10665 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10666
8d96c9a4
CY
106672011-08-09 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10670 (Bug#7554).
10671
7be1c708 106722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10673
10674 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10675 character. (Bug#6594)
10676
37e11a63
CY
106772011-08-08 Chong Yidong <cyd@stupidchicken.com>
10678
839dde57
CY
10679 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10680 (image-dired--with-db-file): New macro.
10681 (image-dired-write-tags, image-dired-remove-tag)
10682 (image-dired-create-gallery-lists, image-dired-write-comments)
10683 (image-dired-get-comment, image-dired-mark-tagged-files)
10684 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10685 (image-dired-gallery-generate): Use insert-file-contents.
10686
37e11a63
CY
10687 * time.el (display-time-world-list, display-time-world-display):
10688 * time-stamp.el (time-stamp-string):
10689 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10690 set-time-zone-rule (Bug#7337).
10691
0b4946c4
DU
106922011-08-08 Daiki Ueno <ueno@unixuser.org>
10693
10694 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10695 (epg-error-to-string, epg-errors-to-string): New function.
10696 (epg-wait-for-completion): Reverse errors list.
10697 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10698 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10699 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10700 (epg-sign-keys, epg-generate-key-from-file)
10701 (epg-generate-key-from-string): Format errors by using
10702 epg-errors-to-string (bug#9255).
10703 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10704
75bfc667
JL
107052011-08-07 Juri Linkov <juri@jurta.org>
10706
10707 * faces.el (list-faces-display): Remove extra angle bracket
10708 from `help-mode-map'.
10709
10710 * info.el (Info-history-toc-nodes): Doc fix.
10711
10712 * longlines.el (longlines-mode): Doc fix.
10713
673e08bb
SM
107142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10715
4640dd88
SM
10716 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10717 of statements and in a few more cases (bug#9183).
10718
673e08bb
SM
10719 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10720 New functions.
10721 (cl-transform-lambda): Use them (bug#9239).
10722
89b3f019
MR
107232011-08-05 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (display-buffer-same-window)
10726 (display-buffer-same-frame, display-buffer-other-window)
10727 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10728 (pop-to-buffer-other-window)
10729 (pop-to-buffer-same-frame-other-window)
10730 (pop-to-buffer-other-frame): Make them defuns.
10731 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10732
640c8776
SM
107332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * subr.el (make-composed-keymap): Move from C. Change calling
10736 convention, and improve docstring to bring attention to a subtle point.
10737 * minibuffer.el (completing-read-default): Adjust accordingly.
10738
63648a95
MA
107392011-08-03 Michael Albinus <michael.albinus@gmx.de>
10740
10741 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10742 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10743
10744 * net/trampver.el: Update release number.
10745
b796c9b7
SM
107462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10749 "in" (bug#9190).
10750
2239d7d5
LMI
107512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10752
e07dd7c3
LMI
10753 * mail/sendmail.el (sendmail-query-once): Restore the current
10754 buffer after querying (bug#9074).
10755
0e6a2bd7
LMI
10756 * dired.el (dired-flagged): Use different faces for marked and
10757 flagged files (bug#6117).
10758
ce887515
LMI
10759 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10760 (bug#4433).
10761
92f2affc
LMI
10762 * ido.el (ido-mode): Switch off the message if called
10763 non-interactively.
10764
57d5aff0
LMI
10765 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10766 before 587, since it appears that that's more likely to work for
10767 more people.
10768
98cd6c18 10769 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10770 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10771 exist.
10772
b96dec83
LMI
10773 * info.el: Remove the `Info-beginning-of-buffer' function
10774 (bug#8325).
10775
b796c9b7
SM
10776 * net/network-stream.el (network-stream-open-starttls):
10777 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10778
d90e2ea0
MR
107792011-08-01 Martin Rudalics <rudalics@gmx.at>
10780
10781 * window.el (display-buffer-in-window): Don't set dedicated status
10782 of window here (Bug#9215).
10783 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10784 (display-buffer-pop-up-side-window)
b796c9b7 10785 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10786
cca09170
SM
107872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10790 before binding generated-autoload-file.
10791
027b979c
DD
107922011-08-01 Deniz Dogan <deniz@dogan.se>
10793
10794 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10795
3c7ee4f3
MA
107962011-07-30 Michael Albinus <michael.albinus@gmx.de>
10797
10798 Sync with Tramp 2.2.2.
10799
10800 * net/trampver.el: Update release number.
10801
2cc8e51a
JL
108022011-07-30 Juri Linkov <juri@jurta.org>
10803
10804 * dired-aux.el (dired-touch-initial): Remove function.
10805 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10806 current time, and `default' to the last modification time of the
10807 current marked file (bug#6887).
10808
a514d856
JM
108092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10810
10811 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10812 numeric argument to read-number (bug#9163).
a514d856 10813
8a7eddd7
MA
108142011-07-27 Michael Albinus <michael.albinus@gmx.de>
10815
10816 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10817 connection process, it could be nil.
10818
1ddd96f5
LL
108192011-07-27 Leo Liu <sdl.web@gmail.com>
10820
10821 Simplify url handling in rcirc-mode.
10822
10823 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10824 (rcirc-browse-url-at-mouse): Remove.
10825 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10826
b248a85d
AM
108272011-07-26 Alan Mackenzie <acm@muc.de>
10828
10829 Fontify bitfield declarations properly.
10830
10831 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10832 (c-symbol-chars): Now exported as a lang variable.
10833 (c-not-primitive-type-keywords): New lang variable.
10834
10835 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10836 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10837 parsed as a bitfield declaration.
b248a85d 10838
b796c9b7
SM
10839 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10840 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10841 (c-punctuation-in): New function.
10842 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10843 declarations properly.
10844
68575ab0
UJ
108452011-07-26 Ulf Jasper <ulf.jasper@web.de>
10846
10847 * calendar/icalendar.el (icalendar--all-events): Take care of
10848 multiple vcalendars in a single file.
b796c9b7 10849 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10850
0f0a88b9
DD
108512011-07-25 Deniz Dogan <deniz@dogan.se>
10852
10853 * image.el (insert-image): Clarifying docstring.
10854
0b3f36df
MA
108552011-07-24 Michael Albinus <michael.albinus@gmx.de>
10856
10857 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10858 `tramp-send-command-and-check' if there is no error.
10859 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10860
a9901f61
AM
108612011-07-22 Alan Mackenzie <acm@muc.de>
10862
10863 Prevent cc-langs.elc being loaded at run time.
10864
10865 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10866 cc-langs.
10867
4d61f28d 10868 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10869 "(require 'cc-langs)". Quote a form so it will evaluate at
10870 (cc-mode's) compilation time.
10871
11d074b2
MA
108722011-07-22 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10875 loading. (Bug#9114)
10876
938b94c8
MR
108772011-07-21 Martin Rudalics <rudalics@gmx.at>
10878
10879 * window.el (display-buffer-pop-up-window)
10880 (display-buffer-pop-up-side-window)
10881 (display-buffer-in-side-window): Call display-buffer-set-height
10882 and display-buffer-set-width after setting the new window's
b796c9b7 10883 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10884
bfa4f190
SS
108852011-07-20 Sam Steingold <sds@gnu.org>
10886
10887 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10888 (etags-tags-included-tables): Call `convert-standard-filename' on
10889 the file names contained in TAGS so that windows Emacs can handle
10890 TAGS files created by cygwin ctags.
10891
8ca42262
LMI
108922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10893
10894 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10895 which apparently didn't work.
10896
5db2afd2 108972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10898
5db2afd2
RW
10899 * proced.el (proced-send-signal): For *Marked Processes* buffer
10900 put point at beginning of buffer.
10901
92e15d10
SB
109022011-07-19 Stephen Berman <stephen.berman@gmx.net>
10903
10904 * proced.el (proced-format): Make header lines align with the text
10905 (bug#1779).
10906
1bfd59e5
LMI
109072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
10909 * view.el (view-buffer): Allow running in `special' modes if we're
10910 visiting a file (bug#8615).
10911
f5aae37c
MR
109122011-07-19 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10915 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10916 New functions.
f5aae37c
MR
10917 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10918 more accurately.
10919
bf2c1571
AM
109202011-07-18 Alan Mackenzie <acm@muc.de>
10921
10922 Fontify declarators properly when, e.g., a jit-lock chunk begins
10923 inside a declaration.
10924
10925 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10926
b796c9b7
SM
10927 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10928 New function.
bf2c1571
AM
10929 (c-complex-decl-matchers): Insert reference to
10930 c-font-lock-enclosing-decls.
10931
10932 * progmodes/cc-engine.el (c-backward-single-comment):
10933 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10934 to nil around calls to (forward-comment -1).
10935
4e190b80
LMI
109362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
12dc863d
LMI
10938 * image.el (put-image): Doc typo fix.
10939
a762e966
LMI
10940 * progmodes/etags.el (tags-search): Doc typo fix.
10941
4e190b80
LMI
10942 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10943 password if we get errors 550 to 554.
10944
f019fb21
LMI
109452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10946
b796c9b7 10947 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10948
81746738
LMI
10949 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10950 indentation character (bug#6380).
10951
3ee3a1b5
LMI
10952 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10953
c82f64de
LMI
10954 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10955 to clarify what the problem is (bug#4291).
10956
f019fb21
LMI
10957 * simple.el (current-kill): Clarify what
10958 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10959 (auto-fill-mode): Document `auto-fill-function' in relation to
10960 `auto-fill-mode' (bug#2470).
f019fb21 10961
0794775d
LM
109622011-07-16 Lawrence Mitchell <wence@gmx.li>
10963
10964 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10965 method if slot is read-only (bug#9035).
10966
be39b8cc
MR
109672011-07-16 Martin Rudalics <rudalics@gmx.at>
10968
b796c9b7 10969 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10970 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10971 selected before, see discussion of (Bug#8615), (Bug#6954).
10972 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10973
6ccf7859
GM
109742011-07-15 Glenn Morris <rgm@gnu.org>
10975
10976 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10977 Respect help-form.
6ccf7859 10978
87e86684
LM
109792011-07-09 Lawrence Mitchell <wence@gmx.li>
10980
10981 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10982 (gnutls-negotiate): Use it.
10983
d6066239
LMI
109842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
b796c9b7
SM
10986 * net/gnutls.el (gnutls-negotiate):
10987 Upcase `gnutls-algorithm-priority'.
d6066239 10988
bd23ebc0
GM
109892011-07-15 Glenn Morris <rgm@gnu.org>
10990
c65bca65
GM
10991 * jka-compr.el (jka-compr-verbose): Move from here...
10992 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10993 Add missing :version tag.
10994 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10995
478615cc
LMI
109962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10997
7b41decb
LMI
10998 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10999 (gnutls-negotiate): Use it.
11000
dbc44fcd
LMI
11001 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11002
06789f97
LMI
11003 * info.el (Info-beginning-of-buffer): New command.
11004 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11005 announcing `b' as the key (bug#8325).
ab896c37 11006 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11007
c39da690
LMI
11008 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11009
3aa5f34b
LMI
11010 * international/mule-cmds.el
11011 (describe-specified-language-support): Make the error message
11012 clearer (bug#8905).
11013
4bf0979f
LMI
11014 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11015
478615cc
LMI
11016 * isearch.el (isearch-barrier): Add a doc string, since it's
11017 mentioned in a function doc string (bug#8678).
11018
75c68aa1
MR
110192011-07-15 Martin Rudalics <rudalics@gmx.at>
11020
11021 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11022 buffer argument (Bug#9083) and self-identifying label argument.
11023
a7c33da2
GM
110242011-07-15 Glenn Morris <rgm@gnu.org>
11025
11026 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11027
2f5c6024
LMI
110282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11029
11030 * man.el (Man-fontify-manpage): Fix message when formatting the
11031 man page (bug#7929).
11032
0bb23927 110332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11034
11035 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11036 argument LRM; if non-nil, append an invisible LRM character to the
11037 buffer name.
11038 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11039 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11040 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11041 paragraph direction.
cce4b0a7 11042
621ef9ab
LMI
110432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11044
d1583c48
LMI
11045 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11046 the man page name (bug#7929).
11047
6a57fb5f
LMI
11048 * image.el (put-image): Mention the `put-image' overlay property
11049 (bug#7834).
11050
d7956b14
LMI
11051 * scroll-bar.el (set-scroll-bar-mode): Mention that
11052 `scroll-bar-mode' lists the values (bug#7772).
11053
5b2d4a66
LMI
11054 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11055 command (bug#7729).
11056
7509a874
LMI
11057 * rect.el (apply-on-rectangle): Return the point after the last
11058 operation.
11059 (string-rectangle): Go to the point after the last operation
11060 (bug#7522).
11061
4fe74b19
LMI
11062 * printing.el (pr-toggle-region): Clarify the documentation
11063 slightly (bug#7493).
11064
b796c9b7
SM
11065 * time.el (display-time-update):
11066 Allow `display-time-mail-function' to return nil (bug#7158).
11067 Fix suggested by Detlev Zundel.
ab283561 11068
fc233c9d
LMI
11069 * vc/diff.el (diff): Clarify the order the file names are read
11070 (bug#7111).
11071
43f5740b
LMI
11072 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11073 the doc string (bug#7015).
11074
f2182a76
LMI
11075 * font-lock.el (font-lock-maximum-decoration): Mention what
11076 numeric levels mean (bug#6935).
11077
621ef9ab
LMI
11078 * startup.el (initial-buffer-choice): Don't mention the `none'
11079 selection, which is against policy.
11080
adc47434
MR
110812011-07-14 Martin Rudalics <rudalics@gmx.at>
11082
b796c9b7
SM
11083 * window.el (display-buffer-normalize-special):
11084 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11085
7e5bfb8f
EZ
110862011-07-14 Eli Zaretskii <eliz@gnu.org>
11087
11088 * subr.el (version<, version<=, version=): Mention "-CVS" and
11089 "-12345" alpha version numbers.
11090
27fa387a
CY
110912011-07-14 Chong Yidong <cyd@stupidchicken.com>
11092
11093 * bindings.el: Add advertised binding for set-mark-command
11094 (Bug#5772).
11095
8bdfa064
CY
110962011-07-14 Chong Yidong <cyd@stupidchicken.com>
11097
11098 * bindings.el (mode-line-other-buffer):
11099 * bookmark.el (bookmark-bmenu-2-window):
11100 * bs.el (bs-cycle-next, bs-cycle-previous):
11101 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11102 switch-to-buffer.
11103
11104 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11105 Delete.
8bdfa064 11106
5eba16a3
JB
111072011-07-14 Juanma Barranquero <lekktu@gmail.com>
11108
11109 * follow.el (follow-debug-message, follow-redisplay):
11110 * jka-cmpr-hook.el (with-auto-compression-mode):
11111 Fix typos in docstrings.
11112
15853710
LMI
111132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11114
a28e4607
LMI
11115 * subr.el (with-silent-modifications): Clarify somewhat what the
11116 macro inhibits (bug#6525).
11117
15853710
LMI
11118 * simple.el (eval-expression): Note what it does if called
11119 interactively (bug#6495).
11120
bee0fcef
CY
111212011-07-13 Chong Yidong <cyd@stupidchicken.com>
11122
b796c9b7
SM
11123 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11124 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11125
11126 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11127 Remove switch-to-buffer.
11128
58274504
LMI
111292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11130
bd2fcc8d
LMI
11131 * files.el (make-directory): Clarify that an error will be raised
11132 if there's an error (bug#6397).
11133
0f04b32c
LMI
11134 * startup.el (initial-buffer-choice): Add `none' as a choice
11135 (bug#6234).
11136
465c5fc8
LMI
11137 * subr.el (add-hook): Clarify section about buffer-local hooks
11138 (bug#6218).
11139
58274504
LMI
11140 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11141
bead9a43
JB
111422011-07-13 Juanma Barranquero <lekktu@gmail.com>
11143
11144 * tabify.el (untabify): Preserve the current column so that point
11145 doesn't move (bug#6032).
11146
3af98a7b
LMI
111472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11148
b796c9b7
SM
11149 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11150 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11151
6240145a
GM
111522011-07-13 Glenn Morris <rgm@gnu.org>
11153
11154 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11155 (dired-insert-directory): Give a message the first time
11156 if ls is found not to support --dired.
11157
1d8c2ccc
LMI
111582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11159
11160 * simple.el (toggle-truncate-lines): Clarify what is toggled
11161 (bug#5580). Text by Drew Adams.
11162
5fc4038e
CY
111632011-07-13 Chong Yidong <cyd@stupidchicken.com>
11164
11165 * simple.el (blink-matching-open): Make the error message from the
11166 last change less verbose.
11167
bf6012e5
DN
111682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11169
11170 * font-lock.el (font-lock-comment-face): Use the high contrast
11171 "yellow" color for font-lock-comment-face on low color terminals
11172 using a dark background color (bug#4221).
11173
343c3b5a
LMI
111742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11175
7e9505c5
LMI
11176 * dired.el (dired-insert-set-properties): Make the doc string
11177 reflect what it does now (bug#5325).
11178
c26fdcf5
LMI
11179 * simple.el (blink-matching-open): Say that we were unable to find
11180 the match within the limit, if we're limited (bug#5122).
11181
bb388cc5
LMI
11182 * international/mule-cmds.el (prefer-coding-system): Add an
11183 example (bug#4869).
11184
343c3b5a
LMI
11185 * progmodes/etags.el (tags-search): Document `file-list-form'
11186 (bug#4731).
11187
2a517d45
LM
111882011-07-13 Lawrence Mitchell <wence@gmx.li>
11189
11190 * net/browse-url.el (browse-url-default-browser)
11191 (browse-url-browser-function): Make the default browser choice a
11192 bit more logical (bug#4300). Also clean up the doc string.
11193
b6c78ef2
JB
111942011-07-13 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11197 binary endings (bug#4440).
11198
1c4dd947
LMI
111992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11200
a2014063
LMI
11201 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11202 which can be pretty annoying (bug#8971).
11203
9c9c2d88
LMI
11204 * jka-compr.el (jka-compr-verbose): New variable, and use
11205 throughout (bug#8971).
11206
1c4dd947
LMI
11207 * info.el (Info-find-file): Fall back on the installation
11208 directory if we can't find the info node anywhere else.
11209
a1c9f41b
SO
112102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11211
11212 * vc/vc.el (vc-revert-file):
11213 Don't set file time-stamp in the past. (Bug#5181)
11214
536f3d36
LMI
112152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11216
7152b011
LMI
11217 * files.el (after-find-file): Give a better error message when
11218 trying to find a symlink that points to a file that doesn't exist
11219 (bug#4398).
11220
536f3d36
LMI
11221 * progmodes/cc-vars.el: Remove (probably) misleading comment
11222 (bug#4396).
11223
460c0fba
JB
112242011-07-12 Johan Bockgård <bojohan@gnu.org>
11225
11226 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11227
7a6bda45
CY
112282011-07-12 Chong Yidong <cyd@stupidchicken.com>
11229
11230 * mouse-sel.el: Hack restoring functionality, while keeping
11231 compatibility with 2010-07-03 changes to mouse selection.
11232 (mouse-sel-primary-overlay): New var.
11233 (mouse-sel-selection-alist): Use it.
11234 (mouse-sel-mode): Doc fix; remove points that are default features
11235 of mouse.el.
11236
c79598ef
JB
112372011-07-12 Johan Bockgård <bojohan@gnu.org>
11238
11239 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11240 Fix previous fix (bug#2490).
11241
ff8be6ef
RW
112422011-07-12 Roland Winkler <winkler@gnu.org>
11243
b796c9b7
SM
11244 * textmodes/bibtex.el (bibtex-initialize):
11245 Use pop-to-buffer-same-window.
ff8be6ef
RW
11246 (bibtex-search-entries): Fix interactive call.
11247
296ba3ee
LMI
112482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11249
f5242a02 11250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11251 Fontise bytecomp Error lines more correctly (bug#2490).
11252 Fix suggested by Johan Bockgård.
f5242a02 11253
296ba3ee
LMI
11254 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11255
11256 * dired-x.el (dired-guess-default): Use `delete-dups'.
11257
f69fd0d2
CY
112582011-07-12 Chong Yidong <cyd@stupidchicken.com>
11259
11260 * dired.el (dired-mark-prompt):
11261 * dired-aux.el (dired-read-shell-command): Doc fix.
11262
eab5dc07
LMI
112632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11264
b796c9b7
SM
11265 * mail/sendmail.el (sendmail-query-once):
11266 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11267 emacs -Q.
11268
11269 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11270
eab5dc07
LMI
11271 * cus-edit.el (custom-file): Take an optional no-error variable.
11272 (customize-save-variable): Set the variable, and give a warning if
11273 running under "emacs -q".
11274
a1e65d42
JB
112752011-07-11 Juanma Barranquero <lekktu@gmail.com>
11276
11277 * loadhist.el (unload-feature-special-hooks):
11278 Add `auto-coding-functions', `fill-nobreak-predicate' and
11279 `find-directory-functions' (bug#5327).
11280
1d52da10
LMI
112812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11282
be958f1d
LMI
11283 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11284
5bedb26c
LMI
11285 * cus-edit.el (custom-guess-name-alist): -alist variables should
11286 use the `alist' type (bug#3120). Suggested by Drew Adams.
11287
1d52da10
LMI
11288 * printing.el: Add documentation to all the `pr-toggle-' commands.
11289
cd394be1 112902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11291
11292 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11293 backends where it makes sense (bug#2623).
11294
dcc88d8a
LMI
112952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11296
c3de9feb
LMI
11297 * dired-x.el (dired-guess-default): Remove duplicate shell command
11298 entries (bug#2028).
8a93078b 11299 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11300 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11301
dcc88d8a
LMI
11302 * subr.el (remove-duplicates): New conveniency function.
11303
505e3645
LMI
113042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11305
11306 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11307 (bug#1526).
11308
113092011-07-10 Martin Rudalics <rudalics@gmx.at>
11310
11311 * window.el (display-buffer-normalize-default): Don't invert
11312 meaning of even-window-heights. Reported by Eli Zaretskii
11313 <eliz@gnu.org>.
11314
455e4fa1
BR
113152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11316
11317 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11318
8e0bc3e9
CY
113192011-07-10 Chong Yidong <cyd@stupidchicken.com>
11320
11321 * window.el (display-buffer): Fix arguments to
11322 display-buffer-reuse-window in last change.
11323
fa7c3228
CY
11324 * faces.el (link): Use a less saturated blue on light backgrounds.
11325
11326 * startup.el (fancy-startup-text, fancy-about-text)
11327 (fancy-startup-tail): Use font-lock faces, for background safety.
11328
c0a7f300
BN
113292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11330
b796c9b7
SM
11331 * emulation/viper-cmd.el (viper-change-state-to-vi):
11332 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11333
4dc2a129
MR
113342011-07-09 Martin Rudalics <rudalics@gmx.at>
11335
11336 * window.el (display-buffer-default-specifiers): Remove.
11337 (display-buffer-macro-specifiers): Remove default specifiers.
11338 (display-buffer-alist): Default to nil.
b796c9b7 11339 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11340 (display-buffer-pop-up-window): Allow splitting internal
11341 windows. Check whether a live window was created.
11342 (display-buffer-other-window-means-other-frame)
11343 (display-buffer-normalize-arguments): Rename to
11344 display-buffer-normalize-argument and rewrite. Set the
11345 other-window specifier.
11346 (display-buffer-normalize-special): New function.
11347 (display-buffer-normalize-options): Rename to
11348 display-buffer-normalize-default and rewrite.
11349 (display-buffer-normalize-options-inhibit): Remove.
11350 (display-buffer-normalize-specifiers): Rewrite.
11351 (display-buffer): Process other-window specifier and call
11352 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11353 more faithfully.
b796c9b7 11354 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11355 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11356 (display-buffer-in-window, display-buffer-alist-set):
11357 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11358 <tassilo@member.fsf.org>.
11359
2d43b8c9
LL
113602011-07-09 Leo Liu <sdl.web@gmail.com>
11361
11362 * register.el (insert-register): Restore accidental change on
11363 2011-06-26. (Bug#9028)
11364
7f9b7c53
GM
113652011-07-09 Glenn Morris <rgm@gnu.org>
11366
11367 * subr.el (remq): Handle the empty list. (Bug#9024)
11368
f042cfd8
AS
113692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11370
11371 * mail/sendmail.el (send-mail-function): No longer delay custom
11372 initialization.
11373 * custom.el (custom-initialize-delay): Doc fix.
11374
856b2f11
SM
113752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11378
afae1d68
MA
113792011-07-08 Michael Albinus <michael.albinus@gmx.de>
11380
11381 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11382 human-friendly prompt.
11383
0757af94
SM
113842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11387 provided by a particular plugin.
11388
d760b731
LMI
113892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11390
11391 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11392 save customizations (with "emacs -Q"), just set the variable
11393 instead of erroring out.
11394
11395 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11396
cd79ce90
JL
113972011-07-08 Juri Linkov <juri@jurta.org>
11398
11399 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11400 (archive-zip-update-case): Use 7z if found by `executable-find'.
11401 The order of searching the available programs is the same as in
11402 `archive-zip-extract' (bug#8968).
11403
14cc04aa
CY
114042011-07-07 Chong Yidong <cyd@stupidchicken.com>
11405
11406 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11407 (menu-bar-options-menu): Tweak descriptions.
11408
0a1848ec
LMI
114092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11410
11411 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11412 menu items into verb phrases (bug#1421). Also refill to fit under
11413 80 columns.
11414
f5bd0689
CY
114152011-07-07 Chong Yidong <cyd@stupidchicken.com>
11416
538e85c6
CY
11417 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11418 (Info-read-node-name): Doc fix (Bug#1084).
11419
f5bd0689
CY
11420 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11421 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11422 (end-of-sexp, beginning-of-sexp)
11423 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11424 (forward-symbol, forward-same-syntax, word-at-point)
11425 (sentence-at-point): Doc fix (Bug#1144).
11426
56ec5115
LMI
114272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
f3f8e37f
LMI
11429 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11430 should cover it (bug#1281).
11431
0757af94 11432 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11433
e9fce1ac 11434 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11435 negotiation fails, then possibly try again with a non-encrypted
11436 connection (bug#9017).
11437
56ec5115
LMI
11438 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11439 be used.
11440
c2f9aec8
RS
114412011-07-07 Richard Stallman <rms@gnu.org>
11442
11443 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11444 property, and handle its changed format.
11445 Look for the correct line number.
11446 Use file's line contents (but not past first =) to find
11447 correct line in message.
11448
ef7b981d 114492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11450
11451 * international/characters.el (build-unicode-category-table):
11452 Delete it.
0757af94 11453 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11454
0757af94 11455 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11456 to src/chartab.c.
11457 (get-char-code-property): Call unicode-property-table-internal to
11458 load a file. Call get-unicode-property-internal where necessary.
11459 (put-char-code-property): Call unicode-property-table-internal to
11460 load a file. Call put-unicode-property-internal where necessary.
11461 put-unicode-property-internal where necessary.
0757af94
SM
11462 (char-code-property-description):
11463 Call unicode-property-table-internal to load a file.
c805dec0
KH
11464
11465 * international/charprop.el:
11466 * international/uni-bidi.el:
11467 * international/uni-category.el:
11468 * international/uni-combining.el:
11469 * international/uni-comment.el:
11470 * international/uni-decimal.el:
11471 * international/uni-decomposition.el:
11472 * international/uni-digit.el:
11473 * international/uni-lowercase.el:
11474 * international/uni-mirrored.el:
11475 * international/uni-name.el:
11476 * international/uni-numeric.el:
11477 * international/uni-old-name.el:
11478 * international/uni-titlecase.el:
11479 * international/uni-uppercase.el: Regenerate.
11480
11481 * loadup.el: Load international/charprop.el before
11482 international/characters.
11483
e14b388a
CY
114842011-07-07 Chong Yidong <cyd@stupidchicken.com>
11485
11486 * window.el (next-buffer, previous-buffer): Signal an error if
11487 called from a minibuffer window.
11488
11489 * bindings.el: Revert 2011-07-04 change.
11490
354cf0ba
RS
114912011-07-06 Richard Stallman <rms@gnu.org>
11492
11493 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11494 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11495 Treat markers like ints.
11496 (rmail-mime-entity): Doc fix.
11497
a48868a7
LMI
114982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11499
4906cd3d
LMI
11500 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11501 defcustom again for backwards compatibility.
11502
e0457abe
LMI
11503 * simple.el (shell-command-on-region): Fill.
11504
d67f7e1f
LMI
11505 * dired-aux.el (dired-kill-line): Add a doc string.
11506
fe204702
LMI
11507 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11508 to "\\sw\\|\\s_" (bug#358).
11509
a48868a7
LMI
11510 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11511 (dired-unmark-backward): Ditto.
11512 (dired-flag-backup-files): Ditto.
11513
11514 * dired-x.el (dired-mark-sexp): Ditto.
11515
aa8a705c
RS
115162011-07-06 Richard Stallman <rms@gnu.org>
11517
11518 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11519 (rmail-mime-entity): New arg TRUNCATED.
11520 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11521 New functions.
11522 (rmail-mime-save): Warn if entity is truncated.
11523 (rmail-mime-toggle-hidden): Likewise, for showing.
11524 (rmail-mime-process-multipart): Record when an entity is truncated.
11525
a9a936b9
RS
11526 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11527 if ENTITY is a string.
11528
1f2b92cb
LMI
115292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11530
f4f73198 11531 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11532 of faces when `M-C-x'-ing their definitions (bug#8378).
11533 Also clean up the code slightly.
f4f73198 11534
12b16734 11535 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11536 because that makes the colors go away.
12b16734 11537
f0691d22
LMI
11538 * mail/sendmail.el (send-mail-function): Change the default to
11539 `sendmail-query-once'.
9e87df06 11540 (sendmail-query-once): Add an autoload cookie.
f0691d22 11541
1f2b92cb
LMI
11542 * net/network-stream.el (network-stream-open-starttls): Try using
11543 a plain connection even if the server offered STARTTLS, and we
11544 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11545 capability. This should make smtpmail.el work in slightly more
11546 configurations.
11547
1cdd2a1b
MA
115482011-07-06 Michael Albinus <michael.albinus@gmx.de>
11549
11550 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11551 New defun.
11552 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11553
fbcc67e2
MM
115542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11555
11556 * progmodes/sql.el: Version 3.0
0757af94 11557 (sql-product-alist): Add product :completion-object,
fbcc67e2 11558 :completion-column, and :statement attributes.
0757af94 11559 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11560 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11561 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11562 ansi keywords.
11563 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11564 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11565 (sql-oracle-show-reserved-words): New function for development.
11566 (sql-product-font-lock): Simplify for source code buffers.
11567 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11568 New functions.
11569 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11570 (sql-mode-map): Add statement movement functions.
11571 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11572 New variable.
fbcc67e2
MM
11573 (sql-statement-regexp, sql-beginning-of-statement)
11574 (sql-end-of-statement, sql-signum): New functions.
0757af94 11575 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11576 (sql-show-sqli-buffer): Bug fix.
11577 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11578 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11579 with sql-interactive-mode.
11580 (sql-save-connection): Save buffer local settings.
0757af94 11581 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11582 (sql-product-interactive): Bug fix.
11583 (sql-preoutput-hold): New variable.
11584 (sql-interactive-remove-continuation-prompt): Bug fixes.
11585 (sql-debug-redirect): New variable.
11586 (sql-str-literal): New function.
11587 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11588 Redesign.
fbcc67e2
MM
11589 (sql-oracle-save-settings, sql-oracle-restore-settings)
11590 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11591 (sql-completion-object, sql-completion-column)
11592 (sql-completion-sqlbuf): New variables.
11593 (sql-build-completions-1, sql-build-completions)
11594 (sql-try-completion): New functions.
11595 (sql-read-table-name): Use them.
11596 (sql-contains-names): New buffer local variable.
11597 (sql-list-all, sql-list-table): Use it.
11598 (sql-oracle-completion-types): New variable.
11599 (sql-oracle-completion-object, sql-sqlite-completion-object)
11600 (sql-postgres-completion-object): New functions.
11601
d4eaeab1
GM
116022011-07-06 Glenn Morris <rgm@gnu.org>
11603
11604 * window.el (pop-to-buffer): Doc fix.
11605
322b7dab 116062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11607
11608 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11609
322b7dab 116102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11611
322b7dab 11612 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11613
322b7dab 11614 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11615
605dd5bf
CY
116162011-07-05 Chong Yidong <cyd@stupidchicken.com>
11617
11618 * button.el (button): Inherit from link face. Suggested by Dan
11619 Nicolaescu.
11620
7dbfa719
SM
116212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11622
3db614b0
SM
11623 * progmodes/gdb-mi.el: Fit in 80 columns.
11624 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11625 switch-to-buffer.
11626
7dbfa719
SM
11627 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11628 if imenu is simply not configured (bug#8941).
11629
919d884a
KM
116302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11631
11632 * allout.el (allout-post-undo-hook): New allout outline-change
11633 event hook to signal undo activity.
11634 (allout-post-command-business): Run allout-post-undo-hook if an
11635 undo just occurred.
7dbfa719
SM
11636 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11637 * allout-widgets.el (allout-widgets-after-undo-function):
11638 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11639 in the vicinity of an undo.
11640 (allout-widgets-mode): Include allout-widgets-after-undo-function
11641 on the new allout-post-undo-hook.
11642
450a0f09
SM
116432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11646 Let define-derived-mode define it.
11647 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11648 cycles of abbrev-table inheritance (bug#8998).
11649
2de69e00
RW
116502011-07-05 Roland Winkler <winkler@gnu.org>
11651
11652 * textmodes/bibtex.el: Add support for biblatex.
11653 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11654 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11655 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11656 (bibtex-entry-alist, bibtex-field-alist): New variables.
11657 (bibtex-entry-field-alist): Obsolete alias for
11658 bibtex-BibTeX-entry-alist.
11659 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11660 (bibtex-set-dialect): New command.
11661 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11662 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11663 Bind via bibtex-set-dialect.
2de69e00
RW
11664 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11665 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11666 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11667 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11668 Define via bibtex-set-dialect.
450a0f09
SM
11669 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11670 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11671 (bibtex-vec-push, bibtex-vec-incr): New functions.
11672 (bibtex-format-entry, bibtex-field-list)
11673 (bibtex-print-help-message, bibtex-validate)
11674 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11675
2dcdbdd9
SM
116762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11677
11678 * progmodes/compile.el (compilation-goto-locus):
11679 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11680 * bs.el (bs-cycle-next, bs-cycle-previous):
11681 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11682 * bindings.el (mode-line-other-buffer):
11683 * autoinsert.el (auto-insert):
11684 * arc-mode.el (archive-extract):
11685 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11686
b27640fe
JB
116872011-07-05 Juanma Barranquero <lekktu@gmail.com>
11688
11689 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11690 Fix check of `emacs-lock-unlockable-modes'.
11691 Coerce true values of `emacs-lock--try-unlocking' to t.
11692
53bbe3ad
JB
116932011-07-05 Juanma Barranquero <lekktu@gmail.com>
11694
11695 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11696 * emacs-lock.el: New file.
11697
1d3cdbc7
JD
116982011-07-05 Julien Danjou <julien@danjou.info>
11699
11700 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11701 than `boundp' to check if face is set.
11702
9173deec
JB
117032011-07-05 Juanma Barranquero <lekktu@gmail.com>
11704
11705 * register.el (registerv-make):
11706 * window.el (window-min-height): Fix typos in docstrings.
11707
869795d6
JD
117082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11709
9173deec 11710 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11711 Update doc string.
11712
b768cdcd
JB
117132011-07-04 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * server.el (server-execute): Catch quit and call
11716 `server-return-error' to pass the error back to emacsclient and
11717 close the connection (bug#8942).
11718
13aa217b
KM
117192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11720
11721 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11722 insecure exception for current topic. Also note that auto-saves
11723 are handled differently.
11724
5d3385a0 11725 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11726 State variables for tracking auto-save inhibition situation.
11727
11728 (allout-write-contents-hook-handler): Rename from
11729 'allout-write-file-hook-handler', and describe how it depends on
11730 write-contents-functions sensitivity to non-nil value to prevent
11731 file write.
11732
11733 (allout-auto-save-hook-handler): Remove. auto-save does not check
11734 this in individual buffers, only in the starting buffer, so this
11735 is not the right way for us to inhibit auto-save in a buffer
11736 according to its condition.
11737
11738 (allout-mode): Use new allout-write-contents-hook-handler, and
11739 only with write-contents-functions. Remove auto-save provisions -
11740 they're implemented elsewhere.
11741
11742 (allout-before-change-handler): If undo is in progress, note that
11743 for attention of allout-post-command-business.
11744
11745 (allout-post-command-business): If the command we're following was
11746 an undo, check for change in the status of encrypted items and
11747 adjust auto-save inhibitions accordingly.
11748
11749 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11750 according to whether there are or aren't any plain-text topics
11751 pending encryption.
11752
2dcdbdd9 11753 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11754 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11755 if there are plain-text topics pending encryption.
13aa217b
KM
11756
11757 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11758 buffer-saved-size and some allout state to not inhibit auto-saves
11759 if there are no longer any plain-text topics pending encryption.
11760
0757af94
SM
11761 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11762 No longer provide for exemption of the current topic.
13aa217b 11763
ac89b32c
JL
117642011-07-04 Juri Linkov <juri@jurta.org>
11765
11766 Add 7z operations to delete and save changed members (bug#8968).
11767 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11768 New defcustoms.
11769 (archive-7z-write-file-member): New function.
11770 (archive-7z-summarize): Fix the number of dashes in the
11771 listing output.
11772
8fa39615
SM
117732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11776 (bug#8958).
11777
2f11b3f1
CY
117782011-07-04 Chong Yidong <cyd@stupidchicken.com>
11779
d66fef2b
CY
11780 * bindings.el: Ignore next-buffer and previous-buffer in
11781 minibuffer-local-map.
11782
2f11b3f1
CY
11783 * font-lock.el (font-lock-builtin-face): Change light background
11784 color to dark slate blue (Bug#6693).
11785
f932a347
WD
117862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11787
11788 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11789
c8af70e1
SM
117902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11791
11792 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11793 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11794 Add switch-to-buffer.
11795
f158badc
LMI
117962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11797
11798 * isearch.el (isearch-search-fun-function): Clarify further the
11799 meaning of the function returned.
11800
6d95bd46
MA
118012011-07-04 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11804
11805 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11806 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11807 Use it.
11808 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11809 `tramp-default-remote-path' does not exist.
11810 (tramp-send-command-and-read): New optional argument NOERROR.
11811 (tramp-open-connection-setup-interactive-shell)
11812 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11813 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11814 (tramp-process-sentinel): Flush also process' connection property.
11815 (tramp-sh-handle-start-file-process): Do not set process
11816 sentinel. It is done now ...
11817 (tramp-maybe-open-connection): ... here. (Bug#8929)
11818
909e6b67
MK
118192011-07-04 MON KEY <monkey@sandpframing.com>
11820
11821 * play/animate.el (animate-string): Doc fixes and allow changing
11822 the buffer name (bug#5417).
11823
118242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
c8af70e1 11826 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11827
f34755dc
PE
118282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11829
396cec72
PE
11830 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11831 This is simpler and helps future-proof the code.
11832 (timer-until): Use time-subtract and float-time.
08235028 11833 (timer--time-less-p): Use time-less-p.
f34755dc 11834
56e6cc31
JB
118352011-07-04 Juanma Barranquero <lekktu@gmail.com>
11836
3abb79e5
JB
11837 * type-break.el (timep): Use the value of `float-time' to avoid a
11838 byte-compiler warning.
11839
56e6cc31
JB
11840 * server.el (server-eval-and-print): Return any result, even nil.
11841
7b9430b4
PE
118422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11843
11844 * type-break.el: Accept time formats that the builtins accept.
11845 (timep, type-break-time-difference): Accept any format that
11846 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11847 This is simpler and helps future-proof the code.
11848 (type-break-time-difference): Round rather than ignoring
11849 subseconds components.
11850
3034e9e7
LMI
118512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11852
11853 * info.el (Info-apropos-matches): Make non-interactive, since it
11854 doesn't seem to do anything useful as a command (bug#8829).
11855
1485f4c0
CY
118562011-07-03 Chong Yidong <cyd@stupidchicken.com>
11857
11858 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11859 Move from faces.el.
1485f4c0
CY
11860 (frame-default-terminal-background): New function.
11861
11862 * custom.el (custom-push-theme): Don't record faces in `changed'
11863 theme; this doesn't work correctly for per-frame face settings.
11864 (disable-theme): Use face-set-after-frame-default to reset faces.
11865 (custom--frame-color-default): New function.
11866
9fa3dd45
LMI
118672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11868
c8af70e1 11869 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11870 (bug#8769).
11871
6cbbc20c
KR
118722011-03-29 Kevin Ryde <user42@zip.com.au>
11873
11874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11875 `perl-Test2' extend to match possible "fail #N" rep count
11876 (bug#8377).
11877
c7f98048
LMI
118782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11879
65676592
LMI
11880 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11881 `smtpmail-via-smtp' now returns the error instead of nil.
11882
c7f98048
LMI
11883 * isearch.el (isearch-search-fun-function): Clarify the doc string
11884 (bug#8101).
11885
56e6cc31 118862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11887
11888 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11889 unnecessary spaces (bug#8987).
11890
2b216704
LMI
118912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
11893 * net/network-stream.el (open-network-stream): Use the
11894 :end-of-capability command thoughout.
11895
118962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11897
11898 * net/network-stream.el (open-network-stream): Add the
11899 :end-of-capability command parameter, used by pop3.el.
11900
36adf6ce
LMI
119012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11902
1ca0da0e
LMI
11903 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11904
fc00f69c
LMI
11905 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11906 for list)" (bug#6475).
11907
28fd8759 11908 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11909 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11910 an error (bug#6297).
11911
0dd8b6da
LMI
11912 * man.el (Man-reference-regexp): Allow matching possible
11913 word-wrapped references (bug#6289).
11914
ce1438d6
LMI
11915 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11916 for consistency with the other vc buffers (bug#6197).
11917 (vc-checkin): Ditto.
11918
11919 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11920
36adf6ce
LMI
11921 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11922
e83cc1f7
LMI
119232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11924
8a20ca4c
LMI
11925 * custom.el (defcustom): Clarify that :set is only used in the
11926 Customize user interface (bug#6089).
11927
83319045
LMI
11928 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11929 associated with a file, refuse to run instead of erroring out
11930 (bug#6084).
11931
a8392169
LMI
11932 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11933 the doc string, since it appears that using `fill-column' always
11934 controls the width (bug#7845).
11935
e83cc1f7
LMI
11936 * simple.el (shell-command-on-region): Say where the error output
11937 went if `shell-command-default-error-buffer' is set (bug#6857).
11938
e47ca23b
KM
119392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11940
11941 * allout.el (allout-yank-processing): Adjust cursor position for
11942 backwards-deleted space.
11943
11944 (allout-rebullet-heading): Register changes with
11945 allout-exposure-changed-hook, so the modified topic is properly
11946 decorated.
11947
5cf56143
LMI
119482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11949
08549772
LMI
11950 * minibuffer.el (completion-in-region): Document PREDICATE
11951 (bug#7136).
11952
48e96771
LMI
11953 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11954 of keyword/argument pairs (bug#6904).
11955
c8af70e1
SM
11956 * replace.el (multi-occur):
11957 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11958
e17d05e2
LMI
119592011-07-02 Drew Adams <drew.adams@oracle.com>
11960
11961 * dired.el (dired-mark-if): Make the message about whether it's
11962 marking or unmarking clearer (bug#8523).
11963
063b0e45
LMI
119642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11965
11966 * disp-table.el (display-table-print-array): New function.
11967 (describe-display-table): Use it to print the vectors more pretty
11968 (Bug#8859).
11969
28545e04
MR
119702011-07-02 Martin Rudalics <rudalics@gmx.at>
11971
11972 * window.el (window-state-get-1): Don't assign clone numbers.
11973 Add clone-of item to list of window parameters.
11974 (window-state-put-2): Don't process clone numbers.
11975 (display-buffer-alist): Fix doc-string.
11976
3349e122
SM
119772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * subr.el (remq): Don't allocate if it's not needed.
11980 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11981 (keymap--merge-bindings): New functions.
11982 (keymap-canonicalize): Use them to refine the canonicalization.
11983 * minibuffer.el (minibuffer-local-completion-map)
11984 (minibuffer-local-must-match-map): Move initialization from C.
11985 (minibuffer-local-filename-completion-map): Move initialization from C;
11986 don't inherit from anything here.
11987 (minibuffer-local-filename-must-match-map): Make obsolete.
11988 (completing-read-default): Use make-composed-keymap to combine
11989 minibuffer-local-filename-completion-map with either
11990 minibuffer-local-must-match-map or
11991 minibuffer-local-filename-completion-map.
11992
d224ac83
GM
119932011-07-01 Glenn Morris <rgm@gnu.org>
11994
3de63bf8
GM
11995 * type-break.el (type-break-time-sum): Use dolist.
11996
d224ac83
GM
11997 * textmodes/flyspell.el (flyspell-word-search-backward):
11998 Replace CL function.
11999
1a1e3f32
SM
120002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12001
fe3f64d5
SM
12002 * mouse.el (mouse--strip-first-event): New function.
12003 (function-key-map): Use it to map fringe clicks to normal clicks
12004 by default.
12005
eb604e34
SM
12006 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12007 (vc-bzr-revision-completion-table): Add support for annotate and date.
12008
1a1e3f32
SM
12009 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12010 inherit from parent.
12011
5bd35902
LMI
120122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12013
ace6c69c 12014 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12015 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12016
191e2bed
LMI
12017 * dired.el (dired-mode): Fix up the doc string as suggested by
12018 Drew Adams (bug#8817).
12019
5bd35902
LMI
12020 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12021 cookie, since the manual says that it should be possible to add
12022 this function to `find-file-hook' (bug#8709).
12023
eee8207a
TZ
120242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12025
12026 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12027 here. Noted Ted Zlatanov as the maintainer.
12028 (cfengine-common-settings, cfengine-common-syntax): New functions
12029 to set up common things between `cfengine-mode' and
12030 `cfengine3-mode'.
12031 (cfengine3-mode): New mode.
12032 (cfengine3-defuns cfengine3-defuns-regex
12033 (cfengine3-class-selector-regex cfengine3-category-regex)
12034 (cfengine3-vartypes cfengine3-font-lock-keywords)
12035 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12036 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12037
36b148cf
MA
120382011-07-01 Michael Albinus <michael.albinus@gmx.de>
12039
12040 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12041
12042 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12043
0bf4ba9a
MR
120442011-07-01 Martin Rudalics <rudalics@gmx.at>
12045
12046 * window.el (same-window-buffer-names, same-window-regexps)
12047 (same-window-p, special-display-frame-alist)
12048 (special-display-popup-frame, special-display-function)
12049 (special-display-buffer-names, special-display-regexps)
12050 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12051 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12052 (split-window-preferred-function, split-height-threshold)
12053 (split-width-threshold, even-window-heights)
12054 (display-buffer-mark-dedicated, window-splittable-p)
12055 (split-window-sensibly, window-safely-shrinkable-p):
12056 Un-obsolete.
12057 (display-buffer): Don't spread args with function specifier
12058 because special-display-popup-frame won't like it.
12059
35837f51
PE
120602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12061
d0672f86
PE
12062 Time-stamp simplifications and fixes.
12063 These improve accuracy slightly, and future-proof the code
12064 against some potential changes to current-time format.
12065
b9444d97
PE
12066 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12067 by using time-since and float-time.
12068
0ef923dc
PE
12069 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12070 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12071 + NNN microseconds".
12072
2f81380d
PE
12073 * type-break.el (type-break-time-sum): Rewrite using time-add.
12074
845b5c3e
PE
12075 * play/hanoi.el (hanoi-current-time-float): Remove.
12076 All uses replaced by float-time.
12077
ee6f1be0
PE
12078 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12079 This yields a more-accurate answer.
12080 (rng-time-to-float): Remove; no longer needed.
12081
fe955043
PE
12082 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12083
5777162a
PE
12084 * calendar/timeclock.el (timeclock-seconds-to-time):
12085 Defalias to seconds-to-time, since they're the same thing.
12086
3103f8b6 12087 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12088 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12089 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12090
0e61a35f
SM
120912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * window.el (bury-buffer): Don't iconify the only frame.
12094 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12095 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12096
ddd63a1e
CY
120972011-07-01 Chong Yidong <cyd@stupidchicken.com>
12098
0e61a35f
SM
12099 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12100 Add mouse-yank-primary.
ddd63a1e 12101
055f4923
TZ
121022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12103
12104 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12105
6a2fb145
SM
121062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12109 (find-library-name): Use it to find relative load names when provided
12110 absolute file name (bug#8803).
12111
fd4983f2
LMI
121122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12113
887d14ad
LMI
12114 * textmodes/flyspell.el (flyspell-word): Consider words that
12115 differ only in case as potential doublons (bug#5687).
12116
c53dc7fc
LMI
12117 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12118 Remove two rather uninteresting debugging-like messages to make
12119 debbugs.el more silent.
12120
fd4983f2
LMI
12121 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12122 a password-like phrase.
12123
7a71b18d 121242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12125
12126 * progmodes/cc-guess.el: New file.
12127
6a2fb145 12128 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12129
12130 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12131 derived from `c-basic-common-init'.
12132
12133 * progmodes/cc-mode.el (top-level): Require cc-guess.
12134 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12135
1fa280a3
LM
121362011-06-30 Lawrence Mitchell <wence@gmx.li>
12137
12138 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12139
e6597158
AM
121402011-06-30 Alan Mackenzie <acm@muc.de>
12141
1fa280a3
LM
12142 * progmodes/cc-engine.el (c-guess-continued-construct):
12143 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12144 lock is disabled. Name this case as "CASE G".
12145
68ba37fb
KM
121462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12147
12148 * allout.el (allout-yank-processing): Fix injection of extra space
12149 between bullet and non-whitespace character in first topic when
12150 pasting, ensuring that the actual spacing in the pasted topic
12151 following the bullet char is preserved. This extra space was
12152 causing pasted encrypted topics to get a decrypted status even
12153 when the content was actually still encrypted. Now the decryption
12154 status from before the paste is preserved.
12155
12156 (allout-flag-region): Set all allout overlays so they evaporate
12157 when reduced to zero length (evanescent), to prevent overlay
12158 leakage.
12159
887a0b34
GM
121602011-06-30 Glenn Morris <rgm@gnu.org>
12161
94b9acce
GM
12162 * w32-fns.el (w32-charset-info-alist): Declare.
12163
1d9b46d4
GM
12164 * find-dired.el (find-grep-options): Simplify.
12165
cc232200
GM
12166 * term/ns-win.el (ns-set-resource): Declare.
12167
28e77c46
GM
12168 * ses.el (row, col): Declare dynamic variables honestly.
12169
887a0b34
GM
12170 * textmodes/reftex-parse.el (index-tags): Declare.
12171
658d8eb8
CY
121722011-06-30 Chong Yidong <cyd@stupidchicken.com>
12173
12174 * cus-edit.el (customize-push-and-save): New function.
12175
12176 * files.el (hack-local-variables-confirm): Use it.
12177
1fa280a3
LM
12178 * custom.el (load-theme): New arg NO-CONFIRM.
12179 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12180 (custom-enabled-themes): Doc fix.
12181
12182 * cus-theme.el (customize-create-theme)
12183 (custom-theme-merge-theme): Callers to load-theme changed.
12184
bb617717
LMI
121852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186
d61bdd5d
LMI
12187 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12188 short URLs have at least one dot in them (bug #7614).
12189
bb617717
LMI
12190 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12191 nil, because using a pty is apparently too slow (bug #895).
12192
2f31f37a
LMI
121932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12194
12195 * mail/sendmail.el (sendmail-query-once): New function.
12196 (sendmail-query-once-function): New variable.
12197
3076b24e
GM
121982011-06-29 Glenn Morris <rgm@gnu.org>
12199
faf2a174
GM
12200 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12201
3076b24e
GM
12202 * ses.el (top-level): Require cl when compiling.
12203 (ses-set-localvars): Fix error statement.
12204 Call it at compile time to silence a storm of warnings.
12205
5386012d
MR
122062011-06-29 Martin Rudalics <rudalics@gmx.at>
12207
12208 * window.el (normalize-live-buffer): Rename to
12209 window-normalize-buffer.
12210 (normalize-live-frame): Rename to window-normalize-frame.
12211 (normalize-any-window): Rename to window-normalize-any-window.
12212 (normalize-live-window): Rename to window-normalize-live-window.
12213 (make-window-atom): Rename to window-make-atom.
12214 (window-resize-reset): Rename to window--resize-reset.
12215 (window-resize-reset-1): Rename to window--resize-reset-1.
12216 (resize-mini-window): Rename to window--resize-mini-window.
12217 (resize-subwindows-skip-p): Rename to
12218 window--resize-subwindows-skip-p.
12219 (resize-subwindows-normal): Rename to
12220 window--resize-subwindows-normal.
12221 (resize-subwindows): Rename to window--resize-subwindows.
12222 (resize-other-windows): Rename to window--resize-siblings.
12223 (resize-this-window): Rename to window--resize-this-window.
12224 (resize-root-window): Rename to window--resize-root-window.
12225 (resize-root-window-vertically): Rename to
12226 window--resize-root-window-vertically.
12227 (normalize-buffer-to-display): Rename to
12228 window-normalize-buffer-to-display.
12229 (normalize-buffer-to-switch-to): Rename to
12230 window-normalize-buffer-to-switch-to.
12231 Correspondingly update all callers of the functions listed
12232 above.
12233 (display-buffer-alist, display-buffer-normalize-arguments)
12234 (display-buffer-normalize-options, display-buffer)
12235 (display-buffer-alist-set): Use "function" instead of
12236 "fun-with-args".
12237
1176868d
CY
122382011-06-28 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12241 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12242 debbugs.gnu.org. Mention acknowledgment email.
12243
20a7a65f
LMI
122442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12245
12246 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12247 buffer multibyteness, since it shouldn't matter.
12248
5f45cca5
MR
122492011-06-28 Martin Rudalics <rudalics@gmx.at>
12250
12251 * window.el (display-buffer-in-side-window): Handle dedicated
12252 windows as in display-buffer-reuse-window.
12253 (display-buffer-normalize-alist): Use value of override
12254 specifier.
12255 (display-buffer-normalize-specifiers): Use value of
12256 other-window-means-other-frame specifier.
12257 (display-buffer-alist): Rewrite some texts in widgets.
12258 (display-buffer): Spread arguments when calling function
12259 specified by fun-with-args.
12260
ad85fe1f
DD
122612011-06-28 Deniz Dogan <deniz@dogan.se>
12262
1fa280a3
LM
12263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12264 Unnest `let'.
da68c4c8 12265
ad85fe1f
DD
12266 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12267 selectors (Bug#5732).
ec49bd31 12268 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12269
a08cc025
JA
122702011-06-27 Jari Aalto <jari.aalto@cante.net>
12271
12272 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12273 (eshell-ls-date-format): New defcustom.
12274 (eshell-ls-file): Use it.
12275
e2b551c5
SM
122762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12279
8982b231
KY
122802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12281
12282 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12283 (ange-ftp-make-tmp-name): New arg.
12284 (ange-ftp-file-local-copy): Use it.
12285
36c9fa27
J
122862011-06-27 Jambunathan K <kjambunathan@gmail.com>
12287
12288 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12289 no-conversion (Bug#8870).
12290
d68443dc
MR
122912011-06-27 Martin Rudalics <rudalics@gmx.at>
12292
12293 * window.el (window-right, window-left, window-child)
12294 (window-child-count, window-last-child)
12295 (window-iso-combination-p, walk-window-tree-1)
12296 (window-atom-check-1, window-tree-1, delete-window)
12297 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12298 new naming conventions - window-vchild, window-hchild,
12299 window-next and window-prev are now called window-top-child,
12300 window-left-child, window-next-sibling and window-prev-sibling
12301 respectively.
d615d6d2
MR
12302 (resize-window-reset): Rename to window-resize-reset.
12303 (resize-window-reset-1): Rename to window-resize-reset-1.
12304 (resize-window): Rename to window-resize.
12305 (window-min-height, window-min-width)
12306 (resize-mini-window, resize-this-window, resize-root-window)
12307 (resize-root-window-vertically, adjust-window-trailing-edge)
12308 (enlarge-window, shrink-window, maximize-window)
12309 (minimize-window, delete-window, quit-restore-window)
12310 (split-window, balance-windows, balance-windows-area-adjust)
12311 (balance-windows-area, window-state-put-2)
12312 (display-buffer-even-window-sizes, display-buffer-set-height)
12313 (display-buffer-set-width, set-window-text-height)
12314 (fit-window-to-buffer): Rename all "resize-window" prefixed
12315 calls to use the "window-resize" prefix convention.
12316 (display-buffer-alist): Fix symbol for label specifier.
12317 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12318 corresponding specifier.
12319 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12320
b6458526
VB
123212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12322
12323 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12324 convention.
12325 (ses-call-printer): Does not pass an empty string to formatter when the
12326 cell is empty to keep from barking printer Calc math-format-value.
12327
d31fd9ac
RS
123282011-06-27 Richard Stallman <rms@gnu.org>
12329
43d5bf84
RS
12330 * battery.el (battery-mode-line-limit): New variable.
12331 (battery-update): Handle it.
12332
d31fd9ac
RS
12333 * mail/rmailmm.el (rmail-mime-process-multipart):
12334 Handle truncated messages.
12335
819a6054
GM
123362011-06-27 Glenn Morris <rgm@gnu.org>
12337
12338 * progmodes/flymake.el (flymake-err-line-patterns):
12339 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12340
cedc73f2
VB
123412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12342
819a6054 12343 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12344 (ses--clean-!, ses--clean-_): New functions.
12345 (ses-range): Add configurability of readout order, and conversion
12346 to Calc vector.
12347
5e5d49b6
VB
12348 * ses.el (ses-repair-cell-reference-all): New function.
12349 (ses-cell-symbol): Set macro as safe, so that it can be used in
12350 formulas.
12351
56e6cc31 12352 * ses.el: Update cycle detection algorithm.
90ca8b49 12353 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12354 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12355 (ses-set-localvars): New function.
12356 (ses-make-cell): Add property-list as a cell element.
12357 (ses-cell-property-get-fun, ses-cell-property-get)
12358 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12359 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12360 New functions.
90ca8b49
VB
12361 (ses-cell-property-set, ses-cell-property-pop)
12362 (ses-cell-property-get-handle): New macro.
12363 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12364 New aliases, used for code readability.
12365 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12366 cycle detection.
12367 (ses-self-reference-early-detection): New defcustom.
fac916bf 12368 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12369 (ses-mode): Use ses-set-localvars.
12370 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12371 before lauching the update processing.
12372 (ses-initialize-Dijkstra-attempt): New function.
12373 (ses-recalculate-cell): Update for cycle detection based on
12374 Dijkstra algorithm.
12375
2bb63e81
VB
12376 * ses.el: Fix commenting and indenting convention.
12377
c9d29fb8
SM
123782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * bs.el (bs-cycle-next): Complete last change.
12381
d8e4b68b
JB
123822011-06-27 Drew Adams <drew.adams@oracle.com>
12383
12384 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12385
40098786
LMI
123862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12387
c9d29fb8
SM
12388 * net/network-stream.el (network-stream-open-starttls):
12389 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12390 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12391
40098786
LMI
12392 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12393 to binary to possibly avoid line encoding issues on Windows (among
12394 other things).
12395
468d09d4
LMI
123962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12397
12398 * net/network-stream.el (open-network-stream): Return an :error
12399 saying what the problem was, if possible.
12400
12401 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12402 server.
12403
12404 * net/network-stream.el (network-stream-open-starttls): If we
12405 wanted to use STARTTLS, and the server offered it, but we weren't
12406 able to because we had no STARTTLS support, then close the connection.
12407 (open-network-stream): Return an :error element, if present.
12408
16f07dd7
CY
124092011-06-26 Chong Yidong <cyd@stupidchicken.com>
12410
88821ca0
CY
12411 * hl-line.el (hl-line-sticky-flag): Doc fix.
12412 (global-hl-line-sticky-flag): New option (Bug#8323).
12413 (global-hl-line-highlight): Obey it.
12414
16f07dd7
CY
12415 * vc/vc.el (vc-revert-show-diff): Default to t.
12416
6b5ccddf
KM
124172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12418
c9d29fb8
SM
12419 * allout-widgets.el (allout-widgets-post-command-business):
12420 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12421 undecorated when an isearch is continued past, and isearch
12422 automatically collapses them. This leads to "widget leaks", where
12423 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12424 hidden widgets can slow down cursor travel, substantially.
12425 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12426 so we're doing without this nicety.
12427
12428 (allout-widgets-tally-string): Don't try to do a hash-table-count
12429 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12430 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12431 *Messages* when allout-widgets-maintain-tally is t.
12432
355f2e07
MR
124332011-06-26 Martin Rudalics <rudalics@gmx.at>
12434
12435 * window.el (display-buffer-normalize-argument): Rename to
12436 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12437 LABEL argument. Respect special-display-function when popping up
12438 a new frame. Fix code searching for a window showing the buffer
12439 on another frame.
c9d29fb8
SM
12440 (display-buffer-normalize-specifiers):
12441 Call display-buffer-normalize-arguments.
355f2e07
MR
12442 (display-buffer-in-window): Don't undedicate the window if its
12443 buffer remains the same.
12444 Reported by Drew Adams <drew.adams@oracle.com>.
12445 (display-buffer-alist): Add choice for same-window macro
12446 specfier.
12447 (display-buffer): Mention special meaning of LABEL argument in
12448 doc-string. Fix quoting. Don't pop up a new frame even as
12449 fallback.
12450
7ca8fc42
JB
124512011-06-26 Juanma Barranquero <lekktu@gmail.com>
12452
12453 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12454 avoid deleting the current window in some cases (bug#8911).
12455
bc312254
AS
124562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12459 (Bug#8934)
12460
2db18f3f
LMI
124612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12462
c9d29fb8
SM
12463 * net/network-stream.el (network-stream-open-starttls):
12464 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12465 (network-stream-open-tls): Ditto.
12466
6302e0d3
LL
124672011-06-26 Leo Liu <sdl.web@gmail.com>
12468
12469 * register.el (registerv): New struct.
12470 (registerv-make): New function.
c9d29fb8
SM
12471 (jump-to-register, describe-register-1, insert-register):
12472 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12473 struct. (Bug#8415)
12474
5fdd4046
CY
124752011-06-26 Chong Yidong <cyd@stupidchicken.com>
12476
2afef60a
CY
12477 * vc/vc.el (vc-revert-show-diff): New defcustom.
12478 (vc-diff-internal): New arg specifying diff buffer.
12479 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12480 reuse an existing *vc-diff* buffer (Bug#8927).
12481
5fdd4046
CY
12482 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12483
e93db24a
GM
124842011-06-26 Glenn Morris <rgm@gnu.org>
12485
12486 * progmodes/f90.el (f90-critical-indent): New option.
12487 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12488 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12489 (f90-mode): Doc fix.
12490 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12491 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12492 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12493 (f90-match-end): Handle block, critical.
12494
eefff499
GM
124952011-06-25 Glenn Morris <rgm@gnu.org>
12496
f6ba4cc9
GM
12497 * calendar/diary-lib.el (diary-included-files): Doc fix.
12498 (diary-include-files): New function, extracted from
12499 diary-include-other-diary-files and diary-mark-included-diary-files.
12500 (diary-include-other-diary-files, diary-mark-included-diary-files):
12501 Just call diary-include-files.
12502 (diary-mark-entries): Reset diary-included-files on first call.
12503
16712304
GM
12504 * calendar/diary-lib.el (diary-mark-entries)
12505 (diary-mark-included-diary-files):
12506 Visit included diary-files in temp buffers.
12507
5d8e0d43
GM
12508 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12509 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12510 (f90-start-block-re, f90-imenu-generic-expression)
12511 (f90-looking-at-program-block-start, f90-no-block-limit):
12512 Add support for submodules.
12513
ccf7a5d5
GM
12514 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12515 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12516
11fdef7d 125172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12518
12519 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12520 buffer-file-type before setting its value, to avoid disastrous
eefff499 12521 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12522
74f53697
JB
125232011-06-25 Juanma Barranquero <lekktu@gmail.com>
12524
12525 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12526
12527 * ses.el (ses-unload-function):
12528 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12529
12530 * proced.el (proced-unload-function):
12531 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12532
18a4ce5e
AR
125332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12534
12535 * server.el (server-create-window-system-frame): Add parameters arg.
12536 (server-process-filter): Doc fix. Handle frame-parameters.
12537
519d22cc
JB
125382011-06-25 Juanma Barranquero <lekktu@gmail.com>
12539
12540 Fix bug#8730, bug#8781.
12541
12542 * loadhist.el (unload--set-major-mode): New function.
12543 (unload-feature): Use it.
12544
12545 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12546 (python-unload-function): New function.
12547
c206f5b0
SM
125482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12551
f9ad64f3
GS
125522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12553
12554 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12555 the candidates list.
12556
7d0da90e
JB
125572011-06-24 Juanma Barranquero <lekktu@gmail.com>
12558
12559 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12560
14b4e83d
RS
125612011-06-23 Richard Stallman <rms@gnu.org>
12562
12563 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12564 (rmail-variables): Set next-error-move-function.
12565 (rmail-what-message): Take argument POS.
12566 (rmail-next-error-move): New function.
12567
273d2baf
SM
125682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12571 messages for adjacent non-terminals.
12572
56c2cc9a
RS
125732011-06-23 Richard Stallman <rms@gnu.org>
12574
12575 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12576 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12577 (rmail-start-mail): Don't specify use of rmail-mail-return;
12578 that's done by mail-bury now.
12579 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12580
d59eb518
MA
125812011-06-23 Michael Albinus <michael.albinus@gmx.de>
12582
12583 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12584 SIZE is a number.
12585
02cfc6d6
MR
125862011-06-23 Martin Rudalics <rudalics@gmx.at>
12587
12588 * window.el (get-lru-window, get-mru-window)
12589 (get-largest-window): Never return a minibuffer window.
12590 (display-buffer-pop-up-window): Fix a bug that could lead to
12591 reusing the minibuffer window.
12592 (display-buffer): Pass original specifier argument to
12593 display-buffer-function instead of the normalized one.
12594 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12595
4e323265
LL
125962011-06-22 Leo Liu <sdl.web@gmail.com>
12597
12598 * minibuffer.el (completing-read-function)
12599 (completing-read-default): Move from minibuf.c
12600
7a70468f
RS
126012011-06-22 Richard Stallman <rms@gnu.org>
12602
50718fc2
RS
12603 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12604 to Rmail even if not started by a special Rmail command.
12605
7a70468f
RS
12606 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12607 Copy the buffer currently showing just one message.
12608
297dde5a
RW
126092011-06-22 Roland Winkler <winkler@gnu.org>
12610
12611 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12612 (bibtex-clean-entry): First delete the old key so that a
12613 customized algorithm for generating the new key does not get
12614 confused by the old key.
12615 (bibtex-url): Obey regexp of first step.
12616 (bibtex-search-entries): Do not use add-to-list with local
12617 list-var.
12618
97bb1093
LMI
126192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12620
12621 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12622 stored a user name, then query for the password first, instead of
12623 waiting for SMTP to give an error message and the trying again.
12624
1c0f1a19
JD
126252011-06-22 Lawrence Mitchell <wence@gmx.li>
12626
12627 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12628 BUFFER in call-process.
12629
396f7c9d
LMI
126302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12631
12632 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12633 QUIT twice.
ddb7ffee
LMI
12634 (smtpmail-try-auth-methods): Require user name and password from
12635 auth-source.
396f7c9d 12636
8998d1b3
MR
126372011-06-22 Martin Rudalics <rudalics@gmx.at>
12638
12639 * window.el (display-buffer-default-specifiers)
12640 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12641 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12642 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12643
12644 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12645 (special-display-frame-alist, special-display-popup-frame):
12646 Remove duplicate declarations. These are now in window.el.
12647
4ea31e07
LMI
126482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
c9d29fb8
SM
12650 * mail/smtpmail.el (smtpmail-via-smtp):
12651 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12652 server supports it. SMTP servers that support STARTTLS commonly
12653 require it.
12654
12655 * net/network-stream.el (network-stream-open-starttls): Support
12656 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12657 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12658
95f41d9a
LMI
12659 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12660 upgrades with `open-network-stream', and rely solely on
12661 auth-source for all credentials. Big changes throughout the file,
12662 but in particular:
c9d29fb8
SM
12663 (smtpmail-auth-credentials): Remove.
12664 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12665 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12666 MAIL FROM, too.
95f41d9a 12667
c9d29fb8
SM
12668 * net/network-stream.el (network-stream-open-starttls):
12669 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12670 STARTTLS.
12671 (auth-source): Require.
12672 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12673 (network-stream-certificate): Change cert-cert to cert and
12674 cert-key to key.
4ea31e07 12675
065ec2c7
MA
126762011-06-21 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * net/tramp-cache.el (top): Don't load the persistency file when
12679 "emacs -Q" has been called.
12680
cd93b359
DR
126812011-06-21 Tim Harper <timcharper@gmail.com>
12682
d8e4b68b
JB
12683 * term/ns-win.el (ns-initialize-window-system):
12684 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12685 resource to NO as it is not yet supported by the NS port.
12686
ae9c0411
JB
126872011-06-21 Juanma Barranquero <lekktu@gmail.com>
12688
12689 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12690 (list-dynamic-libraries): ...not here.
12691
7f3f739f
LL
126922011-06-21 Leo Liu <sdl.web@gmail.com>
12693
12694 * subr.el (sha1): Implement sha1 using secure-hash.
12695
327c8fb1
MR
126962011-06-21 Martin Rudalics <rudalics@gmx.at>
12697
12698 * window.el (display-buffer-alist): In default value do not
12699 enforce searching a window on any but the selected frame.
12700 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12701 (display-buffer-select-window): Remove function.
12702 (display-buffer-in-window): When a window on another frame gets
12703 reused, do not select it any more but just raise its frame if
12704 necessary (Bug#8851) and (Bug#8856).
12705 (display-buffer-normalize-options): Handle pop-up-frames related
12706 options more faithfully.
12707 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12708 window if it is on another frame.
c9d29fb8
SM
12709 (display-buffer-alist, display-buffer-default-specifiers):
12710 Don't make new frame unsplittable by default.
9e9de014
MR
12711 (display-buffer-normalize-argument): Fix doc-string typo and use
12712 'same-frame-other-window instead of 'other-window when associating
12713 with display-buffer-macro-specifiers.
327c8fb1 12714
7cf3f556
VB
127152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12716
12717 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12718 New functions.
12719 (5x5-mode-map, 5x5-mode-menu): Bind them.
12720 (5x5-draw-grid): Tweak the solver's rendering.
12721
60a406cf
SM
127222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12725 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12726
d8e4b68b 127272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12728
12729 * menu-bar.el: Use function variable instead of switch-to-buffer.
12730 (menu-bar-select-buffer-function): New variable.
60a406cf 12731 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12732
478d6f95
SM
127332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12734
12735 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12736 variable's status.
12737
ca530739
JD
127382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12739
12740 * x-dnd.el (x-dnd-version-from-flags)
12741 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12742 and long as number (Bug#8899).
12743 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12744
bcd70d97
SM
127452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12746
60a406cf 12747 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12748 (completion-try-completion, completion-all-completions): Compute the
12749 metadata argument if it's missing; make it optional (bug#8795).
12750
60a406cf 12751 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12752 (widget-complete): Use new :completion-function property.
12753 (widget-completions-at-point): New function.
12754 (default): Use :completion-function instead of :complete.
60a406cf
SM
12755 (widget-default-completions): Rename from widget-default-complete;
12756 Rewrite.
bcd70d97
SM
12757 (widget-string-complete, widget-file-complete, widget-color-complete):
12758 Remove functions.
12759 (file, symbol, function, variable, coding-system, color):
12760 * international/mule-cmds.el (default-input-method, charset)
12761 (language-info-custom-alist):
12762 * cus-edit.el (face): Use new property :completions.
12763
12764 * progmodes/pascal.el (pascal-completions-at-point): New function.
12765 (pascal-mode): Use it.
12766 (pascal-mode-map): Use completion-at-point.
12767 (pascal-toggle-completions): Make obsolete.
12768 (pascal-complete-word, pascal-show-completions):
12769 * progmodes/octave-mod.el (octave-complete-symbol):
12770 Redefine as obsolete alias.
12771 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12772 Signal absence of completion info for old Octave,
12773 (inferior-octave-complete): Redefine as obsolete alias.
12774 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12775 (meta-completions-at-point): Rename from meta-complete-symbol and
12776 adapt it for use on completion-at-point-functions.
12777 (meta-common-mode): Use it.
12778 (meta-looking-at-backward, meta-match-buffer): Remove.
12779 (meta-complete-symbol): Redefine as obsolete alias.
12780 (meta-common-mode-map): Use completion-at-point.
12781 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12782 (makefile-mode-map): Use completion-at-point.
12783 (makefile-completions-at-point): Rename from makefile-complete and
12784 adapt it for use on completion-at-point-functions.
12785 (makefile-mode): Use it.
12786 (makefile-complete): Redefine as obsolete alias.
12787
aebf69c8
DD
127882011-06-20 Deniz Dogan <deniz@dogan.se>
12789
12790 * net/rcirc.el: Delete trailing whitespaces once and for all.
12791
bfbbb27d
DC
127922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12793
12794 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12795
d264a46b
CY
127962011-06-19 Chong Yidong <cyd@stupidchicken.com>
12797
4ca009e5
CY
12798 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12799
d264a46b
CY
12800 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12801
fbf5b3ce
MR
128022011-06-19 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (display-buffer-other-window-means-other-frame):
12805 Call display-buffer-normalize-alist.
12806 (display-buffer-normalize-specifiers-1): Rename to
12807 display-buffer-normalize-argument. New argument other-frame.
12808 Rewrite.
12809 (display-buffer-normalize-specifiers-2): Rename to
12810 display-buffer-normalize-options.
12811 (display-buffer-normalize-alist-1): New function.
12812 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12813 display-buffer-normalize-alist.
12814 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12815 (display-buffer-normalize-options-inhibit): New variable.
12816 (display-buffer-normalize-specifiers): Rewrite calling
12817 display-buffer-normalize-alist,
12818 display-buffer-normalize-argument, and
12819 display-buffer-normalize-options. Don't call the latter if
12820 display-buffer-normalize-options-inhibit is non-nil.
12821 (frame-auto-delete): New option.
12822 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12823 (window-list-no-nils, window-state-ignored-parameters)
12824 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12825 (window-state-put-1, window-state-put-2, window-state-put):
12826 New functions.
9a028c23
MR
12827 (display-buffer-normalize-options): Move special-display-p group
12828 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12829
6d10d800
CY
128302011-06-18 Chong Yidong <cyd@stupidchicken.com>
12831
6420d28b
CY
12832 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12833 groups (Bug#8776).
12834 (rx-submatch-n): New function.
12835 (rx): Document it.
12836
ddb8b596
CY
12837 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12838 (Bug#8768).
12839
12840 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12841
77080289
CY
12842 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12843
61dfb316
CY
12844 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12845 anytime existing face settings are present (Bug#8889).
12846
6d10d800
CY
12847 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12848 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12849 Remove unused argument.
12850
be3fb2b8
MR
128512011-06-18 Martin Rudalics <rudalics@gmx.at>
12852
bcd70d97
SM
12853 * window.el (display-buffer-default-specifiers):
12854 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12855 pop-up-window-min-width, and another reuse-window specifier
12856 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12857 (display-buffer-normalize-specifiers-2):
12858 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12859 pop-up-windows is unset. Add a reuse-window specifier for the
12860 case popping up a new window fails.
12861 (special-display-popup-frame): Remove double quoting.
28dec25a 12862 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12863
1c6d8c76
SM
128642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12867 according to comint-completion-addsuffix.
12868
12869 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12870 (pcomplete-suffix-list): Mark as obsolete.
12871 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12872 pcomplete-seen in the closure.
12873 (pcomplete-comint-setup): Setup completion-at-point as well.
12874 (pcomplete--entries): New function.
12875 (pcomplete--env-regexp): New var.
12876 (pcomplete-entries): Rewrite to work with partial-completion and
12877 without relying on pcomplete-suffix-list.
12878 (pcomplete-pare-list): Remove, unused.
12879
25aef8b8
MR
128802011-06-17 Martin Rudalics <rudalics@gmx.at>
12881
12882 * window.el (display-buffer-alist): Set pop-up-window-min-height
12883 and pop-up-window-min-width in default value. Reported by
12884 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12885 other-window-means-other-frame.
12886 (display-buffer-macro-specifiers): Comment out entry for
12887 other-window specifier.
12888 (display-buffer-other-window-means-other-frame): New function.
12889 (display-buffer-normalize-specifiers-1): New arguments
12890 buffer-name and label. Treat other-window case specially.
12891 (display-buffer-normalize-specifiers-2): Treat other-window case
12892 specially.
12893 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12894 (display-buffer-normalize-specifiers):
12895 Call display-buffer-normalize-specifiers-3.
25aef8b8 12896
dbad4f69
MR
128972011-06-17 Martin Rudalics <rudalics@gmx.at>
12898
12899 * window.el (same-window-p): Fix two typos introduced when
12900 adding with-no-warnings.
d1067961
MR
12901 (display-buffer-normalize-specifiers-1): Don't check
12902 pop-up-frames for 'unset initialization.
12903 (display-buffer-normalize-specifiers-2): Major rewrite using
12904 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12905 (pop-up-frames, display-buffer-reuse-frames)
12906 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12907 Suggested by David Engster <deng@randomsample.de>.
12908 (even-window-heights): Initialize to 'unset.
12909 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12910 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12911 other window case.
dbad4f69 12912
9b9c9e3a
MR
129132011-06-16 Martin Rudalics <rudalics@gmx.at>
12914
bcd70d97
SM
12915 * window.el (display-buffer-normalize-specifiers-1):
12916 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12917 second argument of display-buffer (Bug#8865).
981d5c09
MR
12918 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12919 (switch-to-buffer-other-window-same-frame)
12920 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12921 Adams (Bug#8875).
9c2755e9
MR
12922 (display-buffer): Don't check noninteractive when calling
12923 display-buffer-pop-up-frame.
12924 (display-buffer-pop-up-frame): Never pop up a frame in
12925 noninteractive mode (Bug#8857).
67222e1d
MR
12926 (enlarge-window, shrink-window): Don't report an error when the
12927 window can't be resized as requested (Bug#8862).
9b9c9e3a 12928
2b75be67
SM
129292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12930
9ffdd3ba
SM
12931 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12932
cb581a67
SM
12933 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12934
2b75be67
SM
12935 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12936
8c0e3589
AM
129372011-06-15 Alan Mackenzie <acm@muc.de>
12938
cb581a67
SM
12939 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12940 for declarators, disable knr checking to speed up for normal files.
12941 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12942
b96e6cde
LMI
129432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12944
4bba86e6
LMI
12945 * net/network-stream.el (open-network-stream): Add the keyword
12946 :always-query-capabilities for the case where you want to force a
12947 `plain' network connection, but the protocol still requires the
12948 capabilitiy command (i.e., SMTP and EHLO).
12949
2b75be67 12950 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12951 consistency with other `-live-p' functions.
12952
efdcdbf8
SM
129532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * window.el (same-window-buffer-names, same-window-regexps)
12956 (special-display-frame-alist, special-display-popup-frame)
12957 (special-display-function, special-display-buffer-names)
12958 (special-display-regexps, pop-up-frame-alist)
12959 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12960 (pop-up-windows, split-window-preferred-function)
12961 (split-height-threshold, split-width-threshold, even-window-heights)
12962 (display-buffer-mark-dedicated): Don't encourage the use of
12963 display-buffer-alist from Elisp code.
12964
c5cde042
DN
129652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12966
12967 * progmodes/python.el (python-mode): Derive from prog-mode.
12968 * progmodes/ps-mode.el (ps-mode):
12969 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12970 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12971 * progmodes/ld-script.el (ld-script-mode): Likewise.
12972
baa1c9ab
MR
129732011-06-15 Martin Rudalics <rudalics@gmx.at>
12974
12975 * window.el (display-buffer-alist): Trim default value to avoid
12976 popping up a new frame (Bug#8857) or reusing an arbitrary window
12977 on another frame.
12978 (display-buffer): Do not fall back on popping up a new frame in
12979 batch mode (Bug#8857).
12980
c5dd5a51
CY
129812011-06-14 Chong Yidong <cyd@stupidchicken.com>
12982
12983 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12984 (custom-theme-summary): New function.
12985 (customize-themes): Use it.
12986
d647b7c4
GM
129872011-06-13 Glenn Morris <rgm@gnu.org>
12988
12989 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12990
9481c002
MR
129912011-06-13 Martin Rudalics <rudalics@gmx.at>
12992
357f93d2
MR
12993 * help.el (help-window): Remove variable.
12994 (help-window-point-marker, temp-buffer-max-height)
12995 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12996 (help-print-return-message): Don't set help-window.
12997 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12998 (help-window-setup-finish): Remove.
12999 (help-window-display-message, help-window-setup)
13000 (with-help-window): Major rewrite based on new
13001 display-buffer-window variable.
13002
13003 * help-mode.el (help-mode-finish): Remove help-window related
13004 code.
13005
13006 * view.el (view-exits-all-viewing-windows): Remove reference to
13007 view-return-to-alist in doc-string.
13008 (view-return-to-alist): Make obsolete.
13009 (view-buffer): Call pop-to-buffer-same-window and remove
13010 undo-window code.
13011 (view-buffer-other-window): Call pop-to-buffer-other-window and
13012 simplify code. Ignore second argument.
13013 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13014 simplify code. Ignore second argument.
13015 (view-return-to-alist-update): Make obsolete.
13016 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13017 Rewrite using quit-restore window parameters.
2b75be67
SM
13018 (view-mode-exit): Rename second argument to EXIT-ONLY.
13019 Rewrite using quit-restore-window.
357f93d2
MR
13020 (View-exit, View-exit-and-edit, View-leave, View-quit)
13021 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13022 appropriate arguments.
13023 (view-end-message): Use quit-restore window parameter.
13024
9481c002
MR
13025 * window.el (display-buffer-function): Rewrite doc-string.
13026 (display-buffer-window, display-buffer-alist): New variables.
13027 (display-buffer-split-specifiers)
13028 (display-buffer-side-specifiers)
13029 (display-buffer-macro-specifiers): New constants.
13030 (display-buffer-even-window-sizes, display-buffer-set-height)
13031 (display-buffer-set-width, display-buffer-select-window)
13032 (display-buffer-in-window, display-buffer-reuse-window)
13033 (display-buffer-split-window-1, display-buffer-split-window)
13034 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13035 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13036 (display-buffer-in-side-window, normalize-buffer-to-display)
13037 (display-buffer-normalize-specifiers-1)
13038 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13039 (display-buffer-normalize-specifiers, display-buffer-frame):
13040 New functions.
9481c002
MR
13041 (display-buffer): Major rewrite.
13042 (display-buffer-other-window, display-buffer-other-frame)
13043 (pop-to-buffer, switch-to-buffer-other-window)
13044 (switch-to-buffer-other-frame): Rewrite.
13045 (display-buffer-same-window, display-buffer-same-frame)
13046 (display-buffer-same-frame-other-window)
13047 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13048 (pop-to-buffer-other-window)
13049 (pop-to-buffer-same-frame-other-window)
13050 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13051 (switch-to-buffer-other-window-same-frame): New functions.
13052 (same-window-p, special-display-p): Rewrite disabling warnings.
13053 Make obsolete.
13054 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13055 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13056 Make obsolete
13057 (same-window-buffer-names, same-window-regexps)
13058 (special-display-frame-alist, special-display-popup-frame)
13059 (special-display-function, special-display-buffer-names)
13060 (special-display-regexps, pop-up-frame-alist)
13061 (pop-up-frame-function, split-window-preferred-function)
13062 (split-height-threshold, split-width-threshold)
13063 (even-window-heights): Make obsolete.
13064
9db51aca
GM
130652011-06-12 Glenn Morris <rgm@gnu.org>
13066
13067 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13068 Misc simplifications.
9db51aca 13069
39cffb44
MR
130702011-06-12 Martin Rudalics <rudalics@gmx.at>
13071
13072 * window.el (window-safely-shrinkable-p): Restore function which
13073 was inadvertently removed in change from 2011-06-11. Declare as
13074 obsolete.
13075
2b75be67
SM
13076 * calendar/calendar.el (calendar-generate-window):
13077 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13078 window-safely-shrinkable-p.
13079
a8955be7
GM
130802011-06-12 Glenn Morris <rgm@gnu.org>
13081
13082 * progmodes/fortran.el (fortran-mode-syntax-table):
13083 * progmodes/f90.el (f90-mode-syntax-table):
13084 Set % to punctuation. (Bug#8820)
13085 (f90-find-tag-default): Remove, no longer needed.
13086
f0d4059d
DC
130872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13088
13089 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13090
1100a63c
CY
130912011-06-11 Chong Yidong <cyd@stupidchicken.com>
13092
13093 * image.el (image-animated-p): Return animation delay in seconds.
13094 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13095 (image-animate-timeout): Remove DELAY argument. Don't assume
13096 every subimage has the same delay; get it from image-animated-p.
13097 (image-animate): Caller changed.
13098
def722bf
MA
130992011-06-11 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13102 to ignored backtrace functions.
13103
0a2bb1a9
GM
131042011-06-11 Glenn Morris <rgm@gnu.org>
13105
13106 * calendar/appt.el (appt-disp-window-function): Doc fix.
13107 (appt-check): Handle overlapping appointments. (Bug#8337)
13108
6198ccd0
MR
131092011-06-11 Martin Rudalics <rudalics@gmx.at>
13110
13111 * window.el (window-tree-1, window-tree): New functions, moving
13112 the latter to window.el.
13113 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13114 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13115 (bw-refresh-edges): Remove.
13116 (balance-windows-1, balance-windows-2): New functions.
13117 (balance-windows): Rewrite in terms of window tree functions,
13118 balance-windows-1 and balance-windows-2.
13119 (bw-adjust-window): Remove.
13120 (balance-windows-area-adjust): New function with functionality of
13121 bw-adjust-window but using resize-window.
2b75be67
SM
13122 (set-window-text-height): Rewrite doc-string.
13123 Use normalize-live-window and resize-window.
13124 (enlarge-window-horizontally, shrink-window-horizontally):
13125 Rename argument to DELTA.
6198ccd0
MR
13126 (window-buffer-height): New function.
13127 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13128 Rewrite using new window resize routines.
2b75be67
SM
13129 (kill-buffer-and-window, mouse-autoselect-window-select):
13130 Use ignore-errors instead of condition-case.
6198ccd0
MR
13131 (quit-window): Call delete-frame instead of delete-windows-on
13132 for the only buffer on frame.
13133
9397e56f
MR
131342011-06-10 Martin Rudalics <rudalics@gmx.at>
13135
13136 * loadup.el (top-level): Load window before files for the sake
13137 of replace-buffer-in-windows.
13138
13139 * files.el (read-buffer-to-switch)
13140 (switch-to-buffer-other-window)
2b75be67
SM
13141 (switch-to-buffer-other-frame, display-buffer-other-frame):
13142 Move to window.el.
9397e56f
MR
13143
13144 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13145 (previous-buffer): Move to window.el.
13146
13147 * bindings.el (unbury-buffer): Move to window.el.
13148
13149 * window.el (delete-other-windows-vertically): Move after
13150 definition of delete-other-windows.
13151 (other-window, delete-windows-on, replace-buffer-in-windows):
13152 Move here from window.c.
13153 (record-window-buffer, unrecord-window-buffer)
13154 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13155 (switch-to-next-buffer): New functions.
13156 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13157 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13158 (previous-buffer): Move here from simple.el.
13159 Call switch-to-prev-buffer.
9397e56f
MR
13160 (bury-buffer): Move here from buffer.c. Switch to previous
13161 buffer when window cannot be deleted.
13162 (unbury-buffer): Move here from bindings.el.
13163 (ctl-x-map): Move binding for other-window from window.c to
13164 here.
13165 (read-buffer-to-switch, switch-to-buffer-other-window)
13166 (switch-to-buffer-other-frame): Move here from files.el.
13167 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13168 (switch-to-buffer): Move here from buffer.c.
13169 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13170
562dd5e9
MR
131712011-06-10 Martin Rudalics <rudalics@gmx.at>
13172
13173 * window.el (window-min-height, window-min-width): Move here
13174 from window.c. Add defcustoms and rewrite doc-strings.
13175 (resize-mini-window, resize-window): New functions.
13176 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13177 Move here from window.c.
13178 (maximize-window, minimize-window): New functions.
13179 (delete-window, delete-other-windows, split-window): Move here
13180 from window.c.
13181 (window-split-min-size): New function.
13182 (split-window-keep-point): Mention split-window-above-each-other
13183 instead of split-window-vertically.
2b75be67 13184 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13185 Rename split-window-vertically to split-window-above-each-other
13186 and provide defalias for old definition.
13187 (split-window-side-by-side, split-window-horizontally):
13188 Rename split-window-horizontally to split-window-side-by-side
13189 and provide defalias for the old definition.
562dd5e9
MR
13190 (ctl-x-map): Move bindings for delete-window,
13191 delete-other-windows and enlarge-window here from window.c.
13192 Replace bindings for split-window-vertically and
13193 split-window-horizontally by bindings for
13194 split-window-above-each-other and split-window-side-by-side.
13195
13196 * cus-start.el (all): Remove entries for window-min-height and
13197 window-min-width. Add entries for window-splits and
13198 window-nest.
13199
f0da764a
GM
132002011-06-09 Glenn Morris <rgm@gnu.org>
13201
80675c21
GM
13202 * calendar/appt.el (appt-mode-line): New function.
13203 (appt-check, appt-disp-window): Use it.
13204
f0da764a
GM
13205 * files.el (hack-one-local-variable-eval-safep):
13206 Allow minor-modes with explicit +/-1 arguments.
13207
59f623b7
TZ
132082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13209
13210 * term/xterm.el (xterm): Add defgroup.
13211 (xterm-extra-capabilities): Add defcustom to supply known xterm
13212 capabilities, skip querying them, or query them (default).
13213 (terminal-init-xterm): Use it.
13214 (terminal-init-xterm-modify-other-keys): New function to set up
13215 modifyOtherKeys support to simplify `terminal-init-xterm'.
13216
9aab8e0d
MR
132172011-06-09 Martin Rudalics <rudalics@gmx.at>
13218
13219 * window.el (resize-window-reset, resize-window-reset-1)
13220 (resize-subwindows-skip-p, resize-subwindows-normal)
13221 (resize-subwindows, resize-other-windows, resize-this-window)
13222 (resize-root-window, resize-root-window-vertically)
13223 (window-deletable-p, window-or-subwindow-p)
13224 (frame-root-window-p): New functions.
13225
e8b08aee
GM
132262011-06-09 Glenn Morris <rgm@gnu.org>
13227
13228 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13229 (ange-ftp-get-files): Use it.
13230
254c37a5
AK
132312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13232
13233 * mail/sendmail.el (mail-recover-1, mail-recover):
13234 * files.el (recover-file, recover-session):
13235 Handle dired-listing-switches not being just a single short option.
13236
35d7dbd3
GM
132372011-06-09 Glenn Morris <rgm@gnu.org>
13238
13239 * calendar/appt.el (appt-display-message, appt-disp-window):
13240 Handle lists of appointments.
13241
387522b2
MR
132422011-06-08 Martin Rudalics <rudalics@gmx.at>
13243
2b75be67
SM
13244 * window.el (one-window-p): Move down in code.
13245 Rewrite doc-string.
13246 (window-current-scroll-bars): Rewrite doc-string.
13247 Normalize live window argument.
387522b2
MR
13248 (walk-windows, get-window-with-predicate, count-windows):
13249 Rewrite doc-string. Use window-list-1.
13250 (window-in-direction-2, window-in-direction, get-mru-window):
13251 New functions.
13252
d8e4b68b 132532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13254
13255 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13256 Doc fix (Bug#8713).
13257
132582011-06-08 Chong Yidong <cyd@stupidchicken.com>
13259
13260 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13261
132622011-06-08 Juanma Barranquero <lekktu@gmail.com>
13263
13264 * loadhist.el (unload-feature-special-hooks):
13265 Add `comint-output-filter-functions'.
13266
0de12c52
IK
132672011-06-08 Ivan Kanis <gnu@kanis.fr>
13268
13269 * calendar/appt.el (appt-check): Move some initializations into the let.
13270
f3d1777e
MR
132712011-06-08 Martin Rudalics <rudalics@gmx.at>
13272
13273 * window.el (window-height): Defalias to window-total-height.
13274 (window-width): Defalias to window-body-width.
13275
18af70d0
CY
132762011-06-07 Chong Yidong <cyd@stupidchicken.com>
13277
13278 * image-mode.el (image-toggle-animation): New command.
13279 (image-mode-map): Bind it to RET.
13280 (image-mode): Update message.
13281 (image-toggle-display-image): Avoid a spurious cache flush.
13282 (image-transform-rotation): Doc fix.
13283 (image-transform-properties): Return quickly in the normal case.
13284 (image-animate-loop): Rename from image-animate-max-time.
13285
2b75be67 13286 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13287 (create-animated-image): Remove unnecessary function.
13288 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13289 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13290 (image-animate-timer): Use car-safe.
13291 (image-animate-timeout): Rename argument.
13292
190b47e6
MR
132932011-06-07 Martin Rudalics <rudalics@gmx.at>
13294
13295 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13296 window.c. Rename first argument to ALL-FRAMES.
13297 Rephrase doc-strings.
13298 (get-buffer-window-list): Rewrite using window-list-1.
13299 Rephrase doc-string.
a1511caf
MR
13300 (window-safe-min-height, window-safe-min-width): New constants.
13301 (window-size-ignore, window-min-size, window-min-size-1)
13302 (window-sizable, window-sizable-p, window-size-fixed-1)
13303 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13304 (window-max-delta-1, window-max-delta, window-resizable)
13305 (window-resizable-p, window-total-height, window-total-width)
13306 (window-body-width): New functions.
13307 (window-full-height-p, window-full-width-p): Rewrite using
13308 window-total-size.
13309 (window-body-height): Rewrite using window-body-size.
190b47e6 13310
85cc1f11
MR
133112011-06-06 Martin Rudalics <rudalics@gmx.at>
13312
13313 * window.el (window-right, window-left, window-child)
13314 (window-child-count, window-last-child, window-any-p)
13315 (normalize-live-buffer, normalize-live-frame)
13316 (normalize-any-window, normalize-live-window)
13317 (window-iso-combination-p, window-iso-combined-p)
13318 (window-iso-combinations)
13319 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13320 (windows-with-parameter, window-with-parameter)
13321 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13322 (window-atom-check, window-side-check, window-check):
13323 New functions.
85cc1f11
MR
13324 (ignore-window-parameters, window-sides, window-sides-vertical)
13325 (window-sides-slots): New variables.
13326 (window-size-fixed): Move down in code. Minor doc-string fix.
13327
e7156492
AS
133282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13329
13330 * comint.el (comint-dynamic-complete-as-filename)
13331 (comint-dynamic-complete-filename): Correctly call
13332 completion-in-region.
13333
7e821d0d
DD
133342011-06-05 Deniz Dogan <deniz@dogan.se>
13335
13336 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13337 in last change.
13338
ac09b8a1
DD
133392011-06-05 Deniz Dogan <deniz@dogan.se>
13340
13341 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13342 (rcirc): Use it to prompt for encryption.
13343
34699b85
RW
133442011-06-05 Roland Winkler <winkler@gnu.org>
13345
13346 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13347 (bibtex-search-entries): New command bound to C-c C-a.
13348 (bibtex-display-entries): New function.
13349
004dedd3
RW
133502011-06-05 Roland Winkler <winkler@gnu.org>
13351
13352 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13353 (bibtex-insert-kill): After yanking insert newline if necessary.
13354 (bibtex-initialize): Call bibtex-string-files-init only once.
13355 (bibtex-mode): Do not call easy-menu-add.
13356 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13357 (bibtex-yank): Set arg properly if nil.
13358
022fe7ce
RW
133592011-06-05 Roland Winkler <winkler@gnu.org>
13360
2b75be67
SM
13361 * textmodes/bibtex.el (bibtex-search-entry-globally):
13362 New variable.
022fe7ce
RW
13363 (bibtex-search-entry): Use it.
13364
b7c3692a
RW
133652011-06-05 Roland Winkler <winkler@gnu.org>
13366
13367 * textmodes/bibtex.el (bibtex-entry-format): New option
13368 sort-fields.
13369 (bibtex-format-entry, bibtex-reformat): Honor this option.
13370 (bibtex-parse-entry): Return fields in proper order.
13371
8eda563d
JB
133722011-06-05 Juanma Barranquero <lekktu@gmail.com>
13373
13374 * doc-view.el (doc-view-remove-if): Move computation of result out
13375 of `dolist' to silence misleading lexical-binding warning.
13376
7dbe3dbc
CY
133772011-06-04 Chong Yidong <cyd@stupidchicken.com>
13378
13379 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13380 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13381
0c33dd17
MA
133822011-06-04 Michael Albinus <michael.albinus@gmx.de>
13383
13384 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13385 "SunOS 5.10".
13386
f8f91c2b
MA
133872011-06-04 Michael Albinus <michael.albinus@gmx.de>
13388
13389 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13390 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13391 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13392 (tramp-parse-putty):
13393 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13394 (tramp-completion-function-alist-ssh)
13395 (tramp-completion-function-alist-telnet)
13396 (tramp-completion-function-alist-su)
13397 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13398 cookie.
13399
13400 * net/tramp-ftp.el:
13401 * net/tramp-sh.el:
13402 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13403 load "tramp.el" `tramp-set-completion-function'.
13404
e17d9003
SM
134052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * shell.el: Require and use pcomplete.
13408 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13409 (shell-completion-vars): Set pcomplete-default-completion-function.
13410
6c4cab03
DD
134112011-06-04 Deniz Dogan <deniz@dogan.se>
13412
13413 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13414 `memq' (Bug#8799).
13415
ea9fafe0
SM
134162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13417
13418 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13419
b3e945d3
JB
134202011-06-02 Juanma Barranquero <lekktu@gmail.com>
13421
13422 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13423 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13424 * vc/log-view.el (log-view-beginning-of-defun):
13425 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13426 (smerge-refine-forward, smerge-refine-chopup-region):
13427 Silence warning for unused `dotimes' counter variables.
13428
7d520089
SM
134292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * net/tramp.el (tramp-with-progress-reporter): Rename from
13432 with-progress-reporter. Use `declare'.
13433 * net/tramp-smb.el:
13434 * net/tramp-sh.el:
13435 * net/tramp-gvfs.el: Update all uses.
13436
a1c2400f
JB
134372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13438
13439 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13440 buffer isn't killed before making it current.
13441
2403c841
SM
134422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 Silence various byte-compiler warnings.
13445 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13446 `access-type' and new obsolescence format.
13447 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13448 new format.
13449 (byte-compile-check-variable): New `access-type' argument.
13450 Only warn if the access-type is obsolete.
13451 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13452 (byte-compile-variable-set): Adjust callers.
13453 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13454 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13455 setting it as obsolete.
13456 * simple.el (minibuffer-completing-symbol):
13457 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13458 access as obsolete.
13459 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13460 obsolete yet.
13461 * international/quail.el (quail-mouse-choose-completion): Remove unused
13462 code referring to obsolete var.
13463 (quail-choose-completion-string): Remove.
13464 * server.el (server-clients-with, server-kill-buffer-query-function)
13465 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13466 * proced.el (proced-send-signal):
13467 * emacs-lisp/lisp.el (lisp-complete-symbol):
13468 Replace completion-annotate-function with completion-extra-properties.
13469
2462470b
SM
134702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13471
fb5b2591
SM
13472 * simple.el (goto-line): Use read-number.
13473 (overriding-map-is-bound): Remove.
13474 (saved-overriding-map): Change default.
13475 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13476 Take the map as argument.
13477 (universal-argument, negative-argument, digit-argument): Use it.
13478 (restore-overriding-map): Adjust.
13479 (do-auto-fill): Use fill-forward-paragraph.
13480 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13481
fd6fa53f
SM
13482 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13483 (minibuffer-inactive-mode): New major mode.
13484 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13485 the *Messages* buffer" hack.
13486 (mouse-popup-menubar): Don't burp if the event is a normal key.
13487
2462470b
SM
13488 Miscellaneous tweaks.
13489 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13490 lexical scoping as in subr.el's dolist and dotimes.
13491 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13492 Silence compiler warning.
13493 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13494 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13495 * international/ccl.el (ccl-compile): Trivial simplification.
13496 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13497 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13498 `printflag' argument.
13499 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13500 Purecopy the whole obsolescence data.
13501
108bf785
LL
135022011-06-01 Leo Liu <sdl.web@gmail.com>
13503
13504 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13505 improve doc-string as suggested by Marco Pessotto
13506 <melmothx@gmail.com>.
13507 (rcirc-print): Fix last change.
13508
30a23501
SM
135092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * minibuffer.el (complete-with-action): Return nil for the metadata and
13512 boundaries of non-functional tables.
13513 (completion-table-dynamic): Return nil for the metadata.
13514 (completion-table-with-terminator): Add default case, using
13515 complete-with-action.
13516 (completion--metadata): New function.
13517 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13518 to try and avoid pathological performance problems.
13519 (completion--embedded-envvar-table): Return `category' metadata.
13520
bcd54f83
LMI
135212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13522
13523 * subr.el (process-alive-p): New tiny convenience function.
13524
e227544d
SM
135252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13528 content but also its previous major mode.
13529
e8296fdc
HE
135302011-05-31 Helmut Eller <eller.helmut@gmail.com>
13531
4d61f28d 13532 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13533 *Backtrace* buffer when we exit with C-M-c.
13534
620c53a6
SM
135352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * minibuffer.el: Add metadata method to completion tables.
13538 (completion-category-overrides): New defcustom.
13539 (completion-metadata, completion--field-metadata)
13540 (completion-metadata-get, completion--styles)
13541 (completion--cycle-threshold): New functions.
13542 (completion-try-completion, completion-all-completions):
13543 Add `metadata' argument to choose completion-styles.
13544 (completion--do-completion): Use metadata to choose cycling.
13545 (completion-all-sorted-completions): Use metadata for sorting.
13546 Remove :completion-cycle-penalty which is not needed any more.
13547 (completion--try-word-completion): Add `metadata' argument.
13548 (minibuffer-completion-help): Check metadata for annotation function
13549 and sorting.
13550 (completion-file-name-table): Return `category' metadata.
13551 (minibuffer-completing-file-name): Make obsolete.
13552 * simple.el (minibuffer-completing-symbol): Make obsolete.
13553 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13554 completion-try-completion.
13555
1257e755
SM
135562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13559
3767e706
LL
135602011-05-30 Leo Liu <sdl.web@gmail.com>
13561
13562 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13563 (rcirc-print): Decode all incoming messages (bug#8744).
13564 (rcirc-decode-coding-system): Allow value nil for automatic coding
13565 system detection.
3767e706 13566
d1a5d56a
GM
135672011-06-01 Glenn Morris <rgm@gnu.org>
13568
13569 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13570
e8cbec34
CY
135712011-05-29 Chong Yidong <cyd@stupidchicken.com>
13572
13573 * image.el (image-animate-max-time): Allow nil and t values.
13574 Default to nil.
13575 (create-animated-image): Doc fix.
13576 (image-animate-start): Remove second arg; just use
13577 image-animate-max-time.
13578 (image-animate-timeout): Doc fix. Args changed.
13579
13580 * image-mode.el (image-toggle-display-image): Ensure that the
13581 image spec passed to the animate timer is the same object as in
58179cce 13582 the buffer's display property (Bug#6981).
e8cbec34
CY
13583 (image-transform-properties): Doc fix.
13584
13585 * image.el (image-animate-max-time): Default to nil.
13586
159daf87
MR
135872011-05-29 Martin Rudalics <rudalics@gmx.at>
13588
13589 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13590 entire buffer list (Bug#8184).
13591
d66c4c7c
CY
135922011-05-29 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * image.el (imagemagick-types-inhibit)
13595 (imagemagick-register-types): Doc fix.
13596
80aec780
DD
135972011-05-29 Deniz Dogan <deniz@dogan.se>
13598
13599 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13600 default.
13601
1dd3c2d9
CY
136022011-05-29 Chong Yidong <cyd@stupidchicken.com>
13603
13604 * select.el: Don't perform clipboard-manager saving in hooks;
13605 leave the hooks empty.
13606
60e56523
LL
136072011-05-28 Leo Liu <sdl.web@gmail.com>
13608
13609 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13610 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13611 (occur-edit-mode): New major mode (Bug#8463).
13612 (occur-after-change-function): New function.
13613 (occur-engine): Give Occur tags a read-only property.
13614
2b1e1a22
KR
136152011-05-28 Kevin Ryde <user42@zip.com.au>
13616
13617 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13618
5d344e88
CY
136192011-05-28 Chong Yidong <cyd@stupidchicken.com>
13620
8e6ca83d
CY
13621 * bindings.el (help-echo): Make the initial non-indicator dash
13622 empty on graphical terminals (Bug#7295).
13623
5d344e88
CY
13624 * files.el (auto-mode-alist): Move config rule after the
13625 in-stripping one (Bug#8547).
13626
bfbbace7
CY
13627 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13628
fbeba6e2
CY
13629 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13630 setting (Bug#8740).
13631
60ed8c72
AA
136322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13633
4ac619f0
AA
13634 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13635 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13636 (Bug#8539).
60ed8c72 13637
23db196e
CY
136382011-05-28 Chong Yidong <cyd@stupidchicken.com>
13639
13640 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13641
5012f24c
DK
136422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13643
13644 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13645 (hs-hide-block-at-point, hs-find-block-beginning)
13646 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13647 (Bug#8279).
13648
6a639b16
GM
136492011-05-28 Glenn Morris <rgm@gnu.org>
13650
13651 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13652
d43eaf2c
CY
136532011-05-28 Chong Yidong <cyd@stupidchicken.com>
13654
5199bde1
CY
13655 * help-fns.el (describe-function-1): If the function is a derived
13656 major mode, print the parent mode.
13657
d43eaf2c
CY
13658 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13659 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13660
423428a8
SM
136612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13662
0ff8e1ba 13663 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13664 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13665 * progmodes/etags.el (tags-completion-at-point-function):
13666 * info-look.el (info-lookup-completions-at-point): Mark as
13667 non-exclusive.
13668 (info-complete): Adjust accordingly.
13669
423428a8
SM
13670 * info-look.el: Convert to lexical-binding and completion-at-point.
13671 (info-lookup-completions-at-point): New function.
13672 (info-complete): Use it and completion-in-region.
13673
b74aa22b
DA
136742011-05-28 Drew Adams <drew.adams@oracle.com>
13675
13676 * isearch.el: Let M-e start with point at the first mismatched char.
13677 (isearch-fail-pos): New function.
13678 (isearch-edit-string): Use it.
13679
66e2e71d
DK
136802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13681
13682 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13683
b1890b0f 136842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13685
13686 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13687 traversal functions for avl-trees.
13688 (avl-tree--stack): New struct.
13689 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13690 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13691 (avl-tree--do-enter): Add optional `updatefun' arg.
13692 Change return value.
eb95d01d 13693 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13694 (avl-tree--do-delete): Add `test' and `nilflag' args.
13695 Change return value.
eb95d01d
TC
13696 (avl-tree-member): Add optional `nilflag'
13697 (avl-tree-member-p): New function.
13698 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13699 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13700 (avl-tree-stack-empty-p): New functions.
13701
3769ddcf
TC
13702 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13703 avl-tree--del-balance1 and make it work both ways.
13704 (avl-tree--del-balance2): Remove.
13705 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13706 make it work both ways.
13707 (avl-tree--enter-balance2): Remove.
13708 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13709 New macros.
13710 (avl-tree--mapc, avl-tree-map): Add direction argument.
13711
eb95d01d 137122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13713
13714 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13715
a9f737ee
CY
137162011-05-27 Chong Yidong <cyd@stupidchicken.com>
13717
13718 * select.el: Support clipboard managers with built-in function
13719 x-clipboard-manager-save, via delete-frame-functions and
13720 kill-emacs-hook.
13721 (xselect-convert-to-targets): Add MULTIPLE target to list.
13722 (xselect-convert-to-save-targets): New function.
13723
c92a1e54
KH
137242011-05-27 Kenichi Handa <handa@m17n.org>
13725
13726 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13727 let-binding rfc2047-encode-encoded-words to nil.
13728
e145f188
GM
137292011-05-27 Glenn Morris <rgm@gnu.org>
13730
5ec8a862
GM
13731 * mail/emacsbug.el: Don't require url-util.
13732
4b29d9fb
GM
13733 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13734
e145f188
GM
13735 * files.el (set-auto-mode):
13736 Also respect mode: entries at the end of the file. (Bug#8586)
13737
7d15102b
GM
137382011-05-26 Glenn Morris <rgm@gnu.org>
13739
98f593b8
GM
13740 * files.el (hack-local-variables-prop-line, hack-local-variables):
13741 Downcase mode names, as seems to be traditional.
27b48e63 13742 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13743
7d15102b
GM
13744 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13745 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13746
51d5b4ec
JD
137472011-05-25 Julien Danjou <julien@danjou.info>
13748
13749 * textmodes/rst.el (rst-define-level-faces): Do not define face
13750 symbol if it is already defined.
13751
91513f63
VB
137522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13753
13754 * play/5x5.el (5x5-new-game, 5x5-randomize):
13755 Reset 5x5-solver-output to nil when a new grid is cast.
13756 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13757 these debugging traces, as defmacro breaks the compiled code.
13758
4d90d6d0
DK
137592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13760
13761 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13762
e1b90ef6
LL
137632011-05-24 Leo Liu <sdl.web@gmail.com>
13764
13765 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13766 (vc-bzr-sha1): Adapt.
13767
d8e4b68b 13768 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13769
13770 * bindings.el: Provide sha1 feature.
13771
db0406bb 137722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13773
13774 * mail/sendmail.el: Require `rfc2047'.
13775 (mail-insert-from-field): Do not perform RFC2047 encoding.
13776 (mail-encode-header): New function.
13777 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13778 buffer to the return value of select-message-coding-system.
13779 Call mail-encode-header.
b8d747b9
KH
13780
13781 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13782
db0406bb 137832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13784
4d90d6d0
DK
13785 * mail/supercite.el (sc-default-cite-frame):
13786 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13787
eb8a5e9b
GM
137882011-05-24 Glenn Morris <rgm@gnu.org>
13789
f8630703
GM
13790 * progmodes/python.el (brm-menu): Declare.
13791
8831bbed
GM
13792 * emulation/viper.el (viper-set-hooks): Declare.
13793
eb8a5e9b
GM
13794 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13795 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13796 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13797 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13798 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13799 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13800
a2a25d24
SM
138012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13802
13803 Add an :exit-function for completion-at-point.
13804
13805 * minibuffer.el (completion--done): New fun.
13806 (completion--do-completion): Use it. New arg `expect-exact'.
13807 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13808 since completion--do-completion does it for us now.
13809 (minibuffer-force-complete): Use completion--done and
13810 completion--replace. Handle sole-completion case with more care.
13811 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13812 (completion-extra-properties): New var.
13813 (completion-annotate-function): Make obsolete.
13814 (minibuffer-completion-help): Adjust accordingly.
13815 Use completion-list-insert-choice-function.
13816 (completion-at-point, completion-help-at-point):
13817 Bind completion-extra-properties.
13818 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13819 * simple.el (completion-list-insert-choice-function): New var.
13820 (completion-setup-function): Preserve it.
13821 (choose-completion): Pay attention to it, shuffle the code a bit.
13822 (choose-completion-string): New arg `insert-function'.
13823
13824 * textmodes/bibtex.el: Convert to lexical binding.
13825 (bibtex-mode-map): Use completion-at-point.
13826 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13827 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13828 (bibtex-complete): Define as obsolete alias.
13829 (bibtex-complete-internal): Remove.
13830 (bibtex-format-entry): Remove unused sub-group in regexp.
13831 * shell.el (shell--command-completion-data)
13832 (shell-environment-variable-completion):
13833 * pcomplete.el (pcomplete-completions-at-point):
13834 * comint.el (comint--complete-file-name-data): Use :exit-function
13835 instead of completion-table-with-terminator so it also works for
13836 choose-completion.
13837
e44e373d
SM
138382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13839
4f91a816
SM
13840 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13841
782fc819
SM
13842 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13843 (bug#8710).
13844
e44e373d
SM
13845 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13846
381987c3
KM
138472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13848
13849 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13850 customization variable and implement: If non-nil, auto-fill will
13851 be inhibited while on topic's header line.
13852
b776bc70
VB
138532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13854
13855 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13856 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13857 always have a solution in grid size = 5 cases.
13858 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13859 (5x5-solver-output, 5x5-log-buffer): New vars.
13860 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13861 Make these variables buffer local to achieve 5x5 multi-session-ness.
13862 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13863 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13864 (5x5-solve-suggest): New funs.
13865 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13866 randomize a grid so that we ensure that there is always a solution.
13867 (5x5-make-random-grid): Allow other movement than flipping.
13868
7de88b6e
KR
138692011-05-23 Kevin Ryde <user42@zip.com.au>
13870
13871 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13872 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13873 advice and passes PREDICATE.
13874
b1ef1257
SM
138752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13876
bbca48fe
SM
13877 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13878 byte-compile-lambda if it's actually a lambda.
13879
b1ef1257
SM
13880 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13881 Fix function quoting. Use backquote better.
13882
92a9cc65
YS
138832011-05-22 Yuanle Song <sylecn@gmail.com>
13884
13885 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13886 matching (Bug#8516).
13887
f0fb8059
JA
138882011-01-22 Jari Aalto <jari.aalto@cante.net>
13889
13890 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13891 different face (Bug#8178).
13892
d5b44c93
CY
138932011-05-22 Chong Yidong <cyd@stupidchicken.com>
13894
13895 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13896 defface (Bug#8144).
13897
79106a44
SM
138982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13899
9c848d8a
SM
13900 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13901 funcall as well (bug#8712). Warn when performing those conversions.
13902 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13903
79106a44
SM
13904 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13905
88dfa756
GM
139062011-05-22 Glenn Morris <rgm@gnu.org>
13907
13908 * files.el (hack-local-variables-prop-line): Small simplifications.
13909 (hack-local-variables, hack-local-variables-prop-line):
13910 If MODE-ONLY, return the mode, rather than just `t'.
13911
b7cf2c79
SM
139122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13915
3f1a8558
GM
139162011-05-21 Glenn Morris <rgm@gnu.org>
13917
7e4ccca3
GM
13918 * files.el (hack-local-variables-prop-line, hack-local-variables):
13919 If only interested in the mode, don't bother doing the other stuff.
13920
637d46ca
GM
13921 * image-mode.el (image-after-revert-hook):
13922 Redraw all frames on which the image is visible. (Bug#8567)
13923
973d955b
GM
13924 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13925
3f1a8558
GM
13926 * wid-edit.el (widget-checklist-match-inline):
13927 Fix 2011-04-19 change. (Bug#8649)
13928
96479927
SM
139292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13930
1dcf791f
SM
13931 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13932 Also allow singlespace after single-letter capitals followed by a dot.
13933
96479927
SM
13934 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13935 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13936
35fd0881
N
139372011-05-20 Nix <nix@esperi.org.uk>
13938
13939 * files.el (basic-save-buffer-2):
13940 Fix handling of break-hardlink-on-save with non-existent files.
13941
82745640
DD
139422011-05-19 Deniz Dogan <deniz@dogan.se>
13943
13944 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13945 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13946
4a720484
GM
139472011-05-19 Glenn Morris <rgm@gnu.org>
13948
d1f21341
GM
13949 * progmodes/f90.el (f90-type-def-re):
13950 Handle "type, bind(c)". (Bug#8691)
13951
4a720484
GM
13952 * emacs-lisp/autoload.el (batch-update-autoloads):
13953 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13954
2fb0a219
MA
139552011-05-18 Michael Albinus <michael.albinus@gmx.de>
13956
13957 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13958 property for the correct connection in case of multihops.
13959
e565dd37
GM
139602011-05-18 Glenn Morris <rgm@gnu.org>
13961
c2571358 13962 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13963 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13964
e565dd37
GM
13965 Rationalize calendar handling of day and month abbrev-arrays.
13966 * calendar/calendar.el (calendar-customized-p): New function.
13967 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13968 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13969 Add :set function.
13970 (calendar-abbrev-length, calendar-day-abbrev-array)
13971 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13972 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13973 Elements may no longer be nil.
13974 (calendar-day-name, calendar-month-name):
13975 Update for changed nature of abbrev arrays.
13976 * calendar/diary-lib.el (diary-name-pattern):
13977 Update for changed nature of abbrev arrays.
13978 (diary-mark-entries-1): Update calendar-make-alist calls.
13979 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13980 * calendar/cal-html.el (cal-html-day-abbrev-array):
13981 Simply inherit from calendar-day-abbrev-array.
13982
1d99a745
SM
139832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13984
13985 * progmodes/grep.el (grep-mode): Disable default
13986 compilation-directory-matcher setting (bug#8684).
13987
7c1d9aa0
MA
139882011-05-17 Michael Albinus <michael.albinus@gmx.de>
13989
13990 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13991 instead of "head" and "tail". There were problems with SunOS 5.9,
13992 and it performs better.
13993
3952e9d8
GM
139942011-05-17 Glenn Morris <rgm@gnu.org>
13995
2dd12e7f
GM
13996 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13997
e4157b9c
GM
13998 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13999 Replace obsolete function.
14000
8e249bbd
GM
14001 * shell.el (pcomplete-parse-arguments-function): Declare.
14002
3952e9d8
GM
14003 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14004 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14005 (appt-check): Doc fixes.
14006 (appt-disp-window-function, appt-delete-window-function):
14007 Remove needless special case in custom :type.
14008 (appt-display-count): Default to 0, not nil.
14009 (appt-check): Reset appt-display-count to 0, not nil.
14010
c71a0d48 140112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14012
c71a0d48
GM
14013 * progmodes/python.el (python-font-lock-keywords):
14014 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14015
31d55be9
SM
140162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14019
3bfacb2f
KR
140202011-05-16 Kevin Ryde <user42@zip.com.au>
14021
14022 * info-look.el (makefile-automake-mode): New setups, looking in
14023 automake manual, then makefile-mode.
14024 (makefile-mode): Remove automake manual, have it just in
14025 makefile-automake-mode since there's various things different or
14026 not relevant to plain make.
14027 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14028 believe a hypothetical automake-mode would go to makefile-mode,
14029 not the other way around.
14030
c8e83751
CY
140312011-05-15 Chong Yidong <cyd@stupidchicken.com>
14032
5e9e35cd
CY
14033 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14034 hunk-end tags (Bug#8672).
14035
c8e83751
CY
14036 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14037 vc-annotate-show-diff-revision-at-line (Bug#8671).
14038
50b23e5a
GM
140392011-05-14 Glenn Morris <rgm@gnu.org>
14040
7210a739
GM
14041 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14042 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14043 (change-log-font-lock-keywords): Also handle multiple author lines
14044 with leading tabs. (Bug#8644)
7210a739 14045
4691905a
GM
14046 * calendar/appt.el (appt-check): Rename some local variables.
14047 Some simplification/reordering.
14048
50b23e5a
GM
14049 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14050 (feedmail-sendmail-f-doesnt-sell-me-out)
14051 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14052 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14053 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14054 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14055 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14056 (feedmail-binmail-gnulinuxish-template):
14057 Rename from feedmail-binmail-linuxish-template.
14058 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14059 Use insert-buffer-substring.
14060
215cda7c
BC
140612011-05-14 Bill Carpenter <bill@carpenter.org>
14062
14063 * mail/feedmail.el (feedmail-patch-level): Increase.
14064 (feedmail-debug): New custom group.
14065 (feedmail-confirm-outgoing-timeout)
14066 (feedmail-sendmail-f-doesnt-sell-me-out)
14067 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14068 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14069 (feedmail-sender-line, feedmail-from-line)
14070 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14071 (feedmail-spray-this-address)
215cda7c
BC
14072 (feedmail-spray-address-fiddle-plex-list)
14073 (feedmail-queue-use-send-time-for-date)
14074 (feedmail-queue-use-send-time-for-message-id)
14075 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14076 (feedmail-buffer-eating-function):
14077 Doc fixes.
14078 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14079 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14080 (feedmail-message-action-scroll-down): New functions.
14081 (feedmail-queue-directory, feedmail-queue-draft-directory):
14082 Use expand-file-name.
14083 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14084 Remove C-v help entry.
14085 (feedmail-queue-buffer-file-name): New variable.
14086 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14087 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14088 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14089 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14090 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14091 (feedmail-message-action-toggle-spray)
14092 (feedmail-run-the-queue-no-prompts)
14093 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14094 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14095 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14096 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14097 (feedmail-envelope-deducer, feedmail-fiddle-from)
14098 (feedmail-fiddle-sender, feedmail-default-date-generator)
14099 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14100 (feedmail-fiddle-spray-address)
14101 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14102 (feedmail-fiddle-list-of-fiddle-plexes)
14103 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14104 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14105 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14106 Change default. Doc fix.
14107 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14108 (feedmail-binmail-linuxish-template): New constant.
14109 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14110 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14111 (feedmail-send-it): Add debug call.
14112 Use feedmail-queue-buffer-file-name, and
14113 feedmail-send-it-immediately-wrapper.
14114 (feedmail-message-action-send): Add debug call.
14115 Use feedmail-send-it-immediately-wrapper.
14116 (feedmail-queue-express-to-queue): Add debug call.
14117 Run feedmail-queue-express-hook.
14118 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14119 (feedmail-message-action-help-blat):
14120 Rename from feedmail-queue-send-edit-prompt-help-first.
14121 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14122 Check line-endings. Handle errors better.
14123 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14124 Doc fix. Add debug call.
14125 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14126 Use feedmail-queue-send-edit-prompt-inner.
14127 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14128 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14129 from feedmail-queue-send-edit-prompt.
14130 (feedmail-queue-send-edit-prompt-help)
14131 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14132 (feedmail-tidy-up-slug): Add debug call.
14133 Respect feedmail-queue-slug-suspect-regexp.
14134 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14135 (feedmail-dump-message-to-queue): Add debug call.
14136 Expand queue-directory.
14137 (feedmail-dump-message-to-queue): Change message slightly.
14138 Use feedmail-say-chatter.
14139 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14140 (feedmail-send-it-immediately-wrapper): New function.
14141 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14142 Insert empty string rather than newline. Handle full-frame case.
14143 Use catch/throw. Use feedmail-say-chatter.
14144 (feedmail-fiddle-from): Try mail-host-address.
14145 (feedmail-default-message-id-generator): Doc fix.
14146 Bind system-time-locale. Handle missing end.
14147 (feedmail-fiddle-x-mailer): Add debug call.
14148 Handle feedmail-x-mailer-line being nil.
14149 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14150 Add debug call. Use buffer-substring-no-properties.
14151 (feedmail-say-debug, feedmail-say-chatter): New functions.
14152 (feedmail-find-eoh): Give an explicit error.
14153
42c7e61e
UJ
141542011-05-13 Ulf Jasper <ulf.jasper@web.de>
14155
c2571358 14156 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14157 family from helvetica to sans.
c2571358 14158 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14159 etc/images/newsticker.
14160
c2571358 14161 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14162 family from helvetica to sans.
14163
14164 * net/newst-plainview.el (newsticker-new-item-face)
14165 (newsticker-old-item-face, newsticker-immortal-item-face)
14166 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14167 (newsticker-statistics-face): Change default family from
42c7e61e 14168 helvetica to sans.
c2571358 14169 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14170 etc/images/newsticker.
14171
5d3385a0
JB
14172 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14173 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14174 auto-marking.
14175
8497a297
DV
141762011-05-13 Didier Verna <didier@xemacs.org>
14177
14178 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14179 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14180 TODO entries.
8497a297
DV
14181 (lisp-lambda-list-keyword-parameter-indentation)
14182 (lisp-lambda-list-keyword-parameter-alignment)
14183 (lisp-lambda-list-keyword-alignment): New customizable user options.
14184 (lisp-indent-defun-method): Improve docstring.
14185 (extended-loop-p): Fix comment.
14186 (lisp-indent-lambda-list-keywords-regexp): New variable.
14187 (lisp-indent-lambda-list): New function.
14188 (lisp-indent-259): Use it.
14189 (lisp-indent-defmethod): Support for more than one
14190 method qualifier and properly indent methods lambda-lists.
14191 (defgeneric): Provide a missing common-lisp-indent-function property.
14192
f278f87f
SM
141932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14196 bounds for the empty string (bug#8667).
14197
5233edd7
GM
141982011-05-13 Glenn Morris <rgm@gnu.org>
14199
5237a44f
GM
14200 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14201
8340026c 14202 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14203 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14204
5233edd7 14205 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14206 (appt-time-msg-list): Doc fix.
a5464014 14207 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14208
92d10796
AS
142092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14210
14211 * progmodes/ld-script.el (ld-script-keywords)
14212 (ld-script-builtins): Update keywords list.
14213
914a0ae1
SM
142142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14215
c89be45f
SM
14216 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14217
914a0ae1
SM
14218 * shell.el (shell-completion-vars): New function.
14219 (shell-mode):
14220 * simple.el (read-shell-command): Use it.
14221 (blink-matching-open): No need for " [...]" in minibuffer-message.
14222
98dc3df3
GM
142232011-05-12 Glenn Morris <rgm@gnu.org>
14224
14225 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14226 (appt-check): Simplify.
14227
d2fc7e3d 142282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14229
4d61f28d 14230 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14231 literal "/dev/null".
14232
d2fc7e3d 142332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14234
14235 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14236 Fix typo.
14237
d2fc7e3d 142382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14239
3f254caa
SM
14240 * progmodes/which-func.el (which-function):
14241 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14242 which might not be defined (Bug#8260).
14243
d45885f7
GM
142442011-05-12 Glenn Morris <rgm@gnu.org>
14245
14246 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14247 Let byte-compile-initial-macro-environment always take precedence.
14248
488086f4
SM
142492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * net/rcirc.el: Add support for SSL/TLS connections.
14252 (rcirc-server-alist): New field `encryption'.
14253 (rcirc): Check `encryption' settings.
14254 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14255 Merge make-local-variable into `set'.
14256 (rcirc--connection-open-p): New function.
14257 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14258 the process is not a network process (e.g. running gnutls-cli).
14259 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14260 Make rcirc-(en|de)code-coding-system local here.
14261 (rcirc-mode): Merge make-local-variable into `set'.
14262 (rcirc-parent-buffer): Make permanent buffer-local.
14263 (rcirc-multiline-minor-mode): Don't do it here.
14264 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14265 there's no server buffer.
14266
7d3b9d44
GM
142672011-05-11 Glenn Morris <rgm@gnu.org>
14268
f64049c6
GM
14269 * newcomment.el (comment-kill): Prefix "unused" local.
14270
93c9df73
GM
14271 * term/w32console.el (get-screen-color): Declare.
14272
7d3b9d44
GM
14273 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14274 Handle symbol elements of byte-compile-initial-macro-environment.
14275
9e2dd53f
LL
142762011-05-10 Leo Liu <sdl.web@gmail.com>
14277
488086f4
SM
14278 * bookmark.el (bookmark-bmenu-mode-map):
14279 Bind bookmark-bmenu-search to `/'.
8b340240 14280
9e2dd53f 14281 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14282 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14283 (Footnote-unicode): New function.
14284 (footnote-style-alist): Add unicode style to the list.
14285 (footnote-style): Doc fix.
9e2dd53f 14286
79b70037
GM
142872011-05-10 Jim Meyering <meyering@redhat.com>
14288
14289 Fix doubled-word typos.
14290 * international/quail.el (quail-insert-kbd-layout): and and -> and
14291 * kermit.el: and and -> and
14292 * net/ldap.el (ldap-search-internal): to to -> to
14293 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14294 * progmodes/js.el (js-mode): and and -> and
14295 * textmodes/artist.el (artist-move-to-xy): at at -> at
14296 (artist-draw-region-trim-line-endings): if if -> if
14297 And Safetyc -> Safety.
14298 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14299
b8f82dc1 143002011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14301 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14302
14303 * files.el (hack-one-local-variable-eval-safep):
14304 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14305
4f99f44b
GM
143062011-05-10 Glenn Morris <rgm@gnu.org>
14307
14308 * calendar/diary-lib.el (diary-list-entries-hook)
14309 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14310 (diary-nongregorian-marking-hook, diary-list-entries)
14311 (diary-include-other-diary-files, diary-mark-entries)
14312 (diary-mark-included-diary-files): Doc fixes.
14313
84f29e6b
JB
143142011-05-09 Juanma Barranquero <lekktu@gmail.com>
14315
14316 * misc.el: Require tabulated-list.el during compilation.
14317
9bedd73a
CY
143182011-05-09 Chong Yidong <cyd@stupidchicken.com>
14319
488086f4
SM
14320 * progmodes/compile.el (compilation-start):
14321 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14322 (compilation-filter-hook): Doc fix.
14323
797c735c
DD
143242011-05-09 Deniz Dogan <deniz@dogan.se>
14325
14326 * wdired.el: Remove outdated installation comment. Fix usage
14327 comment.
14328
5f4b1dfe
JB
143292011-05-09 Juanma Barranquero <lekktu@gmail.com>
14330
14331 * misc.el: Implement new command `list-dynamic-libraries'.
14332 (list-dynamic-libraries--loaded-only-p): New variable.
14333 (list-dynamic-libraries--refresh): New function.
14334 (list-dynamic-libraries): New command.
14335
4c44026c
CY
143362011-05-09 Chong Yidong <cyd@stupidchicken.com>
14337
488086f4
SM
14338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14339 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14340 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14341 higher priority to avoid clobbering by gnu.
14342
027f966d
CY
143432011-05-08 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14346 if the face has existing theme settings (Bug#8454).
14347
085f5d7d
CY
143482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14349
488086f4
SM
14350 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14351 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14352
2a86a00c
RS
14353 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14354 special file names `.' and `..' (Bug#8259).
14355
d9c54a06
CY
143562011-05-08 Chong Yidong <cyd@stupidchicken.com>
14357
488086f4
SM
14358 * progmodes/grep.el (grep-mode-font-lock-keywords):
14359 Remove buffer-changing entries.
d9c54a06
CY
14360 (grep-filter): New function.
14361 (grep-mode): Add it to compilation-filter-hook.
14362
14363 * progmodes/compile.el (compilation-filter-hook)
14364 (compilation-filter-start): New defvars.
14365 (compilation-filter): Call compilation-filter-hook prior to
14366 updating the process mark.
14367
c4662635
SM
143682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14371
b0512a1d
EZ
143722011-05-07 Eli Zaretskii <eliz@gnu.org>
14373
605c9376
EZ
14374 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14375 mailclient-send-it even if window-system is nil. (Bug#8595)
14376
c4662635
SM
14377 * term/w32console.el (terminal-init-w32console):
14378 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14379 background-mode. (Bug#8597)
14380
d1dc2cc2
SM
143812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14382
14383 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14384 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14385 New functions.
14386 (defgeneric, eieio--defmethod): Use them.
14387 (eieio-defgeneric): Remove.
14388 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14389
915d1300
GM
143902011-05-07 Glenn Morris <rgm@gnu.org>
14391
a3961c3e
GM
14392 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14393 Use let rather than let*.
14394 (timeclock-find-discrep): Remove unused local.
14395
314347b9
GM
14396 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14397
915d1300
GM
14398 * calendar/appt.el (appt-time-msg-list): Doc fix.
14399
275b59b0
NF
144002011-05-06 Noah Friedman <friedman@splode.com>
14401
14402 * apropos.el (apropos-print-doc): Only use
14403 emacs-lisp-docstring-fill-column when it is bound to an integer,
14404 per that variable's documentation.
14405
6c19f744
SM
144062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14409 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14410
60f884b2
GM
144112011-05-06 Glenn Morris <rgm@gnu.org>
14412
5006e634
GM
14413 * calendar/appt.el (appt-message-warning-time): Doc fix.
14414 (appt-warning-time-regexp): New option.
14415 (appt-make-list): Respect appt-message-warning-time.
14416
548d0a63
GM
14417 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14418 New options.
14419 (diary-add-to-list): Strip comments from the displayed string.
14420 (diary-mode): Set comment-start and comment-end.
14421
60f884b2
GM
14422 * vc/diff-mode.el (smerge-refine-subst): Declare.
14423 (diff-refine-hunk): Don't require smerge-mode when compiling.
14424
989681bb
JB
144252011-05-06 Juanma Barranquero <lekktu@gmail.com>
14426
14427 * simple.el (list-processes): Return nil as the docstring says.
14428
a6bc05e1
MA
144292011-05-05 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14432 to "".
14433 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14434 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14435 determining of binary transfer. (Bug#7383)
14436
23c22e9a
MA
144372011-05-05 Michael Albinus <michael.albinus@gmx.de>
14438
c4662635
SM
14439 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14440 Fix port computation bug. (Bug#8618)
23c22e9a 14441
0bff894f
GM
144422011-05-05 Glenn Morris <rgm@gnu.org>
14443
b8296902
GM
14444 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14445
1f522ce8
GM
14446 * simple.el (shell-dynamic-complete-functions)
14447 (comint-dynamic-complete-functions): Declare.
14448
cf5bee67
GM
14449 * net/network-stream.el (gnutls-negotiate):
14450 * simple.el (tabulated-list-print): Fix declarations.
14451
14452 * progmodes/gud.el (syntax-symbol, syntax-point):
14453 Remove unnecessary and incorrect declarations.
14454
0bff894f
GM
14455 * emacs-lisp/check-declare.el (check-declare-scan):
14456 Handle byte-compile-initial-macro-environment in bytecomp.el
14457
9869b3ae
SM
144582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14459
14460 Fix earlier half-done eieio-defmethod change (bug#8338).
14461 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14462 Streamline and change calling convention.
14463 (defmethod): Adjust accordingly and simplify.
14464 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14465 new eieio--defmethod.
14466 (slot-boundp): Minor CSE simplification.
14467
9c1d5ac5
MZ
144682011-05-05 Milan Zamazal <pdm@zamazal.org>
14469
14470 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14471 (glasses-make-readable): Use glasses-separate-capital-groups.
14472
455c834e
JB
144732011-05-05 Juanma Barranquero <lekktu@gmail.com>
14474
14475 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14476 (warning-series): Doc fix.
14477 (display-warning): Don't try to create the buffer if we just found it.
14478
9ed7c8cb
CY
144792011-05-04 Chong Yidong <cyd@stupidchicken.com>
14480
14481 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14482 (autoload-find-generated-file): New function.
14483 (generate-file-autoloads): Bind generated-autoload-file to
14484 buffer-file-name.
9869b3ae
SM
14485 (update-file-autoloads, update-directory-autoloads):
14486 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14487 output file (Bug#7989).
14488 (batch-update-autoloads): Doc fix.
14489
0898ca10
JB
144902011-05-04 Juanma Barranquero <lekktu@gmail.com>
14491
14492 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14493
31dfb76c
GM
144942011-05-04 Glenn Morris <rgm@gnu.org>
14495
f330b642
GM
14496 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14497 function, so it follows changes in calendar-date-style.
14498 (diary-fancy-date-matcher): New function.
14499 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14500 (diary-fancy-font-lock-fontify-region-function):
14501 Use diary-fancy-date-pattern as a function.
14502
31dfb76c
GM
14503 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14504 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14505
48e79d6a
TZ
145062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14507
14508 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14509 instead of positional arguments. Allow :keylist and :crlfiles
14510 arguments.
14511 (open-gnutls-stream): Call it.
14512
14513 * net/network-stream.el (network-stream-open-starttls): Adjust to
14514 call `gnutls-negotiate' with :process and :hostname arguments.
14515
dd5a5ee0
SM
145162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14517
ef80fc09
SM
14518 * minibuffer.el (completion--message): New function.
14519 (completion--do-completion, minibuffer-complete)
14520 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14521 (completion--do-completion): Don't ignore completion-auto-help when in
14522 icomplete-mode.
14523
dd5a5ee0
SM
14524 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14525 internal encoding (e.g. tibetan zero is not whitespace).
14526 (global-whitespace-mode): Prefer save-current-buffer.
14527 (whitespace-trailing-regexp): Remove useless save-match-data.
14528 (whitespace-empty-at-bob-regexp): Minor simplification.
14529
b7d22a83
CY
145302011-05-03 Chong Yidong <cyd@stupidchicken.com>
14531
14532 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14533
5192af46
AM
145342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14535
14536 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14537 Use `concat' to create string for insertion.
5192af46 14538
5767d190
SM
145392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14542 Avoid open-line which runs post-self-insert-hook.
14543 (bibtex-fill-entry): Remove unused `end' var.
14544
bf242939
AM
145452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14546
5767d190
SM
14547 * textmodes/ispell.el (ispell-add-per-file-word-list):
14548 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14549
25666126
LL
145502011-05-03 Leo Liu <sdl.web@gmail.com>
14551
14552 * isearch.el (isearch-yank-pop): New command.
5767d190 14553 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14554 (isearch-forward): Mention it.
14555
52d3c2d0
SM
145562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14557
1bcace58
SM
14558 * simple.el (minibuffer-complete-shell-command): Remove.
14559 (minibuffer-local-shell-command-map): Use completion-at-point.
14560 (read-shell-command): Setup completion vars here instead.
14561 (read-expression-map): Bind TAB to symbol completion.
14562
52d3c2d0
SM
14563 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14564 error directly rather via storing it into `results'.
14565
35813471
LL
145662011-05-02 Leo Liu <sdl.web@gmail.com>
14567
14568 * vc/diff.el: Fix description.
14569
e793a940
LMI
145702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14571
14572 * server.el (server-eval-at): New function.
14573
8de66e05
LMI
145742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14575
14576 * net/network-stream.el (open-network-stream): Take a :nowait
14577 parameter and pass it on to `make-network-process'.
14578 (network-stream-open-plain): Ditto.
14579
dcb79f20
AS
145802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14581
14582 * faces.el (face-spec-set-match-display): Don't match toolkit
14583 options on terminal frames.
14584
14a7fbd8
SM
145852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14586
7eabc1be
SM
14587 * progmodes/pascal.el: Use lexical binding.
14588 (pascal-mode-map): Remove author preferences.
14589
14a7fbd8
SM
14590 * pcomplete.el (pcomplete-std-complete): Don't abuse
14591 completion-at-point.
14592
50f84510
JB
145932011-04-28 Juanma Barranquero <lekktu@gmail.com>
14594
6e087a44
JB
14595 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14596 removing code that has been dead since 1991 or so.
14597
50f84510
JB
14598 * startup.el (command-line): When warning about "_emacs", use a
14599 delayed warning to allow the user to filter it out.
14600
0ba690bd
DD
146012011-04-28 Deniz Dogan <deniz@dogan.se>
14602
14603 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14604 user has not joined.
14605
08abfaad
SM
146062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14609 aren't any completions at point.
14610
638f053a
JB
146112011-04-28 Juanma Barranquero <lekktu@gmail.com>
14612
14613 * subr.el (display-delayed-warnings): New function.
14614 (delayed-warnings-hook): New variable.
14615
8fff8daa
SM
146162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14617
08abfaad
SM
14618 * minibuffer.el (completion-at-point, completion-help-at-point):
14619 Don't presume that a given completion-at-point-function will always
14620 use the same calling convention.
14621
8fff8daa
SM
14622 * pcomplete.el (pcomplete-completions-at-point):
14623 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14624 pcomplete-seen is non-nil.
14625 (pcomplete-comint-setup): Also recognize the new comint/shell
14626 completion functions.
14627 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14628 pcomplete-seen is non-nil.
14629
841a1577 146302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14631
841a1577 14632 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14633 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14634 the first character in the entry. This allows for code to add its
211ec907
UJ
14635 own uid to the entry.
14636 (icalendar--convert-float-to-ical): Add export of
14637 `diary-float'-entries save for those with the optional DAY
14638 argument.
14639
2a782793
DC
146402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14641
14642 * subr.el (shell-quote-argument): Use alternate escaping strategy
14643 when we spot a variable reference in a string.
14644
0438ce91
DC
146452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14646
14647 * cus-start.el (all): Define customization for debug-on-event.
14648
841a1577 146492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14650
14651 * subr.el (shell-quote-argument): Escape correctly under Windows.
14652
d090ed6c
SM
146532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14654
14655 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14656
bfd31217
MA
146572011-04-25 Michael Albinus <michael.albinus@gmx.de>
14658
d090ed6c
SM
14659 * net/tramp.el (tramp-process-actions): Add POS argument.
14660 Delete region between POS and (pos).
bfd31217 14661
d090ed6c
SM
14662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14663 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14664 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14665
14666 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14667 position in `tramp-process-actions' call.
14668
14669 * net/trampver.el: Update release number.
14670
e92f3bd3
SM
146712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14672
850256b5
SM
14673 * custom.el (defcustom): Obey lexical-binding.
14674
e92f3bd3
SM
14675 Fix octave-inf completion problems reported by Alexander Klimov.
14676 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14677 Inherit from octave-mode-syntax-table.
14678 (inferior-octave-mode): Set info-lookup-mode.
14679 (inferior-octave-completion-at-point): New function.
14680 (inferior-octave-complete): Use it and completion-in-region.
14681 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14682 comint-filename-completion.
14683 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14684 symbol elements which shouldn't be word elements.
14685 (octave-font-lock-keywords, octave-beginning-of-defun)
14686 (octave-function-header-regexp): Adjust regexps accordingly.
14687 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14688
cd22b309
JB
146892011-04-25 Juanma Barranquero <lekktu@gmail.com>
14690
14691 * net/gnutls.el (gnutls-errorp): Declare before first use.
14692
8b492194
TZ
146932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14694
14695 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14696 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14697 default trustfile exists before going to use it. Add missing
5a5fa834 14698 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14699 Reported by Claudio Bley <claudio.bley@gmail.com>.
14700 (open-gnutls-stream): Add usage example.
14701
14702 * net/network-stream.el (network-stream-open-starttls): Give host
14703 parameter to `gnutls-negotiate'.
14704 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14705 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14706
841a1577 147072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14708
cd22b309
JB
14709 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14710 Use correct match group (bug#8438).
05842630 14711
3ba7869c
CY
147122011-04-24 Chong Yidong <cyd@stupidchicken.com>
14713
512e3ae1
CY
14714 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14715 (package-menu--generate): New arg specifying packages to show.
14716 (package-menu-refresh, package-menu-execute, list-packages):
14717 Callers changed.
14718 (package-show-package-list): New function, replacing deleted
14719 package--list-packages (renamed because it is non-internal).
14720
14721 * finder.el (finder-list-matches): Use package-show-package-list
14722 instead of deleted package--list-packages.
14723
e92f3bd3
SM
14724 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14725 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14726 (vc-annotate-mode-map): Bind it to RET.
14727
7031be6d
UR
147282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14729
14730 * progmodes/etags.el (next-file): Don't use set-buffer to change
14731 buffers (Bug#8478).
14732
4ef177aa
CY
147332011-04-24 Chong Yidong <cyd@stupidchicken.com>
14734
c8d173eb
CY
14735 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14736
4ef177aa
CY
14737 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14738 (apropos-accumulator): Doc fix.
14739 (apropos-function, apropos-macro, apropos-command)
14740 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14741 (apropos-plist): Add face property.
14742 (apropos-symbols-internal): Fix indentation.
14743 (apropos-print): Simplify help, and recognize apropos-multi-type.
14744 (apropos-print-doc): Use button-type-get to extract the button's
14745 face property. Fill docstring (Bug#8352).
14746
4ffd0d6b 147472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14748
14749 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14750
c6c32125 14751 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14752 (mpuz-mode-map): Use mapc.
c6c32125
JB
14753 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14754 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14755 Fix typos in docstrings.
14756
58d468b4
JB
14757 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14758 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14759
6470c3c6
JB
14760 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14761
4ffd0d6b 147622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14763
14764 * minibuffer.el (completion--do-completion): Avoid the "Next char
14765 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14766
3ad8bad0
CY
14767 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14768 mouse-2 into unread-command-events, it is interpreted correctly.
14769
71d73c9c 14770 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14771 (image-toggle-display): Doc fix.
71d73c9c 14772
841a1577 147732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14774
4ffd0d6b
GM
14775 * textmodes/page.el (what-page): Use line-number-at-pos to
14776 calculate line number (Bug#6825).
6e1dbaa9 14777
c2fb1b60
JB
147782011-04-22 Juanma Barranquero <lekktu@gmail.com>
14779
14780 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14781 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14782 Pass argument NO-DEFAULT to `find-tag-interactive'.
14783
e02f48d7
JB
147842011-04-22 Juanma Barranquero <lekktu@gmail.com>
14785
14786 Lexical-binding cleanup.
14787
14788 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14789 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14790 * progmodes/ada-prj.el (ada-prj-initialize-values)
14791 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14792 (ada-prj-show-value):
14793 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14794 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14795 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14796 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14797 * progmodes/bug-reference.el (bug-reference-push-button):
14798 * progmodes/fortran.el (fortran-line-length):
14799 * progmodes/glasses.el (glasses-change):
14800 * progmodes/octave-mod.el (octave-fill-paragraph):
14801 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14802 (python-pdbtrack-grub-for-buffer, python-sentinel):
14803 * progmodes/sql.el (sql-save-connection):
14804 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14805 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14806 Mark unused parameters.
14807
14808 * progmodes/compile.el (compilation--flush-directory-cache)
14809 (compilation--flush-parse, compile-internal): Mark unused parameters.
14810 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14811 (compilation-next-error-function): Remove unused variable `timestamp'.
14812
14813 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14814 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14815
14816 * progmodes/dcl-mode.el (dcl-end-of-command):
14817 Remove unused variable `start'.
14818 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14819 (dcl-option-value-basic, dcl-option-value-offset)
14820 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14821 Mark unused parameters.
14822 (dcl-save-local-variable): Remove unused variable `val'.
14823 (mode): Declare.
14824
14825 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14826 Mark unused parameters.
14827 (delphi-ignore-changes): Move before first use.
14828 (delphi-charset-token-at): Remove unused variable `start'.
14829 (delphi-else-start): Remove unused variable `if-count'.
14830 (delphi-comment-block-start, delphi-comment-block-end):
14831 Remove unused variable `kind'.
14832 (delphi-indent-line): Remove unused variable `new-point'.
14833
14834 * progmodes/ebrowse.el (ebrowse-files-list)
14835 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14836 Mark unused parameters. Don't quote `lambda'.
14837 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14838 Don't quote `lambda'.
14839 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14840 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14841 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14842 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14843 Use `ignore-errors'.
14844 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14845 (ebrowse-view/find-file-and-search-pattern)
14846 (ebrowse-view/find-member-declaration/definition):
14847 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14848 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14849 Rename parameter PREFIX-ARG to PREFIX.
14850 (ebrowse-tags-read-name): Remove unused variables `start' and
14851 `member-info'.
14852 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14853 to `tags-file'.
14854
14855 * progmodes/etags.el (local-find-tag-hook): Declare.
14856 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14857 Mark unused parameters.
14858
14859 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14860 (executable-interpret): Mark unused parameter.
14861
14862 * progmodes/flymake.el (flymake-process-sentinel)
14863 (flymake-after-change-function)
14864 (flymake-create-temp-with-folder-structure)
14865 (flymake-get-include-dirs-dot): Mark unused parameters.
14866 (flymake-safe-delete-directory): Remove unused variable `err'.
14867
14868 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14869 (speedbar-timer-fn, speedbar-line-text)
14870 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14871 (speedbar-center-buffer-smartly): Declare functions.
14872 (gdb-find-watch-expression): Remove unused variable `array'.
14873 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14874 (gdb-starting): Mark unused parameters.
14875 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14876 (gdb-table-string): Remove unused variable `res'.
14877 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14878 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14879 (gdb-display-buffer): Remove unused variable `cur-size'.
14880
14881 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14882 allow lexical-binding compilation.
14883 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14884 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14885 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14886 Mark unused parameters.
14887 (gud-gdb-marker-filter): Remove unused variable `match'.
14888 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14889 lambda expressions and funcall them, instead of using `fset'.
14890
14891 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14892 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14893
14894 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14895 variable `header-beg'; use `let'.
14896
14897 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14898 `restart', `last-sexp' and `at-do'.
14899
14900 * progmodes/js.el (js--debug): Mark unused parameter.
14901 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14902 (js--splice-into-items): Remove unused variable `item'.
14903 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14904
14905 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14906 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14907 (makefile-complete): Remove unused variable `try'.
14908 (makefile-fill-paragraph, makefile-match-function-end):
14909 Mark unused parameters.
14910
14911 * progmodes/octave-inf.el (inferior-octave-complete):
14912 Remove unused variable `proc'.
14913 (inferior-octave-output-digest): Mark unused parameter.
14914
14915 * progmodes/perl-mode.el (perl-calculate-indent):
14916 Remove unused variable `err'.
14917
14918 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14919 (prolog-indent-line): Mark unused parameters.
14920 (prolog-indent-line): Remove unused variable `beg'.
14921
14922 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14923 (reporter-dont-compact-list): Declare.
14924
14925 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14926 Remove unused variable `char'.
14927 (sh-debug): Mark unused parameter.
14928 (sh-get-indent-info): Remove unused variable `start'.
14929 (sh-calculate-indent): Remove unused variable `var'.
14930
14931 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14932 (simula-electric-keyword): Remove unused variable `null'.
14933 (simula-search-backward, simula-search-forward): Remove unused
14934 variables `begin' and `end'.
14935
14936 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14937 Remove unused variable `pos'.
14938 (vera-electric-tab, vera-comment-uncomment-region):
14939 Mark unused parameters.
14940 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14941
7ede3b65
CY
149422011-04-22 Chong Yidong <cyd@stupidchicken.com>
14943
14944 * emacs-lisp/package.el (package--builtins, package-alist)
14945 (package-load-descriptor, package-built-in-p, package-activate)
14946 (define-package, package-installed-p)
14947 (package-compute-transaction, package-buffer-info)
14948 (package--push): Doc fix. Distinguish more clearly between
14949 version strings and version lists.
14950
121656e9
JB
149512011-04-21 Juanma Barranquero <lekktu@gmail.com>
14952
14953 Lexical-binding cleanup.
14954
14955 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14956 (5x5-make-mutate-best):
14957 * play/fortune.el (fortune-in-buffer):
14958 * play/gomoku.el (gomoku-init-display):
14959 * play/solitaire.el (solitaire, solitaire-do-check):
14960 * play/tetris.el (tetris-default-update-speed-function):
14961 Mark unused parameters.
14962
14963 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14964 (bubbles--shift): Remove unused variable `char-org'.
14965 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14966 (bubbles--show-images): Remove unused variable `char'.
14967
14968 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14969 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14970 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14971 (decipher-analyze-buffer): Use ?\s.
14972 (decipher-make-checkpoint): Remove unused variable `mapping'.
14973
14974 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14975
14976 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14977 Remove unused variable `result'; use `let'.
14978
14979 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14980 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14981 (gametree-children-shown-p, gametree-compute-reduced-score):
14982 Use `ignore-errors'.
14983
14984 * play/handwrite.el (ps-lpr-switches): Declare.
14985 (handwrite): Remove unused variables `pmin' and `lastp'.
14986
14987 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14988
14989 * play/landmark.el (landmark-init-display)
14990 (landmark-update-naught-weights): Mark unused parameters.
14991 (landmark-y): Remove unused variable `noise'. Simplify.
14992 (landmark-human-plays): Remove unused variable `score'.
14993
14994 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14995 (mpuz-try-proposal): Remove unused variable `game'.
14996
14997 * play/zone.el (life-patterns): Declare.
14998
80f499c7
JB
149992011-04-20 Juanma Barranquero <lekktu@gmail.com>
15000
15001 * vc/vc.el (ediff-vc-internal): Declare function.
15002
024ff170
SM
150032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15004
c0a193ea
SM
15005 * shell.el: Use lexical-binding and std completion UI.
15006 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15007 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15008 comint-preoutput-filter-functions rather than on
15009 comint-output-filter-functions.
15010 (shell-command-completion, shell--command-completion-data)
15011 (shell-filename-completion, shell-environment-variable-completion)
15012 (shell-c-a-p-replace-by-expanded-directory): New functions.
15013 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15014 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15015 (shell-dynamic-complete-environment-variable): Use them.
15016 (shell-dynamic-complete-as-environment-variable)
15017 (shell-dynamic-complete-as-command): Remove.
15018 (shell-match-partial-variable): Match past point.
15019 * comint.el: Clean up use of completion-at-point-functions.
15020 (comint-completion-at-point): New function.
15021 (comint-mode): Use it completion-at-point-functions.
15022 (comint-dynamic-complete): Make it obsolete.
15023 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15024 (comint-c-a-p-replace-by-expanded-history): New function.
15025 (comint-dynamic-complete-functions)
15026 (comint-replace-by-expanded-history): Use it.
15027 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15028 termination strings. Try harder to avoid second try-completion.
15029 (completion-in-region-mode-map): Disable bindings that don't work yet.
15030
2dbaa080
SM
15031 * comint.el: Use lexical-binding. Require CL.
15032 (comint-dynamic-complete-functions): Use comint-filename-completion.
15033 (comint-completion-addsuffix): Tweak custom type.
15034 (comint-filename-completion, comint--common-suffix)
15035 (comint--common-quoted-suffix, comint--table-subvert)
15036 (comint--complete-file-name-data): New functions.
15037 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15038 (comint-dynamic-list-filename-completions): Use them.
15039 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15040
2dbaa080
SM
15041 * minibuffer.el (completion-in-region-mode):
15042 Keep completion-in-region-mode--predicate global.
15043 (completion-in-region--postch):
15044 Assume completion-in-region-mode--predicate is not null.
15045
c79a6f38
SM
15046 * progmodes/flymake.el (flymake-start-syntax-check-process):
15047 Obey `dir'. Simplify.
15048
024ff170
SM
15049 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15050 we're in VC after all.
15051
1c6c854e
CS
150522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15053
15054 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15055 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15056 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15057
bed7f140
SM
150582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15059
332e62ab
SM
15060 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15061 add sanity check.
15062
bed7f140
SM
15063 * obsolete/erc-hecomplete.el: Make obsolete.
15064 * obsolete/: Standardize obsolescence info in the header.
15065
f195c582
GM
150662011-04-20 Glenn Morris <rgm@gnu.org>
15067
15068 * calendar/solar.el (solar-horizontal-coordinates):
15069 Use the longitude argument rather than `calendar-longitude'.
15070 (solar-date-next-longitude): Remove unused locals.
15071
cb79b8c0
VJL
150722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15073
15074 * whitespace.el: New version 13.2.1.
15075
150762011-04-20 felix <EmacsWiki> (tiny change)
15077
d8e4b68b 15078 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15079 switching between major modes on a file.
15080
602ea69d
SM
150812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15084 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15085 multi-line comments as well.
15086
06b60517
JB
150872011-04-19 Juanma Barranquero <lekktu@gmail.com>
15088
15089 Lexical-binding cleanup.
15090
15091 * arc-mode.el (archive-mode-revert):
15092 * cmuscheme.el (scheme-interactively-start-process):
15093 * custom.el (custom-initialize-delay):
15094 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15095 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15096 * emacs-lock.el (emacs-lock-clear-sentinel):
15097 * ezimage.el (defezimage):
15098 * follow.el (follow-avoid-tail-recenter):
15099 * fringe.el (set-fringe-mode-1):
15100 * generic-x.el (bat-generic-mode-compile):
15101 * help-mode.el (help-info-variable, help-do-xref)
15102 (help-mode-revert-buffer):
15103 * help.el (view-emacs-todo):
15104 * iswitchb.el (iswitchb-completion-help):
15105 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15106 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15107 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15108 * locate.el (locate-update):
15109 * longlines.el (longlines-encode-region)
15110 (longlines-after-change-function):
15111 * outline.el (outline-isearch-open-invisible):
15112 * ps-def.el (declare-function, charset-dimension, char-width)
15113 (encode-char):
15114 * ps-mule.el (ps-mule-plot-string):
15115 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15116 (recentf-edit-list-select, recentf-edit-list-validate)
15117 (recentf-open-files-action):
15118 * rect.el (delete-whitespace-rectangle-line)
15119 (rectangle-number-line-callback):
15120 * register.el (window-configuration-to-register)
15121 (frame-configuration-to-register):
15122 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15123 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15124 (xselect-convert-to-targets, xselect-convert-to-delete)
15125 (xselect-convert-to-filename, xselect-convert-to-charpos)
15126 (xselect-convert-to-lineno, xselect-convert-to-colno)
15127 (xselect-convert-to-os, xselect-convert-to-host)
15128 (xselect-convert-to-user, xselect-convert-to-class)
15129 (xselect-convert-to-name, xselect-convert-to-integer)
15130 (xselect-convert-to-atom, xselect-convert-to-identity):
15131 * subr.el (declare, ignore, process-kill-without-query)
15132 (text-clone-maintain):
15133 * terminal.el (te-get-char, te-tic-sentinel):
15134 * tool-bar.el (tool-bar-make-keymap):
15135 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15136 * type-break.el (type-break-mode, type-break-noninteractive-query):
15137 * view.el (View-back-to-mark):
15138 * wid-browse.el (widget-browse-action, widget-browse-widget)
15139 (widget-browse-widgets, widget-browse-sexp):
15140 * widget.el (define-widget-keywords):
15141 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15142 Mark unused parameters.
15143
15144 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15145 (align-areas): Remove unused variable `look'.
15146 (align-region): Remove unused variables `real-end' and `pos-list'.
15147
15148 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15149
15150 * bindings.el (mode-line-modified, mode-line-remote):
15151 Mark unused parameters.
15152 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15153
15154 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15155 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15156
15157 * comint.el (comint-history-isearch-pop-state)
15158 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15159 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15160 (comint-substitute-in-file-name): Doc fix.
15161
15162 * completion.el (cmpl-statistics-block): Mark unused parameter.
15163 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15164 (save-completions-to-file, load-completions-from-file):
15165 Remove unused local variable `e'.
15166
15167 * composite.el (compose-chars): Remove unused variable `len'.
15168 (lgstring-insert-glyph): Remove unused variable `g'.
15169 (compose-glyph-string): Remove unused variables `ascent',
15170 `descent', `lbearing' and `rbearing'.
15171 (compose-glyph-string-relative): Remove unused variables
15172 `lbearing', `rbearing' and `wadjust'.
15173 (compose-gstring-for-graphic): Remove unused variables `header',
15174 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15175 (compose-gstring-for-terminal): Remove unused variables `header'
15176 and `nchars'. Use `let', not `let*'.
15177
15178 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15179 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15180 (Custom-buffer-done, custom-buffer-create-internal)
15181 (custom-browse-visibility-action, custom-browse-group-tag-action)
15182 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15183 (widget-magic-mouse-down-action, custom-toggle-parent)
15184 (custom-add-parent-links, custom-toggle-hide-variable)
15185 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15186 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15187 (custom-face-menu-create, custom-variable-menu-create, get)
15188 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15189 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15190 (customize-apropos): Remove unused variable `tests'.
15191 (custom-group-value-create): Remove unused variable `hidden-p'.
15192 (sort-fold-case): Declare.
15193
15194 * cus-theme.el (custom-reset-standard-faces-list)
15195 (custom-reset-standard-variables-list): Declare.
15196 (customize-create-theme, custom-theme-revert, custom-theme-write)
15197 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15198 Mark unused parameters.
15199
15200 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15201
15202 * delim-col.el (delimit-columns-max): Move defvar before first use.
15203
15204 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15205 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15206
15207 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15208 (auto-insert): Declare.
15209 (desktop-restore-file-buffer): Rename desktop-* parameters;
15210 mark unused ones.
15211 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15212 (desktop-buffer): Rename desktop-* parameters.
15213
15214 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15215 (dframe-reposition-frame-xemacs, dframe-help-echo)
15216 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15217 Mark unused parameters.
15218
15219 * dired-aux.el (backup-extract-version-start, overwrite-query)
15220 (overwrite-backup-query, rename-regexp-query)
15221 (rename-non-directory-query): Declare.
15222 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15223 (dired-add-entry): Remove unused variable `orig-file-name'.
15224 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15225 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15226 `dired-copy-preserve-time' directly.
15227 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15228 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15229
15230 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15231 (dired-virtual-revert, dired-make-relative-symlink):
15232 Mark unused parameters.
15233 (manual-program): Declare.
15234 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15235 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15236 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15237
15238 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15239
15240 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15241
15242 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15243 Declare.
15244
15245 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15246
15247 * electric.el (Electric-command-loop): Rename parameter
15248 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15249
15250 * expand.el (expand-in-literal): Remove unused variable `here'.
15251
15252 * facemenu.el (facemenu-add-new-color):
15253 Remove unused variable `docstring'.
15254
15255 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15256 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15257 (face-attr-construct): Mark unused parameter. Doc fix.
15258 (read-color): Remove unused variable `hex-string'.
15259
15260 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15261 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15262 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15263 (display-buffer-other-frame): Remove unused variable `old-window'.
15264 (kill-buffer-hook): Declare.
15265 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15266 Mark unused parameters.
15267 (after-find-file): Pass 1 to `auto-save-mode', not t.
15268
15269 * files-x.el (auto-insert): Declare.
15270 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15271
15272 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15273 variable `buf'. Mark unused parameter.
06b60517
JB
15274 (find-lisp-insert-directory): Mark unused parameter.
15275
15276 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15277 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15278 (format-common-tail): Remove, unused.
15279 (format-deannotate-region): Remove unused variable `loc'.
15280 (format-annotate-region): Remove unused variable `p'.
15281 (format-annotate-single-property-change): Remove unused variables
15282 `default' and `tail'.
15283
15284 * forms.el (read-file-filter): Declare.
15285 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15286
15287 * frame.el (frame-creation-function-alist): Mark unused parameter.
15288 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15289
15290 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15291 Remove unused parameters.
15292 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15293 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15294
15295 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15296 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15297 (hfy-prepare-tag-map): Mark unused parameters.
15298 (htmlfontify-buffer): Use `called-interactively-p'.
15299
15300 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15301 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15302 (ibuffer-do-occur): Mark unused parameters.
15303 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15304 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15305
15306 * ibuffer.el: Don't quote `lambda'.
15307 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15308 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15309 Mark unused parameters.
15310
15311 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15312 (ido-completing-read): Mark unused parameters.
15313 (ido-copy-current-word): Mark unused parameters;
15314 remove unused variable `name'.
15315 (ido-sort-merged-list): Remove unused parameter `dirs'.
15316
15317 * ielm.el (ielm-input-sender): Mark unused parameter.
15318 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15319 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15320 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15321 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15322 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15323
15324 * image-dired.el (image-dired-display-thumbs): Remove unused
15325 variables `curr-file' and `count'.
15326 (image-dired-remove-tag): Remove unused variable `start'.
15327 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15328 variable `curr-file'
15329 (image-dired-rotate-original): Remove unused variable `temp-file'.
15330 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15331 Remove unused variable `file'.
15332 (image-dired-gallery-generate): Remove unused variable `curr'.
15333 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15334
15335 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15336
15337 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15338
15339 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15340
15341 * isearch.el (minibuffer-history-symbol): Declare.
15342 (isearch-edit-string): Remove unused variable `err'.
15343 (isearch-message-prefix, isearch-message-suffix):
15344 Mark unused parameters.
15345
15346 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15347
15348 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15349
15350 * makesum.el (double-column): Remove unused variable `cnt'.
15351
15352 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15353 (ido-ignore-item-temp-list): Declare.
15354
15355 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15356 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15357 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15358 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15359 `mouse-col-delta'.
15360
15361 * mouse-sel.el (mouse-extend-internal):
15362 Remove unused variable `orig-window-frame'.
15363
15364 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15365 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15366 Move declarations before first use.
15367 (pcomplete-opt): Mark unused parameters; doc fix.
15368
15369 * proced.el (proced-revert): Mark unused parameter.
15370 (proced-send-signal): Remove unused variable `err'.
15371
15372 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15373 Rename parameter PREFIX-ARG to ARG.
15374 (ps-basic-plot-string, ps-basic-plot-whitespace):
15375 Mark unused parameters.
15376
15377 * replace.el (replace-count): Define.
15378 (occur-revert-function): Mark unused parameters.
15379 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15380 (isearch-case-fold-search, isearch-string): Declare.
15381 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15382 bind `case-fold-search'. Remove unused variables `beg' and `end',
15383 and simplify.
15384 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15385 COUNT and bind `replace-count'.
15386 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15387 to COUNT.
15388
15389 * savehist.el (print-readably, print-string-length): Declare.
15390
15391 * shadowfile.el (shadow-expand-cluster-in-file-name):
15392 Remove unused variable `cluster'.
15393 (shadow-copy-file): Remove unused variable `i'.
15394 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15395 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15396 (shadow-define-literal-group, shadow-define-regexp-group)
15397 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15398
15399 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15400 (shell): Use `called-interactively-p'.
15401 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15402
15403 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15404 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15405 (delete-backward-char): Remove unused variable `ocol'.
15406 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15407 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15408 (event-apply-hyper-modifier, event-apply-shift-modifier)
15409 (event-apply-control-modifier, event-apply-meta-modifier):
15410 Mark unused parameters.
15411 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15412 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15413
15414 * speedbar.el (speedbar-ignored-directory-expressions)
15415 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15416 (speedbar-find-file, speedbar-dir-follow)
15417 (speedbar-directory-buttons-follow, speedbar-tag-find)
15418 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15419 (speedbar-buffers-line-directory, speedbar-buffer-click):
15420 Mark unused parameters.
15421 (speedbar-tag-file): Remove unused variable `mode'.
15422 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15423
15424 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15425
15426 * talk.el (talk): Remove unused variable `display'.
15427
15428 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15429 (tar-write-region-annotate): Mark unused parameter.
15430
15431 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15432 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15433 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15434 warning by another.
15435
15436 * time-stamp.el (time-stamp-string-preprocess):
15437 Remove unused variable `require-padding'.
15438
15439 * tree-widget.el (widget-glyph-enable): Declare.
15440 (tree-widget-action): Mark unused parameter.
15441
15442 * w32-fns.el (x-get-selection): Mark unused parameter.
15443 (autoload-make-program, generated-autoload-file): Declare.
15444
15445 * wdired.el (wdired-revert): Mark unused parameters.
15446 (wdired-xcase-word): Remove unused variable `err'.
15447
15448 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15449 (whitespace-help-scroll): Remove unused variable `data-help'.
15450
15451 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15452 (widget-image-insert, widget-after-change, default)
15453 (widget-default-format-handler, widget-default-notify)
15454 (widget-default-prompt-value, widget-info-link-action)
15455 (widget-url-link-action, widget-function-link-action)
15456 (widget-variable-link-action, widget-file-link-action)
15457 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15458 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15459 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15460 (widget-insert-button-action, widget-delete-button-action, visibility)
15461 (widget-documentation-link-action, widget-documentation-string-action)
15462 (widget-const-prompt-value, widget-regexp-match, symbol)
15463 (widget-coding-system-prompt-value)
15464 (widget-key-sequence-value-to-external, sexp)
15465 (widget-sexp-value-to-internal, character, vector, cons)
15466 (widget-choice-prompt-value, widget-boolean-prompt-value)
15467 (widget-color--choose-action): Mark unused parameters.
15468 (widget-item-match-inline, widget-choice-match-inline)
15469 (widget-checklist-match, widget-checklist-match-inline)
15470 (widget-group-match): Rename parameter VALUES to VALS.
15471 (widget-field-value-set): Remove unused variable `size'.
15472 (widget-color-action): Remove unused variables `value' and `start'.
15473
15474 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15475 variable `dir'. Doc fix.
06b60517
JB
15476 (windmove-find-other-window): Don't pass it.
15477
15478 * window.el (count-windows): Mark unused parameter.
15479 (bw-adjust-window): Remove unused variable `err'.
15480
15481 * woman.el (woman-file-name): Remove unused variable `default'.
15482 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15483 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15484 (global-font-lock-mode): Declare.
15485 (woman-decode-region): Mark unused parameter.
15486 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15487
15488 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15489 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15490 (x-dnd-handle-moz-url): Remove unused variable `title'.
15491 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15492
15493 * xml.el (xml-parse-tag, xml-parse-attlist):
15494 Remove unused variable `pos'.
15495
bc4f7f3d
GM
154962011-04-19 Glenn Morris <rgm@gnu.org>
15497
15498 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15499 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15500 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15501 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15502 * calendar/cal-html.el (cal-html-insert-minical):
15503 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15504 (calendar-mark-date-pattern):
15505 Prefix "unused" locals.
15506
15507 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15508 optional argument `style'.
15509
15510 * calendar/appt.el (appt-make-list):
15511 * calendar/cal-china.el (calendar-chinese-date-string):
15512 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15513 (diary-hebrew-yahrzeit):
15514 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15515 * calendar/calendar.el (calendar-generate-window):
15516 * calendar/time-date.el (time-to-days):
15517 Remove unused local variables.
15518
16a43933
CY
155192011-04-18 Chong Yidong <cyd@stupidchicken.com>
15520
15521 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15522 glyphless-char-display table.
15523 (tabulated-list-glyphless-char-display): New var.
15524
7eed1860
SS
155252011-04-18 Sam Steingold <sds@gnu.org>
15526
15527 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15528 to acknowledgments.
15529
4d2d1ccd
GM
155302011-04-17 Glenn Morris <rgm@gnu.org>
15531
15532 * calendar/diary-lib.el (diary-sexp-entry):
15533 * calendar/holidays.el (holiday-sexp):
15534 Set debug-on-error rather than the removed stack-trace-on-error.
15535
239da61d
GM
155362011-04-16 Glenn Morris <rgm@gnu.org>
15537
15538 * progmodes/f90.el: Use lexical-binding.
15539 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15540
8b05752a
SM
155412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15542
daca8ba5
SM
15543 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15544 (mail-mode): Setup mailalias completion here instead.
15545 * mail/mailalias.el: Use lexical-binding.
15546 (pattern, mailalias-done): Declare dynamic.
15547 (mail-completion-at-point-function): New function, from mail-complete.
15548 (mail-complete): Use it.
15549 (mail-completion-expand): New function.
15550 (mail-get-names): Use it.
15551 (mail-directory, mail-directory-process, mail-directory-stream):
15552 Don't use `pattern' for lexically bound arg.
15553
6f542485
SM
15554 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15555
037e7c3f
SM
15556 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15557 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15558 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15559
8b05752a
SM
15560 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15561 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15562 (byte-interactive-p): Define them again, for use when inlining
15563 old code.
15564
49093f60
JB
155652011-04-15 Juanma Barranquero <lekktu@gmail.com>
15566
15567 * loadup.el: Use `string-to-number', not `string-to-int'.
15568
b5b8e7de
SM
155692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15572 gud-gdb-complete-command.
15573 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15574 (gud-gdb-completion-at-point): New function.
15575 (gud-gdb-completions): Remove.
15576
f42efeb5
MA
155772011-04-14 Michael Albinus <michael.albinus@gmx.de>
15578
49093f60
JB
15579 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15580 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15581 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15582 whether `executable-find' is bound.
f42efeb5
MA
15583
15584 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15585
e240cc21
SM
155862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * minibuffer.el (completion-in-region-mode-predicate)
15589 (completion-in-region-mode--predicate): New vars.
15590 (completion-in-region, completion-in-region--postch)
15591 (completion-in-region-mode): Use them.
15592 (completion--capf-wrapper): Also return the hook function.
15593 (completion-at-point, completion-help-at-point):
15594 Adjust and provide a predicate.
c2bd2ab0
SM
15595
15596 Preserve arg names for advice of subr and lexical functions (bug#8457).
15597 * help-fns.el (help-function-arglist): Consolidate the subr and
15598 new-byte-code cases. Add argument `preserve-names' to extract names
15599 from the docstring when needed.
15600 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15601 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15602 (ad-arglist): Use help-function-arglist's new arg.
15603 (ad-definition-type): Use cond.
15604
c183f693
JB
156052011-04-13 Juanma Barranquero <lekktu@gmail.com>
15606
06641a47
JB
15607 * autorevert.el (auto-revert-handler):
15608 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15609 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15610 Don't quote lambda.
15611
c183f693
JB
15612 * image-mode.el (image-transform-set-scale):
15613 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15614
1e3b6001
G
156152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616
15617 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15618 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15619 Upgrades via gnutls-cli are too slow to be done opportunistically.
15620
2d6af8dd
JB
156212011-04-12 Juanma Barranquero <lekktu@gmail.com>
15622
15623 * dframe.el (dframe-current-frame): Remove spurious quote.
15624
c0749a51
GM
156252011-04-12 Glenn Morris <rgm@gnu.org>
15626
088d0d61
GM
15627 * calendar/cal-tex.el (cal-tex-end-document):
15628 Try to automatically use latin1 input if needed.
15629
c0749a51
GM
15630 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15631 Don't try to cons a mark onto an empty element.
15632
5c90fde0
LL
156332011-04-11 Leo Liu <sdl.web@gmail.com>
15634
15635 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15636 buffers.
15637 (ido-kill-buffer-at-head): Support killing virtual buffers.
15638
369e974d
CY
156392011-04-10 Chong Yidong <cyd@stupidchicken.com>
15640
15641 * minibuffer.el (completion-show-inline-help): New var.
15642 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15643 (minibuffer-force-complete, minibuffer-complete-word):
15644 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15645
15646 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15647 to avoid interference from inline help (Bug#5849).
15648
37f1c930
LL
156492011-04-10 Leo Liu <sdl.web@gmail.com>
15650
099c39a4
JB
15651 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15652 Fix typo.
37f1c930 15653
a32d4040
CY
156542011-04-09 Chong Yidong <cyd@stupidchicken.com>
15655
15656 * image-mode.el (image-toggle-display-image): Signal an error if
15657 not in Image mode.
15658 (image-transform-mode, image-transform-resize)
15659 (image-transform-set-rotation): Doc fix.
daca8ba5 15660 (image-transform-set-resize): Delete.
a32d4040
CY
15661 (image-transform-set-scale, image-transform-fit-to-height)
15662 (image-transform-fit-to-width): Handle image-toggle-display-image
15663 and image-transform-resize directly.
15664
099c39a4 156652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15666
15667 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15668 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15669 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15670 (doc-view-mode-map): Add bindings for the new functions.
15671
099c39a4 156722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15673
4d61f28d 15674 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15675 Fix typo in docstring.
15676
3726838a
EZ
156772011-04-08 Eli Zaretskii <eliz@gnu.org>
15678
04f33f1e
EZ
15679 * files.el (file-size-human-readable): Produce one digit after
15680 decimal, like "ls -lh" does.
15681
15682 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15683 the file size representation.
15684
3726838a
EZ
15685 * simple.el (list-processes): If async subprocesses are not
15686 available, error out with a clear error message.
15687
cbb59342
CY
156882011-04-08 Chong Yidong <cyd@stupidchicken.com>
15689
15690 * help.el (help-form-show): New function, to be called from C.
15691 Put help-form output in a buffer named differently than *Help*.
15692
e3971c44
EZ
156932011-04-08 Eli Zaretskii <eliz@gnu.org>
15694
15695 * files.el (file-size-human-readable): New function.
15696
15697 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15698 computing the representation inline. Don't require `cl'.
15699
12544bbe
GM
157002011-04-08 Glenn Morris <rgm@gnu.org>
15701
a1de6c6a
GM
15702 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15703
3c4671f4
GM
15704 * net/browse-url.el (browse-url-firefox):
15705 Test system-type, not system-configuration.
15706
b605679c
GM
15707 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15708 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15709 Use log-edit-empty-buffer-p. (Bug#7598)
15710
56442f0c
GM
15711 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15712 (rlogin-mode-map): Initialize in the defvar.
15713 (rlogin): Use ignore-errors.
15714
12544bbe
GM
15715 * replace.el (occur-mode-map): Some fixes for menu items.
15716
eb237b0f
AH
157172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15718
15719 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15720
7d668f2c
CY
157212011-04-06 Chong Yidong <cyd@stupidchicken.com>
15722
e67a13ab
CY
15723 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15724 issuing unused warnings.
15725
15726 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15727 macro directly.
15728
7d668f2c
CY
15729 * simple.el: Lisp reimplement of list-processes. Based on an
15730 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15731 (process-menu-mode): New major mode.
15732 (list-processes--refresh, list-processes):
15733 (process-menu-visit-buffer): New functions.
15734
15735 * files.el (save-buffers-kill-emacs): Don't assume any return
15736 value of list-processes, which is undocumented anyway.
15737
a83ec3c9
CY
157382011-04-06 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * emacs-lisp/tabulated-list.el: New file.
15741
e91a96fe
CY
15742 * emacs-lisp/package.el: Use Tabulated List mode.
15743 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15744 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15745 table format using Tabulated List mode variables.
15746 (package--push): New macro, replacing package-list-maybe-add.
15747 (package-menu--generate): Use package--push. Renamed from
15748 package--generate-package-list.
15749 (package-menu-refresh, list-packages): Use it.
daca8ba5 15750 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15751 Return insertion data instead of inserting it directly.
099c39a4
JB
15752 (package-menu-describe-package, package-menu-execute):
15753 Use tabulated-list-get-id.
e91a96fe
CY
15754 (package-menu-mark-delete, package-menu-mark-install)
15755 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15756 (package-menu-mark-obsolete-for-deletion):
15757 Use tabulated-list-put-tag.
e91a96fe
CY
15758 (package--list-packages, package-menu-revert)
15759 (package-menu-get-package, package-menu-get-version)
15760 (package-menu-sort-by-column): Functions deleted.
15761 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15762 (package-menu--status-predicate, package-menu--version-predicate)
15763 (package-menu--name-predicate)
15764 (package-menu--description-predicate): Handle arguments in the
15765 Tabulated List format.
15766 (package-list-packages-no-fetch): Call list-packages.
15767
3e214b50
JB
157682011-04-06 Juanma Barranquero <lekktu@gmail.com>
15769
15770 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15771 (after-find-file): Don't bind it.
3e214b50
JB
15772 (revert-buffer-in-progress-p): New variable.
15773 (revert-buffer): Bind it.
15774 Pass nil for `after-find-file-from-revert-buffer'.
15775
15776 * saveplace.el (save-place-find-file-hook): Use new variable
15777 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15778
3f0f1700
GM
157792011-04-06 Glenn Morris <rgm@gnu.org>
15780
c0274801
GM
15781 * Makefile.in (AUTOGEN_VCS): New variable.
15782 (autoloads): Use $AUTOGEN_VCS.
15783
3f0f1700
GM
15784 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15785 * calendar/calendar.el (calendar-mode-map):
15786 Check for toolkit scroll bars. (Bug#8305)
15787
41ea9e48
CY
157882011-04-05 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * minibuffer.el (completion-in-region--postch)
15791 (completion-in-region-mode): Remove unnecessary messages.
15792
6194c800
JB
157932011-04-05 Juanma Barranquero <lekktu@gmail.com>
15794
33256f14
JB
15795 * font-lock.el (font-lock-refresh-defaults):
15796 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15797 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15798
6194c800
JB
15799 * info.el (Info-directory-list, Info-read-node-name-2)
15800 (Info-split-parameter-string): Doc fixes.
15801 (Info-virtual-nodes): Reflow docstring.
15802 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15803 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15804 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15805 Fix typos in docstrings.
15806 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15807 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15808 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15809 (Info-restore-desktop-buffer): Mark unused parameters.
15810 (Info-directory-find-file, Info-directory-find-node)
15811 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15812 (Info-virtual-index-find-node, Info-apropos-find-file)
15813 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15814 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15815 (Info-virtual-index): Remove unused local variable `nodename'.
15816
b87a8200 158172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15818
b87a8200
DD
15819 * net/rcirc.el: Update my e-mail address.
15820 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15821
3b2ff876
CY
158222011-04-05 Chong Yidong <cyd@stupidchicken.com>
15823
15824 * startup.el (command-line): Save the cursor's theme-face
15825 directly, instead of using face-override-spec.
15826
15827 * custom.el (load-theme): Minor optimization in assigning faces.
15828
8d17e7ca
JB
158292011-04-04 Juanma Barranquero <lekktu@gmail.com>
15830
15831 * help-fns.el (describe-variable): Complete all variables having
15832 documentation, including keywords.
15833 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15834
2fbc1934
JB
158352011-04-04 Juanma Barranquero <lekktu@gmail.com>
15836
15837 Convert to lexical-binding.
15838
15839 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15840 (bs--get-marked-string, bs--get-modified-string)
15841 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15842 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15843 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15844
15845 * ehelp.el (electric-help-execute-extended)
15846 (electric-help-ctrl-x-prefix):
15847 * hexl.el (hexl-revert-buffer-function):
15848 * linum.el (linum-after-change, linum-after-scroll):
15849 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15850
15851 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15852
74f50695
DU
158532011-04-04 Daiki Ueno <ueno@unixuser.org>
15854
15855 * epa-dired.el:
15856 * epa-mail.el:
15857 * epa-hook.el:
15858 * epa-file.el:
15859 * epa.el:
15860 * epg.el: Use lexical binding.
15861
c11325f7
CY
158622011-04-03 Chong Yidong <cyd@stupidchicken.com>
15863
0d9e9a12
CY
15864 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15865
c11325f7 15866 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15867 dictionary case for flyspell-mark-duplications-exceptions.
15868 Use regexp matching for languages.
c11325f7
CY
15869 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15870 default dictionary (Bug#7926).
15871
da91b5f2
CY
158722011-04-02 Chong Yidong <cyd@stupidchicken.com>
15873
099c39a4
JB
15874 * emacs-lisp/package.el (package--with-work-buffer):
15875 Recognize https URLs.
da91b5f2 15876
099c39a4
JB
15877 * net/network-stream.el: Move from gnus/proto-stream.el.
15878 Change prefix to network-stream throughout.
da91b5f2
CY
15879 (open-protocol-stream): Merge into open-network-stream, leaving
15880 open-protocol-stream as an alias. Handle nil BUFFER args.
15881
15882 * subr.el (open-network-stream): Move to net/network-stream.el.
15883
afa8e9f6
GM
158842011-04-02 Glenn Morris <rgm@gnu.org>
15885
1d2e369d
GM
15886 * find-dired.el (find-exec-terminator): New option.
15887 (find-ls-option): Test for -ls support.
15888 (find-ls-subdir-switches): Test for -b in find-ls-option.
15889 (find-dired, find-grep-dired): Doc fixes.
15890 (find-dired): Use find-exec-terminator.
15891
8abb7da8 15892 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15893 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15894 (find-name-arg): Remove purecopy.
8abb7da8 15895
f3ca7378
GM
15896 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15897 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15898 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15899 accordingly. Don't add the null-device if not needed.
15900
afa8e9f6
GM
15901 * files.el (save-some-buffers): Doc fix.
15902
35eae264
EZ
159032011-04-02 Eli Zaretskii <eliz@gnu.org>
15904
15905 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15906
26b51db5
JB
159072011-04-01 Juanma Barranquero <lekktu@gmail.com>
15908
15909 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15910 Use `dolist' rather than `mapcar'.
15911
7200d79c
SM
159122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15913
03408648 15914 Add lexical binding.
7200d79c 15915
03408648
SM
15916 * subr.el (apply-partially): Use new closures rather than CL.
15917 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15918 (dolist, dotimes): Use slightly different expansion for lexical code.
15919 (functionp): Move to C.
15920 (letrec): New macro.
15921 (with-wrapper-hook): Use it and apply-partially instead of CL.
15922 (eval-after-load): Preserve lexical-binding.
15923 (save-window-excursion, with-output-to-temp-buffer): Turn them
15924 into macros.
7200d79c 15925
03408648
SM
15926 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15927
15928 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15929 than the arglist.
15930 (help-add-fundoc-usage): Don't add `Not documented'.
15931 (help-function-arglist): Handle closures, subroutines, and new
15932 byte-code-functions.
15933 (help-make-usage): Remove leading underscores.
15934 (describe-function-1): Handle closures.
15935 (describe-variable): Use special-variable-p for completion.
15936
15937 * files.el (lexical-binding): Declare safe.
f488fb65 15938
03408648
SM
15939 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15940 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15941 (pcase): Add `let' pattern.
15942 Change memoization so it actually works.
15943 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15944 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15945 <let>: New case.
f488fb65 15946
03408648
SM
15947 * emacs-lisp/macroexp.el: Use lexical binding.
15948 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15949 Don't convert ' to #' without checking that it's indeed quoting
15950 a lambda.
15951
15952 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15953 Use eval-sexp-add-defvars.
03408648
SM
15954 (eval-sexp-add-defvars): New fun.
15955
15956 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15957
15958 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15959 Don't autoload.
15960 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15961 than the internal `byte-compile-lambda'.
15962 (defmethod): Don't hide code under quotes.
15963 (eieio-defmethod): New `code' argument.
15964
15965 * emacs-lisp/eieio-comp.el: Remove.
15966
15967 * emacs-lisp/edebug.el (edebug-eval-defun)
15968 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15969 (edebug-toggle): Avoid `eval'.
15970
15971 * emacs-lisp/disass.el (disassemble-internal): Handle new
15972 `closure' objects.
15973 (disassemble-1): Handle new byte codes.
15974
15975 * emacs-lisp/cl.el (pushnew): Silence warning.
15976
15977 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15978 (cl-byte-compile-throw): Remove.
15979 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15980
15981 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15982 closures.
15983
15984 * emacs-lisp/cconv.el: New file.
15985
15986 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15987 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15988 (byte-compile-initial-macro-environment):
15989 Handle declare-function here.
15990 (byte-compile--lexical-environment): New var.
15991 (byte-stack-ref, byte-stack-set, byte-discardN)
15992 (byte-discardN-preserve-tos): New lap codes.
15993 (byte-interactive-p): Don't use any more.
15994 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15995 New macros.
15996 (byte-compile-lapcode): Use them and handle new lap codes.
15997 (byte-compile-obsolete): Remove.
15998 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15999 (byte-compile-arglist-warn): Check late def of inlinable funs.
16000 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16001 since they should have been expanded by now.
16002 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16003 (byte-compile-from-buffer): Remove unused second arg.
16004 (byte-compile-preprocess): New function.
16005 (byte-compile-toplevel-file-form): New function to distinguish
16006 file-form calls from outside from file-form calls from hunk-handlers.
16007 (byte-compile-file-form): Simplify.
16008 (byte-compile-file-form-defsubst): Remove.
16009 (byte-compile-file-form-defmumble): Simplify now that
16010 byte-compile-lambda always returns a byte-code-function.
16011 (byte-compile): Preprocess.
16012 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16013 Remove, not used any more.
16014 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16015 (byte-compile-make-args-desc): New funs.
16016 (byte-compile-lambda): Handle lexical functions. Always return
16017 a byte-code-function.
16018 (byte-compile-reserved-constants): New var, to make up room for
16019 closed-over variables.
16020 (byte-compile-constants-vector): Obey it.
16021 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16022 (byte-compile-macroexpand-declare-function): New function.
16023 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16024 byte-code-functions.
16025 (byte-compile-form): Check obsolescence here.
16026 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16027 (byte-compile-variable-ref): Remove.
16028 (byte-compile-dynamic-variable-op): New fun.
16029 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16030 (byte-compile-variable-set): New funs.
16031 (byte-compile-discard): Add 2 args.
16032 (byte-compile-stack-ref, byte-compile-stack-set)
16033 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16034 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16035 macroexpand-all instead.
16036 (byte-compile-quote-form): Remove.
16037 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16038 (byte-compile-bind, byte-compile-unbind): New funs.
16039 (byte-compile-let): Handle let* and lexical binding.
16040 (byte-compile-let*): Remove.
16041 (byte-compile-catch, byte-compile-unwind-protect)
16042 (byte-compile-track-mouse, byte-compile-condition-case):
16043 Handle a new :fun-body form, used for lexical scoping.
16044 (byte-compile-save-window-excursion)
16045 (byte-compile-with-output-to-temp-buffer): Remove.
16046 (byte-compile-defun): Simplify.
16047 (byte-compile-stack-adjustment): New fun.
16048 (byte-compile-out): Use it.
16049 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16050
16051 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16052 handler any more.
16053
16054 * emacs-lisp/byte-opt.el: Use lexical binding.
16055 (byte-inline-lapcode): Remove (to bytecomp).
16056 (byte-compile-inline-expand): Pay attention to inlining to/from
16057 lexically bound code.
16058 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16059 any more.
16060 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16061 any more and don't call compiler-macros.
16062 (byte-compile-splice-in-already-compiled-code): Remove.
16063 (byte-code): Don't inline any more.
16064 (disassemble-offset): Receive `bytes' as argument rather than via
16065 dynamic scoping.
16066 (byte-compile-tag-number): Declare before first use.
16067 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16068 `return' even if make-spliceable.
16069 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16070 obsolete interactive-p.
16071 (byte-optimize-lapcode): Optimize new lap-codes.
16072 Don't trip up on new form of `byte-constant' lap code.
16073
16074 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16075
16076 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16077
16078 * custom.el (custom-initialize-default, custom-declare-variable):
16079 Use `defvar'.
16080
16081 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16082 New variables.
16083 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16084 (COMPILE_FIRST): Add macroexp and cconv.
16085 * makefile.w32-in: Mirror changes in Makefile.in.
16086
16087 * vc/cvs-status.el:
16088 * vc/diff-mode.el:
16089 * vc/log-edit.el:
16090 * vc/log-view.el:
16091 * vc/smerge-mode.el:
16092 * textmodes/bibtex-style.el:
090bd7cb 16093 * textmodes/css-mode.el:
03408648
SM
16094 * startup.el:
16095 * uniquify.el:
da91b5f2
CY
16096 * minibuffer.el:
16097 * newcomment.el:
16098 * reveal.el:
16099 * server.el:
16100 * mpc.el:
16101 * emacs-lisp/smie.el:
16102 * doc-view.el:
16103 * dired.el:
03408648
SM
16104 * abbrev.el: Use lexical binding.
16105
0f0c1f27
EZ
161062011-04-01 Eli Zaretskii <eliz@gnu.org>
16107
16108 * info.el (info-display-manual): New function.
16109
c82b2579
SM
161102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16111
16112 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16113
221ddf68
TH
161142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16115
16116 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16117 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16118
cba6e77e
GM
161192011-03-31 Glenn Morris <rgm@gnu.org>
16120
e040639f
GM
16121 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16122
cba6e77e
GM
16123 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16124
6d0f1c9e
CS
161252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16126
16127 * progmodes/python.el (python-default-interpreter)
16128 (python-python-command-args, python-jython-command-args)
16129 (python-which-shell, python-which-args, python-which-bufname)
16130 (python-file-queue, python-comint-output-filter-function)
16131 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16132 variables and functions.
16133
3e2d70fd
SM
161342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16137 (completion-in-region-mode): New minor mode.
16138 (completion-in-region): Use it.
16139 (completion-in-region--data, completion-in-region-mode-map): New vars.
16140 (completion-in-region--postch): New function.
16141 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16142 New vars.
16143 (completion--capf-wrapper): New function.
16144 (completion-at-point): Use it to track well-behavedness of
16145 hook functions.
16146 (completion-help-at-point): New command.
16147
f3e4086c
JM
161482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16149
16150 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16151 syntax class to search for whitespace on a single line
16152 (Message-ID: <4D938140.4030905@redhat.com>).
16153
eb7ffc14
LL
161542011-03-30 Leo Liu <sdl.web@gmail.com>
16155
16156 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16157 New commands.
16158 (edit-abbrevs-map): Bind them here.
16159 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16160
d806ab68
KM
161612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16162
16163 * allout.el (allout-hide-by-annotation, allout-flag-region):
16164 Reduce possibility of overlay leakage by making them volatile.
16165
16166 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16167 hash is not shared between buffers. Mode initialization is
16168 responsible for giving it a useful starting value.
16169 (allout-item-span): Reduce possibility of overlay leakage by
16170 making them volatile.
16171 (allout-widgets-count-buttons-in-region): Add diagnostic function
16172 for tracking down button overlay leaks.
16173
ea622834
LL
161742011-03-29 Leo Liu <sdl.web@gmail.com>
16175
16176 * ido.el (ido-read-internal): Use the default history var
16177 minibuffer-history if no HISTORY is specified.
16178
b62f8267
G
161792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16180
03408648
SM
16181 * net/imap.el (imap-shell-open, imap-process-connection-type):
16182 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16183 Kerberos, SSL, other subprocesses.
16184
947b6566
LL
161852011-03-28 Leo Liu <sdl.web@gmail.com>
16186
16187 * abbrev.el (abbrev-table-empty-p): New function.
16188 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16189 nonempty ones. (Bug#5937)
16190
5ffb62aa
JD
161912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16192
16193 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16194
7a097943
LL
161952011-03-27 Leo Liu <sdl.web@gmail.com>
16196
16197 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16198 for foreground and background colors.
16199 (ansi-color-make-color-map): Adapt.
16200
c5b40130
LL
162012011-03-25 Leo Liu <sdl.web@gmail.com>
16202
1f48f7d2
LL
16203 * midnight.el (midnight-time-float): Remove. Note it calculates
16204 the microsecond component incorrectly and seconds-to-time does the
16205 same job.
625897ec 16206 Remove redundant (require 'timer).
1f48f7d2 16207
c5b40130
LL
16208 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16209 (ido-completions): Remove unused arguments. (Bug#8329)
16210
d86d2721
SM
162112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * minibuffer.el (completion--flush-all-sorted-completions):
16214 Remove itself from hook.
16215 (completion-at-point): Let the functions perform the completion
16216 immediately and return nil or t.
16217 * comint.el (comint-dynamic-complete-functions): Now identical to
16218 completion-at-point-functions.
16219 (comint-dynamic-list-input-ring): Remove unused var `index'.
16220 (comint--match-partial-filename, comint--unquote&expand-filename):
16221 New funs, split from comint-match-partial-filename.
16222 (comint-dynamic-complete): Use completion-at-point.
16223 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16224
e8974c48
DA
162252011-03-24 Drew Adams <drew.adams@oracle.com>
16226
16227 * thingatpt.el: Support `defun'.
16228
def71b5e
LL
162292011-03-23 Leo Liu <sdl.web@gmail.com>
16230
cb5af48e
LL
16231 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16232
def71b5e
LL
16233 * help-mode.el (help-mode-finish): Tweak regexp.
16234
927c53e7
GM
162352011-03-23 Glenn Morris <rgm@gnu.org>
16236
18d05bed
GM
16237 * eshell/esh-opt.el (eshell-eval-using-options):
16238 Do not bind unused local variable `eshell-option-stub'.
16239
927c53e7
GM
16240 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16241
9d0da923
JB
162422011-03-22 Juanma Barranquero <lekktu@gmail.com>
16243
16244 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16245 keymap variable in `with-no-warnings' to avoid a warning when the
16246 keymap has been already `defconst'ed.
16247
4b978a67
LL
162482011-03-22 Leo Liu <sdl.web@gmail.com>
16249
16250 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16251 encode all chars in abbrevs; otherwise use emacs-mule or
16252 utf-8-emacs. (Bug#8308)
16253
5fd62452
JB
162542011-03-22 Juanma Barranquero <lekktu@gmail.com>
16255
0b1596c6
JB
16256 * simple.el (backward-delete-char-untabify):
16257 Avoid warning about using `delete-backward-char'.
16258
5fd62452
JB
16259 * image.el (image-type-file-name-regexps): Make it variable.
16260 `imagemagick-register-types' modifies it, and the user may want
16261 to add new extensions for known image types.
16262 (imagemagick-register-types): Throw error if not using ImageMagick.
16263
0b4e93f1
LL
162642011-03-22 Leo Liu <sdl.web@gmail.com>
16265
16266 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16267 located before rcirc-prompt-end-marker.
16268 (rcirc-complete): Error if point is not after rcirc prompt.
16269 Handle the case when table is nil.
9882e214 16270 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16271
fccee4ab
CY
162722011-03-22 Chong Yidong <cyd@stupidchicken.com>
16273
16274 * custom.el (custom--inhibit-theme-enable): Make it affect only
16275 custom-theme-set-variables and custom-theme-set-faces.
16276 (provide-theme): Ignore custom--inhibit-theme-enable.
16277 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16278 (custom-enabling-themes): Delete variable.
d86d2721
SM
16279 (enable-theme): Accept only loaded themes as arguments.
16280 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16281 (custom-enabled-themes): Forbid themes from setting this.
16282 Eliminate use of custom-enabling-themes.
16283 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16284
af896da6
LL
162852011-03-21 Leo Liu <sdl.web@gmail.com>
16286
16287 * ido.el (ido-read-internal): Add ido-selected to history instead
16288 of user input.
16289
78f64af0
SM
162902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16291
16292 * subr.el (deferred-action-list, deferred-action-function):
16293 Mark obsolete.
16294
b16ac1ec
LL
162952011-03-21 Leo Liu <sdl.web@gmail.com>
16296
810f7698
LL
16297 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16298 change on 2011-02-13 (bug#8309).
16299
b16ac1ec
LL
16300 * minibuffer.el (read-file-name-function): Change default value.
16301 (read-file-name--defaults): Rename from read-file-name-defaults.
16302 (read-file-name-default): Rename from read-file-name.
16303 (read-file-name): Call read-file-name-function.
16304
4e05e67e
GM
163052011-03-21 Glenn Morris <rgm@gnu.org>
16306
16307 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16308 Doc fixes.
16309
4359915b
CY
163102011-03-21 Chong Yidong <cyd@stupidchicken.com>
16311
16312 * cus-theme.el: Add missing provide statement.
16313 (customize-create-theme): Extract theme value correctly.
16314 (custom-theme-visit-theme): Autoload.
16315 (customize-create-theme): Prompt before inserting default faces.
16316
1fe275ee
JB
163172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16318
16319 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16320 units and musical notes.
16321
cd394be1 163222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16323
16324 * ido.el (ido-read-internal): Use completing-read-default.
16325 (ido-completing-read): Fix compatibility with completing-read.
16326
7d476bde
CO
163272011-03-20 Christian Ohler <ohler@gnu.org>
16328
16329 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16330 (ert-delete-all-tests): Use `called-interactively-p' rather than
16331 `interactive-p'.
16332 (ert--make-xrefs-region): Respect END.
16333
fe0fb33e
CY
163342011-03-19 Chong Yidong <cyd@stupidchicken.com>
16335
ff854b0b
CY
16336 * dired-aux.el (dired-create-directory): Signal an error if the
16337 directory already exists (Bug#8246).
16338
fe0fb33e
CY
16339 * facemenu.el (list-colors-display): Call list-faces-display
16340 inside with-help-window.
16341 (list-colors-print): Use display property to align the final
16342 column, instead of checking window-width.
16343
576bce32
EZ
163442011-03-19 Eli Zaretskii <eliz@gnu.org>
16345
4d61f28d 16346 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16347 windows-nt systems.
16348 (emerge-protect-metachars): Quote correctly for ms-dos and
16349 windows-nt systems.
16350
89c41d68 163512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16352
16353 * info.el (info-initialize): Replace all uses of `:' with
16354 path-separator for compatibility with non-Unix systems.
16355 Cache quoting of path-separator. (Bug#8258)
16356
b14e3e21 163572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16358
16359 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16360 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16361 (mouse-avoidance-mode): Fix typos in docstrings.
16362
4525ce3e
CY
163632011-03-19 Chong Yidong <cyd@stupidchicken.com>
16364
16365 * startup.el (package-subdirectory-regexp): Move from package.el.
16366 Omit \\` and \\', and let callers add them.
16367
16368 * emacs-lisp/package.el (package-strip-version)
16369 (package-load-all-descriptors): Add \\` and \\' to
16370 package-subdirectory-regexp before using it.
16371 (package-untar-buffer): New arg DIR; ensure that file untars only
16372 into this expected directory. Remove superfluous delete-region.
16373 (package-unpack): Caller changed.
16374 (package-tar-file-info): Use package-subdirectory-regexp.
16375
a904a09a 163762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16377
a904a09a
SM
16378 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16379 diff-mode-shared-map (bug#8284).
16380 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16381
163822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16383
16384 * calendar/time-date.el (format-seconds): Use assoc instead of
16385 assoc-string, since assoc-string doesn't exist in XEmacs.
16386
171fc304
JB
163872011-03-17 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * custom.el (custom-known-themes): Reflow docstring.
16390 (custom-theme-load-path): Fix typo in docstring.
16391 (load-theme): Fix typo in error message.
16392 (custom-available-themes, custom-variable-theme-value):
16393 Use `let', not `let*'.
16394
d71990a1
JB
163952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16396
16397 * calc/README: Mention inclusion of musical notes.
16398
16399 * calc/calc-units.el (calc-lu-quant): Rename from
16400 `calc-logunits-quantity'.
16401 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16402 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16403 (calc-db): Rename from `calc-dblevel'.
16404 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16405 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16406 (calc-np): Rename from `calc-nplevel'.
16407 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16408 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16409 (calc-lu-plus): Rename from `calc-logunits-add'.
16410 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16411 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16412 (calc-lu-minus): Rename from `calc-logunits-sub'.
16413 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16414 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16415 (calc-lu-times): Rename from `calc-logunits-mul'.
16416 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16417 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16418 (calc-lu-divide): Rename from `calc-logunits-div'.
16419 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16420 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16421
16422 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16423 functions being autoloaded.
16424
16425 * calc/calc.el (calc-lu-power-reference): Rename from
16426 `calc-logunits-power-reference'.
16427 (calc-lu-field-reference): Rename from
16428 `calc-logunits-field-reference'.
16429
7a71b18d
GM
16430 * calc/calc-help.el (calc-l-prefix-help):
16431 Mention musical note functions.
d71990a1 16432
40c2934b
SM
164332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * minibuffer.el (completion-all-sorted-completions):
16436 Use :completion-cycle-penalty text property if present.
16437
b0911414
KM
164382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16439
16440 * allout.el (allout-yank-processing): Adjust for new rebulleting
16441 regime so bullet being yanked is used without prompting the user
16442 for a choice.
16443
8a05b668
JB
164442011-03-16 Juanma Barranquero <lekktu@gmail.com>
16445
16446 * startup.el (command-line): Warn the user that _emacs is deprecated.
16447
5ba5fb81
JB
164482011-03-16 Juanma Barranquero <lekktu@gmail.com>
16449
16450 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16451 (delphi-verbose, delphi-comment-face, delphi-string-face)
16452 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16453 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16454 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16455 (delphi-new-comment-line, delphi-font-lock-defaults)
16456 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16457 Fix typos in docstrings.
16458
2dab465b
KM
164592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16460
5ba5fb81 16461 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16462 Invert the roles of character and string values for INSTEAD, so a
16463 string is used for the more common case of a defaulting prompt.
16464
0adf5618
SM
164652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16466
16467 * progmodes/ruby-mode.el (ruby-backward-sexp):
16468 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16469 * play/gamegrid.el (gamegrid-make-face):
16470 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16471 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16472 * notifications.el (notifications-notify):
16473 * net/xesam.el (xesam-search-engines):
16474 * net/quickurl.el (quickurl-list-insert):
16475 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16476
d72700e5
CY
164772011-03-15 Chong Yidong <cyd@stupidchicken.com>
16478
16479 * startup.el (command-line): Update package subdirectory regexp.
16480
49c5410a
SM
164812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16482
c6eee9aa
SM
16483 * allout.el (allout-abbreviate-flattened-numbering)
16484 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16485
49c5410a
SM
16486 * subr.el (read-char-choice): Only show the cursor after the prompt,
16487 not after the answer.
16488
047b2bb9
KR
164892011-03-15 Kevin Ryde <user42@zip.com.au>
16490
16491 * help-fns.el (variable-at-point): Skip leading quotes, if any
16492 (bug#8253).
16493
0a57d256
SM
164942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16495
16496 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16497 warning message.
16498
77c992bc
MA
164992011-03-14 Michael Albinus <michael.albinus@gmx.de>
16500
16501 * shell.el (shell): When called interactively, offer to change the
16502 shell file name on remote hosts.
16503
eebc475d
TZ
165042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16505
16506 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16507 integration for LDAP parameters. The host, base, user or binddn,
16508 and secret tokens can be specified in a netrc file, for instance.
16509 This is optional because an `auth-source' parameter must be
16510 specified in the search attributes.
16511
9d05d1ba
JB
165122011-03-13 Juanma Barranquero <lekktu@gmail.com>
16513
16514 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16515
09d9db2c
GM
165162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16519 into declaration. Remove redundant and harmful binding.
16520
165212011-03-12 Eli Zaretskii <eliz@gnu.org>
16522
16523 * files.el (file-ownership-preserved-p): Pass `integer' as an
16524 explicit 2nd argument to `file-attributes'. If the file's owner
16525 is the Administrators group on Windows, and the current user is
16526 Administrator, consider that a match.
16527
16528 * server.el (server-ensure-safe-dir): Consider server directory
16529 safe on MS-Windows if its owner is the Administrators group while
16530 the current Emacs user is Administrator. Use `=' to compare
16531 numerical UIDs, since they could be integers or floats.
16532
219bd536
JB
165332011-03-12 Juanma Barranquero <lekktu@gmail.com>
16534
16535 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16536
f3afd36b
MA
165372011-03-12 Michael Albinus <michael.albinus@gmx.de>
16538
16539 Sync with Tramp 2.2.1.
16540
16541 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16542
16543 * net/trampver.el: Update release number.
16544
3aaaa6f1
SM
165452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16546
94642599
SM
16547 * progmodes/compile.el (compilation--previous-directory): Fix up
16548 various nil/dead-marker mismatches (bug#8014).
16549 (compilation-directory-properties, compilation-error-properties):
16550 Don't call it at a position past the one we're about to change.
16551
3aaaa6f1
SM
16552 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16553 Disable obsolescence warnings in the file that declares it.
16554
14239447
KM
165552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16556
099c39a4
JB
16557 * allout-widgets.el (allout-widgets-tally):
16558 Initialize allout-widgets-tally as a hash table rather than nil to
16559 prevent mode-line redisplay warnings. Also, clarify the module
16560 description and fix a comment typo.
14239447 16561
135e287c
JB
165622011-03-11 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * help-fns.el (describe-variable): Don't complete keywords.
16565 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16566
ffbf300e
CY
165672011-03-10 Chong Yidong <cyd@stupidchicken.com>
16568
ba08b241
CY
16569 * emacs-lisp/package.el (package-version-join): Impose a standard
16570 string representation for pre/alpha/beta version lists.
16571 (package-unpack-single): Standardize the directory name by passing
16572 it through package-version-join.
16573 (package-strip-rcs-id): Accept any version string that does not
16574 signal an error in version-to-list.
ffbf300e 16575
f346fd6b
MA
165762011-03-10 Michael Albinus <michael.albinus@gmx.de>
16577
16578 * simple.el (delete-trailing-whitespace): Return nil for the
16579 benefit of `write-file-functions'.
16580
ccb55d27
GM
165812011-03-10 Glenn Morris <rgm@gnu.org>
16582
5ceaac0c
GM
16583 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16584
02da65ff
GM
16585 * vc/vc-git.el (vc-git-program): New option.
16586 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16587 (vc-git--call): Use it.
16588
b2f603cc
GM
16589 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16590
5772caab
GM
16591 * cus-edit.el (Custom-newline): If no button at point, look
16592 for a subgroup button at start-of-line. (Bug#2298)
16593
ccb55d27
GM
16594 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16595
ec6ecaed
JD
165962011-03-10 Julien Danjou <julien@danjou.info>
16597
16598 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16599 `cursor-type' is nil.
16600
9d5aa01d
JB
166012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16602
16603 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16604
b6a5875b
KM
166052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16606
7a71b18d 16607 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16608 preserves the existing header prefix, rebulleting it if necessary,
16609 rather than replacing it. This is necessary for proper operation
16610 of cooperative addons like allout-widgets.
1154d12e
JB
16611 (allout-make-topic-prefix, allout-rebullet-heading):
16612 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16613 value as alternate bullet to be used, instead of prompting the user
16614 for a bullet character.
b6a5875b 16615
ee545c35
MA
166162011-03-09 Michael Albinus <michael.albinus@gmx.de>
16617
d86d2721
SM
16618 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16619 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16620 `tramp-default-port'.
16621
c47971d7
DD
166222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16623
16624 * net/rcirc.el (rcirc-handler-001): Remove useless
16625 with-rcirc-process-buffer.
16626 (rcirc-check-auth-status): Swap arguments to string-match.
16627
13522cb4
GM
166282011-03-09 Glenn Morris <rgm@gnu.org>
16629
0be6f4f1
GM
16630 * shell.el (shell-mode):
16631 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16632
13522cb4
GM
16633 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16634 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16635
515de2e3
CY
166362011-03-08 Chong Yidong <cyd@stupidchicken.com>
16637
16638 * emacs-lisp/package.el (package-refresh-contents)
16639 (package-menu-execute): Use condition-case-no-debug.
16640
b511b994
MA
166412011-03-08 Michael Albinus <michael.albinus@gmx.de>
16642
16643 * simple.el (shell-command-to-string): Use `process-file'.
16644
16645 * emacs-lisp/package.el (package-tar-file-info): Handle also
16646 remote files.
16647
d86d2721
SM
16648 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16649 Use `equal' for upload base check.
b511b994 16650
25bbfb31
AM
166512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16652
16653 * textmodes/texinfo.el (texinfo-environments):
16654 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16655
be996521
GM
166562011-03-08 Glenn Morris <rgm@gnu.org>
16657
e9c8529f
GM
16658 * cus-start.el (cursor-in-non-selected-windows):
16659 Fix :set quoting oddness. (Bug#8192)
16660
be996521
GM
16661 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16662 in some setf expressions. (Bug#2159)
16663
2bb5649e
CY
166642011-03-08 Chong Yidong <cyd@stupidchicken.com>
16665
16666 * custom.el (custom-available-themes): Return themes in
16667 alphabetical order.
16668
33383987 16669See ChangeLog.15 for earlier changes.
e3d51b27
MR
16670
16671;; Local Variables:
16672;; coding: utf-8
e3d51b27
MR
16673;; End:
16674
acaf905b 16675 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16676
16677 This file is part of GNU Emacs.
16678
16679 GNU Emacs is free software: you can redistribute it and/or modify
16680 it under the terms of the GNU General Public License as published by
16681 the Free Software Foundation, either version 3 of the License, or
16682 (at your option) any later version.
16683
16684 GNU Emacs is distributed in the hope that it will be useful,
16685 but WITHOUT ANY WARRANTY; without even the implied warranty of
16686 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16687 GNU General Public License for more details.
16688
16689 You should have received a copy of the GNU General Public License
16690 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.