Fix display of tooltips damaged by enhancements for bug #11832.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ec1b09b1
EZ
12012-07-23 Eli Zaretskii <eliz@gnu.org>
2
3 * startup.el (command-line): Don't display an empty user name in
4 the error message about non-existent home directory, when
5 init-file-user was set to an empty string. See
6 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7 for the details and context.
8
b525fd8a
VB
92012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10
11 * ses.el (ses-cell-formula-aset): New macro.
12 (ses-cell-references-aset): New macro.
13 (ses-cell-p): New function.
14 (ses-rename-cell): Do no longer rely on complex operations like
15 ses-cell-set-formula or ses-set-cell to change the cell and handle
16 the undo at the same time, but rather use lower level new macros
17 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
18 the undo directly. Refresh the mode line.
19
2c73e345
LL
202012-07-21 Leo Liu <sdl.web@gmail.com>
21
22 * progmodes/cc-cmds.el (c-defun-name): Use
23 match-string-no-properties instead for consistency.
24
542dfbde
LL
252012-07-20 Leo Liu <sdl.web@gmail.com>
26
3646bcd6
LL
27 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
28 (Bug#7879)
29
542dfbde
LL
30 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
31
25721031
CY
322012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
35 * progmodes/bug-reference.el, misearch.el: Provide themselves
36 (bug#11915).
37
38 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
39 of narrowed buffer (bug#11966).
40
316e68a7
VB
412012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
42
43 * ses.el (ses-rename-cell): Set new name also in reference list of
44 cells of which the renamed cell depends.
45
bbf0e7d9
MY
462012-07-20 Masatake YAMATO <yamato@redhat.com>
47
48 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
49 to check whether menu-bar is shown or not. If not shown,
50 show the menu-bar as a popup menu instead of using tmm.
51 * mouse.el (popup-menu): Accept `point' as `position' argument.
52
c28662a8
DG
532012-07-20 Dmitry Gutov <dgutov@yandex.ru>
54
55 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
56 up inside string symbol literal (bug#11923).
57
87ab808f
EZ
582012-07-20 Eli Zaretskii <eliz@gnu.org>
59
60 * startup.el (fancy-startup-text): Read the whole tutorial, not
61 just its first 256 bytes. Prevents gibberish in display of the
62 tutorial title.
63
89dea803
DA
642012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
65
66 Drop idle buffer compaction due to an absence of the
67 proved efficiency.
68 * compact.el: Remove.
69
8a4e6db8
SS
702012-07-19 Sam Steingold <sds@gnu.org>
71
72 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
73 vc-bzr-pull & vc-bzr-merge-branch.
74 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
75 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
76 for consistency with compilation-error-regexp-alist.
77 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
78 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
79 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
80 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
81
5db81e33
SM
822012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * emacs-lisp/chart.el: Use lexical-binding.
85 (chart-emacs-storage): Don't hardcode the list of entries.
86
5b835e1d
DA
872012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
88
89 Next round of tweaks caused by Fgarbage_collect changes.
90 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
91
9cd47b72
DA
922012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
93
94 Compact buffers when idle.
95 * compact.el: New file.
96
1d6fc0df
SM
972012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * subr.el (eventp): Presume that if it looks vaguely like an event,
100 it's an event (bug#10190).
101
1d29cc7d
FEG
1022012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
103
104 Enhancements to ppss related code (thanks Stefan).
105 * progmodes/python.el (python-indent-context)
106 (python-indent-calculate-indentation, python-indent-dedent-line)
107 (python-indent-electric-colon, python-nav-forward-block)
108 (python-mode-abbrev-table)
1d6fc0df 109 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
110 for ppss context.
111 (python-info-continuation-line-p): Cleanup.
112 (python-info-ppss-context): Do not catch 'quote.
113 (python-info-ppss-context-type)
114 (python-info-ppss-comment-or-string-p): Simplify.
115
d583cbe6
FEG
1162012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
117
118 * progmodes/python.el: Enhancements to eldoc support.
119 (python-info-current-symbol): New function.
120 (python-eldoc-at-point): Use python-info-current-symbol.
121 (python-info-current-defun): Fix cornercase on first defun scan.
122 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
123 and signal error when no inferior python process is available.
124
eceb6feb
DG
1252012-07-18 Dmitry Gutov <dgutov@yandex.ru>
126
127 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
128 assume it's always t.
129 (vc-git-registered): Remove caching, the function is only called
130 once.
131 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
132
4c8ff0fe
CY
1332012-07-18 Chong Yidong <cyd@gnu.org>
134
19fb7186
CY
135 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
136
9587c688
CY
137 * simple.el (count-words): Report on narrowing (Bug#9959).
138
0fe776a1
CY
139 * bindings.el: Bind M-= to count-words.
140
4c8ff0fe
CY
141 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
142
7f5331cc
MY
1432012-07-18 Masatake YAMATO <yamato@redhat.com>
144
145 * progmodes/sh-script.el (sh-imenu-generic-expression):
146 Capture a function with `function' keyword and without parentheses
147 like "function FOO" (bug#11856).
148
2dc2a609
TH
1492012-07-18 Tassilo Horn <tassilo@member.fsf.org>
150
151 * window.el (split-window-sensibly): Make WINDOW argument
152 optional.
153
439f7677
CY
1542012-07-18 Chong Yidong <cyd@gnu.org>
155
9aeb25a6
CY
156 * subr.el (keyboard-translate): Doc fix (Bug#7261).
157
439f7677
CY
158 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
159 and make C-x 8 RET exit isearch (Bug#11439).
160
161 * international/iso-transl.el: Move isearch-mode-map key
162 definitions to isearch.el.
163
12999ea8
SM
1642012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
167 (eieio-defclass): Use gv-define-setter when possible.
168
3ab6e069
DA
1692012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
170
171 Reflect recent changes in Fgarbage_collect.
172 * emacs-lisp/chart.el (chart-emacs-storage): Change to
173 reflect new format of data returned by Fgarbage_collect.
174
0a60bc10
FEG
1752012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
176
177 New utility functions + python-info-ppss-context fix (Bug#11910).
178 * progmodes/python.el (python-info-beginning-of-block-statement-p)
179 (python-info-ppss-comment-or-string-p): New functions.
180 (python-info-ppss-context): Small fix for string check.
181
6dafa0d5
JL
1822012-07-17 Juri Linkov <juri@jurta.org>
183
184 * dired-aux.el (dired-do-async-shell-command): Doc fix.
185 (dired-do-async-shell-command): Don't add `*' at the end of the
186 command (Bug#11815).
187 (dired-do-shell-command): Doc fix.
188 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
189 Join the individual commands using either "&" or ";" as the
190 separator depending on the values of these trailing characters.
191 At the end re-add the trailing "&". (Bug#10598)
192
193 * simple.el (async-shell-command): Sync the interactive spec with
194 `shell-command'. Doc fix.
195 (shell-command): Doc fix.
196
b19dd9d1
JL
1972012-07-17 Juri Linkov <juri@jurta.org>
198
199 * descr-text.el (describe-char): Fix format args. (Bug#10129)
200
bcdc27d7 2012012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 202
bcdc27d7 203 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
204 * progmodes/python.el (python-nav-beginning-of-statement):
205 Rename from python-nav-statement-start.
bcdc27d7
FEG
206 (python-nav-end-of-statement): Rename from
207 python-nav-statement-end.
208 (python-nav-beginning-of-block): Rename from
209 python-nav-block-start.
210 (python-nav-end-of-block): Rename from python-nav-block-end.
211
191da00e
FEG
2122012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
213
7f5331cc
MY
214 * progmodes/python.el (python-shell-send-string-no-output):
215 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
216 future interactions (Bug#11868).
217
4dc7c8d5 2182012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 219
88ecaf8f
SM
220 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
221
ef501ef0
SM
222 * emacs-lisp/elint.el (elint-find-args-in-code):
223 Use help-function-arglist, so as to handle lexical byte-code.
224
aa7aaf8f
SM
225 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
226 change (bug#11826).
227
45fd731c
SM
2282012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
229
2143fa32
SM
230 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
231 Avoid spuriously marking the buffer as modified because of c-is-sws.
232
efc26dbe
SM
233 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
234 as not-a-comment (bug#11946).
235
f5695c9a
SM
236 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
237 for uninterned vars.
238
239 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
240 Use read-event since we don't really want to read chars but bytes.
241
45fd731c
SM
242 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
243 $$..$$ but also $..$ using regexps (bug#11953).
244 Use tex-verbatim for \url and \path.
245 (tex-font-lock-keywords): Define as defconst like the others.
246 (tex-common-initialization): Don't use font-lock-syntax-table any more.
247
ddfc8813
RK
2482012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
249
250 * international/mule-cmds.el (ucs-insert): Make it an obsolete
251 alias for insert-char.
252
758e556a
FEG
2532012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
254
255 * progmodes/python.el: Simplified imenu implementation.
256 (python-nav-jump-to-defun): Remove command.
257 (python-mode-map): Use `imenu' instead.
258 (python-nav-list-defun-positions-cache)
259 (python-imenu-include-defun-type, python-imenu-make-tree)
260 (python-imenu-subtree-root-label, python-imenu-index-alist):
261 Remove vars.
262 (python-nav-list-defun-positions, python-nav-read-defun)
263 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
264 (python-imenu-make-tree, python-imenu-create-index):
265 Remove functions.
758e556a
FEG
266 (python-mode): Update to interact with imenu by setting
267 `imenu-extract-index-name-function' only.
268
032d23ab
FEG
2692012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
270
271 * progmodes/python.el: Enhancements to navigation commands.
272 (python-nav-backward-sentence)
273 (python-nav-forward-sentence): Remove.
274 (python-nav-backward-statement, python-nav-forward-statement)
275 (python-nav-statement-start, python-nav-statement-end)
276 (python-nav-backward-block, python-nav-forward-block)
277 (python-nav-block-start, python-nav-block-end)
278 (python-nav-forward-sexp-function)
279 (python-info-current-line-comment-p)
280 (python-info-current-line-empty-p): New functions.
281 (python-indent-context): Use `python-nav-statement-start'.
282
01795a1b
MA
2832012-07-16 Michael Albinus <michael.albinus@gmx.de>
284
9328d9aa
MA
285 * eshell/em-ls.el (eshell/ls): Use `apply'.
286
287 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
288 multi-hops, instead of Tramp internals.
289
01795a1b
MA
290 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
291
292 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
293 when F1 and F2 are located on different hosts.
294
63408057
CY
2952012-07-14 Chong Yidong <cyd@gnu.org>
296
297 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
298 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
299 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
300 (xterm-mouse--read-event-sequence-1000)
301 (xterm-mouse--read-event-sequence-1006): New functions. For old
302 mouse protocol, handle M-mouse-X events correctly.
303 (xterm-mouse-event): New arg specifying mouse protocol.
304 (turn-on-xterm-mouse-tracking-on-terminal)
305 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
306 sequence to toggle extended coordinates on newer XTerms.
307 This appears to be harmless on terminals which do not support this.
63408057 308
cd276f6e
LL
3092012-07-14 Leo Liu <sdl.web@gmail.com>
310
28ca98ac
LL
311 Add fringe bitmap indicators for flymake. (Bug#11253)
312 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
313 (flymake-make-overlay): New arg BITMAP.
314 (flymake-error-bitmap, flymake-warning-bitmap)
315 (flymake-fringe-indicator-position): New user variables.
316
cd276f6e
LL
317 * fringe.el: New bitmap exclamation-mark.
318
04408072
JD
3192012-07-14 Jan Djärv <jan.h.d@swipnet.se>
320
321 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
322 also (Bug#7879).
323
b5cf7fc4
CY
3242012-07-14 Chong Yidong <cyd@gnu.org>
325
326 * electric.el (electric-pair-post-self-insert-function): Fix pair
327 insertion in empty-region case (Bug#11520).
328
be755c79
RT
3292012-07-14 Chong Yidong <cyd@gnu.org>
330
45fd731c
SM
331 * bindings.el: Consolidate ctl-x-r-map bindings.
332 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
333
334 * rect.el, register.el: Move bindings to bindings.el.
335
3362012-07-14 Reuben Thomas <rrt@sc3d.org>
337
338 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
339
7f5b3198
AS
3402012-07-13 Andreas Schwab <schwab@linux-m68k.org>
341
342 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
343
97662200
JB
3442012-07-13 Juanma Barranquero <lekktu@gmail.com>
345
80185fed
JB
346 * bindings.el (top): Use `mapc' instead of `mapcar'.
347
97662200
JB
348 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
349
2bb1ae55
MA
3502012-07-13 Michael Albinus <michael.albinus@gmx.de>
351
352 * progmodes/sql.el (sql-comint): Suppress the check for program on
353 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
354 (Bug#11908)
355
dea31bd3
CY
3562012-07-13 Chong Yidong <cyd@gnu.org>
357
358 * bindings.el: Assign a non-nil permanent-local property to
359 per-buffer variables which lack a default value (Bug#11930).
360
361 * help-fns.el (describe-variable): In the "automatically becomes
362 local" notice, take note of permanent-local variables.
363
b68b3337
CY
3642012-07-13 Chong Yidong <cyd@gnu.org>
365
366 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
367 to allow printing the message when called from Lisp.
368
369 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
370 Remove toggle-read-only.
371
372 * bs.el (bs-toggle-readonly):
45fd731c
SM
373 * buff-menu.el (Buffer-menu-toggle-read-only):
374 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
375
376 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
377 Remove with-no-warnings around toggle-read-only.
378 (ffap-read-only, ffap-read-only-other-window)
379 (ffap-read-only-other-frame): Callers changed.
380
381 * help-mode.el: Don't require view package.
382 (help-mode-finish): Set buffer-read-only instead of calling
383 toggle-read-only.
384
385 * bindings.el (mode-line-toggle-read-only):
386 * dired.el (dired-toggle-read-only):
387 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
388 with non-nil second arg.
389
390 * emacs-lisp/eieio-custom.el (eieio-customize-object):
391 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
392 directly.
393
56bc1586
EZ
3942012-07-12 Eli Zaretskii <eliz@gnu.org>
395
396 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
397 not incf.
398
a464a6c7
SM
3992012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 More CL cleanups and reduction of use of cl.el.
402 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
403 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
404 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
405 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
406 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
407 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
408 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
409 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
410 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
411 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
412 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
413 * eshell/em-cmpl.el, eshell/em-banner.el:
414 * calendar/parse-time.el: Use cl-lib.
415 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
416 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
417 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
418 * term/ns-win.el, term.el, shell.el, ps-samp.el:
419 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
420 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
421 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
422 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
423 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
424 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
425 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
426 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
427 `lambda' rather than with `quote'.
428 (eshell-do-opt): Adjust accordingly.
429 (eshell-process-option): Simplify.
430 * eshell/esh-var.el:
431 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
432 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
433 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
434 to `pcase--dontcare'.
435 * emacs-lisp/cl.el (labels): Mark obsolete.
436 (cl--letf, letf): Move to cl-lib.
437 (cl--letf*, letf*): Remove.
438 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
439 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
440 (cl-progv): Rewrite.
441 (cl--letf, cl-letf): Move from cl.el.
442 (cl-letf*): New macro.
443 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
444
7ad4afe1
MA
4452012-07-11 Michael Albinus <michael.albinus@gmx.de>
446
447 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
448
9af57756
CY
4492012-07-11 Chong Yidong <cyd@gnu.org>
450
451 * vc/log-edit.el (log-edit-vc-backend): New variable.
452 (log-edit): Doc fix.
453
454 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
455 argument of log-edit to set up all local variables.
456 (vc-start-logentry): New optional arg specifying VC backend.
457
458 * vc/vc.el (vc-checkin): Use it.
459 (vc-deduce-fileset): Handle Log Edit buffers.
460 (vc-diff): Make first argument optional too.
461
462 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
463
8477cc7a
MA
4642012-07-10 Michael Albinus <michael.albinus@gmx.de>
465
466 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
467 command, just in case. The function is not needed anymore.
468 (eshell-external-command): Do not call `eshell-remote-command'.
469
19faa8e8
SM
4702012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
471
f58e0fd5
SM
472 Reduce use of (require 'cl).
473 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
474 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
475 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
476 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
477 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
478 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
479 * battery.el, avoid.el, abbrev.el: Use cl-lib.
480 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
481 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
482 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
483 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
484 * calculator.el, autorevert.el, apropos.el: Don't require CL.
485 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
486 (byte-compile-unfold-bcf, byte-compile-check-variable):
487 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
488 (byte-compile-nilconstp):
489 * emacs-lisp/autoload.el (make-autoload): Use pcase.
490 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
491
2519d43a
SM
492 * emacs-lisp/gv.el (cond): Make it a valid place.
493 (if): Simplify slightly.
494
19faa8e8
SM
495 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
496 (pcase--self-quoting-p): New function.
497 (pcase--u1): Use it.
498
c4907a5e
GM
4992012-07-10 Glenn Morris <rgm@gnu.org>
500
501 * emacs-lisp/authors.el (authors-fixed-entries):
502 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
503
c4444d16
PE
5042012-07-09 Paul Eggert <eggert@cs.ucla.edu>
505
506 Rename configure.in to configure.ac (Bug#11603).
507 * emacs-lisp/authors.el (authors-canonical-file-name):
508 * progmodes/autoconf.el (autoconf-mode):
509 Prefer configure.ac to configure.in.
510
d75be97d
CY
5112012-07-08 Chong Yidong <cyd@gnu.org>
512
01ac65bd
CY
513 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
514 Implement the mouse-1-click-follows-link handling properly.
515
516 * info.el (Info-link-keymap): Use follow-link mechanism for
517 header-line links (Bug#374).
518
d75be97d
CY
519 * simple.el (deactivate-mark): Do not set the primary selection
520 if another program has acquired it (Bug#11772).
521
87a92845 5222012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
523
524 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
525 (woman-decode-region): Replace escaped-escapes without destroying
526 bold or underline (Bug#11552).
87a92845 527 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 528
621b9d6c
CY
5292012-07-07 Chong Yidong <cyd@gnu.org>
530
531 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
532 (interprogram-cut-function, interprogram-paste-function):
533 Mention that we typically mean the clipboard.
621b9d6c 534
133a11fc
GM
5352012-07-06 Glenn Morris <rgm@gnu.org>
536
0d27a45e
GM
537 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
538
133a11fc
GM
539 * files.el (toggle-read-only): Restrict message to interactive use.
540
07b151f1
MA
5412012-07-06 Michael Albinus <michael.albinus@gmx.de>
542
543 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
544
545 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
546
211b896b
GM
5472012-07-06 Glenn Morris <rgm@gnu.org>
548
50394322
GM
549 * Makefile.in (compile-one-process): Rename from "recompile".
550
211b896b
GM
551 * Makefile.in (bzr-update): "compile" is the same as "recompile
552 autoloads", but parallelizable, so use that instead.
553
4737eec9
DG
5542012-07-06 Dmitry Gutov <dgutov@yandex.ru>
555
556 * window.el (quit-window): Always restore window height when
557 it's saved in quit-restore parameter.
558
226c3633 5592012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
560
561 * simple.el (kill-whole-line): Doc tweak.
562
226c3633 5632012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
564
565 * files.el (file-relative-name): Compare file names
566 case-insensitively if on MS-Windows or MS-DOS, or if
567 read-file-name-completion-ignore-case is non-nil. Don't use
568 case-fold-search for this purpose. (Bug#11827)
569
4dc7c8d5
SM
5702012-07-17 Andreas Schwab <schwab@linux-m68k.org>
571
572 * calendar/cal-dst.el (calendar-current-time-zone):
573 Return calendar-current-time-zone-cache if non-nil.
574
5752012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 5762012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 577
19faa8e8
SM
578 * calendar/cal-dst.el (calendar-current-time-zone):
579 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 580
60198fc9
GM
5812012-07-06 Glenn Morris <rgm@gnu.org>
582
583 * Makefile.in (cvs-update): Remove old alias.
584
957b3189
MA
5852012-07-05 Michael Albinus <michael.albinus@gmx.de>
586
587 Sync with Tramp 2.2.6-pre.
588
589 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
590 compatible declaration.
591
19faa8e8
SM
592 * net/tramp-cmds.el (tramp-append-tramp-buffers):
593 Protect `list-load-path-shadows' call.
957b3189
MA
594
595 * net/tramp-compat.el (top): Require packages, which aren't
596 autoloaded anymore for XEmacs. Protect call of
597 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
598 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
599 it hurts at least for SXEmacs.
600 (tramp-compat-temporary-file-directory): In XEmacs, there is no
601 standard-value for `temporary-file-directory'.
602
603 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
604 Redirect stderr to /dev/null.
605 (tramp-sh-handle-write-region): uid and gid can be floats.
606 Reported by Russell Sim <russell.sim@gmail.com>.
607 (tramp-sh-handle-vc-registered): Hide errors.
608 (tramp-vc-file-name-handler): Use dummy results for `process-file'
609 and `start-file-process'.
610 (tramp-maybe-open-connection): Check also whether `non-essential'
611 is bound.
612
566df3fc
CY
6132012-07-04 Chong Yidong <cyd@gnu.org>
614
615 * xml.el (xml--parse-buffer): Use xml-syntax-table.
616 (xml-parse-tag): Likewise, and avoid changing entity tables.
617 (xml-syntax-table): Define from scratch, making sure not to give
618 x2000 and other Unicode spaces whitespace syntax, since those are
619 not spaces in XML.
620 (xml-parse-fragment): Delete unused function.
621 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
622 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
623 (xml-entity-ref, xml-pe-reference-re)
624 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
625 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
626 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
627 (xml-entity-value-re): Use syntax references in regexps where
628 possible; no need to define inside a let-binding.
629 (xml-parse-dtd): Use xml-pe-reference-re.
630 (xml-entity-or-char-ref-re): New defconst.
631 (xml-parse-string, xml-substitute-special): Use it.
632
30eabd7a
SM
6332012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
634
0781098a
SM
635 * files.el (locate-dominating-file): Allow `name' to be a predicate.
636 (find-file--read-only): New function.
637 (find-file-read-only, find-file-read-only-other-window)
638 (find-file-read-only-other-frame): Use it.
639 (insert-file-contents-literally): Don't `fset'.
640 (get-free-disk-space): Use locate-dominating-file.
641
b5771c0d
SM
642 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
643 function is already compiled.
644
30eabd7a
SM
645 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
646
b4886f6e
MA
6472012-07-03 Michael Albinus <michael.albinus@gmx.de>
648
649 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
650 files on the same host.
651
b9d82339
AS
6522012-07-03 Andreas Schwab <schwab@linux-m68k.org>
653
654 * help-fns.el (describe-function-1): Only call
655 help-fns--autoloaded-p when we have a file name. (Bug#11848)
656
a76e6535
CY
6572012-07-03 Chong Yidong <cyd@gnu.org>
658
659 * xml.el: Protect parser against XML bombs.
660 (xml-entity-expansion-limit): New variable.
661 (xml-parse-string, xml-substitute-special): Use it.
662 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
663
b544fef2
GM
6642012-07-03 Glenn Morris <rgm@gnu.org>
665
666 * progmodes/bug-reference.el (bug-reference-bug-regexp):
667 Allow linking to specific messages in debbugs reports (eg 123#5).
668
a7aef6f5
CY
6692012-07-02 Chong Yidong <cyd@gnu.org>
670
671 * xml.el: Fix entity and character reference expansion, allowing
672 them to expand into markup as per XML spec.
673 (xml-default-ns): New variable.
674 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
675 (xml-parse-region): Make first two arguments optional.
676 Discard text properties.
677 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
678 All callers changed.
a7aef6f5
CY
679 (xml-parse-tag): Call xml-parse-tag-1. For backward
680 compatibility, this function should not modify buffer contents.
681 (xml-parse-tag-1): Fix opening-tag regexp.
682 (xml-parse-string): Rewrite, handling entity and character
683 references properly.
684 (xml--entity-replacement-text): Signal an error if a parameter
685 entity is undefined.
686
3df31c9f
SM
6872012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
688
2b5208f1
SM
689 * comint.el (comint-output-filter): Filter out repeated prompts.
690
3df31c9f
SM
691 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
692 and file-name-absolute-p.
693 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
694 internal calls.
695
e3ac1281
PE
6962012-07-02 Paul Eggert <eggert@cs.ucla.edu>
697
698 Spelling fixes.
699 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
700 Rename from byte-compile--refiy-function. All uses changed.
701
fbf2e7ad
CY
7022012-07-01 Chong Yidong <cyd@gnu.org>
703
704 * xml.el (xml--parse-buffer): New function. Move most of
705 xml-parse-region here.
706 (xml-parse-region): Copy region into a temporary buffer, since
707 parameter entity substitution requires changing buffer contents.
708 Use xml--parse-buffer.
709 (xml-parse-file): Use xml--parse-buffer.
710 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 711 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 712
9bf0aa15
GM
7132012-06-30 Glenn Morris <rgm@gnu.org>
714
bbce2853
GM
715 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
716
9bf0aa15
GM
717 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
718 Remove outdated and unnecessary dbus declarations.
719
0d23c240
EZ
7202012-06-30 Eli Zaretskii <eliz@gnu.org>
721
722 * emacs-lisp/timer.el (timer-until): Subtract results of
723 float-time, instead of taking float-time of the result of
724 time-subtract, since float-time signals an error for negative time
725 arguments.
726
b3218de1
CY
7272012-06-30 Chong Yidong <cyd@gnu.org>
728
729 * xml.el (xml-*-re): Convert defvars into defconsts, and
730 eval-and-compile them so eval-and-compile works on derivatives.
731 (xml--entity-replacement-text): Use eval-and-comple.
732
a40c87a0
MA
7332012-06-30 Michael Albinus <michael.albinus@gmx.de>
734
735 * vc/vc-git.el (vc-git-registered): Use cache property
736 `git-registered'.
737 (vc-git-mode-line-string): Call `vc-working-revision' instead of
738 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 739 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 740
ac87de97
DG
7412012-06-30 Dmitry Gutov <dgutov@yandex.ru>
742
743 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 744 removed (likely outside Emacs). (Bug#11757)
ac87de97 745
ac10fe06
SM
7462012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
747
3df31c9f 748 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 749
7f3fbd5d
CY
7502012-06-30 Chong Yidong <cyd@gnu.org>
751
752 * xml.el: Implement XML parameter entities.
753 (xml-parameter-entity-alist): New variable.
754 (xml-parse-region, xml-parse-fragment): Preserve previous values
755 of xml-entity-alist and xml-parameter-entity-alist, so that
756 repeated calls on different documents do not change them.
757 (xml-parse-tag): Fix doctype regexp.
758 (xml--entity-replacement-text): New function.
759 (xml-parse-dtd): Use it. Don't handle system entities; doing that
760 properly requires url retrieval which is unimplemented.
761 (xml-escape-string): Doc fix.
762
3cfbebba
SM
7632012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
766
2af3565e
DA
7672012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
768
769 * fringe.el (fringe-mode): Doc fix.
770
929df0e7
MA
7712012-06-29 Michael Albinus <michael.albinus@gmx.de>
772
773 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
774 is non-nil.
775 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
776 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
777
c8d3a25c 7782012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 779
c8d3a25c
GM
780 * calendar/cal-dst.el (calendar-current-time-zone):
781 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 782
c8d3a25c 7832012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
784
785 * progmodes/which-func.el (which-func-format):
786 Add mouse-face. (Bug#11698)
787
c8d3a25c
GM
7882012-06-29 Leo Liu <sdl.web@gmail.com>
789
790 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
791
7922012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * minibuffer.el (minibuffer-confirm-exit-commands):
795 Add completion-at-point (bug#11725).
796
7972012-06-29 Glenn Morris <rgm@gnu.org>
798
799 * progmodes/f90.el (f90-font-lock-keywords-2):
800 Add some preprocessor elements. (Bug#10499)
801
8022012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * progmodes/cperl-mode.el (cperl-update-syntaxification):
805 Use syntax-propertize (bug#11739).
806
2badeec4
JB
8072012-06-28 Juanma Barranquero <lekktu@gmail.com>
808
809 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
810
ae4969c2
JD
8112012-06-28 Julien Danjou <julien@danjou.info>
812
813 * term.el (term-handle-colors-array): Use a set of new faces to
814 color the terminal. Also uses :inverse-video property.
815 (term-default-fg-color): Set to nil by default, deprecate in favor
816 of `term-face'.
817 (term-default-bg-color): Set to nil by default, deprecate in favor
818 of `term-face'.
819 (term-current-face): Use `term-face' by default.
820 (term-bold-attribute): Variable deleted.
821
1c9bd870
GM
8222012-06-28 Glenn Morris <rgm@gnu.org>
823
824 * simple.el (completion-list-mode-finish):
825 Don't use toggle-read-only. (Since completion-list-mode has
826 a special mode-class, it wasn't doing anything extra anyway.)
827
c207708c
SM
8282012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 Make inlining of other-mode interpreted functions work (bug#11799).
831 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
832 (byte-compile): Use it to fix compilation of lexical-binding closures.
833 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
834 function, if needed.
835
3fd56834
SM
8362012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
837
04901786
SM
838 * help-mode.el (help-make-xrefs): Don't just withstand
839 cyclic-variable-indirection but any error in documentation-property.
840
1ec4b7b2
SM
841 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
842 memory use.
843 * bindings.el (bindings--define-key): New function.
844 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
845 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
846 * bindings.el: Use it to purecopy define-key bindings.
847
e309e2a5
SM
848 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
849
d5c6faf9
SM
850 * emacs-lisp/cl.el (flet): Mark obsolete.
851 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
852 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
853 * progmodes/js.el (js-c-fill-paragraph):
854 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
855 (ebrowse-switch-member-buffer-to-derived-class):
856 * play/5x5.el (5x5-solver): Use cl-flet.
857
6e9590e2
SM
858 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
859 (cl--symbol-function): New macro.
860 (cl--letf, cl--letf*): Use it.
861
3fd56834
SM
862 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
863 Strip "toggle-" if any.
864
35ff222c
GM
8652012-06-27 Glenn Morris <rgm@gnu.org>
866
1ba6038a
GM
867 * info.el (Info-default-directory-list): Move here from paths.el.
868 * paths.el: Remove file, which is now empty.
869 * loadup.el: No longer load "paths".
870
0ea0e51b
GM
871 * custom.el (custom-initialize-delay): Doc fix.
872
35ff222c
GM
873 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
874 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
875 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
876 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
877 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
878 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
879 * eshell/eshell.el (eshell-defgroup): Remove alias.
880
c89926a5
CY
8812012-06-27 Chong Yidong <cyd@gnu.org>
882
883 * help.el (help-enable-auto-load): New variable.
884
885 * help-fns.el (help-fns--autoloaded-p): New function.
886 (describe-function-1): Refer to a function as "autoloaded" if it
887 was autoloaded at any time in the past. Perform autoloading if
888 help-enable-auto-load is non-nil.
889
cc06e7e7
EZ
8902012-06-26 Eli Zaretskii <eliz@gnu.org>
891
892 * makefile.w32-in (compile, compile-always): Depend on
893 update-subdirs, not on subdirs.el. Otherwise, several different
894 sub-targets of 'bootstrap' running in parallel could
895 simultaneously write to subdirs.el, producing a garbled file.
896
d2c32364
SS
8972012-06-26 Sam Steingold <sds@gnu.org>
898
899 * files.el (file-name-base): New convenience function.
0d14cc21
GM
900 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
901 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
902 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
903 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
904 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
905 * textmodes/tex-mode.el: Use it.
906 Did not touch cedet and org because they are maintained elsewhere.
907
5cf983b2
MR
9082012-06-26 Martin Rudalics <rudalics@gmx.at>
909
910 * calendar/calendar.el (calendar-exit): Don't try to delete or
911 iconify last frame. See:
912 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
913
8c4f2952
JD
9142012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
915
916 * server.el (server-process-filter): Remember dir in the
917 process's `server-client-directory' properties.
918
772b2e2c
CY
9192012-06-24 Chong Yidong <cyd@gnu.org>
920
921 * xml.el (xml-parse-tag): Correctly handle comment embedded in
922 non-tag text.
923
711b11e1
JB
9242012-06-23 Juanma Barranquero <lekktu@gmail.com>
925
926 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
927
dc5d230c
SM
9282012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * help-fns.el (describe-variable): Don't croak when doc is not found.
931 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
932 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
933 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
934 * emacs-lisp/smie.el (smie-next-sexp): CSE.
935 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
936 ((lambda ..) ..).
937 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
938
136e1c1d
CY
9392012-06-23 Chong Yidong <cyd@gnu.org>
940
e8c1cabf
CY
941 * info.el (Info-mouse-follow-link): Accept symbol values of
942 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
943 (Info-fontify-node): Use Info-link-keymap for all navigation
944 buttons, with link-args property to perform the desired action.
945 (Info-link-keymap): Doc fix.
946 (Info-next-link-keymap, Info-prev-link-keymap)
947 (Info-up-link-keymap): Delete now-unused keymaps.
948
0e9e6c6a
CY
9492012-06-23 Chong Yidong <cyd@gnu.org>
950
05e89fea
CY
951 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
952
0e9e6c6a
CY
953 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
954 system abbrevs.
955
956 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
957
e33c6771
SM
9582012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
959
b68581e2
SM
960 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
961 (bug#11719).
962
e33c6771
SM
963 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
964 the requote function doesn't work properly (bug#11714).
965
7117e105
GM
9662012-06-23 Glenn Morris <rgm@gnu.org>
967
968 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
969
36cec983
SM
9702012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 Further GV/CL cleanups.
973 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
974 gv-expander.
975 (gv--defun-declaration): New function.
976 (defun-declarations-alist): Use it.
977 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
978 (gv-place): Autoload.
979 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
980 original definition of dotimes and dolist.
981 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
982 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
983 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
984 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
985 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
986 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
987 to the function's definition.
988 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
989 * window.el:
990 * files.el:
991 * faces.el:
992 * env.el: Don't use CL.
993
d35af63c
PE
9942012-06-22 Paul Eggert <eggert@cs.ucla.edu>
995
996 Support higher-resolution time stamps (Bug#9000).
997
998 * calendar/time-date.el (with-decoded-time-value): New arg
999 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1000 (encode-time-value): New optional arg PICO. New type 3.
1001 (time-to-seconds) [!float-time]: Support the new picoseconds
1002 component if it's used.
1003 (seconds-to-time, time-subtract, time-add):
1004 Support ps-resolution time stamps as well.
1005
1006 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1007 (timerp): Timer vectors now have length 9, not 8.
1008 (timer--time): Support new-style (4-part) time stamps.
1009 (timer-next-integral-multiple-of-time): Time stamps now have
1010 picosecond resolution, so take a bit more care about rounding.
1011 (timer-relative-time, timer-inc-time): New optional arg psecs.
1012 (timer-set-time-with-usecs): Set psecs to 0.
1013 (timer--activate): Check psecs component, too.
1014
1015 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1016
ac77b21a
SM
10172012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1018
f143bfe3
SM
1019 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1020 Move the non-essential binding to the post/pre-command-hook where it is
1021 more obviously correct.
1022
ac77b21a
SM
1023 * subr.el (read-passwd): Don't use a history at all.
1024 * savehist.el (savehist-save): Remove password saved accidentally
1025 because of the above bug.
1026
76386c5a
BG
10272012-06-22 Bastien Guerry <bzg@gnu.org>
1028
1029 * files.el (toggle-read-only): Display a message telling whether
1030 the buffer is read-only or not (bug#11726).
1031
2ee3d7f0
SM
10322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emacs-lisp/gv.el: New file.
1035 * subr.el (push, pop): Extend to generalized variables.
1036 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1037 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1038 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1039 gv-define-simple-setter, and gv-define-expander.
1040 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1041 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1042 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1043 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1044 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1045 gv-letplace.
1046 (cl-defstruct): Don't define setf-method any more.
1047 * emacs-lisp/cl.el (flet): Don't autoload.
1048 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1049 (define-setf-expander, defsetf, define-modify-macro)
1050 (cl-struct-setf-expander): Move from cl-lib.el.
1051 * emacs-lisp/syntax.el:
1052 * emacs-lisp/ewoc.el:
1053 * emacs-lisp/smie.el:
1054 * emacs-lisp/cconv.el:
1055 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1056 (timer--time): Use gv-define-simple-setter.
1057 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1058 to avoid coding-system problems in subr.el. Adjust all users.
1059 (macroexp--maxsize, macroexp-small-p): New functions.
1060 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1061 * scroll-bar.el (scroll-bar-mode):
1062 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1063 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1064 * winner.el (winner-configuration, winner-make-point-alist)
1065 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1066 * files.el (locate-file-completion-table): Avoid list*.
1067
c5695d1d
CY
10682012-06-22 Chong Yidong <cyd@gnu.org>
1069
1070 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1071 (dired-create-files): Doc fix (Bug#11329).
1072 (dired-do-copy): Doc fix (Bug#11334).
1073 (dired-mark-read-string): Doc fix (Bug#11553).
1074
2ee3d7f0
SM
1075 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1076 Doc fix (Bug#11326).
c5695d1d
CY
1077 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1078 (dired-dwim-target): Doc fix.
1079
1080 * wdired.el (wdired-mode): Doc fix.
1081
89b5595a
GM
10822012-06-22 Glenn Morris <rgm@gnu.org>
1083
575db3f1
GM
1084 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1085 (pcmpl-rpm-cache-stamp-file): New constant.
1086 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1087 (pcmpl-rpm-packages): Optionally cache list of packages.
1088
a4c8dd51
GM
1089 * pcmpl-rpm.el (pcmpl-rpm): New group.
1090 (pcmpl-rpm-query-options): New option.
1091 (pcmpl-rpm-packages): No need to inline it.
1092 Use pcmpl-rpm-query-options.
1093
89b5595a
GM
1094 * calendar/calendar.el (calendar-in-read-only-buffer):
1095 Avoid some needless mode changes.
1096
e76f0800
CY
10972012-06-21 Chong Yidong <cyd@gnu.org>
1098
1099 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1100 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1101 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1102
297a8f1d
CY
11032012-06-20 Chong Yidong <cyd@gnu.org>
1104
1105 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1106
d34c18b1
DR
11072012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1108
1109 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1110 (bug#11201).
1111
32f7f28e
CY
11122012-06-20 Chong Yidong <cyd@gnu.org>
1113
1114 * term.el (term-window-width): Handle the case of a missing right
1115 fringe (Bug#8837).
1116 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1117 (term-mode): Use define-derived-mode. Minor cleanups.
1118 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1119 (term-move-columns, term-insert-char, term-emulate-terminal)
1120 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1121
493c6688
MA
11222012-06-20 Michael Albinus <michael.albinus@gmx.de>
1123
d34c18b1
DR
1124 * net/ange-ftp.el (ange-ftp-get-passwd):
1125 Bind `enable-recursive-minibuffers'.
493c6688
MA
1126 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1127
3f06ecf4
DR
11282012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1129
1130 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1131
68f12411
GM
11322012-06-19 Glenn Morris <rgm@gnu.org>
1133
1134 * progmodes/python.el (python-mode): Derive from prog-mode.
1135
b3820318
KG
11362012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1137
1138 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1139 (edt-user-menu-bar-update-buffers): New functions.
1140 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1141
c6bf3022
CY
11422012-06-19 Chong Yidong <cyd@gnu.org>
1143
1144 * subr.el (with-selected-window): Preserve the selected window's
1145 terminal's top-frame (Bug#4702).
1146
1147 * window.el (save-selected-window): Likewise.
1148
25f09295
SM
11492012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * progmodes/python.el (python-rx-constituents): Move backquote.
1152 (python-skeleton-define, python-define-auxiliary-skeleton):
1153 Use `declare'.
1154
6b11952a
MA
11552012-06-18 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * minibuffer.el (read-file-name-default): Revert the patch from
1158 2012-06-17.
1159
ee4b1330
SM
11602012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1163 (pcase--u1, pcase--q1): Don't use apply-partially.
1164
35647f79
GM
11652012-06-18 Glenn Morris <rgm@gnu.org>
1166
1167 * progmodes/python.el (python-proc, python-buffer)
1168 (python-send-receive, python-send-string): Fix obsolete versions.
1169
24b0cff0
MR
11702012-06-18 Martin Rudalics <rudalics@gmx.at>
1171
1172 * window.el (special-display-p): Completely remove stringp
1173 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1174
29855149
MA
11752012-06-17 Michael Albinus <michael.albinus@gmx.de>
1176
1177 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1178
1179 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1180
1181 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1182 * net/tramp-sh.el (tramp-maybe-open-connection):
1183 Throw if `non-essential' is non-nil.
1184
07463363
MR
11852012-06-17 Martin Rudalics <rudalics@gmx.at>
1186
1187 * window.el (special-display-p): Signal an error if BUFFER-NAME
1188 is not a string (Bug#11713).
1189
48d1354e
PE
11902012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 * progmodes/python.el (python-info-beginning-of-backslash):
1193 Rename from python-info-beginning-of-backlash, as a spelling fix.
1194
eb4a8a9a
CY
11952012-06-17 Chong Yidong <cyd@gnu.org>
1196
1197 * term.el (term-emulate-terminal): If term-check-size is called,
1198 move point to the process mark without resetting point (Bug#4635).
1199
ddfbf826 12002012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1201
1202 * international/mule-cmds.el (mule-menu-keymap)
1203 (set-language-environment, set-locale-environment): Doc tweaks.
1204
9b0e3eba
AA
12052012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1206
1207 * cus-face.el (custom-face-attributes): Add wave-style underline
1208 attribute.
1209 * faces.el (set-face-attribute): Update docstring to describe
1210 wave-style underline attribute.
1211
771e3eae
CY
12122012-06-16 Chong Yidong <cyd@gnu.org>
1213
1214 * term/xterm.el (terminal-init-xterm): Discard input before
1215 querying background mode (Bug#10959).
1216
7ae2ea10
SM
12172012-06-16 Stefan Merten <smerten@oekonux.de>
1218
1219 * textmodes/rst.el: Added and corrected some comments.
1220 (rst-re-alist-def): Improve symbol syntax.
1221 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1222 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1223 (rst-official-version, rst-official-cvs-rev): Update version
1224 information.
7ae2ea10 1225
b6974efa
JB
12262012-06-15 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1229 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1230
8826d473
GM
12312012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1232
1233 * progmodes/python.el: New python.el merge.
1234 (python-guess-indent): Obsolete var.
1235 (python-indent-guess-indent-offset): New defcustom.
1236 (python-indent): Obsolete var.
1237 (python-indent-offset): New defcustom.
1238 (python-python-command, python-jython-command): Delete var.
1239 (python-shell-interpreter): New defcustom.
1240 (python-pdbtrack-do-tracking-p): Delete var.
1241 (python-pdbtrack-activate): New defcustom.
1242 (python-use-skeletons): Obsolete var.
1243 (python-skeleton-autoinsert): New defcustom.
1244 (inferior-python-filter-regexp, python-continuation-offset)
1245 (python-honour-comment-indentation, python-indent-string-contents)
1246 (python-jython-packages, python-mode-hook)
1247 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1248 (python-shell-prompt-alist)
1249 (python-source-modes): Delete defcustoms.
1250 (python-check-buffer-name, python-eldoc-setup-code)
1251 (python-eldoc-string-code, python-ffap-setup-code)
1252 (python-ffap-string-code, python-fill-comment-function)
1253 (python-fill-decorator-function, python-fill-paren-function)
1254 (python-fill-string-function, python-imenu-include-defun-type)
1255 (python-imenu-make-tree, python-imenu-subtree-root-label)
1256 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1257 (python-shell-compilation-regexp-alist)
1258 (python-shell-completion-module-string-code)
1259 (python-shell-completion-pdb-string-code)
1260 (python-shell-completion-setup-code)
1261 (python-shell-completion-string-code)
1262 (python-shell-enable-font-lock, python-shell-exec-path)
1263 (python-shell-extra-pythonpaths)
1264 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1265 (python-shell-process-environment)
1266 (python-shell-prompt-block-regexp)
1267 (python-shell-prompt-output-regexp)
1268 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1269 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1270 (python-shell-virtualenv-path): New defcustoms.
1271 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1272 (inferior-python-mode-syntax-table, python--prompt-regexp)
1273 (python-buffer, python-command python-python-command)
1274 (python-default-template, python-imports, python-indent-index)
1275 (python-indent-list, python-indent-list-length)
1276 (python-mode-running, python-pdbtrack-is-tracking-p)
1277 (python-preoutput-continuation, python-preoutput-leftover)
1278 (python-preoutput-result, python-preoutput-skip-next-prompt)
1279 (python-prev-dir/file, python-recursing)
1280 (python-saved-check-command, python-version-checked)
1281 (python-which-func-length-limit)
1282 (view-return-to-alist): Delete vars.
1283 (python-check-custom-command, python-dotty-syntax-table)
1284 (python-imenu-index-alist, python-indent-current-level)
1285 (python-indent-dedenters, python-indent-levels)
1286 (python-nav-beginning-of-defun-regexp)
1287 (python-nav-list-defun-positions-cache)
1288 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1289 (python-shell-internal-buffer)
1290 (python-skeleton-available): New vars.
1291 (def-python-skeleton): Delete macro.
1292 (python-skeleton-define): New macro.
1293 (python-define-auxiliary-skeleton, python-rx): New macros.
1294 (python-insert-class): Delete command.
1295 (python-skeleton-class): New command.
1296 (python-insert-def): Delete command.
1297 (python-skeleton-def): New command.
1298 (python-insert-for): Delete command.
1299 (python-skeleton-for): New command.
1300 (python-insert-if): Delete command.
1301 (python-skeleton-if): New command.
1302 (python-insert-try/except, python-insert-try/finally): Delete commands.
1303 (python-skeleton-try): New command.
1304 (python-insert-while): Delete command.
1305 (python-skeleton-while): New command.
1306 (python-backspace): Delete command.
1307 (python-indent-dedent-line-backspace): New command.
1308 (python-electric-colon): Delete command.
1309 (python-indent-electric-colon): New command.
1310 (python-guess-indent): Delete command.
1311 (python-indent-guess-indent-offset): New command.
1312 (python-shift-left): Delete command.
1313 (python-indent-shift-left): New command.
1314 (python-shift-right): Delete command.
1315 (python-indent-shift-right): New command.
1316 (python-find-function): Delete command.
1317 (python-nav-jump-to-defun): New command.
1318 (python-next-statement): Delete command.
1319 (python-nav-forward-sentence): New command.
1320 (python-previous-statement): Delete command.
1321 (python-nav-backward-sentence): New command.
1322 (python-fill-paragraph): Delete command.
1323 (python-fill-paragraph-function): New command.
1324 (python-send-buffer): Delete command.
1325 (python-shell-send-buffer): New command.
1326 (python-send-defun): Delete command.
1327 (python-shell-send-defun): New command.
1328 (python-send-region, python-send-region-and-go): Delete commands.
1329 (python-shell-send-region)
1330 (python-shell-switch-to-shell): New commands.
1331 (python-send-string): Delete command.
1332 (python-shell-send-string): New command.
1333 (python-switch-to-python): Delete command.
1334 (python-shell-switch-to-shell): New command.
1335 (python-describe-symbol): Delete command.
1336 (python-eldoc-at-point): New command.
1337 (python--set-prompt-regexp, python-args-to-list)
1338 (python-after-info-look, python-check-version)
1339 (python-check-comint-prompt, python-find-imports)
1340 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1341 (python-unload-function, python-expand-template)
1342 (python-maybe-jython, python-preoutput-filter)
1343 (python-pdbtrack-get-source-buffer)
1344 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1345 (python-pdbtrack-toggle-stack-tracking)
1346 (python-pdbtrack-track-stack-file, python-initial-text)
1347 (python-first-word, python-comment-line-p, python-send-command)
1348 (python-setup-brm, python-sentinel, python-set-proc)
1349 (python-skip-out, python-input-filter, python-outdent-p)
1350 (python-outline-level, python-backslash-continuation-line-p)
1351 (python-end-of-block, python-end-of-statement, python-mark-block)
1352 (python-beginning-of-block, python-beginning-of-statement)
1353 (python-blank-line-p, python-beginning-of-string)
1354 (python-open-block-statement-p): Delete functions.
1355 (python-indent-line, python-indent-line-1): Delete functions.
1356 (python-indent-line): New function.
1357 (python-indentation-levels): Delete function.
1358 (python-indent-calculate-levels): New function.
1359 (python-proc): Delete function.
1360 (python-shell-get-process): New function.
1361 (python-send-receive): Delete function.
1362 (python-shell-send-string-no-output): New function.
1363 (python-module-path): Delete function.
1364 (python-ffap-module-path): New function.
1365 (python-completion-at-point)
1366 (python-symbol-completions): Delete functions.
1367 (python-completion-complete-at-point): New function.
1368 (python-load-file): Delete function.
1369 (python-shell-send-file): New function.
1370 (python-calculate-indentation): Delete function.
1371 (python-indent-calculate-indentation): New function.
1372 (python-skip-comments/blanks): Delete function.
1373 (python-util-forward-comment): New function.
1374 (python-continuation-line-p): Delete function.
1375 (python-info-continuation-line-p): New function.
1376 (python-which-func, python-current-defun): Delete function.
1377 (python-info-current-defun): New function.
1378 (python-beginning-of-defun): Delete function.
1379 (python-nav-beginning-of-defun): New function.
1380 (python-close-block-statement-p)
1381 (python-block-end-p): Delete function.
1382 (python-info-closing-block): New function.
1383 (python-comint-output-filter-function)
1384 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1385 (python-fill-comment, python-fill-decorator, python-fill-paren)
1386 (python-fill-string, python-imenu-make-element-tree)
1387 (python-imenu-make-tree, python-imenu-tree-assoc)
1388 (python-indent-context, python-indent-dedent-line)
1389 (python-indent-line-function)
1390 (python-indent-post-self-insert-function)
1391 (python-indent-toggle-levels)
1392 (python-info-assignment-continuation-line-p)
1393 (python-info-beginning-of-backlash)
1394 (python-info-block-continuation-line-p)
1395 (python-info-closing-block-message)
1396 (python-info-line-ends-backslash-p)
1397 (python-info-looking-at-beginning-of-defun)
1398 (python-info-ppss-context, python-info-ppss-context-type)
1399 (python-nav-list-defun-positions, python-nav-read-defun)
1400 (python-nav-sentence-end, python-nav-sentence-start)
1401 (python-pdbtrack-comint-output-filter-function)
1402 (python-pdbtrack-set-tracked-buffer)
1403 (python-shell-calculate-exec-path)
1404 (python-shell-calculate-process-environment)
1405 (python-shell-completion--do-completion-at-point)
1406 (python-shell-completion--get-completions)
1407 (python-shell-completion-complete-at-point)
1408 (python-shell-completion-complete-or-indent)
1409 (python-shell-get-or-create-process)
1410 (python-shell-get-process-name)
1411 (python-shell-internal-get-or-create-process)
1412 (python-shell-internal-get-process-name)
1413 (python-shell-internal-send-string, python-shell-make-comint)
1414 (python-shell-parse-command, python-shell-send-setup-code)
1415 (python-skeleton-add-menu-items)
1416 (python-util-clone-local-variables, python-util-position)
1417 (run-python-internal, python-indentation-levels)
1418 (python-nav-beginning-of-defun)
1419 (python-completion-complete-at-point): New functions.
1420 (run-python): Change arguments. New API requirements.
1421
4302f5ba
SM
14222012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1423
f38ea36d
SM
1424 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1425 (bug#11649).
1426
1427 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1428 (macroexp--expand-all): Use it.
1429
4302f5ba
SM
1430 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1431 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1432 Use `cl-function' instead.
1433
33377562
JB
14342012-06-14 Juanma Barranquero <lekktu@gmail.com>
1435
1436 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1437 Suggested by Stefan Monnier while discussing bug#11657.
1438
54c5ba1a
SS
14392012-06-14 Sam Steingold <sds@gnu.org>
1440
1441 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1442
f9f1b1fe
AS
14432012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1444
1445 * play/doctor.el (doctor-doc): Remove parameter and use
1446 doctor-sent instead of sent.
1447 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1448
a81068ba
SM
14492012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1450
5a315f9c
SM
1451 * files.el: Require cl-lib.
1452 (file-name-non-special): Replace case -> cl-case.
1453
1454 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1455
a81068ba
SM
1456 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1457 mapping from #' to function*.
1458
8cca9703
CY
14592012-06-13 Chong Yidong <cyd@gnu.org>
1460
1461 * mouse.el (mouse-drag-track): Do not set the mark if the user
1462 releases the mouse without selecting anything (Bug#11588).
1463
a12ac9d7
SM
14642012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1465
ccf1dc18
SM
1466 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1467 as well (bug#11646).
1468
ef62b23d
SM
1469 * loadup.el: Count byte-code functions as well.
1470
c4c8444a
SM
1471 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1472 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1473
a12ac9d7
SM
1474 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1475 (bug#11649). Add cl-defun and cl-defmacro.
1476
87e6e64f
DA
14772012-06-13 Drew Adams <drew.adams@oracle.com>
1478
1479 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1480 Fix last change.
1481
682cefaf
MA
14822012-06-13 Michael Albinus <michael.albinus@gmx.de>
1483
1484 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1485 Otherwise, it blocks in batch mode.
1486
773e1f08
JB
14872012-06-13 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * help-mode.el (bookmark-make-record-default): Declare.
1490
60057926
CY
14912012-06-13 Chong Yidong <cyd@gnu.org>
1492
1493 * emacs-lisp/package.el (list-packages): Compute a list of
1494 packages that are newly-available since the last list-packages
1495 invocation.
1496 (package-menu--new-package-list): New var.
1497 (package-menu--generate, package-menu--print-info)
1498 (package-menu--status-predicate, package-menu-mark-install):
1499 Handle new status label "new".
1500
ad4d226c
SM
15012012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1504 conversion to backquotes.
1505
f1a4e679
CY
15062012-06-12 Chong Yidong <cyd@gnu.org>
1507
1508 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1509 Rename from gud-inhibit-global-bindings.
1510
1511 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1512
1513 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1514 hook from nxml-glyph-set-hook.
1515
1516 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1517 declaration.
1518
1519 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1520
1521 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1522 Convert to defcustom.
1523
0c9e42b5
DA
15242012-06-12 Drew Adams <drew.adams@oracle.com>
1525
1526 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1527 New functions.
1528 (help-mode): Use them.
1529
09e06855
GM
15302012-06-11 Glenn Morris <rgm@gnu.org>
1531
1532 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1533 Use preprocessor face for directives.
1534 (fortran-directive-re): Doc fix.
1535
71adb94b
SM
15362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1537
2eb87922
SM
1538 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1539 conversion to backquotes (bug#11652).
1540
71adb94b
SM
1541 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1542 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1543 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1544 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1545 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1546 (cl-ninth, cl-tenth): Mark them as inlinable.
1547 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1548 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1549 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1550 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1551 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1552 (cl-list*, cl-adjoin): Don't put an autoload manually.
1553 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1554 (cl--compiler-macro-list*): Add autoload cookie.
1555 (cl--compiler-macro-cXXr): New function.
2eb87922 1556
71adb94b
SM
1557 * help-fns.el (help-fns--compiler-macro): New function extracted from
1558 describe-function-1; follow aliases and use `compiler-macro' property.
1559 (describe-function-1): Use it.
1560
a6674402
CY
15612012-06-11 Chong Yidong <cyd@gnu.org>
1562
1563 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1564 is uninstalled, if imagemagick is installed.
1565
bb3faf5b
SM
15662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * emacs-lisp/cl-lib.el: Use lexical-binding.
1569 (cl-map-extents, cl-maclisp-member): Remove.
1570 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1571 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1572 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1573 * emacs-lisp/cl-extra.el: Use lexical-binding.
1574 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1575 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1576 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1577 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1578 * emacs-lisp/cl-seq.el: Use lexical-binding.
1579 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1580 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1581 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1582 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1583 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1584 CL's internals.
1585
2fe4b125
MA
15862012-06-11 Michael Albinus <michael.albinus@gmx.de>
1587
1588 Sync with Tramp 2.2.6-pre.
1589
1590 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1591 `print-length' and `print-level' to nil, in order to avoid
1592 truncation. Reported by Christopher Schmidt
1593 <christopher@ristopher.com>.
1594
1595 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1596
1597 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1598 New defmacro.
1599 (tramp-compat-copy-directory): Add optional argument
1600 COPY-CONTENTS. It is not handled yet.
1601
1602 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1603 (tramp-ftp-file-name-p): Simplify.
1604
1605 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1606 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1607 connection vector.
1608
1609 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1610 (tramp-methods): Do not use `tramp-password-end-of-line'.
1611 (tramp-completion-function-alist-putty): Handle UNIX case.
1612 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1613 (tramp-do-file-attributes-with-stat)
1614 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1615 gid as real numbers. They could run out of integer range on cygwin.
1616 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1617 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1618 (tramp-open-connection-setup-interactive-shell):
1619 Use `tramp-cleanup'. Move check for busyboxes ...
1620 (tramp-find-shell): ... here. Simplify implementation.
1621 Set "remote-shell" property also for alternative shells.
1622 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1623 If failing, a regular file would be written otherwise.
1624 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1625 (tramp-find-inline-encoding): Cache the coding commands in the
1626 process cache. Apply test command on the remote side, if defined.
1627 (tramp-find-inline-compress): Cache the compress commands in the
1628 process cache.
1629 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1630 when requested. Handle hops.
1631 (tramp-current-connection): New defvar.
87e6e64f
DA
1632 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1633 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1634 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1635 (tramp-get-inline-compress, tramp-get-inline-coding):
1636 Read connection properties from the process cache.
2fe4b125
MA
1637
1638 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1639 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1640 New defconsts.
2fe4b125
MA
1641 (tramp-smb-prompt): Extend for powershell prompt.
1642 (tramp-smb-file-name-handler-alist): Add handlers for
1643 `process-file', `shell-command' and `start-file-process'.
1644 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1645 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1646 (tramp-smb-file-name-p): Simplify.
1647 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1648 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1649 (tramp-smb-shell-quote-argument): New defuns.
1650 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1651 Implement using "tar". By this, time-stamps are preserved.
1652 (tramp-smb-handle-copy-file): Handle also the case of directories.
1653 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1654 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1655 Use `tramp-get-connection-buffer').
2fe4b125
MA
1656 (tramp-smb-handle-rename-file): Use "rename", when source and
1657 target are on the same share.
87e6e64f
DA
1658 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1659 Use `tramp-smb-server-version'.
2fe4b125
MA
1660 (tramp-smb-wait-for-output): Remove prompt.
1661
1662 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1663 (tramp-methods, tramp-rsh-end-of-line):
1664 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1665 (tramp-save-ad-hoc-proxies): New defcustom.
1666 (tramp-completion-function-alist): Adapt docstring.
1667 (tramp-default-password-end-of-line): Remove defcustom.
1668 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1669 (tramp-user-regexp, tramp-file-name-regexp-unified)
1670 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1671 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1672 (tramp-remote-file-name-spec-regexp): New defconst.
1673 (tramp-file-name-structure): Extend structure for hops.
1674 (tramp-get-method-parameter): Move up.
1675 (tramp-file-name-p, tramp-dissect-file-name)
1676 (with-parsed-tramp-file-name): Handle hops.
1677 (tramp-file-name-hop): New defun.
1678 (tramp-make-tramp-file-name): New optional arg HOP.
1679 (tramp-message-show-progress-reporter-message): New defvar.
1680 (tramp-with-progress-reporter): Use it. We cannot use
1681 `tramp-message-show-message' here, because this suppresses also
1682 error buffers.
1683 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1684 `tramp-message-show-message' is nil.
1685 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1686 (tramp-cleanup): New defun.
1687 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1688 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1689 an error unchanged.
1690 (tramp-completion-handle-file-name-all-completions): Handle hops.
1691 Fix an error when called from ido.
1692 (tramp-completion-dissect-file-name): Use better local variable
1693 name. Add hop to the vector.
1694 (tramp-handle-insert-file-contents): Use progress-reporter for the
1695 whole scenario.
1696 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1697 to `t'.
1698 (tramp-check-for-regexp): Simplify search.
1699 (tramp-enter-password): Remove it. Move implementation ...
1700 (tramp-action-password): ... here.
1701 (tramp-mode-string-to-int, tramp-local-host-p)
1702 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1703 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1704 Set tramp-autoload cookie.
2fe4b125
MA
1705
1706 * net/trampver.el: Update release number.
1707
17082012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1709 Michael Albinus <michael.albinus@gmx.de>
1710
1711 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1712 (tramp-parse-group, tramp-parse-file)
1713 (tramp-parse-shostkeys-sknownhosts): New defuns.
1714 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1715 (tramp-parse-shosts-group, tramp-parse-sconfig)
1716 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1717 (tramp-parse-sknownhosts, tramp-parse-hosts)
1718 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1719 Use them.
1720 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1721 (tramp-parse-putty-group): Don't narrow.
1722 (tramp-parse-putty): Make a loop.
1723 (tramp-file-name-handler): Catch the `suppress' signal.
1724
72834e10
CY
17252012-06-11 Chong Yidong <cyd@gnu.org>
1726
1727 * image.el (imagemagick-register-types): Put the ImageMagick entry
1728 at the end of image-type-file-name-regexps.
1729
a4712e11
JB
17302012-06-11 Johan Bockgård <bojohan@gnu.org>
1731
1732 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1733 (pcase, pcase-let*, pcase-dolist): Use them.
1734
82ad98e3
SM
17352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * emacs-lisp/pcase.el (pcase--let*): New function.
1738 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1739 (pcase--expand): Use macroexp-let².
1740
f80efb86
SM
17412012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1744 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1745 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1746 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1747 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1748 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1749
31ca4639 17502012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1751
31ca4639
CY
1752 * mail/rmail.el (rmail-yank-current-message): Leave point at
1753 correct position. (Bug#11660)
94f0aa34 1754
31ca4639 17552012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1756
31ca4639 1757 * allout-widgets.el: Fix code header.
9e1b8ec4 1758
31ca4639 17592012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1760
f80efb86
SM
1761 * cus-edit.el (customize-changed-options-previous-release):
1762 Bump to 24.1.
31ca4639 1763
642b6d30
AS
17642012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1765
1766 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1767
4f5d2ba1
CY
17682012-06-09 Chong Yidong <cyd@gnu.org>
1769
1770 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1771
e75852fd
MR
17722012-06-09 Martin Rudalics <rudalics@gmx.at>
1773
1774 * window.el (special-display-popup-frame): Don't use
1775 window--display-buffer (Bug#11651).
1776
1e48e282
EZ
17772012-06-09 Eli Zaretskii <eliz@gnu.org>
1778
8a26b487
EZ
1779 Fix parallel builds: make sure loaddefs.el is not being written
1780 while Lisp files are compiled.
1781 (compile): Don't depend on 'mh-autoloads'.
1782 (compile-CMD, compile-SH): Depend on 'autoloads'.
1783 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1784
1e48e282
EZ
1785 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1786
6175e34b
CY
17872012-06-09 Chong Yidong <cyd@gnu.org>
1788
1789 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1790 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1791 Doc fixes (Bug#11225).
1792
d9857e53
SM
17932012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1796 a function if there's a clear indication that it has a compiler-macro.
1797 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1798 (macro-declarations-alist): Add arglist to declaration functions.
1799 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1800 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1801 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1802 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1803 Also add autoload to find the compiler macro.
1804 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1805 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1806 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1807 (cl--compiler-macro-get): New functions, replacing calls to
1808 cl-define-compiler-macro.
1809 (cl-typep) [compiler-macro]: Use macroexp-let².
1810
f81298f8 18112012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1812
1813 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1814 string properly, fixes Bug#11473.
1815
4b56d0fe
CY
18162012-06-08 Chong Yidong <cyd@gnu.org>
1817
1818 * faces.el (set-face-attribute): Doc fix.
1819 (modify-face): Don't use :bold and :italic.
1820 (error, warning, success): Tweak definitions.
1821
1822 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1823 (custom-modified, custom-set, custom-changed, custom-themed)
1824 (custom-saved, custom-button, custom-button-mouse)
1825 (custom-button-pressed, custom-state, custom-comment-tag)
1826 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1827 (custom-group-subtitle): Use new-style face specs.
1828 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1829 (custom-set-face, custom-changed-face, custom-saved-face)
1830 (custom-button-face, custom-button-pressed-face)
1831 (custom-documentation-face, custom-state-face)
1832 (custom-comment-face, custom-comment-tag-face)
1833 (custom-variable-tag-face, custom-variable-button-face)
1834 (custom-face-tag-face, custom-group-tag-face-1)
1835 (custom-group-tag-face): Remove obsolete face alias.
1836
1837 * epa.el (epa-validity-high, epa-validity-medium)
1838 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1839 (epa-field-name, epa-field-body):
1840 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1841 (font-lock-keyword-face, font-lock-builtin-face)
1842 (font-lock-function-name-face, font-lock-variable-name-face)
1843 (font-lock-type-face, font-lock-constant-face):
1844 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1845 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1846 * speedbar.el (speedbar-button-face, speedbar-file-face)
1847 (speedbar-directory-face, speedbar-tag-face)
1848 (speedbar-selected-face, speedbar-highlight-face)
1849 (speedbar-separator-face):
1850 * whitespace.el (whitespace-newline, whitespace-space)
1851 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1852 (whitespace-line, whitespace-space-before-tab)
1853 (whitespace-space-after-tab, whitespace-indentation)
1854 (whitespace-empty):
1855 * emulation/cua-base.el (cua-global-mark):
1856 * eshell/em-prompt.el (eshell-prompt):
1857 * net/newst-plainview.el (newsticker-new-item-face)
1858 (newsticker-old-item-face, newsticker-immortal-item-face)
1859 (newsticker-obsolete-item-face, newsticker-date-face)
1860 (newsticker-statistics-face, newsticker-default-face):
1861 * net/newst-reader.el (newsticker-feed-face)
1862 (newsticker-extra-face, newsticker-enclosure-face):
1863 * net/newst-treeview.el (newsticker-treeview-face)
1864 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1865 (newsticker-treeview-immortal-face)
1866 (newsticker-treeview-obsolete-face)
1867 (newsticker-treeview-selection-face):
1868 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1869 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1870 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1871 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1872 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1873 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1874 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1875 (mpuz-text):
1876 * progmodes/vera-mode.el (vera-font-lock-number)
1877 (vera-font-lock-function, vera-font-lock-interface):
1878 * textmodes/table.el (table-cell): Use new-style face specs, and
1879 don't use the old :bold and :italic attributes.
1880
1881 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1882 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1883 (ebrowse-member-class, ebrowse-progress): Likewise.
1884 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1885 (ebrowse-file-name-face, ebrowse-default-face)
1886 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1887 (ebrowse-progress-face): Remove obsolete faces.
1888
1889 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1890 Inherit from error and warning faces respectively.
1891
1892 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1893 Likewise.
f80efb86
SM
1894 (flyspell-incorrect-face, flyspell-duplicate-face):
1895 Remove obsolete aliases.
4b56d0fe 1896
03310646
MA
18972012-06-08 Michael Albinus <michael.albinus@gmx.de>
1898
1899 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1900 Avoid infloop.
1901
513749ee
SM
19022012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * startup.el (argv, argi): Make lexically scoped.
1905 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1906 * emacs-lisp/cl-macs.el: Use lexical-binding.
1907 Rename cl-bind-* to cl--bind-*.
1908 * files.el: Don't require `cl' since it doesn't use it.
1909 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1910
595ef4ad
JB
19112012-06-08 Juanma Barranquero <lekktu@gmail.com>
1912
1913 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1914 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1915 instead of calling external sort utility.
1916 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1917
e9f66fcb
EZ
19182012-06-08 Eli Zaretskii <eliz@gnu.org>
1919
1920 * descr-text.el (describe-char): Mention how to insert the
1921 character, if the current input method doesn't support it.
1922 See the discussion in this thread for the details:
1923 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1924
3d10db47
SS
19252012-06-08 Sam Steingold <sds@gnu.org>
1926
1927 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1928 XF86Back to previous-buffer.
1929 (minibuffer-local-map): Bind them to next-history-element and
1930 previous-history-element respectively.
1931 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1932 help-go-back respectively.
1933 * info.el (Info-mode-map): Bind them to Info-history-forward and
1934 Info-history-back respectively.
1935 These are the keys next to Up on the ThinkPad keyboard.
1936
de7e2b36
SM
19372012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1940 * emacs-lisp/cl-macs.el: Provide itself.
1941 (cl--labels-convert-cache): New var.
1942 (cl--labels-convert): New function.
1943 (cl-flet, cl-labels): New implementation with new semantics, relying on
1944 lexical-binding.
1945 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1946 (cl-closure-vars, cl--function-convert-cache)
1947 (cl--function-convert): Move from cl-macs.el.
1948 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1949 rename by removing the "cl-" prefix.
1950 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1951
6fa6c4ae
SM
19522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1955 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1956 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1957 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1958 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1959 (cl-hash-table-count): Add old compatibility aliases.
1960
1961 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1962 Use macroexpand-all-environment instead.
1963 (cl--old-macroexpand): New var.
1964 (cl--sm-macroexpand): New function.
1965 (cl-symbol-macrolet): Use it during macro expansion.
1966 (cl--function-convert-cache): New var.
1967 (cl--function-convert): New function, extracted from
1968 cl-macroexpand-all.
1969 (cl-lexical-let): Use it.
1970
1971 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1972 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1973 (cl-member): Remove old alias.
1974
1975 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1976 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1977 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1978 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1979 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1980 (cl-macroexpand-cmacs): Remove var.
1981 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1982 Use macroexpand-all instead.
1983
4dd1c416
SM
19842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1987 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1988 (macroexp-copyable-p): New functions and macros.
1989 * emacs-lisp/edebug.el (edebug-unwrap):
1990 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1991 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1992 (pcase--let*): Remove.
1993 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1994 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1995 macroexp-const-p instead.
1996 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1997
1998 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1999 instead of "cl-" for internal definitions. Use macroexp-const-p.
2000 (cl-old-bc-file-form): Remove var.
2001 (cl-const-exprs-p): Remove fun.
2002 (cl-labels, cl-macrolet): Use backquote.
2003 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2004 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2005 (cl-define-setf-expander): Rename from cl-define-setf-method.
2006 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2007
2008 * international/mule-cmds.el: Don't require CL.
2009 (view-hello-file): Don't use `letf'.
2010
ed8bd4d7
SM
20112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2012
7287f2f3
SM
2013 * tmm.el (tmm-prompt): Use string-prefix-p.
2014 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2015 (tmm-add-prompt): Use minibuffer-completion-help.
2016 (tmm-delete-map): Remove.
2017
ed8bd4d7
SM
2018 * subr.el (kbd): Make it its own function.
2019
7b4cdbf4
SM
20202012-06-07 Stefan Merten <smerten@oekonux.de>
2021
2022 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2023 Silence compiler warnings. Fix versions.
ed8bd4d7 2024 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2025 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2026 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2027 (rst-package-emacs-version-alist): Correct Emacs version to
2028 represent major merge with upstream.
ed8bd4d7 2029 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2030
2b48d721
GM
20312012-06-06 Glenn Morris <rgm@gnu.org>
2032
2033 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2034 Only print environment variables if set.
2035
fa779ab0
SM
20362012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2039 (macroexp--cons): Rename from maybe-cons.
2040 (macroexp--accumulate): Rename from macroexp-accumulate.
2041 (macroexp--all-forms): Rename from macroexpand-all-forms.
2042 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2043 (macroexp--expand-all): Rename from macroexpand-all-1.
2044
628299e0
SS
20452012-06-06 Sam Steingold <sds@gnu.org>
2046
2047 * calendar/calendar.el (calendar-in-read-only-buffer):
2048 Call `special-mode' to enable the standard read-only keybindings.
2049
b7bb5838
SM
20502012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2053 with "loading" messages (bug#11635).
2054
dfb308ba
MA
20552012-06-06 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * files.el (enable-remote-dir-locals): New option.
2058 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2059
0372ee92
MA
2060 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2061 Ensure, that the temp directory is local.
2062
2063 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2064 `temporary-file-directory'.
2065
eed0bb91
MA
2066 * progmodes/python.el (python-send-region): Ensure, that the
2067 temporary file is created also in the remote case.
2068
7a58f64d
GM
20692012-06-06 Glenn Morris <rgm@gnu.org>
2070
f7dd4e98
GM
2071 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2072 (vc-rcs-update-changelog): Use it.
2073
090bd7cb 2074 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2075
7a58f64d
GM
2076 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2077 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2078 (vc-sccs-diff): Replace use of the external vcdiff script.
2079
daed4003
GM
20802012-06-05 Glenn Morris <rgm@gnu.org>
2081
2082 * ledit.el: Move to obsolete/.
2083
48c455c7
SS
20842012-06-05 Sam Steingold <sds@gnu.org>
2085
ed9265fc 2086 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2087 patch (Bug#11140).
2088
57a7d507
SM
20892012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2090
090bd7cb 2091 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2092
53aacf21
SM
2093 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2094 compiler-macro expansion.
2095
57a7d507
SM
2096 Add native compiler-macro support.
2097 * emacs-lisp/macroexp.el (macroexpand-all-1):
2098 Support compiler-macros directly. Properly follow aliases and apply
2099 the compiler macros more thoroughly.
2100 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2101 macroexpand now properly follows aliases.
2102 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2103 (cl-compiler-macroexpand): Use new prop.
2104 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2105
2106 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2107
51a5f9d8
MR
21082012-06-05 Martin Rudalics <rudalics@gmx.at>
2109
2110 * window.el (get-lru-window, get-mru-window, get-largest-window):
2111 New argument NOT-SELECTED to avoid picking the selected window.
2112 (window--display-buffer-1, window--display-buffer-2): Replace by
2113 new function window--display-buffer
2114 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2115 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2116 Use window--display-buffer.
51a5f9d8
MR
2117 (display-buffer-use-some-window): Remove temporary dedication
2118 hack by calling get-lru-window and get-largest-window with
2119 NOT-SELECTED argument non-nil. Call window--display-buffer.
2120
08f9f738
GM
21212012-06-05 Glenn Morris <rgm@gnu.org>
2122
2123 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2124 Replace external vcdiff script.
2125
e364a2b7
SM
21262012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2129
041df390
CY
21302012-06-04 Chong Yidong <cyd@gnu.org>
2131
e364a2b7
SM
2132 * image.el (imagemagick-types-inhibit): Revert last change.
2133 Add INFO and M.
47b36b94 2134 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2135
7c1898a7
SM
21362012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/cl-lib.el: Rename from cl.el.
2139 * emacs-lisp/cl.el: New compatibility file.
2140 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2141 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2142 to obey the "cl-" prefix.
2143 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2144
0c3461de
GM
21452012-06-03 Glenn Morris <rgm@gnu.org>
2146
1e266c88
GM
2147 * emacs-lisp/authors.el (authors-aliases): Addition.
2148
0c3461de
GM
2149 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2150 Fix :version.
2151
d8a52e15
SM
21522012-06-03 Stefan Merten <smerten@oekonux.de>
2153
2154 * textmodes/rst.el: Add comments.
2155 (rst-transition, rst-adornment): New faces.
2156 (rst-adornment-faces-alist): Make default safe to reevaluate.
2157 Fixes
2158 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2159 Improve customization tags.
2160 (rst-define-level-faces): Clarify meaning.
2161
5205d6f6
CY
21622012-06-03 Chong Yidong <cyd@gnu.org>
2163
2164 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2165 (compilation-mode-line-run, compilation-mode-line-exit):
2166 New faces.
5205d6f6
CY
2167 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2168
757ee657
JD
21692012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2170
7c1898a7
SM
2171 * progmodes/which-func.el (which-func-update-ediff-windows):
2172 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2173
5f2c76c6
CY
21742012-06-03 Chong Yidong <cyd@gnu.org>
2175
2176 * bindings.el: Remove explicit help text from format-mode-line.
2177 It is now supplied by mode-line-default-help-echo.
2178 (mode-line-front-space, mode-line-end-spaces)
2179 (mode-line-misc-info): New variables.
2180 (mode-line-modes, mode-line-position): Move the default value to
2181 the variable definition.
2182 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2183 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2184 (mode-line-modified-help-echo): New functions.
2185 (mode-line-mule-info, mode-line-modified): Use them.
2186 (mode-line-eol-desc, propertized-buffer-identification):
2187 Consistency fixes for help text.
cbe46e5f
CY
2188 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2189 set-buffer-file-coding-system (Bug#289).
2190 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2191
f2d6a3df
SM
21922012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * simple.el (execute-extended-command): Set real-this-command
2195 (bug#11506).
2196
37269466
CY
21972012-06-02 Chong Yidong <cyd@gnu.org>
2198
2199 Remove incorrect uses of "modeline" in comments, docstrings, and
2200 function/variable names (Bug#10329).
2201
2202 * cus-edit.el (mode-line):
2203 * dframe.el (dframe-mouse-hscroll):
2204 * emacs-lisp/re-builder.el:
2205 * emacs-lisp/easy-mmode.el (define-minor-mode):
2206 * frame.el (set-frame-name):
2207 * help.el (lookup-minor-mode-from-indicator):
2208 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2209 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2210 (c-toggle-hungry-state):
2211 * progmodes/antlr-mode.el (antlr-language-alist):
2212 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2213 * progmodes/vhdl-mode.el (vhdl-mode):
2214 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2215 * term/ns-win.el (ns-face-at-pos):
2216 * term/sup-mouse.el (sup-mouse-report):
2217 * textmodes/flyspell.el (flyspell-mode-line-string):
2218 * textmodes/ispell.el (ispell-highlight-face):
2219 * textmodes/reftex-global.el:
2220 * vc/vc-arch.el (vc-arch-mode-line-string):
2221 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2222 * vc/vc-git.el (vc-git-mode-line-string):
2223 * vc/vc-hooks.el (vc-display-status)
2224 (vc-default-mode-line-string):
2225 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2226
2227 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2228
2229 * dired.el (dired-sort-set-mode-line): Rename from
2230 dired-sort-set-modeline. All callers changed.
2231
2232 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2233 eshell-status-in-modeline.
2234
2235 * foldout.el (foldout-mode-line-string): Rename from
2236 foldout-modeline-string. All callers changed.
2237 (foldout-update-mode-line): Rename from foldout-update-modeline.
2238
2239 * subr.el (redraw-modeline): Make into obsolete alias.
2240
2241 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2242 timeclock-modeline-display. Make old name an alias.
2243 (timeclock-update-mode-line): Likewise. All callers changed.
2244 (timeclock-mode-line-display): No need to check before using
2245 add-hook.
2246 (timeclock-relative, timeclock-day-over-hook)
2247 (timeclock-use-elapsed, timeclock-mode-string)
2248 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2249
2250 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2251 crisp-mode-modeline-string.
2252
2253 * play/solitaire.el (solitaire-build-mode-line): Rename from
2254 solitaire-build-modeline. All callers changed.
2255
2256 * play/zone.el (zone-hiding-mode-line): Rename from
2257 zone-hiding-modeline. All callers changed.
2258 (zone): Remove unusued `modeline-hidden-level' property.
2259
2260 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2261 xscheme-modeline-initialize. All callers changed.
2262
2263 * strokes.el (strokes-lighter): Rename from
2264 strokes-modeline-string.
2265
2266 * textmodes/sgml-mode.el (html-face-tag-alist)
2267 (html-tag-face-alist): Use mode-line face instead of obsolete
2268 alias modeline.
2269
42152ee4
SM
22702012-06-02 Stefan Merten <smerten@oekonux.de>
2271
2272 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2273 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2274
95f520b5
CY
22752012-06-02 Chong Yidong <cyd@gnu.org>
2276
2277 * image.el (imagemagick-enabled-types): Rename from
2278 imagemagick-types-enable. Add many more types.
2279 (imagemagick-types-inhibit): Change default to nil.
2280 (imagemagick-filter-types): Caller changed.
2281
4a5f187a
SM
22822012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2283
03fef3e6
SM
2284 * emacs-lisp/cl-macs.el: Use backquotes.
2285 (cl-transform-function-property): Use eval-and-compile rather than
2286 abusing `require'.
2287 (defstruct): Use declare-function instead of with-no-warnings.
2288
4a5f187a
SM
2289 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2290 (byte-compile-output-docform): Re-add the print-circle bindings.
2291 (byte-compile-fix-header): Use #$ just because it's shorter.
2292 (byte-compile-output-file-form): Remove defun/defmacro.
2293
bd56924f
MR
22942012-06-01 Martin Rudalics <rudalics@gmx.at>
2295
2296 * simple.el (choose-completion): Remove now obsolete binding for
2297 owindow.
2298
046e38ce
MA
22992012-06-01 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2302 in order to avoid "Stack overflow in regexp matcher".
2303
32d72c2f
GM
23042012-05-31 Glenn Morris <rgm@gnu.org>
2305
2306 * image.el: For clarity, call imagemagick-register-types at
2307 top-level, rather than relying on a custom :initialize.
2308 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2309 (imagemagick-filter-types): New function. (Bug#7406)
2310 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2311 If disabling support, remove elements altogether rather
2312 than using an impossible regexp.
2313 (imagemagick-types-inhibit): Give it the default init function.
2314
dd41169b
SM
23152012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2316
4a5f187a
SM
2317 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2318 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2319
efc00ab1 23202012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2321
2322 * desktop.el (desktop-read): Clear previous and next buffers for
2323 all windows and bury *Messages* buffer (bug#11556).
2324
500fcedc
SM
23252012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 Add `declare' for `defun'. Align `defmacro's with it.
2328 * emacs-lisp/easy-mmode.el (define-minor-mode)
2329 (define-globalized-minor-mode): Don't autoload the var definitions.
2330 * emacs-lisp/byte-run.el: Use lexical-binding.
2331 (defun-declarations-alist, macro-declarations-alist): New vars.
2332 (defmacro, defun): Use them.
2333 (make-obsolete, define-obsolete-function-alias)
2334 (make-obsolete-variable, define-obsolete-variable-alias):
2335 Use `declare'.
2336 (macro-declaration-function): Mark obsolete.
2337 * emacs-lisp/autoload.el: Use lexical-binding.
2338 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2339
6e8a1786
AM
23402012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2341
2342 * textmodes/ispell.el (ispell-with-no-warnings):
2343 Define as a macro.
500fcedc
SM
2344 (ispell-kill-ispell, ispell-change-dictionary):
2345 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2346 `interactive-p'.
2347
61b108cc
SM
23482012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2351 (macro-declaration-function): Move var from C code.
2352 (macro-declaration-function): Define function with defalias.
2353 * emacs-lisp/macroexp.el (macroexpand-all-1):
2354 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2355 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2356 defun/defmacro any more.
2357 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2358 Provide fallback for unknown arglist.
2359 (byte-compile-arglist-warn): Change calling convention.
2360 (byte-compile-output-file-form): Move print-vars binding.
2361 (byte-compile-output-docform): Simplify accordingly.
2362 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2363 (byte-compile-defmacro-declaration): Remove.
2364 (byte-compile-file-form-defmumble): Generalize to defalias.
2365 (byte-compile-output-as-comment): Return byte-positions.
2366 Simplify callers accordingly.
2367 (byte-compile-lambda): Use `assert'.
2368 (byte-compile-defun, byte-compile-defmacro): Remove.
2369 (byte-compile-file-form-defalias):
2370 Use byte-compile-file-form-defmumble.
2371 (byte-compile-defalias-warn): Remove.
2372
6d3f7c2f
SM
23732012-05-29 Stefan Merten <smerten@oekonux.de>
2374
2375 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2376 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2377
2378 (rst-mode-abbrev-table): Merge definition.
2379 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2380 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2381
6dbaa1c7
UJ
23822012-05-29 Ulf Jasper <ulf.jasper@web.de>
2383
2384 * calendar/icalendar.el
2385 (icalendar-export-region): Export UID properly.
2386
d209e2fb 23872012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2388 * calendar/icalendar.el (icalendar-import-format):
2389 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2390 (icalendar-import-format-uid): New.
2391 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2392 Export UID.
2393
6876a58d
SM
23942012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2397 different alternative patterns.
2398 (pcase-codegen): Be more careful to preserve identity.
2399 (pcase--u1): Don't forget to mark vars as used.
2400
2401 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2402 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2403 (byte-compile-from-buffer): ...rather than here.
2404
2405 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2406 functions from byte-compile-function-environment.
2407
46b7967e
TN
24082012-05-29 Troels Nielsen <bn.troels@gmail.com>
2409
2410 * window.el (window-deletable-p): Avoid deleting the root window
2411 of a frame with an active minibuffer.
2412
69d565e2
MR
24132012-05-29 Martin Rudalics <rudalics@gmx.at>
2414
2415 * simple.el (choose-completion): Use quit-window (Bug#11567).
2416
a149fa51
CY
24172012-05-29 Chong Yidong <cyd@gnu.org>
2418
2419 * whitespace.el (whitespace-cleanup): Fix usage of
2420 whitespace-empty-at-bob-regexp (Bug#11492).
2421
2b311310
AH
24222012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2423
2424 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2425 revert (Bug#11488).
2426
b9cb2387
JL
24272012-05-29 Juri Linkov <juri@jurta.org>
2428
2429 * isearch.el (isearch-mode-map): Bind `M-s _' to
2430 `isearch-toggle-symbol'. Bind `M-s c' to
2431 `isearch-toggle-case-fold'.
2432 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2433 (isearch-forward): Add `M-s _' to the docstring.
2434 (isearch-forward-symbol, isearch-toggle-case-fold)
2435 (isearch-symbol-regexp): New functions. (Bug#11381)
2436
d5e61c1c
JL
24372012-05-29 Juri Linkov <juri@jurta.org>
2438
2439 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2440 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2441 a function, call it to get the regexp.
2442 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2443 property `isearch-message-prefix' instead of the string "word ".
2444 (isearch-search-fun-default): For the case of `isearch-word',
2445 return a lambda that calls re-search-forward/re-search-backward
2446 with a regexp returned by `word-search-regexp' or by the function
2447 in `isearch-word'.
2448
8cbd80f7
JL
24492012-05-29 Juri Linkov <juri@jurta.org>
2450
2451 * isearch.el (isearch-search-fun-default): New function.
2452 (isearch-search-fun): Move default part to the new function
2453 `isearch-search-fun-default'.
2454 (isearch-search-fun-function): Set the default value to
2455 `isearch-search-fun-default'. (Bug#11381)
2456
2457 * comint.el (comint-history-isearch-end):
2458 Use `isearch-search-fun-default'.
2459 (comint-history-isearch-search): Use `isearch-search-fun-default'
2460 and remove spacial case for `isearch-word'.
2461 (comint-history-isearch-wrap): Remove spacial case for
2462 `isearch-word'.
2463
2464 * hexl.el (hexl-isearch-search-function):
2465 Use `isearch-search-fun-default'.
2466
2467 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2468 Use `word-search-regexp' for `isearch-word'.
2469
2470 * misearch.el (multi-isearch-search-fun):
2471 Use `isearch-search-fun-default'.
2472
2473 * simple.el (minibuffer-history-isearch-search):
2474 Use `isearch-search-fun-default' and remove spacial case for
2475 `isearch-word'.
2476 (minibuffer-history-isearch-wrap): Remove spacial case for
2477 `isearch-word'.
2478
2479 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2480 Remove spacial case for `isearch-word'.
2481 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2482
85c8c5b6
AM
24832012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2484
2485 Decrease XEmacs incompatibilities.
2486 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2487 Use `string-match'.
2488 (flyspell-delete-region-overlays): Use alternative definition for
2489 XEmacs.
2490 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2491 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2492 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2493 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2494 `define-obsolete-face-alias' under XEmacs, but old method.
2495
2496 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2497 `with-no-warnings' definition or Emacs alias.
2498 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2499 (ispell-word): Do not use `region-p' if XEmacs.
2500
8cab9efc
AM
25012012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2502
2503 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2504 Check for `ispell-dictionary-base-alist' instead of full
2505 `ispell-dictionary-alist'.
2506 (ispell-init-process): Show spellchecker when starting new Ispell
2507 process.
2508
fda91268
RZ
25092012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2512 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2513
694ea8e3
JB
25142012-05-27 Juanma Barranquero <lekktu@gmail.com>
2515
2516 * version.el (motif-version-string, gtk-version-string)
2517 (ns-version-string): Declare.
2518
e4d4f539
JL
25192012-05-27 Juri Linkov <juri@jurta.org>
2520
2521 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2522 after the `eval-defun-1' specialcaseing
2523 like in `edebug-eval-defun' (bug#10181).
2524
2525 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2526 like in `eval-defun-1'.
2527
33017faf 25282012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2529
fda91268
RZ
2530 * mail/sendmail.el (mail-yank-region):
2531 Recognize rmail-yank-current-message in addition to insert-buffer.
2532 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2533 a *mail* buffer created through rmail-start-mail with sendmail as
2534 mail-user-agent.
2535
33017faf
GM
25362012-05-27 Chong Yidong <cyd@gnu.org>
2537
2538 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2539 Default to 256 (Bug#11267).
2540
2541 * help.el (describe-mode): Doc fix.
2542
04188bb9
GM
25432012-05-26 Glenn Morris <rgm@gnu.org>
2544
38264cc9
GM
2545 * w32-fns.el (w32-init-info): Remove.
2546 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2547
eb7afdad
GM
2548 * info.el (info-initialize): For self-contained NS builds, put the
2549 included info/ directory at the front. (Bug#2791)
2550
04188bb9
GM
2551 * paths.el (Info-default-directory-list): Make it a defcustom,
2552 mainly so that we can use custom-initialize-delay.
2553
a179e3f7
SM
25542012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2555
43416392
SM
2556 * subr.el (buffer-has-markers-at): Mark obsolete.
2557
a179e3f7 2558 * subr.el (lambda): Use declare.
43416392 2559
a179e3f7
SM
2560 * emacs-lisp/lisp-mode.el (lambda):
2561 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2562
34a008d9
AH
25632012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2564
2565 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2566
0a3b289f
GM
25672012-05-26 Glenn Morris <rgm@gnu.org>
2568
2569 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2570
758c81e8
GM
25712012-05-25 Glenn Morris <rgm@gnu.org>
2572
f9f334f0
GM
2573 * paths.el: Remove no-byte-compile.
2574 * loadup.el: No need to load paths.el uncompiled.
2575
87eb79c2
GM
2576 * image.el (imagemagick-types-inhibit): Doc fix.
2577
758c81e8
GM
2578 * version.el: Remove no-byte-compile and associated formatting.
2579 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2580 is ancient code from when there was an "inc-vers.el".
2581
e7e85dc0
SM
25822012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * progmodes/gdb-mi.el: Minor style changes.
2585 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2586 Turn into minor modes.
2587 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2588 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2589 (gdb-shell): Remove unneeded let-binding.
2590 (gdb-get-many-fields): Eliminate O(n²) behavior.
2591
f31237a4
EZ
25922012-05-25 Eli Zaretskii <eliz@gnu.org>
2593
2594 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2595 platforms that don't link in fontset.c.
2596
bc1b21bb
JL
25972012-05-25 Juri Linkov <juri@jurta.org>
2598
2599 Use the same diff color scheme as in modern VCSes (bug#10181).
2600
2601 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2602 to avoid confusion with `diff-added' that now uses green colors.
2603 (diff-removed): Use shades of red.
2604 (diff-added): Use shades of green.
2605 (diff-changed): Leave just the yellow color.
2606 (diff-use-changed-face): New variable.
2607 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2608 how to highlight context diff changes.
2609 (diff-refine-change): Use shades of yellow.
2610 (diff-refine-removed): New face that uses shades of red.
2611 (diff-refine-added): New face that uses shades of green.
2612 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2613 `diff-refine-removed' in the call to `smerge-refine-subst'
2614 depending on the value of `diff-use-changed-face'.
2615
2616 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2617 (smerge-other): Use shades of green.
2618 (smerge-base): Use shades of yellow.
2619 (smerge-refined-change): Empty face.
2620 (smerge-refined-removed): New face that uses shades of red.
2621 (smerge-refined-added): New face that uses shades of green.
2622 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2623 args `props-r' and `props-a', and use them. Doc fix.
2624 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2625 on its value use different faces `smerge-refined-change',
2626 `smerge-refined-removed', `smerge-refined-added' in the call to
2627 `smerge-refine-subst'.
2628
2629 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2630 Add face condition `min-colors 88' with shades of red.
2631 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2632 `min-colors 88' with shades of green.
2633 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2634 `min-colors 88' with shades of yellow.
2635
6df9112c
GM
26362012-05-24 Glenn Morris <rgm@gnu.org>
2637
ead5edc0
GM
2638 * paths.el (prune-directory-list, remote-shell-program): Move to...
2639 * files.el (prune-directory-list, remote-shell-program): ...here.
2640 For the latter, delay initialization, prefer ssh, just search PATH.
2641
f18b81e6
GM
2642 * paths.el (term-file-prefix): Move to faces.el (the only user).
2643 * faces.el (term-file-prefix): Move here, make it a defcustom.
2644
ee2f89a6
GM
2645 * paths.el (news-directory, news-path, news-inews-program):
2646 Move to gnus/nnspool.el.
61a583ca 2647
f8815e4c
GM
2648 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2649
c8f3b42c
GM
2650 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2651 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2652 Make the latter a defcustom, with a delayed initialization.
2653
6df9112c
GM
2654 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2655 These were deleted from Gnus itself late 2010.
2656
5dadff36
JB
26572012-05-22 Juanma Barranquero <lekktu@gmail.com>
2658
9e1701c6
JB
2659 * progmodes/which-func.el (which-func-ff-hook):
2660 Check against user-error, not error.
2661
bd7239f5 2662 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2663 cl-specs.el, which no longer exists.
2664
3290526d
GM
26652012-05-22 Glenn Morris <rgm@gnu.org>
2666
2667 * info.el (info-emacs-bug): New command.
2668 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2669 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2670
ff0c3cfb
GM
26712012-05-21 Glenn Morris <rgm@gnu.org>
2672
2673 * makefile.w32-in (update-subdirs-SH):
2674 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2675
5814f126
SM
26762012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2677
a52c0aa0
SM
2678 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2679
5814f126
SM
2680 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2681 Simplify Maven regexp, and make sure the file can't start with a space
2682 (bug#11517).
2683
b847032c
GM
26842012-05-21 Glenn Morris <rgm@gnu.org>
2685
2686 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2687 Scrap superfluous subshells.
2688
3858bfe7
SM
26892012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2692 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2693
d14b0029
JB
26942012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2695
2696 * calc/calc.el (calc-ensure-consistent-units): New variable.
2697
a52c0aa0
SM
2698 * calc/calc-units.el (math-consistent-units-p)
2699 (math-check-unit-consistency): New functions.
2700 (calc-quick-units, calc-convert-units):
2701 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2702 is non-nil.
d14b0029
JB
2703 (calc-extract-units): Fix typo.
2704
60c4db3a
SM
27052012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2706
77f3b62e
SM
2707 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2708
60c4db3a
SM
2709 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2710 (flyspell-default-deplacement-commands): Don't spell check after
2711 repeated window/frame switches (e.g. triggered by mouse-movement).
2712 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2713 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2714 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2715 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2716 Remove unused vars.
2717 (flyspell-get-casechars, flyspell-get-not-casechars):
2718 Simplify; Don't bother removing a ] just to add it back.
2719 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2720
d209e2fb 27212012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2722
2723 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2724 New functions.
bd7239f5 2725 (math-function-table): Add support for more C functions.
b1a10716 2726
3f1b25b5
AM
27272012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2728
090bd7cb
JB
2729 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2730 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2731 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2732
b581bb5c
SM
27332012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2736 their respective macro declarations.
2737 * skeleton.el (define-skeleton):
2738 * progmodes/compile.el (define-compilation-mode):
2739 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2740 (define-ibuffer-filter):
2741 * emacs-lisp/generic.el (define-generic-mode):
2742 * emacs-lisp/easy-mmode.el (define-minor-mode)
2743 (define-globalized-minor-mode):
2744 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2745 * emacs-lisp/byte-run.el (defsubst):
2746 * custom.el (deftheme): Add doc-string metadata.
2747
70b8ef8f
SM
27482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2751
b1198e17
SM
27522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2753
9abdc45d
SM
2754 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2755
b1198e17
SM
2756 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2757 * emacs-lisp/cl-macs.el: Idem.
2758 * emacs-lisp/cl-specs.el: Remove.
2759
4735906a
SM
27602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 Minor renaming of internal CL functions and variables.
2763 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2764 (cl--position): Rename from cl-position.
2765 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2766 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2767 (cl--random-state): Rename from *random-state*.
2768
ac348012
SM
27692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2772 parens around the arg list (bug#11499).
2773
a0a79cde
JL
27742012-05-17 Juri Linkov <juri@jurta.org>
2775
2776 * isearch.el (word-search-regexp, word-search-backward)
2777 (word-search-forward, word-search-backward-lax)
2778 (word-search-forward-lax): Move functions from search.c
2779 (bug#10145, bug#11381).
2780
65034a51
AM
27812012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2782
090bd7cb
JB
2783 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2784 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2785 Delay for otherchars as for normal word components.
65034a51 2786
1a72a195
SM
27872012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * minibuffer.el (completion--sifn-requote): Fix last change.
2790 (minibuffer-local-must-match-filename-map):
2791 Move define-obsolete-variable-alias before its var.
2792
fdb058c2
SM
27932012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2794
c41045e6
SM
2795 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2796
036dfb8b
SM
2797 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2798 behavior.
2799 (completion--string-equal-p): New function.
2800 (completion--twq-all): Use it to get better assertion failure data.
2801
2473256d
SM
2802 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2803 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2804 (shell--requote-argument): New functions.
2805 (shell-completion-vars): Use them.
2806 (shell--parse-pcomplete-arguments): Rename from
2807 shell-parse-pcomplete-arguments.
2808 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2809 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2810 Obey comint-file-name-quote-list.
2811
fdb058c2
SM
2812 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2813 (smie-indent-keyword): Use it.
2814
51fa99f1
SM
28152012-05-14 Stefan Merten <smerten@oekonux.de>
2816
2817 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2818
e18afed7 28192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2820
2821 * net/rlogin.el (rlogin-mode-map): Fix last change.
2822
e18afed7 28232012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2824
2825 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2826 the following \r\n using a single `process-send-string', since the
2827 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2828 with two `process-send-string's (Bug#11444).
8633b1f4 2829
e18afed7 28302012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2831
fdb058c2
SM
2832 * shell.el (shell-parse-pcomplete-arguments):
2833 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2834
2d21d7f6
WJ
28352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2836
e18afed7 2837 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2838 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2839 (image-transform-width, image-transform-fit-width): New functions.
2840 (image-transform-properties): Use them.
2841 (image-transform-check-size): New function.
2842 (image-toggle-display-image): Use it (for testing).
2843 (image-transform-set-rotation): Reduce angle mod 360.
2844 Delete obsolete comment.
2845
7102e6d0
WJ
28462012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2847
2848 * image-mode.el: Fix scaling (bug#11399).
2849 (image-transform-resize): Doc fix.
2850 (image-transform-properties): Default scale is 1 and height should
2851 be an integer.
2852
06bc5e6e
SM
28532012-05-13 Johan Bockgård <bojohan@gnu.org>
2854
2855 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2856 than hard-coding `car', to fix misbehavior when moving forward.
2857
0ae03b6a
CY
28582012-05-13 Chong Yidong <cyd@gnu.org>
2859
2860 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2861 (tabulated-list-entries, tabulated-list-padding)
2862 (tabulated-list-sort-key): Make permanent-local.
2863
2864 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2865 (electric-buffer-list): Put electric buffer menu
2866 command descriptions in this docstring, instead of the docstring
2867 of electric-buffer-menu-mode. Code cleanups.
2868 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2869 Electric-buffer-menu-mode.
2870 (electric-buffer-update-highlight): Minor code cleanup.
2871
205a7391
MA
28722012-05-13 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2875 (Bug#11447)
2876
e5bd0a28
SM
28772012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 Move define-obsolete-variable-alias before the var's definition.
2880 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2881 * tooltip.el (tooltip-hook):
2882 * textmodes/reftex-toc.el (reftex-toc-map):
2883 * textmodes/reftex-sel.el (reftex-select-label-map)
2884 (reftex-select-bib-map):
2885 * textmodes/reftex-index.el (reftex-index-map)
2886 (reftex-index-phrases-map):
2887 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2888 * progmodes/meta-mode.el (meta-mode-map):
2889 * novice.el (disabled-command-hook):
2890 * loadhist.el (unload-hook-features-list):
2891 * frame.el (blink-cursor):
2892 * files.el (find-file-not-found-hooks, write-file-hooks)
2893 (write-contents-hooks):
2894 * emulation/tpu-edt.el (GOLD-map):
2895 * emacs-lock.el (emacs-lock-from-exiting):
2896 * emacs-lisp/generic.el (generic-font-lock-defaults):
2897 * emacs-lisp/chart.el (chart-map):
2898 * dos-fns.el (register-name-alist):
2899 * dired-x.el (dired-omit-files-p):
2900 * desktop.el (desktop-enable):
2901 * cus-edit.el (custom-mode-hook):
2902 * buff-menu.el (buffer-menu-mode-hook):
2903 * bookmark.el (bookmark-read-annotation-text-func)
2904 (bookmark-exit-hooks):
2905 * allout.el (allout-mode-deactivate-hook)
2906 (allout-exposure-change-hook, allout-structure-added-hook)
2907 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2908 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2909 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2910 comes before the corresponding variable's definition.
2911
ac59c2f6
CY
29122012-05-12 Chong Yidong <cyd@gnu.org>
2913
2914 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2915 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2916 (Buffer-menu-mode-map): Bind it.
2917 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2918
dee6c9a3
SM
29192012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2171cea5
SM
2921 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2922 (prolog-upper-case-string, prolog-lower-case-string)
2923 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2924 (prolog-use-smie, prolog-smie-grammar): New vars.
2925 (prolog-smie-forward-token, prolog-smie-backward-token)
2926 (prolog-smie-rules): New funs.
2927 (prolog-comment-indent): Remove.
2928 (prolog-mode-variables): Use default comment indentation instead.
2929 Setup SMIE.
2930 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2931 (prolog-mode): Don't call them any more.
2932 (prolog-electric-colon, prolog-electric-dash)
2933 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2934
aa0382bd
SM
2935 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2936
dbacb4bd
SM
2937 * minibuffer.el (completion--twq-all): Again, allow case differences.
2938
13bdd94c
SM
2939 * term.el: Move keymap initialization code to be more idiomatic.
2940 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2941 (term-terminal-menu): Move initialization into declaration.
2942 (term-escape-char): Let the user set it in her .emacs.
2943
ff46c759
SM
2944 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2945 Provide SMIE-based indentation (not enabled by default yet).
2946 (sh-mode-map): Don't bind electric keys.
2947 Use electric-pair-mode instead of skeleton-pair.
2948 (sh-assignment-regexp): Fit within 80 columns.
2949 (sh-indent-supported): Specify actual shell name instead of boolean.
2950 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2951 (sh-maybe-here-document): Use it. Make obsolete.
2952 (sh-electric-here-document-mode) New minor mode.
2953 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2954 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2955 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2956 (sh-smie-rc-grammar, sh-use-smie): New vars.
2957 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2958 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2959 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2960 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2961 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2962 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2963 (sh-set-shell): Use smie-setup if requested.
2964
dee6c9a3
SM
2965 * term.el (term-set-escape-char): Properly set term-escape-char.
2966 See http://stackoverflow.com/questions/10524656.
2967
9f9aa044
CY
29682012-05-10 Chong Yidong <cyd@gnu.org>
2969
2970 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2971 Use url-generic-parse-url, and handle host names and Windows
2972 filenames properly.
2973 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2974 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2975 URL schemes to work on.
2976 (ffap--toggle-read-only): New function.
2977 (ffap-read-only, ffap-read-only-other-window)
2978 (ffap-read-only-other-frame): Use it.
2979 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2980 necessary for ffap-url-unwrap-remote.
2981
836d29b3
DA
29822012-05-10 Dave Abrahams <dave@boostpro.com>
2983
2984 * cus-start.el (create-lockfiles): Add it.
2985
00fd78ed
CY
29862012-05-09 Chong Yidong <cyd@gnu.org>
2987
2988 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2989 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2990
666b903b 29912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2992
2993 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2994
666b903b 29952012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2996
2997 * ansi-color.el (ansi-color-process-output): Check for validity of
2998 comint-last-output-start before using it. This avoids a bad
2999 interaction with gdb-mi's input/output buffer.
3000
666b903b 30012012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3002
3003 * files.el (dir-locals-read-from-file):
3004 Mention dir-locals in any error message.
3005
666b903b 30062012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3007
3008 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3009 package (Bug#11410).
3010
f677562b
CY
3011 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3012 variables into description.
3013
666b903b 30142012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3015
3016 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3017 shell-delimiter-argument-list (bug#11348).
3018 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3019
b499d8d0
JB
30202012-05-09 Juanma Barranquero <lekktu@gmail.com>
3021
8f6b6da8
JB
3022 * textmodes/rst.el: Silence byte-compiler warnings.
3023 (rst-re-alist, rst-reset-section-caches): Move around.
3024 (rst-re): Use `characterp', not `char-valid-p'.
3025 (font-lock-beg, font-lock-end): Declare.
3026
4824146a
JB
3027 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3028 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3029
b499d8d0
JB
3030 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3031
ad89bb83
GM
30322012-05-08 Glenn Morris <rgm@gnu.org>
3033
3034 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3035
8bba5a75
SM
30362012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3037
49ed9c8e
SM
3038 * vc/log-edit.el: Add GNU coding standards highlighting.
3039 (log-edit-font-lock-gnu-style)
3040 (log-edit-font-lock-gnu-keywords): New vars.
3041 (log-edit-font-lock-keywords): New fun.
3042 (log-edit-mode): Don't fold case in font-lock.
3043 (log-edit-font-lock-keywords): Do not assume case-folding.
3044
07d00b56
SM
3045 * imenu.el: Misc cleanup. Make docstrings out of comments.
3046 Use lexical-binding.
3047 (imenu--index-alist, imenu--last-menubar-index-alist)
3048 (imenu-menubar-modified-tick): Use defvar-local.
3049 (imenu--split-menu): Remove unused var.
3050 (imenu--cleanup-seen): Declare as global.
3051 (imenu--cleanup): Use dolist.
3052
8bba5a75
SM
3053 * subr.el (defvar-local): Add debug spec and doc-string position.
3054
5075bdb5
GM
30552012-05-08 Glenn Morris <rgm@gnu.org>
3056
090bd7cb 3057 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3058 * language/english.el, language/georgian.el, language/greek.el:
3059 * language/japanese.el, language/khmer.el, language/korean.el:
3060 * language/lao.el, language/misc-lang.el, language/romanian.el:
3061 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3062 * language/thai.el, language/utf-8-lang.el:
3063 Remove no-byte-compile setting.
3064
5075bdb5
GM
3065 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3066
06f679a7
AH
30672012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3068
3069 * progmodes/make-mode.el (makefile-browse):
3070 Remove unnecessary interactive. (Bug#11324)
3071
03794570
GM
30722012-05-07 Glenn Morris <rgm@gnu.org>
3073
af8630f4
GM
3074 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3075
03794570
GM
3076 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3077
f0809a9d
SM
30782012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3079
28be5ce7
SM
3080 * loadup.el: Preload newcomment.el.
3081 * newcomment.el: Move autoload-only code to toplevel.
3082
f0809a9d
SM
3083 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3084 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3085 Handle new :right-align column property.
3086 (tabulated-list-print-col): Idem, plus use `display' text-property to
3087 try and preserve alignment for variable pitch fonts.
3088
1241b724
CY
30892012-05-07 Chong Yidong <cyd@gnu.org>
3090
3091 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3092 (tabulated-list-use-header-line): New var.
3093 (tabulated-list-init-header): Use it.
3094 (tabulated-list-print-fake-header): New function.
3095 (tabulated-list-print): Use it.
3096 (tabulated-list-sort-button-map): Add non-header-line commands.
3097 (tabulated-list-init-header): Add column name property to basic
3098 labels as well.
3099 (tabulated-list-col-sort): Handle non-header-line button case.
3100 (tabulated-list--sort-by-column-name): Fix a corner case.
3101
f0809a9d
SM
3102 * buff-menu.el (list-buffers--refresh):
3103 Handle Buffer-menu-use-header-line.
1241b724 3104
e5f9458f
CY
31052012-05-06 Chong Yidong <cyd@gnu.org>
3106
3107 * buff-menu.el: Convert to Tabulated List mode.
3108 (Buffer-menu-buffer+size-width): Make obsolete.
3109 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3110 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3111 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3112 documentation into docstring of buffer-menu.
3113 (Buffer-menu-toggle-files-only): Add an informative message.
3114 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3115 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3116 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3117 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3118 (Buffer-menu-execute, Buffer-menu-select)
3119 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3120 (Buffer-menu-bury): Use Tabulated List machinery.
3121 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3122 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3123 Delete.
e5f9458f
CY
3124 (list-buffers--refresh): New function.
3125 (list-buffers-noselect): Use it.
3126 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3127 (Buffer-menu--pretty-file-name): New helper functions.
3128
3129 * loadup.el: Preload tabulated-list.
3130
3131 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3132 tabulated-list-sort-column.
3133 (tabulated-list-init-header): Add the initial aligning space even
3134 if tabulated-list-padding is zero.
3135
e129292c
CS
31362012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3137
3138 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3139 whose cdr is not a cons cell correctly (bug#11038).
3140
6632d361
CY
31412012-05-06 Chong Yidong <cyd@gnu.org>
3142
e129292c
CS
3143 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3144 Accept additional plist in column descriptors.
6632d361
CY
3145 (tabulated-list-init-header): Obey it.
3146 (tabulated-list-get-entry): New function.
3147 (tabulated-list-put-tag): Use it. Use string-width instead of
3148 length.
3149 (tabulated-list--column-number): New function.
3150 (tabulated-list-print): Use it.
e129292c
CS
3151 (tabulated-list-print-col): New function.
3152 Set `tabulated-list-column-name' property on each column's text.
6632d361 3153 (tabulated-list-print-entry): Use it.
e129292c
CS
3154 (tabulated-list-delete-entry, tabulated-list-set-col):
3155 New functions.
6632d361
CY
3156 (tabulated-list-sort-column): New command (Bug#11337).
3157
3cc99f68
CY
3158 * buff-menu.el (list-buffers): Move C-x C-b binding from
3159 buff-menu.el to bindings.el.
3160
3161 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3162 :advertised-binding feature.
3163
52b61776
TN
31642012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3165
3166 * progmodes/compile.el (compilation-internal-error-properties):
3167 Calculate start position correctly when end-col is set but
3168 end-line is not (Bug#11382).
3169
ebfe2597
WJ
31702012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3171
3172 * man.el (Man-unindent): Use text-property-default-nonsticky to
3173 prevent untabify from inheriting face properties (Bug#11408).
3174
6d3f7c2f
SM
31752012-05-05 Stefan Merten <smerten@oekonux.de>
3176
3177 * textmodes/rst.el: Major merge with upstream development up to
3178 Docutils SVN r7399 / rst.el V1.2.1.
3179
3180 Clarify maintainership and authors.
3181
3182 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3183 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3184 (rst-official-version, rst-official-cvs-rev, rst-version)
3185 (rst-package-emacs-version-alist): New functions and variables
3186 for version information.
3187
3188 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3189 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3190 (rst-mode-syntax-table, rst-mode): New and corrected functions
3191 and variables representing reStructuredText features.
3192
3193 (rst-re): New function for reStructuredText regexes. Use in
3194 many places.
3195
3196 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3197 (rst-mode-map): Rebind keys.
3198
3199 (rst-mode-lazy, rst-font-lock-keywords)
3200 (rst-font-lock-extend-region)
3201 (rst-font-lock-extend-region-internal)
3202 (rst-font-lock-extend-region-extend)
3203 (rst-font-lock-find-unindented-line-limit)
3204 (rst-font-lock-find-unindented-line-match)
3205 (rst-adornment-level, rst-font-lock-adornment-level)
3206 (rst-font-lock-adornment-match)
3207 (rst-font-lock-handle-adornment-pre-match-form)
3208 (rst-font-lock-handle-adornment-matcher): Major revision of
3209 font-locking. Integrate with other code. Use `jit-lock-mode'.
3210
3211 (rst-preferred-adornments, rst-adjust-hook)
3212 (rst-new-adornment-down, rst-preferred-bullets)
3213 (rst-preferred-bullets, rst-indent, rst-indent-width)
3214 (rst-indent-field, rst-indent-literal-normal)
3215 (rst-indent-literal-minimized, rst-indent-comment): Change,
3216 extend and improve customization.
3217
3218 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3219 (rst-normalize-cursor-position, rst-get-decoration)
3220 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3221 (rst-rstrip, rst-toc-insert-find-delete-contents)
3222 (rst-shift-fill-region, rst-compute-bullet-tabs)
3223 (rst-debug-print-tabs, rst-debug-mark-found)
3224 (rst-shift-region-guts, rst-shift-region-right)
3225 (rst-shift-region-left, rst-use-char-classes)
3226 (rst-font-lock-keywords-function)
3227 (rst-font-lock-indentation-point)
3228 (rst-font-lock-find-unindented-line-begin)
3229 (rst-font-lock-find-unindented-line-end)
3230 (rst-font-lock-find-unindented-line)
3231 (rst-font-lock-adornment-point, rst-font-lock-level)
3232 (rst-adornment-level-alist): Remove functions and variables.
3233
3234 (rst-compare-adornments, rst-get-adornment-match)
3235 (rst-suggest-new-adornment, rst-get-adornments-around)
3236 (rst-adornment-complete-p, rst-get-next-adornment)
3237 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3238 (rst-straighten-adornments): Standardize function names to
3239 use "adornment" instead of "decoration". Correct callers.
3240 Similar standardizing in many places.
3241
3242 (rst-update-section, rst-adjust, rst-promote-region)
3243 (rst-enumerate-region, rst-bullet-list-region)
3244 (rst-repeat-last-character): Correct use of `interactive'.
3245
3246 (rst-classify-adornment, rst-find-all-adornments)
3247 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3248 (rst-find-leftmost-column, rst-repeat-last-character):
3249 Refactor functions.
3250
3251 (rst-find-title-line, rst-reset-section-caches)
3252 (rst-get-adornments-around, rst-adjust-adornment-work)
3253 (rst-arabic-to-roman, rst-roman-to-arabic)
3254 (rst-insert-list-pos, rst-insert-list-new-item)
3255 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3256 New functions.
3257
3258 (rst-all-sections, rst-section-hierarchy)
3259 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3260 New variables.
3261
3262 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3263 configuration instead of only buffer. Change where necessary.
3264
3265 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3266 (rst-shift-region, rst-adaptive-fill): New functions for
3267 indentation and filling.
3268
3269 (rst-comment-line-break, rst-comment-indent)
3270 (rst-comment-insert-comment, rst-comment-region)
3271 (rst-uncomment-region): New functions for handling comments.
3272
3273 (rst-compile): Quote shell arguments.
3274
3275 (rst-compile-pdf-preview, rst-compile-slides-preview):
3276 Delete temporary files after use.
3277
a43f98b3
GM
32782012-05-05 Glenn Morris <rgm@gnu.org>
3279
48176e8b
GM
3280 * calendar/cal-html.el: Optionally include holidays in the output.
3281 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3282 (cal-html-holidays): New option.
3283 (cal-html-css-default): Add holiday entry.
3284 (holiday-in-range): Autoload it.
3285 (cal-html-htmlify-entry): Add optional class argument.
3286 (cal-html-htmlify-list): Add optional holidays argument.
3287 (cal-html-insert-agenda-days): Include holidays in the output.
3288 (cal-html-one-month): Maybe include holidays.
3289
a43f98b3
GM
3290 * calendar/holidays.el (holiday-in-range):
3291 Move here from cal-tex-list-holidays.
3292 * calendar/cal-tex.el (cal-tex-list-holidays):
3293 Make it an obsolete alias for holiday-in-range. Update all callers.
3294
fef9d149 32952012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3296
3297 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3298 Nextstep.
3299
248da2f4
RW
33002012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3301
3302 * files.el (file-auto-mode-skip): New var.
3303 (set-auto-mode-1): Use it.
3304
f95e9344
SM
33052012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3306
df96ab1e
SM
3307 * repeat.el: Use lexical-binding.
3308 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3309 (repeat-undo-count): Remove.
3310 (repeat):
3311 * progmodes/octave-mod.el (octave-abbrev-start):
3312 * progmodes/f90.el (f90-abbrev-start):
3313 * face-remap.el (text-scale-adjust):
3314 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3315
5342bb06
SM
3316 * emacs-lisp/pcase.el (pcase--let*): New function.
3317 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3318 a bit more.
3319 (pcase--split-pred): Be more clever about ruling out overlap between
3320 a predicate and some constant pattern.
3321 (pcase--q1): Use `null' instead of (eq foo nil).
3322
f95e9344
SM
3323 * subr.el (setq-local, defvar-local): New macros.
3324 (kbd): Redefine as an alias.
3325 (with-selected-window): Leave unrelated frames alone.
3326 (set-temporary-overlay-map): New function.
3327
71873e2b
SM
33282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * subr.el (user-error): New function.
3331 * window.el (switch-to-buffer):
3332 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3333 (smerge-match-conflict):
3334 * simple.el (previous-matching-history-element)
3335 (next-matching-history-element, goto-history-element, undo-more)
3336 (undo-start):
3337 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3338 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3339 (next-file, tags-loop-scan, list-tags, complete-tag):
3340 * progmodes/compile.el (compilation-loop):
3341 * mouse.el (mouse-minibuffer-check):
3342 * man.el (Man-bgproc-sentinel, Man-goto-page):
3343 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3344 (Info-history-forward, Info-follow-reference, Info-menu)
3345 (Info-extract-menu-item, Info-extract-menu-counting)
3346 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3347 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3348 (Info-next-reference, Info-prev-reference, Info-index)
3349 (Info-index-next, Info-follow-nearest-node)
3350 (Info-copy-current-node-name):
3351 * imenu.el (imenu--make-index-alist)
3352 (imenu-default-create-index-function, imenu-add-to-menubar):
3353 * files.el (basic-save-buffer, recover-file):
3354 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3355 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3356 (checkdoc-message-text, checkdoc-defun):
3357 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3358 * cus-edit.el (customize-changed-options, customize-rogue)
3359 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3360 (custom-variable-mark-to-reset-standard)
3361 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3362 (custom-file):
3363 * completion.el (check-completion-length):
3364 * comint.el (comint-search-arg)
3365 (comint-previous-matching-input-string-position)
3366 (comint-previous-matching-input)
3367 (comint-replace-by-expanded-history-before-point, comint-send-input)
3368 (comint-copy-old-input, comint-backward-matching-input)
3369 (comint-goto-process-mark, comint-set-process-mark):
3370 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3371 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3372
8a61ee22
SM
33732012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3374
66408d1e
SM
3375 * dabbrev.el (dabbrev--ignore-case-p): New function.
3376 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3377 Use it.
3378
8a61ee22
SM
3379 * files.el (automount-dir-prefix): Mark as obsolete.
3380
3c74813a
GM
33812012-05-04 Glenn Morris <rgm@gnu.org>
3382
3383 * patcomp.el, play/bruce.el: Move to obsolete/.
3384
0bfcf5c5
PE
33852012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3386
3387 Fix minor Y10k bugs.
3388 * arc-mode.el (archive-unixdate):
3389 * autoinsert.el (auto-insert-alist):
3390 * calc/calc-forms.el (math-this-year):
3391 * emacs-lisp/copyright.el (copyright-current-year)
3392 (copyright-update-year, copyright):
3393 * tar-mode.el (tar-clip-time-string):
3394 * time.el (display-time-update):
3395 Don't assume years have 4 digits.
3396
78f3273a
CY
33972012-05-04 Chong Yidong <cyd@gnu.org>
3398
3399 * dos-w32.el (file-name-buffer-file-type-alist)
3400 (direct-print-region-use-command-dot-com):
3401 * ffap.el (ffap-menu-regexp):
3402 * find-file.el (ff-special-constructs):
3403 * follow.el (follow-debug):
3404 * forms.el (forms--debug):
3405 * iswitchb.el (iswitchb-all-frames):
3406 * ido.el (ido-all-frames):
3407 * emacs-lisp/timer.el (timer-max-repeats):
3408 * mail/feedmail.el (feedmail-mail-send-hook)
3409 (feedmail-mail-send-hook-queued):
3410 * mail/footnote.el (footnote-signature-separator):
3411 * mail/mailabbrev.el (mail-alias-separator-string)
3412 (mail-abbrev-mode-regexp):
3413 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3414 * progmodes/idlwave.el (idlwave-libinfo-file)
3415 (idlwave-default-completion-case-is-down)
3416 (idlwave-library-routines): Convert defvars to defcustoms.
3417
3418 * mail/rmail.el (rmail-decode-mime-charset):
3419 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3420 (idlwave-shell-fix-inserted-breaks)
3421 (idlwave-shell-activate-alt-keybindings)
3422 (idlwave-shell-use-breakpoint-glyph):
3423 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3424
f7ae6719
SM
34252012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3428
47086495
WS
34292012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3430
3431 * progmodes/verilog-mode.el (font-lock-keywords):
3432 Fix mis-highligting auto. Reported by Craig Barner.
3433 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3434 defines from global name space. Reported by Dan Dever.
3435 (verilog-auto-reset, verilog-auto-reset-widths)
3436 (verilog-auto-tieoff): Support using unbased numbers for
3437 AUTORESET and AUTOTIEOFF.
3438 (verilog-submit-bug-report): Update variable list.
3439 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3440 parenthesis from not matching. Reported by Michael Rytting.
3441 (verilog-auto-template-lint): Fix hash error when linting modules
3442 with no used templates.
3443 (verilog-warn, verilog-warn-error)
3444 (verilog-warn-fatal): When non-interactive report multiple
3445 warnings before exiting. Suggested by Brad Dobbie.
3446 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3447 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3448 to report unused template errors. Reported by Brad Dobbie.
3449 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3450 nets, bug438. Reported by Vns Blore.
3451 (verilog-auto-inout-module, verilog-auto-reg)
3452 (verilog-read-decls, verilog-read-sub-decls-sig)
3453 (verilog-signals-edit-wire-reg, verilog-signals-with):
3454 Fix passing of Verilog data types in ANSI input/output ports
3455 such as "output logic" into the AUTOs. Special case "wire" and
3456 "reg" for backwards compatibility presuming Verilog 2001.
3457 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3458 (verilog-preprocess): Fix replication of preprocess output.
3459 Reported by Brad Dobbie.
3460 (verilog-auto-inst-interfaced-ports):
3461 Create verilog-auto-inst-interfaced-ports, bug429.
3462 Reported by Julian Gorfajn.
3463 (verilog-after-save-font-hook)
3464 (verilog-before-save-font-hook): New variable.
3465 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3466 (verilog-save-font-mods): Wrap disabling fontification, reported
3467 by David Rogoff.
3468 (verilog-do-indent, verilog-pretty-declarations-auto)
3469 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3470 Reported by Pierre-David Pfister.
3471 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3472 of class declarations, bug292. Reported by Kevin Heilman.
3473 (verilog-read-decls): Fix 'parameter type' not appearing in
3474 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3475 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3476 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3477 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3478 Reported by David Kravitz.
3479
34802012-05-03 Michael McNamara <mac@mail.brushroad.com>
3481
3482 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3483 assignment with tests in ifs and for loops.
3484 (verilog-extended-complete-re, verilog-complete-reg): Change so
3485 that DPI inport functions don't look like fuction declarations.
3486 (verilog-pretty-expr): Don't line up assignment
3487 operations to the test and increment in if and for loops
3488 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3489 that DPI inport functions don't look like fuction declarations.
47086495 3490
2e51d4b5
KH
34912012-05-03 Kenichi Handa <handa@m17n.org>
3492
3493 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3494 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3495 (Bug#11282).
3496
2bd785a2
SM
34972012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * emacs-lisp/bytecomp.el
3500 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3501 since cconv.el might have introduced :fun-body, internal-make-closure,
3502 and friends for bytecomp to handle (bug#11391).
3503 * custom.el (defcustom): Avoid ((λ ..) ..).
3504
99d27583
SM
35052012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3508
55a71479
JB
35092012-05-02 Juanma Barranquero <lekktu@gmail.com>
3510
3511 * notifications.el (dbus-debug):
3512 * term/linux.el (gpm-mouse-enable):
3513 * term/screen.el (xterm-register-default-colors): Declare.
3514
7b97c764
CY
35152012-05-02 Chong Yidong <cyd@gnu.org>
3516
2bc356d7
CY
3517 * cus-start.el (gc-cons-percentage, exec-suffixes)
3518 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3519 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3520 (make-cursor-line-fully-visible, void-text-area-pointer)
3521 (font-list-limit): Add customization data.
3522
7b97c764
CY
3523 * allout.el (allout-exposure-change-functions)
3524 (allout-structure-added-functions)
3525 (allout-structure-deleted-functions)
3526 (allout-structure-shifted-functions): Rename abnormal hooks from
3527 *-hook, and convert to defcustoms.
5d3385a0
JB
3528 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3529 Convert to defcustoms.
7b97c764
CY
3530 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3531
3532 * allout-widgets.el: Hook callers changed.
3533
90207a15 35342012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3535
3536 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3537 the yanked message in preference to the default value of
3538 buffer-file-coding-system.
3539
90207a15 35402012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3541
5d3385a0
JB
3542 * window.el (display-buffer--action-function-custom-type):
3543 Fix entry.
d9558cad 3544
90207a15 35452012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3546
3547 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3548
d80ac57b
GM
35492012-05-01 Glenn Morris <rgm@gnu.org>
3550
976f7668
GM
3551 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3552
beb83b5a
GM
3553 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3554
d80ac57b
GM
3555 * cus-edit.el (custom-variable-documentation): Simplify with format.
3556
b593d6a9
AH
35572012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3558 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * simple.el (suggest-key-bindings, execute-extended-command):
3561 Move from keyboard.c.
3562
782fbf2a
CY
35632012-05-01 Chong Yidong <cyd@gnu.org>
3564
3565 * follow.el: Eliminate advice.
3566 (set-process-filter, process-filter, sit-for): Advice deleted.
3567 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3568 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3569 Vars deleted.
782fbf2a
CY
3570 (follow-auto): Use a :set function.
3571 (follow-mode): Rewritten. Don't advise process filters.
3572 (follow-switch-to-current-buffer-all, follow-scroll-up)
3573 (follow-scroll-down): Assume follow-mode is bound.
3574 (follow-comint-scroll-to-bottom)
3575 (follow-align-compilation-windows): New functions.
3576 (follow--window-sorter): New function.
3577 (follow-all-followers): Use it to explicitly sort windows by their
3578 positions; don't make assumptions about next-window order.
3579 (follow-windows-start-end, follow-delete-other-windows-and-split)
3580 (follow-calc-win-start): Doc fix.
3581 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3582 vertical-motion unnecessarily.
3583 (follow-adjust-window): New function.
3584 (follow-post-command-hook): Use it.
3585 (follow-call-set-process-filter, follow-call-process-filter)
3586 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3587 (follow-stop-intercept-process-output, follow-generic-filter):
3588 Functions deleted.
3589 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3590 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3591 New functions, replacing advice on scroll-bar-* commands.
87233a14 3592 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3593
3594 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3595 (comint-postoutput-scroll-to-bottom): Use it.
3596 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3597
290af740
GM
35982012-05-01 Glenn Morris <rgm@gnu.org>
3599
3600 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3601 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3602 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3603 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3604 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3605 Remove no-byte-compile setting.
3606
6eac8dc9
SM
36072012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3610 all-completions code to not return a number in the last cdr.
3611
9cc7819c
LL
36122012-04-30 Leo Liu <sdl.web@gmail.com>
3613
3614 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3615 read-only error.
3616
c93b886f
CY
36172012-04-29 Chong Yidong <cyd@gnu.org>
3618
3619 * follow.el (follow-calc-win-end): Rewrite to handle partial
3620 screen lines correctly (Bug#8390).
3621 (follow-avoid-tail-recenter): Minor cleanup.
3622
8b6c19f4
SM
36232012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 Avoid the obsolete `assoc' package.
3626 * speedbar.el (speedbar-refresh): Avoid adelete.
3627 (speedbar-file-lists): Simplify and avoid aput.
3628 * man.el (Man--sections, Man--refpages): New vars, replacing
3629 Man-sections-alist and Man-refpages-alist.
3630 (Man-build-section-alist, Man-build-references-alist):
3631 Use them; avoid aput.
3632 (Man--last-section, Man--last-refpage): New vars.
3633 (Man-follow-manual-reference): Use them.
3634 Use the `default' arg of completing-read.
3635 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3636
c5bb7569
CY
36372012-04-27 Chong Yidong <cyd@gnu.org>
3638
d1d2e2e8
CY
3639 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3640
15cd8efd
CY
3641 * startup.el (x-apply-session-resources): New function.
3642
3643 * term/ns-win.el (ns-initialize-window-system):
3644 * term/w32-win.el (w32-initialize-window-system):
3645 * term/x-win.el (x-initialize-window-system): Use it to properly
3646 set menu-bar-mode and other vars from X resources, even if the
3647 initial frame is not a window-system frame (Bug#2299).
3648
c5bb7569
CY
3649 * subr.el (read-key): Avoid running filter function when setting
3650 up temporary tool bar entries (Bug#9922).
3651
a8e7d6d7 36522012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3653
3654 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3655 (Bug#11344)
3656
a8e7d6d7 36572012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3658
3659 * select.el (xselect--encode-string): New function, split from
3660 xselect-convert-to-string.
3661 (xselect-convert-to-string): Use it.
3662 (xselect-convert-to-filename, xselect-convert-to-os)
3663 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3664 returned strings are properly encoded (Bug#11315).
3665
a8e7d6d7 36662012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3667
3668 * simple.el (delete-active-region): Move to killing custom group.
3669
a8e7d6d7 36702012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3671
3672 * progmodes/which-func.el (which-func-current): Quote %
3673 characters for mode-line processing.
3674
578c1d4b 36752012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3676
3677 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3678 reaching eob (Bug#11286).
3679
a8e7d6d7 36802012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3681
3682 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3683 (gdb): Make it buffer-local and init to zero.
3684 (gdb-control-commands-regexp): New variable.
3685 (gdb-send): Don't wrap in "-interpreter-exec console" if
3686 gdb-control-level is positive. Increment gdb-control-level
3687 whenever the command matches gdb-control-commands-regexp, and
3688 decrement it each time the command is "end". (Bug#11279)
3689
a8e7d6d7 36902012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3691
3692 * window.el (adjust-window-trailing-edge, enlarge-window)
3693 (shrink-window, window-resize):
3694 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3695 windows (Bug#11276).
3696
b3608390
CY
36972012-04-27 Chong Yidong <cyd@gnu.org>
3698
3699 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3700 fix "missing prefix" warning. All callers changed.
b3608390 3701
797e6e88
SM
37022012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * emacs-lisp/assoc.el: Move to obsolete/.
3705
e95a67dc
SM
37062012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3707
657c21e4 3708 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3709
3710 * term/ns-win.el (ns-define-service):
3711 * progmodes/pascal.el (pascal-goto-defun):
3712 * progmodes/js.el (js--read-tab):
3713 * progmodes/etags.el (tags-lazy-completion-table):
3714 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3715 * emacs-lisp/ewoc.el (ewoc--wrap):
3716 * emacs-lisp/assoc.el (aput, adelete, amake):
3717 * doc-view.el (doc-view-convert-current-doc):
3718 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3719
cb3e7ae0
CY
37202012-04-26 Chong Yidong <cyd@gnu.org>
3721
dce04f7f
CY
3722 * image.el (image-type-from-buffer): Only return supported image
3723 type (Bug#9045).
3724
cb3e7ae0
CY
3725 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3726 value, for symmetry with diff-end-of-hunk.
3727 (diff-split-hunk, diff-find-source-location)
3728 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3729 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3730 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3731 compute the relevant hunk or file properly (Bug#6005).
3732 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3733
0d42eb3e
SM
37342012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * vc/vc-mtn.el:
3737 * vc/vc-hg.el:
3738 * vc/vc-git.el:
3739 * vc/vc-dir.el:
3740 * vc/vc-cvs.el:
3741 * vc/vc-bzr.el:
3742 * vc/vc-arch.el:
3743 * vc/vc.el: Replace lexical-let by lexical-binding.
3744 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3745 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3746 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3747
f08ae1c9
CY
37482012-04-26 Chong Yidong <cyd@gnu.org>
3749
8b71081d
CY
3750 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3751 (diff-mode-shared-map): Bind it to / and [remap undo].
3752
f08ae1c9
CY
3753 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3754 (ediff-window-setup-function): Use it as the default, to set up
3755 windows based on whether the current frame is graphical (Bug#2138).
3756 (ediff-choose-window-setup-function-automatically): Make obsolete.
3757
3758 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3759
ef24141c
SM
37602012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3761
cc356a5d
SM
3762 * ffap.el: Remove old code for obsolete package.
3763 (ffap-complete-as-file-p): Remove.
3764
b4ff4f1f
SM
3765 Use completion-table-with-quoting for comint and pcomplete.
3766 * comint.el (comint--unquote&requote-argument)
3767 (comint--unquote-argument, comint--requote-argument): New functions.
3768 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3769 (comint-quote-filename): Use regexp-opt-charset.
3770 (comint--common-suffix, comint--common-quoted-suffix)
3771 (comint--table-subvert): Remove.
3772 (comint-unquote-function, comint-requote-function): New vars.
3773 (comint--complete-file-name-data): Use them with
3774 completion-table-with-quoting.
3775 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3776 * pcomplete.el (pcomplete-arg-quote-list)
3777 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3778 (pcomplete-unquote-argument-function): Default to non-nil.
3779 (pcomplete-unquote-argument): Simplify.
3780 (pcomplete--common-quoted-suffix): Remove.
3781 (pcomplete-requote-argument-function): New var.
3782 (pcomplete--common-suffix): New function.
3783 (pcomplete-completions-at-point): Use completion-table-with-quoting
3784 and completion-table-subvert.
3785
79c4eeb4
SM
3786 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3787 (minibuffer--double-dollars): Preserve properties.
3788 (completion--sifn-requote): New function.
3789 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3790
ef24141c
SM
3791 * minibuffer.el: Add support for completion of quoted/escaped data.
3792 (completion-table-with-quoting, completion-table-subvert): New funs.
3793 (completion--twq-try, completion--twq-all): New functions.
3794 (completion--nth-completion): New function.
3795 (completion-try-completion, completion-all-completions): Use it.
3796
784e7d6e
LL
37972012-04-25 Leo Liu <sdl.web@gmail.com>
3798
dd2ac746
SM
3799 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3800 Use compilation-message if available to find real filename.
784e7d6e 3801
07875ee7
CY
38022012-04-25 Chong Yidong <cyd@gnu.org>
3803
3804 * vc/diff-mode.el (diff-setup-whitespace): New function.
3805 (diff-mode): Use it.
3806
3807 * vc/diff.el (diff-sentinel):
3808 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3809 Whitespace mode variables based on diff style (Bug#8612).
3810
5055880d
LL
38112012-04-25 Leo Liu <sdl.web@gmail.com>
3812
daf75653
LL
3813 * progmodes/python.el (python-send-region): Add suffix .py to the
3814 temp file.
3815
5055880d
LL
3816 * files.el (auto-mode-alist): Use javascript-mode instead.
3817
db9b177b
AH
38182012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3819
ef24141c 3820 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3821
090bd7cb 3822 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3823 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3824 references, see Bug#9.
ef24141c 3825 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3826 when receiving a fault reply.
ef24141c 3827 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3828
090bd7cb 3829 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3830 (soap-inspect-simple-type): New function.
db9b177b 3831
090bd7cb 3832 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3833 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3834 (soap-decode-basic-type, soap-encode-basic-type):
3835 support unsignedInt and double basic types.
db9b177b 3836 (soap-resolve-references-for-simple-type)
ef24141c
SM
3837 (soap-parse-simple-type, soap-encode-simple-type): New function.
3838 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3839
090bd7cb 3840 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3841 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3842 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3843 the local name of "soapenc:Array".
3844 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3845 decoding integer, byte and anyURI xsd types.
3846
1fc6097b
CY
38472012-04-25 Chong Yidong <cyd@gnu.org>
3848
3849 * cus-edit.el (custom-buffer-create-internal): Update header text.
3850
afc6df87
EZ
38512012-04-25 Eli Zaretskii <eliz@gnu.org>
3852
3853 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3854 settings on 'system-type', not on 'window-system'. On MS-Windows,
3855 set interactive-mode on in GDB.
3856
dfbd787f
SM
38572012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3860 (ruby-syntax-propertize-regexp): Remove.
3861 (ruby-syntax-propertize-function): Split regexp into chunks.
3862 Match following code directly.
3863
85222d44
DG
38642012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3865
51a8ea2a
DG
3866 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3867 (ruby-syntax-propertize-regexp): New function.
3868 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3869 by a special keyword.
3870
85222d44
DG
3871 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3872 (ruby-syntax-general-delimiters-goto-beg)
3873 (ruby-syntax-propertize-general-delimiters): New functions.
3874 (ruby-syntax-propertize-function): Use them to handle GDL.
3875 (ruby-font-lock-keywords): Move old handling of GDL...
3876 (ruby-font-lock-syntactic-keywords): .. to here.
3877 (ruby-calculate-indent): Adjust indentation for GDL.
3878
b613912b
MA
38792012-04-24 Michael Albinus <michael.albinus@gmx.de>
3880
b5380639
MA
3881 * notifications.el (top): Remove unneeded declarations.
3882 (notifications-specification-version): Change to "1.2".
e43042fe 3883 (notifications-interface, notifications-notify-method)
b613912b
MA
3884 (notifications-close-notification-method): Fix docstring.
3885 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3886 (notifications-notify): Add :action-items, :resident and
3887 :transient hints. Change "image_data" to "image-data" and
3888 "image_path" to "image-path".
b613912b
MA
3889 (notifications-get-capabilities): New defun.
3890
257440aa
LL
38912012-04-24 Leo Liu <sdl.web@gmail.com>
3892
3893 * progmodes/python.el: Move hideshow setup to the end.
3894
b1bac16e
MR
38952012-04-24 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (handle-select-window): Clear echo area since this is
3898 no more done by read_char (Bug#11304).
3899
d81bd059
SM
39002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3903 and `/ M' to filter-derived-mode.
3904 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3905 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3906 (ibuffer-mark-by-mode): Use default rather than initial-input.
3907 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3908
c4cf6d91
IA
39092012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3910
3911 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3912 (ibuffer-filter-by-derived-mode): New filter.
3913 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3914
7511ded8
CY
39152012-04-23 Andreas Politz <politza@fh-trier.de>
3916
3917 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3918
775c916b
CY
39192012-04-23 Chong Yidong <cyd@gnu.org>
3920
3921 * cus-edit.el (customize-apropos, customize-apropos-options):
3922 Disable matching of non-option variables (Bug#11176).
3923 (customize-option, customize-option-other-window)
3924 (customize-changed-options): Doc fix.
3925 (customize-apropos-options, customize-apropos-faces)
3926 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3927
3928 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3929 Fix word list splitting (Bug#11132).
46c71e23
CY
3930 (apropos-symbol, apropos-keybinding, apropos-label)
3931 (apropos-property, apropos-function-button)
3932 (apropos-variable-button, apropos-misc-button): New faces.
3933 (apropos-symbol-face, apropos-keybinding-face)
3934 (apropos-label-face, apropos-property-face, apropos-match-face):
3935 Variables removed (Bug#8396).
3936 (apropos-library-button, apropos-format-plist, apropos-print)
3937 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3938
2df41f9c
MA
39392012-04-23 Michael Albinus <michael.albinus@gmx.de>
3940
3941 * net/xesam.el (xesam-mode-map): Use let-bound map in
3942 initialization. (Bug#11292)
3943
da00640a
AM
39442012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3945
3946 Preserve ispell session localwords when switching back to
3947 original buffer.
3948
090bd7cb
JB
3949 * textmodes/ispell.el (ispell-buffer-session-localwords):
3950 New buffer-local variable to hold buffer session localwords.
ed9265fc 3951 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
3952 localwords.
3953 (ispell-command-loop, ispell-change-dictionary)
3954 (ispell-buffer-local-words): Preserve session localwords when
3955 needed.
3956
090bd7cb
JB
3957 * textmodes/flyspell.el (flyspell-process-localwords)
3958 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3959
f621ccf5
AM
39602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3961
090bd7cb
JB
3962 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3963 using obsolete `translation-table-for-input'.
ef24141c
SM
3964 (ispell-word, ispell-process-line, ispell-complete-word):
3965 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3966
c2d1019e
CY
39672012-04-22 Chong Yidong <cyd@gnu.org>
3968
3969 * cus-edit.el (custom-variable-menu)
3970 (custom-variable-reset-saved, custom-face-menu)
3971 (custom-face-reset-saved): If there is no saved value, make the
3972 "reset-saved" operation bring back the default (Bug#9509).
3973 (custom-face-state): Properly detect themed faces.
3974
eeddc531
CY
3975 * faces.el (face-spec-set): Stop supporting deprecated form of
3976 third arg.
3977
dcbf5805
MA
39782012-04-22 Michael Albinus <michael.albinus@gmx.de>
3979
3980 Move functions from C to Lisp. Make non-blocking method calls
3981 the default. Implement further D-Bus standard interfaces.
3982
ef24141c
SM
3983 * net/dbus.el (dbus-message-internal): Declare function.
3984 Remove unneeded function declarations.
dcbf5805
MA
3985 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3986 (dbus-message-type-method-return, dbus-message-type-error)
3987 (dbus-message-type-signal): Declare variables. Remove local
3988 definitions.
3989 (dbus-interface-dbus, dbus-interface-peer)
3990 (dbus-interface-introspectable, dbus-interface-properties)
3991 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3992 Adapt docstring.
3993 (dbus-interface-objectmanager): New defconst.
3994 (dbus-call-method, dbus-call-method-asynchronously)
3995 (dbus-send-signal, dbus-method-return-internal)
3996 (dbus-method-error-internal, dbus-register-service)
3997 (dbus-register-signal, dbus-register-method): New defuns, moved
3998 from dbusbind.c
3999 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4000 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4001 New defuns.
dcbf5805
MA
4002 (dbus-call-method-non-blocking): Make it an obsolete function.
4003 (dbus-unregister-object, dbus-unregister-service)
4004 (dbus-handle-event, dbus-register-property)
4005 (dbus-property-handler): Obey the new structure of
4006 `bus-registered-objects'.
4007 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4008 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4009 Use `dbus-call-method'.
4010
cf20dee0
CY
40112012-04-22 Chong Yidong <cyd@gnu.org>
4012
4013 * cus-edit.el (custom-commands, custom-reset-menu)
4014 (Custom-reset-standard): Tweak labels.
4015 (custom-reset-button-menu): Change default to t.
4016 (custom-buffer-create-internal): For the custom-reset-button-menu
4017 case, put the revert button first.
4018 (custom-group-subtitle): New face.
4019 (custom-group-value-create): Align docstring to a specific column.
4020
4021 * wid-edit.el (widget-documentation-link-add): Don't handle
4022 indentation in this function.
4023 (widget-documentation-string-indent-to): New function.
4024 (widget-documentation-string-value-create): Use it.
4025
4026 * autorevert.el (auto-revert):
4027 * epg-config.el (epg):
4028 * ibuffer.el (ibuffer):
4029 * mpc.el (mpc):
4030 * ses.el (ses):
4031 * eshell/eshell.el (eshell):
4032 * net/ange-ftp.el (ange-ftp):
4033 * progmodes/ebnf2ps.el (postscript):
4034 * progmodes/flymake.el (flymake):
4035 * progmodes/prolog.el (prolog):
4036 * progmodes/verilog-mode.el (verilog-mode):
4037 * progmodes/which-func.el (which-func):
4038 * term/xterm.el (xterm):
4039 * textmodes/picture.el (picture):
4040 * textmodes/tildify.el (tildify):
4041 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4042 customization buffers.
4043
583e23bd
AM
40442012-04-22 Alan Mackenzie <acm@muc.de>
4045
4046 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4047 Adding a ) can hide the resulting (..) from searches. Fix it.
4048 Bound the backward search to the position of the existing (.
4049
7dd51bf1
JB
40502012-04-21 Juanma Barranquero <lekktu@gmail.com>
4051
4052 * progmodes/verilog-mode.el (verilog-mode): Check whether
4053 which-func-modes is t before adding verilog-mode.
4054 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4055
d64a438f
LL
40562012-04-21 Leo Liu <sdl.web@gmail.com>
4057
7dd51bf1 4058 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4059
081e8d65
MV
40602012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4061
4062 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4063 filling of the last column of a table (Bug#5635).
4064 (woman-find-next-control-line): New arg, specifying an additional
4065 regexp component for the control line.
4066 (woman2-roff-buffer): Use it.
4067 (woman-break-table): New function.
4068 (woman2-TS): Use it.
4069
40702012-04-21 Chong Yidong <cyd@gnu.org>
4071
4072 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4073 (woman-horizontal-escapes, woman-negative-vertical-space)
4074 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4075 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4076
ed571ccb
SM
40772012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * minibuffer.el (completion-file-name-table): Complete user names.
4080
39773899
LL
40812012-04-20 Leo Liu <sdl.web@gmail.com>
4082
4083 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4084 and pcase-let*.
4085
de6ff46d
CY
40862012-04-20 Chong Yidong <cyd@gnu.org>
4087
4088 * server.el (server-execute): Respect initial-buffer-choice if it
4089 is a string and there are no files to open (Bug#2825).
4090 (server-create-window-system-frame, server-create-tty-frame):
4091 Don't switch buffers here.
2d0e8e61
CY
4092 (server-process-filter): Only try to open a window system frame if
4093 compiled with graphical support (Bug#8314).
de6ff46d 4094
54071013
DN
40952012-04-20 Dan Nicolaescu <dann@gnu.org>
4096
4097 * battery.el (battery-echo-area-format): Display remaining time
4098 for sysfs backend too (Bug#11269).
4099 (battery-linux-sysfs): Fix conditional for the charge.
4100
f30d612a
CY
41012012-04-20 Chong Yidong <cyd@gnu.org>
4102
c07a4c0b 4103 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4104 (gdb-inferior-io--init-proc): New function.
4105 (gdb-init-1): Use it.
4106 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4107 responsible for allocating a new pty and hooking it to gdb when
4108 the old pty gets an EIO due to process exit.
4109 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4110 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4111 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4112
2116e93c
EZ
41132012-04-20 Eli Zaretskii <eliz@gnu.org>
4114
4115 * window.el (window-min-size, window-sizable, window-min-delta)
4116 (window-max-delta, window--resizable, window-resizable)
4117 (window-total-size, window-full-height-p, window-full-width-p)
4118 (window-in-direction, window--resize-mini-window, window-resize)
4119 (window--resize-child-windows-normal)
4120 (window--resize-child-windows, window--resize-siblings)
4121 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4122 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4123
c07a4c0b 41242012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4125
ef24141c
SM
4126 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4127 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4128 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4129 pty process (Bug#11273).
4130 (gdb-update): New arg to suppress talking to the gdb process.
4131 (gdb-done-or-error): Use it.
4132 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4133 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4134 sentinel not being called.
4135
4136 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4137
d02766ab
CY
4138 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4139
c07a4c0b 41402012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4141
4142 * net/network-stream.el (open-network-stream): Doc fix.
4143
c07a4c0b 41442012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4145
4146 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4147
c07a4c0b 41482012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4149
4150 Ensure searching for keywords is case sensitive.
4151
4152 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4153 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4154 (c-defun-name, c-mark-function, c-cpp-define-name)
4155 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4156 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4157
ef24141c
SM
4158 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4159 Bind case-fold-search to nil.
f0f6bc35 4160
c07a4c0b 41612012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4162
4163 * mail/sendmail.el (mail-bury): Call return action with the right
4164 Rmail buffer (Bug#11242).
4165
9a864fa2
CY
4166 * server.el (server-process-filter): Handle corner case where both
4167 tty and nowait options are present (Bug#11102).
4168
539aa513
EZ
41692012-04-20 Eli Zaretskii <eliz@gnu.org>
4170
4171 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4172 (top level): Put into the executable the ident-style '$Id:' tag on
4173 windows-nt as well.
539aa513 4174
cfc7d5da
SM
41752012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * electric.el (electric-indent-post-self-insert-function): Check that
4178 electric-indent-mode is enabled in current buffer.
4179
5b01685c
JB
41802012-04-19 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * imenu.el (imenu-progress-message): Restore; it is "used" in
4183 erc/erc-imenu.el and net/snmp-mode.el.
4184
4d6769e1
JB
41852012-04-19 Juanma Barranquero <lekktu@gmail.com>
4186
4187 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4188 (mouse-avoidance-nudge-mouse): Remove unused binding.
4189
4190 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4191
4192 * descr-text.el (describe-char):
4193 * progmodes/python.el (python-describe-symbol):
4194 Don't call `toggle-read-only', set `buffer-read-only'.
4195
4196 * imenu.el (imenu-default-goto-function): Mark unused args.
4197 (imenu-progress-message): Remove obsolete macro; all callers changed.
4198
4199 * subr.el (keymap-canonicalize): Remove unused binding.
4200 (read-passwd): Mark unused arg.
4201
4202 * tutorial.el (tutorial--display-changes): Remove unused binding.
4203 (tutorial--save-tutorial-to): Remove unused variable.
4204
4205 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4206 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4207 (package-generate-autoloads, package-menu--generate)
4208 (package-menu--find-upgrades): Remove unused bindings.
4209
4210 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4211 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4212 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4213 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4214 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4215 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4216 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4217 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4218 (cua-delete-char-rectangle): Mark unused args.
4219 (cua-align-rectangle): Remove unused binding.
4220
4221 * mail/rmail.el (compilation--message->loc)
4222 (epa--find-coding-system-for-mime-charset): Declare.
4223
4224 * net/dbus.el (dbus-register-service): Declare.
4225 (dbus-name-owner-changed-handler): Remove unused binding.
4226
4227 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4228 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4229 (nxml-scan-backward-within): Mark unused arg.
4230 (nxml-dynamic-markup-word): Remove unused binding.
4231
4232 * mouse.el (mouse-menu-major-mode-map):
4233 * emacs-lisp/authors.el (authors-scan-change-log)
4234 (authors-add-to-author-list):
4235 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4236 * emacs-lisp/smie.el (smie-auto-fill):
4237 * mail/sendmail.el (mail-bury):
4238 * mail/unrmail.el (unrmail):
4239 * net/tls.el (open-tls-stream):
4240 * textmodes/picture.el (picture-mouse-set-point):
4241 Remove unused bindings.
4242
8c8fc5df
MA
42432012-04-19 Michael Albinus <michael.albinus@gmx.de>
4244
4245 * net/tramp.el (tramp-action-password): Let-bind
4246 `enable-recursive-minibuffers' to t.
4247
a77b0ac9
SS
42482012-04-18 Sam Steingold <sds@gnu.org>
4249
4250 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4251 instead of 'string to accommodate values like [f11].
4252 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4253 * progmodes/gdb-mi.el: Likewise.
4254
12a106a9
LL
42552012-04-18 Leo Liu <sdl.web@gmail.com>
4256
4257 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4258 current buffer.
4259 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4260 LOCAL is nil.
4261
bc6494ef
CY
42622012-04-18 Chong Yidong <cyd@gnu.org>
4263
4264 * simple.el (line-move): Use forward-line if in batch mode
4265 (Bug#11053).
4266
c09c46b2
CS
42672012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4268
4269 * files.el (after-find-file): Do not try to add a final newline if
4270 the buffer is read-only (Bug#11156).
4271
5f6530ea
RS
42722012-04-17 Richard Stallman <rms@gnu.org>
4273
4274 * mail/rmail.el (rmail-start-mail):
4275 Pass (rmail-mail-return...) for the return-action.
4276 Pass (rmail-yank-current-message...) for the yank-action.
4277 (rmail-yank-current-message): New function.
4278 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4279 (rmail-reply): Likewise.
4280 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4281
4282 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4283 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4284 buffer, not newbuf.
4285
197b6f3c
JB
42862012-04-17 Juanma Barranquero <lekktu@gmail.com>
4287
4288 * server.el (server-ensure-safe-dir): Simplify.
4289
2311d8e5 42902012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4291
2311d8e5
GM
4292 * emacs-lisp/smie.el: Provide smarter auto-filling.
4293 (smie-auto-fill): New function.
4294 (smie-setup): Use it.
98fb480e 4295
2311d8e5
GM
4296 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4297
42982012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4299
4300 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4301 (comment-indent): Use it.
4302
2311d8e5 43032012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4304
4305 * ses.el: The overall change is to add cell renaming, that is
4306 setting fancy names for cell symbols other than name matching
4307 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4308 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4309 (ses-create-cell-variable): New defun.
2311d8e5 4310 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4311 (ses-relocate-formula): Relocate formulas only for cells the
4312 symbols of which are not renamed, i.e. symbols whose names do not
4313 match regexp "\\`[A-Z]+[0-9]+\\'".
4314 (ses-relocate-all): Relocate values only for cells the symbols of
4315 which are not renamed.
4316 (ses-load): Create cells variables as the (ses-cell ...) are read,
4317 in order to check row col consistency with cell symbol name only
4318 for cells that are not renamed.
4319 (ses-replace-name-in-formula): New defun.
4320 (ses-rename-cell): New defun.
4bdf2ad2 4321
fc72b15c
PO
43222012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4323
4324 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4325 New option (bug#11118).
4326 (perl-calculate-indent): Respect it.
4327
12e10e61
GM
43282012-04-17 Glenn Morris <rgm@gnu.org>
4329
4330 * dired-aux.el (dired-mark-read-string): Doc fix.
4331
30009afd
DA
43322012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4333
4334 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4335 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4336
41f03f4d
GM
43372012-04-17 Glenn Morris <rgm@gnu.org>
4338
4339 * mouse.el (mouse-drag-track):
4340 * speedbar.el (speedbar-frame-mode):
4341 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4342
f45f90f3
LL
43432012-04-16 Leo Liu <sdl.web@gmail.com>
4344
4345 * progmodes/python.el: Trivial cleanup.
4346
94ee8db5
GM
43472012-04-16 Glenn Morris <rgm@gnu.org>
4348
121b8917
GM
4349 * vc/vc.el (vc-string-prefix-p):
4350 * vc/pcvs-util.el (cvs-string-prefix-p):
4351 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4352 * mpc.el (mpc-string-prefix-p):
4353 Make all of these into obsolete aliases for string-prefix-p.
4354 Update callers.
4355 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4356
1197ecfa
GM
4357 * textmodes/two-column.el: Move custom options to the start.
4358 (frame-width): Remove compat definition.
4359 (2C-associate-buffer, 2C-dissociate):
4360 Use with-current-buffer rather than save-excursion.
4361 (2C-dissociate): Force a mode-line update.
4362 (2C-autoscroll): Use ignore-errors.
4363
099e7202
GM
4364 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4365 Autoload trivia.
4366
bf350d6a
GM
4367 * emacs-lisp/cl-extra.el (*random-state*):
4368 Remove unnecessary declaration.
4369
0e829eab
GM
4370 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4371
e3ad7552
GM
4372 * play/cookie1.el (cookie-snarf):
4373 Give an explicit error if input file cannot be read.
4374
68892d27
GM
4375 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4376
20f0c46d
GM
4377 * progmodes/perl-mode.el (c-macro-expand):
4378 Remove unnecessary autoload (it is in loaddefs.el).
4379
5a0978ce
GM
4380 * textmodes/picture.el (picture-desired-column)
4381 (picture-update-desired-column): Convert comments to doc-strings.
4382 (picture-substitute): Remove function.
4383 (picture-mode-map): Initialize in the defvar.
4384
6b955486
GM
4385 * woman.el: Remove eval-after-load for tar-mode.
4386 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4387 (woman-tar-extract-file): Autoload it.
4388
94ee8db5
GM
4389 * frame.el (automatic-hscrolling): Make this alias obsolete.
4390
177eca34
AM
43912012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4392
090bd7cb 4393 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4394 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4395 (ispell-dictionary-base-alist): Revert to original XEmacs
4396 friendly version for default. [:alpha:] will be added in
090bd7cb 4397 `ispell-set-spellchecker-params' if needed.
177eca34 4398
c505aaeb
CY
43992012-04-16 Chong Yidong <cyd@gnu.org>
4400
b19dd9d1 4401 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4402 (imagemagick-register-types): Use it.
4403 (imagemagick-types-inhibit): Add :set function. Allow new value
4404 of t to inhibit all types.
4405
4406 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4407 so we can preload it.
4408
4409 * loadup.el (fboundp): Preload regexp-opt, needed by
4410 imagemagick-register-types.
4411
60efac0f
CY
44122012-04-15 Chong Yidong <cyd@gnu.org>
4413
4414 * frame.el (scrolling): Remove nearly unused customization group.
4415
4416 * scroll-all.el (scroll-all-mode): Move to windows group.
4417
5dd1713e
CY
44182012-04-15 Chong Yidong <cyd@gnu.org>
4419
4420 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4421
e6fd457e
CY
44222012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4425 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4426
e153c136
GM
44272012-04-15 Glenn Morris <rgm@gnu.org>
4428
4429 * simple.el (process-file-side-effects): Doc fix.
4430
e6fd457e 44312012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4432
4433 * international/mule-cmds.el (set-language-environment): Doc fix.
4434
3603c3b1
JB
44352012-04-14 Juanma Barranquero <lekktu@gmail.com>
4436
4437 * server.el (server-auth-key, server-generate-key): Doc fixes.
4438 (server-get-auth-key): Doc fix. Use `string-match-p'.
4439 (server-start): Reflow docstring.
4440
e6de100c
LI
44412012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4442
4443 * server.el (server-generate-key): `called-interactively-p'
4444 requires a parameter.
4445
29734c21
MN
44462012-04-14 Michal Nazarewicz <mina86@mina86.com>
4447
4448 * server.el (server-auth-key): New variable.
75f1671a 4449 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4450 (server-start): Use the new variable and functions to allow
4451 setting a permanent server key (bug#9423).
4452
d65c9521
LL
44532012-04-14 Leo Liu <sdl.web@gmail.com>
4454
4455 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4456
5ae255c7
PE
44572012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4458
4459 Spelling fixes.
4460 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4461 Emacs uses American spelling.
4462
d5e6342e
JB
44632012-04-14 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4466 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4467 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4468 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4469
ab036cd7
SM
44702012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * progmodes/which-func.el (which-func-modes): Change default.
4473
35dc09a1 44742012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4475
4476 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4477 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4478
35dc09a1 44792012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4480
4481 * custom.el (custom-theme-set-variables): Doc fix.
4482
35dc09a1 44832012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4484
4485 * international/mule.el (set-auto-coding-for-load): Doc fix.
4486
35dc09a1 44872012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4488
35dc09a1
GM
4489 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4490 imenu work again for Objective C Mode. Correct the *-index values,
4491 these having been disturbed by a previous change in 2011-08.
57f845ee 4492
0de3da9f
AM
4493 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4494 Correct two search limits.
4495
35dc09a1 44962012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4497
4498 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4499
35dc09a1 45002012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4501
4502 * international/characters.el: Fix sorting.
4503
35dc09a1 45042012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4505
4506 * international/characters.el: Add more missing Latin case pairs.
4507
35dc09a1 45082012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4509
4510 * files.el (dir-locals-set-class-variables): Doc fix.
4511
35dc09a1 45122012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4513
3f1b5bf8
EZ
4514 * international/characters.el: Add set-case-syntax-pair call for
4515 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4516 counterpart. (Bug#11209)
4517
9f847f41
EZ
4518 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4519
35dc09a1 45202012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4521
4522 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4523
35dc09a1 45242012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4525
35dc09a1
GM
4526 * textmodes/ispell.el (ispell-dictionary-base-alist):
4527 Add data for Hebrew.
e2627d21 4528
35dc09a1 45292012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4530
35dc09a1
GM
4531 * net/rcirc.el (rcirc-cmd-quit):
4532 Revert 2012-03-18 change (Bug#11192).
5c14e333 4533
35dc09a1 45342012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4535
4536 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4537
35dc09a1 45382012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4539
4517fe3a
SM
4540 * minibuffer.el (completion-in-region-mode-map):
4541 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4542
b472a594
VD
45432012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4544
4545 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4546
09b95ce3
MY
45472012-04-13 Masatake YAMATO <yamato@redhat.com>
4548
4549 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4550 to allow `C-M-f' and `C-M-b' to move to the nearest path
4551 separator (bug#9511).
4552
4b63a9ca
LI
45532012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4554
4555 * avoid.el: Require cl when compiling. And also move the
4556 `provide' to the end.
4557
7b55b8bf
TV
45582012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4559
4560 * avoid.el (mouse-avoidance-banish-position): New variable.
4561 (mouse-avoidance-banish-destination): Use it (bug#10165).
4562
adedaa1f
LL
45632012-04-13 Leo Liu <sdl.web@gmail.com>
4564
4565 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4566
70e74021
KB
45672012-04-13 Ken Brown <kbrown@cornell.edu>
4568
4569 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4570 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4571 (browse-url-filename-alist): For the same reason, don't modify
4572 file:// URLs on Cygwin.
4573
e75e89ba
SM
45742012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4577 the region on shift if the binding is already shifted (bug#11221).
4578
82f289a4
GM
45792012-04-12 Glenn Morris <rgm@gnu.org>
4580
4581 * mail/mailpost.el: Move to obsolete/.
4582
d333dc4c
DA
45832012-04-12 Drew Adams <drew.adams@oracle.com>
4584
4585 * imenu.el (imenu--generic-function): Ignore invisible definitions
4586 (bug#10123).
4587
0d15b5ba
VD
45882012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4589
4590 * hexl.el (hexl-bits): New variable.
4591 (hexl-options): Mention the variable in the doc string.
75f1671a 4592 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4593 (hexl-mode): Mention the new variable.
75f1671a
JB
4594 (hexl-mode, hexl-current-address, hexl-current-address):
4595 Use the displen.
0d15b5ba
VD
4596 (hexl-ascii-start-column): New function.
4597 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4598 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4599
64a440db
AM
46002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4601
4602 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4603 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4604 the encoding, as expected by hunspell.
4605
6decb6c2
SM
46062012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * battery.el (battery--linux-sysfs-regexp): New const.
4609 (battery-status-function): Use it. Remove yeeloong special case.
4610 (battery-yeeloong-sysfs): Remove.
4611 (battery-echo-area-format): Remove yeeloong special case.
4612
088be6fb
SM
46132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4614
6622e416
SM
4615 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4616 Reported by Noah Friedman.
4617
088be6fb
SM
4618 * subr.el (read-passwd): Use read-string.
4619
b49f886e
LMI
46202012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
4622 * vcursor.el (vcursor-move): Increase the priority of the overlay
4623 (bug#9663).
4624
a63067fc
DD
46252012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4626
4627 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4628 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4629
ac3cf14a
WS
46302012-04-11 William Stevenson <yhvh2000@gmail.com>
4631
4632 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4633 define-minor-mode (bug#10760).
4634
c4fc691b 46352012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4636
4d6769e1 4637 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4638 that directories matching `grep-find-ignored-files' won't be
4639 pruned (bug#10351).
4640
af23e2e5
CY
46412012-04-11 Chong Yidong <cyd@gnu.org>
4642
4643 * startup.el (command-line): Remove support for long-obsolete
4644 variable font-lock-face-attributes.
4645
ab7ce8c1
GM
46462012-04-11 Glenn Morris <rgm@gnu.org>
4647
4648 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4649
de8c03dc
SM
46502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * window.el (window--state-get-1): Obey window-point-insertion-type.
4653
050cc68b
LB
46542012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4655
4656 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4657 to previous function when point is on the first character of a
75f1671a 4658 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4659
a38c310c
GM
46602012-04-11 Glenn Morris <rgm@gnu.org>
4661
effed0c2
GM
4662 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4663 not just file-errors.
4664
a38c310c
GM
4665 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4666 (vc-bzr-sha1): Use internal sha1.
4667
0221e323
SM
46682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4671
43956923
SG
46722012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4673
4674 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4675 that start in the middle of the line (bug#10496).
4676
6a8c9eaf
DN
46772012-04-10 Dan Nicolaescu <dann@gnu.org>
4678
4679 * battery.el (battery-linux-proc-acpi): Only one battery is
4680 discharged at a time, but that seems to confuse battery.el when
4681 computing `rate-type' for the battery not being discharged
4682 (bug#10332).
4683
1930bf5d
SM
46842012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4685
2a718f6f
SM
4686 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4687
599430d0
SM
4688 * international/quail.el: Use dolist and simplify.
4689 (quail-define-package, quail-update-keyboard-layout)
4690 (quail-define-rules): Use dolist.
4691 (quail-insert-kbd-layout, quail-get-translation): CSE.
4692
a2754b6c
SM
4693 * tmm.el: Use dolist, remove left over hook.
4694 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4695 Use dolist.
4696 (calendar-load-hook): Don't mess with it.
4697
1930bf5d
SM
4698 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4699 Use derived-mode-p. Run the diff asynchronously.
4700
9f67961c
LMI
47012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4702
4703 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4704
2a8ce227
JB
47052012-04-10 Juanma Barranquero <lekktu@gmail.com>
4706
4707 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4708 (list-dynamic-libraries--loaded): New function.
4709 (list-dynamic-libraries--refresh): Use it.
4710
8f33b5f8
NW
47112012-04-10 Nathan Weizenbaum <nweiz@google.com>
4712
1930bf5d
SM
4713 * progmodes/python.el (python-fill-paragraph):
4714 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4715 disabled (bug#7018).
4716
b12f0439
L
47172012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4718
1930bf5d 4719 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4720 DOS/MS Windows for the Baltic languages. There are still plenty
4721 of texts written in this encoding/codepage (bug#6519).
b12f0439 4722
57c3bd01
GM
47232012-04-10 Glenn Morris <rgm@gnu.org>
4724
4725 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4726 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4727
6c3eab30
FA
47282012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4729
1930bf5d 4730 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4731 next-line "n" and previous-line "p" in order to make recentf more
4732 consistent with ibuffer, dired or org-mode (bug#9387).
4733
24d78a88
LMI
47342012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4735
bc72b5d9
LMI
4736 * image.el (put-image): Return the overlay created instead of the
4737 optional input string (bug#7834). Note that this may break code
4738 that is (for some reason or other) depending on `put-image'
4739 returning the string.
4740
bd2dba5a
LMI
4741 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4742
74beb59f
LMI
4743 * simple.el (zap-to-char): Allow zapping using input methods
4744 (bug#1580).
4745
24d78a88
LMI
4746 * textmodes/fill.el (fill-region): Leave point and mark where they
4747 were before filling (bug#5399).
4748
263f20cd
GM
47492012-04-09 Glenn Morris <rgm@gnu.org>
4750
4751 * version.el (emacs-bzr-get-version):
4752 Handle lightweight checkouts of local branches.
4753
58d1f797
AS
47542012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4755
263f20cd 4756 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4757
b4d3bc10
CY
47582012-04-09 Chong Yidong <cyd@gnu.org>
4759
4760 * custom.el (custom-variable-p): Return nil for non-symbol
4761 arguments instead of signaling an error.
4762 (user-variable-p): Obsolete alias for custom-variable-p.
4763
4764 * apropos.el (apropos-variable):
4765 * files-x.el (read-file-local-variable):
4766 * simple.el (set-variable):
4767 * woman.el (woman-mini-help):
4768 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4769
fd06db5d
GM
47702012-04-09 Glenn Morris <rgm@gnu.org>
4771
e5fcdb5e
GM
4772 * startup.el (normal-top-level): Don't look for leim-list.el
4773 in places where it will not be found. (Bug#910)
4774
fd06db5d
GM
4775 * international/mule-cmds.el (set-default-coding-systems):
4776 * files.el (normal-mode):
4777 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4778 This function was removed with ucs-tables.el in 2008.
4779
b39bb7e1
EZ
47802012-04-08 Eli Zaretskii <eliz@gnu.org>
4781
4782 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4783 ispell-encoding8-command to "-i", without a trailing space.
4784 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4785 separate command-line arguments, to specify the encoding, since
4786 that's how hunspell expects it.
4787
5c5b8e23
GM
47882012-04-08 Glenn Morris <rgm@gnu.org>
4789
4790 * loadup.el: Load bindings before cus-start.
4791 This reduces somewhat the number of "rogue" settings in emacs -Q.
4792
a1ed8b05
GM
47932012-04-07 Glenn Morris <rgm@gnu.org>
4794
4795 * version.el (emacs-bzr-get-version): New function.
dfae128a 4796 (emacs-bzr-version): New variable.
a1ed8b05
GM
4797 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4798 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4799
b142f158
EZ
48002012-04-07 Eli Zaretskii <eliz@gnu.org>
4801
dfae128a
GM
4802 * international/uni-bidi.el, international/uni-category.el:
4803 * international/uni-combining.el, international/uni-decimal.el:
4804 * international/uni-decomposition.el, international/uni-digit.el:
4805 * international/uni-lowercase.el, international/uni-mirrored.el:
4806 * international/uni-name.el, international/uni-numeric.el:
4807 * international/uni-titlecase.el, international/uni-uppercase.el:
4808 Update for Unicode 6.1.
b142f158 4809
9078ead6
EZ
48102012-04-07 Eli Zaretskii <eliz@gnu.org>
4811
4812 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4813
f23d2c7d
LMI
48142012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815
4816 * window.el (shrink-window): Mention the `window-min-height'
4817 variable in the doc string.
4818
0a0a3573
BG
48192012-04-05 Bastien Guerry <bzg@altern.org>
4820
4821 * color.el (color-lighten-name): Fix typo.
4822
e5248ac9
SM
48232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * server.el (server--on-display-p): New function.
4826 (server--on-display-p): Use it.
4827
b4243e22
GV
48282012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4829
4830 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4831 (bug#11145).
4832
305d9f44
SM
48332012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * comint.el (comint--common-quoted-suffix): Check string boundary
4836 before comparing (bug#11158).
4837 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4838
3d439cd1
CY
48392012-04-04 Chong Yidong <cyd@gnu.org>
4840
321cc491
CY
4841 * minibuffer.el (completion-extra-properties): Doc fix.
4842
3d439cd1
CY
4843 * subr.el (delayed-warnings-hook): Doc fix.
4844
2d562c0f
DU
48452012-04-04 Daiki Ueno <ueno@unixuser.org>
4846
4847 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4848 selection (Bug#11159).
4849 (epa-insert-keys): Inform that the default public key will be
4850 exported if no key is selected.
4851
4443f204
RS
48522012-04-04 Richard Stallman <rms@gnu.org>
4853
4854 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4855
529c06b6
CY
48562012-04-03 Chong Yidong <cyd@gnu.org>
4857
4858 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4859 mail-insert-file, not its obsolete alias mail-attach-file.
4860
66b907dc
MA
48612012-04-03 Michael Albinus <michael.albinus@gmx.de>
4862
4863 * notifications.el (notifications-notify): Fix docstring.
4864
c0ea195d
GM
48652012-04-02 Glenn Morris <rgm@gnu.org>
4866
4867 * emacs-lisp/authors.el (authors-aliases): Another addition.
4868
5ca64e00
MA
48692012-04-02 Michael Albinus <michael.albinus@gmx.de>
4870
4871 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4872 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4873 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4874
42ee526b
CY
48752012-04-01 Chong Yidong <cyd@gnu.org>
4876
4877 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4878 Handle root directory properly.
4879 (copy-directory): Caller changed.
4880
4881 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4882 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4883
0b021094
GM
48842012-03-31 Glenn Morris <rgm@gnu.org>
4885
40f86458
GM
4886 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4887
7019c177
GM
4888 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4889
a1daddd6
GM
4890 * calendar/calendar.el (calendar-window-list)
4891 (calendar-hide-window): Restore. (Bug#11140)
4892 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4893
0b021094
GM
4894 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4895
40311efc
TV
48962012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4897
4898 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4899 Check if file is a symlink (Bug#10489).
4900
4901 * files.el (copy-directory): Likewise.
4902
5319014e
CY
49032012-03-30 Chong Yidong <cyd@gnu.org>
4904
4905 * image.el (imagemagick-types-inhibit)
4906 (imagemagick-register-types): Doc fix.
4907
935d1290
AM
49082012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4909
090bd7cb 4910 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4911 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4912 and treats ~word as ordinary words in pipe mode.
935d1290 4913
61c6e8fd
GM
49142012-03-30 Glenn Morris <rgm@gnu.org>
4915
4916 * tutorial.el (help-with-tutorial): Ensure local variables don't
4917 happen to make the buffer read-only. (Bug#11127)
4918
81fdff00
SM
49192012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4922 (perl-calculate-indent): Return `noindent' in strings.
4923
6e7a6ec0
SS
49242012-03-28 Sam Steingold <sds@gnu.org>
4925
4926 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4927 instead of the broken adhockery which does not prevent calendar
4928 buffers from being displayed at random after exit.
4929 (calendar-window-list, calendar-hide-window): Remove the broken
4930 adhockery.
4931
fee88ca0
GM
49322012-03-28 Glenn Morris <rgm@gnu.org>
4933
4934 * replace.el (query-replace-map): Doc fix.
4935
38de3354
AS
49362012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4937
4938 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4939 contents. (Bug#11109)
4940
b973155e
SM
49412012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4944 (bug#11077).
4945 (avl-tree--check, avl-tree--check-node): New funs.
4946
dcb6e7b3
MR
49472012-03-27 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4950 (switch-to-prev-buffer, switch-to-next-buffer):
4951 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4952 showing a buffer already is done on the same frame.
4953
b4fa35fa
GM
49542012-03-27 Glenn Morris <rgm@gnu.org>
4955
4956 * startup.el (mail-host-address): Doc fix.
4957
f9210e18
SM
49582012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4961 than 197 variables.
4962
c0bf7753
AF
49632012-03-26 Ami Fischman <ami@fischman.org>
4964
4965 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4966
33da7b16
GM
49672012-03-26 Glenn Morris <rgm@gnu.org>
4968
02243d9d
GM
4969 * files.el (save-buffers-kill-emacs): Doc fix.
4970
33da7b16
GM
4971 * startup.el (normal-top-level, command-line, command-line-1):
4972 Give them doc strings.
4973
e5a69fd0
EZ
49742012-03-25 Eli Zaretskii <eliz@gnu.org>
4975
4976 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4977 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4978
9a69676a
CY
49792012-03-25 Chong Yidong <cyd@gnu.org>
4980
4125cb8b
CY
4981 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4982 theme if it was previously enabled before (Bug#11031).
4983
dd470960
CY
4984 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4985 spec with custom-face-get-current-spec if its :shown-value is not
4986 determined yet (Bug#9337).
4125cb8b 4987 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4988
9a69676a
CY
4989 * button.el (button-at): Minor addition to docstring.
4990
6e7e90fa
SL
49912012-03-24 Simon Leinen <simon.leinen@gmail.com>
4992
4993 * vc/vc.el (vc-merge): Fix a prompt.
4994
f06e2758
CY
49952012-03-24 Chong Yidong <cyd@gnu.org>
4996
4997 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4998 point (Bug#9623).
4999
6e7e90fa
SL
5000 * button.el (button-at): Minor addition to docstring.
5001
b9d0879b
SM
50022012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * newcomment.el (comment-choose-indent): No space after BOL.
5005
e71cebb3
SS
50062012-03-22 Sam Steingold <sds@gnu.org>
5007
5008 * window.el (switch-to-prev-buffer): Revert last patch because the
5009 bug turned out to be an advertised feature (Elisp manual 28.14).
5010
335aff35
GM
50112012-03-22 Glenn Morris <rgm@gnu.org>
5012
5013 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5014 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5015
c676576a
LMI
50162012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5017
5018 * net/network-stream.el (network-stream-open-starttls): Make error
5019 message under Windows be less misleading.
5020
126f3d39
LW
50212012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5022
5023 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5024 understands (bug#9942).
5025
64fee311
CY
50262012-03-22 Chong Yidong <cyd@gnu.org>
5027
5028 * simple.el (end-of-visible-line): Handle return value of
5029 next-single-property-change properly (Bug#9371).
5030
a640d29a
KH
50312012-03-22 Kenichi Handa <handa@m17n.org>
5032
5033 * international/quail.el (quail-insert-kbd-layout): Fix previous
5034 change. To avoid unwanted bidi reordering, use
5035 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5036
39675016
DG
50372012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5038
5039 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5040 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5041 (ruby-beginning-of-indent): Be more careful with the difference
5042 between word-boundary and symbol boundary.
5043 (ruby-mode-syntax-table): Make : a symbol constituent.
5044
0a6934fc 50452012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5046
3d008e4f
SM
5047 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5048
0a6934fc
SM
50492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5050
af67c9d7
SM
5051 * progmodes/etags.el (tags-completion-at-point-function):
5052 Improve last fix.
5053
1acad97c
SM
5054 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5055
e298b5da
SS
50562012-03-21 Sam Steingold <sds@gnu.org>
5057
5058 * progmodes/etags.el (tags-completion-at-point-function):
5059 Avoid the error when point is inside the pattern.
5060
91d82a70
JY
50612012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5062
5063 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5064 line (Bug#10855).
5065
69188b79
CY
50662012-03-21 Drew Adams <drew.adams@oracle.com>
5067
5068 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5069
99fc91fe
AK
50702012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5071
5072 * ido.el (ido-set-current-directory, ido-read-internal)
5073 (ido-choose-completion-string, ido-completion-help): Handle nil
5074 value of ido-completion-buffer (Bug#11008).
5075
087bbb4c
SS
50762012-03-21 Sam Steingold <sds@gnu.org>
5077
5078 * window.el (switch-to-prev-buffer): Do not switch to a visible
5079 window previous buffer, just like with the frame previous buffers.
5080
fb5b8aca
CY
50812012-03-21 Chong Yidong <cyd@gnu.org>
5082
5083 * faces.el (make-face, make-empty-face, copy-face):
5084 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5085 Doc fixes.
5086
dc9924b8
SM
50872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5090 (widget-complete): Remove broken use of it.
5091
f0bcceb9
CY
50922012-03-20 Chong Yidong <cyd@gnu.org>
5093
dc9924b8
SM
5094 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5095 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5096 characters.
5097
ee52ebf3
TH
50982012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5099
5100 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5101 to draw rectangles, not squares. (Regression introduced by revno
5102 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5103
4c5779ab
CY
51042012-03-18 Chong Yidong <cyd@gnu.org>
5105
5106 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5107 it is not yet defined (for temacs).
5108
15360934
LL
51092012-03-18 Leo Liu <sdl.web@gmail.com>
5110
dc9924b8 5111 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5112
d9a8eb66
EZ
51132012-03-17 Eli Zaretskii <eliz@gnu.org>
5114
5115 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5116 (ispell-choices-win-default-height, ispell-silently-savep)
5117 (ispell-dictionary-alist, ispell-encoding8-command)
5118 (ispell-check-version, ispell-aspell-find-dictionary)
5119 (ispell-valid-dictionary-list, ispell-words-keyword)
5120 (ispell-get-word, ispell-internal-change-dictionary)
5121 (ispell-region, ispell-skip-region-list)
5122 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5123 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5124 (ispell-message-text-end, ispell-message)
5125 (ispell-buffer-local-parsing): Doc fix.
5126
f02ff80d
J
51272012-03-13 Jambunathan K <kjambunathan@gmail.com>
5128
5129 * htmlfontify.el: Add support for code block fontification for ODT
5130 export (Bug #9914).
5131 (hfy-optimisations): Define new option
5132 `body-text-only'
5133 (hfy-fontify-buffer): Honor above setting.
5134 (hfy-begin-span, hfy-end-span): New routines factored out form
5135 `hfy-fontify-buffer'.
5136 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5137 that permit insertion of custom tags.
5138 (hfy-fontify-buffer): Use above handlers.
5139 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5140 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5141 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5142 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5143 bind a special variable `hfy-user-sheet-assoc'.
5144 (htmlfontify-string): New defun.
5145 (hfy-compile-face-map): Make sure that the last char in the
5146 buffer is correctly fontified.
5147 (hfy-face-resolve-face): Whitespace only change.
5148
9ac7a13f
EZ
51492012-03-17 Eli Zaretskii <eliz@gnu.org>
5150
5151 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5152 message more clear.
5153
e2b5bdd7
LL
51542012-03-16 Leo Liu <sdl.web@gmail.com>
5155
5156 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5157
2e492df3
AM
51582012-03-16 Alan Mackenzie <acm@muc.de>
5159
5160 Further optimise the handling of large macros.
5161
5162 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5163 limit to a call of `c-literal-limits'.
5164 (c-determine-+ve-limit): New function.
dc9924b8
SM
5165 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5166 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5167 In CASE 5B, restrict a search limit to 500.
5168 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5169
5170 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5171 Restrict macro bounds to +-500 from after-change's BEG END.
5172
50e94f0c
LL
51732012-03-16 Leo Liu <sdl.web@gmail.com>
5174
5175 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5176
6f09f6ed
AH
51772012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5178
5179 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5180 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5181
c7e73d51
GM
51822012-03-16 Glenn Morris <rgm@gnu.org>
5183
da986230
GM
5184 * view.el (view-buffer, view-buffer-other-window)
5185 (view-buffer-other-frame): Doc fixes re special mode-class.
5186
0835f01e
GM
5187 * subr.el (eval-after-load): If named feature is provided not from
5188 a file, run after-load forms. (Bug#10946)
5189
c7e73d51
GM
5190 * calendar/calendar.el (calendar-insert-at-column):
5191 Handle non-unit-width characters a bit better. (Bug#10978)
5192
3f2eafd1
CY
51932012-03-15 Chong Yidong <cyd@gnu.org>
5194
5195 * emacs-lisp/ring.el (ring-extend): New function.
5196 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5197
5198 * comint.el (comint-read-input-ring)
5199 (comint-add-to-input-history): Grow comint-input-ring lazily.
5200
103af3fe
SM
52012012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5202
663b1677
SM
5203 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5204 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5205
103af3fe
SM
5206 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5207 (imenu-add-to-menubar): Don't add a redundant index.
5208 (imenu-update-menubar): Handle a dynamically composed keymap.
5209
899cb7cb
KY
52102012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5211
5212 * mail/sendmail.el (mail-encode-header):
5213 Bind rfc2047-encode-encoded-words to nil.
5214
3809f91d
GM
52152012-03-13 Glenn Morris <rgm@gnu.org>
5216
5217 * calendar/calendar.el (calendar-string-spread):
5218 Handle non-unit-width characters a bit better. (Bug#10978)
5219
9e345a01
LL
52202012-03-13 Leo Liu <sdl.web@gmail.com>
5221
5222 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5223 directory and file as argument (Bug#10822).
5224
4a07df36
KS
52252012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5226
5227 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5228 For dynamically generated code, follow $PC.
5229 (gdb-disassembly-handler-custom): Handle no function name case.
5230
4aaa9356
TL
52312012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5232
5233 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5234 * emulation/ws-mode.el (ws-query-replace):
5235 * sort.el (sort-regexp-fields):
5236 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5237
225979da
SM
52382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * dabbrev.el: Fix cycle completion order (bug#10963).
5241 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5242 (dabbrev-completion): Don't use an obarray; provide
5243 a cycle-sort-function.
5244
e2f1fdab
LL
52452012-03-12 Leo Liu <sdl.web@gmail.com>
5246
dc9924b8 5247 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5248 (kill-do-not-save-duplicates): Doc fix.
5249
b19490ed
SM
52502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * dabbrev.el: Fix cycle completion (bug#10963).
5253 Use lexical binding and wrap to 80 columns.
5254 (dabbrev-completion): Delay computing the list of completions.
5255
4b05d722
KH
52562012-03-12 Kenichi Handa <handa@m17n.org>
5257
5258 * international/quail.el (quail-insert-kbd-layout): Surround each
5259 row by LRO and PDF instead of inserting many LRMs. Pad the left
5260 and right of each non-spacing marks. Insert invisible space
5261 between lower and upper characters to prevent composition.
5262
dbbc2e69
SM
52632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * minibuffer.el (minibuffer-complete): Don't get confused when the
5266 function is run twice via different commands (bug#10958).
5267 (complete-with-action): Fix docstring.
5268
292112ed
CY
52692012-03-12 Chong Yidong <cyd@gnu.org>
5270
5d1ac394
CY
5271 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5272 (nxml-completion-at-point-function): New function.
5273 (nxml-mode): Use it.
5274 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5275
292112ed
CY
5276 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5277 Load generated autoloads file before byte compiling (Bug#10970).
5278 (package--make-autoloads-and-compile): New helper fun.
5279
4098f8f7
CS
52802012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5281
5282 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5283
8f754691
MA
52842012-03-11 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * autorevert.el (auto-revert-handler): Ensure, that
5287 file-readable-p is applied only for local files or in
5288 auto-revert-tail-mode.
5289
e29ab36b
AS
52902012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5291
dbbc2e69
SM
5292 * server.el (server-eval-at): Handle non-tcp connections.
5293 Decode result string.
ad0bf5b6 5294
e29ab36b
AS
5295 * server.el (server-msg-size): New constant.
5296 (server-reply-print): New function.
5297 (server-eval-and-print): Use it.
5298 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5299 Handle -print-nonl.
5300
de5939ba
CS
53012012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5302
5303 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5304 (Bug#10987).
5305
0c93eabf
CY
53062012-03-11 Chong Yidong <cyd@gnu.org>
5307
397a688f
CY
5308 * simple.el (goto-line): Doc fix (Bug#9938).
5309
2cc775f9
CY
5310 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5311
0c93eabf
CY
5312 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5313 when finished (Bug#10963).
5314
c491fa41
MR
53152012-03-11 Martin Rudalics <rudalics@gmx.at>
5316
5317 * window.el (split-window-below): Fix bug in case where
5318 split-window-keep-point is nil (Bug#10971).
5319
300e8fa5
JL
53202012-03-11 Juri Linkov <juri@jurta.org>
5321
5322 * replace.el (replace-highlight): Set isearch-word to nil
5323 unconditionally. (Bug#10887)
5324
dbf6c5a1
EZ
53252012-03-10 Eli Zaretskii <eliz@gnu.org>
5326
5327 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5328 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5329 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5330 (mairix-widget-create-query): Add usage information about mairix
5331 search forms: negating words, searching for substrings, etc.
5332
b9e501de
JP
53332012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5334
5335 * international/fontset.el (font-encoding-alist): Add an entry for
5336 ksx1001 (Bug#5667).
5337
92795c91
RS
53382012-03-10 Richard Stallman <rms@gnu.org>
5339
1694e6c1
RS
5340 * mail/sendmail.el (mail-encode-header):
5341 Set rfc2047-encode-encoded-words.
5342
607e8555
RS
5343 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5344
de3bc99a
RS
5345 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5346 view buffer means not swapped.
5347 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5348 (rmail-write-region-annotate): Error if real text has disappeared.
5349
92795c91
RS
5350 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5351
699bd04e
CY
53522012-03-10 Chong Yidong <cyd@gnu.org>
5353
5354 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5355 * emulation/cua-base.el (cua--init-keymaps):
5356 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5357
570a1714
MR
53582012-03-10 Martin Rudalics <rudalics@gmx.at>
5359
dbbc2e69
SM
5360 * speedbar.el (speedbar-unhighlight-one-tag-line):
5361 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5362
82dcf4e4
CY
53632012-03-10 Chong Yidong <cyd@gnu.org>
5364
7a2c7ca7
CY
5365 * minibuffer.el (completion-in-region, completion-help-at-point):
5366 Give the completion field overlay a high priority (Bug#6830).
5367
82dcf4e4
CY
5368 * dired.el (dired-goto-file): Recognize absolute file name
5369 listings (Bug#7126).
5370 (dired-goto-file-1): New helper function.
5371 (dired-toggle-read-only): Inhibit warnings.
5372
052e28ac
MA
53732012-03-09 Michael Albinus <michael.albinus@gmx.de>
5374
75f1671a 5375 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5376 there are no properties.
5377
95d5e396
LL
53782012-03-09 Leo Liu <sdl.web@gmail.com>
5379
5380 * savehist.el (savehist-printable): Stricter check for string
5381 value (Bug#10937).
5382
3f018d6d
EZ
53832012-03-09 Eli Zaretskii <eliz@gnu.org>
5384
dbbc2e69
SM
5385 * mail/smtpmail.el (smtpmail-send-it):
5386 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5387 valid mbox format.
5388
f7fd3d79
GM
53892012-03-09 Glenn Morris <rgm@gnu.org>
5390
5391 * files.el (dir-locals-find-file):
5392 Don't check result is regular, readable.
5393 (dir-locals-read-from-file): Demote errors.
5394
6ff6e72f
EZ
53952012-03-08 Eli Zaretskii <eliz@gnu.org>
5396
dbbc2e69
SM
5397 * international/quail.el (quail-insert-kbd-layout):
5398 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5399 layout cell, to prevent their reordering by bidi display engine.
5400 For details, see the discussion in
5401 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5402
9cec7834
AM
54032012-03-08 Alan Mackenzie <acm@muc.de>
5404
5405 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5406 the starting position; make it extend the marked region when
5407 invoked repeatedly - all under appropriate circumstances.
5408 Fixes bugs #5525, #10906.
5409
9a40b8d4
GM
54102012-03-08 Glenn Morris <rgm@gnu.org>
5411
5412 * files.el (locate-dominating-file, dir-locals-find-file):
5413 Undo 2012-03-06 change.
5414
7a08ed35
EZ
54152012-03-07 Eli Zaretskii <eliz@gnu.org>
5416
dbbc2e69
SM
5417 * international/quail.el (quail-help):
5418 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5419 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5420 for the reason.
5421
5aca4f71 54222012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5423
5424 Avoid superfluous registering of signals. (Bug#10807)
5425
5426 * notifications.el (notifications-on-action-object)
5427 (notifications-on-close-object): New defvars.
5428 (notifications-on-action-signal, notifications-on-closed-signal):
5429 Unregister the signal if not needed any longer.
5430 (notifications-notify): Register `notifications-action-signal' or
5431 `notifications-closed-signal', if :on-action or :on-close has been
5432 passed as argument.
5433
78e8b10a
CY
54342012-03-07 Chong Yidong <cyd@gnu.org>
5435
5436 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5437 non-X platforms.
5438
69481eb8
GM
54392012-03-06 Glenn Morris <rgm@gnu.org>
5440
5441 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5442 (x-disown-selection-internal, x-get-selection-internal):
5443 Doc fix (add arglist signatures). (Bug#10783)
5444
133b8e11
KS
54452012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5446
5447 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5448 Handle breakpoints with no "type".
5449
99a83064
GM
54502012-03-06 Glenn Morris <rgm@gnu.org>
5451
5452 * files.el (locate-dominating-file): Add optional predicate argument.
5453 (dir-locals-find-file): Make use of above change.
5454
17798e78
TTN
54552012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5456
5457 * info.el (Info-insert-dir): Also try "dir.gz".
5458
eb182446
GM
54592012-03-06 Glenn Morris <rgm@gnu.org>
5460
8f2114ee
GM
5461 * files.el (dir-locals-find-file):
5462 Ignore non-readable or non-regular files. (Bug#10928)
5463
eb182446
GM
5464 * files.el (locate-dominating-file): Doc fix.
5465
24679323
AS
54662012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5467
5468 * calendar/calendar.el (calendar-set-mode-line):
5469 `getenv' returns a string. (Bug#10951)
5470
01d972a9
LL
54712012-03-05 Leo Liu <sdl.web@gmail.com>
5472
109aa8a9
LL
5473 * simple.el (backward-delete-char-untabify): Constrain point to
5474 field (Bug#10939).
5475
01d972a9
LL
5476 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5477
10607bea
CY
54782012-03-05 Chong Yidong <cyd@gnu.org>
5479
5480 * simple.el (count-words): If called from Lisp, return the word
5481 count, for symmetry with `count-lines'. Arglist changed.
5482 (count-words--message): Args changed. Consolidate counting code
5483 from count-words and count-words-region.
5484 (count-words-region): Caller changed.
5485 (count-lines-region): Make it an obsolete alias.
5486
5dd11cfe
TH
54872012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5488
5489 * saveplace.el (save-place-to-alist)
5490 (save-place-ignore-files-regexp): Allow value nil to disable this
5491 feature.
5492
c349f4e6
CY
54932012-03-04 Chong Yidong <cyd@gnu.org>
5494
5495 * faces.el (face-spec-reset-face): For the default face, reset the
5496 attributes to default values (Bug#10748).
5497
e627be4c
LMI
54982012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5499
5500 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5501 previous patch: Check `message-send-mail-function', and not the
5502 default function (bug#10897).
5503
ebeabff4
MA
55042012-03-04 Michael Albinus <michael.albinus@gmx.de>
5505
a41a6cf4
MA
5506 * notifications.el (notifications-on-action-signal)
5507 (notifications-on-closed-signal): Check for unique service name of
5508 incoming event. Fix error in removing entry.
ebeabff4 5509 (top): Register for signals with wildcard service name.
a41a6cf4 5510 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5511
c1ca42b4
CY
55122012-03-04 Chong Yidong <cyd@gnu.org>
5513
dc9924b8 5514 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5515
ea16568d
GM
55162012-03-04 Glenn Morris <rgm@gnu.org>
5517
5518 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5519 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5520 (expand-abbrev, define-abbrev-table): Doc fixes.
5521
fbae4637
LMI
55222012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5523
5524 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5525 `message-default-send-mail-function' and not `send-mail-function'
5526 when doing the prompting for `sendmail-query-once' before sending
5527 in Message buffers (bug#10897).
5528
a1e7225c
LMI
5529 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5530 This is inconsistent with all the other stream functions, which leave
5531 the setting up to the higher levels (if so wanted) (bug#10931).
5532
56d093a9
AM
55332012-03-02 Alan Mackenzie <acm@muc.de>
5534
5535 Depessimize the handling of very large macros.
5536
5537 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5538 (c-macro-cache-syntactic): New variables to implement a one
5539 element macro cache.
5540 (c-invalidate-macro-cache): New function.
5541 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5542 Adapt to use the new cache.
5543 (c-state-safe-place): Use better the cache of safe positions.
5544 (c-state-semi-nonlit-pos-cache)
5545 (c-state-semi-nonlit-pos-cache-limit):
5546 New variables for...
5547 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5548 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5549 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5550 Use c-state-semi-safe-place.
56d093a9 5551
dbbc2e69
SM
5552 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5553 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5554
817e5c3d
MA
55552012-03-02 Michael Albinus <michael.albinus@gmx.de>
5556
dbbc2e69
SM
5557 * jka-compr.el (jka-compr-call-process):
5558 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5559 not remote.
5560
a032a702
MA
55612012-03-01 Michael Albinus <michael.albinus@gmx.de>
5562
5563 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5564 access of FILE2, if FILE1 does not exist.
5565
99a54f21
MA
5566 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5567 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5568
5569 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5570 Add "PAGER=" to `process-environment'.
5571
f6561e1f
MM
55722012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5573
5574 * progmodes/sql.el: Bug fix
5575 (sql-get-login-ext): Save login values in globals.
5576 (sql-get-login): Use new version of `sql-get-login-ext'.
5577 (sql-interactive-mode): Set global `sql-connection' to nil.
5578 (sql-connect): Set global values for connection.
5579 (sql-product-interactive): Save global values as buffer local.
5580
2d44d9cc
LL
55812012-02-29 Leo Liu <sdl.web@gmail.com>
5582
5583 * abbrev.el (define-abbrevs): Reset sys to nil.
5584
96b49301 55852012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5586
bf7f9bc5
JB
5587 * files.el (file-equal-p): Rename from `files-equal-p'.
5588 Return nil when one or both files don't exist.
96b49301 5589 (file-subdir-of-p): Now only top directory must exists,
5590 return nil if it doesn't.
bf7f9bc5
JB
5591 (copy-directory): No need to test with `file-subdir-of-p' after
5592 creating dir.
5593 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5594 to `file-equal-p'.
96b49301 5595
44e97401
GM
55962012-02-28 Glenn Morris <rgm@gnu.org>
5597
5598 * shell.el (shell-mode):
5599 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5600 * play/landmark.el (landmark-font-lock-face-O):
5601 * play/handwrite.el (handwrite):
5602 * play/gomoku.el (gomoku-O):
5603 * net/browse-url.el (browse-url-browser-display):
5604 * international/mule.el (define-charset):
5605 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5606 * filesets.el (filesets-find-file-delay):
5607 * eshell/em-xtra.el (eshell-xtra):
5608 * eshell/em-unix.el (eshell-grep):
5609 * emulation/viper.el (viper-mode):
5610 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5611 * emacs-lisp/easymenu.el (easy-menu-define):
5612 * calendar/timeclock.el (timeclock-use-display-time):
5613 * bs.el (bs-mode):
5614 * bookmark.el (bookmark-save-flag):
5615 Doc fix (standardize possessive apostrophe usage).
5616
c98c6276
CY
56172012-02-27 Chong Yidong <cyd@gnu.org>
5618
bf7f9bc5
JB
5619 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5620 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5621
c98c6276
CY
5622 * font-lock.el (font-lock-specified-p): Rename from
5623 font-lock-spec-present. Callers changed.
5624
9c62cd04 56252012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5626
bf7f9bc5
JB
5627 * emacs-lisp/package.el (package-compute-transaction):
5628 Handle holding a package version to t in package-load-list.
8ac9e529 5629
530739c9
MA
56302012-02-26 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5633 (tramp-get-inode, tramp-get-device): Use cached values.
5634
487915d7
AM
56352012-02-26 Alan Mackenzie <acm@muc.de>
5636
5637 Check there is a font-lock specification before doing initial
5638 fontification.
5639
5640 * font-core.el (font-lock-mode): Move the conditional from
5641 :after-hook to font-lock-initial-fontify.
5642 (font-lock-default-function): Move the check for a specification
5643 to font-lock-spec-present.
5644
dc9924b8 5645 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5646 (font-lock-spec-present): New function.
5647
4fd96557
JB
56482012-02-26 Jim Blandy <jimb@red-bean.com>
5649
5650 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5651 (gdb-send): Apply it to the operand of the '-interpreter-exec
5652 console' command, so that we can pass arguments with (say) quotes
5653 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5654
9a4888c0
CY
56552012-02-26 Chong Yidong <cyd@gnu.org>
5656
07498861
CY
5657 * help-fns.el (describe-function-1): Clarify description of
5658 remapping (Bug#10844).
5659
9a4888c0
CY
5660 * files.el (files-equal-p): Doc fix.
5661 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5662 and quit the loop once a mismatch is found.
5663
ea8fb88d
JB
56642012-02-25 Juanma Barranquero <lekktu@gmail.com>
5665
5666 * bs.el (bs--show-with-configuration): Don't throw an error
5667 if the window cannot be split; otherwise, subsequent calls to
5668 bs-show fail, restoring a stale window config. (Bug#10882)
5669
525795c1
JD
56702012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5671
5672 * term/ns-win.el (global-map): Bind ns-drag-file to
5673 ns-find-file (Bug#5855, Bug#10050).
5674
f008086f
AS
56752012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5676
5677 * calendar/parse-time.el (parse-time-string): Allow extractor to
5678 return nil.
5679
a3fcfa99
MA
56802012-02-25 Michael Albinus <michael.albinus@gmx.de>
5681
91027d08
JB
5682 * net/tramp.el (tramp-file-name-for-operation):
5683 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5684
5685 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5686 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5687 Add COPY-CONTENTS argument.
a3fcfa99 5688
67b0de11
CY
56892012-02-25 Chong Yidong <cyd@gnu.org>
5690
5691 Add custom groups for VC backends, for consistency with vc-bzr.
5692
5693 * vc/vc-arch.el (vc-arch):
5694 * vc/vc-cvs.el (vc-cvs):
5695 * vc/vc-git.el (vc-git):
5696 * vc/vc-hg.el (vc-hg):
5697 * vc/vc-mtn.el (vc-mtn):
5698 * vc/vc-rcs.el (vc-rcs):
5699 * vc/vc-sccs.el (vc-sccs):
5700 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5701 All relevant defcustoms reassigned.
5702
3c9dfce6
CY
57032012-02-25 Chong Yidong <cyd@gnu.org>
5704
1339bf43
CY
5705 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5706
3c9dfce6
CY
5707 * term/x-win.el (x-initialize-window-system): Reduce default for
5708 x-selection-timeout to 5 seconds (Bug#8869).
5709
25b2e303 57102012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5711
ec70a47d
GM
5712 * files.el (files-equal-p, file-subdir-of-p): New functions.
5713 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5714 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5715 * dired-aux.el (dired-copy-file-recursive): Same.
5716 (dired-create-files): Modify destination when source is equal to
5717 dest when copying files.
53a46cd0 5718 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5719
914260cd
MA
57202012-02-24 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5723 (Bug#10874)
5724
2cb228f7
AM
57252012-02-23 Alan Mackenzie <acm@muc.de>
5726
5727 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5728 parameter "after-hook:" to allow the expansion to run code after
5729 the execution of the mode hooks.
5730
5731 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5732 from font-lock-mode-internal.
2cb228f7 5733
91027d08 5734 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5735 :after-hook.
5736
8f0fde21
SM
57372012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5738
3e88618b
SM
5739 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5740 (completion--cache-all-sorted-completions): New function.
5741 (completion-all-sorted-completions): Use it.
5742 (completion--do-completion, minibuffer-force-complete):
5743 Use it to re-instate the flush hook.
5744
8f0fde21
SM
5745 * icomplete.el (icomplete-completions): Replace last fix with a better
5746 one (bug#10850).
5747
8e911f6f
DG
57482012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5749
5750 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5751 when it might call us back infinitely (bug#10797).
5752
49fe4321
GM
57532012-02-23 Glenn Morris <rgm@gnu.org>
5754
5755 * minibuffer.el (completion-category-overrides): Doc fix.
5756
b291b572
SM
57572012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5760 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5761
31a9ef2e
GM
57622012-02-23 Glenn Morris <rgm@gnu.org>
5763
5e6e6794 5764 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5765 (authors-obsolete-files-regexps, authors-ignored-files)
5766 (authors-ambiguous-files, authors-renamed-files-alist):
5767 Add more entries.
5768
0bd1e074
JL
57692012-02-23 Juri Linkov <juri@jurta.org>
5770
5771 * isearch.el (isearch-occur): Sync interactive spec with occur's
5772 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5773
b617673c
JL
5774 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5775
19e9789e
JL
57762012-02-22 Juri Linkov <juri@jurta.org>
5777
5778 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5779 (ucs-insert): Doc fix. Check for hex digits in the string.
5780 Don't display `nil' in the error message. (Bug#10857)
5781
f41ce09d
AM
57822012-02-22 Alan Mackenzie <acm@muc.de>
5783
7a71b18d 5784 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5785
ac2eceee
GM
57862012-02-22 Glenn Morris <rgm@gnu.org>
5787
5788 * ffap.el (ffap-c-path):
5789 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5790
abd1f678
CY
57912012-02-22 Chong Yidong <cyd@gnu.org>
5792
5793 * custom.el (load-theme): Doc fix.
5794
f25aef2e
GM
57952012-02-22 Glenn Morris <rgm@gnu.org>
5796
5797 * dired-x.el (dired-guess-shell-alist-default):
5798 Remove escape sequences from nroff output. (Bug#172)
5799
5f8dc2ca
GM
58002012-02-21 Glenn Morris <rgm@gnu.org>
5801
6ff86ec4
GM
5802 * vc/emerge.el (emerge-defvar-local):
5803 Set `permanent-local' property rather than unused `preserved'.
5804
be3223a3 5805 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5806 (picture-mode-map): Use it. (Bug#10860)
5807 (picture-mode): Doc fix.
5808
3fe58f4f
JB
58092012-02-21 Juanma Barranquero <lekktu@gmail.com>
5810
5811 * newcomment.el (uncomment-region-default): Remove unused binding.
5812
f9a998c3
GM
58132012-02-21 Glenn Morris <rgm@gnu.org>
5814
5815 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5816 (picture-self-insert, picture-tab-chars): Doc fix.
5817 (picture-mode-map): Fix C-a, C-e.
5818
c6029348
GM
58192012-02-20 Glenn Morris <rgm@gnu.org>
5820
5821 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5822
ab1ce9d7
LL
58232012-02-20 Leo Liu <sdl.web@gmail.com>
5824
5825 * icomplete.el (icomplete-completions): Check FROM arg before
5826 passing to substring (Bug#10850).
5827
0fd40f89
CY
58282012-02-19 Chong Yidong <cyd@gnu.org>
5829
5830 * comint.el: Require ansi-color.
5831 (comint-output-filter-functions): Add ansi-color-process-output.
5832
5833 * ansi-color.el: Don't set comint-output-filter-functions; it is
5834 now in the initial value defined in comint.el.
5835 (ansi-color-apply-face-function): New variable.
5836 (ansi-color-apply-on-region): Use it.
5837 (ansi-color-apply-overlay-face): New function.
5838
5839 * shell.el (shell): No need to require ansi-color.
5840 (shell-mode): Use ansi-color-apply-face-function to highlight
5841 color escapes using font-lock-face property (Bug#10835).
5842
20af2394
CY
58432012-02-19 Chong Yidong <cyd@gnu.org>
5844
5845 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5846 mode-line formats (Bug#10839).
5847
e23a3fbe
GM
58482012-02-18 Glenn Morris <rgm@gnu.org>
5849
b474519e
GM
5850 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5851
5852 * mail/undigest.el (unforward-rmail-message): Doc fix.
5853
e23a3fbe
GM
5854 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5855
57939ff4
EZ
58562012-02-18 Eli Zaretskii <eliz@gnu.org>
5857
5858 * international/characters.el (script-list): Sync with the latest
5859 Unicode Character Database.
5860
0c23686e
AS
58612012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5862
5863 * international/titdic-cnv.el: Remove duplicate coding tag.
5864 * language/cham.el: Likewise.
5865 * language/tai-viet.el: Likewise.
5866
6818b449
GM
58672012-02-18 Glenn Morris <rgm@gnu.org>
5868
5869 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5870 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5871 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5872 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5873 * calendar/holidays.el (holiday-bahai-holidays)
5874 (calendar-holidays, list-holidays):
5875 Use utf-8 Bahá'í in doc-strings, menus, etc.
5876
0311a3fc
TH
58772012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5878
5879 * saveplace.el (save-place-ignore-files-regexp): New variable
5880 allowing for excluding files from saving their location of point.
5881 The default value matches the temporary commit message editing
5882 files from Git, SVN, Bazaar, and Mercurial.
5883 (save-place-to-alist): Use it.
5884
d209e2fb 58852012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5886 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * newcomment.el (uncomment-region-default): Don't leave extra space
5889 when an arg is provided (bug#8150).
5890
ee0ce425
TZ
58912012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5892
eb864a71 5893 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5894
95ddf442
GM
58952012-02-17 Glenn Morris <rgm@gnu.org>
5896
5897 * net/socks.el: Require network-stream. (Bug#10599)
5898
48dd1e39 58992012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5900
5901 * international/charprop.el:
5902 * international/uni-name.el:
5903 * international/uni-old-name.el:
5904 * international/uni-comment.el: Regenerate.
5905
d68cd087
GM
59062012-02-16 Glenn Morris <rgm@gnu.org>
5907
5908 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5909 Interactively in calendar buffer, give an error if not on a date.
5910
13932042
GM
59112012-02-15 Glenn Morris <rgm@gnu.org>
5912
5913 * shell.el (shell-delimiter-argument-list):
5914 Revert 2011-02-17 change. (Bug#8027)
5915
c3a70e2b
CY
59162012-02-15 Chong Yidong <cyd@gnu.org>
5917
60236b0d
CY
5918 * minibuffer.el (completion-at-point-functions): Doc fix.
5919
c3a70e2b
CY
5920 * custom.el (defcustom): Doc fix; note use of defvar.
5921
9f26dc24
GM
59222012-02-15 Glenn Morris <rgm@gnu.org>
5923
5924 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5925 Doc fixes.
5926
6546b134
GM
59272012-02-14 Glenn Morris <rgm@gnu.org>
5928
5929 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5930
d29b2b4c
LI
59312012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5932
5933 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5934 way the ports list is computed.
835bdcba
LI
5935 (smtpmail-query-smtp-server): Prompt the user for a port number if
5936 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5937
08dcdbc9
TZ
59382012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5939
5940 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5941
2605051a
GM
59422012-02-13 Glenn Morris <rgm@gnu.org>
5943
5944 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5945
7ee99f32
TZ
59462012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5947
5948 * net/gnutls.el (gnutls-trustfiles): New variable.
5949 (gnutls-negotiate): Use it.
5950
5f0af64f
LI
59512012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5952
5953 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5954 does its stuff if Gnus is running.
5955
c14fcc95
AM
59562012-02-13 Alan Mackenzie <acm@muc.de>
5957
5958 Fix a loop in c-set-fl-decl-start.
5959
7a71b18d 5960 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5961 c-backward-syntactic-ws actually moves backwards.
5962
142b4d90
LL
59632012-02-13 Leo Liu <sdl.web@gmail.com>
5964
5965 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5966 beginning so that all \C-o chars are removed.
5967
fa9958a6
TZ
59682012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5969
dc9924b8 5970 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5971
0bc5886a
AM
59722012-02-12 Alan Mackenzie <acm@muc.de>
5973
5974 Fix infinite loop with long macros.
4d6769e1 5975 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5976
d4bd55e7
CY
59772012-02-12 Chong Yidong <cyd@gnu.org>
5978
5979 * window.el (display-buffer): Doc fix (Bug#10785).
5980
66f3fe22
GM
59812012-02-12 Glenn Morris <rgm@gnu.org>
5982
bd7da63e
GM
5983 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5984 (x-disown-selection-internal, x-get-selection-internal):
5985 Sync docs with the xselect.c versions.
5986
66f3fe22
GM
5987 * allout-widgets.el: Add missing license notice.
5988
3e0d2fa7
GM
59892012-02-11 Glenn Morris <rgm@gnu.org>
5990
cfecdf09
GM
5991 * select.el (x-get-selection-internal, x-own-selection-internal)
5992 (x-disown-selection-internal):
5993 * x-dnd.el (x-get-selection-internal): Update declarations.
5994
6d216d7f
GM
5995 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5996
2bed3f04
GM
5997 * window.el (window-sides-slots):
5998 * tool-bar.el (tool-bar-position):
5999 * term/xterm.el (xterm-extra-capabilities):
6000 * ses.el (ses-self-reference-early-detection):
6001 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6002 (verilog-auto-wire-type)
6003 (verilog-auto-delete-trailing-whitespace)
6004 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6005 (verilog-auto-tieoff-declaration):
6006 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6007 (sql-oracle-statement-starters, sql-oracle-scan-on):
6008 * progmodes/prolog.el (prolog-align-comments-flag)
6009 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6010 (prolog-left-indent-regexp, prolog-paren-indent-p)
6011 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6012 (prolog-types, prolog-mode-specificators)
6013 (prolog-determinism-specificators, prolog-directives)
6014 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6015 (prolog-electric-dot-flag)
6016 (prolog-electric-dot-full-predicate-template)
6017 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6018 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6019 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6020 (prolog-program-switches, prolog-prompt-regexp)
6021 (prolog-debug-on-string, prolog-debug-off-string)
6022 (prolog-trace-on-string, prolog-trace-off-string)
6023 (prolog-zip-on-string, prolog-zip-off-string)
6024 (prolog-use-standard-consult-compile-method-flag)
6025 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6026 (prolog-imenu-max-lines, prolog-info-predicate-index)
6027 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6028 (prolog-char-quote-workaround):
6029 * progmodes/cc-vars.el (c-defun-tactic):
6030 * net/tramp.el (tramp-encoding-command-interactive)
6031 (tramp-local-end-of-line):
6032 * net/soap-client.el (soap-client):
6033 * net/netrc.el (netrc-file):
6034 * net/gnutls.el (gnutls):
6035 * minibuffer.el (completion-category-overrides)
6036 (completion-cycle-threshold)
6037 (completion-pcm-complete-word-inserts-delimiters):
6038 * man.el (Man-name-local-regexp):
6039 * mail/feedmail.el (feedmail-display-full-frame):
6040 * international/characters.el (glyphless-char-display-control):
6041 * eshell/em-ls.el (eshell-ls-date-format):
6042 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6043 (lisp-lambda-list-keyword-parameter-indentation)
6044 (lisp-lambda-list-keyword-parameter-alignment):
6045 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6046 * dired-x.el (dired-omit-verbose):
6047 * cus-theme.el (custom-theme-allow-multiple-selections):
6048 * calc/calc.el (calc-highlight-selections-with-faces)
6049 (calc-lu-field-reference, calc-lu-power-reference)
6050 (calc-note-threshold):
6051 * battery.el (battery-mode-line-limit):
6052 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6053 (archive-7z-update):
6054 * allout.el (allout-prefixed-keybindings)
6055 (allout-unprefixed-keybindings)
6056 (allout-inhibit-auto-fill-on-headline)
6057 (allout-flattened-numbering-abbreviation):
6058 * allout-widgets.el (allout-widgets-auto-activation)
6059 (allout-widgets-icons-dark-subdir)
6060 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6061 (allout-widgets-theme-dark-background)
6062 (allout-widgets-theme-light-background)
6063 (allout-widgets-item-image-properties-emacs)
6064 (allout-widgets-item-image-properties-xemacs)
6065 (allout-widgets-run-unit-tests-on-load)
6066 (allout-widgets-time-decoration-activity)
6067 (allout-widgets-hook-error-post-time)
6068 (allout-widgets-track-decoration):
6069 Add missing :version tags to new defcustoms and defgroups.
6070
5fec1b8e
GM
6071 * progmodes/sql.el (sql-ansi-statement-starters)
6072 (sql-oracle-statement-starters): Add custom type.
6073
3e0d2fa7
GM
6074 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6075 (prolog-system-version): Give it a type.
6076
90b671e2
EZ
60772012-02-11 Eli Zaretskii <eliz@gnu.org>
6078
6079 * term/pc-win.el (x-select-text, x-selection-owner-p)
6080 (x-own-selection-internal, x-disown-selection-internal)
6081 (x-get-selection-internal): Sync doc strings and argument lists
6082 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6083
5eac0c02
LL
60842012-02-11 Leo Liu <sdl.web@gmail.com>
6085
6086 * progmodes/python.el (python-end-of-statement): Fix infinite
6087 loop. (Bug#10788)
6088
f82cb659
GM
60892012-02-10 Glenn Morris <rgm@gnu.org>
6090
6091 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6092 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6093
cc26d239
LI
60942012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6095
6096 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6097 about SMTP before checking the From header.
6098
91027d08 6099 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6100 into own function for reuse by emacsbug.el.
6101
1be3ca5a
LL
61022012-02-10 Leo Liu <sdl.web@gmail.com>
6103
6104 * subr.el (condition-case-unless-debug): Rename from
6105 condition-case-no-debug. All callers changed.
6106 (with-demoted-errors): Fix caller.
6107
6108 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6109 * nxml/rng-valid.el (rng-do-some-validation):
6110 * emacs-lisp/package.el (package-refresh-contents)
6111 (package-menu-execute):
6112 * desktop.el (desktop-create-buffer):
91027d08 6113 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6114
b011fbfe
GM
61152012-02-10 Glenn Morris <rgm@gnu.org>
6116
b2096d72
GM
6117 * textmodes/bibtex.el:
6118 Add missing :version tags for new/changed defcustoms.
6119
b011fbfe
GM
6120 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6121
4c7e65bf
LI
61222012-02-09 Lars Ingebrigtsen <larsi@rusty>
6123
6124 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6125 (smtpmail-via-smtp): Use it, or fall back on the From address.
6126 (smtpmail-send-it): Ditto.
6127
f3934f6f
SM
61282012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6131 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6132 (byte-compile-tmp-var): New const.
6133 (byte-compile-defvar): Use it to minimize .elc size.
6134 Just use `defvar' rather than simulate it (bug#10761).
6135
a075a2c5
GM
61362012-02-09 Glenn Morris <rgm@gnu.org>
6137
cf3aa21b
GM
6138 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6139
354998cd
GM
6140 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6141 Add :version tags.
6142
dc9924b8
SM
6143 * progmodes/compile.el (compilation-error-screen-columns)
6144 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6145
dab3703d
GM
6146 * vc/log-view.el (log-view-toggle-entry-display):
6147 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6148
3f88cd72
GM
6149 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6150 (report-emacs-bug-can-use-xdg-email):
6151 (report-emacs-bug-insert-to-mailer): Doc fixes.
6152 (report-emacs-bug): Message fix.
6153
d95b247d
GM
6154 * net/browse-url.el (browse-url-can-use-xdg-open)
6155 (browse-url-xdg-open): Doc fixes.
6156
a075a2c5
GM
6157 * electric.el (electric-indent-mode, electric-pair-mode)
6158 (electric-layout-rules, electric-layout-mode): Doc fixes.
6159 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6160
ffb6157e
MR
61612012-02-08 Martin Rudalics <rudalics@gmx.at>
6162
6163 * server.el (server-unselect-display): Don't inadvertently kill
6164 the current buffer. (Bug#10729)
6165
e1ac4066
GM
61662012-02-08 Glenn Morris <rgm@gnu.org>
6167
34e8a2da
GM
6168 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6169 (sql-list-table): Doc fixes.
6170
b4ac6e8c
GM
6171 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6172 Comment out (does nothing).
6173
e1ac4066
GM
6174 * completion.el (dynamic-completion-mode):
6175 * dirtrack.el (dirtrack-debug-mode):
6176 * electric.el (electric-layout-mode):
6177 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6178 * face-remap.el (text-scale-mode, buffer-face-mode):
6179 * iimage.el (iimage-mode):
6180 * image-mode.el (image-transform-mode):
6181 * minibuffer.el (completion-in-region-mode):
6182 * scroll-lock.el (scroll-lock-mode):
6183 * simple.el (next-error-follow-minor-mode):
6184 * tar-mode.el (tar-subfile-mode):
6185 * tooltip.el (tooltip-mode):
6186 * vcursor.el (vcursor-use-vcursor-map):
6187 * wid-browse.el (widget-minor-mode):
6188 * emulation/tpu-edt.el (tpu-edt-mode):
6189 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6190 * international/iso-ascii.el (iso-ascii-mode):
6191 * language/thai-util.el (thai-word-mode):
6192 * mail/supercite.el (sc-minor-mode):
6193 * net/goto-addr.el (goto-address-mode):
6194 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6195 * progmodes/cwarn.el (cwarn-mode):
6196 * progmodes/flymake.el (flymake-mode):
6197 * progmodes/glasses.el (glasses-mode):
6198 * progmodes/hideshow.el (hs-minor-mode):
6199 * progmodes/pascal.el (pascal-outline-mode):
6200 * textmodes/enriched.el (enriched-mode):
6201 * vc/smerge-mode.el (smerge-mode):
6202 Doc fixes (minor mode argument).
6203
5e0d957f
EZ
62042012-02-07 Eli Zaretskii <eliz@gnu.org>
6205
6206 * ls-lisp.el (ls-lisp-sanitize): New function.
6207 (ls-lisp-insert-directory): Use it to fix or remove any elements
6208 in file-alist with missing attributes. (Bug#4673)
6209
98d7371e
AM
62102012-02-07 Alan Mackenzie <acm@muc.de>
6211
6212 Fix spurious recognition of c-in-knr-argdecl.
6213
6214 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6215 putative K&R region.
6216
667ced3a
AM
62172012-02-07 Alan Mackenzie <acm@muc.de>
6218
eb864a71
LM
6219 * progmodes/cc-engine.el (c-forward-objc-directive):
6220 Prevent looping in "#pragma mark @implementation".
667ced3a 6221
5b77774d
MA
62222012-02-07 Michael Albinus <michael.albinus@gmx.de>
6223
6224 * notifications.el (notifications-on-closed-signal): Make `reason'
6225 optional. (Bug#10744)
6226
af008560
GM
62272012-02-07 Glenn Morris <rgm@gnu.org>
6228
60d47423
GM
6229 * emacs-lisp/easy-mmode.el (define-minor-mode):
6230 Doc fixes for the macro and the mode it defines.
6231
dd605cc4
GM
6232 * image.el (imagemagick-types-inhibit): Doc fix.
6233
af008560
GM
6234 * cus-start.el (imagemagick-render-type): Add it.
6235
5cc59a37
LI
62362012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6237
4d6769e1
JB
6238 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6239 Set the default at load time, too, so that `font-lock-fontify-buffer'
6240 can be called without setting up the entire mode first. This fixes
6241 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6242
9a6dd747
CY
62432012-02-06 Chong Yidong <cyd@gnu.org>
6244
2d16b285
CY
6245 * simple.el (list-processes--refresh): Delete exited processes
6246 (Bug#8094).
6247
171e9b6e
CY
6248 * comint.el (comint-next-prompt): next-single-char-property-change
6249 and prev-single-char-property-change never return nil (Bug#8657).
6250
9a6dd747
CY
6251 * custom.el (defcustom): Doc fix (Bug#9711).
6252
aa4589a7
CY
62532012-02-05 Chong Yidong <cyd@gnu.org>
6254
5c2a252f
CY
6255 * cus-edit.el (custom-variable-reset-backup): Quote the value
6256 before storing it in the customized-value property (Bug#6712).
4aab9006 6257 (custom-display): Add a customization type tag.
983b9602 6258 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6259
aa4589a7
CY
6260 * wid-edit.el (widget-field-value-get): New optional arg to
6261 suppress trailing whitespace truncation.
6262 (character): Use it (Bug#2689).
6263
1ff980ae
AS
62642012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6267 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6268
03988c98
CY
62692012-02-05 Chong Yidong <cyd@gnu.org>
6270
eeb6cc88
CY
6271 * cus-edit.el (custom-variable-value-create): For mismatched
6272 types, show the current value (Bug#7600).
6273
03988c98
CY
6274 * custom.el (defcustom): Doc fix.
6275
f8cdeef0
GM
62762012-02-05 Glenn Morris <rgm@gnu.org>
6277
6278 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6279
0696d255
JB
62802012-02-05 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6283 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6284 (pp-last-sexp): Use `looking-at-p'.
6285
34c99998
GM
62862012-02-04 Glenn Morris <rgm@gnu.org>
6287
8f05da42
GM
6288 * files.el (revert-buffer):
6289 Doc fix (mention revert-buffer-in-progress-p).
6290
f160676e
GM
6291 * emacs-lisp/ert-x.el (ert-simulate-command):
6292 Check deferred-action-list (which is obsolete) is bound.
6293
c7291ad9
GM
6294 * subr.el (with-wrapper-hook): Doc fixes.
6295
34c99998
GM
6296 * simple.el (filter-buffer-substring-functions)
6297 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6298
6283a7d3
LL
62992012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6300
6301 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6302 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6303
e96e3013
LL
63042012-02-04 Leo Liu <sdl.web@gmail.com>
6305
6306 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6307
8ded50f2
GM
63082012-02-04 Glenn Morris <rgm@gnu.org>
6309
82ff1d13
GM
6310 * image.el (image-extension-data): Add obsolete alias.
6311
987a0a16
GM
6312 * isearch.el (isearch-update): Doc fix.
6313
ea32ef46
GM
6314 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6315
8ded50f2
GM
6316 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6317
eea14f31
GM
63182012-02-03 Glenn Morris <rgm@gnu.org>
6319
6320 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6321 (image-animate-timeout): Doc fix.
6322
6323 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6324
12f381b7
GM
63252012-02-02 Glenn Morris <rgm@gnu.org>
6326
953cebf5
GM
6327 * server.el (server-auth-dir): Doc fix.
6328 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6329
12f381b7
GM
6330 * subr.el (run-mode-hooks): Doc fix.
6331
953a8c3b
JL
63322012-02-02 Juri Linkov <juri@jurta.org>
6333
6334 * image-mode.el (image-toggle-display-image): Remove tautological
6335 `major-mode' from the `derived-mode-p' test.
6336
c5d3843c
KH
63372012-02-02 Kenichi Handa <handa@m17n.org>
6338
9f6e692e 6339 * composite.el (compose-region): Cancel previous change.
c5d3843c 6340
159462d4 63412012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6342
6343 * composite.el (compose-region, compose-string): Signal error for
6344 a null string component (Bug#6988).
6345
9f562668
CY
63462012-02-01 Chong Yidong <cyd@gnu.org>
6347
e2cef717
CY
6348 * view.el (view-buffer-other-window, view-buffer-other-frame):
6349 Handle special modes like view-buffer (Bug#10650).
6350 (view-buffer): Simplify.
6351
9f562668
CY
6352 * frame.el (set-frame-font): Tweak meaning of third argument.
6353
9f6e692e
JB
6354 * dynamic-setting.el (font-setting-change-default-font):
6355 Use set-frame-font (Bug#9982).
9f562668 6356
781acb9f
GM
63572012-02-01 Glenn Morris <rgm@gnu.org>
6358
6035be52
GM
6359 * progmodes/compile.el (compilation-internal-error-properties):
6360 Respect compilation-first-column in the "*compilation*" buffer.
6361
781acb9f
GM
6362 * emacs-lisp/easy-mmode.el (define-minor-mode):
6363 Relax :variable's test for a named function.
6364
abbceb00
AM
63652012-01-31 Alan Mackenzie <acm@muc.de>
6366
6367 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6368 off by one error.
6369
fce3fdeb
CY
63702012-01-31 Chong Yidong <cyd@gnu.org>
6371
6372 * frame.el (set-frame-font): New arg ALL-FRAMES.
6373
6374 * menu-bar.el (menu-set-font): Use set-frame-font.
6375
6376 * faces.el (face-spec-reset-face): Don't apply unspecified
6377 attribute values to the default face.
6378
47893581
JB
63792012-01-31 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * progmodes/cwarn.el (cwarn): Remove dead link.
6382 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6383 Remove * from defcustom docstrings.
6384 (turn-on-cwarn-mode): Make obsolete.
6385 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6386 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6387
e58e988a
GM
63882012-01-31 Glenn Morris <rgm@gnu.org>
6389
60dc2671 6390 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6391 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6392 Allow named functions to be used as the cdr of :variable.
e58e988a 6393
7a3f511d
GM
63942012-01-30 Glenn Morris <rgm@gnu.org>
6395
6396 * emacs-lisp/authors.el (authors-fixed-entries):
6397 Remove reference to deleted file rnewspost.el.
6398
cb882333
JB
63992012-01-29 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * window.el (window-with-parameter): Remove unused variable `windows'.
6402 (window--side-check): Remove unused variable `code'.
6403 (window--resize-siblings): Remove unused variable `first'.
6404 (adjust-window-trailing-edge): Remove unused variable `failed'.
6405 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6406 Use `let', not `let*'.
6407 (balance-windows-2): Remove unused variable `found'.
6408 (window--state-put-2): Remove unused variable `splits'.
6409 (window-state-put): Remove unused variable `selected'.
6410 (same-window-p): Use `string-match-p'.
6411 (display-buffer-assq-regexp): Remove unused variable `value'.
6412 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6413 Mark argument ALIST as ignored.
6414 (pop-to-buffer): Remove unused variable `old-window'.
6415
907201af
EZ
64162012-01-29 Eli Zaretskii <eliz@gnu.org>
6417
6418 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6419 and .lzma compressed files.
6420
ea162670
CY
64212012-01-29 Chong Yidong <cyd@gnu.org>
6422
5b95ee8a
CY
6423 * frame.el (window-system-default-frame-alist): Doc fix.
6424
ea162670
CY
6425 * dynamic-setting.el (font-setting-change-default-font): Don't
6426 change the default face if SET-FONT argument is non-nil (Bug#9982).
6427
d6e6f4b1
SB
64282012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6429
6430 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6431
0f29fa41 64322012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6433
6434 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6435 breakpoints in files outside current directory (Bug#6098).
6436
db174434
CY
64372012-01-29 Chong Yidong <cyd@gnu.org>
6438
6b25e4e2
SE
6439 * progmodes/python.el: Require ansi-color at top-level.
6440
6df6ae42
JB
6441 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6442 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6443 (lisp-mode-abbrev-table): Add doc.
6444 (lisp-mode-variables): Don't set local-abbrev-table.
6445 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6446
e70ee681
RW
64472012-01-28 Roland Winkler <winkler@gnu.org>
6448
6449 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6450
ace88aa2
RW
64512012-01-28 Roland Winkler <winkler@gnu.org>
6452
6453 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6454 (bibtex-set-dialect): Use it. Either set global values of
6455 dialect-dependent variables or bind these variables buffer-locally
6456 (Bug#10254).
6457 (bibtex-mode): Call bibtex-set-dialect via
6458 hack-local-variables-hook.
eb864a71
LM
6459 (bibtex-dialect): Update docstring.
6460 Add safe-local-variable predicate.
ace88aa2
RW
6461 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6462 bibtex-set-dialect.
6463 (bibtex-mode-map): Define menu for each dialect.
6464 (bibtex-entry): Fix docstring.
6465
93376c5b
CY
64662012-01-28 Chong Yidong <cyd@gnu.org>
6467
6468 * eshell/esh-arg.el (eshell-quote-argument): New function.
6469
6470 * eshell/esh-ext.el (eshell-invoke-batch-file):
6471 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6472 first arg to eshell-parse-command (Bug#10523).
6473
4372494f
DA
64742012-01-28 Drew Adams <drew.adams@oracle.com>
6475
6476 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6477 `default-directory' is non-nil.
6478
4d4ec1f8
EZ
64792012-01-28 Eli Zaretskii <eliz@gnu.org>
6480
6481 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6482 line that displays system-configuration-options. (Bug#9924)
6483
7c188927
DA
64842012-01-28 Drew Adams <drew.adams@oracle.com>
6485
6486 * descr-text.el (describe-char): Show information about POS, in
6487 addition to information about the character at POS. Improve and
6488 update the doc string. Change "code point" to "code point in
6489 charset", to avoid confusion with the character's Unicode code
6490 point shown above that. (Bug#10129)
6491
e0da685a
EZ
64922012-01-28 Eli Zaretskii <eliz@gnu.org>
6493
6494 * descr-text.el (describe-char): Show the raw character, not only
6495 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6496 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6497 for the reasons.
6498
70550acf
PH
64992012-01-28 Phil Hagelberg <phil@hagelb.org>
6500
eb864a71
LM
6501 * emacs-lisp/package.el (package-install):
6502 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6503
0ce8e868
CY
65042012-01-28 Chong Yidong <cyd@gnu.org>
6505
cb882333
JB
6506 * emacs-lisp/package.el (package-maybe-load-descriptor):
6507 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6508 (package-maybe-load-descriptor): Use it.
6509 (package-download-transaction): Fully load required packages
6510 inside the loop, so that `require' calls work (Bug#10593).
6511 (package-install): No need to call package-initialize now.
6512
2e7f3bea
CY
65132012-01-28 Chong Yidong <cyd@gnu.org>
6514
6e9bad14
CY
6515 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6516
f823b8ca
CY
6517 * tooltip.el (tooltip-mode): Doc fix.
6518 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6519
2680c309
CY
6520 * frame.el (set-cursor-color): Doc fix (Bug#352).
6521
d7a9e63b
CY
6522 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6523 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6524
2e7f3bea
CY
6525 * cus-edit.el (custom-buffer-create-internal): Fix search button
6526 action (Bug#10542).
2ae01800 6527 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6528
fc4f7a23
EW
65292012-01-27 Eduard Wiebe <usenet@pusto.de>
6530
6531 * dired.el (dired-mark-files-regexp):
6532 Include any subdirectory components. (Bug#10445)
6533
7dd37071
ML
65342012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6535
6536 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6537 Handle [host]:port syntax. (Bug#10533)
6538
a268160b
AH
65392012-01-27 Alex Harsanyi <harsanyi@mac.com>
6540
6541 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6542
e43273ef
GM
65432012-01-26 Glenn Morris <rgm@gnu.org>
6544
6545 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6546 * term.el (term-raw-escape-map): Use Control-X-prefix.
6547 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6548
1edf595d
MR
65492012-01-25 Martin Rudalics <rudalics@gmx.at>
6550
6551 * window.el (window-state-get, window--state-get-1): Don't deal
6552 with fixed-sizeness of windows. Simplify code.
6553
fa8eafef
JC
65542012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6555
6df6ae42
JB
6556 * window.el (window--state-get-1, window--state-put-2):
6557 Don't save and restore the mark.
fa8eafef 6558
0b21c100
CY
65592012-01-25 Chong Yidong <cyd@gnu.org>
6560
6561 * custom.el (custom-variable-p): Doc fix.
6562
5ae1a6c8
GM
65632012-01-25 Glenn Morris <rgm@gnu.org>
6564
40047858
GM
6565 * dired.el (dired-goto-file): Handle some of the more common
6566 characters that `ls -b' escapes. (Bug#10596)
6567
5ddce96c
GM
6568 * progmodes/compile.el (compilation-next-error-function):
6569 Respect compilation-first-column in the "*compilation*" buffer.
6570 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6571
5ae1a6c8
GM
6572 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6573
b559f1a9
GM
65742012-01-24 Glenn Morris <rgm@gnu.org>
6575
6576 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6577
6725d21a
JD
65782012-01-24 Julien Danjou <julien@danjou.info>
6579
6580 * color.el (color-rgb-to-hsl): Fix value computing.
6581 (color-hue-to-rgb): New function.
6582 (color-hsl-to-rgb): New function.
6583 (color-clamp, color-saturate-hsl, color-saturate-name)
6584 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6585 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6586
70df4bbe
GM
65872012-01-24 Glenn Morris <rgm@gnu.org>
6588
6589 * vc/vc-rcs.el (vc-rcs-create-tag):
6590 * vc/vc-sccs.el (vc-sccs-create-tag):
6591 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6592
802a2ae2
ML
65932012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6594
6595 * eshell/esh-util.el (eshell-read-hosts-file):
6596 Skip comment lines. (Bug#10549)
6597
d7128bb1
ML
6598 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6599
d1a5c3b4
JB
66002012-01-23 Juanma Barranquero <lekktu@gmail.com>
6601
2724d9c7
JB
6602 * subr.el (display-delayed-warnings): Doc fix.
6603 (collapse-delayed-warnings): New function to collapse identical
6604 adjacent warnings.
6605 (delayed-warnings-hook): Add it.
d1a5c3b4 6606
a5509865
MA
66072012-01-22 Michael Albinus <michael.albinus@gmx.de>
6608
6609 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6610
a5509865
MA
6611 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6612 (tramp-default-user-alist): Don't add "pscp".
6613 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6614 property "login-as", if set. (Bug#10530)
6615
cc6d5805
MA
66162012-01-21 Michael Albinus <michael.albinus@gmx.de>
6617
6618 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6619 "plink1" and "psftp". (Bug#10530)
6620
66212012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6622
6623 * international/mule-cmds.el (prefer-coding-system): Show a
6624 warning message if the default value of file-name-coding-system
6625 was not changed.
6626
f0960428
JC
66272012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6628
cb882333
JB
6629 * windmove.el (windmove-reference-loc):
6630 Fix windmove-reference-loc miscalculation.
f0960428 6631
dd6f2a63
JB
66322012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6633
6634 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6635 default unit.
6636
7b447e9b
GM
66372012-01-21 Glenn Morris <rgm@gnu.org>
6638
117a9ea1
GM
6639 * international/mule.el (auto-coding-alist): Add .tbz.
6640
7b447e9b
GM
6641 * files.el (local-enable-local-variables): Doc fix.
6642 (inhibit-local-variables-regexps): Rename from
6643 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6644 Doc fix. Add some extensions from auto-coding-alist.
6645 (inhibit-local-variables-suffixes):
6646 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6647 (inhibit-local-variables-p):
6648 New function, extracted from set-auto-mode-1.
6649 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6650 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6651 (hack-local-variables): Doc fix. Make the mode-only case
6652 respect enable-local-variables and friends.
6653 Respect inhibit-local-variables-regexps for file-locals, but
6654 not for directory-locals.
6655 (set-visited-file-name):
6656 Take account of inhibit-local-variables-regexps.
6657 Whether it applies may change as the file name is changed.
6658 * jka-cmpr-hook.el (jka-compr-install):
6659 * jka-compr.el (jka-compr-uninstall):
6660 Update for inhibit-first-line-modes-suffixes name change.
6661
dd6e3cdd
MR
66622012-01-20 Martin Rudalics <rudalics@gmx.at>
6663
6664 * help-macro.el (make-help-screen): Temporarily restore original
6665 binding for minor-mode-map-alist (Bug#10454).
6666
0d0deb38
JD
66672012-01-19 Julien Danjou <julien@danjou.info>
6668
6669 * color.el (color-name-to-rgb): Use the white color to find the max
6670 color component value and return correctly computed values.
6671 (color-name-to-rgb): Add missing float conversion for max value.
6672
34a02f46
MR
66732012-01-19 Martin Rudalics <rudalics@gmx.at>
6674
6675 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6676 special state value for window-persistent-parameters.
6677 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6678 (window--state-put-2): Reset all window parameters to nil before
6679 assigning values of persistent parameters.
6680
606c44c4
AM
66812012-01-18 Alan Mackenzie <acm@muc.de>
6682
6683 Eliminate sluggishness and hangs in fontification of "semicolon
6684 deserts".
6685
cb882333
JB
6686 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6687 Change value 10000 -> 3000.
606c44c4
AM
6688 (c-state-safe-place): Reformulate so it doesn't stack up an
6689 infinite number of wrong entries in c-state-nonlit-pos-cache.
6690 (c-determine-limit-get-base, c-determine-limit): New functions to
6691 determine backward search limits disregarding literals.
6692 (c-find-decl-spots): Amend commenting.
6693 (c-cheap-inside-bracelist-p): New function which detects "={".
6694
6695 * progmodes/cc-fonts.el
6696 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6697 backward search.
6698 (c-font-lock-declarations): Fix an occurrence of point being
6699 undefined. Check additionally for point being in a bracelist or
6700 near a macro invocation without a semicolon so as to avoid a
6701 fruitless time consuming search for a declarator. Give a more
6702 precise search limit for declarators using the new
6703 c-determine-limit.
6704
f3860cea
GM
67052012-01-18 Glenn Morris <rgm@gnu.org>
6706
6707 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6708 (set-auto-mode): Doc fixes.
6709
1db03b16
GM
67102012-01-17 Glenn Morris <rgm@gnu.org>
6711
0e6038be
GM
6712 * isearch.el (search-nonincremental-instead): Fix doc typo.
6713
1db03b16
GM
6714 * dired.el (dired-insert-directory): Handle newlines in directory name.
6715 (dired-build-subdir-alist): Unescape newlines in directory name.
6716
4cb0aa75
MA
67172012-01-17 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6720 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6721 (tramp-action-terminal): Use it. (Bug#10530)
6722
1d00653d
SM
67232012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6726
6a6ee00d
MR
67272012-01-16 Martin Rudalics <rudalics@gmx.at>
6728
6729 * window.el (window-state-ignored-parameters): Remove variable.
6730 (window--state-get-1): Rename argument MARKERS to IGNORE.
6731 Handle persistent window parameters. Make copy of clone-of
6732 parameter only if requested. (Bug#10348)
6733 (window--state-put-2): Install a window parameter only if it has
6734 a non-nil value or an existing parameter shall be overwritten.
6735
97912def
MA
67362012-01-15 Michael Albinus <michael.albinus@gmx.de>
6737
6738 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6739
688070a5
EZ
67402012-01-14 Eli Zaretskii <eliz@gnu.org>
6741
6742 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6743 don't pass the (nil) value of `upnode' to string-match.
6744
301afadc
CY
67452012-01-14 Chong Yidong <cyd@gnu.org>
6746
6747 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6748 Fix values recognized by the cursorBlink resource.
301afadc 6749
9e5788aa
PE
67502012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6751
6752 * epg.el (epg--make-temp-file): Avoid permission race condition
6753 when running on old Emacs versions (bug#10403).
6754
3cdb7f5a
GM
67552012-01-14 Glenn Morris <rgm@gnu.org>
6756
6757 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6758
8c82b1b4
AM
67592012-01-13 Alan Mackenzie <acm@muc.de>
6760
6761 Fix filling for when filladapt mode is enabled.
6762
6763 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6764 c-mask-paragraph, pass in `fill-paragraph' rather than
6765 `fill-region-as-paragraph'. (This is a reversion of a previous
6766 change.)
eb864a71
LM
6767 * progmodes/cc-mode.el (c-basic-common-init):
6768 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6769
e517eda4
GM
67702012-01-13 Glenn Morris <rgm@gnu.org>
6771
1498536e
GM
6772 * dired.el (dired-switches-escape-p): New function.
6773 (dired-insert-directory): Use dired-switches-escape-p.
6774 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6775
e517eda4
GM
6776 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6777
328f984d
GM
67782012-01-12 Glenn Morris <rgm@gnu.org>
6779
6780 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6781 changes in adaptive-fill-regexp. (Bug#10276)
6782
2cc769a8
AM
67832012-01-11 Alan Mackenzie <acm@muc.de>
6784
6785 Fix Emacs bug #10463 - put `widen's around the critical spots.
6786
1d00653d 6787 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6788 widen around each invocation of c-state-pp-to-literal. Remove an
6789 unused let variable.
6790
e52c37fa
GM
67912012-01-11 Glenn Morris <rgm@gnu.org>
6792
6793 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6794 Doc fix.
e52c37fa 6795
96f8741e
CY
67962012-01-10 Chong Yidong <cyd@gnu.org>
6797
1d00653d
SM
6798 * net/network-stream.el (network-stream-open-starttls):
6799 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6800 response to the capability command.
6801
b09a806e
GM
68022012-01-10 Glenn Morris <rgm@gnu.org>
6803
6804 * mail/unrmail.el (unrmail): Tweak previous change.
6805
7655cb66
CY
68062012-01-09 Chong Yidong <cyd@gnu.org>
6807
6808 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6809
9d5a8f0b
AM
68102012-01-08 Alan Mackenzie <acm@muc.de>
6811
6812 Optimise font locking in long enum definitions.
6813
6814 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6815 arm to a cond form to handle enums.
6816 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6817 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6818
9a0115ab 68192012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6820
6821 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6822 (Bug#10401)
6bb72cbd 6823
f186bb95
LMI
68242012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6825
29232a68
LMI
6826 * faces.el (set-face-attribute): Clarify the meaning of the nil
6827 frame (bug#10294).
6828
4e5d086d
LMI
6829 * subr.el (with-selected-frame): Mention that the selected frame
6830 is restored (bug#9980).
6831
8e66aebe
LMI
6832 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6833 (bug#9759).
6834
cd394be1 6835 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6836 (password-read): Don't autoload unused function.
6837
adf4e762
JB
68382012-01-07 Juanma Barranquero <lekktu@gmail.com>
6839
6840 * progmodes/which-func.el (which-func-mode): Turn into a
6841 non-interactive function and mark as obsolete (bug#10428).
6842
89bd9ccd
CY
68432012-01-06 Chong Yidong <cyd@gnu.org>
6844
6845 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6846 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6847 functions, along with 1 and -1.
6848
4afee9d5
EZ
68492012-01-06 Eli Zaretskii <eliz@gnu.org>
6850
6851 * time.el (display-time-load-average)
6852 (display-time-default-load-average): Doc fixes. See the thread
6853 starting at
6854 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6855 for the details.
6856
536aea70
GM
68572012-01-06 Glenn Morris <rgm@gnu.org>
6858
665ae865
GM
6859 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6860 has no messages. (Bug#10377)
6861
c869783d
GM
6862 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6863 than Info-edit. (Bug#10385)
6864
2bb4227e
GM
6865 * time.el (display-time-load-average, display-time-next-load-average):
6866 Doc fixes.
6867
7d5944b9
GM
6868 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6869 local setting of buffer-read-only to the input buffer. (Bug#10419)
6870
536aea70
GM
6871 * calendar/calendar.el (calendar-mode):
6872 Locally set scroll-margin to 0. (Bug#10379)
6873
7dccca16
UM
68742012-01-06 Ulrich Mueller <ulm@gentoo.org>
6875
6876 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6877
afbb7930
GM
68782012-01-05 Glenn Morris <rgm@gnu.org>
6879
6880 * eshell/em-unix.el (diff-no-select): Autoload it.
6881 (eshell/diff): Use diff-no-select. (Bug#10420)
6882
04482335
CY
68832012-01-05 Chong Yidong <cyd@gnu.org>
6884
7baca3bc
CY
6885 * shell.el (shell-dynamic-complete-functions): Revert last change.
6886 (shell-command-completion-function): New function.
6887 (shell-completion-vars): Use it to implement
6888 shell-completion-execonly (Bug#10417).
6889
04482335
CY
6890 * custom.el (enable-theme): Don't set custom-safe-themes.
6891
1d00653d
SM
6892 * cus-theme.el (custom-theme-merge-theme):
6893 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6894
bb5aa5d6
MM
68952012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6896
6897 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6898 first prompt in `sql-interacive-mode'.
6899 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6900 keywords.
6df6ae42 6901 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6902 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6903 context of original buffer. Invoke `sql-login-hook'.
6904
a7183d7c
EZ
69052012-01-04 Eli Zaretskii <eliz@gnu.org>
6906
6907 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6908 letters in cite-prefix.
6909
a1eacd1e
LMI
69102012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6911
6912 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6913
787cdb34
CY
69142012-01-03 Chong Yidong <cyd@gnu.org>
6915
1d00653d
SM
6916 * shell.el (shell-dynamic-complete-functions):
6917 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6918 comint-filename-completion first (Bug#10417).
6919
30710442
RS
69202012-01-02 Richard Stallman <rms@gnu.org>
6921
6922 * battery.el (battery-status-function):
6923 Detect when to use battery-yeeloong-sysfs.
6924 (battery-echo-area-format): Add string for Yeeloong.
6925 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6926 (battery-yeeloong-sysfs): New function.
6927
f75bfc33
CY
69282012-01-02 Chong Yidong <cyd@gnu.org>
6929
6930 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6931 (dirtrack): Merge code for handling relative filenames in prompt
6932 from shell-dir-cookie-watcher.
6933 (dirtrack-debug-message): New arg to avoid excess format calls.
6934
6935 * shell.el (shell-dir-cookie-re): Variable deleted.
6936 (shell-dir-cookie-watcher): Function deleted.
6937 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6938 with dirtrack-mode.
6939
651e947e
EZ
69402012-01-01 Eli Zaretskii <eliz@gnu.org>
6941
1d00653d
SM
6942 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6943 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6944 libgnutls-26.dll.
6945
94d4c7dc
AS
69462011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6947
6948 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6949
8d43f3cd
EZ
69502011-12-31 Eli Zaretskii <eliz@gnu.org>
6951
6952 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6953 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6954
98c8795a
MA
69552011-12-29 Michael Albinus <michael.albinus@gmx.de>
6956
6957 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6958 also for alternative shells.
6959 (tramp-open-connection-setup-interactive-shell): Check, whether
6960 the shell is a busybox.
6961 (tramp-send-command): Don't suppress multiple prompts for
6962 busyboxes, it hurts.
6963
51281b32
CY
69642011-12-28 Chong Yidong <cyd@gnu.org>
6965
6966 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6967 (gdb-get-source-file): Move mode line update to
6968 gdb-get-source-file (Bug#10087).
6969
2170cb53
CY
69702011-12-25 Chong Yidong <cyd@gnu.org>
6971
6972 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6973 gud-gdb-marker-filter without taking it as an argument.
6974 (gud-gdb-run-command-fetch-lines): Caller changed.
6975 (gud-gdb-completion-function): New variable.
6976 (gud-gdb-completion-at-point): Use it.
6977 (gud-gdb-completions-1): Split from gud-gdb-completions.
6978
6979 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6980 function as separate arguments.
6981 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6982 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6983 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6984 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6985 (gdb-stopped, def-gdb-auto-update-trigger)
6986 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6987 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6988 Callers changed.
2170cb53
CY
6989 (gud-gdbmi-completions): New function.
6990 (gdb): Use it for generating the completion table.
6991
be8b11bb
AM
69922011-12-24 Alan Mackenzie <acm@muc.de>
6993
6994 Introduce a mechanism to widen the region used in context font
1d00653d 6995 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6996
1d00653d
SM
6997 * progmodes/cc-langs.el (c-before-font-lock-functions):
6998 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6999 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7000 functions to be run just before context (etc.) font locking.
7001
7002 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7003 New, functionality extracted from
be8b11bb 7004 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7005 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7006 (c-after-change): Set c-in-after-change-fontification.
7007 (c-set-fl-decl-start): Rejig its interface, so it can be called
7008 from both after-change and context fontifying.
b81d40f0
JB
7009 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7010 New functions.
7011 (c-standard-font-lock-fontify-region-function): New variable.
7012 (c-font-lock-fontify-region): New function.
be8b11bb 7013
341cf6ac
JL
70142011-12-24 Juri Linkov <juri@jurta.org>
7015
7016 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7017 (Bug#10348)
7018
bffcee0a
MA
70192011-12-23 Michael Albinus <michael.albinus@gmx.de>
7020
7021 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7022 existence of source file. (Bug#10325)
7023
cb5e207c
AM
70242011-12-23 Alan Mackenzie <acm@muc.de>
7025
7026 Fix unstable fontification inside templates.
7027
b81d40f0
JB
7028 * progmodes/cc-langs.el (c-before-font-lock-functions):
7029 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7030 additionally has c-set-fl-decl-start. The other languages (apart
7031 from AWK) have that as a single entry.
7032
b81d40f0
JB
7033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7034 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7035 c-set-fl-decl-start.
7036
b81d40f0
JB
7037 * progmodes/cc-mode.el (c-common-init, c-after-change):
7038 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7039 (c-set-fl-decl-start): New function, extracted from
7040 c-font-lock-enclosing-decls and enhanced.
7041
60ff536c
JB
70422011-12-23 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7045
1c4757d6
JL
70462011-12-22 Juri Linkov <juri@jurta.org>
7047
7048 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7049
d031f2c7
CY
70502011-12-22 Chong Yidong <cyd@gnu.org>
7051
7052 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7053
bace743a
DA
70542011-12-21 Drew Adams <drew.adams@oracle.com>
7055
7056 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7057
728a1f2b
JC
70582011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7059
7060 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7061
0d373f73
TZ
70622011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7063
fec0aaa4
TZ
7064 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7065 highlighting and support. Fix up comments for capitalization.
7066 (cfengine-mode-debug): New var.
7067 (cfengine3-mode): Change the modeline indicator to "CFE3".
7068 (cfengine3-font-lock-keywords): Improve defun highlighting.
7069 (cfengine2-actions): Rename from `cfengine-actions'.
7070 (cfengine2-font-lock-keywords): Rename from
7071 `cfengine-font-lock-keywords'.
7072 (cfengine2-imenu-expression): Rename from
7073 `cfengine-imenu-expression'.
7074 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7075 (cfengine2-beginning-of-defun): Rename from
7076 `cfengine-beginning-of-defun'.
7077 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7078 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7079 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7080 modeline indicator to "CFE2".
7081 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7082 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7083
bc86f573
CY
70842011-12-21 Chong Yidong <cyd@gnu.org>
7085
7086 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7087 filename argument.
7088
d45ba96b
MR
70892011-12-20 Martin Rudalics <rudalics@gmx.at>
7090
7091 * window.el (window-normalize-buffer-to-display): Remove.
7092 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7093
a6198c90
CY
70942011-12-19 Chong Yidong <cyd@gnu.org>
7095
7096 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7097 Don't signal an error in a predicate function; return non-nil.
7098 (vc-dir-mark-file): Move the error here.
7099 (vc-dir-mark-unmark): If acting on the region, keep going if one
7100 of the entries cannot be marked/unmarked.
7101 (vc-dir-mark-all-files): If current entry is a directory, mark
7102 only child files, as documented.
7103
34c5fb55
VB
71042011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7105
7106 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7107 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7108 addition.
7109
c803b2b7
JD
71102011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7111
7112 * term/ns-win.el (ns-get-selection-internal)
7113 (ns-store-selection-internal): Declare.
1154d12e
JB
7114 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7115 Declare as obsolete.
7116 (ns-get-pasteboard, ns-paste-secondary):
7117 Use ns-get-selection-internal.
7118 (ns-set-pasteboard, ns-copy-including-secondary):
7119 Use ns-store-selection-internal.
c803b2b7 7120
9cff91f8 71212011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7122
7123 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7124 (vc-deduce-fileset): Doc fix.
99a289d9 7125
f16c898a
AS
71262011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7127
7128 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7129
763237c4
SS
71302011-12-13 Sam Steingold <sds@gnu.org>
7131
7132 * man.el (Man-getpage-in-background): When running under a
7133 window-system, ignore $MANWIDTH and $COLUMNS.
7134
5fc1c122
KH
71352011-12-15 Kenichi Handa <handa@m17n.org>
7136
7137 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7138 (setup-ethiopic-environment-internal): Comment out key-binding for
7139 ethio-toggle-punctuation.
7140
13d49cbb
AM
71412011-12-13 Alan Mackenzie <acm@muc.de>
7142
898169a2
AM
7143 Add the switch statement to AWK Mode.
7144
7a71b18d 7145 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7146 "default" to the keywords regexp.
7147
7a71b18d 7148 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7149 expression as the rest.
1d00653d
SM
7150 (c-nonlabel-token-key): Allow string literals for AWK.
7151 Refactor for the other modes.
898169a2 7152
13d49cbb 7153 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7154 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7155 routines. Limit backward searching in c-font-lock-enclosing.decl.
7156
7157 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7158 pp-state and literal type in addition to the limits.
1d00653d 7159 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7160 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7161 (c-slow-in-literal, c-fast-in-literal): Remove.
7162 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7163
7164 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7165 being in a literal. Add a limit for backward searching.
7166
7167 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7168 c-slow-in-literal.
7169
15e0efc7
SM
71702011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7173
454592a6
MR
71742011-12-13 Martin Rudalics <rudalics@gmx.at>
7175
7176 * window.el (delete-other-windows): Use correct frame in call to
7177 window-with-parameter.
7178
87393f26
DP
71792011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7180
7181 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7182 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7183 (makefile-gmake-statements, makefile-makepp-statements):
7184 Use it and add new makepp keywords.
7185 (makefile-makepp-font-lock-keywords): Add new patterns.
7186 (makefile-match-function-end): Match new [...] and [[...]].
7187
11636b22
JB
71882011-12-11 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * ses.el (ses-call-printer-return, ses-cell-property-get)
7191 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7192 (ses-create-cell-variable, ses-reset-header-string)
7193 (ses-cell-set-formula, ses-repair-cell-reference-all)
7194 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7195 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7196 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7197 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7198 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7199 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7200 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7201 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7202 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7203 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7204 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7205 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7206
cf018193
VB
72072011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7208
7209 * ses.el: The overall change is to add cell renaming, that is
7210 setting fancy names for cell symbols other than name matching
7211 "\\`[A-Z]+[0-9]+\\'" regexp .
7212 (ses-create-cell-variable): New defun.
7213 (ses-relocate-formula): Relocate formulas only for cells the
7214 symbols of which are not renamed, i.e. symbols whose names do not
7215 match regexp "\\`[A-Z]+[0-9]+\\'".
7216 (ses-relocate-all): Relocate values only for cells the symbols of
7217 which are not renamed.
7218 (ses-load): Create cells variables as the (ses-cell ...) are read,
7219 in order to check row col consistency with cell symbol name only
7220 for cells that are not renamed.
7221 (ses-replace-name-in-formula): New defun.
7222 (ses-rename-cell): New defun.
7223
ee957461
CY
72242011-12-11 Chong Yidong <cyd@gnu.org>
7225
7226 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7227 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7228
9a9e9ef0
MR
72292011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7230
7231 * window.el (other-window): Fix docstring.
7232
92a8eba5
EZ
72332011-12-10 Eli Zaretskii <eliz@gnu.org>
7234
7235 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7236 `from' or `to' address before taking its substring.
7237 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7238 encoded name is chopped in the middle of the encoded string, and
7239 thus displayed encoded.
7240
e152e577
JB
72412011-12-10 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7244
e5d84bfe
EZ
72452011-12-10 Eli Zaretskii <eliz@gnu.org>
7246
7247 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7248 to use texinfo-update-node and commands that call it if the
7249 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7250 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7251 (texinfo-all-menus-update, texinfo-master-menu)
7252 (texinfo-update-node, texinfo-every-node-update)
7253 (texinfo-multiple-files-update): Doc fix. Warn against updating
7254 all the @node lines.
7255 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7256 argument is numeric. Explain better in the doc string what the
7257 function really does.
7258 (texinfo-insert-master-menu-list): Improve the error message
7259 displayed if there's no menu in the Top node.
7260 (Bug#2975) See also this thread:
e5d84bfe
EZ
7261 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7262
1d84e9bb
MG
72632011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7264
7265 * speedbar.el (speedbar-supported-extension-expressions):
7266 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7267
382c953b
JB
72682011-12-09 Juanma Barranquero <lekktu@gmail.com>
7269
7270 * printing.el (pr-mode-alist):
7271 * simple.el (filter-buffer-substring-functions)
7272 (completion-list-insert-choice-function):
7273 * window.el (window-with-parameter, window-atom-root)
7274 (window-sides-slots, window-size-fixed, window-min-delta)
7275 (window-max-delta, window--resize-mini-window)
7276 (window--resize-child-windows-normal, window-tree)
7277 (delete-other-windows, quit-window, split-window)
7278 (display-buffer-record-window, special-display-buffer-names)
7279 (special-display-regexps, special-display-popup-frame)
7280 (same-window-p, split-window-sensibly)
7281 (display-buffer-overriding-action, display-buffer-alist)
7282 (display-buffer-base-action, display-buffer, switch-to-buffer)
7283 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7284 (fit-window-to-buffer, recenter-positions)
7285 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7286 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7287 and remove unneeded backslashes in docstrings.
7288
39c9faef
SM
72892011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7290
98449af8
SM
7291 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7292
39c9faef
SM
7293 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7294 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7295 end in ".mk".
7296 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7297 when reading the makefile (bug#10116).
7298
86ed9fdc
SM
72992011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7302 (bug#10116).
7303
5580f89d
GM
73042011-12-06 Glenn Morris <rgm@gnu.org>
7305
7306 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7307
28d3917c
CY
73082011-12-06 Chong Yidong <cyd@gnu.org>
7309
7310 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7311
a98edce9
JB
73122011-12-06 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * textmodes/table.el (table-shorten-cell): Fix typo.
7315
e65adfac
CG
73162011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7317
7318 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7319
71cc0b74
EZ
73202011-12-05 Eli Zaretskii <eliz@gnu.org>
7321
7322 * descr-text.el (describe-char): Fix display of strong
7323 right-to-left characters and directional embeddings and overrides.
7324
7325 * simple.el (what-cursor-position): Fix display of codepoints of
7326 strong right-to-left characters.
7327
315bc30d
CY
73282011-12-05 Chong Yidong <cyd@gnu.org>
7329
7330 * faces.el (read-color): Doc fix.
7331
58a70b94
GM
73322011-12-05 Glenn Morris <rgm@gnu.org>
7333
7334 * align.el (align--set-marker): Add doc-string.
7335 Don't try to move something that is not a marker. (Bug#10216)
7336
5158face
GM
73372011-12-04 Glenn Morris <rgm@gnu.org>
7338
7339 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7340 overly zealous deletion of trailing whitespace.
7341
520fca41
JB
73422011-12-04 Juanma Barranquero <lekktu@gmail.com>
7343
7344 * server.el (server-delete-client): On Windows, do not try to delete
7345 the only terminal.
7346 (server-process-filter): On Windows, treat requests for a tty frame as
7347 if they were for a GUI frame if the running server is in GUI mode.
7348
5e605a2e
GM
73492011-12-03 Glenn Morris <rgm@gnu.org>
7350
7351 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7352
5c3fe83f
SM
73532011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7354
6f5e57e7
SM
7355 * electric.el: Streamline electric-indent's hook.
7356 (electric-indent-chars): Revert to simple list.
7357 (electric-indent-functions): New var.
7358 (electric-indent-post-self-insert-function): Use it.
7359
5c3fe83f
SM
7360 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7361 there's no inferior buffer (bug#10196).
7362 (prolog-consult-compile): Don't use toggle-read-only.
7363
6bdac736
MA
73642011-12-02 Michael Albinus <michael.albinus@gmx.de>
7365
7366 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7367 interrupt. (Bug#10187)
7368
6131ba7f
SM
73692011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7370
99c79fee
SM
7371 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7372 (bug#9160).
7373
6131ba7f
SM
7374 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7375 (bug#10191).
7376
cb0a02ea
JL
73772011-12-02 Juri Linkov <juri@jurta.org>
7378
7379 * info.el (Info-search): Display "end of manual" when Isearch
7380 reaches the end of single-file Info manual. (Bug#9918)
7381
66e0570c
EZ
73822011-12-02 Eli Zaretskii <eliz@gnu.org>
7383
7384 * isearch.el (isearch-message-prefix): Run the input method part
7385 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7386
02b16839
JL
73872011-12-02 Juri Linkov <juri@jurta.org>
7388
7389 * isearch.el (isearch-occur): Use `word-search-regexp' for
7390 `isearch-word'.
7391 (isearch-search-and-update): Add condition for `isearch-word' and
7392 call `word-search-regexp'. (Bug#10145)
7393
0b950688
GM
73942011-12-01 Glenn Morris <rgm@gnu.org>
7395
7396 * eshell/em-hist.el (eshell-hist-initialize):
7397 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7398 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7399
9505c3c7
SM
74002011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7403
1bbe96b2 74042011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7405
a1beca85
SM
7406 * progmodes/verilog-mode.el (verilog-pretty-expr):
7407 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7408 verilog, such as += *= and the like.
7409 (verilog-assignment-operator-re): Regular expression to find the
7410 assigment operator in a verilog assignment.
7411 (verilog-assignment-operation-re): Regular expression to find an
7412 assignment statement for pretty-expr.
7413 (verilog-in-attribute-p): Query returns true if point is in an
7414 attribute context; used to skip these for expression line up from
7415 pretty-expr.
7416 (verilog-in-parameter-p): Query returns true if point is in an
7417 parameter definition context; used to skip these for expression
7418 line up from pretty-expr.
7419 (verilog-in-parenthesis-p): Query returns true if point is in a
7420 parenthetical expression, specifically ( ) but not [ ] or { };
7421 used by pretty-expr.
7422 (verilog-just-one-space): If there is no space, don't add one.
7423 (verilog-get-lineup-indent-2): Specifically skip just attribute
7424 contexts for expression lineup, rather than skipping all
7425 parenthetical expressions.
7426 (verilog-calculate-indent): Fix comment, and fix indent.
7427 (verilog-do-indent): Indent declarations in lists (suggested by
7428 Joachim Lechner).
7429 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7430 skeleton items.
7431 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7432 by Alain Mellan).
7433
1bbe96b2 74342011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7435
7436 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7437 parameters with embedded comments. Reported by Ray Stevens.
7438 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7439 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7440 Reported by Tim Holt.
7441 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7442 instantiated by upper module causing wrong expansion until AUTOed a
7443 second time. Reported by K C Buckenmaier.
7444 (verilog-diff-auto): Fix showing .* as a difference when
7445 `verilog-auto-star-save' off. Reported by Dan Dever.
7446 (verilog-auto-reset, verilog-read-always-signals)
7447 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7448 temporary signals in reset list if
7449 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7450 style to each signal's assignment type, bug381.
7451 Reported by Thomas Esposito.
6288f0ca
WS
7452 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7453 (verilog-uvm-statement-re): Support UVM indentation and
7454 highlighting, with old OVM keywords only.
a1beca85 7455 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7456 Support AUTOTIEOFF creating non-wire data types.
7457 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7458 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7459 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7460 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7461 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7462 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7463 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7464 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7465 non-numeric vector width. Reported by Alex Reed.
7466 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7467 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7468 (verilog-auto-delete-trailing-whitespace):
7469 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7470 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7471 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7472 Fix verilog-scan-cache corruption when running user AUTO expansion
7473 hooks that call indentation routines.
7474 (verilog-simplify-range-expression): Fix typo ignoring lower case
7475 identifiers.
7476 (verilog-delete-auto): Fix delete-autos to also remove user created
7477 automatics, as long as they start with AUTO.
7478 (verilog-batch-diff-auto, verilog-diff-auto)
7479 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7480 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7481 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7482 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7483 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7484 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7485 is disabled and its cache will get corrupt, causing AUTOS not to
7486 expand. Instead use only -quick functions.
7487 (verilog-scan-region): Fix scanning over escaped quotes.
7488 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7489 (verilog-re-search-backward-quick)
7490 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7491 related functions now ignore strings, to fix misparsing of strings
7492 with magic comments embedded in them.
a1beca85
SM
7493 (verilog-read-auto-template):
7494 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7495 Reported by Brad Dobbie.
7496 (verilog-read-auto-template):
7497 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7498 Reported by Brad Dobbie.
6288f0ca
WS
7499 (verilog-auto-inst, verilog-auto-inst-param)
7500 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7501 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7502 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7503 debugging templates without merge conflicts, bug357.
7504 Reported by Brad Dobbie.
7505 (verilog-read-auto-template):
7506 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7507 Reported by Brad Dobbie.
7508 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7509 abbrevs so user won't be asked to save.
7510 (verilog-read-auto-lisp-present): Fix to start at beginning of
7511 buffer in case called outside of verilog-auto.
7512 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7513 to "X-2". Reported by Matthew Myers.
7514 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7515 all inputs from module templates. Reported by Leith Johnson.
7516 (verilog-module-inside-filename-p): Fix locating programs as with
7517 modules.
7518 (verilog-auto-inst-port): Fix vl-width expressions when using
7519 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7520 (verilog-decls-get-regs, verilog-decls-get-signals,
7521 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7522 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7523 verilog-read-decls): Combine reg and wire structures into one var
7524 structure to represent SystemVerilog concepts.
7525 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7526 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7527 (verilog-auto-wire-type, verilog-insert-definition):
7528 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7529 SystemVerilog "logic" keyword instead of "wire"/"reg".
7530 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7531 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7532 ifdef or generate if so there's not a driver conflict).
7533 Reported by Matthew Myers.
7534 (verilog-auto-declare-nettype, verilog-insert-definition):
7535 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7536 `default_nettype none. Reported by Julian Gorfajn.
7537 (verilog-read-always-signals-recurse, verilog-read-decls)
7538 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7539 malformed end statement, bug325. Reported by Joshua Wise and
7540 Andrew Drake.
7541 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7542 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7543 when expanding .* in interfaces, bug320.
7544 Reported by Pierre-David Pfister.
6288f0ca 7545 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7546 name and open parenthesis, bug317.
7547 Reported by Pierre-David Pfister.
6288f0ca
WS
7548 (verilog-simplify-range-expression): Fix simplification of
7549 multiplications inside AUTOWIRE connections, bug303.
7550 (verilog-auto-inst-port): Support parameter expansion in
7551 multidimensional arrays.
7552 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7553 after "assert property". Reported by Julian Gorfajn.
7554 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7555 with multiplication, bug303.
7556 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7557 Reported by Jan Frode Lonnum.
7558
1bbe96b2
GM
75592011-11-30 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7562 (hfy-shell-file-name, hfy-shell):
7563 * international/fontset.el (x-decompose-font-name): Fix typos.
7564
75652011-11-29 Ken Brown <kbrown@cornell.edu>
7566
7567 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7568 (gdb-version): Remove defvar.
7569 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7570 (gdb-gud-context-command, gdb-non-stop-handler)
7571 (gdb-current-context-command, gdb-stopped): Use it.
7572 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7573 (gdb-non-stop-handler): Don't enable pretty-printing here.
7574 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7575 non-stop mode. Use the following.
7576 (gdb-check-target-async): New defun.
7577 (gud-watch, gdb-stopped): Fix whitespace.
7578 (gdb-get-source-file): Don't try to display the source file if
7579 `gdb-main-file' is nil.
7580
75812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * align.el: Try to generate fewer markers (bug#10047).
7584 (align--set-marker): New macro.
7585 (align-region): Use it.
7586
c935221f
SM
75872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7590
e70b5064
CY
75912011-11-29 Chong Yidong <cyd@gnu.org>
7592
7593 * indent.el (indent-for-tab-command, indent-according-to-mode):
7594 Doc fix.
7595 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7596
f3af92b7
MA
75972011-11-29 Michael Albinus <michael.albinus@gmx.de>
7598
7599 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7600 aware of remote file names. (Bug#10124)
7601
ed472be9
CY
76022011-11-29 Chong Yidong <cyd@gnu.org>
7603
7604 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7605
24510c22
SM
76062011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * files.el (find-file): Don't use force-same-window (bug#10144).
7609 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7610 use pop-to-buffer if the selected window can't be used.
7611 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7612
c60c3703
EZ
76132011-11-28 Eli Zaretskii <eliz@gnu.org>
7614
7615 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7616 special-mode-map.
7617
e95def75
CY
76182011-11-28 Chong Yidong <cyd@gnu.org>
7619
7620 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7621
c3f1c606
NR
76222011-11-27 Nick Roberts <nickrob@snap.net.nz>
7623
7624 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7625 gdb-get-source-file-list on gdb-create-source-file-list.
7626
00db469c
EZ
76272011-11-26 Eli Zaretskii <eliz@gnu.org>
7628
7629 * whitespace.el (whitespace-newline): Use a different foreground
7630 color for 16-color light-background displays.
7631
4ad3bc2a
CY
76322011-11-24 Chong Yidong <cyd@gnu.org>
7633
7634 * window.el (display-buffer--special-action): Doc fix.
7635
e9fce1ac
JB
76362011-11-25 Juanma Barranquero <lekktu@gmail.com>
7637
7638 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7639 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7640 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7641 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7642 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7643 (avl-tree-stack-first):
7644 * emacs-lisp/cconv.el (cconv--analyse-use):
7645 * net/gnutls.el (gnutls-negotiate): Fix typos.
7646
cb825e5d
GM
76472011-11-24 Glenn Morris <rgm@gnu.org>
7648
3adbe224
GM
7649 * lpr.el (lpr-windows-system, lpr-lp-system):
7650 * mail/binhex.el (binhex-begin-line):
7651 * progmodes/grep.el (grep-history, grep-find-history):
7652 * textmodes/flyspell.el:
7653 * vc/pcvs-defs.el (cvs-global-menu):
7654 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7655 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7656 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7657
321decc8
GM
7658 * net/tls.el: Fix case of "GnuTLS".
7659
420b63ad
GM
7660 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7661
cb825e5d
GM
7662 * version.el (emacs-build-system): Give it a doc-string.
7663
a0649f08
JL
76642011-11-24 Juri Linkov <juri@jurta.org>
7665
7666 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7667
c0bc0fd4
GM
76682011-11-24 Glenn Morris <rgm@gnu.org>
7669
7670 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7671 if called on a non-mime message just toggle the headers. (Bug#8006)
7672
20db1522
JB
76732011-11-24 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7676 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7677 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7678 (allout-rebullet-heading, allout-open-sibtopic)
7679 (allout-toggle-current-subtree-encryption)
7680 (allout-toggle-subtree-encryption, allout-encrypt-string)
7681 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7682 (allout-distinctive-bullets-string, allout-auto-activation):
7683 * window.el (window-normalize-buffer-to-display):
7684 * progmodes/verilog-mode.el (verilog-batch-indent):
7685 * textmodes/bibtex.el (bibtex-field-braces-opt)
7686 (bibtex-field-strings-opt):
7687 * vc/cvs-status.el (cvs-tree-merge):
7688 Fix typos.
7689
7262a87c
MA
76902011-11-23 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7693 `non-essential' to t, in order to avoid remote connections.
7694
283430a1
EZ
76952011-11-23 Eli Zaretskii <eliz@gnu.org>
7696
a1beca85
SM
7697 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7698 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7699 case-insensitively.
7700
d2992a38
ML
77012011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7702
7703 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7704
50419064
GM
77052011-11-23 Glenn Morris <rgm@gnu.org>
7706
da94eca1
GM
7707 * paths.el (rmail-file-name): Reformat the doc-string so that it
7708 is picked up.
7709
9aac4de2
GM
7710 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7711 (rmail-auto-file): Ignore case in the "special" field names,
7712 as mail-fetch-field does for all others.
7713
8038d2d2
GM
7714 * mail/rmail.el (rmail-forward):
7715 * mail/rmailkwd.el (rmail-set-label):
7716 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7717 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7718
f3fe222a
GM
7719 * mail/rmail.el (rmail-current-message): Doc fix.
7720
50419064
GM
7721 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7722
28109f49
SM
77232011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7726
394c65f1
GM
77272011-11-22 Glenn Morris <rgm@gnu.org>
7728
7729 * mail/rmailmm.el (test-rmail-mime-handler)
7730 (test-rmail-mime-bulk-handler)
7731 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7732
f2a0aa3a
JL
77332011-11-21 Juri Linkov <juri@jurta.org>
7734
1154d12e
JB
7735 * calc/calc.el (calc-read-key-sequence):
7736 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7737
9c34a344
LMI
77382011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7739
7740 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7741 Tell the caller that the next line needs recomputation, even
7742 though it doesn't start a sexp (bug#10094).
7743
f04a3be9
SM
77442011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7747
7978747f
SM
77482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7749
f04a3be9
SM
7750 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7751 Use force-same-window.
7978747f 7752
fe7a3057
JB
77532011-11-20 Juanma Barranquero <lekktu@gmail.com>
7754
7755 * descr-text.el (describe-char-unicode-data):
7756 * json.el (json-string-escape):
7757 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7758 (Footnote-unicode, Footnote-style-p):
7759 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7760
24901d61
CY
77612011-11-20 Chong Yidong <cyd@gnu.org>
7762
7763 * window.el (replace-buffer-in-windows): Restore interactive spec.
7764
bac7ff22
SM
77652011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7766
24f3d7b9
SM
7767 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7768
bac7ff22
SM
7769 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7770 (byte-compile-global-not-obsolete-vars): New var.
7771 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7772 Use it.
7773 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7774
cd1181db
JB
77752011-11-20 Juanma Barranquero <lekktu@gmail.com>
7776
7777 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7778 * progmodes/pascal.el (electric-pascal-equal):
7779 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7780 * xml.el (xml-substitute-special): Fix typos.
7781
7fb18e9e
GM
77822011-11-20 Glenn Morris <rgm@gnu.org>
7783
7784 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7785 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7786 Doc fixes.
7787 (rmail-decode-mime-charset): Mark as obsolete.
7788
7789 * mail/rmailsum.el (rmail-message-regexp-p-1):
7790 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7791 Before using mime functions, check they are set. (Bug#10077)
7792
d5a6b3ba
JL
77932011-11-19 Juri Linkov <juri@jurta.org>
7794
7795 * info.el (Info-finder-find-node): Use `package--builtins' instead
7796 of `package-alist'. Use node names formed by the pattern "Keyword "
7797 and the keyword name.
7798
e981b61f
AS
77992011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7800
1d00653d 7801 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7802
3ffbc301
JL
78032011-11-19 Juri Linkov <juri@jurta.org>
7804
7805 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7806 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7807 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7808 `old-history', `old-history-forward'. Add let-binding
7809 `window-selected'. Remove calls to `kill-buffer',
7810 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7811 before calling `Info-find-node', so `Info-find-node-2' will reread
7812 the Info file. Restore window positions only when `window-selected'
7813 is non-nil.
7814
30c62133
JL
78152011-11-19 Juri Linkov <juri@jurta.org>
7816
7817 * isearch.el (isearch-lazy-highlight-new-loop):
7818 Remove condition `(not isearch-error)'. (Bug#9918)
7819
7820 * misearch.el (multi-isearch-search-fun): Add condition
7821 `(not bound)' to ignore lazy-highlighting search.
7822 Add the search-failed message "end of multi" when the end of
7823 multi-sequence is reached. Uncapitalize the search-failed
7824 message "Repeat for next buffer".
7825
7826 * info.el (Info-search): Add the search-failed message
7827 "end of the manual" when the end of the manual is reached
7828 in Isearch mode.
7829
645ca9cf
JL
78302011-11-19 Juri Linkov <juri@jurta.org>
7831
7832 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7833 Use non-destructive `remove' instead of `delete' because
7834 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7835 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7836
df754f66
JL
78372011-11-19 Juri Linkov <juri@jurta.org>
7838
7839 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7840 to nil instead of binding `search-ring' and `regexp-search-ring'.
7841 (Bug#9185)
7842
0e23d96a
EZ
78432011-11-19 Eli Zaretskii <eliz@gnu.org>
7844
7845 * simple.el (line-move): Force movement by logical lines for any
7846 hscrolled window, not only when auto-hscroll-mode is on.
7847 (line-move-visual): Update doc string to that effect. (Bug#10076)
7848
8a6ccb66
AS
78492011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7850
7851 * language/european.el (macintosh): Define as alias for mac-roman.
7852
49ae5b39
EZ
78532011-11-19 Eli Zaretskii <eliz@gnu.org>
7854
7855 * mail/rmailmm.el (rmail-mime-display-header)
7856 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7857 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7858 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7859 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7860 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7861 of a raw aref.
7862 (rmail-mime-entity-segment): To get past the tagline, move forward
7863 2 more lines, to account for the 2 empty lines that precede and
7864 follow the line with the buttons.
7865 (rmail-mime-update-tagline): Move one more line, to get past the
7866 empty line that follows the buttons in the tagline. (Bug#9520)
7867
c56cad4a
MR
78682011-11-19 Martin Rudalics <rudalics@gmx.at>
7869
7870 * window.el (window-max-delta-1, window-min-delta-1)
7871 (window-min-size-1, window-state-get-1, window-state-put-1)
7872 (window-state-put-2): Use "window--" prefix.
7873
cbe71af3
SM
78742011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7875
2ad52c60
SM
7876 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7877 (smie-warning-count): New var.
7878 (smie-set-prec2tab): Use it.
7879 (smie-bnf->prec2): Improve warnings. Add docstring.
7880 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7881 (smie-bnf--set-class): New function.
7882 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7883 corner case.
7884
6944dbc1
SM
7885 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7886 (compilation-error-properties, compilation-move-to-column):
7887 Handle compilation-first-column while in the target buffer.
7888
c400c4d7
SM
7889 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7890 Don't hardcode point-min==1.
7891
6dbe3e96
SM
7892 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7893 (eshell-rewrite-for-command): Remove workaround.
7894 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7895 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7896 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7897
cbe71af3
SM
7898 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7899
a8e1496d
GM
79002011-11-17 Glenn Morris <rgm@gnu.org>
7901
7902 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7903 Ignore buffer-local generated-autoload-file if it is the same
7904 as the global value. (Bug#10049)
7905
df85d315
JB
79062011-11-17 Juanma Barranquero <lekktu@gmail.com>
7907
7908 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7909 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7910 (reftex-toc-previous-heading, reftex-toc-max-level)
7911 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7912 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7913 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7914 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7915 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7916 (reftex-toc-rename-label, reftex-toc-visit-location)
7917 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7918 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7919 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7920 leaving "*toc*" only for references to the buffer.
7921
a0c2d0ae
MR
79222011-11-17 Martin Rudalics <rudalics@gmx.at>
7923
7924 * window.el (window-resize, delete-window, split-window):
7925 Replace window-splits by window-combination-resize.
1d00653d 7926 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7927
35c0bac8
GM
79282011-11-17 Glenn Morris <rgm@gnu.org>
7929
7930 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7931 Make bash entry derive from sh entry, not shell entry.
7932
d0c8fc8a
MA
79332011-11-16 Michael Albinus <michael.albinus@gmx.de>
7934
7262a87c
MA
7935 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7936 local file name.
7937
7877f373
JB
79382011-11-16 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * menu-bar.el (menu-bar-file-menu):
7941 * printing.el (pr-ps-utility):
7942 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7943 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7944 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7945 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7946 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7947 (icalendar--convert-cyclic-to-ical)
7948 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7949 (icalendar--convert-ical-to-diary)
7950 (icalendar--convert-recurring-to-diary)
7951 (icalendar--convert-non-recurring-all-day-to-diary)
7952 (icalendar-import-format-sample):
7953 * progmodes/idlw-shell.el (idlwave-shell-mode):
7954 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7955 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7956 (vhdl-ps-print-init): Fix typos.
7957
10649b82
KM
79582011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7959
9d0cfcd6
GM
7960 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7961 FSF and collapse date sequence, obscure author/maintainer email address
7962 better, remove extra version line, track relocation of author's webpage.
10649b82 7963
9d0cfcd6
GM
7964 * progmodes/python.el (python-pdbtrack-input-prompt)
7965 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7966 regular python pdb prompts. Adjustments shamelessly taken exactly as
7967 suggested in EmacsWiki page (tiny change):
7968 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7969
58179cce
JB
79702011-11-16 Juanma Barranquero <lekktu@gmail.com>
7971
7972 * expand.el (expand-pos, expand-index, expand-point):
7973 Remove redundant info from docstring.
7974 (expand-add-abbrevs): Doc fix.
7975 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7976 (expand-sample-perl-mode-expand-list): Fix typos.
7977
7978 * net/dbus.el (dbus-event-member-name):
7979 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7980 * term/pc-win.el (msdos-create-frame-with-faces):
7981 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7982
b6f67890
MR
79832011-11-16 Martin Rudalics <rudalics@gmx.at>
7984
7985 * window.el (split-window, window-state-get-1)
7986 (window-state-put-1, window-state-put-2): Rename occurrences of
7987 window-nest to window-combination-limit.
1d00653d 7988 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7989
ce7ddba0
CY
79902011-11-16 Chong Yidong <cyd@gnu.org>
7991
7992 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7993 regexp (Bug#10033).
7994
3ae704f4
SM
79952011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7998 `completing-read' will remove *Completions* and will preserve
7999 current-buffer for us.
8000 (tmm-add-prompt): Users of *Completions* will always (re)set its
8001 major mode.
8002 (tmm-old-comp-map): Remove.
8003
6ad1cdde
GM
80042011-11-16 Glenn Morris <rgm@gnu.org>
8005
8006 * mail/rmailedit.el: Require rmailmm when compiling.
8007 (rmail-old-mime-state): New declaration.
8008 (rmail-edit-current-message): If editing a mime message,
8009 edit the "raw" message from the mbox buffer.
8010 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8011
d20faa20
GM
80122011-11-15 Glenn Morris <rgm@gnu.org>
8013
8014 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8015 which wasn't being used. Add optional arg to force given state.
8016 (rmail-mime): Add optional arg to force given state.
8017
c7015153
JB
80182011-11-15 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8021 * frame.el (display-mm-dimensions-alist):
8022 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8023 (outline-move-subtree-down):
8024 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8025 (newsticker--treeview-do-get-node):
8026 * net/quickurl.el (quickurl-list-buffer-name):
8027 * progmodes/dcl-mode.el (dcl-mode):
8028 * progmodes/gdb-mi.el (gdb-mapcar*):
8029 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8030
45261b50
GM
80312011-11-15 Glenn Morris <rgm@gnu.org>
8032
8033 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8034 in a boolean sense, so just make it a boolean, and fix the doc.
8035 (rmail-show-mime-function, rmail-mime-feature)
8036 (rmail-require-mime-maybe): Doc fixes.
8037 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8038
8039 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8040
0d26e0b6
JB
80412011-11-15 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8044 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8045 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8046 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8047
447f30f6
GM
80482011-11-15 Glenn Morris <rgm@gnu.org>
8049
672b871d
GM
8050 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8051 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8052 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8053 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8054 (rmail-mime, rmail-show-mime): Doc fixes.
8055
f6aa5bb1
GM
8056 * term/ns-win.el (mode-line-frame-identification):
8057 Leave it alone. (Bug#10051)
8058
947cd66b
GM
8059 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8060
447f30f6
GM
8061 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8062 Handle empty buffers. (Bug#9978)
8063
0b381c7e
JB
80642011-11-14 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * international/mule.el (define-charset):
8067 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8068 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8069 * progmodes/verilog-mode.el (verilog-backward-token):
8070 * textmodes/ispell.el (lookup-words):
8071 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8072
71e027ac
GM
80732011-11-14 Glenn Morris <rgm@gnu.org>
8074
56632ce4
GM
8075 * progmodes/executable.el
8076 (executable-make-buffer-file-executable-if-script-p):
8077 Handle file-modes returning nil.
8078
40500957
GM
8079 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8080 message - not necessary, and causes problems. (Bug#9831)
8081
071c2340
GM
8082 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8083
d3cfca60
GM
8084 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8085
71e027ac
GM
8086 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8087 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8088 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8089
89d61221
MR
80902011-11-12 Martin Rudalics <rudalics@gmx.at>
8091
8092 * window.el (window-resize, delete-window): Use window-splits
8093 variable instead of function.
8094 (window-state-get-1, window-state-put-2, window-state-put):
8095 Don't deal with windows' splits status.
8096
98282f6f
GM
80972011-11-12 Glenn Morris <rgm@gnu.org>
8098
8099 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8100 (apropos-documentation): Doc fixes.
8101
40a8bdf6
JB
81022011-11-11 Juanma Barranquero <lekktu@gmail.com>
8103
8104 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8105 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8106
65bd19ff
SM
81072011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * electric.el (electric-indent-post-self-insert-function): Make it
8110 possible for a char to only indent in some circumstances.
8111 (electric-indent-mode): Simplify.
8112
54f9154c
MR
81132011-11-11 Martin Rudalics <rudalics@gmx.at>
8114
8115 * window.el (windows-with-parameter): Remove unused function.
8116 (windows-at-side): Rename to window-at-side-list.
8117 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8118 (window-side-check, window-size-ignore, window-size-fixed-1)
8119 (window-in-direction-2): Prefix with "window--".
8120 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8121
68cbc58b
GM
81222011-11-11 Glenn Morris <rgm@gnu.org>
8123
8124 * subr.el (eval-after-load): If FILE is already loaded,
8125 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8126
b2621720
GM
81272011-11-10 Glenn Morris <rgm@gnu.org>
8128
9a4de110
GM
8129 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8130 Call svn via vc-svn-command rather than vc-do-command.
8131 (vc-svn-command): Add --non-interactive. (Bug#9993)
8132 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8133
b2621720
GM
8134 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8135 Add toggle-read-only. (Bug#7292)
8136 * files.el (toggle-read-only): Mention that it should only
8137 be used interactively. (Bug#10006)
8138
1dce7193
SM
81392011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8140
d9ac1a1e
SM
8141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8142 Adjust regexp for OCaml warnings.
8143
0c325082
SM
8144 * electric.el (electric-pair-post-self-insert-function): Let user
8145 turn it off buffer-locally (bug#9932).
8146
90132c14
SM
8147 * progmodes/python.el (python-beginning-of-statement):
8148 Rewrite (bug#2703).
8149
1dce7193
SM
8150 * progmodes/compile.el: Better handle TABs (bug#9749).
8151 (compilation-internal-error-properties)
8152 (compilation-next-error-function): Obey the target buffer's
8153 compilation-error-screen-columns.
8154
c4e7c63a
JB
81552011-11-09 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * progmodes/meta-mode.el: Remove obsolete comments.
8158 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8159 Fix typos in docstrings.
8160
2cffd681
MR
81612011-11-09 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8164 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8165 (window--resizable): New function. Make all callers of
8166 window-resizable call window--resizable instead.
8167 (window-resizable): Rewrite in terms of window--resizable.
8168
0edcba87
GM
81692011-11-08 Glenn Morris <rgm@gnu.org>
8170
8171 * progmodes/delphi.el (delphi-mode-syntax-table):
8172 Let define-derived-mode define a proper syntax table. (Bug#9994)
8173
4b0d61e3
SM
81742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * window.el: Stay away from defsubst.
8177 (window-list-no-nils): Remove.
8178 (window-state-get-1, window-state-get): Use backquote instead.
8179
cd394be1 81802011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8181
4b0d61e3 8182 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8183 Fix incorrect use of default argument in `completing-read'.
8184
e1c2c6f2
MR
81852011-11-08 Martin Rudalics <rudalics@gmx.at>
8186
8187 * window.el (display-buffer-function, special-display-function):
8188 Mention display-buffer-record-window but do not mention
8189 help-setup parameter in doc-strings.
b3f4a882 8190 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8191
105216ed
CY
81922011-11-08 Chong Yidong <cyd@gnu.org>
8193
8194 * window.el (window-total-height, window-total-width): Doc fix.
8195 (window-body-size): Move from C.
8196 (window-body-height, window-body-width): Move to C.
8197
0a9f9ab5
SM
81982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * window.el: Make special-display like display-buffer-alist (bug#9532).
8201 (display-buffer--special-action): New function, morphed
8202 from display-buffer--special.
8203 (display-buffer): Use it to handle special-display-buffers at higher
8204 priority (just after display-buffer-alist).
8205 (display-buffer-fallback-action, display-buffer--other-frame-action)
8206 (pop-to-buffer-same-window): Remove display-buffer--special.
8207
a769dd15
GM
82082011-11-07 Glenn Morris <rgm@gnu.org>
8209
8210 * calendar/cal-menu.el (cal-menu-set-date-title):
8211 Do nothing if not in a calendar. (Bug#9976)
8212
05a61ee3
SM
82132011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * files.el (find-file): Always use selected-window.
8216
be7f5545
MR
82172011-11-07 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (window-combinations): Make WINDOW argument
8220 mandatory. Rewrite doc-string.
8221 (walk-window-subtree, window-atom-check, window-min-delta)
8222 (window-max-delta, window--resize-this-window)
8223 (window--resize-root-window-vertically, window-tree)
8224 (balance-windows, window-state-put): Rewrite doc-strings as to
8225 not mention the term "subwindow".
8226 (window--resize-subwindows-skip-p): Rename to
8227 window--resize-child-windows-skip-p.
8228 (window--resize-subwindows-normal): Rename to
8229 window--resize-child-windows-normal.
8230 (window--resize-subwindows): Rename to
8231 window--resize-child-windows.
8232 (window-or-subwindow-p): Rename to window--in-subtree-p.
8233
3c6702ef
ML
82342011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8235
8236 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8237 Ensure that mbox format messages end in two newlines (Bug#9974).
8238
49745b39
CY
82392011-11-06 Chong Yidong <cyd@gnu.org>
8240
8241 * window.el (window-combination-p): Function deleted; its
8242 side-effect is not used in any existing code.
8243 (window-combinations, window-combined-p): Call window-*-child
8244 directly.
8245
24300f5f
CY
82462011-11-05 Chong Yidong <cyd@gnu.org>
8247
8248 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8249 (window-size-ignore, window-state-get): Callers changed.
8250 (window-normalize-window): Rename from window-normalize-any-window.
8251 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8252 (window-normalize-live-window): Delete.
447f16b8
CY
8253 (window-combination-p, window-combined-p, window-combinations)
8254 (walk-window-subtree, window-atom-root, window-min-size)
8255 (window-sizable, window-sizable-p, window-size-fixed-p)
8256 (window-min-delta, window-max-delta, window-resizable)
8257 (window-resizable-p, window-full-height-p, window-full-width-p)
8258 (window-current-scroll-bars, window-point-1, set-window-point-1)
8259 (window-at-side-p, window-in-direction, window-resize)
8260 (adjust-window-trailing-edge, maximize-window, minimize-window)
8261 (window-deletable-p, delete-window, delete-other-windows)
8262 (record-window-buffer, unrecord-window-buffer)
8263 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8264 (quit-window, split-window, window-state-put)
8265 (set-window-text-height, fit-window-to-buffer)
8266 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8267
89bd5ee1
EZ
82682011-11-04 Eli Zaretskii <eliz@gnu.org>
8269
53479029
EZ
8270 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8271 rfc2047-decode-string.
8272 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8273 warnings.
8274
89bd5ee1
EZ
8275 * window.el (window-body-height, window-body-width): Mention in
8276 the doc string that the return values are in frame's canonical
8277 units. (Bug#9949)
8278
bd17fdee
AM
82792011-11-03 Alan Mackenzie <acm@muc.de>
8280
8281 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8282 change in cc-engine.el.
8283
acc825c5
SM
82842011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8287
1885e5b8
MR
82882011-11-02 Martin Rudalics <rudalics@gmx.at>
8289
8290 * window.el (quit-window): Call unrecord-window-buffer after
8291 showing another buffer in the window. (Bug#9937)
acc825c5 8292 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8293
ebe06da9
JB
82942011-11-02 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8297 Accept status with more than 9 shelves. (Bug#9935)
8298 Reported by Colin D Bennett <colin@gibibit.com>.
8299
4ee88440
MR
83002011-11-01 Martin Rudalics <rudalics@gmx.at>
8301
8302 * help.el (with-help-window): Don't reference
8303 temp-buffer-show-specifiers in doc-string.
8304
08e1d82c
AS
83052011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8306
8307 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8308 menu-item.
8309
84bd6e9e
VJL
83102011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8311
8312 * whitespace.el: New version 13.2.2.
8313 (whitespace-newline-mode): Disable properly. Reported by Sarah
8314 <EmacsWiki>.
8315
dba0634a
UJ
83162011-10-30 Ulf Jasper <ulf.jasper@web.de>
8317
8318 * net/newst-treeview.el: Remove "Time-stamp".
8319 (newsticker--group-manage-orphan-feeds): Do not call
8320 newsticker--treeview-tree-update.
db22a3c2
JB
8321 (newsticker-treeview-update, newsticker-treeview):
8322 Call newsticker--treeview-tree-update if necessary.
dba0634a 8323
3d8daefe
MR
83242011-10-30 Martin Rudalics <rudalics@gmx.at>
8325
8326 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8327 (window-iso-combinations): Remove "iso-" infix.
8328 Suggested by Chong Yidong.
3d8daefe
MR
8329 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8330 (window-max-delta-1, window-resize, window--resize-siblings)
8331 (window--resize-this-window, adjust-window-trailing-edge)
8332 (split-window, balance-windows-1)
8333 (shrink-window-if-larger-than-buffer):
8334 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8335 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8336
1bc4c3ae
SM
83372011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8340 in place (bug#9907).
8341 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8342 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8343 (eshell-structure-basic-command, eshell-rewrite-while-command)
8344 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8345 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8346 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8347 (eshell-do-pipelines-synchronously, eshell-eval-command):
8348 Use backquotes and prefer setq to set.
8349 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8350 (eshell-macrop): Use functionp.
c1e2f5fa 8351 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8352
30b65d9c
CY
83532011-10-30 Chong Yidong <cyd@gnu.org>
8354
8355 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8356 instead of set-mark (Bug#9810).
8357
2d197ffb
CY
83582011-10-30 Chong Yidong <cyd@gnu.org>
8359
8360 * window.el (split-window-below, split-window-right): Rename from
8361 split-window-above-each-other and split-window-side-by-side
8362 respectively. All callers changed.
8363 (split-window-sensibly, split-window-sensibly): Use them.
8364 (split-window-keep-point): Doc fix.
8365
8366 * isearch.el: Add isearch-scroll property to split-window-below
8367 and split-window-right.
8368
8369 * follow.el (follow-mode):
8370 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8371 * progmodes/ada-xref.el (ada-gdb-application):
8372 * emulation/vip.el (vip-buffer-in-two-windows):
8373 * image-dired.el (image-dired-dired-with-window-configuration):
8374 * dired-x.el (dired-do-find-marked-files):
8375 * dired.el (dired-pop-to-buffer):
8376 * bs.el (bs--show-with-configuration):
8377 * vc/emerge.el (emerge-setup-windows):
8378 * textmodes/two-column.el (2C-two-columns):
8379 * textmodes/reftex-toc.el (reftex-toc):
8380 * progmodes/gdb-mi.el (gdb-setup-windows):
8381 * progmodes/fortran.el (fortran-window-create):
8382 * net/newst-treeview.el (newsticker--treeview-window-init):
8383 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8384 * emulation/tpu-edt.el (tpu-gold-map):
8385 * emulation/crisp.el (crisp-mode-map):
8386 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8387
38bb2ca8
CY
83882011-10-29 Chong Yidong <cyd@gnu.org>
8389
aa4de341
CY
8390 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8391
e1eb5385
CY
8392 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8393
5d2ece3c
CY
8394 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8395 forged Ispell output (Bug#7904).
8396
38bb2ca8
CY
8397 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8398
d0af9f77
SM
83992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8400
8401 * doc-view.el: Avoid ugly errors about not finding nil.
8402 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8403 (doc-view-dvipdf-program, doc-view-unoconv-program)
8404 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8405 Avoid nil or absolute file name as default value.
8406 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8407
52bedd34
AM
84082011-10-28 Alan Mackenzie <acm@muc.de>
8409
db22a3c2 8410 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8411
7e43cfa5
AM
84122011-10-28 Alan Mackenzie <acm@muc.de>
8413
8414 Amend the handling of c-beginning/end-of-defun in nested declaration
8415 scopes.
8416
52bedd34
AM
8417 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8418 cc-langs.el. Change it to a defcustom.
7e43cfa5 8419
52bedd34
AM
8420 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8421 cc-vars.el.
7e43cfa5 8422
d0af9f77
SM
8423 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8424 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8425
52bedd34 8426 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8427 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8428 (c-widen-to-enclosing-decl-scope): New function.
8429 (c-while-widening-to-decl-block): New macro.
8430 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8431 outward for defun boundaries, and correspondingly change symbol
8432 `respect-enclosure' to `go-outward'.
8433 (c-declaration-limits): Change algorithm to report only the "innermost"
8434 defun's boundaries.
8435
1a2ce9ee
DD
84362011-10-28 Deniz Dogan <deniz@dogan.se>
8437
8438 * net/rcirc.el (rcirc-mode): Use hard newlines.
8439
bc97a826
AM
84402011-10-28 Alan Mackenzie <acm@muc.de>
8441
8442 Amend to indent and fontify macros "which include their own semicolon"
8443 correctly, using the "virtual semicolon" mechanism.
8444
52bedd34 8445 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8446
d0af9f77 8447 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8448 Recode to scan one line at a time rather than having \n and \r
58179cce 8449 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8450 (c-forward-label): Amend for virtual semicolons.
58179cce 8451 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8452
52bedd34
AM
8453 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8454 of the new C macros.
bc97a826 8455
52bedd34 8456 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8457 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8458 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8459 (c-opt-cpp-macro-define): Make into a full language variable.
8460 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8461 AWK Mode (including \n, \r) removed, no longer needed.
8462
d0af9f77
SM
8463 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8464 Invoke c-make-macro-with-semi-re.
bc97a826 8465
52bedd34
AM
8466 * progmodes/cc-vars.el (c-macro-with-semi-re):
8467 (c-macro-names-with-semicolon): New variables.
58179cce 8468 (c-make-macro-with-semi-re): New function.
bc97a826 8469
7a6c0941
SM
84702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * vc/log-edit.el: Fill empty field rather than adding new one.
8473 (log-edit-add-field): New function.
8474 (log-edit-insert-changelog): Use it.
8475
b0c4cdcf
ML
84762011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8477
8478 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8479
ee1f1da9
SM
84802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8483 (gdb--check-interpreter): New function.
8484 (gdb): Use it.
8485
51bc5f8b
GM
84862011-10-27 Glenn Morris <rgm@gnu.org>
8487
416a2c45
GM
8488 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8489 (least-positive-float, least-negative-float)
8490 (least-positive-normalized-float, least-negative-normalized-float)
8491 (float-epsilon, float-negative-epsilon):
8492 Remove unnecessary declarations.
8493
8494 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8495 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8496 (least-positive-float, least-negative-float)
8497 (least-positive-normalized-float, least-negative-normalized-float)
8498 (float-epsilon, float-negative-epsilon): Add doc-strings,
8499 based on those in cl.texi.
8500
51bc5f8b
GM
8501 * files.el (set-visited-file-name): If the major-mode changed,
8502 reload the local variables. (Bug#9796)
8503
15de15c6
CY
85042011-10-27 Chong Yidong <cyd@gnu.org>
8505
8506 * subr.el (change-major-mode-after-body-hook): New hook.
8507 (run-mode-hooks): Run it.
8508
ee1f1da9
SM
8509 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8510 Use change-major-mode-before-body-hook.
15de15c6
CY
8511
8512 * simple.el (fundamental-mode):
8513 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8514 change introducing fundamental-mode-hook.
8515
5430d399
JB
85162011-10-26 Juanma Barranquero <lekktu@gmail.com>
8517
acc825c5 8518 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8519
ad74a69e
MA
85202011-10-26 Michael Albinus <michael.albinus@gmx.de>
8521
8522 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8523 tramp.el explicitly. (Bug#7583)
ad74a69e 8524
71d4c2a5
SM
85252011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * progmodes/octave-mod.el:
8528 * progmodes/octave-inf.el: Update maintainer.
8529
b1f6fa26
CY
85302011-10-26 Chong Yidong <cyd@gnu.org>
8531
8532 * subr.el (with-wrapper-hook): Rewrite doc.
8533
3f04efd6
MA
85342011-10-25 Michael Albinus <michael.albinus@gmx.de>
8535
8536 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8537 filenames "/method:foo:". (Bug#9793)
3f04efd6 8538
410488d3
SM
85392011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8542 (bug#9865).
8543
c1ebb47e
GM
85442011-10-24 Glenn Morris <rgm@gnu.org>
8545
8546 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8547
7f5c46c7
MA
85482011-10-24 Michael Albinus <michael.albinus@gmx.de>
8549
8550 * notifications.el: Add the requirement of a running D-Bus session
8551 bus to the Commentary.
8552
db2440b6
JL
85532011-10-24 Juri Linkov <juri@jurta.org>
8554
8555 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8556 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8557 (Bug#9364)
8558
feecf435
JL
85592011-10-24 Juri Linkov <juri@jurta.org>
8560
8561 * info.el (Info-following-node-name-re): Add newline to the list
8562 of allowed characters for leading space. (Bug#9824)
8563
a3839de2
SM
85642011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8565
acc825c5
SM
8566 * progmodes/octave-inf.el (inferior-octave-mode-map):
8567 Fix C-c C-h binding.
a3839de2
SM
8568 * progmodes/octave-mod.el (octave-help): Remove.
8569
09388e76
MA
85702011-10-23 Michael Albinus <michael.albinus@gmx.de>
8571
8572 Sync with Tramp 2.2.3.
8573
8574 * net/tramp-cache.el (top): Pacify byte-compiler using
8575 `init-file-user' and `site-run-file'.
8576
8577 * net/trampver.el: Update release number.
8578
86c60681
CY
85792011-10-23 Chong Yidong <cyd@gnu.org>
8580
8581 * files.el (toggle-read-only): Remove obsolete comment about
8582 version control.
8583
8584 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8585 for toggle-read-only. Note that this hasn't called vc-next-action
8586 since 2008-05-02, though it wasn't documented at the time.
8587
a3839de2
SM
8588 * vc/ediff-init.el (ediff-toggle-read-only-function):
8589 Use toggle-read-only.
86c60681 8590
cd5495ff
AM
85912011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8592
8593 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8594 of c-parse-state.
8595
00b77525 8596 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8597 correct faulty logical expression.
cd5495ff
AM
8598 (c-parse-state-state, c-record-parse-state-state):
8599 (c-replay-parse-state-state): New defvar/defuns.
8600 (c-debug-parse-state): Use new functions.
8601
42ee24ed
MR
86022011-10-22 Martin Rudalics <rudalics@gmx.at>
8603
8604 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8605 last fix. Use window-in-direction correctly.
42ee24ed 8606
a7dee7e7
CY
86072011-10-21 Chong Yidong <cyd@gnu.org>
8608
8609 * progmodes/idlwave.el (idlwave-mode):
8610 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8611 require-final-newline; that's done in prog-mode.
8612 Suggested by Stefan Monnier.
a7dee7e7 8613
e07b9a6d
MR
86142011-10-21 Martin Rudalics <rudalics@gmx.at>
8615
8616 * mouse.el (mouse-drag-window-above)
8617 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8618 (mouse-drag-mode-line-1, mouse-drag-header-line)
8619 (mouse-drag-vertical-line-rightward-window): Remove.
8620 (mouse-drag-line): New function.
8621 (mouse-drag-mode-line, mouse-drag-header-line)
8622 (mouse-drag-vertical-line): Call mouse-drag-line.
8623 * window.el (window-at-side-p, windows-at-side): New functions.
8624
7e1361d9
UM
86252011-10-21 Ulrich Mueller <ulm@gentoo.org>
8626
8627 * tar-mode.el (tar-grind-file-mode):
8628 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8629
30fcaf3a
CY
86302011-10-21 Chong Yidong <cyd@gnu.org>
8631
8632 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8633 * progmodes/vera-mode.el (vera-mode):
8634 Use mode-require-final-newline.
30fcaf3a 8635
516eddb0
GM
86362011-10-20 Glenn Morris <rgm@gnu.org>
8637
db22a3c2 8638 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8639
10d5f513
CS
86402011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8641
8642 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8643
ac6c8639
CY
86442011-10-20 Chong Yidong <cyd@gnu.org>
8645
8646 * emulation/cua-base.el (cua-mode):
8647 * mail/footnote.el (footnote-mode):
8648 * mail/mailabbrev.el (mail-abbrevs-mode):
8649 * net/xesam.el (xesam-minor-mode):
8650 * progmodes/bug-reference.el (bug-reference-mode):
8651 * progmodes/cap-words.el (capitalized-words-mode):
8652 * progmodes/compile.el (compilation-minor-mode)
8653 (compilation-shell-minor-mode):
8654 * progmodes/gud.el (gud-tooltip-mode):
8655 * progmodes/hideif.el (hide-ifdef-mode):
8656 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8657 * progmodes/subword.el (subword-mode):
8658 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8659 * progmodes/which-func.el (which-function-mode):
8660 * term/tvi970.el (tvi970-set-keypad-mode):
8661 * term/vt100.el (vt100-wide-mode):
8662 * textmodes/flyspell.el (flyspell-mode):
8663 * textmodes/ispell.el (ispell-minor-mode):
8664 * textmodes/nroff-mode.el (nroff-electric-mode):
8665 * textmodes/paragraphs.el (use-hard-newlines):
8666 * textmodes/refill.el (refill-mode):
8667 * textmodes/reftex.el (reftex-mode):
8668 * textmodes/rst.el (rst-minor-mode):
8669 * textmodes/sgml-mode.el (html-autoview-mode)
8670 (sgml-electric-tag-pair-mode):
8671 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8672 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8673 * emulation/crisp.el (crisp-mode):
8674 * emacs-lisp/eldoc.el (eldoc-mode):
8675 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8676 minor mode behavior.
8677
aa42ab43
JL
86782011-10-19 Juri Linkov <juri@jurta.org>
8679
8680 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8681 the list of hard-coded chars with escape-glyph face.
8682
89400f1d
SM
86832011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8686
305c07f6
MA
86872011-10-19 Michael Albinus <michael.albinus@gmx.de>
8688
8689 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8690 running process.
8691
13754b54
GM
86922011-10-19 Glenn Morris <rgm@gnu.org>
8693
8694 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8695 Ignore ignored files. (Bug#9726)
8696
06e21633
CY
86972011-10-19 Chong Yidong <cyd@gnu.org>
8698
8699 Doc fix for minor modes, stating that an omitted argument enables
8700 the mode unconditionally when called from Lisp.
8701
8702 * abbrev.el (abbrev-mode):
8703 * allout.el (allout-mode):
8704 * autoinsert.el (auto-insert-mode):
8705 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8706 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8707 (global-auto-revert-mode):
8708 * battery.el (display-battery-mode):
8709 * composite.el (global-auto-composition-mode)
8710 (auto-composition-mode):
8711 * delsel.el (delete-selection-mode):
8712 * desktop.el (desktop-save-mode):
8713 * dired-x.el (dired-omit-mode):
8714 * dirtrack.el (dirtrack-mode):
8715 * doc-view.el (doc-view-minor-mode):
8716 * double.el (double-mode):
8717 * electric.el (electric-indent-mode, electric-pair-mode):
8718 * emacs-lock.el (emacs-lock-mode):
8719 * epa-hook.el (auto-encryption-mode):
8720 * follow.el (follow-mode):
8721 * font-core.el (font-lock-mode):
8722 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8723 * help.el (temp-buffer-resize-mode):
8724 * hilit-chg.el (highlight-changes-mode)
8725 (highlight-changes-visible-mode):
8726 * hi-lock.el (hi-lock-mode):
8727 * hl-line.el (hl-line-mode, global-hl-line-mode):
8728 * icomplete.el (icomplete-mode):
8729 * ido.el (ido-everywhere):
8730 * image-file.el (auto-image-file-mode):
8731 * image-mode.el (image-minor-mode):
8732 * iswitchb.el (iswitchb-mode):
8733 * jka-cmpr-hook.el (auto-compression-mode):
8734 * linum.el (linum-mode):
8735 * longlines.el (longlines-mode):
8736 * master.el (master-mode):
8737 * mb-depth.el (minibuffer-depth-indicate-mode):
8738 * menu-bar.el (menu-bar-mode):
8739 * minibuf-eldef.el (minibuffer-electric-default-mode):
8740 * mouse-sel.el (mouse-sel-mode):
8741 * msb.el (msb-mode):
8742 * mwheel.el (mouse-wheel-mode):
8743 * outline.el (outline-minor-mode):
8744 * paren.el (show-paren-mode):
8745 * recentf.el (recentf-mode):
8746 * reveal.el (reveal-mode, global-reveal-mode):
8747 * rfn-eshadow.el (file-name-shadow-mode):
8748 * ruler-mode.el (ruler-mode):
8749 * savehist.el (savehist-mode):
8750 * scroll-all.el (scroll-all-mode):
8751 * scroll-bar.el (scroll-bar-mode):
8752 * server.el (server-mode):
8753 * shell.el (shell-dirtrack-mode):
8754 * simple.el (auto-fill-mode, transient-mark-mode)
8755 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8756 (line-number-mode, column-number-mode, size-indication-mode)
8757 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8758 * strokes.el (strokes-mode):
8759 * time.el (display-time-mode):
8760 * t-mouse.el (gpm-mouse-mode):
8761 * tool-bar.el (tool-bar-mode):
8762 * tooltip.el (tooltip-mode):
8763 * type-break.el (type-break-mode-line-message-mode)
8764 (type-break-query-mode):
8765 * view.el (view-mode):
8766 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8767 (global-whitespace-mode, global-whitespace-newline-mode):
8768 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8769
a3839de2
SM
8770 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8771 Fix autogenerated docstring.
06e21633 8772
5214e501
JL
87732011-10-19 Juri Linkov <juri@jurta.org>
8774
8775 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8776 by checking environment variables "DESKTOP_SESSION" and
8777 "XDG_CURRENT_DESKTOP". (Bug#9779)
8778
195f8db9
JL
87792011-10-19 Juri Linkov <juri@jurta.org>
8780
8781 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8782 (browse-url-chromium-program, browse-url-chromium-arguments):
8783 New defcustoms.
8784 (browse-url-default-browser): Check for `browse-url-chromium' and
8785 call `browse-url-chromium-program'.
8786 (browse-url-chromium): New command. (Bug#9779)
8787
343a34ff
JB
87882011-10-18 Juanma Barranquero <lekktu@gmail.com>
8789
8790 * facemenu.el (list-colors-duplicates): On Windows, detect more
8791 duplicates by assuming that only colors matching "^System" are
8792 special "system colors". (Bug#9722)
8793
6978a151
SM
87942011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8797 to distinguish the author from the committer.
8798
6a80b297
MA
87992011-10-18 Michael Albinus <michael.albinus@gmx.de>
8800
8801 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8802
b31a5677
JK
88032011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8804
8805 * international/mule.el (sgml-html-meta-auto-coding-function):
8806 Add support for detecting encoding in HTML5 specified only as
8807 <meta charset="UTF-8">. Implementation just makes http-equiv and
8808 content-type parts from HTML4 encoding string optional. (Bug#9716)
8809
80c6d77f
GM
88102011-10-18 Glenn Morris <rgm@gnu.org>
8811
8812 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8813
08b0fee8
CY
88142011-10-18 Chong Yidong <cyd@gnu.org>
8815
8816 * faces.el (cursor): Doc fix.
8817
67e729a5
CY
88182011-10-17 Chong Yidong <cyd@gnu.org>
8819
8820 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8821
343a34ff 88222011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8823
8824 * dirtrack.el (dirtrack): Support shell buffers with path
8825 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8826
0bc06380
TZ
88272011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8828
8829 * json.el: Bump version to 1.3 and note change in History.
8830 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8831
8b79f3e0
SM
88322011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8833
5a7c536b
SM
8834 * comint.el (comint-insert-input, comint-send-input)
8835 (comint-get-old-input-default, comint-backward-matching-input)
8836 (comint-next-prompt): Use nil instead of `input' for field property of
8837 past user input (bug#114).
8838
96a8a0df
SM
8839 * minibuffer.el (completion--replace): Inherit surrounding properties
8840 (bug#114).
8841 (minibuffer-complete-and-exit): Use it.
8842
8b79f3e0
SM
8843 * comint.el (comint--table-subvert): Quote the all-completions output
8844 (bug#9160).
8845
b8f7ff0d
MR
88462011-10-17 Martin Rudalics <rudalics@gmx.at>
8847
8b79f3e0 8848 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8849
b8f7ff0d 8850 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8851 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8852 entries and separate them from frame entries.
8853
c235b555
GM
88542011-10-15 Glenn Morris <rgm@gnu.org>
8855
8856 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8857 Doc fixes.
8858
6bbfa6e1
CY
88592011-10-15 Chong Yidong <cyd@stupidchicken.com>
8860
8b79f3e0
SM
8861 * net/network-stream.el (network-stream-open-starttls):
8862 Improve detection of failure due to lack of TLS support.
ec5c990d 8863
6bbfa6e1
CY
8864 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8865 putting the input text in front and in bold.
8866
98488977
SM
88672011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8868
3d1337be
SM
8869 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8870
ee0b45e4
SM
8871 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8872 empty buffer.
8873
98488977
SM
8874 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8875 unread-command-events rather than pushing yet-another event.
8876
186f4720
EZ
88772011-10-14 Eli Zaretskii <eliz@gnu.org>
8878
8879 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8880 the explanation of the possible choices. Make the options passed
8881 to completing-read shorter.
8882
8b7a997c
AM
88832011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8884
8885 * textmodes/flyspell.el (flyspell-large-region): Make sure
8886 extended character mode is used if defined (Bug#1339).
8887
12587bbb
EZ
88882011-10-13 Eli Zaretskii <eliz@gnu.org>
8889
8890 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8891 character info for LRE, LRO, RLE, and RLO characters by appending
8892 an invisible PDF.
12587bbb 8893
bad41229
SM
88942011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8897 even in case of error; add debug spec; simplify data flow.
8898 (with-timeout-handler): Remove.
8899
28dbc92f
MA
89002011-10-12 Michael Albinus <michael.albinus@gmx.de>
8901
8902 Fix Bug#6019, Bug#9315.
8903
8904 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8905 complete `buffer-file-name', the local file name part could look
8906 remotely (for example on VMS).
8907
8908 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8909 `tramp-run-real-handler'.
8910 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8911 already quoted by '"'.
8912
8913 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8914 Let `file-name-handler-alist' be nil, the local file name part
8915 could look remotely (for example on VMS).
8916
e1b0b23a
SM
89172011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8920 from here...
8921 (flyspell-post-command-hook): ...to here.
8922
a120bde9
SM
89232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8926 if not needed.
8927 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8928 using completion. Protect against "slow" callers.
8929 Remove the "message hack".
8930
7ce7717b
JL
89312011-10-11 Juri Linkov <juri@jurta.org>
8932
8933 * isearch.el (isearch-lazy-highlight-word): New variable.
8934 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8935 Use it. (Bug#9727)
8936
c02ee9d6
GM
89372011-10-11 Glenn Morris <rgm@gnu.org>
8938
8939 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8940 like f90-previous-statement does.
8941
93e616fd 89422011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8943
1f190e73 8944 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8945 only in interactive use, to avoid error.
8946
af7b6078
SM
89472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * minibuffer.el (completion-file-name-table): Fix last change,
8950 i.e. ignore normal errors but not the other ones.
8951
0563dae9
MR
89522011-10-10 Martin Rudalics <rudalics@gmx.at>
8953
8954 * window.el (special-display-buffer-names)
8955 (special-display-regexps): Remove some remnants of earlier
8956 changes from doc-strings.
366ca7f3
MR
8957 (quit-windows-on): New function.
8958
8959 * vc/vc.el (vc-revert, vc-rollback):
8960 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8961 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8962 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8963
49677495
MR
89642011-10-09 Martin Rudalics <rudalics@gmx.at>
8965
8966 * window.el (frame-auto-hide-function): Add version tag.
8967 (Bug#9699)
8968
56f2d1e1
MA
89692011-10-09 Michael Albinus <michael.albinus@gmx.de>
8970
8971 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8972 condition.
8973
112a6592
LL
89742011-10-09 Leo Liu <sdl.web@gmail.com>
8975
8976 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8977 (Bug#9701)
8978
0812589b
GM
89792011-10-08 Glenn Morris <rgm@gnu.org>
8980
8981 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8982 before the first code statement zero indent. (Bug#9690)
8983
b2b0776e
CY
89842011-10-08 Chong Yidong <cyd@stupidchicken.com>
8985
8986 * simple.el (count-words-region): Always count in the region.
8987 Report the number of lines and characters too.
8988 (count-words): New command, which counts in the buffer if the
8989 region is inactive, as count-words-region used to.
8990 (count-words--message): New function. Handle plurals.
8991 (count-lines-region): Make it an alias for count-words-region.
8992
8993 * bindings.el (esc-map): Replace count-lines-region with
8994 count-words-region.
8995
c557cd6b
MR
89962011-10-08 Martin Rudalics <rudalics@gmx.at>
8997
8998 * window.el (window--delete): Delete dedicated frame
8999 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9000 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9001
61a57ef4 90022011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9003
3a7d293b 9004 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9005
c3833279
CY
90062011-10-07 Chong Yidong <cyd@stupidchicken.com>
9007
9008 * bindings.el ([M-left],[M-right]): Bind to left-word and
9009 right-word respectively.
9010
21ce8245
GM
90112011-10-07 Glenn Morris <rgm@gnu.org>
9012
9013 * cus-start.el (debug-on-quit): Fix custom type.
9014
6d823bb2
LMI
90152011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9016
0181e193
LMI
9017 * subr.el (define-key-after): Clarify that the function is not
9018 useful for non-menu keymaps.
9019
6d823bb2
LMI
9020 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9021
8e3459ce 90222011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9023
21ce8245 9024 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9025 in current minibuffer (Fix bug with recursive minibuffers).
9026
a1c2d21e
CY
90272011-10-06 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * progmodes/gdb-mi.el (gdb): Doc fix.
9030
5a4cf282
MR
90312011-10-05 Martin Rudalics <rudalics@gmx.at>
9032
9033 * window.el (frame-auto-hide-function): New option replacing
9034 frame-auto-delete. Suggested by Stefan Monnier.
9035 (window--delete): Call frame-auto-hide-function instead of
9036 investigating frame-auto-delete.
c96111ea
MR
9037 (window-point-1, set-window-point-1): New functions.
9038 (window-in-direction, record-window-buffer, window-state-get-1)
9039 (display-buffer-record-window): Use window-point-1 instead of
9040 window-point.
9041 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9042
9854542e
SM
90432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9046
8943cfb0
GM
90472011-10-05 Glenn Morris <rgm@gnu.org>
9048
9049 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9050 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9051
647ab967
LL
90522011-10-05 Leo Liu <sdl.web@gmail.com>
9053
9054 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9055 works with buffer object.
9056
3ddfbced
SM
90572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * mpc.el (mpc-tool-bar-map): Add labels.
9060
bdfa5dd2
GM
90612011-10-04 Glenn Morris <rgm@gnu.org>
9062
9063 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9064
0e2070b5
MR
90652011-10-04 Martin Rudalics <rudalics@gmx.at>
9066
9067 * window.el (window--delete): New function.
9068 (frame-auto-delete): Resuscitate option.
9069 (bury-buffer, replace-buffer-in-windows)
9070 (quit-window): Rewrite using window--delete.
9071 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9072 Pass display-buffer-mark-dedicated to window--display-buffer-2
9073 (Bug#9639).
9074
3dc61a09
SM
90752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9076
915a9b64
SM
9077 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9078 returns a list (bug#9554). Add remote file name completion.
9079 * comint.el (comint--table-subvert): Curry and get quote&unquote
9080 functions as arguments.
9081 (comint--complete-file-name-data): Adjust call accordingly.
9082 * pcomplete.el (pcomplete--table-subvert): Remove.
9083 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9084
3dc61a09
SM
9085 * minibuffer.el (completion-table-case-fold): Use currying.
9086 (completion--styles-type, completion--cycling-threshold-type):
9087 New constants.
9088 (completion-styles, completion-category-overrides)
9089 (completion-cycle-threshold): Use them.
9090 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9091 completion-table-case-fold.
9092
8ea0a993
SB
90932011-10-03 Stephen Berman <stephen.berman@gmx.net>
9094
9095 * minibuffer.el (completion-category-overrides): Fix type of styles
9096 and add more user friendly tags (bug#9660).
9097
8c24b7f6
SM
90982011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9101 (mule-input-method-string): New widget.
9102 (default-input-method, language-info-custom-alist): Use it.
9103
428fe61a
SM
91042011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9105
32c1fffd
SM
9106 * pcomplete.el: Require comint.
9107 (pcomplete--common-suffix): Remove.
9108 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9109 (pcomplete--table-subvert): Sync with comint--table-subvert.
9110 (pcomplete--entries): Use comint-completion-file-name-table.
9111 * comint.el (comint-unquote-filename): Simplify.
9112 (comint-completion-file-name-table): New function (bug#9616).
9113 (comint--complete-file-name-data): Use it.
9114
428fe61a
SM
9115 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9116 (pcmpl-gnu-tar-buffer): Remove.
9117 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9118 around. Make sure pcomplete-suffix-list is only changed temporarily.
9119 Don't look inside the tar's file if it's too large.
428fe61a 9120
04c52e2f
CY
91212011-10-01 Chong Yidong <cyd@stupidchicken.com>
9122
ce3cefcc
CY
9123 * cus-edit.el (custom-mode-map):
9124 * epa.el (epa-key-list-mode-map):
9125 * man.el (Man-mode-map):
9126 * startup.el (splash-screen-keymap):
9127 * simple.el (special-mode-map): Use scroll-up-command and
9128 scroll-down-command.
9129
9130 * progmodes/idlw-help.el (idlwave-help-mode-map):
9131 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9132 * net/newst-plainview.el (newsticker-mode-map):
9133 * emulation/ws-mode.el (wordstar-mode-map):
9134 * emulation/vi.el (vi-com-map):
9135 * calc/calc-graph.el (calc-graph-show-dumb):
9136 * term/sun.el (terminal-init-sun):
9137 * term/ns-win.el (global-map):
9138 * progmodes/grep.el (grep-mode-map):
9139 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9140 * mail/rmail.el (rmail-mode-map):
9141 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9142
04c52e2f
CY
9143 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9144 custom-safe-themes as special.
9145
79adf8c8
JD
91462011-10-01 Julien Danjou <julien@danjou.info>
9147
9148 * notifications.el (notifications-notify): Fix docstring.
9149
63bd50d3
PS
91502011-10-01 Per Starbäck <per@starback.se>
9151
9152 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9153
199e4c7e
MR
91542011-09-30 Martin Rudalics <rudalics@gmx.at>
9155
9156 * startup.el (command-line-1): Fix last fix by inserting
9157 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9158 (Bug#9605) and (Bug#9636)
199e4c7e 9159
fe5f08dd
EZ
91602011-09-29 Eli Zaretskii <eliz@gnu.org>
9161
9162 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9163 window is hscrolled, move by logical lines. (Bug#9607)
9164 (line-move-visual): Update the doc string to the above effect.
9165
b5516bbd
MR
91662011-09-29 Martin Rudalics <rudalics@gmx.at>
9167
ccee00c0
MR
9168 * window.el (display-buffer-record-window): When WINDOW is the
9169 selected window use `point' instead of `window-point'. (Bug#9626)
9170
b5516bbd
MR
9171 * startup.el (command-line-1): Use insert-before-markers when
9172 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9173
b5516bbd
MR
9174 * help.el (help-window): Remove variable.
9175
52aa0014
GM
91762011-09-29 Glenn Morris <rgm@gnu.org>
9177
9178 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9179
df9a7357
JB
91802011-09-29 Juanma Barranquero <lekktu@gmail.com>
9181
9182 * descr-text.el (describe-char-categories): Accept category
9183 descriptions more than one line long.
9184
a8406c20
SM
91852011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9186
88d9610c
SM
9187 * simple.el (delete-trailing-whitespace): Fix last change.
9188
a5daf810
SM
9189 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9190 Don't confuse "y => 3" as the beginning of a `y' operation.
9191
a8406c20
SM
9192 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9193 object has more than 4 slots (bug#9613).
9194
a239d4e9
JB
91952011-09-28 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * subr.el (with-output-to-temp-buffer):
9198 * net/quickurl.el (quickurl, quickurl-browse-url):
9199 Fix typos in docstrings.
9200
693fbdb6
EZ
92012011-09-27 Eli Zaretskii <eliz@gnu.org>
9202
9203 * minibuffer.el (completion-styles)
9204 (completion-category-overrides): Cross reference each other in doc
9205 strings.
9206
8b457e28
GM
92072011-09-27 Glenn Morris <rgm@gnu.org>
9208
9209 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9210 to split-string. (Bug#9606)
9211
85a16208
LMI
92122011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9213
9214 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9215 (bug#9615).
9216
502f9ebd
CY
92172011-09-27 Chong Yidong <cyd@stupidchicken.com>
9218
9219 * emacs-lisp/package.el (list-packages): Fix echo area message.
9220
7690bdea
LL
92212011-09-27 Leo Liu <sdl.web@gmail.com>
9222
9223 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9224
e2ee6f30
MA
92252011-09-25 Michael Albinus <michael.albinus@gmx.de>
9226
9227 * net/dbus.el (dbus-unregister-object): Don't release services for
9228 registered signals. (Bug#9581)
9229
f3f98342
TZ
92302011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9231
9232 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9233 function that picks between cfengine 2 and 3 support
9234 automatically. Update docs accordingly.
9235
dd7aa8dd
KH
92362011-09-22 Kenichi Handa <handa@m17n.org>
9237
9238 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9239 ZERO.
9240 (indian-itrans-v5-table-for-tamil): New variable.
9241 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9242
3f2b07f8
KM
92432011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9244
9245 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9246 that's true if the current command involved collapsing of text.
9247 It's reset to false at the beginning of the next command.
9248 (allout-post-command-business): Move the cursor to the beginning
9249 of entry if the cursor is hidden and collapsing activity just
9250 happened.
9251
371d6a61
CY
92522011-09-24 Chong Yidong <cyd@stupidchicken.com>
9253
9254 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9255 tracking (Bug#9541).
9256
2ac2721a
UJ
92572011-09-24 Ulf Jasper <ulf.jasper@web.de>
9258
9259 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9260 (newsticker-show-news): Automatically load html rendering package
9261 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9262 because w3m-fill-column is let-bound" and the error "Symbol's value
9263 as variable is void: w3m-fill-column".
2ac2721a 9264
fac7ae53
MA
92652011-09-24 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9268 Release services only if they are defined. (Bug#9581)
9269
e08b633b
RS
92702011-09-23 Richard Stallman <rms@gnu.org>
9271
e488d29c
RS
9272 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9273 distinguish start of paragraph from start of its text.
9274
19c38752
RS
9275 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9276
e08b633b
RS
9277 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9278 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9279 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9280
0a39f27e
AS
92812011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9282
9283 * international/mule-diag.el (mule-diag): Insert a newline after
9284 each fontset description.
9285
db4e950d
SM
92862011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * simple.el (delete-trailing-whitespace):
9289 Document last change; simplify.
9290
eca3f3ea
PW
92912011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9292
d68e189a
PW
9293 * simple.el (delete-trailing-whitespace): Also delete
9294 extra newlines at the end of the buffer.
9295
eca3f3ea
PW
9296 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9297 (picture-newline): Use forward-line so as to ignore fields.
9298
01c157cc
SM
92992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * subr.el (with-wrapper-hook): Fix edebug spec.
9302
022de23e
LMI
93032011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9304
9305 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9306 (bug#4538).
9307
91683089
MA
93082011-09-23 Michael Albinus <michael.albinus@gmx.de>
9309
eca3f3ea
PW
9310 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9311 Fix nasty bug using wrong cached values.
91683089 9312
5bdd6fa4
AM
93132011-09-23 Alan Mackenzie <acm@muc.de>
9314
9315 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9316
97adfb97
CY
93172011-09-23 Chong Yidong <cyd@stupidchicken.com>
9318
9319 * window.el (pop-to-buffer): Ensure right window is selected if we
9320 chose another frame.
9321
d4ef2b50
EZ
93222011-09-22 Eli Zaretskii <eliz@gnu.org>
9323
9324 * simple.el (what-cursor-position): Use get-char-property-change
9325 and next-single-char-property-change, to be able to show display
9326 properties that come from overlays as well as text properties.
9327
72258fe5
CY
93282011-09-22 Chong Yidong <cyd@stupidchicken.com>
9329
9330 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9331
9332 * cmuscheme.el (run-scheme, switch-to-scheme):
9333 * cus-edit.el (customize-group, custom-buffer-create)
9334 (customize-browse):
9335 * info.el (info):
9336 * shell.el (shell):
9337 * mail/sendmail.el (mail):
9338 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9339
8f098516
RS
93402011-09-22 Richard Stallman <rms@gnu.org>
9341
9342 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9343 move back only to line beg, don't move back over blank lines.
9344
e74f1bb6
MA
93452011-09-22 Michael Albinus <michael.albinus@gmx.de>
9346
9347 * files.el (copy-directory): Set directory attributes only in case
9348 they could be retrieved from the source directory. (Bug#9565)
9349
bfeef8b6
DK
93502011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9351
9352 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9353 (hs-find-block-beginning, hs-hide-level-recursive):
9354 Ignore strings as well as comments. (Bug#9502)
9355
7e423bb8
AS
93562011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9357
9358 * progmodes/sql.el (sql-comint-postgres):
9359 Convert port number to a string. (Bug#9566)
9360
b4d72fcf
MR
93612011-09-22 Martin Rudalics <rudalics@gmx.at>
9362
9363 * window.el (quit-window): Undedicate window when switching to
9364 previous buffer. Reported by Thierry Volpiatto
9365 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9366 (special-display-popup-frame): When popping up a new frame reset
9367 its previous buffers to nil. Simplify code.
b4d72fcf 9368
a7b88dc6
MA
93692011-09-21 Michael Albinus <michael.albinus@gmx.de>
9370
9371 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9372 and process filter, as done also in `shell-command'.
9373
cf4eacfd
MR
93742011-09-21 Martin Rudalics <rudalics@gmx.at>
9375
eca3f3ea 9376 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9377 Call set-window-start with NOFORCE argument t.
9378 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9379 (quit-window): Reword doc-string. Handle new format of
9380 quit-restore parameter. Don't delete window if it has a
9381 previous buffer we can show instead of the present one.
9382 (display-buffer-record-window): Rewrite using a new format for
9383 the quit-restore window parameter
9384 (special-display-popup-frame, display-buffer-same-window)
9385 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9386 (display-buffer-pop-up-window, display-buffer-use-some-window):
9387 Adapt symbol passed to display-buffer-record-window.
9388 * help.el (help-window-setup): Handle new format of quit-restore
9389 parameter.
9390
8d28cb95
SM
93912011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9392
94ab793f
SM
9393 * faces.el (face-list): Fix docstring (bug#9564).
9394
8d28cb95
SM
9395 * window.el (display-buffer--action-function-custom-type):
9396 Don't include internal functions in the Custom interface.
9397
3820edeb
JL
93982011-09-20 Juri Linkov <juri@jurta.org>
9399
9400 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9401 (Info-forward-node, Info-backward-node, Info-next-preorder)
9402 (Info-last-preorder): Use it. (Bug#9528)
9403
5147931d
JL
94042011-09-20 Juri Linkov <juri@jurta.org>
9405
9406 * info.el (Info-last-preorder): Visit last menu item only when
9407 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9408
cf499a1a
JD
94092011-09-20 Julien Danjou <julien@danjou.info>
9410
9411 * password-cache.el (password-cache-remove): Remove entries even if the
9412 value is nil, so that password with a nil value (negative caching) is
9413 possible to invalidate.
9414
f84e2fe2
LM
94152011-09-20 Lawrence Mitchell <wence@gmx.li>
9416
9417 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9418 all whitespace around breakpoint. (Bug#9553)
9419 (f90-find-breakpoint): Only break at whitespace inside a comment.
9420
78054a46
SM
94212011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * minibuffer.el (completion-file-name-table): Keep track of errors.
9424 (completion-table-with-predicate): Handle the case where pred1 is nil.
9425 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9426
345083b2
SM
94272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9428
e24e27be
SM
9429 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9430 (debugger-return-value): Signal an error if the debugging context does
9431 not await any return value.
9432
345083b2
SM
9433 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9434 * image-mode.el (image-toggle-display-text)
9435 (image-toggle-display-image): Stay away from evil `intangible'.
9436
08d355e3
LL
94372011-09-19 Leo Liu <sdl.web@gmail.com>
9438
9439 * replace.el (occur-revert-arguments): Make it permanent-local.
9440 (occur-mode): Don't call font-lock-defontify.
9441
f01da43f
CY
94422011-09-19 Chong Yidong <cyd@stupidchicken.com>
9443
9444 * net/ldap.el (ldap-search-internal): Don't push empty search
9445 result (Bug#9508).
9446
b6072fa6
SM
94472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9450
443d6696
MA
94512011-09-19 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9454 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9455
7cc6e154
JL
94562011-09-18 Juri Linkov <juri@jurta.org>
9457
9458 * buff-menu.el (Buffer-menu-mode-map):
9459 * dired.el (dired-mode-map):
9460 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9461 (lisp-interaction-mode-map):
9462 * emacs-lisp/package.el (package-menu-mode-map):
9463 * epa.el (epa-key-list-mode-map):
9464 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9465 (menu-bar-options-menu):
9466 * outline.el (outline-mode-menu-bar-map):
9467 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9468 * vc/vc-dir.el (vc-dir-menu-map):
9469 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9470 Capitalize non-function content words in menu item strings.
9471
9472 * dired.el (dired-mode-map): Add menu item for
9473 `image-dired-dired-toggle-marked-thumbs'.
9474
80302a81
JL
94752011-09-18 Juri Linkov <juri@jurta.org>
9476
9477 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9478 to `isearch-case-fold-search' and restore its original value
9479 after the `isearch-mode' call.
9480
46c5cf66
JL
94812011-09-18 Juri Linkov <juri@jurta.org>
9482
9483 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9484 because `zgrep' returns 1 for successful matches (bug#9226).
9485
d18b513b
JL
94862011-09-18 Juri Linkov <juri@jurta.org>
9487
9488 * info.el (Info-extract-menu-node-name): Check the second match
9489 for empty string (second test-case of bug#9528).
9490 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9491 intermediate nodes to the history (first test-case of bug#9528).
9492
72753f87
JL
94932011-09-18 Juri Linkov <juri@jurta.org>
9494
9495 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9496 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9497
c9384295
JL
94982011-09-18 Juri Linkov <juri@jurta.org>
9499
1154d12e
JB
9500 * info.el (Info-file-supports-index-cookies):
9501 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9502 outputs one more line for long file names (bug#4142).
c9384295 9503
d473dce8
CY
95042011-09-18 Chong Yidong <cyd@stupidchicken.com>
9505
9506 * newcomment.el (comment-normalize-vars): If prompting for
9507 comment-start, set comment-start-skip too (Bug#8424).
9508
2176854d
JB
95092011-09-18 Johan Bockgård <bojohan@gnu.org>
9510
9511 * icomplete.el: Fix previous fix of Bug#5849.
9512 (icomplete-mode): Don't set completion-show-inline-help.
9513 (icomplete-minibuffer-setup): Set completion-show-inline-help
9514 locally during icompletion.
9515
3aace4e4
CY
95162011-09-18 Chong Yidong <cyd@stupidchicken.com>
9517
c940224f
CY
9518 * woman.el (woman2-process-escapes): Don't delete unrecognized
9519 escapes (Bug#7843).
9520
3aace4e4
CY
9521 * files.el (inhibit-first-line-modes-regexps): Add image files.
9522 (hack-local-variables-prop-line): Return nil for malformed
9523 prop-lines (Bug#9044).
9524
710dec63
MA
95252011-09-18 Michael Albinus <michael.albinus@gmx.de>
9526
9527 * net/tramp.el (top): Don't require 'shell.
9528 (tramp-methods): Fix docstring.
9529 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9530 Return complete remote file name. Handle "smb" case.
9531 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9532 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9533
9534 * net/tramp-compat.el (top): Require 'shell.
9535
9536 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9537 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9538 `tramp-current-host'.
9539 (tramp-get-remote-tmpdir): Remove.
9540
9541 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9542 `tramp-tmpdir' entries.
9543 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9544 (tramp-smb-handle-file-attributes): Ignore errors.
9545 (tramp-smb-wait-for-output): Check also for process end.
9546
5d5ac8ec
LMI
95472011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9548
9549 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9550 when sending QUIT (bug#9312).
9551
8c0f49f0
CY
95522011-09-17 Chong Yidong <cyd@stupidchicken.com>
9553
9554 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9555 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9556 occur-mode-display-occurrence.
9557 (occur-edit-mode): Add usage message.
9558 (occur-cease-edit): New command.
9559 (occur-after-change-function): Use text properties to find the
9560 position of the prefix text.
9561 (occur-engine): Set stickiness of prefix text properties.
9562
8f1383f7
GM
95632011-09-17 Glenn Morris <rgm@gnu.org>
9564
9565 * progmodes/etags.el (complete-tag):
9566 Fix call to completion-in-region. (Bug#9526)
9567
744ba0e3
JL
95682011-09-17 Juri Linkov <juri@jurta.org>
9569
9570 * textmodes/ispell.el (ispell-word): Add to the error message
9571 the word, ispell program name and current dictionary (bug#9121).
9572 (ispell-tex-arg-end): Capitalize "error" in the error message.
9573
d9bbf400
AS
95742011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9575
9576 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9577 check. (Bug#4251)
9578
8da11505
JL
95792011-09-17 Juri Linkov <juri@jurta.org>
9580
9581 * window.el (window-safe-min-height, window-safe-min-width):
9582 Fix typos (followup to bug#9522).
9583
a91adc7e
SJ
95842011-09-17 Sven Joachim <svenjoac@gmx.de>
9585
9586 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9587
064f328a
EZ
95882011-09-16 Eli Zaretskii <eliz@gnu.org>
9589
9590 * simple.el (line-move): If goal-column is set, move by logical
9591 lines, not by display lines. (Bug#971)
9592 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9593 to reflect the above change.
9594
e69df516
SM
95952011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * image.el (imagemagick-register-types): Use regexp-opt.
9598
cbb0f9ab
CY
95992011-09-15 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * window.el (display-buffer-base-action): Rename from
9602 display-buffer-default-action. Make default value empty.
9603 (display-buffer-overriding-action): Convert to defvar.
9604 (display-buffer-fallback-action): New var.
9605
25322144
CY
96062011-09-15 Chong Yidong <cyd@stupidchicken.com>
9607
9608 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9609 declaration.
9610 (package--add-to-archive-contents): If there is a duplicate entry
9611 with an older version, remove it.
9612 (package-menu-mark-delete, package-menu-mark-install)
9613 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9614 (package-menu-mark-obsolete-for-deletion):
9615 Use package-menu-get-status instead of a regexp search.
25322144
CY
9616 (package-menu-get-status): Use tabulated-list-entry.
9617 (package-menu-mark-upgrades): New command.
d770725a 9618 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9619 (package-menu-execute): Do installation before deletion.
9620 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9621 instead of checking major-mode.
9622 (package-menu--find-upgrades): New function.
9623
7520339c
LMI
96242011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9625
9626 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9627 passwords in the log buffer.
65a046c4
LMI
9628 (smtpmail-process-filter): Update the process marker so that the
9629 "broken by peer" status message is inserted in the right place.
7520339c 9630
d3c30954
SM
96312011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9632
3fe48822
SM
9633 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9634 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9635 bibtex-completion-at-point-function.
9636 (bibtex-completion-at-point-function): Use them.
9637
1b8b3954
SM
9638 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9639
d3c30954
SM
9640 * mpc.el (mpc-constraints-tag-lookup): New function.
9641 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9642 also to browser "album|playlist".
9643
72779976
JL
96442011-09-14 Juri Linkov <juri@jurta.org>
9645
9646 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9647 (isearch-edit-string): Use length of `isearch-string' when
9648 `isearch-fail-pos' returns nil.
9649 (isearch-message): Remove duplicate code and call
9650 `isearch-fail-pos' with arg `t'.
9651
a0bf2bcd
CY
96522011-09-14 Chong Yidong <cyd@stupidchicken.com>
9653
17bb0a2d
CY
9654 * replace.el (occur-mode-goto-occurrence): Don't force using other
9655 window (Bug#9499).
9656
a0bf2bcd
CY
9657 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9658
f678e0b6
MR
96592011-09-14 Martin Rudalics <rudalics@gmx.at>
9660
9661 * window.el (display-buffer-window): Remove.
9662 (display-buffer-record-window): Use help-setup window parameter
9663 instead of variable display-buffer-window.
9664 (display-buffer-function, special-display-buffer-names)
9665 (special-display-function): Mention help-setup parameter instead
9666 of display-buffer-window in doc-string.
d3c30954
SM
9667 * help.el (help-window-setup): New argument help-window.
9668 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9669 Reword some messages.
9670 (with-help-window): Pass window used for displaying the buffer
9671 to help-window-setup. Don't set display-buffer-window.
9672
8e39b2e8
GM
96732011-09-13 Glenn Morris <rgm@gnu.org>
9674
9675 * emacs-lisp/debug.el (debugger-make-xrefs):
9676 Preserve point. (Bug#9462)
9677
85e9c04b
CY
96782011-09-13 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * window.el (window-deletable-p): Use next-frame.
9681
1b36ed6a
MR
96822011-09-13 Martin Rudalics <rudalics@gmx.at>
9683
9684 * window.el (window-auto-delete): Remove.
9685 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9686 dedication and previous buffers.
1b36ed6a
MR
9687 (switch-to-prev-buffer): Don't delete window.
9688 (delete-windows-on): Delete a window's frame if and only if the
9689 window is dedicated.
9690 (replace-buffer-in-windows): Delete buffer's window or frame if
9691 and only if window is dedicated.
9692 (quit-window): Handle quit-restore as before last change.
4d61f28d 9693 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9694
ef8ef9fb
CY
96952011-09-13 Chong Yidong <cyd@stupidchicken.com>
9696
9697 * window.el (window-deletable-p): Never delete the last frame on a
9698 given terminal.
9699
b2cba41e
GM
97002011-09-13 Glenn Morris <rgm@gnu.org>
9701
9702 * help.el (describe-key-briefly): Copy previous standard-output change.
9703
51553db6 97042011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9705
9706 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9707
b7556719
GM
97082011-09-13 Glenn Morris <rgm@gnu.org>
9709
9710 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9711 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9712
64b51947
CY
97132011-09-12 Chong Yidong <cyd@stupidchicken.com>
9714
9715 * dired-aux.el (dired-mark-read-string): Don't return default
9716 value on empty input (Bug#9361).
9717 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9718 Omit initial minibuffer contents.
9719 (dired-do-chmod): Signal an error on empty input.
9720 (dired-mark-read-string): Don't return default on empty input.
9721
9722 * files.el (file-modes-symbolic-to-number): Doc fix.
9723
393a301e
SM
97242011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * international/mule-cmds.el (ucs-completions): Remove.
9727 (read-char-by-name): Use complete-with-action instead; add metadata.
9728
fa5660f9
CY
97292011-09-11 Chong Yidong <cyd@stupidchicken.com>
9730
9731 * window.el (display-buffer--action-function-custom-type)
9732 (display-buffer--action-custom-type): New vars.
9733 (display-buffer-alist, display-buffer-default-action)
9734 (display-buffer-overriding-action): Add defcustom types.
9735
4a592f66
CY
9736 * frame.el (delete-other-frames): Doc fix (Bug#276).
9737
73d56dbd
LMI
97382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9739
9740 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9741
37ac18a3
CY
97422011-09-11 Chong Yidong <cyd@stupidchicken.com>
9743
9744 Change modes that used same-window-* vars to use switch-to-buffer.
9745
9746 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9747 Use switch-to-buffer.
9748
9749 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9750 (customize-browse, custom-buffer-create-other-window):
9751 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9752
9753 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9754 (Info-prev, Info-up, Info-speedbar-goto-node)
9755 (info-display-manual): Use switch-to-buffer.
9756 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9757
9758 * mail/sendmail.el (mail): Use switch-to-buffer.
9759 (mail-recover): Use switch-to-buffer-other-window.
9760
9761 * cmuscheme.el (run-scheme, switch-to-scheme):
9762 * ielm.el (ielm):
9763 * shell.el (shell):
9764 * net/rlogin.el (rlogin):
9765 * net/telnet.el (telnet, rsh):
9766 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9767
10195bd6
AS
97682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9769
9770 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9771
b322f63a
LMI
97722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773
39d7fed6
LMI
9774 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9775 so don't mention it (bug#9301).
ba5a81f1 9776 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9777
ee0e9f11
LMI
9778 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9779 match `x', `w32' and `ns', like the manual says (bug#9029).
9780
0b1c89c1 9781 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9782 (process-kill-buffer-query-function): Mention the buffer name in
9783 the query.
0b1c89c1 9784
77549ea8
LMI
9785 * image-mode.el (image-next-line): The line parameter is mandatory
9786 (bug#9258).
9787
803ef892
LMI
9788 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9789 which can be useful (bug#9301).
9790
12980837
LMI
9791 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9792
91054f8f
LMI
9793 * subr.el (match-string): Mention that the current buffer should
9794 be the same as the search was done in (bug#9282).
9795
b322f63a
LMI
9796 * facemenu.el: Disable the remove-* commands if the mark isn't
9797 active (bug#9162).
9798
3199b96f
CY
97992011-09-10 Chong Yidong <cyd@stupidchicken.com>
9800
9801 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9802 of display-buffer.
9803 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9804
9805 * replace.el (occur-mode-goto-occurrence)
9806 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9807 and display-buffer.
9808
9809 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9810 display-buffer.
9811
9812 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9813 special-display and same-window variables.
9814 (mail-other-window): Use switch-to-buffer-other-window.
9815 (mail-other-frame): USe switch-to-buffer-other-frame.
9816
393a301e
SM
9817 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9818 Use display-buffer-other-frame.
3199b96f
CY
9819 (gdb-display-gdb-buffer): Use pop-to-buffer.
9820
9821 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9822
9823 * progmodes/python.el: Don't set same-window-buffer-names.
9824
9825 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9826
9827 * window.el (display-buffer-alist): Add *Python*.
9828
8319e0bf
CY
98292011-09-10 Chong Yidong <cyd@stupidchicken.com>
9830
9831 * window.el (display-buffer-alist): Add entry for buffers
9832 previously handled same-window-*.
9833 (display-buffer-alist, display-buffer-default-action)
9834 (display-buffer-overriding-action): Mark as risky.
9835 (display-buffer-alist): Document action function changes.
9836 (display-buffer--same-window-action)
9837 (display-buffer--other-frame-action): New variables.
9838 (switch-to-buffer, display-buffer-other-frame): Use them.
9839 (display-buffer): Rename reuse-frame entry to reusable-frames.
9840 (display-buffer-reuse-selected-window): Function deleted.
9841 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9842 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9843 (display-buffer-special): New function.
9844 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9845 display-buffer-reuse-or-pop-window. Split off special-display
9846 part into display-buffer-special.
9847 (display-buffer-use-some-window): Don't perform any special
9848 pop-up-frames handling.
9849 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9850 (display-buffer--maybe-same-window): Rename from
0d3ff375 9851 display-buffer-maybe-same-window.
8319e0bf 9852
919a69aa
CY
9853 * info.el: Don't set same-window-regexps.
9854 (info-setup): New function.
9855 (info-other-window, info): Call it.
9856
9857 * cus-edit.el: Don't set same-window-regexps.
9858 (customize-group): New argument.
9859 (customize-group-other-window): Use it.
9860 (customize-face, customize-face-other-window): Likewise.
9861 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9862
8319e0bf
CY
9863 * net/rlogin.el:
9864 * net/telnet.el:
9865 * progmodes/gud.el: Don't set same-window-regexps.
9866
9867 * cmuscheme.el:
9868 * ielm.el:
9869 * shell.el:
9870 * mail/sendmail.el:
9871 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9872
25173000
JL
98732011-09-10 Juri Linkov <juri@jurta.org>
9874
9875 * isearch.el (isearch-edit-string): Remove obsolete mention of
9876 `C-w' (`isearch-yank-word-or-char') from docstring.
9877 (isearch-query-replace): Fix typo in docstring (bug#9466).
9878
056e44ef
JL
98792011-09-10 Juri Linkov <juri@jurta.org>
9880
9881 * paren.el (show-paren-function): Don't show escaped parens.
9882 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9883
c3760c17
EZ
98842011-09-10 Eli Zaretskii <eliz@gnu.org>
9885
9886 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9887 (mm-default-file-encoding): Remove autoload forms, they are
9888 replaced with autoload cookies in mml.el and mm-encode.el.
9889 (mail-add-attachment): New command.
9890 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9891 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9892 the doc string.
9893 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9894
fece895e
RT
98952011-09-10 Reuben Thomas <rrt@sc3d.org>
9896
e69df516
SM
9897 * simple.el (count-words-region): Use buffer if there's no region
9898 (bug#9429).
fece895e 9899
5e68ce4a
JL
99002011-09-09 Juri Linkov <juri@jurta.org>
9901
9902 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9903 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9904 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9905
0a6b9622
AM
99062011-09-09 Alan Mackenzie <acm@muc.de>
9907
9908 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9909 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9910
14a29deb
EZ
99112011-09-09 Eli Zaretskii <eliz@gnu.org>
9912
9913 Fix for Savannah bug#9392.
9914 * simple.el (mail-encode-mml): New defvar.
9915
9916 * mail/rmail.el (mail-encode-mml): Add a defvar.
9917 (rmail-enable-mime-composing): Default to t.
9918 (rmail-forward): Use MIME method of forwarding only if both
9919 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9920 Set mail-encode-mml non-nil if the MIME method was used.
9921
9922 * mail/sendmail.el (mml-to-mime): Add autoload form.
9923 (mail-encode-mml): Add a defvar.
9924 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9925 to nil.
9926 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9927 message through mml-to-mime, and reset mail-encode-mml to nil.
9928
28c45130
GM
99292011-09-09 Glenn Morris <rgm@gnu.org>
9930
9931 * woman.el (woman-if-body): When processing an .el block,
9932 do not delete the next .el block as well. (Bug#9447)
69f4b618 9933 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9934
9b1c252e
MR
99352011-09-08 Martin Rudalics <rudalics@gmx.at>
9936
9937 * window.el (window-deletable-p): Make sure window is live before
9938 invoking window-prev-buffers.
9939
567457e3
LL
99402011-09-08 Leo Liu <sdl.web@gmail.com>
9941
9942 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9943
97f05794
JL
99442011-09-08 Juri Linkov <juri@jurta.org>
9945
9946 * progmodes/compile.el (compilation-environment): Make it
9947 a defcustom (bug#8340).
9948
8b0874b5
MR
99492011-09-08 Martin Rudalics <rudalics@gmx.at>
9950
9951 * window.el (frame-auto-delete): Rename to window-auto-delete.
9952 Make it control auto-deletion of windows and/or frames.
9953 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9954 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9955 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9956 Rewrite handling of case when window/frame can be deleted.
9957 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9958 argument t. (Bug#9456)
8b0874b5 9959
4feb6e73
CY
99602011-09-07 Chong Yidong <cyd@stupidchicken.com>
9961
9962 * help-mode.el (help-mode): Restore autoload.
9963
91ab9c13
JL
99642011-09-07 Juri Linkov <juri@jurta.org>
9965
9966 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9967 `compilation-environment'. Set buffer-local
9968 `compilation-environment' to `thisenv' later after (funcall mode).
9969 (Bug#8340)
9970
9971 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9972 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9973 instead of replacing its value. (Bug#8340)
9974
0527e251
JL
99752011-09-07 Juri Linkov <juri@jurta.org>
9976
9977 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9978 based on text properties put by `grep-filter' instead of matching
9979 escape sequences.
9980 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9981 to the value of `grep-error-screen-columns' (bug#9438).
9982
249f792c
JL
99832011-09-07 Juri Linkov <juri@jurta.org>
9984
9985 * simple.el (next-error-highlight, next-error-highlight-no-select):
9986 Doc fix (bug#9432).
9987
ff7271b9
OT
99882011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9989
9990 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9991 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9992
183fc730
LL
99932011-09-07 Leo Liu <sdl.web@gmail.com>
9994
9995 * net/rcirc.el (rcirc-mode): Conditionally initialize
9996 rcirc-input-ring.
9997
77694924
SM
99982011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * emacs-lisp/find-func.el (find-function-C-source): Only set
10001 find-function-C-source-directory after checking that we found a source
10002 file there (bug#9440).
10003
d809b8eb
AM
100042011-09-06 Alan Mackenzie <acm@muc.de>
10005
10006 * isearch.el (isearch-other-meta-char): Wherever a key list is
10007 unread, "unread" the prefix arg, too. This fixes bug #8901.
10008
453de99f
OG
100092011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10010
10011 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10012
90439906
JL
100132011-09-05 Juri Linkov <juri@jurta.org>
10014
10015 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10016
f62bd846
JL
100172011-09-05 Juri Linkov <juri@jurta.org>
10018
10019 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10020 keeping point where processing of grep matches begins, and
10021 continue to delete remaining escape sequences from the same point.
10022 (grep-filter): Make leading zero optional in "0?1;31m" because
10023 git-grep emits "\033[1;31m" escape sequences unlike expected
10024 "\033[01;31m" as GNU Grep does (bug#9408).
10025 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10026
045820ec
JL
100272011-09-05 Juri Linkov <juri@jurta.org>
10028
10029 * subr.el (y-or-n-p): Capitalize "yes".
10030
f5e29b9b
MA
100312011-09-04 Michael Albinus <michael.albinus@gmx.de>
10032
10033 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10034 `tramp-cache-unload-hook' where appropriate.
10035 (tramp-methods): Rename `tramp-remote-sh' to
10036 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10037 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10038
10039 * net/tramp-sh.el (top): Don't require 'shell.
10040 (tramp-methods): Add `tramp-remote-shell' and
10041 `tramp-remote-shell-args' entries.
10042 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10043 (tramp-sh-handle-shell-command): Remove.
10044 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10045 Use `tramp-remote-shell'.
10046
2784c434
CY
100472011-09-03 Chong Yidong <cyd@stupidchicken.com>
10048
393a301e 10049 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10050 (sendmail-query-once): Save directly to send-mail-function.
10051 Update message-send-mail-function too.
10052
10053 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10054
464cdf56
CS
100552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10056
10057 * progmodes/python.el (python-mode-map): Use correct function to
10058 start python interpreter from menu-bar (as reported by Geert
10059 Kloosterman).
10060 (inferior-python-mode-map): Fix typo.
393a301e 10061 (python-shell-map): Remove.
464cdf56 10062
d37e5c87
DD
100632011-09-03 Deniz Dogan <deniz@dogan.se>
10064
10065 * net/rcirc.el (rcirc-print): Simplify code for
10066 rcirc-scroll-show-maximum-output. There is no need to walk
10067 through all windows to find the right one.
10068
f3ada0ee
CS
100692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10070
10071 * help.el (help-return-method): Doc fix.
10072
1f3c99ca
MR
100732011-09-03 Martin Rudalics <rudalics@gmx.at>
10074
10075 * window.el (window-deletable-p): Don't return a non-nil value
10076 when there's a buffer that was shown in the window before.
10077 (Bug#9419)
393a301e
SM
10078 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10079 Set window's previous buffers to nil.
1f3c99ca 10080
a3cf097f
EZ
100812011-09-03 Eli Zaretskii <eliz@gnu.org>
10082
10083 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10084 newline before and after the tag line, so it doesn't interfere
10085 with determining the paragraph direction of bidirectional text.
10086
3d03de90
LL
100872011-09-03 Leo Liu <sdl.web@gmail.com>
10088
10089 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10090
c3313451
CY
100912011-09-02 Chong Yidong <cyd@stupidchicken.com>
10092
393a301e 10093 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10094 (pop-to-buffer): Change interactive spec. Pass second argument
10095 directly to display-buffer.
10096 (display-buffer): Fix interactive spec. Use functionp to
10097 distinguish between a function and a list of functions.
10098
10099 * abbrev.el (edit-abbrevs):
10100 * arc-mode.el (archive-extract):
10101 * autoinsert.el (auto-insert):
10102 * bookmark.el (bookmark-bmenu-list):
10103 * files.el (find-file):
10104 * view.el (view-buffer):
10105 * progmodes/compile.el (compilation-goto-locus):
10106 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10107
89894cd8
CY
101082011-09-02 Chong Yidong <cyd@stupidchicken.com>
10109
10110 * window.el (display-buffer-alist): Doc fix.
10111 (display-buffer): Add docstring. Don't treat
10112 display-buffer-default specially.
10113 (display-buffer-reuse-selected-window)
10114 (display-buffer-same-window, display-buffer-maybe-same-window)
10115 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10116 (display-buffer-pop-up-window)
10117 (display-buffer-reuse-or-pop-window)
10118 (display-buffer-use-some-window): New functions.
10119 (display-buffer-default-action): Use them.
393a301e 10120 (display-buffer-default): Delete.
89894cd8
CY
10121 (pop-to-buffer-1): Fix choice of actions.
10122
ae0bc9fb
SM
101232011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * minibuffer.el (completion--insert-strings): Don't get confused by
10126 completion entries that end with an LF char.
10127
e9d90883
EZ
101282011-09-01 Eli Zaretskii <eliz@gnu.org>
10129
10130 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10131
437014c8
CY
101322011-09-01 Chong Yidong <cyd@stupidchicken.com>
10133
10134 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10135 (display-buffer-same-window, display-buffer-other-window):
10136 New functions.
437014c8
CY
10137 (pop-to-buffer-1): New function. Use the above.
10138 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10139 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10140
10141 * view.el (view-buffer-other-window, view-buffer-other-frame):
10142 Just use pop-to-buffer.
10143
a5e063d5
TV
101442011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10145
10146 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10147
793d32bb
WH
101482011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10149
10150 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10151
d65e4c15
RS
101522011-08-31 Richard Stallman <rms@gnu.org>
10153
10154 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10155 of the separation of rmail-view-buffer from rmail-buffer.
10156 If you say no to "replace original", the decrypt is in the
10157 view buffer. If you say yes, the decrypt goes into the
10158 rmail buffer also.
10159
f818cd2a
MR
101602011-08-31 Martin Rudalics <rudalics@gmx.at>
10161
10162 * window.el (display-buffer-window): Rewrite doc-string.
10163 (display-buffer-record-window): New function.
10164 (display-buffer-macro-specifiers)
10165 (display-buffer-even-window-sizes, display-buffer-set-height)
10166 (display-buffer-set-width, display-buffer-in-window)
10167 (display-buffer-reuse-window, display-buffer-split-specifiers)
10168 (display-buffer-side-specifiers, display-buffer-split-window-1)
10169 (display-buffer-split-window, display-buffer-split-atom-window)
10170 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10171 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10172 (display-buffer-other-window-means-other-frame)
10173 (display-buffer-normalize-special)
10174 (display-buffer-normalize-default)
10175 (display-buffer-normalize-argument)
10176 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10177 (display-buffer-normalize-specifiers, display-buffer-frame)
10178 (display-buffer-same-window, display-buffer-same-frame)
10179 (display-buffer-other-window)
10180 (display-buffer-same-frame-other-window)
10181 (display-buffer-other-frame, pop-to-buffer-same-window)
10182 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10183 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10184 (switch-to-buffer-same-frame)
10185 (switch-to-buffer-other-window-same-frame)
10186 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10187 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10188 (display-buffer-alist-set): Remove.
10189 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10190 (special-display-regexps, special-display-function):
10191 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10192 parameter.
10193 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10194 (special-display-frame-alist, special-display-popup-frame)
10195 (same-window-buffer-names, same-window-regexps, same-window-p)
10196 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10197 (split-window-preferred-function, split-height-threshold)
10198 (split-width-threshold, window-splittable-p)
10199 (split-window-sensibly, window--try-to-split-window)
10200 (window--frame-usable-p, even-window-heights)
10201 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10202 (window--display-buffer-2, display-buffer-other-frame):
10203 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10204 (display-buffer-default, display-buffer-assq-regexp): New functions.
10205 (display-buffer-alist): Rewrite doc-string.
10206 (display-buffer-default-action)
10207 (display-buffer-overriding-action): New variables.
10208 (display-buffer, switch-to-buffer): Rewrite.
10209 (pop-to-buffer): Restore Emacs 23 behavior but use
10210 window-normalize-buffer-to-display.
10211 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10212 Restore Emacs 23 behavior but use
10213 window-normalize-buffer-to-switch-to.
10214 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10215 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10216 Rewrite using Emacs 23 options.
f818cd2a 10217
5bc3b51d
MA
102182011-08-31 Michael Albinus <michael.albinus@gmx.de>
10219
10220 * net/tramp.el (tramp-root-regexp): Remove.
10221 (tramp-completion-file-name-regexp-unified)
10222 (tramp-completion-file-name-regexp-separate)
10223 (tramp-completion-file-name-regexp-url): Don't use leading volume
10224 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10225 (tramp-drop-volume-letter): Simplify definition.
10226 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10227
b1a4f8e1
SM
102282011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10231 (bug#9356).
10232
5664fa7b
RT
102332011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10234
b1a4f8e1 10235 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10236
9a45d6c3
JL
102372011-08-29 Juri Linkov <juri@jurta.org>
10238
10239 * isearch.el (isearch-done): Don't display message "Mark saved"
10240 when arg `edit' is non-nil to prevent its flicker in the echo area.
10241
fb87e0fb
CY
102422011-08-28 Chong Yidong <cyd@stupidchicken.com>
10243
10244 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10245 obsolete packages for deletion.
10246
09ac1c2a
CS
102472011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10248
10249 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10250 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10251 view-mode from help-mode.
10252 (help-xref-override-view-map): Remove.
10253 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10254 view-mode is not used anymore.
10255
7a1ff57f
CY
102562011-08-28 Chong Yidong <cyd@stupidchicken.com>
10257
10258 * server.el (server-port): Doc fix.
10259
b9696605
CY
10260 * cus-theme.el (custom-theme-choose-mode): Inherit from
10261 special-mode (Bug#9124).
10262 (custom-theme-choose-mode-map): Add special-mode to parent.
10263
ef8cdf8c
AM
102642011-08-28 Alan Mackenzie <acm@muc.de>
10265
10266 * progmodes/cc-fonts.el
10267 (c-make-font-lock-BO-decl-search-function): New function.
10268 (c-basic-matchers-after - "Fontify the clauses after various
10269 keywords"): Extract the three keyword lists for the 3 erroneous
10270 constructs from the list of four, and use the new function above
10271 in place of an old one.
10272
27de4e20
DD
102732011-08-28 Deniz Dogan <deniz@dogan.se>
10274
10275 * net/rcirc.el (rcirc-insert-prev-input)
10276 (rcirc-insert-next-input): Remove unused argument.
10277
356a3681
SM
102782011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10281
3fc9b218
AM
102822011-08-27 Alan Mackenzie <acm@muc.de>
10283
10284 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10285 handle function pointer parameters properly.
10286
538a061c
MR
102872011-08-27 Martin Rudalics <rudalics@gmx.at>
10288
10289 * window.el (display-buffer-reuse-window): Fix case where
10290 selected window was reused with non-nil OTHER-WINDOW argument.
10291 (Bug#9381)
10292
35b1c40c
DD
102932011-08-27 Deniz Dogan <deniz@dogan.se>
10294
10295 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10296 oftc's NickServ messages.
10297
2f6a3e79
GM
102982011-08-27 Glenn Morris <rgm@gnu.org>
10299
10300 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10301
7254299e
CY
103022011-08-26 Chong Yidong <cyd@stupidchicken.com>
10303
10304 * emacs-lisp/package.el (package-install): Call package-initialize
10305 if called interactively.
10306
f8ccf167
LL
103072011-08-26 Leo Liu <sdl.web@gmail.com>
10308
10309 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10310
3e8cd5ce
JL
103112011-08-25 Juri Linkov <juri@jurta.org>
10312
10313 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10314 `search-whitespace-regexp' (bug#9364).
10315
93eb7113
JL
103162011-08-25 Juri Linkov <juri@jurta.org>
10317
10318 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10319 `regexp-search-ring' to their global values to protect from
10320 updating by `read-from-minibuffer' (bug#9185).
10321
f65d1611
JL
103222011-08-25 Juri Linkov <juri@jurta.org>
10323
10324 * textmodes/ispell.el (ispell-command-loop): Add newline
10325 at the end of the "Use option `i'..." line.
10326
f1cf7a31
JL
103272011-08-25 Juri Linkov <juri@jurta.org>
10328
10329 * battery.el (display-battery-mode): If `battery-status-function'
10330 or `battery-mode-line-format' is nil, display the message and set
10331 `display-battery-mode' to nil (bug#9363).
10332
0c95fcf7
EZ
103332011-08-25 Eli Zaretskii <eliz@gnu.org>
10334
10335 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10336 bidi-string-mark-left-to-right; they are unnecessary now.
10337
a2ebe600
DD
103382011-08-25 Deniz Dogan <deniz@dogan.se>
10339
10340 * net/quickurl.el: Documentation typo fixes.
10341
e4ed06f1
CY
103422011-08-25 Chong Yidong <cyd@stupidchicken.com>
10343
10344 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10345
e5f1c99e
GM
103462011-08-25 Glenn Morris <rgm@gnu.org>
10347
b2948976
GM
10348 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10349
e5f1c99e
GM
10350 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10351 (smtpmail-via-smtp): Handle nil response from smtp.
10352
f22f4808
JL
103532011-08-24 Juri Linkov <juri@jurta.org>
10354
10355 * proced.el (proced-marked): Inherit from `error' instead of
10356 `font-lock-warning-face'.
10357
10358 * ibuffer.el (ibuffer-marked-face): Change default face from
10359 `font-lock-warning-face' to `warning'.
10360 (ibuffer-deletion-face): Change default face from
10361 `font-lock-type-face' to `error'.
10362
10363 * battery.el (battery-update): Use the face `error' instead of
10364 `font-lock-warning-face' (bug#6117).
10365
6a93965e
JL
103662011-08-24 Juri Linkov <juri@jurta.org>
10367
10368 * faces.el (success): Change face color from "Green3" to
10369 "ForestGreen" on light background (bug#9353).
10370
1ed43b09
CY
103712011-08-24 Chong Yidong <cyd@stupidchicken.com>
10372
5664fa7b
RT
10373 * window.el (quit-window): Rename from quit-restore-window.
10374 Use same arglist as old quit-window.
1ed43b09
CY
10375 (frame-auto-delete): Doc fix.
10376
10377 * view.el (view-mode-exit): Use quit-window.
10378
11dcdbb2
JL
103792011-08-24 Juri Linkov <juri@jurta.org>
10380
10381 * isearch.el (isearch-ring-adjust1): Start visiting previous
10382 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10383 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10384 for empty search string (when the last search string is reused
10385 automatically) to adjust the isearch ring to the last element and
10386 prepare the correct index for further M-p commands (bug#9185).
10387
de62b4df
KH
103882011-08-24 Kenichi Handa <handa@m17n.org>
10389
10390 * international/ucs-normalize.el: If decomposition property of
10391 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10392 nil.
10393 (nfd, nfkd): Likewise.
10394
963b492b
SM
103952011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10398 from process filters aren't reliably transmitted to the surrounding
10399 accept-process-output.
10400 (mpc-proc-check): New function.
10401 (mpc-proc-sync): Use it (bug#8293)
10402
93b6b5e1
SM
104032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10406 Add compatibility functions (bug#9313).
10407
bca633fb
EZ
104082011-08-23 Eli Zaretskii <eliz@gnu.org>
10409
b177498a
EZ
10410 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10411
6df6ae42 10412 * international/uni-bidi.el: Regenerate.
bca633fb 10413
0902a04e
KH
104142011-08-23 Kenichi Handa <handa@m17n.org>
10415
10416 * international/charprop.el:
10417 * international/uni-bidi.el:
10418 * international/uni-category.el:
10419 * international/uni-combining.el:
10420 * international/uni-comment.el:
10421 * international/uni-decimal.el:
10422 * international/uni-decomposition.el:
10423 * international/uni-digit.el:
10424 * international/uni-lowercase.el:
10425 * international/uni-mirrored.el:
10426 * international/uni-name.el:
10427 * international/uni-numeric.el:
10428 * international/uni-old-name.el:
10429 * international/uni-titlecase.el:
10430 * international/uni-uppercase.el: Regenerate.
10431
3bbf23bc
MR
104322011-08-23 Martin Rudalics <rudalics@gmx.at>
10433
10434 * help.el (help-window-setup): Fix message displayed when other
10435 window is reused. (Bug#9341)
10436
b3fd59bd
SM
104372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10438
1802e444
SM
10439 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10440 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10441
b3fd59bd
SM
10442 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10443 Mark obsolete.
10444 * shell.el (shell-parse-pcomplete-arguments): New function.
10445 (shell-completion-vars): Use it instead (bug#9160).
10446
4eb61348
SM
104472011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10448
867cab74
SM
10449 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10450 strings and comments (bug#9333).
10451
4eb61348
SM
10452 * emacs-lisp/debug.el (debug-arglist): New function.
10453 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10454 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10455
262a1439
JL
104562011-08-22 Juri Linkov <juri@jurta.org>
10457
56ee679c
JL
10458 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10459 Revert regexp that highlights output switches to its old
10460 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10461
262a1439
JL
10462 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10463 to check for empty output (bug#9226).
10464
f13f86fb
CY
104652011-08-22 Chong Yidong <cyd@stupidchicken.com>
10466
10467 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10468 symbol-constituent as the default, as that stops font-lock from
10469 working properly (Bug#8843).
10470
c65c9622
LMI
104712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10474 `coding-system-for-*' around the process open call to avoid
10475 auth-source side effects.
e7f2c178 10476 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10477 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10478 probe hangs.
c65c9622 10479
23a8a5ab
CY
104802011-08-21 Chong Yidong <cyd@stupidchicken.com>
10481
ff98b2dd
CY
10482 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10483
23a8a5ab
CY
10484 * emacs-lisp/find-func.el (find-function-noselect): New arg
10485 lisp-only.
10486
10487 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10488 signal an error for built-in functions (Bug#6664).
10489
f5e3c598
LMI
104902011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491
10492 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10493 (smtpmail-try-auth-methods): Use it.
10494
a3f2468a
CY
104952011-08-21 Chong Yidong <cyd@stupidchicken.com>
10496
2c34e8da
CY
10497 * font-lock.el (font-lock-fontify-region)
10498 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10499 (font-lock-default-unfontify-buffer)
10500 (font-lock-default-fontify-region)
10501 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10502
b3fd59bd
SM
10503 * progmodes/compile.el (compilation-error-properties):
10504 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10505 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10506 `ant' regexp.
ee31aabc 10507
a3f2468a
CY
10508 * net/browse-url.el (browse-url-firefox): Don't call
10509 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10510
8e999f70
GM
105112011-08-20 Glenn Morris <rgm@gnu.org>
10512
c21a496a
GM
10513 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10514
59ee0542
GM
10515 * tutorial.el (tutorial--default-keys): Update some default bindings.
10516
8e999f70
GM
10517 * files.el (hack-local-variables): Fully ignore case for "mode:".
10518
e3715033
AM
105192011-08-20 Alan Mackenzie <acm@muc.de>
10520
10521 Resolve invalid use of a regexp in regexp-opt.
10522
4d61f28d
JB
10523 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10524 detection for a java annotation.
e3715033 10525
4d61f28d 10526 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10527 detection for a java annotation.
10528
4d61f28d
JB
10529 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10530 handling for java.
e3715033
AM
10531 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10532
04ed2e9c
CY
105332011-08-20 Chong Yidong <cyd@stupidchicken.com>
10534
10535 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10536 (Bug#9274).
10537
826cee64
AM
105382011-08-20 Alan Mackenzie <acm@muc.de>
10539
58179cce 10540 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10541 such a construct. Mainly for when jit-lock etc. starts a chunk
10542 here.
10543
58179cce 10544 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10545 variable.
58179cce 10546 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10547 c-make-font-lock-search-function.
10548 (c-make-font-lock-search-function): Use the above function.
10549 (c-make-font-lock-context-search-function): New function.
10550 (c-cpp-matchers): Enhance the preprocessor expression case with
10551 the above function
10552 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10553 which takes an expression.
10554
10555 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10556
13009bd8
MR
105572011-08-20 Martin Rudalics <rudalics@gmx.at>
10558
10559 * window.el (display-buffer-reuse-window)
10560 (display-buffer-pop-up-window): Don't reuse or split a side
10561 window.
10562
9234ff7f
GM
105632011-08-19 Glenn Morris <rgm@gnu.org>
10564
10565 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10566 Downcase "Mode:". (Bug#9331)
9234ff7f 10567
f635daa1
CY
105682011-08-18 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * international/characters.el: Add L and R categories.
10571
10572 * subr.el (bidi-string-mark-left-to-right): Rename from
10573 string-mark-left-to-right. Use category search.
10574
10575 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10576
bc987f8b
JL
105772011-08-18 Juri Linkov <juri@jurta.org>
10578
10579 * faces.el (error, warning, success): New faces with definitions
10580 copied from old default values of `font-lock-warning-face',
10581 `compilation-warning', `compilation-info' (bug#6117).
10582
10583 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10584
10585 * progmodes/compile.el (compilation-error): Inherit from `error'.
10586 (compilation-warning): Inherit from `warning'.
10587 (compilation-info): Inherit from `success'.
10588
10589 * dired.el (dired-marked): Inherit from `warning'.
10590 (dired-flagged): Inherit from `error'.
10591
57173b96
LMI
105922011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10593
3e79eb87
LMI
10594 * mail/smtpmail.el (auth-source): Require to avoid problems with
10595 binding variables (bug#9298). Also clean up some unused
10596 autoloads.
10597
b3fd59bd
SM
10598 * net/network-stream.el (network-stream-open-starttls):
10599 Support using starttls.el without using gnutls-cli.
57173b96 10600
02b404de
JL
106012011-08-17 Juri Linkov <juri@jurta.org>
10602
10603 * progmodes/grep.el (rgrep): Handle the case when
10604 `grep-find-command' is a cons cell (bug#9278).
10605
8c9177f2
MR
106062011-08-17 Martin Rudalics <rudalics@gmx.at>
10607
10608 * window.el (display-buffer-pop-up-frame): Run frame creation
10609 function with BUFFER current (as special-display-popup-frame
10610 does). Reported by Drew Adams.
10611
3644a0ab
DU
106122011-08-17 Daiki Ueno <ueno@unixuser.org>
10613
10614 * epa-mail.el: Simplify GnuPG group expansion using
10615 epg-expand-group.
10616 (epa-mail-group-alist, epa-mail-group-modtime)
10617 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10618 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10619 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10620 Remove.
10621
5e617bc2 106222011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10623
10624 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10625
9c4aeabf
AM
106262011-08-16 Alan Mackenzie <acm@muc.de>
10627
10628 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10629 Correct, to avoid the inside of macros.
10630
3a99bf64
RS
106312011-08-16 Richard Stallman <rms@gnu.org>
10632
04963aa8
RS
10633 * epa-mail.el: Handle GnuPG group definitions.
10634 (epa-mail-group-alist, epa-mail-group-modtime)
10635 (epa-mail-gnupg-conf-file): New variables.
10636 (epa-mail-parse-groups, epa-mail-sync-groups)
10637 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10638 (epa-mail-expand-recipients): New functions.
10639 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10640
177549d0
RS
10641 * mail/rmail.el (rmail-epa-decrypt): New command.
10642
fe38beef
RS
10643 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10644 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10645 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10646 (epa-decrypt-armor-in-region): Make error message clearer.
10647
934eacb9
SM
106482011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10651 and "a2b" to "ab" for `prefix'.
10652
d024fb4e
CY
106532011-08-14 Chong Yidong <cyd@stupidchicken.com>
10654
10655 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10656 filter groups.
de148fee
CY
10657 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10658 Fourquet (Bug#8804).
d024fb4e 10659
62f1ca49
JB
106602011-08-12 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * startup.el (argi): Declare as global variable (bug#9275).
10663
9ccaaa4b
CY
106642011-08-12 Chong Yidong <cyd@stupidchicken.com>
10665
10666 * subr.el (string-mark-left-to-right): Search the entire string
10667 for RTL script, not just the terminating character. Doc fix.
10668
a3dae87a
SM
106692011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10670
6cd18349
SM
10671 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10672 New function.
10673 (js--regexp-literal, js-syntax-propertize-function): Remove.
10674 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10675 (js-mode-map): Don't rebind electric keys.
10676 (js-insert-and-indent): Remove.
10677 (js-mode): Setup electric-layout and electric-indent instead.
10678
a3dae87a
SM
10679 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10680
9d5cb631
DU
106812011-08-12 Daiki Ueno <ueno@unixuser.org>
10682
10683 * epa.el (epa-progress-callback-function): Fix the logic of
10684 displaying progress.
10685 * epa-file.el (epa-file-insert-file-contents): Make progress
10686 display more user-friendly.
10687 (epa-file-write-region): Ditto.
10688
3e26a4a2
CY
106892011-08-10 Chong Yidong <cyd@stupidchicken.com>
10690
10691 * subr.el (string-mark-left-to-right): New function.
10692
10693 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10694 Use string-mark-left-to-right.
10695 (list-buffers-noselect): Caller changed.
10696
a3dae87a
SM
10697 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10698 Use string-mark-left-to-right.
3e26a4a2
CY
10699 (tabulated-list-print): Recenter after moving point.
10700
ac8cf6e6
JL
107012011-08-10 Juri Linkov <juri@jurta.org>
10702
10703 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10704 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10705 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10706
8d96c9a4
CY
107072011-08-09 Chong Yidong <cyd@stupidchicken.com>
10708
10709 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10710 (Bug#7554).
10711
7be1c708 107122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10713
10714 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10715 character. (Bug#6594)
10716
37e11a63
CY
107172011-08-08 Chong Yidong <cyd@stupidchicken.com>
10718
839dde57
CY
10719 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10720 (image-dired--with-db-file): New macro.
10721 (image-dired-write-tags, image-dired-remove-tag)
10722 (image-dired-create-gallery-lists, image-dired-write-comments)
10723 (image-dired-get-comment, image-dired-mark-tagged-files)
10724 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10725 (image-dired-gallery-generate): Use insert-file-contents.
10726
37e11a63
CY
10727 * time.el (display-time-world-list, display-time-world-display):
10728 * time-stamp.el (time-stamp-string):
10729 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10730 set-time-zone-rule (Bug#7337).
10731
0b4946c4
DU
107322011-08-08 Daiki Ueno <ueno@unixuser.org>
10733
10734 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10735 (epg-error-to-string, epg-errors-to-string): New function.
10736 (epg-wait-for-completion): Reverse errors list.
10737 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10738 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10739 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10740 (epg-sign-keys, epg-generate-key-from-file)
10741 (epg-generate-key-from-string): Format errors by using
10742 epg-errors-to-string (bug#9255).
10743 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10744
75bfc667
JL
107452011-08-07 Juri Linkov <juri@jurta.org>
10746
10747 * faces.el (list-faces-display): Remove extra angle bracket
10748 from `help-mode-map'.
10749
10750 * info.el (Info-history-toc-nodes): Doc fix.
10751
10752 * longlines.el (longlines-mode): Doc fix.
10753
673e08bb
SM
107542011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10755
4640dd88
SM
10756 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10757 of statements and in a few more cases (bug#9183).
10758
673e08bb
SM
10759 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10760 New functions.
10761 (cl-transform-lambda): Use them (bug#9239).
10762
89b3f019
MR
107632011-08-05 Martin Rudalics <rudalics@gmx.at>
10764
10765 * window.el (display-buffer-same-window)
10766 (display-buffer-same-frame, display-buffer-other-window)
10767 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10768 (pop-to-buffer-other-window)
10769 (pop-to-buffer-same-frame-other-window)
10770 (pop-to-buffer-other-frame): Make them defuns.
10771 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10772
640c8776
SM
107732011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * subr.el (make-composed-keymap): Move from C. Change calling
10776 convention, and improve docstring to bring attention to a subtle point.
10777 * minibuffer.el (completing-read-default): Adjust accordingly.
10778
63648a95
MA
107792011-08-03 Michael Albinus <michael.albinus@gmx.de>
10780
10781 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10782 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10783
10784 * net/trampver.el: Update release number.
10785
b796c9b7
SM
107862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10789 "in" (bug#9190).
10790
2239d7d5
LMI
107912011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792
e07dd7c3
LMI
10793 * mail/sendmail.el (sendmail-query-once): Restore the current
10794 buffer after querying (bug#9074).
10795
0e6a2bd7
LMI
10796 * dired.el (dired-flagged): Use different faces for marked and
10797 flagged files (bug#6117).
10798
ce887515
LMI
10799 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10800 (bug#4433).
10801
92f2affc
LMI
10802 * ido.el (ido-mode): Switch off the message if called
10803 non-interactively.
10804
57d5aff0
LMI
10805 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10806 before 587, since it appears that that's more likely to work for
10807 more people.
10808
98cd6c18 10809 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10810 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10811 exist.
10812
b96dec83
LMI
10813 * info.el: Remove the `Info-beginning-of-buffer' function
10814 (bug#8325).
10815
b796c9b7
SM
10816 * net/network-stream.el (network-stream-open-starttls):
10817 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10818
d90e2ea0
MR
108192011-08-01 Martin Rudalics <rudalics@gmx.at>
10820
10821 * window.el (display-buffer-in-window): Don't set dedicated status
10822 of window here (Bug#9215).
10823 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10824 (display-buffer-pop-up-side-window)
b796c9b7 10825 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10826
cca09170
SM
108272011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10830 before binding generated-autoload-file.
10831
027b979c
DD
108322011-08-01 Deniz Dogan <deniz@dogan.se>
10833
10834 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10835
3c7ee4f3
MA
108362011-07-30 Michael Albinus <michael.albinus@gmx.de>
10837
10838 Sync with Tramp 2.2.2.
10839
10840 * net/trampver.el: Update release number.
10841
2cc8e51a
JL
108422011-07-30 Juri Linkov <juri@jurta.org>
10843
10844 * dired-aux.el (dired-touch-initial): Remove function.
10845 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10846 current time, and `default' to the last modification time of the
10847 current marked file (bug#6887).
10848
a514d856
JM
108492011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10850
10851 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10852 numeric argument to read-number (bug#9163).
a514d856 10853
8a7eddd7
MA
108542011-07-27 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10857 connection process, it could be nil.
10858
1ddd96f5
LL
108592011-07-27 Leo Liu <sdl.web@gmail.com>
10860
10861 Simplify url handling in rcirc-mode.
10862
10863 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10864 (rcirc-browse-url-at-mouse): Remove.
10865 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10866
b248a85d
AM
108672011-07-26 Alan Mackenzie <acm@muc.de>
10868
10869 Fontify bitfield declarations properly.
10870
10871 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10872 (c-symbol-chars): Now exported as a lang variable.
10873 (c-not-primitive-type-keywords): New lang variable.
10874
10875 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10876 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10877 parsed as a bitfield declaration.
b248a85d 10878
b796c9b7
SM
10879 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10880 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10881 (c-punctuation-in): New function.
10882 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10883 declarations properly.
10884
68575ab0
UJ
108852011-07-26 Ulf Jasper <ulf.jasper@web.de>
10886
10887 * calendar/icalendar.el (icalendar--all-events): Take care of
10888 multiple vcalendars in a single file.
b796c9b7 10889 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10890
0f0a88b9
DD
108912011-07-25 Deniz Dogan <deniz@dogan.se>
10892
10893 * image.el (insert-image): Clarifying docstring.
10894
0b3f36df
MA
108952011-07-24 Michael Albinus <michael.albinus@gmx.de>
10896
10897 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10898 `tramp-send-command-and-check' if there is no error.
10899 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10900
a9901f61
AM
109012011-07-22 Alan Mackenzie <acm@muc.de>
10902
10903 Prevent cc-langs.elc being loaded at run time.
10904
10905 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10906 cc-langs.
10907
4d61f28d 10908 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10909 "(require 'cc-langs)". Quote a form so it will evaluate at
10910 (cc-mode's) compilation time.
10911
11d074b2
MA
109122011-07-22 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10915 loading. (Bug#9114)
10916
938b94c8
MR
109172011-07-21 Martin Rudalics <rudalics@gmx.at>
10918
10919 * window.el (display-buffer-pop-up-window)
10920 (display-buffer-pop-up-side-window)
10921 (display-buffer-in-side-window): Call display-buffer-set-height
10922 and display-buffer-set-width after setting the new window's
b796c9b7 10923 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10924
bfa4f190
SS
109252011-07-20 Sam Steingold <sds@gnu.org>
10926
10927 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10928 (etags-tags-included-tables): Call `convert-standard-filename' on
10929 the file names contained in TAGS so that windows Emacs can handle
10930 TAGS files created by cygwin ctags.
10931
8ca42262
LMI
109322011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10933
10934 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10935 which apparently didn't work.
10936
5db2afd2 109372011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10938
5db2afd2
RW
10939 * proced.el (proced-send-signal): For *Marked Processes* buffer
10940 put point at beginning of buffer.
10941
92e15d10
SB
109422011-07-19 Stephen Berman <stephen.berman@gmx.net>
10943
10944 * proced.el (proced-format): Make header lines align with the text
10945 (bug#1779).
10946
1bfd59e5
LMI
109472011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10948
10949 * view.el (view-buffer): Allow running in `special' modes if we're
10950 visiting a file (bug#8615).
10951
f5aae37c
MR
109522011-07-19 Martin Rudalics <rudalics@gmx.at>
10953
10954 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10955 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10956 New functions.
f5aae37c
MR
10957 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10958 more accurately.
10959
bf2c1571
AM
109602011-07-18 Alan Mackenzie <acm@muc.de>
10961
10962 Fontify declarators properly when, e.g., a jit-lock chunk begins
10963 inside a declaration.
10964
10965 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10966
b796c9b7
SM
10967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10968 New function.
bf2c1571
AM
10969 (c-complex-decl-matchers): Insert reference to
10970 c-font-lock-enclosing-decls.
10971
10972 * progmodes/cc-engine.el (c-backward-single-comment):
10973 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10974 to nil around calls to (forward-comment -1).
10975
4e190b80
LMI
109762011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10977
12dc863d
LMI
10978 * image.el (put-image): Doc typo fix.
10979
a762e966
LMI
10980 * progmodes/etags.el (tags-search): Doc typo fix.
10981
4e190b80
LMI
10982 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10983 password if we get errors 550 to 554.
10984
f019fb21
LMI
109852011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10986
b796c9b7 10987 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10988
81746738
LMI
10989 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10990 indentation character (bug#6380).
10991
3ee3a1b5
LMI
10992 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10993
c82f64de
LMI
10994 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10995 to clarify what the problem is (bug#4291).
10996
f019fb21
LMI
10997 * simple.el (current-kill): Clarify what
10998 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10999 (auto-fill-mode): Document `auto-fill-function' in relation to
11000 `auto-fill-mode' (bug#2470).
f019fb21 11001
0794775d
LM
110022011-07-16 Lawrence Mitchell <wence@gmx.li>
11003
11004 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11005 method if slot is read-only (bug#9035).
11006
be39b8cc
MR
110072011-07-16 Martin Rudalics <rudalics@gmx.at>
11008
b796c9b7 11009 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11010 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11011 selected before, see discussion of (Bug#8615), (Bug#6954).
11012 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11013
6ccf7859
GM
110142011-07-15 Glenn Morris <rgm@gnu.org>
11015
11016 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11017 Respect help-form.
6ccf7859 11018
87e86684
LM
110192011-07-09 Lawrence Mitchell <wence@gmx.li>
11020
11021 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11022 (gnutls-negotiate): Use it.
11023
d6066239
LMI
110242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11025
b796c9b7
SM
11026 * net/gnutls.el (gnutls-negotiate):
11027 Upcase `gnutls-algorithm-priority'.
d6066239 11028
bd23ebc0
GM
110292011-07-15 Glenn Morris <rgm@gnu.org>
11030
c65bca65
GM
11031 * jka-compr.el (jka-compr-verbose): Move from here...
11032 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11033 Add missing :version tag.
11034 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11035
478615cc
LMI
110362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037
7b41decb
LMI
11038 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11039 (gnutls-negotiate): Use it.
11040
dbc44fcd
LMI
11041 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11042
06789f97
LMI
11043 * info.el (Info-beginning-of-buffer): New command.
11044 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11045 announcing `b' as the key (bug#8325).
ab896c37 11046 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11047
c39da690
LMI
11048 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11049
3aa5f34b
LMI
11050 * international/mule-cmds.el
11051 (describe-specified-language-support): Make the error message
11052 clearer (bug#8905).
11053
4bf0979f
LMI
11054 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11055
478615cc
LMI
11056 * isearch.el (isearch-barrier): Add a doc string, since it's
11057 mentioned in a function doc string (bug#8678).
11058
75c68aa1
MR
110592011-07-15 Martin Rudalics <rudalics@gmx.at>
11060
11061 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11062 buffer argument (Bug#9083) and self-identifying label argument.
11063
a7c33da2
GM
110642011-07-15 Glenn Morris <rgm@gnu.org>
11065
11066 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11067
2f5c6024
LMI
110682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11069
11070 * man.el (Man-fontify-manpage): Fix message when formatting the
11071 man page (bug#7929).
11072
0bb23927 110732011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11074
11075 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11076 argument LRM; if non-nil, append an invisible LRM character to the
11077 buffer name.
11078 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11079 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11080 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11081 paragraph direction.
cce4b0a7 11082
621ef9ab
LMI
110832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
d1583c48
LMI
11085 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11086 the man page name (bug#7929).
11087
6a57fb5f
LMI
11088 * image.el (put-image): Mention the `put-image' overlay property
11089 (bug#7834).
11090
d7956b14
LMI
11091 * scroll-bar.el (set-scroll-bar-mode): Mention that
11092 `scroll-bar-mode' lists the values (bug#7772).
11093
5b2d4a66
LMI
11094 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11095 command (bug#7729).
11096
7509a874
LMI
11097 * rect.el (apply-on-rectangle): Return the point after the last
11098 operation.
11099 (string-rectangle): Go to the point after the last operation
11100 (bug#7522).
11101
4fe74b19
LMI
11102 * printing.el (pr-toggle-region): Clarify the documentation
11103 slightly (bug#7493).
11104
b796c9b7
SM
11105 * time.el (display-time-update):
11106 Allow `display-time-mail-function' to return nil (bug#7158).
11107 Fix suggested by Detlev Zundel.
ab283561 11108
fc233c9d
LMI
11109 * vc/diff.el (diff): Clarify the order the file names are read
11110 (bug#7111).
11111
43f5740b
LMI
11112 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11113 the doc string (bug#7015).
11114
f2182a76
LMI
11115 * font-lock.el (font-lock-maximum-decoration): Mention what
11116 numeric levels mean (bug#6935).
11117
621ef9ab
LMI
11118 * startup.el (initial-buffer-choice): Don't mention the `none'
11119 selection, which is against policy.
11120
adc47434
MR
111212011-07-14 Martin Rudalics <rudalics@gmx.at>
11122
b796c9b7
SM
11123 * window.el (display-buffer-normalize-special):
11124 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11125
7e5bfb8f
EZ
111262011-07-14 Eli Zaretskii <eliz@gnu.org>
11127
11128 * subr.el (version<, version<=, version=): Mention "-CVS" and
11129 "-12345" alpha version numbers.
11130
27fa387a
CY
111312011-07-14 Chong Yidong <cyd@stupidchicken.com>
11132
11133 * bindings.el: Add advertised binding for set-mark-command
11134 (Bug#5772).
11135
8bdfa064
CY
111362011-07-14 Chong Yidong <cyd@stupidchicken.com>
11137
11138 * bindings.el (mode-line-other-buffer):
11139 * bookmark.el (bookmark-bmenu-2-window):
11140 * bs.el (bs-cycle-next, bs-cycle-previous):
11141 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11142 switch-to-buffer.
11143
11144 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11145 Delete.
8bdfa064 11146
5eba16a3
JB
111472011-07-14 Juanma Barranquero <lekktu@gmail.com>
11148
11149 * follow.el (follow-debug-message, follow-redisplay):
11150 * jka-cmpr-hook.el (with-auto-compression-mode):
11151 Fix typos in docstrings.
11152
15853710
LMI
111532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11154
a28e4607
LMI
11155 * subr.el (with-silent-modifications): Clarify somewhat what the
11156 macro inhibits (bug#6525).
11157
15853710
LMI
11158 * simple.el (eval-expression): Note what it does if called
11159 interactively (bug#6495).
11160
bee0fcef
CY
111612011-07-13 Chong Yidong <cyd@stupidchicken.com>
11162
b796c9b7
SM
11163 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11164 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11165
11166 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11167 Remove switch-to-buffer.
11168
58274504
LMI
111692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11170
bd2fcc8d
LMI
11171 * files.el (make-directory): Clarify that an error will be raised
11172 if there's an error (bug#6397).
11173
0f04b32c
LMI
11174 * startup.el (initial-buffer-choice): Add `none' as a choice
11175 (bug#6234).
11176
465c5fc8
LMI
11177 * subr.el (add-hook): Clarify section about buffer-local hooks
11178 (bug#6218).
11179
58274504
LMI
11180 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11181
bead9a43
JB
111822011-07-13 Juanma Barranquero <lekktu@gmail.com>
11183
11184 * tabify.el (untabify): Preserve the current column so that point
11185 doesn't move (bug#6032).
11186
3af98a7b
LMI
111872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11188
b796c9b7
SM
11189 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11190 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11191
6240145a
GM
111922011-07-13 Glenn Morris <rgm@gnu.org>
11193
11194 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11195 (dired-insert-directory): Give a message the first time
11196 if ls is found not to support --dired.
11197
1d8c2ccc
LMI
111982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11199
11200 * simple.el (toggle-truncate-lines): Clarify what is toggled
11201 (bug#5580). Text by Drew Adams.
11202
5fc4038e
CY
112032011-07-13 Chong Yidong <cyd@stupidchicken.com>
11204
11205 * simple.el (blink-matching-open): Make the error message from the
11206 last change less verbose.
11207
bf6012e5
DN
112082011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11209
11210 * font-lock.el (font-lock-comment-face): Use the high contrast
11211 "yellow" color for font-lock-comment-face on low color terminals
11212 using a dark background color (bug#4221).
11213
343c3b5a
LMI
112142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11215
7e9505c5
LMI
11216 * dired.el (dired-insert-set-properties): Make the doc string
11217 reflect what it does now (bug#5325).
11218
c26fdcf5
LMI
11219 * simple.el (blink-matching-open): Say that we were unable to find
11220 the match within the limit, if we're limited (bug#5122).
11221
bb388cc5
LMI
11222 * international/mule-cmds.el (prefer-coding-system): Add an
11223 example (bug#4869).
11224
343c3b5a
LMI
11225 * progmodes/etags.el (tags-search): Document `file-list-form'
11226 (bug#4731).
11227
2a517d45
LM
112282011-07-13 Lawrence Mitchell <wence@gmx.li>
11229
11230 * net/browse-url.el (browse-url-default-browser)
11231 (browse-url-browser-function): Make the default browser choice a
11232 bit more logical (bug#4300). Also clean up the doc string.
11233
b6c78ef2
JB
112342011-07-13 Juanma Barranquero <lekktu@gmail.com>
11235
11236 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11237 binary endings (bug#4440).
11238
1c4dd947
LMI
112392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11240
a2014063
LMI
11241 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11242 which can be pretty annoying (bug#8971).
11243
9c9c2d88
LMI
11244 * jka-compr.el (jka-compr-verbose): New variable, and use
11245 throughout (bug#8971).
11246
1c4dd947
LMI
11247 * info.el (Info-find-file): Fall back on the installation
11248 directory if we can't find the info node anywhere else.
11249
a1c9f41b
SO
112502011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11251
11252 * vc/vc.el (vc-revert-file):
11253 Don't set file time-stamp in the past. (Bug#5181)
11254
536f3d36
LMI
112552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11256
7152b011
LMI
11257 * files.el (after-find-file): Give a better error message when
11258 trying to find a symlink that points to a file that doesn't exist
11259 (bug#4398).
11260
536f3d36
LMI
11261 * progmodes/cc-vars.el: Remove (probably) misleading comment
11262 (bug#4396).
11263
460c0fba
JB
112642011-07-12 Johan Bockgård <bojohan@gnu.org>
11265
11266 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11267
7a6bda45
CY
112682011-07-12 Chong Yidong <cyd@stupidchicken.com>
11269
11270 * mouse-sel.el: Hack restoring functionality, while keeping
11271 compatibility with 2010-07-03 changes to mouse selection.
11272 (mouse-sel-primary-overlay): New var.
11273 (mouse-sel-selection-alist): Use it.
11274 (mouse-sel-mode): Doc fix; remove points that are default features
11275 of mouse.el.
11276
c79598ef
JB
112772011-07-12 Johan Bockgård <bojohan@gnu.org>
11278
11279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11280 Fix previous fix (bug#2490).
11281
ff8be6ef
RW
112822011-07-12 Roland Winkler <winkler@gnu.org>
11283
b796c9b7
SM
11284 * textmodes/bibtex.el (bibtex-initialize):
11285 Use pop-to-buffer-same-window.
ff8be6ef
RW
11286 (bibtex-search-entries): Fix interactive call.
11287
296ba3ee
LMI
112882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11289
f5242a02 11290 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11291 Fontise bytecomp Error lines more correctly (bug#2490).
11292 Fix suggested by Johan Bockgård.
f5242a02 11293
296ba3ee
LMI
11294 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11295
11296 * dired-x.el (dired-guess-default): Use `delete-dups'.
11297
f69fd0d2
CY
112982011-07-12 Chong Yidong <cyd@stupidchicken.com>
11299
11300 * dired.el (dired-mark-prompt):
11301 * dired-aux.el (dired-read-shell-command): Doc fix.
11302
eab5dc07
LMI
113032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304
b796c9b7
SM
11305 * mail/sendmail.el (sendmail-query-once):
11306 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11307 emacs -Q.
11308
11309 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11310
eab5dc07
LMI
11311 * cus-edit.el (custom-file): Take an optional no-error variable.
11312 (customize-save-variable): Set the variable, and give a warning if
11313 running under "emacs -q".
11314
a1e65d42
JB
113152011-07-11 Juanma Barranquero <lekktu@gmail.com>
11316
11317 * loadhist.el (unload-feature-special-hooks):
11318 Add `auto-coding-functions', `fill-nobreak-predicate' and
11319 `find-directory-functions' (bug#5327).
11320
1d52da10
LMI
113212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11322
be958f1d
LMI
11323 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11324
5bedb26c
LMI
11325 * cus-edit.el (custom-guess-name-alist): -alist variables should
11326 use the `alist' type (bug#3120). Suggested by Drew Adams.
11327
1d52da10
LMI
11328 * printing.el: Add documentation to all the `pr-toggle-' commands.
11329
cd394be1 113302011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11331
11332 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11333 backends where it makes sense (bug#2623).
11334
dcc88d8a
LMI
113352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11336
c3de9feb
LMI
11337 * dired-x.el (dired-guess-default): Remove duplicate shell command
11338 entries (bug#2028).
8a93078b 11339 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11340 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11341
dcc88d8a
LMI
11342 * subr.el (remove-duplicates): New conveniency function.
11343
505e3645
LMI
113442011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11345
11346 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11347 (bug#1526).
11348
113492011-07-10 Martin Rudalics <rudalics@gmx.at>
11350
11351 * window.el (display-buffer-normalize-default): Don't invert
11352 meaning of even-window-heights. Reported by Eli Zaretskii
11353 <eliz@gnu.org>.
11354
455e4fa1
BR
113552011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11356
11357 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11358
8e0bc3e9
CY
113592011-07-10 Chong Yidong <cyd@stupidchicken.com>
11360
11361 * window.el (display-buffer): Fix arguments to
11362 display-buffer-reuse-window in last change.
11363
fa7c3228
CY
11364 * faces.el (link): Use a less saturated blue on light backgrounds.
11365
11366 * startup.el (fancy-startup-text, fancy-about-text)
11367 (fancy-startup-tail): Use font-lock faces, for background safety.
11368
c0a7f300
BN
113692011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11370
b796c9b7
SM
11371 * emulation/viper-cmd.el (viper-change-state-to-vi):
11372 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11373
4dc2a129
MR
113742011-07-09 Martin Rudalics <rudalics@gmx.at>
11375
11376 * window.el (display-buffer-default-specifiers): Remove.
11377 (display-buffer-macro-specifiers): Remove default specifiers.
11378 (display-buffer-alist): Default to nil.
b796c9b7 11379 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11380 (display-buffer-pop-up-window): Allow splitting internal
11381 windows. Check whether a live window was created.
11382 (display-buffer-other-window-means-other-frame)
11383 (display-buffer-normalize-arguments): Rename to
11384 display-buffer-normalize-argument and rewrite. Set the
11385 other-window specifier.
11386 (display-buffer-normalize-special): New function.
11387 (display-buffer-normalize-options): Rename to
11388 display-buffer-normalize-default and rewrite.
11389 (display-buffer-normalize-options-inhibit): Remove.
11390 (display-buffer-normalize-specifiers): Rewrite.
11391 (display-buffer): Process other-window specifier and call
11392 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11393 more faithfully.
b796c9b7 11394 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11395 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11396 (display-buffer-in-window, display-buffer-alist-set):
11397 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11398 <tassilo@member.fsf.org>.
11399
2d43b8c9
LL
114002011-07-09 Leo Liu <sdl.web@gmail.com>
11401
11402 * register.el (insert-register): Restore accidental change on
11403 2011-06-26. (Bug#9028)
11404
7f9b7c53
GM
114052011-07-09 Glenn Morris <rgm@gnu.org>
11406
11407 * subr.el (remq): Handle the empty list. (Bug#9024)
11408
f042cfd8
AS
114092011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 * mail/sendmail.el (send-mail-function): No longer delay custom
11412 initialization.
11413 * custom.el (custom-initialize-delay): Doc fix.
11414
856b2f11
SM
114152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11418
afae1d68
MA
114192011-07-08 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11422 human-friendly prompt.
11423
0757af94
SM
114242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11427 provided by a particular plugin.
11428
d760b731
LMI
114292011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11430
11431 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11432 save customizations (with "emacs -Q"), just set the variable
11433 instead of erroring out.
11434
11435 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11436
cd79ce90
JL
114372011-07-08 Juri Linkov <juri@jurta.org>
11438
11439 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11440 (archive-zip-update-case): Use 7z if found by `executable-find'.
11441 The order of searching the available programs is the same as in
11442 `archive-zip-extract' (bug#8968).
11443
14cc04aa
CY
114442011-07-07 Chong Yidong <cyd@stupidchicken.com>
11445
11446 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11447 (menu-bar-options-menu): Tweak descriptions.
11448
0a1848ec
LMI
114492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11450
11451 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11452 menu items into verb phrases (bug#1421). Also refill to fit under
11453 80 columns.
11454
f5bd0689
CY
114552011-07-07 Chong Yidong <cyd@stupidchicken.com>
11456
538e85c6
CY
11457 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11458 (Info-read-node-name): Doc fix (Bug#1084).
11459
f5bd0689
CY
11460 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11461 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11462 (end-of-sexp, beginning-of-sexp)
11463 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11464 (forward-symbol, forward-same-syntax, word-at-point)
11465 (sentence-at-point): Doc fix (Bug#1144).
11466
56ec5115
LMI
114672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468
f3f8e37f
LMI
11469 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11470 should cover it (bug#1281).
11471
0757af94 11472 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11473
e9fce1ac 11474 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11475 negotiation fails, then possibly try again with a non-encrypted
11476 connection (bug#9017).
11477
56ec5115
LMI
11478 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11479 be used.
11480
c2f9aec8
RS
114812011-07-07 Richard Stallman <rms@gnu.org>
11482
11483 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11484 property, and handle its changed format.
11485 Look for the correct line number.
11486 Use file's line contents (but not past first =) to find
11487 correct line in message.
11488
ef7b981d 114892011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11490
11491 * international/characters.el (build-unicode-category-table):
11492 Delete it.
0757af94 11493 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11494
0757af94 11495 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11496 to src/chartab.c.
11497 (get-char-code-property): Call unicode-property-table-internal to
11498 load a file. Call get-unicode-property-internal where necessary.
11499 (put-char-code-property): Call unicode-property-table-internal to
11500 load a file. Call put-unicode-property-internal where necessary.
11501 put-unicode-property-internal where necessary.
0757af94
SM
11502 (char-code-property-description):
11503 Call unicode-property-table-internal to load a file.
c805dec0
KH
11504
11505 * international/charprop.el:
11506 * international/uni-bidi.el:
11507 * international/uni-category.el:
11508 * international/uni-combining.el:
11509 * international/uni-comment.el:
11510 * international/uni-decimal.el:
11511 * international/uni-decomposition.el:
11512 * international/uni-digit.el:
11513 * international/uni-lowercase.el:
11514 * international/uni-mirrored.el:
11515 * international/uni-name.el:
11516 * international/uni-numeric.el:
11517 * international/uni-old-name.el:
11518 * international/uni-titlecase.el:
11519 * international/uni-uppercase.el: Regenerate.
11520
11521 * loadup.el: Load international/charprop.el before
11522 international/characters.
11523
e14b388a
CY
115242011-07-07 Chong Yidong <cyd@stupidchicken.com>
11525
11526 * window.el (next-buffer, previous-buffer): Signal an error if
11527 called from a minibuffer window.
11528
11529 * bindings.el: Revert 2011-07-04 change.
11530
354cf0ba
RS
115312011-07-06 Richard Stallman <rms@gnu.org>
11532
11533 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11534 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11535 Treat markers like ints.
11536 (rmail-mime-entity): Doc fix.
11537
a48868a7
LMI
115382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11539
4906cd3d
LMI
11540 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11541 defcustom again for backwards compatibility.
11542
e0457abe
LMI
11543 * simple.el (shell-command-on-region): Fill.
11544
d67f7e1f
LMI
11545 * dired-aux.el (dired-kill-line): Add a doc string.
11546
fe204702
LMI
11547 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11548 to "\\sw\\|\\s_" (bug#358).
11549
a48868a7
LMI
11550 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11551 (dired-unmark-backward): Ditto.
11552 (dired-flag-backup-files): Ditto.
11553
11554 * dired-x.el (dired-mark-sexp): Ditto.
11555
aa8a705c
RS
115562011-07-06 Richard Stallman <rms@gnu.org>
11557
11558 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11559 (rmail-mime-entity): New arg TRUNCATED.
11560 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11561 New functions.
11562 (rmail-mime-save): Warn if entity is truncated.
11563 (rmail-mime-toggle-hidden): Likewise, for showing.
11564 (rmail-mime-process-multipart): Record when an entity is truncated.
11565
a9a936b9
RS
11566 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11567 if ENTITY is a string.
11568
1f2b92cb
LMI
115692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
f4f73198 11571 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11572 of faces when `M-C-x'-ing their definitions (bug#8378).
11573 Also clean up the code slightly.
f4f73198 11574
12b16734 11575 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11576 because that makes the colors go away.
12b16734 11577
f0691d22
LMI
11578 * mail/sendmail.el (send-mail-function): Change the default to
11579 `sendmail-query-once'.
9e87df06 11580 (sendmail-query-once): Add an autoload cookie.
f0691d22 11581
1f2b92cb
LMI
11582 * net/network-stream.el (network-stream-open-starttls): Try using
11583 a plain connection even if the server offered STARTTLS, and we
11584 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11585 capability. This should make smtpmail.el work in slightly more
11586 configurations.
11587
1cdd2a1b
MA
115882011-07-06 Michael Albinus <michael.albinus@gmx.de>
11589
11590 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11591 New defun.
11592 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11593
fbcc67e2
MM
115942011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11595
11596 * progmodes/sql.el: Version 3.0
0757af94 11597 (sql-product-alist): Add product :completion-object,
fbcc67e2 11598 :completion-column, and :statement attributes.
0757af94 11599 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11600 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11601 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11602 ansi keywords.
11603 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11604 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11605 (sql-oracle-show-reserved-words): New function for development.
11606 (sql-product-font-lock): Simplify for source code buffers.
11607 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11608 New functions.
11609 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11610 (sql-mode-map): Add statement movement functions.
11611 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11612 New variable.
fbcc67e2
MM
11613 (sql-statement-regexp, sql-beginning-of-statement)
11614 (sql-end-of-statement, sql-signum): New functions.
0757af94 11615 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11616 (sql-show-sqli-buffer): Bug fix.
11617 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11618 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11619 with sql-interactive-mode.
11620 (sql-save-connection): Save buffer local settings.
0757af94 11621 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11622 (sql-product-interactive): Bug fix.
11623 (sql-preoutput-hold): New variable.
11624 (sql-interactive-remove-continuation-prompt): Bug fixes.
11625 (sql-debug-redirect): New variable.
11626 (sql-str-literal): New function.
11627 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11628 Redesign.
fbcc67e2
MM
11629 (sql-oracle-save-settings, sql-oracle-restore-settings)
11630 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11631 (sql-completion-object, sql-completion-column)
11632 (sql-completion-sqlbuf): New variables.
11633 (sql-build-completions-1, sql-build-completions)
11634 (sql-try-completion): New functions.
11635 (sql-read-table-name): Use them.
11636 (sql-contains-names): New buffer local variable.
11637 (sql-list-all, sql-list-table): Use it.
11638 (sql-oracle-completion-types): New variable.
11639 (sql-oracle-completion-object, sql-sqlite-completion-object)
11640 (sql-postgres-completion-object): New functions.
11641
d4eaeab1
GM
116422011-07-06 Glenn Morris <rgm@gnu.org>
11643
11644 * window.el (pop-to-buffer): Doc fix.
11645
322b7dab 116462011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11647
11648 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11649
322b7dab 116502011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11651
322b7dab 11652 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11653
322b7dab 11654 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11655
605dd5bf
CY
116562011-07-05 Chong Yidong <cyd@stupidchicken.com>
11657
11658 * button.el (button): Inherit from link face. Suggested by Dan
11659 Nicolaescu.
11660
7dbfa719
SM
116612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11662
3db614b0
SM
11663 * progmodes/gdb-mi.el: Fit in 80 columns.
11664 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11665 switch-to-buffer.
11666
7dbfa719
SM
11667 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11668 if imenu is simply not configured (bug#8941).
11669
919d884a
KM
116702011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11671
11672 * allout.el (allout-post-undo-hook): New allout outline-change
11673 event hook to signal undo activity.
11674 (allout-post-command-business): Run allout-post-undo-hook if an
11675 undo just occurred.
7dbfa719
SM
11676 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11677 * allout-widgets.el (allout-widgets-after-undo-function):
11678 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11679 in the vicinity of an undo.
11680 (allout-widgets-mode): Include allout-widgets-after-undo-function
11681 on the new allout-post-undo-hook.
11682
450a0f09
SM
116832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11686 Let define-derived-mode define it.
11687 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11688 cycles of abbrev-table inheritance (bug#8998).
11689
2de69e00
RW
116902011-07-05 Roland Winkler <winkler@gnu.org>
11691
11692 * textmodes/bibtex.el: Add support for biblatex.
11693 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11694 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11695 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11696 (bibtex-entry-alist, bibtex-field-alist): New variables.
11697 (bibtex-entry-field-alist): Obsolete alias for
11698 bibtex-BibTeX-entry-alist.
11699 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11700 (bibtex-set-dialect): New command.
11701 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11702 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11703 Bind via bibtex-set-dialect.
2de69e00
RW
11704 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11705 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11706 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11707 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11708 Define via bibtex-set-dialect.
450a0f09
SM
11709 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11710 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11711 (bibtex-vec-push, bibtex-vec-incr): New functions.
11712 (bibtex-format-entry, bibtex-field-list)
11713 (bibtex-print-help-message, bibtex-validate)
11714 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11715
2dcdbdd9
SM
117162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * progmodes/compile.el (compilation-goto-locus):
11719 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11720 * bs.el (bs-cycle-next, bs-cycle-previous):
11721 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11722 * bindings.el (mode-line-other-buffer):
11723 * autoinsert.el (auto-insert):
11724 * arc-mode.el (archive-extract):
11725 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11726
b27640fe
JB
117272011-07-05 Juanma Barranquero <lekktu@gmail.com>
11728
11729 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11730 Fix check of `emacs-lock-unlockable-modes'.
11731 Coerce true values of `emacs-lock--try-unlocking' to t.
11732
53bbe3ad
JB
117332011-07-05 Juanma Barranquero <lekktu@gmail.com>
11734
11735 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11736 * emacs-lock.el: New file.
11737
1d3cdbc7
JD
117382011-07-05 Julien Danjou <julien@danjou.info>
11739
11740 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11741 than `boundp' to check if face is set.
11742
9173deec
JB
117432011-07-05 Juanma Barranquero <lekktu@gmail.com>
11744
11745 * register.el (registerv-make):
11746 * window.el (window-min-height): Fix typos in docstrings.
11747
869795d6
JD
117482011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11749
9173deec 11750 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11751 Update doc string.
11752
b768cdcd
JB
117532011-07-04 Juanma Barranquero <lekktu@gmail.com>
11754
11755 * server.el (server-execute): Catch quit and call
11756 `server-return-error' to pass the error back to emacsclient and
11757 close the connection (bug#8942).
11758
13aa217b
KM
117592011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11760
11761 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11762 insecure exception for current topic. Also note that auto-saves
11763 are handled differently.
11764
5d3385a0 11765 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11766 State variables for tracking auto-save inhibition situation.
11767
11768 (allout-write-contents-hook-handler): Rename from
11769 'allout-write-file-hook-handler', and describe how it depends on
11770 write-contents-functions sensitivity to non-nil value to prevent
11771 file write.
11772
11773 (allout-auto-save-hook-handler): Remove. auto-save does not check
11774 this in individual buffers, only in the starting buffer, so this
11775 is not the right way for us to inhibit auto-save in a buffer
11776 according to its condition.
11777
11778 (allout-mode): Use new allout-write-contents-hook-handler, and
11779 only with write-contents-functions. Remove auto-save provisions -
11780 they're implemented elsewhere.
11781
11782 (allout-before-change-handler): If undo is in progress, note that
11783 for attention of allout-post-command-business.
11784
11785 (allout-post-command-business): If the command we're following was
11786 an undo, check for change in the status of encrypted items and
11787 adjust auto-save inhibitions accordingly.
11788
11789 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11790 according to whether there are or aren't any plain-text topics
11791 pending encryption.
11792
2dcdbdd9 11793 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11794 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11795 if there are plain-text topics pending encryption.
13aa217b
KM
11796
11797 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11798 buffer-saved-size and some allout state to not inhibit auto-saves
11799 if there are no longer any plain-text topics pending encryption.
11800
0757af94
SM
11801 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11802 No longer provide for exemption of the current topic.
13aa217b 11803
ac89b32c
JL
118042011-07-04 Juri Linkov <juri@jurta.org>
11805
11806 Add 7z operations to delete and save changed members (bug#8968).
11807 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11808 New defcustoms.
11809 (archive-7z-write-file-member): New function.
11810 (archive-7z-summarize): Fix the number of dashes in the
11811 listing output.
11812
8fa39615
SM
118132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11816 (bug#8958).
11817
2f11b3f1
CY
118182011-07-04 Chong Yidong <cyd@stupidchicken.com>
11819
d66fef2b
CY
11820 * bindings.el: Ignore next-buffer and previous-buffer in
11821 minibuffer-local-map.
11822
2f11b3f1
CY
11823 * font-lock.el (font-lock-builtin-face): Change light background
11824 color to dark slate blue (Bug#6693).
11825
f932a347
WD
118262011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11827
11828 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11829
c8af70e1
SM
118302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11833 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11834 Add switch-to-buffer.
11835
f158badc
LMI
118362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11837
11838 * isearch.el (isearch-search-fun-function): Clarify further the
11839 meaning of the function returned.
11840
6d95bd46
MA
118412011-07-04 Michael Albinus <michael.albinus@gmx.de>
11842
11843 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11844
11845 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11846 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11847 Use it.
11848 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11849 `tramp-default-remote-path' does not exist.
11850 (tramp-send-command-and-read): New optional argument NOERROR.
11851 (tramp-open-connection-setup-interactive-shell)
11852 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11853 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11854 (tramp-process-sentinel): Flush also process' connection property.
11855 (tramp-sh-handle-start-file-process): Do not set process
11856 sentinel. It is done now ...
11857 (tramp-maybe-open-connection): ... here. (Bug#8929)
11858
909e6b67
MK
118592011-07-04 MON KEY <monkey@sandpframing.com>
11860
11861 * play/animate.el (animate-string): Doc fixes and allow changing
11862 the buffer name (bug#5417).
11863
118642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11865
c8af70e1 11866 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11867
f34755dc
PE
118682011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11869
396cec72
PE
11870 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11871 This is simpler and helps future-proof the code.
11872 (timer-until): Use time-subtract and float-time.
08235028 11873 (timer--time-less-p): Use time-less-p.
f34755dc 11874
56e6cc31
JB
118752011-07-04 Juanma Barranquero <lekktu@gmail.com>
11876
3abb79e5
JB
11877 * type-break.el (timep): Use the value of `float-time' to avoid a
11878 byte-compiler warning.
11879
56e6cc31
JB
11880 * server.el (server-eval-and-print): Return any result, even nil.
11881
7b9430b4
PE
118822011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11883
11884 * type-break.el: Accept time formats that the builtins accept.
11885 (timep, type-break-time-difference): Accept any format that
11886 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11887 This is simpler and helps future-proof the code.
11888 (type-break-time-difference): Round rather than ignoring
11889 subseconds components.
11890
3034e9e7
LMI
118912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
11893 * info.el (Info-apropos-matches): Make non-interactive, since it
11894 doesn't seem to do anything useful as a command (bug#8829).
11895
1485f4c0
CY
118962011-07-03 Chong Yidong <cyd@stupidchicken.com>
11897
11898 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11899 Move from faces.el.
1485f4c0
CY
11900 (frame-default-terminal-background): New function.
11901
11902 * custom.el (custom-push-theme): Don't record faces in `changed'
11903 theme; this doesn't work correctly for per-frame face settings.
11904 (disable-theme): Use face-set-after-frame-default to reset faces.
11905 (custom--frame-color-default): New function.
11906
9fa3dd45
LMI
119072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11908
c8af70e1 11909 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11910 (bug#8769).
11911
6cbbc20c
KR
119122011-03-29 Kevin Ryde <user42@zip.com.au>
11913
11914 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11915 `perl-Test2' extend to match possible "fail #N" rep count
11916 (bug#8377).
11917
c7f98048
LMI
119182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11919
65676592
LMI
11920 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11921 `smtpmail-via-smtp' now returns the error instead of nil.
11922
c7f98048
LMI
11923 * isearch.el (isearch-search-fun-function): Clarify the doc string
11924 (bug#8101).
11925
56e6cc31 119262011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11927
11928 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11929 unnecessary spaces (bug#8987).
11930
2b216704
LMI
119312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11932
11933 * net/network-stream.el (open-network-stream): Use the
11934 :end-of-capability command thoughout.
11935
119362011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11937
11938 * net/network-stream.el (open-network-stream): Add the
11939 :end-of-capability command parameter, used by pop3.el.
11940
36adf6ce
LMI
119412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11942
1ca0da0e
LMI
11943 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11944
fc00f69c
LMI
11945 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11946 for list)" (bug#6475).
11947
28fd8759 11948 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11949 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11950 an error (bug#6297).
11951
0dd8b6da
LMI
11952 * man.el (Man-reference-regexp): Allow matching possible
11953 word-wrapped references (bug#6289).
11954
ce1438d6
LMI
11955 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11956 for consistency with the other vc buffers (bug#6197).
11957 (vc-checkin): Ditto.
11958
11959 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11960
36adf6ce
LMI
11961 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11962
e83cc1f7
LMI
119632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
8a20ca4c
LMI
11965 * custom.el (defcustom): Clarify that :set is only used in the
11966 Customize user interface (bug#6089).
11967
83319045
LMI
11968 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11969 associated with a file, refuse to run instead of erroring out
11970 (bug#6084).
11971
a8392169
LMI
11972 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11973 the doc string, since it appears that using `fill-column' always
11974 controls the width (bug#7845).
11975
e83cc1f7
LMI
11976 * simple.el (shell-command-on-region): Say where the error output
11977 went if `shell-command-default-error-buffer' is set (bug#6857).
11978
e47ca23b
KM
119792011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11980
11981 * allout.el (allout-yank-processing): Adjust cursor position for
11982 backwards-deleted space.
11983
11984 (allout-rebullet-heading): Register changes with
11985 allout-exposure-changed-hook, so the modified topic is properly
11986 decorated.
11987
5cf56143
LMI
119882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11989
08549772
LMI
11990 * minibuffer.el (completion-in-region): Document PREDICATE
11991 (bug#7136).
11992
48e96771
LMI
11993 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11994 of keyword/argument pairs (bug#6904).
11995
c8af70e1
SM
11996 * replace.el (multi-occur):
11997 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11998
e17d05e2
LMI
119992011-07-02 Drew Adams <drew.adams@oracle.com>
12000
12001 * dired.el (dired-mark-if): Make the message about whether it's
12002 marking or unmarking clearer (bug#8523).
12003
063b0e45
LMI
120042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12005
12006 * disp-table.el (display-table-print-array): New function.
12007 (describe-display-table): Use it to print the vectors more pretty
12008 (Bug#8859).
12009
28545e04
MR
120102011-07-02 Martin Rudalics <rudalics@gmx.at>
12011
12012 * window.el (window-state-get-1): Don't assign clone numbers.
12013 Add clone-of item to list of window parameters.
12014 (window-state-put-2): Don't process clone numbers.
12015 (display-buffer-alist): Fix doc-string.
12016
3349e122
SM
120172011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * subr.el (remq): Don't allocate if it's not needed.
12020 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12021 (keymap--merge-bindings): New functions.
12022 (keymap-canonicalize): Use them to refine the canonicalization.
12023 * minibuffer.el (minibuffer-local-completion-map)
12024 (minibuffer-local-must-match-map): Move initialization from C.
12025 (minibuffer-local-filename-completion-map): Move initialization from C;
12026 don't inherit from anything here.
12027 (minibuffer-local-filename-must-match-map): Make obsolete.
12028 (completing-read-default): Use make-composed-keymap to combine
12029 minibuffer-local-filename-completion-map with either
12030 minibuffer-local-must-match-map or
12031 minibuffer-local-filename-completion-map.
12032
d224ac83
GM
120332011-07-01 Glenn Morris <rgm@gnu.org>
12034
3de63bf8
GM
12035 * type-break.el (type-break-time-sum): Use dolist.
12036
d224ac83
GM
12037 * textmodes/flyspell.el (flyspell-word-search-backward):
12038 Replace CL function.
12039
1a1e3f32
SM
120402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12041
fe3f64d5
SM
12042 * mouse.el (mouse--strip-first-event): New function.
12043 (function-key-map): Use it to map fringe clicks to normal clicks
12044 by default.
12045
eb604e34
SM
12046 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12047 (vc-bzr-revision-completion-table): Add support for annotate and date.
12048
1a1e3f32
SM
12049 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12050 inherit from parent.
12051
5bd35902
LMI
120522011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12053
ace6c69c 12054 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12055 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12056
191e2bed
LMI
12057 * dired.el (dired-mode): Fix up the doc string as suggested by
12058 Drew Adams (bug#8817).
12059
5bd35902
LMI
12060 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12061 cookie, since the manual says that it should be possible to add
12062 this function to `find-file-hook' (bug#8709).
12063
eee8207a
TZ
120642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12065
12066 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12067 here. Noted Ted Zlatanov as the maintainer.
12068 (cfengine-common-settings, cfengine-common-syntax): New functions
12069 to set up common things between `cfengine-mode' and
12070 `cfengine3-mode'.
12071 (cfengine3-mode): New mode.
12072 (cfengine3-defuns cfengine3-defuns-regex
12073 (cfengine3-class-selector-regex cfengine3-category-regex)
12074 (cfengine3-vartypes cfengine3-font-lock-keywords)
12075 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12076 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12077
36b148cf
MA
120782011-07-01 Michael Albinus <michael.albinus@gmx.de>
12079
12080 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12081
12082 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12083
0bf4ba9a
MR
120842011-07-01 Martin Rudalics <rudalics@gmx.at>
12085
12086 * window.el (same-window-buffer-names, same-window-regexps)
12087 (same-window-p, special-display-frame-alist)
12088 (special-display-popup-frame, special-display-function)
12089 (special-display-buffer-names, special-display-regexps)
12090 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12091 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12092 (split-window-preferred-function, split-height-threshold)
12093 (split-width-threshold, even-window-heights)
12094 (display-buffer-mark-dedicated, window-splittable-p)
12095 (split-window-sensibly, window-safely-shrinkable-p):
12096 Un-obsolete.
12097 (display-buffer): Don't spread args with function specifier
12098 because special-display-popup-frame won't like it.
12099
35837f51
PE
121002011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12101
d0672f86
PE
12102 Time-stamp simplifications and fixes.
12103 These improve accuracy slightly, and future-proof the code
12104 against some potential changes to current-time format.
12105
b9444d97
PE
12106 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12107 by using time-since and float-time.
12108
0ef923dc
PE
12109 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12110 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12111 + NNN microseconds".
12112
2f81380d
PE
12113 * type-break.el (type-break-time-sum): Rewrite using time-add.
12114
845b5c3e
PE
12115 * play/hanoi.el (hanoi-current-time-float): Remove.
12116 All uses replaced by float-time.
12117
ee6f1be0
PE
12118 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12119 This yields a more-accurate answer.
12120 (rng-time-to-float): Remove; no longer needed.
12121
fe955043
PE
12122 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12123
5777162a
PE
12124 * calendar/timeclock.el (timeclock-seconds-to-time):
12125 Defalias to seconds-to-time, since they're the same thing.
12126
3103f8b6 12127 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12128 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12129 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12130
0e61a35f
SM
121312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * window.el (bury-buffer): Don't iconify the only frame.
12134 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12135 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12136
ddd63a1e
CY
121372011-07-01 Chong Yidong <cyd@stupidchicken.com>
12138
0e61a35f
SM
12139 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12140 Add mouse-yank-primary.
ddd63a1e 12141
055f4923
TZ
121422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12143
12144 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12145
6a2fb145
SM
121462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12149 (find-library-name): Use it to find relative load names when provided
12150 absolute file name (bug#8803).
12151
fd4983f2
LMI
121522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12153
887d14ad
LMI
12154 * textmodes/flyspell.el (flyspell-word): Consider words that
12155 differ only in case as potential doublons (bug#5687).
12156
c53dc7fc
LMI
12157 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12158 Remove two rather uninteresting debugging-like messages to make
12159 debbugs.el more silent.
12160
fd4983f2
LMI
12161 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12162 a password-like phrase.
12163
7a71b18d 121642011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12165
12166 * progmodes/cc-guess.el: New file.
12167
6a2fb145 12168 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12169
12170 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12171 derived from `c-basic-common-init'.
12172
12173 * progmodes/cc-mode.el (top-level): Require cc-guess.
12174 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12175
1fa280a3
LM
121762011-06-30 Lawrence Mitchell <wence@gmx.li>
12177
12178 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12179
e6597158
AM
121802011-06-30 Alan Mackenzie <acm@muc.de>
12181
1fa280a3
LM
12182 * progmodes/cc-engine.el (c-guess-continued-construct):
12183 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12184 lock is disabled. Name this case as "CASE G".
12185
68ba37fb
KM
121862011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12187
12188 * allout.el (allout-yank-processing): Fix injection of extra space
12189 between bullet and non-whitespace character in first topic when
12190 pasting, ensuring that the actual spacing in the pasted topic
12191 following the bullet char is preserved. This extra space was
12192 causing pasted encrypted topics to get a decrypted status even
12193 when the content was actually still encrypted. Now the decryption
12194 status from before the paste is preserved.
12195
12196 (allout-flag-region): Set all allout overlays so they evaporate
12197 when reduced to zero length (evanescent), to prevent overlay
12198 leakage.
12199
887a0b34
GM
122002011-06-30 Glenn Morris <rgm@gnu.org>
12201
94b9acce
GM
12202 * w32-fns.el (w32-charset-info-alist): Declare.
12203
1d9b46d4
GM
12204 * find-dired.el (find-grep-options): Simplify.
12205
cc232200
GM
12206 * term/ns-win.el (ns-set-resource): Declare.
12207
28e77c46
GM
12208 * ses.el (row, col): Declare dynamic variables honestly.
12209
887a0b34
GM
12210 * textmodes/reftex-parse.el (index-tags): Declare.
12211
658d8eb8
CY
122122011-06-30 Chong Yidong <cyd@stupidchicken.com>
12213
12214 * cus-edit.el (customize-push-and-save): New function.
12215
12216 * files.el (hack-local-variables-confirm): Use it.
12217
1fa280a3
LM
12218 * custom.el (load-theme): New arg NO-CONFIRM.
12219 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12220 (custom-enabled-themes): Doc fix.
12221
12222 * cus-theme.el (customize-create-theme)
12223 (custom-theme-merge-theme): Callers to load-theme changed.
12224
bb617717
LMI
122252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12226
d61bdd5d
LMI
12227 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12228 short URLs have at least one dot in them (bug #7614).
12229
bb617717
LMI
12230 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12231 nil, because using a pty is apparently too slow (bug #895).
12232
2f31f37a
LMI
122332011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
12235 * mail/sendmail.el (sendmail-query-once): New function.
12236 (sendmail-query-once-function): New variable.
12237
3076b24e
GM
122382011-06-29 Glenn Morris <rgm@gnu.org>
12239
faf2a174
GM
12240 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12241
3076b24e
GM
12242 * ses.el (top-level): Require cl when compiling.
12243 (ses-set-localvars): Fix error statement.
12244 Call it at compile time to silence a storm of warnings.
12245
5386012d
MR
122462011-06-29 Martin Rudalics <rudalics@gmx.at>
12247
12248 * window.el (normalize-live-buffer): Rename to
12249 window-normalize-buffer.
12250 (normalize-live-frame): Rename to window-normalize-frame.
12251 (normalize-any-window): Rename to window-normalize-any-window.
12252 (normalize-live-window): Rename to window-normalize-live-window.
12253 (make-window-atom): Rename to window-make-atom.
12254 (window-resize-reset): Rename to window--resize-reset.
12255 (window-resize-reset-1): Rename to window--resize-reset-1.
12256 (resize-mini-window): Rename to window--resize-mini-window.
12257 (resize-subwindows-skip-p): Rename to
12258 window--resize-subwindows-skip-p.
12259 (resize-subwindows-normal): Rename to
12260 window--resize-subwindows-normal.
12261 (resize-subwindows): Rename to window--resize-subwindows.
12262 (resize-other-windows): Rename to window--resize-siblings.
12263 (resize-this-window): Rename to window--resize-this-window.
12264 (resize-root-window): Rename to window--resize-root-window.
12265 (resize-root-window-vertically): Rename to
12266 window--resize-root-window-vertically.
12267 (normalize-buffer-to-display): Rename to
12268 window-normalize-buffer-to-display.
12269 (normalize-buffer-to-switch-to): Rename to
12270 window-normalize-buffer-to-switch-to.
12271 Correspondingly update all callers of the functions listed
12272 above.
12273 (display-buffer-alist, display-buffer-normalize-arguments)
12274 (display-buffer-normalize-options, display-buffer)
12275 (display-buffer-alist-set): Use "function" instead of
12276 "fun-with-args".
12277
1176868d
CY
122782011-06-28 Chong Yidong <cyd@stupidchicken.com>
12279
12280 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12281 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12282 debbugs.gnu.org. Mention acknowledgment email.
12283
20a7a65f
LMI
122842011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12285
12286 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12287 buffer multibyteness, since it shouldn't matter.
12288
5f45cca5
MR
122892011-06-28 Martin Rudalics <rudalics@gmx.at>
12290
12291 * window.el (display-buffer-in-side-window): Handle dedicated
12292 windows as in display-buffer-reuse-window.
12293 (display-buffer-normalize-alist): Use value of override
12294 specifier.
12295 (display-buffer-normalize-specifiers): Use value of
12296 other-window-means-other-frame specifier.
12297 (display-buffer-alist): Rewrite some texts in widgets.
12298 (display-buffer): Spread arguments when calling function
12299 specified by fun-with-args.
12300
ad85fe1f
DD
123012011-06-28 Deniz Dogan <deniz@dogan.se>
12302
1fa280a3
LM
12303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12304 Unnest `let'.
da68c4c8 12305
ad85fe1f
DD
12306 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12307 selectors (Bug#5732).
ec49bd31 12308 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12309
a08cc025
JA
123102011-06-27 Jari Aalto <jari.aalto@cante.net>
12311
12312 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12313 (eshell-ls-date-format): New defcustom.
12314 (eshell-ls-file): Use it.
12315
e2b551c5
SM
123162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12319
8982b231
KY
123202011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12321
12322 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12323 (ange-ftp-make-tmp-name): New arg.
12324 (ange-ftp-file-local-copy): Use it.
12325
36c9fa27
J
123262011-06-27 Jambunathan K <kjambunathan@gmail.com>
12327
12328 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12329 no-conversion (Bug#8870).
12330
d68443dc
MR
123312011-06-27 Martin Rudalics <rudalics@gmx.at>
12332
12333 * window.el (window-right, window-left, window-child)
12334 (window-child-count, window-last-child)
12335 (window-iso-combination-p, walk-window-tree-1)
12336 (window-atom-check-1, window-tree-1, delete-window)
12337 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12338 new naming conventions - window-vchild, window-hchild,
12339 window-next and window-prev are now called window-top-child,
12340 window-left-child, window-next-sibling and window-prev-sibling
12341 respectively.
d615d6d2
MR
12342 (resize-window-reset): Rename to window-resize-reset.
12343 (resize-window-reset-1): Rename to window-resize-reset-1.
12344 (resize-window): Rename to window-resize.
12345 (window-min-height, window-min-width)
12346 (resize-mini-window, resize-this-window, resize-root-window)
12347 (resize-root-window-vertically, adjust-window-trailing-edge)
12348 (enlarge-window, shrink-window, maximize-window)
12349 (minimize-window, delete-window, quit-restore-window)
12350 (split-window, balance-windows, balance-windows-area-adjust)
12351 (balance-windows-area, window-state-put-2)
12352 (display-buffer-even-window-sizes, display-buffer-set-height)
12353 (display-buffer-set-width, set-window-text-height)
12354 (fit-window-to-buffer): Rename all "resize-window" prefixed
12355 calls to use the "window-resize" prefix convention.
12356 (display-buffer-alist): Fix symbol for label specifier.
12357 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12358 corresponding specifier.
12359 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12360
b6458526
VB
123612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12362
12363 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12364 convention.
12365 (ses-call-printer): Does not pass an empty string to formatter when the
12366 cell is empty to keep from barking printer Calc math-format-value.
12367
d31fd9ac
RS
123682011-06-27 Richard Stallman <rms@gnu.org>
12369
43d5bf84
RS
12370 * battery.el (battery-mode-line-limit): New variable.
12371 (battery-update): Handle it.
12372
d31fd9ac
RS
12373 * mail/rmailmm.el (rmail-mime-process-multipart):
12374 Handle truncated messages.
12375
819a6054
GM
123762011-06-27 Glenn Morris <rgm@gnu.org>
12377
12378 * progmodes/flymake.el (flymake-err-line-patterns):
12379 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12380
cedc73f2
VB
123812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12382
819a6054 12383 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12384 (ses--clean-!, ses--clean-_): New functions.
12385 (ses-range): Add configurability of readout order, and conversion
12386 to Calc vector.
12387
5e5d49b6
VB
12388 * ses.el (ses-repair-cell-reference-all): New function.
12389 (ses-cell-symbol): Set macro as safe, so that it can be used in
12390 formulas.
12391
56e6cc31 12392 * ses.el: Update cycle detection algorithm.
90ca8b49 12393 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12394 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12395 (ses-set-localvars): New function.
12396 (ses-make-cell): Add property-list as a cell element.
12397 (ses-cell-property-get-fun, ses-cell-property-get)
12398 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12399 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12400 New functions.
90ca8b49
VB
12401 (ses-cell-property-set, ses-cell-property-pop)
12402 (ses-cell-property-get-handle): New macro.
12403 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12404 New aliases, used for code readability.
12405 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12406 cycle detection.
12407 (ses-self-reference-early-detection): New defcustom.
fac916bf 12408 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12409 (ses-mode): Use ses-set-localvars.
12410 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12411 before lauching the update processing.
12412 (ses-initialize-Dijkstra-attempt): New function.
12413 (ses-recalculate-cell): Update for cycle detection based on
12414 Dijkstra algorithm.
12415
2bb63e81
VB
12416 * ses.el: Fix commenting and indenting convention.
12417
c9d29fb8
SM
124182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12419
12420 * bs.el (bs-cycle-next): Complete last change.
12421
d8e4b68b
JB
124222011-06-27 Drew Adams <drew.adams@oracle.com>
12423
12424 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12425
40098786
LMI
124262011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427
c9d29fb8
SM
12428 * net/network-stream.el (network-stream-open-starttls):
12429 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12430 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12431
40098786
LMI
12432 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12433 to binary to possibly avoid line encoding issues on Windows (among
12434 other things).
12435
468d09d4
LMI
124362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12437
12438 * net/network-stream.el (open-network-stream): Return an :error
12439 saying what the problem was, if possible.
12440
12441 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12442 server.
12443
12444 * net/network-stream.el (network-stream-open-starttls): If we
12445 wanted to use STARTTLS, and the server offered it, but we weren't
12446 able to because we had no STARTTLS support, then close the connection.
12447 (open-network-stream): Return an :error element, if present.
12448
16f07dd7
CY
124492011-06-26 Chong Yidong <cyd@stupidchicken.com>
12450
88821ca0
CY
12451 * hl-line.el (hl-line-sticky-flag): Doc fix.
12452 (global-hl-line-sticky-flag): New option (Bug#8323).
12453 (global-hl-line-highlight): Obey it.
12454
16f07dd7
CY
12455 * vc/vc.el (vc-revert-show-diff): Default to t.
12456
6b5ccddf
KM
124572011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12458
c9d29fb8
SM
12459 * allout-widgets.el (allout-widgets-post-command-business):
12460 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12461 undecorated when an isearch is continued past, and isearch
12462 automatically collapses them. This leads to "widget leaks", where
12463 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12464 hidden widgets can slow down cursor travel, substantially.
12465 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12466 so we're doing without this nicety.
12467
12468 (allout-widgets-tally-string): Don't try to do a hash-table-count
12469 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12470 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12471 *Messages* when allout-widgets-maintain-tally is t.
12472
355f2e07
MR
124732011-06-26 Martin Rudalics <rudalics@gmx.at>
12474
12475 * window.el (display-buffer-normalize-argument): Rename to
12476 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12477 LABEL argument. Respect special-display-function when popping up
12478 a new frame. Fix code searching for a window showing the buffer
12479 on another frame.
c9d29fb8
SM
12480 (display-buffer-normalize-specifiers):
12481 Call display-buffer-normalize-arguments.
355f2e07
MR
12482 (display-buffer-in-window): Don't undedicate the window if its
12483 buffer remains the same.
12484 Reported by Drew Adams <drew.adams@oracle.com>.
12485 (display-buffer-alist): Add choice for same-window macro
12486 specfier.
12487 (display-buffer): Mention special meaning of LABEL argument in
12488 doc-string. Fix quoting. Don't pop up a new frame even as
12489 fallback.
12490
7ca8fc42
JB
124912011-06-26 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12494 avoid deleting the current window in some cases (bug#8911).
12495
bc312254
AS
124962011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12497
12498 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12499 (Bug#8934)
12500
2db18f3f
LMI
125012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12502
c9d29fb8
SM
12503 * net/network-stream.el (network-stream-open-starttls):
12504 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12505 (network-stream-open-tls): Ditto.
12506
6302e0d3
LL
125072011-06-26 Leo Liu <sdl.web@gmail.com>
12508
12509 * register.el (registerv): New struct.
12510 (registerv-make): New function.
c9d29fb8
SM
12511 (jump-to-register, describe-register-1, insert-register):
12512 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12513 struct. (Bug#8415)
12514
5fdd4046
CY
125152011-06-26 Chong Yidong <cyd@stupidchicken.com>
12516
2afef60a
CY
12517 * vc/vc.el (vc-revert-show-diff): New defcustom.
12518 (vc-diff-internal): New arg specifying diff buffer.
12519 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12520 reuse an existing *vc-diff* buffer (Bug#8927).
12521
5fdd4046
CY
12522 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12523
e93db24a
GM
125242011-06-26 Glenn Morris <rgm@gnu.org>
12525
12526 * progmodes/f90.el (f90-critical-indent): New option.
12527 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12528 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12529 (f90-mode): Doc fix.
12530 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12531 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12532 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12533 (f90-match-end): Handle block, critical.
12534
eefff499
GM
125352011-06-25 Glenn Morris <rgm@gnu.org>
12536
f6ba4cc9
GM
12537 * calendar/diary-lib.el (diary-included-files): Doc fix.
12538 (diary-include-files): New function, extracted from
12539 diary-include-other-diary-files and diary-mark-included-diary-files.
12540 (diary-include-other-diary-files, diary-mark-included-diary-files):
12541 Just call diary-include-files.
12542 (diary-mark-entries): Reset diary-included-files on first call.
12543
16712304
GM
12544 * calendar/diary-lib.el (diary-mark-entries)
12545 (diary-mark-included-diary-files):
12546 Visit included diary-files in temp buffers.
12547
5d8e0d43
GM
12548 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12549 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12550 (f90-start-block-re, f90-imenu-generic-expression)
12551 (f90-looking-at-program-block-start, f90-no-block-limit):
12552 Add support for submodules.
12553
ccf7a5d5
GM
12554 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12555 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12556
11fdef7d 125572011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12558
12559 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12560 buffer-file-type before setting its value, to avoid disastrous
eefff499 12561 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12562
74f53697
JB
125632011-06-25 Juanma Barranquero <lekktu@gmail.com>
12564
12565 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12566
12567 * ses.el (ses-unload-function):
12568 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12569
12570 * proced.el (proced-unload-function):
12571 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12572
18a4ce5e
AR
125732011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12574
12575 * server.el (server-create-window-system-frame): Add parameters arg.
12576 (server-process-filter): Doc fix. Handle frame-parameters.
12577
519d22cc
JB
125782011-06-25 Juanma Barranquero <lekktu@gmail.com>
12579
12580 Fix bug#8730, bug#8781.
12581
12582 * loadhist.el (unload--set-major-mode): New function.
12583 (unload-feature): Use it.
12584
12585 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12586 (python-unload-function): New function.
12587
c206f5b0
SM
125882011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12591
f9ad64f3
GS
125922011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12593
12594 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12595 the candidates list.
12596
7d0da90e
JB
125972011-06-24 Juanma Barranquero <lekktu@gmail.com>
12598
12599 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12600
14b4e83d
RS
126012011-06-23 Richard Stallman <rms@gnu.org>
12602
12603 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12604 (rmail-variables): Set next-error-move-function.
12605 (rmail-what-message): Take argument POS.
12606 (rmail-next-error-move): New function.
12607
273d2baf
SM
126082011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12611 messages for adjacent non-terminals.
12612
56c2cc9a
RS
126132011-06-23 Richard Stallman <rms@gnu.org>
12614
12615 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12616 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12617 (rmail-start-mail): Don't specify use of rmail-mail-return;
12618 that's done by mail-bury now.
12619 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12620
d59eb518
MA
126212011-06-23 Michael Albinus <michael.albinus@gmx.de>
12622
12623 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12624 SIZE is a number.
12625
02cfc6d6
MR
126262011-06-23 Martin Rudalics <rudalics@gmx.at>
12627
12628 * window.el (get-lru-window, get-mru-window)
12629 (get-largest-window): Never return a minibuffer window.
12630 (display-buffer-pop-up-window): Fix a bug that could lead to
12631 reusing the minibuffer window.
12632 (display-buffer): Pass original specifier argument to
12633 display-buffer-function instead of the normalized one.
12634 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12635
4e323265
LL
126362011-06-22 Leo Liu <sdl.web@gmail.com>
12637
12638 * minibuffer.el (completing-read-function)
12639 (completing-read-default): Move from minibuf.c
12640
7a70468f
RS
126412011-06-22 Richard Stallman <rms@gnu.org>
12642
50718fc2
RS
12643 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12644 to Rmail even if not started by a special Rmail command.
12645
7a70468f
RS
12646 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12647 Copy the buffer currently showing just one message.
12648
297dde5a
RW
126492011-06-22 Roland Winkler <winkler@gnu.org>
12650
12651 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12652 (bibtex-clean-entry): First delete the old key so that a
12653 customized algorithm for generating the new key does not get
12654 confused by the old key.
12655 (bibtex-url): Obey regexp of first step.
12656 (bibtex-search-entries): Do not use add-to-list with local
12657 list-var.
12658
97bb1093
LMI
126592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12660
12661 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12662 stored a user name, then query for the password first, instead of
12663 waiting for SMTP to give an error message and the trying again.
12664
1c0f1a19
JD
126652011-06-22 Lawrence Mitchell <wence@gmx.li>
12666
12667 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12668 BUFFER in call-process.
12669
396f7c9d
LMI
126702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671
12672 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12673 QUIT twice.
ddb7ffee
LMI
12674 (smtpmail-try-auth-methods): Require user name and password from
12675 auth-source.
396f7c9d 12676
8998d1b3
MR
126772011-06-22 Martin Rudalics <rudalics@gmx.at>
12678
12679 * window.el (display-buffer-default-specifiers)
12680 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12681 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12682 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12683
12684 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12685 (special-display-frame-alist, special-display-popup-frame):
12686 Remove duplicate declarations. These are now in window.el.
12687
4ea31e07
LMI
126882011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12689
c9d29fb8
SM
12690 * mail/smtpmail.el (smtpmail-via-smtp):
12691 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12692 server supports it. SMTP servers that support STARTTLS commonly
12693 require it.
12694
12695 * net/network-stream.el (network-stream-open-starttls): Support
12696 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12697 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12698
95f41d9a
LMI
12699 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12700 upgrades with `open-network-stream', and rely solely on
12701 auth-source for all credentials. Big changes throughout the file,
12702 but in particular:
c9d29fb8
SM
12703 (smtpmail-auth-credentials): Remove.
12704 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12705 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12706 MAIL FROM, too.
95f41d9a 12707
c9d29fb8
SM
12708 * net/network-stream.el (network-stream-open-starttls):
12709 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12710 STARTTLS.
12711 (auth-source): Require.
12712 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12713 (network-stream-certificate): Change cert-cert to cert and
12714 cert-key to key.
4ea31e07 12715
065ec2c7
MA
127162011-06-21 Michael Albinus <michael.albinus@gmx.de>
12717
12718 * net/tramp-cache.el (top): Don't load the persistency file when
12719 "emacs -Q" has been called.
12720
cd93b359
DR
127212011-06-21 Tim Harper <timcharper@gmail.com>
12722
d8e4b68b
JB
12723 * term/ns-win.el (ns-initialize-window-system):
12724 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12725 resource to NO as it is not yet supported by the NS port.
12726
ae9c0411
JB
127272011-06-21 Juanma Barranquero <lekktu@gmail.com>
12728
12729 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12730 (list-dynamic-libraries): ...not here.
12731
7f3f739f
LL
127322011-06-21 Leo Liu <sdl.web@gmail.com>
12733
12734 * subr.el (sha1): Implement sha1 using secure-hash.
12735
327c8fb1
MR
127362011-06-21 Martin Rudalics <rudalics@gmx.at>
12737
12738 * window.el (display-buffer-alist): In default value do not
12739 enforce searching a window on any but the selected frame.
12740 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12741 (display-buffer-select-window): Remove function.
12742 (display-buffer-in-window): When a window on another frame gets
12743 reused, do not select it any more but just raise its frame if
12744 necessary (Bug#8851) and (Bug#8856).
12745 (display-buffer-normalize-options): Handle pop-up-frames related
12746 options more faithfully.
12747 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12748 window if it is on another frame.
c9d29fb8
SM
12749 (display-buffer-alist, display-buffer-default-specifiers):
12750 Don't make new frame unsplittable by default.
9e9de014
MR
12751 (display-buffer-normalize-argument): Fix doc-string typo and use
12752 'same-frame-other-window instead of 'other-window when associating
12753 with display-buffer-macro-specifiers.
327c8fb1 12754
7cf3f556
VB
127552011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12756
12757 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12758 New functions.
12759 (5x5-mode-map, 5x5-mode-menu): Bind them.
12760 (5x5-draw-grid): Tweak the solver's rendering.
12761
60a406cf
SM
127622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12763
12764 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12765 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12766
d8e4b68b 127672011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12768
12769 * menu-bar.el: Use function variable instead of switch-to-buffer.
12770 (menu-bar-select-buffer-function): New variable.
60a406cf 12771 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12772
478d6f95
SM
127732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12776 variable's status.
12777
ca530739
JD
127782011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12779
12780 * x-dnd.el (x-dnd-version-from-flags)
12781 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12782 and long as number (Bug#8899).
12783 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12784
bcd70d97
SM
127852011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12786
60a406cf 12787 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12788 (completion-try-completion, completion-all-completions): Compute the
12789 metadata argument if it's missing; make it optional (bug#8795).
12790
60a406cf 12791 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12792 (widget-complete): Use new :completion-function property.
12793 (widget-completions-at-point): New function.
12794 (default): Use :completion-function instead of :complete.
60a406cf
SM
12795 (widget-default-completions): Rename from widget-default-complete;
12796 Rewrite.
bcd70d97
SM
12797 (widget-string-complete, widget-file-complete, widget-color-complete):
12798 Remove functions.
12799 (file, symbol, function, variable, coding-system, color):
12800 * international/mule-cmds.el (default-input-method, charset)
12801 (language-info-custom-alist):
12802 * cus-edit.el (face): Use new property :completions.
12803
12804 * progmodes/pascal.el (pascal-completions-at-point): New function.
12805 (pascal-mode): Use it.
12806 (pascal-mode-map): Use completion-at-point.
12807 (pascal-toggle-completions): Make obsolete.
12808 (pascal-complete-word, pascal-show-completions):
12809 * progmodes/octave-mod.el (octave-complete-symbol):
12810 Redefine as obsolete alias.
12811 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12812 Signal absence of completion info for old Octave,
12813 (inferior-octave-complete): Redefine as obsolete alias.
12814 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12815 (meta-completions-at-point): Rename from meta-complete-symbol and
12816 adapt it for use on completion-at-point-functions.
12817 (meta-common-mode): Use it.
12818 (meta-looking-at-backward, meta-match-buffer): Remove.
12819 (meta-complete-symbol): Redefine as obsolete alias.
12820 (meta-common-mode-map): Use completion-at-point.
12821 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12822 (makefile-mode-map): Use completion-at-point.
12823 (makefile-completions-at-point): Rename from makefile-complete and
12824 adapt it for use on completion-at-point-functions.
12825 (makefile-mode): Use it.
12826 (makefile-complete): Redefine as obsolete alias.
12827
aebf69c8
DD
128282011-06-20 Deniz Dogan <deniz@dogan.se>
12829
12830 * net/rcirc.el: Delete trailing whitespaces once and for all.
12831
bfbbb27d
DC
128322011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12833
12834 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12835
d264a46b
CY
128362011-06-19 Chong Yidong <cyd@stupidchicken.com>
12837
4ca009e5
CY
12838 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12839
d264a46b
CY
12840 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12841
fbf5b3ce
MR
128422011-06-19 Martin Rudalics <rudalics@gmx.at>
12843
12844 * window.el (display-buffer-other-window-means-other-frame):
12845 Call display-buffer-normalize-alist.
12846 (display-buffer-normalize-specifiers-1): Rename to
12847 display-buffer-normalize-argument. New argument other-frame.
12848 Rewrite.
12849 (display-buffer-normalize-specifiers-2): Rename to
12850 display-buffer-normalize-options.
12851 (display-buffer-normalize-alist-1): New function.
12852 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12853 display-buffer-normalize-alist.
12854 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12855 (display-buffer-normalize-options-inhibit): New variable.
12856 (display-buffer-normalize-specifiers): Rewrite calling
12857 display-buffer-normalize-alist,
12858 display-buffer-normalize-argument, and
12859 display-buffer-normalize-options. Don't call the latter if
12860 display-buffer-normalize-options-inhibit is non-nil.
12861 (frame-auto-delete): New option.
12862 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12863 (window-list-no-nils, window-state-ignored-parameters)
12864 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12865 (window-state-put-1, window-state-put-2, window-state-put):
12866 New functions.
9a028c23
MR
12867 (display-buffer-normalize-options): Move special-display-p group
12868 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12869
6d10d800
CY
128702011-06-18 Chong Yidong <cyd@stupidchicken.com>
12871
6420d28b
CY
12872 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12873 groups (Bug#8776).
12874 (rx-submatch-n): New function.
12875 (rx): Document it.
12876
ddb8b596
CY
12877 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12878 (Bug#8768).
12879
12880 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12881
77080289
CY
12882 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12883
61dfb316
CY
12884 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12885 anytime existing face settings are present (Bug#8889).
12886
6d10d800
CY
12887 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12888 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12889 Remove unused argument.
12890
be3fb2b8
MR
128912011-06-18 Martin Rudalics <rudalics@gmx.at>
12892
bcd70d97
SM
12893 * window.el (display-buffer-default-specifiers):
12894 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12895 pop-up-window-min-width, and another reuse-window specifier
12896 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12897 (display-buffer-normalize-specifiers-2):
12898 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12899 pop-up-windows is unset. Add a reuse-window specifier for the
12900 case popping up a new window fails.
12901 (special-display-popup-frame): Remove double quoting.
28dec25a 12902 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12903
1c6d8c76
SM
129042011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12907 according to comint-completion-addsuffix.
12908
12909 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12910 (pcomplete-suffix-list): Mark as obsolete.
12911 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12912 pcomplete-seen in the closure.
12913 (pcomplete-comint-setup): Setup completion-at-point as well.
12914 (pcomplete--entries): New function.
12915 (pcomplete--env-regexp): New var.
12916 (pcomplete-entries): Rewrite to work with partial-completion and
12917 without relying on pcomplete-suffix-list.
12918 (pcomplete-pare-list): Remove, unused.
12919
25aef8b8
MR
129202011-06-17 Martin Rudalics <rudalics@gmx.at>
12921
12922 * window.el (display-buffer-alist): Set pop-up-window-min-height
12923 and pop-up-window-min-width in default value. Reported by
12924 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12925 other-window-means-other-frame.
12926 (display-buffer-macro-specifiers): Comment out entry for
12927 other-window specifier.
12928 (display-buffer-other-window-means-other-frame): New function.
12929 (display-buffer-normalize-specifiers-1): New arguments
12930 buffer-name and label. Treat other-window case specially.
12931 (display-buffer-normalize-specifiers-2): Treat other-window case
12932 specially.
12933 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12934 (display-buffer-normalize-specifiers):
12935 Call display-buffer-normalize-specifiers-3.
25aef8b8 12936
dbad4f69
MR
129372011-06-17 Martin Rudalics <rudalics@gmx.at>
12938
12939 * window.el (same-window-p): Fix two typos introduced when
12940 adding with-no-warnings.
d1067961
MR
12941 (display-buffer-normalize-specifiers-1): Don't check
12942 pop-up-frames for 'unset initialization.
12943 (display-buffer-normalize-specifiers-2): Major rewrite using
12944 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12945 (pop-up-frames, display-buffer-reuse-frames)
12946 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12947 Suggested by David Engster <deng@randomsample.de>.
12948 (even-window-heights): Initialize to 'unset.
12949 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12950 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12951 other window case.
dbad4f69 12952
9b9c9e3a
MR
129532011-06-16 Martin Rudalics <rudalics@gmx.at>
12954
bcd70d97
SM
12955 * window.el (display-buffer-normalize-specifiers-1):
12956 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12957 second argument of display-buffer (Bug#8865).
981d5c09
MR
12958 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12959 (switch-to-buffer-other-window-same-frame)
12960 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12961 Adams (Bug#8875).
9c2755e9
MR
12962 (display-buffer): Don't check noninteractive when calling
12963 display-buffer-pop-up-frame.
12964 (display-buffer-pop-up-frame): Never pop up a frame in
12965 noninteractive mode (Bug#8857).
67222e1d
MR
12966 (enlarge-window, shrink-window): Don't report an error when the
12967 window can't be resized as requested (Bug#8862).
9b9c9e3a 12968
2b75be67
SM
129692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12970
9ffdd3ba
SM
12971 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12972
cb581a67
SM
12973 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12974
2b75be67
SM
12975 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12976
8c0e3589
AM
129772011-06-15 Alan Mackenzie <acm@muc.de>
12978
cb581a67
SM
12979 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12980 for declarators, disable knr checking to speed up for normal files.
12981 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12982
b96e6cde
LMI
129832011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12984
4bba86e6
LMI
12985 * net/network-stream.el (open-network-stream): Add the keyword
12986 :always-query-capabilities for the case where you want to force a
12987 `plain' network connection, but the protocol still requires the
12988 capabilitiy command (i.e., SMTP and EHLO).
12989
2b75be67 12990 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12991 consistency with other `-live-p' functions.
12992
efdcdbf8
SM
129932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * window.el (same-window-buffer-names, same-window-regexps)
12996 (special-display-frame-alist, special-display-popup-frame)
12997 (special-display-function, special-display-buffer-names)
12998 (special-display-regexps, pop-up-frame-alist)
12999 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13000 (pop-up-windows, split-window-preferred-function)
13001 (split-height-threshold, split-width-threshold, even-window-heights)
13002 (display-buffer-mark-dedicated): Don't encourage the use of
13003 display-buffer-alist from Elisp code.
13004
c5cde042
DN
130052011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13006
13007 * progmodes/python.el (python-mode): Derive from prog-mode.
13008 * progmodes/ps-mode.el (ps-mode):
13009 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13010 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13011 * progmodes/ld-script.el (ld-script-mode): Likewise.
13012
baa1c9ab
MR
130132011-06-15 Martin Rudalics <rudalics@gmx.at>
13014
13015 * window.el (display-buffer-alist): Trim default value to avoid
13016 popping up a new frame (Bug#8857) or reusing an arbitrary window
13017 on another frame.
13018 (display-buffer): Do not fall back on popping up a new frame in
13019 batch mode (Bug#8857).
13020
c5dd5a51
CY
130212011-06-14 Chong Yidong <cyd@stupidchicken.com>
13022
13023 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13024 (custom-theme-summary): New function.
13025 (customize-themes): Use it.
13026
d647b7c4
GM
130272011-06-13 Glenn Morris <rgm@gnu.org>
13028
13029 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13030
9481c002
MR
130312011-06-13 Martin Rudalics <rudalics@gmx.at>
13032
357f93d2
MR
13033 * help.el (help-window): Remove variable.
13034 (help-window-point-marker, temp-buffer-max-height)
13035 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13036 (help-print-return-message): Don't set help-window.
13037 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13038 (help-window-setup-finish): Remove.
13039 (help-window-display-message, help-window-setup)
13040 (with-help-window): Major rewrite based on new
13041 display-buffer-window variable.
13042
13043 * help-mode.el (help-mode-finish): Remove help-window related
13044 code.
13045
13046 * view.el (view-exits-all-viewing-windows): Remove reference to
13047 view-return-to-alist in doc-string.
13048 (view-return-to-alist): Make obsolete.
13049 (view-buffer): Call pop-to-buffer-same-window and remove
13050 undo-window code.
13051 (view-buffer-other-window): Call pop-to-buffer-other-window and
13052 simplify code. Ignore second argument.
13053 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13054 simplify code. Ignore second argument.
13055 (view-return-to-alist-update): Make obsolete.
13056 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13057 Rewrite using quit-restore window parameters.
2b75be67
SM
13058 (view-mode-exit): Rename second argument to EXIT-ONLY.
13059 Rewrite using quit-restore-window.
357f93d2
MR
13060 (View-exit, View-exit-and-edit, View-leave, View-quit)
13061 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13062 appropriate arguments.
13063 (view-end-message): Use quit-restore window parameter.
13064
9481c002
MR
13065 * window.el (display-buffer-function): Rewrite doc-string.
13066 (display-buffer-window, display-buffer-alist): New variables.
13067 (display-buffer-split-specifiers)
13068 (display-buffer-side-specifiers)
13069 (display-buffer-macro-specifiers): New constants.
13070 (display-buffer-even-window-sizes, display-buffer-set-height)
13071 (display-buffer-set-width, display-buffer-select-window)
13072 (display-buffer-in-window, display-buffer-reuse-window)
13073 (display-buffer-split-window-1, display-buffer-split-window)
13074 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13075 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13076 (display-buffer-in-side-window, normalize-buffer-to-display)
13077 (display-buffer-normalize-specifiers-1)
13078 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13079 (display-buffer-normalize-specifiers, display-buffer-frame):
13080 New functions.
9481c002
MR
13081 (display-buffer): Major rewrite.
13082 (display-buffer-other-window, display-buffer-other-frame)
13083 (pop-to-buffer, switch-to-buffer-other-window)
13084 (switch-to-buffer-other-frame): Rewrite.
13085 (display-buffer-same-window, display-buffer-same-frame)
13086 (display-buffer-same-frame-other-window)
13087 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13088 (pop-to-buffer-other-window)
13089 (pop-to-buffer-same-frame-other-window)
13090 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13091 (switch-to-buffer-other-window-same-frame): New functions.
13092 (same-window-p, special-display-p): Rewrite disabling warnings.
13093 Make obsolete.
13094 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13095 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13096 Make obsolete
13097 (same-window-buffer-names, same-window-regexps)
13098 (special-display-frame-alist, special-display-popup-frame)
13099 (special-display-function, special-display-buffer-names)
13100 (special-display-regexps, pop-up-frame-alist)
13101 (pop-up-frame-function, split-window-preferred-function)
13102 (split-height-threshold, split-width-threshold)
13103 (even-window-heights): Make obsolete.
13104
9db51aca
GM
131052011-06-12 Glenn Morris <rgm@gnu.org>
13106
13107 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13108 Misc simplifications.
9db51aca 13109
39cffb44
MR
131102011-06-12 Martin Rudalics <rudalics@gmx.at>
13111
13112 * window.el (window-safely-shrinkable-p): Restore function which
13113 was inadvertently removed in change from 2011-06-11. Declare as
13114 obsolete.
13115
2b75be67
SM
13116 * calendar/calendar.el (calendar-generate-window):
13117 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13118 window-safely-shrinkable-p.
13119
a8955be7
GM
131202011-06-12 Glenn Morris <rgm@gnu.org>
13121
13122 * progmodes/fortran.el (fortran-mode-syntax-table):
13123 * progmodes/f90.el (f90-mode-syntax-table):
13124 Set % to punctuation. (Bug#8820)
13125 (f90-find-tag-default): Remove, no longer needed.
13126
f0d4059d
DC
131272011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13128
13129 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13130
1100a63c
CY
131312011-06-11 Chong Yidong <cyd@stupidchicken.com>
13132
13133 * image.el (image-animated-p): Return animation delay in seconds.
13134 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13135 (image-animate-timeout): Remove DELAY argument. Don't assume
13136 every subimage has the same delay; get it from image-animated-p.
13137 (image-animate): Caller changed.
13138
def722bf
MA
131392011-06-11 Michael Albinus <michael.albinus@gmx.de>
13140
13141 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13142 to ignored backtrace functions.
13143
0a2bb1a9
GM
131442011-06-11 Glenn Morris <rgm@gnu.org>
13145
13146 * calendar/appt.el (appt-disp-window-function): Doc fix.
13147 (appt-check): Handle overlapping appointments. (Bug#8337)
13148
6198ccd0
MR
131492011-06-11 Martin Rudalics <rudalics@gmx.at>
13150
13151 * window.el (window-tree-1, window-tree): New functions, moving
13152 the latter to window.el.
13153 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13154 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13155 (bw-refresh-edges): Remove.
13156 (balance-windows-1, balance-windows-2): New functions.
13157 (balance-windows): Rewrite in terms of window tree functions,
13158 balance-windows-1 and balance-windows-2.
13159 (bw-adjust-window): Remove.
13160 (balance-windows-area-adjust): New function with functionality of
13161 bw-adjust-window but using resize-window.
2b75be67
SM
13162 (set-window-text-height): Rewrite doc-string.
13163 Use normalize-live-window and resize-window.
13164 (enlarge-window-horizontally, shrink-window-horizontally):
13165 Rename argument to DELTA.
6198ccd0
MR
13166 (window-buffer-height): New function.
13167 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13168 Rewrite using new window resize routines.
2b75be67
SM
13169 (kill-buffer-and-window, mouse-autoselect-window-select):
13170 Use ignore-errors instead of condition-case.
6198ccd0
MR
13171 (quit-window): Call delete-frame instead of delete-windows-on
13172 for the only buffer on frame.
13173
9397e56f
MR
131742011-06-10 Martin Rudalics <rudalics@gmx.at>
13175
13176 * loadup.el (top-level): Load window before files for the sake
13177 of replace-buffer-in-windows.
13178
13179 * files.el (read-buffer-to-switch)
13180 (switch-to-buffer-other-window)
2b75be67
SM
13181 (switch-to-buffer-other-frame, display-buffer-other-frame):
13182 Move to window.el.
9397e56f
MR
13183
13184 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13185 (previous-buffer): Move to window.el.
13186
13187 * bindings.el (unbury-buffer): Move to window.el.
13188
13189 * window.el (delete-other-windows-vertically): Move after
13190 definition of delete-other-windows.
13191 (other-window, delete-windows-on, replace-buffer-in-windows):
13192 Move here from window.c.
13193 (record-window-buffer, unrecord-window-buffer)
13194 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13195 (switch-to-next-buffer): New functions.
13196 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13197 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13198 (previous-buffer): Move here from simple.el.
13199 Call switch-to-prev-buffer.
9397e56f
MR
13200 (bury-buffer): Move here from buffer.c. Switch to previous
13201 buffer when window cannot be deleted.
13202 (unbury-buffer): Move here from bindings.el.
13203 (ctl-x-map): Move binding for other-window from window.c to
13204 here.
13205 (read-buffer-to-switch, switch-to-buffer-other-window)
13206 (switch-to-buffer-other-frame): Move here from files.el.
13207 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13208 (switch-to-buffer): Move here from buffer.c.
13209 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13210
562dd5e9
MR
132112011-06-10 Martin Rudalics <rudalics@gmx.at>
13212
13213 * window.el (window-min-height, window-min-width): Move here
13214 from window.c. Add defcustoms and rewrite doc-strings.
13215 (resize-mini-window, resize-window): New functions.
13216 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13217 Move here from window.c.
13218 (maximize-window, minimize-window): New functions.
13219 (delete-window, delete-other-windows, split-window): Move here
13220 from window.c.
13221 (window-split-min-size): New function.
13222 (split-window-keep-point): Mention split-window-above-each-other
13223 instead of split-window-vertically.
2b75be67 13224 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13225 Rename split-window-vertically to split-window-above-each-other
13226 and provide defalias for old definition.
13227 (split-window-side-by-side, split-window-horizontally):
13228 Rename split-window-horizontally to split-window-side-by-side
13229 and provide defalias for the old definition.
562dd5e9
MR
13230 (ctl-x-map): Move bindings for delete-window,
13231 delete-other-windows and enlarge-window here from window.c.
13232 Replace bindings for split-window-vertically and
13233 split-window-horizontally by bindings for
13234 split-window-above-each-other and split-window-side-by-side.
13235
13236 * cus-start.el (all): Remove entries for window-min-height and
13237 window-min-width. Add entries for window-splits and
13238 window-nest.
13239
f0da764a
GM
132402011-06-09 Glenn Morris <rgm@gnu.org>
13241
80675c21
GM
13242 * calendar/appt.el (appt-mode-line): New function.
13243 (appt-check, appt-disp-window): Use it.
13244
f0da764a
GM
13245 * files.el (hack-one-local-variable-eval-safep):
13246 Allow minor-modes with explicit +/-1 arguments.
13247
59f623b7
TZ
132482011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13249
13250 * term/xterm.el (xterm): Add defgroup.
13251 (xterm-extra-capabilities): Add defcustom to supply known xterm
13252 capabilities, skip querying them, or query them (default).
13253 (terminal-init-xterm): Use it.
13254 (terminal-init-xterm-modify-other-keys): New function to set up
13255 modifyOtherKeys support to simplify `terminal-init-xterm'.
13256
9aab8e0d
MR
132572011-06-09 Martin Rudalics <rudalics@gmx.at>
13258
13259 * window.el (resize-window-reset, resize-window-reset-1)
13260 (resize-subwindows-skip-p, resize-subwindows-normal)
13261 (resize-subwindows, resize-other-windows, resize-this-window)
13262 (resize-root-window, resize-root-window-vertically)
13263 (window-deletable-p, window-or-subwindow-p)
13264 (frame-root-window-p): New functions.
13265
e8b08aee
GM
132662011-06-09 Glenn Morris <rgm@gnu.org>
13267
13268 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13269 (ange-ftp-get-files): Use it.
13270
254c37a5
AK
132712011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13272
13273 * mail/sendmail.el (mail-recover-1, mail-recover):
13274 * files.el (recover-file, recover-session):
13275 Handle dired-listing-switches not being just a single short option.
13276
35d7dbd3
GM
132772011-06-09 Glenn Morris <rgm@gnu.org>
13278
13279 * calendar/appt.el (appt-display-message, appt-disp-window):
13280 Handle lists of appointments.
13281
387522b2
MR
132822011-06-08 Martin Rudalics <rudalics@gmx.at>
13283
2b75be67
SM
13284 * window.el (one-window-p): Move down in code.
13285 Rewrite doc-string.
13286 (window-current-scroll-bars): Rewrite doc-string.
13287 Normalize live window argument.
387522b2
MR
13288 (walk-windows, get-window-with-predicate, count-windows):
13289 Rewrite doc-string. Use window-list-1.
13290 (window-in-direction-2, window-in-direction, get-mru-window):
13291 New functions.
13292
d8e4b68b 132932011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13294
13295 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13296 Doc fix (Bug#8713).
13297
132982011-06-08 Chong Yidong <cyd@stupidchicken.com>
13299
13300 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13301
133022011-06-08 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * loadhist.el (unload-feature-special-hooks):
13305 Add `comint-output-filter-functions'.
13306
0de12c52
IK
133072011-06-08 Ivan Kanis <gnu@kanis.fr>
13308
13309 * calendar/appt.el (appt-check): Move some initializations into the let.
13310
f3d1777e
MR
133112011-06-08 Martin Rudalics <rudalics@gmx.at>
13312
13313 * window.el (window-height): Defalias to window-total-height.
13314 (window-width): Defalias to window-body-width.
13315
18af70d0
CY
133162011-06-07 Chong Yidong <cyd@stupidchicken.com>
13317
13318 * image-mode.el (image-toggle-animation): New command.
13319 (image-mode-map): Bind it to RET.
13320 (image-mode): Update message.
13321 (image-toggle-display-image): Avoid a spurious cache flush.
13322 (image-transform-rotation): Doc fix.
13323 (image-transform-properties): Return quickly in the normal case.
13324 (image-animate-loop): Rename from image-animate-max-time.
13325
2b75be67 13326 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13327 (create-animated-image): Remove unnecessary function.
13328 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13329 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13330 (image-animate-timer): Use car-safe.
13331 (image-animate-timeout): Rename argument.
13332
190b47e6
MR
133332011-06-07 Martin Rudalics <rudalics@gmx.at>
13334
13335 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13336 window.c. Rename first argument to ALL-FRAMES.
13337 Rephrase doc-strings.
13338 (get-buffer-window-list): Rewrite using window-list-1.
13339 Rephrase doc-string.
a1511caf
MR
13340 (window-safe-min-height, window-safe-min-width): New constants.
13341 (window-size-ignore, window-min-size, window-min-size-1)
13342 (window-sizable, window-sizable-p, window-size-fixed-1)
13343 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13344 (window-max-delta-1, window-max-delta, window-resizable)
13345 (window-resizable-p, window-total-height, window-total-width)
13346 (window-body-width): New functions.
13347 (window-full-height-p, window-full-width-p): Rewrite using
13348 window-total-size.
13349 (window-body-height): Rewrite using window-body-size.
190b47e6 13350
85cc1f11
MR
133512011-06-06 Martin Rudalics <rudalics@gmx.at>
13352
13353 * window.el (window-right, window-left, window-child)
13354 (window-child-count, window-last-child, window-any-p)
13355 (normalize-live-buffer, normalize-live-frame)
13356 (normalize-any-window, normalize-live-window)
13357 (window-iso-combination-p, window-iso-combined-p)
13358 (window-iso-combinations)
13359 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13360 (windows-with-parameter, window-with-parameter)
13361 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13362 (window-atom-check, window-side-check, window-check):
13363 New functions.
85cc1f11
MR
13364 (ignore-window-parameters, window-sides, window-sides-vertical)
13365 (window-sides-slots): New variables.
13366 (window-size-fixed): Move down in code. Minor doc-string fix.
13367
e7156492
AS
133682011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13369
13370 * comint.el (comint-dynamic-complete-as-filename)
13371 (comint-dynamic-complete-filename): Correctly call
13372 completion-in-region.
13373
7e821d0d
DD
133742011-06-05 Deniz Dogan <deniz@dogan.se>
13375
13376 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13377 in last change.
13378
ac09b8a1
DD
133792011-06-05 Deniz Dogan <deniz@dogan.se>
13380
13381 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13382 (rcirc): Use it to prompt for encryption.
13383
34699b85
RW
133842011-06-05 Roland Winkler <winkler@gnu.org>
13385
13386 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13387 (bibtex-search-entries): New command bound to C-c C-a.
13388 (bibtex-display-entries): New function.
13389
004dedd3
RW
133902011-06-05 Roland Winkler <winkler@gnu.org>
13391
13392 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13393 (bibtex-insert-kill): After yanking insert newline if necessary.
13394 (bibtex-initialize): Call bibtex-string-files-init only once.
13395 (bibtex-mode): Do not call easy-menu-add.
13396 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13397 (bibtex-yank): Set arg properly if nil.
13398
022fe7ce
RW
133992011-06-05 Roland Winkler <winkler@gnu.org>
13400
2b75be67
SM
13401 * textmodes/bibtex.el (bibtex-search-entry-globally):
13402 New variable.
022fe7ce
RW
13403 (bibtex-search-entry): Use it.
13404
b7c3692a
RW
134052011-06-05 Roland Winkler <winkler@gnu.org>
13406
13407 * textmodes/bibtex.el (bibtex-entry-format): New option
13408 sort-fields.
13409 (bibtex-format-entry, bibtex-reformat): Honor this option.
13410 (bibtex-parse-entry): Return fields in proper order.
13411
8eda563d
JB
134122011-06-05 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * doc-view.el (doc-view-remove-if): Move computation of result out
13415 of `dolist' to silence misleading lexical-binding warning.
13416
7dbe3dbc
CY
134172011-06-04 Chong Yidong <cyd@stupidchicken.com>
13418
13419 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13420 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13421
0c33dd17
MA
134222011-06-04 Michael Albinus <michael.albinus@gmx.de>
13423
13424 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13425 "SunOS 5.10".
13426
f8f91c2b
MA
134272011-06-04 Michael Albinus <michael.albinus@gmx.de>
13428
13429 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13430 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13431 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13432 (tramp-parse-putty):
13433 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13434 (tramp-completion-function-alist-ssh)
13435 (tramp-completion-function-alist-telnet)
13436 (tramp-completion-function-alist-su)
13437 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13438 cookie.
13439
13440 * net/tramp-ftp.el:
13441 * net/tramp-sh.el:
13442 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13443 load "tramp.el" `tramp-set-completion-function'.
13444
e17d9003
SM
134452011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * shell.el: Require and use pcomplete.
13448 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13449 (shell-completion-vars): Set pcomplete-default-completion-function.
13450
6c4cab03
DD
134512011-06-04 Deniz Dogan <deniz@dogan.se>
13452
13453 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13454 `memq' (Bug#8799).
13455
ea9fafe0
SM
134562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13459
b3e945d3
JB
134602011-06-02 Juanma Barranquero <lekktu@gmail.com>
13461
13462 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13463 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13464 * vc/log-view.el (log-view-beginning-of-defun):
13465 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13466 (smerge-refine-forward, smerge-refine-chopup-region):
13467 Silence warning for unused `dotimes' counter variables.
13468
7d520089
SM
134692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13470
13471 * net/tramp.el (tramp-with-progress-reporter): Rename from
13472 with-progress-reporter. Use `declare'.
13473 * net/tramp-smb.el:
13474 * net/tramp-sh.el:
13475 * net/tramp-gvfs.el: Update all uses.
13476
a1c2400f
JB
134772011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13478
13479 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13480 buffer isn't killed before making it current.
13481
2403c841
SM
134822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 Silence various byte-compiler warnings.
13485 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13486 `access-type' and new obsolescence format.
13487 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13488 new format.
13489 (byte-compile-check-variable): New `access-type' argument.
13490 Only warn if the access-type is obsolete.
13491 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13492 (byte-compile-variable-set): Adjust callers.
13493 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13494 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13495 setting it as obsolete.
13496 * simple.el (minibuffer-completing-symbol):
13497 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13498 access as obsolete.
13499 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13500 obsolete yet.
13501 * international/quail.el (quail-mouse-choose-completion): Remove unused
13502 code referring to obsolete var.
13503 (quail-choose-completion-string): Remove.
13504 * server.el (server-clients-with, server-kill-buffer-query-function)
13505 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13506 * proced.el (proced-send-signal):
13507 * emacs-lisp/lisp.el (lisp-complete-symbol):
13508 Replace completion-annotate-function with completion-extra-properties.
13509
2462470b
SM
135102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13511
fb5b2591
SM
13512 * simple.el (goto-line): Use read-number.
13513 (overriding-map-is-bound): Remove.
13514 (saved-overriding-map): Change default.
13515 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13516 Take the map as argument.
13517 (universal-argument, negative-argument, digit-argument): Use it.
13518 (restore-overriding-map): Adjust.
13519 (do-auto-fill): Use fill-forward-paragraph.
13520 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13521
fd6fa53f
SM
13522 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13523 (minibuffer-inactive-mode): New major mode.
13524 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13525 the *Messages* buffer" hack.
13526 (mouse-popup-menubar): Don't burp if the event is a normal key.
13527
2462470b
SM
13528 Miscellaneous tweaks.
13529 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13530 lexical scoping as in subr.el's dolist and dotimes.
13531 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13532 Silence compiler warning.
13533 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13534 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13535 * international/ccl.el (ccl-compile): Trivial simplification.
13536 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13537 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13538 `printflag' argument.
13539 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13540 Purecopy the whole obsolescence data.
13541
108bf785
LL
135422011-06-01 Leo Liu <sdl.web@gmail.com>
13543
13544 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13545 improve doc-string as suggested by Marco Pessotto
13546 <melmothx@gmail.com>.
13547 (rcirc-print): Fix last change.
13548
30a23501
SM
135492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * minibuffer.el (complete-with-action): Return nil for the metadata and
13552 boundaries of non-functional tables.
13553 (completion-table-dynamic): Return nil for the metadata.
13554 (completion-table-with-terminator): Add default case, using
13555 complete-with-action.
13556 (completion--metadata): New function.
13557 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13558 to try and avoid pathological performance problems.
13559 (completion--embedded-envvar-table): Return `category' metadata.
13560
bcd54f83
LMI
135612011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13562
13563 * subr.el (process-alive-p): New tiny convenience function.
13564
e227544d
SM
135652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13568 content but also its previous major mode.
13569
e8296fdc
HE
135702011-05-31 Helmut Eller <eller.helmut@gmail.com>
13571
4d61f28d 13572 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13573 *Backtrace* buffer when we exit with C-M-c.
13574
620c53a6
SM
135752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13576
13577 * minibuffer.el: Add metadata method to completion tables.
13578 (completion-category-overrides): New defcustom.
13579 (completion-metadata, completion--field-metadata)
13580 (completion-metadata-get, completion--styles)
13581 (completion--cycle-threshold): New functions.
13582 (completion-try-completion, completion-all-completions):
13583 Add `metadata' argument to choose completion-styles.
13584 (completion--do-completion): Use metadata to choose cycling.
13585 (completion-all-sorted-completions): Use metadata for sorting.
13586 Remove :completion-cycle-penalty which is not needed any more.
13587 (completion--try-word-completion): Add `metadata' argument.
13588 (minibuffer-completion-help): Check metadata for annotation function
13589 and sorting.
13590 (completion-file-name-table): Return `category' metadata.
13591 (minibuffer-completing-file-name): Make obsolete.
13592 * simple.el (minibuffer-completing-symbol): Make obsolete.
13593 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13594 completion-try-completion.
13595
1257e755
SM
135962011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13599
3767e706
LL
136002011-05-30 Leo Liu <sdl.web@gmail.com>
13601
13602 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13603 (rcirc-print): Decode all incoming messages (bug#8744).
13604 (rcirc-decode-coding-system): Allow value nil for automatic coding
13605 system detection.
3767e706 13606
d1a5d56a
GM
136072011-06-01 Glenn Morris <rgm@gnu.org>
13608
13609 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13610
e8cbec34
CY
136112011-05-29 Chong Yidong <cyd@stupidchicken.com>
13612
13613 * image.el (image-animate-max-time): Allow nil and t values.
13614 Default to nil.
13615 (create-animated-image): Doc fix.
13616 (image-animate-start): Remove second arg; just use
13617 image-animate-max-time.
13618 (image-animate-timeout): Doc fix. Args changed.
13619
13620 * image-mode.el (image-toggle-display-image): Ensure that the
13621 image spec passed to the animate timer is the same object as in
58179cce 13622 the buffer's display property (Bug#6981).
e8cbec34
CY
13623 (image-transform-properties): Doc fix.
13624
13625 * image.el (image-animate-max-time): Default to nil.
13626
159daf87
MR
136272011-05-29 Martin Rudalics <rudalics@gmx.at>
13628
13629 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13630 entire buffer list (Bug#8184).
13631
d66c4c7c
CY
136322011-05-29 Chong Yidong <cyd@stupidchicken.com>
13633
13634 * image.el (imagemagick-types-inhibit)
13635 (imagemagick-register-types): Doc fix.
13636
80aec780
DD
136372011-05-29 Deniz Dogan <deniz@dogan.se>
13638
13639 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13640 default.
13641
1dd3c2d9
CY
136422011-05-29 Chong Yidong <cyd@stupidchicken.com>
13643
13644 * select.el: Don't perform clipboard-manager saving in hooks;
13645 leave the hooks empty.
13646
60e56523
LL
136472011-05-28 Leo Liu <sdl.web@gmail.com>
13648
13649 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13650 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13651 (occur-edit-mode): New major mode (Bug#8463).
13652 (occur-after-change-function): New function.
13653 (occur-engine): Give Occur tags a read-only property.
13654
2b1e1a22
KR
136552011-05-28 Kevin Ryde <user42@zip.com.au>
13656
13657 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13658
5d344e88
CY
136592011-05-28 Chong Yidong <cyd@stupidchicken.com>
13660
8e6ca83d
CY
13661 * bindings.el (help-echo): Make the initial non-indicator dash
13662 empty on graphical terminals (Bug#7295).
13663
5d344e88
CY
13664 * files.el (auto-mode-alist): Move config rule after the
13665 in-stripping one (Bug#8547).
13666
bfbbace7
CY
13667 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13668
fbeba6e2
CY
13669 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13670 setting (Bug#8740).
13671
60ed8c72
AA
136722011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13673
4ac619f0
AA
13674 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13675 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13676 (Bug#8539).
60ed8c72 13677
23db196e
CY
136782011-05-28 Chong Yidong <cyd@stupidchicken.com>
13679
13680 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13681
5012f24c
DK
136822011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13683
13684 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13685 (hs-hide-block-at-point, hs-find-block-beginning)
13686 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13687 (Bug#8279).
13688
6a639b16
GM
136892011-05-28 Glenn Morris <rgm@gnu.org>
13690
13691 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13692
d43eaf2c
CY
136932011-05-28 Chong Yidong <cyd@stupidchicken.com>
13694
5199bde1
CY
13695 * help-fns.el (describe-function-1): If the function is a derived
13696 major mode, print the parent mode.
13697
d43eaf2c
CY
13698 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13699 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13700
423428a8
SM
137012011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13702
0ff8e1ba 13703 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13704 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13705 * progmodes/etags.el (tags-completion-at-point-function):
13706 * info-look.el (info-lookup-completions-at-point): Mark as
13707 non-exclusive.
13708 (info-complete): Adjust accordingly.
13709
423428a8
SM
13710 * info-look.el: Convert to lexical-binding and completion-at-point.
13711 (info-lookup-completions-at-point): New function.
13712 (info-complete): Use it and completion-in-region.
13713
b74aa22b
DA
137142011-05-28 Drew Adams <drew.adams@oracle.com>
13715
13716 * isearch.el: Let M-e start with point at the first mismatched char.
13717 (isearch-fail-pos): New function.
13718 (isearch-edit-string): Use it.
13719
66e2e71d
DK
137202011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13721
13722 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13723
b1890b0f 137242011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13725
13726 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13727 traversal functions for avl-trees.
13728 (avl-tree--stack): New struct.
13729 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13730 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13731 (avl-tree--do-enter): Add optional `updatefun' arg.
13732 Change return value.
eb95d01d 13733 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13734 (avl-tree--do-delete): Add `test' and `nilflag' args.
13735 Change return value.
eb95d01d
TC
13736 (avl-tree-member): Add optional `nilflag'
13737 (avl-tree-member-p): New function.
13738 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13739 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13740 (avl-tree-stack-empty-p): New functions.
13741
3769ddcf
TC
13742 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13743 avl-tree--del-balance1 and make it work both ways.
13744 (avl-tree--del-balance2): Remove.
13745 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13746 make it work both ways.
13747 (avl-tree--enter-balance2): Remove.
13748 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13749 New macros.
13750 (avl-tree--mapc, avl-tree-map): Add direction argument.
13751
eb95d01d 137522011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13753
13754 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13755
a9f737ee
CY
137562011-05-27 Chong Yidong <cyd@stupidchicken.com>
13757
13758 * select.el: Support clipboard managers with built-in function
13759 x-clipboard-manager-save, via delete-frame-functions and
13760 kill-emacs-hook.
13761 (xselect-convert-to-targets): Add MULTIPLE target to list.
13762 (xselect-convert-to-save-targets): New function.
13763
c92a1e54
KH
137642011-05-27 Kenichi Handa <handa@m17n.org>
13765
13766 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13767 let-binding rfc2047-encode-encoded-words to nil.
13768
e145f188
GM
137692011-05-27 Glenn Morris <rgm@gnu.org>
13770
5ec8a862
GM
13771 * mail/emacsbug.el: Don't require url-util.
13772
4b29d9fb
GM
13773 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13774
e145f188
GM
13775 * files.el (set-auto-mode):
13776 Also respect mode: entries at the end of the file. (Bug#8586)
13777
7d15102b
GM
137782011-05-26 Glenn Morris <rgm@gnu.org>
13779
98f593b8
GM
13780 * files.el (hack-local-variables-prop-line, hack-local-variables):
13781 Downcase mode names, as seems to be traditional.
27b48e63 13782 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13783
7d15102b
GM
13784 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13785 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13786
51d5b4ec
JD
137872011-05-25 Julien Danjou <julien@danjou.info>
13788
13789 * textmodes/rst.el (rst-define-level-faces): Do not define face
13790 symbol if it is already defined.
13791
91513f63
VB
137922011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13793
13794 * play/5x5.el (5x5-new-game, 5x5-randomize):
13795 Reset 5x5-solver-output to nil when a new grid is cast.
13796 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13797 these debugging traces, as defmacro breaks the compiled code.
13798
4d90d6d0
DK
137992011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13800
13801 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13802
e1b90ef6
LL
138032011-05-24 Leo Liu <sdl.web@gmail.com>
13804
13805 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13806 (vc-bzr-sha1): Adapt.
13807
d8e4b68b 13808 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13809
13810 * bindings.el: Provide sha1 feature.
13811
db0406bb 138122011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13813
13814 * mail/sendmail.el: Require `rfc2047'.
13815 (mail-insert-from-field): Do not perform RFC2047 encoding.
13816 (mail-encode-header): New function.
13817 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13818 buffer to the return value of select-message-coding-system.
13819 Call mail-encode-header.
b8d747b9
KH
13820
13821 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13822
db0406bb 138232011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13824
4d90d6d0
DK
13825 * mail/supercite.el (sc-default-cite-frame):
13826 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13827
eb8a5e9b
GM
138282011-05-24 Glenn Morris <rgm@gnu.org>
13829
f8630703
GM
13830 * progmodes/python.el (brm-menu): Declare.
13831
8831bbed
GM
13832 * emulation/viper.el (viper-set-hooks): Declare.
13833
eb8a5e9b
GM
13834 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13835 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13836 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13837 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13838 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13839 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13840
a2a25d24
SM
138412011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 Add an :exit-function for completion-at-point.
13844
13845 * minibuffer.el (completion--done): New fun.
13846 (completion--do-completion): Use it. New arg `expect-exact'.
13847 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13848 since completion--do-completion does it for us now.
13849 (minibuffer-force-complete): Use completion--done and
13850 completion--replace. Handle sole-completion case with more care.
13851 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13852 (completion-extra-properties): New var.
13853 (completion-annotate-function): Make obsolete.
13854 (minibuffer-completion-help): Adjust accordingly.
13855 Use completion-list-insert-choice-function.
13856 (completion-at-point, completion-help-at-point):
13857 Bind completion-extra-properties.
13858 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13859 * simple.el (completion-list-insert-choice-function): New var.
13860 (completion-setup-function): Preserve it.
13861 (choose-completion): Pay attention to it, shuffle the code a bit.
13862 (choose-completion-string): New arg `insert-function'.
13863
13864 * textmodes/bibtex.el: Convert to lexical binding.
13865 (bibtex-mode-map): Use completion-at-point.
13866 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13867 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13868 (bibtex-complete): Define as obsolete alias.
13869 (bibtex-complete-internal): Remove.
13870 (bibtex-format-entry): Remove unused sub-group in regexp.
13871 * shell.el (shell--command-completion-data)
13872 (shell-environment-variable-completion):
13873 * pcomplete.el (pcomplete-completions-at-point):
13874 * comint.el (comint--complete-file-name-data): Use :exit-function
13875 instead of completion-table-with-terminator so it also works for
13876 choose-completion.
13877
e44e373d
SM
138782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13879
4f91a816
SM
13880 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13881
782fc819
SM
13882 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13883 (bug#8710).
13884
e44e373d
SM
13885 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13886
381987c3
KM
138872011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13888
13889 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13890 customization variable and implement: If non-nil, auto-fill will
13891 be inhibited while on topic's header line.
13892
b776bc70
VB
138932011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13894
13895 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13896 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13897 always have a solution in grid size = 5 cases.
13898 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13899 (5x5-solver-output, 5x5-log-buffer): New vars.
13900 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13901 Make these variables buffer local to achieve 5x5 multi-session-ness.
13902 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13903 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13904 (5x5-solve-suggest): New funs.
13905 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13906 randomize a grid so that we ensure that there is always a solution.
13907 (5x5-make-random-grid): Allow other movement than flipping.
13908
7de88b6e
KR
139092011-05-23 Kevin Ryde <user42@zip.com.au>
13910
13911 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13912 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13913 advice and passes PREDICATE.
13914
b1ef1257
SM
139152011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13916
bbca48fe
SM
13917 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13918 byte-compile-lambda if it's actually a lambda.
13919
b1ef1257
SM
13920 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13921 Fix function quoting. Use backquote better.
13922
92a9cc65
YS
139232011-05-22 Yuanle Song <sylecn@gmail.com>
13924
13925 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13926 matching (Bug#8516).
13927
f0fb8059
JA
139282011-01-22 Jari Aalto <jari.aalto@cante.net>
13929
13930 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13931 different face (Bug#8178).
13932
d5b44c93
CY
139332011-05-22 Chong Yidong <cyd@stupidchicken.com>
13934
13935 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13936 defface (Bug#8144).
13937
79106a44
SM
139382011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13939
9c848d8a
SM
13940 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13941 funcall as well (bug#8712). Warn when performing those conversions.
13942 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13943
79106a44
SM
13944 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13945
88dfa756
GM
139462011-05-22 Glenn Morris <rgm@gnu.org>
13947
13948 * files.el (hack-local-variables-prop-line): Small simplifications.
13949 (hack-local-variables, hack-local-variables-prop-line):
13950 If MODE-ONLY, return the mode, rather than just `t'.
13951
b7cf2c79
SM
139522011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13955
3f1a8558
GM
139562011-05-21 Glenn Morris <rgm@gnu.org>
13957
7e4ccca3
GM
13958 * files.el (hack-local-variables-prop-line, hack-local-variables):
13959 If only interested in the mode, don't bother doing the other stuff.
13960
637d46ca
GM
13961 * image-mode.el (image-after-revert-hook):
13962 Redraw all frames on which the image is visible. (Bug#8567)
13963
973d955b
GM
13964 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13965
3f1a8558
GM
13966 * wid-edit.el (widget-checklist-match-inline):
13967 Fix 2011-04-19 change. (Bug#8649)
13968
96479927
SM
139692011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13970
1dcf791f
SM
13971 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13972 Also allow singlespace after single-letter capitals followed by a dot.
13973
96479927
SM
13974 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13975 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13976
35fd0881
N
139772011-05-20 Nix <nix@esperi.org.uk>
13978
13979 * files.el (basic-save-buffer-2):
13980 Fix handling of break-hardlink-on-save with non-existent files.
13981
82745640
DD
139822011-05-19 Deniz Dogan <deniz@dogan.se>
13983
13984 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13985 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13986
4a720484
GM
139872011-05-19 Glenn Morris <rgm@gnu.org>
13988
d1f21341
GM
13989 * progmodes/f90.el (f90-type-def-re):
13990 Handle "type, bind(c)". (Bug#8691)
13991
4a720484
GM
13992 * emacs-lisp/autoload.el (batch-update-autoloads):
13993 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13994
2fb0a219
MA
139952011-05-18 Michael Albinus <michael.albinus@gmx.de>
13996
13997 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13998 property for the correct connection in case of multihops.
13999
e565dd37
GM
140002011-05-18 Glenn Morris <rgm@gnu.org>
14001
c2571358 14002 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14003 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14004
e565dd37
GM
14005 Rationalize calendar handling of day and month abbrev-arrays.
14006 * calendar/calendar.el (calendar-customized-p): New function.
14007 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14008 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14009 Add :set function.
14010 (calendar-abbrev-length, calendar-day-abbrev-array)
14011 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14012 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14013 Elements may no longer be nil.
14014 (calendar-day-name, calendar-month-name):
14015 Update for changed nature of abbrev arrays.
14016 * calendar/diary-lib.el (diary-name-pattern):
14017 Update for changed nature of abbrev arrays.
14018 (diary-mark-entries-1): Update calendar-make-alist calls.
14019 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14020 * calendar/cal-html.el (cal-html-day-abbrev-array):
14021 Simply inherit from calendar-day-abbrev-array.
14022
1d99a745
SM
140232011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14024
14025 * progmodes/grep.el (grep-mode): Disable default
14026 compilation-directory-matcher setting (bug#8684).
14027
7c1d9aa0
MA
140282011-05-17 Michael Albinus <michael.albinus@gmx.de>
14029
14030 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14031 instead of "head" and "tail". There were problems with SunOS 5.9,
14032 and it performs better.
14033
3952e9d8
GM
140342011-05-17 Glenn Morris <rgm@gnu.org>
14035
2dd12e7f
GM
14036 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14037
e4157b9c
GM
14038 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14039 Replace obsolete function.
14040
8e249bbd
GM
14041 * shell.el (pcomplete-parse-arguments-function): Declare.
14042
3952e9d8
GM
14043 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14044 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14045 (appt-check): Doc fixes.
14046 (appt-disp-window-function, appt-delete-window-function):
14047 Remove needless special case in custom :type.
14048 (appt-display-count): Default to 0, not nil.
14049 (appt-check): Reset appt-display-count to 0, not nil.
14050
c71a0d48 140512011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14052
c71a0d48
GM
14053 * progmodes/python.el (python-font-lock-keywords):
14054 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14055
31d55be9
SM
140562011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14059
3bfacb2f
KR
140602011-05-16 Kevin Ryde <user42@zip.com.au>
14061
14062 * info-look.el (makefile-automake-mode): New setups, looking in
14063 automake manual, then makefile-mode.
14064 (makefile-mode): Remove automake manual, have it just in
14065 makefile-automake-mode since there's various things different or
14066 not relevant to plain make.
14067 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14068 believe a hypothetical automake-mode would go to makefile-mode,
14069 not the other way around.
14070
c8e83751
CY
140712011-05-15 Chong Yidong <cyd@stupidchicken.com>
14072
5e9e35cd
CY
14073 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14074 hunk-end tags (Bug#8672).
14075
c8e83751
CY
14076 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14077 vc-annotate-show-diff-revision-at-line (Bug#8671).
14078
50b23e5a
GM
140792011-05-14 Glenn Morris <rgm@gnu.org>
14080
7210a739
GM
14081 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14082 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14083 (change-log-font-lock-keywords): Also handle multiple author lines
14084 with leading tabs. (Bug#8644)
7210a739 14085
4691905a
GM
14086 * calendar/appt.el (appt-check): Rename some local variables.
14087 Some simplification/reordering.
14088
50b23e5a
GM
14089 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14090 (feedmail-sendmail-f-doesnt-sell-me-out)
14091 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14092 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14093 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14094 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14095 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14096 (feedmail-binmail-gnulinuxish-template):
14097 Rename from feedmail-binmail-linuxish-template.
14098 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14099 Use insert-buffer-substring.
14100
215cda7c
BC
141012011-05-14 Bill Carpenter <bill@carpenter.org>
14102
14103 * mail/feedmail.el (feedmail-patch-level): Increase.
14104 (feedmail-debug): New custom group.
14105 (feedmail-confirm-outgoing-timeout)
14106 (feedmail-sendmail-f-doesnt-sell-me-out)
14107 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14108 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14109 (feedmail-sender-line, feedmail-from-line)
14110 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14111 (feedmail-spray-this-address)
215cda7c
BC
14112 (feedmail-spray-address-fiddle-plex-list)
14113 (feedmail-queue-use-send-time-for-date)
14114 (feedmail-queue-use-send-time-for-message-id)
14115 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14116 (feedmail-buffer-eating-function):
14117 Doc fixes.
14118 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14119 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14120 (feedmail-message-action-scroll-down): New functions.
14121 (feedmail-queue-directory, feedmail-queue-draft-directory):
14122 Use expand-file-name.
14123 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14124 Remove C-v help entry.
14125 (feedmail-queue-buffer-file-name): New variable.
14126 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14127 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14128 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14129 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14130 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14131 (feedmail-message-action-toggle-spray)
14132 (feedmail-run-the-queue-no-prompts)
14133 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14134 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14135 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14136 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14137 (feedmail-envelope-deducer, feedmail-fiddle-from)
14138 (feedmail-fiddle-sender, feedmail-default-date-generator)
14139 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14140 (feedmail-fiddle-spray-address)
14141 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14142 (feedmail-fiddle-list-of-fiddle-plexes)
14143 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14144 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14145 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14146 Change default. Doc fix.
14147 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14148 (feedmail-binmail-linuxish-template): New constant.
14149 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14150 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14151 (feedmail-send-it): Add debug call.
14152 Use feedmail-queue-buffer-file-name, and
14153 feedmail-send-it-immediately-wrapper.
14154 (feedmail-message-action-send): Add debug call.
14155 Use feedmail-send-it-immediately-wrapper.
14156 (feedmail-queue-express-to-queue): Add debug call.
14157 Run feedmail-queue-express-hook.
14158 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14159 (feedmail-message-action-help-blat):
14160 Rename from feedmail-queue-send-edit-prompt-help-first.
14161 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14162 Check line-endings. Handle errors better.
14163 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14164 Doc fix. Add debug call.
14165 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14166 Use feedmail-queue-send-edit-prompt-inner.
14167 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14168 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14169 from feedmail-queue-send-edit-prompt.
14170 (feedmail-queue-send-edit-prompt-help)
14171 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14172 (feedmail-tidy-up-slug): Add debug call.
14173 Respect feedmail-queue-slug-suspect-regexp.
14174 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14175 (feedmail-dump-message-to-queue): Add debug call.
14176 Expand queue-directory.
14177 (feedmail-dump-message-to-queue): Change message slightly.
14178 Use feedmail-say-chatter.
14179 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14180 (feedmail-send-it-immediately-wrapper): New function.
14181 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14182 Insert empty string rather than newline. Handle full-frame case.
14183 Use catch/throw. Use feedmail-say-chatter.
14184 (feedmail-fiddle-from): Try mail-host-address.
14185 (feedmail-default-message-id-generator): Doc fix.
14186 Bind system-time-locale. Handle missing end.
14187 (feedmail-fiddle-x-mailer): Add debug call.
14188 Handle feedmail-x-mailer-line being nil.
14189 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14190 Add debug call. Use buffer-substring-no-properties.
14191 (feedmail-say-debug, feedmail-say-chatter): New functions.
14192 (feedmail-find-eoh): Give an explicit error.
14193
42c7e61e
UJ
141942011-05-13 Ulf Jasper <ulf.jasper@web.de>
14195
c2571358 14196 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14197 family from helvetica to sans.
c2571358 14198 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14199 etc/images/newsticker.
14200
c2571358 14201 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14202 family from helvetica to sans.
14203
14204 * net/newst-plainview.el (newsticker-new-item-face)
14205 (newsticker-old-item-face, newsticker-immortal-item-face)
14206 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14207 (newsticker-statistics-face): Change default family from
42c7e61e 14208 helvetica to sans.
c2571358 14209 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14210 etc/images/newsticker.
14211
5d3385a0
JB
14212 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14213 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14214 auto-marking.
14215
8497a297
DV
142162011-05-13 Didier Verna <didier@xemacs.org>
14217
14218 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14219 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14220 TODO entries.
8497a297
DV
14221 (lisp-lambda-list-keyword-parameter-indentation)
14222 (lisp-lambda-list-keyword-parameter-alignment)
14223 (lisp-lambda-list-keyword-alignment): New customizable user options.
14224 (lisp-indent-defun-method): Improve docstring.
14225 (extended-loop-p): Fix comment.
14226 (lisp-indent-lambda-list-keywords-regexp): New variable.
14227 (lisp-indent-lambda-list): New function.
14228 (lisp-indent-259): Use it.
14229 (lisp-indent-defmethod): Support for more than one
14230 method qualifier and properly indent methods lambda-lists.
14231 (defgeneric): Provide a missing common-lisp-indent-function property.
14232
f278f87f
SM
142332011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14236 bounds for the empty string (bug#8667).
14237
5233edd7
GM
142382011-05-13 Glenn Morris <rgm@gnu.org>
14239
5237a44f
GM
14240 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14241
8340026c 14242 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14243 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14244
5233edd7 14245 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14246 (appt-time-msg-list): Doc fix.
a5464014 14247 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14248
92d10796
AS
142492011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14250
14251 * progmodes/ld-script.el (ld-script-keywords)
14252 (ld-script-builtins): Update keywords list.
14253
914a0ae1
SM
142542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14255
c89be45f
SM
14256 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14257
914a0ae1
SM
14258 * shell.el (shell-completion-vars): New function.
14259 (shell-mode):
14260 * simple.el (read-shell-command): Use it.
14261 (blink-matching-open): No need for " [...]" in minibuffer-message.
14262
98dc3df3
GM
142632011-05-12 Glenn Morris <rgm@gnu.org>
14264
14265 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14266 (appt-check): Simplify.
14267
d2fc7e3d 142682011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14269
4d61f28d 14270 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14271 literal "/dev/null".
14272
d2fc7e3d 142732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14274
14275 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14276 Fix typo.
14277
d2fc7e3d 142782011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14279
3f254caa
SM
14280 * progmodes/which-func.el (which-function):
14281 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14282 which might not be defined (Bug#8260).
14283
d45885f7
GM
142842011-05-12 Glenn Morris <rgm@gnu.org>
14285
14286 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14287 Let byte-compile-initial-macro-environment always take precedence.
14288
488086f4
SM
142892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * net/rcirc.el: Add support for SSL/TLS connections.
14292 (rcirc-server-alist): New field `encryption'.
14293 (rcirc): Check `encryption' settings.
14294 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14295 Merge make-local-variable into `set'.
14296 (rcirc--connection-open-p): New function.
14297 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14298 the process is not a network process (e.g. running gnutls-cli).
14299 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14300 Make rcirc-(en|de)code-coding-system local here.
14301 (rcirc-mode): Merge make-local-variable into `set'.
14302 (rcirc-parent-buffer): Make permanent buffer-local.
14303 (rcirc-multiline-minor-mode): Don't do it here.
14304 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14305 there's no server buffer.
14306
7d3b9d44
GM
143072011-05-11 Glenn Morris <rgm@gnu.org>
14308
f64049c6
GM
14309 * newcomment.el (comment-kill): Prefix "unused" local.
14310
93c9df73
GM
14311 * term/w32console.el (get-screen-color): Declare.
14312
7d3b9d44
GM
14313 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14314 Handle symbol elements of byte-compile-initial-macro-environment.
14315
9e2dd53f
LL
143162011-05-10 Leo Liu <sdl.web@gmail.com>
14317
488086f4
SM
14318 * bookmark.el (bookmark-bmenu-mode-map):
14319 Bind bookmark-bmenu-search to `/'.
8b340240 14320
9e2dd53f 14321 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14322 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14323 (Footnote-unicode): New function.
14324 (footnote-style-alist): Add unicode style to the list.
14325 (footnote-style): Doc fix.
9e2dd53f 14326
79b70037
GM
143272011-05-10 Jim Meyering <meyering@redhat.com>
14328
14329 Fix doubled-word typos.
14330 * international/quail.el (quail-insert-kbd-layout): and and -> and
14331 * kermit.el: and and -> and
14332 * net/ldap.el (ldap-search-internal): to to -> to
14333 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14334 * progmodes/js.el (js-mode): and and -> and
14335 * textmodes/artist.el (artist-move-to-xy): at at -> at
14336 (artist-draw-region-trim-line-endings): if if -> if
14337 And Safetyc -> Safety.
14338 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14339
b8f82dc1 143402011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14341 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14342
14343 * files.el (hack-one-local-variable-eval-safep):
14344 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14345
4f99f44b
GM
143462011-05-10 Glenn Morris <rgm@gnu.org>
14347
14348 * calendar/diary-lib.el (diary-list-entries-hook)
14349 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14350 (diary-nongregorian-marking-hook, diary-list-entries)
14351 (diary-include-other-diary-files, diary-mark-entries)
14352 (diary-mark-included-diary-files): Doc fixes.
14353
84f29e6b
JB
143542011-05-09 Juanma Barranquero <lekktu@gmail.com>
14355
14356 * misc.el: Require tabulated-list.el during compilation.
14357
9bedd73a
CY
143582011-05-09 Chong Yidong <cyd@stupidchicken.com>
14359
488086f4
SM
14360 * progmodes/compile.el (compilation-start):
14361 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14362 (compilation-filter-hook): Doc fix.
14363
797c735c
DD
143642011-05-09 Deniz Dogan <deniz@dogan.se>
14365
14366 * wdired.el: Remove outdated installation comment. Fix usage
14367 comment.
14368
5f4b1dfe
JB
143692011-05-09 Juanma Barranquero <lekktu@gmail.com>
14370
14371 * misc.el: Implement new command `list-dynamic-libraries'.
14372 (list-dynamic-libraries--loaded-only-p): New variable.
14373 (list-dynamic-libraries--refresh): New function.
14374 (list-dynamic-libraries): New command.
14375
4c44026c
CY
143762011-05-09 Chong Yidong <cyd@stupidchicken.com>
14377
488086f4
SM
14378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14379 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14380 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14381 higher priority to avoid clobbering by gnu.
14382
027f966d
CY
143832011-05-08 Chong Yidong <cyd@stupidchicken.com>
14384
14385 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14386 if the face has existing theme settings (Bug#8454).
14387
085f5d7d
CY
143882011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14389
488086f4
SM
14390 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14391 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14392
2a86a00c
RS
14393 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14394 special file names `.' and `..' (Bug#8259).
14395
d9c54a06
CY
143962011-05-08 Chong Yidong <cyd@stupidchicken.com>
14397
488086f4
SM
14398 * progmodes/grep.el (grep-mode-font-lock-keywords):
14399 Remove buffer-changing entries.
d9c54a06
CY
14400 (grep-filter): New function.
14401 (grep-mode): Add it to compilation-filter-hook.
14402
14403 * progmodes/compile.el (compilation-filter-hook)
14404 (compilation-filter-start): New defvars.
14405 (compilation-filter): Call compilation-filter-hook prior to
14406 updating the process mark.
14407
c4662635
SM
144082011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14411
b0512a1d
EZ
144122011-05-07 Eli Zaretskii <eliz@gnu.org>
14413
605c9376
EZ
14414 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14415 mailclient-send-it even if window-system is nil. (Bug#8595)
14416
c4662635
SM
14417 * term/w32console.el (terminal-init-w32console):
14418 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14419 background-mode. (Bug#8597)
14420
d1dc2cc2
SM
144212011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14424 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14425 New functions.
14426 (defgeneric, eieio--defmethod): Use them.
14427 (eieio-defgeneric): Remove.
14428 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14429
915d1300
GM
144302011-05-07 Glenn Morris <rgm@gnu.org>
14431
a3961c3e
GM
14432 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14433 Use let rather than let*.
14434 (timeclock-find-discrep): Remove unused local.
14435
314347b9
GM
14436 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14437
915d1300
GM
14438 * calendar/appt.el (appt-time-msg-list): Doc fix.
14439
275b59b0
NF
144402011-05-06 Noah Friedman <friedman@splode.com>
14441
14442 * apropos.el (apropos-print-doc): Only use
14443 emacs-lisp-docstring-fill-column when it is bound to an integer,
14444 per that variable's documentation.
14445
6c19f744
SM
144462011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14449 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14450
60f884b2
GM
144512011-05-06 Glenn Morris <rgm@gnu.org>
14452
5006e634
GM
14453 * calendar/appt.el (appt-message-warning-time): Doc fix.
14454 (appt-warning-time-regexp): New option.
14455 (appt-make-list): Respect appt-message-warning-time.
14456
548d0a63
GM
14457 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14458 New options.
14459 (diary-add-to-list): Strip comments from the displayed string.
14460 (diary-mode): Set comment-start and comment-end.
14461
60f884b2
GM
14462 * vc/diff-mode.el (smerge-refine-subst): Declare.
14463 (diff-refine-hunk): Don't require smerge-mode when compiling.
14464
989681bb
JB
144652011-05-06 Juanma Barranquero <lekktu@gmail.com>
14466
14467 * simple.el (list-processes): Return nil as the docstring says.
14468
a6bc05e1
MA
144692011-05-05 Michael Albinus <michael.albinus@gmx.de>
14470
14471 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14472 to "".
14473 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14474 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14475 determining of binary transfer. (Bug#7383)
14476
23c22e9a
MA
144772011-05-05 Michael Albinus <michael.albinus@gmx.de>
14478
c4662635
SM
14479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14480 Fix port computation bug. (Bug#8618)
23c22e9a 14481
0bff894f
GM
144822011-05-05 Glenn Morris <rgm@gnu.org>
14483
b8296902
GM
14484 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14485
1f522ce8
GM
14486 * simple.el (shell-dynamic-complete-functions)
14487 (comint-dynamic-complete-functions): Declare.
14488
cf5bee67
GM
14489 * net/network-stream.el (gnutls-negotiate):
14490 * simple.el (tabulated-list-print): Fix declarations.
14491
14492 * progmodes/gud.el (syntax-symbol, syntax-point):
14493 Remove unnecessary and incorrect declarations.
14494
0bff894f
GM
14495 * emacs-lisp/check-declare.el (check-declare-scan):
14496 Handle byte-compile-initial-macro-environment in bytecomp.el
14497
9869b3ae
SM
144982011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14499
14500 Fix earlier half-done eieio-defmethod change (bug#8338).
14501 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14502 Streamline and change calling convention.
14503 (defmethod): Adjust accordingly and simplify.
14504 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14505 new eieio--defmethod.
14506 (slot-boundp): Minor CSE simplification.
14507
9c1d5ac5
MZ
145082011-05-05 Milan Zamazal <pdm@zamazal.org>
14509
14510 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14511 (glasses-make-readable): Use glasses-separate-capital-groups.
14512
455c834e
JB
145132011-05-05 Juanma Barranquero <lekktu@gmail.com>
14514
14515 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14516 (warning-series): Doc fix.
14517 (display-warning): Don't try to create the buffer if we just found it.
14518
9ed7c8cb
CY
145192011-05-04 Chong Yidong <cyd@stupidchicken.com>
14520
14521 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14522 (autoload-find-generated-file): New function.
14523 (generate-file-autoloads): Bind generated-autoload-file to
14524 buffer-file-name.
9869b3ae
SM
14525 (update-file-autoloads, update-directory-autoloads):
14526 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14527 output file (Bug#7989).
14528 (batch-update-autoloads): Doc fix.
14529
0898ca10
JB
145302011-05-04 Juanma Barranquero <lekktu@gmail.com>
14531
14532 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14533
31dfb76c
GM
145342011-05-04 Glenn Morris <rgm@gnu.org>
14535
f330b642
GM
14536 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14537 function, so it follows changes in calendar-date-style.
14538 (diary-fancy-date-matcher): New function.
14539 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14540 (diary-fancy-font-lock-fontify-region-function):
14541 Use diary-fancy-date-pattern as a function.
14542
31dfb76c
GM
14543 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14544 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14545
48e79d6a
TZ
145462011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14547
14548 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14549 instead of positional arguments. Allow :keylist and :crlfiles
14550 arguments.
14551 (open-gnutls-stream): Call it.
14552
14553 * net/network-stream.el (network-stream-open-starttls): Adjust to
14554 call `gnutls-negotiate' with :process and :hostname arguments.
14555
dd5a5ee0
SM
145562011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14557
ef80fc09
SM
14558 * minibuffer.el (completion--message): New function.
14559 (completion--do-completion, minibuffer-complete)
14560 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14561 (completion--do-completion): Don't ignore completion-auto-help when in
14562 icomplete-mode.
14563
dd5a5ee0
SM
14564 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14565 internal encoding (e.g. tibetan zero is not whitespace).
14566 (global-whitespace-mode): Prefer save-current-buffer.
14567 (whitespace-trailing-regexp): Remove useless save-match-data.
14568 (whitespace-empty-at-bob-regexp): Minor simplification.
14569
b7d22a83
CY
145702011-05-03 Chong Yidong <cyd@stupidchicken.com>
14571
14572 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14573
5192af46
AM
145742011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14575
14576 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14577 Use `concat' to create string for insertion.
5192af46 14578
5767d190
SM
145792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14580
14581 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14582 Avoid open-line which runs post-self-insert-hook.
14583 (bibtex-fill-entry): Remove unused `end' var.
14584
bf242939
AM
145852011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14586
5767d190
SM
14587 * textmodes/ispell.el (ispell-add-per-file-word-list):
14588 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14589
25666126
LL
145902011-05-03 Leo Liu <sdl.web@gmail.com>
14591
14592 * isearch.el (isearch-yank-pop): New command.
5767d190 14593 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14594 (isearch-forward): Mention it.
14595
52d3c2d0
SM
145962011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14597
1bcace58
SM
14598 * simple.el (minibuffer-complete-shell-command): Remove.
14599 (minibuffer-local-shell-command-map): Use completion-at-point.
14600 (read-shell-command): Setup completion vars here instead.
14601 (read-expression-map): Bind TAB to symbol completion.
14602
52d3c2d0
SM
14603 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14604 error directly rather via storing it into `results'.
14605
35813471
LL
146062011-05-02 Leo Liu <sdl.web@gmail.com>
14607
14608 * vc/diff.el: Fix description.
14609
e793a940
LMI
146102011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14611
14612 * server.el (server-eval-at): New function.
14613
8de66e05
LMI
146142011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14615
14616 * net/network-stream.el (open-network-stream): Take a :nowait
14617 parameter and pass it on to `make-network-process'.
14618 (network-stream-open-plain): Ditto.
14619
dcb79f20
AS
146202011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14621
14622 * faces.el (face-spec-set-match-display): Don't match toolkit
14623 options on terminal frames.
14624
14a7fbd8
SM
146252011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14626
7eabc1be
SM
14627 * progmodes/pascal.el: Use lexical binding.
14628 (pascal-mode-map): Remove author preferences.
14629
14a7fbd8
SM
14630 * pcomplete.el (pcomplete-std-complete): Don't abuse
14631 completion-at-point.
14632
50f84510
JB
146332011-04-28 Juanma Barranquero <lekktu@gmail.com>
14634
6e087a44
JB
14635 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14636 removing code that has been dead since 1991 or so.
14637
50f84510
JB
14638 * startup.el (command-line): When warning about "_emacs", use a
14639 delayed warning to allow the user to filter it out.
14640
0ba690bd
DD
146412011-04-28 Deniz Dogan <deniz@dogan.se>
14642
14643 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14644 user has not joined.
14645
08abfaad
SM
146462011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14649 aren't any completions at point.
14650
638f053a
JB
146512011-04-28 Juanma Barranquero <lekktu@gmail.com>
14652
14653 * subr.el (display-delayed-warnings): New function.
14654 (delayed-warnings-hook): New variable.
14655
8fff8daa
SM
146562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14657
08abfaad
SM
14658 * minibuffer.el (completion-at-point, completion-help-at-point):
14659 Don't presume that a given completion-at-point-function will always
14660 use the same calling convention.
14661
8fff8daa
SM
14662 * pcomplete.el (pcomplete-completions-at-point):
14663 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14664 pcomplete-seen is non-nil.
14665 (pcomplete-comint-setup): Also recognize the new comint/shell
14666 completion functions.
14667 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14668 pcomplete-seen is non-nil.
14669
841a1577 146702011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14671
841a1577 14672 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14673 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14674 the first character in the entry. This allows for code to add its
211ec907
UJ
14675 own uid to the entry.
14676 (icalendar--convert-float-to-ical): Add export of
14677 `diary-float'-entries save for those with the optional DAY
14678 argument.
14679
2a782793
DC
146802011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14681
14682 * subr.el (shell-quote-argument): Use alternate escaping strategy
14683 when we spot a variable reference in a string.
14684
0438ce91
DC
146852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14686
14687 * cus-start.el (all): Define customization for debug-on-event.
14688
841a1577 146892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14690
14691 * subr.el (shell-quote-argument): Escape correctly under Windows.
14692
d090ed6c
SM
146932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14696
bfd31217
MA
146972011-04-25 Michael Albinus <michael.albinus@gmx.de>
14698
d090ed6c
SM
14699 * net/tramp.el (tramp-process-actions): Add POS argument.
14700 Delete region between POS and (pos).
bfd31217 14701
d090ed6c
SM
14702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14703 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14704 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14705
14706 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14707 position in `tramp-process-actions' call.
14708
14709 * net/trampver.el: Update release number.
14710
e92f3bd3
SM
147112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14712
850256b5
SM
14713 * custom.el (defcustom): Obey lexical-binding.
14714
e92f3bd3
SM
14715 Fix octave-inf completion problems reported by Alexander Klimov.
14716 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14717 Inherit from octave-mode-syntax-table.
14718 (inferior-octave-mode): Set info-lookup-mode.
14719 (inferior-octave-completion-at-point): New function.
14720 (inferior-octave-complete): Use it and completion-in-region.
14721 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14722 comint-filename-completion.
14723 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14724 symbol elements which shouldn't be word elements.
14725 (octave-font-lock-keywords, octave-beginning-of-defun)
14726 (octave-function-header-regexp): Adjust regexps accordingly.
14727 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14728
cd22b309
JB
147292011-04-25 Juanma Barranquero <lekktu@gmail.com>
14730
14731 * net/gnutls.el (gnutls-errorp): Declare before first use.
14732
8b492194
TZ
147332011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14734
14735 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14736 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14737 default trustfile exists before going to use it. Add missing
5a5fa834 14738 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14739 Reported by Claudio Bley <claudio.bley@gmail.com>.
14740 (open-gnutls-stream): Add usage example.
14741
14742 * net/network-stream.el (network-stream-open-starttls): Give host
14743 parameter to `gnutls-negotiate'.
14744 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14745 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14746
841a1577 147472011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14748
cd22b309
JB
14749 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14750 Use correct match group (bug#8438).
05842630 14751
3ba7869c
CY
147522011-04-24 Chong Yidong <cyd@stupidchicken.com>
14753
512e3ae1
CY
14754 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14755 (package-menu--generate): New arg specifying packages to show.
14756 (package-menu-refresh, package-menu-execute, list-packages):
14757 Callers changed.
14758 (package-show-package-list): New function, replacing deleted
14759 package--list-packages (renamed because it is non-internal).
14760
14761 * finder.el (finder-list-matches): Use package-show-package-list
14762 instead of deleted package--list-packages.
14763
e92f3bd3
SM
14764 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14765 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14766 (vc-annotate-mode-map): Bind it to RET.
14767
7031be6d
UR
147682011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14769
14770 * progmodes/etags.el (next-file): Don't use set-buffer to change
14771 buffers (Bug#8478).
14772
4ef177aa
CY
147732011-04-24 Chong Yidong <cyd@stupidchicken.com>
14774
c8d173eb
CY
14775 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14776
4ef177aa
CY
14777 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14778 (apropos-accumulator): Doc fix.
14779 (apropos-function, apropos-macro, apropos-command)
14780 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14781 (apropos-plist): Add face property.
14782 (apropos-symbols-internal): Fix indentation.
14783 (apropos-print): Simplify help, and recognize apropos-multi-type.
14784 (apropos-print-doc): Use button-type-get to extract the button's
14785 face property. Fill docstring (Bug#8352).
14786
4ffd0d6b 147872011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14788
14789 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14790
c6c32125 14791 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14792 (mpuz-mode-map): Use mapc.
c6c32125
JB
14793 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14794 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14795 Fix typos in docstrings.
14796
58d468b4
JB
14797 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14798 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14799
6470c3c6
JB
14800 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14801
4ffd0d6b 148022011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14803
14804 * minibuffer.el (completion--do-completion): Avoid the "Next char
14805 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14806
3ad8bad0
CY
14807 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14808 mouse-2 into unread-command-events, it is interpreted correctly.
14809
71d73c9c 14810 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14811 (image-toggle-display): Doc fix.
71d73c9c 14812
841a1577 148132011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14814
4ffd0d6b
GM
14815 * textmodes/page.el (what-page): Use line-number-at-pos to
14816 calculate line number (Bug#6825).
6e1dbaa9 14817
c2fb1b60
JB
148182011-04-22 Juanma Barranquero <lekktu@gmail.com>
14819
14820 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14821 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14822 Pass argument NO-DEFAULT to `find-tag-interactive'.
14823
e02f48d7
JB
148242011-04-22 Juanma Barranquero <lekktu@gmail.com>
14825
14826 Lexical-binding cleanup.
14827
14828 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14829 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14830 * progmodes/ada-prj.el (ada-prj-initialize-values)
14831 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14832 (ada-prj-show-value):
14833 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14834 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14835 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14836 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14837 * progmodes/bug-reference.el (bug-reference-push-button):
14838 * progmodes/fortran.el (fortran-line-length):
14839 * progmodes/glasses.el (glasses-change):
14840 * progmodes/octave-mod.el (octave-fill-paragraph):
14841 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14842 (python-pdbtrack-grub-for-buffer, python-sentinel):
14843 * progmodes/sql.el (sql-save-connection):
14844 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14845 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14846 Mark unused parameters.
14847
14848 * progmodes/compile.el (compilation--flush-directory-cache)
14849 (compilation--flush-parse, compile-internal): Mark unused parameters.
14850 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14851 (compilation-next-error-function): Remove unused variable `timestamp'.
14852
14853 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14854 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14855
14856 * progmodes/dcl-mode.el (dcl-end-of-command):
14857 Remove unused variable `start'.
14858 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14859 (dcl-option-value-basic, dcl-option-value-offset)
14860 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14861 Mark unused parameters.
14862 (dcl-save-local-variable): Remove unused variable `val'.
14863 (mode): Declare.
14864
14865 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14866 Mark unused parameters.
14867 (delphi-ignore-changes): Move before first use.
14868 (delphi-charset-token-at): Remove unused variable `start'.
14869 (delphi-else-start): Remove unused variable `if-count'.
14870 (delphi-comment-block-start, delphi-comment-block-end):
14871 Remove unused variable `kind'.
14872 (delphi-indent-line): Remove unused variable `new-point'.
14873
14874 * progmodes/ebrowse.el (ebrowse-files-list)
14875 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14876 Mark unused parameters. Don't quote `lambda'.
14877 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14878 Don't quote `lambda'.
14879 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14880 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14881 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14882 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14883 Use `ignore-errors'.
14884 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14885 (ebrowse-view/find-file-and-search-pattern)
14886 (ebrowse-view/find-member-declaration/definition):
14887 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14888 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14889 Rename parameter PREFIX-ARG to PREFIX.
14890 (ebrowse-tags-read-name): Remove unused variables `start' and
14891 `member-info'.
14892 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14893 to `tags-file'.
14894
14895 * progmodes/etags.el (local-find-tag-hook): Declare.
14896 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14897 Mark unused parameters.
14898
14899 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14900 (executable-interpret): Mark unused parameter.
14901
14902 * progmodes/flymake.el (flymake-process-sentinel)
14903 (flymake-after-change-function)
14904 (flymake-create-temp-with-folder-structure)
14905 (flymake-get-include-dirs-dot): Mark unused parameters.
14906 (flymake-safe-delete-directory): Remove unused variable `err'.
14907
14908 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14909 (speedbar-timer-fn, speedbar-line-text)
14910 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14911 (speedbar-center-buffer-smartly): Declare functions.
14912 (gdb-find-watch-expression): Remove unused variable `array'.
14913 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14914 (gdb-starting): Mark unused parameters.
14915 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14916 (gdb-table-string): Remove unused variable `res'.
14917 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14918 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14919 (gdb-display-buffer): Remove unused variable `cur-size'.
14920
14921 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14922 allow lexical-binding compilation.
14923 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14924 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14925 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14926 Mark unused parameters.
14927 (gud-gdb-marker-filter): Remove unused variable `match'.
14928 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14929 lambda expressions and funcall them, instead of using `fset'.
14930
14931 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14932 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14933
14934 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14935 variable `header-beg'; use `let'.
14936
14937 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14938 `restart', `last-sexp' and `at-do'.
14939
14940 * progmodes/js.el (js--debug): Mark unused parameter.
14941 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14942 (js--splice-into-items): Remove unused variable `item'.
14943 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14944
14945 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14946 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14947 (makefile-complete): Remove unused variable `try'.
14948 (makefile-fill-paragraph, makefile-match-function-end):
14949 Mark unused parameters.
14950
14951 * progmodes/octave-inf.el (inferior-octave-complete):
14952 Remove unused variable `proc'.
14953 (inferior-octave-output-digest): Mark unused parameter.
14954
14955 * progmodes/perl-mode.el (perl-calculate-indent):
14956 Remove unused variable `err'.
14957
14958 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14959 (prolog-indent-line): Mark unused parameters.
14960 (prolog-indent-line): Remove unused variable `beg'.
14961
14962 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14963 (reporter-dont-compact-list): Declare.
14964
14965 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14966 Remove unused variable `char'.
14967 (sh-debug): Mark unused parameter.
14968 (sh-get-indent-info): Remove unused variable `start'.
14969 (sh-calculate-indent): Remove unused variable `var'.
14970
14971 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14972 (simula-electric-keyword): Remove unused variable `null'.
14973 (simula-search-backward, simula-search-forward): Remove unused
14974 variables `begin' and `end'.
14975
14976 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14977 Remove unused variable `pos'.
14978 (vera-electric-tab, vera-comment-uncomment-region):
14979 Mark unused parameters.
14980 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14981
7ede3b65
CY
149822011-04-22 Chong Yidong <cyd@stupidchicken.com>
14983
14984 * emacs-lisp/package.el (package--builtins, package-alist)
14985 (package-load-descriptor, package-built-in-p, package-activate)
14986 (define-package, package-installed-p)
14987 (package-compute-transaction, package-buffer-info)
14988 (package--push): Doc fix. Distinguish more clearly between
14989 version strings and version lists.
14990
121656e9
JB
149912011-04-21 Juanma Barranquero <lekktu@gmail.com>
14992
14993 Lexical-binding cleanup.
14994
14995 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14996 (5x5-make-mutate-best):
14997 * play/fortune.el (fortune-in-buffer):
14998 * play/gomoku.el (gomoku-init-display):
14999 * play/solitaire.el (solitaire, solitaire-do-check):
15000 * play/tetris.el (tetris-default-update-speed-function):
15001 Mark unused parameters.
15002
15003 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15004 (bubbles--shift): Remove unused variable `char-org'.
15005 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15006 (bubbles--show-images): Remove unused variable `char'.
15007
15008 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15009 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15010 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15011 (decipher-analyze-buffer): Use ?\s.
15012 (decipher-make-checkpoint): Remove unused variable `mapping'.
15013
15014 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15015
15016 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15017 Remove unused variable `result'; use `let'.
15018
15019 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15020 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15021 (gametree-children-shown-p, gametree-compute-reduced-score):
15022 Use `ignore-errors'.
15023
15024 * play/handwrite.el (ps-lpr-switches): Declare.
15025 (handwrite): Remove unused variables `pmin' and `lastp'.
15026
15027 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15028
15029 * play/landmark.el (landmark-init-display)
15030 (landmark-update-naught-weights): Mark unused parameters.
15031 (landmark-y): Remove unused variable `noise'. Simplify.
15032 (landmark-human-plays): Remove unused variable `score'.
15033
15034 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15035 (mpuz-try-proposal): Remove unused variable `game'.
15036
15037 * play/zone.el (life-patterns): Declare.
15038
80f499c7
JB
150392011-04-20 Juanma Barranquero <lekktu@gmail.com>
15040
15041 * vc/vc.el (ediff-vc-internal): Declare function.
15042
024ff170
SM
150432011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15044
c0a193ea
SM
15045 * shell.el: Use lexical-binding and std completion UI.
15046 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15047 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15048 comint-preoutput-filter-functions rather than on
15049 comint-output-filter-functions.
15050 (shell-command-completion, shell--command-completion-data)
15051 (shell-filename-completion, shell-environment-variable-completion)
15052 (shell-c-a-p-replace-by-expanded-directory): New functions.
15053 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15054 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15055 (shell-dynamic-complete-environment-variable): Use them.
15056 (shell-dynamic-complete-as-environment-variable)
15057 (shell-dynamic-complete-as-command): Remove.
15058 (shell-match-partial-variable): Match past point.
15059 * comint.el: Clean up use of completion-at-point-functions.
15060 (comint-completion-at-point): New function.
15061 (comint-mode): Use it completion-at-point-functions.
15062 (comint-dynamic-complete): Make it obsolete.
15063 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15064 (comint-c-a-p-replace-by-expanded-history): New function.
15065 (comint-dynamic-complete-functions)
15066 (comint-replace-by-expanded-history): Use it.
15067 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15068 termination strings. Try harder to avoid second try-completion.
15069 (completion-in-region-mode-map): Disable bindings that don't work yet.
15070
2dbaa080
SM
15071 * comint.el: Use lexical-binding. Require CL.
15072 (comint-dynamic-complete-functions): Use comint-filename-completion.
15073 (comint-completion-addsuffix): Tweak custom type.
15074 (comint-filename-completion, comint--common-suffix)
15075 (comint--common-quoted-suffix, comint--table-subvert)
15076 (comint--complete-file-name-data): New functions.
15077 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15078 (comint-dynamic-list-filename-completions): Use them.
15079 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15080
2dbaa080
SM
15081 * minibuffer.el (completion-in-region-mode):
15082 Keep completion-in-region-mode--predicate global.
15083 (completion-in-region--postch):
15084 Assume completion-in-region-mode--predicate is not null.
15085
c79a6f38
SM
15086 * progmodes/flymake.el (flymake-start-syntax-check-process):
15087 Obey `dir'. Simplify.
15088
024ff170
SM
15089 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15090 we're in VC after all.
15091
1c6c854e
CS
150922011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15093
15094 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15095 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15096 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15097
bed7f140
SM
150982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15099
332e62ab
SM
15100 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15101 add sanity check.
15102
bed7f140
SM
15103 * obsolete/erc-hecomplete.el: Make obsolete.
15104 * obsolete/: Standardize obsolescence info in the header.
15105
f195c582
GM
151062011-04-20 Glenn Morris <rgm@gnu.org>
15107
15108 * calendar/solar.el (solar-horizontal-coordinates):
15109 Use the longitude argument rather than `calendar-longitude'.
15110 (solar-date-next-longitude): Remove unused locals.
15111
cb79b8c0
VJL
151122011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15113
15114 * whitespace.el: New version 13.2.1.
15115
151162011-04-20 felix <EmacsWiki> (tiny change)
15117
d8e4b68b 15118 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15119 switching between major modes on a file.
15120
602ea69d
SM
151212011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15124 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15125 multi-line comments as well.
15126
06b60517
JB
151272011-04-19 Juanma Barranquero <lekktu@gmail.com>
15128
15129 Lexical-binding cleanup.
15130
15131 * arc-mode.el (archive-mode-revert):
15132 * cmuscheme.el (scheme-interactively-start-process):
15133 * custom.el (custom-initialize-delay):
15134 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15135 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15136 * emacs-lock.el (emacs-lock-clear-sentinel):
15137 * ezimage.el (defezimage):
15138 * follow.el (follow-avoid-tail-recenter):
15139 * fringe.el (set-fringe-mode-1):
15140 * generic-x.el (bat-generic-mode-compile):
15141 * help-mode.el (help-info-variable, help-do-xref)
15142 (help-mode-revert-buffer):
15143 * help.el (view-emacs-todo):
15144 * iswitchb.el (iswitchb-completion-help):
15145 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15146 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15147 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15148 * locate.el (locate-update):
15149 * longlines.el (longlines-encode-region)
15150 (longlines-after-change-function):
15151 * outline.el (outline-isearch-open-invisible):
15152 * ps-def.el (declare-function, charset-dimension, char-width)
15153 (encode-char):
15154 * ps-mule.el (ps-mule-plot-string):
15155 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15156 (recentf-edit-list-select, recentf-edit-list-validate)
15157 (recentf-open-files-action):
15158 * rect.el (delete-whitespace-rectangle-line)
15159 (rectangle-number-line-callback):
15160 * register.el (window-configuration-to-register)
15161 (frame-configuration-to-register):
15162 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15163 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15164 (xselect-convert-to-targets, xselect-convert-to-delete)
15165 (xselect-convert-to-filename, xselect-convert-to-charpos)
15166 (xselect-convert-to-lineno, xselect-convert-to-colno)
15167 (xselect-convert-to-os, xselect-convert-to-host)
15168 (xselect-convert-to-user, xselect-convert-to-class)
15169 (xselect-convert-to-name, xselect-convert-to-integer)
15170 (xselect-convert-to-atom, xselect-convert-to-identity):
15171 * subr.el (declare, ignore, process-kill-without-query)
15172 (text-clone-maintain):
15173 * terminal.el (te-get-char, te-tic-sentinel):
15174 * tool-bar.el (tool-bar-make-keymap):
15175 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15176 * type-break.el (type-break-mode, type-break-noninteractive-query):
15177 * view.el (View-back-to-mark):
15178 * wid-browse.el (widget-browse-action, widget-browse-widget)
15179 (widget-browse-widgets, widget-browse-sexp):
15180 * widget.el (define-widget-keywords):
15181 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15182 Mark unused parameters.
15183
15184 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15185 (align-areas): Remove unused variable `look'.
15186 (align-region): Remove unused variables `real-end' and `pos-list'.
15187
15188 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15189
15190 * bindings.el (mode-line-modified, mode-line-remote):
15191 Mark unused parameters.
15192 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15193
15194 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15195 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15196
15197 * comint.el (comint-history-isearch-pop-state)
15198 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15199 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15200 (comint-substitute-in-file-name): Doc fix.
15201
15202 * completion.el (cmpl-statistics-block): Mark unused parameter.
15203 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15204 (save-completions-to-file, load-completions-from-file):
15205 Remove unused local variable `e'.
15206
15207 * composite.el (compose-chars): Remove unused variable `len'.
15208 (lgstring-insert-glyph): Remove unused variable `g'.
15209 (compose-glyph-string): Remove unused variables `ascent',
15210 `descent', `lbearing' and `rbearing'.
15211 (compose-glyph-string-relative): Remove unused variables
15212 `lbearing', `rbearing' and `wadjust'.
15213 (compose-gstring-for-graphic): Remove unused variables `header',
15214 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15215 (compose-gstring-for-terminal): Remove unused variables `header'
15216 and `nchars'. Use `let', not `let*'.
15217
15218 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15219 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15220 (Custom-buffer-done, custom-buffer-create-internal)
15221 (custom-browse-visibility-action, custom-browse-group-tag-action)
15222 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15223 (widget-magic-mouse-down-action, custom-toggle-parent)
15224 (custom-add-parent-links, custom-toggle-hide-variable)
15225 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15226 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15227 (custom-face-menu-create, custom-variable-menu-create, get)
15228 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15229 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15230 (customize-apropos): Remove unused variable `tests'.
15231 (custom-group-value-create): Remove unused variable `hidden-p'.
15232 (sort-fold-case): Declare.
15233
15234 * cus-theme.el (custom-reset-standard-faces-list)
15235 (custom-reset-standard-variables-list): Declare.
15236 (customize-create-theme, custom-theme-revert, custom-theme-write)
15237 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15238 Mark unused parameters.
15239
15240 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15241
15242 * delim-col.el (delimit-columns-max): Move defvar before first use.
15243
15244 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15245 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15246
15247 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15248 (auto-insert): Declare.
15249 (desktop-restore-file-buffer): Rename desktop-* parameters;
15250 mark unused ones.
15251 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15252 (desktop-buffer): Rename desktop-* parameters.
15253
15254 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15255 (dframe-reposition-frame-xemacs, dframe-help-echo)
15256 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15257 Mark unused parameters.
15258
15259 * dired-aux.el (backup-extract-version-start, overwrite-query)
15260 (overwrite-backup-query, rename-regexp-query)
15261 (rename-non-directory-query): Declare.
15262 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15263 (dired-add-entry): Remove unused variable `orig-file-name'.
15264 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15265 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15266 `dired-copy-preserve-time' directly.
15267 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15268 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15269
15270 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15271 (dired-virtual-revert, dired-make-relative-symlink):
15272 Mark unused parameters.
15273 (manual-program): Declare.
15274 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15275 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15276 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15277
15278 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15279
15280 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15281
15282 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15283 Declare.
15284
15285 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15286
15287 * electric.el (Electric-command-loop): Rename parameter
15288 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15289
15290 * expand.el (expand-in-literal): Remove unused variable `here'.
15291
15292 * facemenu.el (facemenu-add-new-color):
15293 Remove unused variable `docstring'.
15294
15295 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15296 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15297 (face-attr-construct): Mark unused parameter. Doc fix.
15298 (read-color): Remove unused variable `hex-string'.
15299
15300 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15301 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15302 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15303 (display-buffer-other-frame): Remove unused variable `old-window'.
15304 (kill-buffer-hook): Declare.
15305 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15306 Mark unused parameters.
15307 (after-find-file): Pass 1 to `auto-save-mode', not t.
15308
15309 * files-x.el (auto-insert): Declare.
15310 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15311
15312 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15313 variable `buf'. Mark unused parameter.
06b60517
JB
15314 (find-lisp-insert-directory): Mark unused parameter.
15315
15316 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15317 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15318 (format-common-tail): Remove, unused.
15319 (format-deannotate-region): Remove unused variable `loc'.
15320 (format-annotate-region): Remove unused variable `p'.
15321 (format-annotate-single-property-change): Remove unused variables
15322 `default' and `tail'.
15323
15324 * forms.el (read-file-filter): Declare.
15325 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15326
15327 * frame.el (frame-creation-function-alist): Mark unused parameter.
15328 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15329
15330 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15331 Remove unused parameters.
15332 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15333 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15334
15335 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15336 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15337 (hfy-prepare-tag-map): Mark unused parameters.
15338 (htmlfontify-buffer): Use `called-interactively-p'.
15339
15340 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15341 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15342 (ibuffer-do-occur): Mark unused parameters.
15343 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15344 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15345
15346 * ibuffer.el: Don't quote `lambda'.
15347 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15348 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15349 Mark unused parameters.
15350
15351 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15352 (ido-completing-read): Mark unused parameters.
15353 (ido-copy-current-word): Mark unused parameters;
15354 remove unused variable `name'.
15355 (ido-sort-merged-list): Remove unused parameter `dirs'.
15356
15357 * ielm.el (ielm-input-sender): Mark unused parameter.
15358 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15359 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15360 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15361 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15362 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15363
15364 * image-dired.el (image-dired-display-thumbs): Remove unused
15365 variables `curr-file' and `count'.
15366 (image-dired-remove-tag): Remove unused variable `start'.
15367 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15368 variable `curr-file'
15369 (image-dired-rotate-original): Remove unused variable `temp-file'.
15370 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15371 Remove unused variable `file'.
15372 (image-dired-gallery-generate): Remove unused variable `curr'.
15373 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15374
15375 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15376
15377 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15378
15379 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15380
15381 * isearch.el (minibuffer-history-symbol): Declare.
15382 (isearch-edit-string): Remove unused variable `err'.
15383 (isearch-message-prefix, isearch-message-suffix):
15384 Mark unused parameters.
15385
15386 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15387
15388 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15389
15390 * makesum.el (double-column): Remove unused variable `cnt'.
15391
15392 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15393 (ido-ignore-item-temp-list): Declare.
15394
15395 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15396 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15397 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15398 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15399 `mouse-col-delta'.
15400
15401 * mouse-sel.el (mouse-extend-internal):
15402 Remove unused variable `orig-window-frame'.
15403
15404 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15405 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15406 Move declarations before first use.
15407 (pcomplete-opt): Mark unused parameters; doc fix.
15408
15409 * proced.el (proced-revert): Mark unused parameter.
15410 (proced-send-signal): Remove unused variable `err'.
15411
15412 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15413 Rename parameter PREFIX-ARG to ARG.
15414 (ps-basic-plot-string, ps-basic-plot-whitespace):
15415 Mark unused parameters.
15416
15417 * replace.el (replace-count): Define.
15418 (occur-revert-function): Mark unused parameters.
15419 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15420 (isearch-case-fold-search, isearch-string): Declare.
15421 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15422 bind `case-fold-search'. Remove unused variables `beg' and `end',
15423 and simplify.
15424 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15425 COUNT and bind `replace-count'.
15426 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15427 to COUNT.
15428
15429 * savehist.el (print-readably, print-string-length): Declare.
15430
15431 * shadowfile.el (shadow-expand-cluster-in-file-name):
15432 Remove unused variable `cluster'.
15433 (shadow-copy-file): Remove unused variable `i'.
15434 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15435 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15436 (shadow-define-literal-group, shadow-define-regexp-group)
15437 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15438
15439 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15440 (shell): Use `called-interactively-p'.
15441 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15442
15443 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15444 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15445 (delete-backward-char): Remove unused variable `ocol'.
15446 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15447 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15448 (event-apply-hyper-modifier, event-apply-shift-modifier)
15449 (event-apply-control-modifier, event-apply-meta-modifier):
15450 Mark unused parameters.
15451 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15452 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15453
15454 * speedbar.el (speedbar-ignored-directory-expressions)
15455 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15456 (speedbar-find-file, speedbar-dir-follow)
15457 (speedbar-directory-buttons-follow, speedbar-tag-find)
15458 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15459 (speedbar-buffers-line-directory, speedbar-buffer-click):
15460 Mark unused parameters.
15461 (speedbar-tag-file): Remove unused variable `mode'.
15462 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15463
15464 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15465
15466 * talk.el (talk): Remove unused variable `display'.
15467
15468 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15469 (tar-write-region-annotate): Mark unused parameter.
15470
15471 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15472 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15473 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15474 warning by another.
15475
15476 * time-stamp.el (time-stamp-string-preprocess):
15477 Remove unused variable `require-padding'.
15478
15479 * tree-widget.el (widget-glyph-enable): Declare.
15480 (tree-widget-action): Mark unused parameter.
15481
15482 * w32-fns.el (x-get-selection): Mark unused parameter.
15483 (autoload-make-program, generated-autoload-file): Declare.
15484
15485 * wdired.el (wdired-revert): Mark unused parameters.
15486 (wdired-xcase-word): Remove unused variable `err'.
15487
15488 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15489 (whitespace-help-scroll): Remove unused variable `data-help'.
15490
15491 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15492 (widget-image-insert, widget-after-change, default)
15493 (widget-default-format-handler, widget-default-notify)
15494 (widget-default-prompt-value, widget-info-link-action)
15495 (widget-url-link-action, widget-function-link-action)
15496 (widget-variable-link-action, widget-file-link-action)
15497 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15498 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15499 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15500 (widget-insert-button-action, widget-delete-button-action, visibility)
15501 (widget-documentation-link-action, widget-documentation-string-action)
15502 (widget-const-prompt-value, widget-regexp-match, symbol)
15503 (widget-coding-system-prompt-value)
15504 (widget-key-sequence-value-to-external, sexp)
15505 (widget-sexp-value-to-internal, character, vector, cons)
15506 (widget-choice-prompt-value, widget-boolean-prompt-value)
15507 (widget-color--choose-action): Mark unused parameters.
15508 (widget-item-match-inline, widget-choice-match-inline)
15509 (widget-checklist-match, widget-checklist-match-inline)
15510 (widget-group-match): Rename parameter VALUES to VALS.
15511 (widget-field-value-set): Remove unused variable `size'.
15512 (widget-color-action): Remove unused variables `value' and `start'.
15513
15514 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15515 variable `dir'. Doc fix.
06b60517
JB
15516 (windmove-find-other-window): Don't pass it.
15517
15518 * window.el (count-windows): Mark unused parameter.
15519 (bw-adjust-window): Remove unused variable `err'.
15520
15521 * woman.el (woman-file-name): Remove unused variable `default'.
15522 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15523 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15524 (global-font-lock-mode): Declare.
15525 (woman-decode-region): Mark unused parameter.
15526 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15527
15528 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15529 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15530 (x-dnd-handle-moz-url): Remove unused variable `title'.
15531 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15532
15533 * xml.el (xml-parse-tag, xml-parse-attlist):
15534 Remove unused variable `pos'.
15535
bc4f7f3d
GM
155362011-04-19 Glenn Morris <rgm@gnu.org>
15537
15538 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15539 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15540 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15541 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15542 * calendar/cal-html.el (cal-html-insert-minical):
15543 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15544 (calendar-mark-date-pattern):
15545 Prefix "unused" locals.
15546
15547 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15548 optional argument `style'.
15549
15550 * calendar/appt.el (appt-make-list):
15551 * calendar/cal-china.el (calendar-chinese-date-string):
15552 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15553 (diary-hebrew-yahrzeit):
15554 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15555 * calendar/calendar.el (calendar-generate-window):
15556 * calendar/time-date.el (time-to-days):
15557 Remove unused local variables.
15558
16a43933
CY
155592011-04-18 Chong Yidong <cyd@stupidchicken.com>
15560
15561 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15562 glyphless-char-display table.
15563 (tabulated-list-glyphless-char-display): New var.
15564
7eed1860
SS
155652011-04-18 Sam Steingold <sds@gnu.org>
15566
15567 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15568 to acknowledgments.
15569
4d2d1ccd
GM
155702011-04-17 Glenn Morris <rgm@gnu.org>
15571
15572 * calendar/diary-lib.el (diary-sexp-entry):
15573 * calendar/holidays.el (holiday-sexp):
15574 Set debug-on-error rather than the removed stack-trace-on-error.
15575
239da61d
GM
155762011-04-16 Glenn Morris <rgm@gnu.org>
15577
15578 * progmodes/f90.el: Use lexical-binding.
15579 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15580
8b05752a
SM
155812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15582
daca8ba5
SM
15583 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15584 (mail-mode): Setup mailalias completion here instead.
15585 * mail/mailalias.el: Use lexical-binding.
15586 (pattern, mailalias-done): Declare dynamic.
15587 (mail-completion-at-point-function): New function, from mail-complete.
15588 (mail-complete): Use it.
15589 (mail-completion-expand): New function.
15590 (mail-get-names): Use it.
15591 (mail-directory, mail-directory-process, mail-directory-stream):
15592 Don't use `pattern' for lexically bound arg.
15593
6f542485
SM
15594 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15595
037e7c3f
SM
15596 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15597 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15598 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15599
8b05752a
SM
15600 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15601 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15602 (byte-interactive-p): Define them again, for use when inlining
15603 old code.
15604
49093f60
JB
156052011-04-15 Juanma Barranquero <lekktu@gmail.com>
15606
15607 * loadup.el: Use `string-to-number', not `string-to-int'.
15608
b5b8e7de
SM
156092011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15612 gud-gdb-complete-command.
15613 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15614 (gud-gdb-completion-at-point): New function.
15615 (gud-gdb-completions): Remove.
15616
f42efeb5
MA
156172011-04-14 Michael Albinus <michael.albinus@gmx.de>
15618
49093f60
JB
15619 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15620 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15621 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15622 whether `executable-find' is bound.
f42efeb5
MA
15623
15624 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15625
e240cc21
SM
156262011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * minibuffer.el (completion-in-region-mode-predicate)
15629 (completion-in-region-mode--predicate): New vars.
15630 (completion-in-region, completion-in-region--postch)
15631 (completion-in-region-mode): Use them.
15632 (completion--capf-wrapper): Also return the hook function.
15633 (completion-at-point, completion-help-at-point):
15634 Adjust and provide a predicate.
c2bd2ab0
SM
15635
15636 Preserve arg names for advice of subr and lexical functions (bug#8457).
15637 * help-fns.el (help-function-arglist): Consolidate the subr and
15638 new-byte-code cases. Add argument `preserve-names' to extract names
15639 from the docstring when needed.
15640 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15641 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15642 (ad-arglist): Use help-function-arglist's new arg.
15643 (ad-definition-type): Use cond.
15644
c183f693
JB
156452011-04-13 Juanma Barranquero <lekktu@gmail.com>
15646
06641a47
JB
15647 * autorevert.el (auto-revert-handler):
15648 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15649 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15650 Don't quote lambda.
15651
c183f693
JB
15652 * image-mode.el (image-transform-set-scale):
15653 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15654
1e3b6001
G
156552011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15656
15657 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15658 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15659 Upgrades via gnutls-cli are too slow to be done opportunistically.
15660
2d6af8dd
JB
156612011-04-12 Juanma Barranquero <lekktu@gmail.com>
15662
15663 * dframe.el (dframe-current-frame): Remove spurious quote.
15664
c0749a51
GM
156652011-04-12 Glenn Morris <rgm@gnu.org>
15666
088d0d61
GM
15667 * calendar/cal-tex.el (cal-tex-end-document):
15668 Try to automatically use latin1 input if needed.
15669
c0749a51
GM
15670 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15671 Don't try to cons a mark onto an empty element.
15672
5c90fde0
LL
156732011-04-11 Leo Liu <sdl.web@gmail.com>
15674
15675 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15676 buffers.
15677 (ido-kill-buffer-at-head): Support killing virtual buffers.
15678
369e974d
CY
156792011-04-10 Chong Yidong <cyd@stupidchicken.com>
15680
15681 * minibuffer.el (completion-show-inline-help): New var.
15682 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15683 (minibuffer-force-complete, minibuffer-complete-word):
15684 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15685
15686 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15687 to avoid interference from inline help (Bug#5849).
15688
37f1c930
LL
156892011-04-10 Leo Liu <sdl.web@gmail.com>
15690
099c39a4
JB
15691 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15692 Fix typo.
37f1c930 15693
a32d4040
CY
156942011-04-09 Chong Yidong <cyd@stupidchicken.com>
15695
15696 * image-mode.el (image-toggle-display-image): Signal an error if
15697 not in Image mode.
15698 (image-transform-mode, image-transform-resize)
15699 (image-transform-set-rotation): Doc fix.
daca8ba5 15700 (image-transform-set-resize): Delete.
a32d4040
CY
15701 (image-transform-set-scale, image-transform-fit-to-height)
15702 (image-transform-fit-to-width): Handle image-toggle-display-image
15703 and image-transform-resize directly.
15704
099c39a4 157052011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15706
15707 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15708 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15709 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15710 (doc-view-mode-map): Add bindings for the new functions.
15711
099c39a4 157122011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15713
4d61f28d 15714 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15715 Fix typo in docstring.
15716
3726838a
EZ
157172011-04-08 Eli Zaretskii <eliz@gnu.org>
15718
04f33f1e
EZ
15719 * files.el (file-size-human-readable): Produce one digit after
15720 decimal, like "ls -lh" does.
15721
15722 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15723 the file size representation.
15724
3726838a
EZ
15725 * simple.el (list-processes): If async subprocesses are not
15726 available, error out with a clear error message.
15727
cbb59342
CY
157282011-04-08 Chong Yidong <cyd@stupidchicken.com>
15729
15730 * help.el (help-form-show): New function, to be called from C.
15731 Put help-form output in a buffer named differently than *Help*.
15732
e3971c44
EZ
157332011-04-08 Eli Zaretskii <eliz@gnu.org>
15734
15735 * files.el (file-size-human-readable): New function.
15736
15737 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15738 computing the representation inline. Don't require `cl'.
15739
12544bbe
GM
157402011-04-08 Glenn Morris <rgm@gnu.org>
15741
a1de6c6a
GM
15742 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15743
3c4671f4
GM
15744 * net/browse-url.el (browse-url-firefox):
15745 Test system-type, not system-configuration.
15746
b605679c
GM
15747 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15748 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15749 Use log-edit-empty-buffer-p. (Bug#7598)
15750
56442f0c
GM
15751 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15752 (rlogin-mode-map): Initialize in the defvar.
15753 (rlogin): Use ignore-errors.
15754
12544bbe
GM
15755 * replace.el (occur-mode-map): Some fixes for menu items.
15756
eb237b0f
AH
157572011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15758
15759 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15760
7d668f2c
CY
157612011-04-06 Chong Yidong <cyd@stupidchicken.com>
15762
e67a13ab
CY
15763 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15764 issuing unused warnings.
15765
15766 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15767 macro directly.
15768
7d668f2c
CY
15769 * simple.el: Lisp reimplement of list-processes. Based on an
15770 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15771 (process-menu-mode): New major mode.
15772 (list-processes--refresh, list-processes):
15773 (process-menu-visit-buffer): New functions.
15774
15775 * files.el (save-buffers-kill-emacs): Don't assume any return
15776 value of list-processes, which is undocumented anyway.
15777
a83ec3c9
CY
157782011-04-06 Chong Yidong <cyd@stupidchicken.com>
15779
15780 * emacs-lisp/tabulated-list.el: New file.
15781
e91a96fe
CY
15782 * emacs-lisp/package.el: Use Tabulated List mode.
15783 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15784 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15785 table format using Tabulated List mode variables.
15786 (package--push): New macro, replacing package-list-maybe-add.
15787 (package-menu--generate): Use package--push. Renamed from
15788 package--generate-package-list.
15789 (package-menu-refresh, list-packages): Use it.
daca8ba5 15790 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15791 Return insertion data instead of inserting it directly.
099c39a4
JB
15792 (package-menu-describe-package, package-menu-execute):
15793 Use tabulated-list-get-id.
e91a96fe
CY
15794 (package-menu-mark-delete, package-menu-mark-install)
15795 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15796 (package-menu-mark-obsolete-for-deletion):
15797 Use tabulated-list-put-tag.
e91a96fe
CY
15798 (package--list-packages, package-menu-revert)
15799 (package-menu-get-package, package-menu-get-version)
15800 (package-menu-sort-by-column): Functions deleted.
15801 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15802 (package-menu--status-predicate, package-menu--version-predicate)
15803 (package-menu--name-predicate)
15804 (package-menu--description-predicate): Handle arguments in the
15805 Tabulated List format.
15806 (package-list-packages-no-fetch): Call list-packages.
15807
3e214b50
JB
158082011-04-06 Juanma Barranquero <lekktu@gmail.com>
15809
15810 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15811 (after-find-file): Don't bind it.
3e214b50
JB
15812 (revert-buffer-in-progress-p): New variable.
15813 (revert-buffer): Bind it.
15814 Pass nil for `after-find-file-from-revert-buffer'.
15815
15816 * saveplace.el (save-place-find-file-hook): Use new variable
15817 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15818
3f0f1700
GM
158192011-04-06 Glenn Morris <rgm@gnu.org>
15820
c0274801
GM
15821 * Makefile.in (AUTOGEN_VCS): New variable.
15822 (autoloads): Use $AUTOGEN_VCS.
15823
3f0f1700
GM
15824 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15825 * calendar/calendar.el (calendar-mode-map):
15826 Check for toolkit scroll bars. (Bug#8305)
15827
41ea9e48
CY
158282011-04-05 Chong Yidong <cyd@stupidchicken.com>
15829
15830 * minibuffer.el (completion-in-region--postch)
15831 (completion-in-region-mode): Remove unnecessary messages.
15832
6194c800
JB
158332011-04-05 Juanma Barranquero <lekktu@gmail.com>
15834
33256f14
JB
15835 * font-lock.el (font-lock-refresh-defaults):
15836 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15837 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15838
6194c800
JB
15839 * info.el (Info-directory-list, Info-read-node-name-2)
15840 (Info-split-parameter-string): Doc fixes.
15841 (Info-virtual-nodes): Reflow docstring.
15842 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15843 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15844 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15845 Fix typos in docstrings.
15846 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15847 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15848 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15849 (Info-restore-desktop-buffer): Mark unused parameters.
15850 (Info-directory-find-file, Info-directory-find-node)
15851 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15852 (Info-virtual-index-find-node, Info-apropos-find-file)
15853 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15854 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15855 (Info-virtual-index): Remove unused local variable `nodename'.
15856
b87a8200 158572011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15858
b87a8200
DD
15859 * net/rcirc.el: Update my e-mail address.
15860 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15861
3b2ff876
CY
158622011-04-05 Chong Yidong <cyd@stupidchicken.com>
15863
15864 * startup.el (command-line): Save the cursor's theme-face
15865 directly, instead of using face-override-spec.
15866
15867 * custom.el (load-theme): Minor optimization in assigning faces.
15868
8d17e7ca
JB
158692011-04-04 Juanma Barranquero <lekktu@gmail.com>
15870
15871 * help-fns.el (describe-variable): Complete all variables having
15872 documentation, including keywords.
15873 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15874
2fbc1934
JB
158752011-04-04 Juanma Barranquero <lekktu@gmail.com>
15876
15877 Convert to lexical-binding.
15878
15879 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15880 (bs--get-marked-string, bs--get-modified-string)
15881 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15882 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15883 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15884
15885 * ehelp.el (electric-help-execute-extended)
15886 (electric-help-ctrl-x-prefix):
15887 * hexl.el (hexl-revert-buffer-function):
15888 * linum.el (linum-after-change, linum-after-scroll):
15889 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15890
15891 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15892
74f50695
DU
158932011-04-04 Daiki Ueno <ueno@unixuser.org>
15894
15895 * epa-dired.el:
15896 * epa-mail.el:
15897 * epa-hook.el:
15898 * epa-file.el:
15899 * epa.el:
15900 * epg.el: Use lexical binding.
15901
c11325f7
CY
159022011-04-03 Chong Yidong <cyd@stupidchicken.com>
15903
0d9e9a12
CY
15904 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15905
c11325f7 15906 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15907 dictionary case for flyspell-mark-duplications-exceptions.
15908 Use regexp matching for languages.
c11325f7
CY
15909 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15910 default dictionary (Bug#7926).
15911
da91b5f2
CY
159122011-04-02 Chong Yidong <cyd@stupidchicken.com>
15913
099c39a4
JB
15914 * emacs-lisp/package.el (package--with-work-buffer):
15915 Recognize https URLs.
da91b5f2 15916
099c39a4
JB
15917 * net/network-stream.el: Move from gnus/proto-stream.el.
15918 Change prefix to network-stream throughout.
da91b5f2
CY
15919 (open-protocol-stream): Merge into open-network-stream, leaving
15920 open-protocol-stream as an alias. Handle nil BUFFER args.
15921
15922 * subr.el (open-network-stream): Move to net/network-stream.el.
15923
afa8e9f6
GM
159242011-04-02 Glenn Morris <rgm@gnu.org>
15925
1d2e369d
GM
15926 * find-dired.el (find-exec-terminator): New option.
15927 (find-ls-option): Test for -ls support.
15928 (find-ls-subdir-switches): Test for -b in find-ls-option.
15929 (find-dired, find-grep-dired): Doc fixes.
15930 (find-dired): Use find-exec-terminator.
15931
8abb7da8 15932 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15933 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15934 (find-name-arg): Remove purecopy.
8abb7da8 15935
f3ca7378
GM
15936 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15937 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15938 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15939 accordingly. Don't add the null-device if not needed.
15940
afa8e9f6
GM
15941 * files.el (save-some-buffers): Doc fix.
15942
35eae264
EZ
159432011-04-02 Eli Zaretskii <eliz@gnu.org>
15944
15945 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15946
26b51db5
JB
159472011-04-01 Juanma Barranquero <lekktu@gmail.com>
15948
15949 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15950 Use `dolist' rather than `mapcar'.
15951
7200d79c
SM
159522011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15953
03408648 15954 Add lexical binding.
7200d79c 15955
03408648
SM
15956 * subr.el (apply-partially): Use new closures rather than CL.
15957 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15958 (dolist, dotimes): Use slightly different expansion for lexical code.
15959 (functionp): Move to C.
15960 (letrec): New macro.
15961 (with-wrapper-hook): Use it and apply-partially instead of CL.
15962 (eval-after-load): Preserve lexical-binding.
15963 (save-window-excursion, with-output-to-temp-buffer): Turn them
15964 into macros.
7200d79c 15965
03408648
SM
15966 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15967
15968 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15969 than the arglist.
15970 (help-add-fundoc-usage): Don't add `Not documented'.
15971 (help-function-arglist): Handle closures, subroutines, and new
15972 byte-code-functions.
15973 (help-make-usage): Remove leading underscores.
15974 (describe-function-1): Handle closures.
15975 (describe-variable): Use special-variable-p for completion.
15976
15977 * files.el (lexical-binding): Declare safe.
f488fb65 15978
03408648
SM
15979 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15980 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15981 (pcase): Add `let' pattern.
15982 Change memoization so it actually works.
15983 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15984 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15985 <let>: New case.
f488fb65 15986
03408648
SM
15987 * emacs-lisp/macroexp.el: Use lexical binding.
15988 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15989 Don't convert ' to #' without checking that it's indeed quoting
15990 a lambda.
15991
15992 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15993 Use eval-sexp-add-defvars.
03408648
SM
15994 (eval-sexp-add-defvars): New fun.
15995
15996 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15997
15998 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15999 Don't autoload.
16000 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16001 than the internal `byte-compile-lambda'.
16002 (defmethod): Don't hide code under quotes.
16003 (eieio-defmethod): New `code' argument.
16004
16005 * emacs-lisp/eieio-comp.el: Remove.
16006
16007 * emacs-lisp/edebug.el (edebug-eval-defun)
16008 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16009 (edebug-toggle): Avoid `eval'.
16010
16011 * emacs-lisp/disass.el (disassemble-internal): Handle new
16012 `closure' objects.
16013 (disassemble-1): Handle new byte codes.
16014
16015 * emacs-lisp/cl.el (pushnew): Silence warning.
16016
16017 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16018 (cl-byte-compile-throw): Remove.
16019 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16020
16021 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16022 closures.
16023
16024 * emacs-lisp/cconv.el: New file.
16025
16026 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16027 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16028 (byte-compile-initial-macro-environment):
16029 Handle declare-function here.
16030 (byte-compile--lexical-environment): New var.
16031 (byte-stack-ref, byte-stack-set, byte-discardN)
16032 (byte-discardN-preserve-tos): New lap codes.
16033 (byte-interactive-p): Don't use any more.
16034 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16035 New macros.
16036 (byte-compile-lapcode): Use them and handle new lap codes.
16037 (byte-compile-obsolete): Remove.
16038 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16039 (byte-compile-arglist-warn): Check late def of inlinable funs.
16040 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16041 since they should have been expanded by now.
16042 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16043 (byte-compile-from-buffer): Remove unused second arg.
16044 (byte-compile-preprocess): New function.
16045 (byte-compile-toplevel-file-form): New function to distinguish
16046 file-form calls from outside from file-form calls from hunk-handlers.
16047 (byte-compile-file-form): Simplify.
16048 (byte-compile-file-form-defsubst): Remove.
16049 (byte-compile-file-form-defmumble): Simplify now that
16050 byte-compile-lambda always returns a byte-code-function.
16051 (byte-compile): Preprocess.
16052 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16053 Remove, not used any more.
16054 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16055 (byte-compile-make-args-desc): New funs.
16056 (byte-compile-lambda): Handle lexical functions. Always return
16057 a byte-code-function.
16058 (byte-compile-reserved-constants): New var, to make up room for
16059 closed-over variables.
16060 (byte-compile-constants-vector): Obey it.
16061 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16062 (byte-compile-macroexpand-declare-function): New function.
16063 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16064 byte-code-functions.
16065 (byte-compile-form): Check obsolescence here.
16066 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16067 (byte-compile-variable-ref): Remove.
16068 (byte-compile-dynamic-variable-op): New fun.
16069 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16070 (byte-compile-variable-set): New funs.
16071 (byte-compile-discard): Add 2 args.
16072 (byte-compile-stack-ref, byte-compile-stack-set)
16073 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16074 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16075 macroexpand-all instead.
16076 (byte-compile-quote-form): Remove.
16077 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16078 (byte-compile-bind, byte-compile-unbind): New funs.
16079 (byte-compile-let): Handle let* and lexical binding.
16080 (byte-compile-let*): Remove.
16081 (byte-compile-catch, byte-compile-unwind-protect)
16082 (byte-compile-track-mouse, byte-compile-condition-case):
16083 Handle a new :fun-body form, used for lexical scoping.
16084 (byte-compile-save-window-excursion)
16085 (byte-compile-with-output-to-temp-buffer): Remove.
16086 (byte-compile-defun): Simplify.
16087 (byte-compile-stack-adjustment): New fun.
16088 (byte-compile-out): Use it.
16089 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16090
16091 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16092 handler any more.
16093
16094 * emacs-lisp/byte-opt.el: Use lexical binding.
16095 (byte-inline-lapcode): Remove (to bytecomp).
16096 (byte-compile-inline-expand): Pay attention to inlining to/from
16097 lexically bound code.
16098 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16099 any more.
16100 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16101 any more and don't call compiler-macros.
16102 (byte-compile-splice-in-already-compiled-code): Remove.
16103 (byte-code): Don't inline any more.
16104 (disassemble-offset): Receive `bytes' as argument rather than via
16105 dynamic scoping.
16106 (byte-compile-tag-number): Declare before first use.
16107 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16108 `return' even if make-spliceable.
16109 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16110 obsolete interactive-p.
16111 (byte-optimize-lapcode): Optimize new lap-codes.
16112 Don't trip up on new form of `byte-constant' lap code.
16113
16114 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16115
16116 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16117
16118 * custom.el (custom-initialize-default, custom-declare-variable):
16119 Use `defvar'.
16120
16121 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16122 New variables.
16123 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16124 (COMPILE_FIRST): Add macroexp and cconv.
16125 * makefile.w32-in: Mirror changes in Makefile.in.
16126
16127 * vc/cvs-status.el:
16128 * vc/diff-mode.el:
16129 * vc/log-edit.el:
16130 * vc/log-view.el:
16131 * vc/smerge-mode.el:
16132 * textmodes/bibtex-style.el:
090bd7cb 16133 * textmodes/css-mode.el:
03408648
SM
16134 * startup.el:
16135 * uniquify.el:
da91b5f2
CY
16136 * minibuffer.el:
16137 * newcomment.el:
16138 * reveal.el:
16139 * server.el:
16140 * mpc.el:
16141 * emacs-lisp/smie.el:
16142 * doc-view.el:
16143 * dired.el:
03408648
SM
16144 * abbrev.el: Use lexical binding.
16145
0f0c1f27
EZ
161462011-04-01 Eli Zaretskii <eliz@gnu.org>
16147
16148 * info.el (info-display-manual): New function.
16149
c82b2579
SM
161502011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16153
221ddf68
TH
161542011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16155
16156 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16157 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16158
cba6e77e
GM
161592011-03-31 Glenn Morris <rgm@gnu.org>
16160
e040639f
GM
16161 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16162
cba6e77e
GM
16163 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16164
6d0f1c9e
CS
161652011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16166
16167 * progmodes/python.el (python-default-interpreter)
16168 (python-python-command-args, python-jython-command-args)
16169 (python-which-shell, python-which-args, python-which-bufname)
16170 (python-file-queue, python-comint-output-filter-function)
16171 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16172 variables and functions.
16173
3e2d70fd
SM
161742011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16175
16176 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16177 (completion-in-region-mode): New minor mode.
16178 (completion-in-region): Use it.
16179 (completion-in-region--data, completion-in-region-mode-map): New vars.
16180 (completion-in-region--postch): New function.
16181 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16182 New vars.
16183 (completion--capf-wrapper): New function.
16184 (completion-at-point): Use it to track well-behavedness of
16185 hook functions.
16186 (completion-help-at-point): New command.
16187
f3e4086c
JM
161882011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16189
16190 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16191 syntax class to search for whitespace on a single line
16192 (Message-ID: <4D938140.4030905@redhat.com>).
16193
eb7ffc14
LL
161942011-03-30 Leo Liu <sdl.web@gmail.com>
16195
16196 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16197 New commands.
16198 (edit-abbrevs-map): Bind them here.
16199 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16200
d806ab68
KM
162012011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16202
16203 * allout.el (allout-hide-by-annotation, allout-flag-region):
16204 Reduce possibility of overlay leakage by making them volatile.
16205
16206 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16207 hash is not shared between buffers. Mode initialization is
16208 responsible for giving it a useful starting value.
16209 (allout-item-span): Reduce possibility of overlay leakage by
16210 making them volatile.
16211 (allout-widgets-count-buttons-in-region): Add diagnostic function
16212 for tracking down button overlay leaks.
16213
ea622834
LL
162142011-03-29 Leo Liu <sdl.web@gmail.com>
16215
16216 * ido.el (ido-read-internal): Use the default history var
16217 minibuffer-history if no HISTORY is specified.
16218
b62f8267
G
162192011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16220
03408648
SM
16221 * net/imap.el (imap-shell-open, imap-process-connection-type):
16222 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16223 Kerberos, SSL, other subprocesses.
16224
947b6566
LL
162252011-03-28 Leo Liu <sdl.web@gmail.com>
16226
16227 * abbrev.el (abbrev-table-empty-p): New function.
16228 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16229 nonempty ones. (Bug#5937)
16230
5ffb62aa
JD
162312011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16232
16233 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16234
7a097943
LL
162352011-03-27 Leo Liu <sdl.web@gmail.com>
16236
16237 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16238 for foreground and background colors.
16239 (ansi-color-make-color-map): Adapt.
16240
c5b40130
LL
162412011-03-25 Leo Liu <sdl.web@gmail.com>
16242
1f48f7d2
LL
16243 * midnight.el (midnight-time-float): Remove. Note it calculates
16244 the microsecond component incorrectly and seconds-to-time does the
16245 same job.
625897ec 16246 Remove redundant (require 'timer).
1f48f7d2 16247
c5b40130
LL
16248 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16249 (ido-completions): Remove unused arguments. (Bug#8329)
16250
d86d2721
SM
162512011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16252
16253 * minibuffer.el (completion--flush-all-sorted-completions):
16254 Remove itself from hook.
16255 (completion-at-point): Let the functions perform the completion
16256 immediately and return nil or t.
16257 * comint.el (comint-dynamic-complete-functions): Now identical to
16258 completion-at-point-functions.
16259 (comint-dynamic-list-input-ring): Remove unused var `index'.
16260 (comint--match-partial-filename, comint--unquote&expand-filename):
16261 New funs, split from comint-match-partial-filename.
16262 (comint-dynamic-complete): Use completion-at-point.
16263 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16264
e8974c48
DA
162652011-03-24 Drew Adams <drew.adams@oracle.com>
16266
16267 * thingatpt.el: Support `defun'.
16268
def71b5e
LL
162692011-03-23 Leo Liu <sdl.web@gmail.com>
16270
cb5af48e
LL
16271 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16272
def71b5e
LL
16273 * help-mode.el (help-mode-finish): Tweak regexp.
16274
927c53e7
GM
162752011-03-23 Glenn Morris <rgm@gnu.org>
16276
18d05bed
GM
16277 * eshell/esh-opt.el (eshell-eval-using-options):
16278 Do not bind unused local variable `eshell-option-stub'.
16279
927c53e7
GM
16280 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16281
9d0da923
JB
162822011-03-22 Juanma Barranquero <lekktu@gmail.com>
16283
16284 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16285 keymap variable in `with-no-warnings' to avoid a warning when the
16286 keymap has been already `defconst'ed.
16287
4b978a67
LL
162882011-03-22 Leo Liu <sdl.web@gmail.com>
16289
16290 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16291 encode all chars in abbrevs; otherwise use emacs-mule or
16292 utf-8-emacs. (Bug#8308)
16293
5fd62452
JB
162942011-03-22 Juanma Barranquero <lekktu@gmail.com>
16295
0b1596c6
JB
16296 * simple.el (backward-delete-char-untabify):
16297 Avoid warning about using `delete-backward-char'.
16298
5fd62452
JB
16299 * image.el (image-type-file-name-regexps): Make it variable.
16300 `imagemagick-register-types' modifies it, and the user may want
16301 to add new extensions for known image types.
16302 (imagemagick-register-types): Throw error if not using ImageMagick.
16303
0b4e93f1
LL
163042011-03-22 Leo Liu <sdl.web@gmail.com>
16305
16306 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16307 located before rcirc-prompt-end-marker.
16308 (rcirc-complete): Error if point is not after rcirc prompt.
16309 Handle the case when table is nil.
9882e214 16310 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16311
fccee4ab
CY
163122011-03-22 Chong Yidong <cyd@stupidchicken.com>
16313
16314 * custom.el (custom--inhibit-theme-enable): Make it affect only
16315 custom-theme-set-variables and custom-theme-set-faces.
16316 (provide-theme): Ignore custom--inhibit-theme-enable.
16317 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16318 (custom-enabling-themes): Delete variable.
d86d2721
SM
16319 (enable-theme): Accept only loaded themes as arguments.
16320 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16321 (custom-enabled-themes): Forbid themes from setting this.
16322 Eliminate use of custom-enabling-themes.
16323 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16324
af896da6
LL
163252011-03-21 Leo Liu <sdl.web@gmail.com>
16326
16327 * ido.el (ido-read-internal): Add ido-selected to history instead
16328 of user input.
16329
78f64af0
SM
163302011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * subr.el (deferred-action-list, deferred-action-function):
16333 Mark obsolete.
16334
b16ac1ec
LL
163352011-03-21 Leo Liu <sdl.web@gmail.com>
16336
810f7698
LL
16337 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16338 change on 2011-02-13 (bug#8309).
16339
b16ac1ec
LL
16340 * minibuffer.el (read-file-name-function): Change default value.
16341 (read-file-name--defaults): Rename from read-file-name-defaults.
16342 (read-file-name-default): Rename from read-file-name.
16343 (read-file-name): Call read-file-name-function.
16344
4e05e67e
GM
163452011-03-21 Glenn Morris <rgm@gnu.org>
16346
16347 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16348 Doc fixes.
16349
4359915b
CY
163502011-03-21 Chong Yidong <cyd@stupidchicken.com>
16351
16352 * cus-theme.el: Add missing provide statement.
16353 (customize-create-theme): Extract theme value correctly.
16354 (custom-theme-visit-theme): Autoload.
16355 (customize-create-theme): Prompt before inserting default faces.
16356
1fe275ee
JB
163572011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16358
16359 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16360 units and musical notes.
16361
cd394be1 163622011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16363
16364 * ido.el (ido-read-internal): Use completing-read-default.
16365 (ido-completing-read): Fix compatibility with completing-read.
16366
7d476bde
CO
163672011-03-20 Christian Ohler <ohler@gnu.org>
16368
16369 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16370 (ert-delete-all-tests): Use `called-interactively-p' rather than
16371 `interactive-p'.
16372 (ert--make-xrefs-region): Respect END.
16373
fe0fb33e
CY
163742011-03-19 Chong Yidong <cyd@stupidchicken.com>
16375
ff854b0b
CY
16376 * dired-aux.el (dired-create-directory): Signal an error if the
16377 directory already exists (Bug#8246).
16378
fe0fb33e
CY
16379 * facemenu.el (list-colors-display): Call list-faces-display
16380 inside with-help-window.
16381 (list-colors-print): Use display property to align the final
16382 column, instead of checking window-width.
16383
576bce32
EZ
163842011-03-19 Eli Zaretskii <eliz@gnu.org>
16385
4d61f28d 16386 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16387 windows-nt systems.
16388 (emerge-protect-metachars): Quote correctly for ms-dos and
16389 windows-nt systems.
16390
89c41d68 163912011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16392
16393 * info.el (info-initialize): Replace all uses of `:' with
16394 path-separator for compatibility with non-Unix systems.
16395 Cache quoting of path-separator. (Bug#8258)
16396
b14e3e21 163972011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16398
16399 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16400 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16401 (mouse-avoidance-mode): Fix typos in docstrings.
16402
4525ce3e
CY
164032011-03-19 Chong Yidong <cyd@stupidchicken.com>
16404
16405 * startup.el (package-subdirectory-regexp): Move from package.el.
16406 Omit \\` and \\', and let callers add them.
16407
16408 * emacs-lisp/package.el (package-strip-version)
16409 (package-load-all-descriptors): Add \\` and \\' to
16410 package-subdirectory-regexp before using it.
16411 (package-untar-buffer): New arg DIR; ensure that file untars only
16412 into this expected directory. Remove superfluous delete-region.
16413 (package-unpack): Caller changed.
16414 (package-tar-file-info): Use package-subdirectory-regexp.
16415
a904a09a 164162011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16417
a904a09a
SM
16418 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16419 diff-mode-shared-map (bug#8284).
16420 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16421
164222011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16423
16424 * calendar/time-date.el (format-seconds): Use assoc instead of
16425 assoc-string, since assoc-string doesn't exist in XEmacs.
16426
171fc304
JB
164272011-03-17 Juanma Barranquero <lekktu@gmail.com>
16428
16429 * custom.el (custom-known-themes): Reflow docstring.
16430 (custom-theme-load-path): Fix typo in docstring.
16431 (load-theme): Fix typo in error message.
16432 (custom-available-themes, custom-variable-theme-value):
16433 Use `let', not `let*'.
16434
d71990a1
JB
164352011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16436
16437 * calc/README: Mention inclusion of musical notes.
16438
16439 * calc/calc-units.el (calc-lu-quant): Rename from
16440 `calc-logunits-quantity'.
16441 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16442 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16443 (calc-db): Rename from `calc-dblevel'.
16444 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16445 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16446 (calc-np): Rename from `calc-nplevel'.
16447 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16448 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16449 (calc-lu-plus): Rename from `calc-logunits-add'.
16450 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16451 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16452 (calc-lu-minus): Rename from `calc-logunits-sub'.
16453 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16454 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16455 (calc-lu-times): Rename from `calc-logunits-mul'.
16456 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16457 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16458 (calc-lu-divide): Rename from `calc-logunits-div'.
16459 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16460 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16461
16462 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16463 functions being autoloaded.
16464
16465 * calc/calc.el (calc-lu-power-reference): Rename from
16466 `calc-logunits-power-reference'.
16467 (calc-lu-field-reference): Rename from
16468 `calc-logunits-field-reference'.
16469
7a71b18d
GM
16470 * calc/calc-help.el (calc-l-prefix-help):
16471 Mention musical note functions.
d71990a1 16472
40c2934b
SM
164732011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16474
16475 * minibuffer.el (completion-all-sorted-completions):
16476 Use :completion-cycle-penalty text property if present.
16477
b0911414
KM
164782011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16479
16480 * allout.el (allout-yank-processing): Adjust for new rebulleting
16481 regime so bullet being yanked is used without prompting the user
16482 for a choice.
16483
8a05b668
JB
164842011-03-16 Juanma Barranquero <lekktu@gmail.com>
16485
16486 * startup.el (command-line): Warn the user that _emacs is deprecated.
16487
5ba5fb81
JB
164882011-03-16 Juanma Barranquero <lekktu@gmail.com>
16489
16490 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16491 (delphi-verbose, delphi-comment-face, delphi-string-face)
16492 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16493 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16494 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16495 (delphi-new-comment-line, delphi-font-lock-defaults)
16496 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16497 Fix typos in docstrings.
16498
2dab465b
KM
164992011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16500
5ba5fb81 16501 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16502 Invert the roles of character and string values for INSTEAD, so a
16503 string is used for the more common case of a defaulting prompt.
16504
0adf5618
SM
165052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * progmodes/ruby-mode.el (ruby-backward-sexp):
16508 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16509 * play/gamegrid.el (gamegrid-make-face):
16510 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16511 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16512 * notifications.el (notifications-notify):
16513 * net/xesam.el (xesam-search-engines):
16514 * net/quickurl.el (quickurl-list-insert):
16515 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16516
d72700e5
CY
165172011-03-15 Chong Yidong <cyd@stupidchicken.com>
16518
16519 * startup.el (command-line): Update package subdirectory regexp.
16520
49c5410a
SM
165212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16522
c6eee9aa
SM
16523 * allout.el (allout-abbreviate-flattened-numbering)
16524 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16525
49c5410a
SM
16526 * subr.el (read-char-choice): Only show the cursor after the prompt,
16527 not after the answer.
16528
047b2bb9
KR
165292011-03-15 Kevin Ryde <user42@zip.com.au>
16530
16531 * help-fns.el (variable-at-point): Skip leading quotes, if any
16532 (bug#8253).
16533
0a57d256
SM
165342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16537 warning message.
16538
77c992bc
MA
165392011-03-14 Michael Albinus <michael.albinus@gmx.de>
16540
16541 * shell.el (shell): When called interactively, offer to change the
16542 shell file name on remote hosts.
16543
eebc475d
TZ
165442011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16545
16546 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16547 integration for LDAP parameters. The host, base, user or binddn,
16548 and secret tokens can be specified in a netrc file, for instance.
16549 This is optional because an `auth-source' parameter must be
16550 specified in the search attributes.
16551
9d05d1ba
JB
165522011-03-13 Juanma Barranquero <lekktu@gmail.com>
16553
16554 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16555
09d9db2c
GM
165562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16559 into declaration. Remove redundant and harmful binding.
16560
165612011-03-12 Eli Zaretskii <eliz@gnu.org>
16562
16563 * files.el (file-ownership-preserved-p): Pass `integer' as an
16564 explicit 2nd argument to `file-attributes'. If the file's owner
16565 is the Administrators group on Windows, and the current user is
16566 Administrator, consider that a match.
16567
16568 * server.el (server-ensure-safe-dir): Consider server directory
16569 safe on MS-Windows if its owner is the Administrators group while
16570 the current Emacs user is Administrator. Use `=' to compare
16571 numerical UIDs, since they could be integers or floats.
16572
219bd536
JB
165732011-03-12 Juanma Barranquero <lekktu@gmail.com>
16574
16575 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16576
f3afd36b
MA
165772011-03-12 Michael Albinus <michael.albinus@gmx.de>
16578
16579 Sync with Tramp 2.2.1.
16580
16581 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16582
16583 * net/trampver.el: Update release number.
16584
3aaaa6f1
SM
165852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16586
94642599
SM
16587 * progmodes/compile.el (compilation--previous-directory): Fix up
16588 various nil/dead-marker mismatches (bug#8014).
16589 (compilation-directory-properties, compilation-error-properties):
16590 Don't call it at a position past the one we're about to change.
16591
3aaaa6f1
SM
16592 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16593 Disable obsolescence warnings in the file that declares it.
16594
14239447
KM
165952011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16596
099c39a4
JB
16597 * allout-widgets.el (allout-widgets-tally):
16598 Initialize allout-widgets-tally as a hash table rather than nil to
16599 prevent mode-line redisplay warnings. Also, clarify the module
16600 description and fix a comment typo.
14239447 16601
135e287c
JB
166022011-03-11 Juanma Barranquero <lekktu@gmail.com>
16603
16604 * help-fns.el (describe-variable): Don't complete keywords.
16605 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16606
ffbf300e
CY
166072011-03-10 Chong Yidong <cyd@stupidchicken.com>
16608
ba08b241
CY
16609 * emacs-lisp/package.el (package-version-join): Impose a standard
16610 string representation for pre/alpha/beta version lists.
16611 (package-unpack-single): Standardize the directory name by passing
16612 it through package-version-join.
16613 (package-strip-rcs-id): Accept any version string that does not
16614 signal an error in version-to-list.
ffbf300e 16615
f346fd6b
MA
166162011-03-10 Michael Albinus <michael.albinus@gmx.de>
16617
16618 * simple.el (delete-trailing-whitespace): Return nil for the
16619 benefit of `write-file-functions'.
16620
ccb55d27
GM
166212011-03-10 Glenn Morris <rgm@gnu.org>
16622
5ceaac0c
GM
16623 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16624
02da65ff
GM
16625 * vc/vc-git.el (vc-git-program): New option.
16626 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16627 (vc-git--call): Use it.
16628
b2f603cc
GM
16629 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16630
5772caab
GM
16631 * cus-edit.el (Custom-newline): If no button at point, look
16632 for a subgroup button at start-of-line. (Bug#2298)
16633
ccb55d27
GM
16634 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16635
ec6ecaed
JD
166362011-03-10 Julien Danjou <julien@danjou.info>
16637
16638 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16639 `cursor-type' is nil.
16640
9d5aa01d
JB
166412011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16642
16643 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16644
b6a5875b
KM
166452011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16646
7a71b18d 16647 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16648 preserves the existing header prefix, rebulleting it if necessary,
16649 rather than replacing it. This is necessary for proper operation
16650 of cooperative addons like allout-widgets.
1154d12e
JB
16651 (allout-make-topic-prefix, allout-rebullet-heading):
16652 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16653 value as alternate bullet to be used, instead of prompting the user
16654 for a bullet character.
b6a5875b 16655
ee545c35
MA
166562011-03-09 Michael Albinus <michael.albinus@gmx.de>
16657
d86d2721
SM
16658 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16659 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16660 `tramp-default-port'.
16661
c47971d7
DD
166622011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16663
16664 * net/rcirc.el (rcirc-handler-001): Remove useless
16665 with-rcirc-process-buffer.
16666 (rcirc-check-auth-status): Swap arguments to string-match.
16667
13522cb4
GM
166682011-03-09 Glenn Morris <rgm@gnu.org>
16669
0be6f4f1
GM
16670 * shell.el (shell-mode):
16671 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16672
13522cb4
GM
16673 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16674 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16675
515de2e3
CY
166762011-03-08 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * emacs-lisp/package.el (package-refresh-contents)
16679 (package-menu-execute): Use condition-case-no-debug.
16680
b511b994
MA
166812011-03-08 Michael Albinus <michael.albinus@gmx.de>
16682
16683 * simple.el (shell-command-to-string): Use `process-file'.
16684
16685 * emacs-lisp/package.el (package-tar-file-info): Handle also
16686 remote files.
16687
d86d2721
SM
16688 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16689 Use `equal' for upload base check.
b511b994 16690
25bbfb31
AM
166912011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16692
16693 * textmodes/texinfo.el (texinfo-environments):
16694 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16695
be996521
GM
166962011-03-08 Glenn Morris <rgm@gnu.org>
16697
e9c8529f
GM
16698 * cus-start.el (cursor-in-non-selected-windows):
16699 Fix :set quoting oddness. (Bug#8192)
16700
be996521
GM
16701 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16702 in some setf expressions. (Bug#2159)
16703
2bb5649e
CY
167042011-03-08 Chong Yidong <cyd@stupidchicken.com>
16705
16706 * custom.el (custom-available-themes): Return themes in
16707 alphabetical order.
16708
33383987 16709See ChangeLog.15 for earlier changes.
e3d51b27
MR
16710
16711;; Local Variables:
16712;; coding: utf-8
e3d51b27
MR
16713;; End:
16714
acaf905b 16715 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16716
16717 This file is part of GNU Emacs.
16718
16719 GNU Emacs is free software: you can redistribute it and/or modify
16720 it under the terms of the GNU General Public License as published by
16721 the Free Software Foundation, either version 3 of the License, or
16722 (at your option) any later version.
16723
16724 GNU Emacs is distributed in the hope that it will be useful,
16725 but WITHOUT ANY WARRANTY; without even the implied warranty of
16726 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16727 GNU General Public License for more details.
16728
16729 You should have received a copy of the GNU General Public License
16730 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.