* floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
758e556a
FEG
12012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * progmodes/python.el: Simplified imenu implementation.
4 (python-nav-jump-to-defun): Remove command.
5 (python-mode-map): Use `imenu' instead.
6 (python-nav-list-defun-positions-cache)
7 (python-imenu-include-defun-type, python-imenu-make-tree)
8 (python-imenu-subtree-root-label, python-imenu-index-alist):
9 Remove vars.
10 (python-nav-list-defun-positions, python-nav-read-defun)
11 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12 (python-imenu-make-tree, python-imenu-create-index): Remove
13 functions.
14 (python-mode): Update to interact with imenu by setting
15 `imenu-extract-index-name-function' only.
16
032d23ab
FEG
172012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
18
19 * progmodes/python.el: Enhancements to navigation commands.
20 (python-nav-backward-sentence)
21 (python-nav-forward-sentence): Remove.
22 (python-nav-backward-statement, python-nav-forward-statement)
23 (python-nav-statement-start, python-nav-statement-end)
24 (python-nav-backward-block, python-nav-forward-block)
25 (python-nav-block-start, python-nav-block-end)
26 (python-nav-forward-sexp-function)
27 (python-info-current-line-comment-p)
28 (python-info-current-line-empty-p): New functions.
29 (python-indent-context): Use `python-nav-statement-start'.
30
01795a1b
MA
312012-07-16 Michael Albinus <michael.albinus@gmx.de>
32
9328d9aa
MA
33 * eshell/em-ls.el (eshell/ls): Use `apply'.
34
35 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
36 multi-hops, instead of Tramp internals.
37
01795a1b
MA
38 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
39
40 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
41 when F1 and F2 are located on different hosts.
42
63408057
CY
432012-07-14 Chong Yidong <cyd@gnu.org>
44
45 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
46 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
47 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
48 (xterm-mouse--read-event-sequence-1000)
49 (xterm-mouse--read-event-sequence-1006): New functions. For old
50 mouse protocol, handle M-mouse-X events correctly.
51 (xterm-mouse-event): New arg specifying mouse protocol.
52 (turn-on-xterm-mouse-tracking-on-terminal)
53 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
54 sequence to toggle extended coordinates on newer XTerms. This
55 appears to be harmless on terminals which do not support this.
56
cd276f6e
LL
572012-07-14 Leo Liu <sdl.web@gmail.com>
58
28ca98ac
LL
59 Add fringe bitmap indicators for flymake. (Bug#11253)
60 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
61 (flymake-make-overlay): New arg BITMAP.
62 (flymake-error-bitmap, flymake-warning-bitmap)
63 (flymake-fringe-indicator-position): New user variables.
64
cd276f6e
LL
65 * fringe.el: New bitmap exclamation-mark.
66
04408072
JD
672012-07-14 Jan Djärv <jan.h.d@swipnet.se>
68
69 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
70 also (Bug#7879).
71
b5cf7fc4
CY
722012-07-14 Chong Yidong <cyd@gnu.org>
73
74 * electric.el (electric-pair-post-self-insert-function): Fix pair
75 insertion in empty-region case (Bug#11520).
76
be755c79
RT
772012-07-14 Chong Yidong <cyd@gnu.org>
78
79 * bindings.el: Consolidate ctl-x-r-map bindings. Bind
80 copy-rectangle-as-kill to C-x r w.
81
82 * rect.el, register.el: Move bindings to bindings.el.
83
842012-07-14 Reuben Thomas <rrt@sc3d.org>
85
86 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
87
7f5b3198
AS
882012-07-13 Andreas Schwab <schwab@linux-m68k.org>
89
90 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
91
97662200
JB
922012-07-13 Juanma Barranquero <lekktu@gmail.com>
93
80185fed
JB
94 * bindings.el (top): Use `mapc' instead of `mapcar'.
95
97662200
JB
96 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
97
2bb1ae55
MA
982012-07-13 Michael Albinus <michael.albinus@gmx.de>
99
100 * progmodes/sql.el (sql-comint): Suppress the check for program on
101 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
102 (Bug#11908)
103
dea31bd3
CY
1042012-07-13 Chong Yidong <cyd@gnu.org>
105
106 * bindings.el: Assign a non-nil permanent-local property to
107 per-buffer variables which lack a default value (Bug#11930).
108
109 * help-fns.el (describe-variable): In the "automatically becomes
110 local" notice, take note of permanent-local variables.
111
b68b3337
CY
1122012-07-13 Chong Yidong <cyd@gnu.org>
113
114 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
115 to allow printing the message when called from Lisp.
116
117 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
118 Remove toggle-read-only.
119
120 * bs.el (bs-toggle-readonly):
121 * buff-menu.el (Buffer-menu-toggle-read-only): Remove
122 with-no-warnings around toggle-read-only.
123
124 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
125 Remove with-no-warnings around toggle-read-only.
126 (ffap-read-only, ffap-read-only-other-window)
127 (ffap-read-only-other-frame): Callers changed.
128
129 * help-mode.el: Don't require view package.
130 (help-mode-finish): Set buffer-read-only instead of calling
131 toggle-read-only.
132
133 * bindings.el (mode-line-toggle-read-only):
134 * dired.el (dired-toggle-read-only):
135 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
136 with non-nil second arg.
137
138 * emacs-lisp/eieio-custom.el (eieio-customize-object):
139 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
140 directly.
141
56bc1586
EZ
1422012-07-12 Eli Zaretskii <eliz@gnu.org>
143
144 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
145 not incf.
146
a464a6c7
SM
1472012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 More CL cleanups and reduction of use of cl.el.
150 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
151 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
152 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
153 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
154 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
155 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
156 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
157 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
158 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
159 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
160 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
161 * eshell/em-cmpl.el, eshell/em-banner.el:
162 * calendar/parse-time.el: Use cl-lib.
163 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
164 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
165 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
166 * term/ns-win.el, term.el, shell.el, ps-samp.el:
167 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
168 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
169 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
170 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
171 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
172 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
173 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
174 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
175 `lambda' rather than with `quote'.
176 (eshell-do-opt): Adjust accordingly.
177 (eshell-process-option): Simplify.
178 * eshell/esh-var.el:
179 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
180 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
181 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
182 to `pcase--dontcare'.
183 * emacs-lisp/cl.el (labels): Mark obsolete.
184 (cl--letf, letf): Move to cl-lib.
185 (cl--letf*, letf*): Remove.
186 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
187 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
188 (cl-progv): Rewrite.
189 (cl--letf, cl-letf): Move from cl.el.
190 (cl-letf*): New macro.
191 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
192
7ad4afe1
MA
1932012-07-11 Michael Albinus <michael.albinus@gmx.de>
194
195 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
196
9af57756
CY
1972012-07-11 Chong Yidong <cyd@gnu.org>
198
199 * vc/log-edit.el (log-edit-vc-backend): New variable.
200 (log-edit): Doc fix.
201
202 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
203 argument of log-edit to set up all local variables.
204 (vc-start-logentry): New optional arg specifying VC backend.
205
206 * vc/vc.el (vc-checkin): Use it.
207 (vc-deduce-fileset): Handle Log Edit buffers.
208 (vc-diff): Make first argument optional too.
209
210 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
211
8477cc7a
MA
2122012-07-10 Michael Albinus <michael.albinus@gmx.de>
213
214 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
215 command, just in case. The function is not needed anymore.
216 (eshell-external-command): Do not call `eshell-remote-command'.
217
19faa8e8
SM
2182012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
219
f58e0fd5
SM
220 Reduce use of (require 'cl).
221 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
222 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
223 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
224 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
225 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
226 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
227 * battery.el, avoid.el, abbrev.el: Use cl-lib.
228 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
229 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
230 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
231 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
232 * calculator.el, autorevert.el, apropos.el: Don't require CL.
233 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
234 (byte-compile-unfold-bcf, byte-compile-check-variable):
235 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
236 (byte-compile-nilconstp):
237 * emacs-lisp/autoload.el (make-autoload): Use pcase.
238 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
239
2519d43a
SM
240 * emacs-lisp/gv.el (cond): Make it a valid place.
241 (if): Simplify slightly.
242
19faa8e8
SM
243 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
244 (pcase--self-quoting-p): New function.
245 (pcase--u1): Use it.
246
c4907a5e
GM
2472012-07-10 Glenn Morris <rgm@gnu.org>
248
249 * emacs-lisp/authors.el (authors-fixed-entries):
250 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
251
c4444d16
PE
2522012-07-09 Paul Eggert <eggert@cs.ucla.edu>
253
254 Rename configure.in to configure.ac (Bug#11603).
255 * emacs-lisp/authors.el (authors-canonical-file-name):
256 * progmodes/autoconf.el (autoconf-mode):
257 Prefer configure.ac to configure.in.
258
d75be97d
CY
2592012-07-08 Chong Yidong <cyd@gnu.org>
260
01ac65bd
CY
261 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
262 Implement the mouse-1-click-follows-link handling properly.
263
264 * info.el (Info-link-keymap): Use follow-link mechanism for
265 header-line links (Bug#374).
266
d75be97d
CY
267 * simple.el (deactivate-mark): Do not set the primary selection
268 if another program has acquired it (Bug#11772).
269
87a92845 2702012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
271
272 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
273 (woman-decode-region): Replace escaped-escapes without destroying
274 bold or underline (Bug#11552).
87a92845 275 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 276
621b9d6c
CY
2772012-07-07 Chong Yidong <cyd@gnu.org>
278
279 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
280 (interprogram-cut-function, interprogram-paste-function):
281 Mention that we typically mean the clipboard.
621b9d6c 282
133a11fc
GM
2832012-07-06 Glenn Morris <rgm@gnu.org>
284
0d27a45e
GM
285 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
286
133a11fc
GM
287 * files.el (toggle-read-only): Restrict message to interactive use.
288
07b151f1
MA
2892012-07-06 Michael Albinus <michael.albinus@gmx.de>
290
291 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
292
293 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
294
211b896b
GM
2952012-07-06 Glenn Morris <rgm@gnu.org>
296
50394322
GM
297 * Makefile.in (compile-one-process): Rename from "recompile".
298
211b896b
GM
299 * Makefile.in (bzr-update): "compile" is the same as "recompile
300 autoloads", but parallelizable, so use that instead.
301
4737eec9
DG
3022012-07-06 Dmitry Gutov <dgutov@yandex.ru>
303
304 * window.el (quit-window): Always restore window height when
305 it's saved in quit-restore parameter.
306
226c3633 3072012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
308
309 * simple.el (kill-whole-line): Doc tweak.
310
226c3633 3112012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
312
313 * files.el (file-relative-name): Compare file names
314 case-insensitively if on MS-Windows or MS-DOS, or if
315 read-file-name-completion-ignore-case is non-nil. Don't use
316 case-fold-search for this purpose. (Bug#11827)
317
226c3633 3182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 319
19faa8e8
SM
320 * calendar/cal-dst.el (calendar-current-time-zone):
321 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 322
60198fc9
GM
3232012-07-06 Glenn Morris <rgm@gnu.org>
324
325 * Makefile.in (cvs-update): Remove old alias.
326
957b3189
MA
3272012-07-05 Michael Albinus <michael.albinus@gmx.de>
328
329 Sync with Tramp 2.2.6-pre.
330
331 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
332 compatible declaration.
333
19faa8e8
SM
334 * net/tramp-cmds.el (tramp-append-tramp-buffers):
335 Protect `list-load-path-shadows' call.
957b3189
MA
336
337 * net/tramp-compat.el (top): Require packages, which aren't
338 autoloaded anymore for XEmacs. Protect call of
339 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
340 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
341 it hurts at least for SXEmacs.
342 (tramp-compat-temporary-file-directory): In XEmacs, there is no
343 standard-value for `temporary-file-directory'.
344
345 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
346 Redirect stderr to /dev/null.
347 (tramp-sh-handle-write-region): uid and gid can be floats.
348 Reported by Russell Sim <russell.sim@gmail.com>.
349 (tramp-sh-handle-vc-registered): Hide errors.
350 (tramp-vc-file-name-handler): Use dummy results for `process-file'
351 and `start-file-process'.
352 (tramp-maybe-open-connection): Check also whether `non-essential'
353 is bound.
354
566df3fc
CY
3552012-07-04 Chong Yidong <cyd@gnu.org>
356
357 * xml.el (xml--parse-buffer): Use xml-syntax-table.
358 (xml-parse-tag): Likewise, and avoid changing entity tables.
359 (xml-syntax-table): Define from scratch, making sure not to give
360 x2000 and other Unicode spaces whitespace syntax, since those are
361 not spaces in XML.
362 (xml-parse-fragment): Delete unused function.
363 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
364 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
365 (xml-entity-ref, xml-pe-reference-re)
366 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
367 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
368 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
369 (xml-entity-value-re): Use syntax references in regexps where
370 possible; no need to define inside a let-binding.
371 (xml-parse-dtd): Use xml-pe-reference-re.
372 (xml-entity-or-char-ref-re): New defconst.
373 (xml-parse-string, xml-substitute-special): Use it.
374
30eabd7a
SM
3752012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
376
0781098a
SM
377 * files.el (locate-dominating-file): Allow `name' to be a predicate.
378 (find-file--read-only): New function.
379 (find-file-read-only, find-file-read-only-other-window)
380 (find-file-read-only-other-frame): Use it.
381 (insert-file-contents-literally): Don't `fset'.
382 (get-free-disk-space): Use locate-dominating-file.
383
b5771c0d
SM
384 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
385 function is already compiled.
386
30eabd7a
SM
387 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
388
b4886f6e
MA
3892012-07-03 Michael Albinus <michael.albinus@gmx.de>
390
391 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
392 files on the same host.
393
b9d82339
AS
3942012-07-03 Andreas Schwab <schwab@linux-m68k.org>
395
396 * help-fns.el (describe-function-1): Only call
397 help-fns--autoloaded-p when we have a file name. (Bug#11848)
398
a76e6535
CY
3992012-07-03 Chong Yidong <cyd@gnu.org>
400
401 * xml.el: Protect parser against XML bombs.
402 (xml-entity-expansion-limit): New variable.
403 (xml-parse-string, xml-substitute-special): Use it.
404 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
405
b544fef2
GM
4062012-07-03 Glenn Morris <rgm@gnu.org>
407
408 * progmodes/bug-reference.el (bug-reference-bug-regexp):
409 Allow linking to specific messages in debbugs reports (eg 123#5).
410
a7aef6f5
CY
4112012-07-02 Chong Yidong <cyd@gnu.org>
412
413 * xml.el: Fix entity and character reference expansion, allowing
414 them to expand into markup as per XML spec.
415 (xml-default-ns): New variable.
416 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
417 (xml-parse-region): Make first two arguments optional.
418 Discard text properties.
419 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
420 All callers changed.
a7aef6f5
CY
421 (xml-parse-tag): Call xml-parse-tag-1. For backward
422 compatibility, this function should not modify buffer contents.
423 (xml-parse-tag-1): Fix opening-tag regexp.
424 (xml-parse-string): Rewrite, handling entity and character
425 references properly.
426 (xml--entity-replacement-text): Signal an error if a parameter
427 entity is undefined.
428
3df31c9f
SM
4292012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
430
2b5208f1
SM
431 * comint.el (comint-output-filter): Filter out repeated prompts.
432
3df31c9f
SM
433 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
434 and file-name-absolute-p.
435 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
436 internal calls.
437
e3ac1281
PE
4382012-07-02 Paul Eggert <eggert@cs.ucla.edu>
439
440 Spelling fixes.
441 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
442 Rename from byte-compile--refiy-function. All uses changed.
443
fbf2e7ad
CY
4442012-07-01 Chong Yidong <cyd@gnu.org>
445
446 * xml.el (xml--parse-buffer): New function. Move most of
447 xml-parse-region here.
448 (xml-parse-region): Copy region into a temporary buffer, since
449 parameter entity substitution requires changing buffer contents.
450 Use xml--parse-buffer.
451 (xml-parse-file): Use xml--parse-buffer.
452 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 453 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 454
9bf0aa15
GM
4552012-06-30 Glenn Morris <rgm@gnu.org>
456
bbce2853
GM
457 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
458
9bf0aa15
GM
459 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
460 Remove outdated and unnecessary dbus declarations.
461
0d23c240
EZ
4622012-06-30 Eli Zaretskii <eliz@gnu.org>
463
464 * emacs-lisp/timer.el (timer-until): Subtract results of
465 float-time, instead of taking float-time of the result of
466 time-subtract, since float-time signals an error for negative time
467 arguments.
468
b3218de1
CY
4692012-06-30 Chong Yidong <cyd@gnu.org>
470
471 * xml.el (xml-*-re): Convert defvars into defconsts, and
472 eval-and-compile them so eval-and-compile works on derivatives.
473 (xml--entity-replacement-text): Use eval-and-comple.
474
a40c87a0
MA
4752012-06-30 Michael Albinus <michael.albinus@gmx.de>
476
477 * vc/vc-git.el (vc-git-registered): Use cache property
478 `git-registered'.
479 (vc-git-mode-line-string): Call `vc-working-revision' instead of
480 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 481 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 482
ac87de97
DG
4832012-06-30 Dmitry Gutov <dgutov@yandex.ru>
484
485 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 486 removed (likely outside Emacs). (Bug#11757)
ac87de97 487
ac10fe06
SM
4882012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
489
3df31c9f 490 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 491
7f3fbd5d
CY
4922012-06-30 Chong Yidong <cyd@gnu.org>
493
494 * xml.el: Implement XML parameter entities.
495 (xml-parameter-entity-alist): New variable.
496 (xml-parse-region, xml-parse-fragment): Preserve previous values
497 of xml-entity-alist and xml-parameter-entity-alist, so that
498 repeated calls on different documents do not change them.
499 (xml-parse-tag): Fix doctype regexp.
500 (xml--entity-replacement-text): New function.
501 (xml-parse-dtd): Use it. Don't handle system entities; doing that
502 properly requires url retrieval which is unimplemented.
503 (xml-escape-string): Doc fix.
504
3cfbebba
SM
5052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
508
2af3565e
DA
5092012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
510
511 * fringe.el (fringe-mode): Doc fix.
512
929df0e7
MA
5132012-06-29 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
516 is non-nil.
517 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
518 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
519
c8d3a25c 5202012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 521
c8d3a25c
GM
522 * calendar/cal-dst.el (calendar-current-time-zone):
523 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 524
c8d3a25c 5252012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
526
527 * progmodes/which-func.el (which-func-format):
528 Add mouse-face. (Bug#11698)
529
c8d3a25c
GM
5302012-06-29 Leo Liu <sdl.web@gmail.com>
531
532 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
533
5342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * minibuffer.el (minibuffer-confirm-exit-commands):
537 Add completion-at-point (bug#11725).
538
5392012-06-29 Glenn Morris <rgm@gnu.org>
540
541 * progmodes/f90.el (f90-font-lock-keywords-2):
542 Add some preprocessor elements. (Bug#10499)
543
5442012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * progmodes/cperl-mode.el (cperl-update-syntaxification):
547 Use syntax-propertize (bug#11739).
548
2badeec4
JB
5492012-06-28 Juanma Barranquero <lekktu@gmail.com>
550
551 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
552
ae4969c2
JD
5532012-06-28 Julien Danjou <julien@danjou.info>
554
555 * term.el (term-handle-colors-array): Use a set of new faces to
556 color the terminal. Also uses :inverse-video property.
557 (term-default-fg-color): Set to nil by default, deprecate in favor
558 of `term-face'.
559 (term-default-bg-color): Set to nil by default, deprecate in favor
560 of `term-face'.
561 (term-current-face): Use `term-face' by default.
562 (term-bold-attribute): Variable deleted.
563
1c9bd870
GM
5642012-06-28 Glenn Morris <rgm@gnu.org>
565
566 * simple.el (completion-list-mode-finish):
567 Don't use toggle-read-only. (Since completion-list-mode has
568 a special mode-class, it wasn't doing anything extra anyway.)
569
c207708c
SM
5702012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 Make inlining of other-mode interpreted functions work (bug#11799).
573 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
574 (byte-compile): Use it to fix compilation of lexical-binding closures.
575 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
576 function, if needed.
577
3fd56834
SM
5782012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
579
04901786
SM
580 * help-mode.el (help-make-xrefs): Don't just withstand
581 cyclic-variable-indirection but any error in documentation-property.
582
1ec4b7b2
SM
583 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
584 memory use.
585 * bindings.el (bindings--define-key): New function.
586 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
587 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
588 * bindings.el: Use it to purecopy define-key bindings.
589
e309e2a5
SM
590 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
591
d5c6faf9
SM
592 * emacs-lisp/cl.el (flet): Mark obsolete.
593 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
594 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
595 * progmodes/js.el (js-c-fill-paragraph):
596 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
597 (ebrowse-switch-member-buffer-to-derived-class):
598 * play/5x5.el (5x5-solver): Use cl-flet.
599
6e9590e2
SM
600 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
601 (cl--symbol-function): New macro.
602 (cl--letf, cl--letf*): Use it.
603
3fd56834
SM
604 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
605 Strip "toggle-" if any.
606
35ff222c
GM
6072012-06-27 Glenn Morris <rgm@gnu.org>
608
1ba6038a
GM
609 * info.el (Info-default-directory-list): Move here from paths.el.
610 * paths.el: Remove file, which is now empty.
611 * loadup.el: No longer load "paths".
612
0ea0e51b
GM
613 * custom.el (custom-initialize-delay): Doc fix.
614
35ff222c
GM
615 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
616 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
617 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
618 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
619 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
620 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
621 * eshell/eshell.el (eshell-defgroup): Remove alias.
622
c89926a5
CY
6232012-06-27 Chong Yidong <cyd@gnu.org>
624
625 * help.el (help-enable-auto-load): New variable.
626
627 * help-fns.el (help-fns--autoloaded-p): New function.
628 (describe-function-1): Refer to a function as "autoloaded" if it
629 was autoloaded at any time in the past. Perform autoloading if
630 help-enable-auto-load is non-nil.
631
cc06e7e7
EZ
6322012-06-26 Eli Zaretskii <eliz@gnu.org>
633
634 * makefile.w32-in (compile, compile-always): Depend on
635 update-subdirs, not on subdirs.el. Otherwise, several different
636 sub-targets of 'bootstrap' running in parallel could
637 simultaneously write to subdirs.el, producing a garbled file.
638
d2c32364
SS
6392012-06-26 Sam Steingold <sds@gnu.org>
640
641 * files.el (file-name-base): New convenience function.
0d14cc21
GM
642 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
643 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
644 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
645 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
646 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
647 * textmodes/tex-mode.el: Use it.
648 Did not touch cedet and org because they are maintained elsewhere.
649
5cf983b2
MR
6502012-06-26 Martin Rudalics <rudalics@gmx.at>
651
652 * calendar/calendar.el (calendar-exit): Don't try to delete or
653 iconify last frame. See:
654 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
655
8c4f2952
JD
6562012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
657
658 * server.el (server-process-filter): Remember dir in the
659 process's `server-client-directory' properties.
660
772b2e2c
CY
6612012-06-24 Chong Yidong <cyd@gnu.org>
662
663 * xml.el (xml-parse-tag): Correctly handle comment embedded in
664 non-tag text.
665
711b11e1
JB
6662012-06-23 Juanma Barranquero <lekktu@gmail.com>
667
668 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
669
dc5d230c
SM
6702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * help-fns.el (describe-variable): Don't croak when doc is not found.
673 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
674 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
675 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
676 * emacs-lisp/smie.el (smie-next-sexp): CSE.
677 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
678 ((lambda ..) ..).
679 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
680
136e1c1d
CY
6812012-06-23 Chong Yidong <cyd@gnu.org>
682
e8c1cabf
CY
683 * info.el (Info-mouse-follow-link): Accept symbol values of
684 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
685 (Info-fontify-node): Use Info-link-keymap for all navigation
686 buttons, with link-args property to perform the desired action.
687 (Info-link-keymap): Doc fix.
688 (Info-next-link-keymap, Info-prev-link-keymap)
689 (Info-up-link-keymap): Delete now-unused keymaps.
690
0e9e6c6a
CY
6912012-06-23 Chong Yidong <cyd@gnu.org>
692
05e89fea
CY
693 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
694
0e9e6c6a
CY
695 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
696 system abbrevs.
697
698 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
699
e33c6771
SM
7002012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
701
b68581e2
SM
702 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
703 (bug#11719).
704
e33c6771
SM
705 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
706 the requote function doesn't work properly (bug#11714).
707
7117e105
GM
7082012-06-23 Glenn Morris <rgm@gnu.org>
709
710 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
711
36cec983
SM
7122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 Further GV/CL cleanups.
715 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
716 gv-expander.
717 (gv--defun-declaration): New function.
718 (defun-declarations-alist): Use it.
719 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
720 (gv-place): Autoload.
721 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
722 original definition of dotimes and dolist.
723 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
724 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
725 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
726 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
727 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
728 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
729 to the function's definition.
730 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
731 * window.el:
732 * files.el:
733 * faces.el:
734 * env.el: Don't use CL.
735
d35af63c
PE
7362012-06-22 Paul Eggert <eggert@cs.ucla.edu>
737
738 Support higher-resolution time stamps (Bug#9000).
739
740 * calendar/time-date.el (with-decoded-time-value): New arg
741 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
742 (encode-time-value): New optional arg PICO. New type 3.
743 (time-to-seconds) [!float-time]: Support the new picoseconds
744 component if it's used.
745 (seconds-to-time, time-subtract, time-add):
746 Support ps-resolution time stamps as well.
747
748 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
749 (timerp): Timer vectors now have length 9, not 8.
750 (timer--time): Support new-style (4-part) time stamps.
751 (timer-next-integral-multiple-of-time): Time stamps now have
752 picosecond resolution, so take a bit more care about rounding.
753 (timer-relative-time, timer-inc-time): New optional arg psecs.
754 (timer-set-time-with-usecs): Set psecs to 0.
755 (timer--activate): Check psecs component, too.
756
757 * proced.el (proced-time-lessp): Support ps-resolution stamps.
758
ac77b21a
SM
7592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
760
f143bfe3
SM
761 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
762 Move the non-essential binding to the post/pre-command-hook where it is
763 more obviously correct.
764
ac77b21a
SM
765 * subr.el (read-passwd): Don't use a history at all.
766 * savehist.el (savehist-save): Remove password saved accidentally
767 because of the above bug.
768
76386c5a
BG
7692012-06-22 Bastien Guerry <bzg@gnu.org>
770
771 * files.el (toggle-read-only): Display a message telling whether
772 the buffer is read-only or not (bug#11726).
773
2ee3d7f0
SM
7742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * emacs-lisp/gv.el: New file.
777 * subr.el (push, pop): Extend to generalized variables.
778 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
779 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
780 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
781 gv-define-simple-setter, and gv-define-expander.
782 Remove setf-methods defined in gv. Rename cl-setf -> setf.
783 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
784 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
785 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
786 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
787 gv-letplace.
788 (cl-defstruct): Don't define setf-method any more.
789 * emacs-lisp/cl.el (flet): Don't autoload.
790 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
791 (define-setf-expander, defsetf, define-modify-macro)
792 (cl-struct-setf-expander): Move from cl-lib.el.
793 * emacs-lisp/syntax.el:
794 * emacs-lisp/ewoc.el:
795 * emacs-lisp/smie.el:
796 * emacs-lisp/cconv.el:
797 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
798 (timer--time): Use gv-define-simple-setter.
799 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
800 to avoid coding-system problems in subr.el. Adjust all users.
801 (macroexp--maxsize, macroexp-small-p): New functions.
802 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
803 * scroll-bar.el (scroll-bar-mode):
804 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
805 (normal-erase-is-backspace-mode): Don't use the `eq' place.
806 * winner.el (winner-configuration, winner-make-point-alist)
807 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
808 * files.el (locate-file-completion-table): Avoid list*.
809
c5695d1d
CY
8102012-06-22 Chong Yidong <cyd@gnu.org>
811
812 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
813 (dired-create-files): Doc fix (Bug#11329).
814 (dired-do-copy): Doc fix (Bug#11334).
815 (dired-mark-read-string): Doc fix (Bug#11553).
816
2ee3d7f0
SM
817 * dired.el (dired-recursive-copies, dired-recursive-deletes):
818 Doc fix (Bug#11326).
c5695d1d
CY
819 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
820 (dired-dwim-target): Doc fix.
821
822 * wdired.el (wdired-mode): Doc fix.
823
89b5595a
GM
8242012-06-22 Glenn Morris <rgm@gnu.org>
825
575db3f1
GM
826 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
827 (pcmpl-rpm-cache-stamp-file): New constant.
828 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
829 (pcmpl-rpm-packages): Optionally cache list of packages.
830
a4c8dd51
GM
831 * pcmpl-rpm.el (pcmpl-rpm): New group.
832 (pcmpl-rpm-query-options): New option.
833 (pcmpl-rpm-packages): No need to inline it.
834 Use pcmpl-rpm-query-options.
835
89b5595a
GM
836 * calendar/calendar.el (calendar-in-read-only-buffer):
837 Avoid some needless mode changes.
838
e76f0800
CY
8392012-06-21 Chong Yidong <cyd@gnu.org>
840
841 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
842 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 843 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 844
297a8f1d
CY
8452012-06-20 Chong Yidong <cyd@gnu.org>
846
847 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
848
d34c18b1
DR
8492012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
850
851 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
852 (bug#11201).
853
32f7f28e
CY
8542012-06-20 Chong Yidong <cyd@gnu.org>
855
856 * term.el (term-window-width): Handle the case of a missing right
857 fringe (Bug#8837).
858 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
859 (term-mode): Use define-derived-mode. Minor cleanups.
860 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
861 (term-move-columns, term-insert-char, term-emulate-terminal)
862 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 863
493c6688
MA
8642012-06-20 Michael Albinus <michael.albinus@gmx.de>
865
d34c18b1
DR
866 * net/ange-ftp.el (ange-ftp-get-passwd):
867 Bind `enable-recursive-minibuffers'.
493c6688
MA
868 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
869
3f06ecf4
DR
8702012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
871
872 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
873
68f12411
GM
8742012-06-19 Glenn Morris <rgm@gnu.org>
875
876 * progmodes/python.el (python-mode): Derive from prog-mode.
877
b3820318
KG
8782012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
879
880 * emulation/edt.el (edt-default-menu-bar-update-buffers)
881 (edt-user-menu-bar-update-buffers): New functions.
882 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
883
c6bf3022
CY
8842012-06-19 Chong Yidong <cyd@gnu.org>
885
886 * subr.el (with-selected-window): Preserve the selected window's
887 terminal's top-frame (Bug#4702).
888
889 * window.el (save-selected-window): Likewise.
890
25f09295
SM
8912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * progmodes/python.el (python-rx-constituents): Move backquote.
894 (python-skeleton-define, python-define-auxiliary-skeleton):
895 Use `declare'.
896
6b11952a
MA
8972012-06-18 Michael Albinus <michael.albinus@gmx.de>
898
899 * minibuffer.el (read-file-name-default): Revert the patch from
900 2012-06-17.
901
ee4b1330
SM
9022012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
905 (pcase--u1, pcase--q1): Don't use apply-partially.
906
35647f79
GM
9072012-06-18 Glenn Morris <rgm@gnu.org>
908
909 * progmodes/python.el (python-proc, python-buffer)
910 (python-send-receive, python-send-string): Fix obsolete versions.
911
24b0cff0
MR
9122012-06-18 Martin Rudalics <rudalics@gmx.at>
913
914 * window.el (special-display-p): Completely remove stringp
915 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
916
29855149
MA
9172012-06-17 Michael Albinus <michael.albinus@gmx.de>
918
919 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
920
921 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
922
923 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
924 * net/tramp-sh.el (tramp-maybe-open-connection):
925 Throw if `non-essential' is non-nil.
926
07463363
MR
9272012-06-17 Martin Rudalics <rudalics@gmx.at>
928
929 * window.el (special-display-p): Signal an error if BUFFER-NAME
930 is not a string (Bug#11713).
931
48d1354e
PE
9322012-06-17 Paul Eggert <eggert@cs.ucla.edu>
933
934 * progmodes/python.el (python-info-beginning-of-backslash):
935 Rename from python-info-beginning-of-backlash, as a spelling fix.
936
eb4a8a9a
CY
9372012-06-17 Chong Yidong <cyd@gnu.org>
938
939 * term.el (term-emulate-terminal): If term-check-size is called,
940 move point to the process mark without resetting point (Bug#4635).
941
ddfbf826 9422012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
943
944 * international/mule-cmds.el (mule-menu-keymap)
945 (set-language-environment, set-locale-environment): Doc tweaks.
946
9b0e3eba
AA
9472012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
948
949 * cus-face.el (custom-face-attributes): Add wave-style underline
950 attribute.
951 * faces.el (set-face-attribute): Update docstring to describe
952 wave-style underline attribute.
953
771e3eae
CY
9542012-06-16 Chong Yidong <cyd@gnu.org>
955
956 * term/xterm.el (terminal-init-xterm): Discard input before
957 querying background mode (Bug#10959).
958
7ae2ea10
SM
9592012-06-16 Stefan Merten <smerten@oekonux.de>
960
961 * textmodes/rst.el: Added and corrected some comments.
962 (rst-re-alist-def): Improve symbol syntax.
963 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
964 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
965 (rst-official-version, rst-official-cvs-rev): Update version
966 information.
7ae2ea10 967
b6974efa
JB
9682012-06-15 Juanma Barranquero <lekktu@gmail.com>
969
970 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
971 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
972
8826d473
GM
9732012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
974
975 * progmodes/python.el: New python.el merge.
976 (python-guess-indent): Obsolete var.
977 (python-indent-guess-indent-offset): New defcustom.
978 (python-indent): Obsolete var.
979 (python-indent-offset): New defcustom.
980 (python-python-command, python-jython-command): Delete var.
981 (python-shell-interpreter): New defcustom.
982 (python-pdbtrack-do-tracking-p): Delete var.
983 (python-pdbtrack-activate): New defcustom.
984 (python-use-skeletons): Obsolete var.
985 (python-skeleton-autoinsert): New defcustom.
986 (inferior-python-filter-regexp, python-continuation-offset)
987 (python-honour-comment-indentation, python-indent-string-contents)
988 (python-jython-packages, python-mode-hook)
989 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
990 (python-shell-prompt-alist)
991 (python-source-modes): Delete defcustoms.
992 (python-check-buffer-name, python-eldoc-setup-code)
993 (python-eldoc-string-code, python-ffap-setup-code)
994 (python-ffap-string-code, python-fill-comment-function)
995 (python-fill-decorator-function, python-fill-paren-function)
996 (python-fill-string-function, python-imenu-include-defun-type)
997 (python-imenu-make-tree, python-imenu-subtree-root-label)
998 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
999 (python-shell-compilation-regexp-alist)
1000 (python-shell-completion-module-string-code)
1001 (python-shell-completion-pdb-string-code)
1002 (python-shell-completion-setup-code)
1003 (python-shell-completion-string-code)
1004 (python-shell-enable-font-lock, python-shell-exec-path)
1005 (python-shell-extra-pythonpaths)
1006 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1007 (python-shell-process-environment)
1008 (python-shell-prompt-block-regexp)
1009 (python-shell-prompt-output-regexp)
1010 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1011 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1012 (python-shell-virtualenv-path): New defcustoms.
1013 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1014 (inferior-python-mode-syntax-table, python--prompt-regexp)
1015 (python-buffer, python-command python-python-command)
1016 (python-default-template, python-imports, python-indent-index)
1017 (python-indent-list, python-indent-list-length)
1018 (python-mode-running, python-pdbtrack-is-tracking-p)
1019 (python-preoutput-continuation, python-preoutput-leftover)
1020 (python-preoutput-result, python-preoutput-skip-next-prompt)
1021 (python-prev-dir/file, python-recursing)
1022 (python-saved-check-command, python-version-checked)
1023 (python-which-func-length-limit)
1024 (view-return-to-alist): Delete vars.
1025 (python-check-custom-command, python-dotty-syntax-table)
1026 (python-imenu-index-alist, python-indent-current-level)
1027 (python-indent-dedenters, python-indent-levels)
1028 (python-nav-beginning-of-defun-regexp)
1029 (python-nav-list-defun-positions-cache)
1030 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1031 (python-shell-internal-buffer)
1032 (python-skeleton-available): New vars.
1033 (def-python-skeleton): Delete macro.
1034 (python-skeleton-define): New macro.
1035 (python-define-auxiliary-skeleton, python-rx): New macros.
1036 (python-insert-class): Delete command.
1037 (python-skeleton-class): New command.
1038 (python-insert-def): Delete command.
1039 (python-skeleton-def): New command.
1040 (python-insert-for): Delete command.
1041 (python-skeleton-for): New command.
1042 (python-insert-if): Delete command.
1043 (python-skeleton-if): New command.
1044 (python-insert-try/except, python-insert-try/finally): Delete commands.
1045 (python-skeleton-try): New command.
1046 (python-insert-while): Delete command.
1047 (python-skeleton-while): New command.
1048 (python-backspace): Delete command.
1049 (python-indent-dedent-line-backspace): New command.
1050 (python-electric-colon): Delete command.
1051 (python-indent-electric-colon): New command.
1052 (python-guess-indent): Delete command.
1053 (python-indent-guess-indent-offset): New command.
1054 (python-shift-left): Delete command.
1055 (python-indent-shift-left): New command.
1056 (python-shift-right): Delete command.
1057 (python-indent-shift-right): New command.
1058 (python-find-function): Delete command.
1059 (python-nav-jump-to-defun): New command.
1060 (python-next-statement): Delete command.
1061 (python-nav-forward-sentence): New command.
1062 (python-previous-statement): Delete command.
1063 (python-nav-backward-sentence): New command.
1064 (python-fill-paragraph): Delete command.
1065 (python-fill-paragraph-function): New command.
1066 (python-send-buffer): Delete command.
1067 (python-shell-send-buffer): New command.
1068 (python-send-defun): Delete command.
1069 (python-shell-send-defun): New command.
1070 (python-send-region, python-send-region-and-go): Delete commands.
1071 (python-shell-send-region)
1072 (python-shell-switch-to-shell): New commands.
1073 (python-send-string): Delete command.
1074 (python-shell-send-string): New command.
1075 (python-switch-to-python): Delete command.
1076 (python-shell-switch-to-shell): New command.
1077 (python-describe-symbol): Delete command.
1078 (python-eldoc-at-point): New command.
1079 (python--set-prompt-regexp, python-args-to-list)
1080 (python-after-info-look, python-check-version)
1081 (python-check-comint-prompt, python-find-imports)
1082 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1083 (python-unload-function, python-expand-template)
1084 (python-maybe-jython, python-preoutput-filter)
1085 (python-pdbtrack-get-source-buffer)
1086 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1087 (python-pdbtrack-toggle-stack-tracking)
1088 (python-pdbtrack-track-stack-file, python-initial-text)
1089 (python-first-word, python-comment-line-p, python-send-command)
1090 (python-setup-brm, python-sentinel, python-set-proc)
1091 (python-skip-out, python-input-filter, python-outdent-p)
1092 (python-outline-level, python-backslash-continuation-line-p)
1093 (python-end-of-block, python-end-of-statement, python-mark-block)
1094 (python-beginning-of-block, python-beginning-of-statement)
1095 (python-blank-line-p, python-beginning-of-string)
1096 (python-open-block-statement-p): Delete functions.
1097 (python-indent-line, python-indent-line-1): Delete functions.
1098 (python-indent-line): New function.
1099 (python-indentation-levels): Delete function.
1100 (python-indent-calculate-levels): New function.
1101 (python-proc): Delete function.
1102 (python-shell-get-process): New function.
1103 (python-send-receive): Delete function.
1104 (python-shell-send-string-no-output): New function.
1105 (python-module-path): Delete function.
1106 (python-ffap-module-path): New function.
1107 (python-completion-at-point)
1108 (python-symbol-completions): Delete functions.
1109 (python-completion-complete-at-point): New function.
1110 (python-load-file): Delete function.
1111 (python-shell-send-file): New function.
1112 (python-calculate-indentation): Delete function.
1113 (python-indent-calculate-indentation): New function.
1114 (python-skip-comments/blanks): Delete function.
1115 (python-util-forward-comment): New function.
1116 (python-continuation-line-p): Delete function.
1117 (python-info-continuation-line-p): New function.
1118 (python-which-func, python-current-defun): Delete function.
1119 (python-info-current-defun): New function.
1120 (python-beginning-of-defun): Delete function.
1121 (python-nav-beginning-of-defun): New function.
1122 (python-close-block-statement-p)
1123 (python-block-end-p): Delete function.
1124 (python-info-closing-block): New function.
1125 (python-comint-output-filter-function)
1126 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1127 (python-fill-comment, python-fill-decorator, python-fill-paren)
1128 (python-fill-string, python-imenu-make-element-tree)
1129 (python-imenu-make-tree, python-imenu-tree-assoc)
1130 (python-indent-context, python-indent-dedent-line)
1131 (python-indent-line-function)
1132 (python-indent-post-self-insert-function)
1133 (python-indent-toggle-levels)
1134 (python-info-assignment-continuation-line-p)
1135 (python-info-beginning-of-backlash)
1136 (python-info-block-continuation-line-p)
1137 (python-info-closing-block-message)
1138 (python-info-line-ends-backslash-p)
1139 (python-info-looking-at-beginning-of-defun)
1140 (python-info-ppss-context, python-info-ppss-context-type)
1141 (python-nav-list-defun-positions, python-nav-read-defun)
1142 (python-nav-sentence-end, python-nav-sentence-start)
1143 (python-pdbtrack-comint-output-filter-function)
1144 (python-pdbtrack-set-tracked-buffer)
1145 (python-shell-calculate-exec-path)
1146 (python-shell-calculate-process-environment)
1147 (python-shell-completion--do-completion-at-point)
1148 (python-shell-completion--get-completions)
1149 (python-shell-completion-complete-at-point)
1150 (python-shell-completion-complete-or-indent)
1151 (python-shell-get-or-create-process)
1152 (python-shell-get-process-name)
1153 (python-shell-internal-get-or-create-process)
1154 (python-shell-internal-get-process-name)
1155 (python-shell-internal-send-string, python-shell-make-comint)
1156 (python-shell-parse-command, python-shell-send-setup-code)
1157 (python-skeleton-add-menu-items)
1158 (python-util-clone-local-variables, python-util-position)
1159 (run-python-internal, python-indentation-levels)
1160 (python-nav-beginning-of-defun)
1161 (python-completion-complete-at-point): New functions.
1162 (run-python): Change arguments. New API requirements.
1163
4302f5ba
SM
11642012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1165
f38ea36d
SM
1166 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1167 (bug#11649).
1168
1169 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1170 (macroexp--expand-all): Use it.
1171
4302f5ba
SM
1172 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1173 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1174 Use `cl-function' instead.
1175
33377562
JB
11762012-06-14 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1179 Suggested by Stefan Monnier while discussing bug#11657.
1180
54c5ba1a
SS
11812012-06-14 Sam Steingold <sds@gnu.org>
1182
1183 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1184
f9f1b1fe
AS
11852012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1186
1187 * play/doctor.el (doctor-doc): Remove parameter and use
1188 doctor-sent instead of sent.
1189 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1190
a81068ba
SM
11912012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1192
5a315f9c
SM
1193 * files.el: Require cl-lib.
1194 (file-name-non-special): Replace case -> cl-case.
1195
1196 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1197
a81068ba
SM
1198 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1199 mapping from #' to function*.
1200
8cca9703
CY
12012012-06-13 Chong Yidong <cyd@gnu.org>
1202
1203 * mouse.el (mouse-drag-track): Do not set the mark if the user
1204 releases the mouse without selecting anything (Bug#11588).
1205
a12ac9d7
SM
12062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1207
ccf1dc18
SM
1208 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1209 as well (bug#11646).
1210
ef62b23d
SM
1211 * loadup.el: Count byte-code functions as well.
1212
c4c8444a
SM
1213 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1214 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1215
a12ac9d7
SM
1216 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1217 (bug#11649). Add cl-defun and cl-defmacro.
1218
87e6e64f
DA
12192012-06-13 Drew Adams <drew.adams@oracle.com>
1220
1221 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1222 Fix last change.
1223
682cefaf
MA
12242012-06-13 Michael Albinus <michael.albinus@gmx.de>
1225
1226 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1227 Otherwise, it blocks in batch mode.
1228
773e1f08
JB
12292012-06-13 Juanma Barranquero <lekktu@gmail.com>
1230
1231 * help-mode.el (bookmark-make-record-default): Declare.
1232
60057926
CY
12332012-06-13 Chong Yidong <cyd@gnu.org>
1234
1235 * emacs-lisp/package.el (list-packages): Compute a list of
1236 packages that are newly-available since the last list-packages
1237 invocation.
1238 (package-menu--new-package-list): New var.
1239 (package-menu--generate, package-menu--print-info)
1240 (package-menu--status-predicate, package-menu-mark-install):
1241 Handle new status label "new".
1242
ad4d226c
SM
12432012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1246 conversion to backquotes.
1247
f1a4e679
CY
12482012-06-12 Chong Yidong <cyd@gnu.org>
1249
1250 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1251 Rename from gud-inhibit-global-bindings.
1252
1253 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1254
1255 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1256 hook from nxml-glyph-set-hook.
1257
1258 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1259 declaration.
1260
1261 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1262
1263 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1264 Convert to defcustom.
1265
0c9e42b5
DA
12662012-06-12 Drew Adams <drew.adams@oracle.com>
1267
1268 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1269 New functions.
1270 (help-mode): Use them.
1271
09e06855
GM
12722012-06-11 Glenn Morris <rgm@gnu.org>
1273
1274 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1275 Use preprocessor face for directives.
1276 (fortran-directive-re): Doc fix.
1277
71adb94b
SM
12782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1279
2eb87922
SM
1280 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1281 conversion to backquotes (bug#11652).
1282
71adb94b
SM
1283 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1284 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1285 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1286 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1287 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1288 (cl-ninth, cl-tenth): Mark them as inlinable.
1289 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1290 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1291 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1292 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1293 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1294 (cl-list*, cl-adjoin): Don't put an autoload manually.
1295 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1296 (cl--compiler-macro-list*): Add autoload cookie.
1297 (cl--compiler-macro-cXXr): New function.
2eb87922 1298
71adb94b
SM
1299 * help-fns.el (help-fns--compiler-macro): New function extracted from
1300 describe-function-1; follow aliases and use `compiler-macro' property.
1301 (describe-function-1): Use it.
1302
a6674402
CY
13032012-06-11 Chong Yidong <cyd@gnu.org>
1304
1305 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1306 is uninstalled, if imagemagick is installed.
1307
bb3faf5b
SM
13082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * emacs-lisp/cl-lib.el: Use lexical-binding.
1311 (cl-map-extents, cl-maclisp-member): Remove.
1312 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1313 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1314 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1315 * emacs-lisp/cl-extra.el: Use lexical-binding.
1316 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1317 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1318 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1319 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1320 * emacs-lisp/cl-seq.el: Use lexical-binding.
1321 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1322 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1323 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1324 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1325 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1326 CL's internals.
1327
2fe4b125
MA
13282012-06-11 Michael Albinus <michael.albinus@gmx.de>
1329
1330 Sync with Tramp 2.2.6-pre.
1331
1332 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1333 `print-length' and `print-level' to nil, in order to avoid
1334 truncation. Reported by Christopher Schmidt
1335 <christopher@ristopher.com>.
1336
1337 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1338
1339 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1340 New defmacro.
1341 (tramp-compat-copy-directory): Add optional argument
1342 COPY-CONTENTS. It is not handled yet.
1343
1344 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1345 (tramp-ftp-file-name-p): Simplify.
1346
1347 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1348 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1349 connection vector.
1350
1351 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1352 (tramp-methods): Do not use `tramp-password-end-of-line'.
1353 (tramp-completion-function-alist-putty): Handle UNIX case.
1354 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1355 (tramp-do-file-attributes-with-stat)
1356 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1357 gid as real numbers. They could run out of integer range on cygwin.
1358 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1359 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1360 (tramp-open-connection-setup-interactive-shell):
1361 Use `tramp-cleanup'. Move check for busyboxes ...
1362 (tramp-find-shell): ... here. Simplify implementation.
1363 Set "remote-shell" property also for alternative shells.
1364 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1365 If failing, a regular file would be written otherwise.
1366 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1367 (tramp-find-inline-encoding): Cache the coding commands in the
1368 process cache. Apply test command on the remote side, if defined.
1369 (tramp-find-inline-compress): Cache the compress commands in the
1370 process cache.
1371 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1372 when requested. Handle hops.
1373 (tramp-current-connection): New defvar.
87e6e64f
DA
1374 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1375 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1376 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1377 (tramp-get-inline-compress, tramp-get-inline-coding):
1378 Read connection properties from the process cache.
2fe4b125
MA
1379
1380 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1381 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1382 New defconsts.
2fe4b125
MA
1383 (tramp-smb-prompt): Extend for powershell prompt.
1384 (tramp-smb-file-name-handler-alist): Add handlers for
1385 `process-file', `shell-command' and `start-file-process'.
1386 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1387 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1388 (tramp-smb-file-name-p): Simplify.
1389 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1390 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1391 (tramp-smb-shell-quote-argument): New defuns.
1392 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1393 Implement using "tar". By this, time-stamps are preserved.
1394 (tramp-smb-handle-copy-file): Handle also the case of directories.
1395 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1396 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1397 Use `tramp-get-connection-buffer').
2fe4b125
MA
1398 (tramp-smb-handle-rename-file): Use "rename", when source and
1399 target are on the same share.
87e6e64f
DA
1400 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1401 Use `tramp-smb-server-version'.
2fe4b125
MA
1402 (tramp-smb-wait-for-output): Remove prompt.
1403
1404 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1405 (tramp-methods, tramp-rsh-end-of-line):
1406 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1407 (tramp-save-ad-hoc-proxies): New defcustom.
1408 (tramp-completion-function-alist): Adapt docstring.
1409 (tramp-default-password-end-of-line): Remove defcustom.
1410 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1411 (tramp-user-regexp, tramp-file-name-regexp-unified)
1412 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1413 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1414 (tramp-remote-file-name-spec-regexp): New defconst.
1415 (tramp-file-name-structure): Extend structure for hops.
1416 (tramp-get-method-parameter): Move up.
1417 (tramp-file-name-p, tramp-dissect-file-name)
1418 (with-parsed-tramp-file-name): Handle hops.
1419 (tramp-file-name-hop): New defun.
1420 (tramp-make-tramp-file-name): New optional arg HOP.
1421 (tramp-message-show-progress-reporter-message): New defvar.
1422 (tramp-with-progress-reporter): Use it. We cannot use
1423 `tramp-message-show-message' here, because this suppresses also
1424 error buffers.
1425 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1426 `tramp-message-show-message' is nil.
1427 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1428 (tramp-cleanup): New defun.
1429 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1430 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1431 an error unchanged.
1432 (tramp-completion-handle-file-name-all-completions): Handle hops.
1433 Fix an error when called from ido.
1434 (tramp-completion-dissect-file-name): Use better local variable
1435 name. Add hop to the vector.
1436 (tramp-handle-insert-file-contents): Use progress-reporter for the
1437 whole scenario.
1438 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1439 to `t'.
1440 (tramp-check-for-regexp): Simplify search.
1441 (tramp-enter-password): Remove it. Move implementation ...
1442 (tramp-action-password): ... here.
1443 (tramp-mode-string-to-int, tramp-local-host-p)
1444 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1445 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1446 Set tramp-autoload cookie.
2fe4b125
MA
1447
1448 * net/trampver.el: Update release number.
1449
14502012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1451 Michael Albinus <michael.albinus@gmx.de>
1452
1453 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1454 (tramp-parse-group, tramp-parse-file)
1455 (tramp-parse-shostkeys-sknownhosts): New defuns.
1456 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1457 (tramp-parse-shosts-group, tramp-parse-sconfig)
1458 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1459 (tramp-parse-sknownhosts, tramp-parse-hosts)
1460 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1461 Use them.
1462 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1463 (tramp-parse-putty-group): Don't narrow.
1464 (tramp-parse-putty): Make a loop.
1465 (tramp-file-name-handler): Catch the `suppress' signal.
1466
72834e10
CY
14672012-06-11 Chong Yidong <cyd@gnu.org>
1468
1469 * image.el (imagemagick-register-types): Put the ImageMagick entry
1470 at the end of image-type-file-name-regexps.
1471
a4712e11
JB
14722012-06-11 Johan Bockgård <bojohan@gnu.org>
1473
1474 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1475 (pcase, pcase-let*, pcase-dolist): Use them.
1476
82ad98e3
SM
14772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * emacs-lisp/pcase.el (pcase--let*): New function.
1480 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1481 (pcase--expand): Use macroexp-let².
1482
f80efb86
SM
14832012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1486 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1487 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1488 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1489 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1490 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1491
31ca4639 14922012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1493
31ca4639
CY
1494 * mail/rmail.el (rmail-yank-current-message): Leave point at
1495 correct position. (Bug#11660)
94f0aa34 1496
31ca4639 14972012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1498
31ca4639 1499 * allout-widgets.el: Fix code header.
9e1b8ec4 1500
31ca4639 15012012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1502
f80efb86
SM
1503 * cus-edit.el (customize-changed-options-previous-release):
1504 Bump to 24.1.
31ca4639 1505
642b6d30
AS
15062012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1507
1508 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1509
4f5d2ba1
CY
15102012-06-09 Chong Yidong <cyd@gnu.org>
1511
1512 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1513
e75852fd
MR
15142012-06-09 Martin Rudalics <rudalics@gmx.at>
1515
1516 * window.el (special-display-popup-frame): Don't use
1517 window--display-buffer (Bug#11651).
1518
1e48e282
EZ
15192012-06-09 Eli Zaretskii <eliz@gnu.org>
1520
8a26b487
EZ
1521 Fix parallel builds: make sure loaddefs.el is not being written
1522 while Lisp files are compiled.
1523 (compile): Don't depend on 'mh-autoloads'.
1524 (compile-CMD, compile-SH): Depend on 'autoloads'.
1525 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1526
1e48e282
EZ
1527 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1528
6175e34b
CY
15292012-06-09 Chong Yidong <cyd@gnu.org>
1530
1531 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1532 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1533 Doc fixes (Bug#11225).
1534
d9857e53
SM
15352012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1538 a function if there's a clear indication that it has a compiler-macro.
1539 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1540 (macro-declarations-alist): Add arglist to declaration functions.
1541 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1542 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1543 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1544 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1545 Also add autoload to find the compiler macro.
1546 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1547 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1548 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1549 (cl--compiler-macro-get): New functions, replacing calls to
1550 cl-define-compiler-macro.
1551 (cl-typep) [compiler-macro]: Use macroexp-let².
1552
f81298f8 15532012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1554
1555 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1556 string properly, fixes Bug#11473.
1557
4b56d0fe
CY
15582012-06-08 Chong Yidong <cyd@gnu.org>
1559
1560 * faces.el (set-face-attribute): Doc fix.
1561 (modify-face): Don't use :bold and :italic.
1562 (error, warning, success): Tweak definitions.
1563
1564 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1565 (custom-modified, custom-set, custom-changed, custom-themed)
1566 (custom-saved, custom-button, custom-button-mouse)
1567 (custom-button-pressed, custom-state, custom-comment-tag)
1568 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1569 (custom-group-subtitle): Use new-style face specs.
1570 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1571 (custom-set-face, custom-changed-face, custom-saved-face)
1572 (custom-button-face, custom-button-pressed-face)
1573 (custom-documentation-face, custom-state-face)
1574 (custom-comment-face, custom-comment-tag-face)
1575 (custom-variable-tag-face, custom-variable-button-face)
1576 (custom-face-tag-face, custom-group-tag-face-1)
1577 (custom-group-tag-face): Remove obsolete face alias.
1578
1579 * epa.el (epa-validity-high, epa-validity-medium)
1580 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1581 (epa-field-name, epa-field-body):
1582 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1583 (font-lock-keyword-face, font-lock-builtin-face)
1584 (font-lock-function-name-face, font-lock-variable-name-face)
1585 (font-lock-type-face, font-lock-constant-face):
1586 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1587 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1588 * speedbar.el (speedbar-button-face, speedbar-file-face)
1589 (speedbar-directory-face, speedbar-tag-face)
1590 (speedbar-selected-face, speedbar-highlight-face)
1591 (speedbar-separator-face):
1592 * whitespace.el (whitespace-newline, whitespace-space)
1593 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1594 (whitespace-line, whitespace-space-before-tab)
1595 (whitespace-space-after-tab, whitespace-indentation)
1596 (whitespace-empty):
1597 * emulation/cua-base.el (cua-global-mark):
1598 * eshell/em-prompt.el (eshell-prompt):
1599 * net/newst-plainview.el (newsticker-new-item-face)
1600 (newsticker-old-item-face, newsticker-immortal-item-face)
1601 (newsticker-obsolete-item-face, newsticker-date-face)
1602 (newsticker-statistics-face, newsticker-default-face):
1603 * net/newst-reader.el (newsticker-feed-face)
1604 (newsticker-extra-face, newsticker-enclosure-face):
1605 * net/newst-treeview.el (newsticker-treeview-face)
1606 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1607 (newsticker-treeview-immortal-face)
1608 (newsticker-treeview-obsolete-face)
1609 (newsticker-treeview-selection-face):
1610 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1611 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1612 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1613 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1614 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1615 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1616 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1617 (mpuz-text):
1618 * progmodes/vera-mode.el (vera-font-lock-number)
1619 (vera-font-lock-function, vera-font-lock-interface):
1620 * textmodes/table.el (table-cell): Use new-style face specs, and
1621 don't use the old :bold and :italic attributes.
1622
1623 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1624 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1625 (ebrowse-member-class, ebrowse-progress): Likewise.
1626 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1627 (ebrowse-file-name-face, ebrowse-default-face)
1628 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1629 (ebrowse-progress-face): Remove obsolete faces.
1630
1631 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1632 Inherit from error and warning faces respectively.
1633
1634 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1635 Likewise.
f80efb86
SM
1636 (flyspell-incorrect-face, flyspell-duplicate-face):
1637 Remove obsolete aliases.
4b56d0fe 1638
03310646
MA
16392012-06-08 Michael Albinus <michael.albinus@gmx.de>
1640
1641 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1642 Avoid infloop.
1643
513749ee
SM
16442012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * startup.el (argv, argi): Make lexically scoped.
1647 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1648 * emacs-lisp/cl-macs.el: Use lexical-binding.
1649 Rename cl-bind-* to cl--bind-*.
1650 * files.el: Don't require `cl' since it doesn't use it.
1651 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1652
595ef4ad
JB
16532012-06-08 Juanma Barranquero <lekktu@gmail.com>
1654
1655 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1656 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1657 instead of calling external sort utility.
1658 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1659
e9f66fcb
EZ
16602012-06-08 Eli Zaretskii <eliz@gnu.org>
1661
1662 * descr-text.el (describe-char): Mention how to insert the
1663 character, if the current input method doesn't support it.
1664 See the discussion in this thread for the details:
1665 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1666
3d10db47
SS
16672012-06-08 Sam Steingold <sds@gnu.org>
1668
1669 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1670 XF86Back to previous-buffer.
1671 (minibuffer-local-map): Bind them to next-history-element and
1672 previous-history-element respectively.
1673 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1674 help-go-back respectively.
1675 * info.el (Info-mode-map): Bind them to Info-history-forward and
1676 Info-history-back respectively.
1677 These are the keys next to Up on the ThinkPad keyboard.
1678
de7e2b36
SM
16792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1682 * emacs-lisp/cl-macs.el: Provide itself.
1683 (cl--labels-convert-cache): New var.
1684 (cl--labels-convert): New function.
1685 (cl-flet, cl-labels): New implementation with new semantics, relying on
1686 lexical-binding.
1687 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1688 (cl-closure-vars, cl--function-convert-cache)
1689 (cl--function-convert): Move from cl-macs.el.
1690 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1691 rename by removing the "cl-" prefix.
1692 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1693
6fa6c4ae
SM
16942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1695
1696 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1697 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1698 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1699 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1700 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1701 (cl-hash-table-count): Add old compatibility aliases.
1702
1703 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1704 Use macroexpand-all-environment instead.
1705 (cl--old-macroexpand): New var.
1706 (cl--sm-macroexpand): New function.
1707 (cl-symbol-macrolet): Use it during macro expansion.
1708 (cl--function-convert-cache): New var.
1709 (cl--function-convert): New function, extracted from
1710 cl-macroexpand-all.
1711 (cl-lexical-let): Use it.
1712
1713 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1714 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1715 (cl-member): Remove old alias.
1716
1717 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1718 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1719 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1720 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1721 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1722 (cl-macroexpand-cmacs): Remove var.
1723 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1724 Use macroexpand-all instead.
1725
4dd1c416
SM
17262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1729 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1730 (macroexp-copyable-p): New functions and macros.
1731 * emacs-lisp/edebug.el (edebug-unwrap):
1732 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1733 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1734 (pcase--let*): Remove.
1735 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1736 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1737 macroexp-const-p instead.
1738 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1739
1740 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1741 instead of "cl-" for internal definitions. Use macroexp-const-p.
1742 (cl-old-bc-file-form): Remove var.
1743 (cl-const-exprs-p): Remove fun.
1744 (cl-labels, cl-macrolet): Use backquote.
1745 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1746 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1747 (cl-define-setf-expander): Rename from cl-define-setf-method.
1748 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1749
1750 * international/mule-cmds.el: Don't require CL.
1751 (view-hello-file): Don't use `letf'.
1752
ed8bd4d7
SM
17532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1754
7287f2f3
SM
1755 * tmm.el (tmm-prompt): Use string-prefix-p.
1756 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1757 (tmm-add-prompt): Use minibuffer-completion-help.
1758 (tmm-delete-map): Remove.
1759
ed8bd4d7
SM
1760 * subr.el (kbd): Make it its own function.
1761
7b4cdbf4
SM
17622012-06-07 Stefan Merten <smerten@oekonux.de>
1763
1764 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1765 Silence compiler warnings. Fix versions.
ed8bd4d7 1766 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1767 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1768 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1769 (rst-package-emacs-version-alist): Correct Emacs version to
1770 represent major merge with upstream.
ed8bd4d7 1771 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1772
2b48d721
GM
17732012-06-06 Glenn Morris <rgm@gnu.org>
1774
1775 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1776 Only print environment variables if set.
1777
fa779ab0
SM
17782012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1781 (macroexp--cons): Rename from maybe-cons.
1782 (macroexp--accumulate): Rename from macroexp-accumulate.
1783 (macroexp--all-forms): Rename from macroexpand-all-forms.
1784 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1785 (macroexp--expand-all): Rename from macroexpand-all-1.
1786
628299e0
SS
17872012-06-06 Sam Steingold <sds@gnu.org>
1788
1789 * calendar/calendar.el (calendar-in-read-only-buffer):
1790 Call `special-mode' to enable the standard read-only keybindings.
1791
b7bb5838
SM
17922012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1795 with "loading" messages (bug#11635).
1796
dfb308ba
MA
17972012-06-06 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * files.el (enable-remote-dir-locals): New option.
1800 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1801
0372ee92
MA
1802 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1803 Ensure, that the temp directory is local.
1804
1805 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1806 `temporary-file-directory'.
1807
eed0bb91
MA
1808 * progmodes/python.el (python-send-region): Ensure, that the
1809 temporary file is created also in the remote case.
1810
7a58f64d
GM
18112012-06-06 Glenn Morris <rgm@gnu.org>
1812
f7dd4e98
GM
1813 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1814 (vc-rcs-update-changelog): Use it.
1815
090bd7cb 1816 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1817
7a58f64d
GM
1818 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1819 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1820 (vc-sccs-diff): Replace use of the external vcdiff script.
1821
daed4003
GM
18222012-06-05 Glenn Morris <rgm@gnu.org>
1823
1824 * ledit.el: Move to obsolete/.
1825
48c455c7
SS
18262012-06-05 Sam Steingold <sds@gnu.org>
1827
ed9265fc 1828 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
1829 patch (Bug#11140).
1830
57a7d507
SM
18312012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1832
090bd7cb 1833 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1834
53aacf21
SM
1835 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1836 compiler-macro expansion.
1837
57a7d507
SM
1838 Add native compiler-macro support.
1839 * emacs-lisp/macroexp.el (macroexpand-all-1):
1840 Support compiler-macros directly. Properly follow aliases and apply
1841 the compiler macros more thoroughly.
1842 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1843 macroexpand now properly follows aliases.
1844 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1845 (cl-compiler-macroexpand): Use new prop.
1846 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1847
1848 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1849
51a5f9d8
MR
18502012-06-05 Martin Rudalics <rudalics@gmx.at>
1851
1852 * window.el (get-lru-window, get-mru-window, get-largest-window):
1853 New argument NOT-SELECTED to avoid picking the selected window.
1854 (window--display-buffer-1, window--display-buffer-2): Replace by
1855 new function window--display-buffer
1856 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1857 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1858 Use window--display-buffer.
51a5f9d8
MR
1859 (display-buffer-use-some-window): Remove temporary dedication
1860 hack by calling get-lru-window and get-largest-window with
1861 NOT-SELECTED argument non-nil. Call window--display-buffer.
1862
08f9f738
GM
18632012-06-05 Glenn Morris <rgm@gnu.org>
1864
1865 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1866 Replace external vcdiff script.
1867
e364a2b7
SM
18682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1871
041df390
CY
18722012-06-04 Chong Yidong <cyd@gnu.org>
1873
e364a2b7
SM
1874 * image.el (imagemagick-types-inhibit): Revert last change.
1875 Add INFO and M.
47b36b94 1876 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1877
7c1898a7
SM
18782012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * emacs-lisp/cl-lib.el: Rename from cl.el.
1881 * emacs-lisp/cl.el: New compatibility file.
1882 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1883 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1884 to obey the "cl-" prefix.
1885 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1886
0c3461de
GM
18872012-06-03 Glenn Morris <rgm@gnu.org>
1888
1e266c88
GM
1889 * emacs-lisp/authors.el (authors-aliases): Addition.
1890
0c3461de
GM
1891 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1892 Fix :version.
1893
d8a52e15
SM
18942012-06-03 Stefan Merten <smerten@oekonux.de>
1895
1896 * textmodes/rst.el: Add comments.
1897 (rst-transition, rst-adornment): New faces.
1898 (rst-adornment-faces-alist): Make default safe to reevaluate.
1899 Fixes
1900 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1901 Improve customization tags.
1902 (rst-define-level-faces): Clarify meaning.
1903
5205d6f6
CY
19042012-06-03 Chong Yidong <cyd@gnu.org>
1905
1906 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1907 (compilation-mode-line-run, compilation-mode-line-exit):
1908 New faces.
5205d6f6
CY
1909 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1910
757ee657
JD
19112012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1912
7c1898a7
SM
1913 * progmodes/which-func.el (which-func-update-ediff-windows):
1914 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1915
5f2c76c6
CY
19162012-06-03 Chong Yidong <cyd@gnu.org>
1917
1918 * bindings.el: Remove explicit help text from format-mode-line.
1919 It is now supplied by mode-line-default-help-echo.
1920 (mode-line-front-space, mode-line-end-spaces)
1921 (mode-line-misc-info): New variables.
1922 (mode-line-modes, mode-line-position): Move the default value to
1923 the variable definition.
1924 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1925 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1926 (mode-line-modified-help-echo): New functions.
1927 (mode-line-mule-info, mode-line-modified): Use them.
1928 (mode-line-eol-desc, propertized-buffer-identification):
1929 Consistency fixes for help text.
cbe46e5f
CY
1930 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1931 set-buffer-file-coding-system (Bug#289).
1932 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1933
f2d6a3df
SM
19342012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * simple.el (execute-extended-command): Set real-this-command
1937 (bug#11506).
1938
37269466
CY
19392012-06-02 Chong Yidong <cyd@gnu.org>
1940
1941 Remove incorrect uses of "modeline" in comments, docstrings, and
1942 function/variable names (Bug#10329).
1943
1944 * cus-edit.el (mode-line):
1945 * dframe.el (dframe-mouse-hscroll):
1946 * emacs-lisp/re-builder.el:
1947 * emacs-lisp/easy-mmode.el (define-minor-mode):
1948 * frame.el (set-frame-name):
1949 * help.el (lookup-minor-mode-from-indicator):
1950 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1951 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1952 (c-toggle-hungry-state):
1953 * progmodes/antlr-mode.el (antlr-language-alist):
1954 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1955 * progmodes/vhdl-mode.el (vhdl-mode):
1956 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1957 * term/ns-win.el (ns-face-at-pos):
1958 * term/sup-mouse.el (sup-mouse-report):
1959 * textmodes/flyspell.el (flyspell-mode-line-string):
1960 * textmodes/ispell.el (ispell-highlight-face):
1961 * textmodes/reftex-global.el:
1962 * vc/vc-arch.el (vc-arch-mode-line-string):
1963 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1964 * vc/vc-git.el (vc-git-mode-line-string):
1965 * vc/vc-hooks.el (vc-display-status)
1966 (vc-default-mode-line-string):
1967 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1968
1969 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1970
1971 * dired.el (dired-sort-set-mode-line): Rename from
1972 dired-sort-set-modeline. All callers changed.
1973
1974 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1975 eshell-status-in-modeline.
1976
1977 * foldout.el (foldout-mode-line-string): Rename from
1978 foldout-modeline-string. All callers changed.
1979 (foldout-update-mode-line): Rename from foldout-update-modeline.
1980
1981 * subr.el (redraw-modeline): Make into obsolete alias.
1982
1983 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1984 timeclock-modeline-display. Make old name an alias.
1985 (timeclock-update-mode-line): Likewise. All callers changed.
1986 (timeclock-mode-line-display): No need to check before using
1987 add-hook.
1988 (timeclock-relative, timeclock-day-over-hook)
1989 (timeclock-use-elapsed, timeclock-mode-string)
1990 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1991
1992 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1993 crisp-mode-modeline-string.
1994
1995 * play/solitaire.el (solitaire-build-mode-line): Rename from
1996 solitaire-build-modeline. All callers changed.
1997
1998 * play/zone.el (zone-hiding-mode-line): Rename from
1999 zone-hiding-modeline. All callers changed.
2000 (zone): Remove unusued `modeline-hidden-level' property.
2001
2002 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2003 xscheme-modeline-initialize. All callers changed.
2004
2005 * strokes.el (strokes-lighter): Rename from
2006 strokes-modeline-string.
2007
2008 * textmodes/sgml-mode.el (html-face-tag-alist)
2009 (html-tag-face-alist): Use mode-line face instead of obsolete
2010 alias modeline.
2011
42152ee4
SM
20122012-06-02 Stefan Merten <smerten@oekonux.de>
2013
2014 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2015 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2016
95f520b5
CY
20172012-06-02 Chong Yidong <cyd@gnu.org>
2018
2019 * image.el (imagemagick-enabled-types): Rename from
2020 imagemagick-types-enable. Add many more types.
2021 (imagemagick-types-inhibit): Change default to nil.
2022 (imagemagick-filter-types): Caller changed.
2023
4a5f187a
SM
20242012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2025
03fef3e6
SM
2026 * emacs-lisp/cl-macs.el: Use backquotes.
2027 (cl-transform-function-property): Use eval-and-compile rather than
2028 abusing `require'.
2029 (defstruct): Use declare-function instead of with-no-warnings.
2030
4a5f187a
SM
2031 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2032 (byte-compile-output-docform): Re-add the print-circle bindings.
2033 (byte-compile-fix-header): Use #$ just because it's shorter.
2034 (byte-compile-output-file-form): Remove defun/defmacro.
2035
bd56924f
MR
20362012-06-01 Martin Rudalics <rudalics@gmx.at>
2037
2038 * simple.el (choose-completion): Remove now obsolete binding for
2039 owindow.
2040
046e38ce
MA
20412012-06-01 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2044 in order to avoid "Stack overflow in regexp matcher".
2045
32d72c2f
GM
20462012-05-31 Glenn Morris <rgm@gnu.org>
2047
2048 * image.el: For clarity, call imagemagick-register-types at
2049 top-level, rather than relying on a custom :initialize.
2050 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2051 (imagemagick-filter-types): New function. (Bug#7406)
2052 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2053 If disabling support, remove elements altogether rather
2054 than using an impossible regexp.
2055 (imagemagick-types-inhibit): Give it the default init function.
2056
dd41169b
SM
20572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2058
4a5f187a
SM
2059 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2060 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2061
efc00ab1 20622012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2063
2064 * desktop.el (desktop-read): Clear previous and next buffers for
2065 all windows and bury *Messages* buffer (bug#11556).
2066
500fcedc
SM
20672012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 Add `declare' for `defun'. Align `defmacro's with it.
2070 * emacs-lisp/easy-mmode.el (define-minor-mode)
2071 (define-globalized-minor-mode): Don't autoload the var definitions.
2072 * emacs-lisp/byte-run.el: Use lexical-binding.
2073 (defun-declarations-alist, macro-declarations-alist): New vars.
2074 (defmacro, defun): Use them.
2075 (make-obsolete, define-obsolete-function-alias)
2076 (make-obsolete-variable, define-obsolete-variable-alias):
2077 Use `declare'.
2078 (macro-declaration-function): Mark obsolete.
2079 * emacs-lisp/autoload.el: Use lexical-binding.
2080 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2081
6e8a1786
AM
20822012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2083
2084 * textmodes/ispell.el (ispell-with-no-warnings):
2085 Define as a macro.
500fcedc
SM
2086 (ispell-kill-ispell, ispell-change-dictionary):
2087 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2088 `interactive-p'.
2089
61b108cc
SM
20902012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2093 (macro-declaration-function): Move var from C code.
2094 (macro-declaration-function): Define function with defalias.
2095 * emacs-lisp/macroexp.el (macroexpand-all-1):
2096 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2097 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2098 defun/defmacro any more.
2099 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2100 Provide fallback for unknown arglist.
2101 (byte-compile-arglist-warn): Change calling convention.
2102 (byte-compile-output-file-form): Move print-vars binding.
2103 (byte-compile-output-docform): Simplify accordingly.
2104 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2105 (byte-compile-defmacro-declaration): Remove.
2106 (byte-compile-file-form-defmumble): Generalize to defalias.
2107 (byte-compile-output-as-comment): Return byte-positions.
2108 Simplify callers accordingly.
2109 (byte-compile-lambda): Use `assert'.
2110 (byte-compile-defun, byte-compile-defmacro): Remove.
2111 (byte-compile-file-form-defalias):
2112 Use byte-compile-file-form-defmumble.
2113 (byte-compile-defalias-warn): Remove.
2114
6d3f7c2f
SM
21152012-05-29 Stefan Merten <smerten@oekonux.de>
2116
2117 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2118 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2119
2120 (rst-mode-abbrev-table): Merge definition.
2121 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2122 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2123
6dbaa1c7
UJ
21242012-05-29 Ulf Jasper <ulf.jasper@web.de>
2125
2126 * calendar/icalendar.el
2127 (icalendar-export-region): Export UID properly.
2128
d209e2fb 21292012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2130 * calendar/icalendar.el (icalendar-import-format):
2131 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2132 (icalendar-import-format-uid): New.
2133 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2134 Export UID.
2135
6876a58d
SM
21362012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2139 different alternative patterns.
2140 (pcase-codegen): Be more careful to preserve identity.
2141 (pcase--u1): Don't forget to mark vars as used.
2142
2143 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2144 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2145 (byte-compile-from-buffer): ...rather than here.
2146
2147 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2148 functions from byte-compile-function-environment.
2149
46b7967e
TN
21502012-05-29 Troels Nielsen <bn.troels@gmail.com>
2151
2152 * window.el (window-deletable-p): Avoid deleting the root window
2153 of a frame with an active minibuffer.
2154
69d565e2
MR
21552012-05-29 Martin Rudalics <rudalics@gmx.at>
2156
2157 * simple.el (choose-completion): Use quit-window (Bug#11567).
2158
a149fa51
CY
21592012-05-29 Chong Yidong <cyd@gnu.org>
2160
2161 * whitespace.el (whitespace-cleanup): Fix usage of
2162 whitespace-empty-at-bob-regexp (Bug#11492).
2163
2b311310
AH
21642012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2165
2166 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2167 revert (Bug#11488).
2168
b9cb2387
JL
21692012-05-29 Juri Linkov <juri@jurta.org>
2170
2171 * isearch.el (isearch-mode-map): Bind `M-s _' to
2172 `isearch-toggle-symbol'. Bind `M-s c' to
2173 `isearch-toggle-case-fold'.
2174 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2175 (isearch-forward): Add `M-s _' to the docstring.
2176 (isearch-forward-symbol, isearch-toggle-case-fold)
2177 (isearch-symbol-regexp): New functions. (Bug#11381)
2178
d5e61c1c
JL
21792012-05-29 Juri Linkov <juri@jurta.org>
2180
2181 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2182 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2183 a function, call it to get the regexp.
2184 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2185 property `isearch-message-prefix' instead of the string "word ".
2186 (isearch-search-fun-default): For the case of `isearch-word',
2187 return a lambda that calls re-search-forward/re-search-backward
2188 with a regexp returned by `word-search-regexp' or by the function
2189 in `isearch-word'.
2190
8cbd80f7
JL
21912012-05-29 Juri Linkov <juri@jurta.org>
2192
2193 * isearch.el (isearch-search-fun-default): New function.
2194 (isearch-search-fun): Move default part to the new function
2195 `isearch-search-fun-default'.
2196 (isearch-search-fun-function): Set the default value to
2197 `isearch-search-fun-default'. (Bug#11381)
2198
2199 * comint.el (comint-history-isearch-end):
2200 Use `isearch-search-fun-default'.
2201 (comint-history-isearch-search): Use `isearch-search-fun-default'
2202 and remove spacial case for `isearch-word'.
2203 (comint-history-isearch-wrap): Remove spacial case for
2204 `isearch-word'.
2205
2206 * hexl.el (hexl-isearch-search-function):
2207 Use `isearch-search-fun-default'.
2208
2209 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2210 Use `word-search-regexp' for `isearch-word'.
2211
2212 * misearch.el (multi-isearch-search-fun):
2213 Use `isearch-search-fun-default'.
2214
2215 * simple.el (minibuffer-history-isearch-search):
2216 Use `isearch-search-fun-default' and remove spacial case for
2217 `isearch-word'.
2218 (minibuffer-history-isearch-wrap): Remove spacial case for
2219 `isearch-word'.
2220
2221 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2222 Remove spacial case for `isearch-word'.
2223 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2224
85c8c5b6
AM
22252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2226
2227 Decrease XEmacs incompatibilities.
2228 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2229 Use `string-match'.
2230 (flyspell-delete-region-overlays): Use alternative definition for
2231 XEmacs.
2232 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2233 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2234 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2235 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2236 `define-obsolete-face-alias' under XEmacs, but old method.
2237
2238 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2239 `with-no-warnings' definition or Emacs alias.
2240 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2241 (ispell-word): Do not use `region-p' if XEmacs.
2242
8cab9efc
AM
22432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2244
2245 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2246 Check for `ispell-dictionary-base-alist' instead of full
2247 `ispell-dictionary-alist'.
2248 (ispell-init-process): Show spellchecker when starting new Ispell
2249 process.
2250
fda91268
RZ
22512012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2254 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2255
694ea8e3
JB
22562012-05-27 Juanma Barranquero <lekktu@gmail.com>
2257
2258 * version.el (motif-version-string, gtk-version-string)
2259 (ns-version-string): Declare.
2260
e4d4f539
JL
22612012-05-27 Juri Linkov <juri@jurta.org>
2262
2263 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2264 after the `eval-defun-1' specialcaseing
2265 like in `edebug-eval-defun' (bug#10181).
2266
2267 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2268 like in `eval-defun-1'.
2269
33017faf 22702012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2271
fda91268
RZ
2272 * mail/sendmail.el (mail-yank-region):
2273 Recognize rmail-yank-current-message in addition to insert-buffer.
2274 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2275 a *mail* buffer created through rmail-start-mail with sendmail as
2276 mail-user-agent.
2277
33017faf
GM
22782012-05-27 Chong Yidong <cyd@gnu.org>
2279
2280 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2281 Default to 256 (Bug#11267).
2282
2283 * help.el (describe-mode): Doc fix.
2284
04188bb9
GM
22852012-05-26 Glenn Morris <rgm@gnu.org>
2286
38264cc9
GM
2287 * w32-fns.el (w32-init-info): Remove.
2288 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2289
eb7afdad
GM
2290 * info.el (info-initialize): For self-contained NS builds, put the
2291 included info/ directory at the front. (Bug#2791)
2292
04188bb9
GM
2293 * paths.el (Info-default-directory-list): Make it a defcustom,
2294 mainly so that we can use custom-initialize-delay.
2295
a179e3f7
SM
22962012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2297
43416392
SM
2298 * subr.el (buffer-has-markers-at): Mark obsolete.
2299
a179e3f7 2300 * subr.el (lambda): Use declare.
43416392 2301
a179e3f7
SM
2302 * emacs-lisp/lisp-mode.el (lambda):
2303 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2304
34a008d9
AH
23052012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2306
2307 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2308
0a3b289f
GM
23092012-05-26 Glenn Morris <rgm@gnu.org>
2310
2311 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2312
758c81e8
GM
23132012-05-25 Glenn Morris <rgm@gnu.org>
2314
f9f334f0
GM
2315 * paths.el: Remove no-byte-compile.
2316 * loadup.el: No need to load paths.el uncompiled.
2317
87eb79c2
GM
2318 * image.el (imagemagick-types-inhibit): Doc fix.
2319
758c81e8
GM
2320 * version.el: Remove no-byte-compile and associated formatting.
2321 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2322 is ancient code from when there was an "inc-vers.el".
2323
e7e85dc0
SM
23242012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * progmodes/gdb-mi.el: Minor style changes.
2327 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2328 Turn into minor modes.
2329 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2330 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2331 (gdb-shell): Remove unneeded let-binding.
2332 (gdb-get-many-fields): Eliminate O(n²) behavior.
2333
f31237a4
EZ
23342012-05-25 Eli Zaretskii <eliz@gnu.org>
2335
2336 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2337 platforms that don't link in fontset.c.
2338
bc1b21bb
JL
23392012-05-25 Juri Linkov <juri@jurta.org>
2340
2341 Use the same diff color scheme as in modern VCSes (bug#10181).
2342
2343 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2344 to avoid confusion with `diff-added' that now uses green colors.
2345 (diff-removed): Use shades of red.
2346 (diff-added): Use shades of green.
2347 (diff-changed): Leave just the yellow color.
2348 (diff-use-changed-face): New variable.
2349 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2350 how to highlight context diff changes.
2351 (diff-refine-change): Use shades of yellow.
2352 (diff-refine-removed): New face that uses shades of red.
2353 (diff-refine-added): New face that uses shades of green.
2354 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2355 `diff-refine-removed' in the call to `smerge-refine-subst'
2356 depending on the value of `diff-use-changed-face'.
2357
2358 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2359 (smerge-other): Use shades of green.
2360 (smerge-base): Use shades of yellow.
2361 (smerge-refined-change): Empty face.
2362 (smerge-refined-removed): New face that uses shades of red.
2363 (smerge-refined-added): New face that uses shades of green.
2364 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2365 args `props-r' and `props-a', and use them. Doc fix.
2366 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2367 on its value use different faces `smerge-refined-change',
2368 `smerge-refined-removed', `smerge-refined-added' in the call to
2369 `smerge-refine-subst'.
2370
2371 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2372 Add face condition `min-colors 88' with shades of red.
2373 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2374 `min-colors 88' with shades of green.
2375 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2376 `min-colors 88' with shades of yellow.
2377
6df9112c
GM
23782012-05-24 Glenn Morris <rgm@gnu.org>
2379
ead5edc0
GM
2380 * paths.el (prune-directory-list, remote-shell-program): Move to...
2381 * files.el (prune-directory-list, remote-shell-program): ...here.
2382 For the latter, delay initialization, prefer ssh, just search PATH.
2383
f18b81e6
GM
2384 * paths.el (term-file-prefix): Move to faces.el (the only user).
2385 * faces.el (term-file-prefix): Move here, make it a defcustom.
2386
ee2f89a6
GM
2387 * paths.el (news-directory, news-path, news-inews-program):
2388 Move to gnus/nnspool.el.
61a583ca 2389
f8815e4c
GM
2390 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2391
c8f3b42c
GM
2392 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2393 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2394 Make the latter a defcustom, with a delayed initialization.
2395
6df9112c
GM
2396 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2397 These were deleted from Gnus itself late 2010.
2398
5dadff36
JB
23992012-05-22 Juanma Barranquero <lekktu@gmail.com>
2400
9e1701c6
JB
2401 * progmodes/which-func.el (which-func-ff-hook):
2402 Check against user-error, not error.
2403
bd7239f5 2404 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2405 cl-specs.el, which no longer exists.
2406
3290526d
GM
24072012-05-22 Glenn Morris <rgm@gnu.org>
2408
2409 * info.el (info-emacs-bug): New command.
2410 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2411 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2412
ff0c3cfb
GM
24132012-05-21 Glenn Morris <rgm@gnu.org>
2414
2415 * makefile.w32-in (update-subdirs-SH):
2416 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2417
5814f126
SM
24182012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2419
a52c0aa0
SM
2420 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2421
5814f126
SM
2422 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2423 Simplify Maven regexp, and make sure the file can't start with a space
2424 (bug#11517).
2425
b847032c
GM
24262012-05-21 Glenn Morris <rgm@gnu.org>
2427
2428 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2429 Scrap superfluous subshells.
2430
3858bfe7
SM
24312012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2434 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2435
d14b0029
JB
24362012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2437
2438 * calc/calc.el (calc-ensure-consistent-units): New variable.
2439
a52c0aa0
SM
2440 * calc/calc-units.el (math-consistent-units-p)
2441 (math-check-unit-consistency): New functions.
2442 (calc-quick-units, calc-convert-units):
2443 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2444 is non-nil.
d14b0029
JB
2445 (calc-extract-units): Fix typo.
2446
60c4db3a
SM
24472012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2448
77f3b62e
SM
2449 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2450
60c4db3a
SM
2451 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2452 (flyspell-default-deplacement-commands): Don't spell check after
2453 repeated window/frame switches (e.g. triggered by mouse-movement).
2454 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2455 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2456 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2457 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2458 Remove unused vars.
2459 (flyspell-get-casechars, flyspell-get-not-casechars):
2460 Simplify; Don't bother removing a ] just to add it back.
2461 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2462
d209e2fb 24632012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2464
2465 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2466 New functions.
bd7239f5 2467 (math-function-table): Add support for more C functions.
b1a10716 2468
3f1b25b5
AM
24692012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2470
090bd7cb
JB
2471 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2472 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2473 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2474
b581bb5c
SM
24752012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2478 their respective macro declarations.
2479 * skeleton.el (define-skeleton):
2480 * progmodes/compile.el (define-compilation-mode):
2481 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2482 (define-ibuffer-filter):
2483 * emacs-lisp/generic.el (define-generic-mode):
2484 * emacs-lisp/easy-mmode.el (define-minor-mode)
2485 (define-globalized-minor-mode):
2486 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2487 * emacs-lisp/byte-run.el (defsubst):
2488 * custom.el (deftheme): Add doc-string metadata.
2489
70b8ef8f
SM
24902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2493
b1198e17
SM
24942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2495
9abdc45d
SM
2496 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2497
b1198e17
SM
2498 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2499 * emacs-lisp/cl-macs.el: Idem.
2500 * emacs-lisp/cl-specs.el: Remove.
2501
4735906a
SM
25022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 Minor renaming of internal CL functions and variables.
2505 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2506 (cl--position): Rename from cl-position.
2507 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2508 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2509 (cl--random-state): Rename from *random-state*.
2510
ac348012
SM
25112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2514 parens around the arg list (bug#11499).
2515
a0a79cde
JL
25162012-05-17 Juri Linkov <juri@jurta.org>
2517
2518 * isearch.el (word-search-regexp, word-search-backward)
2519 (word-search-forward, word-search-backward-lax)
2520 (word-search-forward-lax): Move functions from search.c
2521 (bug#10145, bug#11381).
2522
65034a51
AM
25232012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2524
090bd7cb
JB
2525 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2526 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2527 Delay for otherchars as for normal word components.
65034a51 2528
1a72a195
SM
25292012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * minibuffer.el (completion--sifn-requote): Fix last change.
2532 (minibuffer-local-must-match-filename-map):
2533 Move define-obsolete-variable-alias before its var.
2534
fdb058c2
SM
25352012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2536
c41045e6
SM
2537 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2538
036dfb8b
SM
2539 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2540 behavior.
2541 (completion--string-equal-p): New function.
2542 (completion--twq-all): Use it to get better assertion failure data.
2543
2473256d
SM
2544 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2545 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2546 (shell--requote-argument): New functions.
2547 (shell-completion-vars): Use them.
2548 (shell--parse-pcomplete-arguments): Rename from
2549 shell-parse-pcomplete-arguments.
2550 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2551 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2552 Obey comint-file-name-quote-list.
2553
fdb058c2
SM
2554 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2555 (smie-indent-keyword): Use it.
2556
51fa99f1
SM
25572012-05-14 Stefan Merten <smerten@oekonux.de>
2558
2559 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2560
e18afed7 25612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2562
2563 * net/rlogin.el (rlogin-mode-map): Fix last change.
2564
e18afed7 25652012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2566
2567 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2568 the following \r\n using a single `process-send-string', since the
2569 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2570 with two `process-send-string's (Bug#11444).
8633b1f4 2571
e18afed7 25722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2573
fdb058c2
SM
2574 * shell.el (shell-parse-pcomplete-arguments):
2575 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2576
2d21d7f6
WJ
25772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2578
e18afed7 2579 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2580 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2581 (image-transform-width, image-transform-fit-width): New functions.
2582 (image-transform-properties): Use them.
2583 (image-transform-check-size): New function.
2584 (image-toggle-display-image): Use it (for testing).
2585 (image-transform-set-rotation): Reduce angle mod 360.
2586 Delete obsolete comment.
2587
7102e6d0
WJ
25882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2589
2590 * image-mode.el: Fix scaling (bug#11399).
2591 (image-transform-resize): Doc fix.
2592 (image-transform-properties): Default scale is 1 and height should
2593 be an integer.
2594
06bc5e6e
SM
25952012-05-13 Johan Bockgård <bojohan@gnu.org>
2596
2597 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2598 than hard-coding `car', to fix misbehavior when moving forward.
2599
0ae03b6a
CY
26002012-05-13 Chong Yidong <cyd@gnu.org>
2601
2602 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2603 (tabulated-list-entries, tabulated-list-padding)
2604 (tabulated-list-sort-key): Make permanent-local.
2605
2606 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2607 (electric-buffer-list): Put electric buffer menu
2608 command descriptions in this docstring, instead of the docstring
2609 of electric-buffer-menu-mode. Code cleanups.
2610 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2611 Electric-buffer-menu-mode.
2612 (electric-buffer-update-highlight): Minor code cleanup.
2613
205a7391
MA
26142012-05-13 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2617 (Bug#11447)
2618
e5bd0a28
SM
26192012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 Move define-obsolete-variable-alias before the var's definition.
2622 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2623 * tooltip.el (tooltip-hook):
2624 * textmodes/reftex-toc.el (reftex-toc-map):
2625 * textmodes/reftex-sel.el (reftex-select-label-map)
2626 (reftex-select-bib-map):
2627 * textmodes/reftex-index.el (reftex-index-map)
2628 (reftex-index-phrases-map):
2629 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2630 * progmodes/meta-mode.el (meta-mode-map):
2631 * novice.el (disabled-command-hook):
2632 * loadhist.el (unload-hook-features-list):
2633 * frame.el (blink-cursor):
2634 * files.el (find-file-not-found-hooks, write-file-hooks)
2635 (write-contents-hooks):
2636 * emulation/tpu-edt.el (GOLD-map):
2637 * emacs-lock.el (emacs-lock-from-exiting):
2638 * emacs-lisp/generic.el (generic-font-lock-defaults):
2639 * emacs-lisp/chart.el (chart-map):
2640 * dos-fns.el (register-name-alist):
2641 * dired-x.el (dired-omit-files-p):
2642 * desktop.el (desktop-enable):
2643 * cus-edit.el (custom-mode-hook):
2644 * buff-menu.el (buffer-menu-mode-hook):
2645 * bookmark.el (bookmark-read-annotation-text-func)
2646 (bookmark-exit-hooks):
2647 * allout.el (allout-mode-deactivate-hook)
2648 (allout-exposure-change-hook, allout-structure-added-hook)
2649 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2650 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2651 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2652 comes before the corresponding variable's definition.
2653
ac59c2f6
CY
26542012-05-12 Chong Yidong <cyd@gnu.org>
2655
2656 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2657 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2658 (Buffer-menu-mode-map): Bind it.
2659 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2660
dee6c9a3
SM
26612012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2171cea5
SM
2663 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2664 (prolog-upper-case-string, prolog-lower-case-string)
2665 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2666 (prolog-use-smie, prolog-smie-grammar): New vars.
2667 (prolog-smie-forward-token, prolog-smie-backward-token)
2668 (prolog-smie-rules): New funs.
2669 (prolog-comment-indent): Remove.
2670 (prolog-mode-variables): Use default comment indentation instead.
2671 Setup SMIE.
2672 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2673 (prolog-mode): Don't call them any more.
2674 (prolog-electric-colon, prolog-electric-dash)
2675 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2676
aa0382bd
SM
2677 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2678
dbacb4bd
SM
2679 * minibuffer.el (completion--twq-all): Again, allow case differences.
2680
13bdd94c
SM
2681 * term.el: Move keymap initialization code to be more idiomatic.
2682 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2683 (term-terminal-menu): Move initialization into declaration.
2684 (term-escape-char): Let the user set it in her .emacs.
2685
ff46c759
SM
2686 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2687 Provide SMIE-based indentation (not enabled by default yet).
2688 (sh-mode-map): Don't bind electric keys.
2689 Use electric-pair-mode instead of skeleton-pair.
2690 (sh-assignment-regexp): Fit within 80 columns.
2691 (sh-indent-supported): Specify actual shell name instead of boolean.
2692 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2693 (sh-maybe-here-document): Use it. Make obsolete.
2694 (sh-electric-here-document-mode) New minor mode.
2695 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2696 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2697 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2698 (sh-smie-rc-grammar, sh-use-smie): New vars.
2699 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2700 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2701 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2702 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2703 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2704 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2705 (sh-set-shell): Use smie-setup if requested.
2706
dee6c9a3
SM
2707 * term.el (term-set-escape-char): Properly set term-escape-char.
2708 See http://stackoverflow.com/questions/10524656.
2709
9f9aa044
CY
27102012-05-10 Chong Yidong <cyd@gnu.org>
2711
2712 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2713 Use url-generic-parse-url, and handle host names and Windows
2714 filenames properly.
2715 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2716 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2717 URL schemes to work on.
2718 (ffap--toggle-read-only): New function.
2719 (ffap-read-only, ffap-read-only-other-window)
2720 (ffap-read-only-other-frame): Use it.
2721 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2722 necessary for ffap-url-unwrap-remote.
2723
836d29b3
DA
27242012-05-10 Dave Abrahams <dave@boostpro.com>
2725
2726 * cus-start.el (create-lockfiles): Add it.
2727
00fd78ed
CY
27282012-05-09 Chong Yidong <cyd@gnu.org>
2729
2730 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2731 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2732
666b903b 27332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2734
2735 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2736
666b903b 27372012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2738
2739 * ansi-color.el (ansi-color-process-output): Check for validity of
2740 comint-last-output-start before using it. This avoids a bad
2741 interaction with gdb-mi's input/output buffer.
2742
666b903b 27432012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2744
2745 * files.el (dir-locals-read-from-file):
2746 Mention dir-locals in any error message.
2747
666b903b 27482012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2749
2750 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2751 package (Bug#11410).
2752
f677562b
CY
2753 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2754 variables into description.
2755
666b903b 27562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2757
2758 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2759 shell-delimiter-argument-list (bug#11348).
2760 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2761
b499d8d0
JB
27622012-05-09 Juanma Barranquero <lekktu@gmail.com>
2763
8f6b6da8
JB
2764 * textmodes/rst.el: Silence byte-compiler warnings.
2765 (rst-re-alist, rst-reset-section-caches): Move around.
2766 (rst-re): Use `characterp', not `char-valid-p'.
2767 (font-lock-beg, font-lock-end): Declare.
2768
4824146a
JB
2769 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2770 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2771
b499d8d0
JB
2772 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2773
ad89bb83
GM
27742012-05-08 Glenn Morris <rgm@gnu.org>
2775
2776 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2777
8bba5a75
SM
27782012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2779
49ed9c8e
SM
2780 * vc/log-edit.el: Add GNU coding standards highlighting.
2781 (log-edit-font-lock-gnu-style)
2782 (log-edit-font-lock-gnu-keywords): New vars.
2783 (log-edit-font-lock-keywords): New fun.
2784 (log-edit-mode): Don't fold case in font-lock.
2785 (log-edit-font-lock-keywords): Do not assume case-folding.
2786
07d00b56
SM
2787 * imenu.el: Misc cleanup. Make docstrings out of comments.
2788 Use lexical-binding.
2789 (imenu--index-alist, imenu--last-menubar-index-alist)
2790 (imenu-menubar-modified-tick): Use defvar-local.
2791 (imenu--split-menu): Remove unused var.
2792 (imenu--cleanup-seen): Declare as global.
2793 (imenu--cleanup): Use dolist.
2794
8bba5a75
SM
2795 * subr.el (defvar-local): Add debug spec and doc-string position.
2796
5075bdb5
GM
27972012-05-08 Glenn Morris <rgm@gnu.org>
2798
090bd7cb 2799 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2800 * language/english.el, language/georgian.el, language/greek.el:
2801 * language/japanese.el, language/khmer.el, language/korean.el:
2802 * language/lao.el, language/misc-lang.el, language/romanian.el:
2803 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2804 * language/thai.el, language/utf-8-lang.el:
2805 Remove no-byte-compile setting.
2806
5075bdb5
GM
2807 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2808
06f679a7
AH
28092012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2810
2811 * progmodes/make-mode.el (makefile-browse):
2812 Remove unnecessary interactive. (Bug#11324)
2813
03794570
GM
28142012-05-07 Glenn Morris <rgm@gnu.org>
2815
af8630f4
GM
2816 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2817
03794570
GM
2818 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2819
f0809a9d
SM
28202012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2821
28be5ce7
SM
2822 * loadup.el: Preload newcomment.el.
2823 * newcomment.el: Move autoload-only code to toplevel.
2824
f0809a9d
SM
2825 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2826 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2827 Handle new :right-align column property.
2828 (tabulated-list-print-col): Idem, plus use `display' text-property to
2829 try and preserve alignment for variable pitch fonts.
2830
1241b724
CY
28312012-05-07 Chong Yidong <cyd@gnu.org>
2832
2833 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2834 (tabulated-list-use-header-line): New var.
2835 (tabulated-list-init-header): Use it.
2836 (tabulated-list-print-fake-header): New function.
2837 (tabulated-list-print): Use it.
2838 (tabulated-list-sort-button-map): Add non-header-line commands.
2839 (tabulated-list-init-header): Add column name property to basic
2840 labels as well.
2841 (tabulated-list-col-sort): Handle non-header-line button case.
2842 (tabulated-list--sort-by-column-name): Fix a corner case.
2843
f0809a9d
SM
2844 * buff-menu.el (list-buffers--refresh):
2845 Handle Buffer-menu-use-header-line.
1241b724 2846
e5f9458f
CY
28472012-05-06 Chong Yidong <cyd@gnu.org>
2848
2849 * buff-menu.el: Convert to Tabulated List mode.
2850 (Buffer-menu-buffer+size-width): Make obsolete.
2851 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2852 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2853 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2854 documentation into docstring of buffer-menu.
2855 (Buffer-menu-toggle-files-only): Add an informative message.
2856 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2857 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2858 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2859 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2860 (Buffer-menu-execute, Buffer-menu-select)
2861 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2862 (Buffer-menu-bury): Use Tabulated List machinery.
2863 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2864 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2865 Delete.
e5f9458f
CY
2866 (list-buffers--refresh): New function.
2867 (list-buffers-noselect): Use it.
2868 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2869 (Buffer-menu--pretty-file-name): New helper functions.
2870
2871 * loadup.el: Preload tabulated-list.
2872
2873 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2874 tabulated-list-sort-column.
2875 (tabulated-list-init-header): Add the initial aligning space even
2876 if tabulated-list-padding is zero.
2877
e129292c
CS
28782012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2879
2880 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2881 whose cdr is not a cons cell correctly (bug#11038).
2882
6632d361
CY
28832012-05-06 Chong Yidong <cyd@gnu.org>
2884
e129292c
CS
2885 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2886 Accept additional plist in column descriptors.
6632d361
CY
2887 (tabulated-list-init-header): Obey it.
2888 (tabulated-list-get-entry): New function.
2889 (tabulated-list-put-tag): Use it. Use string-width instead of
2890 length.
2891 (tabulated-list--column-number): New function.
2892 (tabulated-list-print): Use it.
e129292c
CS
2893 (tabulated-list-print-col): New function.
2894 Set `tabulated-list-column-name' property on each column's text.
6632d361 2895 (tabulated-list-print-entry): Use it.
e129292c
CS
2896 (tabulated-list-delete-entry, tabulated-list-set-col):
2897 New functions.
6632d361
CY
2898 (tabulated-list-sort-column): New command (Bug#11337).
2899
3cc99f68
CY
2900 * buff-menu.el (list-buffers): Move C-x C-b binding from
2901 buff-menu.el to bindings.el.
2902
2903 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2904 :advertised-binding feature.
2905
52b61776
TN
29062012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2907
2908 * progmodes/compile.el (compilation-internal-error-properties):
2909 Calculate start position correctly when end-col is set but
2910 end-line is not (Bug#11382).
2911
ebfe2597
WJ
29122012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2913
2914 * man.el (Man-unindent): Use text-property-default-nonsticky to
2915 prevent untabify from inheriting face properties (Bug#11408).
2916
6d3f7c2f
SM
29172012-05-05 Stefan Merten <smerten@oekonux.de>
2918
2919 * textmodes/rst.el: Major merge with upstream development up to
2920 Docutils SVN r7399 / rst.el V1.2.1.
2921
2922 Clarify maintainership and authors.
2923
2924 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2925 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2926 (rst-official-version, rst-official-cvs-rev, rst-version)
2927 (rst-package-emacs-version-alist): New functions and variables
2928 for version information.
2929
2930 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2931 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2932 (rst-mode-syntax-table, rst-mode): New and corrected functions
2933 and variables representing reStructuredText features.
2934
2935 (rst-re): New function for reStructuredText regexes. Use in
2936 many places.
2937
2938 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2939 (rst-mode-map): Rebind keys.
2940
2941 (rst-mode-lazy, rst-font-lock-keywords)
2942 (rst-font-lock-extend-region)
2943 (rst-font-lock-extend-region-internal)
2944 (rst-font-lock-extend-region-extend)
2945 (rst-font-lock-find-unindented-line-limit)
2946 (rst-font-lock-find-unindented-line-match)
2947 (rst-adornment-level, rst-font-lock-adornment-level)
2948 (rst-font-lock-adornment-match)
2949 (rst-font-lock-handle-adornment-pre-match-form)
2950 (rst-font-lock-handle-adornment-matcher): Major revision of
2951 font-locking. Integrate with other code. Use `jit-lock-mode'.
2952
2953 (rst-preferred-adornments, rst-adjust-hook)
2954 (rst-new-adornment-down, rst-preferred-bullets)
2955 (rst-preferred-bullets, rst-indent, rst-indent-width)
2956 (rst-indent-field, rst-indent-literal-normal)
2957 (rst-indent-literal-minimized, rst-indent-comment): Change,
2958 extend and improve customization.
2959
2960 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2961 (rst-normalize-cursor-position, rst-get-decoration)
2962 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2963 (rst-rstrip, rst-toc-insert-find-delete-contents)
2964 (rst-shift-fill-region, rst-compute-bullet-tabs)
2965 (rst-debug-print-tabs, rst-debug-mark-found)
2966 (rst-shift-region-guts, rst-shift-region-right)
2967 (rst-shift-region-left, rst-use-char-classes)
2968 (rst-font-lock-keywords-function)
2969 (rst-font-lock-indentation-point)
2970 (rst-font-lock-find-unindented-line-begin)
2971 (rst-font-lock-find-unindented-line-end)
2972 (rst-font-lock-find-unindented-line)
2973 (rst-font-lock-adornment-point, rst-font-lock-level)
2974 (rst-adornment-level-alist): Remove functions and variables.
2975
2976 (rst-compare-adornments, rst-get-adornment-match)
2977 (rst-suggest-new-adornment, rst-get-adornments-around)
2978 (rst-adornment-complete-p, rst-get-next-adornment)
2979 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2980 (rst-straighten-adornments): Standardize function names to
2981 use "adornment" instead of "decoration". Correct callers.
2982 Similar standardizing in many places.
2983
2984 (rst-update-section, rst-adjust, rst-promote-region)
2985 (rst-enumerate-region, rst-bullet-list-region)
2986 (rst-repeat-last-character): Correct use of `interactive'.
2987
2988 (rst-classify-adornment, rst-find-all-adornments)
2989 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2990 (rst-find-leftmost-column, rst-repeat-last-character):
2991 Refactor functions.
2992
2993 (rst-find-title-line, rst-reset-section-caches)
2994 (rst-get-adornments-around, rst-adjust-adornment-work)
2995 (rst-arabic-to-roman, rst-roman-to-arabic)
2996 (rst-insert-list-pos, rst-insert-list-new-item)
2997 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2998 New functions.
2999
3000 (rst-all-sections, rst-section-hierarchy)
3001 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3002 New variables.
3003
3004 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3005 configuration instead of only buffer. Change where necessary.
3006
3007 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3008 (rst-shift-region, rst-adaptive-fill): New functions for
3009 indentation and filling.
3010
3011 (rst-comment-line-break, rst-comment-indent)
3012 (rst-comment-insert-comment, rst-comment-region)
3013 (rst-uncomment-region): New functions for handling comments.
3014
3015 (rst-compile): Quote shell arguments.
3016
3017 (rst-compile-pdf-preview, rst-compile-slides-preview):
3018 Delete temporary files after use.
3019
a43f98b3
GM
30202012-05-05 Glenn Morris <rgm@gnu.org>
3021
48176e8b
GM
3022 * calendar/cal-html.el: Optionally include holidays in the output.
3023 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3024 (cal-html-holidays): New option.
3025 (cal-html-css-default): Add holiday entry.
3026 (holiday-in-range): Autoload it.
3027 (cal-html-htmlify-entry): Add optional class argument.
3028 (cal-html-htmlify-list): Add optional holidays argument.
3029 (cal-html-insert-agenda-days): Include holidays in the output.
3030 (cal-html-one-month): Maybe include holidays.
3031
a43f98b3
GM
3032 * calendar/holidays.el (holiday-in-range):
3033 Move here from cal-tex-list-holidays.
3034 * calendar/cal-tex.el (cal-tex-list-holidays):
3035 Make it an obsolete alias for holiday-in-range. Update all callers.
3036
fef9d149 30372012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3038
3039 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3040 Nextstep.
3041
248da2f4
RW
30422012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3043
3044 * files.el (file-auto-mode-skip): New var.
3045 (set-auto-mode-1): Use it.
3046
f95e9344
SM
30472012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3048
df96ab1e
SM
3049 * repeat.el: Use lexical-binding.
3050 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3051 (repeat-undo-count): Remove.
3052 (repeat):
3053 * progmodes/octave-mod.el (octave-abbrev-start):
3054 * progmodes/f90.el (f90-abbrev-start):
3055 * face-remap.el (text-scale-adjust):
3056 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3057
5342bb06
SM
3058 * emacs-lisp/pcase.el (pcase--let*): New function.
3059 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3060 a bit more.
3061 (pcase--split-pred): Be more clever about ruling out overlap between
3062 a predicate and some constant pattern.
3063 (pcase--q1): Use `null' instead of (eq foo nil).
3064
f95e9344
SM
3065 * subr.el (setq-local, defvar-local): New macros.
3066 (kbd): Redefine as an alias.
3067 (with-selected-window): Leave unrelated frames alone.
3068 (set-temporary-overlay-map): New function.
3069
71873e2b
SM
30702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * subr.el (user-error): New function.
3073 * window.el (switch-to-buffer):
3074 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3075 (smerge-match-conflict):
3076 * simple.el (previous-matching-history-element)
3077 (next-matching-history-element, goto-history-element, undo-more)
3078 (undo-start):
3079 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3080 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3081 (next-file, tags-loop-scan, list-tags, complete-tag):
3082 * progmodes/compile.el (compilation-loop):
3083 * mouse.el (mouse-minibuffer-check):
3084 * man.el (Man-bgproc-sentinel, Man-goto-page):
3085 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3086 (Info-history-forward, Info-follow-reference, Info-menu)
3087 (Info-extract-menu-item, Info-extract-menu-counting)
3088 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3089 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3090 (Info-next-reference, Info-prev-reference, Info-index)
3091 (Info-index-next, Info-follow-nearest-node)
3092 (Info-copy-current-node-name):
3093 * imenu.el (imenu--make-index-alist)
3094 (imenu-default-create-index-function, imenu-add-to-menubar):
3095 * files.el (basic-save-buffer, recover-file):
3096 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3097 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3098 (checkdoc-message-text, checkdoc-defun):
3099 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3100 * cus-edit.el (customize-changed-options, customize-rogue)
3101 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3102 (custom-variable-mark-to-reset-standard)
3103 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3104 (custom-file):
3105 * completion.el (check-completion-length):
3106 * comint.el (comint-search-arg)
3107 (comint-previous-matching-input-string-position)
3108 (comint-previous-matching-input)
3109 (comint-replace-by-expanded-history-before-point, comint-send-input)
3110 (comint-copy-old-input, comint-backward-matching-input)
3111 (comint-goto-process-mark, comint-set-process-mark):
3112 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3113 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3114
8a61ee22
SM
31152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3116
66408d1e
SM
3117 * dabbrev.el (dabbrev--ignore-case-p): New function.
3118 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3119 Use it.
3120
8a61ee22
SM
3121 * files.el (automount-dir-prefix): Mark as obsolete.
3122
3c74813a
GM
31232012-05-04 Glenn Morris <rgm@gnu.org>
3124
3125 * patcomp.el, play/bruce.el: Move to obsolete/.
3126
0bfcf5c5
PE
31272012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3128
3129 Fix minor Y10k bugs.
3130 * arc-mode.el (archive-unixdate):
3131 * autoinsert.el (auto-insert-alist):
3132 * calc/calc-forms.el (math-this-year):
3133 * emacs-lisp/copyright.el (copyright-current-year)
3134 (copyright-update-year, copyright):
3135 * tar-mode.el (tar-clip-time-string):
3136 * time.el (display-time-update):
3137 Don't assume years have 4 digits.
3138
78f3273a
CY
31392012-05-04 Chong Yidong <cyd@gnu.org>
3140
3141 * dos-w32.el (file-name-buffer-file-type-alist)
3142 (direct-print-region-use-command-dot-com):
3143 * ffap.el (ffap-menu-regexp):
3144 * find-file.el (ff-special-constructs):
3145 * follow.el (follow-debug):
3146 * forms.el (forms--debug):
3147 * iswitchb.el (iswitchb-all-frames):
3148 * ido.el (ido-all-frames):
3149 * emacs-lisp/timer.el (timer-max-repeats):
3150 * mail/feedmail.el (feedmail-mail-send-hook)
3151 (feedmail-mail-send-hook-queued):
3152 * mail/footnote.el (footnote-signature-separator):
3153 * mail/mailabbrev.el (mail-alias-separator-string)
3154 (mail-abbrev-mode-regexp):
3155 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3156 * progmodes/idlwave.el (idlwave-libinfo-file)
3157 (idlwave-default-completion-case-is-down)
3158 (idlwave-library-routines): Convert defvars to defcustoms.
3159
3160 * mail/rmail.el (rmail-decode-mime-charset):
3161 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3162 (idlwave-shell-fix-inserted-breaks)
3163 (idlwave-shell-activate-alt-keybindings)
3164 (idlwave-shell-use-breakpoint-glyph):
3165 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3166
f7ae6719
SM
31672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3170
47086495
WS
31712012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3172
3173 * progmodes/verilog-mode.el (font-lock-keywords):
3174 Fix mis-highligting auto. Reported by Craig Barner.
3175 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3176 defines from global name space. Reported by Dan Dever.
3177 (verilog-auto-reset, verilog-auto-reset-widths)
3178 (verilog-auto-tieoff): Support using unbased numbers for
3179 AUTORESET and AUTOTIEOFF.
3180 (verilog-submit-bug-report): Update variable list.
3181 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3182 parenthesis from not matching. Reported by Michael Rytting.
3183 (verilog-auto-template-lint): Fix hash error when linting modules
3184 with no used templates.
3185 (verilog-warn, verilog-warn-error)
3186 (verilog-warn-fatal): When non-interactive report multiple
3187 warnings before exiting. Suggested by Brad Dobbie.
3188 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3189 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3190 to report unused template errors. Reported by Brad Dobbie.
3191 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3192 nets, bug438. Reported by Vns Blore.
3193 (verilog-auto-inout-module, verilog-auto-reg)
3194 (verilog-read-decls, verilog-read-sub-decls-sig)
3195 (verilog-signals-edit-wire-reg, verilog-signals-with):
3196 Fix passing of Verilog data types in ANSI input/output ports
3197 such as "output logic" into the AUTOs. Special case "wire" and
3198 "reg" for backwards compatibility presuming Verilog 2001.
3199 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3200 (verilog-preprocess): Fix replication of preprocess output.
3201 Reported by Brad Dobbie.
3202 (verilog-auto-inst-interfaced-ports):
3203 Create verilog-auto-inst-interfaced-ports, bug429.
3204 Reported by Julian Gorfajn.
3205 (verilog-after-save-font-hook)
3206 (verilog-before-save-font-hook): New variable.
3207 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3208 (verilog-save-font-mods): Wrap disabling fontification, reported
3209 by David Rogoff.
3210 (verilog-do-indent, verilog-pretty-declarations-auto)
3211 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3212 Reported by Pierre-David Pfister.
3213 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3214 of class declarations, bug292. Reported by Kevin Heilman.
3215 (verilog-read-decls): Fix 'parameter type' not appearing in
3216 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3217 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3218 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3219 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3220 Reported by David Kravitz.
3221
32222012-05-03 Michael McNamara <mac@mail.brushroad.com>
3223
3224 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3225 assignment with tests in ifs and for loops.
3226 (verilog-extended-complete-re, verilog-complete-reg): Change so
3227 that DPI inport functions don't look like fuction declarations.
3228 (verilog-pretty-expr): Don't line up assignment
3229 operations to the test and increment in if and for loops
3230 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3231 that DPI inport functions don't look like fuction declarations.
47086495 3232
2e51d4b5
KH
32332012-05-03 Kenichi Handa <handa@m17n.org>
3234
3235 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3236 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3237 (Bug#11282).
3238
2bd785a2
SM
32392012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/bytecomp.el
3242 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3243 since cconv.el might have introduced :fun-body, internal-make-closure,
3244 and friends for bytecomp to handle (bug#11391).
3245 * custom.el (defcustom): Avoid ((λ ..) ..).
3246
99d27583
SM
32472012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3250
55a71479
JB
32512012-05-02 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * notifications.el (dbus-debug):
3254 * term/linux.el (gpm-mouse-enable):
3255 * term/screen.el (xterm-register-default-colors): Declare.
3256
7b97c764
CY
32572012-05-02 Chong Yidong <cyd@gnu.org>
3258
2bc356d7
CY
3259 * cus-start.el (gc-cons-percentage, exec-suffixes)
3260 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3261 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3262 (make-cursor-line-fully-visible, void-text-area-pointer)
3263 (font-list-limit): Add customization data.
3264
7b97c764
CY
3265 * allout.el (allout-exposure-change-functions)
3266 (allout-structure-added-functions)
3267 (allout-structure-deleted-functions)
3268 (allout-structure-shifted-functions): Rename abnormal hooks from
3269 *-hook, and convert to defcustoms.
5d3385a0
JB
3270 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3271 Convert to defcustoms.
7b97c764
CY
3272 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3273
3274 * allout-widgets.el: Hook callers changed.
3275
90207a15 32762012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3277
3278 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3279 the yanked message in preference to the default value of
3280 buffer-file-coding-system.
3281
90207a15 32822012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3283
5d3385a0
JB
3284 * window.el (display-buffer--action-function-custom-type):
3285 Fix entry.
d9558cad 3286
90207a15 32872012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3288
3289 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3290
d80ac57b
GM
32912012-05-01 Glenn Morris <rgm@gnu.org>
3292
976f7668
GM
3293 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3294
beb83b5a
GM
3295 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3296
d80ac57b
GM
3297 * cus-edit.el (custom-variable-documentation): Simplify with format.
3298
b593d6a9
AH
32992012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3300 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * simple.el (suggest-key-bindings, execute-extended-command):
3303 Move from keyboard.c.
3304
782fbf2a
CY
33052012-05-01 Chong Yidong <cyd@gnu.org>
3306
3307 * follow.el: Eliminate advice.
3308 (set-process-filter, process-filter, sit-for): Advice deleted.
3309 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3310 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3311 Vars deleted.
782fbf2a
CY
3312 (follow-auto): Use a :set function.
3313 (follow-mode): Rewritten. Don't advise process filters.
3314 (follow-switch-to-current-buffer-all, follow-scroll-up)
3315 (follow-scroll-down): Assume follow-mode is bound.
3316 (follow-comint-scroll-to-bottom)
3317 (follow-align-compilation-windows): New functions.
3318 (follow--window-sorter): New function.
3319 (follow-all-followers): Use it to explicitly sort windows by their
3320 positions; don't make assumptions about next-window order.
3321 (follow-windows-start-end, follow-delete-other-windows-and-split)
3322 (follow-calc-win-start): Doc fix.
3323 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3324 vertical-motion unnecessarily.
3325 (follow-adjust-window): New function.
3326 (follow-post-command-hook): Use it.
3327 (follow-call-set-process-filter, follow-call-process-filter)
3328 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3329 (follow-stop-intercept-process-output, follow-generic-filter):
3330 Functions deleted.
3331 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3332 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3333 New functions, replacing advice on scroll-bar-* commands.
87233a14 3334 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3335
3336 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3337 (comint-postoutput-scroll-to-bottom): Use it.
3338 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3339
290af740
GM
33402012-05-01 Glenn Morris <rgm@gnu.org>
3341
3342 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3343 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3344 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3345 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3346 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3347 Remove no-byte-compile setting.
3348
6eac8dc9
SM
33492012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3352 all-completions code to not return a number in the last cdr.
3353
9cc7819c
LL
33542012-04-30 Leo Liu <sdl.web@gmail.com>
3355
3356 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3357 read-only error.
3358
c93b886f
CY
33592012-04-29 Chong Yidong <cyd@gnu.org>
3360
3361 * follow.el (follow-calc-win-end): Rewrite to handle partial
3362 screen lines correctly (Bug#8390).
3363 (follow-avoid-tail-recenter): Minor cleanup.
3364
8b6c19f4
SM
33652012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 Avoid the obsolete `assoc' package.
3368 * speedbar.el (speedbar-refresh): Avoid adelete.
3369 (speedbar-file-lists): Simplify and avoid aput.
3370 * man.el (Man--sections, Man--refpages): New vars, replacing
3371 Man-sections-alist and Man-refpages-alist.
3372 (Man-build-section-alist, Man-build-references-alist):
3373 Use them; avoid aput.
3374 (Man--last-section, Man--last-refpage): New vars.
3375 (Man-follow-manual-reference): Use them.
3376 Use the `default' arg of completing-read.
3377 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3378
c5bb7569
CY
33792012-04-27 Chong Yidong <cyd@gnu.org>
3380
d1d2e2e8
CY
3381 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3382
15cd8efd
CY
3383 * startup.el (x-apply-session-resources): New function.
3384
3385 * term/ns-win.el (ns-initialize-window-system):
3386 * term/w32-win.el (w32-initialize-window-system):
3387 * term/x-win.el (x-initialize-window-system): Use it to properly
3388 set menu-bar-mode and other vars from X resources, even if the
3389 initial frame is not a window-system frame (Bug#2299).
3390
c5bb7569
CY
3391 * subr.el (read-key): Avoid running filter function when setting
3392 up temporary tool bar entries (Bug#9922).
3393
a8e7d6d7 33942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3395
3396 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3397 (Bug#11344)
3398
a8e7d6d7 33992012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3400
3401 * select.el (xselect--encode-string): New function, split from
3402 xselect-convert-to-string.
3403 (xselect-convert-to-string): Use it.
3404 (xselect-convert-to-filename, xselect-convert-to-os)
3405 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3406 returned strings are properly encoded (Bug#11315).
3407
a8e7d6d7 34082012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3409
3410 * simple.el (delete-active-region): Move to killing custom group.
3411
a8e7d6d7 34122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3413
3414 * progmodes/which-func.el (which-func-current): Quote %
3415 characters for mode-line processing.
3416
578c1d4b 34172012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3418
3419 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3420 reaching eob (Bug#11286).
3421
a8e7d6d7 34222012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3423
3424 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3425 (gdb): Make it buffer-local and init to zero.
3426 (gdb-control-commands-regexp): New variable.
3427 (gdb-send): Don't wrap in "-interpreter-exec console" if
3428 gdb-control-level is positive. Increment gdb-control-level
3429 whenever the command matches gdb-control-commands-regexp, and
3430 decrement it each time the command is "end". (Bug#11279)
3431
a8e7d6d7 34322012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3433
3434 * window.el (adjust-window-trailing-edge, enlarge-window)
3435 (shrink-window, window-resize):
3436 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3437 windows (Bug#11276).
3438
b3608390
CY
34392012-04-27 Chong Yidong <cyd@gnu.org>
3440
3441 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3442 fix "missing prefix" warning. All callers changed.
b3608390 3443
797e6e88
SM
34442012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * emacs-lisp/assoc.el: Move to obsolete/.
3447
e95a67dc
SM
34482012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3449
657c21e4 3450 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3451
3452 * term/ns-win.el (ns-define-service):
3453 * progmodes/pascal.el (pascal-goto-defun):
3454 * progmodes/js.el (js--read-tab):
3455 * progmodes/etags.el (tags-lazy-completion-table):
3456 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3457 * emacs-lisp/ewoc.el (ewoc--wrap):
3458 * emacs-lisp/assoc.el (aput, adelete, amake):
3459 * doc-view.el (doc-view-convert-current-doc):
3460 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3461
cb3e7ae0
CY
34622012-04-26 Chong Yidong <cyd@gnu.org>
3463
dce04f7f
CY
3464 * image.el (image-type-from-buffer): Only return supported image
3465 type (Bug#9045).
3466
cb3e7ae0
CY
3467 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3468 value, for symmetry with diff-end-of-hunk.
3469 (diff-split-hunk, diff-find-source-location)
3470 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3471 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3472 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3473 compute the relevant hunk or file properly (Bug#6005).
3474 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3475
0d42eb3e
SM
34762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * vc/vc-mtn.el:
3479 * vc/vc-hg.el:
3480 * vc/vc-git.el:
3481 * vc/vc-dir.el:
3482 * vc/vc-cvs.el:
3483 * vc/vc-bzr.el:
3484 * vc/vc-arch.el:
3485 * vc/vc.el: Replace lexical-let by lexical-binding.
3486 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3487 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3488 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3489
f08ae1c9
CY
34902012-04-26 Chong Yidong <cyd@gnu.org>
3491
8b71081d
CY
3492 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3493 (diff-mode-shared-map): Bind it to / and [remap undo].
3494
f08ae1c9
CY
3495 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3496 (ediff-window-setup-function): Use it as the default, to set up
3497 windows based on whether the current frame is graphical (Bug#2138).
3498 (ediff-choose-window-setup-function-automatically): Make obsolete.
3499
3500 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3501
ef24141c
SM
35022012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3503
cc356a5d
SM
3504 * ffap.el: Remove old code for obsolete package.
3505 (ffap-complete-as-file-p): Remove.
3506
b4ff4f1f
SM
3507 Use completion-table-with-quoting for comint and pcomplete.
3508 * comint.el (comint--unquote&requote-argument)
3509 (comint--unquote-argument, comint--requote-argument): New functions.
3510 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3511 (comint-quote-filename): Use regexp-opt-charset.
3512 (comint--common-suffix, comint--common-quoted-suffix)
3513 (comint--table-subvert): Remove.
3514 (comint-unquote-function, comint-requote-function): New vars.
3515 (comint--complete-file-name-data): Use them with
3516 completion-table-with-quoting.
3517 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3518 * pcomplete.el (pcomplete-arg-quote-list)
3519 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3520 (pcomplete-unquote-argument-function): Default to non-nil.
3521 (pcomplete-unquote-argument): Simplify.
3522 (pcomplete--common-quoted-suffix): Remove.
3523 (pcomplete-requote-argument-function): New var.
3524 (pcomplete--common-suffix): New function.
3525 (pcomplete-completions-at-point): Use completion-table-with-quoting
3526 and completion-table-subvert.
3527
79c4eeb4
SM
3528 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3529 (minibuffer--double-dollars): Preserve properties.
3530 (completion--sifn-requote): New function.
3531 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3532
ef24141c
SM
3533 * minibuffer.el: Add support for completion of quoted/escaped data.
3534 (completion-table-with-quoting, completion-table-subvert): New funs.
3535 (completion--twq-try, completion--twq-all): New functions.
3536 (completion--nth-completion): New function.
3537 (completion-try-completion, completion-all-completions): Use it.
3538
784e7d6e
LL
35392012-04-25 Leo Liu <sdl.web@gmail.com>
3540
dd2ac746
SM
3541 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3542 Use compilation-message if available to find real filename.
784e7d6e 3543
07875ee7
CY
35442012-04-25 Chong Yidong <cyd@gnu.org>
3545
3546 * vc/diff-mode.el (diff-setup-whitespace): New function.
3547 (diff-mode): Use it.
3548
3549 * vc/diff.el (diff-sentinel):
3550 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3551 Whitespace mode variables based on diff style (Bug#8612).
3552
5055880d
LL
35532012-04-25 Leo Liu <sdl.web@gmail.com>
3554
daf75653
LL
3555 * progmodes/python.el (python-send-region): Add suffix .py to the
3556 temp file.
3557
5055880d
LL
3558 * files.el (auto-mode-alist): Use javascript-mode instead.
3559
db9b177b
AH
35602012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3561
ef24141c 3562 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3563
090bd7cb 3564 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3565 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3566 references, see Bug#9.
ef24141c 3567 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3568 when receiving a fault reply.
ef24141c 3569 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3570
090bd7cb 3571 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3572 (soap-inspect-simple-type): New function.
db9b177b 3573
090bd7cb 3574 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3575 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3576 (soap-decode-basic-type, soap-encode-basic-type):
3577 support unsignedInt and double basic types.
db9b177b 3578 (soap-resolve-references-for-simple-type)
ef24141c
SM
3579 (soap-parse-simple-type, soap-encode-simple-type): New function.
3580 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3581
090bd7cb 3582 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3583 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3584 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3585 the local name of "soapenc:Array".
3586 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3587 decoding integer, byte and anyURI xsd types.
3588
1fc6097b
CY
35892012-04-25 Chong Yidong <cyd@gnu.org>
3590
3591 * cus-edit.el (custom-buffer-create-internal): Update header text.
3592
afc6df87
EZ
35932012-04-25 Eli Zaretskii <eliz@gnu.org>
3594
3595 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3596 settings on 'system-type', not on 'window-system'. On MS-Windows,
3597 set interactive-mode on in GDB.
3598
dfbd787f
SM
35992012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3602 (ruby-syntax-propertize-regexp): Remove.
3603 (ruby-syntax-propertize-function): Split regexp into chunks.
3604 Match following code directly.
3605
85222d44
DG
36062012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3607
51a8ea2a
DG
3608 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3609 (ruby-syntax-propertize-regexp): New function.
3610 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3611 by a special keyword.
3612
85222d44
DG
3613 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3614 (ruby-syntax-general-delimiters-goto-beg)
3615 (ruby-syntax-propertize-general-delimiters): New functions.
3616 (ruby-syntax-propertize-function): Use them to handle GDL.
3617 (ruby-font-lock-keywords): Move old handling of GDL...
3618 (ruby-font-lock-syntactic-keywords): .. to here.
3619 (ruby-calculate-indent): Adjust indentation for GDL.
3620
b613912b
MA
36212012-04-24 Michael Albinus <michael.albinus@gmx.de>
3622
b5380639
MA
3623 * notifications.el (top): Remove unneeded declarations.
3624 (notifications-specification-version): Change to "1.2".
e43042fe 3625 (notifications-interface, notifications-notify-method)
b613912b
MA
3626 (notifications-close-notification-method): Fix docstring.
3627 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3628 (notifications-notify): Add :action-items, :resident and
3629 :transient hints. Change "image_data" to "image-data" and
3630 "image_path" to "image-path".
b613912b
MA
3631 (notifications-get-capabilities): New defun.
3632
257440aa
LL
36332012-04-24 Leo Liu <sdl.web@gmail.com>
3634
3635 * progmodes/python.el: Move hideshow setup to the end.
3636
b1bac16e
MR
36372012-04-24 Martin Rudalics <rudalics@gmx.at>
3638
3639 * window.el (handle-select-window): Clear echo area since this is
3640 no more done by read_char (Bug#11304).
3641
d81bd059
SM
36422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3645 and `/ M' to filter-derived-mode.
3646 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3647 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3648 (ibuffer-mark-by-mode): Use default rather than initial-input.
3649 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3650
c4cf6d91
IA
36512012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3652
3653 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3654 (ibuffer-filter-by-derived-mode): New filter.
3655 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3656
7511ded8
CY
36572012-04-23 Andreas Politz <politza@fh-trier.de>
3658
3659 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3660
775c916b
CY
36612012-04-23 Chong Yidong <cyd@gnu.org>
3662
3663 * cus-edit.el (customize-apropos, customize-apropos-options):
3664 Disable matching of non-option variables (Bug#11176).
3665 (customize-option, customize-option-other-window)
3666 (customize-changed-options): Doc fix.
3667 (customize-apropos-options, customize-apropos-faces)
3668 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3669
3670 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3671 Fix word list splitting (Bug#11132).
46c71e23
CY
3672 (apropos-symbol, apropos-keybinding, apropos-label)
3673 (apropos-property, apropos-function-button)
3674 (apropos-variable-button, apropos-misc-button): New faces.
3675 (apropos-symbol-face, apropos-keybinding-face)
3676 (apropos-label-face, apropos-property-face, apropos-match-face):
3677 Variables removed (Bug#8396).
3678 (apropos-library-button, apropos-format-plist, apropos-print)
3679 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3680
2df41f9c
MA
36812012-04-23 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/xesam.el (xesam-mode-map): Use let-bound map in
3684 initialization. (Bug#11292)
3685
da00640a
AM
36862012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3687
3688 Preserve ispell session localwords when switching back to
3689 original buffer.
3690
090bd7cb
JB
3691 * textmodes/ispell.el (ispell-buffer-session-localwords):
3692 New buffer-local variable to hold buffer session localwords.
ed9265fc 3693 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
3694 localwords.
3695 (ispell-command-loop, ispell-change-dictionary)
3696 (ispell-buffer-local-words): Preserve session localwords when
3697 needed.
3698
090bd7cb
JB
3699 * textmodes/flyspell.el (flyspell-process-localwords)
3700 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3701
f621ccf5
AM
37022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3703
090bd7cb
JB
3704 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3705 using obsolete `translation-table-for-input'.
ef24141c
SM
3706 (ispell-word, ispell-process-line, ispell-complete-word):
3707 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3708
c2d1019e
CY
37092012-04-22 Chong Yidong <cyd@gnu.org>
3710
3711 * cus-edit.el (custom-variable-menu)
3712 (custom-variable-reset-saved, custom-face-menu)
3713 (custom-face-reset-saved): If there is no saved value, make the
3714 "reset-saved" operation bring back the default (Bug#9509).
3715 (custom-face-state): Properly detect themed faces.
3716
eeddc531
CY
3717 * faces.el (face-spec-set): Stop supporting deprecated form of
3718 third arg.
3719
dcbf5805
MA
37202012-04-22 Michael Albinus <michael.albinus@gmx.de>
3721
3722 Move functions from C to Lisp. Make non-blocking method calls
3723 the default. Implement further D-Bus standard interfaces.
3724
ef24141c
SM
3725 * net/dbus.el (dbus-message-internal): Declare function.
3726 Remove unneeded function declarations.
dcbf5805
MA
3727 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3728 (dbus-message-type-method-return, dbus-message-type-error)
3729 (dbus-message-type-signal): Declare variables. Remove local
3730 definitions.
3731 (dbus-interface-dbus, dbus-interface-peer)
3732 (dbus-interface-introspectable, dbus-interface-properties)
3733 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3734 Adapt docstring.
3735 (dbus-interface-objectmanager): New defconst.
3736 (dbus-call-method, dbus-call-method-asynchronously)
3737 (dbus-send-signal, dbus-method-return-internal)
3738 (dbus-method-error-internal, dbus-register-service)
3739 (dbus-register-signal, dbus-register-method): New defuns, moved
3740 from dbusbind.c
3741 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3742 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3743 New defuns.
dcbf5805
MA
3744 (dbus-call-method-non-blocking): Make it an obsolete function.
3745 (dbus-unregister-object, dbus-unregister-service)
3746 (dbus-handle-event, dbus-register-property)
3747 (dbus-property-handler): Obey the new structure of
3748 `bus-registered-objects'.
3749 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3750 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3751 Use `dbus-call-method'.
3752
cf20dee0
CY
37532012-04-22 Chong Yidong <cyd@gnu.org>
3754
3755 * cus-edit.el (custom-commands, custom-reset-menu)
3756 (Custom-reset-standard): Tweak labels.
3757 (custom-reset-button-menu): Change default to t.
3758 (custom-buffer-create-internal): For the custom-reset-button-menu
3759 case, put the revert button first.
3760 (custom-group-subtitle): New face.
3761 (custom-group-value-create): Align docstring to a specific column.
3762
3763 * wid-edit.el (widget-documentation-link-add): Don't handle
3764 indentation in this function.
3765 (widget-documentation-string-indent-to): New function.
3766 (widget-documentation-string-value-create): Use it.
3767
3768 * autorevert.el (auto-revert):
3769 * epg-config.el (epg):
3770 * ibuffer.el (ibuffer):
3771 * mpc.el (mpc):
3772 * ses.el (ses):
3773 * eshell/eshell.el (eshell):
3774 * net/ange-ftp.el (ange-ftp):
3775 * progmodes/ebnf2ps.el (postscript):
3776 * progmodes/flymake.el (flymake):
3777 * progmodes/prolog.el (prolog):
3778 * progmodes/verilog-mode.el (verilog-mode):
3779 * progmodes/which-func.el (which-func):
3780 * term/xterm.el (xterm):
3781 * textmodes/picture.el (picture):
3782 * textmodes/tildify.el (tildify):
3783 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3784 customization buffers.
3785
583e23bd
AM
37862012-04-22 Alan Mackenzie <acm@muc.de>
3787
3788 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3789 Adding a ) can hide the resulting (..) from searches. Fix it.
3790 Bound the backward search to the position of the existing (.
3791
7dd51bf1
JB
37922012-04-21 Juanma Barranquero <lekktu@gmail.com>
3793
3794 * progmodes/verilog-mode.el (verilog-mode): Check whether
3795 which-func-modes is t before adding verilog-mode.
3796 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3797
d64a438f
LL
37982012-04-21 Leo Liu <sdl.web@gmail.com>
3799
7dd51bf1 3800 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3801
081e8d65
MV
38022012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3803
3804 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3805 filling of the last column of a table (Bug#5635).
3806 (woman-find-next-control-line): New arg, specifying an additional
3807 regexp component for the control line.
3808 (woman2-roff-buffer): Use it.
3809 (woman-break-table): New function.
3810 (woman2-TS): Use it.
3811
38122012-04-21 Chong Yidong <cyd@gnu.org>
3813
3814 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3815 (woman-horizontal-escapes, woman-negative-vertical-space)
3816 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3817 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3818
ed571ccb
SM
38192012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * minibuffer.el (completion-file-name-table): Complete user names.
3822
39773899
LL
38232012-04-20 Leo Liu <sdl.web@gmail.com>
3824
3825 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3826 and pcase-let*.
3827
de6ff46d
CY
38282012-04-20 Chong Yidong <cyd@gnu.org>
3829
3830 * server.el (server-execute): Respect initial-buffer-choice if it
3831 is a string and there are no files to open (Bug#2825).
3832 (server-create-window-system-frame, server-create-tty-frame):
3833 Don't switch buffers here.
2d0e8e61
CY
3834 (server-process-filter): Only try to open a window system frame if
3835 compiled with graphical support (Bug#8314).
de6ff46d 3836
54071013
DN
38372012-04-20 Dan Nicolaescu <dann@gnu.org>
3838
3839 * battery.el (battery-echo-area-format): Display remaining time
3840 for sysfs backend too (Bug#11269).
3841 (battery-linux-sysfs): Fix conditional for the charge.
3842
f30d612a
CY
38432012-04-20 Chong Yidong <cyd@gnu.org>
3844
c07a4c0b 3845 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3846 (gdb-inferior-io--init-proc): New function.
3847 (gdb-init-1): Use it.
3848 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3849 responsible for allocating a new pty and hooking it to gdb when
3850 the old pty gets an EIO due to process exit.
3851 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3852 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3853 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3854
2116e93c
EZ
38552012-04-20 Eli Zaretskii <eliz@gnu.org>
3856
3857 * window.el (window-min-size, window-sizable, window-min-delta)
3858 (window-max-delta, window--resizable, window-resizable)
3859 (window-total-size, window-full-height-p, window-full-width-p)
3860 (window-in-direction, window--resize-mini-window, window-resize)
3861 (window--resize-child-windows-normal)
3862 (window--resize-child-windows, window--resize-siblings)
3863 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3864 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3865
c07a4c0b 38662012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3867
ef24141c
SM
3868 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3869 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3870 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3871 pty process (Bug#11273).
3872 (gdb-update): New arg to suppress talking to the gdb process.
3873 (gdb-done-or-error): Use it.
3874 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3875 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3876 sentinel not being called.
3877
3878 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3879
d02766ab
CY
3880 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3881
c07a4c0b 38822012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3883
3884 * net/network-stream.el (open-network-stream): Doc fix.
3885
c07a4c0b 38862012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3887
3888 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3889
c07a4c0b 38902012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3891
3892 Ensure searching for keywords is case sensitive.
3893
3894 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3895 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3896 (c-defun-name, c-mark-function, c-cpp-define-name)
3897 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3898 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3899
ef24141c
SM
3900 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3901 Bind case-fold-search to nil.
f0f6bc35 3902
c07a4c0b 39032012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3904
3905 * mail/sendmail.el (mail-bury): Call return action with the right
3906 Rmail buffer (Bug#11242).
3907
9a864fa2
CY
3908 * server.el (server-process-filter): Handle corner case where both
3909 tty and nowait options are present (Bug#11102).
3910
539aa513
EZ
39112012-04-20 Eli Zaretskii <eliz@gnu.org>
3912
3913 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3914 (top level): Put into the executable the ident-style '$Id:' tag on
3915 windows-nt as well.
539aa513 3916
cfc7d5da
SM
39172012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * electric.el (electric-indent-post-self-insert-function): Check that
3920 electric-indent-mode is enabled in current buffer.
3921
5b01685c
JB
39222012-04-19 Juanma Barranquero <lekktu@gmail.com>
3923
3924 * imenu.el (imenu-progress-message): Restore; it is "used" in
3925 erc/erc-imenu.el and net/snmp-mode.el.
3926
4d6769e1
JB
39272012-04-19 Juanma Barranquero <lekktu@gmail.com>
3928
3929 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3930 (mouse-avoidance-nudge-mouse): Remove unused binding.
3931
3932 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3933
3934 * descr-text.el (describe-char):
3935 * progmodes/python.el (python-describe-symbol):
3936 Don't call `toggle-read-only', set `buffer-read-only'.
3937
3938 * imenu.el (imenu-default-goto-function): Mark unused args.
3939 (imenu-progress-message): Remove obsolete macro; all callers changed.
3940
3941 * subr.el (keymap-canonicalize): Remove unused binding.
3942 (read-passwd): Mark unused arg.
3943
3944 * tutorial.el (tutorial--display-changes): Remove unused binding.
3945 (tutorial--save-tutorial-to): Remove unused variable.
3946
3947 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3948 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3949 (package-generate-autoloads, package-menu--generate)
3950 (package-menu--find-upgrades): Remove unused bindings.
3951
3952 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3953 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3954 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3955 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3956 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3957 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3958 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3959 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3960 (cua-delete-char-rectangle): Mark unused args.
3961 (cua-align-rectangle): Remove unused binding.
3962
3963 * mail/rmail.el (compilation--message->loc)
3964 (epa--find-coding-system-for-mime-charset): Declare.
3965
3966 * net/dbus.el (dbus-register-service): Declare.
3967 (dbus-name-owner-changed-handler): Remove unused binding.
3968
3969 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3970 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3971 (nxml-scan-backward-within): Mark unused arg.
3972 (nxml-dynamic-markup-word): Remove unused binding.
3973
3974 * mouse.el (mouse-menu-major-mode-map):
3975 * emacs-lisp/authors.el (authors-scan-change-log)
3976 (authors-add-to-author-list):
3977 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3978 * emacs-lisp/smie.el (smie-auto-fill):
3979 * mail/sendmail.el (mail-bury):
3980 * mail/unrmail.el (unrmail):
3981 * net/tls.el (open-tls-stream):
3982 * textmodes/picture.el (picture-mouse-set-point):
3983 Remove unused bindings.
3984
8c8fc5df
MA
39852012-04-19 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * net/tramp.el (tramp-action-password): Let-bind
3988 `enable-recursive-minibuffers' to t.
3989
a77b0ac9
SS
39902012-04-18 Sam Steingold <sds@gnu.org>
3991
3992 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3993 instead of 'string to accommodate values like [f11].
3994 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3995 * progmodes/gdb-mi.el: Likewise.
3996
12a106a9
LL
39972012-04-18 Leo Liu <sdl.web@gmail.com>
3998
3999 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4000 current buffer.
4001 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4002 LOCAL is nil.
4003
bc6494ef
CY
40042012-04-18 Chong Yidong <cyd@gnu.org>
4005
4006 * simple.el (line-move): Use forward-line if in batch mode
4007 (Bug#11053).
4008
c09c46b2
CS
40092012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4010
4011 * files.el (after-find-file): Do not try to add a final newline if
4012 the buffer is read-only (Bug#11156).
4013
5f6530ea
RS
40142012-04-17 Richard Stallman <rms@gnu.org>
4015
4016 * mail/rmail.el (rmail-start-mail):
4017 Pass (rmail-mail-return...) for the return-action.
4018 Pass (rmail-yank-current-message...) for the yank-action.
4019 (rmail-yank-current-message): New function.
4020 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4021 (rmail-reply): Likewise.
4022 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4023
4024 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4025 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4026 buffer, not newbuf.
4027
197b6f3c
JB
40282012-04-17 Juanma Barranquero <lekktu@gmail.com>
4029
4030 * server.el (server-ensure-safe-dir): Simplify.
4031
2311d8e5 40322012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4033
2311d8e5
GM
4034 * emacs-lisp/smie.el: Provide smarter auto-filling.
4035 (smie-auto-fill): New function.
4036 (smie-setup): Use it.
98fb480e 4037
2311d8e5
GM
4038 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4039
40402012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4041
4042 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4043 (comment-indent): Use it.
4044
2311d8e5 40452012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4046
4047 * ses.el: The overall change is to add cell renaming, that is
4048 setting fancy names for cell symbols other than name matching
4049 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4050 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4051 (ses-create-cell-variable): New defun.
2311d8e5 4052 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4053 (ses-relocate-formula): Relocate formulas only for cells the
4054 symbols of which are not renamed, i.e. symbols whose names do not
4055 match regexp "\\`[A-Z]+[0-9]+\\'".
4056 (ses-relocate-all): Relocate values only for cells the symbols of
4057 which are not renamed.
4058 (ses-load): Create cells variables as the (ses-cell ...) are read,
4059 in order to check row col consistency with cell symbol name only
4060 for cells that are not renamed.
4061 (ses-replace-name-in-formula): New defun.
4062 (ses-rename-cell): New defun.
4bdf2ad2 4063
fc72b15c
PO
40642012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4065
4066 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4067 New option (bug#11118).
4068 (perl-calculate-indent): Respect it.
4069
12e10e61
GM
40702012-04-17 Glenn Morris <rgm@gnu.org>
4071
4072 * dired-aux.el (dired-mark-read-string): Doc fix.
4073
30009afd
DA
40742012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4075
4076 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4077 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4078
41f03f4d
GM
40792012-04-17 Glenn Morris <rgm@gnu.org>
4080
4081 * mouse.el (mouse-drag-track):
4082 * speedbar.el (speedbar-frame-mode):
4083 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4084
f45f90f3
LL
40852012-04-16 Leo Liu <sdl.web@gmail.com>
4086
4087 * progmodes/python.el: Trivial cleanup.
4088
94ee8db5
GM
40892012-04-16 Glenn Morris <rgm@gnu.org>
4090
121b8917
GM
4091 * vc/vc.el (vc-string-prefix-p):
4092 * vc/pcvs-util.el (cvs-string-prefix-p):
4093 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4094 * mpc.el (mpc-string-prefix-p):
4095 Make all of these into obsolete aliases for string-prefix-p.
4096 Update callers.
4097 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4098
1197ecfa
GM
4099 * textmodes/two-column.el: Move custom options to the start.
4100 (frame-width): Remove compat definition.
4101 (2C-associate-buffer, 2C-dissociate):
4102 Use with-current-buffer rather than save-excursion.
4103 (2C-dissociate): Force a mode-line update.
4104 (2C-autoscroll): Use ignore-errors.
4105
099e7202
GM
4106 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4107 Autoload trivia.
4108
bf350d6a
GM
4109 * emacs-lisp/cl-extra.el (*random-state*):
4110 Remove unnecessary declaration.
4111
0e829eab
GM
4112 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4113
e3ad7552
GM
4114 * play/cookie1.el (cookie-snarf):
4115 Give an explicit error if input file cannot be read.
4116
68892d27
GM
4117 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4118
20f0c46d
GM
4119 * progmodes/perl-mode.el (c-macro-expand):
4120 Remove unnecessary autoload (it is in loaddefs.el).
4121
5a0978ce
GM
4122 * textmodes/picture.el (picture-desired-column)
4123 (picture-update-desired-column): Convert comments to doc-strings.
4124 (picture-substitute): Remove function.
4125 (picture-mode-map): Initialize in the defvar.
4126
6b955486
GM
4127 * woman.el: Remove eval-after-load for tar-mode.
4128 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4129 (woman-tar-extract-file): Autoload it.
4130
94ee8db5
GM
4131 * frame.el (automatic-hscrolling): Make this alias obsolete.
4132
177eca34
AM
41332012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4134
090bd7cb 4135 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4136 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4137 (ispell-dictionary-base-alist): Revert to original XEmacs
4138 friendly version for default. [:alpha:] will be added in
090bd7cb 4139 `ispell-set-spellchecker-params' if needed.
177eca34 4140
c505aaeb
CY
41412012-04-16 Chong Yidong <cyd@gnu.org>
4142
4143 * image.el (imagemagick--extension-regexp): New variable.
4144 (imagemagick-register-types): Use it.
4145 (imagemagick-types-inhibit): Add :set function. Allow new value
4146 of t to inhibit all types.
4147
4148 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4149 so we can preload it.
4150
4151 * loadup.el (fboundp): Preload regexp-opt, needed by
4152 imagemagick-register-types.
4153
60efac0f
CY
41542012-04-15 Chong Yidong <cyd@gnu.org>
4155
4156 * frame.el (scrolling): Remove nearly unused customization group.
4157
4158 * scroll-all.el (scroll-all-mode): Move to windows group.
4159
5dd1713e
CY
41602012-04-15 Chong Yidong <cyd@gnu.org>
4161
4162 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4163
e6fd457e
CY
41642012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4167 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4168
e153c136
GM
41692012-04-15 Glenn Morris <rgm@gnu.org>
4170
4171 * simple.el (process-file-side-effects): Doc fix.
4172
e6fd457e 41732012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4174
4175 * international/mule-cmds.el (set-language-environment): Doc fix.
4176
3603c3b1
JB
41772012-04-14 Juanma Barranquero <lekktu@gmail.com>
4178
4179 * server.el (server-auth-key, server-generate-key): Doc fixes.
4180 (server-get-auth-key): Doc fix. Use `string-match-p'.
4181 (server-start): Reflow docstring.
4182
e6de100c
LI
41832012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4184
4185 * server.el (server-generate-key): `called-interactively-p'
4186 requires a parameter.
4187
29734c21
MN
41882012-04-14 Michal Nazarewicz <mina86@mina86.com>
4189
4190 * server.el (server-auth-key): New variable.
75f1671a 4191 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4192 (server-start): Use the new variable and functions to allow
4193 setting a permanent server key (bug#9423).
4194
d65c9521
LL
41952012-04-14 Leo Liu <sdl.web@gmail.com>
4196
4197 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4198
5ae255c7
PE
41992012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4200
4201 Spelling fixes.
4202 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4203 Emacs uses American spelling.
4204
d5e6342e
JB
42052012-04-14 Juanma Barranquero <lekktu@gmail.com>
4206
4207 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4208 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4209 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4210 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4211
ab036cd7
SM
42122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * progmodes/which-func.el (which-func-modes): Change default.
4215
35dc09a1 42162012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4217
4218 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4219 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4220
35dc09a1 42212012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4222
4223 * custom.el (custom-theme-set-variables): Doc fix.
4224
35dc09a1 42252012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4226
4227 * international/mule.el (set-auto-coding-for-load): Doc fix.
4228
35dc09a1 42292012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4230
35dc09a1
GM
4231 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4232 imenu work again for Objective C Mode. Correct the *-index values,
4233 these having been disturbed by a previous change in 2011-08.
57f845ee 4234
0de3da9f
AM
4235 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4236 Correct two search limits.
4237
35dc09a1 42382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4239
4240 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4241
35dc09a1 42422012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4243
4244 * international/characters.el: Fix sorting.
4245
35dc09a1 42462012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4247
4248 * international/characters.el: Add more missing Latin case pairs.
4249
35dc09a1 42502012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4251
4252 * files.el (dir-locals-set-class-variables): Doc fix.
4253
35dc09a1 42542012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4255
3f1b5bf8
EZ
4256 * international/characters.el: Add set-case-syntax-pair call for
4257 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4258 counterpart. (Bug#11209)
4259
9f847f41
EZ
4260 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4261
35dc09a1 42622012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4263
4264 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4265
35dc09a1 42662012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4267
35dc09a1
GM
4268 * textmodes/ispell.el (ispell-dictionary-base-alist):
4269 Add data for Hebrew.
e2627d21 4270
35dc09a1 42712012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4272
35dc09a1
GM
4273 * net/rcirc.el (rcirc-cmd-quit):
4274 Revert 2012-03-18 change (Bug#11192).
5c14e333 4275
35dc09a1 42762012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4277
4278 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4279
35dc09a1 42802012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4281
4517fe3a
SM
4282 * minibuffer.el (completion-in-region-mode-map):
4283 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4284
b472a594
VD
42852012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4286
4287 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4288
09b95ce3
MY
42892012-04-13 Masatake YAMATO <yamato@redhat.com>
4290
4291 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4292 to allow `C-M-f' and `C-M-b' to move to the nearest path
4293 separator (bug#9511).
4294
4b63a9ca
LI
42952012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4296
4297 * avoid.el: Require cl when compiling. And also move the
4298 `provide' to the end.
4299
7b55b8bf
TV
43002012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4301
4302 * avoid.el (mouse-avoidance-banish-position): New variable.
4303 (mouse-avoidance-banish-destination): Use it (bug#10165).
4304
adedaa1f
LL
43052012-04-13 Leo Liu <sdl.web@gmail.com>
4306
4307 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4308
70e74021
KB
43092012-04-13 Ken Brown <kbrown@cornell.edu>
4310
4311 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4312 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4313 (browse-url-filename-alist): For the same reason, don't modify
4314 file:// URLs on Cygwin.
4315
e75e89ba
SM
43162012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4319 the region on shift if the binding is already shifted (bug#11221).
4320
82f289a4
GM
43212012-04-12 Glenn Morris <rgm@gnu.org>
4322
4323 * mail/mailpost.el: Move to obsolete/.
4324
d333dc4c
DA
43252012-04-12 Drew Adams <drew.adams@oracle.com>
4326
4327 * imenu.el (imenu--generic-function): Ignore invisible definitions
4328 (bug#10123).
4329
0d15b5ba
VD
43302012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4331
4332 * hexl.el (hexl-bits): New variable.
4333 (hexl-options): Mention the variable in the doc string.
75f1671a 4334 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4335 (hexl-mode): Mention the new variable.
75f1671a
JB
4336 (hexl-mode, hexl-current-address, hexl-current-address):
4337 Use the displen.
0d15b5ba
VD
4338 (hexl-ascii-start-column): New function.
4339 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4340 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4341
64a440db
AM
43422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4343
4344 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4345 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4346 the encoding, as expected by hunspell.
4347
6decb6c2
SM
43482012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * battery.el (battery--linux-sysfs-regexp): New const.
4351 (battery-status-function): Use it. Remove yeeloong special case.
4352 (battery-yeeloong-sysfs): Remove.
4353 (battery-echo-area-format): Remove yeeloong special case.
4354
088be6fb
SM
43552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4356
6622e416
SM
4357 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4358 Reported by Noah Friedman.
4359
088be6fb
SM
4360 * subr.el (read-passwd): Use read-string.
4361
b49f886e
LMI
43622012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4363
4364 * vcursor.el (vcursor-move): Increase the priority of the overlay
4365 (bug#9663).
4366
a63067fc
DD
43672012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4368
4369 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4370 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4371
ac3cf14a
WS
43722012-04-11 William Stevenson <yhvh2000@gmail.com>
4373
4374 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4375 define-minor-mode (bug#10760).
4376
c4fc691b 43772012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4378
4d6769e1 4379 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4380 that directories matching `grep-find-ignored-files' won't be
4381 pruned (bug#10351).
4382
af23e2e5
CY
43832012-04-11 Chong Yidong <cyd@gnu.org>
4384
4385 * startup.el (command-line): Remove support for long-obsolete
4386 variable font-lock-face-attributes.
4387
ab7ce8c1
GM
43882012-04-11 Glenn Morris <rgm@gnu.org>
4389
4390 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4391
de8c03dc
SM
43922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * window.el (window--state-get-1): Obey window-point-insertion-type.
4395
050cc68b
LB
43962012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4397
4398 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4399 to previous function when point is on the first character of a
75f1671a 4400 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4401
a38c310c
GM
44022012-04-11 Glenn Morris <rgm@gnu.org>
4403
effed0c2
GM
4404 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4405 not just file-errors.
4406
a38c310c
GM
4407 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4408 (vc-bzr-sha1): Use internal sha1.
4409
0221e323
SM
44102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4413
43956923
SG
44142012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4415
4416 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4417 that start in the middle of the line (bug#10496).
4418
6a8c9eaf
DN
44192012-04-10 Dan Nicolaescu <dann@gnu.org>
4420
4421 * battery.el (battery-linux-proc-acpi): Only one battery is
4422 discharged at a time, but that seems to confuse battery.el when
4423 computing `rate-type' for the battery not being discharged
4424 (bug#10332).
4425
1930bf5d
SM
44262012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4427
2a718f6f
SM
4428 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4429
599430d0
SM
4430 * international/quail.el: Use dolist and simplify.
4431 (quail-define-package, quail-update-keyboard-layout)
4432 (quail-define-rules): Use dolist.
4433 (quail-insert-kbd-layout, quail-get-translation): CSE.
4434
a2754b6c
SM
4435 * tmm.el: Use dolist, remove left over hook.
4436 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4437 Use dolist.
4438 (calendar-load-hook): Don't mess with it.
4439
1930bf5d
SM
4440 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4441 Use derived-mode-p. Run the diff asynchronously.
4442
9f67961c
LMI
44432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4444
4445 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4446
2a8ce227
JB
44472012-04-10 Juanma Barranquero <lekktu@gmail.com>
4448
4449 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4450 (list-dynamic-libraries--loaded): New function.
4451 (list-dynamic-libraries--refresh): Use it.
4452
8f33b5f8
NW
44532012-04-10 Nathan Weizenbaum <nweiz@google.com>
4454
1930bf5d
SM
4455 * progmodes/python.el (python-fill-paragraph):
4456 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4457 disabled (bug#7018).
4458
b12f0439
L
44592012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4460
1930bf5d 4461 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4462 DOS/MS Windows for the Baltic languages. There are still plenty
4463 of texts written in this encoding/codepage (bug#6519).
b12f0439 4464
57c3bd01
GM
44652012-04-10 Glenn Morris <rgm@gnu.org>
4466
4467 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4468 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4469
6c3eab30
FA
44702012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4471
1930bf5d 4472 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4473 next-line "n" and previous-line "p" in order to make recentf more
4474 consistent with ibuffer, dired or org-mode (bug#9387).
4475
24d78a88
LMI
44762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4477
bc72b5d9
LMI
4478 * image.el (put-image): Return the overlay created instead of the
4479 optional input string (bug#7834). Note that this may break code
4480 that is (for some reason or other) depending on `put-image'
4481 returning the string.
4482
bd2dba5a
LMI
4483 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4484
74beb59f
LMI
4485 * simple.el (zap-to-char): Allow zapping using input methods
4486 (bug#1580).
4487
24d78a88
LMI
4488 * textmodes/fill.el (fill-region): Leave point and mark where they
4489 were before filling (bug#5399).
4490
263f20cd
GM
44912012-04-09 Glenn Morris <rgm@gnu.org>
4492
4493 * version.el (emacs-bzr-get-version):
4494 Handle lightweight checkouts of local branches.
4495
58d1f797
AS
44962012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4497
263f20cd 4498 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4499
b4d3bc10
CY
45002012-04-09 Chong Yidong <cyd@gnu.org>
4501
4502 * custom.el (custom-variable-p): Return nil for non-symbol
4503 arguments instead of signaling an error.
4504 (user-variable-p): Obsolete alias for custom-variable-p.
4505
4506 * apropos.el (apropos-variable):
4507 * files-x.el (read-file-local-variable):
4508 * simple.el (set-variable):
4509 * woman.el (woman-mini-help):
4510 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4511
fd06db5d
GM
45122012-04-09 Glenn Morris <rgm@gnu.org>
4513
e5fcdb5e
GM
4514 * startup.el (normal-top-level): Don't look for leim-list.el
4515 in places where it will not be found. (Bug#910)
4516
fd06db5d
GM
4517 * international/mule-cmds.el (set-default-coding-systems):
4518 * files.el (normal-mode):
4519 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4520 This function was removed with ucs-tables.el in 2008.
4521
b39bb7e1
EZ
45222012-04-08 Eli Zaretskii <eliz@gnu.org>
4523
4524 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4525 ispell-encoding8-command to "-i", without a trailing space.
4526 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4527 separate command-line arguments, to specify the encoding, since
4528 that's how hunspell expects it.
4529
5c5b8e23
GM
45302012-04-08 Glenn Morris <rgm@gnu.org>
4531
4532 * loadup.el: Load bindings before cus-start.
4533 This reduces somewhat the number of "rogue" settings in emacs -Q.
4534
a1ed8b05
GM
45352012-04-07 Glenn Morris <rgm@gnu.org>
4536
4537 * version.el (emacs-bzr-get-version): New function.
dfae128a 4538 (emacs-bzr-version): New variable.
a1ed8b05
GM
4539 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4540 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4541
b142f158
EZ
45422012-04-07 Eli Zaretskii <eliz@gnu.org>
4543
dfae128a
GM
4544 * international/uni-bidi.el, international/uni-category.el:
4545 * international/uni-combining.el, international/uni-decimal.el:
4546 * international/uni-decomposition.el, international/uni-digit.el:
4547 * international/uni-lowercase.el, international/uni-mirrored.el:
4548 * international/uni-name.el, international/uni-numeric.el:
4549 * international/uni-titlecase.el, international/uni-uppercase.el:
4550 Update for Unicode 6.1.
b142f158 4551
9078ead6
EZ
45522012-04-07 Eli Zaretskii <eliz@gnu.org>
4553
4554 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4555
f23d2c7d
LMI
45562012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4557
4558 * window.el (shrink-window): Mention the `window-min-height'
4559 variable in the doc string.
4560
0a0a3573
BG
45612012-04-05 Bastien Guerry <bzg@altern.org>
4562
4563 * color.el (color-lighten-name): Fix typo.
4564
e5248ac9
SM
45652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * server.el (server--on-display-p): New function.
4568 (server--on-display-p): Use it.
4569
b4243e22
GV
45702012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4571
4572 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4573 (bug#11145).
4574
305d9f44
SM
45752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * comint.el (comint--common-quoted-suffix): Check string boundary
4578 before comparing (bug#11158).
4579 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4580
3d439cd1
CY
45812012-04-04 Chong Yidong <cyd@gnu.org>
4582
321cc491
CY
4583 * minibuffer.el (completion-extra-properties): Doc fix.
4584
3d439cd1
CY
4585 * subr.el (delayed-warnings-hook): Doc fix.
4586
2d562c0f
DU
45872012-04-04 Daiki Ueno <ueno@unixuser.org>
4588
4589 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4590 selection (Bug#11159).
4591 (epa-insert-keys): Inform that the default public key will be
4592 exported if no key is selected.
4593
4443f204
RS
45942012-04-04 Richard Stallman <rms@gnu.org>
4595
4596 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4597
529c06b6
CY
45982012-04-03 Chong Yidong <cyd@gnu.org>
4599
4600 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4601 mail-insert-file, not its obsolete alias mail-attach-file.
4602
66b907dc
MA
46032012-04-03 Michael Albinus <michael.albinus@gmx.de>
4604
4605 * notifications.el (notifications-notify): Fix docstring.
4606
c0ea195d
GM
46072012-04-02 Glenn Morris <rgm@gnu.org>
4608
4609 * emacs-lisp/authors.el (authors-aliases): Another addition.
4610
5ca64e00
MA
46112012-04-02 Michael Albinus <michael.albinus@gmx.de>
4612
4613 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4614 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4615 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4616
42ee526b
CY
46172012-04-01 Chong Yidong <cyd@gnu.org>
4618
4619 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4620 Handle root directory properly.
4621 (copy-directory): Caller changed.
4622
4623 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4624 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4625
0b021094
GM
46262012-03-31 Glenn Morris <rgm@gnu.org>
4627
40f86458
GM
4628 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4629
7019c177
GM
4630 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4631
a1daddd6
GM
4632 * calendar/calendar.el (calendar-window-list)
4633 (calendar-hide-window): Restore. (Bug#11140)
4634 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4635
0b021094
GM
4636 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4637
40311efc
TV
46382012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4639
4640 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4641 Check if file is a symlink (Bug#10489).
4642
4643 * files.el (copy-directory): Likewise.
4644
5319014e
CY
46452012-03-30 Chong Yidong <cyd@gnu.org>
4646
4647 * image.el (imagemagick-types-inhibit)
4648 (imagemagick-register-types): Doc fix.
4649
935d1290
AM
46502012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4651
090bd7cb 4652 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4653 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4654 and treats ~word as ordinary words in pipe mode.
935d1290 4655
61c6e8fd
GM
46562012-03-30 Glenn Morris <rgm@gnu.org>
4657
4658 * tutorial.el (help-with-tutorial): Ensure local variables don't
4659 happen to make the buffer read-only. (Bug#11127)
4660
81fdff00
SM
46612012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4664 (perl-calculate-indent): Return `noindent' in strings.
4665
6e7a6ec0
SS
46662012-03-28 Sam Steingold <sds@gnu.org>
4667
4668 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4669 instead of the broken adhockery which does not prevent calendar
4670 buffers from being displayed at random after exit.
4671 (calendar-window-list, calendar-hide-window): Remove the broken
4672 adhockery.
4673
fee88ca0
GM
46742012-03-28 Glenn Morris <rgm@gnu.org>
4675
4676 * replace.el (query-replace-map): Doc fix.
4677
38de3354
AS
46782012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4681 contents. (Bug#11109)
4682
b973155e
SM
46832012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4686 (bug#11077).
4687 (avl-tree--check, avl-tree--check-node): New funs.
4688
dcb6e7b3
MR
46892012-03-27 Martin Rudalics <rudalics@gmx.at>
4690
4691 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4692 (switch-to-prev-buffer, switch-to-next-buffer):
4693 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4694 showing a buffer already is done on the same frame.
4695
b4fa35fa
GM
46962012-03-27 Glenn Morris <rgm@gnu.org>
4697
4698 * startup.el (mail-host-address): Doc fix.
4699
f9210e18
SM
47002012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4703 than 197 variables.
4704
c0bf7753
AF
47052012-03-26 Ami Fischman <ami@fischman.org>
4706
4707 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4708
33da7b16
GM
47092012-03-26 Glenn Morris <rgm@gnu.org>
4710
02243d9d
GM
4711 * files.el (save-buffers-kill-emacs): Doc fix.
4712
33da7b16
GM
4713 * startup.el (normal-top-level, command-line, command-line-1):
4714 Give them doc strings.
4715
e5a69fd0
EZ
47162012-03-25 Eli Zaretskii <eliz@gnu.org>
4717
4718 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4719 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4720
9a69676a
CY
47212012-03-25 Chong Yidong <cyd@gnu.org>
4722
4125cb8b
CY
4723 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4724 theme if it was previously enabled before (Bug#11031).
4725
dd470960
CY
4726 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4727 spec with custom-face-get-current-spec if its :shown-value is not
4728 determined yet (Bug#9337).
4125cb8b 4729 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4730
9a69676a
CY
4731 * button.el (button-at): Minor addition to docstring.
4732
6e7e90fa
SL
47332012-03-24 Simon Leinen <simon.leinen@gmail.com>
4734
4735 * vc/vc.el (vc-merge): Fix a prompt.
4736
f06e2758
CY
47372012-03-24 Chong Yidong <cyd@gnu.org>
4738
4739 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4740 point (Bug#9623).
4741
6e7e90fa
SL
4742 * button.el (button-at): Minor addition to docstring.
4743
b9d0879b
SM
47442012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * newcomment.el (comment-choose-indent): No space after BOL.
4747
e71cebb3
SS
47482012-03-22 Sam Steingold <sds@gnu.org>
4749
4750 * window.el (switch-to-prev-buffer): Revert last patch because the
4751 bug turned out to be an advertised feature (Elisp manual 28.14).
4752
335aff35
GM
47532012-03-22 Glenn Morris <rgm@gnu.org>
4754
4755 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4756 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4757
c676576a
LMI
47582012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4759
4760 * net/network-stream.el (network-stream-open-starttls): Make error
4761 message under Windows be less misleading.
4762
126f3d39
LW
47632012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4764
4765 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4766 understands (bug#9942).
4767
64fee311
CY
47682012-03-22 Chong Yidong <cyd@gnu.org>
4769
4770 * simple.el (end-of-visible-line): Handle return value of
4771 next-single-property-change properly (Bug#9371).
4772
a640d29a
KH
47732012-03-22 Kenichi Handa <handa@m17n.org>
4774
4775 * international/quail.el (quail-insert-kbd-layout): Fix previous
4776 change. To avoid unwanted bidi reordering, use
4777 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4778
39675016
DG
47792012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4780
4781 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4782 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4783 (ruby-beginning-of-indent): Be more careful with the difference
4784 between word-boundary and symbol boundary.
4785 (ruby-mode-syntax-table): Make : a symbol constituent.
4786
0a6934fc 47872012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4788
3d008e4f
SM
4789 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4790
0a6934fc
SM
47912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4792
af67c9d7
SM
4793 * progmodes/etags.el (tags-completion-at-point-function):
4794 Improve last fix.
4795
1acad97c
SM
4796 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4797
e298b5da
SS
47982012-03-21 Sam Steingold <sds@gnu.org>
4799
4800 * progmodes/etags.el (tags-completion-at-point-function):
4801 Avoid the error when point is inside the pattern.
4802
91d82a70
JY
48032012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4804
4805 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4806 line (Bug#10855).
4807
69188b79
CY
48082012-03-21 Drew Adams <drew.adams@oracle.com>
4809
4810 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4811
99fc91fe
AK
48122012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4813
4814 * ido.el (ido-set-current-directory, ido-read-internal)
4815 (ido-choose-completion-string, ido-completion-help): Handle nil
4816 value of ido-completion-buffer (Bug#11008).
4817
087bbb4c
SS
48182012-03-21 Sam Steingold <sds@gnu.org>
4819
4820 * window.el (switch-to-prev-buffer): Do not switch to a visible
4821 window previous buffer, just like with the frame previous buffers.
4822
fb5b8aca
CY
48232012-03-21 Chong Yidong <cyd@gnu.org>
4824
4825 * faces.el (make-face, make-empty-face, copy-face):
4826 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4827 Doc fixes.
4828
dc9924b8
SM
48292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4832 (widget-complete): Remove broken use of it.
4833
f0bcceb9
CY
48342012-03-20 Chong Yidong <cyd@gnu.org>
4835
dc9924b8
SM
4836 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4837 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4838 characters.
4839
ee52ebf3
TH
48402012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4841
4842 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4843 to draw rectangles, not squares. (Regression introduced by revno
4844 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4845
4c5779ab
CY
48462012-03-18 Chong Yidong <cyd@gnu.org>
4847
4848 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4849 it is not yet defined (for temacs).
4850
15360934
LL
48512012-03-18 Leo Liu <sdl.web@gmail.com>
4852
dc9924b8 4853 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4854
d9a8eb66
EZ
48552012-03-17 Eli Zaretskii <eliz@gnu.org>
4856
4857 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4858 (ispell-choices-win-default-height, ispell-silently-savep)
4859 (ispell-dictionary-alist, ispell-encoding8-command)
4860 (ispell-check-version, ispell-aspell-find-dictionary)
4861 (ispell-valid-dictionary-list, ispell-words-keyword)
4862 (ispell-get-word, ispell-internal-change-dictionary)
4863 (ispell-region, ispell-skip-region-list)
4864 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4865 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4866 (ispell-message-text-end, ispell-message)
4867 (ispell-buffer-local-parsing): Doc fix.
4868
f02ff80d
J
48692012-03-13 Jambunathan K <kjambunathan@gmail.com>
4870
4871 * htmlfontify.el: Add support for code block fontification for ODT
4872 export (Bug #9914).
4873 (hfy-optimisations): Define new option
4874 `body-text-only'
4875 (hfy-fontify-buffer): Honor above setting.
4876 (hfy-begin-span, hfy-end-span): New routines factored out form
4877 `hfy-fontify-buffer'.
4878 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4879 that permit insertion of custom tags.
4880 (hfy-fontify-buffer): Use above handlers.
4881 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4882 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4883 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4884 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4885 bind a special variable `hfy-user-sheet-assoc'.
4886 (htmlfontify-string): New defun.
4887 (hfy-compile-face-map): Make sure that the last char in the
4888 buffer is correctly fontified.
4889 (hfy-face-resolve-face): Whitespace only change.
4890
9ac7a13f
EZ
48912012-03-17 Eli Zaretskii <eliz@gnu.org>
4892
4893 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4894 message more clear.
4895
e2b5bdd7
LL
48962012-03-16 Leo Liu <sdl.web@gmail.com>
4897
4898 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4899
2e492df3
AM
49002012-03-16 Alan Mackenzie <acm@muc.de>
4901
4902 Further optimise the handling of large macros.
4903
4904 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4905 limit to a call of `c-literal-limits'.
4906 (c-determine-+ve-limit): New function.
dc9924b8
SM
4907 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4908 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4909 In CASE 5B, restrict a search limit to 500.
4910 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4911
4912 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4913 Restrict macro bounds to +-500 from after-change's BEG END.
4914
50e94f0c
LL
49152012-03-16 Leo Liu <sdl.web@gmail.com>
4916
4917 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4918
6f09f6ed
AH
49192012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4920
4921 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4922 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4923
c7e73d51
GM
49242012-03-16 Glenn Morris <rgm@gnu.org>
4925
da986230
GM
4926 * view.el (view-buffer, view-buffer-other-window)
4927 (view-buffer-other-frame): Doc fixes re special mode-class.
4928
0835f01e
GM
4929 * subr.el (eval-after-load): If named feature is provided not from
4930 a file, run after-load forms. (Bug#10946)
4931
c7e73d51
GM
4932 * calendar/calendar.el (calendar-insert-at-column):
4933 Handle non-unit-width characters a bit better. (Bug#10978)
4934
3f2eafd1
CY
49352012-03-15 Chong Yidong <cyd@gnu.org>
4936
4937 * emacs-lisp/ring.el (ring-extend): New function.
4938 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4939
4940 * comint.el (comint-read-input-ring)
4941 (comint-add-to-input-history): Grow comint-input-ring lazily.
4942
103af3fe
SM
49432012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4944
663b1677
SM
4945 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4946 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4947
103af3fe
SM
4948 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4949 (imenu-add-to-menubar): Don't add a redundant index.
4950 (imenu-update-menubar): Handle a dynamically composed keymap.
4951
899cb7cb
KY
49522012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4953
4954 * mail/sendmail.el (mail-encode-header):
4955 Bind rfc2047-encode-encoded-words to nil.
4956
3809f91d
GM
49572012-03-13 Glenn Morris <rgm@gnu.org>
4958
4959 * calendar/calendar.el (calendar-string-spread):
4960 Handle non-unit-width characters a bit better. (Bug#10978)
4961
9e345a01
LL
49622012-03-13 Leo Liu <sdl.web@gmail.com>
4963
4964 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4965 directory and file as argument (Bug#10822).
4966
4a07df36
KS
49672012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4968
4969 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4970 For dynamically generated code, follow $PC.
4971 (gdb-disassembly-handler-custom): Handle no function name case.
4972
4aaa9356
TL
49732012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4974
4975 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4976 * emulation/ws-mode.el (ws-query-replace):
4977 * sort.el (sort-regexp-fields):
4978 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4979
225979da
SM
49802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * dabbrev.el: Fix cycle completion order (bug#10963).
4983 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4984 (dabbrev-completion): Don't use an obarray; provide
4985 a cycle-sort-function.
4986
e2f1fdab
LL
49872012-03-12 Leo Liu <sdl.web@gmail.com>
4988
dc9924b8 4989 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4990 (kill-do-not-save-duplicates): Doc fix.
4991
b19490ed
SM
49922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * dabbrev.el: Fix cycle completion (bug#10963).
4995 Use lexical binding and wrap to 80 columns.
4996 (dabbrev-completion): Delay computing the list of completions.
4997
4b05d722
KH
49982012-03-12 Kenichi Handa <handa@m17n.org>
4999
5000 * international/quail.el (quail-insert-kbd-layout): Surround each
5001 row by LRO and PDF instead of inserting many LRMs. Pad the left
5002 and right of each non-spacing marks. Insert invisible space
5003 between lower and upper characters to prevent composition.
5004
dbbc2e69
SM
50052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * minibuffer.el (minibuffer-complete): Don't get confused when the
5008 function is run twice via different commands (bug#10958).
5009 (complete-with-action): Fix docstring.
5010
292112ed
CY
50112012-03-12 Chong Yidong <cyd@gnu.org>
5012
5d1ac394
CY
5013 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5014 (nxml-completion-at-point-function): New function.
5015 (nxml-mode): Use it.
5016 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5017
292112ed
CY
5018 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5019 Load generated autoloads file before byte compiling (Bug#10970).
5020 (package--make-autoloads-and-compile): New helper fun.
5021
4098f8f7
CS
50222012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5023
5024 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5025
8f754691
MA
50262012-03-11 Michael Albinus <michael.albinus@gmx.de>
5027
5028 * autorevert.el (auto-revert-handler): Ensure, that
5029 file-readable-p is applied only for local files or in
5030 auto-revert-tail-mode.
5031
e29ab36b
AS
50322012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5033
dbbc2e69
SM
5034 * server.el (server-eval-at): Handle non-tcp connections.
5035 Decode result string.
ad0bf5b6 5036
e29ab36b
AS
5037 * server.el (server-msg-size): New constant.
5038 (server-reply-print): New function.
5039 (server-eval-and-print): Use it.
5040 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5041 Handle -print-nonl.
5042
de5939ba
CS
50432012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5044
5045 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5046 (Bug#10987).
5047
0c93eabf
CY
50482012-03-11 Chong Yidong <cyd@gnu.org>
5049
397a688f
CY
5050 * simple.el (goto-line): Doc fix (Bug#9938).
5051
2cc775f9
CY
5052 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5053
0c93eabf
CY
5054 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5055 when finished (Bug#10963).
5056
c491fa41
MR
50572012-03-11 Martin Rudalics <rudalics@gmx.at>
5058
5059 * window.el (split-window-below): Fix bug in case where
5060 split-window-keep-point is nil (Bug#10971).
5061
300e8fa5
JL
50622012-03-11 Juri Linkov <juri@jurta.org>
5063
5064 * replace.el (replace-highlight): Set isearch-word to nil
5065 unconditionally. (Bug#10887)
5066
dbf6c5a1
EZ
50672012-03-10 Eli Zaretskii <eliz@gnu.org>
5068
5069 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5070 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5071 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5072 (mairix-widget-create-query): Add usage information about mairix
5073 search forms: negating words, searching for substrings, etc.
5074
b9e501de
JP
50752012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5076
5077 * international/fontset.el (font-encoding-alist): Add an entry for
5078 ksx1001 (Bug#5667).
5079
92795c91
RS
50802012-03-10 Richard Stallman <rms@gnu.org>
5081
1694e6c1
RS
5082 * mail/sendmail.el (mail-encode-header):
5083 Set rfc2047-encode-encoded-words.
5084
607e8555
RS
5085 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5086
de3bc99a
RS
5087 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5088 view buffer means not swapped.
5089 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5090 (rmail-write-region-annotate): Error if real text has disappeared.
5091
92795c91
RS
5092 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5093
699bd04e
CY
50942012-03-10 Chong Yidong <cyd@gnu.org>
5095
5096 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5097 * emulation/cua-base.el (cua--init-keymaps):
5098 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5099
570a1714
MR
51002012-03-10 Martin Rudalics <rudalics@gmx.at>
5101
dbbc2e69
SM
5102 * speedbar.el (speedbar-unhighlight-one-tag-line):
5103 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5104
82dcf4e4
CY
51052012-03-10 Chong Yidong <cyd@gnu.org>
5106
7a2c7ca7
CY
5107 * minibuffer.el (completion-in-region, completion-help-at-point):
5108 Give the completion field overlay a high priority (Bug#6830).
5109
82dcf4e4
CY
5110 * dired.el (dired-goto-file): Recognize absolute file name
5111 listings (Bug#7126).
5112 (dired-goto-file-1): New helper function.
5113 (dired-toggle-read-only): Inhibit warnings.
5114
052e28ac
MA
51152012-03-09 Michael Albinus <michael.albinus@gmx.de>
5116
75f1671a 5117 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5118 there are no properties.
5119
95d5e396
LL
51202012-03-09 Leo Liu <sdl.web@gmail.com>
5121
5122 * savehist.el (savehist-printable): Stricter check for string
5123 value (Bug#10937).
5124
3f018d6d
EZ
51252012-03-09 Eli Zaretskii <eliz@gnu.org>
5126
dbbc2e69
SM
5127 * mail/smtpmail.el (smtpmail-send-it):
5128 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5129 valid mbox format.
5130
f7fd3d79
GM
51312012-03-09 Glenn Morris <rgm@gnu.org>
5132
5133 * files.el (dir-locals-find-file):
5134 Don't check result is regular, readable.
5135 (dir-locals-read-from-file): Demote errors.
5136
6ff6e72f
EZ
51372012-03-08 Eli Zaretskii <eliz@gnu.org>
5138
dbbc2e69
SM
5139 * international/quail.el (quail-insert-kbd-layout):
5140 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5141 layout cell, to prevent their reordering by bidi display engine.
5142 For details, see the discussion in
5143 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5144
9cec7834
AM
51452012-03-08 Alan Mackenzie <acm@muc.de>
5146
5147 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5148 the starting position; make it extend the marked region when
5149 invoked repeatedly - all under appropriate circumstances.
5150 Fixes bugs #5525, #10906.
5151
9a40b8d4
GM
51522012-03-08 Glenn Morris <rgm@gnu.org>
5153
5154 * files.el (locate-dominating-file, dir-locals-find-file):
5155 Undo 2012-03-06 change.
5156
7a08ed35
EZ
51572012-03-07 Eli Zaretskii <eliz@gnu.org>
5158
dbbc2e69
SM
5159 * international/quail.el (quail-help):
5160 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5161 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5162 for the reason.
5163
5aca4f71 51642012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5165
5166 Avoid superfluous registering of signals. (Bug#10807)
5167
5168 * notifications.el (notifications-on-action-object)
5169 (notifications-on-close-object): New defvars.
5170 (notifications-on-action-signal, notifications-on-closed-signal):
5171 Unregister the signal if not needed any longer.
5172 (notifications-notify): Register `notifications-action-signal' or
5173 `notifications-closed-signal', if :on-action or :on-close has been
5174 passed as argument.
5175
78e8b10a
CY
51762012-03-07 Chong Yidong <cyd@gnu.org>
5177
5178 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5179 non-X platforms.
5180
69481eb8
GM
51812012-03-06 Glenn Morris <rgm@gnu.org>
5182
5183 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5184 (x-disown-selection-internal, x-get-selection-internal):
5185 Doc fix (add arglist signatures). (Bug#10783)
5186
133b8e11
KS
51872012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5188
5189 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5190 Handle breakpoints with no "type".
5191
99a83064
GM
51922012-03-06 Glenn Morris <rgm@gnu.org>
5193
5194 * files.el (locate-dominating-file): Add optional predicate argument.
5195 (dir-locals-find-file): Make use of above change.
5196
17798e78
TTN
51972012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5198
5199 * info.el (Info-insert-dir): Also try "dir.gz".
5200
eb182446
GM
52012012-03-06 Glenn Morris <rgm@gnu.org>
5202
8f2114ee
GM
5203 * files.el (dir-locals-find-file):
5204 Ignore non-readable or non-regular files. (Bug#10928)
5205
eb182446
GM
5206 * files.el (locate-dominating-file): Doc fix.
5207
24679323
AS
52082012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5209
5210 * calendar/calendar.el (calendar-set-mode-line):
5211 `getenv' returns a string. (Bug#10951)
5212
01d972a9
LL
52132012-03-05 Leo Liu <sdl.web@gmail.com>
5214
109aa8a9
LL
5215 * simple.el (backward-delete-char-untabify): Constrain point to
5216 field (Bug#10939).
5217
01d972a9
LL
5218 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5219
10607bea
CY
52202012-03-05 Chong Yidong <cyd@gnu.org>
5221
5222 * simple.el (count-words): If called from Lisp, return the word
5223 count, for symmetry with `count-lines'. Arglist changed.
5224 (count-words--message): Args changed. Consolidate counting code
5225 from count-words and count-words-region.
5226 (count-words-region): Caller changed.
5227 (count-lines-region): Make it an obsolete alias.
5228
5dd11cfe
TH
52292012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5230
5231 * saveplace.el (save-place-to-alist)
5232 (save-place-ignore-files-regexp): Allow value nil to disable this
5233 feature.
5234
c349f4e6
CY
52352012-03-04 Chong Yidong <cyd@gnu.org>
5236
5237 * faces.el (face-spec-reset-face): For the default face, reset the
5238 attributes to default values (Bug#10748).
5239
e627be4c
LMI
52402012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5241
5242 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5243 previous patch: Check `message-send-mail-function', and not the
5244 default function (bug#10897).
5245
ebeabff4
MA
52462012-03-04 Michael Albinus <michael.albinus@gmx.de>
5247
a41a6cf4
MA
5248 * notifications.el (notifications-on-action-signal)
5249 (notifications-on-closed-signal): Check for unique service name of
5250 incoming event. Fix error in removing entry.
ebeabff4 5251 (top): Register for signals with wildcard service name.
a41a6cf4 5252 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5253
c1ca42b4
CY
52542012-03-04 Chong Yidong <cyd@gnu.org>
5255
dc9924b8 5256 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5257
ea16568d
GM
52582012-03-04 Glenn Morris <rgm@gnu.org>
5259
5260 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5261 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5262 (expand-abbrev, define-abbrev-table): Doc fixes.
5263
fbae4637
LMI
52642012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5265
5266 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5267 `message-default-send-mail-function' and not `send-mail-function'
5268 when doing the prompting for `sendmail-query-once' before sending
5269 in Message buffers (bug#10897).
5270
a1e7225c
LMI
5271 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5272 This is inconsistent with all the other stream functions, which leave
5273 the setting up to the higher levels (if so wanted) (bug#10931).
5274
56d093a9
AM
52752012-03-02 Alan Mackenzie <acm@muc.de>
5276
5277 Depessimize the handling of very large macros.
5278
5279 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5280 (c-macro-cache-syntactic): New variables to implement a one
5281 element macro cache.
5282 (c-invalidate-macro-cache): New function.
5283 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5284 Adapt to use the new cache.
5285 (c-state-safe-place): Use better the cache of safe positions.
5286 (c-state-semi-nonlit-pos-cache)
5287 (c-state-semi-nonlit-pos-cache-limit):
5288 New variables for...
5289 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5290 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5291 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5292 Use c-state-semi-safe-place.
56d093a9 5293
dbbc2e69
SM
5294 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5295 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5296
817e5c3d
MA
52972012-03-02 Michael Albinus <michael.albinus@gmx.de>
5298
dbbc2e69
SM
5299 * jka-compr.el (jka-compr-call-process):
5300 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5301 not remote.
5302
a032a702
MA
53032012-03-01 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5306 access of FILE2, if FILE1 does not exist.
5307
99a54f21
MA
5308 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5309 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5310
5311 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5312 Add "PAGER=" to `process-environment'.
5313
f6561e1f
MM
53142012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5315
5316 * progmodes/sql.el: Bug fix
5317 (sql-get-login-ext): Save login values in globals.
5318 (sql-get-login): Use new version of `sql-get-login-ext'.
5319 (sql-interactive-mode): Set global `sql-connection' to nil.
5320 (sql-connect): Set global values for connection.
5321 (sql-product-interactive): Save global values as buffer local.
5322
2d44d9cc
LL
53232012-02-29 Leo Liu <sdl.web@gmail.com>
5324
5325 * abbrev.el (define-abbrevs): Reset sys to nil.
5326
96b49301 53272012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5328
bf7f9bc5
JB
5329 * files.el (file-equal-p): Rename from `files-equal-p'.
5330 Return nil when one or both files don't exist.
96b49301 5331 (file-subdir-of-p): Now only top directory must exists,
5332 return nil if it doesn't.
bf7f9bc5
JB
5333 (copy-directory): No need to test with `file-subdir-of-p' after
5334 creating dir.
5335 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5336 to `file-equal-p'.
96b49301 5337
44e97401
GM
53382012-02-28 Glenn Morris <rgm@gnu.org>
5339
5340 * shell.el (shell-mode):
5341 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5342 * play/landmark.el (landmark-font-lock-face-O):
5343 * play/handwrite.el (handwrite):
5344 * play/gomoku.el (gomoku-O):
5345 * net/browse-url.el (browse-url-browser-display):
5346 * international/mule.el (define-charset):
5347 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5348 * filesets.el (filesets-find-file-delay):
5349 * eshell/em-xtra.el (eshell-xtra):
5350 * eshell/em-unix.el (eshell-grep):
5351 * emulation/viper.el (viper-mode):
5352 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5353 * emacs-lisp/easymenu.el (easy-menu-define):
5354 * calendar/timeclock.el (timeclock-use-display-time):
5355 * bs.el (bs-mode):
5356 * bookmark.el (bookmark-save-flag):
5357 Doc fix (standardize possessive apostrophe usage).
5358
c98c6276
CY
53592012-02-27 Chong Yidong <cyd@gnu.org>
5360
bf7f9bc5
JB
5361 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5362 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5363
c98c6276
CY
5364 * font-lock.el (font-lock-specified-p): Rename from
5365 font-lock-spec-present. Callers changed.
5366
9c62cd04 53672012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5368
bf7f9bc5
JB
5369 * emacs-lisp/package.el (package-compute-transaction):
5370 Handle holding a package version to t in package-load-list.
8ac9e529 5371
530739c9
MA
53722012-02-26 Michael Albinus <michael.albinus@gmx.de>
5373
5374 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5375 (tramp-get-inode, tramp-get-device): Use cached values.
5376
487915d7
AM
53772012-02-26 Alan Mackenzie <acm@muc.de>
5378
5379 Check there is a font-lock specification before doing initial
5380 fontification.
5381
5382 * font-core.el (font-lock-mode): Move the conditional from
5383 :after-hook to font-lock-initial-fontify.
5384 (font-lock-default-function): Move the check for a specification
5385 to font-lock-spec-present.
5386
dc9924b8 5387 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5388 (font-lock-spec-present): New function.
5389
4fd96557
JB
53902012-02-26 Jim Blandy <jimb@red-bean.com>
5391
5392 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5393 (gdb-send): Apply it to the operand of the '-interpreter-exec
5394 console' command, so that we can pass arguments with (say) quotes
5395 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5396
9a4888c0
CY
53972012-02-26 Chong Yidong <cyd@gnu.org>
5398
07498861
CY
5399 * help-fns.el (describe-function-1): Clarify description of
5400 remapping (Bug#10844).
5401
9a4888c0
CY
5402 * files.el (files-equal-p): Doc fix.
5403 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5404 and quit the loop once a mismatch is found.
5405
ea8fb88d
JB
54062012-02-25 Juanma Barranquero <lekktu@gmail.com>
5407
5408 * bs.el (bs--show-with-configuration): Don't throw an error
5409 if the window cannot be split; otherwise, subsequent calls to
5410 bs-show fail, restoring a stale window config. (Bug#10882)
5411
525795c1
JD
54122012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5413
5414 * term/ns-win.el (global-map): Bind ns-drag-file to
5415 ns-find-file (Bug#5855, Bug#10050).
5416
f008086f
AS
54172012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5418
5419 * calendar/parse-time.el (parse-time-string): Allow extractor to
5420 return nil.
5421
a3fcfa99
MA
54222012-02-25 Michael Albinus <michael.albinus@gmx.de>
5423
91027d08
JB
5424 * net/tramp.el (tramp-file-name-for-operation):
5425 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5426
5427 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5428 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5429 Add COPY-CONTENTS argument.
a3fcfa99 5430
67b0de11
CY
54312012-02-25 Chong Yidong <cyd@gnu.org>
5432
5433 Add custom groups for VC backends, for consistency with vc-bzr.
5434
5435 * vc/vc-arch.el (vc-arch):
5436 * vc/vc-cvs.el (vc-cvs):
5437 * vc/vc-git.el (vc-git):
5438 * vc/vc-hg.el (vc-hg):
5439 * vc/vc-mtn.el (vc-mtn):
5440 * vc/vc-rcs.el (vc-rcs):
5441 * vc/vc-sccs.el (vc-sccs):
5442 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5443 All relevant defcustoms reassigned.
5444
3c9dfce6
CY
54452012-02-25 Chong Yidong <cyd@gnu.org>
5446
1339bf43
CY
5447 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5448
3c9dfce6
CY
5449 * term/x-win.el (x-initialize-window-system): Reduce default for
5450 x-selection-timeout to 5 seconds (Bug#8869).
5451
25b2e303 54522012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5453
ec70a47d
GM
5454 * files.el (files-equal-p, file-subdir-of-p): New functions.
5455 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5456 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5457 * dired-aux.el (dired-copy-file-recursive): Same.
5458 (dired-create-files): Modify destination when source is equal to
5459 dest when copying files.
53a46cd0 5460 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5461
914260cd
MA
54622012-02-24 Michael Albinus <michael.albinus@gmx.de>
5463
5464 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5465 (Bug#10874)
5466
2cb228f7
AM
54672012-02-23 Alan Mackenzie <acm@muc.de>
5468
5469 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5470 parameter "after-hook:" to allow the expansion to run code after
5471 the execution of the mode hooks.
5472
5473 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5474 from font-lock-mode-internal.
2cb228f7 5475
91027d08 5476 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5477 :after-hook.
5478
8f0fde21
SM
54792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5480
3e88618b
SM
5481 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5482 (completion--cache-all-sorted-completions): New function.
5483 (completion-all-sorted-completions): Use it.
5484 (completion--do-completion, minibuffer-force-complete):
5485 Use it to re-instate the flush hook.
5486
8f0fde21
SM
5487 * icomplete.el (icomplete-completions): Replace last fix with a better
5488 one (bug#10850).
5489
8e911f6f
DG
54902012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5491
5492 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5493 when it might call us back infinitely (bug#10797).
5494
49fe4321
GM
54952012-02-23 Glenn Morris <rgm@gnu.org>
5496
5497 * minibuffer.el (completion-category-overrides): Doc fix.
5498
b291b572
SM
54992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5502 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5503
31a9ef2e
GM
55042012-02-23 Glenn Morris <rgm@gnu.org>
5505
5e6e6794 5506 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5507 (authors-obsolete-files-regexps, authors-ignored-files)
5508 (authors-ambiguous-files, authors-renamed-files-alist):
5509 Add more entries.
5510
0bd1e074
JL
55112012-02-23 Juri Linkov <juri@jurta.org>
5512
5513 * isearch.el (isearch-occur): Sync interactive spec with occur's
5514 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5515
b617673c
JL
5516 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5517
19e9789e
JL
55182012-02-22 Juri Linkov <juri@jurta.org>
5519
5520 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5521 (ucs-insert): Doc fix. Check for hex digits in the string.
5522 Don't display `nil' in the error message. (Bug#10857)
5523
f41ce09d
AM
55242012-02-22 Alan Mackenzie <acm@muc.de>
5525
7a71b18d 5526 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5527
ac2eceee
GM
55282012-02-22 Glenn Morris <rgm@gnu.org>
5529
5530 * ffap.el (ffap-c-path):
5531 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5532
abd1f678
CY
55332012-02-22 Chong Yidong <cyd@gnu.org>
5534
5535 * custom.el (load-theme): Doc fix.
5536
f25aef2e
GM
55372012-02-22 Glenn Morris <rgm@gnu.org>
5538
5539 * dired-x.el (dired-guess-shell-alist-default):
5540 Remove escape sequences from nroff output. (Bug#172)
5541
5f8dc2ca
GM
55422012-02-21 Glenn Morris <rgm@gnu.org>
5543
6ff86ec4
GM
5544 * vc/emerge.el (emerge-defvar-local):
5545 Set `permanent-local' property rather than unused `preserved'.
5546
be3223a3 5547 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5548 (picture-mode-map): Use it. (Bug#10860)
5549 (picture-mode): Doc fix.
5550
3fe58f4f
JB
55512012-02-21 Juanma Barranquero <lekktu@gmail.com>
5552
5553 * newcomment.el (uncomment-region-default): Remove unused binding.
5554
f9a998c3
GM
55552012-02-21 Glenn Morris <rgm@gnu.org>
5556
5557 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5558 (picture-self-insert, picture-tab-chars): Doc fix.
5559 (picture-mode-map): Fix C-a, C-e.
5560
c6029348
GM
55612012-02-20 Glenn Morris <rgm@gnu.org>
5562
5563 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5564
ab1ce9d7
LL
55652012-02-20 Leo Liu <sdl.web@gmail.com>
5566
5567 * icomplete.el (icomplete-completions): Check FROM arg before
5568 passing to substring (Bug#10850).
5569
0fd40f89
CY
55702012-02-19 Chong Yidong <cyd@gnu.org>
5571
5572 * comint.el: Require ansi-color.
5573 (comint-output-filter-functions): Add ansi-color-process-output.
5574
5575 * ansi-color.el: Don't set comint-output-filter-functions; it is
5576 now in the initial value defined in comint.el.
5577 (ansi-color-apply-face-function): New variable.
5578 (ansi-color-apply-on-region): Use it.
5579 (ansi-color-apply-overlay-face): New function.
5580
5581 * shell.el (shell): No need to require ansi-color.
5582 (shell-mode): Use ansi-color-apply-face-function to highlight
5583 color escapes using font-lock-face property (Bug#10835).
5584
20af2394
CY
55852012-02-19 Chong Yidong <cyd@gnu.org>
5586
5587 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5588 mode-line formats (Bug#10839).
5589
e23a3fbe
GM
55902012-02-18 Glenn Morris <rgm@gnu.org>
5591
b474519e
GM
5592 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5593
5594 * mail/undigest.el (unforward-rmail-message): Doc fix.
5595
e23a3fbe
GM
5596 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5597
57939ff4
EZ
55982012-02-18 Eli Zaretskii <eliz@gnu.org>
5599
5600 * international/characters.el (script-list): Sync with the latest
5601 Unicode Character Database.
5602
0c23686e
AS
56032012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5604
5605 * international/titdic-cnv.el: Remove duplicate coding tag.
5606 * language/cham.el: Likewise.
5607 * language/tai-viet.el: Likewise.
5608
6818b449
GM
56092012-02-18 Glenn Morris <rgm@gnu.org>
5610
5611 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5612 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5613 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5614 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5615 * calendar/holidays.el (holiday-bahai-holidays)
5616 (calendar-holidays, list-holidays):
5617 Use utf-8 Bahá'í in doc-strings, menus, etc.
5618
0311a3fc
TH
56192012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5620
5621 * saveplace.el (save-place-ignore-files-regexp): New variable
5622 allowing for excluding files from saving their location of point.
5623 The default value matches the temporary commit message editing
5624 files from Git, SVN, Bazaar, and Mercurial.
5625 (save-place-to-alist): Use it.
5626
d209e2fb 56272012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5628 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * newcomment.el (uncomment-region-default): Don't leave extra space
5631 when an arg is provided (bug#8150).
5632
ee0ce425
TZ
56332012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5634
eb864a71 5635 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5636
95ddf442
GM
56372012-02-17 Glenn Morris <rgm@gnu.org>
5638
5639 * net/socks.el: Require network-stream. (Bug#10599)
5640
48dd1e39 56412012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5642
5643 * international/charprop.el:
5644 * international/uni-name.el:
5645 * international/uni-old-name.el:
5646 * international/uni-comment.el: Regenerate.
5647
d68cd087
GM
56482012-02-16 Glenn Morris <rgm@gnu.org>
5649
5650 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5651 Interactively in calendar buffer, give an error if not on a date.
5652
13932042
GM
56532012-02-15 Glenn Morris <rgm@gnu.org>
5654
5655 * shell.el (shell-delimiter-argument-list):
5656 Revert 2011-02-17 change. (Bug#8027)
5657
c3a70e2b
CY
56582012-02-15 Chong Yidong <cyd@gnu.org>
5659
60236b0d
CY
5660 * minibuffer.el (completion-at-point-functions): Doc fix.
5661
c3a70e2b
CY
5662 * custom.el (defcustom): Doc fix; note use of defvar.
5663
9f26dc24
GM
56642012-02-15 Glenn Morris <rgm@gnu.org>
5665
5666 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5667 Doc fixes.
5668
6546b134
GM
56692012-02-14 Glenn Morris <rgm@gnu.org>
5670
5671 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5672
d29b2b4c
LI
56732012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5674
5675 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5676 way the ports list is computed.
835bdcba
LI
5677 (smtpmail-query-smtp-server): Prompt the user for a port number if
5678 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5679
08dcdbc9
TZ
56802012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5681
5682 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5683
2605051a
GM
56842012-02-13 Glenn Morris <rgm@gnu.org>
5685
5686 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5687
7ee99f32
TZ
56882012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5689
5690 * net/gnutls.el (gnutls-trustfiles): New variable.
5691 (gnutls-negotiate): Use it.
5692
5f0af64f
LI
56932012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5694
5695 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5696 does its stuff if Gnus is running.
5697
c14fcc95
AM
56982012-02-13 Alan Mackenzie <acm@muc.de>
5699
5700 Fix a loop in c-set-fl-decl-start.
5701
7a71b18d 5702 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5703 c-backward-syntactic-ws actually moves backwards.
5704
142b4d90
LL
57052012-02-13 Leo Liu <sdl.web@gmail.com>
5706
5707 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5708 beginning so that all \C-o chars are removed.
5709
fa9958a6
TZ
57102012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5711
dc9924b8 5712 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5713
0bc5886a
AM
57142012-02-12 Alan Mackenzie <acm@muc.de>
5715
5716 Fix infinite loop with long macros.
4d6769e1 5717 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5718
d4bd55e7
CY
57192012-02-12 Chong Yidong <cyd@gnu.org>
5720
5721 * window.el (display-buffer): Doc fix (Bug#10785).
5722
66f3fe22
GM
57232012-02-12 Glenn Morris <rgm@gnu.org>
5724
bd7da63e
GM
5725 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5726 (x-disown-selection-internal, x-get-selection-internal):
5727 Sync docs with the xselect.c versions.
5728
66f3fe22
GM
5729 * allout-widgets.el: Add missing license notice.
5730
3e0d2fa7
GM
57312012-02-11 Glenn Morris <rgm@gnu.org>
5732
cfecdf09
GM
5733 * select.el (x-get-selection-internal, x-own-selection-internal)
5734 (x-disown-selection-internal):
5735 * x-dnd.el (x-get-selection-internal): Update declarations.
5736
6d216d7f
GM
5737 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5738
2bed3f04
GM
5739 * window.el (window-sides-slots):
5740 * tool-bar.el (tool-bar-position):
5741 * term/xterm.el (xterm-extra-capabilities):
5742 * ses.el (ses-self-reference-early-detection):
5743 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5744 (verilog-auto-wire-type)
5745 (verilog-auto-delete-trailing-whitespace)
5746 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5747 (verilog-auto-tieoff-declaration):
5748 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5749 (sql-oracle-statement-starters, sql-oracle-scan-on):
5750 * progmodes/prolog.el (prolog-align-comments-flag)
5751 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5752 (prolog-left-indent-regexp, prolog-paren-indent-p)
5753 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5754 (prolog-types, prolog-mode-specificators)
5755 (prolog-determinism-specificators, prolog-directives)
5756 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5757 (prolog-electric-dot-flag)
5758 (prolog-electric-dot-full-predicate-template)
5759 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5760 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5761 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5762 (prolog-program-switches, prolog-prompt-regexp)
5763 (prolog-debug-on-string, prolog-debug-off-string)
5764 (prolog-trace-on-string, prolog-trace-off-string)
5765 (prolog-zip-on-string, prolog-zip-off-string)
5766 (prolog-use-standard-consult-compile-method-flag)
5767 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5768 (prolog-imenu-max-lines, prolog-info-predicate-index)
5769 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5770 (prolog-char-quote-workaround):
5771 * progmodes/cc-vars.el (c-defun-tactic):
5772 * net/tramp.el (tramp-encoding-command-interactive)
5773 (tramp-local-end-of-line):
5774 * net/soap-client.el (soap-client):
5775 * net/netrc.el (netrc-file):
5776 * net/gnutls.el (gnutls):
5777 * minibuffer.el (completion-category-overrides)
5778 (completion-cycle-threshold)
5779 (completion-pcm-complete-word-inserts-delimiters):
5780 * man.el (Man-name-local-regexp):
5781 * mail/feedmail.el (feedmail-display-full-frame):
5782 * international/characters.el (glyphless-char-display-control):
5783 * eshell/em-ls.el (eshell-ls-date-format):
5784 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5785 (lisp-lambda-list-keyword-parameter-indentation)
5786 (lisp-lambda-list-keyword-parameter-alignment):
5787 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5788 * dired-x.el (dired-omit-verbose):
5789 * cus-theme.el (custom-theme-allow-multiple-selections):
5790 * calc/calc.el (calc-highlight-selections-with-faces)
5791 (calc-lu-field-reference, calc-lu-power-reference)
5792 (calc-note-threshold):
5793 * battery.el (battery-mode-line-limit):
5794 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5795 (archive-7z-update):
5796 * allout.el (allout-prefixed-keybindings)
5797 (allout-unprefixed-keybindings)
5798 (allout-inhibit-auto-fill-on-headline)
5799 (allout-flattened-numbering-abbreviation):
5800 * allout-widgets.el (allout-widgets-auto-activation)
5801 (allout-widgets-icons-dark-subdir)
5802 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5803 (allout-widgets-theme-dark-background)
5804 (allout-widgets-theme-light-background)
5805 (allout-widgets-item-image-properties-emacs)
5806 (allout-widgets-item-image-properties-xemacs)
5807 (allout-widgets-run-unit-tests-on-load)
5808 (allout-widgets-time-decoration-activity)
5809 (allout-widgets-hook-error-post-time)
5810 (allout-widgets-track-decoration):
5811 Add missing :version tags to new defcustoms and defgroups.
5812
5fec1b8e
GM
5813 * progmodes/sql.el (sql-ansi-statement-starters)
5814 (sql-oracle-statement-starters): Add custom type.
5815
3e0d2fa7
GM
5816 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5817 (prolog-system-version): Give it a type.
5818
90b671e2
EZ
58192012-02-11 Eli Zaretskii <eliz@gnu.org>
5820
5821 * term/pc-win.el (x-select-text, x-selection-owner-p)
5822 (x-own-selection-internal, x-disown-selection-internal)
5823 (x-get-selection-internal): Sync doc strings and argument lists
5824 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5825
5eac0c02
LL
58262012-02-11 Leo Liu <sdl.web@gmail.com>
5827
5828 * progmodes/python.el (python-end-of-statement): Fix infinite
5829 loop. (Bug#10788)
5830
f82cb659
GM
58312012-02-10 Glenn Morris <rgm@gnu.org>
5832
5833 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5834 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5835
cc26d239
LI
58362012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5837
5838 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5839 about SMTP before checking the From header.
5840
91027d08 5841 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5842 into own function for reuse by emacsbug.el.
5843
1be3ca5a
LL
58442012-02-10 Leo Liu <sdl.web@gmail.com>
5845
5846 * subr.el (condition-case-unless-debug): Rename from
5847 condition-case-no-debug. All callers changed.
5848 (with-demoted-errors): Fix caller.
5849
5850 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5851 * nxml/rng-valid.el (rng-do-some-validation):
5852 * emacs-lisp/package.el (package-refresh-contents)
5853 (package-menu-execute):
5854 * desktop.el (desktop-create-buffer):
91027d08 5855 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5856
b011fbfe
GM
58572012-02-10 Glenn Morris <rgm@gnu.org>
5858
b2096d72
GM
5859 * textmodes/bibtex.el:
5860 Add missing :version tags for new/changed defcustoms.
5861
b011fbfe
GM
5862 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5863
4c7e65bf
LI
58642012-02-09 Lars Ingebrigtsen <larsi@rusty>
5865
5866 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5867 (smtpmail-via-smtp): Use it, or fall back on the From address.
5868 (smtpmail-send-it): Ditto.
5869
f3934f6f
SM
58702012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5873 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5874 (byte-compile-tmp-var): New const.
5875 (byte-compile-defvar): Use it to minimize .elc size.
5876 Just use `defvar' rather than simulate it (bug#10761).
5877
a075a2c5
GM
58782012-02-09 Glenn Morris <rgm@gnu.org>
5879
cf3aa21b
GM
5880 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5881
354998cd
GM
5882 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5883 Add :version tags.
5884
dc9924b8
SM
5885 * progmodes/compile.el (compilation-error-screen-columns)
5886 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5887
dab3703d
GM
5888 * vc/log-view.el (log-view-toggle-entry-display):
5889 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5890
3f88cd72
GM
5891 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5892 (report-emacs-bug-can-use-xdg-email):
5893 (report-emacs-bug-insert-to-mailer): Doc fixes.
5894 (report-emacs-bug): Message fix.
5895
d95b247d
GM
5896 * net/browse-url.el (browse-url-can-use-xdg-open)
5897 (browse-url-xdg-open): Doc fixes.
5898
a075a2c5
GM
5899 * electric.el (electric-indent-mode, electric-pair-mode)
5900 (electric-layout-rules, electric-layout-mode): Doc fixes.
5901 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5902
ffb6157e
MR
59032012-02-08 Martin Rudalics <rudalics@gmx.at>
5904
5905 * server.el (server-unselect-display): Don't inadvertently kill
5906 the current buffer. (Bug#10729)
5907
e1ac4066
GM
59082012-02-08 Glenn Morris <rgm@gnu.org>
5909
34e8a2da
GM
5910 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5911 (sql-list-table): Doc fixes.
5912
b4ac6e8c
GM
5913 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5914 Comment out (does nothing).
5915
e1ac4066
GM
5916 * completion.el (dynamic-completion-mode):
5917 * dirtrack.el (dirtrack-debug-mode):
5918 * electric.el (electric-layout-mode):
5919 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5920 * face-remap.el (text-scale-mode, buffer-face-mode):
5921 * iimage.el (iimage-mode):
5922 * image-mode.el (image-transform-mode):
5923 * minibuffer.el (completion-in-region-mode):
5924 * scroll-lock.el (scroll-lock-mode):
5925 * simple.el (next-error-follow-minor-mode):
5926 * tar-mode.el (tar-subfile-mode):
5927 * tooltip.el (tooltip-mode):
5928 * vcursor.el (vcursor-use-vcursor-map):
5929 * wid-browse.el (widget-minor-mode):
5930 * emulation/tpu-edt.el (tpu-edt-mode):
5931 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5932 * international/iso-ascii.el (iso-ascii-mode):
5933 * language/thai-util.el (thai-word-mode):
5934 * mail/supercite.el (sc-minor-mode):
5935 * net/goto-addr.el (goto-address-mode):
5936 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5937 * progmodes/cwarn.el (cwarn-mode):
5938 * progmodes/flymake.el (flymake-mode):
5939 * progmodes/glasses.el (glasses-mode):
5940 * progmodes/hideshow.el (hs-minor-mode):
5941 * progmodes/pascal.el (pascal-outline-mode):
5942 * textmodes/enriched.el (enriched-mode):
5943 * vc/smerge-mode.el (smerge-mode):
5944 Doc fixes (minor mode argument).
5945
5e0d957f
EZ
59462012-02-07 Eli Zaretskii <eliz@gnu.org>
5947
5948 * ls-lisp.el (ls-lisp-sanitize): New function.
5949 (ls-lisp-insert-directory): Use it to fix or remove any elements
5950 in file-alist with missing attributes. (Bug#4673)
5951
98d7371e
AM
59522012-02-07 Alan Mackenzie <acm@muc.de>
5953
5954 Fix spurious recognition of c-in-knr-argdecl.
5955
5956 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5957 putative K&R region.
5958
667ced3a
AM
59592012-02-07 Alan Mackenzie <acm@muc.de>
5960
eb864a71
LM
5961 * progmodes/cc-engine.el (c-forward-objc-directive):
5962 Prevent looping in "#pragma mark @implementation".
667ced3a 5963
5b77774d
MA
59642012-02-07 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * notifications.el (notifications-on-closed-signal): Make `reason'
5967 optional. (Bug#10744)
5968
af008560
GM
59692012-02-07 Glenn Morris <rgm@gnu.org>
5970
60d47423
GM
5971 * emacs-lisp/easy-mmode.el (define-minor-mode):
5972 Doc fixes for the macro and the mode it defines.
5973
dd605cc4
GM
5974 * image.el (imagemagick-types-inhibit): Doc fix.
5975
af008560
GM
5976 * cus-start.el (imagemagick-render-type): Add it.
5977
5cc59a37
LI
59782012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5979
4d6769e1
JB
5980 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5981 Set the default at load time, too, so that `font-lock-fontify-buffer'
5982 can be called without setting up the entire mode first. This fixes
5983 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5984
9a6dd747
CY
59852012-02-06 Chong Yidong <cyd@gnu.org>
5986
2d16b285
CY
5987 * simple.el (list-processes--refresh): Delete exited processes
5988 (Bug#8094).
5989
171e9b6e
CY
5990 * comint.el (comint-next-prompt): next-single-char-property-change
5991 and prev-single-char-property-change never return nil (Bug#8657).
5992
9a6dd747
CY
5993 * custom.el (defcustom): Doc fix (Bug#9711).
5994
aa4589a7
CY
59952012-02-05 Chong Yidong <cyd@gnu.org>
5996
5c2a252f
CY
5997 * cus-edit.el (custom-variable-reset-backup): Quote the value
5998 before storing it in the customized-value property (Bug#6712).
4aab9006 5999 (custom-display): Add a customization type tag.
983b9602 6000 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6001
aa4589a7
CY
6002 * wid-edit.el (widget-field-value-get): New optional arg to
6003 suppress trailing whitespace truncation.
6004 (character): Use it (Bug#2689).
6005
1ff980ae
AS
60062012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6007
6008 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6009 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6010
03988c98
CY
60112012-02-05 Chong Yidong <cyd@gnu.org>
6012
eeb6cc88
CY
6013 * cus-edit.el (custom-variable-value-create): For mismatched
6014 types, show the current value (Bug#7600).
6015
03988c98
CY
6016 * custom.el (defcustom): Doc fix.
6017
f8cdeef0
GM
60182012-02-05 Glenn Morris <rgm@gnu.org>
6019
6020 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6021
0696d255
JB
60222012-02-05 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6025 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6026 (pp-last-sexp): Use `looking-at-p'.
6027
34c99998
GM
60282012-02-04 Glenn Morris <rgm@gnu.org>
6029
8f05da42
GM
6030 * files.el (revert-buffer):
6031 Doc fix (mention revert-buffer-in-progress-p).
6032
f160676e
GM
6033 * emacs-lisp/ert-x.el (ert-simulate-command):
6034 Check deferred-action-list (which is obsolete) is bound.
6035
c7291ad9
GM
6036 * subr.el (with-wrapper-hook): Doc fixes.
6037
34c99998
GM
6038 * simple.el (filter-buffer-substring-functions)
6039 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6040
6283a7d3
LL
60412012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6042
6043 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6044 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6045
e96e3013
LL
60462012-02-04 Leo Liu <sdl.web@gmail.com>
6047
6048 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6049
8ded50f2
GM
60502012-02-04 Glenn Morris <rgm@gnu.org>
6051
82ff1d13
GM
6052 * image.el (image-extension-data): Add obsolete alias.
6053
987a0a16
GM
6054 * isearch.el (isearch-update): Doc fix.
6055
ea32ef46
GM
6056 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6057
8ded50f2
GM
6058 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6059
eea14f31
GM
60602012-02-03 Glenn Morris <rgm@gnu.org>
6061
6062 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6063 (image-animate-timeout): Doc fix.
6064
6065 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6066
12f381b7
GM
60672012-02-02 Glenn Morris <rgm@gnu.org>
6068
953cebf5
GM
6069 * server.el (server-auth-dir): Doc fix.
6070 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6071
12f381b7
GM
6072 * subr.el (run-mode-hooks): Doc fix.
6073
953a8c3b
JL
60742012-02-02 Juri Linkov <juri@jurta.org>
6075
6076 * image-mode.el (image-toggle-display-image): Remove tautological
6077 `major-mode' from the `derived-mode-p' test.
6078
c5d3843c
KH
60792012-02-02 Kenichi Handa <handa@m17n.org>
6080
9f6e692e 6081 * composite.el (compose-region): Cancel previous change.
c5d3843c 6082
159462d4 60832012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6084
6085 * composite.el (compose-region, compose-string): Signal error for
6086 a null string component (Bug#6988).
6087
9f562668
CY
60882012-02-01 Chong Yidong <cyd@gnu.org>
6089
e2cef717
CY
6090 * view.el (view-buffer-other-window, view-buffer-other-frame):
6091 Handle special modes like view-buffer (Bug#10650).
6092 (view-buffer): Simplify.
6093
9f562668
CY
6094 * frame.el (set-frame-font): Tweak meaning of third argument.
6095
9f6e692e
JB
6096 * dynamic-setting.el (font-setting-change-default-font):
6097 Use set-frame-font (Bug#9982).
9f562668 6098
781acb9f
GM
60992012-02-01 Glenn Morris <rgm@gnu.org>
6100
6035be52
GM
6101 * progmodes/compile.el (compilation-internal-error-properties):
6102 Respect compilation-first-column in the "*compilation*" buffer.
6103
781acb9f
GM
6104 * emacs-lisp/easy-mmode.el (define-minor-mode):
6105 Relax :variable's test for a named function.
6106
abbceb00
AM
61072012-01-31 Alan Mackenzie <acm@muc.de>
6108
6109 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6110 off by one error.
6111
fce3fdeb
CY
61122012-01-31 Chong Yidong <cyd@gnu.org>
6113
6114 * frame.el (set-frame-font): New arg ALL-FRAMES.
6115
6116 * menu-bar.el (menu-set-font): Use set-frame-font.
6117
6118 * faces.el (face-spec-reset-face): Don't apply unspecified
6119 attribute values to the default face.
6120
47893581
JB
61212012-01-31 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * progmodes/cwarn.el (cwarn): Remove dead link.
6124 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6125 Remove * from defcustom docstrings.
6126 (turn-on-cwarn-mode): Make obsolete.
6127 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6128 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6129
e58e988a
GM
61302012-01-31 Glenn Morris <rgm@gnu.org>
6131
60dc2671 6132 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6133 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6134 Allow named functions to be used as the cdr of :variable.
e58e988a 6135
7a3f511d
GM
61362012-01-30 Glenn Morris <rgm@gnu.org>
6137
6138 * emacs-lisp/authors.el (authors-fixed-entries):
6139 Remove reference to deleted file rnewspost.el.
6140
cb882333
JB
61412012-01-29 Juanma Barranquero <lekktu@gmail.com>
6142
6143 * window.el (window-with-parameter): Remove unused variable `windows'.
6144 (window--side-check): Remove unused variable `code'.
6145 (window--resize-siblings): Remove unused variable `first'.
6146 (adjust-window-trailing-edge): Remove unused variable `failed'.
6147 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6148 Use `let', not `let*'.
6149 (balance-windows-2): Remove unused variable `found'.
6150 (window--state-put-2): Remove unused variable `splits'.
6151 (window-state-put): Remove unused variable `selected'.
6152 (same-window-p): Use `string-match-p'.
6153 (display-buffer-assq-regexp): Remove unused variable `value'.
6154 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6155 Mark argument ALIST as ignored.
6156 (pop-to-buffer): Remove unused variable `old-window'.
6157
907201af
EZ
61582012-01-29 Eli Zaretskii <eliz@gnu.org>
6159
6160 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6161 and .lzma compressed files.
6162
ea162670
CY
61632012-01-29 Chong Yidong <cyd@gnu.org>
6164
5b95ee8a
CY
6165 * frame.el (window-system-default-frame-alist): Doc fix.
6166
ea162670
CY
6167 * dynamic-setting.el (font-setting-change-default-font): Don't
6168 change the default face if SET-FONT argument is non-nil (Bug#9982).
6169
d6e6f4b1
SB
61702012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6171
6172 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6173
0f29fa41 61742012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6175
6176 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6177 breakpoints in files outside current directory (Bug#6098).
6178
db174434
CY
61792012-01-29 Chong Yidong <cyd@gnu.org>
6180
6b25e4e2
SE
6181 * progmodes/python.el: Require ansi-color at top-level.
6182
6df6ae42
JB
6183 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6184 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6185 (lisp-mode-abbrev-table): Add doc.
6186 (lisp-mode-variables): Don't set local-abbrev-table.
6187 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6188
e70ee681
RW
61892012-01-28 Roland Winkler <winkler@gnu.org>
6190
6191 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6192
ace88aa2
RW
61932012-01-28 Roland Winkler <winkler@gnu.org>
6194
6195 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6196 (bibtex-set-dialect): Use it. Either set global values of
6197 dialect-dependent variables or bind these variables buffer-locally
6198 (Bug#10254).
6199 (bibtex-mode): Call bibtex-set-dialect via
6200 hack-local-variables-hook.
eb864a71
LM
6201 (bibtex-dialect): Update docstring.
6202 Add safe-local-variable predicate.
ace88aa2
RW
6203 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6204 bibtex-set-dialect.
6205 (bibtex-mode-map): Define menu for each dialect.
6206 (bibtex-entry): Fix docstring.
6207
93376c5b
CY
62082012-01-28 Chong Yidong <cyd@gnu.org>
6209
6210 * eshell/esh-arg.el (eshell-quote-argument): New function.
6211
6212 * eshell/esh-ext.el (eshell-invoke-batch-file):
6213 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6214 first arg to eshell-parse-command (Bug#10523).
6215
4372494f
DA
62162012-01-28 Drew Adams <drew.adams@oracle.com>
6217
6218 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6219 `default-directory' is non-nil.
6220
4d4ec1f8
EZ
62212012-01-28 Eli Zaretskii <eliz@gnu.org>
6222
6223 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6224 line that displays system-configuration-options. (Bug#9924)
6225
7c188927
DA
62262012-01-28 Drew Adams <drew.adams@oracle.com>
6227
6228 * descr-text.el (describe-char): Show information about POS, in
6229 addition to information about the character at POS. Improve and
6230 update the doc string. Change "code point" to "code point in
6231 charset", to avoid confusion with the character's Unicode code
6232 point shown above that. (Bug#10129)
6233
e0da685a
EZ
62342012-01-28 Eli Zaretskii <eliz@gnu.org>
6235
6236 * descr-text.el (describe-char): Show the raw character, not only
6237 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6238 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6239 for the reasons.
6240
70550acf
PH
62412012-01-28 Phil Hagelberg <phil@hagelb.org>
6242
eb864a71
LM
6243 * emacs-lisp/package.el (package-install):
6244 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6245
0ce8e868
CY
62462012-01-28 Chong Yidong <cyd@gnu.org>
6247
cb882333
JB
6248 * emacs-lisp/package.el (package-maybe-load-descriptor):
6249 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6250 (package-maybe-load-descriptor): Use it.
6251 (package-download-transaction): Fully load required packages
6252 inside the loop, so that `require' calls work (Bug#10593).
6253 (package-install): No need to call package-initialize now.
6254
2e7f3bea
CY
62552012-01-28 Chong Yidong <cyd@gnu.org>
6256
6e9bad14
CY
6257 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6258
f823b8ca
CY
6259 * tooltip.el (tooltip-mode): Doc fix.
6260 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6261
2680c309
CY
6262 * frame.el (set-cursor-color): Doc fix (Bug#352).
6263
d7a9e63b
CY
6264 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6265 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6266
2e7f3bea
CY
6267 * cus-edit.el (custom-buffer-create-internal): Fix search button
6268 action (Bug#10542).
2ae01800 6269 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6270
fc4f7a23
EW
62712012-01-27 Eduard Wiebe <usenet@pusto.de>
6272
6273 * dired.el (dired-mark-files-regexp):
6274 Include any subdirectory components. (Bug#10445)
6275
7dd37071
ML
62762012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6277
6278 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6279 Handle [host]:port syntax. (Bug#10533)
6280
a268160b
AH
62812012-01-27 Alex Harsanyi <harsanyi@mac.com>
6282
6283 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6284
e43273ef
GM
62852012-01-26 Glenn Morris <rgm@gnu.org>
6286
6287 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6288 * term.el (term-raw-escape-map): Use Control-X-prefix.
6289 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6290
1edf595d
MR
62912012-01-25 Martin Rudalics <rudalics@gmx.at>
6292
6293 * window.el (window-state-get, window--state-get-1): Don't deal
6294 with fixed-sizeness of windows. Simplify code.
6295
fa8eafef
JC
62962012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6297
6df6ae42
JB
6298 * window.el (window--state-get-1, window--state-put-2):
6299 Don't save and restore the mark.
fa8eafef 6300
0b21c100
CY
63012012-01-25 Chong Yidong <cyd@gnu.org>
6302
6303 * custom.el (custom-variable-p): Doc fix.
6304
5ae1a6c8
GM
63052012-01-25 Glenn Morris <rgm@gnu.org>
6306
40047858
GM
6307 * dired.el (dired-goto-file): Handle some of the more common
6308 characters that `ls -b' escapes. (Bug#10596)
6309
5ddce96c
GM
6310 * progmodes/compile.el (compilation-next-error-function):
6311 Respect compilation-first-column in the "*compilation*" buffer.
6312 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6313
5ae1a6c8
GM
6314 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6315
b559f1a9
GM
63162012-01-24 Glenn Morris <rgm@gnu.org>
6317
6318 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6319
6725d21a
JD
63202012-01-24 Julien Danjou <julien@danjou.info>
6321
6322 * color.el (color-rgb-to-hsl): Fix value computing.
6323 (color-hue-to-rgb): New function.
6324 (color-hsl-to-rgb): New function.
6325 (color-clamp, color-saturate-hsl, color-saturate-name)
6326 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6327 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6328
70df4bbe
GM
63292012-01-24 Glenn Morris <rgm@gnu.org>
6330
6331 * vc/vc-rcs.el (vc-rcs-create-tag):
6332 * vc/vc-sccs.el (vc-sccs-create-tag):
6333 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6334
802a2ae2
ML
63352012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6336
6337 * eshell/esh-util.el (eshell-read-hosts-file):
6338 Skip comment lines. (Bug#10549)
6339
d7128bb1
ML
6340 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6341
d1a5c3b4
JB
63422012-01-23 Juanma Barranquero <lekktu@gmail.com>
6343
2724d9c7
JB
6344 * subr.el (display-delayed-warnings): Doc fix.
6345 (collapse-delayed-warnings): New function to collapse identical
6346 adjacent warnings.
6347 (delayed-warnings-hook): Add it.
d1a5c3b4 6348
a5509865
MA
63492012-01-22 Michael Albinus <michael.albinus@gmx.de>
6350
6351 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6352
a5509865
MA
6353 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6354 (tramp-default-user-alist): Don't add "pscp".
6355 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6356 property "login-as", if set. (Bug#10530)
6357
cc6d5805
MA
63582012-01-21 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6361 "plink1" and "psftp". (Bug#10530)
6362
63632012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6364
6365 * international/mule-cmds.el (prefer-coding-system): Show a
6366 warning message if the default value of file-name-coding-system
6367 was not changed.
6368
f0960428
JC
63692012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6370
cb882333
JB
6371 * windmove.el (windmove-reference-loc):
6372 Fix windmove-reference-loc miscalculation.
f0960428 6373
dd6f2a63
JB
63742012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6375
6376 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6377 default unit.
6378
7b447e9b
GM
63792012-01-21 Glenn Morris <rgm@gnu.org>
6380
117a9ea1
GM
6381 * international/mule.el (auto-coding-alist): Add .tbz.
6382
7b447e9b
GM
6383 * files.el (local-enable-local-variables): Doc fix.
6384 (inhibit-local-variables-regexps): Rename from
6385 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6386 Doc fix. Add some extensions from auto-coding-alist.
6387 (inhibit-local-variables-suffixes):
6388 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6389 (inhibit-local-variables-p):
6390 New function, extracted from set-auto-mode-1.
6391 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6392 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6393 (hack-local-variables): Doc fix. Make the mode-only case
6394 respect enable-local-variables and friends.
6395 Respect inhibit-local-variables-regexps for file-locals, but
6396 not for directory-locals.
6397 (set-visited-file-name):
6398 Take account of inhibit-local-variables-regexps.
6399 Whether it applies may change as the file name is changed.
6400 * jka-cmpr-hook.el (jka-compr-install):
6401 * jka-compr.el (jka-compr-uninstall):
6402 Update for inhibit-first-line-modes-suffixes name change.
6403
dd6e3cdd
MR
64042012-01-20 Martin Rudalics <rudalics@gmx.at>
6405
6406 * help-macro.el (make-help-screen): Temporarily restore original
6407 binding for minor-mode-map-alist (Bug#10454).
6408
0d0deb38
JD
64092012-01-19 Julien Danjou <julien@danjou.info>
6410
6411 * color.el (color-name-to-rgb): Use the white color to find the max
6412 color component value and return correctly computed values.
6413 (color-name-to-rgb): Add missing float conversion for max value.
6414
34a02f46
MR
64152012-01-19 Martin Rudalics <rudalics@gmx.at>
6416
6417 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6418 special state value for window-persistent-parameters.
6419 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6420 (window--state-put-2): Reset all window parameters to nil before
6421 assigning values of persistent parameters.
6422
606c44c4
AM
64232012-01-18 Alan Mackenzie <acm@muc.de>
6424
6425 Eliminate sluggishness and hangs in fontification of "semicolon
6426 deserts".
6427
cb882333
JB
6428 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6429 Change value 10000 -> 3000.
606c44c4
AM
6430 (c-state-safe-place): Reformulate so it doesn't stack up an
6431 infinite number of wrong entries in c-state-nonlit-pos-cache.
6432 (c-determine-limit-get-base, c-determine-limit): New functions to
6433 determine backward search limits disregarding literals.
6434 (c-find-decl-spots): Amend commenting.
6435 (c-cheap-inside-bracelist-p): New function which detects "={".
6436
6437 * progmodes/cc-fonts.el
6438 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6439 backward search.
6440 (c-font-lock-declarations): Fix an occurrence of point being
6441 undefined. Check additionally for point being in a bracelist or
6442 near a macro invocation without a semicolon so as to avoid a
6443 fruitless time consuming search for a declarator. Give a more
6444 precise search limit for declarators using the new
6445 c-determine-limit.
6446
f3860cea
GM
64472012-01-18 Glenn Morris <rgm@gnu.org>
6448
6449 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6450 (set-auto-mode): Doc fixes.
6451
1db03b16
GM
64522012-01-17 Glenn Morris <rgm@gnu.org>
6453
0e6038be
GM
6454 * isearch.el (search-nonincremental-instead): Fix doc typo.
6455
1db03b16
GM
6456 * dired.el (dired-insert-directory): Handle newlines in directory name.
6457 (dired-build-subdir-alist): Unescape newlines in directory name.
6458
4cb0aa75
MA
64592012-01-17 Michael Albinus <michael.albinus@gmx.de>
6460
6461 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6462 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6463 (tramp-action-terminal): Use it. (Bug#10530)
6464
1d00653d
SM
64652012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6468
6a6ee00d
MR
64692012-01-16 Martin Rudalics <rudalics@gmx.at>
6470
6471 * window.el (window-state-ignored-parameters): Remove variable.
6472 (window--state-get-1): Rename argument MARKERS to IGNORE.
6473 Handle persistent window parameters. Make copy of clone-of
6474 parameter only if requested. (Bug#10348)
6475 (window--state-put-2): Install a window parameter only if it has
6476 a non-nil value or an existing parameter shall be overwritten.
6477
97912def
MA
64782012-01-15 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6481
688070a5
EZ
64822012-01-14 Eli Zaretskii <eliz@gnu.org>
6483
6484 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6485 don't pass the (nil) value of `upnode' to string-match.
6486
301afadc
CY
64872012-01-14 Chong Yidong <cyd@gnu.org>
6488
6489 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6490 Fix values recognized by the cursorBlink resource.
301afadc 6491
9e5788aa
PE
64922012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6493
6494 * epg.el (epg--make-temp-file): Avoid permission race condition
6495 when running on old Emacs versions (bug#10403).
6496
3cdb7f5a
GM
64972012-01-14 Glenn Morris <rgm@gnu.org>
6498
6499 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6500
8c82b1b4
AM
65012012-01-13 Alan Mackenzie <acm@muc.de>
6502
6503 Fix filling for when filladapt mode is enabled.
6504
6505 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6506 c-mask-paragraph, pass in `fill-paragraph' rather than
6507 `fill-region-as-paragraph'. (This is a reversion of a previous
6508 change.)
eb864a71
LM
6509 * progmodes/cc-mode.el (c-basic-common-init):
6510 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6511
e517eda4
GM
65122012-01-13 Glenn Morris <rgm@gnu.org>
6513
1498536e
GM
6514 * dired.el (dired-switches-escape-p): New function.
6515 (dired-insert-directory): Use dired-switches-escape-p.
6516 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6517
e517eda4
GM
6518 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6519
328f984d
GM
65202012-01-12 Glenn Morris <rgm@gnu.org>
6521
6522 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6523 changes in adaptive-fill-regexp. (Bug#10276)
6524
2cc769a8
AM
65252012-01-11 Alan Mackenzie <acm@muc.de>
6526
6527 Fix Emacs bug #10463 - put `widen's around the critical spots.
6528
1d00653d 6529 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6530 widen around each invocation of c-state-pp-to-literal. Remove an
6531 unused let variable.
6532
e52c37fa
GM
65332012-01-11 Glenn Morris <rgm@gnu.org>
6534
6535 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6536 Doc fix.
e52c37fa 6537
96f8741e
CY
65382012-01-10 Chong Yidong <cyd@gnu.org>
6539
1d00653d
SM
6540 * net/network-stream.el (network-stream-open-starttls):
6541 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6542 response to the capability command.
6543
b09a806e
GM
65442012-01-10 Glenn Morris <rgm@gnu.org>
6545
6546 * mail/unrmail.el (unrmail): Tweak previous change.
6547
7655cb66
CY
65482012-01-09 Chong Yidong <cyd@gnu.org>
6549
6550 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6551
9d5a8f0b
AM
65522012-01-08 Alan Mackenzie <acm@muc.de>
6553
6554 Optimise font locking in long enum definitions.
6555
6556 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6557 arm to a cond form to handle enums.
6558 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6559 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6560
9a0115ab 65612012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6562
6563 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6564 (Bug#10401)
6bb72cbd 6565
f186bb95
LMI
65662012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
29232a68
LMI
6568 * faces.el (set-face-attribute): Clarify the meaning of the nil
6569 frame (bug#10294).
6570
4e5d086d
LMI
6571 * subr.el (with-selected-frame): Mention that the selected frame
6572 is restored (bug#9980).
6573
8e66aebe
LMI
6574 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6575 (bug#9759).
6576
cd394be1 6577 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6578 (password-read): Don't autoload unused function.
6579
adf4e762
JB
65802012-01-07 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * progmodes/which-func.el (which-func-mode): Turn into a
6583 non-interactive function and mark as obsolete (bug#10428).
6584
89bd9ccd
CY
65852012-01-06 Chong Yidong <cyd@gnu.org>
6586
6587 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6588 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6589 functions, along with 1 and -1.
6590
4afee9d5
EZ
65912012-01-06 Eli Zaretskii <eliz@gnu.org>
6592
6593 * time.el (display-time-load-average)
6594 (display-time-default-load-average): Doc fixes. See the thread
6595 starting at
6596 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6597 for the details.
6598
536aea70
GM
65992012-01-06 Glenn Morris <rgm@gnu.org>
6600
665ae865
GM
6601 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6602 has no messages. (Bug#10377)
6603
c869783d
GM
6604 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6605 than Info-edit. (Bug#10385)
6606
2bb4227e
GM
6607 * time.el (display-time-load-average, display-time-next-load-average):
6608 Doc fixes.
6609
7d5944b9
GM
6610 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6611 local setting of buffer-read-only to the input buffer. (Bug#10419)
6612
536aea70
GM
6613 * calendar/calendar.el (calendar-mode):
6614 Locally set scroll-margin to 0. (Bug#10379)
6615
7dccca16
UM
66162012-01-06 Ulrich Mueller <ulm@gentoo.org>
6617
6618 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6619
afbb7930
GM
66202012-01-05 Glenn Morris <rgm@gnu.org>
6621
6622 * eshell/em-unix.el (diff-no-select): Autoload it.
6623 (eshell/diff): Use diff-no-select. (Bug#10420)
6624
04482335
CY
66252012-01-05 Chong Yidong <cyd@gnu.org>
6626
7baca3bc
CY
6627 * shell.el (shell-dynamic-complete-functions): Revert last change.
6628 (shell-command-completion-function): New function.
6629 (shell-completion-vars): Use it to implement
6630 shell-completion-execonly (Bug#10417).
6631
04482335
CY
6632 * custom.el (enable-theme): Don't set custom-safe-themes.
6633
1d00653d
SM
6634 * cus-theme.el (custom-theme-merge-theme):
6635 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6636
bb5aa5d6
MM
66372012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6638
6639 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6640 first prompt in `sql-interacive-mode'.
6641 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6642 keywords.
6df6ae42 6643 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6644 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6645 context of original buffer. Invoke `sql-login-hook'.
6646
a7183d7c
EZ
66472012-01-04 Eli Zaretskii <eliz@gnu.org>
6648
6649 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6650 letters in cite-prefix.
6651
a1eacd1e
LMI
66522012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
6654 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6655
787cdb34
CY
66562012-01-03 Chong Yidong <cyd@gnu.org>
6657
1d00653d
SM
6658 * shell.el (shell-dynamic-complete-functions):
6659 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6660 comint-filename-completion first (Bug#10417).
6661
30710442
RS
66622012-01-02 Richard Stallman <rms@gnu.org>
6663
6664 * battery.el (battery-status-function):
6665 Detect when to use battery-yeeloong-sysfs.
6666 (battery-echo-area-format): Add string for Yeeloong.
6667 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6668 (battery-yeeloong-sysfs): New function.
6669
f75bfc33
CY
66702012-01-02 Chong Yidong <cyd@gnu.org>
6671
6672 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6673 (dirtrack): Merge code for handling relative filenames in prompt
6674 from shell-dir-cookie-watcher.
6675 (dirtrack-debug-message): New arg to avoid excess format calls.
6676
6677 * shell.el (shell-dir-cookie-re): Variable deleted.
6678 (shell-dir-cookie-watcher): Function deleted.
6679 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6680 with dirtrack-mode.
6681
651e947e
EZ
66822012-01-01 Eli Zaretskii <eliz@gnu.org>
6683
1d00653d
SM
6684 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6685 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6686 libgnutls-26.dll.
6687
94d4c7dc
AS
66882011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6689
6690 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6691
8d43f3cd
EZ
66922011-12-31 Eli Zaretskii <eliz@gnu.org>
6693
6694 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6695 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6696
98c8795a
MA
66972011-12-29 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6700 also for alternative shells.
6701 (tramp-open-connection-setup-interactive-shell): Check, whether
6702 the shell is a busybox.
6703 (tramp-send-command): Don't suppress multiple prompts for
6704 busyboxes, it hurts.
6705
51281b32
CY
67062011-12-28 Chong Yidong <cyd@gnu.org>
6707
6708 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6709 (gdb-get-source-file): Move mode line update to
6710 gdb-get-source-file (Bug#10087).
6711
2170cb53
CY
67122011-12-25 Chong Yidong <cyd@gnu.org>
6713
6714 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6715 gud-gdb-marker-filter without taking it as an argument.
6716 (gud-gdb-run-command-fetch-lines): Caller changed.
6717 (gud-gdb-completion-function): New variable.
6718 (gud-gdb-completion-at-point): Use it.
6719 (gud-gdb-completions-1): Split from gud-gdb-completions.
6720
6721 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6722 function as separate arguments.
6723 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6724 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6725 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6726 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6727 (gdb-stopped, def-gdb-auto-update-trigger)
6728 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6729 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6730 Callers changed.
2170cb53
CY
6731 (gud-gdbmi-completions): New function.
6732 (gdb): Use it for generating the completion table.
6733
be8b11bb
AM
67342011-12-24 Alan Mackenzie <acm@muc.de>
6735
6736 Introduce a mechanism to widen the region used in context font
1d00653d 6737 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6738
1d00653d
SM
6739 * progmodes/cc-langs.el (c-before-font-lock-functions):
6740 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6741 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6742 functions to be run just before context (etc.) font locking.
6743
6744 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6745 New, functionality extracted from
be8b11bb 6746 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6747 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6748 (c-after-change): Set c-in-after-change-fontification.
6749 (c-set-fl-decl-start): Rejig its interface, so it can be called
6750 from both after-change and context fontifying.
b81d40f0
JB
6751 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6752 New functions.
6753 (c-standard-font-lock-fontify-region-function): New variable.
6754 (c-font-lock-fontify-region): New function.
be8b11bb 6755
341cf6ac
JL
67562011-12-24 Juri Linkov <juri@jurta.org>
6757
6758 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6759 (Bug#10348)
6760
bffcee0a
MA
67612011-12-23 Michael Albinus <michael.albinus@gmx.de>
6762
6763 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6764 existence of source file. (Bug#10325)
6765
cb5e207c
AM
67662011-12-23 Alan Mackenzie <acm@muc.de>
6767
6768 Fix unstable fontification inside templates.
6769
b81d40f0
JB
6770 * progmodes/cc-langs.el (c-before-font-lock-functions):
6771 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6772 additionally has c-set-fl-decl-start. The other languages (apart
6773 from AWK) have that as a single entry.
6774
b81d40f0
JB
6775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6776 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6777 c-set-fl-decl-start.
6778
b81d40f0
JB
6779 * progmodes/cc-mode.el (c-common-init, c-after-change):
6780 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6781 (c-set-fl-decl-start): New function, extracted from
6782 c-font-lock-enclosing-decls and enhanced.
6783
60ff536c
JB
67842011-12-23 Juanma Barranquero <lekktu@gmail.com>
6785
6786 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6787
1c4757d6
JL
67882011-12-22 Juri Linkov <juri@jurta.org>
6789
6790 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6791
d031f2c7
CY
67922011-12-22 Chong Yidong <cyd@gnu.org>
6793
6794 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6795
bace743a
DA
67962011-12-21 Drew Adams <drew.adams@oracle.com>
6797
6798 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6799
728a1f2b
JC
68002011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6801
6802 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6803
0d373f73
TZ
68042011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6805
fec0aaa4
TZ
6806 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6807 highlighting and support. Fix up comments for capitalization.
6808 (cfengine-mode-debug): New var.
6809 (cfengine3-mode): Change the modeline indicator to "CFE3".
6810 (cfengine3-font-lock-keywords): Improve defun highlighting.
6811 (cfengine2-actions): Rename from `cfengine-actions'.
6812 (cfengine2-font-lock-keywords): Rename from
6813 `cfengine-font-lock-keywords'.
6814 (cfengine2-imenu-expression): Rename from
6815 `cfengine-imenu-expression'.
6816 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6817 (cfengine2-beginning-of-defun): Rename from
6818 `cfengine-beginning-of-defun'.
6819 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6820 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6821 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6822 modeline indicator to "CFE2".
6823 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6824 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6825
bc86f573
CY
68262011-12-21 Chong Yidong <cyd@gnu.org>
6827
6828 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6829 filename argument.
6830
d45ba96b
MR
68312011-12-20 Martin Rudalics <rudalics@gmx.at>
6832
6833 * window.el (window-normalize-buffer-to-display): Remove.
6834 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6835
a6198c90
CY
68362011-12-19 Chong Yidong <cyd@gnu.org>
6837
6838 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6839 Don't signal an error in a predicate function; return non-nil.
6840 (vc-dir-mark-file): Move the error here.
6841 (vc-dir-mark-unmark): If acting on the region, keep going if one
6842 of the entries cannot be marked/unmarked.
6843 (vc-dir-mark-all-files): If current entry is a directory, mark
6844 only child files, as documented.
6845
34c5fb55
VB
68462011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6847
6848 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6849 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6850 addition.
6851
c803b2b7
JD
68522011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6853
6854 * term/ns-win.el (ns-get-selection-internal)
6855 (ns-store-selection-internal): Declare.
1154d12e
JB
6856 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6857 Declare as obsolete.
6858 (ns-get-pasteboard, ns-paste-secondary):
6859 Use ns-get-selection-internal.
6860 (ns-set-pasteboard, ns-copy-including-secondary):
6861 Use ns-store-selection-internal.
c803b2b7 6862
9cff91f8 68632011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6864
6865 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6866 (vc-deduce-fileset): Doc fix.
99a289d9 6867
f16c898a
AS
68682011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6869
6870 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6871
763237c4
SS
68722011-12-13 Sam Steingold <sds@gnu.org>
6873
6874 * man.el (Man-getpage-in-background): When running under a
6875 window-system, ignore $MANWIDTH and $COLUMNS.
6876
5fc1c122
KH
68772011-12-15 Kenichi Handa <handa@m17n.org>
6878
6879 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6880 (setup-ethiopic-environment-internal): Comment out key-binding for
6881 ethio-toggle-punctuation.
6882
13d49cbb
AM
68832011-12-13 Alan Mackenzie <acm@muc.de>
6884
898169a2
AM
6885 Add the switch statement to AWK Mode.
6886
7a71b18d 6887 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6888 "default" to the keywords regexp.
6889
7a71b18d 6890 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6891 expression as the rest.
1d00653d
SM
6892 (c-nonlabel-token-key): Allow string literals for AWK.
6893 Refactor for the other modes.
898169a2 6894
13d49cbb 6895 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6896 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6897 routines. Limit backward searching in c-font-lock-enclosing.decl.
6898
6899 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6900 pp-state and literal type in addition to the limits.
1d00653d 6901 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6902 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6903 (c-slow-in-literal, c-fast-in-literal): Remove.
6904 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6905
6906 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6907 being in a literal. Add a limit for backward searching.
6908
6909 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6910 c-slow-in-literal.
6911
15e0efc7
SM
69122011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6915
454592a6
MR
69162011-12-13 Martin Rudalics <rudalics@gmx.at>
6917
6918 * window.el (delete-other-windows): Use correct frame in call to
6919 window-with-parameter.
6920
87393f26
DP
69212011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6922
6923 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6924 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6925 (makefile-gmake-statements, makefile-makepp-statements):
6926 Use it and add new makepp keywords.
6927 (makefile-makepp-font-lock-keywords): Add new patterns.
6928 (makefile-match-function-end): Match new [...] and [[...]].
6929
11636b22
JB
69302011-12-11 Juanma Barranquero <lekktu@gmail.com>
6931
6932 * ses.el (ses-call-printer-return, ses-cell-property-get)
6933 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6934 (ses-create-cell-variable, ses-reset-header-string)
6935 (ses-cell-set-formula, ses-repair-cell-reference-all)
6936 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6937 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6938 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6939 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6940 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6941 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6942 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6943 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6944 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6945 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6946 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6947 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6948
cf018193
VB
69492011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6950
6951 * ses.el: The overall change is to add cell renaming, that is
6952 setting fancy names for cell symbols other than name matching
6953 "\\`[A-Z]+[0-9]+\\'" regexp .
6954 (ses-create-cell-variable): New defun.
6955 (ses-relocate-formula): Relocate formulas only for cells the
6956 symbols of which are not renamed, i.e. symbols whose names do not
6957 match regexp "\\`[A-Z]+[0-9]+\\'".
6958 (ses-relocate-all): Relocate values only for cells the symbols of
6959 which are not renamed.
6960 (ses-load): Create cells variables as the (ses-cell ...) are read,
6961 in order to check row col consistency with cell symbol name only
6962 for cells that are not renamed.
6963 (ses-replace-name-in-formula): New defun.
6964 (ses-rename-cell): New defun.
6965
ee957461
CY
69662011-12-11 Chong Yidong <cyd@gnu.org>
6967
6968 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6969 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6970
9a9e9ef0
MR
69712011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6972
6973 * window.el (other-window): Fix docstring.
6974
92a8eba5
EZ
69752011-12-10 Eli Zaretskii <eliz@gnu.org>
6976
6977 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6978 `from' or `to' address before taking its substring.
6979 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6980 encoded name is chopped in the middle of the encoded string, and
6981 thus displayed encoded.
6982
e152e577
JB
69832011-12-10 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6986
e5d84bfe
EZ
69872011-12-10 Eli Zaretskii <eliz@gnu.org>
6988
6989 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6990 to use texinfo-update-node and commands that call it if the
6991 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6992 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6993 (texinfo-all-menus-update, texinfo-master-menu)
6994 (texinfo-update-node, texinfo-every-node-update)
6995 (texinfo-multiple-files-update): Doc fix. Warn against updating
6996 all the @node lines.
6997 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6998 argument is numeric. Explain better in the doc string what the
6999 function really does.
7000 (texinfo-insert-master-menu-list): Improve the error message
7001 displayed if there's no menu in the Top node.
7002 (Bug#2975) See also this thread:
e5d84bfe
EZ
7003 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7004
1d84e9bb
MG
70052011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7006
7007 * speedbar.el (speedbar-supported-extension-expressions):
7008 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7009
382c953b
JB
70102011-12-09 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * printing.el (pr-mode-alist):
7013 * simple.el (filter-buffer-substring-functions)
7014 (completion-list-insert-choice-function):
7015 * window.el (window-with-parameter, window-atom-root)
7016 (window-sides-slots, window-size-fixed, window-min-delta)
7017 (window-max-delta, window--resize-mini-window)
7018 (window--resize-child-windows-normal, window-tree)
7019 (delete-other-windows, quit-window, split-window)
7020 (display-buffer-record-window, special-display-buffer-names)
7021 (special-display-regexps, special-display-popup-frame)
7022 (same-window-p, split-window-sensibly)
7023 (display-buffer-overriding-action, display-buffer-alist)
7024 (display-buffer-base-action, display-buffer, switch-to-buffer)
7025 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7026 (fit-window-to-buffer, recenter-positions)
7027 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7028 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7029 and remove unneeded backslashes in docstrings.
7030
39c9faef
SM
70312011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7032
98449af8
SM
7033 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7034
39c9faef
SM
7035 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7036 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7037 end in ".mk".
7038 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7039 when reading the makefile (bug#10116).
7040
86ed9fdc
SM
70412011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7044 (bug#10116).
7045
5580f89d
GM
70462011-12-06 Glenn Morris <rgm@gnu.org>
7047
7048 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7049
28d3917c
CY
70502011-12-06 Chong Yidong <cyd@gnu.org>
7051
7052 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7053
a98edce9
JB
70542011-12-06 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * textmodes/table.el (table-shorten-cell): Fix typo.
7057
e65adfac
CG
70582011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7059
7060 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7061
71cc0b74
EZ
70622011-12-05 Eli Zaretskii <eliz@gnu.org>
7063
7064 * descr-text.el (describe-char): Fix display of strong
7065 right-to-left characters and directional embeddings and overrides.
7066
7067 * simple.el (what-cursor-position): Fix display of codepoints of
7068 strong right-to-left characters.
7069
315bc30d
CY
70702011-12-05 Chong Yidong <cyd@gnu.org>
7071
7072 * faces.el (read-color): Doc fix.
7073
58a70b94
GM
70742011-12-05 Glenn Morris <rgm@gnu.org>
7075
7076 * align.el (align--set-marker): Add doc-string.
7077 Don't try to move something that is not a marker. (Bug#10216)
7078
5158face
GM
70792011-12-04 Glenn Morris <rgm@gnu.org>
7080
7081 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7082 overly zealous deletion of trailing whitespace.
7083
520fca41
JB
70842011-12-04 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * server.el (server-delete-client): On Windows, do not try to delete
7087 the only terminal.
7088 (server-process-filter): On Windows, treat requests for a tty frame as
7089 if they were for a GUI frame if the running server is in GUI mode.
7090
5e605a2e
GM
70912011-12-03 Glenn Morris <rgm@gnu.org>
7092
7093 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7094
5c3fe83f
SM
70952011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7096
6f5e57e7
SM
7097 * electric.el: Streamline electric-indent's hook.
7098 (electric-indent-chars): Revert to simple list.
7099 (electric-indent-functions): New var.
7100 (electric-indent-post-self-insert-function): Use it.
7101
5c3fe83f
SM
7102 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7103 there's no inferior buffer (bug#10196).
7104 (prolog-consult-compile): Don't use toggle-read-only.
7105
6bdac736
MA
71062011-12-02 Michael Albinus <michael.albinus@gmx.de>
7107
7108 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7109 interrupt. (Bug#10187)
7110
6131ba7f
SM
71112011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7112
99c79fee
SM
7113 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7114 (bug#9160).
7115
6131ba7f
SM
7116 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7117 (bug#10191).
7118
cb0a02ea
JL
71192011-12-02 Juri Linkov <juri@jurta.org>
7120
7121 * info.el (Info-search): Display "end of manual" when Isearch
7122 reaches the end of single-file Info manual. (Bug#9918)
7123
66e0570c
EZ
71242011-12-02 Eli Zaretskii <eliz@gnu.org>
7125
7126 * isearch.el (isearch-message-prefix): Run the input method part
7127 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7128
02b16839
JL
71292011-12-02 Juri Linkov <juri@jurta.org>
7130
7131 * isearch.el (isearch-occur): Use `word-search-regexp' for
7132 `isearch-word'.
7133 (isearch-search-and-update): Add condition for `isearch-word' and
7134 call `word-search-regexp'. (Bug#10145)
7135
0b950688
GM
71362011-12-01 Glenn Morris <rgm@gnu.org>
7137
7138 * eshell/em-hist.el (eshell-hist-initialize):
7139 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7140 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7141
9505c3c7
SM
71422011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7145
1bbe96b2 71462011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7147
a1beca85
SM
7148 * progmodes/verilog-mode.el (verilog-pretty-expr):
7149 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7150 verilog, such as += *= and the like.
7151 (verilog-assignment-operator-re): Regular expression to find the
7152 assigment operator in a verilog assignment.
7153 (verilog-assignment-operation-re): Regular expression to find an
7154 assignment statement for pretty-expr.
7155 (verilog-in-attribute-p): Query returns true if point is in an
7156 attribute context; used to skip these for expression line up from
7157 pretty-expr.
7158 (verilog-in-parameter-p): Query returns true if point is in an
7159 parameter definition context; used to skip these for expression
7160 line up from pretty-expr.
7161 (verilog-in-parenthesis-p): Query returns true if point is in a
7162 parenthetical expression, specifically ( ) but not [ ] or { };
7163 used by pretty-expr.
7164 (verilog-just-one-space): If there is no space, don't add one.
7165 (verilog-get-lineup-indent-2): Specifically skip just attribute
7166 contexts for expression lineup, rather than skipping all
7167 parenthetical expressions.
7168 (verilog-calculate-indent): Fix comment, and fix indent.
7169 (verilog-do-indent): Indent declarations in lists (suggested by
7170 Joachim Lechner).
7171 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7172 skeleton items.
7173 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7174 by Alain Mellan).
7175
1bbe96b2 71762011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7177
7178 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7179 parameters with embedded comments. Reported by Ray Stevens.
7180 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7181 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7182 Reported by Tim Holt.
7183 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7184 instantiated by upper module causing wrong expansion until AUTOed a
7185 second time. Reported by K C Buckenmaier.
7186 (verilog-diff-auto): Fix showing .* as a difference when
7187 `verilog-auto-star-save' off. Reported by Dan Dever.
7188 (verilog-auto-reset, verilog-read-always-signals)
7189 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7190 temporary signals in reset list if
7191 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7192 style to each signal's assignment type, bug381.
7193 Reported by Thomas Esposito.
6288f0ca
WS
7194 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7195 (verilog-uvm-statement-re): Support UVM indentation and
7196 highlighting, with old OVM keywords only.
a1beca85 7197 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7198 Support AUTOTIEOFF creating non-wire data types.
7199 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7200 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7201 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7202 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7203 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7204 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7205 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7206 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7207 non-numeric vector width. Reported by Alex Reed.
7208 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7209 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7210 (verilog-auto-delete-trailing-whitespace):
7211 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7212 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7213 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7214 Fix verilog-scan-cache corruption when running user AUTO expansion
7215 hooks that call indentation routines.
7216 (verilog-simplify-range-expression): Fix typo ignoring lower case
7217 identifiers.
7218 (verilog-delete-auto): Fix delete-autos to also remove user created
7219 automatics, as long as they start with AUTO.
7220 (verilog-batch-diff-auto, verilog-diff-auto)
7221 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7222 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7223 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7224 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7225 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7226 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7227 is disabled and its cache will get corrupt, causing AUTOS not to
7228 expand. Instead use only -quick functions.
7229 (verilog-scan-region): Fix scanning over escaped quotes.
7230 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7231 (verilog-re-search-backward-quick)
7232 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7233 related functions now ignore strings, to fix misparsing of strings
7234 with magic comments embedded in them.
a1beca85
SM
7235 (verilog-read-auto-template):
7236 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7237 Reported by Brad Dobbie.
7238 (verilog-read-auto-template):
7239 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7240 Reported by Brad Dobbie.
6288f0ca
WS
7241 (verilog-auto-inst, verilog-auto-inst-param)
7242 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7243 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7244 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7245 debugging templates without merge conflicts, bug357.
7246 Reported by Brad Dobbie.
7247 (verilog-read-auto-template):
7248 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7249 Reported by Brad Dobbie.
7250 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7251 abbrevs so user won't be asked to save.
7252 (verilog-read-auto-lisp-present): Fix to start at beginning of
7253 buffer in case called outside of verilog-auto.
7254 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7255 to "X-2". Reported by Matthew Myers.
7256 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7257 all inputs from module templates. Reported by Leith Johnson.
7258 (verilog-module-inside-filename-p): Fix locating programs as with
7259 modules.
7260 (verilog-auto-inst-port): Fix vl-width expressions when using
7261 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7262 (verilog-decls-get-regs, verilog-decls-get-signals,
7263 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7264 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7265 verilog-read-decls): Combine reg and wire structures into one var
7266 structure to represent SystemVerilog concepts.
7267 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7268 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7269 (verilog-auto-wire-type, verilog-insert-definition):
7270 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7271 SystemVerilog "logic" keyword instead of "wire"/"reg".
7272 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7273 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7274 ifdef or generate if so there's not a driver conflict).
7275 Reported by Matthew Myers.
7276 (verilog-auto-declare-nettype, verilog-insert-definition):
7277 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7278 `default_nettype none. Reported by Julian Gorfajn.
7279 (verilog-read-always-signals-recurse, verilog-read-decls)
7280 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7281 malformed end statement, bug325. Reported by Joshua Wise and
7282 Andrew Drake.
7283 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7284 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7285 when expanding .* in interfaces, bug320.
7286 Reported by Pierre-David Pfister.
6288f0ca 7287 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7288 name and open parenthesis, bug317.
7289 Reported by Pierre-David Pfister.
6288f0ca
WS
7290 (verilog-simplify-range-expression): Fix simplification of
7291 multiplications inside AUTOWIRE connections, bug303.
7292 (verilog-auto-inst-port): Support parameter expansion in
7293 multidimensional arrays.
7294 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7295 after "assert property". Reported by Julian Gorfajn.
7296 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7297 with multiplication, bug303.
7298 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7299 Reported by Jan Frode Lonnum.
7300
1bbe96b2
GM
73012011-11-30 Juanma Barranquero <lekktu@gmail.com>
7302
7303 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7304 (hfy-shell-file-name, hfy-shell):
7305 * international/fontset.el (x-decompose-font-name): Fix typos.
7306
73072011-11-29 Ken Brown <kbrown@cornell.edu>
7308
7309 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7310 (gdb-version): Remove defvar.
7311 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7312 (gdb-gud-context-command, gdb-non-stop-handler)
7313 (gdb-current-context-command, gdb-stopped): Use it.
7314 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7315 (gdb-non-stop-handler): Don't enable pretty-printing here.
7316 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7317 non-stop mode. Use the following.
7318 (gdb-check-target-async): New defun.
7319 (gud-watch, gdb-stopped): Fix whitespace.
7320 (gdb-get-source-file): Don't try to display the source file if
7321 `gdb-main-file' is nil.
7322
73232011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * align.el: Try to generate fewer markers (bug#10047).
7326 (align--set-marker): New macro.
7327 (align-region): Use it.
7328
c935221f
SM
73292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7332
e70b5064
CY
73332011-11-29 Chong Yidong <cyd@gnu.org>
7334
7335 * indent.el (indent-for-tab-command, indent-according-to-mode):
7336 Doc fix.
7337 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7338
f3af92b7
MA
73392011-11-29 Michael Albinus <michael.albinus@gmx.de>
7340
7341 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7342 aware of remote file names. (Bug#10124)
7343
ed472be9
CY
73442011-11-29 Chong Yidong <cyd@gnu.org>
7345
7346 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7347
24510c22
SM
73482011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * files.el (find-file): Don't use force-same-window (bug#10144).
7351 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7352 use pop-to-buffer if the selected window can't be used.
7353 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7354
c60c3703
EZ
73552011-11-28 Eli Zaretskii <eliz@gnu.org>
7356
7357 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7358 special-mode-map.
7359
e95def75
CY
73602011-11-28 Chong Yidong <cyd@gnu.org>
7361
7362 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7363
c3f1c606
NR
73642011-11-27 Nick Roberts <nickrob@snap.net.nz>
7365
7366 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7367 gdb-get-source-file-list on gdb-create-source-file-list.
7368
00db469c
EZ
73692011-11-26 Eli Zaretskii <eliz@gnu.org>
7370
7371 * whitespace.el (whitespace-newline): Use a different foreground
7372 color for 16-color light-background displays.
7373
4ad3bc2a
CY
73742011-11-24 Chong Yidong <cyd@gnu.org>
7375
7376 * window.el (display-buffer--special-action): Doc fix.
7377
e9fce1ac
JB
73782011-11-25 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7381 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7382 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7383 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7384 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7385 (avl-tree-stack-first):
7386 * emacs-lisp/cconv.el (cconv--analyse-use):
7387 * net/gnutls.el (gnutls-negotiate): Fix typos.
7388
cb825e5d
GM
73892011-11-24 Glenn Morris <rgm@gnu.org>
7390
3adbe224
GM
7391 * lpr.el (lpr-windows-system, lpr-lp-system):
7392 * mail/binhex.el (binhex-begin-line):
7393 * progmodes/grep.el (grep-history, grep-find-history):
7394 * textmodes/flyspell.el:
7395 * vc/pcvs-defs.el (cvs-global-menu):
7396 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7397 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7398 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7399
321decc8
GM
7400 * net/tls.el: Fix case of "GnuTLS".
7401
420b63ad
GM
7402 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7403
cb825e5d
GM
7404 * version.el (emacs-build-system): Give it a doc-string.
7405
a0649f08
JL
74062011-11-24 Juri Linkov <juri@jurta.org>
7407
7408 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7409
c0bc0fd4
GM
74102011-11-24 Glenn Morris <rgm@gnu.org>
7411
7412 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7413 if called on a non-mime message just toggle the headers. (Bug#8006)
7414
20db1522
JB
74152011-11-24 Juanma Barranquero <lekktu@gmail.com>
7416
7417 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7418 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7419 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7420 (allout-rebullet-heading, allout-open-sibtopic)
7421 (allout-toggle-current-subtree-encryption)
7422 (allout-toggle-subtree-encryption, allout-encrypt-string)
7423 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7424 (allout-distinctive-bullets-string, allout-auto-activation):
7425 * window.el (window-normalize-buffer-to-display):
7426 * progmodes/verilog-mode.el (verilog-batch-indent):
7427 * textmodes/bibtex.el (bibtex-field-braces-opt)
7428 (bibtex-field-strings-opt):
7429 * vc/cvs-status.el (cvs-tree-merge):
7430 Fix typos.
7431
7262a87c
MA
74322011-11-23 Michael Albinus <michael.albinus@gmx.de>
7433
7434 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7435 `non-essential' to t, in order to avoid remote connections.
7436
283430a1
EZ
74372011-11-23 Eli Zaretskii <eliz@gnu.org>
7438
a1beca85
SM
7439 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7440 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7441 case-insensitively.
7442
d2992a38
ML
74432011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7444
7445 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7446
50419064
GM
74472011-11-23 Glenn Morris <rgm@gnu.org>
7448
da94eca1
GM
7449 * paths.el (rmail-file-name): Reformat the doc-string so that it
7450 is picked up.
7451
9aac4de2
GM
7452 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7453 (rmail-auto-file): Ignore case in the "special" field names,
7454 as mail-fetch-field does for all others.
7455
8038d2d2
GM
7456 * mail/rmail.el (rmail-forward):
7457 * mail/rmailkwd.el (rmail-set-label):
7458 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7459 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7460
f3fe222a
GM
7461 * mail/rmail.el (rmail-current-message): Doc fix.
7462
50419064
GM
7463 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7464
28109f49
SM
74652011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7468
394c65f1
GM
74692011-11-22 Glenn Morris <rgm@gnu.org>
7470
7471 * mail/rmailmm.el (test-rmail-mime-handler)
7472 (test-rmail-mime-bulk-handler)
7473 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7474
f2a0aa3a
JL
74752011-11-21 Juri Linkov <juri@jurta.org>
7476
1154d12e
JB
7477 * calc/calc.el (calc-read-key-sequence):
7478 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7479
9c34a344
LMI
74802011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7481
7482 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7483 Tell the caller that the next line needs recomputation, even
7484 though it doesn't start a sexp (bug#10094).
7485
f04a3be9
SM
74862011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7489
7978747f
SM
74902011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7491
f04a3be9
SM
7492 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7493 Use force-same-window.
7978747f 7494
fe7a3057
JB
74952011-11-20 Juanma Barranquero <lekktu@gmail.com>
7496
7497 * descr-text.el (describe-char-unicode-data):
7498 * json.el (json-string-escape):
7499 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7500 (Footnote-unicode, Footnote-style-p):
7501 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7502
24901d61
CY
75032011-11-20 Chong Yidong <cyd@gnu.org>
7504
7505 * window.el (replace-buffer-in-windows): Restore interactive spec.
7506
bac7ff22
SM
75072011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7508
24f3d7b9
SM
7509 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7510
bac7ff22
SM
7511 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7512 (byte-compile-global-not-obsolete-vars): New var.
7513 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7514 Use it.
7515 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7516
cd1181db
JB
75172011-11-20 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7520 * progmodes/pascal.el (electric-pascal-equal):
7521 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7522 * xml.el (xml-substitute-special): Fix typos.
7523
7fb18e9e
GM
75242011-11-20 Glenn Morris <rgm@gnu.org>
7525
7526 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7527 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7528 Doc fixes.
7529 (rmail-decode-mime-charset): Mark as obsolete.
7530
7531 * mail/rmailsum.el (rmail-message-regexp-p-1):
7532 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7533 Before using mime functions, check they are set. (Bug#10077)
7534
d5a6b3ba
JL
75352011-11-19 Juri Linkov <juri@jurta.org>
7536
7537 * info.el (Info-finder-find-node): Use `package--builtins' instead
7538 of `package-alist'. Use node names formed by the pattern "Keyword "
7539 and the keyword name.
7540
e981b61f
AS
75412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7542
1d00653d 7543 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7544
3ffbc301
JL
75452011-11-19 Juri Linkov <juri@jurta.org>
7546
7547 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7548 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7549 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7550 `old-history', `old-history-forward'. Add let-binding
7551 `window-selected'. Remove calls to `kill-buffer',
7552 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7553 before calling `Info-find-node', so `Info-find-node-2' will reread
7554 the Info file. Restore window positions only when `window-selected'
7555 is non-nil.
7556
30c62133
JL
75572011-11-19 Juri Linkov <juri@jurta.org>
7558
7559 * isearch.el (isearch-lazy-highlight-new-loop):
7560 Remove condition `(not isearch-error)'. (Bug#9918)
7561
7562 * misearch.el (multi-isearch-search-fun): Add condition
7563 `(not bound)' to ignore lazy-highlighting search.
7564 Add the search-failed message "end of multi" when the end of
7565 multi-sequence is reached. Uncapitalize the search-failed
7566 message "Repeat for next buffer".
7567
7568 * info.el (Info-search): Add the search-failed message
7569 "end of the manual" when the end of the manual is reached
7570 in Isearch mode.
7571
645ca9cf
JL
75722011-11-19 Juri Linkov <juri@jurta.org>
7573
7574 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7575 Use non-destructive `remove' instead of `delete' because
7576 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7577 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7578
df754f66
JL
75792011-11-19 Juri Linkov <juri@jurta.org>
7580
7581 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7582 to nil instead of binding `search-ring' and `regexp-search-ring'.
7583 (Bug#9185)
7584
0e23d96a
EZ
75852011-11-19 Eli Zaretskii <eliz@gnu.org>
7586
7587 * simple.el (line-move): Force movement by logical lines for any
7588 hscrolled window, not only when auto-hscroll-mode is on.
7589 (line-move-visual): Update doc string to that effect. (Bug#10076)
7590
8a6ccb66
AS
75912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7592
7593 * language/european.el (macintosh): Define as alias for mac-roman.
7594
49ae5b39
EZ
75952011-11-19 Eli Zaretskii <eliz@gnu.org>
7596
7597 * mail/rmailmm.el (rmail-mime-display-header)
7598 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7599 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7600 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7601 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7602 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7603 of a raw aref.
7604 (rmail-mime-entity-segment): To get past the tagline, move forward
7605 2 more lines, to account for the 2 empty lines that precede and
7606 follow the line with the buttons.
7607 (rmail-mime-update-tagline): Move one more line, to get past the
7608 empty line that follows the buttons in the tagline. (Bug#9520)
7609
c56cad4a
MR
76102011-11-19 Martin Rudalics <rudalics@gmx.at>
7611
7612 * window.el (window-max-delta-1, window-min-delta-1)
7613 (window-min-size-1, window-state-get-1, window-state-put-1)
7614 (window-state-put-2): Use "window--" prefix.
7615
cbe71af3
SM
76162011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7617
2ad52c60
SM
7618 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7619 (smie-warning-count): New var.
7620 (smie-set-prec2tab): Use it.
7621 (smie-bnf->prec2): Improve warnings. Add docstring.
7622 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7623 (smie-bnf--set-class): New function.
7624 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7625 corner case.
7626
6944dbc1
SM
7627 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7628 (compilation-error-properties, compilation-move-to-column):
7629 Handle compilation-first-column while in the target buffer.
7630
c400c4d7
SM
7631 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7632 Don't hardcode point-min==1.
7633
6dbe3e96
SM
7634 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7635 (eshell-rewrite-for-command): Remove workaround.
7636 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7637 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7638 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7639
cbe71af3
SM
7640 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7641
a8e1496d
GM
76422011-11-17 Glenn Morris <rgm@gnu.org>
7643
7644 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7645 Ignore buffer-local generated-autoload-file if it is the same
7646 as the global value. (Bug#10049)
7647
df85d315
JB
76482011-11-17 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7651 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7652 (reftex-toc-previous-heading, reftex-toc-max-level)
7653 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7654 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7655 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7656 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7657 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7658 (reftex-toc-rename-label, reftex-toc-visit-location)
7659 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7660 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7661 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7662 leaving "*toc*" only for references to the buffer.
7663
a0c2d0ae
MR
76642011-11-17 Martin Rudalics <rudalics@gmx.at>
7665
7666 * window.el (window-resize, delete-window, split-window):
7667 Replace window-splits by window-combination-resize.
1d00653d 7668 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7669
35c0bac8
GM
76702011-11-17 Glenn Morris <rgm@gnu.org>
7671
7672 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7673 Make bash entry derive from sh entry, not shell entry.
7674
d0c8fc8a
MA
76752011-11-16 Michael Albinus <michael.albinus@gmx.de>
7676
7262a87c
MA
7677 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7678 local file name.
7679
7877f373
JB
76802011-11-16 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * menu-bar.el (menu-bar-file-menu):
7683 * printing.el (pr-ps-utility):
7684 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7685 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7686 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7687 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7688 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7689 (icalendar--convert-cyclic-to-ical)
7690 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7691 (icalendar--convert-ical-to-diary)
7692 (icalendar--convert-recurring-to-diary)
7693 (icalendar--convert-non-recurring-all-day-to-diary)
7694 (icalendar-import-format-sample):
7695 * progmodes/idlw-shell.el (idlwave-shell-mode):
7696 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7697 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7698 (vhdl-ps-print-init): Fix typos.
7699
10649b82
KM
77002011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7701
9d0cfcd6
GM
7702 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7703 FSF and collapse date sequence, obscure author/maintainer email address
7704 better, remove extra version line, track relocation of author's webpage.
10649b82 7705
9d0cfcd6
GM
7706 * progmodes/python.el (python-pdbtrack-input-prompt)
7707 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7708 regular python pdb prompts. Adjustments shamelessly taken exactly as
7709 suggested in EmacsWiki page (tiny change):
7710 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7711
58179cce
JB
77122011-11-16 Juanma Barranquero <lekktu@gmail.com>
7713
7714 * expand.el (expand-pos, expand-index, expand-point):
7715 Remove redundant info from docstring.
7716 (expand-add-abbrevs): Doc fix.
7717 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7718 (expand-sample-perl-mode-expand-list): Fix typos.
7719
7720 * net/dbus.el (dbus-event-member-name):
7721 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7722 * term/pc-win.el (msdos-create-frame-with-faces):
7723 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7724
b6f67890
MR
77252011-11-16 Martin Rudalics <rudalics@gmx.at>
7726
7727 * window.el (split-window, window-state-get-1)
7728 (window-state-put-1, window-state-put-2): Rename occurrences of
7729 window-nest to window-combination-limit.
1d00653d 7730 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7731
ce7ddba0
CY
77322011-11-16 Chong Yidong <cyd@gnu.org>
7733
7734 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7735 regexp (Bug#10033).
7736
3ae704f4
SM
77372011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7740 `completing-read' will remove *Completions* and will preserve
7741 current-buffer for us.
7742 (tmm-add-prompt): Users of *Completions* will always (re)set its
7743 major mode.
7744 (tmm-old-comp-map): Remove.
7745
6ad1cdde
GM
77462011-11-16 Glenn Morris <rgm@gnu.org>
7747
7748 * mail/rmailedit.el: Require rmailmm when compiling.
7749 (rmail-old-mime-state): New declaration.
7750 (rmail-edit-current-message): If editing a mime message,
7751 edit the "raw" message from the mbox buffer.
7752 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7753
d20faa20
GM
77542011-11-15 Glenn Morris <rgm@gnu.org>
7755
7756 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7757 which wasn't being used. Add optional arg to force given state.
7758 (rmail-mime): Add optional arg to force given state.
7759
c7015153
JB
77602011-11-15 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7763 * frame.el (display-mm-dimensions-alist):
7764 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7765 (outline-move-subtree-down):
7766 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7767 (newsticker--treeview-do-get-node):
7768 * net/quickurl.el (quickurl-list-buffer-name):
7769 * progmodes/dcl-mode.el (dcl-mode):
7770 * progmodes/gdb-mi.el (gdb-mapcar*):
7771 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7772
45261b50
GM
77732011-11-15 Glenn Morris <rgm@gnu.org>
7774
7775 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7776 in a boolean sense, so just make it a boolean, and fix the doc.
7777 (rmail-show-mime-function, rmail-mime-feature)
7778 (rmail-require-mime-maybe): Doc fixes.
7779 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7780
7781 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7782
0d26e0b6
JB
77832011-11-15 Juanma Barranquero <lekktu@gmail.com>
7784
7785 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7786 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7787 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7788 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7789
447f30f6
GM
77902011-11-15 Glenn Morris <rgm@gnu.org>
7791
672b871d
GM
7792 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7793 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7794 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7795 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7796 (rmail-mime, rmail-show-mime): Doc fixes.
7797
f6aa5bb1
GM
7798 * term/ns-win.el (mode-line-frame-identification):
7799 Leave it alone. (Bug#10051)
7800
947cd66b
GM
7801 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7802
447f30f6
GM
7803 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7804 Handle empty buffers. (Bug#9978)
7805
0b381c7e
JB
78062011-11-14 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * international/mule.el (define-charset):
7809 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7810 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7811 * progmodes/verilog-mode.el (verilog-backward-token):
7812 * textmodes/ispell.el (lookup-words):
7813 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7814
71e027ac
GM
78152011-11-14 Glenn Morris <rgm@gnu.org>
7816
56632ce4
GM
7817 * progmodes/executable.el
7818 (executable-make-buffer-file-executable-if-script-p):
7819 Handle file-modes returning nil.
7820
40500957
GM
7821 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7822 message - not necessary, and causes problems. (Bug#9831)
7823
071c2340
GM
7824 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7825
d3cfca60
GM
7826 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7827
71e027ac
GM
7828 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7829 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7830 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7831
89d61221
MR
78322011-11-12 Martin Rudalics <rudalics@gmx.at>
7833
7834 * window.el (window-resize, delete-window): Use window-splits
7835 variable instead of function.
7836 (window-state-get-1, window-state-put-2, window-state-put):
7837 Don't deal with windows' splits status.
7838
98282f6f
GM
78392011-11-12 Glenn Morris <rgm@gnu.org>
7840
7841 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7842 (apropos-documentation): Doc fixes.
7843
40a8bdf6
JB
78442011-11-11 Juanma Barranquero <lekktu@gmail.com>
7845
7846 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7847 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7848
65bd19ff
SM
78492011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * electric.el (electric-indent-post-self-insert-function): Make it
7852 possible for a char to only indent in some circumstances.
7853 (electric-indent-mode): Simplify.
7854
54f9154c
MR
78552011-11-11 Martin Rudalics <rudalics@gmx.at>
7856
7857 * window.el (windows-with-parameter): Remove unused function.
7858 (windows-at-side): Rename to window-at-side-list.
7859 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7860 (window-side-check, window-size-ignore, window-size-fixed-1)
7861 (window-in-direction-2): Prefix with "window--".
7862 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7863
68cbc58b
GM
78642011-11-11 Glenn Morris <rgm@gnu.org>
7865
7866 * subr.el (eval-after-load): If FILE is already loaded,
7867 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7868
b2621720
GM
78692011-11-10 Glenn Morris <rgm@gnu.org>
7870
9a4de110
GM
7871 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7872 Call svn via vc-svn-command rather than vc-do-command.
7873 (vc-svn-command): Add --non-interactive. (Bug#9993)
7874 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7875
b2621720
GM
7876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7877 Add toggle-read-only. (Bug#7292)
7878 * files.el (toggle-read-only): Mention that it should only
7879 be used interactively. (Bug#10006)
7880
1dce7193
SM
78812011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7882
d9ac1a1e
SM
7883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7884 Adjust regexp for OCaml warnings.
7885
0c325082
SM
7886 * electric.el (electric-pair-post-self-insert-function): Let user
7887 turn it off buffer-locally (bug#9932).
7888
90132c14
SM
7889 * progmodes/python.el (python-beginning-of-statement):
7890 Rewrite (bug#2703).
7891
1dce7193
SM
7892 * progmodes/compile.el: Better handle TABs (bug#9749).
7893 (compilation-internal-error-properties)
7894 (compilation-next-error-function): Obey the target buffer's
7895 compilation-error-screen-columns.
7896
c4e7c63a
JB
78972011-11-09 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * progmodes/meta-mode.el: Remove obsolete comments.
7900 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7901 Fix typos in docstrings.
7902
2cffd681
MR
79032011-11-09 Martin Rudalics <rudalics@gmx.at>
7904
7905 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7906 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7907 (window--resizable): New function. Make all callers of
7908 window-resizable call window--resizable instead.
7909 (window-resizable): Rewrite in terms of window--resizable.
7910
0edcba87
GM
79112011-11-08 Glenn Morris <rgm@gnu.org>
7912
7913 * progmodes/delphi.el (delphi-mode-syntax-table):
7914 Let define-derived-mode define a proper syntax table. (Bug#9994)
7915
4b0d61e3
SM
79162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * window.el: Stay away from defsubst.
7919 (window-list-no-nils): Remove.
7920 (window-state-get-1, window-state-get): Use backquote instead.
7921
cd394be1 79222011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7923
4b0d61e3 7924 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7925 Fix incorrect use of default argument in `completing-read'.
7926
e1c2c6f2
MR
79272011-11-08 Martin Rudalics <rudalics@gmx.at>
7928
7929 * window.el (display-buffer-function, special-display-function):
7930 Mention display-buffer-record-window but do not mention
7931 help-setup parameter in doc-strings.
b3f4a882 7932 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7933
105216ed
CY
79342011-11-08 Chong Yidong <cyd@gnu.org>
7935
7936 * window.el (window-total-height, window-total-width): Doc fix.
7937 (window-body-size): Move from C.
7938 (window-body-height, window-body-width): Move to C.
7939
0a9f9ab5
SM
79402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * window.el: Make special-display like display-buffer-alist (bug#9532).
7943 (display-buffer--special-action): New function, morphed
7944 from display-buffer--special.
7945 (display-buffer): Use it to handle special-display-buffers at higher
7946 priority (just after display-buffer-alist).
7947 (display-buffer-fallback-action, display-buffer--other-frame-action)
7948 (pop-to-buffer-same-window): Remove display-buffer--special.
7949
a769dd15
GM
79502011-11-07 Glenn Morris <rgm@gnu.org>
7951
7952 * calendar/cal-menu.el (cal-menu-set-date-title):
7953 Do nothing if not in a calendar. (Bug#9976)
7954
05a61ee3
SM
79552011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * files.el (find-file): Always use selected-window.
7958
be7f5545
MR
79592011-11-07 Martin Rudalics <rudalics@gmx.at>
7960
7961 * window.el (window-combinations): Make WINDOW argument
7962 mandatory. Rewrite doc-string.
7963 (walk-window-subtree, window-atom-check, window-min-delta)
7964 (window-max-delta, window--resize-this-window)
7965 (window--resize-root-window-vertically, window-tree)
7966 (balance-windows, window-state-put): Rewrite doc-strings as to
7967 not mention the term "subwindow".
7968 (window--resize-subwindows-skip-p): Rename to
7969 window--resize-child-windows-skip-p.
7970 (window--resize-subwindows-normal): Rename to
7971 window--resize-child-windows-normal.
7972 (window--resize-subwindows): Rename to
7973 window--resize-child-windows.
7974 (window-or-subwindow-p): Rename to window--in-subtree-p.
7975
3c6702ef
ML
79762011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7977
7978 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7979 Ensure that mbox format messages end in two newlines (Bug#9974).
7980
49745b39
CY
79812011-11-06 Chong Yidong <cyd@gnu.org>
7982
7983 * window.el (window-combination-p): Function deleted; its
7984 side-effect is not used in any existing code.
7985 (window-combinations, window-combined-p): Call window-*-child
7986 directly.
7987
24300f5f
CY
79882011-11-05 Chong Yidong <cyd@gnu.org>
7989
7990 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7991 (window-size-ignore, window-state-get): Callers changed.
7992 (window-normalize-window): Rename from window-normalize-any-window.
7993 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7994 (window-normalize-live-window): Delete.
447f16b8
CY
7995 (window-combination-p, window-combined-p, window-combinations)
7996 (walk-window-subtree, window-atom-root, window-min-size)
7997 (window-sizable, window-sizable-p, window-size-fixed-p)
7998 (window-min-delta, window-max-delta, window-resizable)
7999 (window-resizable-p, window-full-height-p, window-full-width-p)
8000 (window-current-scroll-bars, window-point-1, set-window-point-1)
8001 (window-at-side-p, window-in-direction, window-resize)
8002 (adjust-window-trailing-edge, maximize-window, minimize-window)
8003 (window-deletable-p, delete-window, delete-other-windows)
8004 (record-window-buffer, unrecord-window-buffer)
8005 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8006 (quit-window, split-window, window-state-put)
8007 (set-window-text-height, fit-window-to-buffer)
8008 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8009
89bd5ee1
EZ
80102011-11-04 Eli Zaretskii <eliz@gnu.org>
8011
53479029
EZ
8012 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8013 rfc2047-decode-string.
8014 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8015 warnings.
8016
89bd5ee1
EZ
8017 * window.el (window-body-height, window-body-width): Mention in
8018 the doc string that the return values are in frame's canonical
8019 units. (Bug#9949)
8020
bd17fdee
AM
80212011-11-03 Alan Mackenzie <acm@muc.de>
8022
8023 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8024 change in cc-engine.el.
8025
acc825c5
SM
80262011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8029
1885e5b8
MR
80302011-11-02 Martin Rudalics <rudalics@gmx.at>
8031
8032 * window.el (quit-window): Call unrecord-window-buffer after
8033 showing another buffer in the window. (Bug#9937)
acc825c5 8034 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8035
ebe06da9
JB
80362011-11-02 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8039 Accept status with more than 9 shelves. (Bug#9935)
8040 Reported by Colin D Bennett <colin@gibibit.com>.
8041
4ee88440
MR
80422011-11-01 Martin Rudalics <rudalics@gmx.at>
8043
8044 * help.el (with-help-window): Don't reference
8045 temp-buffer-show-specifiers in doc-string.
8046
08e1d82c
AS
80472011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8050 menu-item.
8051
84bd6e9e
VJL
80522011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8053
8054 * whitespace.el: New version 13.2.2.
8055 (whitespace-newline-mode): Disable properly. Reported by Sarah
8056 <EmacsWiki>.
8057
dba0634a
UJ
80582011-10-30 Ulf Jasper <ulf.jasper@web.de>
8059
8060 * net/newst-treeview.el: Remove "Time-stamp".
8061 (newsticker--group-manage-orphan-feeds): Do not call
8062 newsticker--treeview-tree-update.
db22a3c2
JB
8063 (newsticker-treeview-update, newsticker-treeview):
8064 Call newsticker--treeview-tree-update if necessary.
dba0634a 8065
3d8daefe
MR
80662011-10-30 Martin Rudalics <rudalics@gmx.at>
8067
8068 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8069 (window-iso-combinations): Remove "iso-" infix.
8070 Suggested by Chong Yidong.
3d8daefe
MR
8071 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8072 (window-max-delta-1, window-resize, window--resize-siblings)
8073 (window--resize-this-window, adjust-window-trailing-edge)
8074 (split-window, balance-windows-1)
8075 (shrink-window-if-larger-than-buffer):
8076 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8077 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8078
1bc4c3ae
SM
80792011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8080
8081 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8082 in place (bug#9907).
8083 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8084 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8085 (eshell-structure-basic-command, eshell-rewrite-while-command)
8086 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8087 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8088 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8089 (eshell-do-pipelines-synchronously, eshell-eval-command):
8090 Use backquotes and prefer setq to set.
8091 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8092 (eshell-macrop): Use functionp.
c1e2f5fa 8093 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8094
30b65d9c
CY
80952011-10-30 Chong Yidong <cyd@gnu.org>
8096
8097 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8098 instead of set-mark (Bug#9810).
8099
2d197ffb
CY
81002011-10-30 Chong Yidong <cyd@gnu.org>
8101
8102 * window.el (split-window-below, split-window-right): Rename from
8103 split-window-above-each-other and split-window-side-by-side
8104 respectively. All callers changed.
8105 (split-window-sensibly, split-window-sensibly): Use them.
8106 (split-window-keep-point): Doc fix.
8107
8108 * isearch.el: Add isearch-scroll property to split-window-below
8109 and split-window-right.
8110
8111 * follow.el (follow-mode):
8112 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8113 * progmodes/ada-xref.el (ada-gdb-application):
8114 * emulation/vip.el (vip-buffer-in-two-windows):
8115 * image-dired.el (image-dired-dired-with-window-configuration):
8116 * dired-x.el (dired-do-find-marked-files):
8117 * dired.el (dired-pop-to-buffer):
8118 * bs.el (bs--show-with-configuration):
8119 * vc/emerge.el (emerge-setup-windows):
8120 * textmodes/two-column.el (2C-two-columns):
8121 * textmodes/reftex-toc.el (reftex-toc):
8122 * progmodes/gdb-mi.el (gdb-setup-windows):
8123 * progmodes/fortran.el (fortran-window-create):
8124 * net/newst-treeview.el (newsticker--treeview-window-init):
8125 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8126 * emulation/tpu-edt.el (tpu-gold-map):
8127 * emulation/crisp.el (crisp-mode-map):
8128 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8129
38bb2ca8
CY
81302011-10-29 Chong Yidong <cyd@gnu.org>
8131
aa4de341
CY
8132 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8133
e1eb5385
CY
8134 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8135
5d2ece3c
CY
8136 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8137 forged Ispell output (Bug#7904).
8138
38bb2ca8
CY
8139 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8140
d0af9f77
SM
81412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * doc-view.el: Avoid ugly errors about not finding nil.
8144 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8145 (doc-view-dvipdf-program, doc-view-unoconv-program)
8146 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8147 Avoid nil or absolute file name as default value.
8148 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8149
52bedd34
AM
81502011-10-28 Alan Mackenzie <acm@muc.de>
8151
db22a3c2 8152 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8153
7e43cfa5
AM
81542011-10-28 Alan Mackenzie <acm@muc.de>
8155
8156 Amend the handling of c-beginning/end-of-defun in nested declaration
8157 scopes.
8158
52bedd34
AM
8159 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8160 cc-langs.el. Change it to a defcustom.
7e43cfa5 8161
52bedd34
AM
8162 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8163 cc-vars.el.
7e43cfa5 8164
d0af9f77
SM
8165 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8166 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8167
52bedd34 8168 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8169 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8170 (c-widen-to-enclosing-decl-scope): New function.
8171 (c-while-widening-to-decl-block): New macro.
8172 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8173 outward for defun boundaries, and correspondingly change symbol
8174 `respect-enclosure' to `go-outward'.
8175 (c-declaration-limits): Change algorithm to report only the "innermost"
8176 defun's boundaries.
8177
1a2ce9ee
DD
81782011-10-28 Deniz Dogan <deniz@dogan.se>
8179
8180 * net/rcirc.el (rcirc-mode): Use hard newlines.
8181
bc97a826
AM
81822011-10-28 Alan Mackenzie <acm@muc.de>
8183
8184 Amend to indent and fontify macros "which include their own semicolon"
8185 correctly, using the "virtual semicolon" mechanism.
8186
52bedd34 8187 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8188
d0af9f77 8189 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8190 Recode to scan one line at a time rather than having \n and \r
58179cce 8191 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8192 (c-forward-label): Amend for virtual semicolons.
58179cce 8193 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8194
52bedd34
AM
8195 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8196 of the new C macros.
bc97a826 8197
52bedd34 8198 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8199 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8200 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8201 (c-opt-cpp-macro-define): Make into a full language variable.
8202 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8203 AWK Mode (including \n, \r) removed, no longer needed.
8204
d0af9f77
SM
8205 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8206 Invoke c-make-macro-with-semi-re.
bc97a826 8207
52bedd34
AM
8208 * progmodes/cc-vars.el (c-macro-with-semi-re):
8209 (c-macro-names-with-semicolon): New variables.
58179cce 8210 (c-make-macro-with-semi-re): New function.
bc97a826 8211
7a6c0941
SM
82122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * vc/log-edit.el: Fill empty field rather than adding new one.
8215 (log-edit-add-field): New function.
8216 (log-edit-insert-changelog): Use it.
8217
b0c4cdcf
ML
82182011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8219
8220 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8221
ee1f1da9
SM
82222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8225 (gdb--check-interpreter): New function.
8226 (gdb): Use it.
8227
51bc5f8b
GM
82282011-10-27 Glenn Morris <rgm@gnu.org>
8229
416a2c45
GM
8230 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8231 (least-positive-float, least-negative-float)
8232 (least-positive-normalized-float, least-negative-normalized-float)
8233 (float-epsilon, float-negative-epsilon):
8234 Remove unnecessary declarations.
8235
8236 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8237 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8238 (least-positive-float, least-negative-float)
8239 (least-positive-normalized-float, least-negative-normalized-float)
8240 (float-epsilon, float-negative-epsilon): Add doc-strings,
8241 based on those in cl.texi.
8242
51bc5f8b
GM
8243 * files.el (set-visited-file-name): If the major-mode changed,
8244 reload the local variables. (Bug#9796)
8245
15de15c6
CY
82462011-10-27 Chong Yidong <cyd@gnu.org>
8247
8248 * subr.el (change-major-mode-after-body-hook): New hook.
8249 (run-mode-hooks): Run it.
8250
ee1f1da9
SM
8251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8252 Use change-major-mode-before-body-hook.
15de15c6
CY
8253
8254 * simple.el (fundamental-mode):
8255 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8256 change introducing fundamental-mode-hook.
8257
5430d399
JB
82582011-10-26 Juanma Barranquero <lekktu@gmail.com>
8259
acc825c5 8260 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8261
ad74a69e
MA
82622011-10-26 Michael Albinus <michael.albinus@gmx.de>
8263
8264 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8265 tramp.el explicitly. (Bug#7583)
ad74a69e 8266
71d4c2a5
SM
82672011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * progmodes/octave-mod.el:
8270 * progmodes/octave-inf.el: Update maintainer.
8271
b1f6fa26
CY
82722011-10-26 Chong Yidong <cyd@gnu.org>
8273
8274 * subr.el (with-wrapper-hook): Rewrite doc.
8275
3f04efd6
MA
82762011-10-25 Michael Albinus <michael.albinus@gmx.de>
8277
8278 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8279 filenames "/method:foo:". (Bug#9793)
3f04efd6 8280
410488d3
SM
82812011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8284 (bug#9865).
8285
c1ebb47e
GM
82862011-10-24 Glenn Morris <rgm@gnu.org>
8287
8288 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8289
7f5c46c7
MA
82902011-10-24 Michael Albinus <michael.albinus@gmx.de>
8291
8292 * notifications.el: Add the requirement of a running D-Bus session
8293 bus to the Commentary.
8294
db2440b6
JL
82952011-10-24 Juri Linkov <juri@jurta.org>
8296
8297 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8298 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8299 (Bug#9364)
8300
feecf435
JL
83012011-10-24 Juri Linkov <juri@jurta.org>
8302
8303 * info.el (Info-following-node-name-re): Add newline to the list
8304 of allowed characters for leading space. (Bug#9824)
8305
a3839de2
SM
83062011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8307
acc825c5
SM
8308 * progmodes/octave-inf.el (inferior-octave-mode-map):
8309 Fix C-c C-h binding.
a3839de2
SM
8310 * progmodes/octave-mod.el (octave-help): Remove.
8311
09388e76
MA
83122011-10-23 Michael Albinus <michael.albinus@gmx.de>
8313
8314 Sync with Tramp 2.2.3.
8315
8316 * net/tramp-cache.el (top): Pacify byte-compiler using
8317 `init-file-user' and `site-run-file'.
8318
8319 * net/trampver.el: Update release number.
8320
86c60681
CY
83212011-10-23 Chong Yidong <cyd@gnu.org>
8322
8323 * files.el (toggle-read-only): Remove obsolete comment about
8324 version control.
8325
8326 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8327 for toggle-read-only. Note that this hasn't called vc-next-action
8328 since 2008-05-02, though it wasn't documented at the time.
8329
a3839de2
SM
8330 * vc/ediff-init.el (ediff-toggle-read-only-function):
8331 Use toggle-read-only.
86c60681 8332
cd5495ff
AM
83332011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8334
8335 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8336 of c-parse-state.
8337
00b77525 8338 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8339 correct faulty logical expression.
cd5495ff
AM
8340 (c-parse-state-state, c-record-parse-state-state):
8341 (c-replay-parse-state-state): New defvar/defuns.
8342 (c-debug-parse-state): Use new functions.
8343
42ee24ed
MR
83442011-10-22 Martin Rudalics <rudalics@gmx.at>
8345
8346 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8347 last fix. Use window-in-direction correctly.
42ee24ed 8348
a7dee7e7
CY
83492011-10-21 Chong Yidong <cyd@gnu.org>
8350
8351 * progmodes/idlwave.el (idlwave-mode):
8352 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8353 require-final-newline; that's done in prog-mode.
8354 Suggested by Stefan Monnier.
a7dee7e7 8355
e07b9a6d
MR
83562011-10-21 Martin Rudalics <rudalics@gmx.at>
8357
8358 * mouse.el (mouse-drag-window-above)
8359 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8360 (mouse-drag-mode-line-1, mouse-drag-header-line)
8361 (mouse-drag-vertical-line-rightward-window): Remove.
8362 (mouse-drag-line): New function.
8363 (mouse-drag-mode-line, mouse-drag-header-line)
8364 (mouse-drag-vertical-line): Call mouse-drag-line.
8365 * window.el (window-at-side-p, windows-at-side): New functions.
8366
7e1361d9
UM
83672011-10-21 Ulrich Mueller <ulm@gentoo.org>
8368
8369 * tar-mode.el (tar-grind-file-mode):
8370 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8371
30fcaf3a
CY
83722011-10-21 Chong Yidong <cyd@gnu.org>
8373
8374 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8375 * progmodes/vera-mode.el (vera-mode):
8376 Use mode-require-final-newline.
30fcaf3a 8377
516eddb0
GM
83782011-10-20 Glenn Morris <rgm@gnu.org>
8379
db22a3c2 8380 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8381
10d5f513
CS
83822011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8383
8384 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8385
ac6c8639
CY
83862011-10-20 Chong Yidong <cyd@gnu.org>
8387
8388 * emulation/cua-base.el (cua-mode):
8389 * mail/footnote.el (footnote-mode):
8390 * mail/mailabbrev.el (mail-abbrevs-mode):
8391 * net/xesam.el (xesam-minor-mode):
8392 * progmodes/bug-reference.el (bug-reference-mode):
8393 * progmodes/cap-words.el (capitalized-words-mode):
8394 * progmodes/compile.el (compilation-minor-mode)
8395 (compilation-shell-minor-mode):
8396 * progmodes/gud.el (gud-tooltip-mode):
8397 * progmodes/hideif.el (hide-ifdef-mode):
8398 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8399 * progmodes/subword.el (subword-mode):
8400 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8401 * progmodes/which-func.el (which-function-mode):
8402 * term/tvi970.el (tvi970-set-keypad-mode):
8403 * term/vt100.el (vt100-wide-mode):
8404 * textmodes/flyspell.el (flyspell-mode):
8405 * textmodes/ispell.el (ispell-minor-mode):
8406 * textmodes/nroff-mode.el (nroff-electric-mode):
8407 * textmodes/paragraphs.el (use-hard-newlines):
8408 * textmodes/refill.el (refill-mode):
8409 * textmodes/reftex.el (reftex-mode):
8410 * textmodes/rst.el (rst-minor-mode):
8411 * textmodes/sgml-mode.el (html-autoview-mode)
8412 (sgml-electric-tag-pair-mode):
8413 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8414 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8415 * emulation/crisp.el (crisp-mode):
8416 * emacs-lisp/eldoc.el (eldoc-mode):
8417 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8418 minor mode behavior.
8419
aa42ab43
JL
84202011-10-19 Juri Linkov <juri@jurta.org>
8421
8422 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8423 the list of hard-coded chars with escape-glyph face.
8424
89400f1d
SM
84252011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8428
305c07f6
MA
84292011-10-19 Michael Albinus <michael.albinus@gmx.de>
8430
8431 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8432 running process.
8433
13754b54
GM
84342011-10-19 Glenn Morris <rgm@gnu.org>
8435
8436 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8437 Ignore ignored files. (Bug#9726)
8438
06e21633
CY
84392011-10-19 Chong Yidong <cyd@gnu.org>
8440
8441 Doc fix for minor modes, stating that an omitted argument enables
8442 the mode unconditionally when called from Lisp.
8443
8444 * abbrev.el (abbrev-mode):
8445 * allout.el (allout-mode):
8446 * autoinsert.el (auto-insert-mode):
8447 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8448 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8449 (global-auto-revert-mode):
8450 * battery.el (display-battery-mode):
8451 * composite.el (global-auto-composition-mode)
8452 (auto-composition-mode):
8453 * delsel.el (delete-selection-mode):
8454 * desktop.el (desktop-save-mode):
8455 * dired-x.el (dired-omit-mode):
8456 * dirtrack.el (dirtrack-mode):
8457 * doc-view.el (doc-view-minor-mode):
8458 * double.el (double-mode):
8459 * electric.el (electric-indent-mode, electric-pair-mode):
8460 * emacs-lock.el (emacs-lock-mode):
8461 * epa-hook.el (auto-encryption-mode):
8462 * follow.el (follow-mode):
8463 * font-core.el (font-lock-mode):
8464 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8465 * help.el (temp-buffer-resize-mode):
8466 * hilit-chg.el (highlight-changes-mode)
8467 (highlight-changes-visible-mode):
8468 * hi-lock.el (hi-lock-mode):
8469 * hl-line.el (hl-line-mode, global-hl-line-mode):
8470 * icomplete.el (icomplete-mode):
8471 * ido.el (ido-everywhere):
8472 * image-file.el (auto-image-file-mode):
8473 * image-mode.el (image-minor-mode):
8474 * iswitchb.el (iswitchb-mode):
8475 * jka-cmpr-hook.el (auto-compression-mode):
8476 * linum.el (linum-mode):
8477 * longlines.el (longlines-mode):
8478 * master.el (master-mode):
8479 * mb-depth.el (minibuffer-depth-indicate-mode):
8480 * menu-bar.el (menu-bar-mode):
8481 * minibuf-eldef.el (minibuffer-electric-default-mode):
8482 * mouse-sel.el (mouse-sel-mode):
8483 * msb.el (msb-mode):
8484 * mwheel.el (mouse-wheel-mode):
8485 * outline.el (outline-minor-mode):
8486 * paren.el (show-paren-mode):
8487 * recentf.el (recentf-mode):
8488 * reveal.el (reveal-mode, global-reveal-mode):
8489 * rfn-eshadow.el (file-name-shadow-mode):
8490 * ruler-mode.el (ruler-mode):
8491 * savehist.el (savehist-mode):
8492 * scroll-all.el (scroll-all-mode):
8493 * scroll-bar.el (scroll-bar-mode):
8494 * server.el (server-mode):
8495 * shell.el (shell-dirtrack-mode):
8496 * simple.el (auto-fill-mode, transient-mark-mode)
8497 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8498 (line-number-mode, column-number-mode, size-indication-mode)
8499 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8500 * strokes.el (strokes-mode):
8501 * time.el (display-time-mode):
8502 * t-mouse.el (gpm-mouse-mode):
8503 * tool-bar.el (tool-bar-mode):
8504 * tooltip.el (tooltip-mode):
8505 * type-break.el (type-break-mode-line-message-mode)
8506 (type-break-query-mode):
8507 * view.el (view-mode):
8508 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8509 (global-whitespace-mode, global-whitespace-newline-mode):
8510 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8511
a3839de2
SM
8512 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8513 Fix autogenerated docstring.
06e21633 8514
5214e501
JL
85152011-10-19 Juri Linkov <juri@jurta.org>
8516
8517 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8518 by checking environment variables "DESKTOP_SESSION" and
8519 "XDG_CURRENT_DESKTOP". (Bug#9779)
8520
195f8db9
JL
85212011-10-19 Juri Linkov <juri@jurta.org>
8522
8523 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8524 (browse-url-chromium-program, browse-url-chromium-arguments):
8525 New defcustoms.
8526 (browse-url-default-browser): Check for `browse-url-chromium' and
8527 call `browse-url-chromium-program'.
8528 (browse-url-chromium): New command. (Bug#9779)
8529
343a34ff
JB
85302011-10-18 Juanma Barranquero <lekktu@gmail.com>
8531
8532 * facemenu.el (list-colors-duplicates): On Windows, detect more
8533 duplicates by assuming that only colors matching "^System" are
8534 special "system colors". (Bug#9722)
8535
6978a151
SM
85362011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8539 to distinguish the author from the committer.
8540
6a80b297
MA
85412011-10-18 Michael Albinus <michael.albinus@gmx.de>
8542
8543 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8544
b31a5677
JK
85452011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8546
8547 * international/mule.el (sgml-html-meta-auto-coding-function):
8548 Add support for detecting encoding in HTML5 specified only as
8549 <meta charset="UTF-8">. Implementation just makes http-equiv and
8550 content-type parts from HTML4 encoding string optional. (Bug#9716)
8551
80c6d77f
GM
85522011-10-18 Glenn Morris <rgm@gnu.org>
8553
8554 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8555
08b0fee8
CY
85562011-10-18 Chong Yidong <cyd@gnu.org>
8557
8558 * faces.el (cursor): Doc fix.
8559
67e729a5
CY
85602011-10-17 Chong Yidong <cyd@gnu.org>
8561
8562 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8563
343a34ff 85642011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8565
8566 * dirtrack.el (dirtrack): Support shell buffers with path
8567 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8568
0bc06380
TZ
85692011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8570
8571 * json.el: Bump version to 1.3 and note change in History.
8572 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8573
8b79f3e0
SM
85742011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8575
5a7c536b
SM
8576 * comint.el (comint-insert-input, comint-send-input)
8577 (comint-get-old-input-default, comint-backward-matching-input)
8578 (comint-next-prompt): Use nil instead of `input' for field property of
8579 past user input (bug#114).
8580
96a8a0df
SM
8581 * minibuffer.el (completion--replace): Inherit surrounding properties
8582 (bug#114).
8583 (minibuffer-complete-and-exit): Use it.
8584
8b79f3e0
SM
8585 * comint.el (comint--table-subvert): Quote the all-completions output
8586 (bug#9160).
8587
b8f7ff0d
MR
85882011-10-17 Martin Rudalics <rudalics@gmx.at>
8589
8b79f3e0 8590 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8591
b8f7ff0d 8592 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8593 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8594 entries and separate them from frame entries.
8595
c235b555
GM
85962011-10-15 Glenn Morris <rgm@gnu.org>
8597
8598 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8599 Doc fixes.
8600
6bbfa6e1
CY
86012011-10-15 Chong Yidong <cyd@stupidchicken.com>
8602
8b79f3e0
SM
8603 * net/network-stream.el (network-stream-open-starttls):
8604 Improve detection of failure due to lack of TLS support.
ec5c990d 8605
6bbfa6e1
CY
8606 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8607 putting the input text in front and in bold.
8608
98488977
SM
86092011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8610
3d1337be
SM
8611 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8612
ee0b45e4
SM
8613 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8614 empty buffer.
8615
98488977
SM
8616 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8617 unread-command-events rather than pushing yet-another event.
8618
186f4720
EZ
86192011-10-14 Eli Zaretskii <eliz@gnu.org>
8620
8621 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8622 the explanation of the possible choices. Make the options passed
8623 to completing-read shorter.
8624
8b7a997c
AM
86252011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8626
8627 * textmodes/flyspell.el (flyspell-large-region): Make sure
8628 extended character mode is used if defined (Bug#1339).
8629
12587bbb
EZ
86302011-10-13 Eli Zaretskii <eliz@gnu.org>
8631
8632 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8633 character info for LRE, LRO, RLE, and RLO characters by appending
8634 an invisible PDF.
12587bbb 8635
bad41229
SM
86362011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8639 even in case of error; add debug spec; simplify data flow.
8640 (with-timeout-handler): Remove.
8641
28dbc92f
MA
86422011-10-12 Michael Albinus <michael.albinus@gmx.de>
8643
8644 Fix Bug#6019, Bug#9315.
8645
8646 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8647 complete `buffer-file-name', the local file name part could look
8648 remotely (for example on VMS).
8649
8650 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8651 `tramp-run-real-handler'.
8652 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8653 already quoted by '"'.
8654
8655 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8656 Let `file-name-handler-alist' be nil, the local file name part
8657 could look remotely (for example on VMS).
8658
e1b0b23a
SM
86592011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8662 from here...
8663 (flyspell-post-command-hook): ...to here.
8664
a120bde9
SM
86652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8668 if not needed.
8669 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8670 using completion. Protect against "slow" callers.
8671 Remove the "message hack".
8672
7ce7717b
JL
86732011-10-11 Juri Linkov <juri@jurta.org>
8674
8675 * isearch.el (isearch-lazy-highlight-word): New variable.
8676 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8677 Use it. (Bug#9727)
8678
c02ee9d6
GM
86792011-10-11 Glenn Morris <rgm@gnu.org>
8680
8681 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8682 like f90-previous-statement does.
8683
93e616fd 86842011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8685
1f190e73 8686 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8687 only in interactive use, to avoid error.
8688
af7b6078
SM
86892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * minibuffer.el (completion-file-name-table): Fix last change,
8692 i.e. ignore normal errors but not the other ones.
8693
0563dae9
MR
86942011-10-10 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (special-display-buffer-names)
8697 (special-display-regexps): Remove some remnants of earlier
8698 changes from doc-strings.
366ca7f3
MR
8699 (quit-windows-on): New function.
8700
8701 * vc/vc.el (vc-revert, vc-rollback):
8702 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8703 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8704 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8705
49677495
MR
87062011-10-09 Martin Rudalics <rudalics@gmx.at>
8707
8708 * window.el (frame-auto-hide-function): Add version tag.
8709 (Bug#9699)
8710
56f2d1e1
MA
87112011-10-09 Michael Albinus <michael.albinus@gmx.de>
8712
8713 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8714 condition.
8715
112a6592
LL
87162011-10-09 Leo Liu <sdl.web@gmail.com>
8717
8718 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8719 (Bug#9701)
8720
0812589b
GM
87212011-10-08 Glenn Morris <rgm@gnu.org>
8722
8723 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8724 before the first code statement zero indent. (Bug#9690)
8725
b2b0776e
CY
87262011-10-08 Chong Yidong <cyd@stupidchicken.com>
8727
8728 * simple.el (count-words-region): Always count in the region.
8729 Report the number of lines and characters too.
8730 (count-words): New command, which counts in the buffer if the
8731 region is inactive, as count-words-region used to.
8732 (count-words--message): New function. Handle plurals.
8733 (count-lines-region): Make it an alias for count-words-region.
8734
8735 * bindings.el (esc-map): Replace count-lines-region with
8736 count-words-region.
8737
c557cd6b
MR
87382011-10-08 Martin Rudalics <rudalics@gmx.at>
8739
8740 * window.el (window--delete): Delete dedicated frame
8741 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8742 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8743
61a57ef4 87442011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8745
3a7d293b 8746 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8747
c3833279
CY
87482011-10-07 Chong Yidong <cyd@stupidchicken.com>
8749
8750 * bindings.el ([M-left],[M-right]): Bind to left-word and
8751 right-word respectively.
8752
21ce8245
GM
87532011-10-07 Glenn Morris <rgm@gnu.org>
8754
8755 * cus-start.el (debug-on-quit): Fix custom type.
8756
6d823bb2
LMI
87572011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
0181e193
LMI
8759 * subr.el (define-key-after): Clarify that the function is not
8760 useful for non-menu keymaps.
8761
6d823bb2
LMI
8762 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8763
8e3459ce 87642011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8765
21ce8245 8766 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8767 in current minibuffer (Fix bug with recursive minibuffers).
8768
a1c2d21e
CY
87692011-10-06 Chong Yidong <cyd@stupidchicken.com>
8770
8771 * progmodes/gdb-mi.el (gdb): Doc fix.
8772
5a4cf282
MR
87732011-10-05 Martin Rudalics <rudalics@gmx.at>
8774
8775 * window.el (frame-auto-hide-function): New option replacing
8776 frame-auto-delete. Suggested by Stefan Monnier.
8777 (window--delete): Call frame-auto-hide-function instead of
8778 investigating frame-auto-delete.
c96111ea
MR
8779 (window-point-1, set-window-point-1): New functions.
8780 (window-in-direction, record-window-buffer, window-state-get-1)
8781 (display-buffer-record-window): Use window-point-1 instead of
8782 window-point.
8783 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8784
9854542e
SM
87852011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8788
8943cfb0
GM
87892011-10-05 Glenn Morris <rgm@gnu.org>
8790
8791 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8792 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8793
647ab967
LL
87942011-10-05 Leo Liu <sdl.web@gmail.com>
8795
8796 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8797 works with buffer object.
8798
3ddfbced
SM
87992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * mpc.el (mpc-tool-bar-map): Add labels.
8802
bdfa5dd2
GM
88032011-10-04 Glenn Morris <rgm@gnu.org>
8804
8805 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8806
0e2070b5
MR
88072011-10-04 Martin Rudalics <rudalics@gmx.at>
8808
8809 * window.el (window--delete): New function.
8810 (frame-auto-delete): Resuscitate option.
8811 (bury-buffer, replace-buffer-in-windows)
8812 (quit-window): Rewrite using window--delete.
8813 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8814 Pass display-buffer-mark-dedicated to window--display-buffer-2
8815 (Bug#9639).
8816
3dc61a09
SM
88172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8818
915a9b64
SM
8819 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8820 returns a list (bug#9554). Add remote file name completion.
8821 * comint.el (comint--table-subvert): Curry and get quote&unquote
8822 functions as arguments.
8823 (comint--complete-file-name-data): Adjust call accordingly.
8824 * pcomplete.el (pcomplete--table-subvert): Remove.
8825 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8826
3dc61a09
SM
8827 * minibuffer.el (completion-table-case-fold): Use currying.
8828 (completion--styles-type, completion--cycling-threshold-type):
8829 New constants.
8830 (completion-styles, completion-category-overrides)
8831 (completion-cycle-threshold): Use them.
8832 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8833 completion-table-case-fold.
8834
8ea0a993
SB
88352011-10-03 Stephen Berman <stephen.berman@gmx.net>
8836
8837 * minibuffer.el (completion-category-overrides): Fix type of styles
8838 and add more user friendly tags (bug#9660).
8839
8c24b7f6
SM
88402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8843 (mule-input-method-string): New widget.
8844 (default-input-method, language-info-custom-alist): Use it.
8845
428fe61a
SM
88462011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8847
32c1fffd
SM
8848 * pcomplete.el: Require comint.
8849 (pcomplete--common-suffix): Remove.
8850 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8851 (pcomplete--table-subvert): Sync with comint--table-subvert.
8852 (pcomplete--entries): Use comint-completion-file-name-table.
8853 * comint.el (comint-unquote-filename): Simplify.
8854 (comint-completion-file-name-table): New function (bug#9616).
8855 (comint--complete-file-name-data): Use it.
8856
428fe61a
SM
8857 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8858 (pcmpl-gnu-tar-buffer): Remove.
8859 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8860 around. Make sure pcomplete-suffix-list is only changed temporarily.
8861 Don't look inside the tar's file if it's too large.
428fe61a 8862
04c52e2f
CY
88632011-10-01 Chong Yidong <cyd@stupidchicken.com>
8864
ce3cefcc
CY
8865 * cus-edit.el (custom-mode-map):
8866 * epa.el (epa-key-list-mode-map):
8867 * man.el (Man-mode-map):
8868 * startup.el (splash-screen-keymap):
8869 * simple.el (special-mode-map): Use scroll-up-command and
8870 scroll-down-command.
8871
8872 * progmodes/idlw-help.el (idlwave-help-mode-map):
8873 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8874 * net/newst-plainview.el (newsticker-mode-map):
8875 * emulation/ws-mode.el (wordstar-mode-map):
8876 * emulation/vi.el (vi-com-map):
8877 * calc/calc-graph.el (calc-graph-show-dumb):
8878 * term/sun.el (terminal-init-sun):
8879 * term/ns-win.el (global-map):
8880 * progmodes/grep.el (grep-mode-map):
8881 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8882 * mail/rmail.el (rmail-mode-map):
8883 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8884
04c52e2f
CY
8885 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8886 custom-safe-themes as special.
8887
79adf8c8
JD
88882011-10-01 Julien Danjou <julien@danjou.info>
8889
8890 * notifications.el (notifications-notify): Fix docstring.
8891
63bd50d3
PS
88922011-10-01 Per Starbäck <per@starback.se>
8893
8894 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8895
199e4c7e
MR
88962011-09-30 Martin Rudalics <rudalics@gmx.at>
8897
8898 * startup.el (command-line-1): Fix last fix by inserting
8899 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8900 (Bug#9605) and (Bug#9636)
199e4c7e 8901
fe5f08dd
EZ
89022011-09-29 Eli Zaretskii <eliz@gnu.org>
8903
8904 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8905 window is hscrolled, move by logical lines. (Bug#9607)
8906 (line-move-visual): Update the doc string to the above effect.
8907
b5516bbd
MR
89082011-09-29 Martin Rudalics <rudalics@gmx.at>
8909
ccee00c0
MR
8910 * window.el (display-buffer-record-window): When WINDOW is the
8911 selected window use `point' instead of `window-point'. (Bug#9626)
8912
b5516bbd
MR
8913 * startup.el (command-line-1): Use insert-before-markers when
8914 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8915
b5516bbd
MR
8916 * help.el (help-window): Remove variable.
8917
52aa0014
GM
89182011-09-29 Glenn Morris <rgm@gnu.org>
8919
8920 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8921
df9a7357
JB
89222011-09-29 Juanma Barranquero <lekktu@gmail.com>
8923
8924 * descr-text.el (describe-char-categories): Accept category
8925 descriptions more than one line long.
8926
a8406c20
SM
89272011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8928
88d9610c
SM
8929 * simple.el (delete-trailing-whitespace): Fix last change.
8930
a5daf810
SM
8931 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8932 Don't confuse "y => 3" as the beginning of a `y' operation.
8933
a8406c20
SM
8934 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8935 object has more than 4 slots (bug#9613).
8936
a239d4e9
JB
89372011-09-28 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * subr.el (with-output-to-temp-buffer):
8940 * net/quickurl.el (quickurl, quickurl-browse-url):
8941 Fix typos in docstrings.
8942
693fbdb6
EZ
89432011-09-27 Eli Zaretskii <eliz@gnu.org>
8944
8945 * minibuffer.el (completion-styles)
8946 (completion-category-overrides): Cross reference each other in doc
8947 strings.
8948
8b457e28
GM
89492011-09-27 Glenn Morris <rgm@gnu.org>
8950
8951 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8952 to split-string. (Bug#9606)
8953
85a16208
LMI
89542011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955
8956 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8957 (bug#9615).
8958
502f9ebd
CY
89592011-09-27 Chong Yidong <cyd@stupidchicken.com>
8960
8961 * emacs-lisp/package.el (list-packages): Fix echo area message.
8962
7690bdea
LL
89632011-09-27 Leo Liu <sdl.web@gmail.com>
8964
8965 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8966
e2ee6f30
MA
89672011-09-25 Michael Albinus <michael.albinus@gmx.de>
8968
8969 * net/dbus.el (dbus-unregister-object): Don't release services for
8970 registered signals. (Bug#9581)
8971
f3f98342
TZ
89722011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8973
8974 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8975 function that picks between cfengine 2 and 3 support
8976 automatically. Update docs accordingly.
8977
dd7aa8dd
KH
89782011-09-22 Kenichi Handa <handa@m17n.org>
8979
8980 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8981 ZERO.
8982 (indian-itrans-v5-table-for-tamil): New variable.
8983 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8984
3f2b07f8
KM
89852011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8986
8987 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8988 that's true if the current command involved collapsing of text.
8989 It's reset to false at the beginning of the next command.
8990 (allout-post-command-business): Move the cursor to the beginning
8991 of entry if the cursor is hidden and collapsing activity just
8992 happened.
8993
371d6a61
CY
89942011-09-24 Chong Yidong <cyd@stupidchicken.com>
8995
8996 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8997 tracking (Bug#9541).
8998
2ac2721a
UJ
89992011-09-24 Ulf Jasper <ulf.jasper@web.de>
9000
9001 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9002 (newsticker-show-news): Automatically load html rendering package
9003 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9004 because w3m-fill-column is let-bound" and the error "Symbol's value
9005 as variable is void: w3m-fill-column".
2ac2721a 9006
fac7ae53
MA
90072011-09-24 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9010 Release services only if they are defined. (Bug#9581)
9011
e08b633b
RS
90122011-09-23 Richard Stallman <rms@gnu.org>
9013
e488d29c
RS
9014 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9015 distinguish start of paragraph from start of its text.
9016
19c38752
RS
9017 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9018
e08b633b
RS
9019 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9020 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9021 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9022
0a39f27e
AS
90232011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9024
9025 * international/mule-diag.el (mule-diag): Insert a newline after
9026 each fontset description.
9027
db4e950d
SM
90282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * simple.el (delete-trailing-whitespace):
9031 Document last change; simplify.
9032
eca3f3ea
PW
90332011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9034
d68e189a
PW
9035 * simple.el (delete-trailing-whitespace): Also delete
9036 extra newlines at the end of the buffer.
9037
eca3f3ea
PW
9038 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9039 (picture-newline): Use forward-line so as to ignore fields.
9040
01c157cc
SM
90412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * subr.el (with-wrapper-hook): Fix edebug spec.
9044
022de23e
LMI
90452011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9046
9047 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9048 (bug#4538).
9049
91683089
MA
90502011-09-23 Michael Albinus <michael.albinus@gmx.de>
9051
eca3f3ea
PW
9052 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9053 Fix nasty bug using wrong cached values.
91683089 9054
5bdd6fa4
AM
90552011-09-23 Alan Mackenzie <acm@muc.de>
9056
9057 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9058
97adfb97
CY
90592011-09-23 Chong Yidong <cyd@stupidchicken.com>
9060
9061 * window.el (pop-to-buffer): Ensure right window is selected if we
9062 chose another frame.
9063
d4ef2b50
EZ
90642011-09-22 Eli Zaretskii <eliz@gnu.org>
9065
9066 * simple.el (what-cursor-position): Use get-char-property-change
9067 and next-single-char-property-change, to be able to show display
9068 properties that come from overlays as well as text properties.
9069
72258fe5
CY
90702011-09-22 Chong Yidong <cyd@stupidchicken.com>
9071
9072 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9073
9074 * cmuscheme.el (run-scheme, switch-to-scheme):
9075 * cus-edit.el (customize-group, custom-buffer-create)
9076 (customize-browse):
9077 * info.el (info):
9078 * shell.el (shell):
9079 * mail/sendmail.el (mail):
9080 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9081
8f098516
RS
90822011-09-22 Richard Stallman <rms@gnu.org>
9083
9084 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9085 move back only to line beg, don't move back over blank lines.
9086
e74f1bb6
MA
90872011-09-22 Michael Albinus <michael.albinus@gmx.de>
9088
9089 * files.el (copy-directory): Set directory attributes only in case
9090 they could be retrieved from the source directory. (Bug#9565)
9091
bfeef8b6
DK
90922011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9093
9094 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9095 (hs-find-block-beginning, hs-hide-level-recursive):
9096 Ignore strings as well as comments. (Bug#9502)
9097
7e423bb8
AS
90982011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9099
9100 * progmodes/sql.el (sql-comint-postgres):
9101 Convert port number to a string. (Bug#9566)
9102
b4d72fcf
MR
91032011-09-22 Martin Rudalics <rudalics@gmx.at>
9104
9105 * window.el (quit-window): Undedicate window when switching to
9106 previous buffer. Reported by Thierry Volpiatto
9107 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9108 (special-display-popup-frame): When popping up a new frame reset
9109 its previous buffers to nil. Simplify code.
b4d72fcf 9110
a7b88dc6
MA
91112011-09-21 Michael Albinus <michael.albinus@gmx.de>
9112
9113 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9114 and process filter, as done also in `shell-command'.
9115
cf4eacfd
MR
91162011-09-21 Martin Rudalics <rudalics@gmx.at>
9117
eca3f3ea 9118 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9119 Call set-window-start with NOFORCE argument t.
9120 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9121 (quit-window): Reword doc-string. Handle new format of
9122 quit-restore parameter. Don't delete window if it has a
9123 previous buffer we can show instead of the present one.
9124 (display-buffer-record-window): Rewrite using a new format for
9125 the quit-restore window parameter
9126 (special-display-popup-frame, display-buffer-same-window)
9127 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9128 (display-buffer-pop-up-window, display-buffer-use-some-window):
9129 Adapt symbol passed to display-buffer-record-window.
9130 * help.el (help-window-setup): Handle new format of quit-restore
9131 parameter.
9132
8d28cb95
SM
91332011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9134
94ab793f
SM
9135 * faces.el (face-list): Fix docstring (bug#9564).
9136
8d28cb95
SM
9137 * window.el (display-buffer--action-function-custom-type):
9138 Don't include internal functions in the Custom interface.
9139
3820edeb
JL
91402011-09-20 Juri Linkov <juri@jurta.org>
9141
9142 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9143 (Info-forward-node, Info-backward-node, Info-next-preorder)
9144 (Info-last-preorder): Use it. (Bug#9528)
9145
5147931d
JL
91462011-09-20 Juri Linkov <juri@jurta.org>
9147
9148 * info.el (Info-last-preorder): Visit last menu item only when
9149 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9150
cf499a1a
JD
91512011-09-20 Julien Danjou <julien@danjou.info>
9152
9153 * password-cache.el (password-cache-remove): Remove entries even if the
9154 value is nil, so that password with a nil value (negative caching) is
9155 possible to invalidate.
9156
f84e2fe2
LM
91572011-09-20 Lawrence Mitchell <wence@gmx.li>
9158
9159 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9160 all whitespace around breakpoint. (Bug#9553)
9161 (f90-find-breakpoint): Only break at whitespace inside a comment.
9162
78054a46
SM
91632011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * minibuffer.el (completion-file-name-table): Keep track of errors.
9166 (completion-table-with-predicate): Handle the case where pred1 is nil.
9167 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9168
345083b2
SM
91692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9170
e24e27be
SM
9171 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9172 (debugger-return-value): Signal an error if the debugging context does
9173 not await any return value.
9174
345083b2
SM
9175 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9176 * image-mode.el (image-toggle-display-text)
9177 (image-toggle-display-image): Stay away from evil `intangible'.
9178
08d355e3
LL
91792011-09-19 Leo Liu <sdl.web@gmail.com>
9180
9181 * replace.el (occur-revert-arguments): Make it permanent-local.
9182 (occur-mode): Don't call font-lock-defontify.
9183
f01da43f
CY
91842011-09-19 Chong Yidong <cyd@stupidchicken.com>
9185
9186 * net/ldap.el (ldap-search-internal): Don't push empty search
9187 result (Bug#9508).
9188
b6072fa6
SM
91892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9192
443d6696
MA
91932011-09-19 Michael Albinus <michael.albinus@gmx.de>
9194
9195 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9196 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9197
7cc6e154
JL
91982011-09-18 Juri Linkov <juri@jurta.org>
9199
9200 * buff-menu.el (Buffer-menu-mode-map):
9201 * dired.el (dired-mode-map):
9202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9203 (lisp-interaction-mode-map):
9204 * emacs-lisp/package.el (package-menu-mode-map):
9205 * epa.el (epa-key-list-mode-map):
9206 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9207 (menu-bar-options-menu):
9208 * outline.el (outline-mode-menu-bar-map):
9209 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9210 * vc/vc-dir.el (vc-dir-menu-map):
9211 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9212 Capitalize non-function content words in menu item strings.
9213
9214 * dired.el (dired-mode-map): Add menu item for
9215 `image-dired-dired-toggle-marked-thumbs'.
9216
80302a81
JL
92172011-09-18 Juri Linkov <juri@jurta.org>
9218
9219 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9220 to `isearch-case-fold-search' and restore its original value
9221 after the `isearch-mode' call.
9222
46c5cf66
JL
92232011-09-18 Juri Linkov <juri@jurta.org>
9224
9225 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9226 because `zgrep' returns 1 for successful matches (bug#9226).
9227
d18b513b
JL
92282011-09-18 Juri Linkov <juri@jurta.org>
9229
9230 * info.el (Info-extract-menu-node-name): Check the second match
9231 for empty string (second test-case of bug#9528).
9232 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9233 intermediate nodes to the history (first test-case of bug#9528).
9234
72753f87
JL
92352011-09-18 Juri Linkov <juri@jurta.org>
9236
9237 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9238 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9239
c9384295
JL
92402011-09-18 Juri Linkov <juri@jurta.org>
9241
1154d12e
JB
9242 * info.el (Info-file-supports-index-cookies):
9243 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9244 outputs one more line for long file names (bug#4142).
c9384295 9245
d473dce8
CY
92462011-09-18 Chong Yidong <cyd@stupidchicken.com>
9247
9248 * newcomment.el (comment-normalize-vars): If prompting for
9249 comment-start, set comment-start-skip too (Bug#8424).
9250
2176854d
JB
92512011-09-18 Johan Bockgård <bojohan@gnu.org>
9252
9253 * icomplete.el: Fix previous fix of Bug#5849.
9254 (icomplete-mode): Don't set completion-show-inline-help.
9255 (icomplete-minibuffer-setup): Set completion-show-inline-help
9256 locally during icompletion.
9257
3aace4e4
CY
92582011-09-18 Chong Yidong <cyd@stupidchicken.com>
9259
c940224f
CY
9260 * woman.el (woman2-process-escapes): Don't delete unrecognized
9261 escapes (Bug#7843).
9262
3aace4e4
CY
9263 * files.el (inhibit-first-line-modes-regexps): Add image files.
9264 (hack-local-variables-prop-line): Return nil for malformed
9265 prop-lines (Bug#9044).
9266
710dec63
MA
92672011-09-18 Michael Albinus <michael.albinus@gmx.de>
9268
9269 * net/tramp.el (top): Don't require 'shell.
9270 (tramp-methods): Fix docstring.
9271 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9272 Return complete remote file name. Handle "smb" case.
9273 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9274 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9275
9276 * net/tramp-compat.el (top): Require 'shell.
9277
9278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9279 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9280 `tramp-current-host'.
9281 (tramp-get-remote-tmpdir): Remove.
9282
9283 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9284 `tramp-tmpdir' entries.
9285 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9286 (tramp-smb-handle-file-attributes): Ignore errors.
9287 (tramp-smb-wait-for-output): Check also for process end.
9288
5d5ac8ec
LMI
92892011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9290
9291 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9292 when sending QUIT (bug#9312).
9293
8c0f49f0
CY
92942011-09-17 Chong Yidong <cyd@stupidchicken.com>
9295
9296 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9297 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9298 occur-mode-display-occurrence.
9299 (occur-edit-mode): Add usage message.
9300 (occur-cease-edit): New command.
9301 (occur-after-change-function): Use text properties to find the
9302 position of the prefix text.
9303 (occur-engine): Set stickiness of prefix text properties.
9304
8f1383f7
GM
93052011-09-17 Glenn Morris <rgm@gnu.org>
9306
9307 * progmodes/etags.el (complete-tag):
9308 Fix call to completion-in-region. (Bug#9526)
9309
744ba0e3
JL
93102011-09-17 Juri Linkov <juri@jurta.org>
9311
9312 * textmodes/ispell.el (ispell-word): Add to the error message
9313 the word, ispell program name and current dictionary (bug#9121).
9314 (ispell-tex-arg-end): Capitalize "error" in the error message.
9315
d9bbf400
AS
93162011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9317
9318 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9319 check. (Bug#4251)
9320
8da11505
JL
93212011-09-17 Juri Linkov <juri@jurta.org>
9322
9323 * window.el (window-safe-min-height, window-safe-min-width):
9324 Fix typos (followup to bug#9522).
9325
a91adc7e
SJ
93262011-09-17 Sven Joachim <svenjoac@gmx.de>
9327
9328 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9329
064f328a
EZ
93302011-09-16 Eli Zaretskii <eliz@gnu.org>
9331
9332 * simple.el (line-move): If goal-column is set, move by logical
9333 lines, not by display lines. (Bug#971)
9334 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9335 to reflect the above change.
9336
e69df516
SM
93372011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * image.el (imagemagick-register-types): Use regexp-opt.
9340
cbb0f9ab
CY
93412011-09-15 Chong Yidong <cyd@stupidchicken.com>
9342
9343 * window.el (display-buffer-base-action): Rename from
9344 display-buffer-default-action. Make default value empty.
9345 (display-buffer-overriding-action): Convert to defvar.
9346 (display-buffer-fallback-action): New var.
9347
25322144
CY
93482011-09-15 Chong Yidong <cyd@stupidchicken.com>
9349
9350 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9351 declaration.
9352 (package--add-to-archive-contents): If there is a duplicate entry
9353 with an older version, remove it.
9354 (package-menu-mark-delete, package-menu-mark-install)
9355 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9356 (package-menu-mark-obsolete-for-deletion):
9357 Use package-menu-get-status instead of a regexp search.
25322144
CY
9358 (package-menu-get-status): Use tabulated-list-entry.
9359 (package-menu-mark-upgrades): New command.
d770725a 9360 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9361 (package-menu-execute): Do installation before deletion.
9362 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9363 instead of checking major-mode.
9364 (package-menu--find-upgrades): New function.
9365
7520339c
LMI
93662011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9367
9368 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9369 passwords in the log buffer.
65a046c4
LMI
9370 (smtpmail-process-filter): Update the process marker so that the
9371 "broken by peer" status message is inserted in the right place.
7520339c 9372
d3c30954
SM
93732011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9374
3fe48822
SM
9375 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9376 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9377 bibtex-completion-at-point-function.
9378 (bibtex-completion-at-point-function): Use them.
9379
1b8b3954
SM
9380 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9381
d3c30954
SM
9382 * mpc.el (mpc-constraints-tag-lookup): New function.
9383 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9384 also to browser "album|playlist".
9385
72779976
JL
93862011-09-14 Juri Linkov <juri@jurta.org>
9387
9388 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9389 (isearch-edit-string): Use length of `isearch-string' when
9390 `isearch-fail-pos' returns nil.
9391 (isearch-message): Remove duplicate code and call
9392 `isearch-fail-pos' with arg `t'.
9393
a0bf2bcd
CY
93942011-09-14 Chong Yidong <cyd@stupidchicken.com>
9395
17bb0a2d
CY
9396 * replace.el (occur-mode-goto-occurrence): Don't force using other
9397 window (Bug#9499).
9398
a0bf2bcd
CY
9399 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9400
f678e0b6
MR
94012011-09-14 Martin Rudalics <rudalics@gmx.at>
9402
9403 * window.el (display-buffer-window): Remove.
9404 (display-buffer-record-window): Use help-setup window parameter
9405 instead of variable display-buffer-window.
9406 (display-buffer-function, special-display-buffer-names)
9407 (special-display-function): Mention help-setup parameter instead
9408 of display-buffer-window in doc-string.
d3c30954
SM
9409 * help.el (help-window-setup): New argument help-window.
9410 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9411 Reword some messages.
9412 (with-help-window): Pass window used for displaying the buffer
9413 to help-window-setup. Don't set display-buffer-window.
9414
8e39b2e8
GM
94152011-09-13 Glenn Morris <rgm@gnu.org>
9416
9417 * emacs-lisp/debug.el (debugger-make-xrefs):
9418 Preserve point. (Bug#9462)
9419
85e9c04b
CY
94202011-09-13 Chong Yidong <cyd@stupidchicken.com>
9421
9422 * window.el (window-deletable-p): Use next-frame.
9423
1b36ed6a
MR
94242011-09-13 Martin Rudalics <rudalics@gmx.at>
9425
9426 * window.el (window-auto-delete): Remove.
9427 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9428 dedication and previous buffers.
1b36ed6a
MR
9429 (switch-to-prev-buffer): Don't delete window.
9430 (delete-windows-on): Delete a window's frame if and only if the
9431 window is dedicated.
9432 (replace-buffer-in-windows): Delete buffer's window or frame if
9433 and only if window is dedicated.
9434 (quit-window): Handle quit-restore as before last change.
4d61f28d 9435 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9436
ef8ef9fb
CY
94372011-09-13 Chong Yidong <cyd@stupidchicken.com>
9438
9439 * window.el (window-deletable-p): Never delete the last frame on a
9440 given terminal.
9441
b2cba41e
GM
94422011-09-13 Glenn Morris <rgm@gnu.org>
9443
9444 * help.el (describe-key-briefly): Copy previous standard-output change.
9445
51553db6 94462011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9447
9448 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9449
b7556719
GM
94502011-09-13 Glenn Morris <rgm@gnu.org>
9451
9452 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9453 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9454
64b51947
CY
94552011-09-12 Chong Yidong <cyd@stupidchicken.com>
9456
9457 * dired-aux.el (dired-mark-read-string): Don't return default
9458 value on empty input (Bug#9361).
9459 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9460 Omit initial minibuffer contents.
9461 (dired-do-chmod): Signal an error on empty input.
9462 (dired-mark-read-string): Don't return default on empty input.
9463
9464 * files.el (file-modes-symbolic-to-number): Doc fix.
9465
393a301e
SM
94662011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * international/mule-cmds.el (ucs-completions): Remove.
9469 (read-char-by-name): Use complete-with-action instead; add metadata.
9470
fa5660f9
CY
94712011-09-11 Chong Yidong <cyd@stupidchicken.com>
9472
9473 * window.el (display-buffer--action-function-custom-type)
9474 (display-buffer--action-custom-type): New vars.
9475 (display-buffer-alist, display-buffer-default-action)
9476 (display-buffer-overriding-action): Add defcustom types.
9477
4a592f66
CY
9478 * frame.el (delete-other-frames): Doc fix (Bug#276).
9479
73d56dbd
LMI
94802011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
9482 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9483
37ac18a3
CY
94842011-09-11 Chong Yidong <cyd@stupidchicken.com>
9485
9486 Change modes that used same-window-* vars to use switch-to-buffer.
9487
9488 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9489 Use switch-to-buffer.
9490
9491 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9492 (customize-browse, custom-buffer-create-other-window):
9493 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9494
9495 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9496 (Info-prev, Info-up, Info-speedbar-goto-node)
9497 (info-display-manual): Use switch-to-buffer.
9498 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9499
9500 * mail/sendmail.el (mail): Use switch-to-buffer.
9501 (mail-recover): Use switch-to-buffer-other-window.
9502
9503 * cmuscheme.el (run-scheme, switch-to-scheme):
9504 * ielm.el (ielm):
9505 * shell.el (shell):
9506 * net/rlogin.el (rlogin):
9507 * net/telnet.el (telnet, rsh):
9508 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9509
10195bd6
AS
95102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9511
9512 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9513
b322f63a
LMI
95142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9515
39d7fed6
LMI
9516 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9517 so don't mention it (bug#9301).
ba5a81f1 9518 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9519
ee0e9f11
LMI
9520 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9521 match `x', `w32' and `ns', like the manual says (bug#9029).
9522
0b1c89c1 9523 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9524 (process-kill-buffer-query-function): Mention the buffer name in
9525 the query.
0b1c89c1 9526
77549ea8
LMI
9527 * image-mode.el (image-next-line): The line parameter is mandatory
9528 (bug#9258).
9529
803ef892
LMI
9530 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9531 which can be useful (bug#9301).
9532
12980837
LMI
9533 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9534
91054f8f
LMI
9535 * subr.el (match-string): Mention that the current buffer should
9536 be the same as the search was done in (bug#9282).
9537
b322f63a
LMI
9538 * facemenu.el: Disable the remove-* commands if the mark isn't
9539 active (bug#9162).
9540
3199b96f
CY
95412011-09-10 Chong Yidong <cyd@stupidchicken.com>
9542
9543 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9544 of display-buffer.
9545 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9546
9547 * replace.el (occur-mode-goto-occurrence)
9548 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9549 and display-buffer.
9550
9551 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9552 display-buffer.
9553
9554 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9555 special-display and same-window variables.
9556 (mail-other-window): Use switch-to-buffer-other-window.
9557 (mail-other-frame): USe switch-to-buffer-other-frame.
9558
393a301e
SM
9559 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9560 Use display-buffer-other-frame.
3199b96f
CY
9561 (gdb-display-gdb-buffer): Use pop-to-buffer.
9562
9563 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9564
9565 * progmodes/python.el: Don't set same-window-buffer-names.
9566
9567 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9568
9569 * window.el (display-buffer-alist): Add *Python*.
9570
8319e0bf
CY
95712011-09-10 Chong Yidong <cyd@stupidchicken.com>
9572
9573 * window.el (display-buffer-alist): Add entry for buffers
9574 previously handled same-window-*.
9575 (display-buffer-alist, display-buffer-default-action)
9576 (display-buffer-overriding-action): Mark as risky.
9577 (display-buffer-alist): Document action function changes.
9578 (display-buffer--same-window-action)
9579 (display-buffer--other-frame-action): New variables.
9580 (switch-to-buffer, display-buffer-other-frame): Use them.
9581 (display-buffer): Rename reuse-frame entry to reusable-frames.
9582 (display-buffer-reuse-selected-window): Function deleted.
9583 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9584 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9585 (display-buffer-special): New function.
9586 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9587 display-buffer-reuse-or-pop-window. Split off special-display
9588 part into display-buffer-special.
9589 (display-buffer-use-some-window): Don't perform any special
9590 pop-up-frames handling.
9591 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9592 (display-buffer--maybe-same-window): Rename from
0d3ff375 9593 display-buffer-maybe-same-window.
8319e0bf 9594
919a69aa
CY
9595 * info.el: Don't set same-window-regexps.
9596 (info-setup): New function.
9597 (info-other-window, info): Call it.
9598
9599 * cus-edit.el: Don't set same-window-regexps.
9600 (customize-group): New argument.
9601 (customize-group-other-window): Use it.
9602 (customize-face, customize-face-other-window): Likewise.
9603 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9604
8319e0bf
CY
9605 * net/rlogin.el:
9606 * net/telnet.el:
9607 * progmodes/gud.el: Don't set same-window-regexps.
9608
9609 * cmuscheme.el:
9610 * ielm.el:
9611 * shell.el:
9612 * mail/sendmail.el:
9613 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9614
25173000
JL
96152011-09-10 Juri Linkov <juri@jurta.org>
9616
9617 * isearch.el (isearch-edit-string): Remove obsolete mention of
9618 `C-w' (`isearch-yank-word-or-char') from docstring.
9619 (isearch-query-replace): Fix typo in docstring (bug#9466).
9620
056e44ef
JL
96212011-09-10 Juri Linkov <juri@jurta.org>
9622
9623 * paren.el (show-paren-function): Don't show escaped parens.
9624 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9625
c3760c17
EZ
96262011-09-10 Eli Zaretskii <eliz@gnu.org>
9627
9628 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9629 (mm-default-file-encoding): Remove autoload forms, they are
9630 replaced with autoload cookies in mml.el and mm-encode.el.
9631 (mail-add-attachment): New command.
9632 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9633 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9634 the doc string.
9635 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9636
fece895e
RT
96372011-09-10 Reuben Thomas <rrt@sc3d.org>
9638
e69df516
SM
9639 * simple.el (count-words-region): Use buffer if there's no region
9640 (bug#9429).
fece895e 9641
5e68ce4a
JL
96422011-09-09 Juri Linkov <juri@jurta.org>
9643
9644 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9645 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9646 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9647
0a6b9622
AM
96482011-09-09 Alan Mackenzie <acm@muc.de>
9649
9650 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9651 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9652
14a29deb
EZ
96532011-09-09 Eli Zaretskii <eliz@gnu.org>
9654
9655 Fix for Savannah bug#9392.
9656 * simple.el (mail-encode-mml): New defvar.
9657
9658 * mail/rmail.el (mail-encode-mml): Add a defvar.
9659 (rmail-enable-mime-composing): Default to t.
9660 (rmail-forward): Use MIME method of forwarding only if both
9661 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9662 Set mail-encode-mml non-nil if the MIME method was used.
9663
9664 * mail/sendmail.el (mml-to-mime): Add autoload form.
9665 (mail-encode-mml): Add a defvar.
9666 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9667 to nil.
9668 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9669 message through mml-to-mime, and reset mail-encode-mml to nil.
9670
28c45130
GM
96712011-09-09 Glenn Morris <rgm@gnu.org>
9672
9673 * woman.el (woman-if-body): When processing an .el block,
9674 do not delete the next .el block as well. (Bug#9447)
69f4b618 9675 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9676
9b1c252e
MR
96772011-09-08 Martin Rudalics <rudalics@gmx.at>
9678
9679 * window.el (window-deletable-p): Make sure window is live before
9680 invoking window-prev-buffers.
9681
567457e3
LL
96822011-09-08 Leo Liu <sdl.web@gmail.com>
9683
9684 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9685
97f05794
JL
96862011-09-08 Juri Linkov <juri@jurta.org>
9687
9688 * progmodes/compile.el (compilation-environment): Make it
9689 a defcustom (bug#8340).
9690
8b0874b5
MR
96912011-09-08 Martin Rudalics <rudalics@gmx.at>
9692
9693 * window.el (frame-auto-delete): Rename to window-auto-delete.
9694 Make it control auto-deletion of windows and/or frames.
9695 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9696 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9697 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9698 Rewrite handling of case when window/frame can be deleted.
9699 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9700 argument t. (Bug#9456)
8b0874b5 9701
4feb6e73
CY
97022011-09-07 Chong Yidong <cyd@stupidchicken.com>
9703
9704 * help-mode.el (help-mode): Restore autoload.
9705
91ab9c13
JL
97062011-09-07 Juri Linkov <juri@jurta.org>
9707
9708 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9709 `compilation-environment'. Set buffer-local
9710 `compilation-environment' to `thisenv' later after (funcall mode).
9711 (Bug#8340)
9712
9713 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9714 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9715 instead of replacing its value. (Bug#8340)
9716
0527e251
JL
97172011-09-07 Juri Linkov <juri@jurta.org>
9718
9719 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9720 based on text properties put by `grep-filter' instead of matching
9721 escape sequences.
9722 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9723 to the value of `grep-error-screen-columns' (bug#9438).
9724
249f792c
JL
97252011-09-07 Juri Linkov <juri@jurta.org>
9726
9727 * simple.el (next-error-highlight, next-error-highlight-no-select):
9728 Doc fix (bug#9432).
9729
ff7271b9
OT
97302011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9731
9732 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9733 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9734
183fc730
LL
97352011-09-07 Leo Liu <sdl.web@gmail.com>
9736
9737 * net/rcirc.el (rcirc-mode): Conditionally initialize
9738 rcirc-input-ring.
9739
77694924
SM
97402011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * emacs-lisp/find-func.el (find-function-C-source): Only set
9743 find-function-C-source-directory after checking that we found a source
9744 file there (bug#9440).
9745
d809b8eb
AM
97462011-09-06 Alan Mackenzie <acm@muc.de>
9747
9748 * isearch.el (isearch-other-meta-char): Wherever a key list is
9749 unread, "unread" the prefix arg, too. This fixes bug #8901.
9750
453de99f
OG
97512011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9752
9753 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9754
90439906
JL
97552011-09-05 Juri Linkov <juri@jurta.org>
9756
9757 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9758
f62bd846
JL
97592011-09-05 Juri Linkov <juri@jurta.org>
9760
9761 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9762 keeping point where processing of grep matches begins, and
9763 continue to delete remaining escape sequences from the same point.
9764 (grep-filter): Make leading zero optional in "0?1;31m" because
9765 git-grep emits "\033[1;31m" escape sequences unlike expected
9766 "\033[01;31m" as GNU Grep does (bug#9408).
9767 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9768
045820ec
JL
97692011-09-05 Juri Linkov <juri@jurta.org>
9770
9771 * subr.el (y-or-n-p): Capitalize "yes".
9772
f5e29b9b
MA
97732011-09-04 Michael Albinus <michael.albinus@gmx.de>
9774
9775 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9776 `tramp-cache-unload-hook' where appropriate.
9777 (tramp-methods): Rename `tramp-remote-sh' to
9778 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9779 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9780
9781 * net/tramp-sh.el (top): Don't require 'shell.
9782 (tramp-methods): Add `tramp-remote-shell' and
9783 `tramp-remote-shell-args' entries.
9784 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9785 (tramp-sh-handle-shell-command): Remove.
9786 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9787 Use `tramp-remote-shell'.
9788
2784c434
CY
97892011-09-03 Chong Yidong <cyd@stupidchicken.com>
9790
393a301e 9791 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9792 (sendmail-query-once): Save directly to send-mail-function.
9793 Update message-send-mail-function too.
9794
9795 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9796
464cdf56
CS
97972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9798
9799 * progmodes/python.el (python-mode-map): Use correct function to
9800 start python interpreter from menu-bar (as reported by Geert
9801 Kloosterman).
9802 (inferior-python-mode-map): Fix typo.
393a301e 9803 (python-shell-map): Remove.
464cdf56 9804
d37e5c87
DD
98052011-09-03 Deniz Dogan <deniz@dogan.se>
9806
9807 * net/rcirc.el (rcirc-print): Simplify code for
9808 rcirc-scroll-show-maximum-output. There is no need to walk
9809 through all windows to find the right one.
9810
f3ada0ee
CS
98112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9812
9813 * help.el (help-return-method): Doc fix.
9814
1f3c99ca
MR
98152011-09-03 Martin Rudalics <rudalics@gmx.at>
9816
9817 * window.el (window-deletable-p): Don't return a non-nil value
9818 when there's a buffer that was shown in the window before.
9819 (Bug#9419)
393a301e
SM
9820 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9821 Set window's previous buffers to nil.
1f3c99ca 9822
a3cf097f
EZ
98232011-09-03 Eli Zaretskii <eliz@gnu.org>
9824
9825 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9826 newline before and after the tag line, so it doesn't interfere
9827 with determining the paragraph direction of bidirectional text.
9828
3d03de90
LL
98292011-09-03 Leo Liu <sdl.web@gmail.com>
9830
9831 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9832
c3313451
CY
98332011-09-02 Chong Yidong <cyd@stupidchicken.com>
9834
393a301e 9835 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9836 (pop-to-buffer): Change interactive spec. Pass second argument
9837 directly to display-buffer.
9838 (display-buffer): Fix interactive spec. Use functionp to
9839 distinguish between a function and a list of functions.
9840
9841 * abbrev.el (edit-abbrevs):
9842 * arc-mode.el (archive-extract):
9843 * autoinsert.el (auto-insert):
9844 * bookmark.el (bookmark-bmenu-list):
9845 * files.el (find-file):
9846 * view.el (view-buffer):
9847 * progmodes/compile.el (compilation-goto-locus):
9848 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9849
89894cd8
CY
98502011-09-02 Chong Yidong <cyd@stupidchicken.com>
9851
9852 * window.el (display-buffer-alist): Doc fix.
9853 (display-buffer): Add docstring. Don't treat
9854 display-buffer-default specially.
9855 (display-buffer-reuse-selected-window)
9856 (display-buffer-same-window, display-buffer-maybe-same-window)
9857 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9858 (display-buffer-pop-up-window)
9859 (display-buffer-reuse-or-pop-window)
9860 (display-buffer-use-some-window): New functions.
9861 (display-buffer-default-action): Use them.
393a301e 9862 (display-buffer-default): Delete.
89894cd8
CY
9863 (pop-to-buffer-1): Fix choice of actions.
9864
ae0bc9fb
SM
98652011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * minibuffer.el (completion--insert-strings): Don't get confused by
9868 completion entries that end with an LF char.
9869
e9d90883
EZ
98702011-09-01 Eli Zaretskii <eliz@gnu.org>
9871
9872 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9873
437014c8
CY
98742011-09-01 Chong Yidong <cyd@stupidchicken.com>
9875
9876 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9877 (display-buffer-same-window, display-buffer-other-window):
9878 New functions.
437014c8
CY
9879 (pop-to-buffer-1): New function. Use the above.
9880 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9881 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9882
9883 * view.el (view-buffer-other-window, view-buffer-other-frame):
9884 Just use pop-to-buffer.
9885
a5e063d5
TV
98862011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9887
9888 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9889
793d32bb
WH
98902011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9891
9892 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9893
d65e4c15
RS
98942011-08-31 Richard Stallman <rms@gnu.org>
9895
9896 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9897 of the separation of rmail-view-buffer from rmail-buffer.
9898 If you say no to "replace original", the decrypt is in the
9899 view buffer. If you say yes, the decrypt goes into the
9900 rmail buffer also.
9901
f818cd2a
MR
99022011-08-31 Martin Rudalics <rudalics@gmx.at>
9903
9904 * window.el (display-buffer-window): Rewrite doc-string.
9905 (display-buffer-record-window): New function.
9906 (display-buffer-macro-specifiers)
9907 (display-buffer-even-window-sizes, display-buffer-set-height)
9908 (display-buffer-set-width, display-buffer-in-window)
9909 (display-buffer-reuse-window, display-buffer-split-specifiers)
9910 (display-buffer-side-specifiers, display-buffer-split-window-1)
9911 (display-buffer-split-window, display-buffer-split-atom-window)
9912 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9913 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9914 (display-buffer-other-window-means-other-frame)
9915 (display-buffer-normalize-special)
9916 (display-buffer-normalize-default)
9917 (display-buffer-normalize-argument)
9918 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9919 (display-buffer-normalize-specifiers, display-buffer-frame)
9920 (display-buffer-same-window, display-buffer-same-frame)
9921 (display-buffer-other-window)
9922 (display-buffer-same-frame-other-window)
9923 (display-buffer-other-frame, pop-to-buffer-same-window)
9924 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9925 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9926 (switch-to-buffer-same-frame)
9927 (switch-to-buffer-other-window-same-frame)
9928 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9929 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9930 (display-buffer-alist-set): Remove.
9931 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9932 (special-display-regexps, special-display-function):
9933 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9934 parameter.
9935 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9936 (special-display-frame-alist, special-display-popup-frame)
9937 (same-window-buffer-names, same-window-regexps, same-window-p)
9938 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9939 (split-window-preferred-function, split-height-threshold)
9940 (split-width-threshold, window-splittable-p)
9941 (split-window-sensibly, window--try-to-split-window)
9942 (window--frame-usable-p, even-window-heights)
9943 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9944 (window--display-buffer-2, display-buffer-other-frame):
9945 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9946 (display-buffer-default, display-buffer-assq-regexp): New functions.
9947 (display-buffer-alist): Rewrite doc-string.
9948 (display-buffer-default-action)
9949 (display-buffer-overriding-action): New variables.
9950 (display-buffer, switch-to-buffer): Rewrite.
9951 (pop-to-buffer): Restore Emacs 23 behavior but use
9952 window-normalize-buffer-to-display.
9953 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9954 Restore Emacs 23 behavior but use
9955 window-normalize-buffer-to-switch-to.
9956 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9957 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9958 Rewrite using Emacs 23 options.
f818cd2a 9959
5bc3b51d
MA
99602011-08-31 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp.el (tramp-root-regexp): Remove.
9963 (tramp-completion-file-name-regexp-unified)
9964 (tramp-completion-file-name-regexp-separate)
9965 (tramp-completion-file-name-regexp-url): Don't use leading volume
9966 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9967 (tramp-drop-volume-letter): Simplify definition.
9968 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9969
b1a4f8e1
SM
99702011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9973 (bug#9356).
9974
5664fa7b
RT
99752011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9976
b1a4f8e1 9977 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9978
9a45d6c3
JL
99792011-08-29 Juri Linkov <juri@jurta.org>
9980
9981 * isearch.el (isearch-done): Don't display message "Mark saved"
9982 when arg `edit' is non-nil to prevent its flicker in the echo area.
9983
fb87e0fb
CY
99842011-08-28 Chong Yidong <cyd@stupidchicken.com>
9985
9986 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9987 obsolete packages for deletion.
9988
09ac1c2a
CS
99892011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9990
9991 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9992 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9993 view-mode from help-mode.
9994 (help-xref-override-view-map): Remove.
9995 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9996 view-mode is not used anymore.
9997
7a1ff57f
CY
99982011-08-28 Chong Yidong <cyd@stupidchicken.com>
9999
10000 * server.el (server-port): Doc fix.
10001
b9696605
CY
10002 * cus-theme.el (custom-theme-choose-mode): Inherit from
10003 special-mode (Bug#9124).
10004 (custom-theme-choose-mode-map): Add special-mode to parent.
10005
ef8cdf8c
AM
100062011-08-28 Alan Mackenzie <acm@muc.de>
10007
10008 * progmodes/cc-fonts.el
10009 (c-make-font-lock-BO-decl-search-function): New function.
10010 (c-basic-matchers-after - "Fontify the clauses after various
10011 keywords"): Extract the three keyword lists for the 3 erroneous
10012 constructs from the list of four, and use the new function above
10013 in place of an old one.
10014
27de4e20
DD
100152011-08-28 Deniz Dogan <deniz@dogan.se>
10016
10017 * net/rcirc.el (rcirc-insert-prev-input)
10018 (rcirc-insert-next-input): Remove unused argument.
10019
356a3681
SM
100202011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10023
3fc9b218
AM
100242011-08-27 Alan Mackenzie <acm@muc.de>
10025
10026 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10027 handle function pointer parameters properly.
10028
538a061c
MR
100292011-08-27 Martin Rudalics <rudalics@gmx.at>
10030
10031 * window.el (display-buffer-reuse-window): Fix case where
10032 selected window was reused with non-nil OTHER-WINDOW argument.
10033 (Bug#9381)
10034
35b1c40c
DD
100352011-08-27 Deniz Dogan <deniz@dogan.se>
10036
10037 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10038 oftc's NickServ messages.
10039
2f6a3e79
GM
100402011-08-27 Glenn Morris <rgm@gnu.org>
10041
10042 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10043
7254299e
CY
100442011-08-26 Chong Yidong <cyd@stupidchicken.com>
10045
10046 * emacs-lisp/package.el (package-install): Call package-initialize
10047 if called interactively.
10048
f8ccf167
LL
100492011-08-26 Leo Liu <sdl.web@gmail.com>
10050
10051 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10052
3e8cd5ce
JL
100532011-08-25 Juri Linkov <juri@jurta.org>
10054
10055 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10056 `search-whitespace-regexp' (bug#9364).
10057
93eb7113
JL
100582011-08-25 Juri Linkov <juri@jurta.org>
10059
10060 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10061 `regexp-search-ring' to their global values to protect from
10062 updating by `read-from-minibuffer' (bug#9185).
10063
f65d1611
JL
100642011-08-25 Juri Linkov <juri@jurta.org>
10065
10066 * textmodes/ispell.el (ispell-command-loop): Add newline
10067 at the end of the "Use option `i'..." line.
10068
f1cf7a31
JL
100692011-08-25 Juri Linkov <juri@jurta.org>
10070
10071 * battery.el (display-battery-mode): If `battery-status-function'
10072 or `battery-mode-line-format' is nil, display the message and set
10073 `display-battery-mode' to nil (bug#9363).
10074
0c95fcf7
EZ
100752011-08-25 Eli Zaretskii <eliz@gnu.org>
10076
10077 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10078 bidi-string-mark-left-to-right; they are unnecessary now.
10079
a2ebe600
DD
100802011-08-25 Deniz Dogan <deniz@dogan.se>
10081
10082 * net/quickurl.el: Documentation typo fixes.
10083
e4ed06f1
CY
100842011-08-25 Chong Yidong <cyd@stupidchicken.com>
10085
10086 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10087
e5f1c99e
GM
100882011-08-25 Glenn Morris <rgm@gnu.org>
10089
b2948976
GM
10090 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10091
e5f1c99e
GM
10092 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10093 (smtpmail-via-smtp): Handle nil response from smtp.
10094
f22f4808
JL
100952011-08-24 Juri Linkov <juri@jurta.org>
10096
10097 * proced.el (proced-marked): Inherit from `error' instead of
10098 `font-lock-warning-face'.
10099
10100 * ibuffer.el (ibuffer-marked-face): Change default face from
10101 `font-lock-warning-face' to `warning'.
10102 (ibuffer-deletion-face): Change default face from
10103 `font-lock-type-face' to `error'.
10104
10105 * battery.el (battery-update): Use the face `error' instead of
10106 `font-lock-warning-face' (bug#6117).
10107
6a93965e
JL
101082011-08-24 Juri Linkov <juri@jurta.org>
10109
10110 * faces.el (success): Change face color from "Green3" to
10111 "ForestGreen" on light background (bug#9353).
10112
1ed43b09
CY
101132011-08-24 Chong Yidong <cyd@stupidchicken.com>
10114
5664fa7b
RT
10115 * window.el (quit-window): Rename from quit-restore-window.
10116 Use same arglist as old quit-window.
1ed43b09
CY
10117 (frame-auto-delete): Doc fix.
10118
10119 * view.el (view-mode-exit): Use quit-window.
10120
11dcdbb2
JL
101212011-08-24 Juri Linkov <juri@jurta.org>
10122
10123 * isearch.el (isearch-ring-adjust1): Start visiting previous
10124 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10125 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10126 for empty search string (when the last search string is reused
10127 automatically) to adjust the isearch ring to the last element and
10128 prepare the correct index for further M-p commands (bug#9185).
10129
de62b4df
KH
101302011-08-24 Kenichi Handa <handa@m17n.org>
10131
10132 * international/ucs-normalize.el: If decomposition property of
10133 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10134 nil.
10135 (nfd, nfkd): Likewise.
10136
963b492b
SM
101372011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10140 from process filters aren't reliably transmitted to the surrounding
10141 accept-process-output.
10142 (mpc-proc-check): New function.
10143 (mpc-proc-sync): Use it (bug#8293)
10144
93b6b5e1
SM
101452011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10148 Add compatibility functions (bug#9313).
10149
bca633fb
EZ
101502011-08-23 Eli Zaretskii <eliz@gnu.org>
10151
b177498a
EZ
10152 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10153
6df6ae42 10154 * international/uni-bidi.el: Regenerate.
bca633fb 10155
0902a04e
KH
101562011-08-23 Kenichi Handa <handa@m17n.org>
10157
10158 * international/charprop.el:
10159 * international/uni-bidi.el:
10160 * international/uni-category.el:
10161 * international/uni-combining.el:
10162 * international/uni-comment.el:
10163 * international/uni-decimal.el:
10164 * international/uni-decomposition.el:
10165 * international/uni-digit.el:
10166 * international/uni-lowercase.el:
10167 * international/uni-mirrored.el:
10168 * international/uni-name.el:
10169 * international/uni-numeric.el:
10170 * international/uni-old-name.el:
10171 * international/uni-titlecase.el:
10172 * international/uni-uppercase.el: Regenerate.
10173
3bbf23bc
MR
101742011-08-23 Martin Rudalics <rudalics@gmx.at>
10175
10176 * help.el (help-window-setup): Fix message displayed when other
10177 window is reused. (Bug#9341)
10178
b3fd59bd
SM
101792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10180
1802e444
SM
10181 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10182 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10183
b3fd59bd
SM
10184 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10185 Mark obsolete.
10186 * shell.el (shell-parse-pcomplete-arguments): New function.
10187 (shell-completion-vars): Use it instead (bug#9160).
10188
4eb61348
SM
101892011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10190
867cab74
SM
10191 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10192 strings and comments (bug#9333).
10193
4eb61348
SM
10194 * emacs-lisp/debug.el (debug-arglist): New function.
10195 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10196 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10197
262a1439
JL
101982011-08-22 Juri Linkov <juri@jurta.org>
10199
56ee679c
JL
10200 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10201 Revert regexp that highlights output switches to its old
10202 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10203
262a1439
JL
10204 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10205 to check for empty output (bug#9226).
10206
f13f86fb
CY
102072011-08-22 Chong Yidong <cyd@stupidchicken.com>
10208
10209 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10210 symbol-constituent as the default, as that stops font-lock from
10211 working properly (Bug#8843).
10212
c65c9622
LMI
102132011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214
10215 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10216 `coding-system-for-*' around the process open call to avoid
10217 auth-source side effects.
e7f2c178 10218 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10219 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10220 probe hangs.
c65c9622 10221
23a8a5ab
CY
102222011-08-21 Chong Yidong <cyd@stupidchicken.com>
10223
ff98b2dd
CY
10224 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10225
23a8a5ab
CY
10226 * emacs-lisp/find-func.el (find-function-noselect): New arg
10227 lisp-only.
10228
10229 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10230 signal an error for built-in functions (Bug#6664).
10231
f5e3c598
LMI
102322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10233
10234 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10235 (smtpmail-try-auth-methods): Use it.
10236
a3f2468a
CY
102372011-08-21 Chong Yidong <cyd@stupidchicken.com>
10238
2c34e8da
CY
10239 * font-lock.el (font-lock-fontify-region)
10240 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10241 (font-lock-default-unfontify-buffer)
10242 (font-lock-default-fontify-region)
10243 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10244
b3fd59bd
SM
10245 * progmodes/compile.el (compilation-error-properties):
10246 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10247 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10248 `ant' regexp.
ee31aabc 10249
a3f2468a
CY
10250 * net/browse-url.el (browse-url-firefox): Don't call
10251 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10252
8e999f70
GM
102532011-08-20 Glenn Morris <rgm@gnu.org>
10254
c21a496a
GM
10255 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10256
59ee0542
GM
10257 * tutorial.el (tutorial--default-keys): Update some default bindings.
10258
8e999f70
GM
10259 * files.el (hack-local-variables): Fully ignore case for "mode:".
10260
e3715033
AM
102612011-08-20 Alan Mackenzie <acm@muc.de>
10262
10263 Resolve invalid use of a regexp in regexp-opt.
10264
4d61f28d
JB
10265 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10266 detection for a java annotation.
e3715033 10267
4d61f28d 10268 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10269 detection for a java annotation.
10270
4d61f28d
JB
10271 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10272 handling for java.
e3715033
AM
10273 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10274
04ed2e9c
CY
102752011-08-20 Chong Yidong <cyd@stupidchicken.com>
10276
10277 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10278 (Bug#9274).
10279
826cee64
AM
102802011-08-20 Alan Mackenzie <acm@muc.de>
10281
58179cce 10282 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10283 such a construct. Mainly for when jit-lock etc. starts a chunk
10284 here.
10285
58179cce 10286 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10287 variable.
58179cce 10288 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10289 c-make-font-lock-search-function.
10290 (c-make-font-lock-search-function): Use the above function.
10291 (c-make-font-lock-context-search-function): New function.
10292 (c-cpp-matchers): Enhance the preprocessor expression case with
10293 the above function
10294 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10295 which takes an expression.
10296
10297 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10298
13009bd8
MR
102992011-08-20 Martin Rudalics <rudalics@gmx.at>
10300
10301 * window.el (display-buffer-reuse-window)
10302 (display-buffer-pop-up-window): Don't reuse or split a side
10303 window.
10304
9234ff7f
GM
103052011-08-19 Glenn Morris <rgm@gnu.org>
10306
10307 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10308 Downcase "Mode:". (Bug#9331)
9234ff7f 10309
f635daa1
CY
103102011-08-18 Chong Yidong <cyd@stupidchicken.com>
10311
10312 * international/characters.el: Add L and R categories.
10313
10314 * subr.el (bidi-string-mark-left-to-right): Rename from
10315 string-mark-left-to-right. Use category search.
10316
10317 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10318
bc987f8b
JL
103192011-08-18 Juri Linkov <juri@jurta.org>
10320
10321 * faces.el (error, warning, success): New faces with definitions
10322 copied from old default values of `font-lock-warning-face',
10323 `compilation-warning', `compilation-info' (bug#6117).
10324
10325 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10326
10327 * progmodes/compile.el (compilation-error): Inherit from `error'.
10328 (compilation-warning): Inherit from `warning'.
10329 (compilation-info): Inherit from `success'.
10330
10331 * dired.el (dired-marked): Inherit from `warning'.
10332 (dired-flagged): Inherit from `error'.
10333
57173b96
LMI
103342011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
3e79eb87
LMI
10336 * mail/smtpmail.el (auth-source): Require to avoid problems with
10337 binding variables (bug#9298). Also clean up some unused
10338 autoloads.
10339
b3fd59bd
SM
10340 * net/network-stream.el (network-stream-open-starttls):
10341 Support using starttls.el without using gnutls-cli.
57173b96 10342
02b404de
JL
103432011-08-17 Juri Linkov <juri@jurta.org>
10344
10345 * progmodes/grep.el (rgrep): Handle the case when
10346 `grep-find-command' is a cons cell (bug#9278).
10347
8c9177f2
MR
103482011-08-17 Martin Rudalics <rudalics@gmx.at>
10349
10350 * window.el (display-buffer-pop-up-frame): Run frame creation
10351 function with BUFFER current (as special-display-popup-frame
10352 does). Reported by Drew Adams.
10353
3644a0ab
DU
103542011-08-17 Daiki Ueno <ueno@unixuser.org>
10355
10356 * epa-mail.el: Simplify GnuPG group expansion using
10357 epg-expand-group.
10358 (epa-mail-group-alist, epa-mail-group-modtime)
10359 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10360 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10361 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10362 Remove.
10363
5e617bc2 103642011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10365
10366 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10367
9c4aeabf
AM
103682011-08-16 Alan Mackenzie <acm@muc.de>
10369
10370 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10371 Correct, to avoid the inside of macros.
10372
3a99bf64
RS
103732011-08-16 Richard Stallman <rms@gnu.org>
10374
04963aa8
RS
10375 * epa-mail.el: Handle GnuPG group definitions.
10376 (epa-mail-group-alist, epa-mail-group-modtime)
10377 (epa-mail-gnupg-conf-file): New variables.
10378 (epa-mail-parse-groups, epa-mail-sync-groups)
10379 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10380 (epa-mail-expand-recipients): New functions.
10381 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10382
177549d0
RS
10383 * mail/rmail.el (rmail-epa-decrypt): New command.
10384
fe38beef
RS
10385 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10386 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10387 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10388 (epa-decrypt-armor-in-region): Make error message clearer.
10389
934eacb9
SM
103902011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10393 and "a2b" to "ab" for `prefix'.
10394
d024fb4e
CY
103952011-08-14 Chong Yidong <cyd@stupidchicken.com>
10396
10397 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10398 filter groups.
de148fee
CY
10399 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10400 Fourquet (Bug#8804).
d024fb4e 10401
62f1ca49
JB
104022011-08-12 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * startup.el (argi): Declare as global variable (bug#9275).
10405
9ccaaa4b
CY
104062011-08-12 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * subr.el (string-mark-left-to-right): Search the entire string
10409 for RTL script, not just the terminating character. Doc fix.
10410
a3dae87a
SM
104112011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10412
6cd18349
SM
10413 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10414 New function.
10415 (js--regexp-literal, js-syntax-propertize-function): Remove.
10416 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10417 (js-mode-map): Don't rebind electric keys.
10418 (js-insert-and-indent): Remove.
10419 (js-mode): Setup electric-layout and electric-indent instead.
10420
a3dae87a
SM
10421 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10422
9d5cb631
DU
104232011-08-12 Daiki Ueno <ueno@unixuser.org>
10424
10425 * epa.el (epa-progress-callback-function): Fix the logic of
10426 displaying progress.
10427 * epa-file.el (epa-file-insert-file-contents): Make progress
10428 display more user-friendly.
10429 (epa-file-write-region): Ditto.
10430
3e26a4a2
CY
104312011-08-10 Chong Yidong <cyd@stupidchicken.com>
10432
10433 * subr.el (string-mark-left-to-right): New function.
10434
10435 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10436 Use string-mark-left-to-right.
10437 (list-buffers-noselect): Caller changed.
10438
a3dae87a
SM
10439 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10440 Use string-mark-left-to-right.
3e26a4a2
CY
10441 (tabulated-list-print): Recenter after moving point.
10442
ac8cf6e6
JL
104432011-08-10 Juri Linkov <juri@jurta.org>
10444
10445 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10446 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10447 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10448
8d96c9a4
CY
104492011-08-09 Chong Yidong <cyd@stupidchicken.com>
10450
10451 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10452 (Bug#7554).
10453
7be1c708 104542011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10455
10456 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10457 character. (Bug#6594)
10458
37e11a63
CY
104592011-08-08 Chong Yidong <cyd@stupidchicken.com>
10460
839dde57
CY
10461 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10462 (image-dired--with-db-file): New macro.
10463 (image-dired-write-tags, image-dired-remove-tag)
10464 (image-dired-create-gallery-lists, image-dired-write-comments)
10465 (image-dired-get-comment, image-dired-mark-tagged-files)
10466 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10467 (image-dired-gallery-generate): Use insert-file-contents.
10468
37e11a63
CY
10469 * time.el (display-time-world-list, display-time-world-display):
10470 * time-stamp.el (time-stamp-string):
10471 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10472 set-time-zone-rule (Bug#7337).
10473
0b4946c4
DU
104742011-08-08 Daiki Ueno <ueno@unixuser.org>
10475
10476 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10477 (epg-error-to-string, epg-errors-to-string): New function.
10478 (epg-wait-for-completion): Reverse errors list.
10479 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10480 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10481 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10482 (epg-sign-keys, epg-generate-key-from-file)
10483 (epg-generate-key-from-string): Format errors by using
10484 epg-errors-to-string (bug#9255).
10485 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10486
75bfc667
JL
104872011-08-07 Juri Linkov <juri@jurta.org>
10488
10489 * faces.el (list-faces-display): Remove extra angle bracket
10490 from `help-mode-map'.
10491
10492 * info.el (Info-history-toc-nodes): Doc fix.
10493
10494 * longlines.el (longlines-mode): Doc fix.
10495
673e08bb
SM
104962011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10497
4640dd88
SM
10498 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10499 of statements and in a few more cases (bug#9183).
10500
673e08bb
SM
10501 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10502 New functions.
10503 (cl-transform-lambda): Use them (bug#9239).
10504
89b3f019
MR
105052011-08-05 Martin Rudalics <rudalics@gmx.at>
10506
10507 * window.el (display-buffer-same-window)
10508 (display-buffer-same-frame, display-buffer-other-window)
10509 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10510 (pop-to-buffer-other-window)
10511 (pop-to-buffer-same-frame-other-window)
10512 (pop-to-buffer-other-frame): Make them defuns.
10513 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10514
640c8776
SM
105152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * subr.el (make-composed-keymap): Move from C. Change calling
10518 convention, and improve docstring to bring attention to a subtle point.
10519 * minibuffer.el (completing-read-default): Adjust accordingly.
10520
63648a95
MA
105212011-08-03 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10524 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10525
10526 * net/trampver.el: Update release number.
10527
b796c9b7
SM
105282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10531 "in" (bug#9190).
10532
2239d7d5
LMI
105332011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534
e07dd7c3
LMI
10535 * mail/sendmail.el (sendmail-query-once): Restore the current
10536 buffer after querying (bug#9074).
10537
0e6a2bd7
LMI
10538 * dired.el (dired-flagged): Use different faces for marked and
10539 flagged files (bug#6117).
10540
ce887515
LMI
10541 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10542 (bug#4433).
10543
92f2affc
LMI
10544 * ido.el (ido-mode): Switch off the message if called
10545 non-interactively.
10546
57d5aff0
LMI
10547 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10548 before 587, since it appears that that's more likely to work for
10549 more people.
10550
98cd6c18 10551 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10552 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10553 exist.
10554
b96dec83
LMI
10555 * info.el: Remove the `Info-beginning-of-buffer' function
10556 (bug#8325).
10557
b796c9b7
SM
10558 * net/network-stream.el (network-stream-open-starttls):
10559 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10560
d90e2ea0
MR
105612011-08-01 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (display-buffer-in-window): Don't set dedicated status
10564 of window here (Bug#9215).
10565 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10566 (display-buffer-pop-up-side-window)
b796c9b7 10567 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10568
cca09170
SM
105692011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10572 before binding generated-autoload-file.
10573
027b979c
DD
105742011-08-01 Deniz Dogan <deniz@dogan.se>
10575
10576 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10577
3c7ee4f3
MA
105782011-07-30 Michael Albinus <michael.albinus@gmx.de>
10579
10580 Sync with Tramp 2.2.2.
10581
10582 * net/trampver.el: Update release number.
10583
2cc8e51a
JL
105842011-07-30 Juri Linkov <juri@jurta.org>
10585
10586 * dired-aux.el (dired-touch-initial): Remove function.
10587 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10588 current time, and `default' to the last modification time of the
10589 current marked file (bug#6887).
10590
a514d856
JM
105912011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10592
10593 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10594 numeric argument to read-number (bug#9163).
a514d856 10595
8a7eddd7
MA
105962011-07-27 Michael Albinus <michael.albinus@gmx.de>
10597
10598 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10599 connection process, it could be nil.
10600
1ddd96f5
LL
106012011-07-27 Leo Liu <sdl.web@gmail.com>
10602
10603 Simplify url handling in rcirc-mode.
10604
10605 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10606 (rcirc-browse-url-at-mouse): Remove.
10607 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10608
b248a85d
AM
106092011-07-26 Alan Mackenzie <acm@muc.de>
10610
10611 Fontify bitfield declarations properly.
10612
10613 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10614 (c-symbol-chars): Now exported as a lang variable.
10615 (c-not-primitive-type-keywords): New lang variable.
10616
10617 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10618 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10619 parsed as a bitfield declaration.
b248a85d 10620
b796c9b7
SM
10621 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10622 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10623 (c-punctuation-in): New function.
10624 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10625 declarations properly.
10626
68575ab0
UJ
106272011-07-26 Ulf Jasper <ulf.jasper@web.de>
10628
10629 * calendar/icalendar.el (icalendar--all-events): Take care of
10630 multiple vcalendars in a single file.
b796c9b7 10631 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10632
0f0a88b9
DD
106332011-07-25 Deniz Dogan <deniz@dogan.se>
10634
10635 * image.el (insert-image): Clarifying docstring.
10636
0b3f36df
MA
106372011-07-24 Michael Albinus <michael.albinus@gmx.de>
10638
10639 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10640 `tramp-send-command-and-check' if there is no error.
10641 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10642
a9901f61
AM
106432011-07-22 Alan Mackenzie <acm@muc.de>
10644
10645 Prevent cc-langs.elc being loaded at run time.
10646
10647 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10648 cc-langs.
10649
4d61f28d 10650 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10651 "(require 'cc-langs)". Quote a form so it will evaluate at
10652 (cc-mode's) compilation time.
10653
11d074b2
MA
106542011-07-22 Michael Albinus <michael.albinus@gmx.de>
10655
10656 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10657 loading. (Bug#9114)
10658
938b94c8
MR
106592011-07-21 Martin Rudalics <rudalics@gmx.at>
10660
10661 * window.el (display-buffer-pop-up-window)
10662 (display-buffer-pop-up-side-window)
10663 (display-buffer-in-side-window): Call display-buffer-set-height
10664 and display-buffer-set-width after setting the new window's
b796c9b7 10665 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10666
bfa4f190
SS
106672011-07-20 Sam Steingold <sds@gnu.org>
10668
10669 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10670 (etags-tags-included-tables): Call `convert-standard-filename' on
10671 the file names contained in TAGS so that windows Emacs can handle
10672 TAGS files created by cygwin ctags.
10673
8ca42262
LMI
106742011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10675
10676 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10677 which apparently didn't work.
10678
5db2afd2 106792011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10680
5db2afd2
RW
10681 * proced.el (proced-send-signal): For *Marked Processes* buffer
10682 put point at beginning of buffer.
10683
92e15d10
SB
106842011-07-19 Stephen Berman <stephen.berman@gmx.net>
10685
10686 * proced.el (proced-format): Make header lines align with the text
10687 (bug#1779).
10688
1bfd59e5
LMI
106892011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
10691 * view.el (view-buffer): Allow running in `special' modes if we're
10692 visiting a file (bug#8615).
10693
f5aae37c
MR
106942011-07-19 Martin Rudalics <rudalics@gmx.at>
10695
10696 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10697 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10698 New functions.
f5aae37c
MR
10699 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10700 more accurately.
10701
bf2c1571
AM
107022011-07-18 Alan Mackenzie <acm@muc.de>
10703
10704 Fontify declarators properly when, e.g., a jit-lock chunk begins
10705 inside a declaration.
10706
10707 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10708
b796c9b7
SM
10709 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10710 New function.
bf2c1571
AM
10711 (c-complex-decl-matchers): Insert reference to
10712 c-font-lock-enclosing-decls.
10713
10714 * progmodes/cc-engine.el (c-backward-single-comment):
10715 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10716 to nil around calls to (forward-comment -1).
10717
4e190b80
LMI
107182011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
12dc863d
LMI
10720 * image.el (put-image): Doc typo fix.
10721
a762e966
LMI
10722 * progmodes/etags.el (tags-search): Doc typo fix.
10723
4e190b80
LMI
10724 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10725 password if we get errors 550 to 554.
10726
f019fb21
LMI
107272011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10728
b796c9b7 10729 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10730
81746738
LMI
10731 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10732 indentation character (bug#6380).
10733
3ee3a1b5
LMI
10734 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10735
c82f64de
LMI
10736 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10737 to clarify what the problem is (bug#4291).
10738
f019fb21
LMI
10739 * simple.el (current-kill): Clarify what
10740 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10741 (auto-fill-mode): Document `auto-fill-function' in relation to
10742 `auto-fill-mode' (bug#2470).
f019fb21 10743
0794775d
LM
107442011-07-16 Lawrence Mitchell <wence@gmx.li>
10745
10746 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10747 method if slot is read-only (bug#9035).
10748
be39b8cc
MR
107492011-07-16 Martin Rudalics <rudalics@gmx.at>
10750
b796c9b7 10751 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10752 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10753 selected before, see discussion of (Bug#8615), (Bug#6954).
10754 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10755
6ccf7859
GM
107562011-07-15 Glenn Morris <rgm@gnu.org>
10757
10758 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10759 Respect help-form.
6ccf7859 10760
87e86684
LM
107612011-07-09 Lawrence Mitchell <wence@gmx.li>
10762
10763 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10764 (gnutls-negotiate): Use it.
10765
d6066239
LMI
107662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10767
b796c9b7
SM
10768 * net/gnutls.el (gnutls-negotiate):
10769 Upcase `gnutls-algorithm-priority'.
d6066239 10770
bd23ebc0
GM
107712011-07-15 Glenn Morris <rgm@gnu.org>
10772
c65bca65
GM
10773 * jka-compr.el (jka-compr-verbose): Move from here...
10774 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10775 Add missing :version tag.
10776 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10777
478615cc
LMI
107782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10779
7b41decb
LMI
10780 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10781 (gnutls-negotiate): Use it.
10782
dbc44fcd
LMI
10783 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10784
06789f97
LMI
10785 * info.el (Info-beginning-of-buffer): New command.
10786 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10787 announcing `b' as the key (bug#8325).
ab896c37 10788 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10789
c39da690
LMI
10790 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10791
3aa5f34b
LMI
10792 * international/mule-cmds.el
10793 (describe-specified-language-support): Make the error message
10794 clearer (bug#8905).
10795
4bf0979f
LMI
10796 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10797
478615cc
LMI
10798 * isearch.el (isearch-barrier): Add a doc string, since it's
10799 mentioned in a function doc string (bug#8678).
10800
75c68aa1
MR
108012011-07-15 Martin Rudalics <rudalics@gmx.at>
10802
10803 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10804 buffer argument (Bug#9083) and self-identifying label argument.
10805
a7c33da2
GM
108062011-07-15 Glenn Morris <rgm@gnu.org>
10807
10808 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10809
2f5c6024
LMI
108102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10811
10812 * man.el (Man-fontify-manpage): Fix message when formatting the
10813 man page (bug#7929).
10814
0bb23927 108152011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10816
10817 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10818 argument LRM; if non-nil, append an invisible LRM character to the
10819 buffer name.
10820 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10821 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10822 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10823 paragraph direction.
cce4b0a7 10824
621ef9ab
LMI
108252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10826
d1583c48
LMI
10827 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10828 the man page name (bug#7929).
10829
6a57fb5f
LMI
10830 * image.el (put-image): Mention the `put-image' overlay property
10831 (bug#7834).
10832
d7956b14
LMI
10833 * scroll-bar.el (set-scroll-bar-mode): Mention that
10834 `scroll-bar-mode' lists the values (bug#7772).
10835
5b2d4a66
LMI
10836 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10837 command (bug#7729).
10838
7509a874
LMI
10839 * rect.el (apply-on-rectangle): Return the point after the last
10840 operation.
10841 (string-rectangle): Go to the point after the last operation
10842 (bug#7522).
10843
4fe74b19
LMI
10844 * printing.el (pr-toggle-region): Clarify the documentation
10845 slightly (bug#7493).
10846
b796c9b7
SM
10847 * time.el (display-time-update):
10848 Allow `display-time-mail-function' to return nil (bug#7158).
10849 Fix suggested by Detlev Zundel.
ab283561 10850
fc233c9d
LMI
10851 * vc/diff.el (diff): Clarify the order the file names are read
10852 (bug#7111).
10853
43f5740b
LMI
10854 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10855 the doc string (bug#7015).
10856
f2182a76
LMI
10857 * font-lock.el (font-lock-maximum-decoration): Mention what
10858 numeric levels mean (bug#6935).
10859
621ef9ab
LMI
10860 * startup.el (initial-buffer-choice): Don't mention the `none'
10861 selection, which is against policy.
10862
adc47434
MR
108632011-07-14 Martin Rudalics <rudalics@gmx.at>
10864
b796c9b7
SM
10865 * window.el (display-buffer-normalize-special):
10866 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10867
7e5bfb8f
EZ
108682011-07-14 Eli Zaretskii <eliz@gnu.org>
10869
10870 * subr.el (version<, version<=, version=): Mention "-CVS" and
10871 "-12345" alpha version numbers.
10872
27fa387a
CY
108732011-07-14 Chong Yidong <cyd@stupidchicken.com>
10874
10875 * bindings.el: Add advertised binding for set-mark-command
10876 (Bug#5772).
10877
8bdfa064
CY
108782011-07-14 Chong Yidong <cyd@stupidchicken.com>
10879
10880 * bindings.el (mode-line-other-buffer):
10881 * bookmark.el (bookmark-bmenu-2-window):
10882 * bs.el (bs-cycle-next, bs-cycle-previous):
10883 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10884 switch-to-buffer.
10885
10886 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10887 Delete.
8bdfa064 10888
5eba16a3
JB
108892011-07-14 Juanma Barranquero <lekktu@gmail.com>
10890
10891 * follow.el (follow-debug-message, follow-redisplay):
10892 * jka-cmpr-hook.el (with-auto-compression-mode):
10893 Fix typos in docstrings.
10894
15853710
LMI
108952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896
a28e4607
LMI
10897 * subr.el (with-silent-modifications): Clarify somewhat what the
10898 macro inhibits (bug#6525).
10899
15853710
LMI
10900 * simple.el (eval-expression): Note what it does if called
10901 interactively (bug#6495).
10902
bee0fcef
CY
109032011-07-13 Chong Yidong <cyd@stupidchicken.com>
10904
b796c9b7
SM
10905 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10906 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10907
10908 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10909 Remove switch-to-buffer.
10910
58274504
LMI
109112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10912
bd2fcc8d
LMI
10913 * files.el (make-directory): Clarify that an error will be raised
10914 if there's an error (bug#6397).
10915
0f04b32c
LMI
10916 * startup.el (initial-buffer-choice): Add `none' as a choice
10917 (bug#6234).
10918
465c5fc8
LMI
10919 * subr.el (add-hook): Clarify section about buffer-local hooks
10920 (bug#6218).
10921
58274504
LMI
10922 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10923
bead9a43
JB
109242011-07-13 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * tabify.el (untabify): Preserve the current column so that point
10927 doesn't move (bug#6032).
10928
3af98a7b
LMI
109292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10930
b796c9b7
SM
10931 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10932 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10933
6240145a
GM
109342011-07-13 Glenn Morris <rgm@gnu.org>
10935
10936 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10937 (dired-insert-directory): Give a message the first time
10938 if ls is found not to support --dired.
10939
1d8c2ccc
LMI
109402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * simple.el (toggle-truncate-lines): Clarify what is toggled
10943 (bug#5580). Text by Drew Adams.
10944
5fc4038e
CY
109452011-07-13 Chong Yidong <cyd@stupidchicken.com>
10946
10947 * simple.el (blink-matching-open): Make the error message from the
10948 last change less verbose.
10949
bf6012e5
DN
109502011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10951
10952 * font-lock.el (font-lock-comment-face): Use the high contrast
10953 "yellow" color for font-lock-comment-face on low color terminals
10954 using a dark background color (bug#4221).
10955
343c3b5a
LMI
109562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10957
7e9505c5
LMI
10958 * dired.el (dired-insert-set-properties): Make the doc string
10959 reflect what it does now (bug#5325).
10960
c26fdcf5
LMI
10961 * simple.el (blink-matching-open): Say that we were unable to find
10962 the match within the limit, if we're limited (bug#5122).
10963
bb388cc5
LMI
10964 * international/mule-cmds.el (prefer-coding-system): Add an
10965 example (bug#4869).
10966
343c3b5a
LMI
10967 * progmodes/etags.el (tags-search): Document `file-list-form'
10968 (bug#4731).
10969
2a517d45
LM
109702011-07-13 Lawrence Mitchell <wence@gmx.li>
10971
10972 * net/browse-url.el (browse-url-default-browser)
10973 (browse-url-browser-function): Make the default browser choice a
10974 bit more logical (bug#4300). Also clean up the doc string.
10975
b6c78ef2
JB
109762011-07-13 Juanma Barranquero <lekktu@gmail.com>
10977
10978 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10979 binary endings (bug#4440).
10980
1c4dd947
LMI
109812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10982
a2014063
LMI
10983 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10984 which can be pretty annoying (bug#8971).
10985
9c9c2d88
LMI
10986 * jka-compr.el (jka-compr-verbose): New variable, and use
10987 throughout (bug#8971).
10988
1c4dd947
LMI
10989 * info.el (Info-find-file): Fall back on the installation
10990 directory if we can't find the info node anywhere else.
10991
a1c9f41b
SO
109922011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10993
10994 * vc/vc.el (vc-revert-file):
10995 Don't set file time-stamp in the past. (Bug#5181)
10996
536f3d36
LMI
109972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10998
7152b011
LMI
10999 * files.el (after-find-file): Give a better error message when
11000 trying to find a symlink that points to a file that doesn't exist
11001 (bug#4398).
11002
536f3d36
LMI
11003 * progmodes/cc-vars.el: Remove (probably) misleading comment
11004 (bug#4396).
11005
460c0fba
JB
110062011-07-12 Johan Bockgård <bojohan@gnu.org>
11007
11008 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11009
7a6bda45
CY
110102011-07-12 Chong Yidong <cyd@stupidchicken.com>
11011
11012 * mouse-sel.el: Hack restoring functionality, while keeping
11013 compatibility with 2010-07-03 changes to mouse selection.
11014 (mouse-sel-primary-overlay): New var.
11015 (mouse-sel-selection-alist): Use it.
11016 (mouse-sel-mode): Doc fix; remove points that are default features
11017 of mouse.el.
11018
c79598ef
JB
110192011-07-12 Johan Bockgård <bojohan@gnu.org>
11020
11021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11022 Fix previous fix (bug#2490).
11023
ff8be6ef
RW
110242011-07-12 Roland Winkler <winkler@gnu.org>
11025
b796c9b7
SM
11026 * textmodes/bibtex.el (bibtex-initialize):
11027 Use pop-to-buffer-same-window.
ff8be6ef
RW
11028 (bibtex-search-entries): Fix interactive call.
11029
296ba3ee
LMI
110302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11031
f5242a02 11032 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11033 Fontise bytecomp Error lines more correctly (bug#2490).
11034 Fix suggested by Johan Bockgård.
f5242a02 11035
296ba3ee
LMI
11036 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11037
11038 * dired-x.el (dired-guess-default): Use `delete-dups'.
11039
f69fd0d2
CY
110402011-07-12 Chong Yidong <cyd@stupidchicken.com>
11041
11042 * dired.el (dired-mark-prompt):
11043 * dired-aux.el (dired-read-shell-command): Doc fix.
11044
eab5dc07
LMI
110452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046
b796c9b7
SM
11047 * mail/sendmail.el (sendmail-query-once):
11048 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11049 emacs -Q.
11050
11051 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11052
eab5dc07
LMI
11053 * cus-edit.el (custom-file): Take an optional no-error variable.
11054 (customize-save-variable): Set the variable, and give a warning if
11055 running under "emacs -q".
11056
a1e65d42
JB
110572011-07-11 Juanma Barranquero <lekktu@gmail.com>
11058
11059 * loadhist.el (unload-feature-special-hooks):
11060 Add `auto-coding-functions', `fill-nobreak-predicate' and
11061 `find-directory-functions' (bug#5327).
11062
1d52da10
LMI
110632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
be958f1d
LMI
11065 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11066
5bedb26c
LMI
11067 * cus-edit.el (custom-guess-name-alist): -alist variables should
11068 use the `alist' type (bug#3120). Suggested by Drew Adams.
11069
1d52da10
LMI
11070 * printing.el: Add documentation to all the `pr-toggle-' commands.
11071
cd394be1 110722011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11073
11074 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11075 backends where it makes sense (bug#2623).
11076
dcc88d8a
LMI
110772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11078
c3de9feb
LMI
11079 * dired-x.el (dired-guess-default): Remove duplicate shell command
11080 entries (bug#2028).
8a93078b 11081 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11082 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11083
dcc88d8a
LMI
11084 * subr.el (remove-duplicates): New conveniency function.
11085
505e3645
LMI
110862011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11087
11088 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11089 (bug#1526).
11090
110912011-07-10 Martin Rudalics <rudalics@gmx.at>
11092
11093 * window.el (display-buffer-normalize-default): Don't invert
11094 meaning of even-window-heights. Reported by Eli Zaretskii
11095 <eliz@gnu.org>.
11096
455e4fa1
BR
110972011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11098
11099 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11100
8e0bc3e9
CY
111012011-07-10 Chong Yidong <cyd@stupidchicken.com>
11102
11103 * window.el (display-buffer): Fix arguments to
11104 display-buffer-reuse-window in last change.
11105
fa7c3228
CY
11106 * faces.el (link): Use a less saturated blue on light backgrounds.
11107
11108 * startup.el (fancy-startup-text, fancy-about-text)
11109 (fancy-startup-tail): Use font-lock faces, for background safety.
11110
c0a7f300
BN
111112011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11112
b796c9b7
SM
11113 * emulation/viper-cmd.el (viper-change-state-to-vi):
11114 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11115
4dc2a129
MR
111162011-07-09 Martin Rudalics <rudalics@gmx.at>
11117
11118 * window.el (display-buffer-default-specifiers): Remove.
11119 (display-buffer-macro-specifiers): Remove default specifiers.
11120 (display-buffer-alist): Default to nil.
b796c9b7 11121 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11122 (display-buffer-pop-up-window): Allow splitting internal
11123 windows. Check whether a live window was created.
11124 (display-buffer-other-window-means-other-frame)
11125 (display-buffer-normalize-arguments): Rename to
11126 display-buffer-normalize-argument and rewrite. Set the
11127 other-window specifier.
11128 (display-buffer-normalize-special): New function.
11129 (display-buffer-normalize-options): Rename to
11130 display-buffer-normalize-default and rewrite.
11131 (display-buffer-normalize-options-inhibit): Remove.
11132 (display-buffer-normalize-specifiers): Rewrite.
11133 (display-buffer): Process other-window specifier and call
11134 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11135 more faithfully.
b796c9b7 11136 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11137 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11138 (display-buffer-in-window, display-buffer-alist-set):
11139 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11140 <tassilo@member.fsf.org>.
11141
2d43b8c9
LL
111422011-07-09 Leo Liu <sdl.web@gmail.com>
11143
11144 * register.el (insert-register): Restore accidental change on
11145 2011-06-26. (Bug#9028)
11146
7f9b7c53
GM
111472011-07-09 Glenn Morris <rgm@gnu.org>
11148
11149 * subr.el (remq): Handle the empty list. (Bug#9024)
11150
f042cfd8
AS
111512011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11152
11153 * mail/sendmail.el (send-mail-function): No longer delay custom
11154 initialization.
11155 * custom.el (custom-initialize-delay): Doc fix.
11156
856b2f11
SM
111572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11160
afae1d68
MA
111612011-07-08 Michael Albinus <michael.albinus@gmx.de>
11162
11163 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11164 human-friendly prompt.
11165
0757af94
SM
111662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11169 provided by a particular plugin.
11170
d760b731
LMI
111712011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11172
11173 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11174 save customizations (with "emacs -Q"), just set the variable
11175 instead of erroring out.
11176
11177 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11178
cd79ce90
JL
111792011-07-08 Juri Linkov <juri@jurta.org>
11180
11181 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11182 (archive-zip-update-case): Use 7z if found by `executable-find'.
11183 The order of searching the available programs is the same as in
11184 `archive-zip-extract' (bug#8968).
11185
14cc04aa
CY
111862011-07-07 Chong Yidong <cyd@stupidchicken.com>
11187
11188 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11189 (menu-bar-options-menu): Tweak descriptions.
11190
0a1848ec
LMI
111912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11192
11193 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11194 menu items into verb phrases (bug#1421). Also refill to fit under
11195 80 columns.
11196
f5bd0689
CY
111972011-07-07 Chong Yidong <cyd@stupidchicken.com>
11198
538e85c6
CY
11199 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11200 (Info-read-node-name): Doc fix (Bug#1084).
11201
f5bd0689
CY
11202 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11203 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11204 (end-of-sexp, beginning-of-sexp)
11205 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11206 (forward-symbol, forward-same-syntax, word-at-point)
11207 (sentence-at-point): Doc fix (Bug#1144).
11208
56ec5115
LMI
112092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11210
f3f8e37f
LMI
11211 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11212 should cover it (bug#1281).
11213
0757af94 11214 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11215
e9fce1ac 11216 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11217 negotiation fails, then possibly try again with a non-encrypted
11218 connection (bug#9017).
11219
56ec5115
LMI
11220 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11221 be used.
11222
c2f9aec8
RS
112232011-07-07 Richard Stallman <rms@gnu.org>
11224
11225 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11226 property, and handle its changed format.
11227 Look for the correct line number.
11228 Use file's line contents (but not past first =) to find
11229 correct line in message.
11230
ef7b981d 112312011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11232
11233 * international/characters.el (build-unicode-category-table):
11234 Delete it.
0757af94 11235 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11236
0757af94 11237 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11238 to src/chartab.c.
11239 (get-char-code-property): Call unicode-property-table-internal to
11240 load a file. Call get-unicode-property-internal where necessary.
11241 (put-char-code-property): Call unicode-property-table-internal to
11242 load a file. Call put-unicode-property-internal where necessary.
11243 put-unicode-property-internal where necessary.
0757af94
SM
11244 (char-code-property-description):
11245 Call unicode-property-table-internal to load a file.
c805dec0
KH
11246
11247 * international/charprop.el:
11248 * international/uni-bidi.el:
11249 * international/uni-category.el:
11250 * international/uni-combining.el:
11251 * international/uni-comment.el:
11252 * international/uni-decimal.el:
11253 * international/uni-decomposition.el:
11254 * international/uni-digit.el:
11255 * international/uni-lowercase.el:
11256 * international/uni-mirrored.el:
11257 * international/uni-name.el:
11258 * international/uni-numeric.el:
11259 * international/uni-old-name.el:
11260 * international/uni-titlecase.el:
11261 * international/uni-uppercase.el: Regenerate.
11262
11263 * loadup.el: Load international/charprop.el before
11264 international/characters.
11265
e14b388a
CY
112662011-07-07 Chong Yidong <cyd@stupidchicken.com>
11267
11268 * window.el (next-buffer, previous-buffer): Signal an error if
11269 called from a minibuffer window.
11270
11271 * bindings.el: Revert 2011-07-04 change.
11272
354cf0ba
RS
112732011-07-06 Richard Stallman <rms@gnu.org>
11274
11275 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11276 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11277 Treat markers like ints.
11278 (rmail-mime-entity): Doc fix.
11279
a48868a7
LMI
112802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11281
4906cd3d
LMI
11282 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11283 defcustom again for backwards compatibility.
11284
e0457abe
LMI
11285 * simple.el (shell-command-on-region): Fill.
11286
d67f7e1f
LMI
11287 * dired-aux.el (dired-kill-line): Add a doc string.
11288
fe204702
LMI
11289 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11290 to "\\sw\\|\\s_" (bug#358).
11291
a48868a7
LMI
11292 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11293 (dired-unmark-backward): Ditto.
11294 (dired-flag-backup-files): Ditto.
11295
11296 * dired-x.el (dired-mark-sexp): Ditto.
11297
aa8a705c
RS
112982011-07-06 Richard Stallman <rms@gnu.org>
11299
11300 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11301 (rmail-mime-entity): New arg TRUNCATED.
11302 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11303 New functions.
11304 (rmail-mime-save): Warn if entity is truncated.
11305 (rmail-mime-toggle-hidden): Likewise, for showing.
11306 (rmail-mime-process-multipart): Record when an entity is truncated.
11307
a9a936b9
RS
11308 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11309 if ENTITY is a string.
11310
1f2b92cb
LMI
113112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11312
f4f73198 11313 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11314 of faces when `M-C-x'-ing their definitions (bug#8378).
11315 Also clean up the code slightly.
f4f73198 11316
12b16734 11317 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11318 because that makes the colors go away.
12b16734 11319
f0691d22
LMI
11320 * mail/sendmail.el (send-mail-function): Change the default to
11321 `sendmail-query-once'.
9e87df06 11322 (sendmail-query-once): Add an autoload cookie.
f0691d22 11323
1f2b92cb
LMI
11324 * net/network-stream.el (network-stream-open-starttls): Try using
11325 a plain connection even if the server offered STARTTLS, and we
11326 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11327 capability. This should make smtpmail.el work in slightly more
11328 configurations.
11329
1cdd2a1b
MA
113302011-07-06 Michael Albinus <michael.albinus@gmx.de>
11331
11332 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11333 New defun.
11334 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11335
fbcc67e2
MM
113362011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11337
11338 * progmodes/sql.el: Version 3.0
0757af94 11339 (sql-product-alist): Add product :completion-object,
fbcc67e2 11340 :completion-column, and :statement attributes.
0757af94 11341 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11342 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11343 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11344 ansi keywords.
11345 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11346 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11347 (sql-oracle-show-reserved-words): New function for development.
11348 (sql-product-font-lock): Simplify for source code buffers.
11349 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11350 New functions.
11351 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11352 (sql-mode-map): Add statement movement functions.
11353 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11354 New variable.
fbcc67e2
MM
11355 (sql-statement-regexp, sql-beginning-of-statement)
11356 (sql-end-of-statement, sql-signum): New functions.
0757af94 11357 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11358 (sql-show-sqli-buffer): Bug fix.
11359 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11360 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11361 with sql-interactive-mode.
11362 (sql-save-connection): Save buffer local settings.
0757af94 11363 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11364 (sql-product-interactive): Bug fix.
11365 (sql-preoutput-hold): New variable.
11366 (sql-interactive-remove-continuation-prompt): Bug fixes.
11367 (sql-debug-redirect): New variable.
11368 (sql-str-literal): New function.
11369 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11370 Redesign.
fbcc67e2
MM
11371 (sql-oracle-save-settings, sql-oracle-restore-settings)
11372 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11373 (sql-completion-object, sql-completion-column)
11374 (sql-completion-sqlbuf): New variables.
11375 (sql-build-completions-1, sql-build-completions)
11376 (sql-try-completion): New functions.
11377 (sql-read-table-name): Use them.
11378 (sql-contains-names): New buffer local variable.
11379 (sql-list-all, sql-list-table): Use it.
11380 (sql-oracle-completion-types): New variable.
11381 (sql-oracle-completion-object, sql-sqlite-completion-object)
11382 (sql-postgres-completion-object): New functions.
11383
d4eaeab1
GM
113842011-07-06 Glenn Morris <rgm@gnu.org>
11385
11386 * window.el (pop-to-buffer): Doc fix.
11387
322b7dab 113882011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11389
11390 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11391
322b7dab 113922011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11393
322b7dab 11394 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11395
322b7dab 11396 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11397
605dd5bf
CY
113982011-07-05 Chong Yidong <cyd@stupidchicken.com>
11399
11400 * button.el (button): Inherit from link face. Suggested by Dan
11401 Nicolaescu.
11402
7dbfa719
SM
114032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11404
3db614b0
SM
11405 * progmodes/gdb-mi.el: Fit in 80 columns.
11406 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11407 switch-to-buffer.
11408
7dbfa719
SM
11409 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11410 if imenu is simply not configured (bug#8941).
11411
919d884a
KM
114122011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11413
11414 * allout.el (allout-post-undo-hook): New allout outline-change
11415 event hook to signal undo activity.
11416 (allout-post-command-business): Run allout-post-undo-hook if an
11417 undo just occurred.
7dbfa719
SM
11418 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11419 * allout-widgets.el (allout-widgets-after-undo-function):
11420 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11421 in the vicinity of an undo.
11422 (allout-widgets-mode): Include allout-widgets-after-undo-function
11423 on the new allout-post-undo-hook.
11424
450a0f09
SM
114252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11428 Let define-derived-mode define it.
11429 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11430 cycles of abbrev-table inheritance (bug#8998).
11431
2de69e00
RW
114322011-07-05 Roland Winkler <winkler@gnu.org>
11433
11434 * textmodes/bibtex.el: Add support for biblatex.
11435 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11436 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11437 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11438 (bibtex-entry-alist, bibtex-field-alist): New variables.
11439 (bibtex-entry-field-alist): Obsolete alias for
11440 bibtex-BibTeX-entry-alist.
11441 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11442 (bibtex-set-dialect): New command.
11443 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11444 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11445 Bind via bibtex-set-dialect.
2de69e00
RW
11446 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11447 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11448 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11449 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11450 Define via bibtex-set-dialect.
450a0f09
SM
11451 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11452 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11453 (bibtex-vec-push, bibtex-vec-incr): New functions.
11454 (bibtex-format-entry, bibtex-field-list)
11455 (bibtex-print-help-message, bibtex-validate)
11456 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11457
2dcdbdd9
SM
114582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/compile.el (compilation-goto-locus):
11461 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11462 * bs.el (bs-cycle-next, bs-cycle-previous):
11463 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11464 * bindings.el (mode-line-other-buffer):
11465 * autoinsert.el (auto-insert):
11466 * arc-mode.el (archive-extract):
11467 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11468
b27640fe
JB
114692011-07-05 Juanma Barranquero <lekktu@gmail.com>
11470
11471 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11472 Fix check of `emacs-lock-unlockable-modes'.
11473 Coerce true values of `emacs-lock--try-unlocking' to t.
11474
53bbe3ad
JB
114752011-07-05 Juanma Barranquero <lekktu@gmail.com>
11476
11477 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11478 * emacs-lock.el: New file.
11479
1d3cdbc7
JD
114802011-07-05 Julien Danjou <julien@danjou.info>
11481
11482 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11483 than `boundp' to check if face is set.
11484
9173deec
JB
114852011-07-05 Juanma Barranquero <lekktu@gmail.com>
11486
11487 * register.el (registerv-make):
11488 * window.el (window-min-height): Fix typos in docstrings.
11489
869795d6
JD
114902011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11491
9173deec 11492 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11493 Update doc string.
11494
b768cdcd
JB
114952011-07-04 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * server.el (server-execute): Catch quit and call
11498 `server-return-error' to pass the error back to emacsclient and
11499 close the connection (bug#8942).
11500
13aa217b
KM
115012011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11502
11503 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11504 insecure exception for current topic. Also note that auto-saves
11505 are handled differently.
11506
5d3385a0 11507 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11508 State variables for tracking auto-save inhibition situation.
11509
11510 (allout-write-contents-hook-handler): Rename from
11511 'allout-write-file-hook-handler', and describe how it depends on
11512 write-contents-functions sensitivity to non-nil value to prevent
11513 file write.
11514
11515 (allout-auto-save-hook-handler): Remove. auto-save does not check
11516 this in individual buffers, only in the starting buffer, so this
11517 is not the right way for us to inhibit auto-save in a buffer
11518 according to its condition.
11519
11520 (allout-mode): Use new allout-write-contents-hook-handler, and
11521 only with write-contents-functions. Remove auto-save provisions -
11522 they're implemented elsewhere.
11523
11524 (allout-before-change-handler): If undo is in progress, note that
11525 for attention of allout-post-command-business.
11526
11527 (allout-post-command-business): If the command we're following was
11528 an undo, check for change in the status of encrypted items and
11529 adjust auto-save inhibitions accordingly.
11530
11531 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11532 according to whether there are or aren't any plain-text topics
11533 pending encryption.
11534
2dcdbdd9 11535 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11536 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11537 if there are plain-text topics pending encryption.
13aa217b
KM
11538
11539 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11540 buffer-saved-size and some allout state to not inhibit auto-saves
11541 if there are no longer any plain-text topics pending encryption.
11542
0757af94
SM
11543 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11544 No longer provide for exemption of the current topic.
13aa217b 11545
ac89b32c
JL
115462011-07-04 Juri Linkov <juri@jurta.org>
11547
11548 Add 7z operations to delete and save changed members (bug#8968).
11549 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11550 New defcustoms.
11551 (archive-7z-write-file-member): New function.
11552 (archive-7z-summarize): Fix the number of dashes in the
11553 listing output.
11554
8fa39615
SM
115552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11558 (bug#8958).
11559
2f11b3f1
CY
115602011-07-04 Chong Yidong <cyd@stupidchicken.com>
11561
d66fef2b
CY
11562 * bindings.el: Ignore next-buffer and previous-buffer in
11563 minibuffer-local-map.
11564
2f11b3f1
CY
11565 * font-lock.el (font-lock-builtin-face): Change light background
11566 color to dark slate blue (Bug#6693).
11567
f932a347
WD
115682011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11569
11570 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11571
c8af70e1
SM
115722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11576 Add switch-to-buffer.
11577
f158badc
LMI
115782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11579
11580 * isearch.el (isearch-search-fun-function): Clarify further the
11581 meaning of the function returned.
11582
6d95bd46
MA
115832011-07-04 Michael Albinus <michael.albinus@gmx.de>
11584
11585 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11586
11587 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11588 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11589 Use it.
11590 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11591 `tramp-default-remote-path' does not exist.
11592 (tramp-send-command-and-read): New optional argument NOERROR.
11593 (tramp-open-connection-setup-interactive-shell)
11594 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11595 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11596 (tramp-process-sentinel): Flush also process' connection property.
11597 (tramp-sh-handle-start-file-process): Do not set process
11598 sentinel. It is done now ...
11599 (tramp-maybe-open-connection): ... here. (Bug#8929)
11600
909e6b67
MK
116012011-07-04 MON KEY <monkey@sandpframing.com>
11602
11603 * play/animate.el (animate-string): Doc fixes and allow changing
11604 the buffer name (bug#5417).
11605
116062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11607
c8af70e1 11608 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11609
f34755dc
PE
116102011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11611
396cec72
PE
11612 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11613 This is simpler and helps future-proof the code.
11614 (timer-until): Use time-subtract and float-time.
08235028 11615 (timer--time-less-p): Use time-less-p.
f34755dc 11616
56e6cc31
JB
116172011-07-04 Juanma Barranquero <lekktu@gmail.com>
11618
3abb79e5
JB
11619 * type-break.el (timep): Use the value of `float-time' to avoid a
11620 byte-compiler warning.
11621
56e6cc31
JB
11622 * server.el (server-eval-and-print): Return any result, even nil.
11623
7b9430b4
PE
116242011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11625
11626 * type-break.el: Accept time formats that the builtins accept.
11627 (timep, type-break-time-difference): Accept any format that
11628 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11629 This is simpler and helps future-proof the code.
11630 (type-break-time-difference): Round rather than ignoring
11631 subseconds components.
11632
3034e9e7
LMI
116332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11634
11635 * info.el (Info-apropos-matches): Make non-interactive, since it
11636 doesn't seem to do anything useful as a command (bug#8829).
11637
1485f4c0
CY
116382011-07-03 Chong Yidong <cyd@stupidchicken.com>
11639
11640 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11641 Move from faces.el.
1485f4c0
CY
11642 (frame-default-terminal-background): New function.
11643
11644 * custom.el (custom-push-theme): Don't record faces in `changed'
11645 theme; this doesn't work correctly for per-frame face settings.
11646 (disable-theme): Use face-set-after-frame-default to reset faces.
11647 (custom--frame-color-default): New function.
11648
9fa3dd45
LMI
116492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11650
c8af70e1 11651 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11652 (bug#8769).
11653
6cbbc20c
KR
116542011-03-29 Kevin Ryde <user42@zip.com.au>
11655
11656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11657 `perl-Test2' extend to match possible "fail #N" rep count
11658 (bug#8377).
11659
c7f98048
LMI
116602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11661
65676592
LMI
11662 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11663 `smtpmail-via-smtp' now returns the error instead of nil.
11664
c7f98048
LMI
11665 * isearch.el (isearch-search-fun-function): Clarify the doc string
11666 (bug#8101).
11667
56e6cc31 116682011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11669
11670 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11671 unnecessary spaces (bug#8987).
11672
2b216704
LMI
116732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11674
11675 * net/network-stream.el (open-network-stream): Use the
11676 :end-of-capability command thoughout.
11677
116782011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11679
11680 * net/network-stream.el (open-network-stream): Add the
11681 :end-of-capability command parameter, used by pop3.el.
11682
36adf6ce
LMI
116832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11684
1ca0da0e
LMI
11685 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11686
fc00f69c
LMI
11687 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11688 for list)" (bug#6475).
11689
28fd8759 11690 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11691 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11692 an error (bug#6297).
11693
0dd8b6da
LMI
11694 * man.el (Man-reference-regexp): Allow matching possible
11695 word-wrapped references (bug#6289).
11696
ce1438d6
LMI
11697 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11698 for consistency with the other vc buffers (bug#6197).
11699 (vc-checkin): Ditto.
11700
11701 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11702
36adf6ce
LMI
11703 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11704
e83cc1f7
LMI
117052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11706
8a20ca4c
LMI
11707 * custom.el (defcustom): Clarify that :set is only used in the
11708 Customize user interface (bug#6089).
11709
83319045
LMI
11710 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11711 associated with a file, refuse to run instead of erroring out
11712 (bug#6084).
11713
a8392169
LMI
11714 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11715 the doc string, since it appears that using `fill-column' always
11716 controls the width (bug#7845).
11717
e83cc1f7
LMI
11718 * simple.el (shell-command-on-region): Say where the error output
11719 went if `shell-command-default-error-buffer' is set (bug#6857).
11720
e47ca23b
KM
117212011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11722
11723 * allout.el (allout-yank-processing): Adjust cursor position for
11724 backwards-deleted space.
11725
11726 (allout-rebullet-heading): Register changes with
11727 allout-exposure-changed-hook, so the modified topic is properly
11728 decorated.
11729
5cf56143
LMI
117302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11731
08549772
LMI
11732 * minibuffer.el (completion-in-region): Document PREDICATE
11733 (bug#7136).
11734
48e96771
LMI
11735 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11736 of keyword/argument pairs (bug#6904).
11737
c8af70e1
SM
11738 * replace.el (multi-occur):
11739 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11740
e17d05e2
LMI
117412011-07-02 Drew Adams <drew.adams@oracle.com>
11742
11743 * dired.el (dired-mark-if): Make the message about whether it's
11744 marking or unmarking clearer (bug#8523).
11745
063b0e45
LMI
117462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747
11748 * disp-table.el (display-table-print-array): New function.
11749 (describe-display-table): Use it to print the vectors more pretty
11750 (Bug#8859).
11751
28545e04
MR
117522011-07-02 Martin Rudalics <rudalics@gmx.at>
11753
11754 * window.el (window-state-get-1): Don't assign clone numbers.
11755 Add clone-of item to list of window parameters.
11756 (window-state-put-2): Don't process clone numbers.
11757 (display-buffer-alist): Fix doc-string.
11758
3349e122
SM
117592011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * subr.el (remq): Don't allocate if it's not needed.
11762 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11763 (keymap--merge-bindings): New functions.
11764 (keymap-canonicalize): Use them to refine the canonicalization.
11765 * minibuffer.el (minibuffer-local-completion-map)
11766 (minibuffer-local-must-match-map): Move initialization from C.
11767 (minibuffer-local-filename-completion-map): Move initialization from C;
11768 don't inherit from anything here.
11769 (minibuffer-local-filename-must-match-map): Make obsolete.
11770 (completing-read-default): Use make-composed-keymap to combine
11771 minibuffer-local-filename-completion-map with either
11772 minibuffer-local-must-match-map or
11773 minibuffer-local-filename-completion-map.
11774
d224ac83
GM
117752011-07-01 Glenn Morris <rgm@gnu.org>
11776
3de63bf8
GM
11777 * type-break.el (type-break-time-sum): Use dolist.
11778
d224ac83
GM
11779 * textmodes/flyspell.el (flyspell-word-search-backward):
11780 Replace CL function.
11781
1a1e3f32
SM
117822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11783
fe3f64d5
SM
11784 * mouse.el (mouse--strip-first-event): New function.
11785 (function-key-map): Use it to map fringe clicks to normal clicks
11786 by default.
11787
eb604e34
SM
11788 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11789 (vc-bzr-revision-completion-table): Add support for annotate and date.
11790
1a1e3f32
SM
11791 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11792 inherit from parent.
11793
5bd35902
LMI
117942011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11795
ace6c69c 11796 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11797 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11798
191e2bed
LMI
11799 * dired.el (dired-mode): Fix up the doc string as suggested by
11800 Drew Adams (bug#8817).
11801
5bd35902
LMI
11802 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11803 cookie, since the manual says that it should be possible to add
11804 this function to `find-file-hook' (bug#8709).
11805
eee8207a
TZ
118062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11807
11808 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11809 here. Noted Ted Zlatanov as the maintainer.
11810 (cfengine-common-settings, cfengine-common-syntax): New functions
11811 to set up common things between `cfengine-mode' and
11812 `cfengine3-mode'.
11813 (cfengine3-mode): New mode.
11814 (cfengine3-defuns cfengine3-defuns-regex
11815 (cfengine3-class-selector-regex cfengine3-category-regex)
11816 (cfengine3-vartypes cfengine3-font-lock-keywords)
11817 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11818 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11819
36b148cf
MA
118202011-07-01 Michael Albinus <michael.albinus@gmx.de>
11821
11822 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11823
11824 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11825
0bf4ba9a
MR
118262011-07-01 Martin Rudalics <rudalics@gmx.at>
11827
11828 * window.el (same-window-buffer-names, same-window-regexps)
11829 (same-window-p, special-display-frame-alist)
11830 (special-display-popup-frame, special-display-function)
11831 (special-display-buffer-names, special-display-regexps)
11832 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11833 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11834 (split-window-preferred-function, split-height-threshold)
11835 (split-width-threshold, even-window-heights)
11836 (display-buffer-mark-dedicated, window-splittable-p)
11837 (split-window-sensibly, window-safely-shrinkable-p):
11838 Un-obsolete.
11839 (display-buffer): Don't spread args with function specifier
11840 because special-display-popup-frame won't like it.
11841
35837f51
PE
118422011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11843
d0672f86
PE
11844 Time-stamp simplifications and fixes.
11845 These improve accuracy slightly, and future-proof the code
11846 against some potential changes to current-time format.
11847
b9444d97
PE
11848 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11849 by using time-since and float-time.
11850
0ef923dc
PE
11851 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11852 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11853 + NNN microseconds".
11854
2f81380d
PE
11855 * type-break.el (type-break-time-sum): Rewrite using time-add.
11856
845b5c3e
PE
11857 * play/hanoi.el (hanoi-current-time-float): Remove.
11858 All uses replaced by float-time.
11859
ee6f1be0
PE
11860 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11861 This yields a more-accurate answer.
11862 (rng-time-to-float): Remove; no longer needed.
11863
fe955043
PE
11864 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11865
5777162a
PE
11866 * calendar/timeclock.el (timeclock-seconds-to-time):
11867 Defalias to seconds-to-time, since they're the same thing.
11868
3103f8b6 11869 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11870 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11871 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11872
0e61a35f
SM
118732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * window.el (bury-buffer): Don't iconify the only frame.
11876 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11877 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11878
ddd63a1e
CY
118792011-07-01 Chong Yidong <cyd@stupidchicken.com>
11880
0e61a35f
SM
11881 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11882 Add mouse-yank-primary.
ddd63a1e 11883
055f4923
TZ
118842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11885
11886 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11887
6a2fb145
SM
118882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11891 (find-library-name): Use it to find relative load names when provided
11892 absolute file name (bug#8803).
11893
fd4983f2
LMI
118942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11895
887d14ad
LMI
11896 * textmodes/flyspell.el (flyspell-word): Consider words that
11897 differ only in case as potential doublons (bug#5687).
11898
c53dc7fc
LMI
11899 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11900 Remove two rather uninteresting debugging-like messages to make
11901 debbugs.el more silent.
11902
fd4983f2
LMI
11903 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11904 a password-like phrase.
11905
7a71b18d 119062011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11907
11908 * progmodes/cc-guess.el: New file.
11909
6a2fb145 11910 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11911
11912 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11913 derived from `c-basic-common-init'.
11914
11915 * progmodes/cc-mode.el (top-level): Require cc-guess.
11916 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11917
1fa280a3
LM
119182011-06-30 Lawrence Mitchell <wence@gmx.li>
11919
11920 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11921
e6597158
AM
119222011-06-30 Alan Mackenzie <acm@muc.de>
11923
1fa280a3
LM
11924 * progmodes/cc-engine.el (c-guess-continued-construct):
11925 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11926 lock is disabled. Name this case as "CASE G".
11927
68ba37fb
KM
119282011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11929
11930 * allout.el (allout-yank-processing): Fix injection of extra space
11931 between bullet and non-whitespace character in first topic when
11932 pasting, ensuring that the actual spacing in the pasted topic
11933 following the bullet char is preserved. This extra space was
11934 causing pasted encrypted topics to get a decrypted status even
11935 when the content was actually still encrypted. Now the decryption
11936 status from before the paste is preserved.
11937
11938 (allout-flag-region): Set all allout overlays so they evaporate
11939 when reduced to zero length (evanescent), to prevent overlay
11940 leakage.
11941
887a0b34
GM
119422011-06-30 Glenn Morris <rgm@gnu.org>
11943
94b9acce
GM
11944 * w32-fns.el (w32-charset-info-alist): Declare.
11945
1d9b46d4
GM
11946 * find-dired.el (find-grep-options): Simplify.
11947
cc232200
GM
11948 * term/ns-win.el (ns-set-resource): Declare.
11949
28e77c46
GM
11950 * ses.el (row, col): Declare dynamic variables honestly.
11951
887a0b34
GM
11952 * textmodes/reftex-parse.el (index-tags): Declare.
11953
658d8eb8
CY
119542011-06-30 Chong Yidong <cyd@stupidchicken.com>
11955
11956 * cus-edit.el (customize-push-and-save): New function.
11957
11958 * files.el (hack-local-variables-confirm): Use it.
11959
1fa280a3
LM
11960 * custom.el (load-theme): New arg NO-CONFIRM.
11961 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11962 (custom-enabled-themes): Doc fix.
11963
11964 * cus-theme.el (customize-create-theme)
11965 (custom-theme-merge-theme): Callers to load-theme changed.
11966
bb617717
LMI
119672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11968
d61bdd5d
LMI
11969 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11970 short URLs have at least one dot in them (bug #7614).
11971
bb617717
LMI
11972 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11973 nil, because using a pty is apparently too slow (bug #895).
11974
2f31f37a
LMI
119752011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11976
11977 * mail/sendmail.el (sendmail-query-once): New function.
11978 (sendmail-query-once-function): New variable.
11979
3076b24e
GM
119802011-06-29 Glenn Morris <rgm@gnu.org>
11981
faf2a174
GM
11982 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11983
3076b24e
GM
11984 * ses.el (top-level): Require cl when compiling.
11985 (ses-set-localvars): Fix error statement.
11986 Call it at compile time to silence a storm of warnings.
11987
5386012d
MR
119882011-06-29 Martin Rudalics <rudalics@gmx.at>
11989
11990 * window.el (normalize-live-buffer): Rename to
11991 window-normalize-buffer.
11992 (normalize-live-frame): Rename to window-normalize-frame.
11993 (normalize-any-window): Rename to window-normalize-any-window.
11994 (normalize-live-window): Rename to window-normalize-live-window.
11995 (make-window-atom): Rename to window-make-atom.
11996 (window-resize-reset): Rename to window--resize-reset.
11997 (window-resize-reset-1): Rename to window--resize-reset-1.
11998 (resize-mini-window): Rename to window--resize-mini-window.
11999 (resize-subwindows-skip-p): Rename to
12000 window--resize-subwindows-skip-p.
12001 (resize-subwindows-normal): Rename to
12002 window--resize-subwindows-normal.
12003 (resize-subwindows): Rename to window--resize-subwindows.
12004 (resize-other-windows): Rename to window--resize-siblings.
12005 (resize-this-window): Rename to window--resize-this-window.
12006 (resize-root-window): Rename to window--resize-root-window.
12007 (resize-root-window-vertically): Rename to
12008 window--resize-root-window-vertically.
12009 (normalize-buffer-to-display): Rename to
12010 window-normalize-buffer-to-display.
12011 (normalize-buffer-to-switch-to): Rename to
12012 window-normalize-buffer-to-switch-to.
12013 Correspondingly update all callers of the functions listed
12014 above.
12015 (display-buffer-alist, display-buffer-normalize-arguments)
12016 (display-buffer-normalize-options, display-buffer)
12017 (display-buffer-alist-set): Use "function" instead of
12018 "fun-with-args".
12019
1176868d
CY
120202011-06-28 Chong Yidong <cyd@stupidchicken.com>
12021
12022 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12023 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12024 debbugs.gnu.org. Mention acknowledgment email.
12025
20a7a65f
LMI
120262011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
12028 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12029 buffer multibyteness, since it shouldn't matter.
12030
5f45cca5
MR
120312011-06-28 Martin Rudalics <rudalics@gmx.at>
12032
12033 * window.el (display-buffer-in-side-window): Handle dedicated
12034 windows as in display-buffer-reuse-window.
12035 (display-buffer-normalize-alist): Use value of override
12036 specifier.
12037 (display-buffer-normalize-specifiers): Use value of
12038 other-window-means-other-frame specifier.
12039 (display-buffer-alist): Rewrite some texts in widgets.
12040 (display-buffer): Spread arguments when calling function
12041 specified by fun-with-args.
12042
ad85fe1f
DD
120432011-06-28 Deniz Dogan <deniz@dogan.se>
12044
1fa280a3
LM
12045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12046 Unnest `let'.
da68c4c8 12047
ad85fe1f
DD
12048 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12049 selectors (Bug#5732).
ec49bd31 12050 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12051
a08cc025
JA
120522011-06-27 Jari Aalto <jari.aalto@cante.net>
12053
12054 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12055 (eshell-ls-date-format): New defcustom.
12056 (eshell-ls-file): Use it.
12057
e2b551c5
SM
120582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12061
8982b231
KY
120622011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12063
12064 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12065 (ange-ftp-make-tmp-name): New arg.
12066 (ange-ftp-file-local-copy): Use it.
12067
36c9fa27
J
120682011-06-27 Jambunathan K <kjambunathan@gmail.com>
12069
12070 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12071 no-conversion (Bug#8870).
12072
d68443dc
MR
120732011-06-27 Martin Rudalics <rudalics@gmx.at>
12074
12075 * window.el (window-right, window-left, window-child)
12076 (window-child-count, window-last-child)
12077 (window-iso-combination-p, walk-window-tree-1)
12078 (window-atom-check-1, window-tree-1, delete-window)
12079 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12080 new naming conventions - window-vchild, window-hchild,
12081 window-next and window-prev are now called window-top-child,
12082 window-left-child, window-next-sibling and window-prev-sibling
12083 respectively.
d615d6d2
MR
12084 (resize-window-reset): Rename to window-resize-reset.
12085 (resize-window-reset-1): Rename to window-resize-reset-1.
12086 (resize-window): Rename to window-resize.
12087 (window-min-height, window-min-width)
12088 (resize-mini-window, resize-this-window, resize-root-window)
12089 (resize-root-window-vertically, adjust-window-trailing-edge)
12090 (enlarge-window, shrink-window, maximize-window)
12091 (minimize-window, delete-window, quit-restore-window)
12092 (split-window, balance-windows, balance-windows-area-adjust)
12093 (balance-windows-area, window-state-put-2)
12094 (display-buffer-even-window-sizes, display-buffer-set-height)
12095 (display-buffer-set-width, set-window-text-height)
12096 (fit-window-to-buffer): Rename all "resize-window" prefixed
12097 calls to use the "window-resize" prefix convention.
12098 (display-buffer-alist): Fix symbol for label specifier.
12099 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12100 corresponding specifier.
12101 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12102
b6458526
VB
121032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12104
12105 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12106 convention.
12107 (ses-call-printer): Does not pass an empty string to formatter when the
12108 cell is empty to keep from barking printer Calc math-format-value.
12109
d31fd9ac
RS
121102011-06-27 Richard Stallman <rms@gnu.org>
12111
43d5bf84
RS
12112 * battery.el (battery-mode-line-limit): New variable.
12113 (battery-update): Handle it.
12114
d31fd9ac
RS
12115 * mail/rmailmm.el (rmail-mime-process-multipart):
12116 Handle truncated messages.
12117
819a6054
GM
121182011-06-27 Glenn Morris <rgm@gnu.org>
12119
12120 * progmodes/flymake.el (flymake-err-line-patterns):
12121 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12122
cedc73f2
VB
121232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12124
819a6054 12125 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12126 (ses--clean-!, ses--clean-_): New functions.
12127 (ses-range): Add configurability of readout order, and conversion
12128 to Calc vector.
12129
5e5d49b6
VB
12130 * ses.el (ses-repair-cell-reference-all): New function.
12131 (ses-cell-symbol): Set macro as safe, so that it can be used in
12132 formulas.
12133
56e6cc31 12134 * ses.el: Update cycle detection algorithm.
90ca8b49 12135 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12136 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12137 (ses-set-localvars): New function.
12138 (ses-make-cell): Add property-list as a cell element.
12139 (ses-cell-property-get-fun, ses-cell-property-get)
12140 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12141 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12142 New functions.
90ca8b49
VB
12143 (ses-cell-property-set, ses-cell-property-pop)
12144 (ses-cell-property-get-handle): New macro.
12145 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12146 New aliases, used for code readability.
12147 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12148 cycle detection.
12149 (ses-self-reference-early-detection): New defcustom.
fac916bf 12150 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12151 (ses-mode): Use ses-set-localvars.
12152 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12153 before lauching the update processing.
12154 (ses-initialize-Dijkstra-attempt): New function.
12155 (ses-recalculate-cell): Update for cycle detection based on
12156 Dijkstra algorithm.
12157
2bb63e81
VB
12158 * ses.el: Fix commenting and indenting convention.
12159
c9d29fb8
SM
121602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * bs.el (bs-cycle-next): Complete last change.
12163
d8e4b68b
JB
121642011-06-27 Drew Adams <drew.adams@oracle.com>
12165
12166 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12167
40098786
LMI
121682011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12169
c9d29fb8
SM
12170 * net/network-stream.el (network-stream-open-starttls):
12171 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12172 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12173
40098786
LMI
12174 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12175 to binary to possibly avoid line encoding issues on Windows (among
12176 other things).
12177
468d09d4
LMI
121782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12179
12180 * net/network-stream.el (open-network-stream): Return an :error
12181 saying what the problem was, if possible.
12182
12183 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12184 server.
12185
12186 * net/network-stream.el (network-stream-open-starttls): If we
12187 wanted to use STARTTLS, and the server offered it, but we weren't
12188 able to because we had no STARTTLS support, then close the connection.
12189 (open-network-stream): Return an :error element, if present.
12190
16f07dd7
CY
121912011-06-26 Chong Yidong <cyd@stupidchicken.com>
12192
88821ca0
CY
12193 * hl-line.el (hl-line-sticky-flag): Doc fix.
12194 (global-hl-line-sticky-flag): New option (Bug#8323).
12195 (global-hl-line-highlight): Obey it.
12196
16f07dd7
CY
12197 * vc/vc.el (vc-revert-show-diff): Default to t.
12198
6b5ccddf
KM
121992011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12200
c9d29fb8
SM
12201 * allout-widgets.el (allout-widgets-post-command-business):
12202 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12203 undecorated when an isearch is continued past, and isearch
12204 automatically collapses them. This leads to "widget leaks", where
12205 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12206 hidden widgets can slow down cursor travel, substantially.
12207 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12208 so we're doing without this nicety.
12209
12210 (allout-widgets-tally-string): Don't try to do a hash-table-count
12211 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12212 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12213 *Messages* when allout-widgets-maintain-tally is t.
12214
355f2e07
MR
122152011-06-26 Martin Rudalics <rudalics@gmx.at>
12216
12217 * window.el (display-buffer-normalize-argument): Rename to
12218 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12219 LABEL argument. Respect special-display-function when popping up
12220 a new frame. Fix code searching for a window showing the buffer
12221 on another frame.
c9d29fb8
SM
12222 (display-buffer-normalize-specifiers):
12223 Call display-buffer-normalize-arguments.
355f2e07
MR
12224 (display-buffer-in-window): Don't undedicate the window if its
12225 buffer remains the same.
12226 Reported by Drew Adams <drew.adams@oracle.com>.
12227 (display-buffer-alist): Add choice for same-window macro
12228 specfier.
12229 (display-buffer): Mention special meaning of LABEL argument in
12230 doc-string. Fix quoting. Don't pop up a new frame even as
12231 fallback.
12232
7ca8fc42
JB
122332011-06-26 Juanma Barranquero <lekktu@gmail.com>
12234
12235 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12236 avoid deleting the current window in some cases (bug#8911).
12237
bc312254
AS
122382011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12239
12240 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12241 (Bug#8934)
12242
2db18f3f
LMI
122432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
c9d29fb8
SM
12245 * net/network-stream.el (network-stream-open-starttls):
12246 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12247 (network-stream-open-tls): Ditto.
12248
6302e0d3
LL
122492011-06-26 Leo Liu <sdl.web@gmail.com>
12250
12251 * register.el (registerv): New struct.
12252 (registerv-make): New function.
c9d29fb8
SM
12253 (jump-to-register, describe-register-1, insert-register):
12254 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12255 struct. (Bug#8415)
12256
5fdd4046
CY
122572011-06-26 Chong Yidong <cyd@stupidchicken.com>
12258
2afef60a
CY
12259 * vc/vc.el (vc-revert-show-diff): New defcustom.
12260 (vc-diff-internal): New arg specifying diff buffer.
12261 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12262 reuse an existing *vc-diff* buffer (Bug#8927).
12263
5fdd4046
CY
12264 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12265
e93db24a
GM
122662011-06-26 Glenn Morris <rgm@gnu.org>
12267
12268 * progmodes/f90.el (f90-critical-indent): New option.
12269 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12270 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12271 (f90-mode): Doc fix.
12272 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12273 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12274 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12275 (f90-match-end): Handle block, critical.
12276
eefff499
GM
122772011-06-25 Glenn Morris <rgm@gnu.org>
12278
f6ba4cc9
GM
12279 * calendar/diary-lib.el (diary-included-files): Doc fix.
12280 (diary-include-files): New function, extracted from
12281 diary-include-other-diary-files and diary-mark-included-diary-files.
12282 (diary-include-other-diary-files, diary-mark-included-diary-files):
12283 Just call diary-include-files.
12284 (diary-mark-entries): Reset diary-included-files on first call.
12285
16712304
GM
12286 * calendar/diary-lib.el (diary-mark-entries)
12287 (diary-mark-included-diary-files):
12288 Visit included diary-files in temp buffers.
12289
5d8e0d43
GM
12290 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12291 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12292 (f90-start-block-re, f90-imenu-generic-expression)
12293 (f90-looking-at-program-block-start, f90-no-block-limit):
12294 Add support for submodules.
12295
ccf7a5d5
GM
12296 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12297 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12298
11fdef7d 122992011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12300
12301 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12302 buffer-file-type before setting its value, to avoid disastrous
eefff499 12303 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12304
74f53697
JB
123052011-06-25 Juanma Barranquero <lekktu@gmail.com>
12306
12307 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12308
12309 * ses.el (ses-unload-function):
12310 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12311
12312 * proced.el (proced-unload-function):
12313 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12314
18a4ce5e
AR
123152011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12316
12317 * server.el (server-create-window-system-frame): Add parameters arg.
12318 (server-process-filter): Doc fix. Handle frame-parameters.
12319
519d22cc
JB
123202011-06-25 Juanma Barranquero <lekktu@gmail.com>
12321
12322 Fix bug#8730, bug#8781.
12323
12324 * loadhist.el (unload--set-major-mode): New function.
12325 (unload-feature): Use it.
12326
12327 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12328 (python-unload-function): New function.
12329
c206f5b0
SM
123302011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12333
f9ad64f3
GS
123342011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12335
12336 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12337 the candidates list.
12338
7d0da90e
JB
123392011-06-24 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12342
14b4e83d
RS
123432011-06-23 Richard Stallman <rms@gnu.org>
12344
12345 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12346 (rmail-variables): Set next-error-move-function.
12347 (rmail-what-message): Take argument POS.
12348 (rmail-next-error-move): New function.
12349
273d2baf
SM
123502011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12353 messages for adjacent non-terminals.
12354
56c2cc9a
RS
123552011-06-23 Richard Stallman <rms@gnu.org>
12356
12357 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12358 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12359 (rmail-start-mail): Don't specify use of rmail-mail-return;
12360 that's done by mail-bury now.
12361 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12362
d59eb518
MA
123632011-06-23 Michael Albinus <michael.albinus@gmx.de>
12364
12365 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12366 SIZE is a number.
12367
02cfc6d6
MR
123682011-06-23 Martin Rudalics <rudalics@gmx.at>
12369
12370 * window.el (get-lru-window, get-mru-window)
12371 (get-largest-window): Never return a minibuffer window.
12372 (display-buffer-pop-up-window): Fix a bug that could lead to
12373 reusing the minibuffer window.
12374 (display-buffer): Pass original specifier argument to
12375 display-buffer-function instead of the normalized one.
12376 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12377
4e323265
LL
123782011-06-22 Leo Liu <sdl.web@gmail.com>
12379
12380 * minibuffer.el (completing-read-function)
12381 (completing-read-default): Move from minibuf.c
12382
7a70468f
RS
123832011-06-22 Richard Stallman <rms@gnu.org>
12384
50718fc2
RS
12385 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12386 to Rmail even if not started by a special Rmail command.
12387
7a70468f
RS
12388 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12389 Copy the buffer currently showing just one message.
12390
297dde5a
RW
123912011-06-22 Roland Winkler <winkler@gnu.org>
12392
12393 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12394 (bibtex-clean-entry): First delete the old key so that a
12395 customized algorithm for generating the new key does not get
12396 confused by the old key.
12397 (bibtex-url): Obey regexp of first step.
12398 (bibtex-search-entries): Do not use add-to-list with local
12399 list-var.
12400
97bb1093
LMI
124012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12402
12403 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12404 stored a user name, then query for the password first, instead of
12405 waiting for SMTP to give an error message and the trying again.
12406
1c0f1a19
JD
124072011-06-22 Lawrence Mitchell <wence@gmx.li>
12408
12409 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12410 BUFFER in call-process.
12411
396f7c9d
LMI
124122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12413
12414 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12415 QUIT twice.
ddb7ffee
LMI
12416 (smtpmail-try-auth-methods): Require user name and password from
12417 auth-source.
396f7c9d 12418
8998d1b3
MR
124192011-06-22 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (display-buffer-default-specifiers)
12422 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12423 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12424 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12425
12426 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12427 (special-display-frame-alist, special-display-popup-frame):
12428 Remove duplicate declarations. These are now in window.el.
12429
4ea31e07
LMI
124302011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12431
c9d29fb8
SM
12432 * mail/smtpmail.el (smtpmail-via-smtp):
12433 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12434 server supports it. SMTP servers that support STARTTLS commonly
12435 require it.
12436
12437 * net/network-stream.el (network-stream-open-starttls): Support
12438 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12439 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12440
95f41d9a
LMI
12441 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12442 upgrades with `open-network-stream', and rely solely on
12443 auth-source for all credentials. Big changes throughout the file,
12444 but in particular:
c9d29fb8
SM
12445 (smtpmail-auth-credentials): Remove.
12446 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12447 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12448 MAIL FROM, too.
95f41d9a 12449
c9d29fb8
SM
12450 * net/network-stream.el (network-stream-open-starttls):
12451 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12452 STARTTLS.
12453 (auth-source): Require.
12454 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12455 (network-stream-certificate): Change cert-cert to cert and
12456 cert-key to key.
4ea31e07 12457
065ec2c7
MA
124582011-06-21 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * net/tramp-cache.el (top): Don't load the persistency file when
12461 "emacs -Q" has been called.
12462
cd93b359
DR
124632011-06-21 Tim Harper <timcharper@gmail.com>
12464
d8e4b68b
JB
12465 * term/ns-win.el (ns-initialize-window-system):
12466 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12467 resource to NO as it is not yet supported by the NS port.
12468
ae9c0411
JB
124692011-06-21 Juanma Barranquero <lekktu@gmail.com>
12470
12471 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12472 (list-dynamic-libraries): ...not here.
12473
7f3f739f
LL
124742011-06-21 Leo Liu <sdl.web@gmail.com>
12475
12476 * subr.el (sha1): Implement sha1 using secure-hash.
12477
327c8fb1
MR
124782011-06-21 Martin Rudalics <rudalics@gmx.at>
12479
12480 * window.el (display-buffer-alist): In default value do not
12481 enforce searching a window on any but the selected frame.
12482 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12483 (display-buffer-select-window): Remove function.
12484 (display-buffer-in-window): When a window on another frame gets
12485 reused, do not select it any more but just raise its frame if
12486 necessary (Bug#8851) and (Bug#8856).
12487 (display-buffer-normalize-options): Handle pop-up-frames related
12488 options more faithfully.
12489 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12490 window if it is on another frame.
c9d29fb8
SM
12491 (display-buffer-alist, display-buffer-default-specifiers):
12492 Don't make new frame unsplittable by default.
9e9de014
MR
12493 (display-buffer-normalize-argument): Fix doc-string typo and use
12494 'same-frame-other-window instead of 'other-window when associating
12495 with display-buffer-macro-specifiers.
327c8fb1 12496
7cf3f556
VB
124972011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12498
12499 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12500 New functions.
12501 (5x5-mode-map, 5x5-mode-menu): Bind them.
12502 (5x5-draw-grid): Tweak the solver's rendering.
12503
60a406cf
SM
125042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12507 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12508
d8e4b68b 125092011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12510
12511 * menu-bar.el: Use function variable instead of switch-to-buffer.
12512 (menu-bar-select-buffer-function): New variable.
60a406cf 12513 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12514
478d6f95
SM
125152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12518 variable's status.
12519
ca530739
JD
125202011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12521
12522 * x-dnd.el (x-dnd-version-from-flags)
12523 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12524 and long as number (Bug#8899).
12525 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12526
bcd70d97
SM
125272011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12528
60a406cf 12529 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12530 (completion-try-completion, completion-all-completions): Compute the
12531 metadata argument if it's missing; make it optional (bug#8795).
12532
60a406cf 12533 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12534 (widget-complete): Use new :completion-function property.
12535 (widget-completions-at-point): New function.
12536 (default): Use :completion-function instead of :complete.
60a406cf
SM
12537 (widget-default-completions): Rename from widget-default-complete;
12538 Rewrite.
bcd70d97
SM
12539 (widget-string-complete, widget-file-complete, widget-color-complete):
12540 Remove functions.
12541 (file, symbol, function, variable, coding-system, color):
12542 * international/mule-cmds.el (default-input-method, charset)
12543 (language-info-custom-alist):
12544 * cus-edit.el (face): Use new property :completions.
12545
12546 * progmodes/pascal.el (pascal-completions-at-point): New function.
12547 (pascal-mode): Use it.
12548 (pascal-mode-map): Use completion-at-point.
12549 (pascal-toggle-completions): Make obsolete.
12550 (pascal-complete-word, pascal-show-completions):
12551 * progmodes/octave-mod.el (octave-complete-symbol):
12552 Redefine as obsolete alias.
12553 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12554 Signal absence of completion info for old Octave,
12555 (inferior-octave-complete): Redefine as obsolete alias.
12556 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12557 (meta-completions-at-point): Rename from meta-complete-symbol and
12558 adapt it for use on completion-at-point-functions.
12559 (meta-common-mode): Use it.
12560 (meta-looking-at-backward, meta-match-buffer): Remove.
12561 (meta-complete-symbol): Redefine as obsolete alias.
12562 (meta-common-mode-map): Use completion-at-point.
12563 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12564 (makefile-mode-map): Use completion-at-point.
12565 (makefile-completions-at-point): Rename from makefile-complete and
12566 adapt it for use on completion-at-point-functions.
12567 (makefile-mode): Use it.
12568 (makefile-complete): Redefine as obsolete alias.
12569
aebf69c8
DD
125702011-06-20 Deniz Dogan <deniz@dogan.se>
12571
12572 * net/rcirc.el: Delete trailing whitespaces once and for all.
12573
bfbbb27d
DC
125742011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12575
12576 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12577
d264a46b
CY
125782011-06-19 Chong Yidong <cyd@stupidchicken.com>
12579
4ca009e5
CY
12580 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12581
d264a46b
CY
12582 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12583
fbf5b3ce
MR
125842011-06-19 Martin Rudalics <rudalics@gmx.at>
12585
12586 * window.el (display-buffer-other-window-means-other-frame):
12587 Call display-buffer-normalize-alist.
12588 (display-buffer-normalize-specifiers-1): Rename to
12589 display-buffer-normalize-argument. New argument other-frame.
12590 Rewrite.
12591 (display-buffer-normalize-specifiers-2): Rename to
12592 display-buffer-normalize-options.
12593 (display-buffer-normalize-alist-1): New function.
12594 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12595 display-buffer-normalize-alist.
12596 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12597 (display-buffer-normalize-options-inhibit): New variable.
12598 (display-buffer-normalize-specifiers): Rewrite calling
12599 display-buffer-normalize-alist,
12600 display-buffer-normalize-argument, and
12601 display-buffer-normalize-options. Don't call the latter if
12602 display-buffer-normalize-options-inhibit is non-nil.
12603 (frame-auto-delete): New option.
12604 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12605 (window-list-no-nils, window-state-ignored-parameters)
12606 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12607 (window-state-put-1, window-state-put-2, window-state-put):
12608 New functions.
9a028c23
MR
12609 (display-buffer-normalize-options): Move special-display-p group
12610 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12611
6d10d800
CY
126122011-06-18 Chong Yidong <cyd@stupidchicken.com>
12613
6420d28b
CY
12614 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12615 groups (Bug#8776).
12616 (rx-submatch-n): New function.
12617 (rx): Document it.
12618
ddb8b596
CY
12619 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12620 (Bug#8768).
12621
12622 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12623
77080289
CY
12624 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12625
61dfb316
CY
12626 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12627 anytime existing face settings are present (Bug#8889).
12628
6d10d800
CY
12629 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12630 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12631 Remove unused argument.
12632
be3fb2b8
MR
126332011-06-18 Martin Rudalics <rudalics@gmx.at>
12634
bcd70d97
SM
12635 * window.el (display-buffer-default-specifiers):
12636 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12637 pop-up-window-min-width, and another reuse-window specifier
12638 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12639 (display-buffer-normalize-specifiers-2):
12640 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12641 pop-up-windows is unset. Add a reuse-window specifier for the
12642 case popping up a new window fails.
12643 (special-display-popup-frame): Remove double quoting.
28dec25a 12644 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12645
1c6d8c76
SM
126462011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12649 according to comint-completion-addsuffix.
12650
12651 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12652 (pcomplete-suffix-list): Mark as obsolete.
12653 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12654 pcomplete-seen in the closure.
12655 (pcomplete-comint-setup): Setup completion-at-point as well.
12656 (pcomplete--entries): New function.
12657 (pcomplete--env-regexp): New var.
12658 (pcomplete-entries): Rewrite to work with partial-completion and
12659 without relying on pcomplete-suffix-list.
12660 (pcomplete-pare-list): Remove, unused.
12661
25aef8b8
MR
126622011-06-17 Martin Rudalics <rudalics@gmx.at>
12663
12664 * window.el (display-buffer-alist): Set pop-up-window-min-height
12665 and pop-up-window-min-width in default value. Reported by
12666 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12667 other-window-means-other-frame.
12668 (display-buffer-macro-specifiers): Comment out entry for
12669 other-window specifier.
12670 (display-buffer-other-window-means-other-frame): New function.
12671 (display-buffer-normalize-specifiers-1): New arguments
12672 buffer-name and label. Treat other-window case specially.
12673 (display-buffer-normalize-specifiers-2): Treat other-window case
12674 specially.
12675 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12676 (display-buffer-normalize-specifiers):
12677 Call display-buffer-normalize-specifiers-3.
25aef8b8 12678
dbad4f69
MR
126792011-06-17 Martin Rudalics <rudalics@gmx.at>
12680
12681 * window.el (same-window-p): Fix two typos introduced when
12682 adding with-no-warnings.
d1067961
MR
12683 (display-buffer-normalize-specifiers-1): Don't check
12684 pop-up-frames for 'unset initialization.
12685 (display-buffer-normalize-specifiers-2): Major rewrite using
12686 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12687 (pop-up-frames, display-buffer-reuse-frames)
12688 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12689 Suggested by David Engster <deng@randomsample.de>.
12690 (even-window-heights): Initialize to 'unset.
12691 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12692 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12693 other window case.
dbad4f69 12694
9b9c9e3a
MR
126952011-06-16 Martin Rudalics <rudalics@gmx.at>
12696
bcd70d97
SM
12697 * window.el (display-buffer-normalize-specifiers-1):
12698 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12699 second argument of display-buffer (Bug#8865).
981d5c09
MR
12700 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12701 (switch-to-buffer-other-window-same-frame)
12702 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12703 Adams (Bug#8875).
9c2755e9
MR
12704 (display-buffer): Don't check noninteractive when calling
12705 display-buffer-pop-up-frame.
12706 (display-buffer-pop-up-frame): Never pop up a frame in
12707 noninteractive mode (Bug#8857).
67222e1d
MR
12708 (enlarge-window, shrink-window): Don't report an error when the
12709 window can't be resized as requested (Bug#8862).
9b9c9e3a 12710
2b75be67
SM
127112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12712
9ffdd3ba
SM
12713 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12714
cb581a67
SM
12715 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12716
2b75be67
SM
12717 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12718
8c0e3589
AM
127192011-06-15 Alan Mackenzie <acm@muc.de>
12720
cb581a67
SM
12721 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12722 for declarators, disable knr checking to speed up for normal files.
12723 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12724
b96e6cde
LMI
127252011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
4bba86e6
LMI
12727 * net/network-stream.el (open-network-stream): Add the keyword
12728 :always-query-capabilities for the case where you want to force a
12729 `plain' network connection, but the protocol still requires the
12730 capabilitiy command (i.e., SMTP and EHLO).
12731
2b75be67 12732 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12733 consistency with other `-live-p' functions.
12734
efdcdbf8
SM
127352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * window.el (same-window-buffer-names, same-window-regexps)
12738 (special-display-frame-alist, special-display-popup-frame)
12739 (special-display-function, special-display-buffer-names)
12740 (special-display-regexps, pop-up-frame-alist)
12741 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12742 (pop-up-windows, split-window-preferred-function)
12743 (split-height-threshold, split-width-threshold, even-window-heights)
12744 (display-buffer-mark-dedicated): Don't encourage the use of
12745 display-buffer-alist from Elisp code.
12746
c5cde042
DN
127472011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12748
12749 * progmodes/python.el (python-mode): Derive from prog-mode.
12750 * progmodes/ps-mode.el (ps-mode):
12751 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12752 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12753 * progmodes/ld-script.el (ld-script-mode): Likewise.
12754
baa1c9ab
MR
127552011-06-15 Martin Rudalics <rudalics@gmx.at>
12756
12757 * window.el (display-buffer-alist): Trim default value to avoid
12758 popping up a new frame (Bug#8857) or reusing an arbitrary window
12759 on another frame.
12760 (display-buffer): Do not fall back on popping up a new frame in
12761 batch mode (Bug#8857).
12762
c5dd5a51
CY
127632011-06-14 Chong Yidong <cyd@stupidchicken.com>
12764
12765 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12766 (custom-theme-summary): New function.
12767 (customize-themes): Use it.
12768
d647b7c4
GM
127692011-06-13 Glenn Morris <rgm@gnu.org>
12770
12771 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12772
9481c002
MR
127732011-06-13 Martin Rudalics <rudalics@gmx.at>
12774
357f93d2
MR
12775 * help.el (help-window): Remove variable.
12776 (help-window-point-marker, temp-buffer-max-height)
12777 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12778 (help-print-return-message): Don't set help-window.
12779 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12780 (help-window-setup-finish): Remove.
12781 (help-window-display-message, help-window-setup)
12782 (with-help-window): Major rewrite based on new
12783 display-buffer-window variable.
12784
12785 * help-mode.el (help-mode-finish): Remove help-window related
12786 code.
12787
12788 * view.el (view-exits-all-viewing-windows): Remove reference to
12789 view-return-to-alist in doc-string.
12790 (view-return-to-alist): Make obsolete.
12791 (view-buffer): Call pop-to-buffer-same-window and remove
12792 undo-window code.
12793 (view-buffer-other-window): Call pop-to-buffer-other-window and
12794 simplify code. Ignore second argument.
12795 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12796 simplify code. Ignore second argument.
12797 (view-return-to-alist-update): Make obsolete.
12798 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12799 Rewrite using quit-restore window parameters.
2b75be67
SM
12800 (view-mode-exit): Rename second argument to EXIT-ONLY.
12801 Rewrite using quit-restore-window.
357f93d2
MR
12802 (View-exit, View-exit-and-edit, View-leave, View-quit)
12803 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12804 appropriate arguments.
12805 (view-end-message): Use quit-restore window parameter.
12806
9481c002
MR
12807 * window.el (display-buffer-function): Rewrite doc-string.
12808 (display-buffer-window, display-buffer-alist): New variables.
12809 (display-buffer-split-specifiers)
12810 (display-buffer-side-specifiers)
12811 (display-buffer-macro-specifiers): New constants.
12812 (display-buffer-even-window-sizes, display-buffer-set-height)
12813 (display-buffer-set-width, display-buffer-select-window)
12814 (display-buffer-in-window, display-buffer-reuse-window)
12815 (display-buffer-split-window-1, display-buffer-split-window)
12816 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12817 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12818 (display-buffer-in-side-window, normalize-buffer-to-display)
12819 (display-buffer-normalize-specifiers-1)
12820 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12821 (display-buffer-normalize-specifiers, display-buffer-frame):
12822 New functions.
9481c002
MR
12823 (display-buffer): Major rewrite.
12824 (display-buffer-other-window, display-buffer-other-frame)
12825 (pop-to-buffer, switch-to-buffer-other-window)
12826 (switch-to-buffer-other-frame): Rewrite.
12827 (display-buffer-same-window, display-buffer-same-frame)
12828 (display-buffer-same-frame-other-window)
12829 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12830 (pop-to-buffer-other-window)
12831 (pop-to-buffer-same-frame-other-window)
12832 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12833 (switch-to-buffer-other-window-same-frame): New functions.
12834 (same-window-p, special-display-p): Rewrite disabling warnings.
12835 Make obsolete.
12836 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12837 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12838 Make obsolete
12839 (same-window-buffer-names, same-window-regexps)
12840 (special-display-frame-alist, special-display-popup-frame)
12841 (special-display-function, special-display-buffer-names)
12842 (special-display-regexps, pop-up-frame-alist)
12843 (pop-up-frame-function, split-window-preferred-function)
12844 (split-height-threshold, split-width-threshold)
12845 (even-window-heights): Make obsolete.
12846
9db51aca
GM
128472011-06-12 Glenn Morris <rgm@gnu.org>
12848
12849 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12850 Misc simplifications.
9db51aca 12851
39cffb44
MR
128522011-06-12 Martin Rudalics <rudalics@gmx.at>
12853
12854 * window.el (window-safely-shrinkable-p): Restore function which
12855 was inadvertently removed in change from 2011-06-11. Declare as
12856 obsolete.
12857
2b75be67
SM
12858 * calendar/calendar.el (calendar-generate-window):
12859 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12860 window-safely-shrinkable-p.
12861
a8955be7
GM
128622011-06-12 Glenn Morris <rgm@gnu.org>
12863
12864 * progmodes/fortran.el (fortran-mode-syntax-table):
12865 * progmodes/f90.el (f90-mode-syntax-table):
12866 Set % to punctuation. (Bug#8820)
12867 (f90-find-tag-default): Remove, no longer needed.
12868
f0d4059d
DC
128692011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12870
12871 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12872
1100a63c
CY
128732011-06-11 Chong Yidong <cyd@stupidchicken.com>
12874
12875 * image.el (image-animated-p): Return animation delay in seconds.
12876 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12877 (image-animate-timeout): Remove DELAY argument. Don't assume
12878 every subimage has the same delay; get it from image-animated-p.
12879 (image-animate): Caller changed.
12880
def722bf
MA
128812011-06-11 Michael Albinus <michael.albinus@gmx.de>
12882
12883 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12884 to ignored backtrace functions.
12885
0a2bb1a9
GM
128862011-06-11 Glenn Morris <rgm@gnu.org>
12887
12888 * calendar/appt.el (appt-disp-window-function): Doc fix.
12889 (appt-check): Handle overlapping appointments. (Bug#8337)
12890
6198ccd0
MR
128912011-06-11 Martin Rudalics <rudalics@gmx.at>
12892
12893 * window.el (window-tree-1, window-tree): New functions, moving
12894 the latter to window.el.
12895 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12896 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12897 (bw-refresh-edges): Remove.
12898 (balance-windows-1, balance-windows-2): New functions.
12899 (balance-windows): Rewrite in terms of window tree functions,
12900 balance-windows-1 and balance-windows-2.
12901 (bw-adjust-window): Remove.
12902 (balance-windows-area-adjust): New function with functionality of
12903 bw-adjust-window but using resize-window.
2b75be67
SM
12904 (set-window-text-height): Rewrite doc-string.
12905 Use normalize-live-window and resize-window.
12906 (enlarge-window-horizontally, shrink-window-horizontally):
12907 Rename argument to DELTA.
6198ccd0
MR
12908 (window-buffer-height): New function.
12909 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12910 Rewrite using new window resize routines.
2b75be67
SM
12911 (kill-buffer-and-window, mouse-autoselect-window-select):
12912 Use ignore-errors instead of condition-case.
6198ccd0
MR
12913 (quit-window): Call delete-frame instead of delete-windows-on
12914 for the only buffer on frame.
12915
9397e56f
MR
129162011-06-10 Martin Rudalics <rudalics@gmx.at>
12917
12918 * loadup.el (top-level): Load window before files for the sake
12919 of replace-buffer-in-windows.
12920
12921 * files.el (read-buffer-to-switch)
12922 (switch-to-buffer-other-window)
2b75be67
SM
12923 (switch-to-buffer-other-frame, display-buffer-other-frame):
12924 Move to window.el.
9397e56f
MR
12925
12926 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12927 (previous-buffer): Move to window.el.
12928
12929 * bindings.el (unbury-buffer): Move to window.el.
12930
12931 * window.el (delete-other-windows-vertically): Move after
12932 definition of delete-other-windows.
12933 (other-window, delete-windows-on, replace-buffer-in-windows):
12934 Move here from window.c.
12935 (record-window-buffer, unrecord-window-buffer)
12936 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12937 (switch-to-next-buffer): New functions.
12938 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12939 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12940 (previous-buffer): Move here from simple.el.
12941 Call switch-to-prev-buffer.
9397e56f
MR
12942 (bury-buffer): Move here from buffer.c. Switch to previous
12943 buffer when window cannot be deleted.
12944 (unbury-buffer): Move here from bindings.el.
12945 (ctl-x-map): Move binding for other-window from window.c to
12946 here.
12947 (read-buffer-to-switch, switch-to-buffer-other-window)
12948 (switch-to-buffer-other-frame): Move here from files.el.
12949 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12950 (switch-to-buffer): Move here from buffer.c.
12951 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12952
562dd5e9
MR
129532011-06-10 Martin Rudalics <rudalics@gmx.at>
12954
12955 * window.el (window-min-height, window-min-width): Move here
12956 from window.c. Add defcustoms and rewrite doc-strings.
12957 (resize-mini-window, resize-window): New functions.
12958 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12959 Move here from window.c.
12960 (maximize-window, minimize-window): New functions.
12961 (delete-window, delete-other-windows, split-window): Move here
12962 from window.c.
12963 (window-split-min-size): New function.
12964 (split-window-keep-point): Mention split-window-above-each-other
12965 instead of split-window-vertically.
2b75be67 12966 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12967 Rename split-window-vertically to split-window-above-each-other
12968 and provide defalias for old definition.
12969 (split-window-side-by-side, split-window-horizontally):
12970 Rename split-window-horizontally to split-window-side-by-side
12971 and provide defalias for the old definition.
562dd5e9
MR
12972 (ctl-x-map): Move bindings for delete-window,
12973 delete-other-windows and enlarge-window here from window.c.
12974 Replace bindings for split-window-vertically and
12975 split-window-horizontally by bindings for
12976 split-window-above-each-other and split-window-side-by-side.
12977
12978 * cus-start.el (all): Remove entries for window-min-height and
12979 window-min-width. Add entries for window-splits and
12980 window-nest.
12981
f0da764a
GM
129822011-06-09 Glenn Morris <rgm@gnu.org>
12983
80675c21
GM
12984 * calendar/appt.el (appt-mode-line): New function.
12985 (appt-check, appt-disp-window): Use it.
12986
f0da764a
GM
12987 * files.el (hack-one-local-variable-eval-safep):
12988 Allow minor-modes with explicit +/-1 arguments.
12989
59f623b7
TZ
129902011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12991
12992 * term/xterm.el (xterm): Add defgroup.
12993 (xterm-extra-capabilities): Add defcustom to supply known xterm
12994 capabilities, skip querying them, or query them (default).
12995 (terminal-init-xterm): Use it.
12996 (terminal-init-xterm-modify-other-keys): New function to set up
12997 modifyOtherKeys support to simplify `terminal-init-xterm'.
12998
9aab8e0d
MR
129992011-06-09 Martin Rudalics <rudalics@gmx.at>
13000
13001 * window.el (resize-window-reset, resize-window-reset-1)
13002 (resize-subwindows-skip-p, resize-subwindows-normal)
13003 (resize-subwindows, resize-other-windows, resize-this-window)
13004 (resize-root-window, resize-root-window-vertically)
13005 (window-deletable-p, window-or-subwindow-p)
13006 (frame-root-window-p): New functions.
13007
e8b08aee
GM
130082011-06-09 Glenn Morris <rgm@gnu.org>
13009
13010 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13011 (ange-ftp-get-files): Use it.
13012
254c37a5
AK
130132011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13014
13015 * mail/sendmail.el (mail-recover-1, mail-recover):
13016 * files.el (recover-file, recover-session):
13017 Handle dired-listing-switches not being just a single short option.
13018
35d7dbd3
GM
130192011-06-09 Glenn Morris <rgm@gnu.org>
13020
13021 * calendar/appt.el (appt-display-message, appt-disp-window):
13022 Handle lists of appointments.
13023
387522b2
MR
130242011-06-08 Martin Rudalics <rudalics@gmx.at>
13025
2b75be67
SM
13026 * window.el (one-window-p): Move down in code.
13027 Rewrite doc-string.
13028 (window-current-scroll-bars): Rewrite doc-string.
13029 Normalize live window argument.
387522b2
MR
13030 (walk-windows, get-window-with-predicate, count-windows):
13031 Rewrite doc-string. Use window-list-1.
13032 (window-in-direction-2, window-in-direction, get-mru-window):
13033 New functions.
13034
d8e4b68b 130352011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13036
13037 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13038 Doc fix (Bug#8713).
13039
130402011-06-08 Chong Yidong <cyd@stupidchicken.com>
13041
13042 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13043
130442011-06-08 Juanma Barranquero <lekktu@gmail.com>
13045
13046 * loadhist.el (unload-feature-special-hooks):
13047 Add `comint-output-filter-functions'.
13048
0de12c52
IK
130492011-06-08 Ivan Kanis <gnu@kanis.fr>
13050
13051 * calendar/appt.el (appt-check): Move some initializations into the let.
13052
f3d1777e
MR
130532011-06-08 Martin Rudalics <rudalics@gmx.at>
13054
13055 * window.el (window-height): Defalias to window-total-height.
13056 (window-width): Defalias to window-body-width.
13057
18af70d0
CY
130582011-06-07 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * image-mode.el (image-toggle-animation): New command.
13061 (image-mode-map): Bind it to RET.
13062 (image-mode): Update message.
13063 (image-toggle-display-image): Avoid a spurious cache flush.
13064 (image-transform-rotation): Doc fix.
13065 (image-transform-properties): Return quickly in the normal case.
13066 (image-animate-loop): Rename from image-animate-max-time.
13067
2b75be67 13068 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13069 (create-animated-image): Remove unnecessary function.
13070 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13071 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13072 (image-animate-timer): Use car-safe.
13073 (image-animate-timeout): Rename argument.
13074
190b47e6
MR
130752011-06-07 Martin Rudalics <rudalics@gmx.at>
13076
13077 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13078 window.c. Rename first argument to ALL-FRAMES.
13079 Rephrase doc-strings.
13080 (get-buffer-window-list): Rewrite using window-list-1.
13081 Rephrase doc-string.
a1511caf
MR
13082 (window-safe-min-height, window-safe-min-width): New constants.
13083 (window-size-ignore, window-min-size, window-min-size-1)
13084 (window-sizable, window-sizable-p, window-size-fixed-1)
13085 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13086 (window-max-delta-1, window-max-delta, window-resizable)
13087 (window-resizable-p, window-total-height, window-total-width)
13088 (window-body-width): New functions.
13089 (window-full-height-p, window-full-width-p): Rewrite using
13090 window-total-size.
13091 (window-body-height): Rewrite using window-body-size.
190b47e6 13092
85cc1f11
MR
130932011-06-06 Martin Rudalics <rudalics@gmx.at>
13094
13095 * window.el (window-right, window-left, window-child)
13096 (window-child-count, window-last-child, window-any-p)
13097 (normalize-live-buffer, normalize-live-frame)
13098 (normalize-any-window, normalize-live-window)
13099 (window-iso-combination-p, window-iso-combined-p)
13100 (window-iso-combinations)
13101 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13102 (windows-with-parameter, window-with-parameter)
13103 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13104 (window-atom-check, window-side-check, window-check):
13105 New functions.
85cc1f11
MR
13106 (ignore-window-parameters, window-sides, window-sides-vertical)
13107 (window-sides-slots): New variables.
13108 (window-size-fixed): Move down in code. Minor doc-string fix.
13109
e7156492
AS
131102011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13111
13112 * comint.el (comint-dynamic-complete-as-filename)
13113 (comint-dynamic-complete-filename): Correctly call
13114 completion-in-region.
13115
7e821d0d
DD
131162011-06-05 Deniz Dogan <deniz@dogan.se>
13117
13118 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13119 in last change.
13120
ac09b8a1
DD
131212011-06-05 Deniz Dogan <deniz@dogan.se>
13122
13123 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13124 (rcirc): Use it to prompt for encryption.
13125
34699b85
RW
131262011-06-05 Roland Winkler <winkler@gnu.org>
13127
13128 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13129 (bibtex-search-entries): New command bound to C-c C-a.
13130 (bibtex-display-entries): New function.
13131
004dedd3
RW
131322011-06-05 Roland Winkler <winkler@gnu.org>
13133
13134 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13135 (bibtex-insert-kill): After yanking insert newline if necessary.
13136 (bibtex-initialize): Call bibtex-string-files-init only once.
13137 (bibtex-mode): Do not call easy-menu-add.
13138 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13139 (bibtex-yank): Set arg properly if nil.
13140
022fe7ce
RW
131412011-06-05 Roland Winkler <winkler@gnu.org>
13142
2b75be67
SM
13143 * textmodes/bibtex.el (bibtex-search-entry-globally):
13144 New variable.
022fe7ce
RW
13145 (bibtex-search-entry): Use it.
13146
b7c3692a
RW
131472011-06-05 Roland Winkler <winkler@gnu.org>
13148
13149 * textmodes/bibtex.el (bibtex-entry-format): New option
13150 sort-fields.
13151 (bibtex-format-entry, bibtex-reformat): Honor this option.
13152 (bibtex-parse-entry): Return fields in proper order.
13153
8eda563d
JB
131542011-06-05 Juanma Barranquero <lekktu@gmail.com>
13155
13156 * doc-view.el (doc-view-remove-if): Move computation of result out
13157 of `dolist' to silence misleading lexical-binding warning.
13158
7dbe3dbc
CY
131592011-06-04 Chong Yidong <cyd@stupidchicken.com>
13160
13161 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13162 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13163
0c33dd17
MA
131642011-06-04 Michael Albinus <michael.albinus@gmx.de>
13165
13166 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13167 "SunOS 5.10".
13168
f8f91c2b
MA
131692011-06-04 Michael Albinus <michael.albinus@gmx.de>
13170
13171 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13172 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13173 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13174 (tramp-parse-putty):
13175 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13176 (tramp-completion-function-alist-ssh)
13177 (tramp-completion-function-alist-telnet)
13178 (tramp-completion-function-alist-su)
13179 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13180 cookie.
13181
13182 * net/tramp-ftp.el:
13183 * net/tramp-sh.el:
13184 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13185 load "tramp.el" `tramp-set-completion-function'.
13186
e17d9003
SM
131872011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * shell.el: Require and use pcomplete.
13190 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13191 (shell-completion-vars): Set pcomplete-default-completion-function.
13192
6c4cab03
DD
131932011-06-04 Deniz Dogan <deniz@dogan.se>
13194
13195 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13196 `memq' (Bug#8799).
13197
ea9fafe0
SM
131982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13201
b3e945d3
JB
132022011-06-02 Juanma Barranquero <lekktu@gmail.com>
13203
13204 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13205 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13206 * vc/log-view.el (log-view-beginning-of-defun):
13207 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13208 (smerge-refine-forward, smerge-refine-chopup-region):
13209 Silence warning for unused `dotimes' counter variables.
13210
7d520089
SM
132112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13212
13213 * net/tramp.el (tramp-with-progress-reporter): Rename from
13214 with-progress-reporter. Use `declare'.
13215 * net/tramp-smb.el:
13216 * net/tramp-sh.el:
13217 * net/tramp-gvfs.el: Update all uses.
13218
a1c2400f
JB
132192011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13220
13221 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13222 buffer isn't killed before making it current.
13223
2403c841
SM
132242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 Silence various byte-compiler warnings.
13227 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13228 `access-type' and new obsolescence format.
13229 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13230 new format.
13231 (byte-compile-check-variable): New `access-type' argument.
13232 Only warn if the access-type is obsolete.
13233 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13234 (byte-compile-variable-set): Adjust callers.
13235 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13236 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13237 setting it as obsolete.
13238 * simple.el (minibuffer-completing-symbol):
13239 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13240 access as obsolete.
13241 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13242 obsolete yet.
13243 * international/quail.el (quail-mouse-choose-completion): Remove unused
13244 code referring to obsolete var.
13245 (quail-choose-completion-string): Remove.
13246 * server.el (server-clients-with, server-kill-buffer-query-function)
13247 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13248 * proced.el (proced-send-signal):
13249 * emacs-lisp/lisp.el (lisp-complete-symbol):
13250 Replace completion-annotate-function with completion-extra-properties.
13251
2462470b
SM
132522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13253
fb5b2591
SM
13254 * simple.el (goto-line): Use read-number.
13255 (overriding-map-is-bound): Remove.
13256 (saved-overriding-map): Change default.
13257 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13258 Take the map as argument.
13259 (universal-argument, negative-argument, digit-argument): Use it.
13260 (restore-overriding-map): Adjust.
13261 (do-auto-fill): Use fill-forward-paragraph.
13262 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13263
fd6fa53f
SM
13264 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13265 (minibuffer-inactive-mode): New major mode.
13266 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13267 the *Messages* buffer" hack.
13268 (mouse-popup-menubar): Don't burp if the event is a normal key.
13269
2462470b
SM
13270 Miscellaneous tweaks.
13271 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13272 lexical scoping as in subr.el's dolist and dotimes.
13273 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13274 Silence compiler warning.
13275 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13276 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13277 * international/ccl.el (ccl-compile): Trivial simplification.
13278 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13279 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13280 `printflag' argument.
13281 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13282 Purecopy the whole obsolescence data.
13283
108bf785
LL
132842011-06-01 Leo Liu <sdl.web@gmail.com>
13285
13286 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13287 improve doc-string as suggested by Marco Pessotto
13288 <melmothx@gmail.com>.
13289 (rcirc-print): Fix last change.
13290
30a23501
SM
132912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13292
13293 * minibuffer.el (complete-with-action): Return nil for the metadata and
13294 boundaries of non-functional tables.
13295 (completion-table-dynamic): Return nil for the metadata.
13296 (completion-table-with-terminator): Add default case, using
13297 complete-with-action.
13298 (completion--metadata): New function.
13299 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13300 to try and avoid pathological performance problems.
13301 (completion--embedded-envvar-table): Return `category' metadata.
13302
bcd54f83
LMI
133032011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13304
13305 * subr.el (process-alive-p): New tiny convenience function.
13306
e227544d
SM
133072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13310 content but also its previous major mode.
13311
e8296fdc
HE
133122011-05-31 Helmut Eller <eller.helmut@gmail.com>
13313
4d61f28d 13314 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13315 *Backtrace* buffer when we exit with C-M-c.
13316
620c53a6
SM
133172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * minibuffer.el: Add metadata method to completion tables.
13320 (completion-category-overrides): New defcustom.
13321 (completion-metadata, completion--field-metadata)
13322 (completion-metadata-get, completion--styles)
13323 (completion--cycle-threshold): New functions.
13324 (completion-try-completion, completion-all-completions):
13325 Add `metadata' argument to choose completion-styles.
13326 (completion--do-completion): Use metadata to choose cycling.
13327 (completion-all-sorted-completions): Use metadata for sorting.
13328 Remove :completion-cycle-penalty which is not needed any more.
13329 (completion--try-word-completion): Add `metadata' argument.
13330 (minibuffer-completion-help): Check metadata for annotation function
13331 and sorting.
13332 (completion-file-name-table): Return `category' metadata.
13333 (minibuffer-completing-file-name): Make obsolete.
13334 * simple.el (minibuffer-completing-symbol): Make obsolete.
13335 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13336 completion-try-completion.
13337
1257e755
SM
133382011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13341
3767e706
LL
133422011-05-30 Leo Liu <sdl.web@gmail.com>
13343
13344 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13345 (rcirc-print): Decode all incoming messages (bug#8744).
13346 (rcirc-decode-coding-system): Allow value nil for automatic coding
13347 system detection.
3767e706 13348
d1a5d56a
GM
133492011-06-01 Glenn Morris <rgm@gnu.org>
13350
13351 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13352
e8cbec34
CY
133532011-05-29 Chong Yidong <cyd@stupidchicken.com>
13354
13355 * image.el (image-animate-max-time): Allow nil and t values.
13356 Default to nil.
13357 (create-animated-image): Doc fix.
13358 (image-animate-start): Remove second arg; just use
13359 image-animate-max-time.
13360 (image-animate-timeout): Doc fix. Args changed.
13361
13362 * image-mode.el (image-toggle-display-image): Ensure that the
13363 image spec passed to the animate timer is the same object as in
58179cce 13364 the buffer's display property (Bug#6981).
e8cbec34
CY
13365 (image-transform-properties): Doc fix.
13366
13367 * image.el (image-animate-max-time): Default to nil.
13368
159daf87
MR
133692011-05-29 Martin Rudalics <rudalics@gmx.at>
13370
13371 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13372 entire buffer list (Bug#8184).
13373
d66c4c7c
CY
133742011-05-29 Chong Yidong <cyd@stupidchicken.com>
13375
13376 * image.el (imagemagick-types-inhibit)
13377 (imagemagick-register-types): Doc fix.
13378
80aec780
DD
133792011-05-29 Deniz Dogan <deniz@dogan.se>
13380
13381 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13382 default.
13383
1dd3c2d9
CY
133842011-05-29 Chong Yidong <cyd@stupidchicken.com>
13385
13386 * select.el: Don't perform clipboard-manager saving in hooks;
13387 leave the hooks empty.
13388
60e56523
LL
133892011-05-28 Leo Liu <sdl.web@gmail.com>
13390
13391 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13392 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13393 (occur-edit-mode): New major mode (Bug#8463).
13394 (occur-after-change-function): New function.
13395 (occur-engine): Give Occur tags a read-only property.
13396
2b1e1a22
KR
133972011-05-28 Kevin Ryde <user42@zip.com.au>
13398
13399 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13400
5d344e88
CY
134012011-05-28 Chong Yidong <cyd@stupidchicken.com>
13402
8e6ca83d
CY
13403 * bindings.el (help-echo): Make the initial non-indicator dash
13404 empty on graphical terminals (Bug#7295).
13405
5d344e88
CY
13406 * files.el (auto-mode-alist): Move config rule after the
13407 in-stripping one (Bug#8547).
13408
bfbbace7
CY
13409 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13410
fbeba6e2
CY
13411 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13412 setting (Bug#8740).
13413
60ed8c72
AA
134142011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13415
4ac619f0
AA
13416 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13417 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13418 (Bug#8539).
60ed8c72 13419
23db196e
CY
134202011-05-28 Chong Yidong <cyd@stupidchicken.com>
13421
13422 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13423
5012f24c
DK
134242011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13425
13426 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13427 (hs-hide-block-at-point, hs-find-block-beginning)
13428 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13429 (Bug#8279).
13430
6a639b16
GM
134312011-05-28 Glenn Morris <rgm@gnu.org>
13432
13433 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13434
d43eaf2c
CY
134352011-05-28 Chong Yidong <cyd@stupidchicken.com>
13436
5199bde1
CY
13437 * help-fns.el (describe-function-1): If the function is a derived
13438 major mode, print the parent mode.
13439
d43eaf2c
CY
13440 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13441 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13442
423428a8
SM
134432011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13444
0ff8e1ba 13445 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13446 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13447 * progmodes/etags.el (tags-completion-at-point-function):
13448 * info-look.el (info-lookup-completions-at-point): Mark as
13449 non-exclusive.
13450 (info-complete): Adjust accordingly.
13451
423428a8
SM
13452 * info-look.el: Convert to lexical-binding and completion-at-point.
13453 (info-lookup-completions-at-point): New function.
13454 (info-complete): Use it and completion-in-region.
13455
b74aa22b
DA
134562011-05-28 Drew Adams <drew.adams@oracle.com>
13457
13458 * isearch.el: Let M-e start with point at the first mismatched char.
13459 (isearch-fail-pos): New function.
13460 (isearch-edit-string): Use it.
13461
66e2e71d
DK
134622011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13463
13464 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13465
b1890b0f 134662011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13467
13468 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13469 traversal functions for avl-trees.
13470 (avl-tree--stack): New struct.
13471 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13472 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13473 (avl-tree--do-enter): Add optional `updatefun' arg.
13474 Change return value.
eb95d01d 13475 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13476 (avl-tree--do-delete): Add `test' and `nilflag' args.
13477 Change return value.
eb95d01d
TC
13478 (avl-tree-member): Add optional `nilflag'
13479 (avl-tree-member-p): New function.
13480 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13481 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13482 (avl-tree-stack-empty-p): New functions.
13483
3769ddcf
TC
13484 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13485 avl-tree--del-balance1 and make it work both ways.
13486 (avl-tree--del-balance2): Remove.
13487 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13488 make it work both ways.
13489 (avl-tree--enter-balance2): Remove.
13490 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13491 New macros.
13492 (avl-tree--mapc, avl-tree-map): Add direction argument.
13493
eb95d01d 134942011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13495
13496 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13497
a9f737ee
CY
134982011-05-27 Chong Yidong <cyd@stupidchicken.com>
13499
13500 * select.el: Support clipboard managers with built-in function
13501 x-clipboard-manager-save, via delete-frame-functions and
13502 kill-emacs-hook.
13503 (xselect-convert-to-targets): Add MULTIPLE target to list.
13504 (xselect-convert-to-save-targets): New function.
13505
c92a1e54
KH
135062011-05-27 Kenichi Handa <handa@m17n.org>
13507
13508 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13509 let-binding rfc2047-encode-encoded-words to nil.
13510
e145f188
GM
135112011-05-27 Glenn Morris <rgm@gnu.org>
13512
5ec8a862
GM
13513 * mail/emacsbug.el: Don't require url-util.
13514
4b29d9fb
GM
13515 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13516
e145f188
GM
13517 * files.el (set-auto-mode):
13518 Also respect mode: entries at the end of the file. (Bug#8586)
13519
7d15102b
GM
135202011-05-26 Glenn Morris <rgm@gnu.org>
13521
98f593b8
GM
13522 * files.el (hack-local-variables-prop-line, hack-local-variables):
13523 Downcase mode names, as seems to be traditional.
27b48e63 13524 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13525
7d15102b
GM
13526 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13527 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13528
51d5b4ec
JD
135292011-05-25 Julien Danjou <julien@danjou.info>
13530
13531 * textmodes/rst.el (rst-define-level-faces): Do not define face
13532 symbol if it is already defined.
13533
91513f63
VB
135342011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13535
13536 * play/5x5.el (5x5-new-game, 5x5-randomize):
13537 Reset 5x5-solver-output to nil when a new grid is cast.
13538 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13539 these debugging traces, as defmacro breaks the compiled code.
13540
4d90d6d0
DK
135412011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13542
13543 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13544
e1b90ef6
LL
135452011-05-24 Leo Liu <sdl.web@gmail.com>
13546
13547 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13548 (vc-bzr-sha1): Adapt.
13549
d8e4b68b 13550 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13551
13552 * bindings.el: Provide sha1 feature.
13553
db0406bb 135542011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13555
13556 * mail/sendmail.el: Require `rfc2047'.
13557 (mail-insert-from-field): Do not perform RFC2047 encoding.
13558 (mail-encode-header): New function.
13559 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13560 buffer to the return value of select-message-coding-system.
13561 Call mail-encode-header.
b8d747b9
KH
13562
13563 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13564
db0406bb 135652011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13566
4d90d6d0
DK
13567 * mail/supercite.el (sc-default-cite-frame):
13568 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13569
eb8a5e9b
GM
135702011-05-24 Glenn Morris <rgm@gnu.org>
13571
f8630703
GM
13572 * progmodes/python.el (brm-menu): Declare.
13573
8831bbed
GM
13574 * emulation/viper.el (viper-set-hooks): Declare.
13575
eb8a5e9b
GM
13576 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13577 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13578 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13579 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13580 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13581 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13582
a2a25d24
SM
135832011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 Add an :exit-function for completion-at-point.
13586
13587 * minibuffer.el (completion--done): New fun.
13588 (completion--do-completion): Use it. New arg `expect-exact'.
13589 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13590 since completion--do-completion does it for us now.
13591 (minibuffer-force-complete): Use completion--done and
13592 completion--replace. Handle sole-completion case with more care.
13593 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13594 (completion-extra-properties): New var.
13595 (completion-annotate-function): Make obsolete.
13596 (minibuffer-completion-help): Adjust accordingly.
13597 Use completion-list-insert-choice-function.
13598 (completion-at-point, completion-help-at-point):
13599 Bind completion-extra-properties.
13600 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13601 * simple.el (completion-list-insert-choice-function): New var.
13602 (completion-setup-function): Preserve it.
13603 (choose-completion): Pay attention to it, shuffle the code a bit.
13604 (choose-completion-string): New arg `insert-function'.
13605
13606 * textmodes/bibtex.el: Convert to lexical binding.
13607 (bibtex-mode-map): Use completion-at-point.
13608 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13609 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13610 (bibtex-complete): Define as obsolete alias.
13611 (bibtex-complete-internal): Remove.
13612 (bibtex-format-entry): Remove unused sub-group in regexp.
13613 * shell.el (shell--command-completion-data)
13614 (shell-environment-variable-completion):
13615 * pcomplete.el (pcomplete-completions-at-point):
13616 * comint.el (comint--complete-file-name-data): Use :exit-function
13617 instead of completion-table-with-terminator so it also works for
13618 choose-completion.
13619
e44e373d
SM
136202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13621
4f91a816
SM
13622 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13623
782fc819
SM
13624 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13625 (bug#8710).
13626
e44e373d
SM
13627 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13628
381987c3
KM
136292011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13630
13631 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13632 customization variable and implement: If non-nil, auto-fill will
13633 be inhibited while on topic's header line.
13634
b776bc70
VB
136352011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13636
13637 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13638 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13639 always have a solution in grid size = 5 cases.
13640 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13641 (5x5-solver-output, 5x5-log-buffer): New vars.
13642 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13643 Make these variables buffer local to achieve 5x5 multi-session-ness.
13644 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13645 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13646 (5x5-solve-suggest): New funs.
13647 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13648 randomize a grid so that we ensure that there is always a solution.
13649 (5x5-make-random-grid): Allow other movement than flipping.
13650
7de88b6e
KR
136512011-05-23 Kevin Ryde <user42@zip.com.au>
13652
13653 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13654 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13655 advice and passes PREDICATE.
13656
b1ef1257
SM
136572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13658
bbca48fe
SM
13659 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13660 byte-compile-lambda if it's actually a lambda.
13661
b1ef1257
SM
13662 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13663 Fix function quoting. Use backquote better.
13664
92a9cc65
YS
136652011-05-22 Yuanle Song <sylecn@gmail.com>
13666
13667 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13668 matching (Bug#8516).
13669
f0fb8059
JA
136702011-01-22 Jari Aalto <jari.aalto@cante.net>
13671
13672 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13673 different face (Bug#8178).
13674
d5b44c93
CY
136752011-05-22 Chong Yidong <cyd@stupidchicken.com>
13676
13677 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13678 defface (Bug#8144).
13679
79106a44
SM
136802011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13681
9c848d8a
SM
13682 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13683 funcall as well (bug#8712). Warn when performing those conversions.
13684 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13685
79106a44
SM
13686 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13687
88dfa756
GM
136882011-05-22 Glenn Morris <rgm@gnu.org>
13689
13690 * files.el (hack-local-variables-prop-line): Small simplifications.
13691 (hack-local-variables, hack-local-variables-prop-line):
13692 If MODE-ONLY, return the mode, rather than just `t'.
13693
b7cf2c79
SM
136942011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13697
3f1a8558
GM
136982011-05-21 Glenn Morris <rgm@gnu.org>
13699
7e4ccca3
GM
13700 * files.el (hack-local-variables-prop-line, hack-local-variables):
13701 If only interested in the mode, don't bother doing the other stuff.
13702
637d46ca
GM
13703 * image-mode.el (image-after-revert-hook):
13704 Redraw all frames on which the image is visible. (Bug#8567)
13705
973d955b
GM
13706 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13707
3f1a8558
GM
13708 * wid-edit.el (widget-checklist-match-inline):
13709 Fix 2011-04-19 change. (Bug#8649)
13710
96479927
SM
137112011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13712
1dcf791f
SM
13713 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13714 Also allow singlespace after single-letter capitals followed by a dot.
13715
96479927
SM
13716 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13717 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13718
35fd0881
N
137192011-05-20 Nix <nix@esperi.org.uk>
13720
13721 * files.el (basic-save-buffer-2):
13722 Fix handling of break-hardlink-on-save with non-existent files.
13723
82745640
DD
137242011-05-19 Deniz Dogan <deniz@dogan.se>
13725
13726 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13727 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13728
4a720484
GM
137292011-05-19 Glenn Morris <rgm@gnu.org>
13730
d1f21341
GM
13731 * progmodes/f90.el (f90-type-def-re):
13732 Handle "type, bind(c)". (Bug#8691)
13733
4a720484
GM
13734 * emacs-lisp/autoload.el (batch-update-autoloads):
13735 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13736
2fb0a219
MA
137372011-05-18 Michael Albinus <michael.albinus@gmx.de>
13738
13739 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13740 property for the correct connection in case of multihops.
13741
e565dd37
GM
137422011-05-18 Glenn Morris <rgm@gnu.org>
13743
c2571358 13744 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13745 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13746
e565dd37
GM
13747 Rationalize calendar handling of day and month abbrev-arrays.
13748 * calendar/calendar.el (calendar-customized-p): New function.
13749 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13750 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13751 Add :set function.
13752 (calendar-abbrev-length, calendar-day-abbrev-array)
13753 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13754 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13755 Elements may no longer be nil.
13756 (calendar-day-name, calendar-month-name):
13757 Update for changed nature of abbrev arrays.
13758 * calendar/diary-lib.el (diary-name-pattern):
13759 Update for changed nature of abbrev arrays.
13760 (diary-mark-entries-1): Update calendar-make-alist calls.
13761 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13762 * calendar/cal-html.el (cal-html-day-abbrev-array):
13763 Simply inherit from calendar-day-abbrev-array.
13764
1d99a745
SM
137652011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * progmodes/grep.el (grep-mode): Disable default
13768 compilation-directory-matcher setting (bug#8684).
13769
7c1d9aa0
MA
137702011-05-17 Michael Albinus <michael.albinus@gmx.de>
13771
13772 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13773 instead of "head" and "tail". There were problems with SunOS 5.9,
13774 and it performs better.
13775
3952e9d8
GM
137762011-05-17 Glenn Morris <rgm@gnu.org>
13777
2dd12e7f
GM
13778 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13779
e4157b9c
GM
13780 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13781 Replace obsolete function.
13782
8e249bbd
GM
13783 * shell.el (pcomplete-parse-arguments-function): Declare.
13784
3952e9d8
GM
13785 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13786 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13787 (appt-check): Doc fixes.
13788 (appt-disp-window-function, appt-delete-window-function):
13789 Remove needless special case in custom :type.
13790 (appt-display-count): Default to 0, not nil.
13791 (appt-check): Reset appt-display-count to 0, not nil.
13792
c71a0d48 137932011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13794
c71a0d48
GM
13795 * progmodes/python.el (python-font-lock-keywords):
13796 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13797
31d55be9
SM
137982011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13799
13800 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13801
3bfacb2f
KR
138022011-05-16 Kevin Ryde <user42@zip.com.au>
13803
13804 * info-look.el (makefile-automake-mode): New setups, looking in
13805 automake manual, then makefile-mode.
13806 (makefile-mode): Remove automake manual, have it just in
13807 makefile-automake-mode since there's various things different or
13808 not relevant to plain make.
13809 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13810 believe a hypothetical automake-mode would go to makefile-mode,
13811 not the other way around.
13812
c8e83751
CY
138132011-05-15 Chong Yidong <cyd@stupidchicken.com>
13814
5e9e35cd
CY
13815 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13816 hunk-end tags (Bug#8672).
13817
c8e83751
CY
13818 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13819 vc-annotate-show-diff-revision-at-line (Bug#8671).
13820
50b23e5a
GM
138212011-05-14 Glenn Morris <rgm@gnu.org>
13822
7210a739
GM
13823 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13824 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13825 (change-log-font-lock-keywords): Also handle multiple author lines
13826 with leading tabs. (Bug#8644)
7210a739 13827
4691905a
GM
13828 * calendar/appt.el (appt-check): Rename some local variables.
13829 Some simplification/reordering.
13830
50b23e5a
GM
13831 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13832 (feedmail-sendmail-f-doesnt-sell-me-out)
13833 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13834 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13835 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13836 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13837 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13838 (feedmail-binmail-gnulinuxish-template):
13839 Rename from feedmail-binmail-linuxish-template.
13840 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13841 Use insert-buffer-substring.
13842
215cda7c
BC
138432011-05-14 Bill Carpenter <bill@carpenter.org>
13844
13845 * mail/feedmail.el (feedmail-patch-level): Increase.
13846 (feedmail-debug): New custom group.
13847 (feedmail-confirm-outgoing-timeout)
13848 (feedmail-sendmail-f-doesnt-sell-me-out)
13849 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13850 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13851 (feedmail-sender-line, feedmail-from-line)
13852 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13853 (feedmail-spray-this-address)
215cda7c
BC
13854 (feedmail-spray-address-fiddle-plex-list)
13855 (feedmail-queue-use-send-time-for-date)
13856 (feedmail-queue-use-send-time-for-message-id)
13857 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13858 (feedmail-buffer-eating-function):
13859 Doc fixes.
13860 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13861 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13862 (feedmail-message-action-scroll-down): New functions.
13863 (feedmail-queue-directory, feedmail-queue-draft-directory):
13864 Use expand-file-name.
13865 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13866 Remove C-v help entry.
13867 (feedmail-queue-buffer-file-name): New variable.
13868 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13869 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13870 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13871 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13872 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13873 (feedmail-message-action-toggle-spray)
13874 (feedmail-run-the-queue-no-prompts)
13875 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13876 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13877 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13878 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13879 (feedmail-envelope-deducer, feedmail-fiddle-from)
13880 (feedmail-fiddle-sender, feedmail-default-date-generator)
13881 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13882 (feedmail-fiddle-spray-address)
13883 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13884 (feedmail-fiddle-list-of-fiddle-plexes)
13885 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13886 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13887 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13888 Change default. Doc fix.
13889 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13890 (feedmail-binmail-linuxish-template): New constant.
13891 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13892 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13893 (feedmail-send-it): Add debug call.
13894 Use feedmail-queue-buffer-file-name, and
13895 feedmail-send-it-immediately-wrapper.
13896 (feedmail-message-action-send): Add debug call.
13897 Use feedmail-send-it-immediately-wrapper.
13898 (feedmail-queue-express-to-queue): Add debug call.
13899 Run feedmail-queue-express-hook.
13900 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13901 (feedmail-message-action-help-blat):
13902 Rename from feedmail-queue-send-edit-prompt-help-first.
13903 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13904 Check line-endings. Handle errors better.
13905 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13906 Doc fix. Add debug call.
13907 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13908 Use feedmail-queue-send-edit-prompt-inner.
13909 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13910 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13911 from feedmail-queue-send-edit-prompt.
13912 (feedmail-queue-send-edit-prompt-help)
13913 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13914 (feedmail-tidy-up-slug): Add debug call.
13915 Respect feedmail-queue-slug-suspect-regexp.
13916 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13917 (feedmail-dump-message-to-queue): Add debug call.
13918 Expand queue-directory.
13919 (feedmail-dump-message-to-queue): Change message slightly.
13920 Use feedmail-say-chatter.
13921 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13922 (feedmail-send-it-immediately-wrapper): New function.
13923 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13924 Insert empty string rather than newline. Handle full-frame case.
13925 Use catch/throw. Use feedmail-say-chatter.
13926 (feedmail-fiddle-from): Try mail-host-address.
13927 (feedmail-default-message-id-generator): Doc fix.
13928 Bind system-time-locale. Handle missing end.
13929 (feedmail-fiddle-x-mailer): Add debug call.
13930 Handle feedmail-x-mailer-line being nil.
13931 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13932 Add debug call. Use buffer-substring-no-properties.
13933 (feedmail-say-debug, feedmail-say-chatter): New functions.
13934 (feedmail-find-eoh): Give an explicit error.
13935
42c7e61e
UJ
139362011-05-13 Ulf Jasper <ulf.jasper@web.de>
13937
c2571358 13938 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13939 family from helvetica to sans.
c2571358 13940 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13941 etc/images/newsticker.
13942
c2571358 13943 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13944 family from helvetica to sans.
13945
13946 * net/newst-plainview.el (newsticker-new-item-face)
13947 (newsticker-old-item-face, newsticker-immortal-item-face)
13948 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13949 (newsticker-statistics-face): Change default family from
42c7e61e 13950 helvetica to sans.
c2571358 13951 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13952 etc/images/newsticker.
13953
5d3385a0
JB
13954 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13955 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13956 auto-marking.
13957
8497a297
DV
139582011-05-13 Didier Verna <didier@xemacs.org>
13959
13960 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13961 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13962 TODO entries.
8497a297
DV
13963 (lisp-lambda-list-keyword-parameter-indentation)
13964 (lisp-lambda-list-keyword-parameter-alignment)
13965 (lisp-lambda-list-keyword-alignment): New customizable user options.
13966 (lisp-indent-defun-method): Improve docstring.
13967 (extended-loop-p): Fix comment.
13968 (lisp-indent-lambda-list-keywords-regexp): New variable.
13969 (lisp-indent-lambda-list): New function.
13970 (lisp-indent-259): Use it.
13971 (lisp-indent-defmethod): Support for more than one
13972 method qualifier and properly indent methods lambda-lists.
13973 (defgeneric): Provide a missing common-lisp-indent-function property.
13974
f278f87f
SM
139752011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13978 bounds for the empty string (bug#8667).
13979
5233edd7
GM
139802011-05-13 Glenn Morris <rgm@gnu.org>
13981
5237a44f
GM
13982 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13983
8340026c 13984 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13985 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13986
5233edd7 13987 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13988 (appt-time-msg-list): Doc fix.
a5464014 13989 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13990
92d10796
AS
139912011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13992
13993 * progmodes/ld-script.el (ld-script-keywords)
13994 (ld-script-builtins): Update keywords list.
13995
914a0ae1
SM
139962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13997
c89be45f
SM
13998 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13999
914a0ae1
SM
14000 * shell.el (shell-completion-vars): New function.
14001 (shell-mode):
14002 * simple.el (read-shell-command): Use it.
14003 (blink-matching-open): No need for " [...]" in minibuffer-message.
14004
98dc3df3
GM
140052011-05-12 Glenn Morris <rgm@gnu.org>
14006
14007 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14008 (appt-check): Simplify.
14009
d2fc7e3d 140102011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14011
4d61f28d 14012 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14013 literal "/dev/null".
14014
d2fc7e3d 140152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14016
14017 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14018 Fix typo.
14019
d2fc7e3d 140202011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14021
3f254caa
SM
14022 * progmodes/which-func.el (which-function):
14023 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14024 which might not be defined (Bug#8260).
14025
d45885f7
GM
140262011-05-12 Glenn Morris <rgm@gnu.org>
14027
14028 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14029 Let byte-compile-initial-macro-environment always take precedence.
14030
488086f4
SM
140312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * net/rcirc.el: Add support for SSL/TLS connections.
14034 (rcirc-server-alist): New field `encryption'.
14035 (rcirc): Check `encryption' settings.
14036 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14037 Merge make-local-variable into `set'.
14038 (rcirc--connection-open-p): New function.
14039 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14040 the process is not a network process (e.g. running gnutls-cli).
14041 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14042 Make rcirc-(en|de)code-coding-system local here.
14043 (rcirc-mode): Merge make-local-variable into `set'.
14044 (rcirc-parent-buffer): Make permanent buffer-local.
14045 (rcirc-multiline-minor-mode): Don't do it here.
14046 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14047 there's no server buffer.
14048
7d3b9d44
GM
140492011-05-11 Glenn Morris <rgm@gnu.org>
14050
f64049c6
GM
14051 * newcomment.el (comment-kill): Prefix "unused" local.
14052
93c9df73
GM
14053 * term/w32console.el (get-screen-color): Declare.
14054
7d3b9d44
GM
14055 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14056 Handle symbol elements of byte-compile-initial-macro-environment.
14057
9e2dd53f
LL
140582011-05-10 Leo Liu <sdl.web@gmail.com>
14059
488086f4
SM
14060 * bookmark.el (bookmark-bmenu-mode-map):
14061 Bind bookmark-bmenu-search to `/'.
8b340240 14062
9e2dd53f 14063 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14064 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14065 (Footnote-unicode): New function.
14066 (footnote-style-alist): Add unicode style to the list.
14067 (footnote-style): Doc fix.
9e2dd53f 14068
79b70037
GM
140692011-05-10 Jim Meyering <meyering@redhat.com>
14070
14071 Fix doubled-word typos.
14072 * international/quail.el (quail-insert-kbd-layout): and and -> and
14073 * kermit.el: and and -> and
14074 * net/ldap.el (ldap-search-internal): to to -> to
14075 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14076 * progmodes/js.el (js-mode): and and -> and
14077 * textmodes/artist.el (artist-move-to-xy): at at -> at
14078 (artist-draw-region-trim-line-endings): if if -> if
14079 And Safetyc -> Safety.
14080 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14081
b8f82dc1 140822011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14083 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14084
14085 * files.el (hack-one-local-variable-eval-safep):
14086 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14087
4f99f44b
GM
140882011-05-10 Glenn Morris <rgm@gnu.org>
14089
14090 * calendar/diary-lib.el (diary-list-entries-hook)
14091 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14092 (diary-nongregorian-marking-hook, diary-list-entries)
14093 (diary-include-other-diary-files, diary-mark-entries)
14094 (diary-mark-included-diary-files): Doc fixes.
14095
84f29e6b
JB
140962011-05-09 Juanma Barranquero <lekktu@gmail.com>
14097
14098 * misc.el: Require tabulated-list.el during compilation.
14099
9bedd73a
CY
141002011-05-09 Chong Yidong <cyd@stupidchicken.com>
14101
488086f4
SM
14102 * progmodes/compile.el (compilation-start):
14103 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14104 (compilation-filter-hook): Doc fix.
14105
797c735c
DD
141062011-05-09 Deniz Dogan <deniz@dogan.se>
14107
14108 * wdired.el: Remove outdated installation comment. Fix usage
14109 comment.
14110
5f4b1dfe
JB
141112011-05-09 Juanma Barranquero <lekktu@gmail.com>
14112
14113 * misc.el: Implement new command `list-dynamic-libraries'.
14114 (list-dynamic-libraries--loaded-only-p): New variable.
14115 (list-dynamic-libraries--refresh): New function.
14116 (list-dynamic-libraries): New command.
14117
4c44026c
CY
141182011-05-09 Chong Yidong <cyd@stupidchicken.com>
14119
488086f4
SM
14120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14121 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14122 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14123 higher priority to avoid clobbering by gnu.
14124
027f966d
CY
141252011-05-08 Chong Yidong <cyd@stupidchicken.com>
14126
14127 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14128 if the face has existing theme settings (Bug#8454).
14129
085f5d7d
CY
141302011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14131
488086f4
SM
14132 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14133 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14134
2a86a00c
RS
14135 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14136 special file names `.' and `..' (Bug#8259).
14137
d9c54a06
CY
141382011-05-08 Chong Yidong <cyd@stupidchicken.com>
14139
488086f4
SM
14140 * progmodes/grep.el (grep-mode-font-lock-keywords):
14141 Remove buffer-changing entries.
d9c54a06
CY
14142 (grep-filter): New function.
14143 (grep-mode): Add it to compilation-filter-hook.
14144
14145 * progmodes/compile.el (compilation-filter-hook)
14146 (compilation-filter-start): New defvars.
14147 (compilation-filter): Call compilation-filter-hook prior to
14148 updating the process mark.
14149
c4662635
SM
141502011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14153
b0512a1d
EZ
141542011-05-07 Eli Zaretskii <eliz@gnu.org>
14155
605c9376
EZ
14156 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14157 mailclient-send-it even if window-system is nil. (Bug#8595)
14158
c4662635
SM
14159 * term/w32console.el (terminal-init-w32console):
14160 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14161 background-mode. (Bug#8597)
14162
d1dc2cc2
SM
141632011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14166 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14167 New functions.
14168 (defgeneric, eieio--defmethod): Use them.
14169 (eieio-defgeneric): Remove.
14170 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14171
915d1300
GM
141722011-05-07 Glenn Morris <rgm@gnu.org>
14173
a3961c3e
GM
14174 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14175 Use let rather than let*.
14176 (timeclock-find-discrep): Remove unused local.
14177
314347b9
GM
14178 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14179
915d1300
GM
14180 * calendar/appt.el (appt-time-msg-list): Doc fix.
14181
275b59b0
NF
141822011-05-06 Noah Friedman <friedman@splode.com>
14183
14184 * apropos.el (apropos-print-doc): Only use
14185 emacs-lisp-docstring-fill-column when it is bound to an integer,
14186 per that variable's documentation.
14187
6c19f744
SM
141882011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14191 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14192
60f884b2
GM
141932011-05-06 Glenn Morris <rgm@gnu.org>
14194
5006e634
GM
14195 * calendar/appt.el (appt-message-warning-time): Doc fix.
14196 (appt-warning-time-regexp): New option.
14197 (appt-make-list): Respect appt-message-warning-time.
14198
548d0a63
GM
14199 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14200 New options.
14201 (diary-add-to-list): Strip comments from the displayed string.
14202 (diary-mode): Set comment-start and comment-end.
14203
60f884b2
GM
14204 * vc/diff-mode.el (smerge-refine-subst): Declare.
14205 (diff-refine-hunk): Don't require smerge-mode when compiling.
14206
989681bb
JB
142072011-05-06 Juanma Barranquero <lekktu@gmail.com>
14208
14209 * simple.el (list-processes): Return nil as the docstring says.
14210
a6bc05e1
MA
142112011-05-05 Michael Albinus <michael.albinus@gmx.de>
14212
14213 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14214 to "".
14215 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14216 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14217 determining of binary transfer. (Bug#7383)
14218
23c22e9a
MA
142192011-05-05 Michael Albinus <michael.albinus@gmx.de>
14220
c4662635
SM
14221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14222 Fix port computation bug. (Bug#8618)
23c22e9a 14223
0bff894f
GM
142242011-05-05 Glenn Morris <rgm@gnu.org>
14225
b8296902
GM
14226 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14227
1f522ce8
GM
14228 * simple.el (shell-dynamic-complete-functions)
14229 (comint-dynamic-complete-functions): Declare.
14230
cf5bee67
GM
14231 * net/network-stream.el (gnutls-negotiate):
14232 * simple.el (tabulated-list-print): Fix declarations.
14233
14234 * progmodes/gud.el (syntax-symbol, syntax-point):
14235 Remove unnecessary and incorrect declarations.
14236
0bff894f
GM
14237 * emacs-lisp/check-declare.el (check-declare-scan):
14238 Handle byte-compile-initial-macro-environment in bytecomp.el
14239
9869b3ae
SM
142402011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 Fix earlier half-done eieio-defmethod change (bug#8338).
14243 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14244 Streamline and change calling convention.
14245 (defmethod): Adjust accordingly and simplify.
14246 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14247 new eieio--defmethod.
14248 (slot-boundp): Minor CSE simplification.
14249
9c1d5ac5
MZ
142502011-05-05 Milan Zamazal <pdm@zamazal.org>
14251
14252 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14253 (glasses-make-readable): Use glasses-separate-capital-groups.
14254
455c834e
JB
142552011-05-05 Juanma Barranquero <lekktu@gmail.com>
14256
14257 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14258 (warning-series): Doc fix.
14259 (display-warning): Don't try to create the buffer if we just found it.
14260
9ed7c8cb
CY
142612011-05-04 Chong Yidong <cyd@stupidchicken.com>
14262
14263 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14264 (autoload-find-generated-file): New function.
14265 (generate-file-autoloads): Bind generated-autoload-file to
14266 buffer-file-name.
9869b3ae
SM
14267 (update-file-autoloads, update-directory-autoloads):
14268 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14269 output file (Bug#7989).
14270 (batch-update-autoloads): Doc fix.
14271
0898ca10
JB
142722011-05-04 Juanma Barranquero <lekktu@gmail.com>
14273
14274 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14275
31dfb76c
GM
142762011-05-04 Glenn Morris <rgm@gnu.org>
14277
f330b642
GM
14278 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14279 function, so it follows changes in calendar-date-style.
14280 (diary-fancy-date-matcher): New function.
14281 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14282 (diary-fancy-font-lock-fontify-region-function):
14283 Use diary-fancy-date-pattern as a function.
14284
31dfb76c
GM
14285 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14286 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14287
48e79d6a
TZ
142882011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14289
14290 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14291 instead of positional arguments. Allow :keylist and :crlfiles
14292 arguments.
14293 (open-gnutls-stream): Call it.
14294
14295 * net/network-stream.el (network-stream-open-starttls): Adjust to
14296 call `gnutls-negotiate' with :process and :hostname arguments.
14297
dd5a5ee0
SM
142982011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14299
ef80fc09
SM
14300 * minibuffer.el (completion--message): New function.
14301 (completion--do-completion, minibuffer-complete)
14302 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14303 (completion--do-completion): Don't ignore completion-auto-help when in
14304 icomplete-mode.
14305
dd5a5ee0
SM
14306 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14307 internal encoding (e.g. tibetan zero is not whitespace).
14308 (global-whitespace-mode): Prefer save-current-buffer.
14309 (whitespace-trailing-regexp): Remove useless save-match-data.
14310 (whitespace-empty-at-bob-regexp): Minor simplification.
14311
b7d22a83
CY
143122011-05-03 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14315
5192af46
AM
143162011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14317
14318 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14319 Use `concat' to create string for insertion.
5192af46 14320
5767d190
SM
143212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14324 Avoid open-line which runs post-self-insert-hook.
14325 (bibtex-fill-entry): Remove unused `end' var.
14326
bf242939
AM
143272011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14328
5767d190
SM
14329 * textmodes/ispell.el (ispell-add-per-file-word-list):
14330 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14331
25666126
LL
143322011-05-03 Leo Liu <sdl.web@gmail.com>
14333
14334 * isearch.el (isearch-yank-pop): New command.
5767d190 14335 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14336 (isearch-forward): Mention it.
14337
52d3c2d0
SM
143382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14339
1bcace58
SM
14340 * simple.el (minibuffer-complete-shell-command): Remove.
14341 (minibuffer-local-shell-command-map): Use completion-at-point.
14342 (read-shell-command): Setup completion vars here instead.
14343 (read-expression-map): Bind TAB to symbol completion.
14344
52d3c2d0
SM
14345 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14346 error directly rather via storing it into `results'.
14347
35813471
LL
143482011-05-02 Leo Liu <sdl.web@gmail.com>
14349
14350 * vc/diff.el: Fix description.
14351
e793a940
LMI
143522011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14353
14354 * server.el (server-eval-at): New function.
14355
8de66e05
LMI
143562011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14357
14358 * net/network-stream.el (open-network-stream): Take a :nowait
14359 parameter and pass it on to `make-network-process'.
14360 (network-stream-open-plain): Ditto.
14361
dcb79f20
AS
143622011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14363
14364 * faces.el (face-spec-set-match-display): Don't match toolkit
14365 options on terminal frames.
14366
14a7fbd8
SM
143672011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14368
7eabc1be
SM
14369 * progmodes/pascal.el: Use lexical binding.
14370 (pascal-mode-map): Remove author preferences.
14371
14a7fbd8
SM
14372 * pcomplete.el (pcomplete-std-complete): Don't abuse
14373 completion-at-point.
14374
50f84510
JB
143752011-04-28 Juanma Barranquero <lekktu@gmail.com>
14376
6e087a44
JB
14377 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14378 removing code that has been dead since 1991 or so.
14379
50f84510
JB
14380 * startup.el (command-line): When warning about "_emacs", use a
14381 delayed warning to allow the user to filter it out.
14382
0ba690bd
DD
143832011-04-28 Deniz Dogan <deniz@dogan.se>
14384
14385 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14386 user has not joined.
14387
08abfaad
SM
143882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14389
14390 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14391 aren't any completions at point.
14392
638f053a
JB
143932011-04-28 Juanma Barranquero <lekktu@gmail.com>
14394
14395 * subr.el (display-delayed-warnings): New function.
14396 (delayed-warnings-hook): New variable.
14397
8fff8daa
SM
143982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14399
08abfaad
SM
14400 * minibuffer.el (completion-at-point, completion-help-at-point):
14401 Don't presume that a given completion-at-point-function will always
14402 use the same calling convention.
14403
8fff8daa
SM
14404 * pcomplete.el (pcomplete-completions-at-point):
14405 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14406 pcomplete-seen is non-nil.
14407 (pcomplete-comint-setup): Also recognize the new comint/shell
14408 completion functions.
14409 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14410 pcomplete-seen is non-nil.
14411
841a1577 144122011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14413
841a1577 14414 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14415 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14416 the first character in the entry. This allows for code to add its
211ec907
UJ
14417 own uid to the entry.
14418 (icalendar--convert-float-to-ical): Add export of
14419 `diary-float'-entries save for those with the optional DAY
14420 argument.
14421
2a782793
DC
144222011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14423
14424 * subr.el (shell-quote-argument): Use alternate escaping strategy
14425 when we spot a variable reference in a string.
14426
0438ce91
DC
144272011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14428
14429 * cus-start.el (all): Define customization for debug-on-event.
14430
841a1577 144312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14432
14433 * subr.el (shell-quote-argument): Escape correctly under Windows.
14434
d090ed6c
SM
144352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14438
bfd31217
MA
144392011-04-25 Michael Albinus <michael.albinus@gmx.de>
14440
d090ed6c
SM
14441 * net/tramp.el (tramp-process-actions): Add POS argument.
14442 Delete region between POS and (pos).
bfd31217 14443
d090ed6c
SM
14444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14445 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14446 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14447
14448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14449 position in `tramp-process-actions' call.
14450
14451 * net/trampver.el: Update release number.
14452
e92f3bd3
SM
144532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14454
850256b5
SM
14455 * custom.el (defcustom): Obey lexical-binding.
14456
e92f3bd3
SM
14457 Fix octave-inf completion problems reported by Alexander Klimov.
14458 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14459 Inherit from octave-mode-syntax-table.
14460 (inferior-octave-mode): Set info-lookup-mode.
14461 (inferior-octave-completion-at-point): New function.
14462 (inferior-octave-complete): Use it and completion-in-region.
14463 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14464 comint-filename-completion.
14465 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14466 symbol elements which shouldn't be word elements.
14467 (octave-font-lock-keywords, octave-beginning-of-defun)
14468 (octave-function-header-regexp): Adjust regexps accordingly.
14469 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14470
cd22b309
JB
144712011-04-25 Juanma Barranquero <lekktu@gmail.com>
14472
14473 * net/gnutls.el (gnutls-errorp): Declare before first use.
14474
8b492194
TZ
144752011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14476
14477 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14478 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14479 default trustfile exists before going to use it. Add missing
5a5fa834 14480 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14481 Reported by Claudio Bley <claudio.bley@gmail.com>.
14482 (open-gnutls-stream): Add usage example.
14483
14484 * net/network-stream.el (network-stream-open-starttls): Give host
14485 parameter to `gnutls-negotiate'.
14486 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14487 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14488
841a1577 144892011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14490
cd22b309
JB
14491 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14492 Use correct match group (bug#8438).
05842630 14493
3ba7869c
CY
144942011-04-24 Chong Yidong <cyd@stupidchicken.com>
14495
512e3ae1
CY
14496 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14497 (package-menu--generate): New arg specifying packages to show.
14498 (package-menu-refresh, package-menu-execute, list-packages):
14499 Callers changed.
14500 (package-show-package-list): New function, replacing deleted
14501 package--list-packages (renamed because it is non-internal).
14502
14503 * finder.el (finder-list-matches): Use package-show-package-list
14504 instead of deleted package--list-packages.
14505
e92f3bd3
SM
14506 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14507 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14508 (vc-annotate-mode-map): Bind it to RET.
14509
7031be6d
UR
145102011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14511
14512 * progmodes/etags.el (next-file): Don't use set-buffer to change
14513 buffers (Bug#8478).
14514
4ef177aa
CY
145152011-04-24 Chong Yidong <cyd@stupidchicken.com>
14516
c8d173eb
CY
14517 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14518
4ef177aa
CY
14519 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14520 (apropos-accumulator): Doc fix.
14521 (apropos-function, apropos-macro, apropos-command)
14522 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14523 (apropos-plist): Add face property.
14524 (apropos-symbols-internal): Fix indentation.
14525 (apropos-print): Simplify help, and recognize apropos-multi-type.
14526 (apropos-print-doc): Use button-type-get to extract the button's
14527 face property. Fill docstring (Bug#8352).
14528
4ffd0d6b 145292011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14530
14531 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14532
c6c32125 14533 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14534 (mpuz-mode-map): Use mapc.
c6c32125
JB
14535 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14536 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14537 Fix typos in docstrings.
14538
58d468b4
JB
14539 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14540 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14541
6470c3c6
JB
14542 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14543
4ffd0d6b 145442011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14545
14546 * minibuffer.el (completion--do-completion): Avoid the "Next char
14547 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14548
3ad8bad0
CY
14549 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14550 mouse-2 into unread-command-events, it is interpreted correctly.
14551
71d73c9c 14552 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14553 (image-toggle-display): Doc fix.
71d73c9c 14554
841a1577 145552011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14556
4ffd0d6b
GM
14557 * textmodes/page.el (what-page): Use line-number-at-pos to
14558 calculate line number (Bug#6825).
6e1dbaa9 14559
c2fb1b60
JB
145602011-04-22 Juanma Barranquero <lekktu@gmail.com>
14561
14562 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14563 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14564 Pass argument NO-DEFAULT to `find-tag-interactive'.
14565
e02f48d7
JB
145662011-04-22 Juanma Barranquero <lekktu@gmail.com>
14567
14568 Lexical-binding cleanup.
14569
14570 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14571 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14572 * progmodes/ada-prj.el (ada-prj-initialize-values)
14573 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14574 (ada-prj-show-value):
14575 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14576 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14577 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14578 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14579 * progmodes/bug-reference.el (bug-reference-push-button):
14580 * progmodes/fortran.el (fortran-line-length):
14581 * progmodes/glasses.el (glasses-change):
14582 * progmodes/octave-mod.el (octave-fill-paragraph):
14583 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14584 (python-pdbtrack-grub-for-buffer, python-sentinel):
14585 * progmodes/sql.el (sql-save-connection):
14586 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14587 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14588 Mark unused parameters.
14589
14590 * progmodes/compile.el (compilation--flush-directory-cache)
14591 (compilation--flush-parse, compile-internal): Mark unused parameters.
14592 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14593 (compilation-next-error-function): Remove unused variable `timestamp'.
14594
14595 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14596 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14597
14598 * progmodes/dcl-mode.el (dcl-end-of-command):
14599 Remove unused variable `start'.
14600 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14601 (dcl-option-value-basic, dcl-option-value-offset)
14602 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14603 Mark unused parameters.
14604 (dcl-save-local-variable): Remove unused variable `val'.
14605 (mode): Declare.
14606
14607 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14608 Mark unused parameters.
14609 (delphi-ignore-changes): Move before first use.
14610 (delphi-charset-token-at): Remove unused variable `start'.
14611 (delphi-else-start): Remove unused variable `if-count'.
14612 (delphi-comment-block-start, delphi-comment-block-end):
14613 Remove unused variable `kind'.
14614 (delphi-indent-line): Remove unused variable `new-point'.
14615
14616 * progmodes/ebrowse.el (ebrowse-files-list)
14617 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14618 Mark unused parameters. Don't quote `lambda'.
14619 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14620 Don't quote `lambda'.
14621 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14622 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14623 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14624 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14625 Use `ignore-errors'.
14626 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14627 (ebrowse-view/find-file-and-search-pattern)
14628 (ebrowse-view/find-member-declaration/definition):
14629 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14630 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14631 Rename parameter PREFIX-ARG to PREFIX.
14632 (ebrowse-tags-read-name): Remove unused variables `start' and
14633 `member-info'.
14634 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14635 to `tags-file'.
14636
14637 * progmodes/etags.el (local-find-tag-hook): Declare.
14638 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14639 Mark unused parameters.
14640
14641 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14642 (executable-interpret): Mark unused parameter.
14643
14644 * progmodes/flymake.el (flymake-process-sentinel)
14645 (flymake-after-change-function)
14646 (flymake-create-temp-with-folder-structure)
14647 (flymake-get-include-dirs-dot): Mark unused parameters.
14648 (flymake-safe-delete-directory): Remove unused variable `err'.
14649
14650 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14651 (speedbar-timer-fn, speedbar-line-text)
14652 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14653 (speedbar-center-buffer-smartly): Declare functions.
14654 (gdb-find-watch-expression): Remove unused variable `array'.
14655 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14656 (gdb-starting): Mark unused parameters.
14657 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14658 (gdb-table-string): Remove unused variable `res'.
14659 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14660 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14661 (gdb-display-buffer): Remove unused variable `cur-size'.
14662
14663 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14664 allow lexical-binding compilation.
14665 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14666 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14667 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14668 Mark unused parameters.
14669 (gud-gdb-marker-filter): Remove unused variable `match'.
14670 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14671 lambda expressions and funcall them, instead of using `fset'.
14672
14673 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14674 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14675
14676 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14677 variable `header-beg'; use `let'.
14678
14679 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14680 `restart', `last-sexp' and `at-do'.
14681
14682 * progmodes/js.el (js--debug): Mark unused parameter.
14683 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14684 (js--splice-into-items): Remove unused variable `item'.
14685 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14686
14687 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14688 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14689 (makefile-complete): Remove unused variable `try'.
14690 (makefile-fill-paragraph, makefile-match-function-end):
14691 Mark unused parameters.
14692
14693 * progmodes/octave-inf.el (inferior-octave-complete):
14694 Remove unused variable `proc'.
14695 (inferior-octave-output-digest): Mark unused parameter.
14696
14697 * progmodes/perl-mode.el (perl-calculate-indent):
14698 Remove unused variable `err'.
14699
14700 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14701 (prolog-indent-line): Mark unused parameters.
14702 (prolog-indent-line): Remove unused variable `beg'.
14703
14704 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14705 (reporter-dont-compact-list): Declare.
14706
14707 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14708 Remove unused variable `char'.
14709 (sh-debug): Mark unused parameter.
14710 (sh-get-indent-info): Remove unused variable `start'.
14711 (sh-calculate-indent): Remove unused variable `var'.
14712
14713 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14714 (simula-electric-keyword): Remove unused variable `null'.
14715 (simula-search-backward, simula-search-forward): Remove unused
14716 variables `begin' and `end'.
14717
14718 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14719 Remove unused variable `pos'.
14720 (vera-electric-tab, vera-comment-uncomment-region):
14721 Mark unused parameters.
14722 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14723
7ede3b65
CY
147242011-04-22 Chong Yidong <cyd@stupidchicken.com>
14725
14726 * emacs-lisp/package.el (package--builtins, package-alist)
14727 (package-load-descriptor, package-built-in-p, package-activate)
14728 (define-package, package-installed-p)
14729 (package-compute-transaction, package-buffer-info)
14730 (package--push): Doc fix. Distinguish more clearly between
14731 version strings and version lists.
14732
121656e9
JB
147332011-04-21 Juanma Barranquero <lekktu@gmail.com>
14734
14735 Lexical-binding cleanup.
14736
14737 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14738 (5x5-make-mutate-best):
14739 * play/fortune.el (fortune-in-buffer):
14740 * play/gomoku.el (gomoku-init-display):
14741 * play/solitaire.el (solitaire, solitaire-do-check):
14742 * play/tetris.el (tetris-default-update-speed-function):
14743 Mark unused parameters.
14744
14745 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14746 (bubbles--shift): Remove unused variable `char-org'.
14747 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14748 (bubbles--show-images): Remove unused variable `char'.
14749
14750 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14751 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14752 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14753 (decipher-analyze-buffer): Use ?\s.
14754 (decipher-make-checkpoint): Remove unused variable `mapping'.
14755
14756 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14757
14758 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14759 Remove unused variable `result'; use `let'.
14760
14761 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14762 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14763 (gametree-children-shown-p, gametree-compute-reduced-score):
14764 Use `ignore-errors'.
14765
14766 * play/handwrite.el (ps-lpr-switches): Declare.
14767 (handwrite): Remove unused variables `pmin' and `lastp'.
14768
14769 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14770
14771 * play/landmark.el (landmark-init-display)
14772 (landmark-update-naught-weights): Mark unused parameters.
14773 (landmark-y): Remove unused variable `noise'. Simplify.
14774 (landmark-human-plays): Remove unused variable `score'.
14775
14776 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14777 (mpuz-try-proposal): Remove unused variable `game'.
14778
14779 * play/zone.el (life-patterns): Declare.
14780
80f499c7
JB
147812011-04-20 Juanma Barranquero <lekktu@gmail.com>
14782
14783 * vc/vc.el (ediff-vc-internal): Declare function.
14784
024ff170
SM
147852011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14786
c0a193ea
SM
14787 * shell.el: Use lexical-binding and std completion UI.
14788 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14789 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14790 comint-preoutput-filter-functions rather than on
14791 comint-output-filter-functions.
14792 (shell-command-completion, shell--command-completion-data)
14793 (shell-filename-completion, shell-environment-variable-completion)
14794 (shell-c-a-p-replace-by-expanded-directory): New functions.
14795 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14796 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14797 (shell-dynamic-complete-environment-variable): Use them.
14798 (shell-dynamic-complete-as-environment-variable)
14799 (shell-dynamic-complete-as-command): Remove.
14800 (shell-match-partial-variable): Match past point.
14801 * comint.el: Clean up use of completion-at-point-functions.
14802 (comint-completion-at-point): New function.
14803 (comint-mode): Use it completion-at-point-functions.
14804 (comint-dynamic-complete): Make it obsolete.
14805 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14806 (comint-c-a-p-replace-by-expanded-history): New function.
14807 (comint-dynamic-complete-functions)
14808 (comint-replace-by-expanded-history): Use it.
14809 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14810 termination strings. Try harder to avoid second try-completion.
14811 (completion-in-region-mode-map): Disable bindings that don't work yet.
14812
2dbaa080
SM
14813 * comint.el: Use lexical-binding. Require CL.
14814 (comint-dynamic-complete-functions): Use comint-filename-completion.
14815 (comint-completion-addsuffix): Tweak custom type.
14816 (comint-filename-completion, comint--common-suffix)
14817 (comint--common-quoted-suffix, comint--table-subvert)
14818 (comint--complete-file-name-data): New functions.
14819 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14820 (comint-dynamic-list-filename-completions): Use them.
14821 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14822
2dbaa080
SM
14823 * minibuffer.el (completion-in-region-mode):
14824 Keep completion-in-region-mode--predicate global.
14825 (completion-in-region--postch):
14826 Assume completion-in-region-mode--predicate is not null.
14827
c79a6f38
SM
14828 * progmodes/flymake.el (flymake-start-syntax-check-process):
14829 Obey `dir'. Simplify.
14830
024ff170
SM
14831 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14832 we're in VC after all.
14833
1c6c854e
CS
148342011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14835
14836 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14837 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14838 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14839
bed7f140
SM
148402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14841
332e62ab
SM
14842 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14843 add sanity check.
14844
bed7f140
SM
14845 * obsolete/erc-hecomplete.el: Make obsolete.
14846 * obsolete/: Standardize obsolescence info in the header.
14847
f195c582
GM
148482011-04-20 Glenn Morris <rgm@gnu.org>
14849
14850 * calendar/solar.el (solar-horizontal-coordinates):
14851 Use the longitude argument rather than `calendar-longitude'.
14852 (solar-date-next-longitude): Remove unused locals.
14853
cb79b8c0
VJL
148542011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14855
14856 * whitespace.el: New version 13.2.1.
14857
148582011-04-20 felix <EmacsWiki> (tiny change)
14859
d8e4b68b 14860 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14861 switching between major modes on a file.
14862
602ea69d
SM
148632011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14864
14865 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14866 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14867 multi-line comments as well.
14868
06b60517
JB
148692011-04-19 Juanma Barranquero <lekktu@gmail.com>
14870
14871 Lexical-binding cleanup.
14872
14873 * arc-mode.el (archive-mode-revert):
14874 * cmuscheme.el (scheme-interactively-start-process):
14875 * custom.el (custom-initialize-delay):
14876 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14877 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14878 * emacs-lock.el (emacs-lock-clear-sentinel):
14879 * ezimage.el (defezimage):
14880 * follow.el (follow-avoid-tail-recenter):
14881 * fringe.el (set-fringe-mode-1):
14882 * generic-x.el (bat-generic-mode-compile):
14883 * help-mode.el (help-info-variable, help-do-xref)
14884 (help-mode-revert-buffer):
14885 * help.el (view-emacs-todo):
14886 * iswitchb.el (iswitchb-completion-help):
14887 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14888 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14889 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14890 * locate.el (locate-update):
14891 * longlines.el (longlines-encode-region)
14892 (longlines-after-change-function):
14893 * outline.el (outline-isearch-open-invisible):
14894 * ps-def.el (declare-function, charset-dimension, char-width)
14895 (encode-char):
14896 * ps-mule.el (ps-mule-plot-string):
14897 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14898 (recentf-edit-list-select, recentf-edit-list-validate)
14899 (recentf-open-files-action):
14900 * rect.el (delete-whitespace-rectangle-line)
14901 (rectangle-number-line-callback):
14902 * register.el (window-configuration-to-register)
14903 (frame-configuration-to-register):
14904 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14905 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14906 (xselect-convert-to-targets, xselect-convert-to-delete)
14907 (xselect-convert-to-filename, xselect-convert-to-charpos)
14908 (xselect-convert-to-lineno, xselect-convert-to-colno)
14909 (xselect-convert-to-os, xselect-convert-to-host)
14910 (xselect-convert-to-user, xselect-convert-to-class)
14911 (xselect-convert-to-name, xselect-convert-to-integer)
14912 (xselect-convert-to-atom, xselect-convert-to-identity):
14913 * subr.el (declare, ignore, process-kill-without-query)
14914 (text-clone-maintain):
14915 * terminal.el (te-get-char, te-tic-sentinel):
14916 * tool-bar.el (tool-bar-make-keymap):
14917 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14918 * type-break.el (type-break-mode, type-break-noninteractive-query):
14919 * view.el (View-back-to-mark):
14920 * wid-browse.el (widget-browse-action, widget-browse-widget)
14921 (widget-browse-widgets, widget-browse-sexp):
14922 * widget.el (define-widget-keywords):
14923 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14924 Mark unused parameters.
14925
14926 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14927 (align-areas): Remove unused variable `look'.
14928 (align-region): Remove unused variables `real-end' and `pos-list'.
14929
14930 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14931
14932 * bindings.el (mode-line-modified, mode-line-remote):
14933 Mark unused parameters.
14934 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14935
14936 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14937 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14938
14939 * comint.el (comint-history-isearch-pop-state)
14940 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14941 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14942 (comint-substitute-in-file-name): Doc fix.
14943
14944 * completion.el (cmpl-statistics-block): Mark unused parameter.
14945 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14946 (save-completions-to-file, load-completions-from-file):
14947 Remove unused local variable `e'.
14948
14949 * composite.el (compose-chars): Remove unused variable `len'.
14950 (lgstring-insert-glyph): Remove unused variable `g'.
14951 (compose-glyph-string): Remove unused variables `ascent',
14952 `descent', `lbearing' and `rbearing'.
14953 (compose-glyph-string-relative): Remove unused variables
14954 `lbearing', `rbearing' and `wadjust'.
14955 (compose-gstring-for-graphic): Remove unused variables `header',
14956 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14957 (compose-gstring-for-terminal): Remove unused variables `header'
14958 and `nchars'. Use `let', not `let*'.
14959
14960 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14961 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14962 (Custom-buffer-done, custom-buffer-create-internal)
14963 (custom-browse-visibility-action, custom-browse-group-tag-action)
14964 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14965 (widget-magic-mouse-down-action, custom-toggle-parent)
14966 (custom-add-parent-links, custom-toggle-hide-variable)
14967 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14968 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14969 (custom-face-menu-create, custom-variable-menu-create, get)
14970 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14971 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14972 (customize-apropos): Remove unused variable `tests'.
14973 (custom-group-value-create): Remove unused variable `hidden-p'.
14974 (sort-fold-case): Declare.
14975
14976 * cus-theme.el (custom-reset-standard-faces-list)
14977 (custom-reset-standard-variables-list): Declare.
14978 (customize-create-theme, custom-theme-revert, custom-theme-write)
14979 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14980 Mark unused parameters.
14981
14982 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14983
14984 * delim-col.el (delimit-columns-max): Move defvar before first use.
14985
14986 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14987 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14988
14989 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14990 (auto-insert): Declare.
14991 (desktop-restore-file-buffer): Rename desktop-* parameters;
14992 mark unused ones.
14993 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14994 (desktop-buffer): Rename desktop-* parameters.
14995
14996 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14997 (dframe-reposition-frame-xemacs, dframe-help-echo)
14998 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14999 Mark unused parameters.
15000
15001 * dired-aux.el (backup-extract-version-start, overwrite-query)
15002 (overwrite-backup-query, rename-regexp-query)
15003 (rename-non-directory-query): Declare.
15004 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15005 (dired-add-entry): Remove unused variable `orig-file-name'.
15006 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15007 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15008 `dired-copy-preserve-time' directly.
15009 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15010 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15011
15012 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15013 (dired-virtual-revert, dired-make-relative-symlink):
15014 Mark unused parameters.
15015 (manual-program): Declare.
15016 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15017 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15018 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15019
15020 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15021
15022 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15023
15024 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15025 Declare.
15026
15027 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15028
15029 * electric.el (Electric-command-loop): Rename parameter
15030 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15031
15032 * expand.el (expand-in-literal): Remove unused variable `here'.
15033
15034 * facemenu.el (facemenu-add-new-color):
15035 Remove unused variable `docstring'.
15036
15037 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15038 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15039 (face-attr-construct): Mark unused parameter. Doc fix.
15040 (read-color): Remove unused variable `hex-string'.
15041
15042 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15043 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15044 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15045 (display-buffer-other-frame): Remove unused variable `old-window'.
15046 (kill-buffer-hook): Declare.
15047 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15048 Mark unused parameters.
15049 (after-find-file): Pass 1 to `auto-save-mode', not t.
15050
15051 * files-x.el (auto-insert): Declare.
15052 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15053
15054 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15055 variable `buf'. Mark unused parameter.
06b60517
JB
15056 (find-lisp-insert-directory): Mark unused parameter.
15057
15058 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15059 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15060 (format-common-tail): Remove, unused.
15061 (format-deannotate-region): Remove unused variable `loc'.
15062 (format-annotate-region): Remove unused variable `p'.
15063 (format-annotate-single-property-change): Remove unused variables
15064 `default' and `tail'.
15065
15066 * forms.el (read-file-filter): Declare.
15067 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15068
15069 * frame.el (frame-creation-function-alist): Mark unused parameter.
15070 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15071
15072 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15073 Remove unused parameters.
15074 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15075 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15076
15077 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15078 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15079 (hfy-prepare-tag-map): Mark unused parameters.
15080 (htmlfontify-buffer): Use `called-interactively-p'.
15081
15082 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15083 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15084 (ibuffer-do-occur): Mark unused parameters.
15085 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15086 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15087
15088 * ibuffer.el: Don't quote `lambda'.
15089 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15090 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15091 Mark unused parameters.
15092
15093 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15094 (ido-completing-read): Mark unused parameters.
15095 (ido-copy-current-word): Mark unused parameters;
15096 remove unused variable `name'.
15097 (ido-sort-merged-list): Remove unused parameter `dirs'.
15098
15099 * ielm.el (ielm-input-sender): Mark unused parameter.
15100 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15101 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15102 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15103 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15104 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15105
15106 * image-dired.el (image-dired-display-thumbs): Remove unused
15107 variables `curr-file' and `count'.
15108 (image-dired-remove-tag): Remove unused variable `start'.
15109 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15110 variable `curr-file'
15111 (image-dired-rotate-original): Remove unused variable `temp-file'.
15112 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15113 Remove unused variable `file'.
15114 (image-dired-gallery-generate): Remove unused variable `curr'.
15115 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15116
15117 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15118
15119 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15120
15121 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15122
15123 * isearch.el (minibuffer-history-symbol): Declare.
15124 (isearch-edit-string): Remove unused variable `err'.
15125 (isearch-message-prefix, isearch-message-suffix):
15126 Mark unused parameters.
15127
15128 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15129
15130 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15131
15132 * makesum.el (double-column): Remove unused variable `cnt'.
15133
15134 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15135 (ido-ignore-item-temp-list): Declare.
15136
15137 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15138 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15139 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15140 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15141 `mouse-col-delta'.
15142
15143 * mouse-sel.el (mouse-extend-internal):
15144 Remove unused variable `orig-window-frame'.
15145
15146 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15147 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15148 Move declarations before first use.
15149 (pcomplete-opt): Mark unused parameters; doc fix.
15150
15151 * proced.el (proced-revert): Mark unused parameter.
15152 (proced-send-signal): Remove unused variable `err'.
15153
15154 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15155 Rename parameter PREFIX-ARG to ARG.
15156 (ps-basic-plot-string, ps-basic-plot-whitespace):
15157 Mark unused parameters.
15158
15159 * replace.el (replace-count): Define.
15160 (occur-revert-function): Mark unused parameters.
15161 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15162 (isearch-case-fold-search, isearch-string): Declare.
15163 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15164 bind `case-fold-search'. Remove unused variables `beg' and `end',
15165 and simplify.
15166 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15167 COUNT and bind `replace-count'.
15168 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15169 to COUNT.
15170
15171 * savehist.el (print-readably, print-string-length): Declare.
15172
15173 * shadowfile.el (shadow-expand-cluster-in-file-name):
15174 Remove unused variable `cluster'.
15175 (shadow-copy-file): Remove unused variable `i'.
15176 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15177 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15178 (shadow-define-literal-group, shadow-define-regexp-group)
15179 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15180
15181 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15182 (shell): Use `called-interactively-p'.
15183 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15184
15185 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15186 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15187 (delete-backward-char): Remove unused variable `ocol'.
15188 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15189 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15190 (event-apply-hyper-modifier, event-apply-shift-modifier)
15191 (event-apply-control-modifier, event-apply-meta-modifier):
15192 Mark unused parameters.
15193 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15194 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15195
15196 * speedbar.el (speedbar-ignored-directory-expressions)
15197 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15198 (speedbar-find-file, speedbar-dir-follow)
15199 (speedbar-directory-buttons-follow, speedbar-tag-find)
15200 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15201 (speedbar-buffers-line-directory, speedbar-buffer-click):
15202 Mark unused parameters.
15203 (speedbar-tag-file): Remove unused variable `mode'.
15204 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15205
15206 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15207
15208 * talk.el (talk): Remove unused variable `display'.
15209
15210 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15211 (tar-write-region-annotate): Mark unused parameter.
15212
15213 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15214 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15215 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15216 warning by another.
15217
15218 * time-stamp.el (time-stamp-string-preprocess):
15219 Remove unused variable `require-padding'.
15220
15221 * tree-widget.el (widget-glyph-enable): Declare.
15222 (tree-widget-action): Mark unused parameter.
15223
15224 * w32-fns.el (x-get-selection): Mark unused parameter.
15225 (autoload-make-program, generated-autoload-file): Declare.
15226
15227 * wdired.el (wdired-revert): Mark unused parameters.
15228 (wdired-xcase-word): Remove unused variable `err'.
15229
15230 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15231 (whitespace-help-scroll): Remove unused variable `data-help'.
15232
15233 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15234 (widget-image-insert, widget-after-change, default)
15235 (widget-default-format-handler, widget-default-notify)
15236 (widget-default-prompt-value, widget-info-link-action)
15237 (widget-url-link-action, widget-function-link-action)
15238 (widget-variable-link-action, widget-file-link-action)
15239 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15240 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15241 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15242 (widget-insert-button-action, widget-delete-button-action, visibility)
15243 (widget-documentation-link-action, widget-documentation-string-action)
15244 (widget-const-prompt-value, widget-regexp-match, symbol)
15245 (widget-coding-system-prompt-value)
15246 (widget-key-sequence-value-to-external, sexp)
15247 (widget-sexp-value-to-internal, character, vector, cons)
15248 (widget-choice-prompt-value, widget-boolean-prompt-value)
15249 (widget-color--choose-action): Mark unused parameters.
15250 (widget-item-match-inline, widget-choice-match-inline)
15251 (widget-checklist-match, widget-checklist-match-inline)
15252 (widget-group-match): Rename parameter VALUES to VALS.
15253 (widget-field-value-set): Remove unused variable `size'.
15254 (widget-color-action): Remove unused variables `value' and `start'.
15255
15256 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15257 variable `dir'. Doc fix.
06b60517
JB
15258 (windmove-find-other-window): Don't pass it.
15259
15260 * window.el (count-windows): Mark unused parameter.
15261 (bw-adjust-window): Remove unused variable `err'.
15262
15263 * woman.el (woman-file-name): Remove unused variable `default'.
15264 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15265 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15266 (global-font-lock-mode): Declare.
15267 (woman-decode-region): Mark unused parameter.
15268 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15269
15270 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15271 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15272 (x-dnd-handle-moz-url): Remove unused variable `title'.
15273 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15274
15275 * xml.el (xml-parse-tag, xml-parse-attlist):
15276 Remove unused variable `pos'.
15277
bc4f7f3d
GM
152782011-04-19 Glenn Morris <rgm@gnu.org>
15279
15280 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15281 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15282 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15283 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15284 * calendar/cal-html.el (cal-html-insert-minical):
15285 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15286 (calendar-mark-date-pattern):
15287 Prefix "unused" locals.
15288
15289 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15290 optional argument `style'.
15291
15292 * calendar/appt.el (appt-make-list):
15293 * calendar/cal-china.el (calendar-chinese-date-string):
15294 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15295 (diary-hebrew-yahrzeit):
15296 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15297 * calendar/calendar.el (calendar-generate-window):
15298 * calendar/time-date.el (time-to-days):
15299 Remove unused local variables.
15300
16a43933
CY
153012011-04-18 Chong Yidong <cyd@stupidchicken.com>
15302
15303 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15304 glyphless-char-display table.
15305 (tabulated-list-glyphless-char-display): New var.
15306
7eed1860
SS
153072011-04-18 Sam Steingold <sds@gnu.org>
15308
15309 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15310 to acknowledgments.
15311
4d2d1ccd
GM
153122011-04-17 Glenn Morris <rgm@gnu.org>
15313
15314 * calendar/diary-lib.el (diary-sexp-entry):
15315 * calendar/holidays.el (holiday-sexp):
15316 Set debug-on-error rather than the removed stack-trace-on-error.
15317
239da61d
GM
153182011-04-16 Glenn Morris <rgm@gnu.org>
15319
15320 * progmodes/f90.el: Use lexical-binding.
15321 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15322
8b05752a
SM
153232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15324
daca8ba5
SM
15325 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15326 (mail-mode): Setup mailalias completion here instead.
15327 * mail/mailalias.el: Use lexical-binding.
15328 (pattern, mailalias-done): Declare dynamic.
15329 (mail-completion-at-point-function): New function, from mail-complete.
15330 (mail-complete): Use it.
15331 (mail-completion-expand): New function.
15332 (mail-get-names): Use it.
15333 (mail-directory, mail-directory-process, mail-directory-stream):
15334 Don't use `pattern' for lexically bound arg.
15335
6f542485
SM
15336 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15337
037e7c3f
SM
15338 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15339 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15340 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15341
8b05752a
SM
15342 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15343 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15344 (byte-interactive-p): Define them again, for use when inlining
15345 old code.
15346
49093f60
JB
153472011-04-15 Juanma Barranquero <lekktu@gmail.com>
15348
15349 * loadup.el: Use `string-to-number', not `string-to-int'.
15350
b5b8e7de
SM
153512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15352
15353 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15354 gud-gdb-complete-command.
15355 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15356 (gud-gdb-completion-at-point): New function.
15357 (gud-gdb-completions): Remove.
15358
f42efeb5
MA
153592011-04-14 Michael Albinus <michael.albinus@gmx.de>
15360
49093f60
JB
15361 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15362 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15363 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15364 whether `executable-find' is bound.
f42efeb5
MA
15365
15366 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15367
e240cc21
SM
153682011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15369
15370 * minibuffer.el (completion-in-region-mode-predicate)
15371 (completion-in-region-mode--predicate): New vars.
15372 (completion-in-region, completion-in-region--postch)
15373 (completion-in-region-mode): Use them.
15374 (completion--capf-wrapper): Also return the hook function.
15375 (completion-at-point, completion-help-at-point):
15376 Adjust and provide a predicate.
c2bd2ab0
SM
15377
15378 Preserve arg names for advice of subr and lexical functions (bug#8457).
15379 * help-fns.el (help-function-arglist): Consolidate the subr and
15380 new-byte-code cases. Add argument `preserve-names' to extract names
15381 from the docstring when needed.
15382 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15383 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15384 (ad-arglist): Use help-function-arglist's new arg.
15385 (ad-definition-type): Use cond.
15386
c183f693
JB
153872011-04-13 Juanma Barranquero <lekktu@gmail.com>
15388
06641a47
JB
15389 * autorevert.el (auto-revert-handler):
15390 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15391 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15392 Don't quote lambda.
15393
c183f693
JB
15394 * image-mode.el (image-transform-set-scale):
15395 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15396
1e3b6001
G
153972011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15398
15399 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15400 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15401 Upgrades via gnutls-cli are too slow to be done opportunistically.
15402
2d6af8dd
JB
154032011-04-12 Juanma Barranquero <lekktu@gmail.com>
15404
15405 * dframe.el (dframe-current-frame): Remove spurious quote.
15406
c0749a51
GM
154072011-04-12 Glenn Morris <rgm@gnu.org>
15408
088d0d61
GM
15409 * calendar/cal-tex.el (cal-tex-end-document):
15410 Try to automatically use latin1 input if needed.
15411
c0749a51
GM
15412 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15413 Don't try to cons a mark onto an empty element.
15414
5c90fde0
LL
154152011-04-11 Leo Liu <sdl.web@gmail.com>
15416
15417 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15418 buffers.
15419 (ido-kill-buffer-at-head): Support killing virtual buffers.
15420
369e974d
CY
154212011-04-10 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * minibuffer.el (completion-show-inline-help): New var.
15424 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15425 (minibuffer-force-complete, minibuffer-complete-word):
15426 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15427
15428 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15429 to avoid interference from inline help (Bug#5849).
15430
37f1c930
LL
154312011-04-10 Leo Liu <sdl.web@gmail.com>
15432
099c39a4
JB
15433 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15434 Fix typo.
37f1c930 15435
a32d4040
CY
154362011-04-09 Chong Yidong <cyd@stupidchicken.com>
15437
15438 * image-mode.el (image-toggle-display-image): Signal an error if
15439 not in Image mode.
15440 (image-transform-mode, image-transform-resize)
15441 (image-transform-set-rotation): Doc fix.
daca8ba5 15442 (image-transform-set-resize): Delete.
a32d4040
CY
15443 (image-transform-set-scale, image-transform-fit-to-height)
15444 (image-transform-fit-to-width): Handle image-toggle-display-image
15445 and image-transform-resize directly.
15446
099c39a4 154472011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15448
15449 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15450 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15451 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15452 (doc-view-mode-map): Add bindings for the new functions.
15453
099c39a4 154542011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15455
4d61f28d 15456 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15457 Fix typo in docstring.
15458
3726838a
EZ
154592011-04-08 Eli Zaretskii <eliz@gnu.org>
15460
04f33f1e
EZ
15461 * files.el (file-size-human-readable): Produce one digit after
15462 decimal, like "ls -lh" does.
15463
15464 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15465 the file size representation.
15466
3726838a
EZ
15467 * simple.el (list-processes): If async subprocesses are not
15468 available, error out with a clear error message.
15469
cbb59342
CY
154702011-04-08 Chong Yidong <cyd@stupidchicken.com>
15471
15472 * help.el (help-form-show): New function, to be called from C.
15473 Put help-form output in a buffer named differently than *Help*.
15474
e3971c44
EZ
154752011-04-08 Eli Zaretskii <eliz@gnu.org>
15476
15477 * files.el (file-size-human-readable): New function.
15478
15479 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15480 computing the representation inline. Don't require `cl'.
15481
12544bbe
GM
154822011-04-08 Glenn Morris <rgm@gnu.org>
15483
a1de6c6a
GM
15484 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15485
3c4671f4
GM
15486 * net/browse-url.el (browse-url-firefox):
15487 Test system-type, not system-configuration.
15488
b605679c
GM
15489 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15490 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15491 Use log-edit-empty-buffer-p. (Bug#7598)
15492
56442f0c
GM
15493 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15494 (rlogin-mode-map): Initialize in the defvar.
15495 (rlogin): Use ignore-errors.
15496
12544bbe
GM
15497 * replace.el (occur-mode-map): Some fixes for menu items.
15498
eb237b0f
AH
154992011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15500
15501 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15502
7d668f2c
CY
155032011-04-06 Chong Yidong <cyd@stupidchicken.com>
15504
e67a13ab
CY
15505 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15506 issuing unused warnings.
15507
15508 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15509 macro directly.
15510
7d668f2c
CY
15511 * simple.el: Lisp reimplement of list-processes. Based on an
15512 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15513 (process-menu-mode): New major mode.
15514 (list-processes--refresh, list-processes):
15515 (process-menu-visit-buffer): New functions.
15516
15517 * files.el (save-buffers-kill-emacs): Don't assume any return
15518 value of list-processes, which is undocumented anyway.
15519
a83ec3c9
CY
155202011-04-06 Chong Yidong <cyd@stupidchicken.com>
15521
15522 * emacs-lisp/tabulated-list.el: New file.
15523
e91a96fe
CY
15524 * emacs-lisp/package.el: Use Tabulated List mode.
15525 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15526 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15527 table format using Tabulated List mode variables.
15528 (package--push): New macro, replacing package-list-maybe-add.
15529 (package-menu--generate): Use package--push. Renamed from
15530 package--generate-package-list.
15531 (package-menu-refresh, list-packages): Use it.
daca8ba5 15532 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15533 Return insertion data instead of inserting it directly.
099c39a4
JB
15534 (package-menu-describe-package, package-menu-execute):
15535 Use tabulated-list-get-id.
e91a96fe
CY
15536 (package-menu-mark-delete, package-menu-mark-install)
15537 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15538 (package-menu-mark-obsolete-for-deletion):
15539 Use tabulated-list-put-tag.
e91a96fe
CY
15540 (package--list-packages, package-menu-revert)
15541 (package-menu-get-package, package-menu-get-version)
15542 (package-menu-sort-by-column): Functions deleted.
15543 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15544 (package-menu--status-predicate, package-menu--version-predicate)
15545 (package-menu--name-predicate)
15546 (package-menu--description-predicate): Handle arguments in the
15547 Tabulated List format.
15548 (package-list-packages-no-fetch): Call list-packages.
15549
3e214b50
JB
155502011-04-06 Juanma Barranquero <lekktu@gmail.com>
15551
15552 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15553 (after-find-file): Don't bind it.
3e214b50
JB
15554 (revert-buffer-in-progress-p): New variable.
15555 (revert-buffer): Bind it.
15556 Pass nil for `after-find-file-from-revert-buffer'.
15557
15558 * saveplace.el (save-place-find-file-hook): Use new variable
15559 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15560
3f0f1700
GM
155612011-04-06 Glenn Morris <rgm@gnu.org>
15562
c0274801
GM
15563 * Makefile.in (AUTOGEN_VCS): New variable.
15564 (autoloads): Use $AUTOGEN_VCS.
15565
3f0f1700
GM
15566 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15567 * calendar/calendar.el (calendar-mode-map):
15568 Check for toolkit scroll bars. (Bug#8305)
15569
41ea9e48
CY
155702011-04-05 Chong Yidong <cyd@stupidchicken.com>
15571
15572 * minibuffer.el (completion-in-region--postch)
15573 (completion-in-region-mode): Remove unnecessary messages.
15574
6194c800
JB
155752011-04-05 Juanma Barranquero <lekktu@gmail.com>
15576
33256f14
JB
15577 * font-lock.el (font-lock-refresh-defaults):
15578 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15579 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15580
6194c800
JB
15581 * info.el (Info-directory-list, Info-read-node-name-2)
15582 (Info-split-parameter-string): Doc fixes.
15583 (Info-virtual-nodes): Reflow docstring.
15584 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15585 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15586 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15587 Fix typos in docstrings.
15588 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15589 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15590 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15591 (Info-restore-desktop-buffer): Mark unused parameters.
15592 (Info-directory-find-file, Info-directory-find-node)
15593 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15594 (Info-virtual-index-find-node, Info-apropos-find-file)
15595 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15596 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15597 (Info-virtual-index): Remove unused local variable `nodename'.
15598
b87a8200 155992011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15600
b87a8200
DD
15601 * net/rcirc.el: Update my e-mail address.
15602 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15603
3b2ff876
CY
156042011-04-05 Chong Yidong <cyd@stupidchicken.com>
15605
15606 * startup.el (command-line): Save the cursor's theme-face
15607 directly, instead of using face-override-spec.
15608
15609 * custom.el (load-theme): Minor optimization in assigning faces.
15610
8d17e7ca
JB
156112011-04-04 Juanma Barranquero <lekktu@gmail.com>
15612
15613 * help-fns.el (describe-variable): Complete all variables having
15614 documentation, including keywords.
15615 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15616
2fbc1934
JB
156172011-04-04 Juanma Barranquero <lekktu@gmail.com>
15618
15619 Convert to lexical-binding.
15620
15621 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15622 (bs--get-marked-string, bs--get-modified-string)
15623 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15624 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15625 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15626
15627 * ehelp.el (electric-help-execute-extended)
15628 (electric-help-ctrl-x-prefix):
15629 * hexl.el (hexl-revert-buffer-function):
15630 * linum.el (linum-after-change, linum-after-scroll):
15631 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15632
15633 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15634
74f50695
DU
156352011-04-04 Daiki Ueno <ueno@unixuser.org>
15636
15637 * epa-dired.el:
15638 * epa-mail.el:
15639 * epa-hook.el:
15640 * epa-file.el:
15641 * epa.el:
15642 * epg.el: Use lexical binding.
15643
c11325f7
CY
156442011-04-03 Chong Yidong <cyd@stupidchicken.com>
15645
0d9e9a12
CY
15646 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15647
c11325f7 15648 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15649 dictionary case for flyspell-mark-duplications-exceptions.
15650 Use regexp matching for languages.
c11325f7
CY
15651 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15652 default dictionary (Bug#7926).
15653
da91b5f2
CY
156542011-04-02 Chong Yidong <cyd@stupidchicken.com>
15655
099c39a4
JB
15656 * emacs-lisp/package.el (package--with-work-buffer):
15657 Recognize https URLs.
da91b5f2 15658
099c39a4
JB
15659 * net/network-stream.el: Move from gnus/proto-stream.el.
15660 Change prefix to network-stream throughout.
da91b5f2
CY
15661 (open-protocol-stream): Merge into open-network-stream, leaving
15662 open-protocol-stream as an alias. Handle nil BUFFER args.
15663
15664 * subr.el (open-network-stream): Move to net/network-stream.el.
15665
afa8e9f6
GM
156662011-04-02 Glenn Morris <rgm@gnu.org>
15667
1d2e369d
GM
15668 * find-dired.el (find-exec-terminator): New option.
15669 (find-ls-option): Test for -ls support.
15670 (find-ls-subdir-switches): Test for -b in find-ls-option.
15671 (find-dired, find-grep-dired): Doc fixes.
15672 (find-dired): Use find-exec-terminator.
15673
8abb7da8 15674 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15675 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15676 (find-name-arg): Remove purecopy.
8abb7da8 15677
f3ca7378
GM
15678 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15679 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15680 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15681 accordingly. Don't add the null-device if not needed.
15682
afa8e9f6
GM
15683 * files.el (save-some-buffers): Doc fix.
15684
35eae264
EZ
156852011-04-02 Eli Zaretskii <eliz@gnu.org>
15686
15687 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15688
26b51db5
JB
156892011-04-01 Juanma Barranquero <lekktu@gmail.com>
15690
15691 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15692 Use `dolist' rather than `mapcar'.
15693
7200d79c
SM
156942011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15695
03408648 15696 Add lexical binding.
7200d79c 15697
03408648
SM
15698 * subr.el (apply-partially): Use new closures rather than CL.
15699 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15700 (dolist, dotimes): Use slightly different expansion for lexical code.
15701 (functionp): Move to C.
15702 (letrec): New macro.
15703 (with-wrapper-hook): Use it and apply-partially instead of CL.
15704 (eval-after-load): Preserve lexical-binding.
15705 (save-window-excursion, with-output-to-temp-buffer): Turn them
15706 into macros.
7200d79c 15707
03408648
SM
15708 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15709
15710 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15711 than the arglist.
15712 (help-add-fundoc-usage): Don't add `Not documented'.
15713 (help-function-arglist): Handle closures, subroutines, and new
15714 byte-code-functions.
15715 (help-make-usage): Remove leading underscores.
15716 (describe-function-1): Handle closures.
15717 (describe-variable): Use special-variable-p for completion.
15718
15719 * files.el (lexical-binding): Declare safe.
f488fb65 15720
03408648
SM
15721 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15722 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15723 (pcase): Add `let' pattern.
15724 Change memoization so it actually works.
15725 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15726 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15727 <let>: New case.
f488fb65 15728
03408648
SM
15729 * emacs-lisp/macroexp.el: Use lexical binding.
15730 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15731 Don't convert ' to #' without checking that it's indeed quoting
15732 a lambda.
15733
15734 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15735 Use eval-sexp-add-defvars.
03408648
SM
15736 (eval-sexp-add-defvars): New fun.
15737
15738 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15739
15740 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15741 Don't autoload.
15742 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15743 than the internal `byte-compile-lambda'.
15744 (defmethod): Don't hide code under quotes.
15745 (eieio-defmethod): New `code' argument.
15746
15747 * emacs-lisp/eieio-comp.el: Remove.
15748
15749 * emacs-lisp/edebug.el (edebug-eval-defun)
15750 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15751 (edebug-toggle): Avoid `eval'.
15752
15753 * emacs-lisp/disass.el (disassemble-internal): Handle new
15754 `closure' objects.
15755 (disassemble-1): Handle new byte codes.
15756
15757 * emacs-lisp/cl.el (pushnew): Silence warning.
15758
15759 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15760 (cl-byte-compile-throw): Remove.
15761 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15762
15763 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15764 closures.
15765
15766 * emacs-lisp/cconv.el: New file.
15767
15768 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15769 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15770 (byte-compile-initial-macro-environment):
15771 Handle declare-function here.
15772 (byte-compile--lexical-environment): New var.
15773 (byte-stack-ref, byte-stack-set, byte-discardN)
15774 (byte-discardN-preserve-tos): New lap codes.
15775 (byte-interactive-p): Don't use any more.
15776 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15777 New macros.
15778 (byte-compile-lapcode): Use them and handle new lap codes.
15779 (byte-compile-obsolete): Remove.
15780 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15781 (byte-compile-arglist-warn): Check late def of inlinable funs.
15782 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15783 since they should have been expanded by now.
15784 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15785 (byte-compile-from-buffer): Remove unused second arg.
15786 (byte-compile-preprocess): New function.
15787 (byte-compile-toplevel-file-form): New function to distinguish
15788 file-form calls from outside from file-form calls from hunk-handlers.
15789 (byte-compile-file-form): Simplify.
15790 (byte-compile-file-form-defsubst): Remove.
15791 (byte-compile-file-form-defmumble): Simplify now that
15792 byte-compile-lambda always returns a byte-code-function.
15793 (byte-compile): Preprocess.
15794 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15795 Remove, not used any more.
15796 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15797 (byte-compile-make-args-desc): New funs.
15798 (byte-compile-lambda): Handle lexical functions. Always return
15799 a byte-code-function.
15800 (byte-compile-reserved-constants): New var, to make up room for
15801 closed-over variables.
15802 (byte-compile-constants-vector): Obey it.
15803 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15804 (byte-compile-macroexpand-declare-function): New function.
15805 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15806 byte-code-functions.
15807 (byte-compile-form): Check obsolescence here.
15808 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15809 (byte-compile-variable-ref): Remove.
15810 (byte-compile-dynamic-variable-op): New fun.
15811 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15812 (byte-compile-variable-set): New funs.
15813 (byte-compile-discard): Add 2 args.
15814 (byte-compile-stack-ref, byte-compile-stack-set)
15815 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15816 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15817 macroexpand-all instead.
15818 (byte-compile-quote-form): Remove.
15819 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15820 (byte-compile-bind, byte-compile-unbind): New funs.
15821 (byte-compile-let): Handle let* and lexical binding.
15822 (byte-compile-let*): Remove.
15823 (byte-compile-catch, byte-compile-unwind-protect)
15824 (byte-compile-track-mouse, byte-compile-condition-case):
15825 Handle a new :fun-body form, used for lexical scoping.
15826 (byte-compile-save-window-excursion)
15827 (byte-compile-with-output-to-temp-buffer): Remove.
15828 (byte-compile-defun): Simplify.
15829 (byte-compile-stack-adjustment): New fun.
15830 (byte-compile-out): Use it.
15831 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15832
15833 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15834 handler any more.
15835
15836 * emacs-lisp/byte-opt.el: Use lexical binding.
15837 (byte-inline-lapcode): Remove (to bytecomp).
15838 (byte-compile-inline-expand): Pay attention to inlining to/from
15839 lexically bound code.
15840 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15841 any more.
15842 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15843 any more and don't call compiler-macros.
15844 (byte-compile-splice-in-already-compiled-code): Remove.
15845 (byte-code): Don't inline any more.
15846 (disassemble-offset): Receive `bytes' as argument rather than via
15847 dynamic scoping.
15848 (byte-compile-tag-number): Declare before first use.
15849 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15850 `return' even if make-spliceable.
15851 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15852 obsolete interactive-p.
15853 (byte-optimize-lapcode): Optimize new lap-codes.
15854 Don't trip up on new form of `byte-constant' lap code.
15855
15856 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15857
15858 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15859
15860 * custom.el (custom-initialize-default, custom-declare-variable):
15861 Use `defvar'.
15862
15863 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15864 New variables.
15865 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15866 (COMPILE_FIRST): Add macroexp and cconv.
15867 * makefile.w32-in: Mirror changes in Makefile.in.
15868
15869 * vc/cvs-status.el:
15870 * vc/diff-mode.el:
15871 * vc/log-edit.el:
15872 * vc/log-view.el:
15873 * vc/smerge-mode.el:
15874 * textmodes/bibtex-style.el:
090bd7cb 15875 * textmodes/css-mode.el:
03408648
SM
15876 * startup.el:
15877 * uniquify.el:
da91b5f2
CY
15878 * minibuffer.el:
15879 * newcomment.el:
15880 * reveal.el:
15881 * server.el:
15882 * mpc.el:
15883 * emacs-lisp/smie.el:
15884 * doc-view.el:
15885 * dired.el:
03408648
SM
15886 * abbrev.el: Use lexical binding.
15887
0f0c1f27
EZ
158882011-04-01 Eli Zaretskii <eliz@gnu.org>
15889
15890 * info.el (info-display-manual): New function.
15891
c82b2579
SM
158922011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15895
221ddf68
TH
158962011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15897
15898 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15899 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15900
cba6e77e
GM
159012011-03-31 Glenn Morris <rgm@gnu.org>
15902
e040639f
GM
15903 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15904
cba6e77e
GM
15905 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15906
6d0f1c9e
CS
159072011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15908
15909 * progmodes/python.el (python-default-interpreter)
15910 (python-python-command-args, python-jython-command-args)
15911 (python-which-shell, python-which-args, python-which-bufname)
15912 (python-file-queue, python-comint-output-filter-function)
15913 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15914 variables and functions.
15915
3e2d70fd
SM
159162011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15919 (completion-in-region-mode): New minor mode.
15920 (completion-in-region): Use it.
15921 (completion-in-region--data, completion-in-region-mode-map): New vars.
15922 (completion-in-region--postch): New function.
15923 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15924 New vars.
15925 (completion--capf-wrapper): New function.
15926 (completion-at-point): Use it to track well-behavedness of
15927 hook functions.
15928 (completion-help-at-point): New command.
15929
f3e4086c
JM
159302011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15931
15932 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15933 syntax class to search for whitespace on a single line
15934 (Message-ID: <4D938140.4030905@redhat.com>).
15935
eb7ffc14
LL
159362011-03-30 Leo Liu <sdl.web@gmail.com>
15937
15938 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15939 New commands.
15940 (edit-abbrevs-map): Bind them here.
15941 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15942
d806ab68
KM
159432011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15944
15945 * allout.el (allout-hide-by-annotation, allout-flag-region):
15946 Reduce possibility of overlay leakage by making them volatile.
15947
15948 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15949 hash is not shared between buffers. Mode initialization is
15950 responsible for giving it a useful starting value.
15951 (allout-item-span): Reduce possibility of overlay leakage by
15952 making them volatile.
15953 (allout-widgets-count-buttons-in-region): Add diagnostic function
15954 for tracking down button overlay leaks.
15955
ea622834
LL
159562011-03-29 Leo Liu <sdl.web@gmail.com>
15957
15958 * ido.el (ido-read-internal): Use the default history var
15959 minibuffer-history if no HISTORY is specified.
15960
b62f8267
G
159612011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15962
03408648
SM
15963 * net/imap.el (imap-shell-open, imap-process-connection-type):
15964 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15965 Kerberos, SSL, other subprocesses.
15966
947b6566
LL
159672011-03-28 Leo Liu <sdl.web@gmail.com>
15968
15969 * abbrev.el (abbrev-table-empty-p): New function.
15970 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15971 nonempty ones. (Bug#5937)
15972
5ffb62aa
JD
159732011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15974
15975 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15976
7a097943
LL
159772011-03-27 Leo Liu <sdl.web@gmail.com>
15978
15979 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15980 for foreground and background colors.
15981 (ansi-color-make-color-map): Adapt.
15982
c5b40130
LL
159832011-03-25 Leo Liu <sdl.web@gmail.com>
15984
1f48f7d2
LL
15985 * midnight.el (midnight-time-float): Remove. Note it calculates
15986 the microsecond component incorrectly and seconds-to-time does the
15987 same job.
625897ec 15988 Remove redundant (require 'timer).
1f48f7d2 15989
c5b40130
LL
15990 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15991 (ido-completions): Remove unused arguments. (Bug#8329)
15992
d86d2721
SM
159932011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * minibuffer.el (completion--flush-all-sorted-completions):
15996 Remove itself from hook.
15997 (completion-at-point): Let the functions perform the completion
15998 immediately and return nil or t.
15999 * comint.el (comint-dynamic-complete-functions): Now identical to
16000 completion-at-point-functions.
16001 (comint-dynamic-list-input-ring): Remove unused var `index'.
16002 (comint--match-partial-filename, comint--unquote&expand-filename):
16003 New funs, split from comint-match-partial-filename.
16004 (comint-dynamic-complete): Use completion-at-point.
16005 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16006
e8974c48
DA
160072011-03-24 Drew Adams <drew.adams@oracle.com>
16008
16009 * thingatpt.el: Support `defun'.
16010
def71b5e
LL
160112011-03-23 Leo Liu <sdl.web@gmail.com>
16012
cb5af48e
LL
16013 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16014
def71b5e
LL
16015 * help-mode.el (help-mode-finish): Tweak regexp.
16016
927c53e7
GM
160172011-03-23 Glenn Morris <rgm@gnu.org>
16018
18d05bed
GM
16019 * eshell/esh-opt.el (eshell-eval-using-options):
16020 Do not bind unused local variable `eshell-option-stub'.
16021
927c53e7
GM
16022 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16023
9d0da923
JB
160242011-03-22 Juanma Barranquero <lekktu@gmail.com>
16025
16026 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16027 keymap variable in `with-no-warnings' to avoid a warning when the
16028 keymap has been already `defconst'ed.
16029
4b978a67
LL
160302011-03-22 Leo Liu <sdl.web@gmail.com>
16031
16032 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16033 encode all chars in abbrevs; otherwise use emacs-mule or
16034 utf-8-emacs. (Bug#8308)
16035
5fd62452
JB
160362011-03-22 Juanma Barranquero <lekktu@gmail.com>
16037
0b1596c6
JB
16038 * simple.el (backward-delete-char-untabify):
16039 Avoid warning about using `delete-backward-char'.
16040
5fd62452
JB
16041 * image.el (image-type-file-name-regexps): Make it variable.
16042 `imagemagick-register-types' modifies it, and the user may want
16043 to add new extensions for known image types.
16044 (imagemagick-register-types): Throw error if not using ImageMagick.
16045
0b4e93f1
LL
160462011-03-22 Leo Liu <sdl.web@gmail.com>
16047
16048 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16049 located before rcirc-prompt-end-marker.
16050 (rcirc-complete): Error if point is not after rcirc prompt.
16051 Handle the case when table is nil.
9882e214 16052 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16053
fccee4ab
CY
160542011-03-22 Chong Yidong <cyd@stupidchicken.com>
16055
16056 * custom.el (custom--inhibit-theme-enable): Make it affect only
16057 custom-theme-set-variables and custom-theme-set-faces.
16058 (provide-theme): Ignore custom--inhibit-theme-enable.
16059 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16060 (custom-enabling-themes): Delete variable.
d86d2721
SM
16061 (enable-theme): Accept only loaded themes as arguments.
16062 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16063 (custom-enabled-themes): Forbid themes from setting this.
16064 Eliminate use of custom-enabling-themes.
16065 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16066
af896da6
LL
160672011-03-21 Leo Liu <sdl.web@gmail.com>
16068
16069 * ido.el (ido-read-internal): Add ido-selected to history instead
16070 of user input.
16071
78f64af0
SM
160722011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16073
16074 * subr.el (deferred-action-list, deferred-action-function):
16075 Mark obsolete.
16076
b16ac1ec
LL
160772011-03-21 Leo Liu <sdl.web@gmail.com>
16078
810f7698
LL
16079 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16080 change on 2011-02-13 (bug#8309).
16081
b16ac1ec
LL
16082 * minibuffer.el (read-file-name-function): Change default value.
16083 (read-file-name--defaults): Rename from read-file-name-defaults.
16084 (read-file-name-default): Rename from read-file-name.
16085 (read-file-name): Call read-file-name-function.
16086
4e05e67e
GM
160872011-03-21 Glenn Morris <rgm@gnu.org>
16088
16089 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16090 Doc fixes.
16091
4359915b
CY
160922011-03-21 Chong Yidong <cyd@stupidchicken.com>
16093
16094 * cus-theme.el: Add missing provide statement.
16095 (customize-create-theme): Extract theme value correctly.
16096 (custom-theme-visit-theme): Autoload.
16097 (customize-create-theme): Prompt before inserting default faces.
16098
1fe275ee
JB
160992011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16100
16101 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16102 units and musical notes.
16103
cd394be1 161042011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16105
16106 * ido.el (ido-read-internal): Use completing-read-default.
16107 (ido-completing-read): Fix compatibility with completing-read.
16108
7d476bde
CO
161092011-03-20 Christian Ohler <ohler@gnu.org>
16110
16111 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16112 (ert-delete-all-tests): Use `called-interactively-p' rather than
16113 `interactive-p'.
16114 (ert--make-xrefs-region): Respect END.
16115
fe0fb33e
CY
161162011-03-19 Chong Yidong <cyd@stupidchicken.com>
16117
ff854b0b
CY
16118 * dired-aux.el (dired-create-directory): Signal an error if the
16119 directory already exists (Bug#8246).
16120
fe0fb33e
CY
16121 * facemenu.el (list-colors-display): Call list-faces-display
16122 inside with-help-window.
16123 (list-colors-print): Use display property to align the final
16124 column, instead of checking window-width.
16125
576bce32
EZ
161262011-03-19 Eli Zaretskii <eliz@gnu.org>
16127
4d61f28d 16128 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16129 windows-nt systems.
16130 (emerge-protect-metachars): Quote correctly for ms-dos and
16131 windows-nt systems.
16132
89c41d68 161332011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16134
16135 * info.el (info-initialize): Replace all uses of `:' with
16136 path-separator for compatibility with non-Unix systems.
16137 Cache quoting of path-separator. (Bug#8258)
16138
b14e3e21 161392011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16140
16141 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16142 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16143 (mouse-avoidance-mode): Fix typos in docstrings.
16144
4525ce3e
CY
161452011-03-19 Chong Yidong <cyd@stupidchicken.com>
16146
16147 * startup.el (package-subdirectory-regexp): Move from package.el.
16148 Omit \\` and \\', and let callers add them.
16149
16150 * emacs-lisp/package.el (package-strip-version)
16151 (package-load-all-descriptors): Add \\` and \\' to
16152 package-subdirectory-regexp before using it.
16153 (package-untar-buffer): New arg DIR; ensure that file untars only
16154 into this expected directory. Remove superfluous delete-region.
16155 (package-unpack): Caller changed.
16156 (package-tar-file-info): Use package-subdirectory-regexp.
16157
a904a09a 161582011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16159
a904a09a
SM
16160 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16161 diff-mode-shared-map (bug#8284).
16162 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16163
161642011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16165
16166 * calendar/time-date.el (format-seconds): Use assoc instead of
16167 assoc-string, since assoc-string doesn't exist in XEmacs.
16168
171fc304
JB
161692011-03-17 Juanma Barranquero <lekktu@gmail.com>
16170
16171 * custom.el (custom-known-themes): Reflow docstring.
16172 (custom-theme-load-path): Fix typo in docstring.
16173 (load-theme): Fix typo in error message.
16174 (custom-available-themes, custom-variable-theme-value):
16175 Use `let', not `let*'.
16176
d71990a1
JB
161772011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16178
16179 * calc/README: Mention inclusion of musical notes.
16180
16181 * calc/calc-units.el (calc-lu-quant): Rename from
16182 `calc-logunits-quantity'.
16183 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16184 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16185 (calc-db): Rename from `calc-dblevel'.
16186 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16187 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16188 (calc-np): Rename from `calc-nplevel'.
16189 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16190 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16191 (calc-lu-plus): Rename from `calc-logunits-add'.
16192 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16193 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16194 (calc-lu-minus): Rename from `calc-logunits-sub'.
16195 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16196 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16197 (calc-lu-times): Rename from `calc-logunits-mul'.
16198 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16199 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16200 (calc-lu-divide): Rename from `calc-logunits-div'.
16201 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16202 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16203
16204 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16205 functions being autoloaded.
16206
16207 * calc/calc.el (calc-lu-power-reference): Rename from
16208 `calc-logunits-power-reference'.
16209 (calc-lu-field-reference): Rename from
16210 `calc-logunits-field-reference'.
16211
7a71b18d
GM
16212 * calc/calc-help.el (calc-l-prefix-help):
16213 Mention musical note functions.
d71990a1 16214
40c2934b
SM
162152011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16216
16217 * minibuffer.el (completion-all-sorted-completions):
16218 Use :completion-cycle-penalty text property if present.
16219
b0911414
KM
162202011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16221
16222 * allout.el (allout-yank-processing): Adjust for new rebulleting
16223 regime so bullet being yanked is used without prompting the user
16224 for a choice.
16225
8a05b668
JB
162262011-03-16 Juanma Barranquero <lekktu@gmail.com>
16227
16228 * startup.el (command-line): Warn the user that _emacs is deprecated.
16229
5ba5fb81
JB
162302011-03-16 Juanma Barranquero <lekktu@gmail.com>
16231
16232 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16233 (delphi-verbose, delphi-comment-face, delphi-string-face)
16234 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16235 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16236 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16237 (delphi-new-comment-line, delphi-font-lock-defaults)
16238 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16239 Fix typos in docstrings.
16240
2dab465b
KM
162412011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16242
5ba5fb81 16243 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16244 Invert the roles of character and string values for INSTEAD, so a
16245 string is used for the more common case of a defaulting prompt.
16246
0adf5618
SM
162472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * progmodes/ruby-mode.el (ruby-backward-sexp):
16250 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16251 * play/gamegrid.el (gamegrid-make-face):
16252 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16253 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16254 * notifications.el (notifications-notify):
16255 * net/xesam.el (xesam-search-engines):
16256 * net/quickurl.el (quickurl-list-insert):
16257 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16258
d72700e5
CY
162592011-03-15 Chong Yidong <cyd@stupidchicken.com>
16260
16261 * startup.el (command-line): Update package subdirectory regexp.
16262
49c5410a
SM
162632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16264
c6eee9aa
SM
16265 * allout.el (allout-abbreviate-flattened-numbering)
16266 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16267
49c5410a
SM
16268 * subr.el (read-char-choice): Only show the cursor after the prompt,
16269 not after the answer.
16270
047b2bb9
KR
162712011-03-15 Kevin Ryde <user42@zip.com.au>
16272
16273 * help-fns.el (variable-at-point): Skip leading quotes, if any
16274 (bug#8253).
16275
0a57d256
SM
162762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16277
16278 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16279 warning message.
16280
77c992bc
MA
162812011-03-14 Michael Albinus <michael.albinus@gmx.de>
16282
16283 * shell.el (shell): When called interactively, offer to change the
16284 shell file name on remote hosts.
16285
eebc475d
TZ
162862011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16287
16288 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16289 integration for LDAP parameters. The host, base, user or binddn,
16290 and secret tokens can be specified in a netrc file, for instance.
16291 This is optional because an `auth-source' parameter must be
16292 specified in the search attributes.
16293
9d05d1ba
JB
162942011-03-13 Juanma Barranquero <lekktu@gmail.com>
16295
16296 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16297
09d9db2c
GM
162982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16299
16300 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16301 into declaration. Remove redundant and harmful binding.
16302
163032011-03-12 Eli Zaretskii <eliz@gnu.org>
16304
16305 * files.el (file-ownership-preserved-p): Pass `integer' as an
16306 explicit 2nd argument to `file-attributes'. If the file's owner
16307 is the Administrators group on Windows, and the current user is
16308 Administrator, consider that a match.
16309
16310 * server.el (server-ensure-safe-dir): Consider server directory
16311 safe on MS-Windows if its owner is the Administrators group while
16312 the current Emacs user is Administrator. Use `=' to compare
16313 numerical UIDs, since they could be integers or floats.
16314
219bd536
JB
163152011-03-12 Juanma Barranquero <lekktu@gmail.com>
16316
16317 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16318
f3afd36b
MA
163192011-03-12 Michael Albinus <michael.albinus@gmx.de>
16320
16321 Sync with Tramp 2.2.1.
16322
16323 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16324
16325 * net/trampver.el: Update release number.
16326
3aaaa6f1
SM
163272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16328
94642599
SM
16329 * progmodes/compile.el (compilation--previous-directory): Fix up
16330 various nil/dead-marker mismatches (bug#8014).
16331 (compilation-directory-properties, compilation-error-properties):
16332 Don't call it at a position past the one we're about to change.
16333
3aaaa6f1
SM
16334 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16335 Disable obsolescence warnings in the file that declares it.
16336
14239447
KM
163372011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16338
099c39a4
JB
16339 * allout-widgets.el (allout-widgets-tally):
16340 Initialize allout-widgets-tally as a hash table rather than nil to
16341 prevent mode-line redisplay warnings. Also, clarify the module
16342 description and fix a comment typo.
14239447 16343
135e287c
JB
163442011-03-11 Juanma Barranquero <lekktu@gmail.com>
16345
16346 * help-fns.el (describe-variable): Don't complete keywords.
16347 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16348
ffbf300e
CY
163492011-03-10 Chong Yidong <cyd@stupidchicken.com>
16350
ba08b241
CY
16351 * emacs-lisp/package.el (package-version-join): Impose a standard
16352 string representation for pre/alpha/beta version lists.
16353 (package-unpack-single): Standardize the directory name by passing
16354 it through package-version-join.
16355 (package-strip-rcs-id): Accept any version string that does not
16356 signal an error in version-to-list.
ffbf300e 16357
f346fd6b
MA
163582011-03-10 Michael Albinus <michael.albinus@gmx.de>
16359
16360 * simple.el (delete-trailing-whitespace): Return nil for the
16361 benefit of `write-file-functions'.
16362
ccb55d27
GM
163632011-03-10 Glenn Morris <rgm@gnu.org>
16364
5ceaac0c
GM
16365 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16366
02da65ff
GM
16367 * vc/vc-git.el (vc-git-program): New option.
16368 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16369 (vc-git--call): Use it.
16370
b2f603cc
GM
16371 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16372
5772caab
GM
16373 * cus-edit.el (Custom-newline): If no button at point, look
16374 for a subgroup button at start-of-line. (Bug#2298)
16375
ccb55d27
GM
16376 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16377
ec6ecaed
JD
163782011-03-10 Julien Danjou <julien@danjou.info>
16379
16380 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16381 `cursor-type' is nil.
16382
9d5aa01d
JB
163832011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16384
16385 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16386
b6a5875b
KM
163872011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16388
7a71b18d 16389 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16390 preserves the existing header prefix, rebulleting it if necessary,
16391 rather than replacing it. This is necessary for proper operation
16392 of cooperative addons like allout-widgets.
1154d12e
JB
16393 (allout-make-topic-prefix, allout-rebullet-heading):
16394 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16395 value as alternate bullet to be used, instead of prompting the user
16396 for a bullet character.
b6a5875b 16397
ee545c35
MA
163982011-03-09 Michael Albinus <michael.albinus@gmx.de>
16399
d86d2721
SM
16400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16401 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16402 `tramp-default-port'.
16403
c47971d7
DD
164042011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16405
16406 * net/rcirc.el (rcirc-handler-001): Remove useless
16407 with-rcirc-process-buffer.
16408 (rcirc-check-auth-status): Swap arguments to string-match.
16409
13522cb4
GM
164102011-03-09 Glenn Morris <rgm@gnu.org>
16411
0be6f4f1
GM
16412 * shell.el (shell-mode):
16413 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16414
13522cb4
GM
16415 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16416 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16417
515de2e3
CY
164182011-03-08 Chong Yidong <cyd@stupidchicken.com>
16419
16420 * emacs-lisp/package.el (package-refresh-contents)
16421 (package-menu-execute): Use condition-case-no-debug.
16422
b511b994
MA
164232011-03-08 Michael Albinus <michael.albinus@gmx.de>
16424
16425 * simple.el (shell-command-to-string): Use `process-file'.
16426
16427 * emacs-lisp/package.el (package-tar-file-info): Handle also
16428 remote files.
16429
d86d2721
SM
16430 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16431 Use `equal' for upload base check.
b511b994 16432
25bbfb31
AM
164332011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16434
16435 * textmodes/texinfo.el (texinfo-environments):
16436 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16437
be996521
GM
164382011-03-08 Glenn Morris <rgm@gnu.org>
16439
e9c8529f
GM
16440 * cus-start.el (cursor-in-non-selected-windows):
16441 Fix :set quoting oddness. (Bug#8192)
16442
be996521
GM
16443 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16444 in some setf expressions. (Bug#2159)
16445
2bb5649e
CY
164462011-03-08 Chong Yidong <cyd@stupidchicken.com>
16447
16448 * custom.el (custom-available-themes): Return themes in
16449 alphabetical order.
16450
33383987 16451See ChangeLog.15 for earlier changes.
e3d51b27
MR
16452
16453;; Local Variables:
16454;; coding: utf-8
e3d51b27
MR
16455;; End:
16456
acaf905b 16457 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16458
16459 This file is part of GNU Emacs.
16460
16461 GNU Emacs is free software: you can redistribute it and/or modify
16462 it under the terms of the GNU General Public License as published by
16463 the Free Software Foundation, either version 3 of the License, or
16464 (at your option) any later version.
16465
16466 GNU Emacs is distributed in the hope that it will be useful,
16467 but WITHOUT ANY WARRANTY; without even the implied warranty of
16468 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16469 GNU General Public License for more details.
16470
16471 You should have received a copy of the GNU General Public License
16472 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.