* lisp/emacs-lisp/elint.el (elint-find-args-in-code):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4dc7c8d5 12012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2
ef501ef0
SM
3 * emacs-lisp/elint.el (elint-find-args-in-code):
4 Use help-function-arglist, so as to handle lexical byte-code.
5
aa7aaf8f
SM
6 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7 change (bug#11826).
8
4dc7c8d5 92012-07-17 Glenn Morris <rgm@gnu.org>
45fd731c
SM
102012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11
2143fa32
SM
12 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
13 Avoid spuriously marking the buffer as modified because of c-is-sws.
14
efc26dbe
SM
15 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
16 as not-a-comment (bug#11946).
17
f5695c9a
SM
18 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
19 for uninterned vars.
20
21 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
22 Use read-event since we don't really want to read chars but bytes.
23
45fd731c
SM
24 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
25 $$..$$ but also $..$ using regexps (bug#11953).
26 Use tex-verbatim for \url and \path.
27 (tex-font-lock-keywords): Define as defconst like the others.
28 (tex-common-initialization): Don't use font-lock-syntax-table any more.
29
ddfc8813
RK
302012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
31
32 * international/mule-cmds.el (ucs-insert): Make it an obsolete
33 alias for insert-char.
34
758e556a
FEG
352012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
36
37 * progmodes/python.el: Simplified imenu implementation.
38 (python-nav-jump-to-defun): Remove command.
39 (python-mode-map): Use `imenu' instead.
40 (python-nav-list-defun-positions-cache)
41 (python-imenu-include-defun-type, python-imenu-make-tree)
42 (python-imenu-subtree-root-label, python-imenu-index-alist):
43 Remove vars.
44 (python-nav-list-defun-positions, python-nav-read-defun)
45 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
46 (python-imenu-make-tree, python-imenu-create-index):
47 Remove functions.
758e556a
FEG
48 (python-mode): Update to interact with imenu by setting
49 `imenu-extract-index-name-function' only.
50
032d23ab
FEG
512012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
52
53 * progmodes/python.el: Enhancements to navigation commands.
54 (python-nav-backward-sentence)
55 (python-nav-forward-sentence): Remove.
56 (python-nav-backward-statement, python-nav-forward-statement)
57 (python-nav-statement-start, python-nav-statement-end)
58 (python-nav-backward-block, python-nav-forward-block)
59 (python-nav-block-start, python-nav-block-end)
60 (python-nav-forward-sexp-function)
61 (python-info-current-line-comment-p)
62 (python-info-current-line-empty-p): New functions.
63 (python-indent-context): Use `python-nav-statement-start'.
64
01795a1b
MA
652012-07-16 Michael Albinus <michael.albinus@gmx.de>
66
9328d9aa
MA
67 * eshell/em-ls.el (eshell/ls): Use `apply'.
68
69 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
70 multi-hops, instead of Tramp internals.
71
01795a1b
MA
72 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
73
74 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
75 when F1 and F2 are located on different hosts.
76
63408057
CY
772012-07-14 Chong Yidong <cyd@gnu.org>
78
79 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
80 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
81 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
82 (xterm-mouse--read-event-sequence-1000)
83 (xterm-mouse--read-event-sequence-1006): New functions. For old
84 mouse protocol, handle M-mouse-X events correctly.
85 (xterm-mouse-event): New arg specifying mouse protocol.
86 (turn-on-xterm-mouse-tracking-on-terminal)
87 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
88 sequence to toggle extended coordinates on newer XTerms.
89 This appears to be harmless on terminals which do not support this.
63408057 90
cd276f6e
LL
912012-07-14 Leo Liu <sdl.web@gmail.com>
92
28ca98ac
LL
93 Add fringe bitmap indicators for flymake. (Bug#11253)
94 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
95 (flymake-make-overlay): New arg BITMAP.
96 (flymake-error-bitmap, flymake-warning-bitmap)
97 (flymake-fringe-indicator-position): New user variables.
98
cd276f6e
LL
99 * fringe.el: New bitmap exclamation-mark.
100
04408072
JD
1012012-07-14 Jan Djärv <jan.h.d@swipnet.se>
102
103 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
104 also (Bug#7879).
105
b5cf7fc4
CY
1062012-07-14 Chong Yidong <cyd@gnu.org>
107
108 * electric.el (electric-pair-post-self-insert-function): Fix pair
109 insertion in empty-region case (Bug#11520).
110
be755c79
RT
1112012-07-14 Chong Yidong <cyd@gnu.org>
112
45fd731c
SM
113 * bindings.el: Consolidate ctl-x-r-map bindings.
114 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
115
116 * rect.el, register.el: Move bindings to bindings.el.
117
1182012-07-14 Reuben Thomas <rrt@sc3d.org>
119
120 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
121
7f5b3198
AS
1222012-07-13 Andreas Schwab <schwab@linux-m68k.org>
123
124 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
125
97662200
JB
1262012-07-13 Juanma Barranquero <lekktu@gmail.com>
127
80185fed
JB
128 * bindings.el (top): Use `mapc' instead of `mapcar'.
129
97662200
JB
130 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
131
2bb1ae55
MA
1322012-07-13 Michael Albinus <michael.albinus@gmx.de>
133
134 * progmodes/sql.el (sql-comint): Suppress the check for program on
135 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
136 (Bug#11908)
137
dea31bd3
CY
1382012-07-13 Chong Yidong <cyd@gnu.org>
139
140 * bindings.el: Assign a non-nil permanent-local property to
141 per-buffer variables which lack a default value (Bug#11930).
142
143 * help-fns.el (describe-variable): In the "automatically becomes
144 local" notice, take note of permanent-local variables.
145
b68b3337
CY
1462012-07-13 Chong Yidong <cyd@gnu.org>
147
148 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
149 to allow printing the message when called from Lisp.
150
151 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
152 Remove toggle-read-only.
153
154 * bs.el (bs-toggle-readonly):
45fd731c
SM
155 * buff-menu.el (Buffer-menu-toggle-read-only):
156 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
157
158 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
159 Remove with-no-warnings around toggle-read-only.
160 (ffap-read-only, ffap-read-only-other-window)
161 (ffap-read-only-other-frame): Callers changed.
162
163 * help-mode.el: Don't require view package.
164 (help-mode-finish): Set buffer-read-only instead of calling
165 toggle-read-only.
166
167 * bindings.el (mode-line-toggle-read-only):
168 * dired.el (dired-toggle-read-only):
169 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
170 with non-nil second arg.
171
172 * emacs-lisp/eieio-custom.el (eieio-customize-object):
173 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
174 directly.
175
56bc1586
EZ
1762012-07-12 Eli Zaretskii <eliz@gnu.org>
177
178 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
179 not incf.
180
a464a6c7
SM
1812012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 More CL cleanups and reduction of use of cl.el.
184 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
185 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
186 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
187 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
188 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
189 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
190 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
191 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
192 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
193 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
194 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
195 * eshell/em-cmpl.el, eshell/em-banner.el:
196 * calendar/parse-time.el: Use cl-lib.
197 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
198 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
199 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
200 * term/ns-win.el, term.el, shell.el, ps-samp.el:
201 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
202 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
203 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
204 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
205 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
206 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
207 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
208 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
209 `lambda' rather than with `quote'.
210 (eshell-do-opt): Adjust accordingly.
211 (eshell-process-option): Simplify.
212 * eshell/esh-var.el:
213 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
214 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
215 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
216 to `pcase--dontcare'.
217 * emacs-lisp/cl.el (labels): Mark obsolete.
218 (cl--letf, letf): Move to cl-lib.
219 (cl--letf*, letf*): Remove.
220 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
221 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
222 (cl-progv): Rewrite.
223 (cl--letf, cl-letf): Move from cl.el.
224 (cl-letf*): New macro.
225 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
226
7ad4afe1
MA
2272012-07-11 Michael Albinus <michael.albinus@gmx.de>
228
229 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
230
9af57756
CY
2312012-07-11 Chong Yidong <cyd@gnu.org>
232
233 * vc/log-edit.el (log-edit-vc-backend): New variable.
234 (log-edit): Doc fix.
235
236 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
237 argument of log-edit to set up all local variables.
238 (vc-start-logentry): New optional arg specifying VC backend.
239
240 * vc/vc.el (vc-checkin): Use it.
241 (vc-deduce-fileset): Handle Log Edit buffers.
242 (vc-diff): Make first argument optional too.
243
244 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
245
8477cc7a
MA
2462012-07-10 Michael Albinus <michael.albinus@gmx.de>
247
248 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
249 command, just in case. The function is not needed anymore.
250 (eshell-external-command): Do not call `eshell-remote-command'.
251
19faa8e8
SM
2522012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
253
f58e0fd5
SM
254 Reduce use of (require 'cl).
255 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
256 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
257 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
258 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
259 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
260 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
261 * battery.el, avoid.el, abbrev.el: Use cl-lib.
262 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
263 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
264 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
265 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
266 * calculator.el, autorevert.el, apropos.el: Don't require CL.
267 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
268 (byte-compile-unfold-bcf, byte-compile-check-variable):
269 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
270 (byte-compile-nilconstp):
271 * emacs-lisp/autoload.el (make-autoload): Use pcase.
272 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
273
2519d43a
SM
274 * emacs-lisp/gv.el (cond): Make it a valid place.
275 (if): Simplify slightly.
276
19faa8e8
SM
277 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
278 (pcase--self-quoting-p): New function.
279 (pcase--u1): Use it.
280
c4907a5e
GM
2812012-07-10 Glenn Morris <rgm@gnu.org>
282
283 * emacs-lisp/authors.el (authors-fixed-entries):
284 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
285
c4444d16
PE
2862012-07-09 Paul Eggert <eggert@cs.ucla.edu>
287
288 Rename configure.in to configure.ac (Bug#11603).
289 * emacs-lisp/authors.el (authors-canonical-file-name):
290 * progmodes/autoconf.el (autoconf-mode):
291 Prefer configure.ac to configure.in.
292
d75be97d
CY
2932012-07-08 Chong Yidong <cyd@gnu.org>
294
01ac65bd
CY
295 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
296 Implement the mouse-1-click-follows-link handling properly.
297
298 * info.el (Info-link-keymap): Use follow-link mechanism for
299 header-line links (Bug#374).
300
d75be97d
CY
301 * simple.el (deactivate-mark): Do not set the primary selection
302 if another program has acquired it (Bug#11772).
303
87a92845 3042012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
305
306 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
307 (woman-decode-region): Replace escaped-escapes without destroying
308 bold or underline (Bug#11552).
87a92845 309 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 310
621b9d6c
CY
3112012-07-07 Chong Yidong <cyd@gnu.org>
312
313 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
314 (interprogram-cut-function, interprogram-paste-function):
315 Mention that we typically mean the clipboard.
621b9d6c 316
133a11fc
GM
3172012-07-06 Glenn Morris <rgm@gnu.org>
318
0d27a45e
GM
319 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
320
133a11fc
GM
321 * files.el (toggle-read-only): Restrict message to interactive use.
322
07b151f1
MA
3232012-07-06 Michael Albinus <michael.albinus@gmx.de>
324
325 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
326
327 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
328
211b896b
GM
3292012-07-06 Glenn Morris <rgm@gnu.org>
330
50394322
GM
331 * Makefile.in (compile-one-process): Rename from "recompile".
332
211b896b
GM
333 * Makefile.in (bzr-update): "compile" is the same as "recompile
334 autoloads", but parallelizable, so use that instead.
335
4737eec9
DG
3362012-07-06 Dmitry Gutov <dgutov@yandex.ru>
337
338 * window.el (quit-window): Always restore window height when
339 it's saved in quit-restore parameter.
340
226c3633 3412012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
342
343 * simple.el (kill-whole-line): Doc tweak.
344
226c3633 3452012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
346
347 * files.el (file-relative-name): Compare file names
348 case-insensitively if on MS-Windows or MS-DOS, or if
349 read-file-name-completion-ignore-case is non-nil. Don't use
350 case-fold-search for this purpose. (Bug#11827)
351
4dc7c8d5
SM
3522012-07-17 Andreas Schwab <schwab@linux-m68k.org>
353
354 * calendar/cal-dst.el (calendar-current-time-zone):
355 Return calendar-current-time-zone-cache if non-nil.
356
3572012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 3582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 359
19faa8e8
SM
360 * calendar/cal-dst.el (calendar-current-time-zone):
361 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 362
60198fc9
GM
3632012-07-06 Glenn Morris <rgm@gnu.org>
364
365 * Makefile.in (cvs-update): Remove old alias.
366
957b3189
MA
3672012-07-05 Michael Albinus <michael.albinus@gmx.de>
368
369 Sync with Tramp 2.2.6-pre.
370
371 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
372 compatible declaration.
373
19faa8e8
SM
374 * net/tramp-cmds.el (tramp-append-tramp-buffers):
375 Protect `list-load-path-shadows' call.
957b3189
MA
376
377 * net/tramp-compat.el (top): Require packages, which aren't
378 autoloaded anymore for XEmacs. Protect call of
379 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
380 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
381 it hurts at least for SXEmacs.
382 (tramp-compat-temporary-file-directory): In XEmacs, there is no
383 standard-value for `temporary-file-directory'.
384
385 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
386 Redirect stderr to /dev/null.
387 (tramp-sh-handle-write-region): uid and gid can be floats.
388 Reported by Russell Sim <russell.sim@gmail.com>.
389 (tramp-sh-handle-vc-registered): Hide errors.
390 (tramp-vc-file-name-handler): Use dummy results for `process-file'
391 and `start-file-process'.
392 (tramp-maybe-open-connection): Check also whether `non-essential'
393 is bound.
394
566df3fc
CY
3952012-07-04 Chong Yidong <cyd@gnu.org>
396
397 * xml.el (xml--parse-buffer): Use xml-syntax-table.
398 (xml-parse-tag): Likewise, and avoid changing entity tables.
399 (xml-syntax-table): Define from scratch, making sure not to give
400 x2000 and other Unicode spaces whitespace syntax, since those are
401 not spaces in XML.
402 (xml-parse-fragment): Delete unused function.
403 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
404 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
405 (xml-entity-ref, xml-pe-reference-re)
406 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
407 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
408 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
409 (xml-entity-value-re): Use syntax references in regexps where
410 possible; no need to define inside a let-binding.
411 (xml-parse-dtd): Use xml-pe-reference-re.
412 (xml-entity-or-char-ref-re): New defconst.
413 (xml-parse-string, xml-substitute-special): Use it.
414
30eabd7a
SM
4152012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
416
0781098a
SM
417 * files.el (locate-dominating-file): Allow `name' to be a predicate.
418 (find-file--read-only): New function.
419 (find-file-read-only, find-file-read-only-other-window)
420 (find-file-read-only-other-frame): Use it.
421 (insert-file-contents-literally): Don't `fset'.
422 (get-free-disk-space): Use locate-dominating-file.
423
b5771c0d
SM
424 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
425 function is already compiled.
426
30eabd7a
SM
427 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
428
b4886f6e
MA
4292012-07-03 Michael Albinus <michael.albinus@gmx.de>
430
431 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
432 files on the same host.
433
b9d82339
AS
4342012-07-03 Andreas Schwab <schwab@linux-m68k.org>
435
436 * help-fns.el (describe-function-1): Only call
437 help-fns--autoloaded-p when we have a file name. (Bug#11848)
438
a76e6535
CY
4392012-07-03 Chong Yidong <cyd@gnu.org>
440
441 * xml.el: Protect parser against XML bombs.
442 (xml-entity-expansion-limit): New variable.
443 (xml-parse-string, xml-substitute-special): Use it.
444 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
445
b544fef2
GM
4462012-07-03 Glenn Morris <rgm@gnu.org>
447
448 * progmodes/bug-reference.el (bug-reference-bug-regexp):
449 Allow linking to specific messages in debbugs reports (eg 123#5).
450
a7aef6f5
CY
4512012-07-02 Chong Yidong <cyd@gnu.org>
452
453 * xml.el: Fix entity and character reference expansion, allowing
454 them to expand into markup as per XML spec.
455 (xml-default-ns): New variable.
456 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
457 (xml-parse-region): Make first two arguments optional.
458 Discard text properties.
459 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
460 All callers changed.
a7aef6f5
CY
461 (xml-parse-tag): Call xml-parse-tag-1. For backward
462 compatibility, this function should not modify buffer contents.
463 (xml-parse-tag-1): Fix opening-tag regexp.
464 (xml-parse-string): Rewrite, handling entity and character
465 references properly.
466 (xml--entity-replacement-text): Signal an error if a parameter
467 entity is undefined.
468
3df31c9f
SM
4692012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
470
2b5208f1
SM
471 * comint.el (comint-output-filter): Filter out repeated prompts.
472
3df31c9f
SM
473 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
474 and file-name-absolute-p.
475 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
476 internal calls.
477
e3ac1281
PE
4782012-07-02 Paul Eggert <eggert@cs.ucla.edu>
479
480 Spelling fixes.
481 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
482 Rename from byte-compile--refiy-function. All uses changed.
483
fbf2e7ad
CY
4842012-07-01 Chong Yidong <cyd@gnu.org>
485
486 * xml.el (xml--parse-buffer): New function. Move most of
487 xml-parse-region here.
488 (xml-parse-region): Copy region into a temporary buffer, since
489 parameter entity substitution requires changing buffer contents.
490 Use xml--parse-buffer.
491 (xml-parse-file): Use xml--parse-buffer.
492 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 493 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 494
9bf0aa15
GM
4952012-06-30 Glenn Morris <rgm@gnu.org>
496
bbce2853
GM
497 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
498
9bf0aa15
GM
499 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
500 Remove outdated and unnecessary dbus declarations.
501
0d23c240
EZ
5022012-06-30 Eli Zaretskii <eliz@gnu.org>
503
504 * emacs-lisp/timer.el (timer-until): Subtract results of
505 float-time, instead of taking float-time of the result of
506 time-subtract, since float-time signals an error for negative time
507 arguments.
508
b3218de1
CY
5092012-06-30 Chong Yidong <cyd@gnu.org>
510
511 * xml.el (xml-*-re): Convert defvars into defconsts, and
512 eval-and-compile them so eval-and-compile works on derivatives.
513 (xml--entity-replacement-text): Use eval-and-comple.
514
a40c87a0
MA
5152012-06-30 Michael Albinus <michael.albinus@gmx.de>
516
517 * vc/vc-git.el (vc-git-registered): Use cache property
518 `git-registered'.
519 (vc-git-mode-line-string): Call `vc-working-revision' instead of
520 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 521 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 522
ac87de97
DG
5232012-06-30 Dmitry Gutov <dgutov@yandex.ru>
524
525 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 526 removed (likely outside Emacs). (Bug#11757)
ac87de97 527
ac10fe06
SM
5282012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
529
3df31c9f 530 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 531
7f3fbd5d
CY
5322012-06-30 Chong Yidong <cyd@gnu.org>
533
534 * xml.el: Implement XML parameter entities.
535 (xml-parameter-entity-alist): New variable.
536 (xml-parse-region, xml-parse-fragment): Preserve previous values
537 of xml-entity-alist and xml-parameter-entity-alist, so that
538 repeated calls on different documents do not change them.
539 (xml-parse-tag): Fix doctype regexp.
540 (xml--entity-replacement-text): New function.
541 (xml-parse-dtd): Use it. Don't handle system entities; doing that
542 properly requires url retrieval which is unimplemented.
543 (xml-escape-string): Doc fix.
544
3cfbebba
SM
5452012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
548
2af3565e
DA
5492012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
550
551 * fringe.el (fringe-mode): Doc fix.
552
929df0e7
MA
5532012-06-29 Michael Albinus <michael.albinus@gmx.de>
554
555 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
556 is non-nil.
557 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
558 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
559
c8d3a25c 5602012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 561
c8d3a25c
GM
562 * calendar/cal-dst.el (calendar-current-time-zone):
563 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 564
c8d3a25c 5652012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
566
567 * progmodes/which-func.el (which-func-format):
568 Add mouse-face. (Bug#11698)
569
c8d3a25c
GM
5702012-06-29 Leo Liu <sdl.web@gmail.com>
571
572 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
573
5742012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * minibuffer.el (minibuffer-confirm-exit-commands):
577 Add completion-at-point (bug#11725).
578
5792012-06-29 Glenn Morris <rgm@gnu.org>
580
581 * progmodes/f90.el (f90-font-lock-keywords-2):
582 Add some preprocessor elements. (Bug#10499)
583
5842012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * progmodes/cperl-mode.el (cperl-update-syntaxification):
587 Use syntax-propertize (bug#11739).
588
2badeec4
JB
5892012-06-28 Juanma Barranquero <lekktu@gmail.com>
590
591 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
592
ae4969c2
JD
5932012-06-28 Julien Danjou <julien@danjou.info>
594
595 * term.el (term-handle-colors-array): Use a set of new faces to
596 color the terminal. Also uses :inverse-video property.
597 (term-default-fg-color): Set to nil by default, deprecate in favor
598 of `term-face'.
599 (term-default-bg-color): Set to nil by default, deprecate in favor
600 of `term-face'.
601 (term-current-face): Use `term-face' by default.
602 (term-bold-attribute): Variable deleted.
603
1c9bd870
GM
6042012-06-28 Glenn Morris <rgm@gnu.org>
605
606 * simple.el (completion-list-mode-finish):
607 Don't use toggle-read-only. (Since completion-list-mode has
608 a special mode-class, it wasn't doing anything extra anyway.)
609
c207708c
SM
6102012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 Make inlining of other-mode interpreted functions work (bug#11799).
613 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
614 (byte-compile): Use it to fix compilation of lexical-binding closures.
615 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
616 function, if needed.
617
3fd56834
SM
6182012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
619
04901786
SM
620 * help-mode.el (help-make-xrefs): Don't just withstand
621 cyclic-variable-indirection but any error in documentation-property.
622
1ec4b7b2
SM
623 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
624 memory use.
625 * bindings.el (bindings--define-key): New function.
626 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
627 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
628 * bindings.el: Use it to purecopy define-key bindings.
629
e309e2a5
SM
630 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
631
d5c6faf9
SM
632 * emacs-lisp/cl.el (flet): Mark obsolete.
633 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
634 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
635 * progmodes/js.el (js-c-fill-paragraph):
636 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
637 (ebrowse-switch-member-buffer-to-derived-class):
638 * play/5x5.el (5x5-solver): Use cl-flet.
639
6e9590e2
SM
640 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
641 (cl--symbol-function): New macro.
642 (cl--letf, cl--letf*): Use it.
643
3fd56834
SM
644 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
645 Strip "toggle-" if any.
646
35ff222c
GM
6472012-06-27 Glenn Morris <rgm@gnu.org>
648
1ba6038a
GM
649 * info.el (Info-default-directory-list): Move here from paths.el.
650 * paths.el: Remove file, which is now empty.
651 * loadup.el: No longer load "paths".
652
0ea0e51b
GM
653 * custom.el (custom-initialize-delay): Doc fix.
654
35ff222c
GM
655 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
656 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
657 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
658 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
659 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
660 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
661 * eshell/eshell.el (eshell-defgroup): Remove alias.
662
c89926a5
CY
6632012-06-27 Chong Yidong <cyd@gnu.org>
664
665 * help.el (help-enable-auto-load): New variable.
666
667 * help-fns.el (help-fns--autoloaded-p): New function.
668 (describe-function-1): Refer to a function as "autoloaded" if it
669 was autoloaded at any time in the past. Perform autoloading if
670 help-enable-auto-load is non-nil.
671
cc06e7e7
EZ
6722012-06-26 Eli Zaretskii <eliz@gnu.org>
673
674 * makefile.w32-in (compile, compile-always): Depend on
675 update-subdirs, not on subdirs.el. Otherwise, several different
676 sub-targets of 'bootstrap' running in parallel could
677 simultaneously write to subdirs.el, producing a garbled file.
678
d2c32364
SS
6792012-06-26 Sam Steingold <sds@gnu.org>
680
681 * files.el (file-name-base): New convenience function.
0d14cc21
GM
682 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
683 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
684 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
685 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
686 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
687 * textmodes/tex-mode.el: Use it.
688 Did not touch cedet and org because they are maintained elsewhere.
689
5cf983b2
MR
6902012-06-26 Martin Rudalics <rudalics@gmx.at>
691
692 * calendar/calendar.el (calendar-exit): Don't try to delete or
693 iconify last frame. See:
694 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
695
8c4f2952
JD
6962012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
697
698 * server.el (server-process-filter): Remember dir in the
699 process's `server-client-directory' properties.
700
772b2e2c
CY
7012012-06-24 Chong Yidong <cyd@gnu.org>
702
703 * xml.el (xml-parse-tag): Correctly handle comment embedded in
704 non-tag text.
705
711b11e1
JB
7062012-06-23 Juanma Barranquero <lekktu@gmail.com>
707
708 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
709
dc5d230c
SM
7102012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * help-fns.el (describe-variable): Don't croak when doc is not found.
713 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
714 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
715 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
716 * emacs-lisp/smie.el (smie-next-sexp): CSE.
717 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
718 ((lambda ..) ..).
719 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
720
136e1c1d
CY
7212012-06-23 Chong Yidong <cyd@gnu.org>
722
e8c1cabf
CY
723 * info.el (Info-mouse-follow-link): Accept symbol values of
724 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
725 (Info-fontify-node): Use Info-link-keymap for all navigation
726 buttons, with link-args property to perform the desired action.
727 (Info-link-keymap): Doc fix.
728 (Info-next-link-keymap, Info-prev-link-keymap)
729 (Info-up-link-keymap): Delete now-unused keymaps.
730
0e9e6c6a
CY
7312012-06-23 Chong Yidong <cyd@gnu.org>
732
05e89fea
CY
733 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
734
0e9e6c6a
CY
735 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
736 system abbrevs.
737
738 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
739
e33c6771
SM
7402012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
741
b68581e2
SM
742 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
743 (bug#11719).
744
e33c6771
SM
745 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
746 the requote function doesn't work properly (bug#11714).
747
7117e105
GM
7482012-06-23 Glenn Morris <rgm@gnu.org>
749
750 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
751
36cec983
SM
7522012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 Further GV/CL cleanups.
755 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
756 gv-expander.
757 (gv--defun-declaration): New function.
758 (defun-declarations-alist): Use it.
759 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
760 (gv-place): Autoload.
761 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
762 original definition of dotimes and dolist.
763 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
764 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
765 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
766 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
767 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
768 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
769 to the function's definition.
770 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
771 * window.el:
772 * files.el:
773 * faces.el:
774 * env.el: Don't use CL.
775
d35af63c
PE
7762012-06-22 Paul Eggert <eggert@cs.ucla.edu>
777
778 Support higher-resolution time stamps (Bug#9000).
779
780 * calendar/time-date.el (with-decoded-time-value): New arg
781 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
782 (encode-time-value): New optional arg PICO. New type 3.
783 (time-to-seconds) [!float-time]: Support the new picoseconds
784 component if it's used.
785 (seconds-to-time, time-subtract, time-add):
786 Support ps-resolution time stamps as well.
787
788 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
789 (timerp): Timer vectors now have length 9, not 8.
790 (timer--time): Support new-style (4-part) time stamps.
791 (timer-next-integral-multiple-of-time): Time stamps now have
792 picosecond resolution, so take a bit more care about rounding.
793 (timer-relative-time, timer-inc-time): New optional arg psecs.
794 (timer-set-time-with-usecs): Set psecs to 0.
795 (timer--activate): Check psecs component, too.
796
797 * proced.el (proced-time-lessp): Support ps-resolution stamps.
798
ac77b21a
SM
7992012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
800
f143bfe3
SM
801 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
802 Move the non-essential binding to the post/pre-command-hook where it is
803 more obviously correct.
804
ac77b21a
SM
805 * subr.el (read-passwd): Don't use a history at all.
806 * savehist.el (savehist-save): Remove password saved accidentally
807 because of the above bug.
808
76386c5a
BG
8092012-06-22 Bastien Guerry <bzg@gnu.org>
810
811 * files.el (toggle-read-only): Display a message telling whether
812 the buffer is read-only or not (bug#11726).
813
2ee3d7f0
SM
8142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * emacs-lisp/gv.el: New file.
817 * subr.el (push, pop): Extend to generalized variables.
818 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
819 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
820 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
821 gv-define-simple-setter, and gv-define-expander.
822 Remove setf-methods defined in gv. Rename cl-setf -> setf.
823 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
824 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
825 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
826 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
827 gv-letplace.
828 (cl-defstruct): Don't define setf-method any more.
829 * emacs-lisp/cl.el (flet): Don't autoload.
830 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
831 (define-setf-expander, defsetf, define-modify-macro)
832 (cl-struct-setf-expander): Move from cl-lib.el.
833 * emacs-lisp/syntax.el:
834 * emacs-lisp/ewoc.el:
835 * emacs-lisp/smie.el:
836 * emacs-lisp/cconv.el:
837 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
838 (timer--time): Use gv-define-simple-setter.
839 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
840 to avoid coding-system problems in subr.el. Adjust all users.
841 (macroexp--maxsize, macroexp-small-p): New functions.
842 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
843 * scroll-bar.el (scroll-bar-mode):
844 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
845 (normal-erase-is-backspace-mode): Don't use the `eq' place.
846 * winner.el (winner-configuration, winner-make-point-alist)
847 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
848 * files.el (locate-file-completion-table): Avoid list*.
849
c5695d1d
CY
8502012-06-22 Chong Yidong <cyd@gnu.org>
851
852 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
853 (dired-create-files): Doc fix (Bug#11329).
854 (dired-do-copy): Doc fix (Bug#11334).
855 (dired-mark-read-string): Doc fix (Bug#11553).
856
2ee3d7f0
SM
857 * dired.el (dired-recursive-copies, dired-recursive-deletes):
858 Doc fix (Bug#11326).
c5695d1d
CY
859 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
860 (dired-dwim-target): Doc fix.
861
862 * wdired.el (wdired-mode): Doc fix.
863
89b5595a
GM
8642012-06-22 Glenn Morris <rgm@gnu.org>
865
575db3f1
GM
866 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
867 (pcmpl-rpm-cache-stamp-file): New constant.
868 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
869 (pcmpl-rpm-packages): Optionally cache list of packages.
870
a4c8dd51
GM
871 * pcmpl-rpm.el (pcmpl-rpm): New group.
872 (pcmpl-rpm-query-options): New option.
873 (pcmpl-rpm-packages): No need to inline it.
874 Use pcmpl-rpm-query-options.
875
89b5595a
GM
876 * calendar/calendar.el (calendar-in-read-only-buffer):
877 Avoid some needless mode changes.
878
e76f0800
CY
8792012-06-21 Chong Yidong <cyd@gnu.org>
880
881 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
882 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 883 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 884
297a8f1d
CY
8852012-06-20 Chong Yidong <cyd@gnu.org>
886
887 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
888
d34c18b1
DR
8892012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
890
891 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
892 (bug#11201).
893
32f7f28e
CY
8942012-06-20 Chong Yidong <cyd@gnu.org>
895
896 * term.el (term-window-width): Handle the case of a missing right
897 fringe (Bug#8837).
898 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
899 (term-mode): Use define-derived-mode. Minor cleanups.
900 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
901 (term-move-columns, term-insert-char, term-emulate-terminal)
902 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 903
493c6688
MA
9042012-06-20 Michael Albinus <michael.albinus@gmx.de>
905
d34c18b1
DR
906 * net/ange-ftp.el (ange-ftp-get-passwd):
907 Bind `enable-recursive-minibuffers'.
493c6688
MA
908 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
909
3f06ecf4
DR
9102012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
911
912 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
913
68f12411
GM
9142012-06-19 Glenn Morris <rgm@gnu.org>
915
916 * progmodes/python.el (python-mode): Derive from prog-mode.
917
b3820318
KG
9182012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
919
920 * emulation/edt.el (edt-default-menu-bar-update-buffers)
921 (edt-user-menu-bar-update-buffers): New functions.
922 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
923
c6bf3022
CY
9242012-06-19 Chong Yidong <cyd@gnu.org>
925
926 * subr.el (with-selected-window): Preserve the selected window's
927 terminal's top-frame (Bug#4702).
928
929 * window.el (save-selected-window): Likewise.
930
25f09295
SM
9312012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * progmodes/python.el (python-rx-constituents): Move backquote.
934 (python-skeleton-define, python-define-auxiliary-skeleton):
935 Use `declare'.
936
6b11952a
MA
9372012-06-18 Michael Albinus <michael.albinus@gmx.de>
938
939 * minibuffer.el (read-file-name-default): Revert the patch from
940 2012-06-17.
941
ee4b1330
SM
9422012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
945 (pcase--u1, pcase--q1): Don't use apply-partially.
946
35647f79
GM
9472012-06-18 Glenn Morris <rgm@gnu.org>
948
949 * progmodes/python.el (python-proc, python-buffer)
950 (python-send-receive, python-send-string): Fix obsolete versions.
951
24b0cff0
MR
9522012-06-18 Martin Rudalics <rudalics@gmx.at>
953
954 * window.el (special-display-p): Completely remove stringp
955 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
956
29855149
MA
9572012-06-17 Michael Albinus <michael.albinus@gmx.de>
958
959 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
960
961 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
962
963 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
964 * net/tramp-sh.el (tramp-maybe-open-connection):
965 Throw if `non-essential' is non-nil.
966
07463363
MR
9672012-06-17 Martin Rudalics <rudalics@gmx.at>
968
969 * window.el (special-display-p): Signal an error if BUFFER-NAME
970 is not a string (Bug#11713).
971
48d1354e
PE
9722012-06-17 Paul Eggert <eggert@cs.ucla.edu>
973
974 * progmodes/python.el (python-info-beginning-of-backslash):
975 Rename from python-info-beginning-of-backlash, as a spelling fix.
976
eb4a8a9a
CY
9772012-06-17 Chong Yidong <cyd@gnu.org>
978
979 * term.el (term-emulate-terminal): If term-check-size is called,
980 move point to the process mark without resetting point (Bug#4635).
981
ddfbf826 9822012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
983
984 * international/mule-cmds.el (mule-menu-keymap)
985 (set-language-environment, set-locale-environment): Doc tweaks.
986
9b0e3eba
AA
9872012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
988
989 * cus-face.el (custom-face-attributes): Add wave-style underline
990 attribute.
991 * faces.el (set-face-attribute): Update docstring to describe
992 wave-style underline attribute.
993
771e3eae
CY
9942012-06-16 Chong Yidong <cyd@gnu.org>
995
996 * term/xterm.el (terminal-init-xterm): Discard input before
997 querying background mode (Bug#10959).
998
7ae2ea10
SM
9992012-06-16 Stefan Merten <smerten@oekonux.de>
1000
1001 * textmodes/rst.el: Added and corrected some comments.
1002 (rst-re-alist-def): Improve symbol syntax.
1003 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1004 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1005 (rst-official-version, rst-official-cvs-rev): Update version
1006 information.
7ae2ea10 1007
b6974efa
JB
10082012-06-15 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1011 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1012
8826d473
GM
10132012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1014
1015 * progmodes/python.el: New python.el merge.
1016 (python-guess-indent): Obsolete var.
1017 (python-indent-guess-indent-offset): New defcustom.
1018 (python-indent): Obsolete var.
1019 (python-indent-offset): New defcustom.
1020 (python-python-command, python-jython-command): Delete var.
1021 (python-shell-interpreter): New defcustom.
1022 (python-pdbtrack-do-tracking-p): Delete var.
1023 (python-pdbtrack-activate): New defcustom.
1024 (python-use-skeletons): Obsolete var.
1025 (python-skeleton-autoinsert): New defcustom.
1026 (inferior-python-filter-regexp, python-continuation-offset)
1027 (python-honour-comment-indentation, python-indent-string-contents)
1028 (python-jython-packages, python-mode-hook)
1029 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1030 (python-shell-prompt-alist)
1031 (python-source-modes): Delete defcustoms.
1032 (python-check-buffer-name, python-eldoc-setup-code)
1033 (python-eldoc-string-code, python-ffap-setup-code)
1034 (python-ffap-string-code, python-fill-comment-function)
1035 (python-fill-decorator-function, python-fill-paren-function)
1036 (python-fill-string-function, python-imenu-include-defun-type)
1037 (python-imenu-make-tree, python-imenu-subtree-root-label)
1038 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1039 (python-shell-compilation-regexp-alist)
1040 (python-shell-completion-module-string-code)
1041 (python-shell-completion-pdb-string-code)
1042 (python-shell-completion-setup-code)
1043 (python-shell-completion-string-code)
1044 (python-shell-enable-font-lock, python-shell-exec-path)
1045 (python-shell-extra-pythonpaths)
1046 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1047 (python-shell-process-environment)
1048 (python-shell-prompt-block-regexp)
1049 (python-shell-prompt-output-regexp)
1050 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1051 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1052 (python-shell-virtualenv-path): New defcustoms.
1053 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1054 (inferior-python-mode-syntax-table, python--prompt-regexp)
1055 (python-buffer, python-command python-python-command)
1056 (python-default-template, python-imports, python-indent-index)
1057 (python-indent-list, python-indent-list-length)
1058 (python-mode-running, python-pdbtrack-is-tracking-p)
1059 (python-preoutput-continuation, python-preoutput-leftover)
1060 (python-preoutput-result, python-preoutput-skip-next-prompt)
1061 (python-prev-dir/file, python-recursing)
1062 (python-saved-check-command, python-version-checked)
1063 (python-which-func-length-limit)
1064 (view-return-to-alist): Delete vars.
1065 (python-check-custom-command, python-dotty-syntax-table)
1066 (python-imenu-index-alist, python-indent-current-level)
1067 (python-indent-dedenters, python-indent-levels)
1068 (python-nav-beginning-of-defun-regexp)
1069 (python-nav-list-defun-positions-cache)
1070 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1071 (python-shell-internal-buffer)
1072 (python-skeleton-available): New vars.
1073 (def-python-skeleton): Delete macro.
1074 (python-skeleton-define): New macro.
1075 (python-define-auxiliary-skeleton, python-rx): New macros.
1076 (python-insert-class): Delete command.
1077 (python-skeleton-class): New command.
1078 (python-insert-def): Delete command.
1079 (python-skeleton-def): New command.
1080 (python-insert-for): Delete command.
1081 (python-skeleton-for): New command.
1082 (python-insert-if): Delete command.
1083 (python-skeleton-if): New command.
1084 (python-insert-try/except, python-insert-try/finally): Delete commands.
1085 (python-skeleton-try): New command.
1086 (python-insert-while): Delete command.
1087 (python-skeleton-while): New command.
1088 (python-backspace): Delete command.
1089 (python-indent-dedent-line-backspace): New command.
1090 (python-electric-colon): Delete command.
1091 (python-indent-electric-colon): New command.
1092 (python-guess-indent): Delete command.
1093 (python-indent-guess-indent-offset): New command.
1094 (python-shift-left): Delete command.
1095 (python-indent-shift-left): New command.
1096 (python-shift-right): Delete command.
1097 (python-indent-shift-right): New command.
1098 (python-find-function): Delete command.
1099 (python-nav-jump-to-defun): New command.
1100 (python-next-statement): Delete command.
1101 (python-nav-forward-sentence): New command.
1102 (python-previous-statement): Delete command.
1103 (python-nav-backward-sentence): New command.
1104 (python-fill-paragraph): Delete command.
1105 (python-fill-paragraph-function): New command.
1106 (python-send-buffer): Delete command.
1107 (python-shell-send-buffer): New command.
1108 (python-send-defun): Delete command.
1109 (python-shell-send-defun): New command.
1110 (python-send-region, python-send-region-and-go): Delete commands.
1111 (python-shell-send-region)
1112 (python-shell-switch-to-shell): New commands.
1113 (python-send-string): Delete command.
1114 (python-shell-send-string): New command.
1115 (python-switch-to-python): Delete command.
1116 (python-shell-switch-to-shell): New command.
1117 (python-describe-symbol): Delete command.
1118 (python-eldoc-at-point): New command.
1119 (python--set-prompt-regexp, python-args-to-list)
1120 (python-after-info-look, python-check-version)
1121 (python-check-comint-prompt, python-find-imports)
1122 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1123 (python-unload-function, python-expand-template)
1124 (python-maybe-jython, python-preoutput-filter)
1125 (python-pdbtrack-get-source-buffer)
1126 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1127 (python-pdbtrack-toggle-stack-tracking)
1128 (python-pdbtrack-track-stack-file, python-initial-text)
1129 (python-first-word, python-comment-line-p, python-send-command)
1130 (python-setup-brm, python-sentinel, python-set-proc)
1131 (python-skip-out, python-input-filter, python-outdent-p)
1132 (python-outline-level, python-backslash-continuation-line-p)
1133 (python-end-of-block, python-end-of-statement, python-mark-block)
1134 (python-beginning-of-block, python-beginning-of-statement)
1135 (python-blank-line-p, python-beginning-of-string)
1136 (python-open-block-statement-p): Delete functions.
1137 (python-indent-line, python-indent-line-1): Delete functions.
1138 (python-indent-line): New function.
1139 (python-indentation-levels): Delete function.
1140 (python-indent-calculate-levels): New function.
1141 (python-proc): Delete function.
1142 (python-shell-get-process): New function.
1143 (python-send-receive): Delete function.
1144 (python-shell-send-string-no-output): New function.
1145 (python-module-path): Delete function.
1146 (python-ffap-module-path): New function.
1147 (python-completion-at-point)
1148 (python-symbol-completions): Delete functions.
1149 (python-completion-complete-at-point): New function.
1150 (python-load-file): Delete function.
1151 (python-shell-send-file): New function.
1152 (python-calculate-indentation): Delete function.
1153 (python-indent-calculate-indentation): New function.
1154 (python-skip-comments/blanks): Delete function.
1155 (python-util-forward-comment): New function.
1156 (python-continuation-line-p): Delete function.
1157 (python-info-continuation-line-p): New function.
1158 (python-which-func, python-current-defun): Delete function.
1159 (python-info-current-defun): New function.
1160 (python-beginning-of-defun): Delete function.
1161 (python-nav-beginning-of-defun): New function.
1162 (python-close-block-statement-p)
1163 (python-block-end-p): Delete function.
1164 (python-info-closing-block): New function.
1165 (python-comint-output-filter-function)
1166 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1167 (python-fill-comment, python-fill-decorator, python-fill-paren)
1168 (python-fill-string, python-imenu-make-element-tree)
1169 (python-imenu-make-tree, python-imenu-tree-assoc)
1170 (python-indent-context, python-indent-dedent-line)
1171 (python-indent-line-function)
1172 (python-indent-post-self-insert-function)
1173 (python-indent-toggle-levels)
1174 (python-info-assignment-continuation-line-p)
1175 (python-info-beginning-of-backlash)
1176 (python-info-block-continuation-line-p)
1177 (python-info-closing-block-message)
1178 (python-info-line-ends-backslash-p)
1179 (python-info-looking-at-beginning-of-defun)
1180 (python-info-ppss-context, python-info-ppss-context-type)
1181 (python-nav-list-defun-positions, python-nav-read-defun)
1182 (python-nav-sentence-end, python-nav-sentence-start)
1183 (python-pdbtrack-comint-output-filter-function)
1184 (python-pdbtrack-set-tracked-buffer)
1185 (python-shell-calculate-exec-path)
1186 (python-shell-calculate-process-environment)
1187 (python-shell-completion--do-completion-at-point)
1188 (python-shell-completion--get-completions)
1189 (python-shell-completion-complete-at-point)
1190 (python-shell-completion-complete-or-indent)
1191 (python-shell-get-or-create-process)
1192 (python-shell-get-process-name)
1193 (python-shell-internal-get-or-create-process)
1194 (python-shell-internal-get-process-name)
1195 (python-shell-internal-send-string, python-shell-make-comint)
1196 (python-shell-parse-command, python-shell-send-setup-code)
1197 (python-skeleton-add-menu-items)
1198 (python-util-clone-local-variables, python-util-position)
1199 (run-python-internal, python-indentation-levels)
1200 (python-nav-beginning-of-defun)
1201 (python-completion-complete-at-point): New functions.
1202 (run-python): Change arguments. New API requirements.
1203
4302f5ba
SM
12042012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1205
f38ea36d
SM
1206 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1207 (bug#11649).
1208
1209 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1210 (macroexp--expand-all): Use it.
1211
4302f5ba
SM
1212 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1213 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1214 Use `cl-function' instead.
1215
33377562
JB
12162012-06-14 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1219 Suggested by Stefan Monnier while discussing bug#11657.
1220
54c5ba1a
SS
12212012-06-14 Sam Steingold <sds@gnu.org>
1222
1223 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1224
f9f1b1fe
AS
12252012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1226
1227 * play/doctor.el (doctor-doc): Remove parameter and use
1228 doctor-sent instead of sent.
1229 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1230
a81068ba
SM
12312012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1232
5a315f9c
SM
1233 * files.el: Require cl-lib.
1234 (file-name-non-special): Replace case -> cl-case.
1235
1236 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1237
a81068ba
SM
1238 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1239 mapping from #' to function*.
1240
8cca9703
CY
12412012-06-13 Chong Yidong <cyd@gnu.org>
1242
1243 * mouse.el (mouse-drag-track): Do not set the mark if the user
1244 releases the mouse without selecting anything (Bug#11588).
1245
a12ac9d7
SM
12462012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1247
ccf1dc18
SM
1248 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1249 as well (bug#11646).
1250
ef62b23d
SM
1251 * loadup.el: Count byte-code functions as well.
1252
c4c8444a
SM
1253 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1254 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1255
a12ac9d7
SM
1256 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1257 (bug#11649). Add cl-defun and cl-defmacro.
1258
87e6e64f
DA
12592012-06-13 Drew Adams <drew.adams@oracle.com>
1260
1261 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1262 Fix last change.
1263
682cefaf
MA
12642012-06-13 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1267 Otherwise, it blocks in batch mode.
1268
773e1f08
JB
12692012-06-13 Juanma Barranquero <lekktu@gmail.com>
1270
1271 * help-mode.el (bookmark-make-record-default): Declare.
1272
60057926
CY
12732012-06-13 Chong Yidong <cyd@gnu.org>
1274
1275 * emacs-lisp/package.el (list-packages): Compute a list of
1276 packages that are newly-available since the last list-packages
1277 invocation.
1278 (package-menu--new-package-list): New var.
1279 (package-menu--generate, package-menu--print-info)
1280 (package-menu--status-predicate, package-menu-mark-install):
1281 Handle new status label "new".
1282
ad4d226c
SM
12832012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1286 conversion to backquotes.
1287
f1a4e679
CY
12882012-06-12 Chong Yidong <cyd@gnu.org>
1289
1290 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1291 Rename from gud-inhibit-global-bindings.
1292
1293 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1294
1295 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1296 hook from nxml-glyph-set-hook.
1297
1298 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1299 declaration.
1300
1301 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1302
1303 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1304 Convert to defcustom.
1305
0c9e42b5
DA
13062012-06-12 Drew Adams <drew.adams@oracle.com>
1307
1308 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1309 New functions.
1310 (help-mode): Use them.
1311
09e06855
GM
13122012-06-11 Glenn Morris <rgm@gnu.org>
1313
1314 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1315 Use preprocessor face for directives.
1316 (fortran-directive-re): Doc fix.
1317
71adb94b
SM
13182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1319
2eb87922
SM
1320 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1321 conversion to backquotes (bug#11652).
1322
71adb94b
SM
1323 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1324 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1325 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1326 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1327 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1328 (cl-ninth, cl-tenth): Mark them as inlinable.
1329 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1330 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1331 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1332 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1333 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1334 (cl-list*, cl-adjoin): Don't put an autoload manually.
1335 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1336 (cl--compiler-macro-list*): Add autoload cookie.
1337 (cl--compiler-macro-cXXr): New function.
2eb87922 1338
71adb94b
SM
1339 * help-fns.el (help-fns--compiler-macro): New function extracted from
1340 describe-function-1; follow aliases and use `compiler-macro' property.
1341 (describe-function-1): Use it.
1342
a6674402
CY
13432012-06-11 Chong Yidong <cyd@gnu.org>
1344
1345 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1346 is uninstalled, if imagemagick is installed.
1347
bb3faf5b
SM
13482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * emacs-lisp/cl-lib.el: Use lexical-binding.
1351 (cl-map-extents, cl-maclisp-member): Remove.
1352 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1353 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1354 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1355 * emacs-lisp/cl-extra.el: Use lexical-binding.
1356 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1357 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1358 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1359 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1360 * emacs-lisp/cl-seq.el: Use lexical-binding.
1361 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1362 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1363 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1364 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1365 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1366 CL's internals.
1367
2fe4b125
MA
13682012-06-11 Michael Albinus <michael.albinus@gmx.de>
1369
1370 Sync with Tramp 2.2.6-pre.
1371
1372 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1373 `print-length' and `print-level' to nil, in order to avoid
1374 truncation. Reported by Christopher Schmidt
1375 <christopher@ristopher.com>.
1376
1377 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1378
1379 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1380 New defmacro.
1381 (tramp-compat-copy-directory): Add optional argument
1382 COPY-CONTENTS. It is not handled yet.
1383
1384 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1385 (tramp-ftp-file-name-p): Simplify.
1386
1387 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1388 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1389 connection vector.
1390
1391 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1392 (tramp-methods): Do not use `tramp-password-end-of-line'.
1393 (tramp-completion-function-alist-putty): Handle UNIX case.
1394 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1395 (tramp-do-file-attributes-with-stat)
1396 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1397 gid as real numbers. They could run out of integer range on cygwin.
1398 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1399 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1400 (tramp-open-connection-setup-interactive-shell):
1401 Use `tramp-cleanup'. Move check for busyboxes ...
1402 (tramp-find-shell): ... here. Simplify implementation.
1403 Set "remote-shell" property also for alternative shells.
1404 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1405 If failing, a regular file would be written otherwise.
1406 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1407 (tramp-find-inline-encoding): Cache the coding commands in the
1408 process cache. Apply test command on the remote side, if defined.
1409 (tramp-find-inline-compress): Cache the compress commands in the
1410 process cache.
1411 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1412 when requested. Handle hops.
1413 (tramp-current-connection): New defvar.
87e6e64f
DA
1414 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1415 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1416 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1417 (tramp-get-inline-compress, tramp-get-inline-coding):
1418 Read connection properties from the process cache.
2fe4b125
MA
1419
1420 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1421 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1422 New defconsts.
2fe4b125
MA
1423 (tramp-smb-prompt): Extend for powershell prompt.
1424 (tramp-smb-file-name-handler-alist): Add handlers for
1425 `process-file', `shell-command' and `start-file-process'.
1426 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1427 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1428 (tramp-smb-file-name-p): Simplify.
1429 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1430 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1431 (tramp-smb-shell-quote-argument): New defuns.
1432 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1433 Implement using "tar". By this, time-stamps are preserved.
1434 (tramp-smb-handle-copy-file): Handle also the case of directories.
1435 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1436 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1437 Use `tramp-get-connection-buffer').
2fe4b125
MA
1438 (tramp-smb-handle-rename-file): Use "rename", when source and
1439 target are on the same share.
87e6e64f
DA
1440 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1441 Use `tramp-smb-server-version'.
2fe4b125
MA
1442 (tramp-smb-wait-for-output): Remove prompt.
1443
1444 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1445 (tramp-methods, tramp-rsh-end-of-line):
1446 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1447 (tramp-save-ad-hoc-proxies): New defcustom.
1448 (tramp-completion-function-alist): Adapt docstring.
1449 (tramp-default-password-end-of-line): Remove defcustom.
1450 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1451 (tramp-user-regexp, tramp-file-name-regexp-unified)
1452 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1453 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1454 (tramp-remote-file-name-spec-regexp): New defconst.
1455 (tramp-file-name-structure): Extend structure for hops.
1456 (tramp-get-method-parameter): Move up.
1457 (tramp-file-name-p, tramp-dissect-file-name)
1458 (with-parsed-tramp-file-name): Handle hops.
1459 (tramp-file-name-hop): New defun.
1460 (tramp-make-tramp-file-name): New optional arg HOP.
1461 (tramp-message-show-progress-reporter-message): New defvar.
1462 (tramp-with-progress-reporter): Use it. We cannot use
1463 `tramp-message-show-message' here, because this suppresses also
1464 error buffers.
1465 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1466 `tramp-message-show-message' is nil.
1467 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1468 (tramp-cleanup): New defun.
1469 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1470 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1471 an error unchanged.
1472 (tramp-completion-handle-file-name-all-completions): Handle hops.
1473 Fix an error when called from ido.
1474 (tramp-completion-dissect-file-name): Use better local variable
1475 name. Add hop to the vector.
1476 (tramp-handle-insert-file-contents): Use progress-reporter for the
1477 whole scenario.
1478 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1479 to `t'.
1480 (tramp-check-for-regexp): Simplify search.
1481 (tramp-enter-password): Remove it. Move implementation ...
1482 (tramp-action-password): ... here.
1483 (tramp-mode-string-to-int, tramp-local-host-p)
1484 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1485 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1486 Set tramp-autoload cookie.
2fe4b125
MA
1487
1488 * net/trampver.el: Update release number.
1489
14902012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1491 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1494 (tramp-parse-group, tramp-parse-file)
1495 (tramp-parse-shostkeys-sknownhosts): New defuns.
1496 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1497 (tramp-parse-shosts-group, tramp-parse-sconfig)
1498 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1499 (tramp-parse-sknownhosts, tramp-parse-hosts)
1500 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1501 Use them.
1502 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1503 (tramp-parse-putty-group): Don't narrow.
1504 (tramp-parse-putty): Make a loop.
1505 (tramp-file-name-handler): Catch the `suppress' signal.
1506
72834e10
CY
15072012-06-11 Chong Yidong <cyd@gnu.org>
1508
1509 * image.el (imagemagick-register-types): Put the ImageMagick entry
1510 at the end of image-type-file-name-regexps.
1511
a4712e11
JB
15122012-06-11 Johan Bockgård <bojohan@gnu.org>
1513
1514 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1515 (pcase, pcase-let*, pcase-dolist): Use them.
1516
82ad98e3
SM
15172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * emacs-lisp/pcase.el (pcase--let*): New function.
1520 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1521 (pcase--expand): Use macroexp-let².
1522
f80efb86
SM
15232012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1526 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1527 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1528 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1529 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1530 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1531
31ca4639 15322012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1533
31ca4639
CY
1534 * mail/rmail.el (rmail-yank-current-message): Leave point at
1535 correct position. (Bug#11660)
94f0aa34 1536
31ca4639 15372012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1538
31ca4639 1539 * allout-widgets.el: Fix code header.
9e1b8ec4 1540
31ca4639 15412012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1542
f80efb86
SM
1543 * cus-edit.el (customize-changed-options-previous-release):
1544 Bump to 24.1.
31ca4639 1545
642b6d30
AS
15462012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1547
1548 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1549
4f5d2ba1
CY
15502012-06-09 Chong Yidong <cyd@gnu.org>
1551
1552 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1553
e75852fd
MR
15542012-06-09 Martin Rudalics <rudalics@gmx.at>
1555
1556 * window.el (special-display-popup-frame): Don't use
1557 window--display-buffer (Bug#11651).
1558
1e48e282
EZ
15592012-06-09 Eli Zaretskii <eliz@gnu.org>
1560
8a26b487
EZ
1561 Fix parallel builds: make sure loaddefs.el is not being written
1562 while Lisp files are compiled.
1563 (compile): Don't depend on 'mh-autoloads'.
1564 (compile-CMD, compile-SH): Depend on 'autoloads'.
1565 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1566
1e48e282
EZ
1567 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1568
6175e34b
CY
15692012-06-09 Chong Yidong <cyd@gnu.org>
1570
1571 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1572 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1573 Doc fixes (Bug#11225).
1574
d9857e53
SM
15752012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1578 a function if there's a clear indication that it has a compiler-macro.
1579 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1580 (macro-declarations-alist): Add arglist to declaration functions.
1581 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1582 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1583 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1584 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1585 Also add autoload to find the compiler macro.
1586 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1587 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1588 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1589 (cl--compiler-macro-get): New functions, replacing calls to
1590 cl-define-compiler-macro.
1591 (cl-typep) [compiler-macro]: Use macroexp-let².
1592
f81298f8 15932012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1594
1595 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1596 string properly, fixes Bug#11473.
1597
4b56d0fe
CY
15982012-06-08 Chong Yidong <cyd@gnu.org>
1599
1600 * faces.el (set-face-attribute): Doc fix.
1601 (modify-face): Don't use :bold and :italic.
1602 (error, warning, success): Tweak definitions.
1603
1604 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1605 (custom-modified, custom-set, custom-changed, custom-themed)
1606 (custom-saved, custom-button, custom-button-mouse)
1607 (custom-button-pressed, custom-state, custom-comment-tag)
1608 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1609 (custom-group-subtitle): Use new-style face specs.
1610 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1611 (custom-set-face, custom-changed-face, custom-saved-face)
1612 (custom-button-face, custom-button-pressed-face)
1613 (custom-documentation-face, custom-state-face)
1614 (custom-comment-face, custom-comment-tag-face)
1615 (custom-variable-tag-face, custom-variable-button-face)
1616 (custom-face-tag-face, custom-group-tag-face-1)
1617 (custom-group-tag-face): Remove obsolete face alias.
1618
1619 * epa.el (epa-validity-high, epa-validity-medium)
1620 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1621 (epa-field-name, epa-field-body):
1622 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1623 (font-lock-keyword-face, font-lock-builtin-face)
1624 (font-lock-function-name-face, font-lock-variable-name-face)
1625 (font-lock-type-face, font-lock-constant-face):
1626 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1627 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1628 * speedbar.el (speedbar-button-face, speedbar-file-face)
1629 (speedbar-directory-face, speedbar-tag-face)
1630 (speedbar-selected-face, speedbar-highlight-face)
1631 (speedbar-separator-face):
1632 * whitespace.el (whitespace-newline, whitespace-space)
1633 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1634 (whitespace-line, whitespace-space-before-tab)
1635 (whitespace-space-after-tab, whitespace-indentation)
1636 (whitespace-empty):
1637 * emulation/cua-base.el (cua-global-mark):
1638 * eshell/em-prompt.el (eshell-prompt):
1639 * net/newst-plainview.el (newsticker-new-item-face)
1640 (newsticker-old-item-face, newsticker-immortal-item-face)
1641 (newsticker-obsolete-item-face, newsticker-date-face)
1642 (newsticker-statistics-face, newsticker-default-face):
1643 * net/newst-reader.el (newsticker-feed-face)
1644 (newsticker-extra-face, newsticker-enclosure-face):
1645 * net/newst-treeview.el (newsticker-treeview-face)
1646 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1647 (newsticker-treeview-immortal-face)
1648 (newsticker-treeview-obsolete-face)
1649 (newsticker-treeview-selection-face):
1650 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1651 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1652 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1653 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1654 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1655 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1656 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1657 (mpuz-text):
1658 * progmodes/vera-mode.el (vera-font-lock-number)
1659 (vera-font-lock-function, vera-font-lock-interface):
1660 * textmodes/table.el (table-cell): Use new-style face specs, and
1661 don't use the old :bold and :italic attributes.
1662
1663 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1664 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1665 (ebrowse-member-class, ebrowse-progress): Likewise.
1666 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1667 (ebrowse-file-name-face, ebrowse-default-face)
1668 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1669 (ebrowse-progress-face): Remove obsolete faces.
1670
1671 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1672 Inherit from error and warning faces respectively.
1673
1674 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1675 Likewise.
f80efb86
SM
1676 (flyspell-incorrect-face, flyspell-duplicate-face):
1677 Remove obsolete aliases.
4b56d0fe 1678
03310646
MA
16792012-06-08 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1682 Avoid infloop.
1683
513749ee
SM
16842012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * startup.el (argv, argi): Make lexically scoped.
1687 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1688 * emacs-lisp/cl-macs.el: Use lexical-binding.
1689 Rename cl-bind-* to cl--bind-*.
1690 * files.el: Don't require `cl' since it doesn't use it.
1691 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1692
595ef4ad
JB
16932012-06-08 Juanma Barranquero <lekktu@gmail.com>
1694
1695 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1696 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1697 instead of calling external sort utility.
1698 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1699
e9f66fcb
EZ
17002012-06-08 Eli Zaretskii <eliz@gnu.org>
1701
1702 * descr-text.el (describe-char): Mention how to insert the
1703 character, if the current input method doesn't support it.
1704 See the discussion in this thread for the details:
1705 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1706
3d10db47
SS
17072012-06-08 Sam Steingold <sds@gnu.org>
1708
1709 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1710 XF86Back to previous-buffer.
1711 (minibuffer-local-map): Bind them to next-history-element and
1712 previous-history-element respectively.
1713 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1714 help-go-back respectively.
1715 * info.el (Info-mode-map): Bind them to Info-history-forward and
1716 Info-history-back respectively.
1717 These are the keys next to Up on the ThinkPad keyboard.
1718
de7e2b36
SM
17192012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1722 * emacs-lisp/cl-macs.el: Provide itself.
1723 (cl--labels-convert-cache): New var.
1724 (cl--labels-convert): New function.
1725 (cl-flet, cl-labels): New implementation with new semantics, relying on
1726 lexical-binding.
1727 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1728 (cl-closure-vars, cl--function-convert-cache)
1729 (cl--function-convert): Move from cl-macs.el.
1730 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1731 rename by removing the "cl-" prefix.
1732 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1733
6fa6c4ae
SM
17342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1737 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1738 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1739 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1740 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1741 (cl-hash-table-count): Add old compatibility aliases.
1742
1743 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1744 Use macroexpand-all-environment instead.
1745 (cl--old-macroexpand): New var.
1746 (cl--sm-macroexpand): New function.
1747 (cl-symbol-macrolet): Use it during macro expansion.
1748 (cl--function-convert-cache): New var.
1749 (cl--function-convert): New function, extracted from
1750 cl-macroexpand-all.
1751 (cl-lexical-let): Use it.
1752
1753 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1754 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1755 (cl-member): Remove old alias.
1756
1757 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1758 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1759 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1760 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1761 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1762 (cl-macroexpand-cmacs): Remove var.
1763 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1764 Use macroexpand-all instead.
1765
4dd1c416
SM
17662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1769 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1770 (macroexp-copyable-p): New functions and macros.
1771 * emacs-lisp/edebug.el (edebug-unwrap):
1772 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1773 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1774 (pcase--let*): Remove.
1775 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1776 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1777 macroexp-const-p instead.
1778 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1779
1780 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1781 instead of "cl-" for internal definitions. Use macroexp-const-p.
1782 (cl-old-bc-file-form): Remove var.
1783 (cl-const-exprs-p): Remove fun.
1784 (cl-labels, cl-macrolet): Use backquote.
1785 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1786 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1787 (cl-define-setf-expander): Rename from cl-define-setf-method.
1788 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1789
1790 * international/mule-cmds.el: Don't require CL.
1791 (view-hello-file): Don't use `letf'.
1792
ed8bd4d7
SM
17932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1794
7287f2f3
SM
1795 * tmm.el (tmm-prompt): Use string-prefix-p.
1796 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1797 (tmm-add-prompt): Use minibuffer-completion-help.
1798 (tmm-delete-map): Remove.
1799
ed8bd4d7
SM
1800 * subr.el (kbd): Make it its own function.
1801
7b4cdbf4
SM
18022012-06-07 Stefan Merten <smerten@oekonux.de>
1803
1804 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1805 Silence compiler warnings. Fix versions.
ed8bd4d7 1806 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1807 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1808 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1809 (rst-package-emacs-version-alist): Correct Emacs version to
1810 represent major merge with upstream.
ed8bd4d7 1811 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1812
2b48d721
GM
18132012-06-06 Glenn Morris <rgm@gnu.org>
1814
1815 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1816 Only print environment variables if set.
1817
fa779ab0
SM
18182012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1821 (macroexp--cons): Rename from maybe-cons.
1822 (macroexp--accumulate): Rename from macroexp-accumulate.
1823 (macroexp--all-forms): Rename from macroexpand-all-forms.
1824 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1825 (macroexp--expand-all): Rename from macroexpand-all-1.
1826
628299e0
SS
18272012-06-06 Sam Steingold <sds@gnu.org>
1828
1829 * calendar/calendar.el (calendar-in-read-only-buffer):
1830 Call `special-mode' to enable the standard read-only keybindings.
1831
b7bb5838
SM
18322012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1835 with "loading" messages (bug#11635).
1836
dfb308ba
MA
18372012-06-06 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * files.el (enable-remote-dir-locals): New option.
1840 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1841
0372ee92
MA
1842 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1843 Ensure, that the temp directory is local.
1844
1845 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1846 `temporary-file-directory'.
1847
eed0bb91
MA
1848 * progmodes/python.el (python-send-region): Ensure, that the
1849 temporary file is created also in the remote case.
1850
7a58f64d
GM
18512012-06-06 Glenn Morris <rgm@gnu.org>
1852
f7dd4e98
GM
1853 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1854 (vc-rcs-update-changelog): Use it.
1855
090bd7cb 1856 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1857
7a58f64d
GM
1858 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1859 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1860 (vc-sccs-diff): Replace use of the external vcdiff script.
1861
daed4003
GM
18622012-06-05 Glenn Morris <rgm@gnu.org>
1863
1864 * ledit.el: Move to obsolete/.
1865
48c455c7
SS
18662012-06-05 Sam Steingold <sds@gnu.org>
1867
ed9265fc 1868 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
1869 patch (Bug#11140).
1870
57a7d507
SM
18712012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1872
090bd7cb 1873 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1874
53aacf21
SM
1875 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1876 compiler-macro expansion.
1877
57a7d507
SM
1878 Add native compiler-macro support.
1879 * emacs-lisp/macroexp.el (macroexpand-all-1):
1880 Support compiler-macros directly. Properly follow aliases and apply
1881 the compiler macros more thoroughly.
1882 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1883 macroexpand now properly follows aliases.
1884 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1885 (cl-compiler-macroexpand): Use new prop.
1886 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1887
1888 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1889
51a5f9d8
MR
18902012-06-05 Martin Rudalics <rudalics@gmx.at>
1891
1892 * window.el (get-lru-window, get-mru-window, get-largest-window):
1893 New argument NOT-SELECTED to avoid picking the selected window.
1894 (window--display-buffer-1, window--display-buffer-2): Replace by
1895 new function window--display-buffer
1896 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1897 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1898 Use window--display-buffer.
51a5f9d8
MR
1899 (display-buffer-use-some-window): Remove temporary dedication
1900 hack by calling get-lru-window and get-largest-window with
1901 NOT-SELECTED argument non-nil. Call window--display-buffer.
1902
08f9f738
GM
19032012-06-05 Glenn Morris <rgm@gnu.org>
1904
1905 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1906 Replace external vcdiff script.
1907
e364a2b7
SM
19082012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1911
041df390
CY
19122012-06-04 Chong Yidong <cyd@gnu.org>
1913
e364a2b7
SM
1914 * image.el (imagemagick-types-inhibit): Revert last change.
1915 Add INFO and M.
47b36b94 1916 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1917
7c1898a7
SM
19182012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * emacs-lisp/cl-lib.el: Rename from cl.el.
1921 * emacs-lisp/cl.el: New compatibility file.
1922 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1923 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1924 to obey the "cl-" prefix.
1925 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1926
0c3461de
GM
19272012-06-03 Glenn Morris <rgm@gnu.org>
1928
1e266c88
GM
1929 * emacs-lisp/authors.el (authors-aliases): Addition.
1930
0c3461de
GM
1931 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1932 Fix :version.
1933
d8a52e15
SM
19342012-06-03 Stefan Merten <smerten@oekonux.de>
1935
1936 * textmodes/rst.el: Add comments.
1937 (rst-transition, rst-adornment): New faces.
1938 (rst-adornment-faces-alist): Make default safe to reevaluate.
1939 Fixes
1940 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1941 Improve customization tags.
1942 (rst-define-level-faces): Clarify meaning.
1943
5205d6f6
CY
19442012-06-03 Chong Yidong <cyd@gnu.org>
1945
1946 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1947 (compilation-mode-line-run, compilation-mode-line-exit):
1948 New faces.
5205d6f6
CY
1949 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1950
757ee657
JD
19512012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1952
7c1898a7
SM
1953 * progmodes/which-func.el (which-func-update-ediff-windows):
1954 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1955
5f2c76c6
CY
19562012-06-03 Chong Yidong <cyd@gnu.org>
1957
1958 * bindings.el: Remove explicit help text from format-mode-line.
1959 It is now supplied by mode-line-default-help-echo.
1960 (mode-line-front-space, mode-line-end-spaces)
1961 (mode-line-misc-info): New variables.
1962 (mode-line-modes, mode-line-position): Move the default value to
1963 the variable definition.
1964 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1965 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1966 (mode-line-modified-help-echo): New functions.
1967 (mode-line-mule-info, mode-line-modified): Use them.
1968 (mode-line-eol-desc, propertized-buffer-identification):
1969 Consistency fixes for help text.
cbe46e5f
CY
1970 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1971 set-buffer-file-coding-system (Bug#289).
1972 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1973
f2d6a3df
SM
19742012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * simple.el (execute-extended-command): Set real-this-command
1977 (bug#11506).
1978
37269466
CY
19792012-06-02 Chong Yidong <cyd@gnu.org>
1980
1981 Remove incorrect uses of "modeline" in comments, docstrings, and
1982 function/variable names (Bug#10329).
1983
1984 * cus-edit.el (mode-line):
1985 * dframe.el (dframe-mouse-hscroll):
1986 * emacs-lisp/re-builder.el:
1987 * emacs-lisp/easy-mmode.el (define-minor-mode):
1988 * frame.el (set-frame-name):
1989 * help.el (lookup-minor-mode-from-indicator):
1990 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1991 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1992 (c-toggle-hungry-state):
1993 * progmodes/antlr-mode.el (antlr-language-alist):
1994 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1995 * progmodes/vhdl-mode.el (vhdl-mode):
1996 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1997 * term/ns-win.el (ns-face-at-pos):
1998 * term/sup-mouse.el (sup-mouse-report):
1999 * textmodes/flyspell.el (flyspell-mode-line-string):
2000 * textmodes/ispell.el (ispell-highlight-face):
2001 * textmodes/reftex-global.el:
2002 * vc/vc-arch.el (vc-arch-mode-line-string):
2003 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2004 * vc/vc-git.el (vc-git-mode-line-string):
2005 * vc/vc-hooks.el (vc-display-status)
2006 (vc-default-mode-line-string):
2007 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2008
2009 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2010
2011 * dired.el (dired-sort-set-mode-line): Rename from
2012 dired-sort-set-modeline. All callers changed.
2013
2014 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2015 eshell-status-in-modeline.
2016
2017 * foldout.el (foldout-mode-line-string): Rename from
2018 foldout-modeline-string. All callers changed.
2019 (foldout-update-mode-line): Rename from foldout-update-modeline.
2020
2021 * subr.el (redraw-modeline): Make into obsolete alias.
2022
2023 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2024 timeclock-modeline-display. Make old name an alias.
2025 (timeclock-update-mode-line): Likewise. All callers changed.
2026 (timeclock-mode-line-display): No need to check before using
2027 add-hook.
2028 (timeclock-relative, timeclock-day-over-hook)
2029 (timeclock-use-elapsed, timeclock-mode-string)
2030 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2031
2032 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2033 crisp-mode-modeline-string.
2034
2035 * play/solitaire.el (solitaire-build-mode-line): Rename from
2036 solitaire-build-modeline. All callers changed.
2037
2038 * play/zone.el (zone-hiding-mode-line): Rename from
2039 zone-hiding-modeline. All callers changed.
2040 (zone): Remove unusued `modeline-hidden-level' property.
2041
2042 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2043 xscheme-modeline-initialize. All callers changed.
2044
2045 * strokes.el (strokes-lighter): Rename from
2046 strokes-modeline-string.
2047
2048 * textmodes/sgml-mode.el (html-face-tag-alist)
2049 (html-tag-face-alist): Use mode-line face instead of obsolete
2050 alias modeline.
2051
42152ee4
SM
20522012-06-02 Stefan Merten <smerten@oekonux.de>
2053
2054 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2055 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2056
95f520b5
CY
20572012-06-02 Chong Yidong <cyd@gnu.org>
2058
2059 * image.el (imagemagick-enabled-types): Rename from
2060 imagemagick-types-enable. Add many more types.
2061 (imagemagick-types-inhibit): Change default to nil.
2062 (imagemagick-filter-types): Caller changed.
2063
4a5f187a
SM
20642012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2065
03fef3e6
SM
2066 * emacs-lisp/cl-macs.el: Use backquotes.
2067 (cl-transform-function-property): Use eval-and-compile rather than
2068 abusing `require'.
2069 (defstruct): Use declare-function instead of with-no-warnings.
2070
4a5f187a
SM
2071 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2072 (byte-compile-output-docform): Re-add the print-circle bindings.
2073 (byte-compile-fix-header): Use #$ just because it's shorter.
2074 (byte-compile-output-file-form): Remove defun/defmacro.
2075
bd56924f
MR
20762012-06-01 Martin Rudalics <rudalics@gmx.at>
2077
2078 * simple.el (choose-completion): Remove now obsolete binding for
2079 owindow.
2080
046e38ce
MA
20812012-06-01 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2084 in order to avoid "Stack overflow in regexp matcher".
2085
32d72c2f
GM
20862012-05-31 Glenn Morris <rgm@gnu.org>
2087
2088 * image.el: For clarity, call imagemagick-register-types at
2089 top-level, rather than relying on a custom :initialize.
2090 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2091 (imagemagick-filter-types): New function. (Bug#7406)
2092 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2093 If disabling support, remove elements altogether rather
2094 than using an impossible regexp.
2095 (imagemagick-types-inhibit): Give it the default init function.
2096
dd41169b
SM
20972012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2098
4a5f187a
SM
2099 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2100 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2101
efc00ab1 21022012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2103
2104 * desktop.el (desktop-read): Clear previous and next buffers for
2105 all windows and bury *Messages* buffer (bug#11556).
2106
500fcedc
SM
21072012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 Add `declare' for `defun'. Align `defmacro's with it.
2110 * emacs-lisp/easy-mmode.el (define-minor-mode)
2111 (define-globalized-minor-mode): Don't autoload the var definitions.
2112 * emacs-lisp/byte-run.el: Use lexical-binding.
2113 (defun-declarations-alist, macro-declarations-alist): New vars.
2114 (defmacro, defun): Use them.
2115 (make-obsolete, define-obsolete-function-alias)
2116 (make-obsolete-variable, define-obsolete-variable-alias):
2117 Use `declare'.
2118 (macro-declaration-function): Mark obsolete.
2119 * emacs-lisp/autoload.el: Use lexical-binding.
2120 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2121
6e8a1786
AM
21222012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2123
2124 * textmodes/ispell.el (ispell-with-no-warnings):
2125 Define as a macro.
500fcedc
SM
2126 (ispell-kill-ispell, ispell-change-dictionary):
2127 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2128 `interactive-p'.
2129
61b108cc
SM
21302012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2133 (macro-declaration-function): Move var from C code.
2134 (macro-declaration-function): Define function with defalias.
2135 * emacs-lisp/macroexp.el (macroexpand-all-1):
2136 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2137 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2138 defun/defmacro any more.
2139 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2140 Provide fallback for unknown arglist.
2141 (byte-compile-arglist-warn): Change calling convention.
2142 (byte-compile-output-file-form): Move print-vars binding.
2143 (byte-compile-output-docform): Simplify accordingly.
2144 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2145 (byte-compile-defmacro-declaration): Remove.
2146 (byte-compile-file-form-defmumble): Generalize to defalias.
2147 (byte-compile-output-as-comment): Return byte-positions.
2148 Simplify callers accordingly.
2149 (byte-compile-lambda): Use `assert'.
2150 (byte-compile-defun, byte-compile-defmacro): Remove.
2151 (byte-compile-file-form-defalias):
2152 Use byte-compile-file-form-defmumble.
2153 (byte-compile-defalias-warn): Remove.
2154
6d3f7c2f
SM
21552012-05-29 Stefan Merten <smerten@oekonux.de>
2156
2157 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2158 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2159
2160 (rst-mode-abbrev-table): Merge definition.
2161 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2162 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2163
6dbaa1c7
UJ
21642012-05-29 Ulf Jasper <ulf.jasper@web.de>
2165
2166 * calendar/icalendar.el
2167 (icalendar-export-region): Export UID properly.
2168
d209e2fb 21692012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2170 * calendar/icalendar.el (icalendar-import-format):
2171 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2172 (icalendar-import-format-uid): New.
2173 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2174 Export UID.
2175
6876a58d
SM
21762012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2179 different alternative patterns.
2180 (pcase-codegen): Be more careful to preserve identity.
2181 (pcase--u1): Don't forget to mark vars as used.
2182
2183 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2184 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2185 (byte-compile-from-buffer): ...rather than here.
2186
2187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2188 functions from byte-compile-function-environment.
2189
46b7967e
TN
21902012-05-29 Troels Nielsen <bn.troels@gmail.com>
2191
2192 * window.el (window-deletable-p): Avoid deleting the root window
2193 of a frame with an active minibuffer.
2194
69d565e2
MR
21952012-05-29 Martin Rudalics <rudalics@gmx.at>
2196
2197 * simple.el (choose-completion): Use quit-window (Bug#11567).
2198
a149fa51
CY
21992012-05-29 Chong Yidong <cyd@gnu.org>
2200
2201 * whitespace.el (whitespace-cleanup): Fix usage of
2202 whitespace-empty-at-bob-regexp (Bug#11492).
2203
2b311310
AH
22042012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2205
2206 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2207 revert (Bug#11488).
2208
b9cb2387
JL
22092012-05-29 Juri Linkov <juri@jurta.org>
2210
2211 * isearch.el (isearch-mode-map): Bind `M-s _' to
2212 `isearch-toggle-symbol'. Bind `M-s c' to
2213 `isearch-toggle-case-fold'.
2214 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2215 (isearch-forward): Add `M-s _' to the docstring.
2216 (isearch-forward-symbol, isearch-toggle-case-fold)
2217 (isearch-symbol-regexp): New functions. (Bug#11381)
2218
d5e61c1c
JL
22192012-05-29 Juri Linkov <juri@jurta.org>
2220
2221 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2222 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2223 a function, call it to get the regexp.
2224 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2225 property `isearch-message-prefix' instead of the string "word ".
2226 (isearch-search-fun-default): For the case of `isearch-word',
2227 return a lambda that calls re-search-forward/re-search-backward
2228 with a regexp returned by `word-search-regexp' or by the function
2229 in `isearch-word'.
2230
8cbd80f7
JL
22312012-05-29 Juri Linkov <juri@jurta.org>
2232
2233 * isearch.el (isearch-search-fun-default): New function.
2234 (isearch-search-fun): Move default part to the new function
2235 `isearch-search-fun-default'.
2236 (isearch-search-fun-function): Set the default value to
2237 `isearch-search-fun-default'. (Bug#11381)
2238
2239 * comint.el (comint-history-isearch-end):
2240 Use `isearch-search-fun-default'.
2241 (comint-history-isearch-search): Use `isearch-search-fun-default'
2242 and remove spacial case for `isearch-word'.
2243 (comint-history-isearch-wrap): Remove spacial case for
2244 `isearch-word'.
2245
2246 * hexl.el (hexl-isearch-search-function):
2247 Use `isearch-search-fun-default'.
2248
2249 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2250 Use `word-search-regexp' for `isearch-word'.
2251
2252 * misearch.el (multi-isearch-search-fun):
2253 Use `isearch-search-fun-default'.
2254
2255 * simple.el (minibuffer-history-isearch-search):
2256 Use `isearch-search-fun-default' and remove spacial case for
2257 `isearch-word'.
2258 (minibuffer-history-isearch-wrap): Remove spacial case for
2259 `isearch-word'.
2260
2261 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2262 Remove spacial case for `isearch-word'.
2263 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2264
85c8c5b6
AM
22652012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2266
2267 Decrease XEmacs incompatibilities.
2268 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2269 Use `string-match'.
2270 (flyspell-delete-region-overlays): Use alternative definition for
2271 XEmacs.
2272 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2273 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2274 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2275 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2276 `define-obsolete-face-alias' under XEmacs, but old method.
2277
2278 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2279 `with-no-warnings' definition or Emacs alias.
2280 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2281 (ispell-word): Do not use `region-p' if XEmacs.
2282
8cab9efc
AM
22832012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2284
2285 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2286 Check for `ispell-dictionary-base-alist' instead of full
2287 `ispell-dictionary-alist'.
2288 (ispell-init-process): Show spellchecker when starting new Ispell
2289 process.
2290
fda91268
RZ
22912012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2294 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2295
694ea8e3
JB
22962012-05-27 Juanma Barranquero <lekktu@gmail.com>
2297
2298 * version.el (motif-version-string, gtk-version-string)
2299 (ns-version-string): Declare.
2300
e4d4f539
JL
23012012-05-27 Juri Linkov <juri@jurta.org>
2302
2303 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2304 after the `eval-defun-1' specialcaseing
2305 like in `edebug-eval-defun' (bug#10181).
2306
2307 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2308 like in `eval-defun-1'.
2309
33017faf 23102012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2311
fda91268
RZ
2312 * mail/sendmail.el (mail-yank-region):
2313 Recognize rmail-yank-current-message in addition to insert-buffer.
2314 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2315 a *mail* buffer created through rmail-start-mail with sendmail as
2316 mail-user-agent.
2317
33017faf
GM
23182012-05-27 Chong Yidong <cyd@gnu.org>
2319
2320 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2321 Default to 256 (Bug#11267).
2322
2323 * help.el (describe-mode): Doc fix.
2324
04188bb9
GM
23252012-05-26 Glenn Morris <rgm@gnu.org>
2326
38264cc9
GM
2327 * w32-fns.el (w32-init-info): Remove.
2328 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2329
eb7afdad
GM
2330 * info.el (info-initialize): For self-contained NS builds, put the
2331 included info/ directory at the front. (Bug#2791)
2332
04188bb9
GM
2333 * paths.el (Info-default-directory-list): Make it a defcustom,
2334 mainly so that we can use custom-initialize-delay.
2335
a179e3f7
SM
23362012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2337
43416392
SM
2338 * subr.el (buffer-has-markers-at): Mark obsolete.
2339
a179e3f7 2340 * subr.el (lambda): Use declare.
43416392 2341
a179e3f7
SM
2342 * emacs-lisp/lisp-mode.el (lambda):
2343 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2344
34a008d9
AH
23452012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2346
2347 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2348
0a3b289f
GM
23492012-05-26 Glenn Morris <rgm@gnu.org>
2350
2351 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2352
758c81e8
GM
23532012-05-25 Glenn Morris <rgm@gnu.org>
2354
f9f334f0
GM
2355 * paths.el: Remove no-byte-compile.
2356 * loadup.el: No need to load paths.el uncompiled.
2357
87eb79c2
GM
2358 * image.el (imagemagick-types-inhibit): Doc fix.
2359
758c81e8
GM
2360 * version.el: Remove no-byte-compile and associated formatting.
2361 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2362 is ancient code from when there was an "inc-vers.el".
2363
e7e85dc0
SM
23642012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * progmodes/gdb-mi.el: Minor style changes.
2367 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2368 Turn into minor modes.
2369 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2370 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2371 (gdb-shell): Remove unneeded let-binding.
2372 (gdb-get-many-fields): Eliminate O(n²) behavior.
2373
f31237a4
EZ
23742012-05-25 Eli Zaretskii <eliz@gnu.org>
2375
2376 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2377 platforms that don't link in fontset.c.
2378
bc1b21bb
JL
23792012-05-25 Juri Linkov <juri@jurta.org>
2380
2381 Use the same diff color scheme as in modern VCSes (bug#10181).
2382
2383 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2384 to avoid confusion with `diff-added' that now uses green colors.
2385 (diff-removed): Use shades of red.
2386 (diff-added): Use shades of green.
2387 (diff-changed): Leave just the yellow color.
2388 (diff-use-changed-face): New variable.
2389 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2390 how to highlight context diff changes.
2391 (diff-refine-change): Use shades of yellow.
2392 (diff-refine-removed): New face that uses shades of red.
2393 (diff-refine-added): New face that uses shades of green.
2394 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2395 `diff-refine-removed' in the call to `smerge-refine-subst'
2396 depending on the value of `diff-use-changed-face'.
2397
2398 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2399 (smerge-other): Use shades of green.
2400 (smerge-base): Use shades of yellow.
2401 (smerge-refined-change): Empty face.
2402 (smerge-refined-removed): New face that uses shades of red.
2403 (smerge-refined-added): New face that uses shades of green.
2404 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2405 args `props-r' and `props-a', and use them. Doc fix.
2406 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2407 on its value use different faces `smerge-refined-change',
2408 `smerge-refined-removed', `smerge-refined-added' in the call to
2409 `smerge-refine-subst'.
2410
2411 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2412 Add face condition `min-colors 88' with shades of red.
2413 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2414 `min-colors 88' with shades of green.
2415 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2416 `min-colors 88' with shades of yellow.
2417
6df9112c
GM
24182012-05-24 Glenn Morris <rgm@gnu.org>
2419
ead5edc0
GM
2420 * paths.el (prune-directory-list, remote-shell-program): Move to...
2421 * files.el (prune-directory-list, remote-shell-program): ...here.
2422 For the latter, delay initialization, prefer ssh, just search PATH.
2423
f18b81e6
GM
2424 * paths.el (term-file-prefix): Move to faces.el (the only user).
2425 * faces.el (term-file-prefix): Move here, make it a defcustom.
2426
ee2f89a6
GM
2427 * paths.el (news-directory, news-path, news-inews-program):
2428 Move to gnus/nnspool.el.
61a583ca 2429
f8815e4c
GM
2430 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2431
c8f3b42c
GM
2432 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2433 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2434 Make the latter a defcustom, with a delayed initialization.
2435
6df9112c
GM
2436 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2437 These were deleted from Gnus itself late 2010.
2438
5dadff36
JB
24392012-05-22 Juanma Barranquero <lekktu@gmail.com>
2440
9e1701c6
JB
2441 * progmodes/which-func.el (which-func-ff-hook):
2442 Check against user-error, not error.
2443
bd7239f5 2444 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2445 cl-specs.el, which no longer exists.
2446
3290526d
GM
24472012-05-22 Glenn Morris <rgm@gnu.org>
2448
2449 * info.el (info-emacs-bug): New command.
2450 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2451 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2452
ff0c3cfb
GM
24532012-05-21 Glenn Morris <rgm@gnu.org>
2454
2455 * makefile.w32-in (update-subdirs-SH):
2456 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2457
5814f126
SM
24582012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2459
a52c0aa0
SM
2460 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2461
5814f126
SM
2462 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2463 Simplify Maven regexp, and make sure the file can't start with a space
2464 (bug#11517).
2465
b847032c
GM
24662012-05-21 Glenn Morris <rgm@gnu.org>
2467
2468 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2469 Scrap superfluous subshells.
2470
3858bfe7
SM
24712012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2474 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2475
d14b0029
JB
24762012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2477
2478 * calc/calc.el (calc-ensure-consistent-units): New variable.
2479
a52c0aa0
SM
2480 * calc/calc-units.el (math-consistent-units-p)
2481 (math-check-unit-consistency): New functions.
2482 (calc-quick-units, calc-convert-units):
2483 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2484 is non-nil.
d14b0029
JB
2485 (calc-extract-units): Fix typo.
2486
60c4db3a
SM
24872012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2488
77f3b62e
SM
2489 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2490
60c4db3a
SM
2491 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2492 (flyspell-default-deplacement-commands): Don't spell check after
2493 repeated window/frame switches (e.g. triggered by mouse-movement).
2494 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2495 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2496 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2497 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2498 Remove unused vars.
2499 (flyspell-get-casechars, flyspell-get-not-casechars):
2500 Simplify; Don't bother removing a ] just to add it back.
2501 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2502
d209e2fb 25032012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2504
2505 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2506 New functions.
bd7239f5 2507 (math-function-table): Add support for more C functions.
b1a10716 2508
3f1b25b5
AM
25092012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2510
090bd7cb
JB
2511 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2512 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2513 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2514
b581bb5c
SM
25152012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2518 their respective macro declarations.
2519 * skeleton.el (define-skeleton):
2520 * progmodes/compile.el (define-compilation-mode):
2521 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2522 (define-ibuffer-filter):
2523 * emacs-lisp/generic.el (define-generic-mode):
2524 * emacs-lisp/easy-mmode.el (define-minor-mode)
2525 (define-globalized-minor-mode):
2526 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2527 * emacs-lisp/byte-run.el (defsubst):
2528 * custom.el (deftheme): Add doc-string metadata.
2529
70b8ef8f
SM
25302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2533
b1198e17
SM
25342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2535
9abdc45d
SM
2536 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2537
b1198e17
SM
2538 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2539 * emacs-lisp/cl-macs.el: Idem.
2540 * emacs-lisp/cl-specs.el: Remove.
2541
4735906a
SM
25422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 Minor renaming of internal CL functions and variables.
2545 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2546 (cl--position): Rename from cl-position.
2547 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2548 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2549 (cl--random-state): Rename from *random-state*.
2550
ac348012
SM
25512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2554 parens around the arg list (bug#11499).
2555
a0a79cde
JL
25562012-05-17 Juri Linkov <juri@jurta.org>
2557
2558 * isearch.el (word-search-regexp, word-search-backward)
2559 (word-search-forward, word-search-backward-lax)
2560 (word-search-forward-lax): Move functions from search.c
2561 (bug#10145, bug#11381).
2562
65034a51
AM
25632012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2564
090bd7cb
JB
2565 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2566 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2567 Delay for otherchars as for normal word components.
65034a51 2568
1a72a195
SM
25692012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * minibuffer.el (completion--sifn-requote): Fix last change.
2572 (minibuffer-local-must-match-filename-map):
2573 Move define-obsolete-variable-alias before its var.
2574
fdb058c2
SM
25752012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2576
c41045e6
SM
2577 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2578
036dfb8b
SM
2579 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2580 behavior.
2581 (completion--string-equal-p): New function.
2582 (completion--twq-all): Use it to get better assertion failure data.
2583
2473256d
SM
2584 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2585 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2586 (shell--requote-argument): New functions.
2587 (shell-completion-vars): Use them.
2588 (shell--parse-pcomplete-arguments): Rename from
2589 shell-parse-pcomplete-arguments.
2590 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2591 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2592 Obey comint-file-name-quote-list.
2593
fdb058c2
SM
2594 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2595 (smie-indent-keyword): Use it.
2596
51fa99f1
SM
25972012-05-14 Stefan Merten <smerten@oekonux.de>
2598
2599 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2600
e18afed7 26012012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2602
2603 * net/rlogin.el (rlogin-mode-map): Fix last change.
2604
e18afed7 26052012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2606
2607 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2608 the following \r\n using a single `process-send-string', since the
2609 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2610 with two `process-send-string's (Bug#11444).
8633b1f4 2611
e18afed7 26122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2613
fdb058c2
SM
2614 * shell.el (shell-parse-pcomplete-arguments):
2615 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2616
2d21d7f6
WJ
26172012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2618
e18afed7 2619 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2620 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2621 (image-transform-width, image-transform-fit-width): New functions.
2622 (image-transform-properties): Use them.
2623 (image-transform-check-size): New function.
2624 (image-toggle-display-image): Use it (for testing).
2625 (image-transform-set-rotation): Reduce angle mod 360.
2626 Delete obsolete comment.
2627
7102e6d0
WJ
26282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2629
2630 * image-mode.el: Fix scaling (bug#11399).
2631 (image-transform-resize): Doc fix.
2632 (image-transform-properties): Default scale is 1 and height should
2633 be an integer.
2634
06bc5e6e
SM
26352012-05-13 Johan Bockgård <bojohan@gnu.org>
2636
2637 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2638 than hard-coding `car', to fix misbehavior when moving forward.
2639
0ae03b6a
CY
26402012-05-13 Chong Yidong <cyd@gnu.org>
2641
2642 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2643 (tabulated-list-entries, tabulated-list-padding)
2644 (tabulated-list-sort-key): Make permanent-local.
2645
2646 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2647 (electric-buffer-list): Put electric buffer menu
2648 command descriptions in this docstring, instead of the docstring
2649 of electric-buffer-menu-mode. Code cleanups.
2650 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2651 Electric-buffer-menu-mode.
2652 (electric-buffer-update-highlight): Minor code cleanup.
2653
205a7391
MA
26542012-05-13 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2657 (Bug#11447)
2658
e5bd0a28
SM
26592012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 Move define-obsolete-variable-alias before the var's definition.
2662 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2663 * tooltip.el (tooltip-hook):
2664 * textmodes/reftex-toc.el (reftex-toc-map):
2665 * textmodes/reftex-sel.el (reftex-select-label-map)
2666 (reftex-select-bib-map):
2667 * textmodes/reftex-index.el (reftex-index-map)
2668 (reftex-index-phrases-map):
2669 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2670 * progmodes/meta-mode.el (meta-mode-map):
2671 * novice.el (disabled-command-hook):
2672 * loadhist.el (unload-hook-features-list):
2673 * frame.el (blink-cursor):
2674 * files.el (find-file-not-found-hooks, write-file-hooks)
2675 (write-contents-hooks):
2676 * emulation/tpu-edt.el (GOLD-map):
2677 * emacs-lock.el (emacs-lock-from-exiting):
2678 * emacs-lisp/generic.el (generic-font-lock-defaults):
2679 * emacs-lisp/chart.el (chart-map):
2680 * dos-fns.el (register-name-alist):
2681 * dired-x.el (dired-omit-files-p):
2682 * desktop.el (desktop-enable):
2683 * cus-edit.el (custom-mode-hook):
2684 * buff-menu.el (buffer-menu-mode-hook):
2685 * bookmark.el (bookmark-read-annotation-text-func)
2686 (bookmark-exit-hooks):
2687 * allout.el (allout-mode-deactivate-hook)
2688 (allout-exposure-change-hook, allout-structure-added-hook)
2689 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2690 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2691 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2692 comes before the corresponding variable's definition.
2693
ac59c2f6
CY
26942012-05-12 Chong Yidong <cyd@gnu.org>
2695
2696 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2697 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2698 (Buffer-menu-mode-map): Bind it.
2699 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2700
dee6c9a3
SM
27012012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2171cea5
SM
2703 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2704 (prolog-upper-case-string, prolog-lower-case-string)
2705 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2706 (prolog-use-smie, prolog-smie-grammar): New vars.
2707 (prolog-smie-forward-token, prolog-smie-backward-token)
2708 (prolog-smie-rules): New funs.
2709 (prolog-comment-indent): Remove.
2710 (prolog-mode-variables): Use default comment indentation instead.
2711 Setup SMIE.
2712 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2713 (prolog-mode): Don't call them any more.
2714 (prolog-electric-colon, prolog-electric-dash)
2715 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2716
aa0382bd
SM
2717 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2718
dbacb4bd
SM
2719 * minibuffer.el (completion--twq-all): Again, allow case differences.
2720
13bdd94c
SM
2721 * term.el: Move keymap initialization code to be more idiomatic.
2722 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2723 (term-terminal-menu): Move initialization into declaration.
2724 (term-escape-char): Let the user set it in her .emacs.
2725
ff46c759
SM
2726 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2727 Provide SMIE-based indentation (not enabled by default yet).
2728 (sh-mode-map): Don't bind electric keys.
2729 Use electric-pair-mode instead of skeleton-pair.
2730 (sh-assignment-regexp): Fit within 80 columns.
2731 (sh-indent-supported): Specify actual shell name instead of boolean.
2732 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2733 (sh-maybe-here-document): Use it. Make obsolete.
2734 (sh-electric-here-document-mode) New minor mode.
2735 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2736 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2737 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2738 (sh-smie-rc-grammar, sh-use-smie): New vars.
2739 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2740 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2741 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2742 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2743 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2744 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2745 (sh-set-shell): Use smie-setup if requested.
2746
dee6c9a3
SM
2747 * term.el (term-set-escape-char): Properly set term-escape-char.
2748 See http://stackoverflow.com/questions/10524656.
2749
9f9aa044
CY
27502012-05-10 Chong Yidong <cyd@gnu.org>
2751
2752 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2753 Use url-generic-parse-url, and handle host names and Windows
2754 filenames properly.
2755 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2756 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2757 URL schemes to work on.
2758 (ffap--toggle-read-only): New function.
2759 (ffap-read-only, ffap-read-only-other-window)
2760 (ffap-read-only-other-frame): Use it.
2761 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2762 necessary for ffap-url-unwrap-remote.
2763
836d29b3
DA
27642012-05-10 Dave Abrahams <dave@boostpro.com>
2765
2766 * cus-start.el (create-lockfiles): Add it.
2767
00fd78ed
CY
27682012-05-09 Chong Yidong <cyd@gnu.org>
2769
2770 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2771 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2772
666b903b 27732012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2774
2775 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2776
666b903b 27772012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2778
2779 * ansi-color.el (ansi-color-process-output): Check for validity of
2780 comint-last-output-start before using it. This avoids a bad
2781 interaction with gdb-mi's input/output buffer.
2782
666b903b 27832012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2784
2785 * files.el (dir-locals-read-from-file):
2786 Mention dir-locals in any error message.
2787
666b903b 27882012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2789
2790 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2791 package (Bug#11410).
2792
f677562b
CY
2793 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2794 variables into description.
2795
666b903b 27962012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2797
2798 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2799 shell-delimiter-argument-list (bug#11348).
2800 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2801
b499d8d0
JB
28022012-05-09 Juanma Barranquero <lekktu@gmail.com>
2803
8f6b6da8
JB
2804 * textmodes/rst.el: Silence byte-compiler warnings.
2805 (rst-re-alist, rst-reset-section-caches): Move around.
2806 (rst-re): Use `characterp', not `char-valid-p'.
2807 (font-lock-beg, font-lock-end): Declare.
2808
4824146a
JB
2809 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2810 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2811
b499d8d0
JB
2812 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2813
ad89bb83
GM
28142012-05-08 Glenn Morris <rgm@gnu.org>
2815
2816 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2817
8bba5a75
SM
28182012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2819
49ed9c8e
SM
2820 * vc/log-edit.el: Add GNU coding standards highlighting.
2821 (log-edit-font-lock-gnu-style)
2822 (log-edit-font-lock-gnu-keywords): New vars.
2823 (log-edit-font-lock-keywords): New fun.
2824 (log-edit-mode): Don't fold case in font-lock.
2825 (log-edit-font-lock-keywords): Do not assume case-folding.
2826
07d00b56
SM
2827 * imenu.el: Misc cleanup. Make docstrings out of comments.
2828 Use lexical-binding.
2829 (imenu--index-alist, imenu--last-menubar-index-alist)
2830 (imenu-menubar-modified-tick): Use defvar-local.
2831 (imenu--split-menu): Remove unused var.
2832 (imenu--cleanup-seen): Declare as global.
2833 (imenu--cleanup): Use dolist.
2834
8bba5a75
SM
2835 * subr.el (defvar-local): Add debug spec and doc-string position.
2836
5075bdb5
GM
28372012-05-08 Glenn Morris <rgm@gnu.org>
2838
090bd7cb 2839 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2840 * language/english.el, language/georgian.el, language/greek.el:
2841 * language/japanese.el, language/khmer.el, language/korean.el:
2842 * language/lao.el, language/misc-lang.el, language/romanian.el:
2843 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2844 * language/thai.el, language/utf-8-lang.el:
2845 Remove no-byte-compile setting.
2846
5075bdb5
GM
2847 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2848
06f679a7
AH
28492012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2850
2851 * progmodes/make-mode.el (makefile-browse):
2852 Remove unnecessary interactive. (Bug#11324)
2853
03794570
GM
28542012-05-07 Glenn Morris <rgm@gnu.org>
2855
af8630f4
GM
2856 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2857
03794570
GM
2858 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2859
f0809a9d
SM
28602012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2861
28be5ce7
SM
2862 * loadup.el: Preload newcomment.el.
2863 * newcomment.el: Move autoload-only code to toplevel.
2864
f0809a9d
SM
2865 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2866 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2867 Handle new :right-align column property.
2868 (tabulated-list-print-col): Idem, plus use `display' text-property to
2869 try and preserve alignment for variable pitch fonts.
2870
1241b724
CY
28712012-05-07 Chong Yidong <cyd@gnu.org>
2872
2873 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2874 (tabulated-list-use-header-line): New var.
2875 (tabulated-list-init-header): Use it.
2876 (tabulated-list-print-fake-header): New function.
2877 (tabulated-list-print): Use it.
2878 (tabulated-list-sort-button-map): Add non-header-line commands.
2879 (tabulated-list-init-header): Add column name property to basic
2880 labels as well.
2881 (tabulated-list-col-sort): Handle non-header-line button case.
2882 (tabulated-list--sort-by-column-name): Fix a corner case.
2883
f0809a9d
SM
2884 * buff-menu.el (list-buffers--refresh):
2885 Handle Buffer-menu-use-header-line.
1241b724 2886
e5f9458f
CY
28872012-05-06 Chong Yidong <cyd@gnu.org>
2888
2889 * buff-menu.el: Convert to Tabulated List mode.
2890 (Buffer-menu-buffer+size-width): Make obsolete.
2891 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2892 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2893 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2894 documentation into docstring of buffer-menu.
2895 (Buffer-menu-toggle-files-only): Add an informative message.
2896 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2897 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2898 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2899 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2900 (Buffer-menu-execute, Buffer-menu-select)
2901 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2902 (Buffer-menu-bury): Use Tabulated List machinery.
2903 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2904 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2905 Delete.
e5f9458f
CY
2906 (list-buffers--refresh): New function.
2907 (list-buffers-noselect): Use it.
2908 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2909 (Buffer-menu--pretty-file-name): New helper functions.
2910
2911 * loadup.el: Preload tabulated-list.
2912
2913 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2914 tabulated-list-sort-column.
2915 (tabulated-list-init-header): Add the initial aligning space even
2916 if tabulated-list-padding is zero.
2917
e129292c
CS
29182012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2919
2920 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2921 whose cdr is not a cons cell correctly (bug#11038).
2922
6632d361
CY
29232012-05-06 Chong Yidong <cyd@gnu.org>
2924
e129292c
CS
2925 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2926 Accept additional plist in column descriptors.
6632d361
CY
2927 (tabulated-list-init-header): Obey it.
2928 (tabulated-list-get-entry): New function.
2929 (tabulated-list-put-tag): Use it. Use string-width instead of
2930 length.
2931 (tabulated-list--column-number): New function.
2932 (tabulated-list-print): Use it.
e129292c
CS
2933 (tabulated-list-print-col): New function.
2934 Set `tabulated-list-column-name' property on each column's text.
6632d361 2935 (tabulated-list-print-entry): Use it.
e129292c
CS
2936 (tabulated-list-delete-entry, tabulated-list-set-col):
2937 New functions.
6632d361
CY
2938 (tabulated-list-sort-column): New command (Bug#11337).
2939
3cc99f68
CY
2940 * buff-menu.el (list-buffers): Move C-x C-b binding from
2941 buff-menu.el to bindings.el.
2942
2943 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2944 :advertised-binding feature.
2945
52b61776
TN
29462012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2947
2948 * progmodes/compile.el (compilation-internal-error-properties):
2949 Calculate start position correctly when end-col is set but
2950 end-line is not (Bug#11382).
2951
ebfe2597
WJ
29522012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2953
2954 * man.el (Man-unindent): Use text-property-default-nonsticky to
2955 prevent untabify from inheriting face properties (Bug#11408).
2956
6d3f7c2f
SM
29572012-05-05 Stefan Merten <smerten@oekonux.de>
2958
2959 * textmodes/rst.el: Major merge with upstream development up to
2960 Docutils SVN r7399 / rst.el V1.2.1.
2961
2962 Clarify maintainership and authors.
2963
2964 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2965 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2966 (rst-official-version, rst-official-cvs-rev, rst-version)
2967 (rst-package-emacs-version-alist): New functions and variables
2968 for version information.
2969
2970 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2971 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2972 (rst-mode-syntax-table, rst-mode): New and corrected functions
2973 and variables representing reStructuredText features.
2974
2975 (rst-re): New function for reStructuredText regexes. Use in
2976 many places.
2977
2978 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2979 (rst-mode-map): Rebind keys.
2980
2981 (rst-mode-lazy, rst-font-lock-keywords)
2982 (rst-font-lock-extend-region)
2983 (rst-font-lock-extend-region-internal)
2984 (rst-font-lock-extend-region-extend)
2985 (rst-font-lock-find-unindented-line-limit)
2986 (rst-font-lock-find-unindented-line-match)
2987 (rst-adornment-level, rst-font-lock-adornment-level)
2988 (rst-font-lock-adornment-match)
2989 (rst-font-lock-handle-adornment-pre-match-form)
2990 (rst-font-lock-handle-adornment-matcher): Major revision of
2991 font-locking. Integrate with other code. Use `jit-lock-mode'.
2992
2993 (rst-preferred-adornments, rst-adjust-hook)
2994 (rst-new-adornment-down, rst-preferred-bullets)
2995 (rst-preferred-bullets, rst-indent, rst-indent-width)
2996 (rst-indent-field, rst-indent-literal-normal)
2997 (rst-indent-literal-minimized, rst-indent-comment): Change,
2998 extend and improve customization.
2999
3000 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3001 (rst-normalize-cursor-position, rst-get-decoration)
3002 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3003 (rst-rstrip, rst-toc-insert-find-delete-contents)
3004 (rst-shift-fill-region, rst-compute-bullet-tabs)
3005 (rst-debug-print-tabs, rst-debug-mark-found)
3006 (rst-shift-region-guts, rst-shift-region-right)
3007 (rst-shift-region-left, rst-use-char-classes)
3008 (rst-font-lock-keywords-function)
3009 (rst-font-lock-indentation-point)
3010 (rst-font-lock-find-unindented-line-begin)
3011 (rst-font-lock-find-unindented-line-end)
3012 (rst-font-lock-find-unindented-line)
3013 (rst-font-lock-adornment-point, rst-font-lock-level)
3014 (rst-adornment-level-alist): Remove functions and variables.
3015
3016 (rst-compare-adornments, rst-get-adornment-match)
3017 (rst-suggest-new-adornment, rst-get-adornments-around)
3018 (rst-adornment-complete-p, rst-get-next-adornment)
3019 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3020 (rst-straighten-adornments): Standardize function names to
3021 use "adornment" instead of "decoration". Correct callers.
3022 Similar standardizing in many places.
3023
3024 (rst-update-section, rst-adjust, rst-promote-region)
3025 (rst-enumerate-region, rst-bullet-list-region)
3026 (rst-repeat-last-character): Correct use of `interactive'.
3027
3028 (rst-classify-adornment, rst-find-all-adornments)
3029 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3030 (rst-find-leftmost-column, rst-repeat-last-character):
3031 Refactor functions.
3032
3033 (rst-find-title-line, rst-reset-section-caches)
3034 (rst-get-adornments-around, rst-adjust-adornment-work)
3035 (rst-arabic-to-roman, rst-roman-to-arabic)
3036 (rst-insert-list-pos, rst-insert-list-new-item)
3037 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3038 New functions.
3039
3040 (rst-all-sections, rst-section-hierarchy)
3041 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3042 New variables.
3043
3044 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3045 configuration instead of only buffer. Change where necessary.
3046
3047 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3048 (rst-shift-region, rst-adaptive-fill): New functions for
3049 indentation and filling.
3050
3051 (rst-comment-line-break, rst-comment-indent)
3052 (rst-comment-insert-comment, rst-comment-region)
3053 (rst-uncomment-region): New functions for handling comments.
3054
3055 (rst-compile): Quote shell arguments.
3056
3057 (rst-compile-pdf-preview, rst-compile-slides-preview):
3058 Delete temporary files after use.
3059
a43f98b3
GM
30602012-05-05 Glenn Morris <rgm@gnu.org>
3061
48176e8b
GM
3062 * calendar/cal-html.el: Optionally include holidays in the output.
3063 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3064 (cal-html-holidays): New option.
3065 (cal-html-css-default): Add holiday entry.
3066 (holiday-in-range): Autoload it.
3067 (cal-html-htmlify-entry): Add optional class argument.
3068 (cal-html-htmlify-list): Add optional holidays argument.
3069 (cal-html-insert-agenda-days): Include holidays in the output.
3070 (cal-html-one-month): Maybe include holidays.
3071
a43f98b3
GM
3072 * calendar/holidays.el (holiday-in-range):
3073 Move here from cal-tex-list-holidays.
3074 * calendar/cal-tex.el (cal-tex-list-holidays):
3075 Make it an obsolete alias for holiday-in-range. Update all callers.
3076
fef9d149 30772012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3078
3079 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3080 Nextstep.
3081
248da2f4
RW
30822012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3083
3084 * files.el (file-auto-mode-skip): New var.
3085 (set-auto-mode-1): Use it.
3086
f95e9344
SM
30872012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3088
df96ab1e
SM
3089 * repeat.el: Use lexical-binding.
3090 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3091 (repeat-undo-count): Remove.
3092 (repeat):
3093 * progmodes/octave-mod.el (octave-abbrev-start):
3094 * progmodes/f90.el (f90-abbrev-start):
3095 * face-remap.el (text-scale-adjust):
3096 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3097
5342bb06
SM
3098 * emacs-lisp/pcase.el (pcase--let*): New function.
3099 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3100 a bit more.
3101 (pcase--split-pred): Be more clever about ruling out overlap between
3102 a predicate and some constant pattern.
3103 (pcase--q1): Use `null' instead of (eq foo nil).
3104
f95e9344
SM
3105 * subr.el (setq-local, defvar-local): New macros.
3106 (kbd): Redefine as an alias.
3107 (with-selected-window): Leave unrelated frames alone.
3108 (set-temporary-overlay-map): New function.
3109
71873e2b
SM
31102012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * subr.el (user-error): New function.
3113 * window.el (switch-to-buffer):
3114 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3115 (smerge-match-conflict):
3116 * simple.el (previous-matching-history-element)
3117 (next-matching-history-element, goto-history-element, undo-more)
3118 (undo-start):
3119 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3120 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3121 (next-file, tags-loop-scan, list-tags, complete-tag):
3122 * progmodes/compile.el (compilation-loop):
3123 * mouse.el (mouse-minibuffer-check):
3124 * man.el (Man-bgproc-sentinel, Man-goto-page):
3125 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3126 (Info-history-forward, Info-follow-reference, Info-menu)
3127 (Info-extract-menu-item, Info-extract-menu-counting)
3128 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3129 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3130 (Info-next-reference, Info-prev-reference, Info-index)
3131 (Info-index-next, Info-follow-nearest-node)
3132 (Info-copy-current-node-name):
3133 * imenu.el (imenu--make-index-alist)
3134 (imenu-default-create-index-function, imenu-add-to-menubar):
3135 * files.el (basic-save-buffer, recover-file):
3136 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3137 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3138 (checkdoc-message-text, checkdoc-defun):
3139 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3140 * cus-edit.el (customize-changed-options, customize-rogue)
3141 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3142 (custom-variable-mark-to-reset-standard)
3143 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3144 (custom-file):
3145 * completion.el (check-completion-length):
3146 * comint.el (comint-search-arg)
3147 (comint-previous-matching-input-string-position)
3148 (comint-previous-matching-input)
3149 (comint-replace-by-expanded-history-before-point, comint-send-input)
3150 (comint-copy-old-input, comint-backward-matching-input)
3151 (comint-goto-process-mark, comint-set-process-mark):
3152 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3153 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3154
8a61ee22
SM
31552012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3156
66408d1e
SM
3157 * dabbrev.el (dabbrev--ignore-case-p): New function.
3158 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3159 Use it.
3160
8a61ee22
SM
3161 * files.el (automount-dir-prefix): Mark as obsolete.
3162
3c74813a
GM
31632012-05-04 Glenn Morris <rgm@gnu.org>
3164
3165 * patcomp.el, play/bruce.el: Move to obsolete/.
3166
0bfcf5c5
PE
31672012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3168
3169 Fix minor Y10k bugs.
3170 * arc-mode.el (archive-unixdate):
3171 * autoinsert.el (auto-insert-alist):
3172 * calc/calc-forms.el (math-this-year):
3173 * emacs-lisp/copyright.el (copyright-current-year)
3174 (copyright-update-year, copyright):
3175 * tar-mode.el (tar-clip-time-string):
3176 * time.el (display-time-update):
3177 Don't assume years have 4 digits.
3178
78f3273a
CY
31792012-05-04 Chong Yidong <cyd@gnu.org>
3180
3181 * dos-w32.el (file-name-buffer-file-type-alist)
3182 (direct-print-region-use-command-dot-com):
3183 * ffap.el (ffap-menu-regexp):
3184 * find-file.el (ff-special-constructs):
3185 * follow.el (follow-debug):
3186 * forms.el (forms--debug):
3187 * iswitchb.el (iswitchb-all-frames):
3188 * ido.el (ido-all-frames):
3189 * emacs-lisp/timer.el (timer-max-repeats):
3190 * mail/feedmail.el (feedmail-mail-send-hook)
3191 (feedmail-mail-send-hook-queued):
3192 * mail/footnote.el (footnote-signature-separator):
3193 * mail/mailabbrev.el (mail-alias-separator-string)
3194 (mail-abbrev-mode-regexp):
3195 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3196 * progmodes/idlwave.el (idlwave-libinfo-file)
3197 (idlwave-default-completion-case-is-down)
3198 (idlwave-library-routines): Convert defvars to defcustoms.
3199
3200 * mail/rmail.el (rmail-decode-mime-charset):
3201 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3202 (idlwave-shell-fix-inserted-breaks)
3203 (idlwave-shell-activate-alt-keybindings)
3204 (idlwave-shell-use-breakpoint-glyph):
3205 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3206
f7ae6719
SM
32072012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3210
47086495
WS
32112012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3212
3213 * progmodes/verilog-mode.el (font-lock-keywords):
3214 Fix mis-highligting auto. Reported by Craig Barner.
3215 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3216 defines from global name space. Reported by Dan Dever.
3217 (verilog-auto-reset, verilog-auto-reset-widths)
3218 (verilog-auto-tieoff): Support using unbased numbers for
3219 AUTORESET and AUTOTIEOFF.
3220 (verilog-submit-bug-report): Update variable list.
3221 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3222 parenthesis from not matching. Reported by Michael Rytting.
3223 (verilog-auto-template-lint): Fix hash error when linting modules
3224 with no used templates.
3225 (verilog-warn, verilog-warn-error)
3226 (verilog-warn-fatal): When non-interactive report multiple
3227 warnings before exiting. Suggested by Brad Dobbie.
3228 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3229 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3230 to report unused template errors. Reported by Brad Dobbie.
3231 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3232 nets, bug438. Reported by Vns Blore.
3233 (verilog-auto-inout-module, verilog-auto-reg)
3234 (verilog-read-decls, verilog-read-sub-decls-sig)
3235 (verilog-signals-edit-wire-reg, verilog-signals-with):
3236 Fix passing of Verilog data types in ANSI input/output ports
3237 such as "output logic" into the AUTOs. Special case "wire" and
3238 "reg" for backwards compatibility presuming Verilog 2001.
3239 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3240 (verilog-preprocess): Fix replication of preprocess output.
3241 Reported by Brad Dobbie.
3242 (verilog-auto-inst-interfaced-ports):
3243 Create verilog-auto-inst-interfaced-ports, bug429.
3244 Reported by Julian Gorfajn.
3245 (verilog-after-save-font-hook)
3246 (verilog-before-save-font-hook): New variable.
3247 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3248 (verilog-save-font-mods): Wrap disabling fontification, reported
3249 by David Rogoff.
3250 (verilog-do-indent, verilog-pretty-declarations-auto)
3251 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3252 Reported by Pierre-David Pfister.
3253 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3254 of class declarations, bug292. Reported by Kevin Heilman.
3255 (verilog-read-decls): Fix 'parameter type' not appearing in
3256 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3257 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3258 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3259 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3260 Reported by David Kravitz.
3261
32622012-05-03 Michael McNamara <mac@mail.brushroad.com>
3263
3264 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3265 assignment with tests in ifs and for loops.
3266 (verilog-extended-complete-re, verilog-complete-reg): Change so
3267 that DPI inport functions don't look like fuction declarations.
3268 (verilog-pretty-expr): Don't line up assignment
3269 operations to the test and increment in if and for loops
3270 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3271 that DPI inport functions don't look like fuction declarations.
47086495 3272
2e51d4b5
KH
32732012-05-03 Kenichi Handa <handa@m17n.org>
3274
3275 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3276 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3277 (Bug#11282).
3278
2bd785a2
SM
32792012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/bytecomp.el
3282 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3283 since cconv.el might have introduced :fun-body, internal-make-closure,
3284 and friends for bytecomp to handle (bug#11391).
3285 * custom.el (defcustom): Avoid ((λ ..) ..).
3286
99d27583
SM
32872012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3290
55a71479
JB
32912012-05-02 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * notifications.el (dbus-debug):
3294 * term/linux.el (gpm-mouse-enable):
3295 * term/screen.el (xterm-register-default-colors): Declare.
3296
7b97c764
CY
32972012-05-02 Chong Yidong <cyd@gnu.org>
3298
2bc356d7
CY
3299 * cus-start.el (gc-cons-percentage, exec-suffixes)
3300 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3301 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3302 (make-cursor-line-fully-visible, void-text-area-pointer)
3303 (font-list-limit): Add customization data.
3304
7b97c764
CY
3305 * allout.el (allout-exposure-change-functions)
3306 (allout-structure-added-functions)
3307 (allout-structure-deleted-functions)
3308 (allout-structure-shifted-functions): Rename abnormal hooks from
3309 *-hook, and convert to defcustoms.
5d3385a0
JB
3310 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3311 Convert to defcustoms.
7b97c764
CY
3312 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3313
3314 * allout-widgets.el: Hook callers changed.
3315
90207a15 33162012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3317
3318 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3319 the yanked message in preference to the default value of
3320 buffer-file-coding-system.
3321
90207a15 33222012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3323
5d3385a0
JB
3324 * window.el (display-buffer--action-function-custom-type):
3325 Fix entry.
d9558cad 3326
90207a15 33272012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3328
3329 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3330
d80ac57b
GM
33312012-05-01 Glenn Morris <rgm@gnu.org>
3332
976f7668
GM
3333 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3334
beb83b5a
GM
3335 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3336
d80ac57b
GM
3337 * cus-edit.el (custom-variable-documentation): Simplify with format.
3338
b593d6a9
AH
33392012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3340 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * simple.el (suggest-key-bindings, execute-extended-command):
3343 Move from keyboard.c.
3344
782fbf2a
CY
33452012-05-01 Chong Yidong <cyd@gnu.org>
3346
3347 * follow.el: Eliminate advice.
3348 (set-process-filter, process-filter, sit-for): Advice deleted.
3349 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3350 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3351 Vars deleted.
782fbf2a
CY
3352 (follow-auto): Use a :set function.
3353 (follow-mode): Rewritten. Don't advise process filters.
3354 (follow-switch-to-current-buffer-all, follow-scroll-up)
3355 (follow-scroll-down): Assume follow-mode is bound.
3356 (follow-comint-scroll-to-bottom)
3357 (follow-align-compilation-windows): New functions.
3358 (follow--window-sorter): New function.
3359 (follow-all-followers): Use it to explicitly sort windows by their
3360 positions; don't make assumptions about next-window order.
3361 (follow-windows-start-end, follow-delete-other-windows-and-split)
3362 (follow-calc-win-start): Doc fix.
3363 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3364 vertical-motion unnecessarily.
3365 (follow-adjust-window): New function.
3366 (follow-post-command-hook): Use it.
3367 (follow-call-set-process-filter, follow-call-process-filter)
3368 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3369 (follow-stop-intercept-process-output, follow-generic-filter):
3370 Functions deleted.
3371 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3372 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3373 New functions, replacing advice on scroll-bar-* commands.
87233a14 3374 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3375
3376 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3377 (comint-postoutput-scroll-to-bottom): Use it.
3378 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3379
290af740
GM
33802012-05-01 Glenn Morris <rgm@gnu.org>
3381
3382 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3383 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3384 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3385 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3386 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3387 Remove no-byte-compile setting.
3388
6eac8dc9
SM
33892012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3392 all-completions code to not return a number in the last cdr.
3393
9cc7819c
LL
33942012-04-30 Leo Liu <sdl.web@gmail.com>
3395
3396 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3397 read-only error.
3398
c93b886f
CY
33992012-04-29 Chong Yidong <cyd@gnu.org>
3400
3401 * follow.el (follow-calc-win-end): Rewrite to handle partial
3402 screen lines correctly (Bug#8390).
3403 (follow-avoid-tail-recenter): Minor cleanup.
3404
8b6c19f4
SM
34052012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 Avoid the obsolete `assoc' package.
3408 * speedbar.el (speedbar-refresh): Avoid adelete.
3409 (speedbar-file-lists): Simplify and avoid aput.
3410 * man.el (Man--sections, Man--refpages): New vars, replacing
3411 Man-sections-alist and Man-refpages-alist.
3412 (Man-build-section-alist, Man-build-references-alist):
3413 Use them; avoid aput.
3414 (Man--last-section, Man--last-refpage): New vars.
3415 (Man-follow-manual-reference): Use them.
3416 Use the `default' arg of completing-read.
3417 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3418
c5bb7569
CY
34192012-04-27 Chong Yidong <cyd@gnu.org>
3420
d1d2e2e8
CY
3421 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3422
15cd8efd
CY
3423 * startup.el (x-apply-session-resources): New function.
3424
3425 * term/ns-win.el (ns-initialize-window-system):
3426 * term/w32-win.el (w32-initialize-window-system):
3427 * term/x-win.el (x-initialize-window-system): Use it to properly
3428 set menu-bar-mode and other vars from X resources, even if the
3429 initial frame is not a window-system frame (Bug#2299).
3430
c5bb7569
CY
3431 * subr.el (read-key): Avoid running filter function when setting
3432 up temporary tool bar entries (Bug#9922).
3433
a8e7d6d7 34342012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3435
3436 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3437 (Bug#11344)
3438
a8e7d6d7 34392012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3440
3441 * select.el (xselect--encode-string): New function, split from
3442 xselect-convert-to-string.
3443 (xselect-convert-to-string): Use it.
3444 (xselect-convert-to-filename, xselect-convert-to-os)
3445 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3446 returned strings are properly encoded (Bug#11315).
3447
a8e7d6d7 34482012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3449
3450 * simple.el (delete-active-region): Move to killing custom group.
3451
a8e7d6d7 34522012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3453
3454 * progmodes/which-func.el (which-func-current): Quote %
3455 characters for mode-line processing.
3456
578c1d4b 34572012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3458
3459 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3460 reaching eob (Bug#11286).
3461
a8e7d6d7 34622012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3463
3464 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3465 (gdb): Make it buffer-local and init to zero.
3466 (gdb-control-commands-regexp): New variable.
3467 (gdb-send): Don't wrap in "-interpreter-exec console" if
3468 gdb-control-level is positive. Increment gdb-control-level
3469 whenever the command matches gdb-control-commands-regexp, and
3470 decrement it each time the command is "end". (Bug#11279)
3471
a8e7d6d7 34722012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3473
3474 * window.el (adjust-window-trailing-edge, enlarge-window)
3475 (shrink-window, window-resize):
3476 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3477 windows (Bug#11276).
3478
b3608390
CY
34792012-04-27 Chong Yidong <cyd@gnu.org>
3480
3481 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3482 fix "missing prefix" warning. All callers changed.
b3608390 3483
797e6e88
SM
34842012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/assoc.el: Move to obsolete/.
3487
e95a67dc
SM
34882012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3489
657c21e4 3490 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3491
3492 * term/ns-win.el (ns-define-service):
3493 * progmodes/pascal.el (pascal-goto-defun):
3494 * progmodes/js.el (js--read-tab):
3495 * progmodes/etags.el (tags-lazy-completion-table):
3496 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3497 * emacs-lisp/ewoc.el (ewoc--wrap):
3498 * emacs-lisp/assoc.el (aput, adelete, amake):
3499 * doc-view.el (doc-view-convert-current-doc):
3500 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3501
cb3e7ae0
CY
35022012-04-26 Chong Yidong <cyd@gnu.org>
3503
dce04f7f
CY
3504 * image.el (image-type-from-buffer): Only return supported image
3505 type (Bug#9045).
3506
cb3e7ae0
CY
3507 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3508 value, for symmetry with diff-end-of-hunk.
3509 (diff-split-hunk, diff-find-source-location)
3510 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3511 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3512 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3513 compute the relevant hunk or file properly (Bug#6005).
3514 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3515
0d42eb3e
SM
35162012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * vc/vc-mtn.el:
3519 * vc/vc-hg.el:
3520 * vc/vc-git.el:
3521 * vc/vc-dir.el:
3522 * vc/vc-cvs.el:
3523 * vc/vc-bzr.el:
3524 * vc/vc-arch.el:
3525 * vc/vc.el: Replace lexical-let by lexical-binding.
3526 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3527 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3528 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3529
f08ae1c9
CY
35302012-04-26 Chong Yidong <cyd@gnu.org>
3531
8b71081d
CY
3532 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3533 (diff-mode-shared-map): Bind it to / and [remap undo].
3534
f08ae1c9
CY
3535 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3536 (ediff-window-setup-function): Use it as the default, to set up
3537 windows based on whether the current frame is graphical (Bug#2138).
3538 (ediff-choose-window-setup-function-automatically): Make obsolete.
3539
3540 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3541
ef24141c
SM
35422012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3543
cc356a5d
SM
3544 * ffap.el: Remove old code for obsolete package.
3545 (ffap-complete-as-file-p): Remove.
3546
b4ff4f1f
SM
3547 Use completion-table-with-quoting for comint and pcomplete.
3548 * comint.el (comint--unquote&requote-argument)
3549 (comint--unquote-argument, comint--requote-argument): New functions.
3550 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3551 (comint-quote-filename): Use regexp-opt-charset.
3552 (comint--common-suffix, comint--common-quoted-suffix)
3553 (comint--table-subvert): Remove.
3554 (comint-unquote-function, comint-requote-function): New vars.
3555 (comint--complete-file-name-data): Use them with
3556 completion-table-with-quoting.
3557 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3558 * pcomplete.el (pcomplete-arg-quote-list)
3559 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3560 (pcomplete-unquote-argument-function): Default to non-nil.
3561 (pcomplete-unquote-argument): Simplify.
3562 (pcomplete--common-quoted-suffix): Remove.
3563 (pcomplete-requote-argument-function): New var.
3564 (pcomplete--common-suffix): New function.
3565 (pcomplete-completions-at-point): Use completion-table-with-quoting
3566 and completion-table-subvert.
3567
79c4eeb4
SM
3568 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3569 (minibuffer--double-dollars): Preserve properties.
3570 (completion--sifn-requote): New function.
3571 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3572
ef24141c
SM
3573 * minibuffer.el: Add support for completion of quoted/escaped data.
3574 (completion-table-with-quoting, completion-table-subvert): New funs.
3575 (completion--twq-try, completion--twq-all): New functions.
3576 (completion--nth-completion): New function.
3577 (completion-try-completion, completion-all-completions): Use it.
3578
784e7d6e
LL
35792012-04-25 Leo Liu <sdl.web@gmail.com>
3580
dd2ac746
SM
3581 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3582 Use compilation-message if available to find real filename.
784e7d6e 3583
07875ee7
CY
35842012-04-25 Chong Yidong <cyd@gnu.org>
3585
3586 * vc/diff-mode.el (diff-setup-whitespace): New function.
3587 (diff-mode): Use it.
3588
3589 * vc/diff.el (diff-sentinel):
3590 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3591 Whitespace mode variables based on diff style (Bug#8612).
3592
5055880d
LL
35932012-04-25 Leo Liu <sdl.web@gmail.com>
3594
daf75653
LL
3595 * progmodes/python.el (python-send-region): Add suffix .py to the
3596 temp file.
3597
5055880d
LL
3598 * files.el (auto-mode-alist): Use javascript-mode instead.
3599
db9b177b
AH
36002012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3601
ef24141c 3602 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3603
090bd7cb 3604 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3605 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3606 references, see Bug#9.
ef24141c 3607 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3608 when receiving a fault reply.
ef24141c 3609 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3610
090bd7cb 3611 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3612 (soap-inspect-simple-type): New function.
db9b177b 3613
090bd7cb 3614 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3615 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3616 (soap-decode-basic-type, soap-encode-basic-type):
3617 support unsignedInt and double basic types.
db9b177b 3618 (soap-resolve-references-for-simple-type)
ef24141c
SM
3619 (soap-parse-simple-type, soap-encode-simple-type): New function.
3620 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3621
090bd7cb 3622 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3623 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3624 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3625 the local name of "soapenc:Array".
3626 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3627 decoding integer, byte and anyURI xsd types.
3628
1fc6097b
CY
36292012-04-25 Chong Yidong <cyd@gnu.org>
3630
3631 * cus-edit.el (custom-buffer-create-internal): Update header text.
3632
afc6df87
EZ
36332012-04-25 Eli Zaretskii <eliz@gnu.org>
3634
3635 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3636 settings on 'system-type', not on 'window-system'. On MS-Windows,
3637 set interactive-mode on in GDB.
3638
dfbd787f
SM
36392012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3642 (ruby-syntax-propertize-regexp): Remove.
3643 (ruby-syntax-propertize-function): Split regexp into chunks.
3644 Match following code directly.
3645
85222d44
DG
36462012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3647
51a8ea2a
DG
3648 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3649 (ruby-syntax-propertize-regexp): New function.
3650 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3651 by a special keyword.
3652
85222d44
DG
3653 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3654 (ruby-syntax-general-delimiters-goto-beg)
3655 (ruby-syntax-propertize-general-delimiters): New functions.
3656 (ruby-syntax-propertize-function): Use them to handle GDL.
3657 (ruby-font-lock-keywords): Move old handling of GDL...
3658 (ruby-font-lock-syntactic-keywords): .. to here.
3659 (ruby-calculate-indent): Adjust indentation for GDL.
3660
b613912b
MA
36612012-04-24 Michael Albinus <michael.albinus@gmx.de>
3662
b5380639
MA
3663 * notifications.el (top): Remove unneeded declarations.
3664 (notifications-specification-version): Change to "1.2".
e43042fe 3665 (notifications-interface, notifications-notify-method)
b613912b
MA
3666 (notifications-close-notification-method): Fix docstring.
3667 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3668 (notifications-notify): Add :action-items, :resident and
3669 :transient hints. Change "image_data" to "image-data" and
3670 "image_path" to "image-path".
b613912b
MA
3671 (notifications-get-capabilities): New defun.
3672
257440aa
LL
36732012-04-24 Leo Liu <sdl.web@gmail.com>
3674
3675 * progmodes/python.el: Move hideshow setup to the end.
3676
b1bac16e
MR
36772012-04-24 Martin Rudalics <rudalics@gmx.at>
3678
3679 * window.el (handle-select-window): Clear echo area since this is
3680 no more done by read_char (Bug#11304).
3681
d81bd059
SM
36822012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3685 and `/ M' to filter-derived-mode.
3686 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3687 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3688 (ibuffer-mark-by-mode): Use default rather than initial-input.
3689 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3690
c4cf6d91
IA
36912012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3692
3693 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3694 (ibuffer-filter-by-derived-mode): New filter.
3695 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3696
7511ded8
CY
36972012-04-23 Andreas Politz <politza@fh-trier.de>
3698
3699 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3700
775c916b
CY
37012012-04-23 Chong Yidong <cyd@gnu.org>
3702
3703 * cus-edit.el (customize-apropos, customize-apropos-options):
3704 Disable matching of non-option variables (Bug#11176).
3705 (customize-option, customize-option-other-window)
3706 (customize-changed-options): Doc fix.
3707 (customize-apropos-options, customize-apropos-faces)
3708 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3709
3710 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3711 Fix word list splitting (Bug#11132).
46c71e23
CY
3712 (apropos-symbol, apropos-keybinding, apropos-label)
3713 (apropos-property, apropos-function-button)
3714 (apropos-variable-button, apropos-misc-button): New faces.
3715 (apropos-symbol-face, apropos-keybinding-face)
3716 (apropos-label-face, apropos-property-face, apropos-match-face):
3717 Variables removed (Bug#8396).
3718 (apropos-library-button, apropos-format-plist, apropos-print)
3719 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3720
2df41f9c
MA
37212012-04-23 Michael Albinus <michael.albinus@gmx.de>
3722
3723 * net/xesam.el (xesam-mode-map): Use let-bound map in
3724 initialization. (Bug#11292)
3725
da00640a
AM
37262012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3727
3728 Preserve ispell session localwords when switching back to
3729 original buffer.
3730
090bd7cb
JB
3731 * textmodes/ispell.el (ispell-buffer-session-localwords):
3732 New buffer-local variable to hold buffer session localwords.
ed9265fc 3733 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
3734 localwords.
3735 (ispell-command-loop, ispell-change-dictionary)
3736 (ispell-buffer-local-words): Preserve session localwords when
3737 needed.
3738
090bd7cb
JB
3739 * textmodes/flyspell.el (flyspell-process-localwords)
3740 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3741
f621ccf5
AM
37422012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3743
090bd7cb
JB
3744 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3745 using obsolete `translation-table-for-input'.
ef24141c
SM
3746 (ispell-word, ispell-process-line, ispell-complete-word):
3747 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3748
c2d1019e
CY
37492012-04-22 Chong Yidong <cyd@gnu.org>
3750
3751 * cus-edit.el (custom-variable-menu)
3752 (custom-variable-reset-saved, custom-face-menu)
3753 (custom-face-reset-saved): If there is no saved value, make the
3754 "reset-saved" operation bring back the default (Bug#9509).
3755 (custom-face-state): Properly detect themed faces.
3756
eeddc531
CY
3757 * faces.el (face-spec-set): Stop supporting deprecated form of
3758 third arg.
3759
dcbf5805
MA
37602012-04-22 Michael Albinus <michael.albinus@gmx.de>
3761
3762 Move functions from C to Lisp. Make non-blocking method calls
3763 the default. Implement further D-Bus standard interfaces.
3764
ef24141c
SM
3765 * net/dbus.el (dbus-message-internal): Declare function.
3766 Remove unneeded function declarations.
dcbf5805
MA
3767 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3768 (dbus-message-type-method-return, dbus-message-type-error)
3769 (dbus-message-type-signal): Declare variables. Remove local
3770 definitions.
3771 (dbus-interface-dbus, dbus-interface-peer)
3772 (dbus-interface-introspectable, dbus-interface-properties)
3773 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3774 Adapt docstring.
3775 (dbus-interface-objectmanager): New defconst.
3776 (dbus-call-method, dbus-call-method-asynchronously)
3777 (dbus-send-signal, dbus-method-return-internal)
3778 (dbus-method-error-internal, dbus-register-service)
3779 (dbus-register-signal, dbus-register-method): New defuns, moved
3780 from dbusbind.c
3781 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3782 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3783 New defuns.
dcbf5805
MA
3784 (dbus-call-method-non-blocking): Make it an obsolete function.
3785 (dbus-unregister-object, dbus-unregister-service)
3786 (dbus-handle-event, dbus-register-property)
3787 (dbus-property-handler): Obey the new structure of
3788 `bus-registered-objects'.
3789 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3790 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3791 Use `dbus-call-method'.
3792
cf20dee0
CY
37932012-04-22 Chong Yidong <cyd@gnu.org>
3794
3795 * cus-edit.el (custom-commands, custom-reset-menu)
3796 (Custom-reset-standard): Tweak labels.
3797 (custom-reset-button-menu): Change default to t.
3798 (custom-buffer-create-internal): For the custom-reset-button-menu
3799 case, put the revert button first.
3800 (custom-group-subtitle): New face.
3801 (custom-group-value-create): Align docstring to a specific column.
3802
3803 * wid-edit.el (widget-documentation-link-add): Don't handle
3804 indentation in this function.
3805 (widget-documentation-string-indent-to): New function.
3806 (widget-documentation-string-value-create): Use it.
3807
3808 * autorevert.el (auto-revert):
3809 * epg-config.el (epg):
3810 * ibuffer.el (ibuffer):
3811 * mpc.el (mpc):
3812 * ses.el (ses):
3813 * eshell/eshell.el (eshell):
3814 * net/ange-ftp.el (ange-ftp):
3815 * progmodes/ebnf2ps.el (postscript):
3816 * progmodes/flymake.el (flymake):
3817 * progmodes/prolog.el (prolog):
3818 * progmodes/verilog-mode.el (verilog-mode):
3819 * progmodes/which-func.el (which-func):
3820 * term/xterm.el (xterm):
3821 * textmodes/picture.el (picture):
3822 * textmodes/tildify.el (tildify):
3823 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3824 customization buffers.
3825
583e23bd
AM
38262012-04-22 Alan Mackenzie <acm@muc.de>
3827
3828 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3829 Adding a ) can hide the resulting (..) from searches. Fix it.
3830 Bound the backward search to the position of the existing (.
3831
7dd51bf1
JB
38322012-04-21 Juanma Barranquero <lekktu@gmail.com>
3833
3834 * progmodes/verilog-mode.el (verilog-mode): Check whether
3835 which-func-modes is t before adding verilog-mode.
3836 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3837
d64a438f
LL
38382012-04-21 Leo Liu <sdl.web@gmail.com>
3839
7dd51bf1 3840 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3841
081e8d65
MV
38422012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3843
3844 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3845 filling of the last column of a table (Bug#5635).
3846 (woman-find-next-control-line): New arg, specifying an additional
3847 regexp component for the control line.
3848 (woman2-roff-buffer): Use it.
3849 (woman-break-table): New function.
3850 (woman2-TS): Use it.
3851
38522012-04-21 Chong Yidong <cyd@gnu.org>
3853
3854 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3855 (woman-horizontal-escapes, woman-negative-vertical-space)
3856 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3857 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3858
ed571ccb
SM
38592012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * minibuffer.el (completion-file-name-table): Complete user names.
3862
39773899
LL
38632012-04-20 Leo Liu <sdl.web@gmail.com>
3864
3865 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3866 and pcase-let*.
3867
de6ff46d
CY
38682012-04-20 Chong Yidong <cyd@gnu.org>
3869
3870 * server.el (server-execute): Respect initial-buffer-choice if it
3871 is a string and there are no files to open (Bug#2825).
3872 (server-create-window-system-frame, server-create-tty-frame):
3873 Don't switch buffers here.
2d0e8e61
CY
3874 (server-process-filter): Only try to open a window system frame if
3875 compiled with graphical support (Bug#8314).
de6ff46d 3876
54071013
DN
38772012-04-20 Dan Nicolaescu <dann@gnu.org>
3878
3879 * battery.el (battery-echo-area-format): Display remaining time
3880 for sysfs backend too (Bug#11269).
3881 (battery-linux-sysfs): Fix conditional for the charge.
3882
f30d612a
CY
38832012-04-20 Chong Yidong <cyd@gnu.org>
3884
c07a4c0b 3885 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3886 (gdb-inferior-io--init-proc): New function.
3887 (gdb-init-1): Use it.
3888 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3889 responsible for allocating a new pty and hooking it to gdb when
3890 the old pty gets an EIO due to process exit.
3891 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3892 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3893 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3894
2116e93c
EZ
38952012-04-20 Eli Zaretskii <eliz@gnu.org>
3896
3897 * window.el (window-min-size, window-sizable, window-min-delta)
3898 (window-max-delta, window--resizable, window-resizable)
3899 (window-total-size, window-full-height-p, window-full-width-p)
3900 (window-in-direction, window--resize-mini-window, window-resize)
3901 (window--resize-child-windows-normal)
3902 (window--resize-child-windows, window--resize-siblings)
3903 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3904 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3905
c07a4c0b 39062012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3907
ef24141c
SM
3908 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3909 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3910 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3911 pty process (Bug#11273).
3912 (gdb-update): New arg to suppress talking to the gdb process.
3913 (gdb-done-or-error): Use it.
3914 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3915 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3916 sentinel not being called.
3917
3918 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3919
d02766ab
CY
3920 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3921
c07a4c0b 39222012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3923
3924 * net/network-stream.el (open-network-stream): Doc fix.
3925
c07a4c0b 39262012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3927
3928 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3929
c07a4c0b 39302012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3931
3932 Ensure searching for keywords is case sensitive.
3933
3934 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3935 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3936 (c-defun-name, c-mark-function, c-cpp-define-name)
3937 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3938 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3939
ef24141c
SM
3940 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3941 Bind case-fold-search to nil.
f0f6bc35 3942
c07a4c0b 39432012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3944
3945 * mail/sendmail.el (mail-bury): Call return action with the right
3946 Rmail buffer (Bug#11242).
3947
9a864fa2
CY
3948 * server.el (server-process-filter): Handle corner case where both
3949 tty and nowait options are present (Bug#11102).
3950
539aa513
EZ
39512012-04-20 Eli Zaretskii <eliz@gnu.org>
3952
3953 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3954 (top level): Put into the executable the ident-style '$Id:' tag on
3955 windows-nt as well.
539aa513 3956
cfc7d5da
SM
39572012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * electric.el (electric-indent-post-self-insert-function): Check that
3960 electric-indent-mode is enabled in current buffer.
3961
5b01685c
JB
39622012-04-19 Juanma Barranquero <lekktu@gmail.com>
3963
3964 * imenu.el (imenu-progress-message): Restore; it is "used" in
3965 erc/erc-imenu.el and net/snmp-mode.el.
3966
4d6769e1
JB
39672012-04-19 Juanma Barranquero <lekktu@gmail.com>
3968
3969 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3970 (mouse-avoidance-nudge-mouse): Remove unused binding.
3971
3972 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3973
3974 * descr-text.el (describe-char):
3975 * progmodes/python.el (python-describe-symbol):
3976 Don't call `toggle-read-only', set `buffer-read-only'.
3977
3978 * imenu.el (imenu-default-goto-function): Mark unused args.
3979 (imenu-progress-message): Remove obsolete macro; all callers changed.
3980
3981 * subr.el (keymap-canonicalize): Remove unused binding.
3982 (read-passwd): Mark unused arg.
3983
3984 * tutorial.el (tutorial--display-changes): Remove unused binding.
3985 (tutorial--save-tutorial-to): Remove unused variable.
3986
3987 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3988 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3989 (package-generate-autoloads, package-menu--generate)
3990 (package-menu--find-upgrades): Remove unused bindings.
3991
3992 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3993 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3994 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3995 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3996 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3997 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3998 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3999 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4000 (cua-delete-char-rectangle): Mark unused args.
4001 (cua-align-rectangle): Remove unused binding.
4002
4003 * mail/rmail.el (compilation--message->loc)
4004 (epa--find-coding-system-for-mime-charset): Declare.
4005
4006 * net/dbus.el (dbus-register-service): Declare.
4007 (dbus-name-owner-changed-handler): Remove unused binding.
4008
4009 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4010 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4011 (nxml-scan-backward-within): Mark unused arg.
4012 (nxml-dynamic-markup-word): Remove unused binding.
4013
4014 * mouse.el (mouse-menu-major-mode-map):
4015 * emacs-lisp/authors.el (authors-scan-change-log)
4016 (authors-add-to-author-list):
4017 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4018 * emacs-lisp/smie.el (smie-auto-fill):
4019 * mail/sendmail.el (mail-bury):
4020 * mail/unrmail.el (unrmail):
4021 * net/tls.el (open-tls-stream):
4022 * textmodes/picture.el (picture-mouse-set-point):
4023 Remove unused bindings.
4024
8c8fc5df
MA
40252012-04-19 Michael Albinus <michael.albinus@gmx.de>
4026
4027 * net/tramp.el (tramp-action-password): Let-bind
4028 `enable-recursive-minibuffers' to t.
4029
a77b0ac9
SS
40302012-04-18 Sam Steingold <sds@gnu.org>
4031
4032 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4033 instead of 'string to accommodate values like [f11].
4034 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4035 * progmodes/gdb-mi.el: Likewise.
4036
12a106a9
LL
40372012-04-18 Leo Liu <sdl.web@gmail.com>
4038
4039 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4040 current buffer.
4041 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4042 LOCAL is nil.
4043
bc6494ef
CY
40442012-04-18 Chong Yidong <cyd@gnu.org>
4045
4046 * simple.el (line-move): Use forward-line if in batch mode
4047 (Bug#11053).
4048
c09c46b2
CS
40492012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4050
4051 * files.el (after-find-file): Do not try to add a final newline if
4052 the buffer is read-only (Bug#11156).
4053
5f6530ea
RS
40542012-04-17 Richard Stallman <rms@gnu.org>
4055
4056 * mail/rmail.el (rmail-start-mail):
4057 Pass (rmail-mail-return...) for the return-action.
4058 Pass (rmail-yank-current-message...) for the yank-action.
4059 (rmail-yank-current-message): New function.
4060 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4061 (rmail-reply): Likewise.
4062 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4063
4064 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4065 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4066 buffer, not newbuf.
4067
197b6f3c
JB
40682012-04-17 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * server.el (server-ensure-safe-dir): Simplify.
4071
2311d8e5 40722012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4073
2311d8e5
GM
4074 * emacs-lisp/smie.el: Provide smarter auto-filling.
4075 (smie-auto-fill): New function.
4076 (smie-setup): Use it.
98fb480e 4077
2311d8e5
GM
4078 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4079
40802012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4081
4082 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4083 (comment-indent): Use it.
4084
2311d8e5 40852012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4086
4087 * ses.el: The overall change is to add cell renaming, that is
4088 setting fancy names for cell symbols other than name matching
4089 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4090 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4091 (ses-create-cell-variable): New defun.
2311d8e5 4092 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4093 (ses-relocate-formula): Relocate formulas only for cells the
4094 symbols of which are not renamed, i.e. symbols whose names do not
4095 match regexp "\\`[A-Z]+[0-9]+\\'".
4096 (ses-relocate-all): Relocate values only for cells the symbols of
4097 which are not renamed.
4098 (ses-load): Create cells variables as the (ses-cell ...) are read,
4099 in order to check row col consistency with cell symbol name only
4100 for cells that are not renamed.
4101 (ses-replace-name-in-formula): New defun.
4102 (ses-rename-cell): New defun.
4bdf2ad2 4103
fc72b15c
PO
41042012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4105
4106 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4107 New option (bug#11118).
4108 (perl-calculate-indent): Respect it.
4109
12e10e61
GM
41102012-04-17 Glenn Morris <rgm@gnu.org>
4111
4112 * dired-aux.el (dired-mark-read-string): Doc fix.
4113
30009afd
DA
41142012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4115
4116 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4117 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4118
41f03f4d
GM
41192012-04-17 Glenn Morris <rgm@gnu.org>
4120
4121 * mouse.el (mouse-drag-track):
4122 * speedbar.el (speedbar-frame-mode):
4123 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4124
f45f90f3
LL
41252012-04-16 Leo Liu <sdl.web@gmail.com>
4126
4127 * progmodes/python.el: Trivial cleanup.
4128
94ee8db5
GM
41292012-04-16 Glenn Morris <rgm@gnu.org>
4130
121b8917
GM
4131 * vc/vc.el (vc-string-prefix-p):
4132 * vc/pcvs-util.el (cvs-string-prefix-p):
4133 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4134 * mpc.el (mpc-string-prefix-p):
4135 Make all of these into obsolete aliases for string-prefix-p.
4136 Update callers.
4137 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4138
1197ecfa
GM
4139 * textmodes/two-column.el: Move custom options to the start.
4140 (frame-width): Remove compat definition.
4141 (2C-associate-buffer, 2C-dissociate):
4142 Use with-current-buffer rather than save-excursion.
4143 (2C-dissociate): Force a mode-line update.
4144 (2C-autoscroll): Use ignore-errors.
4145
099e7202
GM
4146 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4147 Autoload trivia.
4148
bf350d6a
GM
4149 * emacs-lisp/cl-extra.el (*random-state*):
4150 Remove unnecessary declaration.
4151
0e829eab
GM
4152 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4153
e3ad7552
GM
4154 * play/cookie1.el (cookie-snarf):
4155 Give an explicit error if input file cannot be read.
4156
68892d27
GM
4157 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4158
20f0c46d
GM
4159 * progmodes/perl-mode.el (c-macro-expand):
4160 Remove unnecessary autoload (it is in loaddefs.el).
4161
5a0978ce
GM
4162 * textmodes/picture.el (picture-desired-column)
4163 (picture-update-desired-column): Convert comments to doc-strings.
4164 (picture-substitute): Remove function.
4165 (picture-mode-map): Initialize in the defvar.
4166
6b955486
GM
4167 * woman.el: Remove eval-after-load for tar-mode.
4168 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4169 (woman-tar-extract-file): Autoload it.
4170
94ee8db5
GM
4171 * frame.el (automatic-hscrolling): Make this alias obsolete.
4172
177eca34
AM
41732012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4174
090bd7cb 4175 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4176 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4177 (ispell-dictionary-base-alist): Revert to original XEmacs
4178 friendly version for default. [:alpha:] will be added in
090bd7cb 4179 `ispell-set-spellchecker-params' if needed.
177eca34 4180
c505aaeb
CY
41812012-04-16 Chong Yidong <cyd@gnu.org>
4182
4183 * image.el (imagemagick--extension-regexp): New variable.
4184 (imagemagick-register-types): Use it.
4185 (imagemagick-types-inhibit): Add :set function. Allow new value
4186 of t to inhibit all types.
4187
4188 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4189 so we can preload it.
4190
4191 * loadup.el (fboundp): Preload regexp-opt, needed by
4192 imagemagick-register-types.
4193
60efac0f
CY
41942012-04-15 Chong Yidong <cyd@gnu.org>
4195
4196 * frame.el (scrolling): Remove nearly unused customization group.
4197
4198 * scroll-all.el (scroll-all-mode): Move to windows group.
4199
5dd1713e
CY
42002012-04-15 Chong Yidong <cyd@gnu.org>
4201
4202 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4203
e6fd457e
CY
42042012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4207 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4208
e153c136
GM
42092012-04-15 Glenn Morris <rgm@gnu.org>
4210
4211 * simple.el (process-file-side-effects): Doc fix.
4212
e6fd457e 42132012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4214
4215 * international/mule-cmds.el (set-language-environment): Doc fix.
4216
3603c3b1
JB
42172012-04-14 Juanma Barranquero <lekktu@gmail.com>
4218
4219 * server.el (server-auth-key, server-generate-key): Doc fixes.
4220 (server-get-auth-key): Doc fix. Use `string-match-p'.
4221 (server-start): Reflow docstring.
4222
e6de100c
LI
42232012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4224
4225 * server.el (server-generate-key): `called-interactively-p'
4226 requires a parameter.
4227
29734c21
MN
42282012-04-14 Michal Nazarewicz <mina86@mina86.com>
4229
4230 * server.el (server-auth-key): New variable.
75f1671a 4231 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4232 (server-start): Use the new variable and functions to allow
4233 setting a permanent server key (bug#9423).
4234
d65c9521
LL
42352012-04-14 Leo Liu <sdl.web@gmail.com>
4236
4237 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4238
5ae255c7
PE
42392012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4240
4241 Spelling fixes.
4242 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4243 Emacs uses American spelling.
4244
d5e6342e
JB
42452012-04-14 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4248 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4249 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4250 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4251
ab036cd7
SM
42522012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * progmodes/which-func.el (which-func-modes): Change default.
4255
35dc09a1 42562012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4257
4258 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4259 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4260
35dc09a1 42612012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4262
4263 * custom.el (custom-theme-set-variables): Doc fix.
4264
35dc09a1 42652012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4266
4267 * international/mule.el (set-auto-coding-for-load): Doc fix.
4268
35dc09a1 42692012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4270
35dc09a1
GM
4271 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4272 imenu work again for Objective C Mode. Correct the *-index values,
4273 these having been disturbed by a previous change in 2011-08.
57f845ee 4274
0de3da9f
AM
4275 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4276 Correct two search limits.
4277
35dc09a1 42782012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4279
4280 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4281
35dc09a1 42822012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4283
4284 * international/characters.el: Fix sorting.
4285
35dc09a1 42862012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4287
4288 * international/characters.el: Add more missing Latin case pairs.
4289
35dc09a1 42902012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4291
4292 * files.el (dir-locals-set-class-variables): Doc fix.
4293
35dc09a1 42942012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4295
3f1b5bf8
EZ
4296 * international/characters.el: Add set-case-syntax-pair call for
4297 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4298 counterpart. (Bug#11209)
4299
9f847f41
EZ
4300 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4301
35dc09a1 43022012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4303
4304 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4305
35dc09a1 43062012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4307
35dc09a1
GM
4308 * textmodes/ispell.el (ispell-dictionary-base-alist):
4309 Add data for Hebrew.
e2627d21 4310
35dc09a1 43112012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4312
35dc09a1
GM
4313 * net/rcirc.el (rcirc-cmd-quit):
4314 Revert 2012-03-18 change (Bug#11192).
5c14e333 4315
35dc09a1 43162012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4317
4318 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4319
35dc09a1 43202012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4321
4517fe3a
SM
4322 * minibuffer.el (completion-in-region-mode-map):
4323 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4324
b472a594
VD
43252012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4326
4327 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4328
09b95ce3
MY
43292012-04-13 Masatake YAMATO <yamato@redhat.com>
4330
4331 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4332 to allow `C-M-f' and `C-M-b' to move to the nearest path
4333 separator (bug#9511).
4334
4b63a9ca
LI
43352012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4336
4337 * avoid.el: Require cl when compiling. And also move the
4338 `provide' to the end.
4339
7b55b8bf
TV
43402012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4341
4342 * avoid.el (mouse-avoidance-banish-position): New variable.
4343 (mouse-avoidance-banish-destination): Use it (bug#10165).
4344
adedaa1f
LL
43452012-04-13 Leo Liu <sdl.web@gmail.com>
4346
4347 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4348
70e74021
KB
43492012-04-13 Ken Brown <kbrown@cornell.edu>
4350
4351 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4352 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4353 (browse-url-filename-alist): For the same reason, don't modify
4354 file:// URLs on Cygwin.
4355
e75e89ba
SM
43562012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4359 the region on shift if the binding is already shifted (bug#11221).
4360
82f289a4
GM
43612012-04-12 Glenn Morris <rgm@gnu.org>
4362
4363 * mail/mailpost.el: Move to obsolete/.
4364
d333dc4c
DA
43652012-04-12 Drew Adams <drew.adams@oracle.com>
4366
4367 * imenu.el (imenu--generic-function): Ignore invisible definitions
4368 (bug#10123).
4369
0d15b5ba
VD
43702012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4371
4372 * hexl.el (hexl-bits): New variable.
4373 (hexl-options): Mention the variable in the doc string.
75f1671a 4374 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4375 (hexl-mode): Mention the new variable.
75f1671a
JB
4376 (hexl-mode, hexl-current-address, hexl-current-address):
4377 Use the displen.
0d15b5ba
VD
4378 (hexl-ascii-start-column): New function.
4379 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4380 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4381
64a440db
AM
43822012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4383
4384 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4385 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4386 the encoding, as expected by hunspell.
4387
6decb6c2
SM
43882012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * battery.el (battery--linux-sysfs-regexp): New const.
4391 (battery-status-function): Use it. Remove yeeloong special case.
4392 (battery-yeeloong-sysfs): Remove.
4393 (battery-echo-area-format): Remove yeeloong special case.
4394
088be6fb
SM
43952012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4396
6622e416
SM
4397 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4398 Reported by Noah Friedman.
4399
088be6fb
SM
4400 * subr.el (read-passwd): Use read-string.
4401
b49f886e
LMI
44022012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4403
4404 * vcursor.el (vcursor-move): Increase the priority of the overlay
4405 (bug#9663).
4406
a63067fc
DD
44072012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4408
4409 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4410 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4411
ac3cf14a
WS
44122012-04-11 William Stevenson <yhvh2000@gmail.com>
4413
4414 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4415 define-minor-mode (bug#10760).
4416
c4fc691b 44172012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4418
4d6769e1 4419 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4420 that directories matching `grep-find-ignored-files' won't be
4421 pruned (bug#10351).
4422
af23e2e5
CY
44232012-04-11 Chong Yidong <cyd@gnu.org>
4424
4425 * startup.el (command-line): Remove support for long-obsolete
4426 variable font-lock-face-attributes.
4427
ab7ce8c1
GM
44282012-04-11 Glenn Morris <rgm@gnu.org>
4429
4430 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4431
de8c03dc
SM
44322012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * window.el (window--state-get-1): Obey window-point-insertion-type.
4435
050cc68b
LB
44362012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4437
4438 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4439 to previous function when point is on the first character of a
75f1671a 4440 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4441
a38c310c
GM
44422012-04-11 Glenn Morris <rgm@gnu.org>
4443
effed0c2
GM
4444 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4445 not just file-errors.
4446
a38c310c
GM
4447 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4448 (vc-bzr-sha1): Use internal sha1.
4449
0221e323
SM
44502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4453
43956923
SG
44542012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4455
4456 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4457 that start in the middle of the line (bug#10496).
4458
6a8c9eaf
DN
44592012-04-10 Dan Nicolaescu <dann@gnu.org>
4460
4461 * battery.el (battery-linux-proc-acpi): Only one battery is
4462 discharged at a time, but that seems to confuse battery.el when
4463 computing `rate-type' for the battery not being discharged
4464 (bug#10332).
4465
1930bf5d
SM
44662012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4467
2a718f6f
SM
4468 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4469
599430d0
SM
4470 * international/quail.el: Use dolist and simplify.
4471 (quail-define-package, quail-update-keyboard-layout)
4472 (quail-define-rules): Use dolist.
4473 (quail-insert-kbd-layout, quail-get-translation): CSE.
4474
a2754b6c
SM
4475 * tmm.el: Use dolist, remove left over hook.
4476 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4477 Use dolist.
4478 (calendar-load-hook): Don't mess with it.
4479
1930bf5d
SM
4480 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4481 Use derived-mode-p. Run the diff asynchronously.
4482
9f67961c
LMI
44832012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4484
4485 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4486
2a8ce227
JB
44872012-04-10 Juanma Barranquero <lekktu@gmail.com>
4488
4489 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4490 (list-dynamic-libraries--loaded): New function.
4491 (list-dynamic-libraries--refresh): Use it.
4492
8f33b5f8
NW
44932012-04-10 Nathan Weizenbaum <nweiz@google.com>
4494
1930bf5d
SM
4495 * progmodes/python.el (python-fill-paragraph):
4496 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4497 disabled (bug#7018).
4498
b12f0439
L
44992012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4500
1930bf5d 4501 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4502 DOS/MS Windows for the Baltic languages. There are still plenty
4503 of texts written in this encoding/codepage (bug#6519).
b12f0439 4504
57c3bd01
GM
45052012-04-10 Glenn Morris <rgm@gnu.org>
4506
4507 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4508 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4509
6c3eab30
FA
45102012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4511
1930bf5d 4512 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4513 next-line "n" and previous-line "p" in order to make recentf more
4514 consistent with ibuffer, dired or org-mode (bug#9387).
4515
24d78a88
LMI
45162012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
bc72b5d9
LMI
4518 * image.el (put-image): Return the overlay created instead of the
4519 optional input string (bug#7834). Note that this may break code
4520 that is (for some reason or other) depending on `put-image'
4521 returning the string.
4522
bd2dba5a
LMI
4523 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4524
74beb59f
LMI
4525 * simple.el (zap-to-char): Allow zapping using input methods
4526 (bug#1580).
4527
24d78a88
LMI
4528 * textmodes/fill.el (fill-region): Leave point and mark where they
4529 were before filling (bug#5399).
4530
263f20cd
GM
45312012-04-09 Glenn Morris <rgm@gnu.org>
4532
4533 * version.el (emacs-bzr-get-version):
4534 Handle lightweight checkouts of local branches.
4535
58d1f797
AS
45362012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4537
263f20cd 4538 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4539
b4d3bc10
CY
45402012-04-09 Chong Yidong <cyd@gnu.org>
4541
4542 * custom.el (custom-variable-p): Return nil for non-symbol
4543 arguments instead of signaling an error.
4544 (user-variable-p): Obsolete alias for custom-variable-p.
4545
4546 * apropos.el (apropos-variable):
4547 * files-x.el (read-file-local-variable):
4548 * simple.el (set-variable):
4549 * woman.el (woman-mini-help):
4550 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4551
fd06db5d
GM
45522012-04-09 Glenn Morris <rgm@gnu.org>
4553
e5fcdb5e
GM
4554 * startup.el (normal-top-level): Don't look for leim-list.el
4555 in places where it will not be found. (Bug#910)
4556
fd06db5d
GM
4557 * international/mule-cmds.el (set-default-coding-systems):
4558 * files.el (normal-mode):
4559 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4560 This function was removed with ucs-tables.el in 2008.
4561
b39bb7e1
EZ
45622012-04-08 Eli Zaretskii <eliz@gnu.org>
4563
4564 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4565 ispell-encoding8-command to "-i", without a trailing space.
4566 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4567 separate command-line arguments, to specify the encoding, since
4568 that's how hunspell expects it.
4569
5c5b8e23
GM
45702012-04-08 Glenn Morris <rgm@gnu.org>
4571
4572 * loadup.el: Load bindings before cus-start.
4573 This reduces somewhat the number of "rogue" settings in emacs -Q.
4574
a1ed8b05
GM
45752012-04-07 Glenn Morris <rgm@gnu.org>
4576
4577 * version.el (emacs-bzr-get-version): New function.
dfae128a 4578 (emacs-bzr-version): New variable.
a1ed8b05
GM
4579 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4580 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4581
b142f158
EZ
45822012-04-07 Eli Zaretskii <eliz@gnu.org>
4583
dfae128a
GM
4584 * international/uni-bidi.el, international/uni-category.el:
4585 * international/uni-combining.el, international/uni-decimal.el:
4586 * international/uni-decomposition.el, international/uni-digit.el:
4587 * international/uni-lowercase.el, international/uni-mirrored.el:
4588 * international/uni-name.el, international/uni-numeric.el:
4589 * international/uni-titlecase.el, international/uni-uppercase.el:
4590 Update for Unicode 6.1.
b142f158 4591
9078ead6
EZ
45922012-04-07 Eli Zaretskii <eliz@gnu.org>
4593
4594 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4595
f23d2c7d
LMI
45962012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
4598 * window.el (shrink-window): Mention the `window-min-height'
4599 variable in the doc string.
4600
0a0a3573
BG
46012012-04-05 Bastien Guerry <bzg@altern.org>
4602
4603 * color.el (color-lighten-name): Fix typo.
4604
e5248ac9
SM
46052012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * server.el (server--on-display-p): New function.
4608 (server--on-display-p): Use it.
4609
b4243e22
GV
46102012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4611
4612 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4613 (bug#11145).
4614
305d9f44
SM
46152012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * comint.el (comint--common-quoted-suffix): Check string boundary
4618 before comparing (bug#11158).
4619 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4620
3d439cd1
CY
46212012-04-04 Chong Yidong <cyd@gnu.org>
4622
321cc491
CY
4623 * minibuffer.el (completion-extra-properties): Doc fix.
4624
3d439cd1
CY
4625 * subr.el (delayed-warnings-hook): Doc fix.
4626
2d562c0f
DU
46272012-04-04 Daiki Ueno <ueno@unixuser.org>
4628
4629 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4630 selection (Bug#11159).
4631 (epa-insert-keys): Inform that the default public key will be
4632 exported if no key is selected.
4633
4443f204
RS
46342012-04-04 Richard Stallman <rms@gnu.org>
4635
4636 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4637
529c06b6
CY
46382012-04-03 Chong Yidong <cyd@gnu.org>
4639
4640 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4641 mail-insert-file, not its obsolete alias mail-attach-file.
4642
66b907dc
MA
46432012-04-03 Michael Albinus <michael.albinus@gmx.de>
4644
4645 * notifications.el (notifications-notify): Fix docstring.
4646
c0ea195d
GM
46472012-04-02 Glenn Morris <rgm@gnu.org>
4648
4649 * emacs-lisp/authors.el (authors-aliases): Another addition.
4650
5ca64e00
MA
46512012-04-02 Michael Albinus <michael.albinus@gmx.de>
4652
4653 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4654 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4655 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4656
42ee526b
CY
46572012-04-01 Chong Yidong <cyd@gnu.org>
4658
4659 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4660 Handle root directory properly.
4661 (copy-directory): Caller changed.
4662
4663 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4664 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4665
0b021094
GM
46662012-03-31 Glenn Morris <rgm@gnu.org>
4667
40f86458
GM
4668 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4669
7019c177
GM
4670 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4671
a1daddd6
GM
4672 * calendar/calendar.el (calendar-window-list)
4673 (calendar-hide-window): Restore. (Bug#11140)
4674 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4675
0b021094
GM
4676 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4677
40311efc
TV
46782012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4679
4680 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4681 Check if file is a symlink (Bug#10489).
4682
4683 * files.el (copy-directory): Likewise.
4684
5319014e
CY
46852012-03-30 Chong Yidong <cyd@gnu.org>
4686
4687 * image.el (imagemagick-types-inhibit)
4688 (imagemagick-register-types): Doc fix.
4689
935d1290
AM
46902012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4691
090bd7cb 4692 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4693 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4694 and treats ~word as ordinary words in pipe mode.
935d1290 4695
61c6e8fd
GM
46962012-03-30 Glenn Morris <rgm@gnu.org>
4697
4698 * tutorial.el (help-with-tutorial): Ensure local variables don't
4699 happen to make the buffer read-only. (Bug#11127)
4700
81fdff00
SM
47012012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4704 (perl-calculate-indent): Return `noindent' in strings.
4705
6e7a6ec0
SS
47062012-03-28 Sam Steingold <sds@gnu.org>
4707
4708 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4709 instead of the broken adhockery which does not prevent calendar
4710 buffers from being displayed at random after exit.
4711 (calendar-window-list, calendar-hide-window): Remove the broken
4712 adhockery.
4713
fee88ca0
GM
47142012-03-28 Glenn Morris <rgm@gnu.org>
4715
4716 * replace.el (query-replace-map): Doc fix.
4717
38de3354
AS
47182012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4719
4720 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4721 contents. (Bug#11109)
4722
b973155e
SM
47232012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4726 (bug#11077).
4727 (avl-tree--check, avl-tree--check-node): New funs.
4728
dcb6e7b3
MR
47292012-03-27 Martin Rudalics <rudalics@gmx.at>
4730
4731 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4732 (switch-to-prev-buffer, switch-to-next-buffer):
4733 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4734 showing a buffer already is done on the same frame.
4735
b4fa35fa
GM
47362012-03-27 Glenn Morris <rgm@gnu.org>
4737
4738 * startup.el (mail-host-address): Doc fix.
4739
f9210e18
SM
47402012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4743 than 197 variables.
4744
c0bf7753
AF
47452012-03-26 Ami Fischman <ami@fischman.org>
4746
4747 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4748
33da7b16
GM
47492012-03-26 Glenn Morris <rgm@gnu.org>
4750
02243d9d
GM
4751 * files.el (save-buffers-kill-emacs): Doc fix.
4752
33da7b16
GM
4753 * startup.el (normal-top-level, command-line, command-line-1):
4754 Give them doc strings.
4755
e5a69fd0
EZ
47562012-03-25 Eli Zaretskii <eliz@gnu.org>
4757
4758 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4759 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4760
9a69676a
CY
47612012-03-25 Chong Yidong <cyd@gnu.org>
4762
4125cb8b
CY
4763 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4764 theme if it was previously enabled before (Bug#11031).
4765
dd470960
CY
4766 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4767 spec with custom-face-get-current-spec if its :shown-value is not
4768 determined yet (Bug#9337).
4125cb8b 4769 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4770
9a69676a
CY
4771 * button.el (button-at): Minor addition to docstring.
4772
6e7e90fa
SL
47732012-03-24 Simon Leinen <simon.leinen@gmail.com>
4774
4775 * vc/vc.el (vc-merge): Fix a prompt.
4776
f06e2758
CY
47772012-03-24 Chong Yidong <cyd@gnu.org>
4778
4779 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4780 point (Bug#9623).
4781
6e7e90fa
SL
4782 * button.el (button-at): Minor addition to docstring.
4783
b9d0879b
SM
47842012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * newcomment.el (comment-choose-indent): No space after BOL.
4787
e71cebb3
SS
47882012-03-22 Sam Steingold <sds@gnu.org>
4789
4790 * window.el (switch-to-prev-buffer): Revert last patch because the
4791 bug turned out to be an advertised feature (Elisp manual 28.14).
4792
335aff35
GM
47932012-03-22 Glenn Morris <rgm@gnu.org>
4794
4795 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4796 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4797
c676576a
LMI
47982012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4799
4800 * net/network-stream.el (network-stream-open-starttls): Make error
4801 message under Windows be less misleading.
4802
126f3d39
LW
48032012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4804
4805 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4806 understands (bug#9942).
4807
64fee311
CY
48082012-03-22 Chong Yidong <cyd@gnu.org>
4809
4810 * simple.el (end-of-visible-line): Handle return value of
4811 next-single-property-change properly (Bug#9371).
4812
a640d29a
KH
48132012-03-22 Kenichi Handa <handa@m17n.org>
4814
4815 * international/quail.el (quail-insert-kbd-layout): Fix previous
4816 change. To avoid unwanted bidi reordering, use
4817 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4818
39675016
DG
48192012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4820
4821 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4822 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4823 (ruby-beginning-of-indent): Be more careful with the difference
4824 between word-boundary and symbol boundary.
4825 (ruby-mode-syntax-table): Make : a symbol constituent.
4826
0a6934fc 48272012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4828
3d008e4f
SM
4829 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4830
0a6934fc
SM
48312012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4832
af67c9d7
SM
4833 * progmodes/etags.el (tags-completion-at-point-function):
4834 Improve last fix.
4835
1acad97c
SM
4836 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4837
e298b5da
SS
48382012-03-21 Sam Steingold <sds@gnu.org>
4839
4840 * progmodes/etags.el (tags-completion-at-point-function):
4841 Avoid the error when point is inside the pattern.
4842
91d82a70
JY
48432012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4844
4845 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4846 line (Bug#10855).
4847
69188b79
CY
48482012-03-21 Drew Adams <drew.adams@oracle.com>
4849
4850 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4851
99fc91fe
AK
48522012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4853
4854 * ido.el (ido-set-current-directory, ido-read-internal)
4855 (ido-choose-completion-string, ido-completion-help): Handle nil
4856 value of ido-completion-buffer (Bug#11008).
4857
087bbb4c
SS
48582012-03-21 Sam Steingold <sds@gnu.org>
4859
4860 * window.el (switch-to-prev-buffer): Do not switch to a visible
4861 window previous buffer, just like with the frame previous buffers.
4862
fb5b8aca
CY
48632012-03-21 Chong Yidong <cyd@gnu.org>
4864
4865 * faces.el (make-face, make-empty-face, copy-face):
4866 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4867 Doc fixes.
4868
dc9924b8
SM
48692012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4872 (widget-complete): Remove broken use of it.
4873
f0bcceb9
CY
48742012-03-20 Chong Yidong <cyd@gnu.org>
4875
dc9924b8
SM
4876 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4877 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4878 characters.
4879
ee52ebf3
TH
48802012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4881
4882 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4883 to draw rectangles, not squares. (Regression introduced by revno
4884 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4885
4c5779ab
CY
48862012-03-18 Chong Yidong <cyd@gnu.org>
4887
4888 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4889 it is not yet defined (for temacs).
4890
15360934
LL
48912012-03-18 Leo Liu <sdl.web@gmail.com>
4892
dc9924b8 4893 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4894
d9a8eb66
EZ
48952012-03-17 Eli Zaretskii <eliz@gnu.org>
4896
4897 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4898 (ispell-choices-win-default-height, ispell-silently-savep)
4899 (ispell-dictionary-alist, ispell-encoding8-command)
4900 (ispell-check-version, ispell-aspell-find-dictionary)
4901 (ispell-valid-dictionary-list, ispell-words-keyword)
4902 (ispell-get-word, ispell-internal-change-dictionary)
4903 (ispell-region, ispell-skip-region-list)
4904 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4905 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4906 (ispell-message-text-end, ispell-message)
4907 (ispell-buffer-local-parsing): Doc fix.
4908
f02ff80d
J
49092012-03-13 Jambunathan K <kjambunathan@gmail.com>
4910
4911 * htmlfontify.el: Add support for code block fontification for ODT
4912 export (Bug #9914).
4913 (hfy-optimisations): Define new option
4914 `body-text-only'
4915 (hfy-fontify-buffer): Honor above setting.
4916 (hfy-begin-span, hfy-end-span): New routines factored out form
4917 `hfy-fontify-buffer'.
4918 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4919 that permit insertion of custom tags.
4920 (hfy-fontify-buffer): Use above handlers.
4921 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4922 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4923 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4924 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4925 bind a special variable `hfy-user-sheet-assoc'.
4926 (htmlfontify-string): New defun.
4927 (hfy-compile-face-map): Make sure that the last char in the
4928 buffer is correctly fontified.
4929 (hfy-face-resolve-face): Whitespace only change.
4930
9ac7a13f
EZ
49312012-03-17 Eli Zaretskii <eliz@gnu.org>
4932
4933 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4934 message more clear.
4935
e2b5bdd7
LL
49362012-03-16 Leo Liu <sdl.web@gmail.com>
4937
4938 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4939
2e492df3
AM
49402012-03-16 Alan Mackenzie <acm@muc.de>
4941
4942 Further optimise the handling of large macros.
4943
4944 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4945 limit to a call of `c-literal-limits'.
4946 (c-determine-+ve-limit): New function.
dc9924b8
SM
4947 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4948 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4949 In CASE 5B, restrict a search limit to 500.
4950 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4951
4952 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4953 Restrict macro bounds to +-500 from after-change's BEG END.
4954
50e94f0c
LL
49552012-03-16 Leo Liu <sdl.web@gmail.com>
4956
4957 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4958
6f09f6ed
AH
49592012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4960
4961 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4962 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4963
c7e73d51
GM
49642012-03-16 Glenn Morris <rgm@gnu.org>
4965
da986230
GM
4966 * view.el (view-buffer, view-buffer-other-window)
4967 (view-buffer-other-frame): Doc fixes re special mode-class.
4968
0835f01e
GM
4969 * subr.el (eval-after-load): If named feature is provided not from
4970 a file, run after-load forms. (Bug#10946)
4971
c7e73d51
GM
4972 * calendar/calendar.el (calendar-insert-at-column):
4973 Handle non-unit-width characters a bit better. (Bug#10978)
4974
3f2eafd1
CY
49752012-03-15 Chong Yidong <cyd@gnu.org>
4976
4977 * emacs-lisp/ring.el (ring-extend): New function.
4978 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4979
4980 * comint.el (comint-read-input-ring)
4981 (comint-add-to-input-history): Grow comint-input-ring lazily.
4982
103af3fe
SM
49832012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4984
663b1677
SM
4985 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4986 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4987
103af3fe
SM
4988 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4989 (imenu-add-to-menubar): Don't add a redundant index.
4990 (imenu-update-menubar): Handle a dynamically composed keymap.
4991
899cb7cb
KY
49922012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4993
4994 * mail/sendmail.el (mail-encode-header):
4995 Bind rfc2047-encode-encoded-words to nil.
4996
3809f91d
GM
49972012-03-13 Glenn Morris <rgm@gnu.org>
4998
4999 * calendar/calendar.el (calendar-string-spread):
5000 Handle non-unit-width characters a bit better. (Bug#10978)
5001
9e345a01
LL
50022012-03-13 Leo Liu <sdl.web@gmail.com>
5003
5004 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5005 directory and file as argument (Bug#10822).
5006
4a07df36
KS
50072012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5008
5009 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5010 For dynamically generated code, follow $PC.
5011 (gdb-disassembly-handler-custom): Handle no function name case.
5012
4aaa9356
TL
50132012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5014
5015 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5016 * emulation/ws-mode.el (ws-query-replace):
5017 * sort.el (sort-regexp-fields):
5018 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5019
225979da
SM
50202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * dabbrev.el: Fix cycle completion order (bug#10963).
5023 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5024 (dabbrev-completion): Don't use an obarray; provide
5025 a cycle-sort-function.
5026
e2f1fdab
LL
50272012-03-12 Leo Liu <sdl.web@gmail.com>
5028
dc9924b8 5029 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5030 (kill-do-not-save-duplicates): Doc fix.
5031
b19490ed
SM
50322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * dabbrev.el: Fix cycle completion (bug#10963).
5035 Use lexical binding and wrap to 80 columns.
5036 (dabbrev-completion): Delay computing the list of completions.
5037
4b05d722
KH
50382012-03-12 Kenichi Handa <handa@m17n.org>
5039
5040 * international/quail.el (quail-insert-kbd-layout): Surround each
5041 row by LRO and PDF instead of inserting many LRMs. Pad the left
5042 and right of each non-spacing marks. Insert invisible space
5043 between lower and upper characters to prevent composition.
5044
dbbc2e69
SM
50452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * minibuffer.el (minibuffer-complete): Don't get confused when the
5048 function is run twice via different commands (bug#10958).
5049 (complete-with-action): Fix docstring.
5050
292112ed
CY
50512012-03-12 Chong Yidong <cyd@gnu.org>
5052
5d1ac394
CY
5053 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5054 (nxml-completion-at-point-function): New function.
5055 (nxml-mode): Use it.
5056 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5057
292112ed
CY
5058 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5059 Load generated autoloads file before byte compiling (Bug#10970).
5060 (package--make-autoloads-and-compile): New helper fun.
5061
4098f8f7
CS
50622012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5063
5064 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5065
8f754691
MA
50662012-03-11 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * autorevert.el (auto-revert-handler): Ensure, that
5069 file-readable-p is applied only for local files or in
5070 auto-revert-tail-mode.
5071
e29ab36b
AS
50722012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5073
dbbc2e69
SM
5074 * server.el (server-eval-at): Handle non-tcp connections.
5075 Decode result string.
ad0bf5b6 5076
e29ab36b
AS
5077 * server.el (server-msg-size): New constant.
5078 (server-reply-print): New function.
5079 (server-eval-and-print): Use it.
5080 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5081 Handle -print-nonl.
5082
de5939ba
CS
50832012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5084
5085 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5086 (Bug#10987).
5087
0c93eabf
CY
50882012-03-11 Chong Yidong <cyd@gnu.org>
5089
397a688f
CY
5090 * simple.el (goto-line): Doc fix (Bug#9938).
5091
2cc775f9
CY
5092 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5093
0c93eabf
CY
5094 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5095 when finished (Bug#10963).
5096
c491fa41
MR
50972012-03-11 Martin Rudalics <rudalics@gmx.at>
5098
5099 * window.el (split-window-below): Fix bug in case where
5100 split-window-keep-point is nil (Bug#10971).
5101
300e8fa5
JL
51022012-03-11 Juri Linkov <juri@jurta.org>
5103
5104 * replace.el (replace-highlight): Set isearch-word to nil
5105 unconditionally. (Bug#10887)
5106
dbf6c5a1
EZ
51072012-03-10 Eli Zaretskii <eliz@gnu.org>
5108
5109 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5110 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5111 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5112 (mairix-widget-create-query): Add usage information about mairix
5113 search forms: negating words, searching for substrings, etc.
5114
b9e501de
JP
51152012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5116
5117 * international/fontset.el (font-encoding-alist): Add an entry for
5118 ksx1001 (Bug#5667).
5119
92795c91
RS
51202012-03-10 Richard Stallman <rms@gnu.org>
5121
1694e6c1
RS
5122 * mail/sendmail.el (mail-encode-header):
5123 Set rfc2047-encode-encoded-words.
5124
607e8555
RS
5125 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5126
de3bc99a
RS
5127 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5128 view buffer means not swapped.
5129 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5130 (rmail-write-region-annotate): Error if real text has disappeared.
5131
92795c91
RS
5132 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5133
699bd04e
CY
51342012-03-10 Chong Yidong <cyd@gnu.org>
5135
5136 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5137 * emulation/cua-base.el (cua--init-keymaps):
5138 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5139
570a1714
MR
51402012-03-10 Martin Rudalics <rudalics@gmx.at>
5141
dbbc2e69
SM
5142 * speedbar.el (speedbar-unhighlight-one-tag-line):
5143 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5144
82dcf4e4
CY
51452012-03-10 Chong Yidong <cyd@gnu.org>
5146
7a2c7ca7
CY
5147 * minibuffer.el (completion-in-region, completion-help-at-point):
5148 Give the completion field overlay a high priority (Bug#6830).
5149
82dcf4e4
CY
5150 * dired.el (dired-goto-file): Recognize absolute file name
5151 listings (Bug#7126).
5152 (dired-goto-file-1): New helper function.
5153 (dired-toggle-read-only): Inhibit warnings.
5154
052e28ac
MA
51552012-03-09 Michael Albinus <michael.albinus@gmx.de>
5156
75f1671a 5157 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5158 there are no properties.
5159
95d5e396
LL
51602012-03-09 Leo Liu <sdl.web@gmail.com>
5161
5162 * savehist.el (savehist-printable): Stricter check for string
5163 value (Bug#10937).
5164
3f018d6d
EZ
51652012-03-09 Eli Zaretskii <eliz@gnu.org>
5166
dbbc2e69
SM
5167 * mail/smtpmail.el (smtpmail-send-it):
5168 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5169 valid mbox format.
5170
f7fd3d79
GM
51712012-03-09 Glenn Morris <rgm@gnu.org>
5172
5173 * files.el (dir-locals-find-file):
5174 Don't check result is regular, readable.
5175 (dir-locals-read-from-file): Demote errors.
5176
6ff6e72f
EZ
51772012-03-08 Eli Zaretskii <eliz@gnu.org>
5178
dbbc2e69
SM
5179 * international/quail.el (quail-insert-kbd-layout):
5180 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5181 layout cell, to prevent their reordering by bidi display engine.
5182 For details, see the discussion in
5183 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5184
9cec7834
AM
51852012-03-08 Alan Mackenzie <acm@muc.de>
5186
5187 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5188 the starting position; make it extend the marked region when
5189 invoked repeatedly - all under appropriate circumstances.
5190 Fixes bugs #5525, #10906.
5191
9a40b8d4
GM
51922012-03-08 Glenn Morris <rgm@gnu.org>
5193
5194 * files.el (locate-dominating-file, dir-locals-find-file):
5195 Undo 2012-03-06 change.
5196
7a08ed35
EZ
51972012-03-07 Eli Zaretskii <eliz@gnu.org>
5198
dbbc2e69
SM
5199 * international/quail.el (quail-help):
5200 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5201 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5202 for the reason.
5203
5aca4f71 52042012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5205
5206 Avoid superfluous registering of signals. (Bug#10807)
5207
5208 * notifications.el (notifications-on-action-object)
5209 (notifications-on-close-object): New defvars.
5210 (notifications-on-action-signal, notifications-on-closed-signal):
5211 Unregister the signal if not needed any longer.
5212 (notifications-notify): Register `notifications-action-signal' or
5213 `notifications-closed-signal', if :on-action or :on-close has been
5214 passed as argument.
5215
78e8b10a
CY
52162012-03-07 Chong Yidong <cyd@gnu.org>
5217
5218 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5219 non-X platforms.
5220
69481eb8
GM
52212012-03-06 Glenn Morris <rgm@gnu.org>
5222
5223 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5224 (x-disown-selection-internal, x-get-selection-internal):
5225 Doc fix (add arglist signatures). (Bug#10783)
5226
133b8e11
KS
52272012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5228
5229 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5230 Handle breakpoints with no "type".
5231
99a83064
GM
52322012-03-06 Glenn Morris <rgm@gnu.org>
5233
5234 * files.el (locate-dominating-file): Add optional predicate argument.
5235 (dir-locals-find-file): Make use of above change.
5236
17798e78
TTN
52372012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5238
5239 * info.el (Info-insert-dir): Also try "dir.gz".
5240
eb182446
GM
52412012-03-06 Glenn Morris <rgm@gnu.org>
5242
8f2114ee
GM
5243 * files.el (dir-locals-find-file):
5244 Ignore non-readable or non-regular files. (Bug#10928)
5245
eb182446
GM
5246 * files.el (locate-dominating-file): Doc fix.
5247
24679323
AS
52482012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5249
5250 * calendar/calendar.el (calendar-set-mode-line):
5251 `getenv' returns a string. (Bug#10951)
5252
01d972a9
LL
52532012-03-05 Leo Liu <sdl.web@gmail.com>
5254
109aa8a9
LL
5255 * simple.el (backward-delete-char-untabify): Constrain point to
5256 field (Bug#10939).
5257
01d972a9
LL
5258 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5259
10607bea
CY
52602012-03-05 Chong Yidong <cyd@gnu.org>
5261
5262 * simple.el (count-words): If called from Lisp, return the word
5263 count, for symmetry with `count-lines'. Arglist changed.
5264 (count-words--message): Args changed. Consolidate counting code
5265 from count-words and count-words-region.
5266 (count-words-region): Caller changed.
5267 (count-lines-region): Make it an obsolete alias.
5268
5dd11cfe
TH
52692012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5270
5271 * saveplace.el (save-place-to-alist)
5272 (save-place-ignore-files-regexp): Allow value nil to disable this
5273 feature.
5274
c349f4e6
CY
52752012-03-04 Chong Yidong <cyd@gnu.org>
5276
5277 * faces.el (face-spec-reset-face): For the default face, reset the
5278 attributes to default values (Bug#10748).
5279
e627be4c
LMI
52802012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5281
5282 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5283 previous patch: Check `message-send-mail-function', and not the
5284 default function (bug#10897).
5285
ebeabff4
MA
52862012-03-04 Michael Albinus <michael.albinus@gmx.de>
5287
a41a6cf4
MA
5288 * notifications.el (notifications-on-action-signal)
5289 (notifications-on-closed-signal): Check for unique service name of
5290 incoming event. Fix error in removing entry.
ebeabff4 5291 (top): Register for signals with wildcard service name.
a41a6cf4 5292 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5293
c1ca42b4
CY
52942012-03-04 Chong Yidong <cyd@gnu.org>
5295
dc9924b8 5296 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5297
ea16568d
GM
52982012-03-04 Glenn Morris <rgm@gnu.org>
5299
5300 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5301 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5302 (expand-abbrev, define-abbrev-table): Doc fixes.
5303
fbae4637
LMI
53042012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5305
5306 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5307 `message-default-send-mail-function' and not `send-mail-function'
5308 when doing the prompting for `sendmail-query-once' before sending
5309 in Message buffers (bug#10897).
5310
a1e7225c
LMI
5311 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5312 This is inconsistent with all the other stream functions, which leave
5313 the setting up to the higher levels (if so wanted) (bug#10931).
5314
56d093a9
AM
53152012-03-02 Alan Mackenzie <acm@muc.de>
5316
5317 Depessimize the handling of very large macros.
5318
5319 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5320 (c-macro-cache-syntactic): New variables to implement a one
5321 element macro cache.
5322 (c-invalidate-macro-cache): New function.
5323 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5324 Adapt to use the new cache.
5325 (c-state-safe-place): Use better the cache of safe positions.
5326 (c-state-semi-nonlit-pos-cache)
5327 (c-state-semi-nonlit-pos-cache-limit):
5328 New variables for...
5329 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5330 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5331 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5332 Use c-state-semi-safe-place.
56d093a9 5333
dbbc2e69
SM
5334 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5335 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5336
817e5c3d
MA
53372012-03-02 Michael Albinus <michael.albinus@gmx.de>
5338
dbbc2e69
SM
5339 * jka-compr.el (jka-compr-call-process):
5340 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5341 not remote.
5342
a032a702
MA
53432012-03-01 Michael Albinus <michael.albinus@gmx.de>
5344
5345 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5346 access of FILE2, if FILE1 does not exist.
5347
99a54f21
MA
5348 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5349 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5350
5351 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5352 Add "PAGER=" to `process-environment'.
5353
f6561e1f
MM
53542012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5355
5356 * progmodes/sql.el: Bug fix
5357 (sql-get-login-ext): Save login values in globals.
5358 (sql-get-login): Use new version of `sql-get-login-ext'.
5359 (sql-interactive-mode): Set global `sql-connection' to nil.
5360 (sql-connect): Set global values for connection.
5361 (sql-product-interactive): Save global values as buffer local.
5362
2d44d9cc
LL
53632012-02-29 Leo Liu <sdl.web@gmail.com>
5364
5365 * abbrev.el (define-abbrevs): Reset sys to nil.
5366
96b49301 53672012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5368
bf7f9bc5
JB
5369 * files.el (file-equal-p): Rename from `files-equal-p'.
5370 Return nil when one or both files don't exist.
96b49301 5371 (file-subdir-of-p): Now only top directory must exists,
5372 return nil if it doesn't.
bf7f9bc5
JB
5373 (copy-directory): No need to test with `file-subdir-of-p' after
5374 creating dir.
5375 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5376 to `file-equal-p'.
96b49301 5377
44e97401
GM
53782012-02-28 Glenn Morris <rgm@gnu.org>
5379
5380 * shell.el (shell-mode):
5381 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5382 * play/landmark.el (landmark-font-lock-face-O):
5383 * play/handwrite.el (handwrite):
5384 * play/gomoku.el (gomoku-O):
5385 * net/browse-url.el (browse-url-browser-display):
5386 * international/mule.el (define-charset):
5387 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5388 * filesets.el (filesets-find-file-delay):
5389 * eshell/em-xtra.el (eshell-xtra):
5390 * eshell/em-unix.el (eshell-grep):
5391 * emulation/viper.el (viper-mode):
5392 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5393 * emacs-lisp/easymenu.el (easy-menu-define):
5394 * calendar/timeclock.el (timeclock-use-display-time):
5395 * bs.el (bs-mode):
5396 * bookmark.el (bookmark-save-flag):
5397 Doc fix (standardize possessive apostrophe usage).
5398
c98c6276
CY
53992012-02-27 Chong Yidong <cyd@gnu.org>
5400
bf7f9bc5
JB
5401 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5402 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5403
c98c6276
CY
5404 * font-lock.el (font-lock-specified-p): Rename from
5405 font-lock-spec-present. Callers changed.
5406
9c62cd04 54072012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5408
bf7f9bc5
JB
5409 * emacs-lisp/package.el (package-compute-transaction):
5410 Handle holding a package version to t in package-load-list.
8ac9e529 5411
530739c9
MA
54122012-02-26 Michael Albinus <michael.albinus@gmx.de>
5413
5414 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5415 (tramp-get-inode, tramp-get-device): Use cached values.
5416
487915d7
AM
54172012-02-26 Alan Mackenzie <acm@muc.de>
5418
5419 Check there is a font-lock specification before doing initial
5420 fontification.
5421
5422 * font-core.el (font-lock-mode): Move the conditional from
5423 :after-hook to font-lock-initial-fontify.
5424 (font-lock-default-function): Move the check for a specification
5425 to font-lock-spec-present.
5426
dc9924b8 5427 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5428 (font-lock-spec-present): New function.
5429
4fd96557
JB
54302012-02-26 Jim Blandy <jimb@red-bean.com>
5431
5432 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5433 (gdb-send): Apply it to the operand of the '-interpreter-exec
5434 console' command, so that we can pass arguments with (say) quotes
5435 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5436
9a4888c0
CY
54372012-02-26 Chong Yidong <cyd@gnu.org>
5438
07498861
CY
5439 * help-fns.el (describe-function-1): Clarify description of
5440 remapping (Bug#10844).
5441
9a4888c0
CY
5442 * files.el (files-equal-p): Doc fix.
5443 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5444 and quit the loop once a mismatch is found.
5445
ea8fb88d
JB
54462012-02-25 Juanma Barranquero <lekktu@gmail.com>
5447
5448 * bs.el (bs--show-with-configuration): Don't throw an error
5449 if the window cannot be split; otherwise, subsequent calls to
5450 bs-show fail, restoring a stale window config. (Bug#10882)
5451
525795c1
JD
54522012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5453
5454 * term/ns-win.el (global-map): Bind ns-drag-file to
5455 ns-find-file (Bug#5855, Bug#10050).
5456
f008086f
AS
54572012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5458
5459 * calendar/parse-time.el (parse-time-string): Allow extractor to
5460 return nil.
5461
a3fcfa99
MA
54622012-02-25 Michael Albinus <michael.albinus@gmx.de>
5463
91027d08
JB
5464 * net/tramp.el (tramp-file-name-for-operation):
5465 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5466
5467 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5468 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5469 Add COPY-CONTENTS argument.
a3fcfa99 5470
67b0de11
CY
54712012-02-25 Chong Yidong <cyd@gnu.org>
5472
5473 Add custom groups for VC backends, for consistency with vc-bzr.
5474
5475 * vc/vc-arch.el (vc-arch):
5476 * vc/vc-cvs.el (vc-cvs):
5477 * vc/vc-git.el (vc-git):
5478 * vc/vc-hg.el (vc-hg):
5479 * vc/vc-mtn.el (vc-mtn):
5480 * vc/vc-rcs.el (vc-rcs):
5481 * vc/vc-sccs.el (vc-sccs):
5482 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5483 All relevant defcustoms reassigned.
5484
3c9dfce6
CY
54852012-02-25 Chong Yidong <cyd@gnu.org>
5486
1339bf43
CY
5487 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5488
3c9dfce6
CY
5489 * term/x-win.el (x-initialize-window-system): Reduce default for
5490 x-selection-timeout to 5 seconds (Bug#8869).
5491
25b2e303 54922012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5493
ec70a47d
GM
5494 * files.el (files-equal-p, file-subdir-of-p): New functions.
5495 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5496 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5497 * dired-aux.el (dired-copy-file-recursive): Same.
5498 (dired-create-files): Modify destination when source is equal to
5499 dest when copying files.
53a46cd0 5500 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5501
914260cd
MA
55022012-02-24 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5505 (Bug#10874)
5506
2cb228f7
AM
55072012-02-23 Alan Mackenzie <acm@muc.de>
5508
5509 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5510 parameter "after-hook:" to allow the expansion to run code after
5511 the execution of the mode hooks.
5512
5513 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5514 from font-lock-mode-internal.
2cb228f7 5515
91027d08 5516 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5517 :after-hook.
5518
8f0fde21
SM
55192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5520
3e88618b
SM
5521 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5522 (completion--cache-all-sorted-completions): New function.
5523 (completion-all-sorted-completions): Use it.
5524 (completion--do-completion, minibuffer-force-complete):
5525 Use it to re-instate the flush hook.
5526
8f0fde21
SM
5527 * icomplete.el (icomplete-completions): Replace last fix with a better
5528 one (bug#10850).
5529
8e911f6f
DG
55302012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5531
5532 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5533 when it might call us back infinitely (bug#10797).
5534
49fe4321
GM
55352012-02-23 Glenn Morris <rgm@gnu.org>
5536
5537 * minibuffer.el (completion-category-overrides): Doc fix.
5538
b291b572
SM
55392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5542 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5543
31a9ef2e
GM
55442012-02-23 Glenn Morris <rgm@gnu.org>
5545
5e6e6794 5546 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5547 (authors-obsolete-files-regexps, authors-ignored-files)
5548 (authors-ambiguous-files, authors-renamed-files-alist):
5549 Add more entries.
5550
0bd1e074
JL
55512012-02-23 Juri Linkov <juri@jurta.org>
5552
5553 * isearch.el (isearch-occur): Sync interactive spec with occur's
5554 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5555
b617673c
JL
5556 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5557
19e9789e
JL
55582012-02-22 Juri Linkov <juri@jurta.org>
5559
5560 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5561 (ucs-insert): Doc fix. Check for hex digits in the string.
5562 Don't display `nil' in the error message. (Bug#10857)
5563
f41ce09d
AM
55642012-02-22 Alan Mackenzie <acm@muc.de>
5565
7a71b18d 5566 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5567
ac2eceee
GM
55682012-02-22 Glenn Morris <rgm@gnu.org>
5569
5570 * ffap.el (ffap-c-path):
5571 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5572
abd1f678
CY
55732012-02-22 Chong Yidong <cyd@gnu.org>
5574
5575 * custom.el (load-theme): Doc fix.
5576
f25aef2e
GM
55772012-02-22 Glenn Morris <rgm@gnu.org>
5578
5579 * dired-x.el (dired-guess-shell-alist-default):
5580 Remove escape sequences from nroff output. (Bug#172)
5581
5f8dc2ca
GM
55822012-02-21 Glenn Morris <rgm@gnu.org>
5583
6ff86ec4
GM
5584 * vc/emerge.el (emerge-defvar-local):
5585 Set `permanent-local' property rather than unused `preserved'.
5586
be3223a3 5587 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5588 (picture-mode-map): Use it. (Bug#10860)
5589 (picture-mode): Doc fix.
5590
3fe58f4f
JB
55912012-02-21 Juanma Barranquero <lekktu@gmail.com>
5592
5593 * newcomment.el (uncomment-region-default): Remove unused binding.
5594
f9a998c3
GM
55952012-02-21 Glenn Morris <rgm@gnu.org>
5596
5597 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5598 (picture-self-insert, picture-tab-chars): Doc fix.
5599 (picture-mode-map): Fix C-a, C-e.
5600
c6029348
GM
56012012-02-20 Glenn Morris <rgm@gnu.org>
5602
5603 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5604
ab1ce9d7
LL
56052012-02-20 Leo Liu <sdl.web@gmail.com>
5606
5607 * icomplete.el (icomplete-completions): Check FROM arg before
5608 passing to substring (Bug#10850).
5609
0fd40f89
CY
56102012-02-19 Chong Yidong <cyd@gnu.org>
5611
5612 * comint.el: Require ansi-color.
5613 (comint-output-filter-functions): Add ansi-color-process-output.
5614
5615 * ansi-color.el: Don't set comint-output-filter-functions; it is
5616 now in the initial value defined in comint.el.
5617 (ansi-color-apply-face-function): New variable.
5618 (ansi-color-apply-on-region): Use it.
5619 (ansi-color-apply-overlay-face): New function.
5620
5621 * shell.el (shell): No need to require ansi-color.
5622 (shell-mode): Use ansi-color-apply-face-function to highlight
5623 color escapes using font-lock-face property (Bug#10835).
5624
20af2394
CY
56252012-02-19 Chong Yidong <cyd@gnu.org>
5626
5627 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5628 mode-line formats (Bug#10839).
5629
e23a3fbe
GM
56302012-02-18 Glenn Morris <rgm@gnu.org>
5631
b474519e
GM
5632 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5633
5634 * mail/undigest.el (unforward-rmail-message): Doc fix.
5635
e23a3fbe
GM
5636 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5637
57939ff4
EZ
56382012-02-18 Eli Zaretskii <eliz@gnu.org>
5639
5640 * international/characters.el (script-list): Sync with the latest
5641 Unicode Character Database.
5642
0c23686e
AS
56432012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5644
5645 * international/titdic-cnv.el: Remove duplicate coding tag.
5646 * language/cham.el: Likewise.
5647 * language/tai-viet.el: Likewise.
5648
6818b449
GM
56492012-02-18 Glenn Morris <rgm@gnu.org>
5650
5651 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5652 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5653 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5654 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5655 * calendar/holidays.el (holiday-bahai-holidays)
5656 (calendar-holidays, list-holidays):
5657 Use utf-8 Bahá'í in doc-strings, menus, etc.
5658
0311a3fc
TH
56592012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5660
5661 * saveplace.el (save-place-ignore-files-regexp): New variable
5662 allowing for excluding files from saving their location of point.
5663 The default value matches the temporary commit message editing
5664 files from Git, SVN, Bazaar, and Mercurial.
5665 (save-place-to-alist): Use it.
5666
d209e2fb 56672012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5668 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * newcomment.el (uncomment-region-default): Don't leave extra space
5671 when an arg is provided (bug#8150).
5672
ee0ce425
TZ
56732012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5674
eb864a71 5675 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5676
95ddf442
GM
56772012-02-17 Glenn Morris <rgm@gnu.org>
5678
5679 * net/socks.el: Require network-stream. (Bug#10599)
5680
48dd1e39 56812012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5682
5683 * international/charprop.el:
5684 * international/uni-name.el:
5685 * international/uni-old-name.el:
5686 * international/uni-comment.el: Regenerate.
5687
d68cd087
GM
56882012-02-16 Glenn Morris <rgm@gnu.org>
5689
5690 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5691 Interactively in calendar buffer, give an error if not on a date.
5692
13932042
GM
56932012-02-15 Glenn Morris <rgm@gnu.org>
5694
5695 * shell.el (shell-delimiter-argument-list):
5696 Revert 2011-02-17 change. (Bug#8027)
5697
c3a70e2b
CY
56982012-02-15 Chong Yidong <cyd@gnu.org>
5699
60236b0d
CY
5700 * minibuffer.el (completion-at-point-functions): Doc fix.
5701
c3a70e2b
CY
5702 * custom.el (defcustom): Doc fix; note use of defvar.
5703
9f26dc24
GM
57042012-02-15 Glenn Morris <rgm@gnu.org>
5705
5706 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5707 Doc fixes.
5708
6546b134
GM
57092012-02-14 Glenn Morris <rgm@gnu.org>
5710
5711 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5712
d29b2b4c
LI
57132012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5714
5715 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5716 way the ports list is computed.
835bdcba
LI
5717 (smtpmail-query-smtp-server): Prompt the user for a port number if
5718 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5719
08dcdbc9
TZ
57202012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5721
5722 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5723
2605051a
GM
57242012-02-13 Glenn Morris <rgm@gnu.org>
5725
5726 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5727
7ee99f32
TZ
57282012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5729
5730 * net/gnutls.el (gnutls-trustfiles): New variable.
5731 (gnutls-negotiate): Use it.
5732
5f0af64f
LI
57332012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5734
5735 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5736 does its stuff if Gnus is running.
5737
c14fcc95
AM
57382012-02-13 Alan Mackenzie <acm@muc.de>
5739
5740 Fix a loop in c-set-fl-decl-start.
5741
7a71b18d 5742 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5743 c-backward-syntactic-ws actually moves backwards.
5744
142b4d90
LL
57452012-02-13 Leo Liu <sdl.web@gmail.com>
5746
5747 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5748 beginning so that all \C-o chars are removed.
5749
fa9958a6
TZ
57502012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5751
dc9924b8 5752 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5753
0bc5886a
AM
57542012-02-12 Alan Mackenzie <acm@muc.de>
5755
5756 Fix infinite loop with long macros.
4d6769e1 5757 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5758
d4bd55e7
CY
57592012-02-12 Chong Yidong <cyd@gnu.org>
5760
5761 * window.el (display-buffer): Doc fix (Bug#10785).
5762
66f3fe22
GM
57632012-02-12 Glenn Morris <rgm@gnu.org>
5764
bd7da63e
GM
5765 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5766 (x-disown-selection-internal, x-get-selection-internal):
5767 Sync docs with the xselect.c versions.
5768
66f3fe22
GM
5769 * allout-widgets.el: Add missing license notice.
5770
3e0d2fa7
GM
57712012-02-11 Glenn Morris <rgm@gnu.org>
5772
cfecdf09
GM
5773 * select.el (x-get-selection-internal, x-own-selection-internal)
5774 (x-disown-selection-internal):
5775 * x-dnd.el (x-get-selection-internal): Update declarations.
5776
6d216d7f
GM
5777 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5778
2bed3f04
GM
5779 * window.el (window-sides-slots):
5780 * tool-bar.el (tool-bar-position):
5781 * term/xterm.el (xterm-extra-capabilities):
5782 * ses.el (ses-self-reference-early-detection):
5783 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5784 (verilog-auto-wire-type)
5785 (verilog-auto-delete-trailing-whitespace)
5786 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5787 (verilog-auto-tieoff-declaration):
5788 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5789 (sql-oracle-statement-starters, sql-oracle-scan-on):
5790 * progmodes/prolog.el (prolog-align-comments-flag)
5791 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5792 (prolog-left-indent-regexp, prolog-paren-indent-p)
5793 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5794 (prolog-types, prolog-mode-specificators)
5795 (prolog-determinism-specificators, prolog-directives)
5796 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5797 (prolog-electric-dot-flag)
5798 (prolog-electric-dot-full-predicate-template)
5799 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5800 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5801 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5802 (prolog-program-switches, prolog-prompt-regexp)
5803 (prolog-debug-on-string, prolog-debug-off-string)
5804 (prolog-trace-on-string, prolog-trace-off-string)
5805 (prolog-zip-on-string, prolog-zip-off-string)
5806 (prolog-use-standard-consult-compile-method-flag)
5807 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5808 (prolog-imenu-max-lines, prolog-info-predicate-index)
5809 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5810 (prolog-char-quote-workaround):
5811 * progmodes/cc-vars.el (c-defun-tactic):
5812 * net/tramp.el (tramp-encoding-command-interactive)
5813 (tramp-local-end-of-line):
5814 * net/soap-client.el (soap-client):
5815 * net/netrc.el (netrc-file):
5816 * net/gnutls.el (gnutls):
5817 * minibuffer.el (completion-category-overrides)
5818 (completion-cycle-threshold)
5819 (completion-pcm-complete-word-inserts-delimiters):
5820 * man.el (Man-name-local-regexp):
5821 * mail/feedmail.el (feedmail-display-full-frame):
5822 * international/characters.el (glyphless-char-display-control):
5823 * eshell/em-ls.el (eshell-ls-date-format):
5824 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5825 (lisp-lambda-list-keyword-parameter-indentation)
5826 (lisp-lambda-list-keyword-parameter-alignment):
5827 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5828 * dired-x.el (dired-omit-verbose):
5829 * cus-theme.el (custom-theme-allow-multiple-selections):
5830 * calc/calc.el (calc-highlight-selections-with-faces)
5831 (calc-lu-field-reference, calc-lu-power-reference)
5832 (calc-note-threshold):
5833 * battery.el (battery-mode-line-limit):
5834 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5835 (archive-7z-update):
5836 * allout.el (allout-prefixed-keybindings)
5837 (allout-unprefixed-keybindings)
5838 (allout-inhibit-auto-fill-on-headline)
5839 (allout-flattened-numbering-abbreviation):
5840 * allout-widgets.el (allout-widgets-auto-activation)
5841 (allout-widgets-icons-dark-subdir)
5842 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5843 (allout-widgets-theme-dark-background)
5844 (allout-widgets-theme-light-background)
5845 (allout-widgets-item-image-properties-emacs)
5846 (allout-widgets-item-image-properties-xemacs)
5847 (allout-widgets-run-unit-tests-on-load)
5848 (allout-widgets-time-decoration-activity)
5849 (allout-widgets-hook-error-post-time)
5850 (allout-widgets-track-decoration):
5851 Add missing :version tags to new defcustoms and defgroups.
5852
5fec1b8e
GM
5853 * progmodes/sql.el (sql-ansi-statement-starters)
5854 (sql-oracle-statement-starters): Add custom type.
5855
3e0d2fa7
GM
5856 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5857 (prolog-system-version): Give it a type.
5858
90b671e2
EZ
58592012-02-11 Eli Zaretskii <eliz@gnu.org>
5860
5861 * term/pc-win.el (x-select-text, x-selection-owner-p)
5862 (x-own-selection-internal, x-disown-selection-internal)
5863 (x-get-selection-internal): Sync doc strings and argument lists
5864 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5865
5eac0c02
LL
58662012-02-11 Leo Liu <sdl.web@gmail.com>
5867
5868 * progmodes/python.el (python-end-of-statement): Fix infinite
5869 loop. (Bug#10788)
5870
f82cb659
GM
58712012-02-10 Glenn Morris <rgm@gnu.org>
5872
5873 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5874 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5875
cc26d239
LI
58762012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5877
5878 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5879 about SMTP before checking the From header.
5880
91027d08 5881 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5882 into own function for reuse by emacsbug.el.
5883
1be3ca5a
LL
58842012-02-10 Leo Liu <sdl.web@gmail.com>
5885
5886 * subr.el (condition-case-unless-debug): Rename from
5887 condition-case-no-debug. All callers changed.
5888 (with-demoted-errors): Fix caller.
5889
5890 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5891 * nxml/rng-valid.el (rng-do-some-validation):
5892 * emacs-lisp/package.el (package-refresh-contents)
5893 (package-menu-execute):
5894 * desktop.el (desktop-create-buffer):
91027d08 5895 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5896
b011fbfe
GM
58972012-02-10 Glenn Morris <rgm@gnu.org>
5898
b2096d72
GM
5899 * textmodes/bibtex.el:
5900 Add missing :version tags for new/changed defcustoms.
5901
b011fbfe
GM
5902 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5903
4c7e65bf
LI
59042012-02-09 Lars Ingebrigtsen <larsi@rusty>
5905
5906 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5907 (smtpmail-via-smtp): Use it, or fall back on the From address.
5908 (smtpmail-send-it): Ditto.
5909
f3934f6f
SM
59102012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5913 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5914 (byte-compile-tmp-var): New const.
5915 (byte-compile-defvar): Use it to minimize .elc size.
5916 Just use `defvar' rather than simulate it (bug#10761).
5917
a075a2c5
GM
59182012-02-09 Glenn Morris <rgm@gnu.org>
5919
cf3aa21b
GM
5920 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5921
354998cd
GM
5922 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5923 Add :version tags.
5924
dc9924b8
SM
5925 * progmodes/compile.el (compilation-error-screen-columns)
5926 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5927
dab3703d
GM
5928 * vc/log-view.el (log-view-toggle-entry-display):
5929 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5930
3f88cd72
GM
5931 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5932 (report-emacs-bug-can-use-xdg-email):
5933 (report-emacs-bug-insert-to-mailer): Doc fixes.
5934 (report-emacs-bug): Message fix.
5935
d95b247d
GM
5936 * net/browse-url.el (browse-url-can-use-xdg-open)
5937 (browse-url-xdg-open): Doc fixes.
5938
a075a2c5
GM
5939 * electric.el (electric-indent-mode, electric-pair-mode)
5940 (electric-layout-rules, electric-layout-mode): Doc fixes.
5941 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5942
ffb6157e
MR
59432012-02-08 Martin Rudalics <rudalics@gmx.at>
5944
5945 * server.el (server-unselect-display): Don't inadvertently kill
5946 the current buffer. (Bug#10729)
5947
e1ac4066
GM
59482012-02-08 Glenn Morris <rgm@gnu.org>
5949
34e8a2da
GM
5950 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5951 (sql-list-table): Doc fixes.
5952
b4ac6e8c
GM
5953 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5954 Comment out (does nothing).
5955
e1ac4066
GM
5956 * completion.el (dynamic-completion-mode):
5957 * dirtrack.el (dirtrack-debug-mode):
5958 * electric.el (electric-layout-mode):
5959 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5960 * face-remap.el (text-scale-mode, buffer-face-mode):
5961 * iimage.el (iimage-mode):
5962 * image-mode.el (image-transform-mode):
5963 * minibuffer.el (completion-in-region-mode):
5964 * scroll-lock.el (scroll-lock-mode):
5965 * simple.el (next-error-follow-minor-mode):
5966 * tar-mode.el (tar-subfile-mode):
5967 * tooltip.el (tooltip-mode):
5968 * vcursor.el (vcursor-use-vcursor-map):
5969 * wid-browse.el (widget-minor-mode):
5970 * emulation/tpu-edt.el (tpu-edt-mode):
5971 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5972 * international/iso-ascii.el (iso-ascii-mode):
5973 * language/thai-util.el (thai-word-mode):
5974 * mail/supercite.el (sc-minor-mode):
5975 * net/goto-addr.el (goto-address-mode):
5976 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5977 * progmodes/cwarn.el (cwarn-mode):
5978 * progmodes/flymake.el (flymake-mode):
5979 * progmodes/glasses.el (glasses-mode):
5980 * progmodes/hideshow.el (hs-minor-mode):
5981 * progmodes/pascal.el (pascal-outline-mode):
5982 * textmodes/enriched.el (enriched-mode):
5983 * vc/smerge-mode.el (smerge-mode):
5984 Doc fixes (minor mode argument).
5985
5e0d957f
EZ
59862012-02-07 Eli Zaretskii <eliz@gnu.org>
5987
5988 * ls-lisp.el (ls-lisp-sanitize): New function.
5989 (ls-lisp-insert-directory): Use it to fix or remove any elements
5990 in file-alist with missing attributes. (Bug#4673)
5991
98d7371e
AM
59922012-02-07 Alan Mackenzie <acm@muc.de>
5993
5994 Fix spurious recognition of c-in-knr-argdecl.
5995
5996 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5997 putative K&R region.
5998
667ced3a
AM
59992012-02-07 Alan Mackenzie <acm@muc.de>
6000
eb864a71
LM
6001 * progmodes/cc-engine.el (c-forward-objc-directive):
6002 Prevent looping in "#pragma mark @implementation".
667ced3a 6003
5b77774d
MA
60042012-02-07 Michael Albinus <michael.albinus@gmx.de>
6005
6006 * notifications.el (notifications-on-closed-signal): Make `reason'
6007 optional. (Bug#10744)
6008
af008560
GM
60092012-02-07 Glenn Morris <rgm@gnu.org>
6010
60d47423
GM
6011 * emacs-lisp/easy-mmode.el (define-minor-mode):
6012 Doc fixes for the macro and the mode it defines.
6013
dd605cc4
GM
6014 * image.el (imagemagick-types-inhibit): Doc fix.
6015
af008560
GM
6016 * cus-start.el (imagemagick-render-type): Add it.
6017
5cc59a37
LI
60182012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6019
4d6769e1
JB
6020 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6021 Set the default at load time, too, so that `font-lock-fontify-buffer'
6022 can be called without setting up the entire mode first. This fixes
6023 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6024
9a6dd747
CY
60252012-02-06 Chong Yidong <cyd@gnu.org>
6026
2d16b285
CY
6027 * simple.el (list-processes--refresh): Delete exited processes
6028 (Bug#8094).
6029
171e9b6e
CY
6030 * comint.el (comint-next-prompt): next-single-char-property-change
6031 and prev-single-char-property-change never return nil (Bug#8657).
6032
9a6dd747
CY
6033 * custom.el (defcustom): Doc fix (Bug#9711).
6034
aa4589a7
CY
60352012-02-05 Chong Yidong <cyd@gnu.org>
6036
5c2a252f
CY
6037 * cus-edit.el (custom-variable-reset-backup): Quote the value
6038 before storing it in the customized-value property (Bug#6712).
4aab9006 6039 (custom-display): Add a customization type tag.
983b9602 6040 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6041
aa4589a7
CY
6042 * wid-edit.el (widget-field-value-get): New optional arg to
6043 suppress trailing whitespace truncation.
6044 (character): Use it (Bug#2689).
6045
1ff980ae
AS
60462012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6047
6048 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6049 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6050
03988c98
CY
60512012-02-05 Chong Yidong <cyd@gnu.org>
6052
eeb6cc88
CY
6053 * cus-edit.el (custom-variable-value-create): For mismatched
6054 types, show the current value (Bug#7600).
6055
03988c98
CY
6056 * custom.el (defcustom): Doc fix.
6057
f8cdeef0
GM
60582012-02-05 Glenn Morris <rgm@gnu.org>
6059
6060 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6061
0696d255
JB
60622012-02-05 Juanma Barranquero <lekktu@gmail.com>
6063
6064 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6065 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6066 (pp-last-sexp): Use `looking-at-p'.
6067
34c99998
GM
60682012-02-04 Glenn Morris <rgm@gnu.org>
6069
8f05da42
GM
6070 * files.el (revert-buffer):
6071 Doc fix (mention revert-buffer-in-progress-p).
6072
f160676e
GM
6073 * emacs-lisp/ert-x.el (ert-simulate-command):
6074 Check deferred-action-list (which is obsolete) is bound.
6075
c7291ad9
GM
6076 * subr.el (with-wrapper-hook): Doc fixes.
6077
34c99998
GM
6078 * simple.el (filter-buffer-substring-functions)
6079 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6080
6283a7d3
LL
60812012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6082
6083 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6084 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6085
e96e3013
LL
60862012-02-04 Leo Liu <sdl.web@gmail.com>
6087
6088 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6089
8ded50f2
GM
60902012-02-04 Glenn Morris <rgm@gnu.org>
6091
82ff1d13
GM
6092 * image.el (image-extension-data): Add obsolete alias.
6093
987a0a16
GM
6094 * isearch.el (isearch-update): Doc fix.
6095
ea32ef46
GM
6096 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6097
8ded50f2
GM
6098 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6099
eea14f31
GM
61002012-02-03 Glenn Morris <rgm@gnu.org>
6101
6102 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6103 (image-animate-timeout): Doc fix.
6104
6105 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6106
12f381b7
GM
61072012-02-02 Glenn Morris <rgm@gnu.org>
6108
953cebf5
GM
6109 * server.el (server-auth-dir): Doc fix.
6110 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6111
12f381b7
GM
6112 * subr.el (run-mode-hooks): Doc fix.
6113
953a8c3b
JL
61142012-02-02 Juri Linkov <juri@jurta.org>
6115
6116 * image-mode.el (image-toggle-display-image): Remove tautological
6117 `major-mode' from the `derived-mode-p' test.
6118
c5d3843c
KH
61192012-02-02 Kenichi Handa <handa@m17n.org>
6120
9f6e692e 6121 * composite.el (compose-region): Cancel previous change.
c5d3843c 6122
159462d4 61232012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6124
6125 * composite.el (compose-region, compose-string): Signal error for
6126 a null string component (Bug#6988).
6127
9f562668
CY
61282012-02-01 Chong Yidong <cyd@gnu.org>
6129
e2cef717
CY
6130 * view.el (view-buffer-other-window, view-buffer-other-frame):
6131 Handle special modes like view-buffer (Bug#10650).
6132 (view-buffer): Simplify.
6133
9f562668
CY
6134 * frame.el (set-frame-font): Tweak meaning of third argument.
6135
9f6e692e
JB
6136 * dynamic-setting.el (font-setting-change-default-font):
6137 Use set-frame-font (Bug#9982).
9f562668 6138
781acb9f
GM
61392012-02-01 Glenn Morris <rgm@gnu.org>
6140
6035be52
GM
6141 * progmodes/compile.el (compilation-internal-error-properties):
6142 Respect compilation-first-column in the "*compilation*" buffer.
6143
781acb9f
GM
6144 * emacs-lisp/easy-mmode.el (define-minor-mode):
6145 Relax :variable's test for a named function.
6146
abbceb00
AM
61472012-01-31 Alan Mackenzie <acm@muc.de>
6148
6149 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6150 off by one error.
6151
fce3fdeb
CY
61522012-01-31 Chong Yidong <cyd@gnu.org>
6153
6154 * frame.el (set-frame-font): New arg ALL-FRAMES.
6155
6156 * menu-bar.el (menu-set-font): Use set-frame-font.
6157
6158 * faces.el (face-spec-reset-face): Don't apply unspecified
6159 attribute values to the default face.
6160
47893581
JB
61612012-01-31 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * progmodes/cwarn.el (cwarn): Remove dead link.
6164 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6165 Remove * from defcustom docstrings.
6166 (turn-on-cwarn-mode): Make obsolete.
6167 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6168 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6169
e58e988a
GM
61702012-01-31 Glenn Morris <rgm@gnu.org>
6171
60dc2671 6172 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6173 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6174 Allow named functions to be used as the cdr of :variable.
e58e988a 6175
7a3f511d
GM
61762012-01-30 Glenn Morris <rgm@gnu.org>
6177
6178 * emacs-lisp/authors.el (authors-fixed-entries):
6179 Remove reference to deleted file rnewspost.el.
6180
cb882333
JB
61812012-01-29 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * window.el (window-with-parameter): Remove unused variable `windows'.
6184 (window--side-check): Remove unused variable `code'.
6185 (window--resize-siblings): Remove unused variable `first'.
6186 (adjust-window-trailing-edge): Remove unused variable `failed'.
6187 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6188 Use `let', not `let*'.
6189 (balance-windows-2): Remove unused variable `found'.
6190 (window--state-put-2): Remove unused variable `splits'.
6191 (window-state-put): Remove unused variable `selected'.
6192 (same-window-p): Use `string-match-p'.
6193 (display-buffer-assq-regexp): Remove unused variable `value'.
6194 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6195 Mark argument ALIST as ignored.
6196 (pop-to-buffer): Remove unused variable `old-window'.
6197
907201af
EZ
61982012-01-29 Eli Zaretskii <eliz@gnu.org>
6199
6200 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6201 and .lzma compressed files.
6202
ea162670
CY
62032012-01-29 Chong Yidong <cyd@gnu.org>
6204
5b95ee8a
CY
6205 * frame.el (window-system-default-frame-alist): Doc fix.
6206
ea162670
CY
6207 * dynamic-setting.el (font-setting-change-default-font): Don't
6208 change the default face if SET-FONT argument is non-nil (Bug#9982).
6209
d6e6f4b1
SB
62102012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6211
6212 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6213
0f29fa41 62142012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6215
6216 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6217 breakpoints in files outside current directory (Bug#6098).
6218
db174434
CY
62192012-01-29 Chong Yidong <cyd@gnu.org>
6220
6b25e4e2
SE
6221 * progmodes/python.el: Require ansi-color at top-level.
6222
6df6ae42
JB
6223 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6224 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6225 (lisp-mode-abbrev-table): Add doc.
6226 (lisp-mode-variables): Don't set local-abbrev-table.
6227 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6228
e70ee681
RW
62292012-01-28 Roland Winkler <winkler@gnu.org>
6230
6231 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6232
ace88aa2
RW
62332012-01-28 Roland Winkler <winkler@gnu.org>
6234
6235 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6236 (bibtex-set-dialect): Use it. Either set global values of
6237 dialect-dependent variables or bind these variables buffer-locally
6238 (Bug#10254).
6239 (bibtex-mode): Call bibtex-set-dialect via
6240 hack-local-variables-hook.
eb864a71
LM
6241 (bibtex-dialect): Update docstring.
6242 Add safe-local-variable predicate.
ace88aa2
RW
6243 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6244 bibtex-set-dialect.
6245 (bibtex-mode-map): Define menu for each dialect.
6246 (bibtex-entry): Fix docstring.
6247
93376c5b
CY
62482012-01-28 Chong Yidong <cyd@gnu.org>
6249
6250 * eshell/esh-arg.el (eshell-quote-argument): New function.
6251
6252 * eshell/esh-ext.el (eshell-invoke-batch-file):
6253 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6254 first arg to eshell-parse-command (Bug#10523).
6255
4372494f
DA
62562012-01-28 Drew Adams <drew.adams@oracle.com>
6257
6258 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6259 `default-directory' is non-nil.
6260
4d4ec1f8
EZ
62612012-01-28 Eli Zaretskii <eliz@gnu.org>
6262
6263 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6264 line that displays system-configuration-options. (Bug#9924)
6265
7c188927
DA
62662012-01-28 Drew Adams <drew.adams@oracle.com>
6267
6268 * descr-text.el (describe-char): Show information about POS, in
6269 addition to information about the character at POS. Improve and
6270 update the doc string. Change "code point" to "code point in
6271 charset", to avoid confusion with the character's Unicode code
6272 point shown above that. (Bug#10129)
6273
e0da685a
EZ
62742012-01-28 Eli Zaretskii <eliz@gnu.org>
6275
6276 * descr-text.el (describe-char): Show the raw character, not only
6277 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6278 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6279 for the reasons.
6280
70550acf
PH
62812012-01-28 Phil Hagelberg <phil@hagelb.org>
6282
eb864a71
LM
6283 * emacs-lisp/package.el (package-install):
6284 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6285
0ce8e868
CY
62862012-01-28 Chong Yidong <cyd@gnu.org>
6287
cb882333
JB
6288 * emacs-lisp/package.el (package-maybe-load-descriptor):
6289 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6290 (package-maybe-load-descriptor): Use it.
6291 (package-download-transaction): Fully load required packages
6292 inside the loop, so that `require' calls work (Bug#10593).
6293 (package-install): No need to call package-initialize now.
6294
2e7f3bea
CY
62952012-01-28 Chong Yidong <cyd@gnu.org>
6296
6e9bad14
CY
6297 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6298
f823b8ca
CY
6299 * tooltip.el (tooltip-mode): Doc fix.
6300 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6301
2680c309
CY
6302 * frame.el (set-cursor-color): Doc fix (Bug#352).
6303
d7a9e63b
CY
6304 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6305 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6306
2e7f3bea
CY
6307 * cus-edit.el (custom-buffer-create-internal): Fix search button
6308 action (Bug#10542).
2ae01800 6309 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6310
fc4f7a23
EW
63112012-01-27 Eduard Wiebe <usenet@pusto.de>
6312
6313 * dired.el (dired-mark-files-regexp):
6314 Include any subdirectory components. (Bug#10445)
6315
7dd37071
ML
63162012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6317
6318 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6319 Handle [host]:port syntax. (Bug#10533)
6320
a268160b
AH
63212012-01-27 Alex Harsanyi <harsanyi@mac.com>
6322
6323 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6324
e43273ef
GM
63252012-01-26 Glenn Morris <rgm@gnu.org>
6326
6327 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6328 * term.el (term-raw-escape-map): Use Control-X-prefix.
6329 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6330
1edf595d
MR
63312012-01-25 Martin Rudalics <rudalics@gmx.at>
6332
6333 * window.el (window-state-get, window--state-get-1): Don't deal
6334 with fixed-sizeness of windows. Simplify code.
6335
fa8eafef
JC
63362012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6337
6df6ae42
JB
6338 * window.el (window--state-get-1, window--state-put-2):
6339 Don't save and restore the mark.
fa8eafef 6340
0b21c100
CY
63412012-01-25 Chong Yidong <cyd@gnu.org>
6342
6343 * custom.el (custom-variable-p): Doc fix.
6344
5ae1a6c8
GM
63452012-01-25 Glenn Morris <rgm@gnu.org>
6346
40047858
GM
6347 * dired.el (dired-goto-file): Handle some of the more common
6348 characters that `ls -b' escapes. (Bug#10596)
6349
5ddce96c
GM
6350 * progmodes/compile.el (compilation-next-error-function):
6351 Respect compilation-first-column in the "*compilation*" buffer.
6352 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6353
5ae1a6c8
GM
6354 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6355
b559f1a9
GM
63562012-01-24 Glenn Morris <rgm@gnu.org>
6357
6358 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6359
6725d21a
JD
63602012-01-24 Julien Danjou <julien@danjou.info>
6361
6362 * color.el (color-rgb-to-hsl): Fix value computing.
6363 (color-hue-to-rgb): New function.
6364 (color-hsl-to-rgb): New function.
6365 (color-clamp, color-saturate-hsl, color-saturate-name)
6366 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6367 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6368
70df4bbe
GM
63692012-01-24 Glenn Morris <rgm@gnu.org>
6370
6371 * vc/vc-rcs.el (vc-rcs-create-tag):
6372 * vc/vc-sccs.el (vc-sccs-create-tag):
6373 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6374
802a2ae2
ML
63752012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6376
6377 * eshell/esh-util.el (eshell-read-hosts-file):
6378 Skip comment lines. (Bug#10549)
6379
d7128bb1
ML
6380 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6381
d1a5c3b4
JB
63822012-01-23 Juanma Barranquero <lekktu@gmail.com>
6383
2724d9c7
JB
6384 * subr.el (display-delayed-warnings): Doc fix.
6385 (collapse-delayed-warnings): New function to collapse identical
6386 adjacent warnings.
6387 (delayed-warnings-hook): Add it.
d1a5c3b4 6388
a5509865
MA
63892012-01-22 Michael Albinus <michael.albinus@gmx.de>
6390
6391 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6392
a5509865
MA
6393 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6394 (tramp-default-user-alist): Don't add "pscp".
6395 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6396 property "login-as", if set. (Bug#10530)
6397
cc6d5805
MA
63982012-01-21 Michael Albinus <michael.albinus@gmx.de>
6399
6400 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6401 "plink1" and "psftp". (Bug#10530)
6402
64032012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6404
6405 * international/mule-cmds.el (prefer-coding-system): Show a
6406 warning message if the default value of file-name-coding-system
6407 was not changed.
6408
f0960428
JC
64092012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6410
cb882333
JB
6411 * windmove.el (windmove-reference-loc):
6412 Fix windmove-reference-loc miscalculation.
f0960428 6413
dd6f2a63
JB
64142012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6415
6416 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6417 default unit.
6418
7b447e9b
GM
64192012-01-21 Glenn Morris <rgm@gnu.org>
6420
117a9ea1
GM
6421 * international/mule.el (auto-coding-alist): Add .tbz.
6422
7b447e9b
GM
6423 * files.el (local-enable-local-variables): Doc fix.
6424 (inhibit-local-variables-regexps): Rename from
6425 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6426 Doc fix. Add some extensions from auto-coding-alist.
6427 (inhibit-local-variables-suffixes):
6428 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6429 (inhibit-local-variables-p):
6430 New function, extracted from set-auto-mode-1.
6431 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6432 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6433 (hack-local-variables): Doc fix. Make the mode-only case
6434 respect enable-local-variables and friends.
6435 Respect inhibit-local-variables-regexps for file-locals, but
6436 not for directory-locals.
6437 (set-visited-file-name):
6438 Take account of inhibit-local-variables-regexps.
6439 Whether it applies may change as the file name is changed.
6440 * jka-cmpr-hook.el (jka-compr-install):
6441 * jka-compr.el (jka-compr-uninstall):
6442 Update for inhibit-first-line-modes-suffixes name change.
6443
dd6e3cdd
MR
64442012-01-20 Martin Rudalics <rudalics@gmx.at>
6445
6446 * help-macro.el (make-help-screen): Temporarily restore original
6447 binding for minor-mode-map-alist (Bug#10454).
6448
0d0deb38
JD
64492012-01-19 Julien Danjou <julien@danjou.info>
6450
6451 * color.el (color-name-to-rgb): Use the white color to find the max
6452 color component value and return correctly computed values.
6453 (color-name-to-rgb): Add missing float conversion for max value.
6454
34a02f46
MR
64552012-01-19 Martin Rudalics <rudalics@gmx.at>
6456
6457 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6458 special state value for window-persistent-parameters.
6459 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6460 (window--state-put-2): Reset all window parameters to nil before
6461 assigning values of persistent parameters.
6462
606c44c4
AM
64632012-01-18 Alan Mackenzie <acm@muc.de>
6464
6465 Eliminate sluggishness and hangs in fontification of "semicolon
6466 deserts".
6467
cb882333
JB
6468 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6469 Change value 10000 -> 3000.
606c44c4
AM
6470 (c-state-safe-place): Reformulate so it doesn't stack up an
6471 infinite number of wrong entries in c-state-nonlit-pos-cache.
6472 (c-determine-limit-get-base, c-determine-limit): New functions to
6473 determine backward search limits disregarding literals.
6474 (c-find-decl-spots): Amend commenting.
6475 (c-cheap-inside-bracelist-p): New function which detects "={".
6476
6477 * progmodes/cc-fonts.el
6478 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6479 backward search.
6480 (c-font-lock-declarations): Fix an occurrence of point being
6481 undefined. Check additionally for point being in a bracelist or
6482 near a macro invocation without a semicolon so as to avoid a
6483 fruitless time consuming search for a declarator. Give a more
6484 precise search limit for declarators using the new
6485 c-determine-limit.
6486
f3860cea
GM
64872012-01-18 Glenn Morris <rgm@gnu.org>
6488
6489 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6490 (set-auto-mode): Doc fixes.
6491
1db03b16
GM
64922012-01-17 Glenn Morris <rgm@gnu.org>
6493
0e6038be
GM
6494 * isearch.el (search-nonincremental-instead): Fix doc typo.
6495
1db03b16
GM
6496 * dired.el (dired-insert-directory): Handle newlines in directory name.
6497 (dired-build-subdir-alist): Unescape newlines in directory name.
6498
4cb0aa75
MA
64992012-01-17 Michael Albinus <michael.albinus@gmx.de>
6500
6501 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6502 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6503 (tramp-action-terminal): Use it. (Bug#10530)
6504
1d00653d
SM
65052012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6508
6a6ee00d
MR
65092012-01-16 Martin Rudalics <rudalics@gmx.at>
6510
6511 * window.el (window-state-ignored-parameters): Remove variable.
6512 (window--state-get-1): Rename argument MARKERS to IGNORE.
6513 Handle persistent window parameters. Make copy of clone-of
6514 parameter only if requested. (Bug#10348)
6515 (window--state-put-2): Install a window parameter only if it has
6516 a non-nil value or an existing parameter shall be overwritten.
6517
97912def
MA
65182012-01-15 Michael Albinus <michael.albinus@gmx.de>
6519
6520 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6521
688070a5
EZ
65222012-01-14 Eli Zaretskii <eliz@gnu.org>
6523
6524 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6525 don't pass the (nil) value of `upnode' to string-match.
6526
301afadc
CY
65272012-01-14 Chong Yidong <cyd@gnu.org>
6528
6529 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6530 Fix values recognized by the cursorBlink resource.
301afadc 6531
9e5788aa
PE
65322012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6533
6534 * epg.el (epg--make-temp-file): Avoid permission race condition
6535 when running on old Emacs versions (bug#10403).
6536
3cdb7f5a
GM
65372012-01-14 Glenn Morris <rgm@gnu.org>
6538
6539 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6540
8c82b1b4
AM
65412012-01-13 Alan Mackenzie <acm@muc.de>
6542
6543 Fix filling for when filladapt mode is enabled.
6544
6545 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6546 c-mask-paragraph, pass in `fill-paragraph' rather than
6547 `fill-region-as-paragraph'. (This is a reversion of a previous
6548 change.)
eb864a71
LM
6549 * progmodes/cc-mode.el (c-basic-common-init):
6550 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6551
e517eda4
GM
65522012-01-13 Glenn Morris <rgm@gnu.org>
6553
1498536e
GM
6554 * dired.el (dired-switches-escape-p): New function.
6555 (dired-insert-directory): Use dired-switches-escape-p.
6556 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6557
e517eda4
GM
6558 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6559
328f984d
GM
65602012-01-12 Glenn Morris <rgm@gnu.org>
6561
6562 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6563 changes in adaptive-fill-regexp. (Bug#10276)
6564
2cc769a8
AM
65652012-01-11 Alan Mackenzie <acm@muc.de>
6566
6567 Fix Emacs bug #10463 - put `widen's around the critical spots.
6568
1d00653d 6569 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6570 widen around each invocation of c-state-pp-to-literal. Remove an
6571 unused let variable.
6572
e52c37fa
GM
65732012-01-11 Glenn Morris <rgm@gnu.org>
6574
6575 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6576 Doc fix.
e52c37fa 6577
96f8741e
CY
65782012-01-10 Chong Yidong <cyd@gnu.org>
6579
1d00653d
SM
6580 * net/network-stream.el (network-stream-open-starttls):
6581 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6582 response to the capability command.
6583
b09a806e
GM
65842012-01-10 Glenn Morris <rgm@gnu.org>
6585
6586 * mail/unrmail.el (unrmail): Tweak previous change.
6587
7655cb66
CY
65882012-01-09 Chong Yidong <cyd@gnu.org>
6589
6590 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6591
9d5a8f0b
AM
65922012-01-08 Alan Mackenzie <acm@muc.de>
6593
6594 Optimise font locking in long enum definitions.
6595
6596 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6597 arm to a cond form to handle enums.
6598 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6599 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6600
9a0115ab 66012012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6602
6603 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6604 (Bug#10401)
6bb72cbd 6605
f186bb95
LMI
66062012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6607
29232a68
LMI
6608 * faces.el (set-face-attribute): Clarify the meaning of the nil
6609 frame (bug#10294).
6610
4e5d086d
LMI
6611 * subr.el (with-selected-frame): Mention that the selected frame
6612 is restored (bug#9980).
6613
8e66aebe
LMI
6614 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6615 (bug#9759).
6616
cd394be1 6617 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6618 (password-read): Don't autoload unused function.
6619
adf4e762
JB
66202012-01-07 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * progmodes/which-func.el (which-func-mode): Turn into a
6623 non-interactive function and mark as obsolete (bug#10428).
6624
89bd9ccd
CY
66252012-01-06 Chong Yidong <cyd@gnu.org>
6626
6627 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6628 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6629 functions, along with 1 and -1.
6630
4afee9d5
EZ
66312012-01-06 Eli Zaretskii <eliz@gnu.org>
6632
6633 * time.el (display-time-load-average)
6634 (display-time-default-load-average): Doc fixes. See the thread
6635 starting at
6636 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6637 for the details.
6638
536aea70
GM
66392012-01-06 Glenn Morris <rgm@gnu.org>
6640
665ae865
GM
6641 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6642 has no messages. (Bug#10377)
6643
c869783d
GM
6644 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6645 than Info-edit. (Bug#10385)
6646
2bb4227e
GM
6647 * time.el (display-time-load-average, display-time-next-load-average):
6648 Doc fixes.
6649
7d5944b9
GM
6650 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6651 local setting of buffer-read-only to the input buffer. (Bug#10419)
6652
536aea70
GM
6653 * calendar/calendar.el (calendar-mode):
6654 Locally set scroll-margin to 0. (Bug#10379)
6655
7dccca16
UM
66562012-01-06 Ulrich Mueller <ulm@gentoo.org>
6657
6658 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6659
afbb7930
GM
66602012-01-05 Glenn Morris <rgm@gnu.org>
6661
6662 * eshell/em-unix.el (diff-no-select): Autoload it.
6663 (eshell/diff): Use diff-no-select. (Bug#10420)
6664
04482335
CY
66652012-01-05 Chong Yidong <cyd@gnu.org>
6666
7baca3bc
CY
6667 * shell.el (shell-dynamic-complete-functions): Revert last change.
6668 (shell-command-completion-function): New function.
6669 (shell-completion-vars): Use it to implement
6670 shell-completion-execonly (Bug#10417).
6671
04482335
CY
6672 * custom.el (enable-theme): Don't set custom-safe-themes.
6673
1d00653d
SM
6674 * cus-theme.el (custom-theme-merge-theme):
6675 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6676
bb5aa5d6
MM
66772012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6678
6679 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6680 first prompt in `sql-interacive-mode'.
6681 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6682 keywords.
6df6ae42 6683 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6684 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6685 context of original buffer. Invoke `sql-login-hook'.
6686
a7183d7c
EZ
66872012-01-04 Eli Zaretskii <eliz@gnu.org>
6688
6689 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6690 letters in cite-prefix.
6691
a1eacd1e
LMI
66922012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6695
787cdb34
CY
66962012-01-03 Chong Yidong <cyd@gnu.org>
6697
1d00653d
SM
6698 * shell.el (shell-dynamic-complete-functions):
6699 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6700 comint-filename-completion first (Bug#10417).
6701
30710442
RS
67022012-01-02 Richard Stallman <rms@gnu.org>
6703
6704 * battery.el (battery-status-function):
6705 Detect when to use battery-yeeloong-sysfs.
6706 (battery-echo-area-format): Add string for Yeeloong.
6707 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6708 (battery-yeeloong-sysfs): New function.
6709
f75bfc33
CY
67102012-01-02 Chong Yidong <cyd@gnu.org>
6711
6712 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6713 (dirtrack): Merge code for handling relative filenames in prompt
6714 from shell-dir-cookie-watcher.
6715 (dirtrack-debug-message): New arg to avoid excess format calls.
6716
6717 * shell.el (shell-dir-cookie-re): Variable deleted.
6718 (shell-dir-cookie-watcher): Function deleted.
6719 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6720 with dirtrack-mode.
6721
651e947e
EZ
67222012-01-01 Eli Zaretskii <eliz@gnu.org>
6723
1d00653d
SM
6724 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6725 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6726 libgnutls-26.dll.
6727
94d4c7dc
AS
67282011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6729
6730 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6731
8d43f3cd
EZ
67322011-12-31 Eli Zaretskii <eliz@gnu.org>
6733
6734 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6735 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6736
98c8795a
MA
67372011-12-29 Michael Albinus <michael.albinus@gmx.de>
6738
6739 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6740 also for alternative shells.
6741 (tramp-open-connection-setup-interactive-shell): Check, whether
6742 the shell is a busybox.
6743 (tramp-send-command): Don't suppress multiple prompts for
6744 busyboxes, it hurts.
6745
51281b32
CY
67462011-12-28 Chong Yidong <cyd@gnu.org>
6747
6748 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6749 (gdb-get-source-file): Move mode line update to
6750 gdb-get-source-file (Bug#10087).
6751
2170cb53
CY
67522011-12-25 Chong Yidong <cyd@gnu.org>
6753
6754 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6755 gud-gdb-marker-filter without taking it as an argument.
6756 (gud-gdb-run-command-fetch-lines): Caller changed.
6757 (gud-gdb-completion-function): New variable.
6758 (gud-gdb-completion-at-point): Use it.
6759 (gud-gdb-completions-1): Split from gud-gdb-completions.
6760
6761 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6762 function as separate arguments.
6763 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6764 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6765 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6766 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6767 (gdb-stopped, def-gdb-auto-update-trigger)
6768 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6769 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6770 Callers changed.
2170cb53
CY
6771 (gud-gdbmi-completions): New function.
6772 (gdb): Use it for generating the completion table.
6773
be8b11bb
AM
67742011-12-24 Alan Mackenzie <acm@muc.de>
6775
6776 Introduce a mechanism to widen the region used in context font
1d00653d 6777 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6778
1d00653d
SM
6779 * progmodes/cc-langs.el (c-before-font-lock-functions):
6780 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6781 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6782 functions to be run just before context (etc.) font locking.
6783
6784 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6785 New, functionality extracted from
be8b11bb 6786 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6787 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6788 (c-after-change): Set c-in-after-change-fontification.
6789 (c-set-fl-decl-start): Rejig its interface, so it can be called
6790 from both after-change and context fontifying.
b81d40f0
JB
6791 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6792 New functions.
6793 (c-standard-font-lock-fontify-region-function): New variable.
6794 (c-font-lock-fontify-region): New function.
be8b11bb 6795
341cf6ac
JL
67962011-12-24 Juri Linkov <juri@jurta.org>
6797
6798 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6799 (Bug#10348)
6800
bffcee0a
MA
68012011-12-23 Michael Albinus <michael.albinus@gmx.de>
6802
6803 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6804 existence of source file. (Bug#10325)
6805
cb5e207c
AM
68062011-12-23 Alan Mackenzie <acm@muc.de>
6807
6808 Fix unstable fontification inside templates.
6809
b81d40f0
JB
6810 * progmodes/cc-langs.el (c-before-font-lock-functions):
6811 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6812 additionally has c-set-fl-decl-start. The other languages (apart
6813 from AWK) have that as a single entry.
6814
b81d40f0
JB
6815 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6816 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6817 c-set-fl-decl-start.
6818
b81d40f0
JB
6819 * progmodes/cc-mode.el (c-common-init, c-after-change):
6820 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6821 (c-set-fl-decl-start): New function, extracted from
6822 c-font-lock-enclosing-decls and enhanced.
6823
60ff536c
JB
68242011-12-23 Juanma Barranquero <lekktu@gmail.com>
6825
6826 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6827
1c4757d6
JL
68282011-12-22 Juri Linkov <juri@jurta.org>
6829
6830 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6831
d031f2c7
CY
68322011-12-22 Chong Yidong <cyd@gnu.org>
6833
6834 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6835
bace743a
DA
68362011-12-21 Drew Adams <drew.adams@oracle.com>
6837
6838 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6839
728a1f2b
JC
68402011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6841
6842 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6843
0d373f73
TZ
68442011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6845
fec0aaa4
TZ
6846 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6847 highlighting and support. Fix up comments for capitalization.
6848 (cfengine-mode-debug): New var.
6849 (cfengine3-mode): Change the modeline indicator to "CFE3".
6850 (cfengine3-font-lock-keywords): Improve defun highlighting.
6851 (cfengine2-actions): Rename from `cfengine-actions'.
6852 (cfengine2-font-lock-keywords): Rename from
6853 `cfengine-font-lock-keywords'.
6854 (cfengine2-imenu-expression): Rename from
6855 `cfengine-imenu-expression'.
6856 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6857 (cfengine2-beginning-of-defun): Rename from
6858 `cfengine-beginning-of-defun'.
6859 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6860 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6861 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6862 modeline indicator to "CFE2".
6863 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6864 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6865
bc86f573
CY
68662011-12-21 Chong Yidong <cyd@gnu.org>
6867
6868 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6869 filename argument.
6870
d45ba96b
MR
68712011-12-20 Martin Rudalics <rudalics@gmx.at>
6872
6873 * window.el (window-normalize-buffer-to-display): Remove.
6874 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6875
a6198c90
CY
68762011-12-19 Chong Yidong <cyd@gnu.org>
6877
6878 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6879 Don't signal an error in a predicate function; return non-nil.
6880 (vc-dir-mark-file): Move the error here.
6881 (vc-dir-mark-unmark): If acting on the region, keep going if one
6882 of the entries cannot be marked/unmarked.
6883 (vc-dir-mark-all-files): If current entry is a directory, mark
6884 only child files, as documented.
6885
34c5fb55
VB
68862011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6887
6888 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6889 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6890 addition.
6891
c803b2b7
JD
68922011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6893
6894 * term/ns-win.el (ns-get-selection-internal)
6895 (ns-store-selection-internal): Declare.
1154d12e
JB
6896 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6897 Declare as obsolete.
6898 (ns-get-pasteboard, ns-paste-secondary):
6899 Use ns-get-selection-internal.
6900 (ns-set-pasteboard, ns-copy-including-secondary):
6901 Use ns-store-selection-internal.
c803b2b7 6902
9cff91f8 69032011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6904
6905 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6906 (vc-deduce-fileset): Doc fix.
99a289d9 6907
f16c898a
AS
69082011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6909
6910 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6911
763237c4
SS
69122011-12-13 Sam Steingold <sds@gnu.org>
6913
6914 * man.el (Man-getpage-in-background): When running under a
6915 window-system, ignore $MANWIDTH and $COLUMNS.
6916
5fc1c122
KH
69172011-12-15 Kenichi Handa <handa@m17n.org>
6918
6919 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6920 (setup-ethiopic-environment-internal): Comment out key-binding for
6921 ethio-toggle-punctuation.
6922
13d49cbb
AM
69232011-12-13 Alan Mackenzie <acm@muc.de>
6924
898169a2
AM
6925 Add the switch statement to AWK Mode.
6926
7a71b18d 6927 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6928 "default" to the keywords regexp.
6929
7a71b18d 6930 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6931 expression as the rest.
1d00653d
SM
6932 (c-nonlabel-token-key): Allow string literals for AWK.
6933 Refactor for the other modes.
898169a2 6934
13d49cbb 6935 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6936 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6937 routines. Limit backward searching in c-font-lock-enclosing.decl.
6938
6939 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6940 pp-state and literal type in addition to the limits.
1d00653d 6941 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6942 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6943 (c-slow-in-literal, c-fast-in-literal): Remove.
6944 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6945
6946 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6947 being in a literal. Add a limit for backward searching.
6948
6949 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6950 c-slow-in-literal.
6951
15e0efc7
SM
69522011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6955
454592a6
MR
69562011-12-13 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (delete-other-windows): Use correct frame in call to
6959 window-with-parameter.
6960
87393f26
DP
69612011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6962
6963 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6964 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6965 (makefile-gmake-statements, makefile-makepp-statements):
6966 Use it and add new makepp keywords.
6967 (makefile-makepp-font-lock-keywords): Add new patterns.
6968 (makefile-match-function-end): Match new [...] and [[...]].
6969
11636b22
JB
69702011-12-11 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * ses.el (ses-call-printer-return, ses-cell-property-get)
6973 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6974 (ses-create-cell-variable, ses-reset-header-string)
6975 (ses-cell-set-formula, ses-repair-cell-reference-all)
6976 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6977 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6978 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6979 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6980 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6981 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6982 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6983 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6984 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6985 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6986 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6987 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6988
cf018193
VB
69892011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6990
6991 * ses.el: The overall change is to add cell renaming, that is
6992 setting fancy names for cell symbols other than name matching
6993 "\\`[A-Z]+[0-9]+\\'" regexp .
6994 (ses-create-cell-variable): New defun.
6995 (ses-relocate-formula): Relocate formulas only for cells the
6996 symbols of which are not renamed, i.e. symbols whose names do not
6997 match regexp "\\`[A-Z]+[0-9]+\\'".
6998 (ses-relocate-all): Relocate values only for cells the symbols of
6999 which are not renamed.
7000 (ses-load): Create cells variables as the (ses-cell ...) are read,
7001 in order to check row col consistency with cell symbol name only
7002 for cells that are not renamed.
7003 (ses-replace-name-in-formula): New defun.
7004 (ses-rename-cell): New defun.
7005
ee957461
CY
70062011-12-11 Chong Yidong <cyd@gnu.org>
7007
7008 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7009 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7010
9a9e9ef0
MR
70112011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7012
7013 * window.el (other-window): Fix docstring.
7014
92a8eba5
EZ
70152011-12-10 Eli Zaretskii <eliz@gnu.org>
7016
7017 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7018 `from' or `to' address before taking its substring.
7019 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7020 encoded name is chopped in the middle of the encoded string, and
7021 thus displayed encoded.
7022
e152e577
JB
70232011-12-10 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7026
e5d84bfe
EZ
70272011-12-10 Eli Zaretskii <eliz@gnu.org>
7028
7029 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7030 to use texinfo-update-node and commands that call it if the
7031 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7032 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7033 (texinfo-all-menus-update, texinfo-master-menu)
7034 (texinfo-update-node, texinfo-every-node-update)
7035 (texinfo-multiple-files-update): Doc fix. Warn against updating
7036 all the @node lines.
7037 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7038 argument is numeric. Explain better in the doc string what the
7039 function really does.
7040 (texinfo-insert-master-menu-list): Improve the error message
7041 displayed if there's no menu in the Top node.
7042 (Bug#2975) See also this thread:
e5d84bfe
EZ
7043 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7044
1d84e9bb
MG
70452011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7046
7047 * speedbar.el (speedbar-supported-extension-expressions):
7048 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7049
382c953b
JB
70502011-12-09 Juanma Barranquero <lekktu@gmail.com>
7051
7052 * printing.el (pr-mode-alist):
7053 * simple.el (filter-buffer-substring-functions)
7054 (completion-list-insert-choice-function):
7055 * window.el (window-with-parameter, window-atom-root)
7056 (window-sides-slots, window-size-fixed, window-min-delta)
7057 (window-max-delta, window--resize-mini-window)
7058 (window--resize-child-windows-normal, window-tree)
7059 (delete-other-windows, quit-window, split-window)
7060 (display-buffer-record-window, special-display-buffer-names)
7061 (special-display-regexps, special-display-popup-frame)
7062 (same-window-p, split-window-sensibly)
7063 (display-buffer-overriding-action, display-buffer-alist)
7064 (display-buffer-base-action, display-buffer, switch-to-buffer)
7065 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7066 (fit-window-to-buffer, recenter-positions)
7067 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7068 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7069 and remove unneeded backslashes in docstrings.
7070
39c9faef
SM
70712011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7072
98449af8
SM
7073 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7074
39c9faef
SM
7075 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7076 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7077 end in ".mk".
7078 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7079 when reading the makefile (bug#10116).
7080
86ed9fdc
SM
70812011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7084 (bug#10116).
7085
5580f89d
GM
70862011-12-06 Glenn Morris <rgm@gnu.org>
7087
7088 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7089
28d3917c
CY
70902011-12-06 Chong Yidong <cyd@gnu.org>
7091
7092 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7093
a98edce9
JB
70942011-12-06 Juanma Barranquero <lekktu@gmail.com>
7095
7096 * textmodes/table.el (table-shorten-cell): Fix typo.
7097
e65adfac
CG
70982011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7099
7100 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7101
71cc0b74
EZ
71022011-12-05 Eli Zaretskii <eliz@gnu.org>
7103
7104 * descr-text.el (describe-char): Fix display of strong
7105 right-to-left characters and directional embeddings and overrides.
7106
7107 * simple.el (what-cursor-position): Fix display of codepoints of
7108 strong right-to-left characters.
7109
315bc30d
CY
71102011-12-05 Chong Yidong <cyd@gnu.org>
7111
7112 * faces.el (read-color): Doc fix.
7113
58a70b94
GM
71142011-12-05 Glenn Morris <rgm@gnu.org>
7115
7116 * align.el (align--set-marker): Add doc-string.
7117 Don't try to move something that is not a marker. (Bug#10216)
7118
5158face
GM
71192011-12-04 Glenn Morris <rgm@gnu.org>
7120
7121 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7122 overly zealous deletion of trailing whitespace.
7123
520fca41
JB
71242011-12-04 Juanma Barranquero <lekktu@gmail.com>
7125
7126 * server.el (server-delete-client): On Windows, do not try to delete
7127 the only terminal.
7128 (server-process-filter): On Windows, treat requests for a tty frame as
7129 if they were for a GUI frame if the running server is in GUI mode.
7130
5e605a2e
GM
71312011-12-03 Glenn Morris <rgm@gnu.org>
7132
7133 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7134
5c3fe83f
SM
71352011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7136
6f5e57e7
SM
7137 * electric.el: Streamline electric-indent's hook.
7138 (electric-indent-chars): Revert to simple list.
7139 (electric-indent-functions): New var.
7140 (electric-indent-post-self-insert-function): Use it.
7141
5c3fe83f
SM
7142 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7143 there's no inferior buffer (bug#10196).
7144 (prolog-consult-compile): Don't use toggle-read-only.
7145
6bdac736
MA
71462011-12-02 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7149 interrupt. (Bug#10187)
7150
6131ba7f
SM
71512011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7152
99c79fee
SM
7153 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7154 (bug#9160).
7155
6131ba7f
SM
7156 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7157 (bug#10191).
7158
cb0a02ea
JL
71592011-12-02 Juri Linkov <juri@jurta.org>
7160
7161 * info.el (Info-search): Display "end of manual" when Isearch
7162 reaches the end of single-file Info manual. (Bug#9918)
7163
66e0570c
EZ
71642011-12-02 Eli Zaretskii <eliz@gnu.org>
7165
7166 * isearch.el (isearch-message-prefix): Run the input method part
7167 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7168
02b16839
JL
71692011-12-02 Juri Linkov <juri@jurta.org>
7170
7171 * isearch.el (isearch-occur): Use `word-search-regexp' for
7172 `isearch-word'.
7173 (isearch-search-and-update): Add condition for `isearch-word' and
7174 call `word-search-regexp'. (Bug#10145)
7175
0b950688
GM
71762011-12-01 Glenn Morris <rgm@gnu.org>
7177
7178 * eshell/em-hist.el (eshell-hist-initialize):
7179 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7180 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7181
9505c3c7
SM
71822011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7185
1bbe96b2 71862011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7187
a1beca85
SM
7188 * progmodes/verilog-mode.el (verilog-pretty-expr):
7189 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7190 verilog, such as += *= and the like.
7191 (verilog-assignment-operator-re): Regular expression to find the
7192 assigment operator in a verilog assignment.
7193 (verilog-assignment-operation-re): Regular expression to find an
7194 assignment statement for pretty-expr.
7195 (verilog-in-attribute-p): Query returns true if point is in an
7196 attribute context; used to skip these for expression line up from
7197 pretty-expr.
7198 (verilog-in-parameter-p): Query returns true if point is in an
7199 parameter definition context; used to skip these for expression
7200 line up from pretty-expr.
7201 (verilog-in-parenthesis-p): Query returns true if point is in a
7202 parenthetical expression, specifically ( ) but not [ ] or { };
7203 used by pretty-expr.
7204 (verilog-just-one-space): If there is no space, don't add one.
7205 (verilog-get-lineup-indent-2): Specifically skip just attribute
7206 contexts for expression lineup, rather than skipping all
7207 parenthetical expressions.
7208 (verilog-calculate-indent): Fix comment, and fix indent.
7209 (verilog-do-indent): Indent declarations in lists (suggested by
7210 Joachim Lechner).
7211 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7212 skeleton items.
7213 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7214 by Alain Mellan).
7215
1bbe96b2 72162011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7217
7218 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7219 parameters with embedded comments. Reported by Ray Stevens.
7220 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7221 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7222 Reported by Tim Holt.
7223 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7224 instantiated by upper module causing wrong expansion until AUTOed a
7225 second time. Reported by K C Buckenmaier.
7226 (verilog-diff-auto): Fix showing .* as a difference when
7227 `verilog-auto-star-save' off. Reported by Dan Dever.
7228 (verilog-auto-reset, verilog-read-always-signals)
7229 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7230 temporary signals in reset list if
7231 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7232 style to each signal's assignment type, bug381.
7233 Reported by Thomas Esposito.
6288f0ca
WS
7234 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7235 (verilog-uvm-statement-re): Support UVM indentation and
7236 highlighting, with old OVM keywords only.
a1beca85 7237 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7238 Support AUTOTIEOFF creating non-wire data types.
7239 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7240 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7241 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7242 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7243 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7244 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7245 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7246 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7247 non-numeric vector width. Reported by Alex Reed.
7248 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7249 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7250 (verilog-auto-delete-trailing-whitespace):
7251 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7252 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7253 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7254 Fix verilog-scan-cache corruption when running user AUTO expansion
7255 hooks that call indentation routines.
7256 (verilog-simplify-range-expression): Fix typo ignoring lower case
7257 identifiers.
7258 (verilog-delete-auto): Fix delete-autos to also remove user created
7259 automatics, as long as they start with AUTO.
7260 (verilog-batch-diff-auto, verilog-diff-auto)
7261 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7262 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7263 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7264 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7265 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7266 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7267 is disabled and its cache will get corrupt, causing AUTOS not to
7268 expand. Instead use only -quick functions.
7269 (verilog-scan-region): Fix scanning over escaped quotes.
7270 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7271 (verilog-re-search-backward-quick)
7272 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7273 related functions now ignore strings, to fix misparsing of strings
7274 with magic comments embedded in them.
a1beca85
SM
7275 (verilog-read-auto-template):
7276 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7277 Reported by Brad Dobbie.
7278 (verilog-read-auto-template):
7279 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7280 Reported by Brad Dobbie.
6288f0ca
WS
7281 (verilog-auto-inst, verilog-auto-inst-param)
7282 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7283 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7284 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7285 debugging templates without merge conflicts, bug357.
7286 Reported by Brad Dobbie.
7287 (verilog-read-auto-template):
7288 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7289 Reported by Brad Dobbie.
7290 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7291 abbrevs so user won't be asked to save.
7292 (verilog-read-auto-lisp-present): Fix to start at beginning of
7293 buffer in case called outside of verilog-auto.
7294 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7295 to "X-2". Reported by Matthew Myers.
7296 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7297 all inputs from module templates. Reported by Leith Johnson.
7298 (verilog-module-inside-filename-p): Fix locating programs as with
7299 modules.
7300 (verilog-auto-inst-port): Fix vl-width expressions when using
7301 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7302 (verilog-decls-get-regs, verilog-decls-get-signals,
7303 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7304 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7305 verilog-read-decls): Combine reg and wire structures into one var
7306 structure to represent SystemVerilog concepts.
7307 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7308 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7309 (verilog-auto-wire-type, verilog-insert-definition):
7310 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7311 SystemVerilog "logic" keyword instead of "wire"/"reg".
7312 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7313 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7314 ifdef or generate if so there's not a driver conflict).
7315 Reported by Matthew Myers.
7316 (verilog-auto-declare-nettype, verilog-insert-definition):
7317 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7318 `default_nettype none. Reported by Julian Gorfajn.
7319 (verilog-read-always-signals-recurse, verilog-read-decls)
7320 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7321 malformed end statement, bug325. Reported by Joshua Wise and
7322 Andrew Drake.
7323 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7324 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7325 when expanding .* in interfaces, bug320.
7326 Reported by Pierre-David Pfister.
6288f0ca 7327 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7328 name and open parenthesis, bug317.
7329 Reported by Pierre-David Pfister.
6288f0ca
WS
7330 (verilog-simplify-range-expression): Fix simplification of
7331 multiplications inside AUTOWIRE connections, bug303.
7332 (verilog-auto-inst-port): Support parameter expansion in
7333 multidimensional arrays.
7334 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7335 after "assert property". Reported by Julian Gorfajn.
7336 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7337 with multiplication, bug303.
7338 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7339 Reported by Jan Frode Lonnum.
7340
1bbe96b2
GM
73412011-11-30 Juanma Barranquero <lekktu@gmail.com>
7342
7343 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7344 (hfy-shell-file-name, hfy-shell):
7345 * international/fontset.el (x-decompose-font-name): Fix typos.
7346
73472011-11-29 Ken Brown <kbrown@cornell.edu>
7348
7349 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7350 (gdb-version): Remove defvar.
7351 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7352 (gdb-gud-context-command, gdb-non-stop-handler)
7353 (gdb-current-context-command, gdb-stopped): Use it.
7354 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7355 (gdb-non-stop-handler): Don't enable pretty-printing here.
7356 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7357 non-stop mode. Use the following.
7358 (gdb-check-target-async): New defun.
7359 (gud-watch, gdb-stopped): Fix whitespace.
7360 (gdb-get-source-file): Don't try to display the source file if
7361 `gdb-main-file' is nil.
7362
73632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * align.el: Try to generate fewer markers (bug#10047).
7366 (align--set-marker): New macro.
7367 (align-region): Use it.
7368
c935221f
SM
73692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7372
e70b5064
CY
73732011-11-29 Chong Yidong <cyd@gnu.org>
7374
7375 * indent.el (indent-for-tab-command, indent-according-to-mode):
7376 Doc fix.
7377 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7378
f3af92b7
MA
73792011-11-29 Michael Albinus <michael.albinus@gmx.de>
7380
7381 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7382 aware of remote file names. (Bug#10124)
7383
ed472be9
CY
73842011-11-29 Chong Yidong <cyd@gnu.org>
7385
7386 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7387
24510c22
SM
73882011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * files.el (find-file): Don't use force-same-window (bug#10144).
7391 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7392 use pop-to-buffer if the selected window can't be used.
7393 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7394
c60c3703
EZ
73952011-11-28 Eli Zaretskii <eliz@gnu.org>
7396
7397 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7398 special-mode-map.
7399
e95def75
CY
74002011-11-28 Chong Yidong <cyd@gnu.org>
7401
7402 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7403
c3f1c606
NR
74042011-11-27 Nick Roberts <nickrob@snap.net.nz>
7405
7406 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7407 gdb-get-source-file-list on gdb-create-source-file-list.
7408
00db469c
EZ
74092011-11-26 Eli Zaretskii <eliz@gnu.org>
7410
7411 * whitespace.el (whitespace-newline): Use a different foreground
7412 color for 16-color light-background displays.
7413
4ad3bc2a
CY
74142011-11-24 Chong Yidong <cyd@gnu.org>
7415
7416 * window.el (display-buffer--special-action): Doc fix.
7417
e9fce1ac
JB
74182011-11-25 Juanma Barranquero <lekktu@gmail.com>
7419
7420 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7421 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7422 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7423 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7424 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7425 (avl-tree-stack-first):
7426 * emacs-lisp/cconv.el (cconv--analyse-use):
7427 * net/gnutls.el (gnutls-negotiate): Fix typos.
7428
cb825e5d
GM
74292011-11-24 Glenn Morris <rgm@gnu.org>
7430
3adbe224
GM
7431 * lpr.el (lpr-windows-system, lpr-lp-system):
7432 * mail/binhex.el (binhex-begin-line):
7433 * progmodes/grep.el (grep-history, grep-find-history):
7434 * textmodes/flyspell.el:
7435 * vc/pcvs-defs.el (cvs-global-menu):
7436 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7437 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7438 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7439
321decc8
GM
7440 * net/tls.el: Fix case of "GnuTLS".
7441
420b63ad
GM
7442 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7443
cb825e5d
GM
7444 * version.el (emacs-build-system): Give it a doc-string.
7445
a0649f08
JL
74462011-11-24 Juri Linkov <juri@jurta.org>
7447
7448 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7449
c0bc0fd4
GM
74502011-11-24 Glenn Morris <rgm@gnu.org>
7451
7452 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7453 if called on a non-mime message just toggle the headers. (Bug#8006)
7454
20db1522
JB
74552011-11-24 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7458 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7459 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7460 (allout-rebullet-heading, allout-open-sibtopic)
7461 (allout-toggle-current-subtree-encryption)
7462 (allout-toggle-subtree-encryption, allout-encrypt-string)
7463 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7464 (allout-distinctive-bullets-string, allout-auto-activation):
7465 * window.el (window-normalize-buffer-to-display):
7466 * progmodes/verilog-mode.el (verilog-batch-indent):
7467 * textmodes/bibtex.el (bibtex-field-braces-opt)
7468 (bibtex-field-strings-opt):
7469 * vc/cvs-status.el (cvs-tree-merge):
7470 Fix typos.
7471
7262a87c
MA
74722011-11-23 Michael Albinus <michael.albinus@gmx.de>
7473
7474 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7475 `non-essential' to t, in order to avoid remote connections.
7476
283430a1
EZ
74772011-11-23 Eli Zaretskii <eliz@gnu.org>
7478
a1beca85
SM
7479 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7480 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7481 case-insensitively.
7482
d2992a38
ML
74832011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7484
7485 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7486
50419064
GM
74872011-11-23 Glenn Morris <rgm@gnu.org>
7488
da94eca1
GM
7489 * paths.el (rmail-file-name): Reformat the doc-string so that it
7490 is picked up.
7491
9aac4de2
GM
7492 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7493 (rmail-auto-file): Ignore case in the "special" field names,
7494 as mail-fetch-field does for all others.
7495
8038d2d2
GM
7496 * mail/rmail.el (rmail-forward):
7497 * mail/rmailkwd.el (rmail-set-label):
7498 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7499 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7500
f3fe222a
GM
7501 * mail/rmail.el (rmail-current-message): Doc fix.
7502
50419064
GM
7503 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7504
28109f49
SM
75052011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7508
394c65f1
GM
75092011-11-22 Glenn Morris <rgm@gnu.org>
7510
7511 * mail/rmailmm.el (test-rmail-mime-handler)
7512 (test-rmail-mime-bulk-handler)
7513 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7514
f2a0aa3a
JL
75152011-11-21 Juri Linkov <juri@jurta.org>
7516
1154d12e
JB
7517 * calc/calc.el (calc-read-key-sequence):
7518 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7519
9c34a344
LMI
75202011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7521
7522 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7523 Tell the caller that the next line needs recomputation, even
7524 though it doesn't start a sexp (bug#10094).
7525
f04a3be9
SM
75262011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7529
7978747f
SM
75302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7531
f04a3be9
SM
7532 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7533 Use force-same-window.
7978747f 7534
fe7a3057
JB
75352011-11-20 Juanma Barranquero <lekktu@gmail.com>
7536
7537 * descr-text.el (describe-char-unicode-data):
7538 * json.el (json-string-escape):
7539 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7540 (Footnote-unicode, Footnote-style-p):
7541 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7542
24901d61
CY
75432011-11-20 Chong Yidong <cyd@gnu.org>
7544
7545 * window.el (replace-buffer-in-windows): Restore interactive spec.
7546
bac7ff22
SM
75472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7548
24f3d7b9
SM
7549 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7550
bac7ff22
SM
7551 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7552 (byte-compile-global-not-obsolete-vars): New var.
7553 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7554 Use it.
7555 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7556
cd1181db
JB
75572011-11-20 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7560 * progmodes/pascal.el (electric-pascal-equal):
7561 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7562 * xml.el (xml-substitute-special): Fix typos.
7563
7fb18e9e
GM
75642011-11-20 Glenn Morris <rgm@gnu.org>
7565
7566 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7567 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7568 Doc fixes.
7569 (rmail-decode-mime-charset): Mark as obsolete.
7570
7571 * mail/rmailsum.el (rmail-message-regexp-p-1):
7572 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7573 Before using mime functions, check they are set. (Bug#10077)
7574
d5a6b3ba
JL
75752011-11-19 Juri Linkov <juri@jurta.org>
7576
7577 * info.el (Info-finder-find-node): Use `package--builtins' instead
7578 of `package-alist'. Use node names formed by the pattern "Keyword "
7579 and the keyword name.
7580
e981b61f
AS
75812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7582
1d00653d 7583 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7584
3ffbc301
JL
75852011-11-19 Juri Linkov <juri@jurta.org>
7586
7587 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7588 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7589 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7590 `old-history', `old-history-forward'. Add let-binding
7591 `window-selected'. Remove calls to `kill-buffer',
7592 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7593 before calling `Info-find-node', so `Info-find-node-2' will reread
7594 the Info file. Restore window positions only when `window-selected'
7595 is non-nil.
7596
30c62133
JL
75972011-11-19 Juri Linkov <juri@jurta.org>
7598
7599 * isearch.el (isearch-lazy-highlight-new-loop):
7600 Remove condition `(not isearch-error)'. (Bug#9918)
7601
7602 * misearch.el (multi-isearch-search-fun): Add condition
7603 `(not bound)' to ignore lazy-highlighting search.
7604 Add the search-failed message "end of multi" when the end of
7605 multi-sequence is reached. Uncapitalize the search-failed
7606 message "Repeat for next buffer".
7607
7608 * info.el (Info-search): Add the search-failed message
7609 "end of the manual" when the end of the manual is reached
7610 in Isearch mode.
7611
645ca9cf
JL
76122011-11-19 Juri Linkov <juri@jurta.org>
7613
7614 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7615 Use non-destructive `remove' instead of `delete' because
7616 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7617 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7618
df754f66
JL
76192011-11-19 Juri Linkov <juri@jurta.org>
7620
7621 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7622 to nil instead of binding `search-ring' and `regexp-search-ring'.
7623 (Bug#9185)
7624
0e23d96a
EZ
76252011-11-19 Eli Zaretskii <eliz@gnu.org>
7626
7627 * simple.el (line-move): Force movement by logical lines for any
7628 hscrolled window, not only when auto-hscroll-mode is on.
7629 (line-move-visual): Update doc string to that effect. (Bug#10076)
7630
8a6ccb66
AS
76312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7632
7633 * language/european.el (macintosh): Define as alias for mac-roman.
7634
49ae5b39
EZ
76352011-11-19 Eli Zaretskii <eliz@gnu.org>
7636
7637 * mail/rmailmm.el (rmail-mime-display-header)
7638 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7639 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7640 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7641 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7642 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7643 of a raw aref.
7644 (rmail-mime-entity-segment): To get past the tagline, move forward
7645 2 more lines, to account for the 2 empty lines that precede and
7646 follow the line with the buttons.
7647 (rmail-mime-update-tagline): Move one more line, to get past the
7648 empty line that follows the buttons in the tagline. (Bug#9520)
7649
c56cad4a
MR
76502011-11-19 Martin Rudalics <rudalics@gmx.at>
7651
7652 * window.el (window-max-delta-1, window-min-delta-1)
7653 (window-min-size-1, window-state-get-1, window-state-put-1)
7654 (window-state-put-2): Use "window--" prefix.
7655
cbe71af3
SM
76562011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7657
2ad52c60
SM
7658 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7659 (smie-warning-count): New var.
7660 (smie-set-prec2tab): Use it.
7661 (smie-bnf->prec2): Improve warnings. Add docstring.
7662 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7663 (smie-bnf--set-class): New function.
7664 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7665 corner case.
7666
6944dbc1
SM
7667 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7668 (compilation-error-properties, compilation-move-to-column):
7669 Handle compilation-first-column while in the target buffer.
7670
c400c4d7
SM
7671 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7672 Don't hardcode point-min==1.
7673
6dbe3e96
SM
7674 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7675 (eshell-rewrite-for-command): Remove workaround.
7676 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7677 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7678 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7679
cbe71af3
SM
7680 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7681
a8e1496d
GM
76822011-11-17 Glenn Morris <rgm@gnu.org>
7683
7684 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7685 Ignore buffer-local generated-autoload-file if it is the same
7686 as the global value. (Bug#10049)
7687
df85d315
JB
76882011-11-17 Juanma Barranquero <lekktu@gmail.com>
7689
7690 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7691 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7692 (reftex-toc-previous-heading, reftex-toc-max-level)
7693 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7694 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7695 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7696 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7697 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7698 (reftex-toc-rename-label, reftex-toc-visit-location)
7699 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7700 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7701 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7702 leaving "*toc*" only for references to the buffer.
7703
a0c2d0ae
MR
77042011-11-17 Martin Rudalics <rudalics@gmx.at>
7705
7706 * window.el (window-resize, delete-window, split-window):
7707 Replace window-splits by window-combination-resize.
1d00653d 7708 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7709
35c0bac8
GM
77102011-11-17 Glenn Morris <rgm@gnu.org>
7711
7712 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7713 Make bash entry derive from sh entry, not shell entry.
7714
d0c8fc8a
MA
77152011-11-16 Michael Albinus <michael.albinus@gmx.de>
7716
7262a87c
MA
7717 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7718 local file name.
7719
7877f373
JB
77202011-11-16 Juanma Barranquero <lekktu@gmail.com>
7721
7722 * menu-bar.el (menu-bar-file-menu):
7723 * printing.el (pr-ps-utility):
7724 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7725 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7726 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7727 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7728 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7729 (icalendar--convert-cyclic-to-ical)
7730 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7731 (icalendar--convert-ical-to-diary)
7732 (icalendar--convert-recurring-to-diary)
7733 (icalendar--convert-non-recurring-all-day-to-diary)
7734 (icalendar-import-format-sample):
7735 * progmodes/idlw-shell.el (idlwave-shell-mode):
7736 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7737 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7738 (vhdl-ps-print-init): Fix typos.
7739
10649b82
KM
77402011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7741
9d0cfcd6
GM
7742 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7743 FSF and collapse date sequence, obscure author/maintainer email address
7744 better, remove extra version line, track relocation of author's webpage.
10649b82 7745
9d0cfcd6
GM
7746 * progmodes/python.el (python-pdbtrack-input-prompt)
7747 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7748 regular python pdb prompts. Adjustments shamelessly taken exactly as
7749 suggested in EmacsWiki page (tiny change):
7750 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7751
58179cce
JB
77522011-11-16 Juanma Barranquero <lekktu@gmail.com>
7753
7754 * expand.el (expand-pos, expand-index, expand-point):
7755 Remove redundant info from docstring.
7756 (expand-add-abbrevs): Doc fix.
7757 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7758 (expand-sample-perl-mode-expand-list): Fix typos.
7759
7760 * net/dbus.el (dbus-event-member-name):
7761 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7762 * term/pc-win.el (msdos-create-frame-with-faces):
7763 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7764
b6f67890
MR
77652011-11-16 Martin Rudalics <rudalics@gmx.at>
7766
7767 * window.el (split-window, window-state-get-1)
7768 (window-state-put-1, window-state-put-2): Rename occurrences of
7769 window-nest to window-combination-limit.
1d00653d 7770 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7771
ce7ddba0
CY
77722011-11-16 Chong Yidong <cyd@gnu.org>
7773
7774 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7775 regexp (Bug#10033).
7776
3ae704f4
SM
77772011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7780 `completing-read' will remove *Completions* and will preserve
7781 current-buffer for us.
7782 (tmm-add-prompt): Users of *Completions* will always (re)set its
7783 major mode.
7784 (tmm-old-comp-map): Remove.
7785
6ad1cdde
GM
77862011-11-16 Glenn Morris <rgm@gnu.org>
7787
7788 * mail/rmailedit.el: Require rmailmm when compiling.
7789 (rmail-old-mime-state): New declaration.
7790 (rmail-edit-current-message): If editing a mime message,
7791 edit the "raw" message from the mbox buffer.
7792 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7793
d20faa20
GM
77942011-11-15 Glenn Morris <rgm@gnu.org>
7795
7796 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7797 which wasn't being used. Add optional arg to force given state.
7798 (rmail-mime): Add optional arg to force given state.
7799
c7015153
JB
78002011-11-15 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7803 * frame.el (display-mm-dimensions-alist):
7804 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7805 (outline-move-subtree-down):
7806 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7807 (newsticker--treeview-do-get-node):
7808 * net/quickurl.el (quickurl-list-buffer-name):
7809 * progmodes/dcl-mode.el (dcl-mode):
7810 * progmodes/gdb-mi.el (gdb-mapcar*):
7811 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7812
45261b50
GM
78132011-11-15 Glenn Morris <rgm@gnu.org>
7814
7815 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7816 in a boolean sense, so just make it a boolean, and fix the doc.
7817 (rmail-show-mime-function, rmail-mime-feature)
7818 (rmail-require-mime-maybe): Doc fixes.
7819 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7820
7821 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7822
0d26e0b6
JB
78232011-11-15 Juanma Barranquero <lekktu@gmail.com>
7824
7825 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7826 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7827 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7828 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7829
447f30f6
GM
78302011-11-15 Glenn Morris <rgm@gnu.org>
7831
672b871d
GM
7832 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7833 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7834 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7835 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7836 (rmail-mime, rmail-show-mime): Doc fixes.
7837
f6aa5bb1
GM
7838 * term/ns-win.el (mode-line-frame-identification):
7839 Leave it alone. (Bug#10051)
7840
947cd66b
GM
7841 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7842
447f30f6
GM
7843 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7844 Handle empty buffers. (Bug#9978)
7845
0b381c7e
JB
78462011-11-14 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * international/mule.el (define-charset):
7849 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7850 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7851 * progmodes/verilog-mode.el (verilog-backward-token):
7852 * textmodes/ispell.el (lookup-words):
7853 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7854
71e027ac
GM
78552011-11-14 Glenn Morris <rgm@gnu.org>
7856
56632ce4
GM
7857 * progmodes/executable.el
7858 (executable-make-buffer-file-executable-if-script-p):
7859 Handle file-modes returning nil.
7860
40500957
GM
7861 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7862 message - not necessary, and causes problems. (Bug#9831)
7863
071c2340
GM
7864 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7865
d3cfca60
GM
7866 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7867
71e027ac
GM
7868 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7869 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7870 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7871
89d61221
MR
78722011-11-12 Martin Rudalics <rudalics@gmx.at>
7873
7874 * window.el (window-resize, delete-window): Use window-splits
7875 variable instead of function.
7876 (window-state-get-1, window-state-put-2, window-state-put):
7877 Don't deal with windows' splits status.
7878
98282f6f
GM
78792011-11-12 Glenn Morris <rgm@gnu.org>
7880
7881 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7882 (apropos-documentation): Doc fixes.
7883
40a8bdf6
JB
78842011-11-11 Juanma Barranquero <lekktu@gmail.com>
7885
7886 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7887 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7888
65bd19ff
SM
78892011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * electric.el (electric-indent-post-self-insert-function): Make it
7892 possible for a char to only indent in some circumstances.
7893 (electric-indent-mode): Simplify.
7894
54f9154c
MR
78952011-11-11 Martin Rudalics <rudalics@gmx.at>
7896
7897 * window.el (windows-with-parameter): Remove unused function.
7898 (windows-at-side): Rename to window-at-side-list.
7899 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7900 (window-side-check, window-size-ignore, window-size-fixed-1)
7901 (window-in-direction-2): Prefix with "window--".
7902 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7903
68cbc58b
GM
79042011-11-11 Glenn Morris <rgm@gnu.org>
7905
7906 * subr.el (eval-after-load): If FILE is already loaded,
7907 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7908
b2621720
GM
79092011-11-10 Glenn Morris <rgm@gnu.org>
7910
9a4de110
GM
7911 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7912 Call svn via vc-svn-command rather than vc-do-command.
7913 (vc-svn-command): Add --non-interactive. (Bug#9993)
7914 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7915
b2621720
GM
7916 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7917 Add toggle-read-only. (Bug#7292)
7918 * files.el (toggle-read-only): Mention that it should only
7919 be used interactively. (Bug#10006)
7920
1dce7193
SM
79212011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7922
d9ac1a1e
SM
7923 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7924 Adjust regexp for OCaml warnings.
7925
0c325082
SM
7926 * electric.el (electric-pair-post-self-insert-function): Let user
7927 turn it off buffer-locally (bug#9932).
7928
90132c14
SM
7929 * progmodes/python.el (python-beginning-of-statement):
7930 Rewrite (bug#2703).
7931
1dce7193
SM
7932 * progmodes/compile.el: Better handle TABs (bug#9749).
7933 (compilation-internal-error-properties)
7934 (compilation-next-error-function): Obey the target buffer's
7935 compilation-error-screen-columns.
7936
c4e7c63a
JB
79372011-11-09 Juanma Barranquero <lekktu@gmail.com>
7938
7939 * progmodes/meta-mode.el: Remove obsolete comments.
7940 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7941 Fix typos in docstrings.
7942
2cffd681
MR
79432011-11-09 Martin Rudalics <rudalics@gmx.at>
7944
7945 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7946 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7947 (window--resizable): New function. Make all callers of
7948 window-resizable call window--resizable instead.
7949 (window-resizable): Rewrite in terms of window--resizable.
7950
0edcba87
GM
79512011-11-08 Glenn Morris <rgm@gnu.org>
7952
7953 * progmodes/delphi.el (delphi-mode-syntax-table):
7954 Let define-derived-mode define a proper syntax table. (Bug#9994)
7955
4b0d61e3
SM
79562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * window.el: Stay away from defsubst.
7959 (window-list-no-nils): Remove.
7960 (window-state-get-1, window-state-get): Use backquote instead.
7961
cd394be1 79622011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7963
4b0d61e3 7964 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7965 Fix incorrect use of default argument in `completing-read'.
7966
e1c2c6f2
MR
79672011-11-08 Martin Rudalics <rudalics@gmx.at>
7968
7969 * window.el (display-buffer-function, special-display-function):
7970 Mention display-buffer-record-window but do not mention
7971 help-setup parameter in doc-strings.
b3f4a882 7972 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7973
105216ed
CY
79742011-11-08 Chong Yidong <cyd@gnu.org>
7975
7976 * window.el (window-total-height, window-total-width): Doc fix.
7977 (window-body-size): Move from C.
7978 (window-body-height, window-body-width): Move to C.
7979
0a9f9ab5
SM
79802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * window.el: Make special-display like display-buffer-alist (bug#9532).
7983 (display-buffer--special-action): New function, morphed
7984 from display-buffer--special.
7985 (display-buffer): Use it to handle special-display-buffers at higher
7986 priority (just after display-buffer-alist).
7987 (display-buffer-fallback-action, display-buffer--other-frame-action)
7988 (pop-to-buffer-same-window): Remove display-buffer--special.
7989
a769dd15
GM
79902011-11-07 Glenn Morris <rgm@gnu.org>
7991
7992 * calendar/cal-menu.el (cal-menu-set-date-title):
7993 Do nothing if not in a calendar. (Bug#9976)
7994
05a61ee3
SM
79952011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * files.el (find-file): Always use selected-window.
7998
be7f5545
MR
79992011-11-07 Martin Rudalics <rudalics@gmx.at>
8000
8001 * window.el (window-combinations): Make WINDOW argument
8002 mandatory. Rewrite doc-string.
8003 (walk-window-subtree, window-atom-check, window-min-delta)
8004 (window-max-delta, window--resize-this-window)
8005 (window--resize-root-window-vertically, window-tree)
8006 (balance-windows, window-state-put): Rewrite doc-strings as to
8007 not mention the term "subwindow".
8008 (window--resize-subwindows-skip-p): Rename to
8009 window--resize-child-windows-skip-p.
8010 (window--resize-subwindows-normal): Rename to
8011 window--resize-child-windows-normal.
8012 (window--resize-subwindows): Rename to
8013 window--resize-child-windows.
8014 (window-or-subwindow-p): Rename to window--in-subtree-p.
8015
3c6702ef
ML
80162011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8017
8018 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8019 Ensure that mbox format messages end in two newlines (Bug#9974).
8020
49745b39
CY
80212011-11-06 Chong Yidong <cyd@gnu.org>
8022
8023 * window.el (window-combination-p): Function deleted; its
8024 side-effect is not used in any existing code.
8025 (window-combinations, window-combined-p): Call window-*-child
8026 directly.
8027
24300f5f
CY
80282011-11-05 Chong Yidong <cyd@gnu.org>
8029
8030 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8031 (window-size-ignore, window-state-get): Callers changed.
8032 (window-normalize-window): Rename from window-normalize-any-window.
8033 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8034 (window-normalize-live-window): Delete.
447f16b8
CY
8035 (window-combination-p, window-combined-p, window-combinations)
8036 (walk-window-subtree, window-atom-root, window-min-size)
8037 (window-sizable, window-sizable-p, window-size-fixed-p)
8038 (window-min-delta, window-max-delta, window-resizable)
8039 (window-resizable-p, window-full-height-p, window-full-width-p)
8040 (window-current-scroll-bars, window-point-1, set-window-point-1)
8041 (window-at-side-p, window-in-direction, window-resize)
8042 (adjust-window-trailing-edge, maximize-window, minimize-window)
8043 (window-deletable-p, delete-window, delete-other-windows)
8044 (record-window-buffer, unrecord-window-buffer)
8045 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8046 (quit-window, split-window, window-state-put)
8047 (set-window-text-height, fit-window-to-buffer)
8048 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8049
89bd5ee1
EZ
80502011-11-04 Eli Zaretskii <eliz@gnu.org>
8051
53479029
EZ
8052 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8053 rfc2047-decode-string.
8054 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8055 warnings.
8056
89bd5ee1
EZ
8057 * window.el (window-body-height, window-body-width): Mention in
8058 the doc string that the return values are in frame's canonical
8059 units. (Bug#9949)
8060
bd17fdee
AM
80612011-11-03 Alan Mackenzie <acm@muc.de>
8062
8063 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8064 change in cc-engine.el.
8065
acc825c5
SM
80662011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8069
1885e5b8
MR
80702011-11-02 Martin Rudalics <rudalics@gmx.at>
8071
8072 * window.el (quit-window): Call unrecord-window-buffer after
8073 showing another buffer in the window. (Bug#9937)
acc825c5 8074 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8075
ebe06da9
JB
80762011-11-02 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8079 Accept status with more than 9 shelves. (Bug#9935)
8080 Reported by Colin D Bennett <colin@gibibit.com>.
8081
4ee88440
MR
80822011-11-01 Martin Rudalics <rudalics@gmx.at>
8083
8084 * help.el (with-help-window): Don't reference
8085 temp-buffer-show-specifiers in doc-string.
8086
08e1d82c
AS
80872011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8088
8089 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8090 menu-item.
8091
84bd6e9e
VJL
80922011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8093
8094 * whitespace.el: New version 13.2.2.
8095 (whitespace-newline-mode): Disable properly. Reported by Sarah
8096 <EmacsWiki>.
8097
dba0634a
UJ
80982011-10-30 Ulf Jasper <ulf.jasper@web.de>
8099
8100 * net/newst-treeview.el: Remove "Time-stamp".
8101 (newsticker--group-manage-orphan-feeds): Do not call
8102 newsticker--treeview-tree-update.
db22a3c2
JB
8103 (newsticker-treeview-update, newsticker-treeview):
8104 Call newsticker--treeview-tree-update if necessary.
dba0634a 8105
3d8daefe
MR
81062011-10-30 Martin Rudalics <rudalics@gmx.at>
8107
8108 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8109 (window-iso-combinations): Remove "iso-" infix.
8110 Suggested by Chong Yidong.
3d8daefe
MR
8111 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8112 (window-max-delta-1, window-resize, window--resize-siblings)
8113 (window--resize-this-window, adjust-window-trailing-edge)
8114 (split-window, balance-windows-1)
8115 (shrink-window-if-larger-than-buffer):
8116 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8117 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8118
1bc4c3ae
SM
81192011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8122 in place (bug#9907).
8123 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8124 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8125 (eshell-structure-basic-command, eshell-rewrite-while-command)
8126 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8127 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8128 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8129 (eshell-do-pipelines-synchronously, eshell-eval-command):
8130 Use backquotes and prefer setq to set.
8131 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8132 (eshell-macrop): Use functionp.
c1e2f5fa 8133 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8134
30b65d9c
CY
81352011-10-30 Chong Yidong <cyd@gnu.org>
8136
8137 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8138 instead of set-mark (Bug#9810).
8139
2d197ffb
CY
81402011-10-30 Chong Yidong <cyd@gnu.org>
8141
8142 * window.el (split-window-below, split-window-right): Rename from
8143 split-window-above-each-other and split-window-side-by-side
8144 respectively. All callers changed.
8145 (split-window-sensibly, split-window-sensibly): Use them.
8146 (split-window-keep-point): Doc fix.
8147
8148 * isearch.el: Add isearch-scroll property to split-window-below
8149 and split-window-right.
8150
8151 * follow.el (follow-mode):
8152 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8153 * progmodes/ada-xref.el (ada-gdb-application):
8154 * emulation/vip.el (vip-buffer-in-two-windows):
8155 * image-dired.el (image-dired-dired-with-window-configuration):
8156 * dired-x.el (dired-do-find-marked-files):
8157 * dired.el (dired-pop-to-buffer):
8158 * bs.el (bs--show-with-configuration):
8159 * vc/emerge.el (emerge-setup-windows):
8160 * textmodes/two-column.el (2C-two-columns):
8161 * textmodes/reftex-toc.el (reftex-toc):
8162 * progmodes/gdb-mi.el (gdb-setup-windows):
8163 * progmodes/fortran.el (fortran-window-create):
8164 * net/newst-treeview.el (newsticker--treeview-window-init):
8165 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8166 * emulation/tpu-edt.el (tpu-gold-map):
8167 * emulation/crisp.el (crisp-mode-map):
8168 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8169
38bb2ca8
CY
81702011-10-29 Chong Yidong <cyd@gnu.org>
8171
aa4de341
CY
8172 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8173
e1eb5385
CY
8174 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8175
5d2ece3c
CY
8176 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8177 forged Ispell output (Bug#7904).
8178
38bb2ca8
CY
8179 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8180
d0af9f77
SM
81812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * doc-view.el: Avoid ugly errors about not finding nil.
8184 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8185 (doc-view-dvipdf-program, doc-view-unoconv-program)
8186 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8187 Avoid nil or absolute file name as default value.
8188 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8189
52bedd34
AM
81902011-10-28 Alan Mackenzie <acm@muc.de>
8191
db22a3c2 8192 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8193
7e43cfa5
AM
81942011-10-28 Alan Mackenzie <acm@muc.de>
8195
8196 Amend the handling of c-beginning/end-of-defun in nested declaration
8197 scopes.
8198
52bedd34
AM
8199 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8200 cc-langs.el. Change it to a defcustom.
7e43cfa5 8201
52bedd34
AM
8202 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8203 cc-vars.el.
7e43cfa5 8204
d0af9f77
SM
8205 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8206 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8207
52bedd34 8208 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8209 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8210 (c-widen-to-enclosing-decl-scope): New function.
8211 (c-while-widening-to-decl-block): New macro.
8212 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8213 outward for defun boundaries, and correspondingly change symbol
8214 `respect-enclosure' to `go-outward'.
8215 (c-declaration-limits): Change algorithm to report only the "innermost"
8216 defun's boundaries.
8217
1a2ce9ee
DD
82182011-10-28 Deniz Dogan <deniz@dogan.se>
8219
8220 * net/rcirc.el (rcirc-mode): Use hard newlines.
8221
bc97a826
AM
82222011-10-28 Alan Mackenzie <acm@muc.de>
8223
8224 Amend to indent and fontify macros "which include their own semicolon"
8225 correctly, using the "virtual semicolon" mechanism.
8226
52bedd34 8227 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8228
d0af9f77 8229 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8230 Recode to scan one line at a time rather than having \n and \r
58179cce 8231 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8232 (c-forward-label): Amend for virtual semicolons.
58179cce 8233 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8234
52bedd34
AM
8235 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8236 of the new C macros.
bc97a826 8237
52bedd34 8238 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8239 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8240 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8241 (c-opt-cpp-macro-define): Make into a full language variable.
8242 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8243 AWK Mode (including \n, \r) removed, no longer needed.
8244
d0af9f77
SM
8245 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8246 Invoke c-make-macro-with-semi-re.
bc97a826 8247
52bedd34
AM
8248 * progmodes/cc-vars.el (c-macro-with-semi-re):
8249 (c-macro-names-with-semicolon): New variables.
58179cce 8250 (c-make-macro-with-semi-re): New function.
bc97a826 8251
7a6c0941
SM
82522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * vc/log-edit.el: Fill empty field rather than adding new one.
8255 (log-edit-add-field): New function.
8256 (log-edit-insert-changelog): Use it.
8257
b0c4cdcf
ML
82582011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8259
8260 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8261
ee1f1da9
SM
82622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8265 (gdb--check-interpreter): New function.
8266 (gdb): Use it.
8267
51bc5f8b
GM
82682011-10-27 Glenn Morris <rgm@gnu.org>
8269
416a2c45
GM
8270 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8271 (least-positive-float, least-negative-float)
8272 (least-positive-normalized-float, least-negative-normalized-float)
8273 (float-epsilon, float-negative-epsilon):
8274 Remove unnecessary declarations.
8275
8276 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8277 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8278 (least-positive-float, least-negative-float)
8279 (least-positive-normalized-float, least-negative-normalized-float)
8280 (float-epsilon, float-negative-epsilon): Add doc-strings,
8281 based on those in cl.texi.
8282
51bc5f8b
GM
8283 * files.el (set-visited-file-name): If the major-mode changed,
8284 reload the local variables. (Bug#9796)
8285
15de15c6
CY
82862011-10-27 Chong Yidong <cyd@gnu.org>
8287
8288 * subr.el (change-major-mode-after-body-hook): New hook.
8289 (run-mode-hooks): Run it.
8290
ee1f1da9
SM
8291 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8292 Use change-major-mode-before-body-hook.
15de15c6
CY
8293
8294 * simple.el (fundamental-mode):
8295 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8296 change introducing fundamental-mode-hook.
8297
5430d399
JB
82982011-10-26 Juanma Barranquero <lekktu@gmail.com>
8299
acc825c5 8300 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8301
ad74a69e
MA
83022011-10-26 Michael Albinus <michael.albinus@gmx.de>
8303
8304 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8305 tramp.el explicitly. (Bug#7583)
ad74a69e 8306
71d4c2a5
SM
83072011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * progmodes/octave-mod.el:
8310 * progmodes/octave-inf.el: Update maintainer.
8311
b1f6fa26
CY
83122011-10-26 Chong Yidong <cyd@gnu.org>
8313
8314 * subr.el (with-wrapper-hook): Rewrite doc.
8315
3f04efd6
MA
83162011-10-25 Michael Albinus <michael.albinus@gmx.de>
8317
8318 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8319 filenames "/method:foo:". (Bug#9793)
3f04efd6 8320
410488d3
SM
83212011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8324 (bug#9865).
8325
c1ebb47e
GM
83262011-10-24 Glenn Morris <rgm@gnu.org>
8327
8328 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8329
7f5c46c7
MA
83302011-10-24 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * notifications.el: Add the requirement of a running D-Bus session
8333 bus to the Commentary.
8334
db2440b6
JL
83352011-10-24 Juri Linkov <juri@jurta.org>
8336
8337 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8338 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8339 (Bug#9364)
8340
feecf435
JL
83412011-10-24 Juri Linkov <juri@jurta.org>
8342
8343 * info.el (Info-following-node-name-re): Add newline to the list
8344 of allowed characters for leading space. (Bug#9824)
8345
a3839de2
SM
83462011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8347
acc825c5
SM
8348 * progmodes/octave-inf.el (inferior-octave-mode-map):
8349 Fix C-c C-h binding.
a3839de2
SM
8350 * progmodes/octave-mod.el (octave-help): Remove.
8351
09388e76
MA
83522011-10-23 Michael Albinus <michael.albinus@gmx.de>
8353
8354 Sync with Tramp 2.2.3.
8355
8356 * net/tramp-cache.el (top): Pacify byte-compiler using
8357 `init-file-user' and `site-run-file'.
8358
8359 * net/trampver.el: Update release number.
8360
86c60681
CY
83612011-10-23 Chong Yidong <cyd@gnu.org>
8362
8363 * files.el (toggle-read-only): Remove obsolete comment about
8364 version control.
8365
8366 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8367 for toggle-read-only. Note that this hasn't called vc-next-action
8368 since 2008-05-02, though it wasn't documented at the time.
8369
a3839de2
SM
8370 * vc/ediff-init.el (ediff-toggle-read-only-function):
8371 Use toggle-read-only.
86c60681 8372
cd5495ff
AM
83732011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8374
8375 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8376 of c-parse-state.
8377
00b77525 8378 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8379 correct faulty logical expression.
cd5495ff
AM
8380 (c-parse-state-state, c-record-parse-state-state):
8381 (c-replay-parse-state-state): New defvar/defuns.
8382 (c-debug-parse-state): Use new functions.
8383
42ee24ed
MR
83842011-10-22 Martin Rudalics <rudalics@gmx.at>
8385
8386 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8387 last fix. Use window-in-direction correctly.
42ee24ed 8388
a7dee7e7
CY
83892011-10-21 Chong Yidong <cyd@gnu.org>
8390
8391 * progmodes/idlwave.el (idlwave-mode):
8392 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8393 require-final-newline; that's done in prog-mode.
8394 Suggested by Stefan Monnier.
a7dee7e7 8395
e07b9a6d
MR
83962011-10-21 Martin Rudalics <rudalics@gmx.at>
8397
8398 * mouse.el (mouse-drag-window-above)
8399 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8400 (mouse-drag-mode-line-1, mouse-drag-header-line)
8401 (mouse-drag-vertical-line-rightward-window): Remove.
8402 (mouse-drag-line): New function.
8403 (mouse-drag-mode-line, mouse-drag-header-line)
8404 (mouse-drag-vertical-line): Call mouse-drag-line.
8405 * window.el (window-at-side-p, windows-at-side): New functions.
8406
7e1361d9
UM
84072011-10-21 Ulrich Mueller <ulm@gentoo.org>
8408
8409 * tar-mode.el (tar-grind-file-mode):
8410 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8411
30fcaf3a
CY
84122011-10-21 Chong Yidong <cyd@gnu.org>
8413
8414 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8415 * progmodes/vera-mode.el (vera-mode):
8416 Use mode-require-final-newline.
30fcaf3a 8417
516eddb0
GM
84182011-10-20 Glenn Morris <rgm@gnu.org>
8419
db22a3c2 8420 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8421
10d5f513
CS
84222011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8423
8424 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8425
ac6c8639
CY
84262011-10-20 Chong Yidong <cyd@gnu.org>
8427
8428 * emulation/cua-base.el (cua-mode):
8429 * mail/footnote.el (footnote-mode):
8430 * mail/mailabbrev.el (mail-abbrevs-mode):
8431 * net/xesam.el (xesam-minor-mode):
8432 * progmodes/bug-reference.el (bug-reference-mode):
8433 * progmodes/cap-words.el (capitalized-words-mode):
8434 * progmodes/compile.el (compilation-minor-mode)
8435 (compilation-shell-minor-mode):
8436 * progmodes/gud.el (gud-tooltip-mode):
8437 * progmodes/hideif.el (hide-ifdef-mode):
8438 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8439 * progmodes/subword.el (subword-mode):
8440 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8441 * progmodes/which-func.el (which-function-mode):
8442 * term/tvi970.el (tvi970-set-keypad-mode):
8443 * term/vt100.el (vt100-wide-mode):
8444 * textmodes/flyspell.el (flyspell-mode):
8445 * textmodes/ispell.el (ispell-minor-mode):
8446 * textmodes/nroff-mode.el (nroff-electric-mode):
8447 * textmodes/paragraphs.el (use-hard-newlines):
8448 * textmodes/refill.el (refill-mode):
8449 * textmodes/reftex.el (reftex-mode):
8450 * textmodes/rst.el (rst-minor-mode):
8451 * textmodes/sgml-mode.el (html-autoview-mode)
8452 (sgml-electric-tag-pair-mode):
8453 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8454 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8455 * emulation/crisp.el (crisp-mode):
8456 * emacs-lisp/eldoc.el (eldoc-mode):
8457 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8458 minor mode behavior.
8459
aa42ab43
JL
84602011-10-19 Juri Linkov <juri@jurta.org>
8461
8462 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8463 the list of hard-coded chars with escape-glyph face.
8464
89400f1d
SM
84652011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8468
305c07f6
MA
84692011-10-19 Michael Albinus <michael.albinus@gmx.de>
8470
8471 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8472 running process.
8473
13754b54
GM
84742011-10-19 Glenn Morris <rgm@gnu.org>
8475
8476 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8477 Ignore ignored files. (Bug#9726)
8478
06e21633
CY
84792011-10-19 Chong Yidong <cyd@gnu.org>
8480
8481 Doc fix for minor modes, stating that an omitted argument enables
8482 the mode unconditionally when called from Lisp.
8483
8484 * abbrev.el (abbrev-mode):
8485 * allout.el (allout-mode):
8486 * autoinsert.el (auto-insert-mode):
8487 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8488 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8489 (global-auto-revert-mode):
8490 * battery.el (display-battery-mode):
8491 * composite.el (global-auto-composition-mode)
8492 (auto-composition-mode):
8493 * delsel.el (delete-selection-mode):
8494 * desktop.el (desktop-save-mode):
8495 * dired-x.el (dired-omit-mode):
8496 * dirtrack.el (dirtrack-mode):
8497 * doc-view.el (doc-view-minor-mode):
8498 * double.el (double-mode):
8499 * electric.el (electric-indent-mode, electric-pair-mode):
8500 * emacs-lock.el (emacs-lock-mode):
8501 * epa-hook.el (auto-encryption-mode):
8502 * follow.el (follow-mode):
8503 * font-core.el (font-lock-mode):
8504 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8505 * help.el (temp-buffer-resize-mode):
8506 * hilit-chg.el (highlight-changes-mode)
8507 (highlight-changes-visible-mode):
8508 * hi-lock.el (hi-lock-mode):
8509 * hl-line.el (hl-line-mode, global-hl-line-mode):
8510 * icomplete.el (icomplete-mode):
8511 * ido.el (ido-everywhere):
8512 * image-file.el (auto-image-file-mode):
8513 * image-mode.el (image-minor-mode):
8514 * iswitchb.el (iswitchb-mode):
8515 * jka-cmpr-hook.el (auto-compression-mode):
8516 * linum.el (linum-mode):
8517 * longlines.el (longlines-mode):
8518 * master.el (master-mode):
8519 * mb-depth.el (minibuffer-depth-indicate-mode):
8520 * menu-bar.el (menu-bar-mode):
8521 * minibuf-eldef.el (minibuffer-electric-default-mode):
8522 * mouse-sel.el (mouse-sel-mode):
8523 * msb.el (msb-mode):
8524 * mwheel.el (mouse-wheel-mode):
8525 * outline.el (outline-minor-mode):
8526 * paren.el (show-paren-mode):
8527 * recentf.el (recentf-mode):
8528 * reveal.el (reveal-mode, global-reveal-mode):
8529 * rfn-eshadow.el (file-name-shadow-mode):
8530 * ruler-mode.el (ruler-mode):
8531 * savehist.el (savehist-mode):
8532 * scroll-all.el (scroll-all-mode):
8533 * scroll-bar.el (scroll-bar-mode):
8534 * server.el (server-mode):
8535 * shell.el (shell-dirtrack-mode):
8536 * simple.el (auto-fill-mode, transient-mark-mode)
8537 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8538 (line-number-mode, column-number-mode, size-indication-mode)
8539 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8540 * strokes.el (strokes-mode):
8541 * time.el (display-time-mode):
8542 * t-mouse.el (gpm-mouse-mode):
8543 * tool-bar.el (tool-bar-mode):
8544 * tooltip.el (tooltip-mode):
8545 * type-break.el (type-break-mode-line-message-mode)
8546 (type-break-query-mode):
8547 * view.el (view-mode):
8548 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8549 (global-whitespace-mode, global-whitespace-newline-mode):
8550 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8551
a3839de2
SM
8552 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8553 Fix autogenerated docstring.
06e21633 8554
5214e501
JL
85552011-10-19 Juri Linkov <juri@jurta.org>
8556
8557 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8558 by checking environment variables "DESKTOP_SESSION" and
8559 "XDG_CURRENT_DESKTOP". (Bug#9779)
8560
195f8db9
JL
85612011-10-19 Juri Linkov <juri@jurta.org>
8562
8563 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8564 (browse-url-chromium-program, browse-url-chromium-arguments):
8565 New defcustoms.
8566 (browse-url-default-browser): Check for `browse-url-chromium' and
8567 call `browse-url-chromium-program'.
8568 (browse-url-chromium): New command. (Bug#9779)
8569
343a34ff
JB
85702011-10-18 Juanma Barranquero <lekktu@gmail.com>
8571
8572 * facemenu.el (list-colors-duplicates): On Windows, detect more
8573 duplicates by assuming that only colors matching "^System" are
8574 special "system colors". (Bug#9722)
8575
6978a151
SM
85762011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8579 to distinguish the author from the committer.
8580
6a80b297
MA
85812011-10-18 Michael Albinus <michael.albinus@gmx.de>
8582
8583 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8584
b31a5677
JK
85852011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8586
8587 * international/mule.el (sgml-html-meta-auto-coding-function):
8588 Add support for detecting encoding in HTML5 specified only as
8589 <meta charset="UTF-8">. Implementation just makes http-equiv and
8590 content-type parts from HTML4 encoding string optional. (Bug#9716)
8591
80c6d77f
GM
85922011-10-18 Glenn Morris <rgm@gnu.org>
8593
8594 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8595
08b0fee8
CY
85962011-10-18 Chong Yidong <cyd@gnu.org>
8597
8598 * faces.el (cursor): Doc fix.
8599
67e729a5
CY
86002011-10-17 Chong Yidong <cyd@gnu.org>
8601
8602 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8603
343a34ff 86042011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8605
8606 * dirtrack.el (dirtrack): Support shell buffers with path
8607 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8608
0bc06380
TZ
86092011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8610
8611 * json.el: Bump version to 1.3 and note change in History.
8612 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8613
8b79f3e0
SM
86142011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8615
5a7c536b
SM
8616 * comint.el (comint-insert-input, comint-send-input)
8617 (comint-get-old-input-default, comint-backward-matching-input)
8618 (comint-next-prompt): Use nil instead of `input' for field property of
8619 past user input (bug#114).
8620
96a8a0df
SM
8621 * minibuffer.el (completion--replace): Inherit surrounding properties
8622 (bug#114).
8623 (minibuffer-complete-and-exit): Use it.
8624
8b79f3e0
SM
8625 * comint.el (comint--table-subvert): Quote the all-completions output
8626 (bug#9160).
8627
b8f7ff0d
MR
86282011-10-17 Martin Rudalics <rudalics@gmx.at>
8629
8b79f3e0 8630 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8631
b8f7ff0d 8632 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8633 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8634 entries and separate them from frame entries.
8635
c235b555
GM
86362011-10-15 Glenn Morris <rgm@gnu.org>
8637
8638 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8639 Doc fixes.
8640
6bbfa6e1
CY
86412011-10-15 Chong Yidong <cyd@stupidchicken.com>
8642
8b79f3e0
SM
8643 * net/network-stream.el (network-stream-open-starttls):
8644 Improve detection of failure due to lack of TLS support.
ec5c990d 8645
6bbfa6e1
CY
8646 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8647 putting the input text in front and in bold.
8648
98488977
SM
86492011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8650
3d1337be
SM
8651 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8652
ee0b45e4
SM
8653 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8654 empty buffer.
8655
98488977
SM
8656 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8657 unread-command-events rather than pushing yet-another event.
8658
186f4720
EZ
86592011-10-14 Eli Zaretskii <eliz@gnu.org>
8660
8661 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8662 the explanation of the possible choices. Make the options passed
8663 to completing-read shorter.
8664
8b7a997c
AM
86652011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8666
8667 * textmodes/flyspell.el (flyspell-large-region): Make sure
8668 extended character mode is used if defined (Bug#1339).
8669
12587bbb
EZ
86702011-10-13 Eli Zaretskii <eliz@gnu.org>
8671
8672 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8673 character info for LRE, LRO, RLE, and RLO characters by appending
8674 an invisible PDF.
12587bbb 8675
bad41229
SM
86762011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8679 even in case of error; add debug spec; simplify data flow.
8680 (with-timeout-handler): Remove.
8681
28dbc92f
MA
86822011-10-12 Michael Albinus <michael.albinus@gmx.de>
8683
8684 Fix Bug#6019, Bug#9315.
8685
8686 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8687 complete `buffer-file-name', the local file name part could look
8688 remotely (for example on VMS).
8689
8690 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8691 `tramp-run-real-handler'.
8692 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8693 already quoted by '"'.
8694
8695 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8696 Let `file-name-handler-alist' be nil, the local file name part
8697 could look remotely (for example on VMS).
8698
e1b0b23a
SM
86992011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8702 from here...
8703 (flyspell-post-command-hook): ...to here.
8704
a120bde9
SM
87052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8708 if not needed.
8709 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8710 using completion. Protect against "slow" callers.
8711 Remove the "message hack".
8712
7ce7717b
JL
87132011-10-11 Juri Linkov <juri@jurta.org>
8714
8715 * isearch.el (isearch-lazy-highlight-word): New variable.
8716 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8717 Use it. (Bug#9727)
8718
c02ee9d6
GM
87192011-10-11 Glenn Morris <rgm@gnu.org>
8720
8721 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8722 like f90-previous-statement does.
8723
93e616fd 87242011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8725
1f190e73 8726 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8727 only in interactive use, to avoid error.
8728
af7b6078
SM
87292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * minibuffer.el (completion-file-name-table): Fix last change,
8732 i.e. ignore normal errors but not the other ones.
8733
0563dae9
MR
87342011-10-10 Martin Rudalics <rudalics@gmx.at>
8735
8736 * window.el (special-display-buffer-names)
8737 (special-display-regexps): Remove some remnants of earlier
8738 changes from doc-strings.
366ca7f3
MR
8739 (quit-windows-on): New function.
8740
8741 * vc/vc.el (vc-revert, vc-rollback):
8742 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8743 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8744 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8745
49677495
MR
87462011-10-09 Martin Rudalics <rudalics@gmx.at>
8747
8748 * window.el (frame-auto-hide-function): Add version tag.
8749 (Bug#9699)
8750
56f2d1e1
MA
87512011-10-09 Michael Albinus <michael.albinus@gmx.de>
8752
8753 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8754 condition.
8755
112a6592
LL
87562011-10-09 Leo Liu <sdl.web@gmail.com>
8757
8758 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8759 (Bug#9701)
8760
0812589b
GM
87612011-10-08 Glenn Morris <rgm@gnu.org>
8762
8763 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8764 before the first code statement zero indent. (Bug#9690)
8765
b2b0776e
CY
87662011-10-08 Chong Yidong <cyd@stupidchicken.com>
8767
8768 * simple.el (count-words-region): Always count in the region.
8769 Report the number of lines and characters too.
8770 (count-words): New command, which counts in the buffer if the
8771 region is inactive, as count-words-region used to.
8772 (count-words--message): New function. Handle plurals.
8773 (count-lines-region): Make it an alias for count-words-region.
8774
8775 * bindings.el (esc-map): Replace count-lines-region with
8776 count-words-region.
8777
c557cd6b
MR
87782011-10-08 Martin Rudalics <rudalics@gmx.at>
8779
8780 * window.el (window--delete): Delete dedicated frame
8781 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8782 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8783
61a57ef4 87842011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8785
3a7d293b 8786 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8787
c3833279
CY
87882011-10-07 Chong Yidong <cyd@stupidchicken.com>
8789
8790 * bindings.el ([M-left],[M-right]): Bind to left-word and
8791 right-word respectively.
8792
21ce8245
GM
87932011-10-07 Glenn Morris <rgm@gnu.org>
8794
8795 * cus-start.el (debug-on-quit): Fix custom type.
8796
6d823bb2
LMI
87972011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8798
0181e193
LMI
8799 * subr.el (define-key-after): Clarify that the function is not
8800 useful for non-menu keymaps.
8801
6d823bb2
LMI
8802 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8803
8e3459ce 88042011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8805
21ce8245 8806 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8807 in current minibuffer (Fix bug with recursive minibuffers).
8808
a1c2d21e
CY
88092011-10-06 Chong Yidong <cyd@stupidchicken.com>
8810
8811 * progmodes/gdb-mi.el (gdb): Doc fix.
8812
5a4cf282
MR
88132011-10-05 Martin Rudalics <rudalics@gmx.at>
8814
8815 * window.el (frame-auto-hide-function): New option replacing
8816 frame-auto-delete. Suggested by Stefan Monnier.
8817 (window--delete): Call frame-auto-hide-function instead of
8818 investigating frame-auto-delete.
c96111ea
MR
8819 (window-point-1, set-window-point-1): New functions.
8820 (window-in-direction, record-window-buffer, window-state-get-1)
8821 (display-buffer-record-window): Use window-point-1 instead of
8822 window-point.
8823 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8824
9854542e
SM
88252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8828
8943cfb0
GM
88292011-10-05 Glenn Morris <rgm@gnu.org>
8830
8831 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8832 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8833
647ab967
LL
88342011-10-05 Leo Liu <sdl.web@gmail.com>
8835
8836 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8837 works with buffer object.
8838
3ddfbced
SM
88392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * mpc.el (mpc-tool-bar-map): Add labels.
8842
bdfa5dd2
GM
88432011-10-04 Glenn Morris <rgm@gnu.org>
8844
8845 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8846
0e2070b5
MR
88472011-10-04 Martin Rudalics <rudalics@gmx.at>
8848
8849 * window.el (window--delete): New function.
8850 (frame-auto-delete): Resuscitate option.
8851 (bury-buffer, replace-buffer-in-windows)
8852 (quit-window): Rewrite using window--delete.
8853 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8854 Pass display-buffer-mark-dedicated to window--display-buffer-2
8855 (Bug#9639).
8856
3dc61a09
SM
88572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8858
915a9b64
SM
8859 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8860 returns a list (bug#9554). Add remote file name completion.
8861 * comint.el (comint--table-subvert): Curry and get quote&unquote
8862 functions as arguments.
8863 (comint--complete-file-name-data): Adjust call accordingly.
8864 * pcomplete.el (pcomplete--table-subvert): Remove.
8865 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8866
3dc61a09
SM
8867 * minibuffer.el (completion-table-case-fold): Use currying.
8868 (completion--styles-type, completion--cycling-threshold-type):
8869 New constants.
8870 (completion-styles, completion-category-overrides)
8871 (completion-cycle-threshold): Use them.
8872 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8873 completion-table-case-fold.
8874
8ea0a993
SB
88752011-10-03 Stephen Berman <stephen.berman@gmx.net>
8876
8877 * minibuffer.el (completion-category-overrides): Fix type of styles
8878 and add more user friendly tags (bug#9660).
8879
8c24b7f6
SM
88802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8883 (mule-input-method-string): New widget.
8884 (default-input-method, language-info-custom-alist): Use it.
8885
428fe61a
SM
88862011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8887
32c1fffd
SM
8888 * pcomplete.el: Require comint.
8889 (pcomplete--common-suffix): Remove.
8890 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8891 (pcomplete--table-subvert): Sync with comint--table-subvert.
8892 (pcomplete--entries): Use comint-completion-file-name-table.
8893 * comint.el (comint-unquote-filename): Simplify.
8894 (comint-completion-file-name-table): New function (bug#9616).
8895 (comint--complete-file-name-data): Use it.
8896
428fe61a
SM
8897 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8898 (pcmpl-gnu-tar-buffer): Remove.
8899 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8900 around. Make sure pcomplete-suffix-list is only changed temporarily.
8901 Don't look inside the tar's file if it's too large.
428fe61a 8902
04c52e2f
CY
89032011-10-01 Chong Yidong <cyd@stupidchicken.com>
8904
ce3cefcc
CY
8905 * cus-edit.el (custom-mode-map):
8906 * epa.el (epa-key-list-mode-map):
8907 * man.el (Man-mode-map):
8908 * startup.el (splash-screen-keymap):
8909 * simple.el (special-mode-map): Use scroll-up-command and
8910 scroll-down-command.
8911
8912 * progmodes/idlw-help.el (idlwave-help-mode-map):
8913 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8914 * net/newst-plainview.el (newsticker-mode-map):
8915 * emulation/ws-mode.el (wordstar-mode-map):
8916 * emulation/vi.el (vi-com-map):
8917 * calc/calc-graph.el (calc-graph-show-dumb):
8918 * term/sun.el (terminal-init-sun):
8919 * term/ns-win.el (global-map):
8920 * progmodes/grep.el (grep-mode-map):
8921 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8922 * mail/rmail.el (rmail-mode-map):
8923 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8924
04c52e2f
CY
8925 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8926 custom-safe-themes as special.
8927
79adf8c8
JD
89282011-10-01 Julien Danjou <julien@danjou.info>
8929
8930 * notifications.el (notifications-notify): Fix docstring.
8931
63bd50d3
PS
89322011-10-01 Per Starbäck <per@starback.se>
8933
8934 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8935
199e4c7e
MR
89362011-09-30 Martin Rudalics <rudalics@gmx.at>
8937
8938 * startup.el (command-line-1): Fix last fix by inserting
8939 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8940 (Bug#9605) and (Bug#9636)
199e4c7e 8941
fe5f08dd
EZ
89422011-09-29 Eli Zaretskii <eliz@gnu.org>
8943
8944 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8945 window is hscrolled, move by logical lines. (Bug#9607)
8946 (line-move-visual): Update the doc string to the above effect.
8947
b5516bbd
MR
89482011-09-29 Martin Rudalics <rudalics@gmx.at>
8949
ccee00c0
MR
8950 * window.el (display-buffer-record-window): When WINDOW is the
8951 selected window use `point' instead of `window-point'. (Bug#9626)
8952
b5516bbd
MR
8953 * startup.el (command-line-1): Use insert-before-markers when
8954 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8955
b5516bbd
MR
8956 * help.el (help-window): Remove variable.
8957
52aa0014
GM
89582011-09-29 Glenn Morris <rgm@gnu.org>
8959
8960 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8961
df9a7357
JB
89622011-09-29 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * descr-text.el (describe-char-categories): Accept category
8965 descriptions more than one line long.
8966
a8406c20
SM
89672011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8968
88d9610c
SM
8969 * simple.el (delete-trailing-whitespace): Fix last change.
8970
a5daf810
SM
8971 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8972 Don't confuse "y => 3" as the beginning of a `y' operation.
8973
a8406c20
SM
8974 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8975 object has more than 4 slots (bug#9613).
8976
a239d4e9
JB
89772011-09-28 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * subr.el (with-output-to-temp-buffer):
8980 * net/quickurl.el (quickurl, quickurl-browse-url):
8981 Fix typos in docstrings.
8982
693fbdb6
EZ
89832011-09-27 Eli Zaretskii <eliz@gnu.org>
8984
8985 * minibuffer.el (completion-styles)
8986 (completion-category-overrides): Cross reference each other in doc
8987 strings.
8988
8b457e28
GM
89892011-09-27 Glenn Morris <rgm@gnu.org>
8990
8991 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8992 to split-string. (Bug#9606)
8993
85a16208
LMI
89942011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8995
8996 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8997 (bug#9615).
8998
502f9ebd
CY
89992011-09-27 Chong Yidong <cyd@stupidchicken.com>
9000
9001 * emacs-lisp/package.el (list-packages): Fix echo area message.
9002
7690bdea
LL
90032011-09-27 Leo Liu <sdl.web@gmail.com>
9004
9005 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9006
e2ee6f30
MA
90072011-09-25 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * net/dbus.el (dbus-unregister-object): Don't release services for
9010 registered signals. (Bug#9581)
9011
f3f98342
TZ
90122011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9013
9014 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9015 function that picks between cfengine 2 and 3 support
9016 automatically. Update docs accordingly.
9017
dd7aa8dd
KH
90182011-09-22 Kenichi Handa <handa@m17n.org>
9019
9020 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9021 ZERO.
9022 (indian-itrans-v5-table-for-tamil): New variable.
9023 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9024
3f2b07f8
KM
90252011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9026
9027 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9028 that's true if the current command involved collapsing of text.
9029 It's reset to false at the beginning of the next command.
9030 (allout-post-command-business): Move the cursor to the beginning
9031 of entry if the cursor is hidden and collapsing activity just
9032 happened.
9033
371d6a61
CY
90342011-09-24 Chong Yidong <cyd@stupidchicken.com>
9035
9036 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9037 tracking (Bug#9541).
9038
2ac2721a
UJ
90392011-09-24 Ulf Jasper <ulf.jasper@web.de>
9040
9041 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9042 (newsticker-show-news): Automatically load html rendering package
9043 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9044 because w3m-fill-column is let-bound" and the error "Symbol's value
9045 as variable is void: w3m-fill-column".
2ac2721a 9046
fac7ae53
MA
90472011-09-24 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9050 Release services only if they are defined. (Bug#9581)
9051
e08b633b
RS
90522011-09-23 Richard Stallman <rms@gnu.org>
9053
e488d29c
RS
9054 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9055 distinguish start of paragraph from start of its text.
9056
19c38752
RS
9057 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9058
e08b633b
RS
9059 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9060 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9061 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9062
0a39f27e
AS
90632011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9064
9065 * international/mule-diag.el (mule-diag): Insert a newline after
9066 each fontset description.
9067
db4e950d
SM
90682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * simple.el (delete-trailing-whitespace):
9071 Document last change; simplify.
9072
eca3f3ea
PW
90732011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9074
d68e189a
PW
9075 * simple.el (delete-trailing-whitespace): Also delete
9076 extra newlines at the end of the buffer.
9077
eca3f3ea
PW
9078 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9079 (picture-newline): Use forward-line so as to ignore fields.
9080
01c157cc
SM
90812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * subr.el (with-wrapper-hook): Fix edebug spec.
9084
022de23e
LMI
90852011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9086
9087 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9088 (bug#4538).
9089
91683089
MA
90902011-09-23 Michael Albinus <michael.albinus@gmx.de>
9091
eca3f3ea
PW
9092 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9093 Fix nasty bug using wrong cached values.
91683089 9094
5bdd6fa4
AM
90952011-09-23 Alan Mackenzie <acm@muc.de>
9096
9097 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9098
97adfb97
CY
90992011-09-23 Chong Yidong <cyd@stupidchicken.com>
9100
9101 * window.el (pop-to-buffer): Ensure right window is selected if we
9102 chose another frame.
9103
d4ef2b50
EZ
91042011-09-22 Eli Zaretskii <eliz@gnu.org>
9105
9106 * simple.el (what-cursor-position): Use get-char-property-change
9107 and next-single-char-property-change, to be able to show display
9108 properties that come from overlays as well as text properties.
9109
72258fe5
CY
91102011-09-22 Chong Yidong <cyd@stupidchicken.com>
9111
9112 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9113
9114 * cmuscheme.el (run-scheme, switch-to-scheme):
9115 * cus-edit.el (customize-group, custom-buffer-create)
9116 (customize-browse):
9117 * info.el (info):
9118 * shell.el (shell):
9119 * mail/sendmail.el (mail):
9120 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9121
8f098516
RS
91222011-09-22 Richard Stallman <rms@gnu.org>
9123
9124 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9125 move back only to line beg, don't move back over blank lines.
9126
e74f1bb6
MA
91272011-09-22 Michael Albinus <michael.albinus@gmx.de>
9128
9129 * files.el (copy-directory): Set directory attributes only in case
9130 they could be retrieved from the source directory. (Bug#9565)
9131
bfeef8b6
DK
91322011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9133
9134 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9135 (hs-find-block-beginning, hs-hide-level-recursive):
9136 Ignore strings as well as comments. (Bug#9502)
9137
7e423bb8
AS
91382011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9139
9140 * progmodes/sql.el (sql-comint-postgres):
9141 Convert port number to a string. (Bug#9566)
9142
b4d72fcf
MR
91432011-09-22 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (quit-window): Undedicate window when switching to
9146 previous buffer. Reported by Thierry Volpiatto
9147 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9148 (special-display-popup-frame): When popping up a new frame reset
9149 its previous buffers to nil. Simplify code.
b4d72fcf 9150
a7b88dc6
MA
91512011-09-21 Michael Albinus <michael.albinus@gmx.de>
9152
9153 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9154 and process filter, as done also in `shell-command'.
9155
cf4eacfd
MR
91562011-09-21 Martin Rudalics <rudalics@gmx.at>
9157
eca3f3ea 9158 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9159 Call set-window-start with NOFORCE argument t.
9160 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9161 (quit-window): Reword doc-string. Handle new format of
9162 quit-restore parameter. Don't delete window if it has a
9163 previous buffer we can show instead of the present one.
9164 (display-buffer-record-window): Rewrite using a new format for
9165 the quit-restore window parameter
9166 (special-display-popup-frame, display-buffer-same-window)
9167 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9168 (display-buffer-pop-up-window, display-buffer-use-some-window):
9169 Adapt symbol passed to display-buffer-record-window.
9170 * help.el (help-window-setup): Handle new format of quit-restore
9171 parameter.
9172
8d28cb95
SM
91732011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9174
94ab793f
SM
9175 * faces.el (face-list): Fix docstring (bug#9564).
9176
8d28cb95
SM
9177 * window.el (display-buffer--action-function-custom-type):
9178 Don't include internal functions in the Custom interface.
9179
3820edeb
JL
91802011-09-20 Juri Linkov <juri@jurta.org>
9181
9182 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9183 (Info-forward-node, Info-backward-node, Info-next-preorder)
9184 (Info-last-preorder): Use it. (Bug#9528)
9185
5147931d
JL
91862011-09-20 Juri Linkov <juri@jurta.org>
9187
9188 * info.el (Info-last-preorder): Visit last menu item only when
9189 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9190
cf499a1a
JD
91912011-09-20 Julien Danjou <julien@danjou.info>
9192
9193 * password-cache.el (password-cache-remove): Remove entries even if the
9194 value is nil, so that password with a nil value (negative caching) is
9195 possible to invalidate.
9196
f84e2fe2
LM
91972011-09-20 Lawrence Mitchell <wence@gmx.li>
9198
9199 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9200 all whitespace around breakpoint. (Bug#9553)
9201 (f90-find-breakpoint): Only break at whitespace inside a comment.
9202
78054a46
SM
92032011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * minibuffer.el (completion-file-name-table): Keep track of errors.
9206 (completion-table-with-predicate): Handle the case where pred1 is nil.
9207 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9208
345083b2
SM
92092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9210
e24e27be
SM
9211 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9212 (debugger-return-value): Signal an error if the debugging context does
9213 not await any return value.
9214
345083b2
SM
9215 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9216 * image-mode.el (image-toggle-display-text)
9217 (image-toggle-display-image): Stay away from evil `intangible'.
9218
08d355e3
LL
92192011-09-19 Leo Liu <sdl.web@gmail.com>
9220
9221 * replace.el (occur-revert-arguments): Make it permanent-local.
9222 (occur-mode): Don't call font-lock-defontify.
9223
f01da43f
CY
92242011-09-19 Chong Yidong <cyd@stupidchicken.com>
9225
9226 * net/ldap.el (ldap-search-internal): Don't push empty search
9227 result (Bug#9508).
9228
b6072fa6
SM
92292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9232
443d6696
MA
92332011-09-19 Michael Albinus <michael.albinus@gmx.de>
9234
9235 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9236 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9237
7cc6e154
JL
92382011-09-18 Juri Linkov <juri@jurta.org>
9239
9240 * buff-menu.el (Buffer-menu-mode-map):
9241 * dired.el (dired-mode-map):
9242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9243 (lisp-interaction-mode-map):
9244 * emacs-lisp/package.el (package-menu-mode-map):
9245 * epa.el (epa-key-list-mode-map):
9246 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9247 (menu-bar-options-menu):
9248 * outline.el (outline-mode-menu-bar-map):
9249 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9250 * vc/vc-dir.el (vc-dir-menu-map):
9251 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9252 Capitalize non-function content words in menu item strings.
9253
9254 * dired.el (dired-mode-map): Add menu item for
9255 `image-dired-dired-toggle-marked-thumbs'.
9256
80302a81
JL
92572011-09-18 Juri Linkov <juri@jurta.org>
9258
9259 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9260 to `isearch-case-fold-search' and restore its original value
9261 after the `isearch-mode' call.
9262
46c5cf66
JL
92632011-09-18 Juri Linkov <juri@jurta.org>
9264
9265 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9266 because `zgrep' returns 1 for successful matches (bug#9226).
9267
d18b513b
JL
92682011-09-18 Juri Linkov <juri@jurta.org>
9269
9270 * info.el (Info-extract-menu-node-name): Check the second match
9271 for empty string (second test-case of bug#9528).
9272 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9273 intermediate nodes to the history (first test-case of bug#9528).
9274
72753f87
JL
92752011-09-18 Juri Linkov <juri@jurta.org>
9276
9277 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9278 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9279
c9384295
JL
92802011-09-18 Juri Linkov <juri@jurta.org>
9281
1154d12e
JB
9282 * info.el (Info-file-supports-index-cookies):
9283 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9284 outputs one more line for long file names (bug#4142).
c9384295 9285
d473dce8
CY
92862011-09-18 Chong Yidong <cyd@stupidchicken.com>
9287
9288 * newcomment.el (comment-normalize-vars): If prompting for
9289 comment-start, set comment-start-skip too (Bug#8424).
9290
2176854d
JB
92912011-09-18 Johan Bockgård <bojohan@gnu.org>
9292
9293 * icomplete.el: Fix previous fix of Bug#5849.
9294 (icomplete-mode): Don't set completion-show-inline-help.
9295 (icomplete-minibuffer-setup): Set completion-show-inline-help
9296 locally during icompletion.
9297
3aace4e4
CY
92982011-09-18 Chong Yidong <cyd@stupidchicken.com>
9299
c940224f
CY
9300 * woman.el (woman2-process-escapes): Don't delete unrecognized
9301 escapes (Bug#7843).
9302
3aace4e4
CY
9303 * files.el (inhibit-first-line-modes-regexps): Add image files.
9304 (hack-local-variables-prop-line): Return nil for malformed
9305 prop-lines (Bug#9044).
9306
710dec63
MA
93072011-09-18 Michael Albinus <michael.albinus@gmx.de>
9308
9309 * net/tramp.el (top): Don't require 'shell.
9310 (tramp-methods): Fix docstring.
9311 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9312 Return complete remote file name. Handle "smb" case.
9313 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9314 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9315
9316 * net/tramp-compat.el (top): Require 'shell.
9317
9318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9319 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9320 `tramp-current-host'.
9321 (tramp-get-remote-tmpdir): Remove.
9322
9323 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9324 `tramp-tmpdir' entries.
9325 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9326 (tramp-smb-handle-file-attributes): Ignore errors.
9327 (tramp-smb-wait-for-output): Check also for process end.
9328
5d5ac8ec
LMI
93292011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9330
9331 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9332 when sending QUIT (bug#9312).
9333
8c0f49f0
CY
93342011-09-17 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9337 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9338 occur-mode-display-occurrence.
9339 (occur-edit-mode): Add usage message.
9340 (occur-cease-edit): New command.
9341 (occur-after-change-function): Use text properties to find the
9342 position of the prefix text.
9343 (occur-engine): Set stickiness of prefix text properties.
9344
8f1383f7
GM
93452011-09-17 Glenn Morris <rgm@gnu.org>
9346
9347 * progmodes/etags.el (complete-tag):
9348 Fix call to completion-in-region. (Bug#9526)
9349
744ba0e3
JL
93502011-09-17 Juri Linkov <juri@jurta.org>
9351
9352 * textmodes/ispell.el (ispell-word): Add to the error message
9353 the word, ispell program name and current dictionary (bug#9121).
9354 (ispell-tex-arg-end): Capitalize "error" in the error message.
9355
d9bbf400
AS
93562011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9359 check. (Bug#4251)
9360
8da11505
JL
93612011-09-17 Juri Linkov <juri@jurta.org>
9362
9363 * window.el (window-safe-min-height, window-safe-min-width):
9364 Fix typos (followup to bug#9522).
9365
a91adc7e
SJ
93662011-09-17 Sven Joachim <svenjoac@gmx.de>
9367
9368 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9369
064f328a
EZ
93702011-09-16 Eli Zaretskii <eliz@gnu.org>
9371
9372 * simple.el (line-move): If goal-column is set, move by logical
9373 lines, not by display lines. (Bug#971)
9374 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9375 to reflect the above change.
9376
e69df516
SM
93772011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * image.el (imagemagick-register-types): Use regexp-opt.
9380
cbb0f9ab
CY
93812011-09-15 Chong Yidong <cyd@stupidchicken.com>
9382
9383 * window.el (display-buffer-base-action): Rename from
9384 display-buffer-default-action. Make default value empty.
9385 (display-buffer-overriding-action): Convert to defvar.
9386 (display-buffer-fallback-action): New var.
9387
25322144
CY
93882011-09-15 Chong Yidong <cyd@stupidchicken.com>
9389
9390 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9391 declaration.
9392 (package--add-to-archive-contents): If there is a duplicate entry
9393 with an older version, remove it.
9394 (package-menu-mark-delete, package-menu-mark-install)
9395 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9396 (package-menu-mark-obsolete-for-deletion):
9397 Use package-menu-get-status instead of a regexp search.
25322144
CY
9398 (package-menu-get-status): Use tabulated-list-entry.
9399 (package-menu-mark-upgrades): New command.
d770725a 9400 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9401 (package-menu-execute): Do installation before deletion.
9402 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9403 instead of checking major-mode.
9404 (package-menu--find-upgrades): New function.
9405
7520339c
LMI
94062011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9407
9408 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9409 passwords in the log buffer.
65a046c4
LMI
9410 (smtpmail-process-filter): Update the process marker so that the
9411 "broken by peer" status message is inserted in the right place.
7520339c 9412
d3c30954
SM
94132011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9414
3fe48822
SM
9415 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9416 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9417 bibtex-completion-at-point-function.
9418 (bibtex-completion-at-point-function): Use them.
9419
1b8b3954
SM
9420 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9421
d3c30954
SM
9422 * mpc.el (mpc-constraints-tag-lookup): New function.
9423 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9424 also to browser "album|playlist".
9425
72779976
JL
94262011-09-14 Juri Linkov <juri@jurta.org>
9427
9428 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9429 (isearch-edit-string): Use length of `isearch-string' when
9430 `isearch-fail-pos' returns nil.
9431 (isearch-message): Remove duplicate code and call
9432 `isearch-fail-pos' with arg `t'.
9433
a0bf2bcd
CY
94342011-09-14 Chong Yidong <cyd@stupidchicken.com>
9435
17bb0a2d
CY
9436 * replace.el (occur-mode-goto-occurrence): Don't force using other
9437 window (Bug#9499).
9438
a0bf2bcd
CY
9439 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9440
f678e0b6
MR
94412011-09-14 Martin Rudalics <rudalics@gmx.at>
9442
9443 * window.el (display-buffer-window): Remove.
9444 (display-buffer-record-window): Use help-setup window parameter
9445 instead of variable display-buffer-window.
9446 (display-buffer-function, special-display-buffer-names)
9447 (special-display-function): Mention help-setup parameter instead
9448 of display-buffer-window in doc-string.
d3c30954
SM
9449 * help.el (help-window-setup): New argument help-window.
9450 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9451 Reword some messages.
9452 (with-help-window): Pass window used for displaying the buffer
9453 to help-window-setup. Don't set display-buffer-window.
9454
8e39b2e8
GM
94552011-09-13 Glenn Morris <rgm@gnu.org>
9456
9457 * emacs-lisp/debug.el (debugger-make-xrefs):
9458 Preserve point. (Bug#9462)
9459
85e9c04b
CY
94602011-09-13 Chong Yidong <cyd@stupidchicken.com>
9461
9462 * window.el (window-deletable-p): Use next-frame.
9463
1b36ed6a
MR
94642011-09-13 Martin Rudalics <rudalics@gmx.at>
9465
9466 * window.el (window-auto-delete): Remove.
9467 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9468 dedication and previous buffers.
1b36ed6a
MR
9469 (switch-to-prev-buffer): Don't delete window.
9470 (delete-windows-on): Delete a window's frame if and only if the
9471 window is dedicated.
9472 (replace-buffer-in-windows): Delete buffer's window or frame if
9473 and only if window is dedicated.
9474 (quit-window): Handle quit-restore as before last change.
4d61f28d 9475 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9476
ef8ef9fb
CY
94772011-09-13 Chong Yidong <cyd@stupidchicken.com>
9478
9479 * window.el (window-deletable-p): Never delete the last frame on a
9480 given terminal.
9481
b2cba41e
GM
94822011-09-13 Glenn Morris <rgm@gnu.org>
9483
9484 * help.el (describe-key-briefly): Copy previous standard-output change.
9485
51553db6 94862011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9487
9488 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9489
b7556719
GM
94902011-09-13 Glenn Morris <rgm@gnu.org>
9491
9492 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9493 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9494
64b51947
CY
94952011-09-12 Chong Yidong <cyd@stupidchicken.com>
9496
9497 * dired-aux.el (dired-mark-read-string): Don't return default
9498 value on empty input (Bug#9361).
9499 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9500 Omit initial minibuffer contents.
9501 (dired-do-chmod): Signal an error on empty input.
9502 (dired-mark-read-string): Don't return default on empty input.
9503
9504 * files.el (file-modes-symbolic-to-number): Doc fix.
9505
393a301e
SM
95062011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * international/mule-cmds.el (ucs-completions): Remove.
9509 (read-char-by-name): Use complete-with-action instead; add metadata.
9510
fa5660f9
CY
95112011-09-11 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * window.el (display-buffer--action-function-custom-type)
9514 (display-buffer--action-custom-type): New vars.
9515 (display-buffer-alist, display-buffer-default-action)
9516 (display-buffer-overriding-action): Add defcustom types.
9517
4a592f66
CY
9518 * frame.el (delete-other-frames): Doc fix (Bug#276).
9519
73d56dbd
LMI
95202011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521
9522 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9523
37ac18a3
CY
95242011-09-11 Chong Yidong <cyd@stupidchicken.com>
9525
9526 Change modes that used same-window-* vars to use switch-to-buffer.
9527
9528 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9529 Use switch-to-buffer.
9530
9531 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9532 (customize-browse, custom-buffer-create-other-window):
9533 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9534
9535 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9536 (Info-prev, Info-up, Info-speedbar-goto-node)
9537 (info-display-manual): Use switch-to-buffer.
9538 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9539
9540 * mail/sendmail.el (mail): Use switch-to-buffer.
9541 (mail-recover): Use switch-to-buffer-other-window.
9542
9543 * cmuscheme.el (run-scheme, switch-to-scheme):
9544 * ielm.el (ielm):
9545 * shell.el (shell):
9546 * net/rlogin.el (rlogin):
9547 * net/telnet.el (telnet, rsh):
9548 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9549
10195bd6
AS
95502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9551
9552 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9553
b322f63a
LMI
95542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
39d7fed6
LMI
9556 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9557 so don't mention it (bug#9301).
ba5a81f1 9558 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9559
ee0e9f11
LMI
9560 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9561 match `x', `w32' and `ns', like the manual says (bug#9029).
9562
0b1c89c1 9563 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9564 (process-kill-buffer-query-function): Mention the buffer name in
9565 the query.
0b1c89c1 9566
77549ea8
LMI
9567 * image-mode.el (image-next-line): The line parameter is mandatory
9568 (bug#9258).
9569
803ef892
LMI
9570 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9571 which can be useful (bug#9301).
9572
12980837
LMI
9573 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9574
91054f8f
LMI
9575 * subr.el (match-string): Mention that the current buffer should
9576 be the same as the search was done in (bug#9282).
9577
b322f63a
LMI
9578 * facemenu.el: Disable the remove-* commands if the mark isn't
9579 active (bug#9162).
9580
3199b96f
CY
95812011-09-10 Chong Yidong <cyd@stupidchicken.com>
9582
9583 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9584 of display-buffer.
9585 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9586
9587 * replace.el (occur-mode-goto-occurrence)
9588 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9589 and display-buffer.
9590
9591 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9592 display-buffer.
9593
9594 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9595 special-display and same-window variables.
9596 (mail-other-window): Use switch-to-buffer-other-window.
9597 (mail-other-frame): USe switch-to-buffer-other-frame.
9598
393a301e
SM
9599 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9600 Use display-buffer-other-frame.
3199b96f
CY
9601 (gdb-display-gdb-buffer): Use pop-to-buffer.
9602
9603 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9604
9605 * progmodes/python.el: Don't set same-window-buffer-names.
9606
9607 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9608
9609 * window.el (display-buffer-alist): Add *Python*.
9610
8319e0bf
CY
96112011-09-10 Chong Yidong <cyd@stupidchicken.com>
9612
9613 * window.el (display-buffer-alist): Add entry for buffers
9614 previously handled same-window-*.
9615 (display-buffer-alist, display-buffer-default-action)
9616 (display-buffer-overriding-action): Mark as risky.
9617 (display-buffer-alist): Document action function changes.
9618 (display-buffer--same-window-action)
9619 (display-buffer--other-frame-action): New variables.
9620 (switch-to-buffer, display-buffer-other-frame): Use them.
9621 (display-buffer): Rename reuse-frame entry to reusable-frames.
9622 (display-buffer-reuse-selected-window): Function deleted.
9623 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9624 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9625 (display-buffer-special): New function.
9626 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9627 display-buffer-reuse-or-pop-window. Split off special-display
9628 part into display-buffer-special.
9629 (display-buffer-use-some-window): Don't perform any special
9630 pop-up-frames handling.
9631 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9632 (display-buffer--maybe-same-window): Rename from
0d3ff375 9633 display-buffer-maybe-same-window.
8319e0bf 9634
919a69aa
CY
9635 * info.el: Don't set same-window-regexps.
9636 (info-setup): New function.
9637 (info-other-window, info): Call it.
9638
9639 * cus-edit.el: Don't set same-window-regexps.
9640 (customize-group): New argument.
9641 (customize-group-other-window): Use it.
9642 (customize-face, customize-face-other-window): Likewise.
9643 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9644
8319e0bf
CY
9645 * net/rlogin.el:
9646 * net/telnet.el:
9647 * progmodes/gud.el: Don't set same-window-regexps.
9648
9649 * cmuscheme.el:
9650 * ielm.el:
9651 * shell.el:
9652 * mail/sendmail.el:
9653 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9654
25173000
JL
96552011-09-10 Juri Linkov <juri@jurta.org>
9656
9657 * isearch.el (isearch-edit-string): Remove obsolete mention of
9658 `C-w' (`isearch-yank-word-or-char') from docstring.
9659 (isearch-query-replace): Fix typo in docstring (bug#9466).
9660
056e44ef
JL
96612011-09-10 Juri Linkov <juri@jurta.org>
9662
9663 * paren.el (show-paren-function): Don't show escaped parens.
9664 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9665
c3760c17
EZ
96662011-09-10 Eli Zaretskii <eliz@gnu.org>
9667
9668 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9669 (mm-default-file-encoding): Remove autoload forms, they are
9670 replaced with autoload cookies in mml.el and mm-encode.el.
9671 (mail-add-attachment): New command.
9672 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9673 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9674 the doc string.
9675 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9676
fece895e
RT
96772011-09-10 Reuben Thomas <rrt@sc3d.org>
9678
e69df516
SM
9679 * simple.el (count-words-region): Use buffer if there's no region
9680 (bug#9429).
fece895e 9681
5e68ce4a
JL
96822011-09-09 Juri Linkov <juri@jurta.org>
9683
9684 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9685 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9686 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9687
0a6b9622
AM
96882011-09-09 Alan Mackenzie <acm@muc.de>
9689
9690 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9691 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9692
14a29deb
EZ
96932011-09-09 Eli Zaretskii <eliz@gnu.org>
9694
9695 Fix for Savannah bug#9392.
9696 * simple.el (mail-encode-mml): New defvar.
9697
9698 * mail/rmail.el (mail-encode-mml): Add a defvar.
9699 (rmail-enable-mime-composing): Default to t.
9700 (rmail-forward): Use MIME method of forwarding only if both
9701 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9702 Set mail-encode-mml non-nil if the MIME method was used.
9703
9704 * mail/sendmail.el (mml-to-mime): Add autoload form.
9705 (mail-encode-mml): Add a defvar.
9706 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9707 to nil.
9708 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9709 message through mml-to-mime, and reset mail-encode-mml to nil.
9710
28c45130
GM
97112011-09-09 Glenn Morris <rgm@gnu.org>
9712
9713 * woman.el (woman-if-body): When processing an .el block,
9714 do not delete the next .el block as well. (Bug#9447)
69f4b618 9715 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9716
9b1c252e
MR
97172011-09-08 Martin Rudalics <rudalics@gmx.at>
9718
9719 * window.el (window-deletable-p): Make sure window is live before
9720 invoking window-prev-buffers.
9721
567457e3
LL
97222011-09-08 Leo Liu <sdl.web@gmail.com>
9723
9724 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9725
97f05794
JL
97262011-09-08 Juri Linkov <juri@jurta.org>
9727
9728 * progmodes/compile.el (compilation-environment): Make it
9729 a defcustom (bug#8340).
9730
8b0874b5
MR
97312011-09-08 Martin Rudalics <rudalics@gmx.at>
9732
9733 * window.el (frame-auto-delete): Rename to window-auto-delete.
9734 Make it control auto-deletion of windows and/or frames.
9735 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9736 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9737 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9738 Rewrite handling of case when window/frame can be deleted.
9739 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9740 argument t. (Bug#9456)
8b0874b5 9741
4feb6e73
CY
97422011-09-07 Chong Yidong <cyd@stupidchicken.com>
9743
9744 * help-mode.el (help-mode): Restore autoload.
9745
91ab9c13
JL
97462011-09-07 Juri Linkov <juri@jurta.org>
9747
9748 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9749 `compilation-environment'. Set buffer-local
9750 `compilation-environment' to `thisenv' later after (funcall mode).
9751 (Bug#8340)
9752
9753 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9754 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9755 instead of replacing its value. (Bug#8340)
9756
0527e251
JL
97572011-09-07 Juri Linkov <juri@jurta.org>
9758
9759 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9760 based on text properties put by `grep-filter' instead of matching
9761 escape sequences.
9762 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9763 to the value of `grep-error-screen-columns' (bug#9438).
9764
249f792c
JL
97652011-09-07 Juri Linkov <juri@jurta.org>
9766
9767 * simple.el (next-error-highlight, next-error-highlight-no-select):
9768 Doc fix (bug#9432).
9769
ff7271b9
OT
97702011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9771
9772 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9773 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9774
183fc730
LL
97752011-09-07 Leo Liu <sdl.web@gmail.com>
9776
9777 * net/rcirc.el (rcirc-mode): Conditionally initialize
9778 rcirc-input-ring.
9779
77694924
SM
97802011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * emacs-lisp/find-func.el (find-function-C-source): Only set
9783 find-function-C-source-directory after checking that we found a source
9784 file there (bug#9440).
9785
d809b8eb
AM
97862011-09-06 Alan Mackenzie <acm@muc.de>
9787
9788 * isearch.el (isearch-other-meta-char): Wherever a key list is
9789 unread, "unread" the prefix arg, too. This fixes bug #8901.
9790
453de99f
OG
97912011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9792
9793 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9794
90439906
JL
97952011-09-05 Juri Linkov <juri@jurta.org>
9796
9797 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9798
f62bd846
JL
97992011-09-05 Juri Linkov <juri@jurta.org>
9800
9801 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9802 keeping point where processing of grep matches begins, and
9803 continue to delete remaining escape sequences from the same point.
9804 (grep-filter): Make leading zero optional in "0?1;31m" because
9805 git-grep emits "\033[1;31m" escape sequences unlike expected
9806 "\033[01;31m" as GNU Grep does (bug#9408).
9807 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9808
045820ec
JL
98092011-09-05 Juri Linkov <juri@jurta.org>
9810
9811 * subr.el (y-or-n-p): Capitalize "yes".
9812
f5e29b9b
MA
98132011-09-04 Michael Albinus <michael.albinus@gmx.de>
9814
9815 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9816 `tramp-cache-unload-hook' where appropriate.
9817 (tramp-methods): Rename `tramp-remote-sh' to
9818 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9819 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9820
9821 * net/tramp-sh.el (top): Don't require 'shell.
9822 (tramp-methods): Add `tramp-remote-shell' and
9823 `tramp-remote-shell-args' entries.
9824 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9825 (tramp-sh-handle-shell-command): Remove.
9826 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9827 Use `tramp-remote-shell'.
9828
2784c434
CY
98292011-09-03 Chong Yidong <cyd@stupidchicken.com>
9830
393a301e 9831 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9832 (sendmail-query-once): Save directly to send-mail-function.
9833 Update message-send-mail-function too.
9834
9835 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9836
464cdf56
CS
98372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9838
9839 * progmodes/python.el (python-mode-map): Use correct function to
9840 start python interpreter from menu-bar (as reported by Geert
9841 Kloosterman).
9842 (inferior-python-mode-map): Fix typo.
393a301e 9843 (python-shell-map): Remove.
464cdf56 9844
d37e5c87
DD
98452011-09-03 Deniz Dogan <deniz@dogan.se>
9846
9847 * net/rcirc.el (rcirc-print): Simplify code for
9848 rcirc-scroll-show-maximum-output. There is no need to walk
9849 through all windows to find the right one.
9850
f3ada0ee
CS
98512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9852
9853 * help.el (help-return-method): Doc fix.
9854
1f3c99ca
MR
98552011-09-03 Martin Rudalics <rudalics@gmx.at>
9856
9857 * window.el (window-deletable-p): Don't return a non-nil value
9858 when there's a buffer that was shown in the window before.
9859 (Bug#9419)
393a301e
SM
9860 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9861 Set window's previous buffers to nil.
1f3c99ca 9862
a3cf097f
EZ
98632011-09-03 Eli Zaretskii <eliz@gnu.org>
9864
9865 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9866 newline before and after the tag line, so it doesn't interfere
9867 with determining the paragraph direction of bidirectional text.
9868
3d03de90
LL
98692011-09-03 Leo Liu <sdl.web@gmail.com>
9870
9871 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9872
c3313451
CY
98732011-09-02 Chong Yidong <cyd@stupidchicken.com>
9874
393a301e 9875 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9876 (pop-to-buffer): Change interactive spec. Pass second argument
9877 directly to display-buffer.
9878 (display-buffer): Fix interactive spec. Use functionp to
9879 distinguish between a function and a list of functions.
9880
9881 * abbrev.el (edit-abbrevs):
9882 * arc-mode.el (archive-extract):
9883 * autoinsert.el (auto-insert):
9884 * bookmark.el (bookmark-bmenu-list):
9885 * files.el (find-file):
9886 * view.el (view-buffer):
9887 * progmodes/compile.el (compilation-goto-locus):
9888 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9889
89894cd8
CY
98902011-09-02 Chong Yidong <cyd@stupidchicken.com>
9891
9892 * window.el (display-buffer-alist): Doc fix.
9893 (display-buffer): Add docstring. Don't treat
9894 display-buffer-default specially.
9895 (display-buffer-reuse-selected-window)
9896 (display-buffer-same-window, display-buffer-maybe-same-window)
9897 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9898 (display-buffer-pop-up-window)
9899 (display-buffer-reuse-or-pop-window)
9900 (display-buffer-use-some-window): New functions.
9901 (display-buffer-default-action): Use them.
393a301e 9902 (display-buffer-default): Delete.
89894cd8
CY
9903 (pop-to-buffer-1): Fix choice of actions.
9904
ae0bc9fb
SM
99052011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * minibuffer.el (completion--insert-strings): Don't get confused by
9908 completion entries that end with an LF char.
9909
e9d90883
EZ
99102011-09-01 Eli Zaretskii <eliz@gnu.org>
9911
9912 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9913
437014c8
CY
99142011-09-01 Chong Yidong <cyd@stupidchicken.com>
9915
9916 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9917 (display-buffer-same-window, display-buffer-other-window):
9918 New functions.
437014c8
CY
9919 (pop-to-buffer-1): New function. Use the above.
9920 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9921 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9922
9923 * view.el (view-buffer-other-window, view-buffer-other-frame):
9924 Just use pop-to-buffer.
9925
a5e063d5
TV
99262011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9927
9928 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9929
793d32bb
WH
99302011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9931
9932 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9933
d65e4c15
RS
99342011-08-31 Richard Stallman <rms@gnu.org>
9935
9936 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9937 of the separation of rmail-view-buffer from rmail-buffer.
9938 If you say no to "replace original", the decrypt is in the
9939 view buffer. If you say yes, the decrypt goes into the
9940 rmail buffer also.
9941
f818cd2a
MR
99422011-08-31 Martin Rudalics <rudalics@gmx.at>
9943
9944 * window.el (display-buffer-window): Rewrite doc-string.
9945 (display-buffer-record-window): New function.
9946 (display-buffer-macro-specifiers)
9947 (display-buffer-even-window-sizes, display-buffer-set-height)
9948 (display-buffer-set-width, display-buffer-in-window)
9949 (display-buffer-reuse-window, display-buffer-split-specifiers)
9950 (display-buffer-side-specifiers, display-buffer-split-window-1)
9951 (display-buffer-split-window, display-buffer-split-atom-window)
9952 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9953 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9954 (display-buffer-other-window-means-other-frame)
9955 (display-buffer-normalize-special)
9956 (display-buffer-normalize-default)
9957 (display-buffer-normalize-argument)
9958 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9959 (display-buffer-normalize-specifiers, display-buffer-frame)
9960 (display-buffer-same-window, display-buffer-same-frame)
9961 (display-buffer-other-window)
9962 (display-buffer-same-frame-other-window)
9963 (display-buffer-other-frame, pop-to-buffer-same-window)
9964 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9965 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9966 (switch-to-buffer-same-frame)
9967 (switch-to-buffer-other-window-same-frame)
9968 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9969 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9970 (display-buffer-alist-set): Remove.
9971 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9972 (special-display-regexps, special-display-function):
9973 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9974 parameter.
9975 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9976 (special-display-frame-alist, special-display-popup-frame)
9977 (same-window-buffer-names, same-window-regexps, same-window-p)
9978 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9979 (split-window-preferred-function, split-height-threshold)
9980 (split-width-threshold, window-splittable-p)
9981 (split-window-sensibly, window--try-to-split-window)
9982 (window--frame-usable-p, even-window-heights)
9983 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9984 (window--display-buffer-2, display-buffer-other-frame):
9985 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9986 (display-buffer-default, display-buffer-assq-regexp): New functions.
9987 (display-buffer-alist): Rewrite doc-string.
9988 (display-buffer-default-action)
9989 (display-buffer-overriding-action): New variables.
9990 (display-buffer, switch-to-buffer): Rewrite.
9991 (pop-to-buffer): Restore Emacs 23 behavior but use
9992 window-normalize-buffer-to-display.
9993 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9994 Restore Emacs 23 behavior but use
9995 window-normalize-buffer-to-switch-to.
9996 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9997 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9998 Rewrite using Emacs 23 options.
f818cd2a 9999
5bc3b51d
MA
100002011-08-31 Michael Albinus <michael.albinus@gmx.de>
10001
10002 * net/tramp.el (tramp-root-regexp): Remove.
10003 (tramp-completion-file-name-regexp-unified)
10004 (tramp-completion-file-name-regexp-separate)
10005 (tramp-completion-file-name-regexp-url): Don't use leading volume
10006 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10007 (tramp-drop-volume-letter): Simplify definition.
10008 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10009
b1a4f8e1
SM
100102011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10013 (bug#9356).
10014
5664fa7b
RT
100152011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10016
b1a4f8e1 10017 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10018
9a45d6c3
JL
100192011-08-29 Juri Linkov <juri@jurta.org>
10020
10021 * isearch.el (isearch-done): Don't display message "Mark saved"
10022 when arg `edit' is non-nil to prevent its flicker in the echo area.
10023
fb87e0fb
CY
100242011-08-28 Chong Yidong <cyd@stupidchicken.com>
10025
10026 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10027 obsolete packages for deletion.
10028
09ac1c2a
CS
100292011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10030
10031 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10032 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10033 view-mode from help-mode.
10034 (help-xref-override-view-map): Remove.
10035 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10036 view-mode is not used anymore.
10037
7a1ff57f
CY
100382011-08-28 Chong Yidong <cyd@stupidchicken.com>
10039
10040 * server.el (server-port): Doc fix.
10041
b9696605
CY
10042 * cus-theme.el (custom-theme-choose-mode): Inherit from
10043 special-mode (Bug#9124).
10044 (custom-theme-choose-mode-map): Add special-mode to parent.
10045
ef8cdf8c
AM
100462011-08-28 Alan Mackenzie <acm@muc.de>
10047
10048 * progmodes/cc-fonts.el
10049 (c-make-font-lock-BO-decl-search-function): New function.
10050 (c-basic-matchers-after - "Fontify the clauses after various
10051 keywords"): Extract the three keyword lists for the 3 erroneous
10052 constructs from the list of four, and use the new function above
10053 in place of an old one.
10054
27de4e20
DD
100552011-08-28 Deniz Dogan <deniz@dogan.se>
10056
10057 * net/rcirc.el (rcirc-insert-prev-input)
10058 (rcirc-insert-next-input): Remove unused argument.
10059
356a3681
SM
100602011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10063
3fc9b218
AM
100642011-08-27 Alan Mackenzie <acm@muc.de>
10065
10066 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10067 handle function pointer parameters properly.
10068
538a061c
MR
100692011-08-27 Martin Rudalics <rudalics@gmx.at>
10070
10071 * window.el (display-buffer-reuse-window): Fix case where
10072 selected window was reused with non-nil OTHER-WINDOW argument.
10073 (Bug#9381)
10074
35b1c40c
DD
100752011-08-27 Deniz Dogan <deniz@dogan.se>
10076
10077 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10078 oftc's NickServ messages.
10079
2f6a3e79
GM
100802011-08-27 Glenn Morris <rgm@gnu.org>
10081
10082 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10083
7254299e
CY
100842011-08-26 Chong Yidong <cyd@stupidchicken.com>
10085
10086 * emacs-lisp/package.el (package-install): Call package-initialize
10087 if called interactively.
10088
f8ccf167
LL
100892011-08-26 Leo Liu <sdl.web@gmail.com>
10090
10091 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10092
3e8cd5ce
JL
100932011-08-25 Juri Linkov <juri@jurta.org>
10094
10095 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10096 `search-whitespace-regexp' (bug#9364).
10097
93eb7113
JL
100982011-08-25 Juri Linkov <juri@jurta.org>
10099
10100 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10101 `regexp-search-ring' to their global values to protect from
10102 updating by `read-from-minibuffer' (bug#9185).
10103
f65d1611
JL
101042011-08-25 Juri Linkov <juri@jurta.org>
10105
10106 * textmodes/ispell.el (ispell-command-loop): Add newline
10107 at the end of the "Use option `i'..." line.
10108
f1cf7a31
JL
101092011-08-25 Juri Linkov <juri@jurta.org>
10110
10111 * battery.el (display-battery-mode): If `battery-status-function'
10112 or `battery-mode-line-format' is nil, display the message and set
10113 `display-battery-mode' to nil (bug#9363).
10114
0c95fcf7
EZ
101152011-08-25 Eli Zaretskii <eliz@gnu.org>
10116
10117 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10118 bidi-string-mark-left-to-right; they are unnecessary now.
10119
a2ebe600
DD
101202011-08-25 Deniz Dogan <deniz@dogan.se>
10121
10122 * net/quickurl.el: Documentation typo fixes.
10123
e4ed06f1
CY
101242011-08-25 Chong Yidong <cyd@stupidchicken.com>
10125
10126 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10127
e5f1c99e
GM
101282011-08-25 Glenn Morris <rgm@gnu.org>
10129
b2948976
GM
10130 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10131
e5f1c99e
GM
10132 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10133 (smtpmail-via-smtp): Handle nil response from smtp.
10134
f22f4808
JL
101352011-08-24 Juri Linkov <juri@jurta.org>
10136
10137 * proced.el (proced-marked): Inherit from `error' instead of
10138 `font-lock-warning-face'.
10139
10140 * ibuffer.el (ibuffer-marked-face): Change default face from
10141 `font-lock-warning-face' to `warning'.
10142 (ibuffer-deletion-face): Change default face from
10143 `font-lock-type-face' to `error'.
10144
10145 * battery.el (battery-update): Use the face `error' instead of
10146 `font-lock-warning-face' (bug#6117).
10147
6a93965e
JL
101482011-08-24 Juri Linkov <juri@jurta.org>
10149
10150 * faces.el (success): Change face color from "Green3" to
10151 "ForestGreen" on light background (bug#9353).
10152
1ed43b09
CY
101532011-08-24 Chong Yidong <cyd@stupidchicken.com>
10154
5664fa7b
RT
10155 * window.el (quit-window): Rename from quit-restore-window.
10156 Use same arglist as old quit-window.
1ed43b09
CY
10157 (frame-auto-delete): Doc fix.
10158
10159 * view.el (view-mode-exit): Use quit-window.
10160
11dcdbb2
JL
101612011-08-24 Juri Linkov <juri@jurta.org>
10162
10163 * isearch.el (isearch-ring-adjust1): Start visiting previous
10164 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10165 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10166 for empty search string (when the last search string is reused
10167 automatically) to adjust the isearch ring to the last element and
10168 prepare the correct index for further M-p commands (bug#9185).
10169
de62b4df
KH
101702011-08-24 Kenichi Handa <handa@m17n.org>
10171
10172 * international/ucs-normalize.el: If decomposition property of
10173 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10174 nil.
10175 (nfd, nfkd): Likewise.
10176
963b492b
SM
101772011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10180 from process filters aren't reliably transmitted to the surrounding
10181 accept-process-output.
10182 (mpc-proc-check): New function.
10183 (mpc-proc-sync): Use it (bug#8293)
10184
93b6b5e1
SM
101852011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10188 Add compatibility functions (bug#9313).
10189
bca633fb
EZ
101902011-08-23 Eli Zaretskii <eliz@gnu.org>
10191
b177498a
EZ
10192 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10193
6df6ae42 10194 * international/uni-bidi.el: Regenerate.
bca633fb 10195
0902a04e
KH
101962011-08-23 Kenichi Handa <handa@m17n.org>
10197
10198 * international/charprop.el:
10199 * international/uni-bidi.el:
10200 * international/uni-category.el:
10201 * international/uni-combining.el:
10202 * international/uni-comment.el:
10203 * international/uni-decimal.el:
10204 * international/uni-decomposition.el:
10205 * international/uni-digit.el:
10206 * international/uni-lowercase.el:
10207 * international/uni-mirrored.el:
10208 * international/uni-name.el:
10209 * international/uni-numeric.el:
10210 * international/uni-old-name.el:
10211 * international/uni-titlecase.el:
10212 * international/uni-uppercase.el: Regenerate.
10213
3bbf23bc
MR
102142011-08-23 Martin Rudalics <rudalics@gmx.at>
10215
10216 * help.el (help-window-setup): Fix message displayed when other
10217 window is reused. (Bug#9341)
10218
b3fd59bd
SM
102192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10220
1802e444
SM
10221 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10222 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10223
b3fd59bd
SM
10224 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10225 Mark obsolete.
10226 * shell.el (shell-parse-pcomplete-arguments): New function.
10227 (shell-completion-vars): Use it instead (bug#9160).
10228
4eb61348
SM
102292011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10230
867cab74
SM
10231 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10232 strings and comments (bug#9333).
10233
4eb61348
SM
10234 * emacs-lisp/debug.el (debug-arglist): New function.
10235 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10236 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10237
262a1439
JL
102382011-08-22 Juri Linkov <juri@jurta.org>
10239
56ee679c
JL
10240 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10241 Revert regexp that highlights output switches to its old
10242 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10243
262a1439
JL
10244 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10245 to check for empty output (bug#9226).
10246
f13f86fb
CY
102472011-08-22 Chong Yidong <cyd@stupidchicken.com>
10248
10249 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10250 symbol-constituent as the default, as that stops font-lock from
10251 working properly (Bug#8843).
10252
c65c9622
LMI
102532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10254
10255 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10256 `coding-system-for-*' around the process open call to avoid
10257 auth-source side effects.
e7f2c178 10258 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10259 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10260 probe hangs.
c65c9622 10261
23a8a5ab
CY
102622011-08-21 Chong Yidong <cyd@stupidchicken.com>
10263
ff98b2dd
CY
10264 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10265
23a8a5ab
CY
10266 * emacs-lisp/find-func.el (find-function-noselect): New arg
10267 lisp-only.
10268
10269 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10270 signal an error for built-in functions (Bug#6664).
10271
f5e3c598
LMI
102722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10273
10274 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10275 (smtpmail-try-auth-methods): Use it.
10276
a3f2468a
CY
102772011-08-21 Chong Yidong <cyd@stupidchicken.com>
10278
2c34e8da
CY
10279 * font-lock.el (font-lock-fontify-region)
10280 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10281 (font-lock-default-unfontify-buffer)
10282 (font-lock-default-fontify-region)
10283 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10284
b3fd59bd
SM
10285 * progmodes/compile.el (compilation-error-properties):
10286 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10287 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10288 `ant' regexp.
ee31aabc 10289
a3f2468a
CY
10290 * net/browse-url.el (browse-url-firefox): Don't call
10291 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10292
8e999f70
GM
102932011-08-20 Glenn Morris <rgm@gnu.org>
10294
c21a496a
GM
10295 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10296
59ee0542
GM
10297 * tutorial.el (tutorial--default-keys): Update some default bindings.
10298
8e999f70
GM
10299 * files.el (hack-local-variables): Fully ignore case for "mode:".
10300
e3715033
AM
103012011-08-20 Alan Mackenzie <acm@muc.de>
10302
10303 Resolve invalid use of a regexp in regexp-opt.
10304
4d61f28d
JB
10305 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10306 detection for a java annotation.
e3715033 10307
4d61f28d 10308 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10309 detection for a java annotation.
10310
4d61f28d
JB
10311 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10312 handling for java.
e3715033
AM
10313 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10314
04ed2e9c
CY
103152011-08-20 Chong Yidong <cyd@stupidchicken.com>
10316
10317 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10318 (Bug#9274).
10319
826cee64
AM
103202011-08-20 Alan Mackenzie <acm@muc.de>
10321
58179cce 10322 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10323 such a construct. Mainly for when jit-lock etc. starts a chunk
10324 here.
10325
58179cce 10326 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10327 variable.
58179cce 10328 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10329 c-make-font-lock-search-function.
10330 (c-make-font-lock-search-function): Use the above function.
10331 (c-make-font-lock-context-search-function): New function.
10332 (c-cpp-matchers): Enhance the preprocessor expression case with
10333 the above function
10334 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10335 which takes an expression.
10336
10337 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10338
13009bd8
MR
103392011-08-20 Martin Rudalics <rudalics@gmx.at>
10340
10341 * window.el (display-buffer-reuse-window)
10342 (display-buffer-pop-up-window): Don't reuse or split a side
10343 window.
10344
9234ff7f
GM
103452011-08-19 Glenn Morris <rgm@gnu.org>
10346
10347 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10348 Downcase "Mode:". (Bug#9331)
9234ff7f 10349
f635daa1
CY
103502011-08-18 Chong Yidong <cyd@stupidchicken.com>
10351
10352 * international/characters.el: Add L and R categories.
10353
10354 * subr.el (bidi-string-mark-left-to-right): Rename from
10355 string-mark-left-to-right. Use category search.
10356
10357 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10358
bc987f8b
JL
103592011-08-18 Juri Linkov <juri@jurta.org>
10360
10361 * faces.el (error, warning, success): New faces with definitions
10362 copied from old default values of `font-lock-warning-face',
10363 `compilation-warning', `compilation-info' (bug#6117).
10364
10365 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10366
10367 * progmodes/compile.el (compilation-error): Inherit from `error'.
10368 (compilation-warning): Inherit from `warning'.
10369 (compilation-info): Inherit from `success'.
10370
10371 * dired.el (dired-marked): Inherit from `warning'.
10372 (dired-flagged): Inherit from `error'.
10373
57173b96
LMI
103742011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10375
3e79eb87
LMI
10376 * mail/smtpmail.el (auth-source): Require to avoid problems with
10377 binding variables (bug#9298). Also clean up some unused
10378 autoloads.
10379
b3fd59bd
SM
10380 * net/network-stream.el (network-stream-open-starttls):
10381 Support using starttls.el without using gnutls-cli.
57173b96 10382
02b404de
JL
103832011-08-17 Juri Linkov <juri@jurta.org>
10384
10385 * progmodes/grep.el (rgrep): Handle the case when
10386 `grep-find-command' is a cons cell (bug#9278).
10387
8c9177f2
MR
103882011-08-17 Martin Rudalics <rudalics@gmx.at>
10389
10390 * window.el (display-buffer-pop-up-frame): Run frame creation
10391 function with BUFFER current (as special-display-popup-frame
10392 does). Reported by Drew Adams.
10393
3644a0ab
DU
103942011-08-17 Daiki Ueno <ueno@unixuser.org>
10395
10396 * epa-mail.el: Simplify GnuPG group expansion using
10397 epg-expand-group.
10398 (epa-mail-group-alist, epa-mail-group-modtime)
10399 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10400 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10401 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10402 Remove.
10403
5e617bc2 104042011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10405
10406 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10407
9c4aeabf
AM
104082011-08-16 Alan Mackenzie <acm@muc.de>
10409
10410 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10411 Correct, to avoid the inside of macros.
10412
3a99bf64
RS
104132011-08-16 Richard Stallman <rms@gnu.org>
10414
04963aa8
RS
10415 * epa-mail.el: Handle GnuPG group definitions.
10416 (epa-mail-group-alist, epa-mail-group-modtime)
10417 (epa-mail-gnupg-conf-file): New variables.
10418 (epa-mail-parse-groups, epa-mail-sync-groups)
10419 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10420 (epa-mail-expand-recipients): New functions.
10421 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10422
177549d0
RS
10423 * mail/rmail.el (rmail-epa-decrypt): New command.
10424
fe38beef
RS
10425 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10426 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10427 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10428 (epa-decrypt-armor-in-region): Make error message clearer.
10429
934eacb9
SM
104302011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10433 and "a2b" to "ab" for `prefix'.
10434
d024fb4e
CY
104352011-08-14 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10438 filter groups.
de148fee
CY
10439 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10440 Fourquet (Bug#8804).
d024fb4e 10441
62f1ca49
JB
104422011-08-12 Juanma Barranquero <lekktu@gmail.com>
10443
10444 * startup.el (argi): Declare as global variable (bug#9275).
10445
9ccaaa4b
CY
104462011-08-12 Chong Yidong <cyd@stupidchicken.com>
10447
10448 * subr.el (string-mark-left-to-right): Search the entire string
10449 for RTL script, not just the terminating character. Doc fix.
10450
a3dae87a
SM
104512011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10452
6cd18349
SM
10453 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10454 New function.
10455 (js--regexp-literal, js-syntax-propertize-function): Remove.
10456 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10457 (js-mode-map): Don't rebind electric keys.
10458 (js-insert-and-indent): Remove.
10459 (js-mode): Setup electric-layout and electric-indent instead.
10460
a3dae87a
SM
10461 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10462
9d5cb631
DU
104632011-08-12 Daiki Ueno <ueno@unixuser.org>
10464
10465 * epa.el (epa-progress-callback-function): Fix the logic of
10466 displaying progress.
10467 * epa-file.el (epa-file-insert-file-contents): Make progress
10468 display more user-friendly.
10469 (epa-file-write-region): Ditto.
10470
3e26a4a2
CY
104712011-08-10 Chong Yidong <cyd@stupidchicken.com>
10472
10473 * subr.el (string-mark-left-to-right): New function.
10474
10475 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10476 Use string-mark-left-to-right.
10477 (list-buffers-noselect): Caller changed.
10478
a3dae87a
SM
10479 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10480 Use string-mark-left-to-right.
3e26a4a2
CY
10481 (tabulated-list-print): Recenter after moving point.
10482
ac8cf6e6
JL
104832011-08-10 Juri Linkov <juri@jurta.org>
10484
10485 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10486 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10487 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10488
8d96c9a4
CY
104892011-08-09 Chong Yidong <cyd@stupidchicken.com>
10490
10491 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10492 (Bug#7554).
10493
7be1c708 104942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10495
10496 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10497 character. (Bug#6594)
10498
37e11a63
CY
104992011-08-08 Chong Yidong <cyd@stupidchicken.com>
10500
839dde57
CY
10501 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10502 (image-dired--with-db-file): New macro.
10503 (image-dired-write-tags, image-dired-remove-tag)
10504 (image-dired-create-gallery-lists, image-dired-write-comments)
10505 (image-dired-get-comment, image-dired-mark-tagged-files)
10506 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10507 (image-dired-gallery-generate): Use insert-file-contents.
10508
37e11a63
CY
10509 * time.el (display-time-world-list, display-time-world-display):
10510 * time-stamp.el (time-stamp-string):
10511 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10512 set-time-zone-rule (Bug#7337).
10513
0b4946c4
DU
105142011-08-08 Daiki Ueno <ueno@unixuser.org>
10515
10516 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10517 (epg-error-to-string, epg-errors-to-string): New function.
10518 (epg-wait-for-completion): Reverse errors list.
10519 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10520 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10521 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10522 (epg-sign-keys, epg-generate-key-from-file)
10523 (epg-generate-key-from-string): Format errors by using
10524 epg-errors-to-string (bug#9255).
10525 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10526
75bfc667
JL
105272011-08-07 Juri Linkov <juri@jurta.org>
10528
10529 * faces.el (list-faces-display): Remove extra angle bracket
10530 from `help-mode-map'.
10531
10532 * info.el (Info-history-toc-nodes): Doc fix.
10533
10534 * longlines.el (longlines-mode): Doc fix.
10535
673e08bb
SM
105362011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10537
4640dd88
SM
10538 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10539 of statements and in a few more cases (bug#9183).
10540
673e08bb
SM
10541 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10542 New functions.
10543 (cl-transform-lambda): Use them (bug#9239).
10544
89b3f019
MR
105452011-08-05 Martin Rudalics <rudalics@gmx.at>
10546
10547 * window.el (display-buffer-same-window)
10548 (display-buffer-same-frame, display-buffer-other-window)
10549 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10550 (pop-to-buffer-other-window)
10551 (pop-to-buffer-same-frame-other-window)
10552 (pop-to-buffer-other-frame): Make them defuns.
10553 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10554
640c8776
SM
105552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * subr.el (make-composed-keymap): Move from C. Change calling
10558 convention, and improve docstring to bring attention to a subtle point.
10559 * minibuffer.el (completing-read-default): Adjust accordingly.
10560
63648a95
MA
105612011-08-03 Michael Albinus <michael.albinus@gmx.de>
10562
10563 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10564 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10565
10566 * net/trampver.el: Update release number.
10567
b796c9b7
SM
105682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10569
10570 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10571 "in" (bug#9190).
10572
2239d7d5
LMI
105732011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10574
e07dd7c3
LMI
10575 * mail/sendmail.el (sendmail-query-once): Restore the current
10576 buffer after querying (bug#9074).
10577
0e6a2bd7
LMI
10578 * dired.el (dired-flagged): Use different faces for marked and
10579 flagged files (bug#6117).
10580
ce887515
LMI
10581 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10582 (bug#4433).
10583
92f2affc
LMI
10584 * ido.el (ido-mode): Switch off the message if called
10585 non-interactively.
10586
57d5aff0
LMI
10587 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10588 before 587, since it appears that that's more likely to work for
10589 more people.
10590
98cd6c18 10591 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10592 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10593 exist.
10594
b96dec83
LMI
10595 * info.el: Remove the `Info-beginning-of-buffer' function
10596 (bug#8325).
10597
b796c9b7
SM
10598 * net/network-stream.el (network-stream-open-starttls):
10599 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10600
d90e2ea0
MR
106012011-08-01 Martin Rudalics <rudalics@gmx.at>
10602
10603 * window.el (display-buffer-in-window): Don't set dedicated status
10604 of window here (Bug#9215).
10605 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10606 (display-buffer-pop-up-side-window)
b796c9b7 10607 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10608
cca09170
SM
106092011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10612 before binding generated-autoload-file.
10613
027b979c
DD
106142011-08-01 Deniz Dogan <deniz@dogan.se>
10615
10616 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10617
3c7ee4f3
MA
106182011-07-30 Michael Albinus <michael.albinus@gmx.de>
10619
10620 Sync with Tramp 2.2.2.
10621
10622 * net/trampver.el: Update release number.
10623
2cc8e51a
JL
106242011-07-30 Juri Linkov <juri@jurta.org>
10625
10626 * dired-aux.el (dired-touch-initial): Remove function.
10627 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10628 current time, and `default' to the last modification time of the
10629 current marked file (bug#6887).
10630
a514d856
JM
106312011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10632
10633 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10634 numeric argument to read-number (bug#9163).
a514d856 10635
8a7eddd7
MA
106362011-07-27 Michael Albinus <michael.albinus@gmx.de>
10637
10638 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10639 connection process, it could be nil.
10640
1ddd96f5
LL
106412011-07-27 Leo Liu <sdl.web@gmail.com>
10642
10643 Simplify url handling in rcirc-mode.
10644
10645 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10646 (rcirc-browse-url-at-mouse): Remove.
10647 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10648
b248a85d
AM
106492011-07-26 Alan Mackenzie <acm@muc.de>
10650
10651 Fontify bitfield declarations properly.
10652
10653 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10654 (c-symbol-chars): Now exported as a lang variable.
10655 (c-not-primitive-type-keywords): New lang variable.
10656
10657 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10658 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10659 parsed as a bitfield declaration.
b248a85d 10660
b796c9b7
SM
10661 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10662 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10663 (c-punctuation-in): New function.
10664 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10665 declarations properly.
10666
68575ab0
UJ
106672011-07-26 Ulf Jasper <ulf.jasper@web.de>
10668
10669 * calendar/icalendar.el (icalendar--all-events): Take care of
10670 multiple vcalendars in a single file.
b796c9b7 10671 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10672
0f0a88b9
DD
106732011-07-25 Deniz Dogan <deniz@dogan.se>
10674
10675 * image.el (insert-image): Clarifying docstring.
10676
0b3f36df
MA
106772011-07-24 Michael Albinus <michael.albinus@gmx.de>
10678
10679 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10680 `tramp-send-command-and-check' if there is no error.
10681 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10682
a9901f61
AM
106832011-07-22 Alan Mackenzie <acm@muc.de>
10684
10685 Prevent cc-langs.elc being loaded at run time.
10686
10687 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10688 cc-langs.
10689
4d61f28d 10690 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10691 "(require 'cc-langs)". Quote a form so it will evaluate at
10692 (cc-mode's) compilation time.
10693
11d074b2
MA
106942011-07-22 Michael Albinus <michael.albinus@gmx.de>
10695
10696 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10697 loading. (Bug#9114)
10698
938b94c8
MR
106992011-07-21 Martin Rudalics <rudalics@gmx.at>
10700
10701 * window.el (display-buffer-pop-up-window)
10702 (display-buffer-pop-up-side-window)
10703 (display-buffer-in-side-window): Call display-buffer-set-height
10704 and display-buffer-set-width after setting the new window's
b796c9b7 10705 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10706
bfa4f190
SS
107072011-07-20 Sam Steingold <sds@gnu.org>
10708
10709 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10710 (etags-tags-included-tables): Call `convert-standard-filename' on
10711 the file names contained in TAGS so that windows Emacs can handle
10712 TAGS files created by cygwin ctags.
10713
8ca42262
LMI
107142011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10715
10716 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10717 which apparently didn't work.
10718
5db2afd2 107192011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10720
5db2afd2
RW
10721 * proced.el (proced-send-signal): For *Marked Processes* buffer
10722 put point at beginning of buffer.
10723
92e15d10
SB
107242011-07-19 Stephen Berman <stephen.berman@gmx.net>
10725
10726 * proced.el (proced-format): Make header lines align with the text
10727 (bug#1779).
10728
1bfd59e5
LMI
107292011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10730
10731 * view.el (view-buffer): Allow running in `special' modes if we're
10732 visiting a file (bug#8615).
10733
f5aae37c
MR
107342011-07-19 Martin Rudalics <rudalics@gmx.at>
10735
10736 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10737 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10738 New functions.
f5aae37c
MR
10739 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10740 more accurately.
10741
bf2c1571
AM
107422011-07-18 Alan Mackenzie <acm@muc.de>
10743
10744 Fontify declarators properly when, e.g., a jit-lock chunk begins
10745 inside a declaration.
10746
10747 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10748
b796c9b7
SM
10749 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10750 New function.
bf2c1571
AM
10751 (c-complex-decl-matchers): Insert reference to
10752 c-font-lock-enclosing-decls.
10753
10754 * progmodes/cc-engine.el (c-backward-single-comment):
10755 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10756 to nil around calls to (forward-comment -1).
10757
4e190b80
LMI
107582011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10759
12dc863d
LMI
10760 * image.el (put-image): Doc typo fix.
10761
a762e966
LMI
10762 * progmodes/etags.el (tags-search): Doc typo fix.
10763
4e190b80
LMI
10764 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10765 password if we get errors 550 to 554.
10766
f019fb21
LMI
107672011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10768
b796c9b7 10769 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10770
81746738
LMI
10771 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10772 indentation character (bug#6380).
10773
3ee3a1b5
LMI
10774 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10775
c82f64de
LMI
10776 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10777 to clarify what the problem is (bug#4291).
10778
f019fb21
LMI
10779 * simple.el (current-kill): Clarify what
10780 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10781 (auto-fill-mode): Document `auto-fill-function' in relation to
10782 `auto-fill-mode' (bug#2470).
f019fb21 10783
0794775d
LM
107842011-07-16 Lawrence Mitchell <wence@gmx.li>
10785
10786 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10787 method if slot is read-only (bug#9035).
10788
be39b8cc
MR
107892011-07-16 Martin Rudalics <rudalics@gmx.at>
10790
b796c9b7 10791 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10792 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10793 selected before, see discussion of (Bug#8615), (Bug#6954).
10794 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10795
6ccf7859
GM
107962011-07-15 Glenn Morris <rgm@gnu.org>
10797
10798 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10799 Respect help-form.
6ccf7859 10800
87e86684
LM
108012011-07-09 Lawrence Mitchell <wence@gmx.li>
10802
10803 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10804 (gnutls-negotiate): Use it.
10805
d6066239
LMI
108062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10807
b796c9b7
SM
10808 * net/gnutls.el (gnutls-negotiate):
10809 Upcase `gnutls-algorithm-priority'.
d6066239 10810
bd23ebc0
GM
108112011-07-15 Glenn Morris <rgm@gnu.org>
10812
c65bca65
GM
10813 * jka-compr.el (jka-compr-verbose): Move from here...
10814 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10815 Add missing :version tag.
10816 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10817
478615cc
LMI
108182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10819
7b41decb
LMI
10820 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10821 (gnutls-negotiate): Use it.
10822
dbc44fcd
LMI
10823 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10824
06789f97
LMI
10825 * info.el (Info-beginning-of-buffer): New command.
10826 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10827 announcing `b' as the key (bug#8325).
ab896c37 10828 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10829
c39da690
LMI
10830 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10831
3aa5f34b
LMI
10832 * international/mule-cmds.el
10833 (describe-specified-language-support): Make the error message
10834 clearer (bug#8905).
10835
4bf0979f
LMI
10836 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10837
478615cc
LMI
10838 * isearch.el (isearch-barrier): Add a doc string, since it's
10839 mentioned in a function doc string (bug#8678).
10840
75c68aa1
MR
108412011-07-15 Martin Rudalics <rudalics@gmx.at>
10842
10843 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10844 buffer argument (Bug#9083) and self-identifying label argument.
10845
a7c33da2
GM
108462011-07-15 Glenn Morris <rgm@gnu.org>
10847
10848 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10849
2f5c6024
LMI
108502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10851
10852 * man.el (Man-fontify-manpage): Fix message when formatting the
10853 man page (bug#7929).
10854
0bb23927 108552011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10856
10857 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10858 argument LRM; if non-nil, append an invisible LRM character to the
10859 buffer name.
10860 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10861 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10862 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10863 paragraph direction.
cce4b0a7 10864
621ef9ab
LMI
108652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10866
d1583c48
LMI
10867 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10868 the man page name (bug#7929).
10869
6a57fb5f
LMI
10870 * image.el (put-image): Mention the `put-image' overlay property
10871 (bug#7834).
10872
d7956b14
LMI
10873 * scroll-bar.el (set-scroll-bar-mode): Mention that
10874 `scroll-bar-mode' lists the values (bug#7772).
10875
5b2d4a66
LMI
10876 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10877 command (bug#7729).
10878
7509a874
LMI
10879 * rect.el (apply-on-rectangle): Return the point after the last
10880 operation.
10881 (string-rectangle): Go to the point after the last operation
10882 (bug#7522).
10883
4fe74b19
LMI
10884 * printing.el (pr-toggle-region): Clarify the documentation
10885 slightly (bug#7493).
10886
b796c9b7
SM
10887 * time.el (display-time-update):
10888 Allow `display-time-mail-function' to return nil (bug#7158).
10889 Fix suggested by Detlev Zundel.
ab283561 10890
fc233c9d
LMI
10891 * vc/diff.el (diff): Clarify the order the file names are read
10892 (bug#7111).
10893
43f5740b
LMI
10894 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10895 the doc string (bug#7015).
10896
f2182a76
LMI
10897 * font-lock.el (font-lock-maximum-decoration): Mention what
10898 numeric levels mean (bug#6935).
10899
621ef9ab
LMI
10900 * startup.el (initial-buffer-choice): Don't mention the `none'
10901 selection, which is against policy.
10902
adc47434
MR
109032011-07-14 Martin Rudalics <rudalics@gmx.at>
10904
b796c9b7
SM
10905 * window.el (display-buffer-normalize-special):
10906 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10907
7e5bfb8f
EZ
109082011-07-14 Eli Zaretskii <eliz@gnu.org>
10909
10910 * subr.el (version<, version<=, version=): Mention "-CVS" and
10911 "-12345" alpha version numbers.
10912
27fa387a
CY
109132011-07-14 Chong Yidong <cyd@stupidchicken.com>
10914
10915 * bindings.el: Add advertised binding for set-mark-command
10916 (Bug#5772).
10917
8bdfa064
CY
109182011-07-14 Chong Yidong <cyd@stupidchicken.com>
10919
10920 * bindings.el (mode-line-other-buffer):
10921 * bookmark.el (bookmark-bmenu-2-window):
10922 * bs.el (bs-cycle-next, bs-cycle-previous):
10923 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10924 switch-to-buffer.
10925
10926 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10927 Delete.
8bdfa064 10928
5eba16a3
JB
109292011-07-14 Juanma Barranquero <lekktu@gmail.com>
10930
10931 * follow.el (follow-debug-message, follow-redisplay):
10932 * jka-cmpr-hook.el (with-auto-compression-mode):
10933 Fix typos in docstrings.
10934
15853710
LMI
109352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10936
a28e4607
LMI
10937 * subr.el (with-silent-modifications): Clarify somewhat what the
10938 macro inhibits (bug#6525).
10939
15853710
LMI
10940 * simple.el (eval-expression): Note what it does if called
10941 interactively (bug#6495).
10942
bee0fcef
CY
109432011-07-13 Chong Yidong <cyd@stupidchicken.com>
10944
b796c9b7
SM
10945 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10946 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10947
10948 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10949 Remove switch-to-buffer.
10950
58274504
LMI
109512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10952
bd2fcc8d
LMI
10953 * files.el (make-directory): Clarify that an error will be raised
10954 if there's an error (bug#6397).
10955
0f04b32c
LMI
10956 * startup.el (initial-buffer-choice): Add `none' as a choice
10957 (bug#6234).
10958
465c5fc8
LMI
10959 * subr.el (add-hook): Clarify section about buffer-local hooks
10960 (bug#6218).
10961
58274504
LMI
10962 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10963
bead9a43
JB
109642011-07-13 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * tabify.el (untabify): Preserve the current column so that point
10967 doesn't move (bug#6032).
10968
3af98a7b
LMI
109692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10970
b796c9b7
SM
10971 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10972 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10973
6240145a
GM
109742011-07-13 Glenn Morris <rgm@gnu.org>
10975
10976 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10977 (dired-insert-directory): Give a message the first time
10978 if ls is found not to support --dired.
10979
1d8c2ccc
LMI
109802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981
10982 * simple.el (toggle-truncate-lines): Clarify what is toggled
10983 (bug#5580). Text by Drew Adams.
10984
5fc4038e
CY
109852011-07-13 Chong Yidong <cyd@stupidchicken.com>
10986
10987 * simple.el (blink-matching-open): Make the error message from the
10988 last change less verbose.
10989
bf6012e5
DN
109902011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10991
10992 * font-lock.el (font-lock-comment-face): Use the high contrast
10993 "yellow" color for font-lock-comment-face on low color terminals
10994 using a dark background color (bug#4221).
10995
343c3b5a
LMI
109962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10997
7e9505c5
LMI
10998 * dired.el (dired-insert-set-properties): Make the doc string
10999 reflect what it does now (bug#5325).
11000
c26fdcf5
LMI
11001 * simple.el (blink-matching-open): Say that we were unable to find
11002 the match within the limit, if we're limited (bug#5122).
11003
bb388cc5
LMI
11004 * international/mule-cmds.el (prefer-coding-system): Add an
11005 example (bug#4869).
11006
343c3b5a
LMI
11007 * progmodes/etags.el (tags-search): Document `file-list-form'
11008 (bug#4731).
11009
2a517d45
LM
110102011-07-13 Lawrence Mitchell <wence@gmx.li>
11011
11012 * net/browse-url.el (browse-url-default-browser)
11013 (browse-url-browser-function): Make the default browser choice a
11014 bit more logical (bug#4300). Also clean up the doc string.
11015
b6c78ef2
JB
110162011-07-13 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11019 binary endings (bug#4440).
11020
1c4dd947
LMI
110212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11022
a2014063
LMI
11023 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11024 which can be pretty annoying (bug#8971).
11025
9c9c2d88
LMI
11026 * jka-compr.el (jka-compr-verbose): New variable, and use
11027 throughout (bug#8971).
11028
1c4dd947
LMI
11029 * info.el (Info-find-file): Fall back on the installation
11030 directory if we can't find the info node anywhere else.
11031
a1c9f41b
SO
110322011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11033
11034 * vc/vc.el (vc-revert-file):
11035 Don't set file time-stamp in the past. (Bug#5181)
11036
536f3d36
LMI
110372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11038
7152b011
LMI
11039 * files.el (after-find-file): Give a better error message when
11040 trying to find a symlink that points to a file that doesn't exist
11041 (bug#4398).
11042
536f3d36
LMI
11043 * progmodes/cc-vars.el: Remove (probably) misleading comment
11044 (bug#4396).
11045
460c0fba
JB
110462011-07-12 Johan Bockgård <bojohan@gnu.org>
11047
11048 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11049
7a6bda45
CY
110502011-07-12 Chong Yidong <cyd@stupidchicken.com>
11051
11052 * mouse-sel.el: Hack restoring functionality, while keeping
11053 compatibility with 2010-07-03 changes to mouse selection.
11054 (mouse-sel-primary-overlay): New var.
11055 (mouse-sel-selection-alist): Use it.
11056 (mouse-sel-mode): Doc fix; remove points that are default features
11057 of mouse.el.
11058
c79598ef
JB
110592011-07-12 Johan Bockgård <bojohan@gnu.org>
11060
11061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11062 Fix previous fix (bug#2490).
11063
ff8be6ef
RW
110642011-07-12 Roland Winkler <winkler@gnu.org>
11065
b796c9b7
SM
11066 * textmodes/bibtex.el (bibtex-initialize):
11067 Use pop-to-buffer-same-window.
ff8be6ef
RW
11068 (bibtex-search-entries): Fix interactive call.
11069
296ba3ee
LMI
110702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11071
f5242a02 11072 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11073 Fontise bytecomp Error lines more correctly (bug#2490).
11074 Fix suggested by Johan Bockgård.
f5242a02 11075
296ba3ee
LMI
11076 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11077
11078 * dired-x.el (dired-guess-default): Use `delete-dups'.
11079
f69fd0d2
CY
110802011-07-12 Chong Yidong <cyd@stupidchicken.com>
11081
11082 * dired.el (dired-mark-prompt):
11083 * dired-aux.el (dired-read-shell-command): Doc fix.
11084
eab5dc07
LMI
110852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11086
b796c9b7
SM
11087 * mail/sendmail.el (sendmail-query-once):
11088 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11089 emacs -Q.
11090
11091 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11092
eab5dc07
LMI
11093 * cus-edit.el (custom-file): Take an optional no-error variable.
11094 (customize-save-variable): Set the variable, and give a warning if
11095 running under "emacs -q".
11096
a1e65d42
JB
110972011-07-11 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * loadhist.el (unload-feature-special-hooks):
11100 Add `auto-coding-functions', `fill-nobreak-predicate' and
11101 `find-directory-functions' (bug#5327).
11102
1d52da10
LMI
111032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11104
be958f1d
LMI
11105 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11106
5bedb26c
LMI
11107 * cus-edit.el (custom-guess-name-alist): -alist variables should
11108 use the `alist' type (bug#3120). Suggested by Drew Adams.
11109
1d52da10
LMI
11110 * printing.el: Add documentation to all the `pr-toggle-' commands.
11111
cd394be1 111122011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11113
11114 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11115 backends where it makes sense (bug#2623).
11116
dcc88d8a
LMI
111172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11118
c3de9feb
LMI
11119 * dired-x.el (dired-guess-default): Remove duplicate shell command
11120 entries (bug#2028).
8a93078b 11121 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11122 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11123
dcc88d8a
LMI
11124 * subr.el (remove-duplicates): New conveniency function.
11125
505e3645
LMI
111262011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11127
11128 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11129 (bug#1526).
11130
111312011-07-10 Martin Rudalics <rudalics@gmx.at>
11132
11133 * window.el (display-buffer-normalize-default): Don't invert
11134 meaning of even-window-heights. Reported by Eli Zaretskii
11135 <eliz@gnu.org>.
11136
455e4fa1
BR
111372011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11138
11139 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11140
8e0bc3e9
CY
111412011-07-10 Chong Yidong <cyd@stupidchicken.com>
11142
11143 * window.el (display-buffer): Fix arguments to
11144 display-buffer-reuse-window in last change.
11145
fa7c3228
CY
11146 * faces.el (link): Use a less saturated blue on light backgrounds.
11147
11148 * startup.el (fancy-startup-text, fancy-about-text)
11149 (fancy-startup-tail): Use font-lock faces, for background safety.
11150
c0a7f300
BN
111512011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11152
b796c9b7
SM
11153 * emulation/viper-cmd.el (viper-change-state-to-vi):
11154 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11155
4dc2a129
MR
111562011-07-09 Martin Rudalics <rudalics@gmx.at>
11157
11158 * window.el (display-buffer-default-specifiers): Remove.
11159 (display-buffer-macro-specifiers): Remove default specifiers.
11160 (display-buffer-alist): Default to nil.
b796c9b7 11161 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11162 (display-buffer-pop-up-window): Allow splitting internal
11163 windows. Check whether a live window was created.
11164 (display-buffer-other-window-means-other-frame)
11165 (display-buffer-normalize-arguments): Rename to
11166 display-buffer-normalize-argument and rewrite. Set the
11167 other-window specifier.
11168 (display-buffer-normalize-special): New function.
11169 (display-buffer-normalize-options): Rename to
11170 display-buffer-normalize-default and rewrite.
11171 (display-buffer-normalize-options-inhibit): Remove.
11172 (display-buffer-normalize-specifiers): Rewrite.
11173 (display-buffer): Process other-window specifier and call
11174 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11175 more faithfully.
b796c9b7 11176 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11177 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11178 (display-buffer-in-window, display-buffer-alist-set):
11179 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11180 <tassilo@member.fsf.org>.
11181
2d43b8c9
LL
111822011-07-09 Leo Liu <sdl.web@gmail.com>
11183
11184 * register.el (insert-register): Restore accidental change on
11185 2011-06-26. (Bug#9028)
11186
7f9b7c53
GM
111872011-07-09 Glenn Morris <rgm@gnu.org>
11188
11189 * subr.el (remq): Handle the empty list. (Bug#9024)
11190
f042cfd8
AS
111912011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11192
11193 * mail/sendmail.el (send-mail-function): No longer delay custom
11194 initialization.
11195 * custom.el (custom-initialize-delay): Doc fix.
11196
856b2f11
SM
111972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11200
afae1d68
MA
112012011-07-08 Michael Albinus <michael.albinus@gmx.de>
11202
11203 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11204 human-friendly prompt.
11205
0757af94
SM
112062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11209 provided by a particular plugin.
11210
d760b731
LMI
112112011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11212
11213 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11214 save customizations (with "emacs -Q"), just set the variable
11215 instead of erroring out.
11216
11217 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11218
cd79ce90
JL
112192011-07-08 Juri Linkov <juri@jurta.org>
11220
11221 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11222 (archive-zip-update-case): Use 7z if found by `executable-find'.
11223 The order of searching the available programs is the same as in
11224 `archive-zip-extract' (bug#8968).
11225
14cc04aa
CY
112262011-07-07 Chong Yidong <cyd@stupidchicken.com>
11227
11228 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11229 (menu-bar-options-menu): Tweak descriptions.
11230
0a1848ec
LMI
112312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11232
11233 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11234 menu items into verb phrases (bug#1421). Also refill to fit under
11235 80 columns.
11236
f5bd0689
CY
112372011-07-07 Chong Yidong <cyd@stupidchicken.com>
11238
538e85c6
CY
11239 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11240 (Info-read-node-name): Doc fix (Bug#1084).
11241
f5bd0689
CY
11242 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11243 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11244 (end-of-sexp, beginning-of-sexp)
11245 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11246 (forward-symbol, forward-same-syntax, word-at-point)
11247 (sentence-at-point): Doc fix (Bug#1144).
11248
56ec5115
LMI
112492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
f3f8e37f
LMI
11251 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11252 should cover it (bug#1281).
11253
0757af94 11254 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11255
e9fce1ac 11256 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11257 negotiation fails, then possibly try again with a non-encrypted
11258 connection (bug#9017).
11259
56ec5115
LMI
11260 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11261 be used.
11262
c2f9aec8
RS
112632011-07-07 Richard Stallman <rms@gnu.org>
11264
11265 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11266 property, and handle its changed format.
11267 Look for the correct line number.
11268 Use file's line contents (but not past first =) to find
11269 correct line in message.
11270
ef7b981d 112712011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11272
11273 * international/characters.el (build-unicode-category-table):
11274 Delete it.
0757af94 11275 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11276
0757af94 11277 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11278 to src/chartab.c.
11279 (get-char-code-property): Call unicode-property-table-internal to
11280 load a file. Call get-unicode-property-internal where necessary.
11281 (put-char-code-property): Call unicode-property-table-internal to
11282 load a file. Call put-unicode-property-internal where necessary.
11283 put-unicode-property-internal where necessary.
0757af94
SM
11284 (char-code-property-description):
11285 Call unicode-property-table-internal to load a file.
c805dec0
KH
11286
11287 * international/charprop.el:
11288 * international/uni-bidi.el:
11289 * international/uni-category.el:
11290 * international/uni-combining.el:
11291 * international/uni-comment.el:
11292 * international/uni-decimal.el:
11293 * international/uni-decomposition.el:
11294 * international/uni-digit.el:
11295 * international/uni-lowercase.el:
11296 * international/uni-mirrored.el:
11297 * international/uni-name.el:
11298 * international/uni-numeric.el:
11299 * international/uni-old-name.el:
11300 * international/uni-titlecase.el:
11301 * international/uni-uppercase.el: Regenerate.
11302
11303 * loadup.el: Load international/charprop.el before
11304 international/characters.
11305
e14b388a
CY
113062011-07-07 Chong Yidong <cyd@stupidchicken.com>
11307
11308 * window.el (next-buffer, previous-buffer): Signal an error if
11309 called from a minibuffer window.
11310
11311 * bindings.el: Revert 2011-07-04 change.
11312
354cf0ba
RS
113132011-07-06 Richard Stallman <rms@gnu.org>
11314
11315 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11316 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11317 Treat markers like ints.
11318 (rmail-mime-entity): Doc fix.
11319
a48868a7
LMI
113202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11321
4906cd3d
LMI
11322 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11323 defcustom again for backwards compatibility.
11324
e0457abe
LMI
11325 * simple.el (shell-command-on-region): Fill.
11326
d67f7e1f
LMI
11327 * dired-aux.el (dired-kill-line): Add a doc string.
11328
fe204702
LMI
11329 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11330 to "\\sw\\|\\s_" (bug#358).
11331
a48868a7
LMI
11332 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11333 (dired-unmark-backward): Ditto.
11334 (dired-flag-backup-files): Ditto.
11335
11336 * dired-x.el (dired-mark-sexp): Ditto.
11337
aa8a705c
RS
113382011-07-06 Richard Stallman <rms@gnu.org>
11339
11340 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11341 (rmail-mime-entity): New arg TRUNCATED.
11342 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11343 New functions.
11344 (rmail-mime-save): Warn if entity is truncated.
11345 (rmail-mime-toggle-hidden): Likewise, for showing.
11346 (rmail-mime-process-multipart): Record when an entity is truncated.
11347
a9a936b9
RS
11348 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11349 if ENTITY is a string.
11350
1f2b92cb
LMI
113512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11352
f4f73198 11353 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11354 of faces when `M-C-x'-ing their definitions (bug#8378).
11355 Also clean up the code slightly.
f4f73198 11356
12b16734 11357 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11358 because that makes the colors go away.
12b16734 11359
f0691d22
LMI
11360 * mail/sendmail.el (send-mail-function): Change the default to
11361 `sendmail-query-once'.
9e87df06 11362 (sendmail-query-once): Add an autoload cookie.
f0691d22 11363
1f2b92cb
LMI
11364 * net/network-stream.el (network-stream-open-starttls): Try using
11365 a plain connection even if the server offered STARTTLS, and we
11366 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11367 capability. This should make smtpmail.el work in slightly more
11368 configurations.
11369
1cdd2a1b
MA
113702011-07-06 Michael Albinus <michael.albinus@gmx.de>
11371
11372 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11373 New defun.
11374 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11375
fbcc67e2
MM
113762011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11377
11378 * progmodes/sql.el: Version 3.0
0757af94 11379 (sql-product-alist): Add product :completion-object,
fbcc67e2 11380 :completion-column, and :statement attributes.
0757af94 11381 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11382 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11383 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11384 ansi keywords.
11385 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11386 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11387 (sql-oracle-show-reserved-words): New function for development.
11388 (sql-product-font-lock): Simplify for source code buffers.
11389 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11390 New functions.
11391 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11392 (sql-mode-map): Add statement movement functions.
11393 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11394 New variable.
fbcc67e2
MM
11395 (sql-statement-regexp, sql-beginning-of-statement)
11396 (sql-end-of-statement, sql-signum): New functions.
0757af94 11397 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11398 (sql-show-sqli-buffer): Bug fix.
11399 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11400 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11401 with sql-interactive-mode.
11402 (sql-save-connection): Save buffer local settings.
0757af94 11403 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11404 (sql-product-interactive): Bug fix.
11405 (sql-preoutput-hold): New variable.
11406 (sql-interactive-remove-continuation-prompt): Bug fixes.
11407 (sql-debug-redirect): New variable.
11408 (sql-str-literal): New function.
11409 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11410 Redesign.
fbcc67e2
MM
11411 (sql-oracle-save-settings, sql-oracle-restore-settings)
11412 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11413 (sql-completion-object, sql-completion-column)
11414 (sql-completion-sqlbuf): New variables.
11415 (sql-build-completions-1, sql-build-completions)
11416 (sql-try-completion): New functions.
11417 (sql-read-table-name): Use them.
11418 (sql-contains-names): New buffer local variable.
11419 (sql-list-all, sql-list-table): Use it.
11420 (sql-oracle-completion-types): New variable.
11421 (sql-oracle-completion-object, sql-sqlite-completion-object)
11422 (sql-postgres-completion-object): New functions.
11423
d4eaeab1
GM
114242011-07-06 Glenn Morris <rgm@gnu.org>
11425
11426 * window.el (pop-to-buffer): Doc fix.
11427
322b7dab 114282011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11429
11430 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11431
322b7dab 114322011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11433
322b7dab 11434 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11435
322b7dab 11436 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11437
605dd5bf
CY
114382011-07-05 Chong Yidong <cyd@stupidchicken.com>
11439
11440 * button.el (button): Inherit from link face. Suggested by Dan
11441 Nicolaescu.
11442
7dbfa719
SM
114432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11444
3db614b0
SM
11445 * progmodes/gdb-mi.el: Fit in 80 columns.
11446 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11447 switch-to-buffer.
11448
7dbfa719
SM
11449 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11450 if imenu is simply not configured (bug#8941).
11451
919d884a
KM
114522011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11453
11454 * allout.el (allout-post-undo-hook): New allout outline-change
11455 event hook to signal undo activity.
11456 (allout-post-command-business): Run allout-post-undo-hook if an
11457 undo just occurred.
7dbfa719
SM
11458 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11459 * allout-widgets.el (allout-widgets-after-undo-function):
11460 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11461 in the vicinity of an undo.
11462 (allout-widgets-mode): Include allout-widgets-after-undo-function
11463 on the new allout-post-undo-hook.
11464
450a0f09
SM
114652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11468 Let define-derived-mode define it.
11469 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11470 cycles of abbrev-table inheritance (bug#8998).
11471
2de69e00
RW
114722011-07-05 Roland Winkler <winkler@gnu.org>
11473
11474 * textmodes/bibtex.el: Add support for biblatex.
11475 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11476 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11477 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11478 (bibtex-entry-alist, bibtex-field-alist): New variables.
11479 (bibtex-entry-field-alist): Obsolete alias for
11480 bibtex-BibTeX-entry-alist.
11481 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11482 (bibtex-set-dialect): New command.
11483 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11484 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11485 Bind via bibtex-set-dialect.
2de69e00
RW
11486 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11487 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11488 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11489 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11490 Define via bibtex-set-dialect.
450a0f09
SM
11491 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11492 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11493 (bibtex-vec-push, bibtex-vec-incr): New functions.
11494 (bibtex-format-entry, bibtex-field-list)
11495 (bibtex-print-help-message, bibtex-validate)
11496 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11497
2dcdbdd9
SM
114982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * progmodes/compile.el (compilation-goto-locus):
11501 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11502 * bs.el (bs-cycle-next, bs-cycle-previous):
11503 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11504 * bindings.el (mode-line-other-buffer):
11505 * autoinsert.el (auto-insert):
11506 * arc-mode.el (archive-extract):
11507 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11508
b27640fe
JB
115092011-07-05 Juanma Barranquero <lekktu@gmail.com>
11510
11511 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11512 Fix check of `emacs-lock-unlockable-modes'.
11513 Coerce true values of `emacs-lock--try-unlocking' to t.
11514
53bbe3ad
JB
115152011-07-05 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11518 * emacs-lock.el: New file.
11519
1d3cdbc7
JD
115202011-07-05 Julien Danjou <julien@danjou.info>
11521
11522 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11523 than `boundp' to check if face is set.
11524
9173deec
JB
115252011-07-05 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * register.el (registerv-make):
11528 * window.el (window-min-height): Fix typos in docstrings.
11529
869795d6
JD
115302011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11531
9173deec 11532 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11533 Update doc string.
11534
b768cdcd
JB
115352011-07-04 Juanma Barranquero <lekktu@gmail.com>
11536
11537 * server.el (server-execute): Catch quit and call
11538 `server-return-error' to pass the error back to emacsclient and
11539 close the connection (bug#8942).
11540
13aa217b
KM
115412011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11542
11543 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11544 insecure exception for current topic. Also note that auto-saves
11545 are handled differently.
11546
5d3385a0 11547 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11548 State variables for tracking auto-save inhibition situation.
11549
11550 (allout-write-contents-hook-handler): Rename from
11551 'allout-write-file-hook-handler', and describe how it depends on
11552 write-contents-functions sensitivity to non-nil value to prevent
11553 file write.
11554
11555 (allout-auto-save-hook-handler): Remove. auto-save does not check
11556 this in individual buffers, only in the starting buffer, so this
11557 is not the right way for us to inhibit auto-save in a buffer
11558 according to its condition.
11559
11560 (allout-mode): Use new allout-write-contents-hook-handler, and
11561 only with write-contents-functions. Remove auto-save provisions -
11562 they're implemented elsewhere.
11563
11564 (allout-before-change-handler): If undo is in progress, note that
11565 for attention of allout-post-command-business.
11566
11567 (allout-post-command-business): If the command we're following was
11568 an undo, check for change in the status of encrypted items and
11569 adjust auto-save inhibitions accordingly.
11570
11571 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11572 according to whether there are or aren't any plain-text topics
11573 pending encryption.
11574
2dcdbdd9 11575 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11576 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11577 if there are plain-text topics pending encryption.
13aa217b
KM
11578
11579 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11580 buffer-saved-size and some allout state to not inhibit auto-saves
11581 if there are no longer any plain-text topics pending encryption.
11582
0757af94
SM
11583 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11584 No longer provide for exemption of the current topic.
13aa217b 11585
ac89b32c
JL
115862011-07-04 Juri Linkov <juri@jurta.org>
11587
11588 Add 7z operations to delete and save changed members (bug#8968).
11589 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11590 New defcustoms.
11591 (archive-7z-write-file-member): New function.
11592 (archive-7z-summarize): Fix the number of dashes in the
11593 listing output.
11594
8fa39615
SM
115952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11598 (bug#8958).
11599
2f11b3f1
CY
116002011-07-04 Chong Yidong <cyd@stupidchicken.com>
11601
d66fef2b
CY
11602 * bindings.el: Ignore next-buffer and previous-buffer in
11603 minibuffer-local-map.
11604
2f11b3f1
CY
11605 * font-lock.el (font-lock-builtin-face): Change light background
11606 color to dark slate blue (Bug#6693).
11607
f932a347
WD
116082011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11609
11610 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11611
c8af70e1
SM
116122011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11615 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11616 Add switch-to-buffer.
11617
f158badc
LMI
116182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11619
11620 * isearch.el (isearch-search-fun-function): Clarify further the
11621 meaning of the function returned.
11622
6d95bd46
MA
116232011-07-04 Michael Albinus <michael.albinus@gmx.de>
11624
11625 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11626
11627 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11628 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11629 Use it.
11630 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11631 `tramp-default-remote-path' does not exist.
11632 (tramp-send-command-and-read): New optional argument NOERROR.
11633 (tramp-open-connection-setup-interactive-shell)
11634 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11635 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11636 (tramp-process-sentinel): Flush also process' connection property.
11637 (tramp-sh-handle-start-file-process): Do not set process
11638 sentinel. It is done now ...
11639 (tramp-maybe-open-connection): ... here. (Bug#8929)
11640
909e6b67
MK
116412011-07-04 MON KEY <monkey@sandpframing.com>
11642
11643 * play/animate.el (animate-string): Doc fixes and allow changing
11644 the buffer name (bug#5417).
11645
116462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647
c8af70e1 11648 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11649
f34755dc
PE
116502011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11651
396cec72
PE
11652 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11653 This is simpler and helps future-proof the code.
11654 (timer-until): Use time-subtract and float-time.
08235028 11655 (timer--time-less-p): Use time-less-p.
f34755dc 11656
56e6cc31
JB
116572011-07-04 Juanma Barranquero <lekktu@gmail.com>
11658
3abb79e5
JB
11659 * type-break.el (timep): Use the value of `float-time' to avoid a
11660 byte-compiler warning.
11661
56e6cc31
JB
11662 * server.el (server-eval-and-print): Return any result, even nil.
11663
7b9430b4
PE
116642011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11665
11666 * type-break.el: Accept time formats that the builtins accept.
11667 (timep, type-break-time-difference): Accept any format that
11668 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11669 This is simpler and helps future-proof the code.
11670 (type-break-time-difference): Round rather than ignoring
11671 subseconds components.
11672
3034e9e7
LMI
116732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11674
11675 * info.el (Info-apropos-matches): Make non-interactive, since it
11676 doesn't seem to do anything useful as a command (bug#8829).
11677
1485f4c0
CY
116782011-07-03 Chong Yidong <cyd@stupidchicken.com>
11679
11680 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11681 Move from faces.el.
1485f4c0
CY
11682 (frame-default-terminal-background): New function.
11683
11684 * custom.el (custom-push-theme): Don't record faces in `changed'
11685 theme; this doesn't work correctly for per-frame face settings.
11686 (disable-theme): Use face-set-after-frame-default to reset faces.
11687 (custom--frame-color-default): New function.
11688
9fa3dd45
LMI
116892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11690
c8af70e1 11691 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11692 (bug#8769).
11693
6cbbc20c
KR
116942011-03-29 Kevin Ryde <user42@zip.com.au>
11695
11696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11697 `perl-Test2' extend to match possible "fail #N" rep count
11698 (bug#8377).
11699
c7f98048
LMI
117002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11701
65676592
LMI
11702 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11703 `smtpmail-via-smtp' now returns the error instead of nil.
11704
c7f98048
LMI
11705 * isearch.el (isearch-search-fun-function): Clarify the doc string
11706 (bug#8101).
11707
56e6cc31 117082011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11709
11710 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11711 unnecessary spaces (bug#8987).
11712
2b216704
LMI
117132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11714
11715 * net/network-stream.el (open-network-stream): Use the
11716 :end-of-capability command thoughout.
11717
117182011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11719
11720 * net/network-stream.el (open-network-stream): Add the
11721 :end-of-capability command parameter, used by pop3.el.
11722
36adf6ce
LMI
117232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724
1ca0da0e
LMI
11725 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11726
fc00f69c
LMI
11727 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11728 for list)" (bug#6475).
11729
28fd8759 11730 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11731 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11732 an error (bug#6297).
11733
0dd8b6da
LMI
11734 * man.el (Man-reference-regexp): Allow matching possible
11735 word-wrapped references (bug#6289).
11736
ce1438d6
LMI
11737 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11738 for consistency with the other vc buffers (bug#6197).
11739 (vc-checkin): Ditto.
11740
11741 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11742
36adf6ce
LMI
11743 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11744
e83cc1f7
LMI
117452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11746
8a20ca4c
LMI
11747 * custom.el (defcustom): Clarify that :set is only used in the
11748 Customize user interface (bug#6089).
11749
83319045
LMI
11750 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11751 associated with a file, refuse to run instead of erroring out
11752 (bug#6084).
11753
a8392169
LMI
11754 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11755 the doc string, since it appears that using `fill-column' always
11756 controls the width (bug#7845).
11757
e83cc1f7
LMI
11758 * simple.el (shell-command-on-region): Say where the error output
11759 went if `shell-command-default-error-buffer' is set (bug#6857).
11760
e47ca23b
KM
117612011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11762
11763 * allout.el (allout-yank-processing): Adjust cursor position for
11764 backwards-deleted space.
11765
11766 (allout-rebullet-heading): Register changes with
11767 allout-exposure-changed-hook, so the modified topic is properly
11768 decorated.
11769
5cf56143
LMI
117702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11771
08549772
LMI
11772 * minibuffer.el (completion-in-region): Document PREDICATE
11773 (bug#7136).
11774
48e96771
LMI
11775 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11776 of keyword/argument pairs (bug#6904).
11777
c8af70e1
SM
11778 * replace.el (multi-occur):
11779 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11780
e17d05e2
LMI
117812011-07-02 Drew Adams <drew.adams@oracle.com>
11782
11783 * dired.el (dired-mark-if): Make the message about whether it's
11784 marking or unmarking clearer (bug#8523).
11785
063b0e45
LMI
117862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11787
11788 * disp-table.el (display-table-print-array): New function.
11789 (describe-display-table): Use it to print the vectors more pretty
11790 (Bug#8859).
11791
28545e04
MR
117922011-07-02 Martin Rudalics <rudalics@gmx.at>
11793
11794 * window.el (window-state-get-1): Don't assign clone numbers.
11795 Add clone-of item to list of window parameters.
11796 (window-state-put-2): Don't process clone numbers.
11797 (display-buffer-alist): Fix doc-string.
11798
3349e122
SM
117992011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * subr.el (remq): Don't allocate if it's not needed.
11802 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11803 (keymap--merge-bindings): New functions.
11804 (keymap-canonicalize): Use them to refine the canonicalization.
11805 * minibuffer.el (minibuffer-local-completion-map)
11806 (minibuffer-local-must-match-map): Move initialization from C.
11807 (minibuffer-local-filename-completion-map): Move initialization from C;
11808 don't inherit from anything here.
11809 (minibuffer-local-filename-must-match-map): Make obsolete.
11810 (completing-read-default): Use make-composed-keymap to combine
11811 minibuffer-local-filename-completion-map with either
11812 minibuffer-local-must-match-map or
11813 minibuffer-local-filename-completion-map.
11814
d224ac83
GM
118152011-07-01 Glenn Morris <rgm@gnu.org>
11816
3de63bf8
GM
11817 * type-break.el (type-break-time-sum): Use dolist.
11818
d224ac83
GM
11819 * textmodes/flyspell.el (flyspell-word-search-backward):
11820 Replace CL function.
11821
1a1e3f32
SM
118222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11823
fe3f64d5
SM
11824 * mouse.el (mouse--strip-first-event): New function.
11825 (function-key-map): Use it to map fringe clicks to normal clicks
11826 by default.
11827
eb604e34
SM
11828 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11829 (vc-bzr-revision-completion-table): Add support for annotate and date.
11830
1a1e3f32
SM
11831 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11832 inherit from parent.
11833
5bd35902
LMI
118342011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11835
ace6c69c 11836 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11837 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11838
191e2bed
LMI
11839 * dired.el (dired-mode): Fix up the doc string as suggested by
11840 Drew Adams (bug#8817).
11841
5bd35902
LMI
11842 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11843 cookie, since the manual says that it should be possible to add
11844 this function to `find-file-hook' (bug#8709).
11845
eee8207a
TZ
118462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11847
11848 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11849 here. Noted Ted Zlatanov as the maintainer.
11850 (cfengine-common-settings, cfengine-common-syntax): New functions
11851 to set up common things between `cfengine-mode' and
11852 `cfengine3-mode'.
11853 (cfengine3-mode): New mode.
11854 (cfengine3-defuns cfengine3-defuns-regex
11855 (cfengine3-class-selector-regex cfengine3-category-regex)
11856 (cfengine3-vartypes cfengine3-font-lock-keywords)
11857 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11858 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11859
36b148cf
MA
118602011-07-01 Michael Albinus <michael.albinus@gmx.de>
11861
11862 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11863
11864 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11865
0bf4ba9a
MR
118662011-07-01 Martin Rudalics <rudalics@gmx.at>
11867
11868 * window.el (same-window-buffer-names, same-window-regexps)
11869 (same-window-p, special-display-frame-alist)
11870 (special-display-popup-frame, special-display-function)
11871 (special-display-buffer-names, special-display-regexps)
11872 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11873 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11874 (split-window-preferred-function, split-height-threshold)
11875 (split-width-threshold, even-window-heights)
11876 (display-buffer-mark-dedicated, window-splittable-p)
11877 (split-window-sensibly, window-safely-shrinkable-p):
11878 Un-obsolete.
11879 (display-buffer): Don't spread args with function specifier
11880 because special-display-popup-frame won't like it.
11881
35837f51
PE
118822011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11883
d0672f86
PE
11884 Time-stamp simplifications and fixes.
11885 These improve accuracy slightly, and future-proof the code
11886 against some potential changes to current-time format.
11887
b9444d97
PE
11888 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11889 by using time-since and float-time.
11890
0ef923dc
PE
11891 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11892 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11893 + NNN microseconds".
11894
2f81380d
PE
11895 * type-break.el (type-break-time-sum): Rewrite using time-add.
11896
845b5c3e
PE
11897 * play/hanoi.el (hanoi-current-time-float): Remove.
11898 All uses replaced by float-time.
11899
ee6f1be0
PE
11900 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11901 This yields a more-accurate answer.
11902 (rng-time-to-float): Remove; no longer needed.
11903
fe955043
PE
11904 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11905
5777162a
PE
11906 * calendar/timeclock.el (timeclock-seconds-to-time):
11907 Defalias to seconds-to-time, since they're the same thing.
11908
3103f8b6 11909 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11910 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11911 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11912
0e61a35f
SM
119132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * window.el (bury-buffer): Don't iconify the only frame.
11916 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11917 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11918
ddd63a1e
CY
119192011-07-01 Chong Yidong <cyd@stupidchicken.com>
11920
0e61a35f
SM
11921 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11922 Add mouse-yank-primary.
ddd63a1e 11923
055f4923
TZ
119242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11925
11926 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11927
6a2fb145
SM
119282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11929
11930 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11931 (find-library-name): Use it to find relative load names when provided
11932 absolute file name (bug#8803).
11933
fd4983f2
LMI
119342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935
887d14ad
LMI
11936 * textmodes/flyspell.el (flyspell-word): Consider words that
11937 differ only in case as potential doublons (bug#5687).
11938
c53dc7fc
LMI
11939 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11940 Remove two rather uninteresting debugging-like messages to make
11941 debbugs.el more silent.
11942
fd4983f2
LMI
11943 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11944 a password-like phrase.
11945
7a71b18d 119462011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11947
11948 * progmodes/cc-guess.el: New file.
11949
6a2fb145 11950 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11951
11952 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11953 derived from `c-basic-common-init'.
11954
11955 * progmodes/cc-mode.el (top-level): Require cc-guess.
11956 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11957
1fa280a3
LM
119582011-06-30 Lawrence Mitchell <wence@gmx.li>
11959
11960 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11961
e6597158
AM
119622011-06-30 Alan Mackenzie <acm@muc.de>
11963
1fa280a3
LM
11964 * progmodes/cc-engine.el (c-guess-continued-construct):
11965 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11966 lock is disabled. Name this case as "CASE G".
11967
68ba37fb
KM
119682011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11969
11970 * allout.el (allout-yank-processing): Fix injection of extra space
11971 between bullet and non-whitespace character in first topic when
11972 pasting, ensuring that the actual spacing in the pasted topic
11973 following the bullet char is preserved. This extra space was
11974 causing pasted encrypted topics to get a decrypted status even
11975 when the content was actually still encrypted. Now the decryption
11976 status from before the paste is preserved.
11977
11978 (allout-flag-region): Set all allout overlays so they evaporate
11979 when reduced to zero length (evanescent), to prevent overlay
11980 leakage.
11981
887a0b34
GM
119822011-06-30 Glenn Morris <rgm@gnu.org>
11983
94b9acce
GM
11984 * w32-fns.el (w32-charset-info-alist): Declare.
11985
1d9b46d4
GM
11986 * find-dired.el (find-grep-options): Simplify.
11987
cc232200
GM
11988 * term/ns-win.el (ns-set-resource): Declare.
11989
28e77c46
GM
11990 * ses.el (row, col): Declare dynamic variables honestly.
11991
887a0b34
GM
11992 * textmodes/reftex-parse.el (index-tags): Declare.
11993
658d8eb8
CY
119942011-06-30 Chong Yidong <cyd@stupidchicken.com>
11995
11996 * cus-edit.el (customize-push-and-save): New function.
11997
11998 * files.el (hack-local-variables-confirm): Use it.
11999
1fa280a3
LM
12000 * custom.el (load-theme): New arg NO-CONFIRM.
12001 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12002 (custom-enabled-themes): Doc fix.
12003
12004 * cus-theme.el (customize-create-theme)
12005 (custom-theme-merge-theme): Callers to load-theme changed.
12006
bb617717
LMI
120072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12008
d61bdd5d
LMI
12009 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12010 short URLs have at least one dot in them (bug #7614).
12011
bb617717
LMI
12012 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12013 nil, because using a pty is apparently too slow (bug #895).
12014
2f31f37a
LMI
120152011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12016
12017 * mail/sendmail.el (sendmail-query-once): New function.
12018 (sendmail-query-once-function): New variable.
12019
3076b24e
GM
120202011-06-29 Glenn Morris <rgm@gnu.org>
12021
faf2a174
GM
12022 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12023
3076b24e
GM
12024 * ses.el (top-level): Require cl when compiling.
12025 (ses-set-localvars): Fix error statement.
12026 Call it at compile time to silence a storm of warnings.
12027
5386012d
MR
120282011-06-29 Martin Rudalics <rudalics@gmx.at>
12029
12030 * window.el (normalize-live-buffer): Rename to
12031 window-normalize-buffer.
12032 (normalize-live-frame): Rename to window-normalize-frame.
12033 (normalize-any-window): Rename to window-normalize-any-window.
12034 (normalize-live-window): Rename to window-normalize-live-window.
12035 (make-window-atom): Rename to window-make-atom.
12036 (window-resize-reset): Rename to window--resize-reset.
12037 (window-resize-reset-1): Rename to window--resize-reset-1.
12038 (resize-mini-window): Rename to window--resize-mini-window.
12039 (resize-subwindows-skip-p): Rename to
12040 window--resize-subwindows-skip-p.
12041 (resize-subwindows-normal): Rename to
12042 window--resize-subwindows-normal.
12043 (resize-subwindows): Rename to window--resize-subwindows.
12044 (resize-other-windows): Rename to window--resize-siblings.
12045 (resize-this-window): Rename to window--resize-this-window.
12046 (resize-root-window): Rename to window--resize-root-window.
12047 (resize-root-window-vertically): Rename to
12048 window--resize-root-window-vertically.
12049 (normalize-buffer-to-display): Rename to
12050 window-normalize-buffer-to-display.
12051 (normalize-buffer-to-switch-to): Rename to
12052 window-normalize-buffer-to-switch-to.
12053 Correspondingly update all callers of the functions listed
12054 above.
12055 (display-buffer-alist, display-buffer-normalize-arguments)
12056 (display-buffer-normalize-options, display-buffer)
12057 (display-buffer-alist-set): Use "function" instead of
12058 "fun-with-args".
12059
1176868d
CY
120602011-06-28 Chong Yidong <cyd@stupidchicken.com>
12061
12062 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12063 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12064 debbugs.gnu.org. Mention acknowledgment email.
12065
20a7a65f
LMI
120662011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12067
12068 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12069 buffer multibyteness, since it shouldn't matter.
12070
5f45cca5
MR
120712011-06-28 Martin Rudalics <rudalics@gmx.at>
12072
12073 * window.el (display-buffer-in-side-window): Handle dedicated
12074 windows as in display-buffer-reuse-window.
12075 (display-buffer-normalize-alist): Use value of override
12076 specifier.
12077 (display-buffer-normalize-specifiers): Use value of
12078 other-window-means-other-frame specifier.
12079 (display-buffer-alist): Rewrite some texts in widgets.
12080 (display-buffer): Spread arguments when calling function
12081 specified by fun-with-args.
12082
ad85fe1f
DD
120832011-06-28 Deniz Dogan <deniz@dogan.se>
12084
1fa280a3
LM
12085 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12086 Unnest `let'.
da68c4c8 12087
ad85fe1f
DD
12088 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12089 selectors (Bug#5732).
ec49bd31 12090 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12091
a08cc025
JA
120922011-06-27 Jari Aalto <jari.aalto@cante.net>
12093
12094 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12095 (eshell-ls-date-format): New defcustom.
12096 (eshell-ls-file): Use it.
12097
e2b551c5
SM
120982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12099
12100 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12101
8982b231
KY
121022011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12103
12104 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12105 (ange-ftp-make-tmp-name): New arg.
12106 (ange-ftp-file-local-copy): Use it.
12107
36c9fa27
J
121082011-06-27 Jambunathan K <kjambunathan@gmail.com>
12109
12110 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12111 no-conversion (Bug#8870).
12112
d68443dc
MR
121132011-06-27 Martin Rudalics <rudalics@gmx.at>
12114
12115 * window.el (window-right, window-left, window-child)
12116 (window-child-count, window-last-child)
12117 (window-iso-combination-p, walk-window-tree-1)
12118 (window-atom-check-1, window-tree-1, delete-window)
12119 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12120 new naming conventions - window-vchild, window-hchild,
12121 window-next and window-prev are now called window-top-child,
12122 window-left-child, window-next-sibling and window-prev-sibling
12123 respectively.
d615d6d2
MR
12124 (resize-window-reset): Rename to window-resize-reset.
12125 (resize-window-reset-1): Rename to window-resize-reset-1.
12126 (resize-window): Rename to window-resize.
12127 (window-min-height, window-min-width)
12128 (resize-mini-window, resize-this-window, resize-root-window)
12129 (resize-root-window-vertically, adjust-window-trailing-edge)
12130 (enlarge-window, shrink-window, maximize-window)
12131 (minimize-window, delete-window, quit-restore-window)
12132 (split-window, balance-windows, balance-windows-area-adjust)
12133 (balance-windows-area, window-state-put-2)
12134 (display-buffer-even-window-sizes, display-buffer-set-height)
12135 (display-buffer-set-width, set-window-text-height)
12136 (fit-window-to-buffer): Rename all "resize-window" prefixed
12137 calls to use the "window-resize" prefix convention.
12138 (display-buffer-alist): Fix symbol for label specifier.
12139 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12140 corresponding specifier.
12141 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12142
b6458526
VB
121432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12144
12145 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12146 convention.
12147 (ses-call-printer): Does not pass an empty string to formatter when the
12148 cell is empty to keep from barking printer Calc math-format-value.
12149
d31fd9ac
RS
121502011-06-27 Richard Stallman <rms@gnu.org>
12151
43d5bf84
RS
12152 * battery.el (battery-mode-line-limit): New variable.
12153 (battery-update): Handle it.
12154
d31fd9ac
RS
12155 * mail/rmailmm.el (rmail-mime-process-multipart):
12156 Handle truncated messages.
12157
819a6054
GM
121582011-06-27 Glenn Morris <rgm@gnu.org>
12159
12160 * progmodes/flymake.el (flymake-err-line-patterns):
12161 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12162
cedc73f2
VB
121632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12164
819a6054 12165 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12166 (ses--clean-!, ses--clean-_): New functions.
12167 (ses-range): Add configurability of readout order, and conversion
12168 to Calc vector.
12169
5e5d49b6
VB
12170 * ses.el (ses-repair-cell-reference-all): New function.
12171 (ses-cell-symbol): Set macro as safe, so that it can be used in
12172 formulas.
12173
56e6cc31 12174 * ses.el: Update cycle detection algorithm.
90ca8b49 12175 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12176 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12177 (ses-set-localvars): New function.
12178 (ses-make-cell): Add property-list as a cell element.
12179 (ses-cell-property-get-fun, ses-cell-property-get)
12180 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12181 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12182 New functions.
90ca8b49
VB
12183 (ses-cell-property-set, ses-cell-property-pop)
12184 (ses-cell-property-get-handle): New macro.
12185 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12186 New aliases, used for code readability.
12187 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12188 cycle detection.
12189 (ses-self-reference-early-detection): New defcustom.
fac916bf 12190 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12191 (ses-mode): Use ses-set-localvars.
12192 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12193 before lauching the update processing.
12194 (ses-initialize-Dijkstra-attempt): New function.
12195 (ses-recalculate-cell): Update for cycle detection based on
12196 Dijkstra algorithm.
12197
2bb63e81
VB
12198 * ses.el: Fix commenting and indenting convention.
12199
c9d29fb8
SM
122002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * bs.el (bs-cycle-next): Complete last change.
12203
d8e4b68b
JB
122042011-06-27 Drew Adams <drew.adams@oracle.com>
12205
12206 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12207
40098786
LMI
122082011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12209
c9d29fb8
SM
12210 * net/network-stream.el (network-stream-open-starttls):
12211 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12212 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12213
40098786
LMI
12214 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12215 to binary to possibly avoid line encoding issues on Windows (among
12216 other things).
12217
468d09d4
LMI
122182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12219
12220 * net/network-stream.el (open-network-stream): Return an :error
12221 saying what the problem was, if possible.
12222
12223 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12224 server.
12225
12226 * net/network-stream.el (network-stream-open-starttls): If we
12227 wanted to use STARTTLS, and the server offered it, but we weren't
12228 able to because we had no STARTTLS support, then close the connection.
12229 (open-network-stream): Return an :error element, if present.
12230
16f07dd7
CY
122312011-06-26 Chong Yidong <cyd@stupidchicken.com>
12232
88821ca0
CY
12233 * hl-line.el (hl-line-sticky-flag): Doc fix.
12234 (global-hl-line-sticky-flag): New option (Bug#8323).
12235 (global-hl-line-highlight): Obey it.
12236
16f07dd7
CY
12237 * vc/vc.el (vc-revert-show-diff): Default to t.
12238
6b5ccddf
KM
122392011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12240
c9d29fb8
SM
12241 * allout-widgets.el (allout-widgets-post-command-business):
12242 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12243 undecorated when an isearch is continued past, and isearch
12244 automatically collapses them. This leads to "widget leaks", where
12245 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12246 hidden widgets can slow down cursor travel, substantially.
12247 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12248 so we're doing without this nicety.
12249
12250 (allout-widgets-tally-string): Don't try to do a hash-table-count
12251 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12252 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12253 *Messages* when allout-widgets-maintain-tally is t.
12254
355f2e07
MR
122552011-06-26 Martin Rudalics <rudalics@gmx.at>
12256
12257 * window.el (display-buffer-normalize-argument): Rename to
12258 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12259 LABEL argument. Respect special-display-function when popping up
12260 a new frame. Fix code searching for a window showing the buffer
12261 on another frame.
c9d29fb8
SM
12262 (display-buffer-normalize-specifiers):
12263 Call display-buffer-normalize-arguments.
355f2e07
MR
12264 (display-buffer-in-window): Don't undedicate the window if its
12265 buffer remains the same.
12266 Reported by Drew Adams <drew.adams@oracle.com>.
12267 (display-buffer-alist): Add choice for same-window macro
12268 specfier.
12269 (display-buffer): Mention special meaning of LABEL argument in
12270 doc-string. Fix quoting. Don't pop up a new frame even as
12271 fallback.
12272
7ca8fc42
JB
122732011-06-26 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12276 avoid deleting the current window in some cases (bug#8911).
12277
bc312254
AS
122782011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12279
12280 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12281 (Bug#8934)
12282
2db18f3f
LMI
122832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12284
c9d29fb8
SM
12285 * net/network-stream.el (network-stream-open-starttls):
12286 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12287 (network-stream-open-tls): Ditto.
12288
6302e0d3
LL
122892011-06-26 Leo Liu <sdl.web@gmail.com>
12290
12291 * register.el (registerv): New struct.
12292 (registerv-make): New function.
c9d29fb8
SM
12293 (jump-to-register, describe-register-1, insert-register):
12294 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12295 struct. (Bug#8415)
12296
5fdd4046
CY
122972011-06-26 Chong Yidong <cyd@stupidchicken.com>
12298
2afef60a
CY
12299 * vc/vc.el (vc-revert-show-diff): New defcustom.
12300 (vc-diff-internal): New arg specifying diff buffer.
12301 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12302 reuse an existing *vc-diff* buffer (Bug#8927).
12303
5fdd4046
CY
12304 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12305
e93db24a
GM
123062011-06-26 Glenn Morris <rgm@gnu.org>
12307
12308 * progmodes/f90.el (f90-critical-indent): New option.
12309 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12310 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12311 (f90-mode): Doc fix.
12312 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12313 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12314 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12315 (f90-match-end): Handle block, critical.
12316
eefff499
GM
123172011-06-25 Glenn Morris <rgm@gnu.org>
12318
f6ba4cc9
GM
12319 * calendar/diary-lib.el (diary-included-files): Doc fix.
12320 (diary-include-files): New function, extracted from
12321 diary-include-other-diary-files and diary-mark-included-diary-files.
12322 (diary-include-other-diary-files, diary-mark-included-diary-files):
12323 Just call diary-include-files.
12324 (diary-mark-entries): Reset diary-included-files on first call.
12325
16712304
GM
12326 * calendar/diary-lib.el (diary-mark-entries)
12327 (diary-mark-included-diary-files):
12328 Visit included diary-files in temp buffers.
12329
5d8e0d43
GM
12330 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12331 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12332 (f90-start-block-re, f90-imenu-generic-expression)
12333 (f90-looking-at-program-block-start, f90-no-block-limit):
12334 Add support for submodules.
12335
ccf7a5d5
GM
12336 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12337 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12338
11fdef7d 123392011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12340
12341 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12342 buffer-file-type before setting its value, to avoid disastrous
eefff499 12343 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12344
74f53697
JB
123452011-06-25 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12348
12349 * ses.el (ses-unload-function):
12350 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12351
12352 * proced.el (proced-unload-function):
12353 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12354
18a4ce5e
AR
123552011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12356
12357 * server.el (server-create-window-system-frame): Add parameters arg.
12358 (server-process-filter): Doc fix. Handle frame-parameters.
12359
519d22cc
JB
123602011-06-25 Juanma Barranquero <lekktu@gmail.com>
12361
12362 Fix bug#8730, bug#8781.
12363
12364 * loadhist.el (unload--set-major-mode): New function.
12365 (unload-feature): Use it.
12366
12367 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12368 (python-unload-function): New function.
12369
c206f5b0
SM
123702011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12373
f9ad64f3
GS
123742011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12375
12376 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12377 the candidates list.
12378
7d0da90e
JB
123792011-06-24 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12382
14b4e83d
RS
123832011-06-23 Richard Stallman <rms@gnu.org>
12384
12385 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12386 (rmail-variables): Set next-error-move-function.
12387 (rmail-what-message): Take argument POS.
12388 (rmail-next-error-move): New function.
12389
273d2baf
SM
123902011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12393 messages for adjacent non-terminals.
12394
56c2cc9a
RS
123952011-06-23 Richard Stallman <rms@gnu.org>
12396
12397 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12398 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12399 (rmail-start-mail): Don't specify use of rmail-mail-return;
12400 that's done by mail-bury now.
12401 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12402
d59eb518
MA
124032011-06-23 Michael Albinus <michael.albinus@gmx.de>
12404
12405 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12406 SIZE is a number.
12407
02cfc6d6
MR
124082011-06-23 Martin Rudalics <rudalics@gmx.at>
12409
12410 * window.el (get-lru-window, get-mru-window)
12411 (get-largest-window): Never return a minibuffer window.
12412 (display-buffer-pop-up-window): Fix a bug that could lead to
12413 reusing the minibuffer window.
12414 (display-buffer): Pass original specifier argument to
12415 display-buffer-function instead of the normalized one.
12416 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12417
4e323265
LL
124182011-06-22 Leo Liu <sdl.web@gmail.com>
12419
12420 * minibuffer.el (completing-read-function)
12421 (completing-read-default): Move from minibuf.c
12422
7a70468f
RS
124232011-06-22 Richard Stallman <rms@gnu.org>
12424
50718fc2
RS
12425 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12426 to Rmail even if not started by a special Rmail command.
12427
7a70468f
RS
12428 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12429 Copy the buffer currently showing just one message.
12430
297dde5a
RW
124312011-06-22 Roland Winkler <winkler@gnu.org>
12432
12433 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12434 (bibtex-clean-entry): First delete the old key so that a
12435 customized algorithm for generating the new key does not get
12436 confused by the old key.
12437 (bibtex-url): Obey regexp of first step.
12438 (bibtex-search-entries): Do not use add-to-list with local
12439 list-var.
12440
97bb1093
LMI
124412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12442
12443 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12444 stored a user name, then query for the password first, instead of
12445 waiting for SMTP to give an error message and the trying again.
12446
1c0f1a19
JD
124472011-06-22 Lawrence Mitchell <wence@gmx.li>
12448
12449 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12450 BUFFER in call-process.
12451
396f7c9d
LMI
124522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12453
12454 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12455 QUIT twice.
ddb7ffee
LMI
12456 (smtpmail-try-auth-methods): Require user name and password from
12457 auth-source.
396f7c9d 12458
8998d1b3
MR
124592011-06-22 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (display-buffer-default-specifiers)
12462 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12463 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12464 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12465
12466 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12467 (special-display-frame-alist, special-display-popup-frame):
12468 Remove duplicate declarations. These are now in window.el.
12469
4ea31e07
LMI
124702011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12471
c9d29fb8
SM
12472 * mail/smtpmail.el (smtpmail-via-smtp):
12473 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12474 server supports it. SMTP servers that support STARTTLS commonly
12475 require it.
12476
12477 * net/network-stream.el (network-stream-open-starttls): Support
12478 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12479 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12480
95f41d9a
LMI
12481 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12482 upgrades with `open-network-stream', and rely solely on
12483 auth-source for all credentials. Big changes throughout the file,
12484 but in particular:
c9d29fb8
SM
12485 (smtpmail-auth-credentials): Remove.
12486 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12487 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12488 MAIL FROM, too.
95f41d9a 12489
c9d29fb8
SM
12490 * net/network-stream.el (network-stream-open-starttls):
12491 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12492 STARTTLS.
12493 (auth-source): Require.
12494 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12495 (network-stream-certificate): Change cert-cert to cert and
12496 cert-key to key.
4ea31e07 12497
065ec2c7
MA
124982011-06-21 Michael Albinus <michael.albinus@gmx.de>
12499
12500 * net/tramp-cache.el (top): Don't load the persistency file when
12501 "emacs -Q" has been called.
12502
cd93b359
DR
125032011-06-21 Tim Harper <timcharper@gmail.com>
12504
d8e4b68b
JB
12505 * term/ns-win.el (ns-initialize-window-system):
12506 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12507 resource to NO as it is not yet supported by the NS port.
12508
ae9c0411
JB
125092011-06-21 Juanma Barranquero <lekktu@gmail.com>
12510
12511 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12512 (list-dynamic-libraries): ...not here.
12513
7f3f739f
LL
125142011-06-21 Leo Liu <sdl.web@gmail.com>
12515
12516 * subr.el (sha1): Implement sha1 using secure-hash.
12517
327c8fb1
MR
125182011-06-21 Martin Rudalics <rudalics@gmx.at>
12519
12520 * window.el (display-buffer-alist): In default value do not
12521 enforce searching a window on any but the selected frame.
12522 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12523 (display-buffer-select-window): Remove function.
12524 (display-buffer-in-window): When a window on another frame gets
12525 reused, do not select it any more but just raise its frame if
12526 necessary (Bug#8851) and (Bug#8856).
12527 (display-buffer-normalize-options): Handle pop-up-frames related
12528 options more faithfully.
12529 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12530 window if it is on another frame.
c9d29fb8
SM
12531 (display-buffer-alist, display-buffer-default-specifiers):
12532 Don't make new frame unsplittable by default.
9e9de014
MR
12533 (display-buffer-normalize-argument): Fix doc-string typo and use
12534 'same-frame-other-window instead of 'other-window when associating
12535 with display-buffer-macro-specifiers.
327c8fb1 12536
7cf3f556
VB
125372011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12538
12539 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12540 New functions.
12541 (5x5-mode-map, 5x5-mode-menu): Bind them.
12542 (5x5-draw-grid): Tweak the solver's rendering.
12543
60a406cf
SM
125442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12547 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12548
d8e4b68b 125492011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12550
12551 * menu-bar.el: Use function variable instead of switch-to-buffer.
12552 (menu-bar-select-buffer-function): New variable.
60a406cf 12553 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12554
478d6f95
SM
125552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12558 variable's status.
12559
ca530739
JD
125602011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12561
12562 * x-dnd.el (x-dnd-version-from-flags)
12563 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12564 and long as number (Bug#8899).
12565 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12566
bcd70d97
SM
125672011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12568
60a406cf 12569 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12570 (completion-try-completion, completion-all-completions): Compute the
12571 metadata argument if it's missing; make it optional (bug#8795).
12572
60a406cf 12573 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12574 (widget-complete): Use new :completion-function property.
12575 (widget-completions-at-point): New function.
12576 (default): Use :completion-function instead of :complete.
60a406cf
SM
12577 (widget-default-completions): Rename from widget-default-complete;
12578 Rewrite.
bcd70d97
SM
12579 (widget-string-complete, widget-file-complete, widget-color-complete):
12580 Remove functions.
12581 (file, symbol, function, variable, coding-system, color):
12582 * international/mule-cmds.el (default-input-method, charset)
12583 (language-info-custom-alist):
12584 * cus-edit.el (face): Use new property :completions.
12585
12586 * progmodes/pascal.el (pascal-completions-at-point): New function.
12587 (pascal-mode): Use it.
12588 (pascal-mode-map): Use completion-at-point.
12589 (pascal-toggle-completions): Make obsolete.
12590 (pascal-complete-word, pascal-show-completions):
12591 * progmodes/octave-mod.el (octave-complete-symbol):
12592 Redefine as obsolete alias.
12593 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12594 Signal absence of completion info for old Octave,
12595 (inferior-octave-complete): Redefine as obsolete alias.
12596 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12597 (meta-completions-at-point): Rename from meta-complete-symbol and
12598 adapt it for use on completion-at-point-functions.
12599 (meta-common-mode): Use it.
12600 (meta-looking-at-backward, meta-match-buffer): Remove.
12601 (meta-complete-symbol): Redefine as obsolete alias.
12602 (meta-common-mode-map): Use completion-at-point.
12603 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12604 (makefile-mode-map): Use completion-at-point.
12605 (makefile-completions-at-point): Rename from makefile-complete and
12606 adapt it for use on completion-at-point-functions.
12607 (makefile-mode): Use it.
12608 (makefile-complete): Redefine as obsolete alias.
12609
aebf69c8
DD
126102011-06-20 Deniz Dogan <deniz@dogan.se>
12611
12612 * net/rcirc.el: Delete trailing whitespaces once and for all.
12613
bfbbb27d
DC
126142011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12615
12616 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12617
d264a46b
CY
126182011-06-19 Chong Yidong <cyd@stupidchicken.com>
12619
4ca009e5
CY
12620 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12621
d264a46b
CY
12622 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12623
fbf5b3ce
MR
126242011-06-19 Martin Rudalics <rudalics@gmx.at>
12625
12626 * window.el (display-buffer-other-window-means-other-frame):
12627 Call display-buffer-normalize-alist.
12628 (display-buffer-normalize-specifiers-1): Rename to
12629 display-buffer-normalize-argument. New argument other-frame.
12630 Rewrite.
12631 (display-buffer-normalize-specifiers-2): Rename to
12632 display-buffer-normalize-options.
12633 (display-buffer-normalize-alist-1): New function.
12634 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12635 display-buffer-normalize-alist.
12636 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12637 (display-buffer-normalize-options-inhibit): New variable.
12638 (display-buffer-normalize-specifiers): Rewrite calling
12639 display-buffer-normalize-alist,
12640 display-buffer-normalize-argument, and
12641 display-buffer-normalize-options. Don't call the latter if
12642 display-buffer-normalize-options-inhibit is non-nil.
12643 (frame-auto-delete): New option.
12644 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12645 (window-list-no-nils, window-state-ignored-parameters)
12646 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12647 (window-state-put-1, window-state-put-2, window-state-put):
12648 New functions.
9a028c23
MR
12649 (display-buffer-normalize-options): Move special-display-p group
12650 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12651
6d10d800
CY
126522011-06-18 Chong Yidong <cyd@stupidchicken.com>
12653
6420d28b
CY
12654 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12655 groups (Bug#8776).
12656 (rx-submatch-n): New function.
12657 (rx): Document it.
12658
ddb8b596
CY
12659 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12660 (Bug#8768).
12661
12662 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12663
77080289
CY
12664 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12665
61dfb316
CY
12666 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12667 anytime existing face settings are present (Bug#8889).
12668
6d10d800
CY
12669 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12670 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12671 Remove unused argument.
12672
be3fb2b8
MR
126732011-06-18 Martin Rudalics <rudalics@gmx.at>
12674
bcd70d97
SM
12675 * window.el (display-buffer-default-specifiers):
12676 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12677 pop-up-window-min-width, and another reuse-window specifier
12678 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12679 (display-buffer-normalize-specifiers-2):
12680 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12681 pop-up-windows is unset. Add a reuse-window specifier for the
12682 case popping up a new window fails.
12683 (special-display-popup-frame): Remove double quoting.
28dec25a 12684 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12685
1c6d8c76
SM
126862011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12687
12688 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12689 according to comint-completion-addsuffix.
12690
12691 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12692 (pcomplete-suffix-list): Mark as obsolete.
12693 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12694 pcomplete-seen in the closure.
12695 (pcomplete-comint-setup): Setup completion-at-point as well.
12696 (pcomplete--entries): New function.
12697 (pcomplete--env-regexp): New var.
12698 (pcomplete-entries): Rewrite to work with partial-completion and
12699 without relying on pcomplete-suffix-list.
12700 (pcomplete-pare-list): Remove, unused.
12701
25aef8b8
MR
127022011-06-17 Martin Rudalics <rudalics@gmx.at>
12703
12704 * window.el (display-buffer-alist): Set pop-up-window-min-height
12705 and pop-up-window-min-width in default value. Reported by
12706 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12707 other-window-means-other-frame.
12708 (display-buffer-macro-specifiers): Comment out entry for
12709 other-window specifier.
12710 (display-buffer-other-window-means-other-frame): New function.
12711 (display-buffer-normalize-specifiers-1): New arguments
12712 buffer-name and label. Treat other-window case specially.
12713 (display-buffer-normalize-specifiers-2): Treat other-window case
12714 specially.
12715 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12716 (display-buffer-normalize-specifiers):
12717 Call display-buffer-normalize-specifiers-3.
25aef8b8 12718
dbad4f69
MR
127192011-06-17 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (same-window-p): Fix two typos introduced when
12722 adding with-no-warnings.
d1067961
MR
12723 (display-buffer-normalize-specifiers-1): Don't check
12724 pop-up-frames for 'unset initialization.
12725 (display-buffer-normalize-specifiers-2): Major rewrite using
12726 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12727 (pop-up-frames, display-buffer-reuse-frames)
12728 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12729 Suggested by David Engster <deng@randomsample.de>.
12730 (even-window-heights): Initialize to 'unset.
12731 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12732 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12733 other window case.
dbad4f69 12734
9b9c9e3a
MR
127352011-06-16 Martin Rudalics <rudalics@gmx.at>
12736
bcd70d97
SM
12737 * window.el (display-buffer-normalize-specifiers-1):
12738 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12739 second argument of display-buffer (Bug#8865).
981d5c09
MR
12740 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12741 (switch-to-buffer-other-window-same-frame)
12742 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12743 Adams (Bug#8875).
9c2755e9
MR
12744 (display-buffer): Don't check noninteractive when calling
12745 display-buffer-pop-up-frame.
12746 (display-buffer-pop-up-frame): Never pop up a frame in
12747 noninteractive mode (Bug#8857).
67222e1d
MR
12748 (enlarge-window, shrink-window): Don't report an error when the
12749 window can't be resized as requested (Bug#8862).
9b9c9e3a 12750
2b75be67
SM
127512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12752
9ffdd3ba
SM
12753 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12754
cb581a67
SM
12755 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12756
2b75be67
SM
12757 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12758
8c0e3589
AM
127592011-06-15 Alan Mackenzie <acm@muc.de>
12760
cb581a67
SM
12761 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12762 for declarators, disable knr checking to speed up for normal files.
12763 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12764
b96e6cde
LMI
127652011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12766
4bba86e6
LMI
12767 * net/network-stream.el (open-network-stream): Add the keyword
12768 :always-query-capabilities for the case where you want to force a
12769 `plain' network connection, but the protocol still requires the
12770 capabilitiy command (i.e., SMTP and EHLO).
12771
2b75be67 12772 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12773 consistency with other `-live-p' functions.
12774
efdcdbf8
SM
127752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * window.el (same-window-buffer-names, same-window-regexps)
12778 (special-display-frame-alist, special-display-popup-frame)
12779 (special-display-function, special-display-buffer-names)
12780 (special-display-regexps, pop-up-frame-alist)
12781 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12782 (pop-up-windows, split-window-preferred-function)
12783 (split-height-threshold, split-width-threshold, even-window-heights)
12784 (display-buffer-mark-dedicated): Don't encourage the use of
12785 display-buffer-alist from Elisp code.
12786
c5cde042
DN
127872011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12788
12789 * progmodes/python.el (python-mode): Derive from prog-mode.
12790 * progmodes/ps-mode.el (ps-mode):
12791 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12792 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12793 * progmodes/ld-script.el (ld-script-mode): Likewise.
12794
baa1c9ab
MR
127952011-06-15 Martin Rudalics <rudalics@gmx.at>
12796
12797 * window.el (display-buffer-alist): Trim default value to avoid
12798 popping up a new frame (Bug#8857) or reusing an arbitrary window
12799 on another frame.
12800 (display-buffer): Do not fall back on popping up a new frame in
12801 batch mode (Bug#8857).
12802
c5dd5a51
CY
128032011-06-14 Chong Yidong <cyd@stupidchicken.com>
12804
12805 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12806 (custom-theme-summary): New function.
12807 (customize-themes): Use it.
12808
d647b7c4
GM
128092011-06-13 Glenn Morris <rgm@gnu.org>
12810
12811 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12812
9481c002
MR
128132011-06-13 Martin Rudalics <rudalics@gmx.at>
12814
357f93d2
MR
12815 * help.el (help-window): Remove variable.
12816 (help-window-point-marker, temp-buffer-max-height)
12817 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12818 (help-print-return-message): Don't set help-window.
12819 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12820 (help-window-setup-finish): Remove.
12821 (help-window-display-message, help-window-setup)
12822 (with-help-window): Major rewrite based on new
12823 display-buffer-window variable.
12824
12825 * help-mode.el (help-mode-finish): Remove help-window related
12826 code.
12827
12828 * view.el (view-exits-all-viewing-windows): Remove reference to
12829 view-return-to-alist in doc-string.
12830 (view-return-to-alist): Make obsolete.
12831 (view-buffer): Call pop-to-buffer-same-window and remove
12832 undo-window code.
12833 (view-buffer-other-window): Call pop-to-buffer-other-window and
12834 simplify code. Ignore second argument.
12835 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12836 simplify code. Ignore second argument.
12837 (view-return-to-alist-update): Make obsolete.
12838 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12839 Rewrite using quit-restore window parameters.
2b75be67
SM
12840 (view-mode-exit): Rename second argument to EXIT-ONLY.
12841 Rewrite using quit-restore-window.
357f93d2
MR
12842 (View-exit, View-exit-and-edit, View-leave, View-quit)
12843 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12844 appropriate arguments.
12845 (view-end-message): Use quit-restore window parameter.
12846
9481c002
MR
12847 * window.el (display-buffer-function): Rewrite doc-string.
12848 (display-buffer-window, display-buffer-alist): New variables.
12849 (display-buffer-split-specifiers)
12850 (display-buffer-side-specifiers)
12851 (display-buffer-macro-specifiers): New constants.
12852 (display-buffer-even-window-sizes, display-buffer-set-height)
12853 (display-buffer-set-width, display-buffer-select-window)
12854 (display-buffer-in-window, display-buffer-reuse-window)
12855 (display-buffer-split-window-1, display-buffer-split-window)
12856 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12857 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12858 (display-buffer-in-side-window, normalize-buffer-to-display)
12859 (display-buffer-normalize-specifiers-1)
12860 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12861 (display-buffer-normalize-specifiers, display-buffer-frame):
12862 New functions.
9481c002
MR
12863 (display-buffer): Major rewrite.
12864 (display-buffer-other-window, display-buffer-other-frame)
12865 (pop-to-buffer, switch-to-buffer-other-window)
12866 (switch-to-buffer-other-frame): Rewrite.
12867 (display-buffer-same-window, display-buffer-same-frame)
12868 (display-buffer-same-frame-other-window)
12869 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12870 (pop-to-buffer-other-window)
12871 (pop-to-buffer-same-frame-other-window)
12872 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12873 (switch-to-buffer-other-window-same-frame): New functions.
12874 (same-window-p, special-display-p): Rewrite disabling warnings.
12875 Make obsolete.
12876 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12877 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12878 Make obsolete
12879 (same-window-buffer-names, same-window-regexps)
12880 (special-display-frame-alist, special-display-popup-frame)
12881 (special-display-function, special-display-buffer-names)
12882 (special-display-regexps, pop-up-frame-alist)
12883 (pop-up-frame-function, split-window-preferred-function)
12884 (split-height-threshold, split-width-threshold)
12885 (even-window-heights): Make obsolete.
12886
9db51aca
GM
128872011-06-12 Glenn Morris <rgm@gnu.org>
12888
12889 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12890 Misc simplifications.
9db51aca 12891
39cffb44
MR
128922011-06-12 Martin Rudalics <rudalics@gmx.at>
12893
12894 * window.el (window-safely-shrinkable-p): Restore function which
12895 was inadvertently removed in change from 2011-06-11. Declare as
12896 obsolete.
12897
2b75be67
SM
12898 * calendar/calendar.el (calendar-generate-window):
12899 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12900 window-safely-shrinkable-p.
12901
a8955be7
GM
129022011-06-12 Glenn Morris <rgm@gnu.org>
12903
12904 * progmodes/fortran.el (fortran-mode-syntax-table):
12905 * progmodes/f90.el (f90-mode-syntax-table):
12906 Set % to punctuation. (Bug#8820)
12907 (f90-find-tag-default): Remove, no longer needed.
12908
f0d4059d
DC
129092011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12910
12911 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12912
1100a63c
CY
129132011-06-11 Chong Yidong <cyd@stupidchicken.com>
12914
12915 * image.el (image-animated-p): Return animation delay in seconds.
12916 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12917 (image-animate-timeout): Remove DELAY argument. Don't assume
12918 every subimage has the same delay; get it from image-animated-p.
12919 (image-animate): Caller changed.
12920
def722bf
MA
129212011-06-11 Michael Albinus <michael.albinus@gmx.de>
12922
12923 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12924 to ignored backtrace functions.
12925
0a2bb1a9
GM
129262011-06-11 Glenn Morris <rgm@gnu.org>
12927
12928 * calendar/appt.el (appt-disp-window-function): Doc fix.
12929 (appt-check): Handle overlapping appointments. (Bug#8337)
12930
6198ccd0
MR
129312011-06-11 Martin Rudalics <rudalics@gmx.at>
12932
12933 * window.el (window-tree-1, window-tree): New functions, moving
12934 the latter to window.el.
12935 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12936 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12937 (bw-refresh-edges): Remove.
12938 (balance-windows-1, balance-windows-2): New functions.
12939 (balance-windows): Rewrite in terms of window tree functions,
12940 balance-windows-1 and balance-windows-2.
12941 (bw-adjust-window): Remove.
12942 (balance-windows-area-adjust): New function with functionality of
12943 bw-adjust-window but using resize-window.
2b75be67
SM
12944 (set-window-text-height): Rewrite doc-string.
12945 Use normalize-live-window and resize-window.
12946 (enlarge-window-horizontally, shrink-window-horizontally):
12947 Rename argument to DELTA.
6198ccd0
MR
12948 (window-buffer-height): New function.
12949 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12950 Rewrite using new window resize routines.
2b75be67
SM
12951 (kill-buffer-and-window, mouse-autoselect-window-select):
12952 Use ignore-errors instead of condition-case.
6198ccd0
MR
12953 (quit-window): Call delete-frame instead of delete-windows-on
12954 for the only buffer on frame.
12955
9397e56f
MR
129562011-06-10 Martin Rudalics <rudalics@gmx.at>
12957
12958 * loadup.el (top-level): Load window before files for the sake
12959 of replace-buffer-in-windows.
12960
12961 * files.el (read-buffer-to-switch)
12962 (switch-to-buffer-other-window)
2b75be67
SM
12963 (switch-to-buffer-other-frame, display-buffer-other-frame):
12964 Move to window.el.
9397e56f
MR
12965
12966 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12967 (previous-buffer): Move to window.el.
12968
12969 * bindings.el (unbury-buffer): Move to window.el.
12970
12971 * window.el (delete-other-windows-vertically): Move after
12972 definition of delete-other-windows.
12973 (other-window, delete-windows-on, replace-buffer-in-windows):
12974 Move here from window.c.
12975 (record-window-buffer, unrecord-window-buffer)
12976 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12977 (switch-to-next-buffer): New functions.
12978 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12979 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12980 (previous-buffer): Move here from simple.el.
12981 Call switch-to-prev-buffer.
9397e56f
MR
12982 (bury-buffer): Move here from buffer.c. Switch to previous
12983 buffer when window cannot be deleted.
12984 (unbury-buffer): Move here from bindings.el.
12985 (ctl-x-map): Move binding for other-window from window.c to
12986 here.
12987 (read-buffer-to-switch, switch-to-buffer-other-window)
12988 (switch-to-buffer-other-frame): Move here from files.el.
12989 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12990 (switch-to-buffer): Move here from buffer.c.
12991 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12992
562dd5e9
MR
129932011-06-10 Martin Rudalics <rudalics@gmx.at>
12994
12995 * window.el (window-min-height, window-min-width): Move here
12996 from window.c. Add defcustoms and rewrite doc-strings.
12997 (resize-mini-window, resize-window): New functions.
12998 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12999 Move here from window.c.
13000 (maximize-window, minimize-window): New functions.
13001 (delete-window, delete-other-windows, split-window): Move here
13002 from window.c.
13003 (window-split-min-size): New function.
13004 (split-window-keep-point): Mention split-window-above-each-other
13005 instead of split-window-vertically.
2b75be67 13006 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13007 Rename split-window-vertically to split-window-above-each-other
13008 and provide defalias for old definition.
13009 (split-window-side-by-side, split-window-horizontally):
13010 Rename split-window-horizontally to split-window-side-by-side
13011 and provide defalias for the old definition.
562dd5e9
MR
13012 (ctl-x-map): Move bindings for delete-window,
13013 delete-other-windows and enlarge-window here from window.c.
13014 Replace bindings for split-window-vertically and
13015 split-window-horizontally by bindings for
13016 split-window-above-each-other and split-window-side-by-side.
13017
13018 * cus-start.el (all): Remove entries for window-min-height and
13019 window-min-width. Add entries for window-splits and
13020 window-nest.
13021
f0da764a
GM
130222011-06-09 Glenn Morris <rgm@gnu.org>
13023
80675c21
GM
13024 * calendar/appt.el (appt-mode-line): New function.
13025 (appt-check, appt-disp-window): Use it.
13026
f0da764a
GM
13027 * files.el (hack-one-local-variable-eval-safep):
13028 Allow minor-modes with explicit +/-1 arguments.
13029
59f623b7
TZ
130302011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13031
13032 * term/xterm.el (xterm): Add defgroup.
13033 (xterm-extra-capabilities): Add defcustom to supply known xterm
13034 capabilities, skip querying them, or query them (default).
13035 (terminal-init-xterm): Use it.
13036 (terminal-init-xterm-modify-other-keys): New function to set up
13037 modifyOtherKeys support to simplify `terminal-init-xterm'.
13038
9aab8e0d
MR
130392011-06-09 Martin Rudalics <rudalics@gmx.at>
13040
13041 * window.el (resize-window-reset, resize-window-reset-1)
13042 (resize-subwindows-skip-p, resize-subwindows-normal)
13043 (resize-subwindows, resize-other-windows, resize-this-window)
13044 (resize-root-window, resize-root-window-vertically)
13045 (window-deletable-p, window-or-subwindow-p)
13046 (frame-root-window-p): New functions.
13047
e8b08aee
GM
130482011-06-09 Glenn Morris <rgm@gnu.org>
13049
13050 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13051 (ange-ftp-get-files): Use it.
13052
254c37a5
AK
130532011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13054
13055 * mail/sendmail.el (mail-recover-1, mail-recover):
13056 * files.el (recover-file, recover-session):
13057 Handle dired-listing-switches not being just a single short option.
13058
35d7dbd3
GM
130592011-06-09 Glenn Morris <rgm@gnu.org>
13060
13061 * calendar/appt.el (appt-display-message, appt-disp-window):
13062 Handle lists of appointments.
13063
387522b2
MR
130642011-06-08 Martin Rudalics <rudalics@gmx.at>
13065
2b75be67
SM
13066 * window.el (one-window-p): Move down in code.
13067 Rewrite doc-string.
13068 (window-current-scroll-bars): Rewrite doc-string.
13069 Normalize live window argument.
387522b2
MR
13070 (walk-windows, get-window-with-predicate, count-windows):
13071 Rewrite doc-string. Use window-list-1.
13072 (window-in-direction-2, window-in-direction, get-mru-window):
13073 New functions.
13074
d8e4b68b 130752011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13076
13077 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13078 Doc fix (Bug#8713).
13079
130802011-06-08 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13083
130842011-06-08 Juanma Barranquero <lekktu@gmail.com>
13085
13086 * loadhist.el (unload-feature-special-hooks):
13087 Add `comint-output-filter-functions'.
13088
0de12c52
IK
130892011-06-08 Ivan Kanis <gnu@kanis.fr>
13090
13091 * calendar/appt.el (appt-check): Move some initializations into the let.
13092
f3d1777e
MR
130932011-06-08 Martin Rudalics <rudalics@gmx.at>
13094
13095 * window.el (window-height): Defalias to window-total-height.
13096 (window-width): Defalias to window-body-width.
13097
18af70d0
CY
130982011-06-07 Chong Yidong <cyd@stupidchicken.com>
13099
13100 * image-mode.el (image-toggle-animation): New command.
13101 (image-mode-map): Bind it to RET.
13102 (image-mode): Update message.
13103 (image-toggle-display-image): Avoid a spurious cache flush.
13104 (image-transform-rotation): Doc fix.
13105 (image-transform-properties): Return quickly in the normal case.
13106 (image-animate-loop): Rename from image-animate-max-time.
13107
2b75be67 13108 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13109 (create-animated-image): Remove unnecessary function.
13110 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13111 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13112 (image-animate-timer): Use car-safe.
13113 (image-animate-timeout): Rename argument.
13114
190b47e6
MR
131152011-06-07 Martin Rudalics <rudalics@gmx.at>
13116
13117 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13118 window.c. Rename first argument to ALL-FRAMES.
13119 Rephrase doc-strings.
13120 (get-buffer-window-list): Rewrite using window-list-1.
13121 Rephrase doc-string.
a1511caf
MR
13122 (window-safe-min-height, window-safe-min-width): New constants.
13123 (window-size-ignore, window-min-size, window-min-size-1)
13124 (window-sizable, window-sizable-p, window-size-fixed-1)
13125 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13126 (window-max-delta-1, window-max-delta, window-resizable)
13127 (window-resizable-p, window-total-height, window-total-width)
13128 (window-body-width): New functions.
13129 (window-full-height-p, window-full-width-p): Rewrite using
13130 window-total-size.
13131 (window-body-height): Rewrite using window-body-size.
190b47e6 13132
85cc1f11
MR
131332011-06-06 Martin Rudalics <rudalics@gmx.at>
13134
13135 * window.el (window-right, window-left, window-child)
13136 (window-child-count, window-last-child, window-any-p)
13137 (normalize-live-buffer, normalize-live-frame)
13138 (normalize-any-window, normalize-live-window)
13139 (window-iso-combination-p, window-iso-combined-p)
13140 (window-iso-combinations)
13141 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13142 (windows-with-parameter, window-with-parameter)
13143 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13144 (window-atom-check, window-side-check, window-check):
13145 New functions.
85cc1f11
MR
13146 (ignore-window-parameters, window-sides, window-sides-vertical)
13147 (window-sides-slots): New variables.
13148 (window-size-fixed): Move down in code. Minor doc-string fix.
13149
e7156492
AS
131502011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13151
13152 * comint.el (comint-dynamic-complete-as-filename)
13153 (comint-dynamic-complete-filename): Correctly call
13154 completion-in-region.
13155
7e821d0d
DD
131562011-06-05 Deniz Dogan <deniz@dogan.se>
13157
13158 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13159 in last change.
13160
ac09b8a1
DD
131612011-06-05 Deniz Dogan <deniz@dogan.se>
13162
13163 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13164 (rcirc): Use it to prompt for encryption.
13165
34699b85
RW
131662011-06-05 Roland Winkler <winkler@gnu.org>
13167
13168 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13169 (bibtex-search-entries): New command bound to C-c C-a.
13170 (bibtex-display-entries): New function.
13171
004dedd3
RW
131722011-06-05 Roland Winkler <winkler@gnu.org>
13173
13174 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13175 (bibtex-insert-kill): After yanking insert newline if necessary.
13176 (bibtex-initialize): Call bibtex-string-files-init only once.
13177 (bibtex-mode): Do not call easy-menu-add.
13178 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13179 (bibtex-yank): Set arg properly if nil.
13180
022fe7ce
RW
131812011-06-05 Roland Winkler <winkler@gnu.org>
13182
2b75be67
SM
13183 * textmodes/bibtex.el (bibtex-search-entry-globally):
13184 New variable.
022fe7ce
RW
13185 (bibtex-search-entry): Use it.
13186
b7c3692a
RW
131872011-06-05 Roland Winkler <winkler@gnu.org>
13188
13189 * textmodes/bibtex.el (bibtex-entry-format): New option
13190 sort-fields.
13191 (bibtex-format-entry, bibtex-reformat): Honor this option.
13192 (bibtex-parse-entry): Return fields in proper order.
13193
8eda563d
JB
131942011-06-05 Juanma Barranquero <lekktu@gmail.com>
13195
13196 * doc-view.el (doc-view-remove-if): Move computation of result out
13197 of `dolist' to silence misleading lexical-binding warning.
13198
7dbe3dbc
CY
131992011-06-04 Chong Yidong <cyd@stupidchicken.com>
13200
13201 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13202 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13203
0c33dd17
MA
132042011-06-04 Michael Albinus <michael.albinus@gmx.de>
13205
13206 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13207 "SunOS 5.10".
13208
f8f91c2b
MA
132092011-06-04 Michael Albinus <michael.albinus@gmx.de>
13210
13211 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13212 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13213 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13214 (tramp-parse-putty):
13215 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13216 (tramp-completion-function-alist-ssh)
13217 (tramp-completion-function-alist-telnet)
13218 (tramp-completion-function-alist-su)
13219 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13220 cookie.
13221
13222 * net/tramp-ftp.el:
13223 * net/tramp-sh.el:
13224 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13225 load "tramp.el" `tramp-set-completion-function'.
13226
e17d9003
SM
132272011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * shell.el: Require and use pcomplete.
13230 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13231 (shell-completion-vars): Set pcomplete-default-completion-function.
13232
6c4cab03
DD
132332011-06-04 Deniz Dogan <deniz@dogan.se>
13234
13235 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13236 `memq' (Bug#8799).
13237
ea9fafe0
SM
132382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13241
b3e945d3
JB
132422011-06-02 Juanma Barranquero <lekktu@gmail.com>
13243
13244 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13245 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13246 * vc/log-view.el (log-view-beginning-of-defun):
13247 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13248 (smerge-refine-forward, smerge-refine-chopup-region):
13249 Silence warning for unused `dotimes' counter variables.
13250
7d520089
SM
132512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13252
13253 * net/tramp.el (tramp-with-progress-reporter): Rename from
13254 with-progress-reporter. Use `declare'.
13255 * net/tramp-smb.el:
13256 * net/tramp-sh.el:
13257 * net/tramp-gvfs.el: Update all uses.
13258
a1c2400f
JB
132592011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13260
13261 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13262 buffer isn't killed before making it current.
13263
2403c841
SM
132642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 Silence various byte-compiler warnings.
13267 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13268 `access-type' and new obsolescence format.
13269 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13270 new format.
13271 (byte-compile-check-variable): New `access-type' argument.
13272 Only warn if the access-type is obsolete.
13273 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13274 (byte-compile-variable-set): Adjust callers.
13275 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13276 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13277 setting it as obsolete.
13278 * simple.el (minibuffer-completing-symbol):
13279 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13280 access as obsolete.
13281 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13282 obsolete yet.
13283 * international/quail.el (quail-mouse-choose-completion): Remove unused
13284 code referring to obsolete var.
13285 (quail-choose-completion-string): Remove.
13286 * server.el (server-clients-with, server-kill-buffer-query-function)
13287 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13288 * proced.el (proced-send-signal):
13289 * emacs-lisp/lisp.el (lisp-complete-symbol):
13290 Replace completion-annotate-function with completion-extra-properties.
13291
2462470b
SM
132922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13293
fb5b2591
SM
13294 * simple.el (goto-line): Use read-number.
13295 (overriding-map-is-bound): Remove.
13296 (saved-overriding-map): Change default.
13297 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13298 Take the map as argument.
13299 (universal-argument, negative-argument, digit-argument): Use it.
13300 (restore-overriding-map): Adjust.
13301 (do-auto-fill): Use fill-forward-paragraph.
13302 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13303
fd6fa53f
SM
13304 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13305 (minibuffer-inactive-mode): New major mode.
13306 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13307 the *Messages* buffer" hack.
13308 (mouse-popup-menubar): Don't burp if the event is a normal key.
13309
2462470b
SM
13310 Miscellaneous tweaks.
13311 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13312 lexical scoping as in subr.el's dolist and dotimes.
13313 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13314 Silence compiler warning.
13315 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13316 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13317 * international/ccl.el (ccl-compile): Trivial simplification.
13318 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13319 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13320 `printflag' argument.
13321 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13322 Purecopy the whole obsolescence data.
13323
108bf785
LL
133242011-06-01 Leo Liu <sdl.web@gmail.com>
13325
13326 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13327 improve doc-string as suggested by Marco Pessotto
13328 <melmothx@gmail.com>.
13329 (rcirc-print): Fix last change.
13330
30a23501
SM
133312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * minibuffer.el (complete-with-action): Return nil for the metadata and
13334 boundaries of non-functional tables.
13335 (completion-table-dynamic): Return nil for the metadata.
13336 (completion-table-with-terminator): Add default case, using
13337 complete-with-action.
13338 (completion--metadata): New function.
13339 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13340 to try and avoid pathological performance problems.
13341 (completion--embedded-envvar-table): Return `category' metadata.
13342
bcd54f83
LMI
133432011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13344
13345 * subr.el (process-alive-p): New tiny convenience function.
13346
e227544d
SM
133472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13350 content but also its previous major mode.
13351
e8296fdc
HE
133522011-05-31 Helmut Eller <eller.helmut@gmail.com>
13353
4d61f28d 13354 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13355 *Backtrace* buffer when we exit with C-M-c.
13356
620c53a6
SM
133572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * minibuffer.el: Add metadata method to completion tables.
13360 (completion-category-overrides): New defcustom.
13361 (completion-metadata, completion--field-metadata)
13362 (completion-metadata-get, completion--styles)
13363 (completion--cycle-threshold): New functions.
13364 (completion-try-completion, completion-all-completions):
13365 Add `metadata' argument to choose completion-styles.
13366 (completion--do-completion): Use metadata to choose cycling.
13367 (completion-all-sorted-completions): Use metadata for sorting.
13368 Remove :completion-cycle-penalty which is not needed any more.
13369 (completion--try-word-completion): Add `metadata' argument.
13370 (minibuffer-completion-help): Check metadata for annotation function
13371 and sorting.
13372 (completion-file-name-table): Return `category' metadata.
13373 (minibuffer-completing-file-name): Make obsolete.
13374 * simple.el (minibuffer-completing-symbol): Make obsolete.
13375 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13376 completion-try-completion.
13377
1257e755
SM
133782011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13381
3767e706
LL
133822011-05-30 Leo Liu <sdl.web@gmail.com>
13383
13384 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13385 (rcirc-print): Decode all incoming messages (bug#8744).
13386 (rcirc-decode-coding-system): Allow value nil for automatic coding
13387 system detection.
3767e706 13388
d1a5d56a
GM
133892011-06-01 Glenn Morris <rgm@gnu.org>
13390
13391 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13392
e8cbec34
CY
133932011-05-29 Chong Yidong <cyd@stupidchicken.com>
13394
13395 * image.el (image-animate-max-time): Allow nil and t values.
13396 Default to nil.
13397 (create-animated-image): Doc fix.
13398 (image-animate-start): Remove second arg; just use
13399 image-animate-max-time.
13400 (image-animate-timeout): Doc fix. Args changed.
13401
13402 * image-mode.el (image-toggle-display-image): Ensure that the
13403 image spec passed to the animate timer is the same object as in
58179cce 13404 the buffer's display property (Bug#6981).
e8cbec34
CY
13405 (image-transform-properties): Doc fix.
13406
13407 * image.el (image-animate-max-time): Default to nil.
13408
159daf87
MR
134092011-05-29 Martin Rudalics <rudalics@gmx.at>
13410
13411 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13412 entire buffer list (Bug#8184).
13413
d66c4c7c
CY
134142011-05-29 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * image.el (imagemagick-types-inhibit)
13417 (imagemagick-register-types): Doc fix.
13418
80aec780
DD
134192011-05-29 Deniz Dogan <deniz@dogan.se>
13420
13421 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13422 default.
13423
1dd3c2d9
CY
134242011-05-29 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * select.el: Don't perform clipboard-manager saving in hooks;
13427 leave the hooks empty.
13428
60e56523
LL
134292011-05-28 Leo Liu <sdl.web@gmail.com>
13430
13431 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13432 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13433 (occur-edit-mode): New major mode (Bug#8463).
13434 (occur-after-change-function): New function.
13435 (occur-engine): Give Occur tags a read-only property.
13436
2b1e1a22
KR
134372011-05-28 Kevin Ryde <user42@zip.com.au>
13438
13439 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13440
5d344e88
CY
134412011-05-28 Chong Yidong <cyd@stupidchicken.com>
13442
8e6ca83d
CY
13443 * bindings.el (help-echo): Make the initial non-indicator dash
13444 empty on graphical terminals (Bug#7295).
13445
5d344e88
CY
13446 * files.el (auto-mode-alist): Move config rule after the
13447 in-stripping one (Bug#8547).
13448
bfbbace7
CY
13449 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13450
fbeba6e2
CY
13451 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13452 setting (Bug#8740).
13453
60ed8c72
AA
134542011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13455
4ac619f0
AA
13456 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13457 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13458 (Bug#8539).
60ed8c72 13459
23db196e
CY
134602011-05-28 Chong Yidong <cyd@stupidchicken.com>
13461
13462 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13463
5012f24c
DK
134642011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13465
13466 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13467 (hs-hide-block-at-point, hs-find-block-beginning)
13468 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13469 (Bug#8279).
13470
6a639b16
GM
134712011-05-28 Glenn Morris <rgm@gnu.org>
13472
13473 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13474
d43eaf2c
CY
134752011-05-28 Chong Yidong <cyd@stupidchicken.com>
13476
5199bde1
CY
13477 * help-fns.el (describe-function-1): If the function is a derived
13478 major mode, print the parent mode.
13479
d43eaf2c
CY
13480 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13481 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13482
423428a8
SM
134832011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13484
0ff8e1ba 13485 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13486 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13487 * progmodes/etags.el (tags-completion-at-point-function):
13488 * info-look.el (info-lookup-completions-at-point): Mark as
13489 non-exclusive.
13490 (info-complete): Adjust accordingly.
13491
423428a8
SM
13492 * info-look.el: Convert to lexical-binding and completion-at-point.
13493 (info-lookup-completions-at-point): New function.
13494 (info-complete): Use it and completion-in-region.
13495
b74aa22b
DA
134962011-05-28 Drew Adams <drew.adams@oracle.com>
13497
13498 * isearch.el: Let M-e start with point at the first mismatched char.
13499 (isearch-fail-pos): New function.
13500 (isearch-edit-string): Use it.
13501
66e2e71d
DK
135022011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13503
13504 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13505
b1890b0f 135062011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13507
13508 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13509 traversal functions for avl-trees.
13510 (avl-tree--stack): New struct.
13511 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13512 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13513 (avl-tree--do-enter): Add optional `updatefun' arg.
13514 Change return value.
eb95d01d 13515 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13516 (avl-tree--do-delete): Add `test' and `nilflag' args.
13517 Change return value.
eb95d01d
TC
13518 (avl-tree-member): Add optional `nilflag'
13519 (avl-tree-member-p): New function.
13520 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13521 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13522 (avl-tree-stack-empty-p): New functions.
13523
3769ddcf
TC
13524 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13525 avl-tree--del-balance1 and make it work both ways.
13526 (avl-tree--del-balance2): Remove.
13527 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13528 make it work both ways.
13529 (avl-tree--enter-balance2): Remove.
13530 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13531 New macros.
13532 (avl-tree--mapc, avl-tree-map): Add direction argument.
13533
eb95d01d 135342011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13535
13536 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13537
a9f737ee
CY
135382011-05-27 Chong Yidong <cyd@stupidchicken.com>
13539
13540 * select.el: Support clipboard managers with built-in function
13541 x-clipboard-manager-save, via delete-frame-functions and
13542 kill-emacs-hook.
13543 (xselect-convert-to-targets): Add MULTIPLE target to list.
13544 (xselect-convert-to-save-targets): New function.
13545
c92a1e54
KH
135462011-05-27 Kenichi Handa <handa@m17n.org>
13547
13548 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13549 let-binding rfc2047-encode-encoded-words to nil.
13550
e145f188
GM
135512011-05-27 Glenn Morris <rgm@gnu.org>
13552
5ec8a862
GM
13553 * mail/emacsbug.el: Don't require url-util.
13554
4b29d9fb
GM
13555 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13556
e145f188
GM
13557 * files.el (set-auto-mode):
13558 Also respect mode: entries at the end of the file. (Bug#8586)
13559
7d15102b
GM
135602011-05-26 Glenn Morris <rgm@gnu.org>
13561
98f593b8
GM
13562 * files.el (hack-local-variables-prop-line, hack-local-variables):
13563 Downcase mode names, as seems to be traditional.
27b48e63 13564 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13565
7d15102b
GM
13566 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13567 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13568
51d5b4ec
JD
135692011-05-25 Julien Danjou <julien@danjou.info>
13570
13571 * textmodes/rst.el (rst-define-level-faces): Do not define face
13572 symbol if it is already defined.
13573
91513f63
VB
135742011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13575
13576 * play/5x5.el (5x5-new-game, 5x5-randomize):
13577 Reset 5x5-solver-output to nil when a new grid is cast.
13578 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13579 these debugging traces, as defmacro breaks the compiled code.
13580
4d90d6d0
DK
135812011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13582
13583 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13584
e1b90ef6
LL
135852011-05-24 Leo Liu <sdl.web@gmail.com>
13586
13587 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13588 (vc-bzr-sha1): Adapt.
13589
d8e4b68b 13590 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13591
13592 * bindings.el: Provide sha1 feature.
13593
db0406bb 135942011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13595
13596 * mail/sendmail.el: Require `rfc2047'.
13597 (mail-insert-from-field): Do not perform RFC2047 encoding.
13598 (mail-encode-header): New function.
13599 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13600 buffer to the return value of select-message-coding-system.
13601 Call mail-encode-header.
b8d747b9
KH
13602
13603 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13604
db0406bb 136052011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13606
4d90d6d0
DK
13607 * mail/supercite.el (sc-default-cite-frame):
13608 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13609
eb8a5e9b
GM
136102011-05-24 Glenn Morris <rgm@gnu.org>
13611
f8630703
GM
13612 * progmodes/python.el (brm-menu): Declare.
13613
8831bbed
GM
13614 * emulation/viper.el (viper-set-hooks): Declare.
13615
eb8a5e9b
GM
13616 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13617 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13618 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13619 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13620 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13621 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13622
a2a25d24
SM
136232011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 Add an :exit-function for completion-at-point.
13626
13627 * minibuffer.el (completion--done): New fun.
13628 (completion--do-completion): Use it. New arg `expect-exact'.
13629 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13630 since completion--do-completion does it for us now.
13631 (minibuffer-force-complete): Use completion--done and
13632 completion--replace. Handle sole-completion case with more care.
13633 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13634 (completion-extra-properties): New var.
13635 (completion-annotate-function): Make obsolete.
13636 (minibuffer-completion-help): Adjust accordingly.
13637 Use completion-list-insert-choice-function.
13638 (completion-at-point, completion-help-at-point):
13639 Bind completion-extra-properties.
13640 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13641 * simple.el (completion-list-insert-choice-function): New var.
13642 (completion-setup-function): Preserve it.
13643 (choose-completion): Pay attention to it, shuffle the code a bit.
13644 (choose-completion-string): New arg `insert-function'.
13645
13646 * textmodes/bibtex.el: Convert to lexical binding.
13647 (bibtex-mode-map): Use completion-at-point.
13648 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13649 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13650 (bibtex-complete): Define as obsolete alias.
13651 (bibtex-complete-internal): Remove.
13652 (bibtex-format-entry): Remove unused sub-group in regexp.
13653 * shell.el (shell--command-completion-data)
13654 (shell-environment-variable-completion):
13655 * pcomplete.el (pcomplete-completions-at-point):
13656 * comint.el (comint--complete-file-name-data): Use :exit-function
13657 instead of completion-table-with-terminator so it also works for
13658 choose-completion.
13659
e44e373d
SM
136602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13661
4f91a816
SM
13662 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13663
782fc819
SM
13664 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13665 (bug#8710).
13666
e44e373d
SM
13667 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13668
381987c3
KM
136692011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13670
13671 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13672 customization variable and implement: If non-nil, auto-fill will
13673 be inhibited while on topic's header line.
13674
b776bc70
VB
136752011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13676
13677 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13678 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13679 always have a solution in grid size = 5 cases.
13680 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13681 (5x5-solver-output, 5x5-log-buffer): New vars.
13682 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13683 Make these variables buffer local to achieve 5x5 multi-session-ness.
13684 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13685 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13686 (5x5-solve-suggest): New funs.
13687 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13688 randomize a grid so that we ensure that there is always a solution.
13689 (5x5-make-random-grid): Allow other movement than flipping.
13690
7de88b6e
KR
136912011-05-23 Kevin Ryde <user42@zip.com.au>
13692
13693 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13694 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13695 advice and passes PREDICATE.
13696
b1ef1257
SM
136972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13698
bbca48fe
SM
13699 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13700 byte-compile-lambda if it's actually a lambda.
13701
b1ef1257
SM
13702 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13703 Fix function quoting. Use backquote better.
13704
92a9cc65
YS
137052011-05-22 Yuanle Song <sylecn@gmail.com>
13706
13707 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13708 matching (Bug#8516).
13709
f0fb8059
JA
137102011-01-22 Jari Aalto <jari.aalto@cante.net>
13711
13712 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13713 different face (Bug#8178).
13714
d5b44c93
CY
137152011-05-22 Chong Yidong <cyd@stupidchicken.com>
13716
13717 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13718 defface (Bug#8144).
13719
79106a44
SM
137202011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13721
9c848d8a
SM
13722 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13723 funcall as well (bug#8712). Warn when performing those conversions.
13724 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13725
79106a44
SM
13726 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13727
88dfa756
GM
137282011-05-22 Glenn Morris <rgm@gnu.org>
13729
13730 * files.el (hack-local-variables-prop-line): Small simplifications.
13731 (hack-local-variables, hack-local-variables-prop-line):
13732 If MODE-ONLY, return the mode, rather than just `t'.
13733
b7cf2c79
SM
137342011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13737
3f1a8558
GM
137382011-05-21 Glenn Morris <rgm@gnu.org>
13739
7e4ccca3
GM
13740 * files.el (hack-local-variables-prop-line, hack-local-variables):
13741 If only interested in the mode, don't bother doing the other stuff.
13742
637d46ca
GM
13743 * image-mode.el (image-after-revert-hook):
13744 Redraw all frames on which the image is visible. (Bug#8567)
13745
973d955b
GM
13746 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13747
3f1a8558
GM
13748 * wid-edit.el (widget-checklist-match-inline):
13749 Fix 2011-04-19 change. (Bug#8649)
13750
96479927
SM
137512011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13752
1dcf791f
SM
13753 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13754 Also allow singlespace after single-letter capitals followed by a dot.
13755
96479927
SM
13756 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13757 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13758
35fd0881
N
137592011-05-20 Nix <nix@esperi.org.uk>
13760
13761 * files.el (basic-save-buffer-2):
13762 Fix handling of break-hardlink-on-save with non-existent files.
13763
82745640
DD
137642011-05-19 Deniz Dogan <deniz@dogan.se>
13765
13766 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13767 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13768
4a720484
GM
137692011-05-19 Glenn Morris <rgm@gnu.org>
13770
d1f21341
GM
13771 * progmodes/f90.el (f90-type-def-re):
13772 Handle "type, bind(c)". (Bug#8691)
13773
4a720484
GM
13774 * emacs-lisp/autoload.el (batch-update-autoloads):
13775 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13776
2fb0a219
MA
137772011-05-18 Michael Albinus <michael.albinus@gmx.de>
13778
13779 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13780 property for the correct connection in case of multihops.
13781
e565dd37
GM
137822011-05-18 Glenn Morris <rgm@gnu.org>
13783
c2571358 13784 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13785 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13786
e565dd37
GM
13787 Rationalize calendar handling of day and month abbrev-arrays.
13788 * calendar/calendar.el (calendar-customized-p): New function.
13789 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13790 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13791 Add :set function.
13792 (calendar-abbrev-length, calendar-day-abbrev-array)
13793 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13794 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13795 Elements may no longer be nil.
13796 (calendar-day-name, calendar-month-name):
13797 Update for changed nature of abbrev arrays.
13798 * calendar/diary-lib.el (diary-name-pattern):
13799 Update for changed nature of abbrev arrays.
13800 (diary-mark-entries-1): Update calendar-make-alist calls.
13801 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13802 * calendar/cal-html.el (cal-html-day-abbrev-array):
13803 Simply inherit from calendar-day-abbrev-array.
13804
1d99a745
SM
138052011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13806
13807 * progmodes/grep.el (grep-mode): Disable default
13808 compilation-directory-matcher setting (bug#8684).
13809
7c1d9aa0
MA
138102011-05-17 Michael Albinus <michael.albinus@gmx.de>
13811
13812 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13813 instead of "head" and "tail". There were problems with SunOS 5.9,
13814 and it performs better.
13815
3952e9d8
GM
138162011-05-17 Glenn Morris <rgm@gnu.org>
13817
2dd12e7f
GM
13818 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13819
e4157b9c
GM
13820 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13821 Replace obsolete function.
13822
8e249bbd
GM
13823 * shell.el (pcomplete-parse-arguments-function): Declare.
13824
3952e9d8
GM
13825 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13826 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13827 (appt-check): Doc fixes.
13828 (appt-disp-window-function, appt-delete-window-function):
13829 Remove needless special case in custom :type.
13830 (appt-display-count): Default to 0, not nil.
13831 (appt-check): Reset appt-display-count to 0, not nil.
13832
c71a0d48 138332011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13834
c71a0d48
GM
13835 * progmodes/python.el (python-font-lock-keywords):
13836 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13837
31d55be9
SM
138382011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13841
3bfacb2f
KR
138422011-05-16 Kevin Ryde <user42@zip.com.au>
13843
13844 * info-look.el (makefile-automake-mode): New setups, looking in
13845 automake manual, then makefile-mode.
13846 (makefile-mode): Remove automake manual, have it just in
13847 makefile-automake-mode since there's various things different or
13848 not relevant to plain make.
13849 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13850 believe a hypothetical automake-mode would go to makefile-mode,
13851 not the other way around.
13852
c8e83751
CY
138532011-05-15 Chong Yidong <cyd@stupidchicken.com>
13854
5e9e35cd
CY
13855 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13856 hunk-end tags (Bug#8672).
13857
c8e83751
CY
13858 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13859 vc-annotate-show-diff-revision-at-line (Bug#8671).
13860
50b23e5a
GM
138612011-05-14 Glenn Morris <rgm@gnu.org>
13862
7210a739
GM
13863 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13864 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13865 (change-log-font-lock-keywords): Also handle multiple author lines
13866 with leading tabs. (Bug#8644)
7210a739 13867
4691905a
GM
13868 * calendar/appt.el (appt-check): Rename some local variables.
13869 Some simplification/reordering.
13870
50b23e5a
GM
13871 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13872 (feedmail-sendmail-f-doesnt-sell-me-out)
13873 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13874 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13875 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13876 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13877 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13878 (feedmail-binmail-gnulinuxish-template):
13879 Rename from feedmail-binmail-linuxish-template.
13880 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13881 Use insert-buffer-substring.
13882
215cda7c
BC
138832011-05-14 Bill Carpenter <bill@carpenter.org>
13884
13885 * mail/feedmail.el (feedmail-patch-level): Increase.
13886 (feedmail-debug): New custom group.
13887 (feedmail-confirm-outgoing-timeout)
13888 (feedmail-sendmail-f-doesnt-sell-me-out)
13889 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13890 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13891 (feedmail-sender-line, feedmail-from-line)
13892 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13893 (feedmail-spray-this-address)
215cda7c
BC
13894 (feedmail-spray-address-fiddle-plex-list)
13895 (feedmail-queue-use-send-time-for-date)
13896 (feedmail-queue-use-send-time-for-message-id)
13897 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13898 (feedmail-buffer-eating-function):
13899 Doc fixes.
13900 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13901 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13902 (feedmail-message-action-scroll-down): New functions.
13903 (feedmail-queue-directory, feedmail-queue-draft-directory):
13904 Use expand-file-name.
13905 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13906 Remove C-v help entry.
13907 (feedmail-queue-buffer-file-name): New variable.
13908 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13909 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13910 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13911 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13912 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13913 (feedmail-message-action-toggle-spray)
13914 (feedmail-run-the-queue-no-prompts)
13915 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13916 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13917 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13918 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13919 (feedmail-envelope-deducer, feedmail-fiddle-from)
13920 (feedmail-fiddle-sender, feedmail-default-date-generator)
13921 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13922 (feedmail-fiddle-spray-address)
13923 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13924 (feedmail-fiddle-list-of-fiddle-plexes)
13925 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13926 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13927 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13928 Change default. Doc fix.
13929 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13930 (feedmail-binmail-linuxish-template): New constant.
13931 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13932 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13933 (feedmail-send-it): Add debug call.
13934 Use feedmail-queue-buffer-file-name, and
13935 feedmail-send-it-immediately-wrapper.
13936 (feedmail-message-action-send): Add debug call.
13937 Use feedmail-send-it-immediately-wrapper.
13938 (feedmail-queue-express-to-queue): Add debug call.
13939 Run feedmail-queue-express-hook.
13940 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13941 (feedmail-message-action-help-blat):
13942 Rename from feedmail-queue-send-edit-prompt-help-first.
13943 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13944 Check line-endings. Handle errors better.
13945 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13946 Doc fix. Add debug call.
13947 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13948 Use feedmail-queue-send-edit-prompt-inner.
13949 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13950 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13951 from feedmail-queue-send-edit-prompt.
13952 (feedmail-queue-send-edit-prompt-help)
13953 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13954 (feedmail-tidy-up-slug): Add debug call.
13955 Respect feedmail-queue-slug-suspect-regexp.
13956 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13957 (feedmail-dump-message-to-queue): Add debug call.
13958 Expand queue-directory.
13959 (feedmail-dump-message-to-queue): Change message slightly.
13960 Use feedmail-say-chatter.
13961 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13962 (feedmail-send-it-immediately-wrapper): New function.
13963 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13964 Insert empty string rather than newline. Handle full-frame case.
13965 Use catch/throw. Use feedmail-say-chatter.
13966 (feedmail-fiddle-from): Try mail-host-address.
13967 (feedmail-default-message-id-generator): Doc fix.
13968 Bind system-time-locale. Handle missing end.
13969 (feedmail-fiddle-x-mailer): Add debug call.
13970 Handle feedmail-x-mailer-line being nil.
13971 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13972 Add debug call. Use buffer-substring-no-properties.
13973 (feedmail-say-debug, feedmail-say-chatter): New functions.
13974 (feedmail-find-eoh): Give an explicit error.
13975
42c7e61e
UJ
139762011-05-13 Ulf Jasper <ulf.jasper@web.de>
13977
c2571358 13978 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13979 family from helvetica to sans.
c2571358 13980 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13981 etc/images/newsticker.
13982
c2571358 13983 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13984 family from helvetica to sans.
13985
13986 * net/newst-plainview.el (newsticker-new-item-face)
13987 (newsticker-old-item-face, newsticker-immortal-item-face)
13988 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13989 (newsticker-statistics-face): Change default family from
42c7e61e 13990 helvetica to sans.
c2571358 13991 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13992 etc/images/newsticker.
13993
5d3385a0
JB
13994 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13995 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13996 auto-marking.
13997
8497a297
DV
139982011-05-13 Didier Verna <didier@xemacs.org>
13999
14000 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14001 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14002 TODO entries.
8497a297
DV
14003 (lisp-lambda-list-keyword-parameter-indentation)
14004 (lisp-lambda-list-keyword-parameter-alignment)
14005 (lisp-lambda-list-keyword-alignment): New customizable user options.
14006 (lisp-indent-defun-method): Improve docstring.
14007 (extended-loop-p): Fix comment.
14008 (lisp-indent-lambda-list-keywords-regexp): New variable.
14009 (lisp-indent-lambda-list): New function.
14010 (lisp-indent-259): Use it.
14011 (lisp-indent-defmethod): Support for more than one
14012 method qualifier and properly indent methods lambda-lists.
14013 (defgeneric): Provide a missing common-lisp-indent-function property.
14014
f278f87f
SM
140152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14018 bounds for the empty string (bug#8667).
14019
5233edd7
GM
140202011-05-13 Glenn Morris <rgm@gnu.org>
14021
5237a44f
GM
14022 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14023
8340026c 14024 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14025 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14026
5233edd7 14027 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14028 (appt-time-msg-list): Doc fix.
a5464014 14029 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14030
92d10796
AS
140312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14032
14033 * progmodes/ld-script.el (ld-script-keywords)
14034 (ld-script-builtins): Update keywords list.
14035
914a0ae1
SM
140362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14037
c89be45f
SM
14038 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14039
914a0ae1
SM
14040 * shell.el (shell-completion-vars): New function.
14041 (shell-mode):
14042 * simple.el (read-shell-command): Use it.
14043 (blink-matching-open): No need for " [...]" in minibuffer-message.
14044
98dc3df3
GM
140452011-05-12 Glenn Morris <rgm@gnu.org>
14046
14047 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14048 (appt-check): Simplify.
14049
d2fc7e3d 140502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14051
4d61f28d 14052 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14053 literal "/dev/null".
14054
d2fc7e3d 140552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14056
14057 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14058 Fix typo.
14059
d2fc7e3d 140602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14061
3f254caa
SM
14062 * progmodes/which-func.el (which-function):
14063 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14064 which might not be defined (Bug#8260).
14065
d45885f7
GM
140662011-05-12 Glenn Morris <rgm@gnu.org>
14067
14068 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14069 Let byte-compile-initial-macro-environment always take precedence.
14070
488086f4
SM
140712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14072
14073 * net/rcirc.el: Add support for SSL/TLS connections.
14074 (rcirc-server-alist): New field `encryption'.
14075 (rcirc): Check `encryption' settings.
14076 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14077 Merge make-local-variable into `set'.
14078 (rcirc--connection-open-p): New function.
14079 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14080 the process is not a network process (e.g. running gnutls-cli).
14081 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14082 Make rcirc-(en|de)code-coding-system local here.
14083 (rcirc-mode): Merge make-local-variable into `set'.
14084 (rcirc-parent-buffer): Make permanent buffer-local.
14085 (rcirc-multiline-minor-mode): Don't do it here.
14086 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14087 there's no server buffer.
14088
7d3b9d44
GM
140892011-05-11 Glenn Morris <rgm@gnu.org>
14090
f64049c6
GM
14091 * newcomment.el (comment-kill): Prefix "unused" local.
14092
93c9df73
GM
14093 * term/w32console.el (get-screen-color): Declare.
14094
7d3b9d44
GM
14095 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14096 Handle symbol elements of byte-compile-initial-macro-environment.
14097
9e2dd53f
LL
140982011-05-10 Leo Liu <sdl.web@gmail.com>
14099
488086f4
SM
14100 * bookmark.el (bookmark-bmenu-mode-map):
14101 Bind bookmark-bmenu-search to `/'.
8b340240 14102
9e2dd53f 14103 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14104 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14105 (Footnote-unicode): New function.
14106 (footnote-style-alist): Add unicode style to the list.
14107 (footnote-style): Doc fix.
9e2dd53f 14108
79b70037
GM
141092011-05-10 Jim Meyering <meyering@redhat.com>
14110
14111 Fix doubled-word typos.
14112 * international/quail.el (quail-insert-kbd-layout): and and -> and
14113 * kermit.el: and and -> and
14114 * net/ldap.el (ldap-search-internal): to to -> to
14115 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14116 * progmodes/js.el (js-mode): and and -> and
14117 * textmodes/artist.el (artist-move-to-xy): at at -> at
14118 (artist-draw-region-trim-line-endings): if if -> if
14119 And Safetyc -> Safety.
14120 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14121
b8f82dc1 141222011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14123 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14124
14125 * files.el (hack-one-local-variable-eval-safep):
14126 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14127
4f99f44b
GM
141282011-05-10 Glenn Morris <rgm@gnu.org>
14129
14130 * calendar/diary-lib.el (diary-list-entries-hook)
14131 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14132 (diary-nongregorian-marking-hook, diary-list-entries)
14133 (diary-include-other-diary-files, diary-mark-entries)
14134 (diary-mark-included-diary-files): Doc fixes.
14135
84f29e6b
JB
141362011-05-09 Juanma Barranquero <lekktu@gmail.com>
14137
14138 * misc.el: Require tabulated-list.el during compilation.
14139
9bedd73a
CY
141402011-05-09 Chong Yidong <cyd@stupidchicken.com>
14141
488086f4
SM
14142 * progmodes/compile.el (compilation-start):
14143 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14144 (compilation-filter-hook): Doc fix.
14145
797c735c
DD
141462011-05-09 Deniz Dogan <deniz@dogan.se>
14147
14148 * wdired.el: Remove outdated installation comment. Fix usage
14149 comment.
14150
5f4b1dfe
JB
141512011-05-09 Juanma Barranquero <lekktu@gmail.com>
14152
14153 * misc.el: Implement new command `list-dynamic-libraries'.
14154 (list-dynamic-libraries--loaded-only-p): New variable.
14155 (list-dynamic-libraries--refresh): New function.
14156 (list-dynamic-libraries): New command.
14157
4c44026c
CY
141582011-05-09 Chong Yidong <cyd@stupidchicken.com>
14159
488086f4
SM
14160 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14161 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14162 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14163 higher priority to avoid clobbering by gnu.
14164
027f966d
CY
141652011-05-08 Chong Yidong <cyd@stupidchicken.com>
14166
14167 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14168 if the face has existing theme settings (Bug#8454).
14169
085f5d7d
CY
141702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14171
488086f4
SM
14172 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14173 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14174
2a86a00c
RS
14175 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14176 special file names `.' and `..' (Bug#8259).
14177
d9c54a06
CY
141782011-05-08 Chong Yidong <cyd@stupidchicken.com>
14179
488086f4
SM
14180 * progmodes/grep.el (grep-mode-font-lock-keywords):
14181 Remove buffer-changing entries.
d9c54a06
CY
14182 (grep-filter): New function.
14183 (grep-mode): Add it to compilation-filter-hook.
14184
14185 * progmodes/compile.el (compilation-filter-hook)
14186 (compilation-filter-start): New defvars.
14187 (compilation-filter): Call compilation-filter-hook prior to
14188 updating the process mark.
14189
c4662635
SM
141902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14193
b0512a1d
EZ
141942011-05-07 Eli Zaretskii <eliz@gnu.org>
14195
605c9376
EZ
14196 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14197 mailclient-send-it even if window-system is nil. (Bug#8595)
14198
c4662635
SM
14199 * term/w32console.el (terminal-init-w32console):
14200 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14201 background-mode. (Bug#8597)
14202
d1dc2cc2
SM
142032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14206 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14207 New functions.
14208 (defgeneric, eieio--defmethod): Use them.
14209 (eieio-defgeneric): Remove.
14210 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14211
915d1300
GM
142122011-05-07 Glenn Morris <rgm@gnu.org>
14213
a3961c3e
GM
14214 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14215 Use let rather than let*.
14216 (timeclock-find-discrep): Remove unused local.
14217
314347b9
GM
14218 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14219
915d1300
GM
14220 * calendar/appt.el (appt-time-msg-list): Doc fix.
14221
275b59b0
NF
142222011-05-06 Noah Friedman <friedman@splode.com>
14223
14224 * apropos.el (apropos-print-doc): Only use
14225 emacs-lisp-docstring-fill-column when it is bound to an integer,
14226 per that variable's documentation.
14227
6c19f744
SM
142282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14231 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14232
60f884b2
GM
142332011-05-06 Glenn Morris <rgm@gnu.org>
14234
5006e634
GM
14235 * calendar/appt.el (appt-message-warning-time): Doc fix.
14236 (appt-warning-time-regexp): New option.
14237 (appt-make-list): Respect appt-message-warning-time.
14238
548d0a63
GM
14239 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14240 New options.
14241 (diary-add-to-list): Strip comments from the displayed string.
14242 (diary-mode): Set comment-start and comment-end.
14243
60f884b2
GM
14244 * vc/diff-mode.el (smerge-refine-subst): Declare.
14245 (diff-refine-hunk): Don't require smerge-mode when compiling.
14246
989681bb
JB
142472011-05-06 Juanma Barranquero <lekktu@gmail.com>
14248
14249 * simple.el (list-processes): Return nil as the docstring says.
14250
a6bc05e1
MA
142512011-05-05 Michael Albinus <michael.albinus@gmx.de>
14252
14253 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14254 to "".
14255 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14256 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14257 determining of binary transfer. (Bug#7383)
14258
23c22e9a
MA
142592011-05-05 Michael Albinus <michael.albinus@gmx.de>
14260
c4662635
SM
14261 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14262 Fix port computation bug. (Bug#8618)
23c22e9a 14263
0bff894f
GM
142642011-05-05 Glenn Morris <rgm@gnu.org>
14265
b8296902
GM
14266 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14267
1f522ce8
GM
14268 * simple.el (shell-dynamic-complete-functions)
14269 (comint-dynamic-complete-functions): Declare.
14270
cf5bee67
GM
14271 * net/network-stream.el (gnutls-negotiate):
14272 * simple.el (tabulated-list-print): Fix declarations.
14273
14274 * progmodes/gud.el (syntax-symbol, syntax-point):
14275 Remove unnecessary and incorrect declarations.
14276
0bff894f
GM
14277 * emacs-lisp/check-declare.el (check-declare-scan):
14278 Handle byte-compile-initial-macro-environment in bytecomp.el
14279
9869b3ae
SM
142802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 Fix earlier half-done eieio-defmethod change (bug#8338).
14283 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14284 Streamline and change calling convention.
14285 (defmethod): Adjust accordingly and simplify.
14286 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14287 new eieio--defmethod.
14288 (slot-boundp): Minor CSE simplification.
14289
9c1d5ac5
MZ
142902011-05-05 Milan Zamazal <pdm@zamazal.org>
14291
14292 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14293 (glasses-make-readable): Use glasses-separate-capital-groups.
14294
455c834e
JB
142952011-05-05 Juanma Barranquero <lekktu@gmail.com>
14296
14297 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14298 (warning-series): Doc fix.
14299 (display-warning): Don't try to create the buffer if we just found it.
14300
9ed7c8cb
CY
143012011-05-04 Chong Yidong <cyd@stupidchicken.com>
14302
14303 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14304 (autoload-find-generated-file): New function.
14305 (generate-file-autoloads): Bind generated-autoload-file to
14306 buffer-file-name.
9869b3ae
SM
14307 (update-file-autoloads, update-directory-autoloads):
14308 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14309 output file (Bug#7989).
14310 (batch-update-autoloads): Doc fix.
14311
0898ca10
JB
143122011-05-04 Juanma Barranquero <lekktu@gmail.com>
14313
14314 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14315
31dfb76c
GM
143162011-05-04 Glenn Morris <rgm@gnu.org>
14317
f330b642
GM
14318 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14319 function, so it follows changes in calendar-date-style.
14320 (diary-fancy-date-matcher): New function.
14321 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14322 (diary-fancy-font-lock-fontify-region-function):
14323 Use diary-fancy-date-pattern as a function.
14324
31dfb76c
GM
14325 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14326 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14327
48e79d6a
TZ
143282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14329
14330 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14331 instead of positional arguments. Allow :keylist and :crlfiles
14332 arguments.
14333 (open-gnutls-stream): Call it.
14334
14335 * net/network-stream.el (network-stream-open-starttls): Adjust to
14336 call `gnutls-negotiate' with :process and :hostname arguments.
14337
dd5a5ee0
SM
143382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14339
ef80fc09
SM
14340 * minibuffer.el (completion--message): New function.
14341 (completion--do-completion, minibuffer-complete)
14342 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14343 (completion--do-completion): Don't ignore completion-auto-help when in
14344 icomplete-mode.
14345
dd5a5ee0
SM
14346 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14347 internal encoding (e.g. tibetan zero is not whitespace).
14348 (global-whitespace-mode): Prefer save-current-buffer.
14349 (whitespace-trailing-regexp): Remove useless save-match-data.
14350 (whitespace-empty-at-bob-regexp): Minor simplification.
14351
b7d22a83
CY
143522011-05-03 Chong Yidong <cyd@stupidchicken.com>
14353
14354 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14355
5192af46
AM
143562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14357
14358 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14359 Use `concat' to create string for insertion.
5192af46 14360
5767d190
SM
143612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14364 Avoid open-line which runs post-self-insert-hook.
14365 (bibtex-fill-entry): Remove unused `end' var.
14366
bf242939
AM
143672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14368
5767d190
SM
14369 * textmodes/ispell.el (ispell-add-per-file-word-list):
14370 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14371
25666126
LL
143722011-05-03 Leo Liu <sdl.web@gmail.com>
14373
14374 * isearch.el (isearch-yank-pop): New command.
5767d190 14375 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14376 (isearch-forward): Mention it.
14377
52d3c2d0
SM
143782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14379
1bcace58
SM
14380 * simple.el (minibuffer-complete-shell-command): Remove.
14381 (minibuffer-local-shell-command-map): Use completion-at-point.
14382 (read-shell-command): Setup completion vars here instead.
14383 (read-expression-map): Bind TAB to symbol completion.
14384
52d3c2d0
SM
14385 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14386 error directly rather via storing it into `results'.
14387
35813471
LL
143882011-05-02 Leo Liu <sdl.web@gmail.com>
14389
14390 * vc/diff.el: Fix description.
14391
e793a940
LMI
143922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14393
14394 * server.el (server-eval-at): New function.
14395
8de66e05
LMI
143962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14397
14398 * net/network-stream.el (open-network-stream): Take a :nowait
14399 parameter and pass it on to `make-network-process'.
14400 (network-stream-open-plain): Ditto.
14401
dcb79f20
AS
144022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14403
14404 * faces.el (face-spec-set-match-display): Don't match toolkit
14405 options on terminal frames.
14406
14a7fbd8
SM
144072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14408
7eabc1be
SM
14409 * progmodes/pascal.el: Use lexical binding.
14410 (pascal-mode-map): Remove author preferences.
14411
14a7fbd8
SM
14412 * pcomplete.el (pcomplete-std-complete): Don't abuse
14413 completion-at-point.
14414
50f84510
JB
144152011-04-28 Juanma Barranquero <lekktu@gmail.com>
14416
6e087a44
JB
14417 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14418 removing code that has been dead since 1991 or so.
14419
50f84510
JB
14420 * startup.el (command-line): When warning about "_emacs", use a
14421 delayed warning to allow the user to filter it out.
14422
0ba690bd
DD
144232011-04-28 Deniz Dogan <deniz@dogan.se>
14424
14425 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14426 user has not joined.
14427
08abfaad
SM
144282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14431 aren't any completions at point.
14432
638f053a
JB
144332011-04-28 Juanma Barranquero <lekktu@gmail.com>
14434
14435 * subr.el (display-delayed-warnings): New function.
14436 (delayed-warnings-hook): New variable.
14437
8fff8daa
SM
144382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14439
08abfaad
SM
14440 * minibuffer.el (completion-at-point, completion-help-at-point):
14441 Don't presume that a given completion-at-point-function will always
14442 use the same calling convention.
14443
8fff8daa
SM
14444 * pcomplete.el (pcomplete-completions-at-point):
14445 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14446 pcomplete-seen is non-nil.
14447 (pcomplete-comint-setup): Also recognize the new comint/shell
14448 completion functions.
14449 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14450 pcomplete-seen is non-nil.
14451
841a1577 144522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14453
841a1577 14454 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14455 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14456 the first character in the entry. This allows for code to add its
211ec907
UJ
14457 own uid to the entry.
14458 (icalendar--convert-float-to-ical): Add export of
14459 `diary-float'-entries save for those with the optional DAY
14460 argument.
14461
2a782793
DC
144622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14463
14464 * subr.el (shell-quote-argument): Use alternate escaping strategy
14465 when we spot a variable reference in a string.
14466
0438ce91
DC
144672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14468
14469 * cus-start.el (all): Define customization for debug-on-event.
14470
841a1577 144712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14472
14473 * subr.el (shell-quote-argument): Escape correctly under Windows.
14474
d090ed6c
SM
144752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14478
bfd31217
MA
144792011-04-25 Michael Albinus <michael.albinus@gmx.de>
14480
d090ed6c
SM
14481 * net/tramp.el (tramp-process-actions): Add POS argument.
14482 Delete region between POS and (pos).
bfd31217 14483
d090ed6c
SM
14484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14485 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14486 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14487
14488 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14489 position in `tramp-process-actions' call.
14490
14491 * net/trampver.el: Update release number.
14492
e92f3bd3
SM
144932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14494
850256b5
SM
14495 * custom.el (defcustom): Obey lexical-binding.
14496
e92f3bd3
SM
14497 Fix octave-inf completion problems reported by Alexander Klimov.
14498 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14499 Inherit from octave-mode-syntax-table.
14500 (inferior-octave-mode): Set info-lookup-mode.
14501 (inferior-octave-completion-at-point): New function.
14502 (inferior-octave-complete): Use it and completion-in-region.
14503 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14504 comint-filename-completion.
14505 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14506 symbol elements which shouldn't be word elements.
14507 (octave-font-lock-keywords, octave-beginning-of-defun)
14508 (octave-function-header-regexp): Adjust regexps accordingly.
14509 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14510
cd22b309
JB
145112011-04-25 Juanma Barranquero <lekktu@gmail.com>
14512
14513 * net/gnutls.el (gnutls-errorp): Declare before first use.
14514
8b492194
TZ
145152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14516
14517 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14518 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14519 default trustfile exists before going to use it. Add missing
5a5fa834 14520 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14521 Reported by Claudio Bley <claudio.bley@gmail.com>.
14522 (open-gnutls-stream): Add usage example.
14523
14524 * net/network-stream.el (network-stream-open-starttls): Give host
14525 parameter to `gnutls-negotiate'.
14526 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14527 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14528
841a1577 145292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14530
cd22b309
JB
14531 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14532 Use correct match group (bug#8438).
05842630 14533
3ba7869c
CY
145342011-04-24 Chong Yidong <cyd@stupidchicken.com>
14535
512e3ae1
CY
14536 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14537 (package-menu--generate): New arg specifying packages to show.
14538 (package-menu-refresh, package-menu-execute, list-packages):
14539 Callers changed.
14540 (package-show-package-list): New function, replacing deleted
14541 package--list-packages (renamed because it is non-internal).
14542
14543 * finder.el (finder-list-matches): Use package-show-package-list
14544 instead of deleted package--list-packages.
14545
e92f3bd3
SM
14546 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14547 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14548 (vc-annotate-mode-map): Bind it to RET.
14549
7031be6d
UR
145502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14551
14552 * progmodes/etags.el (next-file): Don't use set-buffer to change
14553 buffers (Bug#8478).
14554
4ef177aa
CY
145552011-04-24 Chong Yidong <cyd@stupidchicken.com>
14556
c8d173eb
CY
14557 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14558
4ef177aa
CY
14559 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14560 (apropos-accumulator): Doc fix.
14561 (apropos-function, apropos-macro, apropos-command)
14562 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14563 (apropos-plist): Add face property.
14564 (apropos-symbols-internal): Fix indentation.
14565 (apropos-print): Simplify help, and recognize apropos-multi-type.
14566 (apropos-print-doc): Use button-type-get to extract the button's
14567 face property. Fill docstring (Bug#8352).
14568
4ffd0d6b 145692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14570
14571 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14572
c6c32125 14573 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14574 (mpuz-mode-map): Use mapc.
c6c32125
JB
14575 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14576 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14577 Fix typos in docstrings.
14578
58d468b4
JB
14579 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14580 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14581
6470c3c6
JB
14582 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14583
4ffd0d6b 145842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14585
14586 * minibuffer.el (completion--do-completion): Avoid the "Next char
14587 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14588
3ad8bad0
CY
14589 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14590 mouse-2 into unread-command-events, it is interpreted correctly.
14591
71d73c9c 14592 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14593 (image-toggle-display): Doc fix.
71d73c9c 14594
841a1577 145952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14596
4ffd0d6b
GM
14597 * textmodes/page.el (what-page): Use line-number-at-pos to
14598 calculate line number (Bug#6825).
6e1dbaa9 14599
c2fb1b60
JB
146002011-04-22 Juanma Barranquero <lekktu@gmail.com>
14601
14602 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14603 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14604 Pass argument NO-DEFAULT to `find-tag-interactive'.
14605
e02f48d7
JB
146062011-04-22 Juanma Barranquero <lekktu@gmail.com>
14607
14608 Lexical-binding cleanup.
14609
14610 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14611 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14612 * progmodes/ada-prj.el (ada-prj-initialize-values)
14613 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14614 (ada-prj-show-value):
14615 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14616 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14617 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14618 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14619 * progmodes/bug-reference.el (bug-reference-push-button):
14620 * progmodes/fortran.el (fortran-line-length):
14621 * progmodes/glasses.el (glasses-change):
14622 * progmodes/octave-mod.el (octave-fill-paragraph):
14623 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14624 (python-pdbtrack-grub-for-buffer, python-sentinel):
14625 * progmodes/sql.el (sql-save-connection):
14626 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14627 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14628 Mark unused parameters.
14629
14630 * progmodes/compile.el (compilation--flush-directory-cache)
14631 (compilation--flush-parse, compile-internal): Mark unused parameters.
14632 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14633 (compilation-next-error-function): Remove unused variable `timestamp'.
14634
14635 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14636 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14637
14638 * progmodes/dcl-mode.el (dcl-end-of-command):
14639 Remove unused variable `start'.
14640 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14641 (dcl-option-value-basic, dcl-option-value-offset)
14642 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14643 Mark unused parameters.
14644 (dcl-save-local-variable): Remove unused variable `val'.
14645 (mode): Declare.
14646
14647 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14648 Mark unused parameters.
14649 (delphi-ignore-changes): Move before first use.
14650 (delphi-charset-token-at): Remove unused variable `start'.
14651 (delphi-else-start): Remove unused variable `if-count'.
14652 (delphi-comment-block-start, delphi-comment-block-end):
14653 Remove unused variable `kind'.
14654 (delphi-indent-line): Remove unused variable `new-point'.
14655
14656 * progmodes/ebrowse.el (ebrowse-files-list)
14657 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14658 Mark unused parameters. Don't quote `lambda'.
14659 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14660 Don't quote `lambda'.
14661 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14662 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14663 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14664 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14665 Use `ignore-errors'.
14666 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14667 (ebrowse-view/find-file-and-search-pattern)
14668 (ebrowse-view/find-member-declaration/definition):
14669 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14670 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14671 Rename parameter PREFIX-ARG to PREFIX.
14672 (ebrowse-tags-read-name): Remove unused variables `start' and
14673 `member-info'.
14674 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14675 to `tags-file'.
14676
14677 * progmodes/etags.el (local-find-tag-hook): Declare.
14678 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14679 Mark unused parameters.
14680
14681 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14682 (executable-interpret): Mark unused parameter.
14683
14684 * progmodes/flymake.el (flymake-process-sentinel)
14685 (flymake-after-change-function)
14686 (flymake-create-temp-with-folder-structure)
14687 (flymake-get-include-dirs-dot): Mark unused parameters.
14688 (flymake-safe-delete-directory): Remove unused variable `err'.
14689
14690 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14691 (speedbar-timer-fn, speedbar-line-text)
14692 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14693 (speedbar-center-buffer-smartly): Declare functions.
14694 (gdb-find-watch-expression): Remove unused variable `array'.
14695 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14696 (gdb-starting): Mark unused parameters.
14697 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14698 (gdb-table-string): Remove unused variable `res'.
14699 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14700 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14701 (gdb-display-buffer): Remove unused variable `cur-size'.
14702
14703 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14704 allow lexical-binding compilation.
14705 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14706 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14707 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14708 Mark unused parameters.
14709 (gud-gdb-marker-filter): Remove unused variable `match'.
14710 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14711 lambda expressions and funcall them, instead of using `fset'.
14712
14713 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14714 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14715
14716 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14717 variable `header-beg'; use `let'.
14718
14719 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14720 `restart', `last-sexp' and `at-do'.
14721
14722 * progmodes/js.el (js--debug): Mark unused parameter.
14723 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14724 (js--splice-into-items): Remove unused variable `item'.
14725 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14726
14727 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14728 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14729 (makefile-complete): Remove unused variable `try'.
14730 (makefile-fill-paragraph, makefile-match-function-end):
14731 Mark unused parameters.
14732
14733 * progmodes/octave-inf.el (inferior-octave-complete):
14734 Remove unused variable `proc'.
14735 (inferior-octave-output-digest): Mark unused parameter.
14736
14737 * progmodes/perl-mode.el (perl-calculate-indent):
14738 Remove unused variable `err'.
14739
14740 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14741 (prolog-indent-line): Mark unused parameters.
14742 (prolog-indent-line): Remove unused variable `beg'.
14743
14744 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14745 (reporter-dont-compact-list): Declare.
14746
14747 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14748 Remove unused variable `char'.
14749 (sh-debug): Mark unused parameter.
14750 (sh-get-indent-info): Remove unused variable `start'.
14751 (sh-calculate-indent): Remove unused variable `var'.
14752
14753 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14754 (simula-electric-keyword): Remove unused variable `null'.
14755 (simula-search-backward, simula-search-forward): Remove unused
14756 variables `begin' and `end'.
14757
14758 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14759 Remove unused variable `pos'.
14760 (vera-electric-tab, vera-comment-uncomment-region):
14761 Mark unused parameters.
14762 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14763
7ede3b65
CY
147642011-04-22 Chong Yidong <cyd@stupidchicken.com>
14765
14766 * emacs-lisp/package.el (package--builtins, package-alist)
14767 (package-load-descriptor, package-built-in-p, package-activate)
14768 (define-package, package-installed-p)
14769 (package-compute-transaction, package-buffer-info)
14770 (package--push): Doc fix. Distinguish more clearly between
14771 version strings and version lists.
14772
121656e9
JB
147732011-04-21 Juanma Barranquero <lekktu@gmail.com>
14774
14775 Lexical-binding cleanup.
14776
14777 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14778 (5x5-make-mutate-best):
14779 * play/fortune.el (fortune-in-buffer):
14780 * play/gomoku.el (gomoku-init-display):
14781 * play/solitaire.el (solitaire, solitaire-do-check):
14782 * play/tetris.el (tetris-default-update-speed-function):
14783 Mark unused parameters.
14784
14785 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14786 (bubbles--shift): Remove unused variable `char-org'.
14787 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14788 (bubbles--show-images): Remove unused variable `char'.
14789
14790 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14791 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14792 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14793 (decipher-analyze-buffer): Use ?\s.
14794 (decipher-make-checkpoint): Remove unused variable `mapping'.
14795
14796 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14797
14798 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14799 Remove unused variable `result'; use `let'.
14800
14801 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14802 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14803 (gametree-children-shown-p, gametree-compute-reduced-score):
14804 Use `ignore-errors'.
14805
14806 * play/handwrite.el (ps-lpr-switches): Declare.
14807 (handwrite): Remove unused variables `pmin' and `lastp'.
14808
14809 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14810
14811 * play/landmark.el (landmark-init-display)
14812 (landmark-update-naught-weights): Mark unused parameters.
14813 (landmark-y): Remove unused variable `noise'. Simplify.
14814 (landmark-human-plays): Remove unused variable `score'.
14815
14816 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14817 (mpuz-try-proposal): Remove unused variable `game'.
14818
14819 * play/zone.el (life-patterns): Declare.
14820
80f499c7
JB
148212011-04-20 Juanma Barranquero <lekktu@gmail.com>
14822
14823 * vc/vc.el (ediff-vc-internal): Declare function.
14824
024ff170
SM
148252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14826
c0a193ea
SM
14827 * shell.el: Use lexical-binding and std completion UI.
14828 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14829 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14830 comint-preoutput-filter-functions rather than on
14831 comint-output-filter-functions.
14832 (shell-command-completion, shell--command-completion-data)
14833 (shell-filename-completion, shell-environment-variable-completion)
14834 (shell-c-a-p-replace-by-expanded-directory): New functions.
14835 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14836 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14837 (shell-dynamic-complete-environment-variable): Use them.
14838 (shell-dynamic-complete-as-environment-variable)
14839 (shell-dynamic-complete-as-command): Remove.
14840 (shell-match-partial-variable): Match past point.
14841 * comint.el: Clean up use of completion-at-point-functions.
14842 (comint-completion-at-point): New function.
14843 (comint-mode): Use it completion-at-point-functions.
14844 (comint-dynamic-complete): Make it obsolete.
14845 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14846 (comint-c-a-p-replace-by-expanded-history): New function.
14847 (comint-dynamic-complete-functions)
14848 (comint-replace-by-expanded-history): Use it.
14849 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14850 termination strings. Try harder to avoid second try-completion.
14851 (completion-in-region-mode-map): Disable bindings that don't work yet.
14852
2dbaa080
SM
14853 * comint.el: Use lexical-binding. Require CL.
14854 (comint-dynamic-complete-functions): Use comint-filename-completion.
14855 (comint-completion-addsuffix): Tweak custom type.
14856 (comint-filename-completion, comint--common-suffix)
14857 (comint--common-quoted-suffix, comint--table-subvert)
14858 (comint--complete-file-name-data): New functions.
14859 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14860 (comint-dynamic-list-filename-completions): Use them.
14861 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14862
2dbaa080
SM
14863 * minibuffer.el (completion-in-region-mode):
14864 Keep completion-in-region-mode--predicate global.
14865 (completion-in-region--postch):
14866 Assume completion-in-region-mode--predicate is not null.
14867
c79a6f38
SM
14868 * progmodes/flymake.el (flymake-start-syntax-check-process):
14869 Obey `dir'. Simplify.
14870
024ff170
SM
14871 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14872 we're in VC after all.
14873
1c6c854e
CS
148742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14875
14876 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14877 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14878 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14879
bed7f140
SM
148802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14881
332e62ab
SM
14882 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14883 add sanity check.
14884
bed7f140
SM
14885 * obsolete/erc-hecomplete.el: Make obsolete.
14886 * obsolete/: Standardize obsolescence info in the header.
14887
f195c582
GM
148882011-04-20 Glenn Morris <rgm@gnu.org>
14889
14890 * calendar/solar.el (solar-horizontal-coordinates):
14891 Use the longitude argument rather than `calendar-longitude'.
14892 (solar-date-next-longitude): Remove unused locals.
14893
cb79b8c0
VJL
148942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14895
14896 * whitespace.el: New version 13.2.1.
14897
148982011-04-20 felix <EmacsWiki> (tiny change)
14899
d8e4b68b 14900 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14901 switching between major modes on a file.
14902
602ea69d
SM
149032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14906 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14907 multi-line comments as well.
14908
06b60517
JB
149092011-04-19 Juanma Barranquero <lekktu@gmail.com>
14910
14911 Lexical-binding cleanup.
14912
14913 * arc-mode.el (archive-mode-revert):
14914 * cmuscheme.el (scheme-interactively-start-process):
14915 * custom.el (custom-initialize-delay):
14916 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14917 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14918 * emacs-lock.el (emacs-lock-clear-sentinel):
14919 * ezimage.el (defezimage):
14920 * follow.el (follow-avoid-tail-recenter):
14921 * fringe.el (set-fringe-mode-1):
14922 * generic-x.el (bat-generic-mode-compile):
14923 * help-mode.el (help-info-variable, help-do-xref)
14924 (help-mode-revert-buffer):
14925 * help.el (view-emacs-todo):
14926 * iswitchb.el (iswitchb-completion-help):
14927 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14928 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14929 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14930 * locate.el (locate-update):
14931 * longlines.el (longlines-encode-region)
14932 (longlines-after-change-function):
14933 * outline.el (outline-isearch-open-invisible):
14934 * ps-def.el (declare-function, charset-dimension, char-width)
14935 (encode-char):
14936 * ps-mule.el (ps-mule-plot-string):
14937 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14938 (recentf-edit-list-select, recentf-edit-list-validate)
14939 (recentf-open-files-action):
14940 * rect.el (delete-whitespace-rectangle-line)
14941 (rectangle-number-line-callback):
14942 * register.el (window-configuration-to-register)
14943 (frame-configuration-to-register):
14944 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14945 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14946 (xselect-convert-to-targets, xselect-convert-to-delete)
14947 (xselect-convert-to-filename, xselect-convert-to-charpos)
14948 (xselect-convert-to-lineno, xselect-convert-to-colno)
14949 (xselect-convert-to-os, xselect-convert-to-host)
14950 (xselect-convert-to-user, xselect-convert-to-class)
14951 (xselect-convert-to-name, xselect-convert-to-integer)
14952 (xselect-convert-to-atom, xselect-convert-to-identity):
14953 * subr.el (declare, ignore, process-kill-without-query)
14954 (text-clone-maintain):
14955 * terminal.el (te-get-char, te-tic-sentinel):
14956 * tool-bar.el (tool-bar-make-keymap):
14957 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14958 * type-break.el (type-break-mode, type-break-noninteractive-query):
14959 * view.el (View-back-to-mark):
14960 * wid-browse.el (widget-browse-action, widget-browse-widget)
14961 (widget-browse-widgets, widget-browse-sexp):
14962 * widget.el (define-widget-keywords):
14963 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14964 Mark unused parameters.
14965
14966 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14967 (align-areas): Remove unused variable `look'.
14968 (align-region): Remove unused variables `real-end' and `pos-list'.
14969
14970 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14971
14972 * bindings.el (mode-line-modified, mode-line-remote):
14973 Mark unused parameters.
14974 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14975
14976 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14977 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14978
14979 * comint.el (comint-history-isearch-pop-state)
14980 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14981 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14982 (comint-substitute-in-file-name): Doc fix.
14983
14984 * completion.el (cmpl-statistics-block): Mark unused parameter.
14985 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14986 (save-completions-to-file, load-completions-from-file):
14987 Remove unused local variable `e'.
14988
14989 * composite.el (compose-chars): Remove unused variable `len'.
14990 (lgstring-insert-glyph): Remove unused variable `g'.
14991 (compose-glyph-string): Remove unused variables `ascent',
14992 `descent', `lbearing' and `rbearing'.
14993 (compose-glyph-string-relative): Remove unused variables
14994 `lbearing', `rbearing' and `wadjust'.
14995 (compose-gstring-for-graphic): Remove unused variables `header',
14996 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14997 (compose-gstring-for-terminal): Remove unused variables `header'
14998 and `nchars'. Use `let', not `let*'.
14999
15000 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15001 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15002 (Custom-buffer-done, custom-buffer-create-internal)
15003 (custom-browse-visibility-action, custom-browse-group-tag-action)
15004 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15005 (widget-magic-mouse-down-action, custom-toggle-parent)
15006 (custom-add-parent-links, custom-toggle-hide-variable)
15007 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15008 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15009 (custom-face-menu-create, custom-variable-menu-create, get)
15010 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15011 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15012 (customize-apropos): Remove unused variable `tests'.
15013 (custom-group-value-create): Remove unused variable `hidden-p'.
15014 (sort-fold-case): Declare.
15015
15016 * cus-theme.el (custom-reset-standard-faces-list)
15017 (custom-reset-standard-variables-list): Declare.
15018 (customize-create-theme, custom-theme-revert, custom-theme-write)
15019 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15020 Mark unused parameters.
15021
15022 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15023
15024 * delim-col.el (delimit-columns-max): Move defvar before first use.
15025
15026 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15027 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15028
15029 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15030 (auto-insert): Declare.
15031 (desktop-restore-file-buffer): Rename desktop-* parameters;
15032 mark unused ones.
15033 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15034 (desktop-buffer): Rename desktop-* parameters.
15035
15036 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15037 (dframe-reposition-frame-xemacs, dframe-help-echo)
15038 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15039 Mark unused parameters.
15040
15041 * dired-aux.el (backup-extract-version-start, overwrite-query)
15042 (overwrite-backup-query, rename-regexp-query)
15043 (rename-non-directory-query): Declare.
15044 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15045 (dired-add-entry): Remove unused variable `orig-file-name'.
15046 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15047 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15048 `dired-copy-preserve-time' directly.
15049 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15050 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15051
15052 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15053 (dired-virtual-revert, dired-make-relative-symlink):
15054 Mark unused parameters.
15055 (manual-program): Declare.
15056 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15057 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15058 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15059
15060 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15061
15062 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15063
15064 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15065 Declare.
15066
15067 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15068
15069 * electric.el (Electric-command-loop): Rename parameter
15070 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15071
15072 * expand.el (expand-in-literal): Remove unused variable `here'.
15073
15074 * facemenu.el (facemenu-add-new-color):
15075 Remove unused variable `docstring'.
15076
15077 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15078 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15079 (face-attr-construct): Mark unused parameter. Doc fix.
15080 (read-color): Remove unused variable `hex-string'.
15081
15082 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15083 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15084 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15085 (display-buffer-other-frame): Remove unused variable `old-window'.
15086 (kill-buffer-hook): Declare.
15087 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15088 Mark unused parameters.
15089 (after-find-file): Pass 1 to `auto-save-mode', not t.
15090
15091 * files-x.el (auto-insert): Declare.
15092 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15093
15094 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15095 variable `buf'. Mark unused parameter.
06b60517
JB
15096 (find-lisp-insert-directory): Mark unused parameter.
15097
15098 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15099 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15100 (format-common-tail): Remove, unused.
15101 (format-deannotate-region): Remove unused variable `loc'.
15102 (format-annotate-region): Remove unused variable `p'.
15103 (format-annotate-single-property-change): Remove unused variables
15104 `default' and `tail'.
15105
15106 * forms.el (read-file-filter): Declare.
15107 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15108
15109 * frame.el (frame-creation-function-alist): Mark unused parameter.
15110 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15111
15112 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15113 Remove unused parameters.
15114 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15115 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15116
15117 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15118 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15119 (hfy-prepare-tag-map): Mark unused parameters.
15120 (htmlfontify-buffer): Use `called-interactively-p'.
15121
15122 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15123 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15124 (ibuffer-do-occur): Mark unused parameters.
15125 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15126 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15127
15128 * ibuffer.el: Don't quote `lambda'.
15129 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15130 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15131 Mark unused parameters.
15132
15133 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15134 (ido-completing-read): Mark unused parameters.
15135 (ido-copy-current-word): Mark unused parameters;
15136 remove unused variable `name'.
15137 (ido-sort-merged-list): Remove unused parameter `dirs'.
15138
15139 * ielm.el (ielm-input-sender): Mark unused parameter.
15140 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15141 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15142 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15143 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15144 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15145
15146 * image-dired.el (image-dired-display-thumbs): Remove unused
15147 variables `curr-file' and `count'.
15148 (image-dired-remove-tag): Remove unused variable `start'.
15149 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15150 variable `curr-file'
15151 (image-dired-rotate-original): Remove unused variable `temp-file'.
15152 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15153 Remove unused variable `file'.
15154 (image-dired-gallery-generate): Remove unused variable `curr'.
15155 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15156
15157 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15158
15159 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15160
15161 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15162
15163 * isearch.el (minibuffer-history-symbol): Declare.
15164 (isearch-edit-string): Remove unused variable `err'.
15165 (isearch-message-prefix, isearch-message-suffix):
15166 Mark unused parameters.
15167
15168 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15169
15170 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15171
15172 * makesum.el (double-column): Remove unused variable `cnt'.
15173
15174 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15175 (ido-ignore-item-temp-list): Declare.
15176
15177 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15178 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15179 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15180 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15181 `mouse-col-delta'.
15182
15183 * mouse-sel.el (mouse-extend-internal):
15184 Remove unused variable `orig-window-frame'.
15185
15186 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15187 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15188 Move declarations before first use.
15189 (pcomplete-opt): Mark unused parameters; doc fix.
15190
15191 * proced.el (proced-revert): Mark unused parameter.
15192 (proced-send-signal): Remove unused variable `err'.
15193
15194 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15195 Rename parameter PREFIX-ARG to ARG.
15196 (ps-basic-plot-string, ps-basic-plot-whitespace):
15197 Mark unused parameters.
15198
15199 * replace.el (replace-count): Define.
15200 (occur-revert-function): Mark unused parameters.
15201 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15202 (isearch-case-fold-search, isearch-string): Declare.
15203 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15204 bind `case-fold-search'. Remove unused variables `beg' and `end',
15205 and simplify.
15206 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15207 COUNT and bind `replace-count'.
15208 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15209 to COUNT.
15210
15211 * savehist.el (print-readably, print-string-length): Declare.
15212
15213 * shadowfile.el (shadow-expand-cluster-in-file-name):
15214 Remove unused variable `cluster'.
15215 (shadow-copy-file): Remove unused variable `i'.
15216 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15217 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15218 (shadow-define-literal-group, shadow-define-regexp-group)
15219 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15220
15221 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15222 (shell): Use `called-interactively-p'.
15223 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15224
15225 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15226 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15227 (delete-backward-char): Remove unused variable `ocol'.
15228 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15229 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15230 (event-apply-hyper-modifier, event-apply-shift-modifier)
15231 (event-apply-control-modifier, event-apply-meta-modifier):
15232 Mark unused parameters.
15233 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15234 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15235
15236 * speedbar.el (speedbar-ignored-directory-expressions)
15237 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15238 (speedbar-find-file, speedbar-dir-follow)
15239 (speedbar-directory-buttons-follow, speedbar-tag-find)
15240 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15241 (speedbar-buffers-line-directory, speedbar-buffer-click):
15242 Mark unused parameters.
15243 (speedbar-tag-file): Remove unused variable `mode'.
15244 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15245
15246 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15247
15248 * talk.el (talk): Remove unused variable `display'.
15249
15250 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15251 (tar-write-region-annotate): Mark unused parameter.
15252
15253 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15254 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15255 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15256 warning by another.
15257
15258 * time-stamp.el (time-stamp-string-preprocess):
15259 Remove unused variable `require-padding'.
15260
15261 * tree-widget.el (widget-glyph-enable): Declare.
15262 (tree-widget-action): Mark unused parameter.
15263
15264 * w32-fns.el (x-get-selection): Mark unused parameter.
15265 (autoload-make-program, generated-autoload-file): Declare.
15266
15267 * wdired.el (wdired-revert): Mark unused parameters.
15268 (wdired-xcase-word): Remove unused variable `err'.
15269
15270 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15271 (whitespace-help-scroll): Remove unused variable `data-help'.
15272
15273 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15274 (widget-image-insert, widget-after-change, default)
15275 (widget-default-format-handler, widget-default-notify)
15276 (widget-default-prompt-value, widget-info-link-action)
15277 (widget-url-link-action, widget-function-link-action)
15278 (widget-variable-link-action, widget-file-link-action)
15279 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15280 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15281 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15282 (widget-insert-button-action, widget-delete-button-action, visibility)
15283 (widget-documentation-link-action, widget-documentation-string-action)
15284 (widget-const-prompt-value, widget-regexp-match, symbol)
15285 (widget-coding-system-prompt-value)
15286 (widget-key-sequence-value-to-external, sexp)
15287 (widget-sexp-value-to-internal, character, vector, cons)
15288 (widget-choice-prompt-value, widget-boolean-prompt-value)
15289 (widget-color--choose-action): Mark unused parameters.
15290 (widget-item-match-inline, widget-choice-match-inline)
15291 (widget-checklist-match, widget-checklist-match-inline)
15292 (widget-group-match): Rename parameter VALUES to VALS.
15293 (widget-field-value-set): Remove unused variable `size'.
15294 (widget-color-action): Remove unused variables `value' and `start'.
15295
15296 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15297 variable `dir'. Doc fix.
06b60517
JB
15298 (windmove-find-other-window): Don't pass it.
15299
15300 * window.el (count-windows): Mark unused parameter.
15301 (bw-adjust-window): Remove unused variable `err'.
15302
15303 * woman.el (woman-file-name): Remove unused variable `default'.
15304 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15305 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15306 (global-font-lock-mode): Declare.
15307 (woman-decode-region): Mark unused parameter.
15308 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15309
15310 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15311 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15312 (x-dnd-handle-moz-url): Remove unused variable `title'.
15313 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15314
15315 * xml.el (xml-parse-tag, xml-parse-attlist):
15316 Remove unused variable `pos'.
15317
bc4f7f3d
GM
153182011-04-19 Glenn Morris <rgm@gnu.org>
15319
15320 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15321 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15322 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15323 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15324 * calendar/cal-html.el (cal-html-insert-minical):
15325 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15326 (calendar-mark-date-pattern):
15327 Prefix "unused" locals.
15328
15329 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15330 optional argument `style'.
15331
15332 * calendar/appt.el (appt-make-list):
15333 * calendar/cal-china.el (calendar-chinese-date-string):
15334 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15335 (diary-hebrew-yahrzeit):
15336 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15337 * calendar/calendar.el (calendar-generate-window):
15338 * calendar/time-date.el (time-to-days):
15339 Remove unused local variables.
15340
16a43933
CY
153412011-04-18 Chong Yidong <cyd@stupidchicken.com>
15342
15343 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15344 glyphless-char-display table.
15345 (tabulated-list-glyphless-char-display): New var.
15346
7eed1860
SS
153472011-04-18 Sam Steingold <sds@gnu.org>
15348
15349 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15350 to acknowledgments.
15351
4d2d1ccd
GM
153522011-04-17 Glenn Morris <rgm@gnu.org>
15353
15354 * calendar/diary-lib.el (diary-sexp-entry):
15355 * calendar/holidays.el (holiday-sexp):
15356 Set debug-on-error rather than the removed stack-trace-on-error.
15357
239da61d
GM
153582011-04-16 Glenn Morris <rgm@gnu.org>
15359
15360 * progmodes/f90.el: Use lexical-binding.
15361 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15362
8b05752a
SM
153632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15364
daca8ba5
SM
15365 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15366 (mail-mode): Setup mailalias completion here instead.
15367 * mail/mailalias.el: Use lexical-binding.
15368 (pattern, mailalias-done): Declare dynamic.
15369 (mail-completion-at-point-function): New function, from mail-complete.
15370 (mail-complete): Use it.
15371 (mail-completion-expand): New function.
15372 (mail-get-names): Use it.
15373 (mail-directory, mail-directory-process, mail-directory-stream):
15374 Don't use `pattern' for lexically bound arg.
15375
6f542485
SM
15376 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15377
037e7c3f
SM
15378 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15379 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15380 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15381
8b05752a
SM
15382 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15383 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15384 (byte-interactive-p): Define them again, for use when inlining
15385 old code.
15386
49093f60
JB
153872011-04-15 Juanma Barranquero <lekktu@gmail.com>
15388
15389 * loadup.el: Use `string-to-number', not `string-to-int'.
15390
b5b8e7de
SM
153912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15394 gud-gdb-complete-command.
15395 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15396 (gud-gdb-completion-at-point): New function.
15397 (gud-gdb-completions): Remove.
15398
f42efeb5
MA
153992011-04-14 Michael Albinus <michael.albinus@gmx.de>
15400
49093f60
JB
15401 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15402 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15403 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15404 whether `executable-find' is bound.
f42efeb5
MA
15405
15406 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15407
e240cc21
SM
154082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15409
15410 * minibuffer.el (completion-in-region-mode-predicate)
15411 (completion-in-region-mode--predicate): New vars.
15412 (completion-in-region, completion-in-region--postch)
15413 (completion-in-region-mode): Use them.
15414 (completion--capf-wrapper): Also return the hook function.
15415 (completion-at-point, completion-help-at-point):
15416 Adjust and provide a predicate.
c2bd2ab0
SM
15417
15418 Preserve arg names for advice of subr and lexical functions (bug#8457).
15419 * help-fns.el (help-function-arglist): Consolidate the subr and
15420 new-byte-code cases. Add argument `preserve-names' to extract names
15421 from the docstring when needed.
15422 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15423 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15424 (ad-arglist): Use help-function-arglist's new arg.
15425 (ad-definition-type): Use cond.
15426
c183f693
JB
154272011-04-13 Juanma Barranquero <lekktu@gmail.com>
15428
06641a47
JB
15429 * autorevert.el (auto-revert-handler):
15430 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15431 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15432 Don't quote lambda.
15433
c183f693
JB
15434 * image-mode.el (image-transform-set-scale):
15435 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15436
1e3b6001
G
154372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15438
15439 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15440 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15441 Upgrades via gnutls-cli are too slow to be done opportunistically.
15442
2d6af8dd
JB
154432011-04-12 Juanma Barranquero <lekktu@gmail.com>
15444
15445 * dframe.el (dframe-current-frame): Remove spurious quote.
15446
c0749a51
GM
154472011-04-12 Glenn Morris <rgm@gnu.org>
15448
088d0d61
GM
15449 * calendar/cal-tex.el (cal-tex-end-document):
15450 Try to automatically use latin1 input if needed.
15451
c0749a51
GM
15452 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15453 Don't try to cons a mark onto an empty element.
15454
5c90fde0
LL
154552011-04-11 Leo Liu <sdl.web@gmail.com>
15456
15457 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15458 buffers.
15459 (ido-kill-buffer-at-head): Support killing virtual buffers.
15460
369e974d
CY
154612011-04-10 Chong Yidong <cyd@stupidchicken.com>
15462
15463 * minibuffer.el (completion-show-inline-help): New var.
15464 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15465 (minibuffer-force-complete, minibuffer-complete-word):
15466 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15467
15468 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15469 to avoid interference from inline help (Bug#5849).
15470
37f1c930
LL
154712011-04-10 Leo Liu <sdl.web@gmail.com>
15472
099c39a4
JB
15473 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15474 Fix typo.
37f1c930 15475
a32d4040
CY
154762011-04-09 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * image-mode.el (image-toggle-display-image): Signal an error if
15479 not in Image mode.
15480 (image-transform-mode, image-transform-resize)
15481 (image-transform-set-rotation): Doc fix.
daca8ba5 15482 (image-transform-set-resize): Delete.
a32d4040
CY
15483 (image-transform-set-scale, image-transform-fit-to-height)
15484 (image-transform-fit-to-width): Handle image-toggle-display-image
15485 and image-transform-resize directly.
15486
099c39a4 154872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15488
15489 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15490 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15491 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15492 (doc-view-mode-map): Add bindings for the new functions.
15493
099c39a4 154942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15495
4d61f28d 15496 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15497 Fix typo in docstring.
15498
3726838a
EZ
154992011-04-08 Eli Zaretskii <eliz@gnu.org>
15500
04f33f1e
EZ
15501 * files.el (file-size-human-readable): Produce one digit after
15502 decimal, like "ls -lh" does.
15503
15504 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15505 the file size representation.
15506
3726838a
EZ
15507 * simple.el (list-processes): If async subprocesses are not
15508 available, error out with a clear error message.
15509
cbb59342
CY
155102011-04-08 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * help.el (help-form-show): New function, to be called from C.
15513 Put help-form output in a buffer named differently than *Help*.
15514
e3971c44
EZ
155152011-04-08 Eli Zaretskii <eliz@gnu.org>
15516
15517 * files.el (file-size-human-readable): New function.
15518
15519 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15520 computing the representation inline. Don't require `cl'.
15521
12544bbe
GM
155222011-04-08 Glenn Morris <rgm@gnu.org>
15523
a1de6c6a
GM
15524 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15525
3c4671f4
GM
15526 * net/browse-url.el (browse-url-firefox):
15527 Test system-type, not system-configuration.
15528
b605679c
GM
15529 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15530 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15531 Use log-edit-empty-buffer-p. (Bug#7598)
15532
56442f0c
GM
15533 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15534 (rlogin-mode-map): Initialize in the defvar.
15535 (rlogin): Use ignore-errors.
15536
12544bbe
GM
15537 * replace.el (occur-mode-map): Some fixes for menu items.
15538
eb237b0f
AH
155392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15540
15541 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15542
7d668f2c
CY
155432011-04-06 Chong Yidong <cyd@stupidchicken.com>
15544
e67a13ab
CY
15545 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15546 issuing unused warnings.
15547
15548 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15549 macro directly.
15550
7d668f2c
CY
15551 * simple.el: Lisp reimplement of list-processes. Based on an
15552 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15553 (process-menu-mode): New major mode.
15554 (list-processes--refresh, list-processes):
15555 (process-menu-visit-buffer): New functions.
15556
15557 * files.el (save-buffers-kill-emacs): Don't assume any return
15558 value of list-processes, which is undocumented anyway.
15559
a83ec3c9
CY
155602011-04-06 Chong Yidong <cyd@stupidchicken.com>
15561
15562 * emacs-lisp/tabulated-list.el: New file.
15563
e91a96fe
CY
15564 * emacs-lisp/package.el: Use Tabulated List mode.
15565 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15566 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15567 table format using Tabulated List mode variables.
15568 (package--push): New macro, replacing package-list-maybe-add.
15569 (package-menu--generate): Use package--push. Renamed from
15570 package--generate-package-list.
15571 (package-menu-refresh, list-packages): Use it.
daca8ba5 15572 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15573 Return insertion data instead of inserting it directly.
099c39a4
JB
15574 (package-menu-describe-package, package-menu-execute):
15575 Use tabulated-list-get-id.
e91a96fe
CY
15576 (package-menu-mark-delete, package-menu-mark-install)
15577 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15578 (package-menu-mark-obsolete-for-deletion):
15579 Use tabulated-list-put-tag.
e91a96fe
CY
15580 (package--list-packages, package-menu-revert)
15581 (package-menu-get-package, package-menu-get-version)
15582 (package-menu-sort-by-column): Functions deleted.
15583 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15584 (package-menu--status-predicate, package-menu--version-predicate)
15585 (package-menu--name-predicate)
15586 (package-menu--description-predicate): Handle arguments in the
15587 Tabulated List format.
15588 (package-list-packages-no-fetch): Call list-packages.
15589
3e214b50
JB
155902011-04-06 Juanma Barranquero <lekktu@gmail.com>
15591
15592 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15593 (after-find-file): Don't bind it.
3e214b50
JB
15594 (revert-buffer-in-progress-p): New variable.
15595 (revert-buffer): Bind it.
15596 Pass nil for `after-find-file-from-revert-buffer'.
15597
15598 * saveplace.el (save-place-find-file-hook): Use new variable
15599 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15600
3f0f1700
GM
156012011-04-06 Glenn Morris <rgm@gnu.org>
15602
c0274801
GM
15603 * Makefile.in (AUTOGEN_VCS): New variable.
15604 (autoloads): Use $AUTOGEN_VCS.
15605
3f0f1700
GM
15606 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15607 * calendar/calendar.el (calendar-mode-map):
15608 Check for toolkit scroll bars. (Bug#8305)
15609
41ea9e48
CY
156102011-04-05 Chong Yidong <cyd@stupidchicken.com>
15611
15612 * minibuffer.el (completion-in-region--postch)
15613 (completion-in-region-mode): Remove unnecessary messages.
15614
6194c800
JB
156152011-04-05 Juanma Barranquero <lekktu@gmail.com>
15616
33256f14
JB
15617 * font-lock.el (font-lock-refresh-defaults):
15618 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15619 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15620
6194c800
JB
15621 * info.el (Info-directory-list, Info-read-node-name-2)
15622 (Info-split-parameter-string): Doc fixes.
15623 (Info-virtual-nodes): Reflow docstring.
15624 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15625 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15626 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15627 Fix typos in docstrings.
15628 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15629 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15630 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15631 (Info-restore-desktop-buffer): Mark unused parameters.
15632 (Info-directory-find-file, Info-directory-find-node)
15633 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15634 (Info-virtual-index-find-node, Info-apropos-find-file)
15635 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15636 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15637 (Info-virtual-index): Remove unused local variable `nodename'.
15638
b87a8200 156392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15640
b87a8200
DD
15641 * net/rcirc.el: Update my e-mail address.
15642 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15643
3b2ff876
CY
156442011-04-05 Chong Yidong <cyd@stupidchicken.com>
15645
15646 * startup.el (command-line): Save the cursor's theme-face
15647 directly, instead of using face-override-spec.
15648
15649 * custom.el (load-theme): Minor optimization in assigning faces.
15650
8d17e7ca
JB
156512011-04-04 Juanma Barranquero <lekktu@gmail.com>
15652
15653 * help-fns.el (describe-variable): Complete all variables having
15654 documentation, including keywords.
15655 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15656
2fbc1934
JB
156572011-04-04 Juanma Barranquero <lekktu@gmail.com>
15658
15659 Convert to lexical-binding.
15660
15661 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15662 (bs--get-marked-string, bs--get-modified-string)
15663 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15664 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15665 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15666
15667 * ehelp.el (electric-help-execute-extended)
15668 (electric-help-ctrl-x-prefix):
15669 * hexl.el (hexl-revert-buffer-function):
15670 * linum.el (linum-after-change, linum-after-scroll):
15671 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15672
15673 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15674
74f50695
DU
156752011-04-04 Daiki Ueno <ueno@unixuser.org>
15676
15677 * epa-dired.el:
15678 * epa-mail.el:
15679 * epa-hook.el:
15680 * epa-file.el:
15681 * epa.el:
15682 * epg.el: Use lexical binding.
15683
c11325f7
CY
156842011-04-03 Chong Yidong <cyd@stupidchicken.com>
15685
0d9e9a12
CY
15686 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15687
c11325f7 15688 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15689 dictionary case for flyspell-mark-duplications-exceptions.
15690 Use regexp matching for languages.
c11325f7
CY
15691 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15692 default dictionary (Bug#7926).
15693
da91b5f2
CY
156942011-04-02 Chong Yidong <cyd@stupidchicken.com>
15695
099c39a4
JB
15696 * emacs-lisp/package.el (package--with-work-buffer):
15697 Recognize https URLs.
da91b5f2 15698
099c39a4
JB
15699 * net/network-stream.el: Move from gnus/proto-stream.el.
15700 Change prefix to network-stream throughout.
da91b5f2
CY
15701 (open-protocol-stream): Merge into open-network-stream, leaving
15702 open-protocol-stream as an alias. Handle nil BUFFER args.
15703
15704 * subr.el (open-network-stream): Move to net/network-stream.el.
15705
afa8e9f6
GM
157062011-04-02 Glenn Morris <rgm@gnu.org>
15707
1d2e369d
GM
15708 * find-dired.el (find-exec-terminator): New option.
15709 (find-ls-option): Test for -ls support.
15710 (find-ls-subdir-switches): Test for -b in find-ls-option.
15711 (find-dired, find-grep-dired): Doc fixes.
15712 (find-dired): Use find-exec-terminator.
15713
8abb7da8 15714 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15715 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15716 (find-name-arg): Remove purecopy.
8abb7da8 15717
f3ca7378
GM
15718 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15719 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15720 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15721 accordingly. Don't add the null-device if not needed.
15722
afa8e9f6
GM
15723 * files.el (save-some-buffers): Doc fix.
15724
35eae264
EZ
157252011-04-02 Eli Zaretskii <eliz@gnu.org>
15726
15727 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15728
26b51db5
JB
157292011-04-01 Juanma Barranquero <lekktu@gmail.com>
15730
15731 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15732 Use `dolist' rather than `mapcar'.
15733
7200d79c
SM
157342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15735
03408648 15736 Add lexical binding.
7200d79c 15737
03408648
SM
15738 * subr.el (apply-partially): Use new closures rather than CL.
15739 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15740 (dolist, dotimes): Use slightly different expansion for lexical code.
15741 (functionp): Move to C.
15742 (letrec): New macro.
15743 (with-wrapper-hook): Use it and apply-partially instead of CL.
15744 (eval-after-load): Preserve lexical-binding.
15745 (save-window-excursion, with-output-to-temp-buffer): Turn them
15746 into macros.
7200d79c 15747
03408648
SM
15748 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15749
15750 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15751 than the arglist.
15752 (help-add-fundoc-usage): Don't add `Not documented'.
15753 (help-function-arglist): Handle closures, subroutines, and new
15754 byte-code-functions.
15755 (help-make-usage): Remove leading underscores.
15756 (describe-function-1): Handle closures.
15757 (describe-variable): Use special-variable-p for completion.
15758
15759 * files.el (lexical-binding): Declare safe.
f488fb65 15760
03408648
SM
15761 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15762 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15763 (pcase): Add `let' pattern.
15764 Change memoization so it actually works.
15765 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15766 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15767 <let>: New case.
f488fb65 15768
03408648
SM
15769 * emacs-lisp/macroexp.el: Use lexical binding.
15770 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15771 Don't convert ' to #' without checking that it's indeed quoting
15772 a lambda.
15773
15774 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15775 Use eval-sexp-add-defvars.
03408648
SM
15776 (eval-sexp-add-defvars): New fun.
15777
15778 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15779
15780 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15781 Don't autoload.
15782 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15783 than the internal `byte-compile-lambda'.
15784 (defmethod): Don't hide code under quotes.
15785 (eieio-defmethod): New `code' argument.
15786
15787 * emacs-lisp/eieio-comp.el: Remove.
15788
15789 * emacs-lisp/edebug.el (edebug-eval-defun)
15790 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15791 (edebug-toggle): Avoid `eval'.
15792
15793 * emacs-lisp/disass.el (disassemble-internal): Handle new
15794 `closure' objects.
15795 (disassemble-1): Handle new byte codes.
15796
15797 * emacs-lisp/cl.el (pushnew): Silence warning.
15798
15799 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15800 (cl-byte-compile-throw): Remove.
15801 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15802
15803 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15804 closures.
15805
15806 * emacs-lisp/cconv.el: New file.
15807
15808 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15809 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15810 (byte-compile-initial-macro-environment):
15811 Handle declare-function here.
15812 (byte-compile--lexical-environment): New var.
15813 (byte-stack-ref, byte-stack-set, byte-discardN)
15814 (byte-discardN-preserve-tos): New lap codes.
15815 (byte-interactive-p): Don't use any more.
15816 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15817 New macros.
15818 (byte-compile-lapcode): Use them and handle new lap codes.
15819 (byte-compile-obsolete): Remove.
15820 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15821 (byte-compile-arglist-warn): Check late def of inlinable funs.
15822 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15823 since they should have been expanded by now.
15824 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15825 (byte-compile-from-buffer): Remove unused second arg.
15826 (byte-compile-preprocess): New function.
15827 (byte-compile-toplevel-file-form): New function to distinguish
15828 file-form calls from outside from file-form calls from hunk-handlers.
15829 (byte-compile-file-form): Simplify.
15830 (byte-compile-file-form-defsubst): Remove.
15831 (byte-compile-file-form-defmumble): Simplify now that
15832 byte-compile-lambda always returns a byte-code-function.
15833 (byte-compile): Preprocess.
15834 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15835 Remove, not used any more.
15836 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15837 (byte-compile-make-args-desc): New funs.
15838 (byte-compile-lambda): Handle lexical functions. Always return
15839 a byte-code-function.
15840 (byte-compile-reserved-constants): New var, to make up room for
15841 closed-over variables.
15842 (byte-compile-constants-vector): Obey it.
15843 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15844 (byte-compile-macroexpand-declare-function): New function.
15845 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15846 byte-code-functions.
15847 (byte-compile-form): Check obsolescence here.
15848 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15849 (byte-compile-variable-ref): Remove.
15850 (byte-compile-dynamic-variable-op): New fun.
15851 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15852 (byte-compile-variable-set): New funs.
15853 (byte-compile-discard): Add 2 args.
15854 (byte-compile-stack-ref, byte-compile-stack-set)
15855 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15856 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15857 macroexpand-all instead.
15858 (byte-compile-quote-form): Remove.
15859 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15860 (byte-compile-bind, byte-compile-unbind): New funs.
15861 (byte-compile-let): Handle let* and lexical binding.
15862 (byte-compile-let*): Remove.
15863 (byte-compile-catch, byte-compile-unwind-protect)
15864 (byte-compile-track-mouse, byte-compile-condition-case):
15865 Handle a new :fun-body form, used for lexical scoping.
15866 (byte-compile-save-window-excursion)
15867 (byte-compile-with-output-to-temp-buffer): Remove.
15868 (byte-compile-defun): Simplify.
15869 (byte-compile-stack-adjustment): New fun.
15870 (byte-compile-out): Use it.
15871 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15872
15873 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15874 handler any more.
15875
15876 * emacs-lisp/byte-opt.el: Use lexical binding.
15877 (byte-inline-lapcode): Remove (to bytecomp).
15878 (byte-compile-inline-expand): Pay attention to inlining to/from
15879 lexically bound code.
15880 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15881 any more.
15882 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15883 any more and don't call compiler-macros.
15884 (byte-compile-splice-in-already-compiled-code): Remove.
15885 (byte-code): Don't inline any more.
15886 (disassemble-offset): Receive `bytes' as argument rather than via
15887 dynamic scoping.
15888 (byte-compile-tag-number): Declare before first use.
15889 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15890 `return' even if make-spliceable.
15891 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15892 obsolete interactive-p.
15893 (byte-optimize-lapcode): Optimize new lap-codes.
15894 Don't trip up on new form of `byte-constant' lap code.
15895
15896 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15897
15898 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15899
15900 * custom.el (custom-initialize-default, custom-declare-variable):
15901 Use `defvar'.
15902
15903 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15904 New variables.
15905 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15906 (COMPILE_FIRST): Add macroexp and cconv.
15907 * makefile.w32-in: Mirror changes in Makefile.in.
15908
15909 * vc/cvs-status.el:
15910 * vc/diff-mode.el:
15911 * vc/log-edit.el:
15912 * vc/log-view.el:
15913 * vc/smerge-mode.el:
15914 * textmodes/bibtex-style.el:
090bd7cb 15915 * textmodes/css-mode.el:
03408648
SM
15916 * startup.el:
15917 * uniquify.el:
da91b5f2
CY
15918 * minibuffer.el:
15919 * newcomment.el:
15920 * reveal.el:
15921 * server.el:
15922 * mpc.el:
15923 * emacs-lisp/smie.el:
15924 * doc-view.el:
15925 * dired.el:
03408648
SM
15926 * abbrev.el: Use lexical binding.
15927
0f0c1f27
EZ
159282011-04-01 Eli Zaretskii <eliz@gnu.org>
15929
15930 * info.el (info-display-manual): New function.
15931
c82b2579
SM
159322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15935
221ddf68
TH
159362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15937
15938 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15939 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15940
cba6e77e
GM
159412011-03-31 Glenn Morris <rgm@gnu.org>
15942
e040639f
GM
15943 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15944
cba6e77e
GM
15945 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15946
6d0f1c9e
CS
159472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15948
15949 * progmodes/python.el (python-default-interpreter)
15950 (python-python-command-args, python-jython-command-args)
15951 (python-which-shell, python-which-args, python-which-bufname)
15952 (python-file-queue, python-comint-output-filter-function)
15953 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15954 variables and functions.
15955
3e2d70fd
SM
159562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15957
15958 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15959 (completion-in-region-mode): New minor mode.
15960 (completion-in-region): Use it.
15961 (completion-in-region--data, completion-in-region-mode-map): New vars.
15962 (completion-in-region--postch): New function.
15963 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15964 New vars.
15965 (completion--capf-wrapper): New function.
15966 (completion-at-point): Use it to track well-behavedness of
15967 hook functions.
15968 (completion-help-at-point): New command.
15969
f3e4086c
JM
159702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15971
15972 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15973 syntax class to search for whitespace on a single line
15974 (Message-ID: <4D938140.4030905@redhat.com>).
15975
eb7ffc14
LL
159762011-03-30 Leo Liu <sdl.web@gmail.com>
15977
15978 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15979 New commands.
15980 (edit-abbrevs-map): Bind them here.
15981 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15982
d806ab68
KM
159832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15984
15985 * allout.el (allout-hide-by-annotation, allout-flag-region):
15986 Reduce possibility of overlay leakage by making them volatile.
15987
15988 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15989 hash is not shared between buffers. Mode initialization is
15990 responsible for giving it a useful starting value.
15991 (allout-item-span): Reduce possibility of overlay leakage by
15992 making them volatile.
15993 (allout-widgets-count-buttons-in-region): Add diagnostic function
15994 for tracking down button overlay leaks.
15995
ea622834
LL
159962011-03-29 Leo Liu <sdl.web@gmail.com>
15997
15998 * ido.el (ido-read-internal): Use the default history var
15999 minibuffer-history if no HISTORY is specified.
16000
b62f8267
G
160012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16002
03408648
SM
16003 * net/imap.el (imap-shell-open, imap-process-connection-type):
16004 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16005 Kerberos, SSL, other subprocesses.
16006
947b6566
LL
160072011-03-28 Leo Liu <sdl.web@gmail.com>
16008
16009 * abbrev.el (abbrev-table-empty-p): New function.
16010 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16011 nonempty ones. (Bug#5937)
16012
5ffb62aa
JD
160132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16014
16015 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16016
7a097943
LL
160172011-03-27 Leo Liu <sdl.web@gmail.com>
16018
16019 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16020 for foreground and background colors.
16021 (ansi-color-make-color-map): Adapt.
16022
c5b40130
LL
160232011-03-25 Leo Liu <sdl.web@gmail.com>
16024
1f48f7d2
LL
16025 * midnight.el (midnight-time-float): Remove. Note it calculates
16026 the microsecond component incorrectly and seconds-to-time does the
16027 same job.
625897ec 16028 Remove redundant (require 'timer).
1f48f7d2 16029
c5b40130
LL
16030 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16031 (ido-completions): Remove unused arguments. (Bug#8329)
16032
d86d2721
SM
160332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * minibuffer.el (completion--flush-all-sorted-completions):
16036 Remove itself from hook.
16037 (completion-at-point): Let the functions perform the completion
16038 immediately and return nil or t.
16039 * comint.el (comint-dynamic-complete-functions): Now identical to
16040 completion-at-point-functions.
16041 (comint-dynamic-list-input-ring): Remove unused var `index'.
16042 (comint--match-partial-filename, comint--unquote&expand-filename):
16043 New funs, split from comint-match-partial-filename.
16044 (comint-dynamic-complete): Use completion-at-point.
16045 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16046
e8974c48
DA
160472011-03-24 Drew Adams <drew.adams@oracle.com>
16048
16049 * thingatpt.el: Support `defun'.
16050
def71b5e
LL
160512011-03-23 Leo Liu <sdl.web@gmail.com>
16052
cb5af48e
LL
16053 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16054
def71b5e
LL
16055 * help-mode.el (help-mode-finish): Tweak regexp.
16056
927c53e7
GM
160572011-03-23 Glenn Morris <rgm@gnu.org>
16058
18d05bed
GM
16059 * eshell/esh-opt.el (eshell-eval-using-options):
16060 Do not bind unused local variable `eshell-option-stub'.
16061
927c53e7
GM
16062 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16063
9d0da923
JB
160642011-03-22 Juanma Barranquero <lekktu@gmail.com>
16065
16066 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16067 keymap variable in `with-no-warnings' to avoid a warning when the
16068 keymap has been already `defconst'ed.
16069
4b978a67
LL
160702011-03-22 Leo Liu <sdl.web@gmail.com>
16071
16072 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16073 encode all chars in abbrevs; otherwise use emacs-mule or
16074 utf-8-emacs. (Bug#8308)
16075
5fd62452
JB
160762011-03-22 Juanma Barranquero <lekktu@gmail.com>
16077
0b1596c6
JB
16078 * simple.el (backward-delete-char-untabify):
16079 Avoid warning about using `delete-backward-char'.
16080
5fd62452
JB
16081 * image.el (image-type-file-name-regexps): Make it variable.
16082 `imagemagick-register-types' modifies it, and the user may want
16083 to add new extensions for known image types.
16084 (imagemagick-register-types): Throw error if not using ImageMagick.
16085
0b4e93f1
LL
160862011-03-22 Leo Liu <sdl.web@gmail.com>
16087
16088 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16089 located before rcirc-prompt-end-marker.
16090 (rcirc-complete): Error if point is not after rcirc prompt.
16091 Handle the case when table is nil.
9882e214 16092 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16093
fccee4ab
CY
160942011-03-22 Chong Yidong <cyd@stupidchicken.com>
16095
16096 * custom.el (custom--inhibit-theme-enable): Make it affect only
16097 custom-theme-set-variables and custom-theme-set-faces.
16098 (provide-theme): Ignore custom--inhibit-theme-enable.
16099 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16100 (custom-enabling-themes): Delete variable.
d86d2721
SM
16101 (enable-theme): Accept only loaded themes as arguments.
16102 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16103 (custom-enabled-themes): Forbid themes from setting this.
16104 Eliminate use of custom-enabling-themes.
16105 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16106
af896da6
LL
161072011-03-21 Leo Liu <sdl.web@gmail.com>
16108
16109 * ido.el (ido-read-internal): Add ido-selected to history instead
16110 of user input.
16111
78f64af0
SM
161122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * subr.el (deferred-action-list, deferred-action-function):
16115 Mark obsolete.
16116
b16ac1ec
LL
161172011-03-21 Leo Liu <sdl.web@gmail.com>
16118
810f7698
LL
16119 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16120 change on 2011-02-13 (bug#8309).
16121
b16ac1ec
LL
16122 * minibuffer.el (read-file-name-function): Change default value.
16123 (read-file-name--defaults): Rename from read-file-name-defaults.
16124 (read-file-name-default): Rename from read-file-name.
16125 (read-file-name): Call read-file-name-function.
16126
4e05e67e
GM
161272011-03-21 Glenn Morris <rgm@gnu.org>
16128
16129 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16130 Doc fixes.
16131
4359915b
CY
161322011-03-21 Chong Yidong <cyd@stupidchicken.com>
16133
16134 * cus-theme.el: Add missing provide statement.
16135 (customize-create-theme): Extract theme value correctly.
16136 (custom-theme-visit-theme): Autoload.
16137 (customize-create-theme): Prompt before inserting default faces.
16138
1fe275ee
JB
161392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16140
16141 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16142 units and musical notes.
16143
cd394be1 161442011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16145
16146 * ido.el (ido-read-internal): Use completing-read-default.
16147 (ido-completing-read): Fix compatibility with completing-read.
16148
7d476bde
CO
161492011-03-20 Christian Ohler <ohler@gnu.org>
16150
16151 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16152 (ert-delete-all-tests): Use `called-interactively-p' rather than
16153 `interactive-p'.
16154 (ert--make-xrefs-region): Respect END.
16155
fe0fb33e
CY
161562011-03-19 Chong Yidong <cyd@stupidchicken.com>
16157
ff854b0b
CY
16158 * dired-aux.el (dired-create-directory): Signal an error if the
16159 directory already exists (Bug#8246).
16160
fe0fb33e
CY
16161 * facemenu.el (list-colors-display): Call list-faces-display
16162 inside with-help-window.
16163 (list-colors-print): Use display property to align the final
16164 column, instead of checking window-width.
16165
576bce32
EZ
161662011-03-19 Eli Zaretskii <eliz@gnu.org>
16167
4d61f28d 16168 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16169 windows-nt systems.
16170 (emerge-protect-metachars): Quote correctly for ms-dos and
16171 windows-nt systems.
16172
89c41d68 161732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16174
16175 * info.el (info-initialize): Replace all uses of `:' with
16176 path-separator for compatibility with non-Unix systems.
16177 Cache quoting of path-separator. (Bug#8258)
16178
b14e3e21 161792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16180
16181 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16182 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16183 (mouse-avoidance-mode): Fix typos in docstrings.
16184
4525ce3e
CY
161852011-03-19 Chong Yidong <cyd@stupidchicken.com>
16186
16187 * startup.el (package-subdirectory-regexp): Move from package.el.
16188 Omit \\` and \\', and let callers add them.
16189
16190 * emacs-lisp/package.el (package-strip-version)
16191 (package-load-all-descriptors): Add \\` and \\' to
16192 package-subdirectory-regexp before using it.
16193 (package-untar-buffer): New arg DIR; ensure that file untars only
16194 into this expected directory. Remove superfluous delete-region.
16195 (package-unpack): Caller changed.
16196 (package-tar-file-info): Use package-subdirectory-regexp.
16197
a904a09a 161982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16199
a904a09a
SM
16200 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16201 diff-mode-shared-map (bug#8284).
16202 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16203
162042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16205
16206 * calendar/time-date.el (format-seconds): Use assoc instead of
16207 assoc-string, since assoc-string doesn't exist in XEmacs.
16208
171fc304
JB
162092011-03-17 Juanma Barranquero <lekktu@gmail.com>
16210
16211 * custom.el (custom-known-themes): Reflow docstring.
16212 (custom-theme-load-path): Fix typo in docstring.
16213 (load-theme): Fix typo in error message.
16214 (custom-available-themes, custom-variable-theme-value):
16215 Use `let', not `let*'.
16216
d71990a1
JB
162172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16218
16219 * calc/README: Mention inclusion of musical notes.
16220
16221 * calc/calc-units.el (calc-lu-quant): Rename from
16222 `calc-logunits-quantity'.
16223 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16224 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16225 (calc-db): Rename from `calc-dblevel'.
16226 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16227 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16228 (calc-np): Rename from `calc-nplevel'.
16229 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16230 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16231 (calc-lu-plus): Rename from `calc-logunits-add'.
16232 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16233 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16234 (calc-lu-minus): Rename from `calc-logunits-sub'.
16235 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16236 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16237 (calc-lu-times): Rename from `calc-logunits-mul'.
16238 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16239 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16240 (calc-lu-divide): Rename from `calc-logunits-div'.
16241 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16242 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16243
16244 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16245 functions being autoloaded.
16246
16247 * calc/calc.el (calc-lu-power-reference): Rename from
16248 `calc-logunits-power-reference'.
16249 (calc-lu-field-reference): Rename from
16250 `calc-logunits-field-reference'.
16251
7a71b18d
GM
16252 * calc/calc-help.el (calc-l-prefix-help):
16253 Mention musical note functions.
d71990a1 16254
40c2934b
SM
162552011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * minibuffer.el (completion-all-sorted-completions):
16258 Use :completion-cycle-penalty text property if present.
16259
b0911414
KM
162602011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16261
16262 * allout.el (allout-yank-processing): Adjust for new rebulleting
16263 regime so bullet being yanked is used without prompting the user
16264 for a choice.
16265
8a05b668
JB
162662011-03-16 Juanma Barranquero <lekktu@gmail.com>
16267
16268 * startup.el (command-line): Warn the user that _emacs is deprecated.
16269
5ba5fb81
JB
162702011-03-16 Juanma Barranquero <lekktu@gmail.com>
16271
16272 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16273 (delphi-verbose, delphi-comment-face, delphi-string-face)
16274 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16275 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16276 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16277 (delphi-new-comment-line, delphi-font-lock-defaults)
16278 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16279 Fix typos in docstrings.
16280
2dab465b
KM
162812011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16282
5ba5fb81 16283 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16284 Invert the roles of character and string values for INSTEAD, so a
16285 string is used for the more common case of a defaulting prompt.
16286
0adf5618
SM
162872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * progmodes/ruby-mode.el (ruby-backward-sexp):
16290 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16291 * play/gamegrid.el (gamegrid-make-face):
16292 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16293 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16294 * notifications.el (notifications-notify):
16295 * net/xesam.el (xesam-search-engines):
16296 * net/quickurl.el (quickurl-list-insert):
16297 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16298
d72700e5
CY
162992011-03-15 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * startup.el (command-line): Update package subdirectory regexp.
16302
49c5410a
SM
163032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16304
c6eee9aa
SM
16305 * allout.el (allout-abbreviate-flattened-numbering)
16306 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16307
49c5410a
SM
16308 * subr.el (read-char-choice): Only show the cursor after the prompt,
16309 not after the answer.
16310
047b2bb9
KR
163112011-03-15 Kevin Ryde <user42@zip.com.au>
16312
16313 * help-fns.el (variable-at-point): Skip leading quotes, if any
16314 (bug#8253).
16315
0a57d256
SM
163162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16317
16318 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16319 warning message.
16320
77c992bc
MA
163212011-03-14 Michael Albinus <michael.albinus@gmx.de>
16322
16323 * shell.el (shell): When called interactively, offer to change the
16324 shell file name on remote hosts.
16325
eebc475d
TZ
163262011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16327
16328 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16329 integration for LDAP parameters. The host, base, user or binddn,
16330 and secret tokens can be specified in a netrc file, for instance.
16331 This is optional because an `auth-source' parameter must be
16332 specified in the search attributes.
16333
9d05d1ba
JB
163342011-03-13 Juanma Barranquero <lekktu@gmail.com>
16335
16336 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16337
09d9db2c
GM
163382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16341 into declaration. Remove redundant and harmful binding.
16342
163432011-03-12 Eli Zaretskii <eliz@gnu.org>
16344
16345 * files.el (file-ownership-preserved-p): Pass `integer' as an
16346 explicit 2nd argument to `file-attributes'. If the file's owner
16347 is the Administrators group on Windows, and the current user is
16348 Administrator, consider that a match.
16349
16350 * server.el (server-ensure-safe-dir): Consider server directory
16351 safe on MS-Windows if its owner is the Administrators group while
16352 the current Emacs user is Administrator. Use `=' to compare
16353 numerical UIDs, since they could be integers or floats.
16354
219bd536
JB
163552011-03-12 Juanma Barranquero <lekktu@gmail.com>
16356
16357 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16358
f3afd36b
MA
163592011-03-12 Michael Albinus <michael.albinus@gmx.de>
16360
16361 Sync with Tramp 2.2.1.
16362
16363 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16364
16365 * net/trampver.el: Update release number.
16366
3aaaa6f1
SM
163672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16368
94642599
SM
16369 * progmodes/compile.el (compilation--previous-directory): Fix up
16370 various nil/dead-marker mismatches (bug#8014).
16371 (compilation-directory-properties, compilation-error-properties):
16372 Don't call it at a position past the one we're about to change.
16373
3aaaa6f1
SM
16374 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16375 Disable obsolescence warnings in the file that declares it.
16376
14239447
KM
163772011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16378
099c39a4
JB
16379 * allout-widgets.el (allout-widgets-tally):
16380 Initialize allout-widgets-tally as a hash table rather than nil to
16381 prevent mode-line redisplay warnings. Also, clarify the module
16382 description and fix a comment typo.
14239447 16383
135e287c
JB
163842011-03-11 Juanma Barranquero <lekktu@gmail.com>
16385
16386 * help-fns.el (describe-variable): Don't complete keywords.
16387 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16388
ffbf300e
CY
163892011-03-10 Chong Yidong <cyd@stupidchicken.com>
16390
ba08b241
CY
16391 * emacs-lisp/package.el (package-version-join): Impose a standard
16392 string representation for pre/alpha/beta version lists.
16393 (package-unpack-single): Standardize the directory name by passing
16394 it through package-version-join.
16395 (package-strip-rcs-id): Accept any version string that does not
16396 signal an error in version-to-list.
ffbf300e 16397
f346fd6b
MA
163982011-03-10 Michael Albinus <michael.albinus@gmx.de>
16399
16400 * simple.el (delete-trailing-whitespace): Return nil for the
16401 benefit of `write-file-functions'.
16402
ccb55d27
GM
164032011-03-10 Glenn Morris <rgm@gnu.org>
16404
5ceaac0c
GM
16405 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16406
02da65ff
GM
16407 * vc/vc-git.el (vc-git-program): New option.
16408 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16409 (vc-git--call): Use it.
16410
b2f603cc
GM
16411 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16412
5772caab
GM
16413 * cus-edit.el (Custom-newline): If no button at point, look
16414 for a subgroup button at start-of-line. (Bug#2298)
16415
ccb55d27
GM
16416 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16417
ec6ecaed
JD
164182011-03-10 Julien Danjou <julien@danjou.info>
16419
16420 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16421 `cursor-type' is nil.
16422
9d5aa01d
JB
164232011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16424
16425 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16426
b6a5875b
KM
164272011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16428
7a71b18d 16429 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16430 preserves the existing header prefix, rebulleting it if necessary,
16431 rather than replacing it. This is necessary for proper operation
16432 of cooperative addons like allout-widgets.
1154d12e
JB
16433 (allout-make-topic-prefix, allout-rebullet-heading):
16434 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16435 value as alternate bullet to be used, instead of prompting the user
16436 for a bullet character.
b6a5875b 16437
ee545c35
MA
164382011-03-09 Michael Albinus <michael.albinus@gmx.de>
16439
d86d2721
SM
16440 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16441 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16442 `tramp-default-port'.
16443
c47971d7
DD
164442011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16445
16446 * net/rcirc.el (rcirc-handler-001): Remove useless
16447 with-rcirc-process-buffer.
16448 (rcirc-check-auth-status): Swap arguments to string-match.
16449
13522cb4
GM
164502011-03-09 Glenn Morris <rgm@gnu.org>
16451
0be6f4f1
GM
16452 * shell.el (shell-mode):
16453 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16454
13522cb4
GM
16455 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16456 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16457
515de2e3
CY
164582011-03-08 Chong Yidong <cyd@stupidchicken.com>
16459
16460 * emacs-lisp/package.el (package-refresh-contents)
16461 (package-menu-execute): Use condition-case-no-debug.
16462
b511b994
MA
164632011-03-08 Michael Albinus <michael.albinus@gmx.de>
16464
16465 * simple.el (shell-command-to-string): Use `process-file'.
16466
16467 * emacs-lisp/package.el (package-tar-file-info): Handle also
16468 remote files.
16469
d86d2721
SM
16470 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16471 Use `equal' for upload base check.
b511b994 16472
25bbfb31
AM
164732011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16474
16475 * textmodes/texinfo.el (texinfo-environments):
16476 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16477
be996521
GM
164782011-03-08 Glenn Morris <rgm@gnu.org>
16479
e9c8529f
GM
16480 * cus-start.el (cursor-in-non-selected-windows):
16481 Fix :set quoting oddness. (Bug#8192)
16482
be996521
GM
16483 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16484 in some setf expressions. (Bug#2159)
16485
2bb5649e
CY
164862011-03-08 Chong Yidong <cyd@stupidchicken.com>
16487
16488 * custom.el (custom-available-themes): Return themes in
16489 alphabetical order.
16490
33383987 16491See ChangeLog.15 for earlier changes.
e3d51b27
MR
16492
16493;; Local Variables:
16494;; coding: utf-8
e3d51b27
MR
16495;; End:
16496
acaf905b 16497 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16498
16499 This file is part of GNU Emacs.
16500
16501 GNU Emacs is free software: you can redistribute it and/or modify
16502 it under the terms of the GNU General Public License as published by
16503 the Free Software Foundation, either version 3 of the License, or
16504 (at your option) any later version.
16505
16506 GNU Emacs is distributed in the hope that it will be useful,
16507 but WITHOUT ANY WARRANTY; without even the implied warranty of
16508 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16509 GNU General Public License for more details.
16510
16511 You should have received a copy of the GNU General Public License
16512 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.